ccarlen%netscape.com
b00daa56ee
Fix for #38770
...
Also fixed (unreported bug) in SetPersistentDescriptor.
r=dougt
git-svn-id: svn://10.0.0.236/trunk@78629 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 15:26:52 +00:00
pchen%netscape.com
b7f135e480
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.
...
git-svn-id: svn://10.0.0.236/trunk@78277 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 21:13:10 +00:00
mscott%netscape.com
4e206cca95
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
git-svn-id: svn://10.0.0.236/trunk@75522 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 22:13:34 +00:00
conrad%ingress.com
8e6052125a
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
git-svn-id: svn://10.0.0.236/trunk@74682 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-24 20:05:54 +00:00
conrad%ingress.com
14ebd77604
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
git-svn-id: svn://10.0.0.236/trunk@74318 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-17 15:03:05 +00:00
dougt%netscape.com
db2c70c95b
bug 40750.
...
Adding followSymlink flag to nsILocalFile.
Adjusting callers.
windows shortcut optimizations.
r=blizzard@mozilla.org .
a=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@74127 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-12 23:31:31 +00:00
dbragg%netscape.com
8953692d7d
Fix for bug #42719 . SetLeafName was not removing the old leaf name before appending a new one. r=sgehani
...
git-svn-id: svn://10.0.0.236/trunk@73839 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-07 21:54:08 +00:00
beard%netscape.com
225060e4fa
bug #42100 , Carbon compatibility. r=gordon, saari, pinkerton, sfraser
...
git-svn-id: svn://10.0.0.236/trunk@72686 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 23:10:06 +00:00
ssu%netscape.com
2fdd1d722f
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
git-svn-id: svn://10.0.0.236/trunk@71951 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-10 00:51:06 +00:00
ssu%netscape.com
a7a84d9a54
fixing bug #37168 - fixing the mac side of the bug. Install.Execute() now works on the Mac.
...
precheckin tests=passed
r=sgehani
git-svn-id: svn://10.0.0.236/trunk@71743 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-08 00:31:06 +00:00
warren%netscape.com
cc5d426fbe
Renaming nsIAllocator to nsIMemory (and nsAllocator to nsMemory). API cleanup/freeze. Bug #18433
...
git-svn-id: svn://10.0.0.236/trunk@71450 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-03 09:46:12 +00:00
warren%netscape.com
a3a9a03a59
Fixed leak.
...
git-svn-id: svn://10.0.0.236/trunk@71142 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 04:34:54 +00:00
dougt%netscape.com
0c73c63a0b
Fixing bustage
...
git-svn-id: svn://10.0.0.236/trunk@68869 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 19:38:20 +00:00
dougt%netscape.com
6036715cd7
Fixes bug 38553. Using usecs now. r=sgehani@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@68864 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 19:11:14 +00:00
dp%netscape.com
09f87e1345
- Api nsILocalFile::AppendRelativePath() added to interface
...
- nsILocalFile::Append() returns error uniformly on all platforms if
more than one component of path is being appended.
git-svn-id: svn://10.0.0.236/trunk@68351 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 05:47:32 +00:00
dougt%netscape.com
a58aa50a52
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
git-svn-id: svn://10.0.0.236/trunk@67167 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 01:50:24 +00:00
pinkerton%netscape.com
d1aa3a6521
adding a helper to create/init from an FSSpec.
...
git-svn-id: svn://10.0.0.236/trunk@67069 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 04:09:18 +00:00
ssu%netscape.com
9f6aa50f41
fixing bug #36958 . No longer makes the installer require a reboot at the end if replacing file that are *not* in use.
...
git-svn-id: svn://10.0.0.236/trunk@67046 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 02:39:42 +00:00
dougt%netscape.com
e60b39313e
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.
...
git-svn-id: svn://10.0.0.236/trunk@66948 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-24 03:24:49 +00:00
dbragg%netscape.com
a56b5806c3
Fully implemented the DirectoryService and fixed the Mac nsFileSpecToIFile
...
git-svn-id: svn://10.0.0.236/trunk@66582 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 22:49:18 +00:00
beard%netscape.com
ebfb917075
Compatibility with Universal Headers 3.3 or later. a=leaf
...
git-svn-id: svn://10.0.0.236/trunk@66470 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 22:13:51 +00:00
davidm%netscape.com
e00bc7a42e
27857 nsIFile - MAC not completely implemented
...
git-svn-id: svn://10.0.0.236/trunk@64981 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 01:54:22 +00:00
scc%netscape.com
28db414fa4
making string conversions explicit
...
git-svn-id: svn://10.0.0.236/trunk@64827 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 00:39:02 +00:00
sgehani%netscape.com
2415a388e9
Implemented nsIFile::SetLastModificationDate on the Mac.
...
b = 12368
r = dbragg
git-svn-id: svn://10.0.0.236/trunk@64242 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-27 22:05:54 +00:00
sfraser%netscape.com
ebc52d7f5d
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.
...
git-svn-id: svn://10.0.0.236/trunk@63926 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 23:33:23 +00:00
sfraser%netscape.com
44d056d6a3
Fix for 29572 (launching PSM on Mac). Implement GetParent() for an nsILocalFileMac that was initialized with an FSSpec. r=davidm, a=jar
...
git-svn-id: svn://10.0.0.236/trunk@62415 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-09 00:35:11 +00:00
warren%netscape.com
d100457780
Bug 21556: Making linux be thread-safe. Making tons of classes implement threadsafe AddRef/Release. a=jar
...
git-svn-id: svn://10.0.0.236/trunk@62243 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-05 21:26:01 +00:00
davidm%netscape.com
f6f8de1983
22244 Can not load local file on the mac
...
r warren/sfraser a - jar
git-svn-id: svn://10.0.0.236/trunk@61768 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-27 16:19:59 +00:00
sfraser%netscape.com
e873c4abc1
Fixes for bug 28271 -- add methods to nsILocalFileMac to launch applications and document. Also fix bogus include in nsNativeComponentLoader. r=davidm,dougt. a=jar
...
git-svn-id: svn://10.0.0.236/trunk@61533 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-23 23:09:02 +00:00
blizzard%redhat.com
0759887c2e
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
...
git-svn-id: svn://10.0.0.236/trunk@61201 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-17 15:35:54 +00:00
sdagley%netscape.com
22894200d9
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
...
git-svn-id: svn://10.0.0.236/trunk@59749 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-04 07:17:36 +00:00
sdagley%netscape.com
6866b7f90e
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
...
git-svn-id: svn://10.0.0.236/trunk@59742 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-04 05:26:00 +00:00
sgehani%netscape.com
5fcf548159
Fix for XPInstall horkage on the Mac.
...
b = 26327
r = dougt
a = leaf
git-svn-id: svn://10.0.0.236/trunk@59660 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-03 21:06:35 +00:00
sdagley%netscape.com
99360bb585
Fixing bustages in nsLocalFileMac - fixes #25629 , #26106 and #25277 . r=pinkerton
...
git-svn-id: svn://10.0.0.236/trunk@59435 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-01 23:42:28 +00:00
dougt%netscape.com
1951e2c190
Initializing return values before they are used.
...
git-svn-id: svn://10.0.0.236/trunk@59297 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-31 23:06:04 +00:00
sdagley%netscape.com
82c78a140a
Fix mem leak in My_CloseDir() ( #25614 ). r=saari
...
git-svn-id: svn://10.0.0.236/trunk@59288 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-31 22:41:05 +00:00
dougt%netscape.com
717daf4b42
Renaming IsContainedIn to contains. Fixing implementation on unix.
...
git-svn-id: svn://10.0.0.236/trunk@59128 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 23:53:59 +00:00
dougt%netscape.com
bd62ec42b1
Fixing dll exports for NS_NewLocalFile()
...
r=dveditz
git-svn-id: svn://10.0.0.236/trunk@59111 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 23:35:55 +00:00
sfraser%netscape.com
3fb070fc7a
More fixing for startup crashes and other badness (bugs 25366 and 24312). Fix off by one buffer write. r=sdagley
...
git-svn-id: svn://10.0.0.236/trunk@58994 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 01:50:05 +00:00
sfraser%netscape.com
64d592cd6a
Fix for 24312 and other unpredictable crashers on startup. r=sdagley
...
git-svn-id: svn://10.0.0.236/trunk@58962 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-27 23:28:49 +00:00
sgehani%netscape.com
545b9c8fb5
Fix for XPInstall horkage on the Mac.
...
b = 25288
r = sdagley
a = mcafee
(ssu will be watching the tree in my absence.)
git-svn-id: svn://10.0.0.236/trunk@58961 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-27 23:18:06 +00:00
sdagley%netscape.com
a0446fe3b0
Residual work on #17949 - Need to make sure that path passed to Mac impl of nsLocalFile::InitWithPath doesn't end in a :. r=davidm
...
git-svn-id: svn://10.0.0.236/trunk@58904 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-27 08:11:19 +00:00
dougt%netscape.com
714da09a59
Landing nsIFile.
...
git-svn-id: svn://10.0.0.236/trunk@58490 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-24 21:28:28 +00:00
dougt%netscape.com
5e6a51e582
1. First cut of a Special System Directory replacement (nsDirectoryService).
...
It is a nsIProperty.
2. Updates to the nsIFile and nsILocalFile interfaces based on conversations
with warren. (thanks)
3. Updated windows mac and unix implementations based on interface changes.
Mac and windows changes need to be reviewed.
Not part of build.
git-svn-id: svn://10.0.0.236/trunk@56336 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 01:56:45 +00:00
sdagley%netscape.com
fafc5636c1
First Checked In.
...
git-svn-id: svn://10.0.0.236/trunk@55748 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 07:56:17 +00:00