Mike Hommey
8fd06cf41b
Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal
2013-11-27 22:55:07 +09:00
Mike Hommey
b32a4ed166
Backout changeset 3fd4b546eed4 (bug 874266) and changeset a35d2e3a872f (bug 942043) for ASAN build bustage and Windows test bustage
...
--HG--
extra : amend_source : f20d09aeff1c8b5cbd0f1d24c7ce04e86f3aed1d
2013-11-28 14:24:05 +09:00
Mike Hommey
682364d535
Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal
2013-11-28 13:08:16 +09:00
Ehsan Akhgari
a903aefdc0
Backed out 9 changesets (bug 943660, bug 936964) because of ASAN use-after-free crashes on browser-chrome and mochitest-other
...
Backed out changeset 85486c4aa3d8 (bug 936964)
Backed out changeset 25312eb71998 (bug 936964)
Backed out changeset 6dbb8333960c (bug 936964)
Backed out changeset da6465ad476f (bug 936964)
Backed out changeset a87ffc992f38 (bug 936964)
Backed out changeset 4ae3a61182db (bug 936964)
Backed out changeset 34e9c3137804 (bug 936964)
Backed out changeset fd1459e71585 (bug 936964)
Backed out changeset 3e8a701d8bdc (bug 943660)
Landed on a CLOSED TREE
--HG--
rename : content/canvas/src/WebGLMemoryTracker.h => content/canvas/src/WebGLMemoryReporterWrapper.h
2013-11-27 20:05:00 -05:00
Nicholas Nethercote
bc475c75df
Bug 936964 (part 7) - Make lots of classes report their own memory consumption, instead of using a separate reporter class. r=mccr8,sr=bz.
...
--HG--
rename : content/canvas/src/WebGLMemoryReporterWrapper.h => content/canvas/src/WebGLMemoryTracker.h
extra : rebase_source : 611e8d35907959b163aeced1c4ffe1d265048fe6
2013-11-07 16:35:30 +11: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
Ehsan Akhgari
2bca7b6102
Bug 941417 - Build ipc/glue in unified mode; r=bent
2013-11-22 13:53:02 -05:00
Ryan VanderMeulen
7c4875ed06
Merge m-c to fx-team.
2013-11-21 15:55:03 -05:00
Yoshi Huang
b94bfb6a50
Bug 939052 - B2G NFC: NFC socket callback prints too much log. r=vicamo
2013-11-21 12:23:36 +08:00
Chris Kitching
36c7d139c0
Bug 913985: Part 5 - Refactor the Bridge to use the generated code. r=kats
2013-11-12 10:41:01 -08:00
Landry Breuil
19377b785e
Bug 931354: OpenBSD doesn't provide arc4random_addrandom anymore, fix libevent accordingly by #ifndef'ing out its caller evutil_secure_rng_add_bytes() (which isnt called anywhere) r=joshaas
2013-11-19 17:48:30 +01:00
Nathan Froyd
155da715db
Bug 939109 - remove stray debugging statement; r=ehsan
2013-11-15 10:15:53 -05:00
Ehsan Akhgari
84a8a1d796
Bug 939538 - Build parts of the ipc code in unified mode; r=glandium
2013-11-19 07:38:59 -05:00
Eddy Bruel
afa82c35ec
Bug 938907 - Get rid of the compile and go flag on ContextOptions; r=bholley
2013-11-19 12:41:42 +01: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
Tom Schuster
4478f5b384
Bug 933834 - Rename and handlify JS_ValueToString. r=terrence,bz
2013-11-16 13:31:36 +01:00
Ms2ger
cca4d45da6
Backout changesets ded0d64f6786:03f041d03f24 and 30cbd1abde1a (bug 935696, bug 933834 and bug 939194) for build bustage.
2013-11-17 16:39:25 +01:00
Tom Schuster
bc757ef965
Bug 933834 - Rename and handlify JS_ValueToString. r=terrence,bz
2013-11-16 13:31:36 +01:00
Peiyong Lin
e4eccdece6
Bug 933821 - Replace IPC_ASSERT(MSG_ROUTING_NONE != msg->routing_id(), "need a route") with PrintMessageRouteError. r=bent
2013-11-14 15:24:18 -05:00
Chuck Lee
e76deb33e9
Bug 930398 - Use ScopedCERTCertificate instead. r=keeler
2013-11-12 10:07:21 +08:00
Ryan VanderMeulen
90c46b963f
Merge m-c to b2g-inbound.
2013-11-05 15:37:26 -05:00
Kyle Huey
eab1dbcdec
Bug 932154: Define postRILMessage with the right argument count. r=vicamo
2013-11-05 22:16:39 +08:00
Garner Lee
7105874117
Bug 933635 - Part 3: NFC IPC Sources. r=yoshi
2013-11-01 17:45:46 +08:00
Garner Lee
994bbe133b
Bug 933635 - Part 1: NFC IPC Makefiles. r=khuey
2013-11-01 14:52:59 +08:00
Jaroslav Kopecký
32064a3ca2
Bug 933672 - Make sure in-tree libevent isn't built --with-system-libevent. r=glandium
2013-11-04 14:53:29 -05: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
Tom Schuster
822b70dad6
Bug 933946 - Remove the rest of the old number conversion functions from SpiderMonkey. r=terrence
2013-11-02 13:48:09 +01:00
Brian R. Bondy
152817226f
Bug 928042 - Add an environment variable to disable content processes sandboxing even when MOZ_CONTENT_SANDBOX is defined. r=aklotz
2013-11-01 19:09:45 -07:00
Tom Schuster
37ee9de83c
Bug 933810 - Really remove JS_ValueToECMAUint32. r=terrence f=mccr8
2013-11-01 20:44:05 +01:00
Brian R. Bondy
eba93af7a1
Bug 925571 - Initial Windows content process sandbox broker code. r=aklotz
2013-10-30 16:58:52 -07:00
Brian R. Bondy
1dbd236c5c
Bug 925571 - Initial Windows sandbox target process (plugin-container) code. r=aklotz
2013-10-30 16:58:49 -07:00
Brian R. Bondy
4c0646b2d2
Bug 925571 - Build config for plugin_container windows sandboxing. r=bsmedberg
2013-10-30 16:58:45 -07:00
Phil Ringnalda
96576825a4
Back out 05be2f73979e (bug 902755) on suspicion of causing Mac debug mochitest-2 assertions
...
CLOSED TREE
2013-10-31 23:39:28 -07:00
Drew Willcoxon
613ec93e22
Bug 902755 - Fix deadlock in mozilla::ipc::GeckoChildProcessHost::LaunchAndWaitForProcessHandle exposed by turning on new tab page thumbnails. r=bent
2013-10-30 17:39:01 -07:00
Daniel Holbert
4908bbab5e
Bug 926275: Remove mozalloc_macro_wrappers.h and mozalloc_undef_macro_wrappers.h. r=bsmedberg
2013-10-31 19:39:03 -07: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
5e41d2d75c
Bug 932197 - Put QT generated files in GENERATED_SOURCES. r=gps
2013-11-01 10:30:45 +09:00
Mike Hommey
84fe98b48f
Bug 870406 part n - Move more CSRCS to moz.build. r=mshal
2013-11-01 10:30:45 +09:00
Bhargav Gurappadi
2c0c3504dc
Bug 931306 - DBusThread fails to compile on latest compilers. r=tzimmermann, r=qDot
2013-10-25 19:37:57 -07:00
Ed Morley
c4fca9c7f5
Merge mozilla-central and b2g-inbound
2013-10-29 16:34:46 +00:00
Thomas Zimmermann
8fa9db905d
Bug 930952: Dispatch DBus messages after reading socket, r=qdot
...
DBusWatcher::Poll currently breaks after reading DBus data from the
socket. Thus, it never processes the data and dispatches the DBus
messages. This patch fixes the code to dispatch DBus messages after
reading the DBus socket.
2013-10-29 17:19:02 +01:00
Thomas Zimmermann
4a057a1cc6
Bug 931038: Remove blocking DBus interface, r=qdot
...
All blocking calls to DBus have been replaced by non-blocking
code. This patch removes the corresponding DBus interfaces.
2013-10-29 11:08:16 +01:00
Vicamo Yang
8d3ece0bda
Bug 920551 - 2.h/2: fix dom/system/gonk/*. r=hsinyi,khuey
2013-10-29 16:12:45 +08:00
Chuck Lee
426f29ec3a
Bug 928223 - 0002. Change keystore socket permission after created. r=qDot
2013-10-25 10:00:24 +08:00
Chuck Lee
f497343dae
Bug 928223 - 0001. Add function to perform setup for listen socket. r=qDot echou vicamo yoshi
2013-10-25 10:00:22 +08:00
Ed Morley
ae834488ea
Merge mozilla-central and b2g-inbound
2013-10-25 12:12:23 +01: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
Mike Hommey
65c4700367
Bug 930380 - Make sure *SOURCES only point to existing files. r=gps
2013-10-25 07:58:17 +09:00
Ed Morley
1c00b1ecce
Backed out changeset a8ee7948d5cf (bug 920551)
2013-10-25 10:52:20 +01:00
Thomas Zimmermann
12d460ff0c
Bug 927859: Cleanup DBus thread after DBusWatcher, r=qdot
...
This patch changes the DBus shutdown to only cleanup the DBus
thread from the main thread after DBusWatcher has completed.
This should ensure that the main thread will not have to wait
for the DBus thread.
--HG--
extra : rebase_source : 09ebb40a4e515ef5b0ebddfc1c3b7187cc546313
2013-10-25 09:31:20 +02:00
Thomas Zimmermann
2e75a7ff29
Bug 927459: Move helpers to DBusWatcher, r=qdot
...
PollFdComparator, DBusEventTypes and flag conversion are only used by
DBusWatcher. This patch moves them into DBusWatcher's namespace.
--HG--
extra : rebase_source : 688403e55e139440e6d6d28e9802f8a48d7c355d
2013-10-25 09:31:04 +02:00
Thomas Zimmermann
e8483fe5b4
Bug 927459: Add DBusWatcher::Stop, r=qdot
...
The Stop method encapsulates the code for sending the exit command
to a running DBus watcher.
--HG--
extra : rebase_source : 6963e6fa60b2e1e725046672a45cd325fc40a836
2013-10-25 09:30:54 +02:00
Thomas Zimmermann
1eb2f04402
Bug 927459: Move poll functionality to DBusWatcher, r=qdot
...
The DBus poll functionality is actually part of DBusWatcher. This
patch moves it to a class method.
--HG--
extra : rebase_source : 012813cf1d0967d6c29f7e085e49940570e1d58d
2013-10-25 09:30:20 +02:00
Thomas Zimmermann
b584b3dcc1
Bug 927459: Cleanup DBusThread, r=qdot
...
This patch renames DBusThread to DBusWatcher to make its purpose
more clear. Several callback functions for DBus are converted to
methods of DBusWatcher. Their POSIX calls are now protected by
TEMP_FAILURE_RETRY.
--HG--
extra : rebase_source : d8c6963aa8388c462917180d78e8e4289f9e987a
2013-10-25 09:30:09 +02:00
Vicamo Yang
3dc0e9eff0
Bug 920551 - 2.h/2: fix dom/system/gonk/*. r=hsinyi,khuey
2013-10-25 11:07:44 +08:00
Mike Hommey
59a17d0f20
Bug 921492 - Make StrictOrderingOnAppendList use actual alphabetical sorting. r=mshal,r=gps
2013-10-24 08:05:43 +09:00
Mike Hommey
3fa7456cd6
Bug 913268 - Make CPP_SOURCES a StrictOrderingOnAppendList. r=mshal
2013-10-24 08:00:23 +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
Birunthan Mohanathas
6f158bc61c
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
6fdf08afa3
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
4471a0f8e1
Bug 880610: Part1-Add build flag to support both bluez/bluedroid stacks, r=glandium
2013-10-23 14:12:24 +08:00
Wes Kocher
e88d48b47d
Merge m-c to inbound
2013-10-21 20:47:53 -04:00
Wes Kocher
b55c225d41
Merge b2g-inbound to m-c
2013-10-21 20:30:58 -04:00
Eric Chou
71f1f5760b
Backed out changeset 089f015f15bb and e907ab075ec8 (bug 880610) for hitting MOZ_ASSERT
2013-10-19 16:01:25 +08:00
David Anderson
965debdfce
Fix landing fail for bug 901789 (bug 924121, r=bsmedberg).
2013-10-21 16:19:40 -07:00
Carsten "Tomcat" Book
f1d2ae53bc
Merge mozilla-central to mozilla-inbound
2013-10-18 14:13:10 +02:00
Landry Breuil
42962ccf95
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
cae6b0cfa1
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
633b78e812
Bug 880610: Part1-Add build flag to support both bluez/bluedroid stacks, r=glandium
2013-10-17 18:25:50 +08:00
Joshua Cranmer
bd929500c8
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
6d24fd2a5a
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
21157d1bc8
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
f8232ebf63
Debugging patch for bug 924771, landed on a CLOSED TREE
2013-10-19 13:35:13 -04:00
Chuck Lee
7b2fe4746e
Bug 789217 - 0002. Implement keystore. r=qdot
2013-10-01 12:09:56 +08:00
Chuck Lee
7fed368107
Bug 789217 - 0001. Add skeleton for keystore. r=khuey
2013-10-01 12:09:54 +08: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
Eric Chou
f74cec73ba
Bug 923369 - Return true when RawDBusConnection::SendWithError() executed without any error, r=tzimmerman, r=qdot
2013-10-05 14:35:00 +08:00
Ms2ger
4c35b806f8
Merge m-c to inbound.
2013-10-03 11:09:17 +02: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
Ms2ger
b84550061a
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
391b5cf7a5
Merge m-c to inbound.
2013-10-01 17:23:59 -04:00
Ed Morley
8d280b8489
Merge mozilla-central and b2g-inbound
2013-10-01 12:00:25 +01:00
Thomas Zimmermann
da3e8bf216
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
51354b7c07
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
d87cf6c017
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
3f954a3b6a
Bug 920397 part 3 - Ensure PContentParent doesn't close process handles multiple times. r=bsmedberg
2013-10-01 10:56:16 +10:00