Commit Graph

396 Commits (e3cb32504015ca0206abf30a96f5f7009ab0549e)

Author SHA1 Message Date
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
Joe Groff 943596575a use radix literals 2011-11-23 19:03:40 -08:00
Doug Coleman 4ebe5218c7 Update Windows for word renames, fix lint errors 2011-10-24 21:50:02 -07:00
John Benediktsson 4246c0ad36 windows.directx: add platforms.txt. 2011-10-24 15:47:06 -07:00
Doug Coleman b58688f87d Add throw-win32-error, use it in (delete-file) 2011-10-19 02:51:36 -07:00
Doug Coleman 5608178389 When deleting a file, if it fails with "Access is denied" then set the file
attributes to normal and try again. Some files in the .git directory are set
to read-only, preventing the build machines from deleting old builds.
2011-10-19 02:28:45 -07:00
John Benediktsson 80e1c8e3f2 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 671f19d70f 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 76580da5d5 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