Thomas Zimmermann
91e69fce4d
Bug 830704: Delete UnixSocketImpl instance after SocketReceiveTasks completed [r=qdot]
...
The Bluetooth system internally uses UnixSocketImpl when transfering
files. When Bluetooth gets disabled during a file transfer, the IPC code
deletes any related instance of UnixSocketImpl. This can happen before all
pending SocketReceiveTasks have been processed by the main thread. The
implementation of SocketReceiveTask uses a reference to the instance of
UnixSocketImpl that has just deen disabled. This results in a segmantation
fault.
This patch fixes the problem by scheduling the delete operation for
UnixSocketImpl to be executed after any pending SocketReceiveTasks.
2013-01-16 10:21:49 +08:00
Landry Breuil
01d2dc34a6
Bug 830303 - Fix plugin-container LD_LIBRARY_PATH on BSD (regression from 753046) r=cjones
2013-01-14 22:38:17 +01:00
Oleg Romashin
35336671d7
Bug 826979 - jsfriendapi.h conflict with qobjectdefs.h slots defines. r=glandium
...
--HG--
extra : rebase_source : d30852a09858b4f6d62fee627c0dc08ef765dcd8
2013-01-11 15:06:36 -08:00
Ben Turner
718acf667b
Bug 827749 - Aggressively duplicate file handles. r=cjones.
2013-01-10 19:15:57 +01:00
Jared Wein
03ee54ac2c
Backed out changeset 3aa492e39918 (bug 827749) for failing all tests OS X.
2013-01-10 14:15:25 -05:00
Ben Turner
85ef82a896
Bug 827749 - Aggressively duplicate file handles. r=cjones.
2013-01-10 19:15:57 +01:00
Thomas Zimmermann
c5373c0597
Bug 827888: Explicitly call notifier if DBUS call completes early [r=echou,qdot]
...
If a DBUS call completes before we can set the notifier function, the
call's response never gets handled. To workaround this problem, we now
call the notifier explicitly if the call completes this early.
It can still happen that the call's response gets lost, but this
workaround greatly improves the success rate for our problem of handling
errors during Bluetooth device pairing; from maybe 10% to 75%.
2013-01-10 07:55:43 -08:00
Ben Turner
270aaf3c94
Backout f3b6bc4b2590 (Bug 827749) for test failures.
2013-01-10 13:54:27 +01:00
Ben Turner
73919a9923
Bug 827749 - Aggressively duplicate file descriptors. r=cjones.
2013-01-10 13:00:17 +01:00
Bas Schouten
fd252a586b
Bug 827825: Make mOtherProcess the current process for single-process IPDL protocols. r=cjones
2013-01-09 18:42:58 +01:00
Chris Jones
c5838870ff
Bug 828285: Run camera with lower privileges. r=dhylands a=overholt
2013-01-09 14:50:25 +01:00
Nathan Froyd
96c005f6f9
Bug 826439 - use floats instead of doubles for exponential histogram statistic calculations; r=vdjeric
2013-01-03 16:21:44 -05:00
Chris Jones
19cc88082d
Bug 824224: Always log protocol errors. r=bent
2013-01-04 13:28:37 -08:00
Ed Morley
aa4c0c0f58
Backout 6e391f971a13 (bug 826439) for xpcshell failures
2013-01-04 16:07:27 +00:00
Nathan Froyd
87d872a38f
Bug 826439 - use floats instead of doubles for exponential histogram statistic calculations; r=vdjeric
2013-01-03 16:21:44 -05:00
Nathan Froyd
8afc4b1941
Bug 819418 - part 1 - be more selective in exporting aggregate statistics; r=vdjeric
2012-12-07 14:02:39 -05:00
Chris Jones
fb825fe86d
Rollup of bug 821192: Ensure that content processes don't see an inconsistent app dir. r=bent,dhylands
...
Bug 821192, part 1: Fix the watchdog timeout code. r=dhylands
Bug 821192, part 2: Add an interface to join all live content processes. r=bent
Bug 821192, part 3: Join all subprocesses before restarting the main process, when we're e.g. about to apply an update. r=dhylands
2012-12-28 01:45:16 -08:00
Daniel Holbert
6ffb1368fc
Bug 824140: Fix out-of-order init-list in Netd.cpp. r=slee
2012-12-23 19:12:15 -08:00
Chris Jones
5282f37ed8
Bug 823422: Make ipdl C++ unit tests compile again. r=jlebar
2012-12-20 11:54:00 -08:00
Landry Breuil
10b226aafe
Bug 823240 - include sys/proc.h on OpenBSD to access P_TRACED flag, needed since r1.127 of sys/sysctl.h. r=cjones
2012-12-20 13:46:39 +01:00
Kyle Machulis
e6a69d942f
Bug 811683 - Changed UnixSocketRawData to take variable sizes up to 64k, r=cjones
2012-12-20 18:36:55 +08:00
Chris Jones
8c70858d92
Bug 822510: Add specific privilege levels for camera and video, and enable that for video. r=jlebar,kang
2012-12-19 23:41:08 -08:00
Justin Lebar
c621ba81f7
Bug 819791 - Part 9: Use explicit TArray copy constructors in IPDL generated code. r=cjones
...
This cset makes two nop changes to generated IPDL code.
1) Change an instance of
InfallibleTArray<Foo> foo = InfallibleTArray<Foo>();
to
InfallibleTArray<Foo> foo;
2) Change an instance of
InfallibleTArray<Foo> foo = bar;
to
InfallibleTArray<Foo> foo(bar);
2012-12-18 20:16:07 -05:00
Justin Lebar
6fcdca9677
Bug 819791 - Part 2: Don't use nsTArray allocators in IPCMessageUtils traits. r=cjones
...
The allocators will be restricted to non-public use in a later patch.
2012-12-18 20:16:06 -05:00
Justin Lebar
63aae26bf9
Bug 819791 - Part 0: Deserialize fallibly in IPCMessageUtils.h. r=cjones
...
Comments in the code are asking for us to deserialize fallibly; it looks
like we just forgot to change this when we made nsTArray infallible.
2012-12-18 20:16:06 -05:00
Jim Mathies
d768d99a05
Bug 820200 - Pass application directory to XRE_InitEmbedding2 in content process. r=bsmedberg
2012-12-18 10:24:42 -06:00
Chris Jones
69d2831163
Bug 820560: Run unprivileged processes with different uids when possible. r=kang a=blocking-basecamp
2012-12-17 15:39:34 -08:00
Jeff Walden
120886ca73
Bug 820570 - Move mozilla::DebugOnly into DebugOnly.h to pare down the grab-baggish Util.h. r=Ms2ger
2012-12-14 18:58:45 -05:00
Thomas Zimmermann
0ac1adfcdf
Bug 817730: Abort connect if rilproxy is not ready [r=kyle]
...
When rilproxy is not ready for accepting connections, b2g might block
forever on connect. By setting the socket to non-blocking mode, connect
will fail and the task will return into the queue for later retry.
We see this problem on the PandaBoard, where no RIL is available and
rilproxy gets blocked by continuously failing to connect to rild. A
second fix should also go into rilproxy.
--HG--
extra : rebase_source : 25617875c9cb12e1259c0f1439aaf5d7c778619c
2012-12-11 14:56:36 +01:00
Andrew Halberstadt
d465ed739a
Bug 817122 - Disable failing B2G xpcshell tests, enable debugger tests, r=mdas
2012-12-12 16:17:49 -05:00
Nathan Froyd
d88529f8fd
Bug 819418 - part 0 - Histogram::SampleSet:Add needs to transfer all values, not just sum_; r=vdjeric
2012-12-07 14:52:19 -05:00
Nathan Froyd
e07b75aded
Bug 816166 - part 1 - record extra information on raw data collected in histograms; r=vdjeric
2012-11-30 15:49:49 -05:00
Ms2ger
0a0b1561d2
Bug 810668 - Fix some gcc4.6 build warnings; r=bz
2012-12-02 09:54:55 +01:00
Daniel Holbert
67db9abbd2
Bug 816888: Remove unused variable 'script' from XPCShellEnvironment.cpp. r=terrence
2012-11-30 09:59:01 -08:00
Chris Lord
3bdec04a47
Bug 783368 - Add critical display port content property. r=roc
...
Add a property to represent a sub-rectangle of the display port that is
considered 'critical' to render correctly.
2012-11-21 22:34:18 +00:00
Ehsan Akhgari
f90938a237
Backed out 11 changesets (bug 783368) because of build bustage on a CLOSED TREE
...
Backed out changeset 2bc4310263c4 (bug 783368)
Backed out changeset a35c83a8d99d (bug 783368)
Backed out changeset afb9b2a661ba (bug 783368)
Backed out changeset 3926f510f9be (bug 783368)
Backed out changeset 9d1fe200ff87 (bug 783368)
Backed out changeset b6e4f88f5730 (bug 783368)
Backed out changeset bc53f7dba7c6 (bug 783368)
Backed out changeset 1948fa2fccc1 (bug 783368)
Backed out changeset 9af163388fd1 (bug 783368)
Backed out changeset 7a2256e1aa7c (bug 783368)
Backed out changeset 4da1958a9885 (bug 783368)
2012-11-21 14:57:02 -05:00
Chris Lord
a231be5912
Bug 783368 - Add critical display port content property. r=roc
...
Add a property to represent a sub-rectangle of the display port that is
considered 'critical' to render correctly.
2012-11-21 19:16:51 +00:00
Vincent Chang
cc203cde52
Bug 810581 - Uninitialised value use in InitRndisAddress. r=jseward
2012-11-19 11:32:55 +08:00
Nicholas Nethercote
1cfc9de8d0
Bug 811596 - Shrink the IPC message buffer after each message is processed. r=cjones.
2012-11-19 20:52:44 -08:00
Nathan Froyd
5b83b06e4c
Bug 810332 - don't include <iostream> in ipc code where it's not necessary; r=cjones
2012-11-09 11:07:09 -05:00
Kartikaya Gupta
a0b20d27fa
Bug 808875 - Fix unused variable warning in file_util_posix.cc. r=mwu
2012-11-14 09:36:12 -08:00
Nathan Froyd
08d30b4c4a
Bug 811419 - fix accumulation of the zero bucket in flag histograms; r=taras
2012-11-13 14:55:02 -05:00
Ben Turner
27072c3f92
Bug 808743 - ' Better protection for PBrowser shutdown and database invalidation in multiprocess scenarios'. r=khuey+cjones.
...
--HG--
extra : transplant_source : %BD%E4%ADA%09%CE%D9%BE%1C%7C%7B%1A%FC%86%5C%13%24%29%B4%16
2012-11-09 19:29:07 -08:00
Nathan Froyd
8f18022d36
Backout fe44be80d09f (bug 810332) for Windows build bustage
2012-11-09 21:21:22 -05:00
Nathan Froyd
75a36e8700
Bug 810332 - don't include <iostream> in ipc code where it's not necessary; r=cjones
2012-11-09 11:07:09 -05:00
Terrence Cole
c458934d6c
Bug 805080 - Move more API users to CompileOptions; r=luke
...
There is no reason to have special methods for specific sets of CompileOptions
when the JS::Compile interface is so easy to use. Other API methods can be
moved internal or removed entirely with this change.
--HG--
extra : rebase_source : f48fb221ebe02c0137e521ea605953532808825d
2012-11-06 17:36:47 -08:00
Steven Lee
02b3275657
Bug 805478 - NetdClient and VolumeManager inherit MessageLoopForIO::LineWatcher. r=dhylands
2012-11-08 14:35:02 -05:00
Steven Lee
037e8307cf
Bug 805478 - Implement MessageLoopForIO::LineWatcher. r=dhylands
2012-11-08 14:35:02 -05:00
rmkn85
ea79da8beb
Bug 804511 - Use WT_EXECUTEDEFAULT instead of WT_EXECUTEWAITINTHREAD to avoid deadlocks while debugging. r=bent
2012-10-24 08:19:00 -04:00
rmkn85
105b851f98
Bug 804592 - "CreatePipe from Chromium IPC requires Logon Session, fails otherwise" [r=jones.chris.g]
2012-10-24 08:11:00 -04:00