Commit Graph

11091 Commits (3ac3c69ab409249c590b18ee5fe9958de1e55ee9)

Author SHA1 Message Date
Doug Coleman bfbe6edde6 math.statistics: Median now changes the order of the sequence, so clone it first. 2013-03-24 01:08:28 -07:00
Doug Coleman 188d7e98df html.templates.chloe: Rename cached-template 2013-03-23 23:16:54 -07:00
Doug Coleman c9e9a5985a xml-rpc: Use ERROR: 2013-03-23 23:10:30 -07:00
Doug Coleman c74d19512e xml: Rename unclosed. 2013-03-23 23:08:15 -07:00
Doug Coleman 8160bb036d compiler.cfg.linear-scan.live-inervals: Rename live-interval 2013-03-23 22:59:18 -07:00
Doug Coleman 5f377c0849 compiler: Rename value-info, live-interval 2013-03-23 22:56:47 -07:00
Doug Coleman 97f6d171ed compiler.tree: Fix compiler test with merge-state 2013-03-23 22:56:16 -07:00
Doug Coleman f5d0035ac5 unix.stat.linux: stat-func 2013-03-23 22:48:57 -07:00
Doug Coleman 5732c61f12 unix.stat: Rename stat. 2013-03-23 22:38:38 -07:00
Doug Coleman 20e14a96df unix.statfs etc: Naming conflicts. 2013-03-23 22:38:38 -07:00
Doug Coleman c88760128d core-foundation.run-loop: Rename run-loop. 2013-03-23 22:38:38 -07:00
John Benediktsson 1754ab73bd basis: fewer tokens when possible using if*. 2013-03-23 22:25:02 -07:00
Doug Coleman 00450e468a tools,help: Fix error-type. 2013-03-23 22:07:40 -07:00
John Benediktsson 2621fff99e bit-sets: use adjoin-all. 2013-03-23 22:07:22 -07:00
John Benediktsson cd1c6ccda0 help.lint: fix error-type-holder. 2013-03-23 22:04:49 -07:00
Doug Coleman da30a378c9 debugger: Fix undefined-word. 2013-03-23 21:44:37 -07:00
Doug Coleman 4aa8c93546 strings, multiline: Fix unexpected-eof. 2013-03-23 21:42:26 -07:00
Doug Coleman aafc2a6190 vocabs.metadata: Rename unsupported-platform. 2013-03-23 21:35:36 -07:00
Doug Coleman ee4f4ec997 source-files.errors: Rename error-type. 2013-03-23 21:25:19 -07:00
Doug Coleman fa0b4c1a5b compiler: Use lookup-library. 2013-03-23 21:23:23 -07:00
Doug Coleman 9c0d2068c9 tools.deploy.shaker: Fix call to lookup-library. 2013-03-23 20:03:51 -07:00
Doug Coleman 22c8e78c6d opengl.annotations: Fix tuple slot name. 2013-03-23 20:00:41 -07:00
Doug Coleman f4410e295a io.files.info.windows: Fix file-info-tuple inheritance. 2013-03-23 19:14:28 -07:00
John Benediktsson d0ad18a64e compiler.cfg.ssa.construction.tdmsc: fix previous broken commits. 2013-03-23 18:44:49 -07:00
John Benediktsson 15f9ba2763 Revert "compiler.cfg.ssa.construction.tdmsc: more use of ?adjoin."
This reverts commit 6bf55a6d89.
2013-03-23 18:39:15 -07:00
John Benediktsson 3f1a426210 Revert "compiler.cfg.ssa.construction.tdmsc: pass visited set on stack."
This reverts commit ec2834300b.
2013-03-23 18:25:53 -07:00
John Benediktsson 7744498ad2 compiler.cfg.ssa.construction.tdmsc: pass visited set on stack. 2013-03-23 18:13:17 -07:00
John Benediktsson 56a7cf4df2 compiler.cfg.ssa.construction.tdmsc: more use of ?adjoin. 2013-03-23 17:57:41 -07:00
John Benediktsson 93fb7805b0 compiler: more use of ?adjoin. 2013-03-23 17:47:07 -07:00
Doug Coleman 3b7d0681af unix: rename C function kevent. 2013-03-23 17:44:00 -07:00
Doug Coleman 60cb462826 ui.tools: Fix restart. 2013-03-23 17:39:48 -07:00
Doug Coleman daca323523 ui.tools.error-list: Fix reset-memoized. 2013-03-23 17:35:18 -07:00
Doug Coleman 2761c45277 io.files.info: Fix unit test. 2013-03-23 17:20:00 -07:00
Doug Coleman a82b460876 continuations: Rename restart to continue-restart. 2013-03-23 17:18:09 -07:00
Doug Coleman f820215b1e alien.libraries: Rename library to lookup-library. 2013-03-23 17:16:46 -07:00
Doug Coleman fb4eb84f7c ui.tools.error-list: Rename error-list-gadget. 2013-03-23 17:14:04 -07:00
Doug Coleman eb20c5e22e compiler.tree.modular-arithmetic: Fix test for iota change. 2013-03-23 17:12:16 -07:00
Doug Coleman 9f92b12e3b compiler.tests: Fix test for <groups> change. 2013-03-23 17:11:27 -07:00
Doug Coleman 033711bf6a compiler.errors: Rename linkage-error. 2013-03-23 17:10:11 -07:00
Doug Coleman 378300155b tools.test: Rename did-not-fail. 2013-03-23 17:09:19 -07:00
Doug Coleman f4dfc3733a help.lint: Rename help-lint-error. 2013-03-23 17:06:37 -07:00
Doug Coleman 8012f60829 cococa.messages: Rename selector. 2013-03-23 16:54:55 -07:00
Doug Coleman 031543fed3 delegate: Rename consult-method. 2013-03-23 16:51:34 -07:00
Doug Coleman 50bf20bca4 tools.deprecation: Rename deprecation-note 2013-03-23 16:48:41 -07:00
Doug Coleman c1b4bcb58e ui.gadgets.slider: Rename. 2013-03-23 16:47:04 -07:00
Doug Coleman 16964064b6 ui.tools: Fix definition? usage. 2013-03-23 16:46:51 -07:00
Doug Coleman d2024a84e3 io.files.info: Rename file-info and file-system-info. 2013-03-23 16:43:32 -07:00
Doug Coleman 42470e10e7 concurrency.count-downs: Rename count-down tuple. 2013-03-23 16:41:58 -07:00
Doug Coleman 0b5c1b79c1 ui.gadgets: Rename grid-layout. 2013-03-23 16:41:02 -07:00
Doug Coleman b4acfa376a definitions: Separate definition definitions. 2013-03-23 16:34:33 -07:00
Doug Coleman 9dd0f84f07 peg.ebnf: Regexp fail. 2013-03-23 16:30:57 -07:00
Doug Coleman be87b3aca7 peg.ebnf: Rename tokenizer in peg.ebnf, fix whitespace. 2013-03-23 16:27:00 -07:00
Doug Coleman 4efd998bd6 opengl: Rename gl-error to gl-error-tuple. 2013-03-23 16:26:43 -07:00
Doug Coleman 5fab749dcc words: Change word -> last-word, set-word -> set-last-word. 2013-03-23 16:12:03 -07:00
Doug Coleman 5a1692eead stack-checker: Rename literal -> literal-tuple. 2013-03-23 16:12:03 -07:00
Doug Coleman 51e695857c ui.gestures: Class vs word name duplication. Sorry for the lame names, this can get cleaned up with a tool once there are no more conflicts. 2013-03-23 16:12:03 -07:00
Doug Coleman e0e12fd5ea editors.notepad: Make this Windows only. 2013-03-23 15:14:51 -07:00
Doug Coleman 8c19602ae9 assocs: Add of and ?of. Change all the things at once! Fixes #701. 2013-03-23 14:59:07 -07:00
Doug Coleman f9ea61bf91 basis/extra: Update last usages of <sliced-groups> to <groups>. 2013-03-23 12:08:18 -07:00
Doug Coleman 11af4e1781 grouping: Remove <clumps> and <circular-clumps> and rename <sliced-clumps>
and <sliced-circular-clumps> to those. Fixes #765.
2013-03-23 11:38:05 -07:00
Doug Coleman 8917ae9ad7 grouping: Remove <groups>, old <sliced-groups> is now <groups>. Fixes 2013-03-23 11:37:51 -07:00
John Benediktsson 0687e3f880 lcs: more performance improvements. 2013-03-21 21:16:34 -07:00
John Benediktsson 460d19f56c compiler.tree: fewer namespace lookups. 2013-03-21 19:36:07 -07:00
John Benediktsson 7da4a74588 compiler: fewer namespace lookups. 2013-03-21 19:11:20 -07:00
John Benediktsson 042a0f26a6 disjoint-sets: ahem. 2013-03-21 18:13:24 -07:00
John Benediktsson b398daf472 boxes: don't check occupied twice. 2013-03-21 17:57:03 -07:00
John Benediktsson 657bef5818 lcs: performance improvements. 2013-03-21 17:55:09 -07:00
John Benediktsson 5b9805fcfd base64: faster encode and decode. 2013-03-21 17:46:07 -07:00
John Benediktsson 684c2793e7 math: some style cleanup. 2013-03-21 08:54:14 -07:00
John Benediktsson 8fdef5d585 tools.completion: fix test cases. 2013-03-20 23:08:00 -07:00
John Benediktsson a440b2a909 tools.completion: matching names. 2013-03-20 16:51:09 -07:00
Doug Coleman ef98b7af53 tools, ui.tools: Rename complete-P"? to complete-pathname? 2013-03-20 16:18:30 -07:00
Doug Coleman 07e223564f math.ranges: Stopgap fix for math.ranges unit tests. See issues #803, #800, #508. 2013-03-20 15:54:57 -07:00
John Benediktsson d5e5991671 prettyprint: fix length limit to be 'maximum length before truncation'. 2013-03-20 15:30:29 -07:00
Doug Coleman 5291eec130 prettyprint: Don't print ~1 more~ when there is only one element left. Fixes #524. 2013-03-20 14:26:05 -07:00
Doug Coleman eb136e0f21 math.ranges: Add a bunch more tests for empty ranges. 2013-03-20 13:52:03 -07:00
Doug Coleman 3b8164da32 typed: Add unit test for #778. 2013-03-20 11:14:09 -07:00
John Benediktsson 3fb1cb6d2d typed: prevent TYPED: definitions without types. 2013-03-20 11:09:34 -07:00
John Benediktsson 972281987c compiler.cfg.intrinsics: intrinsics on inline words are not supported. 2013-03-20 10:59:45 -07:00
John Benediktsson 04a7a793d6 locals.parser: check for valid locals names. 2013-03-20 09:48:55 -07:00
John Benediktsson 8d3acb68f5 zoneinfo: fix for calendar renaming. 2013-03-20 09:02:40 -07:00
John Benediktsson 86fcc79628 calendar: fix bootstrap problem. 2013-03-19 22:40:23 -07:00
Doug Coleman 50485b72c2 calendar: Add more utility words for date abbrevations. 2013-03-19 17:23:26 -07:00
John Benediktsson 06eaac026c csv: cleanup some of the words a bit. 2013-03-19 11:03:30 -07:00
John Benediktsson 67a2b9dc9a io.encodings: speed up ascii and utf8 stream-read-until. 2013-03-18 13:35:22 -07:00
John Benediktsson 2bbec0dd61 stack-checker: more use of hash-sets. 2013-03-16 13:41:51 -07:00
John Benediktsson 86b2dea8d5 io.encodings: remove duplication in decoder-readln. 2013-03-15 10:50:40 -07:00
John Benediktsson 68fed78c7d io.encodings.strict: some fixes. 2013-03-15 07:55:20 -07:00
John Benediktsson e164358d01 help.handbook: show vocab name for strict encodings. 2013-03-15 07:52:22 -07:00
John Benediktsson d11805228f io.files.info.unix.linux: use string>csv instead. 2013-03-15 06:40:24 -07:00
John Benediktsson 779721c737 csv: fix help-lint warnings. 2013-03-15 06:16:34 -07:00
John Benediktsson bccec54caf csv: fixing the tests for recent interface changes. 2013-03-14 21:21:20 -07:00
John Benediktsson a5c5970530 csv: cleanup public interface, adding stream- versions of read/write words. 2013-03-14 21:18:34 -07:00
John Benediktsson 91b1f3fff1 csv: some performance improvements. 2013-03-14 21:05:41 -07:00
John Benediktsson e74f770b57 Use bl in more places. 2013-03-14 19:24:00 -07:00
John Benediktsson b56556f0ab json: some performance improvements. 2013-03-14 18:53:13 -07:00
John Benediktsson 001baa2cc4 memoize: change unpacker to embed array type. 2013-03-14 14:50:41 -07:00
John Benediktsson 668de36940 tools.crossref: fix for bootstrap errors. 2013-03-12 21:01:16 -07:00
John Benediktsson 1a59420232 tools.crossref: more "make UI browser happy". 2013-03-12 09:27:07 -07:00
John Benediktsson e35c142195 ui.tools.browser.popups: fix in/out links popups. 2013-03-12 09:10:16 -07:00
Doug Coleman 875e45a640 sequences: Add some short useful factors. Clean up the use of longest. 2013-03-11 17:47:52 -07:00
Doug Coleman ce72121c7a basis: End <PRIVATE with PRIVATE>. 2013-03-10 22:36:57 -07:00
Doug Coleman d7a61ae809 io.encodings.utf32: Fix unmatched <PRIVATE. 2013-03-10 22:20:59 -07:00
John Benediktsson b2ffa02fff Fix some tests broken by recent definitions change. 2013-03-10 20:22:18 -07:00
John Benediktsson b8097f9221 compiler: cleaner use of sets. 2013-03-10 17:21:27 -07:00
John Benediktsson 7f3f90eb8d compiler: more use of hash-sets. 2013-03-10 16:13:31 -07:00
John Benediktsson 1776893c36 compiler.tree.dead-code.simple: curry live-values. 2013-03-10 16:13:31 -07:00
John Benediktsson 8c88e0448a ui: change selected gadgets to a hash-set. 2013-03-10 16:13:30 -07:00
Doug Coleman aa26fec7c6 help: Mismatched <PRIVATE PRIVATE> pair. 2013-03-10 15:14:14 -07:00
Doug Coleman 6697f3effb math.statistics: Fix histogram and collect. Histogram used each-index even when it didn't need to. 2013-03-10 12:57:48 -07:00
Doug Coleman 5a9e7cd374 classes.builtin: Add the BUILTIN: keyword which lets builtin classes show up in source files. Probably could use save-location to allow editing, but it seemed to break things. 2013-03-10 12:05:38 -07:00
John Benediktsson ac95c024f3 compiler.cfg.loop-detection: more use of hash-sets. 2013-03-10 10:06:48 -07:00
John Benediktsson c7c951f207 compiler.cfg.ssa.construction: more use of hash-sets. 2013-03-10 10:03:11 -07:00
John Benediktsson 4f0c404d87 tools.scaffold: more use of hash-sets. 2013-03-10 10:02:53 -07:00
John Benediktsson 229e85459e compiler.tree.tuple-unboxing: simpler checks. 2013-03-10 09:36:52 -07:00
John Benediktsson c0c769a7d8 compiler.units: changing definitions-changed to use a set. 2013-03-10 09:11:18 -07:00
John Benediktsson 50db0745d6 graphs: moving to basis. 2013-03-09 08:31:06 -08:00
John Benediktsson 80ac71ad86 tools.crossref: fix help-lint. 2013-03-08 22:24:21 -08:00
John Benediktsson 5f165095dc ui.tools.listener.completion: fix use of search-vocab-names. 2013-03-08 17:53:02 -08:00
Doug Coleman f9c96628c0 tools.completion: Add utility word for searching for a string in a sequence of strings. 2013-03-08 16:50:10 -08:00
John Benediktsson e9aeef7a5e regexp.dfa: more use of hash-sets. 2013-03-08 16:50:59 -08:00
John Benediktsson e9d8ff1c0d prettyprint.sections: more use of hash-sets. 2013-03-08 16:32:09 -08:00
John Benediktsson 26506a4b0b destructors: use hash-sets to keep track of disposables. 2013-03-08 16:30:33 -08:00
John Benediktsson 4b5833f252 tools.crossref: speed up build-crossref. 2013-03-08 16:18:26 -08:00
John Benediktsson 2025ffe292 compiler.tree.modular-arithmetic: more use of hash-sets. 2013-03-08 15:58:16 -08:00
John Benediktsson 17a71e8105 tools.profiler.sampling: more use of hash-sets. 2013-03-08 14:36:04 -08:00
John Benediktsson 262a46a3f4 compiler.cfg.loop-detection: more use of hash-sets. 2013-03-08 12:38:50 -08:00
John Benediktsson ff9af6423f compiler.tree.recursive: more use of hash-sets. 2013-03-08 12:34:23 -08:00
John Benediktsson 9d43e21563 compiler.cfg.write-barrier: more use of hash-sets. 2013-03-08 12:30:37 -08:00
John Benediktsson 88626d38ca compiler.cfg.ssa.construction: more use of hash-sets. 2013-03-08 12:24:06 -08:00
John Benediktsson af1b167c28 compiler.tree.propagation.info: inline <value-info>. 2013-03-08 12:19:24 -08:00
John Benediktsson b97a1a0753 compiler: fix stack effects to indicate visited is same object. 2013-03-08 12:16:02 -08:00
John Benediktsson bf35114fec compiler: use hash-sets to track visited sets. 2013-03-08 11:04:47 -08:00
John Benediktsson 04af5f2ffb hash-sets: faster implementation based on hashtables. 2013-03-07 21:43:17 -08:00
John Benediktsson 5908186301 compiler.cfg.alias-analysis: use clear-set. 2013-03-07 21:35:00 -08:00
John Benediktsson b571a42679 Use -unsafe words with pair methods. 2013-03-07 10:47:23 -08:00
John Benediktsson bddd66f5f3 interval-maps: bit of unsafe. 2013-03-07 10:46:41 -08:00
John Benediktsson 8c161df10e linked-assocs: some performance improvements. 2013-03-07 10:05:28 -08:00
John Benediktsson c81bf00e46 core-foundation.run-loop: CFTimeInterval is a double. 2013-03-06 20:31:42 -08:00
John Benediktsson be04b19745 core-foundation.file-descriptors: inline enable-all-callbacks. 2013-03-06 19:59:52 -08:00
John Benediktsson 248d4e6bee tools.completion: small performance improvements. 2013-03-06 19:58:53 -08:00
John Benediktsson 95c1abe468 heaps: performance improvements. 2013-03-06 19:41:37 -08:00
John Benediktsson 85d0c607b0 io.directories: fix docs for (directory-entries). 2013-03-06 17:35:53 -08:00
John Benediktsson fe9448533f uui: remove trailing spaces. 2013-03-06 09:20:59 -08:00
John Benediktsson 45f49775ec cache: faster purge-cache. 2013-03-06 09:17:35 -08:00
John Benediktsson a60b49630f grouping: making monotonic? faster. 2013-03-06 07:31:45 -08:00
John Benediktsson ca8c7b4db4 grouping: faster all-eq? and all-equal? (fewer comparisons). 2013-03-05 20:01:27 -08:00
John Benediktsson c64a90b277 vocabs.cache: root-cache get instead of get-global. 2013-03-05 18:57:32 -08:00
John Benediktsson 5751f6d309 compiler.tree.propagation.transforms: use integer>fixnum-strict in shift. 2013-03-05 08:19:31 -08:00
John Benediktsson 843426c664 hints: remove these hints for now... 2013-03-04 19:03:10 -08:00
John Benediktsson 8043b7b4ba hints: prevent specialization on inline-recursive words. 2013-03-04 17:34:20 -08:00
John Benediktsson 7a3a801bde words: adding inline-recursive?. 2013-03-04 16:09:56 -08:00
John Benediktsson be7c981462 random: format delete-random better. 2013-03-03 17:32:53 -08:00
John Benediktsson c2f09e9533 random: speed up some random floats using (random-unit). 2013-03-01 09:33:20 -08:00
John Benediktsson 5094a7f460 random: adding (random-unit) for convenience. 2013-03-01 09:27:20 -08:00
John Benediktsson c0f5bc8391 tools.profiler.sampling: fix top-down*. 2013-03-01 09:20:48 -08:00
John Benediktsson 2af325dc83 random: speedup random-integer some more.
Better code generation by specializing on fixnum/bignum.
2013-02-28 19:47:55 -08:00
John Benediktsson 927414c6c5 random: minor speedup (random-bits). 2013-02-27 15:26:56 -08:00
John Benediktsson 29b8c4b993 random: speedup randomize. 2013-02-27 14:51:29 -08:00
John Benediktsson b47a737321 random: speed up uniform-random-float. 2013-02-27 14:40:56 -08:00
John Benediktsson 8a5411cfc1 random: performance improvements to random-integer and random-bits. 2013-02-27 14:05:46 -08:00
Doug Coleman 48dff3e6f1 unix.linux.proc: Older kernels don't have enough fields in /proc/pid/stat. Pad it. 2013-02-25 10:07:05 -08:00
Doug Coleman 9dfa305561 unix.linux.proc: Add some more /proc parsing. 2013-02-24 18:30:18 -08:00
Doug Coleman 1ef827cd92 calendar.format: Add some utility words for implementing top. 2013-02-24 18:30:18 -08:00
Doug Coleman 7d9a8b69af tools.ps: Use unix.linux.proc for parsing. 2013-02-24 18:30:18 -08:00
Doug Coleman 5a5bac70f4 unix.linux.proc: Refactor /proc parsing. Add generic to make pid/string and pid-string/string pairs into /proc/pid/pathname. 2013-02-24 18:30:18 -08:00
John Benediktsson 1524d43c9c sequences: define a single "?set-nth" that is used. 2013-02-20 10:42:21 -08:00
John Benediktsson 55cfbf072f sequences: fix uses of set-nth-unsafe. 2013-02-20 08:01:06 -08:00
John Benediktsson f8f5feed4a sequences: normalize all the "?set-nth" words, probably this should be a stdlib thing. 2013-02-19 16:52:40 -08:00
John Benediktsson b62444680b timers: use typed to speedup 10%. 2013-02-19 15:40:45 -08:00
Doug Coleman 10a4413bec colors: Inline >rgba methods. 2013-02-19 10:09:47 -08:00
John Benediktsson 1ae04f1247 math.statistics: adding z-score. 2013-02-07 15:50:34 -08:00
Doug Coleman 18b7960e09 math.statistics: Add docs for collect-by and collect-index-by. 2013-02-05 09:35:51 -08:00
Doug Coleman f4834ce51c io.backend.unix: Nobody uses (refill), remove it. 2013-02-05 09:35:51 -08:00
Doug Coleman 7f253ef728 debugger.unix: Make this vocab unix only. 2013-02-01 13:38:11 -08:00
Doug Coleman 193d7ff24b debugger.unix: Get the signal name from a signal object too. 2013-02-01 11:36:18 -08:00
Doug Coleman 4eb9126971 unix.ffi: Add the man 2 signal() function call. 2013-02-01 11:36:18 -08:00
Doug Coleman a7fab027ae unix.linux.proc: Add a parser for some of the /proc and /proc/[PID]/ files. 2013-02-01 11:36:18 -08:00
John Benediktsson 422ccf9901 math.functions: adding "round-to". 2013-01-30 09:41:21 -08:00
John Benediktsson 5a7e7b8d9b compiler.tree.propagation.known-words: retry this change, some issue with use vocabs. 2013-01-22 07:09:49 -08:00
John Benediktsson f5c898734c Revert "compiler.tree.propagation.known-words: adding known outputs for some words."
This reverts commit 16d8e6555b.
2013-01-22 06:42:58 -08:00
John Benediktsson 7a63013916 compiler.tree.propagation.known-words: adding known outputs for some words. 2013-01-21 20:28:17 -08:00
John Benediktsson 295c87b8b1 ui.backend.cocoa.views: add platforms.txt. 2013-01-16 14:28:32 -08:00
John Benediktsson 3f987b2ffb ui.backend.cocoa.views: fix build error on older OSX versions. 2013-01-16 10:46:39 -08:00
Jon Harper 8587b90930 X11, give same input as gtk when pressing shift, tab, alt.. 2013-01-11 11:58:37 -08:00
Jon Harper 6afe04bfc1 X11 XK_ISO_Left_Tab is shift tab 2013-01-11 11:58:21 -08:00
Doug Coleman 8d0137e0fd tools.deploy.windows.ico: Throw an error if the .ico is a unsupported
format.
2013-01-08 15:52:17 -08:00
John Benediktsson d0d75cfa06 compression.zlib: fix help-lint warning, add a bit to the article. 2013-01-08 07:03:56 -08:00
Benjamin Pollack 2f80333a77 compression.zlib: add basic documentation 2013-01-07 20:33:19 -05:00
Doug Coleman 10a2288ed4 peg: Qualify use of replace. Fix some spacing. 2013-01-03 18:33:48 -08:00
John Benediktsson d8e8eee935 peg.ebnf: fix usage of replace. 2013-01-03 18:13:20 -08:00
Doug Coleman 10e74c6066 sequences: Add join-as, which takes an exemplar. Move split-subseq and replace from unicode.case to splitting and fix an infinite loop with split-subseq. Add docs/tests. 2013-01-03 16:44:25 -08:00
John Benediktsson f71d01ea7e unicode.case: fix stack effect for replace. 2013-01-03 15:33:19 -08:00
Doug Coleman fb60673840 math.vectors: Don't use macro with locals and cond in vif. Stack-checker/locals/macros/smart-combinators all need some work (a rewrite?), but meanwhile don't let it get in the way. Add tests. 2013-01-03 09:49:31 -08:00
Doug Coleman 2ab5607670 math.vectors: Fix spacing. 2013-01-02 00:09:21 -08:00
Doug Coleman fe677bac2f compiler.tree.propagation.recursive: Generalizing intervals in the propagation pass ignored types. Fixes #770. 2013-01-01 18:47:23 -08:00
Doug Coleman 63e55ac813 compiler.cfg.liveness: Break the infinite loop--add the base-pointer as f to start with, and replace it with the real one if there's not a circular chain. Fixes #22 again. 2013-01-01 14:47:54 -08:00
Doug Coleman 125e4befd3 compiler.cfg.liveness: Add parallel-copy method for lookup-base-pointer*. Adjust lookup-base-pointer* stack effect to take two parameters. Still retain stack overflows, but more correct now... 2013-01-01 14:16:51 -08:00
Doug Coleman 262eb73ea6 basis: Re-enable some things I commented out. Fixes #22. Thanks @ajvondrak! 2012-12-31 11:48:30 -08:00
Alex Vondrak 8b44af4717 compiler.cfg.renaming.functor: fix ##parallel-copy methods 2012-12-31 11:26:46 -08:00
Alex Vondrak e90ce0865c compiler.cfg.ssa.destruction.leaders: break off leader-map to resolve circular dependencies (oops) 2012-12-31 11:20:57 -08:00
Alex Vondrak dcb27c51e4 compiler.cfg.liveness: still kill defs by leaders, but keep original
vregs in the live-sets so accurate info (e.g., representations) can
still be looked up (issue #22)
2012-12-31 11:05:05 -08:00
Alex Vondrak fc91dcf530 compiler.cfg.ssa.destruction: alien-call-insns are too hairy to coalesce (issue #22) 2012-12-31 11:04:57 -08:00
Alex Vondrak 86a15ad47b compiler.cfg.liveness: look up leaders (if possible) so liveness analysis doesn't break after leaving SSA (issue #22) 2012-12-31 11:04:52 -08:00
Alex Vondrak b08c077023 compiler.cfg.parallel-copy: make sure new vregs used to break cycles in parallel-copy-rep update the leader-map (issue #22) 2012-12-31 11:04:44 -08:00
Alex Vondrak ff1c2c293b compiler.cfg.ssa.interference.live-ranges: fix kill-indices for ##parallel-copy (issue #22) 2012-12-31 11:04:38 -08:00
Alex Vondrak ae0b77a0c4 compiler.cfg.ssa.cssa: split the definitions of ##phis so live-ranges don't interfere (issue #22)
See the explanation after the proof of Lemma 1 in "Revisiting Out-of-SSA
Translation for Correctness, Code Quality, and Efficiency" (Boissinot et
al.) for why this is necessary.
2012-12-31 11:04:26 -08:00
Doug Coleman a0dd953e33 starting point - Fix bootstrap; I broke it in merging. Disable environment variables because the compiler isn't loaded yet and can't call C ffi functions, and tools.test loads this vocab.
Disable intrinsics in cpu.x86.64 for now, since they invoke the compiler
Fix ##branch renaming to ##branch,
To work on this branch:
./factor -include=math -i=boot.image
./factor -run=listener
USE: compiler USE: tools.test save
enable-optimizer

Error message is now:
T{ vregs-shouldn't-interfere f 409 424 }
2012-12-31 11:03:45 -08:00
Slava Pestov 07227f22f9 WIP 2012-12-31 11:03:33 -08:00
Doug Coleman ae276ec225 random: Add poisson-random-float. 2012-12-31 11:02:56 -08:00
John Benediktsson a46bcfe85c ui.gadgets.editors: fix stack effect of change-caret quotation. 2012-12-28 17:01:32 -08:00
John Benediktsson 03cd5cd579 xml.traversal: adding deep-children>string. 2012-12-17 11:58:30 -08:00
John Benediktsson 43b541d11b ui.baseline-alignment: fix float shift on retina. 2012-12-17 11:43:05 -08:00
John Benediktsson e01ff14fa0 ui.text.core-text: fix jumping "def". 2012-12-11 08:06:02 -08:00
John Benediktsson 82dc0bf045 math.statistics: just use accumulate for now. 2012-12-04 08:56:21 -08:00
John Benediktsson 5fd5ab6711 Revert "ui.backend.cocoa.views: make compatible with 10.6."
This reverts commit 7f6f742fc3.
2012-11-29 18:43:39 -08:00
Doug Coleman 516549b52c basis: Try to fix the build. My profiler is hanging, but I can't figure out why. See if the build farm has the same is
sue.
2012-11-27 12:47:44 -06:00
John Benediktsson 5b5ee71a6a ui.backend.cocoa.views: make compatible with 10.6. 2012-11-26 14:48:42 -08:00
Jon Harper f5f767e0dc winapi window resize 2012-11-26 14:39:55 -08:00
Jon Harper 26beb27680 OSX window resize 2012-11-26 14:39:55 -08:00
Jon Harper 8948e8a455 X11 window resize 2012-11-26 14:39:54 -08:00
Jon Harper b023ebf7a5 Add resize-window and relayout-window 2012-11-26 14:39:54 -08:00
Doug Coleman 6e48f8ab15 math.statistics: Add a variant of histogram that can see the sequence index. 2012-11-17 12:39:54 -08:00
Doug Coleman d31105813b math.statistics: Add back std as sample-std. 2012-11-15 08:27:41 -08:00
Doug Coleman 2ada02726b math.statistics: Make you think about which std you want--population or sample. Hopefully use the right words everywhere. 2012-11-07 22:53:53 -08:00
Doug Coleman a4e55a3eee math.statistics: Rename full-* to population-*. Full, while somewhat descriptive of using the entire dataset, is not a technical term, while population is used in Mathematica and stats books. 2012-11-07 22:53:52 -08:00
Doug Coleman 401dd47335 math.matrices: Add m+n, m-n, n+m, n-m, words. 2012-11-07 22:53:52 -08:00
John Benediktsson 1e413edf3a math.statistics: rename full-* to population-*. 2012-11-06 07:16:20 -08:00
John Benediktsson ab3d6b1d13 opengl: properly scale viewports. 2012-11-01 17:12:13 -07:00
John Benediktsson 43d91bcf08 ui.backend.cocoa.views: only set gl-scale-factor if > 1.0. 2012-11-01 16:59:45 -07:00
John Benediktsson 9a9ccf971b images: don't truncate in image-dim. 2012-11-01 16:48:44 -07:00
John Benediktsson 422bd683d3 opengl: make sure to reset the scale factor at startup. 2012-11-01 16:46:56 -07:00
John Benediktsson 39859f21dc core-text: better check. 2012-11-01 16:43:26 -07:00
John Benediktsson fcce5a2af9 core-text: retina displays should use "2x" fonts. 2012-11-01 16:28:33 -07:00
John Benediktsson 5f1bcb78bd opengl.textures: render 2x images. 2012-11-01 16:14:55 -07:00
John Benediktsson e5d325df44 images: adding "2x" images. 2012-11-01 16:11:55 -07:00
John Benediktsson 44b7bbc76d opengl: adding support for a gl-scale-factor. 2012-11-01 14:48:12 -07:00
John Benediktsson f2ce2a0b61 calendar: better warnings. 2012-11-01 14:41:30 -07:00
John Benediktsson 4efa984637 ui.backend.cocoa.views: [self setWantsBestResolutionOpenGLSurface:YES]; 2012-11-01 14:29:03 -07:00
Doug Coleman 1a5f2ad961 ui.backend.gtk: Save the clipboard to the global clipboard so that it doesn't get deleted when Factor exits. Fixes #548. Add paste-selection, but commented out for now. 2012-10-29 10:56:34 -07:00
Doug Coleman 0c5d70e881 grouping: The expectation is that if there is a virtual clump of length N, then each iteration through that clump there are N elements available. This patch breaks that assumption.
Revert "change clump when the group size is greater than the sequence length"

This reverts commit baedb316c5.

Conflicts:
	basis/grouping/grouping-docs.factor
	basis/grouping/grouping-tests.factor
	basis/grouping/grouping.factor
2012-10-29 09:47:15 -07:00
Jon Harper 93cf443f32 Allow circular clumps with a length smaller than the clump
Conflicts:
	basis/grouping/grouping-tests.factor
2012-10-28 13:41:41 -07:00
Jon Harper 0dfe8f949c fixup: forgot the tests 2012-10-28 13:34:30 -07:00
Jon Harper 7b7586fa54 clump: fix empty sequence input. rephrase docs a bit 2012-10-28 13:34:18 -07:00
Jon Harper 2fc1442771 change clump when the group size is greater than the sequence length 2012-10-28 13:34:08 -07:00
Jon Harper 40ca3fc7f3 Friendlier grouping/clumping error message 2012-10-28 13:33:51 -07:00
John Benediktsson 7b50fd3601 unix: adding truncate-file. 2012-10-25 21:51:08 -07:00
John Benediktsson 23fc7b3eb9 math.statistics: add some padding in the docs (looks better). 2012-10-25 21:01:17 -07:00
John Benediktsson 71da857f43 math.statistics: add other cumulative words to help article. 2012-10-25 16:30:31 -07:00
Doug Coleman b867a248a2 math.statistics: Add cum-count, cum-sum0, cum-map0. Add docs. 2012-10-25 16:13:25 -07:00