Граф коммитов

1440 Коммитов

Автор SHA1 Сообщение Дата
cbiesinger%web.de 86e40b2395 backing out patch for bug 278786. it breaks read(-1). 2005-01-22 00:16:44 +00:00
joshmoz%gmail.com d08ce10f76 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 bc1e8577ce 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 91b63e7ab4 OS/2 build bustage from 276592 - a=mkaply 2005-01-06 18:11:46 +00:00
bzbarsky%mit.edu e425259e0d 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 a24258e19f Bug 276592 - NS_OS_CURRENT_WORKING_DIR is not implemented. r=darin 2005-01-04 16:28:50 +00:00
dbaron%dbaron.org 1cc6b3262a 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 8335dab53b 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 55053e0158 Back out 252703 due to Txul / Ts regression. 2004-12-02 01:26:20 +00:00
dbaron%dbaron.org a84646c6dd 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 1435145ce6 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 7b0ebbc60b 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 7cac02fb30 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 95aa9ed127 bug 263462 : NS_UnescapeURL doesn't honor esc_OnlyNonASCII (r=darin, sr=jst) 2004-10-12 08:48:31 +00:00
darin%meer.net ee173313aa 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 cae8263e6d 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 aceb33de9f Bug 258014 make @param names match function signature
r+sr=darin
2004-09-05 13:25:51 +00:00
timeless%mozdev.org c656d650e6 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 3a9c6fe65c make nsSafeFileOutputStream follow target symlinks.
b=252050, r=biesi, sr=darin
2004-07-30 05:00:32 +00:00
brofield%jellycan.com dcd18c1baf 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 db0524c742 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 aa87558bf1 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 5bc3cafffc Windows special system directories should preserve case b=221872 r=darin sr=dougt 2004-07-05 02:15:07 +00:00
cbiesinger%web.de f43128f04e bug 247491 document parameters of nsIStorageStream::init
r+sr=darin
2004-06-25 19:53:58 +00:00
darin%meer.net 98cb0c38d4 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 1c5b4a3bbd 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 a37c838fe6 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 00c0a7bda1 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 38e9512e25 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 52092297fe Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin 2004-06-17 00:13:25 +00:00
cbiesinger%web.de 651b84cbf0 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 5bd6577f63 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 b973ad780d bug 245399, part 2: use &#39; rather than &lsquo; for ' (single quote)
r+sr=jst
2004-06-08 10:47:09 +00:00
dougt%meer.net f010db00ad 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 dd2ed21b3a Bug 245399: HTML-escape ' (single quote), too 2004-06-05 22:26:46 +00:00
neil%parkwaycc.co.uk 25b6798f4b 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 dd579eaa22 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 b4e769b235 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 24b31c8be8 Init charset utils if they are not initted yet - Firefox bringup 2004-05-27 18:56:36 +00:00
roc+%cs.cmu.edu b8ecbc84da Bug 226439. Convert Seamonkey to EqualsLiteral. rs=darin 2004-05-22 22:15:22 +00:00
bzbarsky%mit.edu f79a6813af Relanding, since backing out did not fix orange. Bug 232691. 2004-05-22 20:02:43 +00:00
bzbarsky%mit.edu 62f7fc6ea3 Backing out to attempt to fix Mac orange. Bug 232691 2004-05-22 19:26:52 +00:00
bzbarsky%mit.edu f1a96e591e Test backout to maybe fix mac orange. Bug 232691 2004-05-22 18:49:53 +00:00
bzbarsky%mit.edu b733dd59da 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 ceef828fbe 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 38329136a7 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 9583cfaf4a 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 d54d76ced9 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 b3ad4e2639 fixes bug 241155 "Support multiple 'components' directories" r=bsmedberg moa=dougt 2004-05-07 00:50:53 +00:00
bienvenu%nventure.com a348600c38 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 0b263dedd4 Track Seek/Tell 32=>64-bit API change in DEBUG_MUX ifdefs. 2004-05-04 22:52:46 +00:00
timeless%mozdev.org bd2c7f02f3 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 eb9446c6ee Bug 241710 nsILocalFile.getRelativeDescriptor(null) crashes
r=dougt
2004-04-28 12:53:20 +00:00
bienvenu%nventure.com 8b57f91769 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 05cac6342e 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 6f486a3c92 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:21:17 +00:00
cbiesinger%web.de 42d5d584ae backing out 240192 patch 2004-04-16 20:10:47 +00:00
cbiesinger%web.de 64cbbca41c trying to fix bustage 2004-04-16 19:46:05 +00:00
cbiesinger%web.de 44d284fb14 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 70bc844f10 Restore some lost empty lines, use number-line order in range-check asserts. 2004-04-13 23:17:18 +00:00
darin%meer.net 54da783722 bumping IID of nsISeekableStream, b=180154 r+sr=brendan 2004-04-13 23:08:59 +00:00
cbiesinger%web.de 480d5dd41f fix compile warnings in nsLocalFileWin, r=dougt bug 239298 2004-04-13 19:30:51 +00:00
bienvenu%nventure.com 6fd0bba771 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 3eb4d9e496 #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 a3645b33e5 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 7616ea0c1a 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 3f83658858 fixing hpux bustage, bug 239465, r=dbaron 2004-04-02 23:48:18 +00:00
bryner%brianryner.com aeecfdfb3a Fixing hpux bustage. r=dbaron. 2004-04-01 23:13:25 +00:00
bzbarsky%mit.edu 89e5bbb3f6 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 d90c9c230e 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 cb33dd608f #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 0e4a8e9606 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 ce24914420 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 2bd2c934b4 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 7f7d5cb21b 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 1d2d419885 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 999aee4f64 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 b4155c6050 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 8c818ed6c3 landing string defragmentation patch for bug 231995, r/sr=dbaron,jst,dougt 2004-02-19 02:44:03 +00:00
bryner%brianryner.com aebf1fa6fd 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 220fbc1ec2 Typo in comment. 2004-02-07 05:38:56 +00:00
jshin%mailaps.org f185240ddc 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 c1cd0c39a9 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 8201c0cef1 Continuing removal of unneeded virtual destructors (bug 229875). r=dougt, sr=dbaron. 2004-01-22 01:01:19 +00:00
bryner%brianryner.com bc829daafa 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 4d3f0a7382 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 c82ca64f9c 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 c4895dd106 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 aa6d8dd039 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 c1933ad111 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 81e7265124 Fixing BeOS bustage. 2003-12-23 19:32:25 +00:00
peter%propagandism.org 342740557a 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 983600ba2b 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 5e01afb66e #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 2b79afa256 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 53ed8e42cc 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 ac108683c6 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 1d0687628c fixing wrong comments. r+sr=darin 2003-10-17 21:21:45 +00:00
darin%meer.net b5031beec6 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 325b3c6de7 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 c145c5e31b Follow the modeline, please. 2003-09-29 18:15:52 +00:00
cbiesinger%web.de 8aff0b68a9 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 e19faaa28f bug 220257. treat .hta files as executables
r=darin sr=bzbarsky
2003-09-26 12:56:49 +00:00
bsmedberg%covad.net 3c7f6e517d Bug 179834. Separate application resources and GRE resources. r=darin sr=dougt 2003-09-13 17:55:56 +00:00
bryner%brianryner.com 9822c742df 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 4f4fd30681 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 f6be8fe74f 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 d6b83a6362 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 5a1760adae #214152
r=pedemont, sr=bz
Handle unicode conversion failure better
2003-07-28 21:02:45 +00:00
mkaply%us.ibm.com 2bc4fb2555 Stray character snuck in there 2003-07-23 01:36:17 +00:00
mkaply%us.ibm.com 56dc425c51 rs=leaf
Remove XP_OS2_VACPP from the tree
2003-07-22 18:38:01 +00:00
dwitte%stanford.edu 8c70c75885 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 bf82a649b9 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 27fbaaf78a Fix DEBUG bustage. b=212109 2003-07-12 01:33:30 +00:00
bzbarsky%mit.edu e91ae1f2b8 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 209f4b6c8d Split private xpcom defines into separate header.
Bug #210409 r=dougt
2003-07-03 20:55:23 +00:00
seawood%netscape.com bd6616883a 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 a77fdd7bd4 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 875f814f7e 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 36a00e95c1 Bug 209852. Remove |dont_QueryInterface|.
r=dbaron, sr=jag
2003-06-21 00:15:41 +00:00
dougt%meer.net cbd9c6149a 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 f5b2bccf54 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 8f112a4226 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 4dcb726830 Adding comments to nsDirectoryServiceDefs. 2003-06-10 20:09:25 +00:00
jshin%mailaps.org 598f59e3d4 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 45fbeb95b3 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 d734671dda 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 16799100ee 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 97e020fe5d 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 27a944ff94 Bug 206943: Slightly optimize NS_GetSpecialDirectory. r=dougt, sr=dbaron 2003-05-24 03:11:36 +00:00
dwitte%stanford.edu 149f719c00 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 edfc1d13fe 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 e8d18aa73a 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 55a0686892 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 b7d96d41f2 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 5cde65560f 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 b5214fa2f7 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 61e651bfec 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 40094b39d9 Fix bug 105344. r=saari, sr=darin. 2003-04-23 05:05:16 +00:00
ccarlen%netscape.com 477e2b7087 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 8893b1e6fd Remove global _POSIX_SOURCE & _SVID_SOURCE defines for linux.
Bug #202510 r=darin
2003-04-18 20:14:17 +00:00
ccarlen%netscape.com bff945a71a 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 1a10cdb8e2 using strnicmp instead. r=darin 2003-04-18 05:43:41 +00:00
mkaply%us.ibm.com 21b4c9b29d 202480 for OS/2 2003-04-18 02:22:17 +00:00
dougt%netscape.com b7c3e27952 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 2354d05a20 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 bf110f8e7f 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 36867f5dc9 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 3173b4f529 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 28c0f231a8 Bug 200662 - [OSX]GetCurrentProcessDirectory can fail. r=/sr=sfraser. 2003-04-07 14:29:56 +00:00
ssu%netscape.com d6eb21003a 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 488974aec7 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 5f29256c3a 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 83708b199e 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 de59dbee4b Purge XP_PC.
Bug #56767 r=mkaply sr=alecf
2003-04-02 22:45:08 +00:00
darin%netscape.com 69ba0c2280 removing dead code 2003-03-25 02:10:41 +00:00
darin%netscape.com 9fe467d7a9 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 94ef89de9c #188249
r=dougt
Cleanup Makefiles, OS/2 GCC landing
2003-03-21 22:26:41 +00:00
ssu%netscape.com 1a5f9f33b8 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 92ad0870c0 Backing out due to huge Ts increase 2003-03-20 08:45:50 +00:00
ccarlen%netscape.com 5d0894cf7d 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 beb0502643 Removing dead code. b=198023, r=darin, sr=dbaron 2003-03-18 20:34:19 +00:00
mkaply%us.ibm.com 2a38fe89b9 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 75947d90c9 OS/2 bustage 2003-03-15 02:27:21 +00:00
dougt%netscape.com be629223b6 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 eada17fc1c 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 959b2433eb 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 74d26b5b5d 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 dc86608ecf adding SpecialSystemDirectory files to trunk. not part of build 2003-03-11 22:47:05 +00:00
dougt%netscape.com da37fd9b09 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 ab74b36ce8 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 4e39af8ace fixes warnings 2003-03-06 23:26:43 +00:00
alecf%netscape.com da409bcb97 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 7bea6bdccb 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 869bb24c30 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 5bcb0eb0a1 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 3512b39216 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 56efef78eb - 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 77f2cb10e0 hopefully fixing WIN32 bustage 2003-02-08 02:08:34 +00:00
darin%netscape.com 5a8294b5c8 fixes bug 192196 "crashes on shutdown" r=dougt sr=blizzard a=asa 2003-02-08 00:54:36 +00:00
darin%netscape.com 8304c9ec71 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 a7d115616c 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
darin%netscape.com 862e8220fb fixes bug 190549 "Textarea with lots of text within refuses to submit"
r=sicking sr=bzbarsky a=asa
2003-01-29 06:40:16 +00:00
darin%netscape.com 62a619ea3a cleaning up "uninitialized variable" warning resulting from last checkin, b=189689 2003-01-23 05:15:56 +00:00
darin%netscape.com 7406e88216 fixes bug 189689 "intermittent duplicated content on pages, CRC errors in
downloads" r=dougt sr=bzbarsky a=dbaron
2003-01-23 02:39:01 +00:00
mkaply%us.ibm.com bd1e3d305b Oops left printf in 2003-01-22 20:49:21 +00:00
mkaply%us.ibm.com 49eed4b41e #189349
r=cbiesinger, sr=bzbarsky
Have OS/2 follow the Windows path for downloadManager dialog - launch and open in explorer
2003-01-22 04:58:09 +00:00
mkaply%us.ibm.com 93b924445b #189841
r=dougt, sr=dmose
OS/2 only - remove config/os2 from the tree
2003-01-21 00:05:39 +00:00
darin%netscape.com b19f5d1ee0 attemping fix for linux Ts/Txul startup regression, b=189567 2003-01-19 20:46:51 +00:00
darin%netscape.com 2ac86bbab9 fixing mac bustage 2003-01-18 03:34:42 +00:00
darin%netscape.com 8f284ed984 modifications for bug 176919 "async streams" r=dougt,gordon sr=sspitzer a=valeski,asa 2003-01-18 02:15:14 +00:00
darin%netscape.com b5442da194 new files for bug 176919 "async streams" r=dougt,gordon sr=sspitzer a=valeski,asa 2003-01-18 01:27:53 +00:00
brendan%mozilla.org f85335e27a Defend against bad EndMuxedDocument calls, and assert in the underlying {JS,PL}_DHashTableRawRemove that entry is live (188744, r=jrgm, sr=ben). 2003-01-17 10:01:50 +00:00
dbaron%dbaron.org 4dd14b7edb Make implementations consistent across platforms: ensure IsDirectory and IsFile return false even when the file doesn't exist (and they return an nsresult error status). b=187014 r=dougt sr=alecf 2003-01-13 23:17:49 +00:00
bzbarsky%mit.edu 136f820975 Return a more useful error when being inited with an empty string. Bug 187605,
patch by bugzilla@chucker.rasdi.net (So"ren 'Chucker' Kuklau), r=dougt, sr=bzbarsky
2003-01-13 06:26:19 +00:00
danm%netscape.com b1264bb355 adding windows cookie system directory specifier. bug 185689 r=ccarlen,jag 2003-01-10 02:52:26 +00:00
suresh%netscape.com b6ceb73089 Bug 185148 - nsStorageStream::ReadSegments(...) loops forever if the writer fails. r-bzbarsky, sr-darin. 2003-01-09 21:37:30 +00:00
dbaron%dbaron.org f2cd5e3e66 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag 2003-01-08 23:19:20 +00:00
cbiesinger%web.de e4df6058b4 187130 r=mkaply sr=bz remove #ifdef XP_OS2 in an os/2 specific file 2003-01-01 21:20:37 +00:00
seawood%netscape.com 4588fb970a Start installing GRE libraries & components into a separate dist/gre directory as part of the default build.
Bug #186241 r=dougt
2002-12-28 01:15:07 +00:00