Commit Graph

260 Commits

Author SHA1 Message Date
Nicholas Nethercote
acc80a9abd Bug 819819 (part 2) - Remove |name| from NS_MEMORY_REPORTER_MALLOC_SIZEOF_FUN. r=jlebar.
--HG--
rename : dom/tests/mochitest/localstorage/test_localStorageQuotaPrivateBrowsing_perwindowpb.html => dom/tests/mochitest/localstorage/test_localStorageQuotaPrivateBrowsing.html
rename : toolkit/components/places/tests/browser/browser_favicon_privatebrowsing_perwindowpb.js => toolkit/components/places/tests/browser/browser_favicon_privatebrowsing.js
extra : rebase_source : 557cc60522970ce7eea3b006d357284d9b4694c4
2012-12-23 16:59:51 -08:00
Trevor Saunders
e3b2aa92a5 bug 822717 - remove checks for old gcc r=glandium 2012-12-18 13:22:28 -05:00
Marco Bonardo
1c2790c99e Bug 821628 - xptcstubs_x86_64_darwin is wrongly converting some bool params
r=bsmedberg
2012-12-20 23:44:40 +01:00
Nicholas Nethercote
4f095fe3dd Bug 811203 (part 1) - Inline XPTMethodDescriptor::result. r=khuey.
--HG--
extra : rebase_source : 1c2a89684f5b60a3e24ce995ed7e062e88e18610
2012-11-19 16:18:41 -08:00
Nicholas Nethercote
4424dc63a6 Bug 811132 - Avoid some wasted space by making XPT arena chunks bigger. r=khuey.
--HG--
extra : rebase_source : edeb0ca8eb7435c3ba50a9e6603e16637b06ca9f
2012-11-12 16:14:04 -08:00
Makoto Kato
1b9b070867 Bug 807895 - Remove BSD/OS code. r=khuey 2012-11-08 10:36:28 +09:00
Isaac Aggrey
cbb17fe7b2 Bug 794510: Part 2: Use more stdint types instead of protypes.h types; r=ehsan 2012-10-11 18:38:04 -05:00
Andrew Quartey
0e23b26077 Bug 792581 - part 19: Replace LL_I2L macro with int64_t cast. r=ehsan 2012-10-12 13:29:11 -04:00
Andrew Quartey
790ec84feb Bug 792581 - part 15: Replace LL_L2I macro with int32_t cast. r=ehsan 2012-10-12 13:29:10 -04:00
Oleg Romashin
b1d731a136 Bug 796927 - XPCOM build fix, followup for b777292. r=siarhei.siamashka@gmail.com 2012-10-06 14:00:47 -07:00
Andrew Quartey
efd58ac27b Bug 792581 - part 11: Replace LL_MUL macro with multiplication operator. r=ehsan 2012-10-05 01:05:28 -04:00
Andrew Quartey
b92e443462 Bug 792581 - part 9: Replace LL_ADD with mathematical plus operator. r=ehsan 2012-10-05 01:05:27 -04:00
Nathan Froyd
5f8f36ca5f Bug 796119 - part 2: don't #include prtypes.h in xpcom/ unless absolutely necessary; r=ehsan
"absolutely necessary" in this context means "needs PRUnichar", which is
the reason that nsString.h now #includes prtypes.h.
2012-10-01 17:01:01 -04:00
Ehsan Akhgari
bdd40e5c18 Backout changeset 9e38c5518605, fc59bd8d49ba, d0ba1abde985, and acf91f25f228 (bugs 796119, 796279, and 797106) because of broken reftests on 64-bit platforms 2012-10-02 23:16:36 -04:00
Nathan Froyd
d66cf7dc03 Bug 796119 - part 2: don't #include prtypes.h in xpcom/ unless absolutely necessary; r=ehsan
"absolutely necessary" in this context means "needs PRUnichar", which is
the reason that nsString.h now #includes prtypes.h.
2012-10-01 17:01:01 -04:00
Landry Breuil
18bf4b7213 Bug 793409 - Fix bug 777292 fallout on OpenBSD/amd64 r=ehsan 2012-09-23 21:30:54 +02:00
Aryeh Gregor
40eb076032 Bug 777292 - Make nsresult an enum; r=ehsan,cjones,bsmedberg 2012-08-07 11:27:45 +03:00
Ehsan Akhgari
b5c39afb4e Bug 792502 - Kill the FunctionTimer code; r=vlad 2012-09-19 16:59:38 -04:00
Aryeh Gregor
5a68b81a9b Bug 783523 - Fix platform-specific nsresult misuse; r=ehsan,tbsaunde,smaug 2012-08-16 14:58:11 +03:00
Landry Breuil
7d89ba8711 Bug 783875: Fix OpenBSD/arm platforms detection in xpcom. r=bsmedberg. 2012-08-26 21:54:19 +02:00
Ehsan Akhgari
2795937cf4 Bug 579517 - Part 4: Manually rewrite some parts of the code base not covered by the automated conversion; r=bsmedberg 2012-08-22 11:59:54 -04:00
Ehsan Akhgari
0fd9123eac Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

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

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

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Jan Beich
6049175730 Bug 761077 - Use same xptcall stubs on FreeBSD/ia64 as on Linux/ia64. r=bsmedberg 2012-08-07 20:49:07 -04:00
Jan Beich
e708296df5 Bug 761077 - Build xptcall on FreeBSD ia64/ppc/ppc64/sparc64. r=bsmedberg 2012-08-07 20:49:06 -04:00
Mike Hommey
6173fa297f Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Aryeh Gregor
e806eeab4f Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Rafael Ávila de Espíndola
60e7b206f1 Bug 776079 - Many -Wsometimes-uninitialized warnings in xptcinvoke_x86_64_unix.cpp. r=timeless.
--HG--
extra : rebase_source : 9c323150dfa4fc6c49e03422a54832bb477bea44
2012-07-26 16:09:11 -04:00
Nathan Froyd
63d3907cda Bug 765344 - xpti-working-set numbers should include xptiWorkingSet's hashtables; r=njn,jlebar 2012-06-18 20:10:08 -04:00
Ehsan Akhgari
ddcea4e3b7 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 (XPCOM parts); r=bsmedberg 2012-06-05 19:51:58 -04:00
Geoff Lankow
00f3a215c9 Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg 2012-06-06 14:08:30 +12:00
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
Mike Hommey
bb45e7dbc8 Bug 756745 - Use the "right" headers for mips xptc assembly on android. r=bsmedberg 2012-05-24 10:57:39 +02:00
Gervase Markham
ca171eec44 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Mark Capella
1a44f1208f Bug 740688 - Use uintptr_t instead of PRUword, and intptr_t instead of PRWord. r=jwalden
--HG--
extra : rebase_source : 648a581323d2c2893df780f71fe34dadcc4bbaab
2012-04-11 17:17:44 -07:00
Nathan Froyd
bcbb99cde0 Bug 567135 - Need CFI for xptcstubs_arm; r=jimb 2011-10-20 15:17:27 -04:00
Nicholas Nethercote
2df79be674 Bug 709470 - Use mallocSizeOf in the xpti memory reporter. r=khuey.
--HG--
extra : rebase_source : 6f9096f44e1c09c63c5294c3cae5c6cf46c350b2
2011-12-13 20:54:20 -08:00
Jacek Caban
0d8a0dc204 Bug 707469 - Don't use UNIX variant xptcinvoke implementation on mingw r=benjamin
--HG--
extra : rebase_source : 0602f21e843742ba814b070fbe1d856668d61421
2011-12-15 17:14:34 +01:00
Jacek Caban
3922d8a8d1 Backout changeset e76f06f7e08d 2011-12-09 11:54:32 +01:00
Jacek Caban
2b5f4f4776 Bug 707469 - Don't use UNIX variant xptcinvoke implementation on mingw r=benjamin 2011-12-09 11:27:12 +01:00
Mike Hommey
57f9bdde28 Bug 695843 part 9 - Use FileLocations in the component manager. r=bsmedberg 2011-11-08 18:10:51 +01:00
Mike Hommey
c54c181a64 Bug 695843 part 3 - Use mozilla::AutoFDClose instead of ad hoc AutoCloseFD classes. r=bsmedberg 2011-12-08 11:03:36 +01:00
Rafael Ávila de Espíndola
53074edbcb Backed out changeset c7bba86f5e02
It was failling with
../../../../../../../xpcom/reflect/xptcall/src/md/unix/xptcstubs_x86_64_linux.cpp:66:1: error: expected initializer before 'PrepareAndDispatch'
make[10]: *** [xptcstubs_x86_64_linux.o] Error 1
2011-12-05 10:39:20 -05:00
Jan Hubicka
76f9a1362d Bug 577813 - Missing __attribute__ ((used)) on PrepareAndDispatch functions. r=benjamin. 2011-12-05 10:20:32 -05:00
Martin Stransky
14c35b53b1 Bug 706787 - Crash on s390x (nsXPCComponents::AttachNewComponentsObject() fails). r=glandium 2011-12-05 10:49:56 +01:00
Bobby Holley
f3899264c7 Bug 692342 - Remove IsPointer() and IsReference() accessors and flag the bits as deprecated. r=mrbkap 2011-11-25 17:09:07 -08:00
Bobby Holley
33085d10a1 Bug 692342 - Introduce deprecated_IsPointer() to handle the cases that are too mucky to figure out right now. r=mrbkap 2011-11-25 17:09:06 -08:00
Ed Morley
24695badf6 Merge m-c to b-s. 2011-11-08 23:18:09 +00:00
Gregory Szorc
f9737cefa1 Bug 698248 - Remove unused FORCE_USE_PIC variable; r=khuey 2011-11-01 15:45:23 -07:00
Bobby Holley
945e130b39 Bug 677788 - Remove use of length_is xpt value from gecko. r=mrbkap 2011-11-06 13:32:25 +01:00
Ginn Chen
c1bd1ca50f Bug 693240 Use *((PRUint32*)ap) instead of *((bool*)ap) for big endian machines r=glandium 2011-11-04 16:55:21 +08:00