Commit Graph

264 Commits (1ee53d04a95f1ce3e8b82e90a8b0c7149a654612)

Author SHA1 Message Date
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
Slava Pestov becaa7985d Remove unused words discovered by Samuel Tardieu 2009-06-16 16:38:39 -05:00
Slava Pestov c491d05763 Recent vocabs.parser change had a regression: vocabs with no roots (scratchpad) were excluded from default use list. Also move with-interactive-vocabs to listener vocab 2009-06-07 21:59:13 -05:00
Doug Coleman 8da9d0f203 rename peek -> last and update all usages 2009-05-25 16:38:33 -05:00
Slava Pestov 750a17ff63 help.html: fix escape-filename 2009-05-16 16:54:02 -05:00