Commit Graph

267 Commits (e31ed3eda4785af12b45eabcbfdd0de9cb79527d)

Author SHA1 Message Date
Doug Coleman 83a442c30f 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 5346fb9f23 help.handbook: remove 'type index' 2009-10-20 07:07:03 -05:00
Slava Pestov fc317d7714 help.tutorial: clarify role of ''reload'' word 2009-10-19 19:17:38 -05:00
Keith Lazuka 36a6e9e7bb 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 b952977d53 help.markup: long links don't show stack effect for parsing words and symbols 2009-10-09 04:46:41 -05:00
Keith Lazuka 4743ffdc18 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 405e5d015b docs: change $subsection to $subsections 2009-10-02 12:15:48 -04:00
Keith Lazuka 1a44b22f14 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 f58e913336 help.markup: fix layout bug for "N more results" link in apropos content 2009-09-30 15:06:29 -04:00
Slava Pestov da623ba29a Merge branch 'link' of git://github.com/klazuka/factor 2009-09-30 05:11:21 -05:00
Keith Lazuka bdd47b9991 help.markup: word link stack effect is now clickable 2009-09-28 10:44:46 -04:00
Slava Pestov 77fa16c76f alien: improve documentation 2009-09-26 21:28:11 -05:00
Slava Pestov 0836e79e66 Fix conflict 2009-09-23 20:52:04 -05:00
Keith Lazuka c4ed7f38b7 help: added documentation for $subsections 2009-09-21 15:46:34 -04:00
Keith Lazuka c4419ba4a3 help.markup: made $nl less promiscuous with its newlines 2009-09-21 15:41:04 -04:00
Keith Lazuka 66a6108d42 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 992a49839f help: inserted a blank line between the title and the article content. 2009-09-21 15:33:21 -04:00
Doug Coleman eceed177d6 replace usages of <" with """ 2009-09-20 22:42:40 -05:00
Slava Pestov 096c7e7a47 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 d772bff8b9 help.vocabs: tweak 'not loaded' message some more 2009-09-14 16:19:36 -05:00
Keith Lazuka b6d57a4d19 help.vocabs: tweaked the vocab-not-loaded msg 2009-09-14 14:27:30 -04:00
Keith Lazuka fad3d47a8b help.vocabs: inform the user when browsing a vocab that is not loaded. 2009-09-14 11:13:45 -04:00
Keith Lazuka 91c7eb9eea Renamed a Factor theme color to something more sensible. 2009-09-14 09:01:03 -04:00
Keith Lazuka d0652d9d0b help.stylesheet: fixed black border bug around nav links in HTML documentation 2009-09-14 08:50:58 -04:00
Keith Lazuka 65e9c29a7b io.styles: bailed out on the with-nested-styles combinator 2009-09-11 20:35:56 -04:00
Keith Lazuka e1979f5ad5 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 a96e828d7c 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 28b8703b5b help.html: link color now matches help.stylesheet link color 2009-09-09 13:33:40 -04:00
Keith Lazuka 1bb48ec9ea 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 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 9c7d45e08a Removed text shadow support 2009-09-08 14:22: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 ec70e1d714 More minor documentation tweaks 2009-08-30 06:32:20 -05:00
Slava Pestov bb51ee8d26 help.vocabs: 'authors' and 'tags' weren't recursing like they should've been 2009-08-24 21:56:14 -05:00
Joe Groff 54ff361331 Merge branch 'master' of git://factorcode.org/git/factor 2009-08-24 18:04:44 -05:00
Slava Pestov 46045c882e 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 c6b9a45881 $deprecated help markup 2009-08-20 18:36:55 -05:00
Joe Groff 90f8cdc0d1 link tools.deprecation docs into handbook and error-list docs 2009-08-20 16:18:47 -05:00
Doug Coleman 3f3d57032b 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 230061783a 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 fb80f21d75 help.tutorial: minor tweaks 2009-08-07 14:54:51 -05:00
Slava Pestov 89305e0bcb Merge branch 'master' of git://factorcode.org/git/factor 2009-08-03 01:02:14 -05:00
Slava Pestov 30fde00570 help.html: fix vocab help generation 2009-08-03 01:02:00 -05:00
Joe Groff 7c5ef08aab [ [ ... ] compare ] sort => [ ... ] sort-with 2009-08-02 20:09:23 -05:00
Slava Pestov afec68db24 help.lint.checks: don't throw strings 2009-07-16 21:38:54 -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 bcdd94d50a help.html: Update for vocabs.hierarchy changes 2009-07-06 04:35:00 -05:00
Slava Pestov 4d950dee9a help.html: escape # in word names. Reported by ex_rzrjck 2009-07-06 04:24:01 -05:00
Doug Coleman f1bf5db9ed turn off auto-use when using help-lint 2009-06-18 19:34:56 -05:00
Slava Pestov 37b01357ec Remove unused words discovered by Samuel Tardieu 2009-06-16 16:38:39 -05:00