Commit Graph

549 Commits (14b1418f6a0c76397d0030c548408c56b4031163)

Author SHA1 Message Date
Mohamed Akram 6b97111735
help.tutorial: fix unicode vocabulary path 2018-08-04 17:23:29 +04:00
Doug Coleman 565ac276cd help.lint.checks: Ignore linux-monitors as not real leaks.
Fixes #2014.
2018-07-07 17:32:06 -05:00
Doug Coleman e5bd5f6719 help.lint.checks: Save lint disposables in hash. 2018-07-07 11:14:16 -05:00
Doug Coleman 4e9d383fe5 docs: Fix help-lint-all mistakes. 2018-07-07 01:13:19 -05:00
Doug Coleman 411a55314c help.lint: Add a MAIN: to help-lint to test lint from command line like we already have for unit tests.
Also flush stdout for both MAIN: test apps.
2018-07-07 01:13:19 -05:00
Doug Coleman 06b07b9e9c help.lint.checks: Fix regression in help-lint introduced in 8c158aa68f.
We haven't been checking words in help-lint for two years! Ack!
2018-07-07 01:13:19 -05:00
Doug Coleman 2ca1b32580 help.lint.checks: remove debug to fix deploy 23 2018-06-20 06:49:25 -05:00
Doug Coleman 9f213f96f6 core: Add the shuffler words but without primitives.
The nipd branch slowed bootstrap by a minute, this patch does not.

sorry about changing the fjsc line endings...
2018-06-19 22:52:58 -05:00
John Benediktsson d8813bf61a help.vocabs: continue using convert-prefixes in $vocabs. 2018-02-24 18:11:26 -08:00
John Benediktsson c99ab4a652 help.html: cleanup using list. 2018-02-24 15:45:02 -08:00
John Benediktsson cc0c5f2634 help.html: "no-roots no-prefixes" has a name, "filter-vocabs". 2018-02-24 15:45:02 -08:00
John Benediktsson f96fb3bcc8 help.html: remove funky vocab-prefix hack. 2018-02-24 15:45:02 -08:00
John Benediktsson 69b8555b32 help.markup: allow { $maybe { $sequence "lines" } } in docs. 2018-02-09 10:18:36 -08:00
John Benediktsson a791d297ea Revert "add $related-subsections"
This reverts commit 7c22e764f9.
2018-02-05 07:46:42 -08:00
Cat Stevens 7c22e764f9 add $related-subsections 2018-02-04 20:21:15 -08:00
Cat Stevens de3d01daef v0.2 help.lint.pedantic: move to extra 2018-02-03 14:58:32 -08:00
Cat Stevens 28336323b4 v0.1 help.lint.pedantic 2018-02-03 14:58:32 -08:00
John Benediktsson 013adec055 source-files.errors: rename <definition-error> to new-source-file-error. 2017-10-25 10:45:46 -07:00
John Benediktsson c6953d5d62 help.markup: simpler $url. 2017-10-23 16:55:41 -07:00
John Benediktsson 1006b4afc4 help.markup: allow $url to have display text that's not just the url. 2017-10-23 16:44:59 -07:00
Pi 4cb04165db use lists vocab in factor handbook 2017-10-23 16:33:36 -07:00
Björn Lindqvist 9103d1546f basis/: more docs 2017-07-09 15:08:49 +02:00
Björn Lindqvist 21500f2b2f help: fix to make the orphan articles index page render in fuel-help 2017-06-26 15:57:58 +02:00
Alexander Iljin 6d355c998b help.lint.spaces: new vocab 2017-06-05 13:16:07 -07:00
John Benediktsson b1c0a1be33 help.lint.checks: improve check-example to print the stack (if any).
Any output from the example will be preserved like it currently is,
and any objects on the stack will be printed the same way they are
in the listener prefixed by ``--- Data stack:``.
2017-05-05 08:40:47 -07:00
John Benediktsson e1b7d5db1f Revert "help.lint.checks: prettyprints the examples stack automatically."
This reverts commit 1f4bcc2d56.
2017-05-03 18:21:25 -07:00
John Benediktsson 1f4bcc2d56 help.lint.checks: prettyprints the examples stack automatically.
This allows us to not have to "USE: prettyprint" and "." in the examples.
Much cleaner this way!
2017-05-03 18:15:36 -07:00
John Benediktsson baaa06278c Revert "sequences: swap stack arguments for start/start*/subseq?."
This reverts commit 63b0593824.
2017-01-21 07:20:14 -08:00
John Benediktsson 63b0593824 sequences: swap stack arguments for start/start*/subseq?.
It is more natural to be ( seq subseq -- ? ).
2017-01-20 22:49:53 -08:00
Björn Lindqvist 0142d0b078 basis/,extra/: using parse-array-def in a bunch of places 2016-12-03 13:23:24 +01:00
John Benediktsson 463b57f7c9 help.tutorial: use arrays for test output in first-program. 2016-11-26 22:33:55 -08:00
John Benediktsson 417e296d46 help.stylesheet: use table-border-color instead of line-color. 2016-10-22 09:24:15 -07:00
Alexander Iljin c8126ec17e help-docs: describe $unchecked-example 2016-09-20 22:27:02 +03:00
Björn Lindqvist 20711a0fd3 Adding escaping to CHAR: " -> CHAR: \"
It is not necessary to escape the " character, but it doesn't hurt and
is necessary for syntax-highlighting (FUEL) to work correctly.
2016-09-04 06:40:43 +02:00
Alexander Iljin 2fd5654473 Add EOL at EOF for all authors.txt files for consistency
In some instances replaced CR/LF with LF.
2016-07-30 09:25:30 -07:00
John Benediktsson a3bc9cf192 help.lint.checks: adding linux and windows ui disposables. 2016-07-16 16:51:17 -07:00
John Benediktsson c9801980ed help.lint.checks: factored out to no-ui-disposables word. 2016-07-16 16:28:04 -07:00
John Benediktsson 51cf484361 help.lint: use vocab-exists? and eliminate UI disposables from check. 2016-07-16 16:22:06 -07:00
Alexander Iljin 7b24b067c2 help.tips: use $code snippet in a TIP: for user to run 2016-06-22 11:27:26 -07:00
John Benediktsson d902616d12 help: sigh sigh $predicate is used by help.lint.checks. 2016-05-26 17:43:29 -07:00
John Benediktsson f2a5a8b4ea help: sigh, let's just use the old word-help* name. 2016-05-26 17:40:34 -07:00
John Benediktsson 773edb680a help: move predicate default word help. 2016-05-26 17:35:37 -07:00
John Benediktsson fba27d66e4 help: minor change to use a default-word-help generic. 2016-05-26 16:54:33 -07:00
John Benediktsson e38caddb30 help: change how default word help is done. 2016-05-26 16:52:29 -07:00
Alexander Iljin 2c04c6a0f2 help.handbook: fix wording 2016-05-25 12:59:38 +03:00
John Benediktsson 63410f62c8 ui.theme: updates to color scheme.
Fixes circularity and adds theme switching to Mac menu.
Could use some simplification and reduction in color theme hooks.
2016-05-09 21:40:56 -07:00
nicolas-p 7a028977c4 Moved both themes into ui.theme 2016-05-09 21:40:56 -07:00
nicolas-p 0d6ae8a8b9 Fixed USING 2016-05-09 21:40:56 -07:00
nicolas-p f650f7d869 Added listener styles in theme switching 2016-05-09 21:40:56 -07:00
nicolas-p f54fa08e05 Added tooltip for themes 2016-05-09 21:40:56 -07:00
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