Commit Graph

57 Commits (e55c0e4b210d11dbc185897da62d3f067add02d9)

Author SHA1 Message Date
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
Slava Pestov 92e09a9f68 Move a few more things over to new disposable protocol 2009-08-24 20:33:27 -05:00
Slava Pestov 50641a5059 Disposables are now registered in a global disposables set. To take advantage of this, subclass disposable instead of providing a disposed slot and call new-disposable instead of new. tools.disposables defines two words, 'disposable.' and 'leaks', to help track down resource lifetime problems 2009-08-24 02:26:13 -05:00
Slava Pestov 4c727cc695 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 d1ce837569 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
U-C4\Administrator 9c85bc8ce3 fix duplicate using lines 2009-05-17 20:29:32 -05:00
Slava Pestov dd3d8b10c3 io.bakend.windows.nt: fix bootstrap error 2009-05-12 06:25:06 -05:00
Slava Pestov f2ab6a261a Clean up init-stdio implementations and move io.streams.null to basis 2009-05-12 03:35:48 -05:00
Slava Pestov e173f136a8 io.backend.windows.privileges: clean up code and fix inference problem 2009-05-07 21:26:29 -05:00
Doug Coleman 6ec73b2a2a fix bootstrap on windows. here's an opportunity to use literals. 2009-04-30 13:47:49 -05:00
Doug Coleman 31ce2252e7 fix win32 error handling 2009-04-30 13:11:51 -05:00
Doug Coleman 65d76e6509 finish fixing the using list for windows.errors, more ffi bindings 2009-04-30 10:25:59 -05:00
Doug Coleman 8ab4d39036 move windows error handling to windows.errors and update usages. 2009-04-30 09:36:25 -05:00
Slava Pestov 723bfab030 Fixing unit tests for syntax change 2009-03-23 00:34:02 -05: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
Slava Pestov 6b25e99470 Add summary for heaps more vocabs 2009-02-16 21:05:13 -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
Doug Coleman 16312f6711 clean up stream-seek with some suggestions from slava 2009-02-08 10:35:30 -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 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 d6aa376ed0 Removing now-redundant underlying>> calls 2009-02-06 04:37:28 -06:00
Doug Coleman f9cd01683c fix unix bootstrap 2009-01-29 21:26:27 -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 ad7b4cec01 Revert Windows console encoding since the DOS prompt is not really cp1252 2009-01-27 04:29:44 -06:00
Slava Pestov 043adcf0f6 Use windows-1252 encoding for stdin/stdout on Windows 2009-01-27 00:03:34 -06:00