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

17840 Коммитов

Автор SHA1 Сообщение Дата
Wes Kocher a3c2aab799 Merge m-c to inbound a=merge CLOSED TREE 2015-03-30 19:39:04 -07:00
Kartikaya Gupta be79ca3ef8 Bug 1146987 - Deal with cases where we get a batch of interleaved move and non-move events on the libui thread before anything is processed, with resampling disabled. r=mchang 2015-03-30 14:09:26 -04:00
Michael Vines bafb32c9f1 Bug 1144515 - ConsumerListener interface changes. r=mwu,sotaro.ikeda.g
From ae4139a7b5dfb0b0326c84070e52fa58e43a54fe Mon Sep 17 00:00:00 2001
Change-Id: I3a3e4d6f58a42576197356ba4b7301c670298c74
---
 widget/gonk/libdisplay/FramebufferSurface.cpp            |  4 ++++
 widget/gonk/libdisplay/FramebufferSurface.h              |  4 ++++
 .../nativewindow/GonkBufferQueueLL/GonkBufferQueueLL.cpp | 16 ++++++++++++++++
 .../nativewindow/GonkBufferQueueLL/GonkBufferQueueLL.h   |  5 +++++
 .../GonkBufferQueueLL/GonkBufferQueueProducer.cpp        |  9 ++++++++-
 widget/gonk/nativewindow/GonkConsumerBaseLL.cpp          |  4 ++++
 widget/gonk/nativewindow/GonkConsumerBaseLL.h            |  5 +++++
 widget/gonk/nativewindow/GonkNativeWindowLL.cpp          |  5 +++++
 widget/gonk/nativewindow/GonkNativeWindowLL.h            |  4 ++++
 9 files changed, 55 insertions(+), 1 deletion(-)
2015-03-18 15:03:15 -07:00
Makoto Kato 1d712f16ac Bug 1147722 - Part 1. Turn off TSF when e10s auto start is enabled. r=masayuki,wmccloskey 2015-03-30 11:58:03 +09:00
Nicolas Silva e3eaf89e3f Bug 1132854 - Make nsIntSize a typedef of gfx::IntSize. r=Bas, roc 2015-03-29 16:59:08 +02:00
Mats Palmgren 25fa3a4765 Bug 1148971 - Make nsITheme::GetMinimumWidgetSize return a LayoutDeviceIntSize result instead of the unit-less nsIntSize type. r=roc 2015-03-30 11:36:14 -04: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 5c532881b3 Backed out changeset 513192eb7df4 (bug 1148971) for causing bc2 memory leaks 2015-03-30 15:04:09 +02: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
Mats Palmgren 2121f47090 Bug 1148971 - Make nsITheme::GetMinimumWidgetSize return a LayoutDeviceIntSize result instead of the unit-less nsIntSize type. r=roc 2015-03-30 10:37:33 +00:00
Aaron Klotz c7b7ac7920 Bug 1133351: Backed out 0cc8abe4e2bb for assertion failures; r=bustage 2015-03-28 06:08:26 -07: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
Masayuki Nakano b0b0e0753b Bug 1137539 part.4 Implement TSFStaticSink::IsEasyChangjeiActive() r=emk 2015-04-01 12:54:53 +09:00
Masayuki Nakano ef5c3d727a Bug 1137539 part.3 Implement TSFStaticSink::IsFreeChangJieActive() r=emk 2015-04-01 12:54:53 +09:00
Masayuki Nakano 53729141ed Bug 1137539 part.2 Implement TSFStaticSink::IsATOKActive() r=emk 2015-04-01 12:54:53 +09:00
Masayuki Nakano cee1d456ce Bug 1137539 part.1 Implement TSFStaticSink::IsGoogleJapaneseInputActive() r=emk 2015-04-01 12:54:53 +09:00
Matt Woodrow b3d4a15c89 Bug 1149343 - Part 1: Unify prefs/blacklist for hardware acceleration video decoding. r=cpearce 2015-04-01 16:06:56 +13:00
Jim Chen 60406e63b7 Bug 1149189 - Add dummy text change when setting composition to the same text; r=esawin 2015-03-31 18:20:27 -04:00
Jim Chen 3e01b49d16 Bug 1149172 - Query IMEStateManager for composition state; r=esawin 2015-03-31 18:20:27 -04:00
Jim Chen 4b5e6a3e0c Bug 1149172 - Send well-formed IME events; r=esawin 2015-03-31 18:20:27 -04:00
Mats Palmgren 2fa6fbc270 Bug 1149785 - Make nsIWidget::ClientToWindowSize use LayoutDeviceIntSize instead of the unit-less nsIntSize. r=roc 2015-03-31 22:09:03 +00:00
Ryan VanderMeulen ab26b260cd Merge m-c to inbound. a=merge
CLOSED TREE
2015-03-31 15:01:26 -04:00
Aaron Klotz 3a239b4632 Bug 1133351: Part 1 - Make Windows IPC play nicely with COM STA marshaling; r=bsmedberg
--HG--
extra : rebase_source : ebb6b9c25565bd2721ee6537b2161511666e92ac
2015-03-25 20:54:23 -07:00
Masayuki Nakano f24ba16bfb Bug 1151186 part.1 Don't reset IME enabled state after focus is changed by JS during setting focus r=enndeakin 2015-04-08 11:50:12 +09:00
dvander@alliedmods.net d6e650ec3e Fix tests that depend on synchronous scrolling. (bug 1140293, r=mstange,masayuki,kgilbert) 2015-04-07 18:20:43 -07:00
Wes Kocher fc13417733 Backed out changeset ba41917b2182 (bug 1151890) for android reftest failures
--HG--
extra : amend_source : 671b7f45f14a231f8caab35d929acaf9c1060687
2015-04-07 17:42:41 -07:00
Blake Kaplan 037f44e3b3 Bug 1152066 - Remove ugly dynamic loading code now that we can assume this symbol exists. r=roc 2015-04-07 16:53:30 -07:00
Jonathan Kew 3ffbad09c7 Bug 1028716 part 3 - Widget updates to support the extended set of -moz-orient values. r=roc 2014-06-24 19:26:13 +01:00
Carsten "Tomcat" Book 7ef9b42c28 merge mozilla-central to mozilla-inbound IGNORE IDL
--HG--
extra : rebase_source : 294f0cad1bada4ebf38f24ff52ebbd7798de5912
extra : amend_source : d7b1044b736cf3e351efbef9610c83a14e6543ae
2015-04-22 16:09:56 +02:00
Maksim Lebedev 71409e1dc3 Bug 974305 - Add a test for WidgetPointerEvent::AssignPointerEventData(). r=smaug 2015-04-22 16:09:10 +09:00
Andrea Marchesini ade2831035 Bug 1156632 - Remove unused forward class declarations - patch 6 - the rest of the tree, r=ehsan 2015-04-22 08:29:24 +02:00
Wes Kocher 10b0765a42 Merge m-c to inbound a=merge
--HG--
extra : rebase_source : 65e706214cf534170bf6cfe658eb394c0195cb81
2015-04-21 15:35:07 -07:00
Markus Stange 77c2909c47 Bug 1156315 - Call DispatchInputEvent in more places on OS X. r=dvander
--HG--
extra : rebase_source : 1536bfcdee085059be4508b4c52cb6c62f0ce6f0
2015-04-21 17:44:10 -04:00
Kartikaya Gupta 30016c18de Bug 1151890 - Explicitly set a null MessageLoop for the APZ controller thread on OS X. r=mstange 2015-04-07 16:53:41 -04:00
Jim Mathies 46a2e007da Bug 1132874 - Simplify PPluginWidget protocol handling, and avoid sending async messages from the parent. Addresses a problem with sub protocols that are torn down randomly from either side of the connection. r=aklotz 2015-04-07 08:17:27 -05:00
Jim Mathies 5ebc9f6da6 Bug 1085567 - Fixup synth events within pointer lock implementation for e10s. r=billm 2015-04-07 08:00:05 -05:00
Aaron Klotz e55e727569 Bug 1133351: Make Windows IPC play nicely with COM STA marshaling; r=bsmedberg
--HG--
extra : rebase_source : a14f07bce5c6c022f8141969bebce461cdaf006b
extra : amend_source : 19b9f98458218b896d4acbb36912935afcc34551
2015-03-25 20:54:23 -07:00
Danilo Cesar Lemes de Paula 0e1c236091 Bug 1146020 - Make APZCCallbackHandler extend from ChromeProcessController. r=kats
This is one of the first steps to implement use APZC on Fennec.
2015-03-27 15:18:19 -04:00
Andrea Marchesini e6f385fb3d Bug 1148527 - Indentation fix after bug 1145631, r=ehsan 2015-03-27 18:52:19 +00:00
George Wright 72153ad282 Bug 1066531 - Delay tab switching until content is ready in e10s mode r=mconley,mstange 2015-03-16 14:30:41 -04:00
David Anderson 274c9d4c17 Allow dispatching to the APZ controller thread from any thread. (bug 1147681 part 1, r=kats)
--HG--
extra : rebase_source : ce0beebda151fdf5adf69e998465c684b193db75
2015-03-26 14:23:02 -07:00
Bill McCloskey f2d972e4f2 Bug 1075670 - Make event.screen[XY] work in content processes (r=smaug,kats,tn,joshmoz) 2015-03-26 14:17:29 -07:00
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
Sotaro Ikeda a5af76c3cf Bug 1141311 - Add async mode support to GonkNativeWindow on Lollipop Gonk r=pchang 2015-03-10 20:39:23 -07:00
Steven Michaud c0cae7956c Bug 1137229 - Fix breakage in IMEInputHandler::OnDestroyWidget(). r=masayuki 2015-03-10 20:25:38 -05:00
Nathan Froyd 4380a42bbc Bug 1141689 - use services::GetObserverService more; r=ehsan 2014-04-29 13:31:06 -04:00
Wes Kocher d8ac0068e5 Merge b2g-inbound to m-c a=merge CLOSED TREE 2015-03-10 15:44:53 -07:00
Thomas Zimmermann 0c5bb81c69 Bug 1137151: Marked destructor of |nsScreenManagerGonk| as protected, r=mwu 2015-03-10 13:44:02 +01:00
Thomas Zimmermann 3a5a377ab7 Bug 1137151: Marked destructor of |nsWindow| as protected, r=mwu 2015-03-10 13:44:02 +01:00
Thomas Zimmermann 2092703665 Bug 1137151: Marked destructor of |nsClipboard| as protected, r=mwu 2015-03-10 13:44:02 +01:00
Thomas Zimmermann 7176fed30e Bug 1137151: Marked destructor of |GeckoTouchDispatcher| as protected, r=mwu 2015-03-10 13:44:02 +01:00
Thomas Zimmermann 96d150e2cb Bug 1137151: Marked destructor of |MemoryPressureWatcher| as protected, r=dhylands 2015-03-10 13:44:02 +01:00
David Parks 0906f6b9ed Bug 1138669 - Remove key event from nsChildView crash log message. r=smichaud
Removed theEvent from the message.
2015-03-05 14:25:32 -08:00
Jim Mathies e76f5fee3f Bug 1128214 - Avoid a crash when attempting to render windows titlebar specific theme elements with e10s. r=roc 2015-03-10 05:54:59 -05:00
Carsten "Tomcat" Book 722fe2fc5b Backed out changeset 622f0877bc3f (bug 1125848) for e10s bustage 2015-03-10 12:38:55 +01:00
Nicolas Silva fad35892a9 Bug 1125848 - Consolidate PCompositor's creation-destruction logic. r=sotaro 2015-03-09 18:43:39 +01:00
Milan Sreckovic 76dd5cd892 Bug 1140113 - Catch direct (and some indirect) callers of CreateDrawTarget* and deal with failure. r=mstange 2015-03-09 15:48:20 -04:00
Wes Kocher 5e8e02e501 Merge b2g-inbound to m-c a=merge CLOSED TREE 2015-03-09 18:56:42 -07:00
Daniel Holbert 4c88a11a9a Bug 1128934 followup: Add "mozilla::" namespace prefix to fix build bustage (hidden by unified builds on some systems) in nsWindow.h. rs=nical
CLOSED TREE
2015-03-09 11:12:20 -07:00
Daniel Holbert ce800c7542 Bug 1082579 followup: Forward-declare 'PrintData' as 'class' instead of 'struct', since ipdl apparently converts 'struct' to 'class'. rs=mconley
CLOSED TREE
2015-03-09 10:52:18 -07:00
Daniel Holbert 6a41f02618 Bug 1082579 followup: Fix incorrect forward-declaration 'class PrintData' to use 'struct'. rs=mconley
(just re-landing to fix bug number, so DONTBUILD)
2015-03-09 10:26:49 -07:00
Daniel Holbert 68046a2a57 Backed out changeset 577d7660ea9a for landing with wrong bug number 2015-03-09 10:25:51 -07:00
Daniel Holbert 2db44fca04 Bug 1026535 followup: Fix incorrect forward-declaration 'class PrintData' to use 'struct'. rs=mconley 2015-03-09 10:24:37 -07:00
Kartikaya Gupta 8449555fb0 Bug 1140578 - Prevent resampling moves across non-move touch events. r=mchang 2015-03-09 12:46:04 -04:00
Kartikaya Gupta e288f1cc73 Bug 1140578 - Add a explicit flag to track if we have pending touch moves to process. r=mchang 2015-03-09 12:46:04 -04:00
Kartikaya Gupta c856037b1d Bug 1140578 - Simplify some code. r=mchang 2015-03-09 12:46:04 -04:00
Kartikaya Gupta 87bc24079b Bug 1140578 - Remove some redundant code and an unused return value. r=mchang 2015-03-09 12:46:04 -04:00
Mike Conley 24affce8d1 Bug 1090448 - nsDeviceContextSpecG should not use GtkPrinter until the print job is ready. r=karlt.
In the multi-process case, we might need to query the system (and maybe the
network) for a printer with a name matching the one we're looking for. In
order to not spin an event loop at dangerous times (since searching for printers
is either asynchronous, or requires an event loop), we defer searching for
the printer until we've already finished reflowing and rendering the document
to be printed.

--HG--
extra : rebase_source : 5cd11982e47d3f7cb61fe697e54e310fe1a8d244
2015-03-05 16:05:33 -05:00
Mike Conley 7ce830fbd1 Bug 1090448 - Add GTK-specific PrintData fields and serialization / deserialization. r=karlt.
--HG--
extra : rebase_source : d4ce821c07419f06fbe4fc68faf59d57552a160c
2015-03-05 11:17:18 -05:00
Mike Conley af483c60ef Bug 1090448 - Add initial serialization and deserialization capabilities for nsPrintOptionsGTK. r=karlt.
--HG--
extra : rebase_source : a94ccb0de26a198b961855cfef3192ef2fdd4a41
2015-01-30 20:54:43 -05:00
dvander@alliedmods.net a4abd56718 Events synthesized in the child process must be propagated back to the parent. (bug 1126090 part 3, r=smaug) 2015-03-06 14:26:59 -08: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
Kartikaya Gupta c4fce7246b Bug 1139541 - Make HWC skip opacity=0 layers. r=sotaro 2015-03-06 16:52:34 -05:00
Markus Stange b04d177f0b Bug 976722 - Make -moz-appearance:toolbox influence the sheet attachment edge. r=roc 2015-03-06 14:43:46 -05:00
David Anderson 756eb7f0dc Fix some fields missing in the widget event IPC glue. (bug 1139711, r=kats) 2015-03-06 13:45: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
Mike Conley b7d3cf23a9 Bug 1088070 - If saving print settings in the content process, proxy to the parent. r=smaug.
--HG--
extra : rebase_source : 1b09d4215f5dd7e1c1618397b17defa912fd9637
2015-03-05 13:12:41 -05:00
Nicolas Silva 40d7c19d35 Bug 1125848 - Reduce the likelyhood of a CompositorParent being destroyed without the proper shutdown sequence. r=sotaro 2015-03-09 10:46:56 +01:00
Nicolas Silva 999b7333fe Bug 1128934 - Avoid calling GetClientBounds from BasicComposior. r=roc, karlt 2015-02-14 12:37:32 +01:00
Kearwood (Kip) Gilbert 8d1fcc4892 Bug 945584: Part 6 - Implementation of scroll snapping (v10 Patch), r=roc, r=kats
- Implemented CSS scroll snapping (http://dev.w3.org/csswg/css-snappoints/)

--HG--
extra : rebase_source : e100b6a2cbc00321d6d1083d12a99213e34d5f9d
2015-02-19 15:53:30 -08:00
Kartikaya Gupta f48ffa41e7 Bug 1122094 - Remove some unnecessary code. r=botond 2015-03-05 06:04:02 -05:00
Carsten "Tomcat" Book b9d31e6615 Backed out changeset 8e04b9c921ad (bug 1088070) 2015-03-05 08:54:00 +01:00
Mike Conley 5888c6d369 Bug 1088070 - If saving print settings in the content process, proxy to the parent. r=smaug.
--HG--
extra : rebase_source : 7df1c2cdf7f9d3ae1415ae9055a15925b30dfced
2015-03-02 14:33:53 -05:00
Wes Kocher 01e006a903 Merge inbound to m-c a=merge CLOSED TREE 2015-03-03 16:46:44 -08:00
Ryan VanderMeulen 6541acdb04 Backed out 7 changesets (bug 1075670) for causing bug 1139010.
Backed out changeset 659c40243282 (bug 1075670)
Backed out changeset 45b61c78ee2d (bug 1075670)
Backed out changeset 23bb7b239c78 (bug 1075670)
Backed out changeset a68d5051107f (bug 1075670)
Backed out changeset bd7a5d213692 (bug 1075670)
Backed out changeset f705f5063169 (bug 1075670)
Backed out changeset 13619f8fa672 (bug 1075670)

CLOSED TREE
2015-03-03 18:44:56 -05:00
Botond Ballo 6f8bf1747c Bug 943537 - In the GeckoContentController interface, take the modifiers for tap events in 'widget modifier' format rather than 'DOM modifier' format. r=kats,mbrubeck
--HG--
extra : rebase_source : f931503087e1a13725c9a3a398d49111e060e76e
2015-03-02 16:38:07 -05:00
David Parks 00002f7d3f Bug 1075670 - Fix PuppetWidget calculations wrt client offset. r=smaug
Change the PuppetWidget from defining screen coordinates from tab-content-relative to being based on actual screen geometry. PuppetWidgets can have position. In the parent process, the widget has a position and a separate client position (that includes OS window chrome... on Linux and Windows as others have no chrome). In the child process, the widget (non-origin) position, whose calculation compensates for the OS window decoration.
2015-02-04 04:00:28 -08:00
David Parks 8bb33e6cbc Bug 1075670 - Make PuppetWidget::WidgetToScreenOffset use proper screen position. r=josh
PuppetWidget::WidgetToScreenOffset now reports proper widget screen location. Previously, in the content process, all widgets were defined to be located at the screen origin. This also repairs mac e10s OOP plugin coordinate calculations that would be broken by this change.
2015-02-04 04:17:15 -08:00
Ryan VanderMeulen 7bcb982330 Merge fx-team to m-c. a=merge
CLOSED TREE
2015-02-27 13:21:37 -05:00
Kim Moir f6218e038c Bug 1137575 - Disable test_native_mouse_mac.xul on OSX 10.10. r=mstange
CLOSED TREE
2015-02-27 06:54:00 -05:00
Mark Hammond f28e2294d2 Bug 1127577 - nsITaskbarPreview::Invalidate no longer throws when not visible. r=jimm 2015-02-27 14:21:48 +11:00
Carsten "Tomcat" Book 3882977ec5 Merge mozilla-central to fx-team 2015-02-26 12:07:22 +01:00
David Parks 8160811906 Bug 1124408 - Report cocoa view focus correctly when sheets are exposed. r=masayuki,smichaud
nsChildView::SetInputContext sets secure input based on
IMEInputHandler::IsOrWouldBeFocused, which should report true if the
view would get focus if the window got focus.  This fixes the function
to report NO when the focus would instead go to a sheet 'child window'.

--HG--
extra : amend_source : 72af47412cd65cc17fa34fc683ace87d02150ce3
2015-02-24 03:51:53 -08:00
Milan Sreckovic e3e474039d Bug 1019209 - Allow GL initialization without Android bridge, delay some GL string initialization, clean up some AndroidBridge code. r=snorp 2015-02-18 16:50:31 -05:00
Bas Schouten c7306e4a06 Bug 1136487: Destroy the compositors for all windows when any window detects a device reset. r=jrmuizel 2015-02-25 18:04:18 +00:00
Markus Stange c9f3048148 Bug 1135912 - Don't repaint vibrant regions on mouseover. r=smichaud
--HG--
extra : rebase_source : e85343b5aa626eef9059170273b34ce5e181f836
extra : source : 58d13a71c5dc57f190df091f971f8b3256506b97
2015-02-23 18:27:15 -05:00
Wes Kocher 8ff3b04a7f Backed out changeset 58d13a71c5dc (bug 1135912) for reftest bustage on a CLOSED TREE 2015-02-24 17:32:00 -08:00
Wes Kocher c072157008 Merge m-c to inbound a=merge CLOSED TREE 2015-02-24 15:42:16 -08:00
Wes Kocher 914c7791f7 Merge b2g-inbound to m-c a=merge 2015-02-24 15:36:56 -08:00
Mason Chang d81b5a205d Bug 1129133 - Clean up GeckoTouchDispatcher so that it's a real singleton. r=kats,mwu 2015-02-24 12:52:16 -08:00
Jacek Caban 1b92a84988 Bug 1136177 - Amount by mouse wheel scrolling is wrong. r=jimm 2015-02-24 09:07:00 -05:00
Ryan VanderMeulen ec8d7510c3 Backed out 7 changesets (bug 1075670) for e10s browser_586068-browser_state_interrupted.js crashes.
Backed out changeset 4ca74b217fe8 (bug 1075670)
Backed out changeset 83199cfc333f (bug 1075670)
Backed out changeset 065b859e6525 (bug 1075670)
Backed out changeset a3e8329610d9 (bug 1075670)
Backed out changeset ced9055e0bcc (bug 1075670)
Backed out changeset e6d6f0c11133 (bug 1075670)
Backed out changeset b823c6c95030 (bug 1075670)

CLOSED TREE
2015-02-24 11:53:34 -05:00
Markus Stange 941ec467cc Bug 1135912 - Don't repaint vibrant regions on mouseover. r=smichaud 2015-02-23 18:27:15 -05:00
Gian-Carlo Pascutto becb75667e Bug 755070 - Move WrappedJavaObject comment to the class it refers to. rs=snorp DONTBUILD NPOTB 2015-02-23 16:20:35 +01:00
Jacek Caban 804fea549c Bug 1133818 - Fixed GCC warnings in widget/windows. r=jmathies 2015-02-23 12:15:53 +01:00
Phil Ringnalda 85f8005fd8 Bug 1134111 - Update test_platform_colors.xul to include new 10.10 color for -moz-cellhighlight 2015-02-20 20:14:48 -08:00
Sotaro Ikeda 124a6df323 Bug 1133426 - Care about new CompositorChild and CompositorParent re-creation. 2015-02-22 08:53:37 -08:00
David Parks 0028da34fb Bug 1075670 - Fix PuppetWidget calculations wrt client offset. r=smaug
Change the PuppetWidget from defining screen coordinates from tab-content-relative to being based on actual screen geometry. PuppetWidgets can have position. In the parent process, the widget has a position and a separate client position (that includes OS window chrome... on Linux and Windows as others have no chrome). In the child process, the widget (non-origin) position, whose calculation compensates for the OS window decoration.
2015-02-04 04:00:28 -08:00
Wes Kocher 013dcede4f Merge b2g-inbound to m-c a=merge CLOSED TREE 2015-02-20 18:17:56 -08:00
Alexandre Lissy d5f7076117 Bug 1133741 - Add camera focus hardware button. r=masayuki 2015-02-20 00:06:00 -05:00
Anish 45de248a8b Bug 1056851 - Change existing callers of SpecialPowers.setBoolPref/setIntPref/setCharPref to SpecialPowers.pushPrefEnv. r=jmaher,mwargers 2015-02-19 11:53:01 -05:00
Carsten "Tomcat" Book c0d53e2918 Backed out changeset 6885e993936a (bug 1056851) for crashtest failures 2015-02-19 15:02:05 +01:00
Jim Mathies 57bcfa87be Bug 1132874 - Improve PPluginWidget shutdown logic. r=aklotz 2015-02-19 07:05:12 -06:00
Anish e7006d8a59 Bug 1056851 - Change existing callers of SpecialPowers.setBoolPref/setIntPref/setCharPref to SpecialPowers.pushPrefEnv. r=jmaher 2015-02-19 07:26:41 -05:00
Masayuki Nakano c66d4bddc5 Bug 1119609 part.17 TextInputProcessor shouldn't allow to begin input transaction with different TextEventDispatcher during dispatching an event r=smaug 2015-02-19 15:50:21 +09:00
Masayuki Nakano 019965a1f6 Bug 1119609 part.14 Reimplement/redesign EventUtils.synthesizeKey() with nsITextInputProcessor r=smaug 2015-02-19 15:50:20 +09:00
Masayuki Nakano 26f706d27e Bug 1119609 part.13 EventUtils.synthesizeComposition() and synthesizeCompositionChange() should take KeyboardEvent for emulating composition state change caused by a key operation rs=smaug 2015-02-19 15:50:20 +09:00
Masayuki Nakano e0f19b8f22 Bug 1119609 part.12 nsITextInputProcessor should take KeyboardEvent as an argument of composition releated methods for dispatching key events around composition events r=smaug, sr=smaug 2015-02-19 15:50:20 +09:00
Masayuki Nakano f706eb2f63 Bug 1119609 part.11 TextEventDispatcher shouldn't allow to begin input transaction during dispatching a event r=smaug 2015-02-19 15:50:20 +09:00
Masayuki Nakano d57715ef5b Bug 1119609 part.10 Support all key and code values which are enough stable in DOM Level 3 KeyboardEvent key/code Values rs=smaug 2015-02-19 15:50:20 +09:00
Masayuki Nakano d8566e1894 Bug 1119609 part.7 Make TextInputProcerros possible to share modifier state r=smaug, sr=smaug 2015-02-19 15:50:19 +09:00
Masayuki Nakano 6de68f8acc Bug 1119609 part.6 TextInputProcessor should manage modifier key state and set it to dispatching key events automatically r=smaug, sr=smaug 2015-02-19 15:50:19 +09:00
Masayuki Nakano bf466fe03e Bug 1119609 part.5 Compute KeyboardEvent.location and .keyCode if they are 0 r=smaug, sr=smaug 2015-02-19 15:50:19 +09:00
Masayuki Nakano 27d34fdbd2 Bug 1119609 part.3 Implement converting methods from key/code value to key/code name index r=smaug 2015-02-19 15:50:19 +09:00
Masayuki Nakano 9de8ad1bb5 Bug 1119609 part.2 Don't dispatch keyboard events from TextEventDispatcher if there is a composition r=smaug 2015-02-19 15:50:18 +09:00
Masayuki Nakano 4015c70a27 Bug 1119609 part.1 Implement key event dispatcher in TextEventDispatcher r=smaug 2015-02-19 15:50:18 +09:00
Steven Michaud 68e8327d5b Bug 1110888 - Always do plugin IME in main process, even with e10s. r=masayuki,smaug 2015-02-20 10:37:02 -06:00
David Parks 0bb693520e Bug 1075670 - Make PuppetWidget::WidgetToScreenOffset use proper screen position. r=josh
PuppetWidget::WidgetToScreenOffset now reports proper widget screen location. Previously, in the content process, all widgets were defined to be located at the screen origin. This also repairs mac e10s OOP plugin coordinate calculations that would be broken by this change.
2015-02-04 04:17:15 -08:00
Michael Schloh von Bennewitz f8a246c05b Bug 1123480 - Component: widget nsTransferable private browsing correction. r=jdm
This patch mitigates violation of private browsing disk access. The DataStruct API and implementation is modified to obey private browsing design when used by objects such as nsTransferable (during clipboard data caching for example.)

Without this patch, a user is misled by use of private browsing when copying (or in some case just selecting) large blocks of text. A condition (presently hard coded at one million bytes kLargeDatasetSize) produces a cache file on disk regardless of whether private browsing is in use. This violates Mozilla's design (documented online at https://support.mozilla.org/kb/private-browsing-browse-web-without-saving-info/ and https://wiki.mozilla.org/PrivateBrowsing) This patch simply corrects the violation, discovered and resolved by the Tor Browser community.
2015-02-18 06:52:00 -05:00
Ryan VanderMeulen a411359369 Merge inbound to m-c. a=merge 2015-02-18 20:29:54 -05:00
David Anderson 8b68b8e3e8 Add weak reference support to nsBaseWidget. (bug 1133150, r=roc) 2015-02-17 22:27:53 -08:00
Jim Mathies d6954d90ce Bug 1095761 - Child plugin window focus handling for e10s. r=aklotz 2015-02-17 13:16:09 -06:00
Ryan VanderMeulen cd46520185 Merge inbound to m-c. a=merge 2015-02-17 14:24:51 -05:00
Gabriele Svelto fafc282f1a Back out bug 1075670 for causing smoketest failures on B2G, bug 1133518 and friends. rs+a=kats 2015-02-17 10:39:35 -05: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
Jeff Gilbert d3813c406b Bug 1124394 - Support Core profiles for GLContext. - r=kamidphish 2015-02-12 19:00:41 -08:00
Xidorn Quan 64d457e303 Bug 1132679 - Fix warnings on windows widget and enable FAIL_ON_WARNINGS there. r=jimm
--HG--
extra : rebase_source : 548b36856606721dcbbab4ffede1d9dca338a169
extra : source : 706be6f1897cae827e8e22345585e03540de14ea
2015-02-14 11:29:29 +11:00
Mason Chang b1923e0466 Bug 1127151. Part 1: Expose dwmFlush to winutils. r=jrmuizel 2015-02-13 17:17:23 +08:00
Carsten "Tomcat" Book 965d640fdf Merge mozilla-central to mozilla-inbound 2015-02-17 14:47:52 +01:00
Makoto Kato 2cdea8814f Bug 1121313 - Part 3. Don't commit composition on IME blur from child process's widget. r=masayuki 2015-02-17 20:10:56 +09:00
Makoto Kato d73239b1ac Bug 1121313 - Part 2. Don't generate composition event on child process if parent process doesn't send composition event by NotifyIME. r=masayuki 2015-02-17 11:30:55 +09:00
Makoto Kato 78081000a4 Bug 1121313 - Part 1. Replace NS_COMPOSITION_CHANGE with NS_COMPOSITION_COMMIT. r=masayuki 2015-02-17 11:30:38 +09:00
Nigel Babu 989c06329b Backed out changeset 93fb431c3464 (bug 1121313) for M1,M2 bustage, CLOSED TREE 2015-02-17 10:17:16 +05:30
Nigel Babu be38e0d9c8 Backed out changeset 456038b0bdb5 (bug 1121313) for M1,M2 bustage 2015-02-17 10:15:44 +05:30
Makoto Kato a39c2b2af6 Bug 1121313 - Part 2. Don't generate composition event on child process if parent process doesn't send composition event by NotifyIME. r=masayuki 2015-02-17 11:30:55 +09:00
Makoto Kato 0b84456c40 Bug 1121313 - Part 1. Replace NS_COMPOSITION_CHANGE with NS_COMPOSITION_COMMIT. r=masayuki 2015-02-17 11:30:38 +09:00
Andrea Marchesini 983b9d9fa4 Bug 1134280 - Get rid of Tag() - patch 2.13 - Fix all the occurrences, m=smaug, r=surkov 2015-03-03 11:09:00 +00:00
Andrea Marchesini 2c4f63331f Bug 1134280 - Get rid of Tag() - patch 1 - Is{HTML,XUL,MathML,SVG}Element and IsAnyOf{HTML,XUL,MathML,SVG}Elements, r=smaug 2015-03-03 11:08:59 +00:00