Commit Graph

75 Commits

Author SHA1 Message Date
dougt@netscape.com
d1f771603f ugh. I did not mean to commit these changes. Backing out 2001-10-30 22:19:32 +00:00
dougt@netscape.com
43fc9fcb73 Moving nsISimpleEnumeratory interface into a seperate idl file. bug 99136. r=alecf@netscape.com, sr=rpotts@netscape.com 2001-10-30 22:03:05 +00:00
seawood@netscape.com
74b22d1a32 Landing the rest of the mach-o OSX changes.
Bug #75653 r=cls sr=waterson
2001-10-27 07:38:18 +00:00
jaggernaut@netscape.com
15f2e61f30 Bug 81444: eliminate |null_nsCOMPtr|. Eliminating all callers, r=syd, rs=mozbot. 2001-10-07 10:58:39 +00:00
sdagley@netscape.com
ed83ea9d50 Finish fix of bug 97676 - Also use LaunchServices APIs to map creator code to app under OS X. Fixes automatic launch of helper app and restores ability to override helper app from download dialog. sr=sfraser 2001-10-02 01:45:45 +00:00
sdagley@netscape.com
5098f57d09 Bug 97676 - Use LaunchServices APIs under OS X for helper app launching and fix Reveal to work with OS X Finder. r=ccarlen,sr=sfraser 2001-10-01 06:43:41 +00:00
sdagley@netscape.com
fa71d9494e Fix Fizilla build bustage caused by conflict between ccarlen's checkin and jag's string changes. r=jag 2001-10-01 00:57:54 +00:00
ccarlen@netscape.com
ab5791827d Bug 87831 - Fizilla won't launch if its path contains non-ASCII char. r=ftang/sr=sfraser 2001-09-28 09:19:42 +00:00
dbaron@fas.harvard.edu
0252ee68ff Replace uses of deprecated NS_IMPL_ISUPPORTS and NS_IMPL_QUERYINTERFACE macros with NS_IMPL_{ISUPPORTS,QUERYINTERFACE}{1,0}. r=jag sr=alecf b=45797 2001-09-10 19:54:27 +00:00
sfraser@netscape.com
12f006147d Bug 62110 - initialize rv in nsLocalFile::SetPersistentDescriptor. Fixes multiple folders bug in mail on Mac OS X, and probably other bugs as well. r=pinkerton, sr=mscott, a=dbaron 2001-08-28 01:57:20 +00:00
jaggernaut@netscape.com
c2bcad0b73 Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa 2001-07-25 07:54:28 +00:00
pete@alphanumerica.com
67b5dca391 Fix for nsIFile delete conflicts with JS reserved name b=37406, r=dougt, sr=jst
Renamed all Delete methods to Remove.

--pete
2001-07-24 18:38:25 +00:00
dougt@netscape.com
8afc81e0b2 Landing url parsing branch. 73845. r=alecf@netscape.com, sr=darin@netscape.com, a=blizzard@rednat.com.
This fixes many crashes caused by illegal uses of the nsStdURL.
This also allows a plugable protocol to provide their own url parser.
2001-06-21 22:02:47 +00:00
valeski@netscape.com
7050aa28da r=ccarlen, sr=sfraser, a=asa. 80095. replace an overkill strstr, w/ strchr. 2001-06-04 23:30:55 +00:00
ccarlen@netscape.com
33bc6d0ec4 Bug 73095 - Create() needs to set mTargetSpec on completion. r=scc@mozilla.org/sr=sfraser 2001-05-22 21:38:21 +00:00
sdagley@netscape.com
8c2615bd64 #3616 - Enable long long in Mac version of NSPR (#defines the HAVE_LONG_LONG flag). sr=sfraser 2001-05-06 22:43:07 +00:00
sdagley@netscape.com
105a2718ca #70543 - Mac OS running out of FCBs when loading libraries. Now yield time to OS to allow it to grow the FCB table (shouldn't be necessary, apparently is). sr=sfraser,r=macdev 2001-05-04 09:01:06 +00:00
sgehani@netscape.com
c617f89d19 Make file with no extension have correct type and creator info based on MIME type. b = 64704; r = law; sr = sfraser 2001-05-03 01:12:15 +00:00
pinkerton@netscape.com
9bbb16ee65 tweaks to build under macosx. r=saari/sr=hyatt. bug#75653. 2001-04-15 04:58:22 +00:00
ccarlen@netscape.com
80d65362f0 Bug 72129 - OpenANSIFIleDesc on Mac won't create new files. r=beard@netscape.com, sr=sfraser@netscape.com 2001-03-21 01:13:20 +00:00
disttsc@bart.nl
e9399ed474 Preparation of removing nsCString::GetBuffer. Landing everything but the actual commenting out of nsCString::GetBuffer. bug=64016, r=timeless, sr=scc 2001-03-02 09:26:57 +00:00
ccarlen@netscape.com
3d807c8778 Bug 27857 - nsIFile not complete on Mac. Adding CopyToFollowingLinks(). r=sdagley@netscape.com, sr=sfraser@netscape.com 2001-02-26 15:22:17 +00:00
pchen@netscape.com
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
pinkerton@netscape.com
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
mscott@netscape.com
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
ccarlen@netscape.com
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
ccarlen@netscape.com
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
ccarlen@netscape.com
aa7a8ba807 Bug 55891 r=brade, sr=sfraser 2000-11-14 15:58:54 +00:00
ccarlen@netscape.com
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
warren@netscape.com
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
ccarlen@netscape.com
def3971731 Fix for #38770 Also fixed (unreported bug) in SetPersistentDescriptor. r=dougt 2000-09-09 15:26:52 +00:00
pchen@netscape.com
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
mscott@netscape.com
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
conrad@ingress.com
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
conrad@ingress.com
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
dougt@netscape.com
571c5403a5 bug 40750.
Adding followSymlink flag to nsILocalFile.
Adjusting callers.
windows shortcut optimizations.
r=blizzard@mozilla.org.
a=brendan@mozilla.org
2000-07-12 23:31:31 +00:00
dbragg@netscape.com
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
beard@netscape.com
39788014dc bug #42100, Carbon compatibility. r=gordon, saari, pinkerton, sfraser 2000-06-20 23:10:06 +00:00
ssu@netscape.com
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
ssu@netscape.com
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
warren@netscape.com
6a06dfc026 Renaming nsIAllocator to nsIMemory (and nsAllocator to nsMemory). API cleanup/freeze. Bug #18433 2000-06-03 09:46:12 +00:00
warren@netscape.com
2dffff03a1 Fixed leak. 2000-05-31 04:34:54 +00:00
dougt@netscape.com
f82ee462a4 Fixing bustage 2000-05-09 19:38:20 +00:00
dougt@netscape.com
7c8e6dc7c5 Fixes bug 38553. Using usecs now. r=sgehani@netscape.com 2000-05-09 19:11:14 +00:00
dp@netscape.com
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
dougt@netscape.com
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
pinkerton@netscape.com
5c86554726 adding a helper to create/init from an FSSpec. 2000-04-25 04:09:18 +00:00
ssu@netscape.com
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
dougt@netscape.com
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
dbragg@netscape.com
8476aba9b1 Fully implemented the DirectoryService and fixed the Mac nsFileSpecToIFile 2000-04-20 22:49:18 +00:00