Slava Pestov
0a6c9e08a9
Fix stack underflow in Windows UI backend
2009-05-11 16:19:41 -05:00
Slava Pestov
f5af7977ec
ui.debugger: new mini error dialog box for deployed apps
2009-05-11 16:18:47 -05:00
Joe Groff
87717fa78c
Add user-visible grab-input and ungrab-input words to cleanly toggle grabbing on worlds
2009-05-11 13:18:38 -05:00
Joe Groff
b070edc751
Merge branch 'master' of git://factorcode.org/git/factor
...
Conflicts:
basis/ui/gadgets/worlds/worlds.factor
2009-05-11 12:37:50 -05:00
Joe Groff
30bfce2ce0
improve error handling when begin-world fails
2009-05-11 12:35:41 -05:00
Doug Coleman
bee3c05fe9
working on checksums
2009-05-11 11:37:21 -05:00
John Benediktsson
ac523051ec
Merge branch 'master' of git://factorcode.org/git/factor
2009-05-11 07:24:57 -07:00
Slava Pestov
3fe5bb872b
Deploy tool always uses optimizing compiler now
2009-05-11 00:32:22 -05:00
Doug Coleman
6dabec9ed8
md5 stores state in a tuple now
2009-05-10 23:06:33 -05:00
Slava Pestov
dec89ac4fd
Merge branch 'master' of git://factorcode.org/git/factor
2009-05-10 21:36:38 -05:00
Slava Pestov
9de34ab3cd
Fix deployment of UI apps and implement various tricks to make deployed images smaller
2009-05-10 21:33:13 -05:00
U-C4\Administrator
052a0931d3
moving md5 state to a tuple, redoing hmac
2009-05-10 20:42:20 -05:00
U-C4\Administrator
1e0ed4f4de
Merge branch 'master' of git://factorcode.org/git/factor
2009-05-10 19:20:55 -05:00
U-C4\Administrator
ba1795c854
add a find-by-extensions word
2009-05-10 19:20:04 -05:00
Slava Pestov
05e0171dea
cpu.ppc: really fix bool type
2009-05-10 19:10:20 -05:00
Slava Pestov
9986f6e23e
Fix bool type on PowerPC
2009-05-10 19:01:38 -05:00
Slava Pestov
c32927bfea
Fix unit test failures caused by change to 'contents' word
2009-05-10 18:54:56 -05:00
U-C4\Administrator
1e70b726e8
Merge branch 'master' of git://factorcode.org/git/factor
2009-05-10 17:08:05 -05:00
Slava Pestov
65faa3fda3
Fix unit tests and load errors for slip removal
2009-05-10 17:03:41 -05:00
U-C4\Administrator
278069ff8f
Merge branch 'master' of git://factorcode.org/git/factor
2009-05-10 16:49:21 -05:00
Slava Pestov
9488e78532
clean up contents and lines words; contents never outputs f now
2009-05-10 16:39:51 -05:00
Slava Pestov
f6ff74596e
Removing slip 2slip 3slip nslip
2009-05-10 16:39:17 -05:00
Slava Pestov
a366909c25
Removing slip usage from basis
2009-05-10 15:28:22 -05:00
U-C4\Administrator
5e07dc04a5
use change-global in a couple of places, formatting
2009-05-10 14:24:13 -05:00
Doug Coleman
23e3c55d2f
dont load safe primes in miller rabin tests
2009-05-10 14:08:03 -05:00
Doug Coleman
e946777fbb
link to prime tests from prime docs
2009-05-10 14:01:21 -05:00
Doug Coleman
bfb3507456
make a new vocabulary for safe primes
2009-05-10 13:49:40 -05:00
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
John Benediktsson
ecba1f73fb
Merge branch 'master' of git://factorcode.org/git/factor
2009-05-10 06:30:44 -07: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
Doug Coleman
c88fc97f37
document ${
2009-05-06 14:38:38 -05:00
John Benediktsson
e530198446
Merge branch 'master' of git://factorcode.org/git/factor
2009-05-06 19:11:30 +00:00
Doug Coleman
8b4815c01e
fix miller-rabin
2009-05-06 14:10:29 -05:00
Joe Groff
4cb6ecbc3c
Merge branch 'master' of git://factorcode.org/git/factor
2009-05-06 13:23:05 -05:00
Joe Groff
6ea5ccd881
uniform and normal distributed random floats. uniform is done the lame way for now
2009-05-06 13:22:53 -05:00
John Benediktsson
90c1a3f78a
Merge branch 'master' of git://factorcode.org/git/factor
2009-05-06 17:51:00 +00:00
Joe Groff
fdab677ef5
add 2pi constant
2009-05-06 12:38:14 -05:00
Joe Groff
2bb7b287f7
make ^n foldable
2009-05-06 12:36:34 -05:00
Doug Coleman
75a71c0bd9
fix miller-rabin, safe primes
2009-05-06 12:21:30 -05:00
Slava Pestov
c19df08089
Merge branch 'master' of git://factorcode.org/git/factor
2009-05-06 10:38:55 -05:00
Slava Pestov
3e680b3b72
specialized-arrays: fix unit tests for bool type change
2009-05-06 10:38:39 -05:00
John Benediktsson
8e1a82b9d9
Merge branch 'master' of git://factorcode.org/git/factor
2009-05-06 12:31:24 +00:00
Doug Coleman
5a4270f777
fix miller-rabin, it's correct but a little ugly still. bed time
2009-05-06 00:54:14 -05:00
Aaron Schaefer
eaeda30bb1
Combinations now map to input sequences directly
2009-05-06 01:17:35 -04:00
Doug Coleman
d168f76ab0
remove 1-, 1+, use iota somewhere
2009-05-05 23:32:23 -05:00
Doug Coleman
ffbd19faba
Merge branch 'master' of git://factorcode.org/git/factor
2009-05-05 23:26:58 -05:00
Doug Coleman
3e16463f28
_finally_ cleaned up miller-rabin. it's passable now
2009-05-05 23:25:26 -05:00
Doug Coleman
8e8623aef0
throw more errors on tiff if formats are unsupported
2009-05-05 22:58:38 -05:00
Joe Groff
4b64d9a5e5
more vector operations; perlin noise vocab
2009-05-05 22:17:04 -05:00
Aaron Schaefer
71022f9940
Add combination support to math.combinatorics
2009-05-05 22:43:07 -04:00
Slava Pestov
50826084f0
cpu.x86.bootstrap: remove obsolete comment
2009-05-05 20:56:44 -05:00
Slava Pestov
33d5bce670
cpu.ppc.assembler: update for code_format=1
2009-05-05 20:56:36 -05:00
Slava Pestov
a961e17ef1
Add new RC_ABSOLUTE_PPC_2 relocation type
2009-05-05 20:56:23 -05:00
Joe Groff
ec1918aaa8
Merge branch 'master' of /cygdrive/z/Documents/Code/others/factor
2009-05-05 18:40:08 -07:00
Joe Groff
513df36002
Merge branch 'master' of git://factorcode.org/git/factor
2009-05-05 17:14:51 -07:00
Slava Pestov
58d0e17936
Fix bool type; its actually 1 byte not 4 in structs. Bug reported by jedahu
2009-05-05 18:37:40 -05:00
Slava Pestov
4ee5815843
math.polynomials: use <repetition> instead of <array>
2009-05-05 18:34:52 -05:00
Joe Groff
b517ff6ff1
Merge branch 'master' of git://factorcode.org/git/factor
2009-05-05 17:40:27 -05:00
Slava Pestov
a4d80eb27b
tools.disassembler.udis: fix unix tests
2009-05-05 17:35:06 -05:00
Slava Pestov
30e55bed0d
Merge branch 'master' of git://factorcode.org/git/factor
2009-05-05 16:02:23 -05:00
Slava Pestov
a6afbea707
alien.libraries: Fix dlsym on Windows
2009-05-05 16:00:31 -05:00
Slava Pestov
e68a4df399
bootstrap.compiler: clean up
2009-05-05 15:57:08 -05:00
Slava Pestov
e4289f5ae4
tools.disassembler.udis: fix types for Windows
2009-05-05 15:56:53 -05:00
Slava Pestov
8133436d6d
literals: Improve ${ word
2009-05-05 15:54:49 -05:00
Slava Pestov
428f443c9c
compiler.constants: update compiled-header-size
2009-05-05 15:06:05 -05:00
Joe Groff
2a00f10d1a
lerp functions
2009-05-05 13:55:00 -05:00
Slava Pestov
ea2090f9de
udis: use a real structure instead of a char[] to fix buffer overflow on 64-bit
2009-05-05 12:36:17 -05:00
Slava Pestov
8486e6db82
Merge branch 'master' of git://factorcode.org/git/factor
2009-05-05 10:35:13 -05:00
Slava Pestov
12de56c41e
Fix botched replace all in VM source, clean up image saving code, and fix save-image-and-exit to actually call (save-image-and-exit) instead of (save-image)
2009-05-05 10:29:22 -05:00
Joe Groff
5d43551f08
mouse support for game-input
2009-05-05 09:45:43 -05:00
Slava Pestov
4c756a1147
cocoa: don't need to explicitly compile words anymore, as if more than a year ago...
2009-05-05 09:40:58 -05:00
Slava Pestov
029d93a838
Make walker work better with call( and breakpoints which are nested inside combinators
2009-05-05 09:12:32 -05:00
John Benediktsson
17f1d7f257
Merge branch 'master' of git://factorcode.org/git/factor
2009-05-05 10:24:19 +00:00
Joe Groff
17607941b9
Merge branch 'master' of git://factorcode.org/git/factor
2009-05-04 15:15:44 -05:00
Joe Groff
8db397f9de
work around macosx-x86-64 bug where it tries to write glGetAttachedShaders param as a GLuint64 array instead of a GLuint. this should fix bunny/spheres crash
2009-05-04 15:15:36 -05:00
Slava Pestov
8e3e67fad4
Fix test failures
2009-05-04 13:10:56 -05:00
Slava Pestov
3cb6d95a4f
help.lint: fix :lint-failures word
2009-05-04 13:10:27 -05:00
Slava Pestov
fb5b48c71a
Fix some test failures
2009-05-04 09:44:26 -05:00
John Benediktsson
e6448b4126
Merge branch 'master' of git://factorcode.org/git/factor
2009-05-04 12:49:13 +00:00
Slava Pestov
b2c3183b21
Split up tools.vocabs. Note that load-everything is now named load-all
2009-05-04 06:44:17 -05:00
Slava Pestov
985a0759a4
Merge branch 'master' of git://github.com/seckar/factor
2009-05-04 05:19:55 -05:00
Slava Pestov
b4088373b7
Merge branch 'master' of git://factorcode.org/git/factor
2009-05-04 05:16:47 -05:00
Nicholas Seckar
94e64b6e9c
Add docs for load-all-under and all-vocabs-under
2009-05-03 21:14:44 -07:00
Joe Groff
804d4aae81
docs for new world words
2009-05-03 23:01:26 -05:00
Nicholas Seckar
8beea2ab0c
Don't treat . directories as vocab dirs.
...
Rename subdirs to (less general) vocab-subdirs.
Add all-vocabs-under and load-all-under.
2009-05-03 21:00:29 -07:00
Joe Groff
d546e8c89a
nitpick ui.pixel-formats docs
2009-05-03 22:21:36 -05:00
Joe Groff
4504907736
add a resize-world generic to handle window resizes
2009-05-03 22:01:35 -05:00
Joe Groff
045635cdf2
yield during mouse-moved events in cocoa so gadgets have a chance to redraw
2009-05-03 20:33:03 -05:00
Joe Groff
585ea8da54
don't pprint gadgets with RECT: syntax
2009-05-03 18:32:35 -05:00
Joe Groff
bc07c075e7
Merge branch 'master' of git://factorcode.org/git/factor
...
Conflicts:
extra/spheres/spheres.factor
2009-05-03 17:23:14 -05:00
Joe Groff
474735a60c
update status-bar for api changes. set the gl-context outside of draw-world* generic
2009-05-03 17:11:01 -05:00
Joe Groff
6ccd82faba
world API changes: open-window can take a world-attributes tuple with additional parameters besides title. new begin-world, end-world, and draw-world* generics
2009-05-03 15:52:26 -05:00
John Benediktsson
a646d5c101
Merge branch 'master' of git://factorcode.org/git/factor
2009-05-03 13:18:30 +00:00
Joe Groff
fa524ce213
fix circular dependency for reals
2009-05-02 22:13:01 -05:00
Joe Groff
a0c8d0ae9e
fix x11 backend bugs
2009-05-02 21:55:19 -05:00
Joe Groff
cc244cb672
break code->code docs<-docs dependency
2009-05-02 21:54:25 -05:00
Joe Groff
644c42d4e3
"ui-backend" variable can't be used to choose text backend
2009-05-02 21:52:18 -05:00
U-FROGGER\erg
aa142a1b52
fix windows ui
2009-05-02 20:36:31 -05:00
U-FROGGER\erg
0668b1252e
Merge branch 'master' of git://factorcode.org/git/factor
2009-05-02 20:12:06 -05:00
Joe Groff
886d087332
ui.backend.windows code cleanup
2009-05-02 19:44:08 -05:00
Joe Groff
af6bf6603e
docs for ui.pixel-formats
2009-05-02 18:22:45 -05:00
Joe Groff
d96f6d3197
oops, forgot backing-store support on windows. also "robust" is useless
2009-05-02 17:54:45 -05:00
Joe Groff
a7e2632faf
check-world-pixel-format word that world subclasses can override to verify that the chosen pixel format meets their needs
2009-05-02 16:46:58 -05:00
Joe Groff
623b16d048
X11 backend for pixel formats
2009-05-02 16:39:31 -05:00
Slava Pestov
a63ad6a7a5
Remove cruddy string encoding/decoding code from VM
2009-05-02 13:45:38 -05:00
Joe Groff
95f1ca3d9f
windows pixel-format backend
2009-05-02 13:42:10 -05:00
Joe Groff
621fed2dd5
need to pass world as arg to pixel-format hooks
2009-05-02 12:31:33 -05:00
John Benediktsson
b63efb0ff2
Merge branch 'master' of git://factorcode.org/git/factor
2009-05-02 09:01:59 -07:00
Daniel Ehrenberg
50d0597580
Merge branch 'master' of git://factorcode.org/git/factor
2009-05-01 22:15:01 -05:00
Daniel Ehrenberg
40b225f765
Adding output>sequence and input<sequence to inverse; refactoring [ narray ] undo
2009-05-01 22:14:26 -05:00
Joe Groff
54e9447ec4
adjust pixel format syntax. override offscreen-world pixel-format-attributes instead of special-casing
2009-05-01 20:07:14 -05:00
Doug Coleman
0ad6d1fb7b
add a few usages of iota, remove most 1+ and 1- from core
2009-05-01 19:58:24 -05:00
Doug Coleman
ce7ad9a42d
fix unit tests that call lines or contents
2009-05-01 16:38:04 -05:00
Joe Groff
2a7c26c20a
shove cocoa pixel format attribute conversion into a functor so we can reuse it
2009-05-01 16:33:49 -05:00
Joe Groff
65b33c145c
GENERIC: support in functors
2009-05-01 16:16:40 -05:00
Doug Coleman
e5217b928e
Merge branch 'master' of git://github.com/bogiebro/factor
2009-05-01 15:57:33 -05:00
Joe Groff
a09187fbf8
Merge branch 'master' of ../factor-win/
2009-05-01 14:03:25 -05:00
U-FROGGER\erg
b3c9201da7
fix GL-FUNCTION: syntax on wgl extension functions
2009-05-01 14:02:26 -05:00
U-FROGGER\erg
52af823784
Merge branch 'master' of http://factorcode.org/git/factor
2009-05-01 13:38:32 -05:00
Joe Groff
cf6e78303b
don't really want that read-only!
2009-05-01 13:21:57 -05:00
Doug Coleman
45f196214f
Merge branch 'master' of http://factorcode.org/git/factor
2009-05-01 13:04:07 -05:00
Joe Groff
c8739f5430
Merge branch 'master' of http://factorcode.org/git/factor
2009-05-01 13:01:04 -05:00
John Benediktsson
acd0439cf2
Merge branch 'master' of git://factorcode.org/git/factor
2009-05-01 10:57:16 -07:00
Joe Groff
b45ea14d39
compilation fixes
2009-05-01 12:56:52 -05:00
Doug Coleman
471fe2c272
rename lines to stream-lines
...
rename cnotents to stream-contents
2009-05-01 10:41:27 -05:00
Slava Pestov
f2ec59d658
Fix infinite loop when compiling a word containing a tuple literal with circular structure in it. This was triggered by call( inline caching in core-foundation.fsevents on Mac OS X
2009-05-01 09:36:53 -05:00
Joe Groff
ba8abd6cad
cocoa backend support for ui.pixel-formats; world-pixel-format-attributes generic
2009-05-01 09:09:38 -05:00
Slava Pestov
21ac396128
Fix typo in redefine14 test
2009-05-01 08:29:04 -05:00
Slava Pestov
31c2ede034
ui.gadgets.sliders: fix usability issue
2009-05-01 07:43:50 -05:00
Slava Pestov
eed7b20c7f
ui.tools.browser: don't add current page to history if re-displaying it again
2009-05-01 07:36:47 -05:00
Slava Pestov
cc5655a557
gesture>string: S+C+z not S+C+Z
2009-05-01 07:36:31 -05:00
Slava Pestov
a1d28c8243
Improve UI listener completion behavior
2009-05-01 07:29:03 -05:00
Slava Pestov
b79245dc6c
Adding and removing vocabs now updates all-vocabs-seq
2009-05-01 07:21:56 -05:00
Slava Pestov
38cc644eca
tools.deploy.test: close stdin
2009-05-01 07:05:41 -05:00
Slava Pestov
92781739c8
Some new compiler tests
2009-05-01 06:48:33 -05:00
Slava Pestov
05ecd04e2f
macro call sites don't need an inlined-dependency on the macro
2009-05-01 05:52:34 -05:00
Slava Pestov
e9e095f240
Rename enable/disable-compiler to enable/disable-optimizer, and add with-optimizer and without-optimizer combinators
2009-05-01 05:52:05 -05:00
John Benediktsson
dce8705e0e
Merge branch 'master' of git://factorcode.org/git/factor
2009-05-01 02:33:32 -07:00
Slava Pestov
3b840c652c
Merge branch 'master' of git://factorcode.org/git/factor
2009-05-01 02:44:50 -05:00
Slava Pestov
85bd9209f9
tools.disassembler.udis: fix careless <c-object> usage
2009-05-01 02:44:29 -05:00
Slava Pestov
9d1c4f39a8
Some gold plating
2009-05-01 02:03:22 -05:00
Slava Pestov
a70a2c0e31
Fix some test failures and add an unportable tag
2009-04-30 22:56:15 -05:00
Joe Groff
87daa532a6
move literals vocab to basis
2009-04-30 22:48:01 -05:00
Joe Groff
b6074b95fa
get rid of variable-based pixel format crap in cocoa.views
2009-04-30 22:35:15 -05:00
Joe Groff
8a4c6a30f9
multisample and float extensions for GLX
2009-04-30 22:28:45 -05:00
Slava Pestov
a362ea7d6d
Tweak http.client docs
2009-04-30 22:10:18 -05:00
U-FROGGER\erg
0a1c81fa8b
Merge branch 'master' of git://factorcode.org/git/factor
2009-04-30 21:45:38 -05:00
Slava Pestov
9bb70c2c4d
Update usages of global ... change-at to use the new change-global combinator
2009-04-30 21:38:14 -05:00
Slava Pestov
59bec433f4
Add unportable tag to merger and fix indentation in ui.gadgets.tables
2009-04-30 21:37:53 -05:00
Joe Groff
49674dc8ad
Merge branch 'master' of git://factorcode.org/git/factor
2009-04-30 21:36:54 -05:00
Joe Groff
9149f375d1
WGL_ARB_pixel_format extension binding
2009-04-30 21:35:50 -05:00
Slava Pestov
f423a0d117
Merge git://github.com/bogiebro/factor into bogiebro2
2009-04-30 21:22:38 -05:00
Slava Pestov
d93514d47d
Merge branch 'master' of git://factorcode.org/git/factor
2009-04-30 21:13:36 -05:00
Slava Pestov
e5cdb7ac2d
call( fast-path now supports curry and compose
2009-04-30 21:08:29 -05:00
Slava Pestov
a79e3eb687
Passing an invalid parameter to 'declare' doesn't break the compiler anymore
2009-04-30 20:40:47 -05:00
Joe Groff
3edd57aaa4
eliminate windows.opengl32 dependency from opengl.gl.windows so we can use opengl.gl.extensions to define wgl extensions
2009-04-30 20:38:18 -05:00
Slava Pestov
10e21bf8d3
tools.deploy.shaker: update for method dispatch changes
2009-04-30 20:35:55 -05:00
Joe Groff
76d375b56b
OS-independent pixel formats abstraction
2009-04-30 20:31:33 -05:00
Slava Pestov
f51b7b2677
Fix tools.time output in the TTY listener
2009-04-30 20:03:52 -05:00
Slava Pestov
742d574162
Non-optimizing compiler doesn't need to optimize 'dispatch' primitive anymore since its rarely used
2009-04-30 19:42:08 -05:00
Slava Pestov
d72bf515f8
tools.walker: fix tests
2009-04-30 19:06:54 -05:00
Doug Coleman
bb84d493fa
make windows.fonts unportable
2009-04-30 18:35:34 -05:00
Slava Pestov
f9ec0a07c5
Fix PICs for x86-64
2009-04-30 18:00:49 -05:00
Doug Coleman
4a5009048f
support fullscreen mode in windows ui
2009-04-30 15:22:32 -05:00
Doug Coleman
6ec73b2a2a
fix bootstrap on windows. here's an opportunity to use literals.
2009-04-30 13:47:49 -05:00
Doug Coleman
31ce2252e7
fix win32 error handling
2009-04-30 13:11:51 -05:00
Doug Coleman
64ac2bae6d
make tools.scaffold.windows unportable
2009-04-30 10:27:18 -05:00
Doug Coleman
335d7b9cee
Merge branch 'master' of git://factorcode.org/git/factor
2009-04-30 10:26:51 -05:00
Doug Coleman
65d76e6509
finish fixing the using list for windows.errors, more ffi bindings
2009-04-30 10:25:59 -05:00
Doug Coleman
8ab4d39036
move windows error handling to windows.errors and update usages.
2009-04-30 09:36:25 -05:00
Sam Anklesaria
5038cb3ba6
added run-desc in io.launcher
2009-04-30 08:30:45 -05:00
Sam Anklesaria
a18c5816e0
refactoring cocoa.dialogs for directories
2009-04-30 08:29:49 -05:00
Slava Pestov
5c9dc6d753
Tag-only PIC checks would always miss
2009-04-30 06:41:37 -05:00
Slava Pestov
4ae6269185
PPC make-image fix
2009-04-30 05:59:59 -05:00
Slava Pestov
5fb5c19d61
Machine code is now stored in a byte array instead of an array for add_code_block()
2009-04-30 04:34:35 -05:00
Slava Pestov
59d6131c7c
Bum 3 instructions out of megamorphic fast path by switching to fixed-size caches
2009-04-30 04:14:14 -05:00
Slava Pestov
8c01b79d06
Fix PPC make-image
2009-04-30 04:00:44 -05:00
Slava Pestov
515c619202
Non-optimizing compiler now open-codes megamorphic dispatch fast path
2009-04-30 03:37:07 -05:00
Slava Pestov
964fbd0a24
Fix test failures from ratio/complex built-in removal
2009-04-30 00:38:55 -05:00
Slava Pestov
663db67b23
compiler.tree.debugger: wasn't counting intrinsics properly when computing report
2009-04-30 00:27:51 -05:00
Slava Pestov
fc4894fbdf
Replace ratio and complex built-in types with tuples defined in the library. This frees up two lo-tags, so move array and quotation over to these tags and update compiler for new tags
2009-04-30 00:27:35 -05:00
Slava Pestov
3bbfc57de3
bootstrap.image: remove some duplication from emit-object callers
2009-04-29 23:35:02 -05:00
Slava Pestov
62db617927
Get rid of two instructions from tag pics and one instruction from all others
2009-04-29 22:24:28 -05:00
Slava Pestov
5188f4e1f0
Fix TEST opcode in cpu.x86.assembler
2009-04-29 22:23:42 -05:00
Slava Pestov
bd186b6320
Eliminate 3 instructions from PIC fast path
2009-04-29 21:32:05 -05:00
Doug Coleman
afa787989a
fix bug in tools.scaffold
2009-04-29 19:41:22 -05:00
Slava Pestov
deaea55d85
compiler: don't wrap non-inference errors in compile errors, since they indicate compiler bugs; just rethrow them. Add unit test for a PIC regression
2009-04-29 19:39:04 -05:00
Doug Coleman
402dc1221d
Merge branch 'master' of git://factorcode.org/git/factor
2009-04-29 19:11:16 -05:00
Doug Coleman
7fe22b14f8
don't scaffold an authors file if the developer-name is not set
2009-04-29 19:06:06 -05:00
Doug Coleman
939c2fa64e
scaffold-emacs should use application-data directory on windows
2009-04-29 18:22:54 -05:00
Joe Groff
7857c0c939
typo in delegate docs
2009-04-29 14:59:54 -05:00
Joe Groff
c3b63821b9
literal syntax for rects
2009-04-29 14:58:55 -05:00
Sam Anklesaria
3cf4f45416
comboboxes vocab + ui authors, summaries
2009-04-29 14:19:30 -05:00
John Benediktsson
21fbed98b3
Merge branch 'master' of git://factorcode.org/git/factor
2009-04-29 04:11:25 -07:00
Slava Pestov
38a38a57a9
Fix hi-tag-or-tuple PICs
2009-04-29 03:00:09 -05:00
Slava Pestov
9243316489
Debugging inline caching
2009-04-28 23:05:18 -05:00
Doug Coleman
2d0925d995
add make-hard-link to io.files.links
2009-04-28 22:51:35 -05:00
Slava Pestov
8c25569e9e
tools.time: print method dispatch statistics
2009-04-28 22:45:19 -05:00
Slava Pestov
7f766ab355
Update compiler tests for tag number changes
2009-04-28 21:43:30 -05:00
Slava Pestov
c15a4c1c5a
Add new relocation type for call sites which may be replaced by ICs
2009-04-28 17:53:14 -05:00
Slava Pestov
5f6c074edd
Split up types.c/h into smaller files, remove optimized slot from F_WORD struct
2009-04-28 17:26:11 -05:00
Slava Pestov
3985b18026
Add -pic= command line argument
2009-04-28 16:58:19 -05:00
Slava Pestov
e940f6fd8b
Add method dispatch statistics
2009-04-28 16:58:05 -05:00
Slava Pestov
4d10105802
Working on inline caching
2009-04-28 03:48:37 -05:00
Slava Pestov
7b08accb7e
Merge branch 'master' into inline_caching
2009-04-27 16:14:45 -05:00
Slava Pestov
4cc48dcb12
Merge branch 'for-slava' of git://git.rfc1149.net/factor
2009-04-27 14:13:58 -05:00
Slava Pestov
5ff2c2e2bf
Don't compile predicate engines since there's no gain
2009-04-27 14:10:12 -05:00
Joe Groff
a2c7074a6b
Merge branch 'master' of git://factorcode.org/git/factor
2009-04-27 14:02:24 -05:00
Joe Groff
49771779c1
symbols in functors
2009-04-27 14:02:14 -05:00
Samuel Tardieu
18abc8b9f1
Add q+ and q- to math.quaternions
...
This makes the quaternions library self-contained and more independent
of the underlying representation.
2009-04-27 17:24:39 +02:00
John Benediktsson
d804a0a683
Merge branch 'master' of git://factorcode.org/git/factor
2009-04-27 03:04:37 -07:00
Slava Pestov
bf0e8606a8
Merge branch 'master' into inline_caching
2009-04-26 21:26:39 -05:00
Slava Pestov
84f672e74b
tuple-arrays: further performance improvements
2009-04-26 21:24:55 -05:00
Slava Pestov
58cba832a0
functors: add support for call-next-method
2009-04-26 21:22:20 -05:00
Slava Pestov
7094b78821
Add firstn-unsafe, input<sequence-unsafe
2009-04-26 21:22:06 -05:00
Slava Pestov
dac5203e81
compiler.tree.builder: Fix scoping of a variable by hints vocab
2009-04-26 16:04:44 -05:00
Slava Pestov
291ac48a17
tuple-arrays: completely rewritten to use functors, 10x faster on benchmark
2009-04-26 13:31:10 -05:00
Slava Pestov
f94a44f3fd
Merge branch 'master' into inline_caching
2009-04-26 09:22:27 -05:00
Slava Pestov
7e84daf0f1
Move (execute) to kernel.private
2009-04-26 02:42:37 -05:00
Doug Coleman
28cacc8d61
fix some compiler tests
2009-04-26 02:23:33 -05:00
Doug Coleman
10ca076722
Merge branch 'master' of git://factorcode.org/git/factor
2009-04-26 00:53:20 -05:00
erg
acd312ab19
fix IN: for compiler tests
2009-04-26 00:51:47 -05:00
Doug Coleman
a25376278b
set error-summary? to true by default
2009-04-26 00:45:14 -05:00
Slava Pestov
8ea3db9eef
Get rid of a 'rot'
2009-04-25 22:35:30 -05:00
Slava Pestov
76281235e7
bootstrap.image: clean up jit-define and define-sub-primitive so that
2009-04-25 22:35:19 -05:00
Slava Pestov
356537593e
Get rid of execute-unsafe now that (execute) is more versatile
2009-04-25 21:50:34 -05:00
Doug Coleman
bada2176bc
use new locals syntax in calendar, add routine for calculating easter
2009-04-25 21:21:15 -05:00
Slava Pestov
27c84e89fe
Working on faster (execute)
2009-04-25 21:14:59 -05:00
Slava Pestov
2630c4a95f
Add local caching
2009-04-25 20:33:52 -05:00
Doug Coleman
3f764fc872
fix file mode for read only mmap in unix
2009-04-25 20:03:13 -05:00
Slava Pestov
7aa65b5b5f
Fixing new method dispatch implementation
2009-04-25 19:41:27 -05:00
Doug Coleman
c44349c74e
test read-only mmap
2009-04-25 19:32:44 -05:00
Doug Coleman
06b449e5ce
Merge branch 'master' of git://factorcode.org/git/factor
2009-04-25 19:30:56 -05:00
Doug Coleman
90d40a7650
calculate a magic number in md5
2009-04-25 19:22:46 -05:00
Doug Coleman
2484ea07b0
support read-only mmap
2009-04-25 19:22:00 -05:00
Slava Pestov
66b4d42e13
math.blas: use gfortran by default on linux-x86-64 since latest ubuntu blas packages are compiled with gfortran abi
2009-04-25 17:03:50 -05:00
Slava Pestov
d03b1eef01
Compile methods of generic words since the generic word itself doesn't get compiled
2009-04-24 20:54:30 -05:00
Slava Pestov
3dc9fdf9db
Fleshed out new dispatch code
2009-04-24 20:43:01 -05:00
Doug Coleman
5e5042fe5f
fix help-lint, compilation issue in io.directories.search
2009-04-24 19:01:26 -05:00
Slava Pestov
c877146531
Move method-declaration to hints
2009-04-24 16:53:30 -05:00
Slava Pestov
dd306a6212
Merge branch 'master' into inline_caching
2009-04-24 16:45:56 -05:00
Doug Coleman
0220609928
handle errors when traversing directories
2009-04-24 16:24:31 -05:00
Slava Pestov
8c5b0373a8
Working on new method dispatch system
2009-04-24 15:31:06 -05:00
Doug Coleman
c3c51e2c60
more tests for io.directories.search, fix docs, refactoring
2009-04-24 15:22:12 -05:00
Doug Coleman
33743c1a3d
refactor io.directories.search
2009-04-24 14:49:31 -05:00
Slava Pestov
4d678d7436
Merge branch 'master' of git://factorcode.org/git/factor
2009-04-24 09:44:46 -05:00
Slava Pestov
b00d81e47b
Add time spent scanning cards to 'time' output
2009-04-24 09:44:29 -05:00
Doug Coleman
3b19a26e07
Merge branch 'master' of git://factorcode.org/git/factor
2009-04-24 01:19:08 -05:00
Doug Coleman
0759ddcfca
fix io.directories.search -- doens't call link-info twice on every file now
2009-04-24 01:18:29 -05:00
Slava Pestov
eb4981fb00
ui.gadgets.tables: if model changes, try to preserve selection
2009-04-24 01:14:02 -05:00
Slava Pestov
2e115dc5c3
Better prettyprinting of method-body instances
2009-04-24 00:20:33 -05:00
Slava Pestov
04c6e8fcf8
Fix tools.errors unit test and help lint
2009-04-24 00:10:48 -05:00