Commit Graph

73 Commits (8cf85383f37710ef9b7fe02558ba2aed237b87e0)

Author SHA1 Message Date
John Benediktsson 1754ab73bd basis: fewer tokens when possible using if*. 2013-03-23 22:25:02 -07:00
Doug Coleman aafc2a6190 vocabs.metadata: Rename unsupported-platform. 2013-03-23 21:35:36 -07:00
John Benediktsson c64a90b277 vocabs.cache: root-cache get instead of get-global. 2013-03-05 18:57:32 -08:00
John Benediktsson 83712ad87e io.directories: defining "?delete-file". 2012-10-25 10:07:15 -07:00
John Benediktsson 013160df9a change some "2drop 2drop" to "4drop". 2012-10-23 12:21:30 -07:00
John Benediktsson 17bd952e4a vocabs.cache: bringing back the fry change. 2012-08-13 12:44:33 -07:00
John Benediktsson 750d9e0faf Revert "vocabs.cache: use fry, its cleaner."
This reverts commit 1a8d9f227d.
2012-08-13 12:36:06 -07:00
John Benediktsson 54cfca1f1e Revert "vocabs.cache: oops."
This reverts commit c7c0fd7a46.
2012-08-13 12:36:02 -07:00
John Benediktsson 1baaa99153 vocabs.cache: oops. 2012-08-13 12:31:36 -07:00
John Benediktsson 2e8361fee8 vocabs.cache: use fry, its cleaner. 2012-08-13 12:30:17 -07:00
John Benediktsson 9ac33a06bc vocabs.cache: clear only the vocab that changed from vocab-file-contents. 2012-08-13 12:24:14 -07:00
John Benediktsson 33c4e19ff9 vocabs: change vocabs-changed to be vocab-changed and take a vocab argument. 2012-08-13 12:05:42 -07:00
John Benediktsson 231b791da1 vocabs.hierarchy: much faster using directory entries. 2012-08-13 11:12:15 -07:00
John Benediktsson e374f2fa19 vocabs: reverting recent private vocab changes. 2012-08-13 10:32:14 -07:00
John Benediktsson fd94838032 vocabs.refresh: skip private vocabs. 2012-08-10 19:33:18 -07:00
John Benediktsson 344b89fe5f vocabs.loader: better fix for append-vocab-dir. 2012-08-10 15:01:37 -07:00
John Benediktsson b957ad1684 vocabs: make source/docs/tests work for private vocabs. 2012-08-10 14:39:53 -07:00
John Benediktsson 3a5d7077fb vocabs.files: adding a 'vocab-tests-path' that doesn't check for existence. 2012-07-23 10:01:48 -07:00
John Benediktsson bf3f466688 vocabs.hierarchy: ensure-valid-root only once per root. 2012-07-15 16:17:29 -07:00
John Benediktsson 260b75f4bf vocabs.hierarchy: some cleanup and minor speedups. 2012-07-15 15:48:39 -07:00
Joe Groff 07f206b31b vocabs.refresh.monitor: use resolve-symlinks
It already exists and actually works on windows
2011-11-16 20:35:42 -08:00
Joe Groff 090dc2f410 vocabs.refresh.monitor: remove debug traces 2011-11-15 20:15:11 -08:00
Joe Groff b5c72dab40 vocabs.refresh.monitor: handle symlink paths
On macosx, fsevents always provides the true path for changed files, even if the monitored path includes symlinks. This screws things up if a symlinked path is used as a vocab root. Fixes #404.
2011-11-15 20:04:44 -08:00
Doug Coleman c731dc6edb Rename lookup to lookup-word. 2011-11-06 16:00:00 -08: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
Doug Coleman 80a1a68e0f Fix error reporting for load, reported by Recursed 2011-10-25 14:54:23 -07: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
Slava Pestov f3b264522c io.directories: move directory-tree-files words to io.directories.hierarchy, where all the other *-tree stuff is 2010-09-11 18:43:47 -07: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 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
Daniel Ehrenberg 1e5f202998 Maing vocabs.hierarchy use sets; modifying alias analysis's use of sets 2010-02-28 22:55:22 -05:00
Daniel Ehrenberg da57436180 Finishing eliminating prune as a synonym of members 2010-02-27 14:52:24 -05:00
Daniel Ehrenberg 7074979745 Moving new-sets to sets 2010-02-26 16:01:01 -05: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 6e516789d5 continuations: add a throw-continue word for resumable errors, and change vocabs.metadata to throw a resumable error if the current platform is not supported 2010-02-20 13:41:33 +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 31029de959 Merge branch 'master' of git://factorcode.org/git/factor 2010-02-16 10:41:15 -08:00
Joe Groff 25b93af7df git doesn't track empty directories. remove that from the vocab.metadata.resources tests 2010-02-16 10:29:18 -08:00
Slava Pestov 4b41d8e83e vocabs.metadata.resources: fix help lint 2010-02-17 01:52:16 +13: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 281ddf5b27 remove debug output from vocab.metadata.resources 2010-02-14 12:08:13 -08: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
Joe Groff 072dd3b0d0 vocabs.metadata.resources: don't try to expand resource patterns for vocabs without a resources.txt 2010-02-14 09:59:36 -08:00
Joe Groff c0aee19082 vocabs.metadata: add "vocab-resources" word to read list of deployable resource files from a "resources.txt" file in the vocab directory. add "vocabs.metadata.resources" subvocab that expands globs and directory names in resources.txt entries 2010-02-13 14:31:10 -08:00
Slava Pestov ce60f3c6b6 vocabs.prettyprint: fix error when printing auto-use 2010-01-28 16:46:24 +13:00
Slava Pestov de3168ad71 Various documentation improvements 2010-01-26 01:01:12 +13:00