Commit Graph

203 Commits

Author SHA1 Message Date
Ehsan Akhgari
0fd9123eac 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
Matt Woodrow
7591d1ef12 Bug 782372 - Fix clang build. r=nical 2012-08-20 14:39:10 +12:00
Nicolas Silva
047b99ba78 Bug 782372 - Splits ImageLayers.h into ImageLayers.h ImageContainer.h and ImageTypes.h, r=bgirard 2012-08-19 15:33:25 -04:00
Ed Morley
13229f367c Bug 685516 - Mark more tests as random; rs=khuey 2012-08-17 14:31:30 +01:00
Ed Morley
28543fd4a1 Merge mozilla-central to mozilla-inbound 2012-08-16 16:16:10 +01:00
Kyle Huey
a1639d15a9 Bug 651866: Disable test. 2012-08-16 08:03:12 -07:00
Aryeh Gregor
ae3de24018 Bug 782608 - Use NS_FAILED instead of boolean test (image/); r=jlebar 2012-08-14 12:10:41 +03:00
Ed Morley
9cdd0db8cb Merge mozilla-central to mozilla-inbound 2012-08-15 19:00:48 +01:00
Kyle Huey
fa127e8648 Merge m-c to b-s. 2012-08-15 06:25:20 -07:00
Kyle Huey
a4d0bedef5 Bug 685516: Disable some more tests. 2012-08-14 21:05:24 -07:00
Kyle Huey
2fc3f31d0c Bug 697230: Part 2 - Push onload blocking logic down into imagelib. r=joe sr=bz 2012-08-13 15:58:53 -07:00
Kyle Huey
f8ba220f4b Bug 685516: Disable a bunch of failing tests on Android XUL. r=jrmuizel 2012-08-13 11:22:11 -07:00
Kyle Huey
adc77cb365 Bug 685516: Instead of decoding small images synchronously and large images asynchronously, always decode synchronously for some time, and post the remainder to the event loop if necessary. r=joe 2012-08-13 11:12:15 -07:00
Kyle Huey
6af553f44c Bug 693319: Factor out some common code in RasterImage for dealing with decode flag changes. r=bholley 2012-08-13 09:35:32 -07:00
Kyle Huey
b90f5dc91d Bug 683290: Make RasterImage::GetFrame actually honor the flags it is passed. r=bholley 2012-08-13 09:34:32 -07:00
Mark Capella
7e0b8d3bac Bug 772272 - Remove do_load_httpd_js from xpcshell tests, Misc Folders, r=ted
Content, DOM, Image, JS, RDF, and URILoader folders
2012-08-14 10:06:17 -04:00
Honza Bambas
541453729c 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
df6a8bf05b Bug 782252 - Cast more setjmp()/longjmp() nsresult usage; r=ehsan 2012-08-07 20:17:27 +03:00
Aryeh Gregor
0923bf00ef Bug 780618 - Move all error codes to nsError.h; r=ehsan 2012-07-27 17:03:27 +03:00
Ms2ger
a10183dff5 Bug 780387 - Part e: Stop using PRSize; r=bsmedberg 2012-08-09 09:10:11 +02:00
Ms2ger
17e25febb8 Bug 780387 - Part d: Stop using PRFloat64; r=bsmedberg 2012-08-09 09:09:42 +02:00
Aryeh Gregor
48c36e7140 Bug 779442 - Fix a few more incorrect uses of nsresult; r=ehsan 2012-08-01 11:17:10 +03:00
Aryeh Gregor
f41637535d Bug 780469 - Reduce unnecessary includes in some content/ header files; r=bz 2012-08-06 15:02:08 +03:00
Mike Hommey
6173fa297f Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Nathan Froyd
4bc9878dfb Bug 778282 - remove libs:: rule from image/test/browser/Makefile.in; r=glandium 2012-07-27 16:40:28 -04:00
Ehsan Akhgari
b40b21d633 Merge the nullptr conversion from mozilla-central into mozilla-inbound 2012-07-30 10:28:15 -04:00
Aryeh Gregor
e806eeab4f Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Aryeh Gregor
fa1820d9a6 Bug 777292 - Cast the result of setjmp() to nsresult where it's incorrectly used that way; r=ehsan 2012-07-27 17:03:25 +03:00
Aryeh Gregor
bcce1c96d2 Bug 777292 - Don't use |= on nsresult; r=ehsan 2012-07-27 17:03:08 +03:00
Nicolas Silva
e2ab39fb96 Bug 773462 - Rename calls to ImageContainer::SetCurrentImage into ImageContainer::SetCurrentImageInTransaction when the method is used within a layer transaction. r=roc 2012-07-26 14:11:22 -04:00
Adam Dane [:hobophobe]
024e640b1e Bug 767779 - Test slow-loading GIF with trailing garbage. r=joe 2012-07-18 16:32:24 -05:00
Adam Dane [:hobophobe]
aec2a05a5d Bug 767779 - Stop eating animation frames for non-multipart. r=joe 2012-07-21 20:07:15 -05:00
Justin Lebar
a863832283 Bug 772987 - Part 2: Use Static{Auto,Ref}Ptr where appropriate. r=mounir
--HG--
extra : rebase_source : 4e3e72ba53cd0177160f80231eebeb4972119eec
2012-07-26 15:33:45 -04:00
Glenn Randers-Pehrson
77ec0c84cb Bug 745202 - Disable palette-index-checking when using the system PNG decoder. r=joe 2012-07-23 20:02:20 -04:00
Joshua Cranmer
774444109e Bug 773637 - Kill NS_SCRIPTABLE attributes, Part 2: Remove NS_SCRIPTABLE. r=ehsan
--HG--
extra : rebase_source : 83020e0a1961ed5b33d5e0599419c6b7b82caa87
2012-07-06 15:31:49 -05:00
Joshua Cranmer
4b8f318e78 Bug 773637 - Kill NS_SCRIPTABLE annotations, Part 1: Remove NS_*PARAM annotations. r=ehsan
--HG--
extra : rebase_source : a0b4bc50fece36d9a90fed61431635948bfa33b5
2012-07-06 15:14:07 -05:00
Jeff Gilbert
63ff1a9c10 Bug 775793 - Clarify BMP decoding for unexpected alpha pixels - r=bbondy 2012-07-23 13:20:57 -07:00
Ryan VanderMeulen
8fcf36c164 Merge m-c to inbound. 2012-07-21 14:32:18 -04:00
Brian R. Bondy
2cbbf768cb Bug 775794. r=jgilbert 2012-07-21 13:57:35 -04:00
Olli Pettay
cbb387d73c Backout Bug 767779 to fix major image painting problems, r=backout
--HG--
extra : rebase_source : c9f7dcb012d7a1b9e2f6b9e0b1560e9cf55ee1ab
2012-07-21 14:03:29 +03:00
Adam Dane [:hobophobe]
1dabe388b7 Bug 767779 - Test slow-loading GIF with trailing garbage. r=joe 2012-07-18 16:32:24 -05:00
Adam Dane [:hobophobe]
326485e15c Bug 767779 - Stop eating animation frames for non-multipart. r=joe 2012-07-16 20:40:46 -05:00
Eddy Bruel
59fd358b84 bug 722555 - Add RGBA support to BMP encoder; r=jgilbert 2012-07-17 16:20:14 +02:00
Brian R. Bondy
a0e0dd034e Bug 770122 - Crash on websites withs ICO containing invalid GIFs. r=joe. 2012-07-16 19:10:18 -04:00
Nathan Froyd
a7eb97f896 Bug 370750 - consolidate mochitest files installation; r=glandium
With assistance on the patch from Ms2ger, Waldo, and Mossop.
2012-07-03 16:49:02 -04:00
Tim Taubert
f440f14fe4 merge m-c to fx-team 2012-07-04 14:16:49 +02:00
Ehsan Akhgari
df2fb388c2 Backout changeset e04abde1b323 (bug 539356) because of performance and correctness regressions 2012-07-03 20:21:03 -04:00
Tim Taubert
be06bb05b8 Bug 769634 - imgITools should provide cropping functionality; r=bbondy 2012-07-03 08:22:10 +02:00
Matt Woodrow
c96dc0e2ed Bug 539356 - Part 10 - Test changes required for DLBI. r=roc 2012-06-30 15:06:11 +12:00
Jonathan Watt
6380335603 Bug 767388 - Kill NS_DEBUG. r=bz.
--HG--
extra : rebase_source : d045208a26345712dbb4628c973c616cd9504f28
2012-06-25 20:59:42 +01:00