27 Commits

Author SHA1 Message Date
dbaron%fas.harvard.edu
3ccf2a2ea4 Clean up reporting of CSS parser errors: Use |nsAReadableString|s and an additional macro to allow all the error reporting to be done by macros. Also clean up a few comments. Not part of the default build (you must define CSS_REPORT_PARSE_ERRORS).
Make namespace prefixes case insensitive within CSS by normalizing to lower-case.  b=35813

r=attinasi


git-svn-id: svn://10.0.0.236/trunk@78476 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 02:05:09 +00:00
dbaron%fas.harvard.edu
58582b97ac Add code to allow the CSS parser to report errors. This code is not enabled by default in any builds, but it could be useful for chrome authors to catch CSS errors. We may want to turn it on in debug builds at some point, but it needs some work first. r=attinasi
git-svn-id: svn://10.0.0.236/trunk@78236 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 02:27:46 +00:00
attinasi%netscape.com
921df5eb29 Change to disallow underscore character in identifiers, as required in the CSS2 spec. Fix contributed by VYV03354@nifty.ne.jp, r=attinasi@netscape.com
git-svn-id: svn://10.0.0.236/trunk@68257 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 21:36:49 +00:00
attinasi%netscape.com
5f1b41704f Applied patch from VYV03354@nifty.ne.jp to make class names specified in non-ASCII characters recognizable as parts of selectors. b=38038,35800.
git-svn-id: svn://10.0.0.236/trunk@68153 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 22:12:58 +00:00
dbaron%fas.harvard.edu
6b88c55779 Fix bugs 12398, 12450, and 35215, and comment out some unused code. r=pierre@netscape.com
git-svn-id: svn://10.0.0.236/trunk@67336 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 00:12:25 +00:00
scc%netscape.com
8a7f53cc88 making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66101 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-15 20:15:37 +00:00
dmose%mozilla.org
92d791b7b0 updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@52908 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:40:37 +00:00
kipp%netscape.com
e18af2d0ee Cleanup moz-decl-counter usage and fix NS_LOG_ADDREF usage
git-svn-id: svn://10.0.0.236/trunk@50239 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 20:41:19 +00:00
warren%netscape.com
de60d2685c Removed NS_BASE_STREAM_EOF in favor of returning a count of 0 from Read to indicate EOF. Renamed GetLength to Available. Fixed a number of places where AppendElement's broken error code wasn't checked.
git-svn-id: svn://10.0.0.236/trunk@46637 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-09 22:05:05 +00:00
peterl%netscape.com
1641e64739 allow underscores in idents
git-svn-id: svn://10.0.0.236/trunk@36306 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-22 19:22:59 +00:00
peterl%netscape.com
ac26eb5e97 better handling of CR/LF after escapes
git-svn-id: svn://10.0.0.236/trunk@32812 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 23:53:39 +00:00
peterl%netscape.com
31183b200b fix mac, better whitespace after escape handling
git-svn-id: svn://10.0.0.236/trunk@32184 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 00:18:30 +00:00
peterl%netscape.com
5bb0c3cacc fixed escape parsing
git-svn-id: svn://10.0.0.236/trunk@32151 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 23:13:27 +00:00
peterl%netscape.com
68949eda83 fixed tokenization bug (treating "+.foo" as a number)
git-svn-id: svn://10.0.0.236/trunk@25346 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-28 04:31:12 +00:00
peterl%netscape.com
e64bbf889e fixed bug while tokenizing ints at end of input stream
git-svn-id: svn://10.0.0.236/trunk@20384 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 06:42:02 +00:00
peterl%netscape.com
97c2dbe99d Added token append to string
Improved handling of bad strings
Improved handling of escapes


git-svn-id: svn://10.0.0.236/trunk@19971 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-07 21:47:48 +00:00
peterl%netscape.com
6bb837e2c4 improvements to parsing @import, HTML comments and identifiers
git-svn-id: svn://10.0.0.236/trunk@19402 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 02:59:51 +00:00
warren%netscape.com
5f54c1af03 Networking changes: Reworked nsIURL, adding setters, factoring Open. Unsigned arguments for nsIStreamListener.
git-svn-id: svn://10.0.0.236/trunk@16495 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 05:40:20 +00:00
peterl%netscape.com
eb0e68e55b handle whitespace in url() better
git-svn-id: svn://10.0.0.236/trunk@15336 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-26 01:30:51 +00:00
kipp%netscape.com
0ddab1d0ce Use Pushback to put back the right character
git-svn-id: svn://10.0.0.236/trunk@15218 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 01:47:19 +00:00
peterl%netscape.com
f7190f6f47 added CSS2 property handling
git-svn-id: svn://10.0.0.236/trunk@13513 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-26 23:22:40 +00:00
troy%netscape.com
7c7212336e Changed some code to use XPCOM ref counting related macros
git-svn-id: svn://10.0.0.236/trunk@11893 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-05 05:11:18 +00:00
peterl%netscape.com
ad7699672b handle HTML comment tags as whitespace
git-svn-id: svn://10.0.0.236/trunk@11013 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 01:50:51 +00:00
peterl%netscape.com
289d347c74 save quote char on string tokens
git-svn-id: svn://10.0.0.236/trunk@7512 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 02:17:10 +00:00
michaelp%netscape.com
b492b0ebd1 modified for new streaming APIs.
git-svn-id: svn://10.0.0.236/trunk@6304 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 20:35:43 +00:00
kipp
34091b102f Skip over whitespace properly after url string (it's optional whitespace not mandatory whitespace)
git-svn-id: svn://10.0.0.236/trunk@1425 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-11 23:28:22 +00:00
kipp
fb1503758e moved to pub
git-svn-id: svn://10.0.0.236/trunk@165 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-13 20:24:54 +00:00