Commit Graph

517 Commits (f6643a1c72a905a543fa40b403fb5cd3dce1f45a)

Author SHA1 Message Date
Slava Pestov b307c6dac3 Fix tree shaker again, gah 2009-09-02 07:28:40 -05:00
Slava Pestov e3f5452502 tools.deploy.shaker: fix snafu 2009-09-02 04:30:29 -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
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
Slava Pestov 11b2a409c3 Merge branch 'master' of git://factorcode.org/git/factor 2009-08-29 22:11:20 -05:00
Joe Groff 51405868d1 ignore deprecations in words that are themselves deprecated 2009-08-29 17:41:21 -05:00
Samuel Tardieu b7c50e6159 Merge branch 'master' of git://factorcode.org/git/factor 2009-08-29 16:23:13 +02:00
Slava Pestov 790e7ec0bc tools.deprecation: suppress 'computing usage index...' message 2009-08-28 05:32:34 -05:00
Slava Pestov a96743d375 tools.deprecation: don't bail out if a word's usages are not all words 2009-08-28 05:31:27 -05:00
Slava Pestov 3f493bce1a Merge branch 'master' of git://factorcode.org/git/factor 2009-08-27 20:30:08 -05:00
Slava Pestov f1b4d94f2f tools.deploy: remove malloc debugging better, and don't set next-method word prop for methods that don't call-next-method 2009-08-27 20:29:16 -05:00
Slava Pestov 0d70d07cf1 tools.deploy.test: give PowerPC an extra 100kb 2009-08-27 20:27:35 -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 e44a0158e6 tools.destructors: leaks now tracks leaks globally 2009-08-24 20:45:06 -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 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 387007abfe tools.deploy.shaker: fix regression; strip-compiler-classes wasn't working 2009-08-23 17:54:37 -05:00
Slava Pestov 3979608b09 tools.deploy: faster default method stripping 2009-08-22 19:26:56 -05:00
Slava Pestov d85b66536f Add docs for break and B words 2009-08-22 17:45:18 -05:00
Joe Groff 94c50cfaeb install deprecation definition-observer as an init-hook 2009-08-20 16:18:06 -05:00
Joe Groff 6089251574 move deprecation to tools.deprecation; load with bootstrap.tools 2009-08-20 16:17:36 -05:00
Doug Coleman 3f3d57032b Delete empty unit tests files, remove 1- and 1+, reorder IN: lines in a lot of places, minor refactoring 2009-08-13 19:21:44 -05:00
Slava Pestov d0fe741746 tools.deploy.shaker: strip out specialized vector words 2009-08-09 04:48:44 -05:00
Slava Pestov 83e0c60573 tools.test: flush the output stream 2009-08-08 23:03:53 -05:00
Slava Pestov 3b2fd98e7c Refactor source-file-errors a little bit to remove some code duplication, and so that clicking 'Edit' in error list tool works for parse errors in unit tests 2009-08-04 21:01:21 -05:00
Samuel Tardieu 761ebf0437 Merge branch 'master' of git://factorcode.org/git/factor 2009-07-30 12:09:31 +02:00
Slava Pestov 4175585fd4 Merge branch 'master' into dcn 2009-07-28 11:20:43 -05:00
Slava Pestov 7c5e2f2933 tools.annotations: doc addition 2009-07-28 06:49:03 -05:00
Joe Groff 7493e07c68 disassemble method for byte-arrays. HEX{ abcd } syntax for byte-arrays 2009-07-27 22:14:26 -05:00
Doug Coleman c762d2b422 scaffold tools now uses the boolean type instead of "a boolean" 2009-07-24 18:09:14 -05:00
Joe Groff 4b8132d777 factor compilation unit from tools.annotations:reset 2009-07-14 11:43:32 -05:00
Joe Groff c0e99e738e fix inaccuracy in tools.annotations docs 2009-07-14 11:43:11 -05:00
Slava Pestov afdd537681 tools.annotations: add (annotate) word which doesn't create a compilation unit for use in loops 2009-07-13 23:35:21 -05:00
Samuel Tardieu 28aa685a82 Merge branch 'symbolic-xt' 2009-07-10 11:21:10 +02:00
Slava Pestov daed003f33 vocabs.hierarchy: more refactoring, update existing code for new API 2009-07-06 04:55:23 -05:00
Slava Pestov f53efa88c6 tools.annotations: redo 'watch' so that it doesn't call 'datastack' anymore, instead use macros to capture stack values. This works better with compiler optimizations 2009-07-03 22:32:30 -05:00
Samuel Tardieu 6a65850608 WIP: crude xt>name disassembler help 2009-06-24 13:15:13 +02:00
Doug Coleman 166afc5784 add scaffold words for default vocab roots 2009-06-21 00:59:06 -05:00
Doug Coleman 3cabf3aeca Merge branch 'master' of git://factorcode.org/git/factor 2009-06-11 11:10:20 -05:00
Slava Pestov aaeeaa1e6f Fix load errors 2009-06-08 04:18:57 -05:00
Doug Coleman ce37c8e082 add a hexdump-file word 2009-06-05 22:49:07 -05:00
Slava Pestov d442167354 tools.annotations: work better on generic words 2009-05-27 19:36:52 -05:00
Doug Coleman 407377fc98 rename peek -> last and update all usages 2009-05-25 16:38:33 -05:00
Doug Coleman 95837d53bc use iota 2009-05-25 15:18:20 -05:00
Slava Pestov 909082e212 tools.disassembler.gdb: remove redundant using 2009-05-17 23:39:05 -05:00
Slava Pestov 7b76d64510 tools.deploy.shaker: update for parser.notes 2009-05-16 16:40:40 -05:00
Slava Pestov a0eb60906d Fix even more usings 2009-05-16 10:45:17 -05:00
Slava Pestov 132249660d Fix conflict 2009-05-16 09:48:42 -05:00
Doug Coleman 241e6a64bf call link-info instead of file-info, fix wonky spacing, name a constant 2009-05-15 22:31:50 -05:00
Slava Pestov b62630b5ac Updating code in basis and extra for stricter vocab search path semantics 2009-05-14 23:23:06 -05:00
Slava Pestov 0c1e519dcb Rename use+ to add-use, move search to vocabs.parser, EXCLUDE: bombs out if word doesn't exist 2009-05-13 22:15:48 -05:00
Slava Pestov ca6cbbb2f9 tools.annotations: now prints a table of values 2009-05-13 17:03:41 -05:00
Slava Pestov f9d711c307 tools.deploy.shaker: Only strip out compiler classes if user doesn't request full environment 2009-05-12 16:56:36 -05:00
Slava Pestov 2fdc666589 tools.deploy.test: use try-output-process, and run VM from .app bundle when testing deployed app. This makes the game-input deploy test work 2009-05-12 05:16:46 -05:00
Slava Pestov 2508ba2e6d tools.deploy.shaker: better I/O stripping, and more effective compiler class stripping by clearing megamorphic caches 2009-05-12 04:20:02 -05:00
Slava Pestov 75cfe40c6c Add deploy test to ensure game-input works 2009-05-11 17:04:14 -05:00
Slava Pestov 4711768e6c tools.deploy.shaker: load ui.debugger into UI apps deployed with debugging support 2009-05-11 16:20:16 -05:00
Slava Pestov 3fe5bb872b Deploy tool always uses optimizing compiler now 2009-05-11 00:32:22 -05:00
Slava Pestov 9de34ab3cd Fix deployment of UI apps and implement various tricks to make deployed images smaller 2009-05-10 21:33:13 -05:00
Slava Pestov 7a0760a0f9 tools.deploy.shaker: strip out a few more things 2009-05-08 02:35:46 -05:00
Slava Pestov 741e97e57e tools.trace: fix for call( 2009-05-06 23:47:17 -05:00
Slava Pestov 05b49e15e0 tools.time: remove unneeded math.vectors dependency 2009-05-06 14:56:50 -05:00
Slava Pestov a4d80eb27b tools.disassembler.udis: fix unix tests 2009-05-05 17:35:06 -05:00
Slava Pestov e4289f5ae4 tools.disassembler.udis: fix types for Windows 2009-05-05 15:56:53 -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 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
Slava Pestov 029d93a838 Make walker work better with call( and breakpoints which are nested inside combinators 2009-05-05 09:12:32 -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
Nicholas Seckar 94e64b6e9c Add docs for load-all-under and all-vocabs-under 2009-05-03 21:14:44 -07: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
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 85bd9209f9 tools.disassembler.udis: fix careless <c-object> usage 2009-05-01 02:44:29 -05:00
Slava Pestov d93514d47d Merge branch 'master' of git://factorcode.org/git/factor 2009-04-30 21:13:36 -05:00
Slava Pestov 10e21bf8d3 tools.deploy.shaker: update for method dispatch changes 2009-04-30 20:35:55 -05:00
Slava Pestov f51b7b2677 Fix tools.time output in the TTY listener 2009-04-30 20:03:52 -05:00
Slava Pestov d72bf515f8 tools.walker: fix tests 2009-04-30 19:06:54 -05:00
Doug Coleman 64ac2bae6d make tools.scaffold.windows unportable 2009-04-30 10:27:18 -05:00
Doug Coleman afa787989a fix bug in tools.scaffold 2009-04-29 19:41:22 -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
Slava Pestov 8c25569e9e tools.time: print method dispatch statistics 2009-04-28 22:45:19 -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 7e84daf0f1 Move (execute) to kernel.private 2009-04-26 02:42:37 -05:00
Slava Pestov 7aa65b5b5f Fixing new method dispatch implementation 2009-04-25 19:41:27 -05:00
Slava Pestov 3dc9fdf9db Fleshed out new dispatch code 2009-04-24 20:43:01 -05:00
Slava Pestov b00d81e47b Add time spent scanning cards to 'time' output 2009-04-24 09:44:29 -05:00
Slava Pestov 04c6e8fcf8 Fix tools.errors unit test and help lint 2009-04-24 00:10:48 -05:00
Slava Pestov cc5b1c1e2d Split off some code into tools.errors.model and update UI listener's error summary when errors change 2009-04-23 22:36:34 -05:00
Slava Pestov 5649cc7a0a Compiler warnings are no more 2009-04-23 22:17:25 -05:00
Slava Pestov c2fe2a4fea Improve stack checker documentation 2009-04-23 03:48:32 -05:00
Doug Coleman 7f983f12d4 fix help lint failures, fix example in words 2009-04-22 12:26:28 -05:00
Slava Pestov cd91b2e755 tools.errors: fix printing of errors with no associated source file 2009-04-22 10:46:50 -05:00
Slava Pestov 3353a777f7 Fixing some unit test failures 2009-04-22 07:05:00 -05:00
Slava Pestov 3783d8513f tools.deploy.shaker: fix 2009-04-22 04:41:03 -05:00
Slava Pestov 48e70b65fa Move cross-referencing stuff to tools.crossref since compiler doesn't depend on it anymore, and compute cross-referencing index as needed; reduces image size by ~4Mb 2009-04-22 04:20:38 -05:00
Slava Pestov a9b4a724a4 Remove "compiled-status" word prop and simplify associated machinery 2009-04-21 03:23:11 -05:00