Commit Graph

8991 Commits (0b47a6b959b0615026e87522eeb778fa8d3a3ded)

Author SHA1 Message Date
Slava Pestov e8152e9098 alien.parser: array types where the base type was a pointer didn't parse (reported by Dmitry Shubin) 2010-08-15 02:32:12 -07:00
Slava Pestov cbb9ff61fb io.sockets.windows: win32-socket instances were not being unregistered from global disposables hash; also check return value of closesocket 2010-08-15 00:05:27 -05:00
Joe Groff 9472c866da cpu.x86.64: rescue from the perils of cut and paste code (fix bug reported by x6j8x) 2010-08-14 09:14:22 -07:00
Slava Pestov 1985705413 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
Slava Pestov b5fc39c198 compiler.cfg: Reading the return value of a float-returning function on x86-32 had a side effect of popping the x87 stack, so it was not correct for DCE to just eliminate this if the return value was not used. Fix this by adding a new dead-outputs slot to alien-call-insns and having DCE move dead returns there 2010-08-13 23:19:56 -07:00
Joe Groff 7384793287 math.floats.env.x86: more direct test for stack fault detection 2010-08-13 22:20:16 -07:00
John Benediktsson 0701a68760 help.apropos: some cleanup and performance improvement. 2010-08-13 19:32:49 -07:00
John Benediktsson a8e9b57685 tools.completion: making completions a lot faster using make. 2010-08-13 19:28:44 -07:00
John Benediktsson ae17190909 math.combinatorics: Fixing selections bug with nested sequences. 2010-08-13 14:34:14 -07:00
John Benediktsson c3045005ef Adding the "internet checksum" (RFC 1071). 2010-08-13 14:32:26 -07:00
John Benediktsson 6c4ba923ae db.sqlite.lib: fixing sqlite-row word. 2010-08-13 14:23:05 -07:00
Joe Groff 50c3f2e03e opengl.gl: typo in the FFI bindings for some obscure gl functions 2010-08-13 10:16:47 -07:00
Joe Groff 8347a9ead8 math.floats.env: detect +fp-x87-stack-fault+ during collect-fp-exceptions block 2010-08-12 23:23:00 -07:00
Slava Pestov 42b858b3f0 math.libm: fix regression: fsqrt intrinsic was not working ever since change was made to inline FUNCTION: bodies 2010-08-12 21:41:57 -07:00
Slava Pestov cc71799833 alien.prettyprint: fix unit test snafu 2010-08-11 21:52:37 -07:00
Slava Pestov 79bcda6d1e tools.time: fix documentation error (reported by Mitchell N Charity) 2010-08-11 19:20:37 -07:00
Joe Groff c2c5a87b0f opengl.gl: some opengl 4 functions were accidentally still presented as -EXT 2010-08-11 10:05:03 -07:00
Joe Groff 04075be646 alien.c-types: classify typedefs of array/string types as typedef-words so they prettyprint correctly 2010-08-11 10:03:19 -07:00
Jon Harper 4fcdb2fbd5 divisors returns empty list for 0
This is mainly for consistency with other words
(factors, group-factors, unique-factors)
2010-08-09 22:54:35 -07:00
Slava Pestov 653d433798 libc: make memory= inline just for fun 2010-08-06 00:16:25 -07:00
Slava Pestov c34f88e5e5 pango: minor cleanups 2010-08-06 00:16:18 -07:00
Slava Pestov 72dfb3339f classes.struct: make hashcode and equal? work on structs wrapping null pointers, to fix another obscure issues arising with tuple arrays 2010-08-06 00:15:22 -07:00
Slava Pestov b346cbd6b0 cpu.x86.32: fix 32-bit bootstrap 2010-08-02 20:51:29 -04:00
Slava Pestov 0e0efbd24a tools.scaffold: clean up 2010-08-02 20:50:59 -04:00
Slava Pestov 5a3ece19b3 Merge branch 'tools.scaffold' of http://github.com/jonenst/factor 2010-08-02 20:47:13 -04:00
Slava Pestov 451237a028 Fix start-context-and-delete sub-primitive (reported by Sascha Matzke) 2010-08-02 20:28:23 -04:00
Jon Harper cfc902ed0a Remove redundant newline 2010-08-02 17:20:31 +02:00
Jon Harper 0aa00044ba remove duplicates to conform with lint-tool 2010-08-02 17:20:19 +02:00
Philipp Brüschweiler 352e263de6 io.files.info.unix.linux: sometimes /etc/mtab isn't properly formatted (found on arch linux) 2010-08-01 14:00:03 +02:00
Slava Pestov 1a137e9b5d ftp.server: remove MAIN: word, since it expected a parameter from the stack and main words must have effect ( -- ) (reported by Alec Barryman) 2010-07-31 18:33:26 -04:00
Slava Pestov 6e3dee43d4 io.ports: calling '0 read' now returns an empty sequence without blocking (reported by Brennan Cheung) 2010-07-30 15:58:33 -04:00
Slava Pestov 723d780703 stack-checker.alien: generate a declaration for input parameter types 2010-07-30 15:50:05 -04:00
Slava Pestov fd1aad71bd combinators: make the behavior of 'case' consistent between the optimized and unoptimized forms 2010-07-30 14:21:30 -04:00
Slava Pestov f2646fc92c cpu.x86: save context before calling new_context() since it can trigger GC (bug reported by Sascha Matzke) 2010-07-30 01:07:53 -04:00
Slava Pestov a5f59e9cd6 alien.prettyprint: fix test failure 2010-07-29 21:09:05 -04:00
Slava Pestov 94f6ac98de compiler.cfg.linear-scan: fix bad interaction between inactive intervals and sync points 2010-07-29 21:06:48 -04:00
Slava Pestov 0f4c5d2bff classes.algebra: make it work better to fix bug reported by Sascha Matzke 2010-07-29 19:57:23 -04:00
Slava Pestov a2927eb255 ui.backend.windows: fix compile error in ui-wndproc 2010-07-29 17:22:34 -04:00
Slava Pestov 6142bd7335 alien.syntax: FUNCTION: and FUNCTION-ALIAS: now define inline words 2010-07-28 03:05:14 -04:00
Slava Pestov 168dd1f825 FFI rewrite part 7: compile callback bodies with the optimizing compiler 2010-07-28 00:49:26 -04:00
Slava Pestov 5fc9aa05b0 Revert "compiler.cfg: change linear ordering to place GC call blocks at the end"
This reverts commit 544a288192.
2010-07-27 23:58:41 -04:00
Slava Pestov 8adde5360a compiler.cfg: change linear ordering to place GC call blocks at the end 2010-07-27 13:00:28 -04:00
Slava Pestov 355d89e8e8 compiler.cfg: now that kill-blocks cannot contain instructions that define vregs we can skip them all 2010-07-27 12:40:31 -04:00
Slava Pestov 7f4b7d66a3 help.html: escape % in word names (reported by Anton Gorenko) 2010-07-26 17:43:50 -04:00
Slava Pestov 68da8c48d5 Merge branch 'master' of http://github.com/mrjbq7/factor 2010-07-26 15:10:50 -04:00
Slava Pestov c34639293a peg.ebnf: minor fix 2010-07-26 12:40:32 -04:00
John Benediktsson f1eb6a9d6e math.combinatorics: improve all-subsets and selections words. 2010-07-26 08:12:36 -07:00
John Benediktsson 0b7ed3bdb9 db: fix typo in docs. 2010-07-26 08:11:51 -07:00
Slava Pestov 3dbb8e6153 math.matrices: move normal word from gpu.demos.bunny and reverse sign 2010-07-23 20:41:08 -07:00
Slava Pestov cdb52119a0 regexp: fix test 2010-07-23 20:40:44 -07:00
Slava Pestov 44dc1aadc0 regexp: fix match iteration with empty matches, and fix reverse regexes since they were totally broken (bugs reported by Joe Groff and various others) 2010-07-23 19:44:39 -07:00
Slava Pestov c04de94b96 compiler.tree.finalization: record dependencies on inlined predicates 2010-07-23 16:31:15 -07:00
Slava Pestov f7bd876cae io.files.unix: fix tests for recent calendar.unix vocab changes 2010-07-21 00:23:35 -04:00
Slava Pestov b6fe62299e compiler.cfg.alias-analysis: factor-call-insns which defined values were not handled properly 2010-07-19 19:56:00 -04:00
Slava Pestov 0fbe78be00 cpu.x86.64: fix calling varargs functions 2010-07-19 16:03:39 -04:00
Slava Pestov b23aac1beb compiler.cfg: open-code parameter boxing and unboxing for certain C types 2010-07-19 10:25:13 -04:00
Slava Pestov 8e46305288 compiler.cfg.save-contexts: don't insert ##save-context in front of ##phi 2010-07-19 09:27:10 -04:00
Slava Pestov adc9db3ea8 compiler.cfg.linear-scan.allocation: fix wrong order 2010-07-19 06:46:50 -04:00
Slava Pestov b776a92546 compiler.cfg.linear-scan: fix bad interaction between split position calculation and register-clobbering instructions 2010-07-18 17:38:52 -04:00
Slava Pestov 80d0ed0110 ui.gadgets.labels: fix stack effects for label-on-left and label-on-right 2010-07-18 17:38:51 -04:00
Joe Groff fd053eb028 calendar: unit test for gmt 2010-07-18 13:45:00 -07:00
Joe Groff 57081d5b5e calendar: since-1970 shouldn't >local-time; this causes words that want to return GMT to return local time too 2010-07-18 13:43:01 -07:00
Slava Pestov 6914e69d69 calendar.unix: rename timespec>seconds to timespec>duration to be consistent with timeval>duration 2010-07-18 16:31:24 -04:00
Slava Pestov 35e5c572ce ui: cleanup 2010-07-17 16:09:25 -04:00
Slava Pestov 88ca7abd54 ui.gadgets.worlds: dispose of the handle after ungrabbing input 2010-07-17 16:08:36 -04:00
Slava Pestov e2ceb11337 stack-checker: calling 'boa' on a non-tuple would compile as a no-op rather than an error (reported by Joe Groff); clean up some other error reporting code too 2010-07-17 15:57:44 -04:00
Slava Pestov e3edb2653d compiler.cfg.intrinsics.allot: clean up 2010-07-16 20:04:03 -04:00
Slava Pestov e5dd21b0b9 compiler.cfg: nuke ##allot-byte-array instruction 2010-07-16 19:57:45 -04:00
Slava Pestov 446ee6896d alien.data: remove second quotation parameter from with-out-parameters, now all values are copied properly and calling 'clone' on structs in this quotation is not necessary 2010-07-16 17:32:05 -04:00
Slava Pestov 5803419b9d libc: add memset just because 2010-07-16 17:13:44 -04:00
Slava Pestov 5b31cbcb3c alien.data: document with-scoped-allocation and with-out-parameters, and add initial: syntax 2010-07-16 17:13:38 -04:00
Slava Pestov 60ddbd9d9b compiler.cfg.scheduling: ##dispatch must go at the end since its a control flow transfer 2010-07-15 20:55:31 -04:00
Slava Pestov 0fd636b4b9 compiler.cfg: ##unbox-long-long can have multiple outputs now, clean up long long parameter passing code using this 2010-07-15 19:49:29 -04:00
Slava Pestov 48e96ef032 compiler.cfg.scheduling: update to support multiple-output instructions 2010-07-15 17:38:34 -04:00
Slava Pestov 5e13318988 cpu.x86.32: fix %binary-float-function 2010-07-15 03:09:06 -04:00
Slava Pestov e7191998f8 cpu.x86.64: fix typos 2010-07-14 17:59:51 -04:00
Slava Pestov 867530223c cpu.x86: fix %load/store-stack-param for 32-bit 2010-07-14 17:50:40 -04:00
Joe Groff 37bddfba54 math.combinatorics: all-subsets and selections words (contributed by John Benediktsson) 2010-07-14 09:10:51 -07:00
Slava Pestov e27adb2830 compiler: re-architect low-level optimizer to allow more than one output value per instruction 2010-07-13 07:40:14 -04:00
Joe Groff 1625768a9e tools.test: change unit-test docs so it's clear "output" is a sequence and not an executable quotation (reported by mncharity) 2010-07-12 09:36:36 -07:00
Joe Groff b04bc8640f io.streams.throwing: add test file 2010-07-09 23:36:40 -07:00
Joe Groff b1c557a825 io.streams.throwing: rename throws-on-eof -> stream-throw-on-eof and input-throws-on-eof -> throw-on-eof and change stream-throw-on-eof to leave the rigged stream on the stack, to better follow convention of other io words 2010-07-09 18:10:51 -07:00
Joe Groff fb4cbd87d4 io.streams.limited: scrape out last vestiges of unlimiting 2010-07-09 14:56:54 -07:00
Joe Groff f7960c7f6a http.server: reintroduce some code cleanups now that it's back in a working state 2010-07-09 14:52:42 -07:00
Joe Groff 67a241eba3 http.server: revert d00ea changes so that server works again 2010-07-09 14:47:34 -07:00
Joe Groff 7f0ba86421 images.jpeg: fix loading error 2010-07-09 14:30:26 -07:00
Joe Groff 8b7cb0bc21 images.p[bgp]m: use throws-on-eof 2010-07-09 14:26:17 -07:00
Joe Groff 90b962bbd3 io.streams.throwing: implement read-until 2010-07-09 14:26:01 -07:00
Joe Groff 9a2dd6a96c images.loader and friends: push throws-on-eof down to the loaders that want it 2010-07-09 14:20:32 -07:00
Joe Groff 99db070c9e io.streams.throwing: implement tell and seek 2010-07-09 14:08:54 -07:00
Joe Groff 0bdc1514fd io.streams.limited: remove unlimit* 2010-07-09 13:52:15 -07:00
Doug Coleman 2ca509a8fe Split off io.streams.throwing from io.streams.limited and update usages of limited streams 2010-07-09 13:32:09 -05:00
Doug Coleman 59ea478b0a Fix typo in timers 2010-07-09 13:32:07 -05:00
Joe Groff 732befe272 cpu.x86.assembler: add MOVQ xmm, xmm/m64 and MOVQ xmm/m64, xmm instructions 2010-07-08 10:19:11 -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 1f4bd3e293 compiler.tree.propagation.known-words: don't want a type function on clone, all the methods are inline and it was wrong (reported by Joe Groff) 2010-07-07 17:25:32 -04:00
Slava Pestov a7384d5de6 io.ports: fix stream-tell implementation 2010-07-07 02:27:34 -04:00
Slava Pestov 425c572fa8 cocoa.subclassing: cleaner CLASS: syntax; ui.backend.cocoa: ignore events delivered after window closed to fix FEP (reported by Doug Coleman) 2010-07-06 19:02:52 -04:00
Slava Pestov bb4dae64f3 cocoa.subclassing: new METHOD: syntax cleans up class definitions 2010-07-06 17:59:35 -04:00
Slava Pestov bc87b269c5 Remove Cocoa exception handling support since it no longer works 2010-07-06 17:48:37 -04:00