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

569 Коммитов

Автор SHA1 Сообщение Дата
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