Commit Graph

825 Commits

Author SHA1 Message Date
Neil Deakin
241e0c5a3c Bug 450990, make template generate recursive instead of lazy, improves performance as well, r=peterv,sr=bz 2008-10-20 11:36:05 -04:00
Boris Zbarsky
a217e9f807 Backing out bug 450990 to try to fix leaks 2008-10-10 15:45:32 -04:00
Boris Zbarsky
a85344a534 Bug 450990. Build bustage fix 2008-10-10 14:29:13 -04:00
Arpad Borsos
1b55360c07 Bug 456388 - Remove PR_STATIC_CALLBACK and PR_CALLBACK(_DECL) from the tree; r+sr=brendan 2008-10-10 17:04:34 +02:00
Taras Glek
f090606a7d bug 455536: s/NS_ERROR_FAILURE/NS_ERROR_OOM/ outparamdelled nsNodeInfoManager::GetNodeInfo r+sr=jsr 2008-09-25 15:46:52 -07:00
Robert O'Callahan
bee2844b64 Bug 450930. Fire a DOM event when painting so that content and chrome can track what's being repainted. r=smaug,sr=dbaron 2008-09-18 21:47:21 +12:00
Taras Glek
c61f5f5c50 bug 450777:deCOMtaminate nsNodeInfoManager::GetNodeInfo r+sr=jst 2008-09-12 15:32:18 -07:00
Boris Zbarsky
373e9cbd87 Bug 454317. Improve GetClasses to not do virtual calls when not needed. r=smaug, sr=jst 2008-09-10 23:22:20 -04:00
Boris Zbarsky
0fa4681f85 Bug 453858. Get rid of some XPCOM-ness in nsArraySH::GetItemAt. r+sr=jst 2008-09-10 23:15:29 -04:00
Robert O'Callahan
ea438e03d9 Bug 376662. Convert nsIFrame::GetOffsetTo to not use views. We need to ensure that for popups and scrollframes, views and frames are kept in sync at *all* times. Also fixes bugs in tests for NS_FRAME_NO_MOVE_FRAME. r+sr=bzbarsky 2008-09-06 20:52:56 +12:00
Boris Zbarsky
6eabf8f654 Bug 451053. Move nsMutationGuard into a shared location and use it to assert some invariants. r+sr=sicking 2008-09-05 13:39:19 -04:00
Oleg Romashin
cd9e7a5e1a Bug 453307 - Building without XUL failed. r=bzbarsky. 2008-09-05 14:36:04 +03:00
Robert O'Callahan
92adcbca76 Backing out changeset 1bdd5da49865 (for bug 376662) due to regression bug 453661 2008-09-05 15:40:06 +12:00
Robert O'Callahan
e87222a463 Bug 376662. Make nsIFrame::GetOffsetTo not explicitly use views. r+sr=bzbarsky 2008-09-04 09:35:52 +12:00
Blake Kaplan
c354ffee49 No bug. Fix whitespace nits. r+sr=jst 2008-08-28 15:43:56 -07:00
Olli Pettay
ba798659bb Bug 445416, Scrolling keeps going on when mousedown on the scrollbarbutton and mouseup somewhere in scrollbar, r+sr=jst 2008-08-27 14:11:12 +03:00
Jonas Sicking
719fd1dcab Bug 447917: Implement the Implement ElementTraversal. Also implements a .children property that is a NodeList of all element children. This is a subset of the IE property with the same name. r=smaug sr=peterv 2008-08-04 17:58:16 -07:00
Neil Deakin
d01a68afe9 Bug 111034, add clientXXX, scrollXXX properties, attempt 2, r+sr=roc, attempt 2 with microformat fix 2008-08-15 18:26:37 -04:00
Ted Mielczarek
fb61d860b3 Backed out changeset 2e8dfe209f09 due to unit test bustage 2008-08-15 12:59:30 -04:00
Neil Deakin
03f1f1d65d Add clientXXX and scrollXXX properties to XUL elements, also add width/height properties to ClientRect, r+sr=roc 2008-08-15 11:17:17 -04:00
L. David Baron
d89cbf0d17 Change the binding parent for native anonymous content to work like the binding parent for XBL anonymous content, and be the parent of the anonymous content subtree rather than the root of the anonymous content subtree. (Bug 436453) r=bzbarsky,smaug,surkov sr=bzbarsky 2008-07-22 21:50:20 -07:00
Boris Zbarsky
1715267a4e Bug 416317. Implement querySelector(All) API. r=dbaron, sr=jst 2008-07-21 17:55:52 -07:00
Boris Zbarsky
01b52e5587 Bug 444824. Remove useless assignment. r+sr=peterv 2008-07-17 09:34:17 -04:00
Robert Longson
eb11cf45e1 Bug 409383 - Make dynamic changes to switch children work and fix transient switch errors. r=jwatt,sr=roc 2008-07-13 12:30:48 +01:00
Boris Zbarsky
338767598d Add a faster method for iterating the nsIContent children of an
nsINode if we know that there will be no DOM mutations of any sort
during the iteration.  Bug 429744, r+sr=jst
2008-07-11 16:42:19 -04:00
Olli Pettay
25e6575dae Bug 438241, Mousover and mouseout don't behave properly with native anonymous content, r=jst,sr=sicking 2008-06-23 11:07:06 +03:00
89e4399ca0 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 2008-04-18 10:20:11 -07:00
1262481e04 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 2008-04-14 16:59:21 -07:00
7a42621c4d Bug 423355: Never fire mutation events on native-anon content. Also includes fix for nsIContent::IsInNativeAnonymousSubtree. Patch by Smaug. r/sr=sicking a=beltzner 2008-04-11 15:44:48 -07:00
87036333c7 Bug 425551 - "Fix async DOM events from keeping link elements alive past unlink". r+sr=sicking, a=beltzner. 2008-04-11 10:29:06 -07:00
8d46b01844 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 2008-04-10 15:47:01 -07:00
530901270a Backing out due to test failures 2008-04-08 20:20:39 -07:00
230a81ffc6 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 2008-04-08 19:06:27 -07:00
e23a2d9bf7 Back out 2nd patch for bug 423355 due to unit test failures 2008-04-04 18:15:32 -07:00
0be14dd387 Back out patch for bug 423355 due to unit test failures 2008-04-04 18:11:50 -07:00
602e2b7b0a Bug 423355: Don't dispatch mutation events for native anon content. Patch by smaug. r/sr=sicking 2008-04-04 17:14:31 -07:00
dc7dae6882 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 2008-04-04 17:06:36 -07:00
bddcf39b20 Fix for bug 415192 (Crash (within nsCycleCollector::Shutdown and nsXBLBinding::RemoveInsertionParent) with <xul:wizard>, cloneNode). r/sr=sicking. 2008-03-28 07:09:00 -07:00
5518a80eef Add knowledge of edge names to cycle collector, ifdef DEBUG_CC. b=420514 r+sr=peterv a=damons 2008-03-17 16:11:08 -07:00
c8dfc9d204 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 2008-03-14 16:08:57 -07:00
0fb147c3f4 Bug 421486, automatic unwanted scrolling, r+sr=sicking 2008-03-12 03:26:12 -07:00
8ab80173d8 Bug 421662. Rename TextRectangle* to ClientRect*. r+sr=sicking,a=damon 2008-03-11 17:51:12 -07:00
c37ba85a55 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) 2008-03-07 09:55:24 -08:00
32963b4bbe Bug 383818: Cloned menu items don't display correctly. r/sr=jst 2008-03-03 17:25:06 -08:00
3c86db7a31 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 2008-02-27 01:26:15 -08:00
5d2e3e420d Bug 411054, Audit IsNativeAnonymous()/GetBindingParent() uses, r+sr=sicking 2008-02-26 04:40:18 -08:00
c7f2c28300 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 2008-02-21 18:18:43 -08:00
7b34ae7602 Back out bug 412320 and various followups because the perf impact was minimal and the code is more complicated 2008-02-21 12:39:20 -08:00
59c51c3c80 Bug 348341 "Reverse conversion" doesn't work by Kotoeri(Japanese input). r=josh+peterv+roc, sr=roc, b1.9=pavlov 2008-02-19 23:40:04 -08:00
f435c54021 Bug 417699, [@ nsXULTreeBuilder::SetTree], r+sr=sicking, a=mconnor 2008-02-18 14:52:19 -08:00