Commit Graph

348974 Commits

Author SHA1 Message Date
JW Wang
0571ecbb6d Bug 969706 - Playback may reach end before pref change is completed thus no more timeupdate events. Set loop to true to keep playing. r=padenot 2014-03-04 11:11:19 +08:00
Rik Cabanier
44b08b4b88 Bug 966591 - Add hit test for canvas hit regions. r=surkov 2014-03-04 09:30:29 -05:00
Carsten "Tomcat" Book
da3b53946a Merge mozilla-central to mozilla-inbound 2014-03-04 14:55:13 +01:00
Masayuki Nakano
576bee785c Bug 974318 part.10 Remove WidgetTextEvent::rangeCount and WidgetTextEvent::rangeArray r=smaug 2014-03-04 22:48:28 +09:00
Masayuki Nakano
991dd217bc Bug 974318 part.9 Use WidgetTextEvent::mRanges on CompositionStringSynthesizer r=smaug 2014-03-04 22:48:28 +09:00
Masayuki Nakano
3a0ba16d1a Bug 974318 part.8 Use WidgetTextEvent::mRanges on Android r=jchen 2014-03-04 22:48:28 +09:00
Masayuki Nakano
771c4a292f Bug 974318 part.7 Use WidgetTextEvent::mRanges on GTK r=karlt 2014-03-04 22:48:27 +09:00
Masayuki Nakano
be8f51beba Bug 974318 part.6 Use WidgetTextEvent::mRanges on Mac r=smichaud 2014-03-04 22:48:27 +09:00
Masayuki Nakano
73c72bc5e4 Bug 974318 part.5 Use WidgetTextEvent::mRanges on Windows r=jimm 2014-03-04 22:48:27 +09:00
Masayuki Nakano
3d4f34f6ad Bug 974318 part.4 Remove nsDOMTextEvent r=smaug 2014-03-04 22:48:27 +09:00
Masayuki Nakano
97dc5061e4 Bug 974318 part.3 Remove nsIPrivateTextRange and nsIPrivateTextEvent r=smaug 2014-03-04 22:48:26 +09:00
Masayuki Nakano
59ea783e22 Bug 974318 part.2 TextComposition should store TextRangeArray at editor handling text event and nsEditor should refer it r=smaug+ehsan 2014-03-04 22:48:26 +09:00
Masayuki Nakano
d9fdd873cb Bug 974318 part.1 Add WidgetTextEvent::mRanges which is an array class of TextRange r=smaug 2014-03-04 22:48:26 +09:00
Carsten "Tomcat" Book
d574219c44 merge b2g-inbound to mozilla-central 2014-03-04 14:31:59 +01:00
Carsten "Tomcat" Book
22ad10d9db merge fx-team to mozilla-central 2014-03-04 14:26:46 +01:00
John Schoenick
1de107df36 Bug 976861 - nsPluginTag::GetLastModifiedTime should use NS_IMETHODIMP. r=gfritzsche 2014-03-04 12:18:09 +01:00
Mike Hommey
9d3f4024b9 Bug 977951 - Don't force build a static libxul. r=gps 2014-03-04 16:09:08 +09:00
Phil Ringnalda
e17aa09c58 Back out bbd7b1da5d36:b0d1c4456b73 (bug 974575) and 6e8140ae4961 (bug 969814) for ASan bustage 2014-03-03 22:40:07 -08:00
Phil Ringnalda
5e90ed84c9 Back out 8b98e1dc7ef3 (bug 972100) for xpcshell bustage 2014-03-03 21:41:35 -08:00
Jonathan Kew
3a0e99a68b bug 974575 - support color glyphs in cairo_image_surface's _composite_glyphs function. r=jrmuizel 2014-03-04 05:37:40 +00:00
Jonathan Kew
fa0a7c6033 bug 974575 - backport Behdad's patches for color bitmap glyph support from current cairo trunk. r=jrmuizel
* * *
[ft] Fix resizing of bitmap fonts
From b94a519aad3d5b50aa6de47ee16ee6a099de9791 Mon Sep 17 00:00:00 2001
Say, you were asking cairo for a font at 200px.  For bitmap-only fonts,
cairo was finding the closes strike size and using it.  If the strike
was at 20px, well, that's what you were getting.  We now scale that 20px
strike by a factor of 10 to get the correct size rendering.

Note that by itself this patch doesn't change much on the Linux desktop.
The reason is that the size you are interested in (eg. 200px) is lost by
fontconfig.  When you request a font at 200px, fontconfig returns a font
pattern that says 20px, and so the next layers thing you want a font at
20px.  To address that, one also needs a piece of fontconfig config that
puts the 200 back into the pixelsize.  Something like this:

<match target="font">
  <test name="scalable" mode="eq">
    <bool>false</bool>
  </test>
  <edit name="pixelsize" mode="assign">
    <times>
      <name>size</name>
      <name>dpi</name>
      <double>0.0138888888888</double> <!--1/72.-->
    </times>
  </edit>
</match>

I'm going to try to upstream this config so it will be enabled by
default.  The config can be a bit smarter.  For example, if
metricshinting is enabled and the size difference is small, we may as
well not scale.

The nice thing about this is that the configuration of whether and when
to scale bitmaps will be done in fontconfig, not cairo / Qt / ... code.
---
* * *
[FT] Prefer downscaling bitmap glyphs to upscaling

From a8f1b456db744e33a10b2301df03528787e5b1ca Mon Sep 17 00:00:00 2001
Say, you have bitmap strikes for sizes 50ppem and 100ppem.
To render at 60ppem, it's much better to downscale the 100ppem
bitmap than upscale 50ppem one.  Prefer downscaling.
---
* * *
[ft] I meant fabs(), not abs()

From 13bd8d09b44e50649f6fc4d58d036bc32c1d5c5b Mon Sep 17 00:00:00 2001
---
* * *
[ft] Fix memory bug in copying bitmaps

From a0f556f37fb7016aa304b7cf0e811c0d38f0b969 Mon Sep 17 00:00:00 2001
---
* * *
[ft] Fix wrong assumptions

From e738079302a968b7b1fb9101cd4d92a8887bedce Mon Sep 17 00:00:00 2001
If subpixel rendering is enabled, but FT returns a 8bit gray bitmap
(perhaps because the font has 8bit embedded bitmaps) we were hitting
the assertions because the assumptions made were wrong.  Fix up.
---
* * *
Towards support loading color glyphs from FreeType

From 2cc353c3dbe01b4d8f65d6de800f2b1d6004a1c2 Mon Sep 17 00:00:00 2001
See comments.
---
* * *
Support 2bit and 4bit embedded bitmaps

From 9444ef09ccde2735258cc1bd2f1912119a32dd88 Mon Sep 17 00:00:00 2001
---
* * *
[ft] Fix math

From 7d26341072b13a78d4b3fe58779057ac020be487 Mon Sep 17 00:00:00 2001
---
* * *
[ft] Add missing include

From 0554d76402321b25cc952180e4d19436a9038d1a Mon Sep 17 00:00:00 2001
---
* * *
[ft] Fix alignment

From 34a747e7bdeba1cfe17318f80fbe6720d47bc023 Mon Sep 17 00:00:00 2001
---
* * *
[ft] Ensure alignment of bitmaps received from FreeType

From 46d9db96d460fea72f0420102e8a90c6a7231f79 Mon Sep 17 00:00:00 2001
---
2014-03-04 05:37:40 +00:00
Jonathan Kew
5a68502f73 bug 969814 - build freetype with support for color bitmap (png) glyphs within opentype fonts. r=ted,jrmuizel 2014-03-04 05:37:40 +00:00
Phil Ringnalda
c2c338a253 Back out 47afb5f53400 (bug 978784) because it's still busted with a clobber
CLOSED TREE
2014-03-03 21:26:19 -08:00
Wes Kocher
bf2ef0da2c Merge m-c to fx-team 2014-03-03 20:39:02 -08:00
Wes Kocher
92a21e3a94 Merge changes 2014-03-03 20:35:08 -08:00
Wes Kocher
39e0a0fbf6 Merge m-c to b2g-inbound 2014-03-03 20:34:02 -08:00
Timothy Nikkel
5784e916ea Bug 978248. If the scrollframe has gone away just use the scroll offset that the APZC controller had instead of (0,0). r=botond 2014-03-03 22:33:09 -06:00
Wes Kocher
ffe5883834 Merge inbound to m-c 2014-03-03 20:25:51 -08:00
Wes Kocher
1dd2b548b0 Merge b2g-inbound to m-c 2014-03-03 20:23:17 -08:00
Wes Kocher
34c77f3085 Merge fx-team to m-c 2014-03-03 20:20:23 -08:00
Mark Hammond
975723b139 Bug 972100 - have _remoteSetup() use the existing info response when logging in. r=rnewman 2014-03-04 15:16:06 +11:00
Kyle Machulis
b12634e3b5 Bug 979088 - Add padding to pickling in ipc so valgrind doesn't complain; r=bent 2014-03-03 20:05:14 -08:00
Phil Ringnalda
880cc14ff8 Merge m-c to f-t 2014-03-03 19:54:02 -08:00
Phil Ringnalda
b6ef2b6540 Merge m-c to b-i 2014-03-03 19:51:31 -08:00
Brian Nicholson
ae49e9faa3 Bug 979038 - Disable testAboutHomePageNavigation. r=mcomella 2014-03-03 19:43:56 -08:00
Brian Nicholson
da6dde2a97 Bug 977669 - Rename save subscribe ID. r=mfinkle 2014-03-03 19:41:37 -08:00
Ehsan Akhgari
3e9d3c59e3 Bug 978784 - Stop exporting ICU symbols from xul.dll; r=glandium 2014-03-03 22:38:55 -05:00
Wes Kocher
e96c9d8c83 Merge m-c to inbound 2014-03-03 20:32:35 -08:00
Phil Ringnalda
0ec28b60d9 Back out c75ce018e5db (bug 978784) for Windows build bustage
CLOSED TREE
2014-03-03 20:14:48 -08:00
Phil Ringnalda
3ebfa99768 Merge m-c to m-i 2014-03-03 19:50:07 -08:00
Ehsan Akhgari
137fa8efb9 Bug 978594 - Part 1: Remove the old code to support MSVC 2005 and 2008 from gfx/cairo/libpixman/src/Makefile.in; r=glandium 2014-03-03 22:47:56 -05:00
Seth Fowler
13b51d74ac Bug 63895 (Part 3) - Add tests for positioned internal table objects serving as absolute containing blocks. r=dbaron 2014-03-03 19:40:31 -08:00
Seth Fowler
f34547a086 Bug 63895 (Part 2) - Support table parts as absolute containing blocks. r=dbaron 2014-03-03 19:40:29 -08:00
Seth Fowler
af955838a6 Bug 63895 (Part 1) - Add helper methods for retrieving overflow areas in the frame's local coordinate space. r=dbaron 2014-03-03 19:40:27 -08:00
Ehsan Akhgari
d76d14db06 Bug 978784 - Stop exporting ICU symbols from xul.dll; r=glandium 2014-03-03 22:38:55 -05:00
Jeff Gilbert
3a7ff29a22 Bug 978414 - GLContextCGL::IsDoubleBuffered should be const at definition. - r=bustage on a CLOSED TREE 2014-03-03 19:13:34 -08:00
Ehsan Akhgari
eecde05734 Bug 977964 - Move some flags to moz.build; r=glandium 2014-03-03 21:58:37 -05:00
Jeff Gilbert
a967da761e Bug 978422 - ReattachTextureToAnyFramebufferToWorkAroundBugs no longer needed. - r=bjacob 2014-03-03 18:50:45 -08:00
Jeff Gilbert
ecac7faae3 Bug 978414 - Mark GLContext virtuals const and MOZ_OVERRIDE where appropriate. - r=bjacob 2014-03-03 18:47:43 -08:00
Ehsan Akhgari
3b5e7a8157 Bug 976258 - Undo the damage of including windows.h in IPCMessageUtils.h; r=bent 2014-03-03 21:35:51 -05:00