Commit Graph

1339 Commits (b981b8cad8e375ec352e734255bbef32b296680b)

Author SHA1 Message Date
Doug Coleman 8a25012b55 fix line numbers with etexteditor 2008-11-13 16:07:01 -06:00
Doug Coleman 069d5b1795 add etexteditor 2008-11-13 15:47:39 -06:00
Doug Coleman 6d44e383b3 add rc files to scaffold since it's hard to create a file named .foo on windows 2008-11-13 14:27:28 -06:00
Slava Pestov 1498d94a53 Move suffix arrays to basis 2008-11-13 09:34:46 -06:00
Doug Coleman c64749ccac Merge branch 'master' of git://factorcode.org/git/factor 2008-11-13 06:48:48 -06:00
Slava Pestov eef45a1cc3 Tweak PowerPC %dispatch 2008-11-13 05:58:49 -06:00
Slava Pestov a14e1ebcb5 Fix PowerPC bootstrap 2008-11-13 05:55:34 -06:00
Doug Coleman e089abd37f Merge branch 'master' of git://factorcode.org/git/factor 2008-11-13 05:42:53 -06:00
Slava Pestov 5b4e8e9d09 Rename tests/templates.factor to tests/codegen.factor since that's really what its testing 2008-11-13 04:16:58 -06:00
Slava Pestov eb05dd3a12 Optimize a ##dispatch that is applied to the result of a ##sub-imm or ##add-imm; this eliminates an instruction from the common 1 fixnum-fast { ... } dispatch and 8 fixnum-fast { ... } dispatch code sequences appearing in generic word expansions 2008-11-13 04:16:08 -06:00
Slava Pestov 029ee67525 Fix ppc make-image 2008-11-13 04:12:09 -06:00
Slava Pestov 6590c894bc Forgot a constant 2008-11-13 04:10:21 -06:00
Slava Pestov b1aa3697cb Emit branches in the same order they're written in code 2008-11-13 03:52:01 -06:00
Slava Pestov cfa82cb474 New calling convention for VM primitives:
instead of the Factor side passing the stack pointer as the first parameter, and having the VM save it to stack_chain->top, we instead have the Factor side save it. Eliminates a lot of crud in the VM
2008-11-13 03:20:34 -06:00
Slava Pestov 3723b2e640 vlists: immutable sequences with mostly-O(1) push and pop, O(n) behavior when sharing: optimized for the unshared case. also contains valists, which are assocs built on vlists with O(n) search starting from the end, and mostly-O(1) insertion that shadows prior entries. Behaves similar to Lisp/Scheme alists 2008-11-13 00:12:14 -06:00
Slava Pestov 3f4eb5a09a Add changed-nth combinator: like change-nth but for persistent sequences 2008-11-13 00:10:55 -06:00
Slava Pestov a81e737e02 Add passociate word: like associate but for persistent hashtables 2008-11-13 00:10:37 -06:00
Slava Pestov 3bb778eab4 Remove unnecessary stack-checker.transforms dependency from macros 2008-11-13 00:09:47 -06:00
Slava Pestov 5bae69426d Stack checker cleanup and optimization
- stack-checker.state vocabulary split up into stack-checker.{state,values,recursive-state}
- code that modifies and searches recursive state factored out into stack-checker.recursive-state
- recursive state is now a set of three binary hash trees instead of an alist, and no longer contains unnecessary data
- binary hash trees are in stack-checker.recursive-state.tree: unbalanced, persistent
- ~8 second speedup on bootstrap, ~20 second speedup in "peg.javascript" require
2008-11-13 00:07:45 -06:00
Doug Coleman db2f744f90 redo random-bytes* with a better algorithm 2008-11-12 22:10:34 -06:00
Slava Pestov 4a1bcacfd4 Refactoring recursive-state alist; now its a mapping from words to local state triples, reduces searching by a bit 2008-11-12 19:08:40 -06:00
Slava Pestov 8f6f666a2a Neither here nor there 2008-11-12 14:40:01 -06:00
Doug Coleman a8f1680bcd slightly faster 2008-11-12 13:28:17 -06:00
Doug Coleman b45c03877b don't generate 4x the number of random bytes we actually need. map concat is slower than push-all 2008-11-12 12:40:09 -06:00
Eduardo Cavazos 6cc08f76dd help/handbook: Fix some headings 2008-11-12 03:58:41 -06:00
Doug Coleman 44b0cf94ab better fix for emacs 2008-11-12 01:14:19 -06:00
Doug Coleman 9656ce2e65 Merge branch 'master' of git://factorcode.org/git/factor 2008-11-12 00:40:11 -06:00
Doug Coleman 0d3a5e372a allow setting of emacsclient 2008-11-12 00:39:56 -06:00
Slava Pestov 9f52ee50b0 Another speedup to >alist: create vector with right size up-front. 10 second bootstrap time reduction 2008-11-12 00:10:50 -06:00
Slava Pestov eed1dd3d2b Fix byte vector prettyprinting 2008-11-11 23:38:19 -06:00
Slava Pestov c581311e03 Merge branch 'master' of git://factorcode.org/git/factor 2008-11-11 23:24:08 -06:00
Slava Pestov cdb94e4c62 Word constructor was not invoking relocation on the profiled block, so words constructed while profiling was on could not be executed. This prevented profiling of PEGs 2008-11-11 23:07:40 -06:00
Slava Pestov de02724135 Make a word inline for the win 2008-11-11 23:04:30 -06:00
Slava Pestov ed3a81a503 Faster M: hashtable >alist performs less dispatch and allocates less junk 2008-11-11 23:03:50 -06:00
James Cash c97e731d44 Fixing linked-assoc docs 2008-11-11 21:25:33 -05:00
Slava Pestov fab60f94a7 Minor performance improvements 2008-11-11 19:51:26 -06:00
Slava Pestov d970a632bb Fix nodes>quot 2008-11-11 19:51:12 -06:00
Slava Pestov 26f309d2ae Trying to make PEGs compile faster by reducing the number of low level IR nodes: merge functionality of #>r and #r> into #shuffle, and generate 1 node instead of 3 for calls to get-local 2008-11-11 18:46:31 -06:00
Slava Pestov 782671a50c Merge branch 'master' of git://factorcode.org/git/factor 2008-11-11 17:43:25 -06:00
Slava Pestov 5c6860fd0f Updating linked-assocs documentation, add <linked-assoc> word 2008-11-11 17:42:52 -06:00
Slava Pestov b4683bb00b Merge branch 'master' of git://factorcode.org/git/jamesnvc 2008-11-11 17:36:34 -06:00
Doug Coleman 5490b730b5 Merge branch 'master' of git://factorcode.org/git/factor 2008-11-11 15:37:42 -06:00
Doug Coleman fa282c5053 remove duplicate using 2008-11-11 15:37:32 -06:00
Doug Coleman 1f85b7ec14 catch errors for windows file-systems word and return a tuple with just a mount point
this happens on empty floppy disk drives
2008-11-11 15:35:17 -06:00
Doug Coleman 146340690f implement file-systems on windows 2008-11-11 15:17:35 -06:00
Doug Coleman 17916ed7f2 Merge branch 'master' of git://factorcode.org/git/factor 2008-11-11 14:04:25 -06:00
Doug Coleman 78ab09d8bb move file-systems word to core 2008-11-11 14:04:05 -06:00
Doug Coleman c860ab78b6 removed duplicate file-system-info definition. oops 2008-11-11 13:41:34 -06:00
Doug Coleman bbaa8b95bd mounted -> file-systems 2008-11-11 13:30:12 -06:00
Doug Coleman 482933f4d3 remove duplicated slot from linux statfs 2008-11-11 13:19:53 -06:00
Doug Coleman aff4c9bda3 Merge branch 'master' of git://factorcode.org/git/factor 2008-11-11 13:07:26 -06:00
Doug Coleman f6c0c43dd4 fix user-cache and add tests for this 2008-11-11 13:05:04 -06:00
Doug Coleman e3533daf4d make jedit behave nicely with scaffolding docs 2008-11-11 13:04:20 -06:00
Doug Coleman 51ecc18cd8 changed a bitwise word, updating usage for mersenne twister 2008-11-11 13:03:42 -06:00
Doug Coleman 7aeeb2c9ce bitwise docs, fix some bugs in bitwise words 2008-11-11 13:03:08 -06:00
Slava Pestov 8a6ecec9f3 Fix broken link in ratios docs 2008-11-11 12:11:36 -06:00
Slava Pestov a32acdcff0 Tweak grouping code for better method inlining 2008-11-11 12:11:13 -06:00
Slava Pestov d7dd084b8d Usability tweak: focus on listener input area when input presentation is clicked 2008-11-11 11:46:35 -06:00
Slava Pestov fed799a32c Fix circularity 2008-11-11 11:39:38 -06:00
Slava Pestov 4c0f2cc3f5 Move factor-2s from miller-rabin to math.functions; use it to make ^ more efficient 2008-11-11 11:30:47 -06:00
Slava Pestov f1a1a4c1cb Cloning a dlist did not clone its nodes, and so was useless 2008-11-11 10:56:58 -06:00
Slava Pestov 1d630b6cf2 Minor documentation fixes 2008-11-11 10:51:15 -06:00
Slava Pestov f04b32ea02 Remove duplicated logic 2008-11-11 09:10:33 -06:00
Slava Pestov d50f4275d4 Fix help lint 2008-11-11 08:53:11 -06:00
Slava Pestov 792df37431 Update unit test 2008-11-11 08:50:30 -06:00
Slava Pestov 5f4b247072 Propagation pass now uses a stack of hashtables for predicated constraints instead of cloning a hashtable. New strategy for recursive propagation; now converges with fewer iterations. ~15 sec bootstrap time improvement 2008-11-11 08:49:00 -06:00
Slava Pestov 7f9fbdaa4e cleanup pass didn't properly handle conditionals where both branches were dead 2008-11-11 08:38:03 -06:00
Slava Pestov 43335d9c36 Intervals now use a special singleton for the full interval to eliminate FP math in the common case; fix a bug in value-info<= 2008-11-11 08:30:14 -06:00
Slava Pestov bb44effcb3 Forgot to include this in the last patch 2008-11-11 02:35:27 -06:00
Slava Pestov d579628d61 More OpenGL rendering tweaks 2008-11-11 02:31:56 -06:00
James Cash da3399f31d More tests for linked-assocs 2008-11-11 02:33:19 -05:00
James Cash a5576bbb1d Fixing extra space, replacing tuck ... swap with [ ... ] keep 2008-11-11 02:33:19 -05:00
James Cash d9076407fb Writing docs for linked-assocs 2008-11-11 02:33:19 -05:00
James Cash 143567c917 More tests for linked-assocs 2008-11-11 02:33:19 -05:00
James Cash 41b7853e08 Adding more assoc protocol methods to linked-assocs, bugfixes 2008-11-11 02:33:18 -05:00
James Cash b3acebc350 linked-assocs passes tests 2008-11-11 02:33:18 -05:00
James Cash b68d3c94a7 Adding linked-assocs 2008-11-11 02:33:18 -05:00
Slava Pestov f0c61b9499 Rewrite OpenGL rendering code
- Don't use glPolygonMode to draw outline rectangles
- Use vertex arrays instead of glBegin/glVertex/glEnd
- Remove dead code from opengl vocabulary
- draw-interior and draw-boundary are now called with origin get [ ... ] with-translation
2008-11-11 00:28:37 -06:00
Slava Pestov eabba96627 Merge branch 'master' of git://repo.or.cz/factor/jcg 2008-11-10 21:38:28 -06:00
Eduardo Cavazos 2489ac5205 bootstrap.stage2: Factor out 'print-time' 2008-11-10 21:27:48 -06:00
Eduardo Cavazos 78d9452b7e basis/bootstrap/stage2: Show core bootstrap time in report 2008-11-10 20:05:50 -06:00
Joe Groff 6189bfd1f0 bring cairo bindings back from the dead 2008-11-10 17:01:14 -08:00
Slava Pestov 161c917748 Merge branch 'master' of git://factorcode.org/git/factor 2008-11-10 05:08:39 -06:00
Slava Pestov d8a3439bc2 Fix indentation 2008-11-10 05:08:30 -06:00
Slava Pestov eeb53283d4 Update code for builder removal 2008-11-10 05:07:25 -06:00
Eduardo Cavazos 0b33c52886 Merge branch 'master' of git://factorcode.org/git/factor 2008-11-10 03:36:26 -06:00
Eduardo Cavazos 17be33fb01 ui.gadgets.labelled: Simplify '<title-bar>' 2008-11-10 03:35:21 -06:00
Slava Pestov 8da65ff55c Merge branch 'master' of git://factorcode.org/git/factor 2008-11-10 03:23:19 -06:00
sheeple ffe4bd6787 Various updates 2008-11-10 03:18:58 -06:00
sheeple 067e9934e1 Merge branch 'master' of git://factorcode.org/git/factor 2008-11-10 03:02:17 -06:00
sheeple 5b7d40d9b4 We need to end the basic block after the ##prologue in the dispatch branch so that the GC check can go after the prologue 2008-11-10 02:58:05 -06:00
Eduardo Cavazos 6df7342b81 ui.gadgets.scrollers: Nicer version of 'find-scroller*' 2008-11-10 02:10:18 -06:00
Slava Pestov 4d317e2d46 Merge branch 'master' of git://github.com/glguy/factor 2008-11-10 00:30:27 -06:00
Slava Pestov b8eebd5c2b swap over == tuck; dupd swap == over 2008-11-10 00:16:11 -06:00
U-SLAVA-DFB8FF805\Slava 2bf9a55cea Fix Windows deployment 2008-11-09 17:27:51 -06:00
U-SLAVA-DFB8FF805\Slava 429fe85f46 Fix compile error 2008-11-09 17:27:39 -06:00
Slava Pestov 28e397420d Fix USING: 2008-11-08 21:43:55 -06:00
unknown 7a6a280b5c Fix conflict 2008-11-08 21:41:33 -06:00
unknown f7fe84e563 Working on Win64 FFI 2008-11-08 21:40:47 -06:00
Slava Pestov f53e9c654c Merge branch 'master' of git://factorcode.org/git/factor 2008-11-08 20:36:29 -06:00