Commit Graph

13348 Commits (2f1241359589c52dea8d69c3ab0f63fdd738613b)

Author SHA1 Message Date
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