Commit Graph

171419 Commits

Author SHA1 Message Date
Masayuki Nakano
3a137667e8 Bug 974318 part.10 Remove WidgetTextEvent::rangeCount and WidgetTextEvent::rangeArray r=smaug 2014-03-04 22:48:28 +09:00
Masayuki Nakano
988a8c3033 Bug 974318 part.9 Use WidgetTextEvent::mRanges on CompositionStringSynthesizer r=smaug 2014-03-04 22:48:28 +09:00
Masayuki Nakano
e996ee6db3 Bug 974318 part.8 Use WidgetTextEvent::mRanges on Android r=jchen 2014-03-04 22:48:28 +09:00
Masayuki Nakano
a6fb3a8959 Bug 974318 part.7 Use WidgetTextEvent::mRanges on GTK r=karlt 2014-03-04 22:48:27 +09:00
Masayuki Nakano
fbc7e55d78 Bug 974318 part.6 Use WidgetTextEvent::mRanges on Mac r=smichaud 2014-03-04 22:48:27 +09:00
Masayuki Nakano
688be7cbab Bug 974318 part.5 Use WidgetTextEvent::mRanges on Windows r=jimm 2014-03-04 22:48:27 +09:00
Masayuki Nakano
c5aac51f12 Bug 974318 part.4 Remove nsDOMTextEvent r=smaug 2014-03-04 22:48:27 +09:00
Masayuki Nakano
bd7230cba0 Bug 974318 part.3 Remove nsIPrivateTextRange and nsIPrivateTextEvent r=smaug 2014-03-04 22:48:26 +09:00
Masayuki Nakano
ebe6a3a543 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
793376edad Bug 974318 part.1 Add WidgetTextEvent::mRanges which is an array class of TextRange r=smaug 2014-03-04 22:48:26 +09:00
John Schoenick
4f8394db1d Bug 976861 - nsPluginTag::GetLastModifiedTime should use NS_IMETHODIMP. r=gfritzsche 2014-03-04 12:18:09 +01:00
Georg Fritzsche
f851b42c0c Bug 976769 - Stop layering the plugin overlay topmost. r=bsmedberg 2014-02-27 17:53:56 +01:00
Georg Fritzsche
7f5ffbaae4 Bug 977543 - CTP overlay is not displayed for iframes/embedded videos. r=jaws 2014-02-28 12:24:13 +01:00
Georg Fritzsche
809027efa0 Bug 978045 - Move plugin tests in browser/base/content/tests/general to browser/base/content/tests/plugins. r=jaws
--HG--
rename : browser/base/content/test/general/blockNoPlugins.xml => browser/base/content/test/plugins/blockNoPlugins.xml
rename : browser/base/content/test/general/blockPluginHard.xml => browser/base/content/test/plugins/blockPluginHard.xml
rename : browser/base/content/test/general/blockPluginVulnerableNoUpdate.xml => browser/base/content/test/plugins/blockPluginVulnerableNoUpdate.xml
rename : browser/base/content/test/general/blockPluginVulnerableUpdatable.xml => browser/base/content/test/plugins/blockPluginVulnerableUpdatable.xml
rename : browser/base/content/test/general/browser_CTP_context_menu.js => browser/base/content/test/plugins/browser_CTP_context_menu.js
rename : browser/base/content/test/general/browser_CTP_crashreporting.js => browser/base/content/test/plugins/browser_CTP_crashreporting.js
rename : browser/base/content/test/general/browser_CTP_data_urls.js => browser/base/content/test/plugins/browser_CTP_data_urls.js
rename : browser/base/content/test/general/browser_CTP_drag_drop.js => browser/base/content/test/plugins/browser_CTP_drag_drop.js
rename : browser/base/content/test/general/browser_CTP_hide_overlay.js => browser/base/content/test/plugins/browser_CTP_hide_overlay.js
rename : browser/base/content/test/general/browser_CTP_multi_allow.js => browser/base/content/test/plugins/browser_CTP_multi_allow.js
rename : browser/base/content/test/general/browser_CTP_nonplugins.js => browser/base/content/test/plugins/browser_CTP_nonplugins.js
rename : browser/base/content/test/general/browser_CTP_notificationBar.js => browser/base/content/test/plugins/browser_CTP_notificationBar.js
rename : browser/base/content/test/general/browser_CTP_outsideScrollArea.js => browser/base/content/test/plugins/browser_CTP_outsideScrollArea.js
rename : browser/base/content/test/general/browser_CTP_resize.js => browser/base/content/test/plugins/browser_CTP_resize.js
rename : browser/base/content/test/general/browser_bug743421.js => browser/base/content/test/plugins/browser_bug743421.js
rename : browser/base/content/test/general/browser_bug744745.js => browser/base/content/test/plugins/browser_bug744745.js
rename : browser/base/content/test/general/browser_bug752516.js => browser/base/content/test/plugins/browser_bug752516.js
rename : browser/base/content/test/general/browser_bug787619.js => browser/base/content/test/plugins/browser_bug787619.js
rename : browser/base/content/test/general/browser_bug797677.js => browser/base/content/test/plugins/browser_bug797677.js
rename : browser/base/content/test/general/browser_bug812562.js => browser/base/content/test/plugins/browser_bug812562.js
rename : browser/base/content/test/general/browser_bug818118.js => browser/base/content/test/plugins/browser_bug818118.js
rename : browser/base/content/test/general/browser_bug820497.js => browser/base/content/test/plugins/browser_bug820497.js
rename : browser/base/content/test/general/browser_clearplugindata.html => browser/base/content/test/plugins/browser_clearplugindata.html
rename : browser/base/content/test/general/browser_clearplugindata.js => browser/base/content/test/plugins/browser_clearplugindata.js
rename : browser/base/content/test/general/browser_clearplugindata_noage.html => browser/base/content/test/plugins/browser_clearplugindata_noage.html
rename : browser/base/content/test/general/browser_pageInfo_plugins.js => browser/base/content/test/plugins/browser_pageInfo_plugins.js
rename : browser/base/content/test/general/browser_pluginCrashCommentAndURL.js => browser/base/content/test/plugins/browser_pluginCrashCommentAndURL.js
rename : browser/base/content/test/general/browser_pluginnotification.js => browser/base/content/test/plugins/browser_pluginnotification.js
rename : browser/base/content/test/general/browser_pluginplaypreview.js => browser/base/content/test/plugins/browser_pluginplaypreview.js
rename : browser/base/content/test/general/browser_pluginplaypreview2.js => browser/base/content/test/plugins/browser_pluginplaypreview2.js
rename : browser/base/content/test/general/browser_plugins_added_dynamically.js => browser/base/content/test/plugins/browser_plugins_added_dynamically.js
rename : browser/base/content/test/general/plugin_add_dynamically.html => browser/base/content/test/plugins/plugin_add_dynamically.html
rename : browser/base/content/test/general/plugin_alternate_content.html => browser/base/content/test/plugins/plugin_alternate_content.html
rename : browser/base/content/test/general/plugin_big.html => browser/base/content/test/plugins/plugin_big.html
rename : browser/base/content/test/general/plugin_both.html => browser/base/content/test/plugins/plugin_both.html
rename : browser/base/content/test/general/plugin_both2.html => browser/base/content/test/plugins/plugin_both2.html
rename : browser/base/content/test/general/plugin_bug744745.html => browser/base/content/test/plugins/plugin_bug744745.html
rename : browser/base/content/test/general/plugin_bug749455.html => browser/base/content/test/plugins/plugin_bug749455.html
rename : browser/base/content/test/general/plugin_bug752516.html => browser/base/content/test/plugins/plugin_bug752516.html
rename : browser/base/content/test/general/plugin_bug787619.html => browser/base/content/test/plugins/plugin_bug787619.html
rename : browser/base/content/test/general/plugin_bug797677.html => browser/base/content/test/plugins/plugin_bug797677.html
rename : browser/base/content/test/general/plugin_bug820497.html => browser/base/content/test/plugins/plugin_bug820497.html
rename : browser/base/content/test/general/plugin_clickToPlayAllow.html => browser/base/content/test/plugins/plugin_clickToPlayAllow.html
rename : browser/base/content/test/general/plugin_clickToPlayDeny.html => browser/base/content/test/plugins/plugin_clickToPlayDeny.html
rename : browser/base/content/test/general/pluginCrashCommentAndURL.html => browser/base/content/test/plugins/plugin_crashCommentAndURL.html
rename : browser/base/content/test/general/plugin_data_url.html => browser/base/content/test/plugins/plugin_data_url.html
rename : browser/base/content/test/general/plugin_hidden_to_visible.html => browser/base/content/test/plugins/plugin_hidden_to_visible.html
rename : browser/base/content/test/general/plugin_outsideScrollArea.html => browser/base/content/test/plugins/plugin_outsideScrollArea.html
rename : browser/base/content/test/general/plugin_overlayed.html => browser/base/content/test/plugins/plugin_overlayed.html
rename : browser/base/content/test/general/plugin_positioned.html => browser/base/content/test/plugins/plugin_positioned.html
rename : browser/base/content/test/general/plugin_small.html => browser/base/content/test/plugins/plugin_small.html
rename : browser/base/content/test/general/plugin_syncRemoved.html => browser/base/content/test/plugins/plugin_syncRemoved.html
rename : browser/base/content/test/general/plugin_test.html => browser/base/content/test/plugins/plugin_test.html
rename : browser/base/content/test/general/plugin_test2.html => browser/base/content/test/plugins/plugin_test2.html
rename : browser/base/content/test/general/plugin_test3.html => browser/base/content/test/plugins/plugin_test3.html
rename : browser/base/content/test/general/plugin_two_types.html => browser/base/content/test/plugins/plugin_two_types.html
rename : browser/base/content/test/general/plugin_unknown.html => browser/base/content/test/plugins/plugin_unknown.html
2014-03-03 17:10:51 +01:00
Jonathan Kew
7e51f55960 bug 969814 - build freetype with support for color bitmap (png) glyphs within opentype fonts. r=ted,jrmuizel 2014-03-04 09:26:06 +00:00
Paul Adenot
63c8e598d4 Bug 946618 - Update libcubeb from upstream to pick up new tests. r=kinetik 2014-02-27 16:26:24 +01:00
Paul Adenot
4a6d5a5ad6 Bug 946618 - Add native tests for cubeb (build system bits). r=glandium,kinetik 2014-02-25 14:21:59 +01:00
Benjamin Bouvier
235d795790 Bug 978714: Initialize codeIsProtected_ in Odin; r=luke 2014-03-04 10:00:30 +01:00
Benjamin Bouvier
6f75686d2c Bug 977900: Add collide method back in Array.scatterPar; r=shu 2014-03-04 09:58:06 +01:00
Chris Pearce
3c9f8cb800 Bug 975270 - Fire 'emptied' and 'abort' asynchronously in media load algorithm, as per spec. r=roc 2014-02-28 15:01:47 +13:00
Mike Hommey
27a4bb82ef Bug 977951 - Don't force build a static libxul. r=gps 2014-03-04 16:09:08 +09:00
Phil Ringnalda
b0cebde23e Back out bbd7b1da5d36:b0d1c4456b73 (bug 974575) and 6e8140ae4961 (bug 969814) for ASan bustage 2014-03-03 22:40:07 -08:00
Jonathan Kew
2341b68fd3 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
46d21b2ed4 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
67d11a57eb 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
edf71fcafb Back out 47afb5f53400 (bug 978784) because it's still busted with a clobber
CLOSED TREE
2014-03-03 21:26:19 -08:00
Ehsan Akhgari
eb5f1f2a2d Bug 978784 - Stop exporting ICU symbols from xul.dll; r=glandium 2014-03-03 22:38:55 -05:00
Wes Kocher
6aa73ee3f6 Merge m-c to inbound 2014-03-03 20:32:35 -08:00
Wes Kocher
931a86b030 Merge inbound to m-c 2014-03-03 20:25:51 -08:00
Wes Kocher
0c575a92af Merge b2g-inbound to m-c 2014-03-03 20:23:17 -08:00
Wes Kocher
821ac25ccc Merge fx-team to m-c 2014-03-03 20:20:23 -08:00
Phil Ringnalda
00ee8fa24b Back out c75ce018e5db (bug 978784) for Windows build bustage
CLOSED TREE
2014-03-03 20:14:48 -08:00
Phil Ringnalda
f7d318aa86 Merge m-c to m-i 2014-03-03 19:50:07 -08:00
Ehsan Akhgari
1b528727d5 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
750ecf0bd4 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
c731aa8fb7 Bug 63895 (Part 2) - Support table parts as absolute containing blocks. r=dbaron 2014-03-03 19:40:29 -08:00
Seth Fowler
d0c1e2f3fb 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
943d4ff94d Bug 978784 - Stop exporting ICU symbols from xul.dll; r=glandium 2014-03-03 22:38:55 -05:00
Jeff Gilbert
3b5df918d9 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
c8b87eb077 Bug 977964 - Move some flags to moz.build; r=glandium 2014-03-03 21:58:37 -05:00
Jeff Gilbert
776480c934 Bug 978422 - ReattachTextureToAnyFramebufferToWorkAroundBugs no longer needed. - r=bjacob 2014-03-03 18:50:45 -08:00
Jeff Gilbert
288e6d233c Bug 978414 - Mark GLContext virtuals const and MOZ_OVERRIDE where appropriate. - r=bjacob 2014-03-03 18:47:43 -08:00
Ehsan Akhgari
f4686ac699 Bug 976258 - Undo the damage of including windows.h in IPCMessageUtils.h; r=bent 2014-03-03 21:35:51 -05:00
Matthew Gregan
87855800ef Bug 962353 - Remove totalFrameDelay from VideoPlaybackQuality. r=chris.double
It's not implemented by other vendors and marked as "at risk" in the spec.
Easy to add back if there's real demand/a concrete spec.
2014-03-04 15:31:57 +13:00
Terrence Cole
e31b65559d Bug 945152 - Never allocate ArrayBuffers with unknown API contents in the nursery; r=sfink
--HG--
extra : rebase_source : e1aee850668dd148fc85836a27864fe21fd82e69
2014-03-03 18:26:24 -08:00
Terrence Cole
c7e03b491d Bug 976889 - Fix the check in CurrentThreadCanAccessRuntime; r=shu
--HG--
extra : rebase_source : 1ad4f015458b617c6c4d52dda17feed158b66509
2014-03-03 18:23:26 -08:00
Terrence Cole
8a77f5f205 Bug 978226 - Don't leak the script's table when we OOM in LazyScript::CreateRaw; r=till
--HG--
extra : rebase_source : d1a4d6c9cbe09a8956893f8810c75fdb2f8d7ccb
2014-03-03 18:23:24 -08:00
Nicholas Nethercote
4afed33e98 Bug 977496 - Make Array.join more efficient when the array has length 1. r=luke.
--HG--
extra : rebase_source : 53741b382e8f4bc122ecea4bd99357129a877140
2014-03-03 18:16:13 -08:00
Shu-yu Guo
b703b39b44 Bug 979056 - Refactor readFrameArgs in Ion frame iterators. (r=jandem) 2014-03-03 18:12:05 -08:00
Ehsan Akhgari
daca2d2104 Bug 978995 - Stop exporting symbols from xpconnect; r=bholley 2014-03-03 20:51:27 -05:00