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
Doug Coleman
6b6e56a179
change add-init-hook to add-startup-hook, new add-shutdown-hook word
2009-10-19 22:17:02 -04:00
Keith Lazuka
405e5d015b
docs: change $subsection to $subsections
2009-10-02 12:15:48 -04:00
Slava Pestov
27fed2746a
vocabs.generated: if quotation throws an exception, forget the new vocabulary
2009-09-23 20:22:47 -05:00
Doug Coleman
810bd63820
Merge branch 'master' of git://factorcode.org/git/factor
...
Conflicts:
basis/math/vectors/simd/simd-docs.factor
2009-09-23 10:11:49 -05:00
Doug Coleman
eceed177d6
replace usages of <" with """
2009-09-20 22:42:40 -05:00
Slava Pestov
47d8763340
More integer SIMD work
...
- move generated vocab support from specialized-arrays to vocabs.generated
- add fuzz testing to math.vectors.simd
- add alien type support for integer SIMD vectors
- SIMD: parsing word generates a SIMD type, instead of pre-generating them all in math.vectors.simd
2009-09-20 16:48:17 -05:00
Slava Pestov
ded68c67c0
Fix bootstrap
2009-09-14 20:26:59 -05:00
Keith Lazuka
12446adfc2
vocabs.prettyprint: fixed indentation
2009-09-11 21:46:16 -04:00
Keith Lazuka
51f40e2727
vocabs.prettyprint: made the auto-use vocab box a little easier to read
2009-09-09 16:39:26 -04:00
Keith Lazuka
ab7e2fc69b
Factor theme colors are now referenced by name.
...
Added a text file, "factor-colors.txt", which is like "rgb.txt" except it lists the theme colors used in the Factor UI.
Changed url-style color to DodgerBlue4 to match link-style.
2009-09-08 15:25:27 -04:00
Keith Lazuka
3fb75247b2
Applied ui-tweaks patchset.
...
- prettyprinter now does syntax highlighting of Factor code
- added a prettyprinter.stylesheet vocab
- text shadow character style for formatted streams
- text shadow for labels
- toolbar buttons display keyboard shortcut in status bar rather than in the button title
- changed some colors in help.stylesheet to match the colors in Factor's scrollbars and border-buttons
- changed status bar color to match the dark blue in Factor's scrollbars
- added some internal padding to the browser gadget to give the article content some breathing room
NOTE: I removed the "pane" slot from browser-gadget. The slot was never used (at least in my image), and now that the browser-gadget's help-pane is wrapped by a "border" gadget, the slot name would be misleading.
2009-09-08 13:30:30 -04:00
Slava Pestov
7734bd9bcd
vocabs.hierarchy: fix load-all
2009-08-05 23:08:14 -05:00
Slava Pestov
b4f97dc632
vocabs.hierarchy: load word now tries to load the vocab named by the prefix itself
2009-08-05 23:04:34 -05:00
Joe Groff
7c5ef08aab
[ [ ... ] compare ] sort => [ ... ] sort-with
2009-08-02 20:09:23 -05:00
Slava Pestov
d56e818beb
vocabs.hierarchy: fix (load) word
2009-07-06 05:22:01 -05:00
Slava Pestov
daed003f33
vocabs.hierarchy: more refactoring, update existing code for new API
2009-07-06 04:55:23 -05:00
Slava Pestov
5484bd3241
vocabs.hierachy: redo with cleaner API
2009-07-06 04:23:26 -05:00
Slava Pestov
7c388d702a
Clean up pprint-use and related code to use manifests
2009-05-16 08:54:14 -05:00