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
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
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
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
de3168ad71
Various documentation improvements
2010-01-26 01:01:12 +13:00
Joe Groff
6047f79996
pronouns deserve antecedents
2009-11-07 23:15:30 -06:00
Keith Lazuka
405e5d015b
docs: change $subsection to $subsections
2009-10-02 12:15:48 -04:00
Doug Coleman
407377fc98
rename peek -> last and update all usages
2009-05-25 16:38:33 -05:00
Slava Pestov
9cc178b738
If a vocab fails to load, manifest would be left in a weird state (reported by Joe Groff)
2009-05-22 01:59:50 -05:00
Slava Pestov
fb5b48c71a
Fix some test failures
2009-05-04 09:44:26 -05:00
Slava Pestov
b2c3183b21
Split up tools.vocabs. Note that load-everything is now named load-all
2009-05-04 06:44:17 -05:00
Doug Coleman
7a1841f59b
(( -- )) eval -> eval( -- )
2009-04-17 15:49:21 -05:00
Doug Coleman
aad6a3d504
fixing compiler error in core
2009-04-17 12:45:57 -05:00
Slava Pestov
d227fcd33f
Move compiler.errors to basis
2009-04-13 02:18:41 -05:00
Slava Pestov
c4be8bd65a
Refactor error code so that error types are registered; listener prints a summary of errors
2009-04-12 16:08:46 -05:00
Slava Pestov
7741d2ca23
- definitions.icons now has a reference article
...
- move about to help.vocabs; it now opens the vocab browser instead
- help.vocabs is in default use list
- add runnable-vocab predicate class
2009-03-24 09:11:45 -05:00
Slava Pestov
723bfab030
Fixing unit tests for syntax change
2009-03-23 00:34:02 -05:00
Slava Pestov
9d44b7620f
Fixing the build
2009-03-18 17:01:26 -05:00
Slava Pestov
786475102d
Make more code infer
2009-03-17 02:19:50 -05:00
Slava Pestov
be4fb1e7d9
Move call( and execute( to core
2009-03-16 20:11:36 -05:00
Slava Pestov
60134eeb98
Documentation fixes
2009-02-19 13:35:53 -06:00
Slava Pestov
6b99b04531
Add vocab: for vocab-relative paths
2009-02-15 19:53:21 -06:00
Slava Pestov
ca2f01e0d0
Updating non-core libraries for monotonic? change
2009-01-16 17:02:54 -06:00
Slava Pestov
4204fd495f
Move formatted stream output words to io.styles; they didn't belong in core, and this reduces deployed image size
2009-01-13 17:12:43 -06:00
Slava Pestov
5fdb474c76
Fixing various test failures and updating some more vocabs for >r/r> removal
2008-12-17 22:29:32 -06:00
Slava Pestov
50e214c152
io.files split up and general refactoring work in progress
2008-12-14 20:03:00 -06:00
Slava Pestov
ccab34e7c4
Fix restart behavior with circular vocabs, and add a test for this
2008-12-09 04:50:33 -06:00
Doug Coleman
3293dde7a2
remove unit test
2008-12-05 12:53:23 -06:00
Slava Pestov
9e4dfda8cd
Fix help lint
2008-12-01 18:08:48 -06:00
Slava Pestov
87656b19e3
FACTOR_ROOTS env var
2008-12-01 17:19:47 -06:00
Slava Pestov
a558f91d5d
Better command-line processing
2008-12-01 16:10:48 -06:00
Slava Pestov
c2c07f8b22
Fix bootstrap
2008-11-23 00:24:36 -06:00
Slava Pestov
7c61cf190f
Circularity between vocabularies no longer causes an infinite loop; loading a vocabulary like json or furnace no longer loads certain files twice
2008-11-23 00:04:18 -06:00
Slava Pestov
f29300c6ba
Better error message when vocab top level forms leave crap on the stack
2008-11-16 19:47:52 -06:00
Slava Pestov
251f9213c3
Fix typo
2008-11-16 19:19:53 -06:00
Slava Pestov
c19f2257f4
Fix permission bits
2008-10-02 08:34:49 -05:00
Slava Pestov
7887515d00
Fix stack effects of load-source, load-docs so that stack isn't filled up with crap in stage2
2008-09-13 21:23:25 -05:00
Slava Pestov
44f53de164
Move make to its own vocabulary, remove fry _ feature
2008-09-10 20:07:00 -05:00
Slava Pestov
680e028ccb
Remove blank line
2008-09-04 16:56:24 -05:00
Doug Coleman
74a2e75c64
fix docs
2008-09-02 16:07:17 -05:00
Doug Coleman
76fb3de616
new accessors
2008-09-02 01:55:36 -05:00
Doug Coleman
9695df7fbd
fix loader bug i introduced
2008-08-30 21:01:54 -05:00
Doug Coleman
5122e137d4
bug i introduced -- reload was leaving a vocab object on stack
2008-08-30 15:21:14 -05:00
Doug Coleman
e5bec5bbb8
clean up vocab loader a bit
2008-08-30 13:31:00 -05:00
Slava Pestov
a8560f0f57
Don't store f in vocab root cache
2008-08-25 02:09:45 -05:00
Slava Pestov
91059b4ad6
Documentation update
2008-08-23 20:24:54 -05:00
Slava Pestov
6408b01e9d
Add 'unportable' tag in place of hard-coded list of 'dangerous' vocabs in load-everything
2008-07-29 16:47:52 -05:00
Slava Pestov
4cb64aaeb8
Fixing unit tests for eval word being moved
2008-07-29 00:05:01 -05:00
Slava Pestov
f5c15481fe
Move io.styles to basis
2008-07-28 22:28:13 -05:00
Slava Pestov
d66f887736
Create basis vocab root
2008-07-28 22:03:13 -05:00
Slava Pestov
17b94261c5
Fix deploy tests
2008-07-02 21:52:28 -05:00
Slava Pestov
537269447c
Move mirrors out of the boot image
2008-07-02 00:20:01 -05:00
Slava Pestov
666d4abaee
More fixes
2008-06-25 04:06:18 -05:00
Slava Pestov
9dd5c9919f
Mandatory stack effect annotations
2008-06-08 15:32:55 -05:00
Slava Pestov
f6e73abc02
Redo refresh-all
2008-04-09 19:30:54 -05:00
Slava Pestov
82fc8f18db
Converting core to use inheritance
2008-04-04 03:46:30 -05:00
Eduardo Cavazos
aa40350aa7
replace add* and add with prefix and suffix
2008-03-31 18:18:05 -06:00
Slava Pestov
7174e8cbc4
Fixing unit test failures
2008-03-29 15:50:50 -05:00
Slava Pestov
adb1dd14d0
Rename tuples vocab to classes.tuple for consistency
2008-03-29 03:34:48 -05:00
erg
15c68a23f8
remove ?resource-path and resource-exists?
2008-03-26 23:47:51 -05:00
Slava Pestov
3664f7af1b
Fix loader regression
2008-03-20 17:58:35 -05:00
Doug Coleman
d0b348591a
path+, prepend
2008-03-19 19:15:43 -05:00
Slava Pestov
3591ed402d
Simplify vocab.loader even further
2008-03-19 14:39:08 -05:00
Slava Pestov
da7f10804a
Refactor vocab loader
2008-03-18 20:27:09 -05:00
Slava Pestov
02d7c9fb24
Simplifications
2008-03-13 05:21:56 -05:00
Slava Pestov
3cddca95ae
Simply core: don't call directory? and file-modified until after bootstrap
2008-03-13 04:54:33 -05:00
Slava Pestov
8399336648
tools.vocabs absorbs some words from tools.browser and vocabs.loader
2008-03-12 19:55:06 -05:00
Slava Pestov
32526206f1
Help fixes
2008-03-11 19:51:58 -05:00
Daniel Ehrenberg
c5eec0ba10
Merge branch 'master' of git://factorcode.org/git/factor into unicode
...
Conflicts:
core/io/files/files-tests.factor
core/io/files/files.factor
core/io/io-tests.factor
core/io/streams/c/c-tests.factor
core/io/streams/lines/lines-tests.factor
core/source-files/source-files.factor
extra/benchmark/sockets/sockets.factor
extra/http/server/templating/templating-tests.factor
extra/http/server/templating/templating.factor
extra/io/launcher/launcher.factor
extra/io/mmap/mmap-tests.factor
extra/io/unix/launcher/launcher.factor
extra/io/unix/unix-tests.factor
2008-03-04 17:51:40 -06:00
Slava Pestov
67eade4a29
Fix refresh-all
2008-03-02 18:49:04 -05:00
Slava Pestov
e98cd1fd59
New convention for unit tests
2008-03-01 17:00:45 -05:00
Slava Pestov
373a88a77a
Fix UI hang, add if-box combinator
2008-02-29 19:10:30 -06:00
Daniel Ehrenberg
f7a2bc066c
Merge branch 'master' of git://factorcode.org/git/factor into unicode
...
Conflicts:
extra/io/unix/unix-tests.factor
extra/ogg/player/player.factor
2008-02-26 00:31:34 -06:00
Slava Pestov
15587627a3
Fix issue where refresh-all/load-everything would sometimes try to load a vocab more than once
2008-02-25 20:17:16 -06:00
Daniel Ehrenberg
8249ce2116
OK, now everything should load
2008-02-21 18:05:04 -06:00
Slava Pestov
9660a9c2d6
Another fix
2008-02-17 17:08:52 -06:00