Nicholas Nethercote
b6d6b342af
Bug 909597 (part 2) - Rename jsdbgapi.{h,cpp} as {js,vm}OldDebugAPI.{h,cpp}. r=luke.
...
--HG--
rename : js/src/jsdbgapi.h => js/public/OldDebugAPI.h
rename : js/src/jsdbgapi.cpp => js/src/vm/OldDebugAPI.cpp
extra : rebase_source : 9cd65a698e726c43d88d650f40823367bf98feae
2013-08-26 19:05:20 -07:00
Ted Mielczarek
b4b181eaf0
Bug 906734 - Put TestHarness.h profile directories under runcppunittest's temp directory. r=Waldo
2013-08-20 11:59:51 -04:00
Nicholas Nethercote
b89a8ac1c0
Bug 905017 (part 1) - Minimize inclusions of JS engine headers in .h and .idl files. r=billm.
...
--HG--
extra : rebase_source : 984c61ab12f46be0509b1ce0d458d9a6e5841c64
2013-08-17 15:50:18 -07:00
Nathan Froyd
5884c2d558
Bug 844331 - part 5 - add profile-before-change2 notification; r=bsmedberg
2013-03-01 15:11:21 -05:00
Ted Mielczarek
48379d1462
bug 787176 - Add a Python wrapper script for running C++ unit tests. r=jmaher,waldo
...
--HG--
extra : rebase_source : 2282494578a7dd792555633df2526835d39c5ac4
2012-08-30 15:20:38 -04:00
Jim Blandy
8bb2f676c2
Bug 790117: XPCOM test harness: Delete unused profiler control functions. r=bsmedberg
...
These functions are entirely unused, but we also now have
JS_DefineProfilingFunctions, present in both browser and JavaScript shell,
for doing what these functions were presumably intended for.
2012-09-21 16:36:13 -07: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
Aryeh Gregor
57c0ad57fb
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Gervase Markham
87620f5676
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Mark Capella
2b9096ad7f
Bug 489728. (Bv6a) Use passed() in TestTXMgr.cpp, Make passed() accept a va_list in TestHarness.h. f=sgautherie r=ehsan.
2012-02-28 10:17:15 +01:00
Marco Bonardo
f595b05ddb
Bug 712767: Send profile shutdown topics to cpp tests requesting a profile.
...
r=waldo
2012-01-20 14:47:51 +01:00
Marco Bonardo
ed5a1cd872
Bug 619623 - Try to fix some intermittent failures in test_IHistory.cpp.
...
r=dietrich
2011-11-05 01:01:38 +01:00
Ehsan Akhgari
2a602a5685
Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
...
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Jeff Walden
b7753477cf
Bug 693469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. (Exceptions: assigning to static initializers, use in static assertions, as template parameters, etc. These will go away when the relevant compilers have C++11 constexpr support.) r=cjones
...
--HG--
extra : rebase_source : b4bae9a0f85abf2feb828609b50e756916b99a6f
2011-10-10 22:50:08 -07:00
Jeff Walden
eb2cb918a4
Back out everything since 5435ee09cf7b. Tinderbox compilers hate me. r=epic-fail
2011-10-12 12:21:53 -07:00
Jeff Walden
77ebbde4ab
Bug 639469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. r=cjones
...
--HG--
extra : rebase_source : 860a8271bf7e51cde358f2a4185c410de1fc2960
2011-10-10 22:50:08 -07: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
Ehsan Akhgari
b542efd4e6
Bug 666414 - Prevent AddRef and Release from being called on the pointers wrapped in nsCOMPtr and nsRefPtr; r=bsmedberg
2011-09-16 16:22:44 -04:00
Makoto Kato
172563125b
Bug 679473 - TestNativeXMLHttpRequest.exe : fatal error LNK1120: 6 unresolved externals. r=khuey
2011-08-18 09:33:58 +09:00
Steve Fink
93cd3119ac
Bug 673631 - Clean up probes and register (almost) all profiler control entry points in JS_DefineProfilingFunctions (r=luke,waldo,jst)
...
Previously, JS_DefineProfilingFunctions only defined a very basic set of
functions (startProfiling and stopProfiling), and various scattered places
added more specific ones (start/stop vtune, dumpProfile, etc.) This patch makes
jsdbgapi do all of it, so that all users get the same set.
Also rename JS_DumpProfile -> JS_DumpBytecode to avoid name conflict. The
bytecode dumps are how the counters ("profiles") are displayed, so the
DumpProfile name was bogus anyway.
--HG--
extra : rebase_source : 2d3e626ef43ac41c6da401a779775a63fc96a427
2011-07-26 15:56:09 -07:00
Andreas Gal
6278051362
Make Shark work with 64-bit MacOSX builds and rename to start/stopProfiling() (bug 625962, r=sayrer).
2011-01-14 17:58:40 -08:00
bhsieh@mozilla.com
fba716bbcd
bug 520309, startupcache core r=dwitte sr=bsmedberg a=bsmedberg
2010-08-12 12:37:44 -07:00
Benjamin Smedberg
77282b6432
Allow a manifest to register contracts and cids in any order, by deferring processing of contracts until the manifest is completely parsed. This is needed for extension author sanity, and also because jar.mn packaging doesn't place registration lines in order by default.
2010-06-25 08:19:48 -04:00
Shawn Wilsher
88bb83f4b2
Bug 517604 - TestHarness.h should provide a directory provider for a profile directory.
...
Automagically provide a profile directory for native code tests.
r=bsmedberg
2009-09-24 10:49:45 -07:00
Shawn Wilsher
f21f577875
Backed out changeset 467f14a11325 (bug 517604)
2009-09-30 17:03:37 -07:00
Shawn Wilsher
6b7261093e
Bug 517604 - TestHarness.h should provide a directory provider for a profile directory.
...
Automagically provide a profile directory for native code tests.
r=bsmedberg
2009-09-24 10:49:45 -07:00
Serge Gautherie
5714e738d6
Bug 482942 - Implement NS_LOCALFILE_DELETE_ON_CLOSE flag for nsILocalFile::OpenNSPRFileDesc; (Cv1) TestHarness.h: s/PRBool/PRUint32/; r=benjamin
2009-05-06 01:11:16 +02:00
Chris Jones
5ef90c82b9
bug 486793: add programmatic control of profiler to xpcom unit tests. r=bsmedberg
2009-04-24 14:47:45 -07:00
Robert O'Callahan
46307c1705
Bug 482942. Tests for nsILocalFile implementations. Also changes nsLocalFileUnix::MoveTo to update the object to refer to the destination, matching other platforms' behaviour. r=bsmedberg
...
--HG--
rename : xpcom/tests/nsIFileTest.cpp => xpcom/tests/TestFile.cpp
2009-03-24 13:44:37 +13:00
L. David Baron
e163f9af14
Fix the pass() function to use the standard syntax too. (Bug 477512) r=jwalden
2009-02-10 16:56:32 -08:00
L. David Baron
018be96174
TestHarness.h should give errors with TEST-UNEXPECTED-FAIL. (Bug 477512) r=jwalden
2009-02-10 14:05:28 -08:00
Jeff Walden
6773debbac
Bug 421576 - Unpaired surrogate handled wrongly (Acid3 #68 ). acid3++ r=dbaron
2008-06-02 21:29:00 -04:00
brade@comcast.net
ca61c9e2e7
Bug #416886 ; r=bsmedberg, a=beltzner Preserve original order when processing deferred components. Add TestRegistrationOrder automated test.
2008-03-31 07:40:10 -07:00
jwalden@mit.edu
e01dc9e11d
Fix bustage from TestPipe.cpp; turns out NS_NewPipe2 isn't exported from XPCOM -- who knew? r+a=bustage
2007-09-21 00:59:09 -07:00
jwalden@mit.edu
08317171e2
Bug 394692 - ASSERTION: read cursor is bad: 'mReadCursor != mWriteCursor', file xpcom/io/nsPipe3.cpp, line 539. Narrow the criteria used to decide whether to fire the assertion to deal with a particular (valid) pattern of memory allocations. r=biesi, a=bz
2007-09-20 23:17:59 -07:00