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

3688 Коммитов

Автор SHA1 Сообщение Дата
jst%mozilla.jstenback.com ca7714fb46 Fixing bug 224952. Making uri attributes default to empty string in stead of null for compatibility with IE. r=caillon@aillon.org, sr=bzbarsky@mit.edu, a=dbaron@dbaron.org 2003-11-21 00:59:15 +00:00
jst%mozilla.jstenback.com 4183787fa9 Fixing bug 225837. DeCOMtaminating nsIContent more, making GetTag() return a weak raw pointer, and renaming GetTag() to Tag(), and making GetRangeList() return an const nsVoidArray*, and changing GetContentID() to return the id, and renaming it to ContentID(). r=jonas@sicking.cc, sr=bryner@brianryner.com. 2003-11-19 01:20:56 +00:00
caillon%returnzero.com d528e57fce Followup to 225411
XHTML as XML documents need to support the document.xml* DOM 3 attributes
r+sr=peterv
2003-11-18 22:07:53 +00:00
bzbarsky%mit.edu a31bf95054 Fix serialization of inherit/initial nsCSSRect values. Bug 225841, r+sr=dbaron 2003-11-16 02:06:38 +00:00
bzbarsky%mit.edu a491833633 -moz-initial, not initial. Use CSS keyword table to prevent this happening
again.  Bug 120903, r+sr=dbaron
2003-11-16 01:12:50 +00:00
bryner%brianryner.com c716caa0c8 fix debug build bustage 2003-11-15 08:46:23 +00:00
bryner%brianryner.com 823f2f2aa7 deCOMtaminate nsINodeInfo and nsINodeInfoManager. See bug 225060 for details. r=sicking, sr=jst. 2003-11-15 05:27:37 +00:00
caillon%returnzero.com 9f20544ef1 Bug 225411; updating DOM 3 Core's Document.xml*
r+sr=jst
2003-11-14 11:10:11 +00:00
dbaron%dbaron.org 748a5e9749 Make aErrorCode values nsresult, since that's what they are. Remove obsolete handling of -1 for EOF and now-obsolete TODO list. b=224254 r+sr=bzbarsky 2003-11-13 22:48:05 +00:00
bzbarsky%mit.edu ee35577098 Treat bogus "type" values as "text" consistently. Bug 225103, r+sr=peterv 2003-11-13 05:16:06 +00:00
bzbarsky%mit.edu 8b2634cc60 Make cloneNode() copy the current value and checked properties for inputs. Bug
197294, r+sr=jst
2003-11-10 23:46:29 +00:00
hpradhan%hotpop.com 03e43cda2b bug 218297 : disabled property of input elements is not stored in history
r=jkeiser sr=jst
2003-11-10 05:52:29 +00:00
sicking%bigfoot.com 9b7d790af6 Fix build bustage by taking the bug 224331 into account. 2003-11-07 17:07:03 +00:00
sicking%bigfoot.com 2818f84578 Bug 213445: Treat not having mParent *or* not having mDocument as not being in the documnt to fix radiobuttons created through sinks other then the html-sink.
r=bryner sr=jst
2003-11-07 16:53:46 +00:00
bryner%brianryner.com 78bc7f6016 Inline nsIContent::GetParent() and GetDocument(). Also, remove unused return value on SetParent(). Bug 224331, r=sicking, sr=jst. 2003-11-07 09:47:23 +00:00
bzbarsky%mit.edu bdab240b09 Strip quotes from inside col/row-specs (where there should be no quotes to
start with, but some sites just code like that).  Bug 224598, patch by
mats.palmgren@bredband.net (Mats Palmgren), r+sr=bzbarsky
2003-11-07 04:26:30 +00:00
timeless%mozdev.org b6e5297ccf Bug 224901 oom crash in MakeContentObject for form controls
r=dbaron sr=dbaron
2003-11-06 23:10:45 +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 f61bfe9a35 Fix parsing regression bug 224737. Patch by mats.palmgren@bredband.net (Mats
Palmgren), r+sr=bzbarsky
2003-11-05 04:51:17 +00:00
dwitte%stanford.edu 795e721f60 removing redundant variable as a result of my previous checkin. 2003-11-04 23:15:22 +00:00
dwitte%stanford.edu 7b568b6327 remove support for dom.disable_cookie_{get,set} prefs.
b=223782, r=jst,caillon, sr=alecf,darin (yes really, four reviews).
2003-11-04 22:44:51 +00:00
bzbarsky%mit.edu 35a384e555 Correctly ignore adjacent type selectors with no combinator. Bug 224188,
r+sr=dbaron
2003-11-04 03:16:10 +00:00
bzbarsky%mit.edu 0fc82ad629 Refactor child element handling such that we don't duplicate event-firing code
all over (now we just do it in nsGenericElement and nsXULElement).  Bug 223349,
r=sicking, sr=peterv
2003-11-04 02:15:28 +00:00
peter%propagandism.org 37a61782f2 Restoring fix for bug 224231, didn't affect btek's Tp. 2003-11-02 15:16:24 +00:00
peter%propagandism.org c782f4ee1c Back out a part of the fix for bug 224231 to see if it affects btek's Tp. 2003-11-02 13:51:42 +00:00
uid502 91e2869af8 Bug 212366. Make '-moz-opacity' behave like CSS3 opacity: it does not inherit by default, and it composites the element and all its children as a group. r+sr=dbaron 2003-11-01 22:34:59 +00:00
peter%propagandism.org f9f591a28f Fix for bug 224231 (Need AppendASCIItoUTF16). r=jst, sr=dbaron. 2003-11-01 10:57:41 +00:00
uid502 d81619b4fa Bug 190735. DeCOMtaminate nsIFrame::GetFrameType. r+sr=bzbarsky 2003-10-31 20:19:18 +00:00
peter%propagandism.org e9bdf0c636 Fix for bug 126765 (Change NormalizeAttrString to GetAttrWithName). Original fix by Daniel Bratell and sicking, r=sicking, sr=jst. 2003-10-30 13:47:29 +00:00
dbaron%dbaron.org 76a2fc58c8 Backing out previous checkin. 2003-10-30 05:11:21 +00:00
dbaron%dbaron.org 2da0107bd9 Rearrange inlining to fix codesize penalty of previous checkin. b=167262 r=bryner 2003-10-30 04:34:01 +00:00
dbaron%dbaron.org f9e4a941cf Attempt to fix Windows bustage. b=167262 2003-10-30 03:34:58 +00:00
caillon%returnzero.com 150adb2e29 Make content grab the cached security manager off of nsContentUtils rather than ask the service manager to find one.
Bug 223192; r+sr=bzbarsky
2003-10-30 03:01:25 +00:00
dwitte%stanford.edu 359f90d96a remove nsCCookieManager.h in favor of nsNetCID.h.
b=221886, r+sr=darin
2003-10-30 02:59:31 +00:00
bzbarsky%mit.edu f3ef614ee5 Remove no-longer-used nav4algorithm code and corresponding debug code. Bug
223155, r+sr=dbaron
2003-10-30 02:19:15 +00:00
bzbarsky%mit.edu 33ca8d21d2 Make attr() parsing have better error reporting and bail on attr(*|foo). Bug
223746, r+sr=dbaron
2003-10-30 02:06:12 +00:00
dbaron%dbaron.org 5aa99c8506 Add missing null terminator to fix crash. b=224039 Patch from Adam James Fitzpatrick <ajfitzpatrick@lurking.org>. r+sr=bzbarsky,dbaron 2003-10-30 01:53:53 +00:00
dbaron%dbaron.org a0d72c9110 Make play-during a true shorthand so it gets parsed correctly after the nsCSSDeclaration storage rewrite. b=223718 r+sr=bzbarsky 2003-10-30 01:51:00 +00:00
dbaron%dbaron.org e29417ff7f Store the original string for URL values so that composer and CSSOM do not make relative URLs absolute. b=167262 r+sr=bzbarsky 2003-10-30 01:45:37 +00:00
dbaron%dbaron.org ec0bfea4ea Implement element.style for XUL elements. Fully fault XUL attributes when style attribute is modified, and ensure that string and style rule versions of style attribute stay in sync. (HTML elements only store the latter.) b=7639 r+sr=bzbarsky 2003-10-30 01:40:33 +00:00
bryner%brianryner.com 605cc06382 deCOMtaminate nsIDocument by changing methods to use return value instead of out-params, eliminating unused nsresult return values, moving some members to nsIDocument and inlining the getters/setters. Bug 222134, r=bzbarsky, sr=jst. 2003-10-22 06:09:48 +00:00
caillon%returnzero.com 66caced69a Re-land patch for bug 83536, merging principal objects.
Also includes fixes from bug 216041.
r=bzbarsky
sr=jst
2003-10-21 22:11:49 +00:00
bzbarsky%mit.edu f3618c93e2 Treat BeginUpdate/EndUpdate pairs as a batch, instead of flushing tags on any
BeginUpdate call.  Bug 222864, r=peterv, sr=jst
2003-10-21 16:23:27 +00:00
bzbarsky%mit.edu 44da342b5c Fix handling of id attrs to not assume that they are named "id" as much. Bug
208744, r=caillon, sr=peterv
2003-10-21 16:16:42 +00:00
varga%nixcorp.com 199cf9bc76 Changing my email address. 2003-10-21 15:35:57 +00:00
bzbarsky%mit.edu f384166efa Create a mozAutoDocUpdate class to handle automatically calling
BeginUpdate/EndUpdate on documents.  Use this in a bunch of places to make sure
that EndUpdate is called in the face of early returns.  Bug 131775, also fixes
bug 211022, r=caillon, sr=jst
2003-10-16 18:14:25 +00:00
bzbarsky%mit.edu 7e19a9767b Add pref for the default :active styling. Bug 142163, patch by
mats.palmgren@bredband.net (Mats Palmgren), r=bzbarsky/sr=dbaron on the
layout/xpfe parts of the patch, r=glazou/sr=bzbarsky on the editor part,
moa=neil on the prefwindow changes.
2003-10-15 01:56:12 +00:00
dbaron%dbaron.org b37db7c94f Forgot to address review comment. b=221531 r+sr=bzbarsky 2003-10-14 21:06:58 +00:00
dbaron%dbaron.org 56fc1c9dc1 Miscellaneous cleanup of selector matching code:
* remove extra |if| around loop, and convert it from |while| to |for|.
 * remove extra test for |result|
 * rename |curdata| -> |prevdata| and |newdata| -> |data|.
 * use |IsContentOfType| instead of |GetTag|
b=221531  r+sr=bzbarsky
2003-10-13 21:54:33 +00:00
bzbarsky%mit.edu 90bce6cd8e Make sure to notify document observers even about content that gets added to
the document before StartLayout().  Block those notifications from getting
passed on to the frame constructor before StartLayout(), though.  Bug 220930,
r=peterv, sr=jst
2003-10-11 00:27:45 +00:00
dbaron%dbaron.org 512f12a16d Bustage fixes for bug 221316 no longer needed thanks to bug 221525. 2003-10-07 23:21:50 +00:00
cls%seawood.org d23f8f9732 what dbaron said 2003-10-07 22:43:54 +00:00
dbaron%dbaron.org cf9b189a19 Fix HP-UX and AIX bustage. b=221316 2003-10-07 22:15:26 +00:00
bzbarsky%mit.edu 641223fdd9 Make sure that sheets in a document always know their URL. Bug 218031, r+sr=dbaron 2003-10-06 13:24:55 +00:00
hpradhan%hotpop.com f237380c43 still bug 218837 : backing out all the backouts. they did not work. 2003-10-05 11:28:06 +00:00
hpradhan%hotpop.com b83defcb1a One final attempt to fix Tp regression from bug 218837 2003-10-05 10:20:56 +00:00
hpradhan%hotpop.com 7fa8ba9c5b backing out part of bug 218837. hoping to fix Tp regression 2003-10-05 09:21:41 +00:00
hpradhan%hotpop.com ad3f361692 bug 218837 : Refactor some code duplicated in the xml and html
content sinks into a base class r=sicking sr=peterv
2003-10-05 07:29:50 +00:00
bzbarsky%mit.edu a972a3e501 Make presshell batch processing of style changes (using BeginUpdate/EndUpdate
notifications).  Bug 200931, r=peterv, sr=jst
2003-10-02 21:29:40 +00:00
dbaron%dbaron.org 5cce92dc2a Make URIs in the style system nsIURI pointers instead of strings. b=113173 r+sr=bzbarsky 2003-10-01 22:53:56 +00:00
hpradhan%hotpop.com d1d1c6b431 Bug 170985 follow up : get rid of some unused code r=peterv sr=jst 2003-09-28 08:52:31 +00:00
bzbarsky%mit.edu 294d769aed Make imagemaps work again. Bug 220519, r+sr=dbaron 2003-09-28 06:28:39 +00:00
stephend%netscape.com f9e026a7da Trivial grammatical comment change (from 'is that when it recurs' to 'in that when it recurs'... r/sr=bz 2003-09-28 06:20:24 +00:00
dbaron%dbaron.org 8ae7b198b9 Spelling too. b=220464 2003-09-28 05:39:03 +00:00
dbaron%dbaron.org 43995a65d9 Fix 80th column violations in code that I just reindented. b=220464 2003-09-28 05:35:25 +00:00
dbaron%dbaron.org 80185d0dbb Eliminate excess variables and their baroque (and broken, thanks to the previous checkin) reference counting. b=220464 r+sr=bzbarsky 2003-09-28 05:30:09 +00:00
jst%mozilla.jstenback.com 5037b2a4a2 Fixing bug 215981. DeCOMtaminating nsIContent and nsIDocument some, and also some minor changes to other related interfaces. r=caillon@aillon.org, sr=peterv@propagandism.org. 2003-09-27 04:18:26 +00:00
bsmedberg%covad.net 9b55dce504 Bug 184686 - convert HTMLFormElement to use nsTHashtable
r=jkeiser sr=dbaron
2003-09-26 19:26:17 +00:00
bzbarsky%mit.edu 02841a0db4 Make charset-detection code work with just a BOM (no @charset rule) in the
sheet.  Bug 218915, r=smontagu, sr=dbaron
2003-09-25 05:57:28 +00:00
dbaron%dbaron.org 7861160d62 Fix regression of scrolling attribute and overflow property on frame and iframe elements. Make the two interact correctly according to CSS cascading rules. b=220195 r+sr=bzbarsky 2003-09-25 03:55:04 +00:00
hpradhan%hotpop.com 45786f132b Bug 170985 : fix for gcc3.4 bustage 2003-09-24 07:30:16 +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
bzbarsky%mit.edu 622947d710 Make DOM CSS declarations smaller by mRefCnt, since they are refcounted
together with their DOM rules (except for inline style).  Bug 215735,
r+sr=dbaron
2003-09-24 03:34:27 +00:00
dbaron%dbaron.org 8aa5fdd615 Fix --disable-xul bustage. b=219058 2003-09-22 23:52:16 +00:00
dbaron%dbaron.org 14ff1fa0fe Accept :-moz-tree-* pseudo elements with a single colon in them. b=219058 r+sr=bzbarsky 2003-09-21 05:21:40 +00:00
jst%mozilla.jstenback.com 751bf28923 Fixing bug 217000. Make sure the content sink gets a docshell even if we don't have a script global object (fixed document.write in some javascript: [i]frame cases). r=caillon@aillon.org, sr=peterv@propagandism.org 2003-09-19 20:00:24 +00:00
dbaron%dbaron.org 506e1cf947 Don't create style rule DOM wrappers for inline style, since we are not supposed to, and ours crash when used on inline style. b=218222 r+sr=bzbarsky 2003-09-13 19:18:52 +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
dbaron%dbaron.org 2e673b5344 Remove unneeded null checks in attribute mapping functions. r+sr=bzbarsky b=127269 2003-09-11 01:34:29 +00:00
bryner%brianryner.com 2fcdb4e2d5 Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan. 2003-09-07 21:50:21 +00:00
caillon%returnzero.com f8e8aed8a7 Backing out the patch to bug 83536.
I will reland this when 1.6a re-opens.
r+sr=jst@netscape.com
a=chofmann
2003-08-22 03:06:53 +00:00
dbaron%dbaron.org 98a72bf009 Fix attribute mapping for image inputs by always mapping the attributes that work on image inputs. b=214077 r+sr=bzbarsky a=brendan 2003-08-11 21:53:24 +00:00
bzbarsky%mit.edu 59d4caaee1 Don't use uninitialiazed hashtable. Bug 214941, r=bsmedberg, sr=peterv, a=dveditz 2003-08-11 18:16:48 +00:00
jag%tty.nl a49eb883ac Bug 212793: crash when following link when a file upload box is on the screen with XSLT generated content. r=Pike, sr=jst, a=choffman 2003-08-07 18:58:30 +00:00
roc+%cs.cmu.edu 0b8cd870e1 Bug 190735. nsIFrame deCOMtamination, r+rs=dbaron 2003-08-06 03:07:12 +00:00
brendan%mozilla.org b7cdb7debb Add shared DHashTableOps for [const] char *key use-cases, clean up dhash API abusages (214839, r=dougt, sr=dbaron). 2003-08-05 20:09:21 +00:00
axel%pike.org d21a2d98d9 bugs 151002, 212892, CDATA should be eTEXT, add nsIContent::ePROCESSING_INSTRUCTION and nsITextContent::AppendTextTo for XSLT perf 2003-08-01 11:44:17 +00:00
bzbarsky%mit.edu f43d2fc1f1 Don't override earlier attrs on <body> with later ones from a separate <body>
tag (we merge all the attrs onto the single <body> node; oh, the insanity!)
Bug 214577, r+sr=peterv
2003-07-31 14:07:17 +00:00
bzbarsky%mit.edu d9a8191591 Fix issues with ScriptAvailable() not firing for some scripts. Bug 214081, r+sr=jst 2003-07-31 01:28:16 +00:00
bzbarsky%mit.edu 9aa115b961 Fix border-side parsing to not mess up the color. Bug 214487, r+sr=dbaron 2003-07-30 23:45:34 +00:00
caillon%returnzero.com a9e2dece76 Bug 38370.
Allow color of an HR element to be changed.
Make HR be a block element in quirks mode instead of the hacky inline we were previously using (standards mode already had it as a block).
Patch by Ian Hickson <ian@hixie.ch> with minor modifications by me.
r+sr=bzbarsky@mit.edu
2003-07-30 08:13:07 +00:00
bzbarsky%mit.edu 9f917de2e8 Fix crash when an event handler removes the submitting element from the
document.  Bug 194582, patch by mats.palmgren@bredband.net (Mats Palmgren),
r=jkeiser, sr=bzbarsky
2003-07-29 22:59:37 +00:00
bzbarsky%mit.edu 74f3b1e808 Fixing more windows bustage 2003-07-29 01:15:55 +00:00
caillon%returnzero.com 22e0eb6851 Introduce a weak ptr here to avoid extra addref/releases in this loop. r+sr=bzbarsky@mit.edu on irc. 2003-07-28 22:32:31 +00:00
bzbarsky%mit.edu 66da7e571d Left this out. Bug 213823, r=caillon, sr=build-bustage 2003-07-28 22:23:06 +00:00
bzbarsky%mit.edu e2dae4d2f9 DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823,
r+sr=jst
2003-07-28 21:17:26 +00:00
bzbarsky%mit.edu 93aa1eeb86 DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823, r+sr=jst 2003-07-28 21:09:56 +00:00
bsmedberg%covad.net 01ee486155 Fix assertion from bug 211470, rs=bz 2003-07-28 01:12:36 +00:00
bsmedberg%covad.net 3d0c40f387 Forgot a review nit from bug 211470. 2003-07-27 15:46:52 +00:00
bsmedberg%covad.net 279d0db1f7 Bug 211470 - need a common nsURIHashKey r=darin sr=bz 2003-07-27 15:20:11 +00:00