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

43 Коммитов

Автор SHA1 Сообщение Дата
Sylvestre Ledru e226046cb8 Bug 1547143 - Format the tree: Be prescriptive with the pointer style (left) r=Ehsan
# ignore-this-changeset

Depends on D28954

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

--HG--
extra : moz-landing-system : lando
2019-05-01 08:47:10 +00:00
Ryan Hunt c355a037bb Bug 1523969 part 9 - Move method definition inline comments to new line in 'hal/'. r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D21109

--HG--
extra : rebase_source : d56eacdaeefd5bde104fb24eecffa3d2890a7869
2019-02-25 16:07:35 -06:00
Sylvestre Ledru 0b4021fcad Bug 1521460 - Also reformat objective-c files r=mstange,ehsan,spohl
# ignore-this-changeset

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

--HG--
extra : histedit_source : 084f340503d2e1a2d9e1753c38b2c4ee9c7819f3
2019-01-21 18:18:16 +01:00
Ehsan Akhgari e5e885ae31 Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre
# ignore-this-changeset

--HG--
extra : amend_source : 7221c8d15a765df71171099468e7c7faa648f37c
extra : histedit_source : a0cce6015636202bff09e35a13f72e03257a7695
2019-01-18 10:16:18 +01:00
Sylvestre Ledru 265e672179 Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
# ignore-this-changeset

--HG--
extra : amend_source : 4d301d3b0b8711c4692392aa76088ba7fd7d1022
2018-11-30 11:46:48 +01: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 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
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
Birunthan Mohanathas a8939590de Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
The bulk of this commit was generated by running:

  run-clang-tidy.py \
    -checks='-*,llvm-namespace-comment' \
    -header-filter=^/.../mozilla-central/.* \
    -fix
2015-07-13 08:25:42 -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
Randall Barker afe92a9008 Bug 1107801 - Improve gamepad support on MacOS. r=ted
--HG--
extra : rebase_source : 1da3cd8bce051b3b77a015b54ce337f393ea51bf
2015-03-23 17:06:56 -07:00
Wes Kocher 3b29bb5855 Backed out changeset 03eeae957008 (bug 1107801) for gamepad test failures CLOSED TREE 2015-03-23 16:25:32 -07:00
Randall Barker 73b57fa9ec Bug 1107801 - Improve gamepad support on MacOS. r=ted 2015-03-23 09:21:00 -04: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
Benoit Jacob 9b83c2d49b Bug 1028588 - Fix dangerous public destructors of Mac-specific reference-counted classes - r=mstange 2014-07-06 11:25:31 -04:00
Ted Mielczarek 9ca7ade729 Bug 1014162 - Make Gamepad.mapping into an enum. r=smaug 2014-05-23 07:39:13 -04:00
Mike Conley 870e39b558 Bug 1001075 - Account for possible re-entry in MacPowerInformationService::StopListening to avoid crash with e10s. r=BenWa, feedback=reuben. 2014-05-12 21:07:45 -04:00
Birunthan Mohanathas 5f1fde8824 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
Kyle Huey d001ae7759 Bug 994971: Don't export nsObserverService.h. r=bsmedberg
--HG--
extra : rebase_source : cd5aa136075086a10cfa03d937743d8a5471fd6c
2014-04-14 12:04:27 -07:00
Ryan VanderMeulen 40b49517d3 Backed out changeset e2d5b2be4142 (bug 994971) for non-unified bustage.
CLOSED TREE
2014-04-14 18:27:52 -04:00
Kyle Huey 46e8243a6d Bug 994971: Don't export nsObserverService.h. r=bsmedberg 2014-04-14 12:04:27 -07:00
Ehsan Akhgari 1b83407ce9 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
Ehsan Akhgari 322dd501b7 Bug 942334 - Build hal in unified mode; r=cjones
--HG--
extra : rebase_source : b3fae3b4456bfa8ef9920038668b403cc7c8accf
2013-11-25 14:57:18 -05:00
Nathan Froyd e8316ed759 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
Birunthan Mohanathas 0d87358ff5 Bug 784739 - Switch from NULL to nullptr in hal/. r=ehsan 2013-08-23 15:51:15 -04:00
Justin Lebar 168b162725 No bug: Fix a modeline. DONTBUILD 2013-07-11 09:32:55 -04:00
Ted Mielczarek 98dadecb4e bug 860413 - Allow setting standard gamepad mapping. r=smaug 2013-04-09 08:43:25 -04:00
Jason Orendorff ea60e97165 Bug 604039 - Mac gamepad backend. r=smichaud
--HG--
extra : rebase_source : bd58cfd041c9d72a23798fa221bdfbdc3f33e862
2011-08-03 08:06:00 -04:00
Jorge Luis Mendez 7a3dfbc1ec 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
Doug Turner e2868483f2 Bug 790503 - On Mac Mini, defaultCalibration reads outside of sensors[]. r=jruderman@gmail.com,blassey 2012-10-01 20:45:32 -07:00
Reuben Morais 3bcf013f51 Bug 793418 - OS X Battery Backend: Report time to charge when available. r=mounir 2012-09-25 15:32:02 +01:00
Reuben Morais 1e2b24f0e6 Bug 696045 - Implement Mac backend for Battery API. r=BenWa,mounir 2012-09-21 23:36:14 -04:00
Ryan VanderMeulen e51192eee7 Backout 52120672ee11 due to OSX opt bustage. 2012-09-11 20:28:43 -04:00
Reuben Morais b973ff0e10 Bug 696045 - Implement Mac backend for Battery API. r=BenWa, mounir 2012-09-11 20:07:06 -04:00
Aryeh Gregor d0ad5a7d0c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Mounir Lamouri b07bb6b73a Bug 772373 - Force warnings as errors in hal/. r=jlebar 2012-07-12 21:34:18 +02:00
Reuben Morais af525c4313 Bug 772524 - Fix "data argument not used by format string" warnings in smslib.mm. r=mounir 2012-07-10 18:31:04 -04:00
Reuben Morais 0bc9bee885 Bug 772351 - Fix deprecated writable strings warnings on smslib.mm. r=mounir 2012-07-10 18:31:04 -04:00
Doug Turner 99d0547b5c Bug 738102 - devicemotion causes shutdown crash. r=jdm 2012-03-21 22:27:51 -07:00
Doug Turner b1e4247d44 Bug 735330 - move device motion from dom/system to hal. r=jdm
* * *
Bug 735330 - move device motion from dom/system to hal. cocoa bits. r=jdm
* * *
Bug 735330 - move device motion from dom/system to hal. window/qt/linux bits. r=jdm
* * *
Bug 735330 - move device motion from dom/system to hal. move accuracy into sensor data.  support compassneedscalibration. r=jdm

--HG--
rename : dom/system/cocoa/smslib.h => hal/cocoa/smslib.h
rename : dom/system/cocoa/smslib.mm => hal/cocoa/smslib.mm
2012-03-20 23:36:17 -07:00
Matt Brubeck 388850e1f0 Back out bug 735330, bug 737462, bug 734854 because they broke XUL Fennec
--HG--
rename : hal/cocoa/smslib.h => dom/system/cocoa/smslib.h
rename : hal/cocoa/smslib.mm => dom/system/cocoa/smslib.mm
2012-03-20 16:59:24 -07:00
Doug Turner 075acfd9f5 Bug 735330 - move device motion from dom/system to hal. r=jdm
* * *
Bug 735330 - move device motion from dom/system to hal. cocoa bits. r=jdm
* * *
Bug 735330 - move device motion from dom/system to hal. window/qt/linux bits. r=jdm
* * *
Bug 735330 - move device motion from dom/system to hal. move accuracy into sensor data.  support compassneedscalibration. r=jdm

--HG--
rename : dom/system/cocoa/smslib.h => hal/cocoa/smslib.h
rename : dom/system/cocoa/smslib.mm => hal/cocoa/smslib.mm
2012-03-20 14:46:14 -07:00