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

3986 Коммитов

Автор SHA1 Сообщение Дата
Ehsan Akhgari 3169d6c35c Bug 1340710 - Part 6: Store BasePrincipal::{mOriginNoSuffix,mOriginSuffix} as a pair of atoms; r=bholley
This has the nice side effect of making nsIPrincipal::GetOrigin() a bit faster
by avoiding computing the origin each time.
2017-03-06 22:27:53 -05:00
Ryan VanderMeulen 5463f0305e Bug 1343453 - Backport some upstream libevent fixes to our in-tree copy. r=billm
Fixes for upstream issues #317, #318, #332, #335, and #340.
2017-03-06 16:43:06 -05:00
Mike Conley f915a50e10 Bug 1343639 - Allow TaskFactory::NewRunnableMethod pass an arbitrary number of arguments to the runnable. r=billm
MozReview-Commit-ID: LXs6urqSxX9

--HG--
extra : rebase_source : 87be6ac18e6625a50f562401742a8184be513dd8
2017-03-06 15:36:06 -05:00
Honza Bambas 654b5c9af9 Bug 1320458 - Make logging by sandboxed child processes to a file work on Windows, r=aklotz
MozReview-Commit-ID: 7eiW3Lo6q8Z
2017-03-06 17:42:31 +01:00
Ryan VanderMeulen 8dbf7d75e2 Bug 1344187 - Add guards around code in ProxyStream.cpp that require the crash reporter. r=aklotz 2017-03-03 13:33:13 -05:00
Andrew McCreight e5898d34c7 Bug 1342580 - Don't generate actor "state" method. r=kanru
MozReview-Commit-ID: 8Am8TIQfH0h

--HG--
extra : rebase_source : bcd0458573c2aa48908f1407ad3e7e72870c94aa
2017-02-24 15:35:35 -08:00
Aaron Klotz f394903529 Bug 1303060: Fix problematic annotation on mscom::InParamWalker; r=staticbustage-fix
MozReview-Commit-ID: 2QtUJ4Bbk1m
2017-03-01 11:05:35 -07:00
Aaron Klotz 10b6488d0c Bug 1325834: Add crash reporter annotations to report COM marshaling failure codes; r=jimm
MozReview-Commit-ID: FcEBoU0DzzR

--HG--
extra : rebase_source : a6cb3f2735ff0470bcff96b3832bad794701783f
2017-02-27 11:55:42 -07:00
Aaron Klotz 833aa2af27 Bug 1303060: Additions to ipc/mscom for out-of-process components; r=jimm
MozReview-Commit-ID: IYjONGbBraG

--HG--
extra : rebase_source : a6eb90db7a9c21b91b9e763a15a9a661d41c5e77
2017-02-17 16:20:51 -07:00
Aaron Klotz f3fa5ee8d2 Bug 1303060: ipc/mscom changes for handler and payload support; r=jimm
MozReview-Commit-ID: 13NFW1pgxix

--HG--
extra : rebase_source : 18cc11d4c1dc62bc0ee428608f6cb57e32c4d0af
2017-02-17 17:30:03 -07:00
Aaron Klotz 1110b03572 Bug 1339945: Refactor mscom::MainThreadInvoker's wait mechanism into a separate class; r=handyman
MozReview-Commit-ID: BikO5ng6joM

--HG--
extra : rebase_source : f5b92fece72e627f7edf8e3e3a120e25f41a7686
2017-02-10 11:27:01 -07:00
Aaron Klotz 7d2dd562c2 Bug 1342992: Make mscom::Weakref final; r=jimm
MozReview-Commit-ID: 7SZpXP2adK7

--HG--
extra : rebase_source : 49e9108c9ade5d4392f9a4ec52fb8413512ccc88
2017-02-27 11:44:45 -07:00
Jan Beich 9bb83bbaeb Bug 1342843 - Enable CrossProcessSemaphore on all BSDs. r=mattwoodrow
MozReview-Commit-ID: AawHoWsctp2

--HG--
extra : rebase_source : 73eeb995d6529b2c76f8ad35e8602537fbc6021e
2017-02-27 05:23:52 +00:00
Michael Layzell 893ed78ef5 Bug 1336510 - Part 10: Remove unnecessary assertion from SharedRef::Clear(), r=aklotz
MozReview-Commit-ID: Fx7CmxgiJpo
2017-02-24 14:34:32 -05:00
Michael Layzell ac9295ead2 Bug 1336510 - Part 7: Stop capturing this by value in windows-only code, r=aklotz
MozReview-Commit-ID: B4dYo4ETzkL
2017-02-24 14:34:27 -05:00
Carsten "Tomcat" Book 9faa1e9741 Merge mozilla-central to mozilla-inbound 2017-02-24 11:53:01 +01:00
Noam Schmitt 9ae09abe58 Bug 1342032 - Remove useless a "using" declaration in TestShellParent.cpp r=bholley 2017-02-23 14:24:48 +01:00
Wes Kocher 7e8f316730 Backed out 8 changesets (bug 1336510) for windows debug mn-e10s failures a=backout
Backed out changeset 419ada2f9e81 (bug 1336510)
Backed out changeset 19239f566a93 (bug 1336510)
Backed out changeset c8aeead6fe83 (bug 1336510)
Backed out changeset 422e63b872b5 (bug 1336510)
Backed out changeset 21869174dfd3 (bug 1336510)
Backed out changeset 57476b9f342d (bug 1336510)
Backed out changeset e842cdaaa7e5 (bug 1336510)
Backed out changeset bd943b368ff7 (bug 1336510)

MozReview-Commit-ID: 2z3Wa9QFkX4
2017-02-23 16:07:41 -08:00
Michael Layzell dac86659ac Bug 1336510 - Part 7: Stop capturing this by value in windows-only code, r=aklotz
MozReview-Commit-ID: B4dYo4ETzkL
2017-02-23 12:24:12 -05:00
Carsten "Tomcat" Book e6b82618f4 merge mozilla-inbound to mozilla-central a=merge 2017-02-23 14:59:37 +01:00
Jeff Walden 938292cf1f Bug 1287006 - Final bustage followup. r=bustage in a still-CLOSED TREE 2017-02-22 20:46:46 -08:00
David Parks 8e150e4643 Bug 1284897 - Hook GetSaveFileNameW/GetOpenFileNameW to record and grant a sandboxed process permission to access user-chosen files. r=jimm
--HG--
extra : rebase_source : 024eae9f9657579debd38baba1526acfdca2385a
2017-02-08 11:38:40 -08:00
Andrea Marchesini e7a1e33581 Bug 1341250 - Moving nsExpandedPrincipal in separate files, r=qdot
--HG--
rename : caps/nsPrincipal.cpp => caps/nsExpandedPrincipal.cpp
rename : caps/nsPrincipal.h => caps/nsExpandedPrincipal.h
2017-02-22 10:01:43 +01:00
Sebastian Hengst 0ea43f8182 Backed out changeset f0886e3477a5 (bug 1341250) 2017-02-22 11:20:46 +01:00
Andrea Marchesini c83982c31f Bug 1341250 - Moving nsExpandedPrincipal in separate files, r=qdot
--HG--
rename : caps/nsPrincipal.cpp => caps/nsExpandedPrincipal.cpp
rename : caps/nsPrincipal.h => caps/nsExpandedPrincipal.h
2017-02-22 10:01:43 +01:00
Andrea Marchesini e87ad16573 Bug 1339710 - Remove nsIPartialFileInputStream, r=smaug 2017-02-22 09:41:51 +01:00
Andrea Marchesini 0500e8f2e7 Bug 1339710 - SlicedInputStream should be an nsIIPCSerializableInputStream, r=smaug 2017-02-22 09:41:05 +01:00
Iris Hsiao f9bdfe10bb Backed out 5 changesets (bug 1339710) for GTest failures in TestSlicedInputStream.StartBiggerThan
Backed out changeset 7c0ec55b44dc (bug 1339710)
Backed out changeset cbb4e1c2aada (bug 1339710)
Backed out changeset c685dca493f5 (bug 1339710)
Backed out changeset 4761a15d45fd (bug 1339710)
Backed out changeset 7561692c1bc7 (bug 1339710)
2017-02-22 16:19:50 +08:00
Andrea Marchesini 190bf147a2 Bug 1339710 - Remove nsIPartialFileInputStream, r=smaug 2017-02-22 07:56:29 +01:00
Andrea Marchesini a75afeb38f Bug 1339710 - SlicedInputStream should be an nsIIPCSerializableInputStream, r=smaug 2017-02-22 07:55:50 +01:00
Wes Kocher 5295bd9f91 Merge m-c to inbound, a=merge
MozReview-Commit-ID: AoD5GpFatBw
2017-02-21 17:41:05 -08:00
Kartikaya Gupta 8ec93b1895 Bug 1340067 - Follow-up to delist a formerly sync message that is now async. r=dvander?
MozReview-Commit-ID: CcKSgmSy2hA
2017-02-21 11:00:41 -05:00
Jed Davis f2fa27edca Bug 1286865 - Step 1: Gather syscall info from SIGSYS handlers into the parent process. r=gcp
MozReview-Commit-ID: 8GfFo4xso65

--HG--
extra : rebase_source : 1596a79d65d30dc72d8b84fc4f1639de377f554a
2017-01-30 18:49:53 -07:00
Ryan VanderMeulen 4c43de6e62 Bug 1341082 - Add ACCESSIBILITY guards to functions in Utils.cpp that depend on it being enabled. r=aklotz 2017-02-21 15:27:18 -05:00
Emanuel Hoogeveen 99735ed234 Bug 1338574 - Part 3: Use MOZ_CRASH_UNSAFE_PRINTF in IPC glue. r=mrbkap
--HG--
extra : rebase_source : fe5e7cb99ee8d0f4bc73e68fd3b3ab9df62f8d6f
2017-02-21 18:01:48 +01:00
Phil Ringnalda 68316b419c Backed out 2 changesets (bug 1303060) for Windows static-analysis bustage
CLOSED TREE

Backed out changeset 729a1b8c7e47 (bug 1303060)
Backed out changeset 604605ca738c (bug 1303060)
2017-02-22 21:55:15 -08:00
Aaron Klotz f3b557f70c Bug 1303060: Additions to ipc/mscom for out-of-process components; r=jimm
MozReview-Commit-ID: IYjONGbBraG

--HG--
extra : rebase_source : a6eb90db7a9c21b91b9e763a15a9a661d41c5e77
2017-02-17 16:20:51 -07:00
Aaron Klotz af5bd498da Bug 1303060: ipc/mscom changes for handler and payload support; r=jimm
MozReview-Commit-ID: 13NFW1pgxix

--HG--
extra : rebase_source : 18cc11d4c1dc62bc0ee428608f6cb57e32c4d0af
2017-02-17 17:30:03 -07:00
Wes Kocher 72ecfb5fd6 Merge m-c to autoland, a=merge
MozReview-Commit-ID: 7gVISUXnm2Q
2017-02-22 15:07:12 -08:00
Aaron Klotz 3d7955bc43 Bug 1338609: Add the ability to serialize and deserialize structs using Microsoft RPC to mscom; r=jimm
MozReview-Commit-ID: CSkNYCIQYQe

--HG--
extra : rebase_source : 8e357eb60adf2040d30f826b1805c35163456aa0
2017-02-17 14:26:56 -07:00
Aaron Klotz 74cac7296d Bug 1338596: Add support for agile references to mscom; r=jimm
MozReview-Commit-ID: 1NZoFZntO3g

--HG--
extra : rebase_source : 6d3ed1da4893747d38c1bd2c31671d8ecf535cfd
2017-02-10 11:18:26 -07:00
Eitan Isaacson 650a105b84 Bug 1337077 - Remove sync state transfer of SpeechSynthesis. r=smaug
MozReview-Commit-ID: LMjZOEjeg8Q

--HG--
extra : rebase_source : 62b456a917ccdf767a8242ad88652e84881d0d10
2017-02-23 10:18:21 -05:00
Carsten "Tomcat" Book 9857d2af8e merge mozilla-inbound to mozilla-central a=merge 2017-02-20 14:05:25 +01:00
Bevis Tseng 8d2b101ac7 Bug 1339014 - Add IProtocol::GetActorEventTarget() to Retrieve the EventTarget of the Actor if Set. r=billm
MozReview-Commit-ID: Czg5hxJBcYN

--HG--
extra : rebase_source : f4d1dbc63f6092c6e02f742ee490bb276da88f9b
2017-02-13 14:04:58 +08:00
Kan-Ru Chen 09858c1716 Bug 1336919 - Add a sync message whitelist and check it in IPDL compile phase. r=billm
MozReview-Commit-ID: ENFkBzpGo2j
2017-02-20 10:40:54 +08:00
Aaron Klotz d8a1f446d1 Bug 1339951: Refactor mscom weak reference support and establish lock hierarchy within; r=jimm
MozReview-Commit-ID: BJJpSj44alY

--HG--
extra : rebase_source : ed64776fc38dd59af48edd6b24959c012755b67a
2017-02-17 17:35:01 -07:00
Sebastian Hengst 892a8de889 Backed out changeset 06cd86f16c70 (bug 1339951) in hope for fix for a11y related crashes e.g. in Mn-e10s on Windows 8 x64 debug test_accessibility.py TestAccessibility.test_click_raises_element_not_accessible. r=backout 2017-02-18 01:18:45 +01:00
Aaron Klotz 440976dd4f Bug 1339947: Make mscom ArrayData lookup respect interface inheritance; r=jimm
MozReview-Commit-ID: 5zJTzT7JJhJ

--HG--
extra : rebase_source : 1cc459ae3b50a0424c336467e3e99db387eadd86
2017-02-10 14:16:29 -07:00
Aaron Klotz a6c766977b Bug 1339951: Refactor mscom weak reference support and establish lock hierarchy within; r=jimm
MozReview-Commit-ID: BJJpSj44alY

--HG--
extra : rebase_source : 2a18f861da83633a6cd443b80155946483e7cf49
2017-02-15 15:33:32 -07:00
Aaron Klotz d236f79291 Bug 1339942: Make mscom registration able to be compiled and run outside Mozilla processes; r=jimm
MozReview-Commit-ID: 3ETSE5Qn8nd

--HG--
extra : rebase_source : cfab62cd77e0bed75a8600d1f0441b9683966307
2017-02-15 14:37:20 -07:00
Tom Tromey d2667a2b27 Bug 1060419 - make AppendPrintf and nsPrintfCString use Printf.h, r=froydnj
MozReview-Commit-ID: 2E8FoiNxU8L

--HG--
extra : rebase_source : 810ac727bef0751f24edea18c52e0ec170bf367d
2016-12-14 09:32:21 -07:00
Tom Tromey 6774f8026a Bug 1060419 - make SharedMemoryBasic_mach.mm use Printf.h, r=froydnj
MozReview-Commit-ID: AhMoeW8Iv1D

--HG--
extra : rebase_source : 3d141680143c71ec3e8f104d5ca88cd85952962b
2016-12-09 14:04:47 -10:00
Tom Tromey d36cdd04ce Bug 1060419 - make ipc/chromium use Printf.h, r=froydnj
MozReview-Commit-ID: 10spM5oOe5c

--HG--
extra : rebase_source : 2663a309a83a69e846f5a984eb5757e87ade9e3e
2016-12-09 10:16:59 -10:00
Wes Kocher adaec16e2b Merge m-c to inbound, a=merge
MozReview-Commit-ID: HtopB4vot9e
2017-02-16 17:23:00 -08:00
Blake Kaplan 7f89fb24f2 Bug 1335989 - Avoid a second copy when sending substrings through IPC. r=billm
MozReview-Commit-ID: HF27bYPH7Uq

--HG--
extra : rebase_source : 3b919d462068d76862e38401be1db9add1aebd05
2017-02-15 16:26:04 -08:00
Christoph Diehl e7b945296c Bug 1339306 - Faulty: Use --enable-fuzzing instead of --enable-ipc-fuzzing. r=billm
--HG--
extra : rebase_source : ea691b454f4b89ab3bda903b7c4636caf6e1a245
2017-02-14 03:12:10 +01:00
Christoph Diehl de351bcbec Bug 1337697 - Define MOZ_IPC_MESSAGE_LOG in another spot for builds with --enable-fuzzing. r=billm
--HG--
extra : rebase_source : a72bdb71132dca122d27406d5eea77716a7c8c87
2017-02-14 12:38:22 +01:00
Aaron Klotz b9df44ad52 Bug 1338600: Add support for COM asynchronous interfaces to mscom; r=jimm
MozReview-Commit-ID: EcbeH9KSZrQ

--HG--
extra : rebase_source : 11919a376bfa7f58d5a18d005ab78c9f84b63688
2017-02-15 14:09:02 -07:00
Andrea Marchesini 3043646e52 Bug 1339871 - Splitting dom/file/File.{h,cpp}, r=smaug
--HG--
rename : dom/file/File.cpp => dom/file/BaseBlobImpl.cpp
rename : dom/file/File.h => dom/file/BaseBlobImpl.h
rename : dom/file/File.cpp => dom/file/Blob.cpp
rename : dom/file/File.h => dom/file/Blob.h
rename : dom/file/File.cpp => dom/file/BlobImpl.cpp
rename : dom/file/File.h => dom/file/BlobImpl.h
rename : dom/file/File.cpp => dom/file/EmptyBlobImpl.cpp
rename : dom/file/File.h => dom/file/EmptyBlobImpl.h
rename : dom/file/File.cpp => dom/file/FileBlobImpl.cpp
rename : dom/file/File.h => dom/file/FileBlobImpl.h
rename : dom/file/File.cpp => dom/file/MemoryBlobImpl.cpp
rename : dom/file/File.h => dom/file/MemoryBlobImpl.h
rename : dom/file/File.cpp => dom/file/StreamBlobImpl.cpp
rename : dom/file/File.h => dom/file/StreamBlobImpl.h
rename : dom/file/File.h => dom/file/StringBlobImpl.h
rename : dom/file/File.h => dom/file/TemporaryBlobImpl.h
2017-02-16 18:26:38 +01:00
Carsten "Tomcat" Book b218b4c6ae merge mozilla-inbound to mozilla-central a=merge 2017-02-16 13:15:55 +01:00
Wes Kocher 3797956aa6 Merge m-c to inbound a=merge
MozReview-Commit-ID: BemR756HJnR
2017-02-15 16:33:03 -08:00
David Anderson 3a24634204 Switch PPluginModule from PCrashReporter to shmem-based CrashReportHost/Client. (bug 1338281 part 5, r=billm) 2017-02-15 14:44:30 -08:00
David Anderson 0c95d36053 Allow finalizing external crash reports from CrashReportHost. (bug 1338281 part 4, r=billm) 2017-02-15 14:44:30 -08:00
David Anderson 451ab93d25 Allow initializing CrashReporterClient shmem through CrashReporterHost. (bug 1338281 part 3, r=billm) 2017-02-15 14:44:29 -08:00
David Anderson da43dac799 Store the child process thread id in CrashReporterHost. (bug 1338281 part 2, r=billm) 2017-02-15 14:44:29 -08:00
David Anderson a1f1be7f91 Store extra annotations directly on CrashReporterHost. (bug 1338281 part 1, r=billm) 2017-02-15 14:44:29 -08:00
Bill McCloskey ce7bbe01fe Bug 1339224 - Give names to built-in IPC messages (r=kanru)
MozReview-Commit-ID: DEC2gXK6o0M
2017-02-15 12:30:01 -08:00
Nicholas Nethercote 334f89c567 Bug 1339327 (part 5) - Rename some profiler functions related to sleeping. r=mstange.
The new names make it clearer that these actions apply to just one thread.

- profiler_sleep_start() --> profiler_thread_sleep()
- profiler_sleep_end()   --> profiler_thread_wake()
- profiler_is_sleeping() --> profiler_thread_is_sleeping()
- GeckoProfilerSleepRAII --> GeckoProfilerThreadSleepRAII
- GeckoProfilerWakeRAII  --> GeckoProfilerThreadWakeRAII
2017-02-15 14:26:23 +11:00
Wes Kocher cac6cb6a10 Merge inbound to central, a=merge
MozReview-Commit-ID: 1D2zbWPC8TT
2017-02-14 13:12:20 -08:00
Andrew McCreight 90506fcef4 Bug 1338594 - Add more basic IPDL tests. r=kanru
MozReview-Commit-ID: 2hS9GoTSyb8

--HG--
extra : rebase_source : f3dc85bfa524e7f8316446f9162b2481cba472c9
2017-02-09 08:49:33 -08:00
Matt Woodrow c4faebc457 Bug 1325227 - Part 8: Add CrossProcessSemaphore. r=billm 2017-02-14 21:10:35 +13:00
Matt Woodrow 08e918a18b Bug 1325227 - Part 2: Add equality operator to FileDescriptor as it is required by IPDL generated structs. r=billm
MozReview-Commit-ID: 9gD2FA1wGii
2017-02-04 23:18:53 +13:00
Andrew McCreight 0a919fc483 Bug 1338728 - Don't check for delete in CheckTypes. r=kanru
GatherDecls also checks for it.

MozReview-Commit-ID: AmCdcUE1EMu

--HG--
extra : rebase_source : 1d27f3e35369a90ac37ab4cbca3f393187a25107
2017-02-10 16:39:55 -08:00
Andrew McCreight e8691e4e82 Bug 1338915 - Print a more specific message for invalid compression. r=kanru
MozReview-Commit-ID: IeSOZNBDkSR

--HG--
extra : rebase_source : 968129bfcdf5d2316537da50514b16b942604648
2017-02-14 08:54:27 -08:00
Andrew McCreight a03c79af0a Bug 1339477 - Add more IPDL unit tests. r=kanru
--HG--
extra : rebase_source : 3e06de7f11cd51633e58639951254dbfe0cf0fe8
2017-02-14 08:34:04 -08:00
Andrew McCreight 854e3bed0e Bug 1328421 - Replace MessageId with ID in the IPDL parser. r=billm
MozReview-Commit-ID: YHfxmB1McY

--HG--
extra : rebase_source : e3d96ab8d56e47535268a71457ec4aa25ef98658
2017-02-14 09:53:25 -08:00
Andrew McCreight a090af81d1 Bug 1338592 - Use .nested, not .nestedRange on Protocol. r=billm
The parser always sets the first value of the tuple .nestedRange to
NOT_NESTED, so there's no need to actually store it. Instead, we
create a range when we're creating the ProtocolType. This makes it
clearer what is happening. The range is needed for the type because
the nesting pair is compared with those from messages, where the first
element can be something else.

Prior to bug 1306708, the lower range could be specified in the IPDL
file, but all uses were NOT_NESTED, so I suppose that is why it was
eliminated.

Note that the constructor for Protocol sets .nested to NOT_NESTED, but
prior to my patch, the field was never used. The constructor also
never initialized .nestedRange, but the parser always sets it so that
isn't much of an issue.

MozReview-Commit-ID: FMnoZRrkfoA

--HG--
extra : rebase_source : 3adb64b27d4a7a4e9c6c7695b145136813dbed5d
2017-02-10 09:12:42 -08:00
Bevis Tseng ee3c2357de Bug 1338455 - SetManager in prior to Register to Inherit EventTarget from Manager. r=billm
MozReview-Commit-ID: DkbhLm4g939
2017-02-10 15:42:45 +08:00
David Anderson 64b9b4aa19 Replace GMP use of PCrashReporter with shmem-based annotations. (bug 1337518, r=billm) 2017-02-12 11:39:44 -08:00
Brian Hackett 01a649c197 Bug 1337112 - Remove links from JSRuntime to its single context and zone group, r=jandem,jonco.
--HG--
extra : rebase_source : ebf319af724d5f829cdf5c2386dc82d49be89989
2017-02-10 16:47:50 -07:00
Wes Kocher 4062cb56a0 Merge inbound to central, a=merge
MozReview-Commit-ID: FNYBhhHr4dg

--HG--
rename : netwerk/base/security-prefs.js => security/manager/ssl/security-prefs.js
2017-02-10 15:23:33 -08:00
Andrew McCreight 490c8baf66 Bug 1336589 - Don't check struct decls from an included file in the context of the includee. r=billm
See MutRecHeader1.ipdlh for a more detailed explanation.

MozReview-Commit-ID: JHYd7qKSjrr

--HG--
extra : rebase_source : 2d405b3cb4384d6c815fe1634216682fd828f930
2017-02-08 11:07:24 -08:00
Andrew McCreight de95dbd061 Bug 1337536 - MessageType ctor assert should check cdtype. r=billm
type is some existing Python object, so this assertion can never fail.

Looking at GatherDecls::visitMessageDecl, I think this is supposed to
be checking cdecl.

MozReview-Commit-ID: 8Oppw5SYdWO

--HG--
extra : rebase_source : d2e5d6c4f22a490e14f668a1f6ed28738dc56ca8
2017-02-07 14:15:31 -08:00
Christoph Diehl b3e16e6212 Bug 1337697 - Define MOZ_IPC_MESSAGE_LOG in builds with --enable-fuzzing. r=billm
--HG--
extra : rebase_source : 77a6deca7a5b4438eeac7d950e4653691888270f
2017-02-08 01:08:00 -05:00
Andrew McCreight 9a8abaf744 Bug 1337914 - Add dummy argument to IPDLUnitTestProcessChild::Init. r=kanru
This fixes a build error.

MozReview-Commit-ID: DMc4lwtuipo

--HG--
extra : rebase_source : 2686efb3e8fccc090b8fbfa352838d13b7709610
2017-02-08 12:26:20 -08:00
Brad Lassey a5e07b93bf bug 1303096 - Stop sending sync messages soon after content process start-up r=billm 2017-02-05 00:52:38 -05:00
Gabriele Svelto b6dbac53af Bug 1328768 - Always keep the minidump analyzer runnable object alive until we remove the shutdown blocker; r=froydnj 2017-01-31 00:41:44 +01:00
Sebastian Hengst 122ebc553b Backed out changeset e9d8a75a0dcc (bug 1303096) for failing various tests on Android 4.3 debug (e.g. test_saveHeapSnapshot_e10s_01.html). r=backout 2017-02-05 10:26:28 +01:00
Brad Lassey ecdf363246 bug 1303096 - Stop sending sync messages soon after content process start-up r=billm 2017-02-05 00:52:38 -05:00
Wes Kocher b488ae9021 Merge inbound to central, a=merge CLOSED TREE
MozReview-Commit-ID: GhBqmLvUpgQ
2017-02-03 17:04:18 -08:00
Nathan Froyd 47aa24f1f4 Bug 1331205 - update ipc/'s copy of locks and condition variables from Chromium upstream; r=jld
This update is mostly because the upstream implementation is now free of
the gnarly, XP-required implementation of condition variables and
updating both the posix and windows implementations at the same time
seemed easier.
2017-02-03 14:28:58 -05:00
Andrew McCreight 621a063c39 Bug 1335886, part 4 - Remove the unused node arg to {enter,exit}Scope. r=billm
MozReview-Commit-ID: Fuj3RrnBBwV

--HG--
extra : rebase_source : 4dff4f1dc4a52f8d53637442995ebabd66cdf9b8
2017-02-01 13:07:59 -08:00
Andrew McCreight baf5f306e7 Bug 1335886, part 3 - Don't use symtab property to avoid infinite recursion. r=billm
Instead, just stick a "visited" property on them. The symtab property
on nodes isn't used for any other purpose.

The next patch will eliminate the unused args to enterScope and
exitScope.

MozReview-Commit-ID: 3WW2NPVB0gM

--HG--
extra : rebase_source : 2c2add652e1156a397a155c74015671877af3690
2017-02-01 12:50:02 -08:00
Andrew McCreight 4f5c5e3153 Bug 1335886, part 2 - Nodes never have existing symbol tables in enterScope. r=billm
This code gets deleted in the next patch, but the point here is that
we can still compile Firefox with this assertion in place.

MozReview-Commit-ID: 33dw0xm7L4R

--HG--
extra : rebase_source : 140fca3b0b5abf5b3d6636ea63bae2adf1311b09
2017-02-01 11:51:43 -08:00
Andrew McCreight 77ff8c47bf Bug 1335886, part 1 - Set symtab on GatherDecls instead of TcheckVisitor. r=billm
It is always initially set to None, and the other subclass of
TcheckVisitor (CheckTypes) never uses it.

MozReview-Commit-ID: CKxXoHXopqF

--HG--
extra : rebase_source : 2422e31fb99f894948da01a0bcd7d5a2bf92ceb7
2017-02-01 11:56:03 -08:00
Andrew McCreight 79c6450803 Bug 1336180 - Remove obsolete references to .type attribute in type.py. r=billm
MozReview-Commit-ID: KZiSLMOj4x4

--HG--
extra : rebase_source : 353340d2927bbefcb3365bc30636bead9b019a1f
2017-02-01 14:55:50 -08:00
Andrew McCreight 5f5807e1c3 Bug 1316755, part 2 - Remove bridges, opens and spawns from IPDL. r=billm
MozReview-Commit-ID: 2BDEXV0r8QB

--HG--
extra : rebase_source : 286b10988daab138b18f816149853b43069df65e
2017-01-26 16:43:27 -08:00
Andrew McCreight cd7431a68e Bug 1316755, part 1 - Remove IPDL unit tests that use bridges, opens, and spawns. r=billm
MozReview-Commit-ID: 3Te6nPOhYss

--HG--
extra : rebase_source : 3b8bf30e9f0c3c7c962a73fd8043af8152ebc93a
2017-01-26 16:30:18 -08:00
Andrew McCreight 555143e1cb Bug 1334228 - Add separate assertions for message channels that haven't been opened. r=kanru
MozReview-Commit-ID: KqNdMEPieCk

--HG--
extra : rebase_source : af4918008ac447bb577bf69f1a0b087ea4f27481
2017-01-26 11:48:54 -08:00
Chris Peterson 9341d66cbd Bug 1333686 - Part 3: Fix -Wmacro-redefined warnings in ipc/chromium. r=jld
The WARN_UNUSED_RESULT macro is defined in multiple Google header files in ipc/chromium and webrtc. Copy the WARN_UNUSED_RESULT definition from the latest security/sandbox/chromium/base/compiler_specific.h to our ipc/chromium code. Also remove the ALLOW_UNUSED macro definition because it is no longer defined in the latest compiler_specific.h and is not used anywhere.

Warning: -Wmacro-redefined in ipc/chromium/src/base/compiler_specific.h: 'WARN_UNUSED_RESULT' macro redefined
ipc/chromium/src/base/compiler_specific.h:73:9: warning: 'WARN_UNUSED_RESULT' macro redefined [-Wmacro-redefined]
#define WARN_UNUSED_RESULT __attribute__((warn_unused_result))

media/webrtc/trunk/webrtc/typedefs.h:152:9: note: previous definition is here
#define WARN_UNUSED_RESULT __attribute__ ((__warn_unused_result__))

MozReview-Commit-ID: EUIlXGKLhDL

--HG--
extra : rebase_source : f252b7b36824f6e4f11fdf6e543dd760ac90e81e
extra : histedit_source : 870eaf4875e954c16e3a951ffea73102ffff2436
2017-01-16 19:14:52 -08:00
Ehsan Akhgari b62bca9af3 Bug 1335526 - Ensure that sandboxed channel's result principal is unique; r=bzbarsky 2017-02-01 13:47:26 -05:00
Sebastian Hengst 53d59b106f Backed out changeset a273aee1be72 (bug 1335526) for bustage. r=backout 2017-02-01 17:41:29 +01:00
Ehsan Akhgari 9b36bf10cd Bug 1335526 - Ensure that sandboxed channel's result principal is unique; r=bzbarsky 2017-02-01 11:24:49 -05:00
Chris Pearce 7cc1e57f8d Bug 1333489 - Record time spent waiting on sync IPC. r=billm,francois
We're curious how long we spend waiting on sync IPCs to complete.
So this patch adds telemetry which reports that, on a per message
basis, so we can identify problem messages.

MozReview-Commit-ID: CB4UaitPBeq

--HG--
extra : rebase_source : 1a5042bcbce3930771e3861156ba9dcf77312ff9
2017-01-31 21:28:41 +13:00
Aaron Klotz 08f3a463ec Bug 1334665: Eliminate runtime dynamic linking for pre-win7 functions in ipc/mscom; r=jimm
MozReview-Commit-ID: 7ySl728hdka

--HG--
extra : rebase_source : fd5914c70fb89176a71ffbc636c0f39662cf9d38
2017-01-27 14:53:20 -07:00
Aaron Klotz 3ef6514406 Bug 1335235: Add disabling of the COM BSTR cache to mscom::MainThreadRuntime; r=jimm
MozReview-Commit-ID: 5RQvHiBoD2B

--HG--
extra : rebase_source : 52425f3e5838939d17c29729caf70534212c328a
2017-01-30 16:39:08 -07:00
Chris Pearce 701e1daf19 Bug 1332530 - Move GMPLoader code out of plugin-container and back into XUL. r=gerald
The GMPLoader code was in plugin-container so that it was covered by
Adobe's voucher of plugin-container, but that's no longer necessary.

MozReview-Commit-ID: 3VRBAohRI9I

--HG--
extra : rebase_source : 58a30855ade14af4c4b1420edabd3abb398f232e
2017-01-19 15:39:03 +13:00
Chris Pearce 6b15c34475 Bug 1332530 - Remove librlz and EME/GMP device binding code. r=gerald
MozReview-Commit-ID: FzJ220XlrJi

--HG--
extra : rebase_source : 0945a3b46bcc90de9b48f56da46090cb2f777411
2017-01-20 13:47:48 +13:00
Andrew McCreight 7ebc34bfc2 Bug 1335103 - Remove spurious usage of Actor in lower.py. r=billm
Actor is used in the process checking code, which will get deleted in
a separate bug. Instead, just convert the actor name + side to a
string manually.

MozReview-Commit-ID: 9zfD4MuscVw

--HG--
extra : rebase_source : 95037d1db717618ebb34ec44832e9d2498815ebd
2017-01-27 15:48:52 -08:00
Andrew McCreight 92628f1901 Bug 1334720 - Remove some unused IPDL code generator methods. r=jld
MozReview-Commit-ID: 4PRMjdjyFM8

--HG--
extra : rebase_source : 47592a3ee082a52b075c1d659754e07369e98d52
2017-01-26 17:05:10 -08:00
Phil Ringnalda b6c9ea587d Merge m-c to m-i 2017-01-28 13:12:17 -08:00
Andrea Marchesini 98f845f364 Bug 1320170 - dom/media should use nsIPrincipal (and PrincipalInfo) instead origin as string, r=rjesup, r=ehsan 2017-01-28 18:29:13 +01:00
Andrew McCreight 4499bcb90f Bug 1329797 - Convert PBackground to use endpoints instead of opens. r=billm
Instead of an opens, the child sends a new message InitBackground to
the parent to create the parent side.

Most of this is threading around the endpoints instead of the
transport stuff.

MozReview-Commit-ID: 2c5SrCEAGyY

--HG--
extra : rebase_source : 1ee3d6631c5a7755d8e43342932ab16d9da161cd
2017-01-24 11:49:13 -08:00
Masatoshi Kimura 96cc4073b0 Bug 1325299 - Don't explicitly set PSAPI_VERSION. r=glandium
WINVER=0x0601 implies PSAPI_VERSION=2. We should not mix PSAPI_VERSION.

MozReview-Commit-ID: Ckxel4JNW2x

--HG--
extra : rebase_source : 3dc221ca67642ea810cb353869f76b82c40c7bf3
2016-12-30 01:29:52 +09:00
Phil Ringnalda 4711cdb9fd Backed out 4 changesets (bug 1333686) for ASan/static warnings-as-errors
CLOSED TREE

Backed out changeset 154ee971feb7 (bug 1333686)
Backed out changeset 514fdfd43d63 (bug 1333686)
Backed out changeset 313a9604211f (bug 1333686)
Backed out changeset 5c610ccf76de (bug 1333686)
2017-01-25 19:53:20 -08:00
Chris Peterson 4652559dd8 Bug 1333686 - Part 3: Fix -Wmacro-redefined warnings in ipc/chromium. r=jld
The WARN_UNUSED_RESULT macro is defined in multiple Google header files in ipc/chromium and webrtc. Copy the WARN_UNUSED_RESULT definition from the latest security/sandbox/chromium/base/compiler_specific.h to our ipc/chromium code. Also remove the ALLOW_UNUSED macro definition because it is no longer defined in the latest compiler_specific.h and is not used anywhere.

Warning: -Wmacro-redefined in ipc/chromium/src/base/compiler_specific.h: 'WARN_UNUSED_RESULT' macro redefined
ipc/chromium/src/base/compiler_specific.h:73:9: warning: 'WARN_UNUSED_RESULT' macro redefined [-Wmacro-redefined]
#define WARN_UNUSED_RESULT __attribute__((warn_unused_result))

media/webrtc/trunk/webrtc/typedefs.h:152:9: note: previous definition is here
#define WARN_UNUSED_RESULT __attribute__ ((__warn_unused_result__))

MozReview-Commit-ID: EUIlXGKLhDL

--HG--
extra : rebase_source : 4c584dfa2243514aef0357ff919d1cba48bd8b86
2017-01-16 19:14:52 -08:00
Joel Maher 566fa285c7 Bug 1333460 - add BUG_COMPONENT to ipc/* files. r=billm
MozReview-Commit-ID: G9jzVGDlAaz
2017-01-25 06:17:10 -05:00
David Parks 990402c301 Bug 1317735 - Consolidate env vars for logging. r=jimm
Assigns the preference security.sandbox.logging.enabled and the environment variable MOZ_SANDBOX_LOGGING to control whether or not sandbox violations are logged.  The pref defaults to true.  On Linux, only the environment variable is considered.

--HG--
extra : rebase_source : f67870a74795228548b290aec32d08552c068874
2017-01-23 12:46:49 -08:00
Ryan VanderMeulen 32aac3cc5d Bug 1331297 - Update libevent to version 2.0.22-stable. r=jld
--HG--
extra : rebase_source : 73804cbcb2930f32ea2125bd382e0ec2169fd95a
2017-01-24 21:58:13 -05:00
Bill McCloskey 4fd9d369d6 Bug 1331804 - Change default IPC message name to make it clearer (r=kanru)
MozReview-Commit-ID: 69l9FuqgSTV
2017-01-24 16:34:37 -08:00
Bill McCloskey ef3d0f1c2e Bug 1331804 - Add more runnable names (r=ehsan)
MozReview-Commit-ID: 1QBmqfgY6WI
2017-01-24 16:34:37 -08:00
Andrew McCreight a619072cc3 Bug 1332445 - Get rid of SymbolTable::globalScope. r=kanru
MozReview-Commit-ID: Ar69yiCqJnT

--HG--
extra : rebase_source : 33a19aaf6f1586bd1c023cfe7637201ea6774301
2017-01-23 10:52:22 -08:00
Andrew McCreight d6a0e6b709 Bug 1332486, part 3 - Merge CxxType into ImportedCxxType. r=kanru
MozReview-Commit-ID: 2lrVvDZJYhD

--HG--
extra : rebase_source : 1049108315123e3ade71d828cca5fc2f5c023a40
2017-01-23 10:45:11 -08:00
Andrew McCreight 656a6d5bf6 Bug 1332486, part 2 - Remove some type predicates that are never used. r=kanru
MozReview-Commit-ID: 89S5cZqaguH

--HG--
extra : rebase_source : 599d40bfb53ecdadb57902bcde3ab7c3ef3bb970
2017-01-23 10:42:17 -08:00
Andrew McCreight 44f6bf8952 Bug 1332486, part 1 - Remove the unused BuiltinCxxType. r=kanru
MozReview-Commit-ID: JRrWI26xWCy

--HG--
extra : rebase_source : 7be6512436e66075d900477f30057182de34483d
2017-01-23 10:39:39 -08:00
Botond Ballo cc3459a0d4 Bug 1331495 - Move operator<< overloads for mozilla::Logger inside namespace mozilla. r=froydnj
MozReview-Commit-ID: LqAx0zXVkgc

--HG--
extra : rebase_source : df18a96013158d238d505c5791ce176948987e83
2017-01-20 18:21:38 -05:00
Aaron Klotz a2e223b2f8 Bug 1331687: Overload mscom::RegisterProxy to allow proxy registration from within xul.dll itself; r=jimm
MozReview-Commit-ID: EiIS5sOCntb

--HG--
extra : rebase_source : e0c5f6001bc4c85bdf1db10baa748e393df5a031
2017-01-17 13:19:40 -07:00
Kris Maglione 440d6fcd02 Bug 1305162: Part 1a - Separate nsIMIMEInputStream headers from stream data. r=dragana
MozReview-Commit-ID: F1qZCBWUNRG

--HG--
extra : rebase_source : 7a4fdab3e4843a042a3d1101c5e58a6bb556ef7a
extra : source : de131f7c1fc1f60db42509aea646ef4540e6c5fe
2017-01-20 15:43:07 -08:00
Mike Hommey f9c3dd278b Bug 1332523 - Make the Bootstrap API entry point the same for both dependent and standalone linkage. r=bsmedberg
--HG--
extra : rebase_source : 21d9371dfa0a7ed7ff056d8486f28c978df8932d
2017-01-13 07:29:56 +09:00
Wes Kocher eff114e84c Backed out 4 changesets (bug 1325299) for frequent Win7VM failures in browser_addonPerformanceAlerts.js a=backout
Backed out changeset cac5baad14a1 (bug 1325299)
Backed out changeset 933d06e4b567 (bug 1325299)
Backed out changeset c168221313d6 (bug 1325299)
Backed out changeset dcf71e5e5fc3 (bug 1325299)

MozReview-Commit-ID: DLAtTjf0iPB
2017-01-20 12:46:34 -08:00
Masatoshi Kimura 9929e7d3d2 Bug 1325299 - Don't explicitly set PSAPI_VERSION. r=glandium
WINVER=0x0601 implies PSAPI_VERSION=2. We should not mix PSAPI_VERSION.

MozReview-Commit-ID: Ckxel4JNW2x

--HG--
extra : rebase_source : 932c67a3cae063fe4b0c5fec9048e67ce6286ad3
2016-12-30 01:29:52 +09:00
Phil Ringnalda 6f55fab2bf Merge m-i to m-c, a=merge 2017-01-19 22:04:52 -08:00
John Paul Adrian Glaubitz 942df3d3a4 Bug 1329194 - ipc:chromium: Add platform defines for SH. r=froydnj 2017-01-20 09:12:13 +09:00
Mark Banner 16e6d381ac Bug 503613 - Remove old 'tail =' lines from xpcshell.ini files; r=gps
MozReview-Commit-ID: 62Hp5ISxowJ

--HG--
extra : rebase_source : daa8efb3409031fea553f4fd0c9d0746e38dc308
extra : histedit_source : b4c23aacf678ba0d0ac9c09191a7c494ead11a08
2017-01-18 10:30:39 +00:00
Wes Kocher 656a71a520 Merge m-c to autoland, a=merge
MozReview-Commit-ID: 2KR6yXYC2xj
2017-01-18 15:39:12 -08:00
Alessio Placitelli dfe6e0b632 Bug 1330247 - Add ParamTraits<nsAutoString> template specialization in IPCMessageUtils.h. r=froydnj, r=chutten
--HG--
extra : rebase_source : 85777fe2ae7c4eee24fd5e8647d2ae85ebb49932
2017-01-17 07:06:00 -05:00
Andrew McCreight 09bbd9cfe3 Bug 1331787 - Make IPDL aborts fatal in release builds. r=billm
MozReview-Commit-ID: JSgNXtnjNxv

--HG--
extra : rebase_source : fbe1cbf05b0a7f50c26b57a1800bddbdd6e49469
2017-01-17 15:42:30 -08:00
Mike Hommey 09dc362a61 Bug 1306327 - Use the new XRE Bootstrap API in Desktop Firefox. r=bsmedberg
This just wraps all the XRE method calls to go through the Bootstrap API
instead of relying on the XPCOM glue methods.

--HG--
extra : rebase_source : eccbe18b9b21ca1ab6c403515ffd60f0a9174d9c
2016-12-16 11:10:02 +09:00
Mike Hommey a31c3d964a Bug 1306327 - Avoid call to NS_DebugBreak from content_process_main(). r=billm
We want to avoid calls to XPCOM glue functions, in order to remove them
later on.

--HG--
extra : rebase_source : 505a6f8936339fcf23fba3bbd94cf4dfb22ac761
2017-01-10 17:50:04 +09:00
Mike Hommey 35a7101bda Bug 1306327 - Use UniquePtr for CreateGMPLoader. r=cpearce
--HG--
extra : rebase_source : 9f363a194d63c531f37946d76103cb0ad830c1a3
2016-12-15 16:14:34 +09:00
Cykesiopka 501d857ec4 Bug 1329234 - Remove ipc/keystore/. r=mrbkap
This folder only contains B2G specific code, which we can now remove from m-c.
Moreover, it is the last consumer of the Scoped.h NSS types provided by
ScopedNSSTypes.h, so removing the folder makes getting rid of Scoped.h easier.

MozReview-Commit-ID: CawbEv1d4vQ

--HG--
extra : rebase_source : b546e4682583aeffcb1b8609f017f58511473ecb
2017-01-12 00:56:25 +08:00
Chris Peterson 971f368adf Bug 1330496 - Part 3: Remove other ipc checks for Windows Vista or 7+. r=aklotz
MozReview-Commit-ID: 9z5LKw71Veg

--HG--
extra : rebase_source : 34e4edb7f5dd92cdca0ca638398705ded48bd3bc
extra : histedit_source : 06350bb2aa8baf386431e634d63819d87cd18fe1
2017-01-09 21:03:57 -08:00
Chris Peterson 4d95c4db20 Bug 1330496 - Part 1: Remove MOZ_WIN_INHERIT_STD_HANDLES_PRE_VISTA support for inheriting stdout/stderr handles on XP. r=bobowen
MozReview-Commit-ID: B7qJdK2sjv5

--HG--
extra : rebase_source : 4053054009359c0a775dae5ad5e24ba74b4c7c7b
extra : amend_source : 3231886a86fd03ac52f3717e22f33a7b4dc41f54
extra : histedit_source : 4533b894f9894bf5c883943bc53b260faa2ae8b1
2017-01-10 23:50:16 -08:00
Jan Beich ab093993b7 Bug 1329467 - Move remaining *RAII classes from GeckoProfiler under mozilla namespace. r=mstange
MozReview-Commit-ID: I8qqGDLJkgo

--HG--
extra : rebase_source : eeda752a75c050e5f88851d7401a462d86c24b80
2017-01-09 22:11:58 +00:00
Andrea Marchesini 359ae91eac Bug 1328653 - Merging all the various *OriginAttributes to just one, r=huseby 2017-01-12 17:38:48 +01:00
Ryan VanderMeulen b871240df7 Backed out 7 changesets (bug 1325227) to unblock the backout of bug 1323957.
Backed out changeset d6e962b025e6 (bug 1325227)
Backed out changeset 70136ced844e (bug 1325227)
Backed out changeset e21219e9638a (bug 1325227)
Backed out changeset a5d83d2b1632 (bug 1325227)
Backed out changeset f6c6ef5ac42c (bug 1325227)
Backed out changeset 1a604f87a342 (bug 1325227)
Backed out changeset d4827432cbc2 (bug 1325227)
2017-01-11 23:08:45 -05:00
Matt Woodrow 1538ccfee9 Bug 1325227 - Part 2: Add equality operator to FileDescriptor as it is required by IPDL generated structs. r=billm 2017-01-12 15:23:26 +13:00
Thinker K.F. Li 05cd0a68ef Bug 1325526 - Remove IPC message overhead for TaskTracer being disabled. r=cyu 2017-01-10 19:04:00 +08:00
John Paul Adrian Glaubitz 120b9c868b Bug 1275204 - ipc:chromium: Use better pre-processor defines for sparc64. r=froydnj
Currently, ipc/chromium detects sparc64 by checking whether
__sparc64__ is defined. However, this definition is used on BSD
targets only. Linux targets define both __sparc__ and __arch64__
on sparc64. Since this also works on BSD, rather use __sparc__
and __arch64__ instead of __sparc64__ to detect sparc64 targets.
2017-01-11 16:04:55 +09:00
Wes Kocher f2afbdd978 Backed out changeset 8da0d71a754c (bug 1325834) for mn-e10s bustage a=backout
MozReview-Commit-ID: 85BcTBhW6HY
2017-01-10 17:33:39 -08:00