Jack Lucas
3154242a3a
Re-add Freebsd Support
2019-02-08 19:17:30 -05:00
Doug Coleman
2b4d2a4a13
system: Make the git version code more robust.
...
Really confusing sequence errors if Factor vm isn't compiled with proper git label.
e.g. good: -DFACTOR_GIT_LABEL="heads/master-102fe6154e9deec5dff38ee70519f7bbe506f6ce"
bad: -DFACTOR_GIT_LABEL=""
before this patch gave an integer comparison error comparing ``f 16 <``
2018-07-22 11:45:50 -05:00
Doug Coleman
e50be2a1ca
system: flush so we get the same behavior on windows and unix.
...
Related to #1918 .
2018-03-15 17:26:51 -05:00
Björn Lindqvist
1ca8276df4
basis/,core/,extra/: many new tags
2017-07-06 23:04:18 +02:00
John Benediktsson
e01c57628e
Revert "alien.strings: change how string>{cpu,os} works."
...
This reverts commit 84fe3deff8
.
Probably doesn't work with deployed images that have stripped
word names, where name>> would return f.
2016-11-02 07:34:38 -07:00
John Benediktsson
84fe3deff8
alien.strings: change how string>{cpu,os} works.
2016-11-01 20:21:12 -07:00
John Benediktsson
e2d2107396
system: adding new primitives.
2016-11-01 17:16:11 -07:00
Alexander Iljin
35a1ae61c3
system-docs: add article on Ctrl-Break handler
2016-11-01 16:53:01 -07:00
Björn Lindqvist
67f38302d8
system: looks like the name>> accessor can be used here
...
So then the cpu>string and os>string words aren't needed.
2016-08-11 17:32:02 +02:00
John Benediktsson
c350bb1e9c
system: can use value-at, don't need to split.
2016-04-14 16:59:08 -07:00
Doug Coleman
c133c16377
core: Trim using lists from -tests and clean up a few irregularities.
2016-03-30 18:43:41 -07:00
Björn Lindqvist
41d9bda3ce
system: these words can't be foldable
...
Because they will return new values if you update the VM.
2016-03-16 16:18:23 +01:00
Doug Coleman
aa8a5ac153
system: Don't assume the git version is set.
2015-08-05 09:34:31 -07:00
Doug Coleman
e9dbb7cf22
system: Make a shorter banner on startup.
2015-08-04 16:57:19 -07:00
Doug Coleman
fbbd09f3c5
factor: system:image -> image-path, like vm-path. image is all over the place png, jpg etc
2015-07-20 00:17:09 -07:00
Doug Coleman
618330b31e
factor: rename system:vm -> vm-path to differentiate it from vm:vm (which is a STRUCT:)
2015-07-20 00:10:29 -07:00
Doug Coleman
44e8e7b344
primitives: Change PRIMITIVE: to check that the word is in that vocabulary and the stack effect is correct.
...
Use PRIMITIVE: in core/ and basis/
2015-06-25 18:02:03 -07:00
John Benediktsson
380c0099e8
system: better key-for-value.
2014-11-30 08:28:18 -08:00
John Benediktsson
64b88158bd
system: separate version-info to two lines.
2014-11-13 09:58:20 -08:00
Doug Coleman
0f59f314f5
system: Move cpu string to Factor area so it's more obvious that it applies to Factor and not to the C++ compiler.
2014-11-12 03:33:19 -08:00
Doug Coleman
9a3a533712
system: Add cell-bits (32/64 bit) and build number to version-info string.
2014-11-11 16:44:00 -08:00
Doug Coleman
7a9843ec5c
system: Remove bogus word added during merge commit.
2014-11-11 08:50:32 -08:00
Björn Lindqvist
f32131698a
system: dont let any errors interfere with the shutdown process and just
...
ignore them
Conflicts:
core/system/system.factor
2014-11-10 23:30:03 -08:00
Björn Lindqvist
71f789fa20
VM: using make vocab instead of consecutive appends
2014-11-10 23:02:30 -08:00
Björn Lindqvist
990af22dc6
VM: renamed version and git-label to vm-version and vm-git-label.
2014-11-10 23:02:13 -08:00
Björn Lindqvist
090f4fddd5
VM: Three new special objects added to keep track of the builds version number, git label and compilation time respectively. The info is exposed in the system:version-info word and also shown in the banner during startup.
...
Conflicts:
Nmakefile
basis/ui/tools/listener/listener.factor
core/alien/strings/strings.factor
2014-11-10 23:01:52 -08:00
John Benediktsson
57f9d78892
improve help by linking to types directly.
2014-05-23 20:20:15 -07:00
Doug Coleman
3ba787b277
core/basis: trim down using lists
2011-11-30 23:15:42 -08:00
Joe Groff
8cf18d1a82
remove BSD,solaris,etc. misc platform support code
2011-11-02 17:13:51 -07:00
Joe Groff
186bf65a00
constants for special object hardcoded literals
2011-11-02 12:54:50 -07:00
John Benediktsson
5a943b32c4
Remove stack effects from HELP: declarations.
2011-10-20 19:36:11 -07:00
John Benediktsson
e648ce70bb
system: fix stack effect for exit in docs.
2011-10-18 20:03:19 -07:00
Doug Coleman
bf2a96e9e0
Remove Windows CE from core/ basis/ and build-support/
...
Rename the winnt singleton to windows in core/ basis/ extra/
Rename boot images winnt -> windows
Fixes #84 .
2011-09-18 23:19:06 -05:00
Erik Charlebois
64252dbdbc
32 and 64 bit Linux PPC support
2011-05-23 23:36:14 -04:00
Doug Coleman
0edadff45f
remove system-micros word from factor src tree
2010-06-22 01:49:11 -05:00
Slava Pestov
fb2ecab614
threads: delete old contexts immediately instead of handing them off to a 'context recycler' thread
2010-03-30 21:47:48 -04:00
Joe Groff
ac979619e6
record the C++ compiler version in the VM, and expose it with a vm-compiler word
2010-03-01 13:32:07 -08:00
Slava Pestov
1c10196c43
Rename kernel.private:getenv/setenv to special-object/set-special-object to mirror recent renaming on the VM side
2010-01-13 18:08:18 +13:00
Doug Coleman
f4450653a9
remove system-millis and update vocabs to use system-micros or nano-count
2009-11-18 20:56:09 -06:00
Doug Coleman
41b931a615
fix system docs
2009-11-18 18:34:16 -06:00
Doug Coleman
11c9c6004f
document nano-count, move monotonic-clock to hell
2009-11-18 16:33:10 -06:00
Doug Coleman
6f7ec206a1
rename millis to system-millis, micros to system-micros, add nano-count
2009-11-18 15:58:48 -06:00
Doug Coleman
110b310c54
the exit primitive is now called (exit) and exit calls shutdown hooks.
...
add a stop_factor function to the vm to allow calling the shutdown quotation
2009-10-20 00:28:18 -04:00
Keith Lazuka
405e5d015b
docs: change $subsection to $subsections
2009-10-02 12:15:48 -04:00
Slava Pestov
a63ad6a7a5
Remove cruddy string encoding/decoding code from VM
2009-05-02 13:45:38 -05:00
Joe Groff
bb0e2a49ba
prélude to a haiku
2009-02-28 15:01:28 -06:00
Slava Pestov
6b25e99470
Add summary for heaps more vocabs
2009-02-16 21:05:13 -06:00
Slava Pestov
fb511f4fe8
Fix help lint
2008-11-24 00:51:46 -06:00
Slava Pestov
8819f23312
Replace millis primitive with micros primitive
...
Add millis as a library word
sleep now takes either a duration or a microsecond count; code using durations doens't need to be updated, code using millisecond counts updated to use durations for the most part
2008-11-19 01:50:05 -06:00
Doug Coleman
27c36974a7
remove primitives from core, update usages
2008-10-18 21:42:01 -05:00