150 Commits

Author SHA1 Message Date
timeless%mozdev.org
af51e73d0e Bug 106386 Correct misspellings in source code
r=bernd rs=brendan


git-svn-id: svn://10.0.0.236/trunk@191013 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-23 09:36:43 +00:00
bsmedberg%covad.net
9dbcbaa07f Bug 320328 - Ts regression from bug 316416 (nsIModuleLoader) - cache the canonical (short) pathname (windows only), r=darin
git-svn-id: svn://10.0.0.236/trunk@187251 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-10 20:33:54 +00:00
bsmedberg%covad.net
a36acf65ba Bug 316732 followup - cache the calculated nsLocalFile hashcode on windows to avoid extra stat()s in the GetShortPathName function, r=darin
git-svn-id: svn://10.0.0.236/trunk@185955 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-12 14:07:41 +00:00
bsmedberg%covad.net
18e938131b Followup to bug 316732 - impls actually have to QI to the interface (pointed out by bz)
git-svn-id: svn://10.0.0.236/trunk@184931 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-18 20:12:46 +00:00
bsmedberg%covad.net
bbf7fb0c53 Bug 316732 - Allow for hashing on nsIFile by introducing a new nsIHashable interface and implementing it for the file types r=darin
git-svn-id: svn://10.0.0.236/trunk@184904 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-18 14:18:49 +00:00
darin%meer.net
1093b35b11 fixes bug 308369 "Stop copying stat cache when cloning nsIFile instances" r=josh sr=dougt
git-svn-id: svn://10.0.0.236/trunk@180149 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-13 22:08:52 +00:00
dougt%meer.net
8c4e2f1dda WinCE only. ShellExecute is now in the shunt lib, so I can remove a WINCE #define. Also, for process creation WinCE uses NSPR like a good child.... i wonder why the other platforms don't as well.
git-svn-id: svn://10.0.0.236/trunk@179552 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-02 18:00:23 +00:00
bsmedberg%covad.net
10d638b203 Bug 297312 - EM gets confused between multiple installations of the same version, r=darin+robstrong, self-approving per deerpark triage meeting.
git-svn-id: svn://10.0.0.236/trunk@176484 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-23 14:00:07 +00:00
bsmedberg%covad.net
025d273bae Bug 297312 - nsILocalFile (windows) .equals is case-sensitive, which is causing problems with contains() and relativedescriptors - I'm not going to commit the rest of that patch (nsIPersistentDescriptorService) until the code that uses it is also written r=shaver a=asa
git-svn-id: svn://10.0.0.236/trunk@175757 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-07 16:19:20 +00:00
bienvenu%nventure.com
f0ea07725c fix 254527 crash when using a symlink to a signature file, r/sr=darin, a=benjamin
git-svn-id: svn://10.0.0.236/trunk@175307 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-29 17:25:24 +00:00
darin%meer.net
a2354b4d36 fixes bug 231300 "nsLocalFile::MoveTo is very slow to move directories [Cause of disk trashing (on NT) when clearing cache?]" patch by alfredkayser@nl.ibm.com, r+sr=darin, a=asa
git-svn-id: svn://10.0.0.236/trunk@172764 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-27 04:38:21 +00:00
dbaron%dbaron.org
5fcf1dd8ac Fix const-ness of variables so this code compiles when _mbsstr and _mbschr are an overloaded pair of functions differing in constness, as seems to be the case on Visual Studio 2005. r=darin a=asa
git-svn-id: svn://10.0.0.236/trunk@172663 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-24 16:53:25 +00:00
ben%bengoodger.com
9c6d01071e 291177 - need interface for enumerating directories, implement nsIDirectoryEnumerator with close() method to free system resources after enumeration complete - used incorrect checkin comment for previous checkin which has the meat of the change! r+sr=darin a=brendan
git-svn-id: svn://10.0.0.236/trunk@172634 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-23 01:41:42 +00:00
ben%bengoodger.com
3b79325273 286034 - allow extensions to be installed/uninstalled by simply adding/removing their directories... r=bsmedberg, sr=darin, a=brendan
git-svn-id: svn://10.0.0.236/trunk@172633 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-23 01:39:51 +00:00
cbiesinger%web.de
24b0bb81d6 281343 show an error message when filenames are too long; and convert that error
to an nsresult
patch by Son Le <son.le0@gmail.com> r=biesi sr=darin


git-svn-id: svn://10.0.0.236/trunk@170100 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-02 18:16:37 +00:00
ben%bengoodger.com
4211826967 252189, XPCOM section:
add nsILocalFileWin interface and implementation with method to retrieve VERSIONINFO metadata from Windows binaries. r=dougt, sr=darin


git-svn-id: svn://10.0.0.236/trunk@169836 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-25 09:00:45 +00:00
dougt%meer.net
830c305229 nsLocalFileWin::IsExecutable needs to trim trailing dots. After talking with dbaron, we agreeded that we shouldn't mutate the object. r=dbaron, a=dveditz
git-svn-id: svn://10.0.0.236/trunk@169132 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-11 23:13:38 +00:00
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