Slava Pestov
6b99b04531
Add vocab: for vocab-relative paths
2009-02-15 19:53:21 -06:00
Slava Pestov
07caee3405
Update some existing code to use initialize
2009-02-10 16:16:12 -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
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
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
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
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
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
Slava Pestov
1a3f148c2c
Add each-line combinator
2008-12-01 16:43:18 -06:00
Doug Coleman
28e6d7d116
add more shared slots fo file-system-info
2008-12-01 14:05:46 -06:00
Doug Coleman
9d03a591cf
trivial doc for error-stream
2008-11-29 00:35:50 -06:00
Doug Coleman
8c7a3c8a81
better docs for io.encodings
2008-11-29 00:30:36 -06:00
Slava Pestov
fb511f4fe8
Fix help lint
2008-11-24 00:51:46 -06:00
Slava Pestov
7788b3e0db
Merge branch 'master' into microseconds
2008-11-23 03:06:32 -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