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

52 Коммитов

Автор SHA1 Сообщение Дата
enndeakin%sympatico.ca 94b0f5ba28 Bug 380813, improve scriptable io, and give file objects class info, meant to check this in a while ago, r=mfinkle,bsmedberg,sr=bsmedberg 2007-07-25 16:53:39 +00:00
bzbarsky%mit.edu 5578a3844c Fix string leak. Bug 389191, r=josh, sr=bsmedberg 2007-07-24 20:19:03 +00:00
jwalden%mit.edu ef68fcf595 Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros. 2007-07-08 07:08:56 +00:00
joshmoz%gmail.com 94b86da035 fix some gcc 4 warnings in xpcom. patch by Christian Haberstroh. b=382753 r=bent sr=bsmedberg 2007-06-04 15:44:43 +00:00
joshmoz%gmail.com a2e0adf707 nsLocalFile::GetParent() doesn't return nsnull at top of volume. patch by Wladimir Palant. b=332389 r=sayrer r=josh 2007-03-07 22:17:01 +00:00
sayrer%gmail.com ad84b373a6 Bug 367608. implement nsIFile::normalize() on OS X. r=mano, sr=bsmedberg 2007-01-30 21:50:45 +00:00
mozilla.mano%sent.com 5751adf0ba Bug 364521 - Need a bundleIdentifier attribute in nsILocalFileMac. r=mento, sr=pink. 2006-12-23 20:17:29 +00:00
gavin%gavinsharp.com 2c3dba3f5f Mac bustage fix for bug 361351 2006-12-16 15:11:56 +00:00
gavin%gavinsharp.com 21630b5d10 Bug 361351: nsIFile.exists() should throw NOT_INITIALIZED if nsIFile is not initialized, patch by Ryan Jones <sciguyryan+bugzilla@gmail.com>, r+sr=darin 2006-12-16 14:55:00 +00:00
joshmoz%gmail.com b6bac47c3c Since some platforms do string operations within local file ::Load, we shouldn't declare that objects being created/destroyed from static ctor/dtor is not legal throughout the entire ::Load function. That only needs to be true around the actual PR_LoadLibrary calls. Fixing this stops the ridiculous amount of warning output that we get from every debug mac build. Also removing unused old mac local file impls. b=326837 r=bsmedberg 2006-11-14 22:06:00 +00:00
timeless%mozdev.org 9975414f7c Bug 106386 Correct misspellings in source code
r=bernd rs=brendan
2006-08-28 20:17:01 +00:00
mark%moxienet.com 4d3edaaa3b 347778 nsLocalFile::MoveTo no longer creates directories when needed on OS X after bug 294584. r=darin 2006-08-07 21:27:09 +00:00
mark%moxienet.com b88e6ef209 294584 Profile fills with bookmarks-##.html (and cookies-##.txt) files due to contention with Spotlight and virus scanners. Use POSIX rename/unlink/rmdir APIs instead of higher-level File Manager equivalents. r=josh sr=darin 2006-08-01 01:48:24 +00:00
mark%moxienet.com bfe4b085ee 345397 Support pathnames in nsLocalFileOSX::SetPersistentDescriptor. r=josh sr=darin 2006-07-23 15:16:37 +00:00
beng%bengoodger.com af5d422f2d 334747, 339893 - desktop application feed readers do not display their app name properly or launch with the specified feed on OSX due to lack of support for a function to get the application bundle name, and a method to invoke an application bundle on OS X with a URL. Add an attribute to nsILocalFileMac called bundleDisplayName to show the application's name, and a method to nsIShellService called openApplicationWithURL which launches an application with a URL parameter appropriately across platforms (nsIProcess on windows and linux, LaunchServices on OS X). Update the client code to use bundleDisplayName, and also the <filefield> binding in preferences to use it too. r=mark sr=darin 2006-06-27 22:38:55 +00:00
benjamin%smedbergs.us 65ad0eece1 Reverting bug 326925 because of a 6.5% Ts increase, even in static builds. 2006-04-13 17:24:12 +00:00
benjamin%smedbergs.us b45aa78749 Bug 326925 - components should be loaded with RLTD_NOW, r=darin - This is an experimental checkin that has the potential to affect Ts times on linux machines, especially nonstatic builds. 2006-04-11 13:28:21 +00:00
darin%meer.net 69abca26db fixes bug 328920, r=mark.mentovai 2006-03-08 05:47:22 +00:00
mark%moxienet.com fe9b9274fd 326668 Add NS_NewLocalFileWithFSRef function to create nsLocalFiles from FSRefs on Mac prior to xpcom startup. r=josh sr=dougt 2006-03-07 01:26:13 +00:00
cbiesinger%web.de a898e666b8 bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
r+sr=darin
2006-02-03 14:18:39 +00:00
bsmedberg%covad.net 75e0efc1a6 Bug 320328 (mac) - Ts regression from bug 316416 (possible fix), r=josh moa=shaver 2005-12-19 20:19:09 +00:00
mark%moxienet.com 8ec53f9346 Bug 317345, nsLocalFile(OSX)::IsHidden is broken garbage. Use kFSCatInfoFinderInfo to obtain Finder attributes. r=josh sr=smfr 2005-11-22 05:09:38 +00:00
bsmedberg%covad.net fc5ac31007 Followup to bug 316732 - impls actually have to QI to the interface (pointed out by bz) 2005-11-18 20:12:46 +00:00
bsmedberg%covad.net d611b236bb Bug 316732 - Allow for hashing on nsIFile by introducing a new nsIHashable interface and implementing it for the file types r=darin 2005-11-18 14:18:49 +00:00
mark%moxienet.com 68d6a1c924 Bug 298529, Core support for Mac 10.4u ("universal") SDK, part 2. Mac alias API update. r=josh sr=smfr a=asa via irc 2005-06-30 04:32:24 +00:00
mozilla.mano%sent.com 9d235bbb04 Bug 298801 - [Mac] nsLocalFile::InitWithNativePath doesn't interpret ~/... paths. r=jhpedemonte, sr=smfr, a=bsmedberg 2005-06-28 16:35:24 +00:00
ben%bengoodger.com 06cbe5532b 291177 - need interface for enumerating directories, implement nsIDirectoryEnumerator with close() method to free system resources after enumeration complete - used incorrect checkin comment for previous checkin which has the meat of the change! r+sr=darin a=brendan 2005-04-23 01:41:42 +00:00
ben%bengoodger.com ba4476693f 286034 - allow extensions to be installed/uninstalled by simply adding/removing their directories... r=bsmedberg, sr=darin, a=brendan 2005-04-23 01:39:51 +00:00
pinkerton%aol.net 24e3272458 fix mem leak (rs=pink) 2005-02-07 03:12:25 +00:00
jshin%mailaps.org b4155c6050 bug 233485 : add 'size' parameter to nsAutoBuffer (patch for customers) : r=ccarlen, sr=rbs) 2004-02-19 11:00:29 +00:00
jshin%mailaps.org f185240ddc follow-up to bug 227547 (not a bug) : added missing 'const' qualifier to the first parameter of CopyUTF8toUTF16NFC() 2004-01-28 08:21:39 +00:00
jshin%mailaps.org c1cd0c39a9 bug 227547: return local file names after converting NFD (decomposed Unicode) to NFC (composed Unicode) for consumers (Mac OS X only). r=ccarlen, sr=sfraser 2004-01-28 05:55:30 +00:00
bryner%brianryner.com bc829daafa Bug 229875 - eliminate unnecssary public/virtual destructors. This patch changes all refcounted classes under xpcom/, which aren't inherited from or used on the stack, to have private, nonvirtual destructors. r=dougt, sr=dbaron. 2004-01-15 06:14:18 +00:00
peter%propagandism.org 342740557a Patch for bug 209699 (convert some consumers over to CopyUTF8toUTF16 / CopyUTF16toUTF8). r=jshin, sr=jst. 2003-12-23 09:56:23 +00:00
dwitte%stanford.edu 8c70c75885 Bug 122892: nsLocalFile::Clone should preserve stat info.
make nsLocalFile* impls use copy constructors for their nsIFile::Clone methods.
This avoids unnecessary |stat| calls inherent in using NS_NewNativeLocalFile.

b=122892, r=dougt, sr=darin, with many thanks to biesi & mkaply for testing on other
plats.
2003-07-18 22:14:16 +00:00
timeless%mozdev.org f5b2bccf54 Bug 187031 [nsLocalFileWin] nsLocalFile::Remove returns os remove values (-1) as nsresults
r=dougt sr=darin
2003-06-18 23:19:11 +00:00
dwitte%stanford.edu 149f719c00 bug 100649: Length() being used where IsEmpty() is meant
treewide changes to convert incorrect usages of string.Length() to string.IsEmpty().

thanks to afatecha@idea.com.py (Ariel Fatecha) for the patch. r=dwitte, sr=jst.

got the ok from Asa to land into a closed tree.
2003-05-23 21:34:47 +00:00
sgehani%netscape.com e8d18aa73a Make GetFSRefInternal assume NS_ERROR_FILE_NOT_FOUND when CFURLGetFSRef
returns false.
b=202772; r=ssu, ccarlen; sr=sfraser; a=asa
2003-05-21 00:53:36 +00:00
ccarlen%netscape.com 477e2b7087 Bug 202798 - Save page as fails when downloads.rdf does not exist (new Profile) r=varga/sr=sfraser 2003-04-21 21:43:38 +00:00
ccarlen%netscape.com bff945a71a Bug 164396 - Change internal representation of file from FSRef to CFURL, reducing conversions between path and FSRef and fixing other bugs. 2nd checkin of this after testing on other Tinderboxen showed Ts improvement. r=sdagley/sr=sfraser 2003-04-18 13:50:38 +00:00
ssu%netscape.com 1a5f9f33b8 fixing bug 186088 - Mozilla crashes during installation of XPI Packages [@ nsInstallFile::CreateAllFolders]. r=ccarlen,sr=dveditz 2003-03-21 22:18:17 +00:00
ccarlen%netscape.com 92ad0870c0 Backing out due to huge Ts increase 2003-03-20 08:45:50 +00:00
ccarlen%netscape.com 5d0894cf7d Bug 164396 - [OS X]Reduce conversions between path and FSRef. Changes internal representation to not use FSRef which should fix various bugs. r=sdagley/sr=sfraser 2003-03-20 06:05:03 +00:00
ccarlen%netscape.com eada17fc1c If the destination file already exists, moveTo[Native] should replace it. Bug 195109 r=sdagley/sr=sfraser 2003-03-14 20:01:41 +00:00
dbaron%dbaron.org 4dd14b7edb Make implementations consistent across platforms: ensure IsDirectory and IsFile return false even when the file doesn't exist (and they return an nsresult error status). b=187014 r=dougt sr=alecf 2003-01-13 23:17:49 +00:00
dbaron%dbaron.org f2cd5e3e66 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag 2003-01-08 23:19:20 +00:00
ccarlen%netscape.com f4dbc3bf79 Bug 173668 - InitWithNativePath crashes if given a URL which begins with a forward slash. It happens during URI fixup. r=sdagley/sr=jaggernaut 2002-12-03 15:51:25 +00:00
ccarlen%netscape.com 723d04f77d Bug 179932 - Need GetCFURL() on nsILocalFileMac. r=sdagley/sr=sfraser 2002-11-15 15:35:17 +00:00
ccarlen%netscape.com be47e0328e Bug 177059 Mach-0 nsLocalFile::GetFileSize sometimes fails for directories. Patch by sfraser. r=ccarlen/sr=bryner 2002-11-08 15:03:06 +00:00
ccarlen%netscape.com e7a7f2a65e Bug 173311 - RealPlayer One 9.0b2 plugin causes crash at startup for Mach-0 build because of symlink (alias) handling problems. r=bnesse/sr=sfraser/a=dbaron 2002-11-01 15:45:38 +00:00