Commit Graph

746 Commits (fe085c96d6af4f026caf9854b51b50baf3b1076c)

Author SHA1 Message Date
Daniel Ehrenberg 8c61791364 Big5 encoding; simple-flat-file vocab abstracts parsing out; EUC code factored out; Asian encoding vocabs renamed
Merge branch 'master' of git://github.com/ageldama/factor

Conflicts:

	basis/io/encodings/korean/korean-docs.factor
	basis/io/encodings/korean/korean-tests.factor
	basis/io/encodings/korean/korean.factor
2009-03-02 23:19:06 -06:00
Daniel Ehrenberg 0bff96a990 Factoring out EUC code 2009-03-02 18:22:55 -06:00
Yun, Jonghyouk 43fc1d7029 io.encodings.japanese eucjp encode-char working... 2009-03-01 23:49:33 +09:00
Yun, Jonghyouk f4c5412337 io.encodings.japanese eucjp=>decode-char proper working version! 2009-03-01 22:54:00 +09:00
Yun, Jonghyouk 9a49a1b837 io.encodings.korean iso2022kr ... 2009-03-01 17:23:41 +09:00
Yun, Jonghyouk dceda349cd io.encodings.korean iso2022kr encode-char working version 2009-03-01 17:17:01 +09:00
Yun, Jonghyouk 7903319263 io.encodings.japanese eucjp ... 2009-03-01 12:38:17 +09:00
Yun, Jonghyouk ac27696bf9 Merge branch 'master' of git://factorcode.org/git/factor 2009-03-01 11:29:07 +09: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
Yun, Jonghyouk 4f02c5648e io.encodings.korean iso2022kr encoding working... 2009-03-01 04:32:24 +09:00
Yun, Jonghyouk c763d92e12 io.encodings.korean iso2022kr encode-char working... 2009-03-01 02:24:03 +09:00
Yun, Jonghyouk 5d70cdfd27 io.encodings.blackhole initial 2009-03-01 01:16:13 +09:00
Yun, Jonghyouk a583af44d9 io.encodings.korean johab documentation 2009-02-28 23:36:53 +09:00
Yun, Jonghyouk 15b6aa212e io.encodings.korean decode-char refactored. 2009-02-28 23:21:05 +09:00
Yun, Jonghyouk cf6a12c55c io.encodings.korean johab, cp949 => encode-char refactoring... 2009-02-28 16:29:25 +09:00
Yun, Jonghyouk fc1199358c io.encodings.korean cp949, johab encode-char/decode-char refactoring... 2009-02-28 15:57:14 +09:00
Yun, Jonghyouk 017fc8f1bf io.encodings.korean johab codetable 2009-02-28 15:11:41 +09:00
Yun, Jonghyouk b02332df40 io.encodings.korean johab encodings initial 2009-02-28 15:10:15 +09:00
Yun, Jonghyouk e36967d3b8 io.encodings.korean modified 2009-02-28 01:34:04 +09:00
Yun, Jonghyouk c3be596926 io.encodings.{asian, korean} updates: i.e.asian docs... 2009-02-28 01:21:24 +09:00
Yun, Jonghyouk c993d7324a * initial: io.encodings.asian vocab
* modify io.encodings.korean to use io.encodings.asian common codetable vocab
2009-02-28 00:57:13 +09:00
Daniel Ehrenberg 2c462745f1 Redoing string streams and byte-array streams without copying 2009-02-27 00:53:05 -06:00
Slava Pestov 45dae72f4a Merge branch 'master' into new_ui 2009-02-26 23:31:36 -06:00
Doug Coleman de9154fc5e make find-all-files and find-in-program-files not take the traversal method 2009-02-26 21:50:01 -06:00
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
Slava Pestov 2b2f95e711 Merge branch 'master' into new_ui 2009-01-11 22:56:27 -06:00
Doug Coleman 0575754328 fix a couple typos in docs 2009-01-11 11:37:58 -06:00
Slava Pestov df2171df1a Merge branch 'master' of git://factorcode.org/git/factor into new_ui 2009-01-09 17:59:19 -06:00
Doug Coleman e61acc5eee username -> user-name in a couple of places 2009-01-09 16:34:31 -06:00
Doug Coleman 69e4fe1f76 fix bootstrap on a couple platforms 2009-01-09 14:31:02 -06:00
Slava Pestov 730c636172 Merge branch 'master' of git://factorcode.org/git/factor into new_ui 2009-01-08 22:44:57 -06:00
Doug Coleman a773e59216 username -> user-name 2009-01-08 17:56:03 -06:00
Slava Pestov 723626a9d2 Add slot editing to UI inspector, remove slot editing from TTY inspector 2009-01-08 17:02:54 -06:00
Doug Coleman e83713d557 Fix typo in each-file stack effect, document io.directories.search 2009-01-07 11:20:05 -06:00
unknown ca8c7540b4 Move io.files.links tests to io.files.links.unix so that they don't get run on Windows 2008-12-21 19:04:12 -06:00
Slava Pestov b2e45f199e Calling dispose on unix stdin no longer kills the VM 2008-12-20 18:02:08 -06:00
Doug Coleman 28b3b4b97a add a lot more to the using list 2008-12-18 23:44:14 -06:00
Doug Coleman 88ec8786fd add using 2008-12-18 20:31:22 -06:00
Doug Coleman 21fc9f98a6 Merge branch 'master' of git://factorcode.org/git/factor 2008-12-18 19:57:32 -06:00
Doug Coleman 4f1aefd3fe fix bootstrap 2008-12-18 19:57:21 -06:00
Doug Coleman 513b4b3708 use read-link instead, remove dependency on unix. oops 2008-12-18 19:32:09 -06:00
Doug Coleman a326943f8b better related-words for follow-links. add 2008-12-18 18:42:05 -06:00
Doug Coleman 180aeea68d fix using. add 2008-12-18 18:40:01 -06:00
erg 7103cc3cda Add follow-link/follow-links, use it in file-system-info on linux. add
docs and unit tests.  fix indentation
2008-12-18 18:32:00 -06:00
Slava Pestov 92141af349 Get mason to load 2008-12-17 18:22:48 -06:00
Slava Pestov c5160d76e9 Merge qualified, alias, symbols, constants into core 2008-12-17 18:10:01 -06:00
Doug Coleman 8e0ff1989b fix load error by making a word windows-file-size independent of the file-size word
add constants
2008-12-16 14:35:37 -06:00
Doug Coleman a92425adef fix launcher tests 2008-12-16 12:53:04 -06:00
Doug Coleman 13b4840893 fix windows file append 2008-12-16 12:49:00 -06:00
Slava Pestov 63fda570bf Fixing assorted compile errors and help lint warnings 2008-12-16 01:12:36 -06:00
Slava Pestov 034022ec7f Add meta-data 2008-12-16 00:43:32 -06:00
Doug Coleman 930f9ac638 Merge branch 'master' of git://factorcode.org/git/factor 2008-12-15 22:44:20 -06:00
Doug Coleman bc4b8c8dee fix using and in, rename windows -> windows-directory in shell32 2008-12-15 21:45: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
U-SLAVA-DFB8FF805\Slava 53db40ba13 Add more stack declarations 2008-12-13 05:06:28 -06:00
U-SLAVA-DFB8FF805\Slava 25c2d5d0e4 Merge branch 'master' of git://factorcode.org/git/factor 2008-12-13 04:50:18 -06:00
Slava Pestov 5cb18d51b3 Fixing test-all and help-lint-all failures 2008-12-15 03:33:04 -06:00
U-SLAVA-DFB8FF805\Slava cccacdaa5a io.backend.windows.nt needs to set io-backend 2008-12-13 04:49:28 -06:00
U-SLAVA-DFB8FF805\Slava df2641a9ee Merge branch 'master' of git://factorcode.org/git/factor 2008-12-13 04:41:58 -06:00
slava 82e452a885 Fix Linux bootstrap 2008-12-15 02:18:59 -06:00
Slava Pestov 7b62d19924 Oops 2008-12-15 02:02:22 -06:00
Slava Pestov 023ae576b5 Updating unit tests for io.files split 2008-12-15 01:40:50 -06:00
Slava Pestov e15c3cc901 Updating Windows I/O backend for recent changes 2008-12-15 01:32:21 -06:00
Slava Pestov e0f86889c7 Fixing load-everything for io.files split 2008-12-15 01:13:35 -06:00
Slava Pestov 59a5e554d4 Split up io.directories further, move file types to io.files.types. Bunny demo no longer pulls in file-info and file-system-info code, reducing image size by 35kb 2008-12-15 00:01:06 -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
U-SLAVA-DFB8FF805\Slava cf39fd29f8 Fix Windows bootstrap 2008-12-13 04:41:33 -06:00
Slava Pestov 323de69e88 Remove obsolete tests 2008-12-12 23:57:28 -06:00
Slava Pestov 5ecffec1b9 Clean up run loop I/O multiplexer and make most of it independent of the I/O system; the UI will use it too 2008-12-12 23:57:16 -06:00
Slava Pestov bb45fa93a7 Add a way to stop the io thread 2008-12-12 23:56:19 -06:00
Slava Pestov 8433a9954a Fix dispose method on run-loop-mx 2008-12-12 19:48:34 -06:00
Slava Pestov 0ba2c964af Remove obsolete file, add unit tests for core-foundation.run-loop, add <CFTimer> word 2008-12-12 02:18:50 -06:00
Slava Pestov 46a1089fd8 Split up core-foundation vocabulary since it was getting out of hand 2008-12-12 00:33:05 -06:00
Slava Pestov e9d80dcb63 Move Unix I/O multiplexers to io.unix.multiplexers, new run loop-based multiplexer integrates a kqueue with a CFRunLoop on Mac OS X 2008-12-11 22:48:19 -06:00
Slava Pestov c679ae025b Rename tools.disassembler.udis:& to alien.syntax:&: and fix it to survive image save/load 2008-12-11 00:03:58 -06:00
Slava Pestov 717bceb6ff Use kqueue on BSD 2008-12-10 20:24:22 -06:00
Slava Pestov f849e41c7e Fix select MX 2008-12-10 20:23:37 -06:00
Slava Pestov d327786cb9 kqueue and epoll code wasn't checking for EINTR properly, leading to hangs 2008-12-10 20:10:47 -06:00
Slava Pestov 51ee6be047 Clarify wait-for-process docs 2008-12-10 19:16:49 -06:00
Slava Pestov e57b28b6e1 Check for signal exit status 2008-12-10 17:30:07 -06:00
Doug Coleman 2af947b08e fix using for recent change 2008-12-10 14:43:56 -06:00
Doug Coleman 164f8ccb67 parse the fsid_t for the rest of the platforms 2008-12-10 14:28:22 -06:00
slava e42de00371 Fix some bugs in epoll, and use it on Linux 2008-12-09 20:55:42 -06:00
Slava Pestov a4fc4046a0 Updating epoll code 2008-12-09 20:01:23 -06:00
Doug Coleman 2f79e5256d fsid[2] -> 2array on mac 2008-12-09 18:17:16 -06:00
Doug Coleman 26806f9d7a remove a line of debugging 2008-12-09 17:53:17 -06:00
Doug Coleman dffb8c961b Merge branch 'master' of git://factorcode.org/git/factor 2008-12-09 17:51:48 -06:00
Slava Pestov c2504f207d Use kqueue on Mac OS X instead of select 2008-12-09 17:49:03 -06:00
Doug Coleman 35117a0e49 add more fields to io.windows.files 2008-12-09 17:44:37 -06:00
Slava Pestov 9ab4d53213 Fix io.encodings.utf16n unit tests 2008-12-09 04:22:24 -06:00
U-SLAVA-DFB8FF805\Slava 2676807f72 Fix typo 2008-12-03 23:53:08 -06:00
Slava Pestov 1e1640abb3 Load fixes 2008-12-09 03:22:38 -06:00
Slava Pestov 5443217876 Merge branch 'untangle' 2008-12-09 00:03:49 -06:00
Slava Pestov fa472f2657 Merge branch 'master' of git://factorcode.org/git/factor 2008-12-09 00:02:55 -06:00
Slava Pestov b154b21aaa Add new until combinator, and a new do word which acts like a modifier: do while, do until for loops which iterate at least once 2008-12-08 23:37:18 -06:00
Doug Coleman 08d0035ac8 document new unique word 2008-12-08 21:53:42 -06:00
Doug Coleman 154bc260c6 remove io.files.unique.backend
rename (make-unique-file) to touch-unique-file
2008-12-08 21:32:36 -06:00
Doug Coleman 101bc66b2b add a unit test to io.paths 2008-12-08 21:32:19 -06:00
Doug Coleman 971a6c89be move io.paths from extra to basis 2008-12-08 21:31:41 -06:00
Slava Pestov 1d57b0bc50 Fix load errors 2008-12-08 20:06:44 -06:00
Slava Pestov ada08e6d0e Removing prettyprint and debugger dependencies from io code 2008-12-08 19:45:48 -06:00
Slava Pestov 4f0a9f311e Untangling some dependencies 2008-12-08 14:58:00 -06:00
Slava Pestov f8bce98850 Remove unnecessary prettyprinter and debugger dependencies from UI 2008-12-08 13:58:57 -06:00
Doug Coleman 14fb58f448 swap ... 3append -> surround in basis 2008-12-06 18:58:45 -06:00
Doug Coleman 45e428f186 fix file-systems on mac 2008-12-06 18:25:35 -06:00
Slava Pestov d62e867db3 Dusting off old kqueue code 2008-12-06 17:35:15 -06:00
U-SLAVA-DFB8FF805\Slava e45776bb4e Merge branch 'master' of git://factorcode.org/git/factor 2008-12-03 23:33:04 -06:00
U-SLAVA-DFB8FF805\Slava 3b06cee83c Obsolete tests 2008-12-03 23:32:51 -06:00
Doug Coleman db30415dcb basis: swap 3append -> glue 2008-12-03 19:10:41 -06:00
Doug Coleman 1b0b74bfe1 call utf8 alien>string instead of alien>native-string 2008-12-03 18:16:17 -06:00
Doug Coleman f75fdc5744 Merge branch 'master' of git://factorcode.org/git/factor 2008-12-03 14:13:24 -06:00
Slava Pestov 9354207a5f Fix io.mmap.ushort 2008-12-03 12:51:26 -06:00
Doug Coleman 06388da30d Merge branch 'master' of git://factorcode.org/git/factor 2008-12-03 10:03:37 -06:00
U-SLAVA-DFB8FF805\Slava cb5dd5c235 Get io.mmap to load on Windows again 2008-12-03 08:58:20 -06:00
Doug Coleman c4a06d4a60 Merge branch 'master' of git://factorcode.org/git/factor 2008-12-03 08:34:59 -06:00
U-SLAVA-DFB8FF805\Slava da9b38caae Fix Windows bootstrap 2008-12-03 06:52:16 -06:00
Slava Pestov e9abdef5c5 Fix io.mmap help lint failures 2008-12-03 06:18:18 -06:00
Doug Coleman 3d17175926 move io.files.unique to basis 2008-12-03 05:24:47 -06:00
Slava Pestov 46b0df1e18 Merge branch 'master' of git://factorcode.org/git/factor 2008-12-03 03:34:38 -06:00
Doug Coleman 68757f0a99 revert id change 2008-12-03 00:19:52 -06:00
Slava Pestov 4eacebe3a3 Merge branch 'specialized-arrays' 2008-12-03 00:08:38 -06:00
Doug Coleman 8edcf841f1 back to using getmntinfo64 instead of getfsstat64 on mac 2008-12-02 23:10:27 -06:00
Slava Pestov aa3e1cdb6c mapped-file no longer supports sequence protocol. Instead, io.mmap.functor generates mapped arrays for all primitive C types 2008-12-02 21:50:34 -06:00
Doug Coleman 7527a3d62d move io.files.listing to tools.files and update usages 2008-12-02 21:49:59 -06:00
Doug Coleman 2b4e2776f1 break out id into id0 and id1 2008-12-02 21:39:09 -06:00
Doug Coleman 201c02414a file-systems works on netbsd now 2008-12-02 21:32:00 -06:00
Doug Coleman 0c7327a572 Merge branch 'master' of git://factorcode.org/git/factor 2008-12-02 20:23:27 -06:00
erg 2d71132527 file-system-info on linux now shows more information 2008-12-02 20:41:57 -06:00
Doug Coleman 89a0286c3b fix file-systems on freebsd 2008-12-02 20:16:53 -06:00
Slava Pestov 350e697615 Merge branch 'master' into specialized-arrays 2008-12-02 20:07:14 -06:00
Doug Coleman 9e3bc2b1a0 use getfsstat instead of getmntinfo on macosx 2008-12-02 19:18:48 -06:00
Slava Pestov 1ac4b92051 Merge branch 'master' into specialized-arrays 2008-12-02 16:20:32 -06:00
sheeple f887d71965 file-systems on openbsd 2008-12-02 15:59:01 -06:00
Doug Coleman 9ac3f13b2a Call statfs on OpenBSD. Clean up unused code 2008-12-02 17:43:07 -06:00
Slava Pestov 74a112f1cf Update cpu.x86.basis/io to use dip instead of >r/r> 2008-12-02 03:10:13 -06:00
Slava Pestov af60dfa050 Update io.windows.launcher to use dip instead of >r/r> 2008-12-02 03:09:39 -06:00
Slava Pestov 60688848f2 Update io.mmap to use dip instead of >r/r> 2008-12-02 03:09:25 -06:00
Slava Pestov 402da00390 Fixing bootstrap with specialized arrays 2008-12-02 02:44:19 -06:00
Slava Pestov 722989d895 Merge branch 'master' of git://factorcode.org/git/factor into specialized-arrays 2008-12-01 21:55:32 -06:00
Doug Coleman c178718bb3 fix openbsd 2008-12-01 21:53:30 -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
Slava Pestov f51708386d Fix conflicts 2008-12-01 20:39:43 -06:00
Slava Pestov 52c5b53e27 Refactoring usages of >r, r>, -rot, rot 2008-11-30 22:21:37 -06:00
Slava Pestov b5a04f6a5d Clean up code duplication 2008-11-30 19:13:42 -06:00
Doug Coleman 463f8bd7f9 Merge branch 'master' of git://factorcode.org/git/factor 2008-11-30 18:32:08 -06:00
Doug Coleman 439f91bb84 fix usings 2008-12-01 20:30:52 -06:00
Doug Coleman 18777c5a36 Merge branch 'master' of git://factorcode.org/git/factor 2008-12-01 16:41:36 -06:00
erg dfde2dfef3 fix file-system-info on linux 2008-12-01 16:28:22 -06:00
Doug Coleman 72db24ad65 Merge branch 'master' of git://factorcode.org/git/factor
Conflicts:
	basis/unix/statfs/netbsd/netbsd.factor
2008-12-01 14:07:56 -06:00
Doug Coleman 2a34339e65 make a generic protocol for filling in the file-system-info obj in io.unix.files 2008-12-01 14:04:55 -06:00
Slava Pestov 6dce834d91 Get rid of some more >r/r> usages 2008-11-30 18:28:15 -06:00
Doug Coleman da3936a162 fix netbsd file-system-info 2008-11-30 17:32:55 -06:00
Doug Coleman bc7739ec1d Merge branch 'master' of git://factorcode.org/git/factor 2008-11-30 14:38:29 -06:00
Slava Pestov 4b62fb68f1 Documentation update 2008-11-30 13:52:26 -06:00
Slava Pestov 4ec8326917 Move underlying-handle word from io.launcher to io.ports, add a new underlying-port word
Add a remote-address symbol to io.sockets, with-client binds it, ditto for io.servers.connection
io.sockets.secure now has two new words, send-secure-handshake, accept-secure-handshake, to upgrade existing connections
2008-11-30 13:46:39 -06:00
Slava Pestov eedf58c5ef Add platform support note 2008-11-30 10:18:29 -06:00
Slava Pestov e8a69a3aea Fix conflict 2008-11-29 05:14:49 -06:00
Slava Pestov a264adc74c Forgot that us parameter might be f 2008-11-24 05:45:57 -06:00
Slava Pestov b48c051b1b Fix Windows overlapped timeout code for microseconds 2008-11-24 00:51:29 -06:00
Slava Pestov 1409ddf15c Fix load error 2008-11-23 03:26:25 -06:00
Slava Pestov a08c9d7e6c Merge branch 'master' of git://factorcode.org/git/factor 2008-11-23 03:26:16 -06:00
Slava Pestov 7788b3e0db Merge branch 'master' into microseconds 2008-11-23 03:06:32 -06:00
Slava Pestov 304ee19a3b Forgot to add a vocab 2008-11-23 02:36:26 -06:00
Slava Pestov 7418fd9df4 Move code out of openssl vocabulary 2008-11-23 01:00:29 -06:00
U-SLAVA-DFB8FF805\Slava a7bc139c1e Don't load io.sockets during bootstrap on Windows 2008-11-22 03:18:33 -06:00
Doug Coleman f5b19f8c31 add the characters for ls -F to io.files.listing 2008-11-19 21:15:27 -06:00
Doug Coleman 4849636fd7 remove attribute if it's the same as the type 2008-11-19 16:45:13 -06:00
Doug Coleman 1ef21ba2d3 add type to directory-entry on windows 2008-11-19 16:40:50 -06:00
Doug Coleman 25d9fd68fc translate directory-type flags to our factor symbols 2008-11-19 16:22:42 -06:00
Slava Pestov f3911ea09a Merge branch 'master' of git://repo.or.cz/factor/jcg 2008-11-19 13:02:55 -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 281657dd82 Fix conflict 2008-11-18 22:18:14 -06:00
Slava Pestov bec8cc4239 Add unit test to assert that directory. can infeR 2008-11-18 11:46:51 -06:00
unknown 1c33e993da Tweak launcher test: it failed without cygwin 2008-11-17 18:43:10 -06:00
unknown d013967180 Make io.servers.connection work if SSL is not available 2008-11-17 18:42:44 -06:00
U-SLAVA-DFB8FF805\Slava 0eee4f89d4 Mess around with tags 2008-11-17 06:59:17 -06:00
Slava Pestov 143f078dd8 Fix io.sockets docs for when io.sockets.secure isn't loaded 2008-11-16 11:33:38 -06:00
Slava Pestov 9bf63b1613 New $quotation markup element 2008-11-16 09:03:30 -06:00
Slava Pestov 93e9e34175 Add $maybe markup element 2008-11-16 06:02:13 -06:00
Slava Pestov 2fe364a7bb Specialized arrays work in progress 2008-11-14 20:18:16 -06:00
Doug Coleman 7bb5ab8752 fix load error, document directory. 2008-11-14 00:55:17 -06:00
Doug Coleman 7b5f7f95fb make more words private 2008-11-14 00:51:14 -06:00
Doug Coleman 867669f208 fix listing on unix 2008-11-14 00:44:01 -06:00
Doug Coleman 739f02d7c0 move ls to io.files.listing 2008-11-14 00:25:00 -06:00
Doug Coleman 5f6421af5d use win32-file-attributes word 2008-11-14 00:03:24 -06:00
Doug Coleman 89a5957033 add file-type>ch and ch>file-type 2008-11-13 19:32:34 -06:00
Joe Groff a9f8856b0d make shader code in spheres a little more readable 2008-11-13 09:49:18 -08:00
Doug Coleman 1f85b7ec14 catch errors for windows file-systems word and return a tuple with just a mount point
this happens on empty floppy disk drives
2008-11-11 15:35:17 -06:00
Doug Coleman 146340690f implement file-systems on windows 2008-11-11 15:17:35 -06:00
Slava Pestov 1d630b6cf2 Minor documentation fixes 2008-11-11 10:51:15 -06:00
Slava Pestov 4d317e2d46 Merge branch 'master' of git://github.com/glguy/factor 2008-11-10 00:30:27 -06:00
Slava Pestov b8eebd5c2b swap over == tuck; dupd swap == over 2008-11-10 00:16:11 -06:00
U-SLAVA-DFB8FF805\Slava 429fe85f46 Fix compile error 2008-11-09 17:27:39 -06:00
Slava Pestov b7dc7296db Implement stream-read on memory-streams. This allows alien>string to work with utf16 encoding 2008-11-06 13:42:53 -06:00
Slava Pestov 63a9975a0e Support inline, foldable, flushable on methods; add declarations in a couple of places for ricing purposes 2008-11-06 13:13:37 -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