Commit Graph

1106 Commits

Author SHA1 Message Date
Boris Zbarsky
0ed08e296f Bug 403199. Don't log addref/release of nsSimpleNestedURI, becuse it doesn't work right when someone addrefs the derived class but releases the base class canonical nsISupports, due to aggregation. r=dbaron 2009-04-09 14:01:16 -04:00
Peter Annema
af171a53a8 Bug 485328: nsLocalFileUnix::GetNativeTarget() is broken for symlinks and (dangling) symlinks. r=neil, sr=bsmedberg 2009-04-07 04:38:41 -07:00
Peter Annema
0e102000be Bug 485325: nsLocalFileUnix::IsSymlink() should check result of lstat(). r=joshmoz, sr=bsmedberg 2009-04-07 04:38:23 -07:00
Peter Annema
70d10e77f6 Bug 484505: nsLocalFileUnix::Remove(PR_TRUE) shouldn't ever follow symlinks. r=joshmoz, sr=bsmedberg 2009-04-07 02:20:05 -07:00
Robert O'Callahan
83e096b509 Fix libxul test bustage, really 2009-04-06 14:19:41 +12:00
Robert O'Callahan
5bde4bb05f Backout incorrectly pushed changes 2009-04-06 14:19:27 +12:00
Robert O'Callahan
1ca364a2d0 Fix libxul test bustage
--HG--
extra : rebase_source : 49e42436893e10cae0e70cc5468b4d95a47cb07d
2009-04-06 14:15:26 +12:00
Florian Queze
74975efad2 Bug 451501. EmptyEnumratorImpl::QueryInterface needs to support nsIUTF8StringEnumerator. r+sr=bsmedberg 2009-04-06 12:26:25 +12:00
Robert O'Callahan
5ed0163b93 Bug 484921. Create TimeDuration/TimeStamp API that never rolls over and provides better typechecking than PR_IntervalTime. r=bsmedberg,cgj 2009-04-06 11:49:48 +12:00
Peter Annema
52721de1e5 Bug 207973 follow-up: fix comment.
Also, changeset fce0de0377e5 had r=bsmedberg, r=ted.
2009-04-05 04:10:26 -07:00
Josh Aas
587678f9aa Fix argument name in older function decl to match newer impl. no bug. 2009-04-05 02:26:40 -04:00
Peter Annema
f8f08581db Bug 207973: Directory listing errors when a bad soft link (symlink) is present
Test various operations on symlinks. See also bugs 484297, 484303, 484505, 485325, 485328
2009-04-04 13:48:29 -07:00
Arpad Borsos
e79293b2c0 Bug 474369 - get rid of nsVoidArray, xpcom part; r=bsmedberg 2009-04-03 18:43:08 +02:00
Ted Mielczarek
a8a9796d5c bug 484033 - extend nsICrashReporter to allow crashreporter to be used without going through XRE_Main. r=bsmedberg 2009-04-02 11:41:12 -04:00
Neil Rashbrook
6dee7126e7 Followup to bug 224692 to only reset inherited permissions r+sr=bsmedberg 2009-04-01 17:10:29 +01:00
Neil Rashbrook
d463a25c7d Bug 484309 Switch component manager logging over to NS_Free c.f. bug 331165 r+sr=bsmedberg 2009-04-01 17:08:03 +01:00
Michal Novotny
b90f4bc271 Bug 470716. Make the close-on-completion behavior of nsAsyncStreamCopier configurable. r+sr=bzbarsky. 2009-03-30 15:10:13 -04:00
Ginn Chen
46e9efd836 Bug 480427 Fix bustage for Solaris 2009-03-27 13:49:22 +08:00
Neil Rashbrook
65fb85e371 Bustage fix for bug 331165 2009-03-25 13:33:03 +00:00
Neil Rashbrook
031c516b05 Fix allocator abuses: bug 331165 r+sr=bsmedberg; bug 484309 r+sr=bsmedberg; bug 484312 r+sr=biesi 2009-03-25 13:19:08 +00:00
Dave Townsend
3b5be23309 Bug 480427: Add a way to run a process in a background threadd. r=bsmedberg 2009-03-25 08:57:21 +00:00
Vladimir Vukicevic
432828e107 b=476903; additional ARM xptc marshalling fixes (avoid unsigned char dependency); r=bsmedberg 2009-03-20 08:23:44 -07:00
Josh Aas
56feab23a2 Fix some type usage in nsIStreamBufferAccess.idl. b=478687 r=wtc r=bsmedberg 2009-03-24 10:47:02 -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
Robert O'Callahan
00231acd97 Bug 482942. Implement nsILocalFile::DELETE_ON_CLOSE. r=bsmedberg 2009-03-20 09:56:05 +13:00
Makoto Kato
64ceec236c Bug 475229 - xpcom/base/nsStackWalk support for Windows x64. r=benjamin 2009-03-22 12:53:47 +09:00
Ted Mielczarek
aaa58f8d73 Bug 421611 - Need to be able to run tests on arbitrary build - add packaging bits for xpcshell. r=bsmedberg
--HG--
rename : intl/strres/tests/397093.properties => intl/strres/tests/unit/397093.properties
rename : intl/strres/tests/strres.properties => intl/strres/tests/unit/strres.properties
2009-03-21 11:20:00 -04:00
Ted Mielczarek
dcc2d8f492 bug 482085 - fix all xpcshell tests to not reference files from the srcdir. r=bsmedberg,waldo
--HG--
rename : toolkit/components/downloads/test/downloads.empty.sqlite => browser/components/privatebrowsing/test/unit/downloads.empty.sqlite
rename : dom/src/json/test/fail1.json => dom/src/json/test/unit/fail1.json
rename : dom/src/json/test/fail10.json => dom/src/json/test/unit/fail10.json
rename : dom/src/json/test/fail11.json => dom/src/json/test/unit/fail11.json
rename : dom/src/json/test/fail12.json => dom/src/json/test/unit/fail12.json
rename : dom/src/json/test/fail13.json => dom/src/json/test/unit/fail13.json
rename : dom/src/json/test/fail14.json => dom/src/json/test/unit/fail14.json
rename : dom/src/json/test/fail15.json => dom/src/json/test/unit/fail15.json
rename : dom/src/json/test/fail16.json => dom/src/json/test/unit/fail16.json
rename : dom/src/json/test/fail17.json => dom/src/json/test/unit/fail17.json
rename : dom/src/json/test/fail18.json => dom/src/json/test/unit/fail18.json
rename : dom/src/json/test/fail19.json => dom/src/json/test/unit/fail19.json
rename : dom/src/json/test/fail2.json => dom/src/json/test/unit/fail2.json
rename : dom/src/json/test/fail20.json => dom/src/json/test/unit/fail20.json
rename : dom/src/json/test/fail21.json => dom/src/json/test/unit/fail21.json
rename : dom/src/json/test/fail22.json => dom/src/json/test/unit/fail22.json
rename : dom/src/json/test/fail23.json => dom/src/json/test/unit/fail23.json
rename : dom/src/json/test/fail24.json => dom/src/json/test/unit/fail24.json
rename : dom/src/json/test/fail25.json => dom/src/json/test/unit/fail25.json
rename : dom/src/json/test/fail26.json => dom/src/json/test/unit/fail26.json
rename : dom/src/json/test/fail27.json => dom/src/json/test/unit/fail27.json
rename : dom/src/json/test/fail28.json => dom/src/json/test/unit/fail28.json
rename : dom/src/json/test/fail29.json => dom/src/json/test/unit/fail29.json
rename : dom/src/json/test/fail3.json => dom/src/json/test/unit/fail3.json
rename : dom/src/json/test/fail30.json => dom/src/json/test/unit/fail30.json
rename : dom/src/json/test/fail31.json => dom/src/json/test/unit/fail31.json
rename : dom/src/json/test/fail32.json => dom/src/json/test/unit/fail32.json
rename : dom/src/json/test/fail33.json => dom/src/json/test/unit/fail33.json
rename : dom/src/json/test/fail34.json => dom/src/json/test/unit/fail34.json
rename : dom/src/json/test/fail4.json => dom/src/json/test/unit/fail4.json
rename : dom/src/json/test/fail5.json => dom/src/json/test/unit/fail5.json
rename : dom/src/json/test/fail6.json => dom/src/json/test/unit/fail6.json
rename : dom/src/json/test/fail7.json => dom/src/json/test/unit/fail7.json
rename : dom/src/json/test/fail8.json => dom/src/json/test/unit/fail8.json
rename : dom/src/json/test/fail9.json => dom/src/json/test/unit/fail9.json
rename : dom/src/json/test/json2.js => dom/src/json/test/unit/json2.js
rename : dom/src/json/test/pass1.json => dom/src/json/test/unit/pass1.json
rename : dom/src/json/test/pass3.json => dom/src/json/test/unit/pass3.json
rename : testing/xpcshell/example/location_load.js => testing/xpcshell/example/unit/location_load.js
rename : toolkit/components/commandlines/test/unit/unix/test_bug410156.js => toolkit/components/commandlines/test/unit_unix/test_bug410156.js
rename : toolkit/components/commandlines/test/unit/win/test_bug410156.js => toolkit/components/commandlines/test/unit_win/test_bug410156.js
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug257155/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug257155/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug299716_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug299716_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug299716_a_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug299716_a_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug299716_a_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug299716_a_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug299716_b_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug299716_b_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug299716_b_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug299716_b_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug299716_c_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug299716_c_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug299716_c_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug299716_c_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug299716_d_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug299716_d_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug299716_d_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug299716_d_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug299716_e_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug299716_e_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug299716_e_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug299716_e_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug299716_f_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug299716_f_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug299716_f_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug299716_f_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug299716_g_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug299716_g_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug299716_g_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug299716_g_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug324121_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug324121_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug324121_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug324121_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug324121_3/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug324121_3/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug324121_4/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug324121_4/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug324121_5/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug324121_5/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug324121_6/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug324121_6/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug324121_7/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug324121_7/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug324121_8/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug324121_8/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug324121_9/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug324121_9/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug335238_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug335238_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug335238_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug335238_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug378216_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug378216_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug378216_10/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug378216_10/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug378216_11/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug378216_11/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug378216_12/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug378216_12/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug378216_13/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug378216_13/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug378216_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug378216_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug378216_3/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug378216_3/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug378216_4/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug378216_4/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug378216_5/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug378216_5/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug378216_6/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug378216_6/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug378216_7/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug378216_7/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug378216_8/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug378216_8/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug378216_9/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug378216_9/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug394300_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug394300_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug394300_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug394300_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug396129_a_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug396129_a_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug396129_a_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug396129_a_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug396129_b_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug396129_b_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug396129_b_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug396129_b_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug396129_c_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug396129_c_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug396129_c_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug396129_c_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug396129_d_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug396129_d_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug396129_d_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug396129_d_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug397778/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug397778/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug425657/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug425657/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug428341_1/README => toolkit/mozapps/extensions/test/addons/test_bug428341_1/README
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug428341_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug428341_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug428341_3/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug428341_3/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug428341_4/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug428341_4/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug428341_5/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug428341_5/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug428341_6/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug428341_6/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug428341_7/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug428341_7/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug428341_8/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug428341_8/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug428341_9/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug428341_9/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug436207/install.js => toolkit/mozapps/extensions/test/addons/test_bug436207/install.js
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug463819_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug463819_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug463819_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug463819_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug463819_3/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug463819_3/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug463819_4/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug463819_4/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug463819_5/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug463819_5/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug463819_6/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug463819_6/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug463819_7/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug463819_7/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug463819_8/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug463819_8/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug463819_9/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug463819_9/install.rdf
2009-03-21 11:20:00 -04:00
Peter Van der Beken
5027e033b5 Fix for bug 481677 (Avoid hash lookups in XPCWrappedNative::GetNewOrUsed). r=bz, sr=jst.
--HG--
extra : rebase_source : 6062975766022118372d2e52f81659f87276b8ec
2009-03-18 19:02:48 +01:00
Josh Aas
a017628a07 Stop using FlatCarbon headers on Mac OS X. b=482277 r=bsmedberg 2009-03-19 10:41:13 -07:00
Peter Van der Beken
69e9aba8c8 Backing out f385e435c082, fix for bug 481677 (Avoid hash lookups in XPCWrappedNative::GetNewOrUsed), to try to fix orange. 2009-03-19 14:05:26 +01:00
Peter Van der Beken
f6b313dc83 Fix for bug 481677 (Avoid hash lookups in XPCWrappedNative::GetNewOrUsed). r=bz, sr=jst.
--HG--
extra : rebase_source : 9e25f0d56df57d65559e18acd49412e3e164821e
2009-03-18 19:02:48 +01:00
Dave Townsend
7bcb659b25 Bug 482482: Migrate version comparator tests to xpcshell. r=bsmedberg 2009-03-19 08:35:17 +00:00
Dave Townsend
9f624a2b99 Bug 482482: Migrate version comparator tests to xpcshell. r=bsmedberg 2009-03-19 08:32:56 +00:00
Robert O'Callahan
98e0044197 Bug 482938. nsPipe should create and destroy monitors using nsAutoMonitor so the potential-deadlock detector doesn't get confused. r=bsmedberg
--HG--
extra : rebase_source : 76fca82ad7015f55fb09e30d282f3dedf0c3976b
2009-03-19 09:18:19 +13:00
Brad Lassey
0eb00c2ca7 bug 453185 - follow up, fixes wince build bustage r=bsmedberg 2009-03-18 12:35:48 -04:00
Dave Townsend
4eacb936e1 Bug 453185: nsIProcess run fails with NS_ERROR_FILE_EXECUTION_FAILED when running an exe with a manifest that specifies requestedExecutionLevel level=requireAdministrator on Vista. r=bsmedberg 2009-03-18 11:00:20 +00:00
Dave Townsend
2956b59007 Bug 483626: nsIProcess.isRunning doesn't fail correctly and should be boolean. r=bsmedberg 2009-03-18 10:59:32 +00:00
Walter Meinl
7b5ea1a5af Bug 481476 - OS/2 xpidl creates headers in the srcdir, if no outputfile is specified. Let's do it like the other platforms; r=mozilla@Weilbacher.org 2009-03-15 14:55:18 +01:00
Serge Gautherie
e83b8a40bc Bug 229442 - </xpcom/base/nsError.h> NS_SUCCEEDED() code cleanup; (Av3) <nsError.h> whitespace cleanup ++; r=doug.turner 2009-03-13 15:51:27 +01:00
Ben Newman
7994a27471 Bug 470282 - nsProxyRelease.h include guard is not setup properly. r+bnewman 2009-03-11 20:22:48 -07:00
James Boston
091cdf56f0 Improve nsIProcess, fix nsIProcess.kill(). b=442393 r=bsmedberg 2009-03-09 12:47:39 -04:00
Peter Annema
301db0539d Bug 207973: Directory listing errors when a bad soft link (symlink) is present. r=joshmoz, sr=bsmedberg
CFURLGetFSRef doesn't handle dangling symlinks well. Check if that's what we're dealing with, and use an alternative approach to create an FSRef.
2009-03-07 18:59:40 -08:00
James Boston
11d164cec0 Back out patch for bug 442393. 2009-03-06 16:42:07 -06:00
James Boston
9742fc6f99 Improve nsIProcess, fix nsIProcess.kill(). b=442393 r=bsmedberg 2009-03-06 16:19:09 -06:00
Josh Aas
32feedaedf Only use FSIORefNum in the 64-bit case. Bustage fix for part 1 patch on bug 478687. 2009-03-06 12:48:40 -06:00
Josh Aas
ab3b25ec6a Port xpcom to 64-bit Mac OS X, part 1. b=478687 r=mstange sr=bsmedberg 2009-03-06 12:32:57 -06:00
Makoto Kato
b66ef2ce00 Bug 472609 - Support Win64 (LLP64 model) for xpcom/ds. r=benjamin 2009-03-06 22:37:13 +09:00
Walter Meinl
5efd9bf5b9 Bug 426639 - Fix the test harness to work on OS/2; xpcom/test/Makefile; r=benjamin 2009-03-05 19:03:14 +01:00
Neil Rashbrook
e2e4ed438f Bug 479057 Concatenating empty strings can result in bogus copying r=bsmedberg 2009-03-04 09:50:22 +00:00
Neil Rashbrook
c07aefc948 Bug 478732 nsLocalFileWin/OS2.cpp's InitWithPath is inefficient r=bsmedberg 2009-03-04 09:48:48 +00:00
Nickolay Ponomarev
3ba90a7bdc Disable non-windows part of the test, since it fails on mac sometimes.
test-only change, no review, but discussed in https://bugzilla.mozilla.org/show_bug.cgi?id=478086#c13
2009-03-04 12:25:19 +03:00
Olli Pettay
486b27fd0a Bug 480956 - HTMLDocument and some other dom objects traverse member variables even if the document is in 'nsCCUncollectableMarker::InGeneration' r+sr=peterv 2009-03-03 14:14:13 +02:00
Doug Turner
dae242de12 bug 473180. remove TARGET_DEVICE=emulator. It was an old hack to get builds working on wince simulators. no longer needed r=ted+jimb 2009-02-26 12:23:25 -08:00
Vladimir Vukicevic
457ff248a2 b=476903; fix xptcinvoke on ARM; r=bsmedberg 2009-02-26 12:05:09 -08:00
Nickolay_Ponomarev
fa24740272 Bug 478086 - enumerating drives/disks on Win32 using nsIFile.directoryEntries returns a single string with embedded NULLs in it; r=benjamin 2009-02-26 18:34:07 +01:00
Antonio Gomes (tonikitoo)
213ed89b02 Bug 465783: Fennec default download location inaccessible to users. r=sdwilsh sr=bsmedberg 2009-02-25 03:26:45 -04:00
Benjamin Smedberg
f254f1b0b4 Static analysis test cases for bug 479441 2009-02-24 10:11:06 -05:00
Sunil Mohan Adapa
7afd1bbd24 Bug 412610 - MAXPATHLEN too small for glibc's realpath(); m-c part; r=*
jsfile.cpp + reg.c + SpecialSystemDirectory.cpp : benjamin
lcms.h : bholley
XRemoteClient.cpp : roc
2009-02-23 19:28:12 +01:00
L. David Baron
fa9a21c33d Implement multiple background layers, implement fallback background color, and make -moz-background-inline-policy no longer be part of the background shorthand. (Bug 322475) r+sr=roc,bzbarsky 2009-02-19 21:29:21 -08:00
Shawn Wilsher
b0d2521c47 Bug 476174 - Default Download Directory (DfltDwnld) uses old Safari 2's value instead of Leopard's ~/Downloads
This changeset makes us default to the Downloads folder on OS X 10.5 and later,
and the Desktop for 10.4.  Additionally, this fixes bug 301647 ([Mac] remove
support of retrieving the 'system' download folder from
nsDirectoryService::GetFile).

r=gavin
r=josh
sr=bsmedberg
ui-r=beltzner
2009-02-19 18:06:49 -05:00
L. David Baron
2eb748571c Backed out changeset fde0b361f25e (bug 322475, main patch) due to Mac talos startup failures and hitting the NS_ABORT_IF_FALSE in SetupBackgroundClip, which may be related. 2009-02-19 13:51:46 -08:00
L. David Baron
d9ac02ed8c Implement multiple background layers, implement fallback background color, and make -moz-background-inline-policy no longer be part of the background shorthand. (Bug 322475) r+sr=roc,bzbarsky 2009-02-19 12:33:09 -08:00
Mook
71d7f334d5 bug 473151 - limit the number of characters usable in windbgdlg; r=timeless sr=neil 2009-02-19 18:23:15 +01:00
L. David Baron
a91aa25ab0 Back out all 8 changesets that I just landed (bugs 477959, 477961, 322475, 478899, 475215, 478156) again, because Talos Try server builds lie about which changesets they're testing. 2009-02-19 09:06:18 -08:00
L. David Baron
51ef1de194 Implement multiple background layers, implement fallback background color, and make -moz-background-inline-policy no longer be part of the background shorthand. (Bug 322475) r+sr=roc,bzbarsky 2009-02-19 07:29:28 -08:00
L. David Baron
8b207bcc51 Revert (back out) the previous 11 changesets (bugs 477959, 477961, 477963, 477962, 322475, 478899, 475215, 478156), due to Mac talos orange with (as usual) no useful diagnostic. 2009-02-18 18:59:47 -08:00
L. David Baron
366992262c Implement multiple background layers, implement fallback background color, and make -moz-background-inline-policy no longer be part of the background shorthand. (Bug 322475) r+sr=roc,bzbarsky 2009-02-18 17:13:25 -08:00
Robert O'Callahan
9d8186e0e0 Bug 478195 - '[Mac] Same-thread deadlock with trace-malloc (causing random red on OS X 10.5.2 mozilla-central leak test build)'. r=dbaron. 2009-02-17 21:11:29 -08:00
Ben Turner
6efddae719 Bug 478304 - 'Let nsRunnableMethod be used with non-void-returning functions'. r=bsmedberg. 2009-02-17 20:11:09 -08:00
Josh Aas
018ca06ce3 Allow null as a destination file name argument for CopyTo in nsLocalFileOSX. b=478549 r=mbanner sr=roc 2009-02-15 19:20:27 -05:00
Vladimir Vukicevic
3bdaaf6021 b=477727; add WINCE_WINDOWS_MOBILE define and associated configure flag; r=ted 2009-02-12 18:26:01 -08:00
Josh Aas
626467bbe9 Remove all MoreFilesX usage and remove MoreFilesX from the tree. b=476230 r=smichaud sr=dougt 2009-02-11 23:26:59 -05:00
Vladimir Vukicevic
1fcfb69c85 b=475595; disable IsLowMemory on Windows CE until we can fix it to be correct/performant; r=dougt 2009-02-11 18:26:27 -08: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
Vladimir Vukicevic
5e4535227f b=477727; fix up Windows CE xptcall; r=stuart 2009-02-10 15:10:08 -08:00
Vladimir Vukicevic
b28374e66f b=477727; add missing braces around WinCE bits in LocalFileWin; r+sr=stuart 2009-02-10 15:10:08 -08:00
Vladimir Vukicevic
d8b5259f62 b=477727; remove CoCreateGuid usage on WinCE; r+sr=stuart 2009-02-10 15:10:07 -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
Josh Aas
eedee75861 Make IsSymlink check for actual symlinks as well as aliases on Mac OS X. b=476919 r=ted sr=roc 2009-02-09 13:37:32 -05:00
Ted Mielczarek
bafdea3f08 bug 476919 - nsLocalFileOSX::IsSymlink is broken - unit test 2009-02-05 08:15:32 -05:00
Dão Gottwald
ea2cd336bb Backed out changeset 2df29cb1ed93 2009-02-07 15:07:36 +01:00
Tyler Downer
50800d3098 Bug 471930 - Strip User Docs from XPCOM. r=bsmedberg 2009-02-07 13:54:47 +01:00
Nickolay_Ponomarev
1820b09634 Bug 472258 - Reinitializing one-shot timers by resetting delay (->SetDelay) doesn't work anymore - fix callers; r+sr=bzbarsky 2009-02-03 15:42:21 +01:00
Ted Mielczarek
18849f5bc2 bug 475811 - provide a widgetToolkit attribute on nsIXULRuntime. r=bsmedberg 2009-02-02 08:53:24 -05:00
Robert O'Callahan
e4d777c4ce Bug 475023. Fix DEBUG_CC compilation for nsCStringArray removal. r+sr=roc
--HG--
extra : rebase_source : e217b220febb4a5770efb562580210992fa88126
2009-01-30 20:16:16 +13:00
Josh Aas
d98282c9bc Remove libreg dependency on morefilesx. b=464362 r=smichaud sr=bsmedberg 2009-01-29 23:49:27 -05:00
Daniel Veditz
be1524f476 bug 452217 nsLocalFileWin should return errors consistent with other platforms, r=neil, sr=bsmedberg 2009-01-27 16:50:14 -08:00
John Wolfe
cdec98474e bug 472165 - changes needed so windows mobile tools don't need to be in PATH variable r=ted 2009-01-22 10:17:06 -05:00
Daniel Holbert
2a7d88e05a Bug 473236 - Remove executable bit from files that don't need it. (Only changes file mode -- no code changes.) r=bsmedberg 2009-01-21 22:55:08 -08:00
Robert O'Callahan
c24aea088c Fixing bustage 2009-01-22 18:01:17 +13:00
Fred Jendrzejewski
8759b06c00 Bug 466622. Replace nsCStringArray with nsTArray<nsCString> for more consistent code and fewer heap allocations. r+sr=roc,r=bsmedberg
--HG--
extra : rebase_source : b963bf5de9d9c445b14620479691482512e0faf2
2009-01-22 17:15:34 +13:00
Fred Jendrzejewski
7d5761cdfa Bug 461047 - Replace nsStringArray with nsTArray<nsString>. r+sr=roc 2009-01-18 21:14:14 +01:00
Robert O'Callahan
1a9b00de4e Backed out changeset 8019a959aade 2009-01-16 22:20:33 +13:00
Fred Jendrzejewski
b79ad6fa55 Bug 461047. Replace nsStringArray with nsTArray<nsString>. r+sr=roc
--HG--
extra : rebase_source : 7a20af24c97867efbb28dafa6a70ea1b4cf00e58
2009-01-16 20:51:04 +13:00
timeless@mozdev.org
d79aacc7cc Bug 471296 nsArray (NS_ARRAY_CONTRACTID) can't be used on a single thread of its creator's choice, r=bsmedberg 2009-01-15 20:02:22 -08:00
timeless@mozdev.org
ba41e71939 Bug 472097 xul!nsMemoryImpl::IsLowMemory is broken on systems w/ lots of vm, r=bsmedberg 2009-01-15 20:02:21 -08:00
Phil Ringnalda
4d8777d31a Bug 243621 - (Back out) Standardize QueryInterface without throw, r=timeless, sr=sicking 2009-01-15 20:02:21 -08:00
Josh Aas
7537dc5537 Modernize xpcom i/o launch and reveal methods on Mac OS X, 64-bit compat. b=473078 sr=dougt 2009-01-15 17:57:43 -05:00
Benjamin Smedberg
5fc3ec0ea7 Bug 473587 - nsTString::ToInteger can overflow. Detect and prevent this condition, r+sr=dbaron
--HG--
extra : rebase_source : b0c9f51f2860aa1008c447334fa9075dd0b8e718
2009-01-15 13:44:46 -05:00
Gijs Kruitbosch
bf943f9594 Bug 514872 - nsWildCard ~ regexp was broken. r=jwalden+bmo (Jeff Walden) 2009-10-01 08:46:28 -04:00
Shawn Wilsher
540fe200cc merge for backout 2009-09-30 17:04:16 -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
Blake Kaplan
92ecfbe8b4 Bug 519498 - Follow XPCOM rules about reading values after a failure. r=sayrer 2009-09-30 15:15:51 -07:00
Henri Sivonen
7e34492c18 Bug 517943 - Need a way to append the contents of an nsTArray to another without copying. r=benjamin, sr=dbaron. 2009-09-24 20:26:31 +03:00
Josh Aas
797a2e8063 Backed out changeset 76c570389975. b=506812 2009-09-27 05:54:43 -04:00
Josh Aas
ab803bb1ea Faster directory enum code for Mac OS X, don't use FSRefs. b=506812 r=vlad 2009-09-27 05:07:14 -04:00
Josh Aas
1dae1b5c04 Backed out changeset 65aff8912e7c. b=506812 2009-09-27 03:09:47 -04:00
Josh Aas
2f90712ffa Get rid of unnecessary FSRef creation in startup path. b=506812 r=vlad 2009-09-27 01:49:41 -04:00
Robert Sayre
14ef91c61f Merge mozilla-central to tracemonkey. 2009-09-25 11:55:38 -07:00
Mitchell Field
eb31b31d25 Bug 514665 - fix stupid module name differences on windows. r=ted 2009-09-25 18:41:16 +02:00
wagerlabs
3b6668fa0f Fix stubs by placing them in the text segment. x86_64 Mac OS X fix. b=518435 r=bsmedberg 2009-09-25 00:04:50 -04:00
Boris Zbarsky
51e7cd5b8d Bug 478251. Implement the Null and Undefined annotations from webidl in quickstubs. r=jst,bsmedberg,jorendorff 2009-09-24 13:59:43 -04:00
Brendan Eich
127f3afdb7 Fix indentation. 2009-09-21 16:44:35 -07:00
L. David Baron
a59b1cf8db Only run assertion checks in DEBUG builds. (Bug 472557) r=Waldo,bsmedberg 2009-01-13 11:50:40 -08:00
Mook
d1f50982c8 Bug 472063 - mingw build failure: undefined reference to 'WinMain@16' in windbgdlg.cpp, r=neil, sr=bsmedberg 2009-01-12 21:43:35 -08:00
Benjamin Smedberg
54de57c5d0 Bug 463642 - Safe mode should disable JIT, r+sr=jst
--HG--
rename : toolkit/xre/nsIXULRuntime.idl => xpcom/system/nsIXULRuntime.idl
2009-01-12 11:05:10 -05:00
Phil Ringnalda
f4e117542a Can not aquire, or even acquire, anything other than a CLOSED TREE 2009-01-11 17:42:29 -08:00
Peter Weilbacher
cac12268be [OS/2] Bug 472753: fix OS/2 build break in nsComponentManager.cpp by adding necessary defines to the os2.h include in nsLocalFileOS2.h (fix suggested by Walter Meinl)
(OS/2 only, so does not affect a CLOSED TREE)
2009-01-11 14:19:00 +01:00
L. David Baron
e84f7f11b1 Add ability to mark JSDHashTable/PLDHashTable as immutable and thus prevent RECURSION_LEVEL assertions from firing due to lookups racing on multiple threads. (Bug 469004) r=brendan,mrbkap 2009-01-10 08:28:16 -08:00
L. David Baron
ef141b8d52 Synchronize pldhash with recent changes to jsdhash by rerunning through plify_jsdhash.sed. 2009-01-10 08:28:16 -08:00
Robert O'Callahan
0a88efce86 Bug 462593. Add nsPtrHashKey<T> to XPCOM. r=bsmedberg 2009-01-09 13:12:33 +13:00
L. David Baron
1c70e13d0d Expose the number of assertions since process start from XPCOM. (Bug 472557) r=bsmedberg 2009-01-08 13:50:21 -08:00
Benjamin Smedberg
cd5512efb5 Bug 463289 - nsNativeModuleLoader doesn't protect its internal data structures, and is accessed on multiple threads (symptom is RECURSION_LEVEL assertions in pldhash.c). This patch is the simple-but-slow path: proxy all non-main-thread requests to the main thread. This is probably sufficient because asking for modules is a relatively rare activity: the component manager caches the factory objects after a lookup, r=brendan
--HG--
extra : rebase_source : 3118096536b6271886d5c35a3486bb278dc0fd86
2008-11-26 14:39:36 -05:00
Taras Glek
5c08797a3f Bug 471087. Kill nsIDKey. r=bsmedberg
--HG--
extra : rebase_source : 9d60a541863c545101417cf00a11cb9ceda70a09
2009-01-08 21:43:07 +13:00
Sergey Yanovich
a9bc176a99 Bug 462497. Don't reacquire a monitor in nsComponentManagerImpl::HashContractID that we already hold. r=bsmedberg
--HG--
extra : rebase_source : 5a024be37b8d28025f24b207d9622c1b597daea0
2009-01-08 21:41:55 +13:00
timeless@mozdev.org
cdbe2c72aa Bug 470595 - crash [@ strlen - nsComponentManagerImpl::IsContractIDRegistered], r=bsmedberg 2009-01-07 20:42:15 -08:00
L. David Baron
add2ce5a81 Add nsTArray<E>::TruncateLength, which is like SetLength, except only allows shortening of the array. (Bug 191448) r=bsmedberg 2009-01-06 15:21:00 -08:00
Benjamin Smedberg
720c4f5577 Bug 472348 - Some unused variables found by combing the warning database, rs=bz 2009-01-06 14:25:58 -05:00
Taras Glek
bd7706c891 Bug 470859: speed things up by getting rid of dead nsID callsites r=bsmedberg 2009-01-05 14:48:25 -08:00
timeless@mozdev.org
019a5db754 Bug 444918 - Crash when closing epiphany [@ NS_HasPendingEvents_P] ifndef MOZILLA_INTERNAL_API, r=bsmedberg 2009-01-04 10:59:17 -08:00
Robert O'Callahan
50bd83420a Bug 469247. Implement 'canPlayType' API for video/audio elements. r=doublec,r+sr=bzbarsky
--HG--
extra : rebase_source : 06b14571546a763ee4f4b8641e8582bfff2caf8d
2008-12-17 15:11:07 +13:00
Taras Glek
473fa7beeb Bug 465128 - .autoreg timestamp problems (component registration owns startup time); Ignore autoreg if timestamps are screwy; r=benjamin 2008-12-13 17:04:06 +01:00
Makoto Kato
1bfe451582 Bug 434989 - patch for FreeBSD 8-current (and after 7.0). r/sr=benjamin, patch by okazaki@kick.gr.jp 2008-12-13 10:18:09 +09:00
Robert Sayre
1afdec58da Merge tm to m-c. 2008-12-11 15:17:58 -08:00
Benjamin Smedberg
8e93542d35 Bug 469072 - Annotations in XPCOM, and a couple related code fixups, to make outparams spit out useful warnings, r=bent 2008-12-11 15:13:52 -05:00
Brad Lassey
54cfb1894f Bug 455381 - WinCE XPCOM Explicit Unicode API Calls, Wide Char CheckVersion Function nsCommonProcess changes. relanding after backout. r=bsmedberg 2008-12-11 11:50:24 -08:00
Robert Sayre
a724b3875f Merge m-c to tracemonkey 2008-12-10 15:40:30 -08:00
Steven Michaud
376bb811ac Avoid crashing on non-fatal Objective-C exceptions caused by a 10.4-only Apple bug. b=461381 r=josh sr=roc 2008-12-10 15:42:00 -06:00
arno renevier
a66a8a6600 Bug 460295 - nsRefPtrHashtable.h belongs to sdk and includes nsAutoPtr.h which does not; r=benjamin sr=dveditz 2008-12-10 15:17:14 +01:00
Benjamin Smedberg
e8ea9cf02d Merge mozilla-central into tracemonkey, specifically to pick up bug 467579. 2008-12-09 21:37:35 -05:00
Benjamin Smedberg
829d712e59 Disable the outparams warning "written on NS_FAILED"... we should focus first on the "not written on NS_SUCCEEDED" warnings, which are generally more serious. No bug, NPODB, CLOSED TREE a=johnath 2008-12-09 17:34:48 -05:00
Benjamin Smedberg
893f114acb Bug 468717 - enable static analysis for js/src, r=jorendorff
--HG--
rename : xpcom/analysis/static-checking.js => config/static-checking.js
rename : xpcom/analysis/string-format.js => config/string-format.js
rename : xpcom/analysis/static-checking.js => js/src/config/static-checking.js
rename : xpcom/analysis/string-format.js => js/src/config/string-format.js
rename : xpcom/analysis/jsstack.js => js/src/jsstack.js
2008-12-11 11:40:04 -05:00
Neil Rashbrook
84fcb0c547 Bug 468002 Really make windbgdlg a Unicode application r=blassey sr=bsmedberg 2008-12-05 21:30:17 +00:00
Makoto Kato
85d99e9dad Bug 447946 - Crash anywhere with optimize on x64 Windows build due to alignment. r/sr=benjamin 2008-12-04 21:38:12 +09:00
Jeff Walden
6fd6a6f04e Bug 397227 - So the first failure is fixed, but now a Windows box is acting up, so let's try an obvious fix. r=redness, whose patience is being severely tested 2008-12-04 01:13:14 -08:00
Jeff Walden
f9ce0e9aa7 Bug 397227 - Reduce the effort needed to write C++ tests. r=ted 2008-12-03 22:25:00 -08:00
Neil Rashbrook
26a4bc8c33 Bug 467779 IsDebuggerPresent doesn't need to be dynamically loaded any more r=bsmedberg 2008-12-04 00:18:28 +00:00
Gavin Sharp
b6d9f233d4 merge backout of ce8fbd7d222e for bug 455381 2008-12-03 18:51:29 -05:00
Gavin Sharp
23c1b2d6fe backout changeset ce8fbd7d222e from bug 455381 to fix windows unit test bustage 2008-12-03 18:49:54 -05:00
Benjamin Smedberg
cfb7d3a3c4 When operator new is used on a class with no constructor it generates an AGGR_INIT_EXPR, not a CALL_EXPR... with testcase. NPODB, static-checking only. 2008-12-03 11:49:54 -05:00
Benjamin Smedberg
6925784a52 I switched the stack checker to emit warnings instead of errors. Update the testcases expected results to match. 2008-12-03 11:49:54 -05:00
Brad Lassey
286dc1da9e Bug 455381 - WinCE XPCOM Explicit Unicode API Calls, Wide Char CheckVersion Function nsCommonProcess changes r=bsmedberg 2008-12-03 08:41:12 -05:00
Brad Lassey
4342224fbe Bug 455381 - WinCE XPCOM Explicit Unicode API Calls, Wide Char CheckVersion Function r=bsmedberg 2008-12-03 08:41:12 -05:00
Olli Pettay
31da68d393 Trying to fix random orange, backing out Bug 463289, 2008-12-03 15:26:59 +02:00
Benjamin Smedberg
69b2ad97cb Merge bug 466492, bug 466486, bug 463289, bug 442012, and bug 463420 2008-12-02 14:08:12 -05:00
Brad Lassey
c217f58544 Bug 461859 - windows mobile minor cleanup of xpcom r=bsmedberg 2008-12-03 08:42:03 -05:00
Benjamin Smedberg
9263d3fc6f Change the stack-class analysis to a warning instead of an error, at least temporarily: the analysis was buggy when originally landed, and there are some heap-allocated autostrings outstanding through the tree. 2008-12-01 13:59:58 -05:00
Josh Aas
7fe11ffa84 comment and whitespace cleanup for Mac OS X filesystem code. no bug. 2008-11-28 13:37:40 -05:00
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
Benjamin Smedberg
32cd05bc7d Bug 463289 - nsNativeModuleLoader doesn't protect its internal data structures, and is accessed on multiple threads (symptom is RECURSION_LEVEL assertions in pldhash.c). This patch is the simple-but-slow path: proxy all non-main-thread requests to the main thread. This is probably sufficient because asking for modules is a relatively rare activity: the component manager caches the factory objects after a lookup, r=brendan 2008-11-26 14:39:36 -05:00
Benjamin Smedberg
0c8ea59022 Bug 442012 - Allocating more than 2GB of memory in mozilla is never a good idea. On 64-bit systems PRSize and size_t are 64-bit and so truncation from PRSize to PRUint32 could cause weird behavior errors. Prevent these huge allocations. r=wtc sr=dveditz 2008-11-26 14:38:53 -05:00
Daniel Veditz
2a977ae2d8 bug 464998 - r+sr=bsmedberg, a=beltzner 2008-11-19 11:55:59 -05: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
Karl Tomlinson
112ef7208d b=461087 provide templates for automatically-releasing handles to foreign resources, r=bsmedberg 2008-11-06 11:13:37 +13:00
Phil Ringnalda
bbe7e1d08a Bug 461888 - Remove unused PACKAGE_FILE and PACKAGE_VARS and .pkg files, mozilla-central part, r=bsmedberg 2008-11-03 19:46:28 -08:00
Peter Van der Beken
e743beb9c4 Fix for bug 457897 (Remove QI on 'this' object when calling from JS to C++). Patch by jorendorff and me, r/sr=jst. 2008-11-03 11:31:47 +01:00
Walter Meinl
52dd0fc6f0 Bug 454097 - [OS/2] get rid of VisualAge in configures; <nsFileSpecOS2.cpp> leftover; r=mozilla 2008-11-02 19:02:25 +01:00
Dave Townsend
d13a725406 Bug 455906: Support severities for blocklist entries. r=robstrong, r=jst
--HG--
rename : toolkit/mozapps/extensions/content/list.xul => toolkit/mozapps/extensions/content/blocklist.xul
rename : toolkit/mozapps/extensions/public/nsIBlocklistService.idl => xpcom/system/nsIBlocklistService.idl
2008-11-02 12:13:48 +00:00
Dave Townsend
d81de86f28 Backed out changeset bbccbf2c7456 2008-11-02 03:27:18 +00:00
Dave Townsend
f6b515d08c Bug 455906: Support severities for blocklist entries. r=robstrong, r=jst
--HG--
rename : toolkit/mozapps/extensions/content/list.xul => toolkit/mozapps/extensions/content/blocklist.xul
rename : toolkit/mozapps/extensions/public/nsIBlocklistService.idl => xpcom/system/nsIBlocklistService.idl
2008-11-02 01:34:45 +00:00
Dave Townsend
719a03bd19 Bug 461594: Interfaces changed without iid updates. r=josh, r=jst 2008-10-31 10:31:43 +00:00
Steve Snyder
57532e4748 Bug 410509 - Set 128-bit alignment for stack in x86, r=bsmedberg 2008-10-30 10:08:42 -07:00
Josh Aas
074998c2bd back out changeset 47259b642835, b=456662 2008-10-28 17:00:32 -07:00
Josh Aas
33e979243d bug 456662 bustage fix, remove reference to MoreFiles 2008-10-28 16:10:09 -07:00
Josh Aas
6852fb9eee Optimizations and 64-bit work for Mac OS X filesystem code. b=456662 r=smichaud sr=dougt 2008-10-28 12:15:56 -07:00
Dave Townsend
9a9dc5395e Bug 461770: Fix line numbers for methods and attributes and other miscellaneous bits in the idl parser. r=bsmedberg 2008-10-28 09:04:41 +00:00
Daniel Veditz
90dbbefb64 bug 455987 crash fix, r/sr=bsmedberg 2008-10-24 16:15:33 -07:00
Benjamin Smedberg
1de5c15668 Bug 460999 - Generate inheritance graphs for the base of the string hierarchy and upload them to MDC with image maps r=jorendorff 2008-10-24 16:29:33 -04:00
Jason Orendorff
b7fb9bc849 Bug 460865 - Read barrier for cx->fp. r=mrbkap, r=dmandelin.
--HG--
extra : rebase_source : 19963188b2f9f96336ce6ca28dbaefccf3a639b7
2008-12-09 10:38:32 -06:00
Dmitry Potapov
7214c98ab9 Bug 412610 - "MAXPATHLEN too small for glibc's realpath()" (define MAXPATHLEN as PATH_MAX when PATH_MAX is available) [r=bsmedberg] 2008-10-20 22:55:57 -05:00
Mike Hommey
9c726ea5c9 Bug 435088 - "Check .autoreg in the GRE directory, too" [r=bsmedberg] 2008-10-20 22:23:45 -05:00
Mike Hommey
cbbe74e9c0 Bug 434503 - "m68k xptcstubs/xptcinvoke fail to build on trunk" [r=bsmedberg] 2008-10-20 22:22:27 -05:00
Mike Hommey
8115570fad Bug 258429 - "Crash at startup on mips" [sr=bsmedberg] 2008-10-20 21:31:13 -05: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
Brad Lassey
dbe8393bf5 Bug 458252: local file paths are wrong on windows mobile r=dougt sr=bsmedberg 2008-10-20 13:03:20 -04:00
Walter Meinl
a04b09093c Bug 454097 - [OS/2] get rid of VisualAge in configures; m-c part; r=mozilla 2008-10-11 03:01:28 +02:00
Mike Hommey
d4ff8b856e Bug 440506 - Add a globally shared location for plugins; r=joshmoz sr=jst 2008-10-10 17:54:33 +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
Zack Weinberg
d55493eb24 Bug 459158 - XPT files contain wasted space when written on a machine with 64-bit pointers; r=benjamin 2008-10-10 16:53:05 +02:00
Ben Turner
cb9c51cb1f Backed out changeset 2bbdbe2127d3 due to hanging unit tests. 2008-10-09 12:23:22 -07:00
Josh Aas
73a055d8ee Get rid of flawed Windows stat cache. b=456603 r=smichaud sr=dougt 2008-10-09 13:52:08 -04:00
Benjamin Smedberg
db0bdeafc2 Bug 458755 - Automated documentation of string classes on MDC using static analysis, r=taras 2008-10-09 12:34:33 -04:00
Doug Turner
59512b44b6 backing out the top level comment line to its orig state 2008-10-08 21:25:11 -07:00
Doug Turner
c0f3061262 removing erronous change to nsLocalFileWin 2008-10-08 21:22:21 -07:00
John Wolfe
feab1c83a3 Bug 436531 - asmXPTC_InvokeByIndex Bogus Return Value in WinMobile builds. sans test cases. r=blassey 2008-10-08 21:17:11 -07:00
Doug Turner
7601be8c85 Backed out changeset 7e5d581bc86d 2008-10-08 21:10:25 -07:00
wolfe@lobo.us
d705e2e90f Bug 436531 - asmXPTC_InvokeByIndex Bogus Return Value in WinMobile builds. r=bsmedberg/dougt 2008-10-08 20:57:38 -07:00
Doug Turner
996fd0f708 Bug 458917 - Windows CE Cleanup. r/sr=stuart+bsmedberg 2008-10-08 20:51:54 -07:00
Josh Aas
8097f27218 Backed out changeset 4a461b03f6ae, b=456603 2008-10-08 01:32:04 -04:00
Josh Aas
b0da2fc34b Get rid of flawed Windows stat cache. b=456603 r=smichaud sr=dougt 2008-10-07 23:18:05 -04:00
Josh Aas
e877a4f430 Don't incorrectly change permissions on link target in SetPermissionsOfLink in unix fs code. Just don't do anything for changes targetting links. b=457487 r=smichaud sr=dougt 2008-10-07 21:26:41 -04: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
9d1b7dd56f Bug 438331 - Remove WIN16 (support) code everywhere; (Av1) </xpcom/*>; r+sr=benjamin 2008-10-08 02:21:13 +02:00
Daniel Holbert
72c410a648 Bug 458167 - (comments-only changes) Grammar Nazi Vol1: s/it's/its/ for the posessive version of the word, and a few other misc comment-typos, in these directories: accessible browser config profile rdf toolkit tools xpcom xpfe 2008-10-01 23:49:45 -07:00
Hiroyuki Ikezoe
f6374e5a2c Bug 451506 - "The return values of PR_Seek64 and PR_Available64 should be checked in FileImpl::Seek or else file corruption will occur" [r=benjamin sr=neil a=dveditz] 2008-10-01 00:10:37 -05:00
Hiroyuki Ikezoe
00ce111e7d Bug 451139 - "The return value of read() function should check in nsRandomAccessInputStream::readline instead of invoking failed()." [r=brendan sr=bsmedberg]
Index: xpcom/obsolete/nsFileStream.cpp
===================================================================
RCS file: /cvsroot/mozilla/xpcom/obsolete/nsFileStream.cpp,v
retrieving revision 1.5.28.1
2008-10-01 00:06:04 -05:00
Robert O'Callahan
a5b355c436 Fixing filename case bustage 2008-10-01 14:17:15 +13:00
Jonas Sicking
6f2a7e0f6b Update Access-Control implementation to match changes in spec. b=389508 r/sr=jst 2008-09-30 17:50:42 -07:00
Ted Mielczarek
186ad7b2dc bug 455512 - xpt_link produces different output for dom_events.xpt on the two halves of a mac universal build on a ppc host. change the handling of duplicate unresolved interfaces slightly to prefer unresolved interfaces with non-zero IIDs. r=bsmedberg 2008-09-30 13:53:38 -04:00
Josh Aas
d801805b7e Get rid of fundamentally flawed UNIX stat cache. b=456435 r=smichaud sr=dougt 2008-09-30 02:06:18 -04:00
Henry Jia
2b7c0d663c Bug 178189 - |nsCOMPtr|: do we still care about VC++4.2? and if not, can we remove this comment; r=(scc + benjamin) 2008-09-29 00:17:30 +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
Josh Aas
b7e93895fb Remove a lot of dead Mac code. Part of bug 456662. sr=pinkerton 2008-09-25 12:23:33 -04:00
Ted Mielczarek
086eaca58f bug 455503 - better tests for nsIMutableArray. r=bsmedberg 2008-09-22 06:41:55 -04:00
Josh Aas
4eb4f3ba2a Get rid of FSRef cache on Mac OS X as it can't invalidate correctly in the face of changes outside the current nsLocalFile object. Fixes local page reload issues, probably other stuff. b=455828,322686 r=mstange sr=dougt 2008-09-19 15:50:41 -04:00
Benjamin Smedberg
31cc134e02 Remove the v1 string ABI compatibility hacks. Replace references of nsTAString_CharT with nsTSubstring_CharT which is the new base class. r=dbaron 2008-09-19 11:07:22 -04:00
Ryan VanderMeulen
950f98985d Bug 337890 - please spell formater formatter; mozilla-central part; r=timeless 2008-09-12 18:24:14 +02:00
Jesse Ruderman
9b6ab3d11b Fix a regression from my patch for bug 445999 in the self-assignment case. 2008-09-10 16:23:00 -07:00
Robert Kaiser
2c0122f06d bug 451601 - kill MOZILLA_LOCALE_VERSION, main mozilla-central patch to kill xpfe-style chrome versions, r=ted sr=Neil 2008-09-11 01:08:57 +02:00
Jesse Ruderman
79639ae449 Fix bug 445999, nsCStringArray::operator= leaks all strings that were in the destination array. r=bsmedberg 2008-09-10 15:02:06 -07:00
Taras Glek
30aa910a7e bug 432917: MUST_FLOW_THROUGH static check. r=bsmedberg 2008-09-08 11:01:22 -07:00
Ginn Chen
b807ca4816 Bug 440714 use -xldscope for Sun Studio on Solaris r=vladimir,benjamin sr=benjamin 2008-09-08 14:21:07 +08:00
Arpad Borsos
534fd11101 Bug 443058 - Remove MOZ_DECL_CTOR_COUNTER; <mozilla-central> part; r=benjamin 2008-09-07 00:04:10 +02:00
Arpad Borsos
d68db2352e Bug 451477 - NS_INTERFACE_TABLE_INHERITED10 defined twice; r=benjamin 2008-09-06 23:47:54 +02: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
Doug Turner
aa344f7ce1 Bug 452489 - Fixes OOM predicate on OSSO to use the high water mark. r=bsmedberg 2008-09-05 17:21:36 -07: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
Steven Michaud
ee0b7d60b4 Don't crash on Objective-C exceptions in hooked [NSWindow sendEvent:] method. b=442245 r=josh sr=roc 2008-09-04 11:08:30 -05:00
Boris Zbarsky
764231c2b9 Bug 439206. Make sure to not skip over the next char after the high surrogate when we have a missing low surrogate. r+sr=jst 2008-09-04 11:13:54 -04:00
Benjamin Smedberg
1f0b41e64a Fix stupid static-checking-only typo 2008-09-04 10:51:06 -04:00
Doug Turner
c6bfec0616 Backed out changeset 04a28fb0458b 2008-09-03 23:19:34 -07:00
Doug Turner
973fa4dd00 Bug 452489 - clean up nsMemoryImpl for OOM issues. r=bsmedberg 2008-09-03 16:06:23 -07:00
Benjamin Smedberg
71120220a3 Bug 453349 - stack-only checker skips conditional blocks, r=dmandelin 2008-09-03 13:00:13 -04:00
Benjamin Smedberg
9bd2bab8dd Bug 453343 - Print more complete error messages that trace the base classes and members that cause a particular class to be stack-only, r=dmandelin 2008-09-03 13:00:13 -04:00
Benjamin Smedberg
89e10926d5 Bug 453341 - Allow stack checking to be suppressed per-function, r=dmandelin sr=jst 2008-09-03 13:00:12 -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
Vlad Sukhoy
6092d34ccf bug 449463: make outparams more gcc42-compatible. r=dmandelin 2008-09-02 12:24:34 -05:00
Doug Turner
928a6b8a25 Backed out changeset 6b6054736cb2 2008-09-01 19:50:59 -07:00
Doug Turner
0a1ab2b3e9 bug 452489 - removes the flusher timer and fixes osso low memory predicate. also fixes OSSO oom predicate. r=bsmedberg 2008-09-01 17:40:15 -07:00
Jason Orendorff
4b74677d5e Bug 407216 - DOM quick stubs - faster paths for top N DOM methods (r+sr=jst, security r=mrbkap, build r=bsmedberg)
* * *
* * *
* * *
2008-08-19 21:38:24 -05:00
Josh Aas
83f26bfaf1 Include obj-c exception info in crash reports. b=451709 r=ted r=bent sr=roc 2008-08-28 00:41:38 -04:00
Benjamin Smedberg
a28cb29d53 Bug 445570 - Mark CSSToken::mIdent heap autostring as we-know-what-we're-doing, r=dbaron 2008-08-27 10:58:50 -04:00
Boris Zbarsky
21251ac0c5 Bug 449233. Assert when decrementing the jsdhash/pldhash recursion level past 0. r=dbaron,brendan, sr=dbaron 2008-08-26 13:02:04 -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
Justin Wood
8908acde59 Bug 287282, Code Cleanup and Possible Perf Increase in xptiInterfaceInfoManager::BuildFileList
r=dbradley
2008-08-24 21:09:23 -04: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
Dave Camp
6894c21478 Backed out changeset 2e3d61018e3d (Bug 436531) 2008-08-20 00:37:01 -07:00
John Wolfe
017e6e0045 Bug 436531 - "asmXPTC_InvokeByIndex Bogus Return Value in WinMobile builds" [r=bsmedberg] 2008-08-20 01:29:33 -05:00
Jason Orendorff
f9365c3994 Backing out changeset cf6c811e1272 (bug 407216) due to debug assertions. 2008-08-19 22:28:26 -05:00
Jason Orendorff
fe99024391 Bug 407216 - DOM quick stubs - faster paths for top N DOM methods (r+sr=jst, security r=mrbkap, build r=bsmedberg)
* * *
* * *
2008-08-19 21:38:24 -05:00
David Mandelin
8c7d60a450 Bug 451079: allow setting outparams to null on failure 2008-08-19 11:17:13 -07:00
Joe Drew
e4a9682ed2 Bug 449543 - nsExpirationTracker's Iterator doesn't work properly, r=roc a=bsmedberg 2008-08-19 10:27:28 -04:00
Michal Novotny
2395826de0 Bug 367736 - make nsEscape more efficient and clean up some signed/unsigned issues to prevent theoretical overflow, r=bsmedberg+dveditz 2008-08-19 09:57:12 -04:00
Serge Gautherie
40cd5f1a4e Bug 448934 – |nsTraceRefcnt::DumpStatistics()| write number of entries in the "middle" of the array
(Av1) <nsTraceRefcntImpl.*>
2008-08-03 23:39:04 +02:00
Serge Gautherie
36cdbd9d08 Bug 410708 – Compiler warning in nsUTF8Utils.h
(Av2) Use char notation
2008-08-09 04:36:52 +02:00
Benjamin Smedberg
d73764a61e Bug 451079 - Setting an outparam to NULL is just too common to consider an actionable warning. Disable it, probably permanently, r=dmandelin 2008-08-18 15:41:31 -04:00
Uli Link
d3623a5d74 Bug 445951 - missing keyword 'public' in xpcom/glue/nsAutoLock.h, r=bsmedberg 2008-08-18 20:39:19 +02: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
Boris Zbarsky
7bbf8f47d3 Bug 265534. Take some string constructors out of line to reduce codesize. r=bsmedberg, sr=dbaron 2008-08-18 11:40:49 -04:00
Robert O'Callahan
1499813be0 Bug 118704. Get the document title from the DOM instead of storing it in the document object. Relanding with hopeful leak fix. r+sr=jst 2008-08-18 14:10:28 +12:00
Robert O'Callahan
65a0e17d1b Backing out bug 118704 to try to fix Windows leak orange 2008-08-16 23:27:40 +12:00
Robert O'Callahan
21fbc52690 Bug 118704. Get the document title from the DOM instead of storing it as a string in the document. r+sr=jst 2008-08-16 21:01:52 +12:00
Ben Turner
fd62775c3a Bug 449885 - "Threadpool calls shutdown on its threads twice when shutdown called on the threadpool". r=bsmedberg. 2008-08-14 12:04:31 -07: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
Aaron Nowack
2cbabc4311 Bug 224692 - Downloaded files don't inherit NTFS properties... on nsILocalFile.moveTo use the NTFS permissions inherited from the new folder, instead of keeping permissions from the old location, 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
Neil Rashbrook
9d850c9502 Bug 447593 Crash [@ NS_NewAtom] r=bsmedberg 2008-08-11 21:26:40 +01: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
Benjamin Smedberg
16d48cecb4 mozilla-central followup for bug 449075 - bases.type intead of bases to match the new schema 2008-08-07 16:12:49 -04:00
Ben Turner
017866e617 Bug 445828 - "Trying to re-init a TYPE_REPEATING_SLACK timer causes it to be added to timer thread twice". r=brendan. 2008-08-08 12:15:05 -07:00
Mike Hommey
ea248b175e Bug 278738 – file:// directory not shown containing a file larger than 2GB. r=bsmedberg 2008-08-06 13:09:44 +02:00
Robert O'Callahan
0ef073a5f5 Whitespace change to effectively clobber orange Windows test boxes 2008-07-30 09:55:13 -07:00
Marco Pesenti Gritti
dfd83f84c5 Make sure that nsString and nsString_external are the same size. b=430581 r=benjamin 2008-07-30 08:06:54 +02:00
Benjamin Smedberg
9961c9eb16 Bug 445853 - Add namespaces to various tests: these tests share a class name with other tests, which makes XPCOMGC rewriting very confused. r=biesi 2008-07-27 21:09:10 -04:00
Ted Mielczarek
ac4c1af59a bug 444103 - add ability to add string-formatted notes to crash report. r=bsmedberg 2008-07-27 13:08:03 -04:00
Ted Mielczarek
bda51179a0 Backed out changeset 297420bcddde (accidentally committed) 2008-07-25 16:58:40 -04:00
Ted Mielczarek
13c3031570 bug 444103 - add ability to add string-formatted notes to crash report 2008-07-25 16:54:41 -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
f7bdef7d4a Bug 443874 - "Need a hook for thread creation and destruction in thread pool". Forgot to bump the uuid of nsIThreadPool. 2008-07-24 11:55:23 -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
Bernd
8346cb9495 limit mathml row- and colspans as we do for html bug 443089 r/sr=bzbarsky 2008-07-16 17:02:18 +02: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
555c5a736a Bug 444565: fix scalability of outparams.js with new treehydra 2008-07-10 15:47:25 -07:00
David Mandelin
86d7eb2610 Bug 444409: outparams.js was trying to analyze 'this' as an outparam for strings, r=bsmedberg 2008-07-09 18:24:57 -07:00
David Mandelin
b0ead79f2e Bug 443205: fix for bug in error reporter in outparams.js, r=bsmedberg via irc 2008-07-09 11:48:59 -07: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
45ce356864 Bug 433939: update outparams.js for Treehydra update, r=bsmedberg 2008-07-09 10:33:43 -07:00
Jesse Ruderman
b40e4a8578 Fix spelling error in a log message (bug 443520). 2008-07-05 18:09:24 -07:00
David Mandelin
cd55c6b951 Bug 442968: fix small bug with void returns in outparams.js, r=bsmedberg 2008-07-01 15:31:10 -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
ad5184c756 Bug 442757 - nsProxiedService is a stack class, r=bent 2008-07-01 15:26:37 -04:00
Benjamin Smedberg
661d482695 Bug 442968 - Format outparams warnings in a more standard GCC way, so that things like compilation-mode can linkify the locations, r=dmandelin 2008-07-01 14:26:28 -04:00
Benjamin Smedberg
c0155dfb6a Fix whitespace (hard tabs) 2008-06-30 15:35:11 -04:00
Benjamin Smedberg
4982bf049a Bug 442714 - Mark NS_STACK_CLASS on nsAutoString, r=dbaron 2008-06-30 14:46:47 -04: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
Ben Turner
de0ede1dc2 Bug 435122 - "Use TraceMalloc to get stack traces of potential deadlocks". r=bsmedberg+dbaron. 2008-06-26 10:12:42 -07:00
Robert O'Callahan
c29eac2bf6 Bug 344258. Move ID-content map up from nsHTMLDocument to nsDocument to prepare for using it across all document types. r+sr=jst 2008-06-23 11:12:40 +12:00
Peter Van der Beken
c993fed597 Address review comment for bug 423471 - Cycle collection shouldn't fault when traversing script objects of languages that don't participate. r/sr=dbaron. 2008-06-21 19:47:46 +02:00
Peter Van der Beken
b222a800ca Bug 423471 - Cycle collection shouldn't fault when traversing script objects of languages that don't participate. r/sr=dbaron. 2008-06-21 17:25:29 +02:00
"Doug Turner ext:(%22)
30df99659b Removing Minimo references. b=405705, r=ted 2008-06-16 13:57:42 -07:00
Benjamin Smedberg
e7ec955d4f Bug 437647 - Dispatch outparams and other analyses explicitly, so it's easier to add various analyses, r=dmandelin 2008-06-06 15:31:11 -04:00
David Mandelin
490129ee06 Bug 433939: updating outparams check for latest Treehydra, r=bsmedberg 2008-06-05 11:21:29 -07:00
Jeff Walden
71119aeb18 Bug 429930 - NS_ABORT_IF_FALSE lies and doesn't abort if the given condition is false, making it exactly equivalent to NS_ASSERTION. Make it abort so we can use it when we really want a fatal assertion, if only the NS_ASSERTION macro implemented it. r+sr=shaver 2008-06-04 22:24:05 -04:00
Vladimir Vukicevic
5d96d72656 b=426563, put arm xptstubs shared assembly correctly in text section; r=bsmedberg 2008-06-03 17:01:32 -07:00
Sudheer Kumar Peddireddy
18c18ceba1 Increase the initial sizes of hash tables that are guaranteed to grow. b=432633 r=dbaron 2008-06-03 15:25:31 -07: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
Jeff Walden
156d2236a0 Bug 429587 - MOZ_COUNT_DTOR and NS_LOG_RELEASE should assert (or worse) when used on an unrecognized pointer, when possible, for easier recognition of memmoved refcounted classes. r=dbaron 2008-06-02 21:28:59 -04:00
Jeff Walden
da5379b6cd Bug 434076 - Give me stack traces and give me death! (aborts should print a stack trace before aborting) r=dbaron 2008-06-02 19:18:57 -04:00
Benjamin Smedberg
3ea5b08766 Merge cvs-trunk-mirror to mozilla-central up through FF3RC2build2
--HG--
rename : js/src/jsinterp.c => js/src/jsinterp.cpp
rename : js/src/jsparse.c => js/src/jsparse.cpp
2008-05-30 12:08:47 -04:00
gavin@gavinsharp.com
01f06ef659 Bug 422055: use jemalloc on Solaris, r=ted, a=shaver 2008-05-28 11:42:31 -07:00
David Mandelin
786fbfba8a Bug 434839: outparams state explosion on functions with many outparams, r+a=bsmedberg 2008-05-22 10:59:02 -07:00
David Mandelin
7364d5d950 Bug 433939: update outparams for latest Treehydra revision 2008-05-20 11:28:00 -07: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
Benjamin Smedberg
2a99c5e4ae Bug 431677 - outparam errors in netwerk/cookie, r=dmandelin 2008-05-01 15:12:33 -04:00
David Mandelin
e2ac3c1005 Bug 420933: outparams checker, r=bsmedberg, a=bsmedberg 2008-04-30 17:47:27 -07:00
Benjamin Smedberg
5337262e90 Merge cvs-trunk-mirror to mozilla-central. No manual conflict resolution was necessary.
--HG--
rename : js/src/jsdbgapi.c => js/src/jsdbgapi.cpp
rename : js/src/jsfun.c => js/src/jsfun.cpp
rename : js/src/jsinterp.c => js/src/jsinterp.cpp
rename : js/src/jsopcode.c => js/src/jsopcode.cpp
2008-04-30 12:35:19 -04:00
mozilla@weilbacher.org
67aad99402 Bug 369007: Enable high-memory feature on OS/2 by default (Mozilla changes), r=ted.mielczarek, a1.9+=damons 2008-04-30 00:30:58 -07:00