Commit Graph

65 Commits

Author SHA1 Message Date
Reed Loden
478f37cda4 Backed out changeset 88a91e1e9a3f 2008-07-12 16:32:25 -05:00
Jeff Walden
abf8b90dee Bug 397227 - "Reduce the effort needed to write C++ tests" [r=ted/luser] 2008-07-12 16:27:27 -05:00
David Mandelin
1ebc6e6f68 Bug 443205: outparams.js needs to consider void-return funcs as nofail, r=bsmedberg 2008-07-09 10:35:29 -07:00
David Mandelin
f6af06076a Bug 442982: outparams.js now understands func ptr typedef attributes, r=bsmedberg 2008-07-01 14:24:58 -07:00
David Mandelin
3dac3ac31c Bug 442829: outparams.js handling nsresults returned as &rv, r=bsmedberg 2008-07-01 14:22:49 -07:00
Benjamin Smedberg
b9a9e3d81f Bug 425454 - whitelist placement-new for stack classes. Also uses treehydra analysis so we don't have to require a constructor for stack classes any more. r=taras 2008-06-30 12:44:06 -04:00
Jeff Walden
6773debbac Bug 421576 - Unpaired surrogate handled wrongly (Acid3 #68). acid3++ r=dbaron 2008-06-02 21:29:00 -04:00
Jeff Walden
b0c45525f5 Bug 434074 - TestRegistrationOrder test leaks stuff because it uses raw pointers; fix the leaks in case we want to do no-leak assertions in C++ tests sometime. r=dbaron 2008-06-02 21:28:59 -04:00
David Mandelin
d591c8c92c Bug 431832: check outparams for PRBool or void return, r+a=bsmedberg 2008-05-20 11:26:03 -07:00
jorendorff@mozilla.com
9b5032bfde Merge from cvs-trunk-mirror to mozilla-central. 2008-05-13 09:57:11 -05:00
bent.mozilla@gmail.com
2b4da89847 Bug 432887 - "Add tests for XPCOM Proxies (and enable other C++ unit tests)". r=sayrer, a=Tests Only. 2008-05-08 17:14:19 -07:00
Benjamin Smedberg
9aaf941d31 Bug 432278 - Fix a couple of the static-checking testcases: clean up the makefile-fu a little bit, and add a new class of test: one which should issue warnings, which equates to "should fail with -Werror and should pass without -Werror." r=dmandelin 2008-05-05 14:32:31 -04:00
David Mandelin
a326cd2356 Bug 431965: checking in tests forgotten before (r/a=bsmedberg from bug 420933) 2008-05-05 10:24:13 -07:00
David Mandelin
dbe96cfe58 Bug 431832: NS_inparams attr for outparams checker, r=bsmedberg, a=bsmedberg 2008-05-02 18:03:38 -07:00
David Mandelin
e2ac3c1005 Bug 420933: outparams checker, r=bsmedberg, a=bsmedberg 2008-04-30 17:47:27 -07:00
Benjamin Smedberg
b3c6962a6c Merge cvs-trunk-mirror to mozilla-central.
--HG--
rename : js/src/js.c => js/src/js.cpp
rename : js/src/jsapi.c => js/src/jsapi.cpp
rename : js/src/jsemit.c => js/src/jsemit.cpp
rename : js/src/jsfun.c => js/src/jsfun.cpp
rename : js/src/jsinterp.c => js/src/jsinterp.cpp
rename : js/src/jsobj.c => js/src/jsobj.cpp
rename : js/src/jsparse.c => js/src/jsparse.cpp
rename : js/src/jsregexp.c => js/src/jsregexp.cpp
rename : js/src/jsxml.c => js/src/jsxml.cpp
2008-04-15 13:59:01 -04:00
benjamin@smedbergs.us
6114a47d6e Bug 428326 - Configuring with a relative srcdir breaks unit tests in XPCOM, r=luser a=beltzner 2008-04-11 06:10:59 -07:00
Benjamin Smedberg
1a7696b809 Bug 428326 - 'make check' fails when you've configured from a relative srcdir (e.g. ../src/configure), r=luser 2008-04-10 12:14:01 -04:00
philringnalda@gmail.com
e20c3514d6 Bug 413477 - nsStringAPI needs RFind set of functions, patch by Prasad Sunkari (prasad@medhas.org), r=bsmedberg, a=beltzner 2008-04-08 23:01:13 -07:00
jorendorff@mozilla.com
e366e3a8e5 Merge from cvs-trunk-mirror to mozilla-central.
--HG--
rename : js/src/jsapi.c => js/src/jsapi.cpp
rename : js/src/jsinterp.c => js/src/jsinterp.cpp
2008-04-07 17:37:54 -05:00
sdwilsh@shawnwilsher.com
8ea503a324 nsIMutableArray test for appending null. r=bsmedberg, sr=bsmedberg (from bug 397935) NPOTDB 2008-04-02 17:44:56 -07:00
jorendorff@mozilla.com
1dd1d9f71d Merge from cvs-trunk-mirror to mozilla-central.
--HG--
rename : js/src/js.c => js/src/js.cpp
rename : js/src/jsapi.c => js/src/jsapi.cpp
rename : js/src/jsarray.c => js/src/jsarray.cpp
rename : js/src/jscntxt.c => js/src/jscntxt.cpp
rename : js/src/jsdate.c => js/src/jsdate.cpp
rename : js/src/jsdbgapi.c => js/src/jsdbgapi.cpp
rename : js/src/jsemit.c => js/src/jsemit.cpp
rename : js/src/jsexn.c => js/src/jsexn.cpp
rename : js/src/jsfun.c => js/src/jsfun.cpp
rename : js/src/jsgc.c => js/src/jsgc.cpp
rename : js/src/jsinterp.c => js/src/jsinterp.cpp
rename : js/src/jsiter.c => js/src/jsiter.cpp
rename : js/src/jslock.c => js/src/jslock.cpp
rename : js/src/jsobj.c => js/src/jsobj.cpp
rename : js/src/jsopcode.c => js/src/jsopcode.cpp
rename : js/src/jsparse.c => js/src/jsparse.cpp
rename : js/src/jsregexp.c => js/src/jsregexp.cpp
rename : js/src/jsscope.c => js/src/jsscope.cpp
rename : js/src/jsscript.c => js/src/jsscript.cpp
rename : js/src/jsxml.c => js/src/jsxml.cpp
2008-04-02 16:35:13 -05:00
brade@comcast.net
ce7a4ae748 bug #416886 - reinstate test case for registration order (which failed to compile in non-libXUL builds; that has been fixed). 2008-04-01 06:06:18 -07:00
brade@comcast.net
109495323d Backout test case for registration order. 2008-03-31 08:36:52 -07:00
brade@comcast.net
22750e6b97 bug #416886 - attempt to fix Linux non-libxul build. 2008-03-31 08:26:10 -07: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
Benjamin Smedberg
300dc2107c Merge cvs-trunk-mirror -> mozilla-central. There's a C++ bug in js/src/jsinterp.cpp that I am going to file upstream.
--HG--
rename : js/src/js.c => js/src/js.cpp
rename : js/src/jsapi.c => js/src/jsapi.cpp
rename : js/src/jscntxt.c => js/src/jscntxt.cpp
rename : js/src/jsdbgapi.c => js/src/jsdbgapi.cpp
rename : js/src/jsexn.c => js/src/jsexn.cpp
rename : js/src/jsfun.c => js/src/jsfun.cpp
rename : js/src/jsgc.c => js/src/jsgc.cpp
rename : js/src/jsinterp.c => js/src/jsinterp.cpp
rename : js/src/jsiter.c => js/src/jsiter.cpp
rename : js/src/jsobj.c => js/src/jsobj.cpp
rename : js/src/jsopcode.c => js/src/jsopcode.cpp
rename : js/src/jsregexp.c => js/src/jsregexp.cpp
rename : js/src/jsstr.c => js/src/jsstr.cpp
rename : js/src/jsxml.c => js/src/jsxml.cpp
2008-03-20 12:42:05 -04:00
jag@tty.nl
4400be542e Bug 333505: nsLocalFileOSX crash. Original patch by Shane Caraveo <shanec@ActiveState.com>, review nits addressed by me. Unit test by Callek. r=mentovai, r/sr=bsmedberg, a1.9=damons 2008-03-18 06:31:01 -07:00
benjamin@smedbergs.us
22ab1903e9 Merge cvs-trunk-mirror -> mozilla-central
--HG--
rename : js/src/jsarray.c => js/src/jsarray.cpp
rename : js/src/jsnum.c => js/src/jsnum.cpp
2008-03-12 16:32:37 -04:00
reed@reedloden.com
270d099f76 Bug 414063 - "annotate xpidl-generated c++ headers with attributes for scriptable and deprecated methods" [p=Pidgeot18@gmail.com (Joshua Cranmer) r=dbradley a1.9=damons] 2008-03-12 04:00:24 -07:00
benjamin@smedbergs.us
4ee1e5462f merge cvs-trunk-mirror -> mozilla-central 2008-03-11 17:02:36 -04:00
timeless@mozdev.org
655c0267e5 Bug 419326 Crashes in Main Tab of Options [@ _wgetdcwd - nsLocalFile::Normalize] r=bsmedberg a=beltzner 2008-03-11 10:46:48 -07:00
benjamin@smedbergs.us
27523547f0 Bug 419624 - Build framework, basic usage, and testsuite for statically checking the codebase using gcc-dehydra, r=luser,dbaron,tglek 2008-02-27 11:28:13 -05:00
neil@parkwaycc.co.uk
48d3824f0d Bug 330101 nsTArray binary search for when array is sorted r=bsmedberg a=schrep 2008-02-21 01:43:15 -08:00
reed@reedloden.com
93653ed0c8 Bug 413488 - "nsACString::Find in nsStringAPI is buggy!" [p=prasad@medhas.org (Prasad Sunkari [prasad]) r=bsmedberg a=blocking1.9+] 2008-02-13 02:49:32 -08:00
smontagu@smontagu.org
632ed6f4c8 Make CreateUnique use UTF-16 path names on Windows and correct some bugs with handling over-long filenames. Bug 364285, r=bsmedberg, blocking-firefox3=beltzner 2008-01-09 13:10:06 -08:00
dwitte@stanford.edu
99e1fea0b7 bug 410579 - remove nsStringIO.h. r+sr+a=jst 2008-01-02 17:32:26 -08:00
kairo@kairo.at
3e86d8ae61 Comment out other occurence of failing test as well for now, see bug 401781, r+sr=biesi via IRC 2007-11-13 07:30:29 -08:00
reed@reedloden.com
b3e67000d1 Bug 387049 - "Remove nsIObservableInputStream, nsIObservableOutputStream" [p=WeirdAl r=biesi a1.9=damons] 2007-11-13 02:27:26 -08:00
reed@reedloden.com
b441a79380 Comment out failing test for now in test_streams.js. 2007-11-12 23:23:15 -08:00
reed@reedloden.com
88fc6d112a Remove DOS line endings from test_streams.js. 2007-11-12 23:16:48 -08:00
reed@reedloden.com
c232b2b8c5 Bug 401781 - "Add tests for nsI*Stream" [p=WeirdAl r=bsmedberg] 2007-11-12 21:33:25 -08:00
bent.mozilla@gmail.com
0f82960824 Bug 392493 - "Add forget() method to nsCOMPtr and nsRefPtr". r=dbaron. 2007-10-03 17:57:09 -07:00
jst@mozilla.org
e8ab62c7c1 Fixing solaris build bustage when building with tests enabled. r=sayrer, sr=biesi, a=jst 2007-10-02 16:11:18 -07:00
jwalden@mit.edu
036312c5b7 Yet another fix for Windows calling convention differences. 2007-09-21 01:18:36 -07:00
jwalden@mit.edu
f3cec9de81 Fixing more bustage; apparently some compilers don't like default arguments unless they're in a declaration, not a definition. 2007-09-21 01:12:07 -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
scott@scott-macgregor.org
bc1961884c try to fix mac orange again. 2007-09-20 17:34:42 -07:00
scott@scott-macgregor.org
cd3973f8f1 try to fix the orange mac tinderbox builds by adjusting the Makefile.in rule. Thanks to bsmedberg for suggesting the fix. 2007-09-20 16:56:10 -07:00