Commit Graph

17647 Commits

Author SHA1 Message Date
Jonathan Kew
7141ce6685 Bug 1138359 - Make the margins of native-themed Cocoa buttons aware of writing mode. r=smontagu 2015-03-26 09:59:27 +00:00
Matt Woodrow
69645b11a3 Bug 1116812 - Blacklist two intel GPUs that are trigger driver crashes frequently. r=jrmuizel
--HG--
extra : rebase_source : d84456b830a5ee7fc77f14bb2ed1e9cbed3d0a57
2015-03-26 12:58:48 +13:00
Martin Stransky
d5d0a26ffd Bug 1073117 - Fixed Theme issues with GTK 3.14 - GtkButtons - use border style
property for focus rendering. Don't follow interior-focus which is always true in Gtk 3.14.
r=karlt

--HG--
extra : amend_source : fc72b41020825cd0242cd25cced8d7349f2541ce
2015-03-25 11:41:21 -07:00
Martin Stransky
4c6394bb77 Bug 1073117 - Theme issues with GTK 3.14 - fix gtk button and entry size, r=karlt
Inner borders and focus theming has been removed in Gtk 3.14 so we can't use them to calculate button size.
The size should be computed as border + padding.

--HG--
extra : amend_source : 0bdb2077cf2b005cd97163144fc3261a677e1349
2015-03-25 11:41:01 -07:00
Kartikaya Gupta
b7f540fb31 Bug 1143618 - Follow-up to fix static analysis build bustage. r=me on a CLOSED TREE 2015-03-25 12:41:50 -04:00
Maksim Lebedev
9e2e275653 Bug 1143655 - Add sending NS_TOUCH_CANCEL event. r=kats 2015-03-25 12:20:20 -04:00
Maksim Lebedev
e2514a23d9 Bug 1143618 - Change Window::OnTouch implementation to use MultiTouchInput class. r=kats 2015-03-25 12:20:20 -04:00
David Anderson
d5f5272884 Allow synthetic input events to be dispatched asynchronously. (bug 1146243, r=kats) 2015-03-24 15:00:52 -07:00
Martin Stransky
a0ccc190f2 Bug 1144643 - Render tooltips as transparent on Gtk3. r=karlt
--HG--
extra : rebase_source : 23085532b27350ca71cbe18db071628388003f33
2015-03-18 07:14:00 -04:00
Kushan Joshi
98880a696a Bug 1101627 - Add touch action regions. r=kats 2015-03-24 09:13:24 -04:00
Martin Stransky
e50e738087 Bug 1143686 - Gtk3 - Render scrollbar thumb with margin. r=karlt 2015-03-16 08:00:00 -04:00
Jeff Muizelaar
fb673cf110 Bug 1137716. Try blacklisting Optimus w/ Intel Ironlake Graphics. r=bas
Hopefully this will help and won't make things worse. We still
don't know why this regressed.

--HG--
extra : rebase_source : 79061642e26cc88c93d0f7f9890bb3368eb34fde
2015-03-21 15:37:00 -04:00
Phil Ringnalda
103cef492e Backed out 2 changesets (bug 1137716) for bustage
CLOSED TREE

Backed out changeset 76b1809d22eb (bug 1137716)
Backed out changeset 726f8309756a (bug 1137716)
2015-03-22 17:36:36 -07:00
Phil Ringnalda
2dc51a1d77 Bug 1137716 followup, fix typo
CLOSED TREE
2015-03-22 16:18:47 -07:00
Jeff Muizelaar
f09851351f Bug 1137716. Try blacklisting Optimus w/ Intel Ironlake Graphics. r=bas
Hopefully this will help and won't make things worse. We still
don't know why this regressed.

--HG--
extra : rebase_source : c2b1d32c982839d7dcee6e448cabda670ed5cfd4
2015-03-21 15:37:00 -04:00
Ehsan Akhgari
883849ee32 Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
This patch was automatically generated using the following script:

function convert() {
echo "Converting $1 to $2..."
find . \
       ! -wholename "*/.git*" \
       ! -wholename "obj-ff-dbg*" \
         -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 MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Wes Kocher
571bb95717 Backed out changeset 6ef7ca8f1db3 (bug 1066531) so I can get at a patch that caused near-permafailing bc3 2015-03-20 17:17:19 -07:00
George Wright
ab018a486f Bug 1066531 - Delay tab switching until content is ready in e10s mode r=mconley,mstange 2015-03-20 15:09:58 -04:00
Kartikaya Gupta
bd98be2c55 Bug 1144831 - Remove the HandleLongTapUp callback and just use HandleSingleTap instead. r=botond 2015-03-20 14:26:52 -04:00
David Parks
be65e7c4e3 Bug 1138678 - Ignore NOTIFY_IME_OF_BLUR when establishing secure input mode. r=masayuki
SetInputContext keeps proper tabs on the secure input setting.  This
code could result in improper IME configuration.

--HG--
extra : rebase_source : 431cb629ca2321776fcc4c73635739f037729605
2015-03-18 19:08:22 -07:00
David Anderson
8ab6f89545 Fix regression from bug 1143567 that broke context menus. (bug 1144827, r=jmathies, a=kwierso) 2015-03-19 11:54:16 -07:00
Masayuki Nakano
24de1c747a Bug 1143197 part.2 Assume that composition is committed if a call of gtk_im_context_reset() causes composition string becomes empty r=m_kato 2015-03-20 01:52:25 +09:00
Masayuki Nakano
76e86981d8 Bug 1143197 part.1 Use current IM context at handling key events rather than active IM context r=m_kato 2015-03-20 01:52:24 +09:00
Kartikaya Gupta
c2d393f065 Bug 1144650 - Don't dispatch touch-based mouse events when APZ is handling touch. r=jimm 2015-03-19 06:37:39 -04:00
Kartikaya Gupta
fdaed2c4d6 Bug 1144324 - Remove the codepaths that conditionally enable touch events based on touch the presence of touch listeners. r=smaug,jimm 2015-03-19 06:37:39 -04:00
Kartikaya Gupta
086f65f8b7 Bug 1144324 - Try to register for, and handle, touch events when APZ is enabled. r=dvander,jimm 2015-03-19 06:37:38 -04:00
Kartikaya Gupta
ed6d55e8d9 Bug 1122090 - Send the allowed behaviour notification to APZ for touch blocks when touch-action is enabled. r=botond 2015-03-19 06:33:33 -04:00
Kartikaya Gupta
99a0b46784 Bug 1122090 - Make ContentHelper take a LayoutDeviceIntPoint instead of an nsIntPoint. r=botond 2015-03-19 06:33:32 -04:00
David Anderson
5232e886ff Fix mouse event handling regression from bug 1143567. (bug 1142866, r=jmathies) 2015-03-17 14:01:20 -07:00
Daniel Holbert
082fd9cd7f Bug 1142841: Convert all nsRefPtr<nsIRunnable> to nsCOMPtr<nsIRunnable>. r=ehsan
This patch was generated by a script.  Here's the source of the script for
future reference:

find . \( -iname "*.cpp" -o -iname "*.h" \) | \
  xargs -n 1 sed -i "s/nsRefPtr<nsIRunnable>/nsCOMPtr<nsIRunnable>/g"
2015-03-17 09:29:17 -07:00
Markus Stange
9a4b1b5557 Bug 1142393 - Make menus look correct when 'Reduce transparency' is set. r=smichaud 2015-03-16 16:20:46 -04:00
Kevin Brosnan
b0a157386d Bug 1141207 add gtk_print_settings_foreach to mozgtk.c. r=karlt 2015-03-09 14:42:00 +01:00
Masayuki Nakano
eeb282726e Bug 1140832 Don't call gtk_im_context_reset() during "delete_surrounding" notification r=m_kato 2015-03-17 16:07:02 +09:00
David Anderson
14c8830726 Ensure input events account for APZ transforms on Windows. (bug 1143567 part 4, r=jmathies)
--HG--
extra : rebase_source : dbf4aacae7da0c144e931dffa766d1cf5c650fed
2015-03-16 16:30:37 -07:00
David Anderson
dd3a123b7b Use stricter types in nsWindowBase event dispatch functions. (bug 1143567 part 3, r=jmathies)
--HG--
extra : rebase_source : 33071b2417589de95ad086008f49562af86c89e6
2015-03-16 16:29:57 -07: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
David Anderson
acced07338 Add helper for applying async transforms to widget input events. (bug 1143567 part 1, r=kats)
--HG--
extra : rebase_source : 98eece05d50dee335273b874d9f42aad949c658d
2015-03-16 16:29:53 -07:00
Botond Ballo
2eb9751320 Bug 1139675 - Simplify the APIs for getting and setting the pres shell resolution. r=mstange,mattwoodrow
--HG--
extra : rebase_source : 18444e5f9304bbf9c2c14903be6aa4ebf8a08af3
extra : source : 60fe56e752d984a8d074af1bec1dfcd40a41e5f6
2015-03-06 18:07:59 -05:00
Kartikaya Gupta
617f629233 Bug 1143518 - Remove the TryCapture path which is now obsolete. r=smaug 2015-03-16 12:32:17 -04:00
Mason Chang
088905d5b9 Bug 1143249 Assertion failure due to profiler shutting off race. r=shu 2015-03-13 21:14:11 -04:00
Nathan Froyd
b252a27930 Bug 1142503 - don't use QueryInterface when the compiler can do the cast for us; r=ehsan
Calling QueryInterface with a statically known IID should typically not
be necessary.  In those cases where it's not, the compiler can do the
cast for us, though we have to supply the reference-counting that
QueryInterface would do.

In passing, several redundant null-checks for the result of |new T| have
been deleted.
2015-03-12 09:43:50 -04:00
Nicolas Silva
a8b719ecbb Bug 1125848 - Backout because of crashes. r=me 2015-03-13 15:13:12 +01:00
Masayuki Nakano
e272a7df88 Bug 1061604 part.2 nsTextStore::GetTextExt() should rReturn previous character rect of modified range instead of TS_E_NOLAYOUT when Google Japanese Input retrieves caret rect during composition r=emk 2015-03-13 21:51:00 +09:00
Masayuki Nakano
eda9afb91b Bug 1061604 part.1 nsTextStore::GetTextExt() should rReturn previous character rect instead of TS_E_NOLAYOUT when Google Japanese Input retrieves first character of selected clause at composing r=emk 2015-03-13 21:51:00 +09:00
Robert O'Callahan
843379803a Bug 69787. Implement MouseEvent.offsetX/Y. r=mats,smaug
--HG--
extra : rebase_source : 0120fa29fb94c1c2f992b4e3bae63c5120b90f4b
2015-03-14 00:50:10 +13:00
Jonathan Griffin
d1c61bc9b6 Bug 1116187 - Disable failing mochitest-chrome tests for B2G, r=gbrown 2015-02-06 16:30:37 -08:00
Gabriele Svelto
ab940fcb6e Bug 852925 - Freeze priority changes when the screen is turned off. r=khuey 2015-03-09 16:33:33 +01:00
Chris Peterson
4ef943c538 Bug 1141917 - Remove unused member function RectTextureImage::UpdateFromDrawTarget(). r=mstange
--HG--
extra : rebase_source : c80b149728ecbad2c2f643268b0bdce364f0d5fd
2015-03-10 21:21:56 -07:00
Matt Woodrow
c9827e20e7 Bug 1139503 - Backlist ATI driver version for DXVA on windows 10 since it's causing crashes. r=cpearce
--HG--
extra : rebase_source : bd05f643a4fea3c94f36d25acfa604fbea939f54
2015-03-12 10:44:52 +13:00
Nicolas Silva
41031003e6 Bug 1125848 - Consolidate PCompositor's creation-destruction logic. r=sotaro 2015-03-09 18:43:39 +01:00