Commit Graph

626 Commits

Author SHA1 Message Date
jar@chromium.org, L. David Baron
340774e150 Bug 842550: Switch to using TimeTicks rather than Time in message loops. rs=cjones
The ipc/chromium/src/base/ changes here (except those mentioned below)
are the majority of the base/ changes (excluding those that patch code
that does not exist yet in our copy) in:
> From: jar@chromium.org <jar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
> Date: Sat, 6 Nov 2010 22:23:29 +0000 (+0000)
> Subject: Switch to using TimeTicks rather than Time in message loops
> X-Git-Url: http://git.chromium.org/gitweb/?p=chromium.git;a=commitdiff_plain;h=f592c218c18bd1f8308489aaef2e329244ced330
>
> Switch to using TimeTicks rather than Time in message loops
>
> Switch to using TimeTicks rather than Time so that we
> are not dependent on changes in the system clock.
>
> r=mbelshe,darin
> Review URL: http://codereview.chromium.org/3884001
>
> git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65322 0039d316-1c4b-4281-b951-d872f2087c98

The ipc/glue changes, and the message_pump_android.* and
message_pump_qt.* changes in ipc/chromium/src/base/, change signatures
to match.
2013-02-21 18:10:59 -08:00
Daniel Holbert
2467086ae0 Bug 843433: Annotate CloseFileRunnable as MOZ_FINAL to avoid -Wdelete-non-virtual-dtor build warnings. r=ehsan 2013-02-20 18:52:44 -08:00
Ben Turner
ea86a773f7 Bug 835698 - 'Pre-open() and send the fd for app process's application.zip'. r=jduell. 2013-02-15 14:27:21 -08:00
Ryan VanderMeulen
49521be52f Backed out changeset 1646e649878a (bug 835698) for causing bug 839256. 2013-02-11 17:38:41 -05:00
Honza Bambas
b2f0520748 Bug 822490 - Radically simplify windows TimeStamp implementation, r=tellrob 2013-02-11 22:56:58 +01:00
Ben Turner
d44c4dc7ca 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
552bcabebf 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
624f6d9042 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
710d5e47dd Backed out changeset 1a2e34c9ebc7 (bug 835698) a=bustage_from_bug_839688 2013-02-08 17:18:28 -08:00
Ben Turner
456cb1e956 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
498d9f9e42 Back out 4b47185f48f8 (bug 835698) for Win debug crashes in test_jarchannel_e10s.js 2013-02-06 22:23:33 -08:00
ben turner
fd7fb68530 Bug 835698 - Pre-open() and send the fd for app process's application.zip r=jduell 2013-02-06 05:18:00 -08:00
Ben Turner
d7c5c23c6e Bug 831307 - Allow invalid file handles to not crash child processes. r=cjones. 2013-01-24 17:10:39 -08:00
Chris Jones
7af4883dee 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
7fd864daea Back out bug 786631 2013-01-17 12:49:56 -08:00
Chris Jones
cbfb70742d 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
af29d559b0 Bug 831307: Log breakpoint-level IPC errors always. r=dougt,jdm,jst a=blocking-b2g 2013-01-16 19:47:21 -08:00
Landry Breuil
bf73087268 Bug 830303 - Fix plugin-container LD_LIBRARY_PATH on BSD (regression from 753046) r=cjones 2013-01-14 22:38:17 +01:00
Ben Turner
31c9220da3 Bug 827749 - Aggressively duplicate file handles. r=cjones. 2013-01-10 19:15:57 +01:00
Jared Wein
acdf155896 Backed out changeset 3aa492e39918 (bug 827749) for failing all tests OS X. 2013-01-10 14:15:25 -05:00
Ben Turner
0be1b0b551 Bug 827749 - Aggressively duplicate file handles. r=cjones. 2013-01-10 19:15:57 +01:00
Ben Turner
cc4d01a3b5 Backout f3b6bc4b2590 (Bug 827749) for test failures. 2013-01-10 13:54:27 +01:00
Ben Turner
0daad68812 Bug 827749 - Aggressively duplicate file descriptors. r=cjones. 2013-01-10 13:00:17 +01:00
Chris Jones
60c9628478 Bug 824224: Always log protocol errors. r=bent 2013-01-04 13:28:37 -08:00
Chris Jones
cafad920f2 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
Justin Lebar
075232ceca 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
09502900c9 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
d3113730d9 Bug 820200 - Pass application directory to XRE_InitEmbedding2 in content process. r=bsmedberg 2012-12-18 10:24:42 -06:00
Jeff Walden
7146c23e80 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
Chris Lord
49699652e2 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
abcfaa316e 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
78b87d6c47 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
Ehsan Akhgari
c397995320 Silence two uninitialized variable warnings; no bug 2012-10-13 12:16:22 -04:00
Justin Lebar
d0141d9c09 Bug 797904 - Include app name in about:memory dump. r=njn,cjones 2012-10-05 17:54:54 -04:00
Jacek Caban
bdc1432276 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
7513fec14d 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
Doug Sherk
98c60b046f 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
c0e08ee726 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
997db4d142 Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan 2012-09-28 01:57:33 -05:00
Ehsan Akhgari
788077053b Bug 793411 - #include StandardInteger.h instead of prtypes.h in IPCMessageUtils.h; r=cjones 2012-09-22 11:49:58 -04:00
Josh Matthews
a95c881e25 Bug 783878 - Part 2: Allow serializing remote input streams by passing the actor reference over the wire and retrieving the original stream in the parent. r=bent 2012-09-21 13:26:13 -04:00
Chris Jones
b50c8c4076 Bug 775777: Check dynamic actor type when deserializing. r=bent 2012-09-20 12:30:52 -07:00
Koosha Khajeh Moogahi
8d39310f18 Bug 788242: Implement and make use of void versions of NS_ENSURE_* macros; r=ehsan,bsmedberg 2012-09-14 14:30:31 +04:30
Ms2ger
8976774677 Bug 787933 - Stop using stdin types in IPC code; r=bsmedberg+cjones sr=cjones 2012-09-17 10:37:20 +02:00
Dave Hylands
bf39dd4c55 Bug 784805 - Set the process name (comm) to the app name. r=cjones 2012-09-10 21:30:33 -07:00
Chris Jones
d1b2c1e8ac Bug 788396: Centralize usage of ipc::LoggingEnabled() and ensure it goes to logcat on bionic OSes. r=bent 2012-09-05 10:11:05 -07:00
Mike Hommey
d4d87778e3 Bug 784262 - Use generic install/copy rule in rules.mk. r=ted 2012-08-29 08:55:57 +02:00
Brad Lassey
a4736dd52a bug 761503 - return a bool from PumpMessageLoop to indicate if work was performed r=snorp 2012-06-05 01:14:12 -04:00
Randell Jesup
eedf93a21d Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Chris Jones
e8aaa33b31 Bug 782456, part 1: Let clients of GeckoChildProcessHost specify privileges. r=bent 2012-08-29 09:24:48 -03:00
Martin Husemann
16ca4add66 Bug 753046 - Add IPC support for BSDs, ipc/glue part. r=cjones 2012-08-28 23:16:29 +02:00
Rafael Ávila de Espíndola
3ae64f38a4 Bug 786148 - s/IPC/ipc/. r=ted.
This makes our builds a bit more reproducible. Without it when processing

#include "IPC/IPCMessageUtils.h

we end up in

#include "ShadowLayers.h"

which in the final XUL translates into the symbol (run nm -a to see it):

 - 00 0000   SOL ../../../../gfx/layers/IPC/ShadowLayers.h

now when some file in gfx/layers/ipc does

#include "ShadowLayres.h"

the file found is the local one with the lowercase directory name and we end up
with

 - 00 0000   SOL ../../../../gfx/layers/ipc/ShadowLayers.h

--HG--
extra : rebase_source : 96c68f6a3448eedaa280039960df911a9c707cac
2012-08-28 08:41:04 -04:00
Jan Beich
b90e2af5a0 Bug 784776 - Don't assume NULL is numeric. r=cjones 2012-08-26 08:56:59 -04:00
Chris Jones
c96530321b Bug 784647: Ensure that Tasks and XPCOM events are dispatched with the same priority. r=bent 2012-08-25 01:25:08 -07:00
Chris Jones
881203aa1b Bug 636063, part 3: Honor compression requests when queuing messages. r=bent 2012-08-25 01:25:08 -07:00
Ms2ger
da90b234b1 Back out bug 636063, bug 774988 and bug 784647 for busting all of Android. 2012-08-25 13:18:18 +02:00
Chris Jones
0b8efc5aae Bug 784647: Ensure that Tasks and XPCOM events are dispatched with the same priority. r=bent 2012-08-25 01:25:08 -07:00
Chris Jones
fdad648d61 Bug 636063, part 3: Honor compression requests when queuing messages. r=bent 2012-08-25 01:25:08 -07:00
Ben Turner
0727b7098c Bug 784726 - 'Remove old IPC::URI'. r=cjones+khuey.
--HG--
rename : ipc/glue/IPCSerializableParams.ipdlh => ipc/glue/InputStreamParams.ipdlh
extra : transplant_source : %A6%BC%8B%8D%3A_%7Df%2B%FE%AA%94%81%AB%CAW%15K%A7%03
2012-08-23 12:33:46 -07:00
Ben Turner
1557efd8b1 Bug 782649 - 'Remove old IPC::InputStream'. r=cjones+khuey. 2012-08-22 19:13:54 -07:00
Michael Wu
faefd7af60 Bug 784858: Pass LD_PRELOAD to child processes. r=cjones 2012-08-22 18:50:25 -07:00
Ryan VanderMeulen
1733e65710 Backout 41a3cdf92063 (bug 782649) for Linux xpcshell failures. 2012-08-22 17:31:06 -04:00
Ben Turner
3e66942f49 Bug 782649 - 'Remove old IPC::InputStream'. r=cjones+khuey. 2012-08-22 12:19:29 -07:00
Ehsan Akhgari
57ac5ddc72 Merge the landing of bug 579517 to mozilla-inbound 2012-08-22 12:12:15 -04:00
Doug Sherk
b018fea56e Bug 780397: Convert FrameMetrics.mViewportScrollOffset from nsIntPoint to gfx::Point r=roc 2012-08-21 21:37:15 -07:00
Doug Sherk
2347943aeb Bug 775447: Let touch-event listeners cancel async pan/zoom r=cjones 2012-08-21 21:37:06 -07:00
Ehsan Akhgari
0fd9123eac Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -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 PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
David Zbarsky
d631e1b3a1 Bug 783835 - Compositor needs to know the css property being animated r=roc 2012-08-20 09:35:41 -04:00
Ben Turner
10787d0206 Bug 781256 - 'Share FileDescriptors across processes in preparation for OS-level sandbox'. r=khuey+cjones.
--HG--
rename : netwerk/base/public/nsIIPCSerializable.idl => netwerk/base/public/nsIIPCSerializableObsolete.idl
extra : transplant_source : %EB%18%9D%E6%B1%C6%26%A2%16%F3%85g%1A%25%B1%8E%A1%E72e
2012-08-16 00:02:32 -04:00
Doug Sherk
de15346fad Bug 775463: Implement double-tap-to-zoom content r=cjones 2012-08-08 21:39:02 -07:00
Phil Ringnalda
6a0eae6eb5 Backout 8b3b879bc63f (Bug 777463), 32cc8084d1b7 (Bug 775451), ce9014442e13:4d52cfac7c37 (Bug 779572), b33f2b2dbbc5:963aed158547 (Bug 775463), 36832ad5ea65 (Bug 780210), 10695750e4e9:a2afc5b5e538 (Bug 775448), c9f42eebd694 (Bug 775447) for Linux bustage 2012-08-07 20:40:48 -07:00
Doug Sherk
b53b2122ba Bug 775463: Implement double-tap-to-zoom content r=cjones 2012-08-07 18:51:08 -07:00
Chris Jones
eb57290969 Bug 774131, part 2: Add GeckoChildProcessHost::LaunchAndWaitForProcessHandle() to do that, use it in ContentParent, and share more process-launching code. r=bent 2012-08-07 16:29:32 -07:00
Chris Jones
e13379b1d8 Bug 774131, part 1: Refactor GeckoChildProcessHost to use a state enum and eagerly create a ProcessHandle. r=bent 2012-08-07 16:29:32 -07:00
Mike Hommey
6173fa297f Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Ben Turner
0010e82b08 Bug 759427 - 'Multiprocess blob support for MessageManager and IndexedDB'. r=smaug+janv+khuey (rs=sicking for nsBlobURI changes).
--HG--
extra : transplant_source : %95%B5y%11%C5%AB%D9%CF%FF%7C%5E%BB%E5%DA%F5j%83o%29%EB
2012-08-01 23:02:29 -07:00
David Zbarsky
1ab8257975 Bug 706179 Part 1: Add support for animations to the Layers API r=roc, dbaron, cjones 2012-07-31 10:28:20 -07:00
David Zbarsky
06ea1f66f2 Bug 778519 - Don't include Layers.h everywhere Part 2 r=cjones 2012-07-30 17:42:26 -07:00
Mark Finkle
70a01196ec Backout 169ff207ed19, a34baed70c1b, f9ccdd490bd7, 39550ed860e6, 2194a2dd66b2, 908eb2e26843, a76e0a267f26 due to mobile viewport bustage (bug 778580) 2012-07-30 14:36:12 -04:00
Aryeh Gregor
e806eeab4f Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
David Zbarsky
12752872fe Bug 706179: Add support for animations to the Layers API r=roc, dbaron, cjones 2012-07-27 13:23:44 -07:00
Guillaume Destuynder
1688b83429 Bug 776647: Add support for dropping to a "nobody" user after fork()ing, and use that on gonk. r=cjones 2012-07-26 21:42:56 -07:00
Chris Jones
47abd59f8e Backed out changeset 201612a0b133 2012-07-26 21:55:41 -07:00
Guillaume Destuynder
bd26065506 Bug 776647: Add support for dropping to a "nobody" user after fork()ing, and use that on gonk. r=cjones 2012-07-26 21:42:56 -07:00
Ehsan Akhgari
1d60882e54 Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (ipc parts); blanket-r=bzbarsky
--HG--
extra : rebase_source : 232de4000988dfa5cb45114ff36730d001fbd79b
2012-07-26 15:17:38 -04:00
Ed Morley
be8bf4beae Backout 1244b8a8e57a (bug 755084), 32d16d0f87c9 (bug 706179), 8548e016d4a9 (bug 768440), 697f5b87eae9 (bug 768440), 808fc2bd4e8c (bug 755084), 54b1484cd125 (bug 755084), 876726b632c0 (bug 706179) for xul android R3 failures 2012-07-25 16:37:04 +01:00
David Zbarsky
2008ff368b Bug 706179: Add support for animations to the Layers API r=roc, dbaron, cjones 2012-07-25 01:48:09 -07:00
Matt Brubeck
2e41f92cb5 Back out f4f5189b1d0c, 3b4f0606c547, b8a5a1ab8a5f, 5078933d6954, 7e0260c45de9 (bug 768440, bug 755084, bug 706179) because of reftest failures 2012-07-23 20:25:51 -07:00
David Zbarsky
dfd3e3d5ba Bug 706179: Add support for animations to the Layers API r=roc, dbaron, cjones 2012-07-23 17:34:22 -07:00
Joshua Cranmer
4ad48824ad Bug 702877 - Replace NS_OVERRIDE with MOZ_OVERRIDE. r=ehsan
--HG--
extra : rebase_source : 1843575683c3897f96f3966cbce26140ff1a7d90
2012-07-06 13:15:45 -05:00
Chris Jones
a3ec7aebd3 Bug 775867: Implement ProtocolErrorBreakpoint() for easier debugging of IPC errors. r=bent 2012-07-23 10:24:29 -07:00
David Zbarsky
88371b030a [Bug 774505] Don't include Layers.h everywhere r=cjones 2012-07-18 12:31:40 -04:00
Chris Jones
beb475c2b3 Bug 745148, part 2: GeckoChildProcessHost can't drop messages on the floor. Queue them and hand them off to the *Channel. r=bent 2012-07-14 14:21:32 -07:00
Chris Jones
29ff878dea Bug 745148, part 1: Allow sending messages on an Opening channel, since they'll be queued if we're really actually still awaiting connect. r=bent 2012-07-14 14:21:32 -07:00
Chris Jones
8605f8c673 Bug 773830: Check GetEnabled() before OOPInit(). r=ted 2012-07-13 17:47:23 -07:00
Ryan VanderMeulen
7b319a5a6b Merge the last PGO-green inbound changeset to m-c. 2012-07-12 20:46:27 -04:00
Benjamin Smedberg
d19c5bb416 Bug 771251 - OOP crash reporting accesses the directory service off the main thread. In addition, the first design of the crash injector callback meant that we're dropping some set of Flash crashes which happen during an RPC call. r=ted
* Fix the directory service usage by saving the pending directory path from OOPInit.
* Force clients to call OOPInit on the main thread.
* Make injected crashes available via TakeMinidumpForChild and give each crash a sequence number so that we can pick the earliest crash from the three possibilities; delete the other two to avoid polluting about:crashes
2012-07-10 22:20:05 -04:00
Tim Abraldes
592eef2d4e Bug 771090 - Use NS_GRE_DIR instead of current process dir when looking up plugin container. r=bsmedberg 2012-07-10 18:31:04 -04:00
Chris Jones
e0f72354fe Bug 765734, part 3: Remove unused code. r=mattwoodrow
--HG--
extra : rebase_source : 9c7f8b54b501ebcc9d3f8e757044b8d3f52d1cd9
2012-07-12 05:51:57 -07:00
Chris Jones
98149930c3 Bug 765734, part 0.1: Gecko subprocesses on Gonk want propdb too. r=mwu
--HG--
extra : rebase_source : dc881f7d75698ebab6e0a576e912af4f543b00a6
2012-07-12 05:51:57 -07:00
Benjamin Smedberg
fcd6683cce Bug 770805 - Close the IPC channel safely when we discover that a Flash process has crashed; don't call Close() directly, because PluginModuleParent assumes that a normal shutdown only occurs from PluginModuleParent::NP_Shutdown. Instead, follow a similar codepath to the hang timeout which calls AsyncChannel::SynchronouslyClose and then sets a specific error code, r=cjones 2012-07-05 14:48:40 -04:00
Chris Lord
9fd49ed93f Bug 758620 - Force fixed-position frames to have their own layers. r=roc
Introduce a new display-list item 'nsDisplayFixedPosition' that represents
fixed-position elements. This item cannot be merged, which forces fixed
position elements to have their own layer, and has a BuildLayer implementation
that sets the necessary metadata on a Layer to be able to maintain its
position correctly during composition when asynchronously panning and zooming.
2012-06-27 16:43:57 +01:00
Ed Morley
ef4179d2d4 Backout de70e79ced32, ddd519d0767e, 9b952d924953 & 03efce585669 (bug 758620) for reftest failures 2012-06-26 16:13:33 +01:00
Chris Lord
1448e862c1 Bug 758620 - Force fixed-position frames to have their own layers. r=roc
Introduce a new display-list item 'nsDisplayFixedPosition' that represents
fixed-position elements. This item cannot be merged, which forces fixed
position elements to have their own layer, and has a BuildLayer implementation
that sets the necessary metadata on a Layer to be able to maintain its
position correctly during composition when asynchronously panning and zooming.
2012-06-26 14:43:11 +01:00
Jonathan Watt
6380335603 Bug 767388 - Kill NS_DEBUG. r=bz.
--HG--
extra : rebase_source : d045208a26345712dbb4628c973c616cd9504f28
2012-06-25 20:59:42 +01:00
Kartikaya Gupta
1d7f868a88 Bug 766696 - Allow the MessagePump to process multiple pieces of idle work in a row. r=blassey 2012-06-21 10:45:00 -04:00
Geoff Lankow
00f3a215c9 Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg 2012-06-06 14:08:30 +12:00
Kartikaya Gupta
8a9a864a95 Bug 748384 - Propagate page bounds and CSS page bounds in via compositor. r=Cwiiis,ajuma,mats 2012-05-23 10:51:39 -04:00
Kartikaya Gupta
0f2c633486 Bug 748384 - Back out 330e9c52f9ac, 9ba1078559fe, 2ed39c12d792, f53f05ecacd5 for build bustage. r=bustage 2012-05-23 11:08:19 -04:00
Kartikaya Gupta
6ab5f951cd Bug 748384 - Propagate page bounds and CSS page bounds in via compositor. r=Cwiiis,ajuma,mats 2012-05-23 10:51:39 -04:00
Gervase Markham
ca171eec44 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Bas Schouten
166998bb51 Bug 749499: Fix CrossProcessMutex ctor counter. r=cjones 2012-05-01 23:46:53 +02:00
James Willcox
b0e2e8e19f Bug 730890 - Install and run an Android Looper on Gecko main thread r=cjones 2012-05-03 10:53:31 -04:00
Nicholas Nethercote
08dc2dae6b Bug 744311 (part 1) - Preliminary whitespace and code order changes. r=jlebar.
--HG--
extra : rebase_source : f700733d8aa1aed1ae1f9206b4ee9063f9a03341
2012-04-09 22:52:33 -07:00
Chris Lord
8f9b90984f Bug 745177 - Retain and re-use uploaded GL tiles. r=ajuma
Rather than discarding uploaded tiles once they fall outside of the valid
region, shuffle them off into a separate tile-store with all the metadata they
need to render them, and render them in the areas that our current valid
region doesn't cover in TiledThebesLayerOGL::RenderLayer.
2012-04-24 22:48:33 -04:00
Matt Brubeck
68fdd39a98 Back out 4114c654f5d0 (bug 745177) because of Mac build errors 2012-04-24 20:18:50 -07:00
Chris Lord
7f2c8c3737 Bug 745177 - Retain and re-use uploaded GL tiles. r=ajuma
Rather than discarding uploaded tiles once they fall outside of the valid
region, shuffle them off into a separate tile-store with all the metadata they
need to render them, and render them in the areas that our current valid
region doesn't cover in TiledThebesLayerOGL::RenderLayer.
2012-04-24 22:48:33 -04:00
Oleg Romashin
fae4b3d391 Bug 746810 - Move mChannelState = ChannelOpening before PostTask call to fix assertion. r=cjones, a=mfinkle 2012-04-21 17:35:43 -04:00
Jeff Muizelaar
78533845be Bug 744901 - Store the page size in FrameMetrics in CSS pixels in addition to device pixels. r=cjones
--HG--
extra : rebase_source : ac38e2ff9dda55bd5dc44d757b67cb1550da1eaa
2012-04-12 15:55:26 -04:00
James Willcox
3d617c8f21 backout 022be5c50732 for xul bustage 2012-04-11 12:56:00 -04:00
James Willcox
311851c7a5 Bug 730890 - Set up an Android Looper on the main Gecko thread r=cjones 2012-04-11 11:43:08 -04:00
Cameron McCormack
982211b8db Back out bug 725475 due to breaking scrolling on some machines 2012-03-08 17:21:09 +11:00
Cameron McCormack
00db874245 Bug 725475 - Use more hidden scrollbars to tempt Synaptics drivers into giving us scrolling messages. r=jmathies 2012-03-08 13:16:47 +11:00
Bas Schouten
03ad4fdbb7 Bug 725552 - Part 2: Implement cross-process mutex class in IPC code. r=cjones 2012-02-16 04:11:43 +01:00
Sinker Li
d65d8e1017 Bug 697641, part 2: Add a hal API for sensor access. r=cjones
With this API, Gecko code can access sensors provied by system.  This
patch include an implementation for Android.
2012-02-05 19:51:06 +00:00
Ed Morley
b99d579b4b Backout 90f7f032757f, 6695904a4a70, 50e98f67df1b & d26e8631514c (bug 697641) for native Android failures and 20289eb83e51 (bug 712378) because it conflicted with the backout CLOSED TREE 2012-02-02 10:09:40 +00:00
Sinker Li
e2c13d2e36 Bug 697641, part 2: Add a hal API for sensor access. r=cjones
With this API, Gecko code can access sensors provied by system.  This
patch include an implementation for Android.
2012-02-01 22:47:53 -08:00
Daniel Holbert
e070b4dd0d Bug 722424: Reorder SyncChannel init list to fix build warning. r=jmathies 2012-01-30 13:06:33 -08:00
Jeff Muizelaar
3638f8e3e4 Bug 721069. Remove default case from filter switch statement. r=cjones
This fixes a clang warning and allows us to get warnings when a new enumeration is added to the enum.
2012-01-25 22:15:22 -05:00
Makoto Kato
ab87bd22db Bug 718382 - IPCMessageUtils.h(70) : warning C4099: 'base::FileDescriptor' : type name first seen using 'struct' now seen using 'class'. r=cjones 2012-01-18 11:01:51 +09:00
Marco Bonardo
bc3801a4cd Backout 789f244f34f8, 1bea53f2d067, 577cba6021d2, 4191fe602648 (bug 697641) for win build bustage 2012-01-16 15:43:46 +01:00
Sinker Li
690a89b92d Bug 697641, part 2: Add a hal API for sensor access. r=cjones
With this API, Gecko code can access sensors provied by system.  This
patch include an implementation for Android.
2012-01-16 14:37:44 +01:00
Jacek Caban
58488e3ef5 Bug 717220 - Tons of 'comma at end of enumerator list' warnings r=jones.chris.g 2012-01-12 12:07:50 +01:00
Jim Mathies
4d05b21d4f Bug 679240 - Split total channel timeout into two discrete wait periods. Avoids aborting children after system sleep. r=bsmedberg 2012-01-06 12:17:03 -06:00
Mike Hommey
b7210dd88e Bug 711144 - Prepend LD_LIBRARY_PATH instead of appending to it when starting plugin-container. r=bsmedberg 2011-12-28 08:23:42 +01:00
Niko Matsakis
bb9a3e6e5b Bug 699319 - Part 2: Create threaded version of the Link class. r=cjones 2011-11-30 08:26:16 -08:00
Niko Matsakis
a45cfeda15 Bug 699319 - Part 1: Abstract out the mTransport and I/O thread into the Link abstraction. r=cjones 2011-11-30 08:24:46 -08:00
Makoto Kato
6f82f76952 Bug 696049 - Battery API: Windows backend. r=mounir,jimm 2011-12-05 19:34:27 +09:00
Niko Matsakis
8706855bfb Bug 698075 - Use nsAutoptr<> to guarantee msg is freed; r=cjones 2011-11-30 13:19:49 +00:00
Mounir Lamouri
cdeea80ab9 Bug 674725 - Part N - Receiving SMS: IPC handling. r=cjones 2011-11-24 12:45:55 +01:00
Jeff Walden
19f38bafe5 Bug 704127 - Implement MOZ_FINAL as a modifier for classes and virtual member functions. r=cjones
--HG--
extra : rebase_source : d95a3b3e726f810f299314358ba8c5e23557698e
2011-11-20 22:21:16 -08:00
Michael Wu
3e0835d415 Bug 694206 - Add Gonk (B2G) widget backend, r=cjones 2011-11-10 16:17:46 -08:00
Ehsan Akhgari
2a602a5685 Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Jeff Walden
b7753477cf Bug 693469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. (Exceptions: assigning to static initializers, use in static assertions, as template parameters, etc. These will go away when the relevant compilers have C++11 constexpr support.) r=cjones
--HG--
extra : rebase_source : b4bae9a0f85abf2feb828609b50e756916b99a6f
2011-10-10 22:50:08 -07:00
Jeremy Huddleston
b8d021930a Bug 691138 - ipc: fails to build darwin/x11. r=smichaud 2011-10-14 16:54:46 +09:00
Jim Mathies
ea8073a977 Bug 693890 - Build fix for disable-accessibility link errors post the landing of bug 677883. r=davidb 2011-10-12 11:50:31 -05:00
Jim Mathies
fce2e8b202 Bug 677883 - Bypass deferred message processing for accessible tab windows. Fixes occasional wm_getobject query failures, which must be responded to. r=davidb 2011-10-11 11:11:35 -05:00
Michael Wu
d8e503c38b Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Josh Aas
a5520ad4df Bug 669036: Fix bad path to child process binary that caused assertions. r=bsmedberg 2011-09-07 00:51:38 -04:00
Makoto Kato
fc11948d1b Bug 657129 - Flash x64 Crash on GMail. r=cjones 2011-08-26 09:59:57 +09:00
Chris Jones
a3317162ef Bug 648484, parts 3, 3.1, and 3.2: Allow passing a "backend hint" to GetLayerManager() to request a non-default layer manager backend. Deal with failure to hook up shadow layers. sr=roc 2011-08-09 12:38:26 -07:00
Chris Jones
8786c55e3f Bug 648484, part 2: Add various helpers, refactor ContainerLayer::SetSpecificAttributes. r=roc 2011-08-09 12:38:26 -07:00
Jim Mathies
93af60090c Bug 626975 - Trap Google Earth out-of-process messages destined for plugin instances. Prevents spurious incalls on the browser which violate our rpc rules. r=bent 2011-07-27 17:15:25 -05:00
Alexander Surkov
2000f5c701 Bug 671550 - provide correct parent HWND for content process window, r=jones.chris.g, davidb 2011-07-22 09:49:35 +09:00
Mike Hommey
e93ad364ef Bug 573958 - Extend LD_LIBRARY_PATH instead of replacing it during plugin-container initialization. r=bsmedberg 2011-07-21 09:53:29 +02:00
Chris Jones
24f027292c Back out bug 648484 2011-07-15 11:35:55 -07:00
Chris Jones
289ccdf1c6 Bug 648484, part 3 and part 3.1: Allow passing a "backend hint" to GetLayerManager() to request a non-default layer manager backend. Deal with failure to hook up shadow layers. sr=roc 2011-07-13 22:43:43 -07:00
Chris Jones
7e90855ae8 Bug 648484, part 2: Add various helpers, refactor ContainerLayer::SetSpecificAttributes. r=roc 2011-07-13 22:43:43 -07:00
Chris Jones
dc9d5133ae Bug 671189: Unblock for error replies to sync messages. r=bent 2011-07-13 22:43:43 -07:00
Nicholas Nethercote
7b61ea2b0e Bug 653627 - Don't use char** in nsIMemoryReporter. r=khuey, sr=bz. 2011-07-08 12:45:16 +10:00
Justin Lebar
169b00ccad Bug 664486 - Add page fault counts to about:memory on Linux and Mac. r=njn, sr=bz
--HG--
extra : rebase_source : 47dd7501dea7ae69e01828a5c730e8853739dc71
2011-06-16 14:34:09 -04:00
Kyle Huey
ecb9c8319d Merge b-s to m-c 2011-06-25 10:13:14 -07:00
Kyle Huey
58bc8f2d91 Bug 543061: Serialize nsID. r=cjones,bent 2011-06-24 07:19:56 -07:00
Neil Rashbrook
9294538f56 Bug 660535 Remove useless use of PromiseFlatCString r=cjones 2011-06-09 21:15:10 +01:00
Chris Jones
109cb23caa Bug 613442, part 4: Library support of |opens| API. r=bent 2011-06-03 13:33:56 -05:00
Chris Jones
cc130518ca Bug 613442, part 3: Add AsyncChannel::Echo() to allow sending a message back to the originating endpoint. r=bent 2011-06-03 13:33:56 -05:00
Chris Jones
434a98eabd Bug 564086, part p: Library support of |bridge| API. r=bent 2011-06-03 13:33:56 -05:00
Chris Jones
40ec0f0dea Bug 564086, part o: Use the existing IPC::Channel typedef in AsyncChannel. r=bent 2011-06-03 13:33:56 -05:00
Chris Jones
156904718c Bug 564086, part n: Build new Transport code. r=bsmedberg 2011-06-03 13:33:56 -05:00
Chris Jones
a1e3f93459 Bug 564086, part m: Windows impl of Transport API. r=bent 2011-06-03 13:33:56 -05:00
Chris Jones
a37643c229 Bug 564086, part l: POSIX impl of Transport API. r=bsmedberg 2011-06-03 13:33:56 -05:00
Chris Jones
cf60a3e23c Bug 564086, part k: API for creating new IPC "Transport" not tied to a ProcessHost. sr=bsmedberg 2011-06-03 13:33:56 -05:00
Chris Jones
aa5d46178b Bug 564086, part i: Add an (IPDL-private) interface for getting the underlying AsyncChannel from a top-level actor. r=bsmedberg 2011-06-03 13:33:55 -05:00
Chris Jones
a5ef6c6d6a Bug 564086, part g: Allow opening an AsyncChannel with an explicit parent/child "side" so that Transport::Connect can be called for parent-side channels that need it. r=bent 2011-06-03 13:33:55 -05:00
Chris Jones
2bfe0087e1 Bug 564086, part c.1: Allow non-XPCOM processes (which don't use omnijar) to spawn other non-XPCOM subprocesses. r=glandium 2011-06-03 13:33:55 -05:00
Chris Jones
84d0bc8ee0 Bug 564086, part c: Remove dependency on XPCOM in subprocesses-spawning code. r=bsmedberg 2011-06-03 13:33:55 -05:00
Steven Michaud
74ff128aad Bug 621117 - Support native cursor manipulation from OOP plugins on OS X. r=josh,bsmedberg a=sheriff 2011-05-24 01:58:28 -05:00
Nicholas Nethercote
30e92c3349 Bug 657327 - about:memory: merge the "mapped" and "heap used" trees, and make the resulting tree flatter. r=sdwilsh,Jesse, sr=roc. 2011-05-22 19:49:56 -07:00
Jim Mathies
3cd1f9198a Bug 648935 - Process native events during calls to WaitForNotify in the child process when nested native event loops are detected in the parent. r=bsmedberg. 2011-05-18 06:57:08 -05:00
Jim Mathies
96b782ecd9 Bug 648935 - When paint events are deferred in WindowsMessageLoop, temporarily validate the plugin until painting can occur. r=bent. 2011-05-18 06:57:08 -05:00
Mike Hommey
e56745d75b Bug 620931 part 3 - Allow GRE and XUL application to use omni.jar independently. r=bsmedberg,r=mwu
We now store two independent locations for an omni.jar, allowing GRE/XRE and
XUL application to each have their own omni.jar. And since xulrunner setups
are very independent from the XUL applications, we implement support for both
omni.jar and non omni.jar cases in the same runtime, with the side effect of
allowing to switch from one to the other manually without rebuilding the
binaries.

We let the mozilla::Omnijar API handle both cases, so that callers don't need
too much work to support them.

We also make the preferences service load the same set of preferences in all
the various cases (unified vs. separate, omni.jar vs. no omni.jar).

The child process launcher for IPC is modified to pass the base directories
needed for the mozilla::Omnijar API initialization in the child process.

Finally, the startupcache file name canonicalization is modified to separate
APP and GRE resources.
2011-02-25 12:53:36 +01:00
Mike Hommey
0268686b84 Bug 620931 part 2.5 - Properly quote arguments on Windows when starting child processes. r=rstrong 2011-05-12 15:44:35 +02:00
Chris Jones
486d30794e Bug 648935: Need to use the "remote stack depth view" when deciding whether to undefer, too. r=bsmedberg 2011-05-04 15:55:54 -05:00
Nicholas Nethercote
6ef173ddbb Bug 633653 - revamp about:memory. r=vlad,sdwilsh,dvander,gavin,ehsan,edwsmith; sr=benjamin. 2011-05-03 17:12:58 -07:00
Chris Jones
ea36cc9d82 Bug 556214, part 3: IPC code wants to be using non-reentrant Monitor. r=bent 2011-04-29 14:21:57 -05:00
Chris Jones
ed22df8f64 Bug 556214, parts 1 and 1.1: Rename Monitor to ReentrantMonitor and fix existing Monitor users. r=roc
--HG--
rename : xpcom/glue/Monitor.h => xpcom/glue/ReentrantMonitor.h
2011-04-29 14:21:57 -05:00
Chris Jones
a886978274 Bug 651059: Fix (benign) read/write race on AsyncChannel.mChannelState. r=bent 2011-04-28 19:15:03 -05:00
Jacek Caban
7a79d4a6ce Bug 643778 - WindowsMessageLoop.h fails to compile on case-sensitive
OSes r=benjamin

--HG--
extra : rebase_source : 03aa080043dd86c5b95c8f75bf49f7f538bfb30d
2011-04-26 11:45:08 +00:00
Robert O'Callahan
17b91a87af Bug 641426. Part 1: Create Point and Size templates. r=joe,sr=cjones 2011-04-19 15:07:21 +12:00
Justin Lebar
7e2c5ae50d Bug 592557 - Eliminate uses of PR_Atomic{Increment,Decrement} functions in favor of PR_ATOMIC_{INCREMENT,DECREMENT} macros. r=bsmedberg,gal
--HG--
extra : rebase_source : 71069eb9c9d61131adee49279e136c8574dabc62
2011-03-28 15:58:49 -04:00
Ehsan Akhgari
a2f674fb10 Merge cedar into mozilla-central 2011-03-25 23:55:33 -04:00
Jason Duell
6651a096c6 Bug 534764. Allow separate NSPR logs if requested, in case of interleaving issues; r=mayhemer,wtc 2011-03-25 19:40:50 -04:00
Jim Mathies
0dbb327e40 Bug 641705 - Don't drop win app shell gecko processing events in ipc's windows message loop processing. r=bsmedberg 2011-03-25 18:17:35 -05:00
Ben Turner
3e1c82c126 Bug 640901: Clean up managees when manager ctor fails. r=cjones 2011-03-21 11:00:00 -05:00
L. David Baron
506701bba2 Backout changeset b9e6454362ef (Bug 620931 part 3) for causing bug 644790. 2011-03-24 21:07:05 -07:00
Mike Hommey
2cfeef8160 Bug 620931 part 3 - Allow GRE and XUL application to use omni.jar independently. r=bsmedberg
We now store two independent locations for an omni.jar, allowing GRE/XRE and
XUL application to each have their own omni.jar. And since xulrunner setups
are very independent from the XUL applications, we implement support for both
omni.jar and non omni.jar cases in the same runtime, with the side effect of
allowing to switch from one to the other manually without rebuilding the
binaries.

We let the mozilla::Omnijar API handle both cases, so that callers don't need
too much work to support them.

We also make the preferences service load the same set of preferences in all
the various cases (unified vs. separate, omni.jar vs. no omni.jar).

The child process launcher for IPC is modified to pass the base directories
needed for the mozilla::Omnijar API initialization in the child process.

Finally, the startupcache file name canonicalization is modified to separate
APP and GRE resources.
2011-03-24 15:28:14 +01:00
Chris Jones
68448b7880 Bug 633462: Nuke this printf in release builds. r=bent a=a 2011-02-23 11:45:09 -06:00
Chris Jones
854eb4805d Bug 625060: Only plugin-container needs to walk out of plugin-container.app/Content/MacOS to find the real GRE dir. r=bent
--HG--
extra : rebase_source : a679b5caf11b507f15d952cb1979e73b125a5b0a
2011-02-01 13:53:53 -06:00
Brian Crowder
b1625ad538 Bug 606074: removing bogus include, r=me, a=cleanup, DONTBUILD 2011-01-20 09:17:42 -08:00
Brian Crowder
9dd1b4486c Bug 606074: ensure that we share the Android system properties memory-map with the child process, r=cjones, a=blocking-fennec:2.0:mfinkle 2011-01-20 09:01:31 -08:00