Commit Graph

10620 Commits (896d75e305696692546fe257e4712f4e82522159)

Author SHA1 Message Date
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
John Benediktsson d5900ba7ee ui.gadgets: inline gadget-child and nth-gadget. 2012-09-17 14:12:25 -07:00
John Benediktsson b2cd64d0e9 classes.struct: removing unused bad-type-for-bits error. 2012-09-17 09:54:55 -07:00
Doug Coleman b72040d3b6 windows: Start adding GetBestInterface. 2012-09-17 08:05:23 -07:00
Doug Coleman c5df68d7b3 windows.iphlpapi: Add a way to get interfaces, mac addrs, and ips on
windows.
2012-09-16 17:51:05 -07:00
Doug Coleman 6f8043241e windows.winsock: Add sockaddr>ip. 2012-09-16 17:50:47 -07:00
Doug Coleman 8bfed897a8 combinators.smart: Add cleave>array. 2012-09-16 17:32:27 -07:00
Doug Coleman 320efb8bc7 windows.kernel32: Add HeapAlloc, HeapFree but don't use them.. 2012-09-16 17:24:31 -07:00
Doug Coleman 0bdcf5173f io.files.info: On my Windows7 box, D: is "not really there" and it kills
file-systems. Ignore errors instead of dying.
2012-09-16 17:23:25 -07:00
Doug Coleman 1a91e3a8ff alien.c-types: Add c-type-signed to protocol, which is true for signed
types. Use c-type-signed in classes.struct.
2012-09-16 14:42:18 -07:00
John Benediktsson 52fab586be heaps: inline heap-size also. 2012-09-14 12:07:56 -07:00
John Benediktsson 2422490f86 heaps: speed up heaps benchmark. 2012-09-14 10:03:30 -07:00
Alex Vondrak f75f99ecc9 compiler.cfg.copy-prop: kludge to make sure ##phis get updated 2012-09-12 15:14:11 -07:00
Alex Vondrak 4008edfdf8 move compiler.cfg.graphviz & compiler.cfg.gvn from basis to extra, just to keep organized 2012-09-12 15:14:07 -07:00
Alex Vondrak 51b3b1fd87 compiler.cfg.graphviz: tweak code & output a little 2012-09-12 15:14:06 -07:00
Alex Vondrak d6849da7ec compiler.cfg.graphviz: refactoring 2012-09-12 15:14:06 -07:00
Alex Vondrak 64b541759e add crappy experimental code for compiler.cfg.graphviz & compiler.cfg.gvn 2012-09-12 15:14:06 -07:00
John Benediktsson 7873719c6e regexp.classes: bit more speed with read-only slots. 2012-09-12 08:39:40 -07:00
John Benediktsson d657cbb286 regexp.classes: inline class-member?. 2012-09-11 20:22:17 -07:00
John Benediktsson 61707f1e5c unicode.data: inline category#. 2012-09-11 20:21:31 -07:00
John Benediktsson 837568c793 xml.tokenize: slight fix to reduce number of namespace lookups. 2012-09-11 14:46:45 -07:00
John Benediktsson 08499b6e5a hints: cleanup some hint setting. 2012-09-11 10:35:21 -07:00
John Benediktsson 9e18953a5e circular: fix minor typo in copyright url. 2012-09-11 10:35:21 -07:00
Doug Coleman 2282007334 math.ratios: Add unit tests for bug #668. 2012-09-11 08:16:25 -07:00
John Benediktsson e72e1a340f compiler.tree.propagation: fix >fraction types. 2012-09-11 07:42:39 -07:00
John Benediktsson e84e508256 math.ratios: speed up some operations on ratios. 2012-09-10 19:53:25 -07:00
John Benediktsson ec6baefce3 compiler.tree.cleanup: fix "-1 shift" tests. 2012-09-10 19:24:23 -07:00
John Benediktsson a4f264509d math: cleaner "2/" speedup by using custom inlining. 2012-09-10 17:59:03 -07:00
John Benediktsson c86b2d2161 math.combinatorics: factorial could be memoized... 2012-09-05 11:02:38 -07:00
John Benediktsson b6c069f99a compiler.cfg.representations.selection: removing 10^ in favor of 10^. 2012-09-05 09:25:26 -07:00
Doug Coleman d2317c71f5 math.statistics: add rank-values 2012-09-04 18:52:38 -07:00
John Benediktsson 8ed541b26b math.ratios: slight fix to M\ ratio recip for negative ratios. 2012-09-02 10:08:00 -07:00
John Benediktsson 009fb4249e math: faster recip for integers and ratios. 2012-09-02 09:47:31 -07:00
John Benediktsson b39547a866 math.bitwise: some cleanup of zero handling. 2012-08-31 15:58:54 -07:00
John Benediktsson 3836d57321 math.functions: faster (integer) m^n. 2012-08-31 15:10:48 -07:00
Doug Coleman 6c9a6122de math.vectors: Implement infinity p-norm and special-case l1-norm and l2-norm. 2012-08-30 16:47:45 -07:00
John Benediktsson 40992bd3b6 unicode.case: fix tests for i-dot? and lithuanian? change. 2012-08-30 13:33:35 -07:00
John Benediktsson d3fc7ef6c2 unicode.case: slightly cleaner locale case handling. 2012-08-30 11:32:12 -07:00
John Benediktsson aa7790c645 wrap: 25% faster on benchmark. 2012-08-29 09:20:55 -07:00
Doug Coleman 8b51ddcbe2 sqlite: Fix using. 2012-08-26 11:57:24 -07:00
Doug Coleman 22178a9475 db.sqlite: Fix using. 2012-08-26 01:20:06 -07:00
Doug Coleman bf4d4f73a2 db.sqlite: Append layouts:cell to sqlite file test db name. Fixes #647. 2012-08-26 00:09:31 -07:00
Doug Coleman bcc86baf45 io.sockets: Minor cleanup. 2012-08-26 00:04:53 -07:00
Doug Coleman 3adbee3ea0 specialized-array: The day of doing everything twice. 2012-08-25 22:53:22 -07:00
Doug Coleman 2354455764 environment: Don't depend on unix for docs. 2012-08-25 21:36:43 -07:00
Doug Coleman 7f4ade141c environment: I dont even.. 2012-08-25 21:17:00 -07:00
Doug Coleman dfc5761df4 environment: Fix using again. 2012-08-25 21:04:00 -07:00
Doug Coleman 30673f65cf io.ports: More correct memory handling. There are still leaks in the tests... 2012-08-25 19:44:22 -07:00
Doug Coleman 3143222223 environment: Fix using lists.. 2012-08-25 18:51:58 -07:00
Doug Coleman b7d16801ff logging.server: Modernize a bit. 2012-08-25 18:42:37 -07:00
Doug Coleman 60beb84774 specialized-arrays: Don't leak in unit test. 2012-08-25 18:38:44 -07:00
Doug Coleman e6dc36b073 environment: set-os-envs leaks memory on unix systems. provide set-os-envs-pointer in case this is unacceptable. 2012-08-25 18:37:50 -07:00
Doug Coleman 6c4043bb25 io: Make stream-contents call stream-contents* and do the disposal in the top-level. Fixes #645. 2012-08-25 17:03:51 -07:00
Doug Coleman 2b9f4668b6 images: gdiplus had a resource leak (file descriptor). change stream>image to dispose of the
stream no matter what.
2012-08-25 11:44:40 -07:00
Doug Coleman d33dc194ca core: in-definition -> with-definition. 2012-08-24 16:07:31 -07:00
Doug Coleman b06b6a8261 core: rename in-word-definition to in-definition 2012-08-24 16:04:49 -07:00
Doug Coleman 84402ccf7e core: Don't allow nested defintions in :, ::, M:, M::. Fixes #469. 2012-08-24 15:53:45 -07:00
John Benediktsson 1455a5fb17 xml.tokenize: minor speedups. 2012-08-24 15:16:27 -07:00
John Benediktsson 625da03282 unicode.case: slightly faster >title. 2012-08-24 15:16:27 -07:00
John Benediktsson 17008536a6 unicode.breaks: removing unused word. 2012-08-24 14:58:05 -07:00
John Benediktsson eef5aea9a7 unicode.breaks: better version of previous patch. 2012-08-24 14:57:26 -07:00
John Benediktsson 0af7e323d6 interval-maps: allow interval-at and interval-key? to optimize better... 2012-08-24 14:37:46 -07:00
John Benediktsson f496a05695 interval-maps: first2 is faster. 2012-08-24 14:25:19 -07:00
John Benediktsson 29a11cc21a Revert "unicode.breaks: use find-index-from instead of slices."
This reverts commit 0aeb2174fb.
2012-08-24 14:10:19 -07:00
John Benediktsson 8a872a25b5 unicode.breaks: use find-index-from instead of slices. 2012-08-24 12:25:40 -07:00
John Benediktsson b364bafeff interval-maps: speed up interval-at. 2012-08-24 12:25:40 -07:00
Doug Coleman 27f445d505 assocs: Add sift-keys and sift-values. Remove three other implementations
of sift-values and use the new one.
2012-08-23 22:36:10 -07:00
John Benediktsson 2fef140e79 xml.name: simpler parse-name makes benchmark 12% faster. 2012-08-23 18:07:25 -07:00
John Benediktsson 4ade5ce82f Revert "memoize: faster memoize for single argument words."
This reverts commit bd06ea47ab.
2012-08-23 17:47:23 -07:00
John Benediktsson 990fdca1fc memoize: faster memoize for single argument words. 2012-08-23 17:39:07 -07:00
John Benediktsson dd2a5729a7 math.primes.erato: bit faster by inlining. 2012-08-23 09:35:09 -07:00
John Benediktsson 465a969b61 layouts: defining "fixnum-bits". 2012-08-21 18:05:59 -07:00
John Benediktsson 84e8041a9c bit-arrays: move toggle-bit to bit-arrays.private. 2012-08-21 18:05:59 -07:00
John Benediktsson 1ee1a793de ui.tools.browser: fix stack effect name. 2012-08-17 10:13:44 -07:00
Doug Coleman afb2a6eabb random: Bump up the random unit tests from 50k to 500k. At 50k, pareto doesn't have enough samples to get the right std. At 500k, it should never fail again.. 2012-08-16 14:14:08 -07:00
Doug Coleman 8d6002c765 help.tutorial: Explain the workflow before telling the user to edit the code. 2012-08-15 08:58:14 -07:00
John Benediktsson 511ad6d9f3 calendar.unix: inline some things. 2012-08-15 08:29:46 -07:00
John Benediktsson 2854ecd4ec command-line: need to check for run differently. 2012-08-13 21:06:57 -07:00
John Benediktsson 2109af55ad command-line: need to check rest of args. 2012-08-13 20:57:39 -07:00
John Benediktsson 2620c64c21 combinators.smart: adding smart-with. 2012-08-13 19:32:12 -07:00
John Benediktsson 07e74c0ad8 editors.vim: use string as article name. 2012-08-13 18:22:14 -07:00
John Benediktsson 93a2775248 ui.tools.operations: fix crash clicking on a model that hasn't been initialized properly. 2012-08-13 17:02:39 -07:00
John Benediktsson 36a4a59efc command-line: if run is specified first non-param starts the command-line. 2012-08-13 16:42:56 -07:00
John Benediktsson 7b2b3f5e9f ui.tools.listener.completion: make sure "IN:<Ctrl-h>" works. 2012-08-13 15:16:16 -07:00
John Benediktsson 17bd952e4a vocabs.cache: bringing back the fry change. 2012-08-13 12:44:33 -07:00
John Benediktsson 750d9e0faf Revert "vocabs.cache: use fry, its cleaner."
This reverts commit 1a8d9f227d.
2012-08-13 12:36:06 -07:00
John Benediktsson 54cfca1f1e Revert "vocabs.cache: oops."
This reverts commit c7c0fd7a46.
2012-08-13 12:36:02 -07:00
John Benediktsson 1baaa99153 vocabs.cache: oops. 2012-08-13 12:31:36 -07:00
John Benediktsson 2e8361fee8 vocabs.cache: use fry, its cleaner. 2012-08-13 12:30:17 -07:00
John Benediktsson df91fa9527 help.html: fix test case back to original version. 2012-08-13 12:25:08 -07:00
John Benediktsson 9ac33a06bc vocabs.cache: clear only the vocab that changed from vocab-file-contents. 2012-08-13 12:24:14 -07:00
John Benediktsson 33c4e19ff9 vocabs: change vocabs-changed to be vocab-changed and take a vocab argument. 2012-08-13 12:05:42 -07:00
John Benediktsson 0d9c7df8e2 memoize: fix invalidate-memoized for 0 args. 2012-08-13 12:04:56 -07:00
John Benediktsson 231b791da1 vocabs.hierarchy: much faster using directory entries. 2012-08-13 11:12:15 -07:00
John Benediktsson d6c60258cf editors: these should understand private. 2012-08-13 10:32:27 -07:00
John Benediktsson e374f2fa19 vocabs: reverting recent private vocab changes. 2012-08-13 10:32:14 -07:00
John Benediktsson ea25cde2af math.functions: make it clear that 0 = is the more correct zero?. 2012-08-13 08:03:54 -07:00
Doug Coleman 94ad1c236f help.html: Fix unit test. 2012-08-12 13:55:53 -07:00
Doug Coleman 432c114745 math.complex: Fix using list. 2012-08-12 13:55:36 -07:00
John Benediktsson 4561cf7684 Revert "math.functions: cleaner rect>."
This reverts commit 5ecff652ba.
2012-08-11 10:40:41 -07:00
John Benediktsson fd94838032 vocabs.refresh: skip private vocabs. 2012-08-10 19:33:18 -07:00
Doug Coleman 2b45ba9a4f math.complex: Check C{ } syntax -- can only have two elements in the complex array. Fixes #612. 2012-08-10 15:58:04 -07:00
John Benediktsson 0178117d6c math.functions: cleaner rect>. 2012-08-10 15:51:11 -07:00
John Benediktsson 4c54b32170 tools.time: flush the banner so you can use time in a loop. 2012-08-10 15:23:10 -07:00
John Benediktsson 344b89fe5f vocabs.loader: better fix for append-vocab-dir. 2012-08-10 15:01:37 -07:00
John Benediktsson b957ad1684 vocabs: make source/docs/tests work for private vocabs. 2012-08-10 14:39:53 -07:00
John Benediktsson 2e9c20a12e math.matrices: adding the outer product. 2012-08-08 17:02:39 -07:00
John Benediktsson adbe117b5a help.stylesheet: missing one style... 2012-08-07 14:51:04 -07:00
Doug Coleman bf86504c1a ui.tools.browser: Support resize on + and _. 2012-08-07 14:46:09 -07:00
John Benediktsson f94853c8b7 ui.tools.browser: adding +/- font size commands. 2012-08-07 12:28:45 -07:00
John Benediktsson 7e616a4d55 help.stylesheet: provide a mechanism to adjust the help fonts. 2012-08-07 08:36:16 -07:00
John Benediktsson 676cc18215 random.data: make constants available to random.data. 2012-08-04 19:17:56 -07:00
Jon Harper ce01c2b411 random-string: make letters and numbers equiprobable 2012-08-04 17:32:33 -07:00
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