Doug Coleman
2af947b08e
fix using for recent change
2008-12-10 14:43:56 -06:00
Doug Coleman
164f8ccb67
parse the fsid_t for the rest of the platforms
2008-12-10 14:28:22 -06:00
slava
e42de00371
Fix some bugs in epoll, and use it on Linux
2008-12-09 20:55:42 -06:00
Slava Pestov
a4fc4046a0
Updating epoll code
2008-12-09 20:01:23 -06:00
Doug Coleman
2f79e5256d
fsid[2] -> 2array on mac
2008-12-09 18:17:16 -06:00
Doug Coleman
26806f9d7a
remove a line of debugging
2008-12-09 17:53:17 -06:00
Doug Coleman
dffb8c961b
Merge branch 'master' of git://factorcode.org/git/factor
2008-12-09 17:51:48 -06:00
Slava Pestov
c2504f207d
Use kqueue on Mac OS X instead of select
2008-12-09 17:49:03 -06:00
Doug Coleman
35117a0e49
add more fields to io.windows.files
2008-12-09 17:44:37 -06:00
Slava Pestov
9ab4d53213
Fix io.encodings.utf16n unit tests
2008-12-09 04:22:24 -06:00
U-SLAVA-DFB8FF805\Slava
2676807f72
Fix typo
2008-12-03 23:53:08 -06:00
Slava Pestov
1e1640abb3
Load fixes
2008-12-09 03:22:38 -06:00
Slava Pestov
5443217876
Merge branch 'untangle'
2008-12-09 00:03:49 -06:00
Slava Pestov
fa472f2657
Merge branch 'master' of git://factorcode.org/git/factor
2008-12-09 00:02:55 -06:00
Slava Pestov
b154b21aaa
Add new until combinator, and a new do word which acts like a modifier: do while, do until for loops which iterate at least once
2008-12-08 23:37:18 -06:00
Doug Coleman
08d0035ac8
document new unique word
2008-12-08 21:53:42 -06:00
Doug Coleman
154bc260c6
remove io.files.unique.backend
...
rename (make-unique-file) to touch-unique-file
2008-12-08 21:32:36 -06:00
Doug Coleman
101bc66b2b
add a unit test to io.paths
2008-12-08 21:32:19 -06:00
Doug Coleman
971a6c89be
move io.paths from extra to basis
2008-12-08 21:31:41 -06:00
Slava Pestov
1d57b0bc50
Fix load errors
2008-12-08 20:06:44 -06:00
Slava Pestov
ada08e6d0e
Removing prettyprint and debugger dependencies from io code
2008-12-08 19:45:48 -06:00
Slava Pestov
4f0a9f311e
Untangling some dependencies
2008-12-08 14:58:00 -06:00
Slava Pestov
f8bce98850
Remove unnecessary prettyprinter and debugger dependencies from UI
2008-12-08 13:58:57 -06:00
Doug Coleman
14fb58f448
swap ... 3append -> surround in basis
2008-12-06 18:58:45 -06:00
Doug Coleman
45e428f186
fix file-systems on mac
2008-12-06 18:25:35 -06:00
Slava Pestov
d62e867db3
Dusting off old kqueue code
2008-12-06 17:35:15 -06:00
U-SLAVA-DFB8FF805\Slava
e45776bb4e
Merge branch 'master' of git://factorcode.org/git/factor
2008-12-03 23:33:04 -06:00
U-SLAVA-DFB8FF805\Slava
3b06cee83c
Obsolete tests
2008-12-03 23:32:51 -06:00
Doug Coleman
db30415dcb
basis: swap 3append -> glue
2008-12-03 19:10:41 -06:00
Doug Coleman
1b0b74bfe1
call utf8 alien>string instead of alien>native-string
2008-12-03 18:16:17 -06:00
Doug Coleman
f75fdc5744
Merge branch 'master' of git://factorcode.org/git/factor
2008-12-03 14:13:24 -06:00
Slava Pestov
9354207a5f
Fix io.mmap.ushort
2008-12-03 12:51:26 -06:00
Doug Coleman
06388da30d
Merge branch 'master' of git://factorcode.org/git/factor
2008-12-03 10:03:37 -06:00
U-SLAVA-DFB8FF805\Slava
cb5dd5c235
Get io.mmap to load on Windows again
2008-12-03 08:58:20 -06:00
Doug Coleman
c4a06d4a60
Merge branch 'master' of git://factorcode.org/git/factor
2008-12-03 08:34:59 -06:00
U-SLAVA-DFB8FF805\Slava
da9b38caae
Fix Windows bootstrap
2008-12-03 06:52:16 -06:00
Slava Pestov
e9abdef5c5
Fix io.mmap help lint failures
2008-12-03 06:18:18 -06:00
Doug Coleman
3d17175926
move io.files.unique to basis
2008-12-03 05:24:47 -06:00
Slava Pestov
46b0df1e18
Merge branch 'master' of git://factorcode.org/git/factor
2008-12-03 03:34:38 -06:00
Doug Coleman
68757f0a99
revert id change
2008-12-03 00:19:52 -06:00
Slava Pestov
4eacebe3a3
Merge branch 'specialized-arrays'
2008-12-03 00:08:38 -06:00
Doug Coleman
8edcf841f1
back to using getmntinfo64 instead of getfsstat64 on mac
2008-12-02 23:10:27 -06:00
Slava Pestov
aa3e1cdb6c
mapped-file no longer supports sequence protocol. Instead, io.mmap.functor generates mapped arrays for all primitive C types
2008-12-02 21:50:34 -06:00
Doug Coleman
7527a3d62d
move io.files.listing to tools.files and update usages
2008-12-02 21:49:59 -06:00
Doug Coleman
2b4e2776f1
break out id into id0 and id1
2008-12-02 21:39:09 -06:00
Doug Coleman
201c02414a
file-systems works on netbsd now
2008-12-02 21:32:00 -06:00
Doug Coleman
0c7327a572
Merge branch 'master' of git://factorcode.org/git/factor
2008-12-02 20:23:27 -06:00
erg
2d71132527
file-system-info on linux now shows more information
2008-12-02 20:41:57 -06:00
Doug Coleman
89a0286c3b
fix file-systems on freebsd
2008-12-02 20:16:53 -06:00
Slava Pestov
350e697615
Merge branch 'master' into specialized-arrays
2008-12-02 20:07:14 -06:00
Doug Coleman
9e3bc2b1a0
use getfsstat instead of getmntinfo on macosx
2008-12-02 19:18:48 -06:00
Slava Pestov
1ac4b92051
Merge branch 'master' into specialized-arrays
2008-12-02 16:20:32 -06:00
sheeple
f887d71965
file-systems on openbsd
2008-12-02 15:59:01 -06:00
Doug Coleman
9ac3f13b2a
Call statfs on OpenBSD. Clean up unused code
2008-12-02 17:43:07 -06:00
Slava Pestov
74a112f1cf
Update cpu.x86.basis/io to use dip instead of >r/r>
2008-12-02 03:10:13 -06:00
Slava Pestov
af60dfa050
Update io.windows.launcher to use dip instead of >r/r>
2008-12-02 03:09:39 -06:00
Slava Pestov
60688848f2
Update io.mmap to use dip instead of >r/r>
2008-12-02 03:09:25 -06:00
Slava Pestov
402da00390
Fixing bootstrap with specialized arrays
2008-12-02 02:44:19 -06:00
Slava Pestov
722989d895
Merge branch 'master' of git://factorcode.org/git/factor into specialized-arrays
2008-12-01 21:55:32 -06:00
Doug Coleman
c178718bb3
fix openbsd
2008-12-01 21:53:30 -06:00
Doug Coleman
7553b816f8
add another slot to file-system-info -- available-space, which is what the user can actually use, not what's free on disk
2008-12-01 21:20:33 -06:00
Slava Pestov
f51708386d
Fix conflicts
2008-12-01 20:39:43 -06:00
Slava Pestov
52c5b53e27
Refactoring usages of >r, r>, -rot, rot
2008-11-30 22:21:37 -06:00
Slava Pestov
b5a04f6a5d
Clean up code duplication
2008-11-30 19:13:42 -06:00
Doug Coleman
463f8bd7f9
Merge branch 'master' of git://factorcode.org/git/factor
2008-11-30 18:32:08 -06:00
Doug Coleman
439f91bb84
fix usings
2008-12-01 20:30:52 -06:00
Doug Coleman
18777c5a36
Merge branch 'master' of git://factorcode.org/git/factor
2008-12-01 16:41:36 -06:00
erg
dfde2dfef3
fix file-system-info on linux
2008-12-01 16:28:22 -06:00
Doug Coleman
72db24ad65
Merge branch 'master' of git://factorcode.org/git/factor
...
Conflicts:
basis/unix/statfs/netbsd/netbsd.factor
2008-12-01 14:07:56 -06:00
Doug Coleman
2a34339e65
make a generic protocol for filling in the file-system-info obj in io.unix.files
2008-12-01 14:04:55 -06:00
Slava Pestov
6dce834d91
Get rid of some more >r/r> usages
2008-11-30 18:28:15 -06:00
Doug Coleman
da3936a162
fix netbsd file-system-info
2008-11-30 17:32:55 -06:00
Doug Coleman
bc7739ec1d
Merge branch 'master' of git://factorcode.org/git/factor
2008-11-30 14:38:29 -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
e8a69a3aea
Fix conflict
2008-11-29 05:14:49 -06:00
Slava Pestov
a264adc74c
Forgot that us parameter might be f
2008-11-24 05:45:57 -06:00
Slava Pestov
b48c051b1b
Fix Windows overlapped timeout code for microseconds
2008-11-24 00:51:29 -06:00
Slava Pestov
1409ddf15c
Fix load error
2008-11-23 03:26:25 -06:00
Slava Pestov
a08c9d7e6c
Merge branch 'master' of git://factorcode.org/git/factor
2008-11-23 03:26:16 -06:00
Slava Pestov
7788b3e0db
Merge branch 'master' into microseconds
2008-11-23 03:06:32 -06:00
Slava Pestov
304ee19a3b
Forgot to add a vocab
2008-11-23 02:36:26 -06:00
Slava Pestov
7418fd9df4
Move code out of openssl vocabulary
2008-11-23 01:00:29 -06:00
U-SLAVA-DFB8FF805\Slava
a7bc139c1e
Don't load io.sockets during bootstrap on Windows
2008-11-22 03:18:33 -06:00
Doug Coleman
f5b19f8c31
add the characters for ls -F to io.files.listing
2008-11-19 21:15:27 -06:00
Doug Coleman
4849636fd7
remove attribute if it's the same as the type
2008-11-19 16:45:13 -06:00
Doug Coleman
1ef21ba2d3
add type to directory-entry on windows
2008-11-19 16:40:50 -06:00
Doug Coleman
25d9fd68fc
translate directory-type flags to our factor symbols
2008-11-19 16:22:42 -06:00
Slava Pestov
f3911ea09a
Merge branch 'master' of git://repo.or.cz/factor/jcg
2008-11-19 13:02:55 -06:00
Slava Pestov
8819f23312
Replace millis primitive with micros primitive
...
Add millis as a library word
sleep now takes either a duration or a microsecond count; code using durations doens't need to be updated, code using millisecond counts updated to use durations for the most part
2008-11-19 01:50:05 -06:00
Slava Pestov
281657dd82
Fix conflict
2008-11-18 22:18:14 -06:00
Slava Pestov
bec8cc4239
Add unit test to assert that directory. can infeR
2008-11-18 11:46:51 -06:00
unknown
1c33e993da
Tweak launcher test: it failed without cygwin
2008-11-17 18:43:10 -06:00
unknown
d013967180
Make io.servers.connection work if SSL is not available
2008-11-17 18:42:44 -06:00
U-SLAVA-DFB8FF805\Slava
0eee4f89d4
Mess around with tags
2008-11-17 06:59:17 -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
9bf63b1613
New $quotation markup element
2008-11-16 09:03:30 -06:00
Slava Pestov
93e9e34175
Add $maybe markup element
2008-11-16 06:02:13 -06:00
Slava Pestov
2fe364a7bb
Specialized arrays work in progress
2008-11-14 20:18:16 -06:00
Doug Coleman
7bb5ab8752
fix load error, document directory.
2008-11-14 00:55:17 -06:00
Doug Coleman
7b5f7f95fb
make more words private
2008-11-14 00:51:14 -06:00
Doug Coleman
867669f208
fix listing on unix
2008-11-14 00:44:01 -06:00
Doug Coleman
739f02d7c0
move ls to io.files.listing
2008-11-14 00:25:00 -06:00
Doug Coleman
5f6421af5d
use win32-file-attributes word
2008-11-14 00:03:24 -06:00
Doug Coleman
89a5957033
add file-type>ch and ch>file-type
2008-11-13 19:32:34 -06:00
Joe Groff
a9f8856b0d
make shader code in spheres a little more readable
2008-11-13 09:49:18 -08:00
Doug Coleman
1f85b7ec14
catch errors for windows file-systems word and return a tuple with just a mount point
...
this happens on empty floppy disk drives
2008-11-11 15:35:17 -06:00
Doug Coleman
146340690f
implement file-systems on windows
2008-11-11 15:17:35 -06:00
Slava Pestov
1d630b6cf2
Minor documentation fixes
2008-11-11 10:51:15 -06:00
Slava Pestov
4d317e2d46
Merge branch 'master' of git://github.com/glguy/factor
2008-11-10 00:30:27 -06:00
Slava Pestov
b8eebd5c2b
swap over == tuck; dupd swap == over
2008-11-10 00:16:11 -06:00
U-SLAVA-DFB8FF805\Slava
429fe85f46
Fix compile error
2008-11-09 17:27:39 -06:00
Slava Pestov
b7dc7296db
Implement stream-read on memory-streams. This allows alien>string to work with utf16 encoding
2008-11-06 13:42:53 -06:00
Slava Pestov
63a9975a0e
Support inline, foldable, flushable on methods; add declarations in a couple of places for ricing purposes
2008-11-06 13:13:37 -06:00
Slava Pestov
bfd119e3b5
I/O ricing: various hints added so that UTF8 and ASCII fastpaths compile with less dispatch. 25% improvement on reverse-complement
2008-11-06 00:02:44 -06:00
Doug Coleman
03d96cc1bd
rename name to mount-point
2008-10-23 13:18:00 -05:00
Doug Coleman
e776bd29e1
add type to file-system-info
2008-10-22 22:02:33 -05:00
Doug Coleman
f5f6c400db
change windows file-system-info implementation
2008-10-19 18:19:15 -05:00
Doug Coleman
4221f2c963
the windows file-system-info now works on any path, not just directories
2008-10-19 17:46:51 -05:00
Doug Coleman
b9e5c98ce7
fix file-system-info
2008-10-19 17:43:22 -05:00
Doug Coleman
ca17c11270
try to add winnt space-free
2008-10-21 02:27:39 -05:00
Doug Coleman
4ff38b2148
pull in unix.statfs in the io code
2008-10-21 01:05:41 -05:00
Doug Coleman
e6754ab62e
Merge branch 'master' of git://factorcode.org/git/factor
2008-10-20 23:40:15 -05:00
Doug Coleman
f40fc145de
remove openbsd shiz
2008-10-20 23:23:17 -05:00
Slava Pestov
1df08ba8c8
Unit tests no longer use hard-coded ports
2008-10-20 22:05:22 -05:00
Doug Coleman
b90aeee25c
use readdir on openbsd until we upgrade so the build machine is ok
2008-10-20 11:32:55 -05:00
Doug Coleman
0ad47e21c8
using bug
2008-10-19 16:50:34 -05:00
Doug Coleman
16f2a281d6
typo
2008-10-19 20:30:54 -05:00
Doug Coleman
d77771eec8
fix test
2008-10-19 19:47:37 -05:00
Doug Coleman
e310e382c5
fix io monitors recusive
2008-10-19 18:30:51 -05:00
Doug Coleman
d4fcc10aac
fix windows directory code
2008-10-19 15:29:59 -05:00
Doug Coleman
a71ca7242a
fix typo in docs, fix load error
2008-10-19 13:34:00 -05:00
Doug Coleman
dfc3c2cc78
Merge branch 'master' of git://factorcode.org/git/factor
2008-10-19 13:31:21 -05:00
Doug Coleman
0e9ecc1ba9
directory changes
2008-10-19 13:09:48 -05:00
Slava Pestov
b9df6d89e3
Fix dodgy init-hook
2008-10-19 04:40:15 -05:00
Doug Coleman
27c36974a7
remove primitives from core, update usages
2008-10-18 21:42:01 -05:00
Doug Coleman
ab0ed9f988
redo home implementation
2008-10-18 21:24:14 -05:00
Doug Coleman
d6784bdb46
make user-read? work in file-info objects
2008-10-18 17:48:33 -05:00
Doug Coleman
6aadd70623
user-read? is now generic, can take a filename or an integer from a stat struct
2008-10-18 17:29:38 -05:00
Doug Coleman
031ebe98b1
largert group buffer, openbsd apparently keeps the microseconds in their file timestamps. fix unit tests for this
2008-10-08 15:57:47 -05:00
Doug Coleman
e464941d52
rename words for consistency, update docs, add unit tests
2008-10-08 14:18:50 -05:00
Doug Coleman
0f891e002b
add io.unix.files docs
2008-10-08 13:04:23 -05:00
Doug Coleman
fb23eca0d9
move file flags to io.unix.files, change some word names for consistency
2008-10-08 13:03:55 -05:00
Doug Coleman
5afbade0a5
setting permissions, file times
2008-10-07 19:25:22 -05:00
Doug Coleman
39160d66e3
add files
2008-10-06 23:02:06 -05:00
Doug Coleman
312f399003
found stat64 for macosx, so there's a unix-file-info and a bsd-file-info only
2008-10-06 22:51:06 -05:00
Doug Coleman
ff64bafae2
dont use structs
2008-10-06 21:17:51 -05:00
Doug Coleman
1d5b86f23c
factor is hard. let's go shopping!
2008-10-06 21:16:15 -05:00
Doug Coleman
1f1a62fcdd
fix using
2008-10-06 21:02:10 -05:00