185 Commits

Author SHA1 Message Date
dveditz%cruzio.com
f36dd2dd96 bug 452217 make Create() error code match unix, r=neil, sr=bsmedberg, a=ss
git-svn-id: svn://10.0.0.236/trunk@255115 18797224-902f-48f8-a5cc-f745e15eee43
2008-11-19 06:19:27 +00:00
blassey%mozilla.com
135828a746 backing out: switching narrow char system calls to wide char in windows b=418703
git-svn-id: svn://10.0.0.236/trunk@247585 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-11 22:46:32 +00:00
blassey%mozilla.com
8ccd9a7db0 switching narrow char system calls to wide char in windows b=418703 r=bsmedberg r=dougt also looked at by stuart and roc a=beltzner and a=damon
git-svn-id: svn://10.0.0.236/trunk@247573 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-11 21:49:58 +00:00
timeless%mozdev.org
475da0c03b Bug 419326 Crashes in Main Tab of Options [@ _wgetdcwd - nsLocalFile::Normalize]
r=bsmedberg a=beltzner


git-svn-id: svn://10.0.0.236/trunk@247555 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-11 17:46:48 +00:00
blassey%mozilla.com
ca294d36ae backing out b=418703, caused test 40118 to fail on WINNT 5.2 qm-win2k3-01 dep unit test tinderbox
git-svn-id: svn://10.0.0.236/trunk@247139 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-05 22:56:48 +00:00
blassey%mozilla.com
e7090aa85c switching windows narrow char system calls to wide char b=418703 r=bsmedberg a=beltzner
git-svn-id: svn://10.0.0.236/trunk@247132 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-05 21:39:35 +00:00
dougt%meer.net
d2f5437178 Fixes for Windows CE. b=418662, r=bsmedberg, a=damons
git-svn-id: svn://10.0.0.236/trunk@246329 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-23 00:22:48 +00:00
reed%reedloden.com
8896b171fd Bug 414901 - "Back out scriptable IO" [p=neil@mozilla.com (Neil Deakin) r+sr=bsmedberg a1.9b3=beltzner]
git-svn-id: svn://10.0.0.236/trunk@244767 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-02 02:07:51 +00:00
reed%reedloden.com
2613c692bf Back out the back out from bug 414901 until bug 415218 is fixed, or else we'll have very broken nightlies. :(
git-svn-id: svn://10.0.0.236/trunk@244656 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-01 08:51:32 +00:00
enndeakin%sympatico.ca
4d284ecef7 Bug 414901, back out scriptable IO api, r+sr=bsmedberg,a=beltzner
git-svn-id: svn://10.0.0.236/trunk@244609 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-31 19:18:09 +00:00
neil%parkwaycc.co.uk
e26c1ccfbe Bug 402460 CreateUnique is very slow and returns bogus error for write-protected directory r=bsmedberg a=mtschrep
git-svn-id: svn://10.0.0.236/trunk@239194 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-12 09:24:32 +00:00
asqueella%gmail.com
149eee17b3 Bug 372298 - xpcom/io: 10K codesize reduction by fixing string array
p=Alfred Kayser <alfredkayser@nl.ibm.com>
r+a=bsmedberg


git-svn-id: svn://10.0.0.236/trunk@233758 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-02 21:57:11 +00:00
asqueella%gmail.com
1c566151d6 Bug 375778 - Read-Only Files Changed to Read-Write
p=Simon Bunzli (busy) <zeniko@gmail.com>
r=dougt, sr=bsmedberg, a=bz


git-svn-id: svn://10.0.0.236/trunk@233756 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-02 21:50:48 +00:00
enndeakin%sympatico.ca
7982dc0d36 Bug 380813, improve scriptable io, and give file objects class info, meant to check this in a while ago, r=mfinkle,bsmedberg,sr=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@230940 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-25 16:53:39 +00:00
jwalden%mit.edu
dda6ff3c99 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.
git-svn-id: svn://10.0.0.236/trunk@229504 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-08 07:08:56 +00:00
jwatt%jwatt.org
3039ca67d8 Fixing bug 383769. nsLocalFile::EnsureShortPath should check if GetShortPathNameW failed. r=benjamin@smedbergs.us
git-svn-id: svn://10.0.0.236/trunk@228829 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-27 08:36:03 +00:00
jwalden%mit.edu
3aa1dfb759 Bug 373640 - nsIFile.parent throws an exception on reaching top of file system on Windows -- should return null. r=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@222344 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-25 07:28:06 +00:00
sspitzer%mozilla.org
00ca127988 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


git-svn-id: svn://10.0.0.236/trunk@218692 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-20 01:28:33 +00:00
gavin%gavinsharp.com
bccaa15503 Bug 361351: nsIFile.exists() should throw NOT_INITIALIZED if nsIFile is not initialized, patch by Ryan Jones <sciguyryan+bugzilla@gmail.com>, r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@217060 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-16 14:55:00 +00:00
dveditz%cruzio.com
99da3d9a95 Sync executable extension list w/Outlook (bug 348763) r/sr=dougt, a=pavlov
git-svn-id: svn://10.0.0.236/trunk@216141 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-30 04:36:21 +00:00
jshin%mailaps.org
46531d3b27 bug 359808 : drop support Win 9x/ME in xpcom/io (r/sr=darin)
git-svn-id: svn://10.0.0.236/trunk@215776 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-24 01:02:56 +00:00
jshin%mailaps.org
12f38f5ea7 bug 359808 : drop support for Win 9x/ME (r/sr=darin)
git-svn-id: svn://10.0.0.236/trunk@215339 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-16 00:59:55 +00:00
joshmoz%gmail.com
a124bbcf35 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
git-svn-id: svn://10.0.0.236/trunk@215283 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-14 22:06:00 +00:00
jshin%mailaps.org
c595f7d5a9 bug 344630: "mojibake" in download dialog (relanding with a bustage fix)
git-svn-id: svn://10.0.0.236/trunk@211772 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-15 02:56:02 +00:00
jshin%mailaps.org
2ab1128787 back out the patch for bug 344630
git-svn-id: svn://10.0.0.236/trunk@211763 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-15 01:52:09 +00:00
jshin%mailaps.org
6fcd6e0af8 bug 344630 : "Mojibake" in file download dialog : r/sr=darin
git-svn-id: svn://10.0.0.236/trunk@211710 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-14 18:34:17 +00:00
dougt%meer.net
a5583106c2 Enable Reveal and Launch for WINCE. r=me, b=342172
git-svn-id: svn://10.0.0.236/trunk@200734 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-23 21:38:38 +00:00
dveditz%cruzio.com
f869942298 Bug 284219: add EnsureStringLength() helper function to nsReadableUtils.h to
simplify OOM checks when growing an nsAString. r/sr=darin


git-svn-id: svn://10.0.0.236/trunk@200610 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-22 19:07:30 +00:00
cls%seawood.org
7b54f3005e Fix mingw cross-compile & static build bustage
Bug #333941 r=bsmedberg


git-svn-id: svn://10.0.0.236/trunk@194439 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-14 22:59:21 +00:00
darin%meer.net
43eaf218c1 fixing typos in comment
git-svn-id: svn://10.0.0.236/trunk@194078 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-10 23:43:12 +00:00
darin%meer.net
94f60d7965 fixes bug 333212 "SetLastModifiedTime does not work correctly on windows" patch by kovalchuk77@list.ru, r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@194017 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-10 18:29:41 +00:00
jshin%mailaps.org
cf055041ee bug 332123: ] nsLocalFileWin::AppendRelativeNativePath broken with multiple path components r/sr=darin
git-svn-id: svn://10.0.0.236/trunk@193198 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-29 17:14:07 +00:00
jshin%mailaps.org
2988e15bda bug 331453 : downloading a binary file results in a corrupted (truncated) file : r/sr=darin
git-svn-id: svn://10.0.0.236/trunk@193009 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-26 15:34:40 +00:00
jshin%mailaps.org
e3879bcb74 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
git-svn-id: svn://10.0.0.236/trunk@192910 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-24 07:30:22 +00:00
jshin%mailaps.org
72de74893a 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
git-svn-id: svn://10.0.0.236/trunk@192754 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-22 04:26:30 +00:00
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