Commit Graph

727 Commits

Author SHA1 Message Date
Robert O'Callahan
9758ecee67 Bug 520462. Let NS_PLUGIN_ACTIVATE events look up the view hierarchy to find a frame. r=karlt
--HG--
extra : rebase_source : 1368db2f5ebe70b43cdaa5040265f54728ab32b4
2009-10-07 17:19:59 +13:00
Neil Deakin
19b8634b1c Bug 517916, crash if the capturing element has no view, r=roc 2009-10-05 10:00:05 -04:00
L. David Baron
7e2aee0cc5 Fix spelling of synthetic in macro name. 2009-10-02 14:06:42 -07:00
Boris Zbarsky
82ca879d78 Bug 519590. Don't interrupt reflow until some time has passed. r=roc 2009-10-02 14:05:32 -04:00
Sylvain Pasche
7c7c7a40b3 Bug 499447. Don't restart our interrupted reflow until some time passes, to give system event processing a fair shot. r=bzbarsky 2009-10-02 14:05:31 -04:00
Robert O'Callahan
d56dfa741e Bug 513082. Instead of passing aDirtyRect to nsDisplayItem::Paint, have nsDisplayList::OptimizeVisibility (renamed to ComputeVisibility) compute the intersection of the visible region with the bounds of each display item and store the result in the item's mVisibleRect. This lets us do less work to paint display items which have a small intersection with the visible region but a large intersection with the bounding-box of the visible region. r=dbaron
--HG--
extra : rebase_source : 76db4b87ef9e5a6e9de7677edc08c26e2cbc462e
2009-09-07 12:35:14 +12:00
Neil Deakin
492e487e7d Bug 513299, add a flag to focus events to indicate that a window was raised, fixes issue where text in a field is selected when a window is raised, r=smaug.sr=neil 2009-10-01 14:53:10 -03:00
David Zbarsky
8d8553ee41 Bug 488249. Replace IsNodeOfType(eHTML) checks with namespace checks. r+sr=jst 2009-08-24 16:02:07 -04:00
Timothy Nikkel
73a27c9267 Bug 518777. When drawing the canvas background color for drawWindow, adjust CanvasArea because it is relative to the frame itself. r=roc
--HG--
rename : layout/base/tests/test_bug514127.html => layout/base/tests/test_bug518777.html
extra : rebase_source : 252a78c5444513eac82b6ebc6ae202aef91bc5ce
2009-09-28 20:40:24 -05:00
Neil Deakin
a11c6e6243 Bug 516615, when capturing, check if the target frame's content is a descendant of the capturing content, rather than using the frame tree, r=roc,sr=smaug 2009-09-28 10:17:01 -04:00
Kyle Huey
c815c08e8d Bug 513684. Stop :hover from bleeding through certain elements. r=roc Test fixes from Markus Stange <mstange@themasta.com>. 2009-09-26 16:35:05 -07:00
Dão Gottwald
b15d2e3fde Backed out changeset a2d46929bcbd 2009-09-26 22:21:22 +02:00
Kyle Huey
dbd51bf4f0 Bug 513684 - Stop :hover from bleeding through certain elements. r=roc 2009-09-13 22:54:44 -04:00
Zelgadis
18ad8d6e45 Bug 517949 - Null pointer in PresShell::UnsuppressAndInvalidate() leads to crash
r+a1.9.2=roc
2009-09-23 16:38:57 +02:00
Robert O'Callahan
6de615de1b Bug 510110. Extend MozAfterPaint event to contain list of PaintRequest objects with information about individual invalidations. r=dbaron,sr=jst
--HG--
extra : rebase_source : 0e8b9f424d50c2d9e346f7ff15834202a6c101d1
2009-09-04 16:49:18 +12:00
Timothy Nikkel
5f8ff6cfdc Bug 514127. Draw the canvas background color on the whole canvas area instead of just the viewport when RenderDocument is called with ignore scrolling flag. r=roc 2009-09-19 12:20:42 +02:00
Neil Deakin
6d83cdc84a Bug 516880, use the right presshell when getting frames during mouse capture, r=roc 2009-09-17 12:59:42 -04:00
Mats Palmgren
948203eb7d Replace PR_MIN/PR_MAX with NS_MIN/NS_MAX. b=512106 r=roc 2009-09-16 17:01:36 +02:00
Zack Weinberg
1bbb6caf46 Bug 497495 (frame poisoning) part 4: Change nsPresArena to maintain separate free lists for every frame class, based on its FrameIID. Pass the necessary information in from AllocateFrame and FreeFrame. r=roc sr=dbaron 2009-09-16 10:00:04 +12:00
Justin Dolske
f221ae86bd Backed out changeset a3f33def2dca (bug 497495 part 4) 2009-09-14 17:26:08 -07:00
Boris Zbarsky
efc26f0c70 Bug 497495 (frame poisoning) part 4: Change nsPresArena to maintain separate free lists for every frame class, based on its FrameIID. Pass the necessary information in from AllocateFrame and FreeFrame. r=roc sr=dbaron 2009-09-14 17:29:56 -04:00
Neil Deakin
02a7469b05 Bug 503943, add mouse capturing api to elements, remove capturing from views, r=roc,sr=smaug 2009-09-13 09:13:16 -04:00
Bobby Holley
2d5ec55945 Bug 435296 - Decode-On-Draw. r=joe,roc,bz,dolske,peterw sr=vlad 2009-09-12 16:44:18 -06:00
L. David Baron
0b77a89d40 Make style changes know whether they are for transitions or not. (Bug 435441) r=bzbarsky 2009-09-11 06:46:36 -04:00
Neil Deakin
a5bfe49767 Bug 503943, back out mouse capture patch, CLOSED TREE 2009-09-10 12:11:41 -04:00
Neil Deakin
2ca788ce33 Bug 503943, add mouse capturing api to elements, remove capturing from views, r=roc,sr=smaug 2009-09-10 08:51:36 -04:00
Alexander Surkov
f50096a8aa Bug 514595 - it's not necessary to keep two events type for show and two ones for hide, r=marocz, davidb, ginn, sr=roc
--HG--
rename : accessible/tests/mochitest/test_events_mutation_coalesce.html => accessible/tests/mochitest/test_events_coalescence.html
2009-09-09 17:03:14 +08:00
Christian Biesinger
c39efe899d bug 513451 remove nsPresShell::EnumeratePlugins, it's been unused since bug 480819
r+sr=roc
2009-09-03 12:37:56 +02:00
Taras Glek
8943704095 Bug 457949 - no need for Stopwatch r=bsmedberg
--HG--
extra : rebase_source : 5cd3baecf54295012b28d42fc7bf4c9b34e12714
2009-08-28 11:03:51 -07:00
Boris Zbarsky
36622c6995 Backed out changeset 4aa19414e651 (bug 488249) to fix test orange.
--HG--
extra : rebase_source : ae1c0155ec32b0887eff27ded77c6ba2b37dda64
2009-08-24 20:51:57 -04:00
David Zbarsky
932e28482f Bug 488249. Replace IsNodeOfType(eHTML) checks with namespace checks. r+sr=jst 2009-08-24 16:02:07 -04:00
Zack Weinberg
2cd31f70f9 Bug 510651: Fold nsIFrameDebug into nsFrame. r=dbaron sr=mrbkap 2009-08-20 14:52:48 -07:00
Zack Weinberg
cc794998ac Bug 497495 (frame poisoning) part 2: Introduce nsIPresShell::AllocateMisc/FreeMisc functions; add an as-yet-unused "code" parameter to AllocateFrame/FreeFrame; fix up nsFrame to match; use AllocateMisc/FreeMisc for all non-frame pres arena objects; move clearing of frame objects from nsFrame::operator new to AllocateFrame. r=roc sr=dbaron 2009-08-17 20:21:06 -07:00
Zack Weinberg
f1502249fc Bug 497495 (frame poisoning) part 1: Move the frame arena code to its own file and rename the class to nsPresArena. r=roc 2009-08-17 20:21:06 -07:00
Olli Pettay
7748742e49 Bug 473805 - Prevent resize event loops, r=dbaron
--HG--
extra : rebase_source : e0476c7c1b390ebe194e508c3c728d517483989b
2009-08-15 11:49:20 +03:00
Robert O'Callahan
9f2ae1a715 Bug 507334, part 2: Blit multiple rectangles when scrolling rather than blitting only the largest single rectangle, and avoid repainting opaque content that covers the scrolling content. r=dbaron 2009-08-13 19:09:51 -07:00
Olli Pettay
0dbb7cf7b8 Bug 503639 - [Mac OS X] Right-click on menu from folder from bookmark bar triggers context menu, r=enn
--HG--
extra : rebase_source : 8d7d4a2ae4a5cf9fca6f7b4961b9ebd5ba79255f
2009-08-13 12:11:42 +03:00
Markus Stange
86545547c8 Bug 509876 - Clean up SyncFrameViewGeometryDependentProperties. r=roc
--HG--
extra : rebase_source : fdf898d51147231f33df507d28d927924dc465b8
2009-08-13 08:48:30 +12:00
Masayuki Nakano
f9802cc670 Bug 128647 [RFE] Handler for WM_COPY/WM_CUT/WM_PASTE/WM_CLEAR r=ere+roc, sr=roc 2009-08-08 00:11:17 +09:00
Robert O'Callahan
cba39f15c7 Bug 504524. Change signature of nsIFrame: of nsIFrame::CharacterDataChanged to support passing of the full CharacterDataChangeInfo struct. r=bz
--HG--
extra : rebase_source : cdab9444f579d6b93e142ad8681152ecd180f818
2009-08-05 13:38:10 +12:00
liucougar@gmail.com
db643902e8 Bug 438840. Page-up/page-down in editable content should scroll the innermost scrollable region containing the caret, not the root. r=roc
--HG--
extra : rebase_source : 096868b13160a3c197387cf5e44fb7892b3b23ca
2009-08-03 14:18:57 +12:00
Boris Zbarsky
dca83c78dc Bug 504221 part 9. Get rid of a silly LengthOf function. r+sr=roc 2009-07-28 08:53:18 -04:00
Michael Kohler
404670f1f3 Bug 106386 - Correct misspellings in source code (old); Part 2; r=timeless 2009-07-27 10:47:02 +02:00
L. David Baron
e6a3698129 Destroy frame properties right after destroying the frame tree so they're destroyed before the style set. (Bug 399994) r=roc 2009-07-23 07:40:18 -04:00
Robert O'Callahan
2ebc95776b Bug 352093. Part 10: misc fixes to remove assumptions about documents having widgets. r=smaug 2009-07-22 12:45:09 +12:00
Robert O'Callahan
b613384451 Bug 352093. Part 9: make context menu event coordinates be relative to the widget for the widget for the top of the view hierarchy. r=dbaron 2009-07-22 12:45:08 +12:00
Robert O'Callahan
243774fd17 Bug 352093. Part 4: IME code should use GetRootWidget so it works with documents that don't have their own widgets. r=masayuki 2009-07-22 12:45:05 +12:00
Robert O'Callahan
41b0dc9d84 Bug 339548. Part 9: Create nsRootPresContext::UpdatePluginGeometry, and use it. Make nsObjectFrame manage its widget directly. 2009-07-22 12:45:00 +12:00
Robert O'Callahan
b4be2a9744 Bug 352093. Part 1: Add view parameter to nsViewManager::DispatchEvent so we can target view system events to widget-less documents. r=bzbarsky 2009-07-22 12:44:59 +12:00
Robert O'Callahan
0d1716c268 Bug 339548. Part 2: Introduce nsRootPresContext. 2009-07-22 12:44:54 +12:00
Robert O'Callahan
522a58f4ec Bug 505186. Don't add useless nsDisplayReflowCount items to display lists in debug builds. r=bzbarsky 2009-07-22 12:44:52 +12:00
Timothy Nikkel
6cea3d5dca Bug 502424 - Window transparency does not work. r+sr=roc 2009-07-09 11:16:11 +02:00
Timothy Nikkel
b21de22a53 Bug 488242. Make iframes with semi-transparent backgrounds work correctly by painting all canvas background colors using a dedicated fallback background color display item. r+sr=roc 2009-07-04 21:30:59 +12:00
Olli Pettay
6041f8abed Bug 496567 - Remove nsXULCommandEvent and nsIDOMXULListener, r=neil, sr=sicking 2009-06-30 10:56:40 +03:00
Olli Pettay
7e463f0741 Bug 482578, r=bz, sr=jonas 2009-06-28 23:04:35 +03:00
Robert O'Callahan
b345a70a9e Bug 495385. Text frames adjacent to block boundaries that contain only collapsible whitespace cannot affect layout, so don't create them. r+sr=bzbarsky
--HG--
extra : rebase_source : 2cd0b9d4bdfb47d8757efe0ca9983cbbcfca423c
2009-06-13 21:16:34 +12:00
Boris Zbarsky
03a827f6f5 Bug 498530. Don't try to remove array elements that might not be in the array. r+sr=smaug 2009-06-16 11:46:24 -07:00
Robert O'Callahan
338a814be0 Backed out changeset 69c6dbdfd179 2009-06-14 00:18:06 +12:00
Robert O'Callahan
9ffe56c833 Bug 495385. Text frames adjacent to block boundaries that contain only collapsible whitespace cannot affect layout, so don't create them. r+sr=bzbarsky
--HG--
extra : rebase_source : 544ae2157803cf075a50d2a451c6179525ebbc36
2009-06-13 21:16:34 +12:00
Timothy Nikkel
358f2be59b Bug 491700 - "hang while resizing windows (CPU hits 100%, no interaction is possible)." r+sr=bzbarsky 2009-06-12 21:28:41 -04:00
Timothy Nikkel
647a1b6542 Bug 496020 - "nsCSSFrameConstructor::BeginUpdate is called when scripts are not blocked." r+sr=bzbarsky 2009-06-11 13:09:34 -04:00
Neil Deakin
79321ef1f8 Bug 178324, refactor focus by moving all focus handling into one place and simplifying it, add many tests, fixes many other bugs too numerous to mention in this small checkin comment, r=josh,smichaud,ere,dbaron,marco,neil,gavin,smaug,sr=smaug (CLOSED TREE) 2009-06-10 14:00:39 -04:00
Olli Pettay
f9fa7407e7 Bug 493251 - Header/navigation links on PG.com take two clicks to load, r+sr=jst 2009-05-18 12:17:45 +03:00
Timothy Nikkel
13f0179fd9 Bug 491848. Ensure scripts are blocked during frame destruction. Also, don't dispatch paint events during a synchronous plugin message. r=roc 2009-05-15 15:08:41 +12:00
Boris Zbarsky
a63e049e91 Bug 492760. Don't try to do a best-effort scroll to never-been-laid-out frames. r+sr=roc 2009-05-14 21:40:28 -04:00
Boris Zbarsky
11f21755ed Bug 488057. Be more careful when we unsuppress painting. r+sr=roc 2009-05-12 15:07:08 -04:00
Daniel Holbert
0947631c3a Bug 490909: Remove old layout debugging code, patch #2: remove 'VerifyTree' & related code. r+sr=dbaron 2009-05-12 12:03:09 -07:00
Boris Zbarsky
e6259a26ac Bug 78070. When the root element is removed, remove all frames except the viewport; when it's reinserted, recreate them as needed. r=roc,dbaron sr=roc 2009-05-11 22:04:58 -04:00
Boris Zbarsky
d294c4b67f Bug 491842. Check for suppressed scroll before doing the layout flush, so that we don't end up scrolling during the flush when scroll is suppressed. r+sr=dbaron 2009-05-09 22:57:53 -05:00
Ryo Onodera
5e72993bff Bug 489485. nsRect::ToNearest/Inner/OuterPixels should be nonstatic. r+sr=roc
--HG--
extra : rebase_source : 13778709270ab926e951a7782fce3632370ef7c7
2009-05-08 14:31:04 +12:00
Robert O'Callahan
0d7d241faf Bug 480819. Explicitly track all elements that need to be frozen when a document enters bfcache. r+sr=jst
--HG--
extra : rebase_source : cf8294ebf52bf91b067dc065ccf92098c529a445
2009-05-08 13:32:32 +12:00
Boris Zbarsky
05780cc568 Bug 67752. Implement interruptible reflow. r=roc,dbaron 2009-04-21 19:53:52 -04:00
Phil Ringnalda
621dae24da Bug 489122 - MOZ_REFLOW_PERF not AC_DEFINED by --enable-reflow-perf since it's misspelled _PREF in configure.in, r+sr=roc 2009-05-03 18:35:33 -07:00
tn
eb440cb520 Bug 485275. Display fallback background color for non-root documents as necessary. r+sr=roc
--HG--
extra : rebase_source : fd455bec928d342c184089dfba6c75191c4ea28d
2009-04-25 20:19:23 +12:00
Neil Deakin
a6df0afb93 Bug 404798, assertions when root element is removed from xul document during inline script, r+sr=smaug 2009-04-22 08:55:54 -04:00
Olli Pettay
81884a8ad9 Bug 489224 - Printing doesn't print text field values, r+sr=roc 2009-04-22 12:35:45 +03:00
Joe Drew
64bbcf4155 Backed out changeset 6a452e522e07 - Boris Zbarsky – Bug 67752. Implement interruptible reflow. r=roc,dbaron - because of apparent Tp hangs. 2009-04-21 23:02:17 -04:00
Boris Zbarsky
e5f6293681 Bug 67752. Implement interruptible reflow. r=roc,dbaron 2009-04-21 19:53:52 -04:00
Dão Gottwald
ddb69df7b5 Backout bug 485275 (changeset 996c11579453) because of test failures 2009-04-18 10:53:27 +02:00
tn
6af985ce18 Bug 485275 - trunk displays svg transformed foreign object html differently then 1.9. r+sr=roc 2009-04-18 09:11:29 +02:00
Boris Zbarsky
fcb79320f6 Bug 485631 followup. Only disable the dirty frae asserts under drawWindow if the flag to not flush was passed in. r+sr=roc 2009-04-09 12:43:15 -04:00
Robert O'Callahan
7b4d0810ce Bug 459666. Guard assertion containing GetPrimaryFrameFor so it doesn't run at a bad time to be calling GetPrimaryFrameFor. Also, nsCSSFrameConstructor::PostRestyleEvent should check mPresShell->IsDestroying() when deciding whether to drop requests, and it should drop requests silently because it's perfectly safe and correct to do so. r+sr=bzbarsky
--HG--
extra : rebase_source : 8bf16bbc46de1f420d529f8d0a60ae07f8f0ef81
2009-04-01 14:08:34 +13:00
Boris Zbarsky
8a5261a288 Bug 485631. Suppress dirty frame asserts while painting to a canvas. r+sr=roc 2009-03-30 11:33:25 -04:00
Olli Pettay
45080d5ed8 Bug 424377, r+sr=roc 2009-03-10 21:30:50 +02:00
Olli Pettay
468b832900 Bug 425265, r=roc, sr=bz 2009-03-08 21:01:02 +02:00
Olli Pettay
8e3d66727a Bug 480767 - Closing 'Bookmark All Tabs' screws up focus, r+sr=jst 2009-03-03 22:20:11 +02:00
Olli Pettay
2219417624 Bug 333198 - Suppress Input events for web content during synchronous XMLHttpRequest loads, r=bz, sr=jst 2009-03-03 22:11:14 +02:00
Olli Pettay
cb57be346c backout 333198 2009-03-02 22:21:46 +02:00
Olli Pettay
e6f01244a1 Bug 333198 - 'Suppress Input events for web content during synchronous XMLHttpRequest loads'. r=bz, sr=jst, a=blocking1.9.1+ 2009-02-26 14:00:30 -08:00
Robert O'Callahan
19082bf736 Bug 406646. Make sure to only search *visible* popups for mouse event targets. r=enndeakin
--HG--
extra : rebase_source : bd0825d6a6469a10dcdd9e4ae9e9c91dcbafbe99
2009-02-24 21:25:25 +13:00
Zack Weinberg
558a5863e2 Bug 478079 - Kill nsViewManager::DefaultRefresh, and move the cached canvas background to the pres shell; r+sr=roc 2009-02-23 02:10:23 +01:00
Zack Weinberg
1099a7c603 Bug 478784. Don't use the view manager's default background color for transparent widgets. r+sr=roc
--HG--
extra : rebase_source : 5dbaf9f2ecd8cff7213acec2e14d0a3b040c7c4b
2009-02-19 21:10:04 +13:00
Jeremy D. Lea
b9a1696e34 Bug 476726 - deCOMtaminate WidgetToScreen and ScreenToWidget; r+sr=roc
--HG--
extra : rebase_source : 4a35ccdcafbe8a0a9dded9f292a139b4679709e3
2009-02-18 16:11:49 -08:00
Zack Weinberg
bea9955522 Bug 476557. Update view manager cache of page background color in PresShell::Paint, not nsCSSRendering::PaintBackground; permits a small API cleanup. r+sr=roc
--HG--
extra : rebase_source : dcf1475dd8b695eb18513e97ca35b08a4affd19f
2009-02-16 14:11:34 +13:00
Serge Gautherie
5ec9f53e89 Backed out changeset: 719dca3419b5 2009-02-15 18:41:16 +01:00
Jeremy Lea
b82cdbd258 Bug 476726 - deCOMtaminate WidgetToScreen and ScreenToWidget; r+sr=roc 2009-02-15 17:41:06 +01:00
Masayuki Nakano
68f9a6a266 Bug 442774 Wheel/touchpad scrolling gets stuck in frame, stop scrolling the web page as a whole r=Olli.pettay, sr=roc 2009-02-12 19:44:38 +09:00
Masayuki Nakano
789465492f backing-out the patch for bug 442774 2009-02-12 18:54:02 +09:00
Masayuki Nakano
4d6c3072e5 Bug 442774 Wheel/touchpad scrolling gets stuck in frame, stop scrolling the web page as a whole r=Olli.pettay, sr=roc 2009-02-12 16:02:49 +09:00
Masayuki Nakano
def135f71a Backing out the patch of bug 442774. This might cause a timeout failure on test_keycodes.xul 2009-02-11 03:19:15 +09:00
Masayuki Nakano
4fa4a8c50d Bug 442774 Wheel/touchpad scrolling gets stuck in frame, stop scrolling the web page as a whole r=Olli.Pettay, sr=roc 2009-02-10 20:17:37 +09:00
L. David Baron
0e1e58e70d Correctly handle a style change reflow on a subtree that has placeholders with out of flows outside that subtree. (Bug 363247) r+sr=bzbarsky 2009-02-04 13:24:18 -08:00
Arpad Borsos
829f9f024a Bug 474369 - get rid of nsVoidArray; layout part; r+sr=roc 2009-02-03 15:42:18 +01:00
L. David Baron
a1538274bb Stop reflowing the viewport with constrained height. (Bug 467881) r+sr=roc 2009-01-29 12:39:22 -08:00
L. David Baron
f8774a93ef Implement CSS computation of font-stretch property and store it in the gfx font structures. (Bug 3512) r=vlad sr=bzbarsky 2009-01-29 12:39:18 -08:00
Zack Weinberg
5ec5e3b886 Bug 474201: always set the view manager's default background in nsCSSRendering::PaintBackground, use only the prescontext's default background in PresShell::Paint. r+sr=roc
--HG--
extra : rebase_source : 585e5e1803e98d25163fdcdf7f0aa758177e932c
2009-01-22 17:18:59 +13:00
Neil Deakin
bcc795fb9d Bug 212750, one more fix for nsIntRect usage 2009-01-17 16:25:56 -05:00
Neil Deakin
f0c2f61672 Bug 212750, fix broken point usage 2009-01-17 16:14:18 -05:00
Neil Deakin
c8df9e6d4f Bug 212750, position context menu for menus when the keyboard shortcut is used, also move code around so that the right targets are set for context menu key events, r=smaug,sr=roc 2009-01-17 15:50:00 -05:00
Jeremy Lea
1800930122 Bug 448830. Make nsIntRect/nsIntMargin/nsIntSize/nsIntPoint different types from nsRect/nsMargin/nsSize/nsPoint different types for better compile-type unit checking. r+sr=roc
--HG--
extra : rebase_source : a331a9e49fbc5931f546919281fcca7f008ab615
2009-01-15 16:27:09 +13:00
Olli Pettay
7bf054d872 Bug 472730, window.sizeToContent() causes hang & full CPU usage, due to extreme recursion, r+sr=dbaron 2009-01-14 22:42:25 +02:00
Benjamin Smedberg
24e7cb1f78 Bug 396185 - Make nsIFrame derivatives and helper abstract classes use a different dynamic-cast system than nsISupports:
* we know all types frames may be cast to at compile time, so instead of extensible GUID IIDs, use a big enum (see nsQueryFrame::FrameIID)
* eliminate all vestiges of refcounting, since frames aren't refcounted

Some frames (SVG frames in particular) still implement nsISupports-derived interfaces, for example nsISVGValue. There is a FrameIID for nsISVGValue that lets you go from a frame to the XPCOM interface, but you can't query back.

r+sr=roc

nsITextControlFrame didn't have an IID the first time around, but this wasn't a compile error because nsITextControlFrame::kFrameIID inherited from nsIFormControlFrame::kFrameIID. I've added a static analysis pass to verify the correct behavior, since I can't figure out a way to make the compiler do it.

--HG--
extra : rebase_source : 4894a2ca0278e2ab92f27459db77165f8348cf41
2009-01-12 14:20:59 -05:00
Benjamin Smedberg
50621e4f9f Backed out changeset 4c4df6ed1b41 - Bug 396185 - Make nsIFrame not inherit from nsISupports due to mochitest failures... these appear to be crashes in nsGenericHTMLElement::GetEditorInternal. 2009-01-09 11:35:24 -05:00
Benjamin Smedberg
d0b948876f Bug 396185 - Make nsIFrame derivatives and helper abstract classes use a different dynamic-cast system than nsISupports:
* we know all types frames may be cast to at compile time, so instead of extensible GUID IIDs, use a big enum (see nsQueryFrame::FrameIID)
* eliminate all vestiges of refcounting, since frames aren't refcounted

Some frames (SVG frames in particular) still implement nsISupports-derived interfaces, for example nsISVGValue. There is a FrameIID for nsISVGValue that lets you go from a frame to the XPCOM interface, but you can't query back.

r+sr=roc

This patch locally causes two REFTEST-UNEXPECTED-PASS for Bidi stuff. It's possible that I accidentally fixed a bug, but I'm not sure, so I'm going to wait for the tinderboxes to confirm my local results.
2008-11-05 14:25:30 -05:00
Olli Pettay
d30fae3581 Bug 457862 - onresize events should fire at every resize while resizing the window, r+sr=dbaron 2009-01-05 18:26:59 +02:00
L. David Baron
82d6666100 Remove the VerifyReflow code that checked the space manager state. (Bug 191448) r+sr=roc 2009-01-04 14:52:38 -05:00
Olli Pettay
28e3d7cf73 Bug 436965, r+sr=sicking 2009-01-02 17:41:43 +02:00
Olli Pettay
ed62696892 Back out bug 436965 2009-01-02 16:31:13 +02:00
Olli Pettay
f4bf461d7e Bug 436965, r+sr=sicking 2009-01-02 14:40:43 +02:00
L. David Baron
43923a2427 DeCOMtaminate nsIPresShell::GetDidInitialReflow. (Bug 468645) r+sr=bzbarsky 2008-12-29 10:07:36 -05:00
Olli Pettay
d766a4a00e Bug 466057, r+sr=bz 2008-12-20 16:28:19 +02:00
Stuart Parmenter
91c3580bb5 bug 458373. Allow you to pass in a flag to drawWindow to show the caret. patch from roc. r=me 2008-12-12 02:50:31 -08:00
Masayuki Nakano
229283883c Bug 272847 Text input via IME does not work in windowless Flash movie r=ere+josh, sr=roc 2008-12-15 12:54:54 +09:00
Olli Pettay
f8412fdedc Bug 431082 - Crash [@ nsDocShell::DoChannelLoad], r+sr=bz 2008-12-13 22:30:02 +02:00
Zack Weinberg
942db4a483 Bug 467459: make sure PresShell::Paint() uses an opaque color for the backstop; r+sr=roc 2008-12-13 17:07:08 +01:00
Robert O'Callahan
a3a3951684 Bug 459613. When we tear down a textcontrol frame, tell its editor that we're blowing away the frame tree so it doesn't try to clear the spellcheck selection, which not only wastes time but does GetPrimaryFrame for during frame destruction which is a no-no. r+sr=mats 2008-12-12 21:34:43 +13:00
L. David Baron
39812fadae Rebuild all style data when the user font set changes so that we recompute ex and ch units. (Bug 458878) r=jdaggett sr=bzbarsky a=blocking1.9.1+ 2008-12-08 08:08:05 -08:00
Mats Palmgren
e79d638b8e Make GetCurrentEventFrame() return null if the shell is being destroyed (don't call GetPrimaryFrameFor()). b=421839 r+sr=roc 2008-12-08 00:10:31 +01:00
L. David Baron
7fc92bad7f Make the code to suppress infinite synthesized mouse move loops work again with asynchronous style changes. (Bug 302561) r+sr=bzbarsky,roc 2008-12-07 13:58:07 -08:00
Neil Deakin
368d82a815 Bug 393575, change nsIMenuParent to nsMenuParent, r+sr=bz
--HG--
rename : layout/xul/base/src/nsIMenuParent.h => layout/xul/base/src/nsMenuParent.h
2008-12-05 11:37:31 -05:00
L. David Baron
90b976fe34 Backed out changeset 7b553bbed53d (bug 302561) due to chrome test crash. 2008-12-04 09:57:18 -08:00
L. David Baron
85dd73ebd3 Make the code to suppress infinite synthesized mouse move loops work again with asynchronous style changes. (Bug 302561) r+sr=bzbarsky,roc 2008-12-04 08:09:52 -08:00
Markus Stange
76daa5a7da Bug 463042 - Smooth scrolling isn't working with the scrollbar or the keyboard arrows, r+sr=roc 2008-12-02 14:18:08 +01:00
Daniel Holbert
357fdecd33 (Undoing whitespace-only change) 2008-12-04 05:15:11 -08:00
Daniel Holbert
2059630793 Note: prev changeset (d5969f0d3fd9) was for Bug 466607 -- I forgot the bug # in the checkin comment. (I'm pushing _this_ whitespace-only changeset as a follow-up to get that bug # in there.) 2008-12-04 05:14:21 -08:00
Daniel Holbert
34af9c25e6 Use QI for type-safety check in StopMediaInstance/StartMediaInstance. r=chris.double sr=roc 2008-12-04 05:08:39 -08:00
Gavin Sharp
58c580b07d Bug 462887: document ignoreScrollFrame argument in nsLayoutUtils, rename it to ignoreRootScrollFrame, r=roc, sr=bzbarsky, a=beltzner 2008-11-28 14:53:33 -05:00
L. David Baron
2aa2ccaca4 Rebuild the user font set when style sheets are enabled/disabled/added/removed, rules are modified/added/removed, or media changes change which style sheets apply. (Bug 457821) sr=bzbarsky r=jdaggett,bzbarsky a=blocking1.9.1+ 2008-11-25 15:22:38 -08:00
L. David Baron
927e7f0297 Back out 71032d21e8b1e6955baa996d9555624252700c6e due to mac startup failures. 2008-11-25 15:08:51 -08:00
L. David Baron
49d3fcc1ac Rebuild the user font set when style sheets are enabled/disabled/added/removed, rules are modified/added/removed, or media changes change which style sheets apply. (Bug 457821) sr=bzbarsky r=jdaggett,bzbarsky a=blocking1.9.1+ 2008-11-25 13:27:54 -08:00
Markus Stange
7a9f82ce7e Bug 462793 - Changing listbox selection with keyboard no longer scrolls to make the newly selected item visible, r+sr=roc 2008-11-04 15:38:16 +01:00
L. David Baron
9b86daea26 Keep pres shell alive during ProcessRestyledFrames. (Bug 462392) r+sr=bzbarsky 2008-11-02 11:44:55 -08:00
Benjamin Smedberg
9696613a50 Relanding bug 461410 - nsILineIterator is never used outside of layout - set nsresults to replicate the existing code more correctly, which fixes the mochitest failures, r+sr=roc with nits noted by Mats Palmgren 2008-10-30 12:17:59 -07:00
Daniel
4b653f7ab0 Bug 458588 - remove uses of -moz-outline* and drop the aliases afterwards; nsPresShell.cpp; r+sr=roc 2008-10-29 06:11:40 +01:00
Chris Double
b9fbf2e7c2 Bug 449518 - Video autostart after doing Back/Forward history button on browser - r+sr=roc 2008-10-29 07:48:39 +13:00
Benjamin Smedberg
4214b72dd5 Backed out changeset d4c9a0776667 (deCOM nsILineEnumerator) due to regression from it or bug 461212 2008-10-28 02:49:14 -04:00
Benjamin Smedberg
dd4c950cff Bug 461410 - nsILineIterator is never used outside of layout, and doesn't need to be refcounted: the callers can just destroy it when they're done with it. We can't do this with a virtual destructor, however, because nsTableRowGroupFrame implements the interface directly, while nsLineIterator is a separately-allocated class. So clients are expected to call DisposeLineIterator when they're done with it.
Instead of accessing nsILineIterator using QueryInterface, we add a nsIFrame::GetLineIterator API, which is cleaner and more efficient all at the same time!

r+sr=roc
2008-10-28 00:47:19 -04:00
Benjamin Smedberg
09975e25e4 Bug 461359 - Make nsTreeBodyFrame not implement nsITreeBoxObject... nsTreeBoxObject can just call the methods on nsTreeBodyFrame directly, and we avoid nsISupports oddities for bug 396185 r=Enn sr=roc 2008-10-28 00:47:19 -04:00
Gavin Sharp
7ed4660fab Bug 459604: add an optional parameter to SendMouseEvent to ignore the scroll frame, r+sr=roc 2008-10-27 16:16:23 -04:00
Theppitak Karoonboonyanan
018ec4b25f Bug 157546. The 'delete' key should delete an entire cluster. r=peterv,r+sr=roc 2008-10-16 20:44:32 +13:00
Vladimir Vukicevic
e3c6205bcf let's use the right #ifdef here so this actually works; mobile fix, r=stuart 2008-10-10 15:30:52 -07:00
Boris Zbarsky
d0177423c2 Bug 458637. Make sure to properly flag the XSLT result document as not being ready for layout until we StartLayout. r+sr=sicking 2008-10-10 13:44:43 -04:00
Arpad Borsos
8b11d938d2 Bug 456388 - Remove PR_STATIC_CALLBACK and PR_CALLBACK(_DECL) from the tree; r+sr=brendan 2008-10-10 17:04:34 +02:00
Neil Rashbrook
87def3185e Bug 365467 Focus contollers initial window and element can get out of sync r+sr=jst
Reordering tests to see if that can make the change stick

--HG--
rename : browser/base/content/test/browser_autodiscovery.js => browser/base/content/test/browser_discovery.js
rename : browser/base/content/test/autodiscovery.html => browser/base/content/test/discovery.html
2008-10-10 10:36:41 +01:00
Vladimir Vukicevic
3b27944210 b=459150; avoid non-pixel-aligned clips to speed up mobile's DrawWindow usage; r=stuart 2008-10-09 14:49:15 -07:00
Brad Lassey
add313bab4 Bug 445988 - no focus rings around text input boxes in fennec p=tonikitoo r=roc sr=roc 2008-10-08 19:28:31 -04:00
Ted Mielczarek
ecd6b2666b Backed out changeset 893b2c3b521f (Bug 365467 Focus controller's initial window and element can get out of sync r+sr=jst) 2008-10-08 12:33:52 -04:00
Neil Rashbrook
3d8ed29e1c Bug 365467 Focus controller's initial window and element can get out of sync r+sr=jst 2008-10-08 13:24:58 +01:00
Gavin Sharp
31508f4ffc Bug 454324: Handle error from SelectNode to fix crash when selection-less items are dragged (including, recently, tabs). r+sr=bzbarsky 2008-10-05 20:30:09 -07:00
L. David Baron
4c2a55f0ee Backed out changeset 6f3797124c84: Relanding: Fire resize events every 200ms during resizing, not just 200ms after resizing stops. (Bug 114649) r+sr=roc 2008-10-01 20:11:44 -07:00
L. David Baron
7c8c7d48e3 Back out bug 114169 (changeset 8110e3bae4bf) and change the test (changeset 8f53fcb8bde5) to todos, to see if it was repsonsible for the regression in bug 458065. 2008-10-01 10:36:54 -07:00
Jonathan Watt
ec710d7a39 Fire resize events every 200ms during resizing, not just 200ms after resizing stops. (Bug 114649) r+sr=roc 2008-09-29 15:57:38 -07:00
Boris Zbarsky
d674c8ca02 Bug 433616 part 1. Make it possible to create a document viewer with no parent widget or container, and make various code saner about handling null document/prescontext/documentviewer containers. r=roc, sr=jst 2008-09-28 15:14:28 -04:00
Boris Zbarsky
012ae72fd1 Backing out changesets 2ea77fa990af, 7d2d8869e73c, 93441e4f521e, 43d2ee100f3b, a2d84821ea71 to see whether they're causing the Windows Txul or Mac Tp regressions 2008-09-29 08:51:29 -04:00
Boris Zbarsky
10026a0921 Bug 433616 part 1. Make it possible to create a document viewer with no parent widget or container, and make various code saner about handling null document/prescontext/documentviewer containers. r=roc, sr=jst 2008-09-28 15:14:28 -04:00
Robert O'Callahan
279af36fc7 Backing out bug 448830 2008-09-28 23:13:58 +13:00
Jeremy Lea
92e7030a42 Bug 448830. Make nsIntRect/nsIntMargin/nsIntSize/nsIntPoint their own types so that we can catch errors by distinguishing pixels from appunits. r+sr=roc 2008-09-28 20:38:34 +13:00
Robert O'Callahan
6a45b282aa Backing out bug 448830 2008-09-26 13:10:26 +12:00
Jeremy Lea
67f3afd13b Bug 448830. Make nsIntRect/nsIntSize/nsIntPoint/nsIntMargin separate types so we get appunit vs pixel typechecking. r+sr=roc 2008-09-26 10:42:19 +12:00
Arpad Borsos
d0e70a51bf Bug 452797 - Clean up unused variables in layout/; v6; r+sr=roc 2008-09-20 15:42:03 +02:00
Robert O'Callahan
f79290bb0e 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
Robert O'Callahan
34d5a63301 Bug 454004 - Ctrl+Home / Ctrl+End don't work in Mail Compose window; r+sr=mats.palmgren 2008-09-18 01:28:17 +02:00
Keith Schwarz
dc907e1ec7 Bug 435293. Implement CSS transforms. r=dbaron,r+sr=roc 2008-09-13 21:42:11 +12:00
L. David Baron
fa9533f8cf Flush view manager's delayed resize when flushing layout. (Bug 453896) r+sr=bzbarsky 2008-09-09 06:43:10 -07:00
timeless@mozdev.org
b0c349250f Backed out changeset 54215f2cbc66
to fix Bug 454186
SM crashes when try to download file [@ nsString::ToInteger - nsTreeBodyFrame::PaintProgressMeter]
2008-09-08 16:00:32 +02:00
Arpad Borsos
1f62482141 Bug 452797 - Clean up unused variables in layout/; r+sr=roc 2008-09-06 20:38:31 +02:00
Arpad Borsos
4b171f9d59 Bug 414046 - Remove nsPresShell::GetLayoutObjectFor(), r/sr=roc 2008-09-04 22:32:39 +02:00
Neil Deakin
5b84dc9285 Bug 439565, crash with drag image not in document 2008-08-27 10:46:29 -04:00
Martijn Wargers
f0b88f7d3d Bug 449653. Make drawWindow work even inside an onload handler (so before we've unsuppressed painting), r+sr=roc 2008-08-18 15:09:17 -04:00
Rob Arnold
f6bda8fda0 Implement Aero Glass effect support - bug 418454 r=vlad r=roc 2008-08-12 17:44:14 -07:00
L. David Baron
07bbfcbe0b Implement Media Queries, part 4: infrastructure for dynamic change handling at the pres context level. (Bug 156716) r+sr=bzbarsky 2008-07-26 09:14:48 -07:00
L. David Baron
addab50588 Don't restyle slow selectors for changes to anonymous content (non-native-anonymous). (Bug 436453) r+sr=bzbarsky 2008-07-22 21:50:20 -07:00
L. David Baron
2c2f6ed495 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
John Daniels
ef0fee1d70 Bug 419532 – deCOMtaminate nsICaret. r+sr=roc 2008-07-16 12:52:01 +02:00
Boris Zbarsky
f98d5014e5 Bug 431770. Make sure to start/end a frame constructor update when reconstructing frames. r+sr=dbaron 2008-07-11 17:15:11 -04:00
Robert O'Callahan
cf7c906882 Fixing bustage 2008-07-09 20:56:02 +12:00
Chris Double
02ccf2851f Bug 382267. Core implementation of the <video> and <audio> elements. r=jst,r+sr=roc 2008-07-09 20:22:20 +12:00
Benjamin Smedberg
ec69c9db81 Bug 442735 - Annotate classes in dom/content which only appear on the stack, r+sr=jst 2008-06-30 21:03:50 -04:00
Robert O'Callahan
3c3ddb020f Bug 344258. Make <use> honour changes to the ID-to-element map. r=longsonr,sr=mats 2008-06-26 10:41:04 +12:00
L. David Baron
0f7580e2bf Don't restyle slow selectors for changes to native anonymous content. (Bug 436453) r+sr=bzbarsky 2008-06-10 17:26:59 -07:00
gavin@gavinsharp.com
1a44673b56 Back out patch for bug 144000 (backout patch by jst@mozilla.org, r=uriber, sr=peterv, a=beltzner) 2008-04-22 13:48:37 -07:00
jonas@sicking.cc
ea7b3dfeb2 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
roc+@cs.cmu.edu
0608964380 Bug 428156. Relanding. Make ComputeRepaintRegionForCopy handle non-moving frames that clip moving frames. r+sr=dbaron 2008-04-18 02:21:21 -07:00
roc+@cs.cmu.edu
f674174858 Bug 428156 backout 2008-04-17 04:52:32 -07:00
roc+@cs.cmu.edu
25d4009a17 Bug 428156. ComputeRepaintRegionForCopy needs to handle non-moving frames that clip moving content. r+sr=dbaron,a=beltzner 2008-04-17 01:15:14 -07:00
Olli.Pettay@helsinki.fi
ec05b75347 backout Bug 424377, a=beltzner 2008-04-15 11:02:22 -07:00
dbaron@dbaron.org
72f25cf7a0 Backout bug 157546 (making the delete key delete by clusters) to fix blockers bug 419217 and bug 419406. Instead of removing the added test, mark now-failing tests as todo. a=damons 2008-04-14 18:04:18 -07:00
jonas@sicking.cc
b8a008856b Backing out due to test failures 2008-04-08 20:20:39 -07:00
jonas@sicking.cc
5e5ddf5b3f 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
reed@reedloden.com
daf0485896 Bug 420499 - "Caret browsing mode wrongly engaged" (Mochitest) [p=chris@pearce.org.nz (Chris Pearce [cpearce]) r+sr=roc a=blocking1.9+] 2008-04-08 11:52:48 -07:00
mats.palmgren@bredband.net
6132a1f02e Disconnect the frame selection object from the pres shell earlier. b=421083 r+sr=roc a1.9=beltzner 2008-04-02 19:42:20 -07:00
Olli.Pettay@helsinki.fi
aca9d2e936 Bug 424377, r=jst, sr=roc 2008-04-01 03:37:28 -07:00
aaronleventhal@moonset.net
14247d2b05 Bug 423681. Accessible text events broken. r=sicking, sr=bz, a=schrep 2008-03-18 18:37:09 -07:00
jonas@sicking.cc
da4cab3b75 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
dbaron@dbaron.org
4f711db346 Don't let the pres context's visible area get permanently set to an unconstrained height when we call ResizeReflow with an unconstrained height during SizeToContent. b=371508 r+sr=roc a=blocking1.9+ 2008-03-12 15:04:45 -07:00
jonas@sicking.cc
47a2cff0da Back out due to failed mochitest 2008-03-10 19:18:15 -07:00
jonas@sicking.cc
4b8f2cdf7a Bug 401155: Make sure plugins and XBL constructors not execute when creating a script wrapper if it's not safe to execute scripts. r=bz sr=jst. 2008-03-10 17:49:19 -07:00
masayuki@d-toybox.com
3dcfbbf7fc Bug 418470 Go to line in View Source broken (NS_ERROR_UNEXPECTED at nsISelectionController.scrollSelectionIntoView) (retry) r+sr=roc, a1.9b4=beltzner 2008-02-28 07:28:37 -08:00
masayuki@d-toybox.com
f6e10b8d70 backing out the previous patch, becaused qm-centos5-01 dep unit test is orange 2008-02-28 05:59:25 -08:00
masayuki@d-toybox.com
22b844e897 Bug 418470 Go to line in View Source broken (NS_ERROR_UNEXPECTED at nsISelectionController.scrollSelectionIntoView) r+sr=roc, a1.9b4=beltzner 2008-02-28 03:01:56 -08:00
roc+@cs.cmu.edu
a3b0d9b560 Bug 317189. Do the second-scroll-to-anchor on onload (i.e. subresources have loaded), not just when the document has finished loading. Also, don't do it at all if the user has scrolled manually between the first anchor scroll and the second. r+sr=dbaron 2008-02-27 02:01:17 -08:00
roc+@cs.cmu.edu
705c2058b7 Bug 416168. Ensure that the overflow rect for a frame always includes (0,0) even if the frame rect is empty. Also ensures that if the frame rect is empty but has non-zero dimension on one axis, the overflow rect includes that size. A scrolled view for such a frame also includes that size to ensure width:0,height:Npx and width:Npx,height:0 frames are scrollable by that amount. r+sr=dbaron 2008-02-27 01:46:22 -08:00
roc+@cs.cmu.edu
f19a84e63b Bug 157546. 'Delete' key should delete entire cluster. patch by Theppitak Karoonboonyanan, r+sr=roc,a=schrep 2008-02-21 18:24:04 -08:00
reed@reedloden.com
8980f8d4ec Back out patch from Theppitak Karoonboonyanan in bug 157546 due to test failures. 2008-02-20 03:10:16 -08:00
reed@reedloden.com
a82ed7e493 Bug 157546 - "[CTL-Thai] IM: <delete> key should delete WHOLE Thai "display cell"" [p=thep@linux.thai.net (Theppitak Karoonboonyanan) r+sr=roc a1.9=schrep] 2008-02-20 02:19:31 -08:00
masayuki@d-toybox.com
a4cda6d294 Bug 417315 Cannot use IME menus during IME transaction #1 r=josh+roc, sr=roc, a1.9=beltzner 2008-02-19 23:16:06 -08:00
dbaron@dbaron.org
cafaf208a1 Fix handling of dynamic changes for advanced CSS selectors (and avoid the cost of doing so in the normal case). b=401291, 75386, 98997, 229915, 404418 (blocking1.9+) r+sr=bzbarsky a=blocking1.9+ on 404418 2008-02-18 22:17:07 -08:00
reed@reedloden.com
017aad07f5 Back out Theppitak Karoonboonyanan's patch from bug 157546 due to a regression (bug 417745). 2008-02-15 12:20:55 -08:00
reed@reedloden.com
0aa97a6838 Bug 157546 - "[CTL-Thai] IM: <delete> key should delete WHOLE Thai "display cell"" [p=thep@linux.thai.net (Theppitak Karoonboonyanan) r+sr=roc a1.9=beltzner] 2008-02-14 21:30:34 -08:00
bzbarsky@mit.edu
147c7b397d Give the prefs stylesheet a .href. Bug 416896, r+sr=dbaron, a=schrep 2008-02-13 13:47:22 -08:00
jonas@sicking.cc
ea52237748 Bug 399352: Get rid of known-but-harmless assertions for GetUsedMargin/Border/Padding. r/sr=dbaron 2008-01-29 20:53:46 -08:00
aaronleventhal@moonset.net
aa49d6c295 Bug 414654. Accessibles not hidden for visibility:hidden w/ position:absolute. r+sr=roc, a=beltzner 2008-01-29 20:17:57 -08:00
bzbarsky@mit.edu
35a78c727b Speed up page zoom by skipping the unnecessary resize reflow when we tell the viewmanager about its new size, since we plan to go ahead and do a full dirty reflow right after that. Bug 403660, patch by Daniel Brooks <db48x@yahoo.com>, r=bzbarsky, sr=roc 2008-01-28 20:10:59 -08:00
roc+@cs.cmu.edu
04ea5b16d9 Bug 413292. Make Begin/EndUpdateViewBatch be sure to remove the batch-count from the same viewmanager we added one to. r+sr=bzbarsky 2008-01-26 15:59:50 -08:00
reed@reedloden.com
0a63d0913d Bug 364719 - "Resizers of images are positioned wrongly when page is scrolled" [p=mfenniak-moz@mathieu.fenniak.net (Mathieu Fenniak) / chris@pearce.org.nz (Chris Pearce [cpearce]) r=peterv r+sr=roc a=blocking1.9+] 2008-01-21 23:39:06 -08:00
bzbarsky@mit.edu
a0a4bcad25 Add an internal security-check-less method for adding rules to stylesheets to fix bug 386939. r+sr=dbaron 2008-01-17 21:23:44 -08:00
hwaara@gmail.com
9fc1c6a41c bug 307204, implement support for transparent windows in XUL for Mac OS X. r=josh, sr=roc, approval1.9=damons 2007-12-19 11:40:18 -08:00
reed@reedloden.com
98141f6d9e Bug 395628 - ""ASSERTION: post-reflow queues not empty" with feed in <frame>" [p=mats.palmgren@bredband.net (Mats Palmgren) r=smaug r+sr=dbaron a=blocking1.9+] 2007-11-30 23:22:44 -08:00
Olli.Pettay@helsinki.fi
2976ce8f18 Bug 368760, r=mats, sr=roc, a=blocking1.9+ 2007-11-22 12:47:33 -08:00
Olli.Pettay@helsinki.fi
cb300c549e Bug 373344, r+sr=roc, a=blocking1.9+ 2007-11-22 07:08:13 -08:00
Olli.Pettay@helsinki.fi
022f68b3c4 Bug 401528, Must click twice to open link if fixed positioned div is removed on onmouseup: clicks pass through, r+sr=roc, a=blocking1.9+ 2007-11-20 14:30:27 -08:00
Olli.Pettay@helsinki.fi
7181683a48 Bug 401528, backing out, because of crashes 2007-11-15 00:49:35 -08:00
Olli.Pettay@helsinki.fi
0ea4e7e78b backout Bug 373344, the assertion is still there :( 2007-11-13 02:54:01 -08:00
Olli.Pettay@helsinki.fi
d4a4211345 Bug 373344, r+sr=roc, a=blocking1.9+ 2007-11-13 02:29:29 -08:00
peterv@propagandism.org
1c227b78cc Fix for bug 394264 (Ctrl+Home doesn't work, in the body of a message being composed). r=Neil, sr=jst. 2007-11-12 06:46:13 -08:00
Olli.Pettay@helsinki.fi
788a7e1a07 Bug 401528, Must click twice to open link if fixed positioned div is removed on onmouseup: clicks pass through, r+sr=roc, a=blocking1.9+ 2007-11-12 04:20:41 -08:00
Olli.Pettay@helsinki.fi
0519bd5e7b back out Bug 373344 2007-11-09 01:40:45 -08:00
Olli.Pettay@helsinki.fi
d1e49614f0 Bug 373344, r+sr=roc, a=beltzner 2007-11-09 01:27:49 -08:00
reed@reedloden.com
585bdc919b Bug 401361 - Draw correctly when drawWindow is called on a window using fullZoom [p=roc r+sr=vlad a=blocking1.9+] 2007-11-07 20:43:36 -08:00
reed@reedloden.com
36828cf90a Bug 399940 - Prevent content duplication by having ContentRemoved tell us whether it already reconstructed frames and therefore ContentInserted need not be called [p=roc r+sr=bzbarsky a=blocking1.9+] 2007-11-07 20:39:02 -08:00
bzbarsky@mit.edu
06f6b88b65 Make the "href" property of stylesheets reflect the original URI that was reflected to load the sheet. Bug 397427, r=dbaron,biesi, sr=dbaron, a=dsicore 2007-10-23 14:56:41 -07:00
bzbarsky@mit.edu
a027b56a4f Don't run XBL constructors during frame construction, ever. Bug 398006, r=sicking, sr=roc 2007-10-18 20:51:15 -07:00
bzbarsky@mit.edu
7facde4eac Add asserts to catch dangerous cases. Bug 398108, r+sr+a=dbaron 2007-10-01 21:37:36 -07:00
mrbkap@gmail.com
51598ca325 Restore the right caret in all cases. bug 395888, r+sr+a=roc 2007-09-22 14:06:58 -07:00
bzbarsky@mit.edu
e400c6fe35 Simplify reflow and restyle event processing a tad. Bug 396099, r+sr+a=roc 2007-09-20 19:47:19 -07:00
bzbarsky@mit.edu
d042521385 Relanding bug 396587. Maybe it'll stick now. r+sr+a=roc 2007-09-20 16:28:26 -07:00
bzbarsky@mit.edu
47f2b7dfa5 Backing out bug 396587 to hopefully fix orange. 2007-09-19 20:41:29 -07:00
bzbarsky@mit.edu
b2fb733cfc Resize the subdocument off a post-reflow callback so that we don't run script during reflow, and a few related checks to make sure we can deal with script in reflow callbacks better. Bug 396587, r+sr+a=roc. 2007-09-19 19:46:28 -07:00
bzbarsky@mit.edu
65e44633c8 Fix bug 396286. r+sr+a=roc 2007-09-17 18:16:39 -07:00
bzbarsky@mit.edu
97c97d8a5f Process XBL constructors after processing style reresolves. In particular, this makes sure that we process the former even if there were none of the latter. Bug 394676 and bug 394014, r=smaug, sr=sicking, a=roc 2007-09-14 12:15:44 -07:00
surkov.alexander@gmail.com
017060dc17 Bug 388927 - getChildAtPoint fails for scrolled content, r=evan.yan, roc, sr=roc, a=dsicore 2007-09-05 01:00:40 -07:00
bzbarsky@mit.edu
b0d2800c3f Make sure content is up to date before we start processing restyles. Bug 393801, r+sr+a=roc 2007-09-04 01:31:01 -07:00
martijn.martijn@gmail.com
dd8687a04c Bug 92543 - BandRect.mFrames should be created as an nsAutoVoidArray, patch by Alfred Kayser, r+sr=roc, a=dbaron 2007-08-30 08:29:06 -07:00
gijskruitbosch@gmail.com
b0138c1358 Backing out fix for bug 92543 due to build bustage 2007-08-28 02:10:22 -07:00
gijskruitbosch@gmail.com
b095022a82 Bug 92543 - BandRect.mFrames should be created as an nsAutoVoidArray p=alfredkayser@nl.ibm.com (Alfred Kayser) r+sr=roc@ocallahan.org (Robert O'Callahan) a=dbaron@mozilla.com (David Baron) 2007-08-28 01:53:33 -07:00
masayuki@d-toybox.com
a17a03f2ea Bug 392252 need new APIs for converting AppUnits to gfx usable pixels r=sharparrow1, sr+a=roc 2007-08-22 04:13:46 -07:00
bzbarsky@mit.edu
9d5ecb58f1 Fix Windows build bustage 2007-08-21 20:16:18 -07:00
bzbarsky@mit.edu
295ac223f1 Make sure to process style updates before reflow, and both before painting. Bug 375436, r+sr=roc, a=dbaron 2007-08-21 19:57:06 -07:00
Olli.Pettay@helsinki.fi
d023c05d44 Bug 373911, r=bz, sr=dbaron, a=1.9+ 2007-08-21 14:45:00 -07:00
bzbarsky@mit.edu
f75c135498 Followup for bug 390423: remove a now-unused variable. Patch by Ben Karel <web+moz@eschew.org>, r+sr+a=bzbarsky 2007-08-17 23:13:10 -07:00
philringnalda@gmail.com
48c8d7714f Bug 390423 - Simplify the signature of nsIFrame::GetPointFromOffset, patch by Ben Karel <web+moz@eschew.org>, r=aaronlev/elif, sr=roc, a1.9=dbaron 2007-08-16 20:43:00 -07:00
bzbarsky@mit.edu
71c361ac5f Relanding bug 390425, with attempted performance regression fix. r+sr+a=roc 2007-08-15 16:20:25 -07:00
aaronleventhal@moonset.net
4c1685120f Bug 390692. Fix live region support to provide useful information on the node that's being shown or hidden, or has a text change event. r=ginn.chen, sr=roc, a=roc 2007-08-10 18:44:44 -07:00
bzbarsky@mit.edu
6b5d9a0732 Back out bug 390425 to fix performance regression. 2007-08-10 15:55:21 -07:00
bzbarsky@mit.edu
e1604f73ea Simplify handling of {ib} splits. Bug 390425, r+sr=roc, a=dbaron 2007-08-10 13:02:11 -07:00
dbaron@dbaron.org
fc5d9ad4ab Relanding patch for bug 387884 that I accidentally reverted while relanding bug 66619 (a=DEBUG-only): Patch by jwatt@jwatt.org: Fixing bug 387884. Use of assignment instead of comparison in assertion. r+sr=roc@ocallahan.org 2007-08-02 17:09:18 -07:00
bzbarsky@mit.edu
21e0d65a42 Introduce a setter for nsHTMLReflowState::mComputedHeight so that we're sure to
update the resize flags properly.  Bug 388084, r+sr+a=dbaron
2007-08-02 11:08:05 -07:00
sharparrow1@yahoo.com
fb3a8889db Bug 386640: ClearStyleDataAndReflow is fundamentally broken. r+sr=bz 2007-07-25 10:14:13 -07:00
asqueella@gmail.com
b562b1a8cf Bug 388761 - fix MOZ_XUL-disabled builds
p=romaxa <romaxa@gmail.com>
r+sr=roc
2007-07-23 17:04:36 -07:00
peterv@propagandism.org
b5220dfda1 Fix for bug 386300 (Caret disappears when pressing UP at the top of a contenteditable region). r/sr=jst. 2007-07-19 02:47:49 -07:00
enndeakin@sympatico.ca
d871c755b7 Bug 388064, remove extra active popup list from presshell, since popup manager now tracks popups, and does so for all popups, r+sr=roc 2007-07-16 07:53:32 -07:00
dbaron@dbaron.org
855e6829f6 Don't drop empty rectangles on the floor. b=388019 r=sharparrow1@yahoo.com sr=roc@ocallahan.org 2007-07-15 22:55:04 -07:00
dbaron@dbaron.org
7c3a033999 Make ScrollContentIntoView consider continuations so that tabbing to a multi-line link makes the whole thing visible. b=66619 r=sharparrow1@yahoo.com sr=roc@ocallahan.org 2007-07-15 22:53:19 -07:00
dbaron@dbaron.org
67b7eda534 Back out bug 66619 until I get review on bug 388019. 2007-07-13 22:18:09 -07:00
jwatt@jwatt.org
aceedd0816 Fixing bug 387884. Use of assignment instead of comparison in assertion. r+sr=roc@ocallahan.org 2007-07-13 04:03:48 -07:00
dbaron@dbaron.org
1a03b72c9c Make ScrollContentIntoView consider continuations so that tabbing to a multi-line link makes the whole thing visible. b=66619 r=sharparrow1@yahoo.com sr=roc@ocallahan.org 2007-07-12 16:48:37 -07:00
bzbarsky@mit.edu
a4c90a1d9d Make attribute changes that also cause a state change properly reresolve style
when a selector uses both the state and the attribute.  Bug 315920, r=dbaron,
sr=sicking.
2007-07-12 13:05:45 -07:00
jwalden@mit.edu
e3c4baccae Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros. 2007-07-08 00:08:04 -07:00
jruderman@hmc.edu
777ecef0f6 Bug 99319, Silence startup printf "Note: styleverifytree is disabled" and friends in the "disabled" case. Patch by Ryan Jones, r+sr=bzbarsky. 2007-07-07 16:52:59 -07:00
enndeakin@sympatico.ca
6c8197be5f Bug 279703, rework XUL popups to use asynchronous opening, plus many other fixes, attempt 2 with creating widgets later, r=bz,neil,roc,sr=bz 2007-07-04 08:49:38 -07:00
sharparrow1@yahoo.com
c42eac0192 Bug 386142: fantasai's li'l Need More Comments bug. Patch by fantasai, r+sr=roc 2007-07-03 15:49:00 -07:00
enndeakin@sympatico.ca
95deb19d78 Bug 279703, backing out the popup changes due to performance regressions. sigh. 2007-06-29 15:15:59 -07:00
enndeakin@sympatico.ca
6c59f4a6d3 Bug 279703, rework XUL popups to use asynchronous opening, plus many other fixes, r=bz,neil,sr=bz 2007-06-29 12:04:45 -07:00
sharparrow1@yahoo.com
2dfa401cab Bug 385862: View usage cleanups. r+sr=roc 2007-06-27 09:37:50 -07:00
mats.palmgren@bredband.net
18256f6d26 Don't ref-count nsIScrollableViewProvider. b=385286 r+sr=roc 2007-06-23 00:39:40 -07:00
bzbarsky@mit.edu
b689f46a37 We don't have to blow away intrinsic widths on ancestors when kids are appended
to an already-dirty reflow root.  Bug 383992, r+sr=dbaron
2007-06-15 22:12:58 -07:00
sharparrow1@yahoo.com
2c7439459f Bug 379015: Fix nsPresShell::RenderOffscreen. r+sr=roc 2007-05-22 17:11:05 -07:00
mats.palmgren@bredband.net
242b3deec7 Don't bother painting a selection into an empty rect. Avoid using an invalid surface for painting ops. b=380611 r+sr=vladimir 2007-05-17 03:14:35 -07:00
dbaron@dbaron.org
8d20e3f29b Rewrite the pref for forbidding pages from setting colors and backgrounds so that it changes transparency less often and interferes less with user and user-agent styles. b=58048, 255829, 255411 r+sr=bzbarsky 2007-05-16 14:10:31 -07:00
bzbarsky@mit.edu
63661ce0ab Make sure FrameNeedsReflow() is not called during reflow, and remove thewasDirty asserts and O(N^2) check for existing reflow root in the list. Bug379904, r=roc, sr=dbaron 2007-05-15 20:22:45 -07:00
bzbarsky@mit.edu
5b2ec7d443 Process XBL constructors right after the frame construction inInitialReflow(). Bug 377119, r+sr=sicking 2007-05-13 20:52:48 -07:00
mats.palmgren@bredband.net
ba05ce501d Make CreateRenderingContext() return error for a null surface and add error handling to callers. b=362201 r+sr=vladimir 2007-05-12 06:06:16 -07:00
bzbarsky@mit.edu
2464dea33d Ignore attempts to reframe things before we've done initial reflow. Bug379975, r+sr=roc 2007-05-07 21:46:55 -07:00
bzbarsky@mit.edu
56618fc0ac Followup to bug 378784 based on rbs's review comments. 2007-05-06 15:50:21 -07:00
bzbarsky@mit.edu
3cb4bc9240 Change the FrameNeedsReflow API to pass the dirty flags to be added directly tothe method, instead of setting them before calling the method. That way we canavoid reflowing the ancestor of a reflow root which is not itself dirty but hasdirty children. This also makes it harder to set dirty bits inconsistentlywith the FrameNeedsReflow call. Bug 378784, r+sr=dbaron, pending rbs' reviewon the mathml parts. 2007-05-06 12:16:51 -07:00
sharparrow1@yahoo.com
7b9d18d3fe Bug 378662: Get rid of PresShellViewEventListener. r+sr=roc 2007-05-04 16:28:00 -07:00
aaronleventhal@moonset.net
2d01bfcf6a Bug 357583. Followup improvements to ensure that a11y is activated on Linux when it should be. r+sr=bz 2007-05-04 11:09:02 -07:00
aaronleventhal@moonset.net
76c30e6edf Bug 357583. Allow XPCOM clients to init accessibility when they use nsIAccessible. r=surkov, sr=roc 2007-05-03 19:19:18 -07:00
aaronleventhal@moonset.net
7385300b31 Backing out accidental checkin for bug 357583 2007-05-03 13:20:58 -07:00
aaronleventhal@moonset.net
6b2f0681ff Bug 357583. Allow XPCOM clients to init accessibility when they use nsIAccessible. r=surkov, sr=roc 2007-05-03 12:22:24 -07:00
bzbarsky@mit.edu
32d3d359f4 Introduce a GetPrimaryShell() API on nsIDocument. Convert existing callers ofGetShellAt(0) to using this API. Bug 378780. API introduction part by me,r+sr=jst. Mass-changes done by taras using squash, r+sr=me 2007-05-01 15:24:20 -07:00
bzbarsky@mit.edu
e83c55e645 Make InitialReflow just post a reflow event instead of doing a synchronousreflow. Bug 378975, r=dbaron and Eli Friedman, sr=dbaron 2007-05-01 10:15:08 -07:00
bzbarsky@mit.edu
8416080bd2 Fix build bustage 2007-04-29 23:43:03 -07:00
bzbarsky@mit.edu
05d5e6a371 Fix bug 379229, r+sr=dbaron 2007-04-29 23:17:03 -07:00
bzbarsky@mit.edu
2172c60660 Make sure to flush out reflows before firing onload instead of (imperfectly)blocking onload on reflow events. This makes sure that we are in fact fullyreflowed before onload fires. Bug 379093, r+sr=roc 2007-04-29 20:09:55 -07:00
bzbarsky@mit.edu
e0ed942e8a Back out the test code. 2007-04-26 19:06:50 -07:00
bzbarsky@mit.edu
a5e93e2e05 Sprinkle null-checks in an attempt to "fix" the orange so I can get answers. 2007-04-26 17:47:34 -07:00
bzbarsky@mit.edu
789ffd0e73 Adding some test code for a single tinderbox run so I can see what's going onwith Tp2 and such. Will back out after one cycle. 2007-04-26 15:46:05 -07:00
bzbarsky@mit.edu
b7a4fc60e7 Handle restoring scroll position correctly even if InitialReflow comes afterEndLoad. Bug 378606, r+sr=roc 2007-04-25 19:33:02 -07:00
sharparrow1@yahoo.com
59eeb27c4d Followup for bug 370952 to fix an obvious bug. r+sr=dbaron. 2007-04-25 18:34:28 -07:00
bzbarsky@mit.edu
860a7a4ebd Remove the root from mDirtyRoots if we resize-reflow it, so that we don't getassertions about frame state not matching with whether the frame is inmDirtyRoots. Bug 374167, r+sr=dbaron 2007-04-25 17:17:50 -07:00
sharparrow1@yahoo.com
5885215d03 relanding of bug 370952: fix the reflow functions in nsPresShell. r+sr=dbaron 2007-04-25 08:49:55 -07:00
sharparrow1@yahoo.com
add7264218 Backing out bug 370952 due to mac tinderbox bustage 2007-04-25 03:44:29 -07:00
sharparrow1@yahoo.com
13e6ddd1c4 Bug 370952: Fix the reflow functions in nsPresShell (covers ResizeReflow and StyleChangeReflow). r+sr=dbaron 2007-04-25 01:22:28 -07:00
bzbarsky@mit.edu
1bd6d423f6 Back out. This actually hurts Tp2, the mac reftests are _still_ orange 2007-04-24 00:33:58 -07:00
bzbarsky@mit.edu
484674884d Another peformance test for bug 378480. Will back out in a few cycles. 2007-04-23 22:46:11 -07:00
bzbarsky@mit.edu
2491d0c723 Seems to cause orange, and doesn't help Tp2, so backing out. :( 2007-04-23 03:21:41 -07:00
bzbarsky@mit.edu
1e5e8e3c76 Trying something to see its effect on Tp2. Will back out in the morning.Followup to bug 84582, no reviews yet. 2007-04-23 02:36:40 -07:00
Olli.Pettay@helsinki.fi
e53440116d Bug 378325, r+sr=roc 2007-04-22 22:53:27 -07:00
enndeakin@sympatico.ca
9e554b3e8b Bug 374570, constrain popups to frame, r+sr=roc 2007-04-20 11:20:03 -07:00
bzbarsky@mit.edu
357c10a896 Recalc quotes and counters before reflow. Bug 377216, r+sr=dbaron 2007-04-15 17:11:34 -07:00
uriber@gmail.com
ac620263e8 For caret browsing, initialize the caret position to the top of the page (if there isn't already a selection). bug=144000 r+sr=bzbarsky 2007-04-14 09:51:20 -07:00
bzbarsky@mit.edu
2fd17c94d8 Rename nsIFrame::GetPresContext to nsIFrame::PresContext. Bug 376042, patch byTaras Glek <tglek@mozilla.com>, rs=roc. 2007-03-30 14:11:41 -07:00
enndeakin@sympatico.ca
1a17f18934 Bug 375684, assertion when source of a drag is the root element, r+sr=roc 2007-03-29 16:58:59 -07:00
enndeakin@sympatico.ca
d8627a0a9d Bug 374832, lower opacity on drag images, Bug 375038, dragging doesn't work on blocks inside inlines, r+sr=roc 2007-03-25 20:27:53 -07:00
sharparrow1@yahoo.com
bdebedc073 Bug 375273: minor code cleanup in nsContainerFrame. r+sr=roc 2007-03-25 18:12:49 -07:00
hg@mozilla.com
465265d0d4 Free the (distributed) Lizard! Automatic merge from CVS: Module mozilla: tag HG_REPO_INITIAL_IMPORT at 22 Mar 2007 10:30 PDT, 2007-03-22 10:30:00 -07:00