Commit Graph

200 Commits (14b1418f6a0c76397d0030c548408c56b4031163)

Author SHA1 Message Date
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
Slava Pestov 8e55533bfa Tweak some furnace code to infer and load with almost no warnings 2009-03-15 18:19:29 -05:00
Slava Pestov 03f048cce9 Add a couple of must-infer tests 2009-03-11 21:51:39 -05:00
Slava Pestov ce1bc1d6ed Fixing conflicts from stack checker changes 2009-02-24 01:21:10 -06:00
Slava Pestov 421ee726b8 Merge branch 'master' into new_ui 2009-02-16 21:22:12 -06:00
Slava Pestov 6b25e99470 Add summary for heaps more vocabs 2009-02-16 21:05:13 -06:00
Slava Pestov 4a639033fa Merge branch 'master' into new_ui 2009-02-15 21:06:55 -06:00
Slava Pestov ebd0e9250f Clean up some <file-reader> usages to use file-lines, file>csv, and file>xml instead 2009-02-15 20:45:06 -06:00
Slava Pestov 6b99b04531 Add vocab: for vocab-relative paths 2009-02-15 19:53:21 -06:00
Slava Pestov e068400e54 Merge branch 'master' into new_ui 2009-02-12 02:22:09 -06:00
Daniel Ehrenberg 19eb0471bb Creating XML component 2009-02-12 01:31:54 -06:00
Doug Coleman 31d86e300c fix html help-lint 2009-02-11 13:56:54 -06:00
Slava Pestov ae52662a77 Merge branch 'master' into new_ui 2009-02-11 05:02:19 -06:00
Slava Pestov 76761c4c61 Document html:simple-page 2009-02-11 04:59:29 -06:00
Slava Pestov ab386d01aa Merge branch 'master' into new_ui 2009-02-10 16:23:14 -06:00
Slava Pestov 07caee3405 Update some existing code to use initialize 2009-02-10 16:16:12 -06:00
Slava Pestov e3f6ee0792 Merge branch 'master' into new_ui 2009-02-09 01:17:07 -06:00
Slava Pestov 3045777f02 Fix conflict 2009-02-09 00:34:00 -06:00
Daniel Ehrenberg 89e3eb6fa3 Moving lists to basis 2009-02-08 23:49:05 -06:00
Daniel Ehrenberg b65b88364c Updating lots of things to use call( -- ) 2009-02-08 22:12:11 -06:00
Slava Pestov 043b77c702 Fix conflict 2009-02-08 00:07:59 -06:00
Doug Coleman e0e333b449 fix link 2009-02-06 17:13:47 -06:00
Daniel Ehrenberg 47a751ad6c Slight cleanup and fixing unit test 2009-02-06 11:44:58 -06:00
Daniel Ehrenberg b206c5a2d1 Finishing getting rid of html.elements from basis 2009-02-06 10:54:13 -06:00
Slava Pestov dd9cf39467 Fix conflict in libc 2009-02-06 05:10:41 -06:00
Daniel Ehrenberg 3ec78f3766 Merge branch 'master' into no-elements
Conflicts:

	basis/html/templates/templates.factor
2009-02-06 00:49:20 -06:00
Daniel Ehrenberg 86c3481f12 Moving XML vocabularies around 2009-02-05 21:17:03 -06:00
Daniel Ehrenberg cc89943c08 Getting rid of html.elements from most vocabs 2009-02-05 14:34:55 -06:00
Slava Pestov 669548e62e Clean up some usages of tuck, and add Joe's curried cleave/spread/apply combinators to kernel vocabulary 2009-02-02 13:43:54 -06:00
Slava Pestov 69938925ee Fix conflict 2009-01-31 22:41:26 -06:00
Slava Pestov fae0d8bac1 Fix validation error rendering 2009-01-31 21:56:39 -06:00
Slava Pestov 4e779820b8 Fix load error 2009-01-31 21:23:56 -06:00
Slava Pestov 0408788518 Rewrite html.streams to use xml.literals 2009-01-31 20:44:17 -06:00
Slava Pestov 42c3c3383a Merge branch 'master' into new_ui 2009-01-31 03:03:39 -06:00
Daniel Ehrenberg 58d6e68855 Minor changes to web framework; fixing websites.concatenative:init-testing 2009-01-31 01:01:54 -06:00
Daniel Ehrenberg a6a1b56169 Merge branch 'master' of git://factorcode.org/git/factor 2009-01-30 19:53:49 -06:00
Daniel Ehrenberg d4f865d5f0 Fixing some things I broke 2009-01-30 19:28:16 -06:00
Slava Pestov 406943630d Merge branch 'master' into new_ui 2009-01-30 15:32:41 -06:00
Slava Pestov e5897b5ef7 Remove bogus dependencies 2009-01-30 15:28:53 -06:00
Daniel Ehrenberg 6240f00803 Merge branch 'master' of git://factorcode.org/git/factor 2009-01-30 11:30:07 -06:00
Daniel Ehrenberg de49f6fc74 Moving xml.interpolate to xml.literals 2009-01-30 11:29:30 -06:00
Slava Pestov 0a0431e6ab Fix conflict 2009-01-30 02:24:34 -06:00
Doug Coleman 3c408342ef renaming: contain? -> any?, deep-contains? -> deep-any?, pad-left -> pad-head, pad-right -> pad-tail, trim-left -> trim-head, trim-right -> trim-tail 2009-01-29 22:19:07 -06:00
Slava Pestov 505c9a77c2 Merge branch 'master' into new_ui 2009-01-29 22:11:34 -06:00
Daniel Ehrenberg cadbcdc9a4 Fixing everything now(?) 2009-01-29 15:15:50 -06:00
Daniel Ehrenberg 6372395b8a Fixing everything I broke? 2009-01-29 13:33:04 -06:00
Slava Pestov 923d2a4b9d Merge branch 'master' of git://factorcode.org/git/factor into new_ui 2009-01-28 18:36:57 -06:00
Daniel Ehrenberg dcad3ad225 Un-breaking Chloe 2009-01-28 17:49:21 -06:00
Slava Pestov a310d67291 Merge branch 'master' into new_ui 2009-01-28 12:17:00 -06:00
Slava Pestov eaad0c7660 Updating code to use CONSTANT: instead of : foo 123 ; inline 2009-02-23 21:40:17 -06:00
Daniel Ehrenberg ac1ddfcc6c Random minor fixes; html.components doesn't duplicate parsing anymore 2009-01-27 16:54:41 -06:00
Slava Pestov 5cd4f65e59 Fix conflict 2009-01-27 15:49:49 -06:00
Daniel Ehrenberg c01ef3fca2 Fixing random docs and tests 2009-01-27 15:35:51 -06:00
Slava Pestov 8b6ae748b9 Merge branch 'master' into new_ui 2009-01-27 06:34:19 -06:00