Commit Graph

265 Commits

Author SHA1 Message Date
Gregory Szorc
02d1d31696 Bug 844635 - Part 3: Remove empty Makefile.in files; r=glandium 2013-03-17 18:01:25 -07:00
Daniel Holbert
0d1377f7a3 Bug 849086: Remove unused *_CLASSNAME defines. r=bsmedberg 2013-03-15 10:52:10 -07:00
Mike Shal
2eb7c496cb Bug 818246 - Part 7: Move XPIDL_MODULE to moz.build; rs=gps 2013-03-11 22:00:00 -07:00
Gregory Szorc
629b5d86c6 Bug 818246 - Part 4: Move XPIDLSRCS into moz.build (auto); rs=glandium
This is the result of running
|mach mozbuild-migrate --list XPIDLSRCS SDK_XPIDLSRCS XPIDL_SOURCES| and
reverting xpcom/sample/*.
2013-03-12 10:17:46 -07:00
Gregory Szorc
e016eca62d Bug 784841 - Part 18ν: Convert /xpcom; f=Ms2ger rs=ted 2013-02-25 13:20:02 -08:00
Nicholas Nethercote
b6939f2c42 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
6380733341 bug 822717 - remove checks for old gcc r=glandium 2012-12-18 13:22:28 -05:00
Marco Bonardo
2a757ad706 Bug 821628 - xptcstubs_x86_64_darwin is wrongly converting some bool params
r=bsmedberg
2012-12-20 23:44:40 +01:00
Nicholas Nethercote
2f67c810c2 Bug 811203 (part 1) - Inline XPTMethodDescriptor::result. r=khuey.
--HG--
extra : rebase_source : 1c2a89684f5b60a3e24ce995ed7e062e88e18610
2012-11-19 16:18:41 -08:00
Nicholas Nethercote
5db8ea9b57 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
7ecca5d5ae Bug 807895 - Remove BSD/OS code. r=khuey 2012-11-08 10:36:28 +09:00
Isaac Aggrey
9e41ce2fa0 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
b50ced0c60 Bug 792581 - part 19: Replace LL_I2L macro with int64_t cast. r=ehsan 2012-10-12 13:29:11 -04:00
Andrew Quartey
ea52f5f496 Bug 792581 - part 15: Replace LL_L2I macro with int32_t cast. r=ehsan 2012-10-12 13:29:10 -04:00
Oleg Romashin
fdd51fc053 Bug 796927 - XPCOM build fix, followup for b777292. r=siarhei.siamashka@gmail.com 2012-10-06 14:00:47 -07:00
Andrew Quartey
42f2f3750f Bug 792581 - part 11: Replace LL_MUL macro with multiplication operator. r=ehsan 2012-10-05 01:05:28 -04:00
Andrew Quartey
5fcf688c9c Bug 792581 - part 9: Replace LL_ADD with mathematical plus operator. r=ehsan 2012-10-05 01:05:27 -04:00
Nathan Froyd
9738536099 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
5d0ab6fa28 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
d1cd4155c7 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
3b4c32e3e9 Bug 793409 - Fix bug 777292 fallout on OpenBSD/amd64 r=ehsan 2012-09-23 21:30:54 +02:00
Aryeh Gregor
0dbcfefe35 Bug 777292 - Make nsresult an enum; r=ehsan,cjones,bsmedberg 2012-08-07 11:27:45 +03:00
Ehsan Akhgari
70ba385729 Bug 792502 - Kill the FunctionTimer code; r=vlad 2012-09-19 16:59:38 -04:00
Aryeh Gregor
e840991a39 Bug 783523 - Fix platform-specific nsresult misuse; r=ehsan,tbsaunde,smaug 2012-08-16 14:58:11 +03:00
Landry Breuil
d6526247fe Bug 783875: Fix OpenBSD/arm platforms detection in xpcom. r=bsmedberg. 2012-08-26 21:54:19 +02:00
Ehsan Akhgari
217645f36e 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
8c296bbcd4 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
e8b8cd2087 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
fb28e5bb77 Bug 761077 - Build xptcall on FreeBSD ia64/ppc/ppc64/sparc64. r=bsmedberg 2012-08-07 20:49:06 -04:00
Mike Hommey
c1b35e7b2a Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Aryeh Gregor
57c0ad57fb Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Rafael Ávila de Espíndola
912affb1de 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
8587017464 Bug 765344 - xpti-working-set numbers should include xptiWorkingSet's hashtables; r=njn,jlebar 2012-06-18 20:10:08 -04:00
Ehsan Akhgari
b5161f97b8 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
1214b72681 Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg 2012-06-06 14:08:30 +12:00
Gervase Markham
638c878b13 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
e519957658 Bug 756745 - Use the "right" headers for mips xptc assembly on android. r=bsmedberg 2012-05-24 10:57:39 +02:00
Gervase Markham
87620f5676 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Mark Capella
1839be84c0 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
b207298cb5 Bug 567135 - Need CFI for xptcstubs_arm; r=jimb 2011-10-20 15:17:27 -04:00
Nicholas Nethercote
d42f99f74f 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
a5e28b7d0b 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
d3ac34e21b Backout changeset e76f06f7e08d 2011-12-09 11:54:32 +01:00
Jacek Caban
bddfb58022 Bug 707469 - Don't use UNIX variant xptcinvoke implementation on mingw r=benjamin 2011-12-09 11:27:12 +01:00
Mike Hommey
9b0673934e Bug 695843 part 9 - Use FileLocations in the component manager. r=bsmedberg 2011-11-08 18:10:51 +01:00
Mike Hommey
911ad54a40 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
1b227500a2 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
19b62f9ccc Bug 577813 - Missing __attribute__ ((used)) on PrepareAndDispatch functions. r=benjamin. 2011-12-05 10:20:32 -05:00
Martin Stransky
5e2c6292f0 Bug 706787 - Crash on s390x (nsXPCComponents::AttachNewComponentsObject() fails). r=glandium 2011-12-05 10:49:56 +01:00
Bobby Holley
010b1cdd1f Bug 692342 - Remove IsPointer() and IsReference() accessors and flag the bits as deprecated. r=mrbkap 2011-11-25 17:09:07 -08:00