Commit Graph

8280 Commits

Author SHA1 Message Date
jst%mozilla.jstenback.com
eda3b8db64 Fixing mac bustage. 2003-11-19 02:02:56 +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
sicking%bigfoot.com
f2f76f28e7 Bug 223012: Make xul fully case sensitive.
r=bryner sr=jst
2003-11-18 18:20:03 +00:00
dbaron%dbaron.org
fa64c454c5 Scale fixed line-heights when the minimum font size pref kicks in. b=158868 r+sr=bzbarsky 2003-11-18 05:53:22 +00:00
jst%mozilla.jstenback.com
4567068ce8 Re-landing fix related to regression bug 147811. Make declaring on* functions trigger the event listener registration code so that event handlers get registerd by simply declaring a global (or whatever the scope) function with the name of a event handler. r=caillon@aillon.org, sr=brendan@mozilla.org. 2003-11-18 01:59:51 +00:00
bzbarsky%mit.edu
8ec9126261 Fix build bustage. I wonder why my gcc didn't catch this... 2003-11-17 21:41:13 +00:00
bzbarsky%mit.edu
bfd6b88a89 Convert URL stuff in XBL to use nsIURI instead of strings. Bug 224765, r+sr=bryner 2003-11-17 21:03:32 +00:00
dbaron%dbaron.org
0851395ebe Remove unneeded chromeOverride variable. b=225936 r+sr=bzbarsky 2003-11-17 04:10:55 +00:00
bzbarsky%mit.edu
852fbd43f7 Be a little smarter about handling the mess that is broken images. Only look
for a frame if we've had a frame at some point in the past; this should keep us
from calling GetPrimaryFrameFor quite so much during pageload.  Bug 225848,
r+sr=jst
2003-11-16 07:34:25 +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
74ca0ad36b No need to keep an owning reference to an element's NodeInfo if we already have an owning reference to the element. Bug 225825, r=bz, sr=jst. 2003-11-15 21:29:07 +00:00
alex.fritze%crocodile-clips.com
0134fc2c4a Fix style attribute, broken by bug #7639 checkin. (SVG only - not switched on in default builds) 2003-11-15 11:08:07 +00:00
bryner%brianryner.com
734ba628fe it's been a long day 2003-11-15 09:20:33 +00:00
bryner%brianryner.com
5de6eefad3 Fixing some SVG bustage 2003-11-15 08:53:35 +00:00
bryner%brianryner.com
c716caa0c8 fix debug build bustage 2003-11-15 08:46:23 +00:00
bryner%brianryner.com
b556210cb0 Fixing orange (hopefully). Don't dereference a pointer in the same call where it's passed as getter_AddRefs, because that will null it out first. For now, I'm keeping a strong reference to the node info manager at these call sites since it's not clear to me that it's guaranteed to stay around after the NodeInfo is released. 2003-11-15 08:16: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
bzbarsky%mit.edu
d45f5c0447 Don't reframe when "float: left" changes to "float: right"; just reflow. Bug
55967, r+sr=dbaron
2003-11-14 22:55:46 +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
3c78a4048f Fix bug 225565 by looking at the actual control type. r+sr=peterv 2003-11-13 18:38:41 +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
jst%mozilla.jstenback.com
dc9e270b8d Silly whitespace cleanup. 2003-11-13 04:15:25 +00:00
jshin%mailaps.org
dc195dfd03 bug 222346 : streamline JS script loading code (deleegate charset alias resolution to GetUnicodeDecoder()) (r=smontagu, sr=bz) 2003-11-12 19:51:12 +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
6fe196e1f5 bug 223108 : Syntax error when loading non-existant external javascript file
r+sr=bzbarsky
2003-11-10 05:53:48 +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
timeless%mozdev.org
02325c6f3f Bug 225120 Remove compiler warnings
patch by arne.anka@stupido.com r=dbaron sr=bz
2003-11-09 22:51:28 +00:00
bzbarsky%mit.edu
293e392517 document.config has become document.domConfig to prevent backwards-compat
issues.  Bug 222733, r+sr=jst
2003-11-08 19:30:30 +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
sicking%bigfoot.com
7208475e1f Bug 224856: Fix nsGenericDOMDataNode::AppendTextTo by not relying on mText.Get1b() being nullterminated
r=peterv sr=jst
2003-11-07 16:46:15 +00:00
bryner%brianryner.com
1c6ea034f7 Attempting to fix Windows bustage 2003-11-07 10:16:36 +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
bzbarsky%mit.edu
6bdc5f8b17 Fix crash bug 118685. Patch by mats.palmgren@bredband.net (Mats Palmgren),
r=bryner, sr=dbaron
2003-11-07 03:35:05 +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
bzbarsky%mit.edu
f81481e074 Hold a strong ref to the node we plan to remove, since we want to use it after
removing it from the tree.  Bug 221494, r+sr=jst
2003-11-05 17:54:46 +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
bzbarsky%mit.edu
5252fca867 Fix crash when frameset is wiped out before onload events on all subframes have
fired.  Bug 212563, r+sr=jst
2003-11-04 02:01:23 +00:00
timeless%mozdev.org
90d07db2d1 Bug 224018 unused variables gDumpFileNameCnt, gDumpLOFileNameCnt in nsDocumentViewer.cpp
r=jst sr=jst
2003-11-03 13:17:00 +00:00
peter%propagandism.org
84dc28afc8 Additional fix for bug 224313 (). 2003-11-03 09:18:29 +00:00
scott%scott-macgregor.org
41809ab2b4 Bug #224313 --> crashes when clicking on mail/news accounts. Patch by Peter van der Beken.
sr=dbaron
2003-11-03 06:49:02 +00:00
dbaron%dbaron.org
c25969ae98 Clamp -moz-opacity to the range [0.0,1.0]. b=224478 r+sr=roc 2003-11-02 22:40:43 +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
peter%propagandism.org
284bcfd09e Fix for bug 223751 (documentType's nodeValue should be null). r/sr=jst. 2003-10-30 12:24:28 +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
caillon%returnzero.com
528a54842a Ensure that content can always grab a security manager and namespace manager.
Bug 223373; r+sr=bzbarsky
2003-10-30 02:53:08 +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
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
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
timeless%mozdev.org
98152b3898 Bug 124218 if kCSSRawKeywords gets out of sync with eCSSKeyword_COUNT nsCSSKeywords::AddRefTable might crash in DEBUG code
r=bz sr=bz
2003-10-30 01:59:15 +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
7ab366ef3d Don't set mCurrentFocus to null after firing a blur if the blur handler focused something. Bug 147927, r=blizzard, sr=jst, a=sspitzer 2003-10-27 19:52:49 +00:00
sicking%bigfoot.com
b36f724982 Bug 222667: Add newlines between root-nodes in serializer rather then encoder.
r=peterv sr=jst
2003-10-23 22:24:21 +00:00
timeless%mozdev.org
0c124554b7 MOZ_TIMELINE - Bug 222134 2003-10-23 10:23:30 +00:00
caillon%returnzero.com
712c1fa5fa Fixing bustage -- bryner forgot to update these files
Bug 222134
2003-10-22 06:41:30 +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
peter%propagandism.org
856700ce80 Additional fix for bug 56764 (Document appendChild, insertBefore fail to throw HIERARCHY_REQUEST_ERR when inserting Text Nodes). r=sicking, sr=jst. 2003-10-21 19:33:31 +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
peter%propagandism.org
b490edf06a Fix for bug 56764 (Document appendChild, insertBefore fail to throw HIERARCHY_REQUEST_ERR when inserting Text Nodes). r=sicking, sr=jst. 2003-10-21 12:27:00 +00:00
bzbarsky%mit.edu
e6c035f551 Make XML prettyprinting work again. Bug 222539, r=sicking, sr=peterv 2003-10-20 19:33:46 +00:00
uid502
d521946094 Bug 165149. More cleanup. Make nsStyleContext::GetPseudoType return a weak pointer. Also remove unnecessary arguments to nsHTMLContainerFrame::CreateViewForFrame. r+sr=bzbarsky 2003-10-17 02:38:37 +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
af8ee5b35d Adding support for DOM3 DOMStringList and DOMNameList. Bug 217159,
implementation by peterv, classinfo changes by me, r/sr=me on peterv's changes,
r/sr=peterv on my changes, r=caillon on the whole thing, sr=jst
2003-10-16 00:44:20 +00:00
sicking%bigfoot.com
e97fb73528 Bug 199613: Don't put textnodes in the root of the document when parsing XML and XUL since the DOM doesn't allow that.
r=peterv sr=jst
2003-10-15 20:10:47 +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
dbaron%dbaron.org
3de4dc91e0 Use the correct term "float" instead of "floater". b=218654 r+sr=bzbarsky 2003-10-13 21:51:02 +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
neil%parkwaycc.co.uk
a4ef7ac4a5 Bug 161452 Tree content and builder views may need to recheck empty status after children are removed based on patch by kyle yuan r=varga sr=bryner 2003-10-10 08:39:35 +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
neil%parkwaycc.co.uk
c06f3e743b Bug 221288 XUL tree builder abuses tree batching r=jan sr=alecf 2003-10-07 15:49:50 +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
bzbarsky%mit.edu
6a4a07fada Better output on null URIs. 2003-10-06 02:56:27 +00:00
bzbarsky%mit.edu
d15e9d5a22 Fix debug DumpRegressionData method to not crash on null uris for things like
mBinding, mBackgroundImage, etc
2003-10-06 02:16:20 +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
bzbarsky%mit.edu
ef87236cea Useless test for unsigned >= 0. Bug 221292, patch by
mats.palmgren@bredband.net (Mats Palmgren), r+sr=bzbarsky
2003-10-05 23:46:55 +00:00
bzbarsky%mit.edu
b85d962eba Fix bogus loop test that would never let the loop terminate. Bug 221289, patch
by tenthumbs@cybernex.net, r+sr=bzbarsky
2003-10-05 18:12:14 +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
29271336af bug 218837 : bustage fix 2003-10-05 08:09:28 +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
dbaron%dbaron.org
96fc11cf66 Add empty constructor to fix Sun compiler bustage. b=221187 Patch from Harshal Pradhan <keeda@hotpop.com>. r+sr=dbaron 2003-10-04 16:25:55 +00:00
dbaron%dbaron.org
0a21971808 Missed CalcDifference changes in previous patch. r+sr=bzbarsky b=113173 2003-10-04 06:36:33 +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
bzbarsky%mit.edu
0e49a39f6a Serialize attributes in the same order as they were parsed (and the opposite of
the order in which they were stored, which changed in bug 213347).

Bug 218919, r=sicking, sr=jst
2003-10-02 20:51:09 +00:00
dbaron%dbaron.org
71f6aee8cf Fix DEBUG bustage. b=113173 2003-10-02 02:58: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
ded5666bf0 Bug 217972 : fix warning 2003-09-28 08:54:51 +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
bzbarsky%mit.edu
fff80d5874 Fix crash in XUL sort service -- unsigned ints are never less than 0... Bug
220516, r+sr=dbaron
2003-09-28 06:05:08 +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
bryner%brianryner.com
82310bc4ec If we're in the middle of printing when window.close() is called, then defer closing the window until printing completes. This avoids tearing down the presentation while the print engine is still using it. Bug 172921, r=jkeiser, sr=dbaron. 2003-09-26 21:45:15 +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
bzbarsky%mit.edu
24ea48e040 Fix GetAttributes() in XUL to work right. Bug 169825, r=sicking, sr=peterv 2003-09-25 03:51:12 +00:00
bzbarsky%mit.edu
3ebb71a449 Make userContent.css come after the prefs sheet in the user sheet list (so that
rules in userContent.css can override prefs).  Bug 215668, r+sr=dbaron
2003-09-24 19:03:06 +00:00
bzbarsky%mit.edu
9d984dc99a Fix GetID to not try to get attrs in unknown namespaces. Bug 220027, r=peterv, sr=jst 2003-09-24 13:22:09 +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
peter%propagandism.org
574976cd66 Fix for bug 85798 (INUSE_ATTRIBUTE_ERR expected when using setNamedItem()). r=sicking, sr=jst.
Fix for bug 127205 (setNamedItemNS() in NamedNodeMap  doesn't set the item properly). r=sicking, sr=jst.
2003-09-23 13:46:20 +00:00
peter%propagandism.org
d2b0b52093 Fix for bug 219819 (.nodeValue shouldn't throw NO_MODIFICATION_ALLOWED_ERR for documents and elements). r/sr=jst.
Fix for bug 206416 (tagName property of element created with xmlDocument.createElementNS should contain the qualified name but contains only the local name). r=bz, sr=jst.
2003-09-23 13:45:48 +00:00
peter%propagandism.org
9269335d2c Fix for bug 219819 (.nodeValue shouldn't throw NO_MODIFICATION_ALLOWED_ERR for documents and elements). r/sr=jst. 2003-09-23 13:45:02 +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
hpradhan%hotpop.com
9cc206ea7b Bug 217972 : nsRDFDOMNodeList cleanup r=caillon sr=jst 2003-09-20 06:15:54 +00:00
hpradhan%hotpop.com
72c3e2054d Bug 217971: kEventHandlerMap in nsXULElement.cpp doesn't need to store iid pointers r+sr=bryner 2003-09-20 06:09:10 +00:00
hpradhan%hotpop.com
07501604af Bug 218938: document.lastModified returns current time for local file 2003-09-20 05:57:19 +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
mkaply%us.ibm.com
01782c41bc #219573
r=peterv, sr=bzbarsky
Fix from Josh Aas - remove unused variables in nsSelection.cpp
2003-09-18 18:58:14 +00:00
peter%propagandism.org
3f116defdd Add blank line at end of file. 2003-09-17 19:19:53 +00:00
dbaron%dbaron.org
c49da48965 Change our implementation of 'overflow: hidden' to be more compatible with other browsers, as CSS 2.1 now allows. b=69355 r+sr=bzbarsky 2003-09-16 22:09:18 +00:00
brendan%mozilla.org
d974bdbfa5 Fix venkman-induced GC-hazard crash bug: keep the nsIXPConnectJSObjectHolder for scriptObject alive across the entire extent of the scriptObject variable (171949, r=peterv, sr=bryner). 2003-09-15 21:57:31 +00:00
bryner%brianryner.com
00aafbfddd Use typeof() to implement NS_STDCALL_FUNCPROTO so that pointer-to-member types using stdcall work on mingw gcc. Bug 203137, r=cls, sr=dbaron. 2003-09-15 04:20:20 +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
bsmedberg%covad.net
0568e675fc Bug 179834. Separate application resources and GRE resources. r=darin sr=dougt 2003-09-13 17:55:56 +00:00
peter%propagandism.org
997e1a10df Fix memory leak from fix for bug 206321 (Share event listeners between XBL event handlers). r=jkeiser, sr=bryner. 2003-09-13 16:47:00 +00:00
peter%propagandism.org
bde589ba46 Fix for bug 206321 (Share event listeners between XBL event handlers). r=jkeiser, sr=bryner. 2003-09-11 13:49:58 +00:00
peter%propagandism.org
453b136450 Fix for bug 206321 (Share event listeners between XBL event handlers).r=jkeiser, sr=bryner. 2003-09-11 12:25:06 +00:00
peter%propagandism.org
47b9d983ff Fix for bug 206321 (Share event listeners between XBL event handlers). r=jkeiser, sr=bryner. 2003-09-11 12:19:14 +00:00
bryner%brianryner.com
00b3a1d601 Instead of repeating the same code for each event and listener interface, have nsEventListenerManager::HandleEvent use a table containing the event, interface and method, and array bits. This cuts out a _lot_ of redundant code. The checkin also adds the NS_IMETHOD_CALLBACK #define, which can be used to declare pointer-to-member types using stdcall. Bug 217124, r=jst, sr=dbaron. 2003-09-11 06:31:58 +00:00
timeless%mozdev.org
2fe1675b20 Bug 211493 nsXBLProtoImplMethod::CompileMember doesn't check rv from aContext->CompileFunction. Crash [@ JS_CloneFunctionObject]
r=bryner sr=bz
2003-09-11 04:10:20 +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
timeless%mozdev.org
fb71c773cf Bug 216721 Make mAttachedQueue a Stack
r=bryner sr=bz
2003-09-11 02:17:11 +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
pinkerton%netscape.com
ffae5552f9 check if there is an active focus controller before sending the blur
(r=pink/sr=bryner/a=brendan) bug 198153
2003-09-09 21:09:22 +00:00
dbaron%dbaron.org
680cc9d0d8 Fix build on gcc 3.4 by removing extra semicolons (bug 218551). a=brendan 2003-09-08 19:35:05 +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
mkaply%us.ibm.com
24c9c52092 Bug #212821
r=mkaply, sr=roc, a=mkaply
Allows show all pages in print preview
2003-09-05 20:09:25 +00:00
bryner%brianryner.com
ae5cfff4d7 Fix bug 215771 (form inputs not editable after alert dialog dismissed). r=jkeiser, sr=roc, a=asa. 2003-08-29 21:52:25 +00:00
bryner%brianryner.com
228a416d62 Fix mousewheel scrolling over certain IFRAMEs which have a line height of 0 on the scrollport view. Bug 203239, r/sr=roc, a=asa. 2003-08-25 21:47:58 +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
pete%alphanumerica.com
764a4bb15c backing out changes. It is breaking Camino
b=216646

--pete
2003-08-19 13:52:41 +00:00
pete%alphanumerica.com
26f8f671c5 b=206947 r=heikki sr=jst
Fixing "rampant leaks" when handing the sink to the parser when there
is no docshell present.

--pete
2003-08-18 19:02:58 +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
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
bzbarsky%mit.edu
2120752cbd Fix bug 214874. Script should not execute while innerHTML is being set.
r+sr=jst, a=dveditz
2003-08-11 18:13:16 +00:00
rjesup%wgate.com
4b9917a71e Bug 193011: frame recursion limits re-added/docshell limit removed (backout
of bug 98158 and follow-on patches).  Re-fixes bug 98158 in a different way.
r=darin, sr=dbaron, a=asa
2003-08-08 20:32:22 +00:00
rjesup%wgate.com
f8040ff353 Undo mistaken checkin of bug 193011 2003-08-08 13:14:06 +00:00
rjesup%wgate.com
28cfb72656 Bug 193011: frame recursion limits re-added/docshell limit removed (backout
of bug 98158 and follow-on patches).  Also re-fixes bug 98158.
r=darin, sr=dbaron
2003-08-08 13:06:40 +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
peter%propagandism.org
7ad65ca897 Fix for bug 215117 (SetRootContent handling in nsXMLContentSink is rotten). r=Pike, sr=jst. 2003-08-05 19:34:04 +00:00
timeless%mozdev.org
3d2cd91336 Bug 211290 PRBool nsTemplateMatchRefSet::Add doesn't check the return value of PL_DHashTableInit
r=dbaron sr=bz
2003-08-05 11:45:02 +00:00
timeless%mozdev.org
219eb03947 Bug 211286 void nsContentSupportMap::Init doesn't check the return value of PL_DHashTableInit
r=dbaron sr=bz
2003-08-05 11:41:14 +00:00
timeless%mozdev.org
8ea554ebaa Bug 211285 void nsRuleNetwork::Init doesn't check the return value of PL_DHashTableInit
r=dbaron sr=bz
2003-08-05 11:40:44 +00:00
rbs%maths.uq.edu.au
408bf58f3f Sync the handling of stretchy MathML frames with the new ::-moz notation, b=214989, r+sr=dbaron 2003-08-05 02:07:14 +00:00
hjtoi%comcast.net
dacfce48bc Bug 214381, incorrect characters in prettyprint dtd, patch from vberon@mecano.gme.usherb.ca, r=smontagu, sr=heikki (me). 2003-08-01 16:58:18 +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
aaronl%netscape.com
84bdb34c82 bug 159998 - type named anchor in URL bar, hit Enter - focus/selection appears to stay. r=bryner, sr=jst 2003-08-01 09:41:12 +00:00
timeless%mozdev.org
1ff05676de Bug 213461 Want a way to specify single-sided or double-sided printing
patch by Roland.Mainz@informatik.med.uni-giessen.de r=jblanco sr=bryner
2003-08-01 01:56:15 +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
11724fb6f9 Fix selection regression. Bug 214343, r=caillon, sr=jst 2003-07-29 23:49:41 +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
61f21f8dac Last checkin accidentally reversed the sense of the aContent test; fixing that. 2003-07-29 07:37:48 +00:00
bzbarsky%mit.edu
ae6d3a310b Fix silly warning 2003-07-29 05:24:59 +00:00
bzbarsky%mit.edu
74f3b1e808 Fixing more windows bustage 2003-07-29 01:15:55 +00:00
jst%netscape.com
cacb22d3cf Fixing bug 209717. Making document.load() use the caller's URI as the base URI. r=caillon@aillon.org, sr=hjtoi-bugzilla@comcast.net 2003-07-28 23:12:46 +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
e2e733b5de DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823,
r+sr=jst
2003-07-28 21:25:13 +00:00