1496 Commits

Author SHA1 Message Date
jwalden%mit.edu
1e089da103 Bug 394692 - ASSERTION: read cursor is bad: 'mReadCursor != mWriteCursor', file xpcom/io/nsPipe3.cpp, line 539. Narrow the criteria used to decide whether to fire the assertion to deal with a particular (valid) pattern of memory allocations. r=biesi, a=bz
git-svn-id: svn://10.0.0.236/trunk@236426 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-21 06:17:59 +00:00
roc+%cs.cmu.edu
2d2e1edfb6 Bug 394691. nsTArray should not do default initialization of POD elements. Also, switch nsAutoBuffer users to nsAutoTArray. patch by Chris Pearce, r=bsmedberg, sr=roc, a=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@236258 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-18 23:12:10 +00:00
bzbarsky%mit.edu
93d672ce3e Improve docs. Bug 396069, r+sr=biesi, a=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@236166 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-17 22:30:58 +00:00
mozilla%weilbacher.org
32470d9311 [OS/2] Bug 395576: extension of downloaded files are upper-cased sometimes, r=mkaply
git-svn-id: svn://10.0.0.236/trunk@236066 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-16 20:46:35 +00:00
mozilla%weilbacher.org
c89093a679 [OS/2] Bug 394837: saving files doesn't work when WPS not active, r=mkaply
git-svn-id: svn://10.0.0.236/trunk@234085 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-06 21:44:29 +00:00
jag%tty.nl
aa0e245d4b Bug 271824: do_GetFastLoadService should use nsGetServiceByCID. r=/sr=/a=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@233920 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-05 09:13:58 +00:00
jwalden%mit.edu
b6f3bdf388 Bug 348748 - Cleanup from the handful of patches which have landed since the initial landing that have readded cast macros; I intend to remove the rest of the instances Very Soon, all but certainly before the M8 freeze, so the macro definitions can be removed, again all but certainly before the M8 freeze, if people are okay with them being removed. Still r=bsmedberg, a=no-functionality-change
git-svn-id: svn://10.0.0.236/trunk@233906 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-05 06:41:37 +00:00
asqueella%gmail.com
149eee17b3 Bug 372298 - xpcom/io: 10K codesize reduction by fixing string array
p=Alfred Kayser <alfredkayser@nl.ibm.com>
r+a=bsmedberg


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


git-svn-id: svn://10.0.0.236/trunk@233756 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-02 21:50:48 +00:00
thunder%mozilla.com
bc9abf850f Bug 392967: Load app and extension prefs separately. r=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@233533 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-01 02:16:47 +00:00
cbiesinger%gmx.at
97f6bee87c add unit test for bug 372050 and the unescape parts of bug 350932; also, clarify comments for the ESCAPE_URL_ONLY_NONASCII flag.
r+sr+a=bz


git-svn-id: svn://10.0.0.236/trunk@233510 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-31 20:19:38 +00:00
sdwilsh%shawnwilsher.com
6583c45c2f Bug 308073 - Change default downloading folder in Windows Vista from Desktop to Downloads. Patch by Jim Mathies <jmathies@mozilla.com>. r=robarnold, r=robert.bugzilla, sr=dougt, a=mconnor
git-svn-id: svn://10.0.0.236/trunk@232463 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-21 17:22:03 +00:00
cbiesinger%gmx.at
9b8d8f3310 381812 make it possible to get storage input streams for empty streams
r=bsmedberg


git-svn-id: svn://10.0.0.236/trunk@232286 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-17 20:27:50 +00:00
bzbarsky%mit.edu
2e5b8bfbe4 Make it possible to serialize an nsISerializable instance to an arbitrary
stream, not just to the fastload file.  Bug 390474, r=bsmedberg, sr=brendan,
a=bsmedberg.


git-svn-id: svn://10.0.0.236/trunk@231569 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-07 02:00:55 +00:00
enndeakin%sympatico.ca
7982dc0d36 Bug 380813, improve scriptable io, and give file objects class info, meant to check this in a while ago, r=mfinkle,bsmedberg,sr=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@230940 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-25 16:53:39 +00:00
bzbarsky%mit.edu
63374b745b Fix string leak. Bug 389191, r=josh, sr=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@230801 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-24 20:19:03 +00:00
bzbarsky%mit.edu
0e47216a4d Reland part of the patch for bug 330420 which got backed out by the
table-driven QI landing.  Bug 387926, r+sr=bsmedberg


git-svn-id: svn://10.0.0.236/trunk@230800 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-24 20:17:11 +00:00
cbiesinger%gmx.at
dcd33d59f9 add a comment explaining the 0x20..0x7f range
git-svn-id: svn://10.0.0.236/trunk@230728 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-24 03:30:00 +00:00
cbiesinger%gmx.at
347b6bdff8 bug 389106 escape spaces even for the OnlyNonASCII flag
r=bzbarsky sr=dveditz


git-svn-id: svn://10.0.0.236/trunk@230700 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-24 00:28:42 +00:00
bzbarsky%mit.edu
494aeeca8f Make fastload handle short reads from its underlying buffered stream. Bug
387588, r+sr=biesi


git-svn-id: svn://10.0.0.236/trunk@230163 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-18 01:54:55 +00:00
jwalden%mit.edu
dda6ff3c99 Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros.
git-svn-id: svn://10.0.0.236/trunk@229504 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-08 07:08:56 +00:00
jwatt%jwatt.org
3039ca67d8 Fixing bug 383769. nsLocalFile::EnsureShortPath should check if GetShortPathNameW failed. r=benjamin@smedbergs.us
git-svn-id: svn://10.0.0.236/trunk@228829 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-27 08:36:03 +00:00
asqueella%gmail.com
14d1276f7b Bug 350932 - expose NS_EscapeURL through nsINetUtil
p=Prasad Sunkari <prasad@medhas.org>
r+sr=biesi


git-svn-id: svn://10.0.0.236/trunk@228529 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-21 20:18:25 +00:00
kherron%fmailbox.com
64b20e668e Bug 376844 - Single quotes in URLs should be escaped. Patch by Wladimir Palant <trev.moz@adblockplus.org>. r=benjamin, sr=cbiesinger.
git-svn-id: svn://10.0.0.236/trunk@228197 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-17 12:29:14 +00:00
bzbarsky%mit.edu
0921e70a83 Fix NS_InputStreamIsBuffered to detect buffered empty streams correctly. Bug
368328, patch by Ryan Jones <sciguyryan@gmail.com>, r=bsmedberg, sr=biesi


git-svn-id: svn://10.0.0.236/trunk@227701 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-08 16:00:09 +00:00
joshmoz%gmail.com
b9f5f419a0 fix some gcc 4 warnings in xpcom. patch by Christian Haberstroh. b=382753 r=bent sr=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@227468 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-04 15:44:43 +00:00
asqueella%gmail.com
40f914a66d Bug 347752 - Crash [@ MSVCR80.dll] when using nsIProperties service get method with null argument
p=Alfred Kayser <alfredkayser@nl.ibm.com>
r=darin, sr=dougt


git-svn-id: svn://10.0.0.236/trunk@226357 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-13 16:48:39 +00:00
gavin%gavinsharp.com
4bd70610a0 Bug 364297: add a new per-profile default-pref directory and associated directory service keys, and a way to trigger pref service default pref reloading to facilitate the change of default prefs without affecting exisiting users, r=mconnor, sr=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@225485 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-02 20:13:33 +00:00
benjamin%smedbergs.us
7262cdad6d Bug 376636 - Building with gcc 4.3 and -pendatic fails due to extra semicolons, patch by Art Haas <ahaas@airmail.net>, rs=me
git-svn-id: svn://10.0.0.236/trunk@224885 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-23 14:22:04 +00:00
dbaron%dbaron.org
c291f28c4e Add missing calls to PR_UnloadLibrary (excluding XPCOM component loader and nsPluginsDir*). b=374332 r=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@224556 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-15 22:23:00 +00:00
dbaron%dbaron.org
30f83072c5 Remove unused getKey callback from PLDHashTableOps/JSDHashTableOps. b=374906 r=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@222462 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-27 15:33:45 +00:00
jwalden%mit.edu
cb148f73ab Bug 372546 - Mark pipe input/output streams as threadsafe. r=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@222345 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-25 07:31:45 +00:00
jwalden%mit.edu
3aa1dfb759 Bug 373640 - nsIFile.parent throws an exception on reaching top of file system on Windows -- should return null. r=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@222344 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-25 07:28:06 +00:00
jwalden%mit.edu
99ee4e7ebe Bug 367467 - Allow inputstream generation at the end of data in a storage stream (i.e., so reading from the new stream automatically blocks/throws and doesn't even read any data). r=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@221602 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-09 12:28:55 +00:00
joshmoz%gmail.com
b1bbf339d9 nsLocalFile::GetParent() doesn't return nsnull at top of volume. patch by Wladimir Palant. b=332389 r=sayrer r=josh
git-svn-id: svn://10.0.0.236/trunk@221485 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-07 22:17:01 +00:00
benjamin%smedbergs.us
56e0ee480d Bug 368297 - Fail to find plugins under MOZ_PLUGIN_PATH, patch by Boying Lu <brian.lu@sun.com>, r=me
git-svn-id: svn://10.0.0.236/trunk@220656 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-21 19:45:48 +00:00
sayrer%gmail.com
c3796add5f Bug 367608. implement nsIFile::normalize() on OS X. r=mano, sr=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@219205 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-30 21:50:45 +00:00
jwalden%mit.edu
46e05ea2a6 Bug 368158 - nsPipe XPCOM attributes are missing initialization checks. r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@219143 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-29 20:08:50 +00:00
sspitzer%mozilla.org
00ca127988 supplimental fix for bug #364599: some newly created profile files are write protected, for example bookmarks.html
in addtion to fixing the permissions of bookmarks.html, we need to fix the permissions of the bookmark.html.moztmp file, otherwise we'll still fail to modify bookmarks.

r=dveditz


git-svn-id: svn://10.0.0.236/trunk@218692 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-20 01:28:33 +00:00
mozilla.mano%sent.com
84eb283b30 Bug 364521 - Need a bundleIdentifier attribute in nsILocalFileMac. r=mento, sr=pink.
git-svn-id: svn://10.0.0.236/trunk@217400 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-23 20:17:29 +00:00
gavin%gavinsharp.com
072db601f3 Mac bustage fix for bug 361351
git-svn-id: svn://10.0.0.236/trunk@217063 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-16 15:11:56 +00:00
gavin%gavinsharp.com
bccaa15503 Bug 361351: nsIFile.exists() should throw NOT_INITIALIZED if nsIFile is not initialized, patch by Ryan Jones <sciguyryan+bugzilla@gmail.com>, r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@217060 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-16 14:55:00 +00:00
gerv%gerv.net
a54c420f30 Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@216839 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-11 09:45:41 +00:00
mozilla%weilbacher.org
712a4e7cb3 [OS/2] Bug 351246: Load Mozilla into Highmem on OS/2. Part 1, changes to OS/2 only core code. r=abwillis1, sr=mkaply
git-svn-id: svn://10.0.0.236/trunk@216818 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-10 08:53:03 +00:00
timeless%mozdev.org
4d2beb9547 Bug 283487 nsStringInputStream is still broken
use LengthRemaining consistently
r=darin


git-svn-id: svn://10.0.0.236/trunk@216583 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-06 18:46:29 +00:00
alfred.peng%sun.com
cf0865ef8c Bug 351950. nsLocalFileUnix has "access"(system call) problem on Solaris.
r+sr=dougt.


git-svn-id: svn://10.0.0.236/trunk@216538 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-06 03:58:48 +00:00
dveditz%cruzio.com
99da3d9a95 Sync executable extension list w/Outlook (bug 348763) r/sr=dougt, a=pavlov
git-svn-id: svn://10.0.0.236/trunk@216141 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-30 04:36:21 +00:00
jshin%mailaps.org
46531d3b27 bug 359808 : drop support Win 9x/ME in xpcom/io (r/sr=darin)
git-svn-id: svn://10.0.0.236/trunk@215776 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-24 01:02:56 +00:00
mozilla%weilbacher.org
0f189a9c90 [OS/2] Bug 356287: replace possible forward slashes in q:\tmp with backward slashes, r/sr=mkaply
git-svn-id: svn://10.0.0.236/trunk@215497 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-20 21:06:11 +00:00
joshmoz%gmail.com
602b0bbb34 remove XP_MAC from xpcom. b=281889 r=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@215347 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-16 09:10:09 +00:00