Commit Graph

549 Commits (14b1418f6a0c76397d0030c548408c56b4031163)

Author SHA1 Message Date
nicolas-p 072f8e2625 Set text color almost everywhere 2016-05-09 21:40:56 -07:00
nicolas-p e5698281fb Replaced hard-coded colors with constants 2016-05-09 21:40:56 -07:00
Nicolas Pénet 4a9876474a help.stylesheet: increased font size to 13pt 2016-04-23 10:23:45 -07:00
John Benediktsson 880ec55d6f help: for $default, make sure effect-in is a string. 2016-04-07 07:26:23 -07:00
John Benediktsson 8c158aa68f help.lint.checks: ignore words without defined word-help.
This allows us to skip words that use the $default help.
2016-04-05 19:03:48 -07:00
John Benediktsson 7468da3cd3 help: small fix because I forgot to test predicates still worked. 2016-04-04 15:40:26 -07:00
John Benediktsson bdd4d49ac1 help: adding a default word help if not defined by HELP:. 2016-04-04 15:31:53 -07:00
John Benediktsson 498285d7dd unicode: make this the API for all unicode things. 2016-03-30 23:29:48 -07:00
John Benediktsson 71ef8a22c2 disambiguate namespaces:set and sets:set. 2016-03-29 17:14:42 -07:00
John Benediktsson 1031a02d15 help: cleanup usings. 2016-03-20 19:42:38 -07:00
John Benediktsson a067b13311 help: simplify. 2016-03-20 14:39:13 -07:00
John Benediktsson 95a6f6d568 help.home: simplify USING. 2016-03-19 08:54:59 -07:00
John Benediktsson 7388706ab7 help.home: use $content to render the handbook. 2016-03-19 07:54:37 -07:00
John Benediktsson 1a8aca2969 help.markup: adding $content to inline the content of another article. 2016-03-19 07:54:24 -07:00
John Benediktsson fbb6968312 help.home: make the home screen the handbook content. 2016-03-19 04:27:20 -07:00
John Benediktsson 9c323e2884 cleanup some uses of current-directory. 2016-03-18 17:04:05 -07:00
John Benediktsson 6af99c3c21 Fix "doesnt" typo. 2016-02-26 08:56:25 -08:00
Doug Coleman 64db45c536 factor: update repository location to factor/factor 2016-02-19 13:51:58 -08:00
Björn Lindqvist 9ca00a3c75 help.stylesheet: make sizes calculated relative to the default-font-size
This makes Factors ui much easier to adapt to hidpi screens. You change
the default-font-size and elements should grow or shrink in proportion.
2015-10-24 14:44:30 +02:00
John Benediktsson ba3f342bf1 help.html: cleanup extra spaces. 2015-09-14 15:43:33 -07:00
John Benediktsson 74d8e43312 help.html: simplify html by saving styles as classes.
We store the CSS classes in the HTML <style> tag.
2015-09-14 13:32:38 -07:00
John Benediktsson 59caf874a3 syntax: removing #! as a comment character.
We don't need two types of comments and shebang (#!) is handled
natively by the lexer, so the original reason for #! is not valid.
2015-09-09 18:28:08 -07:00
John Benediktsson e477f6996f Fix comments to be ! not #!. 2015-09-08 16:15:10 -07:00
John Benediktsson 7dd0acbf0f help.stylesheet: add back page-color and override in ui.tools.browser. 2015-08-16 12:54:56 -07:00
John Benediktsson ace299b5c7 help: fix some html navigation styles. 2015-08-16 11:38:38 -07:00
John Benediktsson 81cbf71d27 help: make the default print prev/next links but then modify ui.tools.browser to do what it used to do. 2015-08-16 11:33:24 -07:00
John Benediktsson 92762cb56b help.html: fix navigation links at top. 2015-08-16 11:33:24 -07:00
nicolas-p d71f7b955e help: fixed USING 2015-08-16 07:54:45 -07:00
nicolas-p 1817a4b8cb Refactored prev/next buttons code 2015-08-16 07:54:16 -07:00
nicolas-p 706fe6eb4e help: Added arrows in prev/next links 2015-08-16 07:53:34 -07:00
nicolas-p 10cb51c031 help: removing prefix 2015-08-16 07:53:30 -07:00
nicolas-p 0bdeb0c60f Prev/next buttons in Browser 2015-08-16 07:53:30 -07:00
nicolas-p faa2ad6d60 Increased font size in help header path 2015-08-16 07:53:29 -07:00
nicolas-p 547ca698d8 Removed extra new line in help 2015-08-16 07:53:28 -07:00
nicolas-p a35924d1a8 Move vivid colour in Browser header
To go with the green header in the Walker.
2015-08-16 07:53:27 -07:00
nicolas-p 376eb20f8b Browser improvements
Browser with a unified toolbar and a header that is always visible. The
prev/next buttons are moved to the bottom of the page.
2015-08-16 07:53:25 -07:00
John Benediktsson f88febc03e namespaces: remove is-global word. 2015-08-13 17:46:40 -07:00
John Benediktsson ceb75057da change ERROR: words from throw-foo back to foo. 2015-08-13 16:13:05 -07:00
Doug Coleman b6be8685c3 basis: ERROR: changes. 2015-08-13 03:20:39 -07:00
Doug Coleman 02008979d9 factor: Change ERROR: foo ; to define ``throw-foo`` instead of having ``foo`` throw implicitly. The old ``foo`` still throws implicitly because this is a big change to get right in one patch, but it should be removed soon. 2015-08-12 15:26:18 -05:00
Doug Coleman e0d1b14e5c factor: don't need FROM: namespaces => set or namespaces:set anymore 2015-08-12 11:25:57 -05:00
Doug Coleman 43fb73fae6 factor: Rename I[ ]I to [I I]. Fix places where we do "string"token without whitespace. 2015-08-06 17:05:12 -05:00
Doug Coleman 1fcf96cada factor: remove """ string syntax for now. there are HEREDOC:, STRING:, escaping \", and something else soon. 2015-07-25 22:59:56 -07:00
Doug Coleman 117727d444 parser, source-files: you need to bootstrap after this patch.
cleans up some file vs path naming.

file -> current-source-file
file -> current-test-file somewhere else
source-file -> path>source-file
source-file-tuple -> source-file
2015-07-23 22:03:43 -07:00
Doug Coleman e4c39bcf3c factor: superclass -> superclass-of, superclasses -> superclasses-of 2015-07-20 00:46:33 -07:00
Doug Coleman 2adeed9cb3 factor: rename classes:members to class-members so it doesn't conflict with sets:members. ugh. 2015-07-20 00:32:42 -07:00
John Benediktsson d18fe872f2 help.markup: simplify $example slightly. 2015-07-19 15:07:02 -07:00
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