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
Robert O'Callahan
3eb581d57a
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
1f34543f41
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
b18c3838c6
Bug 594267. Don't call WillPaint on hidden documents. r=bzbarsky a=roc
2010-09-11 13:24:50 -05:00
Timothy Nikkel
447ae6f4c6
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
f04c0c661b
Backing out bug 449734 due to unexpected orange. a=ted
2010-09-03 18:13:49 +02:00
Mats Palmgren
842363cdb7
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
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
Timothy Nikkel
ad69b8103e
Bug 587542. Rev IID that was forgotten.
2010-08-21 19:55:55 -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