mrbkap%gmail.com
122fcbd598
Don't treat PRBool as an int. bug 388093, r+sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@229934 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-14 00:26:46 +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
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
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
mrbkap%gmail.com
163a50253e
bug 317869: CNavDTD still needs its own IID. r+sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@185342 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-28 22:13:10 +00:00
mrbkap%gmail.com
f08d3b747d
bug 316582: Clean up style nitpicks in CNavDTD. rs=jst
...
git-svn-id: svn://10.0.0.236/trunk@185233 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-24 00:14:25 +00:00
cvshook%sicking.cc
f95c92ff95
Bug 311785: Simplify the nsIHTMLContentSink interface
...
r=mrbkap sr=peterv
git-svn-id: svn://10.0.0.236/trunk@182699 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-21 15:39:06 +00:00
mrbkap%gmail.com
43f238aaf7
bug 307797: Fix line counting regressions resulting from the checkin for bug 272702, as well as an old bug where document.write('\n') would cause line numbers in the rest of the HTML to be offset. Also fix a regression where userdefined tags are forced to be in the head (as opposed to appearing in either the head or the body). r+sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@179933 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-10 00:12:21 +00:00
mrbkap%gmail.com
4045b60295
bug 272702: Remove skipped content. This simplifies the code handling <script>, <style> and related tags and makes the nsIHTMLContentSink interface just that much easier to implement. This also allows <object> tags to appear in the head with children. r=sicking sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@179916 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-09 18:03:47 +00:00
peterv%propagandism.org
aac2b47f2a
Fix for bug 286300 (Clean up HTML tags enum and related code). r=mrbkap, sr=bz, a=asa.
...
git-svn-id: svn://10.0.0.236/trunk@174703 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-16 13:10:58 +00:00
mrbkap%gmail.com
cf7901ce09
bug 295596: <li> was closing styles on the transient style stack for no good reason, causing them to be lost. This special-cases <li> to not do that. r=bzbarsky sr=jst a=shaver
...
git-svn-id: svn://10.0.0.236/trunk@173984 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-01 21:14:01 +00:00
mrbkap%gmail.com
1b26f5ee4a
bug 288991: An <iframe /> before a <frameset> causes the <frameset> to be lost. r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@171782 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-06 04:41:18 +00:00
mrbkap%gmail.com
b04b815dc7
bug 275288: remove obsolete CRC calculations. r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@167028 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-25 04:44:02 +00:00
darin%meer.net
ed9e4d3d7a
eliminating uses of deprecated nsComponentManager:: methods (bug 267040), r=bsmedberg
...
git-svn-id: svn://10.0.0.236/trunk@164735 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-01 18:50:36 +00:00
bzbarsky%mit.edu
043249f868
Followup to bug 143512, patch by patch by Chris Thomas <cst@andrew.cmu.edu>,
...
r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@160640 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-10 23:48:41 +00:00
bzbarsky%mit.edu
fad9e71dc3
Fix assert if an end tag has "attributes". Bug 143512, patch by Chris Thomas
...
<cst@andrew.cmu.edu>, r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@160555 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-09 22:09:06 +00:00
peterv%propagandism.org
7697906006
Merging patch by gerv (from mozilla/htmlparser).
...
Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155383 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-23 13:24:28 +00:00
timeless%mozdev.org
55b1cade1d
Bug 201271 Fix interface inconsistencies in parser
...
patch by choess@stwing.upenn.edu r=harishd sr=jst
git-svn-id: svn://10.0.0.236/trunk@140945 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-09 22:44:25 +00:00
hpradhan%hotpop.com
12f1dc7f84
bug 196829 : Removed unused DoFragment() methods from parser and contentsinks r=harishd sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@140742 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-05 07:19:09 +00:00
seawood%netscape.com
5921049139
Purge XP_PC.
...
Bug #56767 r=mkaply sr=alecf
git-svn-id: svn://10.0.0.236/trunk@140602 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-02 22:45:08 +00:00
harishd%netscape.com
e7a19238c2
Close Head context before dealing with tags that belong in body/frameset. b=187790, r=heikki, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@136073 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-09 18:29:23 +00:00
harishd%netscape.com
21bb532f1a
Handle unclosed and malformed TITLE tag. b=42945, r=heikki, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@135830 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-03 19:21:20 +00:00
harishd%netscape.com
1eb8cce6ae
Do not hold parser nodes, that do not contain residual style information, longer than necessary. By recycling the nodes earlier the number of malloc calls and the peak memory usage can be reduced. b=177994, r=heikki, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@134114 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-19 18:29:35 +00:00
harishd%netscape.com
a6dd951b3e
Fix line numbers in html. b=111576, r=heikki, sr=jst, a=asa,chofmann
...
git-svn-id: svn://10.0.0.236/trunk@118658 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 22:16:46 +00:00
harishd%netscape.com
6b93bed21c
Backing out timeless's checkin. This wasn't supposed to happen until we branched
...
git-svn-id: svn://10.0.0.236/trunk@118508 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-09 00:43:00 +00:00
timeless%mac.com
195ad89ec0
Bug 111576 Incorrect line numbers in HTML files
...
patch by harishd, r=heikki, sr=jst, a=chofmann
git-svn-id: svn://10.0.0.236/trunk@118494 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-08 23:52:12 +00:00
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
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
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
476668ebbc
105137 - Eliminate nsTokens, nsParserNode usage for xml/xbl/xul/rdf documents. r=heikki, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@111618 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-09 01:37:50 +00:00
harishd%netscape.com
463de5eab2
106746 - Do not allow DD to contain DT and vice versa.
...
103095 - Ignore forward slash, in short hand tags, in html.
96861 - Ignore nested FORMS.
94269 - Do not allow P to contain FORM.
84592 - Ignore body after FRAMESET.
r=heikki, sr=jst
git-svn-id: svn://10.0.0.236/trunk@110029 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 21:33:12 +00:00
jst%netscape.com
e9bd9a6f04
Fixing bug 109400. Removing unnecessary layers of abstraction from nsHTMLTags that does nothing for us except using more memory than we need to use, and makes us slower. This makes nsHTMLTags::LookupTag() 4 times faster. r=harishd@netscape.com, rs=vidur@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@109117 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-28 06:13:11 +00:00
dougt%netscape.com
62a8215278
Extraneous Symbol Removal. Patch by Jon Smirl jonsmirl@mediaone.net. r=dougt@netscape.com, sr=alecf@netscape.com. Bug 104172 , 104316 , 104420 , 104426 , 104461 , 104511 , 104527
...
git-svn-id: svn://10.0.0.236/trunk@106009 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-23 01:37:21 +00:00
harishd%netscape.com
36086848b7
91320 - Removed unused files from htmlparser module and created a public directory.
...
r= heikki
sr=vidur
git-svn-id: svn://10.0.0.236/trunk@100322 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-03 21:15:15 +00:00
kmcclusk%netscape.com
1823eaba29
Added code to interrupt the parser's processing of tokens if a threshold is exceeded to improve interactivity during long page loads. Turned OFF by default. Can be enabled through a pref. bug 76722 r=harishd@netscape.com,rickg@netscape.com sr=vidur@netscape.com,attinasi@netscape.com a=chofmann@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@97651 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-21 02:06:23 +00:00
harishd%netscape.com
8e7bf84767
75641 - Fixing MLK caused by unclosed FONT tags ( penguin.html )
...
r=heikki sr=waterson
77352 - Making sure that the heading tags' size takes precedence over
residual style tags' size info.
r=pollmann sr=attinasi
57248 - Moved attribute entity parsing to the parser land.
r=heikki sr=jst.
git-svn-id: svn://10.0.0.236/trunk@95062 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-15 22:32:26 +00:00
harishd%netscape.com
ccf1ed4977
fixing the bustage...
...
git-svn-id: svn://10.0.0.236/trunk@92886 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-21 22:57:22 +00:00
harishd%netscape.com
d2199013d8
69455 - enable noframes content when frames are disabled
...
r=heikki,sr=waterson,a=choffmann
git-svn-id: svn://10.0.0.236/trunk@92885 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-21 22:22:15 +00:00
waterson%netscape.com
1ef6e620b4
Bug 68213. Require users of nsFixedSizeAllocator to specify object size at Free() time to avoid 8 byte overhead per allocation. r=harishd, brendan, shaver, hyatt; sr=scc
...
git-svn-id: svn://10.0.0.236/trunk@91251 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-04 05:00:08 +00:00
harishd%netscape.com
b41e36791e
69331 - <?XML..> does not require BODY!!
...
66985 - Do not open BODY for INPUT type=hidden. For compatibility
72639 - Discard nested FORMS
2749 - Enable Strict comment parsing.
Replace PRBools with bit operation.
nsScanner Append() should return nsresult not PRBool.
r=heikki
sr=jst
git-svn-id: svn://10.0.0.236/trunk@90964 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-31 22:44:05 +00:00
harishd%netscape.com
a552b6d057
Backing out a unintentional change.
...
r=jst
git-svn-id: svn://10.0.0.236/trunk@88464 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-03 02:52:57 +00:00
harishd%netscape.com
9a1300e224
69160 - Parser stack & sink stack should be 1:1 even when handling nested MAPs.
...
3248 - Added Support for http headers ( link,content-base,default-style ) in the sink.
41426 - Making sure that XML like syntax ( <tag/> ) does not produce an extra end tag ( <tag></tag> ) in view-source.
62803 - Stop processing NOFRAME content ( will have to add support to process the content once we have to ability to turn off frames).
r=heikki,sr=vidur
git-svn-id: svn://10.0.0.236/trunk@88427 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-03 00:37:04 +00:00
harishd%netscape.com
7a086d6265
Made parser nodes arena allocated. Also, fixed a few potential leaks.
...
Note: Parser nodes could be heap allocated by enabling HEAP_ALLOCATED_NODES flag.
r=jst
sr=vidur
git-svn-id: svn://10.0.0.236/trunk@85501 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-25 19:37:23 +00:00
vidur%netscape.com
3e62b3f9f3
Changes to parser to allow less copying. Use of the new nsSliding[Sub]String classes so that tokens can hold substrings that keep references into the scanner buffer. Cleaned up token interface and general string usage. r=harishd,heikki sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@83553 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-12 21:58:14 +00:00
rickg%netscape.com
ece465da5b
fixed nsbeta3 bugs (crash and compatibility), an FMM, reduced memory usage. Top100+Regression tests ok. R=harishd/buster
...
git-svn-id: svn://10.0.0.236/trunk@78537 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 23:06:13 +00:00
harishd%netscape.com
69b6374ae7
7670 - Enabling NOSCRIPT content.
...
47827 - Make sure to check DD's hierarchy.
r=jst
git-svn-id: svn://10.0.0.236/trunk@77890 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 18:17:17 +00:00
mcafee%netscape.com
530b27f340
Rearranging some includes to fix solaris bustage (50876). code=harishd,waterson, r=mcafee, a=leaf
...
git-svn-id: svn://10.0.0.236/trunk@77776 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 17:23:22 +00:00
harishd%netscape.com
34a0c50b1e
46702 ( nsbeta3+ ) Partial - Made token cache to be arena based.
...
r=vidur
git-svn-id: svn://10.0.0.236/trunk@77624 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 18:22:03 +00:00
rickg%netscape.com
2e1ef1b2c7
fixed several nsbeta2+ bugs; r=harish, buster; a=pdt
...
git-svn-id: svn://10.0.0.236/trunk@71963 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-10 02:53:04 +00:00