Jesse Ruderman
c533ad0563
Bug 459968 - Add crashtest.
2014-10-18 17:08:22 +00:00
Jesse Ruderman
5982f8b64f
Bug 462968 - Add crashtest.
2014-10-18 17:08:22 +00:00
Jonathan Kew
af9ca9ad0e
Bug 1077371 - Remove unnecessary null-checks on the result of gfxFontGroup::GetFirstValidFont. r=jdaggett
2014-10-06 15:14:49 +01:00
Robert Longson
25d6353a14
Bug 1077993 - make changes to clip-rule work. r=jwatt
2014-10-06 14:19:14 +01:00
Cameron McCormack
1c9e875ae3
Bug 1076803 - Disable subtest 18 in test_font_loading_api.html for intermittent timeouts. r=philor
2014-10-06 10:17:06 +11:00
Cameron McCormack
fbde91a62d
Bug 1077746 - Move FontFace pointer from nsCSSFontFaceRule to a table on FontFaceSet. r=jdaggett
2014-10-06 15:29:35 +11:00
Simon Montagu
84a46f035b
Bug 1067268: don't mix physical and logical coordinates when calculating width to clear past floats, r=jfkthame
2014-10-04 23:03:00 -07:00
Simon Montagu
3313462374
Test for bug 1067268, r=jfkthame
2014-10-04 23:02:37 -07:00
Simon Montagu
f2b5884dbc
Bug 1076986: make LogicalMargin and LogicalRect's IsEmpty the same as nsMargin and nsRect, r=jfkthame
2014-10-04 23:02:36 -07:00
L. David Baron
7e4d96509c
Bug 1077849 - Use eRestyle_ForceDescendants for all cases of rebuilding the rule tree. r=heycam
...
Bug 931668 added the eRestyle_ForceDescendants case for all cases that
go through RebuildAllStyleData, but there is another case that calls
DoRebuildAllStyleData directly, and we should cover that too.
This is needed because when we're rebuilding the rule tree, we need to
create new style contexts for all frames.
I don't know of any bugs caused by this, but it seems worth fixing.
2014-10-04 16:59:47 -07:00
Trevor Saunders
8319244622
no bug - fix nullptr to bool conversion in FontFaceSet.cpp r=themaid
2014-10-04 11:06:21 -04:00
Jonathan Watt
799ef86fc1
Bug 932762, part 2 - Make SVG elements cache their Moz2D path data to speed up rendering, hit-testing, clipPath clipping, bbox calculations and animation/text along a path. r=longsonr
2014-10-04 12:13:30 +01:00
Jonathan Watt
4963137d17
Bug 1077745 - Get rid of the scaling hack and GetCanvasTM() call in nsSVGPathGeometryFrame::GetBBoxContribution. r=longsonr
2014-10-04 12:13:30 +01:00
Jonathan Watt
2e51cb3a0f
Bug 1077120 - Remove gfxContext::HasError(). r=Bas
2014-10-04 12:13:29 +01:00
Jonathan Kew
dc62f8a30f
Bug 1064737 pt 4 - Simple reftest for a WOFF2 font. r=jdaggett
2014-10-04 11:47:11 +01:00
Jonathan Kew
afcc21f7fa
Bug 1064737 pt 3 - Read metadata from a WOFF2 font if present. r=jdaggett
2014-10-04 11:46:54 +01:00
Jonathan Kew
1b4072d000
Bug 1064737 pt 2 - Support for WOFF2 as a webfont format. r=jdaggett
2014-10-04 11:36:05 +01:00
William Chen
2495de5eb3
Bug 1076784 - Don't remove binding when shadow root host is removed from tree. r=smaug
2014-10-03 18:32:05 -07:00
Ryan VanderMeulen
87ff7c3868
Backed out changeset cb3fd4a4b7c5 (bug 771043) for Android mochitest-8 failures.
...
CLOSED TREE
2014-10-03 15:26:06 -04:00
Boris Zbarsky
502afc718e
Bug 771043. Move MediaQueryList tracking from the prescontext to the document, so they will correctly outlive prescontext changes. r=dbaron
2014-10-03 14:15:25 -04:00
Kartikaya Gupta
67aa9a044a
Bug 1074401 - Ensure that the repaint request is always dispatched from the APZ on the main thread. r=botond
2014-10-03 13:39:37 -04:00
Max Vujovic
bcb10ff796
Bug 913990 - Test 'feed:' filter URL as crashtest instead of computed style test. r=dbaron
2014-10-03 10:06:07 -07:00
Jonathan Kew
e87ee6e366
Bug 1077139 - Use the vertical-text I-beam cursor when the writing mode is vertical. r=dbaron
2014-10-03 13:47:26 +01:00
Jonathan Watt
ae67e369c0
Bug 1075399 - Temporary follow-up to disable test while I get fuzzing right. r=orange CLOSED TREE
2014-10-03 11:02:23 +01:00
Ed Morley
f34acba2a8
Backed out changeset a2192165100c (bug 1041180) for xpcshell failures; CLOSED TREE
2014-10-03 10:12:53 +01:00
Jonathan Watt
ebc424a85e
Bug 934183, part 2 - Remove lots of old Thebes code paths from the SVG code (GeneratePath and all the nsSVGPathGeometryElement::ConstructPath implementations). r=longsonr
2014-10-03 09:50:44 +01:00
Jonathan Watt
280db5b3bb
Bug 934183, part 1 - Convert the bounds calculation code for SVG geometry to use Moz2D Path. r=longsonr
2014-10-03 09:50:43 +01:00
Jonathan Watt
f71dd36242
Bug 1075399, part 4 - Don't make an exception for arcs when simulating zero length SVG subpaths. r=longsonr
2014-10-03 09:50:43 +01:00
Jonathan Watt
3a180d7a37
Bug 1075399, part 2 - Add more reftests for zero-length SVG subpaths. r=longsonr
2014-10-03 09:50:43 +01:00
Jonathan Watt
a248a71d1c
Bug 1075399, part 1 - Simulate zero length SVG subpath for stroke-linecap=round. r=longsonr
2014-10-03 09:50:42 +01:00
Christoph Kerschbaumer
0bacef12a1
Bug 1041180: Remove deprecated nsIChannelPolicy (r=sstamm,jduell,jst)
2014-10-02 23:34:30 -07:00
Masayuki Nakano
a06e8de5c8
Bug 975383 part.9 Remove compositionupdate event dispatchers from all tests r=smaug
2014-10-03 15:33:50 +09:00
L. David Baron
99b5e8cd96
Bug 1075137 patch 7 - Remove old IsProcessingRestyles and IsProcessingAnimationStyleChange booleans. r=birtles
2014-10-02 21:53:24 -07:00
L. David Baron
25df7c71fc
Bug 1075137 patch 6 - Convert remaining IsProcessingAnimationStyleChange calls to call the method on the RestyleManager. r=birtles
2014-10-02 21:53:24 -07:00
L. David Baron
cd74ed0fc8
Bug 1075137 patch 5 - Add new boolean to RestyleManager for whether we're currently processing animation restyles. r=birtles
...
This is just moving one bit of data from the pres context without any
logic change. But given the other refactoring, it seems to make more
sense here now.
2014-10-02 21:53:24 -07:00
L. David Baron
14a1bf93dc
Bug 1075137 patch 4 - Convert callers from IsProcessingRestyles/IsProcessingAnimationStyleChange to SkipAnimationRules/PostAnimationRestyles. r=birtles
2014-10-02 21:53:24 -07:00
L. David Baron
288801f4fa
Bug 1075137 patch 3 - Add PresContext() method to nsRuleWalker. r=birtles
2014-10-02 21:53:23 -07:00
L. David Baron
ab6f8fb56c
Bug 1075137 patch 2 - Add new booleans for whether to skip animation styles and whether to post animation restyles. r=birtles
2014-10-02 21:53:23 -07:00
L. David Baron
a84c0301dc
Bug 1075137 patch 1 - Convert one use of IsProcessingRestyles that doesn't follow normal pattern to a debug-only member on the restyle manager. r=birtles
2014-10-02 21:53:23 -07:00
L. David Baron
5e24ca3286
Bug 1075082 patch 2 - Add assertion in destructor of style contexts that should have been destroyed earlier. r=birtles
2014-10-02 21:53:23 -07:00
L. David Baron
b5edb04125
Bug 1075082 patch 1 - Add a helper function for the root of the rule tree. r=birtles
2014-10-02 21:53:22 -07:00
L. David Baron
4dbfc05082
Bug 1074634 - Don't overwrite eRestyleResult_ContinueAndForceDescendants with eRestyleResult_Continue. r=heycam
2014-10-02 21:53:22 -07:00
Xidorn Quan
a8aeeace85
Bug 1075336 - Fix lifetime management of CounterStyle. r=dbaron
...
--HG--
extra : rebase_source : c9fe6b023024c11147372cd4a9d7f25fdfaabed8
2014-10-02 14:29:04 -04:00
Andrew McCreight
0f460a11cd
Bug 1068276, part 4 - Fix indentation of leak option setting in reftests. r=ted
2014-10-02 08:42:11 -07:00
Andrew McCreight
02e8205908
Bug 1068276, part 3 - Set some defaults for leak parameters on B2G reftests. r=jmaher
2014-10-02 08:40:21 -07:00
Mats Palmgren
8c6bc566c1
Bug 649849 - part 1b, Remove the default -moz-appearance:none for <select> in Fennec theme. r=wjohnston@mozilla.com
2014-10-02 13:05:16 +00:00
Mats Palmgren
07a9c2f713
Bug 649849, part 1 - Make -moz-appearance:none on a combobox remove the dropdown button (for WebKit compat). r=roc
2014-10-02 13:05:15 +00:00
Anuj Agarwal
01df0446ad
Bug 791777 - Replaced NS_finite() with mozilla::IsFinite. r=froydnj
2014-10-01 11:26:00 +02:00
David Zbarsky
7546b0c638
Bug 1067701 - Implement Animation.target; r=birtles, r=bz
2014-10-02 15:14:15 +09:00
Brian Birtles
cd29cb402c
Bug 1046055 part 5 - Check for current animations from ActiveLayerTracker::IsStyleAnimated; r=dbaron
...
Within the context of determining of a layer is active, we should only consider
an element animated if it has an animation that is yet to finish, i.e. a current
animation. Animations that have finished should not cause a layer to be active
(even if they are applying a forwards fill).
This patch makes that change by calling
nsLayoutUtils::HasCurrentAnimationsForProperty instead of
nsLayoutUtils::HasAnimations.
2014-10-02 15:14:14 +09:00
Brian Birtles
8022007d45
Bug 1046055 part 4 - Add HasCurrentAnimationsForProperty to nsLayoutUtils; r=dbaron
...
This patch adds a method to nsLayoutUtils, alongside the existing
HasCurrentAnimations, that returns true if there exists an unfinished animation
on the element for the specified property.
2014-10-02 15:14:14 +09:00
Brian Birtles
6f723f8f19
Bug 1046055 part 3 - Add AnimationPlayerCollection::HasCurrentAnimationsForProperty; r=dbaron
...
This patch adds another method to AnimationPlayerCollection alongside
HasCurrentAnimations that returns true if there is a player in the collection
with current source content that targets the specified property.
At the same time it also makes the original HasCurrentAnimations a const method.
2014-10-02 15:14:13 +09:00
Brian Birtles
2349318ce3
Bug 1046055 part 2 - Rename AnimationPlayer::IsCurrent to HasCurrentSource; r=dbaron
...
It's not the player that's "current" (a Web Animations term for an animation
that hasn't yet finished), but its source content, if any. This patch renames
the method on AnimationPlayer accordingly.
At the same time this patch moves the method to the header file since it's
quite simple and could possibly benefit from inlining.
2014-10-02 15:14:13 +09:00
Brian Birtles
9e96e040ee
Bug 1046055 part 1 - Remove nsPresContext parameter from nsLayoutUtils::HasCurrentAnimations; r=dbaron
2014-10-02 15:14:13 +09:00
Brian Birtles
5bc3dbc321
Bug 1074651 - Detect integer overflow in BaseTimeDuration::TicksFromMilliseconds; r=bz
2014-10-02 15:14:12 +09:00
Boris Zbarsky
7158f29c71
Bug 1075617 followup to fix crash when rule is null.
2014-10-02 02:06:39 -04:00
Boris Zbarsky
34de660675
Bug 1075617. Log the correct file/line for the @font-face rule for font errors. r=jfkthame
2014-10-02 00:23:53 -04:00
Cameron McCormack
277b40478a
Bug 1028497 - Part 28: Reftests. r=jdaggett
2014-10-02 12:32:10 +10:00
Cameron McCormack
59693e845e
Bug 1028497 - Part 27: Rename some things. r=jdaggett
2014-10-02 12:32:10 +10:00
Cameron McCormack
a407bc6d95
Bug 1028497 - Part 26: Tests. r=jdaggett
2014-10-02 12:32:09 +10:00
Cameron McCormack
86a29bc786
Bug 1028497 - Part 25: Support loading of fonts from ArrayBuffer{,View}s. r=bzbarsky,jdaggett
2014-10-02 12:32:09 +10:00
Cameron McCormack
df92baa4c2
Bug 1028497 - Part 24: Implement FontFaceSet.{ready,status} and dispatch events. r=jdaggett,bzbarsky
2014-10-02 12:32:09 +10:00
Cameron McCormack
3b650df41c
Bug 1028497 - Part 23: Implement FontFaceSet.{add,clear,delete,has}. r=jdaggett
...
Implementing Add, Delete and Clear involves shuffling FontFace objects
between mOtherFaces and mUnavailableFaces.
2014-10-02 12:32:09 +10:00
Cameron McCormack
4c1b32886a
Bug 1028497 - Part 22: Make FontFace.load() work for unconnected FontFace objects. r=jdaggett
...
The same DoLoad() call works with both CSS-connected and unconnected
FontFaces.
2014-10-02 12:32:09 +10:00
Cameron McCormack
cf813511c5
Bug 1028497 - Part 21: Implement the FontFace constructor's parsing of descriptors. r=bzbarsky,jdaggett
...
This implements the bulk of the FontFace JS constructor, which parses
the descriptors passed in. We need a notion now of whether a FontFace is
"initialized", since the spec requires us to go through the event loop
before parsing the 'src' descriptor. So a couple of places now have to
check whether the FontFace is fully initialized, and we have a method to
inform the FontFaceSet when a FontFace becomes initialized, in case we
added it to the FontFaceSet before it was initialized (easy to do with
|document.fonts.add(new FontFace(...))|.
2014-10-02 12:32:09 +10:00
Cameron McCormack
0142b816a6
Bug 1028497 - Part 20: Add storage for unconnected FontFace objects and create user font entries for them. r=jdaggett,bzbarsky
...
We add a third array on FontFaceSet, mOtherFaces, which stores
unconnected FontFace objects that have been added to the FontFaceSet. We
reflect them in the indexed properties and also create user font entries
for them.
Part 23 will actually allow us to add some of these FontFaces to
mOtherFaces.
2014-10-02 12:32:08 +10:00
Cameron McCormack
4ddb800587
Bug 1028497 - Part 19: Support disconnecting FontFaces that reflect @font-face rules. r=jdaggett,bzbarsky
...
This adds support for a CSS-connected FontFace to be disconnected from
its rule. This causes it to get its own copy of the descriptors on the
nsCSSFontFaceStyleDecl, and for the pointers between the FontFace and
the nsCSSFontFaceRule to be nulled out.
We start tracking now whether a given FontFace is in the FontFaceSet
(in the sense that it will appear on the DOM FontFaceSet object if we
inspect it with script). All FontFace objects created though, whether
they are currently "in" the FontFaceSet or not, are still tracked by the
FontFaceSet. We use the new mUnavailableFaces array on the FontFaceSet
for that.
We need to track these FontFaces that aren't in the FontFaceSet as
that's where we store their user font entry -- important if we call
load() on a FontFace before adding it to the FontFaceSet.
2014-10-02 12:32:08 +10:00
Cameron McCormack
fccff046d0
Bug 1028497 - Part 18: Create user font entries from FontFaces rather than nsCSSFontFaceRules. r=jdaggett
...
This changes InsertRule, which looked at the descriptors on an
nsCSSFontFaceRule to create a user font entry and add it to a family,
into InsertConnectedFontFace, which can do the same but for the FontFace
that reflects the rule.
2014-10-02 12:32:08 +10:00
Cameron McCormack
563288238a
Bug 1028497 - Part 17: Factor out FontFace family-name getting. r=jdaggett
2014-10-02 12:32:08 +10:00
Cameron McCormack
e561bc26bf
Bug 1028497 - Part 16: Don't destroy the user font set if there are no @font-face rules. r=jfkthame
...
We can no longer call FontFaceSet::DestroyUserFontSet (what used to be
nsUserFontSet::Destroy) in nsPresContext::FlushUserFontSet, since we
need to keep tracking FontFace objects even if the list of @font-face
rules is empty.
2014-10-02 12:32:08 +10:00
Cameron McCormack
31eedc22b4
Bug 1028497 - Part 15.1: Store user font entries in FontFace objects. r=jdaggett
2014-10-02 12:32:08 +10:00
Cameron McCormack
d42d427d94
Bug 1028497 - Part 15: Store FontFace objects on the FontFaceSet rather than nsCSSFontFaceRules. r=jdaggett,bzbarsky
...
Here we change FontFaceSet's records array to associate gfxUserFontEntry
pointers with FontFace pointers, rather than with nsCSSFontFaceRule
pointers. This will make it more uniform to handle both CSS-connected
and unconnected FontFace objects when rebuilding the user font entries
under UpdateRules.
2014-10-02 12:32:07 +10:00
Cameron McCormack
05b2c9ef9c
Bug 1028497 - Part 14: Rename some methods to talk about UserFontEntry instead of FontFace. r=jdaggett
...
How that we have a class named "FontFace", it's a bit confusing for some
of the gfxUserFontSet methods to have "FontFace" in their names, so I'm
renaming them to mention "UserFontEntry" instead.
2014-10-02 12:32:07 +10:00
Cameron McCormack
21a470ab25
Bug 1028497 - Part 13: Implement FontFace.load(). r=jdaggett
2014-10-02 12:32:07 +10:00
Cameron McCormack
c82125e2b6
Bug 1028497 - Part 12: Implement FontFace.loaded. r=jdaggett,bzbarsky
2014-10-02 12:32:07 +10:00
Cameron McCormack
b5e3edf931
Bug 1028497 - Part 11: Implement FontFace descriptor setters. r=jdaggett
...
These set the descriptors, but don't cause anything to update, just
like setting descriptors on an @font-face rule's style declaration
doesn't do anything yet.
2014-10-02 12:32:07 +10:00
Cameron McCormack
a054426121
Bug 1028497 - Part 10: Implement FontFace descriptor getters. r=jdaggett
...
We add an mDescriptors that will be used to store the descriptor values
of an unconnected FontFace object. For CSS-connected FontFace objects,
the descriptors are stored in the nsCSSFontFaceRule::mDecl.mDescriptors.
(Both of these use the same type, though, CSSFontFaceDescriptors.)
Ideally we could have the descriptors always stored on the FontFace,
and for the nsCSSFontFaceStyleDecl go and fetch them from the FontFace,
but it turned out to be impossible to ensure that a FontFace could be
created whenever a nsCSSFontFaceStyleDecl was cloned, since it needs
access to the window object to create the FontFace's promise objects!
2014-10-02 12:32:07 +10:00
Cameron McCormack
1449ebdb0a
Bug 1028497 - Part 9: Implement FontFace.status. r=jdaggett
...
We make gfxUserFontEntry::SetLoadState virtual so that we can hook into
changes and update FontFace::mStatus. We can't just reflect the
gfxUserFontEntry's value in FontFace::Status() since the spec has
requirements about when exactly the status is set.
2014-10-02 12:32:06 +10:00
Cameron McCormack
407073516d
Bug 1028497 - Part 8: Implement Length and array access on FontFaceSet. r=jfkthame
...
This is a temporary measure until we support iterators on the
FontFaceSet; the spec does not expose FontFaces as indexed properties on
the FontFaceSet.
2014-10-02 12:32:06 +10:00
Cameron McCormack
3691030343
Bug 1028497 - Part 7: Add ability to create a FontFace for a @font-face rule; store it on the nsCSSFontFaceRule. r=jdaggett,bzbarsky
...
Every nsCSSFontFaceRule that is used will get a FontFace object to
reflect it in the FontFaceSet. Here we add storage on the
nsCSSFontFaceRule for its FontFace, although it will be the
FontFaceSet's responsibility to set it. We also add a static
constructor function on FontFace to create one that reflects a rule.
2014-10-02 12:32:06 +10:00
Cameron McCormack
7b8f969720
Bug 1028497 - Part 6: Have a FontFace::Entry class extending gfxUserFontEntry that can inform the FontFaceSet about loading. r=jdaggett
...
We can't make FontFace inherit from gfxUserFontEntry, since the former
is cycle collected. So instead, we have a small class that inherits
from it that will override its virtual methods and forward things on to
the FontFace object.
We make gfxUserFontSet::CreateFontFace virtual so we can override it to
produce instances of our gfxUserFontEntry subclass.
2014-10-02 12:32:06 +10:00
Cameron McCormack
1ab9074459
Bug 1028497 - Part 4: Move the nsUserFontSet object into FontFaceSet. r=jdaggett
...
This (a) moves ownership of the gfxUserFontSet into FontFaceSet, (b) moves
nearly all of the functionality of nsUserFontSet into FontFaceSet, and (c)
adds a class that inherits from gfxUserFontSet so that we can override some
of its virtual functions and delegate them to the FontFaceSet.
2014-10-02 12:32:05 +10:00
Cameron McCormack
57b587aadd
Bug 1028497 - Part 3: Add skeleton implementations of CSSFontFaceLoadEvent, FontFace, FontFaceSet and FontFaceSource. r=jdaggett
2014-10-02 12:32:05 +10:00
Jonathan Kew
60f9199f96
Bug 902762 pt 7 - Draw caret appropriately for vertical textruns. r=smontagu
2014-10-01 20:25:50 +01:00
Jonathan Kew
c917261bbb
Bug 902762 pt 6 - Handle vertical textruns for mouse click in nsTextFrame. r=smontagu
2014-10-01 20:25:50 +01:00
Jonathan Kew
792d2f95f7
Bug 902762 pt 5 - Handle vertical textruns when painting text in nsTextFrame. r=smontagu
2014-10-01 20:25:49 +01:00
Jonathan Kew
315fe696fe
Bug 902762 pt 1 - Pass a 'vertical' flag to font shapers, and support vertical shaping through harfbuzz. r=jdaggett
2014-10-01 20:25:48 +01:00
Bas Schouten
fd8e9f69f2
Bug 902952 - Part 1: Add a slight amount of fuzz for radial gradient tests. r=jrmuizel
2014-10-01 19:50:25 +02:00
Jeff Muizelaar
05d4c288be
Bug 1074615. Remove DRAW_SNAPPED. r=mwoodrow
...
This doesn't seem to be necessary and doesn't really make sense to me. This
will help us moving region clipping into Moz2D
--HG--
extra : rebase_source : 4a5987ce2a95eaba44a69233d1b7f461f5ec16ea
2014-10-01 01:25:25 -04:00
Cameron McCormack
f449c11e35
Bug 1072724 - Support showing more information about style structs in restyle logs. r=dbaron
...
The MOZ_DEBUG_RESTYLE_STRUCTS environment variable can be set to a comma-
separated list of style struct names. When restyle logging is enabled,
this will cause the style context tree -- showing cached style struct
pointers for those structs specified -- to be logged before each
individual restyle is processed. It will also show the struct pointer
values involved when swapping structs between style contexts.
For example, set MOZ_DEBUG_RESTYLE_STRUCTS=Font,UserInterface to show
the cached nsStyleFont and nsStyleUserInterface pointers on the style
contexts involved in the restyle process.
2014-10-01 09:13:57 +10:00
Andrew McCreight
332647cd60
Bug 1068276, part 1 - Allow configuring which type of processes we complain about when there's no leak log. r=jmaher
...
Then don't warn for missing logs from tab and geckomediaplugin processes, or default processes on B2G.
2014-09-30 14:17:27 -07:00
Simon Montagu
aa39cde189
Bug 1069941 patch 3: Pass the frame physical width, not inline size, to the inner loop of RepositionFrame, plus cosmetic fixes, r=jfkthame
2014-09-30 10:59:14 -07:00
Simon Montagu
0630596f4c
Bug 1069941 patch 2: reset the start coordinate of the inline frames before ReorderFrames so that the margin doesn't get added twice, r=jfkthame
2014-09-30 10:59:13 -07:00
Simon Montagu
15ed53bcf1
Bug 1069941 patch 1: be more accurate when identifying the first and last frames on the line and applying margin/border/padding, r=jfkthame
2014-09-30 10:59:13 -07:00
Simon Montagu
4d9fcff764
Tests for bug 1069941, one by jfkthame, r=smontagu; the other by smontagu, r=jfkthame
2014-09-30 10:59:12 -07:00
Jonathan Watt
28965a1a08
Bug 1074820 - Refactor nsSVGPatternFrame, part 1. r=longsonr
2014-09-30 18:08:14 +01:00
Jonathan Watt
abf51da9fb
Bug 1074807 - Remove nsSVGUtils::TransformOuterSVGPointToChildFrame. r=longsonr
2014-09-30 18:08:14 +01:00
Jonathan Watt
aee9c12e6a
Bug 1074594 - Stop inverting the transform in nsSVGUtils::GetStrokeTransform, give it a more performant signature, and a better name. r=longsonr
2014-09-30 18:08:14 +01:00
Jonathan Watt
575724162a
Bug 1074294, part 2 - Convert nsSVGPathGeometryFrame::Render() to render directly using the Moz2D DrawTarget. r=longsonr
2014-09-30 18:08:13 +01:00
Jonathan Watt
c1ec1dac12
Bug 1074294, part 1 - Convert SVGAutoRenderState to act on a Moz2D DrawTarget. r=longsonr
2014-09-30 18:08:13 +01:00
Andrew McCreight
b41400dfe4
Bug 1067664, part 1 - Allow different leak thresholds for different types of processes. r=jmaher
2014-09-30 09:54:25 -07:00
Jonathan Kew
840d8b0fd5
Bug 1065002 pt 2 - Add an orientation field to nsFontMetrics. r=jdaggett
2014-09-30 07:38:35 +01:00
Jonathan Kew
9407713a2b
Bug 1065002 pt 1.3 - Add an Orientation parameter to gfxFont::GetMetrics and dispatch to horizontal or vertical as needed. r=jdaggett
2014-09-30 07:38:26 +01:00
Jonathan Kew
3ff7b19ff8
Bug 727276 - Reftests for emoji-style variation selectors. r=roc
2014-09-30 07:28:28 +01:00
Jonathan Kew
21d25f9507
Bug 727276 - Use emoji-style variation selector to help GetCommonFallbackFonts make an appropriate choice. r=roc
2014-09-30 07:27:55 +01:00
Jim Mathies
ad73cb6c28
Bug 1072417 - Remove the browser.tabs.remote pref and turn everything it controls on by default. r=felipe
2014-09-29 16:11:08 -05:00
Ryan VanderMeulen
c9810a7fcf
Merge m-c to inbound. a=merge
2014-09-29 16:00:57 -04:00
Ryan VanderMeulen
b8afeaae1d
Merge b2g-inbound to m-c. a=merge
2014-09-29 15:55:33 -04:00
Ryan VanderMeulen
dbdc908a0f
Merge m-c to b2g-inbound. a=merge
...
CLOSED TREE
2014-09-29 10:46:00 -04:00
Jonathan Watt
e514b2b327
Bug 1074012, part 3 - Make nsSVGUtils::MakeFillPatternFor/MakeStrokePatternFor return using a Moz2D GeneralPattern out-param rather than a Thebes gfxPattern. r=Bas
2014-09-29 14:26:15 +01:00
Jonathan Watt
bf1cbae705
Bug 1073984 - Make SVG geometry painting use a Moz2D Path object directly. r=longsonr
2014-09-29 14:26:15 +01:00
Jonathan Watt
fbe81b516e
Bug 1073974, part 2 - Make complex SVG clipPath clipping use a Moz2D Path object directly. r=longsonr
2014-09-29 14:15:19 +01:00
Jonathan Watt
8d0ef58606
Bug 1073974, part 1 - Make simple SVG clipPath clipping use a Moz2D Path object directly. r=longsonr
2014-09-29 14:15:19 +01:00
Jonathan Watt
5cc9353fbd
Bug 1073972
- Get rid of gfxContext's FillRule enum in favor of Moz2D's. r=Bas
2014-09-29 14:15:19 +01:00
Jonathan Watt
9ee5dc4050
Bug 1073964 - Pass a const DrawTarget* through to nsSVGPaintServerFrame::GetPaintServerPattern so that it can create a pattern of the appropriate type. r=Bas
2014-09-29 14:15:19 +01:00
Jonathan Watt
ae20e92d99
Bug 1073942 - Paint via the Moz2D DrawTarget in nsFilterInstance::BuildSourcePaint. r=Bas
2014-09-29 14:15:18 +01:00
Jonathan Watt
382a6eff7b
Bug 1073854, part 2 - Get rid of nsSVGUtils::SetupCairoStroke. r=longsonr
2014-09-29 14:12:07 +01:00
Jonathan Watt
c51d260131
Bug 1073854, part 1 - Get rid of nsSVGPaintServerFrame::SetupPaintServer. r=longsonr
2014-09-29 14:12:07 +01:00
Jonathan Watt
9ad81dac1d
Bug 1073012 , part 2 - Replace nsSVGUtils::SetupCairoStrokePaint with a helper that returns a gfxPattern. r=longsonr
2014-09-29 14:12:06 +01:00
Jonathan Watt
ad54d523dc
Bug 1073012 , part 1 - Replace nsSVGUtils::SetupCairoFillPaint with a helper that returns a gfxPattern. r=longsonr
2014-09-29 14:12:06 +01:00
Henri Sivonen
ed991e6875
Bug 1072187 - Remove HZ-GB-2312. r=emk.
2014-09-26 15:12:02 +03:00
Cameron McCormack
33247ad2e9
Bug 1073828 - Fix variable generation in RestyleLogging.h. r=dbaron
2014-09-28 19:19:26 +10:00
Jonathan Watt
d19a368695
Bug 1073888 - Stop setting state on the gfxContext under SVGTextFrame::SetupCairoState, and restructure the code to make it easier to understand. r=heycam
2014-09-28 10:06:22 +01:00
Robert Longson
88bb2519fb
Bug 1073924 - Hovering over links in SVG does not cause cursor to change. r=jwatt
2014-09-29 09:20:22 +01:00
Ryan VanderMeulen
5c949f8890
Merge m-c to inbound. a=merge
2014-09-26 17:01:30 -04:00
Ryan VanderMeulen
c26fd87542
Merge inbound to m-c. a=merge
2014-09-26 16:54:59 -04:00
Markus Stange
abdabfe784
Bug 1073103 - SReplace 'Thebes' with 'Painted' in some more places. r=roc
2014-09-26 13:07:06 -04:00
Markus Stange
131bfce4c5
Bug 1073103 - Rename ThebesLayer to PaintedLayer. r=roc
...
--HG--
rename : gfx/layers/basic/BasicThebesLayer.cpp => gfx/layers/basic/BasicPaintedLayer.cpp
rename : gfx/layers/basic/BasicThebesLayer.h => gfx/layers/basic/BasicPaintedLayer.h
rename : gfx/layers/client/ClientThebesLayer.cpp => gfx/layers/client/ClientPaintedLayer.cpp
rename : gfx/layers/client/ClientThebesLayer.h => gfx/layers/client/ClientPaintedLayer.h
rename : gfx/layers/client/ClientTiledThebesLayer.cpp => gfx/layers/client/ClientTiledPaintedLayer.cpp
rename : gfx/layers/client/ClientTiledThebesLayer.h => gfx/layers/client/ClientTiledPaintedLayer.h
rename : gfx/layers/composite/ThebesLayerComposite.cpp => gfx/layers/composite/PaintedLayerComposite.cpp
rename : gfx/layers/composite/ThebesLayerComposite.h => gfx/layers/composite/PaintedLayerComposite.h
rename : gfx/layers/d3d10/ThebesLayerD3D10.cpp => gfx/layers/d3d10/PaintedLayerD3D10.cpp
rename : gfx/layers/d3d10/ThebesLayerD3D10.h => gfx/layers/d3d10/PaintedLayerD3D10.h
rename : gfx/layers/d3d9/ThebesLayerD3D9.cpp => gfx/layers/d3d9/PaintedLayerD3D9.cpp
rename : gfx/layers/d3d9/ThebesLayerD3D9.h => gfx/layers/d3d9/PaintedLayerD3D9.h
2014-09-26 13:06:08 -04:00
Ryan VanderMeulen
d4a650a82b
Backed out 4 changesets (bug 1068276, bug 1067664) for Android leaktest complaints.
...
Backed out changeset 846faaa68219 (bug 1068276)
Backed out changeset 35e71ffcf8e1 (bug 1068276)
Backed out changeset 605f59a806fd (bug 1067664)
Backed out changeset 2d5b7ea96b70 (bug 1067664)
--HG--
extra : rebase_source : 7a90c78ba35f31acce7609d5d8375a593cb9825d
2014-09-26 16:02:12 -04:00
Botond Ballo
11cb81a983
Bug 1068961 - Reset clip rect for color layers. r=roc
2014-09-26 14:11:17 -04:00
Andrew McCreight
8b01964740
Bug 1068276, part 1 - Allow configuring which type of processes we complain about when there's no leak log. r=jmaher
...
Then don't warn for missing logs from tab and geckomediaplugin processes, or default processes on B2G.
2014-09-26 10:34:09 -07:00
Andrew McCreight
bc18942ac0
Bug 1067664, part 1 - Allow different leak thresholds for different types of processes. r=jmaher
2014-09-26 10:34:08 -07:00
Kartikaya Gupta
a2dc4e9ede
Bug 1073354 - Update documentation that refers to the now-removed RecordFrameMetrics. r=tn DONBUILD
2014-09-26 11:29:38 -04:00
Carsten "Tomcat" Book
98c90c31dd
merge mozilla-inbound to mozilla-central a=merge
2014-09-26 13:20:34 +02:00
Kartikaya Gupta
6aea3474d4
Bug 1073024 - Make a pref to control building event regions. r=roc
2014-09-26 02:44:34 -04:00
Vicamo Yang
82d99fe626
Bug 833229 - 3.f/4: voicemail factory class. r=smaug
2014-09-26 13:00:25 +08:00
James Kitchener
d2f86e55b5
Bug 1069929 - Tests for dtls font feature setting. r=fredw
2014-09-24 04:46:00 -04:00
James Kitchener
dfcfbaf57a
Bug 1069929 - Apply dtls font feature setting for <mover> elements. r=roc
2014-09-24 04:38:00 -04:00
James Kitchener
8f92656d9a
Bug 1069929 - Flag dtls font feature setting for <mover> elements. r=fredw
2014-09-24 04:33:00 -04:00
Carsten "Tomcat" Book
b9e605f086
Backed out changeset d0be07d7cf1b (bug 1072187) for test bustage on a CLOSED TREE
2014-09-26 15:48:14 +02:00
Henri Sivonen
0c8133c979
Bug 1072187 - Remove HZ-GB-2312. r=emk.
2014-09-26 15:12:02 +03:00
Bevis Tseng
2df83d424f
Bug 864484 - Part 4: Add IPDL Protocol Implementation for CellBroadcast. r=vyang
...
--HG--
extra : rebase_source : 2493220fabd331274df8d91d2bc4480baf9cf8ed
2014-08-18 17:06:11 +08:00
Carsten "Tomcat" Book
8667acf680
merge mozilla-inbound to mozilla-central a=merge
2014-09-25 14:22:30 +02:00
Carsten "Tomcat" Book
f3c13bbb4e
Backed out changeset d53b25dcf2d7 (bug 966168) for causing bustage
2014-09-25 09:40:40 +02:00
Arnaud Sourioux
8b076037d4
Bug 1038570 - Part 3: rename ObjectFrame variables to PluginFrame. r=dbaron
2014-09-24 06:35:00 +02:00
Arnaud Sourioux
d98859187f
Bug 1038570 - Part 2: rename ObjectFrame class to PluginFrame. r=dbaron
2014-09-24 06:34:00 +02:00
Arnaud Sourioux
308aad49f2
Bug 1038570 - Part 1: rename nsObjectFrame.* to nsPluginFrame.*, changes moz.build and includes. r=dbaron
...
--HG--
rename : layout/generic/nsObjectFrame.cpp => layout/generic/nsPluginFrame.cpp
rename : layout/generic/nsObjectFrame.h => layout/generic/nsPluginFrame.h
2014-09-24 06:33:00 +02:00
peter chang
dc90ce6554
Bug 1020801 - Notify the ScrollViewChange DOM event when APZ starts/stops to change the transform. r=ehsan
2014-09-23 06:37:00 -04:00
Xidorn Quan
7d95f8bd04
Bug 966168 - Implement symbols() CSS function. r=dbaron
2014-09-24 15:32:00 +02:00
Cameron McCormack
cb01d9dab9
Bug 1072130 - Don't swap structs when we're reusing a style context from a previous same-style continuation. r=dbaron
2014-09-25 15:51:43 +10:00
Cameron McCormack
40fb431145
Bug 979133 - Add facility to log the restyle process. r=dbaron
...
Set the MOZ_DEBUG_RESTYLE environment variable and every restyle will have
detailed logging printed to stderr. By default, restyles for animations are
not logged; you can include them by also setting MOZ_DEBUG_RESTYLE_ANIMATIONS.
If you wish to limit restyle logging to a particular change, you can call
nsPresContext::StartRestyleLogging() and nsPresContext::StopRestyleLogging()
at appropriate points. (You might want to add a couple of helper methods
temporarily on nsIDocument and then expose them to your page with Web IDL
to make them easier to call.) You do not need to have set MOZ_DEBUG_RESTYLE
for this to work.
2014-09-25 15:45:36 +10:00
Cameron McCormack
8cc28ad642
Back out bug 1045895 for causing bug 1070759.
2014-09-25 15:30:18 +10:00
Brian Birtles
6673d589fa
Bug 1039924 part 6 - Use StickyTimeDuration for timing calculations; r=dholbert
...
This patch takes the StickyTimeDuration defined in the previous patch and
uses it within the calculation of animation timing for parameters that are
expected to be +/- Forever.
2014-09-25 14:25:50 +09:00
Phil Ringnalda
14f9d99fc1
Back out c0c410aed86f (bug 979133) for -wError bustage
...
CLOSED TREE
2014-09-24 21:06:22 -07:00
John Daggett
6fb8e38803
Bug 998869 part 5 - lazily load userfonts (non-linux). r=jfkthame
2014-09-25 12:16:54 +09:00
John Daggett
ec86ee2a35
Bug 998869 part 3 - rename userfont class methods. r=heycam
2014-09-25 12:16:53 +09:00
John Daggett
8d40c31973
Bug 998869 part 2 - switch to GetFontAt(0) to GetFirstValidFont(). r=jfkthame
2014-09-25 12:16:53 +09:00
Cameron McCormack
3483fb3f51
Bug 979133 - Add facility to log the restyle process. r=dbaron
...
Set the MOZ_DEBUG_RESTYLE environment variable and every restyle will have
detailed logging printed to stderr. By default, restyles for animations are
not logged; you can include them by also setting MOZ_DEBUG_RESTYLE_ANIMATIONS.
If you wish to limit restyle logging to a particular change, you can call
nsPresContext::StartRestyleLogging() and nsPresContext::StopRestyleLogging()
at appropriate points. (You might want to add a couple of helper methods
temporarily on nsIDocument and then expose them to your page with Web IDL
to make them easier to call.) You do not need to have set MOZ_DEBUG_RESTYLE
for this to work.
2014-09-25 13:13:14 +10:00
Ryan VanderMeulen
6d82d4d17c
Bug 1006040 - Bump the nsIPopupBoxObject UUID.
...
CLOSED TREE
2014-09-24 15:17:01 -04:00
Jonathan Kew
d45d23a70b
Bug 1072348 - Test for justification of text including Plane 2 characters. r=roc
2014-09-24 18:11:05 +01:00
Jonathan Kew
6cfa32cd04
Bug 1072348 - Make IsJustifiableCharacter recognize Plane 2 ideographs. r=roc
2014-09-24 18:11:02 +01:00
Jonathan Kew
ddead92c2c
Bug 1072106 - Reftest for justification of accented space characters. r=roc
2014-09-24 18:10:59 +01:00
Jonathan Kew
e4c76b908b
Bug 1072106 - Be more careful about checking for spaces that should not have justification applied. r=roc
2014-09-24 18:10:56 +01:00
Neil Deakin
a444d834d7
Bug 1006040, animate star panel when pressing escape, add argument to hidePopup to allow indication of whether the popup is being cancelled or not, r=neil
2014-09-24 12:15:49 -04:00
Cameron McCormack
9f35e7d9c4
Bug 1072072 - Fix invalid @font-face rules in scoped-style-font-face.html. r=dbaron
2014-09-25 09:25:41 +10:00
Cameron McCormack
e37d13c897
Bug 1070316 - Factor out descriptor storage from nsCSSFontFaceStyleDecl. r=dbaron
2014-09-25 09:25:40 +10:00
William Chen
08892173dd
Bug 1071934 - Use GetComposedDoc() in nsVideoFrame. r=smaug
2014-09-24 15:52:12 -07:00
Rik Cabanier
3d7133f4e1
Bug 1072100 - mix-blend-mode doesn't work when set in JS. r=dbaron
2014-09-24 09:48:00 -04:00
Ting-Yu Lin
1a70440095
Bug 1070851 - Make touch caret respect snapshotWindow(). r=roc
...
Avoid capture touch caret when the argument 'withCaret' is false in
snapshotWindow().
2014-09-24 01:26:00 -04:00
Mason Chang
010cc23678
Bug 1056340 - Clip viewport fixed position overflow to scroll frame. r=roc
2014-09-23 09:44:00 -04:00
Milan Sreckovic
d7d75e21f2
Bug 1068784 - Since the tiling is now not a simple pref choices, but it depends on some platform specific criteria, stop using the pref directly, and always use gfxPlatform::UseTiling instead. r=mwoodrow
2014-09-17 13:55:23 -04:00
Ehsan Akhgari
fd0ed02a89
Bug 1071573 - Fix more bad implicit constructors in layout; r=roc
...
--HG--
extra : rebase_source : a2632aead26e8481c307b54989ebba3642892f4c
2014-09-23 22:01:52 -04:00
Carsten "Tomcat" Book
bb6b27d528
Backed out changeset 4bb508b6f0c5 (bug 1041180) for XPCshell test failures
2014-09-24 13:13:20 +02:00
Christoph Kerschbaumer
72c6a44018
Bug 1041180: Remove deprecated nsIChannelPolicy (r=sstamm,jduell,jst)
2014-09-24 01:01:07 -07:00
Tim Nguyen
1a26e37638
Bug 1070657 - Simplify input[type=range] pseudo element CSS. r=dholbert
2014-09-23 11:37:00 +02:00
Rik Cabanier
92708c8d11
bug 1058044 - Background-blend-mode no longer blends correctly for <html> elements. r=roc
2014-09-23 19:50:00 +02:00
Cameron McCormack
0fe3c039e0
Bug 1070260 - Add public nsCSSParser function for parsing @font-face descriptors. r=jdaggett
2014-09-24 15:49:02 +10:00
Gabor Krizsanits
c82f46ba7c
Bug 777674 - setCurrentNode for inDeepTreeWalker. r=bz
2014-09-24 07:20:43 +02:00
Robert O'Callahan
392c6d258b
Bug 1062100. Part 3: When layers are flattened, let all the layers contribute opaqueness to the container layer, whatever their animated geometry roots are. r=tn
...
--HG--
extra : rebase_source : 255807b178162f62082da0fe2bed2315cf4c0581
2014-09-17 18:45:47 +12:00
Robert O'Callahan
140f2acdb4
Bug 1062100. Part 2: Assign clip rects to non-async-scrollable scrolled layers, and hide clipped layers if some non-moving layer covers their entire clip rect. r=mattwoodrow
...
--HG--
extra : rebase_source : bdc498a51f323d8536746e5a6faf6094a243a984
2014-09-06 16:16:33 +12:00
Wes Kocher
0300f6d4af
Backed out 2 changesets (bug 1041180) for build bustage on a CLOSED TREE
...
Backed out changeset 1cfb645267a4 (bug 1041180)
Backed out changeset afc9903ff28f (bug 1041180)
2014-09-23 16:26:49 -07:00
Christoph Kerschbaumer
5453719121
Bug 1041180: Remove deprecated nsIChannelPolicy (r=sstamm,jduell,jst)
2014-09-23 09:46:54 -07:00
Markus Stange
5766e69173
Bug 1050493 - Invalidate ColorLayer bounds changes. r=roc
...
--HG--
extra : rebase_source : 2196e9cb32a41771b9078ec1e66dbb97ef430b71
2014-09-23 17:47:36 -04:00
Markus Stange
6f3f0d263a
Bug 927892 - Use aDestPoint in dt->DrawFilter instead of a translation. r=Bas
...
--HG--
extra : rebase_source : 1a2e9d2ba45ddec8d8378c467f0eb39ea70f66a2
2014-09-23 17:47:20 -04:00
Daniel Holbert
1cc5671011
Bug 1066089: add crashtest. (test-only)
2014-09-23 14:12:54 -07:00
Georg Fritzsche
8bee7684a2
Bug 1067989 - Unify some more binary search uses. r=waldo
2014-09-17 15:46:24 +02:00
Kartikaya Gupta
cb12b9a2a4
Bug 1071367 - Fix the composition bounds for the root content document on OS X. r=tn
...
According to roc the content viewer position doesn't mean much; only the size is
set to anything meaningful. Therefore using the position from the content viewer
bounds is not a good idea, and we should use the position from the frame bounds
instead. This patch also changes GetContentViewerBounds to GetContentViewerSize
so that it's harder to accidentally use the position in other places.
2014-09-23 12:17:36 -04:00
Christoph Kerschbaumer
58b0ee2e6c
Bug 1038756: Callsites creating a channel in /layout/style/ (r=dbaron)
2014-09-21 09:41:26 -07:00
Christoph Kerschbaumer
e0875ed39b
Bug 1038756: Callsites creating a channel in /layout/mathml/ (r=roc)
2014-09-21 09:41:03 -07:00
Carsten "Tomcat" Book
aae9491196
merge b2g-inbound to mozilla-central a=merge
2014-09-22 13:06:09 +02:00
Vicamo Yang
70d97a65c3
Bug 1064231 - unify instantiation process for RIL services. r=smaug
2014-09-21 15:24:44 +08:00
Vicamo Yang
2d6a6e67a7
Bug 1063304 - 1/3: rename MobileConnectionGonkService.js to MobileConnectionService.js. r=echen
...
--HG--
rename : dom/mobileconnection/gonk/MobileConnectionGonkService.js => dom/mobileconnection/gonk/MobileConnectionService.js
rename : dom/mobileconnection/gonk/MobileConnectionGonkService.manifest => dom/mobileconnection/gonk/MobileConnectionService.manifest
rename : dom/mobileconnection/interfaces/nsIMobileConnectionGonkService.idl => dom/mobileconnection/gonk/nsIGonkMobileConnectionService.idl
2014-09-21 15:24:42 +08:00
Xidorn Quan
7d3a54f5b0
Bug 1069716 - Fix deficient CalcDifference of nsStyleList. r=heycam
2014-09-20 03:43:00 +02:00
Jonathan Kew
37cb84df41
Bug 1068027 - nsBidiPresUtils::RepositionFrame should not mix logical and physical directions. r=smontagu
2014-09-19 12:14:05 +01:00
James Kitchener
22538fb3ed
Bug 687807 - Tests for stretchy MathML. r=fredw
2014-09-01 06:49:00 +02:00
James Kitchener
10b2afdfc7
Bug 687807 - Improvements to stretching of embellished operators. r=karlt
2014-09-19 20:13:00 +02:00
Simon Montagu
af6ab79eb4
Bug 1034337: Test deletion on direction-change boundaries with the pref bidi.edit.delete_immediately set to both true and false, r=ehsan
2014-09-19 00:18:47 -07:00
Boris Zbarsky
754b30ed09
Bug 1067504. Hook up print preview to our parent widget as needed, so it will actually paint. r=smaug
2014-09-15 14:15:15 -04:00
Cameron McCormack
9fdb2d1e99
Bug 1069065 - Cycle collect ImportRule. r=bzbarsky
2014-09-19 11:12:31 +10:00
Cameron McCormack
d878a27c92
Bug 1062732 - Avoid tracking descendants for restyling if we are force restyling the entire subtree. r=dbaron
2014-09-19 11:12:31 +10:00