Commit Graph
147 Commits
Author SHA1 Message Date
John Shih 2f092e6795 Bug 960426 - Part 4: Support Network Information API in Fifrefox OS. r=vchang 2014-03-17 14:33:48 +08:00
Eric Rahm 3489e35ab2 Bug 971633 - Add filtering of expired input events. r=mwu 2014-03-12 17:31:09 -07:00
Thomas Zimmermann 84049a0a67 Bug 978700: Fix warnings about comparison of values with different signs, r=roc 2014-03-04 09:45:51 +01:00
Thomas Zimmermann 754a120548 Bug 978700: Fix warnings about uninitialized variables, r=roc 2014-03-04 09:45:51 +01:00
Thomas Zimmermann 2c032b7909 Bug 978700: Fix some warnings about redefined preprocessor tokens, r=roc 2014-03-04 09:45:50 +01:00
Dave Hylands 345bfbe51f Bug 851680 - Set kernel timezone so that external sdcards get local time rather than UTC time. 2014-01-28 13:33:15 -08:00
Doug Sherk e3ddbf0acd Bug 960846: Round Gonk touches instead of truncating them. r=mwu 2014-01-28 12:55:46 -05:00
Marco Chen 941f313062 Bug 958963 - Headset status from input device didn't be recorded by GonkSwitch.r=dhylands. 2014-01-20 17:35:24 +08:00
Kai-Zhen Li ec79085ae9 Bug 957514 - Fix FakeSurfaceComposer compile error in gonk-kk. r=mwu 2014-01-08 19:04:32 +08:00
Masayuki Nakano e4a9e38706 Bug 951023 - Gonk widget should set modifier state at dispatching events derived from WidgetInputEvent. r=mwu 2014-01-07 10:03:51 -05:00
Ehsan Akhgari 68bfe70f09 Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
This patch was automatically generated by the following script:

#!/bin/bash
# Command to convert PRUnichar to char16_t

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*modules/libmar*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name prtypes.h \
       ! -name Char16.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Masayuki Nakano 13ef1c88a3 Bug 912858 part.6-2 Implement KeyboardEvent.key for printable keys on Gonk r=mwu+smaug 2013-12-11 01:14:55 +09:00
Masayuki Nakano fc5a45c022 Bug 912858 part.6-1 Create KeyEventDispatcher in gonk/nsAppShell.cpp for easier maintenance r=mwu 2013-12-11 01:14:55 +09:00
Steven Lee d36e4d33d7 Bug 926746 - Part 1: Merge fakeperm into B2G. r=mwu 2013-12-05 09:29:07 -05:00
Michael Wu 66c53763f9 Bug 945025 - Fix pointer bounds calculation in GeckoPointerController, r=m1 2013-12-03 16:44:01 -05:00
Ryan VanderMeulen 66e0a09069 Backed out changesets 720a36d92d37 and c24da899172a (bug 926746) for frequent timeouts/hangs in test_dataChannel_basicAudio.html. 2013-12-02 14:05:19 -05:00
Steven Lee 08a4518aeb Bug 926746 - Part 1: Merge fakeperm into b2g. r=mwu 2013-12-02 10:21:07 -05:00
Sotaro Ikeda 6c682a86a1 Bug 929973 - Implement android::IGraphicBufferAlloc in B2G. r=mwu, r=mikeh 2013-11-21 16:03:27 -05:00
Michael Wu 597c3f040d Bug 938383 - Improve charCode handling in Gonk key events, r=masayuki 2013-11-19 13:14:41 -05:00
Michael Wu 46126a1346 Bug 890186 - Assign charCodes on key events, r=fabrice 2013-11-11 18:19:04 -05:00
Masayuki Nakano 17ec1301df Bug 600117 part.5 Implement KeyboardEvent.repeat on Gonk r=mwu 2013-11-07 20:17:33 +09:00
Birunthan Mohanathas 1cb747f6de Bug 784739 - Switch from NULL to nullptr in widget/; r=ehsan 2013-10-28 10:05:51 -04:00
Masayuki Nakano ed3fbdf704 Bug 920377 part.32 Get rid of nsMouseEvent r=roc 2013-10-02 15:38:27 +09:00
Masayuki Nakano 36c92a3fec Bug 920377 part.17 Get rid of nsKeyEvent r=roc 2013-10-01 16:22:58 +09:00
Thinker Lee 78f0aca31a Bug 771765 - Support template content process, part 8: process initialization flow changes. r=khuey
Changes initialization code for the template process:
* Let the process run for NUWA_PREPARATION_TIME ms and then start freezing the threads.
* Delay android binder thread pool creation after the content process is forked from the template and other thread recreation has finished.
* Poke the app shell after the content process is forked from the template.
2013-06-03 18:14:46 +08:00
Masayuki Nakano fb9f3a20a8 Bug 920377 part.13 Get rid of nsTouchEvent r=roc 2013-09-27 15:20:57 +09:00
Masayuki Nakano c23797df63 Bug 912956 part.18 Remove nsGUIEvent.h r=roc 2013-09-25 20:21:22 +09:00
Masayuki Nakano 5256146045 Bug 912956 part.15 mozilla/TextEvents.h should be included directly r=roc 2013-09-25 20:21:19 +09:00
Masayuki Nakano 4a5dc45e59 Bug 912956 part.14 mozilla/MouseEvents.h should be included directly r=roc 2013-09-25 20:21:18 +09:00
Masayuki Nakano 0587df8d9c Bug 912956 part.13 mozilla/TouchEvents.h should be included directly r=roc 2013-09-25 20:21:16 +09:00
Michael Wu dd5274ba81 Bug 914776 - Fix touch event coordinates when rotated, r=m1 2013-09-24 14:58:58 -07: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
Boris Zbarsky e6b6bf020e Bug 909645 part 2. Don't include ipdl headers in Hal.h. r=ms2ger 2013-08-28 00:14:57 -04:00
Ryan VanderMeulen 002dc21ed5 Merge m-c to inbound. 2013-07-30 18:08:18 -04:00
Michael Vines dc368f0384 Bug 895665 - Gonk support for dev input audio jack events. r=mwu 2013-07-29 21:27:48 -07:00
Ehsan Akhgari 1ab9c7bcb4 Bug 895322 - Part 1: Replace the usages of MOZ_STATIC_ASSERT with C++11 static_assert; r=Waldo
This patch was mostly generated by running the following scripts on the codebase, with some
manual changes made afterwards:

# static_assert.sh
#!/bin/bash
# Command to convert an NSPR integer type to the equivalent standard integer type

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.cc" \
         -o -iname "*.mm" \) | \
    xargs -n 1 `dirname $0`/assert_replacer.py #sed -i -e "s/\b$1\b/$2/g"
}

convert MOZ_STATIC_ASSERT static_assert
hg rev --no-backup mfbt/Assertions.h \
                   media/webrtc/signaling/src/sipcc/core/includes/ccapi.h \
                   modules/libmar/src/mar_private.h \
                   modules/libmar/src/mar.h


# assert_replacer.py
#!/usr/bin/python

import sys
import re

pattern = re.compile(r"\bMOZ_STATIC_ASSERT\b")

def replaceInPlace(fname):
  print fname
  f = open(fname, "rw+")
  lines = f.readlines()
  for i in range(0, len(lines)):
    while True:
      index = re.search(pattern, lines[i])
      if index != None:
        index = index.start()
        lines[i] = lines[i][0:index] + "static_assert" + lines[i][index+len("MOZ_STATIC_ASSERT"):]
        for j in range(i + 1, len(lines)):
          if lines[j].find("                 ", index) == index:
            lines[j] = lines[j][0:index] + lines[j][index+4:]
          else:
            break
      else:
        break
  f.seek(0, 0)
  f.truncate()
  f.write("".join(lines))
  f.close()

argc = len(sys.argv)
for i in range(1, argc):
  replaceInPlace(sys.argv[i])
2013-07-18 13:59:53 -04:00
Masayuki Nakano 8cc05cbf97 Bug 501496 part.7 Don't dispatch keypress events if defaultPrevent() of the keydown event is called on Gonk r=smaug+mwu 2013-07-25 15:09:28 +09:00
Jeff Walden 84c301f937 Bug 891177 - Implement mozilla/Vector.h, and make js/Vector.h implement js::Vector using mozilla::Vector's implementation of the functionality. r=terrence 2013-07-09 16:33:29 -07:00
David Zbarsky 1a2def0d47 Fix an initializer list warning, no bug 2013-07-11 13:04:17 -04:00
Sotaro Ikeda 03215a1026 Bug 881565 - nsAppShell fails to compile with JB Gonk, r=mwu 2013-06-11 16:47:44 -04:00
Sotaro Ikeda fd8d9a68cd Bug 871485 - Share hw codec between applications/tasks. r=mwu, r=doublec, r=roc 2013-06-10 08:22:05 -04:00
Ryan VanderMeulen 19f19ff152 Backed out changeset 4c129a5676eb (bug 871485) for mochitest-1 failures. 2013-06-07 09:57:05 -04:00
Sotaro Ikeda ca500d17fb Bug 871485 - Share hw codec between applications/tasks. r=mwu, r=doublec, r=roc 2013-06-07 08:15:44 -04:00
Masayuki Nakano ba7f1788d2 Bug 842927 part.9 Implement D3E KeyboardEvent.key on Gonk r=smaug+mwu 2013-04-24 12:49:48 +09:00
David Zbarsky d5539bb86d Bug 856962: Move Touch to its own file r=Ms2ger 2013-04-05 04:49:00 -04:00
Benoit Girard f4b3710284 Bug 851611 - Part 3: Rename headers. r=jrmuizel 2013-03-18 15:25:50 +01:00
Benoit Girard 4146042cfd Bug 851611 - Part 2: Update profiler calls. r=jrmuizel 2013-03-16 00:47:02 -04:00
Ed Morley 90c9bf415e Backed out changeset c75481a07302 (bug 851611) 2013-03-18 14:10:35 +00:00
Ed Morley 627fcd7895 Backed out changeset d195190adc48 (bug 851611) 2013-03-18 14:10:30 +00:00
Benoit Girard 0b880319f3 Bug 851611 - Part 3: Rename headers. r=jrmuizel 2013-03-18 14:41:02 +01:00