Alexander Iljin
6c04569536
windows.ole32: add LPCGUID type
2017-10-09 09:58:07 -07:00
Alexander Iljin
504c9959a1
Update some copyright headers to follow the current convention
...
Had to look through the history to find years for some headers. Added
authors to some files as well.
2017-09-11 15:43:03 -07:00
Doug Coleman
7b150204b1
windows.kernel32: Don't use /* */
2017-09-08 23:42:56 -05:00
Doug Coleman
fc14a13335
windows.dragdrop-listener: Remove unfinished autogenerated docs.
...
To regenerate docs do ``"windows.dragdrop-listener" scaffold-undocumented`` and also run ``"windows.dragdrop-listener" help-lint``
2017-09-06 21:39:46 -05:00
Doug Coleman
8c4a7c0402
windows.dragdrop-listener: Fix an error when calling
...
``windows.dragdrop-listener" load``
2017-09-06 19:05:29 -05:00
Doug Coleman
cfed04a373
windows.dragdrop-listener: Fix compilation bug.
2017-09-02 02:00:25 +00:00
Doug Coleman
9a2af5a312
windows: Fix some drag and drop apis.
...
Attempting to define IDropTarget::QueryInterface-callback-1 outside of a compilation unit
Re-definition of LPD3DXPRTCOMPBUFFER
2017-08-31 23:24:12 -05:00
Alexander Iljin
7a554e302f
windows.dragdrop-listener: add a short documentation and a summary
2017-08-18 02:21:57 +03:00
Alexander Iljin
94b67b52a8
windows.dragdrop-listener: add copyright comments and the authors file
2017-08-18 02:21:56 +03:00
Alexander Iljin
52b6cee8e4
windows.dragdrop-listener: optimize the DragEnter implementation
2017-08-18 02:21:55 +03:00
Alexander Iljin
db24910497
windows.dragdrop-listener: generalize some code for reuse
2017-08-18 02:21:55 +03:00
Alexander Iljin
75f5f08810
windows.dragdrop-listener: fix filenames-from-hdrop implementation
2017-08-18 02:21:54 +03:00
Alexander Iljin
cc5333694a
windows.dragdrop-listener: add a helper word
2017-08-18 02:21:54 +03:00
Alexander Iljin
5c0ca7c41b
windows.dragdrop-listener: list all function parameters in the comments
2017-08-18 02:21:53 +03:00
Alexander Iljin
e1bd46faee
windows.dragdrop-listener: balance the stack effects to pass compilation
2017-08-18 02:21:53 +03:00
Alexander Iljin
aa3d2ae5c4
windows.dragdrop-listener: fix a COM interface reference
2017-08-18 02:21:52 +03:00
Alexander Iljin
bd10484dc1
windows.dragdrop-listener: fix compilation of dragdrop-listener-window
...
The actual code needs to be updated to work with the current UI.
2017-08-18 02:21:52 +03:00
Alexander Iljin
111d73a901
windows.dragdrop-listener: replace construct-boa with boa
2017-08-18 02:21:51 +03:00
Alexander Iljin
d6c7a7437f
windows.dragdrop-listener: fix the USING: list
2017-08-18 02:21:51 +03:00
Alexander Iljin
d91d820e70
windows.dragdrop-listener: replace set-ulong-nth with set-alien-unsigned-4
2017-08-18 02:21:50 +03:00
Alexander Iljin
5f87b1d577
windows.dragdrop-listener: move from unmaintained to basis
2017-08-18 02:20:31 +03:00
Doug Coleman
de1cdfec52
windows.directx: Fix some TYPEDEF: lines that end in a semicolon.
2017-08-05 20:57:42 -05:00
Doug Coleman
e189954ecc
core: Rename iota to <iota> so we can have TUPLE: iota ... ; instead of TUPLE: iota-tuple ... ;
2017-06-02 11:57:05 -05:00
Benjamin Pollack
7184771c31
io.directories: improve file moving words
...
move-file previously had inconsistent behavior on Windows and unixes.
This unifies the behavior to the common case (just get 'er done), while
also introducing an obviously named word, move-file-atomically, to
handle the case where you need an atomic file primitive.
Fixes #1772
2017-01-06 15:43:34 -08:00
Björn Lindqvist
63524a7425
windows.shell32: formatting the long parameter lists
2016-08-21 02:43:22 +02:00
Alexander Iljin
7a15e928eb
windows.com.syntax: remove return-type-name import
...
This fixes the bootstrap, which was broken in 907d63c16b
.
2016-08-16 16:16:43 -07:00
Alexander Iljin
2fd5654473
Add EOL at EOF for all authors.txt files for consistency
...
In some instances replaced CR/LF with LF.
2016-07-30 09:25:30 -07:00
Alexander Iljin
4f74f5bd69
windows.fonts: call reset-memoized for windows-fonts on startup
2016-07-26 15:13:12 -07:00
John Benediktsson
6e83fd4068
windows.ole32: use sets in tests.
2016-07-01 07:55:50 -07:00
Alexander Iljin
2da68f908b
windows.ole32: add create-guid
2016-06-29 14:17:57 -07:00
Alexander Iljin
cada98f7d8
windows.shell32: remove extra declaration of ERROR_FILE_NOT_FOUND
...
We already have one in windows.errors.
2016-06-22 11:27:26 -07:00
Doug Coleman
0055f3c616
factor: remove some extra whitespace.
2016-04-07 14:30:36 -07:00
John Benediktsson
498285d7dd
unicode: make this the API for all unicode things.
2016-03-30 23:29:48 -07:00
John Benediktsson
2845fb47c1
windows.crypt32: adding platforms.txt.
2016-03-13 07:57:11 -07:00
Doug Coleman
c906148e29
windows.types: fix using
2016-03-13 01:53:22 -08:00
Doug Coleman
f3eca53bf5
windows: Adding crypt32 api for SSL certificate loading.
2016-03-13 01:42:52 -08:00
Doug Coleman
aac36d1af8
windows.types: LPSTR is a utf8 string. Add LPTCSTR.
2016-03-13 01:42:51 -08:00
Doug Coleman
26e5c1aecf
windows.kernel32, io.files.windows: Add support for listing alternate data
...
streams, e.g. file paths like foo.txt:Zone.Identifier.
2015-11-01 18:17:51 -08:00
Björn Lindqvist
436cb76dd3
windows.uniscribe: add SSA_FALLBACK and SSA_TAB to the flags, should fix #860
2015-10-22 23:14:55 +02:00
Doug Coleman
8e90bd3dec
kernel32: Fix a typo, fix a constant value, another typo, add three more
...
flags to the monitors api.
2015-10-09 20:38:30 -07:00
Björn Lindqvist
77f0d0042e
unix.ffi,windows.winsock: add the rest of the AI_* flags
...
Currently unused, but they are useful if you are calling the getaddrinfo
function directly
2015-10-08 15:29:14 +02:00
John Benediktsson
e477f6996f
Fix comments to be ! not #!.
2015-09-08 16:15:10 -07:00
Doug Coleman
bb16ef8a86
windows.kernel32: add more bindings
2015-08-27 11:29:26 -07:00
John Benediktsson
3e9d80edf1
windows.directx.dinput.constants: simplify uninitialize.
2015-08-14 19:51:52 -07:00
Doug Coleman
5ba44b37bc
windows.errors: fix bootstrap
2015-08-13 23:07:32 -07:00
John Benediktsson
ceb75057da
change ERROR: words from throw-foo back to foo.
2015-08-13 16:13:05 -07:00
Doug Coleman
b6be8685c3
basis: ERROR: changes.
2015-08-13 03:20:39 -07:00
Doug Coleman
1fcf96cada
factor: remove """ string syntax for now. there are HEREDOC:, STRING:, escaping \", and something else soon.
2015-07-25 22:59:56 -07:00
Doug Coleman
cf0cb4aedc
nested-comments: remove this vocab. we have /* */ which is good enough for now.
...
broken case:
(*
: print-broken ( -- ) "*)" ;
*)
not worth fixing, please don't bring this back :)
its functionality will be replaced soon.
2015-07-21 12:07:53 -07:00
Doug Coleman
1e22e9b814
factor: all FUNCTION: rename complete
2015-07-19 22:55:24 -07:00
Doug Coleman
6f6007570a
factor: Fix rename issues.
2015-07-19 19:56:16 -07:00
Doug Coleman
6ce59b755f
windows.user32: fix some more sloppiness
2015-07-19 17:24:17 -07:00
Doug Coleman
07b8ba1ed5
windows.user32: forgot one
2015-07-19 17:22:57 -07:00
Doug Coleman
8bda0caff1
factor: FUNCTION: rename by hand...
2015-07-19 17:09:01 -07:00
Doug Coleman
5f8426cfbe
factor: rename files that are not loadable on mac, too
2015-07-19 16:55:36 -07:00
Doug Coleman
865510670a
windows.ddk.setupapi: fix function syntax
2015-07-19 16:55:27 -07:00
Doug Coleman
14ba179254
factor: change FUNCTION: and similar to not have trailing ;
2015-07-19 16:24:47 -07:00
John Benediktsson
c25fb5f55e
update some more MACRO: effects.
2015-07-19 11:42:46 -07:00
Doug Coleman
352e5de16a
core, basis, extra: Remove DOS line endings from files.
...
Remove whitespace from end of lines.
Add a newline to the end of each file.
2015-06-29 17:25:40 -07:00
Doug Coleman
1230f56197
com.wrapper: create -> create-word
2015-06-08 13:21:24 -07:00
Doug Coleman
d6b6b955d3
windows: fix words -> vocab-words
2015-06-08 13:07:12 -07:00
Doug Coleman
6e60c811ac
core: Rename create to create-word, create-in to create-word-in.
2015-06-08 12:47:35 -07:00
Doug Coleman
37e7349dee
windows.com: Prevent release from being called with f, which causes a
...
segfault.
2015-06-06 17:04:02 -07:00
John Benediktsson
b366a06c41
use reject instead of [ ... not ] filter.
2015-05-12 18:50:34 -07:00
Benjamin Pollack
2c3dd8c3c8
Remove executable bit from tons of files that aren't
2014-11-05 20:40:42 -08:00
Björn Lindqvist
3f65984055
stack-checker.alien: use free-callback as a destructor when creating
...
callbacks
+ tests proving it works. now in case you create temporary callbacks you
can enclose them in with-destructors and it will just work(tm).
2014-09-29 07:30:21 -07:00
Doug Coleman
6c26ea81c4
windows.directx: Upgrade xinput library.
2014-07-09 22:36:44 -07:00
Björn Lindqvist
ee19a97869
io.sockets.windows: wrap ioctlsocket and related constants to enable
...
setting sockets in non-blocking mode
2014-04-02 16:50:20 -05:00
Björn Lindqvist
4676ff921a
windows.winsock: fix the definition of SOCKET_ERROR and unit tests that
...
verifies its correctness
2014-04-02 16:50:13 -05:00
Björn Lindqvist
a5397756fe
windows.winsock: use the windows api types instead of int and void*
...
where applicable
2014-04-02 16:50:06 -05:00
Björn Lindqvist
f8387a08ae
Merge:
...
io.sockets.secure.windows: use non-blocking sockets to prevent
SSL_connect from blocking
On Windows, SSL_connect may hang forever if the server doesn't send any
data. To counteract that we temporarily set the socket non-blocking and
then call select in the wait-for-fd method.
Conflicts:
basis/io/sockets/secure/openssl/openssl-tests.factor
2014-04-02 12:16:51 -05:00
Björn Lindqvist
3715bb6b9a
windows.errors: fix #987
2014-02-12 18:08:52 -08:00
Björn Lindqvist
eaf0b40a9f
windows.winsock: wrap socket function
2013-10-11 10:23:40 -07:00
John Benediktsson
ff96ad9475
windows.winsock: port should be short, not sure if it should be PACKED-STRUCT or not.
2013-09-26 14:02:08 -07:00
John Benediktsson
db3d5f48cc
windows.winsock: the servent structure is different between 32-bit and 64-bit.
2013-09-25 11:39:27 -07:00
John Benediktsson
04c36279bb
windows.winsock: fix getservbyport and servent struct.
2013-09-16 17:35:06 -07:00
Björn Lindqvist
7c179f876c
unix.ffi, windows.winsock: wraps for servent functions
2013-09-16 17:31:37 -07:00
Doug Coleman
a326b73470
windows.ntdll: Use the real field names for all the BYTE and reserved
...
dummy fields.
2013-05-01 18:15:14 -07:00
Doug Coleman
9e14cee4cf
windows.ntdll: Make this Windows-only.
2013-04-27 02:47:52 -07:00
Doug Coleman
c95c0fcc98
windows: Add ntdll and bind to more process listing functions.
2013-04-26 21:15:12 -07:00
John Benediktsson
1b66b12b8a
windows.winmm: adding platforms.txt.
2013-04-26 15:53:26 -07:00
Doug Coleman
5054b6b3de
windows.winmm: Add binding to play mp3s.
2013-04-26 11:06:49 -07:00
Doug Coleman
99db5b68d7
windows: Fix bootstrap.
2012-10-25 09:06:02 -07:00
Doug Coleman
2921829b79
windows: Attempt to fix circularity.
2012-10-24 19:03:25 -07:00
Doug Coleman
43fb3fb174
windows.shell32: Throw an error if file does not exist on file-executable?
...
call.
2012-10-24 17:48:42 -07:00
Doug Coleman
0ae18456fd
windows.shell32: Add a way to find out the kind of executable of a file on
...
windows. Inline a word.
2012-10-24 16:16:35 -07:00
Doug Coleman
b839d15b4a
windows.kernel32: Add function and some structs.
2012-10-24 14:23:02 -07:00
Doug Coleman
84c1137eb4
windows.uniscribe: Render image lazily. Speeds up panes benchmark.
2012-09-21 09:54:40 -07:00
John Benediktsson
3470492e21
windows.fonts: speed up cached fonts.
2012-09-20 12:14:44 -07:00
Doug Coleman
b72040d3b6
windows: Start adding GetBestInterface.
2012-09-17 08:05:23 -07:00
Doug Coleman
c5df68d7b3
windows.iphlpapi: Add a way to get interfaces, mac addrs, and ips on
...
windows.
2012-09-16 17:51:05 -07:00
Doug Coleman
6f8043241e
windows.winsock: Add sockaddr>ip.
2012-09-16 17:50:47 -07:00
Doug Coleman
320efb8bc7
windows.kernel32: Add HeapAlloc, HeapFree but don't use them..
2012-09-16 17:24:31 -07:00
John Benediktsson
4e72d80256
Using "same?" in more places.
2012-07-21 10:22:44 -07:00
John Benediktsson
4043244ce5
windows.time: fix using list.
2012-07-16 15:46:52 -07:00
John Benediktsson
80a7329de8
windows.time: faster windows-time>timestamp.
2012-07-16 15:30:58 -07:00
Doug Coleman
3dd30d2f49
issue #358 : rename ole32-error -> check-ole32-error
2012-06-21 08:38:02 -07:00
Doug Coleman
eccf5a82ae
io.files.info.windows: Fix file-systems word in two ways. First, don't
...
allocate 32k on the local alloc stack (which causes a 'double fault.')
Second, if the volume doesnt look up to a real path, don't make a dummy
object for that. volume
Use alien>native-string and native-string>alien wherever possible instead of
utf16n for Windows.
2012-06-21 08:32:53 -07:00
John Benediktsson
25e6e41707
windows.ddk.setupapi: use PACKED-STRUCT (thanks Joe Moschini).
2012-06-04 19:08:46 -07:00
Joe Groff
8b9b8df457
io.files.temp.windows: fix up
2012-04-16 11:55:33 -07:00