Commit Graph

23120 Commits (ac86f90c02c07a460965aa55fdb7a8e7be43a6b9)

Author SHA1 Message Date
Joe Groff ab9088e7ba vm: disable SIGINT handler while in factorbug
Fixes #410
2011-11-15 18:50:42 -08:00
Joe Groff f27b22b6ba update USING:s 2011-11-15 18:37:30 -08:00
Joe Groff 0f876e93b6 rearrange source-file-error error. to load earlier
Fixes #359
2011-11-15 18:26:35 -08:00
Doug Coleman 927436defa dlists: make a dlist-link tuple so you can "be the node" by subclassing it. this allows you go put a type on the obj>> slot. ensure that dlist nodes are returned with prev/next pointers set to f so they can be reused. dlist-filter used to work destructively on the dlist, make a new dlist instead because the combinator relied on using prev/next of deleted nodes. 2011-11-15 16:33:16 -08:00
Doug Coleman 8245e3bfb4 alien.endian: read 64bit numbers of the opposite endian as two 32bit numbers, then bitor them together 2011-11-15 13:22:49 -08:00
Joe Groff 1753990cdb command-line.startup: fix help message on windows
Support /? while we're at it. Fixes #323
2011-11-15 13:09:32 -08:00
Joe Groff 51446e41b6 ui.tools.deploy: remove monkey traps from UI 2011-11-15 12:53:21 -08:00
Joe Groff 2910af94c3 tools.deploy.config: set default io-level 3 2011-11-15 12:52:54 -08:00
Joe Groff 723b6a4ced Revert "ui.tools.listener: removing unnecessary spawn."
This reverts commit f8aa8038d3.
Breaks error handling: http://paste.factorcode.org/paste?id=2407
2011-11-15 12:35:25 -08:00
John Benediktsson 414a768706 opengl: fix small typo in fix-coordinates stack effect. Fixes #406. 2011-11-15 08:18:22 -08:00
John Benediktsson bae84edb38 slots: fix initial value tests. 2011-11-14 10:26:08 -08:00
John Benediktsson 99d9df24ba variables: fix for recent initial-value change. 2011-11-14 10:25:28 -08:00
John Benediktsson f8aa8038d3 ui.tools.listener: removing unnecessary spawn. 2011-11-14 10:16:15 -08:00
Joe Groff 2a690ec054 images.viewer.prettyprint: mark not loaded/tested
Prevent mason from loading it and complaining that it can't write gadgets to a text file.
2011-11-13 23:09:37 -08:00
John Benediktsson 1b6a4867e1 webbrowser.linux: switching to xdg-open. 2011-11-13 16:49:25 -08:00
John Benediktsson 8e447594a6 webbrowser: changing open-url to use open-file everywhere. 2011-11-13 16:32:20 -08:00
Joe Groff a520e7e5ee math.vectors.simd: don't try distance on int types
"v- norm" doesn't work right for uint-4s because of underflow, but who's going to call "distance" on a uint vector?
2011-11-13 16:10:27 -08:00
Joe Groff 3888e0bf67 math.vectors.simd: unencrypt check-optimizer
And make it report real information about what values were tested and how they failed
2011-11-13 16:10:27 -08:00
Joe Groff ce205e1e3a code beautification 2011-11-13 16:10:26 -08:00
Joe Groff 602fbd01de math.vectors.simd: add vcount to the tests
Also add a base case to (approx=) for integer returns. vcount returns an integer even for float vector inputs, but the test machinery isn't smart enough to figure that out and uses (approx=) on the outputs anyway.
2011-11-13 16:10:26 -08:00
Joe Groff c74d92a12c math.vectors.simd.intrinsics: fix double-2 vcount
Turns out we use MOVMSKPS for double vectors too. Gotta save that extra instruction byte!
2011-11-13 16:10:25 -08:00
Joe Groff e66fdcaa83 compiler.tree.propagation: missed using 2011-11-13 16:10:25 -08:00
Joe Groff f05bc12553 compiler: more peephole tests for shl/sar 2011-11-13 16:10:24 -08:00
Joe Groff 5c0e3946c5 compiler: tighten (simd-select) output class
Ints and smaller (or shorts and smaller on 32-bit) can be assumed to be fixnums. Fixes #393
2011-11-13 16:10:23 -08:00
Joe Groff a50c0a6624 math.vectors.simd: make vcount work for all ints 2011-11-13 16:10:23 -08:00
Joe Groff 6685af8b41 math.vectors.simd.intrinsics: better fake vgetmask
More accurate simulacrum of PMOVMSKB/MOVMSKPS/MOVMSKPD for non-intrinsic definition
2011-11-13 16:10:22 -08:00
Joe Groff 3071c110b5 math.bitwise: don't count the same bits over&over 2011-11-13 16:10:22 -08:00
Joe Groff 038b986fa1 math.bitwise: hotrod nonintrinsic fixnum-bit-count 2011-11-13 16:10:21 -08:00
Joe Groff 2c4c04f973 compiler: add intrinsic for PMOVMSKB/MOVMSKP[SD]
Combined with a fast bit-count this will let us rice byte-counting.
2011-11-13 16:10:20 -08:00
Joe Groff 7350fb09ab new module images.viewer.prettyprint
Pretty-prints image objects as images.
2011-11-13 12:12:23 -08:00
Joe Groff 0b45e809c7 vm: fashion police 2011-11-12 23:05:44 -08:00
Joe Groff 076d710256 vm: set stdin_loop cancellation state
Make it asynchronous so it doesn't wait till the next syscall to cancel.
2011-11-12 23:05:44 -08:00
Joe Groff 05da199174 vm: close_console before exiting anywhere
Add a factor_vm::exit function that does close_console() before ::exit-ing
2011-11-12 23:05:44 -08:00
Philipp Brüschweiler 4dd1f3297e vm: close the console when exiting
This prevents an endless loop caused by the nvidia drivers on linux.
See http://www.nvnews.net/vbulletin/showthread.php?t=164619
2011-11-12 23:05:43 -08:00
Slava Pestov c9efc2d8ee classes.struct.vectored: update for recent slots change 2011-11-12 22:41:08 -08:00
Slava Pestov bd6f7495ae variants: update for recent slots change 2011-11-12 22:40:55 -08:00
Slava Pestov 8012fbdf61 Now that #foo and ##foo are symbols we can remove a bunch of \ 2011-11-12 22:04:26 -08:00
Joe Groff d44ad0043b vm: typo in os-windows.hpp 2011-11-12 19:23:44 -08:00
John Benediktsson 67dc3f9da5 ui.operations: fix stack names. 2011-11-12 18:48:18 -08:00
Doug Coleman 6214c833fb io.directories: fix delete-file on windows, add unit test 2011-11-12 18:28:07 -08:00
John Benediktsson fbfa57ea01 assocs: 5-8% performance improvement to assoc>map. Fixes #69. 2011-11-12 17:02:33 -08:00
Slava Pestov 2cf72ef255 Fix bootstrap 2011-11-12 16:45:04 -08:00
John Benediktsson 99a5f9794f webbrowser: open url's in your webbrowser. 2011-11-12 16:18:52 -08:00
John Benediktsson a33ce1b57a formatting: improve summary.txt. 2011-11-12 16:18:39 -08:00
Slava Pestov 74d33de1ab hashtables: small cleanup 2011-11-12 15:35:51 -08:00
Slava Pestov 51ceaa4648 Prevent predicate engine words from showing up in usage. results 2011-11-12 15:35:51 -08:00
Slava Pestov 081527628d Fix ambiguity between 'initial: f' and no initial value in a slot spec. Fixes #382 2011-11-12 15:35:51 -08:00
Doug Coleman 022ce9130d editors: wait 300ms for the run-process to possibly fail so errors are reported if the editor is missing or broken 2011-11-12 15:13:34 -08:00
Doug Coleman 803dd2b57d editors.jedit: return "jedit" when looking for jedit path 2011-11-12 14:36:35 -08:00
Doug Coleman bc3e5fd6db factor.sh: Remove the redundant list of commands 2011-11-12 14:06:39 -08:00