sdagley%netscape.com
7c8e58d843
Fix Fizilla build bustage caused by conflict between ccarlen's checkin and jag's string changes. r=jag
...
git-svn-id: svn://10.0.0.236/trunk@104275 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-01 00:57:54 +00:00
ccarlen%netscape.com
c083079514
Bug 87831 - Fizilla won't launch if its path contains non-ASCII char. r=ftang/sr=sfraser
...
git-svn-id: svn://10.0.0.236/trunk@104104 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 09:19:42 +00:00
dbaron%fas.harvard.edu
d042c2ddb4
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
...
git-svn-id: svn://10.0.0.236/trunk@102656 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-10 19:54:27 +00:00
sfraser%netscape.com
5ce8c19837
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
...
git-svn-id: svn://10.0.0.236/trunk@101868 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-28 01:57:20 +00:00
jaggernaut%netscape.com
2b3b3b2586
Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa
...
git-svn-id: svn://10.0.0.236/trunk@99906 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-25 07:54:28 +00:00
pete%alphanumerica.com
63991fa7da
Fix for nsIFile delete conflicts with JS reserved name b=37406, r=dougt, sr=jst
...
Renamed all Delete methods to Remove.
--pete
git-svn-id: svn://10.0.0.236/trunk@99803 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-24 18:38:25 +00:00
dougt%netscape.com
5c5c39e4be
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.
git-svn-id: svn://10.0.0.236/trunk@97696 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-21 22:02:47 +00:00
valeski%netscape.com
33d2e73318
r=ccarlen, sr=sfraser, a=asa. 80095. replace an overkill strstr, w/ strchr.
...
git-svn-id: svn://10.0.0.236/trunk@96348 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-04 23:30:55 +00:00
ccarlen%netscape.com
99d50d8ea2
Bug 73095 - Create() needs to set mTargetSpec on completion. r=scc@mozilla.org/sr=sfraser
...
git-svn-id: svn://10.0.0.236/trunk@95701 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-22 21:38:21 +00:00
sdagley%netscape.com
ce41266bff
#3616 - Enable long long in Mac version of NSPR (#defines the HAVE_LONG_LONG flag). sr=sfraser
...
git-svn-id: svn://10.0.0.236/trunk@94093 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-06 22:43:10 +00:00
sdagley%netscape.com
688b88a74b
#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
...
git-svn-id: svn://10.0.0.236/trunk@93920 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-04 09:01:06 +00:00
sgehani%netscape.com
886543f6f2
Make file with no extension have correct type and creator info based on MIME type.
...
b = 64704; r = law; sr = sfraser
git-svn-id: svn://10.0.0.236/trunk@93747 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-03 01:12:15 +00:00
pinkerton%netscape.com
af1fcfd83e
tweaks to build under macosx. r=saari/sr=hyatt. bug#75653.
...
git-svn-id: svn://10.0.0.236/trunk@92339 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-15 04:58:22 +00:00
ccarlen%netscape.com
c301ab4a03
Bug 72129 - OpenANSIFIleDesc on Mac won't create new files.
...
r=beard@netscape.com , sr=sfraser@netscape.com
git-svn-id: svn://10.0.0.236/trunk@89948 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 01:13:20 +00:00
disttsc%bart.nl
d30c2be76b
Preparation of removing nsCString::GetBuffer. Landing everything but the actual commenting out of nsCString::GetBuffer. bug=64016, r=timeless, sr=scc
...
git-svn-id: svn://10.0.0.236/trunk@88396 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-02 09:26:57 +00:00
ccarlen%netscape.com
395017ccda
Bug 27857 - nsIFile not complete on Mac. Adding CopyToFollowingLinks(). r=sdagley@netscape.com, sr=sfraser@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@87987 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-26 15:22:17 +00:00
pchen%netscape.com
5ccee25513
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
...
git-svn-id: svn://10.0.0.236/trunk@86401 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 00:46:58 +00:00
pinkerton%netscape.com
17eed4b7e0
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
...
git-svn-id: svn://10.0.0.236/trunk@85798 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 01:35:16 +00:00
mscott%netscape.com
683f166536
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
git-svn-id: svn://10.0.0.236/trunk@85737 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-30 05:03:38 +00:00
ccarlen%netscape.com
f13f724282
Bug 54008 - nsIFile::MoveTo doesn't work according to API on Mac.
...
r=sdagley, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@85039 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-17 20:23:06 +00:00
ccarlen%netscape.com
fba774d9f3
Bug 51932 - Allow getting the FSSpec of a file which doesn't exist.
...
r=sdagley, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@83543 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-12 20:14:03 +00:00
ccarlen%netscape.com
6460e7e4a9
Bug 55891
...
r=brade, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@82610 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-14 15:58:54 +00:00
ccarlen%netscape.com
99a6b6477b
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.
...
git-svn-id: svn://10.0.0.236/trunk@81462 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-19 20:41:55 +00:00
warren%netscape.com
3aedef481f
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.
...
git-svn-id: svn://10.0.0.236/trunk@78857 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 08:05:13 +00:00
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