Commit Graph

257 Commits

Author SHA1 Message Date
Zack Weinberg
dd67585463 Bug 651017, part 5: mechanical changes.
--HG--
extra : rebase_source : 8bbdf48488736b51d05e734e2e9316c1460cfed5
2011-04-16 18:22:44 -07:00
Zack Weinberg
51864c09d8 Bug 651017, part 1: minimize inclusion of ns*DeviceContext.h; move the printing error codes to nsIDeviceContextSpec.h; os2 small widget cleanup.
--HG--
extra : rebase_source : 5b7cebe68f71a760463e3522b159c7cde8a72f5e
2011-04-16 18:22:41 -07:00
Robert O'Callahan
c957ae039e Bug 641426. Part 5: Avoid operator== where possible to distinguish between 'equal edges' and 'equal areas' for rectangles. r=dbaron,sr=cjones 2011-04-19 15:07:23 +12:00
Zack Weinberg
f5a0843ac7 Bug 266236 part 9: Move nsBoundingMetrics to its own header and prune inclusions of nsRenderingContext.h.
--HG--
rename : gfx/src/nsThebesRenderingContext.cpp => gfx/src/nsRenderingContext.cpp
rename : gfx/src/nsThebesRenderingContext.h => gfx/src/nsRenderingContext.h
extra : rebase_source : 92660748436f03475e011184e2828f1db0ad63e0
2011-04-07 18:04:40 -07:00
Jan Küchler
5ef6bf26cf Bug 266236 part 3: Mechanical rename of nsIRenderingContext and nsThebesRenderingContext to nsRenderingContext. Mechanical substitution of nsRefPtr<nsRenderingContext> for nsCOMPtr<nsRenderingContext>.
--HG--
rename : gfx/src/nsThebesRenderingContext.cpp => gfx/src/nsRenderingContext.cpp
extra : rebase_source : 34884bfcafd885feaf73300bc7246cd192062a48
2011-04-07 18:04:40 -07:00
Robert O'Callahan
acc00bd703 Bug 598854. We no longer have cases where the view to paint is not a displayroot, so remove the code that handles that. r=tnikkel 2011-04-11 08:41:18 -07:00
Ehsan Akhgari
73dd5db57d Bug 646071 - Part 3: Remove nsInt64.h, and convert all uses of nsInt64 and nsUint64 in the tree to PRInt64 and PRUint64, respectively; r=bsmedberg 2011-03-31 20:15:27 -04:00
Ehsan Akhgari
49fceed112 Backout the latest cedar merge wholesale until I test the correctness of the merge locally. This commit takes the tree state back to changeset 8d3f6093c425 (the last known good changeset before the merge) 2011-04-01 12:23:48 -04:00
Ehsan Akhgari
f4575bfe5e Bug 646071 - Part 3: Remove nsInt64.h, and convert all uses of nsInt64 and nsUint64 in the tree to PRInt64 and PRUint64, respectively; r=bsmedberg 2011-03-31 20:15:27 -04:00
Ms2ger
3aac8958f3 Bug 637864 - Give nsIViewManager::GetRootView a sane signature; r=bz 2011-03-29 22:24:54 -04:00
Neil Deakin
77754d2c9e Bug 632953 - Clear mouse capture after window resize completes. r=jimm 2011-03-25 18:17:35 -05:00
L. David Baron
af9a4f98db Merge layout work from projects/birch, part 4. a=rs 2011-03-24 14:36:14 -07:00
Ehsan Akhgari
da7c6acb37 Bug 610391 - Create the widget for drop-down comboboxes lazily, and tear it down when the drop-down is closed; r=roc 2011-03-21 14:28:10 -04:00
Timothy Nikkel
c7c6267343 Bug 636817. Make LayerManagerForDocument return the correct manager even when there is no root frame so that empty transactions work correctly. r=roc a=hardblocker 2011-03-01 17:15:23 +01:00
Mats Palmgren
91daa42895 Bug 629823 - Use the right view manager for the parent view. r=tnikkel a=roc 2011-02-10 23:38:37 +01:00
Alon Zakai
5eea332ea1 Bug 610670 - Reuse a single puppet widget. r=bz,cjones a=blocking-fennec 2011-02-09 12:13:18 -08:00
Chris Jones
e4ac9c5928 Bug 593243: Clip invalidations to the displayport when one is set. r=tn 2011-03-11 17:12:11 -06:00
Mats Palmgren
345787dcab Bug 617076 - Large white space under Add-on Manager when switching tabs and panes. r=tnikkel a=blocking2.0:betaN 2011-01-29 01:10:46 +01:00
Markus Stange
43eaccf732 Backed out changeset 44c42d8b8d08 (bug 562138 part 1) because it caused bug 627824 and bug 628861. 2011-01-27 07:56:22 +01:00
Markus Stange
2dece9bff2 Bug 562138 - Defer widget visibility changes during reflow. r=roc, a=final 2011-01-18 08:23:49 +01:00
Taras Glek
8b67a8da8d Bug 625478 - Fix first paint timestamp on OSX and Android r=tn a=Mossop 2011-01-13 20:03:42 -08:00
Taras Glek
cbffc495c3 Bug 522375 - built-in startup time measurement r=vlad a=Mossop 2011-01-13 12:18:51 -08:00
Ehsan Akhgari
d7ede6881c Bug 611798 - Do not pretent that we need the presshell to exist in order to turn off update view batching when the editor operations finish, because we don't; r=bzbarsky a=blocking-final+
This patch should fix all of the possible cases where a browser window stops painting when the presshell dies in the middle of an editor operation.
2010-12-10 17:14:26 -05:00
Neil Deakin
f05f0cf5c7 Bug 613748 - Keyboard inputs do not work when tab-modal alerts are open in another tab. r=smaug, a=drivers for API change 2010-11-24 17:44:46 -08:00
L. David Baron
17d8a57340 Add assertion to detect case that bent caught in record-and-replay on privatebrowsing tests so we can learn what portion of orange (hangs) in those tests it's responsible for, and get stacks pointing to the problem. 2010-10-21 20:37:49 -07:00
Daniel Holbert
daa446d0ec Bug 603731: Remove unused variable from nsViewManager.cpp. r=tn a=joe 2010-10-14 09:12:56 -07:00
Masatoshi Kimura
2df4090123 Bug 593577 - Get rid of nsContentType. r=roc a=a 2010-09-20 15:40:13 +02:00
Mats Palmgren
d267a28a25 Bug 449734 part 4 - Add nsIWidget::ReparentNativeWidget() to handle reparenting of top-level widgets. r=roc a=blocking2.0:betaN 2010-09-18 13:28:50 +02:00
Mats Palmgren
698eb966cf Bug 449734 part 1 - Preserve presentation when dragging a tab between browser windows. r=roc a=blocking2.0:betaN 2010-09-18 13:28:49 +02:00
Robert O'Callahan
a77f413886 Bug 596414. Don't subtract plugin areas from within UpdateWidgetArea, except on mac. r=tn a=b 2010-09-17 11:05:51 -07:00
Timothy Nikkel
b83939c2a1 Bug 588403. Part 2. Don't remove the area of popup widgets from the area to update on the parent widget. r=roc a=blocking final+ 2010-09-11 13:24:50 -05:00
Timothy Nikkel
5be08ac8ee Bug 594267. Don't call WillPaint on hidden documents. r=bzbarsky a=roc 2010-09-11 13:24:50 -05:00
Timothy Nikkel
bb07e18e5b Bug 594267. Get rid of hack to determine if a document is visible now that chrome and content view managers are linked. r=roc a=roc 2010-09-11 13:24:50 -05:00
Mats Palmgren
76f0893448 Backing out bug 449734 due to unexpected orange. a=ted 2010-09-03 18:13:49 +02:00
Mats Palmgren
d234af154c Bug 449734 - Preserve presentation when dragging a tab between browser windows. r=roc a=blocking2.0:betaN 2010-09-03 16:22:00 +02:00
Chris Jones
8bf7572fda Followup to bug 589864: Accidentally dropped needed widget init param. irc-r=tn a=bustage-fix 2010-08-24 02:48:46 -05:00
Chris Jones
66bf93223c Bug 589864: Revert nsView behavior unintentionally changed by refactoring. r=roc a=blocking-beta5 2010-08-24 01:28:16 -05:00
Timothy Nikkel
96d7c687cc Bug 587542. Rev IID that was forgotten. 2010-08-21 19:55:55 -05:00
Chris Jones
6616076b0a Bug 582057, part i: Use nsIWidget::CreateChild in nsIView::CreateWidget* (where possible). r=roc a=blocking-fennecb1 2010-08-20 14:29:02 -05:00
Chris Jones
26435d9035 Bug 582057, part g: Split nsIView::CreateWidget into CreateWidget, CreateWidgetForParent, and CreateWidgetForPopup in preparation of eliminating IIDs here. sr=roc 2010-08-20 14:29:02 -05:00
Chris Jones
56e14668e0 Bug 582057, part f: Split out window initialization code in preparation for multiple CreateWidget* methods. r=roc 2010-08-20 14:29:01 -05:00
Chris Jones
68143e26fe Bug 582057, part e: Simplify the logic for creating popup widgets. r=roc 2010-08-20 14:29:01 -05:00
Chris Jones
4aa2f7ef7b Bug 582057, part d: Simplify nsView::LoadWidget and return early if it fails. r=roc 2010-08-20 14:29:01 -05:00
Chris Jones
7e921c626f Bug 582057, part c: Initialize default widget init data earlier so that it's always available. r=roc 2010-08-20 14:29:01 -05:00
Chris Jones
5e7a13a689 Bug 582057, part b: Remove nsIDeviceContext::SupportsNativeWidgets because it's not used meaningfully, and will be confusing in content processes. sr=roc 2010-08-20 14:29:01 -05:00
Chris Jones
355220de11 Bug 582057, part a: Add nsIView::Impl() and nsView::CreateWidget() to get rid of |static_cast<nsView*>(this)|. r=roc 2010-08-20 14:29:01 -05:00
Chris Jones
e58dd0c2e0 Backed out changeset 5452db293694 2010-08-19 19:03:20 -05:00
Chris Jones
e0c8d7ddb0 Bug 582057, part a: Add nsIView::Impl() and nsView::CreateWidget() to get rid of |static_cast<nsView*>(this)|. r=roc 2010-08-19 13:49:35 -05:00
Timothy Nikkel
cc09403fac Bug 587542. If painting is suppressed in the presshell, drop invalidations that come through the view subsystem as well as through the usual frame invalidation path. r=roc 2010-08-18 20:16:58 -05:00
Boris Zbarsky
052a2f6a83 Bug 575336 part 5. Stop flushing out layout on the whole viewmanager tree when layout is flushed on a document and results in invalidates. r=roc 2010-08-05 14:39:39 -04:00