Commit Graph

895 Commits (2c67a5cd78e5dcffd7146e6fd0eb95f810a497e1)

Author SHA1 Message Date
Slava Pestov 6492baea25 tools.deploy.shaker: strip out GObject introspection info 2011-02-27 20:02:14 -06:00
Slava Pestov 13bcc56b15 tools.deploy.test.21: deploy without threads to reduce image size 2011-02-27 14:38:47 -08:00
Slava Pestov a3558d1c0f tools.deploy: actually add the new test 2011-02-25 22:13:54 -08:00
Slava Pestov c6de3729db tools.deploy: add test for formatting vocab 2011-02-25 21:26:11 -08:00
Slava Pestov 5c5dda1afd Fix usage note in dns vocab, move tools.dns from basis to extra since dns vocab is in extra 2011-02-25 21:08:00 -08:00
Slava Pestov 29a5a4255d tools.deploy: fix a test on Windows 2011-02-25 21:06:22 -08:00
Slava Pestov 9af01e5482 tools.deploy: add XML deploy test 2011-01-29 00:07:22 -05:00
Keita Haga 5bd5b326dc tools.scaffold: fix a few typos in description of scaffold-undocumented word 2011-01-18 07:45:06 +09:00
Keita Haga d43dbb5c95 tools.time: fix typo in docs 2011-01-18 07:29:55 +09:00
Keita Haga 655f5a7a8a tools.deploy: fix typo in docs 2011-01-14 19:52:12 +09:00
Slava Pestov 55fd15c45a Move <ref>, deref and little-endian? from alien.c-types to alien.data, remove <c-object> 2010-12-25 16:55:36 -08:00
Keita Haga 954bb35bf9 tools.crossref: fix example 2010-11-29 18:41:57 +09:00
Slava Pestov adbf266b6c alien.enums: enum>number didn't work in deployed images, add a test which deploys and runs benchmark.ui-panes to catch this in the future 2010-10-17 21:02:42 -04:00
Doug Coleman b30d20dac7 Move the host word from dns to tools.dns 2010-10-08 06:34:18 -07:00
Doug Coleman 27f9f3a8f3 Squashed commit of the following:
commit 54b3e19c7407707fabddd53872559c58cd5143d2
Author: Doug Coleman <doug.coleman@gmail.com>
Date:   Mon Sep 27 19:10:15 2010 -0500

    Fix typo

commit 3207516dc93e0e1edc9f119efcc79f4484eab244
Author: Doug Coleman <doug.coleman@gmail.com>
Date:   Mon Sep 27 19:08:30 2010 -0500

    Rename io.servers.connection to io.servers
2010-09-27 19:12:33 -05:00
Slava Pestov 1beb6d1653 alien.data: remove deprecated malloc-object word 2010-09-20 21:36:20 -07:00
Doug Coleman 43624e037c Squashed commit of the following:
commit 197dbe9a6733775ac0ea19b3da4bd4dc3c85418c
Author: Doug Coleman <doug.coleman@gmail.com>
Date:   Sat Sep 18 19:01:38 2010 -0500

    Fix bootstrap, move privileges to windows.privileges

commit 521c622f8afb15bf42d263c738cb990560dc29cb
Author: Doug Coleman <doug.coleman@gmail.com>
Date:   Sat Sep 18 18:26:30 2010 -0500

    Hopefully fix bootstrap

commit eb3f22928b59758b9505430034044b5b94705da2
Author: Doug Coleman <doug.coleman@gmail.com>
Date:   Sat Sep 18 18:19:05 2010 -0500

    Remove wince from factor codebase

commit 619d6c99415f46208a7ede6a04b0ccda46b15360
Author: Doug Coleman <doug.coleman@gmail.com>
Date:   Sat Sep 18 16:07:46 2010 -0500

    Remove Windows CE from vm/
2010-09-19 19:13:25 -05:00
Doug Coleman bfa4ddd11a Fix http tests and io.server.connection docs 2010-09-19 15:47:25 -05:00
Doug Coleman c01ef3dd18 Squashed commit of the following:
commit 8a15381d30508b8f36a9e36dc3a0afc3c962c853
Author: Doug Coleman <doug.coleman@gmail.com>
Date:   Sat Sep 11 14:32:30 2010 -0500

    Squash threaded-server branch
2010-09-19 13:38:02 -05:00
Mitchell N Charity 99d7f0f4e1 disassembler-docs: link to other vocabs for examining compiler results 2010-09-03 15:09:46 -04:00
Mitchell N Charity 4f5da07f3a time-docs: add see-also "Word annotations" 2010-09-02 12:34:57 -04:00
John Benediktsson 7ae0517288 tools.completion: making completions a lot faster using make. 2010-08-13 19:28:44 -07:00
Slava Pestov 092e6f8c0a tools.time: fix documentation error (reported by Mitchell N Charity) 2010-08-11 19:20:37 -07:00
Slava Pestov 2f6ef5659d tools.scaffold: clean up 2010-08-02 20:50:59 -04:00
Jon Harper 95aaccc6a1 Remove redundant newline 2010-08-02 17:20:31 +02:00
Jon Harper 2c41d24991 remove duplicates to conform with lint-tool 2010-08-02 17:20:19 +02:00
Philipp Brüschweiler 3551d1a404 ui.backend.gtk: load icon data directly into factor.image when deploying, no io is needed 2010-07-26 21:11:53 +02:00
Philipp Brüschweiler 23f6201e65 ui.backend.gtk: use png instead of ico to represent icons 2010-07-22 22:48:18 +02:00
Philipp Brüschweiler 5ea5881ccd ui.backend.gtk, tools.deploy.unix: support for icons 2010-07-22 12:39:16 +02:00
Joe Groff 77291fe7a6 tools.test: change unit-test docs so it's clear "output" is a sequence and not an executable quotation (reported by mncharity) 2010-07-12 09:36:36 -07:00
Slava Pestov b0cfc34b3a cocoa.subclassing: cleaner CLASS: syntax; ui.backend.cocoa: ignore events delivered after window closed to fix FEP (reported by Doug Coleman) 2010-07-06 19:02:52 -04:00
Slava Pestov 736530766e cocoa.subclassing: new METHOD: syntax cleans up class definitions 2010-07-06 17:59:35 -04:00
Slava Pestov 262354d67a tools.deploy: fix deployment of apps that use vocab: paths -- regression from recent patch that adds add-vocab-root word 2010-07-05 23:41:27 -04:00
Slava Pestov ff9790aaa9 Merge branch 'master' of git://github.com/erg/factor 2010-06-22 04:13:39 -04:00
Doug Coleman b197f4e755 Remove more system-micros stuff 2010-06-22 02:04:31 -05:00
Slava Pestov 1b9780fba9 Merge branch 'master' of git://github.com/erg/factor into erg 2010-06-22 01:05:13 -04:00
Doug Coleman b45ed7a048 Normalize vocabulary roots by removing the last path separator so that scaffold tool works with trailing separators 2010-06-21 13:06:09 -05:00
Slava Pestov 8b4bcadc90 ui.tools.error-list: fix breakage if image is saved and restored with an open error list 2010-06-18 22:03:37 -04:00
Doug Coleman 78a67420a3 Merge branch 'master' of github.com:erg/factor 2010-06-17 11:12:25 -05:00
Slava Pestov a6e8f996dc tools.disassembler.udis: fix tests on 32-bit Windows 2010-06-17 02:04:59 -04:00
Doug Coleman 47765ae3e8 Merge branch 'master' of http://factorcode.org/git/factor 2010-06-16 16:48:04 -05:00
Slava Pestov 12a60e1f03 tools.disassembler.udis: update struct layout for latest udis from git 2010-06-16 16:48:58 -04:00
Doug Coleman e03a5b038e Rename alarms -> timers 2010-06-10 16:39:13 -05:00
Slava Pestov e4d72fb82b calendar.model, tools.errors.model: re-initialize models on startup 2010-05-31 20:14:54 -04:00
Slava Pestov 6e818ad439 tools.deploy.macosx: make deployment work when we're not running the .app bundle 2010-05-29 04:27:55 -04:00
Doug Coleman e559f1470b Use keys/values where appropriate 2010-05-21 12:48:04 -05:00
Slava Pestov c0f39aa99d Move remaining sequence operations from generalizations to sequences.generalizations where they belong 2010-05-18 18:36:47 -04:00
Slava Pestov d2d466de29 Language change: tuple slot setter words with stack effect ( value object -- ) are now named FOO<< instead of (>>FOO) 2010-05-06 17:21:02 -04:00
Slava Pestov b16662e120 tools.deploy.shaker: fix debugger stripping 2010-05-04 03:42:20 -04:00
Slava Pestov a9238f5be2 tools.deploy.shaker: tweak error reporting slightly 2010-05-03 23:07:46 -04:00
Joe Groff 703affa6f4 tools.deploy.shaker: adjust fallback error handler message so it looks better in a Win32 MessageBox 2010-05-02 22:40:54 -07:00
Daniel Ehrenberg cf0453f80c Making tools.deploy.shaker remove require-when data structures 2010-04-24 21:29:46 -05:00
Slava Pestov 531961f352 load-all now skips vocabs tagged 'not loaded', and test-all skips vocabs tagged 'not tested' 2010-04-13 18:43:33 -07:00
Slava Pestov 3b92172115 Replace 'untested' tag with 'not loaded' and 'not tested' tags 2010-04-13 18:43:01 -07:00
Slava Pestov 324c413314 mason.test: forget test vocabs right after each test, instead of at the end 2010-04-12 14:45:43 -07:00
Joe Groff 30be028d2e tools.disassembler: allow aliens to be used in address pairs 2010-04-02 00:30:27 -07:00
Joe Groff ca9614e746 Merge branch 'master' into abi-symbols 2010-04-01 15:28:36 -07:00
Joe Groff bb2f4317c2 add note to deploy docs that «deploy» creates a bundle directory with all the parts, and «deploy-image-only» deploys only the image 2010-04-01 15:25:08 -07:00
Joe Groff 3140fedf1e tools.deploy: add a «deploy-image-only» word that only builds the image file to a specified location 2010-04-01 15:11:52 -07:00
Joe Groff c8b0acf0b9 tools.deploy.macosx: make sure Contents/Frameworks dir still gets created for apps that deploy third-party libraries 2010-04-01 14:44:18 -07:00
Joe Groff cab0ec8fcf update deploy backends not to include dll in deployed apps 2010-04-01 14:26:56 -07:00
Joe Groff d951be1832 "cdecl" -> cdecl 2010-03-31 19:20:35 -07:00
Slava Pestov 4309d2c0ed tools.deploy.shaker: make sure an io-multiplex method remains even if C streams are stripped out 2010-03-31 13:29:44 -04:00
Slava Pestov e5bc4c915a tools.deploy.shaker: don't strip out io-thread, since new thread implementation requires at least one thread to be runnable at any time 2010-03-31 10:27:24 -04:00
Slava Pestov de0c2801d2 threads: delete old contexts immediately instead of handing them off to a 'context recycler' thread 2010-03-30 21:47:48 -04:00
Slava Pestov cea2bf4189 threads: use context-switching primitives 2010-03-29 20:40:17 -04:00
Slava Pestov 910b7527c9 threads: simplify 'suspend' combinator 2010-03-28 08:29:53 -04:00
Joe Groff 7ad724308d tools.deploy.windows: got the "com" and "exe" backwards for deploy-console? flag 2010-03-23 15:32:16 -07:00
Joe Groff 359331c0b3 tools.deploy: make deploy-console? and deploy-ui? independent config variables, so windows apps can be deployed without a console or the ui 2010-03-22 16:55:35 -07:00
Daniel Ehrenberg 1b61e2e5cf Merge branch 'bags' of git://github.com/littledan/Factor
Conflicts:

	basis/compiler/cfg/ssa/construction/tdmsc/tdmsc.factor
	basis/furnace/auth/auth.factor
	basis/stack-checker/backend/backend.factor
2010-03-16 13:28:00 -04:00
Slava Pestov b83f0d0349 tools.memory: fix unit test 2010-03-16 18:35:44 +13:00
Slava Pestov f207f901d6 tools.time: fix load error in docs 2010-03-16 16:44:36 +13:00
Slava Pestov 0c30ff594a tools.memory, tools.dispatch: change collect-gc-events and collect-dispatch-stats combinators to output values instead of setting variables 2010-03-16 14:00:57 +13:00
Joe Groff d4a0a69eb1 generalize stack effects so we can bootstrap with the stricter stack effect checking 2010-03-08 23:38:10 -08:00
Daniel Ehrenberg 3e9e4f0969 Finishing eliminating prune as a synonym of members 2010-02-27 14:52:24 -05:00
Daniel Ehrenberg 2b5af07494 Fixing ambiguity between sets and namespaces in many unit tests and furnace.auth 2010-02-26 17:17:40 -05:00
Joe Groff 7c5d84373c tools.deploy.shaker: raise a generic "This application died" system-alert instead of quietly crashing and burning in the ui-error-hook for deployed apps with the debugger stripped 2010-02-23 20:42:36 -08:00
Joe Groff 96ab4492d2 rename current string-mangling "char*" to "c-string". char* is now just a boring old pointer to char 2010-02-23 11:42:02 -08:00
Erik Charlebois c62cfc5c8c Make scaffolding use set-file-lines so that generated text files end with a newline. 2010-02-22 20:39:45 -08:00
Erik Charlebois 314215454f Add scaffolding for platforms.txt, add option to fuel-scaffold-vocab 2010-02-22 20:17:49 -08:00
Slava Pestov c1657739df Merge branch 'master' of git://github.com/erikcharlebois/factor 2010-02-22 20:09:20 +13:00
Doug Coleman 4e46d38ca8 Fix quirk in open-in-explorer -- msft explorer wouldn't go to previous directory correctly if / was a path separator 2010-02-22 00:14:13 -06:00
Joe Groff d50b3e7f28 remove references to c-types hash from deploy tool 2010-02-21 11:10:52 -08:00
Erik Charlebois d6d3401468 Merge branch 'master' of git://github.com/slavapestov/factor 2010-02-21 03:36:54 -08:00
Erik Charlebois be4d33beb5 Add scaffolding words for tags, summary and authors and hook these up to FUEL. Modified fuel-scaffold-vocab to prompt the user for tags, summary and whether to create help and test files immediately. 2010-02-21 03:34:08 -08:00
Slava Pestov b907ada6a9 vocabs: document platforms.txt 2010-02-21 20:38:09 +13:00
Slava Pestov a13b3724de tools.crossref: fix method cross-referencing 2010-02-21 17:48:03 +13:00
Slava Pestov 0aad3e6e12 vocabs.metadata: replace unportable tag with a platforms.txt file for more fine-grained control. Rename unportable tag to untested for remaining cases 2010-02-20 13:30:49 +13:00
Slava Pestov 88071b0869 prettyprint.config: set some output limits by default. Use the new without-limits combinator to get the old behavior 2010-02-20 12:18:16 +13:00
Slava Pestov 222a89a0ca tools.crossref: don't include generic words in usage lists, since the results are useless and arbitrary -- they depend on the contents of megamorphic caches 2010-02-20 12:05:52 +13:00
Erik Charlebois 80f6d778b9 Merge branch 'master' of git://github.com/slavapestov/factor 2010-02-18 12:54:26 -08:00
Slava Pestov 28ca5b326a tools.deploy.libraries.windows: add unportable tag to avoid loading windows.kernel32 on non-windows platforms 2010-02-19 04:11:48 +13:00
Erik Charlebois 1f9e978179 Merge up 2010-02-17 18:16:16 -08:00
Slava Pestov 613b54fc8d tools.deploy.backend: clean up 2010-02-18 03:57:10 +13:00
Erik Charlebois 9128b8dc23 Merge branch 'master' of git://github.com/slavapestov/factor 2010-02-17 00:06:27 -08:00
Joe Groff 2bf7ee8eaf typo in tools.deploy.backend 2010-02-16 14:33:57 -08:00
Joe Groff 99f1fa4018 search resource: for unix libraries too 2010-02-16 14:24:29 -08:00
Joe Groff 0421244259 tools.deploy.shaker typos 2010-02-16 14:23:51 -08:00
Joe Groff a1aa18ac0b tools.deploy.shaker: prune library manifest 2010-02-16 13:41:35 -08:00
Joe Groff ab0b7e078b alien.libraries: add a "deploy-library" word that marks a library to have its dll deployed with applications that use it. add support to tools.deploy to find and copy deployed libraries into target bundle 2010-02-16 13:32:58 -08:00
Erik Charlebois 2eaf726eae Merge to upstream 2010-02-16 10:35:15 -08:00
Erik Charlebois 98cf07b19b Line endings 2010-02-16 10:33:19 -08:00
Slava Pestov 2b8f2b222f tools.deploy.windows.ico: add unportable tag so that load-all doesn't load Win32 bindings on non-Windows platforms 2010-02-17 01:52:09 +13:00
Slava Pestov fec82e22ae tools.deploy: add deploy tests for gpu.demos.raytrace and gpu.demos.bunny 2010-02-17 00:33:08 +13:00
Slava Pestov 4f62d63e47 Merge branch 'deploy-resources' of git://factorcode.org/git/factor into deploy-resources 2010-02-17 00:17:09 +13:00
Slava Pestov fc69f7058e tools.annotations: fix for nanoseconds 2010-02-16 13:56:11 +13:00
Joe Groff a341b293df update vocabs and tools.deploy docs to mention icon files 2010-02-15 14:18:26 -08:00
Joe Groff 8c860a18f1 you have to parse the .ico file yourself and update individual RT_ICON and RT_GROUP_ICON resources. lame 2010-02-15 14:04:11 -08:00
Joe Groff 73b8249cf3 Merge branch 'master' of git://factorcode.org/git/factor
Conflicts:
	basis/tools/deploy/shaker/shaker.factor
2010-02-15 11:50:43 -08:00
Joe Groff 2cedfbf61c tools.deploy.windows: embed icon.ico from deployed vocab dir into deployed exe 2010-02-15 11:49:03 -08:00
Joe Groff 9cb7163f43 tools.deploy.macosx: copy "icon.icns" from deployed vocab to app bundle as app icon 2010-02-15 10:56:23 -08:00
Joe Groff a447900af5 update vocabs and deploy docs to mention resources.txt 2010-02-15 10:14:30 -08:00
Joe Groff 125f970583 update unix, windows, and test deploy backends 2010-02-14 23:10:05 -08:00
Joe Groff e3f83a60af Merge branch 'master' of git://factorcode.org/git/factor 2010-02-14 21:07:04 -08:00
Slava Pestov 05d644f81a tools.deploy.shaker: strip out vm, image, current-directory to avoid leaking information from build environment 2010-02-15 17:54:19 +13:00
Slava Pestov 0dc2753090 tools.deploy.shaker: don't strip out io.files hook, since then we lose resource-path and such 2010-02-15 17:37:07 +13:00
Joe Groff a3ad1b0740 have tools.deploy.shaker write a manifest of loaded vocabs to a file. have tools.deploy.backend read in this manifest. have tools.deploy.macosx copy resources for the manifest vocabs to the deployed bundle 2010-02-14 11:29:37 -08:00
Slava Pestov b0f09faebf cpu.x86: fix crashes when using certain features (threads, errors, etc) with profiling enabled on x86-64. The profiling stub was clobbering an argument for the unwind_native_frames() entry point 2010-02-05 20:52:19 +13:00
Slava Pestov b3c7b51a31 tools.deploy.shaker: don't try to intern all word props anymore 2010-02-04 17:40:53 +13:00
Slava Pestov 83228368c1 Fix classes.tuple tests and assocs help lint 2010-02-04 08:04:47 +13:00
Slava Pestov 17a1adc745 tools.memory: display some more code heap stats 2010-02-03 23:11:34 +13:00
Slava Pestov 310399995e Add code heap introspection primitive to VM, and make a code-blocks word in tools.memory that wraps a useful interface around this. Add a lookup-return-address word and use this in tools.disassembler.utils 2010-02-03 23:11:32 +13:00
Slava Pestov a968f37bf9 Test fixes 2010-02-03 23:11:31 +13:00
Slava Pestov 29e1d268b7 generic: rename method-body predicate class to method 2010-02-03 23:11:24 +13:00
Slava Pestov eec325b4a6 compiler.crossref: clean up and fix bug with forgotten classes 2010-02-01 17:20:08 +13:00
Slava Pestov 669335e0b5 tools.test: run-test-file is public now, fix no-method error if unit test forgets a vocab 2010-02-01 17:09:57 +13:00
Slava Pestov 37ab8482b3 tools.deploy.shaker: fix load error 2010-02-01 06:02:09 +13:00
Slava Pestov 839e60cd3e tools.deploy.shaker: update for new crossref word props 2010-01-31 02:50:55 +13:00
Slava Pestov 39aa70aa88 Clean up some code in preparation for a refactoring 2010-01-30 09:29:02 +13:00
Slava Pestov 2138b55708 New 'conditional dependency' mechanism for more accurate recording of recompilation information 2010-01-30 09:28:57 +13:00
Slava Pestov 6c21956f1f tools.deploy.shaker: don't strip "mixin" word prop 2010-01-30 09:28:54 +13:00
Slava Pestov ad076ca608 help.crossref, tools.crossref: improved help cross-referencing 2010-01-26 01:18:10 +13:00
Slava Pestov 0cbf9c9b50 Move compile-call and related words only meant to be used for debugging to compiler.test 2010-01-23 00:39:56 +13:00
Slava Pestov 3764dd06aa tools.deploy.shaker: also include tools.errors if user requests debugger to be part of image. This ensures useful printouts of parse errors 2010-01-20 07:01:29 -06:00
Slava Pestov 88004434ec vm: remove primitive table, non-optimizing compiler now looks up primitives with dlsym() 2010-01-19 20:00:33 +13:00
Slava Pestov 0165daf56c Stop wearing monocle and use the term "entry point" instead of "XT" throughout VM and compiler; also remove two unused relocation types 2010-01-18 20:54:00 +13:00
Slava Pestov 790674cf89 Rename kernel.private:getenv/setenv to special-object/set-special-object to mirror recent renaming on the VM side 2010-01-13 18:08:18 +13:00
Slava Pestov 7ab3d38ed4 tools.deploy.shaker: "specializations" word-prop no longer used 2009-12-05 18:21:46 -05:00
Slava Pestov 8a8e2bcbcd tools.deploy.test.5: revert accidental screwup 2009-12-02 17:56:49 -05:00
Slava Pestov ce10073a07 tools.deploy: hello-ui had reflection level of 2, not 1 unnecessarily; tools.deploy.backend now passes -pic=0 to avoid saving PICs in the deployed image 2009-12-02 05:33:22 -06:00
Slava Pestov 08b6ebc7fa Factor source files should not be executable 2009-11-21 17:50:43 -06:00
Slava Pestov 54543ca325 tools.time: update docs 2009-11-21 17:46:27 -06:00
Slava Pestov 2e8fceeb4a tools.threads: report correct sleep time 2009-11-21 17:45:47 -06:00
Slava Pestov 2cb65c2d46 tools.deploy.test.17: fix typo 2009-11-20 15:35:12 -06:00
Slava Pestov d37f3eac5e tools.deploy.test.17: database deployment test 2009-11-20 03:23:24 -06:00
Slava Pestov 2ad5796b6a Update a few places that used string C type names to use words; fixes some deploy tests 2009-11-20 03:21:48 -06:00
Slava Pestov 49abe313a3 Clean up startup/shutdown hook code 2009-11-20 00:57:49 -06:00
Slava Pestov a7d8a35bff Fix potential assertion failure if GC was invoked while enabling profiling 2009-11-19 01:49:26 -06:00
Doug Coleman ca39b38303 remove system-millis and update vocabs to use system-micros or nano-count 2009-11-18 20:56:09 -06:00
Doug Coleman addb1c90bb rename millis to system-millis, micros to system-micros, add nano-count 2009-11-18 15:58:48 -06:00
Doug Coleman 3323072613 Merge branch 'master' into startup
Conflicts:
	core/bootstrap/primitives.factor
	vm/run.hpp
2009-11-15 02:52:50 -06:00
Slava Pestov d5049c9913 tools.deploy.test: failing tests now have the actual and minimum size 2009-11-14 02:01:23 -06:00
Slava Pestov 547abb5603 Unit test fixes 2009-11-13 23:00:50 -06:00
Doug Coleman 36f6388acf fix using 2009-11-12 18:46:21 -06:00
Doug Coleman b1e83cdb33 update more 8bit encoding usages 2009-11-12 18:36:47 -06:00
Slava Pestov 21c165190c vm: fix GC safety issue in callers of unbox_array_size(), and change how disable-gc-events works so that it doesn't make a byte array that's too large 2009-11-11 05:21:03 -06:00
Slava Pestov e0d3878c00 stack-checker: tighten some screws in error reporting 2009-11-09 00:17:24 -06:00
Slava Pestov 5dc20ef385 Use a more compact representation for "compiled-uses" and "compiled-generic-uses" word-props; reduces image size 2009-11-08 06:08:04 -06:00
Slava Pestov 32f85587a8 stack-checker.known-words: fix declared output type for dispatch-stats primitive 2009-11-06 04:36:46 -06:00
Joe Groff 078e999e37 Merge branch 'master' of git://factorcode.org/git/factor 2009-11-05 22:23:21 -06:00
Slava Pestov 065dac3736 vm: simpler object space implementation. begin-scan/next-object/end-scan primitives replaced by a single all-instances primitive 2009-11-05 21:49:03 -06:00
Joe Groff 25d384abe4 remove non-primitive-related uses of tuck from basis 2009-11-05 17:03:24 -06:00
Slava Pestov e55c0e4b21 tools.dispatch: split off method dispatch statistics from tools.time 2009-11-05 01:36:26 -06:00
Slava Pestov 40a82aba19 tools.time: overhaul 2009-11-05 01:07:59 -06:00
Slava Pestov 000583ca9c tools.memory: tweak 2009-11-03 23:52:02 -06:00
Slava Pestov d65296b334 vm: 4 bit tags, new representation of alien objects makes unbox-any-c-ptr more efficient (work in progress) 2009-11-02 04:25:54 -06:00
Slava Pestov 55eb76f695 Merge branch 'master' into new_gc 2009-11-01 22:17:27 -06:00
Slava Pestov 5dc04bd8ae vm: faster sweep algorithm 2009-11-01 20:24:25 -06:00
Joe Groff fce3acf518 tools.deprecation is always loaded now; no need to waffle in the docs 2009-10-31 16:53:18 -05:00
Slava Pestov 8e0ce6aca7 tools.memory: update for language changes 2009-10-30 03:15:07 -05:00
Slava Pestov 051dcb6849 Merge branch 'master' into new_gc 2009-10-30 03:03:05 -05:00
Slava Pestov b08d324a43 tools.memory: add gc-stats. for viewing event statistics 2009-10-30 02:45:16 -05:00
Doug Coleman 1ee8c8f5eb sigma -> map-sum 2009-10-29 14:34:04 -05:00
Joe Groff c6761710a6 Merge branch 'master' of http://factorcode.org/git/factor
Conflicts:
	basis/locals/locals.factor
	basis/peg/peg.factor
	extra/infix/infix.factor
2009-10-28 16:17:24 -05:00
Doug Coleman b5fd809209 memq? -> member-eq?, sorted-memq? -> sorted-member-eq? 2009-10-28 15:02:00 -05:00
Doug Coleman a57e990af7 parsed -> suffix!, add append! 2009-10-28 13:38:27 -05:00
Slava Pestov 34d3d4962a change-each -> map!, deep-change-each -> deep-map! 2009-10-27 22:32:56 -05:00
Joe Groff 8b6665c57e update existing code for [let change 2009-10-27 22:05:37 -05:00
Slava Pestov 503137b1b9 vm: clean up gc events, remove -verbosegc switch, fix compaction bug 2009-10-27 21:31:28 -05:00
Slava Pestov 5ef1831b1e tools.memory: experimenting with some GC event data mining 2009-10-27 16:31:45 -05:00
Slava Pestov 998cc3927e tools.time: remove crappy old GC stats 2009-10-27 03:37:05 -05:00
Slava Pestov 61c2ff4fff vm: add primitives for getting at GC events, data-room and code-room primitives now return structs instead of arrays 2009-10-27 03:32:28 -05:00
Slava Pestov 74ecd90cd6 vm: remove crummy old GC stats, split off free list code, clean up various other things 2009-10-26 22:08:35 -05:00
Slava Pestov d3dede5599 vm: room. now prints mark stack size, and total/contiguous free space 2009-10-25 13:18:06 -05:00
Slava Pestov 64995237a7 Re-organize a few things to reduce '-include=' image size 2009-10-23 04:32:17 -05:00
Doug Coleman 3453fa4778 Merge branch 'master' of git://factorcode.org/git/factor 2009-10-22 13:20:17 -05:00
Slava Pestov 5a5c789fa5 tools.profiler: fix tests 2009-10-22 05:40:31 -05:00
Joe Groff 5972759550 fix tools.deploy test 2009-10-21 22:12:28 -05:00
Joe Groff cee5862b69 update a bunch of alien-callbacks and alien-indirects to use c-type words 2009-10-21 21:10:11 -05:00
Joe Groff dbd2f1b7f2 update cocoa bridge to use c-type words 2009-10-21 18:17:29 -05:00
Doug Coleman aabaccff5e fix a bunch of typos in docs 2009-10-21 17:40:43 -05:00
Doug Coleman 6fa23d7ea4 change add-init-hook to add-startup-hook, new add-shutdown-hook word 2009-10-19 22:17:02 -04:00
Slava Pestov 917e000b70 tools.deploy: increase terrain size tolerance, decrease windows size tolerance 2009-10-19 06:11:00 -05:00
Slava Pestov 476cb31b26 tools.deploy.test: cheat on windows until we have class stripping 2009-10-18 15:24:09 -05:00
Slava Pestov fb3c12c6de tools.deploy.shaker: strip out typed word props 2009-10-16 23:59:45 -05:00
Slava Pestov d55217b34a alien.c-types: c-type no longer calls parser at runtime, tools.deploy.shaker now strips out runtime specialized array code generation 2009-10-16 23:50:17 -05:00
Slava Pestov ad2e17019f typed: fix deployment 2009-10-16 21:22:01 -05:00
Slava Pestov a12e477e6b Merge branch 'disassemble-quot' of git://github.com/phildawes/factor 2009-10-09 04:17:27 -05:00
Slava Pestov 2d77a01ca2 Merge branch 'master' of git://factorcode.org/git/factor 2009-10-09 03:21:31 -05:00
Doug Coleman 8dece72eae fix using 2009-10-08 12:30:43 -05:00
Phil Dawes b970c58e0d disassemble can handle anonymous quotations 2009-10-07 17:07:00 +01:00
Slava Pestov 4d0ec09d9c vm: put code block owner directly in the header, instead of as the first entry in the literal table. Reduces x86-64 image size by ~700kb, also eliminates separate 'strip' set of staging images from deploy tool 2009-10-06 06:25:07 -05:00
Slava Pestov cda7a445ac Fix deploy tests and update command-line docs a bit 2009-10-03 06:53:23 -05:00
Slava Pestov 918aeeca55 Allow access to command line arguments in deployed apps 2009-10-02 21:00:12 -05:00
Doug Coleman 3a0f67b229 move verbose-tests? out of private, change decode-test word to set the verbose mode itself, use images.pam in images test vocabs 2009-10-02 16:20:33 -05:00
Doug Coleman c10b6d4ba7 Merge branch 'docs' of git://github.com/klazuka/factor into klazuka
Conflicts:
	basis/math/vectors/vectors-docs.factor
2009-10-02 15:58:45 -05:00
Keith Lazuka 44097e854c tools.crossref: Added $subsection to 'M: link uses' markup list 2009-10-02 12:18:33 -04:00
Keith Lazuka 8f79ea91ba docs: change $subsection to $subsections 2009-10-02 12:15:48 -04:00
Keith Lazuka d03c84703d tools.test: added a verbose-tests? flag to control test experiment pprint verbosity
I needed this for my image decode unit tests because I don't want the test results to prettyprint big bitmap byte-arrays.
2009-09-30 16:58:07 -04:00
Joe Groff e5d406693e add USING:s and rearrange definitions so macosx can compile without parsing c-type strings 2009-09-26 23:14:57 -05:00
Slava Pestov 9f78a6e2e7 tools.deploy: fix test 11 2009-09-24 13:00:26 -05:00
Slava Pestov a4e1d5511e Tweaks to reduce deployed image size 2009-09-24 06:24:43 -05:00
Slava Pestov b5773dc1da vm: Fix potential crash in <word> primitive if profiling is enabled 2009-09-24 04:31:11 -05:00
Slava Pestov 6574fc37df tools.crossref: print message if there are no usages 2009-09-23 22:50:26 -05:00
Doug Coleman 28e5a27c3f Merge branch 'master' of git://factorcode.org/git/factor
Conflicts:
	core/generic/generic-tests.factor
2009-09-22 10:25:42 -05:00
Slava Pestov 33a1e2f25e Move breakpoint word from tools.annotations to tools.walker to reduce amount of dependencies tools.annotations pulls into a minimal image 2009-09-22 03:16:31 -05:00
Doug Coleman 026761ed62 Merge branch 'master' of git://factorcode.org/git/factor
Conflicts:
	basis/classes/struct/struct-tests.factor
	basis/functors/functors-tests.factor
	basis/specialized-arrays/specialized-arrays-tests.factor
2009-09-20 23:02:49 -05:00
Doug Coleman 47fab85a00 replace usages of <" with """ 2009-09-20 22:42:40 -05:00
Joe Groff e09d14a69a update tools.disassembler.udis structs 2009-09-18 17:57:50 -05:00
Joe Groff 4a1422e7fe move some allocation words that don't really have much to do with c types out of alien.c-types into a new alien.data vocab 2009-09-17 22:36:05 -05:00
Slava Pestov c8d96aee9f tools.deploy.test: cut Windows some slack 2009-09-12 13:24:45 -05:00
Slava Pestov 527db8995a Specialized array overhaul
- Replace hand-written specialized-arrays.* subvocabularies with new system; instead of USE:ing specialized-arrays.T, do SPECIALIZED-ARRAY: T
- Ditto for specialized-vectors; use SPECIALIZED-VECTOR:
- io.mmap.functor: removed entirely, use <mapped-array> instead
- struct-arrays and struct-vectors have been removed because specialized arrays and vectors subsume them entirely
2009-09-09 22:33:34 -05:00
Slava Pestov ed88b9736f tools.annotations: document the fact that certain words should not be annotated 2009-09-08 20:49:12 -05:00
Slava Pestov 21cc9ecc13 tools.deploy.shaker: strip out math.vectors specializations 2009-09-08 15:20:46 -05:00
Slava Pestov 9a7a76b978 Improved line number handling for unit test failure errors 2009-09-08 13:13:30 -05:00
Slava Pestov 77aae1473f tools.deploy: fix facepalm 2009-09-07 22:48:57 -05:00
Slava Pestov a326bd25d1 tools.deploy: add unit test to ensure Cocoa binding works in deployed apps 2009-09-07 17:59:34 -05:00
Slava Pestov 7e0d14a55f tools.deploy.shaker: strip out struct slot info 2009-09-04 21:59:49 -05:00
Slava Pestov d8be724092 Fix tree shaker again, gah 2009-09-02 07:28:40 -05:00
Slava Pestov e140dd3fbb tools.deploy.shaker: fix snafu 2009-09-02 04:30:29 -05:00
Slava Pestov 0c0a1e402a 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 8a2c894b15 Fix image size regression with struct array tree shaking 2009-08-31 16:34:58 -05:00
Slava Pestov 1fbaec1e01 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 06d21cba42 Merge branch 'master' of git://factorcode.org/git/factor 2009-08-29 22:11:20 -05:00
Joe Groff 9d8dbb3620 ignore deprecations in words that are themselves deprecated 2009-08-29 17:41:21 -05:00
Samuel Tardieu 89374e2a25 Merge branch 'master' of git://factorcode.org/git/factor 2009-08-29 16:23:13 +02:00
Slava Pestov 32657551fc tools.deprecation: suppress 'computing usage index...' message 2009-08-28 05:32:34 -05:00
Slava Pestov a53653bc00 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 41f65c45dc Merge branch 'master' of git://factorcode.org/git/factor 2009-08-27 20:30:08 -05:00
Slava Pestov 57bafa6860 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 dc951c4ad1 tools.deploy.test: give PowerPC an extra 100kb 2009-08-27 20:27:35 -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 5a2c662622 tools.destructors: leaks now tracks leaks globally 2009-08-24 20:45:06 -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 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 18c77a011b tools.deploy.shaker: fix regression; strip-compiler-classes wasn't working 2009-08-23 17:54:37 -05:00
Slava Pestov c99d43f76c tools.deploy: faster default method stripping 2009-08-22 19:26:56 -05:00
Slava Pestov 044a9e49ab Add docs for break and B words 2009-08-22 17:45:18 -05:00