Doug Coleman
49d923694b
io.files.info.windows: Fix file-info-tuple inheritance.
2013-03-23 19:14:28 -07:00
Doug Coleman
cfd21993d9
io.files.info: Fix unit test.
2013-03-23 17:20:00 -07:00
Doug Coleman
4c184fdeae
io.files.info: Rename file-info and file-system-info.
2013-03-23 16:43:32 -07:00
John Benediktsson
5eaf3c6d68
io.files.info.unix.linux: use string>csv instead.
2013-03-15 06:40:24 -07:00
Doug Coleman
43ea17c755
windows: Attempt to fix circularity.
2012-10-24 19:03:25 -07:00
John Benediktsson
62aa1cf6d4
io.files.info.unix: errno EACCES should be handled separately.
2012-10-24 17:51:13 -07:00
John Benediktsson
6b7323e4e6
io.files.info: make access checks throw on file-does-not-exist.
2012-10-24 17:40:00 -07:00
Doug Coleman
e2cb99c235
io.files.info.windows: Implement file-readable?, writable?, and executable?
2012-10-24 17:29:32 -07:00
John Benediktsson
e4b9ccd5d6
io.files.info.unix: make sure to normalize so special paths work.
2012-10-24 17:11:35 -07:00
John Benediktsson
49b3a4c362
io.files.info: adding checks for read, write, or execute permissions.
2012-10-24 16:44:12 -07:00
Doug Coleman
173292ea92
io.files.info: On my Windows7 box, D: is "not really there" and it kills
...
file-systems. Ignore errors instead of dying.
2012-09-16 17:23:25 -07:00
John Benediktsson
09d972018d
cleanup some use of with-scope.
2012-07-19 13:55:34 -07:00
Doug Coleman
bbf5cfbc4d
io.files.info.windows: Fix file-systems word in two ways. First, don't
...
allocate 32k on the local alloc stack (which causes a 'double fault.')
Second, if the volume doesnt look up to a real path, don't make a dummy
object for that. volume
Use alien>native-string and native-string>alien wherever possible instead of
utf16n for Windows.
2012-06-21 08:32:53 -07:00
Doug Coleman
898534817e
io.files.info.unix: When setting access or modified time alone, don't set the other time to 1970.
...
See #490 .
2012-06-01 16:03:41 -07:00
Joe Groff
98861a7c81
io.files.info: fix circularity
...
Remove the undocumented and redundant "copy-file-and-info" word, since "copy-file" does the same thing, and the circular dependency on "io.directories" was causing some deploys to fail
2011-11-28 19:37:01 -08:00
Joe Groff
2ff5e76690
let's pretend BIN: HEX: OCT: never happened
2011-11-23 19:22:37 -08:00
Joe Groff
eee483654a
use radix literals
2011-11-23 19:03:40 -08:00
Joe Groff
75cba3106a
remove BSD,solaris,etc. misc platform support code
2011-11-02 17:13:51 -07:00
Doug Coleman
be12f2b27d
Make "foo.private" require load foo instead.
...
Move require from vocabs.loader to vocabs. Update everything.
Fixes #201 .
2011-11-02 11:50:03 -07:00
John Benediktsson
d5b27e107f
io.files.info.unix.linux: fix more M: stack effects.
2011-10-13 17:55:30 -07:00
John Benediktsson
1ea0532ab7
io.files.info.unix.linux: fix M: stack effect.
2011-10-13 17:38:30 -07:00
John Benediktsson
463c7292d1
Fix M: stack effects.
2011-10-13 16:41:17 -07:00
John Benediktsson
0e3d598e69
specialized-arrays: performed some cleanup.
...
Specifically,
• Created >c-array to be replacement for >T-array.
• Created cast-array to be generic replacement for all T-array-cast words.
• Created c-array@ to be generic replacement for T-array@ words.
• Replaced usages of <T-array> with T <c-array>
• Replaced usages of <direct-T-array> with T <c-direct-array>
• Replaced usages of >T-array with T >c-array
• Replaced usages of T-array-cast with T cast-array
• Replaced usages of malloc-T-array with T malloc-array.
• Removed malloc-T-array.
• Removed T-array-cast.
• Removed T-array@.
• Removed >T-array.
I also added (but didn't change any code to use):
• T c-array-type, returns T-array
• T c-array?, returns T-array?
• c-array{ T ... }, returns T-array{ ... }
Bootstraps just find on Mac OS X. Also `load-all test-all` works for me.
2011-09-26 11:37:51 -07:00
Doug Coleman
17e0fbe501
Remove Windows CE from core/ basis/ and build-support/
...
Rename the winnt singleton to windows in core/ basis/ extra/
Rename boot images winnt -> windows
Fixes #84 .
2011-09-18 23:19:06 -05:00
Slava Pestov
55fd15c45a
Move <ref>, deref and little-endian? from alien.c-types to alien.data, remove <c-object>
2010-12-25 16:55:36 -08:00
Keita Haga
ff5e74ebcf
io.files.info.unix, sequences: few $examples and $unchecked-examples turn into $codes
2010-12-23 04:05:06 +09:00
Keita Haga
88254386a6
io.files.info.unix: fix IN: in docs
2010-11-18 04:29:36 +09:00
Keita Haga
b368656753
io.files.info.unix: fix a couple of set-file-permissions examples
2010-11-18 03:46:02 +09:00
Doug Coleman
6510bdb1eb
Remove usages of <void*> and *void*
2010-10-25 13:22:50 -05:00
Doug Coleman
43624e037c
Squashed commit of the following:
...
commit 197dbe9a6733775ac0ea19b3da4bd4dc3c85418c
Author: Doug Coleman <doug.coleman@gmail.com>
Date: Sat Sep 18 19:01:38 2010 -0500
Fix bootstrap, move privileges to windows.privileges
commit 521c622f8afb15bf42d263c738cb990560dc29cb
Author: Doug Coleman <doug.coleman@gmail.com>
Date: Sat Sep 18 18:26:30 2010 -0500
Hopefully fix bootstrap
commit eb3f22928b59758b9505430034044b5b94705da2
Author: Doug Coleman <doug.coleman@gmail.com>
Date: Sat Sep 18 18:19:05 2010 -0500
Remove wince from factor codebase
commit 619d6c99415f46208a7ede6a04b0ccda46b15360
Author: Doug Coleman <doug.coleman@gmail.com>
Date: Sat Sep 18 16:07:46 2010 -0500
Remove Windows CE from vm/
2010-09-19 19:13:25 -05:00
Slava Pestov
8c3b13dea7
io: minor doc fixes throughout
2010-09-11 18:43:47 -07:00
Philipp Brüschweiler
1d552fdc9b
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
cf6b910c9f
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
Slava Pestov
f04ae609c8
Fixes for out parameter changes
2010-05-23 03:27:40 -05:00
Slava Pestov
5d9993d46f
Updating code to use with-out-parameters
2010-05-23 03:07:47 -04:00
Slava Pestov
cca5dd082d
io.files.unix: fix load errors arising from byte-length being moved
2010-02-24 21:20:21 +13:00
Slava Pestov
0aad3e6e12
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
0d0220a165
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
Doug Coleman
6bc071bfc1
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
cc7615248d
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
7bbe8d97c8
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
Doug Coleman
a99dc48ccb
Fix iota bug in io.files.info.windows
2010-01-15 21:17:47 -06:00
Doug Coleman
b9b03524f1
add utility words for changing file permissions
2009-12-06 17:53:35 -06:00
Slava Pestov
08b6ebc7fa
Factor source files should not be executable
2009-11-21 17:50:43 -06:00
Slava Pestov
36639c7efd
Various Windows load fixes
2009-11-21 17:24:37 -06:00
Slava Pestov
2ad5796b6a
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
Joe Groff
bd36fbb886
typo in io.files.info.windows
2009-11-07 22:23:39 -06:00
Joe Groff
25d384abe4
remove non-primitive-related uses of tuck from basis
2009-11-05 17:03:24 -06:00
Doug Coleman
9ff38fb56c
(normalize-path) -> absolute-path, canonicalize-path -> resolve-symlinks
2009-10-28 17:25:50 -05:00
Keith Lazuka
8f79ea91ba
docs: change $subsection to $subsections
2009-10-02 12:15:48 -04:00