Commit Graph

109 Commits

Author SHA1 Message Date
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
Ehsan Akhgari
b3dd3b6646 Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (more toolkit parts); blanket-r=bzbarsky 2012-07-18 12:12:55 -04:00
Nathan Froyd
a7eb97f896 Bug 370750 - consolidate mochitest files installation; r=glandium
With assistance on the patch from Ms2ger, Waldo, and Mossop.
2012-07-03 16:49:02 -04:00
David Rajchenbach-Teller
e20fa1d8da Bug 757469 - Implement ctypes.off_t. r=jorendorff 2012-05-26 09:33:52 -04:00
David Rajchenbach-Teller
6851acb366 Bug 732936 - ImplicitConvert can convert an ArrayBuffer to C array or pointer. r=jorendorff 2012-05-15 14:59:21 +02:00
Gervase Markham
ca171eec44 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
David Rajchenbach-Teller
c8e286f0be Bug 748745 - Supporting readString in a CDataFinalizer. r=jorendorff 2012-05-07 08:59:28 +02:00
Saurabh Anand
5d60d3107e Bug 732262 - Add toSource() and toString() methods to js-ctypes ABI objects. r=jorendorff. 2012-05-15 16:48:54 +05:30
David Rajchenbach-Teller
813502fd15 Bug 748776 - Record a more precise type in CDataFinalizer::Construct. r=jorendorff 2012-05-09 10:33:30 +02:00
David Rajchenbach-Teller
cdaca26fef Bug 751505 - Better memory cleanup during the test. r=jorendorff,yoric 2012-05-03 17:14:33 +02:00
Ed Morley
7597cd3e36 Bug 751505 - Temporarily disable test_finalizer_shouldaccept.js for permaorange after CPG landed; rs=yoric 2012-05-03 14:34:10 +01:00
David Rajchenbach-Teller
cbad079392 Bug 742384 - Have CDataFinalizer.dispose return a value. r=jorendorff 2012-04-13 23:56:03 +02:00
David Rajchenbach-Teller
71833c7bc7 Bug 720771 - Companion testsuite. r=jorendorff 2012-04-16 21:25:35 +02:00
Matt Brubeck
b950055584 Bug 745233 - Back out 33e485d0e23b, 26eb08593f89, ce72679ffb95, 10b783e85c1e (bug 720771, bug 742384) because of Linux64 PGO crashes 2012-04-13 10:40:27 -07:00
David Rajchenbach-Teller
8152b2083e Bug 742384 - CDataFinalizer.dispose now returns a value. r=jorendorff 2012-04-11 14:58:44 +02:00
David Rajchenbach-Teller
06d5789ee1 Bug 720771 - Companion testsuite. r=jorendorff 2012-04-11 17:55:21 -04:00
Ryan VanderMeulen
3465fe9edc Backout the tests from bug 720771 due to Linux64 red. 2012-04-11 08:35:07 -04:00
David Rajchenbach-Teller
f5cecb0389 Bug 742384 - CDataFinalizer.dispose now returns a value. r=jorendorff 2012-04-11 10:46:19 +02:00
David Rajchenbach-Teller
71fdbf0ed8 Bug 720771 - Companion testsuite. r=jorendorff 2012-04-11 07:58:12 -04:00
Josh Matthews
5978c3b66a Bug 704147 - Make ctypes function pointers callable via call and apply. r=bholley 2012-02-14 16:26:05 -05:00
Doug Turner
372d681311 Backout of fd4b5485c24f (Bug 704147) 2012-04-04 14:31:09 -07:00
Josh Matthews
ee611c89d9 Bug 704147 - Make ctypes function pointers callable via call and apply. r=bholley 2012-02-14 16:26:05 -05:00
David Rajchenbach-Teller
5e7c5be79b Bug 684017 - Implement ctypes.errno and ctypes.winLastError. r=jorendorff 2012-04-02 15:38:20 +02:00
Bobby Holley
1ce7e48921 Bug 729589 - Fix js-ctypes tests for compartment-per-global. r=jorendorff 2012-03-27 11:33:25 -07:00
Jim Blandy
e5063eaed9 Bug 723806: Make JavaScript CTypes print function types correctly. r=bholley 2012-02-14 13:18:16 -08:00
Igor Bukanov
18e6a2e079 bug 724310 - drop cx argument from JSObject field and fixed slots infallible API. r=:Waldo
--HG--
extra : rebase_source : b78519db2ff008eb5143676d2db47935f0e89f45
2012-02-05 21:07:23 +01:00
Igor Bukanov
eb3cfce3dc backout merge for bug 724310. r=irc 2012-02-09 21:28:22 +01:00
Igor Bukanov
efe64d22c0 bug 723517 - drop cx argument from JSObject field and fixed slots infallible API. r=:Waldo
--HG--
extra : rebase_source : c461dfc0e0e0462ab262cc01c2a771d3bb0971cc
2012-02-05 21:07:23 +01:00
Panagiotis Koutsourakis
791aa57b19 Bug 702388 - Convert Makefiles to use |TEST_DIRS += foo| r=khuey
Files named Makefile.in containing the expression

DIRS += <foo>
or
DIRS = <foo>

inside the conditional expression

ifdef ENABLE_TESTS
...
endif

are changed to

TEST_DIRS += tests

outside any conditional expression.

The files

./layout/Makefile.in
./layout/Makefile.in
./layout/style/Makefile.in
./rdf/Makefile.in
./security/manager/Makefile.in
./content/Makefile.in
./content/smil/Makefile.in
./content/xul/templates/Makefile.in
./content/xul/content/Makefile.in
./content/base/Makefile.in
./content/media/Makefile.in
./parser/htmlparser/Makefile.in
./dom/sms/Makefile.in
./js/jsd/Makefile.in
./js/xpconnect/Makefile.in
./widget/Makefile.in
./widget/windows/Makefile.in
./Makefile.in
./startupcache/Makefile.in
./storage/Makefile.in
./gfx/Makefile.in
./intl/strres/Makefile.in
./intl/uconv/Makefile.in
./intl/unicharutil/Makefile.in
./intl/lwbrk/Makefile.in
./embedding/Makefile.in
./modules/libjar/Makefile.in
./modules/libpref/Makefile.in
./build/Makefile.in
./build/win32/Makefile.in
./xpcom/Makefile.in
./extensions/spellcheck/hunspell/Makefile.in
./extensions/cookie/Makefile.in
./netwerk/Makefile.in
./netwerk/streamconv/Makefile.in
./editor/txmgr/Makefile.in
./toolkit/mozapps/shared/Makefile.in
./toolkit/mozapps/update/Makefile.in
./toolkit/library/Makefile.in
./toolkit/library/Makefile.in
./toolkit/crashreporter/Makefile.in
./toolkit/components/perf/Makefile.in
./toolkit/components/perf/Makefile.in
./toolkit/components/feeds/Makefile.in
./toolkit/components/url-classifier/Makefile.in

contain the string

ifdef ENABLE_TESTS

but have some other statement inside (e.g. TOOL_DIRS += <foo> etc) and
they remain unchanged by this patch.
2012-02-04 17:32:24 +00:00
Mike Hommey
2836287a51 Bug 714029 - Avoid jsctypes-test dependency on the xpcom glue. r=bsmedberg 2012-01-10 09:10:53 +01:00
Mike Hommey
9b95491d04 Backout 057e7ead186e (bug 714029) because of failure to build on Windows. 2012-01-10 10:51:55 +01:00
Mike Hommey
646b1c1fa5 Bug 714029 - Avoid jsctypes-test dependency on the xpcom glue. r=bsmedberg 2012-01-10 09:10:53 +01:00
Josh Matthews
4ee5f5c378 Bug 696450 - Add increment/decrement methods to PointerType jsctype objects. r=bobbyholley 2011-11-08 16:06:19 -05:00
Bobby Holley
185cf7a127 Bug 705019 - Allow access to {C,Pointer,Struct,Array,Function}Type.prototype.prototype. r=jorendorff 2011-11-29 18:29:19 -08:00
Bobby Holley
1c1b109a0d Bug 705019 - Make toSource() and toString() work on sCTypeProtoClass and sCDataProtoClass objects. r=jorendorff 2011-11-29 18:26:12 -08:00
Ed Morley
6a998be2c5 Backout 4997c6f8b24d (bug 616542) for causing locally run mochitest-browser-chrome test runs to fail 2011-11-05 18:35:59 +00:00
Rail Aliiev
364e83c545 Bug 616542 - Shorten file path length of mochitest; r=ted 2011-11-04 21:13:42 +00:00
Bobby Holley
c2cddc5fb8 Bug 599791 - part 7 - Tests. r=jorendorff 2011-10-07 13:51:21 -04:00
Bobby Holley
4d61442525 Bug 682504 - Tests. r=jorendorff 2011-10-07 13:51:21 -04:00
Michael Wu
d8e503c38b Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Geoff Brown
1264a5446f Bug 668349 - Changes to xpcshell.ini; r=jmaher 2011-08-22 09:00:50 +01:00
Malini Das
e306b1b5aa Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- chrome. r=jmaher, a=test-only 2011-08-12 12:21:36 -04:00
Brad Lassey
146bdc79f5 backing out changesets 1baddb020156, d9456378c12d, 187ac0d7b154, 40e392d958e0 and f2e8ee893fe4 2011-08-10 18:18:09 -04:00
Geoff Brown
cf4a559f2b Bug 668349 - changes to xpcshell.ini; r=jmaher 2011-08-10 16:56:49 -04:00
Siddharth Agarwal
7147e45572 Bug 615473 - Make ctypes.stdcall_abi and ctypes.winapi_abi aliases to the sole ABI on Win64. r=dwitte 2011-08-11 01:02:49 +05:30
Siddharth Agarwal
996eff61b5 Bug 668058 - Add a DIR_INSTALL nsinstall shortcut, and allow $(INSTALL) to support target-specific makefiles. r=ted 2011-07-08 14:30:27 -07:00
Ed Morley
223c46b36b Bug 659621 - Remove EXTRA_DSO_LIBS, EXTRA_DSO_LDOPTS, OS_LIBS from makefiles containing LIBXUL_LIBRARY = 1, now that libxul is always built; r=ted 2011-06-12 03:49:00 -04:00
Joel Maher
6993636556 Bug 616999. Xpcshell manifest support; manifest files. r=ted, a=test-only 2011-05-20 11:54:01 -04:00
Mike Shaver
85c4348adc Backed out changeset 4d86e63ff60d, diagnostic patch; back out 3da12edf735e, followup fix; back out bug 631135 completely, unexplained intermittent orange. r=waldo, a=orange 2011-02-19 20:46:44 -08:00