]> gitweb.factorcode.org Git - factor.git/log
factor.git
6 years agofactor: Rename GENERIC# to GENERIC#:.
Doug Coleman [Thu, 1 Jun 2017 18:58:58 +0000 (13:58 -0500)]
factor: Rename GENERIC# to GENERIC#:.

Fixes #1670.

6 years agofactor: Add newlines to every line.
Doug Coleman [Thu, 1 Jun 2017 18:46:32 +0000 (13:46 -0500)]
factor: Add newlines to every line.

6 years agoio.files.info.windows: Fix using list.
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.

6 years agocore: Add TH{ for making assoc tuples.
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

6 years agonamespaces: Way better implementation of with-variable-on.
Doug Coleman [Wed, 31 May 2017 00:53:22 +0000 (19:53 -0500)]
namespaces: Way better implementation of with-variable-on.

6 years agococoa.touchbar: Add platforms file.
Doug Coleman [Tue, 30 May 2017 23:14:39 +0000 (18:14 -0500)]
cocoa.touchbar: Add platforms file.

6 years agococoa: Add basic support for TouchBar.
Doug Coleman [Tue, 30 May 2017 17:09:02 +0000 (12:09 -0500)]
cocoa: Add basic support for TouchBar.

6 years agomultiline: Add [[ as string/comment parsers.
Doug Coleman [Tue, 30 May 2017 17:04:35 +0000 (12:04 -0500)]
multiline: Add [[ as string/comment parsers.

6 years agococoa: Import more classes for TouchBar support.
Doug Coleman [Mon, 29 May 2017 17:36:35 +0000 (12:36 -0500)]
cocoa: Import more classes for TouchBar support.

6 years agonamespaces: Add with-variable-on/off combinators.
Doug Coleman [Mon, 29 May 2017 17:36:16 +0000 (12:36 -0500)]
namespaces: Add with-variable-on/off combinators.

6 years agofile-picker.operations: fix invalid parameter order in save-as
Alexander Iljin [Mon, 29 May 2017 16:28:38 +0000 (19:28 +0300)]
file-picker.operations: fix invalid parameter order in save-as

6 years agotools.test: fix fake unit test to notify observers after clearing test failures.
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.

6 years agococoa.dialogs: simple fix for split-path errors with empty string input.
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.

6 years agoeditors: added pref-dim* for action-editor
nicolas-p [Wed, 24 May 2017 11:44:19 +0000 (13:44 +0200)]
editors: added pref-dim* for action-editor

6 years agofile-picker.operations: use set-file-contents.
John Benediktsson [Mon, 29 May 2017 15:07:12 +0000 (08:07 -0700)]
file-picker.operations: use set-file-contents.

6 years agofile-picker*: add copyright and licence headers, and authors.txt files
Alexander Iljin [Fri, 26 May 2017 13:05:53 +0000 (16:05 +0300)]
file-picker*: add copyright and licence headers, and authors.txt files

6 years agofile-picker.operations: new vocab with save-as operation for byte-arrays
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

6 years agofile-picker: implement save-file-dialog on windows
Alexander Iljin [Wed, 24 May 2017 23:37:39 +0000 (02:37 +0300)]
file-picker: implement save-file-dialog on windows

6 years agoui-docs: mark an optional output parameter with the "/f" suffix 1818/head
Alexander Iljin [Wed, 24 May 2017 17:14:14 +0000 (20:14 +0300)]
ui-docs: mark an optional output parameter with the "/f" suffix

6 years agoalien.data-docs: add a missing space between sentences
Alexander Iljin [Wed, 24 May 2017 17:12:44 +0000 (20:12 +0300)]
alien.data-docs: add a missing space between sentences

6 years agoui.tools.listener-docs: wrap a hotkey in the $snippet tag
Alexander Iljin [Sun, 14 May 2017 16:57:18 +0000 (19:57 +0300)]
ui.tools.listener-docs: wrap a hotkey in the $snippet tag

6 years agoslides: map 'b' key to previous slide (like unix less)
Sankaranarayanan Viswanathan [Fri, 5 May 2017 02:14:59 +0000 (22:14 -0400)]
slides: map 'b' key to previous slide (like unix less)

6 years agographviz.notation: fix $example to compile properly.
John Benediktsson [Fri, 5 May 2017 19:17:31 +0000 (12:17 -0700)]
graphviz.notation: fix $example to compile properly.

6 years agolocals: modify examples to use new "--- Data stack:" output.
John Benediktsson [Fri, 5 May 2017 15:41:52 +0000 (08:41 -0700)]
locals: modify examples to use new "--- Data stack:" output.

6 years agohelp.lint.checks: improve check-example to print the stack (if any).
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:``.

6 years agocompiler.units: fix modify-code-heap example.
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 ( -- ).

6 years agosequences: fix example for unless-empty.
John Benediktsson [Thu, 4 May 2017 01:24:14 +0000 (18:24 -0700)]
sequences: fix example for unless-empty.

6 years agobinary-search: improve example for search.
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)

6 years agoRevert "binary-search: improve example for search."
John Benediktsson [Thu, 4 May 2017 01:21:31 +0000 (18:21 -0700)]
Revert "binary-search: improve example for search."

This reverts commit aac6780285c740a98e7ef38b03dbc8dcce6d97a5.

6 years agoRevert "help.lint.checks: prettyprints the examples stack automatically."
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.

6 years agobinary-search: improve example for search.
John Benediktsson [Thu, 4 May 2017 01:16:38 +0000 (18:16 -0700)]
binary-search: improve example for search.

6 years agohelp.lint.checks: prettyprints the examples stack automatically.
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!

6 years agoeditors.emacs: add an emacsclient-args on request.
John Benediktsson [Thu, 4 May 2017 01:14:28 +0000 (18:14 -0700)]
editors.emacs: add an emacsclient-args on request.

6 years agomath: fix stack effect for unless-zero and when-zero.
John Benediktsson [Thu, 4 May 2017 01:13:37 +0000 (18:13 -0700)]
math: fix stack effect for unless-zero and when-zero.

7 years agocalendar.format: restore the deleted duration>hm 1806/head
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.

7 years agoui.gadgets.charts.lines: add a division by zero test for calc-line-slope
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

7 years agoui.gadgets.charts.axes: replace boolean property with subclasses
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.

7 years agoui.gadgets.charts.lines: make black the default line color
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.

7 years agoui.gadgets.charts.utils: move some common code to the new vocab
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

7 years agoui.gadgets.charts.[axes|demos]: add simple axis drawing
Alexander Iljin [Sat, 4 Feb 2017 01:21:20 +0000 (04:21 +0300)]
ui.gadgets.charts.[axes|demos]: add simple axis drawing

7 years agoui.gadgets.charts.axes: initial import
Alexander Iljin [Wed, 1 Feb 2017 21:54:09 +0000 (00:54 +0300)]
ui.gadgets.charts.axes: initial import

7 years agoMove charts* to ui.gadgets.charts* in the resource:extra root
Alexander Iljin [Sun, 22 Jan 2017 19:36:12 +0000 (22:36 +0300)]
Move charts* to ui.gadgets.charts* in the resource:extra root

7 years agocharts.demo: add a red cosine wave to the demo chart
Alexander Iljin [Sun, 22 Jan 2017 19:30:56 +0000 (22:30 +0300)]
charts.demo: add a red cosine wave to the demo chart

7 years agocharts.lines: fix edge cases for fix-left-chunk and fix-right-chunk
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

7 years agocharts.lines: add a test for y-in-bounds?
Alexander Iljin [Sat, 21 Jan 2017 22:16:21 +0000 (01:16 +0300)]
charts.lines: add a test for y-in-bounds?

7 years agocharts.demos: add demo vocab
Alexander Iljin [Sat, 21 Jan 2017 21:52:00 +0000 (00:52 +0300)]
charts.demos: add demo vocab

7 years agocharts: add optional axes slot
Alexander Iljin [Sat, 21 Jan 2017 21:51:30 +0000 (00:51 +0300)]
charts: add optional axes slot

7 years agocharts.lines-docs: add documentation
Alexander Iljin [Sat, 21 Jan 2017 20:40:28 +0000 (23:40 +0300)]
charts.lines-docs: add documentation

7 years agocharts.lines: add clip-data tests, fix implementation of left-cut-x
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

7 years agocharts.lines: update some names
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.

7 years agocharts.lines: use x and y instead of first and second
Alexander Iljin [Fri, 20 Jan 2017 22:02:18 +0000 (01:02 +0300)]
charts.lines: use x and y instead of first and second

7 years agocharts.lines: fix some comments
Alexander Iljin [Fri, 20 Jan 2017 21:59:39 +0000 (00:59 +0300)]
charts.lines: fix some comments

7 years agocharts.lines: remove middle and its tests
Alexander Iljin [Fri, 20 Jan 2017 21:25:50 +0000 (00:25 +0300)]
charts.lines: remove middle and its tests

7 years agocharts.lines: some cleanup
John Benediktsson [Fri, 20 Jan 2017 18:43:07 +0000 (10:43 -0800)]
charts.lines: some cleanup

7 years agocharts: scale the chart to the gadget size
Alexander Iljin [Fri, 20 Jan 2017 12:43:38 +0000 (15:43 +0300)]
charts: scale the chart to the gadget size

7 years agocharts: add BSD license headers
Alexander Iljin [Fri, 20 Jan 2017 01:04:23 +0000 (04:04 +0300)]
charts: add BSD license headers

7 years agocharts.lines: add scale-chunks
Alexander Iljin [Fri, 20 Jan 2017 00:45:47 +0000 (03:45 +0300)]
charts.lines: add scale-chunks

7 years agocharts: add chart-dim
Alexander Iljin [Fri, 20 Jan 2017 00:44:44 +0000 (03:44 +0300)]
charts: add chart-dim

7 years agocharts.lines: add scale
Alexander Iljin [Fri, 20 Jan 2017 00:44:02 +0000 (03:44 +0300)]
charts.lines: add scale

7 years agocharts.lines: add flip-y-axis
Alexander Iljin [Thu, 19 Jan 2017 21:55:29 +0000 (00:55 +0300)]
charts.lines: add flip-y-axis

7 years agocharts.lines: more tests for drawable-chunks
Alexander Iljin [Thu, 19 Jan 2017 10:55:20 +0000 (13:55 +0300)]
charts.lines: more tests for drawable-chunks

7 years agocharts.lines: add tests for fix-right-chunk, fix implementation
Alexander Iljin [Thu, 19 Jan 2017 10:28:49 +0000 (13:28 +0300)]
charts.lines: add tests for fix-right-chunk, fix implementation

7 years agocharts.lines: add tests for fix-left-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

7 years agocharts.lines: add tests for 2-point-chunk
Alexander Iljin [Thu, 19 Jan 2017 10:13:47 +0000 (13:13 +0300)]
charts.lines: add tests for 2-point-chunk

7 years agocharts.lines: add tests for drawable-chunks
Alexander Iljin [Wed, 18 Jan 2017 21:24:41 +0000 (00:24 +0300)]
charts.lines: add tests for drawable-chunks

7 years agocharts.lines: make each2* output the last element
Alexander Iljin [Wed, 18 Jan 2017 21:24:13 +0000 (00:24 +0300)]
charts.lines: make each2* output the last element

7 years agocharts.lines: implement (drawable-chunks)
Alexander Iljin [Wed, 18 Jan 2017 19:25:11 +0000 (22:25 +0300)]
charts.lines: implement (drawable-chunks)

7 years agocharts.lines: reduce the amount of data copying in draw-lines
Alexander Iljin [Tue, 17 Jan 2017 19:16:29 +0000 (22:16 +0300)]
charts.lines: reduce the amount of data copying in draw-lines

7 years agocharts.lines: add fix-left-chunk and fix-right-chunk
Alexander Iljin [Fri, 13 Jan 2017 22:53:26 +0000 (01:53 +0300)]
charts.lines: add fix-left-chunk and fix-right-chunk

7 years agocharts.lines: add 2-point-chunk
Alexander Iljin [Fri, 13 Jan 2017 20:31:47 +0000 (23:31 +0300)]
charts.lines: add 2-point-chunk

7 years agocharts.lines: add x and y aliases
Alexander Iljin [Fri, 13 Jan 2017 20:29:43 +0000 (23:29 +0300)]
charts.lines: add x and y aliases

7 years agocharts.lines: add calc-x
Alexander Iljin [Fri, 13 Jan 2017 20:29:08 +0000 (23:29 +0300)]
charts.lines: add calc-x

7 years agocharts.lines: add extra points where necessary for drawing
Alexander Iljin [Fri, 13 Jan 2017 16:28:13 +0000 (19:28 +0300)]
charts.lines: add extra points where necessary for drawing

7 years agocharts.lines: drop slices that are out of y range in drawable-chunks
Alexander Iljin [Fri, 13 Jan 2017 14:51:42 +0000 (17:51 +0300)]
charts.lines: drop slices that are out of y range in drawable-chunks

7 years agocharts.lines: preliminary implementation of drawable-chunks
Alexander Iljin [Fri, 13 Jan 2017 14:18:01 +0000 (17:18 +0300)]
charts.lines: preliminary implementation of drawable-chunks

7 years agocharts.lines: factor some common code into y-at
Alexander Iljin [Fri, 13 Jan 2017 10:14:57 +0000 (13:14 +0300)]
charts.lines: factor some common code into y-at

7 years agocharts.lines: add min-max-cut to cut data on the x axis
Alexander Iljin [Fri, 13 Jan 2017 08:18:00 +0000 (11:18 +0300)]
charts.lines: add min-max-cut to cut data on the x axis

7 years agocharts.lines: add last2
Alexander Iljin [Fri, 13 Jan 2017 07:56:22 +0000 (10:56 +0300)]
charts.lines: add last2

7 years agocharts.lines: add calc-y
Alexander Iljin [Thu, 12 Jan 2017 22:58:52 +0000 (01:58 +0300)]
charts.lines: add calc-y

7 years agocharts.lines: add calc-line-slope
Alexander Iljin [Thu, 12 Jan 2017 18:57:05 +0000 (21:57 +0300)]
charts.lines: add calc-line-slope

7 years agocharts.lines: avoid calling like when not necessary
Alexander Iljin [Thu, 12 Jan 2017 12:33:08 +0000 (15:33 +0300)]
charts.lines: avoid calling like when not necessary

7 years agocharts.lines: don't keep extra elements in data if exact match was found
Alexander Iljin [Thu, 12 Jan 2017 12:31:37 +0000 (15:31 +0300)]
charts.lines: don't keep extra elements in data if exact match was found

7 years agocharts.lines: add and update some comments
Alexander Iljin [Thu, 12 Jan 2017 12:28:56 +0000 (15:28 +0300)]
charts.lines: add and update some comments

7 years agocharts.lines: make clip-by-first operate on slices internally
Alexander Iljin [Tue, 10 Jan 2017 21:32:45 +0000 (00:32 +0300)]
charts.lines: make clip-by-first operate on slices internally

7 years agocharts.lines: rename search-index to search-first
Alexander Iljin [Tue, 10 Jan 2017 20:06:33 +0000 (23:06 +0300)]
charts.lines: rename search-index to search-first

7 years agocharts.lines: add dummy drawable-chunks
Alexander Iljin [Sun, 8 Jan 2017 11:14:56 +0000 (14:14 +0300)]
charts.lines: add dummy drawable-chunks

7 years agocharts.lines: move (line-vertices) into private section
Alexander Iljin [Sun, 8 Jan 2017 11:12:52 +0000 (14:12 +0300)]
charts.lines: move (line-vertices) into private section

7 years agocharts: update some comments
Alexander Iljin [Fri, 6 Jan 2017 22:36:30 +0000 (01:36 +0300)]
charts: update some comments

7 years agocharts: move code related to line drawing to charts.lines
Alexander Iljin [Fri, 6 Jan 2017 22:36:15 +0000 (01:36 +0300)]
charts: move code related to line drawing to charts.lines

7 years agocharts: use clip-data in draw-gadget*
Alexander Iljin [Fri, 13 Jan 2017 10:59:07 +0000 (13:59 +0300)]
charts: use clip-data in draw-gadget*

7 years agocharts: make clip-data handle y coords as well
Alexander Iljin [Fri, 6 Jan 2017 22:17:47 +0000 (01:17 +0300)]
charts: make clip-data handle y coords as well

Implementation is efficient: the minmax for y is only called after trimming
the data on the x bounds. If the entire data set is outside the x range,
handling is terminated early.

7 years agocharts: add clip-data with test
Alexander Iljin [Fri, 6 Jan 2017 19:00:31 +0000 (22:00 +0300)]
charts: add clip-data with test

7 years agocharts: add the "graphics" tag
Alexander Iljin [Fri, 6 Jan 2017 08:45:56 +0000 (11:45 +0300)]
charts: add the "graphics" tag

7 years agocharts: initial import
Alexander Iljin [Fri, 6 Jan 2017 08:38:03 +0000 (11:38 +0300)]
charts: initial import

7 years agopos: delete vocab from unmaintained
Alexander Iljin [Thu, 16 Mar 2017 16:11:55 +0000 (19:11 +0300)]
pos: delete vocab from unmaintained

It was only useful with the self vocab, which is long gone.

7 years agotools.test-docs: fix the order of parameters for must-fail-with 1803/head
Alexander Iljin [Fri, 7 Apr 2017 15:30:30 +0000 (18:30 +0300)]
tools.test-docs: fix the order of parameters for must-fail-with

7 years agomath.functions-docs: update description of e^
Alexander Iljin [Thu, 23 Mar 2017 20:24:00 +0000 (23:24 +0300)]
math.functions-docs: update description of e^

7 years agomath.functions[-docs]: rename the output parameters of the power functions
Alexander Iljin [Thu, 23 Mar 2017 20:22:37 +0000 (23:22 +0300)]
math.functions[-docs]: rename the output parameters of the power functions

7 years agoAdd French number>text support for ratios 1799/head
Samuel Tardieu [Thu, 23 Mar 2017 11:05:45 +0000 (12:05 +0100)]
Add French number>text support for ratios

7 years agoApply 1990 French orthographic reform for writing numbers
Samuel Tardieu [Thu, 23 Mar 2017 10:32:52 +0000 (11:32 +0100)]
Apply 1990 French orthographic reform for writing numbers