Commit Graph

151 Commits

Author SHA1 Message Date
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
Mike Hommey
70d7c821af Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Chris Peterson
4276e60c7a Bug 779366 - Part 3: Move direct buffer allocation to DirectBufferAllocator. r=kats 2012-07-31 15:54:29 -07:00
Andrew Quartey
df797e7733 Bug 735615 - Remove AutoClean from mozglue/linkers/Utils.h r=glandium 2012-07-30 14:17:53 -04:00
Chris Peterson
68edfe8314 Bug 777193 - Fix warning about extra semicolon in APKOpen.cpp. r=glandium
--HG--
extra : rebase_source : c4650aabcff018a6b53f4e669a405f14cacb3aed
2012-07-24 16:03:46 -07:00
James Willcox
30e0f551ce Bug 687267 - Initial support for Flash on Honeycomb r=bgirard,vlad,jgilbert,blassey 2012-07-20 15:20:51 -04:00
Ed Morley
320a116efd Backout 4987ffd173a4 (bug 687267) for bustage 2012-07-23 14:47:54 +01:00
James Willcox
752928c2eb Bug 687267 - Initial support for Flash on Honeycomb r=bgirard,vlad,jgilbert,blassey
--HG--
extra : rebase_source : 450055ae3e71ea84f74252d3bf100fe970d29d14
2012-07-20 15:20:51 -04:00
Ms2ger
cb94cc2ce1 Bug 776142 - Back out bug 687267 / changeset 8571114112b2 on a CLOSED TREE. 2012-07-22 14:02:18 +02:00
James Willcox
5517ea9fde Bug 687267 - Initial support for Flash on Honeycomb r=bgirard,vlad,jgilbert 2012-07-20 15:20:51 -04:00
Dave Hylands
351faa429a Bug 773414 - Add PR_DuplicateEnvironment function. r=cjones
From 2236c867cfc9b25bc1327206da8b4b29a91f65e0 Mon Sep 17 00:00:00 2001
Need to reimplement PR_GetEnv and PR_SetEnv so that we can access
to the lock. This is needed by PR_DuplicateEnvironment, which
was moved to ipc/chromium/src/base/process_util_linux.cc otherwise
the alloc/frees don't get matched up properly.

This is tempoarary until we can get PR_DuplicateEnvironment landed
into NSPR.
---
 configure.in                 |    2 +-
 mozglue/build/BionicGlue.cpp |   44 +++++++++++++++++++++++++++++++++++++++++-
 2 files changed, 44 insertions(+), 2 deletions(-)
2012-07-12 13:28:14 -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
a6e3f86e5c Bug 773414 - Add PR_DuplicateEnvironment function. r=cjones
From b339e5a9ec0218d6ef947b65f95a0da944197449 Mon Sep 17 00:00:00 2001
This is a hacked up version of PR_DuplicateEnvironment which
we can use until such time as we can get a version landed in
NPSR
---
 configure.in                 |    2 +-
 mozglue/build/BionicGlue.cpp |   58 +++++++++++++++++++++++++++++++++++++++++-
 2 files changed, 58 insertions(+), 2 deletions(-)
2012-07-12 13:28:14 -07:00
Mike Hommey
a716e0afd3 Bug 772886 - Avoid failure to mmap some library segments on some armv6 devices. r=nfroyd 2012-07-14 10:54:22 +02:00
Mike Hommey
125aebf06d Bug 763651 - Link the javascript engine against zlib. r=khuey 2012-07-12 08:30:59 +02:00
Chris Peterson
74cdd3bf3c Bug 766797 - Fix compiler warnings in APKOpen.cpp. r=glandium
--HG--
extra : rebase_source : b8e23d7dfa4d126a932229e2f0e3bc9266f8f05d
2012-06-21 17:18:37 -07:00
Mike Hommey
4e5eecb03d Bug 763987 - Normalize autoconf.mk.in. r=ted 2012-06-20 09:00:48 +02:00
Mike Hommey
a93eb5a48f Backout changeset 6984dace6afb (bug 763987) because of OSX opt jsreftest bustage 2012-06-20 10:55:59 +02:00
Mike Hommey
cd69374e33 Bug 763987 - Normalize autoconf.mk.in. r=ted 2012-06-20 09:00:48 +02:00
Mike Hommey
871b9e2a3a Bug 764021 - Cleanup Android use of StartupTimeline. r=blassey 2012-06-19 09:16:33 +02:00
Jeff Walden
3b720a666b Bug 763000 - Remove MOZ_Assert. r=Ms2ger, r=terrence, r=ted 2012-06-07 14:41:11 -07:00
Chris Peterson
675783dddd Bug 765116 - Part 2: mozglue/android: fix gcc -pedantic warnings. r=glandium 2012-06-18 09:06:59 -07:00
Chris Peterson
d6ba4d000b Bug 765116 - Part 1: mozglue/android: fix gcc -Wall warnings. r=glandium 2012-06-18 09:07:07 -07:00
Mike Hommey
c60b51ef30 Bug 735278 - Call destructors in reverse order of initializers in the linker. r=froydnj 2012-06-07 10:41:59 +02:00
Mike Hommey
1510749815 Bug 580408 - Glue for jemalloc 3.0.0. r=khuey 2012-06-07 10:41:59 +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
Brad Lassey
378cd4054d bug 759146 - Looper throws uncaught exception on (some?) HTC Sense 4.0 phones (HTC Evo 4G LTE, HTC J, etc) r=snorp 2012-05-31 20:07:07 -04:00
Ed Morley
6cf4e96cb1 Merge mozilla-central to mozilla-inbound 2012-05-30 18:24:56 +01:00
James Willcox
dbd1c52af7 Bug 727421 - Implement full screen support for Flash on Android r=blassey 2012-05-30 12:10:49 -04:00
James Willcox
0eee056855 Backout 814d564578d1 due to xul bustage 2012-05-30 11:58:50 -04:00
James Willcox
1822c63ae0 Bug 727421 - Implement full screen support for Flash on Android r=blassey 2012-05-30 10:29:16 -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
Mike Hommey
b8fba82334 Backout changeset 81c2e2ea2dbf (bug 746794) because of bug 758648 2012-05-25 18:21:03 +02:00
Mike Hommey
e2ba79894d Bug 746794 - Always use the STL wrappers when #pragma visibility is supported. r=ted 2012-05-25 08:31:33 +02:00
Gervase Markham
82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Lucas Rocha
6ebfacf1f0 Bug 750950 - Kill any zombie processes if database is locked (r=blassey) 2012-05-11 17:09:04 +01:00
Kartikaya Gupta
35db8c3ada Bug 751262 - Guard against leaking memory if NewDirectByteBuffer fails. r=blassey 2012-05-10 13:15:56 -04:00
Mike Hommey
a29da17198 Fixup for bug 736564 - Ship libmemory.a in the SDK instead of libjemalloc.a. r=ted 2012-05-04 09:46:27 +02:00
Mike Hommey
4079d49a02 Bug 736564 - Ship mozglue and jemalloc libraries in the SDK. r=bsmedberg,r=ted
As one import library on Windows, as one shared library on OSX and Android,
and as two separate static libraries on systems where mozglue is a static
library.
2012-05-03 08:36:12 +02:00
Fabrice Desré
2d07fe18c1 Bug 749695 - building with --disable-jemalloc fails [r=mwu] 2012-04-30 09:32:57 -07:00
James Willcox
bb4ddac382 Bug 727116 - Draw Flash plugins with OpenGL during pan/zoom on legacy Android r=blassey 2012-04-27 16:04:47 -04:00
Mike Hommey
2967371558 Bug 747033 - Implement dl_iterate_phdr in the custom linker. r=froydnj
--HG--
rename : mozglue/linker/CustomElf.h => mozglue/linker/Elfxx.h
2012-04-25 09:05:02 +02:00
Lucas Rocha
eb62535d0d Bug 746444 - Add native function to force unlock on database file (r=blassey) 2012-04-24 16:34:03 -04:00
Ali Juma
ed64e52133 Bug 733596 - Tell the compositor about the new surface size on surface change. r=bgirard a=blocking-fennec 2012-04-20 11:46:30 -04:00
Gian-Carlo Pascutto
5398c66783 Bug 745863 - Debug logging is not compiled out in NSSBridge. r=wesj 2012-04-17 11:25:54 +02:00
Wes Johnston
55cbc2d002 Bug 744816 - Fix leak encrypting passwords for android sync. r=rnewman 2012-04-16 09:14:18 -07:00
Wes Johnston
cc5a1a065c Bug 740961 - Remove debug logging from nssbridge. r=mfinkle 2012-04-12 20:32:41 -07:00
Gian-Carlo Pascutto
12e5d134c7 Bug 743715 - Cannot build Fennec without jemalloc. r=glandium 2012-04-11 14:12:34 +02:00
Michael Wu
f55a78b2b8 Bug 738561 - Cleanup mozglue for gonk, r=glandium 2012-03-29 18:32:44 -07:00
Cervantes Yu
dc31ed139f Bug 741272 - Implement raise() using pthread_kill() so the signal will be sent to the the caller thread instead of a random thread in the thread group. r=blassey,khuey 2012-04-02 17:59:29 +08:00