Birunthan Mohanathas
504b581650
Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj
2014-04-27 03:06:00 -04:00
Nathan Froyd
8886a78c1f
Bug 993546 - refactor malloc-wrapping memory reporter implementations; r=njn
2014-04-08 13:51:20 -04:00
Jonathan Kew
3c142a627e
bug 769194 - support src:local(...) in @font-face rules on Android/FT2FontList. r=jdaggett
2014-04-08 09:10:41 +01:00
Sotaro Ikeda
a56bfe74a2
Bug 990305 - Move IsInEmulator() from GrallocImage to gfxPlatform r=nical
2014-04-01 06:33:49 -07:00
Ryan VanderMeulen
76514a9d58
Backed out changeset 9394e6901453 (bug 958008) for causing bug 960224.
2014-03-19 13:19:02 -04:00
Eugen Sawin
ac7e37ba59
Bug 940087 - Remove double reset of Cairo font data. r=jrmuizel
2014-03-17 15:06:51 +01:00
James Willcox
9953e94be2
Bug 956993 - Rely on OES_EGL_image_external for SharedSurface_EGLImage r=jgilbert
2014-03-05 15:48:58 -06:00
Milan Sreckovic
8abbaf6943
Bug 971943: 6. gfx.android.rgb16.force (startup only), gfx.gralloc.fence-with-readpixels (changing during session) moved to gfxPrefs. r=sikeda.
2014-03-03 17:11:06 -05:00
Ms2ger
b995cb3325
Bug 952033 - Part b: Use IntSize in CreateOffscreenSurface; r=roc
2014-02-09 09:04:38 +01:00
Oleg Romashin
aa6e063fcf
Bug 840874 - Get Skia backend working on Qt port. r=bas
2014-01-29 23:01:16 -08:00
Benoit Jacob
981c6431d3
Bug 959380 - 2/5 - Make gfxImageFormat a typed enum - r=jrmuizel
...
find . -type f | grep -v \./obj | grep -v \.hg | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)gfxImageFormat\(ARGB32\|RGB24\|A8\|A1\|RGB16_565\|Unknown\)\($\|[^A-Za-z0-9_]\)/\1gfxImageFormat::\2\3/g'
2014-01-23 13:26:40 -05:00
Michael Wu
bd9e29b468
Bug 958008 - Avoid copying images on Android/Gonk when there's nothing to optimize, r=jrmuizel
2014-01-14 11:12:36 +08:00
Benoit Jacob
d73dfad4ba
Bug 958375 - 7/9 - Make Font-related enums typed - r=Bas
...
Specifically:
r=Bas for manual changes
f=Bas for automatic changes
See attachments on the bug for the specific breakdown.
2014-01-10 14:06:16 -05:00
Benoit Jacob
300f4ba3a9
Bug 958375 - 6/9 - Make BackendType and NativeSurfaceType typed enums - r=Bas
...
Specifically:
r=Bas for manual changes
f=Bas for automatic changes
See attachments on the bug for the specific breakdown.
2014-01-10 14:06:16 -05:00
Nicholas Nethercote
ed423fbdef
Bug 955942 (part 2) - Remove MemoryUniReporter. r=mccr8.
...
--HG--
extra : rebase_source : 9d70016cb19637ffece6409a184bf41d574cc6b4
2013-12-07 22:09:10 -08:00
Nicholas Nethercote
c82c609ac3
Bug 936964 (part 7, attempt 2) - Make lots of classes report their own memory consumption, instead of using a separate reporter class. r=mccr8,sr=bz.
...
* * *
Bug 936964 (part 7b) - Fix a use-after-free found by ASan.
--HG--
extra : rebase_source : d38ab6b63e9d576773baf8e55fa4f7182c33915e
2013-11-07 16:35:30 +11:00
Ehsan Akhgari
6220f98ec6
Backed out 9 changesets (bug 943660, bug 936964) because of ASAN use-after-free crashes on browser-chrome and mochitest-other
...
Backed out changeset 85486c4aa3d8 (bug 936964)
Backed out changeset 25312eb71998 (bug 936964)
Backed out changeset 6dbb8333960c (bug 936964)
Backed out changeset da6465ad476f (bug 936964)
Backed out changeset a87ffc992f38 (bug 936964)
Backed out changeset 4ae3a61182db (bug 936964)
Backed out changeset 34e9c3137804 (bug 936964)
Backed out changeset fd1459e71585 (bug 936964)
Backed out changeset 3e8a701d8bdc (bug 943660)
Landed on a CLOSED TREE
--HG--
rename : content/canvas/src/WebGLMemoryTracker.h => content/canvas/src/WebGLMemoryReporterWrapper.h
2013-11-27 20:05:00 -05:00
Nicholas Nethercote
74e6ffe050
Bug 936964 (part 7) - Make lots of classes report their own memory consumption, instead of using a separate reporter class. r=mccr8,sr=bz.
...
--HG--
rename : content/canvas/src/WebGLMemoryReporterWrapper.h => content/canvas/src/WebGLMemoryTracker.h
extra : rebase_source : 611e8d35907959b163aeced1c4ffe1d265048fe6
2013-11-07 16:35:30 +11:00
Ehsan Akhgari
a23cd291d5
Bug 924221 - Minimize the #includes in gfx/thebes; r=bjacob
...
--HG--
extra : rebase_source : af198eb9b9739ce718ba0d16c385624a722cde51
2013-10-07 19:15:59 -04:00
Benoit Jacob
0f90257361
Bug 913872 - Take nested enums out of gfxASurface - 1/3 : automatic changes - r=jrmuizel
...
Generated by these regexes:
find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/gfx[A-Za-z0-9_]*Surface\:\:[a-z]*\(\(ImageFormat\|SurfaceType\|ContentType\|MemoryLocation\)[0-9A-Za-z_]*\)/gfx\1/g'
find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/gfx[A-Za-z0-9_]*Surface\:\:[a-z]*\(\(CONTENT_\|MEMORY_\)[0-9A-Za-z_]*\)/GFX_\1/g'
find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(CONTENT_COLOR\|CONTENT_ALPHA\|CONTENT_COLOR_ALPHA\|CONTENT_SENTINEL\|MEMORY_IN_PROCESS_HEAP\|MEMORY_IN_PROCESS_NONHEAP\|MEMORY_OUT_OF_PROCESS\)\($\|[^A-Za-z0-9_]\)/\1GFX_\2\3/g'
find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(ImageFormatARGB32\|ImageFormatRGB24\|ImageFormatA8\|ImageFormatA1\|ImageFormatRGB16_565\|ImageFormatUnknown\|SurfaceTypeImage\|SurfaceTypePDF\|SurfaceTypePS\|SurfaceTypeXlib\|SurfaceTypeXcb\|SurfaceTypeGlitz\|SurfaceTypeQuartz\|SurfaceTypeWin32\|SurfaceTypeBeOS\|SurfaceTypeDirectFB\|SurfaceTypeSVG\|SurfaceTypeOS2\|SurfaceTypeWin32Printing\|SurfaceTypeQuartzImage\|SurfaceTypeScript\|SurfaceTypeQPainter\|SurfaceTypeRecording\|SurfaceTypeVG\|SurfaceTypeGL\|SurfaceTypeDRM\|SurfaceTypeTee\|SurfaceTypeXML\|SurfaceTypeSkia\|SurfaceTypeSubsurface\|SurfaceTypeD2D\|SurfaceTypeMax\)\($\|[^A-Za-z0-9_]\)/\1gfx\2\3/g'
2013-09-24 16:45:13 -04:00
Nicholas Nethercote
fd238cabbe
Bug 910517 (3rd attempt) - Remove nsIMemoryReporter, and rename nsIMemoryMultiReporter as nsIMemoryReporter. r=mmcr8.
...
--HG--
rename : content/canvas/src/WebGLMemoryMultiReporterWrapper.h => content/canvas/src/WebGLMemoryReporterWrapper.h
extra : rebase_source : 2b2a1b2667d6562fcf803ec48b4a8c10fdd519a3
2013-08-27 16:24:51 -07:00
Makoto Kato
811b2dc607
Bug 910086 - Add MotoyaLMaru to common fallback font. r=jfkthame
2013-08-30 19:01:43 +09:00
Nicholas Nethercote
a7cb958343
Bug 831193 (part 11) - Don't use NS_MEMORY_REPORTER_IMPLEMENT in gfxAndroidPlatform.cpp. r=jlebar.
...
--HG--
extra : rebase_source : b683f7c4f991deefa99f460de89d37dbee56c1e4
2013-01-17 16:45:11 -08:00
Birunthan Mohanathas
186d1e17e2
Bug 784739 - Switch from NULL to nullptr in gfx/thebes/; r=ehsan
2013-07-31 11:44:31 -04:00
George Wright
18f4f04c76
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
1f8cb00869
bug 854277 - improve font fallback behavior for zh-* locales. r=mfinkle
2013-04-06 22:04:30 +01:00
Jonathan Kew
82a358eafe
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
d143a9a3e0
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
2adc773b0c
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
8f4211aa98
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
1c83908a1d
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
4b82c8a912
Backout d533ba255bbb (bug 829523) for reftest failures on a CLOSED TREE
2013-01-15 14:33:51 +00:00
Jonathan Kew
c7f92c82b3
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
ad374f79a8
Bug 816614: Restore the previous behavior of ContentChild::IsForApp/Browser(). r=jlebar
2013-01-11 12:19:02 +01:00
Nicholas Nethercote
b6939f2c42
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
bc6e504af4
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
b37e42c834
Bug 812957 - Follow-up: Replace void\n* with void*\n. r=oops DONTBUILD
2012-11-19 23:14:14 -05:00
Nicholas Nethercote
671d8d20c1
Bug 812957 - Add memory reporter for Freetype. r=karlt,jlebar
2012-11-19 22:00:19 -05:00
Justin Lebar
e80ccc6058
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
a9dc8e795f
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
37f4a955e5
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
8ed5af984b
Bug 792207 - Part 1: Retain ScaledFont objects for gfxFonts. r=jrmuizel
2012-09-24 15:02:49 +00:00
Chris Jones
93b1805471
Bug 762221: Enable font hinting for "app" processes. r=jfkthame,jlebar
2012-08-23 11:23:43 +01:00
Ed Morley
87eb600689
Backout 06f6eede6b77 (bug 762221) for crashes
2012-08-23 10:27:56 +01:00
Chris Jones
c9e6d0cefc
Bug 762221: Enable font hinting for "app" processes. r=jfkthame,jlebar
2012-08-23 01:22:19 -07:00
Ehsan Akhgari
8c296bbcd4
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
57c0ad57fb
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Anthony Jones
4f689acacc
Bug 761895; Fixed Azure/Cairo canvas font support on gtk and android. r=karl
2012-07-24 22:18:39 +12:00
Nicholas Cameron
ee280adfe3
Bug 764125; Add DrawTarget arg to GetScaledFontForFont. r=Bas
2012-07-24 22:18:37 +12:00
Nicholas Cameron
9e4ceaecb8
Back out bug 746883, bug 764125, bug 761895, bug 746883, bug 748116
2012-07-26 18:48:24 +12:00