Граф коммитов

66 Коммитов

Автор SHA1 Сообщение Дата
George Wright 1c299f739f Bug 736276 - Rename ScaledFontFreeType to ScaledFontCairo, and use Skia's API to create an SkTypeface from a cairo_scaled_font_t r=jrmuizel 2013-06-05 13:48:59 -04:00
Jonathan Kew 27c48de022 bug 854277 - improve font fallback behavior for zh-* locales. r=mfinkle 2013-04-06 22:04:30 +01:00
Jonathan Kew 3c4878e1e6 bug 844669 pt 3 - implement a simple GetCommonFallbackFonts for Android, to reduce the chances of hitting the global fallback codepath and loading all cmaps. r=blassey 2013-03-04 17:03:16 +00:00
Jonathan Kew 8654cf370d bug 829523 followup - use MOZ_WIDGET_GONK for the platform conditional, rather than MOZ_B2G. r=cjones 2013-01-30 12:03:39 +00:00
Daniel Holbert e06be6b9e3 Bug 833073: Remove (unused) LOG macro from gfxAndroidPlatform.cpp, to fix build warning about it being redefined. r=blassey a=nonlibxul 2013-01-22 00:05:05 -08:00
Jeff Muizelaar ae814deb35 Bug 831438. Add pref for forcing 16bit on B2G. r=cjones
B2G currently tries to detect the depth of the screen and uses
that as the offscreen format. This lets us override that
for testing the 16bit path on 24bit devices.
2013-01-17 11:52:41 -05:00
Jonathan Kew d8a1d9e121 bug 829523 - disable font hinting on b2g, but retain pixel-snapped metrics except in the browser app. r=cjones 2013-01-15 15:19:28 +00:00
Ed Morley 1ecfd9cba4 Backout d533ba255bbb (bug 829523) for reftest failures on a CLOSED TREE 2013-01-15 14:33:51 +00:00
Jonathan Kew 2c30c14aae bug 829523 - disable font hinting on b2g, but retain pixel-snapped metrics except in the browser app. r=cjones 2013-01-15 09:06:47 +00:00
Chris Jones 92e8707043 Bug 816614: Restore the previous behavior of ContentChild::IsForApp/Browser(). r=jlebar 2013-01-11 12:19:02 +01:00
Nicholas Nethercote b7723e3c58 Bug 819819 (part 2) - Remove |name| from NS_MEMORY_REPORTER_MALLOC_SIZEOF_FUN. r=jlebar.
--HG--
rename : dom/tests/mochitest/localstorage/test_localStorageQuotaPrivateBrowsing_perwindowpb.html => dom/tests/mochitest/localstorage/test_localStorageQuotaPrivateBrowsing.html
rename : toolkit/components/places/tests/browser/browser_favicon_privatebrowsing_perwindowpb.js => toolkit/components/places/tests/browser/browser_favicon_privatebrowsing.js
extra : rebase_source : 557cc60522970ce7eea3b006d357284d9b4694c4
2012-12-23 16:59:51 -08:00
Nicholas Nethercote 7d32dc00e9 Bug 717853 - Add a native version of DMD. r=jlebar,glandium.
--HG--
extra : rebase_source : 9b824556591abd63b42aa7ff823e9cd25976c162
2012-12-10 16:05:07 -08:00
Justin Lebar e09dffecb5 Bug 812957 - Follow-up: Replace void\n* with void*\n. r=oops DONTBUILD 2012-11-19 23:14:14 -05:00
Nicholas Nethercote 5c550b9fd6 Bug 812957 - Add memory reporter for Freetype. r=karlt,jlebar 2012-11-19 22:00:19 -05:00
Justin Lebar a9e6d9a0c8 Bug 802366 - The main event: Let a browser process inherit its app's id. r=bz,cjones
The main bug fixed here is that in half of our interfaces, we use "is browser frame/element" to mean "browser or app", and in the other half, we use it to mean "is browser not app".

There's a related, functional bug also fixed here, which is that a browser process doesn't inherit its parent's app-id.  This causes problems e.g. for IndexedDB: If a browser inside an app uses IndexedDB, the DB should have the app's app-id.

I also modified Tab{Parent,Child} and nsFrameLoader to call "app" "ownOrContainingApp", to emphasize that we might have inherited the app from a parent process.  I left nsIDocShell::appId alone, because changing that would have necessitated changing nsILoadGroup and therefore a /lot/ of users in Necko; it's also not clear it would have clarified anything in those cases.
2012-11-10 10:32:37 -08:00
Ryan VanderMeulen 3eff16d324 Backed out 12 changesets (bug 806127, bug 802366, bug 806168) for Windows build bustage.
--HG--
rename : dom/indexedDB/test/webapp_clearBrowserData.js => dom/indexedDB/test/test_webapp_clearBrowserData.html
2012-11-09 20:14:40 -05:00
Justin Lebar 785d3c9b2f Bug 802366 - The main event: Let a browser process inherit its app's id. r=bz,cjones
The main bug fixed here is that in half of our interfaces, we use "is browser frame/element" to mean "browser or app", and in the other half, we use it to mean "is browser not app".

There's a related, functional bug also fixed here, which is that a browser process doesn't inherit its parent's app-id.  This causes problems e.g. for IndexedDB: If a browser inside an app uses IndexedDB, the DB should have the app's app-id.

I also modified Tab{Parent,Child} and nsFrameLoader to call "app" "ownOrContainingApp", to emphasize that we might have inherited the app from a parent process.  I left nsIDocShell::appId alone, because changing that would have necessitated changing nsILoadGroup and therefore a /lot/ of users in Necko; it's also not clear it would have clarified anything in those cases.
2012-11-09 16:37:39 -08:00
Bas Schouten a1cb82c019 Bug 792207 - Part 1: Retain ScaledFont objects for gfxFonts. r=jrmuizel 2012-09-24 15:02:49 +00:00
Chris Jones f760acdc5e Bug 762221: Enable font hinting for "app" processes. r=jfkthame,jlebar 2012-08-23 11:23:43 +01:00
Ed Morley 900bd7cc06 Backout 06f6eede6b77 (bug 762221) for crashes 2012-08-23 10:27:56 +01:00
Chris Jones 9c75d27a17 Bug 762221: Enable font hinting for "app" processes. r=jfkthame,jlebar 2012-08-23 01:22:19 -07:00
Ehsan Akhgari e368dc9c85 Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Aryeh Gregor d0ad5a7d0c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Anthony Jones addbceb368 Bug 761895; Fixed Azure/Cairo canvas font support on gtk and android. r=karl 2012-07-24 22:18:39 +12:00
Nicholas Cameron 9bcaf104d6 Bug 764125; Add DrawTarget arg to GetScaledFontForFont. r=Bas 2012-07-24 22:18:37 +12:00
Nicholas Cameron e5b55a65ac Back out bug 746883, bug 764125, bug 761895, bug 746883, bug 748116 2012-07-26 18:48:24 +12:00
Anthony Jones 0de5f9da76 Bug 761895; Fixed Azure/Cairo canvas font support on gtk and android. r=karl 2012-07-24 22:18:39 +12:00
Nicholas Cameron d671f23535 Bug 764125; Add DrawTarget arg to GetScaledFontForFont. r=Bas 2012-07-24 22:18:37 +12:00
Jonathan Kew dc6c283e2e backout changeset d9d5d1bd766c (bug 769194) because of crashiness. 2012-07-09 22:47:48 +01:00
Jonathan Kew a3f6b9f448 bug 769194 - support src:local(...) in @font-face rules on Android/FT2FontList. r=jdaggett 2012-06-29 12:39:44 +01:00
Kan-Ru Chen 2f1e76a0a8 Bug 764752 - Choose optimal 2D format based on off-screen format. r=joe
--HG--
extra : rebase_source : 064638dfa5fa4324aa376f794ebf10bf4d6dd2c3
2012-06-20 12:03:24 +08:00
Chris Jones c6542471a4 Bug 759653: Use RGB24 for offscreen surfaces on android-esque platforms. r=mwu 2012-06-11 20:41:46 -07:00
Nicholas Cameron a99476d9be Bug 752380; correct use of enums. r=Bas 2012-05-30 15:04:59 +12:00
Kan-Ru Chen 52fc902deb Bug 743182 - Use gfxPlatform::OptimalFormatForContent everywhere. r=joedrew 2012-05-26 12:38:17 +08:00
Nicholas Cameron 0fdb7cc441 Bug 752380. Refactor gfxFont out of Azure. r=Bas 2012-05-17 10:30:10 +12:00
Gervase Markham 82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Benoit Jacob f5e1330f5c Bug 754426 - get screen depth from the main thread, expose it to other threads via gfxAndroidPlatform - r=joe 2012-05-15 15:41:20 -04:00
Michael Wu 9aa0ec31e5 Bug 734263 - Set offscreen surface format according to screen format, r=cjones 2012-03-13 16:59:26 -04:00
Chris Jones b560fc0e45 Bug 725240: Re-enable hinting on 'mobile' when non-reflowing-zoom isn't going to be used. r=jfkthame 2012-02-08 14:52:57 -08:00
Matt Woodrow 09555ea57f Bug 702517 - Add SupportsAzure function to decide which backend to use. r=jrmuizel 2011-11-18 17:00:38 +13:00
Matt Woodrow aed5160707 Bug 703109 - Add CreateOffscreenDrawTarget to gfxAndroidPlatform. r=Bas 2011-11-17 16:45:51 +13:00
Matt Woodrow 4fc2827fb5 Bug 688367 - Add Skia backend to Azure. r=jrmuizel 2011-11-03 08:55:03 +13:00
Ehsan Akhgari 92064e6d3f Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Michael Wu d2b70213ac Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Jonathan Kew e49f481662 bug 684889 - refactor and clean up Android font-list implementation. r=jdaggett 2011-09-23 12:15:36 +01:00
Ed Morley 217b4fdcc5 Backout changeset 864c08bd7c63 (bug 684889) for Android bustage 2011-09-23 10:36:16 +01:00
Jonathan Kew 1d2932c2c0 bug 684889 - refactor and clean up Android font-list implementation. r=jdaggett 2011-09-23 09:53:13 +01:00
Jim Chen 72434e8648 Bug 674806 - a. Include cast in compound literal expression. r=blassey 2011-08-04 15:01:47 -07:00
Brad Lassey 525d81c315 bug 636042 - All fonts are serif, follow up to fix build warning r=jdaggett 2011-07-29 21:44:32 -04:00
Brad Lassey 0054b876f9 bug 636042 - All fonts are serif, give preference to stock android fonts r=jdaggett 2011-07-28 01:28:43 -04:00