Commit Graph

10955 Commits (d94977ac0cca1b0d2d236505f5d2371cb169ac0e)

Author SHA1 Message Date
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
John Benediktsson 83712ad87e io.directories: defining "?delete-file". 2012-10-25 10:07:15 -07:00
Doug Coleman 33ae7abb23 calendar: Add yesterday, tomorrow, o'clock, am, pm. 2012-10-25 09:46:11 -07:00
Doug Coleman 99db5b68d7 windows: Fix bootstrap. 2012-10-25 09:06:02 -07:00
John Benediktsson be4db5312f unix: adding mkfifo. 2012-10-24 20:08:32 -07:00
John Benediktsson 2f0e437314 unix.ffi.macosx: can't use iovec here... 2012-10-24 20:08:20 -07:00
John Benediktsson 22a6087107 unix.ffi: adding sendfile. 2012-10-24 19:53:39 -07:00
John Benediktsson e32eab2ca7 unix.ffi: adding readv/writev. 2012-10-24 19:53:24 -07:00
Doug Coleman 2921829b79 windows: Attempt to fix circularity. 2012-10-24 19:03:25 -07:00
John Benediktsson 04e783a886 io.files.info.unix: errno EACCES should be handled separately. 2012-10-24 17:51:13 -07:00
Doug Coleman 43fb3fb174 windows.shell32: Throw an error if file does not exist on file-executable?
call.
2012-10-24 17:48:42 -07:00
John Benediktsson 83b40e44d2 io.files.info: make access checks throw on file-does-not-exist. 2012-10-24 17:40:00 -07:00
Doug Coleman c458b7dcaf io.files.info.windows: Implement file-readable?, writable?, and executable? 2012-10-24 17:29:32 -07:00
John Benediktsson 379f060636 io.files.info.unix: make sure to normalize so special paths work. 2012-10-24 17:11:35 -07:00
John Benediktsson 37bb5f6917 io.files.info: adding checks for read, write, or execute permissions. 2012-10-24 16:44:12 -07:00
John Benediktsson 98b52e624c unix.ffi: adding "access". 2012-10-24 16:37:05 -07:00
Doug Coleman 0ae18456fd windows.shell32: Add a way to find out the kind of executable of a file on
windows. Inline a word.
2012-10-24 16:16:35 -07:00
Doug Coleman b839d15b4a windows.kernel32: Add function and some structs. 2012-10-24 14:23:02 -07:00
Doug Coleman 592e4fbf91 xml.syntax: Nested xml literals were not handled correctly. 2012-10-24 10:48:22 -07:00
John Benediktsson 083950b4d2 unix.ffi: adding fileno. 2012-10-24 09:00:08 -07:00
John Benediktsson 954e5ff5bb opengl.gl: cleanup formatting. 2012-10-23 17:13:29 -07:00
PGGB 4a93f5bc7f Add glDrawElementsBaseVertex 2012-10-23 16:32:39 -07:00
John Benediktsson 013160df9a change some "2drop 2drop" to "4drop". 2012-10-23 12:21:30 -07:00
John Benediktsson eaa19eb36f math.primes.erato: minor performance improvements. 2012-10-23 10:49:45 -07:00
John Benediktsson 1537ac999d tools.completion: don't use file-directory. 2012-10-23 09:49:44 -07:00
John Benediktsson 87f55eb033 Change "3dup drop" to "2over". 2012-10-22 20:45:15 -07:00
John Benediktsson dd6d1e50cf urls: allow pathnames to convert >url. 2012-10-22 20:16:19 -07:00
John Benediktsson 34908c8446 present: simplify M\ pathname present. 2012-10-22 20:11:11 -07:00
John Benediktsson 21ce4f6d05 present: implement M\ pathname present. 2012-10-22 19:49:27 -07:00
John Benediktsson daa7bf3d22 tools.completion: minor fix to complete against file-name, not full-path. 2012-10-22 19:17:52 -07:00
John Benediktsson ca9137767b ui.tools.listener: adding path completion to listener. 2012-10-22 18:51:52 -07:00
John Benediktsson 6b34719f63 tools.completion: better paths-matching. 2012-10-22 18:51:38 -07:00
John Benediktsson 3049d187f6 tools.completion: fix CHAR: and COLOR: completion to require extra tokens. 2012-10-22 18:29:53 -07:00
John Benediktsson 909b28a360 stack-checker: adding 4dup and 4drop. 2012-10-22 12:27:15 -07:00
Doug Coleman 4c4d186ae4 math.matrices: Trying to flesh out the matrices vocabulary a bit. 2012-10-22 09:47:36 -07:00
Doug Coleman 106e4d100e stack-checker: Add alien-assembly to the do-not-compile list. Remove a duplicate word from the do-not-call list. Reorder a bit. 2012-10-22 09:47:35 -07:00
Doug Coleman 923f3592c8 math.statistics: Add ddof (delta degrees-of-freedom) to easily calculate population (full) and unbiased (sample) statistics. 2012-10-22 09:47:35 -07:00
Doug Coleman 7906632952 math.matrices: Add some combinators for iterating over matrices. Add covariance matrix. 2012-10-22 09:47:35 -07:00
Doug Coleman b23e52f532 math.matrics: Add some combinators and indexing words to math.matrices. 2012-10-22 09:47:35 -07:00
Doug Coleman 3582a6c624 kernel: Add 4dup, 4drop, and 4cleave. 2012-10-22 09:47:34 -07:00
John Benediktsson a06169fa3f colors: can't bootstrap when using locals in colors... 2012-10-21 14:53:24 -07:00
John Benediktsson 659dbd0add colors.hsv: adding complimentary-color. 2012-10-21 13:24:51 -07:00
John Benediktsson 1d9a0f40fc colors: adding inverse-color. 2012-10-21 13:16:34 -07:00
John Benediktsson 0d4f08d7fd colors.hsv: adding rgba>hsva. 2012-10-21 13:16:26 -07:00
John Benediktsson ac5c9a5d91 colors: adding linear-gradient. 2012-10-21 12:32:45 -07:00
John Benediktsson 4fe22de451 colors: fix using list, silly auto-use. 2012-10-21 12:09:59 -07:00
John Benediktsson df3956a679 colors.gray: adding rgba>gray. 2012-10-21 12:02:44 -07:00
John Benediktsson e8d50a2d08 random: support random on sets. 2012-10-05 15:35:22 -07:00
John Benediktsson cf3c197743 compiler.tree.propagation: revert cleanup, this was more correct. 2012-10-05 15:00:49 -07:00
John Benediktsson 9dafa325a5 random: support "random" on floats (uses uniform-random-float). 2012-10-05 14:47:40 -07:00
John Benediktsson f7d58fff90 compiler.tree.propagation: throw the proper error in >fixnum methods. 2012-10-05 09:54:51 -07:00
John Benediktsson 80b39bd4f2 compiler.tree.propagation: cleanup known-words a bit. 2012-10-05 09:47:27 -07:00
John Benediktsson 040b94f5ce compiler.tree.propagation: make sure integer>fixnum-strict infers a fixnum. 2012-10-05 04:17:43 -07:00
John Benediktsson 8e54a4ff15 sequences.generalizations: add "nfind" and "nany?". 2012-10-04 14:48:46 -07:00
John Benediktsson fc5f9451e8 random: implement random for assocs. 2012-10-03 10:08:08 -07:00
Jon Harper b3ff75cec2 ui.backend.gtk: better gesture for shift tab
gdk emits ISO_Left_Tab for shift + tab. Not sure if factor should silently
transform that in tab..
With this patch, shift tabs emits the following gesture:
T{ key-down { mods { S+ } } { sym "TAB" } }
2012-09-29 15:54:15 +02:00
John Benediktsson ba8a3c2ecd bit-sets: inline <bit-set>. 2012-09-28 20:29:39 -07:00
John Benediktsson 39a94832bd smtp: plain-auth-string should return a ... string. 2012-09-28 19:04:38 -07:00
John Benediktsson e23cb40dae sequences.generalizations: fix stack effect docs for "nall?". 2012-09-27 11:46:24 -07:00
John Benediktsson 3abc7a9500 sequences.generalizations: adding "nall?". 2012-09-27 11:42:09 -07:00
John Benediktsson 225e87339b update some docs that should use $quotation. 2012-09-27 11:09:17 -07:00
John Benediktsson c93fd319b3 help.markup: require $quotation to specify stack effect. 2012-09-27 11:08:52 -07:00
John Benediktsson 4dd3511a40 sequences.generalizations: adding nmap-reduce. 2012-09-26 20:49:42 -07:00
John Benediktsson 5903b2ccf5 combinators.smart: adding smart-2reduce and smart-2map-reduce, for @erg. 2012-09-26 17:43:26 -07:00
Doug Coleman d8c7a7b153 alien.data: Add malloc-like for copying c-arrays into malloc'd c-arrays. 2012-09-26 17:11:48 -07:00
John Benediktsson 13f101bd2b math.statistics: empty-sequence is silly. 2012-09-26 17:09:23 -07:00
John Benediktsson c5c74aa59c combinators.smart: adding smart-reduce and smart-map-reduce. 2012-09-26 17:01:44 -07:00
Doug Coleman 638a3efead specialized-arrays: Don't generate malloc-foo-array words. Use 4 \ double malloc-array instead. 2012-09-26 16:25:20 -07:00
John Benediktsson 41227954e7 Revert "db: don't nest transactions.
This reverts commit e599a83de7.
2012-09-26 13:29:40 -07:00
John Benediktsson 14c6bad2f6 db: don't nest transactions. 2012-09-26 10:35:22 -07:00
John Benediktsson 7fb8db2e74 math.statistics: adding a normalized-histogram word. 2012-09-26 08:39:11 -07:00
John Benediktsson 6072e58db3 math.statistics: remove probabilities word, not really needed. 2012-09-26 08:32:30 -07:00
John Benediktsson ca69afec31 math.statistics: use "cumulative map" as base of all cumulative words. 2012-09-25 22:27:42 -07:00
John Benediktsson a283782abe math.statistics: some fixes to entropy, adding maximum-entropy and normalized-entropy. 2012-09-25 20:17:34 -07:00
John Benediktsson 80e2309e17 ui.tools.listener.completion: color private vocabs red in completion-mode. 2012-09-25 14:49:49 -07:00
John Benediktsson 61fa05942b ui.tools.listener.completion: fix row color for words in our search list. 2012-09-25 11:45:38 -07:00
John Benediktsson b5d0ccf200 tool.completion: ... 2012-09-25 10:34:32 -07:00
John Benediktsson 4222b44ab7 tools.completion: less private. 2012-09-25 10:01:56 -07:00
John Benediktsson bb580f2ef7 tools.completion: more <PRIVATE> words. 2012-09-25 09:45:44 -07:00
John Benediktsson a5b91e181a tools.completion: moving "complete-?" words. 2012-09-25 09:10:44 -07:00
John Benediktsson d5998a712f tools.completion: add "paths-matching". 2012-09-24 20:22:29 -07:00
John Benediktsson 5e57a8258d ui.gadgets.paragraphs: cache width in "line" object. 2012-09-24 18:29:51 -07:00
John Benediktsson 2f99a33e36 ui.tools.listener: adding COLOR: completions. 2012-09-24 15:07:30 -07:00
John Benediktsson 08821f38ea tools.completion: adding colors-matching. 2012-09-24 15:07:30 -07:00
John Benediktsson 55a230f368 formatting: use $snippet to make format strings stand out in docs. 2012-09-24 09:48:58 -07:00
John Benediktsson cc60477996 help.tutorial: some feedback from real world tutees. 2012-09-23 19:01:43 -07:00
John Benediktsson 988e2ee4a9 webbrowser: rename url-like to url-string. 2012-09-22 16:52:01 -07:00
John Benediktsson ea0759fff6 webbrowser: add tests for url-like. 2012-09-22 16:51:03 -07:00
John Benediktsson ab7890911c webbrowser: support open-url on "url-like" strings. 2012-09-22 16:49:53 -07:00
John Benediktsson 03a8290da9 multline: fix docs for /*. 2012-09-22 16:45:26 -07:00
John Benediktsson adb3a15d21 io.launcher.unix: fix tests to use arch in file names. 2012-09-22 10:30:10 -07:00
John Benediktsson ea276574c5 ui.tools.browser.popups: fix hand-loc get-global. 2012-09-21 18:42:00 -07:00
John Benediktsson a32ac00389 ui.text: more globals. 2012-09-21 18:40:38 -07:00
John Benediktsson be85b3bee3 ui: hand-loc and hand-click-loc should be global. 2012-09-21 18:32:43 -07:00
John Benediktsson f1c62deb03 ui: use "windows get-global". 2012-09-21 15:39:49 -07:00
John Benediktsson 51f708cda4 classes.struct: inline M\ struct byte-length. 2012-09-21 11:50:45 -07:00
John Benediktsson ed48a31498 summary: inline object-summary. 2012-09-21 11:36:04 -07:00
John Benediktsson a9c165db4f bootstrap.image: adding make-my-image for @erg. 2012-09-21 11:35:46 -07:00
John Benediktsson 3f947055b4 Revert "cpu.x86.bootstrap: Rice the jit compiler -- SHR SHL -> AND."
This reverts commit f43e2b1ba7.
2012-09-21 10:43:48 -07:00
Doug Coleman 4ee63bea7e cpu.x86.bootstrap: Rice the jit compiler -- SHR SHL -> AND. 2012-09-21 10:18:14 -07:00
Doug Coleman 84c1137eb4 windows.uniscribe: Render image lazily. Speeds up panes benchmark. 2012-09-21 09:54:40 -07:00
John Benediktsson 07194b4741 ui.text.pango: lazy render images like core-text backend. 2012-09-21 08:16:48 -07:00
John Benediktsson fc7f7a736a core-text: delay rendered line calculation until needed. 2012-09-20 19:31:36 -07:00
John Benediktsson 7e3391ffb0 ui.gadgets.tables: i think this is clearer. 2012-09-20 18:24:57 -07:00
John Benediktsson 98a8230d1c ui.gadgets.tables: fix stack effect names. 2012-09-20 18:24:57 -07:00
John Benediktsson 6d447cb939 ui.gadgets.tables: cache table rows only on model-changed. 2012-09-20 18:24:57 -07:00
John Benediktsson 37b27b7fbe ui.gadgets.tables: reduce generic dispatch. 2012-09-20 18:24:57 -07:00
John Benediktsson 3470492e21 windows.fonts: speed up cached fonts. 2012-09-20 12:14:44 -07:00
Doug Coleman ba307bb38d cpu.x86.features: Rename rdrnd to rdrand! 2012-09-20 12:03:10 -07:00
Doug Coleman ed83c87554 cpu.x86: Add ghetto RDRAND support. Proper support wouldn't use alien-assembly and would take a count parameter. 2012-09-20 11:54:44 -07:00
John Benediktsson 88b196dc8c ui.gadgets.tables: some performance improvements. 2012-09-20 08:34:43 -07:00
John Benediktsson a025d81798 tools.annotations: add total number of calls to timing information. 2012-09-20 08:29:37 -07:00
John Benediktsson 803a1cb565 wrap: more speedups. 2012-09-19 17:09:07 -07:00
Doug Coleman 8e8712efab math.bitwise: Fix bit-range and test it. 2012-09-19 17:03:13 -07:00
Doug Coleman 19b6ae71d5 math.bitwise: Fix on-bits for negative values, which also fixes bits. Add unit tests. 2012-09-19 16:39:22 -07:00
Doug Coleman f0464fa097 math.bitwise: Inline bit-range 2012-09-19 16:15:14 -07:00
Doug Coleman cda2e4d7da combinators.smart: Add cleave>sequence. 2012-09-19 15:44:20 -07:00
Doug Coleman d196f8f141 cpu.x86: Use bit-range, don't call cpuid so many times 2012-09-19 15:44:20 -07:00
Doug Coleman 2735d3a5d7 math.bitwise: Add bit-range 2012-09-19 15:44:19 -07:00
Doug Coleman e97c8971a5 cpu.x86: Some calls to CPUID take a parameter in ECX. Add cpuid-extended to allow these. 2012-09-19 11:30:54 -07:00
John Benediktsson e45f0ec9e2 cpu.x86.features: temporary fix for bootstrap issue. 2012-09-19 10:41:54 -07:00
John Benediktsson 6cba7af1e1 interval-maps: bit more speed using unsafe words. 2012-09-19 10:33:52 -07:00
John Benediktsson 40a8936fe6 unicode.breaks: inline word-break-classes. 2012-09-19 10:33:52 -07:00
Doug Coleman de52d96d93 cpu.x86.features: Add some words to check cpu features. Replace alien-assembly popcnt? instruction with general cpuid one. 2012-09-19 10:12:25 -07:00
Doug Coleman 1897f5fb4a cpu.x86.assember: Add RDMSR for completeness, but it can't be called from user code. Factor kernel modules? 2012-09-19 10:11:36 -07:00
Doug Coleman d52c0b1987 cpu.x86.features: Unbiased CPUID test. 2012-09-19 08:48:14 -07:00
Doug Coleman 9c0a8b3250 cpu.x86: Fix load order. 2012-09-19 08:40:18 -07:00
Doug Coleman 9827e29e95 cpu.x86.features: Fix cpuid for win64. 2012-09-18 20:09:39 -07:00
Doug Coleman 0d337e04ea cpu.x86.features: Implement cpuid with help from joe. Add unit test. 2012-09-18 18:51:32 -07:00
Doug Coleman 9ebd6c11ad cpu.x86: Fix the popcnt? word alien-assembly. XOR the return-reg RAX before calling BT/BSET because XOR clears the CF and the whole thing becomes a no-op. Change popcnt instruction to opt-out rather than opt-in. Fixes #663. 2012-09-18 17:15:03 -07:00
John Benediktsson cfa87365e3 ui.baseline-alignment: add concept of "aligned-gadget".
This type of gadget caches baseline and cap-height for performance.
2012-09-18 15:48:49 -07:00
John Benediktsson b80992b27a Revert "ui.gadgets.labels: use font-metrics directly."
This reverts commit d9fdd71d64.
2012-09-18 09:19:29 -07:00
Alex Vondrak 4c53c971c1 compiler.cfg.gvn.math: missed some availability checks that were causing math.vectors.simd.tests to fail (issue #671) 2012-09-18 00:07:10 -07:00
John Benediktsson 45f0db5f78 ui.gadgets: add some inline. 2012-09-17 17:21:31 -07:00
John Benediktsson 25aadd2dc2 ui.text.pango: don't create unnecessary font objects. 2012-09-17 14:17:57 -07:00
John Benediktsson eb1a4db801 ui.gadgets.labels: use font-metrics directly. 2012-09-17 14:12:25 -07:00
John Benediktsson 8e3c79b841 ui.gadgets.paragraphs: cache the wrapped paragraph for performance. 2012-09-17 14:12:25 -07:00