Commit Graph

416 Commits

Author SHA1 Message Date
dbaron%dbaron.org
b6ace9a6d2 Null out hash ops after destroying table. b=350930 r+sr=sicking a=beltzner
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@208978 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-01 08:06:49 +00:00
mrbkap%gmail.com
b778a7c85b Unbackingout these changes. They were not the source of the problem (see bug 346233)
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@206457 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-03 00:47:52 +00:00
mrbkap%gmail.com
84982d2f5c Backing out the XPConnect portions of bug 321299 to see if it helps the hang reported in bug 346233. r/sr=sicking a=schrep
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@206453 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-02 23:17:10 +00:00
mrbkap%gmail.com
c559deaf12 Checking in the required patches for bug 321299 (again). This is the combined work of sicking, jst, and myself, a=dbaron
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@205017 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-28 01:00:57 +00:00
mrbkap%gmail.com
d86e2e964f Backing this patch out to fix smoketest blockers.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@203390 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-21 20:19:25 +00:00
mrbkap%gmail.com
783282fd69 Checking in the required patches for bug 321299. This is the combined work of sicking, jst, and myself, a=dbaron
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@203266 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-20 17:14:11 +00:00
cvshook%sicking.cc
364e6d2f4f Bug 330526: Make sure not to call external code in the middle of putting a tearoff in the cache. r=aaronr sr=jst a=dveditz
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@200627 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-22 21:52:58 +00:00
cvshook%sicking.cc
dd8e319d8a Bug 338391: Fix signed/unsigned issue. Patch by dveditz. r/sr/a=me
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@200341 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-19 19:21:24 +00:00
Olli.Pettay%helsinki.fi
cc098ea0ab Bug 340084, [regression] document.getBoxObjectFor on node not in document throws NS_ERROR_DOM_WRONG_DOCUMENT_ERR, r=bz, sr+a=sicking
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@200158 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-16 22:44:21 +00:00
dbaron%dbaron.org
dfbc3216ea Bug 336791: land leak fixes that use nsIDOMGCParticipant to break cycles caused by JavaScript closures as XPCOM objects (bugs 241518, 319293, 319642, 322985, 323807, 323534, 325279, 326646, 339412, 206520, 321054, 339488). See individual bugs for reviewers. a181=darin
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@199932 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-15 03:15:48 +00:00
cvshook%sicking.cc
47cd11223d Bug 325426: Only use baseuris as base for resolving relative uris. r=bz sr=jst a=jst
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@194961 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 08:28:13 +00:00
cvshook%sicking.cc
9a20f3855f Bug 329982: Give nsXULElement::RemoveChildAt some lovin' to make it deal better with mutationevent handlers mutating the DOM. r/sr=bz a=jst
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@194955 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 06:55:05 +00:00
cvshook%sicking.cc
254b7e81ef Make elements deal better with various evil DOM mutations. Fixes bugs 325730, 330084, and 330925. Patches by me and bz. r/sr=me,bz,jst a=jst
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@194739 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-19 23:55:41 +00:00
dbaron%dbaron.org
399339b181 Disconnect and release the event listener manager after removing the entry from the hash table to avoid crashes caused re-entry into hash table code. b=334177 r+sr+a=jst
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@194625 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-18 21:00:12 +00:00
roc+%cs.cmu.edu
bc5193d58d Bug 305160. Fix broken bubbling behaviour for onscroll DOM events. r+sr=jst
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@193021 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-26 21:05:22 +00:00
bzbarsky%mit.edu
74a8d87816 Bug 308120: Deal better with anonymous (direct) children being moved in the DOM. Patch by sicking, r=bzbarsky sr=bryner
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@186964 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-05 03:14:52 +00:00
scott%scott-macgregor.org
c031bdacac Bug #315189 --> Loading this url crashes [@ nsHTMLDocument::MatchLinks] Camino and Firefox
Fix a probme with inline style rules on innerDiv elements that was breaking Yahoo! webmail.

patch by bz

r/sr=jst

a=me


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@184492 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-12 00:02:05 +00:00
bzbarsky%mit.edu
473feca0c2 Fix bug 312847 -- pass the right index to ContentAppended. r+sr=jst, a=asa
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@182496 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-18 22:26:03 +00:00
bzbarsky%mit.edu
79d4c1d3b7 When inserting a document fragment, make sure that updates triggered by our
insertions flush out notifications as needed. Bug 312695, r+sr=jst, a=asa


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@182449 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-18 13:34:15 +00:00
bzbarsky%mit.edu
043d41d42d Fix bug 310653. Patch by peterv, r+sr=bzbarsky, a=shaver
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@181440 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-02 15:20:17 +00:00
bzbarsky%mit.edu
c629095a74 Make nsDocument::InsertBefore and nsDocument::ReplaceChild do the right thing
as far as removing kids from their old parent, working with document fragments,
etc. Mostly just makes nsDocument and nsGenericElement share code. Bug 278472,
r=peterv, sr=jst, a=asa


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@181384 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-01 02:05:27 +00:00
jwatt%jwatt.org
b016970365 Fixing bug 302103. Implement SVG events. r=tor@acm.org, sr=jst@mozilla.org, a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@179351 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-30 23:15:10 +00:00
roc+%cs.cmu.edu
a4e5443b20 Bug 78510. Maintain a per-document hashmap from URI-spec-hash to set of pointers to content elements that are links to those URIs whose state has been queried by the style system. Use this map to efficiently mark visited any links to URIs which get visited. r+sr=dbaron, with input from bryner and bzbarsky, a=jesup with support from dbaron. May impact Tp and other metrics, be careful out there.
git-svn-id: svn://10.0.0.236/trunk@177512 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-10 20:21:44 +00:00
bzbarsky%mit.edu
79e17a68ce Make reentering nsRange::DeleteContents safe, and make RemoveChildAt deal with
the mutation event removing the child.  Bug 293388, r=sicking, sr=peterv,
a=bsmedberg


git-svn-id: svn://10.0.0.236/trunk@176620 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-26 15:45:49 +00:00
jst%mozilla.jstenback.com
79ba7b6cdd Fixing bug 296704. Make re-dispatching of events work as expected. r=dveditz@cruzio.com, sr=bryner@brianryner.com, a=dveditz@cruzio.com
git-svn-id: svn://10.0.0.236/trunk@174986 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-22 01:53:58 +00:00
neil%parkwaycc.co.uk
31fc6a9beb Fix regression from misread bug 285830 comment b=296657 r=sicking sr=jst a=asa
git-svn-id: svn://10.0.0.236/trunk@174320 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-08 23:02:29 +00:00
jst%mozilla.jstenback.com
1acb0a110a Fixing bug 292464. Use the documents principals to check if a document is a chrome document or not. r=smaug@welho.com, sr=peterv@propagandism.org, a=shaver@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@174095 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-02 23:36:08 +00:00
neil%parkwaycc.co.uk
1fd7840408 Bug 285830 textContent ignores whitespace r=sicking sr=jst a=shaver
git-svn-id: svn://10.0.0.236/trunk@173900 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-01 13:59:38 +00:00
allan%beaufour.dk
25cea2ad26 Fix up nsDOMAttributeMap so it caches the nsDOMAttributes that it creates. Bug 235512, r=sicking, sr=peterv, a=shaver
git-svn-id: svn://10.0.0.236/trunk@173894 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-01 13:46:20 +00:00
bzbarsky%mit.edu
5061af9215 Back out the patch for bug 211128 to fix bug 293639. r=sicking, sr=peterv, a=asa
git-svn-id: svn://10.0.0.236/trunk@173576 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-19 16:12:13 +00:00
bryner%brianryner.com
189a661d09 Add support for caching content viewers in session history to speed up back/forward (bug 274784). This initial landing has the feature disabled by default; set browser.sessionhistory.max_viewers to the maximum number of pages to cache to enable the feature. r=bzbarsky, sr/a=brendan.
git-svn-id: svn://10.0.0.236/trunk@173044 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-04 20:22:32 +00:00
bzbarsky%mit.edu
3b03ae1c7c Make the base URI for anon nodes in an XBL binding be the URI of the XBL
document.  Bug 211128, r+sr=jst, a=chofmann


git-svn-id: svn://10.0.0.236/trunk@172993 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-03 16:01:22 +00:00
Olli.Pettay%helsinki.fi
6877f83211 Bug 292464 - event listeners added using addEventListener() listen only trusted events. r=jst, sr=peterv, a=chofmann
git-svn-id: svn://10.0.0.236/trunk@172956 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-02 17:54:41 +00:00
jst%mozilla.jstenback.com
ebed1ee784 Fixing bug 289940. Make chrome event handlers only receive trusted events by default. r=jonas@sicking.cc, sr=peterv@propagandism.org, a=chofmann@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@172848 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-28 23:48:28 +00:00
tor%cs.brown.edu
d2111ae14f Bug 291499 - prevent infinite indent in layout-debug. r+sr+a=dbaron
git-svn-id: svn://10.0.0.236/trunk@172616 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-22 19:46:35 +00:00
bzbarsky%mit.edu
e2e0f7bfab Remove unused aDeep args from AppendChildTo and InsertChildAt. Bug 289316,
r=sicking, sr=peterv, a=brendan


git-svn-id: svn://10.0.0.236/trunk@172410 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-18 22:58:35 +00:00
bzbarsky%mit.edu
2ed6c9fac8 Eliminate nsIContent::SetDocument/SetParent/SetBindingParent in favor of
BindToTree and UnbindFromTree methods.  Bug 286000, r=sicking, sr=jst


git-svn-id: svn://10.0.0.236/trunk@171749 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-05 23:54:35 +00:00
bzbarsky%mit.edu
66d9120653 Followup to bug 225941 -- I forgot some review comments. r=dbaron, sr=jst
git-svn-id: svn://10.0.0.236/trunk@171034 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-23 03:21:04 +00:00
bzbarsky%mit.edu
b545c9a067 Add a method to ask a content node whether it may have a frame in some
presentation.  Bug 225941, r=dbaron, sr=jst


git-svn-id: svn://10.0.0.236/trunk@171033 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-23 03:07:10 +00:00
bryner%brianryner.com
165fa3ff89 Remove nsIXBLBinding (bug 194834). r+sr=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@169873 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-25 22:07:01 +00:00
doronr%us.ibm.com
579555ffc3 Bug 283323 - use owner document in nsGenericElement to get and set properties. Patch by smaug, r/sr=bryner
git-svn-id: svn://10.0.0.236/trunk@169670 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-23 20:27:25 +00:00
bryner%brianryner.com
066919535f Guarantee that a document's binding manager is non-null. Bug 282792, r+sr=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@169489 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-19 10:31:27 +00:00
doronr%us.ibm.com
86f11fca63 Bug 279057 - Implement hasFeature for XForms. Patch by smaug, r=bryner/sr=jst
git-svn-id: svn://10.0.0.236/trunk@169429 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-18 21:32:46 +00:00
bzbarsky%mit.edu
0cfe7486a9 Add OOM checks on some GetDOMSlots() calls. Bug 280771, patch by Daniel de
Wildt <mozilla3q04@dewildt.de>, r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@168803 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-04 18:04:02 +00:00
bryner%brianryner.com
5d17ec2995 Remove unneeded nsIContentList interface (bug 280746). r+sr=jst.
git-svn-id: svn://10.0.0.236/trunk@168732 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-02 23:16:02 +00:00
mozilla.mano%sent.com
3ffad7b2f3 Bug 277516 - Add a hidden pref to follow accessibility.tabfocus for xul elements; default to true on mac, false everywhere else. r=aaronlev sr=bzbarksky
git-svn-id: svn://10.0.0.236/trunk@168512 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-29 23:47:35 +00:00
cvshook%sicking.cc
0ae376c89e missed to change one comment in patch for bug 279155.
rs=jst


git-svn-id: svn://10.0.0.236/trunk@168264 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-24 23:20:39 +00:00
cvshook%sicking.cc
9b2f861866 Bug 266406: nsAttrValue has too big default boundries when parsing integers.
r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@168231 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-24 10:43:14 +00:00
peterv%propagandism.org
c6ae6e5825 Fix for bug 278505 (Trivial content cleanup). r/sr=jst.
git-svn-id: svn://10.0.0.236/trunk@167882 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-17 09:38:03 +00:00
jst%mozilla.jstenback.com
0888e05779 Landing fix for bug 198533. Patch by smaug@welho.com. Making nsXULElement inherit nsGenericElement. r=bugmail@sicking.cc, sr=jst@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@167743 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-14 19:30:55 +00:00