Commit Graph
46 Commits
Author SHA1 Message Date
Mike Hommey 338d086ead Bug 1134920 - Use moz_xmalloc/moz_xrealloc/free instead of nsMemory::Alloc/Realloc/Free. r=nfroyd 2015-04-01 13:51:45 +09:00
Birunthan Mohanathas eeb9aaaa94 Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj 2014-04-27 03:06:00 -04:00
Birunthan Mohanathas 9c97f8fe32 Bug 784739 - Switch from NULL to nullptr in xpcom/ (3/3); r=ehsan 2013-10-10 16:42:16 -04:00
Ehsan Akhgari 649adb7390 Bug 895141 - Remove useless prlong.h inclusions from the tree; r=jcranmer 2013-07-18 12:06:38 -04:00
Andrew Quartey 3c46b00d0f Bug 792581 - part 19: Replace LL_I2L macro with int64_t cast. r=ehsan 2012-10-12 13:29:11 -04:00
Andrew Quartey b022a21546 Bug 792581 - part 15: Replace LL_L2I macro with int32_t cast. r=ehsan 2012-10-12 13:29:10 -04:00
Andrew Quartey 9e2e8b4668 Bug 792581 - part 11: Replace LL_MUL macro with multiplication operator. r=ehsan 2012-10-05 01:05:28 -04:00
Andrew Quartey 6f4441a7eb Bug 792581 - part 9: Replace LL_ADD with mathematical plus operator. r=ehsan 2012-10-05 01:05:27 -04:00
Ehsan Akhgari 243c878d26 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
Gervase Markham cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Daniel Holbert 857280a174 Bug 530639: Fix build warnings in TestXPTCInvoke.cpp. r=bsmedberg 2009-12-10 09:26:27 -08:00
Brad Lassey bfc21d3a93 bug 530393 - improve xptcinvoke for Windows Mobile and Windows CE on ARM r=vlad 2009-11-22 13:43:49 -05:00
Sebastian A. Siewior 48a13c7c41 Bug 520367 - xpcom/PowerPC Linux: fix wrong argument in padding in a rare case, r=bsmedberg 2009-10-17 18:19:29 -07:00
98de634631 Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros. 2007-07-08 00:08:04 -07:00
[email protected] dca32f58e8 Bug 349002, try #2 - Refactor xptcall into a frozen API, r=timeless - with OS/2 fixup by Peter Weilbacher 2006-11-20 17:03:38 +00:00
[email protected] fbdadc43c2 Backout xptcall because linux tboxes are stupid, I think. 2006-11-16 20:17:24 +00:00
[email protected] c6ef81281b Bug 349002 - Refactor xptcall into a frozen API, r=timeless. Includes OS/2 fixup by Peter Weilbacher 2006-11-16 18:29:33 +00:00
[email protected] fb56b42204 Bug 313309 part 2 - change the NS_DEFINE_STATIC_IID_ACCESSOR macro to NS_DECLARE, and make a NS_DEFINE_ macro that's outside the class declaration, r=shaver 2005-11-11 14:36:26 +00:00
[email protected] 417aac73b7 Fixing bug 232742 (patch by [email protected]). Make Mozilla build and run on Linux/x86-64. [email protected], [email protected] 2004-04-20 21:38:15 +00:00
[email protected] c0cd46fc51 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:21:17 +00:00
[email protected] 3f7cfca91f Change a few more destructors in XPCOM to be non-virtual, and comment destructors that need to be virtual. Bug 229875, r=dougt, sr=dbaron. 2004-02-11 06:19:03 +00:00
[email protected] eacf44d390 Bug 190801 TestXPTCInvoke violates xpcom for outparams and should pass its char*s as const
r=dougt sr=roc+moz
2003-02-23 04:41:18 +00:00
[email protected] 8c37890522 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag 2003-01-08 23:19:20 +00:00
[email protected] 46ce738546 166917. Clean up xpcom SDK includes. [email protected], [email protected], [email protected] 2002-09-07 17:13:19 +00:00
[email protected] d1fcd9fbcd Bug 134639 - speedup unix x86 XPTC_InvokeByIndex
r=dbradley, sr=jband, a=rjesup
2002-04-03 23:59:13 +00:00
[email protected] 58d409fba9 Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089. 2001-09-28 20:14:13 +00:00
[email protected] b9724626e8 fixing warnings/build bustage from checkin a minute ago 2001-09-06 09:07:08 +00:00
[email protected] 6b5e0f52df adding additional tests. part of sparcv9 work.. bug 91840. r=me/[email protected]/rogerl rs=brendan 2001-09-06 08:27:43 +00:00
[email protected] 4c647ea08a Replace uses of deprecated NS_IMPL_ISUPPORTS and NS_IMPL_QUERYINTERFACE macros with NS_IMPL_{ISUPPORTS,QUERYINTERFACE}{1,0}. r=jag rs=brendan b=45797 2001-08-21 01:48:11 +00:00
[email protected] 81b35946b1 Fix base class specifiers, since be default if they aren't specified it is Private
# 23237
r= [email protected], [email protected], [email protected]
2000-01-11 01:45:34 +00:00
[email protected] a50b5cf321 NS_GET_IID(). Thanks to patch from [email protected] [email protected] 1999-12-01 00:21:53 +00:00
[email protected] 20621227af updated xPL license boilerplate to v1.1, [email protected],[email protected] 1999-11-06 03:43:54 +00:00
[email protected] 9f7bcf795e Removed some silly warnings 1999-10-20 00:06:12 +00:00
[email protected] 261970ae7d doing an explict cast of float to double in printf args in test 1999-07-19 19:43:53 +00:00
[email protected] 32ceac02fe lots of xptcall changes:
1) OpenVMS Linux from Colin R. Blake <[email protected]>.
2) Irix from Jason Heirtzler <[email protected]>.
3) Linux Alpha from Glen Nakamura <[email protected]>.
4) NT Alpha from bob meader <[email protected]>.
5) x86 'this' adjust code for old or new style from Duncan Wilcox <[email protected]>.
6) vtbl layout test from Bert Driehuis <[email protected]>.
7) improved invoke test to catch 'this' adjustment errors.
8) updated status page.
1999-07-15 02:43:23 +00:00
[email protected] 3d343cd562 added MultipleInheritence xptcall invoke test 1999-07-05 21:31:25 +00:00
[email protected] eca350c6f0 doing my part for bug 8227 1999-06-29 21:15:31 +00:00
[email protected] 9ebf630d1c Oops, forgot to add the braces.... 1999-06-05 01:57:35 +00:00
[email protected] 82875fe8ec Fix for platforms that don't support long longs. 1999-06-05 01:07:50 +00:00
[email protected] 22fe4c2f90 Forced conversion of result for I64 tests to int in call to printf. I
couldn't find a OS-independent format string for handling the I64.
1999-05-07 21:57:23 +00:00
[email protected] 78ffbda7e6 Fix comical copy/paste error (thanks to Bert Driehui <[email protected]>) 1999-05-04 03:36:21 +00:00
[email protected] 9b6555fb2a use NSPR's LL_ macros to do 64 bit stuff. 1999-04-15 01:40:33 +00:00
[email protected] 555abcf9b8 remove LL's to fix windows build. 1999-04-15 01:36:25 +00:00
[email protected] aad567d927 add some PRInt64 tests too. 1999-04-15 00:52:40 +00:00
[email protected] 2633648010 removing (yet another!) misplaced semi-colon 1999-03-27 06:20:40 +00:00
[email protected] 49bceefadd initial checking of xptcall code. This module allows arbitrary invocation of xpcom methods and also allows an object to impersonate an object of an arbitrary xpcom class. This code is used for XPConnect and will also be used for a scriptable interface to RDF. The build scheme for libxpt, xptinfo, and xpconnect may be a bit screwy on some platforms until this settles down. Luckily, none of these modules are part of the client build yet and very few people should even notice the change 1999-03-23 02:23:29 +00:00