Commit Graph

1501 Commits

Author SHA1 Message Date
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
John Daggett
3f3ebba552 Bug 483459. Remove strict validation of table directory checksums in downloadable fonts. r=vlad 2009-05-20 16:17:28 +09:00
Peter Weilbacher
500564266f 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
231a1be60c bug 493426 - unresolved cairo symbols related to cairo_ddraw_surface r=vlad 2009-05-19 22:27:50 -04:00
Zack Weinberg
d1ad418dbf 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
bb1c33c4ea 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
ead79c665b Backed out changeset d88e6b8fab83 (bug 486974) due to reftest parsing issues. 2009-05-18 12:30:29 -04:00
Karl Tomlinson
3f4b72a738 leak (crash)test for bug 486974 2009-05-18 21:13:39 +12:00
Karl Tomlinson
d447d2ec7d 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
8d23e695a3 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
e6dc27ba8c 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
334f4485f0 Backed out changeset c4b8a7e21ec9 2009-05-16 00:39:54 +09:00