Commit Graph

502 Commits (3db98706691d38f0d1c5d099ed990ae0c6eaa6ee)

Author SHA1 Message Date
John Benediktsson b3ccdec660 help.markup: adding $sequence for describing sequence values. 2015-07-14 15:55:18 -07:00
Doug Coleman 892c62e1dc factor: second stab at [ ] [ ] unit-test -> { } [ ] unit-test 2015-07-03 09:39:59 -07:00
Doug Coleman 43d6f1d3e2 factor: Retrying on the unit tests. Also normalize some syntax with FUNCTION:. 2015-07-02 17:28:17 -07:00
Doug Coleman 59f3b1ea57 Revert "factor: rename [ ] [ ] unit-test -> { } [ ] unit-test using a refactoring tool!"
Needs a bit more work.

This reverts commit 7e54cc2824.
2015-07-02 13:47:06 -07:00
Doug Coleman 7e54cc2824 factor: rename [ ] [ ] unit-test -> { } [ ] unit-test using a refactoring tool! 2015-07-02 11:36:08 -07:00
Doug Coleman 999aa7c897 factor: clean up spaces in -tests files 2015-07-02 10:34:01 -07:00
Doug Coleman e3cb325040 factor: clean up whitespace in -docs files 2015-07-02 10:31:22 -07:00
Doug Coleman aadb5d0b70 help.syntax: Don't throw a sequence error when article is defined poorly. 2015-06-30 09:46:36 -07:00
Doug Coleman 352e5de16a core, basis, extra: Remove DOS line endings from files.
Remove whitespace from end of lines.
Add a newline to the end of each file.
2015-06-29 17:25:40 -07:00
Doug Coleman a4c5a748ad core/basis: Rename words dealing with vocabs to loaded-vocabs or disk-vocabs because it's too confusing otherwise. 2015-06-08 12:47:35 -07:00
John Benediktsson b366a06c41 use reject instead of [ ... not ] filter. 2015-05-12 18:50:34 -07:00
John Benediktsson a33fc84de7 help.lint.checks: re-enable leak detection. 2015-05-12 10:46:37 -07:00
John Benediktsson 1ce1e2d27e help.apropos: remove extra whitespace. 2015-04-17 18:04:08 -07:00
John Benediktsson 76761b2e59 more minor cleanup. 2014-11-30 19:26:23 -08:00
Benjamin Pollack 2c3dd8c3c8 Remove executable bit from tons of files that aren't 2014-11-05 20:40:42 -08:00
John Benediktsson c0670893b3 help.topics: make wrappers unwrap into links. 2014-10-23 17:10:05 -07:00
John Benediktsson aae6fb2ae3 help.html: simplify (and separate) index generation. 2014-09-25 21:30:36 -07:00
John Benediktsson 179c60b0a5 help.html: make docs use same completions algorithm as listener. 2014-09-25 21:08:15 -07:00
John Benediktsson 64aa894fee help.tutorial: make it more clear how the tests work, thanks @ambimorph! 2014-06-10 15:06:28 -07:00
John Benediktsson 5986f9cbe3 help.lint.checks: allow $slot to be used with struct-class. 2014-06-08 18:12:26 -07:00
John Benediktsson 3ec5c7074d help.lint.checks: better error message for non-unique $see-also. 2014-06-06 14:46:46 -07:00
John Benediktsson c765f85851 help.lint.checks: maybe clearer error message. 2014-06-06 14:40:01 -07:00
John Benediktsson a992963f44 help.lint: help-lint should not be a MAIN: word. 2014-06-06 10:36:05 -07:00
John Benediktsson 256b135aa9 basis: use <vocab-link> in a couple places. 2014-06-03 10:14:03 -07:00
John Benediktsson 57f9d78892 improve help by linking to types directly. 2014-05-23 20:20:15 -07:00
John Benediktsson 72ff285bd8 help: use effect>string instead of present. 2014-05-19 10:18:48 -07:00
John Benediktsson ca061f79ff help.lint.checks: temporary fix for $quotation changes. 2014-05-19 10:04:39 -07:00
John Benediktsson 98935b7f15 docs: change ``{ $quotation "( x -- y )" }`` to ``{ $quotation ( x -- y ) }``. 2014-05-18 20:09:10 -07:00
John Benediktsson 8fc9b823e3 help.lint.checks: remove leaks check for now due to bootstrap issues. 2014-04-15 10:48:49 -07:00
Björn Lindqvist 792ed03b4d help.lint.checks: check for disposable leaks and print more details when $values are wrong 2014-04-14 08:37:52 -07:00
John Benediktsson c85f3790e1 help.search: fix summary file name. 2013-11-17 20:21:35 -08:00
Roc King 7d8f05012a help.cookbook: the space between "#!" and *interpreter* could be remove, since "#!" at the front of line will be handled specially. 2013-11-03 20:12:28 -08:00
John Benediktsson 5726da1285 help.lint: remove old word. 2013-08-24 12:21:16 -07:00
John Benediktsson b88755769b help.lint: add slot checking, don't check constants for $values. 2013-08-24 11:39:16 -07:00
John Benediktsson c74939e43b help: make sure error-classes are displayed in error index. 2013-04-06 13:35:37 -07:00
Doug Coleman 4d9adeac7e help.tutorial: Use scaffold-work in palindrome tutorial. 2013-04-04 15:06:33 -07:00
John Benediktsson cd1c6ccda0 help.lint: fix error-type-holder. 2013-03-23 22:04:49 -07:00
Doug Coleman f4dfc3733a help.lint: Rename help-lint-error. 2013-03-23 17:06:37 -07:00
Doug Coleman b4acfa376a definitions: Separate definition definitions. 2013-03-23 16:34:33 -07:00
John Benediktsson e164358d01 help.handbook: show vocab name for strict encodings. 2013-03-15 07:52:22 -07:00
John Benediktsson b2ffa02fff Fix some tests broken by recent definitions change. 2013-03-10 20:22:18 -07:00
Doug Coleman aa26fec7c6 help: Mismatched <PRIVATE PRIVATE> pair. 2013-03-10 15:14:14 -07:00
John Benediktsson c0c769a7d8 compiler.units: changing definitions-changed to use a set. 2013-03-10 09:11:18 -07:00
John Benediktsson c93fd319b3 help.markup: require $quotation to specify stack effect. 2012-09-27 11:08:52 -07:00
John Benediktsson cc60477996 help.tutorial: some feedback from real world tutees. 2012-09-23 19:01:43 -07:00
Doug Coleman 8d6002c765 help.tutorial: Explain the workflow before telling the user to edit the code. 2012-08-15 08:58:14 -07:00
John Benediktsson df91fa9527 help.html: fix test case back to original version. 2012-08-13 12:25:08 -07:00
Doug Coleman 94ad1c236f help.html: Fix unit test. 2012-08-12 13:55:53 -07:00
John Benediktsson adbe117b5a help.stylesheet: missing one style... 2012-08-07 14:51:04 -07:00
John Benediktsson 7e616a4d55 help.stylesheet: provide a mechanism to adjust the help fonts. 2012-08-07 08:36:16 -07:00
John Benediktsson 692ae29078 help.search: bit faster, allow searching for things like "first2", formatted output, and allow both phrase and starts-with searching. 2012-07-31 14:24:08 -07:00
John Benediktsson e6a26185d5 help.search: allow searching within help articles. 2012-07-31 10:31:05 -07:00
Doug Coleman ba64012f79 docs: vm says to read "command-line" but it was called "cli". change the article title in the docs. 2012-07-25 23:49:19 -07:00
John Benediktsson 17a50c649b vocabs: enforce sorting of keyed vocabs. 2012-07-24 15:04:32 -07:00
John Benediktsson 695e6aea49 help.html: fix using. 2012-07-22 22:24:56 -07:00
John Benediktsson 504bb901cf help.html: adding links to github source files. 2012-07-22 22:12:19 -07:00
John Benediktsson 7dc8b2ef1f help.vocabs: adding platforms to metadata. 2012-07-22 15:33:21 -07:00
John Benediktsson 9e1f82add6 help.markup: check the number of arguments to help markup. 2012-07-22 14:05:30 -07:00
John Benediktsson 7a615ae33b help: don't make word help create global boxes. 2012-07-20 12:00:47 -07:00
Doug Coleman 7327999e0a cookbook: One less pitfall. 2012-07-19 17:44:00 -07:00
John Benediktsson 1a73e79ef7 cleanup some use of with-scope. 2012-07-19 13:55:34 -07:00
John Benediktsson 90d0951ada more use of H{ } make. 2012-07-19 11:24:45 -07:00
Doug Coleman efbdf222a7 issue #358: Finish renaming <apropos> to <apropos-search> 2012-06-21 08:35:44 -07:00
Doug Coleman 425846298c issue #358: Rename apropos tuple -> apropos-search. 2012-06-21 08:35:39 -07:00
Doug Coleman 2b35edb595 issue #358: Make a word lookup-article so that article is just a tuple. 2012-06-21 08:35:38 -07:00
Joe Groff 5948f53725 change temp-file to cache-file where appropriate 2012-04-16 11:55:27 -07:00
Doug Coleman abc953ecea help-lint fixes for recent changes 2011-12-07 12:26:35 -08:00
Slava Pestov 72fdb8c5fb help.html: change back to the old naming scheme because we have too many links to existing doc articles all over the net 2011-12-04 13:46:13 -08:00
Joe Groff 1ef6fc03e6 remove values vocab 2011-11-28 21:26:33 -08:00
Joe Groff c8fd36bbdb kill tools.profiler.counting and ui.tools.profiler
Load tools.profiler.sampling from bootstrap/tools instead.
2011-11-10 12:33:10 -08:00
Doug Coleman c731dc6edb Rename lookup to lookup-word. 2011-11-06 16:00:00 -08:00
Doug Coleman 15575e5dd9 help.html: fix glossary link. 2011-11-05 00:05:58 -07:00
Joe Groff 43c832c991 help.handbook: update link to counting profiler 2011-11-02 13:23:15 -07:00
Slava Pestov 99b4752c57 help.html: I give up with the article name escaping. Just compute a SHA1 hash and use that as the file name. Fixes #309 2011-10-29 15:27:27 -07:00
Slava Pestov 914a4aee09 help.html: simpler stylesheet for navbar to give it a consistent look. Fixes #310 2011-10-29 15:27:27 -07:00
Slava Pestov 650fdc8fe5 help.html: use GET not POST for search form, so that the search term appears in the URL, and to make the back button work. Fixes #312 2011-10-29 15:27:27 -07:00
Doug Coleman 51c033a1f6 Fix all failures in the linux64 build email 2011-10-24 19:33:09 -07:00
Doug Coleman 26872ffe4d Rename vocab to lookup-vocab 2011-10-24 06:42:54 -05:00
John Benediktsson 5a943b32c4 Remove stack effects from HELP: declarations. 2011-10-20 19:36:11 -07:00
John Benediktsson d750197a7e help.syntax: if you're gonna have HELP: stack effects, they might as well be correct... 2011-10-18 20:12:42 -07:00
John Benediktsson 2608214622 help.syntax: allow HELP: to have optional stack effect. 2011-10-18 19:14:53 -07:00
John Benediktsson 0965d9be41 webapps.help: remove frames. Fixes #242. 2011-10-13 22:09:30 -07:00
John Benediktsson 7bdf805a0f help.html: better to set all recent help entries to empty. 2011-09-29 13:34:27 -07:00
John Benediktsson aa0f7d0f72 help.html: don't display recent searches. Fixes #211. 2011-09-29 12:10:55 -07:00
Joe Groff 88c5bb17f8 help.markup: add tests 2011-09-15 15:55:54 -07:00
Joe Groff 668a4557da 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 dd824bf0e5 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 eb6c986cd6 Merge branch 'master' into sorting
Conflicts:
	basis/heaps/heaps-tests.factor
2011-04-12 18:09:36 -07:00
Doug Coleman 9b97f22b92 Make print-topic print a newline and adjust usages elsewhere. Reported by mrjbq7. 2011-04-10 14:18:35 -05:00
John Benediktsson d58bc08aa0 Update code that did ">alist sort-" to just "sort-". 2011-04-07 09:01:21 -07:00
John Benediktsson bac951a618 Merge branch 'master' of git://github.com/slavapestov/factor 2011-03-14 22:47:02 -07:00
otoburb 61096c1657 basis/help/apropos: Added unicode.categories. Missing from previous commit. 2011-03-14 01:21:56 +00:00
otoburb e4bf5f104e 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 8f5bd796a1 help.markup: Store $url as urls. 2011-03-07 15:03:48 -08:00
Keita Haga fba461fe64 help.topics: fix typo in docs 2011-02-04 22:53:05 +09:00
Keita Haga 84e5c21fa9 help.tutorial: minor fix 2011-01-18 18:35:48 +09:00
Keita Haga c12412ba29 help.tutorial: updating to 2011 2011-01-15 12:52:14 +09:00
Keita Haga 2e08b85977 help: minor improvement in example usage of 'ARTICLE:' 2011-01-14 23:50:54 +09:00
Keita Haga 69353f2625 help: clean up to example usage of 'HELP:' in docs 2011-01-14 23:05:32 +09:00
John Benediktsson d926a5e28a help.tutorial: updating to 2011. 2011-01-05 18:37:32 -08:00
John Benediktsson 5dcd6b36d4 Merge branches 'master' and 'cleanup' into cleanup 2011-01-05 18:35:13 -08:00
Keita Haga 9f7c22be60 help, hints: remove syntax vocab in few examples 2010-12-04 01:25:14 +09:00
Keita Haga cca391861e help: add stack effect declaration and using to HELP: example in docs 2010-11-29 03:44:45 +09:00
John Benediktsson 7a06cacd45 help.tutorial: minor cleanup. 2010-11-25 23:58:33 -08:00
Keita Haga 58bac61281 help.handbook: fix typo 2010-11-16 17:45:25 +09:00
Slava Pestov 8912253b5c help.html: put exact matches first in search results 2010-09-20 21:36:20 -07:00
John Benediktsson 0701a68760 help.apropos: some cleanup and performance improvement. 2010-08-13 19:32:49 -07:00
Slava Pestov 7f4b7d66a3 help.html: escape % in word names (reported by Anton Gorenko) 2010-07-26 17:43:50 -04:00
Doug Coleman 3560b93329 make unlinked-words take a vocabulary name instead of a list of words 2010-06-23 14:58:07 -05:00
Doug Coleman bdecd564a3 Use keys/values where appropriate 2010-05-21 12:48:04 -05:00
Slava Pestov 627295f094 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 512fe14e4e 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 4367b15c4a 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 434605c0b5 Changing some uses of prune to use members 2010-02-27 13:14:03 -05:00
Daniel Ehrenberg 7ad324837b Updated documentation for sets 2010-02-27 00:27:40 -05:00
Daniel Ehrenberg 7cd3360cdd Fixing ambiguity between sets and namespaces in many unit tests and furnace.auth 2010-02-26 17:17:40 -05:00
Daniel Ehrenberg 7074979745 Moving new-sets to sets 2010-02-26 16:01:01 -05:00
Slava Pestov c3de89c808 help.lint.checks: you can't have duplicate names in $values anymore 2010-02-19 12:32:03 +13:00
Slava Pestov 2a517d31df help.stylesheet: tweak color 2010-02-19 04:11:57 +13:00
Slava Pestov da7cd4186a help.markup: make $example render slightly nicer 2010-02-18 01:18:48 +13:00
Slava Pestov bd7be6f7b8 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 229a956593 help.handbook: mention foo! naming convention 2010-02-04 03:55:08 +13:00
Slava Pestov 6306d58f77 help.crossref, tools.crossref: improved help cross-referencing 2010-01-26 01:18:10 +13:00
Slava Pestov 13e2de5cae help.lint: flush 2010-01-26 01:01:27 +13:00
Slava Pestov 0612bc6177 Factor source files should not be executable 2009-11-21 17:50:43 -06:00
Slava Pestov b551721dd9 Minor cosmetic fixes 2009-11-10 21:48:00 -06:00
Doug Coleman 89a426d797 fix help lint 2009-10-30 13:35:20 -05:00
Joe Groff eccf3fba9d shun ugly shuffle words in the docs 2009-10-29 19:42:55 -05:00
Slava Pestov 50f5c3d116 remq -> remove-eq, delq -> remove-eq! 2009-10-28 00:23:08 -05:00
Joe Groff 18d8dd4aee 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 0223ab5b2a Merge branch 'master' of http://factorcode.org/git/factor 2009-10-24 16:30:39 -05:00
Joe Groff 99778566bd homepage header consistency 2009-10-24 16:27:27 -05:00
Joe Groff 6f006cd0c7 rearrange top-level help a little so that introductory articles are more discoverable 2009-10-24 16:14:19 -05:00
Joe Groff 7d10458aef make the glossary the first thing on the "conventions" page 2009-10-24 15:47:06 -05:00
Slava Pestov 9d4df482c8 help: don't consider children of $markup-examples for cross-referencing 2009-10-23 03:27:45 -05:00
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