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

2902 Коммитов

Автор SHA1 Сообщение Дата
Aaron Klotz 6c3bc53e68 Bug 1209464: Fix missing neutered window region in MessageChannel::WaitForInterruptNotify. Regression from bug 1189709; r=jimm
--HG--
extra : rebase_source : 56caab29e3f48b6332f8cd1b47e1e830f75d9c74
extra : source : bed340eab428d1c0d86057771fb19b7090e0af51
2015-10-04 22:17:20 -06:00
Bill McCloskey 0f09a1e1ef Bug 1210821 - Fix possible IPC cancellation bug (r=dvander) 2015-10-05 13:15:15 -07:00
Nicholas Nethercote 399b5d9785 Bug 1205942 (part 5) - Disallow compiler warnings in ipc/chromium. r=jld.
--HG--
extra : rebase_source : 2cb59c74558ee2d05decef0b17c39a15338da782
2015-10-01 17:51:49 -07:00
Nicholas Nethercote e21cd5505a Bug 1205942 (part 4) - Remove GetWinVersion(). r=jld.
Like the last patch, the motivation is to remove a GetVersionEx() call which
triggers deprecation warnings.

Because Windows XP SP2 is the earliest Windows version we support, two of the
existing uses of GetWinVersion() could be removed, because they were checking
for XP or earlier. One other Vista check could be replaced with
mozilla::IsVistaOrLater().

--HG--
extra : rebase_source : 48f032fe92c3897a91866c7ff786a635479c0389
2015-10-01 07:11:30 -07:00
Nicholas Nethercote bf211c7df2 Bug 1205942 (part 3) - Remove unused OS version detection functions from ipc/chromium/. r=jld.
The motivation here is to remove the GetVersionEx() calls in the
Windows-specific code, because that function is deprecated and causes warnings.
The non-Windows versions come along for the ride.

--HG--
extra : rebase_source : ea50b4ce8271ea7281b901eac0542ab4a154adc6
2015-10-01 07:10:13 -07:00
Yoshi Huang f97211a451 Bug 1167100 - User originAttribute in ContentPrincipalInfo. r=bholley 2015-09-23 18:19:06 +08:00
Wes Kocher 6feb6f6051 Merge m-c to inbound, a=merge 2015-09-29 16:13:55 -07:00
Bill McCloskey 6efa744de9 Bug 1191145 - Stop blocking scripts in CPOW IPCs (r=dvander) 2015-09-29 16:11:49 -07:00
Bill McCloskey e633fa0e76 Bug 1191143 - Cancel CPOWs from both sides (r=dvander) 2015-09-29 16:11:49 -07:00
Wes Kocher df21b43278 Backed out changeset d0e88c95f3c5 (bug 1167100) for crashes a=backout 2015-09-29 10:25:20 -07:00
George Wright c229949556 Bug 1207921 - Call makeReply before dtorEpilogue so that we don't end up with a nullptr deref r=billm 2015-09-28 09:17:05 -04:00
Carsten "Tomcat" Book 363e40e298 merge mozilla-inbound to mozilla-central a=merge 2015-09-28 14:13:24 +02:00
Yoshi Huang 872722fe37 Bug 1167100 - User nsIPrincipal.originAttribute in ContentPrincipalInfo. r=bholley 2015-09-23 18:19:06 +08:00
Gian-Carlo Pascutto e5ead0cadf Bug 1205164 - Detect message races in Mach Shmem implementation. r=blassey 2015-09-25 12:30:46 +02:00
Nicholas Nethercote 998f4575e5 Bug 1205942 (part 2) - Fix "always true" warning in child_thread.cc. r=jld.
The warning is "the address of NuwaMarkCurrentThread() will always evaluate to
'true'".

--HG--
extra : rebase_source : c66bd111a3a57b08095dbbbe043806cc2caf8c13
2015-09-23 18:21:19 -07:00
Ted Mielczarek 1da63ab087 bug 1204985 horrible clobber-avoidance bustage fix r=YOLO CLOSED TREE
--HG--
extra : commitid : 9YLhI1kywCS
2015-09-23 22:05:01 -04:00
Ted Mielczarek edc3c41143 bug 1204985 - make SharedMemoryBasic_mach build on iOS. r=billm
--HG--
rename : ipc/glue/SharedMemoryBasic_mach.cpp => ipc/glue/SharedMemoryBasic_mach.mm
extra : commitid : LQkdXR8Jccx
extra : rebase_source : b16238102bba8173126299f5d225f5ac24f047b8
2015-09-22 13:59:00 -04:00
Nicholas Nethercote 91333243f4 Bug 1206558 (part 6) - Factor out common libevent moz.build stuff. r=mshal.
Two parts.

- Most of the common stuff goes into the new libeventcommon.mozbuild file.

- A little bit of common bsd/linux stuff factored out in
  ipc/chromium/moz.build.

--HG--
extra : rebase_source : a4bb56a444ad5b0d5d808e5d58dd7abe7dd81dbe
2015-09-22 16:24:51 -07:00
Nicholas Nethercote 89cb2574cf Bug 1206558 (part 5) - Give libevent its own moz.build file. r=mshal.
I originally tried putting it in ipc/chromium/src/third_party/libevent/, but
that directory already has a Makefile.in file, which caused problems, so I
moved it down one directory.

--HG--
extra : rebase_source : 63024d67c7b0f9215474cc85b475a4740ce51dc0
2015-09-22 16:24:51 -07:00
Nicholas Nethercote 555a6bb686 Bug 1206558 (part 4) - Factor out include handling in ipc/chromium/moz.build. r=mshal.
--HG--
extra : rebase_source : b8063fd9f38ec025e019bf29cba212a435b23a61
2015-09-22 16:24:51 -07:00
Nicholas Nethercote 4a88f838bd Bug 1206558 (part 3) - Move Android-specific code ipc/chromium/moz.build. r=mshal.
--HG--
extra : rebase_source : f80cb0fb31d1295fe0c36db884c5f38f4f0feb25
2015-09-22 16:24:51 -07:00
Nicholas Nethercote 63971ab5d4 Bug 1206558 (part 2) - Move Linux-specific code ipc/chromium/moz.build. r=mshal.
Just so the OS ordering at the top matches the OS ordering at the bottom.

--HG--
extra : rebase_source : c6c5a303ade7f740b3f2483b77c4276d0a782773
2015-09-22 16:24:51 -07:00
Nicholas Nethercote b290ddeb41 Bug 1206558 (part 1) - Combine handling of BSDs in ipc/chromium/moz.build. r=mshal.
Also wrap some overlong comment lines.

--HG--
extra : rebase_source : 5f7ff89dae32ab443f423884adb92341b4c97079
2015-09-22 16:24:51 -07:00
Chris Peterson 71920a9550 Bug 1207030 - Enable -Wshadow flag in more directories that have no -Wshadow warnings. r=glandium 2015-09-22 21:39:03 -07:00
Nicholas Nethercote e2d96fab66 Bug 1181026 (part 3) - Fix libevent constants for 32-bit Linux/Mac/BSD builds. r=glandium.
The patch also adds the CHECK_EVENT_SIZEOF macro which checks that the
_EVENT_SIZEOF_* constants have the right values.

--HG--
extra : rebase_source : 36a41bb25adcef55814aa51a280cad91062d2147
2015-09-22 20:01:29 -07:00
Nicholas Nethercote 34ad9836d9 Bug 1181026 (part 2) - Clean up libevent patch handling. r=glandium.
Add a missing one to the docs, and move them from their current two locations
into a new patches/ directory.

--HG--
rename : ipc/chromium/src/third_party/libevent-avoid-empty-sighandler.patch => ipc/chromium/src/third_party/libevent/patches/avoid-empty-sighandler.patch
rename : ipc/chromium/src/third_party/libevent-dont-use-issetugid-on-android.patch => ipc/chromium/src/third_party/libevent/patches/dont-use-issetugid-on-android.patch
rename : ipc/chromium/src/third_party/libevent/mac-arc4random-buf.patch => ipc/chromium/src/third_party/libevent/patches/mac-arc4random-buf.patch
rename : ipc/chromium/src/third_party/libevent/openbsd-no-arc4random_addrandom.patch => ipc/chromium/src/third_party/libevent/patches/openbsd-no-arc4random_addrandom.patch
rename : ipc/chromium/src/third_party/libevent-use-non-deprecated-syscalls.patch => ipc/chromium/src/third_party/libevent/patches/use-non-deprecated-syscalls.patch
extra : rebase_source : 2b434e627b6fcbf699ab50c51356a986391dcd1c
2015-09-22 19:59:53 -07:00
Nicholas Nethercote 609bbdb87c Bug 1181026 (part 1) - Reformat libevent's README.mozilla file. r=glandium.
--HG--
extra : rebase_source : ef3e5c99e2e062444000027a25f369ed5e0f14fa
2015-09-22 19:59:27 -07:00
Henry Chang b6b5862949 Bug 1163254 - Add signedPkg to OriginAttributes. r=bholley 2015-09-18 15:11:58 +08:00
Nicholas Nethercote 51aed272e1 Bug 1205942 (part 1) - Fix overflows in time_posix.cc. r=jld.
We get the following warnings with clang.

> ipc/chromium/src/base/time_posix.cc:103:57: error: overflow in expression; result is 0 with type 'long' [-Werror,-Winteger-overflow]
> ipc/chromium/src/base/time_posix.cc:106:58: error: overflow in expression; result is -1000 with type 'long' [-Werror,-Winteger-overflow]

This is a genuine bug. The upstream code in Chromium has changed (commit
2a278516943eee02e0206506a4b907fc0b55f27b) and this patch changes our code to be
similar. I did tests and confirmed that instead of getting 0 or -1 for
|milliseconds|, we now get -2147483648000 or 2147483647999, which is much
better.

--HG--
extra : rebase_source : f01a4f03bc1576980010426328116d03eb71079b
2015-09-21 15:35:26 -07:00
Gian-Carlo Pascutto c3a8478c8b Bug 1200477 - Allow building with WebRTC disabled. r=glandium,mrbkap 2015-09-18 08:29:14 +02:00
Ehsan Akhgari f4821262f5 Add two missing includes to SharedMemoryBasic_mach.cpp, no bug 2015-09-17 19:35:21 -04:00
Cervantes Yu f47edecb4b Bug 1204405: Don't access prefs off main thread in testing ProcessLink::Open(). r=khuey 2015-09-17 14:40:23 +08:00
Chris Peterson 230c67672b Bug 1203232 - Fix -Wshadow warnings in some ipc/chromium headers. r=njn 2015-09-13 02:06:14 -07:00
Carsten "Tomcat" Book aa816da5bb Merge mozilla-central to b2g-inbound 2015-09-15 15:13:57 +02:00
Thomas Zimmermann 948e27e61b Bug 1203092: Remove void pointers from Bluetooth's daemon backend, r=shuang 2015-09-15 12:55:02 +02:00
Thomas Zimmermann 6f6cab8895 Bug 1203092: Add |DaemonSocketResultHandler| base class to HAL IPC, r=shuang 2015-09-15 12:55:02 +02:00
Nigel Babu 2637edc2dc Backed out changeset 23cb9eb406f9 (bug 1203092) for build bustage 2015-09-15 15:17:40 +05:30
Nigel Babu 7a16edd7a4 Backed out changeset bed325ace368 (bug 1203092) 2015-09-15 15:17:30 +05:30
Thomas Zimmermann 22f375913e Bug 1203092: Remove void pointers from Bluetooth's daemon backend, r=shuang 2015-09-15 10:38:13 +02:00
Thomas Zimmermann 8f4a8a6aa1 Bug 1203092: Add |DaemonSocketResultHandler| base class to HAL IPC, r=shuang 2015-09-15 10:38:13 +02:00
Nicholas Nethercote 9d68ee2953 Bug 1204277 - Disallow warnings in six more directories. r=glandium.
These are all conditional uses of ALLOW_COMPILER_WARNINGS=True that are no
longer necessary.

--HG--
extra : rebase_source : e654fa940aed18b1d5ef7b2bebb45bbef59cfd84
2015-09-14 21:16:37 -07:00
Michael Layzell 0097c41e01 Bug 1201190 - Part 3: Mark every consumer of GUARD_OBJECT as MOZ_RAII, r=ehsan 2015-09-12 16:53:33 -04:00
Phil Ringnalda 9565dedf7d Merge m-c to m-i
CLOSED TREE
2015-09-10 15:30:31 -07:00
Thomas Zimmermann 6340e04b99 Bug 1202386: Output clear HAL IPC errors, r=shuang
This patch improves error logging in the IPC PDU packing and unpacking
code.
2015-09-10 11:32:26 +02:00
Thomas Zimmermann eaad9f6f6d Bug 1202386: Add logging macros for HAL IPC, r=shuang
The code for packing and unpacking IPC messages does currently not
output detailed error message. This patch adds macros that display
information about the failed operation and arguments. The overhead
of the macros is small and the fast path can be inlined.
2015-09-10 11:32:26 +02:00
Wes Kocher 3687626c35 Merge inbound to central, a=merge CLOSED TREE 2015-09-09 13:47:08 -07:00
David Major ac5d2ca462 Bug 1188045: Don't delayload xul.dll or nss3.dll on clang-cl builds. r=glandium
--HG--
extra : rebase_source : d36b7f7599939065dd0b36687b447bb935aa85a8
2015-09-08 15:07:45 -04:00
Thomas Zimmermann 369854d84e Bug 1202704: Move Bluetooth's |UnpackPDUInitOp| to generic HAL IPC code, r=shuang 2015-09-09 13:40:26 +02:00
Thomas Zimmermann 5621b29006 Bug 1202704: Move Bluetooth IPC unpack functions to generic HAL IPC, r=shuang 2015-09-09 13:40:26 +02:00
Thomas Zimmermann 551c2206d6 Bug 1202704: Move Bluetooth IPC pack functions to generic HAL IPC, r=shuang 2015-09-09 13:40:26 +02:00