Doug Coleman
8f51f87a8f
more docs for math.primes, move words out of miller-rabin
2009-05-10 13:47:51 -05:00
Doug Coleman
18add4b769
add next-odd etc to math.bitwise
2009-05-10 13:42:41 -05:00
Doug Coleman
0e0662ffc5
move random-bits* to random, work on docs
2009-05-10 13:39:08 -05:00
Doug Coleman
0801dbc694
add lucas-lehmer primality test
2009-05-10 12:59:35 -05:00
Doug Coleman
79265b50d9
update usages of miller-rabin
2009-05-10 12:24:43 -05:00
Doug Coleman
6b1f60f550
move math.miller-rabin to math.primes.miller-rabin
2009-05-10 12:24:19 -05:00
Doug Coleman
61fdb6f435
Merge branch 'master' of git://factorcode.org/git/factor
2009-05-10 12:19:39 -05:00
Doug Coleman
b4108c21f0
working on sha2
2009-05-10 12:18:59 -05:00
Joe Groff
946602b8d7
Merge branch 'master' of git://factorcode.org/git/factor
2009-05-10 10:44:10 -05:00
Joe Groff
d90bb0f336
cut perlin-noise time in half
2009-05-10 10:41:50 -05:00
Slava Pestov
bb8aaf9ce0
Merge branch 'master' of git://factorcode.org/git/factor
2009-05-09 20:24:40 -05:00
Slava Pestov
cda3685c4d
Eliminate prettyprinter dependency from UI
2009-05-09 20:24:17 -05:00
Joe Groff
1ce6596d17
Merge branch 'master' of git://factorcode.org/git/factor
2009-05-09 20:16:07 -05:00
Joe Groff
cbb1f1c60b
docs for dlist-filter
2009-05-09 20:15:03 -05:00
Slava Pestov
4ee4357e75
Fix negative zero smashing with bootstrap
2009-05-09 18:17:30 -05:00
Joe Groff
8cbcb87152
don't mess with the orphaned nodes when pop-front-ing or pop-back-ing a dlist. add a dlist-filter word that drops off all nodes that don't satisfy a predicate
2009-05-09 14:33:17 -05:00
Doug Coleman
3be7034b5e
64-bit add/subtract/multiply
2009-05-09 13:54:42 -05:00
Doug Coleman
9318568b13
Merge branch 'master' of git://factorcode.org/git/factor
2009-05-09 12:09:41 -05:00
Joe Groff
37f015b71d
Merge branch 'master' of git://factorcode.org/git/factor
2009-05-09 11:48:19 -05:00
Joe Groff
dd9af334a9
send bilerp upstream to spawn
2009-05-09 11:43:04 -05:00
erg
9aaa04acea
Merge branch 'master' of git://factorcode.org/git/factor
2009-05-09 10:21:38 -05:00
Slava Pestov
f40d5b0c03
Merge branch 'master' of git://factorcode.org/git/factor
2009-05-08 22:10:42 -05:00
Doug Coleman
8e581ffaf2
Merge branch 'master' of git://factorcode.org/git/factor
2009-05-08 21:58:50 -05:00
Slava Pestov
1d747ea911
specialized-arrays: fix tests on PowerPC
2009-05-08 21:34:28 -05:00
Doug Coleman
c0a3ef631a
implementing sha2 512
2009-05-08 19:00:06 -05:00
Joe Groff
b7ac44cfd4
Merge branch 'master' of git://factorcode.org/git/factor
2009-05-08 18:48:21 -05:00
Joe Groff
cd4530adca
iokit game-input backend improvements:
...
- avoid some needless allocation when dispatching input events
- some gamepads claim to be pointers too; only match actual mouses
- don't mess with the calibration settings if the axis min/max attributes aren't available
also, throw a more helpful error when plist> fails
2009-05-08 18:47:44 -05:00
Doug Coleman
5451d8f976
support sha-224, add constants for all sha2
2009-05-08 18:11:13 -05:00
Slava Pestov
ea85f298d1
math.combinatorics: fix unit test and help lint
2009-05-08 18:00:53 -05:00
Doug Coleman
884fdc8ceb
remove dynamic variables from sha2
2009-05-08 17:39:11 -05:00
Doug Coleman
3292ceaf46
move sha2 state to a tuple
2009-05-08 17:18:43 -05:00
Slava Pestov
5cbaa1d4fd
Merge branch 'master' of git://factorcode.org/git/factor
2009-05-08 16:27:36 -05:00
Slava Pestov
2f91323624
Merge branch 'master' of git://projects.elasticdog.com/git/factor
2009-05-08 16:26:27 -05:00
Joe Groff
8151796b06
Add missing ClientToScreen export to windows.user32
2009-05-08 14:09:57 -07:00
Joe Groff
abb9f8ad6a
Merge branch 'master' of /cygdrive/z/Documents/Code/others/factor
2009-05-08 14:00:25 -07:00
Joe Groff
2295c967fa
clip to window client area when grabbing on windows
2009-05-08 15:49:29 -05:00
Joe Groff
cc05a90900
Merge branch 'master' of git://factorcode.org/git/factor
2009-05-08 13:13:00 -07:00
Joe Groff
9992817c65
input grabbing support
2009-05-08 15:07:15 -05:00
Doug Coleman
0fe5aaf5f8
more refactoring on sha2
2009-05-08 10:52:25 -05:00
Doug Coleman
3f5e93d29a
more refactoring on sha2
2009-05-08 10:04:31 -05:00
Doug Coleman
660bb079ae
cleaning up sha2
2009-05-08 09:51:57 -05:00
erg
12f7a124a4
Merge branch 'master' of git://factorcode.org/git/factor
2009-05-08 07:47:31 -05:00
erg
6626e8c927
Merge branch 'master' of git://factorcode.org/git/factor
2009-05-08 03:53:01 -05:00
Slava Pestov
7a0760a0f9
tools.deploy.shaker: strip out a few more things
2009-05-08 02:35:46 -05:00
Slava Pestov
47b22b6df5
Merge branch 'master' of git://factorcode.org/git/factor
2009-05-08 00:21:04 -05:00
Slava Pestov
2b23d1dd9e
Remove silly retry word from continuations vocab
2009-05-08 00:20:54 -05:00
Slava Pestov
94bd764d35
Merge branch 'master' of git://factorcode.org/git/factor
2009-05-07 23:26:37 -05:00
Slava Pestov
e52476f108
cpu.ppc: fix alien-indirect
2009-05-07 23:26:33 -05:00
Slava Pestov
bd04fa9a59
Merge branch 'master' of git://factorcode.org/git/factor
2009-05-07 23:18:52 -05:00
Slava Pestov
ff674dac22
cpu.ppc: bools are 4 bytes on OS X/PowerPC
2009-05-07 23:18:41 -05:00
Slava Pestov
10758bc6a1
Merge branch 'master' of git://factorcode.org/git/factor
2009-05-07 21:26:55 -05:00
Slava Pestov
9d2fb3378b
io.backend.windows.privileges: clean up code and fix inference problem
2009-05-07 21:26:29 -05:00
Slava Pestov
3f871d3bae
io.launcher.windows.nt: update unit tests for recent changes to lines and contents words
2009-05-07 21:25:55 -05:00
Aaron Schaefer
d5a028c507
Merge branch 'master' of git://factorcode.org/git/factor
...
Conflicts:
basis/math/miller-rabin/miller-rabin.factor
2009-05-07 22:20:53 -04:00
Slava Pestov
5099046f9f
math.miller-rabin: make some utilities not private since math.primes uses them
2009-05-07 20:52:16 -05:00
Aaron Schaefer
f465a013d7
Speed up best-hands a bit using reduce and add a test
2009-05-07 21:23:58 -04:00
Joe Groff
2ec754e77f
Merge branch 'master' of git://factorcode.org/git/factor
2009-05-07 19:56:58 -05:00
Slava Pestov
b9169a6de2
Merge branch 'master' of git://factorcode.org/git/factor
2009-05-07 19:47:42 -05:00
Slava Pestov
5c4bb80bc3
Update PowerPC %jump and %dispatch-label, and add PIC-related functions to cpu-ppc.hpp
2009-05-07 19:47:38 -05:00
Joe Groff
01546acb1c
typo in cocoa pixel format stuff
2009-05-07 19:47:26 -05:00
Joe Groff
a8231893ec
un-private some useful words
2009-05-07 19:46:42 -05:00
Slava Pestov
4a2492c3fc
Merge branch 'master' of git://factorcode.org/git/factor
2009-05-07 19:41:54 -05:00
Slava Pestov
25886ff453
cpu.ppc.bootstrap: updates
2009-05-07 19:40:25 -05:00
Aaron Schaefer
7f6998a815
Make next-odd public again as it's used elsewhere
2009-05-07 18:33:55 -04:00
Aaron Schaefer
6704a1bb3e
Merge branch 'master' of git://factorcode.org/git/factor
2009-05-07 18:04:49 -04:00
Slava Pestov
c802e82b97
Merge branch 'master' of git://factorcode.org/git/factor
2009-05-07 16:58:34 -05:00
Slava Pestov
63b963e12a
Fix x86-64 backend
2009-05-07 16:58:18 -05:00
erg
3bf8e41eef
fix bootstrap errors, add missing files
2009-05-07 16:53:32 -05:00
erg
8c19ab04c9
use open64 instead of open on linux. use stat64 instead of stat on
...
linux. add word to report if a file is sparse
2009-05-07 16:41:37 -05:00
Aaron Schaefer
f0ceb33906
Merge branch 'master' of git://factorcode.org/git/factor
2009-05-07 16:44:15 -04:00
Doug Coleman
d0c34345b1
Merge branch 'master' of git://factorcode.org/git/factor
2009-05-07 14:50:20 -05:00
Slava Pestov
3591f6c684
Count megamorphic cache hits
2009-05-07 14:26:08 -05:00
Doug Coleman
605068df93
Merge branch 'master' of git://factorcode.org/git/factor
2009-05-07 13:09:45 -05:00
Slava Pestov
75d9946bd7
compiler.tree.modular-arithmetic: convert >integer >fixnum into >fixnum
2009-05-07 12:54:23 -05:00
Slava Pestov
d7b40d72a0
Code cleanups
2009-05-07 12:33:31 -05:00
Slava Pestov
466533d509
Fix overly-eager strength reduction for mod, and add a type function for >integer (reported by Joe Groff)
2009-05-07 12:32:06 -05:00
Doug Coleman
42a86854a5
Merge branch 'master' of git://factorcode.org/git/factor
2009-05-06 23:56:19 -05:00
Slava Pestov
741e97e57e
tools.trace: fix for call(
2009-05-06 23:47:17 -05:00
Slava Pestov
51fff49708
find-window: don't bomb if a world has no child. Reported by Joe Groff
2009-05-06 23:40:27 -05:00
Slava Pestov
318552ba60
Fix tail call PICs on x86-64
2009-05-06 22:44:30 -05:00
Slava Pestov
88b3be034d
Merge branch 'master' of git://factorcode.org/git/factor
2009-05-06 22:05:16 -05:00
Slava Pestov
4915e1ced7
Clean up bootstrap.image, and implement new calling convention for tail calls; tail call sites now have PICs
2009-05-06 22:04:01 -05:00
Aaron Schaefer
83e7516666
Use iota where necessary in tests
2009-05-06 21:31:37 -04:00
Aaron Schaefer
b84a3158fa
Add docs for combination words
2009-05-06 21:27:04 -04:00
Slava Pestov
12a34d81f7
JIT now supports multiple relocations per code template. This simplifies non-optimizing compiler backends
2009-05-06 20:04:49 -05:00
Aaron Schaefer
78037d8d05
Use binary-search instead of find-last for combinations
2009-05-06 20:46:41 -04:00
Slava Pestov
581d017b46
Working on inline caching for tail call sites
2009-05-06 19:22:22 -05:00
Aaron Schaefer
678f603aa5
Clean up combinations a bit
2009-05-06 20:18:21 -04:00
Aaron Schaefer
c9b97f3f92
Add tests for combinations
2009-05-06 19:33:58 -04:00
Doug Coleman
70469af0e2
Merge branch 'master' of git://factorcode.org/git/factor
2009-05-06 17:40:16 -05:00
Joe Groff
c9d669d606
Merge branch 'master' of git://factorcode.org/git/factor
2009-05-06 17:35:19 -05:00
Joe Groff
fbb17ea7af
uniform-random-float speed
2009-05-06 17:26:21 -05:00
Doug Coleman
6a19cae302
Document miller-rabin, more unit tests for some corner cases
2009-05-06 16:26:06 -05:00
Slava Pestov
c93d876075
Better separation of concerns: cpu.{x86,ppc}.assembler no longer depends on compiler.codegen.fixup and cpu.architecture. Rename rt-xt-direct to rt-xt-pic to better explain its purpose
2009-05-06 16:14:53 -05:00
Slava Pestov
075fb1d3a6
Merge branch 'master' of git://factorcode.org/git/factor
2009-05-06 15:34:48 -05:00
Slava Pestov
49409b4d8c
Working on PowerPC backend
2009-05-06 15:39:03 -05:00
Slava Pestov
bf887cf028
cpu.ppc.bootstrap: working on polymorphic inline caching for PowerPC
2009-05-06 15:30:52 -05:00
Slava Pestov
d89bb9f1c3
Merge branch 'master' of git://factorcode.org/git/factor
2009-05-06 14:57:26 -05:00
Slava Pestov
867ff51b83
Remove some unused constants and update an obsolete comment
2009-05-06 14:57:17 -05:00
Slava Pestov
05b49e15e0
tools.time: remove unneeded math.vectors dependency
2009-05-06 14:56:50 -05:00