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