Commit Graph

1029 Commits (2c82dfb51ba6923c2e7dcf3fac5109ae9da528f2)

Author SHA1 Message Date
Joe Groff f71187c775 tools.profiler.sampling: twiddle output format 2011-11-02 21:40:53 -07:00
Doug Coleman ee741143e0 Fix unit tests to give the sampling profiler something to profile. 2011-11-02 17:46:50 -07:00
Doug Coleman 7378ba7717 Unbreakify the new profiler, add a couple of unit tests to demonstrate displaying output. 2011-11-02 17:01:43 -07:00
Doug Coleman 4d66cd26dc Keep the profiling results even when the quotation throws an exception. 2011-11-02 16:47:27 -07:00
Doug Coleman fb44adef99 Clean up formatting, rename load-vocab-hook to require-hook. Add a unit test for vocabs.loader. 2011-11-02 16:31:42 -07:00
Joe Groff 82a62181ce vm: count samples during unoptimized compiler 2011-11-02 13:23:21 -07:00
Joe Groff 81aac9359f tools.profiler.sampling: fix stack effect name 2011-11-02 13:23:19 -07:00
Joe Groff 1745e22211 tools.profiler.sampling: make rate a global var 2011-11-02 13:23:19 -07:00
Joe Groff 4330a645f4 tools.profiler.sampling: groom flat profile 2011-11-02 13:23:18 -07:00
Joe Groff fb837b91dc tools.profiler.sampling: flat profile report 2011-11-02 13:23:18 -07:00
Joe Groff fd96103d50 tools.profiler.sampling: smoke test compact-gc 2011-11-02 13:23:18 -07:00
Joe Groff f645c82b8a tools.profiler.sampling: add detail to profile. 2011-11-02 13:23:16 -07:00
Joe Groff d4736d4e3a tools.profiler.sampling: "top-down" and "profile." 2011-11-02 13:23:16 -07:00
Joe Groff 30ed9b535b vm: parameterize sampling rate 2011-11-02 13:23:15 -07:00
Joe Groff 87316ae28f tools.profiler.sampling: smoke tests and metadata 2011-11-02 13:23:15 -07:00
Joe Groff 6d3d8392d1 tools.profiler.counting: rename help article 2011-11-02 13:23:14 -07:00
Joe Groff eb749bb535 tools.profiler.sampling: very basic frontend words 2011-11-02 13:23:14 -07:00
Joe Groff eac90675c0 move counting profiler to tools.profiler.counting 2011-11-02 13:23:09 -07:00
Joe Groff 33919b2919 tools.profiler: rename to tools.counting-profiler 2011-11-02 13:23:06 -07:00
Joe Groff 186bf65a00 constants for special object hardcoded literals 2011-11-02 12:54:50 -07:00
Doug Coleman 94db86a6db Make "foo.private" require load foo instead.
Move require from vocabs.loader to vocabs. Update everything.
Fixes #201.
2011-11-02 11:50:03 -07:00
Doug Coleman 4002945c09 Don't test coverage of auto-generated class predicates. Get a better count of callabales in a word to fix %coverage. 2011-11-01 17:13:11 -07:00
Slava Pestov 258b9590a2 tools.deploy: fix unit test 2011-10-29 17:15:49 -07:00
Doug Coleman dc0a921866 Remove the lexer-factory because nothing uses it. Update usages. 2011-10-29 01:11:19 -07:00
Doug Coleman 763d9a3f7d Missed yet more renames 2011-10-24 17:00:09 -07:00
Doug Coleman f9257959fd Rename class to class-of 2011-10-24 06:47:42 -05:00
Doug Coleman 26872ffe4d Rename vocab to lookup-vocab 2011-10-24 06:42:54 -05:00
Doug Coleman 2ecd513130 Factor out ``no-roots no-prefixes'' into its own word. Add load-root, load-from-root, vocabs-in-root and implement load in terms of load-from-root.
Add error checking for append-vocab-dir and (child-vocabs) in case someone tries to pass them the wrong parameters.
Rename: vocab-dir+ to append-vocab-dir
Document load-from-root and load-root
2011-10-23 19:59:01 -05:00
Doug Coleman 441a8b8926 Checked in some code on accident. 2011-10-21 15:34:44 -05:00
John Benediktsson 5a943b32c4 Remove stack effects from HELP: declarations. 2011-10-20 19:36:11 -07:00
Doug Coleman df3cf77e59 Fix tools.annotations tests 2011-10-19 00:57:06 -07:00
Joe Groff 300a0256c8 new vocab tools.annotations.assertions
Annotates unsafe words with assertions that their inputs and outputs are valid. Provide annotations for stream-read(-partial)-unsafe and (set-)nth-unsafe to start with.
2011-10-18 15:13:34 -07:00
Joe Groff c850722cbb tools.annotations: send watch to error-stream 2011-10-18 15:13:34 -07:00
John Benediktsson 80e1c8e3f2 Eliminate duplicate syntax for stack effects "(" no longer drops and is identical to the old "((", which is now removed. 2011-10-18 13:19:39 -07:00
Doug Coleman f21fee3b73 Rename complete-effect to scan-effect 2011-10-17 10:25:27 -07:00
Doug Coleman db1d499a6f Fix typo in tools.deploy.windows.ico 2011-10-16 23:06:11 -07:00
John Benediktsson 81714b8dc3 More lint cleanups. 2011-10-16 19:33:16 -07:00
John Benediktsson 6f1c44b46d Cleanup some lint warnings. 2011-10-15 19:19:44 -07:00
John Benediktsson 312704ae68 math.parser: cleanup uses of 16/8/2 >base/base>. 2011-10-14 10:09:12 -07:00
Joe Groff e200656ce4 tools.test.fuzz tests: missing using 2011-10-10 18:03:52 -07:00
Joe Groff b5fc65707d new module tools.test.fuzz: quickcheck-style probabilistic testing, based on Andrew Pennebaker's factcheck vocab 2011-10-10 12:23:23 -07:00
Joe Groff 5a21742f74 tools.test: move fake-unit-test utility from test suite to module 2011-10-10 12:23:23 -07:00
Doug Coleman 685fc2f86f Rename method -> lookup-method in three places. 2011-10-04 20:37:23 -07:00
Doug Coleman 181f11faa8 Make M\ throw an error upon lookup failure. Change method -> ?lookup-method, lookup-method is the throwing version of ?lookup-method. Fixes #229. 2011-10-03 15:49:49 -07:00
Slava Pestov 6bd956670b tools.continuations: >c and c> are gone 2011-10-03 00:37:48 -07:00
Slava Pestov c68e2308a8 Display a system-alert for callback errors in the UI; also for thread errors in deployed apps; fixes #92, fixes #95 2011-10-03 00:24:37 -07:00
Slava Pestov dabbe35bd9 concurrency.mailboxes: linked-thread's error reporting should still work even when debugger.threads is not loaded. This addresses part of #95 2011-10-03 00:24:37 -07:00
Doug Coleman 76580da5d5 Refactor the lexer/parser to expose friendlier words for scanning tokens. The preferred top-level words now throw an exception on EOF.
CREATE -> scan-new
CREATE-CLASS -> scan-new-class
CREATE-WORD -> scan-new-word
CREATE-GENERIC -> scan-new-generic
scan -> (scan-token)
scan-token now throws on eof
(scan-word) returns word/number/f
scan-word now throws on eof
scan-word-name expects a non-number
Fixes #183.
Fixes #209.
2011-09-29 11:28:28 -07:00
John Benediktsson 4f42c72012 specialized-arrays: performed some cleanup.
Specifically,
    •   Created >c-array to be replacement for >T-array.
    •   Created cast-array to be generic replacement for all T-array-cast words.
    •   Created c-array@ to be generic replacement for T-array@ words.
    •   Replaced usages of <T-array> with T <c-array>
    •   Replaced usages of <direct-T-array> with T <c-direct-array>
    •   Replaced usages of >T-array with T >c-array
    •   Replaced usages of T-array-cast with T cast-array
    •   Replaced usages of malloc-T-array with T malloc-array.
    •   Removed malloc-T-array.
    •   Removed T-array-cast.
    •   Removed T-array@.
    •   Removed >T-array.

I also added (but didn't change any code to use):
    •   T c-array-type, returns T-array
    •   T c-array?, returns T-array?
    •   c-array{ T ... }, returns T-array{ ... }

Bootstraps just find on Mac OS X.  Also `load-all test-all` works for me.
2011-09-26 11:37:51 -07:00
John Benediktsson baac978767 Removing "to:" syntax from values.
Squashed commit of the following:

commit 18fef6bfa59f71dcb63b439f631c735848a9bbbb
Author: John Benediktsson <mrjbq7@gmail.com>
Date:   Mon Sep 26 11:02:26 2011 -0700

    vocabs.metadata: revert mistaken change.

commit 496b103b54034ea953882a039c08847d0eda0bb4
Author: John Benediktsson <mrjbq7@gmail.com>
Date:   Sun Sep 25 19:03:54 2011 -0700

    values: Removing "to:" syntax.
2011-09-26 11:08:26 -07:00
Doug Coleman 5d998589c2 Decouple adding the coverage annotations from setting the flag in them
Add a test-coverage word for reporting on only the unit-tests for a vocabulary
2011-09-25 19:32:36 -07:00
John Benediktsson bbeccadbbe tools.crossref: now 50% faster. 2011-09-25 11:40:55 -07:00
Joe Groff 2bd6de9a02 slots: pre-create the "at", "nth", and "global" slots to make deterministic the currently nondeterministic ambiguity between accessors:change-* and assocs:change-at, sequences:change-nth, and namespaces:change-global 2011-09-19 10:03:43 -07:00
Doug Coleman bf2a96e9e0 Remove Windows CE from core/ basis/ and build-support/
Rename the winnt singleton to windows in core/ basis/ extra/
Rename boot images winnt -> windows
Fixes #84.
2011-09-18 23:19:06 -05:00
John Benediktsson c5601cd86e tools.completion: add test that empty completions preserve order. 2011-09-17 09:00:43 -07:00
Slava Pestov 6e6c42179a tools.errors: fix help lint 2011-09-13 23:40:48 -07:00
Slava Pestov 2cf574945a tools.deploy.shaker: update for alien.libraries changes 2011-09-13 20:19:11 -07:00
John Benediktsson 36da386816 tools.completion: undo private change, and add tests. 2011-09-13 09:22:57 -07:00
John Benediktsson 5e496e846b tools.completion: speed up apropos by 35%. Fixes #101. 2011-09-13 09:13:02 -07:00
Doug Coleman dcbc7ef0a7 Fix shaker 2011-09-07 00:34:23 -07:00
Doug Coleman 5fce2d0f27 Make "quiet" true by default. Disable quiet mode for listener, bootstrap, and deploy tool.
Move "quiet" to parser-quiet? in parser.notes. Change a few places where quiet was handle wrong.
2011-09-06 17:58:12 -07:00
Slava Pestov ed9cf9e4fd Move some primitives from memory and memory.private to tools.memory.private, add data-heap and code-heap words that wrap the struct for you 2011-09-05 16:47:29 -07:00
John Benediktsson b13eb201bd tools.crossref: adding stack effect. 2011-09-03 16:39:04 -07:00
Slava Pestov a87211ff29 tools.scaffold: remove unused ERROR: 2011-09-01 22:31:45 -07:00
Doug Coleman 3f0e1ce056 Add scaffold-factor-roots word to tools.scaffold 2011-08-29 01:03:41 -05:00
John Benediktsson 1f830cfc2a Merge remote-tracking branch 'erg/master' 2011-08-27 19:00:27 -07:00
Doug Coleman 05de404801 Make coverage. use each-word, only put coverage on non-primitive/symbol words 2011-08-27 16:12:41 -05:00
Joe Groff 9040ee37e0 Merge remote-tracking branch 'Blei/gtk-image-loader'
Conflicts:
	basis/alien/enums/enums-tests.factor
	basis/alien/enums/enums.factor
	basis/alien/parser/parser.factor
	basis/gdk/pixbuf/ffi/ffi.factor
	basis/glib/ffi/ffi.factor
	basis/tools/deploy/shaker/shaker.factor
	basis/ui/backend/gtk/gtk.factor
	basis/windows/nt/nt.factor
2011-08-27 14:07:18 -07:00
Doug Coleman 2e7935d66e Change the way %coverage works, make coverage word use map-words to hit private vocabs, make %coverage only work on vocabs. 2011-08-27 15:54:25 -05:00
Doug Coleman 87e64b3a59 Document some words, move words around to be private 2011-08-27 12:52:01 -05:00
Doug Coleman 472fe7fa4b Better name for combinator -- each-word, each-map to iterate over all words in vocab and its private vocab. Add count-callables and %coverage words. 2011-08-27 12:34:05 -05:00
Doug Coleman 571d619442 Use change-vocabulary-coverage word for toggle-coverage too to handle .private vocabs 2011-08-27 01:04:02 -05:00
Doug Coleman c062c24ead Add toggle-coverage word and make coverage-on/off work on .private vocabs too. 2011-08-27 00:56:02 -05:00
Doug Coleman 199435f11a Fix the docs for tools.coverage 2011-08-27 00:14:56 -05:00
Doug Coleman 8d4ba7e2b6 Clean up some duplication in annotate/deep-annotate 2011-08-26 17:11:50 -05:00
Doug Coleman 4d3ae36674 Add docs for tools.coverage 2011-08-26 15:39:27 -05:00
Doug Coleman 98b154c14e Rename tools.code-coverage to tools.coverage, change some word names. 2011-08-26 14:32:41 -05:00
Doug Coleman cf6cc4b8f2 Add tools.code-coverage vocab to assist in writing unit tests 2011-08-26 13:37:40 -05:00
Doug Coleman 96209da661 Add a deep-annotate word that annotates each quotation in a word definition. 2011-08-26 11:47:37 -05:00
Joe Groff 5522015885 tools.deploy: add deploy-help? option to include documentation in deployed image 2011-08-04 14:27:29 -07:00
Erik Charlebois 91e94a8438 Fix GDB-based disassemble for GDB 7 2011-05-23 23:36:13 -04:00
Erik Charlebois 305dcf1551 Use .factor-rc etc on Windows too, files can begin with dots just fine 2011-05-23 23:36:13 -04:00
John Benediktsson d58bc08aa0 Update code that did ">alist sort-" to just "sort-". 2011-04-07 09:01:21 -07:00
Slava Pestov bb71050a23 tools.deploy: increase size limits for recently-added deploy tests that never passed 2011-03-04 18:12:36 -05:00
Slava Pestov 8c14dd65b5 tools.deploy.shaker: strip out GObject introspection info 2011-02-27 20:02:14 -06:00
Slava Pestov 25c60b6869 tools.deploy.test.21: deploy without threads to reduce image size 2011-02-27 14:38:47 -08:00
Slava Pestov e9bccc0d59 tools.deploy: actually add the new test 2011-02-25 22:13:54 -08:00
Slava Pestov cd39ab0d10 tools.deploy: add test for formatting vocab 2011-02-25 21:26:11 -08:00
Slava Pestov e90fd3b942 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 e5dba6b64c tools.deploy: fix a test on Windows 2011-02-25 21:06:22 -08:00
Slava Pestov d93117c60d tools.deploy: add XML deploy test 2011-01-29 00:07:22 -05:00
Keita Haga 6ddc56cc60 tools.scaffold: fix a few typos in description of scaffold-undocumented word 2011-01-18 07:45:06 +09:00
Keita Haga e4516aabf0 tools.time: fix typo in docs 2011-01-18 07:29:55 +09:00
Keita Haga ec5cb49fa7 tools.deploy: fix typo in docs 2011-01-14 19:52:12 +09:00
Slava Pestov 75560699ea 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 e7796b4118 tools.crossref: fix example 2010-11-29 18:41:57 +09:00
Slava Pestov a400b39fa1 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 6dcb259b73 Move the host word from dns to tools.dns 2010-10-08 06:34:18 -07:00
Doug Coleman 0bbfa64b24 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 f9c9814e57 alien.data: remove deprecated malloc-object word 2010-09-20 21:36:20 -07:00
Doug Coleman f791c8c5d2 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 87ec88ff6c Fix http tests and io.server.connection docs 2010-09-19 15:47:25 -05:00
Doug Coleman aa8c12a84b 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 1f2488086d disassembler-docs: link to other vocabs for examining compiler results 2010-09-03 15:09:46 -04:00
Mitchell N Charity 913cdd6f1a time-docs: add see-also "Word annotations" 2010-09-02 12:34:57 -04:00
John Benediktsson a8e9b57685 tools.completion: making completions a lot faster using make. 2010-08-13 19:28:44 -07:00
Slava Pestov 79bcda6d1e tools.time: fix documentation error (reported by Mitchell N Charity) 2010-08-11 19:20:37 -07:00
Slava Pestov 0e0efbd24a tools.scaffold: clean up 2010-08-02 20:50:59 -04:00
Jon Harper cfc902ed0a Remove redundant newline 2010-08-02 17:20:31 +02:00
Jon Harper 0aa00044ba remove duplicates to conform with lint-tool 2010-08-02 17:20:19 +02:00
Philipp Brüschweiler 8c61b874b7 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 39d475e996 ui.backend.gtk: use png instead of ico to represent icons 2010-07-22 22:48:18 +02:00
Philipp Brüschweiler 035ba3bc93 ui.backend.gtk, tools.deploy.unix: support for icons 2010-07-22 12:39:16 +02:00
Joe Groff 1625768a9e 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 425c572fa8 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 bb4dae64f3 cocoa.subclassing: new METHOD: syntax cleans up class definitions 2010-07-06 17:59:35 -04:00
Slava Pestov d0822992c7 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 75d2635c05 Merge branch 'master' of git://github.com/erg/factor 2010-06-22 04:13:39 -04:00
Doug Coleman 796aca7a4e Remove more system-micros stuff 2010-06-22 02:04:31 -05:00
Slava Pestov 0fa1a46d35 Merge branch 'master' of git://github.com/erg/factor into erg 2010-06-22 01:05:13 -04:00
Doug Coleman 3b11e2d6aa 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 1a94ce5927 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 30b81d3a87 Merge branch 'master' of github.com:erg/factor 2010-06-17 11:12:25 -05:00
Slava Pestov e34a736b63 tools.disassembler.udis: fix tests on 32-bit Windows 2010-06-17 02:04:59 -04:00
Doug Coleman d487a4b045 Merge branch 'master' of http://factorcode.org/git/factor 2010-06-16 16:48:04 -05:00
Slava Pestov 05dff4425c tools.disassembler.udis: update struct layout for latest udis from git 2010-06-16 16:48:58 -04:00
Doug Coleman a6f0abb9a2 Rename alarms -> timers 2010-06-10 16:39:13 -05:00
Slava Pestov 2ba7c8c639 calendar.model, tools.errors.model: re-initialize models on startup 2010-05-31 20:14:54 -04:00
Slava Pestov 929a2d5169 tools.deploy.macosx: make deployment work when we're not running the .app bundle 2010-05-29 04:27:55 -04:00
Doug Coleman bdecd564a3 Use keys/values where appropriate 2010-05-21 12:48:04 -05:00
Slava Pestov ea726f5680 Move remaining sequence operations from generalizations to sequences.generalizations where they belong 2010-05-18 18:36:47 -04:00
Slava Pestov 627295f094 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 421dc67be4 tools.deploy.shaker: fix debugger stripping 2010-05-04 03:42:20 -04:00
Slava Pestov 41ec3f20a8 tools.deploy.shaker: tweak error reporting slightly 2010-05-03 23:07:46 -04:00
Joe Groff 8e33230039 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 d4eba4632a Making tools.deploy.shaker remove require-when data structures 2010-04-24 21:29:46 -05:00
Slava Pestov 7524007110 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 da6bcbedfc Replace 'untested' tag with 'not loaded' and 'not tested' tags 2010-04-13 18:43:01 -07:00
Slava Pestov a7ee58dc83 mason.test: forget test vocabs right after each test, instead of at the end 2010-04-12 14:45:43 -07:00
Joe Groff 2d22a8eb49 tools.disassembler: allow aliens to be used in address pairs 2010-04-02 00:30:27 -07:00
Joe Groff ef884ef7f2 Merge branch 'master' into abi-symbols 2010-04-01 15:28:36 -07:00
Joe Groff 7a5a6c779e 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 bbe6b729bf 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 6bc8beb070 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 6fdba565a1 update deploy backends not to include dll in deployed apps 2010-04-01 14:26:56 -07:00
Joe Groff 65c3259761 "cdecl" -> cdecl 2010-03-31 19:20:35 -07:00
Slava Pestov ce42aea6a4 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 587664efbf 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 fb2ecab614 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 c7142e4281 threads: use context-switching primitives 2010-03-29 20:40:17 -04:00
Slava Pestov f1e19aabdb threads: simplify 'suspend' combinator 2010-03-28 08:29:53 -04:00
Joe Groff 305ea844de tools.deploy.windows: got the "com" and "exe" backwards for deploy-console? flag 2010-03-23 15:32:16 -07:00
Joe Groff 91c353ef60 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 512fe14e4e 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 604ccb0a3a tools.memory: fix unit test 2010-03-16 18:35:44 +13:00
Slava Pestov 9b6b58b240 tools.time: fix load error in docs 2010-03-16 16:44:36 +13:00
Slava Pestov 10836ce1bc 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 191ac353fd generalize stack effects so we can bootstrap with the stricter stack effect checking 2010-03-08 23:38:10 -08:00
Daniel Ehrenberg da57436180 Finishing eliminating prune as a synonym of members 2010-02-27 14:52:24 -05:00
Daniel Ehrenberg 7cd3360cdd Fixing ambiguity between sets and namespaces in many unit tests and furnace.auth 2010-02-26 17:17:40 -05:00
Joe Groff 32b42185e6 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 4cfa1a6c77 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 cdb297f6f3 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 0142d46688 Add scaffolding for platforms.txt, add option to fuel-scaffold-vocab 2010-02-22 20:17:49 -08:00
Slava Pestov 1986dc49e4 Merge branch 'master' of git://github.com/erikcharlebois/factor 2010-02-22 20:09:20 +13:00
Doug Coleman a0b3a370b8 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 1a0fda2a5b remove references to c-types hash from deploy tool 2010-02-21 11:10:52 -08:00
Erik Charlebois 0925f0a5bf Merge branch 'master' of git://github.com/slavapestov/factor 2010-02-21 03:36:54 -08:00
Erik Charlebois ffddca36b7 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 2f70ebd4d0 vocabs: document platforms.txt 2010-02-21 20:38:09 +13:00
Slava Pestov e26393394d tools.crossref: fix method cross-referencing 2010-02-21 17:48:03 +13:00
Slava Pestov 95bfc8a240 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 66bb912641 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 9cd164f3ac 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 44e61dbc85 Merge branch 'master' of git://github.com/slavapestov/factor 2010-02-18 12:54:26 -08:00
Slava Pestov 488e5ead26 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 f2e8128f5d Merge up 2010-02-17 18:16:16 -08:00
Slava Pestov bf72c89060 tools.deploy.backend: clean up 2010-02-18 03:57:10 +13:00
Erik Charlebois 08f65189d3 Merge branch 'master' of git://github.com/slavapestov/factor 2010-02-17 00:06:27 -08:00
Joe Groff 10bc247ed4 typo in tools.deploy.backend 2010-02-16 14:33:57 -08:00
Joe Groff 38f98afe6f search resource: for unix libraries too 2010-02-16 14:24:29 -08:00
Joe Groff b64f694e7e tools.deploy.shaker typos 2010-02-16 14:23:51 -08:00
Joe Groff b208c30fd3 tools.deploy.shaker: prune library manifest 2010-02-16 13:41:35 -08:00
Joe Groff 42089b6586 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 fd1416617e Merge to upstream 2010-02-16 10:35:15 -08:00
Erik Charlebois fcbeb3467d Line endings 2010-02-16 10:33:19 -08:00
Slava Pestov 5557353f97 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 177e741ea0 tools.deploy: add deploy tests for gpu.demos.raytrace and gpu.demos.bunny 2010-02-17 00:33:08 +13:00
Slava Pestov 6620a12cde Merge branch 'deploy-resources' of git://factorcode.org/git/factor into deploy-resources 2010-02-17 00:17:09 +13:00
Slava Pestov c7454d8bba tools.annotations: fix for nanoseconds 2010-02-16 13:56:11 +13:00
Joe Groff bd2b72ad08 update vocabs and tools.deploy docs to mention icon files 2010-02-15 14:18:26 -08:00
Joe Groff 4ebfd1ef3a 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 f06e278e17 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 b1160f6b36 tools.deploy.windows: embed icon.ico from deployed vocab dir into deployed exe 2010-02-15 11:49:03 -08:00
Joe Groff f9d6ba0339 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 45c85d1851 update vocabs and deploy docs to mention resources.txt 2010-02-15 10:14:30 -08:00
Joe Groff a6bbb6dca6 update unix, windows, and test deploy backends 2010-02-14 23:10:05 -08:00
Joe Groff 1b5ba15707 Merge branch 'master' of git://factorcode.org/git/factor 2010-02-14 21:07:04 -08:00
Slava Pestov 4266023639 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 62f5a2af1c 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 9c77d7bde8 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 aa3d65272a 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 f20b4e5607 tools.deploy.shaker: don't try to intern all word props anymore 2010-02-04 17:40:53 +13:00
Slava Pestov 10fe9a811b Fix classes.tuple tests and assocs help lint 2010-02-04 08:04:47 +13:00
Slava Pestov eed0b27d5d tools.memory: display some more code heap stats 2010-02-03 23:11:34 +13:00
Slava Pestov 26cae00eeb 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 0b278adb5a Test fixes 2010-02-03 23:11:31 +13:00
Slava Pestov df55fed478 generic: rename method-body predicate class to method 2010-02-03 23:11:24 +13:00
Slava Pestov e7de95e72b compiler.crossref: clean up and fix bug with forgotten classes 2010-02-01 17:20:08 +13:00
Slava Pestov 823e2fd3e9 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 0d939f731a tools.deploy.shaker: fix load error 2010-02-01 06:02:09 +13:00
Slava Pestov 03d2b77faa tools.deploy.shaker: update for new crossref word props 2010-01-31 02:50:55 +13:00
Slava Pestov fa4f7d8ccf Clean up some code in preparation for a refactoring 2010-01-30 09:29:02 +13:00
Slava Pestov c027046857 New 'conditional dependency' mechanism for more accurate recording of recompilation information 2010-01-30 09:28:57 +13:00
Slava Pestov 238ec94e06 tools.deploy.shaker: don't strip "mixin" word prop 2010-01-30 09:28:54 +13:00
Slava Pestov 6306d58f77 help.crossref, tools.crossref: improved help cross-referencing 2010-01-26 01:18:10 +13:00
Slava Pestov f804c9c422 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 5279845ee0 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 5606825e8b vm: remove primitive table, non-optimizing compiler now looks up primitives with dlsym() 2010-01-19 20:00:33 +13:00
Slava Pestov 637a77c018 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 1c10196c43 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 9e1c5adca7 tools.deploy.shaker: "specializations" word-prop no longer used 2009-12-05 18:21:46 -05:00
Slava Pestov 2f024f8b5c tools.deploy.test.5: revert accidental screwup 2009-12-02 17:56:49 -05:00
Slava Pestov cf8e03ad39 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 0612bc6177 Factor source files should not be executable 2009-11-21 17:50:43 -06:00
Slava Pestov 39a2d4303e tools.time: update docs 2009-11-21 17:46:27 -06:00
Slava Pestov bbb95db5e6 tools.threads: report correct sleep time 2009-11-21 17:45:47 -06:00
Slava Pestov c2e9cc8ee7 tools.deploy.test.17: fix typo 2009-11-20 15:35:12 -06:00
Slava Pestov 10800a009a tools.deploy.test.17: database deployment test 2009-11-20 03:23:24 -06:00
Slava Pestov ffd7de02d6 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 24c3ddbbde Clean up startup/shutdown hook code 2009-11-20 00:57:49 -06:00
Slava Pestov f47b72d98b Fix potential assertion failure if GC was invoked while enabling profiling 2009-11-19 01:49:26 -06:00
Doug Coleman f4450653a9 remove system-millis and update vocabs to use system-micros or nano-count 2009-11-18 20:56:09 -06:00
Doug Coleman 6f7ec206a1 rename millis to system-millis, micros to system-micros, add nano-count 2009-11-18 15:58:48 -06:00
Doug Coleman cc194416f9 Merge branch 'master' into startup
Conflicts:
	core/bootstrap/primitives.factor
	vm/run.hpp
2009-11-15 02:52:50 -06:00
Slava Pestov 78aa73b29e tools.deploy.test: failing tests now have the actual and minimum size 2009-11-14 02:01:23 -06:00
Slava Pestov bb8eabba36 Unit test fixes 2009-11-13 23:00:50 -06:00
Doug Coleman 6c75287bef fix using 2009-11-12 18:46:21 -06:00
Doug Coleman b71d86a1dc update more 8bit encoding usages 2009-11-12 18:36:47 -06:00
Slava Pestov 2c8f67851e 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 473cc7db4a stack-checker: tighten some screws in error reporting 2009-11-09 00:17:24 -06:00
Slava Pestov 5d79450d9d 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 1d4ec1959d stack-checker.known-words: fix declared output type for dispatch-stats primitive 2009-11-06 04:36:46 -06:00
Joe Groff 4b0edb34d3 Merge branch 'master' of git://factorcode.org/git/factor 2009-11-05 22:23:21 -06:00
Slava Pestov 4061951d1c 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 61d579360d remove non-primitive-related uses of tuck from basis 2009-11-05 17:03:24 -06:00
Slava Pestov 9ca1ab7ccc tools.dispatch: split off method dispatch statistics from tools.time 2009-11-05 01:36:26 -06:00
Slava Pestov 47df580081 tools.time: overhaul 2009-11-05 01:07:59 -06:00
Slava Pestov 0913758805 tools.memory: tweak 2009-11-03 23:52:02 -06:00
Slava Pestov e4ad642134 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 f21199005d Merge branch 'master' into new_gc 2009-11-01 22:17:27 -06:00
Slava Pestov e28580dd0f vm: faster sweep algorithm 2009-11-01 20:24:25 -06:00
Joe Groff f858f8e03b tools.deprecation is always loaded now; no need to waffle in the docs 2009-10-31 16:53:18 -05:00
Slava Pestov f102d1073e tools.memory: update for language changes 2009-10-30 03:15:07 -05:00
Slava Pestov 6f9336c29e Merge branch 'master' into new_gc 2009-10-30 03:03:05 -05:00
Slava Pestov a3522554f3 tools.memory: add gc-stats. for viewing event statistics 2009-10-30 02:45:16 -05:00
Doug Coleman 1d12a6707d sigma -> map-sum 2009-10-29 14:34:04 -05:00
Joe Groff 3fbe722561 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 bd13e018dd memq? -> member-eq?, sorted-memq? -> sorted-member-eq? 2009-10-28 15:02:00 -05:00
Doug Coleman 7ce4b746e5 parsed -> suffix!, add append! 2009-10-28 13:38:27 -05:00
Slava Pestov 08e7d25dc5 change-each -> map!, deep-change-each -> deep-map! 2009-10-27 22:32:56 -05:00
Joe Groff 935c0797c3 update existing code for [let change 2009-10-27 22:05:37 -05:00
Slava Pestov a1aac42786 vm: clean up gc events, remove -verbosegc switch, fix compaction bug 2009-10-27 21:31:28 -05:00
Slava Pestov 028a7be4d6 tools.memory: experimenting with some GC event data mining 2009-10-27 16:31:45 -05:00
Slava Pestov 21f1fe7aaf tools.time: remove crappy old GC stats 2009-10-27 03:37:05 -05:00
Slava Pestov d95a98eb9c 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 e793a72060 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 cf247c23a2 vm: room. now prints mark stack size, and total/contiguous free space 2009-10-25 13:18:06 -05:00
Slava Pestov 2b142dabae Re-organize a few things to reduce '-include=' image size 2009-10-23 04:32:17 -05:00
Doug Coleman 649323ebe0 Merge branch 'master' of git://factorcode.org/git/factor 2009-10-22 13:20:17 -05:00
Slava Pestov 0c40eb51ae tools.profiler: fix tests 2009-10-22 05:40:31 -05:00
Joe Groff b89047b3d3 fix tools.deploy test 2009-10-21 22:12:28 -05:00
Joe Groff c3b8847936 update a bunch of alien-callbacks and alien-indirects to use c-type words 2009-10-21 21:10:11 -05:00
Joe Groff cc5f9ff98a update cocoa bridge to use c-type words 2009-10-21 18:17:29 -05:00
Doug Coleman 0d4b9132d7 fix a bunch of typos in docs 2009-10-21 17:40:43 -05:00
Doug Coleman 6b6e56a179 change add-init-hook to add-startup-hook, new add-shutdown-hook word 2009-10-19 22:17:02 -04:00
Slava Pestov b427eb3f9a tools.deploy: increase terrain size tolerance, decrease windows size tolerance 2009-10-19 06:11:00 -05:00
Slava Pestov b5455bd9df tools.deploy.test: cheat on windows until we have class stripping 2009-10-18 15:24:09 -05:00
Slava Pestov 63ca8ee5cc tools.deploy.shaker: strip out typed word props 2009-10-16 23:59:45 -05:00
Slava Pestov 5afce2cc9e 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 fb79aec97e typed: fix deployment 2009-10-16 21:22:01 -05:00
Slava Pestov 8da50bdce9 Merge branch 'disassemble-quot' of git://github.com/phildawes/factor 2009-10-09 04:17:27 -05:00
Slava Pestov 978647dc39 Merge branch 'master' of git://factorcode.org/git/factor 2009-10-09 03:21:31 -05:00
Doug Coleman 9a09c3ced8 fix using 2009-10-08 12:30:43 -05:00
Phil Dawes 18bd437e3f disassemble can handle anonymous quotations 2009-10-07 17:07:00 +01:00
Slava Pestov 697e2342d0 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 bcd5c5c635 Fix deploy tests and update command-line docs a bit 2009-10-03 06:53:23 -05:00
Slava Pestov 21eea4d88c Allow access to command line arguments in deployed apps 2009-10-02 21:00:12 -05:00
Doug Coleman cfdaaec068 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 67167cf9ea 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 7ddb8d8525 tools.crossref: Added $subsection to 'M: link uses' markup list 2009-10-02 12:18:33 -04:00
Keith Lazuka 405e5d015b docs: change $subsection to $subsections 2009-10-02 12:15:48 -04:00
Keith Lazuka 6e12c254ef 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 5054c954be 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 beab46517e tools.deploy: fix test 11 2009-09-24 13:00:26 -05:00
Slava Pestov 7ea8832556 Tweaks to reduce deployed image size 2009-09-24 06:24:43 -05:00
Slava Pestov 576e725662 vm: Fix potential crash in <word> primitive if profiling is enabled 2009-09-24 04:31:11 -05:00
Slava Pestov 7012212708 tools.crossref: print message if there are no usages 2009-09-23 22:50:26 -05:00
Doug Coleman 51ddc963b8 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 fe948f0b26 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