Commit Graph

130 Commits (51f708cda4200af6987091528435f575d9d8164c)

Author SHA1 Message Date
Joe Groff 83a3a0346b io.files: check argv when initing resource-path 2012-03-27 16:58:12 -07:00
Joe Groff 1d9838aa57 io.files: back out resource-path change
It's too brittle against varying current directories or the Factor directory being moved.
2011-11-27 12:37:58 -08:00
Joe Groff 88c9483343 io.files: use initialize to set resource-path
If a resource path is already set in the image, don't change it. Should make #364 work a bit more as expected, and let us set the resource path for deployed Mac OS X bundles.
2011-11-27 12:37:58 -08:00
Joe Groff 5a3537b90a io.files: add file-reader, file-writer mixins
This lets us do some trickery so that the stream-element-type propagates from <file-reader>/<file-writer>. For #376.
2011-11-09 14:43:39 -08:00
Joe Groff 186bf65a00 constants for special object hardcoded literals 2011-11-02 12:54:50 -07:00
Doug Coleman 1882e3de3e Use dip instead of swap swap for making file streams 2011-10-26 11:48:26 -07:00
Slava Pestov 1c10196c43 Rename kernel.private:getenv/setenv to special-object/set-special-object to mirror recent renaming on the VM side 2010-01-13 18:08:18 +13: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 b4088373b7 Merge branch 'master' of git://factorcode.org/git/factor 2009-05-04 05:16:47 -05:00
Slava Pestov a63ad6a7a5 Remove cruddy string encoding/decoding code from VM 2009-05-02 13:45:38 -05:00
Doug Coleman 471fe2c272 rename lines to stream-lines
rename cnotents to stream-contents
2009-05-01 10:41:27 -05:00
Doug Coleman d684e24ee8 file-contents and set-file-contents deal in sequences, not strings 2009-01-29 00:08:40 -06:00
Slava Pestov 50e214c152 io.files split up and general refactoring work in progress 2008-12-14 20:03:00 -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
Doug Coleman 28e6d7d116 add more shared slots fo file-system-info 2008-12-01 14:05:46 -06:00
Slava Pestov a4d9cdfeb3 Refactor all usages of >r/r> in core to use dip, 2dip, 3dip
Non-optimizing compiler now special-cases dip, 2dip, 3dip following a
literal quotation: this allows us to break the dip/slip meta-circle
without explicit calls to >r/r>
2008-11-23 02:44:56 -06:00
Doug Coleman fb8bdfe7e5 rename last-slice1 to slice1-last 2008-11-22 20:00:37 -06:00
Doug Coleman 25d9fd68fc translate directory-type flags to our factor symbols 2008-11-19 16:22:42 -06:00
Doug Coleman 78ab09d8bb move file-systems word to core 2008-11-11 14:04:05 -06:00
Doug Coleman 03d96cc1bd rename name to mount-point 2008-10-23 13:18:00 -05:00
erg bccf9d9698 add device-name and type to file-system-info 2008-10-22 20:28:30 -05:00
erg 278b55ee57 include mount point in file-system-info 2008-10-22 20:04:10 -05:00
Doug Coleman b9e043effe move >file-system-info 2008-10-21 23:43:36 -05:00
Doug Coleman dfef28e715 make a word generic 2008-10-21 01:27:15 -05:00
Doug Coleman 0121d0f678 add file-system-info 2008-10-20 00:30:24 -05:00
Doug Coleman 83638c35da change up the way you read directories 2008-10-19 12:55:48 -05:00
Doug Coleman ab0ed9f988 redo home implementation 2008-10-18 21:24:14 -05:00
Doug Coleman 9459eaab4b all platforms support the file-info structure 2008-10-06 17:28:11 -05:00
Slava Pestov c19f2257f4 Fix permission bits 2008-10-02 08:34:49 -05:00
Slava Pestov 4ce3cc4141 Bug fixes 2008-09-18 22:08:12 -05:00
Slava Pestov 58914da662 I/O fixes 2008-09-18 18:20:26 -05:00
Slava Pestov 562118e158 Better fix for *BSD resource path 2008-09-18 00:20:51 -05:00
Slava Pestov 3a83c1e895 Improve resource-path behavior on NetBSD and OpenBSD 2008-09-17 22:40:51 -05:00
Doug Coleman b1d26e100a use if/when/unless-empty, docs 2008-09-06 17:10:32 -05:00
Doug Coleman 5ed87d4d34 rename left/right-trim to trim-left 2008-09-05 17:12:30 -05:00
Doug Coleman 922e1f4371 new accessors 2008-08-29 17:09:19 -05:00
Slava Pestov bf490cda94 Minor append-path improvement 2008-06-27 20:10:47 -05:00
Slava Pestov 9dd5c9919f Mandatory stack effect annotations 2008-06-08 15:32:55 -05:00
Slava Pestov 442ef1e8f0 Add file-extension word 2008-06-02 15:00:51 -05:00
Slava Pestov 2cbfa9c2d7 Move destructors to core 2008-05-14 23:23:12 -05:00
U-SLAVA-DFB8FF805\Slava 4a9a1ba2b5 Fix and clean up Windows deployment 2008-05-10 15:22:38 -05:00
Slava Pestov 75fb15ee4c Split stdio up into input-stream/output-stream, pipes work in progress 2008-05-05 02:19:25 -05:00
Doug Coleman e264537a1a reverse the arguments of diff, assoc-diff
fix lots of usings
fix help-lint
2008-04-26 02:01:06 -05:00
Doug Coleman 15402ed1b4 core changes:
index* -> index-from
last-index* -> last-index-from
1 tail -> rest
1 tail-slice -> rest-slice
subset -> filter
prepose
find* -> find-from
find-last* -> find-last-from
before, after generic, < for integers
make between? work for timestamps
2008-04-25 23:12:44 -05:00
Doug Coleman bced4022e5 updating usages of cond/case 2008-04-11 12:53:22 -05:00
Slava Pestov 4139f0e804 Fix set-current-directory 2008-04-04 22:22:38 -05:00
Doug Coleman e22a7a6100 update docs pl0x 2008-04-03 21:39:52 -05:00
erg 4acd587629 move cwd and cd to private vocabs 2008-04-03 18:34:47 -05:00
Doug Coleman 393f77715c update everything to use os singletons 2008-04-02 18:25:33 -05:00
Doug Coleman 2bad7228a7 rename normalize-pathname to normalize-path
fix windows launcher issue
2008-04-01 19:51:49 -05:00