477 Commits

Author SHA1 Message Date
sfraser%netscape.com
75a394e31c Followon from a checkin I did yesterday to fix bugs 29521 and 29827 (a=jar); this part fixes an assertion that happened with empty form fields. r=kin
git-svn-id: svn://10.0.0.236/trunk@62064 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-02 19:36:15 +00:00
mkaply%us.ibm.com
c7e80aa6ea # 25555
r= dougt@netscape.com
OS/2 changes for Mozilla - add #ifdef, change #ifdef


git-svn-id: svn://10.0.0.236/trunk@61894 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-29 21:27:02 +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
rjc%netscape.com
04cfa0ed7b Fix PDT+ bug # 6770: be able to get filenames from the file system in the platform native charset.
Patch from m_kato@ga2.so-net.ne.jp
Review: ftang, dougt, and myself.
Approval: jar


git-svn-id: svn://10.0.0.236/trunk@61723 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-26 02:19:34 +00:00
cls%seawood.org
db52c80337 Explicitly cast mPath to const char* as some compilers can't automatically cast from nxXPIDLCString to char * .
git-svn-id: svn://10.0.0.236/trunk@61705 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-26 00:13:30 +00:00
cls%seawood.org
8b786c221d Implement the equivalent of Unix's realpath() for BeOS. Build blocker. a=leaf
git-svn-id: svn://10.0.0.236/trunk@61548 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-24 00:48:30 +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
dougt%netscape.com
bb7f9cc62a Caused a regression in the nsLocalFile. If ResolveAndStat fails, we want
to return the NS_ERROR_FILE_NOT_FOUND value, not the NS_ERROR_FAILURE value.
a=jar.


git-svn-id: svn://10.0.0.236/trunk@61424 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-22 06:16:08 +00:00
dougt%netscape.com
4390acb783 Added a .get() to a comptr to make it compile on linux.
git-svn-id: svn://10.0.0.236/trunk@61392 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-21 22:09:24 +00:00
dougt%netscape.com
6cea14f715 Fixes for 28257, 21628, 27076, 18186, 25584
1) Implement nsDirectoryService.  This makes the service extensible so that
components can do delayed registration.

2) Fixes windows Append meathod which did not work with . prepended files.

3) Fixes memory leaks in nsDirectoryService

4) Fixes SetPermissions() on Win32.  This was in my tree for a while.  It basically
calls through to chmod just like on unix.

5) Fixes GetModificationDate. Win32 now return PRTime for dates.

r = scc, valeski, warren, wtc (suggestions)
a = jevering


git-svn-id: svn://10.0.0.236/trunk@61389 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-21 21:51:47 +00:00
cls%seawood.org
8260bc5e34 More tweaks needed to get BeOS to compile for M14. For now, we use the Unix local file implementation. a,r=leaf
git-svn-id: svn://10.0.0.236/trunk@61216 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-17 20:24:24 +00:00
blizzard%redhat.com
6289913285 fix windows build bustage
git-svn-id: svn://10.0.0.236/trunk@61205 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-17 16:08:53 +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
dougt%netscape.com
abce61c08d Optimization for shortcut resolution. r=dveditz.
git-svn-id: svn://10.0.0.236/trunk@60924 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-15 21:28:13 +00:00
mkaply%us.ibm.com
2568a9a911 # 25555
r= jdunn@netscape.com
OS/2 changes for Mozilla


git-svn-id: svn://10.0.0.236/trunk@60888 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-15 15:32:46 +00:00
dougt%netscape.com
a70995a6fc checking in makefile to build the interface nsIDirectoryService
git-svn-id: svn://10.0.0.236/trunk@60440 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-11 05:12:20 +00:00
dougt%netscape.com
de1ecad85d removing unneed file. r=smfr.
git-svn-id: svn://10.0.0.236/trunk@60439 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-11 05:09:18 +00:00
dougt%netscape.com
51593d848e first checking
git-svn-id: svn://10.0.0.236/trunk@60436 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-11 05:04:53 +00:00
dougt%netscape.com
fad7a57b1a Fix from warren to check for the return val of Clone.
Also adding extra ('s around a arguably confusing if statement
r=warren


git-svn-id: svn://10.0.0.236/trunk@60433 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-11 04:50:23 +00:00
rhp%netscape.com
e83df3736a Fix to escape quotes along with the other special characters - Bug #: 27039 - r: bienvenu
git-svn-id: svn://10.0.0.236/trunk@60403 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-11 01:32:20 +00:00
nhotta%netscape.com
d93c3cf8c0 Added a function to return path name in unicode, contributed by m_kato@ga2.so-net.ne.jp, edited by nhotta, bug 22863, r=ftang.
git-svn-id: svn://10.0.0.236/trunk@60365 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-11 01:08:56 +00:00
colin%theblakes.com
f814a9456d Only a read of 0 means EOF. r=dougt
git-svn-id: svn://10.0.0.236/trunk@60343 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-11 00:50:58 +00:00
colin%theblakes.com
a06111f25f Make filespec comparisons case-blind for OpenVMS. Fix build problem for OpenVMS. r=dougt
git-svn-id: svn://10.0.0.236/trunk@60319 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-10 10:54:55 +00:00
dp%netscape.com
e8ff09e36c Fixing build bustage.
git-svn-id: svn://10.0.0.236/trunk@60219 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-09 08:47:51 +00:00
dougt%netscape.com
8405fac6f4 Making unix act like the rest of the platforms. It now return zero for the
size if the nsIFile is really a directory.


git-svn-id: svn://10.0.0.236/trunk@60214 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-09 08:09:35 +00:00
dougt%netscape.com
403b826558 Fix for bug 26816. submitted by bns_robson@hotmail.com. windows only.
memory leak fix.


git-svn-id: svn://10.0.0.236/trunk@60065 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-08 04:25:00 +00:00
dveditz%netscape.com
68359dd41b added quoting so we can execute windows files with spaces in their names -- such as anything in a subdir of 'Program Files'
git-svn-id: svn://10.0.0.236/trunk@59938 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-06 10:09:16 +00:00
sdagley%netscape.com
a9dab47115 Added comment warning that the file size attribute only deals with the data fork on the Mac and point to Mac specific interface for dealing with the size of the combined forks. r=none as this is just cleanup.
git-svn-id: svn://10.0.0.236/trunk@59797 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-04 23:06:56 +00:00
dougt%netscape.com
802f0584a1 Empowering the world. Bug. 25374, basically we create a directory without
the correct permission.
r=racham&&mozbot.


git-svn-id: svn://10.0.0.236/trunk@59793 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-04 22:57:37 +00:00
mscott%netscape.com
86330f79ee Back out the changes to the pipe code to fix regression bugs: 26533 and one i forgot the number of. =)
r=warren
a=leaf


git-svn-id: svn://10.0.0.236/trunk@59785 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-04 21:45:46 +00:00
warren%netscape.com
9d42d7f278 Fix for bug 24996 - moving file creation from nsStreamXferOp into nsFileTransport where it belongs. r=mscott
git-svn-id: svn://10.0.0.236/trunk@59754 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-04 08:33:17 +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
sfraser%netscape.com
9023d84036 Test that the filespec has been initialized, before using it to delete entire directory trees. Blocker. r=Ben_Goodger, a=leaf
git-svn-id: svn://10.0.0.236/trunk@59658 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-03 20:49:40 +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
91d041c0be bug fix 25626. r=tor@cs.brown.edu
git-svn-id: svn://10.0.0.236/trunk@59299 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-31 23:09:14 +00:00
dougt%netscape.com
90484f9667 Since we are only getting information about this file, we should no pass the
GENERIC_READ flag.


git-svn-id: svn://10.0.0.236/trunk@59298 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-31 23:07:35 +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
0bf3bafe38 Changing IsContainedIn to contains. Reverting to prior version.
git-svn-id: svn://10.0.0.236/trunk@59131 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-29 00:00:21 +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
87bba9868a Changing CID format. r=dveditz
git-svn-id: svn://10.0.0.236/trunk@59114 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 23:38:20 +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
sspitzer%netscape.com
a1bc4260a6 fix build breakage on platforms with out ENOLINK
r=Pascal Hofstee <daeron@shadowmere.student.utwente.nl> and r=leaf


git-svn-id: svn://10.0.0.236/trunk@59095 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 23:09:58 +00:00
dougt%netscape.com
ec6ebc495d Removing WIN API which requires windows 98 or better. Fixes 25101, and
others.  I erronously checked in a fix which still linked with this non-win95
API.  So, now I am just defaulting to standard GetFileAttributes() and doing
away with the EX version.


git-svn-id: svn://10.0.0.236/trunk@59028 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 06:17:06 +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
pollmann%netscape.com
2af954496b Fix VC 5.0 build bustage r=dougt, harishd
git-svn-id: svn://10.0.0.236/trunk@58972 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 00:41:06 +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