Commit Graph
73 Commits
Author SHA1 Message Date
[email protected] b9a22224f6 fixes bug 263360 "Make CallCreateInstance use NS_GetComponentManager instead of nonfrozen/deprecated nsComponentManager symbols" r=bsmedberg sr=dbaron 2004-11-23 20:53:38 +00:00
[email protected] d920c3ffe0 Don't create new nsCSSScanners all the time. Just make nsCSSScanner a
non-pointer member of nsCSSParser so when we recycle parsers scanners get
recycled automatically.  Bug 263959, r+sr=dbaron
2004-10-14 03:30:55 +00:00
[email protected] 36e94730ff Move CSS error reporting functions from parser to scanner so that scanner can report errors, and fix up the one existing error report in the scanner that I'd forgotten about. b=262249 r+sr=bzbarsky 2004-10-12 18:44:14 +00:00
[email protected] 8d4d269b63 Add helper functions that make it easier to cache factories. b=261310 r=darin 2004-10-02 00:44:13 +00:00
[email protected] 8ac260a6ec Improve performance of CSS error reporting. b=261283 r+sr=bzbarsky 2004-09-30 05:18:05 +00:00
[email protected] 41e94af61f Separate sheet URI and base URI for style attributes and for CSS parsing from DOM APIs. b=258707 r+sr=bzbarsky 2004-09-10 23:31:48 +00:00
[email protected] bba50d621a Pass line number information for style elements through to the CSS parser so we can give correct line numbers in error reports. b=240420 r+sr=bzbarsky 2004-09-09 17:32:35 +00:00
[email protected] d9edea9d71 Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin 2004-06-17 00:13:25 +00:00
[email protected] a476814222 Relanding, since backing out did not fix orange. Bug 232691. 2004-05-22 20:02:43 +00:00
[email protected] 870007c547 Backing out to attempt to fix Mac orange. Bug 232691 2004-05-22 19:26:52 +00:00
[email protected] dc05923955 Convert users of nsC?String(), nsC?AutoString(), and NS_LITERAL_C?STRING("") to
using EmptyC?String instead.  Bug 232691, patch by Charles Fenwick
<[email protected]>, r+sr=bzbarsky
2004-05-22 17:04:53 +00:00
[email protected] cf0b0c064a Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-17 21:52:36 +00:00
[email protected] 6bc64e017d Fix more bustage. Bug 239079. I wish gcc would at least warn on this or
something instead of merrily compiling it....
2004-04-03 19:01:38 +00:00
[email protected] 150169894d Fixing debug build bustage. Bug 239079. 2004-04-03 17:47:26 +00:00
[email protected] 08e528eac3 Fix ID selector parsing to check for a valid identifier. Bug 239079,
r+sr=dbaron, a=chofmann
2004-04-03 17:18:45 +00:00
[email protected] 2ec6af5579 Fix one more out-of-bounds access to gLexTable. b=233399 r+sr=bzbarsky 2004-02-08 19:43:50 +00:00
[email protected] e8530165a2 Fix another case of out-of-bounds access of gLexTable. b=233399 r+sr=bzbarsky 2004-02-08 19:22:47 +00:00
[email protected] 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
[email protected] 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
[email protected] c4d3b356d2 Make some static data const in content. Bug 204532, patch by [email protected]
(Andrew Taylor), r=bzbarsky, sr=alecf
2003-05-27 03:49:22 +00:00
[email protected] 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
[email protected] 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
[email protected] 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
[email protected] a4d47921a8 fix bustage.... 2003-01-13 08:02:17 +00:00
[email protected] 3321dfbfd6 Bug 60290 -- comments should not be treated as whitespace. r=glazou, sr=dbaron 2003-01-13 07:19:49 +00:00
[email protected] 8a88f30fc6 Change my email address from [email protected] to [email protected]. Comment changes only. 2003-01-01 23:53:20 +00:00
[email protected] 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
[email protected] ef5b6f166d Add command-line tool for parsing CSS files. b=139943 sr=waterson r=attinasi 2002-05-01 00:03:57 +00:00
[email protected] 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
[email protected] 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
[email protected] 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
[email protected] 73e0bc3ed7 converted 271 references to nsCRT::memcpy to memcpy, bug 118135 r=dp 2002-01-12 03:18:55 +00:00
[email protected] 0467433db5 Bug 104158: Use NS_LITERAL_STRING instead of XXXWithConversion("..."). r=bryner, rs=alecf 2001-12-16 11:58:03 +00:00
[email protected] 5ba3ff1a0d License changes, take 2. Bug 98089. mozilla/content/. 2001-09-25 01:32:19 +00:00
[email protected] a9aa77073f Header include dependency cleanup. b=64023 r=jag rs=brendan 2001-07-16 02:40:48 +00:00
[email protected] 071df73378 Fix bustage from scc's checkin for bug 85271. 2001-06-17 07:38:01 +00:00
[email protected] 245920defc CSS2+ identifiers should support underscores ; b=74845, r=pierre, sr=attinasi 2001-04-10 11:09:07 +00:00
[email protected] 328a40d185 Fix CSS_REPORT_PARSE_ERRORS build bustage resulting from string changes. 2001-03-08 14:25:11 +00:00
[email protected] 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. [email protected] [email protected] b=65469 2001-03-06 01:57:30 +00:00
[email protected] 628b594235 enhancement for the 3 new attributes selectors in CSS 3. r=dbaron, sr=attinasi 2001-03-03 00:54:04 +00:00
[email protected] 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
[email protected] 15267f2b5c Remove trailing semicolons after all uses of MOZ_DECL_CTOR_COUNTER to quiet build warnings on Mac. b=60415 [email protected] 2001-01-27 23:06:33 +00:00
[email protected] 104080feff 52381 - DOM selectorText implementation, r=attinasi/jst, sr=waterson 2001-01-22 04:03:48 +00:00
[email protected] 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
[email protected] 7730ce0cd3 Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson 2000-10-27 22:43:51 +00:00
[email protected] 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
[email protected] 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
[email protected] 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
[email protected] 7e39b01427 Change to disallow underscore character in identifiers, as required in the CSS2 spec. Fix contributed by [email protected], [email protected] 2000-05-04 21:36:49 +00:00
[email protected] ba22b1b595 Applied patch from [email protected] 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