Commit Graph

30093 Commits (7cf91e005d2201807fe45faddd82410bbeacb6cb)

Author SHA1 Message Date
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
Alexander Iljin 72e6699279 ui.tools.listener-docs: wrap a hotkey in the $snippet tag 2017-05-14 20:04:39 -07:00
Sankaranarayanan Viswanathan c1d6477c22 slides: map 'b' key to previous slide (like unix less) 2017-05-06 11:17:34 -07:00
John Benediktsson 9e62a13185 graphviz.notation: fix $example to compile properly. 2017-05-05 12:17:31 -07:00
John Benediktsson ca51f43b3f locals: modify examples to use new "--- Data stack:" output. 2017-05-05 08:41:52 -07:00
John Benediktsson b1c0a1be33 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:``.
2017-05-05 08:40:47 -07:00
John Benediktsson f75743ecf7 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 ( -- ).
2017-05-05 08:38:49 -07:00
John Benediktsson 1898c2bb3a sequences: fix example for unless-empty. 2017-05-03 18:24:14 -07:00
John Benediktsson 4982bcce27 binary-search: improve example for search.
(But use prettyprint, the help.lint.checks patch wasn't ready)
2017-05-03 18:23:05 -07:00
John Benediktsson 7f38fd5ae9 Revert "binary-search: improve example for search."
This reverts commit aac6780285.
2017-05-03 18:21:31 -07:00
John Benediktsson e1b7d5db1f Revert "help.lint.checks: prettyprints the examples stack automatically."
This reverts commit 1f4bcc2d56.
2017-05-03 18:21:25 -07:00
John Benediktsson aac6780285 binary-search: improve example for search. 2017-05-03 18:16:38 -07:00
John Benediktsson 1f4bcc2d56 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!
2017-05-03 18:15:36 -07:00
John Benediktsson 0fd663e25d editors.emacs: add an emacsclient-args on request. 2017-05-03 18:14:28 -07:00
John Benediktsson 0f52366466 math: fix stack effect for unless-zero and when-zero. 2017-05-03 18:13:37 -07:00
Alexander Iljin e44104c8d2 calendar.format: restore the deleted duration>hm
It was replaced with duration>hms, but the version without the seconds is
also useful.
2017-04-25 15:38:51 -04:00
Alexander Iljin 717a49c365 ui.gadgets.charts.lines: add a division by zero test for calc-line-slope 2017-04-17 13:54:51 -07:00
Alexander Iljin 07f35d95ac 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.
2017-04-17 13:54:51 -07:00