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
Aaron Klotz
2cb7b6b749
Bug 1418131: Part 1 - Add Windows Security Center info to nsSystemInfo; r=erahm,jimm
...
MozReview-Commit-ID: 7XUAIesDpRu
--HG--
extra : rebase_source : eaa6ad5512d834d1eb969740ace995458dcd727c
2017-11-16 17:59:51 -07:00
Dorel Luca
d4bbc76d49
Backed out 3 changesets (bug 1418131) for failing Browser-chrome on toolkit/modules/tests/browser/browser_Troubleshoot.js on a CLOSED TREE
...
Backed out changeset 8962ed624e0c (bug 1418131)
Backed out changeset a287c5db8be6 (bug 1418131)
Backed out changeset a0cf39ae0b3d (bug 1418131)
2018-01-16 03:39:43 +02:00
Aaron Klotz
652524cb6b
Bug 1418131: Part 1 - Add Windows Security Center info to nsSystemInfo; r=erahm,jimm
...
MozReview-Commit-ID: 7XUAIesDpRu
--HG--
extra : rebase_source : eaa6ad5512d834d1eb969740ace995458dcd727c
2017-11-16 17:59:51 -07:00
Dorel Luca
e10cba4a95
Backed out 3 changesets (bug 1418131) for build bustages on Windows mingw
...
Backed out changeset 073eb94e1d21 (bug 1418131)
Backed out changeset 625b2d120fd9 (bug 1418131)
Backed out changeset d66bae3d5be1 (bug 1418131)
2018-01-15 23:48:41 +02:00
Aaron Klotz
e55cbf9e1a
Bug 1418131: Part 1 - Add Windows Security Center info to nsSystemInfo; r=erahm,jimm
...
MozReview-Commit-ID: 7XUAIesDpRu
--HG--
extra : rebase_source : b6989c2e8d9d228fc3d29d0c2f88fee126810711
2017-11-16 17:59:51 -07:00
Dorel Luca
b73165b6f3
Backed out 3 changesets (bug 1418131) for Browser-chrome failure, mochitest failre and build bustage on Windows mingw
...
Backed out changeset 75591ea83b3c (bug 1418131)
Backed out changeset 73dca2043525 (bug 1418131)
Backed out changeset 5dd6963e2a12 (bug 1418131)
2018-01-15 22:51:31 +02:00
Aaron Klotz
b62e509838
Bug 1418131: Part 1 - Add Windows Security Center info to nsSystemInfo; r=erahm,jimm
...
MozReview-Commit-ID: 7XUAIesDpRu
--HG--
extra : rebase_source : 2dbd3592e1fd31aae2c0d9946a7146b3a472d3fa
2017-11-16 17:59:51 -07:00
Sylvestre Ledru
424664ff30
Bug 1278282 - Remove the 'MOZ_WIDGET_GTK == 2' defines r=karlt,lsalzman
...
MozReview-Commit-ID: 3v8D600g8St
--HG--
extra : rebase_source : 34ea6f9868c1b322076c24daa75dc33e27b6704e
2018-01-10 08:52:04 +01:00
Stephen A Pohl
f810e234b5
Bug 1409468: Add a property appleModelId to telemetry's environment data to collect model IDs for Apple desktop devices. r=mstange,francois
2017-10-18 14:52:06 -04:00
Stephen A Pohl
a42ae45a57
Backout 7a6b39895ac2 and 7cb727e67531 to potentially be replaced with better solution. r=backout
2017-10-17 15:46:01 -04:00
Stephen A Pohl
a2294619d7
Bug 1409468: Add a property to telemetry's environment data to detect when a device has an Apple touchbar. r=mstange,francois
2017-10-17 15:33:22 -04:00
David Keeler
2a15781174
Bug 1369561 - Address misc. SnprintfLiteral correctness nits. r=jld, r=froydnj
2017-09-15 14:47:54 -07:00
Nicholas Nethercote
e99e711d3f
Bug 1382099 - Remove MOZ_WIDGET_GONK from xpcom/. r=erahm.
...
As well as the straightforward things, this lets us remove ReadSysFile and
WriteSysFile, which in turn lets us remove TestFileUtils.cpp.
--HG--
extra : rebase_source : fc90c05352e654ffc41009d8504a9c54f394fc3f
2017-07-21 10:45:39 +10:00
Eric Rahm
ab9516d40d
Bug 1353593 - Part 2: Remove wwc functions. r=froydnj
...
This removes the use of |wwc| functions in favor of char16ptr_t's implicit
conversion operators.
MozReview-Commit-ID: GHONYieMPla
2017-06-12 16:20:49 -07:00
Franziskus Kiefer
647c94e8af
Bug 1359335 - collect telemetry on aes-ni support, r=gfritzsche
...
MozReview-Commit-ID: 23YbAcCls1H
--HG--
extra : rebase_source : e70869f3cb88052cb756649e4581f6690363acfe
2017-03-31 19:03:03 +02:00
Patrick McManus
72b59b72e3
Bug 1361601 - Remove nsSystemInfo.getProperty("host") r=froydnj
...
See also bug 1361495 - PR_SI_HOSTNAME is implemented in NSPR on
Windows as initializing winsock which can be janky. There don't seem
to be any users of this property, and it has tracker concerns anyhow -
so remove it.
MozReview-Commit-ID: S2AwzMUgYk
--HG--
extra : rebase_source : 552bed219913f40c002b807be3239d4666a5284b
2017-05-02 16:54:46 -04:00
Andrew McCreight
7367aeb120
Bug 1350690 - Add main thread assertion to nsSystemInfo::Init(). r=froydnj
...
MozReview-Commit-ID: JtlOXqCtJ8Y
--HG--
extra : rebase_source : 99f4d098d4af35c4bbd27e0f99a1a8edff399d32
2017-03-27 08:03:01 -07:00
David Major
dc67bfc9a3
Bug 1344629 - Part 6: Rewrite unnecessary uses of nsLiteralString. r=dbaron
...
There's an antipattern where nsLiteralString is used as an unnecessary intermediary in converting from CharT* to CharT*,
e.g. CallAFunctionThatTakesACharPointer(NS_LITERAL_CSTRING("foo").get());
or
NS_NAMED_LITERAL_STRING(foo, "abc");
CallAFunctionThatTakesACharPointer(foo.get());
This patch rewrites the callsites that can be trivially changed to use char*/char16_t*.
I'd somewhat like to remove nsTLiteralString::get() altogether, but in code that's less straightforward than these examples, get() is useful enough to keep.
MozReview-Commit-ID: Kh1rUziVllo
--HG--
extra : rebase_source : c21a65694d6e1c42fd88f73632f7ac8f38d005ae
2017-03-14 15:26:27 +13:00
Iris Hsiao
5cece96e1c
Backed out 12 changesets (bug 1344629) for stylo build bustage
...
Backed out changeset cf4273d3ac30 (bug 1344629)
Backed out changeset a96390e044e0 (bug 1344629)
Backed out changeset d9b330f9bc24 (bug 1344629)
Backed out changeset 2b460fe020af (bug 1344629)
Backed out changeset 0ada91b0452e (bug 1344629)
Backed out changeset 083304fcd6bd (bug 1344629)
Backed out changeset 53d7d1ce2c97 (bug 1344629)
Backed out changeset 55eee7078ae4 (bug 1344629)
Backed out changeset 7d3c06b3eca9 (bug 1344629)
Backed out changeset e5df14c3db61 (bug 1344629)
Backed out changeset 636095ff2815 (bug 1344629)
Backed out changeset 0be052ad24c1 (bug 1344629)
2017-03-14 11:52:24 +08:00
David Major
40f4821701
Bug 1344629 - Part 6: Rewrite unnecessary uses of nsLiteralString. r=dbaron
...
There's an antipattern where nsLiteralString is used as an unnecessary intermediary in converting from CharT* to CharT*,
e.g. CallAFunctionThatTakesACharPointer(NS_LITERAL_CSTRING("foo").get());
or
NS_NAMED_LITERAL_STRING(foo, "abc");
CallAFunctionThatTakesACharPointer(foo.get());
This patch rewrites the callsites that can be trivially changed to use char*/char16_t*.
I'd somewhat like to remove nsTLiteralString::get() altogether, but in code that's less straightforward than these examples, get() is useful enough to keep.
MozReview-Commit-ID: Kh1rUziVllo
--HG--
extra : rebase_source : c21a65694d6e1c42fd88f73632f7ac8f38d005ae
2017-03-14 15:26:27 +13:00
Tom Tromey
f8ab4ddf02
Bug 1060419 - remove unneeded includes of prprf.h, r=froydnj
...
MozReview-Commit-ID: JifhpA3oOeH
--HG--
extra : rebase_source : 08460997dc3fd91f3065c718e17b41bb4acf8bae
2016-12-09 10:00:01 -10:00
Benjamin Smedberg
d478e7c99f
Bug 1332631 part B - file moves from xpcom/glue to xpcom/base, r=froydnj
...
MozReview-Commit-ID: ARS1aTugYjl
--HG--
rename : xpcom/glue/AutoRestore.h => xpcom/base/AutoRestore.h
rename : xpcom/glue/EnumeratedArrayCycleCollection.h => xpcom/base/EnumeratedArrayCycleCollection.h
rename : xpcom/glue/IntentionalCrash.h => xpcom/base/IntentionalCrash.h
rename : xpcom/glue/nsCOMPtr.cpp => xpcom/base/nsCOMPtr.cpp
rename : xpcom/glue/nsCOMPtr.h => xpcom/base/nsCOMPtr.h
rename : xpcom/glue/nsCRTGlue.cpp => xpcom/base/nsCRTGlue.cpp
rename : xpcom/glue/nsCRTGlue.h => xpcom/base/nsCRTGlue.h
rename : xpcom/glue/nsClassInfoImpl.cpp => xpcom/base/nsClassInfoImpl.cpp
rename : xpcom/glue/nsCycleCollectionNoteChild.h => xpcom/base/nsCycleCollectionNoteChild.h
rename : xpcom/glue/nsCycleCollectionNoteRootCallback.h => xpcom/base/nsCycleCollectionNoteRootCallback.h
rename : xpcom/glue/nsCycleCollectionParticipant.cpp => xpcom/base/nsCycleCollectionParticipant.cpp
rename : xpcom/glue/nsCycleCollectionParticipant.h => xpcom/base/nsCycleCollectionParticipant.h
rename : xpcom/glue/nsCycleCollectionTraversalCallback.h => xpcom/base/nsCycleCollectionTraversalCallback.h
rename : xpcom/glue/nsDebug.h => xpcom/base/nsDebug.h
rename : xpcom/glue/nsIClassInfoImpl.h => xpcom/base/nsIClassInfoImpl.h
rename : xpcom/glue/nsID.cpp => xpcom/base/nsID.cpp
rename : xpcom/glue/nsID.h => xpcom/base/nsID.h
rename : xpcom/glue/nsIInterfaceRequestorUtils.cpp => xpcom/base/nsIInterfaceRequestorUtils.cpp
rename : xpcom/glue/nsIInterfaceRequestorUtils.h => xpcom/base/nsIInterfaceRequestorUtils.h
rename : xpcom/glue/nsINIParser.cpp => xpcom/base/nsINIParser.cpp
rename : xpcom/glue/nsINIParser.h => xpcom/base/nsINIParser.h
rename : xpcom/glue/nsISupportsImpl.cpp => xpcom/base/nsISupportsImpl.cpp
rename : xpcom/glue/nsISupportsImpl.h => xpcom/base/nsISupportsImpl.h
rename : xpcom/glue/nsISupportsUtils.h => xpcom/base/nsISupportsUtils.h
rename : xpcom/glue/nsIWeakReferenceUtils.h => xpcom/base/nsIWeakReferenceUtils.h
rename : xpcom/glue/nsMemory.cpp => xpcom/base/nsMemory.cpp
rename : xpcom/glue/nsMemory.h => xpcom/base/nsMemory.h
rename : xpcom/glue/nsTWeakRef.h => xpcom/base/nsTWeakRef.h
rename : xpcom/glue/nsVersionComparator.cpp => xpcom/base/nsVersionComparator.cpp
rename : xpcom/glue/nsVersionComparator.h => xpcom/base/nsVersionComparator.h
rename : xpcom/glue/nsWeakReference.cpp => xpcom/base/nsWeakReference.cpp
rename : xpcom/glue/nsWeakReference.h => xpcom/base/nsWeakReference.h
extra : rebase_source : df11b181f383b70ffe5051716d63ed11b98be53b
extra : histedit_source : 6d0743fac0562e4676e44a52f0e85375fb4a44ff
2017-01-23 09:24:01 -05:00
Tom Schuster
774a8bf34d
Bug 1302163 - Change code to use SprintfLiteral instead of snprintf. r=ehsan
2016-10-04 17:57:51 +02:00
Nicholas Nethercote
b71747b2ac
Bug 1299727 - Rename NS_WARN_IF_FALSE as NS_WARNING_ASSERTION. r=erahm.
...
The new name makes the sense of the condition much clearer. E.g. compare:
NS_WARN_IF_FALSE(!rv.Failed());
with:
NS_WARNING_ASSERTION(!rv.Failed());
The new name also makes it clearer that it only has effect in debug builds,
because that's standard for assertions.
--HG--
extra : rebase_source : 886e57a9e433e0cb6ed635cc075b34b7ebf81853
2016-09-01 15:01:16 +10:00
Jim Chen
ce45a595ab
Bug 1287946 - Update existing code to use mozilla::java; r=me
2016-07-21 13:49:04 -04:00
Carsten "Tomcat" Book
e8bc59a87a
Backed out changeset 684888aeee81 (bug 1287946)
2016-07-21 08:07:12 +02:00
Jim Chen
78f67d1f6f
Bug 1287946 - Update existing code to use mozilla::java; r=me
2016-07-21 00:42:26 -04:00
Michael Kaply
a3203be2b0
Bug 1284921- Hardcode Android version for non-numeric releases. r=nfroyd
...
--HG--
extra : rebase_source : b9627b902df8ae0a1e32fa608067455c9ef8aa82
2016-07-13 10:31:26 -05:00
Jan Beich
06c382c7df
Bug 1284167 - /proc is unreliable on non-Linux. r=milan
...
MozReview-Commit-ID: 1B9bxjuRj6k
--HG--
extra : transplant_source : %DF%D8J%3A%1DY%23%FDW%A9%FB%2A%7C%92%29%FC%3F%84-%03
2016-07-04 00:30:22 +00:00
Jeff Muizelaar
ddb635bc77
Bug 1272359. Report support for AVX and AVX2 in telemetry. r=gfritzsche
2016-05-24 14:25:00 -04:00
Karl Tomlinson
a02ee88552
bug 1245745 include libpulse version in update URL r=glandium
...
--HG--
extra : rebase_source : 24c37042fb74519dd392515386f0afeec289db4e
2016-02-09 14:35:03 +13:00
Mats Palmgren
3f054f833d
Bug 1239516 - Use nsDependentCSubstring for wrapping a slice of a char buffer. r=karlt
2016-01-14 23:11:44 +01:00
Mike Hommey
6e154bf9b9
Bug 1227023 - Include the Gtk+3 version in update URL if available on Gtk+2 builds. r=karlt
...
Instead of giving the Gtk+2 version.
2015-12-05 11:04:21 +09:00
Fabrice Desré
a76d9cfc62
Bug 1220344 - remote some of nsSystemInfo to make it e10s ready on Android r=nchen,froydnj
2015-11-04 11:08:14 -08:00
Carsten "Tomcat" Book
8bb69a1d1d
Backed out changeset 8d3ff1d1a809 (bug 1220344) for failing android tests
...
--HG--
extra : rebase_source : a1d9f59c12c44ccf24af88566c6531e08a11db4e
2015-11-05 11:48:06 +01:00
Fabrice Desré
04ce4a4632
Bug 1220344 - remote some of nsSystemInfo to make it e10s ready on Android r=nchen,froydnj
2015-11-04 11:08:14 -08:00
Makoto Kato
e5153e1c2b
Bug 1218315 - Use L"..." instead of MOZ_UTF16(...) for MSVS2015. r=nfroyd
2015-10-28 22:36:40 +09:00
Makoto Kato
0298c31d73
Bug 1218315 - Replace NS_LITERAL_STRING(...).get() with MOZ_UTF16(...) on xpcom. r=nfroyd
2015-10-28 14:29:49 +09:00
Shih-Chiang Chien
e50f7091ee
Bug 1199592 - support TV device type in UA string. r=fabrice.
...
--HG--
extra : rebase_source : 7999c1a81fd7e297b88d3b780c252b70bf265d23
2015-10-05 19:58:00 +02:00
Milan Sreckovic
9a9792e17d
Bug 1128472 - Part 3. Vendor string on windows. r=aklotz
2015-09-03 13:10:00 +02:00
Milan Sreckovic
79db27187c
Bug 1128472 - Part 2. Linux support. r=gfritzsche
2015-09-08 14:35:00 +02:00
Milan Sreckovic
c2e36204f0
Bug 1128472 - Part 1. Mac and Win for model, stepping, cores, cache, cpu speed; VM max on Win only, vendor on Mac only. r=gfritzsche
2015-09-01 14:48:00 +02:00
Chris Manchester
f2dcab6039
Bug 1131325 - Move system country code from nsIGfxInfo2 to a more appropriate location. r=aklotz,smichaud
...
--HG--
extra : commitid : Jglg9X6ykB1
2015-07-28 15:45:34 -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
Anton Myagkov
5c8a6334c3
Bug 1132558: Add Windows install year to telemetry; r=aklotz
...
--HG--
extra : rebase_source : 6184833bb9988426dbc9cf3aca9a5492c1b3eb40
extra : amend_source : a020b892b16d4a21845e6d94c3d6c5273017c67b
2015-04-22 21:28:43 +03:00
Kartikaya Gupta
cd5b55f8d6
Bug 1039866 - Rip out a bunch of metro-only code. r=jimm,gavin,rstrong
2015-04-23 15:10:30 -04:00
Jed Davis
19355a43d5
Bug 1137007 - Detect namespace and SECCOMP_FILTER_FLAG_TSYNC support in SandboxInfo. r=kang, r=Unfocused
...
Currently, only user namespace support is detected. This is targeted at
desktop, where (1) user namespace creation is effectively a prerequisite
for unsharing any other namespace, and (2) any kernel with user
namespace support almost certainly has all the others.
Bonus fix: remove extra copy of sandbox flag key names in about:support;
if JS property iteration order ever ceases to follow creation order, the
table rows could be permuted, but this doesn't really matter.
2015-03-06 13:59:00 -05:00
Jim Chen
db34c64f29
Bug 1116589 - Use templated JNI classes in generated bindings; r=snorp
2015-01-09 19:33:57 -05:00