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
611e8d0d17
Changing from racket to racket/base in xml, html, and web-server
2012-05-10 10:36:29 -06: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
Jay McCarthy
354283132d
Fixing PR 12271
2011-10-10 06:45:42 -06: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
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
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
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
Jay McCarthy
f409c1e36d
Adding string->xexpr from troels
...
svn: r15233
2009-06-22 19:46:22 +00:00
Jay McCarthy
e9db334ed0
Fixing an error in the detecting of bad Xexprs and displaying the error prettily
...
svn: r15080
2009-06-04 17:25:19 +00:00
Jay McCarthy
04cdd975e9
Fixing xml snip bug
...
svn: r14087
2009-03-13 14:55:37 +00:00
Jay McCarthy
12dcbfdc88
Fixing xexpr pretty printing
...
svn: r13875
2009-02-27 21:11:01 +00:00
Jay McCarthy
5fda17741b
contracts and cleanup
...
svn: r13874
2009-02-27 20:29:48 +00:00
Jay McCarthy
54ecd4b9bb
cleanup of syntax module
...
svn: r13873
2009-02-27 18:48:52 +00:00
Jay McCarthy
7af4a81eff
renaming pi to p-i
...
svn: r13872
2009-02-27 18:44:18 +00:00
Jay McCarthy
196ec00f16
new units, contracts, tests
...
svn: r13852
2009-02-26 17:09:26 +00:00
Jay McCarthy
d3f6fed328
Error messages
...
svn: r13321
2009-01-29 20:21:21 +00:00
Jay McCarthy
f27d2df5a2
xexpr/c
...
svn: r13315
2009-01-29 16:17:52 +00:00
Jay McCarthy
8b65e2930d
Enforcing documentated contract
...
svn: r13307
2009-01-28 21:48:33 +00:00
Jay McCarthy
5cc3b529a0
Re: Robby
...
svn: r12915
2008-12-20 17:42:38 +00:00
Jay McCarthy
0c093b73f1
Contract
...
svn: r12790
2008-12-12 16:59:28 +00:00
Matthew Flatt
37aae202c5
speed up doc build a little; fix bugs related to getting continuation marks from a thread and using the errortrace profiler
...
svn: r12237
2008-11-04 23:32:44 +00:00
Jay McCarthy
8bfec15aff
exn:fail from exn
...
svn: r9546
2008-04-30 19:26:45 +00:00
Eli Barzilay
b76390a452
revise the way setup-plt crawls over the collection trees
...
svn: r8860
2008-03-03 22:04:28 +00:00