Commit Graph
327 Commits
Author SHA1 Message Date
a1e982ddfb Back out the back out from bug 414901 until bug 415218 is fixed, or else we'll have very broken nightlies. :( 2008-02-01 00:51:29 -08:00
eddf0face9 Bug 414901, back out scriptable IO api, r+sr=bsmedberg,a=beltzner 2008-01-31 11:18:07 -08:00
f73ff59098 Bug 402460 CreateUnique is very slow and returns bogus error for write-protected directory r=bsmedberg a=mtschrep 2007-11-12 01:24:32 -08:00
a928a64b75 Bug 372298 - xpcom/io: 10K codesize reduction by fixing string array p=Alfred Kayser <[email protected]> r+a=bsmedberg 2007-09-02 14:57:11 -07:00
ecfc8e2e4f Bug 375778 - Read-Only Files Changed to Read-Write p=Simon Bunzli (busy) <[email protected]> r=dougt, sr=bsmedberg, a=bz 2007-09-02 14:50:48 -07:00
de884c0691 Bug 380813, improve scriptable io, and give file objects class info, meant to check this in a while ago, r=mfinkle,bsmedberg,sr=bsmedberg 2007-07-25 09:53:37 -07:00
98de634631 Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros. 2007-07-08 00:08:04 -07:00
f76bb92ded Fixing bug 383769. nsLocalFile::EnsureShortPath should check if GetShortPathNameW failed. [email protected] 2007-06-27 01:36:03 -07:00
9d89f5881b Bug 373640 - nsIFile.parent throws an exception on reaching top of file system on Windows -- should return null. r=bsmedberg 2007-03-25 00:28:06 -07:00
[email protected] dbc7877f43 supplimental fix for bug #364599: some newly created profile files are write protected, for example bookmarks.html
in addtion to fixing the permissions of bookmarks.html, we need to fix the permissions of the bookmark.html.moztmp file, otherwise we'll still fail to modify bookmarks.

r=dveditz
2007-01-20 01:28:33 +00:00
[email protected] 047aa8634e Bug 361351: nsIFile.exists() should throw NOT_INITIALIZED if nsIFile is not initialized, patch by Ryan Jones <[email protected]>, r+sr=darin 2006-12-16 14:55:00 +00:00
[email protected] 9b51f12e06 Sync executable extension list w/Outlook (bug 348763) r/sr=dougt, a=pavlov 2006-11-30 04:36:21 +00:00
[email protected] f0d889926c bug 359808 : drop support Win 9x/ME in xpcom/io (r/sr=darin) 2006-11-24 01:02:56 +00:00
[email protected] a7a0bc1136 bug 359808 : drop support for Win 9x/ME (r/sr=darin) 2006-11-16 00:59:55 +00:00
[email protected] 1e97d4c2ce 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
[email protected] f4e8139fe2 bug 344630: "mojibake" in download dialog (relanding with a bustage fix) 2006-09-15 02:56:02 +00:00
[email protected] 19acb43928 back out the patch for bug 344630 2006-09-15 01:52:09 +00:00
[email protected] 3c55fabbf4 bug 344630 : "Mojibake" in file download dialog : r/sr=darin 2006-09-14 18:34:17 +00:00
[email protected] 8527f14c94 Enable Reveal and Launch for WINCE. r=me, b=342172 2006-06-23 21:38:38 +00:00
[email protected] 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
[email protected] eef694afc0 Fix mingw cross-compile & static build bustage
Bug #333941 r=bsmedberg
2006-04-14 22:59:21 +00:00
[email protected] 7e8e56a78e fixing typos in comment 2006-04-10 23:43:12 +00:00
[email protected] 76425cb049 fixes bug 333212 "SetLastModifiedTime does not work correctly on windows" patch by [email protected], r+sr=darin 2006-04-10 18:29:41 +00:00
[email protected] 877822a290 bug 332123: ] nsLocalFileWin::AppendRelativeNativePath broken with multiple path components r/sr=darin 2006-03-29 17:14:07 +00:00
[email protected] 91b34b1c14 bug 331453 : downloading a binary file results in a corrupted (truncated) file : r/sr=darin 2006-03-26 15:34:40 +00:00
[email protected] 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
[email protected] 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
[email protected] 9ced5b09ba Bug 106386 Correct misspellings in source code
r=bernd rs=brendan
2006-02-23 09:36:43 +00:00
[email protected] 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
[email protected] 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
[email protected] 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
[email protected] 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
[email protected] a22499d126 fixes bug 308369 "Stop copying stat cache when cloning nsIFile instances" r=josh sr=dougt 2005-09-13 22:08:52 +00:00
[email protected] 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
[email protected] 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
[email protected] 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
[email protected] 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
[email protected] 529d7ceec4 fixes bug 231300 "nsLocalFile::MoveTo is very slow to move directories [Cause of disk trashing (on NT) when clearing cache?]" patch by [email protected], r+sr=darin, a=asa 2005-04-27 04:38:21 +00:00
[email protected] 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
[email protected] 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
[email protected] 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
[email protected] 7ea59605c0 281343 show an error message when filenames are too long; and convert that error
to an nsresult
patch by Son Le <[email protected]> r=biesi sr=darin
2005-03-02 18:16:37 +00:00
[email protected] 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
[email protected] 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
[email protected] fb1e25dc8d nsLocalFileWin::IsExecutable needs to trim trailing dots. Fixes bug 267828. r=dbaron, a=dveditz 2005-02-11 22:11:45 +00:00
[email protected] d7b3a079b2 bug 280245. WinCE build and support changes. r=darin 2005-01-30 21:33:47 +00:00
[email protected] 934266e347 Make people that want empty strings use EmptyC?String(). Bug 232691, patch by
Daniel Kraft <[email protected]>, r=jst, sr=bzbarsky
2005-01-04 19:31:31 +00:00
[email protected] 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
[email protected] dcb73e2517 bug 148704: directories should always return PR_TRUE from IsWritable(), r=darin sr=dougt 2004-07-29 23:25:32 +00:00
[email protected] 4ddbe2911c bug 187957: implement nsIFile.normalize for windows and os/2, r=darin sr=dougt 2004-07-29 15:08:25 +00:00