Commit Graph

95 Commits

Author SHA1 Message Date
Ehsan Akhgari
2962d2eed1 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
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
Mike Hommey
c1b35e7b2a Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Mike Hommey
088cfd60e3 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
3ccef88f32 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
2246448c83 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
fdda8f2a36 Bug 764712 - Open files readonly when reading typelibs in xpt.py, r=khuey 2012-06-20 14:45:11 -04:00
Gervase Markham
87620f5676 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Mike Hommey
5262f75c2c 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
a7b3472b9e 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
4e4c07f7b3 Bug 744444 - Part 3: delete CPP_PROG_LINK; r=ted 2012-04-12 16:58:11 -04:00
Ted Mielczarek
efd2485037 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
8c110be6f4 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
60c8e4a16a Bug 666612 - Fix compiler warnings in xpt_xdr.c. r=dougt 2012-02-21 08:49:18 -08:00
Mike Hommey
3184199e4a Bug 728229 - Allow to build with system python ply library. r=ted 2012-02-23 11:00:18 +01:00
Mike Hommey
4c666b0d0a Bug 723861 - Ship xpidllex.py and xpidlyacc.py. r=ted 2012-02-22 08:12:15 +01:00
Serge Gautherie
c31d0e5c9d 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
2a0b58bd30 Bug 721065. (Av1b) pyxpt: Report Typelib filename, when IIDs/names differ. r=ted.mielczarek. 2012-02-15 22:19:16 +01:00
Makoto Kato
598d76664b Bug 719718 - hostxpt is unnecessary even if cross. r=khuey 2012-01-31 10:24:08 +09:00
Nicholas Nethercote
dd32d38d63 Bug 715453 - Remove computedSize from nsMallocSizeOfFun. r=jlebar,bhackett.
--HG--
extra : rebase_source : a65039a407daab45360a5b375b53cbf1bc05b7f6
2012-01-25 00:52:51 -08:00
Serge Gautherie
6622232170 Bug 720955. (Av1) xpt.py: Report IIDs when they differ. r=ted.mielczarek. 2012-01-25 14:22:28 +01: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
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
Ed Morley
fddedbce14 Merge m-c to b-s. 2011-11-08 23:18:09 +00:00
Gregory Szorc
de5e3e4887 Bug 698248 - Remove unused FORCE_USE_PIC variable; r=khuey 2011-11-01 15:45:23 -07:00
Bobby Holley
2de88b7c43 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
Jesse Ruderman
a3638a85b4 Bug 659825 - Rename NS_DEPRECATED to MOZ_DEPRECATED to avoid conflict with Mac 10.7 SDK. r=jcranmer sr=bsmedberg 2011-06-08 09:34:02 +02:00
Ted Mielczarek
a7fa63e90b 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
931936ce50 Bug 651975 - Replace mmap with file reading in pyxpt. r=ted 2011-05-03 10:30:22 +02:00
Ed Morley
aa86759d37 Bug 652506 - Remove WinCE code from xpcom; r=bsmedberg 2011-05-01 20:59:24 +02:00
Mitchell Field
f71a73dc12 Merge mozilla-central to build-system. 2011-04-16 00:27:18 +10:00
Mike Hommey
22ee77c5ad Bug 643817 - Replace xpt_link/dump with pyxpt. r=ted,r=bsmedberg 2011-04-14 11:22:09 +02:00
Luke Wagner
99411cc93d Bug 549143 - fatvals 2010-07-14 23:19:36 -07:00