Commit Graph

23 Commits

Author SHA1 Message Date
Nicholas Nethercote
bb77d40918 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
Viral Wang
ad0ea11c47 Bug 1168730 - Add 'led' for KeyLayoutMap scan code. r=mwu
Most of changes come from: 74bdd2e7ce
and also refer few codes from: 872db4f11e
2015-06-02 21:41:00 -04:00
Viral Wang
b4e92b753d Bug 1107760 - add new keycode mapping for L, r=mwu 2015-01-08 01:14:00 +01:00
Nicholas Nethercote
0696849cfd Bug 1117623 - Fix undefined value error in TouchInputMapper::configureSurface(). r=mwu.
--HG--
extra : rebase_source : 6a6fe5eefda60df9b42bcc6212ecdd763f548495
2015-01-06 19:31:03 -08:00
Michael Wu
6f1e52b724 Bug 1104661 - Import sha1.c for libui, r=m1 2014-12-16 20:43:41 -05:00
Ryan VanderMeulen
9e1968d46e Backed out changeset 07c91b928cd7 (bug 932698) for causing bug 1047618. a=me 2014-08-01 16:46:21 -04:00
Viral Wang
2acc0fef0b Bug 932698 - Hold a wakelock when we receive the powey key to wake up device. r=dhylands 2014-07-31 03:05:00 -04:00
Kai-Zhen Li
ba9ad3271e Bug 959912 - fix build break on gonk-kk caused by different log header. r=mwu 2014-01-15 18:26:33 +08:00
Michael Wu
4027e72110 Bug 908797 - Update libui to the latest input code from JB MR2, r=m1 2013-08-26 17:59:18 -04:00
Michael Wu
e0e25356ee Bug 868124 - Switch to our own copy of PowerManager.h in libui, r=vlad 2013-05-02 15:09:06 -04:00
Masayuki Nakano
1dbdaeef56 Bug 842927 part.2 Make convertion table from native keycode to DOM key name index r=smaug+cpeterson+romaxa+smichaud+jimm+karlt+mwu 2013-04-24 12:49:46 +09:00
James Zhang
c233c28467 Bug 852400 - revert bug 739417 to support touchscreen on tara, r=mwu 2013-04-14 13:45:47 +02:00
Dave Hylands
a1e22a7dbe Bug 814783 - terminate_string16 is called twice, causing segfault when an app exits. r=mwu
Add String16.cpp to libui so that we call the terminate_string16 from that file rather than
the one from android.
2012-11-28 13:59:54 -08:00
Michael Wu
457f4c724b Bug 768377 - Back out Bug 762153 due to regression on akami, r=cjones 2012-06-26 04:30:43 -07:00
Michael Wu
af95b87197 Bug 763771 - Uninitialised value use in TouchInputMapper::abortPointerUsage, r=cjones 2012-06-12 16:07:02 +08:00
Fabrice Desré
613c764d6a Bug 762153 - Force input devices to not report hovering key [r=mwu] 2012-06-06 11:39:33 -07:00
Michael Wu
7b61d44292 Bug 743907 - Remove use of Message, pending-r=cjones 2012-04-11 11:43:37 +08:00
Michael Wu
9da543e42f Bug 743907 - Remove use of WeakMessageHandler/MessageHandler, pending-r=cjones 2012-04-11 10:59:29 +08:00
Michael Wu
95dd4626ac Bug 743907 - Add cursor mapper support back to libui, r=cjones 2012-04-11 09:49:49 +08:00
Michael Wu
42dba73a13 Bug 741038 - Dumb down mt touchscreen detection, r=cjones 2012-04-06 03:01:07 -07:00
Michael Wu
c25f28e60f Bug 739417 - InputReader doesn't send motion up events, r=cjones NPOTB DONTBUILD 2012-03-26 16:48:16 -07:00
Michael Wu
d470df6062 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)
bca059c422 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