Commit Graph

231 Commits

Author SHA1 Message Date
Ehsan Akhgari
0fd9123eac Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Jan Beich
6d2fe1a5e3 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
90125f622d 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
6173fa297f Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Ben Turner
0010e82b08 Bug 759427 - 'Multiprocess blob support for MessageManager and IndexedDB'. r=smaug+janv+khuey (rs=sicking for nsBlobURI changes).
--HG--
extra : transplant_source : %95%B5y%11%C5%AB%D9%CF%FF%7C%5E%BB%E5%DA%F5j%83o%29%EB
2012-08-01 23:02:29 -07:00
Aryeh Gregor
e806eeab4f Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Oleg Romashin
acd3d18d8f 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
1688b83429 Bug 776647: Add support for dropping to a "nobody" user after fork()ing, and use that on gonk. r=cjones 2012-07-26 21:42:56 -07:00
Chris Jones
47abd59f8e Backed out changeset 201612a0b133 2012-07-26 21:55:41 -07:00
Guillaume Destuynder
bd26065506 Bug 776647: Add support for dropping to a "nobody" user after fork()ing, and use that on gonk. r=cjones 2012-07-26 21:42:56 -07:00
Ehsan Akhgari
54d06abbe0 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
cc75f7deee 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
c01bd473a9 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
6c00eca83e 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
4175253873 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
beb475c2b3 Bug 745148, part 2: GeckoChildProcessHost can't drop messages on the floor. Queue them and hand them off to the *Channel. r=bent 2012-07-14 14:21:32 -07:00
Brad Lassey
d571f01e38 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
401e2c2f55 Bug 759095 - remove licensing-related query now issue has been resolved. 2012-06-11 16:38:26 +01:00
Ryan VanderMeulen
891e38e528 Revert c39d36167b99 due to a horribly munged backout. 2012-06-10 19:44:50 -04:00
Ryan VanderMeulen
f497d31a0a Backout the bug 754202 backout due to orange. 2012-06-10 19:37:47 -04:00
David Zbarsky
0eaf962962 Bug 754874 - OMTC: Qt MessageLoop should use CurrentThread object for event dispatching. r=dougt 2012-06-09 15:18:05 -07:00
Anselmo Diaz
43af230e57 Bug 655413 - Don't bump timer frequency in the IPC code. r=cjones 2012-06-03 08:09:28 +02:00
Ms2ger
aea359ec17 Bug 558313 - Remove ipc/chromium/src/base/third_party/nspr for great justice; r=ted 2012-06-06 09:24:55 +02:00
Ms2ger
3666f0c55c Bug 758861 - Don't redefine stdin types in basictypes.h; r=bsmedberg 2012-06-06 09:21:50 +02:00
Brad Lassey
0e76ba5434 backout bug 755070 2012-06-04 20:15:37 -04:00
Brad Lassey
0c1edec2c0 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
d4eb7d5782 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
bac7888148 Bug 752067 - Build broken in ipc after prctl changes. r=cjones 2012-05-24 18:45:10 -04:00
Gervase Markham
ca171eec44 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Nathan Froyd
6e12d2a467 Bug 748914 - Part 1: implement Histogram::Clear; r=taras 2012-05-08 15:38:50 -04:00
Nicolas Silva
a20533f057 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
4f2ec63c86 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
b17940d9d7 Bug 749530 - Import atomicops_internals_mips_gcc.h from protobuf. r=cjones 2012-05-03 08:36:42 +02:00
Graeme McCutcheon
444c09308a Bug 747379 - Override Histogram::AddSampleSet for FlagHistograms. r=nfroyd 2012-04-27 11:14:03 +01:00
Joey Armstrong
e32fb827b8 bug 743280: cosmetic edits removed from bug 739710. r=ted 2012-04-10 10:45:15 -07:00
Mike Hommey
46646a522a 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
e8955b072d Bug 703155 - Port Mozilla Qt to Qt5. r=mark.finkle,mh+mozilla,dougt 2012-03-22 16:24:40 -07:00
Mike Hommey
6baca1829b Bug 736220 - Remove previously unused and broken assert definition from logging.h. r=cjones 2012-03-16 15:56:35 +01:00
Mike Hommey
866afeeb84 Bug 716544 - Include assert.h from logging.h. r=cjones 2012-03-13 09:47:02 +01:00
Benoit Girard
0123b51ae8 Bug 734685 - Support IPC Thread::SetName on Mac. r=cjones 2012-03-10 18:08:17 -05:00
Mike Hommey
7bf6b46bc7 Backout changesets 923a278f7ad5, 8f0164c90145, f5171db26f48, 7b590e1e392c and bd9a2f904e1f (bug 716544) because of Linux red 2012-03-13 10:29:26 +01:00
Mike Hommey
efd1e6cb12 Bug 716544 - Include assert.h from logging.h. r=cjones 2012-03-13 09:47:02 +01:00
Nathan Froyd
2cbd8085c0 Bug 723846 - Part 1: add FlagHistogram to ipc. r=taras 2012-03-01 15:03:11 -05:00
Nathan Froyd
5cdaa1fb93 Bug 726761 - don't check count sums when deserializing SampleSets; r=cjones 2012-02-13 13:46:32 -08:00
Martin Stránský
4c8f717e35 Bug 725655 - gcc 4.7 build failures (missing headers). r=benjamin 2012-02-10 16:07:41 +01:00
Thinker K.F. Li
a75369871d Bug 718617 - Move ObserverList of chromium into namespace "base", r=bsmedberg 2012-01-17 05:41:00 -08:00
Chao-ying Fu
0374237412 Add MIPS support to JaegerMonkey (bug 678154, r=dvander).
--HG--
extra : rebase_source : 8f174670ae068741a1536696e17e3a2a6bb4c7e5
2012-01-12 19:18:05 -08:00
Jacek Caban
58488e3ef5 Bug 717220 - Tons of 'comma at end of enumerator list' warnings r=jones.chris.g 2012-01-12 12:07:50 +01:00
aceman
a5124bc419 Bug 706724 - Fix for error: ‘ftruncate’ was not declared in this scope. r=benjamin 2012-01-11 10:46:54 +01:00
Jeff Muizelaar
3121e751f9 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