Slava Pestov
857d0ba1fd
core: bootstrap fixes
2009-11-02 20:21:10 -06:00
Slava Pestov
e4ad642134
vm: 4 bit tags, new representation of alien objects makes unbox-any-c-ptr more efficient (work in progress)
2009-11-02 04:25:54 -06:00
Doug Coleman
bd13e018dd
memq? -> member-eq?, sorted-memq? -> sorted-member-eq?
2009-10-28 15:02:00 -05:00
Joe Groff
c3b8847936
update a bunch of alien-callbacks and alien-indirects to use c-type words
2009-10-21 21:10:11 -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
Slava Pestov
107c96f642
vm: code heap compaction at runtime using compact-gc primitive
2009-10-16 11:39:35 -05:00
Slava Pestov
b88fde04d9
alien.syntax: add C-GLOBAL: for defining words to access global variables, and remove the gimpy one from core-text.utilities
2009-10-09 04:46:29 -05:00
Keith Lazuka
405e5d015b
docs: change $subsection to $subsections
2009-10-02 12:15:48 -04:00
Joe Groff
44f393771b
change CALLBACK: to use the ABI of the current LIBRARY: and get rid of STDCALL-CALLBACK:
2009-09-28 19:27:28 -05:00
Slava Pestov
4abfe06b51
Fixing various test failures caused by C type parser change, and clarify C type docs some more
2009-09-28 08:48:39 -05:00
Slava Pestov
77fa16c76f
alien: improve documentation
2009-09-26 21:28:11 -05:00
Joe Groff
55988828bf
update alien docs to talk about C types as words
2009-09-21 13:20:01 -05: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
Slava Pestov
a2b864e4f5
ALIEN: now reads a hexadecimal integer instead of a decimal one, since in general hex is more useful for addresses
2009-09-12 21:17:53 -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
030b1b816c
Add inline declarations for various assorted methods
2009-08-17 22:32:21 -05:00
Slava Pestov
baff251d1e
alien.libraries: add remove-library word, fix dlclose and dll-valid? VM primitives
2009-07-09 06:51:31 -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
4b52f7d6f2
Remove bogus alien.dlls directory
2009-05-04 06:44:55 -05:00
Slava Pestov
b2c3183b21
Split up tools.vocabs. Note that load-everything is now named load-all
2009-05-04 06:44:17 -05:00
Slava Pestov
a63ad6a7a5
Remove cruddy string encoding/decoding code from VM
2009-05-02 13:45:38 -05:00
Slava Pestov
b5b80cd0e9
Documentation updates
2009-04-14 20:36:10 -05:00
Slava Pestov
75dd35179b
Fix alien unit tests
2009-04-05 17:34:02 -05:00
Slava Pestov
1040426565
Fix alien hashcode for expired aliens
2009-04-04 20:21:41 -05:00
Slava Pestov
b4a74f55a3
Add hashcode method for simple-alien; improves performance of malloc and free
2009-04-04 19:57:48 -05:00
Doug Coleman
b771758ff7
fix load errors, help lint
2009-03-26 10:45:52 -05:00
Doug Coleman
8b7fcce399
update code for usages of add-library
2009-03-25 23:00:19 -05:00
Doug Coleman
4b275c2861
make add-library normalize-path, use libfactor-ffi-tests for testing ffi
2009-03-25 13:05:34 -05:00
Slava Pestov
be40bd33ee
New initialize-alien word
2009-02-20 20:51:13 -06:00
Slava Pestov
07caee3405
Update some existing code to use initialize
2009-02-10 16:16:12 -06:00
Slava Pestov
7ffbbb13e0
Specialized arrays can now be passed to alien functions directly, without calling underlying>> first
2009-02-06 04:36:17 -06:00
Slava Pestov
a91dee7810
Fix for native I/O backends that create callbacks in deployed apps; this affected tools.deploy.test[35] ever since run-loop multiplexer landed on OS X
2008-12-12 19:48:17 -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
Slava Pestov
f1286a353f
Fix typo
2008-10-10 13:43:58 -05:00
Slava Pestov
c19f2257f4
Fix permission bits
2008-10-02 08:34:49 -05:00
Slava Pestov
32c2543571
Documentation fixes
2008-09-06 05:12:28 -05:00
Doug Coleman
be2cebd94f
more alien docs
2008-09-04 19:09:46 -05:00
Doug Coleman
57d2e5d8a8
remove accessor
2008-08-29 15:49:23 -05:00
Slava Pestov
d66f887736
Create basis vocab root
2008-07-28 22:03:13 -05:00
Slava Pestov
9df1363d5b
Convert multiplication by power of 2 into a shift
2008-07-13 15:51:20 -05:00
Slava Pestov
a700ec7041
More efficient float arrayss; 15% improvement on spectral-norm
2008-07-12 21:15:11 -05:00
Slava Pestov
7ca3c2a878
Various minor compiler tweaks
2008-07-12 01:08:30 -05:00
Slava Pestov
5d9c1ea0a0
Documentation updates, rename unfold to produce
2008-07-10 01:00:27 -05:00
Slava Pestov
ed788fa49c
Fix stack effect
2008-07-08 14:23:27 -05:00
Slava Pestov
776b245c39
Cleaning up some usages of -roll
2008-07-08 13:22:57 -05:00
Slava Pestov
86f476a23d
Fix bug in <displaced-alien> found by Joe
2008-07-04 22:36:55 -05:00
Slava Pestov
2831cb8d9b
Tweaking docs, change stage2 to load less stuff
2008-07-03 01:39:45 -05:00
Slava Pestov
aeb2b9d701
Fixing unit test failures
2008-07-02 15:57:38 -05:00
Slava Pestov
f7eecc7893
Move bit-arrays and float-arrays to extra
2008-07-02 02:03:30 -05:00
Slava Pestov
537269447c
Move mirrors out of the boot image
2008-07-02 00:20:01 -05:00
Slava Pestov
f8fd065fc5
Initial value for alien slots is a BAD-ALIEN
2008-07-01 16:33:45 -05:00
Slava Pestov
3a9b1bae58
spread ftw
2008-06-30 19:35:33 -05:00
Slava Pestov
0be00f03e6
Mirrors now check sot t slot types, support type coercion for setters, instance? now infers, better transform for 'new', more efficient 'case' where keys are all wrappers
2008-06-29 02:12:44 -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
Slava Pestov
6e0d35e615
Split up huge parser vocabulary
2008-06-25 03:25:08 -05:00
Slava Pestov
c95851e34f
Bug fixes and cleanups
2008-06-11 02:58:38 -05:00
Slava Pestov
29fa4a8a54
assoc-find is no longer generic
2008-06-09 05:22:21 -05:00
Slava Pestov
2793d9b195
Fix unit tests
2008-06-08 16:47:20 -05:00
Slava Pestov
9dd5c9919f
Mandatory stack effect annotations
2008-06-08 15:32:55 -05:00
Slava Pestov
620103351e
Tweak stuff to reduce deploy image size
2008-05-31 00:07:30 -05:00
Slava Pestov
8036c4af79
Fix typo
2008-05-30 19:02:19 -05:00
Slava Pestov
2cbfa9c2d7
Move destructors to core
2008-05-14 23:23:12 -05:00
Slava Pestov
1260c1ba51
Working on SSL and refactoring related code to make things easier to plug in
2008-05-12 18:53:22 -05:00
Daniel Ehrenberg
8b6e234709
Encodings use singletons; descriptive error updates
2008-05-10 20:17:24 -05:00
Slava Pestov
75fb15ee4c
Split stdio up into input-stream/output-stream, pipes work in progress
2008-05-05 02:19:25 -05:00
Slava Pestov
5901107f66
Bootstrap fix
2008-04-29 01:49:06 -05:00
Doug Coleman
15402ed1b4
core changes:
...
index* -> index-from
last-index* -> last-index-from
1 tail -> rest
1 tail-slice -> rest-slice
subset -> filter
prepose
find* -> find-from
find-last* -> find-last-from
before, after generic, < for integers
make between? work for timestamps
2008-04-25 23:12:44 -05:00
Doug Coleman
ca1484b94c
fix ffi test
2008-04-23 17:07:37 -05:00
Doug Coleman
8a0909d849
fix ffi test int ffi test 36 point 5
2008-04-10 20:09:36 -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
Slava Pestov
d7763d6b71
Add another unit test
2008-04-19 02:11:30 -05:00
Slava Pestov
c00f89c38b
Fix problem with callbacks
2008-04-17 04:14:42 -05:00
Slava Pestov
70bec926d0
New convention for parametrized constructors: new-* instead of construct-*
2008-04-14 05:07:31 -05:00
Doug Coleman
30b75a797a
construct-boa -> boa
...
construct-empty -> new
2008-04-13 15:06:09 -05:00
Doug Coleman
bced4022e5
updating usages of cond/case
2008-04-11 12:53:22 -05:00
Slava Pestov
b2cb88f497
GC: allocate large objects directly into tenured space
2008-04-05 04:01:46 -05:00
Slava Pestov
82fc8f18db
Converting core to use inheritance
2008-04-04 03:46:30 -05:00
Slava Pestov
ef4046cda9
Converting code to use inheritance
2008-04-04 00:33:06 -05:00
Doug Coleman
a9cd31704d
remove win32? and win64? words
2008-04-02 18:53:24 -05:00
Doug Coleman
393f77715c
update everything to use os singletons
2008-04-02 18:25:33 -05:00
Eduardo Cavazos
aa40350aa7
replace add* and add with prefix and suffix
2008-03-31 18:18:05 -06:00
Slava Pestov
c22af5c7a6
Rename 2apply to bi@
2008-03-29 20:36:58 -05:00
Slava Pestov
adb1dd14d0
Rename tuples vocab to classes.tuple for consistency
2008-03-29 03:34:48 -05:00
Slava Pestov
690621ffb6
Change PREDICATE: syntax
2008-03-26 18:23:19 -05:00
Slava Pestov
3164c857c7
Generic slots for the win
2008-03-20 20:13:13 -05:00
Slava Pestov
4b32fa4d05
Fixing help-lint typos
2008-03-20 20:11:45 -05:00
Doug Coleman
7513cd774b
Merge branch 'master' of git://factorcode.org/git/factor
2008-03-20 16:01:47 -05:00
Slava Pestov
02727576c2
New slots are now in the core
2008-03-20 15:30:59 -05:00
Doug Coleman
936bd26a3a
update core/ to use ERROR:
2008-03-20 15:00:49 -05:00
Slava Pestov
3d43c0350e
Fix USING: in alien.factor
2008-03-19 13:26:39 -05:00
Slava Pestov
8f521b07f2
Merge branch 'master' of git://pgdn.org/factor
2008-03-19 13:20:36 -05:00
Slava Pestov
de4b699d98
Documentation update
2008-03-19 02:43:23 -05:00
Joe Groff
11d28109cf
Merge branch 'master' of git://factorcode.org/git/factor
2008-03-18 23:02:44 -07:00
Slava Pestov
290883f0e4
Fix DLL"
2008-03-18 18:02:24 -05:00
Slava Pestov
f31c521c47
Assorted bug fixes
2008-03-18 17:46:25 -05:00
Slava Pestov
254d8455a3
load-library returns f if library not defined
2008-03-16 03:43:24 -05:00
Slava Pestov
8b956d1efa
Fixing deployment
2008-03-16 02:21:51 -05:00
Joe Groff
07baa20969
Merge branch 'master' of git://factorcode.org/git/factor
...
Conflicts:
extra/combinators/lib/lib.factor
2008-03-12 20:52:00 -07:00
Slava Pestov
0e760c5923
Fix test failurs
2008-03-12 02:48:44 -05:00
Slava Pestov
120c9cacb7
Fixing 64-bit image generation
2008-03-12 01:54:29 -05:00
Slava Pestov
32526206f1
Help fixes
2008-03-11 19:51:58 -05:00
Slava Pestov
2fa5f34a71
Byte-array-ification
2008-03-07 21:26:35 -06:00
Daniel Ehrenberg
c5eec0ba10
Merge branch 'master' of git://factorcode.org/git/factor into unicode
...
Conflicts:
core/io/files/files-tests.factor
core/io/files/files.factor
core/io/io-tests.factor
core/io/streams/c/c-tests.factor
core/io/streams/lines/lines-tests.factor
core/source-files/source-files.factor
extra/benchmark/sockets/sockets.factor
extra/http/server/templating/templating-tests.factor
extra/http/server/templating/templating.factor
extra/io/launcher/launcher.factor
extra/io/mmap/mmap-tests.factor
extra/io/unix/launcher/launcher.factor
extra/io/unix/unix-tests.factor
2008-03-04 17:51:40 -06:00
Slava Pestov
e98cd1fd59
New convention for unit tests
2008-03-01 17:00:45 -05:00
Daniel Ehrenberg
efb3367c45
Merge branch 'master' of git://factorcode.org/git/factor into unicode
...
Conflicts:
core/io/files/files-docs.factor
core/io/files/files-tests.factor
core/io/files/files.factor
core/listener/listener.factor
extra/benchmark/sum-file/sum-file.factor
extra/bootstrap/image/upload/upload.factor
extra/http/server/templating/templating.factor
extra/logging/server/server.factor
extra/smtp/smtp.factor
extra/tools/deploy/macosx/macosx.factor
extra/tools/disassembler/disassembler.factor
extra/webapps/file/file.factor
2008-02-29 01:20:44 -06:00
Slava Pestov
ed4506c0b0
Errors remember the original thread
2008-02-27 19:23:22 -06:00
Daniel Ehrenberg
4cfdc3de62
Merge branch 'master' of git://factorcode.org/git/factor into unicode
...
Conflicts:
extra/webapps/file/file.factor
extra/webapps/source/source.factor
2008-02-25 15:12:26 -06:00
Slava Pestov
d2c5f28b65
Do tuple reshaping at the end of a compilation unit, preserving a consistent view of the heap to code running during compilation
2008-02-24 02:19:38 -06:00
Daniel Ehrenberg
8249ce2116
OK, now everything should load
2008-02-21 18:05:04 -06:00
Daniel Ehrenberg
8437c0ec3c
Merge branch 'slava/master' into unicode
...
Conflicts:
core/io/files/files-tests.factor
core/io/files/files.factor
extra/benchmark/reverse-complement/reverse-complement.factor
extra/cpu/8080/emulator/emulator.factor
extra/io/unix/unix-tests.factor
extra/logging/server/server.factor
extra/raptor/raptor.factor
extra/tar/tar.factor
extra/tools/disassembler/disassembler.factor
2008-02-21 15:45:17 -06:00
Joe Groff
3cbc1fb584
Merge branch 'master' of git://factorcode.org/git/factor
2008-02-20 20:28:00 -08:00
Joe Groff
7e964b8b7e
Merge branch 'master' of git://factorcode.org/git/factor
2008-02-18 22:11:43 -08:00
Slava Pestov
9edb5875e3
Less drastic changes
2008-02-18 07:30:16 -06:00
Slava Pestov
2c6afdfee6
Working on new threads
2008-02-18 05:07:40 -06:00
Daniel Ehrenberg
62f9ed5dbd
putting encodings on all file readers/writers
2008-02-16 22:17:41 -06:00
Slava Pestov
c9be883b2c
Fix confict
2008-02-16 02:23:02 -06:00
Slava Pestov
0b19589630
linkage errors don't thwart compilation anymore
2008-02-16 00:54:54 -06:00
Joe Groff
5f79372789
Rename out-keep to multikeep and move it into combinators.lib
2008-02-15 22:51:52 -08:00
Daniel Ehrenberg
f6845d43d3
Massive name change in files, string streams
2008-02-15 22:20:31 -06:00
Joe Groff
c65c7755fa
Merge branch 'master' of git://factorcode.org/git/factor
2008-02-15 18:09:22 -08:00
Joe Groff
f7ec7cbc44
ole32.dll bindings
2008-02-15 18:08:01 -08:00
Slava Pestov
9a459d3c12
Updating unit tests
2008-02-14 20:27:48 -06:00
Slava Pestov
f944f2b20c
Add experimental disassembler
2008-02-14 17:56:47 -06:00
Slava Pestov
170aecb255
Loop optimization work in progress
2008-02-12 23:27:05 -06:00
Slava Pestov
ed4354ea77
Minor optimizations
2008-02-12 15:48:30 -06:00
Slava Pestov
637600011c
FFI compile errors now reported separately; new kill literals phase design
2008-02-10 20:32:48 -06:00
Slava Pestov
d65bde09d1
Fix bootstrap
2008-02-09 00:16:14 -06:00
Slava Pestov
52b5c5a068
Reorganize compiler tests
2008-02-08 01:48:51 -06:00
Slava Pestov
be2c8b13d7
Rename unit-test-fails to must-fail and add must-fail-with to replace [ t ] [ [ ... ] catch ... ] unit-test idiom
2008-02-06 13:47:19 -06:00
Slava Pestov
a0143356e4
Merge git://pgdn.org/factor
2008-02-04 19:35:49 -06:00
Joe Groff
a544f5eeda
Take the fattening opengl vocab and hack it up into smaller, mouth-sized morsels
2008-02-03 15:59:47 -08:00
Slava Pestov
793c3ceb1f
byte-length for bit-arrays
2008-02-03 16:06:57 -06:00
Joe Groff
9667afcb81
cel-shading, line-art, and bunny touch their magic rings together and become Super Bunny Demo
2008-02-02 13:14:22 -08:00
Joe Groff
5e77685811
Merge git://factorcode.org/git/factor
2008-02-01 18:17:55 -08:00
Joe Groff
6f2b91d4a4
Move byte-length generic and methods into alien.c-types
2008-02-01 18:10:32 -08:00
Slava Pestov
ff55f0f4cc
New \u...... syntax; io.utf8 and io.utf16 can actually use strings now
2008-02-01 15:00:02 -06:00
Slava Pestov
2ef76798b0
record1 strings
2008-01-31 23:00:08 -06:00
Joe Groff
7666949e13
byte-length generic word for determining alien buffer sizes of byte-arrays and float-arrays
2008-01-31 20:22:19 -08:00
Slava Pestov
6530057512
Starting work on record1 strings
2008-01-31 20:11:46 -06:00
Slava Pestov
dccab9116f
Fix conflict
2008-01-27 23:23:12 -06:00
Slava Pestov
a09e216582
Replace memory>string and string>memory with four primitives and update io.windows.nt.monitor
2008-01-26 23:38:30 -04:00
Slava Pestov
d5257e47b1
Fix circularity
2008-01-18 19:50:18 -05:00
Daniel Ehrenberg
a1ad8b93ea
Really really fixing alien.syntax's docs!
2008-01-17 23:55:20 -06:00