Commit Graph

1415 Commits

Author SHA1 Message Date
mark%moxienet.com
81710bf983 Bug 317345, nsLocalFile(OSX)::IsHidden is broken garbage. Use kFSCatInfoFinderInfo to obtain Finder attributes. r=josh sr=smfr 2005-11-22 05:09:38 +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
mkaply%us.ibm.com
a1636b7734 OS/2 version of 316732 2005-11-18 18:54:19 +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
brettw%gmail.com
cf305a077d Bug 316869, r+sr=darin
Convenience function: nsEscape with CString
2005-11-17 19:28:05 +00:00
darin%meer.net
51cb6a3b78 fixes bug 315786 "Make the functions defined in nsEscape.h more useful" r=biesi 2005-11-15 21:41:57 +00:00
smfr%smfr.org
b04cad0e1a Fix bug 208843: make AddRef and Release of nsPipeInput/OutputStreams threadsafe, so that we don't abort long downloads on fast dual CPU machines. r=dougt, wtchang. sr=darin 2005-11-12 23:31:57 +00:00
darin%meer.net
697c78f1ea Initial patch for bug 312760 "Provide base channel for use by protocol implementations" r=biesi sr=bzbarsky 2005-11-12 18:17:19 +00:00
bsmedberg%covad.net
78f6d0683d Bug 313309 part 2 - change the NS_DEFINE_STATIC_IID_ACCESSOR macro to NS_DECLARE, and make a NS_DEFINE_ macro that's outside the class declaration, r=shaver 2005-11-11 14:36:26 +00:00
bsmedberg%covad.net
a7253270ad Bug 305949 Part 1 - Separate the frozen XPCOM exports with the XPCOM_API macro; add compatibility methods to the frozen string API; convert most of the tests/tools to use the xpcom glue when appropriate r=darin This checking does not actually stop exporting the nonfrozen methods yet, pending a bunch of test cleanup throughout the tree. 2005-11-08 18:17:49 +00:00
bryner%brianryner.com
5c7b9a7466 Keep an interface pointer to the nsISeekableStream in nsFastLoadFileReader/Writer/Updater to avoid repeated QI (bug 313575). r+sr=brendan. 2005-10-24 18:02:00 +00:00
bryner%brianryner.com
b4a806dc9d Enable fastloading of JS components. Bug 279839, r=shaver sr=brendan. 2005-10-20 16:39:24 +00:00
smontagu%smontagu.org
ac5190e61a Bustage fix following bug 311346 2005-10-10 09:15:12 +00:00
bsmedberg%covad.net
4989d9b958 Bug 311346 - Add directory service key for "C:\Program Files" r=darin 2005-10-09 19:00:19 +00:00
timeless%mozdev.org
c81fa7761e Bug 234624 crashes converting \r\r\n input from Iframe into a hidden form field [@ ConvertBreaks]
patch by tor@acm.org r=dougt
2005-09-16 21:06:21 +00:00
timeless%mozdev.org
c113ece289 Bug 308573 use if (NS_FAILED(...)) instead of if NS_FAILED(...)
patch by b.jacques@planet.nl r=darin sr=darin
2005-09-15 23:17:17 +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
gerv%gerv.net
35149ea17d Bug 236613: change to MPL/LGPL/GPL tri-license. 2005-09-13 18:40:56 +00:00
bob%bclary.com
a2e1954ed3 Bug 303506 - make xpcom nsDirectoryService assertions more meaningful, r=dougt,sr=shaver 2005-09-04 19:10:10 +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
smontagu%smontagu.org
57eb480caf Take surrogate pairs into account in UTF8InputStream::CountValidUTF8Bytes. Bug 299111, r=darin, sr=dbaron 2005-08-22 10:50:49 +00:00
masayuki%d-toybox.com
8638a80595 Bug 288154 If the path has 0x7c in its name, firefox cannot open the file (Should encode 0x7c to %7C) r+sr=darin, a=benjamin 2005-07-28 14:51:17 +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
darin%meer.net
6764edca0d fixes bug 300423 "Expose nsIPipe implementation via component factory" r+a=bsmedberg 2005-07-18 23:39:56 +00:00
mkaply%us.ibm.com
aeb5138c89 #294067
r=mkaply, sr=mkaply (platform specific), a=mkaply (OS/2 only)
Patch from Rich Walsh - rewrite OS/2 file i/o code
2005-07-08 16:18:44 +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
joshmoz%gmail.com
ffc365fb08 clean up old mac os classic stuff. b=281889 r=smfr sr=bryner a=bsmedberg 2005-07-06 01:23:20 +00:00
mark%moxienet.com
92b3f50a1c Bug 298529, Core support for Mac 10.4u ("universal") SDK, part 2. Mac alias API update. r=josh sr=smfr a=asa via irc 2005-06-30 04:32:24 +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
mconnor%steelgryphon.com
5a887e590c bug 123315 - user-added searchplugins should be installed into the profile, r=bsmedberg, sr=shaver, a=bsmedberg 2005-06-29 15:55:57 +00:00
mozilla.mano%sent.com
47b977a1f5 Bug 298801 - [Mac] nsLocalFile::InitWithNativePath doesn't interpret ~/... paths. r=jhpedemonte, sr=smfr, a=bsmedberg 2005-06-28 16:35:24 +00:00
cbiesinger%web.de
2e7e16befb Bug 295047 Want unicode stream readers/writers: Makes nsIUnicharInputStream and
nsIConverterInputStream scriptable, and adds nsIUnicharOutputStream and
nsIConverterOutputStream (together with implementations).
r=jshin sr=darin a=chofmann
2005-06-24 19:44:50 +00:00
timeless%mozdev.org
aeed2ff9b7 Bug 298053 directoryservice.nsIProperties.has("nonexistant") should return false instead of throwing an exception
r=dougt a=asa
2005-06-21 14:45:50 +00:00
dougt%meer.net
02520ff10c Removing nsIRandomAccessStore from tree (still lives in obsolete). b=283487 r=darin, sr=mscott, a=asa 2005-06-17 03:47:11 +00:00
bsmedberg%covad.net
4a8809af8d Yet another bustage fix, bug 296430. 2005-06-07 20:19:07 +00:00
bsmedberg%covad.net
d452b979ba Hopefully a bustage fix for MSVC6, bug 296430 2005-06-07 20:01:24 +00:00
bsmedberg%covad.net
dad12753a6 Bug 296430 part "firefox" - Use a firefox-specific dirprovider to provide the <extension>/searchplugins key, r=darin a=asa (at some point in the future I will move the remaining app-specific keys from nsXREDirProvider to nsMailDirectoryProvider) 2005-06-07 19:45:11 +00:00
bsmedberg%covad.net
11933987ac Bug 296430, part "xpcom" - Add a category for directory-service providers which will be registered after autoregistration but before xpcom-startup r=darin a=asa 2005-06-07 19:35:20 +00:00
bsmedberg%covad.net
d2c7c9131d Bug 295247 - Allow extensions to ship plugin DLLs, part 1 - r=darin a=shaver 2005-06-02 13:29:04 +00:00
timeless%mozdev.org
2c85cc0bd1 Bug 292908 r:/mozilla\intl\uconv\src\nsTextToSubURI.cpp(231) : warning C4309: 'argument' : truncation of constant value
r=dougt sr=darin a=shaver
2005-06-01 18:34:53 +00:00
cbiesinger%web.de
0f3ce35f0e 295126 document readLine's return value better
r=bzbarsky sr=darin a=asa
2005-05-24 10:59:12 +00:00
bsmedberg%covad.net
ec03fbb04a Bug 293461 - Make safe mode a system option and make handling by the EM less fragile. Also fixes bug 275529 - allows app ID and extension ID to be a prettyname@vendor.tld instead of {GUID}. r=darin+robstrong a=asa 2005-05-12 13:23:30 +00:00
cbiesinger%web.de
bf9707a51b 291033 support "local" profile directories
r=bsmedberg sr=darin a=asa
2005-04-27 11:56:40 +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
darin%meer.net
2c230c7743 fixes bug 291033 "Enable support for profile temp directory on local filesystem" aka "delete my cache please" r=bsmedberg a=chofmann 2005-04-26 00:37:23 +00:00
mkaply%us.ibm.com
775f5da9a5 OS/2 build bustage 2005-04-25 13:06:43 +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
c7791f3f2c fix build bustage - use comptr to delete obj 2005-04-23 02:08:12 +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
mkaply%us.ibm.com
87eabb329c #287603
r=mkaply, sr=blizzard (platform specific), a=mkaply (OS/2 only)
Patch from Rich Walsh - Enable Mozilla to handle URL objects on the command line (similar to .url files on Windows)
2005-04-22 13:21:23 +00:00
bzbarsky%mit.edu
b423131582 Implement WriteUtf8Z. Bug 290914, r=biesi, sr=darin, a=asa 2005-04-20 15:39:24 +00:00
bzbarsky%mit.edu
16cc06ce80 Throw instead of crashing if used before init(). Bug 290907, r=biesi,
sr=darin, a=asa
2005-04-20 15:37:38 +00:00
timeless%mozdev.org
317bcf05d6 Bug 287987 FindProviderFile should continue Enumerating on failed QI
patch by bugspam.Callek@gmail.com r=darin sr=darin a=asa
2005-04-10 05:43:33 +00:00
bsmedberg%covad.net
7e03c0b224 Bug 288626 - Switch the strict API from opt-in (MOZILLA_STRICT_API) to opt-out (MOZILLA_INTERNAL_API) r=darin 2005-04-06 03:35:24 +00:00
bsmedberg%covad.net
beadf6cd74 Bug 288626 - Begin switch from MOZILLA_STRICT_API to MOZILLA_INTERNAL_API rs=darin for the Makefile var additions. Should not affect the build yet, until we flip a few switches at the end. 2005-04-01 18:22:57 +00:00
darin%meer.net
14ed4b3463 fixes bug 287750 "provide methods to test if streams are buffered" r=biesi sr=bzbarsky 2005-03-26 02:20:36 +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
jshin%mailaps.org
2866a93ec9 bug 193439 : use RFC 2231 style encoding for filename parameter (rather than RFC 2047 style encoding) r=bienvenu, sr=darin 2005-03-01 12:37:02 +00:00
roc+%cs.cmu.edu
c0f1276ed2 Bug 241245. Make 'Desk' a supported system directory on Unix, and make it fully cross-platform. r+sr=darin 2005-03-01 01:03:33 +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
timeless%mozdev.org
5d1f35668f Bug 281977 nsStringInputStream botches -1 lengths
r=biesi sr=darin
2005-02-23 02:31:58 +00:00
cbiesinger%web.de
cb925c9f7d fixing bustage 2005-02-20 14:28:07 +00:00
cbiesinger%web.de
f56106d36a Bug 280351 don't assert when a relative path is passed to
nsLocalFileUnix::InitWithPath
r=dougt sr=darin
2005-02-20 14:05:46 +00:00
darin%meer.net
ba3a7e5abf fixes bug 280082 "ensure maxRootLength in CreateUnique is never negative" r=dveditz sr=brendan 2005-02-19 07:44:59 +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
pinkerton%aol.net
d622e77f5b fix mem leak (rs=pink) 2005-02-07 03:12:25 +00:00
dbaron%dbaron.org
3a87f7e225 Fix common misspelling of delimiter and delimited (de-limit-er, not deli-meter). b=106386 r=timeless 2005-02-05 00:49:25 +00:00
cbiesinger%web.de
d1b324f2e4 Bug 235691 [beos] Mozilla/Firefox don't start
patch by tqh <thesuckiestemail@yahoo.se> r=sergei_d sr=dougt
2005-02-01 14:46:40 +00:00
dougt%meer.net
55eb21a1ac bug 280245. WinCE build and support changes. r=darin 2005-01-30 21:33:47 +00:00
timeless%mozdev.org
219d7e6374 Bug 169506 nsLocalFileUnix have problems with BeOS. IsExecutable()...
patch by thesuckiestemail@yahoo.se r=sergei_d moa=dougt
2005-01-30 08:55:16 +00:00
timeless%mozdev.org
d758e27ba4 Bug 276373 [BeOS] SpecialSystemDirectory::GetSpecialSystemDirectory don't work correctly for BeOS_DesktopDirectory (and cleanup)
patch by mailto:thesuckiestemail@yahoo.se r=sergei_d moa=dougt
2005-01-30 08:52:24 +00:00
vladimir%pobox.com
bff179357d b=280276, add storage file to well-known directory service files list, r=darin,sr=shaver 2005-01-29 00:48:03 +00:00
mkaply%us.ibm.com
9791623bf2 #279773
r=mkaply
Patch from Peter Weilbacher - Firefox isn't coming up on OS/2
2005-01-28 16:03:20 +00:00
cbiesinger%web.de
bf9a5d31f9 backing out patch for bug 278786. it breaks read(-1). 2005-01-22 00:16:44 +00:00
joshmoz%gmail.com
7775db1467 work around crash when starting a download if download folder not specified in IC preferences (e.g. a fresh user account) b=265903 sr=pinkerton 2005-01-20 21:28:44 +00:00
cbiesinger%web.de
1cd737653e Bug 278786 Scriptable inputstream needs not call available in Read
r+sr=darin
2005-01-19 19:44:37 +00:00
mkaply%us.ibm.com
2d50c07dd5 OS/2 build bustage from 276592 - a=mkaply 2005-01-06 18:11:46 +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
bsmedberg%covad.net
e1a72d5a9a Bug 276592 - NS_OS_CURRENT_WORKING_DIR is not implemented. r=darin 2005-01-04 16:28:50 +00:00
dbaron%dbaron.org
1a43dc79c0 Fix misspellings of 'pseudo' in comments. Bug 106386. Patch by Alex Vincent <ajvincent@gmail.com>. r=timeless sr=peterv 2004-12-19 21:45:51 +00:00
dbaron%dbaron.org
888fe0c640 Add assertions where they help implementors of nsISerializable, and remove a bogus one. b=252703 r=darin sr=bzbarsky 2004-12-02 06:58:06 +00:00
dbaron%dbaron.org
9643fc6c04 Back out 252703 due to Txul / Ts regression. 2004-12-02 01:26:20 +00:00
dbaron%dbaron.org
21dccaeace Fix theme switching bugs related to insufficient change handling when entry points to themes are stylesheet links (processing instructions or XBL stylesheet elements) or xul:image src attributes by giving the chrome: protocol its own URL implementation that remembers the URL to which the chrome: URL was resolved and uses that resolved URL as part of equality testing. Fix various fastload issues arising from this change. b=252703 r=darin sr=bzbarsky 2004-12-01 22:39:17 +00:00
bryner%brianryner.com
29c70cffe8 Reduce do_GetService code bloat further by adding specialized assignment to nsCOMPtr and providing a version with no error pointer. Also make CallGetService work the same way as CallGetComponent does, as far as using frozen/non-frozen interface to service manager. Bug 264456, r=darin. 2004-11-24 22:48:45 +00:00
jshin%mailaps.org
a58a3f011f bug 268219 NS_CopyNativeToUnicode/NS_CopyUnicodeToNative on Mac OS X should use CopyUTF8toUTF16/CopyUTF16toUTF8, r=ccarlen sr=darin 2004-11-08 05:20:05 +00:00
bzbarsky%mit.edu
e7cc653157 Make it possible to use the string input stream without heap-allocating a
string.  Bug 263973, r=darin, sr=dbaron
2004-10-27 02:19:43 +00:00
jshin%mailaps.org
5c19105292 bug 263462 : NS_UnescapeURL doesn't honor esc_OnlyNonASCII (r=darin, sr=jst) 2004-10-12 08:48:31 +00:00
darin%meer.net
c0d4ded502 fixes bug 207846 "M17 FF09x [@ msvcrt.dll - nsStorageInputStream::Read] Miscellaneous non-repeatable browsing crashes" r=dbradley sr=bzbarsky 2004-09-29 16:45:22 +00:00
darin%meer.net
b853169d42 landing v1.1 patch for 257162 "core changes required to enable XULRunner functionality" r=bsmedberg 2004-09-07 18:59:07 +00:00
cbiesinger%web.de
c3d23a6ea2 Bug 258014 make @param names match function signature
r+sr=darin
2004-09-05 13:25:51 +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
dwitte%stanford.edu
925977835a make nsSafeFileOutputStream follow target symlinks.
b=252050, r=biesi, sr=darin
2004-07-30 05:00:32 +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
brofield%jellycan.com
53ba322f42 Windows special system directories should preserve case b=221872 r=darin sr=dougt 2004-07-05 02:15:07 +00:00
cbiesinger%web.de
fc0dbfa1e8 bug 247491 document parameters of nsIStorageStream::init
r+sr=darin
2004-06-25 19:53:58 +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