Граф коммитов

591 Коммитов

Автор SHA1 Сообщение Дата
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
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
Ehsan Akhgari a82ddeeb07 Bug 793411 - #include StandardInteger.h instead of prtypes.h in IPCMessageUtils.h; r=cjones 2012-09-22 11:49:58 -04:00
Josh Matthews 22b97c746b 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 b594f26efa Bug 775777: Check dynamic actor type when deserializing. r=bent 2012-09-20 12:30:52 -07:00
Koosha Khajeh Moogahi dcf81f4fb0 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 711f1fd480 Bug 787933 - Stop using stdin types in IPC code; r=bsmedberg+cjones sr=cjones 2012-09-17 10:37:20 +02:00
Dave Hylands faf42254b1 Bug 784805 - Set the process name (comm) to the app name. r=cjones 2012-09-10 21:30:33 -07:00
Chris Jones 97fdaf5406 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 9f50415300 Bug 784262 - Use generic install/copy rule in rules.mk. r=ted 2012-08-29 08:55:57 +02:00
Brad Lassey 846c9ef9ee 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 65539ef89c Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Chris Jones 0e062741d9 Bug 782456, part 1: Let clients of GeckoChildProcessHost specify privileges. r=bent 2012-08-29 09:24:48 -03:00
Martin Husemann 675f8473f1 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 0b6fcd9466 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 ac932f999f Bug 784776 - Don't assume NULL is numeric. r=cjones 2012-08-26 08:56:59 -04:00
Chris Jones 2de67e31af 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 fef429cb47 Bug 636063, part 3: Honor compression requests when queuing messages. r=bent 2012-08-25 01:25:08 -07:00
Ms2ger 1023162c9c Back out bug 636063, bug 774988 and bug 784647 for busting all of Android. 2012-08-25 13:18:18 +02:00
Chris Jones 384aad9cbe 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 59b05f8960 Bug 636063, part 3: Honor compression requests when queuing messages. r=bent 2012-08-25 01:25:08 -07:00
Ben Turner 7370f46298 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 8740622e89 Bug 782649 - 'Remove old IPC::InputStream'. r=cjones+khuey. 2012-08-22 19:13:54 -07:00
Michael Wu ef40e6f1bc Bug 784858: Pass LD_PRELOAD to child processes. r=cjones 2012-08-22 18:50:25 -07:00
Ryan VanderMeulen 4369c9acf5 Backout 41a3cdf92063 (bug 782649) for Linux xpcshell failures. 2012-08-22 17:31:06 -04:00
Ben Turner f17c803d93 Bug 782649 - 'Remove old IPC::InputStream'. r=cjones+khuey. 2012-08-22 12:19:29 -07:00
Ehsan Akhgari 2d709c2f52 Merge the landing of bug 579517 to mozilla-inbound 2012-08-22 12:12:15 -04:00
Doug Sherk 242fa304fe Bug 780397: Convert FrameMetrics.mViewportScrollOffset from nsIntPoint to gfx::Point r=roc 2012-08-21 21:37:15 -07:00
Doug Sherk abb9aad31c Bug 775447: Let touch-event listeners cancel async pan/zoom r=cjones 2012-08-21 21:37:06 -07:00
Ehsan Akhgari e368dc9c85 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 7589db83b4 Bug 783835 - Compositor needs to know the css property being animated r=roc 2012-08-20 09:35:41 -04:00
Ben Turner 4b09919a18 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 c728bb798f Bug 775463: Implement double-tap-to-zoom content r=cjones 2012-08-08 21:39:02 -07:00
Phil Ringnalda 0bef654a22 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 7f10d611e6 Bug 775463: Implement double-tap-to-zoom content r=cjones 2012-08-07 18:51:08 -07:00
Chris Jones a7acbe1bfe 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 97d7b479ff 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 70d7c821af Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Ben Turner 4893263a15 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 c88b41986f 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 c6b51c42c1 Bug 778519 - Don't include Layers.h everywhere Part 2 r=cjones 2012-07-30 17:42:26 -07:00
Mark Finkle ecceaf8977 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 d0ad5a7d0c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
David Zbarsky 687786c2e9 Bug 706179: Add support for animations to the Layers API r=roc, dbaron, cjones 2012-07-27 13:23:44 -07:00
Guillaume Destuynder 68357eb8db 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 b3fce04949 Backed out changeset 201612a0b133 2012-07-26 21:55:41 -07:00
Guillaume Destuynder 53db4466be 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 7b53fb63a9 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 3ed23376d4 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 ced60d55d3 Bug 706179: Add support for animations to the Layers API r=roc, dbaron, cjones 2012-07-25 01:48:09 -07:00
Matt Brubeck 90029e0bf6 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 33710a6b6d Bug 706179: Add support for animations to the Layers API r=roc, dbaron, cjones 2012-07-23 17:34:22 -07:00
Joshua Cranmer d539846cab 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 f8279ab4fc Bug 775867: Implement ProtocolErrorBreakpoint() for easier debugging of IPC errors. r=bent 2012-07-23 10:24:29 -07:00
David Zbarsky 9a61d96c70 [Bug 774505] Don't include Layers.h everywhere r=cjones 2012-07-18 12:31:40 -04:00
Chris Jones aff6dd1169 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 d478121862 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 83a29ba724 Bug 773830: Check GetEnabled() before OOPInit(). r=ted 2012-07-13 17:47:23 -07:00
Ryan VanderMeulen cfea5c2634 Merge the last PGO-green inbound changeset to m-c. 2012-07-12 20:46:27 -04:00
Benjamin Smedberg b341414c8f 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 d45421032d 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 1ce07b9102 Bug 765734, part 3: Remove unused code. r=mattwoodrow
--HG--
extra : rebase_source : 9c7f8b54b501ebcc9d3f8e757044b8d3f52d1cd9
2012-07-12 05:51:57 -07:00
Chris Jones fe33408429 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 05b9752a11 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 737f39fdfa 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 46f74afdf1 Backout de70e79ced32, ddd519d0767e, 9b952d924953 & 03efce585669 (bug 758620) for reftest failures 2012-06-26 16:13:33 +01:00
Chris Lord d68b636b06 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 970e60a384 Bug 767388 - Kill NS_DEBUG. r=bz.
--HG--
extra : rebase_source : d045208a26345712dbb4628c973c616cd9504f28
2012-06-25 20:59:42 +01:00
Kartikaya Gupta 1b59bf2aea 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 5cefea8480 Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg 2012-06-06 14:08:30 +12:00
Kartikaya Gupta 9583637c8e 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 15d02d35fd Bug 748384 - Back out 330e9c52f9ac, 9ba1078559fe, 2ed39c12d792, f53f05ecacd5 for build bustage. r=bustage 2012-05-23 11:08:19 -04:00
Kartikaya Gupta c9a4698bf1 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 82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Bas Schouten 5620f353cb Bug 749499: Fix CrossProcessMutex ctor counter. r=cjones 2012-05-01 23:46:53 +02:00
James Willcox 578bae396e Bug 730890 - Install and run an Android Looper on Gecko main thread r=cjones 2012-05-03 10:53:31 -04:00
Nicholas Nethercote 43f329dbbd 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 70e676b14d 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 e95835d8ba Back out 4114c654f5d0 (bug 745177) because of Mac build errors 2012-04-24 20:18:50 -07:00
Chris Lord 8000a2a211 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 d5bae09c39 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 a0868e1013 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 b4d8f837c8 backout 022be5c50732 for xul bustage 2012-04-11 12:56:00 -04:00
James Willcox 8af3688ba1 Bug 730890 - Set up an Android Looper on the main Gecko thread r=cjones 2012-04-11 11:43:08 -04:00
Cameron McCormack bf43c7e164 Back out bug 725475 due to breaking scrolling on some machines 2012-03-08 17:21:09 +11:00
Cameron McCormack b10f0feaf0 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 c96f5a467c Bug 725552 - Part 2: Implement cross-process mutex class in IPC code. r=cjones 2012-02-16 04:11:43 +01:00
Sinker Li cee1f7b77a 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 46f66f0c50 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 d31b0fb85f 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 c52cd9b169 Bug 722424: Reorder SyncChannel init list to fix build warning. r=jmathies 2012-01-30 13:06:33 -08:00
Jeff Muizelaar 6a34bc9403 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 2f07cad37c 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 2b20126f0a Backout 789f244f34f8, 1bea53f2d067, 577cba6021d2, 4191fe602648 (bug 697641) for win build bustage 2012-01-16 15:43:46 +01:00
Sinker Li e6c5bdac28 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 bcd83798dc 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 5fc873d79e 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 e923bd700b 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 40750730de Bug 699319 - Part 2: Create threaded version of the Link class. r=cjones 2011-11-30 08:26:16 -08:00
Niko Matsakis fce15e5c44 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 7a9046338e Bug 696049 - Battery API: Windows backend. r=mounir,jimm 2011-12-05 19:34:27 +09:00
Niko Matsakis b6cdc0ee29 Bug 698075 - Use nsAutoptr<> to guarantee msg is freed; r=cjones 2011-11-30 13:19:49 +00:00
Mounir Lamouri e81afcfb00 Bug 674725 - Part N - Receiving SMS: IPC handling. r=cjones 2011-11-24 12:45:55 +01:00
Jeff Walden df2b7cbc5c 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 5dd6a67845 Bug 694206 - Add Gonk (B2G) widget backend, r=cjones 2011-11-10 16:17:46 -08:00
Ehsan Akhgari 92064e6d3f 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 b5e57820bf 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 b1d63ad959 Bug 691138 - ipc: fails to build darwin/x11. r=smichaud 2011-10-14 16:54:46 +09:00
Jim Mathies 69722d7d17 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 5a9bfe4768 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 d2b70213ac 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 0aea95062a Bug 669036: Fix bad path to child process binary that caused assertions. r=bsmedberg 2011-09-07 00:51:38 -04:00
Makoto Kato 983ca66ea7 Bug 657129 - Flash x64 Crash on GMail. r=cjones 2011-08-26 09:59:57 +09:00
Chris Jones adc6292af8 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 ae2bfc746f Bug 648484, part 2: Add various helpers, refactor ContainerLayer::SetSpecificAttributes. r=roc 2011-08-09 12:38:26 -07:00
Jim Mathies 4c1e056938 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 9a67bf5488 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 0ec7b9b37e 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 bd33e7e43e Back out bug 648484 2011-07-15 11:35:55 -07:00
Chris Jones f536ed7edf 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 fcb0f65051 Bug 648484, part 2: Add various helpers, refactor ContainerLayer::SetSpecificAttributes. r=roc 2011-07-13 22:43:43 -07:00
Chris Jones c659ff08e6 Bug 671189: Unblock for error replies to sync messages. r=bent 2011-07-13 22:43:43 -07:00
Nicholas Nethercote 14e0e78adc Bug 653627 - Don't use char** in nsIMemoryReporter. r=khuey, sr=bz. 2011-07-08 12:45:16 +10:00
Justin Lebar 5daed65b45 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 2426689ee4 Merge b-s to m-c 2011-06-25 10:13:14 -07:00
Kyle Huey 78a6328bab Bug 543061: Serialize nsID. r=cjones,bent 2011-06-24 07:19:56 -07:00
Neil Rashbrook 16212e084a Bug 660535 Remove useless use of PromiseFlatCString r=cjones 2011-06-09 21:15:10 +01:00
Chris Jones e84bad58c6 Bug 613442, part 4: Library support of |opens| API. r=bent 2011-06-03 13:33:56 -05:00
Chris Jones e173c413d3 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 cc3d830618 Bug 564086, part p: Library support of |bridge| API. r=bent 2011-06-03 13:33:56 -05:00
Chris Jones 7cecf7ddbd Bug 564086, part o: Use the existing IPC::Channel typedef in AsyncChannel. r=bent 2011-06-03 13:33:56 -05:00
Chris Jones c3142d4d19 Bug 564086, part n: Build new Transport code. r=bsmedberg 2011-06-03 13:33:56 -05:00
Chris Jones 9d7a73797a Bug 564086, part m: Windows impl of Transport API. r=bent 2011-06-03 13:33:56 -05:00
Chris Jones f20990803f Bug 564086, part l: POSIX impl of Transport API. r=bsmedberg 2011-06-03 13:33:56 -05:00
Chris Jones 33a3bb7fe0 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 8499bc3fba 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 2840ba1ca0 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 9e4b4086e4 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 db73b3b4cf Bug 564086, part c: Remove dependency on XPCOM in subprocesses-spawning code. r=bsmedberg 2011-06-03 13:33:55 -05:00
Steven Michaud cf976ee5ab 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 e942f8f50a 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 56de4d1f15 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 f81f1189fb 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 7de58a1cfa 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 cd4a4570ef 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 705e9bc07a 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 020b76968f Bug 633653 - revamp about:memory. r=vlad,sdwilsh,dvander,gavin,ehsan,edwsmith; sr=benjamin. 2011-05-03 17:12:58 -07:00
Chris Jones f7c811a3e7 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 31aa2c4e77 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 e4bc95890c Bug 651059: Fix (benign) read/write race on AsyncChannel.mChannelState. r=bent 2011-04-28 19:15:03 -05:00
Jacek Caban 580718d5ee 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 3c866720cc Bug 641426. Part 1: Create Point and Size templates. r=joe,sr=cjones 2011-04-19 15:07:21 +12:00
Justin Lebar d5dcbf68a6 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 9f40b44a29 Merge cedar into mozilla-central 2011-03-25 23:55:33 -04:00
Jason Duell 4d46a8bfba 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 b98bf75175 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 ecf6425f70 Bug 640901: Clean up managees when manager ctor fails. r=cjones 2011-03-21 11:00:00 -05:00
L. David Baron 7c0acef8c1 Backout changeset b9e6454362ef (Bug 620931 part 3) for causing bug 644790. 2011-03-24 21:07:05 -07:00
Mike Hommey 0cfcd44b08 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 a36a04c6d1 Bug 633462: Nuke this printf in release builds. r=bent a=a 2011-02-23 11:45:09 -06:00
Chris Jones ac68853cfa 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 5d7822abb3 Bug 606074: removing bogus include, r=me, a=cleanup, DONTBUILD 2011-01-20 09:17:42 -08:00
Brian Crowder 091e50c7d7 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
Chris Jones fc47f098e3 Bug 572134: "Undefer" the in-call that lost a race at stack-depth 1, if there is one, when RPCChannel code leaves the C++ stack, so that the in-call can be processed if there is an immediately following out-call. r=bsmedberg 2011-01-12 01:07:17 -06:00
Oleg Romashin 08463ea8b9 Bug 619488 - Inform child processes of the compositor's layer-manager type. r=jones.chris.g a=b-f 2010-12-31 09:40:19 +02:00
Benedict Hsieh e5050e3722 Bug 592768 - When using async launch, the toplevel actor doesn't have a process handle. Set the process ID with a callback function (OnChannelConnected). r=cjones
--HG--
extra : rebase_source : aa7743035e9a21759d99b9b9fbaf6371b8c82395
2010-10-08 16:24:36 -07:00
Ryan VanderMeulen 5de9ca5fd4 Bug 578546 - Fix more MSVC warning spam by removing unneeded declarations. r=cjones a=benjamin 2010-11-16 10:21:53 +01:00
Chris Jones 339106b788 Bug 562424: Switch IPDL interfaces to infallible TArray. r=bent a=blocking 2010-11-08 20:49:00 -06:00
Chris Jones f9c8ac111c Bug 598862, part 2: Add a dummy base::FileDescriptor. r=bsmedberg 2010-11-08 20:48:59 -06:00
Mike Hommey 8c61cbdbb0 Bug 605146 part 1 - Don't implement in StringUtil.cpp functions implemented in sys_string_conversion_win.cpp. r=ted,a=bsmedberg 2010-11-07 09:20:50 +01:00
Jim Mathies 786df8b68b Bug 607326 - Fix for ASSERTION: Received 'nonqueued' message 126. r=bent, a=final. 2010-11-05 10:19:05 -05:00
Chris Jones 198322446f Change a comment in a patch for bug 605362, so I can add a=blocking-fennec 2010-11-05 02:21:30 -05:00
Chris Jones 5c7d3456fb Bug 605362, part 5: Centralize more of the accounting. r=joe 2010-11-05 02:17:07 -05:00
Chris Jones bb45a6061a Bug 605362, part 4: Notify shmem MemoryReporters from all shmem backends. r=joe 2010-11-05 02:17:07 -05:00
Chris Jones d842dc7390 Bug 605362, part 3: Add MemoryReporters for shmem. r=vlad 2010-11-05 02:17:07 -05:00
Chris Jones 58cd28b141 Bug 605362, part 2: Track allocated sizes (in the allocating process) in all shmem backends. r=joe 2010-11-05 02:17:07 -05:00
Chris Jones d1fddc9cfc Bug 605362, part 1: Allocate page-aligned shmem segments in ShmImage, to match other allocators which more honestly report address space and system mem taken by alloc. r=joe 2010-11-05 02:17:07 -05:00
Chris Jones 5400747951 Bug 598866, part 2: Generate an AllocUnsafeShmem() method for shmem-using protocols. r=bent 2010-11-05 02:17:07 -05:00
Chris Jones 270620d210 Bug 598866, part 1: Add library support for an "unsafe" Shmem variant. r=joe 2010-11-05 02:17:07 -05:00
Michael Wu e9a652183b Bug 607534 - Optimize custom dynamic loader to use less memory, r=cjones a=blocking-fennec 2010-10-29 12:22:28 -07:00
Mark Finkle ecf2427900 Bug 608239: Backout changeset 99233ad2ff70 a=fennec-should-load-pages 2010-10-29 10:07:54 -04:00
Michael Wu 1a9d63506c Bug 607534 - Optimize custom dynamic loader to use less memory, r=cjones a=blocking-fennec 2010-10-28 23:45:46 -07:00
Jim Mathies ce89cd5c59 Bug 545892 - Always pass WM_NCPAINT events to the default event procedure. r=bent, a=beta7 2010-10-27 08:48:09 -05:00
Chris Jones 6170cbcb5c Bug 606279, part 2: Use more concise types in PDocumentRenderer. r=joe 2010-10-26 17:20:53 -05:00
Chris Jones ebdad5fae2 Bug 606538: Make msgids be 32 bits to stop the insanity. r=bent a=blocking-fennec 2010-10-22 17:28:40 -05:00
Jim Mathies 70cc2cf4f8 Bug 596094 - Restore plugin subclass when Flash resets it in full screen mode (ipc enabled case). r=bent, a=betaN 2010-10-21 16:52:48 -05:00
Jim Mathies 7766ea7adc Bug 545892 - Fix for plugins kill aero glass / browser window sometimes loses aero glass effect. r=bent, a=final. 2010-10-15 13:32:35 -05:00
Josh Aas 1e1451b22d Bug 586584: Enable OOPP testing for x86_64 Mac OS X. r=bsmedberg a=blocking2.0beta8+ 2010-10-14 15:07:38 -04:00
Josh Matthews 2acbdf0768 Bug 599198 - Content process throws several catastrophic assertions while initializing XPCOM (bandaide) r=bsmedberg a=blocking-fennec 2010-09-23 19:28:48 -04:00
Josh Aas e14ca98532 Bug 599059: Always store length at the end of shared memory segments as a 32-bit value. Don't use "sizeof(size_t)" because that differs between i386 and x86_64 and causes crashes when running i386 plugins from a x86_64 host. r=cjones a=blocking-b7 2010-09-24 02:31:47 -04:00
Chris Jones 27603d255c Bug 597336, part 4: If UseClientSideRendering(), render to a gfxImageSurface backed by memory shared with X and then XShmPutImage to copy it to our window's drawable. r=karl a=blocking-fennec 2010-09-23 20:00:06 -05:00
Josh Aas 5c84bcf9f6 Bug 590057: Add support for loading plugins of a different architecture than the host browser on Mac OS X. r=cjones a=blocking-b7 2010-09-15 23:09:19 -07:00
Chris Jones 06ec6c6ee8 Merge m-c --> cedar 2010-09-15 16:44:30 -05:00
Chris Jones 413f96b038 Bug 570625, part 2: Add a SurfaceDescriptorX11 datatype that abstracts what's needed to share an Xlib surface to another process. r=karl sr=shaver 2010-09-14 00:23:08 -05:00
Oleg Romashin 8c88c718ff Merge with mozilla central 2779c55431a4, no conflicts 2010-09-10 22:32:25 -07:00
Chris Jones bdd1b89f07 Bug 594878, part 2: Add a SharedMemoryBasic impl that uses /dev/ashmem on android. r=mwu 2010-09-10 16:45:59 -05:00
Chris Jones 0a21515e9f Bug 594878, part 1: Factor out chromium-implemented SharedMemoryBasic in preparation for an android-specific impl. r=joe
--HG--
rename : ipc/glue/SharedMemoryBasic.h => ipc/glue/SharedMemoryBasic_chromium.h
2010-09-10 16:45:59 -05:00
Chris Jones 3b953ced69 Merge m-c --> cedar 2010-09-08 17:25:30 -05:00