Commit Graph

339 Commits

Author SHA1 Message Date
Ehsan Akhgari
d61b4e8438 Backout changeset e794d5f88e0c (bug 539356) because of performance and correctness regressions 2012-07-03 20:14:47 -04:00
Matt Woodrow
150cbb2336 Bug 539356 - Part 19 - Only repaint retained layers after the previous repainted has been drawn to the window. r=roc 2012-06-30 15:06:13 +12:00
Jonathan Watt
970e60a384 Bug 767388 - Kill NS_DEBUG. r=bz.
--HG--
extra : rebase_source : d045208a26345712dbb4628c973c616cd9504f28
2012-06-25 20:59:42 +01:00
Ehsan Akhgari
8bc6a36022 Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (view parts); r=roc
--HG--
extra : rebase_source : 5492f4c6d1cab22211b760edf8c77b889c651d76
2012-06-18 21:24:02 -04:00
Gervase Markham
82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Ali Juma
84e253b4d4 Bug 748048 - Part 1: Remove SetInvalidationDimensions and GetInvalidationDimensions. r=roc 2012-05-03 12:33:51 -04:00
Daniel Holbert
bbb73d9b89 Bug 740515: In nsIView::List fprintf call, wrap pointer in 'static_cast<void*>' to fix build warning. r=smaug 2012-03-30 13:36:43 -07:00
Wes Johnston
5eb172def6 Bug 603008 - Platform support for multitouch events. r=smaug
* * *
Bug 603008 - Platform support for multitouch events.
* * *
ifdefandroid
2011-12-16 16:24:11 -08:00
Boris Zbarsky
5bdbbbc47c Bug 598482 part 16. When flushing layout, also flush out widget geometry changes. r=roc 2011-12-23 22:52:23 -05:00
Boris Zbarsky
5b5bb37114 Bug 598482 part 14. Rename IsRefreshEnabled to IsPaintingAllowed. r=roc 2011-12-23 22:52:23 -05:00
Markus Stange
16e3ecc29a Bug 598482 part 13 - Flush invalidations via the refresh driver instead of from view update batches. Change the meaning of "refresh disabled" from "no invalidations allowed" to "no synchronous painting allowed". r=roc 2011-12-23 22:52:23 -05:00
Phil Ringnalda
2e8e3cc006 Back out 1ac4cb2e7c32 to c631f9c3e9a9 (bug 598482) for Android reftest failures 2011-12-23 22:21:58 -08:00
Boris Zbarsky
4abe3b98cf Bug 598482 part 16. When flushing layout, also flush out widget geometry changes. r=roc 2011-12-23 22:52:23 -05:00
Boris Zbarsky
e269b6c862 Bug 598482 part 14. Rename IsRefreshEnabled to IsPaintingAllowed. r=roc 2011-12-23 22:52:23 -05:00
Markus Stange
022195c2f6 Bug 598482 part 13 - Flush invalidations via the refresh driver instead of from view update batches. Change the meaning of "refresh disabled" from "no invalidations allowed" to "no synchronous painting allowed". r=roc 2011-12-23 22:52:23 -05:00
Justin Lebar
02b09fb494 Back out revs d445f83ecfb1:dc9cc326cad0, because they did not back out what was intended. 2011-12-01 16:35:42 -05:00
Justin Lebar
9b26154c74 Backed out changeset 5d920a44a901 (bug 698002) 2011-12-01 15:43:07 -05:00
Timothy Nikkel
8ce4c15a30 Bug 668437. Part 5. Make the view bounds of a popup coincide with the client area of the widget. r=enndeakin,roc 2011-12-01 13:56:42 -06:00
Neil Deakin
0ed659f60c Bug 703260, part 3, remove nsIViewObserver, r=mats 2011-11-21 12:53:20 -05:00
Neil Deakin
b15e9b4338 Bug 703260, part 1, remove view from eventstatemanager and presshell event handling, r=smaug,sr=roc 2011-11-21 12:53:20 -05:00
Neil Deakin
42f99d3415 Bug 503879, remove nsIToolkit, make nsToolkit a singleton, remove it from some widget platforms, and don't pass it around when creating widgets, original patch by robarnold, r=roc 2011-10-25 11:05:32 -04:00
Timothy Nikkel
0bd28c1700 Bug 695245. Misc view related code cleanup. Mostly dead code removal. r=roc 2011-10-19 14:10:13 -05:00
Ehsan Akhgari
92064e6d3f Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Neil Deakin
90f42cf310 Bug 694224, remove appshell argument from various widget creation methods, r=roc 2011-10-14 09:06:39 -04:00
Michael Wu
d2b70213ac Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Marco Castelluccio
acf4cce0bc Bug 635643. Remove nsIRegion, because it is a useless wrapper class. r=tnikkel 2011-07-25 17:19:37 -05:00
Timothy Nikkel
64072dc44f Bug 655267. Move the synth mouse move handling from the view manager to the pres shell. r=roc
I also snuck in some minor cleanup.
2011-05-11 10:49:16 -05:00
Zack Weinberg
3929b6bfdd Bug 651017, part 5: mechanical changes.
--HG--
extra : rebase_source : 8bbdf48488736b51d05e734e2e9316c1460cfed5
2011-04-16 18:22:44 -07:00
Zack Weinberg
8648dcc368 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
Ms2ger
4b1168a59f Bug 637864 - Give nsIViewManager::GetRootView a sane signature; r=bz 2011-03-29 22:24:54 -04:00
L. David Baron
28afc65780 Merge layout work from projects/birch, part 4. a=rs 2011-03-24 14:36:14 -07:00
Ehsan Akhgari
3bb129e1e3 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
Alon Zakai
731ddee374 Bug 610670 - Reuse a single puppet widget. r=bz,cjones a=blocking-fennec 2011-02-09 12:13:18 -08:00
Chris Jones
7155968a31 Bug 593243: Clip invalidations to the displayport when one is set. r=tn 2011-03-11 17:12:11 -06:00
Markus Stange
b51a4d9597 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
9e1d7a805c Bug 562138 - Defer widget visibility changes during reflow. r=roc, a=final 2011-01-18 08:23:49 +01:00
L. David Baron
202f93abec 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
Masatoshi Kimura
28f9c1460d Bug 593577 - Get rid of nsContentType. r=roc a=a 2010-09-20 15:40:13 +02:00
Chris Jones
922d8c16c6 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
a0717c5547 Bug 589864: Revert nsView behavior unintentionally changed by refactoring. r=roc a=blocking-beta5 2010-08-24 01:28:16 -05:00
Chris Jones
0a3ef826a6 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
3cc44e2456 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
d7454a33bb 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
accbd0a3b5 Bug 582057, part e: Simplify the logic for creating popup widgets. r=roc 2010-08-20 14:29:01 -05:00
Chris Jones
6a796d25f2 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
7387dfa5b1 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
6159af5262 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
97a0f4958f 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
b3c3ed11d1 Backed out changeset 5452db293694 2010-08-19 19:03:20 -05:00
Chris Jones
a160fb6e84 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