Commit Graph

6243 Commits (e705470d4295f77646671fc26c44d764448d1845)

Author SHA1 Message Date
Doug Coleman f0e14d1c3c mirrors on structs again, add summary method for structs 2009-08-31 19:27:29 -05:00
Doug Coleman 3d975ea7ab struct mirrors were not ready yet 2009-08-31 19:10:48 -05:00
Doug Coleman 80e2feacd9 show c-type instead of factor type 2009-08-31 18:58:42 -05:00
Doug Coleman 1732bd730a better keys in sturct mirrors 2009-08-31 18:57:03 -05:00
Doug Coleman fee0953cc4 make-mirror method on structs. fix typo on struct-slots stack effect. don't filter initial values in struct>assoc because structs are more low-level and you want to see the entire layout of the struct you're working with, imo. 2009-08-31 18:51:47 -05:00
Joe Groff 3ea364bc80 suppress "no such C type" warnings from cocoa for "?" and private apple types 2009-08-31 18:10:35 -05:00
Joe Groff f6c6593579 fix struct-arrays USING: 2009-08-31 18:04:29 -05:00
Joe Groff 0a7b62177b link S{ and S@ docs in classes.struct 2009-08-31 18:04:09 -05:00
Joe Groff 0834b8270c Merge branch 'master' of git://factorcode.org/git/factor 2009-08-31 17:49:55 -05:00
Joe Groff 84adb4cb55 "struct-array-on" word to easily promote a struct over memory to a struct-array over the same memory. buff up the struct-arrays docs 2009-08-31 17:49:45 -05:00
Slava Pestov 8a1dbe1652 Merge branch 'master' of git://factorcode.org/git/factor 2009-08-31 16:48:24 -05:00
Slava Pestov 94c89e55e6 tools.deploy.shaker: strip out call( and execute( runtime checking in a way that still allows the inlining optimization to work 2009-08-31 16:48:10 -05:00
Slava Pestov 23f34febbb Fix image size regression with struct array tree shaking 2009-08-31 16:34:58 -05:00
Doug Coleman 740856eeca fix windows usings 2009-08-31 15:22:26 -05:00
Joe Groff bce748ee81 fix newly introduced references to c-type-array 2009-08-31 12:49:09 -05:00
Joe Groff 9bd7471696 fix some things that broke in the windows UI/game-input backends 2009-08-31 12:45:39 -05:00
Joe Groff 175529c938 Merge branch 'master' of git://factorcode.org/git/factor into struct-updates 2009-08-31 12:35:47 -05:00
Doug Coleman 0f8405c507 update pango for struct 2009-08-31 12:23:08 -05:00
Doug Coleman 6ac21a8cf9 fix using 2009-08-31 12:20:56 -05:00
Joe Groff f74351ce64 Merge branch 'master' of git://factorcode.org/git/factor into struct-updates 2009-08-31 12:01:23 -05:00
Joe Groff 1a84aa7fc3 Merge branch 'master' of git://factorcode.org/git/factor into struct-updates 2009-08-31 12:01:04 -05:00
Doug Coleman 0bcd7c2619 typo 2009-08-31 12:00:39 -05:00
Doug Coleman d22a25a3ec try to fix file-systems on a few platforms 2009-08-31 11:49:29 -05:00
Doug Coleman 6c996f4d30 fix netbsd file-systems 2009-08-31 11:38:21 -05:00
Doug Coleman 27af645048 fix file-systems on freebsd 2009-08-31 11:35:52 -05:00
Doug Coleman 736f78dfb5 Merge branch 'master' of git://factorcode.org/git/factor 2009-08-31 11:34:39 -05:00
Joe Groff 67dd3ff6b6 clean up some game-input.dinput code to take advantage of structs and specialized arrays 2009-08-31 11:31:01 -05:00
Joe Groff 43f81d3835 hashcode* for structs 2009-08-31 10:51:45 -05:00
Joe Groff 2d37ac31be Merge branch 'master' of git://factorcode.org/git/factor
Conflicts:
	basis/environment/winnt/winnt.factor
	basis/io/files/windows/nt/nt.factor
	basis/windows/shell32/shell32.factor
2009-08-31 10:35:58 -05:00
Joe Groff fc9f40b789 update environment.winnt for <c-array> change 2009-08-31 10:31:28 -05:00
Joe Groff efe4f838ea update windows.dinput structs 2009-08-31 10:28:22 -05:00
Joe Groff 5925043d34 update windows.* for <c-array> change 2009-08-31 09:58:27 -05:00
Joe Groff c1fe3854d4 update io.files.*.windows to use specialized arrays; also, io.files.info.windows was providing buffers that were too small, so fix that 2009-08-31 09:58:04 -05:00
Slava Pestov 2e119a0ae7 struct-arrays: hack it up so that if the class name is a literal parameter for the constructor, then the array works in deployed apps even if not every call site of nth or set-nth is inlined on the array. Fixes tools.deploy.test.5 regression after kqueue was converted to use STRUCT:. Because of Dan's call(-inlining, no perf regression on struct-arrays benchmark! 2009-08-31 05:42:28 -05:00
Slava Pestov 41e83d2246 Merge branch 'master' of git://factorcode.org/git/factor 2009-08-31 04:18:59 -05:00
Slava Pestov 6ed46177e9 Merge branch 'master' of git://factorcode.org/git/factor 2009-08-31 00:24:46 -04:00
Slava Pestov 861a3f563b x11.events, ui.backend.x11: actually make it work 2009-08-31 00:24:25 -04:00
Doug Coleman b91c8f5aad Merge branch 'master' of git://factorcode.org/git/factor 2009-08-30 23:09:35 -05:00
Doug Coleman b8ce02bea3 Merge branch 'master' of git://factorcode.org/git/factor 2009-08-30 23:08:19 -05:00
Doug Coleman 45629c63b3 update users/groups for new structs 2009-08-30 23:07:46 -05:00
Slava Pestov 6b2a108f03 Merge branch 'master' of git://factorcode.org/git/factor 2009-08-30 22:56:39 -05:00
Slava Pestov e36029b376 x11 and ui.backend.x11: update to use new structs 2009-08-30 22:55:19 -05:00
Doug Coleman e780e4fa55 Merge branch 'master' of git://factorcode.org/git/factor 2009-08-30 22:50:22 -05:00
Doug Coleman d8be0561fb make a struct for dirents on linux, not a <c-object> 2009-08-30 22:49:35 -05:00
Joe Groff 472189452d oops—fix STRUCT: functor 2009-08-30 22:40:18 -05:00
Joe Groff ccb27f81ea update math.blas for <c-array> change 2009-08-30 22:37:58 -05:00
Joe Groff 509ed99c79 refactor struct slot parsing so that there's a <struct-slot-spec> word for easily constructing struct slots outside classes.struct 2009-08-30 22:37:37 -05:00
Slava Pestov 1f40ea64f0 io.sockets.unix: cleanup two usages of 'rot' and use struct setter instead of memcpy 2009-08-30 22:21:14 -05:00
Slava Pestov 868009aaee compiler.cfg.intrinsics: cleanup: the "intrinsic" word property is now a quotation, not a boolean, making this mechanism more extensible 2009-08-30 22:20:49 -05:00
Doug Coleman 14973eacb5 update dirent for structs 2009-08-30 22:11:42 -05:00
Joe Groff 4a243d2c04 Merge branch 'master' of git://factorcode.org/git/factor 2009-08-30 22:08:46 -05:00
Doug Coleman d5a7dde7ee fix kqueue 2009-08-30 21:57:33 -05:00
Joe Groff 5d56e16188 Merge branch 'master' of git://factorcode.org/git/factor 2009-08-30 21:14:33 -05:00
Joe Groff adb15243f2 docs for new syntax and pprint config 2009-08-30 21:14:14 -05:00
Slava Pestov 5c10f390c7 Merge branch 'master' of git://factorcode.org/git/factor 2009-08-30 21:12:23 -05:00
Joe Groff e1e457c27e pprint S@, X-array@ in <block block> for better formatting 2009-08-30 21:12:02 -05:00
Joe Groff ab3ec291cd struct-array@ syntax 2009-08-30 21:05:21 -05:00
Slava Pestov 348311ea90 io.backend.unix: tweak test 2009-08-30 21:01:49 -05:00
Slava Pestov e918e9cddc classes.struct: add more unit tests for clone method, and fix clone breakage when the struct class word is not a symbol 2009-08-30 21:01:44 -05:00
Slava Pestov 6f1a7c731c cpu.ppc: fix %box-displaced-alien 2009-08-30 20:56:04 -05:00
Doug Coleman 867d87998c fix typo in stat struct 2009-08-30 20:46:49 -05:00
Joe Groff 82025bde30 likewise, an S@ word for structs 2009-08-30 20:46:31 -05:00
Doug Coleman b0e895b8f9 Merge branch 'master' of git://factorcode.org/git/factor 2009-08-30 20:26:44 -05:00
Doug Coleman 05cc8babb6 update kqueue for structs 2009-08-30 20:26:25 -05:00
Doug Coleman 6867f2a806 fix stat struct on freebsd 2009-08-30 20:25:57 -05:00
Joe Groff dee9f56500 add alternate literal syntax "X-array@ PTR LEN" for direct-arrays. pprint with this syntax when c-object-pointers? prettyprint flag is set, or the pointer under the direct-array is invalid 2009-08-30 20:23:55 -05:00
Slava Pestov 2dd3f5690d classes.struct: make <struct>, malloc-struct, and clone work in deployed images where C type info has been stripped out 2009-08-30 20:13:54 -05:00
Doug Coleman de94e49f06 escape the class name in io.files.info 2009-08-30 20:10:41 -05:00
Joe Groff 0f1270720d fix bootstrap 2009-08-30 20:09:43 -05:00
Doug Coleman d8e10a691d Merge branch 'master' of git://factorcode.org/git/factor 2009-08-30 19:06:02 -05:00
Doug Coleman 8be06f0e5e typo in stat 2009-08-30 19:05:49 -05:00
Joe Groff c9e83ba3c3 Merge branch 'master' of git://factorcode.org/git/factor 2009-08-30 19:05:43 -05:00
Joe Groff 0df9884ee5 change c-type-* to c-* everywhere 2009-08-30 19:05:29 -05:00
Slava Pestov bd629c1262 compiler/tests/codegen.factor: don't do exact float comparison 2009-08-30 18:57:45 -05:00
Joe Groff 361cc04b02 rather than deprecate <c-array>, replace it with <c-type-array> . to stay consistent, rename <c-type-direct-array> to <c-direct-array> and require-c-type-arrays to require-c-arrays 2009-08-30 18:41:38 -05:00
Doug Coleman 2e40f83393 Revert "added send-synchronous-timeout word and tests"
This reverts commit 488c3bcaa5.
2009-08-30 14:53:50 -05:00
Doug Coleman 97b6509cfe Revert "reworked messaging, now always use an envelope around the message to handle expiration correctly in all use-cases"
This reverts commit 8231d10136.
2009-08-30 14:53:33 -05:00
Doug Coleman 0f4dce4e4b Revert "move a word out of private vocab"
This reverts commit 978de4476c.
2009-08-30 14:53:19 -05:00
Doug Coleman 4c69f5641c move a word out of private vocab 2009-08-30 14:22:09 -05:00
Doug Coleman 447be26efd remove direct uint arrays in file info 2009-08-30 11:58:30 -05:00
Doug Coleman b938123d94 Merge branch 'for-slava' of git://github.com/x6j8x/factor into x6 2009-08-30 10:34:00 -05:00
Sascha Matzke 7f0f3c3c1a reworked messaging, now always use an envelope around the message to handle expiration correctly in all use-cases 2009-08-30 17:26:23 +02:00
Doug Coleman be9035753a fit typo 2009-08-30 10:02:32 -05:00
Sascha Matzke 0337413a51 Merge branch 'master' of git://factorcode.org/git/factor into for-slava 2009-08-30 16:59:41 +02:00
Doug Coleman d33fb83e26 Merge branch 'master' of git://factorcode.org/git/factor 2009-08-30 09:05:12 -05:00
Slava Pestov ec70e1d714 More minor documentation tweaks 2009-08-30 06:32:20 -05:00
Slava Pestov 7983b5515f math.functions: some fixes 2009-08-30 06:19:14 -05:00
Slava Pestov d23688ea1a tools.deploy.shaker: strip out functor-words global, fixing size regression from Joe's FUNCTOR-SYNTAX: patch 2009-08-30 05:36:16 -05:00
Sascha Matzke 3351391e50 added send-synchronous-timeout word and tests 2009-08-30 12:24:56 +02:00
Slava Pestov 447c5fbf7a compiler.cfg.linear-scan.live-intervals: dead-value-error is never thrown anymore 2009-08-30 05:15:18 -05:00
Slava Pestov 9595be4bf9 %box-displaced-alien: fix clobberage found by Doug 2009-08-30 05:11:08 -05:00
Slava Pestov 0db01f6d5f compiler.cfg.linear-scan now supports partial sync-points where all registers are spilled; taking advantage of this, there are new trigonometric intrinsics which yield a 2x performance boost on benchmark.struct-arrays and a 25% boost on benchmark.partial-sums 2009-08-30 04:52:01 -05:00
Doug Coleman 5c53b2c3e6 Merge branch 'master' of git://factorcode.org/git/factor 2009-08-30 04:07:00 -05:00
Doug Coleman 783eb0bb53 change all stat, statfs, statvfs and calendar structs 2009-08-30 04:06:41 -05:00
Marc Fauconneau 2d4ba8de4d Merge branch 'master' of git://factorcode.org/git/factor 2009-08-30 17:31:30 +09:00
Marc Fauconneau 5a20dee2aa Better error images for non-baseline JPEGs.
bugfix: Handles more than one table per DHT chunk.
2009-08-30 17:29:40 +09:00
Marc Fauconneau bf15648b4d Merge branch 'master' of git@github.com:prunedtree/factor
Conflicts:
	basis/math/matrices/matrices.factor
2009-08-30 17:24:25 +09:00
Doug Coleman d88cdffa47 Merge branch 'master' of git://factorcode.org/git/factor 2009-08-29 23:39:20 -05:00
Joe Groff be406fa964 fix alien.complex unboxer 2009-08-29 23:18:31 -05:00
Joe Groff 762a8c32cb Merge branch 'master' of git://factorcode.org/git/factor 2009-08-29 22:59:24 -05:00