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