Commit Graph

10658 Commits (fcce5a2af9f9b4dcf3474295cf5ef1422b881435)

Author SHA1 Message Date
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