Commit Graph

179 Commits (6e83fd40686faba4533f2316d20bd44075db4893)

Author SHA1 Message Date
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 49ae6575d8 html.templates.fhtml: fix tests for string-lines. 2016-03-13 20:01:33 -07:00
Benjamin Pollack 4ef42357e1 chloe/html: switch to HTML5 templates
Since XHTML is dead, and HTML5 isn't, switch to HTML5 templates for Chloe and
other key parts of our HTML subsystems. As part of this, I went through and
added DOCTYPE declarations to some of our examples as well.
2016-03-11 18:20:55 -05:00
Benjamin Pollack 512014a436 chloe: make self-closing tags support more idiomatic Factor 2016-03-11 13:13:43 -05:00
Benjamin Pollack ed1ccc4448 chloe: ensure self-closing tags are self-closing
This gets us much closer to HTML5 compatibility, while not breaking the
existing XHTML functionality. (Indeed, the entire reason this is necessary is
that XHTML, being an XML derivative, treats `<foo></foo>` and `<foo />`
equivalently, whereas HTML5 does not.)
2016-03-11 11:01:22 -05:00
John Benediktsson 17b536c3a8 html.templates: use unless* instead of or. 2015-11-20 09:15:19 -08:00
John Benediktsson d6b545a10b html.streams: fix tests. 2015-09-14 20:32:45 -07:00
John Benediktsson ba3f342bf1 help.html: cleanup extra spaces. 2015-09-14 15:43:33 -07:00
John Benediktsson e477f6996f Fix comments to be ! not #!. 2015-09-08 16:15:10 -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 46587f8457 factor: arch -> arch-name. fix breakage caused by other patch. 2015-08-12 11:08:24 -05:00
Doug Coleman 330c7ba156 factor: Removing SLOT: nth/at/global in favor of using change: at for tuple slots named ``at`` and change-at for hashtables.
Redo many FROM: and QUALIFIED: and using lists.
2015-08-12 08:49:02 -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 4561bd88a3 html.streams: rename image-path to icon-path 2015-07-20 00:10:56 -07:00
Doug Coleman 892c62e1dc factor: second stab at [ ] [ ] unit-test -> { } [ ] unit-test 2015-07-03 09:39:59 -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 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 6c28590789 html.components: use lcs-diff 2015-06-08 17:29:36 -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 296968580a use assoc-reject instead of [ ... not ] assoc-filter. 2015-05-12 19:08:42 -07:00
John Benediktsson b366a06c41 use reject instead of [ ... not ] filter. 2015-05-12 18:50:34 -07:00
John Benediktsson 57f9d78892 improve help by linking to types directly. 2014-05-23 20:20:15 -07:00
John Benediktsson 8afe2dfe37 lexer: change skip back to public interface. 2014-05-20 09:42:41 -07:00
John Benediktsson 49b040c0b0 html.templates.fhtml: fix using. 2014-05-20 09:31:26 -07:00
John Benediktsson 98935b7f15 docs: change ``{ $quotation "( x -- y )" }`` to ``{ $quotation ( x -- y ) }``. 2014-05-18 20:09:10 -07:00
John Benediktsson ab4e380c04 html.streams: allow non-equal padding values. 2013-04-11 14:47:57 -07:00
John Benediktsson 6b94cf2e7f html.streams: this was actually simpler. 2013-04-11 14:35:43 -07:00
John Benediktsson 44657db94e html.streams: cleanup borders on html tables. 2013-04-11 12:20:41 -07:00
Doug Coleman d4078b728d html.components: Fix test name 2013-03-25 11:57:25 -07:00
Doug Coleman 90cde3fde9 html.components: Fix load 2013-03-24 21:40:39 -07:00
Doug Coleman b22ca7574b html.forms: Rename 2013-03-24 10:11:18 -07:00
Doug Coleman 188d7e98df html.templates.chloe: Rename cached-template 2013-03-23 23:16:54 -07:00
Doug Coleman 8c19602ae9 assocs: Add of and ?of. Change all the things at once! Fixes #701. 2013-03-23 14:59:07 -07:00
Doug Coleman c731dc6edb Rename lookup to lookup-word. 2011-11-06 16:00:00 -08:00
Doug Coleman bc7162743c html.components: For the t:html tag, only wrap strings in unescaped so that other objects can render. 2011-11-06 12:15:00 -08:00
Joe Groff 13b17fb84a io: input-stream and output-stream mixins 2011-10-18 16:25:09 -07:00
John Benediktsson 1987deb359 Fix M: stack effects. 2011-10-13 16:41:17 -07:00
Doug Coleman 76580da5d5 Refactor the lexer/parser to expose friendlier words for scanning tokens. The preferred top-level words now throw an exception on EOF.
CREATE -> scan-new
CREATE-CLASS -> scan-new-class
CREATE-WORD -> scan-new-word
CREATE-GENERIC -> scan-new-generic
scan -> (scan-token)
scan-token now throws on eof
(scan-word) returns word/number/f
scan-word now throws on eof
scan-word-name expects a non-number
Fixes #183.
Fixes #209.
2011-09-29 11:28:28 -07:00
Doug Coleman 5fce2d0f27 Make "quiet" true by default. Disable quiet mode for listener, bootstrap, and deploy tool.
Move "quiet" to parser-quiet? in parser.notes. Change a few places where quiet was handle wrong.
2011-09-06 17:58:12 -07:00
Keita Haga 79d0b1e34d html.templates: fix typo in description of template-convert word 2011-01-17 01:51:48 +09:00
Slava Pestov 5caae55e8d html.templates.chloe: minor doc improvements 2010-10-09 15:29:04 -07:00
Slava Pestov 3e43dafb76 html.templates.fhtml: code cleanup 2010-09-28 21:34:16 -07:00
Brennan Cheung 4c34420690 doc fix, chloe link forms - t:button 2010-09-23 13:51:15 -07:00
John Benediktsson 9edab21aeb html.streams: fix typo in stack effect for emit-html. 2010-09-10 13:22:42 -07:00
Slava Pestov ad939e01f1 furnace.chloe-tags: fix t:a, t:atom, t:form tags after recent Chloe change 2010-08-22 21:55:34 -07:00