Commit Graph

243414 Commits

Author SHA1 Message Date
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
Mike Hommey
34b0784b0d Bug 1162846 - Don't use str.find in moz.build. r=mshal 2015-05-12 07:27:35 +09:00
Mike Hommey
53490947cc Bug 1162826 - Display a proper error when a moz.build tries to set a "reserved keyword". r=mshal 2015-05-12 07:27:31 +09:00
Mike Hommey
c203463421 Bug 1162826 - Properly display full moz.build processing errors when empty KeyError or ValueError are thrown. r=mshal 2015-05-12 07:26:49 +09:00
Mike Hommey
c4edef7b2b Bug 1162779 - Move NO_EXPAND_LIBS to moz.build. r=mshal 2015-05-12 07:26:42 +09:00
Wes Kocher
fcecf7aecb Backed out changeset 5eec0168c916 (bug 1159401) because I backed out the thing this was following up 2015-05-11 15:21:41 -07:00
Jeff Walden
d88c2a427a Bug 1158399 - Ensure/assert that DateObject::setUTCTime never stores a non-TimeClip'd value in the reserved slot. r=evilpie 2015-04-30 20:03:30 -07:00
Jeff Walden
c1dad444dd Bug 1155472 - Add the ES6 grammar parametrization to all the Parser methods, so that the permissibility of |in|, |yield| as keyword, &c. is specified directly, not by inspecting instantaneous statefulness. Don't change the statefulness yet, tho -- stop relying on it (where appropriate) in a later patch. r=efaust 2015-04-07 16:24:33 -07:00
Jeff Walden
97ecb2b229 Bug 1155472 - Reorder the various statement items in Parser::statement to correspond to the ordering in the Statement grammar production. r=efaust 2015-04-06 17:32:51 -04:00
Josh Matthews
66eb7ff591 Bug 1135812 - Make picture element react to viewport changes. r=dbaron,johns 2015-05-11 18:07:49 -04:00
Sean Stangl
aad2d6d263 Bug 1163168 - Prettify IonAssemblerBuffer.h. r=dougc 2015-05-08 11:55:34 -07:00
Wes Kocher
6fd66905f8 Backed out 2 changesets (bug 1159401) for b2g build bustage
Backed out changeset adfee1efb1e1 (bug 1159401)
Backed out changeset 70c63c8546e3 (bug 1159401)
2015-05-11 14:54:02 -07:00
Eric Rahm
d69a9e6570 Bug 1163196 - Part 2: Wrap expensive calls in PR_LOG_TEST. r=froydnj
Check that logging is enabled before performing potentially expensive
operations.
2015-05-11 14:22:04 -07:00
Eric Rahm
1f5e3508bb Bug 1163196 - Part 1: Remove instances of #ifdef PR_LOGGING in dom/security. r=froydnj
PR_LOGGING is now always defined, we can remove #ifdefs checking for it.
2015-05-11 14:22:03 -07:00
Kartikaya Gupta
bcde4a7220 Bug 1161634 - Enable the test_wheel_scroll on Linux as well. r=mstange 2015-05-11 17:21:37 -04:00
Kartikaya Gupta
1e286139fc Bug 1161634 - Allow synthesizing native mouse-scroll events on Linux. r=karlt 2015-05-11 17:21:34 -04:00
Kartikaya Gupta
4977bd28c8 Bug 1163640 - Fix the test for bug 417418 to not leave the widget in a drag session. r=ehsan 2015-05-11 17:21:30 -04:00