Commit Graph

53 Commits

Author SHA1 Message Date
jfrancis%netscape.com
0c756dc3b3 fix for 142855: cf_html paste functionality. r=brade,cmanske; sr=kin 2002-11-22 03:30:59 +00:00
harishd%netscape.com
3b23a2feca 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 2002-11-19 18:29:35 +00:00
bzbarsky%mit.edu
530b8b7db6 use prefix ++, not postfix ++. Bug 82615, r=heikki, sr=jst 2002-09-03 22:23:22 +00:00
jfrancis%netscape.com
308ab1fe69 fix for 159842: parser has no mechanism to allow parsing of incomplete html fragments. sr's from heikki, kin, bz 2002-08-29 08:17:41 +00:00
shanjian%netscape.com
fd1c7b2e6c #162239 POST document could not inherit charset from previous page if the previous charset is from autodetection.
r=ftang, darin, sr=jst
added PrevDocCharset to markupViewer, and pass around previous document charset.
This charset is later used to load POST document.
2002-08-26 20:13:31 +00:00
heikki%netscape.com
3c4832e229 Bug 63558, we now store XML declaration in the document and can serialize it. There is fix for 158617 as well, newlines behave properly around doctype. r=bzbarsky, sr=jst. 2002-08-13 18:41:16 +00:00
seawood%netscape.com
322da773fb Removing old nmake build makefiles. Bug #158528 r=pavlov 2002-08-10 07:55:43 +00:00
bzbarsky%mit.edu
2b05ed9368 Bug 124870. PRBool -> PRPackedBool in lots of places. Patch by
dann@godzilla.ics.uci.edu, r=heikki, sr=jst
2002-08-06 01:22:59 +00:00
alecf%netscape.com
e9e1a39573 fix for bug 157572 - remove nsIAtom references from strings, and thus expicitly #include nsIAtom.h for consumers who are expecting it.
r=dmose, sr=jag, a=asa
2002-07-25 18:31:10 +00:00
seawood%netscape.com
03ace271f0 Add CPP_THROW_NEW macro to the build system. This macro should be used when defining a local |operator new| function. It will be set to an empty throw function by default on all platforms except mac CW builds. This will allow us to not crash on systems that expect |operator new| to throw an exception by default and will suppress compiler warnings about how |operator new| should throw an exception instead of returning NULL.
Bug 149032 r=timeless sr=scc
2002-07-02 20:25:30 +00:00
harishd%netscape.com
b8ad324d2e Make marquee tag a block level element. b=154173, r=heikki, sr=jst 2002-06-27 01:49:38 +00:00
dbaron%fas.harvard.edu
6d2263f19b Convert handwritten GetIID methods to use NS_DEFINE_STATIC_IID_ACCESSOR and add |const| to GetCID methods so that static |nsID|s are declared as |const|. b=153525 sr=jag r=bryner 2002-06-26 03:38:55 +00:00
dbaron%fas.harvard.edu
e63a11c0e8 Split strict mode into almost-standards and full-standards mode, where the only quirk in almost standards mode is the quirky inline box model. Remove previous fix for bug 151620. Tweak mode detection to use almost-standards for XHTML Transitional, HTML 4.01 transitional with system ID, and for IBM system DOCTYPE. b=153032 r=karnaze, bzbarsky, harishd sr=waterson 2002-06-25 21:16:17 +00:00
harishd%netscape.com
59be36d323 Preserve comment declaration for textarea and viewsource. b=133044, r=heikki, sr=jst 2002-05-22 23:51:30 +00:00
harishd%netscape.com
1e4585c9ba Ensuring complete consumption of DOCTYPE content. b=142625, r=heikki, sr=jst 2002-05-22 00:46:16 +00:00
pete.zha%sun.com
b6994b2435 bug 143168:remove ilayer layer tag from mozilla code
r=harishd, sr=jst
Check in for Jerry Tan(jerry.tan@sun.com)'s fix
2002-05-16 03:08:15 +00:00
jkeiser%netscape.com
8de1592240 Treat NOLAYER like any undeclared tag (from Antonio Xu). Bug 61443, r=harishd@netscape.com, sr=jst@netscape.com 2002-05-09 02:33:34 +00:00
harishd%netscape.com
d6971b20c1 Prevent charset loading for document.write content because the content is already in unicode. b=125317, r=ftang, sr=jst 2002-04-18 22:11:17 +00:00
harishd%netscape.com
cd7eee0829 Fixed a crash my making sure that the CNavDTD and HTMLContentSink stacks are synchronized when handling a FORM. b=133410, r=heikki, sr=jst 2002-04-11 23:50:44 +00:00
harishd%netscape.com
7609e93846 Fix line numbers in html. b=111576, r=heikki, sr=jst, a=asa,chofmann 2002-04-10 22:16:46 +00:00
harishd%netscape.com
8534ae1d76 Backing out timeless's checkin. This wasn't supposed to happen until we branched 2002-04-09 00:43:00 +00:00
timeless%mac.com
cf65e75b10 Bug 111576 Incorrect line numbers in HTML files
patch by harishd, r=heikki, sr=jst, a=chofmann
2002-04-08 23:52:12 +00:00
dbaron%fas.harvard.edu
6cdcd7ef3a 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-24 00:16:18 +00:00
darin%netscape.com
9fbd1028d6 b=128508 "freeze nsIChannel nsIRequest" r=gagan, sr=rpotts, a=asa 2002-03-20 22:50:33 +00:00
dbaron%fas.harvard.edu
0b816e3591 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 2002-03-16 15:34:43 +00:00
rbs%maths.uq.edu.au
8f6916c2d9 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 2002-03-15 09:45:31 +00:00
heikki%netscape.com
bf57164cba 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. 2002-03-12 22:17:18 +00:00
harishd%netscape.com
8ddc75fad9 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 2002-02-14 23:45:20 +00:00
alecf%netscape.com
4f4d815566 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
2002-02-12 21:17:53 +00:00
alecf%netscape.com
bcd6a6fb94 fix for bug 121508 - clean up nsStringStream and nsIParser APIs.. r=dougt, sr=jst 2002-01-27 22:02:00 +00:00
harishd%netscape.com
d5fc3771e2 Removed mDoctypeText from nsExpatDriver. This |could| improve Ts/Txul time slightly. b=102345, r=heikki, sr=jst 2002-01-24 22:15:58 +00:00
harishd%netscape.com
953e72274b Reduce the size of tokens. b=113657, r=heikki, sr=jst 2002-01-11 19:39:57 +00:00
harishd%netscape.com
641b5b1ca4 119038 - Make sure that WillResume() and WillInterrupt() get called on the sink. This should fix the fast loader assertion. r=heikki, sr=brendan 2002-01-11 01:26:41 +00:00
dbaron%fas.harvard.edu
9a039b7c3a Fix AIX and OS/2 bustage by using normal |const|-ness conventions. r=harishd 2002-01-09 18:15:36 +00:00
harishd%netscape.com
7c522efd05 105137 - Eliminate nsTokens, nsParserNode usage for xml/xbl/xul/rdf documents. r=heikki, sr=jst 2002-01-09 01:37:50 +00:00
mcafee%netscape.com
e47b64c3d3 Ignore generated files. 2001-12-29 04:19:36 +00:00
shanjian%netscape.com
bf85c86c6a #112793 fine tune frame charset mechanism
Besides charset, document now records charset source as well.
nsCharsetSource was replaced by PRInt32.
Some code relocation in nsHTMLDocument.cpp
r=yokoyama sr=waterson
2001-12-26 03:17:59 +00:00
bbaetz%cs.mcgill.ca
5c8cc975a2 Bug 80142 (among others) - landing of SVG_20010721_BRANCH. Work by
alex.fritze@crocodile-clips.com, james.turner@crocodile-clips.com, and
everyone else how helped on the branch. Thanks to peterv for last minute
build changes

r=cls for build changes
r=jst, rs=brendan for #ifdef'd parts touching existing files.

NOT ON BY DEFAULT
2001-12-12 07:59:31 +00:00
jst%netscape.com
f54b1ef763 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 2001-11-28 06:13:11 +00:00
alecf%netscape.com
8e1f300899 first part of fix for bug 112209, making nsStr private by switching nsStaticNameTable over to nsAFlatString. r=dbaron, sr=blake 2001-11-27 21:13:53 +00:00
bzbarsky%mit.edu
f2ee8260a0 Use NS_LITERAL_STRING instead of NS_ConvertASCIItoUCS2 where possible
(i.e. where the string is a literal).  Bug 104159, r=jag, sr=alecf
2001-11-14 01:33:42 +00:00
dougt%netscape.com
b5ba390898 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 2001-10-23 01:37:21 +00:00
harishd%netscape.com
c7140326c2 97769 - Replace nsITagStack with a simple nsVoidArray. Also, nuked nsITagStack since it is not of a big help.r=heikki, sr=jst.
99282  - Make sure only HEAD attributes get added to the attribute list in ::OpenHead(). r=heikki, sr=jst.
100466 - Stop DT from containing DL.r=heikki,sr=jst.
102370 - DT should not close DD and vice versa.r=heikki,sr=jst.
100397 - In order for residual style to kick in...disable the check for wellformedness in quirks mode.r=alexandru,sr=attinasi.
102376 - Release nsIRequest in nsParser::DidBuildModel() since nsIRequest is not required past DidBuildModel.r=heikki,sr=darin.
2001-10-19 20:48:18 +00:00
dbaron%fas.harvard.edu
5a357eea01 Making debugging code be |#ifdef DEBUG|. b=91036 r=harishd sr=jst 2001-10-16 05:31:36 +00:00
jst%netscape.com
a0b52cf92d Fixing bug 104031. Bad string code in nsHTMLDocument::WriteCommon(). r=bzbarsky@mit.edu, sr=vidur@netscape.com 2001-10-16 01:31:49 +00:00
harishd%netscape.com
6cf7e21d1f 96364 - Register html tag observers directly to parser service rather than nsObserverService. Doing so, reduces a lot of overhead. Also, the observers are now notified via sink. This eliminates the need for parser bundle.
r=dp,shanjian,sfraser, sr=rpotts.
2001-09-28 23:08:17 +00:00
gerv%gerv.net
1c6c9ed7c8 License changes, take 2. Bug 98089. mozilla/include/, /mozilla/htmlparser/, /mozilla/intl/ (part 1). 2001-09-26 00:40:45 +00:00
alecf%netscape.com
1e0e7dd033 Add REQUIRES to many modules for win32 support, bug 98372 r=cls 2001-09-12 20:32:40 +00:00
dbaron%fas.harvard.edu
390e04a7df Make forward-compatible the DOCTYPE handling for determining whether to be in quirks mode or strict mode: properly parse the DOCTYPE declaration and use a list of known public identifiers that should trigger quirks. Remove some remnants of modes that no longer exist. b=55264 r=harishd sr=vidur 2001-09-08 18:37:19 +00:00
harishd%netscape.com
3a9db9a4cb 96031 - Made LI's parent model to be flow entity. This would allow inline elements, such as I,B,FONT, etc., to contain LI such that bullets / numbers would also inherit the parent properties.
93574 -  nsLoggingSink and nsHTMLNullSink  should not be a part of the optimized build. Wrapped 'em under MOZ_DEBUG flag.
r=heikki, sr=vidur, a=asa.
2001-08-31 21:22:16 +00:00