Граф коммитов

1602 Коммитов

Автор SHA1 Сообщение Дата
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
Brad Lassey dff03b246f Bug 461859 - windows mobile minor cleanup of xpcom r=bsmedberg 2008-12-03 08:42:03 -05:00
Brad Lassey 418f5366f7 Bug 455381 - WinCE XPCOM Explicit Unicode API Calls, Wide Char CheckVersion Function r=bsmedberg 2008-12-03 08:41:12 -05:00
Josh Aas 00ff40c300 comment and whitespace cleanup for Mac OS X filesystem code. no bug. 2008-11-28 13:37:40 -05:00
Daniel Veditz 87eae8b89c bug 464998 - r+sr=bsmedberg, a=beltzner 2008-11-19 11:55:59 -05:00
Daniel Veditz 3ab8ffe9cb bug 455987 crash fix, r/sr=bsmedberg 2008-10-24 16:15:33 -07:00
Brad Lassey 791430bafe Bug 458252: local file paths are wrong on windows mobile r=dougt sr=bsmedberg 2008-10-20 13:03:20 -04:00
Mike Hommey 32b0e12023 Bug 440506 - Add a globally shared location for plugins; r=joshmoz sr=jst 2008-10-10 17:54:33 +02:00
Arpad Borsos c72ef7d248 Bug 456388 - Remove PR_STATIC_CALLBACK and PR_CALLBACK(_DECL) from the tree; r+sr=brendan 2008-10-10 17:04:34 +02:00
Ben Turner ea7747e94a Backed out changeset 2bbdbe2127d3 due to hanging unit tests. 2008-10-09 12:23:22 -07:00
Josh Aas b6b1977117 Get rid of flawed Windows stat cache. b=456603 r=smichaud sr=dougt 2008-10-09 13:52:08 -04:00
Doug Turner 798f9831c8 backing out the top level comment line to its orig state 2008-10-08 21:25:11 -07:00
Doug Turner acb4a55a6d removing erronous change to nsLocalFileWin 2008-10-08 21:22:21 -07:00
Doug Turner 8137791649 Bug 458917 - Windows CE Cleanup. r/sr=stuart+bsmedberg 2008-10-08 20:51:54 -07:00
Josh Aas 12b6aa82b1 Backed out changeset 4a461b03f6ae, b=456603 2008-10-08 01:32:04 -04:00
Josh Aas dc484fbeef Get rid of flawed Windows stat cache. b=456603 r=smichaud sr=dougt 2008-10-07 23:18:05 -04:00