Doug Coleman
7c7bb93c55
factor: Rename GENERIC# to GENERIC#:.
...
Fixes #1670 .
2017-06-01 13:58:58 -05: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
7d4964c136
alien.strings: remove (symbol>string) helper word.
2015-08-15 16:13:46 -07:00
John Benediktsson
ceb75057da
change ERROR: words from throw-foo back to foo.
2015-08-13 16:13:05 -07:00
Doug Coleman
02008979d9
factor: Change ERROR: foo ; to define ``throw-foo`` instead of having ``foo`` throw implicitly. The old ``foo`` still throws implicitly because this is a big change to get right in one patch, but it should be removed soon.
2015-08-12 15:26:18 -05:00
Doug Coleman
43d6f1d3e2
factor: Retrying on the unit tests. Also normalize some syntax with FUNCTION:.
2015-07-02 17:28:17 -07:00
Doug Coleman
59f3b1ea57
Revert "factor: rename [ ] [ ] unit-test -> { } [ ] unit-test using a refactoring tool!"
...
Needs a bit more work.
This reverts commit 7e54cc2824
.
2015-07-02 13:47:06 -07:00
Doug Coleman
7e54cc2824
factor: rename [ ] [ ] unit-test -> { } [ ] unit-test using a refactoring tool!
2015-07-02 11:36:08 -07:00
John Benediktsson
c0c54d8919
alien.strings: simpler fast-string? check.
2015-04-20 10:38:36 -07: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
Doug Coleman
83241491c3
core: On Windows we depend on having io.strreams.byte-array for utf16
...
support. Include this in the boot image instead of alien.strings.
2014-11-01 11:34:52 -07:00
Doug Coleman
e6dac7f0e3
alien.strings: Dependency on io.streams.byte-array. Clean this up somehow?
2014-10-31 19:15:29 -07:00
Doug Coleman
964cbf894b
core/basis: Trim or reorganize a few using lists. Playing around with auto-use restarts and private words.
2014-10-27 13:39:30 -07:00
Doug Coleman
26a8cbbab4
alien.strings: Actually return a string instead of an array of strings in
...
M\ array symbol>string. Fixes #1098 .
2014-07-08 13:51:02 -05:00
John Benediktsson
ff46966cfb
alien.strings: faster string>alien for common cases.
2014-05-20 11:53:36 -07:00
John Benediktsson
5487480126
core: cleanup USING lists.
2013-03-05 10:34:47 -08:00
Joe Groff
186bf65a00
constants for special object hardcoded literals
2011-11-02 12:54:50 -07:00
Joe Groff
1386212d23
vm: dispatch signal handlers through subprimitive
...
We also need to save C ABI volatile registers before calling the signal handler in order to be able to reliably resume. Add signal-handler and leaf-signal-handler subprimitives to preserve volatile registers before invoking the signal handler C function.
2011-10-27 21:18:18 -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
Joe Groff
a5788c4205
alien.strings: handle symbol arrays in symbol>string
2011-09-13 15:10:48 -07:00
Doug Coleman
7e6d031cc8
Fix string docs.
2011-09-13 15:45:56 -05:00
Slava Pestov
7c3827190b
Tease out symbol name and library in undefined_symbol() handler, for friendlier errors when calling an unresolved C function name. Fixes #93
2011-09-12 00:56:24 -07: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
6367c8ec85
native-thread-test: clean up
2010-02-21 17:48:05 +13: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
cc194416f9
Merge branch 'master' into startup
...
Conflicts:
core/bootstrap/primitives.factor
vm/run.hpp
2009-11-15 02:52:50 -06:00
Doug Coleman
b71d86a1dc
update more 8bit encoding usages
2009-11-12 18:36:47 -06:00
Doug Coleman
bd13e018dd
memq? -> member-eq?, sorted-memq? -> sorted-member-eq?
2009-10-28 15:02:00 -05:00
Doug Coleman
6b6e56a179
change add-init-hook to add-startup-hook, new add-shutdown-hook word
2009-10-19 22:17:02 -04:00
Joe Groff
076ab42dc3
move some allocation words that don't really have much to do with c types out of alien.c-types into a new alien.data vocab
2009-09-17 22:36:05 -05:00
Doug Coleman
0be2e17246
put a method on M\ tuple string>alien that calls underlying>>
2009-08-29 19:55:27 -05:00
Joe Groff
75b3bc655a
allow alien.strings:alien>string to take an object with underlying>> slot
2009-08-26 09:13:30 -05:00
Slava Pestov
764ee52cde
alien.strings: fix symbol>string for Windows
2009-05-05 14:41:38 -05:00
Slava Pestov
9f907c287e
alien.strings: fix native-string>alien on Windows
2009-05-05 11:40:28 -05:00
Slava Pestov
0ecb771aa4
alien.strings cleanup
2009-05-05 09:12:39 -05:00
Slava Pestov
fb5b48c71a
Fix some test failures
2009-05-04 09:44:26 -05:00
Slava Pestov
a63ad6a7a5
Remove cruddy string encoding/decoding code from VM
2009-05-02 13:45:38 -05:00
Slava Pestov
d66f887736
Create basis vocab root
2008-07-28 22:03:13 -05:00
Slava Pestov
5d9c1ea0a0
Documentation updates, rename unfold to produce
2008-07-10 01:00:27 -05:00
Slava Pestov
b36e06d0d6
Builtinn types now use new slot accessors; tuple slot type declaration work in progress
2008-06-28 02:36:20 -05:00
Daniel Ehrenberg
8b6e234709
Encodings use singletons; descriptive error updates
2008-05-10 20:17:24 -05:00
Slava Pestov
df41c8b68f
Fix documentation
2008-04-23 02:46:35 -05:00
Slava Pestov
cad4a4ea77
Support old behavior
2008-04-20 22:20:13 -05:00
Slava Pestov
40acac17c2
Fix f ... alien>string
2008-04-20 19:29:58 -05:00
Slava Pestov
55f6636bc0
FFI string encoding conversion
2008-04-20 05:15:46 -05:00