Aaron Klotz
bb3855e88a
Bug 1310056: Part 1 - DllInterceptor improvements to support InSendMessageEx; r=m_kato
...
MozReview-Commit-ID: 2I1AHqKGfQi
2016-10-13 15:04:48 -06:00
David Anderson
b6b222c57c
Ensure the hang monitor is enabled in the GPU process. (bug 1311716
, r=billm)
2016-10-24 01:07:54 -07:00
Aaron Klotz
b785d4851f
Bug 1218473: Add check for presence of NVIDIA Optimus drivers to WindowsNopSpacePatcher; r=ehsan
...
MozReview-Commit-ID: 7WhWWbRHOw7
2016-10-13 17:10:52 -06:00
Aaron Klotz
25ab6720e1
Bug 1240848: Adds additional instructions to x64 detour patcher and prevents register clobbering in jmp from trampoline; r=ehsan
...
MozReview-Commit-ID: 7DCQZc9eoQI
2016-10-13 14:56:23 -06:00
Aaron Klotz
dc65cea470
Bug 1240977: DLL interceptor improvements for Windows 10 x64 ntdll APIs; r=ehsan
...
MozReview-Commit-ID: rM8XWK5y2n
2016-10-13 15:15:22 -06:00
Mike Hommey
9a71407b51
Bug 1332523 - Add BinaryPath::Get variant that returns a UniquePtr instead of filling a stack buffer. r=bsmedberg
...
--HG--
extra : rebase_source : 3fd502f67bd28e504f9a5d1a6ea1e790e9fec774
2017-01-13 09:40:54 +09:00
Sebastian Hengst
cdcc9e20da
Bug 1304829 - rename RELEASE_BUILD to RELEASE_OR_BETA: main part. r=ted,Mossop
...
MozReview-Commit-ID: 1lCt0xTMV5O
2016-10-08 11:14:49 +02:00
Matt Woodrow
67cd537af3
Bug 1300682 - Part 6: Use SharedThreadPool for GPU process decoders. r=dvander
2016-10-07 21:13:33 +13:00
Tom Tromey
7bc8491bea
Bug 1067547 - unify ScopedLogging implementations and use in nsEmbedFunctions; r=bsmedberg
...
MozReview-Commit-ID: 6hDZDaBsNFM
--HG--
extra : rebase_source : 9422c235ebdffd84e06137bb2c63ce106cb39f0b
2016-09-26 11:06:38 -06:00
Nathan Froyd
9131b203eb
Bug 1305422 - part 11 - don't call size_forward in nsXPCOMStrings.cpp; r=erahm
2016-09-29 22:33:57 -04:00
Byron Campen [:bwc]
0cf5031cd7
Bug 1157323 - Part 2: Factor nsTimerImpl into two classes, so we don't need to do racy stuff in nsTimerImpl::Release. r=froydnj
...
MozReview-Commit-ID: DAe4TpMqBpA
--HG--
extra : rebase_source : 4caeb1ffc41b0704e5c1c111ef869d8edfb6d30c
2016-07-20 15:16:40 -05:00
David Anderson
4c2e28b8b6
Add XRE_IsGPUProcess. (bug 1301266 part 1, r=billm)
2016-09-21 22:38:40 -07:00
Matt Woodrow
64a71f90da
Bug 1288618 - Part 7: Initialize AbstractThread in the GPU process. r=dvander
2016-09-21 21:24:43 +12:00
Carsten "Tomcat" Book
f918af64da
Backed out 16 changesets (bug 1288618) for bustage on a CLOSED TREE
...
Backed out changeset 06187d250f7a (bug 1288618)
Backed out changeset 2a47f8ea1d89 (bug 1288618)
Backed out changeset e179c8e8265d (bug 1288618)
Backed out changeset 25396a1af922 (bug 1288618)
Backed out changeset e98f835c6ee5 (bug 1288618)
Backed out changeset 24df0e89b273 (bug 1288618)
Backed out changeset f8bbdabdb6da (bug 1288618)
Backed out changeset 8b0adeab93df (bug 1288618)
Backed out changeset 95f23366de82 (bug 1288618)
Backed out changeset 63a9c689e1d5 (bug 1288618)
Backed out changeset 8f67443dccb8 (bug 1288618)
Backed out changeset 4e7fe69d5f45 (bug 1288618)
Backed out changeset 53b113acee42 (bug 1288618)
Backed out changeset 2583ae4e2e3b (bug 1288618)
Backed out changeset 75a61d0e71b7 (bug 1288618)
Backed out changeset da740b4fd484 (bug 1288618)
2016-09-21 08:44:11 +02:00
Matt Woodrow
97147af527
Bug 1288618 - Part 7: Initialize AbstractThread in the GPU process. r=dvander
...
--HG--
extra : rebase_source : fd702b96f36645a2b0d8a7a4e4afc74c063a68c4
2016-09-21 15:36:09 +12:00
Carsten "Tomcat" Book
6155a378e7
Backed out changeset 30e2b2eea845 (bug 1288618)
2016-09-15 16:34:09 +02:00
Matt Woodrow
0f949621e5
Bug 1288618 - Part 7: Initialize AbstractThread in the GPU process. r=dvander
2016-09-15 23:17:59 +12:00
Christian Holler (:decoder)
3c7149e85d
Bug 1289194 - Experimental LibFuzzer integration. r=glandium
...
MozReview-Commit-ID: 9njDcbltyow
--HG--
extra : rebase_source : 774d25f2ac4e4b1a876e48159333188bc722f940
2016-09-01 15:07:01 +02:00
Jan de Mooij
7f794780e0
Bug 1302448 part 2 - Rename XPCJSRuntime to XPCJSContext. r=mrbkap
...
--HG--
rename : js/xpconnect/src/XPCJSRuntime.cpp => js/xpconnect/src/XPCJSContext.cpp
extra : rebase_source : e6b435ab1ca2739e340669195dff77c561ea573e
2016-09-14 15:48:17 +02:00
Andrew McCreight
f9e6d19361
Bug 1299934 - Run shutdown collection in workers in opt builds. r=froydnj,smaug
...
We skip running shutdown collection on the main thread, because we're
exiting right after, but the process still continues when we shut down
a worker, so we should always do collections there.
MozReview-Commit-ID: IQZItm1qWXW
--HG--
extra : rebase_source : 4fd89e36db124a524c240e806a885dee3b68979e
2016-09-08 13:04:30 -07:00
Makoto Kato
893f6698da
Bug 1180684 - Part 1. Analyze MOV with GS. r=aklotz
...
Allow MOV with GS prefix on x64. Windows 10 uses this opcode on GetKeyState().
MozReview-Commit-ID: CqDSxmWdkiH
--HG--
extra : rebase_source : aa83b2b4c141730eb89f29cad61af79e66cb7a71
2016-09-07 16:15:58 +09:00
Sebastian Hengst
a66df0b0c2
Backed out changeset 95e68b473e91 (bug 1289194) for failure to process moz.build file. r=backout a=backout
...
MozReview-Commit-ID: GhfzNoiE808
2016-09-07 18:45:40 +02:00
Christian Holler (:decoder)
055c4fb1dd
Bug 1289194 - Experimental LibFuzzer integration. r=glandium
...
--HG--
extra : histedit_source : a632f3ff76e07562d1854bc68b50499e4b4667a0
2016-09-01 15:07:01 +02:00
Nicholas Nethercote
819433bae0
Bug 1299389 - Replace some raw pointers in nsThreadManager. r=froydnj.
...
nsThreadManager::get() can return a reference. This lets us remove some
redundant assertions.
nsThreadArray elements can be NotNull<>s.
--HG--
extra : rebase_source : fd49010167101bc15f7f6d01bf95fd63b81d60fb
2016-06-10 16:04:49 +10:00
Nicholas Nethercote
c2306345d5
Bug 1297658 - Avoid unnecessary checking in memory reporters. r=erahm.
...
This patch removes checking of all the callback calls in memory reporter
CollectReport() functions, because it's not useful.
The patch also does some associated clean-up.
- Replaces some uses of nsIMemoryReporterCallback with the preferred
nsIHandleReportCallback typedef.
- Replaces aCallback/aCb/aClosure with aHandleRepor/aData for CollectReports()
parameter names, for consistency.
- Adds MOZ_MUST_USE/[must_use] in a few places in nsIMemoryReporter.idl.
- Uses the MOZ_COLLECT_REPORT macro in all suitable places.
Overall the patch reduces code size by ~300 lines and reduces the size of
libxul by about 37 KiB on my Linux64 builds.
--HG--
extra : rebase_source : e94323614bd10463a0c5134a7276238a7ca1cf23
2016-08-24 15:23:45 +10:00
Matthew Gregan
94df8b79e6
Bug 1296988 - Update libnestegg. r=rillian
2016-08-25 13:49:22 +12:00
David Anderson
424b5eb180
Initialize nsAppShell in the GPU process. (bug 1294350 part 5, r=nfroyd)
2016-08-22 22:57:36 -07:00
David Anderson
9495e20273
Enable nsComponentManager in the GPU process. (bug 1294350 part 4, r=nfroyd)
2016-08-22 22:57:36 -07:00
David Anderson
3f96d36cdd
Initialize a subset of XPCOM in the GPU process. (bug 1294350 part 3, r=froydnj)
2016-08-22 22:57:36 -07:00
Jan de Mooij
0ad12515f4
Bug 1292892 part 1 - Stop using JSRuntime outside SpiderMonkey. r=bz,terrence,fitzgen,kanru
2016-08-11 14:39:22 +02:00
Nicholas Nethercote
bab6d17ebf
Bug 1293117 (part 4) - Change many NS_IMETHODIMP occurrences to NS_IMETHOD. r=froydnj.
...
This patch makes the following changes on many in-class methods.
- NS_IMETHODIMP F() override; --> NS_IMETHOD F() override;
- NS_IMETHODIMP F() override {...} --> NS_IMETHOD F() override {...}
- NS_IMETHODIMP F() final; --> NS_IMETHOD F() final;
- NS_IMETHODIMP F() final {...} --> NS_IMETHOD F() final {...}
Using NS_IMETHOD is the preferred way of marking in-class virtual methods.
Although these transformations add an explicit |virtual|, they are safe --
there's an implicit |virtual| anyway because |override| and |final| only work
with virtual methods.
--HG--
extra : rebase_source : 386ee4e4ea2ecd8d5001efabc3ac87b4d6c0659f
2016-08-08 10:54:47 +10:00
Jim Mathies
118ac04293
Bug 1286306 - Add an app info property exposing the state of the Windows dll blocklist, and test the value during browser test runs. r=bsmedberg
...
MozReview-Commit-ID: H7206wTh8YM
2016-07-27 15:20:58 -05:00
Yura Zenevich
7d6abb5975
Bug 527003 - separating XPCOM parts from nsAccessibilityService. Removing a11y service in favour of using nsAccessibilityService directly. Adding support for a11y service shutdown. r=surkov
...
MozReview-Commit-ID: KKeywNi3fQb
2016-08-08 20:51:39 -04:00
Alexandre Lissy
0af5b943b6
Bug 1284674 - Remove NUWA r=cyu
...
MozReview-Commit-ID: GyMRNzOBKw6
--HG--
extra : rebase_source : 293af1cd55f2035ce6a99f4ebf144059c32a2b8f
2016-08-02 14:54:00 +02:00
Carsten "Tomcat" Book
336105a0de
merge mozilla-inbound to mozilla-central a=merge
2016-07-22 11:58:02 +02:00
Tom Tromey
5538d692d3
Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
...
This removes the unnecessary setting of c-basic-offset from all
python-mode files.
This was automatically generated using
perl -pi -e 's/; *c-basic-offset: *[0-9]+//'
... on the affected files.
The bulk of these files are moz.build files but there a few others as
well.
MozReview-Commit-ID: 2pPf3DEiZqx
--HG--
extra : rebase_source : 0a7dcac80b924174a2c429b093791148ea6ac204
2016-07-14 10:16:42 -06:00
Xidorn Quan
76db18facb
Bug 1284406 part 3 - Export ICU headers in include/unicode. r=glandium
...
MozReview-Commit-ID: FuwAgEGjhxm
--HG--
extra : source : c07ceab42b47b18a1e8d436e7c888bdd113575fa
2016-07-20 15:00:13 +10:00
Andrew McCreight
4f63d0eaf2
Bug 1287623, part 2 - Use StaticRefPtr for nsDirectoryService::gService. r=froydnj
2016-07-21 09:54:16 -07:00
Wes Kocher
3bba9b339e
Backed out 5 changesets (bug 1287623) for static build bustage CLOSED TREE
...
Backed out changeset a48daec87ec9 (bug 1287623)
Backed out changeset 248153344e15 (bug 1287623)
Backed out changeset 8aa409c9b1ce (bug 1287623)
Backed out changeset 602d4d88e806 (bug 1287623)
Backed out changeset 114da8bdc0b0 (bug 1287623)
2016-07-20 15:40:33 -07:00
Andrew McCreight
07f2ce5ee2
Bug 1287623, part 2 - Use StaticRefPtr for nsDirectoryService::gService. r=froydnj
2016-07-20 15:19:00 -07:00
Sotaro Ikeda
f731d220ed
Bug 1252835 - Make TextureHost recycling implicit r=nical
2016-06-15 04:28:10 -07:00
David Anderson
52270601eb
Add GeckoProcessType_GPU. (bug 1271180 part 3, r=billm)
...
--HG--
extra : rebase_source : e983b161bf4d26dfc0de0e0da523a66ab25d7baa
2016-06-10 21:54:44 -04:00
Phil Ringnalda
5e0adb7d56
Back out 5 changesets (bug 1271180) for static analysis bustage
...
CLOSED TREE
Backed out changeset cfb53b780b18 (bug 1271180)
Backed out changeset 204b084385f8 (bug 1271180)
Backed out changeset 353da876be33 (bug 1271180)
Backed out changeset 4472dfbc1dc6 (bug 1271180)
Backed out changeset 81079e787b8a (bug 1271180)
--HG--
rename : ipc/glue/TaskFactory.h => dom/plugins/ipc/TaskFactory.h
2016-06-11 00:46:09 -07:00
David Anderson
39defbc2f7
Add GeckoProcessType_GPU. (bug 1271180 part 3, r=billm)
...
--HG--
extra : rebase_source : 30353c82c34e03996ff0551330ebe86e2010cbaf
2016-06-10 21:54:44 -04:00
Andrew Swan
1b1d9f5e45
Bug 1270356 Part 1: Add native messaging paths to XRE directory provider r=kmag
...
MozReview-Commit-ID: 2tjR3r9YySy
--HG--
extra : rebase_source : 1c8da185fd653e91f40cebc5e27ae560a787ef8e
extra : source : 77a30c81f8e830676a23da91b87ab78cda93a4d0
2016-05-12 11:39:27 -07:00
Kyle Huey
b42f297a3a
Bug 1273683: Purge any evidence that dougt could write code. r=dougt
2016-06-06 06:51:16 -07:00
Jed Davis
78e49e2efb
Bug 1114647 - Use firefox for child processes instead of plugin-container. r=ted
...
Disabled on Mac (content processes need to use plugin-container.app for
UI reasons) and on Linux unless --disable-sandboxing (build issues).
Based on work by George Wright <george@mozilla.com>.
--HG--
extra : amend_source : 43986e25743de21e3ddfb7893e3ed550fe6eef76
2016-06-03 12:49:39 -07:00
Bobby Holley
3eec1c3284
Bug 1275755 - Use an explicit init routine for the atom table. r=froydnj
2016-05-28 17:08:05 +01:00
Stephen Pohl
ffe0bf3496
Bug 1027651: Fix comment for XRE_UPDATE_ROOT_DIR. r=rstrong
2016-05-24 22:26:09 -04:00
Bob Owen
e809e9f918
Bug 1035125 Part 9: Link Chromium sandbox into firefox.exe instead of having a separate DLL. r=aklotz,glandium
...
MozReview-Commit-ID: 1vgDPjpcwz3
--HG--
extra : rebase_source : 40966d98ca6c37f30884639d648907b4760ae240
2016-05-15 16:41:40 +01:00
Bob Owen
c43bf02cda
Bug 1035125 Part 8: Pass sandboxing pointers through XRE_InitChildProcess instead of linking to more functions in xul. r=aklotz,glandium
...
MozReview-Commit-ID: 5AiktOArpfU
--HG--
extra : rebase_source : 1ba3be949e2bfeb3b67687ab05d43342852ab764
2016-05-15 16:35:22 +01:00
Chris Peterson
8a9e2d2bd4
Bug 1272513 - Part 2: Remove redundant -Wshadow CXXFLAGS from moz.build files. r=glandium
2016-05-14 00:54:55 -07:00
Nathan Froyd
9b00f3e468
Bug 1262399 - remove Impl suffixes from nsSupports* implementations; r=mccr8
...
Having the Impl suffix isn't really necessary, and if we start creating
instances of these classes directly, it's also rather ugly. Let's get
rid of them.
2016-05-03 15:25:41 -05:00
Jim Chen
93b208fc7e
Bug 1265621 - Expose outer zip readers in Omnijar::GetReader; r=froydnj
...
Previously, Omnijar::GetReader(nsIFile*) returned nullptr when using
nested jars. This patch makes it return the outer jar reader in that
case, so we don't end up opening the outer jar file again.
2016-04-28 16:07:02 -04:00
Jim Chen
a32009c9cc
Bug 1265621 - Use StaticRefPtr in Omnijar.cpp; r=froydnj
...
Use StaticRefPtr instead of raw pointers in Omnijar.cpp for convenience
and safety.
2016-04-28 16:07:02 -04:00
Nicholas Nethercote
dbc9af380e
Bug 1262731
- Add JS_InitWithFailureDiagnostic(). r=sfink.
...
This will help identify the cause of some Firefox start-up crashes when JS
initialization fails.
--HG--
extra : rebase_source : 3ed3c5e60f487e0ca11dc13bab93aa820ca8273f
2016-04-08 09:08:49 +10:00
Ted Mielczarek
58e2e722d0
bug 1239083 - use moz.build files to build ICU. r=glandium,waldo
...
Also fixes bug 926980 - load ICU data from an archive file.
Stop invoking ICU's autoconf build system. Instead, have hand-authored
moz.build files under config/external/icu to build what we need. In addition,
we'll commit a pre-built copy of the ICU data file (currently icudt56l.dat)
under config/external/icu/data to avoid having to build ICU host tools to
generate it. config/external/icu/data also contains some assembly files
which can generate an object file containing the ICU data file contents
so that the JS shell (or standalone JS builds) can be linked directly to
the data without having to deal with the external data file. This requires
yasm or GNU as.
Various bits of packaging have been updated to account for the ICU data file.
XPCOM initialization now sets the ICU data directory so ICU can locate its
data file.
The update-icu.sh script has been modified to read the list of C/C++ source
files out of the ICU Makefiles and update `sources.mozbuild` files under
config/external/icu, as well as build a local copy of ICU using its
autoconf build system to generate the ICU data file to be committed in-tree.
MozReview-Commit-ID: 8Pfkzqt6S1W
--HG--
extra : rebase_source : 31426cddddb5543e0191059ba2f2eb069abe7727
2016-04-05 10:09:12 -04:00
Kyle Huey
29596ecfff
Bug 1258908: Rename TYPE_MOZILLA_UI to TYPE_MOZILLA_PARENT. r=jld
2016-03-28 10:28:14 -07:00
David Anderson
f3dc22db8d
Rename PCompositor to PCompositorBridge. (bug 1258479 part 2, r=mattwoodrow)
...
--HG--
rename : gfx/layers/ipc/CompositorChild.cpp => gfx/layers/ipc/CompositorBridgeChild.cpp
rename : gfx/layers/ipc/CompositorChild.h => gfx/layers/ipc/CompositorBridgeChild.h
rename : gfx/layers/ipc/CompositorParent.cpp => gfx/layers/ipc/CompositorBridgeParent.cpp
rename : gfx/layers/ipc/CompositorParent.h => gfx/layers/ipc/CompositorBridgeParent.h
2016-03-22 14:08:38 -04:00
Wilmer Paulino
37e46b9248
Bug 1238545 - Remove nsISimpleUnicharStreamFactory; r=froydnj
2016-01-13 17:04:25 -05:00
Nathan Froyd
9da6e05953
Bug 1252191 - use UniquePtr instead of ScopedFreePtr in PoisonIOInterposerMac.cpp; r=aklotz
...
UniquePtr is more standard than ScopedFreePtr; using standard constructs
whenever possible is preferable. In this particular case, since we
really just need a chunk of memory, we can allocate a char[] via
MakeUnique.
2016-02-29 10:06:53 -05:00
Eric Rahm
4c23f5cd8d
Bug 1251482 - Remove remaining references to MOZILLA_XPCOMRT_API from xpcom. r=froydnj
2016-02-26 18:10:56 -08:00
Wes Kocher
72d9604d91
Backed out 8 changesets (bug 1251482, bug 1251494, bug 1251473, bug 1239870) for gtest failures
...
Backed out changeset f064a5efbb8c (bug 1251494)
Backed out changeset 9e33adec1aa6 (bug 1251482)
Backed out changeset ab0347657e25 (bug 1251473)
Backed out changeset 1d385d4f195d (bug 1239870)
Backed out changeset ceb3e1ee7dda (bug 1239870)
Backed out changeset 8574075bf42f (bug 1239870)
Backed out changeset ba077a3afbc7 (bug 1239870)
Backed out changeset eb99ab06414d (bug 1239870)
MozReview-Commit-ID: 7r9SEk4VGNU
2016-02-26 17:14:57 -08:00
Eric Rahm
ae72b68e62
Bug 1251482 - Remove remaining references to MOZILLA_XPCOMRT_API from xpcom. r=froydnj
2016-02-26 15:31:19 -08:00
Ryan VanderMeulen
d05085d0b5
Backed out changeset e135879cff29 (bug 1218473
) to fix various Windows startup issues being experienced by some users. a=sledru
...
--HG--
extra : source : fd105431c25d9c6b4a265c80bfc1208ff468ea03
extra : intermediate-source : 02156c26b928dfdb8076fd09c32ba7ca311ff360
2016-02-11 13:35:48 -05:00
Carsten "Tomcat" Book
b1fb989ae0
Backed out changeset 6e4e5e584c32 (bug 1240848) for causing bug 1241921 to reappear
2016-02-11 15:12:51 +01:00
Aaron Klotz
33ea2e8a9e
Bug 1240848: Adds additional instructions to x64 detour patcher and prevents register clobbering in jmp from trampoline; r=ehsan
...
--HG--
extra : rebase_source : c9604e99a0741213676227cfc7f915236c6e67ee
extra : amend_source : 7f2bbe6e661ab4dffc045d24489bf40d0409b093
2016-02-03 16:21:17 -07:00
Andrew McCreight
be08af06eb
Bug 1245513 - Use _exit(0) to exit in B2G debug content processes. r=froydnj
...
This skips destructors, so hopefully it avoids some odd behaviors.
2016-02-03 10:00:11 -08:00
Andrew McCreight
953e1016ee
Bug 1242119 - Remove early exit in WinXP debug content processes. r=froydnj
...
This was disabled because it was causing intermittent failures in a
test, but that failure seems to have stopped.
This will cause us to start doing leak checking in content processes
on Windows XP.
2016-02-03 07:28:27 -08:00
Phil Ringnalda
6aeccf0426
Merge f-t to m-c, a=merge
2016-01-23 18:11:37 -08:00
Ryan VanderMeulen
3b54dc9561
Backed out changeset 9f34b95fa1d0 (bug 1240977) and changeset a786af9186eb (bug 1240848) for suspicion of causing the topcrashes in bug 1241921. a=topcrash
2016-01-22 18:27:10 -05:00
Aaron Klotz
096c338869
Bug 1240977 - DLL interceptor improvements for Windows 10 x64 ntdll APIs; r=ehsan
2016-01-20 10:44:17 -07:00
Tom Tromey
5412728905
Bug 757969 - use __thread in ThreadLocal; r=froydnj
2016-01-22 10:33:44 -07:00
Bogdan Postelnicu
cc15f7a738
Bug 1240484 - fixed control flow patch issue by adding brackets. r=mccr8
...
--HG--
extra : rebase_source : 7335287c2a5654186bc4e75b5cdf32dcbfcc848c
2016-01-18 13:01:06 +02:00
Aaron Klotz
5c9b0e3676
Bug 1240848: Adds additional instructions to x64 detour patcher; r=ehsan
...
--HG--
extra : rebase_source : 7c050d496e5cf09343dece8a8bb12551eafc7928
extra : amend_source : 68d46effe9b2b7925eff419b14492f399c55b667
2016-01-19 15:14:24 -07:00
Vladan Djeric
0322615ac1
Bug 1228437 - Add BHR stats from e10s child process. B2G fix by Ting-Yu Chou. r=nchen
2015-12-26 19:34:11 -05:00
Randell Jesup
5cb8d2ec15
Bug 1237794: Extend ClearOnShutdown() to allow specifying the shutdown phase r=froyd
2016-01-15 13:12:07 -05:00
Wilmer Paulino
99af515866
Bug 1237668 - Remove nsSimpleUnicharStreamFactory r=froydnj
2016-01-11 19:31:29 -05:00
Nicholas Nethercote
ec89bbf7f2
Bug 1237151 (part 3) - Remove ignored qualifiers in all remaining code. r=froydnj.
2016-01-05 17:08:45 -08:00
Aaron Klotz
007abcfb31
Bug 1218473: Add check for presence of NVIDIA Optimus drivers to WindowsNopSpacePatcher; r=ehsan
...
--HG--
extra : rebase_source : 69a2905a9cb631b3f66418d46dcfc6fbd189baaa
2016-01-06 12:54:48 -07:00
Nicholas Nethercote
a9f31c44eb
Bug 1232219 (part 4) - Enable -Wunused for C code, except where it's too annoying. r=glandium.
...
--HG--
extra : rebase_source : febc9aac7ec5e3699742e728065c370dcee4f0f3
2015-12-16 22:59:42 -08:00
Makoto Kato
41219d5981
Bug 1208944 - Part 4. nsWindowsDllInterceptor supports IMM32 API hook. r=ehsan
2015-12-29 22:57:38 +09:00
Sebastian Hengst
e082884d78
Backed out 15 changesets (bug 1208944) for failing tests M(2,5) on OSX. r=backout
...
Backed out changeset c29de223de2f (bug 1208944)
Backed out changeset 3d99da255be1 (bug 1209844)
Backed out changeset 3c915942af38 (bug 1209844)
Backed out changeset 759b425b5503 (bug 1208944)
Backed out changeset bf73cf8f0fda (bug 1208944)
Backed out changeset 0e337d912b7d (bug 1208944)
Backed out changeset 31c47f2980b5 (bug 1208944)
Backed out changeset 3e0d70a6e809 (bug 1208944)
Backed out changeset 7685dcb63e5f (bug 1208944)
Backed out changeset 3c2b9372dd36 (bug 1208944)
Backed out changeset 18160d306493 (bug 1208944)
Backed out changeset 4974e397b655 (bug 1208944)
Backed out changeset fde7e439844d (bug 1208944)
Backed out changeset 4213a355fbdc (bug 1208944)
Backed out changeset 33cfddbbf5f2 (bug 1208944)
2015-12-29 17:42:02 +01:00
Makoto Kato
a4309e941a
Bug 1208944 - Part 4. nsWindowsDllInterceptor supports IMM32 API hook. r=ehsan
2015-12-29 22:57:38 +09:00
Sebastian Hengst
5a0c92b331
Backed out changeset 6daddfb64d72 (bug 1228437) for timing out in test_NuwaProcessCreation.html on B2G ICS emulator debug. r=backout
2015-12-27 23:33:02 +01:00
Vladan Djeric
8a014a7505
Bug 1228437 - Add BHR stats from e10s child process. r=nchen
2015-12-26 19:34:11 -05:00
Aaron Klotz
ce7e5fad6d
Bug 1233208: Disable IOInterposer on Beta and Release; r=froydnj
...
--HG--
extra : rebase_source : 9b82f5eaf56f5952d85488a39b872643e684190f
2015-12-16 14:36:44 -07:00
Phil Ringnalda
2ad5117d1a
Back out a25efba616ac (bug 1218473
) on suspicion of causing Windows 8 shutdown crashes "with exit code 3221225477"
2015-11-29 12:38:30 -08:00
Aaron Klotz
9162a0feda
Bug 1218473: Add check for presence of NVIDIA Optimus drivers to WindowsNopSpacePatcher; r=ehsan
...
--HG--
extra : rebase_source : f179d1f950faccf71415c9a694160bc65d014fbb
2015-11-27 13:01:23 -07:00
Gijs Kruitbosch
161662dac8
Bug 1191468 - always load app dir add-ons irrespective of enabledScopes, r=Mossop,froydnj
...
--HG--
extra : commitid : 4O0JNbchonb
extra : rebase_source : f218722dd70f74a45e4dbb461a7faaa3ef1d1d81
extra : amend_source : 538b86815da89ccf5b3e7e42412019064123ccfe
2015-11-17 13:55:31 +00:00
Cameron McCormack
fa1a36783a
Bug 1225004 - Record reason for NS_ERROR_FILE_CORRUPTED in nsLayoutStylesheetCache::LoadSheet in crash reports. r=roc
2015-11-16 19:18:45 +11:00
Wes Kocher
12532a74a8
Backed out changeset 4efb6cc4fd5d (bug 1225004) for build bustage CLOSED TREE
...
--HG--
extra : commitid : 4eYsywoFekg
2015-11-16 14:51:17 -08:00
Cameron McCormack
6087c6d62a
Bug 1225004 - Record reason for NS_ERROR_FILE_CORRUPTED in nsLayoutStylesheetCache::LoadSheet in crash reports. r=roc
2015-11-16 19:18:45 +11:00
Nigel Babu
ef1ce5e989
Backed out changeset 6d47b0590988 (bug 1225004) for ASAN build bustage on a CLOSED TREE
...
--HG--
extra : amend_source : e082a4a17e47eac5922bcec3059999fae6798cb1
2015-11-16 14:46:58 +05:30
Cameron McCormack
fa99a8cc59
Bug 1225004 - Record reason for NS_ERROR_FILE_CORRUPTED in nsLayoutStylesheetCache::LoadSheet in crash reports. r=roc
2015-11-16 19:18:45 +11:00
Mike Hommey
762aba02cd
Bug 1221453 - Use ObjDirPaths for GENERATED_INCLUDES and merge with LOCAL_INCLUDES. r=gps
2015-11-06 09:59:21 +09:00
Jeff Walden
790d87d4be
Bug 1208808 - Move time zone adjustment information out of JSRuntime, into global state protected by a spinlock. r=till
...
--HG--
extra : rebase_source : b412e298217a2857bf34b73b1128c97cc047e6af
2015-10-30 16:14:32 -07:00
Phil Ringnalda
b79efb4eaf
Back out changeset 6e21339a66ed (bug 1208808) for bustage in the mislabelled and deceptive arm64 simulator
...
CLOSED TREE
2015-10-31 01:44:22 -07:00
Jeff Walden
1b692c0c1a
Bug 1208808 - Move time zone adjustment information out of JSRuntime, into global state protected by a spinlock. r=till
...
--HG--
extra : rebase_source : 1c59ffd1509c52791ab737df338962cf2c68dbc0
2015-10-30 16:14:32 -07:00
Eric Rahm
5b38c55967
Bug 1174785 - Part 2: Convert xpcom over to LogModule. r=froydnj
...
--HG--
extra : rebase_source : 58d3b32bd0174f2540512cef810cafdd3556ef6b
2015-10-19 12:50:14 -07:00
Eric Rahm
e6f7a67577
Bug 1174785 - Part 1: Add LogModule, LogModuleManager, and LazyLogModule. r=froydnj
...
The logging interface is moved to xpcom/base, a LogModule wrapper for PR_Log is
added, a thread-safe LogModuleManager is added, and a LazyLogModule class used
to lazily load log modules in a thread-safe manner is added.
--HG--
rename : xpcom/glue/Logging.h => xpcom/base/Logging.h
extra : rebase_source : 89b76664d9477e2c894448cdea4dae1c61f8ca24
2015-10-19 12:22:11 -07:00
Nathan Froyd
01583602a9
Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
...
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout. The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.
CLOSED TREE makes big refactorings like this a piece of cake.
# The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
xargs perl -p -i -e '
s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
s/nsRefPtr ?</RefPtr</g; # handle declarations and variables
'
# Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h
# Handle nsRefPtr.h itself, a couple places that define constructors
# from nsRefPtr, and code generators specially. We do this here, rather
# than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
# things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
mfbt/nsRefPtr.h \
xpcom/glue/nsCOMPtr.h \
xpcom/base/OwningNonNull.h \
ipc/ipdl/ipdl/lower.py \
ipc/ipdl/ipdl/builtin.py \
dom/bindings/Codegen.py \
python/lldbutils/lldbutils/utils.py
# In our indiscriminate substitution above, we renamed
# nsRefPtrGetterAddRefs, the class behind getter_AddRefs. Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'
if [ -d .git ]; then
git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi
--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Nathan Froyd
583afa0965
Bug 1207245 - part 3 - switch all uses of mozilla::RefPtr<T> to nsRefPtr<T>; r=ehsan
...
This commit was generated using the following script, executed at the
top level of a typical source code checkout.
# Don't modify select files in mfbt/ because it's not worth trying to
# tease out the dependencies currently.
#
# Don't modify anything in media/gmp-clearkey/0.1/ because those files
# use their own RefPtr, defined in their own RefCounted.h.
find . -name '*.cpp' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
grep -v 'mfbt/RefPtr.h' | \
grep -v 'mfbt/nsRefPtr.h' | \
grep -v 'mfbt/RefCounted.h' | \
grep -v 'media/gmp-clearkey/0.1/' | \
xargs perl -p -i -e '
s/mozilla::RefPtr/nsRefPtr/g; # handle declarations in headers
s/\bRefPtr</nsRefPtr</g; # handle local variables in functions
s#mozilla/RefPtr.h#mozilla/nsRefPtr.h#; # handle #includes
s#mfbt/RefPtr.h#mfbt/nsRefPtr.h#; # handle strange #includes
'
# |using mozilla::RefPtr;| is OK; |using nsRefPtr;| is invalid syntax.
find . -name '*.cpp' -o -name '*.mm' | xargs sed -i -e '/using nsRefPtr/d'
# RefPtr.h used |byRef| for dealing with COM-style outparams.
# nsRefPtr.h uses |getter_AddRefs|.
# Fixup that mismatch.
find . -name '*.cpp' -o -name '*.h'| \
xargs perl -p -i -e 's/byRef/getter_AddRefs/g'
2015-10-18 00:40:10 -04:00
Andrew McCreight
c97953414d
Bug 931283, part 3 - Implement a cycle collected version of nsVariant. r=froydnj
...
Also, use this class for the component manager etc. in XPCOM.
2015-10-09 10:24:23 -07:00
Dave Townsend
fd7f1eb306
Bug 1207287: Move the app-shipped system add-ons somewhere where they will be included in up date MARs. r=froydnj r=rhelmer
...
This moves the app-shipped system add-ons into <appdir>/features. I've created
a new directory provider location for this since it allows us to override the
location without allowing external apps to do so as would be the case with
prefs.
--HG--
extra : commitid : 9lzIzbjvCpK
extra : rebase_source : 1f1f319eac2142ffbe6714289e6fb4e40cfd6088
2015-09-24 16:03:01 -07:00
Daniel Holbert
0318c5f137
Bug 1087488: Remove some SPROP macro usages in Omnijar.cpp, to avoid triggering -Wtautological-compare clang warning. r=glandium
2015-09-21 16:36:40 -07:00
Chris Peterson
0dbaae1ce2
Bug 1204403 - Fix -Wshadow warnings in xpcom. r=mccr8
2015-09-07 23:56:16 -07:00
David Major
1415ae55cb
Bug 1201205 part 2: Restore protection on the nop space separately from the function. r=m_kato
...
--HG--
extra : rebase_source : c3b5d44c04b41dc4133e9f3f50a0394c964ac673
2015-09-04 14:24:05 -04:00
David Major
2f23a1b1e6
Bug 1201205 part 1: Add an AutoVirtualProtect helper class to make the next patch easier. r=m_kato
...
--HG--
extra : rebase_source : c32b1cd483bdbfe09760fcb7c0a36cecf3b9940c
2015-09-04 14:23:33 -04:00
Nicholas Nethercote
f44287005f
Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium.
...
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.
--HG--
extra : rebase_source : 82e3387abfbd5f1471e953961d301d3d97ed2973
2015-08-27 20:44:53 -07:00
Chris Peterson
1416e566de
Bug 1198124 - Enable -Wshadow in directories that have no -Wshadow warnings. r=glandium
2015-08-25 09:14:38 -07:00
David Major
789b31656d
Bug 1192844: Accept 0xCC padding in WindowsDllDetourPatcher::CreateTrampoline. r=m_kato
...
--HG--
extra : rebase_source : 6711e475036ea3fe98bb054b79e10ad8d54692fb
2015-08-12 13:10:04 -04:00
Bobby Holley
a6c9a6255e
Bug 1190492 - Init AbstractThread statics from XPCOM. r=froydnj
2015-08-07 16:38:34 -07:00
Bobby Holley
e7a16a397c
Bug 1190496 - Init SharedThreadPool from XPCOM rather than MediaDecoder. r=froydnj
2015-08-04 14:00:52 -07:00
Jesse Ruderman
7ed9e0fe1b
Bug 1024259: Use NS_FREE_PERMANENT_DATA more consistently. r=mccr8
2015-07-31 12:11:48 -07:00
Julian Seward
41efe494ad
Bug 1183093 - Uninitialised value use in Probe::Trigger. r=dteller.
2015-07-24 11:45:50 +02:00
Jeff Muizelaar
7bc6837af6
Bug 1178426. Add GfxInfo to ServicesList.h. r=nfroyd
...
--HG--
extra : rebase_source : b18fb78fa6b7d86fbb9496861938bfde21b3c6e6
2015-07-08 16:51:09 -04: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
Mike Hommey
7fdec3adb1
Bug 833117 - Replace g_slice_set_config() with G_SLICE environment variable. r=nfroyd,r=karlt
...
Using g_slice_set_config() fails with newer glib because the slice allocator
now has a static constructor that runs when glib is loaded, consequently
emitting a noisy error message which confuses people into believing it's the
root of their problems.
The only way left to force the slice allocator to use "system" malloc (in
practice, jemalloc) is to set the G_SLICE environment variable to
always-malloc, and that needs to happen before glib is loaded.
Fortunately, the firefox and plugin-container executables don't depend on
glib. Unfortunately, webapprt does, so the problem remains for web apps
running through it. xpcshell and other executables that depend on libxul
directly (as opposed to loading it dynamically) are not covered either.
2015-07-10 09:56:05 +09:00
Gabriele Svelto
17358b10b8
Bug 858928 - Switch XRE_StartupTimelineRecord() from PRTime to TimeStamp. r=froydnj
...
--HG--
extra : rebase_source : b39bf19f68a124cefaf5ceac2adccb20e05bf279
2015-07-06 18:01:09 +02:00
Juan Gomez
258ad59e3f
Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj
2015-07-03 18:29:00 -07:00
Ryan VanderMeulen
5f5c327690
Backed out changeset 8b4e4083639e (bug 1171931) for B2G debug emulator bustage.
2015-06-25 19:48:42 -04:00
Juan Gomez
702a59d135
Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj
...
--HG--
extra : rebase_source : 2ecbe6c1dd8a7ad8dc529b53349ad431cf1116c9
2015-06-24 14:11:00 -04:00
Chris Peterson
cd8ae89cff
Bug 1175049 - Fix non-universal 32-bit build on OS X with Xcode 6.3 tools. r=josh
2015-06-14 00:20:27 -07:00
Benoit Girard
8d6a67f6d3
Bug 1172216 - Move nsStackwalk to mozglue. r=glandium
...
--HG--
rename : xpcom/base/nsStackWalk.cpp => mozglue/misc/StackWalk.cpp
rename : xpcom/base/nsStackWalk.h => mozglue/misc/StackWalk.h
extra : commitid : EMbWGfjKvdq
extra : rebase_source : b7308eb569cc1a019d3b7a92aaff0de7a49b5682
2015-06-10 16:32:45 -04:00
Benoit Girard
2c6df6a9a9
Bug 858927 - Move the mozilla::TimeStamp into mozglue. r=glandium
...
--HG--
rename : xpcom/ds/TimeStamp.cpp => mozglue/misc/TimeStamp.cpp
rename : xpcom/ds/TimeStamp.h => mozglue/misc/TimeStamp.h
rename : xpcom/ds/TimeStamp_darwin.cpp => mozglue/misc/TimeStamp_darwin.cpp
rename : xpcom/ds/TimeStamp_posix.cpp => mozglue/misc/TimeStamp_posix.cpp
rename : xpcom/ds/TimeStamp_windows.cpp => mozglue/misc/TimeStamp_windows.cpp
rename : xpcom/ds/TimeStamp_windows.h => mozglue/misc/TimeStamp_windows.h
extra : commitid : 2MSXRaRzXEd
extra : rebase_source : 45ded19677e8557deb3b9203777656f5a13f6c04
2015-06-05 16:03:11 -04:00
Tom Tromey
0b980d99e6
Bug 1159507 - make allocation times consistent with timeline; r=fitzgen,mccr8
2015-06-17 13:01:27 -07:00
Ted Mielczarek
407aefe079
bug 1170585 - Don't try to build IO Poisoning on iOS. r=froydnj
...
--HG--
extra : commitid : HsQHFJ8l0Sd
extra : rebase_source : 065c73006250b5db82987cb0d42bf04be7e0648c
2015-02-27 12:38:27 -05:00
Edwin Flores
dbca0c72ec
Bug 1172393 - Let XPCOM shutdown properly on Windows versions later than XP - r=mccr8
2015-06-10 14:39:05 +12:00
Eric Rahm
4d3dc04b59
Bug 1172138 - Call PR_LogInit before profiler_init. r=froydnj
2015-06-09 17:44:46 -07:00
Eric Rahm
75c4bebb79
Bug 1165515 - Part 13-2: Replace usage of PRLogModuleLevel and PR_LOG_*. rs=froydnj
...
This is straightforward mapping of PR_LOG levels to their LogLevel
counterparts:
PR_LOG_ERROR -> LogLevel::Error
PR_LOG_WARNING -> LogLevel::Warning
PR_LOG_WARN -> LogLevel::Warning
PR_LOG_INFO -> LogLevel::Info
PR_LOG_DEBUG -> LogLevel::Debug
PR_LOG_NOTICE -> LogLevel::Debug
PR_LOG_VERBOSE -> LogLevel::Verbose
Instances of PRLogModuleLevel were mapped to a fully qualified
mozilla::LogLevel, instances of PR_LOG levels in #defines were mapped to a
fully qualified mozilla::LogLevel::* level, and all other instances were
mapped to us a shorter format of LogLevel::*.
Bustage for usage of the non-fully qualified LogLevel were fixed by adding
|using mozilla::LogLevel;| where appropriate.
2015-06-03 15:25:57 -07:00
Honza Bambas
326b2476af
Bug 1170534 - Remove Visual Event Tracer. r=dougt
2015-06-02 11:44:00 -04:00
Carsten "Tomcat" Book
5471309381
Backed out 14 changesets (bug 1165515) for linux x64 e10s m2 test failures
...
Backed out changeset d68dcf2ef372 (bug 1165515)
Backed out changeset 7c3b45a47811 (bug 1165515)
Backed out changeset b668b617bef2 (bug 1165515)
Backed out changeset d0916e1283a2 (bug 1165515)
Backed out changeset ac4dc7489942 (bug 1165515)
Backed out changeset e9632ce8bc65 (bug 1165515)
Backed out changeset c16d215cc7e4 (bug 1165515)
Backed out changeset e4d474f3c51a (bug 1165515)
Backed out changeset d87680bf9f7c (bug 1165515)
Backed out changeset b3c0a45ba99e (bug 1165515)
Backed out changeset 9370fa197674 (bug 1165515)
Backed out changeset 50970d668ca1 (bug 1165515)
Backed out changeset ffa4eb6d24b9 (bug 1165515)
Backed out changeset 5fcf1203cc1d (bug 1165515)
--HG--
extra : rebase_source : 6fb850d063cbabe738f97f0380302153e3eae97a
2015-06-02 13:05:56 +02:00
Eric Rahm
a9afd68cef
Bug 1165515 - Part 13-2: Replace usage of PRLogModuleLevel and PR_LOG_*. rs=froydnj
...
This is straightforward mapping of PR_LOG levels to their LogLevel
counterparts:
PR_LOG_ERROR -> LogLevel::Error
PR_LOG_WARNING -> LogLevel::Warning
PR_LOG_WARN -> LogLevel::Warning
PR_LOG_INFO -> LogLevel::Info
PR_LOG_DEBUG -> LogLevel::Debug
PR_LOG_NOTICE -> LogLevel::Debug
PR_LOG_VERBOSE -> LogLevel::Verbose
Instances of PRLogModuleLevel were mapped to a fully qualified
mozilla::LogLevel, instances of PR_LOG levels in #defines were mapped to a
fully qualified mozilla::LogLevel::* level, and all other instances were
mapped to us a shorter format of LogLevel::*.
Bustage for usage of the non-fully qualified LogLevel were fixed by adding
|using mozilla::LogLevel;| where appropriate.
2015-06-01 22:17:33 -07:00
Wes Kocher
4e9f80ed2e
Backed out 14 changesets (bug 1165515) for b2g mochitest-6 permafail CLOSED TREE
...
Backed out changeset 9b97e2aa2ed9 (bug 1165515)
Backed out changeset 150606c022a2 (bug 1165515)
Backed out changeset 4e875a488349 (bug 1165515)
Backed out changeset 467e7feeb546 (bug 1165515)
Backed out changeset d6b6cc373197 (bug 1165515)
Backed out changeset 0615265b593c (bug 1165515)
Backed out changeset fafd1dce9f08 (bug 1165515)
Backed out changeset d1df869245f9 (bug 1165515)
Backed out changeset 6876a7c63611 (bug 1165515)
Backed out changeset b7841c94a9a3 (bug 1165515)
Backed out changeset e5e3617f7c73 (bug 1165515)
Backed out changeset 39be3db95978 (bug 1165515)
Backed out changeset 0ec74176f8de (bug 1165515)
Backed out changeset 5b928dd10d71 (bug 1165515)
2015-06-01 17:57:58 -07:00
Eric Rahm
f82c0e7caf
Bug 1165515 - Part 13-2: Replace usage of PRLogModuleLevel and PR_LOG_*. rs=froydnj
...
This is straightforward mapping of PR_LOG levels to their LogLevel
counterparts:
PR_LOG_ERROR -> LogLevel::Error
PR_LOG_WARNING -> LogLevel::Warning
PR_LOG_WARN -> LogLevel::Warning
PR_LOG_INFO -> LogLevel::Info
PR_LOG_DEBUG -> LogLevel::Debug
PR_LOG_NOTICE -> LogLevel::Debug
PR_LOG_VERBOSE -> LogLevel::Verbose
Instances of PRLogModuleLevel were mapped to a fully qualified
mozilla::LogLevel, instances of PR_LOG levels in #defines were mapped to a
fully qualified mozilla::LogLevel::* level, and all other instances were
mapped to us a shorter format of LogLevel::*.
Bustage for usage of the non-fully qualified LogLevel were fixed by adding
|using mozilla::LogLevel;| where appropriate.
2015-06-01 14:31:01 -07:00
Eric Rahm
3925a960aa
Bug 1165515 - Part 1: Convert PR_LOG to MOZ_LOG. r=froydnj
2015-05-21 13:22:04 -07:00
Eric Rahm
4879ae86f4
Bug 1165518 - Part 2: Replace prlog.h with Logging.h. rs=froydnj
2015-05-19 11:15:34 -07:00
Ganesh Sahukari
b5a3345900
Bug 1155643 - Removed nsIDebug.idl, moved methods of nsIDebug to nsIDebug2. r=paolo
2015-05-07 10:58:37 +05:30
Benjamin Smedberg
573f0e2266
Bug 1159737 Stop supporting binary XPCOM components except built into the application. r=froydnj sr=bz Some xpcshell tests of binary functionality need to register binary components. Expose a function "registerAppManifest" in the xpcshell environment to make this available to tests without exposing it to addons. r=bholley
...
--HG--
extra : rebase_source : 1bf47ad1cb8b662ff598c261dae872bc4710e170
2015-05-01 10:23:44 -04:00
Mike Hommey
924c9eb636
Bug 1134923 - Remove NS_Alloc/NS_Realloc/NS_Free. r=nfroyd
...
They are kept around for the sake of the standalone glue, which is used
for e.g. webapprt, which doesn't have direct access to jemalloc, and thus
still needs a wrapper to go through the xpcom function list and get to
jemalloc from there.
2015-05-01 09:40:30 +09:00
David Major
ebde6b9f4f
Bug 1157835: Remove the MSVC_ENABLE_PGO flag from the build system. r=glandium
...
--HG--
extra : rebase_source : 0c47c99bb8b92f8361a51fd81b20a2cc8647a986
2015-04-27 19:59:27 -04: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
Andrea Marchesini
ade2831035
Bug 1156632 - Remove unused forward class declarations - patch 6 - the rest of the tree, r=ehsan
2015-04-22 08:29:24 +02:00
Ehsan Akhgari
399276d5fc
Bug 1153348 - Add an analysis to prohibit operator bools which aren't marked as either explicit or MOZ_IMPLICIT; r=jrmuizel
...
This is the counterpart to the existing analysis to catch
constructors which aren't marked as either explicit or
MOZ_IMPLICIT.
2015-04-21 21:40:49 -04:00
Wes Kocher
638b28b8e0
Backed out changeset 02e6a50741a9 (bug 1153348) to hopefully fix the static bustage CLOSED TREE
2015-04-21 15:47:40 -07:00
Ehsan Akhgari
3d21a05904
Bug 1153348 - Add an analysis to prohibit operator bools which aren't marked as either explicit or MOZ_IMPLICIT; r=jrmuizel
...
This is the counterpart to the existing analysis to catch
constructors which aren't marked as either explicit or
MOZ_IMPLICIT.
2015-04-21 16:31:58 -04:00
Andrew McCreight
3bee6e09f9
Bug 1151541, part 3 - Fix leading tabs in xpcom/. r=froydnj
2015-04-09 10:25:05 -07:00
Andrew McCreight
1e0f87e27d
Bug 1151541, part 2 - Fix mode lines in xpcom/. r=froydnj
2015-04-09 10:25:05 -07:00
Randall Barker
c236b48231
Bug 1093934 - Create a XPCOM library that can be used to support standalone WebRTC. r=nfroyd
...
--HG--
extra : rebase_source : 93f11457b16b344e148a6fcb924b286ef8a48051
2015-04-03 15:52:00 +02:00
Aaron Klotz
6d8475512b
Bug 1150684: Remove XPCOM.h from IOInterposer.h; r=froydnj
...
--HG--
extra : rebase_source : a714c7ca5836d5e3a2c1b9da740795e653477cf1
2015-04-02 14:51:18 -06:00
Andrew McCreight
98776f80a0
Bug 1149807 - Remove some unused nsIProgrammingLanguage.h includes. r=froydnj
2015-04-02 14:54:46 -07:00
David Rajchenbach-Teller
b6feb17d3f
Bug 674779 - Per-component CPU monitoring, high-level. r=blassey, r=mossop
...
--HG--
rename : toolkit/components/aboutcompartments/jar.mn => toolkit/components/aboutperformance/jar.mn
rename : toolkit/components/aboutcompartments/nsCompartmentInfo.h => toolkit/components/aboutperformance/nsPerformanceStats.h
extra : rebase_source : a857d61a49542727fb4a496e785d175620103132
2015-03-31 12:40:59 +02:00
Ryan VanderMeulen
ab26b260cd
Merge m-c to inbound. a=merge
...
CLOSED TREE
2015-03-31 15:01:26 -04:00
Roberto A. Vitillo
2c9837a6a5
Bug 1148473 - Lower BHR threshold. r=vladan
2015-03-27 09:32:00 -04:00
Boris Zbarsky
ab624ae20e
Bug 1149280 part 1. Make nullprincipal creation faster. r=smaug
2015-03-31 13:11:00 -04:00
Alessio Placitelli
d19436f3f5
Bug 1134279 - Change Telemetry data producers to use the correct recording flags. r=vladan
2015-03-23 04:39:00 +01: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
Ehsan Akhgari
a98abb5918
Bug 1140771 - Build more XPCOM code in unified mode; r=froydnj
2015-03-09 11:09:35 -04:00
Makoto Kato
9b07a3a0af
Bug 1131436 - WindowsDllInterceptor is always failure with --disable-optimize and --enable-debug. r=dmajor
2015-02-12 15:07:57 +09:00
Nicholas Nethercote
242708cf72
Bug 1127201 (attempt 2, part 1) - Replace most NS_ABORT_IF_FALSE calls with MOZ_ASSERT. r=Waldo.
...
--HG--
extra : rebase_source : 488e401ff87e31a2074c4108c4df0572d9536667
2015-02-09 14:34:50 -08:00
Andrew McCreight
d3826daa16
Back out Bug 1127201 (part 2) for various problems.
2015-02-06 15:04:32 -08:00
Nicholas Nethercote
d34f0301b8
Bug 1127201 (part 2) - Convert all NS_ABORT_IF_FALSE calls to MOZ_ASSERT. r=Waldo.
...
--HG--
extra : rebase_source : 99182e70335d2b5ff95f8c528ae992d37294be3a
2015-02-04 20:05:36 -08:00
Daniel Holbert
7bf2f630e4
Bug 1126808: Mark xpcom/build as FAIL_ON_WARNINGS. r=froydnj
2015-01-29 00:38:15 -08:00
Daniel Holbert
72ede6c1ec
Bug 1126923: #undef HAVE_STDINT_H (provided by mozilla-config.h) before including vpx headers, since they redefine it. r=froydnj
2015-01-28 19:01:46 -08:00
Daniel Holbert
7707190851
Bug 1126790: Move MainThreadIOLoggerImpl into anonymous namespace (joining a type used in one of its fields), to fix gcc warning. r=froydnj
2015-01-28 09:40:28 -08:00
Makoto Kato
e9788e3d05
Bug 1121829 - Support redirection of kernel32.dll for hooking function. r=dmajor
2015-01-16 23:07:09 +09:00
Brad Lassey
36b059df69
bug 1096718 - - display time measured spent in each compartment r=billm,mossop
2015-01-13 17:38:05 -08:00
Ehsan Akhgari
f32bb086bc
Bug 1117035 - Mark virtual overridden functions as MOZ_OVERRIDE in XPCOM; r=froydnj
2015-01-05 11:25:41 -05:00
Makoto Kato
276b9dd00e
Bug 1112709 - CreateFileW isn't hooking properly on Windows 8/8.1. r=ehsan
2014-12-24 13:23:36 +09:00
Ehsan Akhgari
9297631e0b
Bug 1114880 follow-up: Rename MOZ_{STRONG,WEAK}_REF to MOZ_{OWNING,NON_OWNING}_REF
...
--HG--
extra : rebase_source : 51fff0785d112b5b87be3c6ff723c8986b37effe
2014-12-23 21:17:50 -05:00
Ehsan Akhgari
cd824d4b94
Bug 1114880 - Annotate some strong and weak references in XPCOM; r=froydnj
...
--HG--
extra : rebase_source : 3af3de656b98c8f41ed0330f205f9958a384c30c
2014-12-23 17:27:48 -05:00
Mason Chang
9fae9e4367
Bug 1108613. Create an XRE_IsParentProcess to detect if code is running in the parent process. r=roc
2014-12-09 11:21:47 -08:00
James Willcox
90ad2ed955
Bug 1085742 - Bail out of XPCOM init early if we're already initialized r=bsmedberg
...
--HG--
extra : rebase_source : 6029756f6c910d1d201f067379ad2c2838b73b8d
2014-11-26 15:19:57 -06:00
David Major
ff75043656
Bug 1103830: Support 0x40 prefix byte (plain REX). r=m_kato
...
--HG--
extra : rebase_source : affded50f428e9295b2eda4b311ebd0c2677a138
2014-11-26 15:41:21 +13:00
Mike Hommey
6820af77b4
Bug 1087245 part 3 - Avoid memory allocation when initializating Poison IO File Handle list so that LogAlloc doesn't deadlock at initialization. r=nfroyd
2014-11-18 19:21:26 +09:00
Mike Hommey
3cbc3cf69f
Bug 1087245 part 1 - Allow replace-malloc libraries to register debug file handles to poison IO interposer. r=nfroyd
2014-11-18 19:21:06 +09:00
Chris Pearce
f3af16c459
Bug 1088488 - Add GMPLoader interface to encapsulate loading GMPs, pass that to XRE_InitChildProcess. r=jesup,r=bsmedberg,r=glandium
2014-11-14 21:26:24 +13:00
Panos Astithas
a770ad057a
Bug 1024110 - Change Aurora's default profile behavior to use channel-specific profiles. r=bsmedberg f=gavin,markh
2014-09-23 21:49:03 +03:00
Andrew McCreight
68f162e5b0
Bug 1035454, part 2 - Paper over late shutdown failures on B2G and Windows in debug content processes by exiting XPCOM early. r=bsmedberg
...
On B2G, there are crashes very late in shutdown on content processes. On Windows XP,
there is an intermittent test failure. We work around both of these by calling exit(0)
during XPCOM shutdown prior to the points where these errors occur. This enables us to
land part 4, that stops us from crashing in content processes when the xpcom-shutdown
message is sent, and enables leak checking in content processes on Linux.
2014-10-15 20:04:32 -07:00
Stephen Pohl
0b58cd9573
Bug 1077282: Cleanup uses of GreD vs GreBinD, introcuded by v2 signature changes on OSX. Based on initial patch by rstrong. r=bsmedberg
2014-10-10 15:06:57 -04:00
Jean-Yves Avenard
a5266321f5
Bug 1079655: Do not sanitize the path used to load XPCOM if the path couldn't
...
be retrieved successfully on OSX. r=spohl
2014-10-09 12:19:45 +11:00
Jean-Yves Avenard
9c90999dc8
Bug 1079655: Ensure that the path used to load XPCOM can be sanitized on OSX 10.10. r=spohl
2014-10-09 12:34:04 +11:00
Stephen Pohl
982813d646
Bug 1078640: Sanitize path used to load XPCOM on OSX. r=smichaud
2014-10-07 09:33:09 -04:00
Nicholas Nethercote
2eb56008e2
Bug 1062709 (part 1, attempt 2) - Add a frame number argument to NS_WalkStackCallback. r=dbaron.
...
--HG--
extra : rebase_source : 4f7060a9ae0bed180899651c50e8ea8857e72d63
2014-09-10 21:47:01 -07:00
Ed Morley
2d0f9579b5
Backed out changeset a0b82c954206 (bug 1062709) for Windows mochitest 5 hangs
2014-10-03 15:06:16 +01:00
Nicholas Nethercote
c9c64de53c
Bug 1062709 (part 1) - Add a frame number argument to NS_WalkStackCallback. r=dbaron.
...
--HG--
extra : rebase_source : 0f9b2d6310433ed56f5552706fcf2a96571aee25
2014-09-10 21:47:01 -07:00
Carsten "Tomcat" Book
b37ac43e39
merge fx-team to mozilla-central a=merge
2014-09-30 15:10:47 +02:00
Stephen Pohl
7959bd3a2b
Mac v2 signing - Bug 1050944 - Get Firefox to launch and run on OSX with the new .app bundle structure, made necessary by Apple's v2 signatures. r=smichaud, r=ted, sr=bsmedberg
2014-09-29 11:51:04 -07:00
Cervantes Yu
f306f96f76
Bug 1051633: Make sure magic file descriptors in the content process will not be taken for other uses. r=khuey
...
--HG--
extra : rebase_source : 5e2dedb855dd5e0e6637d6f42c80c69df8081971
2014-09-30 00:00:00 +08:00
Birunthan Mohanathas
02533aaee7
Bug 1045289 - Change uses of "XPCom" to "XPCOM". r=froydnj
2014-09-26 07:20:23 +03:00
Birunthan Mohanathas
5c73bc7757
Bug 1045289 - Rename nsXPComInit.cpp to XPCOMInit.cpp. r=froydnj
...
--HG--
rename : xpcom/build/nsXPComInit.cpp => xpcom/build/XPCOMInit.cpp
2014-09-26 07:20:23 +03:00
Carsten "Tomcat" Book
293a55afc8
Backed out changeset 1e25cd3e8219 (bug 1051633) for B2G ICS Emulator Opt m4 test failures
2014-09-24 11:28:37 +02:00
Cervantes Yu
5d34df52be
Bug 1051633: Make sure magic file descriptors in the content process will not be taken for other uses. r=khuey
...
--HG--
extra : rebase_source : 2c9baf6ac87744d7049c90284990c0aa48e0f058
2014-08-15 17:19:05 +08:00
Josh Aas
ea42260ec4
Bug 1063318: Switch Chromium IPC code to Mozilla's ref/auto ptr types. Also fix thread safety bug. r=nfroyd
2014-09-19 13:17:17 -05:00
Wes Kocher
fc53ede9d6
Backed out changeset d77733726cae (bug 1063318) for b2g mochitest leaks
2014-09-18 16:30:33 -07:00
Josh Aas
d9721c0792
Bug 1063318: Switch Chromium IPC code to Mozilla's ref/auto ptr types. Also fix thread safety bug. r=nfroyd
2014-09-18 15:52:59 -05:00
David Rajchenbach-Teller
1ef48f4867
Bug 918317 - nsIAsyncShutdown companion tools. r=froydnj
2014-08-20 04:33:00 -04:00
David Rajchenbach-Teller
f78f5f62dc
Bug 918317 - Implementation of nsAsyncShutdown. r=froydnj, r=glandium
...
--HG--
rename : toolkit/modules/AsyncShutdown.jsm => toolkit/components/asyncshutdown/AsyncShutdown.jsm
rename : toolkit/modules/tests/xpcshell/test_AsyncShutdown.js => toolkit/components/asyncshutdown/tests/xpcshell/test_AsyncShutdown.js
2014-09-11 09:01:00 -04:00
Bob Owen
33eaabbf1f
Bug 1063455 - Define MOZ_STACKWALKING when NS_StackWalk is available and replace other instances of the same #if logic. r=mshal, r=froydnj
2014-09-08 18:25:20 +01:00