Commit Graph

4608 Commits (bd04fa9a59c396f89ae87341410e9c3ebe480963)

Author SHA1 Message Date
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
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
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
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
Doug Coleman 74ac35f432 Merge branch 'master' into directory-searching 2009-04-24 00:05:03 -05:00