Commit Graph

226 Commits (0b0e46085776ad8e7b51a3b907e9de9953249c1d)

Author SHA1 Message Date
Eduardo Cavazos 52d52fa314 io.unix.kqueue: fix using 2008-03-01 15:19:51 -06:00
Eduardo Cavazos 29ef996639 Move time related items from unix to unix.time 2008-03-01 07:11:44 -06:00
Doug Coleman ac6c91d5a6 fix bootstrap 2008-02-29 17:44:53 -06:00
Doug Coleman b7f9aac210 fix with-unique-file 2008-02-29 17:10:22 -06:00
Daniel Ehrenberg efb3367c45 Merge branch 'master' of git://factorcode.org/git/factor into unicode
Conflicts:

	core/io/files/files-docs.factor
	core/io/files/files-tests.factor
	core/io/files/files.factor
	core/listener/listener.factor
	extra/benchmark/sum-file/sum-file.factor
	extra/bootstrap/image/upload/upload.factor
	extra/http/server/templating/templating.factor
	extra/logging/server/server.factor
	extra/smtp/smtp.factor
	extra/tools/deploy/macosx/macosx.factor
	extra/tools/disassembler/disassembler.factor
	extra/webapps/file/file.factor
2008-02-29 01:20:44 -06:00
Doug Coleman ad2d06806b s/temporary/unique/ 2008-02-29 00:55:24 -06:00
Doug Coleman 6cb5f76893 Merge branch 'master' of git://factorcode.org/git/factor 2008-02-29 00:11:11 -06:00
Doug Coleman 499948047a rename io.files.temporary to io.files.unique
write documentation
2008-02-29 00:10:37 -06:00
Eduardo Cavazos c9b73f062b Implement file-info 2008-02-28 23:46:27 -06:00
Doug Coleman b71d7bc422 Merge branch 'master' of git://factorcode.org/git/factor 2008-02-28 15:43:06 -06:00
Doug Coleman 48e305ee49 add words for dealing with temporary files
not tested on windows
2008-02-28 15:42:07 -06:00
Eduardo Cavazos e39783b10a unix: Refactor more things out of unix and into unix.stat
unis.stat: Move some common code to unix.stat from
           unix.stat.linux and unix.stat.macosx
2008-02-28 12:46:01 -06:00
Slava Pestov 9c82591ca6 Documentation improvements 2008-02-27 16:31:13 -06:00
Slava Pestov fef5ebec01 io.files overhaul 2008-02-27 14:59:15 -06:00
Slava Pestov dddf4a0de8 Fail gracefully if inotify is not available 2008-02-26 03:31:36 -06:00
Daniel Ehrenberg 52f04dcfa4 Fix unit tests 2008-02-26 01:24:40 -06:00
Daniel Ehrenberg f7a2bc066c Merge branch 'master' of git://factorcode.org/git/factor into unicode
Conflicts:

	extra/io/unix/unix-tests.factor
	extra/ogg/player/player.factor
2008-02-26 00:31:34 -06:00
Slava Pestov 84016a36c0 Regression fixes 2008-02-25 19:37:43 -06:00
Daniel Ehrenberg 63e04a9b17 Fixing Unix I/O tests 2008-02-25 14:24:44 -06:00
Daniel Ehrenberg 08a3d0ba12 Making things bootstrap, partial fix for client 2008-02-25 13:54:35 -06:00
Daniel Ehrenberg 4ad96fc4ea Merge branch 'master' into unicode
Conflicts:

	core/io/streams/c/c-tests.factor
	extra/benchmark/mandel/mandel.factor
	extra/benchmark/raytracer/raytracer.factor
	extra/http/client/client.factor
2008-02-24 13:00:06 -06:00
Daniel Ehrenberg 75f1fb5246 Various refactorings of streams with encodings 2008-02-24 01:37:05 -06:00
Daniel Ehrenberg a4963a9217 Fixing Unix/Windows init-stdio 2008-02-22 20:41:14 -06:00
Daniel Ehrenberg 72e15848bf More changes for encodings 2008-02-22 20:21:23 -06:00
Slava Pestov 3eba715778 Merge branch 'master' of git://factorcode.org/git/factor 2008-02-21 23:08:22 -06:00
Eduardo Cavazos 09e5564435 Use temp-file in a few tests and benchmarks 2008-02-21 22:08:51 -06:00
Slava Pestov 666c7803f7 Fixes 2008-02-21 20:57:41 -06:00
Daniel Ehrenberg 1b80c453fd Little changes for encodings 2008-02-21 19:09:53 -06:00
Daniel Ehrenberg 8249ce2116 OK, now everything should load 2008-02-21 18:05:04 -06:00
Daniel Ehrenberg 8437c0ec3c Merge branch 'slava/master' into unicode
Conflicts:

	core/io/files/files-tests.factor
	core/io/files/files.factor
	extra/benchmark/reverse-complement/reverse-complement.factor
	extra/cpu/8080/emulator/emulator.factor
	extra/io/unix/unix-tests.factor
	extra/logging/server/server.factor
	extra/raptor/raptor.factor
	extra/tar/tar.factor
	extra/tools/disassembler/disassembler.factor
2008-02-21 15:45:17 -06:00
Daniel Ehrenberg e918cf6de0 More changes wrt encodings 2008-02-21 15:22:49 -06:00
Slava Pestov 5f02713533 Fix stack effect 2008-02-21 02:31:37 -06:00
Slava Pestov 37e0e28f35 Implement new box data type, fix various bugs, add status parameter for suspend, threads. now prints thread state 2008-02-19 14:38:02 -06:00
Slava Pestov 9edb5875e3 Less drastic changes 2008-02-18 07:30:16 -06:00
Slava Pestov 2c6afdfee6 Working on new threads 2008-02-18 05:07:40 -06:00
Daniel Ehrenberg 62f9ed5dbd putting encodings on all file readers/writers 2008-02-16 22:17:41 -06:00
Daniel Ehrenberg 63ba6faee2 Changes to I/O system for encodings 2008-02-16 15:35:44 -06:00
Daniel Ehrenberg b265c0d1dc Merge branch 'master' into unicode 2008-02-16 00:54:18 -06:00
Daniel Ehrenberg f6845d43d3 Massive name change in files, string streams 2008-02-15 22:20:31 -06:00
sheeple 2400d9a259 Merge branch 'master' of git://factorcode.org/git/factor 2008-02-15 14:16:58 -06:00
sheeple be9989cf3d More efficient io.unix.select 2008-02-15 14:16:28 -06:00
Doug Coleman 09569ee512 add current-process-handle to io.launcher
make tools.disassembler work on windows
2008-02-14 23:29:06 -06:00
Slava Pestov ce076166fe Fix +closed+ 2008-02-14 02:20:20 -06:00
sheeple 748231e3d1 Fix Linux bootstrap 2008-02-12 11:42:43 -06:00
Slava Pestov 5912cad83f Forgot to invoke callback 2008-02-12 12:19:25 -06:00
Slava Pestov e4426eb01a Mac OS X monitors load 2008-02-12 02:33:06 -06:00
Slava Pestov ff6f72412d Merge branch 'new_monitors' of git://factorcode.org/git/factor 2008-02-12 02:21:53 -06:00
Slava Pestov e64089fd0a Mac OS X monitors work in progress 2008-02-12 02:21:47 -06:00
Slava Pestov 1a23b975f2 Cleaning up monitors; add simple-monitor abstraction 2008-02-12 02:19:18 -06:00
Eduardo Cavazos 230129e7e9 Merge git://factorcode.org/git/factor 2008-02-10 00:35:41 -06:00
Eduardo Cavazos 72313d0b4f io.unix.launcher: Fix io bug which caused problems during bootstrap 2008-02-10 00:35:18 -06:00
sheeple b02f42e0d3 Fix load issue on Unix 2008-02-09 17:18:57 -06:00
Slava Pestov be28fbd45d Document io.timeouts 2008-02-09 22:28:22 -06:00
Slava Pestov c8f042aef4 Redo timeouts 2008-02-09 21:34:42 -06:00
Slava Pestov 6df325c168 Moved little-endian? to alien.c-types 2008-02-08 01:49:30 -06:00
Slava Pestov be2c8b13d7 Rename unit-test-fails to must-fail and add must-fail-with to replace [ t ] [ [ ... ] catch ... ] unit-test idiom 2008-02-06 13:47:19 -06:00
Doug Coleman 537d945660 fix getcwd 2008-02-05 23:14:10 -06:00
Doug Coleman 4439e394cc fix getcwd 2008-02-05 23:04:31 -06:00
Slava Pestov f8df69d9a1 Rename io.monitor to io.monitors; add log-viewer demo 2008-02-05 18:00:24 -06:00
Slava Pestov 898770f774 Bootstrap fixes 2008-02-05 17:31:27 -06:00
Slava Pestov ba1a958a32 Move cd and cwd primitives to native I/O, fix Windows normalize-pathname 2008-02-05 13:11:36 -06:00
Slava Pestov 87887a1165 Monitors tweak 2008-02-04 23:30:49 -06:00
Slava Pestov f1989fc8c6 Fix io.launcher again 2008-02-04 20:10:00 -06:00
sheeple 46e02fa30d Linux inotify works 2008-02-04 11:50:02 -06:00
Slava Pestov f4244e7caf Fix Unix launcher 2008-02-03 15:55:59 -06:00
Slava Pestov d92361286d Add kill-process and flesh out inotify 2008-02-03 14:23:14 -06:00
sheeple ff46bfaa96 Linux inotify support work in progress 2008-02-02 11:51:16 -06:00
Slava Pestov d58cc176fe Merge branch 'master' of git://factorcode.org/git/factor 2008-02-02 16:23:34 -06:00
Slava Pestov ff40513165 Cleaning up monitors in preparation for Linux inotify 2008-02-02 16:23:04 -06:00
Slava Pestov ba6660cabe Fix bootstrap 2008-02-02 15:44:43 -06:00
Slava Pestov 36a43a6c3f Fix conflict 2008-02-02 13:36:26 -06:00
Slava Pestov 8575bc62e3 Updating extra/ to use flags 2008-02-02 13:29:09 -06:00
Slava Pestov 4d24978507 Fix IO timeouts 2008-02-02 00:30:47 -06:00
Slava Pestov 8dd333cbb5 Fix unit tests and fix string clone 2008-02-01 16:02:02 -06:00
Doug Coleman 71bac0da21 Load fixes 2008-01-31 23:59:29 -06:00
Slava Pestov 92ebcc3619 New timeout implementation 2008-01-31 12:27:37 -06:00
Slava Pestov 926e09a46a New dispose word and with-dispose combinator, docs for io.monitor, working on O(1) stream timeouts 2008-01-31 00:52:06 -06:00
Eduardo Cavazos c9fd6f2c8d Merge branch 'master' of git://factorcode.org/git/factor 2008-01-29 13:44:09 -06:00
Eduardo Cavazos 83aa8d0d6e Fix wait loop bug (fixed by Slava) 2008-01-27 19:10:28 -06:00
Slava Pestov 1c91a286e5 Updating summary and authors 2008-01-27 01:02:31 -04:00
Doug Coleman d09bc942ac Get file redirection working in Unix io.launcher 2008-01-25 00:21:49 -06:00
Slava Pestov 62f076d0c3 Fix FD leak 2008-01-24 23:48:28 -04:00
Slava Pestov 00d2122a4c Working on Unix io.launcher redirection 2008-01-24 23:45:56 -04:00
Doug Coleman 0b4be5f0a2 Fix Unix io.launcher 2008-01-24 22:41:55 -06:00
Slava Pestov b5a337bb2a Fix Linux I/O 2008-01-24 21:10:17 -04:00
Slava Pestov 6afa4119c8 Clean up non-blocking wait-for-process support, implement on Unix (untested) 2008-01-24 04:19:15 -04:00
Slava 42e97d4629 epoll works but not for files; disable it for now 2008-01-23 03:30:16 -05:00
Slava 09eb56d0c2 epoll almost works 2008-01-23 03:07:15 -05:00
Slava 68ac7b81d4 Merge branch 'master' of /git/factor 2008-01-23 01:49:04 -05:00
Slava 81c5b413f4 Working on epoll 2008-01-23 01:49:01 -05:00
Slava Pestov 157043ad19 Minor I/O backend tweak 2008-01-23 02:45:55 -04:00
Slava Pestov c1963dd4ab I/O cleanups 2008-01-21 15:33:43 -05:00
Slava Pestov eb5644ad5f Unix I/O re-working; nested multiplexer support, use kqueue on *bsd to wait for process completion, start Linux epoll support 2008-01-20 17:07:18 -05:00
Slava Pestov 1302a8055d More kqueue work 2008-01-20 13:13:04 -05:00
Doug Coleman 80fcbf2514 add missing use 2008-01-19 10:18:52 -10:00
Slava Pestov 74329237e6 kqueue work in progress 2008-01-18 20:29:43 -05:00
Slava Pestov 309a1c179c Add stderr stream; more Unix I/O work 2008-01-18 19:43:14 -05:00
Slava Pestov 588253dfe3 Cleaning up Unix I/O 2008-01-18 18:18:54 -05:00
Slava Pestov 2180b0f146 Fix init-stdio scope issue 2008-01-09 01:50:25 -05:00
Slava Pestov 825601ccc7 More circularity fixes 2008-01-05 20:37:13 -04:00
Slava Pestov 30541ec78a Make parser constructor MEMO: again 2007-11-24 20:27:09 -05:00
Slava Pestov 72fe4e2d70 clean up io.unix.launcher parser, and parser-combinators 2007-11-24 20:19:39 -05:00
Slava Pestov 026c4186f1 Clean up io.unix.launcher command parser 2007-11-24 19:37:21 -05:00
Slava Pestov 82e98dac8b Cleanup 2007-11-24 18:44:04 -05:00
Slava Pestov 84076184dd Add missing USE: 2007-11-24 18:32:19 -05:00
Slava Pestov 1cd5d8bacb io.unix.launcher no longer depends on /bin/sh! Down with the GNU establishment! 2007-11-24 18:09:30 -05:00
Slava Pestov 90731836af Fix unix mmap 2007-11-24 16:32:59 -05:00
Slava Pestov 032fd57328 Document io.mmap and add mapped-file-closed? flag check 2007-11-17 01:49:06 -05:00
Eduardo Cavazos 44a5e155ab Update vocabs for new with-fork 2007-11-15 17:06:40 -06:00
Eduardo Cavazos 68515d7105 Factor unix.process stuff out of io.unix.launcher 2007-11-14 17:35:43 -06:00
Slava Pestov 5262801398 io.launcher updates and destructors cleanup 2007-11-13 01:10:26 -05:00
Slava Pestov e1ace82429 Improved io.launcher 2007-11-12 23:18:42 -05:00
Slava Pestov 8e9ad8cd1a Merge branch 'master' of git://factorcode.org/git/factor 2007-11-12 01:44:59 -05:00
Slava Pestov a6ef4582c3 io.files now has a path-separator? hook; cleanup 2007-11-12 01:41:13 -05:00
Eduardo Cavazos 232ce7d9f4 Restored io.unix.launcher to previous state 2007-11-11 12:11:07 -06:00
Slava Pestov 3619953a15 Merge git://factorcode.org/git/factor 2007-11-09 03:19:21 -05:00
Slava Pestov 1a53979740 Fix with-fork stack effect 2007-11-09 03:18:37 -05:00
Slava Pestov 32df75da83 I/O backend cleanups, mostly CE 2007-11-09 03:01:45 -05:00
Eduardo Cavazos 9ae82bf050 Fix USING: in io.unix.launcher 2007-11-09 01:24:37 -06:00
Eduardo Cavazos 81c0bef366 Added exec* words and wait-for-pid to io.unix.launcher 2007-11-08 21:41:36 -06:00
Slava Pestov 3efc9c7973 Windows I/O cleanups, fix accept on CE 2007-11-07 14:01:45 -05:00
Slava Pestov d8d1da96d7 Update libraries for parent-dir rename 2007-11-05 00:46:03 -05:00
Slava Pestov de582084a4 Refactor I/O a bit so that C types are resolved at compile time -- better for deployment 2007-11-04 17:32:18 -05:00
Slava Pestov 2589c69c04 Unix launcher: use execvp instead of execve 2007-09-22 02:27:53 -04:00
Slava Pestov a96457cecc Initial import 2007-09-20 18:09:08 -04:00
Doug Coleman c1afb4b093 remove stat tests
overhaul unique files
2008-03-20 16:52:22 -05:00