Commit Graph

243380 Commits

Author SHA1 Message Date
John Daggett
2de852fdbe Bug 1056479 p1 - add language to FindFamily parameters. r=jfkthame 2015-05-12 17:44:10 +09:00
John Daggett
b758ca0146 Bug 1056479 p0 - rename ambiguous GetFontList method in Android fontlist. r=m_kato 2015-05-12 17:44:03 +09:00
Morris Tseng
54e5b14c27 Bug 1161662 - Exclude post scale from layer.GetTransform(). r=roc 2015-05-07 01:18:00 +02:00
Marcos Caceres
e414480909 Bug 1162729 - CORS check is always performed when fetching a manifest. r=ehsan 2015-05-07 14:40:00 +02:00
Cykesiopka
8f0e75f3c3 Bug 1163358 - Add "psm" tag to PSM xpcshell and mochitest manifests. r=dkeeler 2015-05-09 18:21:00 +02:00
Nils Ohlmeier [:drno]
31f0a794a9 Bug 1087551: updated tests around addIceCandidate(). r=jib 2015-05-12 00:05:24 -07:00
Dan Glastonbury
bebd97d092 Bug 1147447 - Enable STL wrapping for libGLESv2 and libEGL. r=jmuizelaar r=glandium 2015-04-28 20:41:00 +02:00
Landry Breuil
b4d523e04e Bug 911450 - fix webrtc signaling tests build on OpenBSD. r=jesup r=rbarker r=glandium 2015-05-07 04:35:00 +02:00
Ekanan Ketunuti
61ffae0768 Bug 1160730 - Add composited, compositing and compositeness to the en-US dictionary. r=ehsan 2015-05-11 10:34:22 +07:00
Andrew McCreight
fb796b8e9b Bug 1113300 - Add a way to use SegmentedVector like a stack. r=froydnj 2015-05-07 09:11:00 +02:00
Vladimir Vukicevic [:vlad]
2e3bab35a3 Bug 1114333 - "putImageData(imageData, 0, 0, 0, 0, 1, 1) unreasonably slow". r=bas 2015-03-24 07:03:00 +01:00
Ting-Yu Lin
44c67fa21b Bug 1110039 - Part 5 - Reuse marionette tests for AccessibleCaret. r=roc
AccessibleCaret should behave like TouchCaret and SelectionCarets. I
refactor the setUp() to support both the old and new preferences.

Rename test_selectioncarets_multiplerange.py to test_selectioncarets2.py
since it now contains more than just multirange tests.

_test_handle_tilt_when_carets_overlap_to_each_other() is modified
because AccessibleCaret does not inflate the caret hit rectangle as
TouchCaret/SelectionCarets did. The point for tilt caret edges need to
shrink a bit.

In test_touchcaret.py, instead of setting _large_expiration_time, I just
disable caret timeout by default for every test. For those timeout
tests, use one second timeout to reduce test running time, and allow
1.5x margin to prevent intermittent failures.

Refine test case that move touch caret to front by using the real
position at the front rather than (0, 0).

Use skip_if_not_rotatable decorator for better log message.
2015-05-07 07:55:00 +02:00
Ting-Yu Lin
b357b39811 Bug 1110039 - Part 4 - Hook new classes into the system. r=roc
The necessary modifications are the same as SelectionCarets. For
convenience, Touch/SelectionCarets will be disabled whenever
AccessibleCaret preference is enabled.
2015-04-24 02:08:00 +02:00
Ting-Yu Lin
f3a41bba43 Bug 1110039 - Part 3 - Add gtest for AccessibleCaretEventHub. r=roc 2015-05-10 03:37:00 +02:00
Ting-Yu Lin
467998a590 Bug 1110039 - Part 2.5 - Add all files to build system. r=roc 2015-04-24 02:05:00 +02:00
Ting-Yu Lin
27e0c9e194 Bug 1110039 - Part 2.4 - Add AccessibleCaretEventHub. r=roc
See AccessibleCaretEventHub.h for the class description.

Both TouchCaret and SelectionCarets have their event handling mechanism,
which lead to a lot of code duplication. Now AccessibleCaretEventHub
serves as the single entry point for all events and callbacks.

We also encountered performance issues in SelectionCarets because many
unnecessary events might be dispatched to Gaia driven by the selection
changed events. SelectionCarets did not have clear internal states to
avoid this. To solve it, AccessibleCaretEventHub implements state
classes, and rely on the current states to call the CopyPasteManager's
handler only when it's needed.

For example, when dragging a caret, we do not interest in
NotifySelectionChanged() for updating the carets. Since we've known a
caret is being dragging, we can call UpdateCarets() directly. Hence
DragCaretState does not override OnSelectionChanged().
2015-05-03 23:37:00 +02:00
Ting-Yu Lin
5749b23267 Bug 1110039 - Part 2.3 - Add AccessibleCaretManager. r=roc
See AccessibleCaretManager.h for the class description.

AccessibleCaretManager uses two AccessibleCarets to unify the
functionality provided by TouchCaret and SelectionCarets. It has
"cursor" mode and "selection" mode, which corresponds to TouchCaret and
SelectionCarets, respectively.
2015-04-30 00:59:00 +02:00
Ting-Yu Lin
206548e5fb Bug 1110039 - Part 2.2 - Add AccessibleCaret. r=roc
See AccessibleCaret.h for the class description.

Technical difference between AccessibleCaret and Touch/SelectionCarets:
The anonymous dom element containing a caret image will be created by
AccessibleCaret by using the API landed in bug 1020244 instead of being
created by nsCanvasFrame.
2015-05-04 21:25:00 +02:00
Ting-Yu Lin
7116f8917d Bug 1110039 - Part 2.1 - Add logger facility. r=roc 2015-04-24 01:52:00 +02:00
Ting-Yu Lin
520266b69a Bug 1110039 - Part 1 - Add nsLayoutUtils::ClampRectToScrollFrames. r=roc
ClampRectToScrollFrames generalizes IsRectVisibleInScrollFrames by
returning the clamped rect in scroll frames. IsRectVisibleInScrollFrames
could be implemented by checking whether the clamped rect is empty or
not.
2015-04-14 00:08:00 +02:00
Carsten "Tomcat" Book
1c0b0eacfa Backed out 10 changesets (bug 1056479) for bustage on a CLOSED TREE
Backed out changeset d5b1f2b78915 (bug 1056479)
Backed out changeset bcc65b714dd6 (bug 1056479)
Backed out changeset 0b35e8a463d2 (bug 1056479)
Backed out changeset 0933391809c9 (bug 1056479)
Backed out changeset 93bd67204fac (bug 1056479)
Backed out changeset 5260b93eb0b9 (bug 1056479)
Backed out changeset 130bea3f8623 (bug 1056479)
Backed out changeset 408e078cc18d (bug 1056479)
Backed out changeset a651c240979d (bug 1056479)
Backed out changeset d74ae8fcaac9 (bug 1056479)
2015-05-12 08:25:19 +02:00
Chris Peterson
cc98841a8e Bug 1163364 - Fix -Wnull-conversion warnings about conversion of NULL constant to 'CSSM_CSP_HANDLE'. r=spohl 2015-05-06 08:59:14 -07:00
John Daggett
148a1e0ed3 Bug 1056479 p8 - switch gfxFontConfig to gfxFontconfig. r=karlt 2015-05-12 14:51:17 +09:00
John Daggett
6affa4c7e5 Bug 1056479 p7 - fixup assertion for non-italic fallback. r=m_kato 2015-05-12 14:51:17 +09:00
John Daggett
4455c05583 Bug 1056479 p6 - handle font updates. r=jfkthame 2015-05-12 14:51:17 +09:00
John Daggett
aa4f23c30c Bug 1056479 p5 - fixup printpreview test. r=jfkthame 2015-05-12 14:51:17 +09:00
John Daggett
e086f48942 Bug 1056479 p4 - fix accessibility api for font-weight. r=jfkthame 2015-05-12 14:51:17 +09:00
John Daggett
0e5dd8996b Bug 1056479 p3 - fixup various reftests for Linux. r=jfkthame 2015-05-12 14:51:17 +09:00
John Daggett
448b24f80f Bug 1056479 p2 - implement platform fontlist based on fontconfig. r=karlt
This patch implements a derived class of gfxPlatformFontList and a set of associated objects that uses fontconfig. It's a replacement for the existing gfxPangoFontGroup and gfxFontconfigUtils code. The fontconfig API is used to lookup all fonts on the system, which are grouped by family name.

Changes due to this patch:
- font style matching, the mapping of style attributes to a specific font, is now handled by the same Gecko code that is used on other plaforms. fontconfig substitutions are handled but fontconfig style matching no longer used.
- downloadable fonts using unicode-range are now supported
- local fullname lookups are only done with the English name of the font, as per the CSS3 Fonts spec, and not only other localized fullnames
- size-specific bitmap fonts are no longer supported
- fonts lacking a Unicode character map are no longer supported
2015-05-12 14:51:17 +09:00
John Daggett
f43f619412 Bug 1056479 p1a - use lang as part of pref font fallback. r=karlt 2015-05-12 14:51:17 +09:00
John Daggett
dae9a5b2b6 Bug 1056479 p1 - add language to FindFamily parameters. r=jfkthame 2015-05-12 14:51:17 +09:00
John Daggett
dcbe3ab36f Bug 1056479 p0 - rename ambiguous GetFontList method in Android fontlist. r=m_kato 2015-05-12 14:51:17 +09:00
David Anderson
9811ede28c Enable APZ for all Desktop windows if E10s is enabled. (bug 1163115, r=kats) 2015-05-12 01:26:01 -04:00
Timothy Nikkel
e7ab6607a9 Bug 1163259. Make sure we don't look at the parent ref layer when looking for a layer with the frame metrics for a scrollbar. r=kats
The ref layer comes from the parent process, and hence a different scrollid space. If the scrollid on it's metrics happen to match a scrollbar from the child process we have a problem.
2015-05-12 00:13:04 -05:00
Phil Ringnalda
1bc57a17f1 Back out 4f682f01262e (bug 857895) for widespread destruction
CLOSED TREE
2015-05-11 19:53:28 -07:00
Phil Ringnalda
ac5a1d4235 Back out 2 changesets (bug 528092, bug 1076848) for introducing an extra 3 hour timeout to builds
CLOSED TREE

Backed out changeset b15dac9231ee (bug 528092)
Backed out changeset 5b1402a3d3ca (bug 1076848)
2015-05-11 19:52:19 -07:00
Bill McCloskey
17e54c73be Bug 1157561 - Add webRequest-like API to Firefox (r=Mossop) 2015-05-11 17:19:21 -07:00
Bill McCloskey
74091f3cb2 Bug 1162838 - Allow sending initial process data to content processes (r=smaug) 2015-05-11 17:19:16 -07:00
Bill McCloskey
31852ebd7e Bug 803783 - Send message manager results via structured clone (r=bent) 2015-05-11 17:19:10 -07:00
Matt Woodrow
787ef8e2e3 Bug 857895 - Run canvas rendering asynchronously on OSX. r=Bas,bholley 2013-04-09 16:51:44 +12:00
Nicholas Nethercote
443993e1de No bug - Remove extraneous semicolon in DirectoryLinksProvider.jsm. r=glandium. 2015-05-11 16:11:48 -07:00
Mike Hommey
3a3e32f4c0 Bug 1043692 - Move DIST_INSTALL to moz.build. r=gps 2015-05-12 07:55:22 +09:00
Mike Hommey
ec07b959e5 Bug 1043692 - Add a DIST_INSTALL variable to moz.build, and replace NO_DIST_INSTALL with it. r=gps 2015-05-12 07:55:21 +09:00
Mike Hommey
1d550b7a04 Bug 1162852 - Remove the VARIABLES method of GypContext now it is doing nothing. r=gps 2015-05-12 07:55:20 +09:00
Mike Hommey
41a9286465 Bug 1162852 - Remove EXTRA_ASSEMBLER_FLAGS. r=gps 2015-05-12 07:55:19 +09:00
Mike Hommey
b499cfd5eb Bug 1162852 - Remove EXTRA_COMPILE_FLAGS. r=gps
We now have corresponding variables in moz.build contexts that can be used
instead.
2015-05-12 07:55:15 +09:00
Mike Hommey
e6c4cd8840 Bug 1162852 - Don't set IS_GYP_DIR from the gyp_reader. r=gps
With TemplateContexts keeping the name of the associated template, and the
Gyp context being declared as a TemplateContext, it is now possible to know
the equivalent of IS_GYP_DIR just by looking at the template name.
2015-05-12 07:54:10 +09:00
Mike Hommey
1a99e69477 Bug 1162851 - Keep the template name in TemplateContext instances. r=gps 2015-05-12 07:54:09 +09:00
Mike Hommey
bf048111fa Bug 1162845 - Move ASFLAGS to moz.build. r=mshal 2015-05-12 07:54:06 +09:00
Mike Hommey
0b54d446ad Bug 1162847 - Fix misplaced xptcstubsdef_asm.solx86 after bug 941450. r=mshal 2015-05-12 07:27:54 +09:00