Alex Gaynor
82df5a3cd4
Bug 1441651 - Part 1 - pass Shmem and ByteBuf by rvalref to ParamTraits; r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D19953
--HG--
extra : moz-landing-system : lando
2019-03-04 16:07:37 +00:00
Sylvestre Ledru
265e672179
Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
...
# ignore-this-changeset
--HG--
extra : amend_source : 4d301d3b0b8711c4692392aa76088ba7fd7d1022
2018-11-30 11:46:48 +01:00
Nathan Froyd
9f5a543f01
Bug 1452657 - rename IPDL-private Shmem token struct to something more professional; r=mccr8
...
Brevity is the soul of wit.
2018-04-17 10:05:30 -04:00
Alex Gaynor
b5a231f297
Bug 1445249 - Part 1 - Remove unused aProcessId parameter when deleting shared memory; r=jld
...
MozReview-Commit-ID: Cn0q46Q67hd
--HG--
extra : rebase_source : 7f963216e3c73118ae761dc8aa961cb120255481
2018-03-13 10:07:18 -04:00
Nika Layzell
e282bb0ee4
Bug 1440511 - Part 12: Remove the now-unused per-actor pickling code, r=froydnj
...
MozReview-Commit-ID: 5ASQu4ly0od
2018-03-05 16:00:04 -05:00
Nika Layzell
acff444d08
Bug 1440511 - Part 5: Move all serialization logic into an IPDLParamTraits impl for Shmem, r=froydnj
...
MozReview-Commit-ID: DsrfSVPgoo1
2018-03-05 16:00:02 -05:00
Tomislav Jurin
348bfffc19
Bug 1296189 - Replace NS_RUNTIMEABORT("some string literal message") with MOZ_CRASH(). r=froydnj
2016-12-02 13:46:53 -08:00
David Anderson
e87d2f8355
Make ipc::Shmem hold a strong reference to underlying SharedMemory. (bug 1303426 part 1, r=billm)
...
--HG--
extra : rebase_source : 32e182cf5fca848144f472b54a100547a3414f60
2016-09-21 22:40:20 -07:00
Jonathan Watt
b15368cfcb
Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky
2016-06-07 21:10:18 +01:00
Andrew McCreight
5848fe3b73
Bug 1276318
, part 2 - Fix mode lines in ipc/glue. r=billm
...
MessageChannel.{h,cpp}, MessageLink.{h,cpp}, and ProtocolUtils.h are
using 4-space indent so I left those alone.
2016-05-27 14:54:31 -07:00
Bill McCloskey
291c555f34
Bug 1262671 - void** -> PickleIterator (r=froydnj)
2016-05-27 09:57:38 -07:00
Lee Salzman
f5674ca6c2
Bug 1245241
- part 3 - remove unused AdoptShmem from IPDL. r=billm
2016-02-18 10:56:15 -05:00
Lee Salzman
d4c87aeb45
Bug 1245241
- part 2 - remove TYPE_SYSV Shmems from IPDL. r=billm
2016-02-18 10:56:15 -05: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
Bob Owen
e4f543bb58
Bug 1119878 Part 2: Change IPC code to hold ProcessID instead of ProcessHandle. r=billm, r=dvander, r=aklotz, r=cpearce
2015-04-01 09:40:35 +01:00
Ehsan Akhgari
883849ee32
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
Ehsan Akhgari
9297631e0b
Bug 1114880 follow-up: Rename MOZ_{STRONG,WEAK}_REF to MOZ_{OWNING,NON_OWNING}_REF
...
--HG--
extra : rebase_source : 51fff0785d112b5b87be3c6ff723c8986b37effe
2014-12-23 21:17:50 -05:00
Ehsan Akhgari
883381c0be
Bug 1114989 - Mark Shmem::mSegment as non-owning
...
--HG--
extra : rebase_source : c37e0768470315fd3dadeeeb3343b64f93a83b40
2014-12-23 21:01:50 -05:00
Wes Kocher
f5c5fde40d
Backed out changeset 45798e9a16c2 (bug 1114989) for mochitest-e10s-3 failures on a CLOSED TREE
2014-12-23 16:12:24 -08:00
Ehsan Akhgari
37d4f87ed3
Bug 1114989 - Convert Shmem::mSegment to nsRefPtr; r=jrmuizel
...
--HG--
extra : rebase_source : 9045464e9bdf365993999a5db83e68b21f4f44d6
2014-12-23 17:27:11 -05:00
Andrew McCreight
c95e487200
Bug 1038966, part 3 - Shmem should use refcounted pointer classes when creating SharedMemory. r=bent
2014-07-25 16:41:25 -07:00
Andrew McCreight
de19994a7f
Bug 1038853 - Use nullptr instead of 0 in Shmem.h and Shmem.cpp. r=bent
2014-07-15 16:51:44 -07:00
Nicholas Cameron
6d24fd2a5a
Bug 925317. Check shmems are tracked whenever we send them across IPC. r=BenWa,bent
2013-10-21 16:23:42 +02:00
Birunthan Mohanathas
fdbc9a2330
Bug 784739 - Switch from NULL to nullptr in ipc/glue/. r=ehsan
2013-08-23 15:51:58 -04:00
Ms2ger
711f1fd480
Bug 787933 - Stop using stdin types in IPC code; r=bsmedberg+cjones sr=cjones
2012-09-17 10:37:20 +02:00
Rafael Ávila de Espíndola
0b6fcd9466
Bug 786148 - s/IPC/ipc/. r=ted.
...
This makes our builds a bit more reproducible. Without it when processing
#include "IPC/IPCMessageUtils.h
we end up in
#include "ShadowLayers.h"
which in the final XUL translates into the symbol (run nm -a to see it):
- 00 0000 SOL ../../../../gfx/layers/IPC/ShadowLayers.h
now when some file in gfx/layers/ipc does
#include "ShadowLayres.h"
the file found is the local one with the lowercase directory name and we end up
with
- 00 0000 SOL ../../../../gfx/layers/ipc/ShadowLayers.h
--HG--
extra : rebase_source : 96c68f6a3448eedaa280039960df911a9c707cac
2012-08-28 08:41:04 -04:00
Gervase Markham
82ff7027aa
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Jeff Walden
df2b7cbc5c
Bug 704127 - Implement MOZ_FINAL as a modifier for classes and virtual member functions. r=cjones
...
--HG--
extra : rebase_source : d95a3b3e726f810f299314358ba8c5e23557698e
2011-11-20 22:21:16 -08:00
Chris Jones
270620d210
Bug 598866, part 1: Add library support for an "unsafe" Shmem variant. r=joe
2010-11-05 02:17:07 -05:00
Josh Aas
e14ca98532
Bug 599059: Always store length at the end of shared memory segments as a 32-bit value. Don't use "sizeof(size_t)" because that differs between i386 and x86_64 and causes crashes when running i386 plugins from a x86_64 host. r=cjones a=blocking-b7
2010-09-24 02:31:47 -04:00
Chris Jones
c8dabee86a
Bug 592866: Allow Shmem to be used in IPDL unions. r=bent a=blocking-2.0
2010-09-08 13:27:52 -05:00
Chris Jones
2d2a5f4b25
Bug 570099: Allow Shmems to be used in IPDL structs. r=benjamn
2010-06-23 13:59:07 -05:00
Chris Jones
03b01c916d
Bug 562741: Allow |Shmem|s to be shared across different protocol trees. r=bent
2010-05-22 14:35:33 -05:00
Chris Jones
c2273182da
Bug 555275: Implement a DeallocShmem() interface. r=bent
2010-04-26 20:11:40 -05:00
Joe Drew ext:(%20and%20Chris%20Jones%20%3Cjones.chris.g%40gmail.com%3E)
0bd95dade4
Bug 548437: Add a SysV shmem subtype of SharedMemory. r=dougt
2010-04-16 00:29:16 -05:00
Joe Drew
155805058f
Bug 544607 - Add Shmem::IsWriteable/Shmem::IsReadable r=cjones
...
--HG--
extra : rebase_source : 25a2ef756c682bc6a74797025e223fbbc3aaf4d3
2010-03-22 13:33:43 -07:00
Chris Jones
2037e919a0
Fix MSVC warning
2009-12-04 16:27:59 -06:00
Chris Jones
aea3243ee9
bug 523174: add a higher-level Shmem class that implements exclusive access rights between parent/child actors and does over/underflow checking. (Also adds a stop-gap lower-level SharedMemory class in lieu of bug 523172.) r=joedrew
2009-12-04 12:45:15 -06:00