Граф коммитов

300 Коммитов

Автор SHA1 Сообщение Дата
Gregory Szorc 8958bacc6e Bug 784841 - Part 18ν: Convert /xpcom; f=Ms2ger rs=ted 2013-02-25 13:20:02 -08:00
Masatoshi Kimura a8274df1f4 Bug 795433 - Use #define for nsresult values in C code. r=ehsan,glandium; feedback=njn 2013-01-05 12:55:22 +09:00
Nicholas Nethercote 69b10075fc Bug 811203 (part 2) - Pack the fields in XPTInterfaceDescriptor better. r=khuey.
--HG--
extra : rebase_source : e5afee2bf6ba8cc2a1ee344f176a819367bc9d32
2012-11-19 16:19:17 -08:00
Nicholas Nethercote 4e419ab728 Bug 811203 (part 1) - Inline XPTMethodDescriptor::result. r=khuey.
--HG--
extra : rebase_source : 1c2a89684f5b60a3e24ce995ed7e062e88e18610
2012-11-19 16:18:41 -08:00
Ehsan Akhgari c09613205b Revert part of the previous patch since the header is included in C code, no bug 2012-10-25 11:58:24 -04:00
Ehsan Akhgari f3c0ac7a23 Code hygiene: don't use PR_TRUE and PR_FALSE, and use stdint types instead of PRInt types (no bug really, but you could say bug 579517) 2012-10-25 11:48:19 -04:00
Isaac Aggrey c984edf823 Bug 794510: Part 2: Use more stdint types instead of protypes.h types; r=ehsan 2012-10-11 18:38:04 -05:00
Isaac Aggrey 00ccc3bc2e Bug 795507: Remove usage of PR_BEGIN_EXTERN_C and PR_END_EXTERN_C; r=ehsan 2012-09-30 21:10:22 -05:00
Ehsan Akhgari 845651448b Bug 579517 - Part 5: Add missing StandardInteger.h #includes where needed; r=bsmedberg
Landing on a CLOSED TREE
2012-08-08 17:08:17 -04:00
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
Mike Hommey e4b0f1bfcc Bug 776035 - Make mozunit even easier to use, and use it in config/tests python unit tests. r=ted 2012-07-25 07:44:08 +02:00
Ed Morley 3d60969c38 Backout eecd3aa199e6 (bug 776305), 62facd5b3da9, c6a0ac7d47d2 & 2d56621abfee (bug 776035), e4e68cf2bd40 (bug 776016), 0853a4d49b4e & 31de6ffdedcb (bug 770426), 43a69b4981f5 (bug 756786) for Windows mochitest crashes 2012-07-25 09:35:32 +01:00
Mike Hommey 985de147d7 Bug 776035 - Make mozunit even easier to use, and use it in config/tests python unit tests. r=ted 2012-07-25 07:44:08 +02:00
Michael Wu 1ca4d29c7b Bug 764712 - Open files readonly when reading typelibs in xpt.py, r=khuey 2012-06-20 14:45:11 -04:00
Gervase Markham 82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Nathan Froyd 38fd6d3529 Bug 744444 - Part 3: delete CPP_PROG_LINK; r=ted 2012-04-12 16:58:11 -04:00
Ted Mielczarek ecbe510340 bug 654448 - remove xpt.py's Typelib.merge, move all the logic into xpt_link (also make it a lot faster). r=khuey 2012-05-03 13:44:43 -04:00
Ted Mielczarek 7e7e2cd627 bug 654448 - refactor pyxpt to accept file-like objects for Typelib.{read,write}. r=khuey 2012-05-03 13:44:40 -04:00
Nathan Froyd d4d6700e26 Bug 666612 - Fix compiler warnings in xpt_xdr.c. r=dougt 2012-02-21 08:49:18 -08:00
Serge Gautherie 26bc00d3ba Bug 721065. (Bv2a) pyxpt: Report true Typelib filename for both files, when IIDs/names differ. r=ted.mielczarek. 2012-02-17 19:37:52 +01:00
Serge Gautherie e930a78b86 Bug 721065. (Av1b) pyxpt: Report Typelib filename, when IIDs/names differ. r=ted.mielczarek. 2012-02-15 22:19:16 +01:00
Makoto Kato c00fefe24b Bug 719718 - hostxpt is unnecessary even if cross. r=khuey 2012-01-31 10:24:08 +09:00
Nicholas Nethercote 7559a70a04 Bug 715453 - Remove computedSize from nsMallocSizeOfFun. r=jlebar,bhackett.
--HG--
extra : rebase_source : a65039a407daab45360a5b375b53cbf1bc05b7f6
2012-01-25 00:52:51 -08:00
Serge Gautherie 2e3dfd7e13 Bug 720955. (Av1) xpt.py: Report IIDs when they differ. r=ted.mielczarek. 2012-01-25 14:22:28 +01:00
Nicholas Nethercote 1e61957600 Bug 709470 - Use mallocSizeOf in the xpti memory reporter. r=khuey.
--HG--
extra : rebase_source : 6f9096f44e1c09c63c5294c3cae5c6cf46c350b2
2011-12-13 20:54:20 -08:00
Bobby Holley 553e03745f Bug 692342 - Remove IsPointer() and IsReference() accessors and flag the bits as deprecated. r=mrbkap 2011-11-25 17:09:07 -08:00
Gregory Szorc 1a1f7b30ae Bug 698248 - Remove unused FORCE_USE_PIC variable; r=khuey 2011-11-01 15:45:23 -07:00
Atul Aggarwal 39062faea6 Bug 581468 - Fix warning: signed and unsigned type in conditional expression in XPT_DoString; r=bsmedberg 2011-08-31 23:45:31 +01:00
Atul Aggarwal ad3a0d700c Bug 581467 - Fix warning: comparison between signed and unsigned integer expressions in XPT_ParseVersionString; r=bsmedberg 2011-08-31 23:45:31 +01:00
Ed Morley d64ee026f1 Bug 677787 - Remove unique_pointer from typelib code; r=khuey 2011-08-20 13:44:37 +02:00
Kyle Huey 0f61610bff Bug 679191: Improve XPT arena allocation behavior when handling allocations larger than the block size. r=njn 2011-08-16 07:25:58 -04:00
Kyle Huey 2154abc9ea Bug 458936: Replace xpidlc's typelib generation with a python equivalent. r=ted 2011-08-09 20:48:41 -04:00
Kyle Huey 9dd34729c1 Sync in-tree and user-repo versions of xpt.py 2011-07-22 11:38:57 -07:00
Jonas Sicking cfcfd3bcb2 Bug 661980: Add ability to make interfaces scriptable but not scriptimplementable. r=bsmedberg 2011-06-16 12:21:25 -07:00
Kyle Huey 58316a84d3 Bug 664913: Add about:memory reporter for xptiWorkingSet. r=njn 2011-06-17 09:22:15 -07:00
Ted Mielczarek 3e44d3b312 bug 654448 - don't call Typelib._sanitycheck after every merge in xpt_link. r=glandium 2011-05-16 08:04:47 -04:00
Mike Hommey 66ee07052c Bug 651975 - Replace mmap with file reading in pyxpt. r=ted 2011-05-03 10:30:22 +02:00
Ed Morley 33aac194a8 Bug 652506 - Remove WinCE code from xpcom; r=bsmedberg 2011-05-01 20:59:24 +02:00
Mitchell Field b6cdf39fe4 Merge mozilla-central to build-system. 2011-04-16 00:27:18 +10:00
Mike Hommey 1134591309 Bug 643817 - Replace xpt_link/dump with pyxpt. r=ted,r=bsmedberg 2011-04-14 11:22:09 +02:00
Ted Mielczarek 1606d99ee1 fix minor type name output in xpt_dump. r=timeless (no bug) 2010-06-29 10:03:47 -04:00
Ben Turner 24407948af Bug 574872 - 'Allow XPConnect to pass the JSContext through XPIDL when requested'. r=jst 2010-06-28 15:22:39 -07:00
Jason Orendorff 32d2f15ab1 Bug 560643 - Part 3, add support for jsval XPIDL type. r=jst, sr=jst. 2010-06-18 15:29:21 -05:00
Brad Lassey 74db90d53e bug 559263 - implement jemalloc for android r=vlad 2010-05-25 11:28:14 -04:00
Daniel Holbert 160320f2c5 Bug 560393, part 2: (xpcom directory) Fix compile warning: format $f expects type $t1, but argument 2 has type $t2. r=bsmedberg 2010-05-17 16:36:31 -07:00
Daniel Holbert 59c5b6d0cc Bug 539585: Fix warning "warning: format '%p' expects type 'void *'" in xpcom directory. r=bsmedberg 2010-03-05 10:41:25 -08:00
Johnny Stenback e9cead7751 Part 1 of fix for bug 459452 (Add support for optional arg count for IDL methods): add support for [optional_argc] to xpidl and XPConnect. r=sicking.
--HG--
extra : rebase_source : 3057c5af37ccb1bbdb022a0a3070122df3019d13
2009-08-10 16:41:07 +02:00
Hiroyuki Ikezoe 41c0f38748 bug 491972 - error building SimpleTypeLib.c due to perror() call r=bsmedberg 2009-06-18 07:31:12 -04:00
Benjamin Smedberg 438f21ae8d Bug 489273 - debug+libxul build broken on Windows, r=ted 2009-05-22 11:13:53 -04:00