Commit Graph

2973 Commits (db359d69dfe0f24613f9a8ec4f6ac3a0b3d87980)

Author SHA1 Message Date
Slava Pestov a2eb56d399 io: fix with-streams to dispose the output stream first, move (stream-seek) word to io.streams.sequence where it belongs 2010-09-12 22:07:23 -07:00
Doug Coleman fbe868289c Fix with-streams: if the first dispose throws an error, the second dispose never gets called 2010-09-12 00:26:14 -05:00
Doug Coleman 11957c636c Fix throw-restarts example 2010-09-11 19:41:06 -05:00
John Benediktsson 7ac352ca14 sequences: fix typo in docs. 2010-09-10 13:22:48 -07:00
Slava Pestov ea2690661e Merge branch 'docs-linearization-typo' of http://github.com/mncharity/factor 2010-09-09 20:33:11 -07:00
Mitchell N Charity 85030e861a algebra-docs: fix a typo 2010-09-09 17:39:11 -04:00
Doug Coleman 7016ffbb7b Rename append-path-naive to append-relative-path, fix bugs to support Firefox FTP again 2010-09-05 00:40:47 -05:00
Doug Coleman 612a683973 If ftp clients send a path starting with /, treat it as a path relative to the serving directory. Expose absolute-path? and append-path-naive in io.pathnames to implement this change. 2010-09-04 22:16:57 -05:00
Slava Pestov e0e09234cf Rename get-fpu-state entry point to fpu-state, and fix stack-checker unit tests 2010-09-04 12:58:59 -07:00
Slava Pestov 6617eca683 Fix three problems discovered by running math.floats.env tests in a loop:
- Crash if allocating error triggers a GC from a signal/SEH handler
- Crash if GC runs with floating point traps enabled on Windows
- Floating point traps didn't prettyprint properly
2010-09-02 22:57:14 -05:00
Slava Pestov 776f184ed0 serialize, io.streams.byte-array: fix unit tests for utf8 encoding strictness 2010-08-25 17:51:44 -07:00
Slava Pestov 12e182acea io.encodings.utf8: formatting fix 2010-08-25 17:47:26 -07:00
Joe Groff a5125844b0 io.encodings.utf8: also guard against decoding code points > 0x10FFFF 2010-08-25 09:28:39 -07:00
Joe Groff 9080ce8903 io.encodings.utf8: guard against decoding overlong encodings 2010-08-25 09:18:33 -07:00
Slava Pestov f30b9c484c Add unless-disposed combinator to clean up some repetition, and fix bogus error reported from timer thread if an I/O operation with a set timeout fails on Windows 2010-08-23 21:12:24 -05:00
Slava Pestov 3ae7cccd74 generic.single: fix bug where dynamic and static dispatch didn't co-incide (reported by Mitchell N. Charity and others) 2010-08-21 18:12:00 -07:00
Slava Pestov 425808bb57 classes: remove fragile unit test 2010-08-21 18:10:09 -07:00
Slava Pestov bb22925d4b generic: clean up unit tests a bit 2010-08-21 13:04:37 -07:00
Slava Pestov 84698985ad Officially drop PowerPC port 2010-08-15 20:10:11 -07:00
Philipp Brüschweiler 79b134f45e slots: use em dashes 2010-08-14 18:27:30 +02:00
Joe Groff c304a3630a Merge remote branch 'Blei/master' 2010-08-14 09:20:15 -07:00
Slava Pestov f3dfae04ba compiler: now that FFI has been deconcatenatized, we no longer need the special ##unary-float-function and ##binary-float-function fastpaths 2010-08-13 23:59:19 -07:00
Philipp Brüschweiler 4e584356d9 slots: the docs for writer used obsolete (>>slot) syntax 2010-08-13 23:50:10 +02:00
Slava Pestov 05f3dc7e76 combinators: make the behavior of 'case' consistent between the optimized and unoptimized forms 2010-07-30 14:21:30 -04:00
Slava Pestov 801197a58d classes.algebra: make it work better to fix bug reported by Sascha Matzke 2010-07-29 19:57:23 -04:00
Slava Pestov 7d792778f5 FFI rewrite part 7: compile callback bodies with the optimizing compiler 2010-07-28 00:49:26 -04:00
Slava Pestov 4415a0924c compiler.tree.finalization: record dependencies on inlined predicates 2010-07-23 16:31:15 -07:00
Doug Coleman ce0d76a580 Clean up vocabulary list, remove unused/poorly-named word from io 2010-07-09 13:32:09 -05:00
Slava Pestov f3ae3b7fc8 parser: update unit test 2010-07-08 15:41:28 -04:00
Slava Pestov 066a4597b4 io.ports: fix stream-seek with seek-relative seek type (reported by Joe Groff) 2010-07-07 17:32:30 -04:00
Slava Pestov feb2c5952b io.ports: fix stream-tell implementation 2010-07-07 02:27:34 -04:00
Slava Pestov e935681743 Add a scan-token word which is like scan, except throws an error on EOF; document scan-object word; mention that scan-token/scan-object are preferred over scan/scan-word 2010-07-06 16:20:08 -04:00
Slava Pestov bbfb952741 Clarify documentation for resize-array, resize-byte-array, resize-string words, and remove flushable declaration since technically they don't satisfy the flushable contract (reported by Daniel Ehrenberg) 2010-06-22 15:48:48 -04:00
Doug Coleman 8174abe287 remove system-micros word from factor src tree 2010-06-22 01:49:11 -05:00
Doug Coleman b45ed7a048 Normalize vocabulary roots by removing the last path separator so that scaffold tool works with trailing separators 2010-06-21 13:06:09 -05:00
Doug Coleman 97c3450427 Remove system_micros from vm, implement gmt hook on windows 2010-06-16 23:39:16 -05:00
Slava Pestov 281061d386 vocabs.loader: tweak docs 2010-06-13 18:12:57 -04:00
Doug Coleman 90fa6908c0 Sets docs -- testing set membership: member? -> in? 2010-06-05 18:55:46 -05:00
Slava Pestov 69aa6153eb combinators: tweak docs 2010-06-03 21:34:55 -04:00
Slava Pestov 1a6e5324c7 vocabs.refresh.monitor: spin off new monitor threads when add-vocab-root is called. Fixes a problem where depending on the order of startup hooks, refresh-all would sometimes be broken for custom vocab roots 2010-05-31 20:14:54 -04:00
Doug Coleman a2833d31c9 Fix typo in stack effect docs 2010-05-21 12:48:04 -05:00
Slava Pestov 8d6ed23cab io.files: fix unit test 2010-05-19 20:47:22 -04:00
Slava Pestov 500882d603 io: missed a few byte-array>int-array in unit tests 2010-05-19 16:22:39 -04:00
Joe Groff 74b25d8018 syntax: correct documentation for ratio syntax 2010-05-18 18:59:54 -07:00
Joe Groff d649daaf4f math: declare quotation stack effects on each-integer, times, find-integer, all-integers? 2010-05-13 14:30:19 -07:00
Slava Pestov 4f4fa18625 sequences: remove unused 2reverse-each word 2010-05-10 00:46:29 -04:00
Slava Pestov d2d466de29 Language change: tuple slot setter words with stack effect ( value object -- ) are now named FOO<< instead of (>>FOO) 2010-05-06 17:21:02 -04:00
Doug Coleman 94147b220b Fix typo in between? stack effect docs 2010-05-05 18:16:54 -05:00
Slava Pestov bb0579ecf9 Updating tests for recent compiler changes 2010-05-03 17:34:30 -04:00
Slava Pestov b9fc73e25f continuations: keep original error when throwing wrapped errors as well, for easier debugging of bootstrap failures 2010-05-03 17:34:22 -04:00