Commit Graph

555 Commits

Author SHA1 Message Date
Ted Mielczarek
1f341a20b1 bug 690937 - Add XInput support to the Windows gamepad backend. r=jimm 2014-04-16 19:43:39 -04:00
Ted Mielczarek
a12187015f Bug 996078 - Replace Windows Gamepad DirectInput backend with Raw Input. r=jimm 2014-04-14 13:18:51 -04:00
Carsten "Tomcat" Book
a86ca68ad0 Backed out changeset a89f08f4fd3e (bug 959089) 2014-04-29 12:21:52 +02:00
chiajung hung
6fa775b03f Bug 959089 - Separate GrallocBuffer allocations from Compositor thread(part2). r=nical 2014-04-28 20:46:00 +02:00
Ted Mielczarek
feece67b5f bug 852935 - Add Android gamepad backend. r=snorp, rs=smaug 2014-04-22 10:53:48 -04:00
Birunthan Mohanathas
504b581650 Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj 2014-04-27 03:06:00 -04:00
Ed Morley
654e84274f Backed out changeset 1a6ada013610 (bug 959089) 2014-04-25 17:51:15 +01:00
chiajung hung
de90a4ed73 Bug 959089 - Part 1: Implement a new protocol for manage shared buffers' allocation. r=vlad, r=gal 2014-04-25 02:28:00 -04:00
Kyle Huey
bb4b172be0 Bug 994971: Don't export nsObserverService.h. r=bsmedberg
--HG--
extra : rebase_source : cd5aa136075086a10cfa03d937743d8a5471fd6c
2014-04-14 12:04:27 -07:00
Kyle Huey
91420b7d1d Bug 991812: Remove uses of RefCounted<T> that live in Gecko. r=ehsan
--HG--
extra : rebase_source : 239ff77ec3765a3f190ed75b1645c6011e5d1dbd
2014-04-14 12:04:24 -07:00
Ryan VanderMeulen
f6d009af86 Backed out changeset e2d5b2be4142 (bug 994971) for non-unified bustage.
CLOSED TREE
2014-04-14 18:27:52 -04:00
Ryan VanderMeulen
98cf3141ca Backed out changesets ddbac34527fe and fa82f32d0c39 (bug 991812) for B2G bustage.
CLOSED TREE
2014-04-14 16:16:18 -04:00
Kyle Huey
54f8bae9b6 Bug 994971: Don't export nsObserverService.h. r=bsmedberg 2014-04-14 12:04:27 -07:00
Kyle Huey
28592e6530 Bug 991812: Remove uses of RefCounted<T> that live in Gecko. r=ehsan 2014-04-14 12:04:24 -07:00
Benoit Jacob
82a6b65cf9 Bug 987305 - Refactor EnumSerializer - r=nfroyd 2014-04-14 10:17:40 -04:00
Ted Mielczarek
6a2ebb41fe bug 980876 - null check GamepadService in case of events still in play during shutdown. r=smaug 2014-04-07 14:28:41 -04:00
Ted Mielczarek
b6182ff7e5 bug 980876 - be smarter about sending gamepad updates from the background thread. r=smaug 2014-04-07 14:28:08 -04:00
snigdha
11404d6af2 Bug 798033 - Headers should generally not do "using namespace" at file scope. r=jib, r=jmathies, r=rjesup, r=ekr, r=ncameron, r=blassey 2014-04-01 08:29:25 -04:00
John Shih
e48d8ac267 Bug 960426 - Part 2: Modifications for IDL change. r=blassey 2014-03-05 11:54:55 +08:00
Carsten "Tomcat" Book
93dadba149 merge b2g-inbound to mozilla-central 2014-03-20 14:07:58 +01:00
Wes Kocher
a5a3ec121e Backed out 3 changesets (bug 980027) for causing a serious race in hal with the pref service
Backed out changeset 5cd05df56f67 (bug 980027)
Backed out changeset 6344d6606517 (bug 980027)
Backed out changeset 098a43b537e9 (bug 980027)
2014-03-19 15:36:13 -07:00
Cervantes Yu
b22bcfe208 Bug 959966: prevent the preallocated process from being killed by the lowmem killer by rasing its priority. r=khuey,gsvelto 2014-03-13 15:24:42 +08:00
Dave Hylands
853ac30f30 Bug 964537 - Fix intermittent access through a null pointer. r=dmajor 2014-03-18 14:18:14 -07:00
Ben Kelly
6c61d68a4c Bug 980027: Part 1: Provide mechanism to set thread priority via HAL. r=gsvelto 2014-03-17 11:52:42 -04:00
Gabriele Svelto
58ebcc699d Bug 979205 - Make LMK and low-mem trigger preferences use values in KiB instead of MiB. r=fabrice 2014-03-04 11:23:00 +01:00
Ehsan Akhgari
304ca88775 Bug 977964 - Move some flags to moz.build; r=glandium 2014-03-03 21:58:37 -05:00
Ehsan Akhgari
83afc1afae Bug 935778 - Part 0.4: Spray even more MOZ_DECLARE_REFCOUNTED_TYPENAME across the tree 2014-02-21 09:11:33 -05:00
Masatoshi Kimura
9f0004eb6e Bug 969918 - Use decltype to declare pointers for dynamic-loaded functions. r=jimm sr=roc 2014-02-18 07:32:52 +09:00
Ehsan Akhgari
e919c9ad6e Bug 968631 - Port some LOCAL_INCLUDES variables to moz.build; r=mshal 2014-02-10 13:41:02 -05:00
Birunthan Mohanathas
89f96b243e Bug 828300 - Replace NS_ARRAY_LENGTH with mozilla::ArrayLength/MOZ_ARRAY_LENGTH. r=ehsan 2014-01-30 13:26:54 -05:00
Dave Hylands
76b05a00d5 Bug 851680 - Set kernel timezone so that external sdcards get local time rather than UTC time.
--HG--
extra : rebase_source : 74745fda004671a7c02df132877db7b6be4c5d54
2014-01-28 13:33:15 -08:00
Marco Chen
21f0453e57 Bug 958963 - Headset status from input device didn't be recorded by GonkSwitch.r=dhylands. 2014-01-20 17:35:24 +08:00
Dave Hylands
0160f0ba21 Bug 939372 - Rewrite oom-msg-logger in C or C++ r=dhylands 2014-01-10 22:22:55 -08:00
Ehsan Akhgari
eaa7491d77 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
Birunthan Mohanathas
58325c73be Bug 713082 - Part 2: Rename Util.h to ArrayUtils.h. r=Waldo
--HG--
rename : mfbt/Util.h => mfbt/ArrayUtils.h
2013-12-08 21:52:54 -05:00
Birunthan Mohanathas
bd0f161288 Bug 713082 - Part 1: Remove unnecessary Util.h includes. r=Waldo 2013-12-08 21:52:33 -05:00
Vincent Liu
2922e3e361 Bug 924729 - [Flatfish] :Socket bind() fail in UeventPoller initialization. r=dhylands 2013-12-04 10:18:14 +08:00
Ms2ger
8dc001d7ac Bug 939271 - Part a: remove a reference to hal/tests/browser_alarms.js from hal/Makefile.in to avoid running it twice; r=mounir 2013-11-28 15:03:16 +01:00
Vasanthakumar Pandurangan
d055848b17 Bug 942732 - Check for msm iris fm driver while configuring. r=mwu
Also use msmFM instead of tavarua in variable names to generalize all msm fm drivers (Ex: tavarua, iris)
2013-11-27 00:31:47 +05:30
Viral Wang
3f0ed9fd46 Bug 938035 - The definition of device orientation in firefox is not same as w3c spec. r=dougt 2013-11-26 13:58:15 -05:00
Ehsan Akhgari
4b0a488749 Bug 942334 - Build hal in unified mode; r=cjones
--HG--
extra : rebase_source : b3fae3b4456bfa8ef9920038668b403cc7c8accf
2013-11-25 14:57:18 -05:00
Chris Kitching
b3ed714288 Bug 913985: Part 6 - Remove redundant AndroidBridge::Bridge() checks. r=kats 2013-11-12 10:41:01 -08:00
Chris Kitching
43102ed4c2 Bug 913985: Part 5 - Refactor the Bridge to use the generated code. r=kats 2013-11-12 10:41:01 -08:00
Kyle Machulis
2d07114171 Bug 937496 - Check if libudev already loaded before trying to load symbols from it; r=ted 2013-11-19 12:52:37 -08:00
Mike Hommey
931cb49886 Bug 939632 - Remove LIBRARY_NAME for leaf libraries. r=gps
Landing on a CLOSED TREE.
2013-11-19 11:50:54 +09:00
Mike Hommey
db9e5129bc Bug 939074 - Remove most LIBXUL_LIBRARY. rs=gps 2013-11-19 11:48:10 +09:00
Mike Hommey
b18be7aacd Bug 939044 - Rename remaining MODULE definitions to XPIDL_MODULE. r=mshal 2013-11-19 11:47:43 +09:00
Mike Hommey
f81885e53b Bug 935881 - Use FINAL_LIBRARY for all (fake) libraries that end up linked in a single other library. r=gps 2013-11-19 11:47:14 +09:00
Michael Wu
c51e570fb6 Bug 852497 - Add a standard V4L2 mode to GonkFMRadio.cpp, r=dhylands 2013-11-14 15:02:30 -05:00
Nathan Froyd
ccdd4fb35d Bug 918651 - part 8 - remove redundant includes from IPDL files; r=ehsan
These include statements have been made redundant by all the qualifications
to the using statements.
2013-10-18 13:34:08 -04:00
Nathan Froyd
e2ede970d2 Bug 918651 - part 5 - qualify all IPDL using statements with required header; r=ehsan 2013-10-01 15:25:07 -04:00
Boris Zbarsky
5d7d701964 Bug 932421. Stop including windows.h (via Hal.h) in Screen.h, so we don't screw up our bindings code. r=smaug
Also stops Hal.h bootlegging Observer.h.
2013-10-31 22:07:10 -04:00
Ted Mielczarek
313430c578 bug 921565 - look for WM_DEVICECHANGE in Windows gamepad backend and rescan for devices. r=jimm 2013-10-24 15:06:19 -04:00
Mike Hommey
f1c0c07862 Bug 929905 - Consolidate sources in moz.build. r=gps 2013-10-25 08:23:05 +09:00
Brian O'Keefe
0cbcd904c7 Bug 928709 - Convert chromium-config.mk to mozbuild, r=mshal 2013-10-02 13:17:55 -04:00
Mike Hommey
80c623bb6a Bug 921492 - Make StrictOrderingOnAppendList use actual alphabetical sorting. r=mshal,r=gps 2013-10-24 08:05:43 +09:00
Mike Hommey
5072f65f8c Bug 913268 - Make CPP_SOURCES a StrictOrderingOnAppendList. r=mshal 2013-10-24 08:00:23 +09:00
George Wright
e4943a763f Bug 920160 - Add prefs for SkiaGL cache size r=snorp
--HG--
extra : rebase_source : 410192610d7311dead4132d2fee8fbd3fe062951
2013-10-22 14:15:24 -05:00
Masatoshi Kimura
11b1ec2573 Bug 925599 - Introduce version test functions using VerifyVersionInfo(). r=bbondy 2013-10-19 03:14:31 +09:00
Shao Hang Kao
91b0939eac Bug 926777 - B2G system time: |time.timezone| should save the UTC value with the correct sign. r=gene 2013-10-15 16:43:53 +08:00
Ms2ger
df62fb8b0f Bug 900980 - Part a: Move unconditional assignments to EXPORT_LIBRARY to moz.build; rs=gps 2013-10-03 09:11:13 +02:00
Ms2ger
9d5ce8dfb7 Bug 922268 - Remove empty makefiles; r=gps 2013-10-03 09:10:00 +02:00
Alan Huang
155bc26448 Bug 822325: Implement an LRU pool for background app processes. The LRU app will get the smallest oom_adj and get killed last. r=khuey 2013-10-01 11:54:59 +08:00
Ryan VanderMeulen
e5b66a5e17 Merge m-c to b2g-inbound. 2013-09-30 16:30:26 -04:00
Gregory Szorc
f0bcf1241b Bug 920223 - Part 3: Mass convert MOCHITEST_BROWSER_FILES to manifests; rs=Ms2ger 2013-09-30 09:52:06 +02:00
Ed Morley
5e3c678fac Backed out changeset 8b02873ee07e (bug 920223) 2013-09-30 12:50:05 +01:00
Ed Morley
ddfe230f71 Backed out changeset 0904d8d19947 (bug 913985) 2013-09-30 11:05:35 +01:00
Ed Morley
e0000ff8d2 Backed out changeset 196a2b00d509 (bug 913985) 2013-09-30 11:05:32 +01:00
Gregory Szorc
18c2c27094 Bug 920223 - Part 3: Mass convert MOCHITEST_BROWSER_FILES to manifests; rs=Ms2ger 2013-09-30 09:52:06 +02:00
Chris Kitching
96b42ba383 Bug 913985: Part 6 - Remove redundant AndroidBridge::Bridge() checks. r=kats 2013-09-30 09:07:39 +02:00
Chris Kitching
a48850241f Bug 913985: Part 5 - Refactor the Bridge to use the generated code. r=kats 2013-09-30 09:07:34 +02:00
Ryan VanderMeulen
0cfa34ad65 Backed out 6 changesets (bug 913985) for suspicion of causing intermittent Android crashes on a CLOSED TREE.
Backed out changeset de21920d2b8e (bug 913985)
Backed out changeset f0f5497d65bb (bug 913985)
Backed out changeset 1e16ca4ad801 (bug 913985)
Backed out changeset 9c069a0820ea (bug 913985)
Backed out changeset 274df3abc991 (bug 913985)
Backed out changeset 05fe8b17516a (bug 913985)

--HG--
rename : build/annotationProcessors/AnnotationInfo.java => build/annotationProcessors/MethodWithAnnotationInfo.java
rename : build/annotationProcessors/utils/AlphabeticAnnotatableEntityComparator.java => build/annotationProcessors/utils/AlphabeticMethodComparator.java
rename : build/annotationProcessors/utils/GeneratableElementIterator.java => build/annotationProcessors/utils/GeneratableEntryPointIterator.java
rename : mobile/android/base/mozglue/generatorannotations/WrapElementForJNI.java => mobile/android/base/mozglue/GeneratableAndroidBridgeTarget.java
rename : mobile/android/base/mozglue/generatorannotations/OptionalGeneratedParameter.java => mobile/android/base/mozglue/OptionalGeneratedParameter.java
2013-09-27 17:02:09 -04:00
Nathan Froyd
98723f4c48 Bug 914826 - part 4 - fix source files that were bootlegging XPCOM do_* functions via generated ipdl headers; r=ehsan 2013-09-10 16:56:05 -04:00
Chris Kitching
9833d79df2 Bug 913985: Part 6 - Remove redundant AndroidBridge::Bridge() checks. r=kats; DONTBUILD 2013-09-27 10:10:47 -04:00
Chris Kitching
9eed6c7f16 Bug 913985: Part 5 - Refactor the Bridge to use the generated code. r=kats 2013-09-27 10:10:37 -04:00
Kartikaya Gupta
9a58f0b9f9 Back out d9bdfdfda06e to dd17e0758a00 (bug 913985) due to incorrect author on some of the patches. r=backout
--HG--
rename : build/annotationProcessors/AnnotationInfo.java => build/annotationProcessors/MethodWithAnnotationInfo.java
rename : build/annotationProcessors/utils/AlphabeticAnnotatableEntityComparator.java => build/annotationProcessors/utils/AlphabeticMethodComparator.java
rename : build/annotationProcessors/utils/GeneratableElementIterator.java => build/annotationProcessors/utils/GeneratableEntryPointIterator.java
rename : mobile/android/base/mozglue/generatorannotations/WrapElementForJNI.java => mobile/android/base/mozglue/GeneratableAndroidBridgeTarget.java
rename : mobile/android/base/mozglue/generatorannotations/OptionalGeneratedParameter.java => mobile/android/base/mozglue/OptionalGeneratedParameter.java
2013-09-27 10:25:23 -04:00
Chris Kitching
625a9ad2fa Bug 913985: Part 6 - Remove redundant AndroidBridge::Bridge() checks. r=kats 2013-09-27 10:10:47 -04:00
Chris Kitching
0d37cfdd60 Bug 913985: Part 5 - Refactor the Bridge to use the generated code. r=kats 2013-09-27 10:10:37 -04:00
Wes Kocher
5d56a08a32 Merge m-c to b2g-i 2013-09-24 20:33:48 -07:00
Kan-Ru Chen (陳侃如)
4f0c40f445 Bug 914541 - Assign higher priority for mozapptype=inputmethod. r=fabrice 2013-09-24 16:10:20 +08:00
Mike Shal
5ff550ecd4 Bug 875013 - Remove VPATH from hal/; r=joey 2013-09-18 15:18:15 -04:00
Fabrice Desré
6866b5672d Bug 917602 - Fix some shutdown crashes r=bent 2013-09-18 10:53:07 -07:00
Thinker Lee ext:(%2C%20Cervantes%20Yu%20%3Ccyu%40mozilla.com%3E)
46e38d15e3 Bug 771765 - Support template content process, part 4: Clone IPC protocol objects that will be up when the template process is ready. r=khuey, r=bent 2013-06-03 18:14:37 +08:00
Viral Wang
84ee20c959 Bug 908058 - Add orientation keyword 'default' to express normal orientation. r=mounir, r=blassey 2013-09-30 10:40:41 -04:00
Ryan VanderMeulen
183be64998 Merge m-c to inbound. 2013-09-12 22:30:22 -04:00
Vasanthakumar (Vasanth) Pandurangan
48a132e8a2 Bug 911294 - Fix FM UI showing previously tuned frequency. r=pzhang, r=mwu 2013-09-10 01:39:38 -07:00
Tom Schuster
195b18c157 Bug 915822 - Make GetTabChildFrom a class method on TabChild. r=smaug 2013-09-12 15:24:11 -04:00
Alan Huang
c53c54ab8f Bug 914728 - Make ProcessPriorities/OomScoreAdjusts and KillUnderMB two different sets and enlarge OomScoreAdjusts. r=gsvelto 2013-09-11 15:12:56 +08:00
Robert O'Callahan
8ca63f18ef Bug 910989. Remove nsTHashtable::Init, fallible allocation, and MT hashtables. r=ehsan,bsmedberg
--HG--
extra : rebase_source : 0787130b1814c74bfb38dc178de94022f0b2e64e
2013-09-02 20:41:57 +12:00
Mike Hommey
05b3f24e0e Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00
Boris Zbarsky
d201003d5f Bug 909645 part 2. Don't include ipdl headers in Hal.h. r=ms2ger 2013-08-28 00:14:57 -04:00
Ed Morley
7719029a3b Merge mozilla-central and inbound 2013-08-28 16:21:25 +01:00
Tapas Kundu
4d6d5b66fd Bug 788975 - Orientation Observer uses accelerometer sensor. r=mwu 2013-08-27 20:10:57 -07:00
Brian O'Keefe
0ee041b9fd Bug 875934 - Move LIBRARY_NAME to moz.build, batch 3; r=mshal 2013-08-15 09:02:09 -04:00
Nicholas Nethercote
20f867d44a Bug 909171 (part 3) - Remove JS_VERSION. r=luke.
--HG--
extra : rebase_source : b09e2c23654675cfb5f93cea5f372bcb8d9ddce5
2013-08-26 17:09:40 -07:00
Birunthan Mohanathas
8d67bc95f2 Bug 784739 - Switch from NULL to nullptr in hal/. r=ehsan 2013-08-23 15:51:15 -04:00
Ms2ger
8085d723ed Bug 883284 - Part d: Move LIBXUL_LIBRARY into moz.build (f-j); r=bsmedberg 2013-08-22 08:56:00 +02:00
Ms2ger
66214743ad Bug 882859 - Part b: Move FAIL_ON_WARNINGS into moz.build; r=joey+gps 2013-08-22 08:55:59 +02:00
Gregory Szorc
918eef7c37 Bug 850380 - Derecursify and optimize XPIDL processing and move into precompile tier; r=glandium 2013-08-14 08:40:25 -07:00
Ryan VanderMeulen
a7872e972f Backed out changesets 1fa1f28c6edf and e74f694f31c4 (bug 850380) for PGO bustage on a CLOSED TREE. 2013-08-14 15:12:20 -04:00
Brian O'Keefe
3dadb0e396 Bug 896177 - Remove useless config.mk includes; r=gps 2013-07-17 16:06:53 -04:00
Gregory Szorc
260d3a8e7c Bug 850380 - Derecursify and optimize XPIDL processing and move into precompile tier; r=glandium 2013-08-14 08:40:25 -07:00
Ted Mielczarek
55be65e72d bug 894382 - support libudev.so.1 in Linux Gamepad backend. r=karlt 2013-07-29 09:04:56 -04:00
Joshua Cranmer
a90a9797ad Bug 884061 - Part 3j: Use NS_DECL_THREADSAFE_ISUPPORTS in hal/, r=jlebar
--HG--
extra : rebase_source : a3fa50183c82ffaa68a32ce13a314698a4bd495b
2013-07-18 21:23:31 -05:00
Brian O'Keefe
f98dd45a72 Bug 883502 - Part 1: Move 'chromium_config.mk' includes after rules.mk. r=gps 2013-07-04 08:28:43 -04:00
Ryan VanderMeulen
47891859c5 Merge m-c to birch. 2013-07-12 13:31:17 -04:00
Trevor Saunders
238525e2d8 bug 887483 - remove a bunch of useless assignments to FORCE_STATIC_LIB implied by LIBXUL_LIBRARY=1 r=mshal 2013-07-11 11:06:34 -04:00
Tapas Kundu
6b0a399e06 Bug 892037 - Update Date/Time even if hardware RTC fails to update. r=mwu 2013-07-11 14:27:12 -07:00
Patrick McManus
8c2b280e9b bug 888268 - wifi tickler for mitigating 802.11 psp mode on android r=dougt
--HG--
extra : rebase_source : a767b6c10501105b3c5d22043f11745807caf2f9
2013-07-11 11:39:36 -04:00
Justin Lebar
164aaa23ff No bug: Fix a modeline. DONTBUILD 2013-07-11 09:32:55 -04:00
Thomas Zimmermann
aaf7ec7dcc Bug 891259: Set discharging time to 'Infinity', r=mounir
If the discharging time is unknown, the W3C Battery Status API
requires its value to be 'Infinity'. The current code returns a
discharging time of 0 when discharging the battery. This patch
fixes the problem.
2013-07-10 15:47:30 +02:00
Boris Zbarsky
814e6108be Back out revisions 042d50591265:69f4af72765c (bug 909645) due to Windows bustage causing a CLOSED TREE. 2013-08-28 01:46:00 -04:00
Boris Zbarsky
cb43e3e570 Bug 909645 part 2. Don't include ipdl headers in Hal.h. r=ms2ger 2013-08-28 00:14:57 -04:00
Joey Armstrong
df6123b0bc bug 870407: cleanup bug. r=mshal 2013-07-08 11:53:00 -04:00
Mike Shal
2f5d43999f Bug 868536 - Move ipdl.mk files to moz.build; r=gps
Author: Mike Shal <mshal@mozilla.com>
2013-07-01 09:56:28 -04:00
Sankha Narayan Guria
cdad02ba58 Bug 877888 - Alarm API type checks date to prevent millisecond loss. r=nsm
--HG--
extra : rebase_source : c319da81514194bd5adef260f78e9317b1a044a8
2013-07-02 23:59:58 +05:30
Ryan VanderMeulen
f520c5bffa Merge birch to inbound. 2013-07-01 14:31:38 -04:00
Joey Armstrong
f183040ef5 bug 870407: move CMMSRCS to mozbuild (file batch #2) r=mshal 2013-07-01 12:32:40 -04:00
Alan Huang
526360a5df Bug 887192 - Let GonkHal write lowmemorykiller parameters in increasing order and add assertion when someone breaks the rule. r=jlebar 2013-06-29 12:14:02 +08:00
Justin Lebar
09d2312322 Bug 820686 - Remove code after MOZ_CRASH or MOZ_ASSUME_NOT_REACHED. r=(see below)
r=tbsaunde for accessible
r=jmuizelaar for gfx
r=waldo for js
r=roc for layout
r=glandium for mozglue
r=jduell for netwerk
r=khuey for everything else
2013-06-28 18:38:32 -07:00
Justin Lebar
cab87a0cce Bug 802686 - s/MOZ_NOT_REACHED/MOZ_CRASH/ in Gecko. r=(see below)
r=tbsaunde for accessible
r=jmuizelaar for gfx
r=roc for layout
r=glandium for mozglue
r=jduell for netwerk
r=khuey for everything else

This is a mechanical change made with sed.  Later patches in this queue
clean up the whitespace errors and so on.
2013-06-28 18:38:30 -07:00
Ms2ger
2f9031f7c4 Bug 883536 - Include headers correctly in HalTypes.h; r=mounir 2013-06-23 09:14:32 +02:00
Ted Mielczarek
776ca90691 bug 860413 - Allow setting standard gamepad mapping. r=smaug 2013-04-09 08:43:25 -04:00
Steven Lee
a22845cafb Bug 880162 - Do not callback FM_RADIO_OPERATION_ENABLE when disabling FM radio. r=jlebar 2013-06-11 08:21:25 -04:00
Justin Lebar
6478e634ac Bug 879529 - Fix thread priorities in B2G child processes. r=gsvelto
Previously, suppose we were changing a process's priority from 18 to 1.
If a task had priority 19, that should have changed to 2.  But instead
we changed it to 18!  That's totally wrong.
2013-06-05 07:55:01 -04:00
Nikhil Marathe
1dff358de3 Bug 867868 - Alarms tests. r=jlebar 2013-06-04 13:30:06 -07:00
Nikhil Marathe
e05e4b1901 Bug 867868 - Implement nsITimer based alarms in HAL fallback. r=jlebar 2013-06-04 13:30:03 -07:00
Phil Ringnalda
e12e2009ff Merge m-c to a CLOSED TREE birch 2013-05-27 11:47:01 -07:00
Fernando Jiménez
80a2a84f6f Bug 874148 - crash in libxul.so!mozilla::hal_impl::GonkDiskSpaceWatcher::OnFileCanReadWithoutBlocking [GonkDiskSpaceWatcher.cpp : 238 + 0x4]. r=fabrice 2013-05-27 18:35:27 +02:00
Mike Shal
6f32ddf61c Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey CLOSED TREE
From 9e0ba7f425143f545eb6c4b26a9a96b5ade4d8e9 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00
David Zbarsky
66e862daca Bug 864206 - Use dom::Touch instead of nsIDOMTouch where possible r=Ms2ger 2013-05-17 13:17:53 -07:00
Michael Wu
bce75998cc Bug 870198 - Support basic display functions on gonk-JB, r=vlad 2013-05-07 23:58:22 -04:00
Justin Lebar
35f8a21258 Bug 870480 - Follow-up: Try to fix a warning-as-error.
> error: suggest parentheses around comparison in operand of '!='
2013-05-10 11:58:09 -04:00
Justin Lebar
e39827c3d4 Bug 870480 - Notify wake lock listeners when a process adds or removes a wake lock, even if the wake lock itself doesn't change state. r=kanru
This also fixes two other bugs:

1) If a process crashed while holding a wake lock, we'd send a wake lock changed notification without including the list of locking processes.  This could cause us to incorrectly believe that no processes were holding the lock.

2) If a process crashed while holding a wake lock on topic X, and if no other process held a wake lock on that topic, and there were no wake lock listeners registered, we wouldn't remove X from our hashtable of wake lock topics.  We would correctly record the fact that the lock was not held, so this bug was benign.
2013-05-10 11:20:52 -04:00
Fernando Jiménez
4ed17e145d Bug853350 - Followup. error: 'aService' was not declared in this scope. r=me 2013-05-10 13:57:26 +02:00
Fabrice Desré
559e6dfd4a Bug 853350 - Implement a notification system to monitor disk space r=bent 2013-05-09 15:57:31 -07:00
Justin Lebar
65994031f8 Bug 870181 - Part 1: Add an additional LowCPUPriority argument to hal::SetProcessPriority. r=bent
This patch also makes it an error to call hal::SetProcessPriority from a child process.
2013-05-09 16:27:06 -04:00
Gene Lian
f3ee828a67 Bug 866366 - [Buri][Alarm]it will not start alarm until light up the LCD. r=jlebar a=tef+ 2013-05-02 18:33:58 +08:00
Ms2ger
a9a8f91052 Bug 866600 - Avoid using nsIDOMDocument::GetHidden; r=mounir 2013-05-05 09:03:15 +02:00
Michael Wu
43eb22d2fd Bug 868150 - Add basic support for identifying and building for JB, r=glandium 2013-05-02 11:42:52 -04:00
Justin Lebar
d31b7f65ff Bug 861441 - When changing a proces's CPU priority, call setpriority() on all threads, not just the main thread. r=gsvelto
It turns out that setpriority() on Linux sets the priority of just one
thread.  If you call setpriority() on a pid, you're setting the priority
of only the main thread in that process.
2013-04-25 20:53:27 -04:00
Justin Lebar
6af614d8d4 Bug 864527 - Convert a static nsRefPtr to static StaticRefPtr in GonkHal. r=mounir 2013-04-23 11:30:25 -04:00
Mike Shal
24b4056720 Bug 846634 - Part 2: Move EXPORTS to moz.build; r=joey 2013-04-16 15:24:43 -04:00
Ted Mielczarek
d793625bb3 bug 690938 - Get vendor id and product id on Linux for bluetooth gamepads. r=karlt 2013-04-09 08:43:24 -04:00
Ehsan Akhgari
aa3139644f Bug 579517 follow-up: Remove NSPR types that crept in 2013-04-02 20:59:27 -04:00
Kyle Machulis
f5e3aadf0b Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Kyle Machulis
d2b6e6e01a Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot 2013-03-29 15:12:58 -07:00
Kyle Machulis
5663b98bc5 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
Jan Beich
9c2cbfd7f2 Bug 854152 - Make sure GLIB_CFLAGS are passed for LinuxGamepad.cpp. r=ted 2013-03-27 21:20:27 -04:00
Michael Vines
2e05ebb7af Bug 851721 - Emit system-reboot/system-power-off events for Gonk backend. r=kchen 2013-03-23 19:26:50 -07:00
Vasil Dimov
0753d90653 Bug 819016 - Create some helper functions for reading /sys files. r=bsmedberg 2013-03-27 11:19:09 -04:00
Ted Mielczarek
838ee76456 bug 604039 - Linux gamepad backend. r=karlt
--HG--
extra : rebase_source : 32d47af727b9a6209d321a8622a2f3ecb7a44d25
2011-08-03 14:12:08 -04:00
Ted Mielczarek
fa5904a1e2 bug 604039 - Windows gamepad backend using DirectInput. r=bas
--HG--
extra : rebase_source : 9a4e13dea21f6f57a8ca2bf677ff0a2f0a0dc4eb
2011-08-03 14:12:08 -04:00
Jason Orendorff
e85cf0f9c9 Bug 604039 - Mac gamepad backend. r=smichaud
--HG--
extra : rebase_source : bd58cfd041c9d72a23798fa221bdfbdc3f33e862
2011-08-03 08:06:00 -04:00
Ted Mielczarek
704e2319bc bug 604039 - Add DOM Gamepad APIs. r=smaug
--HG--
extra : rebase_source : ffffdc4549da1b25ea263b623c05ae1afb3d46a0
2011-08-03 14:12:08 -04:00
Mike Shal
ea1d9b8ba7 Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps 2013-03-19 11:47:00 -07:00
Gregory Szorc
629b5d86c6 Bug 818246 - Part 4: Move XPIDLSRCS into moz.build (auto); rs=glandium
This is the result of running
|mach mozbuild-migrate --list XPIDLSRCS SDK_XPIDLSRCS XPIDL_SOURCES| and
reverting xpcom/sample/*.
2013-03-12 10:17:46 -07:00
Gregory Szorc
795c5eeeff Bug 818246 - Part 1: Remove unncessary definitions of XPIDL_MODULE; r=glandium
XPIDL_MODULE defaults to MODULE. These Makefile.in were setting
XPIDL_MODULE to the same value as MODULE.

--HG--
extra : rebase_source : e96bd34d5949d0ab94cecbec35d6c9f4bffec01e
2013-03-07 05:03:51 -08:00
Gregory Szorc
803629b9c6 Merge mozilla-central into build-system
There were merges in configure.in and some Makefile.in. None had any
conflicts. I spot verified the Makefile.in changes and confirmed that
the changes did not touch any DIRS* variables.
2013-02-27 10:03:52 -08:00
Gregory Szorc
76dcf5dfa9 Bug 784841 - Part 18v: Convert misc remaining parts; f=Ms2ger rs=ted 2013-02-25 12:47:23 -08:00
Jorge Luis Mendez
8d0e59a887 Bug 793728 - Implement OS X backend for the Ambient Light API. r=BenWa, r=dougt, r=bz 2013-02-22 00:39:42 -05:00
Justin Lebar
924a0396b5 Bug 842679 - Part 2: Add PROCESS_PRIORITY_UNKNOWN to hal. r=cjones 2013-02-22 23:24:28 -05:00
Justin Lebar
57da7526a6 Bug 841563 - Actually set PROCESS_PRIORITY_FOREGROUND_HIGH when we want to. r=cjones 2013-02-15 08:40:01 -05:00
Justin Lebar
f1f9579558 Bug 836654 - Part 4: Add PowerManagerService::NewWakeLockOnBehalfOfProcess. r=cjones 2013-02-14 15:41:30 -05:00
Justin Lebar
11d5a89e4e Bug 836654 - Part 3: Modify hal to accept a ContentParent ID in ModifyWakeLock(). r=cjones
Also return the list of processes holding the lock in GetWakeLockInfo
and in the wake-lock changed notification.
2013-02-14 15:41:30 -05:00
Justin Lebar
c24d48d121 Bug 836654 - Part 2: Add PROCESS_PRIORITY_FOREGROUND_HIGH. r=cjones 2013-02-14 15:41:30 -05:00
Justin Lebar
cf31adf45a Bug 836654 - Part 1: Don't require the "power" permission to do GetWakeLockInfo from a child process. r=cjones 2013-02-14 15:41:29 -05:00
Justin Lebar
81e5bc4c3f Bug 836654 - Part 0: Add constants CONTENT_PROCESS_{UNKNOWN_ID,MAIN_ID} to HalTypes.h and remove the equivalent constants from ContentParent.h. r=cjones 2013-02-14 15:41:29 -05:00
Justin Lebar
83fcd3e9a5 Bug 837856 - Rename hal_sandbox::IsHalChildLive() to HalChildDestroyed(). r=mounir
The return value stays the same (that is, the function was mis-named).
2013-02-11 23:09:25 -05:00
Justin Lebar
0d683ee58a Bug 838625 - Add hal::ProcessPriorityToString and use it in ProcessPriorityManager logging. r=cjones
--HG--
extra : rebase_source : 0a9ecf848a9c6c3ba37acafa24c775154ccb417f
2013-02-08 14:32:23 +00:00
Alan Huang
9c9c1cdb68 Bug 839312 - Specify gonk low-memory-killer priorityClasses in the correct order and fix typo in b2g.js which was preventing us from giving the kernel one of the necessary priority classes. r=jlebar 2013-02-08 14:09:26 +00:00
Marco Chen
4f75cb4530 Bug 827707 - [GonkSensor] Sensor field in sensors_event_t doesn't mean the index of sensors list from HAL. r=mwu 2013-01-24 10:45:07 +08:00
Mats Palmgren
d5826be6d7 Bug 786533 - Replace NS_MIN/NS_MAX with std::min/std::max and #include <algorithm> where needed. r=ehsan 2013-01-15 13:22:03 +01:00
Philipp von Weitershausen
692690df94 Bug 823798 - Route FM radio through analog path. r=mwu a=blocking-b2g 2013-01-14 22:06:41 -08:00
Trevor Saunders
a6e1ca0693 no bug - mark several classes final to avoid warnings about deleting objects of polymorphic type 2013-01-11 04:43:29 -05:00
Thinker K.F. Li
5f96d8a4b7 Bug 817939 - restart ioctl with EINTR for FMRadio. r=jlebar 2013-01-09 10:13:46 +01:00
Gene Lian
0c82742df4 Bug 821671 - Check alarm API parameters in the parent (part 1, provide .AssertAppProcess() with different types). r=sicking 2012-12-22 19:53:38 +08:00
Kan-Ru Chen (陳侃如)
87e76c076e Bug 793105 - Add a "backgroundPerceivable" class for audio-channel-content. r=jlebar,roc 2013-01-05 13:03:51 +08:00
Chris Jones
b90b649e31 Bug 823610: Make discarding GL contexts of foreground pages on memory pressure pref-able, and pref off for b2g. r=jgilbert,jlebar 2013-01-03 15:39:25 -08:00
Chris Jones
fdd82cec60 Rollup of bug 821192: Ensure that content processes don't see an inconsistent app dir. r=bent,dhylands
Bug 821192, part 1: Fix the watchdog timeout code. r=dhylands
Bug 821192, part 2: Add an interface to join all live content processes. r=bent
Bug 821192, part 3: Join all subprocesses before restarting the main process, when we're e.g. about to apply an update. r=dhylands
2012-12-28 01:45:16 -08:00
Chris Jones
2e53e50313 Bug 822398: Use PL_DHASH_REMOVE to remove an entry we're enumerating. r=kanru 2012-12-27 02:43:55 -08:00
Marco Chen
2ff140a78a Bug 823203 - HalParent::ActorDestroy() needs to handle the UnregisterSwitchObserver() when content process is killed. r=jlebar, a=blocking-basecamp 2012-12-21 16:37:58 +08:00
Justin Lebar
97829d731f Bug 821440 - Allow the B2G homescreen to run in the background with a decreased oom_score_adj compared to vanilla background apps. r=cjones 2012-12-18 21:37:35 -05:00
Justin Lebar
897484ed78 Bug 819791 - Part 5: Remove an unnecessary TArray copy in hal/sandbox. r=mounir 2012-12-18 20:16:06 -05:00
Thomas Zimmermann
bf3895a623 Bug 758103 - Return charging time of zero if no battery interface exists. r=mounir, r=dhylands
On the PandaBoard, and probably other platforms, no battery exists and
the related kernel interfaces are missing. The HAL returns 'charging' at
a battery level of 100%. The charging time is set to 'unknown'. This is
inconsistent according to the battery manager.

With this patch, the returned charging time is set to zero, which fulfills
the battery manager's requirements. The patch also cleans up and simplifies
the source code.
2012-11-29 20:18:46 +01:00
Jeff Walden
e0523203c9 Bug 820570 - Move mozilla::DebugOnly into DebugOnly.h to pare down the grab-baggish Util.h. r=Ms2ger 2012-12-14 18:58:45 -05:00
Gregor Wagner
4b0096bfc9 Bug 820135 - Preferences: We don't save prefs when we reboot. r=cjones 2012-12-12 15:41:07 -08:00
Josh Matthews
63e92100b1 Backed out changeset ea39e0af0831 (bug 820135) 2012-12-12 02:23:10 -05:00
Gregor Wagner
012db46f14 Bug 820135 - Preferences: We don't save prefs when we reboot. r=cjones 2012-12-11 22:39:25 -08:00
Steven Lee
3daa512941 Bug 817919 - Remove FM radio implementations in hal_sandbox. r=cjones 2012-12-04 08:57:31 -08:00
Justin Lebar
7aac24a9e8 No bug: Fix whitespace error. DONTBUILD 2012-12-03 16:56:54 -05:00
Steven Lee
67df335bb1 Bug 809106 - RegisterSwitchObserver through hal::Sandbox. r=jlebar 2012-11-29 17:52:02 -05:00
Boris Zbarsky
69ab92b7a0 Bug 815671 part 5. Various miscellaneous fixups in dom/ and hal/ code to copy arrays only when we explicitly want to. r=jlebar 2012-11-29 11:14:14 -05:00
Kan-Ru Chen (陳侃如)
21004569fc Bug 814822 - Notify wake lock change when content crashes. r=jlebar 2012-11-27 10:28:11 +08:00
Kan-Ru Chen (陳侃如)
43ad18d1ee Bug 806363 - Remove wake locks on content-shutdown. r=jlebar 2012-11-17 23:05:18 +08:00
Boris Zbarsky
1dc187ca64 Bug 812086 part 3. Convert internal consumers of mozHidden and mozVisibilityState to the unprefixed versions. r=smaug 2012-11-16 14:22:56 -08:00
Steven Lee
d01969e517 Bug 808983 - Don't call hal_sandbox::Vibrate when ipc is broken. r=jlebar 2012-11-08 14:35:03 -05:00
Steven Lee
c1e57fbdec Bug 800263 - [FM Radio] Launch the FM Radio with headphone already plugged-in will cause screen freeze. r=cjones 2012-11-06 22:32:00 -05:00
Alan Huang
454ff67f83 Bug 802029 - When PollSensors() found one of its event type is SENSOR_UNKNOWN, don't create a SensorRunnable. r=mwu 2012-10-31 15:03:19 +08:00
Andrea Marchesini
70e95a96b4 Bug 703612 - Make DBUS calls asynchronous to prevent slowness because of DBus daemon being overloaded in Battery API UPower backend. r=mounir 2012-11-02 16:11:50 -04:00