Jon Harper
271c7d9519
math.functions, fix round for ratios between -1/2 and -1
...
it was outputting 1 instead of -1
2017-06-08 11:22:40 -07:00
Alexander Iljin
acf14a7bd1
io.directories.windows: add size slot to windows-directory-entry tuple
2017-06-05 16:47:01 -07:00
Alexander Iljin
75d8c1e050
Add .gitattributes to enforce EOL policy for factor sources
2017-06-05 13:58:08 -07:00
Alexander Iljin
6d355c998b
help.lint.spaces: new vocab
2017-06-05 13:16:07 -07:00
Alexander Iljin
2ffa446f5b
*-docs: replace double spaces with single spaces
...
Code examples and other places where multiple spaces were used to align
text were left intact.
2017-06-05 13:16:07 -07:00
Robert Vollmert
445b55b3e5
test runner: non-zero exit code in case of failed tests
...
This makes it easier to detect unit test failures from the
command line.
2017-06-05 13:13:09 -07:00
Doug Coleman
27423b78aa
classes.intersection: Fix typo in commented-out unit-test.
2017-06-04 20:03:02 -05:00
Doug Coleman
9aacb29667
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.
2017-06-04 15:45:56 -05:00
Doug Coleman
9e76899dbd
tools.test: Make the flag public. Finish porting tester changes to fuzzer.
2017-06-04 14:47:35 -05:00
Doug Coleman
1708c8011f
classes.singleton: Update another test.
2017-06-04 12:57:38 -05:00
Doug Coleman
50fbf0457a
tools.deploy: Change unit-test to long-unit-test for deploy tests.
...
long-unit-tests are enabled by default.
2017-06-04 12:55:58 -05:00
Doug Coleman
be1175b3c5
tools.test: Add long-unit-test and refactor a bit.
2017-06-04 12:55:52 -05:00
Doug Coleman
06fd324379
singleton: Move definitions to top level in tests.
2017-06-04 10:41:26 -05:00
Alexander Iljin
b540feb95d
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.
2017-06-04 00:11:35 -05:00
Doug Coleman
b3ba829601
cuda.devices: Utility word to print all cuda devices.
2017-06-03 20:59:51 -05:00
Doug Coleman
acffb259f7
kernel: Fix the docs for curry/compose a bit.
2017-06-03 02:10:06 -05:00
Doug Coleman
72eaa9d466
compiler.tree.propagation.call-effect: I deleted an important method on compose on accident.
2017-06-02 23:31:35 -05:00
Doug Coleman
7a703658f1
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.
2017-06-02 17:41:10 -05:00
Doug Coleman
48344ab55c
factor: last iota -> <iota> fix.
2017-06-02 17:39:40 -05:00
Doug Coleman
32710df620
core/basis: Rename tuples kernel:curry -> curried, kernel:compose -> composed.
...
Also rename the stack-checker curried -> curried-effect, composed -> composed-effect.
2017-06-02 17:39:20 -05:00
Doug Coleman
1dc65c13e7
words: Remove dummy ``word`` word and comment. Totally bogus.
2017-06-02 16:58:14 -05:00
Doug Coleman
195630f637
iota: Fix second iota -> <iota> in line several times.
2017-06-02 15:41:51 -05:00
Doug Coleman
e189954ecc
core: Rename iota to <iota> so we can have TUPLE: iota ... ; instead of TUPLE: iota-tuple ... ;
2017-06-02 11:57:05 -05:00
Doug Coleman
0ca1b4656f
ui.backend.cocoa.views: Use ?-> to avoid objc lookup errors if backingScaleFactor selector does not exist.
2017-06-01 16:53:10 -05:00
Doug Coleman
d838f95370
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.
2017-06-01 16:53:05 -05:00
Doug Coleman
f7ce73b962
gml.runtime: Don't let gml double up on class/word names.
...
Related to #358 .
2017-06-01 15:47:49 -05:00
Doug Coleman
88bff3a034
sequences: Add start as an alias for subseq-start, start* aliasing subseq-start-from.
2017-06-01 14:55:15 -05:00
Doug Coleman
42a7a8e572
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.
2017-06-01 14:51:18 -05:00
Doug Coleman
c5b563ed09
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.
2017-06-01 14:45:54 -05:00
Doug Coleman
c706bdae4e
factor: Fix misc/ for GENERIC# -> GENERIC#: rename.
2017-06-01 14:05:15 -05:00
Doug Coleman
7c7bb93c55
factor: Rename GENERIC# to GENERIC#:.
...
Fixes #1670 .
2017-06-01 13:58:58 -05:00
Doug Coleman
5aa89e6251
factor: Add newlines to every line.
2017-06-01 13:46:32 -05:00
Doug Coleman
df189eada5
io.files.info.windows: Fix using list.
...
We are using fry twice and it shows up in bootstrap.
2017-05-31 18:40:08 -05:00
Doug Coleman
e93d8f82bc
core: Add TH{ for making assoc tuples.
...
See #1449 .
https://github.com/factor/factor/issues/1449
2017-05-30 20:14:29 -05:00
Doug Coleman
f3bbc30c8a
namespaces: Way better implementation of with-variable-on.
2017-05-30 19:58:19 -05:00
Doug Coleman
dd22d6efa4
cocoa.touchbar: Add platforms file.
2017-05-30 18:14:39 -05:00
Doug Coleman
a632337ba2
cocoa: Add basic support for TouchBar.
2017-05-30 15:33:48 -05:00
Doug Coleman
75d6395849
multiline: Add [[ as string/comment parsers.
2017-05-30 12:04:35 -05:00
Doug Coleman
f3ed43dc74
cocoa: Import more classes for TouchBar support.
2017-05-29 12:36:35 -05:00
Doug Coleman
e6d0c06f17
namespaces: Add with-variable-on/off combinators.
2017-05-29 12:36:16 -05:00
Alexander Iljin
5b1198e20c
file-picker.operations: fix invalid parameter order in save-as
2017-05-29 09:57:06 -07:00
John Benediktsson
55d5577961
tools.test: fix fake unit test to notify observers after clearing test failures.
2017-05-29 08:42:32 -07:00
John Benediktsson
68e7a69572
cocoa.dialogs: simple fix for split-path errors with empty string input.
2017-05-29 08:27:58 -07:00
nicolas-p
c1d33065ad
editors: added pref-dim* for action-editor
2017-05-29 08:08:21 -07:00
John Benediktsson
c8e02d880e
file-picker.operations: use set-file-contents.
2017-05-29 08:07:12 -07:00
Alexander Iljin
b000f124a0
file-picker*: add copyright and licence headers, and authors.txt files
2017-05-29 08:05:59 -07:00
Alexander Iljin
0464e6f84b
file-picker.operations: new vocab with save-as operation for byte-arrays
2017-05-29 08:05:59 -07:00
Alexander Iljin
4ceb098907
file-picker: implement save-file-dialog on windows
2017-05-29 08:05:59 -07:00
Alexander Iljin
646f14f249
ui-docs: mark an optional output parameter with the "/f" suffix
2017-05-26 14:39:33 +03:00
Alexander Iljin
632961798f
alien.data-docs: add a missing space between sentences
2017-05-26 14:39:25 +03:00