Gabriele Svelto
b605bebd6a
Bug 1488401 - Remove the remnants of the DiskSpaceWatcher r=asuth,janv,smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D4933
--HG--
extra : moz-landing-system : lando
2018-09-13 06:40:51 +00:00
Gabriele Svelto
6bddc0a55e
Bug 1486772 - Refactor the screen-orientation types and headers r=smaug
...
This patch removes the 'ScreenOrientationInternal' type from
dom/base/ScreenOrientation.h and moves it into the
HalScreenConfiguration.h header, renaming it simply to 'ScreenOrientation'
in the process. This has several knock-off effects:
- It allows files that needed ScreenOrientationInternal to include a much
smaller header than before
- It greatly reduces the number of headers pulled in when including Hal.h
- It clarifies the role of the type. The 'Internal' part in the name had
nothing to do with it being part of the implementation. The type was public
and called that way only to avoid clashing with the 'ScreenOrientation'
class. Since we moved it into a different namespace it can be renamed
safely.
- It allows a file that was manually re-declaring 'ScreenConfigurationInternal'
type to use the original one
- Finally this fixes a few files which were missing headers they actually
required but that would still build because unified compilation put them into
units that already had those headers thanks to ScreenConfiguration.h
Differential Revision: https://phabricator.services.mozilla.com/D4458
--HG--
extra : moz-landing-system : lando
2018-08-29 20:54:56 +00:00
Hiroyuki Ikezoe
330f831cb7
Bug 1482753 - Move battery/Types.h into hal/ and BatteryObserver into hal namespace. r=gsvelto
...
Differential Revision: https://phabricator.services.mozilla.com/D3180
--HG--
rename : dom/battery/Types.h => hal/HalBatteryInformation.h
2018-08-13 10:57:50 +09:00
Hiroyuki Ikezoe
ce58f0c053
Bug 1482753 - Move network/Types.h into hal/ and NetworkObserver into hal namespace. r=gsvelto
...
Differential Revision: https://phabricator.services.mozilla.com/D3179
--HG--
rename : dom/network/Types.h => hal/HalNetworkInformation.h
2018-08-13 10:57:50 +09: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
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
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
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
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
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
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
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
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
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
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
Kan-Ru Chen
b6d880aca1
Bug 1297276 - Rename mfbt/unused.h to mfbt/Unused.h for consistency. r=froydnj
...
The patch is generated from following command:
rgrep -l unused.h|xargs sed -i -e s,mozilla/unused.h,mozilla/Unused.h,
MozReview-Commit-ID: AtLcWApZfES
--HG--
rename : mfbt/unused.h => mfbt/Unused.h
2016-08-24 14:47:04 +08:00
Jonathan Watt
b15368cfcb
Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky
2016-06-07 21:10:18 +01:00
Birunthan Mohanathas
e00f212825
Bug 1235261 - Part 6: Rename AutoInfallibleTArray to AutoTArray. r=froydnj
2016-02-02 17:36:31 +02:00
Phil Ringnalda
d381b4bca6
Back out 7 changesets (bug 1235261) for cpptest failures in TestTArray
...
CLOSED TREE
Backed out changeset d66c3f19a210 (bug 1235261)
Backed out changeset 467d945426bb (bug 1235261)
Backed out changeset 32b61df13142 (bug 1235261)
Backed out changeset c50bb8ed4196 (bug 1235261)
Backed out changeset 0ff0fa6fe81f (bug 1235261)
Backed out changeset df70e89669da (bug 1235261)
Backed out changeset 064969357fc9 (bug 1235261)
2016-01-31 10:10:57 -08:00
Birunthan Mohanathas
b00cdd6088
Bug 1235261 - Part 6: Rename AutoInfallibleTArray to AutoTArray. r=froydnj
2016-01-31 17:12:12 +02:00
Kyle Huey
91efc5a86c
Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug
2016-01-30 09:05:36 -08:00
Thomas Zimmermann
27283de2b8
Bug 1232687: Add system-service interface to HAL, r=gsvelto
...
The new HAL interface allows for starting, stopping, and querying
the status of system services. How these operations are performed
depends on the underlying system.
The current implementation for Gonk already contains a workaround
from Bluetooth, where quickly restarted system services require a
cool-down time between retrys.
2016-01-04 16:08:21 +01:00
Birunthan Mohanathas
9985829ecc
Bug 1219392 - Capitalize mozilla::unused to avoid conflicts. r=froydnj
2015-11-02 07:53:26 +02:00
William Chen
3c9928ced9
Bug 1131470 - Part 1: Rename existing use of ScreenOrientation to ScreenOrientationInternal. r=baku
...
--HG--
extra : rebase_source : 72e978d48e8356da9e8c66adfa0a97983034aa5a
2015-08-18 14:55:09 -07:00
Sotaro Ikeda
e2d6f1ea99
Bug 1091037 - Raise ImageBridge thread priority r=gsvelto,nical
2015-05-07 06:53:47 -07:00
Kyle Machulis
358e55b5b7
Bug 852944 - Gamepad API IPC; r=ted, r=baku
...
--HG--
extra : rebase_source : 34ca0c1e1b7fcc312b5d7c97d5bd2086af2bc7ce
2015-04-23 15:05:29 -07:00
Ehsan Akhgari
883849ee32
Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
...
This patch was automatically generated using the following script:
function convert() {
echo "Converting $1 to $2..."
find . \
! -wholename "*/.git*" \
! -wholename "obj-ff-dbg*" \
-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 MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Gabriele Svelto
243ffd8828
Bug 892371 - Adjust oom_score_adj values for foreground processes according to an LRU policy. r=dhylands, r=khuey
2015-02-25 09:37:38 +01:00
Gabriele Svelto
1f8afa872a
Bug 1119277 - Remove the process CPU priority parameter and simplify all the associated code. r=khuey, r=dhylands
2015-02-26 12:43:22 +01:00
Kan-Ru Chen (陳侃如)
9bdcbebafe
Bug 1114890 - Use TabParent::GetFrom everywhere. r=billm
2015-02-05 16:47:32 -05:00
Ryan VanderMeulen
6048189ffc
Backed out changeset ab7fbaca9fdd (bug 1114890) for being the likely cause of bug 1124046.
2015-02-05 14:35:35 -05:00
Kan-Ru Chen (陳侃如)
0c04d0ee7e
Bug 1114890 - Use TabParent::GetFrom everywhere. r=billm
2015-02-05 17:18:22 +08:00
Kyle Huey
7c82e6dd0a
Bug 1121673: Use move references in IPDL. r=bent
2015-01-16 11:58:52 -08:00
Ehsan Akhgari
1e88271572
Bug 1119268 - Mark virtual overridden functions as MOZ_OVERRIDE in misc code; r=bsmedberg
2015-01-12 23:26:30 -05:00
Wes Kocher
4a8e595770
Backout c034dba7a417
2015-01-12 14:46:48 -08:00
Ehsan Akhgari
d517a30886
Bug 1119268 - Mark virtual overridden functions as MOZ_OVERRIDE in misc code; r=bsmedberg
2015-01-12 16:35:06 -05:00
Alexandre Poirot
cd42d11736
Bug 1100964 - Reset phone while enabling unrestricted devtools mode. r=fabrice, r=sicking
...
--HG--
extra : amend_source : 905e0ea7680baad061c66a0b6dc77dbf23258218
2014-11-26 06:46:00 -05:00
Michael Wu
9ebcb66989
Bug 1075727 - Return success/failure in hal::EnableRDS, r=dhylands
2014-10-14 15:16:22 -04:00
Michael Wu
846b6645bf
Bug 1041085 - FM RDS support in HAL, r=dhylands
2014-06-26 05:07:23 -04:00
Michael Wu
610334f023
Backed out changeset d1ad5d5bc00f (Bug 1041085) for red
2014-09-30 13:43:22 -04:00
Michael Wu
86e3b61ea2
Bug 1041085 - FM RDS support in HAL, r=dhylands
2014-06-26 05:07:23 -04:00