Commit Graph

1849 Commits

Author SHA1 Message Date
Richard Newman
6a2c4aba3f Bug 1132273 - Report general.useragent.locale correctly regardless of whether it's a simple or localized string. r=mfinkle
--HG--
extra : commitid : L4ISIeLBArl
2015-08-13 14:46:13 -07:00
Jim Chen
ee3de3a3c3 Bug 1192082 - Iniialize/deinitialize JNI in nsAppShell; r=snorp
First we need to set the Gecko thread JNIEnv* in nsAndroidStartup, but
after that we can initialize and deinitialize the rest of JNI, including
AndroidBridge, in GeckoAppShell. This makes nsAppShell control the
AndroidBridge lifetime. Over time, parts of the AndroidBridge
functionality will be migrated to nsAppShell.
2015-08-13 00:53:40 -04:00
Jim Chen
3921c06e27 Bug 1192082 - De-clutter AndroidBridge init/deinit; r=snorp
Merge all the init code into AndroidBridge constructor and
AndroidBridge::ConstructBridge; merge all the deinit code into
AndroidBridge destructor and AndroidBridge::DeconstructBridge.

In particular, the SetMainThread call is obsolete and removed.
2015-08-13 00:53:39 -04:00
Mike Shal
115ca1ae64 Bug 1192068 - Use long hg revision for sourcestamp in mozharness; r=gps,jlund 2015-08-06 15:39:38 -04:00
Stephen Pohl
b5f00dc8bf Bug 1158870: Disable mar signing code path in updater for gonk until mar signing is available there. r=bbondy 2015-07-20 15:35:40 -04:00
Mike Hommey
e32873b594 Bug 1182395 - Don't error out when -p is not given an argument in RemoteCommandLine. r=bsmedberg
Leave it to the normal command line handling to handle the situation and display
the profile manager.
2015-07-17 06:23:50 +09:00
Jim Mathies
f7800ac7a8 Bug 1080687 - Reduce system shutdown order of child processes so the chrome process shuts down first. r=gabor 2015-07-16 06:24:34 -05:00
Benoit Girard
fe3dfcf5b2 Bug 1182516 - Add Chaos Mode environment variable MOZ_CHAOSMODE. r=roc
--HG--
extra : commitid : qfYBMvxZ7k
extra : rebase_source : 4c7098464712d7e5fa88ba1d8fba7c044772b0d6
2015-07-14 17:29:23 -04: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
Robert Strong
7f05087707 Bug 1171518 - cleanup maintenance service logging. r=bbondy 2015-07-14 12:08:45 -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
Nicholas Nethercote
e1824580b7 Bug 1181411 - Test some expected aborts in PLDHashTable. r=glandium. 2015-07-12 18:50:21 -07:00
Gijs Kruitbosch
e2dee08364 Bug 1176703 - attempt to fix define issues with some compilers/envs, rs=me, CLOSED TREE, bustage
--HG--
extra : commitid : IdDEaCbjz0w
extra : rebase_source : ff2125270cdc17baf906459125ae963d0a043489
2015-07-10 17:12:54 +01:00
Gijs Kruitbosch
c267d6b7cc Bug 1176703 - load default theme manifest in safe mode, r=bsmedberg
--HG--
extra : commitid : 5DhLHaGQNGM
extra : rebase_source : 2fdd2a3e4a485c559c5f9f9ff56ae91a46cea52a
extra : histedit_source : 8e003e9d63fc338b7e5846657a7b9f9cf5860fe0
2015-07-07 10:06:25 +01: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
Emanuel Hoogeveen
7d1e52f2ff Bug 905127 - Part 1 - Make some functions from nsNetUtil not inline. r=jduell 2015-07-07 04:17:00 +02:00
Juan Gomez
258ad59e3f Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-07-03 18:29:00 -07:00
Ted Mielczarek
cf604109d1 bug 1174704 - Implement GetUserDataDirectoryHome for iOS. r=froydnj
--HG--
extra : commitid : C5Viq9XRj6g
extra : rebase_source : fa85f54dafe93e6d413ca9f8564c4f2f6ba8bc16
2015-03-18 22:23:28 -04:00
Mike Hommey
f2057d31b4 Backout changeset f70b74488807 (bug 833117) for gtest bustage on Linux 2015-07-01 16:41:20 +09:00
Mike Hommey
6535b630b6 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
Andrew McCreight
10dd21a3ef Bug 886459, part 3 - Remove simple uses of nsIJSRuntimeService to get the JSRuntime. r=bholley 2015-06-26 18:44:14 -07:00
David Major
0ce20c191e Bug 1175039: Sync XUL_APP_FILE between the various CRT environments. r=ted 2015-06-26 11:00:52 -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
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
40e622a937 Backout b8601df335c1 (Bug 1174857) for bustage on a CLOSED TREE
--HG--
extra : rebase_source : 58bd3abea6a6d1439bb40fc98cae0ddd0f3dc505
2015-06-17 11:44:48 -04:00
Benoit Girard
495a19e156 Bug 1174857 - Propagate safemode to the child process. r=billm
--HG--
extra : rebase_source : 21e31bec462fa2966f5450ca2a69358219249186
2015-06-16 17:16:51 -04:00
Milan Sreckovic
a9bc8bd121 Bug 1171677 - Part 1. Safe mode exposed in crash reporter. r=tmielczarek
--HG--
extra : rebase_source : 7a1bc686a238ced963507c89cdb18951cea4a940
2015-06-05 16:07:45 -04:00
Brad Lassey
afc6a1e13f bug 1161166 - Use mach shared memory for shared memory on OSX r=billm
--HG--
rename : ipc/glue/SharedMemoryBasic_android.cpp => ipc/glue/SharedMemoryBasic_mach.cpp
rename : ipc/glue/SharedMemoryBasic_android.h => ipc/glue/SharedMemoryBasic_mach.h
2015-06-17 00:38:38 -04:00
Mike Conley
95c56c5e05 Bug 1172491 - Let e10s be enabled in safe mode. r=felipe
--HG--
extra : commitid : FhJhFS1UGt7
extra : rebase_source : b82acf1a38794ef0bd390f676c4d8ab7ca1af64b
extra : amend_source : b611c7900d9d2621a0646358cf9d0735574cb792
2015-06-10 13:21:21 -04:00
Eric Rahm
4d3dc04b59 Bug 1172138 - Call PR_LogInit before profiler_init. r=froydnj 2015-06-09 17:44:46 -07:00
Wes Kocher
96780c652a Backed out changeset 1be05715932f (bug 1161166) 2015-06-09 15:12:21 -07:00
Daniel Holbert
d51649d86a Bug 1171171: Move nsAppRunner's gfxPrefs #include out of windows-specific section. r=milan a=KWierso 2015-06-09 14:07:08 -07:00
Brad Lassey
d017cf5e0c Bug 1161166 - Use mach shared memory for shared memory on OSX. r=billm
--HG--
rename : ipc/glue/SharedMemoryBasic_android.cpp => ipc/glue/SharedMemoryBasic_mach.cpp
rename : ipc/glue/SharedMemoryBasic_android.h => ipc/glue/SharedMemoryBasic_mach.h
2015-06-09 09:56:50 -04:00
Milan Sreckovic
0f04052e65 Bug 1171171 - Make sure the graphics preferences are initialized early enough. r=billm 2015-06-04 14:44:30 -04:00
Robert Strong
344665f8f5 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
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
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
Ryan VanderMeulen
683b08ae37 Merge m-c to inbound. a=merge 2015-05-28 10:20:38 -04:00
Ryan VanderMeulen
566bd6c5ac Merge fx-team to m-c. a=merge 2015-05-28 10:08:37 -04:00
Jim Mathies
377b315e0a Bug 1156857 - Properly init telemetry histogram data for child processes. r=bsmedberg 2015-05-27 12:59:13 -05:00
Bob Owen
3ed5cce4c6 Bug 1167083: Fix memory leak in Windows low integrity temp clean up code. r=billm 2015-05-22 07:50:54 +01:00
Ryan VanderMeulen
8556f54b04 Merge m-c to fx-team. a=merge 2015-05-22 14:21:30 -04:00
Felipe Gomes
851909f27e 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
10b3a493b7 Backed out changeset 31662149dab4 (bug 1167083) for T(x) failures on a CLOSED TREE 2015-05-22 12:51:18 +01:00
Bob Owen
aa086ad2ae Bug 1167083: Fix memory leak in Windows low integrity temp clean up code. r=billm 2015-05-22 07:50:54 +01:00
Eric Rahm
3925a960aa Bug 1165515 - Part 1: Convert PR_LOG to MOZ_LOG. r=froydnj 2015-05-21 13:22:04 -07:00