Граф коммитов

216 Коммитов

Автор SHA1 Сообщение Дата
dveditz%cruzio.com 109a2a098e Sync executable extension list w/Outlook (bug 348763) r/sr=dougt, a=pavlov 2006-11-30 04:36:21 +00:00
jshin%mailaps.org 705ac0cfe6 bug 359808 : drop support Win 9x/ME in xpcom/io (r/sr=darin) 2006-11-24 01:02:56 +00:00
jshin%mailaps.org 1a85765ae5 bug 359808 : drop support for Win 9x/ME (r/sr=darin) 2006-11-16 00:59:55 +00:00
joshmoz%gmail.com e8b317b9f3 Since some platforms do string operations within local file ::Load, we shouldn't declare that objects being created/destroyed from static ctor/dtor is not legal throughout the entire ::Load function. That only needs to be true around the actual PR_LoadLibrary calls. Fixing this stops the ridiculous amount of warning output that we get from every debug mac build. Also removing unused old mac local file impls. b=326837 r=bsmedberg 2006-11-14 22:06:00 +00:00
jshin%mailaps.org fbb15ad31a bug 344630: "mojibake" in download dialog (relanding with a bustage fix) 2006-09-15 02:56:02 +00:00
jshin%mailaps.org 3d99f5abe6 back out the patch for bug 344630 2006-09-15 01:52:09 +00:00
jshin%mailaps.org 006997ce62 bug 344630 : "Mojibake" in file download dialog : r/sr=darin 2006-09-14 18:34:17 +00:00
dougt%meer.net 7910a4cc61 Enable Reveal and Launch for WINCE. r=me, b=342172 2006-06-23 21:38:38 +00:00
dveditz%cruzio.com 506140bd0c 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 74ac97fd84 Fix mingw cross-compile & static build bustage
Bug #333941 r=bsmedberg
2006-04-14 22:59:21 +00:00
darin%meer.net 395bbbe780 fixing typos in comment 2006-04-10 23:43:12 +00:00
darin%meer.net 142de300a7 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 8b173290a1 bug 332123: ] nsLocalFileWin::AppendRelativeNativePath broken with multiple path components r/sr=darin 2006-03-29 17:14:07 +00:00
jshin%mailaps.org 8374ad507b 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 a647f3b7f9 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 ebc7ee6742 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 1ce5986f6b Bug 106386 Correct misspellings in source code
r=bernd rs=brendan
2006-02-23 09:36:43 +00:00
bsmedberg%covad.net 1092713530 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 4163d2e195 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 bc63a700d1 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 c0af4ff1aa 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 b0aabfef01 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 e93cdcb4c3 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 178f20a738 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 d4eafe5027 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 e56010a35b 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 fe124c3ced 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 2e4c523536 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 d5b6769604 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 b9725a8b1a 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 5dd7f9a4e8 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 85f22a376c 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 c4de13a48c 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 a5553f58a0 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 55eb21a1ac bug 280245. WinCE build and support changes. r=darin 2005-01-30 21:33:47 +00:00
bzbarsky%mit.edu 99df5c71c0 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 1d75a049ee 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 4221b9c089 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 a37f425a12 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 658be9afd5 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 0ba4af6e92 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 0a20fabb63 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 0f4150a4e5 Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin 2004-06-17 00:13:25 +00:00
neil%parkwaycc.co.uk f3b448e4ef 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 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 #243273 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 #214152
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 #134113 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 #134113 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 #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
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 #101527. moveTo() of directories leaves subdirectories behind on win2k.
r=dougt, sr=bienvenu
2002-04-25 18:56:04 +00:00
shanjian%netscape.com a1a1517f87 #128154 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
darin%netscape.com b7c1f99a52 these files no longer need to include nsEscape.h 2002-01-12 01:21:40 +00:00
alecf%netscape.com 63991ddfde final fix for bug 100212 - removal final dependency on necko from xpcom by removing nsIFile.URL r=dougt, sr=darin Yay! 2002-01-09 20:03:46 +00:00
dougt%netscape.com 92eaa0797b 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 2002-01-08 02:20:13 +00:00
timeless%mac.com 61a97fd94a Bugzilla Bug 106386 rid source of these misspellings: persistant persistance priviledge protocal editting editted targetted targetting
r='s from many people. sr=jst
2001-12-23 23:23:41 +00:00
dougt%netscape.com 849d297364 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
2001-12-19 00:12:41 +00:00
dougt%netscape.com 480bd7781e fixing a bad #ifdef r=me. sr=darin 2001-12-07 01:08:35 +00:00