Robert O'Callahan
e25c1519f1
Bug 826632. Part 3: Create nsViewManagers directly instead of using XPCOM. r=tnikkel
...
--HG--
extra : rebase_source : f85da22ada991035fbb7116a993898dd0801663d
2013-01-05 16:12:49 +13:00
Robert O'Callahan
4464dc950d
Bug 826632. Part 2: Use nsRefPtr<nsViewManager> instead of nsCOMPtr. r=tnikkel
...
--HG--
rename : view/public/nsIViewManager.h => view/public/nsViewManager.h
extra : rebase_source : c9eabd54bb43d711a8c24222620abfdde674a1f7
2013-01-05 16:12:42 +13:00
Robert O'Callahan
0bda13504b
Bug 826632. Part 1: Merge nsIViewManager into nsViewManager. r=tnikkel
...
--HG--
rename : view/public/nsIViewManager.h => view/public/nsViewManager.h
extra : rebase_source : 85587555e1f202809cd39fe899570644e6ca4eb3
2013-01-05 16:12:24 +13:00
Robert O'Callahan
1781533dc3
Bug 825866. Part 9: Remove Set/GetViewFlags since they're unused. r=tnikkel
2013-01-04 02:23:12 +13:00
Robert O'Callahan
943cb99eff
Bug 825866. Part 8: Mass-rename of nsIView to nsView. r=tnikkel
...
This was autogenerated by basically replacing all occurrences of the word "nsIView" with nsView.
--HG--
rename : view/public/nsIView.h => view/public/nsView.h
2013-01-04 02:23:11 +13:00
Robert O'Callahan
904f44d99a
Bug 825866. Part 7: Make a number of nsIView methods private. r=tnikkel
2013-01-04 02:23:10 +13:00
Robert O'Callahan
8d555dc9cf
Bug 825866. Part 6: Annotate nsIWidgetListener method implementations to indicate that they're virtual and must override. r=tnikkel
2013-01-04 02:23:10 +13:00
Robert O'Callahan
2038563463
Bug 825866. Part 5: Remove NS_IMETHOD declarations that aren't needed anymore. r=tnikkel
2013-01-04 02:23:09 +13:00
Robert O'Callahan
66c96058dc
Bug 825866. Part 4: Remove nsIView's IID as it's not needed anymore. r=tnikkel
2013-01-04 02:23:09 +13:00
Robert O'Callahan
23b8f3663a
Bug 825866. Part 3: Remove some unnecessary 'virtual's. r=tnikkel
2013-01-04 02:23:09 +13:00
Robert O'Callahan
23cc02095c
Bug 825866. Part 2: Remove nsIView::ExternalIsRoot, as it's not needed anymore. r=tnikkel
2013-01-04 02:23:09 +13:00
Robert O'Callahan
2ede78e408
Bug 825866. Part 1.5: Remove unnecessary static casts. r=tnikkel
2013-01-04 02:23:08 +13:00
Robert O'Callahan
64d549fd25
Bug 825866. Part 1: Merge nsView into nsIView, making all references to nsView refer to nsIView instead. r=tnikkel
2013-01-04 02:23:08 +13:00
Matt Woodrow
3d78c0f3e8
Bug 797431 - Add 'alternate paint' flag to PaintWindow, and don't clear ForcedRepaint on the view when it is set. r=roc
2012-10-15 17:53:37 +13:00
Matt Woodrow
89e3cced95
Bug 787148 - Force synchronous repainting when the document state changes. r=roc
2012-09-12 09:17:26 +12:00
Ehsan Akhgari
e368dc9c85
Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
...
This patch was generated by a script. Here's the source of the script for
future reference:
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t
convert PRIntn int
convert PRUintn unsigned
convert PRSize size_t
convert PROffset32 int32_t
convert PROffset64 int64_t
convert PRPtrdiff ptrdiff_t
convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Neil Deakin
6b29afdf4b
Bug 743975 - remove the event handler argument to widget creation methods, r=tn
2012-08-15 14:53:09 -04:00
Timothy Nikkel
01ef5b44a8
Bug 782878. Remove weak views. r=roc
2012-08-15 09:43:11 -05:00
David Zbarsky
03039446fa
[Bug 780428] Don't include nsIFrame.h in places where it's not necessary r=roc
2012-08-05 23:00:56 -04:00
Mike Hommey
70d7c821af
Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted
2012-08-04 20:26:44 +02:00
Aryeh Gregor
d0ad5a7d0c
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
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
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
Markus Stange
732a9f3ee7
Bug 598482 part 22 - Bump nsIViewManager UUID. r=roc
2011-12-23 22:52:26 -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
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
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
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
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
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
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
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
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
136f7cd4dd
Bug 598482 part 2 - Remove synchronous painting APIs from nsIViewManager. r=roc
2011-12-23 22:52:21 -05: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
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
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
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
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
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
Zack Weinberg
3929b6bfdd
Bug 651017, part 5: mechanical changes.
...
--HG--
extra : rebase_source : 8bbdf48488736b51d05e734e2e9316c1460cfed5
2011-04-16 18:22:44 -07: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
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
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
Chris Jones
7155968a31
Bug 593243: Clip invalidations to the displayport when one is set. r=tn
2011-03-11 17:12:11 -06: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
Masatoshi Kimura
28f9c1460d
Bug 593577 - Get rid of nsContentType. r=roc a=a
2010-09-20 15:40:13 +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
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
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
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
Timothy Nikkel
4ce442895c
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
2c088ca165
Bug 575336 part 1. Make sure to update the size of the current prescontext on style flush, so that media queries do the right thing. r=roc
2010-08-05 14:39:39 -04:00
Timothy Nikkel
ecb1228db4
Bug 563878. Part 12. Change the view observer interface and overhaul painting in view/. r=mats f=roc
2010-07-18 21:23:47 -05:00
Timothy Nikkel
3a7624111e
Bug 563878. Part 10. Overhaul generic parts of view/ to handle non-constant zoom view manager hierarchies. r=mats
2010-07-18 21:23:47 -05:00
Robert O'Callahan
00c5b11afa
Bug 564991. Part 27: Make plugin geometry changes asynchronous and make them happen as close to the final paint as possible. r=matspal,sr=vlad
2010-07-16 09:08:08 +12:00
Robert O'Callahan
c996ab4fc3
Bug 572900. Part 1: Remove view cruft that's not needed now that scrolling is layer-based. r=tnikkel
2010-07-16 09:08:06 +12:00
Timothy Nikkel
66ff344afd
Bug 563878. Part 9. Remove nsIView::GetScreenPosition because it is unused. r=mats
2010-06-25 16:51:17 -05:00
Timothy Nikkel
14a8952bb9
Bug 563878. Part 8. Remove workaround from ViewToWidgetOffset because it is not needed anymore. r=roc
2010-06-25 16:51:17 -05:00
Jim Mathies
8c631afae5
Bug 513162 - Widget additions for recycling top level widgets as content containers. r=dbaron.
2010-06-24 21:01:06 -05:00
Robert O'Callahan
a1ec90a1a8
Bug 556052. Compute mViewToWidgetOffset correctly and fix bugs by adding subpixel translation when painting. r=mats
2010-04-23 12:21:54 +12:00
Robert O'Callahan
4600eb89a8
Bug 546071. Compute view-to-widget offset for plugin views. r=mats
...
--HG--
extra : rebase_source : 483afc3b0d00f5fd6685f760b6ad358a94a7c9ba
2010-02-24 00:33:41 -08:00
Robert O'Callahan
c8e9db9062
Backed out changeset 78318b260f18
2010-03-05 20:05:33 +13:00
Robert O'Callahan
d4122472d6
Bug 546071. Compute view-to-widget offset for plugin views. r=mats
2010-02-24 00:33:41 -08:00
Robert O'Callahan
ff44c3c9e3
Bug 534425. Part 6: Let nsIWidgets expose a LayerManager to be used to render into the widget, instead of nsPaintEvent::renderingContext which is removed since it's no longer needed. Currently all widgets fall back to a default BasicLayerManager implementation. Also change nsPaintEvent::region to be an nsIntRegion, and get rid of nsPaintEvent::rect since it's redundant.
2010-03-01 21:03:49 +13:00
Timothy Nikkel
895e60343d
Bug 545593. Remove nsViewManager::Enable/DisableRefresh. r=roc
2010-02-18 13:23:23 -06:00
Timothy Nikkel
0483c805d9
Backed out changeset 93c7b23284b8 (Bug 545593) for causing Md oth failures on linux.
2010-02-12 16:46:04 -06:00
Timothy Nikkel
4f8c3bd548
Bug 545593. Remove nsViewManager::Enable/DisableRefresh. r=roc
...
--HG--
extra : rebase_source : 963053b0f3d5712308b53c665dddcedae08a2b21
2010-02-11 18:14:59 -06:00
Timothy Nikkel
6c427678c3
Bug 488771. Stop nsIScrollPositionListener from inheriting from nsISupports. r=roc
...
--HG--
extra : rebase_source : bb93c56b3347bc8df7fd843f08e2d5dfc4f3071b
2010-01-28 18:03:42 -06:00
Robert O'Callahan
393faec388
Bug 526394. Part 33: Remove nsScrollPortView etc. r=mats
2010-01-12 10:45:20 +13:00
Robert O'Callahan
96a17b8b42
Bug 526394. Part 32: Remove code that only existed so that scrollframes could have views. r=mats
2010-01-12 10:45:19 +13:00
Robert O'Callahan
0de717dfb6
Bug 526394. Part 31: Move scroll implementation into nsGfxScrollFrame. r=mats
2009-10-08 16:01:15 +13:00
Robert O'Callahan
7cd6b9032a
Bug 526394. Part 21: Remove nsIViewManager RootScrollableView APIs, and move GetRectVisibility to nsIPresShell. r=mats
2009-09-09 17:40:02 +12:00
Robert O'Callahan
f5f950e7b8
Bug 526394. Part 19: Remove view paramters from nsIScrollPositionListener. r=mats
2009-09-09 17:40:01 +12:00
Robert O'Callahan
1da8163981
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
Neil Deakin
51b0e867e6
Bug 503943, add mouse capturing api to elements, remove capturing from views, r=roc,sr=smaug
2009-09-13 09:13:16 -04:00
Neil Deakin
cef5702d08
Bug 503943, back out mouse capture patch, CLOSED TREE
2009-09-10 12:11:41 -04:00
Neil Deakin
6d007b6255
Bug 503943, add mouse capturing api to elements, remove capturing from views, r=roc,sr=smaug
2009-09-10 08:51:36 -04:00
Robert O'Callahan
b8e126f83c
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
Robert O'Callahan
cc3fc234ee
Bug 506615. XUL decks should not have wididgets. r=dbaron
2009-07-30 14:54:42 +12:00