Commit Graph

208 Commits

Author SHA1 Message Date
dbaron@dbaron.org
2ec6af5579 Fix one more out-of-bounds access to gLexTable. b=233399 r+sr=bzbarsky 2004-02-08 19:43:50 +00:00
dbaron@dbaron.org
e8530165a2 Fix another case of out-of-bounds access of gLexTable. b=233399 r+sr=bzbarsky 2004-02-08 19:22:47 +00:00
dbaron@dbaron.org
b6d57ef333 Fix crashes caused by out-of-bounds access to gLexTable and some other bugs. b=233399 r+sr=bzbarsky 2004-02-08 07:29:42 +00:00
dbaron@dbaron.org
d18f51e581 Make aErrorCode values nsresult, since that's what they are. Remove obsolete handling of -1 for EOF and now-obsolete TODO list. b=224254 r+sr=bzbarsky 2003-11-13 22:48:05 +00:00
bzbarsky@mit.edu
c4d3b356d2 Make some static data const in content. Bug 204532, patch by ataylor@its.to
(Andrew Taylor), r=bzbarsky, sr=alecf
2003-05-27 03:49:22 +00:00
bzbarsky@mit.edu
2e69e58ec1 Fix parsing of |url()| to treat it like the URI "" instead of as an error. Bug
203256, r+sr=dbaron, a=brendan
2003-05-18 14:57:23 +00:00
bzbarsky@mit.edu
cdaa015256 Bug 160550 -- implement -moz-hsl() (CSS3 hsl() colors). Implement the parsing end of
-moz-rgba() and -moz-hsla(); the GFX end is bug 147017.  r+sr=dbaron
2003-03-18 05:43:12 +00:00
alecf@netscape.com
462c8a3080 fix for bug 191416 - clean up nsIUnicharInputStream to make it more like nsIInputStream:
- hide Fill() (or remove it where not necessary)
- add ReadSegments() so that we can do reads without copying
- remove the extra offset parameter to Read()
r=dougt, sr=darin
2003-03-06 19:54:51 +00:00
bzbarsky@mit.edu
a4d47921a8 fix bustage.... 2003-01-13 08:02:17 +00:00
bzbarsky@mit.edu
3321dfbfd6 Bug 60290 -- comments should not be treated as whitespace. r=glazou, sr=dbaron 2003-01-13 07:19:49 +00:00
dbaron@fas.harvard.edu
8a88f30fc6 Change my email address from dbaron@fas.harvard.edu to dbaron@dbaron.org. Comment changes only. 2003-01-01 23:53:20 +00:00
dbaron@fas.harvard.edu
75630656bd Turn on CSS parser error reporting in DEBUG builds. Make unexpected-EOF error messages more informative. b=155855 r=bzbarsky sr=ben 2002-07-09 04:28:58 +00:00
dbaron@fas.harvard.edu
ef5b6f166d Add command-line tool for parsing CSS files. b=139943 sr=waterson r=attinasi 2002-05-01 00:03:57 +00:00
dbaron@fas.harvard.edu
6a73e05779 Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa 2002-03-23 22:56:05 +00:00
dbaron@fas.harvard.edu
a9193df9dc Fix |#ifdef CSS_REPORT_PARSE_ERRORS| (not part of default build) bustage from darin's checkin for bug 124042. 2002-03-08 02:25:59 +00:00
bzbarsky@mit.edu
13c031b53f Change users of Length() to IsEmpty() where the code really cares about
the latter in content/.  Bug 100649, r=jag, sr=jst
2002-01-24 02:03:19 +00:00
cathleen@netscape.com
73e0bc3ed7 converted 271 references to nsCRT::memcpy to memcpy, bug 118135 r=dp 2002-01-12 03:18:55 +00:00
jaggernaut@netscape.com
0467433db5 Bug 104158: Use NS_LITERAL_STRING instead of XXXWithConversion("..."). r=bryner, rs=alecf 2001-12-16 11:58:03 +00:00
gerv@gerv.net
5ba3ff1a0d License changes, take 2. Bug 98089. mozilla/content/. 2001-09-25 01:32:19 +00:00
dbaron@fas.harvard.edu
a9aa77073f Header include dependency cleanup. b=64023 r=jag rs=brendan 2001-07-16 02:40:48 +00:00
dbaron@fas.harvard.edu
071df73378 Fix bustage from scc's checkin for bug 85271. 2001-06-17 07:38:01 +00:00
glazman@netscape.com
245920defc CSS2+ identifiers should support underscores ; b=74845, r=pierre, sr=attinasi 2001-04-10 11:09:07 +00:00
dbaron@fas.harvard.edu
328a40d185 Fix CSS_REPORT_PARSE_ERRORS build bustage resulting from string changes. 2001-03-08 14:25:11 +00:00
dbaron@fas.harvard.edu
7e8f7c9944 Work in progress on CSS error reporting: fix the known false positives and duplicate messages and improve the error messages. It's still a hack that I wouldn't really want to enable by default, but it should be useful for debugging chrome CSS. r=glazman@netscape.com sr=attinasi@netscape.com b=65469 2001-03-06 01:57:30 +00:00
glazman@netscape.com
628b594235 enhancement for the 3 new attributes selectors in CSS 3. r=dbaron, sr=attinasi 2001-03-03 00:54:04 +00:00
disttsc@bart.nl
e9399ed474 Preparation of removing nsCString::GetBuffer. Landing everything but the actual commenting out of nsCString::GetBuffer. bug=64016, r=timeless, sr=scc 2001-03-02 09:26:57 +00:00
dbaron@fas.harvard.edu
15267f2b5c Remove trailing semicolons after all uses of MOZ_DECL_CTOR_COUNTER to quiet build warnings on Mac. b=60415 a=brendan@mozilla.org 2001-01-27 23:06:33 +00:00
hewitt@netscape.com
104080feff 52381 - DOM selectorText implementation, r=attinasi/jst, sr=waterson 2001-01-22 04:03:48 +00:00
warren@netscape.com
0462ea4ce8 Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc. 2000-10-28 22:17:53 +00:00
warren@netscape.com
7730ce0cd3 Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson 2000-10-27 22:43:51 +00:00
rayw@netscape.com
42b3985a8e Bug fix for 52648 -- remaining stash of progids which I missed on
the mega-change yesterday.  This will fix a few more issues.

r=warren
2000-09-14 23:20:49 +00:00
dbaron@fas.harvard.edu
4409cb873c 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
2000-09-08 02:05:09 +00:00
dbaron@fas.harvard.edu
ec61ec627d 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 2000-09-06 02:27:46 +00:00
attinasi@netscape.com
7e39b01427 Change to disallow underscore character in identifiers, as required in the CSS2 spec. Fix contributed by VYV03354@nifty.ne.jp, r=attinasi@netscape.com 2000-05-04 21:36:49 +00:00
attinasi@netscape.com
ba22b1b595 Applied patch from VYV03354@nifty.ne.jp to make class names specified in non-ASCII characters recognizable as parts of selectors. b=38038,35800. 2000-05-03 22:12:58 +00:00
dbaron@fas.harvard.edu
ee8c8aa2a9 Fix bugs 12398, 12450, and 35215, and comment out some unused code. r=pierre@netscape.com 2000-04-27 00:12:25 +00:00
scc@netscape.com
5e49be25a8 making string conversions explicit 2000-04-15 20:15:37 +00:00
dmose@mozilla.org
796280940b updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:40:37 +00:00
kipp@netscape.com
ea36a75c90 Cleanup moz-decl-counter usage and fix NS_LOG_ADDREF usage 1999-10-08 20:41:19 +00:00
warren@netscape.com
c051b946f8 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. 1999-09-09 22:05:05 +00:00
peterl@netscape.com
ef1abbd312 allow underscores in idents 1999-06-22 19:22:59 +00:00
peterl@netscape.com
3adc12a160 better handling of CR/LF after escapes 1999-05-26 23:53:39 +00:00
peterl@netscape.com
553e7bdbc1 fix mac, better whitespace after escape handling 1999-05-19 00:18:30 +00:00
peterl@netscape.com
4827f1a420 fixed escape parsing 1999-05-18 23:13:27 +00:00
peterl@netscape.com
32a720b53c fixed tokenization bug (treating "+.foo" as a number) 1999-03-28 04:31:12 +00:00
peterl@netscape.com
e69e38fce7 fixed bug while tokenizing ints at end of input stream 1999-02-11 06:42:02 +00:00
peterl@netscape.com
c929bb0cdc Added token append to string
Improved handling of bad strings
Improved handling of escapes
1999-02-07 21:47:48 +00:00
peterl@netscape.com
9bbc13861f improvements to parsing @import, HTML comments and identifiers 1999-02-03 02:59:51 +00:00
warren@netscape.com
4aaec0bad1 Networking changes: Reworked nsIURL, adding setters, factoring Open. Unsigned arguments for nsIStreamListener. 1998-12-16 05:40:20 +00:00
peterl@netscape.com
ff69a3a337 handle whitespace in url() better 1998-11-26 01:30:51 +00:00