]>
gitweb.factorcode.org Git - factor.git/log
Doug Coleman [Sun, 6 Nov 2011 20:16:46 +0000 (12:16 -0800)]
webapps.help: Load the navbar from a Factor word instead of hardcoding it into the template so that the glossary link works.
Doug Coleman [Sun, 6 Nov 2011 20:15:00 +0000 (12:15 -0800)]
html.components: For the t:html tag, only wrap strings in unescaped so that other objects can render.
Doug Coleman [Sat, 5 Nov 2011 07:07:16 +0000 (00:07 -0700)]
webapps.help: Change webapps.help search from post to get. Fixes #343.
Doug Coleman [Sat, 5 Nov 2011 07:05:58 +0000 (00:05 -0700)]
help.html: fix glossary link.
Doug Coleman [Sat, 5 Nov 2011 06:33:18 +0000 (23:33 -0700)]
Make edit-vocab work on an unloaded vocabulary.
Joe Groff [Fri, 4 Nov 2011 18:56:01 +0000 (11:56 -0700)]
cpu.x86.*.bootstrap: save flags in signal-handlers
Joe Groff [Fri, 4 Nov 2011 18:54:40 +0000 (11:54 -0700)]
cpu.x86.bootstrap: cell -> bootstrap-cell
Joe Groff [Fri, 4 Nov 2011 18:23:11 +0000 (11:23 -0700)]
cpu.x86.assembler: PUSHF, POPF instructions
Joe Groff [Fri, 4 Nov 2011 17:01:39 +0000 (10:01 -0700)]
cpu.x86.64.bootstrap: save all the regs on signal
Appears to fix another sporadic crash from mason on x86-64. There's no reason to cut corners here, really.
Doug Coleman [Fri, 4 Nov 2011 13:08:02 +0000 (06:08 -0700)]
Fix bootstrap. Add missing using on io.serial.linux. Fixes #351.
Joe Groff [Fri, 4 Nov 2011 07:24:18 +0000 (00:24 -0700)]
unix.ffi: add signal constants
Joe Groff [Fri, 4 Nov 2011 07:09:30 +0000 (00:09 -0700)]
switch back to gcc from clang since it goes faster
Joe Groff [Fri, 4 Nov 2011 03:19:01 +0000 (20:19 -0700)]
cpu.x86.bootstrap: don't safepoint in a safepoint
Safepointing in the signal-handler primitive causes a crash if the safepoint is guarded and the signal being handled was raised by a safepoint. Put our own RET in the subprimitive to bail out before the standard epilog gets written out. This tentatively appears to fix #349.
Joe Groff [Fri, 4 Nov 2011 01:43:45 +0000 (18:43 -0700)]
makefile: add macosx-x86-fat target
Doug Coleman [Thu, 3 Nov 2011 23:25:53 +0000 (16:25 -0700)]
Move io.serial.unix to io.serial.linux, add platforms files. Move termios into io.serial.linux.ffi vocab.
Joe Groff [Thu, 3 Nov 2011 22:40:24 +0000 (15:40 -0700)]
mason.release.branch: fix test
Joe Groff [Thu, 3 Nov 2011 22:20:42 +0000 (15:20 -0700)]
stack-checker.known-words: add ffi-signal-handlers
Joe Groff [Thu, 3 Nov 2011 20:07:13 +0000 (13:07 -0700)]
cpu.x86.32.bootstrap: typo
Joe Groff [Thu, 3 Nov 2011 19:17:54 +0000 (12:17 -0700)]
use gcc-4.2 on OS X 10.5, or clang on Xcode 4
Doug Coleman [Thu, 3 Nov 2011 19:02:06 +0000 (12:02 -0700)]
Update emacs for editors protocol.
Joe Groff [Thu, 3 Nov 2011 18:57:23 +0000 (11:57 -0700)]
vm: always generate safepoints in jit
Even if there's no stack frame we still need to safepoint before leaving the function. Fixes #332.
Joe Groff [Thu, 3 Nov 2011 18:50:23 +0000 (11:50 -0700)]
vm: restore sigaltstack setup on unix
#ifdef __OpenBSD__ is different from #ifndef __OpenBSD
Doug Coleman [Thu, 3 Nov 2011 18:47:57 +0000 (11:47 -0700)]
Add back the using for nested-comments. Wo shi ben dan...
Doug Coleman [Thu, 3 Nov 2011 18:34:41 +0000 (11:34 -0700)]
Make the require-hook throw an error if the vocabulary does not exist in the dictionary or on disk. Move require docs to vocabs. Add unit tests for require. Fixes #339.
John Benediktsson [Thu, 3 Nov 2011 15:30:44 +0000 (08:30 -0700)]
webapp.help: making fonts more consistent. See #310.
Joe Groff [Thu, 3 Nov 2011 07:14:18 +0000 (00:14 -0700)]
tools.profiler.sampling: mess with formatting more
Joe Groff [Thu, 3 Nov 2011 06:57:15 +0000 (23:57 -0700)]
tools.profiler.sampling: cross-section report
Also add depth to top-down reporting so we can tell what parameter to give cross-section
Joe Groff [Thu, 3 Nov 2011 05:15:52 +0000 (22:15 -0700)]
vm: reserve some more special-objects
Need a jit-safepoint object to deal with #332, and ffi-signal-handler words for immediate signal handling during FFI calls
Doug Coleman [Thu, 3 Nov 2011 04:56:06 +0000 (21:56 -0700)]
dlists: fix compile error
Joe Groff [Thu, 3 Nov 2011 04:40:31 +0000 (21:40 -0700)]
tools.profiler.sampling: twiddle output format
Joe Groff [Thu, 3 Nov 2011 04:18:31 +0000 (21:18 -0700)]
vm: sample pc on windows
Joe Groff [Thu, 3 Nov 2011 03:26:53 +0000 (20:26 -0700)]
vm: fix MSVC warnings
Doug Coleman [Thu, 3 Nov 2011 02:53:40 +0000 (19:53 -0700)]
Tweak the dlist equal? word.
Doug Coleman [Thu, 3 Nov 2011 02:07:37 +0000 (19:07 -0700)]
Implement equal? on dlists. Fixes #338.
Doug Coleman [Thu, 3 Nov 2011 01:17:14 +0000 (18:17 -0700)]
vocabs.loader: Fix spacing. Remove unit test.
Joe Groff [Thu, 3 Nov 2011 02:02:27 +0000 (19:02 -0700)]
images.loader.gtk: typo
Joe Groff [Thu, 3 Nov 2011 01:40:27 +0000 (18:40 -0700)]
remove lingering mentions of macosx-ppc
Doug Coleman [Thu, 3 Nov 2011 01:13:31 +0000 (18:13 -0700)]
Handle auto-user in fuel-connection.el. Fix suggested by Eungju Park.
Doug Coleman [Thu, 3 Nov 2011 01:07:22 +0000 (18:07 -0700)]
Rename (load-vocab) to (require), add tags.txt for "p" vocab loader test. Code formatting.
Doug Coleman [Thu, 3 Nov 2011 00:47:15 +0000 (17:47 -0700)]
io.backend.unix.macosx: Remove duplicate USE:
Doug Coleman [Thu, 3 Nov 2011 00:46:50 +0000 (17:46 -0700)]
Fix unit tests to give the sampling profiler something to profile.
Doug Coleman [Thu, 3 Nov 2011 00:25:54 +0000 (17:25 -0700)]
Fix require-hook
Doug Coleman [Thu, 3 Nov 2011 00:20:18 +0000 (17:20 -0700)]
Add stack effects for the sampling profiler
Joe Groff [Thu, 3 Nov 2011 00:18:26 +0000 (17:18 -0700)]
oops, typo in factor.sh
Joe Groff [Thu, 3 Nov 2011 00:13:31 +0000 (17:13 -0700)]
remove BSD,solaris,etc. misc platform support code
Doug Coleman [Thu, 3 Nov 2011 00:01:43 +0000 (17:01 -0700)]
Unbreakify the new profiler, add a couple of unit tests to demonstrate displaying output.
Doug Coleman [Wed, 2 Nov 2011 23:47:53 +0000 (16:47 -0700)]
Add a unit test vocabulary for vocabs.loadeer.
Doug Coleman [Wed, 2 Nov 2011 23:47:27 +0000 (16:47 -0700)]
Keep the profiling results even when the quotation throws an exception.
Doug Coleman [Wed, 2 Nov 2011 23:47:10 +0000 (16:47 -0700)]
Use -reuseview in jedit by default.
Doug Coleman [Wed, 2 Nov 2011 23:30:00 +0000 (16:30 -0700)]
Clean up formatting, rename load-vocab-hook to require-hook. Add a unit test for vocabs.loader.
Doug Coleman [Wed, 2 Nov 2011 20:41:46 +0000 (13:41 -0700)]
Actually let the user pick an editor after editor protocol change.
Joe Groff [Wed, 2 Nov 2011 20:43:06 +0000 (13:43 -0700)]
sequences: relate max, min, supremum, infimum docs
Suggested by @yac. Closes #321.
Joe Groff [Wed, 2 Nov 2011 06:40:46 +0000 (23:40 -0700)]
vm: count samples during unoptimized compiler
Joe Groff [Wed, 2 Nov 2011 06:02:14 +0000 (23:02 -0700)]
vm: fix scrub-league assert abuse
Joe Groff [Wed, 2 Nov 2011 04:16:40 +0000 (21:16 -0700)]
vm: forgot to add atomic.hpp
Joe Groff [Wed, 2 Nov 2011 04:09:23 +0000 (21:09 -0700)]
hashtables.identity: test assoc-like
Joe Groff [Wed, 2 Nov 2011 04:01:40 +0000 (21:01 -0700)]
vm: separate 'current_gc_p' from 'current_gc'
The 'current_gc' handle doesn't need to be volatile, just the state of GC-ness
Joe Groff [Wed, 2 Nov 2011 04:00:46 +0000 (21:00 -0700)]
vm: add atomic::load and atomic::store functions
Abstract out the fence-and-load and store-and-fence patterns
Joe Groff [Wed, 2 Nov 2011 03:28:17 +0000 (20:28 -0700)]
tools.profiler.sampling: fix stack effect name
Joe Groff [Wed, 2 Nov 2011 03:24:17 +0000 (20:24 -0700)]
tools.profiler.sampling: make rate a global var
Joe Groff [Wed, 2 Nov 2011 03:18:52 +0000 (20:18 -0700)]
tools.profiler.sampling: groom flat profile
Joe Groff [Wed, 2 Nov 2011 02:39:54 +0000 (19:39 -0700)]
vm: sample thread object rather than raw context
Joe Groff [Wed, 2 Nov 2011 02:39:22 +0000 (19:39 -0700)]
tools.profiler.sampling: flat profile report
Joe Groff [Wed, 2 Nov 2011 02:39:00 +0000 (19:39 -0700)]
tools.profiler.sampling: smoke test compact-gc
Joe Groff [Wed, 2 Nov 2011 02:38:42 +0000 (19:38 -0700)]
hashtables.identity: support assoc-like
Joe Groff [Wed, 2 Nov 2011 01:53:37 +0000 (18:53 -0700)]
vm: sample code block owners instead of blocks
Joe Groff [Wed, 2 Nov 2011 01:24:27 +0000 (18:24 -0700)]
vm: fix data roots in get-samples primitive
Joe Groff [Wed, 2 Nov 2011 01:22:46 +0000 (18:22 -0700)]
vm: die if we fault in a fault
Joe Groff [Wed, 2 Nov 2011 00:52:35 +0000 (17:52 -0700)]
tools.profiler.sampling: add detail to profile.
Joe Groff [Tue, 1 Nov 2011 20:10:58 +0000 (13:10 -0700)]
tools.profiler.sampling: "top-down" and "profile."
Joe Groff [Tue, 1 Nov 2011 04:46:44 +0000 (21:46 -0700)]
vm: quell MSVC warnings
Joe Groff [Tue, 1 Nov 2011 04:31:41 +0000 (21:31 -0700)]
vm: parameterize sampling rate
Joe Groff [Tue, 1 Nov 2011 03:52:32 +0000 (20:52 -0700)]
help.handbook: update link to counting profiler
Joe Groff [Tue, 1 Nov 2011 03:52:18 +0000 (20:52 -0700)]
tools.profiler.sampling: smoke tests and metadata
Joe Groff [Tue, 1 Nov 2011 03:51:53 +0000 (20:51 -0700)]
vm: better organize atomics and sample counter
Joe Groff [Tue, 1 Nov 2011 03:00:51 +0000 (20:00 -0700)]
tools.profiler.counting: rename help article
Joe Groff [Tue, 1 Nov 2011 01:59:48 +0000 (18:59 -0700)]
tools.profiler.sampling: very basic frontend words
Joe Groff [Tue, 1 Nov 2011 01:55:41 +0000 (18:55 -0700)]
vm: fix comments mangled by find & replace
Joe Groff [Tue, 1 Nov 2011 01:55:21 +0000 (18:55 -0700)]
math.statistics: fix stack effect on collect-by
Joe Groff [Tue, 1 Nov 2011 01:27:51 +0000 (18:27 -0700)]
vm: factor out sample counting code
Joe Groff [Tue, 1 Nov 2011 00:43:18 +0000 (17:43 -0700)]
whitespace
Joe Groff [Tue, 1 Nov 2011 00:38:42 +0000 (17:38 -0700)]
vm: only show factorbug help the first time
Joe Groff [Mon, 31 Oct 2011 23:59:10 +0000 (16:59 -0700)]
vm: more accurate sample timing on windows
Joe Groff [Mon, 31 Oct 2011 23:50:21 +0000 (16:50 -0700)]
get sampler working under windows
Joe Groff [Mon, 31 Oct 2011 23:49:23 +0000 (16:49 -0700)]
fix platform dependency in leaf-signal-handler
Joe Groff [Mon, 31 Oct 2011 22:06:34 +0000 (15:06 -0700)]
vm: fix build on windows
Joe Groff [Mon, 31 Oct 2011 21:38:49 +0000 (14:38 -0700)]
vm: sampling profiler timer for windows
Spawn a thread and have it spin on the performance counter, triggering safepoints on the main thread every sample time
Joe Groff [Mon, 31 Oct 2011 07:18:45 +0000 (00:18 -0700)]
Revert "syntax: make it so PRIMITIVE: verifies primitives"
This reverts commit
200ea70cffc4bdc74a97e4981442161f64cdbaa3 .
Joe Groff [Mon, 31 Oct 2011 07:17:01 +0000 (00:17 -0700)]
primitives: fix effect of (clear-samples)
Joe Groff [Mon, 31 Oct 2011 07:11:59 +0000 (00:11 -0700)]
vm: stub out windows sampling timer implementation
AFAIK Windows has no equivalent to setitimer. We'll probably need to use a thread that periodically pauses and samples the main VM thread.
Joe Groff [Mon, 31 Oct 2011 07:10:30 +0000 (00:10 -0700)]
vm: count samples from foreign threads
On OS X it appears the mach exception thread and libdispatch queue threads occasionally get the SIGALRM from the itimer. Count those as foreign_thread_samples instead of letting the signal kill the process.
Joe Groff [Mon, 31 Oct 2011 06:42:36 +0000 (23:42 -0700)]
vm: actually collect samples and add primitives...
Joe Groff [Mon, 31 Oct 2011 06:05:54 +0000 (23:05 -0700)]
add sampling profiler primitives for bootstrap
Joe Groff [Mon, 31 Oct 2011 06:05:31 +0000 (23:05 -0700)]
syntax: make it so PRIMITIVE: verifies primitives
It's a bit strange for disparate vocabs to reference words that get created out of thin air during bootstrap, so this lets there be some trace in the seeded vocab source that there was a word created there.
Joe Groff [Mon, 31 Oct 2011 05:46:07 +0000 (22:46 -0700)]
move counting profiler to tools.profiler.counting
Joe Groff [Mon, 31 Oct 2011 05:30:55 +0000 (22:30 -0700)]
vm: add primitives to lift sample data to factor
Joe Groff [Mon, 31 Oct 2011 05:30:15 +0000 (22:30 -0700)]
vm: write back fixed-up code address to samples
Joe Groff [Mon, 31 Oct 2011 01:41:48 +0000 (18:41 -0700)]
vm: walk code roots from sample callstacks
Joe Groff [Mon, 31 Oct 2011 01:41:14 +0000 (18:41 -0700)]
vm: release memory used by sampler vectors
Joe Groff [Sun, 30 Oct 2011 01:13:22 +0000 (18:13 -0700)]
cpu.x86.bootstrap: simplify leaf-signal-handler
We can use RET (stack-frame-size - cell) instead of doing stack gymnastics.