Commit Graph

368 Commits (2c67a5cd78e5dcffd7146e6fd0eb95f810a497e1)

Author SHA1 Message Date
Joe Groff 2ca4854886 help.markup: add tests 2011-09-15 15:55:54 -07:00
Joe Groff 9c425cb182 help.markup: change related-words to notify definition observers for the affected words and to update the relations of formerly-related words; fixes #28 2011-09-15 15:55:54 -07:00
Doug Coleman e0560e2fd7 Display articles in history better. Fixes issue #29.
Define a default method on article-name to call article-title.
2011-09-09 18:49:31 -07:00
John Benediktsson 664ef03fc4 Merge branch 'master' into sorting
Conflicts:
	basis/heaps/heaps-tests.factor
2011-04-12 18:09:36 -07:00
Doug Coleman 9e7e2b92a5 Make print-topic print a newline and adjust usages elsewhere. Reported by mrjbq7. 2011-04-10 14:18:35 -05:00
John Benediktsson 8928fe2e17 Update code that did ">alist sort-" to just "sort-". 2011-04-07 09:01:21 -07:00
John Benediktsson 306643cad4 Merge branch 'master' of git://github.com/slavapestov/factor 2011-03-14 22:47:02 -07:00
otoburb 7536a97692 basis/help/apropos: Added unicode.categories. Missing from previous commit. 2011-03-14 01:21:56 +00:00
otoburb 3e7803a0d9 basis/help/apropos: Trimming whitespace before and after search query. Allows accidental/reflex whitespace to be corrected so results can still be returned. 2011-03-14 01:21:56 +00:00
John Benediktsson 927f66f901 help.markup: Store $url as urls. 2011-03-07 15:03:48 -08:00
Keita Haga 7dd0319021 help.topics: fix typo in docs 2011-02-04 22:53:05 +09:00
Keita Haga 48a4309d60 help.tutorial: minor fix 2011-01-18 18:35:48 +09:00
Keita Haga 98b48872ca help.tutorial: updating to 2011 2011-01-15 12:52:14 +09:00
Keita Haga 9529e741f0 help: minor improvement in example usage of 'ARTICLE:' 2011-01-14 23:50:54 +09:00
Keita Haga 7a416b4845 help: clean up to example usage of 'HELP:' in docs 2011-01-14 23:05:32 +09:00
John Benediktsson e41a84dbfb help.tutorial: updating to 2011. 2011-01-05 18:37:32 -08:00
John Benediktsson 4c980115cc Merge branches 'master' and 'cleanup' into cleanup 2011-01-05 18:35:13 -08:00
Keita Haga 7c4e2077ac help, hints: remove syntax vocab in few examples 2010-12-04 01:25:14 +09:00
Keita Haga 8dabdfb978 help: add stack effect declaration and using to HELP: example in docs 2010-11-29 03:44:45 +09:00
John Benediktsson 749967558a help.tutorial: minor cleanup. 2010-11-25 23:58:33 -08:00
Keita Haga 2d1969fdcd help.handbook: fix typo 2010-11-16 17:45:25 +09:00
Slava Pestov a992b8e0ac help.html: put exact matches first in search results 2010-09-20 21:36:20 -07:00
John Benediktsson 1f5a475541 help.apropos: some cleanup and performance improvement. 2010-08-13 19:32:49 -07:00
Slava Pestov 1055b49315 help.html: escape % in word names (reported by Anton Gorenko) 2010-07-26 17:43:50 -04:00
Doug Coleman 1269f071c1 make unlinked-words take a vocabulary name instead of a list of words 2010-06-23 14:58:07 -05:00
Doug Coleman e559f1470b Use keys/values where appropriate 2010-05-21 12:48:04 -05:00
Slava Pestov d2d466de29 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
Daniel Ehrenberg 1b61e2e5cf Merge branch 'bags' of git://github.com/littledan/Factor
Conflicts:

	basis/compiler/cfg/ssa/construction/tdmsc/tdmsc.factor
	basis/furnace/auth/auth.factor
	basis/stack-checker/backend/backend.factor
2010-03-16 13:28:00 -04:00
Joe Groff baadb40e84 update help-lint to complain when $quotation effect doesn't match declared effect on corresponding input parameter of stack effect 2010-03-09 19:51:04 -08:00
Daniel Ehrenberg bf73129238 Changing some uses of prune to use members 2010-02-27 13:14:03 -05:00
Daniel Ehrenberg 92d76657b8 Updated documentation for sets 2010-02-27 00:27:40 -05:00
Daniel Ehrenberg 2b5af07494 Fixing ambiguity between sets and namespaces in many unit tests and furnace.auth 2010-02-26 17:17:40 -05:00
Daniel Ehrenberg 0f0571e48a Moving new-sets to sets 2010-02-26 16:01:01 -05:00
Slava Pestov 07e6016537 help.lint.checks: you can't have duplicate names in $values anymore 2010-02-19 12:32:03 +13:00
Slava Pestov 6ddc669192 help.stylesheet: tweak color 2010-02-19 04:11:57 +13:00
Slava Pestov 4dde73610b help.markup: make $example render slightly nicer 2010-02-18 01:18:48 +13:00
Slava Pestov cc384f5c5d help.home: don't flip out if an article in the recent list does not exist. Fixes problem where forgetting a vocab screws up help browser 2010-02-09 22:21:05 +13:00
Slava Pestov 31c174f393 help.handbook: mention foo! naming convention 2010-02-04 03:55:08 +13:00
Slava Pestov ad076ca608 help.crossref, tools.crossref: improved help cross-referencing 2010-01-26 01:18:10 +13:00
Slava Pestov e137f19431 help.lint: flush 2010-01-26 01:01:27 +13:00
Slava Pestov 08b6ebc7fa Factor source files should not be executable 2009-11-21 17:50:43 -06:00
Slava Pestov 4fe132df8d Minor cosmetic fixes 2009-11-10 21:48:00 -06:00
Doug Coleman c20a5166ad fix help lint 2009-10-30 13:35:20 -05:00
Joe Groff 15b03d3e1a shun ugly shuffle words in the docs 2009-10-29 19:42:55 -05:00
Slava Pestov 03e70d1aa9 remq -> remove-eq, delq -> remove-eq! 2009-10-28 00:23:08 -05:00
Joe Groff 1b4a0d6440 restore getting started and index topics to the handbook for the benefit of docs.factorcode.org 2009-10-24 21:28:24 -05:00
Joe Groff e59715c62c Merge branch 'master' of http://factorcode.org/git/factor 2009-10-24 16:30:39 -05:00
Joe Groff af05509a67 homepage header consistency 2009-10-24 16:27:27 -05:00
Joe Groff a3a0b20594 rearrange top-level help a little so that introductory articles are more discoverable 2009-10-24 16:14:19 -05:00
Joe Groff 7b3f3e3481 make the glossary the first thing on the "conventions" page 2009-10-24 15:47:06 -05:00
Slava Pestov aed3222302 help: don't consider children of $markup-examples for cross-referencing 2009-10-23 03:27:45 -05:00
Doug Coleman aaa16e079f don't natural-sort the stack effects or $values in help-lint -- catches a lot more documentation errors 2009-10-21 17:39:53 -05:00
Slava Pestov 0a33e1a061 help.handbook: remove 'type index' 2009-10-20 07:07:03 -05:00
Slava Pestov c08ea10b89 help.tutorial: clarify role of ''reload'' word 2009-10-19 19:17:38 -05:00
Keith Lazuka 602126a29b help.markup: markup unit tests must ensure that 'last-element' is initialized to 'f' before running each test. 2009-10-09 12:16:02 -04:00
Slava Pestov 3e839405f8 help.markup: long links don't show stack effect for parsing words and symbols 2009-10-09 04:46:41 -05:00
Keith Lazuka 0cb9f39821 help.html: with-nesting-block now maps to an HTML DIV with display: inline-block CSS style
This change allowed me to remove the old hack that suppressed newlines
in the stream if they occurred immediately after a DIV.
2009-10-04 07:17:54 -04:00
Keith Lazuka 8f79ea91ba docs: change $subsection to $subsections 2009-10-02 12:15:48 -04:00
Keith Lazuka 7454e150e2 help.markup: new logic for preventing accidental double blank lines
$subsections emits a blank line after the final link so that subsequent span text is nicely spaced away from the group of links. Prior to this bug fix, if you were to put a $heading immediately after a $subsections element, there would be 2 blank lines between them. This fixes it so that there is only a single blank line between them.

I also added a bunch of unit tests for span, block, $heading and $nl layout interactions.
2009-10-01 13:15:28 -04:00
Keith Lazuka 93f844895a help.markup: fix layout bug for "N more results" link in apropos content 2009-09-30 15:06:29 -04:00
Slava Pestov eeb5aab2be Merge branch 'link' of git://github.com/klazuka/factor 2009-09-30 05:11:21 -05:00
Keith Lazuka b85710fefe help.markup: word link stack effect is now clickable 2009-09-28 10:44:46 -04:00
Slava Pestov 1b26a1c87c alien: improve documentation 2009-09-26 21:28:11 -05:00
Slava Pestov eb5d30e724 Fix conflict 2009-09-23 20:52:04 -05:00
Keith Lazuka cd11c889b2 help: added documentation for $subsections 2009-09-21 15:46:34 -04:00
Keith Lazuka 3a5dd71a03 help.markup: made $nl less promiscuous with its newlines 2009-09-21 15:41:04 -04:00
Keith Lazuka d257db6a5a help.markup: added $subsections markup and consolidated $link implementations
- Created a new markup element, $subsections, which is a plural variant
     of $subsection. The advantage is that it automatically inserts a
     blank line after the final subsection which makes help articles
     considerably easier to read.
- Consolidated the implementation of $link, $long-link and $pretty-link
- Moved $definition-icons from definition.icons to help.markup
- Moved $pretty-link from help.vocabs to help.markup
2009-09-21 15:35:16 -04:00
Keith Lazuka f6647d5125 help: inserted a blank line between the title and the article content. 2009-09-21 15:33:21 -04:00
Doug Coleman 47fab85a00 replace usages of <" with """ 2009-09-20 22:42:40 -05:00
Slava Pestov 6ea78b6e7a help.html: don't strip out vocabs without roots since that gets rid of private vocabs 2009-09-15 14:48:56 -07:00
Slava Pestov 66fe7f93fb help.vocabs: tweak 'not loaded' message some more 2009-09-14 16:19:36 -05:00
Keith Lazuka 7170e0cbfb help.vocabs: tweaked the vocab-not-loaded msg 2009-09-14 14:27:30 -04:00
Keith Lazuka 83f2a48853 help.vocabs: inform the user when browsing a vocab that is not loaded. 2009-09-14 11:13:45 -04:00
Keith Lazuka 8b666df6da Renamed a Factor theme color to something more sensible. 2009-09-14 09:01:03 -04:00
Keith Lazuka 19fcd6bc6a help.stylesheet: fixed black border bug around nav links in HTML documentation 2009-09-14 08:50:58 -04:00
Keith Lazuka d791e13be7 io.styles: bailed out on the with-nested-styles combinator 2009-09-11 20:35:56 -04:00
Keith Lazuka 76e159455a help browser: tweaked the colors based on user feedback.
The USING: line should be easier to read now.
I also decided to stop highlighting symbols.
2009-09-10 13:27:49 -04:00
Keith Lazuka 964e964b9d io.styles: renamed the 'border-width' style to 'inset'. inset takes a pair of 2 numbers (horizontal and vertical insets) 2009-09-09 15:50:25 -04:00
Keith Lazuka 2b391eabf8 help.html: link color now matches help.stylesheet link color 2009-09-09 13:33:40 -04:00
Keith Lazuka d9820a72f3 Changed Browser's "Up:" links to a traditional breadcrumbs list.
Tweaked a few colors in the Factor UI.
2009-09-09 10:44:41 -04:00
Keith Lazuka 78a34b9b3b 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 6df63c62a7 Removed text shadow support 2009-09-08 14:22:27 -04:00
Keith Lazuka 48aba9399b 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 24e2f087ea More minor documentation tweaks 2009-08-30 06:32:20 -05:00
Slava Pestov 88f5ebf4b9 help.vocabs: 'authors' and 'tags' weren't recursing like they should've been 2009-08-24 21:56:14 -05:00
Joe Groff d012dd5834 Merge branch 'master' of git://factorcode.org/git/factor 2009-08-24 18:04:44 -05:00
Slava Pestov 50641a5059 Disposables are now registered in a global disposables set. To take advantage of this, subclass disposable instead of providing a disposed slot and call new-disposable instead of new. tools.disposables defines two words, 'disposable.' and 'leaks', to help track down resource lifetime problems 2009-08-24 02:26:13 -05:00
Joe Groff 16c90d29e5 $deprecated help markup 2009-08-20 18:36:55 -05:00
Joe Groff 8389fa8f7f link tools.deprecation docs into handbook and error-list docs 2009-08-20 16:18:47 -05:00
Doug Coleman d1ce837569 Delete empty unit tests files, remove 1- and 1+, reorder IN: lines in a lot of places, minor refactoring 2009-08-13 19:21:44 -05:00
Philipp Brüschweiler 18240b0219 misc small documentation fixes, some fixes for factor.vim, changed permissions of vm/* to 644 2009-08-10 21:33:07 +02:00
Slava Pestov 877e117364 help.tutorial: minor tweaks 2009-08-07 14:54:51 -05:00
Slava Pestov 4663bc0790 Merge branch 'master' of git://factorcode.org/git/factor 2009-08-03 01:02:14 -05:00
Slava Pestov 53805b27ab help.html: fix vocab help generation 2009-08-03 01:02:00 -05:00
Joe Groff b4befe3f69 [ [ ... ] compare ] sort => [ ... ] sort-with 2009-08-02 20:09:23 -05:00
Slava Pestov 55ead133f8 help.lint.checks: don't throw strings 2009-07-16 21:38:54 -05:00
Slava Pestov 04900a7fa1 vocabs.hierarchy: more refactoring, update existing code for new API 2009-07-06 04:55:23 -05:00
Slava Pestov 8a21ee78e2 help.html: Update for vocabs.hierarchy changes 2009-07-06 04:35:00 -05:00
Slava Pestov 9fe0fb9806 help.html: escape # in word names. Reported by ex_rzrjck 2009-07-06 04:24:01 -05:00
Doug Coleman 3f89d8ce3f turn off auto-use when using help-lint 2009-06-18 19:34:56 -05:00