Andrew McCreight
1ee96e7527
Back out Bug 1127201 (part 2) for various problems.
2015-02-06 15:04:32 -08:00
Nicholas Nethercote
0a02b5d31c
Bug 1127201 (part 2) - Convert all NS_ABORT_IF_FALSE calls to MOZ_ASSERT. r=Waldo.
2015-02-04 20:05:36 -08:00
Bill McCloskey
5ba8672d8d
Bug 1124933 - Include crash reason when intentionally crashing content process (r=bent)
2015-02-03 09:09:27 -08:00
Bill McCloskey
19d59d9b7d
Bug 1109884 - Stop using intr messages in PContent (r=bent)
2015-01-28 11:53:46 -08:00
Bill McCloskey
033932ef23
Bug 1122956 - Convert IPDL tests to take move references (r=bent)
2015-01-20 15:42:54 -08:00
Kyle Huey
2a6f8887b5
Bug 1121673: Use move references in IPDL. r=bent
2015-01-16 11:58:52 -08:00
Ben Turner
e24cea970b
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
4166912b94
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
5c7191833d
Bug 1110938 - Add timeout for CPOWs (default to 0) (r=dvander)
2014-12-18 17:35:44 -08:00
Aaron Klotz
088b6f7cea
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
55664fc13b
Backed out changeset f0d4cb5f206c (bug 1112827) for Mulet permacrashing.
2014-12-18 15:26:05 -05:00
Aaron Klotz
3dd8179fca
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
d91f8be45f
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
8d2cd156d2
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
4ad7bb755e
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
c1cc69a5f5
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
21ec48314e
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
b24f7a07cd
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
425175f713
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
147fca0f92
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
f7ae46e404
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
8fd95ad480
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
09a25cf98d
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
d114809709
Bug 1050604 - Get IPDL tests passing again (r=bent)
2014-08-20 12:49:11 -07:00
Bill McCloskey
805cf2f72c
Bug 1051128 - Allow filtering the IPC log by toplevel protocol name (r=bent)
2014-08-20 12:49:11 -07:00
Andrew McCreight
988482f7ec
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
3e0683ed51
Bug 1024795, part 3 - Generate nsTArray instead of InfallibleTArray in lower.py. r=bent
2014-08-13 11:36:15 -07:00
Andrew McCreight
a836c88feb
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
e6a29c5ef9
Bug 1024795, part 1 - Remove trailing whitespace from lower.py. r=bent
2014-08-13 11:36:14 -07:00
Andrew McCreight
ee1fab359e
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
cbe32e4bb3
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
d86ff9f990
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
42f57b6138
Bug 1043802 - Remove TOOLS_DIRS and TEST_TOOLS_DIRS. r=gps
2014-07-29 08:55:55 +09:00
Ehsan Akhgari
487b4a7d12
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
03b34d364e
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
80b2b77705
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
9d809355a1
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
7ca0de0fb4
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
171507509c
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
5659a611dd
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
83678d3e16
Bug 1038523 - Make IPDL generate nullptr for ExprLiteral.NULL. r=bent
2014-07-15 12:46:52 -07:00
Chris Lord
267d9cc4c4
Bug 1012639 - Fix OtherProcess sometimes being the current process handle. r=bent
2014-06-11 14:51:12 +01:00
"Kan-Ru Chen (陳侃如)"
0896e79e4f
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
928e1cef59
Bug 1007203 - Always add categories when pushing to the pseudostack, r=djvj
2014-05-23 17:12:29 -04:00
Josh Aas
19b6310951
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
b1cf622c45
Bug 990764 - Replace MOZ_ASSUME_UNREACHABLE in ipdl. r=bsmedberg
2014-04-27 18:56:03 -07:00
Ben Turner
f2269cd9d5
Bug 1006128 - Fix IPDL unit tests after bug 960774, r=bsmedberg.
2014-05-08 14:49:41 -07:00
Josh Aas
797cbb164f
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
7a6994917f
Bug 960774: Make ActorDestroy pure virtual on the parent side, require implementation. r=bent
2014-05-02 14:49:02 -05:00
Bill McCloskey
557cd8abf0
Bug 986317 - Stop exposing urgent semantics in IPDL files (r=bent)
2014-04-03 13:29:11 -07:00