Commit Graph

420936 Commits

Author SHA1 Message Date
Carsten "Tomcat" Book
f2526ec66b Backed out changeset e9a4931b119c (bug 861219) 2015-05-12 12:27:20 +02:00
Carsten "Tomcat" Book
a98d07f54a Backed out changeset cff5c0c09e72 (bug 1056479) for widespread destruction on a CLOSED TREE 2015-05-12 12:22:01 +02:00
Carsten "Tomcat" Book
5cb40c508e Backed out changeset 8bd3335d77d2 (bug 1056479) 2015-05-12 12:21:20 +02:00
Carsten "Tomcat" Book
7d0e2a0d83 Backed out changeset c72465a4c424 (bug 1056479) 2015-05-12 12:21:14 +02:00
Carsten "Tomcat" Book
f21bf9d148 Backed out changeset 1223b73d62dc (bug 1056479) 2015-05-12 12:21:09 +02:00
Carsten "Tomcat" Book
11670ea513 Backed out changeset 194a4c39c2a9 (bug 1056479) 2015-05-12 12:21:02 +02:00
Carsten "Tomcat" Book
304884246c Backed out changeset a517a5188e1b (bug 1056479) 2015-05-12 12:20:57 +02:00
Carsten "Tomcat" Book
a1b476a5fa Backed out changeset 51287191cc06 (bug 1056479) 2015-05-12 12:20:53 +02:00
Carsten "Tomcat" Book
9b062ed880 Backed out changeset f630169085c1 (bug 1056479) 2015-05-12 12:20:48 +02:00
Carsten "Tomcat" Book
8516c22d7a Backed out changeset f18546e7f271 (bug 1056479) 2015-05-12 12:20:43 +02:00
Carsten "Tomcat" Book
ccb3c8002c Backed out changeset a8fca346b1ff (bug 1056479) 2015-05-12 12:20:38 +02:00
Carsten "Tomcat" Book
196e2623c1 Backed out changeset b858d2530520 (bug 1056479) 2015-05-12 12:20:33 +02:00
Nicolas B. Pierron
80e538dad8 Bug 1158344 part 2 - Do not produce upper bounds check if the condition is always verified. r=sunfish 2015-05-12 11:26:53 +02:00
Nicolas B. Pierron
131f044490 Bug 1154971 - ValueNumbering: Skip finding the leader if the simplified instruction existed before the simplification. r=sunfish 2015-05-12 11:26:52 +02:00
Till Schneidereit
ba8e662868 Bug 861219 - Part 1: Make Date.prototype not be a Date object. r=bholley 2014-05-26 13:04:55 +02:00
Tooru Fujisawa
259232ac04 Bug 861219 - Part 0: Make ClassSpec be able to delegate to another ClassSpec. r=bholley 2015-05-12 18:05:38 +09:00
Jon Coppeard
d84f510fb3 Bug 1163643 - Fix unified build errors following recent marking changes r=terrence 2015-05-12 10:04:14 +01:00
John Daggett
e59faa6ed9 merge 2015-05-12 17:53:28 +09:00
Simon Montagu
18696dcf45 Bug 1139306: Add a small amount of fuzz to a test on Android, r=tn 2015-05-12 01:50:18 -07:00
Timothy Nikkel
1a91fe572c Bug 1139306. Adjust heights of scrollable area so scrollbar sizes almost match in reftests now that RTL scrollbars correctly show in these reftests. r=smontagu 2015-05-12 01:50:01 -07:00
Simon Montagu
fe1d4e7e0d Bug 1139306: Fix margin sides for right-to-left scrollbars depending on the actual position of the scrollbar as determined by layout.scrollbar.side, r=tn 2015-05-12 01:49:25 -07:00
John Daggett
dbe1d515c9 Bug 1056479 p9 - fix build bustage. r=birtles 2015-05-12 17:44:39 +09:00
John Daggett
da543844cd Bug 1056479 p8 - switch gfxFontConfig to gfxFontconfig. r=karlt 2015-05-12 17:44:35 +09:00
John Daggett
e1d5d14bde Bug 1056479 p7 - fixup assertion for non-italic fallback. r=m_kato 2015-05-12 17:44:32 +09:00
John Daggett
bc2095e1d1 Bug 1056479 p6 - handle font updates. r=jfkthame 2015-05-12 17:44:30 +09:00
John Daggett
27c91674de Bug 1056479 p5 - fixup printpreview test. r=jfkthame 2015-05-12 17:44:26 +09:00
John Daggett
b88f675d49 Bug 1056479 p4 - fix accessibility api for font-weight. r=jfkthame 2015-05-12 17:44:23 +09:00
John Daggett
197c2170e0 Bug 1056479 p3 - fixup various reftests for Linux. r=jfkthame 2015-05-12 17:44:20 +09:00
John Daggett
da0662d19f 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 17:44:16 +09:00
John Daggett
ad666ceddb Bug 1056479 p1a - use lang as part of pref font fallback. r=karlt 2015-05-12 17:44:13 +09:00
John Daggett
57707b75bd Bug 1056479 p1 - add language to FindFamily parameters. r=jfkthame 2015-05-12 17:44:10 +09:00
John Daggett
7ea3422db0 Bug 1056479 p0 - rename ambiguous GetFontList method in Android fontlist. r=m_kato 2015-05-12 17:44:03 +09:00
Morris Tseng
a832ce6127 Bug 1161662 - Exclude post scale from layer.GetTransform(). r=roc
--HG--
extra : rebase_source : 7c6d495d597adf9e74963bb2799dc28230d4c649
2015-05-07 01:18:00 +02:00
Marcos Caceres
312c82515a Bug 1162729 - CORS check is always performed when fetching a manifest. r=ehsan
--HG--
extra : rebase_source : 714b7abcf3f700685d538800af89578b14f7b622
2015-05-07 14:40:00 +02:00
Cykesiopka
737fac0f14 Bug 1163358 - Add "psm" tag to PSM xpcshell and mochitest manifests. r=dkeeler
--HG--
extra : rebase_source : 43570fd1ec37a363df530dac0fd457c1019d194d
2015-05-09 18:21:00 +02:00
Nils Ohlmeier [:drno]
772e7d8a3f Bug 1087551: updated tests around addIceCandidate(). r=jib
--HG--
rename : dom/media/tests/mochitest/test_peerConnection_addCandidateInHaveLocalOffer.html => dom/media/tests/mochitest/test_peerConnection_addIceCandidate.html
2015-05-12 00:05:24 -07:00
Dan Glastonbury
666876115e Bug 1147447 - Enable STL wrapping for libGLESv2 and libEGL. r=jmuizelaar r=glandium 2015-04-28 20:41:00 +02:00
Landry Breuil
d3f772dac3 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
84cf869290 Bug 1160730 - Add composited, compositing and compositeness to the en-US dictionary. r=ehsan 2015-05-11 10:34:22 +07:00
Andrew McCreight
ceaa3c66f9 Bug 1113300 - Add a way to use SegmentedVector like a stack. r=froydnj 2015-05-07 09:11:00 +02:00
Vladimir Vukicevic [:vlad]
10f00a361e 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
462dcbab78 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.

--HG--
rename : layout/base/tests/marionette/test_selectioncarets_multiplerange.py => layout/base/tests/marionette/test_selectioncarets2.py
2015-05-07 07:55:00 +02:00
Ting-Yu Lin
da5ef9e181 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
f7bd43c314 Bug 1110039 - Part 3 - Add gtest for AccessibleCaretEventHub. r=roc 2015-05-10 03:37:00 +02:00
Ting-Yu Lin
85ce5ba320 Bug 1110039 - Part 2.5 - Add all files to build system. r=roc 2015-04-24 02:05:00 +02:00
Ting-Yu Lin
30e280820a 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
506bc5b7fb 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
034c5058c3 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
bf11b2199b Bug 1110039 - Part 2.1 - Add logger facility. r=roc 2015-04-24 01:52:00 +02:00
Ting-Yu Lin
4d2a9a0ddd 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