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
John Benediktsson
7465bd0ed6
io.launcher: wait for new processes faster.
...
This starts at 5 milliseconds, then backs off 5 milliseconds at a time,
until 100 milliseconds. In case the processes are short-lived, they
will be detected sooner, and long-running processes will still be checked
at intervals of 100 millseconds like before.
2016-11-27 07:35:26 -08:00
John Benediktsson
463b57f7c9
help.tutorial: use arrays for test output in first-program.
2016-11-26 22:33:55 -08:00
John Benediktsson
dadff2f062
some cleanup.
2016-11-26 22:01:03 -08:00
John Benediktsson
72cf4fec47
colors.hex: support varying length hex notations.
...
6 characters: rrggbb (1.0 alpha)
8 characters: rrggbbaa
3 characters: rgb (1.0 alpha)
4 characters: rgba
2016-11-26 21:13:12 -08:00
Björn Lindqvist
3b0d5bba15
kernel.private: adding OBJ-SAMPLE-CALLSTACKS + test case
2016-11-24 05:11:46 +01:00
Björn Lindqvist
79dcce8f39
compiler.cfg.debugger: also print the instruction number
...
it's useful to see when debugging some compiler passes
2016-11-23 18:56:03 +01:00
Björn Lindqvist
d73666b9d0
VM: the unimplemented error isn't used anymore
...
Cause all the primitives are implemented so it can never ever be
thrown. Probably requires new boot images.
2016-11-23 10:24:52 +01:00
Björn Lindqvist
c55a6ef873
VM: removing the unused callstack-bounds primitive
...
Probably needs new boot images
2016-11-21 22:30:20 +01:00
Björn Lindqvist
2a21052950
Revert "Revert "urls: only create linked-hash if query is f." ( #1513 )"
...
This reverts commit 89d4f511f8
.
2016-11-20 05:09:13 +01:00
Björn Lindqvist
0e7fd0340d
io.sockets.secure.openssl.tests: fix so you dont get an error when test times out
2016-11-19 23:40:12 +01:00
Björn Lindqvist
861b0eacd7
openssl.libssl.tests: removing stupid test that didn't work
...
you can't know beforehand which of the tls versions openssl supports.
2016-11-19 23:24:51 +01:00
Björn Lindqvist
c6361436bf
io.sockets.secure.openssl: set connected to t after do-ssl-accept
...
This should prevent the SSL_shutdown:shutdown while in init error we've
been seeing
2016-11-19 19:05:53 +01:00
Björn Lindqvist
1b7b7e8260
io.sockets.secure.openssl: second |dispose seem to be redundant
2016-11-19 18:04:17 +01:00
Björn Lindqvist
cc6f03f5b5
openssl.libssl: new destructors, to make sure the tests doesnt leak
2016-11-19 18:03:12 +01:00
Björn Lindqvist
317a832a86
openssl.libssl: trying to organize vocab a little better
...
like all the constants in one block, and functions grouped on their
method object
2016-11-19 17:27:50 +01:00
Björn Lindqvist
1448531b24
openssl.libssl: remove the testing of SSLv2 and SSLv3
...
It caused spurious test errors on Arch and Ubuntu because they are
removing support for those protocols.
2016-11-19 03:42:03 +01:00
Björn Lindqvist
a1c503c6e4
io.files.info.unix.linux: handles the possible permission denied error in M: linux file-systems
2016-11-19 02:07:49 +01:00
Björn Lindqvist
00d4572e6c
basis,extra: refactorings to use the ignore-error and ignore-error/f words
2016-11-18 23:41:36 +01:00
Björn Lindqvist
e4b961a26e
continuations: new words for ignoring masked errors
...
it comes from the db.errors vocab but seems to be useful in lots of
situations
2016-11-18 23:41:36 +01:00
Björn Lindqvist
7806bdb953
couchdb: make it so couch-put and couch-post calls <json-post-data>
2016-11-18 20:10:39 +01:00
Björn Lindqvist
89d4f511f8
Revert "urls: only create linked-hash if query is f." ( #1513 )
...
This reverts commit 6d21a5a073
. Just
guessing here.
2016-11-16 04:02:58 +01:00
Björn Lindqvist
b89a305ef7
compiler.cfg.linear-scan.assignment: correct representation used when spilling
...
Previously the rep-of word was used. But as the vregs representation can
change, you need to instead use the representation it uas as the spill
point.
2016-11-15 03:49:46 +01:00
Björn Lindqvist
b1ac5ae7ca
compiler.cfg.linear-scan: more tests
2016-11-15 03:49:46 +01:00
Björn Lindqvist
ffef75f8a7
compiler.cfg.*: more docs
2016-11-15 03:49:46 +01:00
Björn Lindqvist
4d9367249b
compiler.cfg.linear-scan.*: more tests
2016-11-15 03:49:46 +01:00
Björn Lindqvist
7053c72aa1
compiler.cfg.linear-scan.allocation.spilling: <linked-hash>
2016-11-15 03:49:46 +01:00
Björn Lindqvist
56079afcfb
Revert "bootstrap: trying to undo changes from"
...
This reverts commit 7b3fb61ebd
.
2016-11-13 00:22:21 +01:00
Björn Lindqvist
7b3fb61ebd
bootstrap: trying to undo changes from
...
a915d3bdb4
(#1513 )
A lot of changes that built upon those changes had to be undone too. New
boot images is required.
2016-11-12 01:54:57 +01:00
Björn Lindqvist
e9f9903393
Revert "compiler.tree.dead-code.simple: undo e1b22e0af4
( #1513 )"
...
This reverts commit 5a0e583279
.
2016-11-11 13:18:10 +01:00
Chris Double
5f1400bd0c
Fix concurrency.distributed tests
2016-11-10 17:38:59 -08:00
Chris Double
4c3714ac56
Fix serializing of remote threads in concurrency.distributed
...
The commit f20ee7a53b
broke
serialization of remote threads and removed the local node
aspect of distributed messaging. This corrects that.
2016-11-10 17:38:59 -08:00
Björn Lindqvist
5a0e583279
compiler.tree.dead-code.simple: undo e1b22e0af4
( #1513 )
...
This will likely cause some test failures. mac32 hopefully won't crash.
2016-11-11 00:21:35 +01:00
John Benediktsson
8f5ad6f906
colors.hsv: make sure Hi is an integer.
2016-11-10 10:34:08 -08:00
John Benediktsson
3641defa66
io.files.temp.unix: make default-cache-directory absolute-path.
2016-11-10 09:08:29 -08:00
John Benediktsson
1c9ffc7dbd
vocabs.cache: reset-cache only when vocabs forgotten, not created.
2016-11-09 16:50:14 -08:00
John Benediktsson
edfcc879fe
io.files.temp.unix: fix cache to be ~/.cache/factor.
2016-11-09 16:28:49 -08:00
John Benediktsson
e0389df8c4
Revert "alien.parser: throw error if enum values don't fit c-type."
...
This reverts commit 2e326498a4
.
2016-11-09 15:41:54 -08:00
John Benediktsson
7d92217551
ui.tools.operations: making "See" an operation on words.
2016-11-09 15:39:59 -08:00
John Benediktsson
1abe794205
io.buffers: refactor buffer-read-until to use buffer-find.
2016-11-09 10:43:47 -08:00
John Benediktsson
4bebe98fa1
io.buffers: adding another test of buffer-read-until.
2016-11-09 10:11:51 -08:00
John Benediktsson
816d1e31d5
io.pipes: allow "|" separated strings in run-pipeline.
2016-11-09 09:56:34 -08:00
John Benediktsson
2e326498a4
alien.parser: throw error if enum values don't fit c-type.
2016-11-08 21:45:54 -08:00
John Benediktsson
3cc16ccd9e
io.files.temp.unix: allowing TMPDIR to override /tmp.
2016-11-08 21:37:51 -08:00
John Benediktsson
deac792fc7
io.files.temp.unix: changing cache directory to use XDG spec.
...
Typically this means ~/.cache/factor.
2016-11-08 21:24:34 -08:00
John Benediktsson
73d430bfb9
xdg: moving from extra/ to basis/.
2016-11-08 21:23:22 -08:00
John Benediktsson
19447e44a4
byte-arrays.hex: removing HEX{ ab cd ef } in favor of B{ 0xab 0xcd 0xef }.
2016-11-08 21:10:58 -08:00
John Benediktsson
fd13a94150
io.launcher: fix timeouts for process streams.
2016-11-08 20:57:47 -08:00
John Benediktsson
0bed0870bb
ui.theme: change deprecated background color also.
2016-11-08 16:05:26 -08:00
John Benediktsson
d5a57ca04f
ui.theme: make warning background color a light shade of red.
2016-11-08 15:48:40 -08:00
John Benediktsson
708dc35965
db.sqlite: use temporary test.db for tests.
2016-11-08 09:32:45 -08:00
Björn Lindqvist
eabf237863
compiler.tree.propagation.recursive: redoing
...
097b40ce41
(#1513 )
2016-11-06 19:08:35 +01:00
John Benediktsson
4f2a1a2e4e
ui.tools.listener: make all call-listener use with-ctrl-break.
2016-11-02 11:04:52 -07:00
John Benediktsson
5f38ec1a4a
ui.gadgets.scrollers: minor cleanup using if*.
2016-11-02 11:00:23 -07:00
Alexander Iljin
5cf83f1e5e
threads-docs: add a comment to the spawn article
2016-11-02 08:01:26 -07:00
Alexander Iljin
6b3c802b13
threads-docs: drop the spawned thread in the example code
2016-11-02 08:01:26 -07:00
Alexander Iljin
417313cde4
listener-docs: fix wording
2016-11-02 08:01:26 -07:00
John Benediktsson
72b43a57a1
listener: minor formatting.
2016-11-01 19:21:36 -07:00
Alexander Iljin
1156ea3d8b
listener-docs: document the Ctrl-Break handler support
2016-11-01 16:53:01 -07:00
Alexander Iljin
82c1a1e936
listener: don't activate the ctrl-break handler by default
...
To activate the ctrl-break handler, add the following code to your
.factor-rc:
USING: listener namespaces ; t handle-ctrl-break set-global
2016-11-01 16:53:01 -07:00
Alexander Iljin
17aa171ccf
ui.tools.listener-docs: add TIP: about the Ctrl-Break feature
2016-11-01 16:53:01 -07:00
Alexander Iljin
2e49ffe6bd
ui.tools: make refresh-all command interruptible with Ctrl-Break
2016-11-01 16:53:01 -07:00
Alexander Iljin
cf4f0ada11
listener: allow ctrl-break to interrupt user code parsing
...
This makes it possible to trap infinite loops in the vocab loading process.
2016-11-01 16:53:00 -07:00
Alexander Iljin
d8f273f35b
listener: enable ctrl-break interruption only while user code is running
2016-11-01 16:53:00 -07:00
Alexander Iljin
0245a93bee
VM: add enable-ctrl-break and disable-ctrl-break primitives
...
These are for the Listener to wrap around user-supplied quotations. Nesting
is not supported at the moment.
2016-11-01 16:53:00 -07:00
John Benediktsson
ea2a856ee6
tools.deploy.backend: removing empty description.
2016-11-01 08:25:43 -07:00
Björn Lindqvist
b31c0b8857
Docs: bunch of random doc updates
2016-10-31 11:46:39 +01:00
Björn Lindqvist
13cd2c4e75
compiler.tree.propagation.recursive: undoing 097b40ce41
( #1513 )
2016-10-31 11:27:05 +01:00
Björn Lindqvist
65f1fbe90a
compiler.tree.propagation.info: redoing a3be724f5a
( #1513 )
2016-10-31 07:29:00 +01:00
Björn Lindqvist
93661e9ea6
io.launcher.unix: better to use current-directory variable
2016-10-31 07:27:14 +01:00
Alexander Iljin
eeeb65d7d8
compiler.cfg.stacks-docs: fix a typo
2016-10-30 14:18:53 -07:00
Alexander Iljin
47cd2861fb
compiler.tree.debugger-docs: fix a typo
2016-10-30 14:18:53 -07:00
Alexander Iljin
560caf8e4d
io.directories.search-docs: fix indentation
2016-10-30 14:18:53 -07:00
Björn Lindqvist
c74a669dad
compiler.tree.propagation.info: undid a3be724f5a
to see if it solves #1513
2016-10-30 19:00:38 +01:00
Alexander Iljin
9a3a3c0170
peg.ebnf-docs: add note on including "-" in the character classes
2016-10-28 09:34:53 -07:00
Alexander Iljin
924880cb50
Add cp437 8-bit encoding, AKA IBM437
2016-10-27 08:44:15 -07:00
John Benediktsson
417e296d46
help.stylesheet: use table-border-color instead of line-color.
2016-10-22 09:24:15 -07:00
Sankaranarayanan Viswanathan
1c97b0d76e
menus: allow keyboard control
2016-10-22 09:01:56 -07:00
Björn Lindqvist
f070a47ec0
VM: add marking as a timed gc phase
...
I think that makes sense because most time when doing a full gc is spent
marking.
2016-10-20 07:46:21 +02:00
Björn Lindqvist
752c895d23
VM: refactor gc_event so that the phase times are stored in an array
...
So that you don't need a new method for each gc phase to time.
2016-10-20 00:34:18 +02:00
Björn Lindqvist
f147bd4404
VM: uppercasing gc_op
2016-10-19 09:09:32 +02:00
Sankaranarayanan Viswanathan
d59b2d2f3d
menus: ESC should close menu popup
2016-10-14 07:57:02 -07:00
Björn Lindqvist
55e6ccb708
VM: remove the reversing from sampling profiler callstack collection #452
2016-10-13 01:34:55 +02:00
Björn Lindqvist
46105b62f6
VM: change callstack>array primitive so it doesn't reverse anymore
...
This fixes one part of the #452 bug.
2016-10-13 01:34:55 +02:00
John Benediktsson
8a720c7889
concurrency.semaphores: fix typo in docs.
2016-10-12 10:14:09 -07:00
Björn Lindqvist
32825b9f5f
bootstrap.image.primitives: array>quotation can't be foldable
2016-10-09 00:47:37 +02:00
Björn Lindqvist
88b2ed482c
math.parser: (format-float) can only be flushable
2016-10-09 00:47:37 +02:00
Björn Lindqvist
a102f7ad5d
compiler.cfg.*: bunch of doc updates
2016-10-08 07:08:00 +02:00
Sankaranarayanan Viswanathan
fe9ceffad5
tools.walker: Improve docs for breakpoint words
2016-10-07 16:05:04 -07:00
Sankaranarayanan Viswanathan
25a9b9a92a
ui.gadget.menus: improve show-menu
2016-10-07 16:04:43 -07:00
John Benediktsson
2628dbc5c9
io.directories.search.windows: merging with io.standard-paths.windows.
2016-10-06 14:57:40 -07:00
John Benediktsson
2063703354
editors.notepad: cleanup using.
2016-10-06 14:56:56 -07:00
John Benediktsson
303367c57a
io.launcher.windows: need to USE: io.launcher.private.
2016-10-06 13:50:04 -07:00
Björn Lindqvist
9eab4b5652
VM: make visit_instruction_operands() skip over uninitialized blocks
...
It will crash otherwise when compacting the code heap.
2016-09-29 06:35:35 +02:00
Björn Lindqvist
9e4a520862
compiler.test: this word is not used
2016-09-29 03:29:14 +02:00
Björn Lindqvist
c42c7aabbc
command-line,tools.deploy.shaker: removes refs to executable which i forgot
2016-09-27 00:31:35 +02:00
Björn Lindqvist
da670c053f
command-line: executable symbol isn't needed, vm-path is better
2016-09-25 23:37:04 +02:00
Alexander Iljin
65a2281188
io.launcher-docs: add notes on the hidden slot usage
2016-09-20 22:51:31 +03:00
Alexander Iljin
c8126ec17e
help-docs: describe $unchecked-example
2016-09-20 22:27:02 +03:00
Alexander Iljin
c822395597
io.launcher: hide processes created by (process-stream)
2016-09-20 06:59:43 -07:00
Alexander Iljin
85710ced87
io.launcher: add the hidden slot to the process tuple
...
Implemented on Windows only.
2016-09-20 06:59:43 -07:00
John Benediktsson
c590ad1201
globs: fix glob for literal path.
2016-09-16 17:41:31 -07:00
Björn Lindqvist
b0495b5fe3
io.backend.unix.tests: missed this none reference
2016-09-16 19:38:02 +02:00
Björn Lindqvist
96610a47a8
none: looks like this vocab isn't needed
...
Because -e="..." already terminates after evaluation so using -run=none
isn't needed.
2016-09-16 15:26:58 +02:00
Björn Lindqvist
6cced7dcbf
bootstrap.stage2: deploy-vocab is never set when running the stage2 process
2016-09-16 14:54:04 +02:00
Björn Lindqvist
8368727f8a
tools.deploy.shaker: there is no no-def-strip property
2016-09-16 14:23:01 +02:00
Björn Lindqvist
74bb9e1bc2
opengl.gl.extensions: simpler definition of gl-calling-convention
2016-09-16 06:42:50 +02:00
Björn Lindqvist
078f576769
opengl.gl.extensions: can use counter here
2016-09-16 06:38:35 +02:00
John Benediktsson
fd801e7946
ui.tools.listener: protect vocab completion from bad vocab names.
2016-09-15 15:00:24 -07:00
Björn Lindqvist
1e96eec669
bootstrap.image: making it so special-objects isn't a global
2016-09-14 15:48:35 +02:00
Björn Lindqvist
409cf9bd3e
compiler.codegen: removing the insn-counts global
...
It created a histogram of instructins for debugging, but it is not so
useful...
2016-09-14 14:54:43 +02:00
Björn Lindqvist
3dbec75864
vocabs.metadata.resources: updating the docs i forgot
2016-09-13 17:11:48 +02:00
Björn Lindqvist
b40e6cbd6d
vocabs.metadata.resources: new error resource-missing, if a resources.txt line doesnt match something
...
So then if files declared in resources.txt are missing, that will
hopefully be caught by the deploy process.
2016-09-13 06:07:14 +02:00
Björn Lindqvist
c23dbf0f8f
vocabs.metadata.resources: refactoring of code for gathering resources
2016-09-13 05:36:50 +02:00
Björn Lindqvist
ab7e077b1d
Docs: fixing docs & comments to work with new stack clearing
2016-09-12 02:11:51 +02:00
Björn Lindqvist
349f99661d
compiler.*: Remove the scrubbing part of the GC maps
...
Instead of generating GC maps which describe which stack locations that
are uninitialized, we emit ##clear instructions for those locations in
front of ##call-gc instructions. This makes the context root scanning
much simpler because the GC can assume that all stack slots are
initialized. It also removes the compiler.cfg.stacks.vacant pass and
seem to reduce the image size slightly because many fewer GC maps needs
to be emitted.
2016-09-11 20:34:44 +02:00
Björn Lindqvist
faaa898975
compiler.codegen.*: removing the init-gc-maps word
2016-09-09 18:57:57 +02:00
Björn Lindqvist
2f71e91dce
compiler.cfg.stacks.*: rename trace-stack-state2 -> trace-stack-state
2016-09-09 08:06:02 +02:00
Björn Lindqvist
9decb6a91e
compiler.cfg.*: better way to store the block height
...
It is stored as a height-state instance on the height slot of the
basic-block. It will make better analysis possible because you see how
much the height increased or decreased in the block.
2016-09-08 04:01:25 +02:00
Björn Lindqvist
670d2c344e
compiler.cfg.stacks.*: new word local-loc>global, replacing untranslate-loc
2016-09-08 04:01:25 +02:00
Björn Lindqvist
6f06b51443
compiler.cfg.stacks.local: simplified code for getting kill locations
2016-09-08 04:01:25 +02:00
Björn Lindqvist
c640e3b8c1
compiler.cfg.*: changing height-state from a 2-el array to a tuple
...
This way, it is a little easier to see what is going on in the local
analysis phase.
2016-09-08 04:01:25 +02:00
Björn Lindqvist
2edda80b5e
compiler.cfg.*: removing the adjust-d word
...
inc-stack can be used in emit-call-block if we check if the block is a
kill block in end-local-analysis
2016-09-05 12:12:01 +02:00
Björn Lindqvist
ee5c28f470
compiler.cfg.stacks.*: removing the adjust word which wasn't useful
2016-09-05 10:37:29 +02:00
Björn Lindqvist
bff165c85c
ui.*: more tests
2016-09-05 07:47:39 +02:00
Björn Lindqvist
20711a0fd3
Adding escaping to CHAR: " -> CHAR: \"
...
It is not necessary to escape the " character, but it doesn't hurt and
is necessary for syntax-highlighting (FUEL) to work correctly.
2016-09-04 06:40:43 +02:00
Björn Lindqvist
a36ac6e435
compiler.tree: these constructor words aren't needed
2016-09-04 06:23:50 +02:00
Björn Lindqvist
367bff6339
compiler.cfg.builder: simplification of the shuffling logic
2016-09-04 06:22:54 +02:00
Björn Lindqvist
af7e4903a2
compiler.cfg.debugger: print -> write to not add stray newlines
2016-09-01 09:59:15 +02:00
Björn Lindqvist
6a7033fccb
bootstrap.image.primitives,tools.profiler.sampling: fixing stack effect
2016-09-01 09:00:01 +02:00
Björn Lindqvist
916bb1678a
stack-checker.*: doc updates
2016-09-01 02:24:54 +02:00
Björn Lindqvist
26d53f9019
compiler.cfg.*: compiler doc updates
2016-09-01 02:16:30 +02:00
Björn Lindqvist
f7542e95a9
compiler.cfg.stacks.finalize: only insert blocks if they aren't empty
...
Previously, a lot of empty blocks were added too.
2016-09-01 01:54:11 +02:00
Björn Lindqvist
c26379ea7e
compiler.cfg.debugger: better code for outputting using the formatting vocab
2016-08-30 04:04:21 +02:00
Björn Lindqvist
b82ea14af0
sets,compiler.cfg.stacks.global: putting the refine word in sets
2016-08-30 02:34:37 +02:00
Björn Lindqvist
6c88577ee7
compiler.cfg.*: replacing the peek/replace/kill-sets with slots
...
So instead of storing the info in variables, it is stored in slots on
the basic-block tuple which is much nicer.
2016-08-29 12:07:47 +02:00
Björn Lindqvist
e8e1811542
compiler.cfg.stacks.height: removing vocab
...
It was so small so better to put the words it contained in the vocabs
where they are used.
2016-08-26 11:06:17 +02:00
Björn Lindqvist
ebdf57d175
db.sqlite: fix the delete constraint for the restrict case
2016-08-25 13:52:44 +02:00
Björn Lindqvist
66083e263c
db.sqlite: fix text of generated triggers
...
An opening brace was missing for some variables
2016-08-25 13:10:42 +02:00
Björn Lindqvist
dc3fa20bf6
ui.render.tests: removing bad test
2016-08-24 16:44:35 +02:00
Björn Lindqvist
36966c1a7d
x11.*: auto string to alien conversion for XOpenDisplay
2016-08-24 05:32:44 +02:00
Björn Lindqvist
a5c0ba98d0
ui.*: new tests
2016-08-23 07:32:17 +02:00
John Benediktsson
dcae1baad5
Revert "ui.gadgets.editors: add editor-constrained-dim function to editor"
...
This reverts commit 16381beddc
.
2016-08-22 07:53:08 -07:00
John Benediktsson
fdcbf0d110
Revert "ui.gadgets.editors: remove extra spaces."
...
This reverts commit 7a4e345f6c
.
2016-08-22 07:53:08 -07:00
Björn Lindqvist
351838fcff
ui.gadgets.*: updated docs and new tests
...
As mentioned on the mailing list, the editor class doesn't have a color
slot.
2016-08-22 14:22:28 +02:00
Björn Lindqvist
cb39da4b31
math.vectors: new word vclamp for clamping vectors
2016-08-22 14:22:26 +02:00
John Benediktsson
7a4e345f6c
ui.gadgets.editors: remove extra spaces.
2016-08-21 21:41:08 -07:00
masweeney
16381beddc
ui.gadgets.editors: add editor-constrained-dim function to editor
...
This function allows the calculation of dimensions with respect
to min/max-row/column values.
2016-08-21 21:40:27 -07:00
Björn Lindqvist
630c4d326f
tools.deploy.windows: fix the using ambiguity with the open-file word
2016-08-22 02:05:32 +02:00
Björn Lindqvist
d12c03f759
webbrowser.windows: using absolute-path to make opening relative paths work
2016-08-22 02:02:22 +02:00
Björn Lindqvist
f17fc68a7e
tools.deploy.windows: using an empty string seem to solve #1691
2016-08-21 06:13:45 +02:00
Björn Lindqvist
1a1e95f669
tools.deploy.*: refactoring of the deploy* words
...
The open-file word from webbrowser can be used to open the
deploy-directory after the deploy is done.
2016-08-21 06:05:42 +02:00
Björn Lindqvist
63524a7425
windows.shell32: formatting the long parameter lists
2016-08-21 02:43:22 +02:00
Björn Lindqvist
89e661f18c
tools.deploy.config: fix + tc for the deploy help error ( #1692 )
2016-08-19 06:53:18 +02:00
Björn Lindqvist
a70deca651
tools.deploy.backend: refactoring of make-staging-image
2016-08-19 06:17:48 +02:00
Björn Lindqvist
64d3c01523
tools.deploy.shaker: another global to strip
2016-08-19 03:42:27 +02:00
Björn Lindqvist
f8e781ee17
ui.backend.x11.keys: symbolic constants can be used
2016-08-17 04:04:06 +02:00
Björn Lindqvist
1c3f345396
x11.*: new vocab x11.X for ffi stuff from the X.h header
...
It's nicer to have one vocab for each X11 header file than the previous
organization.
2016-08-17 03:46:28 +02:00
Björn Lindqvist
acdcc1f2c2
ui.backend.x11.keys: Support for the Windows/Meta key on X11
2016-08-17 03:41:45 +02:00
Björn Lindqvist
de2e01268e
ui.backend.x11.keys: typo on F12
2016-08-17 03:37:57 +02:00
Alexander Iljin
81c6196dc4
bootstrap.image-docs: fix the list of supported architectures
...
The list now matches the image-names constant.
2016-08-16 18:00:10 -07:00
John Benediktsson
bbc1406a88
checksums.crc16: fix help-lint error.
2016-08-16 16:30:15 -07:00
John Benediktsson
c0dce12ada
checksum.internet: add links to both relevant RFC's.
2016-08-16 16:29:37 -07:00
John Benediktsson
ad989bf48b
checksums.crc16: moving to basis from extra.
2016-08-16 16:21:08 -07:00
Alexander Iljin
7a15e928eb
windows.com.syntax: remove return-type-name import
...
This fixes the bootstrap, which was broken in 907d63c16b
.
2016-08-16 16:16:43 -07:00
Björn Lindqvist
d4528c36da
openssl.libssl: fix tc that breaks if sslv2 is disabled
2016-08-16 04:01:08 +02:00
Björn Lindqvist
f0834e7b36
compiler.prettyprint: new vocab for prettyprinting compiler types
...
The require-when ensures that the prettyprint methods are loaded when
both the compiler and prettyprint is loaded.
2016-08-15 15:16:41 +02:00
Björn Lindqvist
b418b434fa
alien.debugger: this vocab isn't needed
...
The summary methods doesn't need dedicated vocabs. Unlike prettyprint methods.
2016-08-15 15:16:41 +02:00
Björn Lindqvist
a36c0cb5ac
compiler.*: moving all words only relevant for testing to compiler.test
2016-08-12 15:13:51 +02:00
Björn Lindqvist
2a19e00ff3
compiler.cfg.test-words: vocab is unused so we can remove it
2016-08-12 14:06:19 +02:00
Björn Lindqvist
435a4e29b9
compiler.cfg.stacks.local: using compiler.cfg.debugger to ensure consistent prettyprint output
2016-08-12 13:55:10 +02:00
Björn Lindqvist
1c94c60541
cpu.*: new generic word enable-cpu-features
...
The word is used during bootstrap to enable available cpu specific
intrinsics.
2016-08-12 11:41:45 +02:00
Björn Lindqvist
402e4313bb
alien.c-types: c-type-string without using prettyprint words
...
Using prettyprint caused deploy-images to grow unnecessarily.
2016-08-11 15:25:46 +02:00
Alexander Iljin
2c30b2f243
ui.gadgets.tables: implement cell-dim and draw-cell for the f class
2016-08-10 19:55:41 -07:00
Alexander Iljin
1428619fb7
colors.constants-docs: update the list of files with named colors
2016-08-10 19:42:20 -07:00
Alexander Iljin
bb948bbbfb
ui.gadgets.tables-docs: add row-value? to the renderer protocol
2016-08-10 19:42:20 -07:00
Alexander Iljin
554445995e
ui.gadgets.tables: fix a typo in a comment
2016-08-10 19:42:20 -07:00
Alexander Iljin
ee621f8a3e
ui.tools-docs: fix description of the context menu behavior
2016-08-10 19:42:20 -07:00
Alexander Iljin
ce525a7481
ui.gadgets.tracks-docs: minor documentation improvements
2016-08-10 19:42:20 -07:00
Alexander Iljin
cc70848c24
ui.commands-docs: improve define-command-map word description
2016-08-10 19:42:20 -07:00
Alexander Iljin
63ba5d458e
ui.gadgets.toolbar-docs: fix <toolbar> word description
2016-08-10 19:42:20 -07:00
Alexander Iljin
bc6d5e6ce6
ui.render-docs: fix description of graft-state
2016-08-10 19:42:20 -07:00
Björn Lindqvist
907d63c16b
alien.*: moving the c-type-string word to the alien.c-types vocab
...
This way it can be used in alien.parser instead of return-type-name.
2016-08-10 21:34:38 +02:00
Björn Lindqvist
13a983783f
alien.parser/prettyprint: moving the predicates
2016-08-10 21:34:38 +02:00
Björn Lindqvist
ddc5ece757
alien.*: frontend varargs support! #1677
...
alien-invoke gets an extra parameter indicating if the call uses varargs
or not. In 99.9% of the cases, the parameter should be f, but is t if
varargs are indicated. E.g
: do-printf ( fmt d -- st ) int f "printf" { c-string double } t alien-invoke ;
2016-08-10 21:34:37 +02:00
Björn Lindqvist
7ab3ebfdd5
compiler.cfg.builder.alien: simpler caller-stack-frame word
2016-08-10 21:34:37 +02:00
Björn Lindqvist
dbd716cc99
alien.parser: method object return-type-name is redundant
2016-08-10 21:34:37 +02:00
Björn Lindqvist
24a02a1c8f
compiler.*: Backend implementation of varargs
...
It is turned off by default. Support for using it coming soon. :)
2016-08-08 12:02:19 +02:00
Björn Lindqvist
ceb0f61c2b
cpu.architecture: new docs
2016-08-08 10:37:50 +02:00
Björn Lindqvist
1b6e6915ac
cpu.*: float-on-stack? word never used
2016-08-08 10:29:17 +02:00
Björn Lindqvist
120807c827
stack-checker.*: infer doesn't need to be generic
2016-08-06 19:04:41 +02:00
Björn Lindqvist
0c7b871de7
stack-checker.alien: new word stack-shape which replaces alien-inputs/outputs
2016-08-06 19:00:23 +02:00
Björn Lindqvist
a79309680c
compiler.*, stack-checker.*: fixes to make the tests work on 32bit too
2016-08-05 16:44:19 +02:00
Björn Lindqvist
1b08ef3593
compiler.cfg.builder.*: fix for tests that broke on windows
2016-08-05 01:01:25 +02:00
Björn Lindqvist
2f12413595
io.sockets.windows: WSASocket-flags not needed
2016-08-04 23:55:56 +02:00
Björn Lindqvist
b43221770c
stack-checker.*: new tests
2016-08-04 20:30:58 +02:00
Björn Lindqvist
e67745aaba
stack-checker.*: removes the in-d and out-d slots from the alien-node-params tuple
...
That data is already on the #alien-node tuple so it doesn't need to be
stored twice.
2016-08-04 20:30:58 +02:00
Björn Lindqvist
8d982780f5
stack-checker.*: change pop-literal stack effect to ( -- obj )
...
The rstate return value is never used so we can remove it
2016-08-04 20:30:58 +02:00
Björn Lindqvist
875357c1bf
stack-checker.*: init-known-values word not needed
2016-08-04 20:30:58 +02:00
Björn Lindqvist
dee9cf0a70
alien: replacing the alien-*-error family of errors with callsite-not-compiled
...
All the errors did the same thing anyway. Also adding a summary method
to it.
2016-08-04 11:51:59 +02:00
Björn Lindqvist
00d15b66a6
compiler.tests.alien: tests for varargs calls
2016-08-02 23:36:02 +02:00
Björn Lindqvist
86274c895e
cpu.x86.*: improved varargs support
...
Now on the x86.64 platform, we set the AL register to contain the nr of
floating point values passed to the function as required by the abi.
2016-08-02 23:14:37 +02:00
Björn Lindqvist
5794ca6834
compiler.cfg.builder.alien.tests: fix for the test case i broke
2016-08-02 01:29:19 +02:00
John Benediktsson
1b54f0a434
checksums: make checksum-state implement dispose.
2016-08-01 15:46:30 -07:00
Björn Lindqvist
af62d33ba9
compiler.cfg.*: lots of new tests
2016-08-01 21:52:06 +02:00
Björn Lindqvist
2e332f73b5
compiler.*: new docs
2016-08-01 21:52:05 +02:00
Björn Lindqvist
e359f3fca4
compiler.cfg.builder.alien.params: refactors the next-reg-param and reg-class-full? words
2016-08-01 21:52:05 +02:00
Björn Lindqvist
8aef16bed2
compiler.cfg.builder.alien.*: merge of with-param-regs and with-param-regs*
2016-08-01 21:52:05 +02:00
Björn Lindqvist
06319ac58d
cpu.*: removes the vector-regs hook
...
It is not needed for now as float-regs are always used for vector-reps.
2016-08-01 21:52:05 +02:00
Björn Lindqvist
9bbe8a8c29
cpu.*: the %loop-entry word is unused
2016-08-01 21:52:05 +02:00
John Benediktsson
b864d49e8c
io.sockets: adding docs and tests for port-protocol.
2016-08-01 10:22:16 -07:00
Björn Lindqvist
97d3c42091
urls: better parsing of the scheme component of urls
...
normalize to lowercase and a few more characters are allowed in the
protocol part.
2016-07-31 02:46:39 +02:00
John Benediktsson
ab66a73744
io.sockets: adding port-protocol to match protocol-port.
2016-07-30 11:12:40 -07:00
Björn Lindqvist
ca2aef8e67
io.monitors.recursive: with-qualified-directory-files works here
2016-07-30 19:03:23 +02:00
Björn Lindqvist
48bd0d2b66
ui.tools.*: fix swapped argument order for set-tool-dim
2016-07-30 19:03:23 +02:00
Björn Lindqvist
ba4bb45d4d
io.directories.*: move of the qualified directory listing words to io.directories
2016-07-30 19:03:22 +02:00
Björn Lindqvist
9ba5419bef
ui.tools.*: new docs
2016-07-30 19:03:22 +02:00
Björn Lindqvist
e73337fe55
ui.tools.common: it's nicer to store the tool dims as word properties
2016-07-30 19:03:22 +02:00
John Benediktsson
83a7592a86
checksums: making "checksum-state" a universal concept.
...
I'm not super happy with the design yet, partly because OpenSSL doesn't
subclass ``checksum-state`` so all ``initialize-checksum-state`` will not
return a ``checksum-state`` instance. That could maybe be changed by making
``checksum-state`` a mixin, or perhaps some other way.
2016-07-30 09:31:10 -07:00
Alexander Iljin
79964e4487
math.functions-docs: fix wording for abs and absq
...
Those functions are not specific to complex numbers.
2016-07-30 09:25:30 -07:00
Alexander Iljin
1aded9abdd
docs: replace $description with $class-description for class words
2016-07-30 09:25:30 -07:00
Alexander Iljin
a337a0349d
calendar.format: add hm>timestamp
2016-07-30 09:25:30 -07:00
Alexander Iljin
ebfce1deea
io.files.info-docs: fix links to file-info-tuple parameters
2016-07-30 09:25:30 -07:00
Alexander Iljin
4a7f0987d8
tools.scaffold-docs: add documentation for the scaffold-work word
2016-07-30 09:25:30 -07:00
Alexander Iljin
2fd5654473
Add EOL at EOF for all authors.txt files for consistency
...
In some instances replaced CR/LF with LF.
2016-07-30 09:25:30 -07:00
Björn Lindqvist
5c11451ab5
editors.emacs: pass alternative-editor param in case emacs isn't running
2016-07-30 00:07:26 +02:00
Björn Lindqvist
b2ed71ec7f
cpu.x86.*: fix %prepare-var-args
...
EAX EAX XOR over RAX shaves off one byte
2016-07-30 00:07:26 +02:00
Alexander Iljin
4f74f5bd69
windows.fonts: call reset-memoized for windows-fonts on startup
2016-07-26 15:13:12 -07:00
Doug Coleman
858c9b3a96
db.sqlite: Fix NULL returns for INTEGER columns in sqlite
...
The api for getting integer/double columns from sqlite3 returns a zero, but the value could still be NULL, so an extra api check for the sqlite type is required.
Fixes #1674 .
2016-07-22 08:20:56 -07:00
John Benediktsson
0e494d31f4
regexp.minimize: a little bit simpler, a little bit faster.
2016-07-18 10:05:38 -07:00
John Benediktsson
a3bc9cf192
help.lint.checks: adding linux and windows ui disposables.
2016-07-16 16:51:17 -07:00
John Benediktsson
c9801980ed
help.lint.checks: factored out to no-ui-disposables word.
2016-07-16 16:28:04 -07:00
John Benediktsson
51cf484361
help.lint: use vocab-exists? and eliminate UI disposables from check.
2016-07-16 16:22:06 -07:00
John Benediktsson
ccbde89968
vocabs.loader: one vocab-exists? word.
2016-07-16 16:21:45 -07:00
John Benediktsson
abbefc96b9
using ``H{ } zip-index-as``.
...
instead of ``<enum> [ swap ] H{ } assoc-map-as``.
2016-07-16 10:53:36 -07:00
John Benediktsson
1ce733ef72
ui: some more dark theme polish.
2016-07-16 10:16:29 -07:00
John Benediktsson
e8a9582400
ui.gadgets.panes: fix #1661 .
...
Using old "split-lines" behavior that was needed by documents vocabulary,
rather than the new "string-lines" behavior that doesn't indicate if the
string is newline terminated.
2016-07-16 07:37:15 -07:00
John Benediktsson
8d077a96ad
using [ ... ] [ drop ] if* instead of dup [ ... ] [ 2drop ] if.
2016-07-11 21:01:03 -07:00
John Benediktsson
9667ae962e
checksums.sha: speedup, still more to do.
2016-07-11 19:51:28 -07:00
John Benediktsson
55cf5472a5
using [ ] [ ... ] ?if instead of [ nip ] [ ... ] if*.
2016-07-11 19:50:37 -07:00
John Benediktsson
de4495875f
checksums.md5: minor thing.
2016-07-11 14:02:33 -07:00
John Benediktsson
f0d47b7329
random: no need to zero bytes in M\ object random-bytes*.
2016-07-11 14:00:53 -07:00
John Benediktsson
800d643c2d
random.mersenne-twister: simplify seed-random.
2016-07-11 14:00:15 -07:00
John Benediktsson
6b12e2e3bc
use ?delete-file instead of [ delete-file ] ignore-errors.
2016-07-10 20:28:46 -07:00
John Benediktsson
b67b1c0287
unicode: add the number of tests...
...
...so we don't accidentally stop testing things that should be tested.
2016-07-10 18:18:41 -07:00
John Benediktsson
dd4fb140b6
unicode.normalize: better tests that don't spam the console.
2016-07-10 16:54:02 -07:00
John Benediktsson
55565ace6d
unicode.collation: better tests that don't spam the console.
2016-07-10 16:36:14 -07:00
John Benediktsson
77bb2c4146
http.server.responses: less dynamic but equal.
2016-07-10 15:44:54 -07:00
John Benediktsson
cab9a3d625
http.server.responses: load trivial responses from a text file.
2016-07-10 15:29:18 -07:00
Doug Coleman
f7e2f3af79
checksums.common: don't need next-level anymore thanks to cleanup.
2016-07-10 11:40:16 -05:00
John Benediktsson
6b9d6c00c0
checksums.common: simplify add-checksum-bytes.
2016-07-09 20:58:14 -07:00
Doug Coleman
217b7f2b0c
checksums: Ugly fix for incremental checksums. Add randomized unit tests to ensure that varying length payloads are the same incrementally or all at once.
2016-07-09 16:59:15 -05:00
Doug Coleman
d6d4e0e903
checksums: Really fix... only add the number of extra bytes in the last unchecksummed block.
2016-07-09 14:17:59 -05:00
Doug Coleman
2c5a2e9600
checksums.common: Checksums was calculating the new length based on the entire array, not on the number of recently added bytes.
...
Reported by Александр Ilin.
2016-07-09 13:53:30 -05:00
Jon Harper
e4f2770456
http.server.static: add sorts on columns
2016-07-03 23:21:19 +02:00
Jon Harper
679abfa5d7
http.server.static, html table listings
2016-07-03 23:21:18 +02:00
John Benediktsson
6e83fd4068
windows.ole32: use sets in tests.
2016-07-01 07:55:50 -07:00
John Benediktsson
8d61ace2b4
checksums: fix test using.
2016-06-30 14:47:18 -07:00
John Benediktsson
2255d6d876
checksums: some cleanup.
...
- define checksum-bytes and checksum-stream in terms of each other
- delete stream-checksum now that it's no longer needed
- move checksum-state stuff into checksums.common
- add a block-checksum that uses the checksum-state stuff
- change checksums.openssl to not use the checksum-state
2016-06-30 12:30:58 -07:00
John Benediktsson
e146309a0c
io.encodings.binary: move to core.
2016-06-30 12:30:58 -07:00
John Benediktsson
b6367aba06
checksums.common: some cleanup, remove unused stuff.
2016-06-30 12:30:58 -07:00
John Benediktsson
d9f17317e3
checksums.openssl: make evp-md-context private.
2016-06-29 14:31:32 -07:00
John Benediktsson
0feed3c35d
checksums.stream: article title must begin with a capital letter.
2016-06-29 14:30:24 -07:00
Alexander Iljin
853d470179
db.errors: update ignore-error parameter list to be more self-documented
2016-06-29 14:17:57 -07:00
Alexander Iljin
14f6f920ea
checksums.openssl: refactor checksum-stream and checksum-bytes
2016-06-29 14:17:57 -07:00
Alexander Iljin
54b80a4223
checksums.openssl: implement common checksum interface
2016-06-29 14:17:57 -07:00
Alexander Iljin
e606ce278d
db.queries: add ensure-index
2016-06-29 14:17:57 -07:00
Alexander Iljin
9c9764cc2d
db.(sqlite.)errors: add sql-index-exists error
2016-06-29 14:17:57 -07:00
Alexander Iljin
ca19a01c1b
db.sqlite.errors: simplify implementation
2016-06-29 14:17:57 -07:00
Alexander Iljin
2da68f908b
windows.ole32: add create-guid
2016-06-29 14:17:57 -07:00
Alexander Iljin
87e4015976
checksums.stream-docs: initial commit
2016-06-29 14:17:57 -07:00
Alexander Iljin
6834f93ad1
tools.scaffold: fix scaffold-docs generating $var-decsription for classes
2016-06-29 14:17:57 -07:00
Alexander Iljin
ef29e0947f
io.directories.windows: remove synchronous copy-file implementation
2016-06-29 14:17:57 -07:00
John Benediktsson
880d43d638
cocoa.views: more constants.
2016-06-29 09:08:20 -07:00
Doug Coleman
ba7f71abc8
cocoa.views: add some constants for opengl.
2016-06-28 22:47:11 -07:00
John Benediktsson
bf71988330
system-info.macosx: macOS Sierra.
2016-06-22 16:20:11 -07:00
Alexander Iljin
2db2f0eaa0
*-docs: remove extra spaces from the end of various topics
2016-06-22 11:27:26 -07:00
Alexander Iljin
7b24b067c2
help.tips: use $code snippet in a TIP: for user to run
2016-06-22 11:27:26 -07:00
Alexander Iljin
b43c7b4fd7
io.files.info.windows: suppress ERROR_FILE_NOT_FOUND in volume>paths
2016-06-22 11:27:26 -07:00
Alexander Iljin
cada98f7d8
windows.shell32: remove extra declaration of ERROR_FILE_NOT_FOUND
...
We already have one in windows.errors.
2016-06-22 11:27:26 -07:00
Alexander Iljin
b35294eade
io.sockets.secure-docs: update and add some documentation
2016-06-22 11:27:26 -07:00
Alexander Iljin
c855e5b4f8
delegate-docs: fix a copy-paste error
2016-06-22 11:27:26 -07:00
Alexander Iljin
18eb321ee5
delegate-docs: add missing spaces
2016-06-22 11:27:26 -07:00
Alexander Iljin
e1928eac8b
concurrency.mailboxes-docs: add some missing commas
2016-06-22 11:27:26 -07:00
Alexander Iljin
6f8e6c5b31
concurrency.messaging-docs: add a missing parenthesis
2016-06-22 11:27:26 -07:00
Alexander Iljin
d243e00f54
io.files.windows: use open-file to implement maybe-create-file
...
This fixes error throwing in case of CreateFile failure, and calls
add-completion for the file handle on success.
2016-06-22 11:27:26 -07:00
Alexander Iljin
f530692362
io.files.windows: replace open-existing with open-r/w
...
This fixes error throwing in case of CreateFile failure, and calls
add-completion for the file handle on success.
2016-06-22 11:27:26 -07:00
Alexander Iljin
ae1c7b7a54
io.files.windows: use CreateFileW in open-file for consistency
2016-06-22 11:27:26 -07:00
Alexander Iljin
035567e4ca
alien.data: fix a typo
2016-06-22 11:27:26 -07:00
Alexander Iljin
b0c6f97bf5
tools.memory: move invariant code to cleanup-always quot of the cleanup
2016-06-22 11:27:26 -07:00
Jon Harper
e9454fc310
io.files.info docs, sync link-info and file-info docs
2016-06-22 11:22:43 -07:00
Björn Lindqvist
0a34002988
ui.gestures: fix the cocoa ui backend which i broke by moving the modifier word
2016-06-21 23:37:20 +02:00
Björn Lindqvist
75a3e191b2
compiler.*: a bunch of random doc additions
2016-06-21 23:15:20 +02:00
Björn Lindqvist
4b919b19ce
ui.backend.*: new vocab for keysym handling which is the same on x11 and gtk
2016-06-20 13:13:20 +02:00
Björn Lindqvist
d752a1947c
x11.keysymdef, ui.backend.x11: vocab for all of x11's keycodes
...
using them in u1.backend.x11 instead of hardcoding numbers
2016-06-20 02:18:18 +02:00
Björn Lindqvist
e48e4d2484
x11.*: cosmetic fixes, breaking long lines, indenting struct slots..
2016-06-20 02:02:23 +02:00
Björn Lindqvist
f0836dd69d
ui.backend.gtk.io: refactoring which removes ui.backend.gtk.io.unix
...
ui.backend.gtk is unix-specific so there is no need to have different
implementations for different os:es.
2016-06-19 01:33:59 +02:00
Björn Lindqvist
fbfc5fdae3
ui.backend.gtk: add handling of insert key ( #1656 )
2016-06-18 20:39:57 +02:00
Björn Lindqvist
ee80cb0752
ui.backend.gtk: use a global variable to store the icon data
...
It's easier than the previous code that replaced the get-icon-data word
during deployment. Also GTK support for icon.ico icons.
2016-06-17 16:39:11 +02:00
Björn Lindqvist
2c8b2d9bf5
ui.backend.gtk: hi-res icon awesomeness
2016-06-17 14:29:45 +02:00
Björn Lindqvist
6a76bf9084
io.directories.unix: normalize-path doesn't need to be called
...
It is already called by the words copy-file delegates to.
2016-06-15 01:25:53 +02:00
Björn Lindqvist
ea4333e490
io.directories: new utility word make-parent-directories, for making sure directories exists
2016-06-15 00:33:44 +02:00
Björn Lindqvist
6984bae7ca
VM: rename of JIT_PUSH_IMMEDIATE to JIT_PUSH_LITERAL
...
The code template pushes both immediates and references so the name was
wrong.
2016-06-07 14:54:23 +02:00
Doug Coleman
c7041fe96e
io.sockets.secure.windows: Windows sockets are a bit confused. Make a word
...
to get the handle out of two different paths. Probably needs more
refactoring but this makes it work.
2016-06-02 11:07:19 -07:00
Doug Coleman
05083ba503
io.sockets.secure.windows: No need to call file>> because we have a
...
win32-socket on the stack already.
2016-06-02 10:56:50 -07:00
Doug Coleman
b63aaff1c5
io.sockets.secure: (server) needs a method on secure for Windows too. Move the method to a vocab that both platforms load.
2016-06-02 10:25:11 -07:00
Doug Coleman
0f217b9cf0
http.server.static: sort files for static html directory listing. seems to be sorted on mac already, but not on linux. consider allowing a sort order parameter in the future.
2016-06-01 11:59:57 -07:00