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
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
bug 43314. a=brendan@mozilla.org
written by Robert O'Callahan <roc+moz@cs.cmu.edu>
git-svn-id: svn://10.0.0.236/trunk@73142 18797224-902f-48f8-a5cc-f745e15eee43
- 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
I renamed the in parameter, and created a new stack var which I assign the
in parameter. If the var is null, I initial it with the |this| parent. I
also made sure that if null was passed, we would tree the action as a move.
git-svn-id: svn://10.0.0.236/trunk@63999 18797224-902f-48f8-a5cc-f745e15eee43
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
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
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
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 colin@theblakes.com for VMS.
r= valeski, pollmann, colin@theblakes
git-svn-id: svn://10.0.0.236/trunk@58810 18797224-902f-48f8-a5cc-f745e15eee43
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.
git-svn-id: svn://10.0.0.236/trunk@56352 18797224-902f-48f8-a5cc-f745e15eee43
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
to links being broken. r=shaver
more tweeks to get symlinks working correct on windows.
not part of the build yet.
git-svn-id: svn://10.0.0.236/trunk@55684 18797224-902f-48f8-a5cc-f745e15eee43