Commit Graph

4737 Commits (f5b539bb00f67337ca8a434611fdfab83d1969a3)

Author SHA1 Message Date
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
Sam Anklesaria 68c895f391 io.launcher run-desc fixes 2009-05-06 21:33:49 -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
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
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
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
Sam Anklesaria 9f0237ef27 io.launcher uses destructors 2009-05-05 17:23:41 -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
Sam Anklesaria ac55e26338 io.launcher: run-desc drops end newline 2009-05-04 18:40:57 -05: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
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
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
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