2243 Commits

Author SHA1 Message Date
mrbkap%gmail.com
5df1c5a7a6 Keep the DTD's stack in sync with the content sink's stack to avoid miscommunication. bug 333497, r=sicking sr=jst
git-svn-id: svn://10.0.0.236/trunk@200623 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-22 21:34:35 +00:00
dveditz%cruzio.com
f869942298 Bug 284219: add EnsureStringLength() helper function to nsReadableUtils.h to
simplify OOM checks when growing an nsAString. r/sr=darin


git-svn-id: svn://10.0.0.236/trunk@200610 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-22 19:07:30 +00:00
sayrer%gmail.com
aaeae25f4d b=339599. nsISAXXMLReader expects a nsIChannel passed to onStartRequest, but interface takes an nsIRequest. r=mrbkap, sr=peterv
git-svn-id: svn://10.0.0.236/trunk@200259 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-19 03:03:28 +00:00
timeless%mozdev.org
d7d1bbda1f Bug 337917 Make consumers stop using cids from other modules
git-svn-id: svn://10.0.0.236/trunk@200245 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-18 21:18:22 +00:00
mrbkap%gmail.com
8709655ef9 Force noscript to be either in the head or the body. bug 312704, r=bzbarsky sr=sicking
git-svn-id: svn://10.0.0.236/trunk@199479 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-08 01:21:50 +00:00
timeless%mozdev.org
7185e837bc Bug 337917 Make consumers stop using cids from other modules
r=smontagu sr=darin


git-svn-id: svn://10.0.0.236/trunk@198973 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-03 23:35:59 +00:00
mats.palmgren%bredband.net
d0093df5af Don't suppress the first newline in a text/plain document. b=339364 r=mrbkap sr=jst
git-svn-id: svn://10.0.0.236/trunk@198953 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-03 18:18:29 +00:00
peterv%propagandism.org
19e43c6647 Fix for bug 236873 (Share class for more elements). r/sr=sicking.
git-svn-id: svn://10.0.0.236/trunk@198125 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-21 21:00:09 +00:00
darin%meer.net
42edf059cf landing patch for bug 326273 "Implement nsIThreadManager" (Mac portions by Mark Mentovai) with reviews from bienvenu, bsmedberg, bzbarsky, josh, roc, and ssieb
git-svn-id: svn://10.0.0.236/trunk@196254 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-10 17:30:15 +00:00
timeless%mozdev.org
1a5bcd5020 Bug 335953 Make code outside intl use NS_CHARSETALIAS_CONTRACTID instead of NS_CHARSETALIAS_CID
r=bz sr=bz


git-svn-id: svn://10.0.0.236/trunk@196118 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-06 22:09:20 +00:00
gavin%gavinsharp.com
1fd2fe4ab5 Bug 334716: Ineffective allocation check in nsParserService::CreateEntry (nsParserService.cpp), patch by patch by Ryan Flint <rflint@dslr.net>, r=mrbkap, sr=jst
git-svn-id: svn://10.0.0.236/trunk@195647 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-28 17:25:47 +00:00
timeless%mozdev.org
8307560339 Bug 315826 Scriptable XPCOM wrapper for SAX content handler
patch by sayrer@gmail.com r=peterv sr=sicking


git-svn-id: svn://10.0.0.236/trunk@194488 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-17 01:13:07 +00:00
mrbkap%gmail.com
0e40b92d36 Remove obsolete and wacky support for the <sound> element, which not even IE supports. bug 333057, r=sicking sr=jst
git-svn-id: svn://10.0.0.236/trunk@194040 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-10 20:49:02 +00:00
mrbkap%gmail.com
de362201b8 Remove a redundant null check found by Coverity. bug 333388, r+sr=sicking
git-svn-id: svn://10.0.0.236/trunk@194039 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-10 20:44:11 +00:00
mrbkap%gmail.com
1c3185884f Count newlines in textareas correctly. bug 331482, r+sr=sicking
git-svn-id: svn://10.0.0.236/trunk@193754 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-06 22:30:18 +00:00
dbaron%dbaron.org
9911a9b756 Remove uses of MOZ_DECL_CTOR_COUNTER, which is always defined to nothing. b=332745 rs=roc,bzbarsky
git-svn-id: svn://10.0.0.236/trunk@193572 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-05 00:00:44 +00:00
darin%meer.net
70deb5f58d fixes bug 328925 "Replace NS_WARN_IF_FALSE with NS_ASSERTION (where appropriate)" r=dbaron
git-svn-id: svn://10.0.0.236/trunk@193272 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-30 18:40:56 +00:00
mrbkap%gmail.com
c34b04b287 Allow flow elements to contain <noframes> for interoperability with other browsers. bug 327250, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@192805 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-22 21:22:25 +00:00
peterv%propagandism.org
c7f6949390 Fix for bug 286132 (xml-stylesheet PI doesn't handle href attribute as in specification), checking in the right patch this time. r=sicking, sr=bz.
git-svn-id: svn://10.0.0.236/trunk@192539 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-17 14:38:57 +00:00
peterv%propagandism.org
ec404d9e2f Backing out to fix bustages.
git-svn-id: svn://10.0.0.236/trunk@192477 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-16 15:12:21 +00:00
peterv%propagandism.org
6aefc4d827 Try to fix bustage.
git-svn-id: svn://10.0.0.236/trunk@192474 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-16 14:48:08 +00:00
peterv%propagandism.org
2c216711c7 Fix for bug 286132 (xml-stylesheet PI doesn't handle href attribute as in specification). r=sicking, sr=bz.
git-svn-id: svn://10.0.0.236/trunk@192471 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-16 13:47:42 +00:00
cbiesinger%web.de
bd517c26ac 326477 extend nsIExpatSink in order to support SAX
patch by Robert Sayre <sayrer@gmail.com> r=sicking sr=peterv


git-svn-id: svn://10.0.0.236/trunk@192427 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-15 17:45:25 +00:00
mrbkap%gmail.com
3a3742da98 Don't stomp all over the heap in debug builds. Also raise eMaxTags to reflect the actual deepest stack that we will see. bug 309777, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@192126 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-10 00:47:57 +00:00
peterv%propagandism.org
3b6910dae9 Fix for bug 325733 (Unclosed XML tags no longer trigger an error message) and bug 326741 (Crash with parsing malformed XUL file with -chrome). r/sr=bz.
git-svn-id: svn://10.0.0.236/trunk@191970 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-08 14:34:50 +00:00
mrbkap%gmail.com
5fc69803ec Don't allow <object> to be contained in <head> since the DTD can't really handle it. bug 329399, 328751, r=sicking sr=jst
git-svn-id: svn://10.0.0.236/trunk@191925 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-07 21:47:25 +00:00
mrbkap%gmail.com
96e6386945 Protect against our table container being closed before we're ready by using the same logic to find the close tag that HandleEndToken does. bug 329364, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@191845 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-06 22:13:41 +00:00
benjamin%smedbergs.us
d4bdfb9125 Bug 78081 - don't export intermediate libraries - initial makefile changes to switch from $(DIST)/lib to in-tree library locations - blanket-r=mento
git-svn-id: svn://10.0.0.236/trunk@191569 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-02 14:38:10 +00:00
martijn.martijn%gmail.com
7314b39a43 Bug 328289 - dtd's should be read using 4096 bytes buffers, instead of 1024 bytes buffers. Patch by Alfred Kayser <alfredkayser@nl.ibm.com>, r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@191148 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-24 13:04:06 +00:00
timeless%mozdev.org
af51e73d0e Bug 106386 Correct misspellings in source code
r=bernd rs=brendan


git-svn-id: svn://10.0.0.236/trunk@191013 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-23 09:36:43 +00:00
mrbkap%gmail.com
3ad008c538 CNavDTD shouldn't have a DTD and we shouldn't try to QI to it. bug 327980, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@190770 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-22 00:00:38 +00:00
bzbarsky%mit.edu
f3768bfe85 Remove the random <server> tag silliness. Bug 321877, patch by Martijn Wargers
<martijn.martijn@gmail.com>, r=mrbkap, sr=jst


git-svn-id: svn://10.0.0.236/trunk@189804 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-12 22:05:33 +00:00
peterv%propagandism.org
32838fc08a Fix for bug 315901 (Move RangeList and EventListenerManager hashes to nsContentUtils). r/sr=jst.
git-svn-id: svn://10.0.0.236/trunk@189306 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-07 14:34:10 +00:00
mrbkap%gmail.com
ba6371cea5 Don't get confused by multiple right square brackets when parsing CDATA sections. bug 325532, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@189021 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-06 18:54:53 +00:00
mrbkap%gmail.com
1559ac31f4 Remove parser generation of the _moz-userdefined attribute since comopser can figure out the information it provides on its own. bug 325405, r=sicking sr=jst
git-svn-id: svn://10.0.0.236/trunk@188915 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-04 02:02:55 +00:00
cbiesinger%web.de
6322c04952 bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
r+sr=darin


git-svn-id: svn://10.0.0.236/trunk@188844 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-03 14:18:39 +00:00
mrbkap%gmail.com
d1b409cc86 Testcase for bug 18308 doesn't work. bug 319826, patch by Jason Barnabe <jason_barnabe@fastmail.fm>, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@188724 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-02 01:07:57 +00:00
mrbkap%gmail.com
7bd7ef3c84 Don't create extra parser contexts once the parser has been terminated. Also make sure to clean up any extra parser contexts if they do get created. bug 323441, r=sicking sr=jst
git-svn-id: svn://10.0.0.236/trunk@188682 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-01 18:57:09 +00:00
mrbkap%gmail.com
61c90940c0 When we don't find a </script> tag, we should put the entire rest of the document into the script element, but not execute the script. This also makes serialization not serialize the end tags for scripts that don't have them (to preserve round tripping). bug 305873, r=sicking sr=jst
git-svn-id: svn://10.0.0.236/trunk@188619 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-31 22:19:46 +00:00
mrbkap%gmail.com
b7ece70d44 Remove the obsolete concept of "DTD verification". bug 323958, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@188516 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-30 23:45:19 +00:00
mrbkap%gmail.com
08e339f350 Try to fix an infinite loop on startup (bug 324667, r+sr=jst).
git-svn-id: svn://10.0.0.236/trunk@188379 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-28 01:21:46 +00:00
peterv%propagandism.org
417d82c221 Fix for bug 323299 (Simplify nsExpatDriver). r=bz, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@188346 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-27 14:47:23 +00:00
mrbkap%gmail.com
dc2d92314c Change these QueryInterface implementations to be macros, not hand rolled. No bug, r+sr=dveditz
git-svn-id: svn://10.0.0.236/trunk@188274 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-26 22:24:20 +00:00
mrbkap%gmail.com
c05f61f894 This should have gone too, (bug 324738)
git-svn-id: svn://10.0.0.236/trunk@188252 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-26 19:10:19 +00:00
mrbkap%gmail.com
8b6ba84a47 bug 324738: Remove some unnecessary complexity from the parser and hardcode DTDs. r=sicking sr=jst
git-svn-id: svn://10.0.0.236/trunk@188251 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-26 19:07:41 +00:00
peterv%propagandism.org
d96e183aa0 Backing out fix for bug 323299 for now to fix Trender and bug 324641.
git-svn-id: svn://10.0.0.236/trunk@188168 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-25 20:07:33 +00:00
peterv%propagandism.org
6d1b2c4b74 Fix for bug 323299 (Simplify nsExpatDriver). r=bz, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@188149 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-25 12:53:00 +00:00
mrbkap%gmail.com
4842e83eec bug 320883: Handle split newlines at the end of chunks without duplicating newlines. r=bzbarsky rs=brendan
git-svn-id: svn://10.0.0.236/trunk@188135 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-25 02:29:09 +00:00
mrbkap%gmail.com
44fd52082e bug 321781: document.close() causes weird things to happen when asynchronous things were document.written. r=sicking sr=jst
git-svn-id: svn://10.0.0.236/trunk@188077 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-24 01:25:14 +00:00
mrbkap%gmail.com
d3ecc5dd10 bug 323908: Pass line and column information to ReportError. Patch by Robert Sayre <sayrer@gmail.com>. r=mrbkap sr=jst
git-svn-id: svn://10.0.0.236/trunk@187941 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-21 02:02:02 +00:00