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
Slava Pestov
5fe49b13bf
windows.com.prettyprint: remove circular dependency on windows.com
2010-02-22 13:17:46 +13:00
Joe Groff
f07ec8bc1b
windows.com.syntax: parse return c-type of COM-INTERFACE: functions
2010-02-21 11:56:35 -08:00
Slava Pestov
0e8f3670a3
Move windows.dragdrop-listener to unmaintained
2010-02-21 17:48:06 +13: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
Erik Charlebois
08f65189d3
Merge branch 'master' of git://github.com/slavapestov/factor
2010-02-17 00:06:27 -08:00
Joe Groff
42089b6586
alien.libraries: add a "deploy-library" word that marks a library to have its dll deployed with applications that use it. add support to tools.deploy to find and copy deployed libraries into target bundle
2010-02-16 13:32:58 -08:00
Erik Charlebois
fd1416617e
Merge to upstream
2010-02-16 10:35:15 -08:00
Slava Pestov
6620a12cde
Merge branch 'deploy-resources' of git://factorcode.org/git/factor into deploy-resources
2010-02-17 00:17:09 +13:00
Slava Pestov
bd0ca0e2aa
Clean up some tags
2010-02-17 00:12:55 +13:00
Joe Groff
f1d6082738
windows.kernel32: add MAKEINTRESOURCE, standard resource types
2010-02-15 11:48:28 -08:00
Joe Groff
4a5e9ecdf4
windows.kernel32: bindings for BeginUpdateResource, UpdateResource, EndUpdateResource
2010-02-15 11:26:26 -08:00
Erik Charlebois
3bdc84a07a
Fix D3D9 constants that I punted on calculating initially.
2010-02-14 23:41:44 -08:00
Doug Coleman
4946beef3c
Fix typo in dinput binding
2010-02-05 14:09:17 -06:00
Slava Pestov
b6b780fb72
windows.types: remove duplicate typedefs flagged by recent alien.syntax change
2010-02-05 06:04:12 -06:00
Slava Pestov
5fb4c30eb3
windows.types: another Win64 fix
2010-02-05 01:47:21 -06:00
unknown
5a55f3db28
windows.types: fix LONG_PTR type on win64
2010-02-04 22:44:41 -06:00
erikc
f4865e0f9a
FFI bindings for Win32 RawInput
2010-01-30 20:40:41 -08:00
erikc
d63c2fefc9
Fix missing vocab USINGs and mispelled d2dbasetypes
2010-01-21 23:33:37 -08:00
Slava Pestov
21c07397d2
Merge branch 'master' of git://github.com/erikcharlebois/factor
2010-01-20 18:10:25 +13:00
erikc
281103ec7e
Move windows.dinput to windows.directx.dinput.
2010-01-19 21:08:28 -08:00
Slava Pestov
9d41492aa0
windows.psapi: add unportable tag
2010-01-20 18:02:10 +13:00
erikc
10566ccf5d
DirectSDK bindings, excluding dinput which already exists.
2010-01-19 19:31:14 -08:00
erikc
57111b09c3
Map WM_APPCOMMAND browser backward and forward messages to action-left and action-right.
2010-01-19 18:28:53 -08:00
Doug Coleman
350f69b645
Clean up a windows.time word
2010-01-14 17:20:30 -06:00
Slava Pestov
7c583dd66f
windows.dinput.constants: use C type symbols rather than strings
2009-12-13 16:52:36 -06: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
Slava Pestov
ffd7de02d6
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
cc194416f9
Merge branch 'master' into startup
...
Conflicts:
core/bootstrap/primitives.factor
vm/run.hpp
2009-11-15 02:52:50 -06:00
Doug Coleman
86be7762b1
add win32 bindings
2009-11-09 01:24:23 -06:00
Joe Groff
fa6d7b7069
eliminate spin from basis
2009-11-05 14:05:06 -06:00
Doug Coleman
17f0a5d41a
Merge branch 'master' of git://factorcode.org/git/factor
2009-10-28 17:26:23 -05:00
Doug Coleman
e376a0ece2
(normalize-path) -> absolute-path, canonicalize-path -> resolve-symlinks
2009-10-28 17:25:50 -05:00
Joe Groff
3fbe722561
Merge branch 'master' of http://factorcode.org/git/factor
...
Conflicts:
basis/locals/locals.factor
basis/peg/peg.factor
extra/infix/infix.factor
2009-10-28 16:17:24 -05:00
Doug Coleman
7ce4b746e5
parsed -> suffix!, add append!
2009-10-28 13:38:27 -05:00
Slava Pestov
f5a0a8b6e1
delete -> remove!
2009-10-27 23:25:35 -05:00
Joe Groff
935c0797c3
update existing code for [let change
2009-10-27 22:05:37 -05:00
Joe Groff
9a91abe8a8
also print undocumented windows SSE exception codes
2009-10-22 00:18:01 -05:00
Joe Groff
432d4f79e9
give better error message for windows exceptions, and don't lop off the top end of the exception code when the vm throws the error
2009-10-21 23:37:51 -05:00
Doug Coleman
5b4c1aea5d
run bootstrap and startup hooks inside a with-destructors. use &dispose instead of setting shutdown hooks in a couple of places
2009-10-20 18:26:10 -04:00
Doug Coleman
6b6e56a179
change add-init-hook to add-startup-hook, new add-shutdown-hook word
2009-10-19 22:17:02 -04:00
Doug Coleman
58557e41bf
add psapi stub to windows.nt
2009-10-15 21:43:19 -05:00
Joe Groff
f83698948f
eradicate string C types from windows.com.*
2009-09-30 16:17:50 -05:00
Joe Groff
44f393771b
change CALLBACK: to use the ABI of the current LIBRARY: and get rid of STDCALL-CALLBACK:
2009-09-28 19:27:28 -05:00
Slava Pestov
49d07971ef
windows.kernel/user32: update for C type parser changes
2009-09-28 06:41:26 -05:00
Joe Groff
866b62755e
replace all TYPEDEF: void* XXX* with C-TYPE: XXX
2009-09-27 22:21:24 -05:00
Joe Groff
f8251d2045
update vocabs so load-all on windows works without parsing string c-types
2009-09-27 18:41:20 -05:00
Joe Groff
4f82861bf3
update windows vocabs to load without c-type strings
2009-09-27 18:19:53 -05:00
Joe Groff
2af6104d99
reset frame inset when windows dwm is toggled off and on, and use the system dialog background for textured windows when dwm is disabled
2009-09-24 16:08:58 -05:00
Joe Groff
2b1b54d907
Merge branch 'master' of git://factorcode.org/git/factor
2009-09-24 00:11:06 -05:00
Joe Groff
4b201f171a
some windows dwm api calls to play with
2009-09-24 00:10:53 -05:00
Doug Coleman
b86314ec39
Merge branch 'master' of git://factorcode.org/git/factor
2009-09-21 17:59:48 -05:00
Joe Groff
b5bd0532c2
oops--Segoe is the windows 6.x system font, not Calibri
2009-09-21 16:05:13 -05:00
Doug Coleman
4dbceb60e8
Merge branch 'master' of git://factorcode.org/git/factor
2009-09-21 14:22:14 -05:00
Joe Groff
00fa7f73fb
add CALLBACK: syntax that defines a typedef and an alien-callback constructor word for function pointer types. update some code in iokit.hid and windows.dinput to use CALLBACK: instead of TYPEDEF:/word pairs
2009-09-21 11:59:41 -05:00
Doug Coleman
57c2caa236
Merge branch 'master' of git://factorcode.org/git/factor
2009-09-20 23:39:33 -05:00
Joe Groff
6645b41fac
use hott vista fonts on windows 6.x
2009-09-20 23:34:53 -05:00
Doug Coleman
5cb34724b7
Merge branch 'master' of git://factorcode.org/git/factor
...
Conflicts:
basis/classes/struct/struct-tests.factor
basis/functors/functors-tests.factor
basis/specialized-arrays/specialized-arrays-tests.factor
2009-09-20 23:02:49 -05:00
Doug Coleman
eceed177d6
replace usages of <" with """
2009-09-20 22:42:40 -05:00
Joe Groff
2313b077d2
fix windows bootstrap
2009-09-19 11:30:23 -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
014163e27b
windows loading fixes
2009-09-19 02:31:06 -05:00
Joe Groff
5e15da2b42
update windows.winsock structs
2009-09-18 19:25:00 -05:00
Joe Groff
72049b95ce
update windows.usp10 structs
2009-09-18 19:14:59 -05:00
Joe Groff
c86bef70c9
update windows.types structs
2009-09-18 19:12:31 -05:00
Joe Groff
40a17176e9
update windows.ole32 structs (*)
2009-09-18 18:57:36 -05:00
Joe Groff
81db20f59e
update windows.kernel32 structs (*)
2009-09-18 18:54:08 -05:00
Joe Groff
c093f52271
update structs in windows.advapi32
2009-09-18 18:44:36 -05:00
Joe Groff
b48beb48f4
fix loading problems on windows
2009-09-18 10:01:38 -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
Joe Groff
eeebf6c751
fix loading issues in windows vocabs
2009-09-17 14:01:41 -05:00
Joe Groff
3b4330fcf6
get things to a point where they bootstrap again
2009-09-15 21:43:18 -05:00
Slava Pestov
74cebff371
windows.dinput.constants: fix load error
2009-09-12 13:25:31 -05:00
Slava Pestov
7f2e2b1777
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
75f7e27c6c
Use new-style structs for overlapped struct on Windows
2009-09-05 16:20:58 -05:00
Slava Pestov
9881332ddb
windows.com.prettyprint: add unportable tag
2009-09-05 10:59:40 -05:00
Slava Pestov
a054ec3d64
specialized-arrays.direct is no more; instead, every specialized-array.<foo> vocabulary has a <direct-T-array> constructor
2009-09-04 22:01:55 -05:00
Slava Pestov
3e6189fec1
windows.com: split off prettyprinting into windows.com.prettyprint
2009-09-04 22:00:23 -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
475530ef3d
update network structs. NO WHAMMY, NO WHAMMY, NO WHAMMY...STOP!!!
2009-09-03 16:57:36 -05:00
Doug Coleman
d2bef9e32a
add using to windows.com.wrapper
2009-09-01 18:16:57 -05:00
Doug Coleman
740856eeca
fix windows usings
2009-08-31 15:22:26 -05:00
Joe Groff
9bd7471696
fix some things that broke in the windows UI/game-input backends
2009-08-31 12:45:39 -05:00
Joe Groff
2d37ac31be
Merge branch 'master' of git://factorcode.org/git/factor
...
Conflicts:
basis/environment/winnt/winnt.factor
basis/io/files/windows/nt/nt.factor
basis/windows/shell32/shell32.factor
2009-08-31 10:35:58 -05:00
Joe Groff
efe4f838ea
update windows.dinput structs
2009-08-31 10:28:22 -05:00
Joe Groff
5925043d34
update windows.* for <c-array> change
2009-08-31 09:58:27 -05:00
Doug Coleman
e837a5cea8
structs in windows.shell32
2009-08-29 20:56:39 -05:00
Doug Coleman
fb3fa1f797
remove dead code, use ${ and GUID:, structs
2009-08-29 20:52:14 -05:00
Doug Coleman
d2dd206638
remove c-array usage
2009-08-29 20:43:07 -05:00
Doug Coleman
a5c078213a
more struct work
2009-08-29 20:39:06 -05:00
Doug Coleman
57673db7ca
remove com-interface c-struct
2009-08-29 19:33:04 -05:00
Doug Coleman
a81c78e485
WSABUF struct
2009-08-29 19:25:18 -05:00
Doug Coleman
135d56fcd2
fix com, prettyprinting of GUIDs
2009-08-29 19:18:39 -05:00
Doug Coleman
ec579dcfc1
fix using
2009-08-29 17:42:14 -05:00
Doug Coleman
50a99dcce6
guid, system-info
2009-08-29 17:41:08 -05:00
Doug Coleman
0c37990f53
windows.offscreen structs
2009-08-29 17:35:11 -05:00
Doug Coleman
eb21a7b0dd
fix uniscribe
2009-08-29 17:18:30 -05:00
Doug Coleman
3ecb3a85db
SIZE struct
2009-08-29 17:08:25 -05:00
Doug Coleman
6aeb3614ff
new structs in font rendering
2009-08-29 14:29:46 -05:00