John Benediktsson
f2741b34a4
Eliminate duplicate syntax for stack effects "(" no longer drops and is identical to the old "((", which is now removed.
2011-10-18 13:19:39 -07:00
Doug Coleman
94f3ca3b8c
Remove all non-core uses of (scan-token)
...
Add scan-datum
Add scan-number
Document more words
Fixes #225 .
2011-10-02 12:00:08 -07:00
Doug Coleman
300138eb4d
Refactor the lexer/parser to expose friendlier words for scanning tokens. The preferred top-level words now throw an exception on EOF.
...
CREATE -> scan-new
CREATE-CLASS -> scan-new-class
CREATE-WORD -> scan-new-word
CREATE-GENERIC -> scan-new-generic
scan -> (scan-token)
scan-token now throws on eof
(scan-word) returns word/number/f
scan-word now throws on eof
scan-word-name expects a non-number
Fixes #183 .
Fixes #209 .
2011-09-29 11:28:28 -07:00
John Benediktsson
0e3d598e69
specialized-arrays: performed some cleanup.
...
Specifically,
• Created >c-array to be replacement for >T-array.
• Created cast-array to be generic replacement for all T-array-cast words.
• Created c-array@ to be generic replacement for T-array@ words.
• Replaced usages of <T-array> with T <c-array>
• Replaced usages of <direct-T-array> with T <c-direct-array>
• Replaced usages of >T-array with T >c-array
• Replaced usages of T-array-cast with T cast-array
• Replaced usages of malloc-T-array with T malloc-array.
• Removed malloc-T-array.
• Removed T-array-cast.
• Removed T-array@.
• Removed >T-array.
I also added (but didn't change any code to use):
• T c-array-type, returns T-array
• T c-array?, returns T-array?
• c-array{ T ... }, returns T-array{ ... }
Bootstraps just find on Mac OS X. Also `load-all test-all` works for me.
2011-09-26 11:37:51 -07:00
Doug Coleman
0ceaa0eee9
Remove extra stack effects in windows.messages
2011-09-25 19:32:36 -07:00
Doug Coleman
17e0fbe501
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
Joe Groff
0d6973c11e
windows, windows.directx: move directx libraries out of windows vocab
2011-09-14 11:25:06 -07:00
Doug Coleman
fae852706b
Windows bindings for security tokens
2011-09-08 15:47:57 -07:00
Joe Groff
c84758646e
images.gdiplus, windows.gdiplus, windows.streams: update for change to with-out-parameters
2011-08-27 15:53:07 -07:00
Joe Groff
3757210244
Merge remote-tracking branch 'Blei/gtk-image-loader'
...
Conflicts:
basis/alien/enums/enums-tests.factor
basis/alien/enums/enums.factor
basis/alien/parser/parser.factor
basis/gdk/pixbuf/ffi/ffi.factor
basis/glib/ffi/ffi.factor
basis/tools/deploy/shaker/shaker.factor
basis/ui/backend/gtk/gtk.factor
basis/windows/nt/nt.factor
2011-08-27 14:07:18 -07:00
Joe Groff
400db05c2e
windows: merge library manifest from old windows.nt in Blei/gtk-image-loader
2011-08-27 13:52:20 -07:00
Slava Pestov
1b24dceea9
Update code for alien.data changes
2010-12-26 02:08:57 -06:00
Slava Pestov
55fd15c45a
Move <ref>, deref and little-endian? from alien.c-types to alien.data, remove <c-object>
2010-12-25 16:55:36 -08:00
Doug Coleman
657b490f69
Remove <uint> *uint and friends. Hopefully remove the last usages of these words
2010-10-25 15:54:42 -05:00
Doug Coleman
6510bdb1eb
Remove usages of <void*> and *void*
2010-10-25 13:22:50 -05:00
Doug Coleman
40bdadcac4
Remove many uses of <int> and *int etc
2010-10-25 12:49:12 -05:00
Doug Coleman
a2202aba6d
Make a way to get DNS server ips on Windows
2010-09-29 15:36:56 -05:00
Doug Coleman
5667c810e5
Add a basic windows registry vocabulary
2010-09-29 11:19:30 -05:00
Doug Coleman
d4e3e9b150
Fix error checking in windows.sockets again
2010-09-21 14:33:10 -05:00
Doug Coleman
a58278d0a3
Squashed commit of the following:
...
commit 90deaafa9db083ecdb9e0e30ad3694317e616399
Merge: f392dfd 32cf7bb
Author: Doug Coleman <doug.coleman@gmail.com>
Date: Tue Sep 21 00:33:37 2010 -0500
Merge branch 'icmp-ping' of git://github.com/mrjbq7/factor into icmp-ping2
commit 32cf7bb0e0b876309bce248944dfeca243f02594
Author: John Benediktsson <mrjbq7@gmail.com>
Date: Fri Sep 10 14:01:47 2010 -0700
ping: Adding a simple IPv4 ping implementation.
commit da0c5ce7acf1407256c3ac2b98ac5b68858878c1
Author: John Benediktsson <mrjbq7@gmail.com>
Date: Fri Sep 10 14:01:15 2010 -0700
io.sockets.icmp: Adding ICMP support.
commit 60fdf7e7d995d63c11be87e8e1398f7bdd593833
Author: John Benediktsson <mrjbq7@gmail.com>
Date: Fri Sep 10 14:00:48 2010 -0700
io.sockets: Adding protocol support for sockets.
commit 2f130f1f9e0e2ea44d798beaad244a9c33b0d86a
Author: John Benediktsson <mrjbq7@gmail.com>
Date: Fri Sep 10 14:00:28 2010 -0700
Adding getprotobyname().
2010-09-21 11:15:33 -05:00
Slava Pestov
1beb6d1653
alien.data: remove deprecated malloc-object word
2010-09-20 21:36:20 -07:00
Doug Coleman
4fce228ed9
Fix io.servers -- if it doesn't start up, don't throw an error when it's stopped. IPV6 must be enabled on windows with the command: ipv6 install (the build machines need this before we get clean windows builds). Fix up winsock error handling.
2010-09-19 21:35:52 -05:00
Doug Coleman
43624e037c
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
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
1523be6dcd
Add platforms.txt for windows.handles
2010-09-16 15:52:14 -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
f3acdcf4a0
windows.directx: update for void being parsed like a word
2010-08-15 15:15:23 -05:00
Philipp Brüschweiler
d328935498
Merge remote branch 'origin/native-image-loader' into gtk-image-loader
2010-07-17 11:26:45 +02: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
Joe Groff
52441d0196
windows.streams: get rid of workaround for stream-tell bug
2010-07-07 13:52:18 -07:00
Joe Groff
0d7e418975
windows.streams: remove some code used for debugging
2010-07-06 22:47:01 -07:00
Joe Groff
6ac2a5f74f
windows.gdiplus: start-gdi+/stop-gdi+/check-gdi+-status helper words
2010-07-06 22:36:24 -07:00
Joe Groff
fb2ff1d19c
windows.streams: attempt to determine stream size because GdipCreateBitmapFromStream requires its IStream to report it
2010-07-06 22:35:49 -07:00
Joe Groff
76887b2310
new vocab windows.streams: COM IStream wrapper for factor streams
2010-06-28 21:51:49 -07:00
Joe Groff
b133debfe6
windows.com: add IStream interface
2010-06-28 19:41:51 -07:00
Joe Groff
c9230751e4
windows.gdiplus: resolve ambiguity introduced by auto-use
2010-06-28 16:42:15 -07:00
Joe Groff
7641932257
windows.gdiplus: clean up so it loads
2010-06-28 16:30:45 -07:00
Joe Groff
f3a63e47e9
new vocab windows.gdiplus: bindings to GDI+ (not tested yet)
2010-06-28 11:33:25 -07:00
Doug Coleman
1ca3e05aa2
Implement set-time on Windows
2010-06-16 17:42:15 -05: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
Doug Coleman
e559f1470b
Use keys/values where appropriate
2010-05-21 12:48:04 -05:00
Joe Groff
6587eb88ae
windows.directx.dinput: redo constant generation yet again to get compile time under control
2010-05-05 23:26:54 -07:00
Slava Pestov
4b01c16870
windows.directx.dinput: factor out a code snippet into a word instead of repeating it many times in macro expansion, reducing compiled code size
2010-05-04 04:56:38 -05:00
Slava Pestov
6344b69986
windows.directx.dinput.constants: fix breakage if image is saved and restarted
2010-05-04 02:31:36 -05:00
Joe Groff
f91e81ada0
windows.errors, debugger.windows: improve description of Windows error objects
2010-05-02 22:29:59 -07:00
Joe Groff
09f30e94df
windows.directx.dinput: pre-construct some intermediate structs to slightly improve horrible compilation time on the gigantic macro expansions
2010-05-02 18:14:30 -07:00
Joe Groff
aab60ba59e
windows.directx.dinput: forgot to reenable constant initialization
2010-05-02 11:23:51 -07:00
Joe Groff
53917fcfd0
windows.directx.dinput: use macros to define format constants to avoid holding onto a bunch of useless symbols after deployment
2010-05-02 01:27:07 -07:00
Erik Charlebois
d44e470416
Remove ENUM: f and replace uses with CONSTANTs.
...
Fix bootstrap and load-all errors from enum classes.
2010-04-19 20:08:40 -07:00