Commit Graph

2827 Commits (064e4c8d0969e325ed3ed58624e46ec13e25895d)

Author SHA1 Message Date
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
Daniel Ehrenberg 0e8986176f Adding failing unit test to wrap (must-infer) 2009-02-08 18:24:22 -06:00
Daniel Ehrenberg da45cbe96d Rewriting basis/wrap with Knuth's algorithm. Minor API changes will probably break Slava's unmerged UI changes 2009-02-08 17:13:28 -06:00
Doug Coleman 16312f6711 clean up stream-seek with some suggestions from slava 2009-02-08 10:35:30 -06:00
Slava Pestov f36ec3f0c5 Add nsum, nspread and nweave to generalizations 2009-02-07 23:04:55 -06:00
Doug Coleman 959ef7a737 better error handling for backends 2009-02-07 11:24:12 -06:00
Doug Coleman 44a4c20f23 update stream seeking on windows for new api 2009-02-07 11:00:16 -06:00
Doug Coleman bc0521f88a make seeking support the full lseek options, add seeking on output ports, remove seeking from decoders.. 2009-02-07 10:30:51 -06:00
Doug Coleman 723f08ca61 fix buffer-seek 2009-02-07 09:52:34 -06:00
Doug Coleman 790f3b867c remove bogus unix depenedency, implement seeking on windows 2009-02-07 01:12:03 -06:00
Doug Coleman f6f716c4e3 unix support for stream seeking 2009-02-07 01:03:12 -06:00
Doug Coleman 5f39a714be add some constants to unix 2009-02-07 00:59:50 -06:00
Doug Coleman 1979fbc61a pack uses endian library now 2009-02-06 23:37:38 -06:00
Doug Coleman b073fe5eee the start of an endianness library, used by pack 2009-02-06 23:37:18 -06:00
Doug Coleman 0fc6dde178 make sure multipart parsing has enough bytes to compare against 2009-02-06 22:56:46 -06:00
Doug Coleman c45b188581 fix furnace.utilities 2009-02-06 22:43:11 -06:00
Joe Groff 118f2de466 fortran-invoke sketch 2009-02-06 19:05:56 -06:00
Joe Groff 6ff37d2951 Merge branch 'master' of git://factorcode.org/git/factor into fortran 2009-02-06 19:05:25 -06:00
Doug Coleman a1fe951e4f Merge branch 'master' of git://factorcode.org/git/factor 2009-02-06 18:41:11 -06:00
Doug Coleman d5dc7f5db5 remove bad comment 2009-02-06 18:40:41 -06:00
Doug Coleman c8c427ec15 initial, non-stream-based zlib binding 2009-02-06 18:38:41 -06:00
Doug Coleman 4ebc3203d6 unbreak bootstrap 2009-02-06 18:36:00 -06:00
Doug Coleman 938d459b5c Merge branch 'master' of git://factorcode.org/git/factor 2009-02-06 18:22:57 -06:00
Doug Coleman 43a91efde9 rename err_no to errno, clear_err_no to clear-errno, move them to libc, update usages 2009-02-06 18:22:28 -06:00
Doug Coleman 89c0dd21dd fix furnace.utilities lint 2009-02-06 17:14:03 -06:00
Doug Coleman e0e333b449 fix link 2009-02-06 17:13:47 -06:00
Daniel Ehrenberg 9890ee27f4 Merge branch 'for-slava' of git://git.rfc1149.net/factor 2009-02-06 14:36:37 -06:00
Slava Pestov 01c2e26dfe Fix alien tests, oops 2009-02-06 12:30:11 -06:00
sheeple e0706040cb Merge branch 'master' of git://factorcode.org/git/factor 2009-02-06 12:22:04 -06:00
sheeple 173b0ee78d Add some more tests for complex numbers in FFI 2009-02-06 12:21:53 -06:00
Daniel Ehrenberg adab00fa06 Merge branch 'master' of git://factorcode.org/git/factor 2009-02-06 11:56:03 -06:00
Daniel Ehrenberg 47a751ad6c Slight cleanup and fixing unit test 2009-02-06 11:44:58 -06:00
Daniel Ehrenberg b206c5a2d1 Finishing getting rid of html.elements from basis 2009-02-06 10:54:13 -06:00
Slava Pestov 31f976e0e9 pack: cleanup, write macros in more intuitive style that works now 2009-02-06 10:22:22 -06:00
Slava Pestov d1486589ef Improving macro docs 2009-02-06 10:22:09 -06:00
Slava Pestov 53758074a2 stack-checker: do constant folding for curry and compose with constant inputs at compile time. Allows macros to expand in more cases, fixing the fry caveat found by Doug 2009-02-06 10:21:55 -06:00
Slava Pestov 79bb003e6d io.sockets.secure.openssl: Don't allocate empty password string. Fixes test failures introduced by >c-ptr change 2009-02-06 10:17:20 -06:00
Slava Pestov 33b513fb05 byte-length on f outputs 0 2009-02-06 10:16:51 -06:00
Joe Groff da05150686 Merge branch 'master' into fortran 2009-02-06 10:07:35 -06:00
Joe Groff 7e2ac604e7 some initial work on invoking fortran functions 2009-02-06 10:06:22 -06:00
Slava Pestov 4e422afb92 Merge branch 'master' of git://factorcode.org/git/factor 2009-02-06 04:40:35 -06:00
Slava Pestov 3166828f75 Fix bug reported by Doug: smart combinators and inline words didn't mix very well in some cases 2009-02-06 04:38:54 -06:00
Slava Pestov 242638fc5c alien.complex vocabulary implementing support for C99 complex numbers 2009-02-06 04:38:31 -06:00
Slava Pestov d6aa376ed0 Removing now-redundant underlying>> calls 2009-02-06 04:37:28 -06:00
Slava Pestov 7ffbbb13e0 Specialized arrays can now be passed to alien functions directly, without calling underlying>> first 2009-02-06 04:36:17 -06:00
Slava Pestov 7bb0e78314 Add support for C99 complex float and complex double types to FFI
They are named complex-float and complex-double in the Factor world
2009-02-06 04:02:00 -06:00
Slava Pestov 4adef7db09 Fix functors bug where changing a hand-written method into one generated by a functor would forget the method; also associate functor-generated methods with the source file they're in.
Add DEFINES-CLASS, to parallel DEFINES.
Update math.blas and specialized-arrays/vectors to use DEFINES-CLASS where appropriate
2009-02-06 02:45:21 -06:00
Daniel Ehrenberg 3ec78f3766 Merge branch 'master' into no-elements
Conflicts:

	basis/html/templates/templates.factor
2009-02-06 00:49:20 -06:00
Daniel Ehrenberg 28e644209c Unicode.case supports lithuanian properly (hopefully) 2009-02-06 00:42:46 -06:00
Doug Coleman d88d2a1170 Merge branch 'master' of git://factorcode.org/git/factor 2009-02-05 23:59:49 -06:00
Doug Coleman a1f4f7772f make multipart work with sessions 2009-02-05 23:59:36 -06:00
Daniel Ehrenberg e0a60ac429 Merge branch 'master' of git://factorcode.org/git/factor 2009-02-05 23:50:28 -06:00
Slava Pestov 67ffc89402 colors.constants: defines a COLOR: word which looks up colors in X11 rgb.txt 2009-02-05 22:19:52 -06:00
Daniel Ehrenberg 51b5973b0e Documenting XML interpolation inverse 2009-02-05 21:26:40 -06:00
Daniel Ehrenberg 86c3481f12 Moving XML vocabularies around 2009-02-05 21:17:03 -06:00
Daniel Ehrenberg 0dd811557b Removing sequences.next 2009-02-05 20:28:36 -06:00
Daniel Ehrenberg 2466cafbd1 Fixing stack effects of things that use TAGS: 2009-02-05 19:04:21 -06:00
Joe Groff 7b1f16ae5e fortran records 2009-02-05 18:51:50 -06:00
Daniel Ehrenberg e32e85bdd8 Merge branch 'master' of git://factorcode.org/git/factor 2009-02-05 16:49:32 -06:00
Joe Groff 4429c17f63 implement fortran-arg-type>c-type and fortran-ret-type>c-type 2009-02-05 16:39:23 -06:00
Joe Groff 4f1dc5cd0c implement fortran-name>symbol-name and fortran-type>c-type 2009-02-05 15:31:58 -06:00
Joe Groff c24bc639d1 unit tests for alien.fortran 2009-02-05 15:29:59 -06:00
Daniel Ehrenberg cc89943c08 Getting rid of html.elements from most vocabs 2009-02-05 14:34:55 -06:00
Daniel Ehrenberg b9839b0c32 XML literals work with inverse now 2009-02-05 14:21:36 -06:00
Daniel Ehrenberg 559fa5cfc0 Merge branch 'master' of git://factorcode.org/git/factor 2009-02-05 14:21:04 -06:00
Doug Coleman f101ca606d use bi 2009-02-05 09:09:24 -06:00
Joe Groff 7ae06b0d27 Merge branch 'master' of git://factorcode.org/git/factor 2009-02-04 20:32:03 -06:00
Joe Groff ccdd8999e1 swizzle word to swizzle sequences 2009-02-04 19:46:19 -06:00
Daniel Ehrenberg fa0d5de2e4 Speeding up xml.literals by 3x using code generation 2009-02-04 17:29:35 -06:00
Doug Coleman 3d84d17cc6 use the console factor for tests 2009-02-04 13:28:19 -06:00
Daniel Ehrenberg c7a070ba8e Fixing typo in xml.dispatch 2009-02-04 13:25:51 -06:00
Daniel Ehrenberg 292ebd4a4c Fixing xml.dispatch 2009-02-04 12:34:18 -06:00
Daniel Ehrenberg 009ea7ad45 Fixing bug in XML where prolog isn't considered; whenever you write XML, the encoding is listed as UTF-8. 2009-02-04 12:32:47 -06:00
Daniel Ehrenberg 354830e983 Merge branch 'master' of git://factorcode.org/git/factor 2009-02-04 11:30:57 -06:00
Slava Pestov 489019acd0 io.encodings.chinese and io.encodings.japanese: use [1234]byte-array words instead of B{ } new-sequence and [1234]array >byte-array 2009-02-04 05:14:00 -06:00
Slava Pestov 4ee7fb1c30 Minor performance improvement for io.encodings.chinese: don't call 'linear' all the time 2009-02-04 04:58:19 -06:00
Slava Pestov cb174f0db1 Regression: HTTP server would fail to serve files with binary encoding after Dan's io.encodings.iana changes from earlier today 2009-02-04 04:17:24 -06:00
Slava Pestov cd77ecfab3 'case' didn't work if the default was a non-quotation callable, like a curry; this could come up with macro expansion. Bug reported by Dan 2009-02-04 02:41:30 -06:00
Daniel Ehrenberg babe9bb2fd Making xml.dispatch compile 2009-02-04 01:25:48 -06:00
Daniel Ehrenberg 067681334f Bug fix and docs in wrap 2009-02-03 22:12:04 -06:00
Daniel Ehrenberg 594f21e5bd Fixing HTTP and IANA tests 2009-02-03 19:44:28 -06:00
Daniel Ehrenberg 246c4bb13c Fixing encodings/XML 2009-02-03 17:32:05 -06:00
slava a3e52f283b Fix io.encodings.japanese 2009-02-03 00:33:55 -06:00
slava f340e4d649 Re-add 8dfc63eb99 2009-02-03 00:33:22 -06:00
slava 7c804591b1 Re-add 334a96f25c 2009-02-03 00:32:23 -06:00
slava e29f18a2f4 Trying to fix a bad merge...
Revert "Merge branch 'master' of git://factorcode.org/git/factor"

This reverts commit da639739bd, reversing
changes made to 346a61f497.
2009-02-03 00:27:34 -06:00
Daniel Ehrenberg da639739bd Merge branch 'master' of git://factorcode.org/git/factor 2009-02-02 21:22:29 -06:00
Daniel Ehrenberg 8dfc63eb99 Adding Japanese and Chinese encodings to io.encodings docs and io.encodings.iana 2009-02-02 21:20:55 -06:00
Daniel Ehrenberg 334a96f25c GB 18030 support 2009-02-02 21:01:39 -06:00
Samuel Tardieu 0069547e90 Fix suboptimal prime number factoring 2009-02-03 00:33:12 +01:00
Doug Coleman 346a61f497 slight cleanup in memoize 2009-02-02 16:37:36 -06:00
Doug Coleman e9f2197590 remove a couple usings and nrev 2009-02-02 16:35:30 -06:00
Daniel Ehrenberg e7bb0d21d1 Fixing interval maps docs typo; Minor change to io.encodings.japanese 2009-02-02 13:53:08 -06:00
Slava Pestov e88812b76a map infimum => [ min ] map-reduce 2009-02-02 06:04:29 -06:00
Slava Pestov 25f8eeab6f Fix io.encodings.japanese on case-sensitive file sysems 2009-02-02 05:49:21 -06:00
Slava Pestov bb2452c86e Fix biassocs docs 2009-02-02 05:47:29 -06:00
Slava Pestov 0497132a47 Refactor basis/wrap to have a more flexible API 2009-02-02 03:47:45 -06:00
Slava Pestov b684db297a Use [ max ] map-reduce instead of map supremum; would be nice to find a good name for this and put it in sequences vocab 2009-02-02 03:46:10 -06:00
Daniel Ehrenberg ce83be67a4 Cleanup of various encodings implementations 2009-02-02 00:16:33 -06:00
Slava Pestov 7512ec1110 Add >biassoc word, and define new-assoc on biassocs so that assoc-map and such can produce biassocs when given biassocs as inputs 2009-02-02 00:11:33 -06:00