Commit Graph

520 Commits (ff674dac22c0ce383738f9d1a156fbbf85b36bf4)

Author SHA1 Message Date
Doug Coleman 1bd35e6f62 better io.mmap test 2009-02-26 19:58:25 -06:00
Doug Coleman 084311750e add using to mmap tests 2009-02-26 18:11:07 -06:00
Doug Coleman dc370e56ab mmap now throws an understandable exception upon trying to mmap a zero length file. fix a bug with calling |dispose on an integer if mmap failed on unix 2009-02-26 17:34:26 -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 990513db60 use CONSTANT: in basis 2009-02-22 19:13:08 -06:00
Slava Pestov be40bd33ee New initialize-alien word 2009-02-20 20:51:13 -06:00
Doug Coleman 19acf89d82 fix find-in-program-files 2009-02-20 12:12:00 -06:00
Slava Pestov 5e19766330 Fix conflict 2009-02-18 22:20:05 -06:00
Doug Coleman adb6b21683 fix load error 2009-02-18 17:25:58 -06:00
Doug Coleman 91b4947e1e with-logging should not take a DEBUG level 2009-02-18 16:01:53 -06:00
Doug Coleman 8936ff6c6d Merge branch 'master' of git://factorcode.org/git/factor 2009-02-18 15:51:15 -06:00
Doug Coleman 6324fb6c13 add unix canonicalize-path 2009-02-18 13:34:45 -06:00
Yun, Jonghyouk fdad5d4d97 io.encodings.korean TODO removes 2009-02-18 19:19:18 +09:00
Samuel Tardieu 087d931c36 Remove the tail argument from do/until/while 2009-02-18 02:41:14 +01:00
Doug Coleman d92b02b0c2 use the new with-logging 2009-02-17 11:30:06 -06:00
Doug Coleman 4440a210b1 make io.servers.packet load again 2009-02-17 11:28:43 -06:00
Yun, Jonghyouk 89a3e45a3a io.encodings.korean TODOs comment 2009-02-17 21:47:45 +09:00
Yun, Jonghyouk da9ae85637 io.encodings.korean some docs. 2009-02-17 21:46:57 +09:00
Yun, Jonghyouk 8169c35b9e io.encodings.korean TODOs 2009-02-17 16:40:01 +09:00
Slava Pestov 73dfa2ae65 Fix conflict 2009-02-16 21:47:35 -06:00
Doug Coleman f79f49a349 remove empty file 2009-02-16 21:30:22 -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 2fe934ba9d Remove some code duplication in io.directories.unix 2009-02-15 20:36:04 -06:00
Slava Pestov e8c3fe2afc Use vocab: in io.encodings.korean 2009-02-15 20:08:00 -06:00
Slava Pestov 723dcd334f Merge branch 'master' of git://factorcode.org/git/factor 2009-02-15 20:06:23 -06:00
Slava Pestov 6b99b04531 Add vocab: for vocab-relative paths 2009-02-15 19:53:21 -06:00
Daniel Ehrenberg 523e0d993d Cleanup and bug fix in io.encodings.korean 2009-02-15 18:01:34 -06:00
ageldama 02e4c14a89 'work' -> 'basis' correction 2009-02-14 10:55:45 +09:00
ageldama eef49a82b5 initial 'io.encodings.korean' commit 2009-02-14 10:42:31 +09:00
Slava Pestov da825003ae io.styles: support image style 2009-02-11 04:53:33 -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 8654bfe921 Merge branch 'master' into new_ui 2009-02-09 20:30:44 -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 16312f6711 clean up stream-seek with some suggestions from slava 2009-02-08 10:35:30 -06:00
Slava Pestov 043b77c702 Fix conflict 2009-02-08 00:07:59 -06:00
Doug Coleman 959ef7a737 better error handling for backends 2009-02-07 11:24:12 -06:00
Doug Coleman 44a4c20f23 update stream seeking on windows for new api 2009-02-07 11:00:16 -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 723f08ca61 fix buffer-seek 2009-02-07 09:52:34 -06:00
Doug Coleman 790f3b867c remove bogus unix depenedency, implement seeking on windows 2009-02-07 01:12:03 -06:00
Doug Coleman f6f716c4e3 unix support for stream seeking 2009-02-07 01:03:12 -06:00
Doug Coleman 43a91efde9 rename err_no to errno, clear_err_no to clear-errno, move them to libc, update usages 2009-02-06 18:22:28 -06:00
Slava Pestov c04ee453e3 Merge branch 'master' into new_ui 2009-02-06 11:10:55 -06:00
Slava Pestov 79bb003e6d io.sockets.secure.openssl: Don't allocate empty password string. Fixes test failures introduced by >c-ptr change 2009-02-06 10:17:20 -06:00
Slava Pestov dd9cf39467 Fix conflict in libc 2009-02-06 05:10:41 -06:00
Slava Pestov d6aa376ed0 Removing now-redundant underlying>> calls 2009-02-06 04:37:28 -06:00
Slava Pestov 27daa4b1d4 Split off formatted-output-stream-protocol from output-stream-protocol, and clean up io.streams.duplex 2009-02-06 02:43:55 -06:00
Slava Pestov 6aa8b1fea8 io.styles: now that its in basis, we can use the delegate vocab instead of manual delegation 2009-02-06 02:07:32 -06:00
Slava Pestov a0c1d32197 Move io.streams.string from core to basis 2009-02-06 01:58:51 -06:00
Slava Pestov ae0da1cf98 Fix conflict 2009-02-05 22:29:15 -06:00
Doug Coleman 3d84d17cc6 use the console factor for tests 2009-02-04 13:28:19 -06:00
Slava Pestov dfa0931db1 Merge branch 'master' into new_ui 2009-02-04 05:26:32 -06:00
Slava Pestov 489019acd0 io.encodings.chinese and io.encodings.japanese: use [1234]byte-array words instead of B{ } new-sequence and [1234]array >byte-array 2009-02-04 05:14:00 -06:00
Slava Pestov 4ee7fb1c30 Minor performance improvement for io.encodings.chinese: don't call 'linear' all the time 2009-02-04 04:58:19 -06:00
Slava Pestov feb5688296 Merge branch 'master' into new_ui 2009-02-04 04:45:33 -06:00
Daniel Ehrenberg 594f21e5bd Fixing HTTP and IANA tests 2009-02-03 19:44:28 -06:00
Daniel Ehrenberg 246c4bb13c Fixing encodings/XML 2009-02-03 17:32:05 -06:00
slava a3e52f283b Fix io.encodings.japanese 2009-02-03 00:33:55 -06:00
slava f340e4d649 Re-add 8dfc63eb99 2009-02-03 00:33:22 -06:00
slava 7c804591b1 Re-add 334a96f25c 2009-02-03 00:32:23 -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 334a96f25c GB 18030 support 2009-02-02 21:01:39 -06:00
Slava Pestov aa331e451b Eliminate more tuck usages 2009-02-02 16:11:16 -06:00
Daniel Ehrenberg e7bb0d21d1 Fixing interval maps docs typo; Minor change to io.encodings.japanese 2009-02-02 13:53:08 -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
Slava Pestov d2590bb2bf Foo 2009-02-02 06:07:06 -06:00
Slava Pestov 32bde32018 Merge branch 'master' into new_ui 2009-02-02 00:22:48 -06:00
Daniel Ehrenberg ce83be67a4 Cleanup of various encodings implementations 2009-02-02 00:16:33 -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
Daniel Ehrenberg ec22af4dbd UTF-32 encoding/decoding 2009-02-01 15:36:07 -06:00
Slava Pestov 8728891876 Update io.styles docs 2009-01-30 03:37:11 -06:00
Slava Pestov 0a0431e6ab Fix conflict 2009-01-30 02:24:34 -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
Slava Pestov 505c9a77c2 Merge branch 'master' into new_ui 2009-01-29 22:11:34 -06:00
Doug Coleman f9cd01683c fix unix bootstrap 2009-01-29 21:26:27 -06:00
Doug Coleman 2f9ad7e492 add using 2009-01-29 21:13:49 -06:00
Doug Coleman c1e09147e3 fix docs typo 2009-01-29 21:11:18 -06:00
Doug Coleman b21e40fe95 fix windows backend 2009-01-29 21:03:16 -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
Slava Pestov 7a6552397f Merge branch 'master' into new_ui 2009-01-29 01:45:48 -06:00
Slava Pestov a45c91659a Update mmap docs 2009-01-28 23:33:10 -06:00
Slava Pestov 6eebc66be4 Merge branch 'master' into new_ui 2009-01-28 15:41:08 -06:00
Slava Pestov ddd8c2b67e Merge branch 'master' of git://factorcode.org/git/factor 2009-01-28 15:10:29 -06:00
Slava Pestov 16181f818b Clean up functors so that the generated code looks sane with 'see' 2009-01-28 15:07:16 -06:00
Slava Pestov eaad0c7660 Updating code to use CONSTANT: instead of : foo 123 ; inline 2009-02-23 21:40:17 -06:00
Slava Pestov 1951d739a0 Stack effect declarations are mandatory on all words now
define-temp now takes an effect parameter
Fix compiler bug that Dan found
Stricter enforcement of * effects
Move compile-call from compiler.units to compiler
2009-02-23 20:27:05 -06:00
U-SLAVA-DFB8FF805\Slava 5af6c10eed Fix io.launcher.windows.nt test when run from factor.exe 2009-01-28 01:58:03 -06:00
Daniel Ehrenberg b13ebfe757 Summary and author for io.crlf 2009-01-27 18:43:20 -06:00
Daniel Ehrenberg fcb56cf6db Factored out io.crlf 2009-01-27 18:42:17 -06:00
Slava Pestov 5cd4f65e59 Fix conflict 2009-01-27 15:49:49 -06:00
Slava Pestov 298fdecf32 Fixing eval unit test, and help lint failures from stricter help lint 2009-01-27 15:38:01 -06:00
Slava Pestov 8b6ae748b9 Merge branch 'master' into new_ui 2009-01-27 06:34:19 -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 d8e135a4d3 Merge branch 'master' into new_ui 2009-01-27 00:08:52 -06:00
Slava Pestov 043adcf0f6 Use windows-1252 encoding for stdin/stdout on Windows 2009-01-27 00:03:34 -06:00
Slava Pestov 56260087ae Merge branch 'master' of git://factorcode.org/git/factor 2009-01-26 23:20:45 -06:00
Slava Pestov 92f9338978 Smart quotes 2009-01-26 23:20:27 -06:00
Slava Pestov b2a294fac7 io.monitors:next-change now outputs a single value instead of a pathname and a sequence 2009-01-26 23:18:57 -06:00
Doug Coleman 25eb1a01a0 fix using 2009-01-26 20:17:02 -06:00
Doug Coleman 67d0fd934c fix unit test 2009-01-26 20:16:18 -06:00
Slava Pestov 5aec661b92 Rename font key in io.styles to font-name for clarity; clean up some nefarious stack shuffling in ui.gadgets.panes 2009-01-26 16:25:57 -06:00
Doug Coleman 6f12877418 make temporary nesting work better with limited streams, fix a bug with unlimit 2009-01-26 15:14:54 -06:00
Doug Coleman 4d64474d18 redo much of io.files.unique -- add unique-file to replace temp-file 2009-01-26 15:05:15 -06:00
Slava Pestov bb27511753 Fixing code for first-class fonts 2009-01-26 02:21:28 -06:00
Slava Pestov 6e2f60729f Use fry in io.styles 2009-01-25 22:56:47 -06:00
Slava Pestov ef223f26d5 Fix conflict 2009-01-24 23:56:33 -06:00
Slava Pestov f34c14a0f5 Remove some usages of tuck 2009-01-23 18:20:47 -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 088ad42370 Merge branch 'master' into new_ui 2009-01-20 18:44:24 -06:00
Doug Coleman 9a06ce94a5 add an unlimit word, refactor limited-streams, better docs 2009-01-20 15:42:41 -06:00
Slava Pestov 25340e881b Merge branch 'master' into new_ui 2009-01-20 15:38:05 -06:00
U-C4\Administrator 94a72d3915 document limited streams, make some words private 2009-01-20 13:21:58 -06:00
U-C4\Administrator 0dd3dc770b remove duplication in io.streams.limited 2009-01-20 12:04:20 -06:00
U-C4\Administrator 8676ebafea replace boolean with singletons for io.streams.limited -- stream-throws or stream-eofs 2009-01-20 12:02:54 -06:00
U-C4\Administrator 0563bedefa add a no-throw? flag to limited-streams, add unit tests 2009-01-19 18:52:09 -06:00
U-C4\Administrator e323ae3a32 add unit test, fix bounds check error in limited streams 2009-01-19 18:19:12 -06:00
Slava Pestov 402bcbb36f Merge branch 'master' into new_ui 2009-01-16 17:03:29 -06:00
Slava Pestov ca2f01e0d0 Updating non-core libraries for monotonic? change 2009-01-16 17:02:54 -06:00
Slava Pestov 8b85d627d3 Merge branch 'master' into new_ui 2009-01-16 14:49:44 -06:00
Slava Pestov 392516e845 More doc fixes 2009-01-16 14:20:29 -06:00
Slava Pestov af998eb073 Merge branch 'for-slava' of git://git.rfc1149.net/factor 2009-01-16 13:32:42 -06:00
Slava Pestov 7eb831d349 Fix various documentation errors 2009-01-16 13:30:43 -06:00
Doug Coleman bf922d1fb7 Merge branch 'master' of git://factorcode.org/git/factor 2009-01-16 12:37:32 -06:00
Doug Coleman a33c3139a6 dont search empty pathnames on windows 2009-01-16 12:36:08 -06:00
Doug Coleman 4e7298cfa4 fix finding files 2009-01-16 12:34:59 -06:00
Samuel Tardieu 573c150409 inet6 address components cannot be stored as bytes as they are 16 bits long 2009-01-16 11:06:32 +01:00
Slava Pestov ecd2f75808 Display completion popups in the right place 2009-01-15 00:52:05 -06:00
Slava Pestov 92b9686b6c Merge branch 'master' into new_ui 2009-01-14 21:04:19 -06:00
Slava Pestov d3cdd79795 Clarify with-stream docs 2009-01-14 18:33:15 -06:00
Doug Coleman bffa4a540b Merge branch 'master' of git://factorcode.org/git/factor 2009-01-13 20:50:51 -06:00
Slava Pestov 5e7b6e8a0d Merge branch 'master' into new_ui 2009-01-13 19:26:46 -06:00
Slava Pestov b169b803d2 Merge branch 'master' of git://factorcode.org/git/factor 2009-01-13 19:26:25 -06:00
Slava Pestov 1f29e128c1 io.styles refactoring introduced a load error in io.streams.null; fix that, add docs, and remove unused with-null-stream 2009-01-13 19:25:44 -06:00
Doug Coleman 1d23287678 remove "pipe" from word name 2009-01-13 18:57:09 -06:00
Slava Pestov 21433c47ef Fix conflict 2009-01-13 17:54:27 -06:00
Doug Coleman 8b6ec97b50 Merge branch 'master' of git://factorcode.org/git/factor 2009-01-13 17:24:20 -06:00
Slava Pestov 3e1d3d68e8 Merge branch 'master' of git://factorcode.org/git/factor 2009-01-13 17:12:54 -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 3db9705a99 making directory listing tool configurable, use bi in io.directories.search 2009-01-13 15:48:59 -06:00
Slava Pestov 7e097aa713 Merge branch 'master' of git://factorcode.org/git/factor into new_ui 2009-01-13 14:42:57 -06:00
Doug Coleman 4a01649d15 add with-directory-entries and file-type>trailing 2009-01-13 00:05:19 -06:00