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

1148 Коммитов

Автор SHA1 Сообщение Дата
Martin Stransky 77e09876f8 Bug 1503592 - Make X11 Gtk backend default on Wayland enabled builds, r=jhorak
Differential Revision: https://phabricator.services.mozilla.com/D10540

--HG--
extra : moz-landing-system : lando
2018-11-01 12:50:18 +00:00
Mike Hommey b4a498b215 Bug 1496327 - Remove MOZ_ENABLE_XREMOTE r=froydnj
Depends on D7691

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

--HG--
extra : moz-landing-system : lando
2018-10-04 13:55:55 +00:00
Andrew McCreight 837f0af066 Bug 1493737 - Fix many trivial calls to do_QueryInterface r=smaug
If class A is derived from class B, then an instance of class A can be
converted to B via a static cast, so a slower QI is not needed.

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

--HG--
extra : moz-landing-system : lando
2018-10-01 21:38:01 +00:00
Christian Holler 126cd814b0 Bug 1494021 - Disable task dispatching/running chaos mode in ASan Nightly. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D7267

--HG--
extra : moz-landing-system : lando
2018-10-01 11:12:41 +00:00
Masatoshi Kimura 209fbc21cd Bug 1493414 - Re-enable warnings as errors on clang-cl in toolkit/xre/. r=froydnj
_CrtSetReportXxxx stuff is dead decause we do not use debug CRT even in debug
builds for a long time. So I removed it to fix -Wunused-function.

--HG--
extra : source : ba00278fc1deee805e7ed13d0dc0658dee13465c
extra : intermediate-source : 5ffdd1f9f2562f9915f3c8805218fa33a908be20
2018-09-18 22:04:28 +09:00
Dave Townsend 9136559bb3 Bug 1493202: Don't store offline startup state in nsIToolkitProfileService. r=florian
Differential Revision: https://phabricator.services.mozilla.com/D6503

--HG--
extra : moz-landing-system : lando
2018-09-21 16:50:02 +00:00
Christian Holler 9cb2f6cd27 Bug 1486400 - Enable MOZ_CHAOSMODE by default for ASan Nightly Reporter builds. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D5408

--HG--
extra : histedit_source : 81b2dcfe7eff8e37ce24153ecd0df6c649303f07
2018-09-10 13:03:23 +02:00
Ehsan Akhgari 84f3a6fad7 Bug 1491741 follow-up: Address review comment
DONTBUILD
2018-09-17 23:46:47 -04:00
Ehsan Akhgari 1c41cda6e0 Bug 1491741 - Part 2: DeCOMtaminate nsAppStartupNotifier; r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D5995
2018-09-17 23:45:02 -04:00
Ehsan Akhgari 14b7695438 Bug 1491741 - Part 1: Remove the XPCOM registration for nsAppStartupNotifier; r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D5994
2018-09-17 23:45:02 -04:00
Ehsan Akhgari a219367760 Bug 1491576 - Remove the XPCOM registration for nsNativeAppSupportBase; r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D5951
2018-09-15 13:54:52 -04:00
Ehsan Akhgari 731d1adebd Bug 1491560 - Remove the XPCOM registration for nsCommandLine; r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D5944
2018-09-15 12:16:39 -04:00
L. David Baron 0ab1a41beb Bug 1490259 - Fix signed/unsigned comparison warning. r=aklotz
Differential Revision: https://phabricator.services.mozilla.com/D5569

--HG--
extra : moz-landing-system : lando
2018-09-11 19:01:51 +00:00
L. David Baron 2d5b9bbf5e Bug 1489297 patch 3 - Report MemoryErrorCorrection from WMI. r=aklotz
Differential Revision: https://phabricator.services.mozilla.com/D5201

--HG--
extra : moz-landing-system : lando
2018-09-10 21:56:53 +00:00
L. David Baron 4a8d8fce03 Bug 1489297 patch 2 - Refactor WMI query code so that it can be used for something else. r=aklotz
Differential Revision: https://phabricator.services.mozilla.com/D5200

--HG--
extra : moz-landing-system : lando
2018-09-10 21:53:57 +00:00
L. David Baron 28b04f143b Bug 1489297 patch 1 - Rename function that gets system manufacturer data from WMI in preparation for using it for memory error correction as well. r=aklotz
Differential Revision: https://phabricator.services.mozilla.com/D5199

--HG--
extra : moz-landing-system : lando
2018-09-10 21:51:22 +00:00
ui.manish a5ea6dfab9 Bug 1435552 Remove NO_EM_RESTART from test harnesses; r=gbrown 2018-08-31 15:33:32 +02:00
Aaron Klotz 7cdb379078 Bug 1486901: Part 2 - Set MOZ_LAUNCHER_PROCESS when the launcher process is enabled by default and restarting via LaunchChild; r=mhowell!
This patch causes Firefox processes created via LaunchChild to start via the
launcher process.

While this extra hop through the launcher process takes longer than if we were
to simply make LaunchChild use the same code as the launcher process itself,
I do not want to simply export LauncherProcessMain from firefox.exe, as that
would be too easy to hook into and mess with.

Another option would be to host a second copy of the launcher code inside
xul.dll, but that's less than ideal.

Anyway, until we get that figured out, I don't think it's too big a deal to
have this extra hop in place. I don't think anybody has been clamoring for
faster restarts from the updater or the profile manager.

Depends on D4496

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

--HG--
extra : moz-landing-system : lando
2018-08-28 22:30:39 +00:00
Landry Breuil aa545e34c8 Bug 1457092 - Implement sandboxing on OpenBSD. r=gcp, r=jld
Add StartOpenBSDSandbox method calling pledge() syscall,
and use it where we're sandboxing processes.

The pledge subsets are coming from two new prefs:
- security.sandbox.pledge.content for the content process
- security.sandbox.pledge.main for the main process

--HG--
extra : rebase_source : 60da70e2d335755fda6126a6b7de7aad41eebb7e
2018-08-23 07:35:00 -04:00
Dave Townsend 186e21eefd Bug 1455707: Remove CanShowProfileManager(). r=froydnj
MozReview-Commit-ID: IXDSW8suEBd

--HG--
extra : rebase_source : a517542072e5327f05d16de8f7f99b1b12b862db
extra : source : 9fdd083f0acccbf31eb37e5e4f4cefa44e57bd41
2018-05-15 10:43:55 -07:00
Daosheng Mu 8ac5934ce1 Bug 1430038 - Part 1: Add VR process to the process list; r=kip, jimm
Summary: MozReview-Commit-ID: AWyFur2gLCQ

Tags: #secure-revision

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

MozReview-Commit-ID: HHGDiXyaqnB

--HG--
extra : rebase_source : cbb94eb1aaca4ca385559c0e997b508a80121105
2018-06-22 16:30:14 -07:00
Henri Sivonen 3edc601325 Bug 1402247 - Use encoding_rs for XPCOM string encoding conversions. r=Nika,erahm,froydnj.
Correctness improvements:

 * UTF errors are handled safely per spec instead of dangerously truncating
   strings.

 * There are fewer converter implementations.

Performance improvements:

 * The old code did exact buffer length math, which meant doing UTF math twice
   on each input string (once for length calculation and another time for
   conversion). Exact length math is more complicated when handling errors
   properly, which the old code didn't do. The new code does UTF math on the
   string content only once (when converting) but risks allocating more than
   once. There are heuristics in place to lower the probability of
   reallocation in cases where the double math avoidance isn't enough of a
   saving to absorb an allocation and memcpy.

 * Previously, in UTF-16 <-> UTF-8 conversions, an ASCII prefix was optimized
   but a single non-ASCII code point pessimized the rest of the string. The
   new code tries to get back on the fast ASCII path.

 * UTF-16 to Latin1 conversion guarantees less about handling of out-of-range
   input to eliminate an operation from the inner loop on x86/x86_64.

 * When assigning to a pre-existing string, the new code tries to reuse the
   old buffer instead of first releasing the old buffer and then allocating a
   new one.

 * When reallocating from the new code, the memcpy covers only the data that
   is part of the logical length of the old string instead of memcpying the
   whole capacity. (For old callers old excess memcpy behavior is preserved
   due to bogus callers. See bug 1472113.)

 * UTF-8 strings in XPConnect that are in the Latin1 range are passed to
   SpiderMonkey as Latin1.

New features:

 * Conversion between UTF-8 and Latin1 is added in order to enable faster
   future interop between Rust code (or otherwise UTF-8-using code) and text
   node and SpiderMonkey code that uses Latin1.

MozReview-Commit-ID: JaJuExfILM9
2018-08-14 14:43:42 +03:00
Gabriele Svelto 15adf94f4d Bug 1348273 - Convert crash annotations into a machine-readable list of constants; r=ted.mielczarek,njn,dholbert,mak,cpearce,mcmanus,froydnj,Dexter,jrmuizel,jchen,jimm,bz,surkov
This introduces the machinery needed to generate crash annotations from a YAML
file. The relevant C++ functions are updated to take a typed enum. JavaScript
calls are unaffected but they will throw if the string argument does not
correspond to one of the known entries in the C++ enum. The existing whitelists
and blacklists of annotations are also generated from the YAML file and all
duplicate code related to them has been consolidated. Once written out to the
.extra file the annotations are converted in string form and are no different
than the existing ones.

All existing annotations have been included in the list (and some obsolete ones
have been removed) and all call sites have been updated including tests where
appropriate.

--HG--
extra : source : 4f6c43f2830701ec5552e08e3f1b06fe6d045860
2018-07-05 15:42:11 +02:00
Tiberius Oros 036999d0a9 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-07-25 13:43:03 +03:00
Robert Bartlensky 48c813758b Bug 1476314: Fix errors reported by infer in toolkit/*. r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D2266

--HG--
extra : moz-landing-system : lando
2018-07-23 23:38:46 +00:00
Aaron Klotz afe18923e0 Bug 1477402: Wrap WaitForInputIdle with checks for ERROR_NOT_GUI_PROCESS failures; r=agashlin
widget/windows/WinUtils.h is getting unwieldy and contains a combination of
both header-only and non-header-only code. I thought I'd take the opportunity
with this patch to create a new file for self-contained, header-only utility
functions, with the hope that we can eventually migrate some stuff out of
WinUtils into WinHeaderOnlyUtils in the future.

--HG--
extra : rebase_source : 6c874f78fc7113d1f7011fcd57ad9d024edb6761
2018-07-20 15:54:08 -06:00
Brian Hackett 2e7e38ee57 Bug 1465477 Part 2 - Add --save-recordings option to the firefox command line, r=jimm.
--HG--
extra : rebase_source : 0ee3673b7006f38d13d1e652cdc92d81d277fb45
2018-07-23 21:52:10 +00:00
Kris Maglione 07727ed247 Bug 1477129: Part 3 - Re-enable e10s on FreeBSD. r=froydnj
Backed out changeset 197fcba26a38

MozReview-Commit-ID: 4OOmP91hKXQ

--HG--
extra : rebase_source : 92d3e01734c6154261a8003fcc481c9d81f00c38
2018-07-19 18:18:27 -07:00
Brian Hackett 3354a96d8d Bug 1465287 Part 8 - Allow spawning recording/replaying child processes and saving recordings, r=jld,mrbkap.
--HG--
extra : rebase_source : 1da4b1a7e485cfdafb38318860546ce3d0552815
2018-07-22 11:52:42 +00:00
Jan Beich 7d61fe74ac Bug 1475970 - Disable e10s on FreeBSD by default due to kernel bug. r=froydnj
MozReview-Commit-ID: UqaO9sZWr

--HG--
extra : rebase_source : eab027f9fa60d7c6ad65f14c5793b2025cba9ef3
2018-07-19 18:43:40 +00:00
Gurzau Raul 78bf6cbd3a Backed out changeset 47b3297877fa (bug 1476314) for bustage at z:/build/build/src/config/rules.mk [nsAppRunner.obj] on a CLOSED TREE 2018-07-19 17:36:31 +03:00
Robert Bartlensky cc7457bf9e Bug 1476314: Fix errors reported by infer in toolkit/*. r=Ehsan
MozReview-Commit-ID: DUVbLo6f4G6

--HG--
extra : rebase_source : bc2ef3c84e0fe7966244585b137f2440e1e74d51
2018-07-17 17:27:49 +01:00
Christian Holler 2a3b6f8ca3 Bug 1471532 - Support Windows in ASan Nightly Reporter builds. r=froydnj
MozReview-Commit-ID: AK2dBOgoazY

--HG--
extra : rebase_source : 1065a2f3b10913ac574cf1187d717f21fc2994e6
extra : histedit_source : 3042e51e496e4e8593b367d89332a9199bf3999c
2018-06-27 11:19:00 +02:00
Coroiu Cristina 5416c68fa2 Backed out changeset 64f3290fac6e (bug 1471532) on reqest by decoder a=backout 2018-06-30 00:57:00 +03:00
Christian Holler bdf8e4d393 Bug 1471532 - Support Windows in ASan Nightly Reporter builds. r=froydnj
MozReview-Commit-ID: AK2dBOgoazY

--HG--
extra : rebase_source : 6ed99ce79180f2a6f2d54a0898cb02acbd6e9fb6
2018-06-27 11:19:00 +02:00
Felipe Gomes 29b9e465b8 Bug 1470956 - Remove the E10S_STATUS and E10S_BLOCKED_FROM_RUNNING telemetry probes. r=chutten 2018-06-27 00:28:16 -03:00
Honza Bambas eef37ac56e Bug 1413868. r=valentin 2018-06-07 13:56:16 -04:00
Adam Gashlin b8a8b3a714 Bug 1463560: Part 2: Re-add the -os-restarted arg when launching from profile manager. r=jimm
MozReview-Commit-ID: 85dQpYT5I9M

--HG--
extra : rebase_source : ba9519fde4a6b6762a328a211a23646c435e76f8
2018-05-27 12:22:42 -07:00
Emilio Cobos Álvarez fffb25b74f Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj
This was done automatically replacing:

  s/mozilla::Move/std::move/
  s/ Move(/ std::move(/
  s/(Move(/(std::move(/

Removing the 'using mozilla::Move;' lines.

And then with a few manual fixups, see the bug for the split series..

MozReview-Commit-ID: Jxze3adipUh
2018-06-01 10:45:27 +02:00
Marco Castelluccio 946adaddaa Bug 1465739 - Don't crash when there are late writes in all coverage builds. r=froydnj
--HG--
extra : rebase_source : 214929e40b4275b7deed6dc1f51280e3b316fba2
2018-05-30 16:47:36 +02:00
Panos Astithas f041fb6e3c Bug 1461851 - Properly add the source URL in the profiler metadata. r=glandium
MozReview-Commit-ID: 53M4bGolmJk

--HG--
extra : rebase_source : f0da66755c92d2937f5fad1f5784f9a81829c951
2018-05-15 16:44:44 -07:00
Gurzau Raul bcd412f2a9 Backed out changeset 602bdd9d5a96 (bug 1461851) for linting failures on /checkouts/gecko/build/appini_header.py on a CLOSED TREE 2018-05-30 19:03:50 +03:00
Panos Astithas 9be1c58dd1 Bug 1461851 - Properly add the source URL in the profiler metadata. r=glandium
MozReview-Commit-ID: 53M4bGolmJk

--HG--
extra : rebase_source : 17c2f3922d04b1ee7e168837f4440bb1b0abc218
2018-05-15 16:44:44 -07:00
Martin Stransky 969b3897fc Bug 1465371 - [Wayland] Use DBus XRemote for wayland builds exclusively, r=jhorak
MozReview-Commit-ID: 4NqDtJVVc6X

--HG--
extra : rebase_source : b07159d3c590a4051d64a971e86d8fafd7608f6a
2018-05-30 12:26:51 +02:00
Adam Gashlin cdb01305b3 Bug 603903 - Part 1: add RegisterApplicationRestart r=jimm
MozReview-Commit-ID: Eb389ih7CIn

--HG--
extra : rebase_source : b8657950fb08b899528d3ac3720a31769b3e14ba
2018-05-15 15:37:45 -07:00
Adam Gashlin 22530d5691 Bug 1451366: Part 1 - Wait after launch from update and restart, r=mhowell, jimm 2018-05-14 14:43:36 -07:00
Jed Davis bfc90a5627 Bug 1401776 - Raise fd limit to 4096 on Unix. r=glandium,mcmanus
This is to accommodate non-networking fd usage (IPC transports, various
databases, .xpi files, etc.), so it's separate from Necko's existing
manipulation of the fd limit, which is tied into Necko's internal limits
on how many sockets it will try to poll at once.

Note that resource limits are inherited by child processes, so this needs
to be done only in the parent.

This patch also removes similar code used on Solaris and Mac OS X.  The
Mac case (bug 1036682) refers to fd use by graphics textures, which
shouldn't be consuming fds anymore (even transiently) as of bug 1161166.

MozReview-Commit-ID: 2uodrkW5sUn

--HG--
extra : rebase_source : 5306f4995000459b89bed048ecafba3c262bbbdf
2018-05-10 17:36:32 -06:00
Aaron Klotz 54b1b3b99d Bug 1457999: Part 1 - Move command line argument utils and safe mode checks into a common header file; r=jimm 2018-04-19 17:22:41 -06:00
Aaron Klotz 580a1a60b9 Bug 1457999: Backed out changeset 3b3a2ae3a6d3 due to Linux bustage; r=backout CLOSED TREE
--HG--
extra : histedit_source : 4cf63e65bd53e89ca9165d19642a9328c3eeeaa6
2018-05-07 11:22:14 -06:00
Aaron Klotz 9fc5eb0316 Bug 1457999: Part 1 - Move command line argument utils and safe mode checks into a common header file; r=jimm 2018-04-19 17:22:41 -06:00