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

2952 Коммитов

Автор SHA1 Сообщение Дата
Jeff Muizelaar 86d9197dd0 Bug 809603. Simplify border radius drawing. r=roc
This adds a RoundedRect class that we use to do the offsetting. This class can
probably also be used elsewhere. With this patch we handle the Gmail checkboxes
in a single draw instead of in pieces like we currently do.

--HG--
extra : rebase_source : 8809f12b386eef2ce7364fb98e681fba343efdfe
2012-11-12 17:55:26 -08:00
Brendan Dahl e3eb98c915 Bug 791466 - Fix direct write cairo scaled font. r=Bas 2012-11-12 11:35:49 -08: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
Brian R. Bondy 1f148689cc Bug 797013 - CheckInterfaceSupport fails on some hardware in metrofx. Do not rely on it. r=bas 2012-11-08 21:34:44 -05:00
Benoit Girard dc5c406e03 Bug 794337 - Properly alias canvas image data when using Quartz compositing. r=jrmuizel
--HG--
extra : rebase_source : fb4c0e1a9bac0ac1cf54ddc23c66756060bbfdab
2012-11-02 16:24:37 -04:00
Matt Woodrow 07869c9c29 Bug 808469 - Use gfxQuartzSurface for OMTC drawing on mac. r=cjones 2012-11-07 19:56:56 +13:00
Matt Woodrow 61fe215c09 Bug 808469 - Make gfxSharedImageSurface take a template parameter for the base surface type. r=cjones
--HG--
rename : gfx/thebes/gfxSharedImageSurface.cpp => gfx/thebes/gfxBaseSharedMemorySurface.cpp
rename : gfx/thebes/gfxSharedImageSurface.h => gfx/thebes/gfxBaseSharedMemorySurface.h
2012-11-07 19:56:54 +13:00
Ryan VanderMeulen ff740d59ea Backout c3933841e06e (bug 793013) for possible Win7 reftest failures. 2012-11-06 21:27:09 -05:00
Tobias Schneider 4e7558b2c4 Bug 803124 - Implement mozIsPointInStroke. r=jmuizelaar 2012-10-29 16:54:53 +01:00
Anthony Jones 0508e2aafe Bug 793013 - Use EnumSet in gfxPlatform instead of 1 << n. r=ncameron 2012-11-06 18:23:13 -05:00
Anthony Jones e4c4f98a12 Bug 793013 - Remove unnecessary whitespace. 2012-11-06 18:23:13 -05:00
Jeff Gilbert d9a04350b5 Bug 797120 - GLContext::CanUploadNonPowerOfTwo() should not call AddBoolVarCache() when off the main thread. r=bjacob 2012-11-07 11:39:38 +13:00
Jonathan Kew 3b3c053bb3 bug 808288 - render missing glyphs as hexboxes in <canvas> text. r=bas 2012-11-04 10:51:03 +00:00
Ed Morley 37f767edf7 Backout 5eec0a5b76ff, 64e143317082 & f356d9b2524c (bug 808288) for reftest failures 2012-11-04 00:53:06 +00:00
Jonathan Kew 160f118d31 bug 808288 - part 3 - draw missing-glyph hexboxes for <canvas> text, similar to missing glyphs in HTML text. r=bas 2012-11-03 23:01:33 +00:00
Andrew Quartey d21a5d8004 Bug 792581 - part 23: Replace LL_INIT and LL_UDIVMOD macros. r=ehsan 2012-11-01 20:57:25 -04:00
Brad Lassey 3a50e711e7 bug 798826 - crash in gfxFT2FontList::FindFonts @ mozilla::scache::StartupCache::WaitOnWriteThread, speculative null check r=jfkthame 2012-11-01 09:31:58 -04:00
Jeff Muizelaar 230002819a Bug 805689. Don't copy when we don't need subpixel AA. r=mwoodrow
Avoid copying the background for subpixel AA when we aren't using
subpixel AA rendering.
2012-10-31 22:12:26 -04:00
Karl Tomlinson 7edd55a95b b=797568 destroy GLXPixmap on Finish r=roc
--HG--
extra : transplant_source : 5%969%9A%B7%97%B2%EC%15%CA%7FPSWP%26Y%9DS%AE
2012-10-31 15:54:20 +13:00
Jonathan Kew e623b31a10 bug 806059 - make gfxQuartzNativeDrawing aware of backing scale factor when rendering native widgets. r=smichaud 2012-10-29 09:22:30 +00:00
Nathan Froyd 4c61ef9ec5 Bug 806618 - rewrite PR_NewLogModule calls to not generate static initializers; r=ehsan 2012-10-29 19:32:10 -04:00
Jacek Szpot 761b11160f Bug 792180 - Replace NS_{UN,}LIKELY with MOZ_{UN,}LIKELY; r=ehsan 2012-10-26 15:32:10 +02:00
Matt Woodrow 71fcce7552 Bug 775228. r=joe 2012-10-25 12:04:41 +13:00
Bas Schouten 70dbd4cbf2 Bug 758531: DWrite fonts create mScaledFont on demand. This causes GetCairoScaledFont to return NULL. This subsequently caused the surface to go into an error status which caused the CreateSimilar call to fail for that surface. This patch properly uses the call which will create the cairo_scaled_font_t if it's not there yet. r=jrmuizel 2012-10-23 02:26:27 +02:00
Mats Palmgren 4c765506a6 Bug 798853, gfx. r=roc 2012-10-22 15:53:31 +02:00
Jonathan Kew 42d1b03c30 bug 772640 - fix for incorrect glyph positioning in multi-glyph RTL clusters generated by Graphite shaping. r=jdaggett 2012-10-22 08:47:03 +01:00
Jonathan Kew db78ff9af9 bug 803483 - opentype script support no longer dependent on OS X version. r=jdaggett 2012-10-22 08:47:01 +01:00
Isaac Aggrey c984edf823 Bug 794510: Part 2: Use more stdint types instead of protypes.h types; r=ehsan 2012-10-11 18:38:04 -05:00
Aryeh Gregor 9582ec9bf0 Bug 802069 - Make "macintosh" the canonical name of its encoding, not "x-mac-roman"; r=smontagu
--HG--
rename : intl/uconv/tests/unit/test_decode_x_mac_roman.js => intl/uconv/tests/unit/test_decode_macintosh.js
rename : intl/uconv/tests/unit/test_encode_x_mac_roman.js => intl/uconv/tests/unit/test_encode_macintosh.js
2012-10-17 12:15:23 +02:00
Matt Woodrow ebd7c262da Bug 802321 - Use FuzzyEquals to compare matrices in LayerTreeInvalidation. r=roc 2012-10-17 21:00:00 +13:00
Matthew Gregan d712138607 Bug 789075 - Handle odd sized WebM video frames correctly. r=derf 2012-10-16 16:03:43 +13:00
Nicholas Cameron 1cccb0d825 Bug 734668; remove Thebes canvas. r=roc
--HG--
extra : rebase_source : 57b08c33f72cd611deb30dc1639060a719747849
2012-10-12 22:42:51 +13:00
Trevor Saunders 000b6e89a1 bug 798595 - remove useless prmem.h includes r=ehsan 2012-10-04 02:14:06 -04:00
Jan Beich 2686e62e1b Bug 799813 - Qt/Linux needs GetGLXPixmap() after bug 788042. r=karlt 2012-10-10 21:11:15 -04:00
Ed Morley 09fad7f017 Backout 2231b8e778a3 (bug 715658) for errors linking on Windows 2012-10-10 12:15:30 +01:00
Uli Schlachter 4c511b46d7 Bug 722975 - --enable-system-cairo build is broken after Bug 715658 fixed. r=Bas 2012-10-10 06:32:36 -04:00
Jonathan Kew e38da1846d Bug 799062 - eliminate "warning: '&&' within '||'" messages in gfxFont.cpp. r=bas 2012-10-09 13:11:20 +01:00
Anthony Jones a0fe5018ee Bug 793923 - Fixed gfxPlatform to use gfx.content.azure.backends properly. r=ncameron,roc
--HG--
extra : rebase_source : 2aecac9b17cb570a87ad34bb7680847db7a8f457
2012-10-09 11:45:35 +02:00
Bas Schouten 29ab97de1c Bug 793175: Discard a cached SourceSurface if it was created for the wrong BackendType. r=jrmuizel 2012-10-08 15:44:36 +13:00
Bas Schouten 555c2a462b Backed out changeset 41b5180cf6af DONTBUILD 2012-10-08 12:56:00 +02:00
Bas Schouten e78be54307 Bug 793175: Discard a cached SourceSurface if it was created for the wrong BackendType. r=jrmuizel 2012-10-08 15:44:36 +13:00
Ed Morley ae328bf180 Backout 6c89d2b6ea4b (bug 793175) on suspicion of somehow causing Win7 opt permaorange in browser_updatessl.js and friends 2012-10-08 10:31:57 +01:00
Bas Schouten d057f4086a Bug 793175: Discard a cached SourceSurface if it was created for the wrong BackendType. r=jrmuizel
--HG--
extra : rebase_source : b94e3deb2ba3cf7d461ebc25588c7ea45361b521
2012-10-08 15:44:36 +13:00
Ehsan Akhgari 058aa73640 Bug 579517 follow-up: Remove NSPR types that crept in 2012-10-07 18:26:08 -04:00
Andrew Quartey ceaa3c8f60 Bug 792581 - part 9: Replace LL_ADD with mathematical plus operator. r=ehsan 2012-10-05 01:05:27 -04:00
Benoit Girard ce501d83c0 Bug 724666 - Add pref for accelerated canvas on mac. r=jrmuizel 2012-07-31 18:48:40 -04:00
Bas Schouten e56c9a0c28 Bug 797797: Get the new device offset after pushing the new DT. r=roc 2012-10-04 14:54:57 +02:00
Jacek Caban d0065ef0ad Bug 797316 - Fix -Werror=conversion-null errors in Windows-only code (gfx/thebes part) r=jmuizelaar
--HG--
extra : rebase_source : 10b01cfa84204603779619bda3dc612af93303a4
2012-10-04 10:35:15 +02:00