Boris Zbarsky
612e9ad4e4
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
Josh Aas
bfcfe1db27
Backed out changeset 294eaf175b7b
2009-05-02 15:14:47 -07:00
Josh Aas
62c4bceb6c
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
cffeb5a089
Remove setFileTypeAndCreatorFromMIMEType and setFileTypeAndCreatorFromExtension from nsILocalFileMac. b=491099 sr=roc
2009-05-02 11:01:25 -07:00
Josh Aas
d891d9195e
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
2c8d1f19c7
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
db53a3cbed
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
8c02298ffe
Backed out changeset cb8262ea787f
2009-04-30 17:01:06 -07:00
Josh Aas
db4f825cfb
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
d9da49eca0
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
Josh Aas
d19f83697a
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
6ea9c9d5f9
Back out previous logging patches (92791a422f0a and 5617c22ea9ac) for bug 469514.
2009-04-22 15:21:17 -07:00
Jesse Ruderman
144d0a1c97
Make temporary debug-only logging code not crash. r=sdwilsh
2009-04-21 16:57:19 -07:00
Shawn Wilsher
3ff1abe44a
Debug-only logging code to track down bug 469514.
...
r=ted
2009-04-21 11:32:07 -04:00
Jim Mathies
b253ceb46a
Bug 403014 - Windows "Don't Index" bit set on download files. (r=sdwilsh,dougt)
2009-04-20 20:06:03 -05:00
Nils Maier
7f26a51c51
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
Josh Aas
4a486a40f2
optimize/modernize Mac OS X toolkit/xre code. b=486733 r=mstange sr=bsmedberg
2009-04-09 20:54:11 -04:00
Josh Aas
b5c4ced94f
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
Peter Annema
c2228f83ec
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
633a7c9dfd
Bug 485325: nsLocalFileUnix::IsSymlink() should check result of lstat(). r=joshmoz, sr=bsmedberg
2009-04-07 04:38:23 -07:00
Peter Annema
c552abb51a
Bug 484505: nsLocalFileUnix::Remove(PR_TRUE) shouldn't ever follow symlinks. r=joshmoz, sr=bsmedberg
2009-04-07 02:20:05 -07:00
Josh Aas
82ad98fe12
Fix argument name in older function decl to match newer impl. no bug.
2009-04-05 02:26:40 -04:00
Arpad Borsos
4fc5b38c9d
Bug 474369 - get rid of nsVoidArray, xpcom part; r=bsmedberg
2009-04-03 18:43:08 +02:00
Neil Rashbrook
d1fbe49005
Followup to bug 224692 to only reset inherited permissions r+sr=bsmedberg
2009-04-01 17:10:29 +01:00
Michal Novotny
8e17d253af
Bug 470716. Make the close-on-completion behavior of nsAsyncStreamCopier configurable. r+sr=bzbarsky.
2009-03-30 15:10:13 -04:00
Josh Aas
90ec5302a4
Fix some type usage in nsIStreamBufferAccess.idl. b=478687 r=wtc r=bsmedberg
2009-03-24 10:47:02 -07:00
Robert O'Callahan
f4aea6aa03
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
fba4c1c3ce
Bug 482942. Implement nsILocalFile::DELETE_ON_CLOSE. r=bsmedberg
2009-03-20 09:56:05 +13:00
Josh Aas
dde6460538
Stop using FlatCarbon headers on Mac OS X. b=482277 r=bsmedberg
2009-03-19 10:41:13 -07:00
Robert O'Callahan
d65490fce9
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
Peter Annema
e1b1304eff
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
Josh Aas
eaa45c4d2b
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
ffb320ce01
Port xpcom to 64-bit Mac OS X, part 1. b=478687 r=mstange sr=bsmedberg
2009-03-06 12:32:57 -06:00
Neil Rashbrook
13d0229afc
Bug 478732 nsLocalFileWin/OS2.cpp's InitWithPath is inefficient r=bsmedberg
2009-03-04 09:48:48 +00:00
Nickolay_Ponomarev
f65cc1e89b
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)
f2a9697470
Bug 465783: Fennec default download location inaccessible to users. r=sdwilsh sr=bsmedberg
2009-02-25 03:26:45 -04:00
Sunil Mohan Adapa
620b5e2d7a
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
Shawn Wilsher
ce9ed14fef
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
Josh Aas
fa433b18c5
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
Josh Aas
61714f010e
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
dad201f497
b=477727; add missing braces around WinCE bits in LocalFileWin; r+sr=stuart
2009-02-10 15:10:08 -08:00
Josh Aas
9dbf2ddbd8
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
Daniel Veditz
32440787f6
bug 452217 nsLocalFileWin should return errors consistent with other platforms, r=neil, sr=bsmedberg
2009-01-27 16:50:14 -08:00
Daniel Holbert
4301671b45
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
Fred Jendrzejewski
d8f1bff747
Bug 461047 - Replace nsStringArray with nsTArray<nsString>. r+sr=roc
2009-01-18 21:14:14 +01:00
Robert O'Callahan
804cc7ee91
Backed out changeset 8019a959aade
2009-01-16 22:20:33 +13:00
Fred Jendrzejewski
065bde22f3
Bug 461047. Replace nsStringArray with nsTArray<nsString>. r+sr=roc
...
--HG--
extra : rebase_source : 7a20af24c97867efbb28dafa6a70ea1b4cf00e58
2009-01-16 20:51:04 +13:00
Josh Aas
e1b753e90c
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
Peter Weilbacher
78df8b53dc
[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
Benjamin Smedberg
470d4ccbfb
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