Commit Graph

258 Commits

Author SHA1 Message Date
dveditz@cruzio.com
96f8198cfe Bug 284219: add EnsureStringLength() helper function to nsReadableUtils.h to
simplify OOM checks when growing an nsAString. r/sr=darin
2006-06-22 19:07:30 +00:00
cls@seawood.org
eef694afc0 Fix mingw cross-compile & static build bustage
Bug #333941 r=bsmedberg
2006-04-14 22:59:21 +00:00
darin@meer.net
7e8e56a78e fixing typos in comment 2006-04-10 23:43:12 +00:00
darin@meer.net
76425cb049 fixes bug 333212 "SetLastModifiedTime does not work correctly on windows" patch by kovalchuk77@list.ru, r+sr=darin 2006-04-10 18:29:41 +00:00
jshin@mailaps.org
877822a290 bug 332123: ] nsLocalFileWin::AppendRelativeNativePath broken with multiple path components r/sr=darin 2006-03-29 17:14:07 +00:00
jshin@mailaps.org
91b34b1c14 bug 331453 : downloading a binary file results in a corrupted (truncated) file : r/sr=darin 2006-03-26 15:34:40 +00:00
jshin@mailaps.org
638e378e02 bug 162361 : fix a 'typo' in the previous check-in. The line in question should have been left alone, but it's changed in the previous check-in by mistake. r/sr=darin 2006-03-24 07:30:22 +00:00
jshin@mailaps.org
6b845d1f75 bug 162361 : Unicode file i/o in XPCOM/IO (cannot open files whose names contain characters outside the current locale: e.g. Japanese/Chinese on French Windows) : r/sr=darin, r=bsmedberg 2006-03-22 04:26:30 +00:00
timeless@mozdev.org
9ced5b09ba Bug 106386 Correct misspellings in source code
r=bernd rs=brendan
2006-02-23 09:36:43 +00:00
bsmedberg@covad.net
e58da8bee7 Bug 320328 - Ts regression from bug 316416 (nsIModuleLoader) - cache the canonical (short) pathname (windows only), r=darin 2006-01-10 20:33:54 +00:00
bsmedberg@covad.net
bd6c151805 Bug 316732 followup - cache the calculated nsLocalFile hashcode on windows to avoid extra stat()s in the GetShortPathName function, r=darin 2005-12-12 14:07:41 +00:00
bsmedberg@covad.net
e374cbf6a3 Followup to bug 316732 - impls actually have to QI to the interface (pointed out by bz) 2005-11-18 20:12:46 +00:00
bsmedberg@covad.net
ecab683408 Bug 316732 - Allow for hashing on nsIFile by introducing a new nsIHashable interface and implementing it for the file types r=darin 2005-11-18 14:18:49 +00:00
darin@meer.net
a22499d126 fixes bug 308369 "Stop copying stat cache when cloning nsIFile instances" r=josh sr=dougt 2005-09-13 22:08:52 +00:00
dougt@meer.net
000176cf9e 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. 2005-09-02 18:00:23 +00:00
bsmedberg@covad.net
cedfa20a9d Bug 297312 - EM gets confused between multiple installations of the same version, r=darin+robstrong, self-approving per deerpark triage meeting. 2005-07-23 14:00:07 +00:00
bsmedberg@covad.net
9947828377 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 2005-07-07 16:19:20 +00:00
bienvenu@nventure.com
2aff5eb01c fix 254527 crash when using a symlink to a signature file, r/sr=darin, a=benjamin 2005-06-29 17:25:24 +00:00
darin@meer.net
529d7ceec4 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 2005-04-27 04:38:21 +00:00
dbaron@dbaron.org
6282f3d47b 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 2005-04-24 16:53:25 +00:00
ben@bengoodger.com
ecde10e786 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 2005-04-23 01:41:42 +00:00
ben@bengoodger.com
ee02f00619 286034 - allow extensions to be installed/uninstalled by simply adding/removing their directories... r=bsmedberg, sr=darin, a=brendan 2005-04-23 01:39:51 +00:00
cbiesinger@web.de
7ea59605c0 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
2005-03-02 18:16:37 +00:00
ben@bengoodger.com
9cca4f8f27 252189, XPCOM section:
add nsILocalFileWin interface and implementation with method to retrieve VERSIONINFO metadata from Windows binaries. r=dougt, sr=darin
2005-02-25 09:00:45 +00:00
dougt@meer.net
30101b8985 nsLocalFileWin::IsExecutable needs to trim trailing dots. After talking with dbaron, we agreeded that we shouldn't mutate the object. r=dbaron, a=dveditz 2005-02-11 23:13:38 +00:00
dougt@meer.net
fb1e25dc8d nsLocalFileWin::IsExecutable needs to trim trailing dots. Fixes bug 267828. r=dbaron, a=dveditz 2005-02-11 22:11:45 +00:00
dougt@meer.net
d7b3a079b2 bug 280245. WinCE build and support changes. r=darin 2005-01-30 21:33:47 +00:00
bzbarsky@mit.edu
934266e347 Make people that want empty strings use EmptyC?String(). Bug 232691, patch by
Daniel Kraft <d@daniel-kraft.net>, r=jst, sr=bzbarsky
2005-01-04 19:31:31 +00:00
timeless@mozdev.org
8a7aa0e58d Bug 251749 use initializers for ShortcutResolver::ShortcutResolver() and nsLocalFile::nsLocalFile() and clobber mFileInfo64
r=darin sr=darin
(changing style per darin)
2004-08-02 06:10:37 +00:00
brofield@jellycan.com
dcb73e2517 bug 148704: directories should always return PR_TRUE from IsWritable(), r=darin sr=dougt 2004-07-29 23:25:32 +00:00
brofield@jellycan.com
4ddbe2911c bug 187957: implement nsIFile.normalize for windows and os/2, r=darin sr=dougt 2004-07-29 15:08:25 +00:00
timeless@mozdev.org
5487208c2e Bug 237094 [W] UMC: Uninitialized memory copy in nsLocalFile::nsLocalFile(nsLocalFile const&) {1 occurrence}
r=dougt
2004-07-25 05:39:26 +00:00
darin@meer.net
4198495425 fixes regression caused by patch for bug 243473. patch by Brodie Thiesfield, r+sr=darin 2004-06-25 17:27:24 +00:00
darin@meer.net
5dcd7af52c fixes bug 243473 "nsLocalFileWin shortcut resolver does more work than necessary" patch by brofield@jellycan.com r=darin sr=dougt 2004-06-17 16:37:25 +00:00
roc+@cs.cmu.edu
d9edea9d71 Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin 2004-06-17 00:13:25 +00:00
neil@parkwaycc.co.uk
82018837bd Bug 156422 Win32's nsILocalFile.reveal() doesn't select file p=dean_tessman r=law (tweaked by brofield@jellycan.com r=me) sr=alecf 2004-06-02 08:19:42 +00:00
roc+@cs.cmu.edu
6b0210f601 Bug 226439. Convert Seamonkey to EqualsLiteral. rs=darin 2004-05-22 22:15:22 +00:00
bienvenu@nventure.com
4124615a61 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
8a9eeddad7 Make code more standards compliant to build with mingw gcc 3.4.0.
Bug #243273 r=bsmedberg sr=dbaron
2004-05-13 04:08:34 +00:00
dougt@meer.net
69a21bdc38 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
9e817483fc 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
c0cd46fc51 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:21:17 +00:00
cbiesinger@web.de
9e6f597f82 fix compile warnings in nsLocalFileWin, r=dougt bug 239298 2004-04-13 19:30:51 +00:00
darin@meer.net
20cf8361af 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
6ffdfe3cd6 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
fffed61eb3 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
3f7cfca91f 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
3736b6e206 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
cefbf0e2dd Follow the modeline, please. 2003-09-29 18:15:52 +00:00
cbiesinger@web.de
fc15400e82 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