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

5 Коммитов

Автор SHA1 Сообщение Дата
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
Michael Wu 77f40ba664 Bug 908797 - Update libui to the latest input code from JB MR2, r=m1 2013-08-26 17:59:18 -04:00
Michael Wu c5f03fd1fc Bug 868124 - Switch to our own copy of PowerManager.h in libui, r=vlad 2013-05-02 15:09:06 -04:00
Michael Wu cc2287eabc Bug 739139 - Fix build of nsAppShell.cpp on gonk-gb, irc-r=cjones 2012-03-25 17:12:29 -07:00
Michael Wu ext:(%20%28and%20others%29) 31dc786f73 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