Botond Ballo
5042cc24cd
Bug 1178514 - Mark one-argument constructors in IPDL tests as 'explicit'. r=bent
...
--HG--
extra : source : 90e22606e13f4b8bdfd2cf74b0f81d7a94c99dee
2015-06-29 18:29:48 -04:00
Andrew McCreight
470cef59ea
Bug 1169382 - Don't generate commented out NS_INTERFACE_CLASS or NS_ABSTRACT_CLASS in IPDL. r=billm
2015-06-06 14:37:59 -07:00
Mike Hommey
806e0220a2
Bug 991983 - Use objdir-relative SOURCES instead of GENERATED_SOURCES. r=gps
2015-05-28 07:34:16 +09:00
Phil Ringnalda
198fda1fe8
Back out 7842a044a183 (bug 1167431) for widespread bustage
...
CLOSED TREE
2015-05-22 18:53:41 -07:00
Ben Turner
a53a3243ec
Bug 1167431 - 'Properly clean up actors whose RecvFooConstructor method returns false', r=billm.
2015-05-22 16:10:02 -07:00
Birunthan Mohanathas
735ccdd101
Bug 968520 - Add mozilla::fallible to Fallible{Auto,}TArray::SetLength calls. r=froydnj
2015-05-18 13:50:35 -07:00
Blake Kaplan
25d39ad698
Bug 1155494 - Add a 'compressall' message flag. f=handyman r=billm (parts of this patch were written by handyman with r=billm)
2015-05-05 16:20:42 -07:00
Nathan Froyd
91108f0f63
Bug 1158905 - remove dead code from protocol Transition functions; r=bent
...
PFoo::Transition currently looks something like:
bool
Transition(
State from,
mozilla::ipc::Trigger trigger,
State* next)
{
switch (from) {
...
default:
NS_RUNTIMEABORT("corrupted actor state");
return false;
}
(*(next)) = __Error;
return false;
}
Coverity complains that the assignment (*(next)) = __Error will never be
reached, and rightfully so. We can remove this fallthrough block when
there are no states declared in the individual protocol.
2015-04-27 13:29:37 -04:00
Nathan Froyd
b73bbd3af0
Bug 1158896 - prevent dead code from being generated in lower.py; r=bent
...
Coverity was complaining that we have things like:
if ((!(actor))) {
return false;
}
if ((!(actor))) {
return false;
}
in the generated code, as the second return will clearly never be hit. To
address this, let's remove a redundant call to dtorPrologue.
2015-04-27 13:08:12 -04:00
Jim Blandy
6afdd6c96b
Bug 1145051: Use MOZ_WARN_UNUSED_RESULT instead of NS_WARN_UNUSED_RESULT. r=glandium
...
--HG--
extra : rebase_source : d210822225d307f3e3685cb5f95b461c48c0be7e
2015-03-19 00:46:40 -07:00
Bill McCloskey
79abd6e01a
Bug 1128457 - Change handling of urgent messages during timeout (r=dvander)
2015-04-13 18:11:49 -07:00
Ben Turner
51ec0b56dc
Bug 1135344 - Don't let IPDL use names that are reserved for compilers, r=froydnj.
2015-04-09 11:35:18 -07:00
Nathan Froyd
7561c4089c
Bug 1150266 - fix IPDL thinko for never-inline method declarations; r=bent
2015-04-01 20:40:16 -04:00
Bob Owen
283c8df550
Bug 1149971 Part 2: Cet rid of kCurrentProcessId as it makes lots of static initializers. r=dvander
2015-04-01 13:59:20 +01:00
Bob Owen
967713e4e9
Bug 1149971 Part 1: Follow-up to bug 1119878 to fix broken IPDL tests. r=dvander
2015-04-01 16:44:48 +01: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
bf2df719b1
Bug 1145631 - Part 4: Replace MOZ_FINAL with final in the IPDL codegen; r=froydnj
2015-03-21 12:28:36 -04: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
Bill McCloskey
e26a687773
Bug 1121676 - Use a lock to protect the list of top-level actors (r=bent)
2015-03-20 12:02:41 -07:00
Bill McCloskey
ba40fd679d
Bug 1142109 - Process incoming urgent messages before sending (r=dvander)
2015-03-17 13:43:34 -07:00
Bill McCloskey
1004991381
Bug 1142109 - Fix IPDL tests (r=dvander)
2015-03-17 13:43:28 -07:00
Peter Van der Beken
5914b2bdde
Bug 1133748 - Fix ipdl code for bridged protocols that are also opened. r=billm.
...
--HG--
extra : rebase_source : 308d8e3ac3caea541b649329d5a35ecd31725de9
2015-02-09 21:54:12 +01:00
Botond Ballo
19a974637b
Bug 1135591 - Fix build breakage from bug 1132153 in code conditional on '--enable-ipdl-tests'. r=dholbert
2015-02-23 11:42:16 -05:00
Botond Ballo
847508c681
Bug 1132153 - Replace 'using namespace base' with specific using-declarations. r=dholbert
2015-02-11 15:01:26 -05:00
Nicholas Nethercote
242708cf72
Bug 1127201 (attempt 2, part 1) - Replace most NS_ABORT_IF_FALSE calls with MOZ_ASSERT. r=Waldo.
...
--HG--
extra : rebase_source : 488e401ff87e31a2074c4108c4df0572d9536667
2015-02-09 14:34:50 -08:00
Andrew McCreight
d3826daa16
Back out Bug 1127201 (part 2) for various problems.
2015-02-06 15:04:32 -08:00
Nicholas Nethercote
d34f0301b8
Bug 1127201 (part 2) - Convert all NS_ABORT_IF_FALSE calls to MOZ_ASSERT. r=Waldo.
...
--HG--
extra : rebase_source : 99182e70335d2b5ff95f8c528ae992d37294be3a
2015-02-04 20:05:36 -08:00
Bill McCloskey
c04f106018
Bug 1124933 - Include crash reason when intentionally crashing content process (r=bent)
2015-02-03 09:09:27 -08:00
Bill McCloskey
ab0788b330
Bug 1109884 - Stop using intr messages in PContent (r=bent)
2015-01-28 11:53:46 -08:00
Bill McCloskey
376b92ae54
Bug 1122956 - Convert IPDL tests to take move references (r=bent)
2015-01-20 15:42:54 -08:00
Kyle Huey
7c82e6dd0a
Bug 1121673: Use move references in IPDL. r=bent
2015-01-16 11:58:52 -08:00
Ben Turner
f62303f39a
Bug 1116640, fix TestUrgentHangs on windows, r=billm. Not tested on current infra so DONTBUILD
2015-01-05 10:53:36 -08:00
Nathan Froyd
de2ba33faa
Bug 1114596 - don't define GENERATED_INCLUDES in ipc/ipdl/moz.build; r=gps
...
The common include file /ipc/chromium/chromium-config.mozbuild already
defines this variable for us, and there's no point in telling the
compiler to look twice in the same directory for includes.
2014-12-22 09:59:34 -05:00
Bill McCloskey
73c276ef13
Bug 1110938 - Add timeout for CPOWs (default to 0) (r=dvander)
2014-12-18 17:35:44 -08:00
Aaron Klotz
20dba0f8d2
Bug 1112827: Add IPDL's implicit typedefs to the set of explicit typedefs, preventing duplicates in generated code; r=bent
2014-12-18 14:38:18 -07:00
Ryan VanderMeulen
8a94c3960b
Backed out changeset f0d4cb5f206c (bug 1112827) for Mulet permacrashing.
2014-12-18 15:26:05 -05:00
Aaron Klotz
a425715aeb
Bug 1112827: Add IPDL's implicit typedefs to the set of explicit typedefs, preventing duplicates in generated code; r=bent
2014-12-18 12:20:32 -07:00
Nathan Froyd
3f89e62115
Bug 1096487 - part 2 - make ipdl message constructors take their routing id; r=bent
...
Similarly to part, there's no need to say we don't know the routing id
when constructing a message, and then turn around and set the routing id
immediately afterwards. Just let the constructor do its work.
2014-11-10 13:05:59 -05:00
Nathan Froyd
357e2a0e8c
Bug 1096487 - part 1 - make ipdl message constructors set their priority directly; r=bent
...
The default constructor for ipdl-generated messages looks like:
MOZ_IMPLICIT Msg_AsyncMessage() :
IPC::Message(MSG_ROUTING_NONE, ID, IPC::Message::PRIORITY_NORMAL, COMPRESSION_NONE, "PContent::Msg_AsyncMessage")
{
}
IPC::Message::PRIORITY_NORMAL is 1, so any set_priority(1) calls are
just redudant.
Additionally, the priorities for messages are known at code generation
time, so we are always able to provide the right constants to the
message constructor, rather than using set_priority calls later.
2014-11-10 12:32:15 -05:00
Nathan Froyd
d676b698ca
Bug 1096501 - include nsRefPtr.h instead of nsAutoPtr.h in ipdl generated files; r=bent
2014-11-10 14:18:09 -05:00
Akshendra Pratap Singh
938aa11999
Bug 1074211: Output a warning message when a IPDL constructor returns a null value; r=bent
2014-10-15 15:30:00 -07:00
Mike Hommey
47c853314f
Bug 1077148 part 4 - Add and use new moz.build templates for Gecko programs and libraries. r=gps
...
There are, sadly, many combinations of linkage in use throughout the tree.
The main differentiator, though, is between program/libraries related to
Gecko or not. Kind of. Some need mozglue, some don't. Some need dependent
linkage, some standalone.
Anyways, these new templates remove the need to manually define the
right dependencies against xpcomglue, nspr, mozalloc and mozglue
in most cases.
Places that build programs and were resetting MOZ_GLUE_PROGRAM_LDFLAGS
or that build libraries and were resetting MOZ_GLUE_LDFLAGS can now
just not use those Gecko-specific templates.
2014-10-30 13:06:12 +09:00
Bill McCloskey
43b7a1a0c8
Bug 641685 - Make sure generated code for IPDL bridged includes all necessary forward decls (r=bsmedberg)
2014-10-29 08:04:51 -07:00
Bill McCloskey
2ab547d3ab
Bug 1049879 - Remove urgent and rpc message types and replace with message priorities (r=dvander,bent,ehsan)
2014-10-07 21:32:45 -07:00
Carsten "Tomcat" Book
4985d0ee76
Backed out changeset e56bf4ea89fb (bug 1049879) for bustage in emulator debug builds on a CLOSED TREE
2014-10-08 08:03:57 +02:00
Bill McCloskey
281cb8db91
Bug 1049879 - Remove urgent and rpc message types and replace with message priorities (r=dvander,bent,ehsan)
2014-10-07 21:32:45 -07:00
Mike Hommey
ed70c5f377
Bug 1041941 - Use templates for programs, simple programs, libraries and C++ unit tests. r=gps
2014-09-03 14:10:54 +09:00
David Major
36c74581b8
Bug 1023941 - Part 5: Loader hook to redirect the missing import. r=bsmedberg
...
--HG--
extra : rebase_source : 7cf2e857f51dcfcc95bb806d49ef13b794f5ba5b
2014-08-28 14:53:38 +12:00
Bill McCloskey
4cedc603cb
Bug 1050604 - Get IPDL tests passing again (r=bent)
2014-08-20 12:49:11 -07:00
Bill McCloskey
be42be0ea4
Bug 1051128 - Allow filtering the IPC log by toplevel protocol name (r=bent)
2014-08-20 12:49:11 -07:00
Andrew McCreight
4790cd3937
Bug 1024795, part 4 - Use a default value for initializing unions, except for nsTArray. r=bent
...
This restores the initialization behavior prior to bug 819791, except for the one case that bug requires.
2014-08-13 11:36:15 -07:00
Andrew McCreight
7805ea0edf
Bug 1024795, part 3 - Generate nsTArray instead of InfallibleTArray in lower.py. r=bent
2014-08-13 11:36:15 -07:00
Andrew McCreight
8c72cba1bb
Bug 1024795, part 2 - static_cast isn't needed for nullptr in IPDL codegen. r=bent
...
Since bug 1038523, lower.py generates nullptr for NULL, so this cast isn't needed.
2014-08-13 11:36:14 -07:00
Andrew McCreight
b341e821c2
Bug 1024795, part 1 - Remove trailing whitespace from lower.py. r=bent
2014-08-13 11:36:14 -07:00
Andrew McCreight
46562a3c3a
Bug 1047717 - Don't generate trailing whitespace for IPDL CppDirective's with no |rest|. r=bent
2014-08-06 11:12:00 -04:00
Mike Hommey
89777800f9
Bug 1047267 - Move remaining OS_LIBS and EXTRA_LIBS to moz.build. r=gps
...
* * *
Bug 1047267 - To fold with "Move remaining OS_LIBS and EXTRA_LIBS to moz.build"
2014-08-07 14:21:03 +09:00
Nathan Froyd
12c76f15f7
Bug 1042878 - part 2 - move MOZ_CAIRO_CFLAGS et al additions to C*FLAGS into moz.build; r=glandium
2014-07-24 11:55:33 -04:00
Mike Hommey
5f6ba110e6
Bug 1043802 - Remove TOOLS_DIRS and TEST_TOOLS_DIRS. r=gps
2014-07-29 08:55:55 +09:00
Ehsan Akhgari
1266d7384c
Bug 1045041
- Mark non-explicit classes created by IPDL to be MOZ_IMPLICIT; r=froydnj
2014-07-28 10:57:17 -04: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
018402f71c
Bug 1038966, part 2 - Rename autoptr methods to refptr in lower.py. r=bent
...
Rename these before changing the definition to reduce the noise in the next patch.
2014-07-25 16:41:25 -07:00
Andrew McCreight
87758937e7
Bug 1038966, part 1 - AllocShmem and AllocUnsafeShmem do not need to use nsAutoPtr. r=bent
...
Also clean up the generated code a bit.
2014-07-25 16:41:25 -07:00
Mike Hommey
7cab62150a
Bug 1041936 part 2 - Directly use the static library "xul" to link into "xul-gtest" instead of having an intermediate library "xul" used by "xul-shared" and "xul-gtest". r=gps
2014-07-23 13:33:09 +09:00
Mike Hommey
95063176fa
Bug 1036894
part 9 - Replace all EXTRA_DSO_LDOPTS, SHARED_LIBRARY_LIBS and LIBS with EXTRA_LIBS, OS_LIBS or OS_LDFLAGS, appropriately. r=gps
...
OS_LIBS for libraries that are not part of the gecko tree, EXTRA_LIBS for
libraries, such as NSPR, that are in the tree, but are not handled by
moz.build just yet. Those EXTRA_LIBS may also come from a system library.
However, in cases where the expanded variables are always empty for the
in-tree case, OS_LIBS is used (as for, e.g. MOZ_ZLIB_LIBS). OS_LDFLAGS is
used exclusively for non-library linker flags.
Always pass EXTRA_LIBS before OS_LIBS on linker command lines.
Forbid EXTRA_DSO_LDOPTS, SHARED_LIBRARY_LIBS and LIBS in Makefiles.
2014-07-23 13:31:02 +09:00
Mike Hommey
5fab42fcaf
Bug 1036894
part 8 - Move most in-tree library linkage information to moz.build, as USE_LIBS. r=gps
2014-07-23 13:30:52 +09:00
Andrew McCreight
34feea774d
Bug 1038523 - Make IPDL generate nullptr for ExprLiteral.NULL. r=bent
2014-07-15 12:46:52 -07:00
Chris Lord
5c57498fbc
Bug 1012639 - Fix OtherProcess sometimes being the current process handle. r=bent
2014-06-11 14:51:12 +01:00
"Kan-Ru Chen (陳侃如)"
9ed870c153
Bug 879475 - Part 005. Implement ContentBridge r=jlebar
...
Based on original patch by David Zbarsky <dzbarsky@gmail.com>
2014-06-11 13:44:13 +08:00
Victor Porof
9ce7e9c089
Bug 1007203 - Always add categories when pushing to the pseudostack, r=djvj
2014-05-23 17:12:29 -04:00
Josh Aas
8201d48ae1
Bug 1014384: Fix 'IPDL code generator generates implementation stubs for pure virtual methods'. r=bent
2014-05-29 00:45:36 -05:00
Chris Peterson
17896eb5d7
Bug 990764 - Replace MOZ_ASSUME_UNREACHABLE in ipdl. r=bsmedberg
2014-04-27 18:56:03 -07:00
Ben Turner
04d9f7cc95
Bug 1006128 - Fix IPDL unit tests after bug 960774, r=bsmedberg.
2014-05-08 14:49:41 -07:00
Josh Aas
2e276ecf5f
Bug 1004196: Make all IPDL argument names be of form "aFoo" instead of "foo”. r=bent
2014-05-05 17:00:55 -05:00
Josh Aas
d9aa92298d
Bug 960774: Make ActorDestroy pure virtual on the parent side, require implementation. r=bent
2014-05-02 14:49:02 -05:00
Bill McCloskey
7b13759de7
Bug 986317 - Stop exposing urgent semantics in IPDL files (r=bent)
2014-04-03 13:29:11 -07:00
Benoit Jacob
c2a3a79571
Bug 968244 - Make IPDL-generated code not crash on bad shmems - r=bent
2014-02-25 08:57:10 -05:00
Benoit Jacob
4a8e65915b
Bug 974356 - 1/4 - Initialize mOtherProcess to an invalid handle value - r=bent
2014-02-25 08:12:49 -05:00
Ehsan Akhgari
39fc9361f6
Bug 975740 - Port WIN32_EXE_LDFLAGS to moz.build; r=mshal
2014-02-24 08:30:25 -05:00
Ehsan Akhgari
9e38fc2acd
Bug 973393 - Move the LOCAL_INCLUDES in ipc to moz.build; r=glandium
2014-02-18 02:12:54 -05:00
Ms2ger
33da18c67e
Bug 968856 - Move unconditional LOCAL_INCLUDES into moz.build; r=mshal
2014-02-15 21:24:59 +01:00
Ehsan Akhgari
3fa869d1f3
Bug 967167 - Use fallible memory allocation when reading IPDL array types to make sure that we don't OOM for very large arrays; r=bent
2014-02-06 08:35:28 -05:00
Nathan Froyd
8d6641d961
Bug 967297 - consider ipdl modules as inputs to the ipdl build process; r=glandium
2014-02-06 00:21:46 -05:00
Ted Clancy
c895425120
Bug 962344 - Log messages in IPDL should contain from/to information; Log message should go to logcat on Gonk devices. r=bent
2014-02-03 14:11:50 +01:00
Bill McCloskey
40ff701ba0
Bug 910962 - Make DeallocShmem not assert when child has crashed (r=bsmedberg)
2014-01-31 10:43:44 -08:00
Nathan Froyd
de72954248
Bug 952941 - delete no-longer-used includedActorUsings field; r=ehsan
2013-09-27 17:15:02 -04:00
Cervantes Yu
38d6789b0d
Bug 938470 - Part 2: IPC actor should clone actors created on the parent side for the Nuwa process. r=bent
2013-12-05 20:10:04 +08:00
Ben Turner
9de016148a
Bug 947575 - Fix IPDL unit tests on windows, r=bsmedberg.
...
--HG--
extra : transplant_source : %04B6%5C%3A%ED3E%06o%90%1Bx%60%96b.%0F%27P
2013-11-21 16:51:26 -08:00
David Anderson
bc3a485edc
Remove bogus assert in RPC calls (bug 937216, r=cjones).
2013-12-05 15:06:29 -08:00
Mike Hommey
62a0ecdaf3
Bug 942031 - Don't link against the js engine when there's no need to. r=mshal
2013-11-24 08:18:50 +09:00
Nathan Froyd
155da715db
Bug 939109 - remove stray debugging statement; r=ehsan
2013-11-15 10:15:53 -05:00
Mike Hommey
2812d11fce
Bug 939632 - Remove LIBRARY_NAME for leaf libraries. r=gps
...
Landing on a CLOSED TREE.
2013-11-19 11:50:54 +09:00
Mike Hommey
e06d795c71
Bug 939074 - Remove most LIBXUL_LIBRARY. rs=gps
2013-11-19 11:48:10 +09:00
Mike Hommey
e80e877ab7
Bug 939044 - Remove most definitions of MODULE. r=mshal
2013-11-19 11:47:39 +09:00
Mike Hommey
ffe0380912
Bug 935881 - Use FINAL_LIBRARY for all (fake) libraries that end up linked in a single other library. r=gps
2013-11-19 11:47:14 +09:00
Nathan Froyd
0778377b21
Bug 918651 - part 10 - remove the |USING CxxType| rule from the IPDL grammar; r=ehsan
2013-10-18 15:04:07 -04:00
Nathan Froyd
ec839c62b4
Bug 918651 - part 8 - remove redundant includes from IPDL files; r=ehsan
...
These include statements have been made redundant by all the qualifications
to the using statements.
2013-10-18 13:34:08 -04:00
Nathan Froyd
f478d39678
Bug 918651 - part 7 - place includes intelligently in generated IPDL files; r=bent
...
This is where the magic starts to happen. We move includes from the base
protocol header (${NAME}.h) to the parent and child headers (${NAME}Parent.h
and ${NAME}Child.h) to follow good include hygiene.
For the base protocol header, we examine the set of types used by struct and
union definitions to determine which headers we need to include.
For parent and child headers, we forward declare what we can and include
appropriate headers otherwise. For forward-declared types, we include the
appropriate headers in the parent and child source files.
2013-10-01 12:55:42 -04:00
Nathan Froyd
e5d5df0e6c
Bug 918651 - part 6 - add unqualifiedTypedefs parameter to _ComputeTypeDeps; r=ehsan
...
When computing what set of includes a header file needs, we need to know
about all types that protocol-defined types use, not just qualified
ones: both global-scope names and same-namespace-as-protocol names are
valid to use without any sort of qualification. This flag would normally
not be used in generating actual C++ code and therefore defaults to False.
2013-10-18 12:08:10 -04:00
Nathan Froyd
ebcc1e1abf
Bug 918651 - part 5 - qualify all IPDL using statements with required header; r=ehsan
2013-10-01 15:25:07 -04:00
Nathan Froyd
f4c2384809
Bug 918651 - part 4 - add keyword arguments to _makeForwardDeclForQClass; r=ehsan
...
We're going to need these later when we hand-roll our own forward declarations
for classes and structs.
2013-10-01 12:02:57 -04:00
Nathan Froyd
f177ad89af
Bug 918651 - part 3 - add optional |from header| qualification to using statements in ipdl; r=bent
2013-09-23 21:20:18 -04:00
Nathan Froyd
0726779150
Bug 918651 - part 2 - don't munge the translation unit's headers; r=ehsan
...
Keep the builtin headers separate from the translation unit's headers.
We do this so when we start twiddling with the translation unit's headers,
we don't have to handle cases where those headers are actually builtin
headers.
2013-10-01 11:42:50 -04:00
Nathan Froyd
c41a24510b
Bug 918651 - part 1 - remove unnecessary using statements from IPDL files; r=ehsan
2013-10-18 14:48:13 -04:00
Mike Hommey
4a02ac1e8a
Bug 864774 part 3 - Move some more CPPSRCS to moz.build. r=mshal
2013-10-30 07:51:03 +09:00
Mike Hommey
2eefafb740
Bug 930896 - Keep track of files generated by a build backend. r=gps
2013-10-29 08:00:30 +09:00
Mike Hommey
91d475fc4c
Bug 930350 - Fix --enable-ipdl-tests build. r=gps. DONTBUILD because NPOTB
2013-10-25 08:39:45 +09:00
Mike Hommey
b000a846c2
Bug 929905 - Consolidate sources in moz.build. r=gps
2013-10-25 08:23:05 +09:00
Brian O'Keefe
9c9d71fddb
Bug 928709 - Convert chromium-config.mk to mozbuild, r=mshal
2013-10-02 13:17:55 -04:00
Mike Hommey
59a17d0f20
Bug 921492 - Make StrictOrderingOnAppendList use actual alphabetical sorting. r=mshal,r=gps
2013-10-24 08:05:43 +09:00
Daniel Holbert
2adafde9f1
Bug 925243: Mark ipc/ipdl as FAIL_ON_WARNINGS. r=ehsan
2013-10-10 13:44:13 -07:00
Cervantes Yu
0ff90ed38b
Bug 922461: fix unused variable in CloneManagees() of actors that doesn't manage other protocols. r=bent
2013-10-10 09:17:01 -07:00
Nathan Froyd
7cdd45a716
Bug 924410 - don't generate typedefs in Message subclasses; r=ehsan
...
There's no reason for them to be there, since Message subclasses are nothing
more than a constructor and a logging method.
2013-10-01 12:50:18 -04:00
Ms2ger
f4153f40d4
Bug 900980 - Part a: Move unconditional assignments to EXPORT_LIBRARY to moz.build; rs=gps
2013-10-03 09:11:13 +02:00
Nathan Froyd
53115a9178
Bug 921563 - part 2 - delete typedefs and using statements from global scope in IPDL C++ files; r=gps
2013-09-27 13:14:47 -04:00
Nathan Froyd
27eba83426
Bug 921563 - part 1 - declare return types in IPDL C++ with C++0x late return syntax; r=gps
...
Every IPDL C++ class contains a bunch of typedefs.
Every IPDL C++ source file contains a bunch of typedefs and using statements
for the exact same types.
Why is that?
Because the class itself is not in scope for name lookup of return types of C++
methods. This limitation is annoying, but it makes sense. The typedefs and
using statements therefore exist so we can be a little sloppy about return
types.
Let's stop being sloppy and polluting the global namespace inside these
files. Less pollution makes it easier to smash the IPDL files together for
unified compilation. One could do this by qualifying all necessary return
types...or we could just use the C++0x late return syntax, which guarantees the
class *is* in scope for name lookup. I like this version a lot better.
2013-09-27 13:50:20 -04:00
David Anderson
47ae6f0cc8
Introduce new RPC messaging semantics (bug 910493 part 1, r=cjones).
2013-10-01 09:15:03 -07:00
David Anderson
437f6053a9
Rename IPDL's RPC to Interrupt (bug 910020, r=bent).
...
--HG--
rename : ipc/ipdl/test/cxx/PTestRPCErrorCleanup.ipdl => ipc/ipdl/test/cxx/PTestInterruptErrorCleanup.ipdl
rename : ipc/ipdl/test/cxx/PTestRPCRaces.ipdl => ipc/ipdl/test/cxx/PTestInterruptRaces.ipdl
rename : ipc/ipdl/test/cxx/PTestRPCShutdownRace.ipdl => ipc/ipdl/test/cxx/PTestInterruptShutdownRace.ipdl
rename : ipc/ipdl/test/cxx/PTestRacyRPCReplies.ipdl => ipc/ipdl/test/cxx/PTestRacyInterruptReplies.ipdl
rename : ipc/ipdl/test/cxx/TestRPCErrorCleanup.cpp => ipc/ipdl/test/cxx/TestInterruptErrorCleanup.cpp
rename : ipc/ipdl/test/cxx/TestRPCErrorCleanup.h => ipc/ipdl/test/cxx/TestInterruptErrorCleanup.h
rename : ipc/ipdl/test/cxx/TestRPCRaces.cpp => ipc/ipdl/test/cxx/TestInterruptRaces.cpp
rename : ipc/ipdl/test/cxx/TestRPCRaces.h => ipc/ipdl/test/cxx/TestInterruptRaces.h
rename : ipc/ipdl/test/cxx/TestRPCShutdownRace.cpp => ipc/ipdl/test/cxx/TestInterruptShutdownRace.cpp
rename : ipc/ipdl/test/cxx/TestRPCShutdownRace.h => ipc/ipdl/test/cxx/TestInterruptShutdownRace.h
rename : ipc/ipdl/test/cxx/TestRacyRPCReplies.cpp => ipc/ipdl/test/cxx/TestRacyInterruptReplies.cpp
rename : ipc/ipdl/test/cxx/TestRacyRPCReplies.h => ipc/ipdl/test/cxx/TestRacyInterruptReplies.h
rename : ipc/ipdl/test/ipdl/error/rpcMessageCompress.ipdl => ipc/ipdl/test/ipdl/error/intrMessageCompress.ipdl
rename : ipc/ipdl/test/ipdl/error/tooWeakRPCAsync.ipdl => ipc/ipdl/test/ipdl/error/tooWeakInterruptAsync.ipdl
rename : ipc/ipdl/test/ipdl/ok/rpcProtocol.ipdl => ipc/ipdl/test/ipdl/ok/intrProtocol.ipdl
2013-09-30 17:27:45 -07:00
Cervantes Yu
0a6a25b7c4
Bug 771765 - Support template content process, part 9: allocating a toplevel protocol should return itself. r=dzbarsky
...
Reverse the effect in bug 879475 part 14 since we need to keep track of open protocols in the Nuwa process.
2013-09-26 12:19:09 +08:00
Thinker Lee ext:(%2C%20Cervantes%20Yu%20%3Ccyu%40mozilla.com%3E)
42fe4d9b7d
Bug 771765 - Support template content process, part 3: IPC glue and IPDL codegen to support protocol cloning. r=bent
2013-05-31 21:16:57 +08:00
David Anderson
fd2cf49aa1
Combine AsyncChannel, SyncChannel, and RPCChannel into one class (bug 901789, r=cjones,bent).
...
--HG--
rename : ipc/glue/RPCChannel.cpp => ipc/glue/MessageChannel.cpp
rename : ipc/glue/RPCChannel.h => ipc/glue/MessageChannel.h
2013-09-27 18:42:08 -07:00
Nathan Froyd
5ce2711c7a
Bug 914826 - part 6 - don't include basictypes.h or nscore.h in ipdl headers; r=ehsan
2013-09-10 15:55:39 -04:00
Nathan Froyd
12fa756043
Bug 914826 - part 5 - provide for cpp-only include files, starting with nsIFile.h and GeckoProfiler.h; r=ehsan
2013-09-10 15:45:16 -04:00
Nathan Froyd
44d376b745
Bug 914826 - part 3 - forward-declare nsIFile for GetMinidump() declaration; r=ehsan
2013-09-10 15:35:51 -04:00
Nathan Froyd
a4908f9bf1
Bug 914826 - part 2 - rename builtinIncludes to builtinHeaderIncludes; r=ehsan
2013-09-10 15:34:44 -04:00
Nathan Froyd
515c39f6fa
Bug 914826 - part 1 - use static_assert instead of COMPILE_ASSERT in IPCMessageStart.h; r=ehsan
2013-09-10 15:07:10 -04:00
Gregory Szorc
d03c8a0359
Bug 921070 - Remove precompile tier; r=glandium
...
It made sense at the time. We now have inverted tiers and will soon have
derecursified building. This doesn't make sense any more.
2013-09-26 16:05:10 -07:00
David Zbarsky
9eca84e4d8
Bug 879475: Allocing an actor for a bridged or opened protocol should return bool r=jlebar
...
Conflicts:
dom/ipc/ContentChild.cpp
dom/ipc/ContentChild.h
2013-09-23 17:54:25 -04:00
Mike Hommey
f8bc7fa754
Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps
2013-09-05 09:01:46 +09:00
Brian O'Keefe
261614859f
Bug 875934 - Move LIBRARY_NAME to moz.build, batch 4; r=mshal
2013-08-15 09:12:40 -04:00
Brian O'Keefe
d118b95a0d
Bug 875934 - Move LIBRARY_NAME to moz.build, batch 3; r=mshal
2013-08-15 09:02:09 -04:00
David Anderson
16668a7bf4
Don't deadlock on a child process for a CPOW (bug 905896, r=cjones).
2013-08-26 21:56:57 -07:00
Birunthan Mohanathas
8923c06ee9
Bug 784739 - Switch from NULL to nullptr in ipc/. r=ehsan
2013-08-23 15:51:44 -04:00
Nathan Froyd
05b3cb417a
Bug 908208 - part 3 - move guts of FatalError out-of-line to ProtocolUtils.cpp; r=bent
2013-08-22 10:39:32 -04:00
Nathan Froyd
5555ce97f3
Bug 908208 - part 2 - declare FatalError as MOZ_NEVER_INLINE rather than virtual; r=bent
2013-08-22 10:06:50 -04:00
Nathan Froyd
f4d8955973
Bug 908208 - part 1 - add support for MOZ_NEVER_INLINE to MethodDecl; r=bent
2013-08-22 10:06:21 -04:00
Ms2ger
1c4d224f0e
Bug 883284 - Part d: Move LIBXUL_LIBRARY into moz.build (f-j); r=bsmedberg
2013-08-22 08:56:00 +02:00
David Zbarsky
9117aef526
Bug 879475 - Rename the MsgStart messages to MsgStartChild for child protocols r=jlebar
2013-08-20 15:46:41 -04:00
David Zbarsky
7ea8d07357
Bug 885653 - Add support for IPDL bridges that connect two of the same protocol r=jlebar
2013-08-20 15:46:41 -04:00
Brian O'Keefe
61565e4086
Bug 896177 - Remove useless config.mk includes; r=gps
2013-07-17 16:06:53 -04:00
David Anderson
97dabc4cb4
Prevent deadlocks when sending sync messages during urgent in-calls (bug 900062, r=cjones).
2013-08-12 16:21:54 -07:00
Gregory Szorc
1340edfe51
Bug 899792 - Establish precompile tier and move IPDL and WebIDL build rules; r=glandium
...
A new build tier is introduced: precompile. The intention is to replace
the export subtier with something better and nonrecursive. IPDL and
WebIDL code generation have been moved into this new tier and are
performed concurrently. This appears to reduce build times due to fewer
"single threaded" build actions.
The subtier tracking UI has been updated to reflect operations that can
occur in parallel. As subtiers are started, they turn yellow. They can
then complete in any order.
Nonrecursive targets have been added to preserve the IPDL and WebIDL
build targets such that developers can type |make| from leaf directories
like they have always done.
2013-07-30 17:00:24 -07:00
Nathan Froyd
9f3c9da996
Bug 629668 - make ipdl.py check timestamps to determine whether parsing/codegen is necessary; r=bent
2013-07-22 14:28:53 -04:00
Brian O'Keefe
f4815f2203
Bug 883502 - Part 1: Move 'chromium_config.mk' includes after rules.mk. r=gps
2013-07-04 08:28:43 -04:00
Trevor Saunders
f33ade0d68
bug 887483 - remove a bunch of useless assignments to FORCE_STATIC_LIB implied by LIBXUL_LIBRARY=1 r=mshal
2013-07-11 11:06:34 -04:00
David Zbarsky
4228506a7b
Bug 885804: IPDL unit test changes r=benjamin
2013-07-08 11:48:40 -04:00
David Zbarsky
554ba1b8b7
Bug 885804: Change IPDL codegen to rename (De)allocPFoo functions to (De)allocPFoo(Parent|Child) r=jlebar
2013-07-08 11:48:39 -04:00
Mike Shal
d5df6bb361
Bug 868536 - Move ipdl.mk files to moz.build; r=gps
...
Author: Mike Shal <mshal@mozilla.com>
2013-07-01 09:56:28 -04:00
David Anderson
3b7c85be1b
Add urgent message semantics to IPC and IPDL (bug 867013, r=cjones).
2013-07-02 20:37:33 -07:00
David Anderson
2d21f2b922
Remove unused run-to-completion feature in IPDL (bug 876989, r=cjones).
2013-07-02 11:22:18 -07:00
Kan-Ru Chen (陳侃如)
c3c04eb5f3
Bug 783451 - Add ipdl testcases. r=bent DONTBUILD
...
--HG--
extra : rebase_source : 7943a9f7d594a5790782c3f37b5bda46ae1a30cc
2013-06-13 13:53:38 +08:00