Commit Graph

202 Commits (f3c8423382a27b4a93bd434cbff1fa5cfa7bff6b)

Author SHA1 Message Date
Doug Coleman a09a278981 Add a unit test vocabulary for vocabs.loadeer. 2011-11-02 16:47:53 -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
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 aa7f22edc0 Cleanup vocab name validation. Vocab names and vocab prefixes are the same concept, and by disallowing slashes, spaces, and colon, we automatically check for absolute paths. Unit test this. 2011-10-29 01:05:37 -07:00
John Benediktsson ea4fe562c3 vocabs.loader: actually use the root cache. 2011-10-24 16:19:59 -07:00
Doug Coleman 26872ffe4d Rename vocab to lookup-vocab 2011-10-24 06:42:54 -05:00
Doug Coleman 3d65fbf1c7 Remove docs for removed word 2011-10-24 00:57:14 -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
John Benediktsson 605c2b265e vocabs: adding docs for 'parent-vocab?' and 'parent-vocabs'. 2011-09-25 18:36:20 -07:00
John Benediktsson 46df742317 vocabs: adding 'parent-vocab?' and 'parent-vocabs'. 2011-09-25 18:32:03 -07: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
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
Keita Haga dcb387630b sequences, syntax, vocabs.parser: remove useless whitespace in docs 2010-12-23 03:42:41 +09:00
Keita Haga 1270167513 vocabs: fix typo in docs 2010-11-14 17:14:40 +09: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
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 71cc16df2a vocabs.loader: tweak docs 2010-06-13 18:12:57 -04:00
Slava Pestov f78bbb865e vocabs.refresh.monitor: spin off new monitor threads when add-vocab-root is called. Fixes a problem where depending on the order of startup hooks, refresh-all would sometimes be broken for custom vocab roots 2010-05-31 20:14:54 -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 5ac954b154 vocabs: add a link to the parse-time word lookup article 2010-04-28 05:04:09 -04:00
Daniel Ehrenberg c5530080c4 Fixing issue where require-when could create a circularity 2010-04-21 00:40:40 -05:00
Daniel Ehrenberg 26c3bf2611 Adding docs on null? and the changes for require-when 2010-04-18 14:44:52 -05:00
Daniel Ehrenberg 099ffa1f5e Fixing require-when 2010-04-18 14:08:21 -05:00
Daniel Ehrenberg 00176e7bd1 Attempting to make require-when work with multiple vocabs 2010-04-17 17:19:37 -05:00
Slava Pestov da6bcbedfc Replace 'untested' tag with 'not loaded' and 'not tested' tags 2010-04-13 18:43:01 -07:00
Daniel Ehrenberg 7dd44bfccf Docs for require-when 2010-03-19 06:45:55 -04:00
Daniel Ehrenberg bcba3ab5ec Untested tags for vocabs.loader.test.[mno] 2010-03-19 06:34:25 -04:00
Daniel Ehrenberg 9e602d213f Renaming require-if to require-when 2010-03-18 00:24:41 -04:00
Daniel Ehrenberg 043578ca1d require-if loads vocabs conditionally, now or later 2010-03-18 00:00:32 -04:00
Slava Pestov 2ab1be755c vocabs.loader: tweak platform checking logic 2010-02-22 13:17:46 +13:00
Slava Pestov 2f70ebd4d0 vocabs: document platforms.txt 2010-02-21 20:38:09 +13:00
Slava Pestov 1915b7e955 vocabs.loader.test.a: fix 2010-02-20 13:31:51 +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
Joe Groff e70fcf159d Revert "fix append-path and vocab-dir to use path-separator"
This reverts commit 0f3026b871.
2010-02-17 16:06:45 -08:00
Joe Groff f26460450e Revert "vocabs.loader: make vocab-dir+ use path-separator too"
This reverts commit 2dcc720629.
2010-02-17 16:05:59 -08:00
Joe Groff 27cfeec43a vocabs.loader: make vocab-dir+ use path-separator too 2010-02-16 19:29:42 -08:00
Joe Groff 4a182cfbad fix append-path and vocab-dir to use path-separator 2010-02-16 18:40:40 -08:00
Joe Groff bd2b72ad08 update vocabs and tools.deploy docs to mention icon files 2010-02-15 14:18:26 -08:00
Joe Groff 45c85d1851 update vocabs and deploy docs to mention resources.txt 2010-02-15 10:14:30 -08:00
Brad Christensen 9b9322ea1e A number of documentation fixes and cleanup. 2010-02-03 00:05:03 -07:00
Slava Pestov 73cbf46760 vocabs.parser: a couple of fixes 2010-01-27 23:20:17 +13:00
Slava Pestov 3237e48b2d vocabs.parser: The manifest is now a definition observer, and updates itself when compilation units complete. This helps keep listener's search path up to date if vocabularies and words are renamed, defined, and undefined
- This makes forget-vocab more reliable in the listener
- It also fixes the problem of listener sessions where QUALIFIED: was used referring to outdated words if the vocabulary in question was reloaded
2010-01-27 20:49:26 +13:00
Slava Pestov de3168ad71 Various documentation improvements 2010-01-26 01:01:12 +13:00
Slava Pestov 0612bc6177 Factor source files should not be executable 2009-11-21 17:50:43 -06:00
Joe Groff 6047f79996 pronouns deserve antecedents 2009-11-07 23:15:30 -06:00
Joe Groff 2599993093 link vocabularies->words->quotations in synopsis documentation 2009-10-28 22:48:25 -05:00
Slava Pestov 50f5c3d116 remq -> remove-eq, delq -> remove-eq! 2009-10-28 00:23:08 -05:00
Slava Pestov f5a0a8b6e1 delete -> remove! 2009-10-27 23:25:35 -05:00
Keith Lazuka 405e5d015b docs: change $subsection to $subsections 2009-10-02 12:15:48 -04:00