Commit Graph

102 Commits

Author SHA1 Message Date
Masatoshi Kimura
b18db0e9e8 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
4b55d43c2d 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
4f095fe3dd Bug 811203 (part 1) - Inline XPTMethodDescriptor::result. r=khuey.
--HG--
extra : rebase_source : 1c2a89684f5b60a3e24ce995ed7e062e88e18610
2012-11-19 16:18:41 -08:00
Ehsan Akhgari
8fc5137fd5 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
48b5c1a608 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
cbb17fe7b2 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
65e8d33673 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
5b76a146bc 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
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
Mike Hommey
6173fa297f Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Mike Hommey
8532a57810 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
853788ef5a 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
bab5c1dccb 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
c916642910 Bug 764712 - Open files readonly when reading typelibs in xpt.py, r=khuey 2012-06-20 14:45:11 -04:00
Gervase Markham
ca171eec44 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Mike Hommey
1f46768cf3 Bug 754625 - Use idl-parser from $(LIBXUL_DIST)/sdk/bin and only remove lex and yacc files in header.py --regen. r=khuey 2012-05-14 17:19:39 +02:00
Landry Breuil
e68e03b499 bug 736961 - use the same cachedir for all idl-parser calls, fixes builds without objdir - r=khuey 2012-05-11 11:17:00 -07:00
Nathan Froyd
14eeb930ab Bug 744444 - Part 3: delete CPP_PROG_LINK; r=ted 2012-04-12 16:58:11 -04:00
Ted Mielczarek
051bc98d76 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
46ffe30e09 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
33ba64b09a Bug 666612 - Fix compiler warnings in xpt_xdr.c. r=dougt 2012-02-21 08:49:18 -08:00
Mike Hommey
409e67d342 Bug 728229 - Allow to build with system python ply library. r=ted 2012-02-23 11:00:18 +01:00
Mike Hommey
70ec56e58d Bug 723861 - Ship xpidllex.py and xpidlyacc.py. r=ted 2012-02-22 08:12:15 +01:00
Serge Gautherie
4aeb6de4a7 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
2ce19f0674 Bug 721065. (Av1b) pyxpt: Report Typelib filename, when IIDs/names differ. r=ted.mielczarek. 2012-02-15 22:19:16 +01:00
Makoto Kato
126572f3d7 Bug 719718 - hostxpt is unnecessary even if cross. r=khuey 2012-01-31 10:24:08 +09:00
Nicholas Nethercote
a7ad4ef70e Bug 715453 - Remove computedSize from nsMallocSizeOfFun. r=jlebar,bhackett.
--HG--
extra : rebase_source : a65039a407daab45360a5b375b53cbf1bc05b7f6
2012-01-25 00:52:51 -08:00
Serge Gautherie
894a8ab334 Bug 720955. (Av1) xpt.py: Report IIDs when they differ. r=ted.mielczarek. 2012-01-25 14:22:28 +01: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
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
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
6ff068db60 Bug 691781 - Generate IDL lexer and parser as part of the build system. r=khuey 2011-11-06 13:32:25 +01:00
Matheus Kerschbaum
998809bbf6 Bug 687766 part 2: Nuke binary xpidl. r=khuey 2011-09-27 10:10:06 +02:00
Kyle Huey
174e9ff0a0 Bug 677922: Package pyxpidl in the SDK and stop building the binary xpidl. r=bsmedberg 2011-09-07 15:25:40 -04:00
Mike Hommey
d0a3d1bc2f Backout the backout of e5815c156b6c (bug 683096), 9ca928d8095c (merge), a286edb8ca4b (bug 683875), 61dc35b8f63f (bug 683171), b0741ae44def (bug 683875), 8e01bc314326 + e2697c06468f (bug 677501), 805e28e85577 (bug 680440) 2011-09-03 08:19:06 +02:00
Ed Morley
ed260633c7 Backout e5815c156b6c (bug 683096), 9ca928d8095c (merge), a286edb8ca4b (bug 683875), 61dc35b8f63f (bug 683171), b0741ae44def (bug 683875), 8e01bc314326 + e2697c06468f (bug 677501), 805e28e85577 (bug 680440) for Win opt orange and purple galore, on a CLOSED TREE 2011-09-03 04:35:21 +01:00
Kyle Huey
2fe1065da6 Merge b-s to m-c. 2011-09-02 17:35:11 -04:00
Mike Hommey
1fbab12774 Bug 680440 - Clean up jemalloc linkage. r=khuey 2011-09-01 14:11:56 +02:00
Atul Aggarwal
e713d1173c 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
7eb2af6700 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
edfde6ad02 Bug 677787 - Remove unique_pointer from typelib code; r=khuey 2011-08-20 13:44:37 +02:00
Kyle Huey
d3678a9a19 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
77bcd4d8bb Merge b-s to m-c. 2011-08-10 11:12:30 -04:00
Kyle Huey
9536725f1f Bug 458936: Replace xpidlc's typelib generation with a python equivalent. r=ted 2011-08-09 20:48:41 -04:00
Daniel Holbert
b2276617c3 Bug 549143 followup: fix C++-style comment in xpidl_header.c. rs=bsmedberg 2011-08-09 12:24:55 -07:00
Kyle Huey
43ef9e6600 Sync in-tree and user-repo versions of xpt.py 2011-07-22 11:38:57 -07:00
Jonas Sicking
4baa58f25d Bug 661984: Add [nostdcall] as an extended idl attribute. r=bsmedberg 2011-06-23 19:17:58 -07:00
Jonas Sicking
caef7c47a8 Bug 661980: Add ability to make interfaces scriptable but not scriptimplementable. r=bsmedberg 2011-06-16 12:21:25 -07:00
Kyle Huey
a126d48900 Bug 664913: Add about:memory reporter for xptiWorkingSet. r=njn 2011-06-17 09:22:15 -07:00