Commit Graph
53 Commits
Author SHA1 Message Date
[email protected] b2d8498e67 bug 46435, r=pinkerton, sr=sfraser, since we went to all the trouble of calling Internet Config in SetOSTypeFromExtension, set file creator as well, but not before consulting an exceptions list so that certain files, e.g. .html and .htm files, always have our app creator code 2001-02-07 00:46:58 +00:00
[email protected] f376a9796f change the default file type to 'TEXT' to avoid creating files that are useless to every app on the planet. r=pchen/a=sfraser. bug# 64704 2001-01-31 01:35:16 +00:00
[email protected] 043d7c9255 Bug #63346 --> implement reveal and launch for the mac. Most of this code was contributed by Paul Hangas. Thanks Paul!! r=conrad,hangas sr=sspitzer 2001-01-30 05:03:38 +00:00
[email protected] dcb7b51aee Bug 54008 - nsIFile::MoveTo doesn't work according to API on Mac. r=sdagley, sr=sfraser 2001-01-17 20:23:06 +00:00
[email protected] d6d2475477 Bug 51932 - Allow getting the FSSpec of a file which doesn't exist. r=sdagley, sr=sfraser 2000-12-12 20:14:03 +00:00
[email protected] aa7a8ba807 Bug 55891 r=brade, sr=sfraser 2000-11-14 15:58:54 +00:00
[email protected] 34d574af24 Fix for 56998 which blocks 56041. nsLocalFile::Exists() could return TRUE if the file in fact didn't exist. Happened with files for which the volume or dir didn't exist. r=sfraser. 2000-10-19 20:41:55 +00:00
[email protected] 091d92ceb1 Added URL attribute to nsIFile (why: because (a) needs to vary for different implementations, and (b) need to factor out of necko for installer). Not implemented yet. 2000-09-12 08:05:13 +00:00
[email protected] def3971731 Fix for #38770 Also fixed (unreported bug) in SetPersistentDescriptor. r=dougt 2000-09-09 15:26:52 +00:00
[email protected] d74ece1e04 bug #43585, r=sfraser, fix type/creator mix up calling FSpCreate() in nsLocalFile::Create(), fix passing correct FSSpec to AECreateDesc, fix passing AppParameters correctly in LaunchParamBlockRec. 2000-09-06 21:13:10 +00:00
[email protected] 1a31570c9e landing branch fix to trunk. Bug #47248 ---> Fix GetParent such that if appendedPath is an empy string we treat it the same as if it were null and create a dummy path. r=dougt 2000-08-03 22:13:34 +00:00
[email protected] 25fdaeefbe 1. Fixed ResolvePathAndSpec - if directories did not exist, the vRefNum and dirID were getting zeroed out. If the path was relative this was wrong. 2. Fixed MoveCopy - If nsnull was passed as newName, which is valid, new name was uninitialized garbage. r-dougt 2000-07-24 20:05:54 +00:00
[email protected] 09fbe88289 1. Added Get/SetPersistentDescriptor. Use this instead of GetPath/InitWithPath. 2. It is now possible to pass nsnull for the path param to NS_NewLocalFile(). This allows one to create an unspecified file. r = dougt 2000-07-17 15:03:05 +00:00
[email protected] 571c5403a5 bug 40750.
Adding followSymlink flag to nsILocalFile.
Adjusting callers.
windows shortcut optimizations.
[email protected].
[email protected]
2000-07-12 23:31:31 +00:00
[email protected] 0d14a0e630 Fix for bug #42719. SetLeafName was not removing the old leaf name before appending a new one. r=sgehani 2000-07-07 21:54:08 +00:00
[email protected] 39788014dc bug #42100, Carbon compatibility. r=gordon, saari, pinkerton, sfraser 2000-06-20 23:10:06 +00:00
[email protected] e112c79ee0 Fixing bug #31259 (nsbeta2+) - Install.modDate() and Install.modDateChanged() now shows the correct values. This *might* also happen to fix the following bugs: #42070 - Mac files get installed with the wrong date #38553 - nsIFile - Reducing modification dates significant digits #36681 - document.lastModified date is incorrect for a local file This only affects the Mac platforms. Pre-Checkin Tests: passed r=sgehani 2000-06-10 00:51:06 +00:00
[email protected] bc234c9a65 fixing bug #37168 - fixing the mac side of the bug. Install.Execute() now works on the Mac. precheckin tests=passed r=sgehani 2000-06-08 00:31:06 +00:00
[email protected] 6a06dfc026 Renaming nsIAllocator to nsIMemory (and nsAllocator to nsMemory). API cleanup/freeze. Bug #18433 2000-06-03 09:46:12 +00:00
[email protected] 2dffff03a1 Fixed leak. 2000-05-31 04:34:54 +00:00
[email protected] f82ee462a4 Fixing bustage 2000-05-09 19:38:20 +00:00
[email protected] 7c8e6dc7c5 Fixes bug 38553. Using usecs now. [email protected] 2000-05-09 19:11:14 +00:00
[email protected] 53f1fe2699 - Api nsILocalFile::AppendRelativePath() added to interface
- nsILocalFile::Append() returns error uniformly on all platforms if
more than one component of path is being appended.
2000-05-05 05:47:32 +00:00
[email protected] c2cffbaf28 Fixes problems in local file where getting a parent of a non-existant file did not work. Fixes a problem if you tried to create a folder and it parents did not exist. Fixes a problem if you had a initialized with a FSSpec which was not resolved complete and you tried to add a relative path. Fixing nsInstallFile to use nsIFile:: enums insteads of numbers. r=sgehani, a=leaf 2000-04-26 01:50:24 +00:00
[email protected] 5c86554726 adding a helper to create/init from an FSSpec. 2000-04-25 04:09:18 +00:00
[email protected] f9bb403aa8 fixing bug #36958. No longer makes the installer require a reboot at the end if replacing file that are *not* in use. 2000-04-25 02:39:42 +00:00
[email protected] 5a6d3507a3 Fix for bug 35751. Caching type and creator information for nsLocalFileMac. This is so that files can be created with a given type/creator tag after the initialization of the ifile.. r=warren and sfraser. 2000-04-24 03:24:49 +00:00
[email protected] 8476aba9b1 Fully implemented the DirectoryService and fixed the Mac nsFileSpecToIFile 2000-04-20 22:49:18 +00:00
[email protected] 608681035c Compatibility with Universal Headers 3.3 or later. a=leaf 2000-04-19 22:13:51 +00:00
[email protected] f6b454f25c 27857 nsIFile - MAC not completely implemented 2000-04-03 01:54:22 +00:00
[email protected] 0cbd1727d3 making string conversions explicit 2000-04-01 00:39:02 +00:00
[email protected] a1716722e3 Implemented nsIFile::SetLastModificationDate on the Mac. b = 12368 r = dbragg 2000-03-27 22:05:54 +00:00
[email protected] 6208090a96 Fixing nsLocalFileMac so that Contains() works with file aliases, and is much faster. Also fix an issue with cacheing data, so that cacheing actually works. r=pinkerton. 2000-03-23 23:33:23 +00:00
[email protected] 294fae9781 Fix for 29572 (launching PSM on Mac). Implement GetParent() for an nsILocalFileMac that was initialized with an FSSpec. r=davidm, a=jar 2000-03-09 00:35:11 +00:00
[email protected] 90e6ffd47b Bug 21556: Making linux be thread-safe. Making tons of classes implement threadsafe AddRef/Release. a=jar 2000-03-05 21:26:01 +00:00
[email protected] 649664ad5b 22244 Can not load local file on the mac r warren/sfraser a - jar 2000-02-27 16:19:59 +00:00
[email protected] 047476e530 Fixes for bug 28271 -- add methods to nsILocalFileMac to launch applications and document. Also fix bogus include in nsNativeComponentLoader. r=davidm,dougt. a=jar 2000-02-23 23:09:02 +00:00
[email protected] ce20637201 change nsIFile::Spawn to take an array of arguments instead of just a single flat string. bug #27843. r=dougt, a=chofmann. also, implement nsIFile::Normalize for unix. bug #17948. r=shaver, a=chofmann 2000-02-17 15:35:54 +00:00
[email protected] 698ce22c9c nsLocalFileMac work. Added GetFileSizeWithResFork() method for callers that need to account for the total size of a Mac file (GetFileSize() only returns the size of the data fork). r=pinkerton 2000-02-04 07:17:36 +00:00
[email protected] 72ef8447bb For now nsLocalFileMac::GetFileSize should only return the size of the file's data fork to be compatible with other places in the code that make that assumption. r=saari 2000-02-04 05:26:00 +00:00
[email protected] 66faf14bc6 Fix for XPInstall horkage on the Mac. b = 26327 r = dougt a = leaf 2000-02-03 21:06:35 +00:00
[email protected] 12b4c66b0a Fixing bustages in nsLocalFileMac - fixes #25629, #26106 and #25277. r=pinkerton 2000-02-01 23:42:28 +00:00
[email protected] 0051e55dff Initializing return values before they are used. 2000-01-31 23:06:04 +00:00
[email protected] a5986eb207 Fix mem leak in My_CloseDir() (#25614). r=saari 2000-01-31 22:41:05 +00:00
[email protected] 0c0ff26b7b Renaming IsContainedIn to contains. Fixing implementation on unix. 2000-01-28 23:53:59 +00:00
[email protected] 365a3240f0 Fixing dll exports for NS_NewLocalFile()
r=dveditz
2000-01-28 23:35:55 +00:00
[email protected] 214f8eade4 More fixing for startup crashes and other badness (bugs 25366 and 24312). Fix off by one buffer write. r=sdagley 2000-01-28 01:50:05 +00:00
[email protected] 6b2ebcb5ef Fix for 24312 and other unpredictable crashers on startup. r=sdagley 2000-01-27 23:28:49 +00:00
[email protected] 5fc8e0063c Fix for XPInstall horkage on the Mac. b = 25288 r = sdagley a = mcafee (ssu will be watching the tree in my absence.) 2000-01-27 23:18:06 +00:00
[email protected] 1d341eecd1 Residual work on #17949 - Need to make sure that path passed to Mac impl of nsLocalFile::InitWithPath doesn't end in a :. r=davidm 2000-01-27 08:11:19 +00:00