Commit Graph

462 Commits (f26460450e5ea4de9cf7cf7217d540b856e09ea1)

Author SHA1 Message Date
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
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
U-SLAVA-DFB8FF805\Slava 82a83496f3 Merge branch 'master' of git://factorcode.org/git/factor 2008-11-22 02:47:00 -06:00
Doug Coleman fb8bdfe7e5 rename last-slice1 to slice1-last 2008-11-22 20:00:37 -06:00
U-SLAVA-DFB8FF805\Slava 21856550e3 show doesn't need to print \r\n 2008-11-22 02:44:35 -06:00
Doug Coleman 25d9fd68fc translate directory-type flags to our factor symbols 2008-11-19 16:22:42 -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 a9a28a3231 Trying to blindly fix Win64 unit tests 2008-11-17 20:28:52 -06:00
Slava Pestov fbe29ceca8 format-table should not be private since ui.gadgets.grids uses it 2008-11-16 15:31:17 -06:00
Slava Pestov 99fd539b01 Rename io.streams.string:null to null-encoding 2008-11-16 05:59:38 -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
Slava Pestov 1d630b6cf2 Minor documentation fixes 2008-11-11 10:51:15 -06:00
Slava Pestov bfd119e3b5 I/O ricing: various hints added so that UTF8 and ASCII fastpaths compile with less dispatch. 25% improvement on reverse-complement 2008-11-06 00:02:44 -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 2e48915f9c Strip out C I/O if native I/O enabled 2008-10-02 03:38:36 -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
Slava Pestov 562118e158 Better fix for *BSD resource path 2008-09-18 00:20:51 -05:00
Slava Pestov 3a83c1e895 Improve resource-path behavior on NetBSD and OpenBSD 2008-09-17 22:40:51 -05:00
Doug Coleman e3ae3afcb8 document stream-read-partial, read-partial, change stack effect 2008-09-16 23:52:04 -05:00
Slava Pestov 0c8e2584b4 Fixing unit tests for make, fry changes 2008-09-11 00:20:06 -05:00
Slava Pestov 44f53de164 Move make to its own vocabulary, remove fry _ feature 2008-09-10 20:07:00 -05:00
Doug Coleman b1d26e100a use if/when/unless-empty, docs 2008-09-06 17:10:32 -05:00
Doug Coleman 5ed87d4d34 rename left/right-trim to trim-left 2008-09-05 17:12:30 -05:00
Doug Coleman 8df32ea9e4 update the docs 2008-09-02 16:49:45 -05:00
Slava Pestov 0c304b8fc6 Removing old accessor usages from core and basis 2008-08-31 07:45:33 -05:00
Doug Coleman 922e1f4371 new accessors 2008-08-29 17:09:19 -05:00
Slava Pestov 1fcbdf9d52 Fix more compiler bugs 2008-08-29 00:26:47 -05:00
Slava Pestov 40e926609a Fixing unit tests 2008-08-22 22:07:59 -05:00
Slava Pestov 95657e5742 Remove some funny retain stack usage 2008-08-18 20:13:24 -05:00
Doug Coleman bd8dcd4e0a move quad to quadruple in utf8 2008-08-16 14:20:36 -05:00
Slava Pestov 8a2f1d0451 More core cleanups 2008-07-28 22:57:43 -05:00
Slava Pestov f5c15481fe Move io.styles to basis 2008-07-28 22:28:13 -05:00
Slava Pestov d66f887736 Create basis vocab root 2008-07-28 22:03:13 -05:00
Slava Pestov ac2bf0b87d Adding inline recursive declarations 2008-07-18 19:22:59 -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 a8808b7087 Non-optimizing compiler now inlow inlines some primitives, this improves bootstrap time 2008-07-07 10:39:04 -05:00
Slava Pestov 8347710dd5 Help lint fixes 2008-07-04 02:52:27 -05:00
Slava Pestov 2831cb8d9b Tweaking docs, change stage2 to load less stuff 2008-07-03 01:39:45 -05:00
Slava Pestov 537269447c Move mirrors out of the boot image 2008-07-02 00:20:01 -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 bf490cda94 Minor append-path improvement 2008-06-27 20:10:47 -05:00
Slava Pestov 27c89d75d4 I/O micro-optimizations; 12% improvement on reverse-complement 2008-06-17 05:22:33 -05:00
Slava Pestov b75f322d6e Fix tests 2008-06-12 14:51:56 -05:00
Slava Pestov 17001b40cd Improve encoding API 2008-06-12 03:49:29 -05:00
Slava Pestov 9dd5c9919f Mandatory stack effect annotations 2008-06-08 15:32:55 -05:00
Slava Pestov 442ef1e8f0 Add file-extension word 2008-06-02 15:00:51 -05:00
Slava Pestov 727cfcba43 Move relocation info out of the code heap and into the data heap 2008-05-30 01:31:05 -05:00
Eduardo Cavazos 75eded700d io.binary-docs: fix typo 2008-05-19 21:30:55 -05:00
Slava Pestov 78fb1a5022 Tweaks 2008-05-18 17:18:28 -05:00
U-SLAVA-DFB8FF805\Slava dcce702d0c Remove pending-error machinery 2008-05-17 23:50:11 -05:00
Slava Pestov 2cbfa9c2d7 Move destructors to core 2008-05-14 23:23:12 -05:00
Slava Pestov d682d572e2 Add read-partial word 2008-05-11 17:43:17 -05:00
Slava Pestov 7f725dfa6d Fix stack effect of (exists?) 2008-05-11 17:43:11 -05:00
Slava Pestov 1bb83a21ae Merge branch 'master' of git://factorcode.org/git/littledan 2008-05-11 00:21:39 -05:00
Daniel Ehrenberg 8b6e234709 Encodings use singletons; descriptive error updates 2008-05-10 20:17:24 -05:00
U-SLAVA-DFB8FF805\Slava 4a9a1ba2b5 Fix and clean up Windows deployment 2008-05-10 15:22:38 -05:00
Slava Pestov 30c7f560c1 Add unit test for Ed's touch-file fix 2008-05-09 16:46:24 -05:00
Slava Pestov 0cd8e61f24 Streams fixes 2008-05-09 16:38:27 -05:00
Slava Pestov 59f85c321e Doc fixes from stesch 2008-05-08 20:35:37 -05:00
Slava Pestov 2164bcf784 Fix Ed's fix 2008-05-08 16:05:46 -05:00
Eduardo Cavazos b1bc2ff7af io.files: Minor help fix 2008-05-08 06:35:42 -05:00
Doug Coleman 0acbdcdcc6 remove <resource-path> 2008-05-06 14:45:28 -05:00
Doug Coleman 0cd8023a25 use resource: instead of resource-path 2008-05-06 14:41:59 -05:00
Eduardo Cavazos 404bf07ad5 Merge branch 'master' of factorcode.org:/git/factor 2008-05-05 21:56:36 -05:00
Eduardo Cavazos 3883c30639 io.files: Fix help bug 2008-05-05 21:56:01 -05:00
Slava Pestov 9d5d4ec5c4 Fixes, rename sliding-groups to clumps 2008-05-05 17:31:46 -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 7584e02805 New checksum protocol 2008-04-30 16:11:55 -05:00
Doug Coleman e264537a1a reverse the arguments of diff, assoc-diff
fix lots of usings
fix help-lint
2008-04-26 02:01: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
Slava Pestov a3a0ce5bee Fixes 2008-04-20 06:15:08 -05:00
Slava Pestov 55f6636bc0 FFI string encoding conversion 2008-04-20 05:15:46 -05:00
Slava Pestov d1f37ab5ec Fix bloopers 2008-04-20 02:30:52 -05:00
Doug Coleman 2edd0fefc9 new -> new-sequence
construct-empty -> new
construct-boa -> boa
diff -> assoc-diff
union -> assoc-union
intersect -> assoc-intersect
2008-04-13 22:58:07 -05:00
Doug Coleman 30b75a797a construct-boa -> boa
construct-empty -> new
2008-04-13 15:06:09 -05:00
Slava Pestov 9cc25c3eff Fix docs 2008-04-13 03:47:51 -05:00
Slava Pestov 8bb7aafee5 Fix bootstrap error 2008-04-13 03:22:51 -05:00
Slava Pestov 8110074bc0 Doc updates 2008-04-13 00:39:56 -05:00
Slava Pestov a5d5dfb0df Update duplex streams for new-slots 2008-04-13 00:21:48 -05:00
Doug Coleman dbac0a1543 Merge branch 'master' of git://factorcode.org/git/factor 2008-04-11 12:59:20 -05:00
Doug Coleman bced4022e5 updating usages of cond/case 2008-04-11 12:53:22 -05:00
slava 56892ae74a Overhaul monitors 2008-04-11 07:15:26 -05:00
Slava Pestov f5d7f8b917 Doc fix 2008-04-06 20:09:31 -05:00
Slava Pestov 4139f0e804 Fix set-current-directory 2008-04-04 22:22:38 -05:00
Slava Pestov ca652dc157 Fix UI panes 2008-04-04 08:44:32 -05:00
Slava Pestov 9c31dc1164 Fix failing unit test 2008-04-04 07:39:00 -05:00
Slava Pestov 8d39853248 Merge branch 'master' of git://factorcode.org/git/factor 2008-04-04 07:09:21 -05:00
Slava Pestov 5cc78f5b39 Remove usages of delegation from core io 2008-04-04 06:21:50 -05:00
Slava Pestov ef4046cda9 Converting code to use inheritance 2008-04-04 00:33:06 -05:00
Doug Coleman e22a7a6100 update docs pl0x 2008-04-03 21:39:52 -05:00