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

6713 Коммитов

Автор SHA1 Сообщение Дата
Jonathan Kew b45694ede3 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 30883fb3f1 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 7a3339c3b1 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 365fbafa0d 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 a7181c3103 Bug 533251. Always insert default font if needed when rebuilding font list. r=jkew 2010-02-24 16:18:49 +09:00
Mark Banner 4c06b82d1f Possible bustage fix for shared,non-libxul builds following Bug 544250. r=bustage fix 2010-02-20 09:42:55 +00:00
Oleg Romashin 41619292af Bug 544250 - Implement different rendering backends for Qt mozilla port. r=jmuizelaar. 2010-02-19 19:46:54 -08:00
Steve Snyder 9d5575fe90 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 975bbb6407 Bug 543502 followup: replace non-critical assertion in GDIFontList with optional logging. r=jdaggett 2010-02-18 11:52:44 +00:00
Jonathan Kew 4b78f496fe 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 13a892129b Bug 545317. Trim out redundant font cache handling code. r=jkew 2010-02-18 12:31:20 +09:00
Doug Turner 1bd4991eb7 removing gfxSharedImageSurface files. part of backout of 544250 2010-02-16 11:03:17 -08:00
Doug Turner 8366c79f83 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 2503ebeb57 Bug 544250 - Implement different rendering backends for Qt mozilla port. r=jmuizelaar 2010-02-16 10:32:35 -08:00
Oleg Romashin 15934f9c53 Bug 544250 - Implement different rendering backends for Qt mozilla port. r=jmuizelaar 2010-02-16 10:15:52 -08:00
Alfred Kayser 05d8b622e5 bug 386937: get rid of ConvertPixels (r=vladimir) 2010-02-12 10:17:51 +01:00
Jonathan Kew 8e56dadbb9 Bug 541924 followup - use the predefined nsStringHashSet class instead of nsTHashtable<nsStringHashKey>. r=jdaggett 2010-02-11 07:00:07 -05:00
Jonathan Kew f51ad94a17 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 1ba8851c67 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 654903b9ea Revert 3f91dcac71c4 for breaking 'make check'. 2010-02-09 00:07:00 -05:00
Jeff Muizelaar f3a650563d 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 fe65b9df27 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 9be7ff6cd7 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 6689c25b48 Bug 536765 - Cairo Qt surface backend save()/restore() inconsistencies. r=jrmuizel 2010-02-03 23:29:30 -08:00
Bas Schouten 4f49aefd7d 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 aad9286db4 Bug 542962 - Remove some zero byte files, r=dbaron 2009-12-18 21:26:13 -08:00
Makoto Kato 49b6a5ee05 Bug 536725 - Disable SSE1 code on Windows x64 r=jmuizelaar 2010-02-01 17:43:21 +09:00
Jonathan Kew eea722cbe7 Bug 540702: fix incorrect char-to-glyph array indexing. r=jdaggett 2010-01-30 13:16:35 +00:00
Jonathan Kew 50ee058a8a 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 1e792dd3a5 Bug 542162 - Use fullname and Postscript name tables for src local lookups. r=jkew 2010-01-29 10:41:25 +09:00
Jonathan Kew 11b4d1ada5 Bug 541924: fix regression in handling bad-underline fonts blacklist on Windows. r=jdaggett 2010-01-28 06:56:16 +00:00
Jonathan Kew 0cf55992f3 Bug 542453: use nothrow and null-checking for potentially large allocations. r=roc 2010-01-27 22:23:57 +00:00
Mats Palmgren 81dc5c2928 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 6c7732e56d Bug 541277: correct boundary handling in character/glyph clump processing. r=roc 2010-01-27 07:46:31 +00:00
Jacek Caban aef70d0dfa Bug 529734 - Firefox 3.6b3 Crash [@ CMValidateProfile ]; mingw fix v1.1.
r=neil.
2010-01-24 14:58:31 +01:00
Bas Schouten ae94615170 Bug 527707. Cairo DirectWrite and Direct2D Backends. r=jrmuizel 2010-01-22 15:38:31 -05:00
Jesse Ruderman e9db1facab Add crashtests 2010-01-21 11:07:51 -08:00
Jeff Muizelaar 361e631de2 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 e687ca2971 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 f0593f27a4 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 5acc0bfd81 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 308dbbc556 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 cab4564814 Bug 516973 - Mismatch between Cairo and Thebes surface types. r=jmuizelaar 2010-01-16 18:04:52 +01:00
Benoit Girard 810b56202f 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 04d2aac3f3 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 aaf24fc497 Bug 505711 - Compilation failure on MinGW in gfx/thebes. r=jfkthame 2010-01-14 21:31:06 +00:00
Jonathan Kew 54e01fdc15 Bug 538730: fix Windows synthetic bolding regression from bug 493280. r=jdaggett 2010-01-13 10:42:25 +00:00
Dave Townsend cfb7b9b70c Backed out changeset 4b725bb53baa from bug 539165 due to reftest failure 2010-01-12 16:27:48 -08:00
Jeff Muizelaar 084db3bb0a 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 58e7e447d5 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 503a9d4268 [Bug 539037] Qt bustage in gfxFontEntry. r=vlad. qt only 2010-01-11 12:31:43 -08:00
Jesse Ruderman 56ac1fe1ee Add crashtests 2010-01-10 19:50:41 -08:00
Jonathan Kew 0cda5f51f7 Bug 538628. Initialize font family field for each font face. r=jdaggett 2010-01-09 12:52:32 +09:00
Jonathan Kew 27f23b384f 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 b4c2a06a72 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 6517a01b63 Bug 538065: avoid possible out-of-bounds array index in gfxFont::SanitizeGlyphRuns(). r=roc 2010-01-07 13:53:25 +00:00
Ginn Chen a4fbc88542 Bug 537070 qcms failed to build with -m64 on Solaris x86_64 r=jrmuizel 2010-01-06 15:02:04 +08:00
Josh Soref c185e6812c Bug 529734 - Work around buggy os crash [@ CMValidateProfile] by adding exception handling, r=neil 2010-01-05 18:39:56 -05:00
Stuart Parmenter e3b3c7d3b1 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 fec8bc87e8 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 46bf05a490 Add patch file to Cairo directory for bug 534260. (NPOTB) 2009-12-24 07:23:28 +00:00
Jonathan Kew 5c7066ce42 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 8df008c3ba Bug 534352. Accept fonts with redundant cmap sentinel value. r=jdaggett 2009-12-22 09:47:18 +00:00
Metal Sonic 80ae9b3620 Bug 507387 - fix copyright holder; Mozilla Corporation -> Mozilla Foundation. r=gerv. 2009-12-21 21:50:30 +00:00
Jonathan Kew f147be8a68 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 3108a65009 Bug 534919: do not inherit font from ZWNJ to adjacent character. r=roc 2009-12-16 15:47:12 +00:00
Benjamin Smedberg 83b97480d2 Merge mozilla-central into electrolysis. 2009-12-15 20:31:04 -05:00
Daniel Holbert cc8f060f2b 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 ffd38ebc2c 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 b90db2ed10 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 d04a74d8f1 Bug 435313 - "Printing on linux should set SIMPLIFY_OPERATORS | DISABLE_SNAPPING" [r=vlad] 2009-12-15 17:04:22 -05:00
Jim Mathies 8334063adb Bug 531860 - plugin-alpha-zindex ref test fails with oopp enabled. r=jmuizelaar. 2009-12-14 18:27:25 -06:00
Robert O'Callahan 42cb415b08 Bug 534426. Use our zlib.h, not system zlib.h. r=jfkthame 2009-12-16 09:09:00 +13:00
Benjamin Smedberg a54e6acfd8 Merge mozilla-central into electrolysis. 2009-12-14 08:01:18 -05:00
Benjamin Smedberg 636d74b114 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 aea3243ee9 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 4e352d7aeb Merge mozilla-central into electrolysis 2009-12-04 11:28:50 -05:00
Jim Mathies cbf1241f3c Bug 522299 - fix linux bustage. 2009-12-01 16:26:45 -06:00
Jim Mathies 705471067a Bug 522299 - Electrolysis: Get windowless plugins drawing on win32. r=jmuizelaar. 2009-12-01 15:05:26 -06:00
Karl Tomlinson 0e8153bc55 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 14e15631fb Bug 530931: Maemo shouldn't use the true DPI [r=roc] 2009-11-25 17:27:05 -05:00
Ted Mielczarek 1e2c96a564 bug 530093 - allow building with VC10. gfx changes. r=jdaggett 2009-11-23 10:20:21 -05:00
Ginn Chen d8150c3a0f 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 01d27adee5 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 eee5271459 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 90dffcabd4 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 649de0b0f2 Bug 528941 - Remove pangox.h includes. r=karlt 2009-11-18 14:20:15 +01:00
Mark Finkle a192286ef4 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 b0cfce1c97 Bug 531289: Firefox doesn't obey system dpi settings anymore [r=roc a=blocking] 2009-11-30 16:44:55 -05:00
Jonathan Kew 1d8b996b9f 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 8fadba32e8 Add crashtests for several bugs 2009-12-06 16:54:07 -08:00
Vladimir Vukicevic 7e80dba7f5 b=523959; [webgl] enable WebGL with EGL on Maemo and WinCE; r=stuart 2009-12-06 16:07:58 -08:00
Jeff Muizelaar 50543d8818 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 feb0e8dd5f 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 1f63142174 Bug 480906: fix incorrect enum value mentioned in comment. r=roc 2009-12-14 10:35:46 +00:00
Karl Tomlinson 5492f67440 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 cafcbc04de 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 ccc69c2bae 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 3a006fef6a Bug 526882. Create nsIntRegion. r=jmuizelaar 2009-11-10 14:00:36 +13:00
Takuro Ashie 81333fb563 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 894942d61e 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 adf60cf031 Test for bug 509244 2009-11-02 16:35:20 +13:00
Karl Tomlinson 01264bb684 Test for bug 509244 2009-11-02 16:21:24 +13:00
Takuro Ashie 59360eb788 Bug 505284 - bottom of fonts cut off in dialogs. r=karlt 2009-10-30 16:13:41 -07:00
Bas Schouten bde11353af Bug 524462. Fix startup crash in pref fonts with funky cmaps. r=jdaggett 2009-10-30 16:41:13 -06:00
Doug Turner 52cb1d3edc Expose device type in user agent. r=vlad 2009-10-24 23:09:46 -07:00
Jeff Muizelaar 6028d14806 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 3ff12b1062 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 52a69cd192 Add more crashtests 2009-10-15 14:22:11 -07:00
Jesse Ruderman 52293a3d26 Fix likely typo in this crashtest file 2009-10-13 12:30:46 -07:00
Honza Bambas c2225ded68 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 92ba26fdf5 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 a54c567bd4 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 0d2d8d41c8 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 14e0c796c1 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 549d1578f2 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 726ac89b07 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
Honza Bambas ab066e5278 Backout bug 426788 2009-09-29 17:32:54 +02:00
Honza Bambas 827ff8ba49 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 a495ab4908 Bug 517045. Remove code causing startup regression in Mac font initialization. r=jkew 2009-09-29 09:38:59 +09:00
Mark Finkle 424fde4c5b Bug 518378: buttons and list boxes in content document are unreasonably large, r=dbaron 2009-09-26 20:21:32 -04:00
Tobias Hunger be6f02b857 Bug 518585 - Fix the cairo Qt backend to build. r=pavlov 2009-09-26 17:51:08 +02:00
Mitchell Field 41c8798093 Bug 514665 - fix stupid module name differences on windows. r=ted 2009-09-25 18:41:16 +02:00
Sylvain Pasche ab455408c7 Bug 517218 - Backout bug 515455 which didn't address the real issue. r=roc 2009-09-25 18:40:48 +02:00
Jeff Muizelaar 3f907e258a Backed out changeset cb4f078cc8cb (bug 512865)
Was causing crashes on the leak test box.
2009-09-24 23:35:53 -04:00
Steve Snyder 7e089e6fae 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 192e0a3b83 Bug 518281: DPI on n810 is incorrect (part 2), r=stuart 2009-09-23 02:31:38 -04:00
Mark Finkle 290393eadd Bug 449283: DPI on n810 is incorrect, r=roc 2009-09-22 08:45:56 -04:00
Phil Ringnalda 6fce97e58d Bug 495228 - Remove checks for mac MOZ_WIDGET_TOOLKIT, r=ted 2009-09-18 19:59:53 -07:00
Peter Weilbacher 35bd372f3f [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 e94a16a6f9 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 213a6f7bb4 Bug 505386. Compensate for unpadded font tables when renaming fonts. r=jkew. 2009-09-18 11:39:22 +09:00
John Daggett 2342c5446d Bug 516709. Do better validation of cmap tables when loading fonts. r=jkew. 2009-09-18 09:45:29 +09:00
Jonathan Kew e9ea75cd3f 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 37bbb8bf3d 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 976f60e4ce 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 32d9ce14f2 Bug 516971 - "Remove lcms from the tree" [r=bholley r=gerv] 2009-09-17 01:17:19 -05:00
L. David Baron f81e3bdbb4 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 62429fc2c2 Bug 515192. Update cairo to 655a4dbc36d95ce4a82cbc13aa9e2002b41fa4de
This time without:
c0e01d9cd71bd958e1b31a03cea4c08a1bdf4926 (Improve GC caching efficacy)
2009-09-14 22:43:09 -04:00
Steffen Imhof 11a2f53d32 Bug 498243. Make clipping reset explicit. r=vlad
--HG--
extra : rebase_source : b055dd091f5f4d8d3219d66863c71aec91e60ad3
2009-09-11 10:32:32 +12:00
Robert O'Callahan fef577d20c Add cairo patches for Quartz gradient fixes
--HG--
extra : rebase_source : 7b50d07ec411410c7fda7b8fba423610018fd6cc
2009-08-26 10:05:44 -07:00
Takuro Ashie 682b8978d2 b=513192; Crash [@nsAString_internal::BeginReading(nsReadingIterator<unsigned short>&)]; r=jfkthame 2009-09-10 13:57:27 -07:00
Vladimir Vukicevic 718840c3e2 b=514968; optimize FT2 textrun creation with glyph cache; r=jfkthame 2009-09-10 13:52:40 -07:00
Sylvain Pasche 20e86c2b27 Bug 515455 - "Backward compatibility when layout.css.devPixelsPerPx is an integer" [r=roc] 2009-09-10 14:43:41 -04:00
Chris Jones 9d0f93c04d bug 504034: initialize RgnRectMemoryAllocator non-statically by heap allocating it. r=vlad 2009-09-09 20:22:03 -05:00
Jeff Muizelaar c9f45bc3f1 Backed out changeset 3d7b55f16ec5 2009-09-09 14:30:44 -04:00
Jeff Muizelaar b051e5a8e1 Bug 515192. Update cairo to 655a4dbc36d95ce4a82cbc13aa9e2002b41fa4de 2009-09-09 12:11:46 -04:00
Takuro Ashie 8ffb33380a 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 f72165980a 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 d4133284fb 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 44f10c8a32 Bug 514992 - Remove nsIWidget::Invalidate(PRBool aIsSynchronous). r=roc
--HG--
extra : rebase_source : dfdf06c8547b00744647d4a285809a57cdbfe1f4
2009-09-08 09:53:36 +12:00
Mook 55cdc9be60 use PRUptrdiff, not unsigned long, for PtrBits in gfxFont [r=vlad] 2009-09-04 21:46:09 -05:00
Benjamin Smedberg 667f63d102 Bug 513032 - remove empty conditionals in our makefiles, r=ted 2009-08-27 10:48:18 -07:00
Benjamin Smedberg 6ab5d24103 CLOSED TREE spelling fixes to kick new builds. 2009-09-03 11:14:54 -04:00
Sylvain Pasche 28b8e15f98 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 cdfd0a55e6 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 48e67de196 [OS/2] Bug 490561 - update GetMetrics 2009-08-29 00:58:25 +03:00
Jeff Walden 502cb46fc2 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 5cee56363b Bug 457949 - no need for Stopwatch r=bsmedberg
--HG--
extra : rebase_source : 5cd3baecf54295012b28d42fc7bf4c9b34e12714
2009-08-28 11:03:51 -07:00
Jesse Ruderman fbaaa060e5 Add more crashtests 2009-08-27 21:11:40 -07:00
Jesse Ruderman e1c6eeae90 Add crashtests 2009-08-27 19:48:20 -07:00
Benjamin Smedberg 36bc86429d 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 dd972e0387 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 867c8af74d 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 71cc2f1bf7 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 cf45ccb56a Backed out changeset 875c4ba4cbc8 2009-08-25 15:46:20 -07:00
Robert O'Callahan 1cce75acac 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 2932d72611 Bug 499621. Follow-up fixup to synthetic bolding on Windows. r=jkew. 2009-08-26 01:59:20 +09:00
Benjamin Smedberg ba372f3a4c 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 ecce3d0369 Re-enable crash test for bug 441360 on gtk2 platforms. b=455463 r=me 2009-08-22 19:15:25 +02:00
Ryo Kawaguchi 4c48ab14aa Add tests to TestRect and fix TestColorNames. (Bug 113577) r=roc 2009-08-21 13:39:25 -07:00
Peter Weilbacher dcd89e0841 [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 b5592178c6 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 ad353a7959 fix Qt and GTK bustage in gfxFT2Fonts from bug 493280, r=jfkthame 2009-08-18 09:26:24 +01:00
Masatoshi Kimura ecc950211c fix wchar_t incompatibility from bug 493280, r=jfkthame 2009-08-18 09:26:20 +01:00
Jonathan Kew 58531bf4f0 further winmo (gfxFT2Fonts) bustage fix from bug 493280 2009-08-16 18:12:12 +01:00
Jonathan Kew 452525c629 fix for winmo bustage from bug 493280 - use accessor for protected member in gfxFontFamily 2009-08-16 17:29:35 +01:00
Jonathan Kew ba05bd6e50 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 0833142a5e b=509244; gfx crash on memory pressure notification; r=karlt 2009-08-14 16:51:30 -04:00
Jeff Walden 5c27762016 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 b71a1a1cfa 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 99d3fa9a53 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 47e3115671 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 3887592348 bug 491305 - Allow loading fonts from an application folder, follow up 2009-08-11 14:21:04 -07:00
Brad Lassey 70a9682233 bug 491305 - Allow loading fonts from an application folder r=vlad 2009-05-04 13:00:54 -04:00
Jeff Walden bccfe5ff78 Bug 508325 - "ABORT: negative scaling factors must be handled manually". r=roc 2009-08-05 15:34:27 -07:00
Vladimir Vukicevic 9ef67a0501 b=507037; hang on WinCE in gfxFontFamily::FindFontForStyle; r=jdaggett 2009-07-30 11:19:34 -07:00
Jeff Walden 1fb19be474 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 db83f27954 Bug 492309. Remove useless gfxTextRuNnFactory flags. r=vlad
--HG--
extra : rebase_source : 4cdbc37f404c07f509adbfb581c662187813bc4a
2009-07-30 14:59:41 +12:00
Timothy Nikkel 5fff4ee2f4 Bug 503814. iframe contents shifted slightly due to rounding issue. r+sr=roc 2009-07-29 18:10:50 -04:00
Ginn Chen 4e551e632a Bug 505678: Downloadable font feature is broken with Sun Studio compiler r=jdaggett 2009-07-29 17:40:33 +08:00
Makoto Kato 1c1dcefde7 Bug 505691 - Remove unnecessary include of nsIPref.h. r=vlad 2009-07-28 18:33:20 +09:00
Karl Tomlinson 9bab6c52d7 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 b03ad17222 Bug 499621. Fix synthetic bolding of downloadable fonts on Windows. r=jkew 2009-07-23 11:22:24 -10:00
John Daggett bef34be58f Bug 496573. Fix font load failure for fonts with family/fullname mismatch. r=vlad 2009-07-22 22:08:23 -10:00
Karl Tomlinson e3c7360002 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 aa0a779122 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 a5cefc0393 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 94c4cbe089 Bug 339548. Part 8: Create nsPoint::ToNearestPixels. r=dbaron 2009-07-22 12:44:58 +12:00
Robert O'Callahan bec635e65d 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