Asumu Takikawa
dc609f46f0
Fix some docs. Add an example too.
2012-11-19 15:38:13 -05:00
Danny Yoo
7618a6a737
Drop dead code.
2012-11-09 13:08:41 -07:00
Danny Yoo
641e855786
Translate uses of display with write-string.
...
Eli recommends that write-string should be faster in http://lists.racket-lang.org/dev/archive/2012-November/010764.html
2012-11-09 13:08:40 -07:00
Danny Yoo
5cb2f3eb58
Avoid regexp-replace* unless the string really contains escapable characters.
2012-11-07 16:09:28 -07:00
Danny Yoo
40116eb16d
Lift out empty-tag-shorthand parameter lookup out of the hot spot.
2012-11-07 16:09:27 -07:00
Danny Yoo
6d189287a9
Add let loop for recursion and slight performance increase.
2012-11-07 16:09:27 -07:00
Danny Yoo
fb3a95f9d5
Replace fprintf with explicit display for performance.
...
Replace fprintf with explicit display for performance.
2012-11-07 16:09:27 -07:00
Danny Yoo
5c6498b355
Fix for PR 13234. xexpr-core: added more test cases to
...
correct-xexpr?. Inverted the logic and replaced the
continuation-passing style with simpler test-for-error logic. Also
corrected typo in attribute symbol checker that could otherwise lead
to a contract error. (taking the cadr of a non-cadrable value)
2012-11-07 11:46:32 -07:00
Jay McCarthy
b6fc190c7a
Adding support for byte counting rather than char counting in XML
2012-10-12 17:15:13 -06:00
Matthew Flatt
7a8ebdab7b
add `xml/xexpr'
...
Exports `xexpr?' and `xexpr/c' without dependencies on the rest of
the `xml' library.
2012-09-11 17:17:38 -06:00
Jay McCarthy
b703148833
Fixing bad re-indent.. I think?
2012-05-10 12:37:27 -06:00
Jay McCarthy
611e8d0d17
Changing from racket to racket/base in xml, html, and web-server
2012-05-10 10:36:29 -06:00
Matthew Flatt
3ecf06a8ba
generalize `xml/plist' to read/write any plist value
...
Merge to 5.3
2012-04-10 16:38:54 -06:00
Eli Barzilay
f7c67b49a4
Big newline at EOF scan.
2012-02-29 00:28:11 -05:00
Jay McCarthy
eb0e188b63
Clarify error message
2012-02-28 14:15:07 -07:00
Jay McCarthy
ce73175427
Changing the defaults for empty tag shorthand in XML
2012-01-25 16:48:11 -07:00
Jordan Schatz
36c720a28c
Small spelling error
2011-12-13 09:47:43 -05:00
Jay McCarthy
354283132d
Fixing PR 12271
2011-10-10 06:45:42 -06:00
Eli Barzilay
d61eb53686
Lots of documentation formatting.
...
Started as fixing misindented definitions, then more indentations, then
a bunch of similar things (square brackets, huge spaces at end-of-lines,
etc).
2011-08-15 07:50:04 -04:00
Jay McCarthy
6e59cbf1d7
Adding documentation and tests for xml/path
2011-07-24 16:58:59 -04:00
Jay McCarthy
df0e35b213
Adding the basics of the servlet testing library, but then discovered a weird error, and took a sidetrack to catch it. I'm making a commit to be able see if there were any real problems or if it is just broken tests
2011-07-24 16:58:59 -04:00
Eli Barzilay
3157955d40
".ss" -> ".rkt" scan done.
2011-07-02 10:37:53 -04:00
Ryan Culpepper
1b702a2ae3
docs reorganization
...
added tutorial, racket categories
relabeled some other categories
normalized manual names: de-bolded, changed some names
2011-07-01 17:16:53 -06:00
Robby Findler
69b5daa9e6
remove docs tests that no one was interested in
2011-07-01 11:38:09 +08:00
Eli Barzilay
40124a0619
A long overdue scan to eliminate files without terminating newlines.
...
(DrRacket should really do that.)
2011-06-28 02:01:41 -04:00
Robby Findler
507b1cd8fd
moved the docs-complete library into rackunit
...
to avoid having a separate, new manual for the
one library
2011-05-05 16:10:42 -05:00
Robby Findler
fcfb422294
weeded out some more of the test-docs-complete.rkt files
2011-04-25 21:20:52 -05:00
Robby Findler
e7d0029aea
added lots of new tests that our documentation is complete
2011-04-25 13:24:43 -05:00
Robby Findler
21cbd9ad81
added the racket/contract/combinator library,
...
and documented and adjusted these libraries:
racket/contract/base
racket/contract/exists
racket/contract/parametric (renamed from exists)
racket/contract/region
2011-04-25 11:51:44 -05:00
Jay McCarthy
af57e0419c
Fixes PR11793.
...
It was very hard to figure out why � is invalid. Both the XML 1.0 and 1.1 specs say that a CharRef can be '&#' [0-9]+ ';' (sec 4.1), but there is a note on the side that it must also be a valid Char. The Char definition (sec 2.2) then lays out which characters are valid. (The 1.0 and 1.1 specs disagree though.) I've gone with the 1.1 definition.
I did not update the rest of the reader to disallow those characters in pcdata segments. If this hurts you or you morally disagree, submit another PR, please.
2011-04-06 11:14:25 -06:00
Robby Findler
9245f4b19a
move away from mzlib/contract and towards racket/contract
2011-03-28 23:04:43 -05:00
Jay McCarthy
0714c7222c
Fixing PR11661
2011-01-27 13:38:16 -07:00
Jay McCarthy
faa0632de8
Seems to fix Robby's issue with DrRacket REPL
2011-01-20 20:53:10 -07:00
Jay McCarthy
87865cb1bd
Fixing PR11649
2011-01-20 12:13:13 -07:00
Jay McCarthy
9ad953c501
Adding efficient Xexpr writing
2010-12-07 14:14:51 -07:00
Jay McCarthy
eb3d46cc0c
Improving xexpr error re Robby
2010-09-14 13:07:19 -06:00
Jay McCarthy
6064ecd2c0
Fixing formatting re Robby
2010-09-10 15:21:55 -06:00
Eli Barzilay
7dc4d2e5a6
Change a bunch of "~%" and "~n" in format strings to "\n".
2010-08-25 17:17:01 -04:00
Jay McCarthy
a13edb18b6
Transparent XML structs
2010-06-21 12:48:26 -06:00
Jay McCarthy
801419693a
Default args to eliminate-whitespace
2010-06-21 12:48:26 -06:00
Jay McCarthy
08a48a67a0
Making string->xexpr more permissive
2010-05-27 10:48:42 -06:00
Jay McCarthy
2df8fac233
Fixing a bug reported by 张虎成. Original and small test case were added. I reimplemented Knuth-Morris-Pratt because I couldn't debug the existing implementation.
...
Please include in 5.0
2010-05-25 07:47:23 -06:00
Jay McCarthy
7d1c7d874b
Changing unstable, xml, html, and web-server to be rackety
2010-04-28 13:21:30 -06:00
Matthew Flatt
28b4043077
rename all files .ss -> .rkt
2010-04-27 16:50:15 -06:00
Carl Eastlund
1d6111c532
Renamed simple-contract and simple-flat-contract to make-contract and make-flat-contract.
...
svn: r18259
2010-02-22 02:51:16 +00:00
Carl Eastlund
a197b98706
Fixed permissive/c, which I had ported to the wrong kind of contract.
...
svn: r17787
2010-01-23 21:33:06 +00:00
Carl Eastlund
2a5f883a4c
Updated contracts in XML collection.
...
svn: r17720
2010-01-18 18:49:39 +00:00
Jay McCarthy
9e43c4e7a7
Fixing doc bug
...
svn: r16006
2009-09-14 18:38:23 +00:00
Eli Barzilay
a70bf64fd9
Newlines at EOFs
...
svn: r15380
2009-07-04 02:28:31 +00:00
Jay McCarthy
ad53d3e60d
Renaming permissive? to permissive-xexprs based on Matthias suggestion
...
svn: r15237
2009-06-22 21:00:24 +00:00