Mike Hommey
d49305a881
Bug 930350 - Fix --enable-ipdl-tests build. r=gps. DONTBUILD because NPOTB
2013-10-25 08:39:45 +09:00
Mike Hommey
f1c0c07862
Bug 929905 - Consolidate sources in moz.build. r=gps
2013-10-25 08:23:05 +09:00
Mike Hommey
df8861ae74
Bug 930380 - Make sure *SOURCES only point to existing files. r=gps
2013-10-25 07:58:17 +09:00
Brian O'Keefe
0cbcd904c7
Bug 928709 - Convert chromium-config.mk to mozbuild, r=mshal
2013-10-02 13:17:55 -04:00
Mike Hommey
80c623bb6a
Bug 921492 - Make StrictOrderingOnAppendList use actual alphabetical sorting. r=mshal,r=gps
2013-10-24 08:05:43 +09:00
Mike Hommey
5072f65f8c
Bug 913268 - Make CPP_SOURCES a StrictOrderingOnAppendList. r=mshal
2013-10-24 08:00:23 +09:00
Birunthan Mohanathas
de354c9745
Bug 784739 - Switch from NULL to nullptr in miscellaneous directories; r=ehsan
...
--HG--
extra : rebase_source : 9335e9b4b0ac02e8066fbb79797bbc0d3fd73874
2013-10-23 16:36:09 -04:00
Shawn Huang
0b5010268a
Bug 880610: Part2-Add build flag in UnixSocket to distinguish between bluez and bluedroid stack, r=echou
2013-10-23 14:12:24 +08:00
Shawn Huang
9f3225665a
Bug 880610: Part1-Add build flag to support both bluez/bluedroid stacks, r=glandium
2013-10-23 14:12:24 +08:00
Wes Kocher
02bb5311e9
Merge m-c to inbound
2013-10-21 20:47:53 -04:00
Wes Kocher
2b22f99965
Merge b2g-inbound to m-c
2013-10-21 20:30:58 -04:00
Eric Chou
c886826721
Backed out changeset 089f015f15bb and e907ab075ec8 (bug 880610) for hitting MOZ_ASSERT
2013-10-19 16:01:25 +08:00
David Anderson
0051e6ec1d
Fix landing fail for bug 901789 (bug 924121, r=bsmedberg).
2013-10-21 16:19:40 -07:00
Carsten "Tomcat" Book
9d22415bcf
Merge mozilla-central to mozilla-inbound
2013-10-18 14:13:10 +02:00
Landry Breuil
d724c4a1c5
Bug 927810: Fix ipc/chromium after p_psflags changes in struct kinfo_proc on OpenBSD. r=glandium
2013-10-18 11:13:45 +02:00
Shawn Huang
1ccf4eb5bd
Bug 880610: Part2-Add build flag in UnixSocket to distinguish between bluez and bluedroid stack. r=echou
2013-10-17 18:25:55 +08:00
Shawn Huang
09b63ac029
Bug 880610: Part1-Add build flag to support both bluez/bluedroid stacks, r=glandium
2013-10-17 18:25:50 +08:00
Joshua Cranmer
df0c3131ef
Bug 900526, part 4: Migrate FINAL_TARGET and XPI_NAME to moz.build, r=gps
2013-10-21 13:09:06 -05:00
Nicholas Cameron
548c11e7a9
Bug 925317. Check shmems are tracked whenever we send them across IPC. r=BenWa,bent
2013-10-21 16:23:42 +02:00
Ehsan Akhgari
a4c1dfde2f
Backed out changeset 5373095214d9 (debugging patch for bug 924771) because it is no longer needed
2013-10-20 09:24:06 -04:00
Ehsan Akhgari
6443188e39
Debugging patch for bug 924771, landed on a CLOSED TREE
2013-10-19 13:35:13 -04:00
Chuck Lee
dc0e7e60b5
Bug 789217 - 0002. Implement keystore. r=qdot
2013-10-01 12:09:56 +08:00
Chuck Lee
c17005a2a8
Bug 789217 - 0001. Add skeleton for keystore. r=khuey
2013-10-01 12:09:54 +08:00
Daniel Holbert
3c8b2d8dd4
Bug 925243: Mark ipc/ipdl as FAIL_ON_WARNINGS. r=ehsan
2013-10-10 13:44:13 -07:00
Cervantes Yu
5d06311c30
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
7289391ff5
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
Eric Chou
d743b77e70
Bug 923369 - Return true when RawDBusConnection::SendWithError() executed without any error, r=tzimmerman, r=qdot
2013-10-05 14:35:00 +08:00
Ms2ger
ae8c899faf
Merge m-c to inbound.
2013-10-03 11:09:17 +02:00
Ms2ger
df62fb8b0f
Bug 900980 - Part a: Move unconditional assignments to EXPORT_LIBRARY to moz.build; rs=gps
2013-10-03 09:11:13 +02:00
Ms2ger
17e959d672
Bug 912099 - Part b: Make sure CPP_SOURCES only points to existing files in ipc/chromium; r=mshal
2013-10-03 09:10:00 +02:00
Ryan VanderMeulen
39c9f02fea
Merge m-c to inbound.
2013-10-01 17:23:59 -04:00
Ed Morley
1bc08e0439
Merge mozilla-central and b2g-inbound
2013-10-01 12:00:25 +01:00
Thomas Zimmermann
b951e3bea6
Bug 919913: Introduce DBusReplyCallback, r=qdot,echou
...
DBusReplyCallback replaces the removed DBusCallback as type for
reply-handler functions. Bluetooth, the only user of DBus, has
been updated as well.
2013-10-01 10:20:55 +02:00
Thomas Zimmermann
b5e7a17af5
Bug 919913: Cleanup DBusUtils, r=qdot
...
This patch cleans up the DBus utilitys and helper classes. All functions
for sending have been removed. Their users have been converted to the
new methods in RawDBusConnection. Include statements have been cleaned
up as well. Some methods of DBusMessageRefPtr have been moved from the
header to the source file to prevent inclusion of the DBus API from within
the header file.
2013-10-01 10:20:39 +02:00
Thomas Zimmermann
59b461412b
Bug 919913: Add send methods to RawDBusConnection, r=qdot
...
This patch adds methods for sending DBus messages to the class
RawDBusConnection. There are 3 types of interfaces.
- Send Sends a message over DBus. No error checking or
handling of replies is performed. These methods
do not block the sending thread.
- SendWithReply Sends a message over DBus and runs a call-back
function for the reply. This should be the default
case for most scenarios. These methods do not
block the sending thread.
- SendWithError Sends a message over DBus and waits for the reply
or an error. This interface has only been added for
some existing code that can safely block the sending
thread. Don't use it in new code.
These 3 types of interfaces represent what is currently used of the
existing send functions in DBusUtils. When all users have been converted
to the new methods, the interfaces in DBusUtils can be removed.
2013-10-01 10:20:21 +02:00
Mark Hammond
8385e334b6
Bug 920397 part 3 - Ensure PContentParent doesn't close process handles multiple times. r=bsmedberg
2013-10-01 10:56:16 +10:00
Mark Hammond
9a336633c1
Bug 920397 part 2 - MessageChannel::~MessageChannel() now asserts that closing the handle succeeded. r=bsmedberg
2013-10-01 10:56:16 +10:00
Mark Hammond
91247a80e1
Bug 920397 part 1 - base::CloseProcessHandle() checks result in debug builds and is used everywhere a process handle is closed. r=bsmedberg
2013-10-01 10:56:15 +10:00
David Anderson
9579f654ae
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
ec406ac440
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
Ryan VanderMeulen
2a773817b4
Merge m-c to inbound.
2013-09-30 16:51:06 -04:00
Benjamin Smedberg
13993a098f
Bug 920695 part A - move xpcshell code into libxul and make the xpcshell binary just a stub, r=bholley
...
--HG--
rename : js/xpconnect/shell/xpcshell.cpp => js/xpconnect/src/XPCShellImpl.cpp
rename : js/xpconnect/shell/jsshell.msg => js/xpconnect/src/jsshell.msg
extra : rebase_source : 9a2ab7508e3cb7a6bfec6b1e98f49799221d1376
2013-09-30 16:09:28 -04:00
Vicamo Yang
23ddf2938b
Bug 919982: B2G RIL - read Gonk property "ro.moz.ril.numclients" instead. r=hsinyi
2013-09-30 17:24:54 +08:00
Nathan Froyd
afbaf51de8
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
9126a16e06
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
9af725998a
Introduce new RPC messaging semantics (bug 910493 part 1, r=cjones).
2013-10-01 09:15:03 -07:00
David Anderson
8cd94ee096
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
Ryan VanderMeulen
0cfa34ad65
Backed out 6 changesets (bug 913985) for suspicion of causing intermittent Android crashes on a CLOSED TREE.
...
Backed out changeset de21920d2b8e (bug 913985)
Backed out changeset f0f5497d65bb (bug 913985)
Backed out changeset 1e16ca4ad801 (bug 913985)
Backed out changeset 9c069a0820ea (bug 913985)
Backed out changeset 274df3abc991 (bug 913985)
Backed out changeset 05fe8b17516a (bug 913985)
--HG--
rename : build/annotationProcessors/AnnotationInfo.java => build/annotationProcessors/MethodWithAnnotationInfo.java
rename : build/annotationProcessors/utils/AlphabeticAnnotatableEntityComparator.java => build/annotationProcessors/utils/AlphabeticMethodComparator.java
rename : build/annotationProcessors/utils/GeneratableElementIterator.java => build/annotationProcessors/utils/GeneratableEntryPointIterator.java
rename : mobile/android/base/mozglue/generatorannotations/WrapElementForJNI.java => mobile/android/base/mozglue/GeneratableAndroidBridgeTarget.java
rename : mobile/android/base/mozglue/generatorannotations/OptionalGeneratedParameter.java => mobile/android/base/mozglue/OptionalGeneratedParameter.java
2013-09-27 17:02:09 -04:00
Nathan Froyd
ddb736dd1b
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
1d1dd733fb
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