harishd%netscape.com
c48776120a
With nested forms we used to match /FORM to its opening FORM ( though the inner FORM was ignored ). However, IE seems to close the outer FORM when it encounters /FORM. Replicating IE's behavior and also solves a serious form submission problem. b=128521, r=heikki, sr=jst a=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@117523 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-26 23:08:30 +00:00
alecf%netscape.com
9f32fc6e9c
fix for bug 132681
...
r=harishd, sr=jst, a=scc
performance fix - stop scanning files that are known to be XML for html-like text
git-svn-id: svn://10.0.0.236/trunk@117373 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-24 17:16:44 +00:00
dbaron%fas.harvard.edu
772b5b8c58
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@117354 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-24 00:16:18 +00:00
heikki%netscape.com
e8ede28309
Bug 132238, add back support for SGML short comment and other junk even in strict comment parsing. r=harishd, sr=jst, a=asa.
...
git-svn-id: svn://10.0.0.236/trunk@117282 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-23 02:10:38 +00:00
heikki%netscape.com
d6699c6c57
Bug 132785, regression in strict comment parsing. Although spec does not allow non-whitespace characters between last dash and greater than, there seem to be lots of pages out there that do this. Relax the code that detects comment end so this starts working again. r=harishd, sr=jst, a=asa.
...
git-svn-id: svn://10.0.0.236/trunk@117272 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-23 01:18:52 +00:00
heikki%netscape.com
e3e39244d4
Bug 130045, make marked-section-like constructs close on greater than so that content generated by MS Word and some other tools works as expected. r=harishd, sr=vidur, a=asa.
...
git-svn-id: svn://10.0.0.236/trunk@117241 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-22 22:58:36 +00:00
darin%netscape.com
fecce6498c
fixes MOZ_SVG bustage, b=128508
...
git-svn-id: svn://10.0.0.236/trunk@117014 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-21 00:10:17 +00:00
darin%netscape.com
8defbf5d26
b=128508 "freeze nsIChannel nsIRequest" r=gagan, sr=rpotts, a=asa
...
git-svn-id: svn://10.0.0.236/trunk@117002 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-20 22:50:33 +00:00
harishd%netscape.com
4c98adaf57
Do not truncate a legal attribute value when trying to ignore '/' in a short-hand-tag. b=125647, r=heikki, sr=jst, a=scc
...
git-svn-id: svn://10.0.0.236/trunk@116925 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-20 00:25:34 +00:00
harishd%netscape.com
d23954672d
Should not support short-hand-tag notation in HTML. b=102515, r=heikki, sr=jst, a=scc
...
git-svn-id: svn://10.0.0.236/trunk@116923 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-20 00:24:00 +00:00
harishd%netscape.com
9d5cd54796
META tags enclosed in a comment should be ignored. b=124904, r=dp/heikki, sr=darin, a=asa
...
git-svn-id: svn://10.0.0.236/trunk@116878 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-19 21:41:41 +00:00
timeless%mac.com
69ae314807
Bug 106386 rid source of misspellings
...
r=db48x sr=blake a=asa
git-svn-id: svn://10.0.0.236/trunk@116832 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-19 04:30:17 +00:00
dbaron%fas.harvard.edu
a397ea7022
Remove unused (or used only if one of the magic enviroment variables ENABLE_STRICT or MOZ_VALIDATE_HTML was set) parser-related code, mostly associated with the strict DTD. b=130439 r=harishd sr=jst a=shaver
...
git-svn-id: svn://10.0.0.236/trunk@116720 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-16 15:34:43 +00:00
heikki%netscape.com
82bf6a58a6
Bug 110544, improving comment parsing by avioding string copies and other trickery. r=harishd, sr=jst, a=asa.
...
git-svn-id: svn://10.0.0.236/trunk@116687 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-16 03:03:45 +00:00
rbs%maths.uq.edu.au
84d6bd5d71
perf bug 124570 - configure mathml.css as a catalog stylesheet that is loaded on demand rather than at startup, r=harishd, sr=jst, a=asa
...
git-svn-id: svn://10.0.0.236/trunk@116637 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-15 09:45:31 +00:00
heikki%netscape.com
2583fca360
Bug 129608, moving XML parsererror into its own namespace along with the CSS rules so it won't mess up with web pages using parsererror and sourcetext tags. Clean up the content tree before parser error. Also removing dead files. r=harishd, sr=jst, a=roc+moz@cs.cmu.edu.
...
git-svn-id: svn://10.0.0.236/trunk@116432 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-12 22:17:18 +00:00
bzbarsky%mit.edu
94daa7754c
Take out fix of bug 40809, since it no longer seems necessary and hurts
...
performance. Bug 129192, r=harishd, sr=jst, a=asa
git-svn-id: svn://10.0.0.236/trunk@116132 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-08 02:43:17 +00:00
dp%netscape.com
507da7c4a5
backing out previous change to figure out whats going on
...
git-svn-id: svn://10.0.0.236/trunk@116063 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-07 16:45:25 +00:00
dp%netscape.com
ebea38ccd0
(again) bug 116023 Parser recycling buffers. Protects all cases of
...
usage of mCurrentPosition without checking mSlidingBuffer. r=harishd,
sr=sfraser, a=asa
git-svn-id: svn://10.0.0.236/trunk@116061 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-07 15:43:12 +00:00
darin%netscape.com
04849998e1
fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa
...
git-svn-id: svn://10.0.0.236/trunk@115936 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 07:48:55 +00:00
alecf%netscape.com
8755908f04
bug 127091 - big string cleanup, removing old APIs
...
- removing Assign/AppendWithConversion for single-characters
- removing unused StripChars
- removing ReplaceChar[s] for non-matching chars
- removing CompressSet
- removing nsCString::Find/FindCharInSet/RFind for unichar strings
- removing lots of EqualsWithConversion
r=dp, sr=jag
a=asa
git-svn-id: svn://10.0.0.236/trunk@115750 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-04 23:18:21 +00:00
mcafee%netscape.com
07afd54c5f
This checkin is making the DomToTextConversionTest hang on sleestack, comet. Backing this out. r=jrgm
...
git-svn-id: svn://10.0.0.236/trunk@115670 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-03 07:44:57 +00:00
dp%netscape.com
d16a2c3b7c
bug 116023 Parser recycling buffers r=harishd, sr=sfraser, a=asa
...
git-svn-id: svn://10.0.0.236/trunk@115658 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-02 23:09:52 +00:00
bzbarsky%mit.edu
b2eb75e1c1
Make view-source a lot faster on bidi pages by breaking up the page into
...
multiple blocks. Bug 86355, r=rbs, sr=jst, a=asa/shaver
git-svn-id: svn://10.0.0.236/trunk@115533 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-01 00:07:48 +00:00
harishd%netscape.com
28bce6046e
Regression - Make EXPECTED TAG error message localizable. b=126452, r=harishd, sr=jst. ** Patch provided by heikki@netscape.com **
...
git-svn-id: svn://10.0.0.236/trunk@115012 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 03:16:14 +00:00
timeless%mac.com
29beedeb0d
Bug 114166 rewrite nsDeque
...
r=akkana sr=alecf
rs=alecf for TestDeque.cpp
git-svn-id: svn://10.0.0.236/trunk@115007 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 03:08:32 +00:00
harishd%netscape.com
47d396b630
Crasher - Expat parser's XML_ParseBuffer wasn't aware of the BLOCKING mechansim and hence failed to update the buffer position ( bufferPtr ). The fix would update bufferPtr such that when the expat parser gets upblocked we'd resume from the point we stopped. b=123475, r=rbs@maths.uq.edu.au, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@114862 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 02:01:18 +00:00
dbaron%fas.harvard.edu
ac6b721449
Remove more no-longer-needed nsComponentManager::RegisterComponent calls. Remove remnants of NS_IMPL_IDS macro, associated with long-gone NS_DECLARE_ID. b=125782 r=dougt rs=jag
...
git-svn-id: svn://10.0.0.236/trunk@114693 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 16:18:13 +00:00
bzbarsky%mit.edu
ddfc778b27
Make text/plain view-source use the view-source parser. Bug 124753,
...
r=harishd, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@114692 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 15:51:02 +00:00
harishd%netscape.com
e951f0eacd
Fixing hang - If misplaced table content turns out to be skipped content then we need to make sure that the rest of the table content belongs to the skipped content until we reach the matching end-skipped-content-tag. b=124788, r=heikki, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@114636 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 01:36:50 +00:00
harishd%netscape.com
1a9e99d353
Make sure to flush the tokenizer stack after tokenizing SCRIPT content. Note: This checkin also includes code clean up. b=104856, r=heikki, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@114540 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 23:45:20 +00:00
harishd%netscape.com
d4204329ee
** Patch provided by dougt ** Create parser-service category.b=107087, r=harishd, sr=alecf
...
git-svn-id: svn://10.0.0.236/trunk@114537 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 23:18:28 +00:00
alecf%netscape.com
83ac6a3dcc
progress towards fixing 123041 - stop making copies of entities names and values as we retrieve them out of various entity tables
...
also, a few uses of NS_LITERAL_STRING, removal of long-since-unused nsHTMLContentSinkStream
r/sr=sfraser, sr=jag, r=harishd
git-svn-id: svn://10.0.0.236/trunk@114304 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 21:17:53 +00:00
heikki%netscape.com
c7242c0060
Bug 110464, don't load external entities for standalone documents (minor perf optimization). Patch from henris@clinet.fi. r=heikki, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@114223 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 01:02:44 +00:00
bzbarsky%mit.edu
f68919f405
Relanding the Compare --> Equals conversion. a=mcafee
...
git-svn-id: svn://10.0.0.236/trunk@114163 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-10 15:49:46 +00:00
bzbarsky%mit.edu
ffecf7f104
Testing performance impact of backout of what's left of the patch from
...
bug 115289. See bug 123947 for details. a=mcafee
git-svn-id: svn://10.0.0.236/trunk@114152 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-09 20:46:05 +00:00
bzbarsky%mit.edu
2fd80b82c9
Convert Compare() to Equals() where possible now that we can do
...
case-insensitive Equals(). Bug 115289, r=alecf, sr=jag
git-svn-id: svn://10.0.0.236/trunk@113665 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-05 02:03:07 +00:00
heikki%netscape.com
51cf66c5f5
Bug 122710, dtd folder in dist/bin should be moved into res. r=rbs@maths.uq.edu.au&harishd, sr=sfraser.
...
git-svn-id: svn://10.0.0.236/trunk@113450 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-01 22:28:55 +00:00
alecf%netscape.com
f7ee18f044
one more part of fix for bug 107575, including the much coveted whitespace
...
remove aIgnoreCase parameter from all nsString and nsCString consumers
sr=jag, r=shaver
git-svn-id: svn://10.0.0.236/trunk@113390 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-01 01:53:09 +00:00
sfraser%netscape.com
67a35c1a08
Making the nsModuleComponentInfo data const; bug 74803. r=dp, sr=waterson
...
git-svn-id: svn://10.0.0.236/trunk@113225 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-30 21:14:20 +00:00
alecf%netscape.com
4331ed65d3
First part of fix for bug 107575 - remove nsString::FindChar because there is already an nsAString::FindChar, and remove the "ignore case" option in RFindChar
...
r=dougt, sr=jag
git-svn-id: svn://10.0.0.236/trunk@113200 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-30 06:04:29 +00:00
cathleen%netscape.com
dd8ebc5bd1
eliminate nsCRT::zero() to use memset to zero instead, bug 118135, r=dp sr=waterson
...
git-svn-id: svn://10.0.0.236/trunk@113183 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-30 02:55:57 +00:00
dougt%netscape.com
011f9b10e5
1. Converts callers of nsIComponentManagerObsolete to use
...
nsIComponentRegistrar.
2. Converts callers of nsComponentManager::AutoRegister to use
nsIComponentRegistrar's autoRegistrar method.
3. Add nsIComponentRegistrar implmentation to nsComponentManagerImpl.
4. Rearrange nsComponentManager.cpp so that related methods are in the same
place.
5. Added a C-style function NS_GetComponentRegistrar so that getting the
registrar is easier in some places.
6. Added a nsISimpleEnumerator interface on PLDHashTableEnumeratorImpl. in
this way, the same base class can support both old style and new style
enumerations.
7. Fixed a nasty bug where unregistring factories will leave the contract id
hash with a dangling pointer. Now, when unregister is called we search the
contract id hash for entries which have the given doomned cid and remove them.
Bug 115853. r=dp@netscape.com , sr=rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@113143 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-29 21:22:13 +00:00
alecf%netscape.com
9416759610
back out my accidental checkin
...
git-svn-id: svn://10.0.0.236/trunk@113018 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-28 02:47:30 +00:00
alecf%netscape.com
a3f49498a1
fix for bug 121508 - clean up nsStringStream and nsIParser APIs.. r=dougt, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@113007 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-27 22:02:00 +00:00
heikki%netscape.com
d3fe0d3a87
Bug 35984, make an undefined entity always a fatal error; report errors while parsing external entities (regression) and a minor optimization in loading external entities. r=harishd, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@112898 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-25 23:19:23 +00:00
heikki%netscape.com
56fb7f80ee
Bug 44458, enable XHTML entities when an XHTML doctype with public id is present in an XML document. r=rbs@maths.uq.edu.au, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@112779 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-25 00:07:45 +00:00
harishd%netscape.com
753b76b639
Removed mDoctypeText from nsExpatDriver. This |could| improve Ts/Txul time slightly. b=102345, r=heikki, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@112743 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-24 22:15:58 +00:00
timeless%mac.com
85980b3c4a
Bug 119310 preferences + open in new tab + clicking browser crashes @nsLoadGroup::RemoveRequest
...
assert instead of crashing if some load fails
r=darin sr=waterson
git-svn-id: svn://10.0.0.236/trunk@112243 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-16 00:16:51 +00:00
shanjian%netscape.com
8f796b42ef
#118000 support unicode plane 1 characters
...
r=ftang, sr=attinasi
this part of checkin added support to NCR of non-BMP characters.
git-svn-id: svn://10.0.0.236/trunk@112233 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-16 00:00:50 +00:00