Commit Graph

126 Commits

Author SHA1 Message Date
Martin Stransky
dcfdc43973 Bug 878781 - Port GTK2 to GTK3 - widget minor fixes. r=karlt 2013-06-04 08:23:29 -04:00
Timothy Arceri
e3a11dcced Bug 877409 - Replace depreciated GDK_ROOT_PARENT(). r=karlt 2013-05-31 11:48:33 -04:00
Markus Stange
66fb5cfd84 Bug 676241 part 8: Remove alternate layer manager handling. r=mattwoodrow 2013-05-23 16:49:18 +02:00
Matt Woodrow
54f929622f Bug 868259 - Followup to fix gtk2 compile. CLOSED TREE 2013-05-10 09:10:45 +12:00
Matt Woodrow
5ae991f717 Bug 868259 - Fix BasicCompositor rendering. r=roc 2013-05-10 09:02:50 +12:00
Matt Woodrow
89f2a66432 Bug 867474 - Split BasicShadowableLayerManager into a separate ClientLayerManager. r=nrc
--HG--
rename : gfx/layers/basic/BasicCanvasLayer.cpp => gfx/layers/CopyableCanvasLayer.cpp
rename : gfx/layers/basic/BasicCanvasLayer.h => gfx/layers/CopyableCanvasLayer.h
rename : gfx/layers/basic/BasicCanvasLayer.cpp => gfx/layers/client/ClientCanvasLayer.cpp
rename : gfx/layers/basic/BasicCanvasLayer.h => gfx/layers/client/ClientCanvasLayer.h
rename : gfx/layers/basic/BasicColorLayer.cpp => gfx/layers/client/ClientColorLayer.cpp
rename : gfx/layers/basic/BasicContainerLayer.cpp => gfx/layers/client/ClientContainerLayer.cpp
rename : gfx/layers/basic/BasicContainerLayer.h => gfx/layers/client/ClientContainerLayer.h
rename : gfx/layers/basic/BasicImageLayer.cpp => gfx/layers/client/ClientImageLayer.cpp
rename : gfx/layers/basic/BasicLayerManager.cpp => gfx/layers/client/ClientLayerManager.cpp
rename : gfx/layers/basic/BasicLayers.h => gfx/layers/client/ClientLayerManager.h
rename : gfx/layers/basic/BasicThebesLayer.cpp => gfx/layers/client/ClientThebesLayer.cpp
rename : gfx/layers/basic/BasicThebesLayer.h => gfx/layers/client/ClientThebesLayer.h
rename : gfx/layers/basic/BasicTiledThebesLayer.cpp => gfx/layers/client/ClientTiledThebesLayer.cpp
rename : gfx/layers/basic/BasicTiledThebesLayer.h => gfx/layers/client/ClientTiledThebesLayer.h
2013-05-01 17:03:25 +12:00
Aryeh Gregor
659b807986 Bug 859817 - Remove implicit conversions from raw pointer to already_AddRefed; r=Ms2ger 2013-04-22 14:15:59 +03:00
Nicolas Silva
391cf268bb Bug 863324 - Rename PLayers into PLayerTransaction, r=jrmuizel
--HG--
rename : gfx/layers/ipc/ShadowLayersChild.cpp => gfx/layers/ipc/LayerTransactionChild.cpp
rename : gfx/layers/ipc/ShadowLayersChild.h => gfx/layers/ipc/LayerTransactionChild.h
rename : gfx/layers/ipc/ShadowLayersParent.cpp => gfx/layers/ipc/LayerTransactionParent.cpp
rename : gfx/layers/ipc/ShadowLayersParent.h => gfx/layers/ipc/LayerTransactionParent.h
rename : gfx/layers/ipc/PLayers.ipdl => gfx/layers/ipc/PLayerTransaction.ipdl
2013-04-24 14:42:40 -04:00
Jonathan Kew
c9148497c8 bug 861403 - fix mixing of device pixels with global display pixels in MoveClient and ResizeClient calculations. r=roc 2013-04-15 13:17:22 +01:00
Jonathan Kew
174ccacffb bug 861112 - (widget/gtk2) scaling from display to device pixels should only apply to top-level windows/dialogs/popups, not to child or plugin windows. r=roc 2013-04-13 08:53:47 +01:00
Bas Schouten
341383c413 Bug 825928: Land layers refactoring. r=jrmuizel,bas,nical,mattwoodrow,roc,nrc,benwa,bjacob,jgilbert,kchen CLOSED TREE
Please contact Bas Schouten <bschouten@mozilla.com>, Nicolas Silva <nsilva@mozilla.com> or Nicholas Cameron <ncameron@mozilla.com> with general questions. Below is a rough list of authors to contact with specific questions.

Authors:
gfx/layers/Compositor.* gfx/layers/Effects.h - Compositor Interface - bas,nrc,nical
gfx/layers/d3d* - D3D9/D3D10 - bas
gfx/layers/ThebesLayer* - ThebesLayers - nrc,bas
gfx/layers/composite/* - CompositeLayers - nrc,nical
gfx/layers/client/* - Client - nrc,nical,bas
gfx/layers/*Image* - nical
gfx/layers/ipc ipc - IPC - nical
gfx/layers/opengl - CompositorOGL - nrc,nical
gfx/2d - bas,nrc
gfx/gl - GLContext - bjacob
dom/* layout/* - DOM - mattwoodrow
2013-04-10 09:20:52 +00:00
Jonathan Kew
7e4f881d1b bug 840881 - apply widget's default scale factor in widget/gtk2/nsWindow move & resize methods. r=roc 2013-04-08 08:52:23 +01:00
Masayuki Nakano
60a3db0eee Bug 558976 part.4 Implement nsIWidget::NotifyIME() on GTK r=karlt 2013-03-06 15:14:34 +09:00
Robert O'Callahan
05e24fd045 Bug 826817. Part 3: Remove will-send-did-paint flag from nsIWidgetListener::WillPaintWindow. r=tnikkel 2013-01-28 13:34:08 -06:00
Robert O'Callahan
d9789d372b Bug 826817. Part 2: Remove will-send-did-paint and did-send-will-paint flags from nsIWidgetListener::PaintWindow. r=tnikkel 2013-01-28 13:34:06 -06:00
Mats Palmgren
6c53161814 Bug 786533 - Replace NS_MIN/NS_MAX with std::min/std::max and #include <algorithm> where needed. r=ehsan 2013-01-15 13:22:03 +01:00
Karl Tomlinson
a272e613db b=821749 remove unnecessary mTransientParent r=roc
--HG--
extra : transplant_source : %D9E%BD%F12%0E%B8U%EB%98%D3%B4%CD%D4%AC/%E5%A9%A6%05
2013-01-03 09:44:19 +13:00
Karl Tomlinson
e49a95aa47 b=821749 remove mWindowGroup, handled by gtk_window_set_transient_for r=roc
--HG--
extra : transplant_source : %AF%E2%D5_h%7B%2A%B2%BCQ%88%CD%1E%DEfq%E7%3B%3E%04
2013-01-03 09:44:12 +13:00
Karl Tomlinson
ec0bdbbe62 b=821749 remove code to give transient-for-none dialogs a separate ICCCM group leader r=roc
This reverts the change for bug 194323, which is now no longer necessary.
Removing this means that the GtkWindow is realized with its event mask set and
oxygen-gtk knows to keep out of our way.

--HG--
extra : transplant_source : %81%A4%C3o%A7%EF%91y%B8%E2%B1%FE%A9%F3v/%0A%CF%2A-
2013-01-03 09:44:06 +13:00
Jim Mathies
bf0ef59040 Bug 819888 - Check the result of nsBaseWidget::GetActiveRollupListener. r=enndeakin 2012-12-31 11:27:04 -06:00
Masayuki Nakano
e26d8738b2 Bug 813445 part.5 Remove NS_EVENT_FLAG_NO_DEFAULT and NS_EVENT_FLAG_NO_DEFAULT_CALLED_IN_CONTENT r=smaug 2012-12-16 10:26:04 +09:00
Timothy Nikkel
4f9b3f73f8 Bug 805745. WillPaint notification can flush, so re-get the listener after it on GTK2 widget backend. r=karlt 2012-12-12 15:57:08 -06:00
Jonathan Kew
aa8404a74a bug 819725 pt 1 - make widget move & resize methods take floating-point parameters, to allow passing fractional coordinates without rounding. r=roc 2012-12-12 09:57:38 +00:00
Trevor Saunders
580ff17032 bug 817133 - move platform init and shutdown stuff out of nsAccessNodeWrap and ApplicationAccessibleWrap static methods r=surkov 2012-12-01 19:58:25 -05:00
Karl Tomlinson
2a37cefc14 b=813997 keep window max size to 16 bits r=roc
--HG--
extra : transplant_source : %DB%AA%25%1A6%B8%8F%23%EF%F3%F8%AD%14%C3%B6%87%BE0%D8i
2012-11-28 11:07:11 +13:00
Alexander Surkov
681c1939e2 Bug 812466 - namespacify Accessible classes, r=tbsaunde 2012-11-18 11:01:44 +09:00
Karl Tomlinson
49def0fe36 b=808114 don't hide mContainer in toplevels, to keep a focus widget for grabs r=roc
--HG--
extra : transplant_source : %8F%FC%95%EEa0%F0%08%A7Yi%80%C0b%06%BE%3Dg%DEY
2012-11-14 23:22:07 -08:00
Karl Tomlinson
f779bed777 b=798157 use ARGB visuals only for popups that will be translucent r=roc
--HG--
extra : transplant_source : %87%9FFG%FA%9E%1D%12i%1C%B9%93%E5%F4%85%C8s%02%7B7
2012-11-13 18:04:42 -08:00
Todd Whiteman
f8382cceca b=809601 correct drag and drop event coords when over child windows r=karlt
--HG--
extra : transplant_source : %FD%BBAYt%96G%D5_%1C%F4D%8F_%40%2C%E6%DA%60%7C
2012-11-13 18:03:01 -08:00
Masayuki Nakano
0f83ed44e6 Bug 805767 part.3 Remove hack for bug 496360 r=roc 2012-11-13 22:04:45 +09:00
Karl Tomlinson
a5edb2d76f b=808873 restore null check on gFocusWindow accidentally dropped in dfe49308dc99 r=trivial
--HG--
extra : transplant_source : n5S%82%B8n%18h%FD%86%A4%D9%19%96%D1%29%20%02%0D%CE
2012-11-07 18:05:01 +13:00
Karl Tomlinson
c553a32f09 b=808873 return toplevel GtkWidget for NS_NATIVE_SHELLWIDGET and use it r=roc
--HG--
extra : transplant_source : _gK%D6%5D%96%1A%3A%3A%21j%40E%09%FF%84%D3%8F%C6%A5
2012-11-07 10:50:37 +13:00
Karl Tomlinson
b2a7ad7d3b b=746775 log CaptureRollupEvents parameters r=roc
--HG--
extra : transplant_source : %1F%2A-h%A1%B4C%8FsnH%02L%DD%B0%25%AE%B5%22%9F
2012-10-31 15:44:46 +13:00
Karl Tomlinson
9f9868640e Bug 707623 - gtk_grab_add(mShell) instead of (mContainer) to avoid double key event dispatch r=roc, feedback=mconley. 2012-10-30 11:49:10 -04:00
Jacek Szpot
0b35b0e3d8 Bug 792180 - Replace NS_{UN,}LIKELY with MOZ_{UN,}LIKELY; r=ehsan 2012-10-26 15:32:10 +02:00
Mike Conley
9eb3320182 Bug 746775 - Clicks to close a context-menu in a panel are also consumed by the panel. r=jmathies,enndeakin. 2012-10-29 12:54:52 -04:00
Masayuki Nakano
458de7a8e2 Bug 801989 part.3 Set InputContext::mNativeIMEContext on Linux r=karlt 2012-10-27 08:35:21 +09:00
Neil Deakin
c56bc18541 Bug 701760, merge <select> and popup manager rollup handling, so that select elements don't cancel out any popup rollup listeners, r=mats 2012-10-26 09:15:22 -04:00
Karl Tomlinson
71316ceb81 b=793501 attach DocumentViewer to top GTK widget r=roc
--HG--
extra : transplant_source : F%94%EC%07%23%7B2L%BCr%28%C5%088%06%FD%CD%9A%BAe
2012-10-23 11:46:45 +13:00
Karl Tomlinson
901b0f8955 b=793501 invalidate new regions of even toplevel resized windows r=roc
--HG--
extra : transplant_source : %F1%A6%EDiKo%13%8D%8B%F5%7E%F9%2A%D2%D6%AC_%CA%ED%90
2012-10-23 11:40:50 +13:00
Karl Tomlinson
4e81966a64 b=793501 don't log child window XIDs as this has the side effect of creating X Windows early r=roc
--HG--
extra : transplant_source : -%3AP%3F%8F4V%F3%C2K%B7s%89%DA%0D%3A%DC6O%97
2012-10-23 11:40:24 +13:00
Karl Tomlinson
b98d6b1b6f b=793501 don't use a separate GdkWindow for MozContainer (unless necessary) r=roc
--HG--
extra : transplant_source : %FA1%A7%EA%3D%D8a%87%F4%E0%93%9FeP%89%EB%DD%DAI%12
2012-10-23 11:39:59 +13:00
Karl Tomlinson
4b6aa777d3 b=793501 remove unused event handler parameters r=roc
--HG--
extra : transplant_source : %E9%E8%FD1/%11u6%A2C%91%0B%5C%BA%C0P%E2%17S%09
2012-10-23 11:33:30 +13:00
Karl Tomlinson
6c99c8db59 b=793501 set gFocusWindow on fallback instead of early, which interfered with container window focus change detection in SetFocus() r=roc
--HG--
extra : transplant_source : %AD%07%A7%EB/%D6M%F3i%21%85d%8D%E8%92K%D6%1D%1F8
2012-10-23 11:31:53 +13:00
Matt Woodrow
32f9e8cdc6 Bug 797431 - Add a flags parameter to PaintWindow. r=roc 2012-10-15 17:53:37 +13:00
Karl Tomlinson
715821d96f b=408284 don't shape for transparency on ARGB windows r=roc
--HG--
extra : rebase_source : d4e07ba252b1ec13c887ecab2f06361752890b3b
2012-10-03 19:53:57 +13:00
Chris Coulson
cfe99b66eb b=408284 use ARGB visuals for popup windows when window manager is compositing r=karlt
--HG--
extra : rebase_source : c562667491b564562f5350a9b8a5f0b7d882be7e
2012-10-03 19:53:53 +13:00
Karl Tomlinson
0d97afb958 b=408284 clear transparency bitmap when window is hidden r=roc
--HG--
extra : rebase_source : ac16e4b25da2684fd7fd80a6d16ceb2ae2d4caaf
2012-10-03 11:37:06 +13:00
Karl Tomlinson
c8b1517414 b=408284 no need to apply transparency bitmap on each show r=roc
--HG--
extra : rebase_source : 5f75d84bbf2ae142f85287da0b1998219fe4585e
2012-10-03 11:36:08 +13:00
Karl Tomlinson
142125172b b=795812 shape out translucent windows where alpha < 1/2 r=roc
--HG--
extra : rebase_source : 86d6d748e7e87ab527b8ee88e3dee1abb16133be
2012-10-03 11:35:28 +13:00