Nicholas Nethercote
10d95cca57
Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium.
...
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.
2015-08-27 20:44:53 -07:00
Ryan VanderMeulen
ad8aa42906
Merge m-c to inbound. a=merge
2015-08-30 15:44:58 -04:00
Markus Stange
c8d4830558
Bug 1016035 - Swallow the rest of the scroll gesture after swiping without APZ. r=kats
...
With APZ this is handled because starting a swipe interrupts the PanGesture input block, and momentum events don't start a new input block so APZ ignores them.
2015-08-27 00:23:09 -04:00
Markus Stange
30a922252e
Bug 1016035 - Don't wait for content to say that we need to swipe if APZ has enough information. r=kats
2015-08-28 16:50:00 -04:00
Gijs Kruitbosch
a7eb0d3ed1
Bug 1179395 - do not get individual titlebar button measurements on win8+ because we never use them, r=jimm
2015-08-28 14:11:07 +01:00
Masayuki Nakano
24b7d7d362
Bug 1199224 TSFTextStore should clear mLockedContent unless it needs to wait the content to be modified asynchronously r=emk
2015-08-28 23:17:37 +09:00
Markus Stange
dc5b5e4307
Bug 1016035 - Replay the queue to the swipe tracker once the swipe start confirmation arrives. r=kats
2015-08-08 20:05:18 -04:00
Markus Stange
fb05d46806
Bug 1016035 - Add nsIWidget::ReportSwipeStart and call it after processing wheel events that can trigger swipes. r=kats
2015-08-28 01:10:48 -04:00
Markus Stange
4c1887821a
Bug 1016035 - Put PanGestureInput events into a queue if they can end up as a swipe. r=kats
2015-08-12 00:15:32 -04:00
Markus Stange
2d82354499
Bug 1016035 - Delay the processing of a PanGestureInput block until we know whether it's a swipe. r=kats
2015-08-12 00:11:54 -04:00
Markus Stange
a773168142
Bug 1016035 - Also mark widgetWheelEvents that are handled by APZ with mCanStartSwipe. r=kats
2015-08-28 00:04:53 -04:00
Markus Stange
9c2bf9549e
Bug 1016035 - Add mCanTriggerSwipe and TriggersSwipe(). r=masayuki
2015-08-27 23:50:31 -04:00
Markus Stange
37a5580c19
Bug 1016035 - Send MayStartSwipe event before sending the wheel event. r=kats
2015-08-08 18:31:58 -04:00
Markus Stange
77942e54e0
Bug 1016035 - Split up MaybeTrackScrollEventAsSwipe into SendMayStartSwipe and TrackScrollEventAsSwipe. r=kats
2015-08-11 23:12:57 -04:00
Markus Stange
32b1e42601
Bug 1016035 - Move swipe tracking code into DispatchAPZWheelInputEvent. r=kats
2015-08-28 17:30:16 -04:00
Markus Stange
233eb8fd99
Bug 1016035 - Add a MozSwipeGestureMayStart event. r=kats
...
Having this event means that we don't have to wait for content to find out whether it's scrollable in the case that no swipe should be happening anyway.
IGNORE IDL because I'm only changing comments in the IDL files.
2015-08-27 15:06:21 -04:00
Markus Stange
cb98f4cd46
Bug 1016035 - Implement the swipe animation ourselves instead of calling the NSEvent trackSwipe API. r=kats
2015-08-27 16:07:59 -04:00
Markus Stange
85a5b3b5e8
Bug 1016035 - More swipe refactoring. r=kats
2015-07-23 15:17:28 -04:00
Markus Stange
c7fd082297
Bug 1016035 - Refactor the code that decides whether we want to start a swipe. r=kats
2015-08-27 14:20:56 -04:00
Markus Stange
64856acc58
Bug 1016035 - Move some code around. r=kats
2015-08-27 14:19:15 -04:00
Markus Stange
09b754e2c1
Bug 1016035 - Remove the ability to swipe vertically. r=kats
...
This was intended for a snapshot-based overscroll animation which we're not going to use because APZ solves the same problem in a much better way.
2015-07-23 13:09:13 -04:00
Xidorn Quan
8974153e36
Bug 1196163 followup 2 - Fix android bustage.
2015-08-29 12:30:32 +10:00
Xidorn Quan
d77fc14323
Bug 1196163 followup - Fix build bustage on Android.
2015-08-29 11:43:28 +10:00
Xidorn Quan
753bfea20d
Bug 1196163 part 2 - Send sizemode as part of UpdateDimensions message to TabChild. r=roc,smaug
2015-08-29 11:12:41 +10:00
Xidorn Quan
82034ad4ce
Bug 1196163 part 1 - Use nsSizeMode instead of int32_t for nsIWidget::{SizeMode,SetSizeMode}. r=roc
2015-08-29 11:12:41 +10:00
Masayuki Nakano
59e99c9121
Bug 895274 part.38 Rename NS_MOUSE_MOZLONGTAP to eMouseLongTap r=smaug
2015-08-29 08:58:33 +09:00
Masayuki Nakano
25a9fbde56
Bug 895274 part.37 Rename NS_MOUSELEAVE to eMouseLeave r=smaug
2015-08-29 08:58:33 +09:00
Masayuki Nakano
2c5aacf642
Bug 895274 part.36 Rename NS_MOUSEENTER to eMouseEnter r=smaug
2015-08-29 08:58:33 +09:00
Masayuki Nakano
8e1468bfd8
Bug 895274 part.35 Rename NS_MOUSE_MOZHITTEST to eMouseHitTest r=smaug
2015-08-29 08:58:32 +09:00
Masayuki Nakano
2a582b4461
Bug 895274 part.34 Rename NS_MOUSE_OUT to eMouseOut r=smaug
2015-08-29 08:58:32 +09:00
Masayuki Nakano
2c0e55e339
Bug 895274 part.33 Rename NS_MOUSE_OVER to eMouseOver r=smaug
2015-08-29 08:58:32 +09:00
Masayuki Nakano
f851dec273
Bug 895274 part.32 Rename NS_MOUSE_ACTIVATE to eMouseActivate r=smaug
2015-08-29 08:58:32 +09:00
Masayuki Nakano
5f60978161
Bug 895274 part.31 Rename NS_MOUSE_CLICK to eMouseClick r=smaug
2015-08-29 08:58:32 +09:00
Masayuki Nakano
69dd8b3bcc
Bug 895274 part.30 Rename NS_MOUSE_DOUBLECLICK to eMouseDoubleClick r=smaug
2015-08-29 08:58:31 +09:00
Masayuki Nakano
81b1861aa3
Bug 895274 part.29 Rename NS_MOUSE_EXIT_WIDGET to eMouseExitFromWidget r=smaug
2015-08-29 08:58:31 +09:00
Masayuki Nakano
d84b0c1c6f
Bug 895274 part.28 Rename NS_MOUSE_ENTER_WIDGET to eMouseEnterIntoWidget r=smaug
2015-08-29 08:58:31 +09:00
Masayuki Nakano
004e5bb7df
Bug 895274 part.27 Rename NS_MOUSE_BUTTON_DOWN to eMouseDown r=smaug
2015-08-29 08:58:30 +09:00
Masayuki Nakano
1b91479600
Bug 895274 part.26 Rename NS_MOUSE_BUTTON_UP to eMouseUp r=smaug
2015-08-29 08:58:30 +09:00
Masayuki Nakano
e35ebe6f06
Bug 895274 part.25 Rename NS_MOUSE_MOVE to eMouseMove r=smaug
2015-08-29 08:58:29 +09:00
Masayuki Nakano
3e330c2f8d
Bug 895274 part.24 Rename NS_MOUSE_MESSAGE_START to eMouseEventFirst r=smaug
2015-08-29 08:58:29 +09:00
Masayuki Nakano
106992adce
Bug 895274 part.23 Rename NS_LANGUAGECHANGE to eLanguageChange r=smaug
2015-08-29 08:58:29 +09:00
Masayuki Nakano
fb3ef03aa2
Bug 895274 part.22 Get rid of NS_MOZ_USER_* since nobody is using them r=smaug
2015-08-29 08:58:29 +09:00
Masayuki Nakano
cda8b93c26
Bug 895274 part.21 Rename NS_ONLINE to eOnline r=smaug
2015-08-29 08:58:29 +09:00
Masayuki Nakano
2dd6a35257
Bug 895274 part.20 Rename NS_OFFLINE to eOffline r=smaug
2015-08-29 08:58:29 +09:00
Masayuki Nakano
fd61b1b10f
Bug 895274 part.19 Rename NS_PLUGIN_FOCUS to ePluginFocus r=smaug
2015-08-29 08:58:28 +09:00
Masayuki Nakano
abd2512588
Bug 895274 part.18 Rename NS_PLUGIN_ACTIVATE to ePluginActivate r=smaug
2015-08-29 08:58:28 +09:00
Masayuki Nakano
4f6fc6171c
Bug 895274 part.17 Rename NS_SCROLL_EVENT to eScroll r=smaug
2015-08-29 08:58:28 +09:00
Masayuki Nakano
c5f96b611c
Bug 895274 part.16 Rename NS_RESIZE to eResize r=smaug
2015-08-29 08:58:28 +09:00
Masayuki Nakano
7b5c91dfce
Bug 895274 part.15 Rename NS_KEY_AFTER_UP to eAfterKeyUp r=smaug
2015-08-29 08:58:28 +09:00
Masayuki Nakano
f297755349
Bug 895274 part.14 Rename NS_KEY_BEFORE_UP to eBeforeKeyUp r=smaug
2015-08-29 08:58:28 +09:00