81 Commits

Author SHA1 Message Date
blakeross%telocity.com
a7f45cbbc0 128667 - launch windows app picker dialog if file has no association. r=law sr=ben a=asa
git-svn-id: svn://10.0.0.236/trunk@115898 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 01:11:34 +00:00
law%netscape.com
5b4ec5ba97 Bug 106082; Adds code to select item in Explorer window for Reveal(); r=sgehani, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@115048 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 05:41:34 +00:00
timeless%mac.com
b054da113d 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


git-svn-id: svn://10.0.0.236/trunk@113899 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 14:46:10 +00:00
dougt%netscape.com
9cf73ec70e Optimization which gathers stat() info when opening a file. bug 122523, r=dp@netscape.com, sr=dveditz@netscape.com
git-svn-id: svn://10.0.0.236/trunk@113817 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 20:40:40 +00:00
dougt%netscape.com
bb7377d5e8 backing out my optimization
git-svn-id: svn://10.0.0.236/trunk@113502 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-02 03:20:01 +00:00
dougt%netscape.com
154c1a0782 fixes 122892. Optimization Clone of nsLocalFile. Instead of reiniting object, we use default c++ copy construction. r=ccarlen@netscape.com, sr=dveditz@netscape.com
git-svn-id: svn://10.0.0.236/trunk@113489 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-02 01:25:57 +00:00
alecf%netscape.com
0a5545c945 windows side of fix to bug 100676 - remove xpcom dependency on uconv by switching to native locale-conversion routines
r=ccarlen, sr=dveditz


git-svn-id: svn://10.0.0.236/trunk@113366 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-31 21:55:01 +00:00
darin%netscape.com
bbbf7288b3 fixes bug 114778 "formpost temp files not cleaned up when browser exits"
patch=badami@netscape.com, r=rpotts@netscape.com, sr=darin@netscape.com


git-svn-id: svn://10.0.0.236/trunk@112917 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-26 00:38:37 +00:00
blakeross%telocity.com
57cf280c62 86979 - launch file after donwloading does not honor OS file associations. r=ben sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@112052 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-14 05:24:49 +00:00
darin%netscape.com
59c63dba70 these files no longer need to include nsEscape.h
git-svn-id: svn://10.0.0.236/trunk@111998 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-12 01:21:40 +00:00
alecf%netscape.com
f6d3d22234 final fix for bug 100212 - removal final dependency on necko from xpcom by removing nsIFile.URL r=dougt, sr=darin Yay!
git-svn-id: svn://10.0.0.236/trunk@111722 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-09 20:03:46 +00:00
dougt%netscape.com
6b5bff699c 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
git-svn-id: svn://10.0.0.236/trunk@111541 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-08 02:20:13 +00:00
timeless%mac.com
21c081c8bc Bugzilla Bug 106386 rid source of these misspellings: persistant persistance priviledge protocal editting editted targetted targetting
r='s from many people. sr=jst


git-svn-id: svn://10.0.0.236/trunk@111049 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-23 23:23:41 +00:00
dougt%netscape.com
c01e94cad7 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


git-svn-id: svn://10.0.0.236/trunk@110748 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-19 00:12:41 +00:00
dougt%netscape.com
fd0bdbee9c fixing a bad #ifdef r=me. sr=darin
git-svn-id: svn://10.0.0.236/trunk@109925 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 01:08:35 +00:00
pete%alphanumerica.com
14973255e8 b=112515, r=douft, sr=jst
remove spawn method from nsIFile.

/**
    Warning nsIFile API change
 */

--pete


git-svn-id: svn://10.0.0.236/trunk@109584 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 00:27:43 +00:00
timeless%mac.com
535b6f20f2 Bugzilla Bug 107823 change nsIFile
to use 'Modified' instead of 'Modification'
r=akkana sr=brendan


git-svn-id: svn://10.0.0.236/trunk@108891 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-26 08:05:05 +00:00
dp%netscape.com
0a03dd13ac Printing the dll name in the timeline r=sgehani, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@108388 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-17 20:23:48 +00:00
jaggernaut%netscape.com
640c7f02ab Bug 53057: Fixing up users of implicit |CharT*| conversion operators for nsCString to use |.get()| instead, rr=dbaron, rs=scc
git-svn-id: svn://10.0.0.236/trunk@106946 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-01 09:09:57 +00:00
pete%alphanumerica.com
3c4492f3e0 b=107823, r=ccarlen, sr=brendan
--pete


git-svn-id: svn://10.0.0.236/trunk@106886 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-01 00:11:15 +00:00
jaggernaut%netscape.com
bf7774eb72 Bug 81444: eliminate |null_nsCOMPtr|. Eliminating all callers, r=syd, rs=mozbot.
git-svn-id: svn://10.0.0.236/trunk@104764 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-07 10:58:39 +00:00
dougt%netscape.com
120f1da920 Trival change to fix 58792 submitted by jkobal@us.ibm.com
git-svn-id: svn://10.0.0.236/trunk@102264 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 03:51:38 +00:00
cathleen%netscape.com
f541238cb0 enable MOZ_TIMELINE tool, bug 78793, r=rogc, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@101263 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-17 02:03:34 +00:00
pete%alphanumerica.com
63991fa7da Fix for nsIFile delete conflicts with JS reserved name b=37406, r=dougt, sr=jst
Renamed all Delete methods to Remove.

--pete


git-svn-id: svn://10.0.0.236/trunk@99803 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-24 18:38:25 +00:00
dougt%netscape.com
5c5c39e4be 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.


git-svn-id: svn://10.0.0.236/trunk@97696 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-21 22:02:47 +00:00
syd%netscape.com
665130c153 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


git-svn-id: svn://10.0.0.236/trunk@97403 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-19 03:17:20 +00:00
law%netscape.com
7570ceb65c 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
git-svn-id: svn://10.0.0.236/trunk@95811 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-23 06:03:59 +00:00
dougt%netscape.com
2971a81712 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


git-svn-id: svn://10.0.0.236/trunk@92132 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-12 23:56:28 +00:00
disttsc%bart.nl
a863c06732 Move nsCString from |operator char*()| to |get()| and |NS_CONST_CAST| where needed. bug=53057, r=dmose, sr=shaver
git-svn-id: svn://10.0.0.236/trunk@89879 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-20 05:37:56 +00:00
disttsc%bart.nl
d30c2be76b Preparation of removing nsCString::GetBuffer. Landing everything but the actual commenting out of nsCString::GetBuffer. bug=64016, r=timeless, sr=scc
git-svn-id: svn://10.0.0.236/trunk@88396 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-02 09:26:57 +00:00
dougt%netscape.com
c838c4676c Fixes 53152. Basically loosens the restrictions on appending relative paths on windows.
r=brendan/shaver,sr=alecf


git-svn-id: svn://10.0.0.236/trunk@87718 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-22 23:52:26 +00:00
mscott%netscape.com
d36ff4d4a0 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


git-svn-id: svn://10.0.0.236/trunk@85736 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-30 05:02:48 +00:00
mkaply%us.ibm.com
0b0abb10e4 #56767
r/a=cls,leaf
Remove XP_PC - use XP_WIN or XP_OS2 explicitly


git-svn-id: svn://10.0.0.236/trunk@82990 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-28 23:27:38 +00:00
alecf%netscape.com
13743894ed fix for #45797 - fix NS_IMPL_ISUPPORTS consumers
r=dveditz a=self


git-svn-id: svn://10.0.0.236/trunk@82722 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-17 03:41:41 +00:00
warren%netscape.com
3aedef481f 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.
git-svn-id: svn://10.0.0.236/trunk@78857 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 08:05:13 +00:00
pavlov%netscape.com
5910b8f817 fix for crash when trying to get the parent file when the file was a drive r=dougt bug 50837
git-svn-id: svn://10.0.0.236/trunk@77860 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 07:36:55 +00:00
bienvenu%netscape.com
b2f31906a0 fix 48952 local file list of root windows directory broken r=dougt
git-svn-id: svn://10.0.0.236/trunk@76963 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 14:06:37 +00:00
scc%mozilla.org
693a4a3f1e fixing code that relied on implicit string construction
git-svn-id: svn://10.0.0.236/trunk@76754 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-20 07:33:54 +00:00
valeski%netscape.com
a3f4aa3885 raw pointer mlk fix. r=dougt
git-svn-id: svn://10.0.0.236/trunk@75349 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-01 22:57:58 +00:00
dougt%netscape.com
438b051bb2 46044 fixes ABR. submitted by jband@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@75154 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-29 08:13:39 +00:00
conrad%ingress.com
14ebd77604 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


git-svn-id: svn://10.0.0.236/trunk@74318 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-17 15:03:05 +00:00
dougt%netscape.com
db2c70c95b bug 40750.
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
2000-07-12 23:31:31 +00:00
dougt%netscape.com
b4fae1275b nsIFile unique file creation is racy and insecure
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
2000-06-24 01:50:53 +00:00
warren%netscape.com
cc5d426fbe Renaming nsIAllocator to nsIMemory (and nsAllocator to nsMemory). API cleanup/freeze. Bug #18433
git-svn-id: svn://10.0.0.236/trunk@71450 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-03 09:46:12 +00:00
dougt%netscape.com
d1bb62f1df Fixing 38767. Allows C: to be a valid path to InitWithPath();
git-svn-id: svn://10.0.0.236/trunk@70208 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 00:29:59 +00:00
ssu%netscape.com
3236750692 fixing bug #37457. Xpinstall's File.dirRemove() is now working.
git-svn-id: svn://10.0.0.236/trunk@70107 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 22:01:59 +00:00
dougt%netscape.com
6036715cd7 Fixes bug 38553. Using usecs now. r=sgehani@netscape.com
git-svn-id: svn://10.0.0.236/trunk@68864 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 19:11:14 +00:00
dp%netscape.com
09f87e1345 - Api nsILocalFile::AppendRelativePath() added to interface
- 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
2000-05-05 05:47:32 +00:00
ftang%netscape.com
823c799e12 check in fix for 37106. r=ftang. patched proposed by m_kato@ga2.so-net.ne.jp
handle 0x5C properly by calling DBCSIsLeadByte function


git-svn-id: svn://10.0.0.236/trunk@67185 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 03:57:34 +00:00
ssu%netscape.com
9f6aa50f41 fixing bug #36958. No longer makes the installer require a reboot at the end if replacing file that are *not* in use.
git-svn-id: svn://10.0.0.236/trunk@67046 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 02:39:42 +00:00