100 Commits

Author SHA1 Message Date
bzbarsky%mit.edu
da60b0214a fix bustage....
git-svn-id: svn://10.0.0.236/trunk@136230 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-13 08:02:17 +00:00
bzbarsky%mit.edu
483d0a23ae Bug 60290 -- comments should not be treated as whitespace. r=glazou, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@136228 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-13 07:19:49 +00:00
dbaron%fas.harvard.edu
ffb8d9cca7 Change my email address from dbaron@fas.harvard.edu to dbaron@dbaron.org. Comment changes only.
git-svn-id: svn://10.0.0.236/trunk@135757 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-01 23:53:20 +00:00
dbaron%fas.harvard.edu
121b842e9f Turn on CSS parser error reporting in DEBUG builds. Make unexpected-EOF error messages more informative. b=155855 r=bzbarsky sr=ben
git-svn-id: svn://10.0.0.236/trunk@124827 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-09 04:28:58 +00:00
dbaron%fas.harvard.edu
ba70a10942 Add command-line tool for parsing CSS files. b=139943 sr=waterson r=attinasi
git-svn-id: svn://10.0.0.236/trunk@120365 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 00:03:57 +00:00
dbaron%fas.harvard.edu
b447eec349 Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa
git-svn-id: svn://10.0.0.236/trunk@117348 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-23 22:56:05 +00:00
dbaron%fas.harvard.edu
27328a7fcd Fix |#ifdef CSS_REPORT_PARSE_ERRORS| (not part of default build) bustage from darin's checkin for bug 124042.
git-svn-id: svn://10.0.0.236/trunk@116126 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-08 02:25:59 +00:00
bzbarsky%mit.edu
ad1fb22926 Change users of Length() to IsEmpty() where the code really cares about
the latter in content/.  Bug 100649, r=jag, sr=jst


git-svn-id: svn://10.0.0.236/trunk@112623 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-24 02:03:19 +00:00
cathleen%netscape.com
ea31156ed0 converted 271 references to nsCRT::memcpy to memcpy, bug 118135 r=dp
git-svn-id: svn://10.0.0.236/trunk@112013 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-12 03:18:55 +00:00
jaggernaut%netscape.com
436d43f211 Bug 104158: Use NS_LITERAL_STRING instead of XXXWithConversion("..."). r=bryner, rs=alecf
git-svn-id: svn://10.0.0.236/trunk@110579 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-16 11:58:03 +00:00
gerv%gerv.net
ed9b258739 License changes, take 2. Bug 98089. mozilla/content/.
git-svn-id: svn://10.0.0.236/trunk@103682 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 01:32:19 +00:00
dbaron%fas.harvard.edu
9359000a40 Header include dependency cleanup. b=64023 r=jag rs=brendan
git-svn-id: svn://10.0.0.236/trunk@99299 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-16 02:40:48 +00:00
dbaron%fas.harvard.edu
649e5141cf Fix bustage from scc's checkin for bug 85271.
git-svn-id: svn://10.0.0.236/trunk@97296 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-17 07:38:01 +00:00
glazman%netscape.com
0f9b6f6318 CSS2+ identifiers should support underscores ; b=74845, r=pierre, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@91876 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-10 11:09:07 +00:00
dbaron%fas.harvard.edu
f3554504c8 Fix CSS_REPORT_PARSE_ERRORS build bustage resulting from string changes.
git-svn-id: svn://10.0.0.236/trunk@88960 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 14:25:11 +00:00
dbaron%fas.harvard.edu
14ad030646 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
git-svn-id: svn://10.0.0.236/trunk@88605 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-06 01:57:30 +00:00
glazman%netscape.com
0c17ea7bbc enhancement for the 3 new attributes selectors in CSS 3. r=dbaron, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@88435 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-03 00:54:04 +00:00
disttsc%bart.nl
d30c2be76b Preparation of removing nsCString::GetBuffer. Landing everything but the actual commenting out of nsCString::GetBuffer. bug=64016, r=timeless, sr=scc
git-svn-id: svn://10.0.0.236/trunk@88396 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-02 09:26:57 +00:00
dbaron%fas.harvard.edu
5f0a7ab9bd Remove trailing semicolons after all uses of MOZ_DECL_CTOR_COUNTER to quiet build warnings on Mac. b=60415 a=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@85654 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-27 23:06:33 +00:00
hewitt%netscape.com
89e5dd1e29 52381 - DOM selectorText implementation, r=attinasi/jst, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@85251 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-22 04:03:48 +00:00
warren%netscape.com
a8b9664a8c Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc.
git-svn-id: svn://10.0.0.236/trunk@81967 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 22:17:53 +00:00
warren%netscape.com
c6b67eceeb Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson
git-svn-id: svn://10.0.0.236/trunk@81885 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 22:43:51 +00:00
rayw%netscape.com
31f9bce979 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


git-svn-id: svn://10.0.0.236/trunk@79224 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 23:20:49 +00:00
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