Slava Pestov
f31c579b7b
io.files: fix unit test
2010-05-19 20:47:22 -04:00
Slava Pestov
cb25591d36
io: missed a few byte-array>int-array in unit tests
2010-05-19 16:22:39 -04:00
Slava Pestov
a3e6de5e6a
io.files: fix unit test for forget-tests? flag
2010-04-13 06:14:53 -07:00
Slava Pestov
17b095a524
Slices over specialized arrays can now be passed to C functions, written to binary output streams, and given to malloc-byte-array
2010-02-25 04:50:31 +13:00
Slava Pestov
af0ddd5985
Specialized arrays, structs and other objects responding to the >c-ptr / byte-length protocol can now be written to binary streams
2010-02-24 20:18:41 +13:00
Slava Pestov
dd0571e69a
io.buffers: fix buffer-until for iota (reported by Sascha Matzke)
2010-01-16 18:44:24 +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
6b6e56a179
change add-init-hook to add-startup-hook, new add-shutdown-hook word
2009-10-19 22:17:02 -04:00
Keith Lazuka
405e5d015b
docs: change $subsection to $subsections
2009-10-02 12:15:48 -04:00
Slava Pestov
adc154e06b
destructors: already-unregistered error had the wrong content, also don't throw an error when disposing a disposable twice
2009-08-24 20:27:22 -05:00
Slava Pestov
b4088373b7
Merge branch 'master' of git://factorcode.org/git/factor
2009-05-04 05:16:47 -05:00
Slava Pestov
a63ad6a7a5
Remove cruddy string encoding/decoding code from VM
2009-05-02 13:45:38 -05:00
Doug Coleman
471fe2c272
rename lines to stream-lines
...
rename cnotents to stream-contents
2009-05-01 10:41:27 -05:00
Slava Pestov
a70a2c0e31
Fix some test failures and add an unportable tag
2009-04-30 22:56:15 -05:00
Slava Pestov
c2fe2a4fea
Improve stack checker documentation
2009-04-23 03:48:32 -05:00
Slava Pestov
05f3f9dcb9
Fixing unit tests for stack effect inference changes
2009-04-20 21:15:19 -05:00
Slava Pestov
0f26d02d41
Passing the wrong type of sequence to M\ encoder write now throws an error
2009-04-20 03:26:56 -05:00
Slava Pestov
ebd0e9250f
Clean up some <file-reader> usages to use file-lines, file>csv, and file>xml instead
2009-02-15 20:45:06 -06:00
Slava Pestov
6b99b04531
Add vocab: for vocab-relative paths
2009-02-15 19:53:21 -06:00
Doug Coleman
b529df9652
handle seeking before the file start on windows, add a unit test for this
2009-02-08 20:18:30 -06:00
Doug Coleman
c069add10b
fix using lists
2009-02-08 17:34:17 -06:00
Doug Coleman
bba1598697
move io tests into io.files
2009-02-08 13:59:32 -06:00
Doug Coleman
d684e24ee8
file-contents and set-file-contents deal in sequences, not strings
2009-01-29 00:08:40 -06:00
Slava Pestov
41af194074
Update io.files docs
2009-01-28 19:19:25 -06:00
Slava Pestov
dccbb84629
Updating unit tests for I/O re-organization
2008-12-14 21:21:44 -06:00
Slava Pestov
50e214c152
io.files split up and general refactoring work in progress
2008-12-14 20:03:00 -06:00
sheeple
1777dde283
add file-systems unit test
2008-12-02 16:03:01 -06:00
Doug Coleman
7553b816f8
add another slot to file-system-info -- available-space, which is what the user can actually use, not what's free on disk
2008-12-01 21:20:33 -06:00
Doug Coleman
28e6d7d116
add more shared slots fo file-system-info
2008-12-01 14:05:46 -06:00
Slava Pestov
a4d9cdfeb3
Refactor all usages of >r/r> in core to use dip, 2dip, 3dip
...
Non-optimizing compiler now special-cases dip, 2dip, 3dip following a
literal quotation: this allows us to break the dip/slip meta-circle
without explicit calls to >r/r>
2008-11-23 02:44:56 -06:00
Doug Coleman
fb8bdfe7e5
rename last-slice1 to slice1-last
2008-11-22 20:00:37 -06:00
Doug Coleman
25d9fd68fc
translate directory-type flags to our factor symbols
2008-11-19 16:22:42 -06:00
Doug Coleman
0edfc83d50
document file-systems
2008-11-11 15:41:27 -06:00
Doug Coleman
78ab09d8bb
move file-systems word to core
2008-11-11 14:04:05 -06:00
Doug Coleman
03d96cc1bd
rename name to mount-point
2008-10-23 13:18:00 -05:00
erg
bccf9d9698
add device-name and type to file-system-info
2008-10-22 20:28:30 -05:00
erg
278b55ee57
include mount point in file-system-info
2008-10-22 20:04:10 -05:00
Doug Coleman
1d750b26d2
Merge branch 'master' of git://factorcode.org/git/factor
2008-10-21 23:44:02 -05:00
Doug Coleman
b9e043effe
move >file-system-info
2008-10-21 23:43:36 -05:00
Doug Coleman
2f3fe3c8ec
docs for file-system-info
2008-10-21 22:55:48 -05:00
Doug Coleman
dfef28e715
make a word generic
2008-10-21 01:27:15 -05:00
Doug Coleman
0121d0f678
add file-system-info
2008-10-20 00:30:24 -05:00
Doug Coleman
83638c35da
change up the way you read directories
2008-10-19 12:55:48 -05:00
Doug Coleman
ab0ed9f988
redo home implementation
2008-10-18 21:24:14 -05:00
Doug Coleman
9459eaab4b
all platforms support the file-info structure
2008-10-06 17:28:11 -05:00
Slava Pestov
c19f2257f4
Fix permission bits
2008-10-02 08:34:49 -05:00
Slava Pestov
4ce3cc4141
Bug fixes
2008-09-18 22:08:12 -05:00
Slava Pestov
58914da662
I/O fixes
2008-09-18 18:20:26 -05:00