Commit Graph
327 Commits
Author SHA1 Message Date
[email protected] 847e3246cb Fixing SetModificationTime based on MS documentation. It is still failing, but
this is documented to work:

http://support.microsoft.com/support/kb/articles/Q167/2/96.ASP
2000-03-22 01:37:52 +00:00
[email protected] 0fe2ad9a6e fix for 28942 nsILocalFile::Exists() returns a FILE_NOT_FOUND error.
[email protected]
2000-03-14 05:11:02 +00:00
[email protected] f893513a91 removed calls to deprecated string methods 2000-03-12 09:14:14 +00:00
[email protected] 06453ad9de Bug 29250. PR_GetFileInfo64() expects a 'root' path on Win32 to have a trailing slash; e.g., it will accept 'c:\\', but not 'c:'. Ensure that, if we ever see a naked drive letter, we'll append a trailing backslash to make something that NSPR understands. r=dveditz, a=jevering 2000-03-08 02:53:04 +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] e10ce77908 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.
2000-02-22 06:16:08 +00:00
[email protected] 90c5c0e363 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
2000-02-21 21:51:47 +00:00
[email protected] 5799600420 fix windows build bustage 2000-02-17 16:08:53 +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] 2ca6ce87ea Fix from warren to check for the return val of Clone.
Also adding extra ('s around a arguably confusing if statement
r=warren
2000-02-11 04:50:23 +00:00
[email protected] 6bbebaba78 Since we are only getting information about this file, we should no pass the
GENERIC_READ flag.
2000-01-31 23:07:35 +00:00
[email protected] 6a0ba8d99e Changing IsContainedIn to contains. Reverting to prior version. 2000-01-29 00:00:21 +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] e72ee7dd7c 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.
2000-01-28 06:17:06 +00:00
[email protected] 81655bfd43 Fixes 25272 and most likely 25274. r=dougt. 2000-01-27 20:06:23 +00:00
[email protected] 14337819f9 All of these are broken. Alway double check submission/suggestions. 2000-01-27 04:35:44 +00:00
[email protected] 93b2943de8 Removing Windows95 compiler #ifdef in place of a runtime check
Fixing bug 25152 submitted by [email protected].

windows only changes.
2000-01-27 01:52:02 +00:00
[email protected] 179a4849ea xpcom/io changes,
Fixes bug 25028.
Added new dirty flag so that resolutions can be purged.
checked in VC5 fix from pollmann and jband
checked in fix from [email protected] for VMS.

r= valeski, pollmann, colin@theblakes
2000-01-26 21:55:13 +00:00
[email protected] d48ec37751 Landing nsIFile. 2000-01-24 21:28:28 +00:00
[email protected] 324726c714 Adding include of prlink.h to nsILocalFile.idl.
remove a bad semicolon in nsLocalFileWin

above not in build.

Adding an explict include of nsCRT to nsPipe2.cpp

this is in the build, but is trival.
1999-12-22 04:11:13 +00:00
[email protected] f9f3c8c48e implement load().
not part of build.
1999-12-22 03:01:08 +00:00
[email protected] 059ed9f7e4 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.
1999-12-22 01:56:45 +00:00
[email protected] 54ee2d6511 fix file truncation on windows, was breaking pop filters, r=dougt, a=chofmann 20634 1999-12-10 23:33:30 +00:00
[email protected] 1c19c8c240 removing MoveToFollowingLinks(). It was discussed that was not needed due
to links being broken. r=shaver

more tweeks to get symlinks working correct on windows.

not part of the build yet.
1999-12-08 02:07:38 +00:00
[email protected] e67c71d84c 13320 more tweaking to nsIFile windows impl.
not part of build yet.
1999-12-07 23:31:25 +00:00
[email protected] 65bd2ccfdf renamed from the hated nsISomethingImpl. 1999-12-04 01:13:44 +00:00