Commit Graph

1775 Commits

Author SHA1 Message Date
Josh Aas
37cd80d19c Rewrite SetFileSize for Mac OS X using POSIX API. b=501307 r/sr=roc 2009-07-05 02:39:04 -04:00
Wolfgang Rosenauer
79b00e401a Bug 496708 - add biarch system plugin location (Linux); r=joshmoz, sr=roc 2009-06-24 09:21:43 +02:00
Josh Aas
a887393a34 Use POSIX to get/set file permissions on Mac OS X. b=499875 sr=roc 2009-06-23 08:55:59 -04:00
Stuart Parmenter
a5497d4815 bug 492114. Deal with the fact that CE doesn't have . or .. files and will give different behavior for empty directories. r=bsmedberg 2009-06-22 10:00:52 -07:00
Shailen
45187f5935 Bug 497838 - "AIX Compilation error for 3.6a1pre source xpcom/io/nsWildCard.cpp", line 215.28: 1540-0274 (S) The name lookup for "_shexp_match" did not find a declaration" [r=benjamin] 2009-06-14 01:41:19 -07:00
Josh Aas
ca207c2111 Make Mac OS X local file code aware of symlinks instead of old-school aliases. Also moves more things to POSIX functions instead of inefficient Carbon calls. b=484297,491074,491145 r=mstange sr=roc 2009-06-10 22:23:57 -07:00
Peter Annema
e3cae8f8b5 Bug 487192: Move both copies of nsWildCard into xpcom. r/sr=bsmedberg
- Clean up white space.
2009-05-13 20:22:54 -07:00
Peter Annema
8c8313039e Bug 487192: Move both copies of nsWildCard into xpcom. r/sr=bsmedberg
- Move nsWildCard.{h,cpp} into xpcom/io.

--HG--
rename : modules/libjar/nsWildCard.cpp => xpcom/io/nsWildCard.cpp
rename : modules/libjar/nsWildCard.h => xpcom/io/nsWildCard.h
2009-05-13 20:22:54 -07:00
Boris Zbarsky
612e9ad4e4 Bug 482310. Add a JS api to asynchronously copy data to an output stream. r+sr=bsmedberg. 2009-05-07 15:21:54 -04:00
Josh Aas
bfcfe1db27 Backed out changeset 294eaf175b7b 2009-05-02 15:14:47 -07:00
Josh Aas
62c4bceb6c Improve nsIFile's IsFile on Mac OS X, stop using FSGetCatalogInfo. b=491074 r=mstange sr=roc 2009-05-02 12:54:08 -07:00
Josh Aas
cffeb5a089 Remove setFileTypeAndCreatorFromMIMEType and setFileTypeAndCreatorFromExtension from nsILocalFileMac. b=491099 sr=roc 2009-05-02 11:01:25 -07:00
Josh Aas
d891d9195e Improve nsIFile's GetFileSize on Mac OS X, stop using FSGetCatalogInfo. b=491050 r=mstange sr=roc 2009-05-01 21:52:21 -07:00
Josh Aas
2c8d1f19c7 Make nsIFile ::Exists on Mac OS X more efficient, stop using FSRef. b=490870 r=mstange sr=roc 2009-05-01 18:32:38 -07:00
Josh Aas
db53a3cbed Remove workaround for pre-10.2 systems in nsLocalFileOSX, no need to look for CFStringNormalize. b=490959 r=mstange sr=roc 2009-05-01 09:59:33 -07:00
Josh Aas
8c02298ffe Backed out changeset cb8262ea787f 2009-04-30 17:01:06 -07:00
Josh Aas
db4f825cfb Improve Mac OS X local file equality testing, stop comparing FSRefs. b=490372 r=mstange sr=roc 2009-04-30 10:08:35 -07:00
Josh Aas
d9da49eca0 Improve nsILocalFile GetDiskSpaceAvailable on Mac OS X, stop using old Carbon APIs. b=490171 r=mstange sr=roc 2009-04-29 23:53:43 -07:00
Josh Aas
d19f83697a Optimize Mac OS X filesystem time methods. Clean up UNIX time methods wrt LL_ macro usage. b=489015 r=mstange sr=roc 2009-04-23 22:22:20 -04:00
L. David Baron
6ea9c9d5f9 Back out previous logging patches (92791a422f0a and 5617c22ea9ac) for bug 469514. 2009-04-22 15:21:17 -07:00
Jesse Ruderman
144d0a1c97 Make temporary debug-only logging code not crash. r=sdwilsh 2009-04-21 16:57:19 -07:00
Shawn Wilsher
3ff1abe44a Debug-only logging code to track down bug 469514.
r=ted
2009-04-21 11:32:07 -04:00
Jim Mathies
b253ceb46a Bug 403014 - Windows "Don't Index" bit set on download files. (r=sdwilsh,dougt) 2009-04-20 20:06:03 -05:00
Nils Maier
7f26a51c51 Bug 389087 - nsILocalFileUnix affected by 32bit stat/statvfs/truncate, therefore does not work with large files; r+sr=benjamin 2009-04-16 14:09:21 +02:00
Josh Aas
4a486a40f2 optimize/modernize Mac OS X toolkit/xre code. b=486733 r=mstange sr=bsmedberg 2009-04-09 20:54:11 -04:00
Josh Aas
b5c4ced94f Minor Mac OS X fs code cleanup, mostly change some member variable names. b=487045 r/sr=roc 2009-04-09 20:46:49 -04:00
Peter Annema
c2228f83ec Bug 485328: nsLocalFileUnix::GetNativeTarget() is broken for symlinks and (dangling) symlinks. r=neil, sr=bsmedberg 2009-04-07 04:38:41 -07:00
Peter Annema
633a7c9dfd Bug 485325: nsLocalFileUnix::IsSymlink() should check result of lstat(). r=joshmoz, sr=bsmedberg 2009-04-07 04:38:23 -07:00
Peter Annema
c552abb51a Bug 484505: nsLocalFileUnix::Remove(PR_TRUE) shouldn't ever follow symlinks. r=joshmoz, sr=bsmedberg 2009-04-07 02:20:05 -07:00
Josh Aas
82ad98fe12 Fix argument name in older function decl to match newer impl. no bug. 2009-04-05 02:26:40 -04:00
Arpad Borsos
4fc5b38c9d Bug 474369 - get rid of nsVoidArray, xpcom part; r=bsmedberg 2009-04-03 18:43:08 +02:00
Neil Rashbrook
d1fbe49005 Followup to bug 224692 to only reset inherited permissions r+sr=bsmedberg 2009-04-01 17:10:29 +01:00
Michal Novotny
8e17d253af Bug 470716. Make the close-on-completion behavior of nsAsyncStreamCopier configurable. r+sr=bzbarsky. 2009-03-30 15:10:13 -04:00
Josh Aas
90ec5302a4 Fix some type usage in nsIStreamBufferAccess.idl. b=478687 r=wtc r=bsmedberg 2009-03-24 10:47:02 -07:00
Robert O'Callahan
f4aea6aa03 Bug 482942. Tests for nsILocalFile implementations. Also changes nsLocalFileUnix::MoveTo to update the object to refer to the destination, matching other platforms' behaviour. r=bsmedberg
--HG--
rename : xpcom/tests/nsIFileTest.cpp => xpcom/tests/TestFile.cpp
2009-03-24 13:44:37 +13:00
Robert O'Callahan
fba4c1c3ce Bug 482942. Implement nsILocalFile::DELETE_ON_CLOSE. r=bsmedberg 2009-03-20 09:56:05 +13:00
Josh Aas
dde6460538 Stop using FlatCarbon headers on Mac OS X. b=482277 r=bsmedberg 2009-03-19 10:41:13 -07:00
Robert O'Callahan
d65490fce9 Bug 482938. nsPipe should create and destroy monitors using nsAutoMonitor so the potential-deadlock detector doesn't get confused. r=bsmedberg
--HG--
extra : rebase_source : 76fca82ad7015f55fb09e30d282f3dedf0c3976b
2009-03-19 09:18:19 +13:00
Peter Annema
e1b1304eff Bug 207973: Directory listing errors when a bad soft link (symlink) is present. r=joshmoz, sr=bsmedberg
CFURLGetFSRef doesn't handle dangling symlinks well. Check if that's what we're dealing with, and use an alternative approach to create an FSRef.
2009-03-07 18:59:40 -08:00
Josh Aas
eaa45c4d2b Only use FSIORefNum in the 64-bit case. Bustage fix for part 1 patch on bug 478687. 2009-03-06 12:48:40 -06:00
Josh Aas
ffb320ce01 Port xpcom to 64-bit Mac OS X, part 1. b=478687 r=mstange sr=bsmedberg 2009-03-06 12:32:57 -06:00
Neil Rashbrook
13d0229afc Bug 478732 nsLocalFileWin/OS2.cpp's InitWithPath is inefficient r=bsmedberg 2009-03-04 09:48:48 +00:00
Nickolay_Ponomarev
f65cc1e89b Bug 478086 - enumerating drives/disks on Win32 using nsIFile.directoryEntries returns a single string with embedded NULLs in it; r=benjamin 2009-02-26 18:34:07 +01:00
Antonio Gomes (tonikitoo)
f2a9697470 Bug 465783: Fennec default download location inaccessible to users. r=sdwilsh sr=bsmedberg 2009-02-25 03:26:45 -04:00
Sunil Mohan Adapa
620b5e2d7a Bug 412610 - MAXPATHLEN too small for glibc's realpath(); m-c part; r=*
jsfile.cpp + reg.c + SpecialSystemDirectory.cpp : benjamin
lcms.h : bholley
XRemoteClient.cpp : roc
2009-02-23 19:28:12 +01:00
Shawn Wilsher
ce9ed14fef Bug 476174 - Default Download Directory (DfltDwnld) uses old Safari 2's value instead of Leopard's ~/Downloads
This changeset makes us default to the Downloads folder on OS X 10.5 and later,
and the Desktop for 10.4.  Additionally, this fixes bug 301647 ([Mac] remove
support of retrieving the 'system' download folder from
nsDirectoryService::GetFile).

r=gavin
r=josh
sr=bsmedberg
ui-r=beltzner
2009-02-19 18:06:49 -05:00
Josh Aas
fa433b18c5 Allow null as a destination file name argument for CopyTo in nsLocalFileOSX. b=478549 r=mbanner sr=roc 2009-02-15 19:20:27 -05:00
Josh Aas
61714f010e Remove all MoreFilesX usage and remove MoreFilesX from the tree. b=476230 r=smichaud sr=dougt 2009-02-11 23:26:59 -05:00
Vladimir Vukicevic
dad201f497 b=477727; add missing braces around WinCE bits in LocalFileWin; r+sr=stuart 2009-02-10 15:10:08 -08:00
Josh Aas
9dbf2ddbd8 Make IsSymlink check for actual symlinks as well as aliases on Mac OS X. b=476919 r=ted sr=roc 2009-02-09 13:37:32 -05:00
Daniel Veditz
32440787f6 bug 452217 nsLocalFileWin should return errors consistent with other platforms, r=neil, sr=bsmedberg 2009-01-27 16:50:14 -08:00
Daniel Holbert
4301671b45 Bug 473236 - Remove executable bit from files that don't need it. (Only changes file mode -- no code changes.) r=bsmedberg 2009-01-21 22:55:08 -08:00
Fred Jendrzejewski
d8f1bff747 Bug 461047 - Replace nsStringArray with nsTArray<nsString>. r+sr=roc 2009-01-18 21:14:14 +01:00
Robert O'Callahan
804cc7ee91 Backed out changeset 8019a959aade 2009-01-16 22:20:33 +13:00
Fred Jendrzejewski
065bde22f3 Bug 461047. Replace nsStringArray with nsTArray<nsString>. r+sr=roc
--HG--
extra : rebase_source : 7a20af24c97867efbb28dafa6a70ea1b4cf00e58
2009-01-16 20:51:04 +13:00
Josh Aas
e1b753e90c Modernize xpcom i/o launch and reveal methods on Mac OS X, 64-bit compat. b=473078 sr=dougt 2009-01-15 17:57:43 -05:00
Peter Weilbacher
78df8b53dc [OS/2] Bug 472753: fix OS/2 build break in nsComponentManager.cpp by adding necessary defines to the os2.h include in nsLocalFileOS2.h (fix suggested by Walter Meinl)
(OS/2 only, so does not affect a CLOSED TREE)
2009-01-11 14:19:00 +01:00
Benjamin Smedberg
470d4ccbfb Bug 469072 - Annotations in XPCOM, and a couple related code fixups, to make outparams spit out useful warnings, r=bent 2008-12-11 15:13:52 -05:00
Brad Lassey
dff03b246f Bug 461859 - windows mobile minor cleanup of xpcom r=bsmedberg 2008-12-03 08:42:03 -05:00
Brad Lassey
418f5366f7 Bug 455381 - WinCE XPCOM Explicit Unicode API Calls, Wide Char CheckVersion Function r=bsmedberg 2008-12-03 08:41:12 -05:00
Josh Aas
00ff40c300 comment and whitespace cleanup for Mac OS X filesystem code. no bug. 2008-11-28 13:37:40 -05:00
Daniel Veditz
87eae8b89c bug 464998 - r+sr=bsmedberg, a=beltzner 2008-11-19 11:55:59 -05:00
Daniel Veditz
3ab8ffe9cb bug 455987 crash fix, r/sr=bsmedberg 2008-10-24 16:15:33 -07:00
Brad Lassey
791430bafe Bug 458252: local file paths are wrong on windows mobile r=dougt sr=bsmedberg 2008-10-20 13:03:20 -04:00
Mike Hommey
32b0e12023 Bug 440506 - Add a globally shared location for plugins; r=joshmoz sr=jst 2008-10-10 17:54:33 +02:00
Arpad Borsos
c72ef7d248 Bug 456388 - Remove PR_STATIC_CALLBACK and PR_CALLBACK(_DECL) from the tree; r+sr=brendan 2008-10-10 17:04:34 +02:00
Ben Turner
ea7747e94a Backed out changeset 2bbdbe2127d3 due to hanging unit tests. 2008-10-09 12:23:22 -07:00
Josh Aas
b6b1977117 Get rid of flawed Windows stat cache. b=456603 r=smichaud sr=dougt 2008-10-09 13:52:08 -04:00
Doug Turner
798f9831c8 backing out the top level comment line to its orig state 2008-10-08 21:25:11 -07:00
Doug Turner
acb4a55a6d removing erronous change to nsLocalFileWin 2008-10-08 21:22:21 -07:00
Doug Turner
8137791649 Bug 458917 - Windows CE Cleanup. r/sr=stuart+bsmedberg 2008-10-08 20:51:54 -07:00
Josh Aas
12b6aa82b1 Backed out changeset 4a461b03f6ae, b=456603 2008-10-08 01:32:04 -04:00
Josh Aas
dc484fbeef Get rid of flawed Windows stat cache. b=456603 r=smichaud sr=dougt 2008-10-07 23:18:05 -04:00
Josh Aas
05e8caa7d0 Don't incorrectly change permissions on link target in SetPermissionsOfLink in unix fs code. Just don't do anything for changes targetting links. b=457487 r=smichaud sr=dougt 2008-10-07 21:26:41 -04:00
Serge Gautherie
afcf19b8de Bug 457046 - Decide what to do with <TestPipes.cpp> |#if 0|'ed code; Bv1; r=benjamin 2008-10-08 02:27:05 +02:00
Serge Gautherie
85a3458be2 Bug 438331 - Remove WIN16 (support) code everywhere; (Av1) </xpcom/*>; r+sr=benjamin 2008-10-08 02:21:13 +02:00
Josh Aas
39fa2b5f9e Get rid of fundamentally flawed UNIX stat cache. b=456435 r=smichaud sr=dougt 2008-09-30 02:06:18 -04:00
Josh Aas
81dfc77596 Remove a lot of dead Mac code. Part of bug 456662. sr=pinkerton 2008-09-25 12:23:33 -04:00
Josh Aas
05917f7a19 Get rid of FSRef cache on Mac OS X as it can't invalidate correctly in the face of changes outside the current nsLocalFile object. Fixes local page reload issues, probably other stuff. b=455828,322686 r=mstange sr=dougt 2008-09-19 15:50:41 -04:00
Benjamin Smedberg
f0fdeb2ef7 Remove the v1 string ABI compatibility hacks. Replace references of nsTAString_CharT with nsTSubstring_CharT which is the new base class. r=dbaron 2008-09-19 11:07:22 -04:00
Håkan Waara
98cc1e939e Bug 442401 – nsILocalFile::IsPackage does not consider a Keynote bundle (.key) to be a package. r=josh, sr=roc 2008-08-26 11:17:13 +02:00
Michal Novotny
70da375aea Bug 367736 - make nsEscape more efficient and clean up some signed/unsigned issues to prevent theoretical overflow, r=bsmedberg+dveditz 2008-08-19 09:57:12 -04:00
Uli Link
0296770901 Bug 445951 - missing keyword 'public' in xpcom/glue/nsAutoLock.h, r=bsmedberg 2008-08-18 20:39:19 +02:00
Aaron Nowack
018b87fe8c Bug 224692 - Downloaded files don't inherit NTFS properties... on nsILocalFile.moveTo use the NTFS permissions inherited from the new folder, instead of keeping permissions from the old location, r=bsmedberg 2008-08-14 11:48:06 -04:00
Mike Hommey
09052f844e Bug 278738 – file:// directory not shown containing a file larger than 2GB. r=bsmedberg 2008-08-06 13:09:44 +02:00
reed@reedloden.com
d545086c33 Bug 411579 - "Optimize read file buffer sizes for faster startup times" [p=jmathies@mozilla.com (Jim Mathies) r=sayrer sr=bsmedberg a1.9=beltzner] 2008-04-01 23:41:23 -07:00
jag@tty.nl
4f7ebb45ba Bug 333505: nsLocalFileOSX crash. Original patch by Shane Caraveo <shanec@ActiveState.com>, review nits addressed by me. Unit test by Callek. r=mentovai, r/sr=bsmedberg, a1.9=damons 2008-03-18 06:31:01 -07:00
bugzilla@standard8.plus.com
0300bee861 Bug 420459 Move mailnews-specific profe code. r=benjamin,Neil,sr=dmose,a1.9=beltzner 2008-03-17 12:05:24 -07:00
dwitte@stanford.edu
2100b03129 Bug 409803 - gcc (4.1 only) zealously avoids inlining at -Os. make -finline-limit=50 the default on linux -Os builds. r=ted, blocking1.9+ 2008-03-15 19:48:01 -07:00
reed@reedloden.com
a27d8a3d38 Correct copyright case ("Red Hat inc" -> "Red Hat, Inc."), as per bug 422692. 2008-03-14 11:34:21 -07:00
smontagu@smontagu.org
103f51c598 Reject properties files with encoding errors. Bug 397093, r+sr=bsmedberg, a1.9=damons 2008-03-13 12:01:53 -07:00
reed@reedloden.com
062ea6e42c Bug 399498 - "use XDG downloads dir as default downloads dir" (use XDG download dir, with a fallback to the current default if the XDG user dirs are disabled) [p=chpe@gnome.org (Christian Persch) r=sdwilsh r=bsmedberg a1.9=damons] 2008-03-12 15:40:51 -07:00
reed@reedloden.com
bc0f2ba829 Bug 399500 - "support XDG user dirs in the directory service" [p=chpe@gnome.org (Christian Persch) r=caillon sr=bsmedberg a1.9=damons] 2008-03-12 15:35:56 -07:00
dietrich@mozilla.com
69ea3dfd0b Bug 421943 ? "redundant multiplexed document" should be a warning not assertion (r=sayre, sr+a=shaver) 2008-03-12 09:28:45 -07:00
blassey@mozilla.com
6cc9d5a4ed backing out: switching narrow char system calls to wide char in windows b=418703 2008-03-11 15:46:26 -07:00
blassey@mozilla.com
ff89c4a3fb 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 2008-03-11 14:49:53 -07:00
timeless@mozdev.org
8b7c01dfff Bug 419326 Crashes in Main Tab of Options [@ _wgetdcwd - nsLocalFile::Normalize] r=bsmedberg a=beltzner 2008-03-11 10:46:48 -07:00
blassey@mozilla.com
81d841c1fc backing out b=418703, caused test 40118 to fail on WINNT 5.2 qm-win2k3-01 dep unit test tinderbox 2008-03-05 14:56:43 -08:00
blassey@mozilla.com
dfd26f92ec switching windows narrow char system calls to wide char b=418703 r=bsmedberg a=beltzner 2008-03-05 13:39:29 -08:00
joshmoz@gmail.com
b903b64b94 always link against cocoa framework on Mac OS X, cocoa exception wrapping in xpcom file io. b=419392 r=bent sr=roc a=beltzner 2008-02-29 15:24:53 -08:00
joshmoz@gmail.com
e905c9a56a rename files to .mm. b=419390,419392 r/sr=roc 2008-02-26 18:03:08 -08:00
reed@reedloden.com
cedb021afa Bug 359255 - "Importers: Import Filters from current Eudora" (Get{Native}Target implementations for OS X) [p=beckley@qualcomm.com (Jeff Beckley) r=mento sr=mscott a1.9=damons] 2008-02-26 01:57:06 -08:00
gavin@gavinsharp.com
36c2275995 Fix DOS newlines added by the patch for bug 308073 2008-02-23 13:54:41 -08:00
dougt@meer.net
a1ca1ae26e Fixes for Windows CE. b=418662, r=bsmedberg, a=damons 2008-02-22 16:22:47 -08:00
reed@reedloden.com
466b0b1204 Bug 414901 - "Back out scriptable IO" [p=neil@mozilla.com (Neil Deakin) r+sr=bsmedberg a1.9b3=beltzner] 2008-02-01 18:07:49 -08:00
reed@reedloden.com
e599e0db22 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
reed@reedloden.com
9380e6bfe1 Bug 414901 - "Back out scriptable IO" [p=neil@mozilla.com (Neil Deakin) r+sr=bsmedberg a1.9b3=beltzner] 2008-01-31 17:39:11 -08:00
enndeakin@sympatico.ca
a425bb001a Bug 414901, back out scriptable IO api, r+sr=bsmedberg,a=beltzner 2008-01-31 11:18:07 -08:00
reed@reedloden.com
82f3afa0ed Back out jimm's patch from bug 411579 due to regressions. [a1.9b3=mconnor] 2008-01-30 15:39:42 -08:00
reed@reedloden.com
17dee2a4d9 Bug 411579 - "Optimize read file buffer sizes for faster startup times" [p=jmathies@mozilla.com (Jim Mathies) r=sayrer sr=bsmedberg a=blocking1.9+] 2008-01-29 12:51:46 -08:00
reed@reedloden.com
f015d06d01 Back out patch from bug 411579, as there may be a Ts perf regression. 2008-01-18 02:36:40 -08:00
reed@reedloden.com
cd2af3de01 Bug 411579 - "Optimize read file buffer sizes for faster startup times" [p=jmathies@mozilla.com (Jim Mathies) r=sayrer sr=bsmedberg a=blocking1.9+] 2008-01-18 01:08:09 -08:00
smontagu@smontagu.org
6f2722ea4a Make CreateUnique use UTF-16 path names on Windows and correct some bugs with handling over-long filenames. Bug 364285, r=bsmedberg, blocking-firefox3=beltzner 2008-01-09 13:10:06 -08:00
dwitte@stanford.edu
2e38d99c6a bug 410579 - remove nsStringIO.h. r+sr+a=jst 2008-01-02 17:32:26 -08:00
sayrer@gmail.com
91e16977ee Bug 407794. Nightlies should not override module-specific build settings. r=ted.mielczarek. 2007-12-13 19:22:52 -08:00
jwalden@mit.edu
cef5323c43 Kick the stupid Windows test box. 2007-12-03 19:40:06 -08:00
cbiesinger@gmx.at
4360b9ffe5 bug 262116 make disk cache serialize/deserialize the security info, if present also make nsNSSSocketInfo serializable PSM part: r=kaie sr=darin rest: r+sr=darin 2007-11-30 10:05:54 -08:00
reed@reedloden.com
90f7bad0e6 Bug 391980 - "New Download manager automatically associates all types of files including folders with one file type" [p=ventnor.bugzilla@yahoo.com.au (Michael Ventnor) r=bsmedberg a=blocking-firefox3+] 2007-11-26 15:55:34 -08:00
mozilla@weilbacher.org
316c205d89 [OS/2] Bug 403989: fix file saving issues by backing out OS/2 part of patch from bug 402460, r=mkaply 2007-11-16 16:16:35 -08:00
reed@reedloden.com
a389f02605 Bug 387049 - "Remove nsIObservableInputStream, nsIObservableOutputStream" [p=WeirdAl r=biesi a1.9=damons] 2007-11-13 02:27:26 -08:00
neil@parkwaycc.co.uk
514fdd4b8d 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
mozilla@weilbacher.org
e049305b64 [OS/2] Bug 400939: fix crash when using FireFTP with local files without extension, r=mkaply 2007-10-25 13:49:37 -07:00
reed@reedloden.com
59d2451ae9 Bug 398435 - "PRBool misuse bugs in xpcom/" [p=taras r=bsmedberg a1.9=sayrer] 2007-10-19 16:26:52 -07:00
reed@reedloden.com
b60e8823f4 Backout taras's check-in for bug 398435 to help find Tp regression. 2007-10-16 17:31:01 -07:00
tglek@mozilla.com
2145eeea65 Bug 398435. Fix prbool bugs in xpcom. r=bsmedberg a=sayrer 2007-10-15 16:40:09 -07:00
reed@reedloden.com
e7a2a49b3f Bug 315305 - "Improve nsILocalFile error reporting on Mac" [p=smfr r=ccarlen sr=dougt a1.9=sayrer] 2007-10-14 20:05:20 -07:00
jst@mozilla.org
a02d014a1a Fixing bug 398465. Eliminate dead code from nsPipeOutputStream. r=jwalden+bmo@mit.edu, sr=benjamin@smedbergs.us, a=sayrer@gmail.com 2007-10-13 09:39:13 -07:00
jwalden@mit.edu
2fd6ba18fe Bug 394692 - ASSERTION: read cursor is bad: 'mReadCursor != mWriteCursor', file xpcom/io/nsPipe3.cpp, line 539. Narrow the criteria used to decide whether to fire the assertion to deal with a particular (valid) pattern of memory allocations. r=biesi, a=bz 2007-09-20 23:17:59 -07:00
roc+@cs.cmu.edu
9972360428 Bug 394691. nsTArray should not do default initialization of POD elements. Also, switch nsAutoBuffer users to nsAutoTArray. patch by Chris Pearce, r=bsmedberg, sr=roc, a=bzbarsky 2007-09-18 16:12:06 -07:00
bzbarsky@mit.edu
b32d577ac3 Improve docs. Bug 396069, r+sr=biesi, a=bsmedberg 2007-09-17 15:30:58 -07:00
mozilla@weilbacher.org
55274c8da2 [OS/2] Bug 395576: extension of downloaded files are upper-cased sometimes, r=mkaply 2007-09-16 13:46:35 -07:00
mozilla@weilbacher.org
863f3bac39 [OS/2] Bug 394837: saving files doesn't work when WPS not active, r=mkaply 2007-09-06 14:44:05 -07:00
jag@tty.nl
e6cabc27cf Bug 271824: do_GetFastLoadService should use nsGetServiceByCID. r=/sr=/a=bsmedberg 2007-09-05 02:13:57 -07:00
jwalden@mit.edu
d09c44d69c Bug 348748 - Cleanup from the handful of patches which have landed since the initial landing that have readded cast macros; I intend to remove the rest of the instances Very Soon, all but certainly before the M8 freeze, so the macro definitions can be removed, again all but certainly before the M8 freeze, if people are okay with them being removed. Still r=bsmedberg, a=no-functionality-change 2007-09-04 23:41:35 -07:00
asqueella@gmail.com
5347590a4c Bug 372298 - xpcom/io: 10K codesize reduction by fixing string array p=Alfred Kayser <alfredkayser@nl.ibm.com> r+a=bsmedberg 2007-09-02 14:57:11 -07:00
asqueella@gmail.com
a54df5b5bf Bug 375778 - Read-Only Files Changed to Read-Write p=Simon Bunzli (busy) <zeniko@gmail.com> r=dougt, sr=bsmedberg, a=bz 2007-09-02 14:50:48 -07:00
thunder@mozilla.com
9d45a8e240 Bug 392967: Load app and extension prefs separately. r=bsmedberg 2007-08-31 19:16:47 -07:00
cbiesinger@gmx.at
63b56fc006 add unit test for bug 372050 and the unescape parts of bug 350932; also, clarify comments for the ESCAPE_URL_ONLY_NONASCII flag. r+sr+a=bz 2007-08-31 13:19:37 -07:00
sdwilsh@shawnwilsher.com
30d7fb302b Bug 308073 - Change default downloading folder in Windows Vista from Desktop to Downloads. Patch by Jim Mathies <jmathies@mozilla.com>. r=robarnold, r=robert.bugzilla, sr=dougt, a=mconnor 2007-08-21 10:22:02 -07:00
cbiesinger@gmx.at
f5b77e12aa 381812 make it possible to get storage input streams for empty streams r=bsmedberg 2007-08-17 13:27:50 -07:00
bzbarsky@mit.edu
2ee16b5699 Make it possible to serialize an nsISerializable instance to an arbitrary stream, not just to the fastload file. Bug 390474, r=bsmedberg, sr=brendan, a=bsmedberg. 2007-08-06 19:00:55 -07:00
enndeakin@sympatico.ca
8efc7f8e46 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
bzbarsky@mit.edu
3e65919675 Fix string leak. Bug 389191, r=josh, sr=bsmedberg 2007-07-24 13:19:03 -07:00
bzbarsky@mit.edu
429a656eaf Reland part of the patch for bug 330420 which got backed out by the
table-driven QI landing.  Bug 387926, r+sr=bsmedberg
2007-07-24 13:17:11 -07:00
cbiesinger@gmx.at
cf5b0ddf59 add a comment explaining the 0x20..0x7f range 2007-07-23 20:30:00 -07:00
cbiesinger@gmx.at
a882eb62e4 bug 389106 escape spaces even for the OnlyNonASCII flag
r=bzbarsky sr=dveditz
2007-07-23 17:28:42 -07:00
bzbarsky@mit.edu
8aa7809421 Make fastload handle short reads from its underlying buffered stream. Bug
387588, r+sr=biesi
2007-07-17 18:54:55 -07:00
jwalden@mit.edu
6d7584839a 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
jwatt@jwatt.org
c16e1a5d68 Fixing bug 383769. nsLocalFile::EnsureShortPath should check if GetShortPathNameW failed. r=benjamin@smedbergs.us 2007-06-27 01:36:03 -07:00
asqueella@gmail.com
de27b937fa Bug 350932 - expose NS_EscapeURL through nsINetUtil
p=Prasad Sunkari <prasad@medhas.org>
r+sr=biesi
2007-06-21 13:18:25 -07:00
kherron@fmailbox.com
46876b4cf8 Bug 376844 - Single quotes in URLs should be escaped. Patch by Wladimir Palant <trev.moz@adblockplus.org>. r=benjamin, sr=cbiesinger. 2007-06-17 05:29:08 -07:00
bzbarsky@mit.edu
b27bad4aad Fix NS_InputStreamIsBuffered to detect buffered empty streams correctly. Bug368328, patch by Ryan Jones <sciguyryan@gmail.com>, r=bsmedberg, sr=biesi 2007-06-08 09:00:09 -07:00
joshmoz@gmail.com
066729b99b fix some gcc 4 warnings in xpcom. patch by Christian Haberstroh. b=382753 r=bent sr=bsmedberg 2007-06-04 08:44:43 -07:00
asqueella@gmail.com
4f83fa46f3 Bug 347752 - Crash [@ MSVCR80.dll] when using nsIProperties service get method with null argumentp=Alfred Kayser <alfredkayser@nl.ibm.com>r=darin, sr=dougt 2007-05-13 09:48:39 -07:00
gavin@gavinsharp.com
1be8351c5a Bug 364297: add a new per-profile default-pref directory and associated directory service keys, and a way to trigger pref service default pref reloading to facilitate the change of default prefs without affecting exisiting users, r=mconnor, sr=bsmedberg 2007-05-02 13:13:33 -07:00
benjamin@smedbergs.us
baab01ada6 Bug 376636 - Building with gcc 4.3 and -pendatic fails due to extra semicolons, patch by Art Haas <ahaas@airmail.net>, rs=me 2007-04-23 07:21:53 -07:00
dbaron@dbaron.org
9b013dc30a Add missing calls to PR_UnloadLibrary (excluding XPCOM component loader and nsPluginsDir*). b=374332 r=bsmedberg 2007-04-15 15:22:58 -07:00
dbaron@dbaron.org
d98d9fdec5 Remove unused getKey callback from PLDHashTableOps/JSDHashTableOps. b=374906 r=bsmedberg 2007-03-27 08:33:38 -07:00
jwalden@mit.edu
093b1f6231 Bug 372546 - Mark pipe input/output streams as threadsafe. r=bsmedberg 2007-03-25 00:31:45 -07:00
jwalden@mit.edu
a300262180 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
hg@mozilla.com
05e5d33a57 Free the (distributed) Lizard! Automatic merge from CVS: Module mozilla: tag HG_REPO_INITIAL_IMPORT at 22 Mar 2007 10:30 PDT, 2007-03-22 10:30:00 -07:00
jwalden%mit.edu
8aef0e3029 Bug 367467 - Allow inputstream generation at the end of data in a storage stream (i.e., so reading from the new stream automatically blocks/throws and doesn't even read any data). r=bsmedberg 2007-03-09 12:28:55 +00:00
joshmoz%gmail.com
9d33769e4b nsLocalFile::GetParent() doesn't return nsnull at top of volume. patch by Wladimir Palant. b=332389 r=sayrer r=josh 2007-03-07 22:17:01 +00:00
benjamin%smedbergs.us
0776dfcda8 Bug 368297 - Fail to find plugins under MOZ_PLUGIN_PATH, patch by Boying Lu <brian.lu@sun.com>, r=me 2007-02-21 19:45:48 +00:00
sayrer%gmail.com
e4e974dc5a Bug 367608. implement nsIFile::normalize() on OS X. r=mano, sr=bsmedberg 2007-01-30 21:50:45 +00:00
jwalden%mit.edu
a53f200571 Bug 368158 - nsPipe XPCOM attributes are missing initialization checks. r+sr=darin 2007-01-29 20:08:50 +00:00
sspitzer%mozilla.org
6ee174f52d 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
mozilla.mano%sent.com
177a1e40ad Bug 364521 - Need a bundleIdentifier attribute in nsILocalFileMac. r=mento, sr=pink. 2006-12-23 20:17:29 +00:00
gavin%gavinsharp.com
fc58ca05d3 Mac bustage fix for bug 361351 2006-12-16 15:11:56 +00:00
gavin%gavinsharp.com
8d8b9b6e5f Bug 361351: nsIFile.exists() should throw NOT_INITIALIZED if nsIFile is not initialized, patch by Ryan Jones <sciguyryan+bugzilla@gmail.com>, r+sr=darin 2006-12-16 14:55:00 +00:00
gerv%gerv.net
caae487a24 Bug 236613: change to MPL/LGPL/GPL tri-license. 2006-12-11 09:45:41 +00:00
mozilla%weilbacher.org
4deb44606c [OS/2] Bug 351246: Load Mozilla into Highmem on OS/2. Part 1, changes to OS/2 only core code. r=abwillis1, sr=mkaply 2006-12-10 08:53:03 +00:00
timeless%mozdev.org
f6489a9fba Bug 283487 nsStringInputStream is still broken
use LengthRemaining consistently
r=darin
2006-12-06 18:46:29 +00:00
alfred.peng%sun.com
80b213d02e Bug 351950. nsLocalFileUnix has "access"(system call) problem on Solaris.
r+sr=dougt.
2006-12-06 03:58:48 +00:00
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
mozilla%weilbacher.org
2140e9ac7c [OS/2] Bug 356287: replace possible forward slashes in q:\tmp with backward slashes, r/sr=mkaply 2006-11-20 21:06:11 +00:00
joshmoz%gmail.com
f94613b36d remove XP_MAC from xpcom. b=281889 r=bsmedberg 2006-11-16 09:10:09 +00:00
cbiesinger%web.de
8d5ed7d1c6 trying to fix non-windows bustage (from bug 359808) 2006-11-16 01:39:09 +00:00
jshin%mailaps.org
a519b05919 bug 359808 : drop support for Win 9x/ME : r/sr=darin 2006-11-16 01:00:49 +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
timeless%mozdev.org
46d2b15871 Bug 106386 Correct misspellings in source code
r=glennrp@gmail.com, bclary@bclary.com rs=brendan
2006-11-01 23:02:18 +00:00
dougt%meer.net
ffbceaba41 Bug 308073. Adding Download folder to directory service. r=timeless 2006-10-24 20:56:13 +00:00
timeless%mozdev.org
caf7787fb9 Bug 331996 nsIBinaryInputStream.readString/nsIBinaryInputStream.readCString and nsBinaryInputStream.readString/nsBinaryInputStream.readCString don't agree
r=darin
2006-10-16 08:01:00 +00:00
mozilla%weilbacher.org
d0005618bc [OS/2] Bug 351614: do not use strcpy, r=biesi, sr=mkaply 2006-10-02 21:18:23 +00:00
timeless%mozdev.org
664b6df306 Bug 20232 Replace T::GetIID() (etc.) with NS_GET_IID(T)
r=bsmedberg sr=biesi
2006-09-17 00:04:39 +00:00
timeless%mozdev.org
4ac05d33bb Bug 352573 nsLocalFile::CopyDirectoryTo uses oldPerms uninitialized
r=dougt
2006-09-16 23:53:48 +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
brendan%mozilla.org
251910f4d6 Fix lack of XPC.mfasl versioning via separate JS bytecode version (350787, r=mrbkap/dbaron/jst). 2006-09-05 22:53:47 +00:00
timeless%mozdev.org
6d112f0859 Bug 106386 Correct misspellings in source code
r=bernd rs=brendan
2006-08-28 20:17:01 +00:00
benjamin%smedbergs.us
149e9c12ff Bug 348992 - gFastLoadService_ exported unnecessarily, r=brendan 2006-08-17 17:10:24 +00:00
mark%moxienet.com
3faa5035a0 347778 nsLocalFile::MoveTo no longer creates directories when needed on OS X after bug 294584. r=darin 2006-08-07 21:27:09 +00:00
brendan%mozilla.org
ee6d5a0d06 Fix from alfred.peng@sun.com for a bug hiding out from over four years ago (341595, r=me). 2006-08-03 22:07:03 +00:00
brendan%mozilla.org
6ec73b11fa Back out last commit to try to turn Balsa green. 2006-08-01 23:33:24 +00:00
brendan%mozilla.org
a500820740 Fix from alfred.peng@sun.com for old seek-on-selected-stream-without-mBytesLeft-update bug, plus assertions and a null store for stronger consistency (341595, r=me for Alfred's parts, and vice versa). 2006-08-01 20:14:33 +00:00
mark%moxienet.com
5cd71b72d1 294584 Profile fills with bookmarks-##.html (and cookies-##.txt) files due to contention with Spotlight and virus scanners. Use POSIX rename/unlink/rmdir APIs instead of higher-level File Manager equivalents. r=josh sr=darin 2006-08-01 01:48:24 +00:00
mark%moxienet.com
f41b9c5029 345397 Support pathnames in nsLocalFileOSX::SetPersistentDescriptor. r=josh sr=darin 2006-07-23 15:16:37 +00:00