Doug Coleman
78bbf96a6d
move signed-le> to io.binary, clean up using list for math.bitwise
2009-07-23 15:54:57 -05:00
Slava Pestov
ef73bc6732
io.encodings.utf16: cleanup
2009-05-28 02:50:57 -05:00
Slava Pestov
b31fe9b8f2
Implement stricter vocab search path semantics, with a new API for vocabs.parser. Add map-find-last to sequences vocab
2009-05-14 22:31:29 -05:00
Slava Pestov
96b1ae86a4
Clean up init-stdio implementations and move io.streams.null to basis
2009-05-12 03:35:48 -05:00
Slava Pestov
9488e78532
clean up contents and lines words; contents never outputs f now
2009-05-10 16:39:51 -05:00
Doug Coleman
6223198534
link seeking docs to the seek descriptors
2009-05-07 13:01:42 -05:00
Slava Pestov
8e3e67fad4
Fix test failures
2009-05-04 13:10:56 -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
0ad6d1fb7b
add a few usages of iota, remove most 1+ and 1- from core
2009-05-01 19:58:24 -05:00
Doug Coleman
ce7ad9a42d
fix unit tests that call lines or contents
2009-05-01 16:38:04 -05:00
Doug Coleman
28ec9c3a3b
fix spacing in io docs
2009-05-01 15:56:16 -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
0d0c7f2d55
Fix unit test failures caused by stricter type checking in M: encoder stream-write
2009-04-20 20:05:17 -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
fb246e2c85
Documentation fixes
2009-04-06 04:15:58 -05:00
Slava Pestov
9907bd9fe2
Add fseek primitive so that c-streams can seek. This lets the UI work without native IO
2009-04-03 10:16:25 -05:00
Slava Pestov
f97389503f
Fix stream-read-until on byte-readers
2009-03-27 19:26:16 -05:00
Slava Pestov
723bfab030
Fixing unit tests for syntax change
2009-03-23 00:34:02 -05:00
Daniel Ehrenberg
db876598ed
Fixing code-point-length
2009-03-19 17:42:38 -05:00
Doug Coleman
92d58b1160
Add more unit tests for code-point-length
2009-03-19 17:36:49 -05:00
Slava Pestov
786475102d
Make more code infer
2009-03-17 02:19:50 -05:00
Slava Pestov
47dc534901
Help lint fixes
2009-03-15 23:25:29 -05:00
Slava Pestov
07a5a46009
Add stream-element-type generic word
2009-03-15 17:11:18 -05:00
Slava Pestov
7b9491066c
Fix conflict in images vocab
2009-03-04 21:43:56 -06:00
U-SLAVA-DFB8FF805\Slava
83e8cdae1c
io.encodings.utf8 fixed for bootstrap; add unit tests
2009-03-04 21:33:34 -06:00
Slava Pestov
abdf153374
Add utf8-index> and >utf8-index words for dealing with broken C APIs
2009-03-04 20:43:04 -06:00
Daniel Ehrenberg
5aba91a0c5
Merge branch 'master' of git://factorcode.org/git/factor
2009-03-02 00:06:45 -06:00
Daniel Ehrenberg
5b2c0c9cbf
Adding missing inline declarations
2009-03-02 00:06:27 -06:00
Slava Pestov
25a877e50b
Merge OneEyed's patch
2009-02-28 17:06:55 -06:00
Slava Pestov
cd53c2bd37
produce and produce-as: don't need third quotation either
2009-02-28 15:31:34 -06:00
Slava Pestov
78ce670101
Merge branch 'for-slava' of git://git.rfc1149.net/factor
2009-02-28 14:42:56 -06:00
Daniel Ehrenberg
2c462745f1
Redoing string streams and byte-array streams without copying
2009-02-27 00:53:05 -06:00
Slava Pestov
ce1bc1d6ed
Fixing conflicts from stack checker changes
2009-02-24 01:21:10 -06:00
Slava Pestov
91d0c4ed1f
Fix conflict
2009-02-22 20:02:13 -06:00
Doug Coleman
a6b40707df
use CONSTANT: in core/
2009-02-22 19:09:49 -06:00
Slava Pestov
5e19766330
Fix conflict
2009-02-18 22:20:05 -06:00
Doug Coleman
2af9d5a6df
add canonicalize-path, fix a bug in file-extension
2009-02-18 13:33:55 -06:00
Samuel Tardieu
087d931c36
Remove the tail argument from do/until/while
2009-02-18 02:41:14 +01:00
Slava Pestov
73dfa2ae65
Fix conflict
2009-02-16 21:47:35 -06:00
Doug Coleman
53224ebce0
remove empty file
2009-02-16 21:29:13 -06:00
Slava Pestov
421ee726b8
Merge branch 'master' into new_ui
2009-02-16 21:22:12 -06:00
Slava Pestov
6b25e99470
Add summary for heaps more vocabs
2009-02-16 21:05:13 -06:00
Slava Pestov
4a639033fa
Merge branch 'master' into new_ui
2009-02-15 21:06:55 -06: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
Slava Pestov
f14d6b79c6
io.pathnames: Clarify normalize-path docs
2009-02-10 17:30:19 -06:00
Slava Pestov
ab386d01aa
Merge branch 'master' into new_ui
2009-02-10 16:23:14 -06:00
Slava Pestov
07caee3405
Update some existing code to use initialize
2009-02-10 16:16:12 -06:00
Slava Pestov
3045777f02
Fix conflict
2009-02-09 00:34:00 -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
Slava Pestov
112c94cda2
Merge branch 'master' into new_ui
2009-02-08 18:36:47 -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
fef602b185
remove superfluous flush from io tests
2009-02-08 13:58:39 -06:00
Doug Coleman
69f4899e11
document stream seeking
2009-02-08 13:51:02 -06:00
Slava Pestov
043b77c702
Fix conflict
2009-02-08 00:07:59 -06:00
Doug Coleman
2820b9fc99
better error handling on unix seek, unit tests
2009-02-07 11:23:00 -06:00
Doug Coleman
bc0521f88a
make seeking support the full lseek options, add seeking on output ports, remove seeking from decoders..
2009-02-07 10:30:51 -06:00
Doug Coleman
f6f716c4e3
unix support for stream seeking
2009-02-07 01:03:12 -06:00
Slava Pestov
a0c1d32197
Move io.streams.string from core to basis
2009-02-06 01:58:51 -06:00
Slava Pestov
1bbabcd5e1
Remove some usages of slip combinators from the core
2009-02-05 03:29:59 -06:00
slava
e29f18a2f4
Trying to fix a bad merge...
...
Revert "Merge branch 'master' of git://factorcode.org/git/factor"
This reverts commit da639739bd
, reversing
changes made to 346a61f497
.
2009-02-03 00:27:34 -06:00
Daniel Ehrenberg
8dfc63eb99
Adding Japanese and Chinese encodings to io.encodings docs and io.encodings.iana
2009-02-02 21:20:55 -06:00
Slava Pestov
669548e62e
Clean up some usages of tuck, and add Joe's curried cleave/spread/apply combinators to kernel vocabulary
2009-02-02 13:43:54 -06:00
Daniel Ehrenberg
3c75dfd2e0
Shift-JIS support; minor cleanup of io.binary
2009-02-01 23:47:36 -06:00
Daniel Ehrenberg
f660c7e7e8
Cleanup of io.encodings.utf32
2009-02-01 18:54:06 -06:00
Doug Coleman
3c408342ef
renaming: contain? -> any?, deep-contains? -> deep-any?, pad-left -> pad-head, pad-right -> pad-tail, trim-left -> trim-head, trim-right -> trim-tail
2009-01-29 22:19:07 -06:00
Doug Coleman
c253cd854a
move null streams to core and make them not depend on io.styles and io.timeouts, initialize the std streams to null-streams on windows in win32 mode
2009-01-29 18:33:19 -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
Doug Coleman
2dcbd5b3db
fix docs for a word
2009-02-22 21:26:16 -06:00
Slava Pestov
ec3013c39b
Oops, io.encodings.binary was both in core and basis
2009-01-27 04:48:28 -06:00
Slava Pestov
ad7b4cec01
Revert Windows console encoding since the DOS prompt is not really cp1252
2009-01-27 04:29:44 -06:00
Slava Pestov
043adcf0f6
Use windows-1252 encoding for stdin/stdout on Windows
2009-01-27 00:03:34 -06:00
Slava Pestov
c7c37f5f5c
Update I/O docs to talk about elements instead of characters, and add each-block combinator which generalizes contents just like each-line generalizes lines
2009-01-22 19:08:20 -06:00
Slava Pestov
2612b3c087
Fix typo in each-line docs
2009-01-15 13:02:45 -06:00
Slava Pestov
4204fd495f
Move formatted stream output words to io.styles; they didn't belong in core, and this reduces deployed image size
2009-01-13 17:12:43 -06:00
Doug Coleman
f9dacfb16b
more docs for pathnames
2008-12-26 17:13:20 -06:00
Slava Pestov
63fda570bf
Fixing assorted compile errors and help lint warnings
2008-12-16 01:12:36 -06:00
Slava Pestov
daf2857d7b
define-inline now takes an effect parameter
...
C: now sets the stack effect of the new word to slot names
add new basis/constants vocab; CONSTANT: foo bar is equivalent to : foo bar ; inline
(going to fold CONSTANT:, ALIAS: and qualified into core soon perhaps)
tighten the screws: inline words now need a stack declaration too
update some usages of inline words
2008-12-15 19:44:56 -06:00
Slava Pestov
e335059a87
Add meta-data to new I/O vocabularies
2008-12-15 08:15:32 -06:00
Slava Pestov
5cb18d51b3
Fixing test-all and help-lint-all failures
2008-12-15 03:33:04 -06:00
Slava Pestov
e0f86889c7
Fixing load-everything for io.files split
2008-12-15 01:13:35 -06:00
Slava Pestov
6ea1de887d
More unit test fixes
2008-12-14 22:38:14 -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
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
ca8091443c
Move byte-vectors and io.streams.byte-array to basis
2008-12-08 13:59:25 -06:00
Doug Coleman
2e31f7d792
fix help-lint errors
2008-12-05 12:57:36 -06:00
Slava Pestov
aa838dbc2d
Fix compile errors
2008-12-05 09:04:16 -06:00
Slava Pestov
2b23e3c4d8
Merge branch 'master' of git://factorcode.org/git/factor
2008-12-02 19:43:11 -06:00
Slava Pestov
5a57fe8953
with-stream was disposing streams in the wrong order
2008-12-02 19:43:07 -06:00
sheeple
1777dde283
add file-systems unit test
2008-12-02 16:03:01 -06:00
Slava Pestov
c27faa3de4
Remove 3compose: nothing in core used it, and basis code can use fry
2008-12-02 00:25:23 -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
e7fbc0c9f2
Merge branch 'master' of git://factorcode.org/git/factor
2008-11-30 15:28:26 -06:00