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

7918 Коммитов

Автор SHA1 Сообщение Дата
John Daggett 9b4feaaa27 Bug 555091. Fix unitialized vars in GDIFontEntry. r=jkew 2010-04-06 16:57:12 +09:00
Chris Double 5158a6e2dd Bug 551277. Backed out changeset f9a11b9b2b9f 2010-04-06 18:10:02 +12:00
Chris Double e326281bb9 Bug 551277 - Implement software YCbCr conversion in layers, replacing liboggplay color conversion code - r=roc
--HG--
extra : rebase_source : 53b2c194aa6eb75a4751efdd83f066d3aeadf5d7
2010-04-06 12:07:39 +12:00
Michael Wu ad67b42157 Bug 556405 - Support building qcms on Android, r=jrmuizel 2010-04-05 17:38:43 -07:00
Doug Turner 9a75b06d7c Fix Qt Gfx build bustage when using shared image surfaces. No bug 2010-04-02 11:11:31 -07:00
Doug Turner 403650bae3 Fix for Qt build bustage. Need to #include class before using it in a nsRefPtr. Nobug 2010-04-02 08:47:05 -07:00
Bas Schouten 794af352a8 Bug 556584: Allow opaque containers to draw their contents directly to their parent layer. r=joedrew 2010-04-01 23:17:15 +02:00
Bas Schouten a0895a8b7c Bug 556572: Support none-multiple of 4 strides. r=joedrew 2010-04-01 23:17:13 +02:00
Daniel Holbert 05a791aaba Bug 551298, patch B: Replace uses of THEBES_INLINE_DECL_REFCOUNTING with NS_INLINE_DECL_REFCOUNTING. r=roc 2010-04-01 11:05:40 -07:00
Daniel Holbert be65929920 Bug 551298, patch A: Move THEBES_INLINE_DECL_REFCOUNTING to xpcom (with s/THEBES/NS/). r=bsmedberg 2010-04-01 11:05:40 -07:00
Daniel Holbert 81429599a7 Backed out changeset fe801c8a2090 (Bug 551298) due to Linux debug mochitest-5 orange 2010-04-01 09:40:30 -07:00
Daniel Holbert 09a658db8a Bug 551298, patch A: Move THEBES_INLINE_DECL_REFCOUNTING to xpcom (with s/THEBES/NS/). r=bsmedberg 2010-04-01 08:07:23 -07:00
Jesse Ruderman 5a40491065 Add tests to manifest. (Homeless tests identified by script in bug 551617.) 2010-03-31 20:17:35 -07:00
Bas Schouten 97c646932f Bug 556387: Fix OpenGL context creation for some drivers. r=joedrew 2010-04-01 03:44:05 +02:00
Bas Schouten a52635bb0b Bug 556288: Use linear filters so framebuffers can use the same texture on all hardware. Assert succes. r=joedrew 2010-04-01 03:44:02 +02:00
Jim Mathies 166da8dd39 merge backout. 2010-03-31 12:55:55 -05:00
Jim Mathies 0b5f0c9191 Backout bug 555133 to fix bug 555950. 2010-03-31 12:55:41 -05:00
Jim Mathies 52ae24dfe8 merge backout. 2010-03-31 12:55:23 -05:00
Jim Mathies 3123fa06ee Backout bug 555133 to fix bug 555950. 2010-03-31 12:55:11 -05:00
Rob Arnold 1546f33184 GCC complains about unnecessary typedef from checkin of bug 555133 r=dholbert 2010-03-29 22:14:13 -04:00
Rob Arnold cdd5b53b4b Bug 555133 - Attempt to infer whether or not theme parts are transparent r=roc sr=vlad 2010-03-29 15:24:40 -04:00
Jonathan Kew 3d1fedca15 bug 555930 - directwrite font code failed to initialize superscriptOffset. r=bas 2010-03-31 13:46:18 +01:00
Bas Schouten ca5afa4f9e Bug 553852: D2D backend should destroy image surfaces when done with them. r=jrmuizel 2010-03-24 15:51:15 +01:00
Bas Schouten f69b010464 Bug 556029: Add the ability to detect which layers backend is used. r=roc 2010-03-30 20:58:37 +02:00
Bas Schouten 37a8ab02e4 Bug 546517: The layers OpenGL backend. r=vlad 2010-03-30 06:48:52 +02:00
Rob Arnold 03b43a656f Bug 450767 - Don't necessarily apply Aero Glass to the entire window r=jimm sr=roc 2010-03-17 18:56:00 -04:00
Bas Schouten 8c4bce6f6a Bug 548942: Addition: Add comments as agreed. r=jrmuizel 2010-03-20 18:33:30 +01:00
Bas Schouten 207019d5ce Bug 548942: Draw in device pixels and not in DIPs. 1 device pixel per DIP always. r=jrmuizel 2010-03-20 18:25:40 +01:00
Bas Schouten 58c859aabf Bug 552284: Check if we're valid before computing metrics. r=jfkthame 2010-03-20 18:25:37 +01:00
Doug Turner bb28e86ac9 Bug 553508 - Remove the define Q_WS_X11. It overlaps with existing defines that we have and is not always set by sdk. r=oleg 2010-03-18 21:48:35 -07:00
Jonathan Kew 164e22b08a bug 552619 - fix build breakage from bug 502906 with older Windows SDKs without dwrite support. r=bas 2010-03-17 11:40:29 +00:00
Robert O'Callahan 8560e6f9b0 Bug 538323. Part 1: create ImageLayers and associated API for displaying pixel-buffers in various formats. r=jrmuizel,sr=dbaron 2010-03-02 12:09:35 +13:00
Robert O'Callahan b0368c5f49 Bug 538266. Part 2: add transform API to layer system. r=jrmuizel,sr=dbaron 2010-03-02 12:08:28 +13:00
Robert O'Callahan 0b71a67c4e Bug 538266. Part 1: create gfx3DMatrix. r=jrmuizel 2010-03-02 12:08:26 +13:00
Mats Palmgren 260865a512 Fix gcc warning: 'rv' may be used uninitialized in this function. b=552186 r=jfkthame 2010-03-15 19:29:55 +01:00
Jonathan Kew 544fbd0636 bug 502906 - part 3 - factor out Uniscribe and GDI shapers from Windows GDI font code. r=jdaggett
--HG--
rename : gfx/thebes/src/gfxWindowsFonts.cpp => gfx/thebes/src/gfxUniscribeShaper.cpp
rename : gfx/thebes/public/gfxWindowsFonts.h => gfx/thebes/src/gfxUniscribeShaper.h
2010-03-15 09:34:25 +00:00
Bas Schouten 3a9d4816b1 Bug 550846: Restructure layers to use different directories for different backends. r=roc,ted
--HG--
rename : gfx/layers/BasicLayers.cpp => gfx/layers/basic/BasicLayers.cpp
rename : gfx/layers/BasicLayers.h => gfx/layers/basic/BasicLayers.h
2010-03-14 18:30:40 +01:00
Jonathan Kew c2b60ef866 bug 552216 bustage fix, missed deleting a line 2010-03-14 12:56:59 +00:00
Jonathan Kew c34f8796ee fix Windows bustage from bug 552216. 2010-03-14 12:13:21 +00:00
Jonathan Kew ac50de2ca5 bug 552216 - use 64-bit arithmetic to guard against possible overflow leading to buffer overrun in woff decoder. r=roc 2010-03-14 12:03:37 +00:00
Makoto Kato 2691de2a45 Bug 524449 - Remove nsIPref from tree. r+sr=benjamin 2010-03-13 22:25:13 +09:00
Bas Schouten 820e04cdd7 Bug 551945: Fix a mistake in double pass from changeset 53a85c489708. r=jfkthame 2010-03-12 14:09:53 +01:00
Jonathan Kew ec72c70397 bug 549169 - account for font-size-adjust in DWrite font code. r=bas 2010-03-12 11:57:49 +00:00
Bas Schouten dcc079becf Bug 549056: We always do double pass drawing when we're not a Win32 surface. r=jmathies,jrmuizel 2010-03-12 11:12:00 +01:00
Bas Schouten 2e76a8c296 Bug 550680: RoundOut to snap correctly, and do so early enough to get a big enough surface. r=vlad 2010-03-12 11:08:28 +01:00
Daniel Holbert 42a3267c62 Bug 551775: Add unsigned-int cast in NS_ColorNameToRGB to fix build warning. r=roc 2010-03-11 22:03:49 -08:00
John Daggett eeeab33572 Bug 549816. Adjust meaning of needsBold flag. r=bas 2010-03-12 13:26:43 +09:00
Bas Schouten 8013796f13 Bug 549816. Fix synthetic bolding with dwrite. r=jkew,jdaggett 2010-03-12 13:25:35 +09:00
James Cook 3189de370c Bug 524919 - Qt build of Firefox or Fennec does not respect my screen's DPI. r=mark.finkle, sr=pavlov 2010-03-10 16:36:47 +02:00
Brad Lassey 4db9a00295 follow up from bug 534136, fix build bustage for WinMo debug r=jonas 2010-03-10 15:47:45 -05:00
Jonathan Kew c155951fd9 bug 502906 - part 2 - split out gfxCoreTextShaper and gfxMacFont. r=jdaggett
--HG--
rename : gfx/thebes/src/gfxCoreTextFonts.cpp => gfx/thebes/src/gfxCoreTextShaper.cpp
rename : gfx/thebes/public/gfxCoreTextFonts.h => gfx/thebes/src/gfxCoreTextShaper.h
2010-03-10 12:46:41 +00:00
Jonathan Kew ea9c099682 bug 548863 - eliminate warning about CreateFontInstance on mobile. r=jdaggett 2010-03-10 12:46:36 +00:00
Bas Schouten 94fad4ead5 Bug 550723: Properly support the CLEAR operator for D2D surfaces. r=jrmuizel 2010-03-10 13:38:21 +01:00
Steven Michaud bac832f143 Bug 541809 - Firefox autoreleasing objects without pool in place. r=josh,jfkthame 2010-03-09 10:37:56 -06:00
Bas Schouten 4ade325126 Bug 550911: Properly tell cairo which part of the image has been passed. r=jrmuizel 2010-03-09 00:53:50 +01:00
Oleg Romashin 8f603042e2 Bug 550877 - Crash happen on attempt to delete bad created gfxShareImageSurface. r=dougt. 2010-03-08 19:28:54 +02:00
Jonas Sicking ff49d3e414 Bug 534136 Part 2: Use 16bit-char buffers inside atoms. r=bz sr=mrbkap 2010-03-08 07:45:00 -08:00
Jonas Sicking b2f8c249b3 Bug 534136 Part 1: Make atoms keep a pointer to an nsStringBuffer rather than storing the data inline. r=bsmedberg 2010-03-08 07:44:59 -08:00
Ginn Chen a47f8b917a Bug 526976: SIGFPE [@ _moz_cairo_format_stride_for_width] on BGR frame buffer r=jrmuizel 2010-03-08 17:37:58 +08:00
Masayuki Nakano 6d0e02fedb Bug 550772 - fallback pref font handling for CJK fonts is broken r=jdaggett 2010-03-08 18:14:56 +09:00
Walter Meinl 002f637fff Bug 548978: [OS/2] Fix build bustage in gfx/src/thebes/gfxOS2Platform.cpp r=jfkthame 2010-03-06 12:56:30 -05:00
Rich Walsh 99081a9f36 Bug 543855: [OS/2] Invalid conversion from const char to const unsigned char in gfx/src/thebes/nsSystemFontsOS2 r=wuno 2010-03-06 12:53:35 -05:00
Oleg Romashin 4dbb6dc7a8 Bug 550468 - Fix support for Pango font engine on Qt platform. r=karlt. 2010-03-06 15:29:55 +02:00
Hanspeter Niederstrasser 607df03728 Bug 516029 - flags (XCFLAGS) for including fontconfig/fontconfig.h are not added to compiler command (gfx/cairo); adds XCFLAGS to OS_INCLUDES.
r=benjamin.
2010-03-05 22:00:51 +01:00
Julian Seward 999752a5a5 Bug 548793. Initialize XRender version fields if XRender isn't available. r=jrmuizel 2010-03-05 13:10:42 +13:00
Mike Kristoffersen d60cbba316 Build bustage on Qt due to macro definition of malloc, realloc, etc. Most of this is just moving Qt #includes around. r=dougt
--HG--
extra : rebase_source : 9734e9e68754a6fc45bddbdc60bb5e898bb8cdb2
2010-03-04 13:51:42 -08:00
Bas Schouten bce1cc835d Bug 549911: Acquire and release no longer use ->surface to store the temporary surface, release the correct object now. r=jrmuizel 2010-03-04 20:49:04 +01:00
Bas Schouten 44af5c4365 Bug 549911: Scroll needs to make sure the clip rectangle is confined to the surface. r=jrmuizel 2010-03-04 20:49:01 +01:00
Bas Schouten fdff34dabc Bug 549666: Native rects should be pixel aligned. r=vlad 2010-03-04 20:30:16 +01:00
Bas Schouten 25b9fedd22 Bug 549652: Fix a potential leak. r=jrmuizel 2010-03-04 20:30:10 +01:00
Bas Schouten dc937cedf4 Bug 549652: Optimize SOURCE operator where possible. r=jrmuizel 2010-03-04 20:30:08 +01:00
Bas Schouten 00ecc30146 Bug 549652: Properly support clearing surfaces. r=jrmuizel 2010-03-04 20:30:05 +01:00
Brad Lassey 40dfe937a9 bug 547521 - enable building for windows mobile with --disable-libxul r=ted 2010-03-04 13:47:35 -05:00
Jeff Muizelaar bbe73ced9b Bug 550188. qcms: remove an empty loop that annoyed coverity. r=bgirard 2010-03-04 12:13:13 -05:00
Boying Lu 749a8b4ace Bug 549805 - Failed to build liblayer.so on OpenSolaris. r=roc, sr=vlad 2010-03-04 10:26:11 +01:00
Simon Montagu 95daee0af0 Add Tibetan to font selection UI. Bug 441110, r=emk 2010-03-04 10:55:53 +02:00
Jonathan Kew 93c76e7c0b Bug 549668 - check that mozilla.widget.render-mode pref value is within valid range. r=vlad 2010-03-03 09:27:08 +00:00
Bas Schouten bd7fd1996b Bug 549268: Ensure we pass a unique fontFileReferenceKey to DWrite for downloadable fonts. r=jdaggett 2010-03-03 07:57:47 +01:00
Bas Schouten 459306e126 Bug 549270: Read the font substitutions from the registry and use them when looking up font names. r=jdaggett 2010-03-03 07:57:43 +01:00
Ginn Chen 1c67133418 Bug 547657 gfxSharedImageSurface.cpp failed to compile on Solaris r=jrmuizel 2010-03-02 13:57:21 +08:00
Bas Schouten 7b0d786a8f Bug 549171: Check if there's support for sufficient D3D hardware for the D2D backend to work. r=jrmuizel 2010-03-02 02:04:27 +01:00
Mark Banner 33e9d9cb15 Fix windows debug build bustage from bug 534425 2010-03-01 10:46:37 +00:00
Robert O'Callahan 4796ff36e7 Bug 534425. Part 2: Create BasicLayers implementation. r=jrmuizel 2010-03-01 20:56:18 +13:00
Robert O'Callahan 75a488bf5a Bug 534425. Part 1: Create initial layers API. r=jmuizelaar,sr=dbaron 2010-03-01 20:56:18 +13:00
John Daggett a2736cbe44 Bug 548983. Override GetStandardFamilyName for the DWrite font list. r=bas 2010-02-28 16:27:22 +09:00
Neil Rashbrook 49c010a84c Bug 549019 Don't try to build Direct2D with older SDKs (based on patch by bas) r=jrmuizel 2010-02-27 16:05:54 +00:00
Jonathan Kew 963100b19c Bug 548177 - remove ATSUI text rendering code. r=jdaggett 2010-02-26 06:20:38 -08:00
Bas Schouten 02f48f1118 Bug 527707: Add Direct2D and DirectWrite backend integration to thebes and widget. Preffed off by default r=jrmuizel r=jmathies r=jfkthame 2010-02-25 22:36:07 -08:00
Jonathan Kew 9d8c1e2eab Bug 548608 - update SupportsLangGroup in Windows font list code for nsIAtom-based language codes. r=roc 2010-02-25 15:02:54 -08:00
Jonathan Kew 90f31b1c0b Bug 548545 - don't try to get an atom for a NULL string. r=roc 2010-02-25 15:02:31 -08:00
Karl Tomlinson 4228c8586c b=517133 Get crash stats for X errors r=bsmedberg
--HG--
extra : rebase_source : e9b2319a566ecb5a8a3cd6ba322df97e1ff3ffc8
2010-02-24 14:25:16 -08:00
Jonathan Kew e547a598c7 Bug 524107 - part 2 - store language as atom instead of string in gfxFontStyle. r=roc sr=mats 2010-02-24 09:57:57 -08:00
Jonathan Kew 5be4457ec4 Bug 524107 - part 1 - pass original value of 'lang' to gfx text code rather than only a 'langGroup' value, to allow language-specific font rendering. r=roc sr=mats 2010-02-24 09:57:44 -08:00
John Daggett f543afbd5a Bug 533251. Always insert default font if needed when rebuilding font list. r=jkew 2010-02-24 16:18:49 +09:00
Mark Banner f39e129e6b Possible bustage fix for shared,non-libxul builds following Bug 544250. r=bustage fix 2010-02-20 09:42:55 +00:00
Oleg Romashin 4b8146c17f Bug 544250 - Implement different rendering backends for Qt mozilla port. r=jmuizelaar. 2010-02-19 19:46:54 -08:00
Steve Snyder ba9d12966a qcms: Replace second green table release with release of blue table
Cut 'n' paste gone awry: green output table freed instead of blue.

That is, there exists a release for red, 2 releases for green, and none for
blue.
2010-02-18 15:21:11 -05:00
Jonathan Kew 69a1ad2a76 Bug 543502 followup: replace non-critical assertion in GDIFontList with optional logging. r=jdaggett 2010-02-18 11:52:44 +00:00
Jonathan Kew ef18f2ca7e Bug 545989 - don't throw an exception if unable to allocate storage for gfxTextRun creation. r=roc 2010-02-18 11:52:34 +00:00
John Daggett ff2b6429f1 Bug 545317. Trim out redundant font cache handling code. r=jkew 2010-02-18 12:31:20 +09:00
Doug Turner 2268fbba77 removing gfxSharedImageSurface files. part of backout of 544250 2010-02-16 11:03:17 -08:00
Doug Turner f123cf475c comparing with ssh://hg.mozilla.org/mozilla-central
searching for changes
changeset:   38150:c823c17d12d2
user:        Doug Turner <dougt@dougt.org>
date:        Tue Feb 16 10:49:57 2010 -0800
summary:     backing out 544250
2010-02-16 10:52:40 -08:00
Oleg Romashin 69a32e5a9b Bug 544250 - Implement different rendering backends for Qt mozilla port. r=jmuizelaar 2010-02-16 10:32:35 -08:00
Oleg Romashin 9beecceb88 Bug 544250 - Implement different rendering backends for Qt mozilla port. r=jmuizelaar 2010-02-16 10:15:52 -08:00
Alfred Kayser e676ac7671 bug 386937: get rid of ConvertPixels (r=vladimir) 2010-02-12 10:17:51 +01:00
Jonathan Kew 677a56edb2 Bug 541924 followup - use the predefined nsStringHashSet class instead of nsTHashtable<nsStringHashKey>. r=jdaggett 2010-02-11 07:00:07 -05:00
Jonathan Kew 94a0c2d526 Bug 543502: Protect against out-of-range array read in CheckForSimpleFamily; remove bad families with no faces from the font list. r=jdaggett 2010-02-11 06:59:47 -05:00
Jeff Muizelaar b49d2ceda2 Bug 544697. pixman: Reenable NEON support. r=vlad,bsmedberg
3f91dcac71c4 turned off NEON because of build breakage. This
turns it back on.

We also need to add a SSRCS target so that .S files get built
with gcc.
2010-02-08 23:13:12 -05:00
Jeff Muizelaar e56247bf86 Revert 3f91dcac71c4 for breaking 'make check'. 2010-02-09 00:07:00 -05:00
Jeff Muizelaar df30207737 Bug 544697. pixman: Reenable NEON support. r=vlad,bsmedberg
3f91dcac71c4 turned off NEON because of build breakage. This
turns it back on.

We also need to add a SSRCS target so that .S files get built
with gcc.
2010-02-08 23:13:12 -05:00
Serge Gautherie 5078ff94e0 Backed out changeset: b3d6a8724029 of
Bug 544099 - Allow shadow blurring to skip areas where blurring is unnecessary; Patch 3.1.
which breaks comm-central.
2010-02-04 20:55:10 +01:00
Michael Ventnor 41a6156464 Bug 544099 - Allow shadow blurring to skip areas where blurring is unnecessary; Patch 3.1.
r=roc.
2010-02-04 19:15:03 +01:00
Roy Frostig 78d97102f2 Bug 536765 - Cairo Qt surface backend save()/restore() inconsistencies. r=jrmuizel 2010-02-03 23:29:30 -08:00
Bas Schouten 42b7bd35ab Bug 543892. cairo: Fix DirectWrite backend transformations. r=jrmuizel
The DirectWrite cairo backend was incorrectly dealing with transformations. And
inconsistently dealing with them for D2D and GDI. I added a patch that fixes
that, it properly deals with the font matrix, and cleans up some of how the
matrices are treated. It also properly transforms D2D brushes on text to make
sure the pattern is correctly overlaid on the text. It also fixes the mask
handling in the transformed fallback path to look much better.

Also corrected inconsistent newlines in the license plate.
2010-02-03 13:32:49 -05:00
Phil Ringnalda 4ab62a6c6d Bug 542962 - Remove some zero byte files, r=dbaron 2009-12-18 21:26:13 -08:00
Makoto Kato 73a6d1b39c Bug 536725 - Disable SSE1 code on Windows x64 r=jmuizelaar 2010-02-01 17:43:21 +09:00
Jonathan Kew c72a3316cc Bug 540702: fix incorrect char-to-glyph array indexing. r=jdaggett 2010-01-30 13:16:35 +00:00
Jonathan Kew 81df7337ca Bug 426978: issue warning rather than assertion for font change within a character cluster. r=roc 2010-01-30 13:16:07 +00:00
John Daggett cc720f03d5 Bug 542162 - Use fullname and Postscript name tables for src local lookups. r=jkew 2010-01-29 10:41:25 +09:00
Jonathan Kew aaf4cdfdcc Bug 541924: fix regression in handling bad-underline fonts blacklist on Windows. r=jdaggett 2010-01-28 06:56:16 +00:00
Jonathan Kew 5566f5e447 Bug 542453: use nothrow and null-checking for potentially large allocations. r=roc 2010-01-27 22:23:57 +00:00
Mats Palmgren c3f3cbbe85 mRectListHead.x needs a sentinel value (not y). Clarify the use of nscoord sentinel values and handle float nscoord too. b=541869 r=roc r=jonitis 2010-01-27 09:35:37 +01:00
Jonathan Kew f78744482f Bug 541277: correct boundary handling in character/glyph clump processing. r=roc 2010-01-27 07:46:31 +00:00
Jacek Caban a2f1192ff6 Bug 529734 - Firefox 3.6b3 Crash [@ CMValidateProfile ]; mingw fix v1.1.
r=neil.
2010-01-24 14:58:31 +01:00
Bas Schouten d17bf9a27b Bug 527707. Cairo DirectWrite and Direct2D Backends. r=jrmuizel 2010-01-22 15:38:31 -05:00
Jesse Ruderman 7600b78fd8 Add crashtests 2010-01-21 11:07:51 -08:00
Jeff Muizelaar 2a8a87ae64 Bug 530550. pixman: Fix arm gcc build.
The pixman-arm-simd-asm.c was just a copy of pixman-arm-simd.c instead
of the file it was supposed to be.
2010-01-21 11:30:07 -05:00
Jeff Muizelaar dc985b0f8f Bug 530550. Fix non-libxul build breakage caused by 0af6ca3135ca. r=ehsan
Non-libxul builds include pixman.h directly instead of having it included
by pixman-private.h which defines PIXMAN_USE_INTERNAL_API. So we ensure
PIXMAN_USE_INTERNAL_API is defined before including pixman.h
2010-01-20 20:01:00 -05:00
Jeff Muizelaar 565b6e30ab Bug 540464. pixman: update to 7862f9b96e8e8456cc60852790c7f244a5e3425e
This is a substantial cleanup of pixman and could break things.
2010-01-20 15:08:05 -05:00
Shailen 6f060d76db Bug 523848 - qcms typedef clashes on AIX with <sys/types.h>. r=jmuizelaar, sr=roc 2010-01-20 11:21:19 +01:00
Jeff Muizelaar 9ab394b4dc Bug 539165. Fix single and multi-stop solid gradients by multiplying by the alpha component. r=roc
This cairo commit that caused the problem: 2d790daa957471670f4ae0d3b22da89e4ee7111f.
It was merged into mozilla-central with 1effb72d30cf
2010-01-18 10:36:43 -05:00
Steffen Imhof e4a6e3bccb Bug 516973 - Mismatch between Cairo and Thebes surface types. r=jmuizelaar 2010-01-16 18:04:52 +01:00
Benoit Girard ceed5c8fa5 Bug 537032. cairo-quartz: Replace float pointer types with CGFloat. r=jrmuizel
CoreGraphics uses CGFloat which are float for 32-bits and double for 64-bits.
2010-01-15 11:12:31 -05:00
Jonathan Kew fc0692230d Bug 502906 part 1: eliminate backend-specific gfxFontGroup subclasses on Mac OS X. r=jdaggett 2009-10-07 16:26:58 +01:00
Jacek Caban a4dab0be7d Bug 505711 - Compilation failure on MinGW in gfx/thebes. r=jfkthame 2010-01-14 21:31:06 +00:00
Jonathan Kew 36fa71d23f Bug 538730: fix Windows synthetic bolding regression from bug 493280. r=jdaggett 2010-01-13 10:42:25 +00:00
Dave Townsend 816e9ab7b8 Backed out changeset 4b725bb53baa from bug 539165 due to reftest failure 2010-01-12 16:27:48 -08:00
Jeff Muizelaar 303bbd3f99 Bug 539165. Fix single and multi-stop solid gradients by multiplying by the alpha component. r=roc
This cairo commit that caused the problem: 2d790daa957471670f4ae0d3b22da89e4ee7111f.
It was merged into mozilla-central with 1effb72d30cf
2010-01-12 17:04:00 -05:00
Robert O'Callahan c77e79e942 Bug 526394. Part 23: Make nsRect::IntersectRect preserve height and width if possible even when the intersection of two rectangles is empty. r=mats 2010-01-12 10:45:16 +13:00
Doug Turner e431a9a6a0 [Bug 539037] Qt bustage in gfxFontEntry. r=vlad. qt only 2010-01-11 12:31:43 -08:00
Jesse Ruderman 65c41762cd Add crashtests 2010-01-10 19:50:41 -08:00
Jonathan Kew 95c6dcf0ac Bug 538628. Initialize font family field for each font face. r=jdaggett 2010-01-09 12:52:32 +09:00
Jonathan Kew 6987a52d38 Bug 493280: restructure Windows font management based on cross-platform font-list classes. r=jdaggett sr=roc 2009-10-07 15:13:40 +01:00
Jonathan Kew b414e4053a Bug 530614: accept fonts (e.g. Arial Unicode MS) despite incorrect cmap language tag. r=jdaggett 2010-01-07 13:53:31 +00:00
Jonathan Kew f61db27a81 Bug 538065: avoid possible out-of-bounds array index in gfxFont::SanitizeGlyphRuns(). r=roc 2010-01-07 13:53:25 +00:00
Ginn Chen 7faff2c3ec Bug 537070 qcms failed to build with -m64 on Solaris x86_64 r=jrmuizel 2010-01-06 15:02:04 +08:00
Josh Soref b5cc200461 Bug 529734 - Work around buggy os crash [@ CMValidateProfile] by adding exception handling, r=neil 2010-01-05 18:39:56 -05:00
John Daggett 5236d58f26 Bug 561304. Use GDI shaper by default on XP and handle bitmap fonts better. r=jkew 2010-06-25 21:43:10 +09:00
Jacek Caban 1d901edc47 Bug 569608 - gfxTextRunWordCache.cpp compilation failure on mingw-w64 due to pointer to long cast loosing precision r=vladimir
--HG--
extra : rebase_source : 3142d17d9c28beb1a2034a555b2ffe4a95e71f9c
2010-06-25 14:10:54 +02:00
Jacek Caban 035c29f21e Bug 449292 - gfxHarfBuzzShaper.cpp mingw fix. r=jfkthame
--HG--
extra : rebase_source : 4a9dae1e9123206f89ff6d6197a32752077570ee
2010-06-25 14:06:26 +02:00
Oleg Romashin 7d021a6adf Bug 574581 - "Conditional jump or move depends on uninitialised value(s)" in ThebesLayerOGL::EnsureSurface(). r=jones.chris.g
--HG--
extra : rebase_source : 6934d7596614430ae5366da61b2a0846fd90c311
2010-06-25 07:18:56 -04:00
Stuart Parmenter c953f6345c bug 470440. Disable hinting on mobile to avoid some text spacing issues. r=karlt 2009-12-30 00:13:38 -08:00
chithraprabhap@gmail.com 542b66f7fe Bug 536938 - Too many lines of messages about system font info getting displayed in console when starting xulrunner from console. r=mfinkle 2009-12-29 10:41:57 +01:00
Jonathan Kew a7a6d52364 Add patch file to Cairo directory for bug 534260. (NPOTB) 2009-12-24 07:23:28 +00:00
Jonathan Kew cb926a790c Bug 534260: work around bad glyph extents returned by Core Graphics for empty glyphs in Al Bayan font. r=jmuizelaar 2009-12-23 20:45:00 +00:00
Jonathan Kew 0ef0c8f49d Bug 534352. Accept fonts with redundant cmap sentinel value. r=jdaggett 2009-12-22 09:47:18 +00:00
Metal Sonic bb9fc4f136 Bug 507387 - fix copyright holder; Mozilla Corporation -> Mozilla Foundation. r=gerv. 2009-12-21 21:50:30 +00:00
Jonathan Kew 164b142e9b Bug 534353: Copy the correct string data to the EOT header name fields. r=jdaggett 2009-12-20 17:52:57 +00:00
Jonathan Kew c1f6e323d3 Bug 534919: do not inherit font from ZWNJ to adjacent character. r=roc 2009-12-16 15:47:12 +00:00
Benjamin Smedberg bfa43ef17d Merge mozilla-central into electrolysis. 2009-12-15 20:31:04 -05:00
Daniel Holbert e41991008d Fix for Bug 534918's bustage (build error: "initialization of 'OSVal' is skipped by 'default' label") 2009-12-15 15:37:55 -08:00
Jeff Wang 4bf1de5718 64-bit Mac OS X bustage fix for font code. b=532346 r=jkew r=joshmoz 2009-12-15 18:16:12 -05:00
Daniel Holbert df4eb81ad7 Bug 534918: Add 'default' case to switch statement in nsThebesDeviceContext::SetDPI(), to fix build warnings. r=mfinkle 2009-12-15 14:42:54 -08:00
Christopher A. Aillon add24e08b7 Bug 435313 - "Printing on linux should set SIMPLIFY_OPERATORS | DISABLE_SNAPPING" [r=vlad] 2009-12-15 17:04:22 -05:00
Jim Mathies 511810cb85 Bug 531860 - plugin-alpha-zindex ref test fails with oopp enabled. r=jmuizelaar. 2009-12-14 18:27:25 -06:00
Robert O'Callahan 504b6aef00 Bug 534426. Use our zlib.h, not system zlib.h. r=jfkthame 2009-12-16 09:09:00 +13:00
Benjamin Smedberg c274ce87d8 Merge mozilla-central into electrolysis. 2009-12-14 08:01:18 -05:00
Benjamin Smedberg 7ffec1977a Merge mozilla-central into electrolysis. One code change was required: in nsDocShell::CreateStaticClone I replaced EnsureDocShell with MaybeCreateDocShell. 2009-12-12 13:38:25 -05:00
Chris Jones e17f4a3fa8 bug 523174: add a higher-level Shmem class that implements exclusive access rights between parent/child actors and does over/underflow checking. (Also adds a stop-gap lower-level SharedMemory class in lieu of bug 523172.) r=joedrew 2009-12-04 12:45:15 -06:00
Benjamin Smedberg 5cc5de47c0 Merge mozilla-central into electrolysis 2009-12-04 11:28:50 -05:00
Jim Mathies 8cb62920a1 Bug 522299 - fix linux bustage. 2009-12-01 16:26:45 -06:00
Jim Mathies 8aaa7248e8 Bug 522299 - Electrolysis: Get windowless plugins drawing on win32. r=jmuizelaar. 2009-12-01 15:05:26 -06:00
Karl Tomlinson c36e484aa5 b=527980 don't use tree-cairo preprocessor symbols to test for fontconfig r=bsmedberg 2009-11-27 13:21:31 +13:00
Mark Finkle 2266f384cd Bug 530931: Maemo shouldn't use the true DPI [r=roc] 2009-11-25 17:27:05 -05:00
Ted Mielczarek c40ac21a45 bug 530093 - allow building with VC10. gfx changes. r=jdaggett 2009-11-23 10:20:21 -05:00
Ginn Chen 69a4980745 Bug 522440 QCMS: Make sse/sse2 code built with Sun Studio 12 on Solaris r=jmuizelaar, ted.mielczarek 2009-11-20 14:15:39 +08:00
L. David Baron 52d8b86688 Reset mUnderlineOffset on all platforms when user font set generation is bumped. (Bug 523717) r=jdaggett 2009-12-11 08:13:20 -08:00
Jonathan Kew 7960c3f713 Bug 532349: Support new cmap table ID used in Chinese fonts on OS X 10.6. r=jdaggett 2009-12-10 12:18:23 -08:00
Jonathan Kew fff21b7215 Bug 532346: Work around ATSUI rendering failure with Apple LiGothic font on 10.6. r=roc 2009-12-10 12:18:14 -08:00
Nirbheek Chauhan 744c274b36 Bug 528941 - Remove pangox.h includes. r=karlt 2009-11-18 14:20:15 +01:00
Mark Finkle 147c111c3b Bug 531289: Firefox doesn't obey system dpi settings anymore (better fix) [r=dbaron a=blocking] 2009-11-30 18:10:11 -05:00
Mark Finkle 75d73b8823 Bug 531289: Firefox doesn't obey system dpi settings anymore [r=roc a=blocking] 2009-11-30 16:44:55 -05:00
Jonathan Kew eff66c117e Bug 519445: lazy enumeration of font faces on Mac OS X to improve startup. r=jdaggett 2009-10-13 00:43:43 +01:00
Jesse Ruderman a1790abb65 Add crashtests for several bugs 2009-12-06 16:54:07 -08:00
Vladimir Vukicevic 8ce57561e1 b=523959; [webgl] enable WebGL with EGL on Maemo and WinCE; r=stuart 2009-12-06 16:07:58 -08:00
Jeff Muizelaar 351f3da096 Backout 8a790e81279e (bug 528322) because wince doesn't have powf.
The link error was obscured by other errors when I ran this on try...
2009-11-13 11:53:12 -05:00
Jeff Muizelaar c580870440 Bug 528322. qcms: Avoid unneeded precision during table creation. r=joe
Switch from pow() to powf() because it's faster and we don't need the
additional precision.  Also avoid unnecessary conversion to and from doubles by
using float constants instead of doubles.
2009-11-13 10:14:13 -05:00
Jonathan Kew 628578a448 Bug 480906: fix incorrect enum value mentioned in comment. r=roc 2009-12-14 10:35:46 +00:00
Karl Tomlinson 8a4f9af3bd b=518506 make public pixman symbols available in --disable-libxul and --enable-system-cairo builds r=bsmedberg 2009-12-14 10:00:31 +13:00
Daniel Holbert f843190696 Bug 534150: Make sure to initialize local variable "matchFE" in FindFontForStyle, and remove unneeded null-check. r=jdaggett 2009-12-12 22:27:30 -08:00
Jonathan Kew db2e1f152f bug 527555: ensure gfxCoreTextFont destructor doesn't try to delete uninitialized Cairo pointers or null CF references. r=roc 2009-11-10 10:00:50 +00:00
Robert O'Callahan eb1850db01 Bug 526882. Create nsIntRegion. r=jmuizelaar 2009-11-10 14:00:36 +13:00
Takuro Ashie 841afe85bb Bug 525845 - Some characters in WOFF failed to work on Linux and Solaris. r=karlt 2009-11-05 23:12:36 -08:00
Robert O'Callahan 7ece6e5b67 Bug 513395: Make sure the Cairo/Quartz backend returns the first stop for negative positions on the gradient line of a nonrepeating linear gradient. r=jrmuizel
--HG--
extra : rebase_source : 2b4fbf1602dbaac5f3bba2ac0c8465236546bfe7
2009-11-02 09:20:40 -08:00
Karl Tomlinson e68d9d6bf5 Test for bug 509244 2009-11-02 16:35:20 +13:00
Karl Tomlinson 92b5033850 Test for bug 509244 2009-11-02 16:21:24 +13:00
Takuro Ashie 3327ced111 Bug 505284 - bottom of fonts cut off in dialogs. r=karlt 2009-10-30 16:13:41 -07:00
Bas Schouten 0699bea55e Bug 524462. Fix startup crash in pref fonts with funky cmaps. r=jdaggett 2009-10-30 16:41:13 -06:00
Doug Turner a2a7ef6b23 Expose device type in user agent. r=vlad 2009-10-24 23:09:46 -07:00
Jeff Muizelaar abed977f30 Bug 500200. cairo-ddraw: Fallback if the source surface is larger than the maximum texture size. r=vlad
If the source surface is larger than the maximum texture size we fallback to software compositing
instead of drawing the wrong things.
2009-10-21 12:49:20 -04:00
Daniel Holbert e1d1529222 Disable one of Bug 385228's crashtests, since it's apparently not WORKSFORME after all. (reopened bug) 2009-10-19 17:26:04 -07:00
Jesse Ruderman 9e587aee06 Add more crashtests 2009-10-15 14:22:11 -07:00
Jesse Ruderman 342d139dab Fix likely typo in this crashtest file 2009-10-13 12:30:46 -07:00
Honza Bambas 3e6ec139e4 Bug 426788 - When DPI set to 144, User interface is scretched very much. and html document is rendered very large, r=roc 2009-10-08 11:14:40 +02:00
Mark Finkle 05ae567782 Bug 520341: Implement a way to detect a pre-Fremantle Nokia Maemo tablet, r=roc 2009-10-04 21:31:26 -04:00
Jeff Muizelaar 5e01f1a55c Bug 514932. Fix color profile retrieval on OS X 10.6. r=joshmoz
CMGetDeviceProfile(cmDisplayDeviceClass,
		cmDefaultDeviceID,
		cmDefaultProfileID,
		&device);
returns cmDeviceNotRegistered on 10.6 so we need to use a different method
to get the profile.
2009-10-03 14:33:55 -04:00
Jeff Muizelaar 428d186fbc Bug 488800. qcms: accept ICCv4 profiles. r=bobbyholley
ICCv4 profiles are a superset of ICCv2 so it shouldn't hurt us to accept them and
just treat them the same way we do ICCv2 profiles.
2009-10-02 17:57:25 -04:00
Jonathan Kew 40a8eb7714 Bug 519149. Get properly localized font family names on Mac OS X. r=jdaggett 2009-09-28 11:25:22 +01:00
Robert O'Callahan b6f4b4c4b7 Bug 508495. Let CSS borders and padding apply to plugin elements, and fix layout, painting and event handling to work with them. r=dbaron
--HG--
extra : rebase_source : c42240c5a88dc05579b658f8cc29ff289422986b
2009-09-11 13:44:20 +12:00
Steve Snyder 3b2677f1ca Bug 512865. qcms: Improve SSE2 performance, add SSE support. r=jrmuizel
This patch greatly improves the performance of QCMS transformations on x86 &
x86_64 systems.  Some notes:

0. On 32-bit x86 systems it does runtime selection between non-SIMD, SSE, and
SSE2 code paths.

1. On x86_64 systems the SSE2 code path is always taken.  The non-SIMD and SSE
code paths are left intact, but contemporary versions of the GCC and MSVC
compilers will see that they cannot be reached and optimize them away.

2. The execution of the SSE2 code path is reduced by 67%, relative to the
original Intel/Microsoft formatted ASM code.  The relative performance is seen
on a Pentium4 (Northwood) 2.4GHz CPU with DDR1 RAM.

3. The SSE code path provides a 80% reduction in execution time, relative to
the non-SIMD code path.  The relative performance is seen on a Pentium3
(Coppermine) 1.26GHz CPU with SDRAM.

4. The code has been split out into separate files so that it can be built
with different cflags (-msse, and -msse2) when using gcc.

5. Try to land again, this time with __attribute__((__force_align_arg_pointer__))
to avoid crashes on linux.
2009-10-01 14:19:41 -04:00
Hanspeter Niederstrasser e165a899e1 Bug 561412 - new yuv -> rgb conversion code assumes GTK=linux. r=roc 2010-05-02 14:20:40 +02:00
Oleg Romashin 4f633ef696 Bug 562710 - Disable -pedantic for cairo-qt code. r=jmuizelaar 2010-05-01 08:22:42 -04:00
timeless@mozdev.org 8cc3d5b0d9 Bug 562582 - suggest parentheses around assignment used as truth value in nsRegion::ToOutsidePixels, r=roc 2010-04-28 23:20:00 -07:00
Mark Banner 90b68a3dd1 Bug 562664 Linux static build bustage with "undefined reference to mozilla::gfx::ConvertYCbCrToRGB32". r=ted 2010-04-30 21:46:25 +01:00
L. David Baron 01fa930dde Implement the HTML5 algorithm for parsing a legacy color value: implement the arbitrary-string-to-RGB part of the algorithm. (Bug 121738) r=sicking 2010-06-03 13:11:34 -07:00
L. David Baron ed30e7c049 Implement the HTML5 algorithm for parsing a legacy color value: reject 'transparent'. (Bug 227072) r=sicking 2010-06-03 13:11:34 -07:00
Brad Lassey 7e7e27702c [android] read /proc/cpuinfo for cpu info 2010-05-07 16:48:33 -04:00
Masatoshi Kimura caca11adda bug 552460 - part 3 - implement Variation Sequence support in Windows font backend. r=jfkthame 2010-06-01 14:42:37 +01:00
Robert O'Callahan a74d0b3384 Bug 568189. Add patches to list. 2010-06-01 14:09:44 +12:00
Robert O'Callahan 1d5390411c Bug 552537. Add patch to list. 2010-06-01 14:05:55 +12:00
Robert O'Callahan 0db3542a1e Bug 568189. Create gfxASurface::CreateSimilarSurface API. r=jrmuizel 2010-06-01 11:37:44 +12:00
Robert O'Callahan 4c45927dcc Bug 568189. Implement CGLayer-backed cairo-quartz surfaces. r=jrmuizel 2010-06-01 11:33:23 +12:00
Robert O'Callahan 6adbc91324 Bug 568189. Part 3: Remove snapshot backend function since it doesn't work and we may as well just fall back. r=jrmuizel 2010-06-01 11:33:05 +12:00
Robert O'Callahan be6e2c6eba Bug 586041. Part 2: refactor RemoveChild. r=bas 2010-06-01 11:32:05 +12:00
Robert O'Callahan 347fccf390 Bug 568041. Add user-data API and GetRoot to LayerManager. Move mVisibleRegion into Layer. r=bas,sr=vlad 2010-06-01 11:29:37 +12:00
Robert O'Callahan 37a34ca51d Bug 552537. Cache the CGImageRef that we create for a CGBitmapContext so that we can take advantage of Quartz caching optimizations. r=jrmuizel 2010-06-01 11:19:45 +12:00
Bas Schouten cb83242bf3 Numerous whitespace fixes in D3D9 layers code. 2010-05-29 05:27:03 +02:00
Bas Schouten 0b53d0c3d4 Bug 568719: Clear D2D surfaces before use to clear any re-used VRAM. r=jrmuizel 2010-05-29 03:16:24 +02:00
Daniel Holbert 5f12594742 Bug 567626 followup: Add missing "*/" at end of first line in CanvasLayerOGL.cpp, ColorLayerOGL.h, & ThebesLayerOGL.h, to fix 'warning: "/*" within comment'. rs=vlad 2010-05-27 13:04:26 -07:00
Steffen Imhof 7a48fc4f4a Bug 568438 - Fontsize handling in nsSystemFontsQt.cpp breaks for fonts with pixel size set. r=dougt 2010-05-27 08:07:56 -07:00
John Daggett e3884f253a Bug 504698. Enable Cleartype content rendering by default on Win XP. r=jkew 2010-05-27 14:05:30 +09:00
Bas Schouten de1a46d72e Bug 568150: Properly use parent sibling members for OGL Containers. r=roc 2010-05-26 06:06:34 +02:00
Michael Wu 6148b8854a Bug 565089 - Allow cairo to build on Android. r=jmuizelaar,ted 2010-05-25 15:21:18 -07:00
Honza Bambas 463479c660 Backout bug 426788 2009-09-29 17:32:54 +02:00
Honza Bambas 3b52ab7413 Bug 426788 - When DPI set to 144, User interface is scretched very much. and html document is rendered very large, r=sylvain.pasche 2009-09-29 15:15:12 +02:00
John Daggett c120ea19eb Bug 517045. Remove code causing startup regression in Mac font initialization. r=jkew 2009-09-29 09:38:59 +09:00
Mark Finkle e76ee379f1 Bug 518378: buttons and list boxes in content document are unreasonably large, r=dbaron 2009-09-26 20:21:32 -04:00
Tobias Hunger da84329e49 Bug 518585 - Fix the cairo Qt backend to build. r=pavlov 2009-09-26 17:51:08 +02:00
Mitchell Field 02e66e18b9 Bug 514665 - fix stupid module name differences on windows. r=ted 2009-09-25 18:41:16 +02:00
Sylvain Pasche b9ac953af4 Bug 517218 - Backout bug 515455 which didn't address the real issue. r=roc 2009-09-25 18:40:48 +02:00
Jeff Muizelaar c7bff917c3 Backed out changeset cb4f078cc8cb (bug 512865)
Was causing crashes on the leak test box.
2009-09-24 23:35:53 -04:00
Steve Snyder 3e6ae7aba0 Bug 512865. qcms: Improve SSE2 performance, add SSE support. r=jrmuizel
This patch greatly improves the performance of QCMS transformations on x86 &
x86_64 systems.  Some notes:

0. On 32-bit x86 systems it does runtime selection between non-SIMD, SSE, and
SSE2 code paths.

1. On x86_64 systems the SSE2 code path is always taken.  The non-SIMD and SSE
code paths are left intact, but contemporary versions of the GCC and MSVC
compilers will see that they cannot be reached and optimize them away.

2. The execution of the SSE2 code path is reduced by 67%, relative to the
original Intel/Microsoft formatted ASM code.  The relative performance is seen
on a Pentium4 (Northwood) 2.4GHz CPU with DDR1 RAM.

3. The SSE code path provides a 80% reduction in execution time, relative to
the non-SIMD code path.  The relative performance is seen on a Pentium3
(Coppermine) 1.26GHz CPU with SDRAM.

4. The code has been split out into separate files so that it can be built
with different cflags (-msse, and -msse2) when using gcc.
2009-09-24 11:58:24 -04:00
Mark Finkle 4ca6e6f759 Bug 518281: DPI on n810 is incorrect (part 2), r=stuart 2009-09-23 02:31:38 -04:00
Mark Finkle 6216d6c1e7 Bug 449283: DPI on n810 is incorrect, r=roc 2009-09-22 08:45:56 -04:00
Phil Ringnalda fceecee8a4 Bug 495228 - Remove checks for mac MOZ_WIDGET_TOOLKIT, r=ted 2009-09-18 19:59:53 -07:00
Peter Weilbacher 1cf5afd816 [OS/2] Bug 511361 - fix font name conversion before calling FC to match the font 2009-09-18 23:33:03 +02:00
Jonathan Kew 9456708e63 Bug 517283: fix gfxCoreTextFontGroup and bidi reftests to resolve failures with the Core Text backend, r=roc 2009-09-18 09:20:01 +01:00
John Daggett b1a7ff6439 Bug 505386. Compensate for unpadded font tables when renaming fonts. r=jkew. 2009-09-18 11:39:22 +09:00
John Daggett f8a9208a66 Bug 516709. Do better validation of cmap tables when loading fonts. r=jkew. 2009-09-18 09:45:29 +09:00
Jonathan Kew 6189a72050 Bug 507970, part 3: add @font-face format hint for woff fonts, r=jdaggett
--HG--
extra : rebase_source : 44bbd8455cffbd21d77fafdec21e1a80792cd6d7
2009-09-17 12:03:12 +01:00
Jonathan Kew 217665fa17 Bug 507970, part 2: implement support for downloadable WOFF fonts, r=jdaggett
--HG--
extra : rebase_source : e68c49d2dbea815e453f9ab52ba89bd9127d3f51
2009-08-30 14:55:24 +01:00
Mark Banner c55a71d5f2 Part of Bug 515595 - Ensure layout is initialised (which will initialise gfx) in test_nsIScriptableRegion.js so that the test doesn't fail on non-libxul builds. Fallout from bug 504034. r=vladimir (test only change). 2009-09-17 08:06:04 +01:00
Reed Loden c2c0f3ca4a Bug 516971 - "Remove lcms from the tree" [r=bholley r=gerv] 2009-09-17 01:17:19 -05:00
L. David Baron d69425fc7b Fix the one mochitest that's exported to _tests in a disable-tests build. (Bug 515993) r=ted 2009-09-16 12:01:18 -07:00
Jeff Muizelaar 8dee712d34 Bug 515192. Update cairo to 655a4dbc36d95ce4a82cbc13aa9e2002b41fa4de
This time without:
c0e01d9cd71bd958e1b31a03cea4c08a1bdf4926 (Improve GC caching efficacy)
2009-09-14 22:43:09 -04:00
Steffen Imhof 41d63b8749 Bug 498243. Make clipping reset explicit. r=vlad
--HG--
extra : rebase_source : b055dd091f5f4d8d3219d66863c71aec91e60ad3
2009-09-11 10:32:32 +12:00
Robert O'Callahan 62e77e8df4 Add cairo patches for Quartz gradient fixes
--HG--
extra : rebase_source : 7b50d07ec411410c7fda7b8fba423610018fd6cc
2009-08-26 10:05:44 -07:00
Takuro Ashie d3901db074 b=513192; Crash [@nsAString_internal::BeginReading(nsReadingIterator<unsigned short>&)]; r=jfkthame 2009-09-10 13:57:27 -07:00
Vladimir Vukicevic 48364a2223 b=514968; optimize FT2 textrun creation with glyph cache; r=jfkthame 2009-09-10 13:52:40 -07:00
Sylvain Pasche 3faa8e960f Bug 515455 - "Backward compatibility when layout.css.devPixelsPerPx is an integer" [r=roc] 2009-09-10 14:43:41 -04:00
Chris Jones 5ef33c9cfd bug 504034: initialize RgnRectMemoryAllocator non-statically by heap allocating it. r=vlad 2009-09-09 20:22:03 -05:00
Jeff Muizelaar 8bf5e09d9b Backed out changeset 3d7b55f16ec5 2009-09-09 14:30:44 -04:00
Jeff Muizelaar 981aad6653 Bug 515192. Update cairo to 655a4dbc36d95ce4a82cbc13aa9e2002b41fa4de 2009-09-09 12:11:46 -04:00
Takuro Ashie 109214e7cf Bug 490267 - implement pref font and system font fallback for gfxFT2Fonts. r=jtd,jfkthame sr=roc 2009-09-09 16:35:08 +01:00
Michael Moy 4e150f1007 Bug 421761 - "Use multiplication instead of division for gfxRGBA (gfxColor.h)" [r=joe r=jmuizelaar] 2009-09-08 15:14:39 -05:00
Vladimir Vukicevic b214db530b Bug 504766. qcms: Fix unaligned reads in qcms. r=jrmuizel
Offsets are not guaranteed to be aligned, so don't assume that they are.
memcpy instead of just casting and dereferencing.
2009-09-08 11:36:28 -04:00
Markus Stange 893719b7ba Bug 514992 - Remove nsIWidget::Invalidate(PRBool aIsSynchronous). r=roc
--HG--
extra : rebase_source : dfdf06c8547b00744647d4a285809a57cdbfe1f4
2009-09-08 09:53:36 +12:00
Mook 0313c877d9 use PRUptrdiff, not unsigned long, for PtrBits in gfxFont [r=vlad] 2009-09-04 21:46:09 -05:00
Benjamin Smedberg 6399d22ef3 Bug 513032 - remove empty conditionals in our makefiles, r=ted 2009-08-27 10:48:18 -07:00
Benjamin Smedberg 621a26034c CLOSED TREE spelling fixes to kick new builds. 2009-09-03 11:14:54 -04:00
Sylvain Pasche ff37120ad8 Bug 513439. Parse layout.css.devPixelsPerCSSPx as a string float. r=roc
--HG--
extra : rebase_source : 28d39726e3714d2614f5f010a8e6f914ddecaf75
2009-08-29 12:19:36 +02:00
Karl Tomlinson dc6b694876 Don't always addref in nsFontCache::Compact() b=503784 r=pavlov
--HG--
extra : rebase_source : e6b06957a00cdf49fc2868224afd9201e22c01a8
2009-08-31 08:44:39 +12:00
Peter Weilbacher 3d367685a5 [OS/2] Bug 490561 - update GetMetrics 2009-08-29 00:58:25 +03:00
Jeff Walden 25571d966e Bug 508325 - Fix a second instance of the core problem fixed in the first push; also change NSCoordSaturatingMultiply into two separate functions, one of which requires the scale to be non-negative and one which doesn't. r=roc
--HG--
extra : rebase_source : e4dc7f9f8e5647512524dcaa0e48dd5f68fe64a0
2009-08-06 00:36:54 -07:00
Taras Glek 29a18e5ff3 Bug 457949 - no need for Stopwatch r=bsmedberg
--HG--
extra : rebase_source : 5cd3baecf54295012b28d42fc7bf4c9b34e12714
2009-08-28 11:03:51 -07:00
Jesse Ruderman 8a9fb4d41e Add more crashtests 2009-08-27 21:11:40 -07:00
Jesse Ruderman 305909d6eb Add crashtests 2009-08-27 19:48:20 -07:00
Benjamin Smedberg c4ea86fa0e Additional followup to bug 398573 - remove REQUIRES from the tree even when they are in makefile conditional blocks
--HG--
extra : rebase_source : cc65c34a414e6c67a5651fc9cf0b6bd709ebcdbd
2009-08-27 08:53:13 -07:00
Robert O'Callahan bbed571314 Bug 508730. Don't repeat a Quartz gradient more times than necessary, to avoid Quartz quality problems when there are lots of repeated color stops. r=jmuizelaar
--HG--
extra : rebase_source : fb288f0d08fecc39f69df6157fa89ada95decb4c
2009-08-06 23:43:09 +12:00
Robert O'Callahan ac50902e84 Bug 508730. Clean up Quartz gradient code by moving some local variables to static const globals. r=jmuizelaar
--HG--
extra : rebase_source : c853b6ab035fd80d4565438311163771bbc6fa59
2009-08-06 23:37:06 +12:00
Robert O'Callahan 68730f0e61 Bug 508227. Don't fallback to Quartz for repeating radial gradients. r=jmuizelaar
--HG--
extra : rebase_source : 8ad7452fe67f9e67f0dd6eda02d0f0afcd4f5e00
2009-08-06 23:29:16 +12:00
Robert O'Callahan ee46eac6ff Backed out changeset 875c4ba4cbc8 2009-08-25 15:46:20 -07:00
Robert O'Callahan 333ffafb59 Bug 508227. Don't fallback to Quartz for repeating radial gradients. r=jmuizelaar
--HG--
extra : rebase_source : fd5f578f728b0b2149ca4fcf84e1be6706cfc9d9
2009-08-06 23:29:16 +12:00
John Daggett b69a42bd20 Bug 499621. Follow-up fixup to synthetic bolding on Windows. r=jkew. 2009-08-26 01:59:20 +09:00
Benjamin Smedberg 28fb767bd1 Followup to bug 398573 - remove REQUIRES from the tree since it is no longer used... automatically generated patch, rs=ted 2009-08-25 08:59:31 -07:00
Mats Palmgren e31ba461b2 Re-enable crash test for bug 441360 on gtk2 platforms. b=455463 r=me 2009-08-22 19:15:25 +02:00
Ryo Kawaguchi 3eaa23d200 Add tests to TestRect and fix TestColorNames. (Bug 113577) r=roc 2009-08-21 13:39:25 -07:00
Peter Weilbacher e580427ae8 [OS/2] Bug 509317 - enable general emboldening of fonts and stop forcing antialiasing in that case 2009-08-19 09:47:09 +02:00
Craig Topper 75e677e9ad Bug 467948: Fix some "deprecated conversion from string constant" compiler warnings", round 2. r=dbaron 2009-08-18 08:48:32 -07:00
Takuro Ashie 7e63733744 fix Qt and GTK bustage in gfxFT2Fonts from bug 493280, r=jfkthame 2009-08-18 09:26:24 +01:00
Masatoshi Kimura e8f3236dc7 fix wchar_t incompatibility from bug 493280, r=jfkthame 2009-08-18 09:26:20 +01:00
Jonathan Kew 4018105446 further winmo (gfxFT2Fonts) bustage fix from bug 493280 2009-08-16 18:12:12 +01:00
Jonathan Kew cc43c57a98 fix for winmo bustage from bug 493280 - use accessor for protected member in gfxFontFamily 2009-08-16 17:29:35 +01:00
Jonathan Kew d8c004c38a bug 493280 (part 1) refactor Mac font selection code and make 64-bit clean, r=joshmoz,jdaggett sr=roc
--HG--
rename : gfx/thebes/src/gfxQuartzFontCache.h => gfx/thebes/src/gfxMacPlatformFontList.h
rename : gfx/thebes/src/gfxQuartzFontCache.mm => gfx/thebes/src/gfxMacPlatformFontList.mm
2009-08-16 14:52:12 +01:00
Vladimir Vukicevic 30a9d1be4e b=509244; gfx crash on memory pressure notification; r=karlt 2009-08-14 16:51:30 -04:00
Jeff Walden 68dca6d3c7 Convert an abort to an assertion because garbage in elsewhere is producing garbage out here, and it's taking awhile to track down the cause 2009-08-14 10:34:38 -07:00
Hashem Masoud 44f7f9d413 Bug 489502 - Replace NS_ASSERTION(0, ...) by NS_ERROR(...) in mozilla-central; r=benjamin 2009-08-14 16:09:00 +02:00
Robert O'Callahan 27e3a4c05f Bug 507939 - Remove erroneous clip rect fixup which caused repainting errors with repeating radial gradients on Mac. r=jmuizelaar
--HG--
extra : rebase_source : 24123ab8a6c676fa5e53e26820ac72cc575cc734
2009-08-14 11:07:37 +12:00
Jeff Muizelaar f277fd457a Bug 504920. Use cairo_set_can_convert_to_dib(TRUE) when creating optimized DDB image surfaces. r=vlad
This lets cairo convert and keep a DDB image into a DIB section when we paint
it to a canvas.  Avoiding the continuous conversion to an image surface
improves the performance of drawImage on to a canvas on Win32, in particular
the peacekeeper experimentalMovie benchmark.
2009-08-12 10:44:53 -04:00
Brad Lassey e30c93a57a bug 491305 - Allow loading fonts from an application folder, follow up 2009-08-11 14:21:04 -07:00
Brad Lassey 7de7827bad bug 491305 - Allow loading fonts from an application folder r=vlad 2009-05-04 13:00:54 -04:00
Jeff Walden 72769e3800 Bug 508325 - "ABORT: negative scaling factors must be handled manually". r=roc 2009-08-05 15:34:27 -07:00
Vladimir Vukicevic 91997043c9 b=507037; hang on WinCE in gfxFontFamily::FindFontForStyle; r=jdaggett 2009-07-30 11:19:34 -07:00
Jeff Walden 500d9d724c Bug 189519 - Implement CSS3 (-moz- for now)background-size. r=dbaron, other useful review comments from roc/bz 2009-05-28 11:09:05 -07:00
Robert O'Callahan 22e45a4c15 Bug 492309. Remove useless gfxTextRuNnFactory flags. r=vlad
--HG--
extra : rebase_source : 4cdbc37f404c07f509adbfb581c662187813bc4a
2009-07-30 14:59:41 +12:00
Timothy Nikkel d925bda685 Bug 503814. iframe contents shifted slightly due to rounding issue. r+sr=roc 2009-07-29 18:10:50 -04:00
Ginn Chen 1164b26366 Bug 505678: Downloadable font feature is broken with Sun Studio compiler r=jdaggett 2009-07-29 17:40:33 +08:00
Makoto Kato 030f1ee4b2 Bug 505691 - Remove unnecessary include of nsIPref.h. r=vlad 2009-07-28 18:33:20 +09:00
Karl Tomlinson 134bf90e83 b=506135 use fontmap property on PangoFcFont only from Pango-1.24.4 r=roc
--HG--
extra : rebase_source : 3628d1e00e308ae9a0d449cba4ecd2d697636eaa
2009-07-27 12:37:59 +12:00
John Daggett 011f18d286 Bug 499621. Fix synthetic bolding of downloadable fonts on Windows. r=jkew 2009-07-23 11:22:24 -10:00
John Daggett faeca0f038 Bug 496573. Fix font load failure for fonts with family/fullname mismatch. r=vlad 2009-07-22 22:08:23 -10:00
Karl Tomlinson d9db226807 b=487971 use fontmap property on PangoFcFont from Pango-1.24
--HG--
extra : rebase_source : 97255de05f7afc7550bbb37b1e0b0296a7f4b7c0
2009-07-23 13:21:45 +12:00
timeless@mozdev.org 9e77a546a3 Bug 491195 fix warnings in qcms
mostly comparisons between unsigned and signed
also an incomplete initializer
and a warning about using C++ style variables
r=jrmuizel
2009-07-22 17:31:03 -05:00
Jeff Muizelaar 0b7f6b67b9 Bug 504888. qcms: Avoid integer overflow when checking buffer bounds. r=bobbyholley
Found by Chris Evans
2009-07-21 23:32:27 -04:00
Robert O'Callahan 87c332881a Bug 339548. Part 8: Create nsPoint::ToNearestPixels. r=dbaron 2009-07-22 12:44:58 +12:00
Robert O'Callahan 2e8876cf7b Bug 505184. When 'deflation' of the background area is not required, paint table backgrounds using a dedicated nsDisplayBackground instead of the multipurpose nsDisplayTableBorderBackground. r=fantasai 2009-07-22 12:44:52 +12:00
Joe Drew 9c23ca0770 Bug 753 - Remove nsIImage, gfxIImageFrame, and their implementations, and expose an equivalent api on imgIContainer. r=roc,josh,bz,longsonr,vlad,karlt,jimm,bsmedberg,mfinkle,peterw,peterv sr=vlad,roc
--HG--
rename : gfx/src/shared/gfxImageFrame.cpp => modules/libpr0n/src/imgFrame.cpp
rename : gfx/src/shared/gfxImageFrame.h => modules/libpr0n/src/imgFrame.h
2009-07-20 18:50:15 -07:00
Jonathan Kew 8589a0f344 bug 502795 - avoid using CTFontCreateCopyWithAttributes to disable ligatures because it fails with privately-activated download fonts, r=roc 2009-07-16 11:00:38 +01:00
Jonathan Kew 76092779a8 merge backout of b6d407af386f 2009-07-15 11:06:15 +01:00
Jonathan Kew 40d05b8061 Backed out changeset b6d407af386f for causing bug 503718 on Windows 2009-07-15 11:04:00 +01:00
Jonathan Kew ed8f9f37e3 merge backout of 705ef05105e8 2009-07-15 11:02:57 +01:00
Jonathan Kew 044de91d7f Backed out changeset 705ef05105e8 for causing bug 503718 on OS X 2009-07-15 10:59:26 +01:00
fantasai 3676463688 Bug 499377 addendum - Complete nsMargin arithmetic for nsRect r=roc 2009-07-14 22:20:32 -07:00
fantasai d3aa3e3ff9 Bug 499377 - Store float region on frame r+sr=roc 2009-07-14 22:19:31 -07:00
Peter Weilbacher c11338090d [OS/2] Bug 493428: adapt calculation of zeroOrAveCharWidth to what the other platforms do (using glyph advance instead of glyph width), to fix dialog widths that appear to narrow 2009-07-10 09:46:21 +02:00
Jonathan Kew 6e5e906194 Bug 475968. Pad out the glyph extents of Windows text to account for possible antialiased pixels outside the regular bounds. r=roc 2009-06-15 10:01:19 +12:00
Rob Arnold e6d0f75b83 Bug 501475 - Remove nsPaletteInfo and friends. r=joe 2009-07-09 12:27:44 -07:00
Tobias Hunger ca92d527c6 Bug 498871 - Remove use of unnecessary QBrush pointer. r+sr=pavlov 2009-06-17 11:08:26 +02:00
Tobias Hunger 66e8ea2007 Bug 498873 - Remove use of unnecessary QPen pointer. r=pavlov 2009-06-17 13:21:04 +02:00
Vladimir Vukicevic 55a2b9ffff b=494438; add optional OpenGL acceleration to ddraw surface for CE: better integration with rest of system; r=vlad 2009-07-08 16:34:02 -07:00
Vladimir Vukicevic 5f7b06c0f8 b=494438; add optional OpenGL acceleration to ddraw surface for CE: enable composite accel; r=vlad 2009-07-08 16:34:02 -07:00
Vladimir Vukicevic 84676859c1 b=494438; add optional OpenGL acceleration to ddraw surface for CE: make context current as appropriate; r=vlad 2009-07-08 16:34:02 -07:00
Vladimir Vukicevic e9f25d3e5e b=494438; add optional OpenGL acceleration to ddraw surface for CE: core code; r=vlad 2009-07-08 16:34:02 -07:00
Brad Lassey 073354df6f bug 503096 - always used FILTER_FAST for mobile r=jmuizelaar 2009-07-08 12:50:07 -04:00
Jonathan Kew 13e891b13e Bug 476927. Pad out the glyph extents of Quartz text to account for possible antialiased pixels outside the regular bounds. r=roc 2009-06-15 10:00:12 +12:00
Jeff Muizelaar ff16387ef6 Bug 498245. Check that the profile is an RGB profile before checking if it's bogus. r=bholley
This avoids unitialized reads on non-RGB profiles.
2009-07-02 11:34:08 -04:00
Jeff Muizelaar f0bbc5b29f Bug 498245. Profiles with negative colorant tristiumlus values are bogus. r=bholley
Make sure we reject these profiles.
2009-07-02 11:34:06 -04:00
Vladimir Vukicevic 7c20d4c9a1 b=499853; swimplify missing glyph rendering on mobile; r=stuart 2009-07-01 11:36:57 -07:00
Jeff Muizelaar 8c2b8df8c2 Bug 498428. Try the rest of the cairo update. r=joe
This time with the suspect patch to see if we hit tSVG.
2009-06-30 11:54:50 -04:00
Steffen Imhof e1682afdb7 Bug 500196: cairo/qt fails to build -- yet again, r=mfinkle 2009-06-30 09:58:29 -04:00
Jeff Muizelaar 926c6c0349 Bug 498428. Try to updating cairo again. r=joe
Try the update without a patch suspected of causing the Tsvg regression.
2009-06-26 15:03:00 -04:00
Vladimir Vukicevic 8ed1420caa b=487693; avoid aggressive invalidation in canvas; r=roc 2009-06-25 13:31:35 -07:00
Vladimir Vukicevic 84f7f1ce2c b=492724; pull out canvas utility functions into CanvasUtils/LayoutUtils; r+sr=roc 2009-06-25 13:30:56 -07:00
Tobias Hunger a99dd97396 Bug 498843. Cleanup whitespace. r+sr=pavlov
--HG--
extra : rebase_source : ee45a9fc21a466c832f70ae43e7f77a126e4c762
2009-06-17 09:56:36 +02:00
Timothy Nikkel edef87e501 Bug 494664. Minor color-related cleanup. r=jmuizel,sr=vlad
--HG--
extra : rebase_source : a81d48bb0fa9faac3806b7a609d35a9eb5bdffd9
2009-06-24 21:18:17 +12:00
Timothy Nikkel 2f2e03e814 Bug 494664. NS_ComposeColors needs to handle non-opaque background colors correctly. r=jrmuizel,sr=vlad.
--HG--
extra : rebase_source : 58e5cf406f1bc96b808700011a46838372a0bc95
2009-06-24 21:17:24 +12:00
Takuro Ashie b4ec902c4c Bug 490285. gfxFT2Fonts needs to add second and later glyphruns in a textrun at the correct offset, not at the start of the string. r=vlad,karlt
--HG--
extra : rebase_source : 6f8702a2b1799d6883f8fa6dbec10a655c274916
2009-06-24 21:14:10 +12:00
Robert O'Callahan a5ab95e3e4 Bug 495455. Always get correct bounding boxes for text rendered with user fonts, since they are likely to be using unusually-sized glyphs. Mac/Windows only at the moment. r=jdaggett
--HG--
extra : rebase_source : 3e5a713873c59488c19f5008a075d13397566358
2009-06-24 21:04:20 +12:00
Ginn Chen ce47708c0b Bug 499929 cairo-image-surface.c line 1253: void function cannot return value r=vladimir 2009-06-24 14:00:02 +08:00
Hiroyuki Ikezoe 3a0be4a79d Bug 466250 - build failure for cairo-gtk2 build with a directfb cairo; r=roc 2009-06-23 12:50:08 +09:00
Jeff Muizelaar 4f87d9dddc Bug 498517. pixman: fix incorrect arm decompilation. r=vlad
The disassembler was producing:
  strh	r4, [r0, #2]
instead of
  strh	r4, [r0], #2
which was causing the alignment and index to go all wrong causing crashes.

Tested-by: dougt
2009-06-22 19:26:38 -04:00
Tobias Hunger 4a9fc3a9f2 Bug 498910: Add method to flush qpainter, r=mfinkle 2009-06-22 15:19:43 -04:00
Tobias Hunger 7e390f22a5 Bug 498917: Fix some warnings in cairo-qpainter-surface.cpp, r=mfinkle 2009-06-22 15:19:43 -04:00
Tobias Hunger fba725548d Bug 498880: Reduce padding in cairo_qpainter_surface_t, r=mfinkle 2009-06-22 15:19:43 -04:00
Tobias Hunger 6ceb4d6c8a Bug 499135: Cairo/Qt fails to build -- yet again, r=mfinkle 2009-06-22 15:19:43 -04:00
Jeff Muizelaar 3dc9dd5693 Bug 498689. Use scanline rasterizer on win32. r=joedrew, r=zweinberg 2009-06-22 15:01:50 -04:00
Jeff Muizelaar b392065580 Bug 498428. Reverting f2ef72fbe01c because of tSVG regression 2009-06-18 16:44:02 -04:00
Jonathan Watt b760f912f1 Bug 498275. Stop using nsIDOMSVGMatrix in nsSVGForeignObjectFrame + fixes. r=longsonr 2009-06-18 13:31:25 +02:00
Jeff Muizelaar 794bea2909 Update cairo to b71b019fe50a9188ddbecd1945606da8ba3bad53
Adrian Johnson (3):
      Fix win32 build breakage
      Ensure win32 font index_to_ucs4() sets ucs4 to -1 if lookup fails
      Correct the comment for the index_to_ucs4 font backend function

Behdad Esfahbod (2):
      Err, make gtk-doc happy again
      [user-font] Add CAIRO_STATUS_USER_FONT_NOT_IMPLEMENTED

Chris Wilson (37):
      [build] Enable shave support
      [build] Add lcov-1.7 to known list
      [image] Return FORMAT_INVALID for an error surface.
      [image] Make _cairo_image_analayze_transparency() more format agnostic
      [image] Treat A1 image surfaces as BILEVEL_ALPHA
      [test] Create a new fallback surface to exercise 16-bit paths.
      [png] Coerce FORMAT_INVALID to a known image format
      [surface] Convert FORMAT_INVALID during snapshots
      [xlib] Use a similar content surface for cloning images
      [build] Report status of gtk-doc in summary
      [build] Fix gtk-doc interoperation with shave
      [check] Quieten output during checking headers-standalone
      [cairo] Fix errors reported by check-doc
      [cairo] Convert C99 comments to /* ... */
      [cairo] Remove stray semi-colon
      [cairo] Protect typeof against -ansi
      [skiplist] Missing include for ffs()
      [script] Missing include for INT32_MAX
      [script] Pedantic violations
      [path] Define _BSD_SOURCE to enable hypot()
      [doc] Update identifiers
      [ft] Restore the ability to lazily resolve patterns.
      [xlib] Use minimal depth for similar clones.
      [test] Fix typos that excluded backend test sources
      [test] Add a note to "Getting the elusive zero failures"
      [test] Relax APPROX_EQUALS condition
      [test] Check text->path with user-fonts (twin)
      [test] Clear expected floating point exceptions
      [test] Stress the ft from-face cache
      [memfault] Update macros to avoid namescape collision with memcheck
      [debug] Check image contents using memcheck.
      [win32] Typo
      [win32] Wrap win32-font usage with CAIRO_HAS_WIN32_FONT
      [surface] Provide nil-surface for INVALID_SIZE
      [surface] Early return if the backend cannot clone an image
      [xlib] Handle too-large images gracefully.
      [in-fill] Treat on-edge queries as inside.

Jeff Muizelaar (1):
      Only include <strings.h> for ffs() when we HAVE_FFS

Karl Tomlinson (1):
      [ft] Resolve mutual referencing problems with zombie faces
2009-06-17 10:57:16 -04:00
Vladimir Vukicevic d70772089f b=493963; don't call win32 printing functions with --disable-printing; r=stuart 2009-06-16 11:57:34 -07:00
Jonathan Kew 0ed2841659 Bug 498252 - Correct the font-size used in context menus, r=josh 2009-06-15 22:04:22 +02:00
Karl Tomlinson 9b1156e336 backout 06a7d2def034 and 58c89ce9719d as possible cause of failure in test_bug450930.xhtml 2009-06-15 18:40:55 +12:00
Jonathan Kew 84369b03ab Bug 475968. Pad out the glyph extents of Windows text to account for possible antialiased pixels outside the regular bounds. r=roc
--HG--
extra : rebase_source : 25f20e31c45c26dcd0f83ea7a5d90800ead28ba0
2009-06-15 10:01:19 +12:00
Jonathan Kew 697f891330 Bug 476927. Pad out the glyph extents of Quartz text to account for possible antialiased pixels outside the regular bounds. r=roc
--HG--
extra : rebase_source : 7f5d7111ed0eb0e89f13c91e94d363739a60973e
2009-06-15 10:00:12 +12:00
Jesse Ruderman f0b1eb1771 Add crashtests 2009-06-12 19:21:09 -07:00
Jonathan Kew 2495988eef use Cocoa instead of (deprecated, non-64bit) Appearance Manager APIs in nsSystemFontsMac (for bug 489354) r=joshmoz
--HG--
rename : gfx/src/thebes/nsSystemFontsMac.cpp => gfx/src/thebes/nsSystemFontsMac.mm
2009-06-12 14:52:35 -04:00
Jeff Muizelaar 4b5a8fbe74 Bug 497363. qcms: Fix a memory leak when fread() fails. r=joedrew
Fixes a possible leak in qcms_profile_from_file() when fread()
can't read the entire profile.
2009-06-12 14:38:34 -04:00
Jeff Muizelaar dfc71274bc Bug 497363. qcms: Add reference to the rationale for not correcting alpha. r=joedrew 2009-06-12 14:38:32 -04:00
Jeff Muizelaar afc201ea1f Bug 497363. qcms: Use a minimum of 256 entries when calling invert_lut. r=joedrew
Makes the number of output entries produced by invert_lut() a parameter and
changes all callers to use a minimum of 256 entries when computing the inverse.
2009-06-12 14:38:30 -04:00
Tobias Hunger 0236445c8b Bug 493726. Fix build problems with the cairo Qt backend. r=jrmuizel 2009-06-12 14:00:42 -04:00
Jeff Muizelaar b26a034683 Bug 485426. Add arm fast path for 565 to x888 conversion. r=vlad 2009-06-11 14:26:39 -04:00
Markus Stange 026c946bd4 Bug 495920 - nsThebesDeviceContext shouldn't have a reference to a native widget. r=masayuki, sr=roc 2009-06-11 11:24:41 +02:00
Jesse Ruderman 57691a473d Add crashtests 2009-05-26 11:53:12 -07:00
John Daggett 705ebcb306 Bug 483459. Remove strict validation of table directory checksums in downloadable fonts. r=vlad 2009-05-20 16:17:28 +09:00
Peter Weilbacher 49a7a5757f Bug 493834: fix OS/2 build break in widget/src/os2 and make sure that all
cairo headers are installed to dist/include/cairo, r=bsmedberg
2009-05-20 08:47:08 +03:00
Hiroyuki Ikezoe 72a820b51b bug 493426 - unresolved cairo symbols related to cairo_ddraw_surface r=vlad 2009-05-19 22:27:50 -04:00
Zack Weinberg eb4f67a74d Bug 488649: Unify document.body.{bgColor,text,link,vLink,aLink} with the <body> attributes of the same names. Do not default to prescontext/CSS for these. Remove the unsafe function NS_RGBToHex(). 2009-05-19 22:11:01 -04:00
Benjamin Smedberg 2b75f94db4 Bug 488175 - flatten dist/include and provide mechanism to install certain headers in namespaced subdirectories (e.g. #include "mozilla/XPCOM.h") r=ted
--HG--
rename : xpcom/ds/nsTimeStamp.cpp => xpcom/ds/TimeStamp.cpp
rename : xpcom/ds/nsTimeStamp.h => xpcom/ds/TimeStamp.h
2009-05-18 14:15:05 -04:00
Shawn Wilsher dc99e73259 Backed out changeset d88e6b8fab83 (bug 486974) due to reftest parsing issues. 2009-05-18 12:30:29 -04:00
Karl Tomlinson ec4430cfb4 leak (crash)test for bug 486974 2009-05-18 21:13:39 +12:00
Karl Tomlinson f7eeaf078f b=486974 zombie ft_font_face / ft_unscaled_font mutual referencing problems. r=jdaggett
--HG--
extra : rebase_source : 8f2e3d477bbad5177a228681b9650735ec9d6817
2009-05-18 19:35:16 +12:00
Robert O'Callahan e5019c555e Bug 493202. Add a layout.css.devPixelsPerPx hidden pref to control that ratio if desired. r=vlad 2009-05-18 10:09:53 +12:00
Jeff Muizelaar 681fbd6c77 Color profile reading is broken on windows. b=492962 r=joe
The fix is to properly fopen() with "rb" instead of just "r", so that windows knows to treat it as a binary
2009-05-15 18:07:34 -04:00
Makoto Kato c75dcf9dc3 Backed out changeset c4b8a7e21ec9 2009-05-16 00:39:54 +09:00
Makoto Kato d9c183cd7f Bug 488851 - Enable SSE2 for pixman. r=jmuizelaar 2009-05-15 23:15:24 +09:00
Brad Lassey 3531142ffc fixing gfx build bustage in wince r=joe 2009-05-14 22:47:51 -04:00
Jeff Muizelaar 319d6f22da Bug 493079 - Update cairo to 1ae2ddc1dd4c90d50b8c57c4de677f8ab96b1fa2 r=joe 2009-05-14 22:03:26 -04:00
Jeff Muizelaar 1199440244 Bug 484954 - Fix a typo in the previous rgba text patch. r=vlad 2009-05-14 22:02:18 -04:00
Robert O'Callahan 91b6e58b8a Followup to bustage fix for bug 491595 2009-05-14 11:19:51 +12:00
Robert O'Callahan cc31a11232 Fixing bustage for bug 491595.
--HG--
extra : rebase_source : 36bf9b2a1cc8dabd0ef82d71ca1a04ae88587894
2009-05-14 11:10:40 +12:00
Robert O'Callahan 0e0a8762ec Bug 491595. Use path filling instead of platform glyph rasterization at a smaller size threshold of 256 device pixels, if the backend supports native filling (which we assume will be fast). r=vlad
--HG--
extra : rebase_source : 65728f993e0db12ec699203c5d3f711a6b51fb6e
2009-05-13 21:39:19 +12:00
Robert O'Callahan 8e48e1d7de Bug 489389. Limit size of temporary surface for tiling based on current clip extents. r=vlad 2009-05-08 15:19:41 +12:00
Robert O'Callahan 220943ef2a Backing out fix for bug 479852 due to regressions
--HG--
extra : rebase_source : 9545085000e8e2336198daad3aaa767747398542
2009-05-08 14:35:47 +12:00
Robert O'Callahan 04d1e985f1 Backed out changeset 836d5856f1e5 2009-05-08 14:34:49 +12:00
Ryo Onodera 83f6451dc7 Bug 489485. nsRect::ToNearest/Inner/OuterPixels should be nonstatic. r+sr=roc
--HG--
extra : rebase_source : 13778709270ab926e951a7782fce3632370ef7c7
2009-05-08 14:31:04 +12:00
Jonathan Kew d1affd7195 bug 490777 - don't hang/crash on unpaired low surrogate codepoint in RTL text, r=roc
--HG--
extra : rebase_source : 1c278a18b1a1dd52155158775e706764b34c5972
2009-05-08 14:16:44 +12:00
Jeff Muizelaar 8d27c70846 Bug 484954 - Propogate the component alpha flag when wrapping image surfaces to fix RGBA text on win32. r=vlad 2009-05-07 15:15:34 -04:00
Jeff Muizelaar 39c58f2170 Bug 488901 - Don't use a push group on Quartz surfaces in nsThebesImage::Draw(), since Quartz doesn't seem to have any practical limits on translation. r=vlad,joe 2009-05-07 14:33:29 -04:00
Benjamin Smedberg ea67c858f0 Bug 486064 - gfxtypes.h and gfxTypes.h conflict in flattened include directories on case-insensitive filesystems, r=joe
--HG--
rename : gfx/idl/gfxtypes.idl => gfx/idl/gfxidltypes.idl
2009-05-04 12:38:16 -04:00
Vladimir Vukicevic 36b89a4a13 b=479852; fix slow page scrolling with zoom when 1px tall or wide images are tiled; r=roc 2009-04-11 18:29:11 -07:00
Robert O'Callahan 8a7d0b5cf9 Backed out changeset 994ecd62b880 2009-04-12 01:02:06 +12:00
Jonathan Kew 91ca7b446b Bug 475968. Add padding pixels to loose ink bounds on Windows because of ClearType pixel bleed. r=roc
--HG--
extra : rebase_source : 552a9133411389dd151d2cb04e5b79370ec182d4
2009-04-10 13:22:54 +12:00
Jeff Muizelaar 3403e7277e Bug 487566 - OS/2 problems to build qcms; r=mozilla@Weilbacher.org 2009-04-11 09:53:40 +02:00
Masayuki Nakano aeafdbe10a Bug 482928 All menus, context menus, panels, etc, appear on primary display/screen/monitor when Firefox is on secondary r=smichaud+roc+jmathies, sr=vlad 2009-04-10 19:43:19 +09:00
Jonathan Kew 2568e2b270 Bug 487063. Assert that platform textruns are never called for zero-length text. r=roc
--HG--
extra : rebase_source : dc3dd429395d3219eb1f56e9ec4ecebd86bbfdae
2009-04-10 13:33:02 +12:00
Jonathan Kew e23049dcbc Bug 487063. gfxFontGroup::ComputeRanges should bail out on zero-length textruns. But avoid calling into platform textrun code for zero-length textruns, anyway. r=roc
--HG--
extra : rebase_source : 289989aaf2ebdf241e06aaf2bb46e170598e9b7b
2009-04-10 13:32:24 +12:00
Stuart Parmenter bf816437e7 Bug 482689. Optimize display lists for backgrounds. r/sr=roc 2009-04-08 08:19:51 -07:00
Jeremy D. Lea 5494668d31 Bug 419125 - Remove assert to fix bustage; 2009-04-08 12:48:34 -07:00
Jeremy D. Lea b0a154823b Bug 419125 - Part 3 - Merge nsRenderingContextImpl into nsThebesRenderingContext; r+sr=vlad 2009-04-08 11:40:32 -07:00
Jeremy D. Lea d1b14afbf4 Bug 419125 - Part 2 - Merge DeviceContextImpl into nsThebesDeviceContext; r+sr=vlad 2009-04-08 11:40:24 -07:00
Jeremy D. Lea 820d64c57f Bug 419125 - Part 1 - Minour cleanups of nsThebesDeviceContext; r+sr=vlad 2009-04-08 11:40:12 -07:00
Vladimir Vukicevic c78fd2cbe5 b=482676; fix build bustage with NEON explicitly disabled or not available; r=me 2009-04-07 19:03:48 -07:00
Vladimir Vukicevic 24fc958633 mobile only; temporarily disable building NEON pixman bits to see if it fixes build breakage 2009-04-07 18:44:22 -07:00
Vladimir Vukicevic 0e1dc56112 b=480134; apply 500 char limit to all OSX versions; r=roc 2009-04-07 12:24:28 -07:00
Vladimir Vukicevic 842b17b4d0 b=482676; add pixman NEON optimizations; r=jeff 2009-04-07 12:12:31 -07:00
Jeff Muizelaar 560a20d5d1 Bug 481926 - Rewrite color management component sr=vlad, r=ted, r=joedrew (\o/)
Replaces lcms with qcms
2009-04-07 12:02:11 -04:00
Robert Longson 030d4ba28c Bug 423756 - Support image-rendering attribute for html images and css backgrounds. r=joe,vlad sr=roc 2009-04-05 10:52:14 +01:00
Anders Kaseorg 497ebb13a7 Bug 190778 - [gtk2] Assumes font sizes are integers, they are not; r=blizzard sr=roc 2009-04-30 12:07:20 +02:00
Jonathan Watt 0b29897a09 Bug 488314. Kill SetMatrixPropagation, part 1. r=roc 2009-04-29 06:31:34 +02:00
Peter Weilbacher 054878b3b2 [OS/2] Bug 490390: fix crash with broken Wingdings font, r=wuno@lsvw 2009-04-29 01:10:56 +03:00
Doug Turner e360423deb bug 489594 - fix for unaligned read in fbCompositeSrcAdd_8000x8000arm. r=blassey 2009-04-28 09:46:28 -07:00
Makoto Kato 4e5000aef3 Bug 184657 - GFX should use the newer nsIPrefService APIs instead of nsIPref. r=roc. sr=vladimir 2009-04-04 18:43:42 +09:00
Joe Drew 745c70f481 Backed out changeset 6f3c2171bbb2:
Bug 481926 - Rewrite color management component. r=joe,ted sr=vlad
2009-04-03 16:27:27 -04:00
Jeff Muizelaar aaedb2ca38 Bug 481926 - Rewrite color management component. r=joe,ted sr=vlad 2009-04-03 15:09:56 -04:00
John Daggett bd46fbc500 Bug 468387. (reland) Fix Windows Mobile bustage. r=blassey 2009-04-02 17:08:11 +09:00
John Daggett 2417e8dbfb Bug 468387 - (reland) disable synthetic faces for downloadable fonts on Windows already specified as bold/italic. r=vlad 2009-04-02 17:06:33 +09:00
John Daggett 726accf85c Bug 468387. Reverting eb0b999b2f70 and 8d60bedd277b due to tinderbox crash. 2009-04-02 14:48:23 +09:00
John Daggett 5294de3193 Bug 468387. Fix Windows Mobile bustage. r=blassey 2009-04-02 13:59:13 +09:00
John Daggett eab18c3840 Bug 468387 - disable synthetic faces for downloadable fonts on Windows already specified as bold/italic. r=vlad 2009-04-02 10:35:59 +09:00
Jeremy D. Lea d37e6bf09c Bug 431634 - Part 1 - clean up header pollution; r+sr=roc 2009-04-01 13:59:02 -08:00
Jonathan Kew a0c7e4b040 Bug 481948. Rework Coretext glyph extraction code to mirror ATSUI improvements. r=roc
--HG--
extra : rebase_source : 70f67974136073b1c1c38ebe43bb2bd113770cfd
2009-04-25 20:24:25 +12:00
Jonathan Kew aa59d6e410 Bug 481948. Rework ATSUI glyph-extraction code to be more robust when glyphs are reordered. r=roc
--HG--
extra : rebase_source : 6175292f747cca9a284e69f89fe3e59bc3efd9c6
2009-04-25 20:23:57 +12:00
Kenneth Waters 2cbe8b5d64 b=488910,b=484864; fix directdraw path for aliased windows that aren't within screen bounds; r=vlad 2009-04-24 12:00:13 -07:00
Bob Clary de58ea82bf bug 389326 - crash test by Jesse Ruderman. 2009-04-24 10:08:21 -07:00
Bob Clary a30608d321 bug 376627 - crash test by Jesse Ruderman. 2009-04-24 10:08:18 -07:00
Bob Clary c623a621ee bug 348462 - crash test by Gilberto Ficara, Mats Palmgren. 2009-04-24 10:08:15 -07:00
Bob Clary eabf0ff750 bug 333861 - crash test by Georgi Guninski. 2009-04-24 10:08:12 -07:00
Karl Tomlinson b7008ca8ad b=489445 override PangoFcFontClass::get_glyph r=roc
--HG--
extra : rebase_source : c7c0d843f523f352958680d57d95d55561e2f4ee
2009-04-24 09:13:02 +12:00
Peter Weilbacher 24626be4ba Bug 488468: qcms build break with pre-4 GCCs (#if 0 commented text should be C/C++ commented), r=jmuizelaar 2009-04-23 19:38:11 +02:00
Takuro Ashie 7f287fe7ac b=489511; gfxFontCache will never hit on ft2 backend; r=karlt 2009-04-22 22:29:47 -07:00
Vladimir Vukicevic f6d4a5556c remove trailing comma for picky compilers 2009-04-22 18:13:05 -07:00
Vladimir Vukicevic 65a777f2dc b=488910, cairo ddraw backend for wince (configure bits); r=vlad 2009-04-22 17:48:30 -07:00
cmills@nvidia.com dfe008d12a b=484864, b=488910 - cairo ddraw backend for wince; r=vlad 2009-04-22 17:48:30 -07:00
Jeff Muizelaar 84cb8b7063 Bug 488955 - Fix linear gamma input tables, used in iCCP PNG testsuite images. r=joe 2009-04-22 13:49:09 -04:00
Jonathan Kew a2acf62270 Add Core Text backend, will eventually replace ATSUI. Turned off for 32-bit Mac OS X 10.4 SDK builds right now due to Mac OS X 10.4 not supporting Core Text. Try #2. b=389074 r=jdaggett 2009-03-29 17:31:51 -07:00
Josh Aas b75c3511a0 merge backout of e413694940b3 2009-03-27 14:33:47 -07:00
Josh Aas 7af19cb750 Backed out changeset e413694940b3 2009-03-27 14:32:49 -07:00
Jonathan Kew fe290e9e54 Bug 485351 - Hang [@ gfxWindowsFont::ComputeMetrics] and eating up all GDI resources with percentage height, mathml and binding; GDI resource exhaustion; r=roc
Fix Windows DC leak in TestCharacterMap, and avoid accumulation of temporary fonts in the cache leading to resource exhaustion.
2009-03-27 18:54:40 +01:00
Jonathan Kew 6f1e0ddbc2 Add Core Text backend, will eventually replace ATSUI. Turned off for 32-bit Mac OS X builds right now due to Mac OS X 10.4 not supporting Core Text. b=389074 r=jdaggett 2009-03-27 10:18:35 -07:00
Tobias Hunger 5714a55d0e Bug 485156 - cairo-qt fails to build; r=vladimir 2009-03-27 00:49:22 +01:00
Joe Drew 632de4d8c9 Bug 484076 - Shrink the glyph cache to fix tp_Rss regression. r=me 2009-03-23 21:53:40 -04:00
Brad Lassey 0b86d059ef bug 484076 - hypot depricated on windows and non-existant on windows ce r=vlad 2009-03-21 14:58:42 -04:00
Robert Longson 4758aaeb28 Bug 484150 - support image-rendering attribute. Includes some gfx code by vlad from bug 423756 which is r=joe. The rest is r=dbaron, sr=roc 2009-03-21 15:36:38 +00:00
Jeff Muizelaar dd1692bb97 Bug 484076 - Fix Windows CE build. 2009-03-20 16:46:52 -04:00
Joe Drew ad0229013e Bug 484076 - Update pixman and cairo. This upgrades Cairo to git revision c932a809d6484503d7ee267d934bbc87c8d44092. r=vlad 2009-03-20 16:02:45 -04:00
Taras Glek 46b3d18d98 Bug 483425 - memory leak fix + testcase r=vlad 2009-03-19 11:45:07 -07:00
Josh Aas 0459faa60f Stop using FlatCarbon headers on Mac OS X. b=482277 r=bsmedberg 2009-03-19 10:41:13 -07:00
Jeff Muizelaar f3a6485e12 Bug 484076 - Update pixman and cairo to newer upstream versions. r=vlad
Pixman revision is 072d848f592530973f1f0a0066a320ec5965625c
Cairo revision is 3ec94f9b5917b8f71304c982bd153e5a810f3b12
2009-03-19 13:34:17 -04:00
Taras Glek de78c14191 Bug 477708 - expose nsIRegion::getrects() to scripts r=vlad 2009-03-18 11:42:07 -07:00
Taras Glek 92d948d170 Backed out changeset 9d34172f942f 2009-03-18 10:20:50 -07:00
Taras Glek 6108033d35 Bug 477708 - expose nsIRegion::getrects() to scripts r=vlad 2009-03-18 09:53:34 -07:00
Taras Glek a988e29ee4 Bug 477708 - backout previous numRects, getRect attempt r=vlad 2009-03-18 09:53:14 -07:00
Hiroyuki Ikezoe b6f696c734 Bug 480249 - gfxWindowsPlatform::ResolveFontName() almost fails since direct access to mName member.; r=jdaggett 2009-03-18 17:07:33 +01:00
Karl Tomlinson 31b2e07bfd b=480098 correct weight units in gfxFcFontEntry::AdjustPatternToCSS r=roc
--HG--
extra : rebase_source : 79604f227fc80720e4df479f1d8929f5c21623f2
2009-03-11 15:00:43 +13:00
John Daggett cba18956e5 Bug 480267. (reland) Use guid as fontname for downloaded fonts. r=vlad 2009-03-11 10:00:44 +09:00
Joe Drew d4cb78e563 Backed out changeset 635b1c8783a6 - bug 480267 - because it seems to have
caused a reftest failure.
2009-03-10 12:25:05 -04:00
John Daggett 72c8338491 Bug 480267. Use guid as fontname for downloaded fonts. r=vlad 2009-03-10 22:21:17 +09:00
L. David Baron 1d20752bcb Remove internal support for units that were never in CSS (feet, miles, meters, kilometers, didots, ciceros). (Bug 482146) r+sr=bzbarsky 2009-03-09 16:14:34 -07:00
Robert O'Callahan 4102e87fe4 Bug 481697 - TextRunWordCache::MakeTextRun: Mismatched free() / delete / delete []; r=vladimir 2009-03-08 10:39:00 +01:00
Jonathan Kew 39d1301436 b=480507, don't crash if no fonts found in Windows font family; r+sr=vlad 2009-03-03 11:14:07 -08:00
Vladimir Vukicevic 9202ecdbdc b=481138; no, really fix pixman_have_arm_simd; r=vlad 2009-03-03 00:00:33 -08:00
Hiroyuki Ikezoe c907afb70a b=481138; initialize not set in pixman_have_arm_simd; r=vlad 2009-03-02 23:58:29 -08:00
Jeff Muizelaar e9aee04e35 b=468883; port pixman arm opts to Windows CE; r=jrmuizel,vlad 2009-02-26 12:03:51 -08:00
Jonathan Kew 92288243f1 Bug 474819 - Correct the sign of baseline offsets in ATSUI font backend. r=roc 2009-02-26 19:58:31 +13:00
John Daggett 271289f6d4 Bug 475164 - accept fonts that have null name records. r=vlad 2009-02-25 16:12:53 +09:00
Mats Palmgren b790fcdd1a Initialize mColor to fix UMR. b=480032 r+sr=vladimir 2009-02-25 02:42:52 +01:00
Jonathan Kew 6946d65601 Bug 445087; add extra pixel on each side of the glyph's black box returned by GetGlyphOutlineW, to avoid clipping ClearType pixels; r=(roc + vladimir) sr=roc 2009-02-24 17:53:31 +01:00
Jonathan Kew f669e45ce9 Bug 479276. Support a new kind of glyph bounding-box: TIGHT_HINTED_OUTLINE_EXTENTS, and use it to stop MathML spacing depending on exact ink extents. r+sr=roc
--HG--
extra : rebase_source : 43f9009f6457361e690062f87b2e5fda4041dc48
2009-02-24 21:32:58 +13:00
John Daggett e0c3b364de Bug 420981 - special case handling of UltraLight faces under Mac OS X 10.5 to work around Apple bug. r=vlad 2009-02-23 15:55:07 +09:00
John Daggett 1b864b0ab0 Bug 479152 - increment generation when local font used after external font fails to load. r=karl, sr=roc 2009-02-23 13:40:47 +09:00
Arpad Borsos 011c5b556a Bug 474369 - get rid of nsVoidArray; gfx part; r+sr=vladimir 2009-02-23 02:05:26 +01:00
L. David Baron 94595f2f88 Implement multiple background layers, implement fallback background color, and make -moz-background-inline-policy no longer be part of the background shorthand. (Bug 322475) r+sr=roc,bzbarsky 2009-02-19 21:29:21 -08:00
L. David Baron c674a753b4 Backed out changeset fde0b361f25e (bug 322475, main patch) due to Mac talos startup failures and hitting the NS_ABORT_IF_FALSE in SetupBackgroundClip, which may be related. 2009-02-19 13:51:46 -08:00
L. David Baron caf423a97a Implement multiple background layers, implement fallback background color, and make -moz-background-inline-policy no longer be part of the background shorthand. (Bug 322475) r+sr=roc,bzbarsky 2009-02-19 12:33:09 -08:00
L. David Baron 77c163c9a9 Back out all 8 changesets that I just landed (bugs 477959, 477961, 322475, 478899, 475215, 478156) again, because Talos Try server builds lie about which changesets they're testing. 2009-02-19 09:06:18 -08:00
L. David Baron 038026b7b5 Implement multiple background layers, implement fallback background color, and make -moz-background-inline-policy no longer be part of the background shorthand. (Bug 322475) r+sr=roc,bzbarsky 2009-02-19 07:29:28 -08:00
Jeremy D. Lea 32b765355b Bug 476726 - deCOMtaminate WidgetToScreen and ScreenToWidget; r+sr=roc
--HG--
extra : rebase_source : 4a35ccdcafbe8a0a9dded9f292a139b4679709e3
2009-02-18 16:11:49 -08:00
L. David Baron 0e185f2bc0 Revert (back out) the previous 11 changesets (bugs 477959, 477961, 477963, 477962, 322475, 478899, 475215, 478156), due to Mac talos orange with (as usual) no useful diagnostic. 2009-02-18 18:59:47 -08:00
L. David Baron 3c4144d0e6 Implement multiple background layers, implement fallback background color, and make -moz-background-inline-policy no longer be part of the background shorthand. (Bug 322475) r+sr=roc,bzbarsky 2009-02-18 17:13:25 -08:00
Ginn Chen 5ff783af51 Bug 478842 gfxColorManagementTest.cpp failed to build on Solaris r=bholley 2009-02-18 19:44:18 +08:00
John Daggett 0209f39cb9 Bug 476724 - clean out Windows-specific flags from gfxFontEntry. r=vlad 2009-02-18 16:33:39 +09:00
Serge Gautherie c6e1d10035 Backed out changeset: 719dca3419b5 2009-02-15 18:41:16 +01:00
Jeremy Lea b798bd8c19 Bug 476726 - deCOMtaminate WidgetToScreen and ScreenToWidget; r+sr=roc 2009-02-15 17:41:06 +01:00
Jesse Ruderman 81b4a03e38 Add crashtests 2009-02-13 14:54:17 -08:00
John Daggett 556ea03b1e Bug 465463 - use style attributes defined in @font-face rule (Mac OS X). r=vlad 2009-02-12 13:08:00 +09:00
Jesse Ruderman e0ff240014 Add a bunch of crashtests 2009-02-10 22:18:05 -08:00
John Daggett d11a4a9eb3 Bug 476504 - handle errors in fetching font metrics. r=vlad 2009-02-11 10:07:50 +09:00
Jesse Ruderman aab1c02b20 Add some crashtests 2009-02-10 16:36:04 -08:00
Vladimir Vukicevic de4f913caa b=477727; remove calls to GetViewportOrgEx; r=stuart 2009-02-10 15:10:07 -08:00
Taras Glek dd7e7418a2 Bug 477708 - expose nsIRegion::getrects() to scripts r=stuart 2009-02-10 15:10:07 -08:00
Jonathan Kew 4a08835d68 Bug 475092. Fix horizontal offsets for vertically-offset glyphs on Windows. r=vlad,r+sr=roc 2009-02-10 21:34:51 +13:00
mats.palmgren@bredband.net 7dc9e5bd7f Bug 477498, Crash [@ TextRunWordCache::MakeTextRun], r+sr=roc 2009-02-09 12:23:38 +02:00
Gavin Sharp 95260abedb Add bug 474886 to cairo README 2009-02-06 17:33:13 -05:00
L. David Baron 1134395c4b Invalidate the correct area when loading an image for which we've displayed the loading-image icon. (Bug 409870) r+sr=bzbarsky r=roc 2009-02-06 08:52:13 -08:00
Boris Zbarsky 416ea8c73b Bug 476724. Recompute underline offsets when user fonts load, and make sure to initialize all our members. r=jdaggett, sr=roc 2009-02-05 18:10:39 -05:00
Peter Van der Beken f7ae336f62 Backed out changeset d679ac3a8de0 - merge 2009-02-05 15:35:01 +01:00
Peter Van der Beken 9651357e4a Backed out changeset d679ac3a8de0 (Bug 445087. Add extra pixel on each side of the glyph's black box returned by GetGlyphOutlineW, to avoid clipping ClearType pixels. r=vlad) to fix orange. 2009-02-05 15:34:12 +01:00
Jonathan Kew 4bc53e4056 Bug 445087. Add extra pixel on each side of the glyph's black box returned by GetGlyphOutlineW, to avoid clipping ClearType pixels. r=vlad 2009-02-05 21:06:14 +13:00
Arpad Borsos ad2a673d8c Bug 476805. Stop leak by avoiding double refs. r+sr=roc 2009-02-04 14:21:02 +01:00
Zack Weinberg b621f00dd5 Bug 455364. Add Thebes API to extract a subimage of an image into a new image. r=vlad 2009-02-05 21:14:07 +13:00
Jeff Muizelaar bcb702f175 Bug 474886 - Allow rank 0 matrices when setting the font matrix. r=vlad p=jrmuizel
cairo_scaled_font_init() allows rank 0 matrics so cairo_set_font_matrix
should too. This keeps us from accidentally breaking our cairo context
and causing things to draw wrong.
2009-02-04 14:07:59 -05:00
Marco Bonardo 481aec6330 Backed out changeset 8a79415ac146 due to persistent orange on OS X unit test boxes 2009-02-04 11:50:07 +01:00
Boris Zbarsky 169cda186a Bug 476724. Recomputed underline offset after we rebuild our font set. r+sr=roc 2009-02-03 21:58:21 -05:00
Arpad Borsos 760ddfdea5 Bug 474116 - Clean up deprecated GTK symbols; r=(bsmedberg + roc) sr=roc 2009-02-02 18:49:58 +01:00
Robert O'Callahan be3fa9f56c Backed out changeset c7385f0a0168 2009-01-30 23:21:53 +13:00
Jonathan Kew 67ebf17341 Bug 475092. Fix incorrect positioning on Windows when glyph run includes vertically-offset glyphs is drawn to canvas. r=vlad
--HG--
extra : rebase_source : 30a3730fd3db418854462cc31dc0ee06c7f56ae0
2009-01-30 20:15:08 +13:00
L. David Baron 5e75e612a2 Implement CSS computation of font-stretch property and store it in the gfx font structures. (Bug 3512) r=vlad sr=bzbarsky 2009-01-29 12:39:18 -08:00
L. David Baron a770d59514 Separate previously-copied font constants into their own file and have them in one place rather than three. (Bug 3512) r=vlad 2009-01-29 12:39:18 -08:00
Doug Turner fd89dd61ba Bug 474825 - honor mozilla.widget.disable-native-theme preference on windows. r/sr=stuart 2009-01-28 15:39:13 -08:00
Robert O'Callahan 8e02c66450 Backed out changeset 360b4a2d0aa8 2009-01-29 00:55:19 +13:00
Jonathan Kew d9b584c12d Bug 475092. Fix incorrect positioning on Windows when glyph run includes vertically-offset glyphs is drawn to canvas. r=vlad 2009-01-28 22:41:34 +13:00
Jonathan Kew c40845e262 Bug 454098. Fix signs for baseline offsets for glyphs on Windows. r+sr=roc 2009-01-28 22:39:35 +13:00
Behdad Esfahod a50998e4f0 Bug 460023. Change the glyph dropping safety margin from 2em to 10em. r=vlad 2009-01-28 22:36:23 +13:00
Ginn Chen fe788eb2e5 Bug 474758 FcFontSetSort() crashes on Solaris r=karlt 2009-01-23 16:24:36 +08:00
Brad Lassey 5bbc65e72d bug 462908 - Follow up to fix indentation and include patch in gfx/cairo 2009-01-23 02:59:24 -05:00
Brad Lassey 5e96a8aca5 bug 462908 - Implement Freetype font backend for windows ce r=karlt, jdagget sr=stuart, vlad 2009-01-23 01:24:29 -05:00
Daniel Holbert c755eee8e7 Bug 473236 - Remove executable bit from files that don't need it. (Only changes file mode -- no code changes.) r=bsmedberg 2009-01-21 22:55:08 -08:00
Fred Jendrzejewski fd612bd117 Bug 466622. Replace nsCStringArray with nsTArray<nsCString> for more consistent code and fewer heap allocations. r+sr=roc,r=bsmedberg
--HG--
extra : rebase_source : b963bf5de9d9c445b14620479691482512e0faf2
2009-01-22 17:15:34 +13:00
Arpad Borsos 7523e7d43d Bug 471877 - Cleanup GTK includes; further cleanup + system-headers cleanup; r+sr=roc 2009-01-21 16:24:46 +01:00
Fred Jendrzejewski 9bd9de1b83 Bug 461047 - Replace nsStringArray with nsTArray<nsString>. r+sr=roc 2009-01-18 21:14:14 +01:00
Robert O'Callahan 730e65f154 Backed out changeset 8019a959aade 2009-01-16 22:20:33 +13:00
Fred Jendrzejewski 6e7f270ba9 Bug 461047. Replace nsStringArray with nsTArray<nsString>. r+sr=roc
--HG--
extra : rebase_source : 7a20af24c97867efbb28dafa6a70ea1b4cf00e58
2009-01-16 20:51:04 +13:00
Jeremy Lea 1b7e1f21f0 Bug 448830. Make nsIntRect/nsIntMargin/nsIntSize/nsIntPoint different types from nsRect/nsMargin/nsSize/nsPoint different types for better compile-type unit checking. r+sr=roc
--HG--
extra : rebase_source : a331a9e49fbc5931f546919281fcca7f008ab615
2009-01-15 16:27:09 +13:00
Ehsan Akhgari fe7e483e91 Bug 473530 - PRBool violations after landing of bug 441782; r,sr=roc 2009-01-15 11:24:44 +03:30
Doug Turner de81fcecc7 Bug 468399. Use image surfaces on windows mobile for performance reasons. r=vlad 2009-01-14 16:19:39 -08:00
Robert Kaiser d8fb321cd1 bug 464687 - --enable-tests static build bustage in thebes/test, r=vlad 2009-01-14 14:48:33 +01:00
Josh Aas 7a61ccd865 Port gfx to 64-bit Mac OS X, part 1. b=489354 r=jfkthame sr=roc 2009-04-22 09:08:09 -04:00
Vladimir Vukicevic fb65af8d59 b=488685; cruft in GIF image; r=joe,roc 2009-04-21 21:33:37 -07:00
Jeff Muizelaar 70c1b971c7 Bug 488747 - Fix endian handling in qcms. r=joe 2009-04-21 22:22:29 -04:00
Jeff Muizelaar e228481faa Bug 489133 - Handle bad cHRM chunks in PNGs. r=joe 2009-04-21 22:21:48 -04:00
Jeff Muizelaar d9650e7d20 Bug 489133 - Fix handling of bad whitepoints in PNGs. r=joe 2009-04-21 22:21:13 -04:00
Jeremy Huddleston 04db73729f Bug 484457 - Define Status int breaks OSX builds when including MachineExceptions.h. r=vlad 2009-04-20 18:36:37 +02:00
Hiroyuki Ikezoe 0d7ea8ed3f Bug 484083 - Should load TruType Collection file too; r=bugmail@lassey.us sr=jdaggett 2009-04-18 20:02:26 +02:00
Karl Tomlinson dfb38e95ad Bug 478871: Switch to new_font() and default_substitute() functions from Pango API to fix compile issues with newer pango versions. r=behdad sr=roc 2009-04-17 12:51:43 -07:00
Makoto Kato f4a4cf894e Bug 487900 - Enable SSE2 code for x86_64 in qcms. r=jmuizelaar 2009-04-15 22:14:03 +09:00
Ginn Chen 7edec35c73 Bug 487765 - Fix qcms build problems on Solaris. r=jrmuizel 2009-04-14 11:25:31 -04:00
Marco Perez 9d034bcc0c Bug 487754 - Problems building qcms on FreeBSD. r=jrmuizel 2009-04-14 11:08:23 -04:00
Jonathan Kew 84c9c97447 Bug 487549. Do kern table sanity checks on downloaded fonts. r=roc 2009-04-14 17:48:32 +09:00
Hiroyuki Ikezoe 3bfcc07136 bug 486621 - Should close file handle in gfxWindowsPlatform::FindFonts() r=vlad 2009-04-13 22:49:06 -04:00
Hiroyuki Ikezoe 376ac275d7 bug 486624 - AppendFacesFromFontFile is called twice for the same font file r=blassey, vlad 2009-04-13 22:49:06 -04:00