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

74 Коммитов

Автор SHA1 Сообщение Дата
Aryeh Gregor f0404a303a Bug 859817 - Remove implicit conversions from raw pointer to already_AddRefed; r=Ms2ger 2013-04-22 14:15:59 +03:00
Nicholas Nethercote 1c97315e22 Bug 859657 (part 2) - Remove nsIMemoryMultiReporter.explicitNonHeap because it's more trouble than it's worth; also remove the "explicit" single reporter. r=jlebar.
--HG--
extra : rebase_source : a146536a3dd0043082bcb1c26d980c4c6d4c0730
2013-04-11 20:52:32 -07:00
Seth Fowler e391985aa5 Bug 846132 - (Part 1) Add gfxASurface methods to produce gfxImageSurfaces. r=jrmuizel 2013-03-05 15:39:48 -08:00
Chris Jones 8ce05e794b Bug 831191: Make PNG dumping work for r5g6b5 surfaces. r=joedrew 2013-01-17 12:06:36 -08:00
Mats Palmgren b7ae90666d Bug 786533 - Replace NS_MIN/NS_MAX with std::min/std::max and #include <algorithm> where needed. r=ehsan 2013-01-15 13:22:03 +01:00
Edwin Flores 908e13aa20 Bug 803394 - Add image type for RGB images in shared memory r=nical
--HG--
extra : rebase_source : 3be9bbbcf827c0796d7b0a39724f3372ac080632
2012-12-13 11:47:28 +13:00
Trevor Saunders 97fe774225 bug 801466 - part 2 remove usage of prmem in gfx/ r=jmuizelaar 2012-12-02 15:33:59 -05:00
Nicholas Nethercote 65cbbd034d Bug 711901 - When possible, measure, don't compute, the size of imgFrame::mImageSurface. r=joedrew.
--HG--
extra : rebase_source : 72dc61c2618166262ec6d83778d7bd2a3a7b5d61
2012-11-26 16:29:56 -08:00
Isaac Aggrey 481e7dfb0b Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan 2012-09-28 01:57:33 -05: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
Matt Woodrow bf589f8d22 Bug 539356 - Part 23 - Fix MovePixels crash when our surface is in an error state. r=jrmuizel 2012-07-23 15:00:37 +12:00
Benoit Girard 4f7cbc68fb Bug 770988 - Seperate DumpAsDataURL into MOZ_DUMP_IMAGES. r=ajuma 2012-07-05 14:07:37 -04:00
Ehsan Akhgari 168fb8fc56 Backout changeset 3f8e99e92344 (bug 539356) because of performance and correctness regressions 2012-07-03 20:11:59 -04:00
Matt Woodrow f132718f0c Bug 539356 - Part 23 - Fix MovePixels crash when our surface is in an error state. r=jrmuizel 2012-06-30 15:06:13 +12:00
Ehsan Akhgari f4b598bf08 Bug 722872 - Part 1: Add nsITransferable::Init(nsILoadContext*), enforce that it's called in debug builds, and add nsIDOMDocument* arguments to nsIClipboardHelper methods; r=roc
This patch does the following:

* It adds nsITransferable::Init(nsILoadContext*).  The load context
  might be null, which means that the transferable is non-private, but
  if it's non-null, we extract the boolean value for the privacy mode
  and store it in the transferable.
* It adds checks in debug builds to make sure that Init is always
  called, in form of fatal assertions.
* It adds nsIDOMDocument* agruments to nsIClipboardHelper methods which
  represent the document that the string is coming from.
  nsIClipboardHelper implementation internally gets the nsILoadContext
  from that and passes it on to the transferable upon creation.  The
  reason that I did this was that nsIClipboardHelper is supposed to be a
  high-level helper, and in most of its call sites, we have easy access
  to a document object.
* It modifies all of the call sites of the above interfaces according to
  this change.
* It adds a GetLoadContext helper to nsIDocument to help with changing
  the call sites.
2012-04-16 22:14:01 -04:00
Ehsan Akhgari f70d1188f6 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 (gfx parts); r=joedrew 2012-06-13 00:14:28 -04:00
Ed Morley 865fc92be0 Backout 61fd66629c4f, 7c8121f8d3af & 2a2e9cf8fd41 (bug 539356), e31a5e6545d3 (bug 761884), 85fa80bd9792, a284ccb25b83, 2865904db9fc, 34e07b09c426, e9b3d41e0360, cef00ebcd6c8, f943b729ac14 & 783f298401b6 (bug 539356), 330a086f1570 (bug 741682), d80219c8842c (bug 739671), e8c96b4fd4da, 313af486e68d, 0adc41ff56dc, 0cd288a38085, f1d43208825c, 4859876972f3, eec8ef3ebe48, f7f29fcd1845, 6079b229d306, f23c3a7e7ce0, 9824458a41e2 & 6748b5496059 (bug 539356) for mochitest-4 orange & talos regressions on multiple platforms 2012-06-11 10:08:32 +01:00
Matt Woodrow 9f3d34c218 Bug 539356 - Part 23 - Fix MovePixels crash when our surface is in an error state. r=jrmuizel 2012-06-11 16:45:40 +12:00
Kan-Ru Chen 52fc902deb Bug 743182 - Use gfxPlatform::OptimalFormatForContent everywhere. r=joedrew 2012-05-26 12:38:17 +08:00
Gervase Markham 82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Benoit Jacob 6de3cc03da Bug 732875 - 8/8 - move CheckedInt to MFBT, enable unit tests in mfbt/tests - r=jwalden
--HG--
rename : xpcom/ds/CheckedInt.h => mfbt/CheckedInt.h
2012-05-14 15:50:20 -04:00
Ed Morley 0f956d7307 Backout 345ae68f15f4, b3b40121ac8d, 0d18b7a246d7, 9dbb6064ab58, dee9d7fa8eb6, 63eec6bfa948, 323c6be7cfe8 & f4aac7523a48 (bug 732875) for compilation failures 2012-05-14 21:05:24 +01:00
Benoit Jacob fa8d5e0469 Bug 732875 - 8/8 - move CheckedInt to MFBT, enable unit tests in mfbt/tests - r=jwalden
--HG--
rename : xpcom/ds/CheckedInt.h => mfbt/CheckedInt.h
2012-05-14 15:50:20 -04:00
Wes Johnston 206d8691e9 Backed out changeset f5d6cc2e4726 2012-04-09 10:44:32 -07:00
Wes Johnston eea4dccc79 Bug 740218 - Support transactions in sqlitebridge and use them. r=gcp,rnewman,lucasr 2012-04-09 10:08:37 -07:00
George Wright 960bf080cc Bug 740372 - Handle MOZ_GFX_OPTIMIZE_MOBILE in gfxASurface and gfx2DGlue format conversion functions. r=jrmuizel 2012-03-30 11:56:08 -04:00
Nicholas Nethercote 91c9a2437c Bug 731923 - Convert the N "gfx-surface" memory reporters to a single multi-reporter. r=jlebar.
--HG--
extra : rebase_source : 176ed4f7e417b3f8fc4247b8f976ab6c47dc565f
2012-03-18 14:59:17 -07:00
Matt Woodrow 72f481f48f Bug 700240 - Print display lists to a file. r=roc,bjacob 2012-03-01 21:26:09 +13:00
Nathan Froyd 37742bc976 Bug 731301 - eliminate duplicate headers in gfx/; r=jrmuizel 2012-02-29 10:23:37 -05:00
Nicholas Nethercote d9666a057f Bug 710958 - Remove gfx{Glitz,DirectFB,QuartzPDF}Surface. r=joedrew.
--HG--
extra : rebase_source : da77b2ceb7840a42651386c822d5b21499bae439
2011-12-18 14:54:50 -08:00
Matt Woodrow 76656ee23d Bug 700240 - Make display list debugging independent of DEBUG. r=khuey,roc 2011-11-17 16:44:16 +13:00
Matt Woodrow 1de38857c5 Bug 697048 - Add multiple output formats for DumpAsDataURL. r=roc 2011-10-26 16:19:13 +13: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
Josh Matthews 806dd2b06b Bug 686453 - Create invalid cairo surfaces instead of null pointers when possible. r=jrmuizel 2011-09-13 10:49:01 -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
Alfred Kayser ext:(%2C%20Ms2ger%20%3Cms2ger%40gmail.com%3E) 40a50219ea Bug 537223 - Cleanup gfxColor.h; r=jrmuizel 2011-08-25 10:46:01 +02:00
Daniel Holbert 6e9ce02193 Bug 679091: Remove unused variable |size| from gfxASurface::FastMovePixels(). r=cjones 2011-08-15 17:15:55 -07:00
Justin Lebar 32ebc63a9c Bug 664659 - Fix about:memory image reporters. r=joe
--HG--
extra : rebase_source : 489def10afa7f9a33e988d9fc78acdb50e450817
2011-07-18 09:20:27 -04:00
Marco Bonardo 94181da50c Backout changeset 984e656becec (Bug 664659) due to regressions in Tp5 XRES and RSS. 2011-08-01 10:20:18 +02:00
Justin Lebar de9cb8f577 Bug 664659 - Fix about:memory image reporters. r=joe 2011-07-18 09:20:27 -04:00
Josh Matthews 6a01ab106a Bug 671960 - Prevent calling cairo functions on invalid surfaces through gfxASurface. r=joe,dougt,jmuizelaar 2011-07-21 20:41:39 -07:00
Nicholas Nethercote 14e0e78adc Bug 653627 - Don't use char** in nsIMemoryReporter. r=khuey, sr=bz. 2011-07-08 12:45:16 +10:00
Justin Lebar 5daed65b45 Bug 664486 - Add page fault counts to about:memory on Linux and Mac. r=njn, sr=bz
--HG--
extra : rebase_source : 47dd7501dea7ae69e01828a5c730e8853739dc71
2011-06-16 14:34:09 -04:00
Nicholas Nethercote a7a6e77911 Bug 658814 - move gfx/surface/* reporters out of the "explicit" group to avoid double-counting of some meomry bytes and subsequent negative values in about:memory. r=jmuizelaar. 2011-06-07 12:17:01 +10:00
Nicholas Nethercote df04be1f66 Bug 656773 - Separate the process and the path in nsIMemoryReporter so that about:memory works in private browsing mode. r=sdwilsh, sr=roc. 2011-06-06 11:22:45 +10:00
Jeff Muizelaar f30c726d3a Bug 562746. Update cairo to 1.10.
A lot of changes from upstream here that will hopefully be smoothed
out a bit soon.
2011-03-10 14:52:15 -05:00
Ehsan Akhgari 1cf1f06794 Backout bug 562746 (Cairo update to version 1.10) because of the possible Dromaeo regression on Mac OS X 10.5) 2011-05-26 14:57:50 -04:00
Jeff Muizelaar 8eb40c43cb Bug 562746. Update cairo to 1.10.
A lot of changes from upstream here that will hopefully be smoothed
out a bit soon.
2011-03-10 14:52:15 -05:00