Commit Graph

1812 Commits

Author SHA1 Message Date
Jonathan Kew
84ecdc13b7 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
862b9f6d18 bug 548863 - eliminate warning about CreateFontInstance on mobile. r=jdaggett 2010-03-10 12:46:36 +00:00
Bas Schouten
63b12a7696 Bug 550723: Properly support the CLEAR operator for D2D surfaces. r=jrmuizel 2010-03-10 13:38:21 +01:00
Steven Michaud
52b5f2cff3 Bug 541809 - Firefox autoreleasing objects without pool in place. r=josh,jfkthame 2010-03-09 10:37:56 -06:00
Bas Schouten
2fe46f4c56 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
1074689b38 Bug 550877 - Crash happen on attempt to delete bad created gfxShareImageSurface. r=dougt. 2010-03-08 19:28:54 +02:00
Jonas Sicking
c4106f7f22 Bug 534136 Part 2: Use 16bit-char buffers inside atoms. r=bz sr=mrbkap 2010-03-08 07:45:00 -08:00
Jonas Sicking
1a6c0165bf 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
f7cd5098d6 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
3d3a707f5a Bug 550772 - fallback pref font handling for CJK fonts is broken r=jdaggett 2010-03-08 18:14:56 +09:00
Walter Meinl
76dd42f941 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
124c35352b 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
c4c4f0664c Bug 550468 - Fix support for Pango font engine on Qt platform. r=karlt. 2010-03-06 15:29:55 +02:00
Hanspeter Niederstrasser
1aa988def9 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
98da85a059 Bug 548793. Initialize XRender version fields if XRender isn't available. r=jrmuizel 2010-03-05 13:10:42 +13:00
Mike Kristoffersen
abdb2aa82c 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
b2de77e13d 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
9ba05c4318 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
0c2bbe961d Bug 549666: Native rects should be pixel aligned. r=vlad 2010-03-04 20:30:16 +01:00
Bas Schouten
e35f7796fd Bug 549652: Fix a potential leak. r=jrmuizel 2010-03-04 20:30:10 +01:00
Bas Schouten
f6a6cbe7bb Bug 549652: Optimize SOURCE operator where possible. r=jrmuizel 2010-03-04 20:30:08 +01:00
Bas Schouten
bd3c8c2f83 Bug 549652: Properly support clearing surfaces. r=jrmuizel 2010-03-04 20:30:05 +01:00
Brad Lassey
7941559ff8 bug 547521 - enable building for windows mobile with --disable-libxul r=ted 2010-03-04 13:47:35 -05:00
Jeff Muizelaar
c887d8596e Bug 550188. qcms: remove an empty loop that annoyed coverity. r=bgirard 2010-03-04 12:13:13 -05:00
Boying Lu
8880b5ccf2 Bug 549805 - Failed to build liblayer.so on OpenSolaris. r=roc, sr=vlad 2010-03-04 10:26:11 +01:00
Simon Montagu
c98bc79fd2 Add Tibetan to font selection UI. Bug 441110, r=emk 2010-03-04 10:55:53 +02:00
Jonathan Kew
85144c835a 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
6d6ccbd638 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
82d9fd2412 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
ceab423709 Bug 547657 gfxSharedImageSurface.cpp failed to compile on Solaris r=jrmuizel 2010-03-02 13:57:21 +08:00
Bas Schouten
07ee37b338 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
4a7de671ca Fix windows debug build bustage from bug 534425 2010-03-01 10:46:37 +00:00
Robert O'Callahan
13329db1f8 Bug 534425. Part 2: Create BasicLayers implementation. r=jrmuizel 2010-03-01 20:56:18 +13:00
Robert O'Callahan
0bdda6b815 Bug 534425. Part 1: Create initial layers API. r=jmuizelaar,sr=dbaron 2010-03-01 20:56:18 +13:00
John Daggett
9c6d706e15 Bug 548983. Override GetStandardFamilyName for the DWrite font list. r=bas 2010-02-28 16:27:22 +09:00
Neil Rashbrook
6a2aa516ea 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
a77a681fe4 Bug 548177 - remove ATSUI text rendering code. r=jdaggett 2010-02-26 06:20:38 -08:00
Bas Schouten
dcdb088a10 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
9a27cf7646 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
c1c65f039e 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
6ed1f5d145 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
3d28b28018 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
e9d0f828e0 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
d33c429bba Bug 533251. Always insert default font if needed when rebuilding font list. r=jkew 2010-02-24 16:18:49 +09:00
Mark Banner
8038a1962b Possible bustage fix for shared,non-libxul builds following Bug 544250. r=bustage fix 2010-02-20 09:42:55 +00:00
Oleg Romashin
10bae41c14 Bug 544250 - Implement different rendering backends for Qt mozilla port. r=jmuizelaar. 2010-02-19 19:46:54 -08:00
Steve Snyder
929a12a259 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
dd9376eca9 Bug 543502 followup: replace non-critical assertion in GDIFontList with optional logging. r=jdaggett 2010-02-18 11:52:44 +00:00
Jonathan Kew
a36f66c45b 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
61445dbd5b Bug 545317. Trim out redundant font cache handling code. r=jkew 2010-02-18 12:31:20 +09:00
Doug Turner
02e532de27 removing gfxSharedImageSurface files. part of backout of 544250 2010-02-16 11:03:17 -08:00
Doug Turner
184af0aa49 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
3f1e3cf170 Bug 544250 - Implement different rendering backends for Qt mozilla port. r=jmuizelaar 2010-02-16 10:32:35 -08:00
Oleg Romashin
5cfa8aef3e Bug 544250 - Implement different rendering backends for Qt mozilla port. r=jmuizelaar 2010-02-16 10:15:52 -08:00
Alfred Kayser
9636e467d5 bug 386937: get rid of ConvertPixels (r=vladimir) 2010-02-12 10:17:51 +01:00
Jonathan Kew
6454626bae Bug 541924 followup - use the predefined nsStringHashSet class instead of nsTHashtable<nsStringHashKey>. r=jdaggett 2010-02-11 07:00:07 -05:00
Jonathan Kew
97229bf265 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
8668ef9bd2 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
e52c2af98f Revert 3f91dcac71c4 for breaking 'make check'. 2010-02-09 00:07:00 -05:00
Jeff Muizelaar
c631d2fce6 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
271756558e 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
55ebf80987 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
84fba3ea8c Bug 536765 - Cairo Qt surface backend save()/restore() inconsistencies. r=jrmuizel 2010-02-03 23:29:30 -08:00
Bas Schouten
3ac80af6e5 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
b612d41a2e Bug 542962 - Remove some zero byte files, r=dbaron 2009-12-18 21:26:13 -08:00
Makoto Kato
3c3953210e Bug 536725 - Disable SSE1 code on Windows x64 r=jmuizelaar 2010-02-01 17:43:21 +09:00
Jonathan Kew
3c41a0619b Bug 540702: fix incorrect char-to-glyph array indexing. r=jdaggett 2010-01-30 13:16:35 +00:00
Jonathan Kew
b1b7add9e6 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
d067f3ab2b Bug 542162 - Use fullname and Postscript name tables for src local lookups. r=jkew 2010-01-29 10:41:25 +09:00
Jonathan Kew
b5b474a080 Bug 541924: fix regression in handling bad-underline fonts blacklist on Windows. r=jdaggett 2010-01-28 06:56:16 +00:00
Jonathan Kew
a4453fa407 Bug 542453: use nothrow and null-checking for potentially large allocations. r=roc 2010-01-27 22:23:57 +00:00
Mats Palmgren
0bac01734a 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
35b54beeb5 Bug 541277: correct boundary handling in character/glyph clump processing. r=roc 2010-01-27 07:46:31 +00:00
Jacek Caban
19e7af1520 Bug 529734 - Firefox 3.6b3 Crash [@ CMValidateProfile ]; mingw fix v1.1.
r=neil.
2010-01-24 14:58:31 +01:00
Bas Schouten
1cdb3dcbee Bug 527707. Cairo DirectWrite and Direct2D Backends. r=jrmuizel 2010-01-22 15:38:31 -05:00
Jesse Ruderman
bb2d0a2624 Add crashtests 2010-01-21 11:07:51 -08:00
Jeff Muizelaar
027bedcc63 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
ef56830e01 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
e20cd75bd7 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
bfe1e71cd9 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
ca2d8beb78 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
4da26e4f38 Bug 516973 - Mismatch between Cairo and Thebes surface types. r=jmuizelaar 2010-01-16 18:04:52 +01:00
Benoit Girard
0ad9b22ba5 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
a03348a408 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
b57cc9e69d Bug 505711 - Compilation failure on MinGW in gfx/thebes. r=jfkthame 2010-01-14 21:31:06 +00:00
Jonathan Kew
67949f94d0 Bug 538730: fix Windows synthetic bolding regression from bug 493280. r=jdaggett 2010-01-13 10:42:25 +00:00
Dave Townsend
3f5f6023c5 Backed out changeset 4b725bb53baa from bug 539165 due to reftest failure 2010-01-12 16:27:48 -08:00
Jeff Muizelaar
5562b46b91 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
ef60e5fbb0 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
c6e1abd90c [Bug 539037] Qt bustage in gfxFontEntry. r=vlad. qt only 2010-01-11 12:31:43 -08:00
Jesse Ruderman
243c9242a9 Add crashtests 2010-01-10 19:50:41 -08:00
Jonathan Kew
e7a314f2f8 Bug 538628. Initialize font family field for each font face. r=jdaggett 2010-01-09 12:52:32 +09:00
Jonathan Kew
a9db416182 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
8be062c592 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
d06dd51982 Bug 538065: avoid possible out-of-bounds array index in gfxFont::SanitizeGlyphRuns(). r=roc 2010-01-07 13:53:25 +00:00
Ginn Chen
a71851dfb1 Bug 537070 qcms failed to build with -m64 on Solaris x86_64 r=jrmuizel 2010-01-06 15:02:04 +08:00
Josh Soref
52016bd074 Bug 529734 - Work around buggy os crash [@ CMValidateProfile] by adding exception handling, r=neil 2010-01-05 18:39:56 -05:00
Stuart Parmenter
4d425088eb 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
d5595161ac 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
bdfe9682ba Add patch file to Cairo directory for bug 534260. (NPOTB) 2009-12-24 07:23:28 +00:00
Jonathan Kew
906e7cf4f3 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
94c533cabd Bug 534352. Accept fonts with redundant cmap sentinel value. r=jdaggett 2009-12-22 09:47:18 +00:00
Metal Sonic
4c1b34d634 Bug 507387 - fix copyright holder; Mozilla Corporation -> Mozilla Foundation. r=gerv. 2009-12-21 21:50:30 +00:00
Jonathan Kew
9cf092266b 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
e96ca9e720 Bug 534919: do not inherit font from ZWNJ to adjacent character. r=roc 2009-12-16 15:47:12 +00:00
Benjamin Smedberg
daab3b8125 Merge mozilla-central into electrolysis. 2009-12-15 20:31:04 -05:00
Daniel Holbert
0cca8e9b77 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
409a908656 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
069ce47ef6 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
780af2e776 Bug 435313 - "Printing on linux should set SIMPLIFY_OPERATORS | DISABLE_SNAPPING" [r=vlad] 2009-12-15 17:04:22 -05:00
Jim Mathies
23118539a9 Bug 531860 - plugin-alpha-zindex ref test fails with oopp enabled. r=jmuizelaar. 2009-12-14 18:27:25 -06:00
Robert O'Callahan
5c4bf1f0ba Bug 534426. Use our zlib.h, not system zlib.h. r=jfkthame 2009-12-16 09:09:00 +13:00
Benjamin Smedberg
999be86ac2 Merge mozilla-central into electrolysis. 2009-12-14 08:01:18 -05:00
Benjamin Smedberg
422b4b28d2 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
96d13f9099 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
767eb11cb4 Merge mozilla-central into electrolysis 2009-12-04 11:28:50 -05:00
Jim Mathies
7783b7b59a Bug 522299 - fix linux bustage. 2009-12-01 16:26:45 -06:00
Jim Mathies
0ffd1b2e75 Bug 522299 - Electrolysis: Get windowless plugins drawing on win32. r=jmuizelaar. 2009-12-01 15:05:26 -06:00
Karl Tomlinson
3e31a49e93 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
2fab901966 Bug 530931: Maemo shouldn't use the true DPI [r=roc] 2009-11-25 17:27:05 -05:00
Ted Mielczarek
90122f0ace bug 530093 - allow building with VC10. gfx changes. r=jdaggett 2009-11-23 10:20:21 -05:00
Ginn Chen
8042e8805d 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
0d1e7cde54 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
20be438b77 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
67b2a6c40e 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
48dd8bd161 Bug 528941 - Remove pangox.h includes. r=karlt 2009-11-18 14:20:15 +01:00
Mark Finkle
f59c129aa0 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
5c199b11fd Bug 531289: Firefox doesn't obey system dpi settings anymore [r=roc a=blocking] 2009-11-30 16:44:55 -05:00
Jonathan Kew
14c50c157d 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
308e1a0311 Add crashtests for several bugs 2009-12-06 16:54:07 -08:00
Vladimir Vukicevic
2e0f9d6bd7 b=523959; [webgl] enable WebGL with EGL on Maemo and WinCE; r=stuart 2009-12-06 16:07:58 -08:00
Jeff Muizelaar
26b24b8c8d 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
9c3353941f 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
8819678012 Bug 480906: fix incorrect enum value mentioned in comment. r=roc 2009-12-14 10:35:46 +00:00
Karl Tomlinson
a527c04bef 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
98db394861 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
f11b5087cc 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
c7b98a5043 Bug 526882. Create nsIntRegion. r=jmuizelaar 2009-11-10 14:00:36 +13:00
Takuro Ashie
3c42e71f49 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
0da6995ce3 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
7efb83c660 Test for bug 509244 2009-11-02 16:35:20 +13:00
Karl Tomlinson
5b37c7cce2 Test for bug 509244 2009-11-02 16:21:24 +13:00
Takuro Ashie
23139b43fb Bug 505284 - bottom of fonts cut off in dialogs. r=karlt 2009-10-30 16:13:41 -07:00
Bas Schouten
039ec98ac1 Bug 524462. Fix startup crash in pref fonts with funky cmaps. r=jdaggett 2009-10-30 16:41:13 -06:00
Doug Turner
195c21873d Expose device type in user agent. r=vlad 2009-10-24 23:09:46 -07:00
Jeff Muizelaar
abe4c1f753 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
be9ef0b364 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
62dedaf641 Add more crashtests 2009-10-15 14:22:11 -07:00
Jesse Ruderman
8771686ba7 Fix likely typo in this crashtest file 2009-10-13 12:30:46 -07:00
Honza Bambas
2980177167 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
5431eed7c0 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
5eefe26460 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
4080919147 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
246e3ab129 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
0661a95762 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
6a4d539353 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
0e0282a2f8 Bug 561412 - new yuv -> rgb conversion code assumes GTK=linux. r=roc 2010-05-02 14:20:40 +02:00
Oleg Romashin
71d93b5308 Bug 562710 - Disable -pedantic for cairo-qt code. r=jmuizelaar 2010-05-01 08:22:42 -04:00
timeless@mozdev.org
17a071fb05 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
64feb1505a Bug 562664 Linux static build bustage with "undefined reference to mozilla::gfx::ConvertYCbCrToRGB32". r=ted 2010-04-30 21:46:25 +01:00
Honza Bambas
64a81f5716 Backout bug 426788 2009-09-29 17:32:54 +02:00
Honza Bambas
e0721031cd 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
7343dac5ab Bug 517045. Remove code causing startup regression in Mac font initialization. r=jkew 2009-09-29 09:38:59 +09:00
Mark Finkle
5ca2ebf429 Bug 518378: buttons and list boxes in content document are unreasonably large, r=dbaron 2009-09-26 20:21:32 -04:00
Tobias Hunger
28c24755b6 Bug 518585 - Fix the cairo Qt backend to build. r=pavlov 2009-09-26 17:51:08 +02:00
Mitchell Field
eb31b31d25 Bug 514665 - fix stupid module name differences on windows. r=ted 2009-09-25 18:41:16 +02:00
Sylvain Pasche
dd513b17cc Bug 517218 - Backout bug 515455 which didn't address the real issue. r=roc 2009-09-25 18:40:48 +02:00
Jeff Muizelaar
fe18ffef29 Backed out changeset cb4f078cc8cb (bug 512865)
Was causing crashes on the leak test box.
2009-09-24 23:35:53 -04:00
Steve Snyder
0ed3ad35a2 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
3fab3ffab7 Bug 518281: DPI on n810 is incorrect (part 2), r=stuart 2009-09-23 02:31:38 -04:00
Mark Finkle
50bf449113 Bug 449283: DPI on n810 is incorrect, r=roc 2009-09-22 08:45:56 -04:00
Phil Ringnalda
e62c83fdc6 Bug 495228 - Remove checks for mac MOZ_WIDGET_TOOLKIT, r=ted 2009-09-18 19:59:53 -07:00
Peter Weilbacher
225cff8d8f [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
8f71962ebf 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
3a6296ca39 Bug 505386. Compensate for unpadded font tables when renaming fonts. r=jkew. 2009-09-18 11:39:22 +09:00
John Daggett
b8d1f9f7eb Bug 516709. Do better validation of cmap tables when loading fonts. r=jkew. 2009-09-18 09:45:29 +09:00
Jonathan Kew
5d195abe72 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
7f99e7a86f 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
7aeb0552dd 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
5172688f96 Bug 516971 - "Remove lcms from the tree" [r=bholley r=gerv] 2009-09-17 01:17:19 -05:00
L. David Baron
2b3aa05445 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
7f0b0c4ec7 Bug 515192. Update cairo to 655a4dbc36d95ce4a82cbc13aa9e2002b41fa4de
This time without:
c0e01d9cd71bd958e1b31a03cea4c08a1bdf4926 (Improve GC caching efficacy)
2009-09-14 22:43:09 -04:00
Steffen Imhof
76bf54e530 Bug 498243. Make clipping reset explicit. r=vlad
--HG--
extra : rebase_source : b055dd091f5f4d8d3219d66863c71aec91e60ad3
2009-09-11 10:32:32 +12:00
Robert O'Callahan
f64d147ce2 Add cairo patches for Quartz gradient fixes
--HG--
extra : rebase_source : 7b50d07ec411410c7fda7b8fba423610018fd6cc
2009-08-26 10:05:44 -07:00
Takuro Ashie
56425247f2 b=513192; Crash [@nsAString_internal::BeginReading(nsReadingIterator<unsigned short>&)]; r=jfkthame 2009-09-10 13:57:27 -07:00
Vladimir Vukicevic
e2e8338594 b=514968; optimize FT2 textrun creation with glyph cache; r=jfkthame 2009-09-10 13:52:40 -07:00
Sylvain Pasche
5cbcd2ae99 Bug 515455 - "Backward compatibility when layout.css.devPixelsPerPx is an integer" [r=roc] 2009-09-10 14:43:41 -04:00
Chris Jones
f57cd2825a bug 504034: initialize RgnRectMemoryAllocator non-statically by heap allocating it. r=vlad 2009-09-09 20:22:03 -05:00
Jeff Muizelaar
15aecb7830 Backed out changeset 3d7b55f16ec5 2009-09-09 14:30:44 -04:00
Jeff Muizelaar
9106c6fb06 Bug 515192. Update cairo to 655a4dbc36d95ce4a82cbc13aa9e2002b41fa4de 2009-09-09 12:11:46 -04:00
Takuro Ashie
33755981fd 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
6736b50d62 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
56304c7aa1 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
411161c562 Bug 514992 - Remove nsIWidget::Invalidate(PRBool aIsSynchronous). r=roc
--HG--
extra : rebase_source : dfdf06c8547b00744647d4a285809a57cdbfe1f4
2009-09-08 09:53:36 +12:00
Mook
782c1706ab use PRUptrdiff, not unsigned long, for PtrBits in gfxFont [r=vlad] 2009-09-04 21:46:09 -05:00
Benjamin Smedberg
008e309c7f Bug 513032 - remove empty conditionals in our makefiles, r=ted 2009-08-27 10:48:18 -07:00
Benjamin Smedberg
5d0d982cec CLOSED TREE spelling fixes to kick new builds. 2009-09-03 11:14:54 -04:00
Sylvain Pasche
e2e27d0066 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
4f45741fc0 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
48caf1048e [OS/2] Bug 490561 - update GetMetrics 2009-08-29 00:58:25 +03:00
Jeff Walden
75a36235ad 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
8943704095 Bug 457949 - no need for Stopwatch r=bsmedberg
--HG--
extra : rebase_source : 5cd3baecf54295012b28d42fc7bf4c9b34e12714
2009-08-28 11:03:51 -07:00
Jesse Ruderman
e1a92dde70 Add more crashtests 2009-08-27 21:11:40 -07:00
Jesse Ruderman
15e3a448a6 Add crashtests 2009-08-27 19:48:20 -07:00
Benjamin Smedberg
0df64c6bc4 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
70eeaa8a7f 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
782f6cc454 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
7b54d43bbb 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
ad0d3ca554 Backed out changeset 875c4ba4cbc8 2009-08-25 15:46:20 -07:00
Robert O'Callahan
0580caa913 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
10e5cb9171 Bug 499621. Follow-up fixup to synthetic bolding on Windows. r=jkew. 2009-08-26 01:59:20 +09:00
Benjamin Smedberg
2e9438fd2f 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
4c40edaac1 Re-enable crash test for bug 441360 on gtk2 platforms. b=455463 r=me 2009-08-22 19:15:25 +02:00
Ryo Kawaguchi
7e855c94bb Add tests to TestRect and fix TestColorNames. (Bug 113577) r=roc 2009-08-21 13:39:25 -07:00
Peter Weilbacher
cbf3f804fd [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
da105abed8 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
f9a13f12c9 fix Qt and GTK bustage in gfxFT2Fonts from bug 493280, r=jfkthame 2009-08-18 09:26:24 +01:00
Masatoshi Kimura
666a2c30e5 fix wchar_t incompatibility from bug 493280, r=jfkthame 2009-08-18 09:26:20 +01:00
Jonathan Kew
4081cee632 further winmo (gfxFT2Fonts) bustage fix from bug 493280 2009-08-16 18:12:12 +01:00
Jonathan Kew
e8277f0e68 fix for winmo bustage from bug 493280 - use accessor for protected member in gfxFontFamily 2009-08-16 17:29:35 +01:00
Jonathan Kew
717b51707f 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
beed7780bf b=509244; gfx crash on memory pressure notification; r=karlt 2009-08-14 16:51:30 -04:00
Jeff Walden
f3edaadfea 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
c8f711113e 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
f45ce76b76 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
a27974ef72 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
b7d93a84fe bug 491305 - Allow loading fonts from an application folder, follow up 2009-08-11 14:21:04 -07:00
Brad Lassey
66d0dc5c56 bug 491305 - Allow loading fonts from an application folder r=vlad 2009-05-04 13:00:54 -04:00
Jeff Walden
d992b71b42 Bug 508325 - "ABORT: negative scaling factors must be handled manually". r=roc 2009-08-05 15:34:27 -07:00
Vladimir Vukicevic
b2ef6c1d62 b=507037; hang on WinCE in gfxFontFamily::FindFontForStyle; r=jdaggett 2009-07-30 11:19:34 -07:00
Jeff Walden
a24a25ba2e 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
82ace80f84 Bug 492309. Remove useless gfxTextRuNnFactory flags. r=vlad
--HG--
extra : rebase_source : 4cdbc37f404c07f509adbfb581c662187813bc4a
2009-07-30 14:59:41 +12:00
Timothy Nikkel
c28e754020 Bug 503814. iframe contents shifted slightly due to rounding issue. r+sr=roc 2009-07-29 18:10:50 -04:00
Ginn Chen
2a18ac76b5 Bug 505678: Downloadable font feature is broken with Sun Studio compiler r=jdaggett 2009-07-29 17:40:33 +08:00
Makoto Kato
b9909fb293 Bug 505691 - Remove unnecessary include of nsIPref.h. r=vlad 2009-07-28 18:33:20 +09:00
Karl Tomlinson
e6e8086a71 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
228d54b988 Bug 499621. Fix synthetic bolding of downloadable fonts on Windows. r=jkew 2009-07-23 11:22:24 -10:00
John Daggett
5120ac28f0 Bug 496573. Fix font load failure for fonts with family/fullname mismatch. r=vlad 2009-07-22 22:08:23 -10:00
Karl Tomlinson
639c7427eb 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
86ae0b7a12 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
f1000364be 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
d791a9ae63 Bug 339548. Part 8: Create nsPoint::ToNearestPixels. r=dbaron 2009-07-22 12:44:58 +12:00
Robert O'Callahan
f26c241975 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
6c441f55f7 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
6f803b386e 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
55456ba804 merge backout of b6d407af386f 2009-07-15 11:06:15 +01:00
Jonathan Kew
6311f5f4a6 Backed out changeset b6d407af386f for causing bug 503718 on Windows 2009-07-15 11:04:00 +01:00
Jonathan Kew
386d919e73 merge backout of 705ef05105e8 2009-07-15 11:02:57 +01:00
Jonathan Kew
545c663945 Backed out changeset 705ef05105e8 for causing bug 503718 on OS X 2009-07-15 10:59:26 +01:00
fantasai
137e46ea99 Bug 499377 addendum - Complete nsMargin arithmetic for nsRect r=roc 2009-07-14 22:20:32 -07:00
fantasai
1a4e383ad9 Bug 499377 - Store float region on frame r+sr=roc 2009-07-14 22:19:31 -07:00
Peter Weilbacher
0a2e5d1a8f [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
2746f1c822 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
d2be65d245 Bug 501475 - Remove nsPaletteInfo and friends. r=joe 2009-07-09 12:27:44 -07:00
Tobias Hunger
e8ade3ab9b Bug 498871 - Remove use of unnecessary QBrush pointer. r+sr=pavlov 2009-06-17 11:08:26 +02:00
Tobias Hunger
2b04096923 Bug 498873 - Remove use of unnecessary QPen pointer. r=pavlov 2009-06-17 13:21:04 +02:00
Vladimir Vukicevic
809be8d5c7 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
ef7dde313c 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
1499c311a9 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
990145193e 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
3e5827ad6c bug 503096 - always used FILTER_FAST for mobile r=jmuizelaar 2009-07-08 12:50:07 -04:00
Jonathan Kew
89f34af9f3 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
329795d916 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
a3a14052d6 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
32b1a71c2d b=499853; swimplify missing glyph rendering on mobile; r=stuart 2009-07-01 11:36:57 -07:00
Jeff Muizelaar
591639a8a3 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
2b751e300c Bug 500196: cairo/qt fails to build -- yet again, r=mfinkle 2009-06-30 09:58:29 -04:00
Jeff Muizelaar
16a322033e 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
5ffc3df659 b=487693; avoid aggressive invalidation in canvas; r=roc 2009-06-25 13:31:35 -07:00
Vladimir Vukicevic
ce0b21af22 b=492724; pull out canvas utility functions into CanvasUtils/LayoutUtils; r+sr=roc 2009-06-25 13:30:56 -07:00
Tobias Hunger
183415ffd9 Bug 498843. Cleanup whitespace. r+sr=pavlov
--HG--
extra : rebase_source : ee45a9fc21a466c832f70ae43e7f77a126e4c762
2009-06-17 09:56:36 +02:00
Timothy Nikkel
8e2fddb350 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
9252a1889a 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
454cce4eb1 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
fb3ba8159f 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
28a4d143b9 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
99cdc7b3c3 Bug 466250 - build failure for cairo-gtk2 build with a directfb cairo; r=roc 2009-06-23 12:50:08 +09:00
Jeff Muizelaar
9ab4d687c1 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
6e93a35747 Bug 498910: Add method to flush qpainter, r=mfinkle 2009-06-22 15:19:43 -04:00
Tobias Hunger
8c5980c615 Bug 498917: Fix some warnings in cairo-qpainter-surface.cpp, r=mfinkle 2009-06-22 15:19:43 -04:00
Tobias Hunger
0c05c84a6c Bug 498880: Reduce padding in cairo_qpainter_surface_t, r=mfinkle 2009-06-22 15:19:43 -04:00
Tobias Hunger
a777487dfa Bug 499135: Cairo/Qt fails to build -- yet again, r=mfinkle 2009-06-22 15:19:43 -04:00
Jeff Muizelaar
7a11cbc4a7 Bug 498689. Use scanline rasterizer on win32. r=joedrew, r=zweinberg 2009-06-22 15:01:50 -04:00
Jeff Muizelaar
019a8c6015 Bug 498428. Reverting f2ef72fbe01c because of tSVG regression 2009-06-18 16:44:02 -04:00
Jonathan Watt
0c1ff4dba4 Bug 498275. Stop using nsIDOMSVGMatrix in nsSVGForeignObjectFrame + fixes. r=longsonr 2009-06-18 13:31:25 +02:00
Jeff Muizelaar
2d221ae725 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
e7c111742e b=493963; don't call win32 printing functions with --disable-printing; r=stuart 2009-06-16 11:57:34 -07:00
Jonathan Kew
f5f9929b78 Bug 498252 - Correct the font-size used in context menus, r=josh 2009-06-15 22:04:22 +02:00
Karl Tomlinson
f0e88513ab backout 06a7d2def034 and 58c89ce9719d as possible cause of failure in test_bug450930.xhtml 2009-06-15 18:40:55 +12:00
Jonathan Kew
d969e680d8 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
9773921373 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
8d01006bd7 Add crashtests 2009-06-12 19:21:09 -07:00
Jonathan Kew
aac140925f 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
5eda3d1bd5 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
90b12fddfa Bug 497363. qcms: Add reference to the rationale for not correcting alpha. r=joedrew 2009-06-12 14:38:32 -04:00
Jeff Muizelaar
abe9f75963 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
6c0cafef4a Bug 493726. Fix build problems with the cairo Qt backend. r=jrmuizel 2009-06-12 14:00:42 -04:00
Jeff Muizelaar
5aa1c3f88e Bug 485426. Add arm fast path for 565 to x888 conversion. r=vlad 2009-06-11 14:26:39 -04:00
Markus Stange
f9eb685a64 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
dddd44794e Add crashtests 2009-05-26 11:53:12 -07:00