Commit Graph

8937 Commits (ed5cea57eae7412cbd52129ee757f21c89b9fb9c)

Author SHA1 Message Date
Slava Pestov 917622eeb1 cpu.x86.64: fix calling varargs functions 2010-07-19 16:03:39 -04:00
Slava Pestov 0abdfbfc1b compiler.cfg: open-code parameter boxing and unboxing for certain C types 2010-07-19 10:25:13 -04:00
Slava Pestov f70b01e6f2 compiler.cfg.save-contexts: don't insert ##save-context in front of ##phi 2010-07-19 09:27:10 -04:00
Slava Pestov 641c973eb2 compiler.cfg.linear-scan.allocation: fix wrong order 2010-07-19 06:46:50 -04:00
Slava Pestov b2d2507721 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 8baa24df3b ui.gadgets.labels: fix stack effects for label-on-left and label-on-right 2010-07-18 17:38:51 -04:00
Joe Groff 9c18224b2d calendar: unit test for gmt 2010-07-18 13:45:00 -07:00
Joe Groff 130a6e0fe9 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 0c65165115 calendar.unix: rename timespec>seconds to timespec>duration to be consistent with timeval>duration 2010-07-18 16:31:24 -04:00
Slava Pestov dbf63db811 ui: cleanup 2010-07-17 16:09:25 -04:00
Slava Pestov b05818c8a4 ui.gadgets.worlds: dispose of the handle after ungrabbing input 2010-07-17 16:08:36 -04:00
Slava Pestov 1409cd79fb 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 80b0ada324 compiler.cfg.intrinsics.allot: clean up 2010-07-16 20:04:03 -04:00
Slava Pestov 333b9a34cc compiler.cfg: nuke ##allot-byte-array instruction 2010-07-16 19:57:45 -04:00
Slava Pestov cf6b910c9f 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 495a4731ab libc: add memset just because 2010-07-16 17:13:44 -04:00
Slava Pestov 4cec681146 alien.data: document with-scoped-allocation and with-out-parameters, and add initial: syntax 2010-07-16 17:13:38 -04:00
Slava Pestov 028faf0f1b 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 bbcffab3fa 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 be6bb12bbd compiler.cfg.scheduling: update to support multiple-output instructions 2010-07-15 17:38:34 -04:00
Slava Pestov cc3a96c5a1 cpu.x86.32: fix %binary-float-function 2010-07-15 03:09:06 -04:00
Slava Pestov ba74dfd78e cpu.x86.64: fix typos 2010-07-14 17:59:51 -04:00
Slava Pestov f50addd3f4 cpu.x86: fix %load/store-stack-param for 32-bit 2010-07-14 17:50:40 -04:00
Joe Groff f3174e9ad0 math.combinatorics: all-subsets and selections words (contributed by John Benediktsson) 2010-07-14 09:10:51 -07:00
Slava Pestov f133a5f2be 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 77291fe7a6 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 a1e1a62c39 io.streams.throwing: add test file 2010-07-09 23:36:40 -07:00
Joe Groff 4d082e08f4 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 ddcb743bbd io.streams.limited: scrape out last vestiges of unlimiting 2010-07-09 14:56:54 -07:00
Joe Groff e10d14ed12 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 dd6e037b9e http.server: revert d00ea changes so that server works again 2010-07-09 14:47:34 -07:00
Joe Groff e8b9cb5116 images.jpeg: fix loading error 2010-07-09 14:30:26 -07:00
Joe Groff 40c1a28e7d images.p[bgp]m: use throws-on-eof 2010-07-09 14:26:17 -07:00
Joe Groff a35344d462 io.streams.throwing: implement read-until 2010-07-09 14:26:01 -07:00
Joe Groff 89307d2f94 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 fc35dc8a28 io.streams.throwing: implement tell and seek 2010-07-09 14:08:54 -07:00
Joe Groff 47a47f8e76 io.streams.limited: remove unlimit* 2010-07-09 13:52:15 -07:00
Doug Coleman d00ea1892a 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 4abe5ea8a7 Fix typo in timers 2010-07-09 13:32:07 -05:00
Joe Groff 3af17c6bfc cpu.x86.assembler: add MOVQ xmm, xmm/m64 and MOVQ xmm/m64, xmm instructions 2010-07-08 10:19:11 -07: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 df9fefade5 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 feb2c5952b io.ports: fix stream-tell implementation 2010-07-07 02:27:34 -04:00
Slava Pestov b0cfc34b3a 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 736530766e cocoa.subclassing: new METHOD: syntax cleans up class definitions 2010-07-06 17:59:35 -04:00
Slava Pestov 69d0a3ce9b Remove Cocoa exception handling support since it no longer works 2010-07-06 17:48:37 -04:00
Slava Pestov 8bbb0c3dbe Remove cocoa.callbacks since nothing uses it 2010-07-06 17:45:50 -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 fa1b962cdb urls.encoding: tweak assoc>query to fix problem with OAuth 2010-07-06 00:57:41 -04:00
Joe Groff ba34aaf4e9 math.polynomials: unclip drop => rest 2010-07-05 20:53:24 -07:00
Slava Pestov 262354d67a tools.deploy: fix deployment of apps that use vocab: paths -- regression from recent patch that adds add-vocab-root word 2010-07-05 23:41:27 -04:00
Slava Pestov c564506d4a http: host header should not include the port number 2010-07-05 22:55:20 -04:00
Joe Groff c9ecf3462d math.polynomials: update pdiff for no-integers-as-sequences (reported by rswarbrick) 2010-07-04 09:23:43 -07:00
Slava Pestov 8fd5d3c86a FFI rewrite part 6: deconcatenatize 2010-07-02 15:44:12 -04:00
Joe Groff d294c9a513 unix.ffi: third argument of ioctl should be void*, not c-string (reported by ceninan) 2010-06-30 09:09:16 -07:00
Slava Pestov d190eeb3f8 http.server: more doc fixes 2010-06-28 17:42:48 -04:00
Slava Pestov b988253396 http.server: tweak docs 2010-06-28 17:31:45 -04:00
Slava Pestov 724c633bf0 ui.tools.traceback: make it a tool window so that its size is saved, and workspace shortcuts work 2010-06-28 17:10:15 -04:00
Joe Groff 879c71a1b3 prettyprint.backend: leave nesting-limit unset when prettyprinting hashtables without a nesting limit, fixing the bug where it would get set to 1 and print nothing (reported by Blei) 2010-06-28 09:10:16 -07:00
Slava Pestov 04579f27d6 Revert guarded method inlining
This reverts commit 44a835e3fc, reversing
changes made to d45926bda0.
2010-06-24 12:35:21 -04:00
Slava Pestov af12bc1879 stack-checker.dependencies: Oops 2010-06-24 05:27:01 -04:00
Slava Pestov daa87fce66 stack-checker.dependencies: fix error thrown if depends-on-single-method parameters are no longer valid 2010-06-24 04:28:40 -04:00
Joe Groff 74ab6db981 models: add push-model and pop-model words 2010-06-23 20:07:19 -07:00
Slava Pestov 392970ff4a combinators.smart: remove boa-preserving 2010-06-23 21:10:46 -04:00
Doug Coleman 1269f071c1 make unlinked-words take a vocabulary name instead of a list of words 2010-06-23 14:58:07 -05:00
Doug Coleman 68bc3b23f2 Add a new smart combinator boa-preserving and document the rest of the smart combinators. Simpler implementation of nullary. 2010-06-23 14:58:07 -05:00
Daniel Ehrenberg 44a835e3fc Merge branch 'master' of git://factorcode.org/git/factor into propagation 2010-06-23 12:17:24 -04:00
Doug Coleman d45926bda0 Fix using list 2010-06-23 10:27:17 -05:00
Doug Coleman ea8689efcf Fix all-users word by calling setpwent to rewind file 2010-06-23 10:25:08 -05:00
Slava Pestov eb61f5f4fe Whitespace fix 2010-06-23 03:56:17 -04:00
Slava Pestov 58441d5e2e compiler.cfg.builder: if there is a conditional where every branch is known to throw an error, don't process any of the (unreachable) code after the conditional, since this can confuse analysis (reported by Daniel Ehrenberg) 2010-06-23 03:33:15 -04:00
Slava Pestov 49b19890e0 stack-checker.row-polymorphism: minor cleanup 2010-06-22 22:35:55 -04:00
Daniel Ehrenberg ba7cf1f873 Fixing one of the bad bugs, in row-polymorphism 2010-06-22 17:31:21 -04:00
Daniel Ehrenberg ab3ed0960b Unit tests for a couple of serious compiler bugs 2010-06-22 16:41:14 -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
Slava Pestov de18fb0789 Fix unix.time to actually load 2010-06-22 15:13:07 -04:00
Daniel Ehrenberg 3b406f091d Merge branch 'master' of git://factorcode.org/git/factor into propagation 2010-06-22 14:47:57 -04:00
Slava Pestov c7e5055eb3 classes.struct: remove conflict marker from unit tests 2010-06-22 14:35:49 -04:00
Slava Pestov 51d16c7a2b compiler.cfg.height: clean it up a bit 2010-06-22 04:14:03 -04:00
Slava Pestov ff9790aaa9 Merge branch 'master' of git://github.com/erg/factor 2010-06-22 04:13:39 -04:00
Doug Coleman b197f4e755 Remove more system-micros stuff 2010-06-22 02:04:31 -05:00
Doug Coleman 864160b2f8 More system-micros elimination 2010-06-22 02:00:19 -05:00
Doug Coleman 8174abe287 remove system-micros word from factor src tree 2010-06-22 01:49:11 -05:00
Slava Pestov 1b9780fba9 Merge branch 'master' of git://github.com/erg/factor into erg 2010-06-22 01:05:13 -04:00
Slava Pestov a628766f75 Move hashtables.identity to basis and update serialize vocab to use them 2010-06-21 22:26:01 -04: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 207fa5de49 Better docs for users/groups 2010-06-21 12:10:45 -05:00
Doug Coleman b4274253d5 Fix a bug when calling all-groups twice. Add some users/groups utility words, unit tests, and docs. 2010-06-21 12:07:56 -05:00
Slava Pestov 98ebd4d0e1 ui.backend.cocoa.views: unregister window from notification instead of in -dealloc, fixing flakiness of show-listener/show-browser words 2010-06-19 18:12:56 -04:00
Slava Pestov 8b4bcadc90 ui.tools.error-list: fix breakage if image is saved and restored with an open error list 2010-06-18 22:03:37 -04:00
Joe Groff 56000b63b9 stack-checker.errors.prettyprint: refer to unbalanced-branches quotation in singular when there's only one 2010-06-18 15:36:03 -07:00
Joe Groff bac801ef27 math.quaternions: typo in n*q 2010-06-17 19:23:52 -07:00
Doug Coleman 5090944300 Merge branch 'master' of github.com:erg/factor 2010-06-17 13:27:44 -05:00
Doug Coleman 5c9a3f5a0c Allow with-*-group/user to be a no-op if first parameter is f 2010-06-17 13:20:51 -05:00
Doug Coleman 2ec125c6d3 Throw an error on certain combinators if a user/group does not exist 2010-06-17 12:59:19 -05:00
Doug Coleman 78a67420a3 Merge branch 'master' of github.com:erg/factor 2010-06-17 11:12:25 -05:00
Doug Coleman 81b13f4ac0 Clearer <pipes> word 2010-06-17 11:02:47 -05:00
Slava Pestov a6e8f996dc tools.disassembler.udis: fix tests on 32-bit Windows 2010-06-17 02:04:59 -04:00
Doug Coleman 3edef30342 Implement gmt hook on unix 2010-06-17 00:04:53 -05:00
Doug Coleman 97c3450427 Remove system_micros from vm, implement gmt hook on windows 2010-06-16 23:39:16 -05:00