Commit Graph

86 Commits (18e8c0af9c38b3eab159f9a7dc6da80e052e657d)

Author SHA1 Message Date
Doug Coleman 51d5059011 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 92a70356de 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 20cda7d9bb io.backend.unix: remove dead code from bsd backend, fix select code 2010-09-15 21:56:42 -07:00
Slava Pestov f30b9c484c Add unless-disposed combinator to clean up some repetition, and fix bogus error reported from timer thread if an I/O operation with a set timeout fails on Windows 2010-08-23 21:12:24 -05:00
Slava Pestov 265cc301cf io.sockets.windows: win32-socket instances were not being unregistered from global disposables hash; also check return value of closesocket 2010-08-15 00:05:27 -05:00
Slava Pestov cf6b910c9f 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 f04ae609c8 Fixes for out parameter changes 2010-05-23 03:27:40 -05:00
Slava Pestov 5d9993d46f Updating code to use with-out-parameters 2010-05-23 03:07:47 -04:00
Slava Pestov 7e77b35502 io.backend.unix: make timeouts work on stdin once Doug fixes alarms 2010-05-21 19:09:15 -04:00
Slava Pestov d2d466de29 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 59ad41b6a3 Eliminate some -rot from the codebase 2010-05-03 18:31:01 -04:00
Joe Groff ca9614e746 Merge branch 'master' into abi-symbols 2010-04-01 15:28:36 -07:00
Doug Coleman 636f2ed2e5 Use flags{ instead of flags all over the place 2010-04-01 14:44:03 -05:00
Joe Groff d951be1832 "cdecl" -> cdecl 2010-03-31 19:20:35 -07:00
Slava Pestov 910b7527c9 threads: simplify 'suspend' combinator 2010-03-28 08:29:53 -04:00
Slava Pestov 3944277d04 Fix load errors exposed by platforms.txt change 2010-02-20 13:31:09 +13:00
Slava Pestov 0aad3e6e12 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 4154742755 Small cleanups 2010-02-16 04:04:09 +13:00
Doug Coleman 6bc071bfc1 unix-system-call io-error -> unix-system-call drop
make unix.ffi, unix.ffi.linux unportable
fix spacing in io.cpp before refactoring
2010-01-23 09:07:35 -06:00
Doug Coleman cc7615248d 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
Doug Coleman 7bbe8d97c8 Make unix-system-call retry the call immediately upon hitting EINTR. Use unix-system-call wherever EAGAIN or EINPROGRESS are not handled. Handle EINTR if connect returns it. 2010-01-22 12:59:17 -06:00
Slava Pestov 8f449f1a82 Get optimizing compiler working without global register variables in VM 2009-12-22 15:42:49 +13:00
Doug Coleman c2ceaa8b96 use CONSTANT: in epoll 2009-11-21 20:56:39 -06:00
Slava Pestov 08b6ebc7fa Factor source files should not be executable 2009-11-21 17:50:43 -06:00
Slava Pestov 36639c7efd Various Windows load fixes 2009-11-21 17:24:37 -06:00
Slava Pestov 2ad5796b6a Update a few places that used string C type names to use words; fixes some deploy tests 2009-11-20 03:21:48 -06:00
Doug Coleman 4d6bae9a21 update run-loop multiplexer 2009-11-19 14:18:27 -06:00
Doug Coleman ee7f0ac5e4 fix stack effects for nanosseconds, update io backends for nanos 2009-11-19 04:51:47 -06:00
Joe Groff 131605be2e eliminate spin from basis 2009-11-05 14:05:06 -06:00
Joe Groff cee5862b69 update a bunch of alien-callbacks and alien-indirects to use c-type words 2009-10-21 21:10:11 -05:00
Doug Coleman ded9e6eb56 define tell-handle on windows nt 2009-10-05 12:34:34 -05:00
Doug Coleman bcbe7a2e97 fix stream-tell 2009-10-03 19:26:59 -05:00
Doug Coleman 9a777b0969 support limited-streams correctly for seekable streams 2009-10-03 18:27:09 -05:00
Slava Pestov 53cbcd7502 io.backend.unix.multiplexers: add meta-data 2009-09-28 06:38:23 -05:00
Joe Groff 0e21c2b81e fix windows test failures 2009-09-19 10:01:12 -05:00
Joe Groff d7a77886b8 more windows loading fixes 2009-09-19 02:44:40 -05:00
Joe Groff fe12a553ae update windows.kernel32 structs (*) 2009-09-18 18:54:08 -05:00
Joe Groff 4a1422e7fe move some allocation words that don't really have much to do with c types out of alien.c-types into a new alien.data vocab 2009-09-17 22:36:05 -05:00
Slava Pestov 527db8995a 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 6be1a59182 Use new-style structs for overlapped struct on Windows 2009-09-05 16:20:58 -05:00
Slava Pestov 155ce5c0bb io.backend.windows: fix for deployment 2009-09-04 09:27:46 -05:00
Slava Pestov 5c6dcded75 io.backend.windows.nt.privileges: fix make-token-privileges 2009-09-04 09:08:04 -05:00
Slava Pestov 33c09acbb5 Fix sockets on Windows, and re-organize things so that windows.winsock doesn't get loaded by default 2009-09-04 05:02:33 -05:00
Slava Pestov 99608764d8 io.backend.unix.multiplexers.epoll: update for STRUCT: 2009-09-01 14:46:08 -05:00
Doug Coleman 89ed19bbfb fix kqueue 2009-08-30 21:57:33 -05:00
Slava Pestov b286a4ac72 Merge branch 'master' of git://factorcode.org/git/factor 2009-08-30 21:12:23 -05:00
Slava Pestov bd27ddb298 io.backend.unix: tweak test 2009-08-30 21:01:49 -05:00
Doug Coleman bd6a89f5e4 update kqueue for structs 2009-08-30 20:26:25 -05:00
Doug Coleman 850475c2ab newstructify PIXELFORMAT 2009-08-27 20:35:37 -05:00
Doug Coleman 198c340ed5 use structs in a few places in windows backend 2009-08-25 17:23:23 -05:00