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

760 Коммитов

Автор SHA1 Сообщение Дата
Joey Armstrong 8276d50444 bug 750303: mkdir_deps - target specific enhancement 2013-03-04 14:34:02 -05:00
Gregory Szorc e1b210ddf6 Merge mozilla-central into build-system
The 3 merged files had no conflicts and were manually verified to ensure
no incompatible changes crept in.
2013-02-27 21:02:02 -08:00
Gregory Szorc c7bf7887f9 Bug 784841 - Part 18r: Convert /ipc; r=ted f=Ms2ger 2013-02-25 12:47:22 -08:00
Nathan Froyd 20269a1222 Bug 844146 - add BooleanHistogram::Accumulate to properly canonicalize values for boolean histograms; r=taras 2013-02-22 13:52:40 -05:00
stuartmorgan@chromium.org 81948a9656 Bug 842550: Simplify ScheduleDelayedWork implementation on Mac. rs=cjones
Imported from:
> From: stuartmorgan@chromium.org <stuartmorgan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
> Date: Wed, 25 Apr 2012 15:28:55 +0000 (+0000)
> Subject: Simplify ScheduleDelayedWork implementation on Mac
> X-Git-Url: http://git.chromium.org/gitweb/?p=chromium.git;a=commitdiff_plain;h=18e6c782965d2784995b011977777b10687bb9c0
>
> Simplify ScheduleDelayedWork implementation on Mac
>
> Instead of round-tripping through Time::Exploded, which seems to be a legacy of the method having a different argument type, just calculate the new timer firing time directly from the difference in time ticks.
>
> BUG=None
> TEST=None
>
>
> Review URL: http://codereview.chromium.org/10227001
>
> git-svn-id: svn://svn.chromium.org/chrome/trunk/src@133916 0039d316-1c4b-4281-b951-d872f2087c98
2013-02-21 18:10:59 -08:00
jar@chromium.org, L. David Baron 8876f7e142 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
Ginn Chen e0fe4d34b6 Bug 837561 ReadInt16 and WriteInt16 should be paired r=benjamin 2013-02-18 15:19:03 +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
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 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
Ben Turner d48efc0c7a Bug 834526, r=cjones. 2013-01-24 17:25:01 -08:00
Jan Beich 8fb239fc05 Bug 832723 - Unbreak build on BSDs after bug 786631. r=cjones 2013-01-25 10:10:12 -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
Chris Jones e052c45293 Bug 786631, part 1: Refactor privilege adjustment. r=dhylands 2013-01-17 12:06:36 -08:00
Chris Jones 1d8beb4d30 Back out bug 786631 2013-01-17 12:50:13 -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 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Ehsan Akhgari 87bfca191a Merge the landing of nsresult-enum on mozilla-central 2012-09-21 14:49:57 -04:00
Chris Peterson ffc8bf2738 Bug 778980 - Part 4a: Fix gcc -Wconversion-null warnings in ipc/chromium. r=bsmedberg
--HG--
extra : rebase_source : f74cecfefcdd599cf888d961906d0c033a9ee786
2012-09-21 09:28:13 -07:00
Jan Beich b92133ab14 Bug 791838 - lwpid_t is defined in sys/types.h, explicitly include it. r=cjones 2012-09-19 20:24:58 -04:00
Aryeh Gregor 93caa9fc7e Bug 777292 - Make nsresult an enum; r=ehsan,cjones,bsmedberg 2012-08-07 11:27:45 +03:00
Ms2ger 711f1fd480 Bug 787933 - Stop using stdin types in IPC code; r=bsmedberg+cjones sr=cjones 2012-09-17 10:37:20 +02:00
Jan Beich 92f76dd4ac Bug 789817 - Fix BeingDebugged() in IPC on NetBSD/OpenBSD. r=cjones 2012-09-11 21:49:39 -04:00
Jan Beich 2bb1187455 Bug 787588 - d_reclen is dead on DragonFly since 64bit inode support. r=landry 2012-09-06 21:47:27 +02:00
Landry Breuil f6add9be1c Bug 787040. Fix build warnings under ipc/. r=ms2ger 2012-08-31 10:18:42 +02:00
Jan Beich 61c455b317 Bug 787279 - Unbreak OS_BSD build after bug 782456. r=cjones 2012-08-31 10:17:24 +02:00
Chris Jones 0e062741d9 Bug 782456, part 1: Let clients of GeckoChildProcessHost specify privileges. r=bent 2012-08-29 09:24:48 -03:00
Jan Beich 647decf129 Bug 753046 - Apply libc++ fixes after OS_BSD changes. r=cjones 2012-08-28 23:17:07 +02:00
Martin Husemann de9ae86824 Bug 753046 - Add IPC support for BSDs, build glue. r=khuey,cjones 2012-08-28 23:16:51 +02:00
Martin Husemann 7579a5c9e1 Bug 753046 - Add IPC support for BSDs, ipc/chromium part. r=cjones 2012-08-28 23:16:41 +02:00
Martin Husemann 5f7b3202b0 Bug 753046 - Add IPC support for BSDs, process_util_bsd.cc file. r=cjones 2012-08-28 23:15:29 +02:00
Jan Beich 88fdf09070 Bug 753046 - Add IPC support for BSDs, dir_reader_bsd.h file. rs=cjones 2012-08-28 23:15:18 +02:00
Jan Beich f9928b922f Bug 785026 - Merge file_util_linux.cc into file_util_posix.cc. r=cjones 2012-08-25 22:29:06 -04:00
Chris Jones 967d4da9ae Bug 636063, part 2: Backend support for |compress|d 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 8b9d683757 Bug 636063, part 2: Backend support for |compress|d messages. r=bent 2012-08-25 01:25:08 -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
Jan Beich 6af996efab Bug 782521 - Don't use const for pthread_setname_np's 3rd arg on NetBSD. r=cjones 2012-08-15 21:00:50 -04:00
Chris Jones e1de846b70 Bug 778382: Don't put anonymous sockets in the PipeMap because they can collide. 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
Aryeh Gregor d0ad5a7d0c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Oleg Romashin cb76490018 Bug 744121 - Fix bogus issue with QObject::startTimer: QTimer cannot have a negative interval. r=cjones 2012-07-28 17:55:16 -04: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 5157db4f17 Bug 777734 - Initialize the type variable in ParamTraits<LogData>::Read; r=cjones
This is mostly to silence compiler warnings.  The uninitialized type itself
won't cause problems because failed Read() prevents dispatch.
2012-07-26 11:23:54 -04:00
Landry Breuil 87a30c06c6 Bug 775428: add a long long template for OpenBSD/64bits, fixes build breakage after 745148. r=cjones 2012-07-19 22:54:50 +02:00
Dave Hylands 364925d677 Bug 772734 - Fixes LaunchApp hang when launching. r=cjones
From 8010cffba6e3dec5f792e965aacb9621ef06e0d7 Mon Sep 17 00:00:00 2001
 plugin-container - v5
Added checks in case PR_DuplicateEnvironment or PR_Malloc fail
Added #ifdef so that only Android builds try to call PR_DuplicateEnvironment
Moved PR_DuplicateEnvironment function from mozglue into process_util_linux.cc
so that matched alloc/free calls happen under android.
---
 ipc/chromium/src/base/process_util_linux.cc |  146 +++++++++++++++++++++++++--
 1 file changed, 140 insertions(+), 6 deletions(-)
2012-07-13 08:41:30 -07:00
Ed Morley e438c5835d Backout 41f4bdd4b6bd (bug 772734), af578c454d1e (bug 773414) for XUL Android bustage, on a CLOSED TREE 2012-07-18 09:51:44 +01:00
Dave Hylands b19b3adfb8 Bug 772734 - Fixes LaunchApp hang when launching. r=cjones
From c6bdfcf39e3dfe28fe7376f8c0b1b9d07a1d969b Mon Sep 17 00:00:00 2001
 plugin-container - v4
Added checks in case PR_DuplicateEnvironment or PR_Malloc fail
Added #ifdef so that only Android builds try to call PR_DuplicateEnvironment
---
 ipc/chromium/src/base/process_util_linux.cc |  121 +++++++++++++++++++++++++--
 1 file changed, 115 insertions(+), 6 deletions(-)
2012-07-13 08:41:30 -07: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
Brad Lassey 6b0fea71be bug 755070 - Scrolling causes after paint notifications which causes screenshotting which causes checkerboarding r=kats,cjones 2012-06-14 09:08:51 -07:00
Gervase Markham 1dae5db5a1 Bug 759095 - remove licensing-related query now issue has been resolved. 2012-06-11 16:38:26 +01:00
Ryan VanderMeulen 5f2a19ee6e Revert c39d36167b99 due to a horribly munged backout. 2012-06-10 19:44:50 -04:00
Ryan VanderMeulen 6d6c4efbab Backout the bug 754202 backout due to orange. 2012-06-10 19:37:47 -04:00
David Zbarsky ae195aefdc Bug 754874 - OMTC: Qt MessageLoop should use CurrentThread object for event dispatching. r=dougt 2012-06-09 15:18:05 -07:00
Anselmo Diaz 0edf60727a Bug 655413 - Don't bump timer frequency in the IPC code. r=cjones 2012-06-03 08:09:28 +02:00
Ms2ger 8a8a27c9aa Bug 558313 - Remove ipc/chromium/src/base/third_party/nspr for great justice; r=ted 2012-06-06 09:24:55 +02:00
Ms2ger 39ccf575a7 Bug 758861 - Don't redefine stdin types in basictypes.h; r=bsmedberg 2012-06-06 09:21:50 +02:00
Brad Lassey 8800027a2d backout bug 755070 2012-06-04 20:15:37 -04:00
Brad Lassey 366b9bb39f bug 755070 - Scrolling causes after paint notifications which causes screenshotting which causes checkerboarding, screenshot only on idle r=kats 2012-06-04 11:56:30 -04:00
Gervase Markham 68d38d677f Bug 759095 - upgrade license to MPL 2, and other licensing cleanups.
--HG--
extra : rebase_source : da55a4937383eda2baf7c9a362501da8ee664146
2012-05-29 16:52:43 +01:00
Marco Perez 7765795e84 Bug 752067 - Build broken in ipc after prctl changes. r=cjones 2012-05-24 18:45:10 -04:00
Gervase Markham 82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Nathan Froyd ae7166da99 Bug 748914 - Part 1: implement Histogram::Clear; r=taras 2012-05-08 15:38:50 -04:00
Nicolas Silva 843317626a Bug 750498 - Support IPC Thread::SetName on Linux. r=cjones
--HG--
extra : rebase_source : b7eeef0e1cf7886685675eb25fcb7dbf00da2f0a
2012-05-01 15:34:41 -04:00
Joey Armstrong 6bf8cf559d Bug 739710 - Makefile.in edits to use mkdir_deps function: file batch #2. r=ted 2012-05-03 06:22:33 -04:00
Mike Hommey b220bffd2b Bug 749530 - Import atomicops_internals_mips_gcc.h from protobuf. r=cjones 2012-05-03 08:36:42 +02:00
Graeme McCutcheon 3357bf3e5f Bug 747379 - Override Histogram::AddSampleSet for FlagHistograms. r=nfroyd 2012-04-27 11:14:03 +01:00
Joey Armstrong 6f5491d1ad bug 743280: cosmetic edits removed from bug 739710. r=ted 2012-04-10 10:45:15 -07:00
Mike Hommey 609e12c771 Bug 738176 - Completely disable jemalloc when it's supposed to be disabled on OSX, and cleanup exposed APIs. r=jlebar,r=khuey 2012-04-05 09:20:53 +02:00
Oleg Romashin 84a412fcae Bug 703155 - Port Mozilla Qt to Qt5. r=mark.finkle,mh+mozilla,dougt 2012-03-22 16:24:40 -07:00
Mike Hommey 048e8f2656 Bug 736220 - Remove previously unused and broken assert definition from logging.h. r=cjones 2012-03-16 15:56:35 +01:00
Mike Hommey 00b2353a00 Bug 716544 - Include assert.h from logging.h. r=cjones 2012-03-13 09:47:02 +01:00
Benoit Girard 594565d0a8 Bug 734685 - Support IPC Thread::SetName on Mac. r=cjones 2012-03-10 18:08:17 -05:00
Mike Hommey 28f6f080e9 Backout changesets 923a278f7ad5, 8f0164c90145, f5171db26f48, 7b590e1e392c and bd9a2f904e1f (bug 716544) because of Linux red 2012-03-13 10:29:26 +01:00
Mike Hommey 73db411dd0 Bug 716544 - Include assert.h from logging.h. r=cjones 2012-03-13 09:47:02 +01:00
Nathan Froyd b6ec20a704 Bug 723846 - Part 1: add FlagHistogram to ipc. r=taras 2012-03-01 15:03:11 -05:00
Nathan Froyd b8e1dc11a5 Bug 726761 - don't check count sums when deserializing SampleSets; r=cjones 2012-02-13 13:46:32 -08:00
Martin Stránský fc78edad0a Bug 725655 - gcc 4.7 build failures (missing headers). r=benjamin 2012-02-10 16:07:41 +01:00
Thinker K.F. Li 11b8ef6ea2 Bug 718617 - Move ObserverList of chromium into namespace "base", r=bsmedberg 2012-01-17 05:41:00 -08:00
Chao-ying Fu 668eaaca12 Add MIPS support to JaegerMonkey (bug 678154, r=dvander).
--HG--
extra : rebase_source : 8f174670ae068741a1536696e17e3a2a6bb4c7e5
2012-01-12 19:18:05 -08: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
aceman 52a2181860 Bug 706724 - Fix for error: ‘ftruncate’ was not declared in this scope. r=benjamin 2012-01-11 10:46:54 +01:00
Jeff Muizelaar 28c29e71fe Bug 715672. Fix typo in ipc_message_utils.h. r=cjones
Caught by a clang warning:

/Users/jrmuizel/source/mozilla-central/ipc/chromium/src/chrome/common/ipc_message_utils.h:782:40: warning: expression result unused [-Wunused-value]
      ReadParam(m, iter, &r->dispatch) &&
            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^

and fixed upstream in http://codereview.chromium.org/1455001
2012-01-05 17:37:32 -05:00
Landry Breuil 586e9a885b Bug 714315 - Use DirReaderFallback on OpenBSD, where __NR_getdents64 doesn't exist. r=cjones 2012-01-05 10:15:06 +01:00
Jeff Walden dc51d61188 Bug 714422 - Don't mark GetCurrentProcessArchitecture as a static inline, fixing 271 warnings when building with clang. rs=dholbert 2011-12-31 01:15:59 -06:00
Jeff Walden 569422c3b1 Bug 714411 - Fix several instances of classes/structs inconsistently declared. rs=dholbert 2011-12-31 01:15:59 -06:00
Raúl Porcel fcfb606e8d Bug 713517 - Add IPC support for alpha. r=benjamin 2011-12-30 20:15:19 +01:00
Jeff Walden 57055e14b8 Mark GetCurrentProcessArchitecture as inline, silencing a couple hundred warnings in a build with Clang. No bug, rs=njn
--HG--
extra : rebase_source : 12b06827b2aadec9afb70eac06a5d8abbd1c6543
2011-12-18 17:34:52 -05:00
Makoto Kato 10e6018920 Bug 709575 - Remove unnecessary ipc/chromium files. r=cjones 2011-12-15 19:22:06 +09:00
Oleg Romashin 1fad47d551 Bug 704735 - _state is not initialized in Android-MessagePumpForUI ctor. r=cjones 2011-11-26 14:08:27 +01:00
Michael Wu 5dd6a67845 Bug 694206 - Add Gonk (B2G) widget backend, r=cjones 2011-11-10 16:17:46 -08:00
Gian-Carlo Pascutto d5f11d731f Bug 622992 - Remove pre/postfork hack in function that is now safe. r=cjones 2011-10-11 08:16:39 +02:00
Gian-Carlo Pascutto f27c381781 Bug 622992 - Update Chrome IPC to not allocate memory after forking. r=cjones 2011-10-11 08:14:57 +02:00
Mike Hommey 5b2277a57d Fixup bug 654056. r=bustage,f=edmorley 2011-10-05 09:39:18 +02:00
Mike Hommey bc6f265b30 Bug 654056 - Build IPC support for mips, hppa, ia64, s390(x), powerpc64 and sparc. r=bsmedberg 2011-10-05 08:57:58 +02: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
Makoto Kato 89bf0597c8 Bug 681202 - Add Android x86 target. r=glandium 2011-09-29 13:39:03 +09:00
Landry Breuil d11dac2b65 Bug 648735 - On OpenBSD/64 bits we need a typedef for unsigned long long, and reuse the unsigned long template on 32/64 bits; r=cjones 2011-09-21 18:36:52 +01:00
Landry Breuil 44bf114e8f Bug 648735 - OpenBSD: Include sys/stat.h; r=cjones
otherwise fails with:
ipc/chromium/src/base/platform_file_posix.cc:49: error: 'S_IRUSR' was not declared in this scope
ipc/chromium/src/base/platform_file_posix.cc:49: error: 'S_IWUSR' was not declared in this scope
2011-09-21 18:36:52 +01:00
Landry Breuil 6ccad9ce0a Bug 648735 - OpenBSD: Add missing limits.h and sys/param.h; r=cjones
otherwise fails with:
/usr/include/sys/proc.h:64: error: 'MAXLOGNAME' was not declared in this scope
/usr/include/sys/proc.h:287: error: 'MAXCOMLEN' was not declared in this scope

Don't try to include execinfo.h/use backtrace* funcs on OpenBSD too, otherwise fails with
../../dist/system_wrappers/execinfo.h:3:27: error: execinfo.h: No such file or directory
In constructor 'StackTrace::StackTrace()':
/home/landry/src/mozilla-central/ipc/chromium/src/base/debug_util_posix.cc:125: error: 'backtrace' was not declared in this scope
/home/landry/src/mozilla-central/ipc/chromium/src/base/debug_util_posix.cc: In member function 'void StackTrace::PrintBacktrace()':
/home/landry/src/mozilla-central/ipc/chromium/src/base/debug_util_posix.cc:144: error: 'backtrace_symbols_fd' was not declared in this scope
2011-09-21 18:36:52 +01:00
Landry Breuil 3b22a5f93c Bug 648735 - Fix build failure on OpenBSD/i386 & macppc; r=cjones
../../ipc/chromium/src/base/singleton.h:171: error: invalid conversion
from 'base::subtle::AtomicWord*' to 'volatile base::subtle::Atomic32*'

Lifted from www/chromium/patches/patch-base_atomicops_h
2011-09-21 18:36:52 +01:00
Landry Breuil 7fbf67136c Bug 648735 - On OpenBSD, assume clock is monotonic; r=cjones
otherwise fails with:
ipc/chromium/src/base/time_posix.cc:181:2: error: #error No usable tick clock function on this platform.
2011-09-20 13:23:04 +01:00
Landry Breuil 04fed87573 Bug 648735 - Include sys/uio.h to get the definition of struct iovec; r=cjones
ipc/chromium/src/chrome/common/ipc_channel_posix.cc:396: error: variable 'iovec iov' has initializer but incomplete type
2011-09-20 13:23:04 +01:00
Landry Breuil 32b3d43162 Bug 648735 - Use pthread_self() on OpenBSD to get current thread id; r=cjones 2011-09-20 13:23:03 +01:00
Landry Breuil 1dd0bdc168 Bug 648735 - Define stat64 to stat on Open/FreeBSD, since they don't have stat64() but stat handles >2Gb files fine; r=cjones
lifted from freebsd's www/firefox/files/patch-ipc-chromium-src-base-file_util_posix.cc
and https://bugzilla.mozilla.org/attachment.cgi?id=527621
2011-09-20 13:23:03 +01:00
Landry Breuil 11040674f1 Bug 648735 - Use nspr's prcpucfg.h for OpenBSD; r=cjones 2011-09-20 13:23:03 +01:00
Landry Breuil 891d9865d4 Bug 648735 - Build fails without sys/types.h inclusion; r=cjones
/usr/include/fts.h:42: error: 'dev_t' does not name a type
/usr/include/fts.h:45: error: 'size_t' does not name a type
/usr/include/fts.h:73: error: 'size_t' does not name a type
/usr/include/fts.h:74: error: 'size_t' does not name a type
/usr/include/fts.h:76: error: 'ino_t' does not name a type
/usr/include/fts.h:77: error: 'dev_t' does not name a type
/usr/include/fts.h:78: error: 'nlink_t' does not name a type
2011-09-20 13:23:03 +01:00
Landry Breuil 8cb342206d Bug 648735 - Add missing #defines for OS_OPENBSD, consider it as an OS_POSIX, while here add #defines for sparc64 arch; r=cjones 2011-09-20 13:23:03 +01:00
Jeff Muizelaar 6969654308 Bug 684091. Add the ability to subtract values from Histograms. r=taras
This is a copy of Add where we Accumulate with -1 instead of 1.
I'm doing this as a copy instead of factoring out the common code
to make this file easier to compare with chromium's histrogram.cc
2011-09-08 14:05:06 -04:00
Jim Chen bb78e1b03d Bug 680190 - Notify jemalloc when forking on Android; r=cjones 2011-08-30 17:11:36 -07:00
Ed Morley 3c59991770 Bug 680864 - Part B - Remove IPC_MESSAGE_ENABLE_RPC/BASE_API defines + histogrammer leftovers; r=cjones 2011-08-23 11:43:04 +01:00
Ed Morley 3236ae9bee Bug 680864 - Remove CHROMIUM_MOZILLA_BUILD ifdefs, since always defined and #ifndef codepaths broken anyway; r=cjones 2011-08-23 11:43:04 +01:00
Rafael Ávila de Espíndola d4148d789d Bug 678024 - Fix build with c++0x and clang. geteuid returns an unsigned value, and in c++0x we need an explicit cast to int in an initializer list; r=roc 2011-08-11 19:22:44 -04:00
Rafael Ávila de Espíndola 4677e74e4d Bug 678216 - Fix build with clang and c++0x; r=cjones
Use tighter types for some fields. These fields are used in
  CFGregorianDate gregorian = {
    exploded.year,
    exploded.month,
    exploded.day_of_month,
    exploded.hour,
    exploded.minute,
    seconds
  };

and in CFGregorianDate the month, day, hour and minute fields are 8 bits.
2011-08-11 18:44:04 -04:00
Jim Chen cc94f933c3 Bug 674806 - b. Include ctype.h before referencing tolower. r=cjones 2011-08-04 15:01:49 -07:00
Andrei Kurushin fe992a7ed5 Bug 665315 - OOPP Contextmenu loses messages; r=jmathies 2011-07-27 14:17:50 +02:00
Jim Chen 23b2e24cfe Bug 658074 - Optimize string usage in core IPC code; r=cjones 2011-06-29 00:08:57 -07:00
Chris Jones a17a5d62d4 Bug 564086, part j: Add IPC::Channel support for getting OS-level pipe info and creating from existing pipe descriptors. r=bent 2011-06-03 13:33:55 -05:00
Brad Lassey c398b11302 bug 617115 - support building with andorid NDKr5 r=ted 2011-04-01 16:47:37 -07: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
Ed Morley 97cc9c4eea Bug 655756 - Remove final XP_MAC remnants; r=josh 2011-05-10 20:24:48 +02:00
Jacek Caban 608b81e08c Bug 651861 - ipc/chromium compilation broken on mingw
r=jones.chris.g
2011-04-28 11:36:38 +00:00
Taras Glek 104c38def5 Bug 651262 - Update histogram.h/cc[win build fixes] r=bent 2011-04-27 11:06:57 -07:00
Taras Glek 9b7ade9efd Bug 651262 - Update histogram.h/cc[build fixes] r=cjones 2011-04-27 11:06:53 -07:00
Taras Glek 45f2caa1d8 Bug 651262 - Update histogram.h/cc r=cjones 2011-04-19 15:18:48 -07:00
Benjamin Stover 85b3a12e07 Bug 650081 Fix ipc_channel_win.cpp WARNING about Connect called twice r=cjones 2011-04-22 10:55:46 -07:00
Mike Hommey 89c6e0c32c Bug 643112 - Fix IPC build on Linux powerpc. r=bsmedberg 2011-04-13 09:45:42 +02:00
Matheus Kerschbaum 4eb6429f47 Bug 639754 - Remove MOZ_IPC checks since IPC is always built now; r=bsmedberg 2011-04-02 19:14:00 -07:00
Makoto Kato 1ab756dc2d Bug 620888 - ReadParam(msg, iter, uint32) is extracted to ReadParam(msg, iter, size_t/intptr_t) on Windows x86; r=cjones 2011-01-28 00:27:00 -05:00
Mike Hommey e0ba81d2eb Bug 584474 part 9 - Replace fakelibs with a more sophisticated library expansion system. r=ted 2011-02-25 15:05:08 +01:00
Dominik Roettsches 7642105ca5 Bug 618810 - Qt Message Pump locks up in case of nested loops in flash plugin. r=dougt a=npodb 2011-01-07 14:18:29 +02:00
Eli Friedman e16594c52b Bug 579788 - Qualify access to dependent base in imported Chromium code. r=benjamin, a=benjamin
--HG--
extra : rebase_source : b2381678b364a078e554f3ef19afb3ce6d5bc753
2010-12-05 13:24:21 +00: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
Ryan VanderMeulen 4580960fc4 Bug 578540 - Fix MSVC warning spam by removing unneeded define from Chromium code. r=cjones 2010-11-13 09:15:07 +01:00
Mike Hommey df297a3763 Bug 569629 - Don't use std::numeric_limits to initialize static variables. r=bsmedberg,a=bsmedberg 2010-10-06 11:52:22 +02:00
Mike Hommey df97124ed9 Bug 605146 part 3 - Missing chromium constants for windows builds. r=ted,a=bsmedberg 2010-11-07 09:20:50 +01:00
Mike Hommey 16630d0014 Bug 605146 part 2 - Compile sha512.cc on all platforms. r=ted,a=bsmedberg 2010-11-07 09:20:50 +01:00
Adam Michel f416b103b4 Bug 570134 - Building with Apples llvm-gcc-4.2 fails on IPC. r+a=bsmedberg 2010-10-24 11:32:43 +02: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
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
Josh Aas 1f83591a78 Bug 592951: Use 'posix_spawnp' to launch child processes on Mac OS X. r=ted a=blocking-b6+ 2010-09-10 13:09:30 -04:00
Josh Aas 252c8e9c10 Backed out changeset 52388a9a6337, bug 592951. a=me 2010-09-08 18:19:51 -04:00
Josh Aas 27016c473f Bug 592951: Use 'posix_spawnp' to launch child processes on Mac OS X. r=ted a=blocking-b6+ 2010-09-08 16:24:30 -04:00
Josh Aas 9b2ad55f9a Bug 590857: Fix problematic usage of 'size_t' in IPC code, 'size_t' size depends on architecture and sending it via IPC directly can break cross-architecture IPC. Part of this patch was written by Ben Turner. r=cjones a=blocking-b6 2010-08-31 13:51:51 -04:00
Josh Aas b79fce135f Bug 590052: For values that vary in size by architecture like 'long', 'unsigned long', 'size_t', and pointers, standardize on their longer (64-bit) form for sending via IPC. Part of making cross-architecture IPC work. r=cjones a=blocking-b6 2010-08-31 14:01:21 -04:00
Ted Mielczarek f4b8a00e3c bug 587747 - Implement writing of minidumps from hang detection on OS X. r=cjones a=blocking
--HG--
extra : rebase_source : fef081b5b0fae828ecc0c2678d83787778dfc70d
2010-08-27 09:32:45 -04:00
Josh Aas b97601d9e3 Bug 590054: Fix cross-architecture IPC pointer size issues with Cocoa NPAPI events. r=benwa r=cjones a=blocking-b6 2010-08-26 04:21:41 -04:00
Chris Jones bd671f4d54 Bug 588216: Avoid race between IO-thread loop->PostTask() and main-thread loop->SetNestableTasksAllowed() that led to Tasks being ignored. r=bent 2010-08-19 15:31:47 -05:00
Edmund Wong c31f357639 Bug 585336: Fix "a the" in comments (for General core code). r=timeless a=NPOTB (comment-only) 2010-08-15 15:50:02 -07:00
Oleg Romashin afe1f4eb6f Bug 560630 - NotificationService for e10s fennec initialized and used in different threads. r=bent.mozilla. a+ 2010-08-10 13:12:21 -07:00
Chris Jones 74f1ca4d2c Bug 584580: Delete some unused code imported from chromium. r=bent 2010-08-05 17:11:23 -05:00
Kyle Huey ef8a1429c9 Bug 522770: Link directly to object files instead of intermediate static libs. Patch originally written by Ted Mielczarek. Checking into a CLOSED TREE as a bustage fix. reviews pending.
--HG--
extra : rebase_source : 54a506a5815dcdedaf3f61ad7d6bdd0529d7f5f7
2010-08-01 01:48:21 -07:00
Benoit Girard 33301ca730 Bug 557225 - Fix TryServer failures. r=cjones r=josh 2010-07-20 00:17:45 -04:00
Benoit Girard 942c80cced Bug 557225 - Load the plugin-container from the App Bundle. r=cjones 2010-07-19 18:35:45 -04:00
timeless@mozdev.org b2a92b4b2f Bug 555690 ThreadData::StartTracking should use #else. r=cjones 2010-07-13 11:56:47 -07:00
Michael Wu a15fd7b143 Fix windows build after bug 574120 1727bfc11147 2010-06-25 13:03:48 -07:00
Michael Wu e7a0c46852 Bug 574120 - Add Android support to IPC code, r=cjones 2010-06-25 11:39:02 -07:00
Jason Duell 386a098a89 Merge from m-c.
Fair amount of merge conflicts.

Biggest item was changes to nsHttpChannel from web sockets changes.

Other likely suspects if things are borken:

nsFrameLoader.cpp:
    - nsFrameLoader::EnsureMessageManager: pass "this" (orig e10s code) or
      nsnull (m-c) to local process call to new nsFrameMessageManager(),
      callback arg?  Smaug said null.
    - only calling SetCallBackData for local case.  also +r smaug.

nsPrefBranch.cpp had fairly extensive merge conflicts.

nsChromeRegistry had lots of changes.

Dougt did most of the non-necko changes (thanks).

--HG--
rename : netwerk/protocol/http/nsHttpChannel.cpp => netwerk/protocol/http/nsHttpChannelAuthProvider.cpp
rename : netwerk/protocol/http/nsHttpChannel.h => netwerk/protocol/http/nsHttpChannelAuthProvider.h
2010-06-22 17:33:57 -07:00
Doug Turner 7d42fba019 Bug 570945 - Qt is not compiling. r=me. Slightly modifed based on chris.jones comments 2010-06-09 16:02:38 -07:00
Doug Turner b2c88178e3 Merging with M-C.
Hand merged the following files:

U chrome/src/nsChromeRegistry.cpp
U chrome/src/nsChromeRegistry.h
U content/base/src/nsFrameLoader.cpp
U content/base/src/nsFrameLoader.h
U dom/src/geolocation/nsGeolocation.cpp
U dom/src/geolocation/nsGeolocation.h
U netwerk/build/Makefile.in
U netwerk/cookie/nsCookieService.cpp
U netwerk/cookie/nsCookieService.h

--HG--
rename : extensions/cookie/test/unit/test_cookies.js => extensions/cookie/test/unit/test_cookies_thirdparty.js
rename : netwerk/cookie/src/nsCookieService.cpp => netwerk/cookie/nsCookieService.cpp
rename : netwerk/cookie/src/nsCookieService.h => netwerk/cookie/nsCookieService.h
rename : netwerk/dns/src/nsIDNKitInterface.h => netwerk/dns/nsIDNKitInterface.h
rename : netwerk/protocol/http/src/nsHttp.h => netwerk/protocol/http/nsHttp.h
rename : netwerk/protocol/http/src/nsHttpChannel.cpp => netwerk/protocol/http/nsHttpChannel.cpp
rename : netwerk/protocol/http/src/nsHttpChannel.h => netwerk/protocol/http/nsHttpChannel.h
rename : netwerk/protocol/http/src/nsHttpChunkedDecoder.h => netwerk/protocol/http/nsHttpChunkedDecoder.h
rename : netwerk/protocol/http/src/nsHttpHandler.cpp => netwerk/protocol/http/nsHttpHandler.cpp
rename : netwerk/protocol/http/src/nsHttpHeaderArray.h => netwerk/protocol/http/nsHttpHeaderArray.h
rename : netwerk/protocol/http/src/nsHttpRequestHead.h => netwerk/protocol/http/nsHttpRequestHead.h
rename : netwerk/protocol/http/src/nsHttpResponseHead.h => netwerk/protocol/http/nsHttpResponseHead.h
rename : netwerk/protocol/http/src/nsHttpTransaction.cpp => netwerk/protocol/http/nsHttpTransaction.cpp
rename : netwerk/protocol/res/src/nsResProtocolHandler.cpp => netwerk/protocol/res/nsResProtocolHandler.cpp
rename : netwerk/protocol/res/src/nsResProtocolHandler.h => netwerk/protocol/res/nsResProtocolHandler.h
2010-06-07 13:38:02 -07:00
Oleg Romashin 2538039097 Merge with latest mozilla central r 42802:ffbc3baf03ae 2010-05-25 15:19:33 -04:00
Olli Pettay 93984b6736 m-c to e10 merge 2010-05-24 17:45:59 +03:00
Chris Jones cb5eb283e4 Merge missed nsChromeRegistry change from m-c and fix busted content-process XPCOM/chromium event loop. 2010-05-14 01:41:14 -05:00
Chris Jones 2ed40cd772 Merged m-c 2010-05-13 18:04:53 -05:00
Doug Turner 0dc0f3273e merge with m-c. resolved conflicts in:
U chrome/src/nsChromeRegistry.cpp
U content/base/src/Makefile.in
U dom/base/nsDOMClassInfo.cpp
U toolkit/toolkit-tiers.mk

--HG--
rename : toolkit/mozapps/extensions/test/unit/test_bug541420.js => toolkit/mozapps/extensions/test/xpcshell/test_bug541420.js
2010-05-11 11:09:54 -07:00
Benoit Girard 94d6258a5b Bug 528146: Run plug-in code on the thread that starts in main(). r=cjones
--HG--
rename : dom/plugins/PluginThreadChild.cpp => dom/plugins/PluginProcessChild.cpp
rename : dom/plugins/PluginThreadChild.h => dom/plugins/PluginProcessChild.h
rename : ipc/ipdl/test/cxx/IPDLUnitTestThreadChild.cpp => ipc/ipdl/test/cxx/IPDLUnitTestProcessChild.cpp
rename : ipc/ipdl/test/cxx/IPDLUnitTestThreadChild.h => ipc/ipdl/test/cxx/IPDLUnitTestProcessChild.h
2010-05-10 23:18:00 -05:00
Chris Jones 03b01c916d Bug 562741: Allow |Shmem|s to be shared across different protocol trees. r=bent 2010-05-22 14:35:33 -05:00
Chris Jones e7c13aeb2d Bug 563747: Allow building ipc/chromium on PPC, enable MOZ_IPC for mac/ppc. r=bsmedberg 2010-05-04 19:22:34 -05:00
Jim Mathies 0879ff6221 Bug 558986 - detect and resolve races between MS-COM RPC and IPDL RPC by implementing IMessageFilter and processing pending IPDL RPC calls while waiting for MS-COM RPC responses. Original patch by bsmedberg, r=cjones/jimm/ehsan with followup fixes by Jim Mathies, r=bsmedberg
--HG--
extra : rebase_source : 214029d3188f8aa00948e0dcdc3c11cd279d1569
2010-05-21 11:48:34 -04:00
Chris Jones 9e8fb2c03a Bug 551071: Suppress valgrind-reported "mismatched free()" (false alarm) of chromium objects by using mozalloc there (complements STL wrappers). Add a gross hack to prevent mozalloc macros from conflicting with methods in jscntxt.h. r=bent r=bsmedberg dependent-r=brendan 2010-06-04 18:16:34 -05:00
Jim Mathies e9cf1d1dad Bug 558986 - Backout of fix for crashes in TSF with Flash/Silverlight on tablets. CLOSED TREE 2010-05-17 14:36:43 -05:00
Benjamin Smedberg 695ab55828 Bug 558986 - Fix for crashes in TSF with Flash/Silverlight on tablets (OLE/COM nested event loops). r=cjones, jimm, ehsan. 2010-05-17 11:33:34 -05:00
Chris Jones bd6bf48e7a Merged m-c 2010-04-27 01:53:06 -05:00
Chris Jones 403eae2c27 Bug 555275: Clean up shared memory segments when the top-level actor dies. r=bent 2010-04-26 20:11:42 -05:00
Oleg Romashin e9043320a2 Bug 553904 - Child tab process crashes on attempt to initialize child plugin process. r=bent.mozilla 2010-04-20 21:43:51 +03:00
Doug Turner 9a784d5dfd Automerge with mc. no manual changes 2010-04-21 03:31:13 -07:00
Mike Hommey a3c2b24aa1 Bug 558789 - Allow to build against system libevent [r=benjamin, r=cjones]
--HG--
extra : rebase_source : cd964ba40277ebd89dda8392c8a842ca9ef01bf8
2010-04-20 09:06:55 +02:00
Chris Jones 8cd39f1f00 Merge mozilla-central 2010-04-16 01:34:35 -05:00
Jonathan Kew bfd00b5249 bug 558489 - prevent cocoa object autorelease-leakage during ipc startup. r=josh 2010-04-15 09:31:10 +01:00
Josh Matthews 32dc72e1a5 b=539406 retain existing listener in AyncChannel for GeckoChildProcessHost::OnChannelConnected r=cjones 2010-04-12 12:13:00 +12:00
Jim Mathies d7b3220b47 Bug 558503 - [OOPP] Watching netflix video: Silverlight crashes the plugin helper. r=bsmedberg. 2010-04-12 15:25:57 -05:00
Doug Turner 0042d3f84e Bug 570945 - Qt is not compiling. r=me. Slightly modifed based on chris.jones comments 2010-06-09 16:02:38 -07:00
Dão Gottwald 1373cde9a0 Backed out changeset 48e202424e35 2010-05-13 18:26:36 +02:00
Martin Stránský 62adcd87d5 Bug 562029 - ipc fails to build with gcc version 4.1.2. r=chris.jones 2010-05-13 17:38:19 +02:00
Oleg Romashin d1a1adf01a Bug 562285 - Rewrite gfxSharedImageSurface class to be compatible with IPC Shmem.r=jones.chris.g, sr=vladimir
--HG--
extra : rebase_source : 245e4c8ee52856bcf8900a049132b9f5b4a53bbb
2010-05-13 11:52:59 -04:00
Mike Hommey 4129f47992 Bug 542460 - Remove executable permission on source files [r=ted.mielczarek] 2010-05-06 09:32:50 +02:00
Mike Hommey 8ad40eec03 Bug 563294 - Include memory.h instead of memory to avoid failure to build in gcc C++0x mode [r=benjamin] 2010-05-06 09:16:54 +02:00
Chris Jones e5b0a6f49d Bug 563747: Allow building ipc/chromium on PPC, enable MOZ_IPC for mac/ppc. r=bsmedberg 2010-05-05 16:35:09 -05:00
Kai Engert 74c1119dd7 Bug 560615, XPCOM fails to build because of incorrect IPC code
r=jones.chris.g
2010-05-03 13:35:19 +02:00
Ben Turner 8271154a90 Bug 521118 - '[OOPP] Need NPAPI threadsafety checks in plugin process'. r=cjones, a=dbaron for CLOSED TREE 2010-03-24 12:30:45 -07:00
Oleg Romashin 5f35f1d096 Bug 564997 - _state is not initialized in QT-MessagePumpForUI ctor. r=dougt
--HG--
extra : rebase_source : 07e186531ad8b4d3bd71778d2a0b3d613b8ddc17
2010-05-12 05:46:33 -04:00
Oleg Romashin b6db5b93e9 Bug 553904 - Child tab process crashes on attempt to initialize child plugin process. r=bent.mozilla
--HG--
extra : rebase_source : 2a018b5f9c74a713e493643e611b330e08e1afd8
2010-04-20 21:43:51 +03:00
Martin Stránský 080feb5d07 Make ipc/ build with gcc 4.1.2. r=cjones 2010-05-24 09:36:49 +12:00
Chris Jones 03f2b0ee31 Bug 542053: Set LD_LIBRARY_PATH=[GRE dir] for mozilla-runtime on linux. r=bsmedberg 2010-04-09 15:03:08 -05:00
Dan Witte 1912a6e247 Bug 562198: Namespace NSS & NSPR functions in ipc/chromium code, to avoid stomping on their Mozilla counterparts. r=bsmedberg 2010-06-11 11:03:07 -07:00
Chris Jones c92f3bf7e0 Bug 533055: Part 1: Add a name field to IPC::Message. r=bent 2010-03-18 17:52:29 -05:00
Josh Aas 8b91ef75b0 Update Mac OS X message pump code for child processes. b=552878 rs=cjones 2010-03-17 20:10:42 -04:00
Josh Aas 36aed1ebfa Allow Gecko to build and run on Mac OS X with MOZ_IPC defined. b=552862 r=cjones 2010-03-17 14:38:28 -04:00
Oleg Romashin 5291f401f2 Bug 544190 - QCore version needed to replace message_pump_glib.cc. r=dougt 2010-02-18 23:48:50 +02:00
Chris Jones 64a18262f7 Bug 544882, bug 545312: Only tell glib that work is pending if there has been a pollin or timer expiration. Merged from chromium latest, r=chromium
--HG--
extra : transplant_source : %E5%C0%3E%24%FEXX%FC%9A%1C%F4%93Pc%05%0AH%91%A1%F7
2010-02-10 22:04:56 -06:00
Jim Mathies b6a87b5083 Bug 538918 - [OOPP] Modal system dialogs cause UI freeze w/windowless controls. r=bent, cjones.
--HG--
extra : transplant_source : %28B%08h%F29L%BE%BBEh%E8%92%22%2A%8E%A8%00F%83
2010-02-09 16:34:38 -06:00
Benjamin Smedberg d5eb4d3947 Bug 516515 - Don't initialize XPCOM in plugin processes, r=cjones
--HG--
extra : rebase_source : cab356b862a66fb7f5955b1f936944f2395bba3c
2010-02-03 17:17:09 -05:00
Oleg Romashin 76f524a22a Bug 534644 - e10s: implement Qt ipc/chromium backend, part 2. r=benjamin. 2010-01-29 08:50:44 +02:00
Oleg Romashin 9a4397fa5b Bug 534644 - implement Qt ipc/chromium backend, first part. r=benjamin, r=jones.chris.g 2010-01-28 07:22:41 +02:00
Benjamin Smedberg dd62baca17 Bustage fixup from bad merge of bug 535564 2010-01-27 12:18:36 -05:00
Chris Jones 0db41ce779 IPC socketpair()s should be CLOEXEC (dup2() unsets the flag for the new fd in the child process). irc-r=bsmedberg
--HG--
extra : rebase_source : 5946587beff45a6a0afa61469f7ba0288521bcc5
2010-01-26 18:13:43 -06:00
Benjamin Smedberg 13a549e6a9 Bug 535564 part 2: only open the PID for short periods while we're writing to it, r=jgriffin
--HG--
extra : rebase_source : 65604f973cc0ea70fc6b61273b8931a0c519c354
2010-01-27 11:17:22 -05:00
Benjamin Smedberg 6e8ca02ce6 Bug 540967 - "missing output line for total leaks" because the parent process isn't waiting for the child process to clean up/write leak logs, r=cjones
--HG--
extra : transplant_source : EW%5C-%60M%BCabd%A0%DE%F8%1EG%DF%03%14%B3%24
2010-01-22 10:21:33 -05:00
Chris Jones f4ec1f80fa Bug 521929, part 1: Add a "seqno" field to synchronous messages. r=bent
--HG--
extra : transplant_source : %D0%5D%CF%0DUv%AC%AD%09%F98%C4%14%E2%F8%14%2CUZ%97
2010-01-21 20:04:09 -06:00
Chris Jones cf5eee4330 Bug 539295: Add an extra EnsureProcessTerminated() parameter to control how lenient to be wrt child shutdown. r=bent
--HG--
extra : transplant_source : E%D9%F1%AE%DA%A6%FF%96%81F%FB%0F%92v%A3%27%8CE%D5%25
2010-01-13 14:57:51 -06:00
Makoto Kato e2108386c2 Bug 534813 - ipc_message_utils.h causes build error on Windows x64 build. r=jones.chris.g 2009-12-21 18:28:28 +09:00
Chris Jones 8e5648cbee bug 532983: fix invalid memory reads caused by regressions in shutdown behavior. r=bsmedberg 2009-12-07 00:03:49 -06:00
Chris Jones 8abc83ace0 bug 521949: make valgrind stop complaining about a false-positive uninitialized memory read 2009-12-04 16:45:23 -06:00
Chris Jones aea3243ee9 bug 523174: add a higher-level Shmem class that implements exclusive access rights between parent/child actors and does over/underflow checking. (Also adds a stop-gap lower-level SharedMemory class in lieu of bug 523172.) r=joedrew 2009-12-04 12:45:15 -06:00
Chris Jones e767ae72d1 bug 532333: part 2: implement an alternate EnsureChildTerminated() that listens for SIGCHLD (with a timeout) on the IO thread, instead of spawning a cleanup thread 2009-12-02 21:09:47 -06:00
Chris Jones f8b2e6c35f bug 532333: part 1: expose libevent signal events through chromium wrappers 2009-12-02 21:09:24 -06:00
Ben Turner f92346854c Bug 531821 - Add chromium LICENSE file. 2009-12-01 14:18:27 -08:00
Ben Turner 221a1d753c Fix PostDelayedTask in the message loop 2009-11-23 16:01:12 -05:00
Chris Jones 37505766aa include some headers missing in newer gcc/libc builds. r=trivial 2009-11-19 20:08:39 -06:00
Benjamin Smedberg 49150adb6d Followup to bug 525090 - log new processes to a file based on the environment, instead of unconditionally to stdout, r=cjones 2009-11-19 14:52:11 -05:00
Ben Turner 528fc497a1 Bug 528144 - 'Missing IPC messages cause hang during xpcshell test' 2009-11-13 15:35:33 -08:00
Chris Jones 5c7a5ab290 mac builds and runs with --enable-ipc, but the subprocess nsAppShell dies for an apparently Cocoa-related reason. IPC is fine though 2009-11-10 20:25:10 -06:00
Benjamin Smedberg 84942520d3 Followup to last patch: using the ternary operator doesn't shortcut creating the temporary object, and I can't figure out why it was a ternary anyway: make it an if. 2009-11-09 12:57:32 -05:00
Benjamin Smedberg 71e4c2d085 Fix the chromium logging stuff: make CHECK/LOG release-and-debug (DCHECK/DLOG are debug-only), and make it print warning/error/abort using NS_DebugBreak, which is especially important for release aborts. 2009-11-09 12:03:48 -05:00
Chris Jones 872eb8137d build fix for gcc <= 4.2 2009-11-06 22:57:13 -06:00
Chris Jones 5412e0bc87 fix build bustage and test SEGFAULTs 2009-11-06 17:07:52 -06:00
Benjamin Smedberg abde5a790a Followup to the previous patch: give arguments to CHECK also, to fix Maemo build bustage and be consistent. 2009-11-06 14:45:38 -05:00
Benjamin Smedberg b289c97b16 Bug 526868 - Drop the dependency on GLIBCXX_3.4.9 by hacking Chromium logging to use NSPR logging instead of ostream. Pending r+ from cjones, but I wanted to get this landed to see what it did to the Linux testerboxes. 2009-11-05 17:47:09 -05:00
Chris Jones 649b4bf497 bug 525677: shuffle some headers to appease gcc 4.2. IRC r=fred23,bsmedberg 2009-11-04 23:11:33 -06:00
Benjamin Smedberg b32ff65cda Update chromium code to newer versions (rev 23304) to avoid tr1/function which doesn't compile without RTTI on, and disable RTTI by default. 2009-11-04 15:46:27 -05:00
Jonathan Griffin b7375e8bd1 Bug 525090. Log the PID's of launched processes. r=cjones
--HG--
extra : rebase_source : 69365c5d2f3a96b21efdeea876389027fca6feb5
2009-11-02 14:41:46 -08:00
Ben Turner f78672f07d Don't let people get the order of includes wrong in this horrifying patchwork of chromium and mozilla types 2009-10-21 16:01:16 -07:00
Chris Jones b581a2e474 bug 518914: make sure that Messages are fully deserialized. fix fencepost error in chromium code 2009-10-19 16:06:13 -05:00
Chris Jones bb2747448d add racy RPC resolution. also add better debugging info and fix two shared-memory-race bugs. 2009-10-08 16:44:43 -05:00
Chris Jones ee53f3e0ae bug 518425, part 2: lessen routing ID collisions 2009-09-24 13:38:04 -05:00
Ben Turner 2941f8ddf4 Fix mem corruption from our different use of ChildProcessHost when child processes crash 2009-09-14 13:02:32 -07:00
Chris Jones 17a765274c make failed exec() print a loud error message 2009-09-03 17:12:57 -05:00
Ben Turner 7e8db9f9a4 Force child processes to close and wait for them on shutdown 2009-09-02 17:18:27 -07:00
Chris Jones fcd4f6280c bug 513920: synchronously "connect" to parent process from child process 2009-09-01 11:27:09 -05:00
Chris Jones db8283a880 fix build bustage; include prtime.h in IPDL code and avoid conflicting CaseInsensitiveCompare decls 2009-09-01 10:01:50 -05:00
Ben Turner 9d33531365 Fix testshell to use the new callback commands, and shut down properly 2009-08-25 16:07:22 -07:00
Chris Jones db2bde3f0d add race detection to RPC channels. simplify message processing, be stricter about layering guarantees. add more comments and assertions to channel code. 2009-08-19 00:22:01 -05:00
Chris Jones f02911c98e build on 64-bit linux 2009-08-12 00:41:55 -05:00
Ben Turner 12d174469f Fix chromium statics for apps that don't run through XRE_Main 2009-07-29 14:11:42 -07:00
Chris Jones 50b01f1178 windows build fix, v2 2009-07-21 09:28:36 -05:00
Chris Jones 0a5e27f76d windows build fix 2009-07-21 08:58:28 -05:00
Chris Jones b003459955 add message logging, as far as is possible with current build setup; -fshort-char breaks it. reinstate async/sync message dispatchers. fix 64-bit int printf bug in chromium. 2009-07-21 01:14:58 -05:00
Benjamin Smedberg 3f76d197c8 Make --disable-ipc work... mac-ppc now builds by default. 2009-07-20 15:04:52 -04:00
Benjamin Smedberg 62478d8e8a Use a different hack to make the Linux tinderboxes green until we can upgrade to GCC 4.3 2009-07-17 13:39:40 -04:00
cjones@dm-oink01.mozilla.org a9ad21732a BAND-AID: compile chromium base lib with -fno-inline to fix linker bustage. bye bye performance. 2009-07-16 14:59:49 -07:00
Chris Jones fd025df45e fix gcc <= 4.1 builds by removing mysterious template syntax 2009-07-15 13:21:06 -05:00
Chris Jones 9c6618c46e first cut at AsyncChannel and SyncChannel. only RPCChannel is currently under warranty. 2009-07-13 16:55:04 -05:00
Benjamin Smedberg fc924865a3 Build system for .ipdl files. 2009-07-13 12:14:56 -04:00
Benjamin Smedberg c0305d24cb Windows fixup: Windows does actually have 2-byte wchar_t. Also there was a possible missing PR_BEGIN_EXTERN_C that we really did need. 2009-07-07 12:20:02 -04:00
Ben Turner 9530b586ff Some windows build fixup 2009-07-02 13:48:33 -07:00
Benjamin Smedberg 5f48293ccf Require Windows XP SP2, and disable a compile-time check which doesn't make much sense in the chromium code. 2009-07-02 11:57:55 -04:00
Benjamin Smedberg a7eaf47932 Build fixes: * enable RTTI by default when building with GCC to work around the tr1/functional error * link with -lrt * Tell chromium that it's always using wide wchar on Linux 2009-06-30 13:21:26 -04:00
Benjamin Smedberg 0a5070dd8a Hook up the event loop changes and fix the build
--HG--
rename : ipc/chromium/src/base/file_version_info_linux.h.version => ipc/chromium/base/file_version_info_linux.h
2009-06-30 12:02:37 -04:00
Benjamin Smedberg 0202d773b3 ipc/glue imported verbatim from http://hg.mozilla.org/users/bturner_mozilla.com/libchromiumipc/ 2009-06-29 14:38:29 -04:00
Benjamin Smedberg b9b077cb23 Mozilla-specific changes to the Chromium code, imported verbatim from http://hg.mozilla.org/users/bturner_mozilla.com/libchromiumipc/ 2009-06-29 14:37:52 -04:00
Benjamin Smedberg a90c9ba160 Build the pieces of the chromium code we actually need. Many thanks to bent for doing this the first time: I redid the Makefile to be all in one directory and use vpath directives so that dependencies work correctly. 2009-06-29 14:31:58 -04:00
Benjamin Smedberg a64afe22b9 Import Chromium sources r15462 2009-06-29 08:35:58 -04:00
Mark Finkle 7b4bf2dfc7 Backing out 704e77dcb303 2010-06-02 01:40:56 -04:00
Oleg Romashin 79060c165c Bug 560630 - NotificationService for e10s fennec initialized and used in different threads. r=bent.mozilla 2010-06-02 05:25:46 -04:00