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

1926 Коммитов

Автор SHA1 Сообщение Дата
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
gerv%gerv.net 6b54b1cbc5 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-07-16 19:30:11 +00:00
gerv%gerv.net 9f35e25052 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-07-16 18:48:35 +00:00
bzbarsky%mit.edu cceaf65410 On empty HTML pages, don't synthesize parser nodes for <html> and <body>. We handle
that down the line anyway, so things work fine.  Bug 57717, patch by Blake
Kaplan <mrbkap@rice.edu>, r+sr=bzbarsky
2004-07-15 21:40:03 +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 0f4150a4e5 Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin 2004-06-17 00:13:25 +00:00
cbiesinger%web.de a4396ff7b4 bug 245673 named literal strings should be const
r+sr=darin
2004-06-11 15:05:29 +00:00
bzbarsky%mit.edu d42afa1418 Make the scanner bail out of functions that assume it's initialized if
mSlidingBuffer is null.  Bug 108067, patch by Andreas M. "Clarence" Schneider
<c@c07.de> and Blake Kaplan <mrbkap@rice.edu>, r+sr=bzbarsky
2004-06-08 18:54:57 +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 ed61e3473e Make <input>, <textarea>, and <select> autoclose <option>, <optgroup> and
<select>.  Bug 171713 and bug 140657, r+sr=peterv
2004-05-31 20:23:19 +00:00
bzbarsky%mit.edu d8f82682b5 Making view-source not stick whitespace coming between the equals sign and the
quote mark in an attribute inside the attr value.  Bug 154120, patch by Blake
Kaplan <mrbkap@rice.edu>, r+sr=bzbarsky
2004-05-31 02:59:57 +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
roc+%cs.cmu.edu 0e3ff503fb Bug 226439. Convert Seamonkey to EqualsLiteral. rs=darin 2004-05-22 22:15:22 +00:00
bzbarsky%mit.edu 2c0451a21d Add suport for a "text/plain" first arg to document.open() (no support for any
other types, and none really planned).  Bug 73409, r+sr=jst
2004-05-21 21:32:11 +00:00
bzbarsky%mit.edu 94e9cc65dd Remove XXX comment that is now addressed (as rbs pointed out). Bug 113201. 2004-05-14 00:01:57 +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
timeless%mozdev.org 5d1f31258a Bug 102613 UMR: nsReadingIterator<WORD>::*(void)const UMR: Uninitialized memory read in nsScanner::ReadUntil(nsAString&,nsReadEndCondition const&,int)
r=heikki sr=darin
2004-05-12 08:07:06 +00:00
bzbarsky%mit.edu 2c1e0e28fe The saga continues. Don't move around <script>, since that breaks pages... Bug
243064, r+sr=jst
2004-05-10 21:04:18 +00:00
peterv%propagandism.org d5c2b484c4 Part of fix for bug 192139 (Integrate latest Expat). Some cleanup in nsExpatDriver.cpp/.h. r=Pike, sr=jst. 2004-05-08 14:07:18 +00:00
peterv%propagandism.org 872ab5d017 Try to fix bustage by backing out. 2004-05-07 13:22:39 +00:00
peterv%propagandism.org 9e04c631ee Part of fix for bug 192139 (Integrate latest Expat). Some cleanup in nsExpatDriver.cpp/.h. r=Pike, sr=jst. 2004-05-07 12:14:38 +00:00
bzbarsky%mit.edu cb48e43471 When hoisting misplaced content out of a table, bring along the various "legal
open" elements (script, whitespace, comments, etc) that are kids of the
misplaced content.  This prevents the misplaced content from being closed too
early.  Bug 242503, r=peterv, sr=jst
2004-05-06 22:23:10 +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 5c3c10e8bb Merging patch by bz (from mozilla/htmlparser).
ReadWhitespace should convert lone \r to \r\n so callers see it as a newline.
Bug 103833, r=choess, sr=peterv
2004-05-02 11:17:44 +00:00
peterv%propagandism.org d615dfc178 Merging patch by bz (from mozilla/htmlparser).
Change our concept of a "tagname" to include all sorts of random chars like IE does (that is, allow any char that's not in a short list of terminal chars).
Bug 236002, r=choess, sr=peterv
2004-05-02 11:16:26 +00:00
peterv%propagandism.org 49f83abca6 Merging patch by bz (from mozilla/htmlparser).
Remove the kOmitWS flag, make it possible to "open" whitespace and newline "tags" anywhere in the document. Bug 240139, r=choess, sr=peterv
2004-05-02 11:12:34 +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 82a2e40e6f Merging patch by cbiesinger (from mozilla/htmlparser).
Bug 235504 Remove nsCString::EqualsWithConversion(const char*)
r=darin sr=dbaron
2004-04-23 12:48:01 +00:00
peterv%propagandism.org a1f80b31b0 Index: parser/htmlparser/src/nsParserService.cpp
Merging patch by me (from mozilla/htmlparser).
Fix for bug 237186 (document.createAttribute, document.createElement, etc need to throw INVALID_CHARACTER_ERR for empty names). r/sr=jst, a=chofmann.
2004-04-23 12:30:22 +00:00
peterv%propagandism.org 708e3b899c Merging patch by bzbarsky (from mozilla/htmlparser).
Don't strip out whitespace inside <dl> and <fieldset> tags.  Bug 238989 and bug
48376, r=choess, sr=peterv, a=brendan and asa respectively.
2004-04-23 12:29:54 +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
timeless%mozdev.org d6438db1e3 Bug 237855 Mozilla doesn't recognise MathML 2.0 DOCTYPE and DTD and chokes on its entities
patch by alexey@optus.net r=rbs sr=jst a=dbaron
2004-03-23 04:43:01 +00:00
peterv%propagandism.org 624dc7d802 Move declaration to where the function is used. 2004-03-06 16:27:48 +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 c380c59f65 landing dbaron's patch for bug 235735 "fix callers that cast away const on result of ns[C]String::get" r+sr=darin 2004-02-28 22:34:07 +00:00
bzbarsky%mit.edu 641d08f619 Allow newlines to end unquoted attributes again. Bug 235171, r=choess, sr=jst 2004-02-24 23:56:41 +00:00
bzbarsky%mit.edu 4fd4ad47c2 Bug 137315. Further fixes to make the line numbers the HTML tokenizer reports
correct.  This should be the last of it.  r=choess, sr=jst
2004-02-20 00:26:16 +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
bryner%brianryner.com 102f95c31c fix non-null terminated PRUnichar string constant. Bug 228688, r+sr+a=dbaron 2004-02-18 00:41:04 +00:00
dbaron%dbaron.org d1c0e28de0 Arguments to strcmp need to be null-terminated. b=228688 r+sr=jst a=chofmann 2004-02-18 00:15:49 +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
hjtoi%comcast.net e7c77f7465 Bug 197114, less copying when loading external DTDs, r=alecf, sr=darin. 2004-02-07 21:23:34 +00:00
alex.fritze%crocodile-clips.com 5c676d4a47 Landing of SVG_20020806_BRANCH, Bug 182533. Refactoring of SVG backend, new GDI+ and Libart rendering
backends, text support on Windows (GDI+), rudimentary text support on Linux (libart/freetype2), presentation
attributes, lots of bug fixes (see bug 182533 for dependency list).

Not part of default build; code is #ifdef'ed out.

r=sicking, sr=jst for dom and htmlparser changes
r=bsmedberg, sr=tor for config changes
r=dbaron, sr=bzbarsky for content and layout changes
r=tor, sr=bzbarsky for gfx changes
2004-02-07 12:39:26 +00:00
jst%mozilla.jstenback.com 90431d8022 Fixing bug 232503. Start using Empty[C]String() to save a bit on code-size. r+sr=peterv@propagandism.org 2004-01-29 22:04:45 +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
jst%mozilla.jstenback.com fc9f3d6ea3 Fixing bug 183373. Provide XPCOM methods for accessing a shared empty string object. r=bryner@brianryner.com, sr=dbaron@dbaron.org 2004-01-21 21:36:40 +00:00
caillon%returnzero.com 03937573d2 230953 - Remove traces of dtd-debug. r+sr=jst 2004-01-15 04:50:10 +00:00
timeless%mozdev.org ca639b334b Bug 211249 mozilla/htmlparser/src/nsParser.cpp line 1766 interuptted should be interrupted
r=heikki sr=heikki
2004-01-15 04:06:00 +00:00
bsmedberg%covad.net d0f309943a Continuing to land the PACKAGING_20030906_BRANCH for bug 20640. Not part of the build, yet. 2004-01-07 13:37:00 +00:00
bsmedberg%covad.net 274ef7cd49 Beginning to land the PACKAGING_20030906_BRANCH for bug 20640. Not part of the build, yet. 2004-01-07 01:22:31 +00:00
peter%propagandism.org a173180fad Part of fix for bug 192139 (Intergrate latest Expat). r=Pike, sr=jst. 2003-12-23 18:04:56 +00:00
bzbarsky%mit.edu 13729d01dd Save the original tagname when viewing source to prevent case-folding. Bug
63137, r=choess, sr=heikki
2003-11-13 21:55:26 +00:00
timeless%mozdev.org 991dcbab82 Bug 211266 void nsHTMLEntities::AddRefTable doesn't check the return value of PL_DHashTableInit
r=axel sr=heikki
2003-11-05 22:11:55 +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
sicking%bigfoot.com 697fa403a0 Bug 224727: Make IBM doctype trigger quirks mode rather then almost standards.
r=mkaply sr=dbaron
2003-11-04 23:50:18 +00:00
bzbarsky%mit.edu 229ee709e9 Make parsing super-large script/cdata/whatever blocks faster by using
size_forward as a lower-bound estimate for actual distance to end of string.
Bug 171124, r+sr=dbaron
2003-10-30 02:34:03 +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
darin%meer.net 5316381ba3 fixes bug 221431 "crash: @nsHTMLDocument::ResolveName" patch=keeda@hotpop.com r=darin sr=bz 2003-10-07 18:20:58 +00:00
darin%meer.net 77642ae698 fixes bug 210125 "need to be able to AsyncWait for closure only" r=dougt sr=bzbarsky 2003-10-06 01:46:31 +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
bsmedberg%covad.net 781187a4f0 bug 219355 (regression from bug 179834) - XML parsing errors (entity not found) - r=heikki sr=darin 2003-09-17 18:09:25 +00:00
bsmedberg%covad.net e74c2167e3 Bug 219389 - ViewSource highlighting broken (from bug 179834) r=pike sr=darin 2003-09-17 17:28:47 +00:00
bsmedberg%covad.net 0568e675fc Bug 179834. Separate application resources and GRE resources. r=darin sr=dougt 2003-09-13 17:55:56 +00:00
timeless%mozdev.org 5de7f01e9d Bug 217089 Compiler warnings
patch by mbockelkamp@web.de r=timeless sr=heikki
2003-09-11 03:18:50 +00:00
timeless%mozdev.org e8c8dcd5a8 Bug 217089 Compiler warnings
patch by mbockelkamp@web.de r=jst sr=jst
2003-09-11 03:18:49 +00:00
bryner%brianryner.com 7171f28ff4 Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan. 2003-09-07 22:24:21 +00:00
cls%seawood.org 1b51ba858c Set MODULE in makefiles at the top of a heirarchy so that module-deps lists are more precise and builds will have the proper order if some subdirs contain other modules. 2003-08-16 00:42:35 +00:00
cls%seawood.org b269896d2b #pragma is msvc specific, not win32 specific 2003-08-02 19:50:46 +00:00
timeless%mozdev.org 267497e472 Adding the ablity to disable view source.
patch by dougt r=bz,sr=darin,b=199335
2003-07-30 23:57:39 +00:00
timeless%mozdev.org 4e9aa03fa2 Bug 214445 View Page Source fails
Backing out:
Bug 199335 [minimo]make all viewsource stuff configurable
2003-07-30 17:02:52 +00:00
dougt%meer.net 0a335488c8 Adding the ablity to disable view source. r=bz,sr=darin,b=199335 2003-07-30 02:39:05 +00:00
dbaron%dbaron.org 47183725c7 Remove unused content quality stubs. b=111346 r+sr=bzbarsky 2003-07-22 18:38:08 +00:00
jaggernaut%netscape.com 83c571e877 Bug 25886: Get rid of a bunch of unused NS_DEFINE_IID, NS_DEFINE_CID. r=caillon, sr=dbaron 2003-07-20 07:47:59 +00:00
jaggernaut%netscape.com 817298ce0b Bug 212272: Switch some Substring users over to String(Begins|Ends)With. r=dwitte, sr=bzbarsky 2003-07-14 07:37:39 +00:00
jaggernaut%netscape.com 2d7ed90a69 Bug 73353: clean up MODULE/REQUIRES story. r=cls, sr=bryner 2003-07-13 22:29:00 +00:00
harishd%netscape.com 6e8656a57a Initialize userdefined element. b=176709, r=nisheeth@netscape.com, sr=jst@netscape.com 2003-07-01 22:21:20 +00:00
jkeiser%netscape.com 78ba276e17 Make NOSCRIPT show up normally when script disabled (bug 77296), r=bzbarsky@mit.edu, sr=dbaron@dbaron.org 2003-06-26 06:10:03 +00:00
bzbarsky%mit.edu a60cd171ee Fix CDATA tokenization in view-source mode end the CDATA section on "]>", not
']' (as it needs to do for normal parsing mode).  Bug 209485, r=harishd, sr=jst
2003-06-25 01:29:21 +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
alecf%flett.org 2751c6b097 fix for bug 206379:
- combine nsICharsetConverterManager2 and nsICharsetConverterManager
- get rid of nsIAtom in most of the methods
- provide versions of getUnicodeDecoder/Encoder which don't do alias resolution
- change all charset types to ASCII strings
- clean up some other i18n APIs which could be simplified
- fix all consumers of all changed i18n interfaces
r=jshin, smontagu
rs=sfraser
2003-06-11 18:16:03 +00:00
dbaron%dbaron.org f88fdaee47 P should not be allowed to contain TABLE in standards mode. Patch by Mats Palmgren <mats.palmgren@bredband.net>. r=harishd sr=dbaron b=91927 2003-06-11 04:24:25 +00:00
dbaron%dbaron.org 08724b5166 Make tag lists more maintainable by using sizeof to determine the array length. b=208846 r=harishd sr=jst 2003-06-10 22:12:28 +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
seawood%netscape.com b28ce0a530 Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev 2003-06-10 20:12:33 +00:00
heikki%netscape.com 5d9dd23bf0 Bug 207904, doctype with name only got destroyed by our doctype handling, r=harishd, sr=jst. 2003-06-03 17:47:10 +00:00
timeless%mozdev.org 412f76b934 Bug 203391 InPlaceConvertLineEndings(class nsAString &)' defined but not used
r=harishd sr=heikki
2003-05-30 22:36:47 +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
dwitte%stanford.edu 270d3909ca bug 100649: Length() being used where IsEmpty() is meant
treewide changes to convert incorrect usages of string.Length() to string.IsEmpty().

thanks to afatecha@idea.com.py (Ariel Fatecha) for the patch. r=dwitte, sr=jst.

got the ok from Asa to land into a closed tree.
2003-05-23 21:34:47 +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
dbaron%dbaron.org 2c5817a3a2 Fix unicode to entity conversion in case where we have duplicate names for a unicode codepoint to prefer the correct name. Partly based on patch by brade@netscape.com. b=205110 r=alecf sr=heikki a=brendan 2003-05-20 20:53:21 +00:00
bzbarsky%mit.edu fe536ead5e Put line number ids on all the <pre> blocks that we create; this should make it
easier to hook up a performant "go to line" UI.  Bug 104383, r+sr=rbs, a=asa
2003-05-17 16:15:30 +00:00
akkana%netscape.com 636be2b9df Add a missing semicolon 2003-05-16 20:59:20 +00:00
akkana%netscape.com 6ca136ed77 If the serializer test fails, print the url of some helpful doc. r=mcafee sr=alecf a=sspitzer 2003-05-16 18:19:44 +00:00
bryner%netscape.com bbddef3e3a Remove some obsolete code from htmlparser. Bug 205730, r=harishd, sr=jst, a=sspitzer. 2003-05-16 00:59:04 +00:00