Commit Graph

756 Commits

Author SHA1 Message Date
Birunthan Mohanathas
a29151dc87 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
ca49d7244e 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
Emanuel Hoogeveen
b30abdc582 Bug 905127 - Part 1 - Make some functions from nsNetUtil not inline. r=jduell 2015-07-07 04:17:00 +02:00
Juan Gomez
89035d527e Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-07-03 18:29:00 -07:00
Mike Hommey
391b2ba4e7 Backout changeset f70b74488807 (bug 833117) for gtest bustage on Linux 2015-07-01 16:41:20 +09:00
Mike Hommey
8bb7a57753 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-01 15:29:46 +09:00
David Major
b1c6addb48 Bug 1175039: Sync XUL_APP_FILE between the various CRT environments. r=ted 2015-06-26 11:00:52 -07:00
Ryan VanderMeulen
7aba9d7002 Backed out changeset 8b4e4083639e (bug 1171931) for B2G debug emulator bustage. 2015-06-25 19:48:42 -04:00
Juan Gomez
7323e89a40 Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-06-24 14:11:00 -04:00
Benoit Girard
c7c89c90ed Backout b8601df335c1 (Bug 1174857) for bustage on a CLOSED TREE 2015-06-17 11:44:48 -04:00
Benoit Girard
f63d70bd11 Bug 1174857 - Propagate safemode to the child process. r=billm 2015-06-16 17:16:51 -04:00
Milan Sreckovic
75a68f1292 Bug 1171677 - Part 1. Safe mode exposed in crash reporter. r=tmielczarek 2015-06-05 16:07:45 -04:00
Mike Conley
34dffe61f0 Bug 1172491 - Let e10s be enabled in safe mode. r=felipe 2015-06-10 13:21:21 -04:00
Eric Rahm
ee07644116 Bug 1172138 - Call PR_LogInit before profiler_init. r=froydnj 2015-06-09 17:44:46 -07:00
Daniel Holbert
afbe61e896 Bug 1171171: Move nsAppRunner's gfxPrefs #include out of windows-specific section. r=milan a=KWierso 2015-06-09 14:07:08 -07:00
Milan Sreckovic
1f8d77098b Bug 1171171 - Make sure the graphics preferences are initialized early enough. r=billm 2015-06-04 14:44:30 -04:00
Robert Strong
b02ffe1f69 Bug 1168720 - Remove use of test env var MOZ_NO_REPLACE_FALLBACK and associated tests that are covered by other tests. r=spohl 2015-06-04 09:20:00 -07:00
Bob Owen
0dbc0a5660 Bug 1167083: Fix memory leak in Windows low integrity temp clean up code. r=billm 2015-05-22 07:50:54 +01:00
Felipe Gomes
0a3a66fff3 Bug 1164640 - Reset the flag for disabling e10s when an a11y tool is active. r=mconley
There's now a blacklist in place for the tools that should be disabled, so we want to give another change for users with tools that are not blacklisted to test e10s.
2015-05-22 15:01:57 -03:00
Bob Owen
2a2df89262 Bug 1166316: Move temporary clean up code for old low integrity temps, so it actually gets called in non-debug builds. r=billm 2015-05-20 09:58:32 +01:00
Eric Rahm
ddc8ac650b Bug 1165518 - Part 2: Replace prlog.h with Logging.h. rs=froydnj 2015-05-19 11:15:34 -07:00
Bob Owen
6a573747b4 Bug 1162327 Part 1: Change low integrity temp to a fixed dir per profile and improve clean-up. r=jimm, r=froydnj 2015-05-18 11:51:07 +01:00
Martin Stransky
ba07e0f887 Bug 884831 - GTK3 - crash at browser end [@ XFreeColormap() ], r=karlt 2015-05-13 11:54:13 +09:00
David Major
42039e44d0 Bug 1160148: Also block AVX2 in Win7RTM, and move the code to mozglue. r=froydnj 2015-05-11 16:12:45 -04:00
David Major
a75f6e9056 Bug 1160148 followup - need the fix in libxul too 2015-05-08 23:04:49 -04:00
Ryan VanderMeulen
ce157f1d03 Merge m-c to inbound. a=merge
CLOSED TREE
2015-05-01 10:50:07 -04:00
Mike Hommey
4d93988786 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
Jim Mathies
af26bf3527 Bug 1159327 - Enable accessibility more broadly with e10s and add an e10s a11y blacklist for clients with known issues. r=tbsaunde 2015-04-30 16:43:19 -05:00
Ryan VanderMeulen
a06e7d451b Backed out changeset 31297813dd26 (bug 1159327) for bustage on a CLOSED TREE. 2015-04-30 16:08:29 -04:00
Jim Mathies
ed6e6c6a4e Bug 1159327 - Enable accessibility more broadly with e10s and add an e10s a11y blacklist for clients with known issues. r=tbsaunde 2015-04-30 14:42:43 -05:00
Felipe Gomes
1d8a6fa691 Bug 1156613 - Fix e10s ifdef NIGHTLY_BUILD blocks with E10S_TESTING_ONLY. r=billm 2015-04-30 18:52:08 -03:00
Kartikaya Gupta
ebe4a3e37e Bug 1039866 - Rip out a bunch of metro-only code. r=jimm,gavin,rstrong 2015-04-23 15:10:30 -04:00
Bryan Quigley
f2856508e8 Bug 1155943 - Drop checks for the presence of glib2.2 and gtk2.2 functions since they are already deps anyway. r=karlt 2015-04-20 07:11:00 -04:00
Chris Lord
762c66731f Bug 994541 - Enable BasicCompositor OMTC on linux. r=Bas 2015-03-12 14:01:23 +01:00
Robert Strong
0dad2cc28f Bug 1152997 - Cleanup app update build to exclude android. r=glandium, r=mossop 2015-04-14 17:00:02 -07:00
Jim Mathies
f79cad1127 Bug 1100501 - Avoid a late shutdown of chromium's StatisticsRecorder. r=georg 2015-04-11 07:02:07 -05:00
Carsten "Tomcat" Book
30042b68fb Backed out changeset 9a6acb756ed5 (bug 1100501) for OSX XPCshell Test failures 2015-04-10 12:33:56 +02:00
Jim Mathies
f4ab30aa9c Bug 1100501 - Avoid a late shutdown of chromium's StatisticsRecorder. r=georg 2015-04-09 15:41:53 -05:00
Bill McCloskey
01caed06d6 Bug 1150708 - Gather telemetry on e10s block reason (r=jimm) 2015-04-06 18:25:44 -07:00
Felipe Gomes
9ea45d45bc Bug 1147156 - Re-enable e10s by default for Nightly users who may have disabled it. r=poirot,mconley 2015-04-06 15:06:46 -03:00
Aaron Klotz
6bc0bb7246 Bug 1150684: Remove XPCOM.h from IOInterposer.h; r=froydnj 2015-04-02 14:51:18 -06:00
Vladimir Vukicevic
72d3432cc3 Bug 1149566; disable e10s if dom.vr.enabled is true; r=mconley 2015-04-01 16:02:20 -04:00
Makoto Kato
ff1be75ee2 Bug 1147722 - Part 2. Remove keyboardMayHaveIME method. r=wmccloskey 2015-03-30 11:58:32 +09:00
Makoto Kato
2bc33e2136 Bug 1147722 - Part 1. Turn off TSF when e10s auto start is enabled. r=masayuki,wmccloskey 2015-03-30 11:58:03 +09:00
Ehsan Akhgari
ea41d8de48 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
Michael Ratcliffe
f77be58aec Bug 1046234 - Add more DevTools Telemetry measures (display size etc.) r=pbrosset, r=gijs 2015-03-13 11:52:45 +00:00
Mike Hommey
2eb065df44 Bug 1141439 - Exit with an error code instead of falling through the REMOTE_NOT_FOUND code path when the X-remote returns an explicit command line handler error. r=bsmedberg 2015-03-13 07:44:30 +09:00
Mike Hommey
f4f70785ea Bug 486172 - Don't ignore a -p command line argument when using the Xremote protocol. r=bsmedberg
On X11, when running firefox -p foo http://mozilla.org, and a window for another
profile is already open, the -p argument is ignored and a new tab or window is
opened in the unrelated session.

Previously, the equivalent firefox -p foo -remote openurl(http://mozilla.org)
would see that there is no window for the profile foo, complain about it, and
abort. If a window for the profile foo was open, however, a new tab or windows
would open in that session.

Here, we modify the behaviour such that firefox -p foo http://mozilla.org never
ignores the -p argument, and does the sensible thing depending on the context:
- if a window is already open for the profile, use that session.
- otherwise, open a new window for that profile.

When no -p argument is given, the behaviour is unchanged.

As RemoteCommandLine, which first attempts to open a connection with an existing
firefox, falls through when there is no existing firefox, the -p argument must be
kept in the command line. It turns out CheckArg didn't handle the case properly,
so fix this as well.

The changes in RemoteCommandLine otherwise match what used to be in
HandleRemoteArgument before bug 1080319.
2015-03-10 10:01:54 +09:00
Felipe Gomes
807a4d7cad Bug 1115956 - Improve notice string for when e10s was disabled for accessibility. r=mconley 2015-03-06 15:47:35 -03:00
Martin Stransky
fd54d06886 Bug 635134 - Adds X11 run-time check for Gtk3 backend. r=karlt 2015-03-05 03:56:00 +01:00