Commit Graph

129 Commits

Author SHA1 Message Date
Bobby Holley
d21e22a1a4 Bug 848538 - Followup test bustage fix on a CLOSED TREE. r=me 2013-03-18 12:54:55 -07:00
Bobby Holley
964d540d50 Bug 848538 - Push a cx before calling into ctypes callbacks. r=jorendorff 2013-03-18 11:04:07 -07:00
Nicholas Nethercote
a2434f94d8 Bug 842438 (part 1) - Remove @line support from SpiderMonkey. r=benjamin.
--HG--
extra : rebase_source : 38502ad54c97a0e16e6396f9f39df31b73d0e289
2013-03-11 14:27:34 -07:00
Jose Cortes
c430aa26aa Bug 842186 - Update instances of jsval to JS::Value in .cpp and .h files within the toolkit and netwerk directories. r=jwalden
--HG--
extra : rebase_source : bba8b8f21faa148a64731299bd74bf89c1314822
2013-03-06 13:16:46 -08:00
Gregory Szorc
14545664e3 Bug 784841 - Part 18θ: Convert /toolkit f=Mossop, Ms2ger; rs=ted 2013-02-25 13:19:09 -08:00
Chuck Lee
068a187a4a Bug 828782 - 0004. Add test case for UTF-8 decoding on ctypes.readStringReplaceMalformed(). r=terrence 2013-02-20 11:20:59 +08:00
Trevor Saunders
78c0c89df2 bug 829288 - fix some toolkit/ warnings r=ehsan 2013-01-10 06:44:15 -05:00
Kyle Huey
4213568dc1 Bug 809666: Define ctypes and perf properties on the 'this' object, not the global, when sharing globals. r=mrbkap
--HG--
extra : rebase_source : d9f8329b7f60b3e72aea241aa97b59aa04531c66
2012-11-13 08:57:46 -08:00
Kyle Huey
a43ac37b08 Backout bug 809666. 2012-11-13 10:27:06 -08:00
Kyle Huey
5bc7e56411 Bug 809666: Define ctypes and perf properties on the 'this' object, not the global, when sharing globals. r=mrbkap 2012-11-13 08:57:46 -08:00
Kyle Huey
1482122303 Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon
--HG--
extra : rebase_source : 98337b6a8c07d05e8c961a452dd05a7d75c3c60b
2012-10-31 09:13:28 -07:00
Vicamo Yang
8297cdabd6 Backout 67cb43bb8865: Breaks B2G Marionette 2012-10-31 16:35:11 +08:00
Kyle Huey
bdf47895bb Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon 2012-10-30 12:28:11 -07:00
Ed Morley
777eed8444 Backout a145ded68994, e0cf397089ec & 1545e91c658e (bug 798491) for bustage on a CLOSED TREE 2012-10-30 17:02:31 +00:00
Kyle Huey
97eb605422 Bug 798491: Followup bustage fix. 2012-10-30 09:10:08 -07:00
Kyle Huey
aa1997a51a Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon 2012-10-30 08:26:12 -07:00
David Rajchenbach-Teller
544be4d9e8 Bug 795505 - Additional checks for feeding typed arrays to js-ctypes. r=jorendorff 2012-10-06 21:53:23 -04:00
David Rajchenbach-Teller
becea4676b Bug 795505 - Feed typed arrays to js-ctypes. r=jorendorff 2012-10-06 21:53:23 -04:00
David Rajchenbach-Teller
f8270fa49a Bug 797326 - Get the right line number printed in test_jsctypes.js.in. r=jorendorff 2012-10-03 18:19:23 -04:00
Randell Jesup
eedf93a21d Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35: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
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