Commit Graph

48 Commits

Author SHA1 Message Date
Ehsan Akhgari
6c1914b71f Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (XPCOM parts); r=bsmedberg 2012-06-05 19:51:58 -04:00
Gervase Markham
cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
df50afb4e6 Bug 528569 - Storage stream's output stream should report itself as blocking. r=biesi 2011-11-19 12:53:57 +01:00
d81ebea912 Bug 699780 - Redundant call to Seek() in nsStorageStream::GetOutputStream(); r=bsmedberg 2011-11-08 07:41:54 +00:00
Ehsan Akhgari
478ad1a412 Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Michael Wu
0fe7772ece Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones 2011-09-28 23:19:26 -07:00
Mike Hommey
7ac8cc8f87 Bug 664090 - Store offset inside segment instead of pointer for nsStorageInputStream. r=bsmedberg 2011-09-08 09:12:42 +02:00
Matheus Kerschbaum
44209e0bdf Bug 678155 - Remove NS_COM. r=bsmedberg 2011-08-18 15:46:39 +02:00
Dominic Fandrey
532ec73933 Bug 645398 - Substitute PR_(MAX|MIN|ABS|ROUNDUP) macro calls; r=roc 2011-06-02 14:56:50 +02:00
Ed Morley
ccefac1d72 Bug 316661 - Part A - Remove null-checks before delete. r=bsmedberg 2011-05-17 16:01:36 +02:00
Ehsan Akhgari
0933c99f1c Bug 646071 - Part 3: Remove nsInt64.h, and convert all uses of nsInt64 and nsUint64 in the tree to PRInt64 and PRUint64, respectively; r=bsmedberg 2011-03-31 20:15:27 -04:00
Ehsan Akhgari
a37a42a15a Backout the latest cedar merge wholesale until I test the correctness of the merge locally. This commit takes the tree state back to changeset 8d3f6093c425 (the last known good changeset before the merge) 2011-04-01 12:23:48 -04:00
Ehsan Akhgari
8b4d62ebd0 Bug 646071 - Part 3: Remove nsInt64.h, and convert all uses of nsInt64 and nsUint64 in the tree to PRInt64 and PRUint64, respectively; r=bsmedberg 2011-03-31 20:15:27 -04:00
Sean Dunn
5c8450dc2f Bug 632280 - Remove NS_NOTREACHED occurrences near nsCacheEntryDescriptor.cpp:686; r=bzbarsky,khuey a=bsmedberg 2011-02-11 16:49:07 -05:00
94c3342db0 381812 make it possible to get storage input streams for empty streams r=bsmedberg 2007-08-17 13:27:50 -07:00
98de634631 Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros. 2007-07-08 00:08:04 -07:00
jwalden@mit.edu
d54ea62914 Bug 367467 - Allow inputstream generation at the end of data in a storage stream (i.e., so reading from the new stream automatically blocks/throws and doesn't even read any data). r=bsmedberg 2007-03-09 12:28:55 +00:00
darin@meer.net
116d14e5af fixes bug 318193 "Input streams are not implemented consistently" r=biesi sr=bz 2006-01-02 02:30:32 +00:00
bzbarsky@mit.edu
e61a8caa5f Throw instead of crashing if used before init(). Bug 290907, r=biesi,
sr=darin, a=asa
2005-04-20 15:37:38 +00:00
darin@meer.net
5bccdb2510 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
timeless@mozdev.org
81584424cc Bug 235744 Expose StorageStream class to Javascript
patch by nsayer@kfu.com r=darin sr=darin
2004-06-18 09:03:10 +00:00
gerv@gerv.net
c0cd46fc51 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:21:17 +00:00
bienvenu@nventure.com
021e530d27 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
timeless@mozdev.org
cb2571ad15 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
bryner@brianryner.com
3736b6e206 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
darin@netscape.com
d524dec2ce modifications for bug 176919 "async streams" r=dougt,gordon sr=sspitzer a=valeski,asa 2003-01-18 02:15:14 +00:00
suresh@netscape.com
891b78f091 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
8c37890522 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
dougt@netscape.com
46ce738546 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com 2002-09-07 17:13:19 +00:00
brade@netscape.com
48ca066a22 always seek so variables are initialized properly, increment mSegmentNum before getting next block; bug 129760, r=dougt, sr=darin, a=Asa 2002-03-19 14:11:06 +00:00
darin@netscape.com
619c366b34 b=99165 Freeze nsIInputStream nsIOutputStream (not yet frozen... but close)
r=dougt sr=shaver a=asa
2002-03-12 00:59:06 +00:00
brade@netscape.com
f4f8a37c7d only return NS_BASE_STREAM_WOULD_BLOCK when write is in progress (send NS_OK when we're done writing); (bug 121314; r=adamlock; sr=darin; a=shaver) 2002-02-25 18:49:16 +00:00
brade@netscape.com
1d1e3c4576 optimization (don't call writer with 0 bytes); bug 122221; r=akkana, sr=darin 2002-02-07 14:19:32 +00:00
darin@netscape.com
1d03f65bd9 fixing compiler warning of uninitialized variable resulting from my checkin
for bug 121441
2002-01-25 10:47:24 +00:00
darin@netscape.com
0e3be2cc86 fixes bug 121441 "unable to publish via http PUT (nsStorageStream should
support nsISeekableStream)"
r=brade, sr=dveditz
2002-01-25 02:13:00 +00:00
rpotts@netscape.com
a1fbdc4787 Fix for assert when loading content from the memory cache (ie. hitting Back). r=jst 2000-12-13 23:11:32 +00:00
rpotts@netscape.com
9d7af913c0 Changed the nsIInputStreams created by the storage stream to be thread-safe... 2000-09-10 08:12:26 +00:00
warren@netscape.com
0aaf97b668 Bug 46777. Redesigned stream interfaces to allows stream observers to be decoupled from pipe implementation. Needed for embedding to fix 'spin' problem. r=rpotts,valeski,ruslan 2000-08-22 07:03:33 +00:00
warren@netscape.com
6a06dfc026 Renaming nsIAllocator to nsIMemory (and nsAllocator to nsMemory). API cleanup/freeze. Bug #18433 2000-06-03 09:46:12 +00:00
warren@netscape.com
90e6ffd47b Bug 21556: Making linux be thread-safe. Making tons of classes implement threadsafe AddRef/Release. a=jar 2000-03-05 21:26:01 +00:00
warren@netscape.com
e174529ab3 Fix for bugs 24008 and 23849 -- needed to keep mSegmentEnd and mWriteCursor in sync for out-of-memory case. a=chofmann r=fur,gordon 2000-01-21 23:16:35 +00:00
fur@netscape.com
8d3851bda3 Need to reset pointers within segment after realloc, since segment base
may have changed.
1999-12-08 06:28:44 +00:00
dp@netscape.com
6fb4a9e682 NS_GET_IID(). Thanks to patch from pp@ludasdesign.com r=dp@netscape.com 1999-11-30 23:36:32 +00:00
fur@netscape.com
2c3cbba90e Fixed indentation 1999-11-21 07:58:53 +00:00
fur@netscape.com
dc37bcb67d Quell warning 1999-11-18 06:59:28 +00:00
fur@netscape.com
3ef99cf44a Quell warnings 1999-11-18 03:38:32 +00:00
mcafee@netscape.com
1b9179ab1e Switching to PRBool, un-break Solaris WS build. r=slamm 1999-11-18 03:22:47 +00:00
fur@netscape.com
932e04bb39 Bug #8305, r: valeski, rickg
The storage stream provides an internal buffer that
can be filled by a client using a single output
stream.  One or more independent input streams can
be created to read the data out non-destructively.
The implementation uses a segmented buffer
internally to avoid realloc'ing of large buffers.
1999-11-16 19:14:08 +00:00