Commit Graph

153 Commits (6a434915d019f2121e80cd47c9e00258b4a8bf28)

Author SHA1 Message Date
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
Slava Pestov 8227fff723 html.templates.chloe.test: forgot to check in test14.xml and test15.xml 2010-08-20 19:28:38 -07:00
Slava Pestov c464206605 html.templates.chloe: add notion of "string context" where tags are not allowed and <>& are not escaped; fixes <t:title> double escaping bug reported by John Benediktsson 2010-08-20 19:15:58 -07:00
Slava Pestov 99a3b3c9f6 furnace: documentation improvements 2010-04-12 18:17:21 -07:00
Slava Pestov cdcdb708d7 Update some more 'update' usages to call 'assoc-union!' 2010-02-04 03:44:24 +13:00
Doug Coleman 7ce4b746e5 parsed -> suffix!, add append! 2009-10-28 13:38:27 -05:00
Keith Lazuka 0c5f2be355 html.streams: fixed broken unit-test 2009-10-13 08:54:37 -04: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
Slava Pestov 835cd68284 html.streams: change how images work; webapps.help: support definition icons 2009-09-23 20:56:47 -05:00
Slava Pestov 0836e79e66 Fix conflict 2009-09-23 20:52:04 -05:00
Keith Lazuka d552ce8ef6 html.streams: the 'image' character stream style now generates an <img> HTML element
NOTE: You must manually copy your image resources to your web server
      such that the images are available from the "/images" root URL.
	  For example, if your resource is "vocab:definitions/icons/normal-word.tiff"
	  then it should be copied such that it is available via the following URL:
	  "http://myserver.org/images/basis/definitions/icon/normal-word.tiff"
	  (the original path is first normalized and then the Factor root prefix
	   is stripped away).

NOTE: Factor's definition-icons are in TIFF format, which appears to be
	  supported out-of-the-box by very few web browsers (namely Safari).
	  Perhaps we should switch from TIFF to GIF or PNG? Are these vocabs
	  ready to be used?
2009-09-22 09:06:56 -04:00
Doug Coleman eceed177d6 replace usages of <" with """ 2009-09-20 22:42:40 -05:00
Slava Pestov d79b6d590e html.templates.chloe: minor doc fix 2009-09-16 16:11:05 -07:00
Keith Lazuka a96e828d7c 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
Doug Coleman 3f3d57032b 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
Doug Coleman 5fd50a4592 make sure you can define words in fhtml templates 2009-05-19 18:53:12 -05:00
Slava Pestov 9d9523080e html.templates.fhtml: fix load error 2009-05-16 13:34:47 -05:00
Slava Pestov 66a9416473 Update documentation for stricter vocabulary search path semantics 2009-05-16 00:29:21 -05:00
Slava Pestov b62630b5ac Updating code in basis and extra for stricter vocab search path semantics 2009-05-14 23:23:06 -05:00
Slava Pestov 05f3f9dcb9 Fixing unit tests for stack effect inference changes 2009-04-20 21:15:19 -05:00
Slava Pestov 723bfab030 Fixing unit tests for syntax change 2009-03-23 00:34:02 -05:00
Slava Pestov 30816ba5d0 Get more code to load after SYNTAX: change 2009-03-21 03:22:21 -05:00
Slava Pestov ea60f8ae93 Changing : foo ; parsing to SYNTAX: foo ; 2009-03-21 01:27:50 -05:00
Slava Pestov 9d44b7620f Fixing the build 2009-03-18 17:01:26 -05:00
Slava Pestov be4fb1e7d9 Move call( and execute( to core 2009-03-16 20:11:36 -05:00
Daniel Ehrenberg 22cd50ca4f Fixing html.components unit test 2009-03-16 01:30:42 -05:00