Commit Graph
66 Commits
Author SHA1 Message Date
[email protected] 92572bf08e b=112515, r=douft, sr=jst
remove spawn method from nsIFile.

/**
    Warning nsIFile API change
 */

--pete
2001-12-04 00:27:43 +00:00
[email protected] 5408f70625 Bugzilla Bug 107823 change nsIFile
to use 'Modified' instead of 'Modification'
r=akkana sr=brendan
2001-11-26 08:05:05 +00:00
[email protected] 7aca7cd240 Printing the dll name in the timeline r=sgehani, sr=sfraser 2001-11-17 20:23:48 +00:00
[email protected] 4b7cf8cd88 Bug 53057: Fixing up users of implicit |CharT*| conversion operators for nsCString to use |.get()| instead, rr=dbaron, rs=scc 2001-11-01 09:09:57 +00:00
[email protected] 6a2ea6f651 b=107823, r=ccarlen, sr=brendan
--pete
2001-11-01 00:11:15 +00:00
[email protected] 15f2e61f30 Bug 81444: eliminate |null_nsCOMPtr|. Eliminating all callers, r=syd, rs=mozbot. 2001-10-07 10:58:39 +00:00
[email protected] c32560cbe0 Trival change to fix 58792 submitted by [email protected] 2001-09-05 03:51:38 +00:00
[email protected] aaab752d86 enable MOZ_TIMELINE tool, bug 78793, r=rogc, sr=waterson 2001-08-17 02:03:34 +00:00
[email protected] 67b5dca391 Fix for nsIFile delete conflicts with JS reserved name b=37406, r=dougt, sr=jst
Renamed all Delete methods to Remove.

--pete
2001-07-24 18:38:25 +00:00
[email protected] 8afc81e0b2 Landing url parsing branch. 73845. [email protected], [email protected], [email protected].
This fixes many crashes caused by illegal uses of the nsStdURL.
This also allows a plugable protocol to provide their own url parser.
2001-06-21 22:02:47 +00:00
[email protected] c353cdfabc Fix for 85986. If we find a shortcut and we are not resolving it, it is ok to
return we found it. r=dougt, sr=mscott, a=drivers
2001-06-19 03:17:20 +00:00
[email protected] 7cdfe8b428 Bug 68279; tightens up IsExecutable() check in nsLocalFileWin to properly detect most dangerous executables; adds code to the two places in the UI where such files used to be executed to disable us doing that; r=mstoltz, sr=mscott 2001-05-23 06:03:59 +00:00
[email protected] e2950eb1f5 Fixes 73797. Moves some initialization code up higher so that it does not have
to be called so much.

[email protected]
[email protected]
2001-04-12 23:56:28 +00:00
[email protected] eca57dd082 Move nsCString from |operator char*()| to |get()| and |NS_CONST_CAST| where needed. bug=53057, r=dmose, sr=shaver 2001-03-20 05:37:56 +00:00
[email protected] e9399ed474 Preparation of removing nsCString::GetBuffer. Landing everything but the actual commenting out of nsCString::GetBuffer. bug=64016, r=timeless, sr=scc 2001-03-02 09:26:57 +00:00
[email protected] 545a93c69c Fixes 53152. Basically loosens the restrictions on appending relative paths on windows.
r=brendan/shaver,sr=alecf
2001-02-22 23:52:26 +00:00
[email protected] 333119bab5 Bug #63346 --> add methods for reveal and launch to a local file. Stub implementions for OS/2 and Unix right now.
r=conrad
sr=sspitzer
2001-01-30 05:02:48 +00:00
[email protected] e8ca2ab5ca #56767
r/a=cls,leaf
Remove XP_PC - use XP_WIN or XP_OS2 explicitly
2000-11-28 23:27:38 +00:00
[email protected] 5829168abd fix for #45797 - fix NS_IMPL_ISUPPORTS consumers
r=dveditz a=self
2000-11-17 03:41:41 +00:00
[email protected] 091d92ceb1 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. 2000-09-12 08:05:13 +00:00
[email protected] cb9674fe73 fix for crash when trying to get the parent file when the file was a drive r=dougt bug 50837 2000-09-01 07:36:55 +00:00
[email protected] e2732310a6 fix 48952 local file list of root windows directory broken r=dougt 2000-08-23 14:06:37 +00:00
[email protected] 5c33f514b0 fixing code that relied on implicit string construction 2000-08-20 07:33:54 +00:00
[email protected] eaba73c516 raw pointer mlk fix. r=dougt 2000-08-01 22:57:58 +00:00
[email protected] 06e81d0065 46044 fixes ABR. submitted by [email protected]. 2000-07-29 08:13:39 +00:00
[email protected] 09fbe88289 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 2000-07-17 15:03:05 +00:00
[email protected] 571c5403a5 bug 40750.
Adding followSymlink flag to nsILocalFile.
Adjusting callers.
windows shortcut optimizations.
[email protected].
[email protected]
2000-07-12 23:31:31 +00:00
[email protected] 884046b69c nsIFile unique file creation is racy and insecure
bug 43314. [email protected]
written by Robert O'Callahan <[email protected]>
2000-06-24 01:50:53 +00:00
[email protected] 6a06dfc026 Renaming nsIAllocator to nsIMemory (and nsAllocator to nsMemory). API cleanup/freeze. Bug #18433 2000-06-03 09:46:12 +00:00
[email protected] 5a62202d1c Fixing 38767. Allows C: to be a valid path to InitWithPath(); 2000-05-17 00:29:59 +00:00
[email protected] ec7bf0c68a fixing bug #37457. Xpinstall's File.dirRemove() is now working. 2000-05-16 22:01:59 +00:00
[email protected] 7c8e6dc7c5 Fixes bug 38553. Using usecs now. [email protected] 2000-05-09 19:11:14 +00:00
[email protected] 53f1fe2699 - Api nsILocalFile::AppendRelativePath() added to interface
- nsILocalFile::Append() returns error uniformly on all platforms if
more than one component of path is being appended.
2000-05-05 05:47:32 +00:00
[email protected] 05b219d972 check in fix for 37106. r=ftang. patched proposed by [email protected]
handle 0x5C properly by calling DBCSIsLeadByte function
2000-04-26 03:57:34 +00:00
[email protected] f9bb403aa8 fixing bug #36958. No longer makes the installer require a reboot at the end if replacing file that are *not* in use. 2000-04-25 02:39:42 +00:00
[email protected] a2fb078809 Necko API changes: primarily nsIChannel, changing initialization parameters to accessors. Got javascript: evaluation to happen at the right time (when AsyncRead is called) as well as on the right thread. 2000-03-29 03:58:50 +00:00
[email protected] 803a7c99c5 if people are going to insert four space tabs then let's set the Mode line's tab-width correctly 2000-03-28 05:01:05 +00:00
[email protected] b37a1e9751 Fixing nsIFile::SetLastModificationDate on Win32.
b = 12368
r = dbragg
2000-03-28 03:39:02 +00:00
[email protected] 1a08396e4f Fix for 33098. MoveTo and CopyTo do not rename if the |in| parent is null.
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.
2000-03-24 05:47:39 +00:00
[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