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

645 Коммитов

Автор SHA1 Сообщение Дата
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
Kan-Ru Chen f8100451db Bug 1314254 - Add mozilla::ipc::IPCResult type and convert IPDL handlers to use new return type. r=billm
We will use the new type for the generated IPDL message handler
prototype to make sure correct error handling method is called.

MozReview-Commit-ID: AzVbApxFGZ0
2016-11-15 04:26:00 +01:00
Michelangelo De Simone baf56b1218 Bug 1315798 - Remove FMRADIO support from HAL. r=mds
MozReview-Commit-ID: E6KGgMd8Cfg

--HG--
extra : rebase_source : 8d2117367c70ba8e30cc210805135e52dc9ff27b
2016-11-07 14:09:57 -08:00
Bill McCloskey d9f445e359 Bug 792652 - Get rid of CloneProtocol (r=dvander)
CloneProtocol is leftover code from Nuwa. We can remove it now.
2016-11-08 15:22:33 -08:00
Wes Kocher 4b3d16605a Backed out 18 changesets (bug 792652) for build bustage on linux64 a=backout CLOSED TREE
Backed out changeset 90eaf6aec002 (bug 792652)
Backed out changeset ddd915ab4a48 (bug 792652)
Backed out changeset 95eff6c45cae (bug 792652)
Backed out changeset 75855b5a9ab9 (bug 792652)
Backed out changeset b658ebaad5d7 (bug 792652)
Backed out changeset 2ba36b8ac60c (bug 792652)
Backed out changeset 94fcd3bf3f34 (bug 792652)
Backed out changeset cf9c4164eb43 (bug 792652)
Backed out changeset 59e6d0a4f35b (bug 792652)
Backed out changeset bdf86b8b9c43 (bug 792652)
Backed out changeset 8edf4b247250 (bug 792652)
Backed out changeset 63a3c8e4016e (bug 792652)
Backed out changeset e3e496eab991 (bug 792652)
Backed out changeset 5a1e3136323a (bug 792652)
Backed out changeset dbbe3a8c00e7 (bug 792652)
Backed out changeset 1829d5358808 (bug 792652)
Backed out changeset 004cd692ba6d (bug 792652)
Backed out changeset 92e7fee81fa2 (bug 792652)
2016-11-08 12:05:28 -08:00
Bill McCloskey 1a00da8679 Bug 792652 - Get rid of CloneProtocol (r=dvander)
CloneProtocol is leftover code from Nuwa. We can remove it now.
2016-11-08 11:32:23 -08:00