Slava Pestov
afbf4e9cb2
io.sockets: make addrspecs immutable
2010-09-04 18:49:27 -07:00
Slava Pestov
aa2f5ae13f
io.sockets: f 0 <inet4> should work
2010-09-04 15:41:12 -07:00
Slava Pestov
4fc792629e
io.sockets: clean up resolve-host
2010-09-04 14:42:05 -07:00
Slava Pestov
3d461046f0
io.sockets: factor out ipv4 and ipv6 classes for John Benediktsson's upcoming ICMP work)
2010-09-04 14:19:20 -07:00
Slava Pestov
29028d8aea
io.launcher.unix: clumsy fix for a race condition
2010-09-04 12:00:23 -07:00
Slava Pestov
7374d868e7
Change how SIGPIPE is ignored, and add a unit test to io.launcher.unix to ensure that this ignoredness is not inherited by child processes
2010-09-02 22:11:45 -07:00
Slava Pestov
b88b2c9b81
io.monitors.linux: fix typo
2010-08-24 23:01:37 -04:00
Slava Pestov
b7182432f3
io.monitors.recursive: fix typo
2010-08-23 21:54:59 -07:00
Slava Pestov
76d2b83685
Add unless-disposed combinator to clean up some repetition, and fix bogus error reported from timer thread if an I/O operation with a set timeout fails on Windows
2010-08-23 21:12:24 -05:00
Slava Pestov
cbb9ff61fb
io.sockets.windows: win32-socket instances were not being unregistered from global disposables hash; also check return value of closesocket
2010-08-15 00:05:27 -05:00
Philipp Brüschweiler
352e263de6
io.files.info.unix.linux: sometimes /etc/mtab isn't properly formatted (found on arch linux)
2010-08-01 14:00:03 +02:00
Slava Pestov
6e3dee43d4
io.ports: calling '0 read' now returns an empty sequence without blocking (reported by Brennan Cheung)
2010-07-30 15:58:33 -04:00
Slava Pestov
f7bd876cae
io.files.unix: fix tests for recent calendar.unix vocab changes
2010-07-21 00:23:35 -04: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
b04bc8640f
io.streams.throwing: add test file
2010-07-09 23:36:40 -07:00
Joe Groff
b1c557a825
io.streams.throwing: rename throws-on-eof -> stream-throw-on-eof and input-throws-on-eof -> throw-on-eof and change stream-throw-on-eof to leave the rigged stream on the stack, to better follow convention of other io words
2010-07-09 18:10:51 -07:00
Joe Groff
fb4cbd87d4
io.streams.limited: scrape out last vestiges of unlimiting
2010-07-09 14:56:54 -07:00
Joe Groff
90b962bbd3
io.streams.throwing: implement read-until
2010-07-09 14:26:01 -07:00
Joe Groff
99db070c9e
io.streams.throwing: implement tell and seek
2010-07-09 14:08:54 -07:00
Joe Groff
0bdc1514fd
io.streams.limited: remove unlimit*
2010-07-09 13:52:15 -07:00
Doug Coleman
2ca509a8fe
Split off io.streams.throwing from io.streams.limited and update usages of limited streams
2010-07-09 13:32:09 -05:00
Slava Pestov
01d67104f6
io.ports: fix stream-seek with seek-relative seek type (reported by Joe Groff)
2010-07-07 17:32:30 -04:00
Slava Pestov
a7384d5de6
io.ports: fix stream-tell implementation
2010-07-07 02:27:34 -04:00
Doug Coleman
e18bde069e
Clearer <pipes> word
2010-06-17 11:02:47 -05:00
Doug Coleman
d487a4b045
Merge branch 'master' of http://factorcode.org/git/factor
2010-06-16 16:48:04 -05:00
Sascha Matzke
c746b68c28
added doc for with-local-address
2010-06-16 22:54:53 +02:00
Doug Coleman
9840e5e147
Add a combinator to make a unique directory, set that to the current and temp directories, and then delete the directory when done. Useful when working with apps that need to write intermediate files to the current directory
2010-06-13 19:34:17 -05:00
Doug Coleman
a6f0abb9a2
Rename alarms -> timers
2010-06-10 16:39:13 -05:00
Slava Pestov
8fd6a24edb
ui.backend.cocoa: factor out stop-io-thread word for use by upcoming Gtk UI backend
2010-05-29 04:27:54 -04: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
e75b85de30
Update code base for new alarms api
2010-05-21 20:42:12 -05:00
Slava Pestov
949712243f
io.backend.unix: make timeouts work on stdin once Doug fixes alarms
2010-05-21 19:09:15 -04:00
Doug Coleman
bdecd564a3
Use keys/values where appropriate
2010-05-21 12:48:04 -05:00
Slava Pestov
a8098e3182
specialized-arrays: rename byte-array>T-array to T-array-cast, and make it work with anything that responds to >c-ptr / byte-length
2010-05-18 23:09:34 -04:00
Slava Pestov
627295f094
Language change: tuple slot setter words with stack effect ( value object -- ) are now named FOO<< instead of (>>FOO)
2010-05-06 17:21:02 -04:00
Slava Pestov
60299f6d74
Eliminate some -rot from the codebase
2010-05-03 18:31:01 -04:00
Slava Pestov
64ab598225
io.launcher.unix: add timeout to a test
2010-05-03 17:34:33 -04:00
Slava Pestov
c9db8f4269
io.sockets: update <datagram> docs
2010-04-27 10:52:19 -04:00
Slava Pestov
2eda6fc6aa
io.encodings: add a fast-path for ascii, utf8 and 8-bit encodings when string only contains ASCII characters
2010-04-19 01:14:00 -05:00
Joe Groff
ba2fa96eeb
unix: don't hack _exit to have a terminating effect; just use FUNCTION:
2010-04-14 22:04:04 -07:00
Slava Pestov
46a1fb2646
Merge remote branch 'origin/abi-symbols' into fastcall-madness
2010-04-10 00:10:33 -07:00
Slava Pestov
85f3c69c70
io.monitors.recursive: don't bomb if a dsubordinate monitor is disposed of
2010-04-07 20:40:13 -04: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
51fd5e34e8
Fix bootstrap on windows
2010-04-01 18:48:41 -05: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
dc52f177f5
Add utiltity words for io.files.unique
2010-03-31 15:09:51 -05:00
Slava Pestov
f1e19aabdb
threads: simplify 'suspend' combinator
2010-03-28 08:29:53 -04:00
Daniel Ehrenberg
39df2c373f
Fixing vocab ambiguities in linux and windows-specific vocabs
2010-03-17 00:22:48 -04:00
Daniel Ehrenberg
512fe14e4e
Merge branch 'bags' of git://github.com/littledan/Factor
...
Conflicts:
basis/compiler/cfg/ssa/construction/tdmsc/tdmsc.factor
basis/furnace/auth/auth.factor
basis/stack-checker/backend/backend.factor
2010-03-16 13:28:00 -04:00
Slava Pestov
4c9ae8398c
io.servers.connection: fix bogus logging
2010-03-14 17:04:36 +13:00
Joe Groff
e7968ceffc
mop up compiler errors from macosx load-all
2010-03-09 00:56:07 -08:00
Daniel Ehrenberg
434605c0b5
Changing some uses of prune to use members
2010-02-27 13:14:03 -05: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
Doug Coleman
ebd2cce1be
Add some commented out unit tests to io.ports.tests that seem like they should be supported
2010-02-24 03:33:16 -06:00
Slava Pestov
ca8be54c96
io.files.unix: fix load errors arising from byte-length being moved
2010-02-24 21:20:21 +13:00
Slava Pestov
af0ddd5985
Specialized arrays, structs and other objects responding to the >c-ptr / byte-length protocol can now be written to binary streams
2010-02-24 20:18:41 +13:00
Joe Groff
7844cbafab
missed a dead memory>struct in io.sockets
2010-02-22 19:09:03 -08:00
Joe Groff
ed18b911c8
io.sockets.windows.nt: update string c-types in alien-indirect
2010-02-21 16:49:44 -08:00
Slava Pestov
eab105590b
Rename io.launcher.unix.parser to simple-tokenizer since ftp.server uses it
2010-02-21 17:48:04 +13:00
Slava Pestov
c3f4bcb616
Fix load errors exposed by platforms.txt change
2010-02-20 13:31:09 +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
Slava Pestov
5336d6f287
io.monitors.recursive: fix hang introduced by recent io.monitors change
2010-02-19 07:36:12 -05:00
Slava Pestov
a343f8a31c
io.monitors: if a monitor is disposed while other threads are waiting on it, an error will be thrown from next-change, instead of those threads hanging forever. This makes monitors consistent with streams and other native resources that behave in a similar manner
2010-02-20 00:23:24 +13:00
Joe Groff
f06e278e17
Merge branch 'master' of git://factorcode.org/git/factor
...
Conflicts:
basis/tools/deploy/shaker/shaker.factor
2010-02-15 11:50:43 -08:00
Slava Pestov
4893ebf183
Small cleanups
2010-02-16 04:04:09 +13:00
Joe Groff
1b5ba15707
Merge branch 'master' of git://factorcode.org/git/factor
2010-02-14 21:07:04 -08:00
Slava Pestov
e19461d410
io.files.info: load io.files.info.unix if we're on Unix. Fixes long-standing no-method error on file-info
2010-02-15 17:15:26 +13:00
Joe Groff
1632fa6448
io.directories: directory-tree-files should include the directories too, not just their contents
2010-02-13 13:57:58 -08:00
Joe Groff
2b05f90c7b
io.directories: add "directory-tree-files" and "with-directory-tree-files" words
2010-02-13 12:52:32 -08:00
Slava Pestov
e2500c14d2
io.launcher.unix: sometimes both WIFEXITED and WIFSIGNALED would return true, and the wrong status would be reported
2010-02-07 18:17:53 +13:00
Slava Pestov
080609c281
Minor doc fixes
2010-02-03 22:56:32 +13:00
Brad Christensen
7381d47103
More documentation cleanup.
2010-02-03 00:05:04 -07:00
Slava Pestov
2022c2a83e
io.launcher.windows: include launch descriptor in error thrown when launching a process fails
2010-02-01 12:39:29 -06:00
Doug Coleman
af96673458
Better fix for ipv6
2010-01-24 15:57:06 -06:00
Doug Coleman
ef5baa5b67
Handle IPv6 addresses of the form ::127.0.0.1
2010-01-24 15:40:34 -06:00
Doug Coleman
7c40fc1a36
unix-system-call io-error -> unix-system-call drop
...
make unix.ffi, unix.ffi.linux unportable
fix spacing in io.cpp before refactoring
2010-01-23 09:07:35 -06:00
Doug Coleman
760746e2ff
Fix using
2010-01-22 15:01:38 -06:00
Doug Coleman
8c1d202b4c
Rename accumulator to collector, pusher to selector
2010-01-22 15:00:53 -06:00
Doug Coleman
3c09c7052c
Fix using
2010-01-22 12:59:33 -06:00
Doug Coleman
b7b84fc5b7
fix using
2010-01-22 12:59:27 -06:00
Doug Coleman
8d952277a2
Handle EINTR in a lot of cases where it wasn't handled before. Split off unix into unix.ffi and unix.
2010-01-22 12:59:24 -06:00
Doug Coleman
07fcb43a06
Make unix-system-call retry the call immediately upon hitting EINTR. Use unix-system-call wherever EAGAIN or EINPROGRESS are not handled. Handle EINTR if connect returns it.
2010-01-22 12:59:17 -06:00
Slava Pestov
790c7afeaf
io.launcher: since process timeouts only kick in when wait-for-process is called, try-output-process would hang indefinitely. Fix this by splitting up wait-for-process and wrapping stream-contents in a with-timeout
2010-01-22 12:20:37 -06:00
Slava Pestov
c4f19bc117
io.servers.connection: accept-loop doesn't need to be 'inline recursive'
2010-01-18 22:23:57 +13:00
Doug Coleman
41082b5b12
Fix minor typo in <server> docs
2010-01-17 23:13:20 -06:00
Slava Pestov
dd0571e69a
io.buffers: fix buffer-until for iota (reported by Sascha Matzke)
2010-01-16 18:44:24 +13:00
Doug Coleman
00f58f81e1
Fix iota bug in io.files.info.windows
2010-01-15 21:17:47 -06:00
Doug Coleman
4c71d71907
random is generic now -- iota random -> random
2010-01-14 12:48:57 -06:00
Slava Pestov
df4fb4a3ee
Removing integers-as-sequences
2010-01-15 07:15:33 +13:00
Slava Pestov
e96404327e
Get optimizing compiler working without global register variables in VM
2009-12-22 15:42:49 +13:00
Doug Coleman
9fea67f3ff
triyng to rice crc32 a bit
2009-12-13 02:03:06 -06:00
Doug Coleman
7369522b69
add utility words for changing file permissions
2009-12-06 17:53:35 -06:00
Joe Groff
67cc1c01be
Merge branch 'master' into simd-cleanup
2009-11-26 16:14:46 -08:00
Joe Groff
4027002db7
remove SIMD:s
2009-11-25 20:21:54 -08:00
Slava Pestov
79d0211c02
Merge branch 'master' of git://factorcode.org/git/factor
2009-11-22 13:49:26 -06:00
Slava Pestov
c222e5b6b1
io.launcher.unix: tests don't hang on failure
2009-11-22 13:49:10 -06:00
Doug Coleman
3a90db03c6
use CONSTANT: in epoll
2009-11-21 20:56:39 -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
dc1eefbcc9
update run-loop multiplexer
2009-11-19 14:18:27 -06:00
Doug Coleman
adcb0df0c4
fix stack effects for nanosseconds, update io backends for nanos
2009-11-19 04:51:47 -06:00
Doug Coleman
8d43f4e911
better pipe name on windows
2009-11-18 20:04:37 -06:00
Doug Coleman
097111e7c2
use system-micros
2009-11-18 18:26:27 -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
1ff1e3f4bc
add docs to 8-bit encodings vocabs, update usages
2009-11-12 18:36:20 -06:00
Doug Coleman
2b5d361cca
add more 8-bit windows encodings
2009-11-12 16:42:47 -06:00
Doug Coleman
b7745fea3c
add new 8-BIT: word
2009-11-12 16:38:21 -06:00
Slava Pestov
064c00f78d
New identity-hashcode primitive
2009-11-10 21:18:54 -06:00
Slava Pestov
2557ce1010
io.servers.packet: nothing was using it and it had a stack effect error. nuked
2009-11-09 00:53:47 -06:00
Joe Groff
138cdeff54
typo in io.files.info.windows
2009-11-07 22:23:39 -06:00
Joe Groff
61d579360d
remove non-primitive-related uses of tuck from basis
2009-11-05 17:03:24 -06:00
Joe Groff
fa6d7b7069
eliminate spin from basis
2009-11-05 14:05:06 -06:00
Slava Pestov
6c87f20286
Merge branch 'work' of git://github.com/carlo-kokoth/factor
2009-11-05 01:55:16 -06:00
carlok
42fc3c0f05
Add support for CP-1250 encoding
2009-11-05 07:35:16 +01:00
Slava Pestov
e4ad642134
vm: 4 bit tags, new representation of alien objects makes unbox-any-c-ptr more efficient (work in progress)
2009-11-02 04:25:54 -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
Joe Groff
6e1bffb1c5
update existing code to use :> ( ) when possible
2009-10-28 16:11:33 -05:00
Doug Coleman
93de179c2f
over push -> suffix!, over push-all -> append!
2009-10-28 15:29:01 -05:00
Doug Coleman
bd13e018dd
memq? -> member-eq?, sorted-memq? -> sorted-member-eq?
2009-10-28 15:02:00 -05:00
Doug Coleman
1476cdb974
reverse-here -> reverse!
2009-10-28 14:40:15 -05:00
Doug Coleman
7ce4b746e5
parsed -> suffix!, add append!
2009-10-28 13:38:27 -05:00
Slava Pestov
08e7d25dc5
change-each -> map!, deep-change-each -> deep-map!
2009-10-27 22:32:56 -05:00
Joe Groff
935c0797c3
update existing code for [let change
2009-10-27 22:05:37 -05:00
Slava Pestov
d05127644e
io.sockets.windows: fix USING: list
2009-10-23 03:40:02 -05:00
Sascha Matzke
a36e7ff40a
added with-local-address to bind the local address of a socket to a specific IP or IP/port combination (sometimes required to get through firewalls)
2009-10-23 08:10:03 +02:00
Joe Groff
c3b8847936
update a bunch of alien-callbacks and alien-indirects to use c-type words
2009-10-21 21:10:11 -05:00
Doug Coleman
9781e5180c
fix doc formatting for io.mmap
2009-10-20 22:43:11 -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
Slava Pestov
102af9badb
specialized-arrays, specialized-vectors: fix potential problem if two vocabularies define different C types with the same name
2009-10-19 04:41:53 -05:00
Doug Coleman
739f61bc56
fix using
2009-10-16 19:56:48 -05:00
Doug Coleman
7e2fdfe1ec
fix using for io.pathnames changes
2009-10-16 05:48:51 -05:00
Doug Coleman
42751cb148
fix io.directories.search on windows
2009-10-15 22:00:46 -05:00
Doug Coleman
211dce8cd7
add a move-file-unique word to move a file into a directory without name clashes
2009-10-15 15:29:24 -05:00
Doug Coleman
0dc734195c
fix enumerating fully qualified paths by calling normalize-path first
2009-10-15 00:12:11 -05:00
Doug Coleman
7d39e51d9a
add using and unit tests for mmap
2009-10-08 23:06:40 -05:00
Doug Coleman
37d0f29e4b
add a couple of combinators to mmap that take a c-type to reduce conceptual overhead and boilerplate, more docs
2009-10-08 16:07:36 -05:00
Doug Coleman
81e342e755
clarify behavior of seekable/nonseekable limited streams
2009-10-05 16:16:59 -05:00
Doug Coleman
88e2ba8f31
define tell-handle on windows nt
2009-10-05 12:34:34 -05:00
Doug Coleman
84fd08d86b
update docs for stream-tell
2009-10-03 19:39:06 -05:00
Doug Coleman
770405359e
better tests for stream-tell
2009-10-03 19:33:54 -05:00
Doug Coleman
ed1636a0c0
fix stream-tell
2009-10-03 19:26:59 -05:00
Doug Coleman
aa37a57b9a
take the buffer position into account on buffered-port stream-tell
2009-10-03 19:15:56 -05:00
Doug Coleman
098fd0248a
support limited-streams correctly for seekable streams
2009-10-03 18:27:09 -05:00
Keith Lazuka
405e5d015b
docs: change $subsection to $subsections
2009-10-02 12:15:48 -04:00
Slava Pestov
da623ba29a
Merge branch 'link' of git://github.com/klazuka/factor
2009-09-30 05:11:21 -05:00
Doug Coleman
69229032c2
define a method on stream-element-type, fix a bug in unlimited-input and add a unit test
2009-09-28 15:51:40 -05:00
Keith Lazuka
bdd47b9991
help.markup: word link stack effect is now clickable
2009-09-28 10:44:46 -04:00
Slava Pestov
21f918adb6
io.backend.unix.multiplexers: add meta-data
2009-09-28 06:38:23 -05:00
Slava Pestov
530accdad9
io.mmap: fix obsolete tests and get code to inline better
2009-09-28 03:18:27 -05:00
Joe Groff
5054c954be
add USING:s and rearrange definitions so macosx can compile without parsing c-type strings
2009-09-26 23:14:57 -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
81db20f59e
update windows.kernel32 structs (*)
2009-09-18 18:54:08 -05:00
Joe Groff
e6bc708882
update openssl.libcrypto structs
2009-09-18 17:50:20 -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
Doug Coleman
4f094a7ce5
fix bootstrap on openbsd
2009-09-13 00:21:57 -05:00
Doug Coleman
00e8e11d18
list file-systems with statfs instead of statvfs on openbsd
2009-09-12 21:05:26 -05:00
Keith Lazuka
726ad992a3
Pull in new literals vocab to remove bootstrap circularity
...
Merge branch 'master' into ui
2009-09-11 22:19:46 -04:00
Keith Lazuka
65e9c29a7b
io.styles: bailed out on the with-nested-styles combinator
2009-09-11 20:35:56 -04:00
Slava Pestov
91e7e1eeea
Fix the build
2009-09-10 00:47:01 -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
Keith Lazuka
a96e828d7c
io.styles: renamed the 'border-width' style to 'inset'. inset takes a pair of 2 numbers (horizontal and vertical insets)
2009-09-09 15:50:25 -04:00
Keith Lazuka
1bb48ec9ea
Changed Browser's "Up:" links to a traditional breadcrumbs list.
...
Tweaked a few colors in the Factor UI.
2009-09-09 10:44:41 -04:00
Doug Coleman
1fc0940b2a
make something private
2009-09-08 17:10:19 -05:00
Doug Coleman
5a7ac3965d
use raw pathnames for file-systems word
2009-09-08 17:05:05 -05:00
Doug Coleman
eb558fcc9c
remove deprecated inotify-event struct
2009-09-08 14:15:25 -05:00
Slava Pestov
75f7e27c6c
Use new-style structs for overlapped struct on Windows
2009-09-05 16:20:58 -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
084c3cac3d
io.launcher.windows.nt: make tests more robust
2009-09-04 21:59:11 -05:00
Slava Pestov
f0d5f99d23
io.backend.windows: fix for deployment
2009-09-04 09:27:46 -05:00
Slava Pestov
b238a1719f
io.backend.windows.nt.privileges: fix make-token-privileges
2009-09-04 09:08:04 -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
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
b282dd9eac
Merge branch 'master' of git://factorcode.org/git/factor
2009-09-01 18:16:31 -05:00
Doug Coleman
9ad468f449
Merge branch 'master' of git://factorcode.org/git/factor
2009-09-01 15:38:52 -05:00
Slava Pestov
2037667473
io.backend.unix.multiplexers.epoll: update for STRUCT:
2009-09-01 14:46:08 -05:00
Doug Coleman
eb98b49d74
openbsd defined a struct with freebsd in the name. oops.....
2009-09-01 14:18:29 -05:00
erg
4c354581a9
fix file-systems on the bsds
2009-09-01 13:16:37 -05:00
Joe Groff
bce748ee81
fix newly introduced references to c-type-array
2009-08-31 12:49:09 -05:00
Joe Groff
175529c938
Merge branch 'master' of git://factorcode.org/git/factor into struct-updates
2009-08-31 12:35:47 -05:00
Doug Coleman
6ac21a8cf9
fix using
2009-08-31 12:20:56 -05:00
Joe Groff
f74351ce64
Merge branch 'master' of git://factorcode.org/git/factor into struct-updates
2009-08-31 12:01:23 -05:00
Joe Groff
1a84aa7fc3
Merge branch 'master' of git://factorcode.org/git/factor into struct-updates
2009-08-31 12:01:04 -05:00
Doug Coleman
0bcd7c2619
typo
2009-08-31 12:00:39 -05:00
Doug Coleman
d22a25a3ec
try to fix file-systems on a few platforms
2009-08-31 11:49:29 -05:00
Doug Coleman
6c996f4d30
fix netbsd file-systems
2009-08-31 11:38:21 -05:00
Doug Coleman
27af645048
fix file-systems on freebsd
2009-08-31 11:35:52 -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
c1fe3854d4
update io.files.*.windows to use specialized arrays; also, io.files.info.windows was providing buffers that were too small, so fix that
2009-08-31 09:58:04 -05:00
Doug Coleman
d5a7dde7ee
fix kqueue
2009-08-30 21:57:33 -05:00
Slava Pestov
5c10f390c7
Merge branch 'master' of git://factorcode.org/git/factor
2009-08-30 21:12:23 -05:00
Slava Pestov
348311ea90
io.backend.unix: tweak test
2009-08-30 21:01:49 -05:00
Doug Coleman
05cc8babb6
update kqueue for structs
2009-08-30 20:26:25 -05:00
Doug Coleman
de94e49f06
escape the class name in io.files.info
2009-08-30 20:10:41 -05:00
Doug Coleman
447be26efd
remove direct uint arrays in file info
2009-08-30 11:58:30 -05:00
Doug Coleman
783eb0bb53
change all stat, statfs, statvfs and calendar structs
2009-08-30 04:06:41 -05:00
Doug Coleman
d88cdffa47
Merge branch 'master' of git://factorcode.org/git/factor
2009-08-29 23:39:20 -05:00
Doug Coleman
e780e4fa55
Merge branch 'master' of git://factorcode.org/git/factor
2009-08-30 22:50:22 -05:00
Doug Coleman
d8be0561fb
make a struct for dirents on linux, not a <c-object>
2009-08-30 22:49:35 -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
14973eacb5
update dirent for structs
2009-08-30 22:11:42 -05:00
Doug Coleman
fb3fa1f797
remove dead code, use ${ and GUID:, structs
2009-08-29 20:52:14 -05:00
Doug Coleman
a5c078213a
more struct work
2009-08-29 20:39:06 -05:00
Doug Coleman
6e4ec190df
remove c-array usage
2009-08-29 20:34:29 -05:00
Doug Coleman
dedc1eb0cb
more WIN32_FIND_DATA structs
2009-08-29 19:43:56 -05:00
Doug Coleman
a81c78e485
WSABUF struct
2009-08-29 19:25:18 -05:00
Doug Coleman
b8164120f5
oops, forgot to update a struct
2009-08-29 14:37:09 -05:00
Doug Coleman
56be96429a
fix io monitors
2009-08-29 14:28:00 -05:00
Doug Coleman
d2accedf8d
more structs
2009-08-29 13:45:25 -05:00
Doug Coleman
469e7e8d67
newstructify PIXELFORMAT
2009-08-27 20:35:37 -05:00
Doug Coleman
ee418a75d9
Merge branch 'master' of git://factorcode.org/git/factor
2009-08-27 19:53:46 -05:00
Slava Pestov
f808f43ffb
A few inline declarations
2009-08-27 04:09:12 -05:00
Doug Coleman
edb7090993
support seeking on limited streams
2009-08-26 13:48:41 -05:00
Doug Coleman
03fc2a3461
Merge branch 'master' of git://factorcode.org/git/factor
2009-08-26 09:40:49 -05:00
Joe Groff
a6c8e91f88
fix directory-entries so we can bootstrap again
2009-08-25 23:50:27 -05:00
Doug Coleman
003db124e2
use structs in process launcher
2009-08-25 17:46:07 -05:00
Doug Coleman
c50eaf1c29
less aggressive open-file for file-times, use FILETIME struct now
2009-08-25 17:34:06 -05:00
Doug Coleman
3507616f3b
use structs in a few places in windows backend
2009-08-25 17:23:23 -05:00
Slava Pestov
29b489c892
io.monitors: fixes for disposable protocol
2009-08-24 20:55:24 -05:00
Slava Pestov
b2a1858f8f
Move a few more things over to new disposable protocol
2009-08-24 20:33:27 -05:00
Slava Pestov
197a64eaae
io.streams.duplex: fix test
2009-08-24 20:19:55 -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
Slava Pestov
5fe3a62446
io.launcher.windows.nt: don't call duplicate-handle, and fix memory leak; io.backend.windows: track win32-handle instances in global win32-handles set to help find leaks
2009-08-18 03:46:46 -05:00
Slava Pestov
030b1b816c
Add inline declarations for various assorted methods
2009-08-17 22:32:21 -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
4fef246ca4
add 10^ to math.functions and update usages
2009-08-11 18:00:24 -05:00
Slava Pestov
d0f2b1c606
io.launcher: unnecessary word
2009-07-09 06:31:38 -05:00
Slava Pestov
29327a787c
Remove initial-quot feature
2009-06-15 13:07:15 -05:00
Doug Coleman
6c2e483913
use initital-quot: in threaded-server tuple declaration
2009-06-11 20:20:38 -05:00
Doug Coleman
ae034f1f09
use concat-as
2009-06-10 16:01:46 -04:00
Doug Coleman
175b03c134
add a <limited-file-reader> word to open a limited stream from a file correctly
2009-06-03 21:21:21 -05:00
Doug Coleman
802283c94c
fix help for new-threaded-server
2009-05-30 19:24:11 -05:00
Doug Coleman
50e6fac013
change threaded-server and managed-server to take an encoding
2009-05-30 19:15:53 -05:00
Slava Pestov
d7ab0ad7c0
io.monitors: spawn-monitor was broken and never used, so remove it (reported by levi in #concatenative)
2009-05-22 02:04:36 -05:00
Slava Pestov
327a213f93
io.monitors: fix example (reported by levy in #concatenative0
2009-05-21 23:27:42 -05:00
Slava Pestov
7d328011e8
Working on webapps.mason
2009-05-21 00:08:43 -05:00
U-C4\Administrator
02b769475b
fix duplicate using lines
2009-05-17 20:29:32 -05:00
Slava Pestov
a9c339e583
Fix windows bootstrap
2009-05-16 11:20:08 -05:00
Slava Pestov
142fddd530
Fix usings on X11
2009-05-16 11:50:16 -04:00