Justin Wood
b2458c170c
Bug 463824, Introduce GLOBAL_DEPS to build system
...
r=ted, a1.9.1=beltzner [js bits rs=sdwilsh]
2008-11-27 18:26:44 -08:00
Shawn Wilsher
19fcb4b6ab
Backed out changeset 87f6ae0c4324 (bug 435474) for orange.
2008-11-27 13:15:18 -08:00
Justin Wood
293c89f577
Bug 463824, Introduce GLOBAL_DEPS to build system
...
r=ted, a1.9.1=beltzner
2008-11-27 12:27:41 -08:00
Jim Blandy
6721e0d7d2
Bug 462451: Don't be confused by .deps dirs in the source tree. r=bsmedberg
...
$(MDDEPDIR) needs to be created in the build tree, but if make rules
list $(MDDEPDIR) as a dependency, then the VPATH search will tend to
find dependency directories in source trees if the source tree has
been configured in the past. So use $(CURDIR)/$(MDDEPDIR) instead.
Some directory Makefiles have been adding $(MDDEPDIR) to MAKE_DIRS and
GARBAGE_DIRS explicitly, since they're not setting any of the
variables that would cause config/rules.mk to create $(MDDEPDIR)
automatically. Those makefiles would have to use the $(CURDIR) trick
to defeat the VPATH search, too. Instead, have rules.mk check an
additional variable NEED_MDDEPDIRS, and let the makefiles set that;
this keeps the magic in one place.
2008-11-10 12:55:46 -08:00
Serge Gautherie
89718529d9
Bug 457046 - Decide what to do with <TestPipes.cpp> |#if 0|'ed code; (Cv1) Remove obsolete |#if 0| code; r=benjamin
2008-10-20 19:24:43 +02:00
Arpad Borsos
8b11d938d2
Bug 456388 - Remove PR_STATIC_CALLBACK and PR_CALLBACK(_DECL) from the tree; r+sr=brendan
2008-10-10 17:04:34 +02:00
Serge Gautherie
1947a775cd
Bug 457046 - Decide what to do with <TestPipes.cpp> |#if 0|'ed code; Bv1; r=benjamin
2008-10-08 02:27:05 +02:00
Serge Gautherie
73fa1c244f
Bug 457046 - Decide what to do with <TestPipes.cpp> |#if 0|'ed code; Av1; r=benjamin
2008-10-08 02:24:31 +02:00
Serge Gautherie
7bafee453a
Bug 453164 - 'TestServMgr' : "mFreeCount : LEAKED 233 + mAdoptFreeCount : LEAKED 7"; r=benjamin
2008-10-08 02:22:01 +02:00
Serge Gautherie
b418b386cd
Backout Makefile.in (extra) part of 19725:cdfaac3ff235
...
Bug 453137 - 'TestPipes' |TestChainedPipes()| leaks its streams; Av2; r=benjamin
which broke "--enable-debug --enable-libxul" builds; r=benjamin
2008-09-27 02:59:53 +02:00
Serge Gautherie
364144a835
Bug 453137 - 'TestPipes' |TestChainedPipes()| leaks its streams; Av2; r=benjamin
2008-09-25 20:06:13 +02:00
Ted Mielczarek
086eaca58f
bug 455503 - better tests for nsIMutableArray. r=bsmedberg
2008-09-22 06:41:55 -04:00
Taras Glek
30aa910a7e
bug 432917: MUST_FLOW_THROUGH static check. r=bsmedberg
2008-09-08 11:01:22 -07:00
Serge Gautherie
979070b411
Bug 449281 - In <TestPipe.cpp>, "warning C4273: 'NS_NewPipe2' : inconsistent dll linkage", when without |--enable-libxul|; Av3; r=benjamin
2008-09-06 18:03:38 +02:00
Ben Turner
a436facf6a
Bug 449822 - "Service manager can create two instances of a service". r=bsmedberg.
2008-09-04 15:44:41 -07:00
Bo Yang
d406dbd071
Bug 451525 - Expand library names in Makefile, r=bsmedberg, sr=shaver
2008-09-04 22:45:00 +02:00
Benjamin Smedberg
71120220a3
Bug 453349 - stack-only checker skips conditional blocks, r=dmandelin
2008-09-03 13:00:13 -04:00
Benjamin Smedberg
8bc1d968b3
Followup to bug 451079 to move/add testcase files.
...
--HG--
rename : xpcom/tests/static-checker/e3.cpp => xpcom/tests/static-checker/onull2.cpp
2008-09-02 13:36:19 -04:00
HÃ¥kan Waara
c0030bd82e
better way to make a xpcshell mac-only without any #ifdefs available.
2008-08-26 11:40:43 +02:00
HÃ¥kan Waara
1e6a760ca0
Bug 442401 – nsILocalFile::IsPackage does not consider a Keynote bundle (.key) to be a package. r=josh, sr=roc
2008-08-26 11:17:13 +02:00
Doug Turner
3180f836cc
Bug 451672 - Fix nsIMemory::IsLowMemory on Maemo. r=stuart
2008-08-15 02:12:45 -07:00
Serge Gautherie
c6330c99ea
Bug 190177 – ASSERTION: received wrong amount: 'received == writeCount', file .../xpcom/tests/TestPipes.cpp, line 273. r=shaver, sr=bsmedberg
2008-08-24 12:16:33 -07:00
David Mandelin
8c7d60a450
Bug 451079: allow setting outparams to null on failure
2008-08-19 11:17:13 -07:00
Serge Gautherie
e04011c75f
Bug 450133 - fix nits in TestHashtables.cpp, r=bsmedberg
2008-08-18 19:38:50 +02:00
Benjamin Smedberg
3d4cef8bb3
Bug 450137 - Add namespaces to multiple classes with the same name in xpcom/tests, to avoid automated tool confusion, r=dbaron
2008-08-18 12:45:38 -04:00
Benjamin Smedberg
28739e32aa
Don't run the unit test for bug 224692 - it's creating a directory that the tinderbox then can't remove
2008-08-14 13:09:15 -04:00
Aaron Nowack
0a443ab84a
Testcase for bug 224692, r=bsmedberg
2008-08-14 11:48:06 -04:00
Manish Singh
d2c44cd814
Bug 442870 – CompressWhitespace can freeze the browser. r=bsmedberg
2008-08-14 12:16:24 +02:00
Mike Hommey
e5e6493be7
Bug 438688 – String formatter fails to format the same argument twice. r=bsmedberg
2008-08-14 12:11:25 +02:00
Justin Dolske
6321402495
Reland bug 121341.
2008-08-13 21:30:45 -07:00
Justin Dolske
91ec607e05
Backed out changeset db55605b2a4c (relanding bug 121341)
2008-08-13 21:30:12 -07:00
Dave Townsend
a05706f1bf
Backout of bug 121341
2008-08-13 21:45:08 +01:00
Dave Townsend
ba0b5395d8
Backed out changeset cc82f602d986
2008-08-13 21:44:20 +01:00
Ben Turner
9c28406278
Bug 443874 - "Need a hook for thread creation and destruction in thread pool." r=bsmedberg, jst. Test shouldn't hang now.
2008-08-11 17:01:47 -07:00
Benjamin Smedberg
e8fa485944
From bug 449561, bug 445949, and others: let's just ditch nsDerivedSafe since the class of errors it's trying to protect against are uncommon in today's world. r=dbaron
2008-08-11 11:05:58 -04:00
Michal Novotny
8ed418dcef
Bug 121341. Switch nsPersistentProperties::Load from reading a char at a time to reading a block at a time, with a state-machine parser and all. r=bsmedberg, sr=bzbarsky
2008-08-07 17:05:19 -04:00
Dave Townsend
d979d4da91
Backout of bug 443874: Need a hook for thread creation and destruction in thread pool
...
Removes the following changesets:
01e24ad20f35
ebf77231b06e
f4b859edddd2
22201dfdb1f3
f8762f56712f
2c6f51bf3bed
c8ac37904c16
2008-07-25 10:21:04 -04:00
Ben Turner
4401266fe0
Bug 443874 - Bah, disable hanging test on windows again.
2008-07-24 22:33:53 -07:00
Ben Turner
3a1577699c
Bug 443874 - Beef up windows test case to see what could be causing the hang.
2008-07-24 21:36:34 -07:00
Ben Turner
e7206ffbb3
Bug 443874 - Disable test on windows until i can figure out why it's hanging.
2008-07-24 14:17:55 -07:00
Ben Turner
c9575547ec
Bustage fix, bug 443874.
2008-07-24 11:17:42 -07:00
Ben Turner
8219c0feb2
Bustage fix, bug 443874.
2008-07-24 11:10:49 -07:00
Ben Turner
42fd53c413
Bug 443877 - "Need a way to point timers at a different event target". r=bsmedberg.
2008-07-24 10:20:33 -07:00
Ben Turner
591253915b
Bug 443874 - "Need a hook for thread creation and destruction in thread pool". r=bsmedberg.
2008-07-24 10:18:57 -07:00
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
scott@scott-macgregor.org
f9d06920f7
Bug 384979 --> move nsTextFormatter to the glue code so it can be used with frozen linkage. Patch by prasad <prasad@medhas.org> sr=bsmedberg a=bsmedberg
2007-09-20 16:14:25 -07:00
aaronr@us.ibm.com
2c8a07cf79
move nsDeque to xpcom glue. Bug 395349, r+a=bsmedberg
2007-09-18 11:14:34 -07:00
cbiesinger@gmx.at
af888adb39
381812 improved testcase for storage stream behaviour when the stream hasn't been written to r=bsmedberg
2007-09-05 13:30:18 -07:00
philringnalda@gmail.com
d90d948a45
Bug 380783 - nsStringAPI.h: no equivalent of IsVoid (tell if string is null), patch by Mook <mook.moz+mozbz@gmail.com>, r=bsmedberg/dbaron, sr=dbaron, a1.9=bz
2007-08-17 20:48:16 -07:00
cbiesinger@gmx.at
5e31e355aa
fixing orange, the new behaviour is better
2007-08-17 14:20:55 -07:00
mrbkap@gmail.com
4bf9fb0512
Fix broken printf to fix a compile warning. bug 390855, r+sr+a=bsmedberg
2007-08-07 18:47:40 -07:00