]> gitweb.factorcode.org Git - factor.git/log
factor.git
7 years agosequences.extras: additional tests for take-while and drop-while.
John Benediktsson [Fri, 27 Jan 2017 06:09:13 +0000 (22:09 -0800)]
sequences.extras: additional tests for take-while and drop-while.

7 years agosequences.extras: whoops, fix tests.
John Benediktsson [Thu, 26 Jan 2017 20:07:33 +0000 (12:07 -0800)]
sequences.extras: whoops, fix tests.

7 years agosequences.extras: experimenting with take-while and drop-while.
John Benediktsson [Thu, 26 Jan 2017 20:05:09 +0000 (12:05 -0800)]
sequences.extras: experimenting with take-while and drop-while.

7 years agomoney: adding support for floats.
John Benediktsson [Thu, 26 Jan 2017 00:44:25 +0000 (16:44 -0800)]
money: adding support for floats.

7 years agoroman: aesthetics.
John Benediktsson [Wed, 25 Jan 2017 17:48:15 +0000 (09:48 -0800)]
roman: aesthetics.

7 years agoalien.data: minor doc fix.
John Benediktsson [Wed, 25 Jan 2017 05:43:40 +0000 (21:43 -0800)]
alien.data: minor doc fix.

7 years agoio: fix stream-copy docs.
John Benediktsson [Wed, 25 Jan 2017 04:40:29 +0000 (20:40 -0800)]
io: fix stream-copy docs.

7 years agosimple-flat-file: add back string interning.
John Benediktsson [Wed, 25 Jan 2017 04:04:20 +0000 (20:04 -0800)]
simple-flat-file: add back string interning.

7 years agopack: add test for M\ object >n-byte-array.
John Benediktsson [Wed, 25 Jan 2017 01:52:35 +0000 (17:52 -0800)]
pack: add test for M\ object >n-byte-array.

7 years agopack: M\ string heap-size doesn't exist.
John Benediktsson [Wed, 25 Jan 2017 00:11:33 +0000 (16:11 -0800)]
pack: M\ string heap-size doesn't exist.

7 years agopromises: simplify LAXY:.
John Benediktsson [Wed, 25 Jan 2017 00:06:17 +0000 (16:06 -0800)]
promises: simplify LAXY:.

7 years agosimple-flat-file: simplify expand-ranges.
John Benediktsson [Tue, 24 Jan 2017 22:50:44 +0000 (14:50 -0800)]
simple-flat-file: simplify expand-ranges.

7 years agoxml.data: use <vector> instead of V{ } new-sequence.
John Benediktsson [Tue, 24 Jan 2017 22:48:09 +0000 (14:48 -0800)]
xml.data: use <vector> instead of V{ } new-sequence.

7 years agocircular: use <array> instead of { } new-sequence.
John Benediktsson [Tue, 24 Jan 2017 22:47:58 +0000 (14:47 -0800)]
circular: use <array> instead of { } new-sequence.

7 years agoalien.libraries.finder.linux: make more robust to i18n.
John Benediktsson [Tue, 24 Jan 2017 22:45:34 +0000 (14:45 -0800)]
alien.libraries.finder.linux: make more robust to i18n.

7 years agochanger: moving to extra for now.
John Benediktsson [Mon, 23 Jan 2017 18:40:55 +0000 (10:40 -0800)]
changer: moving to extra for now.

7 years agocore.math, bignum/f, shift subnormals before rounding. Fixes #1782
Jon Harper [Mon, 23 Jan 2017 15:10:36 +0000 (16:10 +0100)]
core.math, bignum/f, shift subnormals before rounding. Fixes #1782

7 years agogoogle.gmail: fix to use set-query-params.
John Benediktsson [Mon, 23 Jan 2017 18:06:16 +0000 (10:06 -0800)]
google.gmail: fix to use set-query-params.

7 years agoui.backend.gtk, use a separate widget for drawing opengl. Fixes #1487
Jon Harper [Fri, 13 Jan 2017 16:08:46 +0000 (17:08 +0100)]
ui.backend.gtk, use a separate widget for drawing opengl. Fixes #1487

Apparently you can't use opengl calls in a configure event signaled from
the window. If you do, on ubuntu 14.04 with unity, each and every frame
will be drawn. Since they are drawn slower than the event are emitted,
it continues to redraw after the resize is done, 'replaying' the resize
motion.
opengl calls from a configure event on the single child of the
window are ok.
Also, now that the window is not used to draw opengl, it doesn't produce
expose events, instead the drawable child must be used.

This also makes moving the window much smoother.

7 years agono need to clone empty byte-array.
John Benediktsson [Sun, 22 Jan 2017 23:41:07 +0000 (15:41 -0800)]
no need to clone empty byte-array.

7 years agopong: no need for multi-methods.
John Benediktsson [Sun, 22 Jan 2017 23:10:42 +0000 (15:10 -0800)]
pong: no need for multi-methods.

7 years agoprocessing.shapes: some cleanup.
John Benediktsson [Sun, 22 Jan 2017 23:06:01 +0000 (15:06 -0800)]
processing.shapes: some cleanup.

7 years agoxml: cleanup using.
John Benediktsson [Sun, 22 Jan 2017 22:47:58 +0000 (14:47 -0800)]
xml: cleanup using.

7 years agonurbs: cleanup.
John Benediktsson [Sun, 22 Jan 2017 22:47:50 +0000 (14:47 -0800)]
nurbs: cleanup.

7 years agooauth2: move set-query-params to urls.
John Benediktsson [Sun, 22 Jan 2017 22:44:33 +0000 (14:44 -0800)]
oauth2: move set-query-params to urls.

7 years agowebapps.mason.backend.watchdog: simplify.
John Benediktsson [Sun, 22 Jan 2017 22:44:20 +0000 (14:44 -0800)]
webapps.mason.backend.watchdog: simplify.

7 years agomason.report: adding stack effect.
John Benediktsson [Sun, 22 Jan 2017 22:43:28 +0000 (14:43 -0800)]
mason.report: adding stack effect.

7 years agotools.wc: adding "wc" tool.
John Benediktsson [Sun, 22 Jan 2017 22:40:37 +0000 (14:40 -0800)]
tools.wc: adding "wc" tool.

7 years agoRevert "sequences: swap stack arguments for start/start*/subseq?."
John Benediktsson [Sat, 21 Jan 2017 15:20:14 +0000 (07:20 -0800)]
Revert "sequences: swap stack arguments for start/start*/subseq?."

This reverts commit 63b0593824ed6dcdf6e090f8d38c4cfddcddf903.

7 years agoRevert "html.templates.fhtml: fix start refactor typo."
John Benediktsson [Sat, 21 Jan 2017 15:20:08 +0000 (07:20 -0800)]
Revert "html.templates.fhtml: fix start refactor typo."

This reverts commit d2c4079358e7fea7f1c3188e0c9891be337291b0.

7 years agohtml.templates.fhtml: fix start refactor typo.
John Benediktsson [Sat, 21 Jan 2017 07:09:33 +0000 (23:09 -0800)]
html.templates.fhtml: fix start refactor typo.

7 years agosequences: swap stack arguments for start/start*/subseq?.
John Benediktsson [Sat, 21 Jan 2017 06:49:53 +0000 (22:49 -0800)]
sequences: swap stack arguments for start/start*/subseq?.

It is more natural to be ( seq subseq -- ? ).

7 years agovm: change -nosignals to -no-signals.
John Benediktsson [Sat, 21 Jan 2017 06:36:22 +0000 (22:36 -0800)]
vm: change -nosignals to -no-signals.

7 years agocommand-line.startup: s/Common/Factor.
John Benediktsson [Sat, 21 Jan 2017 05:02:52 +0000 (21:02 -0800)]
command-line.startup: s/Common/Factor.

7 years agosplitting.extras-docs: mark -slice variants as related-words
Alexander Iljin [Wed, 18 Jan 2017 10:54:28 +0000 (13:54 +0300)]
splitting.extras-docs: mark -slice variants as related-words

7 years agosequences-docs: add a missing period at the end of a sentence
Alexander Iljin [Wed, 18 Jan 2017 10:53:28 +0000 (13:53 +0300)]
sequences-docs: add a missing period at the end of a sentence

7 years agomake-docs: fix what appears to be a oversight
Alexander Iljin [Wed, 18 Jan 2017 10:52:41 +0000 (13:52 +0300)]
make-docs: fix what appears to be a oversight

7 years agosplitting.monotonic-docs: update documentation
Alexander Iljin [Wed, 18 Jan 2017 10:51:16 +0000 (13:51 +0300)]
splitting.monotonic-docs: update documentation

7 years agomath.order[-docs]: rename parameters in between? to match those in clamp
Alexander Iljin [Fri, 13 Jan 2017 12:50:16 +0000 (15:50 +0300)]
math.order[-docs]: rename parameters in between? to match those in clamp

7 years agomath.statistics: fix docs for harmonic-mean.
John Benediktsson [Fri, 20 Jan 2017 16:20:41 +0000 (08:20 -0800)]
math.statistics: fix docs for harmonic-mean.

(needs to match prettyprint)

7 years agomath.statistics: fix calculation of the harmonic mean
Björn Lindqvist [Sun, 15 Jan 2017 20:27:55 +0000 (21:27 +0100)]
math.statistics: fix calculation of the harmonic mean

7 years agosplitting-docs: add link to slice in split-when-slice 1779/head
Alexander Iljin [Fri, 13 Jan 2017 10:23:04 +0000 (13:23 +0300)]
splitting-docs: add link to slice in split-when-slice

7 years agosequences-docs: add some related-words
Alexander Iljin [Fri, 13 Jan 2017 10:22:22 +0000 (13:22 +0300)]
sequences-docs: add some related-words

7 years agotools.test-docs: add missing $syntax entries
Alexander Iljin [Fri, 13 Jan 2017 10:21:38 +0000 (13:21 +0300)]
tools.test-docs: add missing $syntax entries

Previously only the unit-test help had $syntax.

7 years agosequences-docs: fix parameter names in the <slice> description
Alexander Iljin [Tue, 10 Jan 2017 20:52:31 +0000 (23:52 +0300)]
sequences-docs: fix parameter names in the <slice> description

7 years agobinary-search-docs: supplement the search description
Alexander Iljin [Tue, 10 Jan 2017 20:36:22 +0000 (23:36 +0300)]
binary-search-docs: supplement the search description

7 years agobinary-search-docs: remove extra find-last from related-words
Alexander Iljin [Fri, 6 Jan 2017 09:03:43 +0000 (12:03 +0300)]
binary-search-docs: remove extra find-last from related-words

7 years agoclasses.struct: use unparse in tests.
John Benediktsson [Wed, 11 Jan 2017 18:22:51 +0000 (10:22 -0800)]
classes.struct: use unparse in tests.

7 years agofuel.help: value-str -> unparse-short
Björn Lindqvist [Tue, 10 Jan 2017 11:21:42 +0000 (12:21 +0100)]
fuel.help: value-str -> unparse-short

7 years agofuel: more word renamings, now only words called from elisp have the fuel- prefix
Björn Lindqvist [Tue, 10 Jan 2017 11:17:12 +0000 (12:17 +0100)]
fuel: more word renamings, now only words called from elisp have the fuel- prefix

7 years agoballoon-bomber: fix window title typo.
John Benediktsson [Mon, 9 Jan 2017 20:37:15 +0000 (12:37 -0800)]
balloon-bomber: fix window title typo.

7 years agoRevert "locals.parser: remove << >> from tests to see if it works now."
John Benediktsson [Mon, 9 Jan 2017 02:10:32 +0000 (18:10 -0800)]
Revert "locals.parser: remove << >> from tests to see if it works now."

This reverts commit 7c24c671b01ad35a3528aab05dedb49bacd06f01.

7 years agolocals.parser: remove << >> from tests to see if it works now.
John Benediktsson [Sun, 8 Jan 2017 22:52:55 +0000 (14:52 -0800)]
locals.parser: remove << >> from tests to see if it works now.

7 years agofuel.eval.tests: fixing the test by wrapping it in a manifest
Björn Lindqvist [Sun, 8 Jan 2017 12:41:43 +0000 (13:41 +0100)]
fuel.eval.tests: fixing the test by wrapping it in a manifest

7 years agofuel,fuel.eval: renaming fuel- prefix words
Björn Lindqvist [Sun, 8 Jan 2017 12:18:50 +0000 (13:18 +0100)]
fuel,fuel.eval: renaming fuel- prefix words

7 years agofuel,fuel.help: refactoring of lots of word names
Björn Lindqvist [Sun, 8 Jan 2017 11:07:18 +0000 (12:07 +0100)]
fuel,fuel.help: refactoring of lots of word names

Better to use unprefixed words everywhere. When they clash with words
from the help system, fully qualified names can be used.

7 years agoFUEL: removing fuel-autodoc-eval-using-form-p, it's not a very useful feature
Björn Lindqvist [Sat, 7 Jan 2017 14:22:33 +0000 (15:22 +0100)]
FUEL: removing fuel-autodoc-eval-using-form-p, it's not a very useful feature

7 years agoFUEL: ensuring that autodoc works for qualified word references (eg unix.ffi:accept)
Björn Lindqvist [Sat, 7 Jan 2017 14:20:13 +0000 (15:20 +0100)]
FUEL: ensuring that autodoc works for qualified word references (eg unix.ffi:accept)

7 years agothreads: fix slot name: status -> state
Björn Lindqvist [Sat, 7 Jan 2017 13:16:10 +0000 (14:16 +0100)]
threads: fix slot name: status -> state

7 years agoio.servers: refactored words for adding & removing servers
Björn Lindqvist [Sat, 7 Jan 2017 12:32:59 +0000 (13:32 +0100)]
io.servers: refactored words for adding & removing servers

7 years agounits.si: extras precision for ``u``.
John Benediktsson [Sat, 7 Jan 2017 02:24:48 +0000 (18:24 -0800)]
units.si: extras precision for ``u``.

7 years agoio.directories: improve file moving words
Benjamin Pollack [Thu, 5 Jan 2017 23:26:55 +0000 (18:26 -0500)]
io.directories: improve file moving words

move-file previously had inconsistent behavior on Windows and unixes.
This unifies the behavior to the common case (just get 'er done), while
also introducing an obviously named word, move-file-atomically, to
handle the case where you need an atomic file primitive.

Fixes #1772

7 years agosequences.deep: adding deep-reject.
John Benediktsson [Fri, 6 Jan 2017 22:09:14 +0000 (14:09 -0800)]
sequences.deep: adding deep-reject.

7 years agosets: using reject in a couple places.
John Benediktsson [Fri, 6 Jan 2017 22:08:42 +0000 (14:08 -0800)]
sets: using reject in a couple places.

7 years agocalendar.parser: invalid date checking for the parsing words
Björn Lindqvist [Thu, 5 Jan 2017 12:31:59 +0000 (13:31 +0100)]
calendar.parser: invalid date checking for the parsing words

7 years agocalendar: value checking to make it hard to create invalid timestamps
Björn Lindqvist [Thu, 5 Jan 2017 12:28:13 +0000 (13:28 +0100)]
calendar: value checking to make it hard to create invalid timestamps

7 years agouse reject instead of [ ... not ] filter.
John Benediktsson [Thu, 5 Jan 2017 21:29:58 +0000 (13:29 -0800)]
use reject instead of [ ... not ] filter.

7 years agoconcurrency.distributed-docs: update the Example article
Alexander Iljin [Thu, 5 Jan 2017 17:06:18 +0000 (20:06 +0300)]
concurrency.distributed-docs: update the Example article

7 years agopdf.values: treat color tuples uniformly
Alexander Iljin [Sat, 24 Dec 2016 20:19:18 +0000 (23:19 +0300)]
pdf.values: treat color tuples uniformly

7 years agopdf.layout: use symbols for authorship
Alexander Iljin [Thu, 5 Jan 2017 20:30:29 +0000 (23:30 +0300)]
pdf.layout: use symbols for authorship

7 years agocommand-line-docs: fix wording
Alexander Iljin [Thu, 8 Dec 2016 12:40:15 +0000 (15:40 +0300)]
command-line-docs: fix wording

7 years agohtml.templates.fhtml: fix example test.
John Benediktsson [Thu, 5 Jan 2017 20:10:16 +0000 (12:10 -0800)]
html.templates.fhtml: fix example test.

7 years agofixup 5af166b8f, shouldn't have removed these lines
Jon Harper [Thu, 5 Jan 2017 17:53:57 +0000 (18:53 +0100)]
fixup 5af166b8f, shouldn't have removed these lines

7 years agomath.cardinality: relax the comparison so tests run more successfully.
John Benediktsson [Thu, 5 Jan 2017 17:06:33 +0000 (09:06 -0800)]
math.cardinality: relax the comparison so tests run more successfully.

7 years agomason.report, remove <html><body> because this html report is embedded as is in anoth...
Jon Harper [Thu, 5 Jan 2017 16:17:03 +0000 (17:17 +0100)]
mason.report, remove <html><body> because this html report is embedded as is in another page

7 years agoadd DOCTYPE html in most places.
Jon Harper [Thu, 5 Jan 2017 16:14:33 +0000 (17:14 +0100)]
add DOCTYPE html in most places.

4ef4235 started it. This is also good for html emails like in
extra/webapps/mason/backend/watchdog/watchdog.factor .

I just grepped for "<html>".

7 years agocalendar.parser: fixing rfc822 so it doesn't break in trailing space
Björn Lindqvist [Wed, 4 Jan 2017 17:58:15 +0000 (18:58 +0100)]
calendar.parser: fixing rfc822 so it doesn't break in trailing space

7 years agocalendar.*: replacing hms>timestamp and timestamp>hms with duration variants
Björn Lindqvist [Wed, 4 Jan 2017 11:47:45 +0000 (12:47 +0100)]
calendar.*: replacing hms>timestamp and timestamp>hms with duration variants

hms>duration is better because a timestamp without a date is
invalid. This also makes it so the SQL TIME column maps to duration. Now
we can add some validation so that you aren't allowed to create invalid
timestamps.

7 years agocalendar.format: unused word
Björn Lindqvist [Wed, 4 Jan 2017 10:09:34 +0000 (11:09 +0100)]
calendar.format: unused word

7 years agomath.cardinality: adding summary.txt.
John Benediktsson [Wed, 4 Jan 2017 22:22:30 +0000 (14:22 -0800)]
math.cardinality: adding summary.txt.

7 years agomath.cardinality: adding some tests.
John Benediktsson [Wed, 4 Jan 2017 22:16:58 +0000 (14:16 -0800)]
math.cardinality: adding some tests.

7 years agocompiler.cfg: add peephole opt to never untag the input of ##bit-count. fixes #1764
Jon Harper [Tue, 3 Jan 2017 19:43:01 +0000 (20:43 +0100)]
compiler.cfg: add peephole opt to never untag the input of ##bit-count. fixes #1764

7 years agocore layouts, remove hardcoded tag width
Jon Harper [Tue, 3 Jan 2017 16:56:29 +0000 (17:56 +0100)]
core layouts, remove hardcoded tag width

109aa88b060 showed the places were it was hardcoded

7 years agotools.cal: use calendar.english.
John Benediktsson [Wed, 4 Jan 2017 03:15:57 +0000 (19:15 -0800)]
tools.cal: use calendar.english.

7 years agoirc.logbot: more strftime
Björn Lindqvist [Wed, 4 Jan 2017 08:46:17 +0000 (09:46 +0100)]
irc.logbot: more strftime

7 years agocalendar.parser,robots: hhmm>timestamp -> hhmm>duration
Björn Lindqvist [Wed, 4 Jan 2017 08:10:15 +0000 (09:10 +0100)]
calendar.parser,robots: hhmm>timestamp -> hhmm>duration

Better to parse it as a duration because it is not a valid timestamp.

7 years agocalendar.format: moving parsing words to a new vocab calendar.parser
Björn Lindqvist [Wed, 4 Jan 2017 07:50:24 +0000 (08:50 +0100)]
calendar.format: moving parsing words to a new vocab calendar.parser

The vocab was getting big so the idea is to have all the time parsing in
calendar.parsing and only keep formatting words in calendar.format.

7 years agohashcash: strftime
Björn Lindqvist [Tue, 3 Jan 2017 21:39:24 +0000 (22:39 +0100)]
hashcash: strftime

7 years agotools.cal: using calendar.english
Björn Lindqvist [Wed, 4 Jan 2017 07:09:06 +0000 (08:09 +0100)]
tools.cal: using calendar.english

7 years agotools.cal: minor formatting.
John Benediktsson [Wed, 4 Jan 2017 03:12:43 +0000 (19:12 -0800)]
tools.cal: minor formatting.

7 years agouse with-variable in some places with-scope was used.
John Benediktsson [Wed, 4 Jan 2017 03:12:29 +0000 (19:12 -0800)]
use with-variable in some places with-scope was used.

7 years agocalendar.english: new vocab for english names for days and months
Björn Lindqvist [Tue, 3 Jan 2017 14:48:08 +0000 (15:48 +0100)]
calendar.english: new vocab for english names for days and months

This moves all the english-centric words from the calendar vocab which
was getting kind of big to calendar.english. It should make it easier to
see which vocabs make language assumptions.

7 years agowikipedia: strftime + tests
Björn Lindqvist [Tue, 3 Jan 2017 14:37:53 +0000 (15:37 +0100)]
wikipedia: strftime + tests

7 years agotools.cal: using strftime + tests
Björn Lindqvist [Tue, 3 Jan 2017 14:30:59 +0000 (15:30 +0100)]
tools.cal: using strftime + tests

7 years agoclasses.mixin,classes.union: moves the check-self-reference test
Björn Lindqvist [Tue, 3 Jan 2017 05:10:12 +0000 (06:10 +0100)]
classes.mixin,classes.union: moves the check-self-reference test

Should make it so you can't define self-referencing mixins, just like
you can't define self-referencing unions.

7 years agocalendar.format.tests: stray char
Björn Lindqvist [Tue, 3 Jan 2017 05:09:09 +0000 (06:09 +0100)]
calendar.format.tests: stray char

7 years agoclasses.mixin.tests: fix tc not to break when forget-tests? is on
Björn Lindqvist [Tue, 3 Jan 2017 03:15:13 +0000 (04:15 +0100)]
classes.mixin.tests: fix tc not to break when forget-tests? is on

7 years agomath.combinatorics: cleaner next-permutation.
John Benediktsson [Mon, 2 Jan 2017 17:34:15 +0000 (09:34 -0800)]
math.combinatorics: cleaner next-permutation.

7 years agomath.statistics-docs: make cum-product example less ambiguous
Alexander Iljin [Fri, 16 Dec 2016 21:44:32 +0000 (00:44 +0300)]
math.statistics-docs: make cum-product example less ambiguous

In the previous version of the example it was not clear whether the result
always starts with 1 (as is the case with cum-product1) or with the first
item of the input sequence.

7 years agomath.parser: add missing blank line between words
Alexander Iljin [Wed, 16 Nov 2016 06:45:25 +0000 (09:45 +0300)]
math.parser: add missing blank line between words