Commit Graph

1106 Commits

Author SHA1 Message Date
Josh Aas
f0f1c069ce Faster directory enum code for Mac OS X, don't use slow FSRefs. b=506812 r=vlad 2009-07-31 11:17:42 -04:00
Doug Turner
ba55c5e884 Bug 136936 - TestInterfaceInfo is out of date - nsIServiceManager; r=benjamin 2009-07-06 22:09:39 +02:00
Serge Gautherie
9f99b401d6 Bug 430112 - <nsAutoLock.cpp>: 2 "warning: unused variable status"; (Bv1) Split the init to 2 instructions; r=benjamin 2009-07-06 22:01:37 +02:00
Peter Van der Beken
ca8ccf47e0 Fix for bug 482788 (Lightweight DOM wrappers). r=jst, sr=mrbkap. 2009-05-12 22:20:42 +02:00
Josh Aas
dbbc06a937 Rewrite SetFileSize for Mac OS X using POSIX API. b=501307 r/sr=roc 2009-07-05 02:39:04 -04:00
Benjamin Smedberg
812128ba6a Bug 500660 - Don't load XPT files from plugin directories any more r=josh sr=jst 2009-07-01 09:34:31 -04:00
Benjamin Smedberg
9ce06efb6a Bug 501176 - Move nsXULAppAPI.h to tier-xpcom, r+sr=bz
--HG--
rename : toolkit/xre/nsXULAppAPI.h => xpcom/build/nsXULAppAPI.h
rename : toolkit/xre/xrecore.h => xpcom/build/xrecore.h
2009-07-01 09:32:33 -04:00
Peter Van der Beken
8291a79679 Fix for bug 492324 ("ASSERTION: wrong entry" during cycle collection (nsXBLDocumentInfo)). r=dbaron, sr=jst.
--HG--
extra : rebase_source : ea5eb556d1fe86b42ede4a0515e0c4c06544117b
2009-06-01 21:22:18 +02:00
Hiroyuki Ikezoe
499c51791c bug 491972 - error building SimpleTypeLib.c due to perror() call r=bsmedberg 2009-06-18 07:31:12 -04:00
Chris Jones
1c0eb2d506 bug 491977: fix "leak" of deadlock detector statics. r=bsmedberg 2009-06-16 12:36:44 -07:00
Arpad Borsos
497b2e227d Back out b8e531a6c961 (Bug 474369), it really did cause the windows dhtml regression
--HG--
extra : rebase_source : 568114bcfc5a7710d9e2c2fe5e234fa190bebba1
2009-06-16 14:38:51 +02:00
Arpad Borsos
ced6fd75da Back out 7d502207183d (Bug 493701), it really did cause the windows dhtml regression
--HG--
extra : rebase_source : 1c08b3767508bc359d395560b08248fcaa71f511
2009-06-16 14:37:35 +02:00
Arpad Borsos
3a5c755862 Bug 493701 - Use a macro to reduce redundancy in nsDocLoader.cpp; r=bz 2009-06-11 11:03:40 +02:00
Arpad Borsos
ef105af6ce Bug 474369 - get rid of nsVoidArray, remaining parts; r=bz, sr=dbaron 2009-05-07 17:15:26 +02:00
Hiroyuki Ikezoe
a5f0088b65 Bug 487694 - "unable to build ssltunnel and some xpcom/test files due to CxxFrameHandler linkage" (Patch for nsIFileEnumerator.exe) [r=benjamin] 2009-06-14 01:51:12 -07:00
Shailen
b216db3469 Bug 497838 - "AIX Compilation error for 3.6a1pre source xpcom/io/nsWildCard.cpp", line 215.28: 1540-0274 (S) The name lookup for "_shexp_match" did not find a declaration" [r=benjamin] 2009-06-14 01:41:19 -07:00
palo misik
d5531db087 Bug 490587 - "Warning in mozilla/xpcom/glue/nsGenericFactory.cpp" [r=benjamin] 2009-06-14 01:37:38 -07:00
Arpad Borsos
cd1887abfd Back out bug 474369, suspected of causing dhtml and tp3 regression 2009-06-12 23:20:55 +02:00
Arpad Borsos
3773b464cf Bug 474369 - get rid of nsVoidArray, remaining parts; r=bz, sr=dbaron
--HG--
extra : rebase_source : 2f40cba97555521222512c7cd793c2a2adcca333
2009-05-07 17:15:26 +02:00
Doug Turner
7e69536472 Bug 488862 - crash while geolocation is retrieving data [@ nsGeolocation::RemoveRequest]. r=dbaron, sr=smaug, r=ctalbert on tests 2009-06-11 17:46:46 -07:00
Serge Gautherie
82a4092aee Bug 306840 - Improve PR_GetEnv() usages; (Cv1a) <XpCom/nsAtomTable.cpp> (= sync'ed Bv2); r=timeless sr=neil 2009-06-11 19:47:33 +02:00
Boris Zbarsky
ecd783a395 Bug 497028. Make sure to have mRunningEvent still incremented when we call the runnable's destructor, since that can also do work. r=bsmedberg 2009-06-11 13:09:35 -04:00
Arpad Borsos
589f71c968 Bug 467948 - fix some deprecated conversion from string constant warnings; r=dbaron 2009-05-26 10:53:15 +02:00
Ginn Chen
baa0350fa6 Bug 489299 TestSynchronization.cpp failed to compile with Sun Studio r=benjamin, jones.chris.g 2009-06-11 14:46:13 +08:00
Josh Aas
e7a19f1220 Make Mac OS X local file code aware of symlinks instead of old-school aliases. Also moves more things to POSIX functions instead of inefficient Carbon calls. b=484297,491074,491145 r=mstange sr=roc 2009-06-10 22:23:57 -07:00
Dave Townsend
f43c03af9e Bug 496733: Test that multiple arguments get passed by nsIProcess. r=robstrong 2009-06-10 13:40:29 +01:00
Jesse Ruderman
578eb1c209 Change tabs to spaces (followup to the checkin bz just made) 2009-06-09 21:13:36 -07:00
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
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