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

51 Коммитов

Автор SHA1 Сообщение Дата
Josh Aas 3ab63b8679 Backed out changeset 88b83c564d3c 2009-11-13 07:22:28 -05:00
Josh Aas 22c9f32138 Get rid of FSRef usage in XRE_GetBinaryPath. Also resolve cached paths when initializing from CFURL sources. b=506812 r=vlad 2009-11-13 05:24:41 -05:00
Drew Willcoxon 08afd25a50 Bug 506814 - Get rid of GetPersistentDescriptor. r=josh 2009-11-10 20:46:16 +01:00
Josh Aas 3ecabd62b4 Implement nsIFile::IsHidden without FSRefs on Mac OS X. Fixes failures on virtual file system objects. b=491688 r=bsmedberg 2009-11-02 16:15:40 -05:00
Josh Aas a56e12881d Backed out changeset 76c570389975. b=506812 2009-09-27 05:54:43 -04:00
Josh Aas 58ccf05907 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 26386722ae Backed out changeset 65aff8912e7c. b=506812 2009-09-27 03:09:47 -04:00
Josh Aas 959c5ab774 Get rid of unnecessary FSRef creation in startup path. b=506812 r=vlad 2009-09-27 01:49:41 -04:00
Josh Aas 5a8b9f2906 Fix test_symlinks.js failure on Mac OS X, match UNIX native target code (use readlink, not realpath). b=516799 r=bsmedberg 2009-09-22 13:37:30 -04:00
Josh Aas 599bcae235 Backed out changeset ad9a4a3a5409, bug 506812. CLOSED TREE 2009-07-31 16:49:48 -04:00
Josh Aas c02bf12fa1 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
Josh Aas cc98ef9454 Cache UTF-8 POSIX path in Mac OS X nsIFile impl. b=505792 r=mstange sr=bsmedberg 2009-07-30 00:47:06 -04:00
Josh Aas bf5c16234e Comment cleanup and macro rename for Mac OS X nsIFile impl. No bug. r=bsmedberg 2009-07-12 16:04:25 -04:00
Josh Aas 7342d5cd3b Use the same path comparison behavior for nsIFile::Equals on all platforms. b=491245 sr=bsmedberg 2009-07-08 11:26:07 -04:00
Josh Aas baeec22678 Rewrite SetFileSize for Mac OS X using POSIX API. b=501307 r/sr=roc 2009-07-05 02:39:04 -04:00
Josh Aas ee46a1a52c Use POSIX to get/set file permissions on Mac OS X. b=499875 sr=roc 2009-06-23 08:55:59 -04:00
Josh Aas 5346a316ae 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
Josh Aas 8eecbd7958 Backed out changeset 294eaf175b7b 2009-05-02 15:14:47 -07:00
Josh Aas 1220b2d313 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 0d35d88772 Remove setFileTypeAndCreatorFromMIMEType and setFileTypeAndCreatorFromExtension from nsILocalFileMac. b=491099 sr=roc 2009-05-02 11:01:25 -07:00
Josh Aas e2c572b186 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 9497cd7afd 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 c645cdc14d 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 2da56f3cad Backed out changeset cb8262ea787f 2009-04-30 17:01:06 -07:00
Josh Aas f139909a22 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 3c8a7bd256 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 3e04db4fd3 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
Josh Aas a412aef3cc optimize/modernize Mac OS X toolkit/xre code. b=486733 r=mstange sr=bsmedberg 2009-04-09 20:54:11 -04:00
Josh Aas 01a32d5857 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
Arpad Borsos 7e7551d131 Bug 474369 - get rid of nsVoidArray, xpcom part; r=bsmedberg 2009-04-03 18:43:08 +02:00
Robert O'Callahan 432e24cfea Bug 482942. Implement nsILocalFile::DELETE_ON_CLOSE. r=bsmedberg 2009-03-20 09:56:05 +13:00
Peter Annema 932634c33a 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 f1cb23ccaa 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 980a5b4f51 Port xpcom to 64-bit Mac OS X, part 1. b=478687 r=mstange sr=bsmedberg 2009-03-06 12:32:57 -06:00
Josh Aas e0d845005f 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 7f047137af Remove all MoreFilesX usage and remove MoreFilesX from the tree. b=476230 r=smichaud sr=dougt 2009-02-11 23:26:59 -05:00
Josh Aas c65dfc7576 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
Fred Jendrzejewski 9bd9de1b83 Bug 461047 - Replace nsStringArray with nsTArray<nsString>. r+sr=roc 2009-01-18 21:14:14 +01:00
Robert O'Callahan 730e65f154 Backed out changeset 8019a959aade 2009-01-16 22:20:33 +13:00
Fred Jendrzejewski 6e7f270ba9 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 a63842ec68 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
Josh Aas d419a44eb7 comment and whitespace cleanup for Mac OS X filesystem code. no bug. 2008-11-28 13:37:40 -05:00
Josh Aas f354171e21 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
Håkan Waara b6da968f97 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
jag@tty.nl 6035bcb6e0 Bug 333505: nsLocalFileOSX crash. Original patch by Shane Caraveo <shanec@ActiveState.com>, review nits addressed by me. Unit test by Callek. r=mentovai, r/sr=bsmedberg, a1.9=damons 2008-03-18 06:31:01 -07:00
joshmoz@gmail.com bbd7f58f1f always link against cocoa framework on Mac OS X, cocoa exception wrapping in xpcom file io. b=419392 r=bent sr=roc a=beltzner 2008-02-29 15:24:53 -08:00
joshmoz@gmail.com 45d5b4d412 rename files to .mm. b=419390,419392 r/sr=roc 2008-02-26 18:03:08 -08:00
roc+@cs.cmu.edu 0054412272 Bug 374866. Reftests for text-transform. r=dbaron 2007-03-22 16:01:14 -07:00
jag%tty.nl dcb54664cd Bug 333505: nsLocalFileOSX crash. Original patch by Shane Caraveo <shanec@ActiveState.com>, review nits addressed by me. Unit test by Callek. r=mentovai, r/sr=bsmedberg, a1.9=damons 2008-03-18 13:31:02 +00:00
joshmoz%gmail.com 793a2e0747 always link against cocoa framework on Mac OS X, cocoa exception wrapping in xpcom file io. b=419392 r=bent sr=roc a=beltzner 2008-02-29 23:24:55 +00:00