Commit Graph

235 Commits

Author SHA1 Message Date
darin@netscape.com
cdd08719da fixes bug 129279 "nsIFile unicode/utf8/ascii task"
r=dougt sr=alecf
2002-04-27 05:33:09 +00:00
sspitzer@netscape.com
e7e258e0ca fix for #101527. moveTo() of directories leaves subdirectories behind on win2k.
r=dougt, sr=bienvenu
2002-04-25 18:56:04 +00:00
shanjian@netscape.com
7cc3e7926b #128154 Crash: opening non-ascii attachments
replace default "default char" from "?" to "_".
r=ftang, sr=alecf.
2002-04-16 04:10:54 +00:00
alecf@netscape.com
d483d47c6f fix for bug 124497 - leaking nsLocalFile objects - the copy constructor was copying the refcount to the new object
so the new object would always leak
r=dbradley, sr=darin, a=asa
2002-03-16 05:30:15 +00:00
blakeross@telocity.com
ecbc62455c 128667 - launch windows app picker dialog if file has no association. r=law sr=ben a=asa 2002-03-06 01:11:34 +00:00
law@netscape.com
27ad580964 Bug 106082; Adds code to select item in Explorer window for Reveal(); r=sgehani, sr=hyatt 2002-02-20 05:41:34 +00:00
timeless@mac.com
b6bcbb73d8 Bug 52037 w/ w95osr2 and beyond you can get freediskspace for a full path (eg UNC Paths).
The code will use the Ex API if available.
With this change the function should get the correct freespace numbers for submounts and junction points (introduced in w2k).

r=dougt sr=dveditz
2002-02-07 14:46:10 +00:00
dougt@netscape.com
4f2cc01ef9 Optimization which gathers stat() info when opening a file. bug 122523, r=dp@netscape.com, sr=dveditz@netscape.com 2002-02-06 20:40:40 +00:00
dougt@netscape.com
0b4e183acd backing out my optimization 2002-02-02 03:20:01 +00:00
dougt@netscape.com
e6fc7d3c9c fixes 122892. Optimization Clone of nsLocalFile. Instead of reiniting object, we use default c++ copy construction. r=ccarlen@netscape.com, sr=dveditz@netscape.com 2002-02-02 01:25:57 +00:00
alecf@netscape.com
f165b919cd windows side of fix to bug 100676 - remove xpcom dependency on uconv by switching to native locale-conversion routines
r=ccarlen, sr=dveditz
2002-01-31 21:55:01 +00:00
darin@netscape.com
3713da13c2 fixes bug 114778 "formpost temp files not cleaned up when browser exits"
patch=badami@netscape.com, r=rpotts@netscape.com, sr=darin@netscape.com
2002-01-26 00:38:37 +00:00
blakeross@telocity.com
8f73a13280 86979 - launch file after donwloading does not honor OS file associations. r=ben sr=hewitt 2002-01-14 05:24:49 +00:00
darin@netscape.com
aa0d321d1a these files no longer need to include nsEscape.h 2002-01-12 01:21:40 +00:00
alecf@netscape.com
0a41a9bd4d final fix for bug 100212 - removal final dependency on necko from xpcom by removing nsIFile.URL r=dougt, sr=darin Yay! 2002-01-09 20:03:46 +00:00
dougt@netscape.com
ed38182809 Fixes 116299 Reduce size of nsLocalFileWin by 2 ptrs by factoring out shortcut resolver. Also fixes crash 117258 caused by trying to create a file or directory to a nonexistant drive. sr=rpotts, dveditz for the first bug, and sr=darin, r=gagan for the second bug 2002-01-08 02:20:13 +00:00
timeless@mac.com
c16538ef81 Bugzilla Bug 106386 rid source of these misspellings: persistant persistance priviledge protocal editting editted targetted targetting
r='s from many people. sr=jst
2001-12-23 23:23:41 +00:00
dougt@netscape.com
32ebf7f11f nsIComponentManager API Changes (bug 98553)
a) create a new nsIComponentManager with only four functions on it:
CreateInstance CreateInstanceByContractID GetClassInfo GetClassInfoByContractID.

b) rename the old nsIComponentManager to nsIComponentManagerObsolete.

c) fixes callers which use to access the nsIComponentManager for component
registration functionality.  These callers will temporary use the
nsIComponentManagerObsolete interface.

d) Create a new API NS_GetComponentManager() which mirrors the
NS_GetServiceManager()

e) Perserves the old NS_GetGlobalComponentManager().  Note the cast usage.

r/sr = rpotts@netscape.com  alecf@netscape.com  brendan@mozilla.org
2001-12-19 00:12:41 +00:00
dougt@netscape.com
77755af7ac fixing a bad #ifdef r=me. sr=darin 2001-12-07 01:08:35 +00:00
pete@alphanumerica.com
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
timeless@mac.com
5408f70625 Bugzilla Bug 107823 change nsIFile
to use 'Modified' instead of 'Modification'
r=akkana sr=brendan
2001-11-26 08:05:05 +00:00
dp@netscape.com
7aca7cd240 Printing the dll name in the timeline r=sgehani, sr=sfraser 2001-11-17 20:23:48 +00:00
jaggernaut@netscape.com
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
pete@alphanumerica.com
6a2ea6f651 b=107823, r=ccarlen, sr=brendan
--pete
2001-11-01 00:11:15 +00:00
jaggernaut@netscape.com
15f2e61f30 Bug 81444: eliminate |null_nsCOMPtr|. Eliminating all callers, r=syd, rs=mozbot. 2001-10-07 10:58:39 +00:00
dougt@netscape.com
c32560cbe0 Trival change to fix 58792 submitted by jkobal@us.ibm.com 2001-09-05 03:51:38 +00:00
cathleen@netscape.com
aaab752d86 enable MOZ_TIMELINE tool, bug 78793, r=rogc, sr=waterson 2001-08-17 02:03:34 +00:00
pete@alphanumerica.com
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
dougt@netscape.com
8afc81e0b2 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.
2001-06-21 22:02:47 +00:00
syd@netscape.com
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
law@netscape.com
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
dougt@netscape.com
e2950eb1f5 Fixes 73797. Moves some initialization code up higher so that it does not have
to be called so much.

r=darin@Netscape.com
sr=waterson@netscape.com
2001-04-12 23:56:28 +00:00
disttsc@bart.nl
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
disttsc@bart.nl
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
dougt@netscape.com
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
mscott@netscape.com
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
mkaply@us.ibm.com
e8ca2ab5ca #56767
r/a=cls,leaf
Remove XP_PC - use XP_WIN or XP_OS2 explicitly
2000-11-28 23:27:38 +00:00
alecf@netscape.com
5829168abd fix for #45797 - fix NS_IMPL_ISUPPORTS consumers
r=dveditz a=self
2000-11-17 03:41:41 +00:00
warren@netscape.com
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
pavlov@netscape.com
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
bienvenu@netscape.com
e2732310a6 fix 48952 local file list of root windows directory broken r=dougt 2000-08-23 14:06:37 +00:00
scc@mozilla.org
5c33f514b0 fixing code that relied on implicit string construction 2000-08-20 07:33:54 +00:00
valeski@netscape.com
eaba73c516 raw pointer mlk fix. r=dougt 2000-08-01 22:57:58 +00:00
dougt@netscape.com
06e81d0065 46044 fixes ABR. submitted by jband@netscape.com. 2000-07-29 08:13:39 +00:00
conrad@ingress.com
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
dougt@netscape.com
571c5403a5 bug 40750.
Adding followSymlink flag to nsILocalFile.
Adjusting callers.
windows shortcut optimizations.
r=blizzard@mozilla.org.
a=brendan@mozilla.org
2000-07-12 23:31:31 +00:00
dougt@netscape.com
884046b69c nsIFile unique file creation is racy and insecure
bug 43314. a=brendan@mozilla.org
written by Robert O'Callahan <roc+moz@cs.cmu.edu>
2000-06-24 01:50:53 +00:00
warren@netscape.com
6a06dfc026 Renaming nsIAllocator to nsIMemory (and nsAllocator to nsMemory). API cleanup/freeze. Bug #18433 2000-06-03 09:46:12 +00:00
dougt@netscape.com
5a62202d1c Fixing 38767. Allows C: to be a valid path to InitWithPath(); 2000-05-17 00:29:59 +00:00
ssu@netscape.com
ec7bf0c68a fixing bug #37457. Xpinstall's File.dirRemove() is now working. 2000-05-16 22:01:59 +00:00