Граф коммитов

152 Коммитов

Автор SHA1 Сообщение Дата
mrbkap%gmail.com 36c54fb6da bug 70918: view-source adds > to tags that are missing them. r=bzbarsky sr=dmose 2004-10-17 03:03:46 +00:00
bzbarsky%mit.edu d2a2b2a6fd Remove our broken attempt to support <plaintext> (which is very very
deprecated).  Bug 88987, r=jst, sr=dbaron
2004-10-09 16:55:54 +00:00
bzbarsky%mit.edu e2c56f9785 Make createContextualFragment work for XML. Bug 133827, patch by
steve.swanson@mackichan.com, r=bzbarsky, sr=jst
2004-09-30 22:27:45 +00:00
bzbarsky%mit.edu 6f4350b2e2 Remove bogus "support" for <sourcetext> and <parsererror>. Bug 210658, patch
by Blake Kaplan <mrbkap@rice.edu>, r+sr=bzbarsky
2004-09-13 20:43:15 +00:00
bzbarsky%mit.edu c266ff1e12 Make CTextToken::ConsumeUntil not consume too much text. Bug 258082, patch by
Blake Kaplan <mrbkap@rice.edu>, r=bzbarsky, sr=jst
2004-09-12 01:50:53 +00:00
timeless%mozdev.org 9c05c44113 Bug 254843 eToken_script is unused
patch by cst@andrew.cmu.edu r=peterv sr=peterv
2004-08-23 18:46:58 +00:00
timeless%mozdev.org 5980196776 Bug 254843 eToken_script is unused
patch by cst@andrew.cmu.edu r=peterv sr=peterv
2004-08-23 17:57:51 +00:00
bzbarsky%mit.edu ff376b3812 Add support for the application/rdf+xml MIME type. Bug 61839, patch by Alex
Vincent <ajvincent@juno.com>, r=bzbarsky, sr=jst
2004-08-08 01:31:02 +00:00
cbiesinger%web.de da701f865c Bug 248694 make nsIParser::GetCommand use an nsCString instead of nsString
r+sr=bz
2004-07-17 21:45:37 +00:00
bryner%brianryner.com 3cd200f850 oops, this wasn't supposed to go on the trunk. backing out. 2004-06-21 23:41:30 +00:00
bryner%brianryner.com cc1433c45a bringing branch changes forward 2004-06-21 23:35:56 +00:00
roc+%cs.cmu.edu 626c4c26f5 Bug 217715. Delay instantiating plugin until we've closed its HTML element, so Java applets are guaranteed to see all PARAMs. r+sr=jst 2004-06-02 00:25:00 +00:00
bzbarsky%mit.edu a7bff6ad5b Change FlushPendingNotifications to have more granularity and update callers to
only flush the things they really need flushed.  Bug 144072, r+sr=jst
2004-05-27 22:08:42 +00:00
bzbarsky%mit.edu b4eebb0cbd Remove bogus data-sniffing code in CanParse() impls, clean up signature, don't
peek a buffer if we're not planning to autodetect the parsemode.  Bug 113201,
r=rbs, sr=jst
2004-05-13 23:39:06 +00:00
peterv%propagandism.org fb76bc8e39 Fix for bug 235747 (Move parser stuff into mozilla/parser). r=cls, sr=jst. 2004-05-04 07:53:15 +00:00
peterv%propagandism.org 1d4738ccaf Merging patch by jst (from mozilla/htmlparser).
Fixing bug 241328. Eliminating dead code, and making some classes use less memory on some 64-bit platforms. Also doing some general cleaning. r+sr=bzbarsky@mit.edu
2004-04-23 13:29:02 +00:00
peterv%propagandism.org e248a88fdd Merging patch by gerv (from mozilla/htmlparser).
Bug 236613: change to MPL/LGPL/GPL tri-license.
2004-04-23 13:24:28 +00:00
peterv%propagandism.org 32fcce5a57 Merging patch by darin (from mozilla/htmlparser).
fixes bug 239038 "rev IIDs for all interfaces modified since Mozilla 1.6" r=bsmedberg sr=jst
2004-04-23 12:48:44 +00:00
peterv%propagandism.org 7bb672fb35 Merging patch by sicking (from mozilla/htmlparser).
Bug 236873: Let more elements share classes to save codesize. r/sr=jst.
2004-04-23 12:28:55 +00:00
peterv%propagandism.org 68a7e5f818 Fix for bug 233907 (document.createElementNS() doesn't throw NAMESPACE_ERR when given a namespace-invalid name.). r/sr=jst. 2004-03-06 16:00:23 +00:00
darin%meer.net 8d65e087ae landing string defragmentation patch for bug 231995, r/sr=dbaron,jst,dougt 2004-02-19 02:44:03 +00:00
peterv%propagandism.org 5deac3ddf5 Fix for bug 232591 (Expose name validation methods from the XML parser (expat)). r=Pike, sr=jst. 2004-02-09 14:15:57 +00:00
bzbarsky%mit.edu 9a0393e37d Preserve case of end tags in preserve targets (<textarea>, <xmp>, etc.). Bug
64799, r=choess, sr=jst
2004-01-27 04:50:56 +00:00
bryner%brianryner.com 78f1cb532a Speed up mapping HTML tag enums to atoms by using an array of static atoms, indexed by enum value. This avoids a UTF16 to UTF8 conversion and atom table lookup for each tag. Add a CString version of nsINodeInfoManager::GetNodeInfo(), convert literal string callers to use that version, and remove some unused variants of GetNodeInfo(). Bug 223595, r=axel@pike.org, sr=jst. 2003-11-05 05:17:07 +00:00
bzbarsky%mit.edu 75c3e6a121 Make nsExpatDriver and nsIExpatSink be on the same wavelength as far as passing
attributes to HandleStartElement.  Update callees as needed.  Bug 223470,
r=sicking, sr=peterv
2003-10-30 02:17:50 +00:00
hpradhan%hotpop.com 45786f132b Bug 170985 : fix for gcc3.4 bustage 2003-09-24 07:30:16 +00:00
hpradhan%hotpop.com a163d2b594 Bug 170985 : bustage possible btek bustage fix 2003-09-24 07:15:34 +00:00
hpradhan%hotpop.com 0e053b8dd8 Bug 170985 : table-based content object creation r=peterv sr=jst 2003-09-24 06:16:52 +00:00
dbaron%dbaron.org 47183725c7 Remove unused content quality stubs. b=111346 r+sr=bzbarsky 2003-07-22 18:38:08 +00:00
alecf%flett.org b7fa256d74 fix for bug 209220 - now that i18n APIs take ASCII charset names, update consumers to avoid excess conversions.. which usually means storing charset names as ASCII and updating a few other APIs
r=jkeiser, sr=jst and some great comments from jshin@mailaps.org
2003-06-17 16:40:34 +00:00
seawood%netscape.com 97649bab86 Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev 2003-06-10 21:18:27 +00:00
harishd%netscape.com 9dea772152 Preserve tokenizer state between document.writes. b=99467, r=heikki@netscape.com, sr=jst@netscape.com 2003-05-28 20:56:21 +00:00
bryner%netscape.com 9c595fffe0 Removing unused nsHTMLNullSink and SelfTest.cpp. Bug 207019, r=harishd, sr=jst. 2003-05-27 22:08:44 +00:00
nisheeth%netscape.com e7bc557c1f Fix for bug 206027. r=harishd@netscape.com, sr=jst@netscape.com, a=mkaply@us.ibm.com. Make cut n paste from Powerpoint into Mozilla work properly. 2003-05-21 03:03:59 +00:00
bzbarsky%mit.edu 97c2f70759 Make CreateContextualFragment know what document the fragment is destined for.
Fixes some issues with images and innerHTML.  Bugs 198486, 198989, 201865.
r=jfrancis, sr=jst
2003-04-15 01:09:09 +00:00
timeless%mozdev.org f0f727bb67 Bug 63188 What is the aMode parameter in CToken::Consume?
patch by choess@stwing.upenn.edu r=jst sr=jst
2003-04-08 22:01:46 +00:00
bzbarsky%mit.edu 31b73ec09c Some random code cleanup:
1)  Make SetContentSink and SetParserFilter not claim to return stuff
2)  Clean up nsIParser to use NS_IMETHOD_() where needed.  Sync up with nsParser
3)  Removed some never-used code

Bug 40149, r=harishd, sr=jst
2003-04-08 21:23:34 +00:00
alecf%netscape.com f69ebc1f6b fix for the first part of bug 200580, remove nsIDTD::ConvertEntityToUnicode, nobody is using it r=harishd, sr=jst 2003-04-08 20:54:56 +00:00
hpradhan%hotpop.com ab79cda8b9 bug 196829 : Removed unused DoFragment() methods from parser and contentsinks r=harishd sr=jst 2003-04-05 07:19:09 +00:00
dougt%netscape.com 0d2808c511 Create a new xpcom obsolete library (and component library).
Moved nsFileSpec and related classes into this obsolete library.
  Moved nsRegistry and related libreg functionality into the obsolete library.

Updated many callers using the obsolete nsFile spec to use nsIFile and Necko to do file IO.

Combined the following DLLs (source -> dest)
  uriloader -> docshell
  shistory -> docshell
  jsurl -> jsdom
  gkview -> gklayout

Moved nsAdapterEnumerator out of xpcom/ds and into mailnews, since they're the only consumer

Modifed the xpt_link tool so that you can specify a �only include� cid list that can mask CID�s that you are not interested in.

Added build options:
Prevent the building of xpinstall (--disable-xpinstall)
Prevent the building js component loader (--disable-jsloader)
A build option to only build a single profile (--enable-single-profile)
A build flag to only built the required xpfe components (--disable-xpfe-components).

Removal or hiding of unused functions and classes including nsEscape*, nsDequeIterator, nsRecyclingAllocatorImpl, nsDiscriminatedUnion, nsOpaqueKey, nsCRT::strlen, NS_NewCommandLineService

Bug 194240, r/sr = darin, alec.
2003-03-15 01:04:32 +00:00
timeless%mozdev.org 6e5cc519a5 Bug 133277 give NS_PARSERSERVICE_CID {a6cf9112-15b3-11d2-932e-00805f8add32} a ContractID
r=harishd sr=heikki
2003-03-14 04:03:09 +00:00
harishd%netscape.com ce8790d388 Ignore noxxx content when copy pasting into a plain text editor. b=97687, r=peterv, sr=heikki 2003-01-16 20:24:03 +00:00
harishd%netscape.com 6d74664081 Avoid the call to OpenHead and CloseHead with incorrect parserNode. b=182021, r=heikki, sr=jst 2003-01-03 23:17:22 +00:00
seawood%netscape.com d5efcdfb6d Start installing GRE libraries & components into a separate dist/gre directory as part of the default build.
Bug #186241 r=dougt
2002-12-28 01:15:07 +00:00
harishd%netscape.com 6b2eccc420 Backing out my changes to see if it fixes the orangeness 2002-12-13 00:28:47 +00:00
harishd%netscape.com 01c72c5364 Reduce the size of CStartToken. b=179523, r=heikki sr=jst.
Added a couple of testcases to the parser regression test suite
2002-12-12 22:38:40 +00:00
harishd%netscape.com 27d146c600 Make sure to catch error messages returned by nsCompontentManagerImpl::CreateInstance when creating a dtd ( CNavDTD ). This fixes a shutdown crash. r=timeless, sr=heikki, a=asa 2002-12-06 01:54:39 +00:00
timeless%mozdev.org cbb1698848 whoops 2002-12-04 09:47:50 +00:00
timeless%mozdev.org 50f284f1dd fixing logparse bustage sr=jst 2002-12-04 08:20:46 +00:00
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
darin%netscape.com f15b47c6af fixes bug 90288 (part 2) "not honoring Pragma: no-cache from HTTP-EQUIV"
r=gagan, sr=dougt
2001-08-22 00:38:46 +00:00