Commit Graph

40 Commits (748f4d72440400d7ca150e3c142571bcaffc0a59)

Author SHA1 Message Date
Doug Coleman 760746e2ff Fix using 2010-01-22 15:01:38 -06:00
Joe Groff 4027002db7 remove SIMD:s 2009-11-25 20:21:54 -08:00
Joe Groff 3fbe722561 Merge branch 'master' of http://factorcode.org/git/factor
Conflicts:
	basis/locals/locals.factor
	basis/peg/peg.factor
	extra/infix/infix.factor
2009-10-28 16:17:24 -05:00
Doug Coleman 1476cdb974 reverse-here -> reverse! 2009-10-28 14:40:15 -05:00
Slava Pestov 08e7d25dc5 change-each -> map!, deep-change-each -> deep-map! 2009-10-27 22:32:56 -05:00
Joe Groff 935c0797c3 update existing code for [let change 2009-10-27 22:05:37 -05:00
Doug Coleman 9781e5180c fix doc formatting for io.mmap 2009-10-20 22:43:11 -05:00
Slava Pestov 102af9badb specialized-arrays, specialized-vectors: fix potential problem if two vocabularies define different C types with the same name 2009-10-19 04:41:53 -05:00
Doug Coleman 7d39e51d9a add using and unit tests for mmap 2009-10-08 23:06:40 -05:00
Doug Coleman 37d0f29e4b add a couple of combinators to mmap that take a c-type to reduce conceptual overhead and boilerplate, more docs 2009-10-08 16:07:36 -05:00
Keith Lazuka 405e5d015b docs: change $subsection to $subsections 2009-10-02 12:15:48 -04:00
Slava Pestov 530accdad9 io.mmap: fix obsolete tests and get code to inline better 2009-09-28 03:18:27 -05: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
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
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
Slava Pestov 46045c882e Disposables are now registered in a global disposables set. To take advantage of this, subclass disposable instead of providing a disposed slot and call new-disposable instead of new. tools.disposables defines two words, 'disposable.' and 'leaks', to help track down resource lifetime problems 2009-08-24 02:26:13 -05:00
Slava Pestov b62630b5ac Updating code in basis and extra for stricter vocab search path semantics 2009-05-14 23:23:06 -05:00
Doug Coleman 65d76e6509 finish fixing the using list for windows.errors, more ffi bindings 2009-04-30 10:25:59 -05:00
Doug Coleman 3f764fc872 fix file mode for read only mmap in unix 2009-04-25 20:03:13 -05:00
Doug Coleman c44349c74e test read-only mmap 2009-04-25 19:32:44 -05:00
Doug Coleman 2484ea07b0 support read-only mmap 2009-04-25 19:22:00 -05:00
Slava Pestov c2fe2a4fea Improve stack checker documentation 2009-04-23 03:48:32 -05:00
Slava Pestov e06b618244 Fix typo in io.mmap.functor stack effect 2009-03-04 21:37:49 -06:00
Doug Coleman 1bd35e6f62 better io.mmap test 2009-02-26 19:58:25 -06:00
Doug Coleman 084311750e add using to mmap tests 2009-02-26 18:11:07 -06:00
Doug Coleman dc370e56ab mmap now throws an understandable exception upon trying to mmap a zero length file. fix a bug with calling |dispose on an integer if mmap failed on unix 2009-02-26 17:34:26 -06:00
Slava Pestov a45c91659a Update mmap docs 2009-01-28 23:33:10 -06:00
Slava Pestov 16181f818b Clean up functors so that the generated code looks sane with 'see' 2009-01-28 15:07:16 -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
Slava Pestov 9354207a5f Fix io.mmap.ushort 2008-12-03 12:51:26 -06:00
Slava Pestov e9abdef5c5 Fix io.mmap help lint failures 2008-12-03 06:18:18 -06:00
Slava Pestov aa3e1cdb6c mapped-file no longer supports sequence protocol. Instead, io.mmap.functor generates mapped arrays for all primitive C types 2008-12-02 21:50:34 -06:00
Slava Pestov 60688848f2 Update io.mmap to use dip instead of >r/r> 2008-12-02 03:09:25 -06:00
Slava Pestov 281657dd82 Fix conflict 2008-11-18 22:18:14 -06:00
Slava Pestov 9bf63b1613 New $quotation markup element 2008-11-16 09:03:30 -06:00
Slava Pestov 2fe364a7bb Specialized arrays work in progress 2008-11-14 20:18:16 -06:00
Slava Pestov c19f2257f4 Fix permission bits 2008-10-02 08:34:49 -05:00
Doug Coleman 80bd7608ed fix docs 2008-08-31 03:06:25 -05:00
Slava Pestov d66f887736 Create basis vocab root 2008-07-28 22:03:13 -05:00