Commit Graph

10493 Commits (e379feeb459175648b8ff623d507b71e5bc343dc)

Author SHA1 Message Date
Doug Coleman cd9dd9d752 core: Throw an error when assigning a bignum to a fixnum tuple slot if the bignum doesn't fit. Fixes #594. 2012-08-03 14:59:59 -07:00
John Benediktsson b2a10982f7 wrap.words: missed this commit. 2012-08-03 08:44:22 -07:00
John Benediktsson a1682451eb wrap: remove use of namespace, speed up a little. 2012-08-03 08:26:58 -07:00
John Benediktsson f05954c5a9 core-text: use cached-lines get-global. 2012-08-02 21:35:28 -07:00
John Benediktsson 6a183718fa compiler.cfg: don't need to escape the symbol here. 2012-08-02 15:14:42 -07:00
John Benediktsson 3a7a7ac86b compiler.codegen: instruction counter is a global. 2012-08-02 15:06:04 -07:00
John Benediktsson 8343c88f4d io.sockets: fix stack effect names. 2012-08-02 14:49:50 -07:00
John Benediktsson d3ce5c7deb combinators.random: some style cleanup. 2012-08-02 14:06:08 -07:00
John Benediktsson 7d8d6cdd51 core-foundation.run-loop: remove reset on every iteration. 2012-08-01 16:59:33 -07:00
John Benediktsson a056a81307 ui.backend.gtk.io.unix: switch to "mx get-global". 2012-08-01 16:22:23 -07:00
John Benediktsson 1b32690d22 io.backend.unix.multiplexors.run-loop: switch to "mx get-global". 2012-08-01 16:20:31 -07:00
John Benediktsson c1d680eabc unix.time: faster "0 make-timeval". 2012-08-01 14:31:18 -07:00
John Benediktsson 1a3e8a2994 io.backend: fix docs to show nanoseconds instead of micros. 2012-08-01 12:08:18 -07:00
John Benediktsson caf4e677c7 core-foundation.run-loop: use fewer durations. 2012-08-01 11:53:33 -07:00
John Benediktsson ebac6a5dbf core-foundation.run-loop: this is still needed, for now. 2012-08-01 11:18:47 -07:00
John Benediktsson 3e6e6458e5 core-foundation.run-loop: do less work, speeds up yield by 50%. 2012-08-01 10:57:58 -07:00
John Benediktsson 04dd210b37 ui.gadgets: fix docs for max-dims. 2012-08-01 07:37:44 -07:00
John Benediktsson 3cfce74d28 Revert "alien.libraries: allow "foo f address-of" to be folded."
This reverts commit 96c7a59ad2.
2012-07-31 22:11:25 -07:00
John Benediktsson f278cb5447 core-text: cache attribute assoc. 2012-07-31 22:03:32 -07:00
John Benediktsson 7b7df45c50 alien.libraries: allow "foo f address-of" to be folded. 2012-07-31 22:03:06 -07:00
John Benediktsson 17edc5e63a ui: short-circuit layout-queued if deque is empty. 2012-07-31 20:26:51 -07:00
John Benediktsson 4f418b14af random: faster random-units and random-integers. 2012-07-31 20:24:56 -07:00
John Benediktsson c36adbd749 ui.gadgets: faster max-dims and sum-dims. 2012-07-31 20:23:32 -07:00
John Benediktsson 74cdcba2cd fix some docs to have string article names. 2012-07-31 14:41:32 -07:00
John Benediktsson 692ae29078 help.search: bit faster, allow searching for things like "first2", formatted output, and allow both phrase and starts-with searching. 2012-07-31 14:24:08 -07:00
John Benediktsson e6a26185d5 help.search: allow searching within help articles. 2012-07-31 10:31:05 -07:00
Doug Coleman ffe1c510ae math.matrices: rename van-der-monde to vandermonde 2012-07-30 16:44:08 -07:00
John Benediktsson 088dfa4861 math.matrices: adding van-der-monde matrix. 2012-07-30 16:15:21 -07:00
John Benediktsson aed6825b4a math.vectors: implement v^, v^n, n^v. 2012-07-30 16:15:00 -07:00
John Benediktsson 43a0698a6c prettyprint.backend: fix docs. 2012-07-29 11:52:36 -07:00
John Benediktsson 934b307ba2 make some predicates return t/f instead of something/f. 2012-07-29 10:52:46 -07:00
John Benediktsson f1e232c981 prettyprint: print unprintables by hex escaping. 2012-07-29 10:14:54 -07:00
John Benediktsson 916c495337 tools.scaffold: rename scaffold-help to scaffold-docs. 2012-07-27 15:24:30 -07:00
John Benediktsson 95015c7bc6 see: more information on built-in classes. 2012-07-27 14:59:49 -07:00
John Benediktsson 9ffef3f881 ui.tools.operations: allow watch on non-annotated words, reset on annotated ones. 2012-07-27 14:06:52 -07:00
John Benediktsson c6810293a0 tools.annotations: add a predicate class for annotated words. 2012-07-27 14:06:38 -07:00
John Benediktsson 7cb973009a csv: bit faster writing csv. 2012-07-27 13:47:15 -07:00
John Benediktsson d7f9fe7600 http: only parse expires if non-empty. 2012-07-27 13:46:45 -07:00
John Benediktsson 1949e4c2d9 csv: bit faster, simpler. 2012-07-27 13:22:32 -07:00
John Benediktsson 2f93d9dedd ui.tools.listener.completion: make sure "USE: vocab <TAB>" works right. 2012-07-27 08:47:57 -07:00
John Benediktsson 4b7d7aed1c ui.tools.listener.completion: fix complete-vocab? check (also its faster now). 2012-07-26 18:58:21 -07:00
Doug Coleman cfdbf02a9a random: More leeway for pareto unit test. Python's pareto distribution behaves the same, with a wide variance. Maybe both are busted, or is that just expected from pareto? Fixes #564. 2012-07-26 12:19:21 -07:00
Doug Coleman 2426a13d6a tools.profiler: Make the unit tests do more work so there's something to sample. Fixes #563. 2012-07-26 12:05:48 -07:00
John Benediktsson 9df7475314 tools.deploy.test: include arch in test.image file name. 2012-07-26 08:01:57 -07:00
Doug Coleman f4c369bdb0 command-line: Remove -securegc from docs. 2012-07-25 23:54:31 -07:00
Doug Coleman ba64012f79 docs: vm says to read "command-line" but it was called "cli". change the article title in the docs. 2012-07-25 23:49:19 -07:00
Doug Coleman c448ea0e3e io.launcher.windows.tests: dos2unixfy it 2012-07-25 23:18:15 -07:00
Doug Coleman a4d7a76143 io.launcher: Bad usage of if-zero. Fixes #584. 2012-07-25 23:17:46 -07:00
Doug Coleman 2996ef41ff sequences: Fix tests that broke when nth could only be integers. Undo integer>fixnum in iota nth. See bug #582. 2012-07-25 22:17:24 -07:00
John Benediktsson 942e4ffee2 tools.disassembler.gdb: simplify gdb-binary. 2012-07-24 15:04:32 -07:00
John Benediktsson 17a50c649b vocabs: enforce sorting of keyed vocabs. 2012-07-24 15:04:32 -07:00
John Benediktsson 30a198e2ab classes.tuple: moving get-slot-named and set-slot-named from db.types. 2012-07-24 11:55:16 -07:00
John Benediktsson 5c76cbb421 rename some words to x>sequence and sequence>x. 2012-07-23 21:28:38 -07:00
John Benediktsson 9cfbf99c15 ui.tools.listener: adding tests for Ctrl-D. 2012-07-23 12:02:11 -07:00
Doug Coleman c936f9d5e5 modular-arithmetic: Fix unit test. Should expect integer>fixnum, not >fixnum. 2012-07-23 11:51:44 -07:00
John Benediktsson e6dc084aa7 ui.tools.listener: adding some tests for interactor read-until. 2012-07-23 11:48:24 -07:00
John Benediktsson 3b5094a73c ui.tools.listener: fix read-until with Ctrl-D. 2012-07-23 11:07:03 -07:00
John Benediktsson b4f4e6f6ca editors: better error message when editing 'f', use vocab-tests-path in edit-tests. 2012-07-23 10:02:00 -07:00
John Benediktsson 3a5d7077fb vocabs.files: adding a 'vocab-tests-path' that doesn't check for existence. 2012-07-23 10:01:48 -07:00
John Benediktsson f38247b7c3 editors: allow editing of word docs and tests. 2012-07-23 09:37:46 -07:00
Doug Coleman fb4e3ad9bc compiler: Fix bitand on ratios, floats. Fix shift on ratios, floats. Add integer>fixnum. Fixes #500. 2012-07-23 09:31:12 -07:00
John Benediktsson 695e6aea49 help.html: fix using. 2012-07-22 22:24:56 -07:00
John Benediktsson 504bb901cf help.html: adding links to github source files. 2012-07-22 22:12:19 -07:00
John Benediktsson 7dc8b2ef1f help.vocabs: adding platforms to metadata. 2012-07-22 15:33:21 -07:00
John Benediktsson 5589b2bbd2 ui.tools.listener: fix stream-read-until on interactor gadgets. 2012-07-22 15:16:39 -07:00
John Benediktsson efe2926d8e ui: change some places to call safe-summary. 2012-07-22 14:37:15 -07:00
John Benediktsson 0f1a89c7cd summary: adding a safe-summary that catches any errors calling summary. 2012-07-22 14:36:51 -07:00
John Benediktsson 9e1f82add6 help.markup: check the number of arguments to help markup. 2012-07-22 14:05:30 -07:00
John Benediktsson 0fc94f90c7 unicode.collation: fix typo in docs. 2012-07-22 14:00:55 -07:00
John Benediktsson a4f3a87add tools.deploy: prevent delay in error deploying of vocabs with no main. 2012-07-22 13:24:25 -07:00
John Benediktsson 4e72d80256 Using "same?" in more places. 2012-07-21 10:22:44 -07:00
Doug Coleman bf8d455e9c compiler: Fix /mod simplications in dead-code, add unit tests. Fixes #544 2012-07-21 03:41:42 -07:00
John Benediktsson 44854b6b03 tools.continuations: need one more rename. 2012-07-20 15:03:45 -07:00
John Benediktsson 861c6a29ce xml.errors: using code generation to make XML error classes. 2012-07-20 13:39:09 -07:00
Doug Coleman a7a34a3b9a continuations: change continuation word to current-continuation. continuation is now just the tuple name. issue #358 2012-07-20 12:30:14 -07:00
Doug Coleman 350035fe27 prettyprint.sections: Rename text tuple to text-section 2012-07-20 12:30:14 -07:00
Doug Coleman d979478bc4 stack-checker: meta-d was a word and symbol, now meta-d word and (meta-d) symbol
issuse #358
2012-07-20 12:30:14 -07:00
John Benediktsson 7a615ae33b help: don't make word help create global boxes. 2012-07-20 12:00:47 -07:00
John Benediktsson fa0a0939f9 formatting: some cleanup, minor performance improvements. 2012-07-20 09:41:05 -07:00
John Benediktsson 2398580eb8 io.sockets.secure.unix.debug: move to io.sockets.secure.debug (not unix specific). 2012-07-19 19:17:52 -07:00
Doug Coleman 32ff5f4b9b http: Use make 2012-07-19 17:52:43 -07:00
Doug Coleman 99ec318a98 compiler.tree.debugger: Remove make-assoc 2012-07-19 17:48:02 -07:00
Doug Coleman 7327999e0a cookbook: One less pitfall. 2012-07-19 17:44:00 -07:00
Doug Coleman d9da6e4781 match: make-assoc: -1 2012-07-19 17:35:00 -07:00
John Benediktsson 23d6c4fe4a match: whoops. 2012-07-19 17:09:23 -07:00
John Benediktsson eb6c03c536 match: revert to previous behavior, had a bug. 2012-07-19 16:56:08 -07:00
John Benediktsson 0cfc78c37c "filter empty?" is "any? not". 2012-07-19 16:33:01 -07:00
John Benediktsson d33877a941 prettyprint.config: string-limit? shouldn't be a global. 2012-07-19 15:31:08 -07:00
John Benediktsson 16b046af76 more cleanup of with-scope. 2012-07-19 15:11:33 -07:00
John Benediktsson 3ea37a93eb more H{ } make fixes. 2012-07-19 14:38:22 -07:00
John Benediktsson 1a73e79ef7 cleanup some use of with-scope. 2012-07-19 13:55:34 -07:00
John Benediktsson 88e0936618 more cleanup for H{ } make. 2012-07-19 11:39:56 -07:00
John Benediktsson 90d0951ada more use of H{ } make. 2012-07-19 11:24:45 -07:00
John Benediktsson 559b5bfa5b using the new H{ } make. 2012-07-19 09:50:09 -07:00
John Benediktsson 04320d27f4 fixing some docs. 2012-07-19 09:47:14 -07:00
Doug Coleman 1da8666a70 io.sockets.unix: Needs to still use namespaces. Clean up using lists. 2012-07-19 00:53:09 -07:00
Doug Coleman 42f4dc36b2 namespaces: Rename ``bind`` to ``with-variables``. Update a few places that called ``global [ ] with-variables`` to use ``with-global``. 2012-07-19 00:02:47 -07:00
John Benediktsson bf3dbde042 csv: more permission parsing. 2012-07-18 12:24:24 -07:00
John Benediktsson daaa62d498 core-foundation.strings: using map!. 2012-07-17 22:54:08 -07:00
John Benediktsson 0359a4e823 math.intervals: using short-circuit logic. 2012-07-17 20:08:12 -07:00
John Benediktsson c8221b9f2a memoize: speed up memoized functions with no arguments. 2012-07-17 17:51:15 -07:00
John Benediktsson 632f0d9810 memoize: use unsafe words. 2012-07-17 16:24:30 -07:00
John Benediktsson 6a08de2203 hashtables.identity: cache the identity hashcode on the wrapper. 2012-07-17 16:04:27 -07:00
John Benediktsson cde26a3356 hashtables.wrapped: INSTANCE: assoc and support new-assoc. 2012-07-17 15:50:03 -07:00
John Benediktsson ccda811114 simple-flat-file: using map! in some places. 2012-07-17 15:29:56 -07:00
Doug Coleman ee1c45a403 tools.walker: Give examples for breakpoint and breakpoint-if. Reported by tgunr 2012-07-17 12:06:31 -07:00
John Benediktsson 0c46a1834b simple-flat-file: revert for now, caused bootstrap problems. 2012-07-17 09:45:43 -07:00
John Benediktsson 4eeafea8be some cleanup. 2012-07-17 08:53:40 -07:00
John Benediktsson 2f7e8c0352 io.directories: fix mistaken refactor. 2012-07-17 08:39:31 -07:00
John Benediktsson c507293d41 io.directories.hierarchy: faster directory-tree-files. 2012-07-17 08:25:53 -07:00
John Benediktsson b519b52fa3 io.directories: cleanup and some performance improvements with move/copy. 2012-07-16 22:03:49 -07:00
John Benediktsson 2f325e4fee using if-zero in even more places. 2012-07-16 19:38:49 -07:00
John Benediktsson cf0a912156 calendar: durations don't need to clone instants. 2012-07-16 17:37:32 -07:00
John Benediktsson 3b774c395e calendar: speed up >gmt. 2012-07-16 17:28:49 -07:00
John Benediktsson eb87558b6a calendar: some minor performance improvements. 2012-07-16 16:45:59 -07:00
John Benediktsson 4043244ce5 windows.time: fix using list. 2012-07-16 15:46:52 -07:00
John Benediktsson 5cc30f46f5 using if-zero in more places. 2012-07-16 15:45:21 -07:00
John Benediktsson 80a7329de8 windows.time: faster windows-time>timestamp. 2012-07-16 15:30:58 -07:00
John Benediktsson 626050611c hints: prepend should have same hints as append. 2012-07-16 11:07:13 -07:00
John Benediktsson e6f30668e1 splitting.monotonic: revert to previous monotonic-split (thanks @k7f!). 2012-07-16 07:39:03 -07:00
John Benediktsson 6955bf1428 calendar.unix: fix timeval>seconds (thanks @k7f!) 2012-07-16 07:37:02 -07:00
John Benediktsson bf3f466688 vocabs.hierarchy: ensure-valid-root only once per root. 2012-07-15 16:17:29 -07:00
John Benediktsson d539aa9311 csv: don't need optional first/last. 2012-07-15 16:03:19 -07:00
John Benediktsson 260b75f4bf vocabs.hierarchy: some cleanup and minor speedups. 2012-07-15 15:48:39 -07:00
John Benediktsson 3da5efa25b calendar.unix: making time conversions a lot faster. 2012-07-15 15:16:28 -07:00
John Benediktsson 2900fb9361 unicode.data: faster string operations by using constants instead of globals. 2012-07-15 13:57:05 -07:00
John Benediktsson e607cfb6ce csv: faster, only use make when field contains quotes or newlines. 2012-07-15 09:50:51 -07:00
John Benediktsson d31ece5dd0 csv: faster for files that do not have blanks around delimiter. 2012-07-15 09:15:55 -07:00
John Benediktsson 8d2a271aa2 tools.completion: fix chars-matching word. 2012-07-14 16:14:48 -07:00
John Benediktsson 49c2ec6180 csv: 20% faster. 2012-07-14 15:33:24 -07:00
John Benediktsson 1ea580d911 splitting.monotonic: cleanup, a little faster. 2012-07-14 15:22:34 -07:00
John Benediktsson bfb6bdd891 ui.gadgets: rename max-dim and dim-sum. 2012-07-13 23:19:21 -07:00
John Benediktsson 2902cb111b strings.tables: adding empty format-table test case. 2012-07-13 22:14:25 -07:00
John Benediktsson e23883d07e strings.tables: fixing issue slicing empty arrays. 2012-07-13 22:11:58 -07:00
John Benediktsson 01dddd5381 csv: 20% faster reading, and 50% faster writing. 2012-07-13 21:45:29 -07:00
John Benediktsson 5f77fe82f0 dlists: fix tests using list. 2012-07-13 19:10:55 -07:00
John Benediktsson 4f260ab9bd "H{ } substitute" is faster than "{ } substitute". 2012-07-13 19:06:38 -07:00
John Benediktsson 57b681dd71 ui.tools.listener.completion: intersects? is overkill here. 2012-07-13 18:58:05 -07:00
John Benediktsson bdefd57819 strings.tables: faster format-table. 2012-07-13 18:42:34 -07:00
John Benediktsson 6f20c2fa61 dlists: simpler equality. 2012-07-13 17:29:20 -07:00
John Benediktsson fd61f71956 dlists: fix equality when custom dlist-link nodes are used. 2012-07-13 16:56:28 -07:00
John Benediktsson 20046a08a7 dlists: fix stack effect names. 2012-07-13 16:21:29 -07:00
John Benediktsson d51a0e1647 binary-search: check +eq+ last. 2012-07-13 16:21:18 -07:00
John Benediktsson 40db157be2 dlists: rename "dlist>seq" to "dlist>sequence". 2012-07-13 15:53:38 -07:00
John Benediktsson 27cfc7748e ui.gadgets: use curry in add-gadgets. 2012-07-13 15:39:18 -07:00
John Benediktsson c1e9f4c362 ui.text: cleanup string-width/height and make text-dim a bit faster. 2012-07-13 15:35:42 -07:00
John Benediktsson 8350b54bbc core-text.fonts: making cache-font and cache-font-metrics twice as fast. 2012-07-13 15:18:35 -07:00
John Benediktsson 9f56eb6981 dlists: rename "seq>dlist" to ">dlist". 2012-07-13 15:15:14 -07:00
John Benediktsson a57fff9424 deques: fix stack effect to have "deque" not "dlist". 2012-07-13 15:14:51 -07:00
John Benediktsson 7552cf1c8e xml.data: some lint fixes. 2012-07-12 19:24:18 -07:00