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