]>
gitweb.factorcode.org Git - factor.git/log
Jon Harper [Sun, 26 Feb 2017 14:15:47 +0000 (15:15 +0100)]
formatting: fix missing '+' for %+e with negative exponent
Jon Harper [Fri, 24 Feb 2017 16:00:07 +0000 (17:00 +0100)]
move math.extras:round-to-even to math.functions to use in basis:formatting
Also add round-to-odd in case it is needed.
Also change float rounding to be independent of the current rounding mode
Jon Harper [Fri, 24 Feb 2017 12:14:00 +0000 (13:14 +0100)]
add basis.math.functions.integer-logs: exact integer logarithms
Jon Harper [Sat, 25 Feb 2017 15:36:36 +0000 (16:36 +0100)]
math.functions, speed up truncate for floats
Jon Harper [Sat, 25 Feb 2017 14:34:38 +0000 (15:34 +0100)]
math.functions: fix truncate and round to output -0.0 for negative floats near 0
Jon Harper [Sat, 25 Feb 2017 13:37:23 +0000 (14:37 +0100)]
math.functions, fix round for ratios between -1/2 and -1
it was outputting 1 instead of -1
Alexander Iljin [Mon, 5 Jun 2017 10:18:22 +0000 (13:18 +0300)]
io.directories.windows: add size slot to windows-directory-entry tuple
Alexander Iljin [Mon, 5 Jun 2017 20:02:52 +0000 (23:02 +0300)]
Add .gitattributes to enforce EOL policy for factor sources
Alexander Iljin [Mon, 5 Jun 2017 17:17:57 +0000 (20:17 +0300)]
help.lint.spaces: new vocab
Alexander Iljin [Mon, 5 Jun 2017 17:13:54 +0000 (20:13 +0300)]
*-docs: replace double spaces with single spaces
Code examples and other places where multiple spaces were used to align
text were left intact.
Robert Vollmert [Fri, 5 May 2017 16:11:33 +0000 (18:11 +0200)]
test runner: non-zero exit code in case of failed tests
This makes it easier to detect unit test failures from the
command line.
Doug Coleman [Sun, 4 Jun 2017 21:14:22 +0000 (16:14 -0500)]
classes.intersection: Fix typo in commented-out unit-test.
Doug Coleman [Sun, 4 Jun 2017 20:39:41 +0000 (15:39 -0500)]
unmaintained: New repo here: https://github.com/factor/factor-unmaintained
It's confusing to ripgrep through unmaintained/ and this eliminates all
incompatible/outdated code in the Factor repository.
Please contribute the worthy code back to Factor and remove it from factor-unmaintained.
Doug Coleman [Sun, 4 Jun 2017 19:47:35 +0000 (14:47 -0500)]
tools.test: Make the flag public. Finish porting tester changes to fuzzer.
Doug Coleman [Sun, 4 Jun 2017 17:57:38 +0000 (12:57 -0500)]
classes.singleton: Update another test.
Doug Coleman [Sun, 4 Jun 2017 17:55:58 +0000 (12:55 -0500)]
tools.deploy: Change unit-test to long-unit-test for deploy tests.
long-unit-tests are enabled by default.
Doug Coleman [Sun, 4 Jun 2017 17:30:51 +0000 (12:30 -0500)]
tools.test: Add long-unit-test and refactor a bit.
Doug Coleman [Sun, 4 Jun 2017 15:41:26 +0000 (10:41 -0500)]
singleton: Move definitions to top level in tests.
Alexander Iljin [Sat, 3 Jun 2017 16:52:37 +0000 (19:52 +0300)]
Nmakefile: add the /largeaddressaware linker option for 32-bit builds
This somewhat mitigates issue #1828 by allowing more memory to be allocated
for the 32-bit apps on some systems. Has no effect on 32-bit Windows XP.
Doug Coleman [Sun, 4 Jun 2017 01:59:51 +0000 (20:59 -0500)]
cuda.devices: Utility word to print all cuda devices.
Doug Coleman [Sat, 3 Jun 2017 07:10:06 +0000 (02:10 -0500)]
kernel: Fix the docs for curry/compose a bit.
Doug Coleman [Sat, 3 Jun 2017 04:31:35 +0000 (23:31 -0500)]
compiler.tree.propagation.call-effect: I deleted an important method on compose on accident.
Doug Coleman [Fri, 2 Jun 2017 22:40:13 +0000 (17:40 -0500)]
sequences: Remove start for real in favor of subseq-start.
Update a usage of start that was masked by the ALIAS:
Compatibility/migration is a .99 feature.
Doug Coleman [Fri, 2 Jun 2017 22:39:40 +0000 (17:39 -0500)]
factor: last iota -> <iota> fix.
Doug Coleman [Fri, 2 Jun 2017 22:02:08 +0000 (17:02 -0500)]
core/basis: Rename tuples kernel:curry -> curried, kernel:compose -> composed.
Also rename the stack-checker curried -> curried-effect, composed -> composed-effect.
Doug Coleman [Fri, 2 Jun 2017 21:58:14 +0000 (16:58 -0500)]
words: Remove dummy ``word`` word and comment. Totally bogus.
Doug Coleman [Fri, 2 Jun 2017 20:38:05 +0000 (15:38 -0500)]
iota: Fix second iota -> <iota> in line several times.
Doug Coleman [Thu, 1 Jun 2017 21:59:35 +0000 (16:59 -0500)]
core: Rename iota to <iota> so we can have TUPLE: iota ... ; instead of TUPLE: iota-tuple ... ;
Doug Coleman [Thu, 1 Jun 2017 17:27:33 +0000 (12:27 -0500)]
ui.backend.cocoa.views: Use ?-> to avoid objc lookup errors if backingScaleFactor selector does not exist.
Doug Coleman [Thu, 1 Jun 2017 16:55:08 +0000 (11:55 -0500)]
cocoa: Allow ?-> syntax for methods that might not exist.
If a method doesn't exist we need to provide a signature so the stack is balanced. This should also allow deploying from macOS versions that do not contain methods to ones that do. This is an alternative to asking a class if it provides a selector.
Doug Coleman [Thu, 1 Jun 2017 20:19:11 +0000 (15:19 -0500)]
gml.runtime: Don't let gml double up on class/word names.
Related to #358.
Doug Coleman [Thu, 1 Jun 2017 19:55:15 +0000 (14:55 -0500)]
sequences: Add start as an alias for subseq-start, start* aliasing subseq-start-from.
Doug Coleman [Thu, 1 Jun 2017 19:51:18 +0000 (14:51 -0500)]
compiler: Rename start -> start-compilation, finish -> finish-compilation.
These start/finish are cute names, but ``finish`` is pretty vague even in the same file in the ``deoptimize-with`` word.
Doug Coleman [Thu, 1 Jun 2017 19:45:54 +0000 (14:45 -0500)]
factor: Rename start -> subseq-start, start* -> subseq-start-from.
I also removed aliases for start/end from interval-maps and interval-sets and added a comment. I don't think it's any less clear what's going on.
Doug Coleman [Thu, 1 Jun 2017 19:05:15 +0000 (14:05 -0500)]
factor: Fix misc/ for GENERIC# -> GENERIC#: rename.
Doug Coleman [Thu, 1 Jun 2017 18:58:58 +0000 (13:58 -0500)]
factor: Rename GENERIC# to GENERIC#:.
Fixes #1670.
Doug Coleman [Thu, 1 Jun 2017 18:46:32 +0000 (13:46 -0500)]
factor: Add newlines to every line.
Doug Coleman [Wed, 31 May 2017 23:40:08 +0000 (18:40 -0500)]
io.files.info.windows: Fix using list.
We are using fry twice and it shows up in bootstrap.
Doug Coleman [Wed, 31 May 2017 01:14:29 +0000 (20:14 -0500)]
core: Add TH{ for making assoc tuples.
See #1449.
https://github.com/factor/factor/issues/1449
Doug Coleman [Wed, 31 May 2017 00:53:22 +0000 (19:53 -0500)]
namespaces: Way better implementation of with-variable-on.
Doug Coleman [Tue, 30 May 2017 23:14:39 +0000 (18:14 -0500)]
cocoa.touchbar: Add platforms file.
Doug Coleman [Tue, 30 May 2017 17:09:02 +0000 (12:09 -0500)]
cocoa: Add basic support for TouchBar.
Doug Coleman [Tue, 30 May 2017 17:04:35 +0000 (12:04 -0500)]
multiline: Add [[ as string/comment parsers.
Doug Coleman [Mon, 29 May 2017 17:36:35 +0000 (12:36 -0500)]
cocoa: Import more classes for TouchBar support.
Doug Coleman [Mon, 29 May 2017 17:36:16 +0000 (12:36 -0500)]
namespaces: Add with-variable-on/off combinators.
Alexander Iljin [Mon, 29 May 2017 16:28:38 +0000 (19:28 +0300)]
file-picker.operations: fix invalid parameter order in save-as
John Benediktsson [Mon, 29 May 2017 15:42:32 +0000 (08:42 -0700)]
tools.test: fix fake unit test to notify observers after clearing test failures.
John Benediktsson [Mon, 29 May 2017 15:27:58 +0000 (08:27 -0700)]
cocoa.dialogs: simple fix for split-path errors with empty string input.
nicolas-p [Wed, 24 May 2017 11:44:19 +0000 (13:44 +0200)]
editors: added pref-dim* for action-editor
John Benediktsson [Mon, 29 May 2017 15:07:12 +0000 (08:07 -0700)]
file-picker.operations: use set-file-contents.
Alexander Iljin [Fri, 26 May 2017 13:05:53 +0000 (16:05 +0300)]
file-picker*: add copyright and licence headers, and authors.txt files
Alexander Iljin [Fri, 26 May 2017 10:18:48 +0000 (13:18 +0300)]
file-picker.operations: new vocab with save-as operation for byte-arrays
Alexander Iljin [Wed, 24 May 2017 23:37:39 +0000 (02:37 +0300)]
file-picker: implement save-file-dialog on windows
Alexander Iljin [Wed, 24 May 2017 17:14:14 +0000 (20:14 +0300)]
ui-docs: mark an optional output parameter with the "/f" suffix
Alexander Iljin [Wed, 24 May 2017 17:12:44 +0000 (20:12 +0300)]
alien.data-docs: add a missing space between sentences
Alexander Iljin [Sun, 14 May 2017 16:57:18 +0000 (19:57 +0300)]
ui.tools.listener-docs: wrap a hotkey in the $snippet tag
Sankaranarayanan Viswanathan [Fri, 5 May 2017 02:14:59 +0000 (22:14 -0400)]
slides: map 'b' key to previous slide (like unix less)
John Benediktsson [Fri, 5 May 2017 19:17:31 +0000 (12:17 -0700)]
graphviz.notation: fix $example to compile properly.
John Benediktsson [Fri, 5 May 2017 15:41:52 +0000 (08:41 -0700)]
locals: modify examples to use new "--- Data stack:" output.
John Benediktsson [Fri, 5 May 2017 15:40:47 +0000 (08:40 -0700)]
help.lint.checks: improve check-example to print the stack (if any).
Any output from the example will be preserved like it currently is,
and any objects on the stack will be printed the same way they are
in the listener prefixed by ``--- Data stack:``.
John Benediktsson [Fri, 5 May 2017 15:38:49 +0000 (08:38 -0700)]
compiler.units: fix modify-code-heap example.
Make sure ``foo`` has the same stack effect as the quotation that is
set on ``foo`` with ``modify-code-heap``. The symbol had a stack
effect of ( -- x ) since it pushes itself when it is called. The
quotation in the example had stack effect ( -- ).
John Benediktsson [Thu, 4 May 2017 01:24:14 +0000 (18:24 -0700)]
sequences: fix example for unless-empty.
John Benediktsson [Thu, 4 May 2017 01:23:05 +0000 (18:23 -0700)]
binary-search: improve example for search.
(But use prettyprint, the help.lint.checks patch wasn't ready)
John Benediktsson [Thu, 4 May 2017 01:21:31 +0000 (18:21 -0700)]
Revert "binary-search: improve example for search."
This reverts commit
aac6780285c740a98e7ef38b03dbc8dcce6d97a5 .
John Benediktsson [Thu, 4 May 2017 01:21:25 +0000 (18:21 -0700)]
Revert "help.lint.checks: prettyprints the examples stack automatically."
This reverts commit
1f4bcc2d5625efab3eedaa40df80da055578fc57 .
John Benediktsson [Thu, 4 May 2017 01:16:38 +0000 (18:16 -0700)]
binary-search: improve example for search.
John Benediktsson [Thu, 4 May 2017 01:15:36 +0000 (18:15 -0700)]
help.lint.checks: prettyprints the examples stack automatically.
This allows us to not have to "USE: prettyprint" and "." in the examples.
Much cleaner this way!
John Benediktsson [Thu, 4 May 2017 01:14:28 +0000 (18:14 -0700)]
editors.emacs: add an emacsclient-args on request.
John Benediktsson [Thu, 4 May 2017 01:13:37 +0000 (18:13 -0700)]
math: fix stack effect for unless-zero and when-zero.
Alexander Iljin [Sat, 22 Apr 2017 18:13:00 +0000 (21:13 +0300)]
calendar.format: restore the deleted duration>hm
It was replaced with duration>hms, but the version without the seconds is
also useful.
Alexander Iljin [Wed, 8 Feb 2017 18:57:30 +0000 (21:57 +0300)]
ui.gadgets.charts.lines: add a division by zero test for calc-line-slope
Alexander Iljin [Sun, 5 Feb 2017 17:46:44 +0000 (20:46 +0300)]
ui.gadgets.charts.axes: replace boolean property with subclasses
The vertical? property of the axis tuple was replaced with two subclasses:
vertical-axis and horizontal-axis.
Alexander Iljin [Sun, 5 Feb 2017 17:41:43 +0000 (20:41 +0300)]
ui.gadgets.charts.lines: make black the default line color
Prevent crash if the color slot is empty.
Alexander Iljin [Sat, 4 Feb 2017 01:25:29 +0000 (04:25 +0300)]
ui.gadgets.charts.utils: move some common code to the new vocab
Alexander Iljin [Sat, 4 Feb 2017 01:21:20 +0000 (04:21 +0300)]
ui.gadgets.charts.[axes|demos]: add simple axis drawing
Alexander Iljin [Wed, 1 Feb 2017 21:54:09 +0000 (00:54 +0300)]
ui.gadgets.charts.axes: initial import
Alexander Iljin [Sun, 22 Jan 2017 19:36:12 +0000 (22:36 +0300)]
Move charts* to ui.gadgets.charts* in the resource:extra root
Alexander Iljin [Sun, 22 Jan 2017 19:30:56 +0000 (22:30 +0300)]
charts.demo: add a red cosine wave to the demo chart
Alexander Iljin [Sat, 21 Jan 2017 23:34:29 +0000 (02:34 +0300)]
charts.lines: fix edge cases for fix-left-chunk and fix-right-chunk
Alexander Iljin [Sat, 21 Jan 2017 22:16:21 +0000 (01:16 +0300)]
charts.lines: add a test for y-in-bounds?
Alexander Iljin [Sat, 21 Jan 2017 21:52:00 +0000 (00:52 +0300)]
charts.demos: add demo vocab
Alexander Iljin [Sat, 21 Jan 2017 21:51:30 +0000 (00:51 +0300)]
charts: add optional axes slot
Alexander Iljin [Sat, 21 Jan 2017 20:40:28 +0000 (23:40 +0300)]
charts.lines-docs: add documentation
Alexander Iljin [Sat, 21 Jan 2017 19:24:04 +0000 (22:24 +0300)]
charts.lines: add clip-data tests, fix implementation of left-cut-x
Alexander Iljin [Fri, 20 Jan 2017 23:06:03 +0000 (02:06 +0300)]
charts.lines: update some names
left-cut -> left-cut-x, min -> xmin; right-cut -> right-cut-x, max -> xmax.
Alexander Iljin [Fri, 20 Jan 2017 22:02:18 +0000 (01:02 +0300)]
charts.lines: use x and y instead of first and second
Alexander Iljin [Fri, 20 Jan 2017 21:59:39 +0000 (00:59 +0300)]
charts.lines: fix some comments
Alexander Iljin [Fri, 20 Jan 2017 21:25:50 +0000 (00:25 +0300)]
charts.lines: remove middle and its tests
John Benediktsson [Fri, 20 Jan 2017 18:43:07 +0000 (10:43 -0800)]
charts.lines: some cleanup
Alexander Iljin [Fri, 20 Jan 2017 12:43:38 +0000 (15:43 +0300)]
charts: scale the chart to the gadget size
Alexander Iljin [Fri, 20 Jan 2017 01:04:23 +0000 (04:04 +0300)]
charts: add BSD license headers
Alexander Iljin [Fri, 20 Jan 2017 00:45:47 +0000 (03:45 +0300)]
charts.lines: add scale-chunks
Alexander Iljin [Fri, 20 Jan 2017 00:44:44 +0000 (03:44 +0300)]
charts: add chart-dim
Alexander Iljin [Fri, 20 Jan 2017 00:44:02 +0000 (03:44 +0300)]
charts.lines: add scale
Alexander Iljin [Thu, 19 Jan 2017 21:55:29 +0000 (00:55 +0300)]
charts.lines: add flip-y-axis
Alexander Iljin [Thu, 19 Jan 2017 10:55:20 +0000 (13:55 +0300)]
charts.lines: more tests for drawable-chunks
Alexander Iljin [Thu, 19 Jan 2017 10:28:49 +0000 (13:28 +0300)]
charts.lines: add tests for fix-right-chunk, fix implementation
Alexander Iljin [Thu, 19 Jan 2017 10:14:28 +0000 (13:14 +0300)]
charts.lines: add tests for fix-left-chunk, fix implementation
Alexander Iljin [Thu, 19 Jan 2017 10:13:47 +0000 (13:13 +0300)]
charts.lines: add tests for 2-point-chunk
Alexander Iljin [Wed, 18 Jan 2017 21:24:41 +0000 (00:24 +0300)]
charts.lines: add tests for drawable-chunks