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
Doug Coleman
114e81590c
renamed timestamp>unix-time
2008-10-06 20:52:32 -05:00
Doug Coleman
69b3306f4b
fix using
2008-10-06 19:13:33 -05:00
Doug Coleman
8e315944b4
fix
2008-10-06 19:01:41 -05:00
Doug Coleman
f1205587a1
fix error from having tuple and generic with same name. annoying...
2008-09-19 18:33:28 -05:00
Doug Coleman
dd56cd4a4f
fix typo
2008-10-06 18:07:40 -05:00
Doug Coleman
5e57f68814
use calendar.unix
2008-10-06 18:01:53 -05:00
Doug Coleman
9f6a7bfd87
typo
2008-10-06 17:56:12 -05:00
Doug Coleman
1d25db2a6e
empty case for linux
2008-10-06 17:54:50 -05:00
Doug Coleman
0294308c4c
work on windows file-info
2008-10-06 17:28:42 -05:00
Doug Coleman
e0d6aadc8e
complete file-info across *bsd, linux
2008-10-06 17:17:14 -05:00
Slava Pestov
196c91709f
stop-server word
2008-10-03 01:12:50 -05: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
e62f068db7
html.streams now emits clickable URLs for $url markup elements
2008-09-29 04:09:02 -05:00
Slava Pestov
d3423bec4f
Better logging
2008-09-28 17:56:44 -05:00
Slava Pestov
853f1ef5a6
Fix bug with values and deployment, add new to: sugar
2008-09-28 00:40:41 -05:00
Slava Pestov
876e3d0e04
Fix start-server* hang if server already running
2008-09-27 12:59:15 -05:00
Slava Pestov
4b19afdb4e
Fixing issues found by stricter help lint
2008-09-24 01:59:05 -05:00
Slava Pestov
78008e9904
Better connection logging
2008-09-22 16:09:10 -05:00
Slava Pestov
0a8980d37e
Better error messages in io.launcher
2008-09-19 03:14:11 -05:00
Slava Pestov
7155e42251
Better error messages
2008-09-19 03:10:44 -05:00
Slava Pestov
c545bc4b53
Merge branch 'master' of git://factorcode.org/git/factor
2008-09-18 18:20:32 -05:00
Slava Pestov
58914da662
I/O fixes
2008-09-18 18:20:26 -05:00
U-ENCHILADA\sheeple
772a964a04
\\?\c: is a root-directory on windows
2008-09-18 16:45:15 -06:00
Doug Coleman
e3678cf248
Add timeouts
2008-09-15 17:13:48 -05:00
slava
4f03543912
Fix Linux bootstrap
2008-09-11 03:58:20 -05:00
U-SLAVA-DFB8FF805\Slava
b36f610170
Fix Windows bootstrap
2008-09-11 01:27:23 -05:00
Slava Pestov
0c8e2584b4
Fixing unit tests for make, fry changes
2008-09-11 00:20:06 -05:00
Slava Pestov
cf80dd122a
Updating code for make and fry changes
2008-09-10 22:11:40 -05:00
Slava Pestov
44f53de164
Move make to its own vocabulary, remove fry _ feature
2008-09-10 20:07:00 -05:00
Slava Pestov
63d45679c9
Better logging
2008-09-08 01:10:25 -05:00
Slava Pestov
0ddc5d04e6
Tweak sockets benchmark
2008-09-07 04:14:47 -05:00
Doug Coleman
8a921c791c
if-empty changes
2008-09-06 19:13:59 -05:00
Slava Pestov
445747ee4e
Redesign resolver to fix performance problem on OS X
2008-09-06 05:40:15 -05:00
Slava Pestov
bcc8483b5b
Move match to basis since compiler.tree.debugger uses it, fix conflict
2008-09-05 19:48:44 -05:00
Slava Pestov
aea0fed14c
Fixing basis -> extra dependencies
2008-09-05 19:29:14 -05:00
Doug Coleman
9af12d96cf
left-trim -> trim-left
2008-09-05 18:56:35 -05:00
Slava Pestov
6b07c85fec
Minor fixes here and there for delegation slot removal
2008-09-03 06:05:50 -05:00
Doug Coleman
5dbf68f385
update the docs
2008-09-02 16:49:21 -05:00
Doug Coleman
b7c83ff83e
new accessors
2008-09-02 13:42:05 -05:00
Doug Coleman
eb209a723a
new accessors
2008-09-01 22:46:34 -05:00
Doug Coleman
5db23de4ed
new accessors
2008-09-01 18:22:41 -05:00
Slava Pestov
8bf37558d4
Clean up Windows I/O a bit, remove classes.tuple.lib
2008-09-01 04:32:16 -05:00
Slava Pestov
0c304b8fc6
Removing old accessor usages from core and basis
2008-08-31 07:45:33 -05:00
Doug Coleman
80bd7608ed
fix docs
2008-08-31 03:06:25 -05:00
Doug Coleman
3056a308cb
fix help-lint
2008-08-30 15:25:53 -05:00
Doug Coleman
3273ff4009
new accessors
2008-08-30 12:46:21 -05:00
Doug Coleman
313b68f600
spacing
2008-08-29 17:09:11 -05:00
Doug Coleman
b839f608d0
new accessors
2008-08-29 10:27:31 -05:00
Slava Pestov
1997cbe9aa
Fixing libraries for language changes
2008-08-28 22:28:01 -05:00
U-SLAVA-DFB8FF805\Slava
5edf8b0cb4
Fix Windows bootstrap
2008-08-27 11:52:46 -05:00
Slava Pestov
40e926609a
Fixing unit tests
2008-08-22 22:07:59 -05:00
Slava Pestov
a452dd86f6
Better fix
2008-08-15 18:57:00 -05:00
Slava Pestov
713cf91f2a
Fix memory leak
2008-08-15 16:13:13 -05:00
Slava Pestov
f279015b85
Minor fixes
2008-08-06 04:46:30 -05:00
Eduardo Cavazos
4417a64713
io.styles: Minor tweak
2008-08-01 15:12:03 -05:00
Eduardo Cavazos
7e7653eaff
io.styles: Use color objects
2008-08-01 15:11:42 -05:00
Slava Pestov
6408b01e9d
Add 'unportable' tag in place of hard-coded list of 'dangerous' vocabs in load-everything
2008-07-29 16:47:52 -05:00
Slava Pestov
f5c15481fe
Move io.styles to basis
2008-07-28 22:28:13 -05:00
Slava Pestov
59ab854480
Move unmaintained code out
2008-07-28 22:11:24 -05:00
Slava Pestov
d60449d3a8
Move a few things around
2008-07-28 22:09:35 -05:00
Slava Pestov
d66f887736
Create basis vocab root
2008-07-28 22:03:13 -05:00