Keita Haga
a093c454c1
io.launcher: fix typo in docs
2011-01-08 23:10:35 +09:00
Doug Coleman
4ca9bd0bba
Remove usages of <void*> and *void*
2010-10-25 13:22:50 -05:00
Doug Coleman
f791c8c5d2
Squashed commit of the following:
...
commit 197dbe9a6733775ac0ea19b3da4bd4dc3c85418c
Author: Doug Coleman <doug.coleman@gmail.com>
Date: Sat Sep 18 19:01:38 2010 -0500
Fix bootstrap, move privileges to windows.privileges
commit 521c622f8afb15bf42d263c738cb990560dc29cb
Author: Doug Coleman <doug.coleman@gmail.com>
Date: Sat Sep 18 18:26:30 2010 -0500
Hopefully fix bootstrap
commit eb3f22928b59758b9505430034044b5b94705da2
Author: Doug Coleman <doug.coleman@gmail.com>
Date: Sat Sep 18 18:19:05 2010 -0500
Remove wince from factor codebase
commit 619d6c99415f46208a7ede6a04b0ccda46b15360
Author: Doug Coleman <doug.coleman@gmail.com>
Date: Sat Sep 18 16:07:46 2010 -0500
Remove Windows CE from vm/
2010-09-19 19:13:25 -05:00
Doug Coleman
7122f9fccb
Make sure io.backend.windows loads the implementations for the generics it defines. Make windows.handles not depend on io.timeouts. Fix typo in win32-file-attributes. Fix bug in null-output word. Clean up error checking code.
2010-09-17 14:19:10 -05:00
Doug Coleman
5c8316be07
Move win32-handle to windows.handles and update using lists to avoid pulling in the io backend where not necessary
2010-09-16 15:40:36 -05:00
Slava Pestov
29028d8aea
io.launcher.unix: clumsy fix for a race condition
2010-09-04 12:00:23 -07:00
Slava Pestov
7374d868e7
Change how SIGPIPE is ignored, and add a unit test to io.launcher.unix to ensure that this ignoredness is not inherited by child processes
2010-09-02 22:11:45 -07:00
Slava Pestov
446ee6896d
alien.data: remove second quotation parameter from with-out-parameters, now all values are copied properly and calling 'clone' on structs in this quotation is not necessary
2010-07-16 17:32:05 -04:00
Slava Pestov
66fcab3721
Fixes for out parameter changes
2010-05-23 03:27:40 -05:00
Slava Pestov
70a99e1cdb
Updating code to use with-out-parameters
2010-05-23 03:07:47 -04:00
Slava Pestov
627295f094
Language change: tuple slot setter words with stack effect ( value object -- ) are now named FOO<< instead of (>>FOO)
2010-05-06 17:21:02 -04:00
Slava Pestov
64ab598225
io.launcher.unix: add timeout to a test
2010-05-03 17:34:33 -04:00
Joe Groff
ba2fa96eeb
unix: don't hack _exit to have a terminating effect; just use FUNCTION:
2010-04-14 22:04:04 -07:00
Slava Pestov
f1e19aabdb
threads: simplify 'suspend' combinator
2010-03-28 08:29:53 -04:00
Slava Pestov
eab105590b
Rename io.launcher.unix.parser to simple-tokenizer since ftp.server uses it
2010-02-21 17:48:04 +13:00
Slava Pestov
95bfc8a240
vocabs.metadata: replace unportable tag with a platforms.txt file for more fine-grained control. Rename unportable tag to untested for remaining cases
2010-02-20 13:30:49 +13:00
Slava Pestov
e2500c14d2
io.launcher.unix: sometimes both WIFEXITED and WIFSIGNALED would return true, and the wrong status would be reported
2010-02-07 18:17:53 +13:00
Slava Pestov
2022c2a83e
io.launcher.windows: include launch descriptor in error thrown when launching a process fails
2010-02-01 12:39:29 -06:00
Doug Coleman
8d952277a2
Handle EINTR in a lot of cases where it wasn't handled before. Split off unix into unix.ffi and unix.
2010-01-22 12:59:24 -06:00
Slava Pestov
790c7afeaf
io.launcher: since process timeouts only kick in when wait-for-process is called, try-output-process would hang indefinitely. Fix this by splitting up wait-for-process and wrapping stream-contents in a with-timeout
2010-01-22 12:20:37 -06:00
Slava Pestov
c222e5b6b1
io.launcher.unix: tests don't hang on failure
2009-11-22 13:49:10 -06:00
Slava Pestov
0612bc6177
Factor source files should not be executable
2009-11-21 17:50:43 -06:00
Doug Coleman
cc194416f9
Merge branch 'master' into startup
...
Conflicts:
core/bootstrap/primitives.factor
vm/run.hpp
2009-11-15 02:52:50 -06:00
Slava Pestov
064c00f78d
New identity-hashcode primitive
2009-11-10 21:18:54 -06:00
Joe Groff
61d579360d
remove non-primitive-related uses of tuck from basis
2009-11-05 17:03:24 -06:00
Doug Coleman
17f0a5d41a
Merge branch 'master' of git://factorcode.org/git/factor
2009-10-28 17:26:23 -05:00
Doug Coleman
e376a0ece2
(normalize-path) -> absolute-path, canonicalize-path -> resolve-symlinks
2009-10-28 17:25:50 -05:00
Joe Groff
935c0797c3
update existing code for [let change
2009-10-27 22:05:37 -05:00
Doug Coleman
6b6e56a179
change add-init-hook to add-startup-hook, new add-shutdown-hook word
2009-10-19 22:17:02 -04:00
Keith Lazuka
405e5d015b
docs: change $subsection to $subsections
2009-10-02 12:15:48 -04:00
Slava Pestov
91e7e1eeea
Fix the build
2009-09-10 00:47:01 -05:00
Slava Pestov
7f2e2b1777
Specialized array overhaul
...
- Replace hand-written specialized-arrays.* subvocabularies with new system; instead of USE:ing specialized-arrays.T, do SPECIALIZED-ARRAY: T
- Ditto for specialized-vectors; use SPECIALIZED-VECTOR:
- io.mmap.functor: removed entirely, use <mapped-array> instead
- struct-arrays and struct-vectors have been removed because specialized arrays and vectors subsume them entirely
2009-09-09 22:33:34 -05:00
Slava Pestov
084c3cac3d
io.launcher.windows.nt: make tests more robust
2009-09-04 21:59:11 -05:00
Doug Coleman
003db124e2
use structs in process launcher
2009-08-25 17:46:07 -05:00
Slava Pestov
5fe3a62446
io.launcher.windows.nt: don't call duplicate-handle, and fix memory leak; io.backend.windows: track win32-handle instances in global win32-handles set to help find leaks
2009-08-18 03:46:46 -05:00
Doug Coleman
3f3d57032b
Delete empty unit tests files, remove 1- and 1+, reorder IN: lines in a lot of places, minor refactoring
2009-08-13 19:21:44 -05:00
Slava Pestov
d0f2b1c606
io.launcher: unnecessary word
2009-07-09 06:31:38 -05:00
Slava Pestov
7d328011e8
Working on webapps.mason
2009-05-21 00:08:43 -05:00
Slava Pestov
fb6df472a2
Cleaning up USING: lists for new strict semantics
2009-05-14 16:54:16 -05:00
Slava Pestov
e3d39b9d9e
Move try-output-process from mason.common to io.launcher
2009-05-12 05:16:19 -05:00
Slava Pestov
9488e78532
clean up contents and lines words; contents never outputs f now
2009-05-10 16:39:51 -05:00
Slava Pestov
3f871d3bae
io.launcher.windows.nt: update unit tests for recent changes to lines and contents words
2009-05-07 21:25:55 -05:00
Doug Coleman
ce7ad9a42d
fix unit tests that call lines or contents
2009-05-01 16:38:04 -05:00
Sam Anklesaria
5038cb3ba6
added run-desc in io.launcher
2009-04-30 08:30:45 -05:00
Slava Pestov
05f3f9dcb9
Fixing unit tests for stack effect inference changes
2009-04-20 21:15:19 -05:00
Slava Pestov
1c123e7e22
Remove some usages of -rot and tuck
2009-04-18 21:53:22 -05:00
Slava Pestov
394a4ec315
io.launcher.windows.nt: update for eval(
2009-04-17 20:58:58 -05:00
Slava Pestov
c0874e64cc
Documentation updates
2009-04-15 18:19:35 -05:00
Slava Pestov
8654bfe921
Merge branch 'master' into new_ui
2009-02-09 20:30:44 -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
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
aa331e451b
Eliminate more tuck usages
2009-02-02 16:11:16 -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
Doug Coleman
a92425adef
fix launcher tests
2008-12-16 12:53:04 -06:00
Slava Pestov
63fda570bf
Fixing assorted compile errors and help lint warnings
2008-12-16 01:12:36 -06:00
U-SLAVA-DFB8FF805\Slava
cf39fd29f8
Fix Windows bootstrap
2008-12-13 04:41:33 -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
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
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
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
b9df6d89e3
Fix dodgy init-hook
2008-10-19 04:40:15 -05:00
Doug Coleman
27c36974a7
remove primitives from core, update usages
2008-10-18 21:42:01 -05:00
Slava Pestov
c19f2257f4
Fix permission bits
2008-10-02 08:34:49 -05:00
Slava Pestov
0a8980d37e
Better error messages in io.launcher
2008-09-19 03:14:11 -05:00
Slava Pestov
7155e42251
Better error messages
2008-09-19 03:10:44 -05:00
Slava Pestov
58914da662
I/O fixes
2008-09-18 18:20:26 -05:00
Doug Coleman
b839f608d0
new accessors
2008-08-29 10:27:31 -05:00
Slava Pestov
d66f887736
Create basis vocab root
2008-07-28 22:03:13 -05:00