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
timeless%mozdev.org
187f14848c
Bug 235744 Expose StorageStream class to Javascript
...
patch by nsayer@kfu.com r=darin sr=darin
2004-06-18 09:03:10 +00:00
timeless%mozdev.org
35afdff233
Bug 235744 Expose StorageStream class to Javascript
...
patch by nsayer@kfu.com r=darin sr=darin
2004-06-18 08:35:14 +00:00
timeless%mozdev.org
93570a8d34
Bug 235744 Expose StorageStream class to Javascript
...
patch by nsayer@kfu.com r=darin sr=darin
2004-06-18 08:17:58 +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
cbiesinger%web.de
8ef49c61c2
bug 243974 can't download files larger than 4 GB
...
Also changes nsIResumableChannel to have a resumeAt function, that does not open the channel immediately, and changes its size parameter to a 64 bit integer
r=darin sr=bryner
2004-06-16 19:51:21 +00:00
bsmedberg%covad.net
6d282ef4ce
Bug 244009 - implement profile preferences for EM (backend work for directoryservice preferences list) Migrating patch from aviary1.0 branch, r=me sr=darin
2004-06-14 05:55:13 +00:00
mozilla.BenB%bucksch.org
c79957a8f9
bug 245399, part 2: use ' rather than ‘ for ' (single quote)
...
r+sr=jst
2004-06-08 10:47:09 +00:00
dougt%meer.net
59cdf66913
Fixes SplitPath which read off the end of the string. r=timeless sr=me b=245516
2004-06-08 05:03:59 +00:00
mozilla.BenB%bucksch.org
c9b08c0bc9
Bug 245399: HTML-escape ' (single quote), too
2004-06-05 22:26:46 +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
cbiesinger%web.de
13366b51ba
bug 244911 nsEscape should document the meaning of the nsEscapeMask enum values
...
r+sr=darin
2004-06-01 19:55:01 +00:00
bsmedberg%covad.net
080cf988db
Bug 243973 - nsILocalFile.getRelativeDescriptor should not be case-sensitive on Windows. r+sr=darin
2004-05-29 15:37:44 +00:00
mkaply%us.ibm.com
c662fba363
Init charset utils if they are not initted yet - Firefox bringup
2004-05-27 18:56:36 +00:00
roc+%cs.cmu.edu
0e3ff503fb
Bug 226439. Convert Seamonkey to EqualsLiteral. rs=darin
2004-05-22 22:15:22 +00:00
bzbarsky%mit.edu
62a5127738
Relanding, since backing out did not fix orange. Bug 232691.
2004-05-22 20:02:43 +00:00
bzbarsky%mit.edu
7f1e54b18d
Backing out to attempt to fix Mac orange. Bug 232691
2004-05-22 19:26:52 +00:00
bzbarsky%mit.edu
9d1344f8ba
Test backout to maybe fix mac orange. Bug 232691
2004-05-22 18:49:53 +00:00
bzbarsky%mit.edu
abcad1dc39
Convert users of nsC?String(), nsC?AutoString(), and NS_LITERAL_C?STRING("") to
...
using EmptyC?String instead. Bug 232691, patch by Charles Fenwick
<clf03f@garnet.acns.fsu.edu>, r+sr=bzbarsky
2004-05-22 17:04:53 +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
cls%seawood.org
7f246234b3
Use standard AM_LANGINFO_CODESET macro instead of assume CODESET is available if nl_langinfo is.
...
Thanks to Adrian Bunk <bunk@fs.tum.de> for the patch.
Bug #160180 r=cls
2004-05-13 03:12:49 +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
darin%meer.net
acbef07688
fixes bug 241155 "Support multiple 'components' directories" r=bsmedberg moa=dougt
2004-05-07 00:50:53 +00:00
bienvenu%nventure.com
eaab8ccd67
fix build warnings introduced by 64 bit seekable streams, r=darin, sr=mscott, 242591, 242583
2004-05-04 23:32:32 +00:00
brendan%mozilla.org
bb8a0ca1ee
Track Seek/Tell 32=>64-bit API change in DEBUG_MUX ifdefs.
2004-05-04 22:52:46 +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
timeless%mozdev.org
75e38db20f
Bug 241710 nsILocalFile.getRelativeDescriptor(null) crashes
...
r=dougt
2004-04-28 12:53:20 +00:00
bienvenu%nventure.com
4d40ab419f
make nsILineInputStream take an nsACString ref, 197166, r=darin, sr=mscott, make local msg body search cache open file stream, use nsIFile instead of nsFileSpec to cut down on seeks, improve performance, sr=mscott 240538
2004-04-22 15:32:54 +00:00
darin%meer.net
c9f9e1f23c
fixes bug 240754 "Escape dots in the username and password when canonicalizing URIs" r=dougt sr=dveditz
2004-04-19 21:50:35 +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
0b005761a9
backing out 240192 patch
2004-04-16 20:10:47 +00:00
cbiesinger%web.de
2a913af4eb
trying to fix bustage
2004-04-16 19:46:05 +00:00
cbiesinger%web.de
03c30951ad
bug 240192, nsLocalFileUnix doesn't work with files larger than 2 GB
...
r+sr=darin
2004-04-16 19:01:58 +00:00
brendan%mozilla.org
85b983ea03
Restore some lost empty lines, use number-line order in range-check asserts.
2004-04-13 23:17:18 +00:00
darin%meer.net
f4d81044d5
bumping IID of nsISeekableStream, b=180154 r+sr=brendan
2004-04-13 23:08:59 +00:00
cbiesinger%web.de
d1fa5bd076
fix compile warnings in nsLocalFileWin, r=dougt bug 239298
2004-04-13 19:30:51 +00:00
bienvenu%nventure.com
9e210e5568
make nsISeekableStream interface support 64 bit streams, part of 180154 also fix 207400 allow mail folders > 2GB r=darin, sr=mscott
2004-04-13 14:37:53 +00:00
mkaply%us.ibm.com
7a33fc8997
#230618
...
r=pedemont, sr=blizzard (platform specific), a=mkaply
OS/2 only - we weren't removing the parent directory when we moved a directory
2004-04-08 20:30:37 +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
darin%meer.net
5e48976913
fixes bug 237590 "nsIBinaryInputStream inherits from nsIInputStream but can't be QI'ed to it" r=biesi sr=brendan a=brendan
2004-04-03 17:09:07 +00:00
bryner%brianryner.com
3e2d90ecb7
fixing hpux bustage, bug 239465, r=dbaron
2004-04-02 23:48:18 +00:00
bryner%brianryner.com
bd24b78f8d
Fixing hpux bustage. r=dbaron.
2004-04-01 23:13:25 +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
mkaply%us.ibm.com
dba5ed1238
238445 - r=mkaply, a=mkaply - my code sucked. Here's a better version from Javier Pedemonte
2004-03-26 05:29:18 +00:00
mkaply%us.ibm.com
46f60f8e69
#238445
...
r=pedemont, sr=blizzard (platform specific code), a=mkaply
OS/2 only - need to allocate more space for our unicode to native conversions
2004-03-25 20:22:37 +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
timeless%mozdev.org
d0cad70397
Bug 202366 Problem with profile location and non-latin User Name in Mozilla 1.4+/Phoenix
...
patch by pharkas@yahoo.com.pl r=dougt sr=dveditz
2004-03-02 08:20:25 +00:00
timeless%mozdev.org
e8080a558a
Bug 235745 Possible leak or crash in nsStorageStream
...
patch by nsayer@kfu.com r=darin sr=darin
2004-03-02 01:13:15 +00:00
timeless%mozdev.org
b59a697f27
Bug 235744 Expose StorageStream class to Javascript
...
patch by nsayer@kfu.com r=darin sr=darin
2004-03-02 01:11:06 +00:00
darin%meer.net
c380c59f65
landing dbaron's patch for bug 235735 "fix callers that cast away const on result of ns[C]String::get" r+sr=darin
2004-02-28 22:34:07 +00:00
cls%seawood.org
8d3deb6978
Explicitly mark inlined functions with |inline| & drop NS_COM since we rely upon these functions being inlined. Works around mingw gcc bustage.
...
Bug #226609 r=darin sr=dbaron
2004-02-23 22:12:03 +00:00
jshin%mailaps.org
cf9d6a4895
bug 233485 : add 'size' parameter to nsAutoBuffer (patch for customers) : r=ccarlen, sr=rbs)
2004-02-19 11:00:29 +00:00
darin%meer.net
8d65e087ae
landing string defragmentation patch for bug 231995, r/sr=dbaron,jst,dougt
2004-02-19 02:44:03 +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
brendan%mozilla.org
1ac6f0f662
Typo in comment.
2004-02-07 05:38:56 +00:00
jshin%mailaps.org
4ffa3b1e3f
follow-up to bug 227547 (not a bug) : added missing 'const' qualifier to the first parameter of CopyUTF8toUTF16NFC()
2004-01-28 08:21:39 +00:00
jshin%mailaps.org
8c6b7db6f8
bug 227547: return local file names after converting NFD (decomposed Unicode) to NFC (composed Unicode) for consumers (Mac OS X only). r=ccarlen, sr=sfraser
2004-01-28 05:55:30 +00:00
bryner%brianryner.com
a10a5e8383
Continuing removal of unneeded virtual destructors (bug 229875). r=dougt, sr=dbaron.
2004-01-22 01:01:19 +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
jshin%mailaps.org
026e966b62
bug 228176 : in the previous checkin, missed the reviewer comment about the name change (exclude -> skip)
2004-01-07 04:17:40 +00:00
jshin%mailaps.org
8ea11801c8
bug 228176 exclude control characters from unescaping URLs for the UI : r=darin, sr=jst
2004-01-07 03:57:20 +00:00
bzbarsky%mit.edu
eb0805091d
Use the right dir as the default download location. Bug 204548, patch by
...
josha@mac.com (Josh Aas), r=sdagley, sr=bzbarsky
2004-01-06 07:37:55 +00:00
jshin%mailaps.org
94a487518f
bug 225125 : open/save dialog crashes mozilla on coming across 'invalid' filenames ; tentative measure (r=smontagu, sr=darin)
2004-01-04 08:20:52 +00:00
cbiesinger%web.de
f1d3381adb
Bug 183871
...
Crash on "Show hidden files and directories" [@ nsFileView::SetDirectory(nsIFile*) ]
fix: don't let files be initialized with relative paths.
also fix the directory service to not do that.
r=dougt sr=bzbarsky
2003-12-25 22:05:01 +00:00
peter%propagandism.org
59a61c49b9
Fixing BeOS bustage.
2003-12-23 19:32:25 +00:00
peter%propagandism.org
45f50dbc47
Patch for bug 209699 (convert some consumers over to CopyUTF8toUTF16 / CopyUTF16toUTF8). r=jshin, sr=jst.
2003-12-23 09:56:23 +00:00
bienvenu%nventure.com
c730b9ee45
fix nsILocalFile relative descs calculation of relative path, r=sspitzer, sr=mscott required for 137006
2003-12-19 18:13:42 +00:00
mkaply%us.ibm.com
23847067ef
#214152
...
r=pedemonte, sr=blizzard (platform specific), a=mkaply
adjust unicode return buffer lengths to work around OS/2 bug
2003-11-19 19:35:09 +00:00
bzbarsky%mit.edu
91b42a0363
Make profile directory not be created world readable. Bug 59557, patch by
...
biesi/shaver, r=ccarlen, sr=bzbarsky
2003-11-19 01:30:16 +00:00
bzbarsky%mit.edu
30ffe2a0e4
Read at EOF should not throw. Bug 224093-ish, r=darin, sr=dbaron
2003-11-18 15:06:03 +00:00
pete.zha%sun.com
8122870ca0
bug 124029 Roaming - 4.x-HTTP-compatible
...
This is attachment 125933 of this bug
r=darin, sr=bz-vacation
2003-11-06 06:03:14 +00:00
cbiesinger%web.de
cb2ee44828
fixing wrong comments. r+sr=darin
2003-10-17 21:21:45 +00:00
darin%meer.net
cbcb460359
fixes bug 193917 "incorporate changes from bz's comments in bug 176919" r+sr=bzbarsky
2003-10-09 01:54:07 +00:00
darin%meer.net
77642ae698
fixes bug 210125 "need to be able to AsyncWait for closure only" r=dougt sr=bzbarsky
2003-10-06 01:46:31 +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
bsmedberg%covad.net
0568e675fc
Bug 179834. Separate application resources and GRE resources. r=darin sr=dougt
2003-09-13 17:55:56 +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
brendan%mozilla.org
b7cdb7debb
Add shared DHashTableOps for [const] char *key use-cases, clean up dhash API abusages (214839, r=dougt, sr=dbaron).
2003-08-05 20:09:21 +00:00
jshin%mailaps.org
b54299e1a6
bug 206811 : xp_iconv should use UTF-16, if available, instead of UCS-2 (r=drepper, sr=darin)
2003-07-30 05:58:28 +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
mkaply%us.ibm.com
beb51bc227
Stray character snuck in there
2003-07-23 01:36:17 +00:00
mkaply%us.ibm.com
1a38ab2d00
rs=leaf
...
Remove XP_OS2_VACPP from the tree
2003-07-22 18:38:01 +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
jaggernaut%netscape.com
817298ce0b
Bug 212272: Switch some Substring users over to String(Begins|Ends)With. r=dwitte, sr=bzbarsky
2003-07-14 07:37:39 +00:00
dbaron%dbaron.org
fc8c0f9407
Fix DEBUG bustage. b=212109
2003-07-12 01:33:30 +00:00
bzbarsky%mit.edu
7b5865099a
Update the string stream interface a bit and simplify the implementation a
...
lot. Bug 212109, r=dougt, sr=darin
2003-07-11 23:10:27 +00:00
seawood%netscape.com
1a6a612624
Split private xpcom defines into separate header.
...
Bug #210409 r=dougt
2003-07-03 20:55:23 +00:00
seawood%netscape.com
8fdbbdff1d
Make user-specific application directory name configurable using --with-user-appdir.
...
Thanks to Ben Bucksch <ben.bucksch@beonex.com> for the original patch.
Bug #58327 r=dougt
2003-07-01 18:32:49 +00:00
bsmedberg%covad.net
1a9cab373f
Bug 210337 - Spring cleaning of unused XPCOM code and callers r/sr=alecf/bz
2003-06-23 20:31:43 +00:00
jshin%mailaps.org
b33261e746
bug 183156 : replace UCS2 in function/method names with UTF16 and update the
...
document accordingly. r=jag, sr=alecf
2003-06-23 04:30:57 +00:00
caillon%returnzero.com
4cc64cee34
Bug 209852. Remove |dont_QueryInterface|.
...
r=dbaron, sr=jag
2003-06-21 00:15:41 +00:00
dougt%meer.net
20dd3f677a
Cleans up nsLocalFile0S2 a bit. Removes code that checks for symlinks. r=r=mkaply, sr=blizzard, bug=209963
2003-06-19 21:53:26 +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
seawood%netscape.com
97649bab86
Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev
2003-06-10 21:18:27 +00:00
dougt%meer.net
0d5620770d
Adding comments to nsDirectoryServiceDefs.
2003-06-10 20:09:25 +00:00
jshin%mailaps.org
5c17cefb54
Not a bug. Removing 4 spurrious lines (no effect on the binary generated)
...
sneaked in the previous commit (for bug 206811) by mistake.
2003-06-04 06:34:38 +00:00
brendan%mozilla.org
32fe82e60e
Fold premature entry decl initialized by gratuitous ?: expr into dependent if/else in nsFastLoadFileReader::ReadObject.
2003-06-04 06:08:15 +00:00
jshin%mailaps.org
d99c80bf83
bug 206811. use UTF-16 instead of UCS-2 for nsNativeCharsetutils on Unix.
...
Also use iconv(3) on Linux (r=smontagu, sr=alecf)
2003-06-03 12:37:44 +00:00
timeless%mozdev.org
95f81078f1
Bug 207081 only create profile window comes up on start attempt
...
GetSpecialSystemDirectory used 'break;' instead of returning NS_OK on OS/2
and assigned its rv to an undeclared variable instead of returninng on Mac Classic.
removed tabs.
r=mkaply a=mkaply
2003-05-27 14:01:32 +00:00
timeless%mozdev.org
915641a045
Bug 205609 control reaches end of non-void function GetSpecialSystemDirectory and lots of unhandled enumeration values
...
r=dougt
2003-05-25 07:11:51 +00:00
jaggernaut%netscape.com
e016c1df62
Bug 206943: Slightly optimize NS_GetSpecialDirectory. r=dougt, sr=dbaron
2003-05-24 03:11:36 +00:00
dwitte%stanford.edu
270d3909ca
bug 100649: Length() being used where IsEmpty() is meant
...
treewide changes to convert incorrect usages of string.Length() to string.IsEmpty().
thanks to afatecha@idea.com.py (Ariel Fatecha) for the patch. r=dwitte, sr=jst.
got the ok from Asa to land into a closed tree.
2003-05-23 21:34:47 +00:00
dbaron%dbaron.org
77bf6f4e26
Add StringBeginsWith, StringEndsWith, and UTF8ToNewUnicode. Move UTF8 handling utilities to separate file. b=131293 r=jst sr=alecf,jag a=asa b=131293
2003-05-21 22:20:27 +00:00
sgehani%netscape.com
71ed167934
Make GetFSRefInternal assume NS_ERROR_FILE_NOT_FOUND when CFURLGetFSRef
...
returns false.
b=202772; r=ssu, ccarlen; sr=sfraser; a=asa
2003-05-21 00:53:36 +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
jrgm%netscape.com
cf01c9d921
don't check for SHGetSpecialFolderPathA in shfolder.dll (cause it won't be there) and load the 'ansi' proc name from shell32.dll, bug 204246, r+sr=dougt, a=asa
2003-05-08 20:41:20 +00:00
ccarlen%netscape.com
47683e635f
Profile sharing - changes to profile dirserviceprovider, a component to control whether sharing is enabled. bug=202474, rs=dougt/sr=darin/a=asa
2003-05-02 03:59:23 +00:00
ssu%netscape.com
3e7f61a67d
fixing bug 125106 - general nsIFile converter change hosed XPInstall intl filenames. r=dveditz, sr=alecf, a=sspitzer
2003-04-30 06:49:04 +00:00
brendan%mozilla.org
784eab4a1d
Remove copy-pasted scope qualifier for ReadSegments decl, jdunn says HP aCC barfs on it (a=leaf).
2003-04-23 16:48:08 +00:00
gordon%netscape.com
d83534770a
Fix bug 105344. r=saari, sr=darin.
2003-04-23 05:05:16 +00:00
ccarlen%netscape.com
82d6d96035
Bug 202798 - Save page as fails when downloads.rdf does not exist (new Profile) r=varga/sr=sfraser
2003-04-21 21:43:38 +00:00
seawood%netscape.com
f7bf89f618
Remove global _POSIX_SOURCE & _SVID_SOURCE defines for linux.
...
Bug #202510 r=darin
2003-04-18 20:14:17 +00:00
ccarlen%netscape.com
35e19dac59
Bug 164396 - Change internal representation of file from FSRef to CFURL, reducing conversions between path and FSRef and fixing other bugs. 2nd checkin of this after testing on other Tinderboxen showed Ts improvement. r=sdagley/sr=sfraser
2003-04-18 13:50:38 +00:00
dougt%netscape.com
130c3dec24
using strnicmp instead. r=darin
2003-04-18 05:43:41 +00:00
mkaply%us.ibm.com
c33d0334cd
202480 for OS/2
2003-04-18 02:22:17 +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
alecf%netscape.com
0b48cf638a
fix for bug 199170 - more static atom work in xpcom, chrome registry, rdf, and profile dir service provider.. sr=bryner, r=ccarlen
2003-04-15 22:19:01 +00:00
darin%netscape.com
42ed2c232f
fixes bug 201574 "Many Unaligned access messages when reading XUL.mfasl" r/sr=alecf,brendan
2003-04-15 18:17:54 +00:00
brendan%mozilla.org
e81a02eeb2
Reduce seeks outside the FastLoad file's underlying stream buffer (195010,
...
r=ben, sr=bryner).
- Pass null scope objects into nsIScriptContext::Compile{EventHandler,Script}
when precompiling for brutal sharing. The JS engine does not need a non-null
object parameter for static scope. That parameter can be non-null only if it
helps the compiler "pre-bind" functions to the same scope object that they'll
be parented by when executing, but with brutal sharing, functions are
precompiled once and executed against many different scope objects.
- A problem in XUL FastLoad was that it would serialize master .xul document
out-of-line scripts (those included via script src= from non-overlay, "master"
.xul docs) far from the place in the FastLoad file where XUL prototype script
info was serialized for the <script src=> tag itself. I fixed that so that,
unless the out-of-line script was previously serialized (by a different src=
reference from another .xul file), the OOL script data immediately follows the
proto-script info in the FastLoad file.
This required adding a SerializeOutOfLine method to nsXULPrototypeScript, which
restores symmetry by matching the existing DeserializeOutOfLine(Script) (note:
I dropped the redundant "Script" from the end of the latter method's name. We
need SerializeOutOfLine to handle overlay OOL scripts. They are serialized by
nsXULDocument::OnStreamComplete, because that code knows the difference between
an overlay and a master doc. This removes all trace of FastLoad writing from
nsXULPrototypeScript::Compile -- FastLoad stuff didn't belong there, not only
because we now want to write master OOL scripts later, when walking the master
XUL prototype doc's element tree, but also for modularity reasons. The caller
knows about FastLoad, nsXULPrototypeScript::Compile does just what its name
implies.
There are 132 seeks with the patch, only 49 of which dump the underlying file
stream's buffer, vs. 133 seeks without the patch, 87 of which dump the buffer.
- Nit-picked some comments to fit in 80 columns, and made other cosmetic fixes.
- Implicated the nsXULDocument::mIsWritingFastLoad flag from the useXULCache
"is the XUL cache enabled?" flag, so other places that test mIsWritingFastLoad
don't have to query whether the cache is enabled.
- Added METERING synchronous meter-dumping to /tmp/bufstats, only ifdef
DEBUG_brendan, in netwerk/base/src/nsBufferedStreams.cpp.
- Added the deferred seek optimization from the first patch in bug 195010 to
nsFastLoadFile.cpp.
- Fixed nsFastLoadFileReader so it overrides readSegments as well as read.
This catches up with the interface extension made to nsIInputStream to add
readSegments. The nsFastLoadFileReader extends nsBinaryInputStream, which is
a concrete class, and overrides Read in order to snoop on *all* bytes read.
It does this in order to demultiplex documents interleaved when the FastLoad
file was written.
But since the readSegments move into nsIInputStream.idl, certain primitives
in nsBinaryStream.cpp, e.g., nsBinaryInputStream::ReadCString, have used
ReadSegments, not Read, to consume parts of the underlying stream (to read
the C string's chars, in that example), and the FastLoad file implementation
has not accounted for those bytes.
- Added a new method to nsIFastLoadFileControl and its impls: hasMuxedDocument.
This is needed when serializing master XUL doc OOL scripts, because we must
not serialize twice, and any OOL script that other XUL docs can include via
script src= could already be in the FastLoad mux.
/be
2003-04-12 01:34:11 +00:00
alecf%netscape.com
403150f676
rev the nsIUnicharInputStream IID, since the mozdev spell checker was using it
...
(no reviewer, just an IID rev)
2003-04-08 00:39:19 +00:00
ccarlen%netscape.com
9885ed4d9c
Bug 200662 - [OSX]GetCurrentProcessDirectory can fail. r=/sr=sfraser.
2003-04-07 14:29:56 +00:00
ssu%netscape.com
669e313b68
fixing bug 195148 - XPInstall API's getFolder should support Classic and OSX folders under OSX. r=ccarlen,dougt sr=sspitzer
2003-04-07 07:02:32 +00:00
darin%netscape.com
5d6a45aa87
fixes bug 193918 "pipe should better utilize current segment (rollback write cursor whenever read cursor == write cursor)" r=dougt sr=bz
2003-04-05 02:02:09 +00:00
alecf%netscape.com
6c75920da1
fix for bug 195298 - pldhash ops tables should be const.. r=dougt, sr=sfraser
2003-04-04 15:10:37 +00:00
alecf%netscape.com
3a52f618a6
fix for bug 199170 - convert xpcom over to using static atoms
...
r=dougt, r=ccarlen
2003-04-03 20:02:03 +00:00
seawood%netscape.com
80e1b303cc
Purge XP_PC.
...
Bug #56767 r=mkaply sr=alecf
2003-04-02 22:45:08 +00:00
darin%netscape.com
23a4a8a036
removing dead code
2003-03-25 02:10:41 +00:00
darin%netscape.com
ab8dd4504f
fixes bug 192352 "~ns{In,Out}putStreamReadyEvent should check nsIEventQueue::isQueueOnCurrentThread"
...
r+sr=dougt
2003-03-25 02:10:11 +00:00
mkaply%us.ibm.com
8c2397b9ac
#188249
...
r=dougt
Cleanup Makefiles, OS/2 GCC landing
2003-03-21 22:26:41 +00:00
ssu%netscape.com
7e387c0ae1
fixing bug 186088 - Mozilla crashes during installation of XPI Packages [@ nsInstallFile::CreateAllFolders]. r=ccarlen,sr=dveditz
2003-03-21 22:18:17 +00:00
ccarlen%netscape.com
afe7773d87
Backing out due to huge Ts increase
2003-03-20 08:45:50 +00:00
ccarlen%netscape.com
8d38ed69c5
Bug 164396 - [OS X]Reduce conversions between path and FSRef. Changes internal representation to not use FSRef which should fix various bugs. r=sdagley/sr=sfraser
2003-03-20 06:05:03 +00:00
dougt%netscape.com
59e5eb0421
Removing dead code. b=198023, r=darin, sr=dbaron
2003-03-18 20:34:19 +00:00
mkaply%us.ibm.com
05329eb6b6
OS/2 build doesn't come up if MOZILLA_HOME isn't set
2003-03-16 03:37:08 +00:00
mkaply%us.ibm.com
4a2133fd7a
OS/2 bustage
2003-03-15 02:27:21 +00:00
dougt%netscape.com
0d2808c511
Create a new xpcom obsolete library (and component library).
...
Moved nsFileSpec and related classes into this obsolete library.
Moved nsRegistry and related libreg functionality into the obsolete library.
Updated many callers using the obsolete nsFile spec to use nsIFile and Necko to do file IO.
Combined the following DLLs (source -> dest)
uriloader -> docshell
shistory -> docshell
jsurl -> jsdom
gkview -> gklayout
Moved nsAdapterEnumerator out of xpcom/ds and into mailnews, since they're the only consumer
Modifed the xpt_link tool so that you can specify a �only include� cid list that can mask CID�s that you are not interested in.
Added build options:
Prevent the building of xpinstall (--disable-xpinstall)
Prevent the building js component loader (--disable-jsloader)
A build option to only build a single profile (--enable-single-profile)
A build flag to only built the required xpfe components (--disable-xpfe-components).
Removal or hiding of unused functions and classes including nsEscape*, nsDequeIterator, nsRecyclingAllocatorImpl, nsDiscriminatedUnion, nsOpaqueKey, nsCRT::strlen, NS_NewCommandLineService
Bug 194240, r/sr = darin, alec.
2003-03-15 01:04:32 +00:00
ccarlen%netscape.com
7061fe60e5
If the destination file already exists, moveTo[Native] should replace it. Bug 195109 r=sdagley/sr=sfraser
2003-03-14 20:01:41 +00:00
rginda%netscape.com
500958a09b
bug 170585, Scriptable streams are broken; r=darinf, sr=dougt
...
add factories so js can create the nsIBinary*Stream objects,
also adds read/writeByteArray functions
2003-03-13 21:23:18 +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
dougt%netscape.com
34cd7b0fdb
adding SpecialSystemDirectory files to trunk. not part of build
2003-03-11 22:47:05 +00:00
dougt%netscape.com
a4c7c7573f
Converting the file location of the component registry and the xpti manifest file to use the directory service. r=darin, b=191055
2003-03-11 21:36:59 +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
dougt%netscape.com
3b4e35ca3a
fixes warnings
2003-03-06 23:26:43 +00:00
alecf%netscape.com
5b7536c806
fix for bug 191416 - clean up nsIUnicharInputStream to make it more like nsIInputStream:
...
- hide Fill() (or remove it where not necessary)
- add ReadSegments() so that we can do reads without copying
- remove the extra offset parameter to Read()
r=dougt, sr=darin
2003-03-06 19:54:51 +00:00
andreas.otte%debitel.net
0f9fa9ad78
fix bug 193477 [URL: colon ":" in URI is escaped in request (not scheme or port delimiter)] no longer escape the colon when it is part of the filename in urls, but force it's escape in links when building dir/index listings, r=bbaetz@acm.org, sr=darin@netscape.com
2003-02-27 13:15:19 +00:00
andreas.otte%debitel.net
6f076f634b
fix bug 191638 [index/html: files|dirs with "%" need to be properly encoded] force escape of % as part of filenames to %25 to not be damaged by unescape, r=bbaetz@acm.org, sr=darin@netscape.com
2003-02-27 10:55:01 +00:00
timeless%mozdev.org
85c42d083c
Bug 190799 xpcom/io/nsFileSpec.cpp", line 905: Warning: String literal converted to char* in initialization.
...
r=dougt sr=roc+moz
2003-02-23 04:41:24 +00:00
darin%netscape.com
f5e1e52523
fixes bug 193017 "downloading via ftp doesn't proceed" r=dougt sr=brendan a=dbaron
2003-02-19 03:44:46 +00:00
brendan%mozilla.org
04624a2df0
- Turn jrgm's helpful assert/defend changes into assertions that mCIDOffset
...
is never 0, and make the memset-to-zero required for these assertions be
#ifdef NS_DEBUG.
- Extend FastLoad file format to encode a singleton flag in the high bit of
nsFastLoadSharpObjectInfo.mWeakRefCnt. The updater code needs to test this
bit in order to deserialize a singleton that was not read by the updater's
reader during this FastLoad episode. Otherwise the updater is likely to
reserialize the singleton, leading to multiple entries in the object map
for the same object, and UMRs when loading from the writer's object map
enumeration (objvec) in nsFastLoadFileWriter::WriteFooter.
- Remove bogus assertion that worked only when an XPCOM data structure being
serialized was still alive at the time the writer closed. In general, there
is no relationship between the strong ref-counts in a FastLoad file and the
XPCOM refcnts in memory at close time.
- Bug 189832, r=jrgm, sr=ben, a=dbaron.
2003-02-16 17:40:16 +00:00
darin%netscape.com
ad524cbb90
hopefully fixing WIN32 bustage
2003-02-08 02:08:34 +00:00
darin%netscape.com
5a2707f349
fixes bug 192196 "crashes on shutdown" r=dougt sr=blizzard a=asa
2003-02-08 00:54:36 +00:00
darin%netscape.com
99e45ceed4
fixes bug 191227 "file uploads hang (especially w/ slower connections or
...
slower servers)" r=dougt sr=bz a=dbaron
2003-01-31 02:00:45 +00:00
jrgm%netscape.com
2f7102abeb
Guard against bogus entries in the object map of the fastload file, bug 189832, r=ben/jag, sr=jst, a=asa
2003-01-31 01:34:45 +00:00