Commit Graph

16465 Commits (d5fb53d41721f1bc8c33c9c086ab03674f121d5f)

Author SHA1 Message Date
Slava Pestov d5fb53d417 compiler.cfg.debugger: fix fake-representations so that low-level-ir tests can pass on x86 2009-08-25 23:44:01 -05:00
Slava Pestov 4fe0257169 cpu.x86: use SQRTSD instruction for math.libm:fsqrt word 2009-08-25 23:22:15 -05:00
Slava Pestov 6093ca03f1 Merge branch 'master' of git://factorcode.org/git/factor 2009-08-25 22:37:28 -05:00
Slava Pestov e44b2eb875 cpu.ppc.assembler: LOAD32 assembler macro was busted 2009-08-25 22:37:10 -05:00
Joe Groff 938ab5e748 no really, support <c-type-array> of structs using struct-arrays 2009-08-25 20:57:23 -05:00
Joe Groff 8a7c3fbd6f Merge branch 'master' of git://factorcode.org/git/factor 2009-08-25 20:43:51 -05:00
Joe Groff db57757871 support <c-type-array> of structs using struct-arrays 2009-08-25 20:43:48 -05:00
Joe Groff 2a6200a91d support <c-type-array> on complex ffi types 2009-08-25 19:58:04 -05:00
sheeple 2f789f735d basis/compiler/tests/low-level-ir: add ##copy double-float-rep test 2009-08-25 19:41:17 -05:00
Slava Pestov ece198bbfb Merge branch 'master' of git://factorcode.org/git/factor 2009-08-25 19:39:24 -05:00
Slava Pestov 9805dde418 basis/cpu: eliminate some usages of rot 2009-08-25 19:38:48 -05:00
Slava Pestov 97bf833e31 benchmark.raytracer: eliminate -rot usage 2009-08-25 19:33:48 -05:00
Slava Pestov e9818be8ae cpu.ppc.assembler: fix FMR and FMR. opcodes 2009-08-25 19:33:35 -05:00
Joe Groff 0823fc782d byte-length method for classes.struct STRUCTs 2009-08-25 19:04:29 -05:00
Joe Groff a5585f80d8 specialized-arrays.direct: define byte-length on direct arrays 2009-08-25 18:54:15 -05:00
Joe Groff 8ec44ce486 docs for require-c-type-arrays, <c-type-array>, <c-type-direct-array> 2009-08-25 18:51:56 -05:00
Joe Groff 719f3b0b33 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
Joe Groff a9b9ca01f8 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
Joe Groff beff77f3fb add missing use to classes.struct tests 2009-08-25 17:19:26 -05:00
Joe Groff 8baae18cdc 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
Joe Groff e2b444c8bd make classes.struct work with string pointer slots 2009-08-25 13:18:20 -05:00
Joe Groff 01552987c7 classes.c-types is kinda half-baked. get rid of it, and make classes.struct parse c types directly 2009-08-25 13:03:43 -05:00
Joe Groff 222b30c3ff Merge branch 'master' of git://factorcode.org/git/factor 2009-08-25 11:40:26 -05:00
Joe Groff 192f6d04e5 fix classes.struct structs when used in FFI, add a test 2009-08-25 11:40:05 -05:00
Joe Groff 71e998bc13 add aliases to classes.c-types to look more like FFI types 2009-08-25 11:39:44 -05:00
Slava Pestov c973b929f5 alien.marshall: fix unit tests 2009-08-25 05:10:41 -05:00
Slava Pestov f65f1b9884 alien.marshall.syntax: don't clobber bool type in unit tests 2009-08-25 05:06:16 -05:00
Slava Pestov 1aacd8e9d4 windows.com.wrapper: crash fix 2009-08-25 05:02:50 -05:00
Slava Pestov 88f5ebf4b9 help.vocabs: 'authors' and 'tags' weren't recursing like they should've been 2009-08-24 21:56:14 -05:00
Slava Pestov 05093d8eee Improve destructors docs, fix bug where debug-leaks? wasn't being switched off 2009-08-24 21:44:48 -05:00
Slava Pestov 8aba04358c io.monitors: fixes for disposable protocol 2009-08-24 20:55:24 -05:00
Slava Pestov b76d16d2d1 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 671b636f9c ui.pixel-formats: fix screwup 2009-08-24 20:45:19 -05:00
Slava Pestov 5a2c662622 tools.destructors: leaks now tracks leaks globally 2009-08-24 20:45:06 -05:00
Slava Pestov 4c758c4306 Merge branch 'master' of git://factorcode.org/git/factor 2009-08-24 20:34:15 -05:00
Slava Pestov 92e09a9f68 Move a few more things over to new disposable protocol 2009-08-24 20:33:27 -05:00
Slava Pestov f6779f2971 destructors: already-unregistered error had the wrong content, also don't throw an error when disposing a disposable twice 2009-08-24 20:27:22 -05:00
Slava Pestov bd838e419b 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 52fd943e10 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 57de0352b6 libc: use central disposables mechanism to track mallocs 2009-08-24 20:21:03 -05:00
Slava Pestov 236409fbe5 io.streams.duplex: fix test 2009-08-24 20:19:55 -05:00
Joe Groff 33ebdf5f13 make memory.piles load without auto-use 2009-08-24 19:43:19 -05:00
Joe Groff d012dd5834 Merge branch 'master' of git://factorcode.org/git/factor 2009-08-24 18:04:44 -05:00
Slava Pestov 50641a5059 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 84485ff8a0 tools.deploy.shaker: more compact next-method shaking 2009-08-23 19:18:12 -05:00
Slava Pestov 6380e5be4d 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 18c77a011b tools.deploy.shaker: fix regression; strip-compiler-classes wasn't working 2009-08-23 17:54:37 -05:00
Joe Groff 845fe9cfda handle RGBA pngs (when inflate finally works) 2009-08-23 09:51:12 -05:00
Joe Groff f32a7f4b61 Merge branch 'master' of git://factorcode.org/git/factor 2009-08-23 08:23:11 -05:00
Joe Groff 5f6a8c16fb memory.piles: <pile-c-object> and <pile-c-array> convenience words 2009-08-22 21:03:39 -05:00