Ehsan Akhgari
2a602a5685
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
Jeff Walden
b7753477cf
Bug 693469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. (Exceptions: assigning to static initializers, use in static assertions, as template parameters, etc. These will go away when the relevant compilers have C++11 constexpr support.) r=cjones
...
--HG--
extra : rebase_source : b4bae9a0f85abf2feb828609b50e756916b99a6f
2011-10-10 22:50:08 -07:00
Jeff Walden
eb2cb918a4
Back out everything since 5435ee09cf7b. Tinderbox compilers hate me. r=epic-fail
2011-10-12 12:21:53 -07:00
Jeff Walden
77ebbde4ab
Bug 639469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. r=cjones
...
--HG--
extra : rebase_source : 860a8271bf7e51cde358f2a4185c410de1fc2960
2011-10-10 22:50:08 -07:00
Michael Wu
d8e503c38b
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
Matt Woodrow
dc9ab97c70
Bug 675532 - Add GLX debug mode. r=bjacob
2011-08-24 13:55:43 +12:00
Justin Wood
3ef675a7ec
Backout Bug 594876, Bug 675474, and Bug 675532, to fix OSX64 Reftest orange, and Linux perf regression. rs+=edmorly
...
changeset 0a920411e64c, changeset 58147380793b, and changeset 96e052b3e845
2011-08-20 15:07:06 -04:00
Matt Woodrow
9890e1fe33
Bug 675532 - Add GLX debugging mode. r=bjacob
2011-08-20 14:04:24 +12:00
Hiroyuki Ikezoe
35ce0be6f4
Bug 678452 - Fix misuse of NS_ENSURE_ARG_POINTER. r=roc
2011-08-19 12:52:07 +02:00
Ed Morley
58bc85d190
Bug 670461 - Fix conversion from 'double' to 'PRUint32' build warning in gfx/src/nsRenderingContext.h(73); r=joedrew
2011-08-18 15:17:34 +02:00
Makoto Kato
896d2168dd
Bug 678451 - Remove unused gfx files (mozilla-decoder.*, gfxIFormats.idl and gfxidltypes.idl). r=joe
2011-08-18 11:41:26 +09:00
L. David Baron
22f0790155
Remove the multiple-parameter versions of nsRenderingContext::SetFont. (Bug 678671, patch 5) r=roc
...
This changes the only remaining callers (in nsMathMLChar) to pass the
correct language, which they were not previously doing, which should
improve the correctness of font selection and also reduce the number of
unique font metrics objects requested (which helps nsFontCache
effectiveness). Those callers, however, remain the odd font users
within all of layout.
2011-08-14 10:08:04 -07:00
Jeff Muizelaar
cb92f6ff06
Bug 660662. Eliminate NS_(ceil|floor). r=roc
...
These just called the system versions.
2011-05-30 15:08:55 -04:00
Rafael Ávila de Espíndola
9ca4b64c4b
Bug 678222 - Fix build with clang and c++0x; r=roc
...
Change AppUnitsPerDevPixel to return a PRUint32. It should never return
negative values and it is used in initializer lists that expect unsigned
values, which is not valid c++0x.
I have also change the member variables to be unsigned and converted
a sentinel value to use 0 instead of -1. UINT32_MAX should work fine too
if you like it better.
2011-08-11 19:19:03 -04:00
Jeff Walden
49d1d5ab36
Bug 676738 - Change the index argument to JS_DefineElement from jsint to uint32. r=jst, r=dmandelin
...
--HG--
extra : rebase_source : d0e3be27e3f0cf022eea21805923c2f4736a36ca
2011-08-04 19:39:12 -07:00
Robert Sesek
6a70e0ff21
Bug 448168 - Apply |s/entires/entries/g|; r=roc
2011-08-04 09:04:29 +02:00
Ed Morley
08c695d2ea
Bug 670338 - Add double overload to NSToIntRound to stop build warnings; r=roc
2011-07-11 09:14:12 -04:00
Ed Morley
4b39be95e2
Bug 670111 - Add double overloads to NSToCoord(Round|Floor|Ceil|Clamped) to stop numerous build warnings; r=roc
2011-07-11 09:14:12 -04:00
Marco Castelluccio
6e58070f5f
Bug 635643. Remove nsIRegion, because it is a useless wrapper class. r=tnikkel
2011-07-25 17:19:37 -05:00
Mats Palmgren
5437bbbfbe
Bug 665218 - Keep the printing surface until the next BeginPage to avoid null-ptr crash [MacOSX only]. r=roc
2011-07-19 14:20:33 +02:00
Ehsan Akhgari
2da92ee675
Backout changeset ed3036facfb2 (bug 670338) to see if it affects the frequency of bug 629196; rs=joe
2011-07-15 16:28:13 -04:00
Ehsan Akhgari
f85c34e56a
Backout changeset e2139ab44181 (bug 670111) to see if it affects the frequency of bug 629196; rs=joe
2011-07-15 16:27:27 -04:00
Jeff Gilbert
247edcfca1
Bug 669522: Removed unused function bool IsFloatInteger(float) r=joe
2011-07-11 12:24:21 -07:00
Ed Morley
f3a9335535
Bug 670111 - Add double overloads to NSToCoord(Round|Floor|Ceil|Clamped) to stop numerous build warnings; r=roc
2011-07-11 09:14:12 -04:00
Ed Morley
2e399e9852
Bug 670338 - Add double overload to NSToIntRound to stop build warnings; r=roc
2011-07-11 09:14:12 -04:00
L. David Baron
dbb636b97e
Only apply overflow area reported by native theme to the visual overflow, and not to the scrollable overflow. (Bug 669284) r=bzbarsky
2011-07-06 12:03:23 +02:00
Ed Morley
e2dd282c90
Bug 661584 - Substitute final PR_(MAX|MIN|ABS|ROUNDUP) macro calls; r=roc
2011-07-03 11:53:40 +02:00
Ed Morley
af1d9c6c2b
Bug 661584 - Code cleanup, substitute more PR_(MAX|MIN|ABS|ROUNDUP) macro calls; r=roc,ted
2011-06-25 16:06:02 +02:00
Bas Schouten
1fb2634ff2
Bug 651858 - Part 1: Add the Azure API and Direct2D backend. r=jrmuizel sr=roc
...
--HG--
rename : gfx/src/BaseMargin.h => gfx/2d/BaseMargin.h
rename : gfx/src/BasePoint.h => gfx/2d/BasePoint.h
rename : gfx/src/BaseRect.h => gfx/2d/BaseRect.h
rename : gfx/src/BaseSize.h => gfx/2d/BaseSize.h
2011-06-24 19:41:16 +02:00
Robert O'Callahan
70312fec05
Bug 637852. Part 25: Add nsSize ScaleToNearestPixels. r=tnikkel
2011-06-23 00:11:28 +12:00
Robert O'Callahan
779fca303f
Bug 637852. Part 21: Skip invalidation if aRegionToInvalidateIsEmpty (note that ScaleRoundOut on an empty bounds rect can return a non-empty rect). r=tnikkel
2011-06-23 00:11:28 +12:00
Robert O'Callahan
9c74d507a9
Bug 637852. Part 11: Remove ExtendForScaling from nsRect and nsRegion. r=joe
...
This is good because the semantics of this method always sucked.
2011-06-23 00:11:28 +12:00
Robert O'Callahan
fcf2510a5d
Bug 637852. Part 6: Implement resolution scaling in FrameLayerBuilder. r=tnikkel
...
FrameLayerBuilder::BuildContainerLayerFor takes responsibility for resolution scaling. The ContainerParameters
passed in are added to any transform requested. Then we extract the scale part of the transform, round the scale
up to the nearest power of two if the transform may be actively animated (so we don't have to redraw layer contents
constantly), pass that scale down to be applied by each child and set the residual transform on the ContainerLayer.
For child layers built via BuildLayer, we just pass the requested scale factor in via the ContainerParameters.
If the returned layer is a ContainerLayer then BuildLayer is guaranteed to have already done necessary scaling.
If the returned layer is not a ContainerLayer then we apply the scale ourselves by adding the scale to the
child layer's transform.
For child ThebesLayers containing non-layer display items, we scale the drawing of those display items so that
the child ThebesLayers are simply larger or smaller (larger or smaller visible regions).
We have to scale all visible rects, clip rects etc that are in the coordinates of ThebesLayers or the parent
ContainerLayer. To keep things simple we do this whenever we convert from appunits to integer layer coordinates.
When a ThebesLayer's resolution changes we need to rerender the whole thing.
nsDisplayList::PaintForFrame needs to respect the presshell's resolution setting. We do that by building a layer tree
with a ContainerParameters requesting a scale up by the presshell resolution; once that layer tree is built, we
adjust the root layer transform to scale back down by the resolution.
2011-06-23 00:11:27 +12:00
Robert O'Callahan
3cbadba941
Bug 637852. Part 4: Add nsRegion::ScaleInverseRoundOut and nsRegion::ScaleToOutsidePixels APIs. r=joe
2011-06-23 00:11:27 +12:00
Robert O'Callahan
c58a20de4e
Bug 637852. Part 3: Add nsPoint::ScaleToNearestPixels, nsRect::ScaleToNearestPixels, nsRect::ScaleToInsidePixels and nsRect::ScaleToOutsidePixels APIs. r=joe
2011-06-23 00:11:27 +12:00
Robert O'Callahan
06e6b72a58
Bug 637852. Part 2: Add BaseRect::ScaleInverseRoundOut API. r=joe
2011-06-23 00:11:27 +12:00
Ed Morley
c8157ac7e6
Bug 664311 - Remove WinCE code from gfx/; r=jmuizelaar
2011-06-18 11:04:30 +02:00
Ted Mielczarek
a88f0715f0
merge m-c and b-s
2011-06-13 09:09:43 -04:00
Ed Morley
223c46b36b
Bug 659621 - Remove EXTRA_DSO_LIBS, EXTRA_DSO_LDOPTS, OS_LIBS from makefiles containing LIBXUL_LIBRARY = 1, now that libxul is always built; r=ted
2011-06-12 03:49:00 -04:00
Masayuki Nakano
e06d6eb819
Bug 663036 part.3 gfx should use mozilla::Preferences r=roc+joe
2011-06-12 11:30:16 +09:00
Matheus Kerschbaum
7406ce377f
Bug 660762 - Remove --disable-mathml support. r=roc
2011-06-02 13:11:33 +02:00
Ehsan Akhgari
a0939ce343
Bug 660676 - Remove the copy constructor for nsSize and nsIntSize; r=roc
2011-05-30 19:07:35 -04:00
Ed Morley
6649ee0b7d
Bug 624748 - Remove unused nsITheme::RegisterWidgetGeometry. r=roc
2011-05-30 09:31:42 +02:00
Neil Rashbrook
a823051c1e
Fix DOS line endings rs=joedrew!
...
DONTBUILD
2011-05-26 20:41:33 +01:00
Matheus Kerschbaum
35f86c76ad
Bug 648911 - Remove support for non-libxul builds. r=ted,joedrew
2011-05-23 18:54:47 +02:00
Jim Mathies
2a4de6175a
Bug 633282 - Add ToNearestPixels to nsRegion. r=roc.
2011-05-13 11:40:46 -05:00
Jim Mathies
02f8ccf86e
Bug 633282 - Add support for -moz-appearance: -moz-win-exclude-glass. r=roc.
2011-05-13 11:40:46 -05:00
Jonathan Kew
916e9b8b24
bug 253317 - part 5 - support none/manual/auto values for -moz-hyphens in layout. r=roc
2011-05-04 12:29:56 +01:00
Zack Weinberg
85ef3b518f
Bug 651498: call gfxPlatform::Init when necessary and not earlier. r=joedrew,bsmedberg
...
--HG--
extra : rebase_source : fa6eae9a0656197d2c245f7c15120f36face2347
2011-04-21 12:36:49 -07:00
Zack Weinberg
43341e9470
Bug 651926: abort (even in production) if anything in gfxPlatform::Init fails, its callers can't cope. r=jrmuizel
2011-04-21 12:36:53 -07:00