Commit Graph

13369 Commits (2c30b2f243d7b91c6671f2766240b600fe4b1cb7)

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