Commit Graph

6057 Commits (eb21a7b0dd93f4c41dbdfbf1474aff1ea4d47cd3)

Author SHA1 Message Date
Slava Pestov 1f58ca9e2a Merge branch 'master' of git://factorcode.org/git/factor 2009-08-27 00:06:30 -05:00
Slava Pestov f662e6403a compiler: new inline intrinsic for <displaced-alien> where the inputs have known types; value numbering now eliminates unnecessary allocation of displaced aliens if the result is immediately unboxed again 2009-08-27 00:06:19 -05:00
Joe Groff 69e640c55b throw a friendlier error when attempting to create a struct without slots 2009-08-26 22:37:59 -05:00
Joe Groff 53b7729f76 require struct-arrays after alien.structs is loaded 2009-08-26 22:24:55 -05:00
Joe Groff 64990eb23d test that array slots in structs optimize down 2009-08-26 21:50:12 -05:00
Joe Groff 08867f3576 inline sequence methods on direct-arrays 2009-08-26 21:49:45 -05:00
Joe Groff ecd0bdbd58 test that struct-arrays and struct construction optimize down 2009-08-26 21:38:00 -05:00
Joe Groff 4bf4cacc4b make struct-prototype foldable so that <struct> compiles efficiently 2009-08-26 21:27:12 -05:00
Joe Groff 4b56fa8009 add a partial eval for memory>struct so that it compiles efficiently when the struct class is known 2009-08-26 21:18:19 -05:00
Joe Groff 5376263984 more inlines on struct-arrays to make the optimizing go down smoother 2009-08-26 19:56:22 -05:00
Joe Groff ad463795aa fix struct-array of struct class; inline memory>struct so the compiler can optimize a little better 2009-08-26 19:20:20 -05:00
Joe Groff 9eb4ce2791 trying to memory>struct a non-struct class is feptastic 2009-08-26 19:09:38 -05:00
Joe Groff 49d123aa84 prettyprint struct-arrays 2009-08-26 18:22:51 -05:00
Joe Groff 2d66dc9f29 literal syntax for struct-arrays 2009-08-26 18:09:02 -05:00
Joe Groff f4c90fdabe bitwise equal? for struct objects 2009-08-26 18:05:38 -05:00
Joe Groff 469e4b526f use struct class in struct-arrays test 2009-08-26 17:38:33 -05:00
Joe Groff 24c2eaae01 box elements of struct-arrays when a struct class is used as the element type 2009-08-26 17:19:30 -05:00
Joe Groff 784b8c04ce move classes.struct from extra to basis 2009-08-26 15:55:01 -05:00
Joe Groff 8f99661f9a Merge branch 'master' of git://factorcode.org/git/factor 2009-08-26 14:59:18 -05:00
Joe Groff a56d4ec50d core-text: always create at least a 1x1 bitmap context. snow leopard refuses to create 0x0 contexts 2009-08-26 14:58:15 -05:00
Doug Coleman bdb95d7fc3 remove debug, fix bootstrap 2009-08-26 14:45:02 -05:00
Doug Coleman 974266c9d5 support loading images from streams, add load-http-image 2009-08-26 14:27:01 -05:00
Joe Groff 2ae4f64d65 Merge branch 'master' of git://factorcode.org/git/factor 2009-08-26 14:07:33 -05:00
Doug Coleman edb7090993 support seeking on limited streams 2009-08-26 13:48:41 -05:00
Joe Groff 4a9f885ac9 store struct class in struct-array 2009-08-26 13:13:19 -05:00
Doug Coleman ddea2453a4 Merge branch 'master' of git://factorcode.org/git/factor 2009-08-26 11:02:58 -05:00
Doug Coleman 1b77718625 use structs 2009-08-26 11:01:39 -05:00
Doug Coleman 03fc2a3461 Merge branch 'master' of git://factorcode.org/git/factor 2009-08-26 09:40:49 -05:00
Joe Groff 5a298a00fd windows.ole32 guid functions don't need to box the byte-arrays themselves anymore 2009-08-26 09:28:10 -05:00
Doug Coleman bbcf08cdc3 Merge branch 'master' of git://factorcode.org/git/factor 2009-08-26 09:15:33 -05:00
Slava Pestov 8bf709acd0 compiler.cfg.linear-scan: fix unit tests for new fake-representations 2009-08-26 08:58:00 -05:00
Slava Pestov 168c81b6ac Merge branch 'master' of git://factorcode.org/git/factor 2009-08-26 07:17:44 -05:00
Slava Pestov 0ff80a063d compiler: only run float test in low-level-ir if float intrinsics enabled; fixes SIGILL on non-sse2 x86 machines 2009-08-26 06:58:47 -05:00
Joe Groff 1403ba9482 Merge branch 'master' of git://factorcode.org/git/factor 2009-08-25 23:50:38 -05:00
Joe Groff a6c8e91f88 fix directory-entries so we can bootstrap again 2009-08-25 23:50:27 -05:00
Slava Pestov 132dff23ec Merge branch 'master' of git://factorcode.org/git/factor 2009-08-25 23:44:29 -05:00
Slava Pestov 8d55616d34 compiler.cfg.debugger: fix fake-representations so that low-level-ir tests can pass on x86 2009-08-25 23:44:01 -05:00
Joe Groff ff9b54fd0c Merge branch 'master' of git://factorcode.org/git/factor 2009-08-25 23:22:43 -05:00
Slava Pestov 0df8aadce2 cpu.x86: use SQRTSD instruction for math.libm:fsqrt word 2009-08-25 23:22:15 -05:00
Slava Pestov 86a8e016fe Merge branch 'master' of git://factorcode.org/git/factor 2009-08-25 22:37:28 -05:00
Slava Pestov b7e29ca8dd cpu.ppc.assembler: LOAD32 assembler macro was busted 2009-08-25 22:37:10 -05:00
Joe Groff b6bba164e4 box array c-types into direct-arrays 2009-08-25 21:36:25 -05:00
Joe Groff 87c670b785 no really, support <c-type-array> of structs using struct-arrays 2009-08-25 20:57:23 -05:00
Joe Groff 39ac27c50a Merge branch 'master' of git://factorcode.org/git/factor 2009-08-25 20:43:51 -05:00
Joe Groff a2518377e3 support <c-type-array> of structs using struct-arrays 2009-08-25 20:43:48 -05:00
Joe Groff 8aa9327dcc support <c-type-array> on complex ffi types 2009-08-25 19:58:04 -05:00
sheeple 61c1ed17d9 basis/compiler/tests/low-level-ir: add ##copy double-float-rep test 2009-08-25 19:41:17 -05:00
Slava Pestov fb1693bf1d Merge branch 'master' of git://factorcode.org/git/factor 2009-08-25 19:39:24 -05:00
Slava Pestov 1afd001393 basis/cpu: eliminate some usages of rot 2009-08-25 19:38:48 -05:00
Slava Pestov 7b2c9df341 cpu.ppc.assembler: fix FMR and FMR. opcodes 2009-08-25 19:33:35 -05:00
Joe Groff f4acf22433 specialized-arrays.direct: define byte-length on direct arrays 2009-08-25 18:54:15 -05:00
Joe Groff 005107973f docs for require-c-type-arrays, <c-type-array>, <c-type-direct-array> 2009-08-25 18:51:56 -05:00
Joe Groff 59cdec755a throw a better error if <c-type*-array> is called when specialized array vocab isn't loaded. fix <c-type-direct-array> 2009-08-25 18:24:49 -05:00
Doug Coleman d109126c4b more structs 2009-08-25 18:19:34 -05:00
Joe Groff 79787f6259 associate specialized-arrays vocabs with c-types; add words for requiring vocabs and constructing arrays by C type 2009-08-25 17:56:01 -05:00
Doug Coleman 003db124e2 use structs in process launcher 2009-08-25 17:46:07 -05:00
Doug Coleman c50eaf1c29 less aggressive open-file for file-times, use FILETIME struct now 2009-08-25 17:34:06 -05:00
Doug Coleman 3507616f3b use structs in a few places in windows backend 2009-08-25 17:23:23 -05:00
Doug Coleman 0ce57d0566 update new structs again 2009-08-25 16:31:58 -05:00
Joe Groff f56615cec0 add an X-sequence mixin class for each specialized array type to span X-array, X-vector, and direct-X-array 2009-08-25 15:58:18 -05:00
Doug Coleman 2c6ef83c13 update compiler.tests.alien to joe's latest changes 2009-08-25 12:00:06 -05:00
Doug Coleman b756a37d75 use new structs wherever possible in compiler tests 2009-08-25 11:59:33 -04:00
Doug Coleman 3a5c7d8908 Merge branch 'master' of git://factorcode.org/git/factor 2009-08-25 09:33:42 -04:00
Slava Pestov 93adf617c0 windows.com.wrapper: crash fix 2009-08-25 05:02:50 -05:00
Slava Pestov bb51ee8d26 help.vocabs: 'authors' and 'tags' weren't recursing like they should've been 2009-08-24 21:56:14 -05:00
Slava Pestov c925724d7b Improve destructors docs, fix bug where debug-leaks? wasn't being switched off 2009-08-24 21:44:48 -05:00
Slava Pestov 29b489c892 io.monitors: fixes for disposable protocol 2009-08-24 20:55:24 -05:00
Slava Pestov 7b6d00a833 alien.destructors: don't use disposable protocol, since it is common practice to 'leak' alien destructors (|Foo idiom) 2009-08-24 20:45:46 -05:00
Slava Pestov 8b68a07649 ui.pixel-formats: fix screwup 2009-08-24 20:45:19 -05:00
Slava Pestov e44a0158e6 tools.destructors: leaks now tracks leaks globally 2009-08-24 20:45:06 -05:00
Slava Pestov a2529717ba Merge branch 'master' of git://factorcode.org/git/factor 2009-08-24 20:34:15 -05:00
Slava Pestov b2a1858f8f Move a few more things over to new disposable protocol 2009-08-24 20:33:27 -05:00
Slava Pestov 623ddfca6f ui.tools.operations: disposables now have a 'dispose' operation, and disposables created within a 'leaks' now have an operation which shows the continuation that created them 2009-08-24 20:22:00 -05:00
Slava Pestov b12bbaf7ec tools.destructors: destructors. and leaks words now output a 'show instances' link which lists all relevant disposables 2009-08-24 20:21:38 -05:00
Slava Pestov 3be328056d libc: use central disposables mechanism to track mallocs 2009-08-24 20:21:03 -05:00
Slava Pestov 197a64eaae io.streams.duplex: fix test 2009-08-24 20:19:55 -05:00
Joe Groff 54ff361331 Merge branch 'master' of git://factorcode.org/git/factor 2009-08-24 18:04:44 -05:00
Doug Coleman 16ad61021f Merge branch 'master' of git://factorcode.org/git/factor 2009-08-24 09:58:48 -04:00
Slava Pestov 46045c882e Disposables are now registered in a global disposables set. To take advantage of this, subclass disposable instead of providing a disposed slot and call new-disposable instead of new. tools.disposables defines two words, 'disposable.' and 'leaks', to help track down resource lifetime problems 2009-08-24 02:26:13 -05:00
Slava Pestov e42216a569 tools.deploy.shaker: more compact next-method shaking 2009-08-23 19:18:12 -05:00
Slava Pestov 449be040f8 Use utf8 instead of ascii encoding in a couple of places to avoid pulling in ascii into deployed apps 2009-08-23 19:07:21 -05:00
Slava Pestov 387007abfe tools.deploy.shaker: fix regression; strip-compiler-classes wasn't working 2009-08-23 17:54:37 -05:00
Joe Groff 556adeb9b4 handle RGBA pngs (when inflate finally works) 2009-08-23 09:51:12 -05:00
Joe Groff f93363567e Merge branch 'master' of git://factorcode.org/git/factor 2009-08-23 08:23:11 -05:00
Doug Coleman 71652d2826 Merge branch 'master' of git://factorcode.org/git/factor 2009-08-22 21:27:26 -04:00
Doug Coleman f18aef2afb Merge branch 'master' of git://factorcode.org/git/factor 2009-08-22 21:24:02 -04:00
sheeple 981e8470bf Merge branch 'master' of git://factorcode.org/git/factor 2009-08-22 20:24:01 -05:00
sheeple b14dd8ab67 cpu.ppc: integer>fixnum scratch area overlapped with the rest of stack frame, very bad 2009-08-22 20:23:28 -05:00
Slava Pestov f82627e736 math.intervals: comment out questionable unit tests 2009-08-22 19:39:32 -05:00
Slava Pestov 3979608b09 tools.deploy: faster default method stripping 2009-08-22 19:26:56 -05:00
Slava Pestov 44448c3ff6 iokit: don't depend on debugger, reduces terrain demo size by a bit 2009-08-22 19:02:40 -05:00
Slava Pestov 5e8e83c645 bootstrap.image: smarter object folding; 500kb boot image size reduction on 64-bit 2009-08-22 17:56:58 -05:00
Slava Pestov d85b66536f Add docs for break and B words 2009-08-22 17:45:18 -05:00
Slava Pestov 81b72cb5c5 Add some unit tests 2009-08-22 17:15:10 -05:00
Joe Groff 2d6622e5e9 Merge branch 'master' of git://factorcode.org/git/factor 2009-08-22 13:42:52 -05:00
Joe Groff 6f6edd79ac combinators.smart: "keep-inputs" combinator 2009-08-21 21:17:15 -05:00
Slava Pestov 1961b4da16 next-fastcall-param word was not being called; on x86 its equivalent to inc but on ppc there is more logic, this fixes FFI on PowerPC 2009-08-21 20:15:19 -05:00
Slava Pestov 2c533472f8 Merge branch 'master' of git://factorcode.org/git/factor 2009-08-21 18:48:44 -05:00
Slava Pestov 9ab8734441 cpu.ppc: work in progress 2009-08-21 18:48:34 -05:00
Joe Groff c6b9a45881 $deprecated help markup 2009-08-20 18:36:55 -05:00