Commit Graph

650 Commits

Author SHA1 Message Date
Tom Ritter
c9e4e2854a Bug 1480177 Lowercase includes to fix MinGW Build Errors r=froydnj
MozReview-Commit-ID: LvFS90CRAFe

--HG--
extra : rebase_source : bfbcc59d061128e5440378448523bbaf939d5a45
2018-07-30 22:43:24 -05:00
Brian Hackett
c1908d9119 Bug 1465294 Part 7 - Don't send PHal message from middleman processes, r=gsvelto.
--HG--
extra : rebase_source : ff58a2e4591034bba7593ad83a3896de869eac03
2018-07-23 14:52:33 +00:00
Doug Thayer
7bfd95a998 Bug 1394710 - Set process priority class on Windows r=aklotz
Fairly straightforward. Using an idle priority class for
background, which mirrors what I am observing of Chromium in
Process Explorer.

MozReview-Commit-ID: 2mimYN7aJOy

--HG--
extra : rebase_source : 5559d15504c2370e3fbdc2b67869102ad20205c7
2018-06-08 14:54:11 -07:00
Cosmin Sabou
19543fe2a9 Backed out changeset 73ed61535854 (bug 1394710) for braking Gecko Decision Task. CLOSED TREE 2018-07-18 23:29:28 +03:00
Doug Thayer
869e854d3c Bug 1394710 - Set process priority class on Windows r=aklotz
Fairly straightforward. Using an idle priority class for
background, which mirrors what I am observing of Chromium in
Process Explorer.

MozReview-Commit-ID: 2mimYN7aJOy

--HG--
extra : rebase_source : 18d992209178fc1f08d281920976881159af8f19
2018-06-08 14:54:11 -07:00
Gabriele Svelto
2d99f56b0e Bug 1469914 - Prevent the HAL from registering duplicate observers; r=froydnj
This also replaces the custom logic in ObserverList with an nsTObserverArray
which has all the necessary logic for stable iteration over a potentially
changing list of items. Unused dependencies were also removed.

--HG--
extra : source : 303478f7f248470a1c747f42dad9cb85c3129f0a
2018-06-22 00:35:08 +02:00
Dorel Luca
6140855547 Backed out changeset cd857f86810c (bug 1469914) for causing leaks on multiple tests. CLOSED TREE 2018-07-02 13:14:18 +03:00
Gabriele Svelto
30be205426 Bug 1469914 - Prevent the HAL from registering duplicate observers; r=froydnj
This also replaces the custom logic in ObserverList with an nsTObserverArray
which has all the necessary logic for stable iteration over a potentially
changing list of items. Unused dependencies were also removed.

--HG--
extra : source : 1a83516d2ee5939052c5fb226b81563a0d114ff9
2018-06-22 00:35:08 +02:00
Gabriele Svelto
6390ab3471 Bug 1469309 - Remove an unused sensor type; r=agaynor
--HG--
extra : source : 12d7dd36b8ccb80e866d0da7fcb7e44fcb690b0b
extra : histedit_source : b5aedb2bcf0adc8ce650124544cebd82cecbdc33
2018-06-19 09:18:09 +02:00
Alex Gaynor
ac56b410a9 Bug 1470994 - remove unused accuracy field from SensorData; r=gsvelto
Reviewers: gsvelto

Reviewed By: gsvelto

Bug #: 1470994

Differential Revision: https://phabricator.services.mozilla.com/D1817

--HG--
extra : rebase_source : 03e1aee4934bcba96968578ba92d6c2ec6275747
extra : amend_source : 6f6e69fb6e18d092090e99db765e12c16021f265
2018-06-27 16:05:48 +03:00
Gabriele Svelto
a2444ee4e6 Bug 1465898 - Remove unused code for managing physical audio devices; r=agaynor
MozReview-Commit-ID: 7NsUfzJCUOB

--HG--
extra : source : bea8ba41a74d40bff06be7e7be923e0604ea6f47
2018-06-04 22:28:09 +02:00
Randell Jesup
42686d4bdc Bug 1463494: delete the sensor observerlist array in a deferred manner r=froyd,jchen
clean up sensorlist if Dispatch fails
2018-05-25 21:16:28 -04:00
Noemi Erli
cfddfb3f93 Backed out changeset b837a2a32aeb (bug 1463494) for leak failures on a CLOSED TREE 2018-05-24 17:54:10 +03:00
Randell Jesup
5cfa62f3ea Bug 1463494: delete the sensor observerlist array in a deferred manner r=froyd 2018-05-24 08:58:54 -04:00
Adrian Wielgosik
c501e3beb0 Bug 1460940 - Clean up most remaining C++-side uses of nsIDOMDocument. r=bz
MozReview-Commit-ID: LKRnyDPNlle

--HG--
extra : rebase_source : a48b7c72a0f7ede38c91149a04d5de53987736f1
2018-05-11 19:46:15 +02:00
Ryan Hunt
3ad8329892 Bug 1455408 - Remove thread priority suppport from HAL as it isn't used any longer. r=gsvelto
MozReview-Commit-ID: KJ2byDuYWr9

--HG--
extra : rebase_source : 448a6f729d35cd758dc8ebe282dc1ca2e38c9272
extra : histedit_source : ff09a1bc358a7a94c3223fbaec7e366493e47cb5
2018-04-19 14:48:02 -05:00
Makoto Kato
6b0532c81c Bug 1447873 - Remove Time API backend in hal. r=gsvelto
Time API is already removed, so hal backend is unnecessary now.

MozReview-Commit-ID: 8R2VRYIX9Vs

--HG--
extra : rebase_source : 4e927dcf0f0d2a3ae802332fff438985b0be14f1
2018-03-22 10:46:42 +09:00
Gabriele Svelto
1c42dcf92c Bug 1426936 - When reading the battery capacity on Mac do not assume that a battery is always present; r=dhylands
MozReview-Commit-ID: ArLSxMUE66e

--HG--
extra : source : edc74a4258f9d3b7944058abfd0051bb3655476a
2018-03-05 23:35:36 +01:00
Milan Sreckovic
b600182b11 Bug 1423552: Use BaseRect access methods instead of member variables in hal/ r=gsvelto
MozReview-Commit-ID: 625X8dMPL2n

--HG--
extra : rebase_source : ff2be1a73fe9bd0bead68078baa8fe4898a803c1
2018-01-10 11:17:58 -05:00
Chris Peterson
1df202b177 Bug 1412048 - Replace NS_RUNTIMEABORT("...") with MOZ_CRASH("..."). r=froydnj
And remove unreachable code after MOZ_CRASH().

MozReview-Commit-ID: 6ShBtPRKYlF

--HG--
extra : rebase_source : 0fe45a59411bda663828336e2686707b550144ae
extra : source : 8473fd7333d2abe1ea1cc176510c292a5b34df45
2017-10-24 23:30:31 -07:00
Eric Rahm
0938982c90 Bug 1389598 - Part 4: Remove remaining gonk refs. r=froydnj
--HG--
extra : rebase_source : 063c7f95dda063eafabfa1921366bd1957b8fe73
2017-08-11 17:45:18 -07:00
Nicholas Nethercote
96045fda51 Bug 1382955 (part 3) - Remove a bunch of unused HAL stuff. r=gsvelto,kanru. 2017-08-02 10:09:32 +10:00
Nicholas Nethercote
a6f655a6c9 Bug 1382955 (part 2) - Remove nsIPowerManagerService::{powerOff,reboot,restart} and related things. r=gsvelto. 2017-08-02 10:09:26 +10:00
Nicholas Nethercote
f5c5231809 Bug 1382955 (part 1) - Remove MozPowerManager and related things. r=bz,gsvelto.
This includes the FactoryReset stuff.
2017-08-02 10:04:36 +10:00
Nicholas Nethercote
70ba26c5f9 Bug 1382099 - Remove MOZ_WIDGET_GONK from hal/. r=gsvelto.
--HG--
extra : rebase_source : e7ab0068d81b6a09e01a7f505b1f8d475293065e
2017-07-24 10:08:55 +10:00
Sylvestre Ledru
4e9cf83ee8 Bug 1378712 - Remove all trailing whitespaces r=Ehsan
MozReview-Commit-ID: Kdz2xtTF9EG

--HG--
extra : rebase_source : 7235b3802f25bab29a8c6ba40a181a722f3df0ce
2017-07-06 14:00:35 +02:00
Bill McCloskey
224d56eb18 Bug 1377222 - Eliminate nsITimer::InitWithFuncCallback in favor of InitWithNamedFuncCallback (r=froydnj)
MozReview-Commit-ID: 9zN9aAd7daA
2017-07-03 16:19:56 -07:00
Andrea Marchesini
44e8750e68 Bug 1366356 - Decrease the process priority of content processes that are not running a foreground tab - part 2 - enabled if the platform specific code is ready, r=smaug 2017-06-07 09:59:00 +02:00
Andrea Marchesini
9efa4e6493 Bug 1368029 - Remove LRU priority support from ProcessPriorityManager, r=gsvelto 2017-05-26 17:50:17 +02:00
Andrea Marchesini
c2c51793f3 Bug 1368002 - Get rid of nsIRecoveryService.idl, r=gsvelto 2017-05-26 12:58:40 +02:00
Mike Hommey
33a7e408ce Bug 1357323 - Remove the gonk code that was referenced by the build system. r=gps
--HG--
extra : rebase_source : 1d30ebcbdbcf596c944e1eec981f85db341485e5
2017-04-18 17:46:39 +09:00
Mike Hommey
34e619d1c1 Bug 1357323 - Remove support for gonk in the build system. r=gps
Everything depending on the widget being gonk can go away, as well as
everything depending on MOZ_AUDIO_CHANNEL_MANAGER, which was only
defined on gonk builds under b2g/ (which goes away in bug 1357326).

--HG--
extra : rebase_source : 9f0aeeb7eea8417fa4e06d662d566d67ecaf2a24
2017-04-18 16:56:09 +09:00
Kan-Ru Chen
be1eeb353b Bug 1194751 - Part 3. Remove unused nsIScreen::rotation attribute. r=jimm
It's only used by gonk. Remove it will make removing PScreenManager easier.

MozReview-Commit-ID: GCHonrz30xK

--HG--
extra : rebase_source : 73fbb4263b246d42cc38dd7a30edda9014953a97
2017-03-09 19:16:33 +08:00
Makoto Kato
5d1c119c16 Bug 1350169 - Part 2. Remove Alarm API backend from HAL. r=gsvelto
By bug 130884, we removed alarm API, so we should remove alarm backend from HAL.

MozReview-Commit-ID: EBiMJSUfUHu

--HG--
extra : rebase_source : d8c7b3592377702e789ccb1402124f1ecf2cdc01
2017-03-24 10:45:10 +09:00
Makoto Kato
4d5b7f9b2d Bug 1350169 - Part 1. Remove Android backend for Alarm API. r=snorp
After landing bug 1300884 and B2G is dead, Web Alarm API is removed.  So we should remove Android backend for Alarm API. This implementation was for B2GDroid.

MozReview-Commit-ID: ItmjOQrVSgs

--HG--
extra : rebase_source : 1844b81c515c043245c9bed034698a1904f03286
2017-03-24 10:35:38 +09:00
Ehsan Akhgari
5ab5fb52c4 Bug 1342636 - Part 3: Remove the GetCurrentScreenConfiguration sync IPC message; r=billm 2017-03-10 21:29:04 -05:00
Ehsan Akhgari
f5d7e843c0 Bug 1342636 - Part 2: Switch to using the fallback implementation of GetCurrentScreenConfiguration in the content process; r=kanru
This uses the underlying XPCOM API which works based on asyncronous
IPC.
2017-03-10 21:29:01 -05:00
Ehsan Akhgari
48c08aeda9 Bug 1342636 - Part 1: Factor out the fallback screen configuration code into a shared header; r=kanru 2017-03-10 21:28:57 -05:00
Tom Tromey
5f8f360823 Bug 1060419 - make log_print use Printf.h, r=froydnj
MozReview-Commit-ID: BIZ1GQEZ1vs

--HG--
extra : rebase_source : 2f1f0aa12493c44f352d9a7e8683e7bb72d2d75b
2016-12-15 20:16:31 -07:00
Gabor Krizsanits
882d1434a2 Bug 1324428 - Simplified preallocated process manager. r=billm 2017-02-01 13:34:24 +01:00
Masatoshi Kimura
9dc92bce56 Bug 1334862 - Remove Windows XP support from HAL. r=jimm
MozReview-Commit-ID: 72mQbhyCohg

--HG--
extra : rebase_source : 9e151ded3b2b72207bb0a2d0475f98ec77848f00
2017-01-29 15:43:44 +09:00
Joel Maher
263a382d9b Bug 1332394 - add BUG_COMPONENT to hal/* files. r=overholt
MozReview-Commit-ID: 3I9vZATLISK
2017-01-26 05:51:56 -05:00
Sebastian Hengst
c1f3d82f23 Backed out bdd2118235e9 (bug 1324428) for timing out in dom/browser-element/mochitest/priority/test_Simple.html. r=backout 2017-01-23 21:59:29 +01:00
Gabor Krizsanits
c0ff5e5593 Bug 1324428 - Simplified preallocated process mechanism. r=billm 2017-01-23 17:25:34 +01:00
Markus Stange
692210bd80 Bug 1323100 - Assign names to all remaining threads that are created through NS_NewThread and create them using NS_NewNamedThread instead. r=froydnj
MozReview-Commit-ID: 7W1dt2BBKJZ

--HG--
extra : rebase_source : c7e335dac2e0f02782f0eb229a7181c8d01317a2
2016-12-21 11:43:50 +01:00
Daosheng Mu
94effe3091 Bug 1315896 - Part 2: Remove MOZ_GAMEPAD in Gamepad module; r=ted.mielczarek
MozReview-Commit-ID: Hbv6THaI5Rk

--HG--
extra : rebase_source : aa6b247881c45b2d615d5e37576801e91ed77312
2016-12-08 13:00:44 -10:00
Tomislav Jurin
348bfffc19 Bug 1296189 - Replace NS_RUNTIMEABORT("some string literal message") with MOZ_CRASH(). r=froydnj 2016-12-02 13:46:53 -08:00
Andi-Bogdan Postelnicu
49538d51d8 Bug 1319741 - Use C++11's override and remove virtual where applicable in hal/. r=gsvelto
MozReview-Commit-ID: 94CcvRoR6zQ

--HG--
extra : rebase_source : 2bcf99667c0acd3d3163a0703950a4ec49a347f8
2016-11-23 13:21:06 +02:00
Ehsan Akhgari
dc33b55d94 Bug 1312101 - Part 2: Remove AppProcessChecker and code that depends on it; r=baku 2016-11-16 14:51:08 -05:00
Ehsan Akhgari
569f181508 Bug 1311149 - Remove the b2g preallocated app support; r=baku 2016-11-16 09:17:35 -05:00