Commit Graph

219 Commits (3e485652feb276a51667843f9a95173f9c862425)

Author SHA1 Message Date
Doug Coleman 7369522b69 add utility words for changing file permissions 2009-12-06 17:53:35 -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
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
Doug Coleman e376a0ece2 (normalize-path) -> absolute-path, canonicalize-path -> resolve-symlinks 2009-10-28 17:25:50 -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 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
Keith Lazuka 405e5d015b docs: change $subsection to $subsections 2009-10-02 12:15:48 -04: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
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
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
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
Doug Coleman b282dd9eac Merge branch 'master' of git://factorcode.org/git/factor 2009-09-01 18:16:31 -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 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 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 d2accedf8d more structs 2009-08-29 13:45:25 -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 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
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 4fef246ca4 add 10^ to math.functions and update usages 2009-08-11 18:00:24 -05:00
Slava Pestov 142fddd530 Fix usings on X11 2009-05-16 11:50:16 -04:00
Slava Pestov 132249660d Fix conflict 2009-05-16 09:48:42 -05:00
Slava Pestov 66a9416473 Update documentation for stricter vocabulary search path semantics 2009-05-16 00:29:21 -05:00
Slava Pestov 1214e22839 copy-tree now preserves file permissions on Unix 2009-05-14 17:36:07 -05:00
erg 6626e8c927 Merge branch 'master' of git://factorcode.org/git/factor 2009-05-08 03:53:01 -05:00
Slava Pestov 2b23d1dd9e Remove silly retry word from continuations vocab 2009-05-08 00:20:54 -05:00
erg 8c19ab04c9 use open64 instead of open on linux. use stat64 instead of stat on
linux. add word to report if a file is sparse
2009-05-07 16:41:37 -05:00
Doug Coleman 335d7b9cee Merge branch 'master' of git://factorcode.org/git/factor 2009-04-30 10:26:51 -05:00
Doug Coleman 8ab4d39036 move windows error handling to windows.errors and update usages. 2009-04-30 09:36:25 -05:00
Doug Coleman 2d0925d995 add make-hard-link to io.files.links 2009-04-28 22:51:35 -05:00
Slava Pestov 97a522da0e Fix conflict 2009-04-21 16:26:22 -05:00
Slava Pestov 05f3f9dcb9 Fixing unit tests for stack effect inference changes 2009-04-20 21:15:19 -05:00
Doug Coleman 08d80f6237 use HOMEDRIVE/HOMEPATH for HOME, then USERPROFILE, the default to a directory if no env vars are set 2009-04-20 21:11:50 -05:00
Doug Coleman bd6eb42d0f fix size-on-disk for unix 2009-04-20 17:44:12 -05:00
Doug Coleman 12a89f1550 fix size-on-disk for unix 2009-04-20 17:25:18 -05:00
Doug Coleman 5c236d6585 add a size-on-disk slot to file-info, the each-file combinator now works better, add a path>sizes word 2009-04-20 16:52:18 -05:00
Slava Pestov 0f26d02d41 Passing the wrong type of sequence to M\ encoder write now throws an error 2009-04-20 03:26:56 -05:00
Doug Coleman 07cf80f0a8 fix stack effect for unique-file 2009-04-08 18:42:26 -05:00
Slava Pestov 5a9dbc2c0f Remove useless declarations 2009-03-23 01:18:24 -05:00
Slava Pestov cd53c2bd37 produce and produce-as: don't need third quotation either 2009-02-28 15:31:34 -06:00
Doug Coleman 990513db60 use CONSTANT: in basis 2009-02-22 19:13:08 -06:00
Doug Coleman 6324fb6c13 add unix canonicalize-path 2009-02-18 13:34:45 -06:00
Slava Pestov 6b25e99470 Add summary for heaps more vocabs 2009-02-16 21:05:13 -06:00
Doug Coleman 3c408342ef renaming: contain? -> any?, deep-contains? -> deep-any?, pad-left -> pad-head, pad-right -> pad-tail, trim-left -> trim-head, trim-right -> trim-tail 2009-01-29 22:19:07 -06:00
Doug Coleman 25eb1a01a0 fix using 2009-01-26 20:17:02 -06:00
Doug Coleman 4d64474d18 redo much of io.files.unique -- add unique-file to replace temp-file 2009-01-26 15:05:15 -06:00
Slava Pestov f34c14a0f5 Remove some usages of tuck 2009-01-23 18:20:47 -06:00
Slava Pestov ca2f01e0d0 Updating non-core libraries for monotonic? change 2009-01-16 17:02:54 -06:00
Doug Coleman 1d23287678 remove "pipe" from word name 2009-01-13 18:57:09 -06:00
Doug Coleman 4a01649d15 add with-directory-entries and file-type>trailing 2009-01-13 00:05:19 -06:00
Doug Coleman 0575754328 fix a couple typos in docs 2009-01-11 11:37:58 -06:00
Doug Coleman e61acc5eee username -> user-name in a couple of places 2009-01-09 16:34:31 -06:00
Doug Coleman 69e4fe1f76 fix bootstrap on a couple platforms 2009-01-09 14:31:02 -06:00
Doug Coleman a773e59216 username -> user-name 2009-01-08 17:56:03 -06:00
unknown ca8c7540b4 Move io.files.links tests to io.files.links.unix so that they don't get run on Windows 2008-12-21 19:04:12 -06:00
Doug Coleman 28b3b4b97a add a lot more to the using list 2008-12-18 23:44:14 -06:00
Doug Coleman 88ec8786fd add using 2008-12-18 20:31:22 -06:00
Doug Coleman 21fc9f98a6 Merge branch 'master' of git://factorcode.org/git/factor 2008-12-18 19:57:32 -06:00
Doug Coleman 4f1aefd3fe fix bootstrap 2008-12-18 19:57:21 -06:00
Doug Coleman 513b4b3708 use read-link instead, remove dependency on unix. oops 2008-12-18 19:32:09 -06:00
Doug Coleman a326943f8b better related-words for follow-links. add 2008-12-18 18:42:05 -06:00
Doug Coleman 180aeea68d fix using. add 2008-12-18 18:40:01 -06:00
erg 7103cc3cda Add follow-link/follow-links, use it in file-system-info on linux. add
docs and unit tests.  fix indentation
2008-12-18 18:32:00 -06:00
Slava Pestov c5160d76e9 Merge qualified, alias, symbols, constants into core 2008-12-17 18:10:01 -06:00
Doug Coleman 8e0ff1989b fix load error by making a word windows-file-size independent of the file-size word
add constants
2008-12-16 14:35:37 -06:00
Doug Coleman 13b4840893 fix windows file append 2008-12-16 12:49:00 -06:00
Slava Pestov 63fda570bf Fixing assorted compile errors and help lint warnings 2008-12-16 01:12:36 -06:00
Slava Pestov 034022ec7f Add meta-data 2008-12-16 00:43:32 -06:00
U-SLAVA-DFB8FF805\Slava 53db40ba13 Add more stack declarations 2008-12-13 05:06:28 -06:00
Slava Pestov daf2857d7b define-inline now takes an effect parameter
C: now sets the stack effect of the new word to slot names
add new basis/constants vocab; CONSTANT: foo bar is equivalent to : foo bar ; inline
(going to fold CONSTANT:, ALIAS: and qualified into core soon perhaps)
tighten the screws: inline words now need a stack declaration too
update some usages of inline words
2008-12-15 19:44:56 -06:00
Slava Pestov e335059a87 Add meta-data to new I/O vocabularies 2008-12-15 08:15:32 -06:00
Slava Pestov 5cb18d51b3 Fixing test-all and help-lint-all failures 2008-12-15 03:33:04 -06:00
U-SLAVA-DFB8FF805\Slava df2641a9ee Merge branch 'master' of git://factorcode.org/git/factor 2008-12-13 04:41:58 -06:00
slava 82e452a885 Fix Linux bootstrap 2008-12-15 02:18:59 -06:00
Slava Pestov 7b62d19924 Oops 2008-12-15 02:02:22 -06:00
Slava Pestov e15c3cc901 Updating Windows I/O backend for recent changes 2008-12-15 01:32:21 -06:00
Slava Pestov e0f86889c7 Fixing load-everything for io.files split 2008-12-15 01:13:35 -06:00
Slava Pestov 59a5e554d4 Split up io.directories further, move file types to io.files.types. Bunny demo no longer pulls in file-info and file-system-info code, reducing image size by 35kb 2008-12-15 00:01:06 -06:00
Slava Pestov dccbb84629 Updating unit tests for I/O re-organization 2008-12-14 21:21:44 -06:00
Slava Pestov 50e214c152 io.files split up and general refactoring work in progress 2008-12-14 20:03:00 -06:00
U-SLAVA-DFB8FF805\Slava cf39fd29f8 Fix Windows bootstrap 2008-12-13 04:41:33 -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 db30415dcb basis: swap 3append -> glue 2008-12-03 19:10:41 -06:00
Doug Coleman 3d17175926 move io.files.unique to basis 2008-12-03 05:24:47 -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 f5b19f8c31 add the characters for ls -F to io.files.listing 2008-11-19 21:15:27 -06:00
Slava Pestov bec8cc4239 Add unit test to assert that directory. can infeR 2008-11-18 11:46:51 -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
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