650 Commits

Author SHA1 Message Date
peterv%propagandism.org
c6d219246d Fix for bug 474456. r/sr=bz, a=dveditz.
git-svn-id: svn://10.0.0.236/trunk@256112 18797224-902f-48f8-a5cc-f745e15eee43
2009-02-05 09:44:52 +00:00
jonas%sicking.cc
507feff39b Bug 423269: Don't add scriptblockers around StartUpdate/EndUpdate batches as script is likely to execute at the last EndUpdate. Also for now, restore full functionality to scripts running while there are scriptblockers. r/sr=bz a=beltzner
git-svn-id: svn://10.0.0.236/trunk@250470 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-18 17:20:12 +00:00
jonas%sicking.cc
0108790da0 Bug 423355: Make sure that we never remove removable blockers more than once. Also make sure to never fire mutation events when it's not safe to run script. r/sr=bz/roc a=beltzner
git-svn-id: svn://10.0.0.236/trunk@250233 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-14 23:59:23 +00:00
jonas%sicking.cc
81dcc76a7c Bug 423355: Never fire mutation events on native-anon content. Also includes fix for nsIContent::IsInNativeAnonymousSubtree. Patch by Smaug. r/sr=sicking a=beltzner
git-svn-id: svn://10.0.0.236/trunk@250097 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-11 22:44:50 +00:00
bent.mozilla%gmail.com
8369be1fe9 Bug 425551 - "Fix async DOM events from keeping link elements alive past unlink". r+sr=sicking, a=beltzner.
git-svn-id: svn://10.0.0.236/trunk@250079 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-11 17:29:11 +00:00
roc+%cs.cmu.edu
851a346e99 Bug 426987. Split SaveState from nsIDocument::Destroy so that we don't do Destroy() while we're still displaying the document. r+sr=sicking,a=beltzner
git-svn-id: svn://10.0.0.236/trunk@250019 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-10 22:47:02 +00:00
jonas%sicking.cc
1cbce53417 Backing out due to test failures
git-svn-id: svn://10.0.0.236/trunk@249885 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-09 03:20:42 +00:00
jonas%sicking.cc
44f2be870f Bug 425551: Improve script blocker code and use it to prevent async DOM events from keeping link elements alive past CC. Patch by bent. r/sr=sicking
git-svn-id: svn://10.0.0.236/trunk@249878 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-09 02:06:31 +00:00
gavin%gavinsharp.com
16be34bb8c Back out 2nd patch for bug 423355 due to unit test failures
git-svn-id: svn://10.0.0.236/trunk@249656 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-05 01:15:32 +00:00
gavin%gavinsharp.com
8ca0407f1d Back out patch for bug 423355 due to unit test failures
git-svn-id: svn://10.0.0.236/trunk@249655 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-05 01:11:51 +00:00
jonas%sicking.cc
15dcb42e33 Bug 423355: Don't dispatch mutation events for native anon content. Patch by smaug. r/sr=sicking
git-svn-id: svn://10.0.0.236/trunk@249652 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-05 00:14:31 +00:00
jonas%sicking.cc
890b62fe93 Bug 423355: Fix bug in blocker unnesting code. Also make sure to never fire mutation events when it's not safe to run script, even if the event isn't catchable by content. r/sr=bz
git-svn-id: svn://10.0.0.236/trunk@249650 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-05 00:06:37 +00:00
peterv%propagandism.org
2eaf19396d Fix for bug 415192 (Crash (within nsCycleCollector::Shutdown and nsXBLBinding::RemoveInsertionParent) with <xul:wizard>, cloneNode). r/sr=sicking.
git-svn-id: svn://10.0.0.236/trunk@248764 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-28 14:09:03 +00:00
dbaron%dbaron.org
598935f398 Add knowledge of edge names to cycle collector, ifdef DEBUG_CC. b=420514 r+sr=peterv a=damons
git-svn-id: svn://10.0.0.236/trunk@248031 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-17 23:11:10 +00:00
jonas%sicking.cc
546ba272ce Bug 401155: Make it safe to create a wrapper for an object at any time by making sure wrapping doesn't write script. Also set up a service that tries to keep track of when it's safe to execute script. r=bz sr=jst
git-svn-id: svn://10.0.0.236/trunk@247875 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-14 23:08:59 +00:00
Olli.Pettay%helsinki.fi
11704f6f07 Bug 421486, automatic unwanted scrolling, r+sr=sicking
git-svn-id: svn://10.0.0.236/trunk@247612 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-12 10:26:12 +00:00
roc+%cs.cmu.edu
d2a2ed91c4 Bug 421662. Rename TextRectangle* to ClientRect*. r+sr=sicking,a=damon
git-svn-id: svn://10.0.0.236/trunk@247599 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-12 00:51:19 +00:00
dbaron%dbaron.org
359b92b679 Don't call nsCycleCollector_DEBUG_wasFreed on generic elements since it inevitably leads to false positives. b=420548 r+sr=peterv a=Not part of the default build (DEBUG/DEBUG_CC only)
git-svn-id: svn://10.0.0.236/trunk@247312 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-07 17:55:24 +00:00
jonas%sicking.cc
db74d9de15 Bug 383818: Cloned menu items don't display correctly. r/sr=jst
git-svn-id: svn://10.0.0.236/trunk@246965 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-04 01:25:06 +00:00
roc+%cs.cmu.edu
518c481375 Bug 417255. Rework getClientRects/getBoundingClientRect/offset* code to use a generic rectangle iterator API which drills down through anonymous blocks, fixing IE compat. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@246654 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-27 09:26:17 +00:00
Olli.Pettay%helsinki.fi
0ab87464e4 Bug 411054, Audit IsNativeAnonymous()/GetBindingParent() uses, r+sr=sicking
git-svn-id: svn://10.0.0.236/trunk@246523 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-26 12:40:21 +00:00
jst%mozilla.org
ee74c118d5 Fixing bug 418755. Revert our decision to throw WRONG_DOCUMENT_ERR per the DOM spec as the web expects that not to happen. r+sr=jonas@sickin.cc
git-svn-id: svn://10.0.0.236/trunk@246266 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-22 02:18:43 +00:00
benjamin%smedbergs.us
3968e1b42d Back out bug 412320 and various followups because the perf impact was minimal and the code is more complicated
git-svn-id: svn://10.0.0.236/trunk@246221 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-21 20:39:23 +00:00
masayuki%d-toybox.com
f5a90c3d5b Bug 348341 "Reverse conversion" doesn't work by Kotoeri(Japanese input). r=josh+peterv+roc, sr=roc, b1.9=pavlov
git-svn-id: svn://10.0.0.236/trunk@246048 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-20 07:40:06 +00:00
Olli.Pettay%helsinki.fi
3604d4c70e Bug 417699, [@ nsXULTreeBuilder::SetTree], r+sr=sicking, a=mconnor
git-svn-id: svn://10.0.0.236/trunk@245934 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-18 22:52:19 +00:00
Olli.Pettay%helsinki.fi
a1118dd79f Bug 409111, WRONG_DOCUMENT_ERR on unattached nodes through getBoxObjectFor, r+sr=sicking, a=mtschrep
git-svn-id: svn://10.0.0.236/trunk@245733 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-14 20:45:08 +00:00
Olli.Pettay%helsinki.fi
ec8174b676 Bug 416383, call nsDOMAttributeMap::DropReference() when unlinking elements ([@nsDOMAttribute::GetValue(nsAString_internal&)]), r+sr=sicking, a=mtschrep
git-svn-id: svn://10.0.0.236/trunk@245393 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-11 10:36:51 +00:00
dwitte%stanford.edu
35e5785d50 Bug 414894 - Remove content arena. r=smaug, sr=sicking, a=schrep
git-svn-id: svn://10.0.0.236/trunk@244802 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-02 23:41:26 +00:00
roc+%cs.cmu.edu
30acef4c74 Bug 414190. getBoundingClientRect and getClientRects need special treatment of tables. r+sr=mats
git-svn-id: svn://10.0.0.236/trunk@244215 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-28 17:42:52 +00:00
roc+%cs.cmu.edu
eecbba2fa3 Bug 410860. Get the prescontext before 'frame' is set to null. r+sr=mats, a=schrep
git-svn-id: svn://10.0.0.236/trunk@244065 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-26 22:45:42 +00:00
benjamin%smedbergs.us
cc4193bab8 Bug 412320 - Try code-generation for QI impls, r=roc+luser
git-svn-id: svn://10.0.0.236/trunk@243992 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-25 17:14:53 +00:00
enndeakin%sympatico.ca
8a5bc9a693 Bug 393451, getBoundingClientRect coordinates not correct for popups, r+sr=roc,a=schrep
git-svn-id: svn://10.0.0.236/trunk@242831 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-10 15:48:26 +00:00
neil%parkwaycc.co.uk
ee27ffeb8b Make XUL elements really native anonymous b=410119 r=smaug sr+a=sicking
git-svn-id: svn://10.0.0.236/trunk@242354 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-04 11:24:42 +00:00
roc+%cs.cmu.edu
84d2239df1 Bug 410229. Check in preemptive fix for failing testcases to resolve Linux orange.
git-svn-id: svn://10.0.0.236/trunk@242349 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-04 04:28:16 +00:00
roc+%cs.cmu.edu
45d1aa47d0 Bug 410229. Handle IB special-siblings when we're finding all the CSS boxes for an element for getBoundingClientRect/getClientRects. r+sr=mats
git-svn-id: svn://10.0.0.236/trunk@242340 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-04 01:50:32 +00:00
dwitte%stanford.edu
d62beece33 relanding part of 407442.
git-svn-id: svn://10.0.0.236/trunk@241831 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-20 07:30:06 +00:00
dwitte%stanford.edu
7094b241c3 back out changes.
git-svn-id: svn://10.0.0.236/trunk@241739 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-19 11:07:42 +00:00
dwitte%stanford.edu
90bc683a3f reland nsTObserverArray changes only.
git-svn-id: svn://10.0.0.236/trunk@241732 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-19 06:03:06 +00:00
dwitte%stanford.edu
5de2d1ee12 backing out to investigate Ts increase
git-svn-id: svn://10.0.0.236/trunk@241730 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-19 04:12:13 +00:00
dwitte%stanford.edu
50e90b27e7 implement nsTObserverArray using nsTArray, clean up the interface, provide an nsAutoTObserverArray, and use it to reduce allocations in
nsEventListenerManager. b=407442, r+sr=sicking, a=beltzner


git-svn-id: svn://10.0.0.236/trunk@241726 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-19 01:06:36 +00:00
sayrer%gmail.com
21b19e5dd7 Bug 398017. nsGenericElement unlink improvements. r/sr=sicking, a=dsicore
git-svn-id: svn://10.0.0.236/trunk@241376 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-15 22:18:05 +00:00
Olli.Pettay%helsinki.fi
a9ca3bc287 Bug 403830, arena for content, r=sicking, sr=jst
git-svn-id: svn://10.0.0.236/trunk@241344 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-15 09:45:37 +00:00
jonas%sicking.cc
47f6800731 Bug 408123: Use nsTObserverArray rather than array copy to deal with listeners going away while firing event. r=smaug sr=jst
git-svn-id: svn://10.0.0.236/trunk@241203 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-14 01:41:49 +00:00
jst%mozilla.org
2bc9672fe5 Fixing bug 407812. Don't waste time calling QI in nsNodeSH::PreCreate() and nsElementSH::PostCreate(). r+sr=jonas@sicking.cc
git-svn-id: svn://10.0.0.236/trunk@240768 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-11 01:19:19 +00:00
bzbarsky%mit.edu
60ac0a33dd Make <select> handle changes to defaultSelected on node for which selected has
not been set.  Bug 395107, r+sr=sicking.


git-svn-id: svn://10.0.0.236/trunk@240418 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-04 16:50:34 +00:00
tor%cs.brown.edu
18df424d87 Bug 370006 - svg doesn't get scaled up on high resolution displays.
r=jwatt, sr=roc


git-svn-id: svn://10.0.0.236/trunk@240386 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-04 04:40:52 +00:00
jonas%sicking.cc
2fb628e563 Bug 348156: Fix leaks by relying on cycle collector rather than calling UnbindFromTree on all nodes. r/sr=jst
git-svn-id: svn://10.0.0.236/trunk@240144 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-30 17:57:05 +00:00
jonas%sicking.cc
8de91079ff Backing out due to mochitest failure
git-svn-id: svn://10.0.0.236/trunk@240098 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-29 09:34:52 +00:00
jonas%sicking.cc
1beb73676f Revert to earlier version of patch to try to fix orange
git-svn-id: svn://10.0.0.236/trunk@240096 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-29 09:25:22 +00:00
jonas%sicking.cc
b1983c34be Bug 348156: Fix leaks by relying on cycle collector rather than calling UnbindFromTree on all nodes. r/sr=jst
git-svn-id: svn://10.0.0.236/trunk@240094 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-29 08:41:27 +00:00