dougt%meer.net
7430419967
nsLocalFileWin::IsExecutable needs to trim trailing dots. Fixes bug 267828. r=dbaron, a=dveditz
...
git-svn-id: svn://10.0.0.236/trunk@169126 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-11 22:11:45 +00:00
dougt%meer.net
e01d005842
bug 280245. WinCE build and support changes. r=darin
...
git-svn-id: svn://10.0.0.236/trunk@168534 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-30 21:33:47 +00:00
bzbarsky%mit.edu
6cc2aafe00
Make people that want empty strings use EmptyC?String(). Bug 232691, patch by
...
Daniel Kraft <d@daniel-kraft.net>, r=jst, sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@167258 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-04 19:31:31 +00:00
timeless%mozdev.org
36bfd3d2ba
Bug 251749 use initializers for ShortcutResolver::ShortcutResolver() and nsLocalFile::nsLocalFile() and clobber mFileInfo64
...
r=darin sr=darin
(changing style per darin)
git-svn-id: svn://10.0.0.236/trunk@160211 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-02 06:10:37 +00:00
brofield%jellycan.com
21c3f1e317
bug 148704: directories should always return PR_TRUE from IsWritable(), r=darin sr=dougt
...
git-svn-id: svn://10.0.0.236/trunk@160094 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-29 23:25:32 +00:00
brofield%jellycan.com
746c0a5d90
bug 187957: implement nsIFile.normalize for windows and os/2, r=darin sr=dougt
...
git-svn-id: svn://10.0.0.236/trunk@160053 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-29 15:08:25 +00:00
timeless%mozdev.org
fc9a67a907
Bug 237094 [W] UMC: Uninitialized memory copy in nsLocalFile::nsLocalFile(nsLocalFile const&) {1 occurrence}
...
r=dougt
git-svn-id: svn://10.0.0.236/trunk@159824 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-25 05:39:26 +00:00
darin%meer.net
0c7e3a2622
fixes regression caused by patch for bug 243473. patch by Brodie Thiesfield, r+sr=darin
...
git-svn-id: svn://10.0.0.236/trunk@158486 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-25 17:27:24 +00:00
darin%meer.net
6c32749348
fixes bug 243473 "nsLocalFileWin shortcut resolver does more work than necessary" patch by brofield@jellycan.com r=darin sr=dougt
...
git-svn-id: svn://10.0.0.236/trunk@158034 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-17 16:37:25 +00:00
roc+%cs.cmu.edu
0b0fa89131
Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin
...
git-svn-id: svn://10.0.0.236/trunk@157992 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-17 00:13:25 +00:00
neil%parkwaycc.co.uk
c71b8d4ccc
Bug 156422 Win32's nsILocalFile.reveal() doesn't select file p=dean_tessman r=law (tweaked by brofield@jellycan.com r=me) sr=alecf
...
git-svn-id: svn://10.0.0.236/trunk@157300 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-02 08:19:42 +00:00
roc+%cs.cmu.edu
bdc7e5f59b
Bug 226439. Convert Seamonkey to EqualsLiteral. rs=darin
...
git-svn-id: svn://10.0.0.236/trunk@156785 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-22 22:15:22 +00:00
bienvenu%nventure.com
d8f597fc44
back out part of patch in bug 241708 that breaks mailnews dirs on a different drive, r/sr/a=sspitzer
...
git-svn-id: svn://10.0.0.236/trunk@156648 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-20 17:46:35 +00:00
cls%seawood.org
cb94f1e341
Make code more standards compliant to build with mingw gcc 3.4.0.
...
Bug #243273 r=bsmedberg sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@156343 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-13 04:08:34 +00:00
dougt%meer.net
b94b908037
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
...
git-svn-id: svn://10.0.0.236/trunk@156221 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-11 03:36:01 +00:00
timeless%mozdev.org
b197588868
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
git-svn-id: svn://10.0.0.236/trunk@155682 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-29 08:16:50 +00:00
gerv%gerv.net
210853d71e
Bug 236613: change to MPL/LGPL/GPL tri-license.
...
git-svn-id: svn://10.0.0.236/trunk@155067 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 14:21:17 +00:00
cbiesinger%web.de
879e156280
fix compile warnings in nsLocalFileWin, r=dougt bug 239298
...
git-svn-id: svn://10.0.0.236/trunk@154816 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-13 19:30:51 +00:00
darin%meer.net
6d7fab1144
fixes bug 239405 "strchr, strrchr, etc. implicit const_cast can cause problems for shared string buffers" r=bienvenu sr=dbaron a=chofmann
...
git-svn-id: svn://10.0.0.236/trunk@154485 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-03 17:16:17 +00:00
bzbarsky%mit.edu
5caaf30c88
Add .scr to list of "executable" extensions. Wallpaper for bug 191460,
...
r=biesi, sr=darin, a=chofmann.
git-svn-id: svn://10.0.0.236/trunk@154395 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-30 23:53:05 +00:00
timeless%mozdev.org
e11bb7a3e8
Bug 209110 GetNativeTarget() function under win32 returns extra '\\'
...
esp for volume root
patch by Dainis_Jonitis@swh-t.lv r=dougt
git-svn-id: svn://10.0.0.236/trunk@153427 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-02 11:17:27 +00:00
bryner%brianryner.com
16b26bbf1b
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.
...
git-svn-id: svn://10.0.0.236/trunk@152655 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-11 06:19:03 +00:00
bryner%brianryner.com
b5ccad4460
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.
...
git-svn-id: svn://10.0.0.236/trunk@151359 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-15 06:14:18 +00:00
brendan%mozilla.org
ce7e98de2c
Follow the modeline, please.
...
git-svn-id: svn://10.0.0.236/trunk@147439 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-29 18:15:52 +00:00
cbiesinger%web.de
8dd5a08649
Bug 220406 nsLocalFileWin::Launch should return more specific errors
...
convert the specific return values to nsresult-errorcodes.
r=dougt sr=darin
git-svn-id: svn://10.0.0.236/trunk@147361 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-27 14:37:16 +00:00
cbiesinger%web.de
f06e5ad44e
bug 220257. treat .hta files as executables
...
r=darin sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@147328 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-26 12:56:49 +00:00
bryner%brianryner.com
c81aa21722
Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan.
...
git-svn-id: svn://10.0.0.236/trunk@146626 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-08 00:31:50 +00:00
darin%meer.net
d87c18324b
fixes bug 210588 "Cancelling download of .lnk file deletes target of .lnk file" r=dougt sr=bryner a=asa
...
git-svn-id: svn://10.0.0.236/trunk@146303 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-25 18:28:10 +00:00
mkaply%us.ibm.com
64242301f9
#214152
...
r=pedemont, sr=bz
Handle unicode conversion failure better
git-svn-id: svn://10.0.0.236/trunk@145282 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-28 21:02:45 +00:00
dwitte%stanford.edu
8480c7c032
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.
git-svn-id: svn://10.0.0.236/trunk@144961 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-18 22:14:16 +00:00
timeless%mozdev.org
f1f6532817
Bug 187031 [nsLocalFileWin] nsLocalFile::Remove returns os remove values (-1) as nsresults
...
r=dougt sr=darin
git-svn-id: svn://10.0.0.236/trunk@143899 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-18 23:19:11 +00:00
darin%netscape.com
4fec9c864a
fixes bug 162025 "UNC Based Profiles don't work" r=dougt sr=dbaron a=asa
...
git-svn-id: svn://10.0.0.236/trunk@142454 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-14 21:56:49 +00:00
dougt%netscape.com
1692de2512
using strnicmp instead. r=darin
...
git-svn-id: svn://10.0.0.236/trunk@141362 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-18 05:43:41 +00:00
dougt%netscape.com
ea5682a29c
bug 202480. Windows doesn't care about case. ::Contains must not either. r=darin
...
git-svn-id: svn://10.0.0.236/trunk@141349 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-18 00:48:38 +00:00
cls%seawood.org
7eb198d87a
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 #134113 r=dougt
git-svn-id: svn://10.0.0.236/trunk@139321 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-12 08:35:57 +00:00
cls%seawood.org
609a196b54
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 #134113 r=dougt sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@139083 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-07 06:07:56 +00:00
dbaron%dbaron.org
6ed727cbe8
Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
...
git-svn-id: svn://10.0.0.236/trunk@136028 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 23:19:20 +00:00
neeti%netscape.com
f3e05e1045
fix for bug 163941-resolving shorcuts, r=rpotts,sr=darin
...
git-svn-id: svn://10.0.0.236/trunk@134488 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-26 21:37:58 +00:00
neeti%netscape.com
1806c8fb3d
fix for bug 150156 - nsIFile's moveTo method does not overwrite existing files,r=dougt@netscape.com, sr=brendan@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@133747 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-13 14:04:51 +00:00
darin%netscape.com
d0afbbaf0e
fixes bug 166612 "implement NS_CopyNativeToUnicode / NS_CopyUnicodeToNative
...
on all platforms" r=dougt sr=alecf
git-svn-id: svn://10.0.0.236/trunk@131251 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-06 00:29:46 +00:00
bryner%netscape.com
1da7619ee4
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.
...
git-svn-id: svn://10.0.0.236/trunk@130202 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-21 08:26:02 +00:00
dougt%netscape.com
e289284076
166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
...
git-svn-id: svn://10.0.0.236/trunk@129050 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-07 17:13:19 +00:00
darin%netscape.com
bc335a29e4
fixes bug 151843 "nsIFile::Append inconsistent across platforms" r=dougt sr=alecf
...
git-svn-id: svn://10.0.0.236/trunk@128751 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-03 22:40:45 +00:00
dougt%netscape.com
ecdd8ab65f
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
git-svn-id: svn://10.0.0.236/trunk@125444 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-18 05:09:10 +00:00
neeti%netscape.com
29dc4eb3d1
fix for bug 142629 - [win32 only] recursive copy / move errors are not properly bubbled up, r=dougt, sr=sspitzer
...
git-svn-id: svn://10.0.0.236/trunk@122684 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-04 18:47:37 +00:00
dougt%netscape.com
c6a6d9af87
Fixes top crash in M1RC3 crash [@ nsLocalFile::GetPath], r=rpotts@netscape.com, sr=darin@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@122522 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-03 01:47:11 +00:00
darin%netscape.com
24feadaaed
fixes bug 142870 "nsIFile should use UCS-2 instead of UTF-8"
...
r=dougt sr=alecf
git-svn-id: svn://10.0.0.236/trunk@121010 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 23:07:19 +00:00
shanjian%netscape.com
bfcfeac51a
#141877 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
git-svn-id: svn://10.0.0.236/trunk@120956 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 20:09:07 +00:00
darin%netscape.com
824def02af
fixes bug 129279 "nsIFile unicode/utf8/ascii task"
...
r=dougt sr=alecf
git-svn-id: svn://10.0.0.236/trunk@120092 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-27 05:33:09 +00:00
sspitzer%netscape.com
b67360adf9
fix for #101527 . moveTo() of directories leaves subdirectories behind on win2k.
...
r=dougt, sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@119836 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 18:56:04 +00:00