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

59 Коммитов

Автор SHA1 Сообщение Дата
Benjamin Smedberg 8fd1bc7f20 Bug 672843 part C - convert most of XPCOM except for xpcom/tests, r=vdjeric 2013-11-19 16:27:37 -05:00
Ehsan Akhgari e19377c4a9 Bug 936912 - Build xpcom in unified mode; r=froydnj 2013-11-18 21:34:00 -05:00
Joshua Cranmer f6366dd338 Bug 935789, part 1: Kill most uses of prbit.h, r=ehsan
--HG--
extra : rebase_source : 4c44e60c72e0ece3cea7ed1cf79079bd2a1b6487
2013-11-12 18:22:38 -06:00
Joshua Cranmer 1a6dffc73f Bug 884061 - Part 3y: Use NS_DECL_THREADSAFE_ISUPPORTS in xpcom/, r=bsmedberg
--HG--
extra : rebase_source : d54f6973e3ff859207115013e8361781769ffc76
2013-07-18 21:31:26 -05:00
Mats Palmgren 5f5d30eb5b Bug 786533 - Replace NS_MIN/NS_MAX in xpcom/ with XPCOM_MIN/XPCOM_MAX to prevent accidental use. r=ehsan 2013-01-15 13:22:03 +01:00
Nathan Froyd 4c61ef9ec5 Bug 806618 - rewrite PR_NewLogModule calls to not generate static initializers; r=ehsan 2012-10-29 19:32:10 -04:00
Jacek Szpot 761b11160f Bug 792180 - Replace NS_{UN,}LIKELY with MOZ_{UN,}LIKELY; r=ehsan 2012-10-26 15:32:10 +02:00
Andrew Quartey 3f4e29b9f0 Bug 792581 - part 20: Replace LL_UI2L macro with int64_t cast. r=ehsan 2012-10-25 19:25:57 -04:00
Ehsan Akhgari e368dc9c85 Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Honza Bambas 15daadba69 Bug 215450: Allow uploading of files greater than 2gb in size. Involves making input streams 64-bit capable. Significant work done by Makoto Kato, finished by Honza Bambas. r=hbambas,bsmedberg,jdrew,sicking 2012-08-10 22:44:11 -04:00
Aryeh Gregor d0ad5a7d0c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Ehsan Akhgari df3797a6e7 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 82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
bjarne@runitsoft.com 20971d0cc4 Bug 528569 - Storage stream's output stream should report itself as blocking. r=biesi 2011-11-19 12:53:57 +01:00
bjarne@runitsoft.com 3f78fc0cc3 Bug 699780 - Redundant call to Seek() in nsStorageStream::GetOutputStream(); r=bsmedberg 2011-11-08 07:41:54 +00:00
Ehsan Akhgari 92064e6d3f 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 d2b70213ac Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Mike Hommey 3cfa7e1394 Bug 664090 - Store offset inside segment instead of pointer for nsStorageInputStream. r=bsmedberg 2011-09-08 09:12:42 +02:00
Matheus Kerschbaum 8a4cb927fd Bug 678155 - Remove NS_COM. r=bsmedberg 2011-08-18 15:46:39 +02:00
Dominic Fandrey 968bf5196a Bug 645398 - Substitute PR_(MAX|MIN|ABS|ROUNDUP) macro calls; r=roc 2011-06-02 14:56:50 +02:00
Ed Morley 91238e76b1 Bug 316661 - Part A - Remove null-checks before delete. r=bsmedberg 2011-05-17 16:01:36 +02:00
Ehsan Akhgari 2cc302e02c 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 cccdef8b2f 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 bd51cb9b94 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 be2fa27065 Bug 632280 - Remove NS_NOTREACHED occurrences near nsCacheEntryDescriptor.cpp:686; r=bzbarsky,khuey a=bsmedberg 2011-02-11 16:49:07 -05:00
cbiesinger@gmx.at f5b77e12aa 381812 make it possible to get storage input streams for empty streams r=bsmedberg 2007-08-17 13:27:50 -07:00
jwalden@mit.edu 6d7584839a 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 8aef0e3029 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 eb3847a802 fixes bug 318193 "Input streams are not implemented consistently" r=biesi sr=bz 2006-01-02 02:30:32 +00:00
bzbarsky%mit.edu 16cc06ce80 Throw instead of crashing if used before init(). Bug 290907, r=biesi,
sr=darin, a=asa
2005-04-20 15:37:38 +00:00
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
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
gerv%gerv.net 31625ba2b1 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:21:17 +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
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
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
darin%netscape.com 685a7af468 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 31cc5c5412 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 b9083989bb 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 68faeb5241 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 a8b61b1da2 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 281c86ec58 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 08de4648bd 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 15e11e7082 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 3f94575093 fixing compiler warning of uninitialized variable resulting from my checkin
for bug 121441
2002-01-25 10:47:24 +00:00
darin%netscape.com 3cf710f917 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 f7304a8b71 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 b845d5a563 Changed the nsIInputStreams created by the storage stream to be thread-safe... 2000-09-10 08:12:26 +00:00
warren%netscape.com e05eef45e9 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 512c8bf433 Renaming nsIAllocator to nsIMemory (and nsAllocator to nsMemory). API cleanup/freeze. Bug #18433 2000-06-03 09:46:12 +00:00