Commit Graph
54 Commits
Author SHA1 Message Date
Andrew Quartey 67ad6ca593 Bug 792581 - part 21: Replace LL_F2L and LL_D2L macros. r=ehsan 2012-10-25 19:25:58 -04:00
Andrew Quartey 699410b1a5 Bug 792581 - part 20: Replace LL_UI2L macro with int64_t cast. r=ehsan 2012-10-25 19:25:57 -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 9ecb7a8dc1 Bug 792581 - part 18: Replace LL_L2D macro with double cast. r=ehsan 2012-10-12 13:29:11 -04:00
Randell Jesup 3b4961b603 Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -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
Aryeh Gregor 8b4a23fc4c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Joshua Cranmer a9921e1d15 Bug 773637 - Kill NS_SCRIPTABLE annotations, Part 1: Remove NS_*PARAM annotations. r=ehsan 2012-07-06 15:14:07 -05:00
Shriram Kunchanapalli 56634dd6f6 Bug 743581: Removes nsCRT::strlen(const PRUnichar*). f=sgautherie r=dougt 2012-05-30 18:43:39 +01:00
Gervase Markham cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Ryan VanderMeulen 1becc7707c Backout 17deb5f61b4d (bug 150073) due to build bustage. a=shouldausedtryfirst 2012-04-03 20:22:42 -04:00
Shriram Kunchanapalli 349ef2e799 Bug 150073 - Remove nsCRT:: in nsCRT::strlen. f=sgautherie, r=dougt 2012-02-18 19:17:01 +05:30
Andrew McCreight 6e68c2bf26 Bug 720292 - add more cycle collector edge names. r=smaug 2012-01-23 15:25:53 -08:00
Neil Rashbrook bb13075a92 Bug 698256 Add and use Substring(data, length) convenience method r=dbaron 2011-12-09 08:35:41 +00:00
Ehsan Akhgari 478ad1a412 Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Michael Wu 0fe7772ece Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones 2011-09-28 23:19:26 -07:00
Luke Wagner e2e7e3085f Bug 684526 - Unify jsval and js::Value (r=jorendorff) 2011-09-19 09:34:49 -07:00
Jason Orendorff 94a1e24caa Bug 560643 - Add a special jsval type to XPIDL. Part 1, rename JSVal -> jsval in existing IDL. r+sr=jst. 2010-05-12 08:18:51 -05:00
Justin Lebar 3bf83e55ef Bug 500328 - Implement History.pushState(), History.replaceState() methods. r=smaug, r=zpao, sr=sicking 2009-09-01 09:45:05 -07:00
Benjamin Smedberg e66978d628 Bug 469072 - Annotations in XPCOM, and a couple related code fixups, to make outparams spit out useful warnings, r=bent 2008-12-11 15:13:52 -05:00
Ryan VanderMeulen 28b76cd653 Bug 337890 - please spell formater formatter; mozilla-central part; r=timeless 2008-09-12 18:24:14 +02:00
7b34ae7602 Back out bug 412320 and various followups because the perf impact was minimal and the code is more complicated 2008-02-21 12:39:20 -08:00
db8d572868 Bug 412320 - Try code-generation for QI impls, r=roc+luser 2008-01-25 09:14:48 -08:00
[email protected] 6151b803cd Fix for bug 373219 (ASSERTION: Fault in cycle collector: null XPCOM pointer returned (ptr: 0)). r/sr=dbaron. 2007-03-09 13:14:06 +00:00
[email protected] 42658fb03c Fix for bug 367779 (Make cycle collection through JS objects more reliable). r=jst, sr=brendan. 2007-02-18 20:05:32 +00:00
[email protected] 686f8c6152 Bug 344196 make nsVariant::SetAsDOMString set mType correctly
patch by Andrew Miller <[email protected]> r=dougt sr=brendan
2006-08-04 17:20:27 +00:00
[email protected] aae44b57d9 bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
r+sr=darin
2006-02-03 14:18:39 +00:00
[email protected] 9122fb7f03 Bug 243904 SOAP code problem with null, unpositioned array item
patch by [email protected] r=doron sr=jst a=asa
2005-05-02 19:42:26 +00:00
[email protected] 340ecd3f1a Don't use locale-dependent methods to convert variants to strings. Bug 282245,
r=peterv, sr=dbaron
2005-02-22 20:11:52 +00:00
[email protected] 6935c8f9c9 Fixing part of bug 241157. Making it valid for an nsIVariant to hold a interface pointer pointing to null. [email protected], [email protected]. 2004-05-21 21:19:13 +00:00
[email protected] 94dcc8f41d Yet one more part for bug 243484. Clean up some string handling code in nsVariant, and do some other generic cleanup too. [email protected] 2004-05-13 22:52:14 +00:00
[email protected] c0cd46fc51 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:21:17 +00:00
[email protected] 14e471acbc landing string defragmentation patch for bug 231995, r/sr=dbaron,jst,dougt 2004-02-19 02:44:03 +00:00
[email protected] a11b42323e Patch for bug 209699 (convert some consumers over to CopyUTF8toUTF16 / CopyUTF16toUTF8). r=jshin, sr=jst. 2003-12-23 09:56:23 +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] 00d8c29c64 Fixes mozilla/strings requiring unfrozen nsCRT class. patch by scc, r=dougt, sr=jag, b=136756 2002-05-15 18:55:21 +00:00
[email protected] e990a4631d Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa 2002-03-24 00:16:18 +00:00
[email protected] c7deacc373 fix bug 125084. Add support for empty arrays in nsIVariant. This is expressed as atype id rather than as a regular array with no elements. Includes changes to xpconnect to support mapping to empty JSArrays, xpconnect tests, and SOAP. Patches are from [email protected] and [email protected]. r=jband sr=brendan a=asa 2002-03-21 23:21:54 +00:00
[email protected] b2dc7013bb Fix for bug 125465. r=jag, sr=jband, a=asa. Add AString, ACString, and AUTF8String support to XPCOM's variant data type. Also, add forward declarations of AString and ACString to nsrootidl.idl. 2002-03-05 02:22:02 +00:00
[email protected] c63437dfa3 eliminate nsCRT::strlen for char* strings (part 5), bug 124536 r=dp sr=brendan 2002-02-20 06:38:38 +00:00
[email protected] 7283fb0c73 trivial fix to allow freeing a variant array type that we do in fact create. rs=vidur 2002-01-10 23:55:32 +00:00
[email protected] bfb2448182 fixes Darwin mach-o bustage (r=jband) 2001-11-01 05:06:41 +00:00
[email protected] 6e762e12b4 the HP compiler says that anonymous unions can't even have structs. So the union must be named. Fixing that bustage 2001-11-01 01:45:48 +00:00
[email protected] 8cb7f75db5 fix Mac bustage (I hope). I think these names conflicted with other names 2001-11-01 01:15:53 +00:00
[email protected] 2985143f09 fix bustage on compilers that don't like anonymouse structs in unions. who knew? sr=jst 2001-11-01 00:34:29 +00:00
[email protected] b54edd2e6b NOT PART OF BUILD. Add support to track the type of the interfaces in an array 2001-10-12 01:51:08 +00:00
[email protected] 0d13f183db NOT PART OF BUILD. bug 44675. bug 98209. New files 2001-10-09 23:42:22 +00:00
[email protected] f0d0b81953 File Removed. 1999-10-22 21:02:15 +00:00
[email protected] 6f62a47cac got rid of |NS_IMPL_ISUPPORTS|, where possible, in favor of |NS_IMPL_ISUPPORTS0| or ...1 according to the specific use; got rid of |NS_DEFINE_IID| where possible, or where it should have been |NS_DEFINE_CID|; fixed bad implementations of |QueryInterface|, where possible. Built, tested apprunner, reviewed the changes with hyatt (since he was around to look) before checking in 1999-08-23 10:14:16 +00:00
[email protected] 6dc8a899c6 Landing xpcom20/21 branch. 1999-05-26 01:38:36 +00:00