Commit Graph

914 Commits

Author SHA1 Message Date
Boris Zbarsky
e2f2108d1c Adding test for nsTObserverArray 2009-06-09 22:57:41 -04:00
Benjamin Smedberg
e01f5a8eda Bug 496969 - The stack analysis is broken when compiling with -O3 -fstrict-aliasing. 2009-06-08 18:03:23 -04:00
Benjamin Smedberg
c6d706191a Bug 489273 - debug+libxul build broken on Windows, r=ted 2009-05-22 11:13:53 -04:00
L. David Baron
9352e9341e Correct comments to reflect that bug 460695 landed on 1.9.1.
--HG--
extra : transplant_source : %DBPU%C0M%FF%AEP%3Ae%0A%7DW%23%5E%D5%A9r%A6%1A
2009-05-20 16:04:39 -04:00
Benjamin Smedberg
cef8a68e25 Bug 492948 - Windows XULRunner stub can't discover the GRE anymore, due to using NS_ConvertUTF8toUTF16 before having loaded XPCOM, r=blassey 2009-05-20 17:00:45 -04:00
Josh Aas
f6225a28af Make Objective-C exceptions non-fatal by default on Mac OS X. b=486574 r=roc sr=bz 2009-05-20 11:53:24 -04:00
Dave Townsend
99034adf24 Backed out changeset 461d728271d1 2009-05-19 13:51:18 +01:00
Arpad Borsos
584155ddb7 Bug 474369 - get rid of nsVoidArray, remaining parts; r=bz, sr=dbaron 2009-05-07 17:15:26 +02:00
Benjamin Smedberg
02d969acec Fix trace-malloc build bustage from bug 488175... tracemalloc/nsTraceMalloc.h is no longer 2009-05-18 14:32:00 -04:00
Benjamin Smedberg
bb1c33c4ea Bug 488175 - flatten dist/include and provide mechanism to install certain headers in namespaced subdirectories (e.g. #include "mozilla/XPCOM.h") r=ted
--HG--
rename : xpcom/ds/nsTimeStamp.cpp => xpcom/ds/TimeStamp.cpp
rename : xpcom/ds/nsTimeStamp.h => xpcom/ds/TimeStamp.h
2009-05-18 14:15:05 -04:00
Hiroyuki Ikezoe
49f6a07a97 Bug 483819. iostream is not needed or wanted in WinCE build. r=bsmedberg 2009-05-18 10:29:54 +12:00
Peter Van der Beken
e267b828d9 Fix for bug 475737 (Windows stay alive too long because nsJSContext doesn't unlink correctly). r=bent, sr=jst. 2009-05-07 11:19:36 -07:00
Peter Van der Beken
3c7951a396 Merge backout. 2009-05-16 16:17:50 +02:00
Peter Van der Beken
d7f8357ac2 Backed out changeset 0c8d4f846be8 (Fix for bug 475737 (Windows stay alive too long because nsJSContext doesn't unlink correctly).) to try to fix Tshutdown regression. 2009-05-16 16:16:55 +02:00
Peter Van der Beken
b865be6ac9 Fix for bug 475737 (Windows stay alive too long because nsJSContext doesn't unlink correctly). r=bent, sr=jst.
--HG--
extra : rebase_source : 459f24ea980bf4cab29bc88115138f6ed5144e49
2009-05-07 11:19:36 -07:00
Boris Zbarsky
cb4004dfeb Bug 482310. Add a JS api to asynchronously copy data to an output stream. r+sr=bsmedberg. 2009-05-07 15:21:54 -04:00
Shawn Wilsher
46166ad09a Bug 489705 - nsRefPtr should be able to forget a base class to a pure virtual interface it inherits from
r=bsmedberg
sr=dbaron
2009-05-07 15:13:18 -04:00
Chris Jones
ae05aca0b1 bug 491462: fix some typos and compiler warnings in deadlock detector. r=bsmedberg 2009-05-14 13:07:30 -07:00
Hiroyuki Ikezoe
2f26e53e88 Bug 490275 - Memory leak in xpcom/glue/standalone/nsGlueLinkingWin.cpp; r=benjamin 2009-05-14 16:17:53 +02:00
Peter Annema
cdddf40767 Bug 487192 follow-up: fix build bustage by adding dummy calls to dlldeps.cpp 2009-05-13 22:38:13 -07:00
Peter Annema
8fd7a3afff Bug 487192: Move both copies of nsWildCard into xpcom. r/sr=bsmedberg
- Clean up white space.
2009-05-13 20:22:54 -07:00
Peter Annema
36ce94740c Bug 487192: Move both copies of nsWildCard into xpcom. r/sr=bsmedberg
- Move nsWildCard.{h,cpp} into xpcom/io.

--HG--
rename : modules/libjar/nsWildCard.cpp => xpcom/io/nsWildCard.cpp
rename : modules/libjar/nsWildCard.h => xpcom/io/nsWildCard.h
2009-05-13 20:22:54 -07:00
Hiroyuki Ikezoe
8afc777241 Bug 488157. Use UTF8 instead of native codepages during startup. r=bsmedberg
--HG--
extra : rebase_source : 22bea59e453f953f3efd43d6d945d9d9fee70ce5
2009-05-13 22:16:45 +12:00
Jeremy Huddleston
fa35f9ee04 Bug 485827. Use FS_LAYOUT instead of OS to make bundling decisions. r=benjamin
--HG--
extra : rebase_source : 9df1bd2a0101b9a8359a5af22ad51aa0620a1165
2009-05-13 22:11:58 +12:00
Phil Ringnalda
423103913e Bug 115334 - Remove long long dead StringFactoring tests, and the last .mcp in mozilla-central in the bargain, r=bsmedberg 2009-05-12 19:50:35 -07:00
Josh Aas
1c14199832 Port xptcall to x86-64 Mac OS X. Patch by Josh Aas and Jason Allum. b=485049 r=bsmedberg
--HG--
rename : xpcom/reflect/xptcall/src/md/unix/xptcinvoke_x86_64_linux.cpp => xpcom/reflect/xptcall/src/md/unix/xptcinvoke_x86_64_unix.cpp
2009-05-06 16:57:37 -04:00
L. David Baron
5efb37b7c1 Make cycle collector's purple buffer consist of entries that the objects in the purple buffer can point to, and remove the notion of scan delay (which was previously set to 0). (Bug 490695) r+sr=peterv r=bsmedberg 2009-05-06 13:46:04 -07:00
L. David Baron
8adbc0edb6 Make it so nsDocument::mPendingTitleChangeEvent doesn't keep the document alive after cycle collection expects it to be destroyed. (Bug 488786) r+sr=jst r=bsmedberg 2009-05-06 13:46:01 -07:00
Benjamin Smedberg
6b716573cb Bug 491550 - Fix TestDeadlockDetector on debug+libxul configurations r=bustage fix 2009-05-06 10:33:58 -04:00
Serge Gautherie
5714e738d6 Bug 482942 - Implement NS_LOCALFILE_DELETE_ON_CLOSE flag for nsILocalFile::OpenNSPRFileDesc; (Cv1) TestHarness.h: s/PRBool/PRUint32/; r=benjamin 2009-05-06 01:11:16 +02:00
Chris Jones
8a3e35ae54 Bug 456272: deadlock detector improvements 2009-05-04 21:57:15 -07:00
Chris Jones
0023bdaa7d Backed out changeset 3deeb3c83c77 2009-05-02 21:13:57 -07:00
Chris Jones
d2b61202f4 Bug 456272: deadlock detector improvements r=brendan 2009-05-02 20:54:05 -07:00
Josh Aas
3c0d1f8196 Backed out changeset 294eaf175b7b 2009-05-02 15:14:47 -07:00
Josh Aas
dd75e12aaf Improve nsIFile's IsFile on Mac OS X, stop using FSGetCatalogInfo. b=491074 r=mstange sr=roc 2009-05-02 12:54:08 -07:00
Josh Aas
1c7a7e4420 Remove setFileTypeAndCreatorFromMIMEType and setFileTypeAndCreatorFromExtension from nsILocalFileMac. b=491099 sr=roc 2009-05-02 11:01:25 -07:00
Josh Aas
6a4414bd1d Improve nsIFile's GetFileSize on Mac OS X, stop using FSGetCatalogInfo. b=491050 r=mstange sr=roc 2009-05-01 21:52:21 -07:00
Josh Aas
ec3f88567a Make nsIFile ::Exists on Mac OS X more efficient, stop using FSRef. b=490870 r=mstange sr=roc 2009-05-01 18:32:38 -07:00
Josh Aas
7d154a6842 Remove workaround for pre-10.2 systems in nsLocalFileOSX, no need to look for CFStringNormalize. b=490959 r=mstange sr=roc 2009-05-01 09:59:33 -07:00
Josh Aas
1fab52b5b5 Backed out changeset cb8262ea787f 2009-04-30 17:01:06 -07:00
Josh Aas
80847b0dcf Improve Mac OS X local file equality testing, stop comparing FSRefs. b=490372 r=mstange sr=roc 2009-04-30 10:08:35 -07:00
Josh Aas
c9da9740e0 Improve nsILocalFile GetDiskSpaceAvailable on Mac OS X, stop using old Carbon APIs. b=490171 r=mstange sr=roc 2009-04-29 23:53:43 -07:00
L. David Baron
a8fbab994c Use the purple buffer in ExplainLiveExpectedGarbage. (Bug 488603) r+sr=peterv 2009-04-24 15:45:34 -07:00
L. David Baron
1d193a2b78 Reverse the meaning of suspectCurrentCount and rename it to expectedGarbageCount. (Bug 488603) r+sr=peterv 2009-04-24 15:45:34 -07:00
L. David Baron
23e03f54d1 When we print warnings about objects that should have been collected, see if they're in the purple buffer and print different warnings if they are. (Bug 488603) r+sr=peterv 2009-04-24 15:45:34 -07:00
Chris Jones
5ef90c82b9 bug 486793: add programmatic control of profiler to xpcom unit tests. r=bsmedberg 2009-04-24 14:47:45 -07:00
Bob Clary
9117b8a501 bug 395651 - crash test by Jesse Ruderman. 2009-04-24 10:08:22 -07:00
Bob Clary
722ce0164d bug 394275 - crash test by Jesse Ruderman. 2009-04-24 10:08:22 -07:00
Josh Aas
b61ee76085 Optimize Mac OS X filesystem time methods. Clean up UNIX time methods wrt LL_ macro usage. b=489015 r=mstange sr=roc 2009-04-23 22:22:20 -04:00
L. David Baron
58c8aff7e0 Back out previous logging patches (92791a422f0a and 5617c22ea9ac) for bug 469514. 2009-04-22 15:21:17 -07:00
Mark Banner
9300a699b2 Bustage fix for bug 489239 2009-04-22 14:41:38 +01:00
Mark Banner
c5d0fd3e1d Bug 489239 - "comm-central windows builds broken by unit test for bug 58904" [r=ted.mielczarek] 2009-04-22 13:28:23 +01:00
Jesse Ruderman
a85b7c9758 Make temporary debug-only logging code not crash. r=sdwilsh 2009-04-21 16:57:19 -07:00
Shawn Wilsher
746d546bc7 Debug-only logging code to track down bug 469514.
r=ted
2009-04-21 11:32:07 -04:00
Jim Mathies
ea6aef8770 Bug 489285 - Disable file attrib tests for Bug 403014 due to unit test failure. 2009-04-21 01:47:54 -05:00
Jim Mathies
704b5a2912 Bug 403014 - Windows "Don't Index" bit set on download files. (r=sdwilsh,dougt) 2009-04-20 20:06:03 -05:00
Chris Jones
0b7ce64dae bug 489135: fix old PRMonitor leak, init debug var in mozilla::Monitor. r=smontagu 2009-04-21 00:33:12 +02:00
Ted Mielczarek
fbff22268d bug 487396 - fix some of the jemalloc windows build madness. r=bsmedberg 2009-04-20 06:56:23 -04:00
Chris Jones
002151e9b2 Bug 58904: Create strong types for synchronization primitives. r=bsmedberg. 2009-04-18 18:54:23 -07:00
Neil Rashbrook
b621259538 Bug 488266 Eliminate xptiInterfaceInfoManagersEnumerator r+sr=bsmedberg 2009-04-17 23:38:11 +01:00
Dave Townsend
5aacfd970c Bug 480427: Remove nsIProcess2 from trunk. r=bsmedberg 2009-04-16 16:46:10 +01:00
Nils Maier
79baf946a3 Bug 389087 - nsILocalFileUnix affected by 32bit stat/statvfs/truncate, therefore does not work with large files; r+sr=benjamin 2009-04-16 14:09:21 +02:00
Arpad Borsos
07dc31e45f Bug 485782 - get rid of nsSupportsArray; r=sicking, sr=bsmedberg 2009-04-14 10:02:58 +02:00
Hiroyuki Ikezoe
1c927ffb50 bug 487174 - Modify nsXULStub to launch from GRE folder on WinCE r=bsmedberg 2009-04-13 22:49:06 -04:00
The Written Word
27bd377e6b Bug 485347 - Update xptcall for ipf32, r=bsmedberg 2009-04-13 11:19:55 -04:00
Neil Rashbrook
4b764649a6 Bug 484309 fixing more allocator mismatches r+sr=bsmedberg 2009-04-11 17:33:52 +01:00
Robert O'Callahan
3b41dc81ee Bug 486991. Add useful operators to TimeStamp/TimeDuration. r=bsmedberg 2009-04-11 21:38:40 +12:00
Andrew Sutherland
bffe34f8ab Bug 487551 - nsTArray.IndexOf may scan beyond array bounds for non-zero start argument. unit test that fails without patch, succeeds with patch. r=bsmedberg 2009-04-10 18:08:08 -07:00
Andrew Sutherland
90c18f2fff Bug 487551 - nsTArray.IndexOf may scan beyond array bounds for non-zero start argument. fix: base 'end' off of Elements rather than iter. r=bsmedberg 2009-04-10 18:08:00 -07:00
L. David Baron
f7ae1d711b Make nsTraceRefcnt use 64-bit counters when those counters are for all objects over app lifetime. (Bug 483500) r=bsmedberg 2009-04-10 13:30:10 -07:00
Peter Van der Beken
5832c7c26e Fix for bug 423473 (Cycle collector should restart after getting a fault). r/sr=jst.
--HG--
extra : rebase_source : fd82c02bef434c36383df0862af2399455caa65b
2009-04-09 14:02:48 +02:00
Josh Aas
5ba0afd55a optimize/modernize Mac OS X toolkit/xre code. b=486733 r=mstange sr=bsmedberg 2009-04-09 20:54:11 -04:00
Josh Aas
48535f072b Minor Mac OS X fs code cleanup, mostly change some member variable names. b=487045 r/sr=roc 2009-04-09 20:46:49 -04:00
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