Commit Graph

54 Commits (df8c370e17b56cf7b19240283c02568a73db2bc7)

Author SHA1 Message Date
Doug Coleman 94db86a6db Make "foo.private" require load foo instead.
Move require from vocabs.loader to vocabs. Update everything.
Fixes #201.
2011-11-02 11:50:03 -07:00
Doug Coleman bf2a96e9e0 Remove Windows CE from core/ basis/ and build-support/
Rename the winnt singleton to windows in core/ basis/ extra/
Rename boot images winnt -> windows
Fixes #84.
2011-09-18 23:19:06 -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 76d2b83685 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 cbb9ff61fb 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 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 60299f6d74 Eliminate some -rot from the codebase 2010-05-03 18:31:01 -04:00
Doug Coleman 026499e64f Use flags{ instead of flags all over the place 2010-04-01 14:44:03 -05:00
Slava Pestov f1e19aabdb threads: simplify 'suspend' combinator 2010-03-28 08:29:53 -04: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 0612bc6177 Factor source files should not be executable 2009-11-21 17:50:43 -06:00
Slava Pestov 5ccce283fa Various Windows load fixes 2009-11-21 17:24:37 -06:00
Joe Groff fa6d7b7069 eliminate spin from basis 2009-11-05 14:05:06 -06:00
Doug Coleman 88e2ba8f31 define tell-handle on windows nt 2009-10-05 12:34:34 -05:00
Joe Groff b7eff85fe0 fix windows test failures 2009-09-19 10:01:12 -05:00
Joe Groff f738a4dc4e more windows loading fixes 2009-09-19 02:44:40 -05:00
Joe Groff 81db20f59e update windows.kernel32 structs (*) 2009-09-18 18:54:08 -05:00
Joe Groff 076ab42dc3 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 75f7e27c6c Use new-style structs for overlapped struct on Windows 2009-09-05 16:20:58 -05:00
Slava Pestov f0d5f99d23 io.backend.windows: fix for deployment 2009-09-04 09:27:46 -05:00
Slava Pestov b238a1719f io.backend.windows.nt.privileges: fix make-token-privileges 2009-09-04 09:08:04 -05:00
Slava Pestov 223b907219 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
Doug Coleman 469e7e8d67 newstructify PIXELFORMAT 2009-08-27 20:35:37 -05:00
Doug Coleman 3507616f3b use structs in a few places in windows backend 2009-08-25 17:23:23 -05:00
Slava Pestov 46045c882e 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 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
U-C4\Administrator 02b769475b fix duplicate using lines 2009-05-17 20:29:32 -05:00
Slava Pestov 5a8e7d1c76 io.bakend.windows.nt: fix bootstrap error 2009-05-12 06:25:06 -05:00
Slava Pestov 96b1ae86a4 Clean up init-stdio implementations and move io.streams.null to basis 2009-05-12 03:35:48 -05:00
Slava Pestov 9d2fb3378b 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
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 790f3b867c remove bogus unix depenedency, implement seeking on windows 2009-02-07 01:12:03 -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
Slava Pestov c5160d76e9 Merge qualified, alias, symbols, constants into core 2008-12-17 18:10:01 -06:00