Daniel Holbert
723a4f151a
Bug 843719: Reorder params in Margin constructors and SizeTo() methods to match CSS's top,right,bottom,left ordering. r=seth
2013-03-06 00:05:55 -08:00
Jonathan Kew
b21d195aac
bug 842514 - consistently use signed types for appUnitsPerDevPixel variables. r=roc
2013-02-19 21:46:27 +00:00
Masayuki Nakano
246c8bf699
Bug 838001 IME management code should use root widget instead of the nearest widget of the PresContext r=smaug
2013-02-06 11:50:02 +09:00
Mats Palmgren
7532b4e736
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
Nicholas Cameron
6edbdb7f5a
Bug 780692; throttle OMTA (rollup patch). r=dbaron,bz
2012-12-12 10:12:43 +13:00
Robert O'Callahan
76df39ca66
Bug 810470. Part 5: Remove more unused code. r=mattwoodrow
2012-11-09 18:14:14 -05:00
Seth Fowler
8549f488e7
Bug 802849 - Refactor nsPresContext::MediaFeatureValuesChanged so that it can handle rebuilding style data for all callers. r=dbaron
2012-11-08 22:40:41 -08:00
L. David Baron
f0d282befc
Bug 804970, patch 5: Handle dynamic changes to the basis for 'rem' units by rebuilding all style data. r=bzbarsky
2012-10-26 19:04:20 +02:00
Robert O'Callahan
3f8c45f725
Bug 800859. Part 3: Dispatch MozAfterPaint after we've done the COMPOSITE step for the invalidations recorded in the event. r=mattwoodrow
2012-10-19 17:50:34 +13:00
Seth Fowler
48449d088f
Bug 503720: Implement vw/vh/vmin/vmax. r=dbaron
2012-10-19 16:21:06 -07:00
Masayuki Nakano
c1a783f7b1
Bug 705057 part.1 Ensure a set of composition events is fired on same content r=smaug
2012-09-26 14:47:45 +09:00
Jonathan Kew
69d8813220
bug 794038 pt 2.0 - respond to changes to backing-store resolution when a window moves between HiDPI and non-HiDPI displays. r=smichaud
2012-10-16 20:41:20 +01:00
Robert O'Callahan
4c4c6fc1c3
Bug 626245. Part 4: Compute plugin widget geometry updates via the refresh driver's painting, and defer actual widget updates until we've just composited the window. r=mats
...
Updating plugin widget geometry every time we paint means we don't have to
explicitly request plugin geometry updates.
This patch stops us from flushing plugin geometry changes in
FlushPendingNotifications(Flush_Layout). There are too many Flush_Layouts and
flushing plugin geometry changes on them produces frequent
desynchronization of the plugin geometry with the rendered window contents.
There is some Web compatibility risk there --- it means we have to change
our tests, for one thing --- but hopefully it's OK.
2012-10-07 02:03:23 +13:00
Matt Woodrow
68688f4315
Bug 539356 - Part 26 - Send invalidations for hidden documents. r=roc
2012-08-29 17:48:44 +12:00
Matt Woodrow
6c8fe6cb6b
Bug 539356 - Part 9g - Modify MozAfterPaint code to work with the new invalidation model. r=roc
2012-08-29 17:47:18 +12:00
Matt Woodrow
19164d9447
Bug 539356 - Part 9f - Compute the invalid area of the layer tree and pass this to the widget. r=roc
2012-08-29 17:47:18 +12:00
Ed Morley
ed4fe023b5
Revert mozilla-inbound to e4dd1fa6d222 for crashes and test failures on a CLOSED TREE
2012-09-27 16:34:46 +01:00
Matt Woodrow
47c6e63bd5
Bug 539356 - Part 26 - Send invalidations for hidden documents. r=roc
2012-08-29 17:48:44 +12:00
Matt Woodrow
24eaff95c9
Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt
2012-08-29 17:38:58 +12:00
Arnaud Sourioux
f15f47d318
Bug 733186: Annotate ~1000 methods with MOZ_OVERRIDE in /layout r=dholbert r=dbaron
2012-09-14 09:10:08 -07:00
Edwin Flores
b3c80728bc
Bug 719286 - Add -moz-is-glyph media feature for setting default values for SVG glyphs in the browser SVG style sheet r=dbaron
2012-09-06 16:58:44 +12:00
Chris Jones
4f507c4497
Bug 783066: Paint the backgrounds of remote subdocuments like we paint those of same-process subdocuments. r=roc
2012-09-05 09:23:45 -07:00
Robert O'Callahan
f6fc141707
Bug 787089. Rip out mUpdatePluginGeometryForFrame optimization. It's not known to be a significant win, and creates problems when prescontext ancestor chains are broken; the complexity probably isn't worthwhile. Also, soon (or now) we can rework plugin bounds computation to be use the display list built for rendering. r=matspal
2012-09-05 22:30:10 +12:00
Ehsan Akhgari
243c878d26
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
Chris Pearce
a4e3dd46a6
Bug 775965 - Make nsRootPresContext::mRegisteredPlugins a refptr hash table to the content object rather than weak refs to frames. r=roc
2012-08-14 16:06:42 +12:00
Ed Morley
02a9c15d06
Backout bcac58cbf328 & 9c75f0428f8a (bug 775965) for causing bug 782981
2012-08-15 18:10:55 +01:00
Kyle Huey
15cea9ab2e
Merge m-c to b-s.
2012-08-14 11:14:40 -07:00
Kyle Huey
cc6ea9a4c7
Bug 697230: Part 1 - Centralize style image observers. r=bz
2012-08-13 15:04:19 -07:00
Chris Pearce
3286520fff
Bug 775965 - Make nsRootPresContext::mRegisteredPlugins a refptr hash table to the content object rather than weak refs to frames. r=roc
2012-08-14 16:06:42 +12:00
Jonathan Kew
abed57431c
bug 721750 - support text-shadow property on ::-moz-selection. r=dbaron
2012-08-04 19:52:21 +01:00
Ehsan Akhgari
7917f7709f
Merge the nullptr conversion from mozilla-central into mozilla-inbound
2012-07-30 10:28:15 -04:00
Aryeh Gregor
8b4a23fc4c
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
David Zbarsky
f049f806ea
Bug 778501 Part 4: DeviceContext should be an nsRefPtr r=roc
2012-07-29 21:36:32 -07:00
David Zbarsky
52f03d0366
Bug 778501 Part 3: Clean up the includes in nsPresContext.h r=roc
2012-07-29 21:29:41 -07:00
David Zbarsky
b8d7607b27
Bug 778501 Part 2: mEventManager should be an nsRefPtr r=roc
2012-07-29 21:29:33 -07:00
David Zbarsky
bd5f6550ed
Bug 778501 Part 1: mLanguage should be an nsCOMPtr r=roc
2012-07-29 21:29:23 -07:00
Matt Woodrow
f42f7ae32a
Bug 539356 - Part 3 - Make GetParentPresContext() succeed when the current PresContext has no frames. r=bz
2012-07-17 13:03:51 -04:00
Jeff Muizelaar
5f70f009a4
Bug 764188 - Expose a global frame tree generation number. r=dbaron
...
This generation number will be incremented every time that the frame
tree for a presshell changes. Callers need to deal with the case where
this value overflows. We use this to avoid a bunch of Android
screenshotting.
2012-07-04 11:42:29 -04:00
Ehsan Akhgari
d07e155f48
Backout changeset f568fc280fb0 (bug 539356) because of performance and correctness regressions
2012-07-03 20:24:55 -04:00
Ehsan Akhgari
5d2f11443a
Backout changeset 17cc480ae05d (bug 539356) because of performance and correctness regressions
2012-07-03 20:08:53 -04:00
Ehsan Akhgari
d97d2c2ada
Backout changeset 25061ce7382b (bug 770041) because DLBI is being backed out
2012-07-03 19:39:44 -04:00
Matt Woodrow
08aba9d797
Bug 770041 - Revert GetRootPresContext to pre-DLBI behaviour and add GetDisplayRootPresContext for DLBI. r=roc
2012-07-03 13:02:30 +12:00
Matt Woodrow
c93feb82fc
Bug 539356 - Part 26 - Send invalidations for hidden documents. r=roc
2012-06-30 15:06:13 +12:00
Matt Woodrow
145d424c02
Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt
2012-06-30 15:06:11 +12:00
L. David Baron
65d53f7df1
Don't assume ordering of callers of nsPresContext::ScreenWidthInchesForFontInflation; instead, track changes only for the caller that cares about changes. (Bug 759755, patch 5) r=bzbarsky
2012-06-11 22:43:31 -07:00
Ms2ger
02552d94c3
Bug 629882 - Support currentColor in the 2D canvas context; r=dbaron
...
This changes nsCSSParser::ParseColorString to fill in an nsCSSValue instead
of an nscolor, and exposes nsRuleNode::ComputeColor to turn this nsCSSValue
into an nscolor.
Because gradients can be used with different canvas elements in different
documents, these cannot pass useful values for nsRuleNode::ComputeColor's
aPresContext and aStyleContext arguments. This patch also changes SetColor
to deal with those parameters being null.
2012-06-06 09:36:38 +02:00
Robert O'Callahan
3ead91a704
Bug 607417. Improve definition of the 'fixed layer' flag. r=tnikkel
2012-05-04 17:00:57 +12:00
Ed Morley
7212749e9b
Merge mozilla-central to mozilla-inbound
2012-05-21 13:19:38 +01:00
Gervase Markham
cb6a072c2a
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
L. David Baron
74a7e8f599
Remove caching of current inflation container and its width from the pres context. (Bug 747720, patch 6) r=roc
...
This is no longer needed because we're getting the width from
nsFontInflationData and the null-ness of the container from
mInflationDisabledForShrinkWrap.
2012-05-20 22:18:28 -07:00