Commit Graph

66 Commits (c83d6ac411d27d4decf8b4ff73b56f313fe26e0f)

Author SHA1 Message Date
John Benediktsson 4f42c72012 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
Slava Pestov 01d67104f6 io.ports: fix stream-seek with seek-relative seek type (reported by Joe Groff) 2010-07-07 17:32:30 -04:00
Slava Pestov a7384d5de6 io.ports: fix stream-tell implementation 2010-07-07 02:27:34 -04:00
Slava Pestov f31c579b7b io.files: fix unit test 2010-05-19 20:47:22 -04:00
Slava Pestov cb25591d36 io: missed a few byte-array>int-array in unit tests 2010-05-19 16:22:39 -04:00
Slava Pestov a3e6de5e6a io.files: fix unit test for forget-tests? flag 2010-04-13 06:14:53 -07:00
Slava Pestov 17b095a524 Slices over specialized arrays can now be passed to C functions, written to binary output streams, and given to malloc-byte-array 2010-02-25 04:50:31 +13:00
Slava Pestov af0ddd5985 Specialized arrays, structs and other objects responding to the >c-ptr / byte-length protocol can now be written to binary streams 2010-02-24 20:18:41 +13:00
Slava Pestov dd0571e69a io.buffers: fix buffer-until for iota (reported by Sascha Matzke) 2010-01-16 18:44:24 +13:00
Doug Coleman b71d86a1dc update more 8bit encoding usages 2009-11-12 18:36:47 -06:00
Slava Pestov adc154e06b destructors: already-unregistered error had the wrong content, also don't throw an error when disposing a disposable twice 2009-08-24 20:27:22 -05:00
Slava Pestov a70a2c0e31 Fix some test failures and add an unportable tag 2009-04-30 22:56:15 -05:00
Slava Pestov 05f3f9dcb9 Fixing unit tests for stack effect inference changes 2009-04-20 21:15:19 -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
Slava Pestov ebd0e9250f Clean up some <file-reader> usages to use file-lines, file>csv, and file>xml instead 2009-02-15 20:45:06 -06:00
Slava Pestov 6b99b04531 Add vocab: for vocab-relative paths 2009-02-15 19:53:21 -06:00
Doug Coleman b529df9652 handle seeking before the file start on windows, add a unit test for this 2009-02-08 20:18:30 -06:00
Doug Coleman c069add10b fix using lists 2009-02-08 17:34:17 -06:00
Doug Coleman bba1598697 move io tests into io.files 2009-02-08 13:59:32 -06: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 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
sheeple 1777dde283 add file-systems unit test 2008-12-02 16:03:01 -06:00
Doug Coleman 83638c35da change up the way you read directories 2008-10-19 12:55:48 -05:00
Slava Pestov c19f2257f4 Fix permission bits 2008-10-02 08:34:49 -05:00
Slava Pestov 40e926609a Fixing unit tests 2008-08-22 22:07:59 -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
U-SLAVA-DFB8FF805\Slava dcce702d0c Remove pending-error machinery 2008-05-17 23:50:11 -05:00
Slava Pestov 2cbfa9c2d7 Move destructors to core 2008-05-14 23:23:12 -05:00
Slava Pestov 7f725dfa6d Fix stack effect of (exists?) 2008-05-11 17:43:11 -05:00
U-SLAVA-DFB8FF805\Slava 4a9a1ba2b5 Fix and clean up Windows deployment 2008-05-10 15:22:38 -05:00
Slava Pestov 30c7f560c1 Add unit test for Ed's touch-file fix 2008-05-09 16:46:24 -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
Slava Pestov 9c31dc1164 Fix failing unit test 2008-04-04 07:39:00 -05:00
Doug Coleman ae623ff924 normalize-pathname prepends unicode prefix,
(normalize-pathname) does not
2008-04-01 19:00:20 -05:00
Slava Pestov c22af5c7a6 Rename 2apply to bi@ 2008-03-29 20:36:58 -05:00
erg d8fc446622 add unit tests and fix lots of words for normalize-pathname 2008-03-27 18:13:55 -05:00
Doug Coleman b6818e75f4 cleanup windows normalize-path 2008-03-27 16:22:24 -05:00
erg 15c68a23f8 remove ?resource-path and resource-exists? 2008-03-26 23:47:51 -05:00
erg 5bab5de16d make directory work inside with-directory 2008-03-26 22:47:13 -05:00
erg 24466cfc57 normalize-pathname all ova tha place 2008-03-26 22:39:16 -05:00
erg 4684c9cacc work on normalize-pathname
add two failing unit tests
2008-03-26 19:40:40 -05:00
Doug Coleman d4dd93e316 move some io files unit tests to unix 2008-03-26 16:22:34 -05:00
erg eed26edf23 fix bootstrap 2008-03-26 15:24:54 -05:00
erg b13e0f7042 redo path handling 2008-03-25 19:50:39 -05:00
Slava Pestov b840555157 Clean things up for binary releases 2008-03-21 00:37:58 -05:00
Doug Coleman c0c9479196 add file-info test 2008-03-20 16:57:13 -05:00
Slava Pestov 5dac0ac889 Add unit test 2008-03-15 06:23:10 -05:00
Slava Pestov 2fa5f34a71 Byte-array-ification 2008-03-07 21:26:35 -06:00