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

350 Коммитов

Автор SHA1 Сообщение Дата
Bas Schouten 8ea007d683 Bug 1210560 - Part 7: Convert GTK widget code to use Moz2D instead of PushGroup/PopGroup. r=jwatt 2015-11-11 16:15:40 +01:00
Nicholas Nethercote ad0dd8414a Bug 1223310 (part 2) - Use LayoutDeviceIntRect for bounds-related functions in nsIWidget. r=kats.
The patch renames the existing functions (GetBounds(), GetClientBounds(), etc)
by adding an |Untyped| suffix. It then adds typed equivalents, and uses those
typed equivalents in all the call sites where it's easy to do so. The trickier
remaining call sites are converted to use the Untyped-suffix version.

--HG--
extra : rebase_source : 6bfb15bfc4698e2eba7d4db55497299d3dffcd51
2015-11-09 21:37:32 -08:00
Nicholas Nethercote ab7974e9a5 Bug 1222943 (part 1) - Change Touch::mRadius from nsIntPoint to LayoutDeviceIntPoint. r=kats.
This adds a three missing unit conversions for touch radii.

--HG--
extra : rebase_source : 353494783099ed0520cc69ae691a4cf5360c9b20
2015-11-09 21:37:31 -08:00
Nathan Froyd e763192040 Bug 1216611 - add mozilla::MakeUniqueFallible and convert uses throughout the tree; r=Waldo 2015-11-05 16:24:24 -05:00
Bill McCloskey 253fd15a51 Bug 1218552 - Fix GTK drag-and-drop coordinate scaling on HiDPI displays (r=karlt) 2015-11-04 13:40:15 -08:00
Nathan Froyd e255b900f5 Bug 1220392 - use UniquePtr<T[]> instead of nsAutoArrayPtr<T> in widget/; r=roc 2015-10-30 14:35:28 -04:00
Wes Kocher 5f4bea7be9 Backed out changeset 47d076aeb8c4 (bug 1218552) for build bustage CLOSED TREE
--HG--
extra : commitid : 6iivEDq5EWc
2015-10-30 13:37:50 -07:00
Bill McCloskey 1c7268802f Bug 1218552 - Fix GTK drag-and-drop coordinate scaling on HiDPI displays (r=karlt) 2015-10-30 13:01:58 -07:00
Benoit Girard 698006ddf9 Bug 1211612 - Add DragInputBlock for async scrollbars. r=kats
--HG--
extra : commitid : Grx9aF2UvH2
extra : rebase_source : ea2601a2a3ac2870383fa86d8e7bd90342424ce1
2015-10-26 16:06:49 -04:00
Robert O'Callahan 941a7115cd Bug 978679. Convert GDK touch event coordinates properly. r=karlt
--HG--
extra : commitid : 7fYbzS8U8OD
extra : rebase_source : 0a97ccf94d9a98390c6911b71eec6d8f4c1cbf08
2015-10-22 17:06:14 +13:00
Makoto Kato 26c8790fb2 Bug 978679. Implement touch events for GTK3. r=karlt
--HG--
extra : commitid : 7Sm7XcTb8Do
extra : rebase_source : c10ad90f03b90eb34349edc80be110b90cc2a663
2015-04-30 08:29:34 +12:00
Carsten "Tomcat" Book 81454198ef Backed out changeset 2f909d41108b (bug 978679) for bustage on a CLOSED TREE 2015-10-19 13:22:55 +02:00
Makato Kato 5a68a1b8d5 Bug 978679 - Implement touch events for GTK3. r=karlt
--HG--
extra : commitid : 2tbZZf41zmN
extra : rebase_source : d861252c9bf78b6ffd68dd2c7f14fbf4ef5afdf1
2015-10-19 23:04:52 +13:00
Nathan Froyd 01583602a9 Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout.  The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.

CLOSED TREE makes big refactorings like this a piece of cake.

 # The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
    xargs perl -p -i -e '
 s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
 s/nsRefPtr ?</RefPtr</g;   # handle declarations and variables
'

 # Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h

 # Handle nsRefPtr.h itself, a couple places that define constructors
 # from nsRefPtr, and code generators specially.  We do this here, rather
 # than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
 # things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
     mfbt/nsRefPtr.h \
     xpcom/glue/nsCOMPtr.h \
     xpcom/base/OwningNonNull.h \
     ipc/ipdl/ipdl/lower.py \
     ipc/ipdl/ipdl/builtin.py \
     dom/bindings/Codegen.py \
     python/lldbutils/lldbutils/utils.py

 # In our indiscriminate substitution above, we renamed
 # nsRefPtrGetterAddRefs, the class behind getter_AddRefs.  Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
    xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'

if [ -d .git ]; then
    git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
    hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi

--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Nathan Froyd 583afa0965 Bug 1207245 - part 3 - switch all uses of mozilla::RefPtr<T> to nsRefPtr<T>; r=ehsan
This commit was generated using the following script, executed at the
top level of a typical source code checkout.

 # Don't modify select files in mfbt/ because it's not worth trying to
 # tease out the dependencies currently.
 #
 # Don't modify anything in media/gmp-clearkey/0.1/ because those files
 # use their own RefPtr, defined in their own RefCounted.h.
find . -name '*.cpp' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
    grep -v 'mfbt/RefPtr.h' | \
    grep -v 'mfbt/nsRefPtr.h' | \
    grep -v 'mfbt/RefCounted.h' | \
    grep -v 'media/gmp-clearkey/0.1/' | \
    xargs perl -p -i -e '
 s/mozilla::RefPtr/nsRefPtr/g; # handle declarations in headers
 s/\bRefPtr</nsRefPtr</g; # handle local variables in functions
 s#mozilla/RefPtr.h#mozilla/nsRefPtr.h#; # handle #includes
 s#mfbt/RefPtr.h#mfbt/nsRefPtr.h#;       # handle strange #includes
'

 # |using mozilla::RefPtr;| is OK; |using nsRefPtr;| is invalid syntax.
find . -name '*.cpp' -o -name '*.mm' | xargs sed -i -e '/using nsRefPtr/d'

 # RefPtr.h used |byRef| for dealing with COM-style outparams.
 # nsRefPtr.h uses |getter_AddRefs|.
 # Fixup that mismatch.
find . -name '*.cpp' -o -name '*.h'| \
    xargs perl -p -i -e 's/byRef/getter_AddRefs/g'
2015-10-18 00:40:10 -04:00
Andrew Comminos ffd56892f2 Bug 1209774 - Transform from GDK coords to layout device pixels before calling DispatchEvent. r=karlt 2015-10-13 19:14:54 -07:00
Martin Stransky 5a246716d1 Bug 1210249 - don't mess with toplevel widget when client side decorations are enabled. r=karlt 2015-10-12 09:56:00 +02:00
Lee Salzman 17a52110f3 Bug 1196494 - part 2: only update nsWindow client offset when _NET_FRAME_EXTENTS property actually changes. r=eihrul 2015-10-09 09:24:48 -04:00
Andrew Comminos 38adbbea67 Revert "Bug 1209774 - Transform from GDK coords to layout device pixels before calling DispatchEvent. r=karlt"
This reverts commit bc5ba9c53f2a2c08a17b028c0aa8ff24e35847b6.
2015-10-09 09:36:13 -07:00
Andrew Comminos b591904211 Bug 1209774 - Transform from GDK coords to layout device pixels before calling DispatchEvent. r=karlt 2015-10-09 09:22:38 -07:00
Nicholas Nethercote 342466f878 Bug 1208345 - Remove gfxContext::GraphicsOperator. r=jwatt.
Also...

- Rename various "operator" identifiers as "op" to match |CompositionOp|.

- Rename |nsBackgroundLayerState::mCompositingOp| as |mCompositionOp| to match
  |CompositionOp|.

- Remove some deprecated functions that are no longer needed.

--HG--
extra : rebase_source : 74e9b6eecf6f442e27cc18fd4ae6f668a45188aa
2015-09-24 22:38:58 -07:00
Martin Stransky 952a7c1bfd Bug 1195002 - draw to MozContainer window to allow GTK to draw decorations, r=karlt 2015-09-24 04:50:00 +02:00
Nicholas Nethercote 842dd1cf5a Bug 1207741 - Remove gfxIntSize. r=nical.
gfxIntSize is just a typedef of gfx::IntSize, so this is very mechanical. The
only tricky part is deciding for each occurrence whether to replace it with
IntSize, gfx::IntSize or mozilla::gfx::IntSize; in all cases I went with the
shortest one that worked given the existing "using namespace" declarations.

--HG--
extra : rebase_source : 67fd15f87222b16defa70ef795c6d77dfacf1c36
2015-09-23 11:49:05 -07:00
Wes Kocher 407f41a2b0 Backed out changeset 1f327c67db57 (bug 1195002) for likely breaking ASAN/mulet tests CLOSED TREE 2015-09-23 09:28:51 -07:00
Martin Stransky 6e2baa8bd8 Bug 1195002 - "titlebar overlaps chrome UI on Linux Elementary OS Freya / with GTK_CSD (Gtk3)". r=karlt 2015-09-23 00:58:00 +02:00
Karl Tomlinson 4ebdbb181a bug 1206564 skip copying of listeners r=roc
--HG--
extra : rebase_source : 04eeacb4ae74459c6963f3bfcacca920974fda2c
2015-09-19 00:51:03 +12:00
Lee Salzman 4fbc44de5a Bug 1205045 - remove GTK calls from compositor thread. r=jmuizelaar 2015-09-15 16:46:39 -04:00
Nicolas Silva 9d2f48b66c Bug 1156182 - Prevent widgets from creating a LayerManager during shutdown. r=sotaro 2015-09-15 17:58:06 +02:00
Robert O'Callahan 64f64d5592 Bug 1191293. Remove harmless assertion that is triggered by GTK3. r=masayuki
--HG--
extra : commitid : 7Lvn48kMqt6
extra : rebase_source : 6de29b34800555f4cfca78260fd784f6b54f89e5
2015-08-31 15:11:04 +12:00
Masayuki Nakano ed4dac1ca6 Bug 895274 part.193 Rename NS_COMPOSITION_CHANGE to eCompositionChange r=smaug 2015-09-11 21:21:27 +09:00
Masayuki Nakano 6b885d1496 Bug 895274 part.184 Rename NS_WHEEL_WHEEL to eWheel r=smaug 2015-09-11 01:59:54 +09:00
Masayuki Nakano ac6c3eb8f7 Bug 895274 part.168 Rename NS_CONTENT_COMMAND_REDO to eContentCommandRedo r=smaug 2015-09-11 01:59:53 +09:00
Masayuki Nakano a8efbc56fa Bug 895274 part.167 Rename NS_CONTENT_COMMAND_UNDO to eContentCommandUndo r=smaug 2015-09-11 01:59:53 +09:00
Masayuki Nakano 62ac576782 Bug 895274 part.165 Rename NS_CONTENT_COMMAND_PASTE to eContentCommandPaste r=smaug 2015-09-11 01:59:52 +09:00
Masayuki Nakano 45c425c6fb Bug 895274 part.164 Rename NS_CONTENT_COMMAND_COPY to eContentCommandCopy r=smaug 2015-09-11 01:59:52 +09:00
Masayuki Nakano 639ddbf13f Bug 895274 part.163 Rename NS_CONTENT_COMMAND_CUT to eContentCommandCut r=smaug 2015-09-11 01:59:52 +09:00
Masayuki Nakano a8fd5ffc76 Bug 895274 part.152 Rename NS_QUERY_SELECTED_TEXT to eQuerySelectedText r=smaug 2015-09-10 10:40:05 +09:00
Masayuki Nakano 811d0fac7e Bug 895274 part.81 Rename NS_DRAGDROP_OVER to eDragOver r=smaug 2015-09-02 15:08:02 +09:00
Masayuki Nakano cafe2dfc67 Bug 895274 part.51 Rename NS_CONTEXTMENU to eContextMenu r=smaug 2015-09-01 00:20:06 +09:00
Xidorn Quan f46a93871a Bug 1196163 part 1 - Use nsSizeMode instead of int32_t for nsIWidget::{SizeMode,SetSizeMode}. r=roc
--HG--
extra : source : cf438b9cb26ae512f792f075e4e22537ad6a38a7
2015-08-29 11:12:41 +10:00
Masayuki Nakano bd4bf17fbd Bug 895274 part.29 Rename NS_MOUSE_EXIT_WIDGET to eMouseExitFromWidget r=smaug 2015-08-29 08:58:31 +09:00
Masayuki Nakano 9895f90eca Bug 895274 part.28 Rename NS_MOUSE_ENTER_WIDGET to eMouseEnterIntoWidget r=smaug 2015-08-29 08:58:31 +09:00
Masayuki Nakano db00b74a82 Bug 895274 part.27 Rename NS_MOUSE_BUTTON_DOWN to eMouseDown r=smaug 2015-08-29 08:58:30 +09:00
Masayuki Nakano 30fdd39afb Bug 895274 part.26 Rename NS_MOUSE_BUTTON_UP to eMouseUp r=smaug 2015-08-29 08:58:30 +09:00
Masayuki Nakano 717c415187 Bug 895274 part.25 Rename NS_MOUSE_MOVE to eMouseMove r=smaug 2015-08-29 08:58:29 +09:00
Masayuki Nakano ba5b3f3fe6 Bug 895274 part.11 Rename NS_KEY_DOWN to eKeyDown r=smaug 2015-08-29 08:58:27 +09:00
Masayuki Nakano 28c9f34179 Bug 895274 part.10 Rename NS_KEY_UP to eKeyUp r=smaug 2015-08-29 08:58:27 +09:00
Masayuki Nakano d311a11cc1 Bug 895274 part.9 Rename NS_KEY_PRESS to eKeyPress r=smaug 2015-08-29 08:58:27 +09:00
Masayuki Nakano 0d22745cda Bug 895274 part.3 Make the enum of event messages a named enum IGNORE IDL r=smaug 2015-08-26 21:56:59 +09:00
Chris Peterson 7d28169642 Bug 1198128 - Fix -Wshadow warnings in widget/gtk. r=karlt 2015-08-23 17:55:09 -07:00
Lee Salzman c864a9b192 Bug 1194397 - Force gdk_window_ensure_native on gdk window creation. r=acomminos
--HG--
extra : rebase_source : 5c40a4fc9f3bef1d1034609e2e6e5f03dc36c88b
2015-08-25 18:42:40 -04:00
Brian Birtles 3ae8210730 Fix bustage from changeset 5c5dc6f367ac (bug 1026803) r=bustage on CLOSED TREE
--HG--
extra : rebase_source : 34d0ad10e3cd76e558ce8792672e3a6289a84edb
2015-08-24 15:24:42 +02:00
Brian Birtles 2a6e6986a9 Bug 1026803 part 8 - Add ability for CurrentX11TimeGetter to perform an asynchronous request of the current time; r=karlt
--HG--
extra : rebase_source : 0f0fa181535e5c0f132cbefc9bc6d3ae2bb69c50
2015-08-12 10:35:38 +09:00
Brian Birtles 68ca603000 Bug 1026803 part 7 - Store the CurrentX11TimeGetter as a member object on nsWindow; r=karlt
In preparation for making CurrentX11TimeGetter capable of performing an
asynchronous request of the current time, this patch revises the lifetime of
such objects so that they are stored on nsWindow.

--HG--
extra : rebase_source : 486c81ad5e64ee6420907babcc97262412ff5caa
2015-08-11 17:13:44 +09:00
Brian Birtles 9a127183cd Bug 1026803 part 5 - Convert CurrentXXXTimeGetter classes from functors to helper classes; r=karlt
Previously the CurrentX11TimeGetter and CurrentWindowsTimeGetter classes acted
as functors with a single operator() method. In preparation for handling clock
skew, this patch refactors these two helper classes into regular classes with
two named methods:

  GetCurrentTime which matches the existing operator() method, and

  GetTimeAsyncForPossibleBackwardsSkew which will be used when possible
  backwards skew is detected to fetch the current time asynchronously.

Some renaming is also included to match the expanded role of these classes.

--HG--
extra : rebase_source : 4d46e09bd09cbb0dbffcb0aa46742157384d37e8
2015-02-19 14:10:00 +09:00
Brian Birtles 1f60d5ca37 Bug 1026803 part 4 - Convert GTK native event times to timestamps; r=karlt
This patch adds a helper class to widgets/gtk/nsWindow.cpp similar to the one in
widgets/windows/nsWindow.cpp and uses it to convert native event times to
mozilla::TimeStamp objects on events returned by this class.

This is similar to the operations performed for Windows native event times that
were added in bug 77992.

--HG--
extra : rebase_source : a6c4769e7da88bb4644edf8954c923a88e1c04fd
2015-08-11 16:40:34 +09:00
Xidorn Quan f63a930fb6 Bug 1190316 - Apply fullscreen transition on only the target monitor. r=roc
--HG--
extra : source : b3015229dd6997970ce2634b6fcf393f2f702e85
2015-08-13 08:53:53 +10:00
Gabor Krizsanits 8996db91c1 Bug 863512 - Fixing xul dnd panels for linux. r=enndeakin 2015-08-05 13:19:44 +02:00
Lee Salzman 7ac4d202b1 Bug 1190935 - Fix race condition in gtk window EndRemoteDrawingInRegion. r=nical 2015-08-06 11:02:03 -04:00
Masayuki Nakano 61074e4e20 Bug 1191213 nsBaseWidget::NotifyWindowMoved() shouldn't notify IME when native IME handler doesn't have focus r=m_kato 2015-08-06 15:57:58 +09:00
Masayuki Nakano b45368f471 Bug 1186017 part.1 Rename nsGtkIMModule to mozilla::widget::IMContextWrapper r=m_kato+kerlt
--HG--
rename : widget/gtk/nsGtkIMModule.cpp => widget/gtk/IMContextWrapper.cpp
rename : widget/gtk/nsGtkIMModule.h => widget/gtk/IMContextWrapper.h
2015-07-27 08:23:04 +09:00
Xidorn Quan 7ec583cc8f Bug 1160014 part 6 - Implement fullscreen transition for GTK. r=roc
--HG--
extra : source : ae8bf45b7efcd297ad92039b5ea6985dbfa725e9
2015-07-24 09:45:00 +10:00
Wes Kocher ff3207dea9 Backed out changeset b3d392163411 (bug 1160014) (Linux part), too CLOSED TREE 2015-07-21 16:54:09 -07:00
Xidorn Quan 1828b64f06 Bug 1160014 part 6 - Implement fullscreen transition for GTK. r=roc
--HG--
extra : source : 2bcd5eb4c07c7ec201a8a023756d3bba18575cdd
2015-07-22 09:07:46 +10:00
Andrew Comminos 3792527c55 Bug 1182972 - Fallback to GTK monitor scale factor when mGdkWindow is null. r=karlt 2015-07-15 20:26:00 -04:00
Karl Tomlinson b90e0e52f5 bug 1182972 no need to pass member variable bounds to NativeResize r=acomminos
--HG--
extra : rebase_source : 5ede1fde53d0747571256e137656c84806f17dbf
2015-07-14 15:24:56 +12:00
Karl Tomlinson 00d0625ec1 bug 1182972 remove mNeedsMove/mNeedsResize logic; instead process changes immediately r=acomminos
--HG--
extra : rebase_source : 11e93975d7334a065c5305ab126f50be0feaedca
2015-07-14 15:23:47 +12:00
Karl Tomlinson 3c97c275f9 bug 1182972 create NativeMove helper method r=acomminos
--HG--
extra : rebase_source : 7a2eb54a0f1892a498251b4553b5f67794fcc365
2015-07-13 14:29:05 +12:00
Karl Tomlinson 055a5d09a9 bug 1182972 remove unused aRepaint parameter from NativeResize methods r=acomminos
--HG--
extra : rebase_source : 8b3f01e7c32e8cb5dc125fdd756e983538a4943d
2015-07-13 13:57:23 +12:00
Andrew Comminos c186e55d71 Bug 1180971 - Fix X11 SHM invalidation regions on HiDPI with GTK3. r=karlt
--HG--
extra : rebase_source : 62d7a80d791cdd7685ae32178610b815745524c5
2015-07-06 16:57:00 +02:00
Karl Tomlinson 41e62ce1ec bug 1180008 don't measure size of decorations for override-redirect windows r=acomminos
--HG--
extra : rebase_source : fee0440498753be5b2c011d7915eb044cff90963
2015-04-21 19:52:00 +12:00
Karl Tomlinson 578ad122af bug 1180008 use mGdkWindow instead of finding it from gtk_widget_get_window(mShell) r=acomminos
Since https://hg.mozilla.org/mozilla-central/rev/9541dbf6e020#l2.184
there is only one GdkWindow per nsWindow.

The mGdkWindow pointer is cleared in OnContainerUnrealize() before the shell
widget destruction completes:
https://hg.mozilla.org/mozilla-central/annotate/50b95032152c/widget/gtk/nsWindow.cpp#l2480

--HG--
extra : rebase_source : fe6da6f16514bbb18f3ab65da3b21a2816bc23a0
2015-04-21 19:06:41 +12:00
Karl Tomlinson ff72a52865 bug 1180008 provide gtk_window_get_window_type for old GTK versions r=glandium
--HG--
extra : rebase_source : c1d1f1778f27152ce2e6470b44d77939f97cb777
2015-04-21 18:17:24 +12:00
Andrew Comminos 3bdf142d83 Bug 1177171 - Round widget coordinates on GTK3. r=karlt
--HG--
extra : rebase_source : ac32281d7251453c5075fc0dc22c7461af5f32f6
2015-06-29 11:50:00 -04:00
Nathan Froyd 974d8120f2 Bug 1161627 - part 2 - machine-convert TemporaryRef<T> to already_AddRefed<T>; r=ehsan
This conversion was done with the script:

  find . -name '*.cpp' -o -name '*.h' -o -name '*.mm' -o -name '*.idl' | \
    egrep -v 'cairo-win32-refptr.h|RefPtr.h|TestRefPtr.cpp' | \
    xargs sed -i -e 's/mozilla::TemporaryRef</already_AddRefed</g' \
                 -e 's/TemporaryRef</already_AddRefed</g'

Manual fixups were performed in the following instances:

- We handled mfbt/RefPtr.h manually so as to not convert TemporaryRef itself
  into already_AddRefed.

- The following files had explicit Move() calls added to make up for the lack
  of a copy constructor on already_AddRefed:

  dom/base/ImageEncoder.cpp
  dom/media/MediaTaskQueue.{h,cpp}
  dom/media/webaudio/PannerNode.cpp

- A redundant overload for MediaTaskQueue::Dispatch was deleted.

- A few manual fixups were required in mfbt/tests/TestRefPtr.cpp.

- Comments, using declarations, and forward declarations relating to
  TemporaryRef in dom/canvas/ and gfx/layers/ were changed to refer to
  already_AddRefed.
2015-06-17 10:00:52 -04:00
Andrew Comminos 7a31276561 Bug 1131978 - Acknowledge GDK's scale factor in scale calculation. r=karlt 2015-06-26 10:19:00 +02:00
Botond Ballo 5c454a43e7 Bug 1177024 - Fix clang warnings-as-errors in GTK3 build. r=karlt
--HG--
extra : source : 22ae9b52ec5b25fab359ff32e04072df6412662e
2015-06-21 15:27:07 -04:00
Hubert Figuière 40a12f2005 Bug 1174374 - gdk_cursor_new() is deprecated in 3.16. Use gdk_cursor_new_for_display(). r=karlt
--HG--
extra : transplant_source : %DF%15%81%18%1A%93D%ADQ%BDO%3EN4%F7%3E%F9%8B%3C%0D
2015-06-12 22:38:20 -04:00
Masayuki Nakano 107d7e94f3 Bug 1130937 part.3 nsGtkIMModule should adjust candidate window position when layout is changed r=m_kato 2015-06-11 19:50:15 +09:00
Masayuki Nakano 91ed158c1d Bug 1130937 part.1 nsGtkIMModule should cache selection r=m_kato 2015-06-11 19:50:15 +09:00
Xidorn Quan 7699870266 Bug 1161802 part 1 - Add FullscreenChanged callback in WidgetListener. r=roc
--HG--
extra : source : dcfb961149d8c8e56ff787fa812dc781a491ee53
2015-06-10 23:13:12 +12:00
Andrew Comminos bcf78111e1 Bug 1171029 - Only omit legacy scroll events on GTK3. r=karlt
--HG--
extra : rebase_source : c4badf1f606bbb5cf0052265f38514acc3eee63c
2015-06-03 07:47:00 -04:00
Lee Salzman 688f2ebbdc Bug 1168495 - Restrict updated region to fall within GTK window. r=jrmuizel
--HG--
extra : rebase_source : 4c34f469e4cb9b5afcabd336615181b3be0bd5de
2015-05-26 14:09:18 -04:00
Michael Layzell 3f98e94e29 Bug 1168219 - Make nsIWidget::Configuration::mChild a smart pointer. r=vlad 2015-05-25 14:45:00 -04:00
Lee Salzman 54aee35d35 Bug 1159273 - Fix out-dated Cairo usage that may fail to build or work properly when system Cairo is involved. r=jrmuizel 2015-05-13 12:00:30 +09:00
Lee Salzman e38cad0b37 Bug 1127752 - fixes for using Skia and OMTC with GTK3. r=jrmuizel 2015-05-13 11:54:17 +09:00
Kartikaya Gupta fd5c9ccd70 Bug 1161634 - Allow synthesizing native mouse-scroll events on Linux. r=karlt 2015-05-11 17:21:34 -04:00
Anthony Tseng 6fe5a1137f Bug 1158425 - Rename _SYNTH event names. r=smaug
--HG--
extra : rebase_source : 533cc7e18cf7f92d95a146d61f7aa2da7c0b8e48
2015-05-01 22:06:00 -04:00
Kartikaya Gupta 5cf2d407fd Bug 1146349 - Make the native event synthesization functions in DOMWindowUtils async. r=smaug 2015-04-14 11:36:36 -04:00
Olli Pettay c3dca4be1e Backout Bug 930793 because of talos regressions,r=backout
--HG--
extra : rebase_source : bf5d4de1b80e114d3e2172a205bf850f68019d38
2015-04-13 19:02:27 +03:00
Olli Pettay eb314fb48f Bug 930793 - Remove favor performance mode, r=avih,roc
--HG--
extra : rebase_source : a112b660baa240afd5f0022cd869c96b59418789
2015-04-12 23:08:55 +03:00
Nicolas Silva 0b1f75bea0 Bug 1132854 - Remove the gfx::ToIntSize conversion helper. r=Bas 2015-04-07 16:08:57 +02:00
Mike Hommey b077d9624d Bug 1134920 - Use moz_xmalloc/moz_xrealloc/free instead of nsMemory::Alloc/Realloc/Free. r=nfroyd 2015-04-01 13:51:45 +09:00
Mats Palmgren 5b0f58f5ef Bug 1149041 - Make nsIWidget::SizeConstraints use LayoutDeviceIntSize instead of unit-less nsIntSize. r=roc 2015-03-30 11:35:25 -04:00
Carsten "Tomcat" Book 191c9180a5 Backed out changeset 9534a3d38191 (bug 1149041) 2015-03-30 15:03:19 +02:00
Mats Palmgren 2e8393adc7 Bug 1149041 - Make nsIWidget::SizeConstraints use LayoutDeviceIntSize instead of unit-less nsIntSize. r=roc 2015-03-30 10:37:34 +00:00
David Anderson 5a00237f5b Ensure input events account for APZ transforms on Gtk. (bug 1143567 part 2, r=kats)
--HG--
extra : rebase_source : da172b76d9a5c2e41d3d0c0e8a2b5b9732c00fef
2015-03-16 16:29:55 -07:00
Nicolas Silva 999b7333fe Bug 1128934 - Avoid calling GetClientBounds from BasicComposior. r=roc, karlt 2015-02-14 12:37:32 +01:00
dvander@alliedmods.net bbb91f19dc Factor out how APZ-aware events are dispatched from widgets. (bug 1126090 part 2, r=kats) 2015-03-06 14:26:59 -08:00
Martin Stransky d15abcbc8c Bug 635134 - Adds X11 run-time check for Gtk3 backend. r=karlt
--HG--
extra : rebase_source : 18486b689a7ff1560830e63900af1d60348ccabb
2015-03-05 03:56:00 +01:00
David Anderson 8b68b8e3e8 Add weak reference support to nsBaseWidget. (bug 1133150, r=roc) 2015-02-17 22:27:53 -08:00
Carsten "Tomcat" Book 4ae7286acb Backed out changeset d81339c7ac52 (bug 1128934) 2015-02-17 14:32:11 +01:00
David Zbarsky e63a6defd2 Bug 1125040: Use LayoutDeviceIntPoint for synthesizing native events on widgets r=botond 2015-02-15 13:52:28 -05:00
Nicolas Silva b930f4e186 Bug 1128934 - Avoid calling GetClientBounds from BasicComposior. r=roc, karlt 2015-02-14 12:37:32 +01:00
Martin Stransky d975c07099 Bug 1097897 - Add HiDPI support (scale) for Gtk2 and update and fix calculation of scaled screen borders. r=karlt 2015-02-10 02:14:00 -05:00
Nicholas Nethercote 242708cf72 Bug 1127201 (attempt 2, part 1) - Replace most NS_ABORT_IF_FALSE calls with MOZ_ASSERT. r=Waldo.
--HG--
extra : rebase_source : 488e401ff87e31a2074c4108c4df0572d9536667
2015-02-09 14:34:50 -08:00
Andrew McCreight d3826daa16 Back out Bug 1127201 (part 2) for various problems. 2015-02-06 15:04:32 -08:00
Robert O'Callahan 7a165b59ca Bug 1129774. Part 5: Remove aContext parameter from nsIWidget::Create. r=jmathies
--HG--
extra : rebase_source : 517ff800c0307e69465a37da7e52605d2fcda0d1
2015-02-05 20:35:25 +13:00
Robert O'Callahan 282e59cd87 Bug 1129774. Part 3: Remove aContext parameter from BaseCreate and make it nonvirtual. r=jmathies
--HG--
extra : rebase_source : 9fd0a3e071b7d3ad273667f144889938bc5d9dc4
2015-02-05 18:18:30 +13:00
Nicholas Nethercote d34f0301b8 Bug 1127201 (part 2) - Convert all NS_ABORT_IF_FALSE calls to MOZ_ASSERT. r=Waldo.
--HG--
extra : rebase_source : 99182e70335d2b5ff95f8c528ae992d37294be3a
2015-02-04 20:05:36 -08:00
David Zbarsky c73ec42d2d Bug 1125040: Use LayoutDeviceIntPoint for nsIWidget::WidgetToScreen r=botond 2015-02-04 15:21:03 -05:00
Jim Mathies f93fc49262 Bug 1095754 - Add platform widget support for providing widget identifiers used in remote widget tracking and hookl this up on gtk and Windows. r=roc 2015-01-29 13:41:57 -06:00
Jim Mathies aa597c8906 Bug 1095754 - Transfer bounds information from native plugin widgets to GTK socket widgets when the native plugin widget bounds update. r=roc 2015-01-29 13:41:57 -06:00
Jim Mathies 7c8119a5cf Bug 1126164 - Avoid setting clip regions on plugin windows if the same clip region was already set. r=roc 2015-01-28 09:15:54 -06:00
Masayuki Nakano dd277f3277 Bug 917322 part.7 TextEventDispatcher should manage if it has composition r=smaug 2015-01-28 15:27:31 +09:00
Andrew Comminos cc7d995512 Bug 975919 - Add support for HiDPI on GTK 3.10+. r=karlt 2015-01-20 23:53:00 -05:00
David Anderson 5364eafbb8 Dispatch scroll wheel events through APZ on Gtk. (bug 1119743, r=nical)
--HG--
extra : rebase_source : c90e3ff64555bb8e121c1605628e2854ea10c823
2015-01-12 19:45:10 -08:00
Neil Deakin a744e9625f Bug 1102039, Ensure that the popup's widget visibility is updated after rollup, allows popups to disappear at the start of the minimize animation rather than after, r=tn 2015-01-07 20:52:20 -05:00
Jonathan Kew 6a598abe4a Bug 1077515 - part 11 - Remap arrow keys for vertical writing mode in the Gtk widget code. r=roc 2014-11-22 14:39:04 +00:00
Vladimir Vukicevic 54548bfc2b Bug 1036597 - extend widget's MakeFullScreen method to take an optional nsIScreen indicating the target; r=karlt 2014-07-09 12:29:28 -07:00
Martin Stransky a822f9a7f4 Bug 1097592 - Don't use PR_FindFunctionSymbolAndLibrary to avoid app freeze, r=karlt 2014-11-14 06:32:00 +01:00
Jim Mathies a323270a8b Bug 669200 - Various widget changes to support two new types of plugin widget. r=roc 2014-11-12 14:59:19 -06:00
Masayuki Nakano 6e1c43d928 Bug 1083067 part.9 Remove nsGtkIMModule::IsVirtualKeyboardOpened() because it always returns false r=m_kato 2014-11-10 18:07:44 +09:00
Masayuki Nakano 6072e74d01 Bug 960871 part.8 Rename variable names of NS_COMPOSITION_CHANGE event r=smaug 2014-10-07 19:01:49 +09:00
Masayuki Nakano 9011740f12 Bug 960871 part.6 Use WidgetCompositionEvent for NS_COMPOSITION_CHANGE instead of WidgetTextEvent r=smaug 2014-10-07 19:01:48 +09:00
Masayuki Nakano 09a5b86212 Bug 960871 part.4 Rename NS_TEXT_TEXT to NS_COMPOSITION_CHANGE and fix comments which mention text events r=smaug 2014-10-07 19:01:47 +09:00
Masayuki Nakano ea79d5919e Bug 960871 part.1 Rename WidgetTextEvent::theText to WidgetTextEvent::mData r=smaug 2014-10-07 19:01:46 +09:00
Masayuki Nakano 1cc2ff10cb Bug 1065835 part.6 Remove NOTIFY_IME_OF_CURSOR_POS_CHANGED and nsGtkIMModule should handle NOTIFY_IME_OF_SELECTION_CHANGE instead r=smaug+ehsan+karlt 2014-09-26 09:05:13 +09:00
Benoit Jacob 9047e55dd0 Bug 1025802 - Replace a MOZ_MAKE_COMPILER_ASSUME_IS_UNREACHABLE by MOZ_CRASH - r=mattwoodrow 2014-09-24 13:43:00 -04:00
Ehsan Akhgari 71ce70204a Bug 1061253 - Fix more bad implicit constructors in widget; r=roc 2014-09-02 09:46:06 -04:00
Gijs Kruitbosch d719c39ad6 Bug 1025616 - fix -moz-grab cursor on GTK to not use hand1, r=karlt 2014-08-22 08:04:10 +02:00
Debkanya Mazumder 75b60c6a05 Bug 738221 - Part 2: Replace uses of nsCOMPtr<nsIAccessibilityService> accService = do_GetService(@mozilla.org/accessibilityService;1). r=tbsaunde 2014-07-28 11:43:00 -04:00
Masayuki Nakano 5a96c29b49 Bug 1046101 part.11 Rename NS_MOUSE_EVENT to eMouseEventClass r=smaug 2014-08-04 14:28:50 +09:00
Masayuki Nakano 00f048e7cd Bug 1046101 part.1 Rename nsEventStructType to mozilla::EventClassID r=smaug 2014-08-04 14:28:46 +09:00
Andrew Comminos f7ea09908e Bug 958868 - Add support for GDK_SCROLL_SMOOTH; r=karlt 2014-07-07 18:54:13 +09:00
Martin Stransky d5acde004a Bug 1027009 - Gtk3 build with --enable-warnings-as-errors. r=karlt 2014-06-25 00:35:00 +02:00
Jonathan Watt 684a6bdf1d Bug 1025802 - Get rid of the Thebes backed gfxContext in the GTK widget code (Moz2D conversion). r=mattwoodrow 2014-06-17 10:37:46 +01:00
Jonathan Watt 3d9e321469 Bug 1022821, part 2 - In gfx code, stop returning RefPtr and, where not an out-param, stop using RefPtr arguments. r=Cwiiis 2014-06-12 20:24:05 +01:00
Martin Stransky 364c9717d2 Bug 1013552 - [GTK3] GetThebesSurface() provides xlib surface when cairo target is not available. r=karlt 2014-06-02 03:36:00 -04:00
Matt Woodrow e4b76a2cd8 Bug 1015166 - Account for TopLeft of aBoundsRect in nsWindow::UpdateAlpha. r=ajones 2014-05-30 13:37:04 +12:00
Jim Mathies e88a91f7f4 Bug 1003943 - Properly update widget cursors when the mouse passes between remote frames. r=smaug 2014-05-27 20:12:29 -05:00
Neil Rashbrook ef8d375d0b Bug 869836 - Part 9a: Use AssignLiteral(MOZ_UTF16(...)) instead of Assign(NS_LITERAL_STRING(...)). r=ehsan
Relading with correct bug number so DONTBUILD.

--HG--
extra : amend_source : 6e05de7729c27761564124212b7d4cbe3318e482
2014-05-26 21:54:10 +03:00
Birunthan Mohanathas 7ed88d413a Backout 8b8bbe7aa1cc due to wrong bug number 2014-05-27 14:42:13 +03:00
Neil Rashbrook 71828ecc1c Bug 995730 - Part 9a: Use AssignLiteral(MOZ_UTF16(...)) instead of Assign(NS_LITERAL_STRING(...)). r=ehsan
--HG--
extra : rebase_source : d2d3d611c06a2a7ec930fb11576d7c8335c0a6e2
2014-05-26 21:54:10 +03:00
Birunthan Mohanathas 952b834c76 Bug 869836 - Part 9: Use AssignLiteral instead of `Assign(NS_LITERAL_STRING(...))`. r=ehsan 2014-05-22 06:48:52 +03:00
Birunthan Mohanathas 5f1fde8824 Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj 2014-04-27 03:06:00 -04:00
Robert O'Callahan ea9b693845 Bug 998821. Only use XShm for drawing if XShm allocation actually succeeded. r=karlt
--HG--
extra : rebase_source : 9d0fc1b9c7b02c53674b4593eaf1cd703587a469
2014-04-22 15:11:42 +12:00
George Wright 6d68487619 Bug 994924 - Fix broken logic in nsWindow for DrawTarget creation when using Skia r=jrmuizel 2014-04-11 13:16:26 -04:00
Neil Deakin 382114ad8c Bug 982734, make nsIWidget::GetWindowType and nsIWidget::GetZIndex return their values, remove some unused colour-related widget methods, r=tn 2014-03-19 12:48:08 -04:00
Jonathan Watt cddedd8d2b Bug 985049 - Remove gfxPlatform::SupportsAzureContent() and kill of the resulting dead code. r=mattwoodrow 2014-03-19 10:36:58 +08:00
Masayuki Nakano 2cb29d75ec Bug 977959 part.5 Make NativeKeyBindings classes non-refcountable r=neil 2014-03-14 22:13:32 +09:00
Masayuki Nakano 3e7755472a Bug 977959 part.4 Remove nsINativeKeyBindings r=roc+karlt
--HG--
rename : widget/gtk/nsNativeKeyBindings.cpp => widget/gtk/NativeKeyBindings.cpp
rename : widget/gtk/nsNativeKeyBindings.h => widget/gtk/NativeKeyBindings.h
2014-03-14 22:13:32 +09:00
Masayuki Nakano 0ae5a1bafc Bug 977959 part.3 Hide nsINativeKeyBindings with nsIWidget::ExecuteNativeKeyBinding() r=roc+karlt+smichaud 2014-03-14 22:13:31 +09:00
Bill McCloskey f3e08fea6f Bug 972728 - Invalidate more often in basic compositor (r=mattwoodrow) 2014-03-06 18:25:09 -08:00
Makoto Kato b051059a2f Bug 968647 - Part 2. Listen window position change for IME. r=roc 2014-02-28 16:45:08 +09:00
Makoto Kato 3a637833dd Backed out changeset fad708985071 (bug 968647) 2014-03-03 11:53:36 +09:00
Makoto Kato 8471094535 Bug 968647 - Part 2. Listen window position change for IME. r=roc 2014-02-28 16:45:08 +09:00
Carsten "Tomcat" Book 88049146b5 Backed out changeset 743fb3c48ed7 (bug 968647) 2014-02-28 09:30:01 +01:00
Makoto Kato 0cbf66c2db Bug 968647 - Part 2. Listen window position change for IME. r=roc 2014-02-28 16:45:08 +09:00
Phil Schaf 25ab080eb6 Bug 310924 - GTK: Try named cursors before defaulting to hardcoded glyphs. r=karlt 2014-02-19 11:30:08 -05:00
Masayuki Nakano e173e98fbd Bug 965685 Use IMENotification struct for nsIWidget::NotifyIME() and merge NotifyIMEOfTextChange() with it r=smaug, sr=roc 2014-02-18 09:00:15 +09:00
Neil Deakin a2d526d45d Bug 943759, [Australis], support mousethrough on panels to allow mouse events to pass through to the content behind, implemented on Windows, Mac and Linux, use this for the UI tour highlight, r=neil,jmathies,karlt 2014-01-31 08:27:43 -05:00
Olli Pettay ab4411fee4 Backout Bug 930793 - Remove favor performance mode (we have still racy b2g tests), a=backout
--HG--
extra : rebase_source : 6f6de1cbf54670d63b74c44ca0134ed9c5354d2b
2014-01-30 21:35:44 -08:00
Benoit Jacob 61df69f208 Bug 959448 - Convert most of LayersTypes.h to typed enums - r=nrc
find content/media dom/ipc widget/ gfx/tests gfx/ipc/ gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)LAYERS_\(NONE\|BASIC\|OPENGL\|D3D9\|D3D10\|D3D11\|CLIENT\|LAST\)\($\|[^A-Za-z0-9_]\)/\1LayersBackend::LAYERS_\2\3/g'

find widget gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)BUFFER_\(NONE\)\($\|[^A-Za-z0-9_]\)/\1BufferMode::BUFFER_\2\3/g'

find widget gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)BUFFER_\(BUFFERED\)\($\|[^A-Za-z0-9_]\)/\1BufferMode::\2\3/g'

find gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)CLIP_\(DRAW\|DRAW_SNAPPED\)\($\|[^A-Za-z0-9_]\)/\1DrawRegionClip::\2\3/g'

find gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)CLIP_\(NONE\)\($\|[^A-Za-z0-9_]\)/\1DrawRegionClip::CLIP_\2\3/g'

find gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)SURFACE_\(NONE\|OPAQUE\|SINGLE_CHANNEL_ALPHA\|COMPONENT_ALPHA\)\($\|[^A-Za-z0-9_]\)/\1SurfaceMode::SURFACE_\2\3/g'

find gfx/ipc/ gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)SCALE_\(STRETCH\|SENTINEL\)\($\|[^A-Za-z0-9_]\)/\1ScaleMode::\2\3/g'

find gfx/ipc/ gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)SCALE_\(NONE\)\($\|[^A-Za-z0-9_]\)/\1ScaleMode::SCALE_\2\3/g'
2014-01-23 13:26:41 -05:00
Benoit Jacob aebf0bb92a Bug 959380 - 4/5 - Make gfxContentType a typed enum - r=jrmuizel
find . -type f | grep -v '\./obj' | grep -v '\.hg' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)GFX_CONTENT_\(COLOR\|ALPHA\|COLOR_ALPHA\|SENTINEL\)\($\|[^A-Za-z0-9_]\)/\1gfxContentType::\2\3/g'
2014-01-23 13:26:40 -05:00
Benoit Jacob ed427f9600 Bug 959380 - 3/5 - Make gfxSurfaceType a typed enum - r=jrmuizel
find . -type f | grep -v '\./obj' | grep -v '\.hg' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)gfxSurfaceType\(Image\|PDF\|PS\|Xlib\|Xcb\|Glitz\|Quartz\|Win32\|BeOS\|DirectFB\|SVG\|OS2\|Win32Printing\|QuartzImage\|Script\|QPainter\|Recording\|VG\|GL\|DRM\|Tee\|XML\|Skia\|Subsurface\|D2D\|Max\)\($\|[^A-Za-z0-9_]\)/\1gfxSurfaceType::\2\3/g'
2014-01-23 13:26:40 -05:00
Benoit Jacob e5ed95579b Bug 959380 - 2/5 - Make gfxImageFormat a typed enum - r=jrmuizel
find . -type f | grep -v \./obj | grep -v \.hg | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)gfxImageFormat\(ARGB32\|RGB24\|A8\|A1\|RGB16_565\|Unknown\)\($\|[^A-Za-z0-9_]\)/\1gfxImageFormat::\2\3/g'
2014-01-23 13:26:40 -05:00
Olli Pettay 124795557f Bug 930793 - Remove favor performance mode, r=roc,avih
--HG--
extra : rebase_source : e936e5b02dc2e613816fb6f97f9af5a303dc6f6d
2014-01-16 16:09:08 +02:00
Makoto Kato c26175dc57 Bug 935821 - Part 4. GTK implementation. r=masayuki 2014-01-16 19:04:48 +09:00
Benoit Jacob f447d87c57 Bug 958375 - 8/9 - Make remaining Moz2D enums typed - r=Bas
Specifically:
  r=Bas for manual changes
  f=Bas for automatic changes
See attachments on the bug for the specific breakdown.
2014-01-10 14:06:17 -05:00
Benoit Jacob ccaa35314d Bug 958375 - 6/9 - Make BackendType and NativeSurfaceType typed enums - r=Bas
Specifically:
  r=Bas for manual changes
  f=Bas for automatic changes
See attachments on the bug for the specific breakdown.
2014-01-10 14:06:16 -05:00
Benoit Jacob a1e7c32630 Bug 958375 - 4/9 - Make SurfaceFormat a typed enum - r=Bas
Specifically:
  r=Bas for manual changes
  f=Bas for automatic changes
See attachments on the bug for the specific breakdown.
2014-01-10 14:06:16 -05:00
Ehsan Akhgari 1b83407ce9 Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
This patch was automatically generated by the following script:

#!/bin/bash
# Command to convert PRUnichar to char16_t

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*modules/libmar*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name prtypes.h \
       ! -name Char16.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 PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Ms2ger fc0c5d7215 Bug 950143 - Remove the implicit conversion operator from nsIntSize to IntSize; r=roc 2013-12-31 10:06:12 +01:00
Trevor Saunders d43c55ca0e bug 949821 - use MOZ_UTF16 more and NS_LITERAL_STRING less r=froydnj 2013-12-12 20:50:01 -05:00
Karl Tomlinson 68cbf0e6c0 b=934843 remove assertion that focus is never on popup windows r=roc
If an application has received focus from the window manager, but doesn't
reassign focus to a child window before closing its focus window, focus can
temporarily revert to PointerRoot before the window manager gives focus to
another window.  During PointerRoot focus, the window until the pointer has
focus even if it is an override-redirect window.

--HG--
extra : rebase_source : 3c005183f4602346ce9068b4a87af068f0e82372
2013-12-11 09:51:42 +13:00
Birunthan Mohanathas 3440613a39 Bug 713082 - Part 2: Rename Util.h to ArrayUtils.h. r=Waldo
--HG--
rename : mfbt/Util.h => mfbt/ArrayUtils.h
2013-12-08 21:52:54 -05:00
Martin Stransky 3d76f1ba43 Bug 943407 - Port GTK2 to GTK3 - build failure - nsWindow::StartRemoteDrawing(). r=karlt 2013-12-02 12:51:26 -05:00
Neil Deakin 21020d22ff Bug 849544/935460, don't consume mousewheel events when an arrow panel is open, r=karlt 2013-11-29 11:58:26 -05:00
Nicolas Silva 717653dea3 Bug 924403 - Send non-OMTC GL layers into oblivion. r=nrc 2013-11-27 11:15:17 +13:00
David Anderson 54fffb1db4 Only composite changed areas in the software compositor (bug 882447, r=mattwoodrow,nrc). 2013-11-21 11:25:16 -08:00
Neil Deakin f3270a29d5 Bug 596723, Don't consume clicks outside of arrow panels by default, always consume the clicks on anchors of all popups, r=dao,neil 2013-11-04 11:22:24 -05:00
Masayuki Nakano c2d6606a1c Bug 920425 part.28 Use mozilla::WidgetEvent::AsMouseEvent() r=smaug 2013-10-22 17:55:20 +09:00
David Anderson fc34a69277 Fix resize jank on Linux with OMTC (bug 926618, r=mattwoodrow). 2013-10-21 13:14:47 -07:00
Masayuki Nakano 52e19b318b Bug 920377 part.33 Get rid of mozilla::WheelEvent r=roc 2013-10-16 18:37:36 +09:00
Matt Woodrow 12137347af Bug 923542 - Draw to the correct destination rect when computing alpha masks. r=ajones 2013-10-15 14:55:15 +13:00
Birunthan Mohanathas 3178cf2a75 Bug 784739 - Switch from NULL to nullptr in widget/gtk/; r=ehsan
--HG--
extra : rebase_source : 538a634157e10b790b8278039101f2247ce37220
2013-10-08 14:47:37 -04:00
Ehsan Akhgari eff9a278ad Bug 924221 - Minimize the #includes in gfx/thebes; r=bjacob
--HG--
extra : rebase_source : af198eb9b9739ce718ba0d16c385624a722cde51
2013-10-07 19:15:59 -04:00
Masayuki Nakano 9aaf116c1c Bug 920377 part.32 Get rid of nsMouseEvent r=roc 2013-10-02 15:38:27 +09:00
Masayuki Nakano a4221a463f Bug 920377 part.30 Get rid of nsGUIEvent r=roc 2013-10-02 12:46:03 +09:00
Masayuki Nakano cb376be26d Bug 920377 part.28 Get rid of nsDragEvent r=roc 2013-10-01 16:23:02 +09:00
Masayuki Nakano 3e4559711b Bug 920377 part.21 Get rid of nsTextEvent r=roc 2013-10-01 16:22:59 +09:00
Masayuki Nakano 3a0b655e5a Bug 920377 part.17 Get rid of nsKeyEvent r=roc 2013-10-01 16:22:58 +09:00
Masayuki Nakano e08581e1a5 Bug 920377 part.4 Get rid of nsContentCommandEvent r=roc 2013-09-27 15:20:54 +09:00
Masayuki Nakano 53a7f65ff4 Bug 920377 part.3 Get rid of nsCommandEvent r=roc 2013-09-27 15:20:54 +09:00
Masayuki Nakano e28d8401da Bug 912956 part.16 mozilla/MiscEvents.h should be included directly r=roc 2013-09-25 20:21:20 +09:00
Masayuki Nakano 015140fe0d Bug 912956 part.15 mozilla/TextEvents.h should be included directly r=roc 2013-09-25 20:21:19 +09:00
Masayuki Nakano 4983de6d4c Bug 912956 part.14 mozilla/MouseEvents.h should be included directly r=roc 2013-09-25 20:21:18 +09:00
Benoit Jacob 55d6cf1e20 Bug 913872 - Take nested enums out of gfxASurface - 1/3 : automatic changes - r=jrmuizel
Generated by these regexes:

find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/gfx[A-Za-z0-9_]*Surface\:\:[a-z]*\(\(ImageFormat\|SurfaceType\|ContentType\|MemoryLocation\)[0-9A-Za-z_]*\)/gfx\1/g'

find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/gfx[A-Za-z0-9_]*Surface\:\:[a-z]*\(\(CONTENT_\|MEMORY_\)[0-9A-Za-z_]*\)/GFX_\1/g'

find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(CONTENT_COLOR\|CONTENT_ALPHA\|CONTENT_COLOR_ALPHA\|CONTENT_SENTINEL\|MEMORY_IN_PROCESS_HEAP\|MEMORY_IN_PROCESS_NONHEAP\|MEMORY_OUT_OF_PROCESS\)\($\|[^A-Za-z0-9_]\)/\1GFX_\2\3/g'

find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(ImageFormatARGB32\|ImageFormatRGB24\|ImageFormatA8\|ImageFormatA1\|ImageFormatRGB16_565\|ImageFormatUnknown\|SurfaceTypeImage\|SurfaceTypePDF\|SurfaceTypePS\|SurfaceTypeXlib\|SurfaceTypeXcb\|SurfaceTypeGlitz\|SurfaceTypeQuartz\|SurfaceTypeWin32\|SurfaceTypeBeOS\|SurfaceTypeDirectFB\|SurfaceTypeSVG\|SurfaceTypeOS2\|SurfaceTypeWin32Printing\|SurfaceTypeQuartzImage\|SurfaceTypeScript\|SurfaceTypeQPainter\|SurfaceTypeRecording\|SurfaceTypeVG\|SurfaceTypeGL\|SurfaceTypeDRM\|SurfaceTypeTee\|SurfaceTypeXML\|SurfaceTypeSkia\|SurfaceTypeSubsurface\|SurfaceTypeD2D\|SurfaceTypeMax\)\($\|[^A-Za-z0-9_]\)/\1gfx\2\3/g'
2013-09-24 16:45:13 -04:00
Martin Stransky 59fadf4e72 Bug 917270 - Rename widget/gtk2 to widget/gtk. r=karlt
--HG--
rename : widget/gtk2/Makefile.in => widget/gtk/Makefile.in
rename : widget/gtk2/WidgetTraceEvent.cpp => widget/gtk/WidgetTraceEvent.cpp
rename : widget/gtk2/compat/gdk/gdkdnd.h => widget/gtk/compat/gdk/gdkdnd.h
rename : widget/gtk2/compat/gdk/gdkkeysyms.h => widget/gtk/compat/gdk/gdkkeysyms.h
rename : widget/gtk2/compat/gdk/gdkvisual.h => widget/gtk/compat/gdk/gdkvisual.h
rename : widget/gtk2/compat/gdk/gdkwindow.h => widget/gtk/compat/gdk/gdkwindow.h
rename : widget/gtk2/compat/gdk/gdkx.h => widget/gtk/compat/gdk/gdkx.h
rename : widget/gtk2/compat/glib/gmem.h => widget/gtk/compat/glib/gmem.h
rename : widget/gtk2/compat/gtk/gtkcolorseldialog.h => widget/gtk/compat/gtk/gtkcolorseldialog.h
rename : widget/gtk2/compat/gtk/gtkdialog.h => widget/gtk/compat/gtk/gtkdialog.h
rename : widget/gtk2/compat/gtk/gtkplug.h => widget/gtk/compat/gtk/gtkplug.h
rename : widget/gtk2/compat/gtk/gtkselection.h => widget/gtk/compat/gtk/gtkselection.h
rename : widget/gtk2/compat/gtk/gtkwidget.h => widget/gtk/compat/gtk/gtkwidget.h
rename : widget/gtk2/compat/gtk/gtkwindow.h => widget/gtk/compat/gtk/gtkwindow.h
rename : widget/gtk2/crashtests/673390-1.html => widget/gtk/crashtests/673390-1.html
rename : widget/gtk2/crashtests/crashtests.list => widget/gtk/crashtests/crashtests.list
rename : widget/gtk2/gtk2drawing.c => widget/gtk/gtk2drawing.c
rename : widget/gtk2/gtk3drawing.c => widget/gtk/gtk3drawing.c
rename : widget/gtk2/gtkdrawing.h => widget/gtk/gtkdrawing.h
rename : widget/gtk2/maiRedundantObjectFactory.c => widget/gtk/maiRedundantObjectFactory.c
rename : widget/gtk2/maiRedundantObjectFactory.h => widget/gtk/maiRedundantObjectFactory.h
rename : widget/gtk2/moz.build => widget/gtk/moz.build
rename : widget/gtk2/mozcontainer.c => widget/gtk/mozcontainer.c
rename : widget/gtk2/mozcontainer.h => widget/gtk/mozcontainer.h
rename : widget/gtk2/nsAppShell.cpp => widget/gtk/nsAppShell.cpp
rename : widget/gtk2/nsAppShell.h => widget/gtk/nsAppShell.h
rename : widget/gtk2/nsBidiKeyboard.cpp => widget/gtk/nsBidiKeyboard.cpp
rename : widget/gtk2/nsBidiKeyboard.h => widget/gtk/nsBidiKeyboard.h
rename : widget/gtk2/nsCUPSShim.cpp => widget/gtk/nsCUPSShim.cpp
rename : widget/gtk2/nsCUPSShim.h => widget/gtk/nsCUPSShim.h
rename : widget/gtk2/nsClipboard.cpp => widget/gtk/nsClipboard.cpp
rename : widget/gtk2/nsClipboard.h => widget/gtk/nsClipboard.h
rename : widget/gtk2/nsColorPicker.cpp => widget/gtk/nsColorPicker.cpp
rename : widget/gtk2/nsColorPicker.h => widget/gtk/nsColorPicker.h
rename : widget/gtk2/nsDeviceContextSpecG.cpp => widget/gtk/nsDeviceContextSpecG.cpp
rename : widget/gtk2/nsDeviceContextSpecG.h => widget/gtk/nsDeviceContextSpecG.h
rename : widget/gtk2/nsDragService.cpp => widget/gtk/nsDragService.cpp
rename : widget/gtk2/nsDragService.h => widget/gtk/nsDragService.h
rename : widget/gtk2/nsFilePicker.cpp => widget/gtk/nsFilePicker.cpp
rename : widget/gtk2/nsFilePicker.h => widget/gtk/nsFilePicker.h
rename : widget/gtk2/nsGTKToolkit.h => widget/gtk/nsGTKToolkit.h
rename : widget/gtk2/nsGtkCursors.h => widget/gtk/nsGtkCursors.h
rename : widget/gtk2/nsGtkIMModule.cpp => widget/gtk/nsGtkIMModule.cpp
rename : widget/gtk2/nsGtkIMModule.h => widget/gtk/nsGtkIMModule.h
rename : widget/gtk2/nsGtkKeyUtils.cpp => widget/gtk/nsGtkKeyUtils.cpp
rename : widget/gtk2/nsGtkKeyUtils.h => widget/gtk/nsGtkKeyUtils.h
rename : widget/gtk2/nsGtkUtils.h => widget/gtk/nsGtkUtils.h
rename : widget/gtk2/nsIImageToPixbuf.h => widget/gtk/nsIImageToPixbuf.h
rename : widget/gtk2/nsIdleServiceGTK.cpp => widget/gtk/nsIdleServiceGTK.cpp
rename : widget/gtk2/nsIdleServiceGTK.h => widget/gtk/nsIdleServiceGTK.h
rename : widget/gtk2/nsImageToPixbuf.cpp => widget/gtk/nsImageToPixbuf.cpp
rename : widget/gtk2/nsImageToPixbuf.h => widget/gtk/nsImageToPixbuf.h
rename : widget/gtk2/nsLookAndFeel.cpp => widget/gtk/nsLookAndFeel.cpp
rename : widget/gtk2/nsLookAndFeel.h => widget/gtk/nsLookAndFeel.h
rename : widget/gtk2/nsNativeKeyBindings.cpp => widget/gtk/nsNativeKeyBindings.cpp
rename : widget/gtk2/nsNativeKeyBindings.h => widget/gtk/nsNativeKeyBindings.h
rename : widget/gtk2/nsNativeThemeGTK.cpp => widget/gtk/nsNativeThemeGTK.cpp
rename : widget/gtk2/nsNativeThemeGTK.h => widget/gtk/nsNativeThemeGTK.h
rename : widget/gtk2/nsPSPrinters.cpp => widget/gtk/nsPSPrinters.cpp
rename : widget/gtk2/nsPSPrinters.h => widget/gtk/nsPSPrinters.h
rename : widget/gtk2/nsPaperPS.cpp => widget/gtk/nsPaperPS.cpp
rename : widget/gtk2/nsPaperPS.h => widget/gtk/nsPaperPS.h
rename : widget/gtk2/nsPrintDialogGTK.cpp => widget/gtk/nsPrintDialogGTK.cpp
rename : widget/gtk2/nsPrintDialogGTK.h => widget/gtk/nsPrintDialogGTK.h
rename : widget/gtk2/nsPrintOptionsGTK.cpp => widget/gtk/nsPrintOptionsGTK.cpp
rename : widget/gtk2/nsPrintOptionsGTK.h => widget/gtk/nsPrintOptionsGTK.h
rename : widget/gtk2/nsPrintSettingsGTK.cpp => widget/gtk/nsPrintSettingsGTK.cpp
rename : widget/gtk2/nsPrintSettingsGTK.h => widget/gtk/nsPrintSettingsGTK.h
rename : widget/gtk2/nsScreenGtk.cpp => widget/gtk/nsScreenGtk.cpp
rename : widget/gtk2/nsScreenGtk.h => widget/gtk/nsScreenGtk.h
rename : widget/gtk2/nsScreenManagerGtk.cpp => widget/gtk/nsScreenManagerGtk.cpp
rename : widget/gtk2/nsScreenManagerGtk.h => widget/gtk/nsScreenManagerGtk.h
rename : widget/gtk2/nsSound.cpp => widget/gtk/nsSound.cpp
rename : widget/gtk2/nsSound.h => widget/gtk/nsSound.h
rename : widget/gtk2/nsToolkit.cpp => widget/gtk/nsToolkit.cpp
rename : widget/gtk2/nsWidgetFactory.cpp => widget/gtk/nsWidgetFactory.cpp
rename : widget/gtk2/nsWindow.cpp => widget/gtk/nsWindow.cpp
rename : widget/gtk2/nsWindow.h => widget/gtk/nsWindow.h
2013-09-23 09:21:57 -04:00