122 Commits

Author SHA1 Message Date
roc+%cs.cmu.edu
0e3ff503fb Bug 226439. Convert Seamonkey to EqualsLiteral. rs=darin 2004-05-22 22:15:22 +00:00
bienvenu%nventure.com
6a42626115 back out part of patch in bug 241708 that breaks mailnews dirs on a different drive, r/sr/a=sspitzer 2004-05-20 17:46:35 +00:00
cls%seawood.org
790477e161 Make code more standards compliant to build with mingw gcc 3.4.0.
Bug  r=bsmedberg sr=dbaron
2004-05-13 04:08:34 +00:00
dougt%meer.net
9e4c35fa1b Fix for 239160. updated the list of extensions which are considered executable to match that of what Microsoft does for IE. r=darin, sr=bienvenu@nventure.com 2004-05-11 03:36:01 +00:00
timeless%mozdev.org
a1a7a8aecc Bug 241708 nsIFile support for unc paths is almost entirely broken
Handle local computer (\\.) allowing enumeration of local drives, and
access to local computer from local drives via |parent|. The parent of
local computer is null.

r=darin sr=darin
2004-04-29 08:16:50 +00:00
gerv%gerv.net
31625ba2b1 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:21:17 +00:00
cbiesinger%web.de
d1fa5bd076 fix compile warnings in nsLocalFileWin, r=dougt bug 239298 2004-04-13 19:30:51 +00:00
darin%meer.net
11b4c2f2d6 fixes bug 239405 "strchr, strrchr, etc. implicit const_cast can cause problems for shared string buffers" r=bienvenu sr=dbaron a=chofmann 2004-04-03 17:16:17 +00:00
bzbarsky%mit.edu
8935698b6f Add .scr to list of "executable" extensions. Wallpaper for bug 191460,
r=biesi, sr=darin, a=chofmann.
2004-03-30 23:53:05 +00:00
timeless%mozdev.org
1ac7c0cb72 Bug 209110 GetNativeTarget() function under win32 returns extra '\\'
esp for volume root
patch by Dainis_Jonitis@swh-t.lv r=dougt
2004-03-02 11:17:27 +00:00
bryner%brianryner.com
85dbf281fb Change a few more destructors in XPCOM to be non-virtual, and comment destructors that need to be virtual. Bug 229875, r=dougt, sr=dbaron. 2004-02-11 06:19:03 +00:00
bryner%brianryner.com
0c7c3a2ff3 Bug 229875 - eliminate unnecssary public/virtual destructors. This patch changes all refcounted classes under xpcom/, which aren't inherited from or used on the stack, to have private, nonvirtual destructors. r=dougt, sr=dbaron. 2004-01-15 06:14:18 +00:00
brendan%mozilla.org
b51d49fa43 Follow the modeline, please. 2003-09-29 18:15:52 +00:00
cbiesinger%web.de
3b612aeecf Bug 220406 nsLocalFileWin::Launch should return more specific errors
convert the specific return values to nsresult-errorcodes.

r=dougt sr=darin
2003-09-27 14:37:16 +00:00
cbiesinger%web.de
3c71a4ee64 bug 220257. treat .hta files as executables
r=darin sr=bzbarsky
2003-09-26 12:56:49 +00:00
bryner%brianryner.com
06c7c1b2b4 Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan. 2003-09-08 00:31:50 +00:00
darin%meer.net
f13b43b311 fixes bug 210588 "Cancelling download of .lnk file deletes target of .lnk file" r=dougt sr=bryner a=asa 2003-08-25 18:28:10 +00:00
mkaply%us.ibm.com
6c13a8f4d9
r=pedemont, sr=bz
Handle unicode conversion failure better
2003-07-28 21:02:45 +00:00
dwitte%stanford.edu
9ae54e162c Bug 122892: nsLocalFile::Clone should preserve stat info.
make nsLocalFile* impls use copy constructors for their nsIFile::Clone methods.
This avoids unnecessary |stat| calls inherent in using NS_NewNativeLocalFile.

b=122892, r=dougt, sr=darin, with many thanks to biesi & mkaply for testing on other
plats.
2003-07-18 22:14:16 +00:00
timeless%mozdev.org
4942b03239 Bug 187031 [nsLocalFileWin] nsLocalFile::Remove returns os remove values (-1) as nsresults
r=dougt sr=darin
2003-06-18 23:19:11 +00:00
darin%netscape.com
ac836dfcc2 fixes bug 162025 "UNC Based Profiles don't work" r=dougt sr=dbaron a=asa 2003-05-14 21:56:49 +00:00
dougt%netscape.com
130c3dec24 using strnicmp instead. r=darin 2003-04-18 05:43:41 +00:00
dougt%netscape.com
5f9d31938b bug 202480. Windows doesn't care about case. ::Contains must not either. r=darin 2003-04-18 00:48:38 +00:00
cls%seawood.org
040b1e64c2 Remove bogus mingw & win16 ifdefs from plevent.h
Add stub declaration for _mbstr which isn't defined in the current mingw headers but is present in the libs.
Fix GRE definition of XPCOM_DLL for mingw.
Bug  r=dougt
2003-03-12 08:35:57 +00:00
cls%seawood.org
d1079607df XP code changes required for mingw landing.
Add NS_STDCALL macros for functions that require stdcall declarations.
Add NS_STDCALL_FUNCPROTO macro for stdcall function prototype typedefs.
Bug  r=dougt sr=dbaron
2003-03-07 06:07:56 +00:00
dbaron%dbaron.org
b9083989bb Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag 2003-01-08 23:19:20 +00:00
neeti%netscape.com
535ca56710 fix for bug 163941-resolving shorcuts, r=rpotts,sr=darin 2002-11-26 21:37:58 +00:00
neeti%netscape.com
3a6bc812ca fix for bug 150156 - nsIFile's moveTo method does not overwrite existing files,r=dougt@netscape.com, sr=brendan@mozilla.org 2002-11-13 14:04:51 +00:00
darin%netscape.com
cc875aa945 fixes bug 166612 "implement NS_CopyNativeToUnicode / NS_CopyUnicodeToNative
on all platforms" r=dougt sr=alecf
2002-10-06 00:29:46 +00:00
bryner%netscape.com
726d60d0e1 Fix a problem with the prefs file being deleted at shutdown on Windows, introduced by the checkin for bug 164190. Windows' implementation of nsLocalFile::CopyMove was assuming that a null parent directory meant we should always rename - not true. r=hewitt, sr=brendan. 2002-09-21 08:26:02 +00:00
dougt%netscape.com
68faeb5241 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com 2002-09-07 17:13:19 +00:00
darin%netscape.com
4cf9b72205 fixes bug 151843 "nsIFile::Append inconsistent across platforms" r=dougt sr=alecf 2002-09-03 22:40:45 +00:00
dougt%netscape.com
c2ec17237f Fixes the following:
154047
This change cleans up the category manager in hopes to freeze it for 1.1 final.  This change removes dead and unsupported methods from the interface as well as removes the C++ code from the interface.  This should land for 1.1b since users of the current category manager will have to update their components.

157597
Make embedding base and examples use XPCOM Glue
This change makes our embedding samples use the XPCOM glue.

157625
nsLocalFile::Remove's file pointer is sometimes null afte...
This fixes a crash when we dereference null.  It is a bandaide fix as the real problems involves retooling the directory enumerator.

157801
This fixes a terrible state which you can get into whereby XPCOM will fail to startup regardless of what you do.  The fix is to cause autoreg to happen if the component registry (compreg.dat) is not found.

r/sr=alecf@netscape.com, rpotts@netscape.com.  a=scc@mozilla.org
2002-07-18 05:09:10 +00:00
neeti%netscape.com
8b9e37be96 fix for bug 142629 - [win32 only] recursive copy / move errors are not properly bubbled up, r=dougt, sr=sspitzer 2002-06-04 18:47:37 +00:00
dougt%netscape.com
41451434dd Fixes top crash in M1RC3 crash [@ nsLocalFile::GetPath], r=rpotts@netscape.com, sr=darin@netscape.com 2002-06-03 01:47:11 +00:00
darin%netscape.com
6fd5862e6e fixes bug 142870 "nsIFile should use UCS-2 instead of UTF-8"
r=dougt sr=alecf
2002-05-07 23:07:19 +00:00
shanjian%netscape.com
d2a268fe04 file:// protocol does not display non ASCII folder name under cjk window system
use mbsrchr to check if the last char in patch is '\'
r=dougt, sr=alecf
2002-05-07 20:09:07 +00:00
darin%netscape.com
e554d83626 fixes bug 129279 "nsIFile unicode/utf8/ascii task"
r=dougt sr=alecf
2002-04-27 05:33:09 +00:00
sspitzer%netscape.com
b4293a3227 fix for . moveTo() of directories leaves subdirectories behind on win2k.
r=dougt, sr=bienvenu
2002-04-25 18:56:04 +00:00
shanjian%netscape.com
a1a1517f87 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
f9de1f9460 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
4e4b80e712 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
1f2dafaf8c 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
240333fdfc 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
9659a6ca32 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
48c22e5ce4 backing out my optimization 2002-02-02 03:20:01 +00:00
dougt%netscape.com
97c85e367d 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
b5f9b30d70 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
d0cddf5d96 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
fe74df5263 86979 - launch file after donwloading does not honor OS file associations. r=ben sr=hewitt 2002-01-14 05:24:49 +00:00