John Benediktsson
85e6dc6369
alien.data: minor doc fix.
2017-01-24 21:43:40 -08:00
John Benediktsson
1829c73bb1
simple-flat-file: add back string interning.
2017-01-24 20:04:20 -08:00
John Benediktsson
1613bdfed2
pack: add test for M\ object >n-byte-array.
2017-01-24 17:52:35 -08:00
John Benediktsson
9c13aa4b4c
pack: M\ string heap-size doesn't exist.
2017-01-24 16:11:33 -08:00
John Benediktsson
2e9dce0b97
promises: simplify LAXY:.
2017-01-24 16:06:17 -08:00
John Benediktsson
dcc3bf64a6
simple-flat-file: simplify expand-ranges.
2017-01-24 14:50:44 -08:00
John Benediktsson
65e4c37a30
xml.data: use <vector> instead of V{ } new-sequence.
2017-01-24 14:48:09 -08:00
John Benediktsson
f68502e9b5
circular: use <array> instead of { } new-sequence.
2017-01-24 14:47:58 -08:00
John Benediktsson
5f187bbd29
alien.libraries.finder.linux: make more robust to i18n.
2017-01-24 14:45:34 -08:00
John Benediktsson
e6b8837f2f
changer: moving to extra for now.
2017-01-23 10:40:55 -08:00
Jon Harper
14f51e2dd5
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.
2017-01-23 10:04:43 -08:00
John Benediktsson
134be588cf
no need to clone empty byte-array.
2017-01-22 15:41:07 -08:00
John Benediktsson
c5ec44cc2c
xml: cleanup using.
2017-01-22 14:47:58 -08:00
John Benediktsson
33f2fbd099
oauth2: move set-query-params to urls.
2017-01-22 14:44:33 -08:00
John Benediktsson
baaa06278c
Revert "sequences: swap stack arguments for start/start*/subseq?."
...
This reverts commit 63b0593824
.
2017-01-21 07:20:14 -08:00
John Benediktsson
9dbd70ddd3
Revert "html.templates.fhtml: fix start refactor typo."
...
This reverts commit d2c4079358
.
2017-01-21 07:20:08 -08:00
John Benediktsson
d2c4079358
html.templates.fhtml: fix start refactor typo.
2017-01-20 23:09:33 -08:00
John Benediktsson
63b0593824
sequences: swap stack arguments for start/start*/subseq?.
...
It is more natural to be ( seq subseq -- ? ).
2017-01-20 22:49:53 -08:00
John Benediktsson
42ef8adec6
vm: change -nosignals to -no-signals.
2017-01-20 22:36:22 -08:00
John Benediktsson
bfc1794091
command-line.startup: s/Common/Factor.
2017-01-20 21:02:52 -08:00
Alexander Iljin
b5c71c4846
splitting.monotonic-docs: update documentation
2017-01-20 08:21:54 -08:00
John Benediktsson
0f9836e73c
math.statistics: fix docs for harmonic-mean.
...
(needs to match prettyprint)
2017-01-20 08:20:41 -08:00
Björn Lindqvist
0701902122
math.statistics: fix calculation of the harmonic mean
2017-01-15 21:27:55 +01:00
Alexander Iljin
5fac469a8c
tools.test-docs: add missing $syntax entries
...
Previously only the unit-test help had $syntax.
2017-01-13 13:31:42 +03:00
Alexander Iljin
ee7ced2f37
binary-search-docs: supplement the search description
2017-01-13 13:31:34 +03:00
Alexander Iljin
3434008750
binary-search-docs: remove extra find-last from related-words
2017-01-13 13:31:30 +03:00
John Benediktsson
5743ed204c
classes.struct: use unparse in tests.
2017-01-11 10:22:51 -08:00
John Benediktsson
8453582484
Revert "locals.parser: remove << >> from tests to see if it works now."
...
This reverts commit 7c24c671b0
.
2017-01-08 18:10:32 -08:00
John Benediktsson
7c24c671b0
locals.parser: remove << >> from tests to see if it works now.
2017-01-08 14:52:55 -08:00
Björn Lindqvist
28801e8d5f
threads: fix slot name: status -> state
2017-01-07 15:26:19 +01:00
Björn Lindqvist
7874f5a547
io.servers: refactored words for adding & removing servers
2017-01-07 15:26:19 +01:00
Benjamin Pollack
7184771c31
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
2017-01-06 15:43:34 -08:00
John Benediktsson
dac41e1bf7
sequences.deep: adding deep-reject.
2017-01-06 14:09:14 -08:00
Björn Lindqvist
6b29a50cd4
calendar.parser: invalid date checking for the parsing words
2017-01-05 23:35:10 +01:00
Björn Lindqvist
4c097a396a
calendar: value checking to make it hard to create invalid timestamps
2017-01-05 23:35:10 +01:00
John Benediktsson
48c69cb8ea
use reject instead of [ ... not ] filter.
2017-01-05 13:29:58 -08:00
Alexander Iljin
ca08bfd4b0
concurrency.distributed-docs: update the Example article
2017-01-05 12:48:50 -08:00
Alexander Iljin
d5c555462b
command-line-docs: fix wording
2017-01-05 12:48:50 -08:00
John Benediktsson
9836dd7734
html.templates.fhtml: fix example test.
2017-01-05 12:10:16 -08:00
Jon Harper
5af166b8f5
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>".
2017-01-05 09:03:46 -08:00
Björn Lindqvist
97a57f4041
calendar.parser: fixing rfc822 so it doesn't break in trailing space
2017-01-05 12:38:05 +01:00
Björn Lindqvist
b17590db24
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.
2017-01-05 12:38:05 +01:00
Björn Lindqvist
c48319cb35
calendar.format: unused word
2017-01-05 12:38:05 +01:00
Jon Harper
dc3ee923ca
compiler.cfg: add peephole opt to never untag the input of ##bit-count. fixes #1764
2017-01-04 07:29:08 -08:00
Jon Harper
ccbf1c1429
core layouts, remove hardcoded tag width
...
109aa88b06
showed the places were it was hardcoded
2017-01-04 07:29:08 -08:00
Björn Lindqvist
3bbc784fad
calendar.parser,robots: hhmm>timestamp -> hhmm>duration
...
Better to parse it as a duration because it is not a valid timestamp.
2017-01-04 09:10:15 +01:00
Björn Lindqvist
2895d5e095
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.
2017-01-04 08:50:24 +01:00
John Benediktsson
3974ba8ba3
use with-variable in some places with-scope was used.
2017-01-03 19:12:29 -08:00
Björn Lindqvist
f9b9ce20f2
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.
2017-01-03 15:48:08 +01:00
Björn Lindqvist
13ec2e41b9
calendar.format.tests: stray char
2017-01-03 06:09:09 +01:00
John Benediktsson
59ce436dab
math.combinatorics: cleaner next-permutation.
2017-01-02 09:34:15 -08:00
Alexander Iljin
e9f6a56c53
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.
2017-01-02 09:33:15 -08:00
Alexander Iljin
631707b496
db-docs: remove double period at the end of a sentence
2017-01-02 09:33:02 -08:00
Alexander Iljin
b7e64aed9f
db-docs: add a missing newline to separate groups of items
2017-01-02 09:32:58 -08:00
Shane Pelletier
93d11224eb
grouping-docs: add wrap-around note
2017-01-02 08:07:42 -08:00
John Benediktsson
1c9909cd76
ui.gadgets.slots: removing unnecessary tuples.
2016-12-31 18:54:18 -08:00
John Benediktsson
98b6fdeaa3
html.components: protect M\ code render* from ``f`` value.
2016-12-31 13:53:56 -08:00
John Benediktsson
4e9ad6ada7
calendar.format: parse rfc822 military and named timezones.
2016-12-31 13:50:08 -08:00
John Benediktsson
556a2b2b5b
calendar.format: allow UTC to be in rfc822 timestamps.
2016-12-31 13:22:49 -08:00
Björn Lindqvist
4d580d95bf
stack-checker.backend: no need to add extra dependencies on wrappers
...
This makes it so that if you declare a symbol it won't have an effect
dependency on itself.
2016-12-31 11:41:29 +01:00
Björn Lindqvist
a808ade3c1
classes.mixin: better name for the type checking error
2016-12-30 16:02:55 +01:00
John Benediktsson
ce9c9a8858
tools.destructors: use collect-by.
2016-12-28 16:21:08 -08:00
John Benediktsson
4400c5051c
tools.profiler.sampling: cleanup using.
2016-12-28 13:40:05 -08:00
John Benediktsson
60919f8a89
math.statistics: change minmax to not look at first element twice.
2016-12-28 13:39:52 -08:00
John Benediktsson
b141e0d2fb
assocs: moving collect-by from math.statistics.
2016-12-28 12:56:19 -08:00
Björn Lindqvist
663697f058
webbrowser.windows: calling absolute-path doesnt work on urls ( #1759 )
2016-12-18 04:13:37 +01:00
Björn Lindqvist
6f555a7b2c
tools.deploy.*: new word maybe-open-deploy-directory
2016-12-18 04:12:56 +01:00
Björn Lindqvist
5f5098617a
webbrowser: let's change the name open-file -> open-item
...
Because the word can open more stuff than just files.
2016-12-18 03:23:24 +01:00
Björn Lindqvist
88015e9632
farkup,webbrowser: better url validation
2016-12-18 02:58:04 +01:00
Björn Lindqvist
515f7e5269
tools.memory: moving the code-block types to the vm vocab
2016-12-09 11:53:59 +01:00
Björn Lindqvist
5a1cb3f81e
tools.memory: fix code-room. word, no more profiling stubs
2016-12-09 11:37:37 +01:00
Björn Lindqvist
aa5334420c
stack-checker.dependencies: moving the add-depends-on-class word + new docs
2016-12-09 11:28:18 +01:00
John Benediktsson
4e3fe96d3d
tools.deprecation: use filter-word-defs.
2016-12-06 16:31:33 -08:00
Björn Lindqvist
1f3394af26
compiler.*: places where filter-word-defs can be used
2016-12-06 09:00:01 +01:00
John Benediktsson
dffdd36694
locals.parser: use with-variables instead of with-scope.
2016-12-05 16:00:37 -08:00
John Benediktsson
21985232a2
locals.parser: maybe we can use unuse-words.
2016-12-05 15:56:30 -08:00
John Benediktsson
4717d39e69
xml.entities: use with-variable in with-entities.
2016-12-05 10:38:26 -08:00
John Benediktsson
d9cdb80b90
xmode.loader: use with-variable instead of with-scope.
2016-12-05 10:35:01 -08:00
Björn Lindqvist
df2e17a32d
linked-assocs: fixing stack effect
2016-12-05 08:49:31 +01:00
Björn Lindqvist
5c7627a777
stack-checker.dependencies: removing the add-depends-on-<blah> words
2016-12-03 15:50:55 +01:00
Björn Lindqvist
0142d0b078
basis/,extra/: using parse-array-def in a bunch of places
2016-12-03 13:23:24 +01:00
Björn Lindqvist
4d5b83c3f5
compiler.cfg.builder.alien.tests: fix test that broke windows
2016-12-01 19:52:02 +01:00
Björn Lindqvist
cefb15b2d6
alien.libraries.tests: fix for test that broke windows
2016-11-30 19:11:14 +01:00
John Benediktsson
6b1bb67ba6
images.loader.gtk: remove call to deprecated g_type_init.
2016-11-30 09:21:42 -08:00
Björn Lindqvist
cde510d69c
cpu.*: docs
2016-11-30 16:36:25 +01:00
Björn Lindqvist
75b6b12d0e
compiler.cfg.*,compiler.tree.*: more docs and tests
2016-11-30 16:36:25 +01:00
Björn Lindqvist
6cb3e313d9
dlists,http,ui.gadgets.*: nicer formatting of tuples
2016-11-30 16:36:25 +01:00
Björn Lindqvist
a9ac763912
alien.libraries: word>dlsym was a stupid idea that didn't work
...
The def>> attribute is stripped when deploying. So return dlsym? and use
that.
2016-11-30 16:36:24 +01:00
Björn Lindqvist
bfd40f0215
images.loader.gtk: startup hook for type registration
2016-11-30 11:57:14 +01:00
Björn Lindqvist
2ba659dcb1
io.sockets.secure,alien.libraries: new word word>dlsym to replace the dlsym? word
2016-11-30 11:51:54 +01:00
Björn Lindqvist
b42668ebeb
compiler,stack-checker.dependencies: init-dependencies isn't needed
2016-11-30 07:29:10 +01:00
Björn Lindqvist
e629f7b289
compiler.crossref: changes the way in which dependencies are stored on words
...
Previosly, they were stored in three sequences in the properties
"conditional-dependencies" "effect-dependencies" and
"definition-dependencies". It seem to better to store all three
types in one big property called "dependencies".
2016-11-30 07:29:10 +01:00
John Benediktsson
13807172d4
inverse: cleanup using.
2016-11-29 17:02:01 -08:00
John Benediktsson
ae09790c7c
stack-checker.dependencies: +definition+ can't use $class-description.
...
Also, placeholders for +effect+ and +conditional+.
2016-11-28 09:38:44 -08:00
Björn Lindqvist
d6eb6f2c76
compiler.crossref: better way to store the dependencies on words
2016-11-28 04:13:58 +01:00
Björn Lindqvist
e842e41f49
stack-checker.dependencies: docs
2016-11-28 02:04:28 +01:00
Björn Lindqvist
14e8688112
stack-checker.dependencies: changes the names of the dependency constants
...
Now named using the +blah+ convention which we're using elsewhere for
symbolic constants.
2016-11-28 02:04:28 +01:00
Björn Lindqvist
99653bab91
compiler.crossref: better code for getting dependencies-of + tests
2016-11-28 02:04:28 +01:00
Björn Lindqvist
581e2e2a62
vocabs.metadata.resources,help.pdf: gather used
2016-11-28 02:04:28 +01:00
Björn Lindqvist
6c73529525
compiler.codegen: we don't need the init-fixup word
2016-11-28 02:04:28 +01:00