Joe Groff
87316ae28f
tools.profiler.sampling: smoke tests and metadata
2011-11-02 13:23:15 -07:00
Joe Groff
6d3d8392d1
tools.profiler.counting: rename help article
2011-11-02 13:23:14 -07:00
Joe Groff
eb749bb535
tools.profiler.sampling: very basic frontend words
2011-11-02 13:23:14 -07:00
Joe Groff
38a5184fdf
math.statistics: fix stack effect on collect-by
2011-11-02 13:23:13 -07:00
Joe Groff
252915a37c
fix platform dependency in leaf-signal-handler
2011-11-02 13:23:12 -07:00
Joe Groff
eac90675c0
move counting profiler to tools.profiler.counting
2011-11-02 13:23:09 -07:00
Joe Groff
9f6f36fdec
cpu.x86.bootstrap: simplify leaf-signal-handler
...
We can use RET (stack-frame-size - cell) instead of doing stack gymnastics.
2011-11-02 13:23:08 -07:00
Joe Groff
33919b2919
tools.profiler: rename to tools.counting-profiler
2011-11-02 13:23:06 -07:00
Joe Groff
186bf65a00
constants for special object hardcoded literals
2011-11-02 12:54:50 -07:00
Doug Coleman
94db86a6db
Make "foo.private" require load foo instead.
...
Move require from vocabs.loader to vocabs. Update everything.
Fixes #201 .
2011-11-02 11:50:03 -07:00
Doug Coleman
359c931d35
Rename images.gtk|gdiplus|cocoa to images.loader.*. Fixes #176 .
2011-11-02 09:38:03 -07:00
Doug Coleman
c44a998ef4
Fix typo in tests
2011-11-02 09:15:32 -07:00
Doug Coleman
4002945c09
Don't test coverage of auto-generated class predicates. Get a better count of callabales in a word to fix %coverage.
2011-11-01 17:13:11 -07:00
Doug Coleman
a647df58f6
Make editors use the new path-finding vocabulary and protocol.
...
Implement io.standard-paths on Windows.
2011-10-31 13:16:37 -07:00
Joe Groff
bf0c7eaa22
io.encodings.string: make binary decode/encode nop
...
Fixes #319 .
2011-10-31 11:07:44 -07:00
Slava Pestov
b31ffdfcb4
math.vectors.simd: vlshift, vrshift, hlshift and hrshift were being miscompiled if the shift count was a bignum. Fixes #264
2011-10-30 21:50:17 -07:00
Doug Coleman
0774944b8d
Find the macvim bundle or use mvim. Add a flag for -g option to vim.
2011-10-30 16:11:18 -07:00
Doug Coleman
ada631c202
Add core-foundation.launch-services for finding the path of a bundle. Add a new standard-paths vocabulary for finding files.
2011-10-30 16:11:18 -07:00
Slava Pestov
136ffc0671
bootstrap-error.factor: vocab => lookup-vocab
2011-10-29 17:25:51 -07:00
Slava Pestov
258b9590a2
tools.deploy: fix unit test
2011-10-29 17:15:49 -07:00
Slava Pestov
c1b7de8339
stack-checker.known-words: add effects for signal-handler and leaf-signal-handler primitives, even though they can't be called directly
2011-10-29 17:15:35 -07:00
Slava Pestov
70056d756b
compiler.cfg.builder: add test to ensure that fast union predicates do not contain a conditional
2011-10-29 17:11:04 -07:00
Slava Pestov
5a46b45312
compiler.tree.propagation: more accurate output type for 'tag' primitive
2011-10-29 17:11:04 -07:00
Slava Pestov
e5a308d56a
compiler.tree.debugger: disable length limit when printing optimized. quotation
2011-10-29 17:11:03 -07:00
Doug Coleman
a1878ea818
Look for mvim on mac and use 'open -a MacVim' if it's not in the path. Since 'open -a macvim' doesn't support command line options, add a generic for opening to a line or not.
2011-10-29 15:31:06 -07:00
Slava Pestov
99b4752c57
help.html: I give up with the article name escaping. Just compute a SHA1 hash and use that as the file name. Fixes #309
2011-10-29 15:27:27 -07:00
Slava Pestov
914a4aee09
help.html: simpler stylesheet for navbar to give it a consistent look. Fixes #310
2011-10-29 15:27:27 -07:00
Slava Pestov
650fdc8fe5
help.html: use GET not POST for search form, so that the search term appears in the URL, and to make the back button work. Fixes #312
2011-10-29 15:27:27 -07:00
Slava Pestov
4c3c4f177b
ui.gadgets.editors: fix wonky word names. Fixes #277
2011-10-29 15:27:27 -07:00
Slava Pestov
0285de7e7d
Revert "ui.gadgets.editors: implement Ctrl-A/E/K to be more compatible."
...
This reverts commit 6a096a1e71
.
2011-10-29 15:27:27 -07:00
Slava Pestov
d212b18be3
Revert "ui.gadgets.editors: windows doesn't work like macosx."
...
This reverts commit cf1d12ce78
.
2011-10-29 15:27:27 -07:00
Doug Coleman
ff27f2c3f7
Change order or articles in io.launcher.
2011-10-29 15:13:45 -07:00
Doug Coleman
5594e82492
Clean up editors.*vim so that it runs detached with gvim and there is less
...
code duplication. Use mvim on mac. Remove gvim.unix vocabulary since it
doesn't do anything besides return "gvim" as the path.
2011-10-29 15:10:42 -07:00
Doug Coleman
8205caa5ca
Add edit-file and edit-vocab words and make edit on strings call
...
edit-vocab.
2011-10-29 13:35:13 -07:00
Doug Coleman
eb7fd4a69b
Add options to set the child process group id or session for Unix. This fixes part of #307 .
2011-10-29 02:47:10 -07:00
Doug Coleman
dc0a921866
Remove the lexer-factory because nothing uses it. Update usages.
2011-10-29 01:11:19 -07:00
Doug Coleman
53c6d08b54
Add a toggle word to namespaces and update docs, tests, and usages. Document with-global too.
2011-10-29 01:05:38 -07:00
Doug Coleman
b43c069b81
Change prompt to something we can copy/paste back into the Factor repl. Add auto-use word. Fixes #301 .
2011-10-29 01:05:38 -07:00
Doug Coleman
aa7f22edc0
Cleanup vocab name validation. Vocab names and vocab prefixes are the same concept, and by disallowing slashes, spaces, and colon, we automatically check for absolute paths. Unit test this.
2011-10-29 01:05:37 -07:00
Doug Coleman
3f4f8c678d
Add a seq>dlist word and make a dlist literal DL{
...
Implement prettyprint on dlists.
2011-10-29 01:05:37 -07:00
Slava Pestov
721d035901
http.server: closing socket without sending any text would hang the http.server. Fixes #311
2011-10-28 23:54:55 -07:00
Slava Pestov
5b69026f59
io.launcher: change kill-process to also close the pipe, if there is one, so that try-output-process can timeout even if the process spawns a subprocess which inherits the pipe. This fixes part of #307
2011-10-28 21:53:25 -07:00
Joe Groff
2d5360778f
cleanups from code review
2011-10-27 21:18:23 -07:00
Joe Groff
c70a1004f8
cpu.x86.64: also must save ctx-reg
2011-10-27 21:18:21 -07:00
Joe Groff
ff2d480d98
cpu.x86.32: update for resumable signal handlers
2011-10-27 21:18:19 -07:00
Joe Groff
d6eae2f42d
vm: suppress signal-handler stack frame generation
...
This is a hack; see #295
2011-10-27 21:18:19 -07:00
Joe Groff
402e1155a5
vm: resumably handle signals from leaf procedures
2011-10-27 21:18:18 -07:00
Joe Groff
1386212d23
vm: dispatch signal handlers through subprimitive
...
We also need to save C ABI volatile registers before calling the signal handler in order to be able to reliably resume. Add signal-handler and leaf-signal-handler subprimitives to preserve volatile registers before invoking the signal handler C function.
2011-10-27 21:18:18 -07:00
Joe Groff
68518e741e
cpu.x86.(32,64).bootstrap: get rid of PUSH malarky
...
In the function prologue, move the stack pointer once after the stack frame is set up instead of PUSHing the stack frame piece by piece.
2011-10-27 21:14:50 -07:00
Joe Groff
b0b0905460
vm: add factorbug command to throw exception
...
Also rename "q" to "c" because it "c"ontinues, remove the useless "im" command, and rename the less useful "t" to "trim" so we can use "t" to mean "throw"
2011-10-27 21:14:49 -07:00