Commit Graph

54 Commits (aa1edad0788d91f89965e3c82b51c1d8f6fbf698)

Author SHA1 Message Date
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
Slava Pestov 742db564f3 io.sockets: fix to work in deployed apps 2009-09-04 03:57:57 -05:00
Doug Coleman c6fcb32136 WHAMMY! convert io.sockets.unix 2009-09-03 17:08:54 -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 d88cdffa47 Merge branch 'master' of git://factorcode.org/git/factor 2009-08-29 23:39:20 -05:00
Slava Pestov 1f40ea64f0 io.sockets.unix: cleanup two usages of 'rot' and use struct setter instead of memcpy 2009-08-30 22:21:14 -05:00
Doug Coleman fb3fa1f797 remove dead code, use ${ and GUID:, structs 2009-08-29 20:52:14 -05:00
Doug Coleman a81c78e485 WSABUF struct 2009-08-29 19:25:18 -05:00
Slava Pestov 46045c882e Disposables are now registered in a global disposables set. To take advantage of this, subclass disposable instead of providing a disposed slot and call new-disposable instead of new. tools.disposables defines two words, 'disposable.' and 'leaks', to help track down resource lifetime problems 2009-08-24 02:26:13 -05:00
Doug Coleman 3f3d57032b Delete empty unit tests files, remove 1- and 1+, reorder IN: lines in a lot of places, minor refactoring 2009-08-13 19:21:44 -05:00
Doug Coleman 4a3d63e00a use if-zero in a few more places 2009-08-11 18:15:53 -05:00
Doug Coleman ae034f1f09 use concat-as 2009-06-10 16:01:46 -04:00
Slava Pestov a9c339e583 Fix windows bootstrap 2009-05-16 11:20:08 -05:00
Slava Pestov a0eb60906d Fix even more usings 2009-05-16 10:45:17 -05:00
Slava Pestov b31fe9b8f2 Implement stricter vocab search path semantics, with a new API for vocabs.parser. Add map-find-last to sequences vocab 2009-05-14 22:31:29 -05:00
Slava Pestov fb6df472a2 Cleaning up USING: lists for new strict semantics 2009-05-14 16:54:16 -05:00
Slava Pestov 0c1e519dcb Rename use+ to add-use, move search to vocabs.parser, EXCLUDE: bombs out if word doesn't exist 2009-05-13 22:15:48 -05:00
Doug Coleman ce7ad9a42d fix unit tests that call lines or contents 2009-05-01 16:38:04 -05:00
Slava Pestov c2fe2a4fea Improve stack checker documentation 2009-04-23 03:48:32 -05:00
Slava Pestov 05f3f9dcb9 Fixing unit tests for stack effect inference changes 2009-04-20 21:15:19 -05:00
Slava Pestov 1c123e7e22 Remove some usages of -rot and tuck 2009-04-18 21:53:22 -05:00
Slava Pestov 3f1e6a46e4 io.sockets.secure.unix.debug: Add <test-config> word 2009-03-18 19:30:57 -05:00
Slava Pestov 91d0c4ed1f Fix conflict 2009-02-22 20:02:13 -06:00
Doug Coleman 990513db60 use CONSTANT: in basis 2009-02-22 19:13:08 -06:00
Slava Pestov be40bd33ee New initialize-alien word 2009-02-20 20:51:13 -06:00
Slava Pestov 6b99b04531 Add vocab: for vocab-relative paths 2009-02-15 19:53:21 -06:00
Doug Coleman 43a91efde9 rename err_no to errno, clear_err_no to clear-errno, move them to libc, update usages 2009-02-06 18:22:28 -06:00
Slava Pestov 79bb003e6d io.sockets.secure.openssl: Don't allocate empty password string. Fixes test failures introduced by >c-ptr change 2009-02-06 10:17:20 -06:00
Slava Pestov f34c14a0f5 Remove some usages of tuck 2009-01-23 18:20:47 -06:00
Slava Pestov 392516e845 More doc fixes 2009-01-16 14:20:29 -06:00
Slava Pestov af998eb073 Merge branch 'for-slava' of git://git.rfc1149.net/factor 2009-01-16 13:32:42 -06:00
Slava Pestov 7eb831d349 Fix various documentation errors 2009-01-16 13:30:43 -06:00
Samuel Tardieu 573c150409 inet6 address components cannot be stored as bytes as they are 16 bits long 2009-01-16 11:06:32 +01:00
Slava Pestov c5160d76e9 Merge qualified, alias, symbols, constants into core 2008-12-17 18:10:01 -06:00
Slava Pestov daf2857d7b define-inline now takes an effect parameter
C: now sets the stack effect of the new word to slot names
add new basis/constants vocab; CONSTANT: foo bar is equivalent to : foo bar ; inline
(going to fold CONSTANT:, ALIAS: and qualified into core soon perhaps)
tighten the screws: inline words now need a stack declaration too
update some usages of inline words
2008-12-15 19:44:56 -06:00
Slava Pestov dccbb84629 Updating unit tests for I/O re-organization 2008-12-14 21:21:44 -06:00
Slava Pestov 50e214c152 io.files split up and general refactoring work in progress 2008-12-14 20:03:00 -06:00
Slava Pestov ada08e6d0e Removing prettyprint and debugger dependencies from io code 2008-12-08 19:45:48 -06:00
Doug Coleman db30415dcb basis: swap 3append -> glue 2008-12-03 19:10:41 -06:00
Slava Pestov 4b62fb68f1 Documentation update 2008-11-30 13:52:26 -06:00
Slava Pestov 4ec8326917 Move underlying-handle word from io.launcher to io.ports, add a new underlying-port word
Add a remote-address symbol to io.sockets, with-client binds it, ditto for io.servers.connection
io.sockets.secure now has two new words, send-secure-handshake, accept-secure-handshake, to upgrade existing connections
2008-11-30 13:46:39 -06:00
Slava Pestov eedf58c5ef Add platform support note 2008-11-30 10:18:29 -06:00
Slava Pestov 1409ddf15c Fix load error 2008-11-23 03:26:25 -06:00
Slava Pestov 304ee19a3b Forgot to add a vocab 2008-11-23 02:36:26 -06:00
Slava Pestov 143f078dd8 Fix io.sockets docs for when io.sockets.secure isn't loaded 2008-11-16 11:33:38 -06:00
Slava Pestov c19f2257f4 Fix permission bits 2008-10-02 08:34:49 -05:00
Slava Pestov 403d5207f0 stop-server/stop-this-server split 2008-10-02 08:30:38 -05:00
Slava Pestov 2e48915f9c Strip out C I/O if native I/O enabled 2008-10-02 03:38:36 -05:00
Slava Pestov 78008e9904 Better connection logging 2008-09-22 16:09:10 -05:00
Doug Coleman 8a921c791c if-empty changes 2008-09-06 19:13:59 -05:00