John Benediktsson
4f42c72012
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
819041eede
Remove extra stack effects in windows.messages
2011-09-25 19:32:36 -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
Joe Groff
c14f087196
windows, windows.directx: move directx libraries out of windows vocab
2011-09-14 11:25:06 -07:00
Doug Coleman
ed416d210b
Windows bindings for security tokens
2011-09-08 15:47:57 -07:00
Joe Groff
baeb8a45fe
images.gdiplus, windows.gdiplus, windows.streams: update for change to with-out-parameters
2011-08-27 15:53:07 -07:00
Joe Groff
9040ee37e0
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
3616f93250
windows: merge library manifest from old windows.nt in Blei/gtk-image-loader
2011-08-27 13:52:20 -07:00
Slava Pestov
13d6c6a698
Update code for alien.data changes
2010-12-26 02:08:57 -06:00
Slava Pestov
75560699ea
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
67c37591ca
Remove <uint> *uint and friends. Hopefully remove the last usages of these words
2010-10-25 15:54:42 -05:00
Doug Coleman
4ca9bd0bba
Remove usages of <void*> and *void*
2010-10-25 13:22:50 -05:00
Doug Coleman
1f57dc326e
Remove many uses of <int> and *int etc
2010-10-25 12:49:12 -05:00
Doug Coleman
f981b6db3c
Make a way to get DNS server ips on Windows
2010-09-29 15:36:56 -05:00
Doug Coleman
67fa5080f4
Add a basic windows registry vocabulary
2010-09-29 11:19:30 -05:00
Doug Coleman
db7d81b008
Fix error checking in windows.sockets again
2010-09-21 14:33:10 -05:00
Doug Coleman
7b0a50e7d2
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
f9c9814e57
alien.data: remove deprecated malloc-object word
2010-09-20 21:36:20 -07:00
Doug Coleman
8aa22487da
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
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
aefbed1f29
Add platforms.txt for windows.handles
2010-09-16 15:52:14 -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
fe96ce3d61
windows.directx: update for void being parsed like a word
2010-08-15 15:15:23 -05:00
Philipp Brüschweiler
d2530a4365
Merge remote branch 'origin/native-image-loader' into gtk-image-loader
2010-07-17 11:26:45 +02: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
Joe Groff
987c2b8153
windows.streams: get rid of workaround for stream-tell bug
2010-07-07 13:52:18 -07:00
Joe Groff
509f100806
windows.streams: remove some code used for debugging
2010-07-06 22:47:01 -07:00
Joe Groff
099607bfdd
windows.gdiplus: start-gdi+/stop-gdi+/check-gdi+-status helper words
2010-07-06 22:36:24 -07:00
Joe Groff
5a3b6960e0
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
780c190d69
new vocab windows.streams: COM IStream wrapper for factor streams
2010-06-28 21:51:49 -07:00
Joe Groff
6bca9f2e15
windows.com: add IStream interface
2010-06-28 19:41:51 -07:00
Joe Groff
93a893f8f4
windows.gdiplus: resolve ambiguity introduced by auto-use
2010-06-28 16:42:15 -07:00
Joe Groff
e140cf09f4
windows.gdiplus: clean up so it loads
2010-06-28 16:30:45 -07:00
Joe Groff
cd183a24b4
new vocab windows.gdiplus: bindings to GDI+ (not tested yet)
2010-06-28 11:33:25 -07:00
Doug Coleman
11d20228f1
Implement set-time on Windows
2010-06-16 17:42:15 -05: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
Doug Coleman
bdecd564a3
Use keys/values where appropriate
2010-05-21 12:48:04 -05:00
Joe Groff
98db8b5e78
windows.directx.dinput: redo constant generation yet again to get compile time under control
2010-05-05 23:26:54 -07:00
Slava Pestov
aaa4c70b01
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
1bd7b85b03
windows.directx.dinput.constants: fix breakage if image is saved and restarted
2010-05-04 02:31:36 -05:00
Joe Groff
7e2d32b7d2
windows.errors, debugger.windows: improve description of Windows error objects
2010-05-02 22:29:59 -07:00
Joe Groff
c167646e3b
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
515296892b
windows.directx.dinput: forgot to reenable constant initialization
2010-05-02 11:23:51 -07:00
Joe Groff
3e3b85d279
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
baab8c060d
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
Joe Groff
4bc915d526
C-ENUM: -> ENUM:
2010-04-19 20:07:16 -07:00
Daniel Ehrenberg
aa6158b366
Changing require-when usages to the new syntax for require-when
2010-04-18 14:29:24 -05:00
Slava Pestov
328068b480
windows: fix load errors
2010-04-11 15:00:54 -05:00
Slava Pestov
2b4a55b53a
Merge branch 'master' of git://github.com/erikcharlebois/factor
2010-04-10 18:01:19 -07:00
Erik Charlebois
5768ae0af4
Forget to save some files for enum change
2010-04-10 00:12:59 -07:00
Erik Charlebois
e1849518ec
Merge branch 'master' of git://github.com/slavapestov/factor
2010-04-09 23:49:40 -07:00
Erik Charlebois
edc489f4c1
Change C-ENUM: to always take a type. Use f for anonymous enums. Update all uses.
2010-04-09 23:48:22 -07:00
Joe Groff
3e0d86f355
Merge branch 'master' of git://factorcode.org/git/factor into abi-symbols
...
Conflicts:
basis/compiler/tests/alien.factor
2010-04-06 12:30:15 -07:00
Doug Coleman
eac2849833
Temporary fix for directx bindings until I revert flags{ patch or parsing words get redone
2010-04-05 18:01:25 -05:00
Doug Coleman
9ec94f242d
Dont use literals twice
2010-04-05 18:01:23 -05:00
Slava Pestov
f86c9439e9
windows.errors: redundant USING: list entry
2010-04-02 15:58:47 -04:00
Joe Groff
ef884ef7f2
Merge branch 'master' into abi-symbols
2010-04-01 15:28:36 -07:00
Doug Coleman
026499e64f
Use flags{ instead of flags all over the place
2010-04-01 14:44:03 -05:00
Joe Groff
f3dd625de6
"stdcall" -> stdcall
2010-03-31 19:29:04 -07:00
Joe Groff
65c3259761
"cdecl" -> cdecl
2010-03-31 19:20:35 -07:00
Doug Coleman
e7487bfe98
More constants and functions in windows.advapi32
2010-03-31 15:03:35 -05:00
Doug Coleman
be51468863
Report the Win32 error code along with the error message
2010-03-31 15:03:32 -05:00
Daniel Ehrenberg
eb060443db
Updating code to use require-when rather than vocab [ require ] when
2010-03-18 01:13:37 -04:00
Joe Groff
f13a031f8f
windows.offscreen: generalize the declared effect of with-memory-dc
2010-03-12 19:59:21 -08:00
Erik Charlebois
7d9c73c406
Merge branch 'master' of git://github.com/slavapestov/factor
2010-03-03 00:04:17 -08:00
Erik Charlebois
a0ac5a16c3
Update tags.txt files for Windows DDK
2010-03-03 00:03:44 -08:00
Joe Groff
6d81d1eaaa
windows.directx.d3d9: a method was missing argument names
2010-02-28 23:11:43 -08:00
Joe Groff
bde65fe2d0
windows.com: update COM-INTERFACE: to parse incrementally
2010-02-28 19:30:15 -08:00
Doug Coleman
93efc83938
more user32 bindings
2010-02-27 07:58:41 -06:00
Erik Charlebois
889fb74b8f
Fix windows.directx compile errors
2010-02-25 18:50:05 -08:00
Joe Groff
4358edcae7
windows.com: typedef interface word to void* immediately so that self-referential pointers in the interface definition parse properly. fix a bug where pointer return values for interface methods couldn't parse
2010-02-25 16:39:30 -08:00
Doug Coleman
31b77781ae
Add more user32 bindings
2010-02-25 14:36:44 -06:00
Slava Pestov
17b095a524
Slices over specialized arrays can now be passed to C functions, written to binary output streams, and given to malloc-byte-array
2010-02-25 04:50:31 +13:00
Erik Charlebois
856674f110
Bindings to the WinUSB part of the Windows DDK
2010-02-23 23:00:48 -08:00
Joe Groff
db6c083162
change back other char/uchar* parameters that don't look like actual string types
2010-02-23 13:15:16 -08:00
Joe Groff
4cfa1a6c77
rename current string-mangling "char*" to "c-string". char* is now just a boring old pointer to char
2010-02-23 11:42:02 -08:00
Joe Groff
b0bf5f3106
get rid of the last few pointer typedefs in db.postgresql.ffi, windows.usp10, and windows.winsock
2010-02-23 10:17:48 -08:00
Joe Groff
8aa10c5283
windows.types: fix definition of wchar_t* as { char* utf16n }
2010-02-23 08:10:01 -08:00
Joe Groff
3d97bd2ae0
add opaque C-TYPEs for sundry interfaces to windows.com
2010-02-23 00:03:18 -08:00
Slava Pestov
7decccf8bb
Merge branch 'master' of git://factorcode.org/git/factor
2010-02-23 20:26:41 +13:00
Erik Charlebois
234fa6e20d
Windows DDK SetupAPI bindings -- used for hardware device discovery
2010-02-22 20:37:06 -08:00
Erik Charlebois
e513151e1d
Summary and tags file for windows.ddk.hid
2010-02-22 20:19:04 -08:00
Erik Charlebois
ea2fcd2aed
Fix new compile errors in d3d bindings
2010-02-22 20:18:15 -08:00
Joe Groff
6d4724a095
scrub memory>struct calls made redundant
2010-02-22 12:22:29 -08:00
Erik Charlebois
833372cd08
Merge alien/parser/parser.factor
2010-02-22 10:53:19 -08:00
Erik Charlebois
b2fe49704e
Add some additional error masks and codes
2010-02-22 10:48:22 -08:00
Joe Groff
31a0d98e02
Merge branch 'master' into new-alien-pointers
...
Conflicts:
basis/alien/c-types/c-types.factor
basis/stack-checker/dependencies/dependencies.factor
2010-02-22 10:32:59 -08:00
Slava Pestov
869e95717c
windows.ddk.hid: add platforms.txt
2010-02-23 00:23:30 +13:00
Joe Groff
338edac16c
Merge branch 'master' of git://factorcode.org/git/factor into new-alien-pointers
2010-02-21 23:14:08 -08:00
Slava Pestov
1986dc49e4
Merge branch 'master' of git://github.com/erikcharlebois/factor
2010-02-22 20:09:20 +13:00
Joe Groff
2a751106a8
Merge branch 'master' into new-alien-pointers
2010-02-21 22:30:12 -08:00
Doug Coleman
82e773f8ba
Add some more win32 symbols
2010-02-22 00:14:15 -06:00
Doug Coleman
a0b3a370b8
Fix quirk in open-in-explorer -- msft explorer wouldn't go to previous directory correctly if / was a path separator
2010-02-22 00:14:13 -06:00
Joe Groff
525a57fa3d
windows.com: add missing USING: windows.types
2010-02-21 22:07:53 -08:00
Joe Groff
dcd76d2abe
windows.com.syntax: don't put c-type words inside stack effect of Interface::Method words
2010-02-21 22:07:32 -08:00
Joe Groff
971af554e1
Merge branch 'master' into new-alien-pointers
2010-02-21 18:19:17 -08:00
Erik Charlebois
a56d0a7602
Bindings to the HID portion of the Windows DDK.
2010-02-21 16:43:09 -08:00
Joe Groff
5955ba06df
use a "pointer" wrapper tuple to indicate pointer types instead of the current slipshod approach
2010-02-21 16:27:36 -08:00