Commit Graph

4689 Commits (4711768e6c0f9aa18389de9866404991d1d5d34f)

Author SHA1 Message Date
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
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
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
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
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
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
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