Ginn Chen
e0fe4d34b6
Bug 837561 ReadInt16 and WriteInt16 should be paired r=benjamin
2013-02-18 15:19:03 +08:00
Ben Turner
fccc4a7e71
Bug 835698 - 'Pre-open() and send the fd for app process's application.zip'. r=jduell.
2013-02-15 14:27:21 -08:00
Nathan Froyd
ca45b07a60
Bug 837271 - part 1 - add means to control computation of extended statistics to histogram code; r=vladan
2013-02-13 10:31:25 -05:00
Makoto Kato
d53fd4d9d0
Bug 834645 - move -STACK parameter to config.mk. r=ted
2013-02-14 15:22:00 +09:00
Thomas Zimmermann
48d8b6a89f
Bug 836523 - Cleanup UnixSocketImpl from within I/O thread. r=qdot, r=echou
...
When closing a socket from within the main thread, we need to make
sure that the I/O thread does not operate on the related instance of
UnixSocketImpl.
With this patch, the main thread posts a SocketCloseTask to the I/O
thread. The SocketCloseTask removes the socket from the I/O thread's
list of watched file descriptors and dispatches an instance of
DeleteInstanceRunnable for the socket's UnixSocketImpl, which cleans
up the data structures. These steps serialize the close operation
within the I/O thread, and ensure that the main thread processed all
other dispatched runnables that may use the UnixSocketImpl.
2013-02-12 09:16:45 -05:00
Thomas Zimmermann
3f0ed71307
Bug 836523 - Wait for incoming connections in UnixSocketImpl. r=qdot, r=echou
...
The UnixSocketImpl currently polls the socket file descriptor while
listening for incoming connections and schedules itself to run again
if no connection requests have been received.
This behavior interferes with closing the socket and deleting the
socket structure in the main thread. It can happen that the I/O thread
dispatches a SocketAcceptTask to poll the listening socket and the
main thread dispatches a DeleteInstanceRunnable for the UnixSocketImpl,
such that the delete operation gets dispatched before the poll
operation. The latter then operates on the just deleted UnixSocketImpl.
With this patch, the I/O thread watches the listing socket for incoming
connection requests and only attempts to run accept when connection
requests are pending. This allows to serialize polling and close
operations within the I/O thread in a sound order.
A side effect of this patch is that we don't constantly run code for
polling the listing socket, which should result in less CPU overhead
and save battery power.
2013-02-12 09:16:45 -05:00
Thomas Zimmermann
41c3e00ba0
Bug 836523 - Protect mCurrentTaskIsCanceled by lock. r=qdot, r=echou
...
The main thread and the I/O thread concurrently access the field
mCurrentTaskIsCanceled in UnixSocketImpl. Protect it by a lock.
2013-02-12 09:16:45 -05:00
Trevor Saunders
a46f6fab8d
bug 834552 - remove a bunch of ipc/chromium/ that we don't even build r=bsmedberg
2013-01-22 11:55:07 -05:00
Jeff Walden
6400117085
Bug 826009 - Move locale callback info, default locale, etc. data and APIs to be JSRuntime-centered. f=bholley, r=jorendorff
...
--HG--
extra : rebase_source : 35317f4c29e9dd70e7d4fd1292027cfd51ce2675
2013-02-07 18:04:11 -08:00
Ryan VanderMeulen
46e64bb8b4
Backed out changeset 1646e649878a (bug 835698) for causing bug 839256.
2013-02-11 17:38:41 -05:00
Honza Bambas
a3e10fe7fa
Bug 822490 - Radically simplify windows TimeStamp implementation, r=tellrob
2013-02-11 22:56:58 +01:00
Ben Turner
ba03516e31
Bug 835698 - 'Pre-open() and send the fd for app process's application.zip'. r=jduell.
2013-02-09 17:59:47 +00:00
Ed Morley
55aeaf5840
Backout 1646e649878a (bug 835698) on suspicion of causing mochitest-1 shutdown hangs on Windows on a rather sad looking CLOSED TREE
2013-02-11 15:41:36 +00:00
Ben Turner
0a6bcfccca
Bug 835698 - 'Pre-open() and send the fd for app process's application.zip'. r=jduell.
2013-02-09 17:59:47 +00:00
Jason Duell
310b9a58b0
Backed out changeset 1a2e34c9ebc7 (bug 835698) a=bustage_from_bug_839688
2013-02-08 17:18:28 -08:00
Ben Turner
95daf24ed3
Bug 835698 - 'Pre-open() and send the fd for app process's application.zip'. r=jduell.
2013-02-01 04:23:23 -08:00
Phil Ringnalda
a59edaacfe
Back out 4b47185f48f8 (bug 835698) for Win debug crashes in test_jarchannel_e10s.js
2013-02-06 22:23:33 -08:00
ben turner
eee608fdc3
Bug 835698 - Pre-open() and send the fd for app process's application.zip r=jduell
2013-02-06 05:18:00 -08:00
Daniel Holbert
313b559876
Bug 838840: Mark ipc/unixsocket as FAIL_ON_WARNINGS. r=qDot
2013-02-06 16:39:36 -08:00
Daniel Holbert
6ca33d6109
Bug 838756: Fix out-of-order init list for UnixSocketImpl constructor. r=qDot
2013-02-06 12:44:04 -08:00
Vicamo Yang
726c0d58ed
Bug 814579: connect client socket by id. r=qDot
2013-02-04 21:26:43 +08:00
Vicamo Yang
fe5b33b489
Bug 826931 (follow-up): fix build break. r=me
...
1. include netdb.h for |gethostbyname|.
2. link mozipcunixsocket_s whenever MOZ_B2G_RIL is enabled.
2013-02-04 18:56:12 +08:00
Daniel Holbert
669a7077c9
back out 9a7369b9bc9d (bug 814579) for B2G Arm opt Mn & X orange
2013-02-02 00:01:25 -08:00
Vicamo Yang
0b69ea42e6
Bug 814579: connect client socket by id. r=qDot
2013-02-02 13:06:27 +08:00
Vicamo Yang
95c0116f41
Bug 826931 - Part 3/3: use mozilla::ipc::UnixSocket. r=qDot
2013-02-01 20:28:22 +08:00
Vicamo Yang
bab7d11b10
Bug 826931 - Part 2/3: UnixSocket - allow delayed connection. r=qDot
2013-02-01 20:28:18 +08:00
Vicamo Yang
3bf0d2e152
Bug 826931 - Part 1/3: UnixSocket - allow ownership take-over in ReceiveSocketData(). r=qDot,echou
2013-02-01 20:28:15 +08:00
Jeff Walden
a404bec687
Bug 836438 - Refactor IPC::ParamTraits specializations so that we don't have to manually guard against the possibility of multiple parameter types being the same type. r=ehsan
...
--HG--
extra : rebase_source : 9a3b8c13f9999cbdae025e87688bd6e95fef75f5
2013-01-31 14:08:16 -08:00
Eric Chou
016d8b06f6
Bug 836107 - Initialize mTask, a member variable of UnixSocketImpl, with nullptr, r=qdot
2013-01-31 22:43:45 +08:00
Benoit Jacob
23cb9e5f40
Bug 835920 - UnixSocket and Ril mis-interpret read() returning 0 as failure and enter infinite reconnect loop - r=kyle.machulis
2013-01-30 15:13:10 -05:00
Ben Turner
d48efc0c7a
Bug 834526, r=cjones.
2013-01-24 17:25:01 -08:00
Ben Turner
1a6771d8e6
Bug 831307 - Allow invalid file handles to not crash child processes. r=cjones.
2013-01-24 17:10:39 -08:00
Jan Beich
8fb239fc05
Bug 832723 - Unbreak build on BSDs after bug 786631. r=cjones
2013-01-25 10:10:12 -05:00
Ben Turner
43a7f16ee1
Bug 831307, add additional logging. r=cjones.
2013-01-23 15:57:05 -08:00
Ehsan Akhgari
f814391641
Bug 833359 - Disable PGO on ipc; r=bsmedberg a=me
2013-01-22 11:07:14 -05:00
Nicholas Nethercote
aac86acc69
Bug 394311 - Stop building with -pedantic. r=ted,dbaron.
...
--HG--
rename : content/svg/content/nsISVGPoint.cpp => content/svg/content/src/DOMSVGPoint.cpp
rename : docshell/test/browser/browser_bug234628-9.js => docshell/test/browser/browser_bug134911.js
rename : layout/reftests/w3c-css/submitted/values3/calc-background-image-gradient-1-ref.html => layout/reftests/css-calc/background-image-gradient-1-ref.html
rename : layout/reftests/w3c-css/submitted/values3/calc-background-image-gradient-1.html => layout/reftests/css-calc/background-image-gradient-1.html
rename : layout/reftests/w3c-css/submitted/values3/reftest.list => layout/reftests/css-calc/reftest.list
rename : layout/reftests/text/auto-hyphenation-10-ref.html => layout/reftests/text/auto-hyphenation-10.html
rename : layout/reftests/text/auto-hyphenation-8-ref.html => layout/reftests/text/auto-hyphenation-8.html
rename : layout/reftests/text/auto-hyphenation-9-ref.html => layout/reftests/text/auto-hyphenation-9.html
extra : rebase_source : 012df725d55b031ccc03d9bfcf785056d95a2ebe
2013-01-20 14:12:42 -08:00
Steve Fink
9effec722d
Bug 828753 - jsid rooting, mostly in jsinfer.*. Also switch JSObject from struct to class. r=terrence
2012-12-31 12:40:21 -08:00
Steve Fink
d8da3e7b9a
Backed out changeset fce4e0f8a553 (bug 828753) for breaking windows warnings-as-errors (stop adding JSObject forward decls, please!)
2013-01-18 13:20:21 -08:00
Steve Fink
0dee2fb42d
Bug 828753 - jsid rooting, mostly in jsinfer.*. Also switch JSObject from struct to class. r=terrence
...
--HG--
extra : rebase_source : c8806b27677594925ad0e6b54c47af5cf17e1153
2012-12-31 12:40:21 -08:00
Chris Jones
bc9b3368d7
Bug 786631, part 2: Make the prelaunch process totipotent and specialize when it's taken. r=jlebar
2013-01-17 12:06:36 -08:00
Chris Jones
e052c45293
Bug 786631, part 1: Refactor privilege adjustment. r=dhylands
2013-01-17 12:06:36 -08:00
Seth Fowler
ebfdae8fdb
Bug 824817 - Eliminate warnings in IPC code. r=cjones
2013-01-16 14:42:14 -08:00
Chris Jones
1d8beb4d30
Back out bug 786631
2013-01-17 12:50:13 -08:00
Chris Jones
d6f21e8891
Back out bug 786631
2013-01-17 12:49:56 -08:00
Chris Jones
75253fec80
Back out bug 786631
2013-01-17 12:49:42 -08:00
Chris Jones
61d931a487
Bustage fix for bug 786631: Need a win no-op too. r=me
2013-01-17 12:46:05 -08:00
Chris Jones
e97fb1ad7f
Bug 786631, part 2: Make the prelaunch process totipotent and specialize when it's taken. r=jlebar
2013-01-17 12:06:36 -08:00
Chris Jones
ee3cd37a6e
Bug 786631, part 1: Refactor privilege adjustment. r=dhylands
2013-01-17 12:06:36 -08:00
Charles Chan
b210139731
Bug 710989 - Fix possible memset underflow in Time::Explode(). r=cjones
2012-03-23 21:24:07 -07:00
Chris Jones
7eb129ce82
Bug 831307: Log breakpoint-level IPC errors always. r=dougt,jdm,jst a=blocking-b2g
2013-01-16 19:47:21 -08:00
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
Jonas Sicking
00c5245c10
Bug 806587: Restore getCodebasePrincipal since extensions use it. r=mounir
2012-10-30 22:24:41 +01:00
Terrence Cole
a80f8cc0af
Bug 805080 - Remove unused CESU8 support from SpiderMonkey; r=luke
...
We have many CESU8 paths in SpiderMonkey which are completely unused and
untested. We have many more "UTF-8" paths which are really mislabled CESU8 paths
and visa-versa. This patch attempts to disentable all of the various encoding
options in SpiderMonkey.
2012-10-29 13:55:17 -07:00
Bobby Holley
9176d2ad9c
Bug 797206 - Remove GetPrincipalFromContext. r=bz
2012-10-29 15:55:36 +01:00
Gina Yeh
bc0b8dce42
Bug 804436 - Patch 1 : Add listening status to UnixSocket, r=gyeh
2012-10-26 17:28:34 +08:00
Ehsan Akhgari
8e702f60c5
Backed out 2 changesets (bug 579517)
...
Backed out changeset 5298adc70963
Backed out changeset 86ccf7c918ce (bug 579517)
2012-10-25 12:32:24 -04:00
Ehsan Akhgari
f3c0ac7a23
Code hygiene: don't use PR_TRUE and PR_FALSE, and use stdint types instead of PRInt types (no bug really, but you could say bug 579517)
2012-10-25 11:48:19 -04:00
Bobby Holley
10241f928c
Bug 789224 - Separate certificate principals out from CAPS. r=dveditz
...
There's no longer any reason why "certificate principals" need to be principals at all.
I tried to rip them out entirely, but it looks like they're still used vestigially at XPI
install time to display author information. But there's no reason that they have to be
porkbarreled into the security-critical objects that we pass around all over the place.
So let's make them their own deal.
I was tempted to call them "certificate holders", but that would involve renaming methods and
cause more compat fuss than necessary.
--HG--
rename : caps/idl/nsISignatureVerifier.idl => security/manager/ssl/public/nsISignatureVerifier.idl
2012-10-22 08:29:56 +02:00
Bobby Holley
02f7765031
Bug 789224 - Remove capability manager stuff in nsScriptSecurityManager. r=mrbkap
2012-10-22 08:29:55 +02:00
Kyle Machulis
0d5aa7e492
Bug 800249 - Patch 2: Add ability to retreive connected socket address as a string; r=cjones
2012-10-17 17:11:05 -07:00
Kyle Machulis
f7cbae787d
Bug 800249 - Patch 1: Add ability to store/retrieve address to UnixSocket; r=cjones
2012-10-17 17:10:27 -07:00
Ehsan Akhgari
76e3d29305
Bug 801345 - Give MessageReplyDeserializer a virtual dtor since we delete the base class pointer; r=cjones
2012-10-14 11:11:04 -04:00
Dave Hylands
35f7597dc6
Bug 801362 - Fixed typo (>= s/b <=) introduced in bug 797239. r=cjones
2012-10-13 21:25:23 -07:00
Kyle Machulis
79986a727c
Bug 800247: Add disconnect events to UnixSocket, update Bluetooth*Manager; r=echou r=cjones
...
--HG--
extra : rebase_source : 809d46954baea51bf4053c3a48ce45b18b1a58e9
2012-10-12 11:38:14 -07:00
Ehsan Akhgari
d2c59cfd66
Silence two uninitialized variable warnings; no bug
2012-10-13 12:16:22 -04:00
Kyle Machulis
f9915e04e4
Bug 796176 - Patch 1: UnixSocket changes to get connect/listen running main thread, connect status to consumers; r=cjones
...
--HG--
extra : rebase_source : 7fa0ed00a2c4ad526412af4ae0081818a547e5f3
2012-10-10 22:48:40 -07:00
Bobby Holley
a9295dd2c0
Bug 797204 - Remove API. r=mrbkap
...
\o/
2012-10-10 11:01:26 +02:00
Jan Beich
c75763de07
Bug 799591 - Cleanup stat64 in file_util_posix.cc on BSDs after bug 798377. r=ehsan
...
--HG--
extra : rebase_source : e22525b9e6b1623bb805be4ad5f2101ac16f984c
2012-10-09 11:17:00 -07:00
Ehsan Akhgari
7121b7ef2a
Bug 798354 - Remove the sizecheck global variable in ipc_channel_posix.cc since its only needed at compile time, and there are better ways to do this; r=cjones
...
--HG--
extra : rebase_source : 103ee1d497eb28f997e2d2734c4dc29cfca6c22b
2012-10-05 16:28:21 -04:00
Ehsan Akhgari
75031cebf9
Backout changeset 9adf5ca922a4 (bug 798354) because it relied on the assumption that C++98 is a sane language and allows sizeof(class::member), but that sanity has just been added to C++11
2012-10-09 17:27:05 -04:00
EKR
1188de1f60
Bug 799246: Conditionally enable webrtc unit tests r=jesup,ted,cjones
2012-10-08 18:56:00 -07:00
Dave Hylands
d883cb7a0c
Bug 797239 - Fix message loop to allow idle tasks to work in child content processes. r=cjones
2012-10-08 22:46:18 -06:00
Kyle Machulis
2a5ddd38ed
Bug 796184 - Revert UnixSocketImpl to a bare pointer, make Bluetooth*Managers use CloseSocket; r=cjones r=gyeh
...
--HG--
extra : rebase_source : fe8f4633eb9fb86ffc4a87e6b483b3357ab9896d
2012-10-05 16:05:35 -07:00
Justin Lebar
b28095bf78
Bug 797904 - Include app name in about:memory dump. r=njn,cjones
2012-10-05 17:54:54 -04:00
Ehsan Akhgari
4ac3852d87
Bug 798354 - Remove the sizecheck global variable in ipc_channel_posix.cc since its only needed at compile time, and there are better ways to do this; r=cjones
2012-10-05 16:28:21 -04:00
Ehsan Akhgari
551973987d
Bug 798377 - Don't use the deprecated stat64 function in file_util_posix.cc; r=cjones
...
--HG--
extra : rebase_source : efd7b826e462851d475e7307bd95da29514daec7
2012-10-05 16:17:21 -04:00
Ehsan Akhgari
a2b18d2454
Bug 798355 - Remove the base class conversion operator from MachMsgPortDescriptor because it will never be used; r=cjones
...
--HG--
extra : rebase_source : d0941e3296856a871d8226b51888f086efd559c4
2012-10-05 16:16:33 -04:00
Ehsan Akhgari
e027d31e94
Bug 798356 - Do not convert a boolean literal into a null pointer constant in TransportDIB::Map; r=cjones
...
--HG--
extra : rebase_source : 1d7a6be5ee0b090b9a4cf73158b1588eaef55390
2012-10-05 16:15:34 -04:00
Ehsan Akhgari
53048448f4
Bug 798349 - Only include TransportDIB::sequence_num_ in Windows, as it is not used in other platforms; r=cjones
...
--HG--
extra : rebase_source : ecc6f194ea415ba5a112227cc7333a30a654abe5
2012-10-05 16:11:35 -04:00
Ehsan Akhgari
a2c114b534
Bug 798350 - Remove ChildProcessHost::resource_dispatcher_host_ since it is unused, and simplify the ChildProcessHost constructor; r=cjones
...
--HG--
extra : rebase_source : 4908129a3d9d2e57ebb0e7ef7b31dca14bedd72c
2012-10-05 16:09:46 -04:00
Nathan Froyd
02948d84c9
Bug 746714 - add a memory reporter for telemetry; r=taras,njn
2012-10-05 12:19:14 -04:00
Ehsan Akhgari
17af47564d
Mark AsyncWaiter as final, no bug, blanket-r=bzbarsky
2012-10-05 10:48:49 -04:00
Jacek Caban
90ce391b92
Bug 797316 - Fix -Werror=conversion-null errors in Windows-only code (ipc/ part) r=bent
...
--HG--
extra : rebase_source : e20bd1677b784a9279db1655dea2bcaffb346774
2012-10-04 10:32:45 +02:00
Daniel Holbert
52edfdf864
Bug 797111: Mark variable 'msgSeqno' as DebugOnly, in SyncChannel::Send, to fix opt build warning. r=cjones
2012-10-02 17:18:48 -07:00
Ms2ger
f79221cd0a
Bug 793263 - Remove #error from base/basictypes.h; r=bsmedberg
2012-10-02 10:24:12 +02:00
Ms2ger
b138fe0e97
Bug 792379 - Don't include prtypes.h in base/basictypes.h; r=cjones
2012-10-02 10:24:12 +02:00
Kyle Machulis
156f92210d
Bug 790739: Patch 3 - Service and Manager changes for Bluetooth server sockets; r=cjones
2012-10-01 00:04:01 -07:00
Kyle Machulis
184cc8ba2c
Bug 790739: Patch 1 - UnixSocket changes for server sockets; r=cjones
2012-10-01 00:03:16 -07:00
Kyle Machulis
a24393b718
Backing out e8e7e0cf43d8 (Bug 790739) due to bustage
...
--HG--
extra : rebase_source : ab39dff4819b2a08bbc9696bfdca88b513fcb9c6
2012-09-30 23:17:46 -07:00
Kyle Machulis
3825fda6ae
Backing out 9a88f0d57e7d (Bug 790739) due to bustage
...
--HG--
extra : rebase_source : 1f6e7eda80f1b66b854c5c112f1b0816381f27e2
2012-09-30 23:16:26 -07:00
Kyle Machulis
2a50397f57
Bug 790739: Patch 3 - Service and Manager changes for Bluetooth server sockets; r=cjones
2012-09-30 22:55:27 -07:00
Kyle Machulis
f73578f1a8
Bug 790739: Patch 1 - UnixSocket changes for server sockets; r=cjones
2012-09-30 22:54:27 -07:00
Kyle Machulis
00548792dc
Bug 793831: Add socket validity checks to RIL IPC; r=cjones
2012-09-30 22:03:43 -07:00
Doug Sherk
05643b327a
Bug 784908: Part 3: Distinguish resolution from a new zoom field on FrameMetrics r=roc
2012-09-28 22:16:38 -04:00
Doug Sherk
4b01b719b1
Bug 784908: Part 1: Change names of FrameMetrics variables to be more descriptive, add documentation, change some coordinate spaces. r=roc
2012-09-28 22:16:34 -04:00
Isaac Aggrey
481e7dfb0b
Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan
2012-09-28 01:57:33 -05:00
Josh Matthews
10314074af
Bug 770778 - Make TCPSocket e10s-friendly. r=bent
2012-09-24 14:53:49 -04:00
Chris Jones
22c09989b8
Back out bug 793831 for breaking telephony (c88496e8454f)
...
--HG--
extra : rebase_source : b559bff5e0857b2c8129a9c9c2669d8be9ce1925
2012-09-25 21:07:39 -07:00
Kyle Machulis
f87fb81b3d
Bug 776182: Patch 3 - Socket I/O for ipc unix sockets; r=cjones r=echou
...
--HG--
rename : ipc/socket/Makefile.in => ipc/unixsocket/Makefile.in
rename : ipc/socket/Socket.cpp => ipc/unixsocket/UnixSocket.cpp
rename : ipc/socket/Socket.h => ipc/unixsocket/UnixSocket.h
extra : rebase_source : 18f401b047424a187863c9fbe8943364330d1f4d
2012-09-25 13:13:15 -07:00
Kyle Machulis
979e723b46
Bug 776182: Patch 2 - Move Socket.* to UnixSocket.*; r=cjones
...
--HG--
rename : ipc/socket/Socket.cpp => ipc/unixsocket/UnixSocket.cpp
rename : ipc/socket/Socket.h => ipc/unixsocket/UnixSocket.h
extra : rebase_source : 1e8da79be97c0e6f1a457276b209ff3b4d1193f6
2012-09-25 12:32:09 -07:00
Kyle Machulis
ef52cf02cc
Bug 776182: Patch 1 - Move ipc/socket to ipc/unixsocket; r=cjones
...
--HG--
rename : ipc/socket/Makefile.in => ipc/unixsocket/Makefile.in
rename : ipc/socket/Socket.cpp => ipc/unixsocket/Socket.cpp
rename : ipc/socket/Socket.h => ipc/unixsocket/Socket.h
extra : rebase_source : ee6560813e80b834390a973c68147c2fc79e2aed
2012-09-25 12:31:22 -07:00