Commit Graph

11 Commits

Author SHA1 Message Date
Nicholas Nethercote
68216616e3 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.
2015-09-14 18:08:56 -07:00
Nicholas Nethercote
2a52751f21 Bug 1117623 - Fix undefined value error in TouchInputMapper::configureSurface(). r=mwu. 2015-01-06 19:31:03 -08:00
Michael Wu
a8f2f415f5 Bug 908797 - Update libui to the latest input code from JB MR2, r=m1 2013-08-26 17:59:18 -04:00
James Zhang
d8fe35cbd6 Bug 852400 - revert bug 739417 to support touchscreen on tara, r=mwu 2013-04-14 13:45:47 +02:00
Michael Wu
aac3ea5922 Bug 768377 - Back out Bug 762153 due to regression on akami, r=cjones 2012-06-26 04:30:43 -07:00
Michael Wu
edbe70477d Bug 763771 - Uninitialised value use in TouchInputMapper::abortPointerUsage, r=cjones 2012-06-12 16:07:02 +08:00
Fabrice Desré
d8b272e03d Bug 762153 - Force input devices to not report hovering key [r=mwu] 2012-06-06 11:39:33 -07:00
Michael Wu
379965d267 Bug 743907 - Add cursor mapper support back to libui, r=cjones 2012-04-11 09:49:49 +08:00
Michael Wu
e670fc7434 Bug 739417 - InputReader doesn't send motion up events, r=cjones NPOTB DONTBUILD 2012-03-26 16:48:16 -07:00
Michael Wu
04853493a3 Bug 739139 - Fix build of nsAppShell.cpp on gonk-gb, irc-r=cjones 2012-03-25 17:12:29 -07:00
Michael Wu
be567362e8 Bug 737199, part 1: Import the Ice Cream Sandwich version of InputReader and friends to get off the treadmill of an internal interface. r=cjones,mwu (npotb) 2012-03-25 02:11:05 -07:00