Граф коммитов

1240 Коммитов

Автор SHA1 Сообщение Дата
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
Robert O'Callahan 557449288e Bug 721294. Only call nsIPresShell::WillPaint for the root presshell. Pass aWilLSendDidPaint correctly to nsIPresShell::Paint. Remove aPaintDefaultBackground from nsIPresShell::Paint. r=mats 2012-01-28 16:36:23 +13:00
Phil Ringnalda b6aa88fd9e Back out eb80ab6ee07b (bug 721627) and 06d02e7132b2 (bug 721294) for orange and red 2012-01-27 20:31:29 -08:00
Robert O'Callahan dfdede1830 Bug 721294. Only call nsIPresShell::WillPaint for the root presshell. Pass aWilLSendDidPaint correctly to nsIPresShell::Paint. Remove aPaintDefaultBackground from nsIPresShell::Paint. r=mats
--HG--
extra : rebase_source : f54afeed8d3d41d3e8f9118386e4a67cfac82a98
2012-01-28 16:36:23 +13:00
Jeff Muizelaar 19d31dec25 Bug 718440. Add more sampler labels to various places. r=bgirard
This shows the problems described in bug 710068.
2012-01-17 15:33:04 -05: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
Matt Brubeck 3aa150e837 Back out 88733ce1bef3 (bug 718440) because of Windows build failure 2012-01-17 15:15:47 -08:00
Jeff Muizelaar e18b95dabf Bug 718440. Add more sampler labels to various places. r=bgirard
This shows the problems described in bug 710068.
2012-01-17 15:33:04 -05:00
Markus Stange 732a9f3ee7 Bug 598482 part 22 - Bump nsIViewManager UUID. r=roc 2011-12-23 22:52:26 -05:00
Markus Stange bf406604bb Bug 598482 part 21 - Update the invalidation setup comment. r=roc 2011-12-23 22:52:25 -05:00
Markus Stange 14e0a88d26 Bug 598482 part 20 - Rename Update to Invalidate; view updates are now always asynchronous. r=roc 2011-12-23 22:52:25 -05:00
Markus Stange 282f097710 Bug 598482 part 18 - Separate NS_WILL_PAINT and NS_PAINT handling; only flush again if no NS_WILL_PAINT event has been sent by the platform. r=roc 2011-12-23 22:52:24 -05: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
Markus Stange 81d739b868 Bug 598482 part 15 - Rename view update batches to refresh disable batches and only use them in the two places that can enter reflow (where synchronous painting is permitted). 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
Markus Stange 640bb949f5 Bug 598482 part 12 - Remove unnecessary widget parameter. r=roc 2011-12-23 22:52:23 -05:00
Markus Stange 837db98189 Bug 598482 part 11 - Set up a connection between the view manager and the refresh driver. r=roc 2011-12-23 22:52:22 -05:00
Markus Stange c5f5e5536a Bug 598482 part 10 - Small refactoring in nsViewManager. r=roc 2011-12-23 22:52:22 -05:00
Markus Stange 610ff178d3 Bug 598482 part 9 - Remove unused aIgnoreWidgetView argument. r=roc 2011-12-23 22:52:22 -05:00
Markus Stange 23252c30fb Bug 598482 part 8 - Remove unused mUpdateCnt. r=roc 2011-12-23 22:52:22 -05:00
Markus Stange 5d6bf29b6f Bug 598482 part 7 - Remove NS_VMREFRESH_* flags. NS_VMREFRESH_NO_SYNC is now the unchangable default. r=roc 2011-12-23 22:52:22 -05:00
Markus Stange 4e14ca9cb5 Bug 598482 part 5 - Remove support for event-based invalidation flushing. r=roc 2011-12-23 22:52:21 -05:00
Markus Stange 9e6a8e7f66 Bug 598482 part 3 - Remove synchronous painting APIs from nsIWidget. r=roc 2011-12-23 22:52:21 -05:00
Markus Stange 40e50b090a Bug 598482 part 2 - Remove synchronous painting APIs from nsIViewManager. r=roc 2011-12-23 22:52:21 -05:00
Phil Ringnalda 2e8e3cc006 Back out 1ac4cb2e7c32 to c631f9c3e9a9 (bug 598482) for Android reftest failures 2011-12-23 22:21:58 -08:00
Markus Stange d8b28f146a Bug 598482 part 22 - Bump nsIViewManager UUID. r=roc 2011-12-23 22:52:26 -05:00
Markus Stange 0438c4de66 Bug 598482 part 21 - Update the invalidation setup comment. r=roc 2011-12-23 22:52:25 -05:00
Markus Stange 2d49769823 Bug 598482 part 20 - Rename Update to Invalidate; view updates are now always asynchronous. r=roc 2011-12-23 22:52:25 -05:00
Markus Stange 51d245145c Bug 598482 part 18 - Separate NS_WILL_PAINT and NS_PAINT handling; only flush again if no NS_WILL_PAINT event has been sent by the platform. r=roc 2011-12-23 22:52:24 -05: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
Markus Stange 7a1414d6bd Bug 598482 part 15 - Rename view update batches to refresh disable batches and only use them in the two places that can enter reflow (where synchronous painting is permitted). 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
Markus Stange ef851c0d3f Bug 598482 part 12 - Remove unnecessary widget parameter. r=roc 2011-12-23 22:52:23 -05:00
Markus Stange 5613b8672d Bug 598482 part 11 - Set up a connection between the view manager and the refresh driver. r=roc 2011-12-23 22:52:22 -05:00
Markus Stange 7d5aecbc5f Bug 598482 part 10 - Small refactoring in nsViewManager. r=roc 2011-12-23 22:52:22 -05:00
Markus Stange 6e288228ce Bug 598482 part 9 - Remove unused aIgnoreWidgetView argument. r=roc 2011-12-23 22:52:22 -05:00
Markus Stange 7b0b52dc60 Bug 598482 part 8 - Remove unused mUpdateCnt. r=roc 2011-12-23 22:52:22 -05:00
Markus Stange 87e56d30a9 Bug 598482 part 7 - Remove NS_VMREFRESH_* flags. NS_VMREFRESH_NO_SYNC is now the unchangable default. r=roc 2011-12-23 22:52:22 -05:00
Markus Stange aa0afc9d5f Bug 598482 part 5 - Remove support for event-based invalidation flushing. r=roc 2011-12-23 22:52:21 -05:00
Markus Stange c99c840e17 Bug 598482 part 3 - Remove synchronous painting APIs from nsIWidget. r=roc 2011-12-23 22:52:21 -05:00
Markus Stange 136f7cd4dd Bug 598482 part 2 - Remove synchronous painting APIs from nsIViewManager. r=roc 2011-12-23 22:52:21 -05:00
Boris Zbarsky ea35d340a7 Bug 709256 part 3. Skip calling PresShell::FlushPendingNotifications altogether if there might not be anything to flush. r=roc 2011-12-14 23:42:15 -05:00
Jeff Muizelaar 9317a91431 Bug 707800. Add more sampler labels. r=bgirard 2011-12-02 17:05:33 -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 8adb1bec34 Bug 703260, part 2, remove view usage from popup manager's widget callbacks, 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
Mike Hommey e08d276b14 Bug 702764 part 2 - Make nsAppStartup::GetStartupInfo more flexible. r=tglek 2011-11-18 08:54:27 +01:00
Timothy Nikkel f10d3e436c Bug 658005. Part 2. Add a frame visibility API that takes into account everything we need, and use it. r=roc 2011-10-26 18:57:55 -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
Brad Lassey ce0d25a190 bug 688618 - trailing while panning in fennec, be consistant on all platforms r=roc 2011-09-23 13:21:04 -04:00
Ehsan Akhgari 5272acdabd Bug 666414 - Prevent AddRef and Release from being called on the pointers wrapped in nsCOMPtr and nsRefPtr; r=bsmedberg 2011-09-16 16:22:44 -04:00
L. David Baron 27358bb81c Create nsPresShell.h with the parts of nsPresShell.cpp that should be in a header. (Bug 685786) r=roc
Note:  This adds STACK_ARENA_ to the beginning of the names of a few macros.

--HG--
rename : layout/base/nsPresShell.cpp => layout/base/nsPresShell.h
2011-09-09 12:50:21 -07:00
Rafael Ávila de Espíndola 278aa50e0d Bug 678222 - Fix build with clang and c++0x; r=roc
Change AppUnitsPerDevPixel to return a PRUint32. It should never return
negative values and it is used in initializer lists that expect unsigned
values, which is not valid c++0x.
I have also change the member variables to be unsigned and converted
a sentinel value to use 0 instead of -1. UINT32_MAX should work fine too
if you like it better.
2011-08-11 19:19:03 -04: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
Mats Palmgren 82e2775186 Bug 424395 - Ignore invalidation if the view observer has been disconnected. r=roc 2011-07-20 22:22:27 +02:00
Masayuki Nakano 9c6f3b3db6 Bug 664906 Remove unnecessary #include for prefs in view r=roc 2011-06-17 18:59:58 +09:00
Ed Morley 8aaddd0334 Bug 659621 - Remove EXTRA_DSO_LIBS, EXTRA_DSO_LDOPTS, OS_LIBS from makefiles containing LIBXUL_LIBRARY = 1, now that libxul is always built; r=ted 2011-06-12 03:49:00 -04:00
Timothy Nikkel c70fc900c3 Bug 638430. Fix finding the display root of a view when a floating view is inside a floating view. r=roc 2011-05-29 22:15:00 -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
Masayuki Nakano a4ea6b689d Bug 651694 Sort out NS_PLUGIN_EVENT r=roc 2011-05-11 13:52:44 +09:00
Timothy Nikkel f18d13c30e Bug 653839. Don't call DidPaint on hidden documents. This just does for DidPaint what bug 594267 did for WillPaint. r=roc 2011-05-01 20:59:15 +02: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
Robert O'Callahan a7b4f1246b 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 1628ea1551 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 c510bc3046 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 507be0258e 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 2cc302e02c 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 cccdef8b2f 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 bd51cb9b94 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 4b1168a59f Bug 637864 - Give nsIViewManager::GetRootView a sane signature; r=bz 2011-03-29 22:24:54 -04:00
Neil Deakin 4127d3b0af Bug 632953 - Clear mouse capture after window resize completes. r=jimm 2011-03-25 18:17:35 -05: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
Timothy Nikkel 13df36f1ff 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 125805c748 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 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
Mats Palmgren 17db907c28 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 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
Taras Glek 211f19c661 Bug 625478 - Fix first paint timestamp on OSX and Android r=tn a=Mossop 2011-01-13 20:03:42 -08:00
Taras Glek 0bdb9c87a0 Bug 522375 - built-in startup time measurement r=vlad a=Mossop 2011-01-13 12:18:51 -08:00
Ehsan Akhgari 70883a0724 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 045b59fd77 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 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
Daniel Holbert 31139a4e1e Bug 603731: Remove unused variable from nsViewManager.cpp. r=tn a=joe 2010-10-14 09:12:56 -07:00
Masatoshi Kimura 28f9c1460d Bug 593577 - Get rid of nsContentType. r=roc a=a 2010-09-20 15:40:13 +02:00
Mats Palmgren ecf868198c 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 bdfed9190d 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