Commit Graph

18832 Commits

Author SHA1 Message Date
Nicholas Nethercote
8da254d570 Bug 1204518 - Fix warnings in widget/gonk/. r=mwu.
Warnings fixed include the following.

- Several cases where macros (|LOG| and |ALOGE|) were redefined. I just did a
  simple #undef to fix these.

- In GonkMemoryPressureMonitoring.cpp, "the address of NuwaMarkCurrentThread
  will never be NULL".

- In OrientationObserver.cpp, several signed/unsigned comparison warnings.

- Several warnings about variables that are unused or set but not used:
  in InputDispatcher.cpp, InputReader.cpp.

  Also in SpriteController, where several loops were all but empty if
  HAVE_ANDROID_OS is undefined; for these I moved the HAVE_ANDROID_OS check
  outside the loop.

The patch also disallows the introduction of new warnings by removing the
ALLOW_COMPILER_WARNINGS flag.

--HG--
extra : rebase_source : 6dc19235cf992b929d1308fd98baa03e16701874
2015-09-14 18:08:56 -07:00
Neil Deakin
21155c35e0 Bug 1202176, adjust coordinates from device to css pixels when drag popup moves, r=tn 2015-09-14 15:18:44 -04:00
Masayuki Nakano
9dafcc57ad Bug 1204442 nsIDragService::FireDragEventAtSource() shouldn't be available from script because it takes a value of mozilla::EventMessage r=smaug, sr=smaug 2015-09-15 00:18:29 +09:00
Masayuki Nakano
e38280f51c Bug 895274 part.270 Add comment to explain the naming rules of EventMessage r=smaug 2015-09-15 00:14:38 +09:00
Masayuki Nakano
274522bb4d Bug 895274 part.269 Rename NS_SIMPLE_GESTURE_EVENT_START to eSimpleGestureEventFirst r=smaug 2015-09-15 00:14:38 +09:00
Masayuki Nakano
a32fa2bbf6 Bug 895274 part.268 Rename NS_SIMPLE_GESTURE_SWIPE_MAY_START to eSwipeGestureMayStart r=smaug 2015-09-15 00:14:38 +09:00
Masayuki Nakano
01d0c1e4f6 Bug 895274 part.267 Rename NS_SIMPLE_GESTURE_SWIPE_START to eSwipeGestureStart r=smaug 2015-09-15 00:14:37 +09:00
Masayuki Nakano
a56b1685be Bug 895274 part.266 Rename NS_SIMPLE_GESTURE_SWIPE_UPDATE to eSwipeGestureUpdate r=smaug 2015-09-15 00:14:37 +09:00
Masayuki Nakano
4b0c36bc75 Bug 895274 part.265 Rename NS_SIMPLE_GESTURE_SWIPE_END to eSwipeGestureEnd r=smaug 2015-09-15 00:14:37 +09:00
Masayuki Nakano
8589cee2fb Bug 895274 part.264 Rename NS_SIMPLE_GESTURE_SWIPE to eSwipeGesture r=smaug 2015-09-15 00:14:37 +09:00
Masayuki Nakano
392c27e8be Bug 895274 part.263 Rename NS_SIMPLE_GESTURE_MAGNIFY_START to eMagnifyGestureStart r=smaug 2015-09-15 00:14:37 +09:00
Masayuki Nakano
ff1973548a Bug 895274 part.262 Rename NS_SIMPLE_GESTURE_MAGNIFY_UPDATE to eMagnifyGestureUpdate r=smaug 2015-09-15 00:14:37 +09:00
Masayuki Nakano
4afa8d0be3 Bug 895274 part.261 Rename NS_SIMPLE_GESTURE_MAGNIFY to eMagnifyGesture r=smaug 2015-09-15 00:14:37 +09:00
Masayuki Nakano
7336c96a8a Bug 895274 part.260 Rename NS_SIMPLE_GESTURE_ROTATE_START to eRotateGestureStart r=smaug 2015-09-15 00:14:37 +09:00
Masayuki Nakano
d80c30a345 Bug 895274 part.259 Rename NS_SIMPLE_GESTURE_ROTATE_UPDATE to eRotateGestureUpdate r=smaug 2015-09-15 00:14:36 +09:00
Masayuki Nakano
f0f85cbe58 Bug 895274 part.258 Rename NS_SIMPLE_GESTURE_ROTATE to eRotateGesture r=smaug 2015-09-15 00:14:36 +09:00
Masayuki Nakano
e680fa88d1 Bug 895274 part.257 Rename NS_SIMPLE_GESTURE_TAP to eTapGesture r=smaug 2015-09-15 00:14:36 +09:00
Masayuki Nakano
da4dac72e7 Bug 895274 part.256 Rename NS_SIMPLE_GESTURE_PRESSTAP to ePressTapGesture r=smaug 2015-09-15 00:14:36 +09:00
Masayuki Nakano
59cfc059d4 Bug 895274 part.255 Rename NS_SIMPLE_GESTURE_EDGE_STARTED to eEdgeUIStarted r=smaug 2015-09-15 00:14:36 +09:00
Masayuki Nakano
f6cd790808 Bug 895274 part.254 Rename NS_SIMPLE_GESTURE_EDGE_CANCELED to eEdgeUICanceled r=smaug 2015-09-15 00:14:36 +09:00
Masayuki Nakano
02e3cd7659 Bug 895274 part.253 Rename NS_SIMPLE_GESTURE_EDGE_COMPLETED to eEdgeUICompleted r=smaug 2015-09-15 00:14:36 +09:00
Masayuki Nakano
e11becb130 Bug 895274 part.252 Rename NS_TRANSITION_END to eTransitionEnd r=smaug 2015-09-15 00:14:36 +09:00
Masayuki Nakano
9ed33d8f8f Bug 895274 part.251 Rename NS_TRANSITION_EVENT_START to eTransitionEventFirst r=smaug 2015-09-15 00:14:36 +09:00
Masayuki Nakano
e5272d4a59 Bug 895274 part.250 Rename NS_AUDIO_COMPLETE to eAudioComplete r=smaug 2015-09-15 00:14:36 +09:00
Masayuki Nakano
c105d8a320 Bug 895274 part.249 Rename NS_AUDIO_PROCESS to eAudioProcess r=smaug 2015-09-15 00:14:36 +09:00
Masayuki Nakano
34f45b219c Bug 895274 part.248 Rename NS_WEBAUDIO_EVENT_START to eAudioEventFirst r=smaug 2015-09-15 00:14:35 +09:00
Masayuki Nakano
f3b58916d4 Bug 895274 part.247 Rename NS_MESSAGE_EVENT_START to eMessageEventFirst r=smaug 2015-09-15 00:14:35 +09:00
Masayuki Nakano
e8d203ebb7 Bug 895274 part.246 Rename NS_MESSAGE to eMessage r=smaug 2015-09-15 00:14:35 +09:00
Masayuki Nakano
95e9124e8e Bug 895274 part.245 Rename NS_SHOW_EVENT to eShow r=smaug 2015-09-15 00:14:35 +09:00
Masayuki Nakano
683794135c Bug 895274 part.244 Rename NS_TOUCH_CANCEL to eTouchCancel r=smaug 2015-09-15 00:14:35 +09:00
Masayuki Nakano
51d7268995 Bug 895274 part.243 Rename NS_TOUCH_END to eTouchEnd r=smaug 2015-09-15 00:14:35 +09:00
Masayuki Nakano
52a7afe36c Bug 895274 part.242 Rename NS_TOUCH_MOVE to eTouchMove r=smaug 2015-09-15 00:14:35 +09:00
Masayuki Nakano
7a48a6f2ab Bug 895274 part.241 Rename NS_TOUCH_START to eTouchStart r=smaug 2015-09-15 00:14:34 +09:00
Masayuki Nakano
995eafb620 Bug 895274 part.240 Rename NS_TOUCH_EVENT_START to eTouchEventFirst r=smaug 2015-09-15 00:14:34 +09:00
Masayuki Nakano
baeb0daba5 Bug 895274 part.239 Rename NS_MEDIARECORDER_STOP to eMediaRecorderStop r=smaug 2015-09-15 00:14:34 +09:00
Masayuki Nakano
056f5cb4c7 Bug 895274 part.238 Rename NS_MEDIARECORDER_WARNING to eMediaRecorderWarning r=smaug 2015-09-15 00:14:34 +09:00
Masayuki Nakano
9917577ddc Bug 895274 part.237 Rename NS_MEDIARECORDER_DATAAVAILABLE to eMediaRecorderDataAvailable r=smaug 2015-09-15 00:14:34 +09:00
Masayuki Nakano
34ddcf0539 Bug 895274 part.236 Rename NS_MEDIARECORDER_EVENT_START to eMediaRecorderEventFirst r=smaug 2015-09-15 00:14:34 +09:00
Masayuki Nakano
31ae17700c Bug 895274 part.235 Rename NS_SPEAKERMANAGER_EVENT_START to eSpeakerManagerEventFirst r=smaug 2015-09-15 00:14:34 +09:00
Masayuki Nakano
f330e1391b Bug 895274 part.234 Rename NS_SPEAKERMANAGER_SPEAKERFORCEDCHANGE to eSpeakerForcedChange r=smaug 2015-09-15 00:14:34 +09:00
Masayuki Nakano
4175eebf8f Bug 895274 part.233 Rename NS_EDITOR_EVENT_START to eEditorEventFirst r=smaug 2015-09-15 00:14:33 +09:00
Masayuki Nakano
7928f48bc1 Bug 895274 part.232 Rename NS_EDITOR_INPUT to eEditorInput r=smaug 2015-09-15 00:14:33 +09:00
Masayuki Nakano
fccc4eb01f Bug 895274 part.231 Rename NS_SELECT_EVENT_START to eSelectEventFirst r=smaug 2015-09-15 00:14:33 +09:00
Masayuki Nakano
b3ae872d78 Bug 895274 part.230 Rename NS_SELECT_START to eSelectStart r=smaug 2015-09-15 00:14:33 +09:00
Masayuki Nakano
eb2ca19d13 Bug 895274 part.229 Rename NS_SELECTION_CHANGE to eSelectionChange r=smaug 2015-09-15 00:14:33 +09:00
Masayuki Nakano
c985d88dab Bug 1203364 IMEContentObserver should notify IME of selection change with the latest change reason r=smaug 2015-09-14 23:28:43 +09: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
Michael Layzell
fe31896607 Bug 571294 - Part 1: Implement selection events behind the dom.select_events.enabled pref, r=smaug 2015-09-12 17:56:44 -04:00
Botond Ballo
b979ad25d3 Bug 1202312 - Use mozilla::Function for the ContentReceivedInputBlock callback. r=kats
--HG--
extra : source : d0d8d51c89955d70c72591b424e18790973e8805
2015-09-11 12:52:43 -04:00
Botond Ballo
976c25b63c Bug 1202312 - Use mozilla::Function for the SetAllowedTouchBehavior callback. r=kats
--HG--
extra : source : 168244f8869806e0fb6b318a938e46b706972f94
2015-09-11 12:27:49 -04:00