Commit Graph

1263 Commits

Author SHA1 Message Date
Jonathan Kew
7d6268244e Bug 463806. Work around transient ATS cache failures on Mac. r=jdaggett,sr=roc
--HG--
extra : rebase_source : af01b4cb3e9b09be52bd07b98b422b0834f21027
2008-12-17 13:24:30 +13:00
Martin Stránský
bbe42c7104 b=403513 bad kerning in print output if hinting is set to medium or full r=karlt sr=vlad 2008-12-17 16:17:50 +13:00
Karl Tomlinson
5286ba753b backout b=403513 due to compile error in gfxFontSelectionTest.cpp 2008-12-17 13:57:40 +13:00
Martin Stránský
12cfd5e1c9 b=403513 bad kerning in print output if hinting is set to medium or full r=karlt sr=vlad 2008-12-17 13:44:32 +13:00
Robert O'Callahan
46299947fc Backed out changeset 0cb24a4bcd9b 2008-12-13 00:09:56 +13:00
Robert O'Callahan
a6a68372fb Bug 430332. Defer nsTransformingTextRun::RebuildTextRun until the linebreaker has completely set up the break and capitalization data on the transformed text run. r=smontagu 2008-12-12 21:37:59 +13:00
John Daggett
4e18b0296a Bug 460037 - Fix crasher in font loader when closing windows. r+sr=roc 2008-12-12 16:31:51 +09:00
Brad Lassey
d11d06e680 Bug 465554 - gtk build fails in gfxPlatformGtk.cpp with --disable-pango r=stuart 2008-12-11 11:50:31 -08:00
Markus Stange
975559338c Bug 391984 - [10.5] Add roundness to context menus, r=josh sr=roc 2008-12-11 15:37:38 +01:00
Robert O'Callahan
d980ae8005 Bug 467518. Interpret gfxBlur's border radius properly, as the actual boundary of the shadow, not the box-blur size. r=vlad 2008-12-08 13:59:21 +13:00
Robert O'Callahan
10f2d6de05 Bug 466268. Fix cairo-win32 bug that needed MOD but was using the C % operator. r=jmuizelaar 2008-12-08 13:54:10 +13:00
Bobby Holley
263791c64a LCMS LI16F_FORWARD renamed to LI8F_FORWARD - bug 457626.r=vlad 2008-12-06 22:55:10 -08:00
Bobby Holley
6a4d40ce2a LCMS bogus profile detection - Bug 460629. r=vlad 2008-12-06 22:32:24 -08:00
Bobby Holley
98c991946c Disable fatal LCMS errors earlier in thebes - bug 458164. r=joe 2008-12-06 22:24:25 -08:00
Michael Ventnor
e758b80cd9 Bug 468018 - Optimize box-shadow rendering even further by doing more intersections; r=vladimir 2008-12-06 19:54:36 +01:00
Markus Stange
0a9202e6cc Bug 450800 - Add -moz-appearance: searchfield on Mac OS X; general NSCell drawing cleanup. r=smichaud sr=roc 2008-12-06 12:40:58 +01:00
Karl Tomlinson
f88fbd52e6 b=462798 fixage: add NS_VISIBILITY_DEFAULT to cairo_ft_font_options_substitute declaration 2008-12-06 18:06:42 +13:00
Karl Tomlinson
f483d9cdde b=462798 don't pass cairo_font_options_t* between system and moz cairo. r=vlad 2008-12-06 12:24:49 +13:00
Karl Tomlinson
f091bb1b37 b=458169 @font-face { src: url() } for Linux. r=roc 2008-12-06 12:19:27 +13:00
Karl Tomlinson
d6b71782c0 b=467874 only destroy FT_Faces created by cairo. r=vlad 2008-12-06 12:08:45 +13:00
Jeff Muizelaar
c7a141b60d Bug 461202 - Turn on SSE2 pixman optimizations; on MsVC only; (no review) 2008-12-05 07:15:28 +01:00
Zack Weinberg
d6ddf74552 Bug 459148 - use thebes primitives for SVG rounded rects - r=longsonr,vlad sr=roc 2008-12-04 21:01:37 -08:00
L. David Baron
c95d61afc0 Pass the user font set through more reliably and make it a required parameter. (Bug 467084) r+sr=roc a=blocking1.9.1+ 2008-12-04 08:09:53 -08:00
Makoto Kato
f7acc6c08f Bug 447982 - Disable MMX on x86-64 and ARM when using MSVC. r/sr=vladimir 2008-12-04 22:44:55 +09:00
Doug Turner
3bd692715b Bug 461860 - windows mobile fixes in gfx r+sr=vlad 2008-12-03 08:42:03 -05:00
Robert O'Callahan
38bbc69620 Bug 463307. Convert to float a bit earlier to avoid integer overflow. r+sr=dbaron 2008-12-03 14:32:18 +13:00
Michael Ventnor
ae307da934 Bug 463938. Don't use nearest-neighbour sampling for downscaling; the X bug workaround is only needed for upscaling (we hope). r=vlad 2008-12-03 14:25:58 +13:00
Jonathan Kew
fceb922a63 Bug 467228. Disable line start/end swashes on Mac since we don't support line-boundary shaping properly yet. r=roc 2008-12-03 09:58:41 +13:00
Robert O'Callahan
b72f6882fb Bug 467283. Ignore dirty rect when doing any image resampling --- it will lead to artifacts. r+sr=dbaron,r=vlad 2008-12-03 09:46:44 +13:00
Oleg Romashin
1157f3f93b Bug 463872 - Cairo-qpainter build is broken after latest cairo update. missing part. r=vladimir. 2008-12-02 22:11:04 -05:00
Peter Weilbacher
c2e3b4b5f9 [OS/2] No Bug: add minor change and comment to gfxOS2FontGroup::FontCallback; fix debug output for missing fonts 2008-12-02 20:36:12 +01:00
Peter Weilbacher
3e4f690e27 Bug 466956: fix alias check in gfxFontconfigUtils::ResolveFontName for correct return value, r=karlt, sr=roc 2008-12-02 20:29:17 +01:00
Shawn Wilsher
309088efe4 Backed out changeset 0586ee185c87 (bug 460629) to investigate possible performance regression (bug 467102) 2008-11-28 11:02:01 -08:00
Bobby Holley
020c84f8c9 Bug 460629 - Bogus ICC profile detection for LCMS.r=vlad,a191=beltzner 2008-11-28 10:17:32 +01:00
Peter Weilbacher
07829fa6d0 [OS/2] cairo-os2 build fix that was already applied in upstream cairo 2008-11-28 00:06:22 +01:00
Robert O'Callahan
e2d6438f48 Bug 459968. Fix some integer overflows in the style system and in min/pref width computation for text. r+sr=dbaron 2008-11-26 11:53:58 +13:00
John Daggett
0d24013534 Follow-on fix for bug 457825. Use sheet principal for agent and user sheets. r=dbaron,bz sr=dbaron 2008-11-27 12:50:16 +09:00
Peter Weilbacher
b39d47dffa [OS/2] implement (but not yet activate) synthetic oblique using font matrix skewing in gfxOS2Font::CairoScaledFont 2008-11-26 20:13:43 +01:00
Peter Weilbacher
962a68d018 [OS/2] de-indent gfxOS2Font::GetMetrics and get a few improvements that were added to gfxFT2Font in the meantime 2008-11-26 20:12:52 +01:00
Peter Weilbacher
50bccbc11f [OS/2] remove two unused, already commented, code lines from gfxOS2Platform.cpp 2008-11-26 20:12:52 +01:00
Jonathan Kew
c47d6406d1 fix uninitialized variable causing incorrect fallback font selection (bug 451426) r=roc sr=roc 2008-11-26 10:13:02 -08:00
Brad Lassey
ea8dd114d1 backing out changesets 026147c91538, fb2326fcfc36, ebf0c7cf17be, 57e6a1e9041e, 1f5d2c249f86 and d7a7824d6990 due to crash on linux talos machines durring tp. 2008-11-26 12:20:26 -05:00
Robert O'Callahan
6dd228bfdc Bug 459968. Fix some integer overflows in the style system and in min/pref width computation for text. r+sr=dbaron 2008-11-26 11:53:58 +13:00
L. David Baron
e1fd81e8d3 Check that the user font set matches before returning an entry from the font cache. (Bug 457821) r=jdaggett sr=roc a=blocking1.9.1+ 2008-11-25 13:27:54 -08:00
L. David Baron
4c4b3cbb89 Remove gfxFontLoaderContext, which seems to be replaced by gfxUserFont::LoaderContext. (Bug 457821) r=jdaggett a=blocking1.9.1+ 2008-11-25 13:27:54 -08:00
Peter Weilbacher
a2df934c69 [OS/2] Bug 465691: make sure that we matched a font before using it and rename "Deja Vu" to "DejaVu", r=wuno@lsvw, a191b2=beltzner (CLOSED TREE) 2008-11-24 20:18:39 +01:00
Peter Weilbacher
a89bc58087 [OS/2] Bug 465691: fix debug output to compile again (CLOSED TREE) 2008-11-24 20:18:15 +01:00
Jeff Muizelaar
679549b8b6 pixman doesn't support 0x0 images so ensure we don't ever create them.
b=463301 p=jrmuizel r=vlad a=blocking191
2008-11-13 16:25:37 -05:00
Vladimir Vukicevic
57d028fd89 b=463872; fix qt backend cairo build; r=me 2008-11-09 15:43:39 -08:00
Vladimir Vukicevic
874c9f49d5 b=455513; add optional flag to allow converting a DDB to a DIB internally, if the surface is every used as a source; r=jmuizelaar
If a DDB is used as a source for an operation that can't be handled
natively by GDI, we end up needing to take a really slow path (creating a
temporary surface for acquire_source) for each operation.  If we convert
the DDB to a DIB, we then end up having a real image buffer and can hand
things off to pixman directly.

This isn't the default mode because I'm not sure if there are cases where a
DDB is explicitly needed (e.g. for printing), and it would change
current cairo behaviour.  It might become the default at some point in the
future.
2008-11-09 15:40:55 -08:00
Vladimir Vukicevic
6450cdc188 b=424333; BadAlloc under X when viewing extremely large images; r=joe 2008-11-09 15:39:41 -08:00
Karl Tomlinson
e0924b37f5 b=449356 remove accidentally added code 2008-11-07 15:37:52 +13:00
Karl Tomlinson
18dae13b06 b=449356 font selection through Mozilla's PangoFcFontMap, r=roc 2008-11-07 15:21:34 +13:00
Robert O'Callahan
b781aa0ad5 Bug 456330. Fix translation to account for top/left padding. r=vlad 2008-11-07 13:56:57 +13:00
Karl Tomlinson
0860a21e5b backout b=449356 9621d305de92 2008-11-07 10:49:14 +13:00
Karl Tomlinson
8dfecc605a b=449356 font selection through Mozilla's PangoFcFontMap, r=roc 2008-11-07 09:39:06 +13:00
Simon Montagu
785ffb9b41 Detect clusters in Indic scripts where an initial RA is reordered after the following consonant and vowel. Bug 428317, r=roc 2008-11-06 02:02:51 -08:00
Vladimir Vukicevic
2d70839dd0 b=462938, Upgrade cairo to 1.8.2 and pixman to 0.12.0 [cairo piece] 2008-11-05 23:48:23 -08:00
Vladimir Vukicevic
01a74357fd b=462938, Upgrade cairo to 1.8.2 and pixman to 0.12.0 [pixman piece]
--HG--
rename : gfx/cairo/libpixman/src/pixman-arm.c => gfx/cairo/libpixman/src/pixman-arm-simd.c
rename : gfx/cairo/libpixman/src/pixman-arm.h => gfx/cairo/libpixman/src/pixman-arm-simd.h
2008-11-05 23:48:20 -08:00
John Daggett
e5a0f4c565 Bug 457825 - Support access control headers when downloading fonts. r=jonas,dbaron, sr=jonas 2008-11-06 09:32:12 +09:00
Karl Tomlinson
6c652e85ab backout b=449356 e8665c7cfdf2 and 20113c4780d2 2008-11-06 12:26:22 +13:00
Karl Tomlinson
58ea9f42df b=449356 remove stray "static" keyword 2008-11-06 11:48:20 +13:00
Karl Tomlinson
6ac7784544 b=449356 font selection through Mozilla's PangoFcFontMap, r=roc 2008-11-06 11:14:02 +13:00
Robert O'Callahan
0d380f02a0 Bug 458487 - 'Rework image snapping logic'. r=vlad+joedrew, sr=dbaron 2008-11-04 14:01:21 -08:00
Doug Turner
d3da9fb1a3 WinCE only. Adding a -D to our define list on windows mobile. r=vlad 2008-11-04 12:37:27 -08:00
Doug Turner
24883a0c29 Fix build bustage in 462911. We need to either build printing or define CAIRO_OMIT_WIN32_PRINTING 2008-11-04 08:58:42 -08:00
Doug Turner
76f1b81b27 Bug 462911 - support NS_PRINTING in gfx / cairo. r=vlad 2008-11-04 07:43:45 -08:00
Phil Ringnalda
bbe7e1d08a Bug 461888 - Remove unused PACKAGE_FILE and PACKAGE_VARS and .pkg files, mozilla-central part, r=bsmedberg 2008-11-03 19:46:28 -08:00
Markus Stange
f780ec066b Bug 459708 - Remove -moz-appearance values "radio-small" and "checkbox-small", r=roc 2008-11-03 14:12:59 +01:00
Simon Montagu
18abf89bcd Turning off symbol ligatures can turn off required ligatures also in some fonts. Bug 462387, r+sr=roc 2008-11-02 06:11:10 -08:00
Robert O'Callahan
1693b53c02 Bug 458928. Render windowed Windows plugins using PrintWindow when necessary, and use gfxWindowsNativeDrawing for windowless plugins so we can draw them correctly under all circumstances. r=vlad,sr=jst 2008-10-29 22:28:25 -07:00
John Daggett
f37b60578a Bug 458861. Validate TrueType headers before activating downloaded font. r=roc, sr=vlad,roc 2008-10-29 11:09:50 -07:00
Karl Tomlinson
9283404bc5 b=455647 garbage Indic characters on parts of some English webpages. r=pavlov 2008-10-29 10:24:06 -07:00
Reed Loden
2e45302098 Possible fix for bustage caused by bug 422637. 2008-10-24 01:43:19 -05:00
Alfred Kayser
09825d7f45 Bug 422637 - "Merge nsColorNames into nsColor to have less public functions and less code" [r=vlad sr=roc] 2008-10-24 01:28:29 -05:00
Arpad Borsos
3585c944f1 Bug 456388 - "Remove PR_STATIC_CALLBACK and PR_CALLBACK(_DECL) from the tree" (followup for mozilla-central) [r+sr=brendan] 2008-10-21 01:50:05 -05:00
John Daggett
30dd369e94 Bug 458256. Use LoadLibraryW instead of LoadLibrary (patch by DougT). r+sr=vlad 2008-10-18 05:14:01 +02:00
John Daggett
24fa1f8fdc Bug 441473. Fix VC 7.1 bustage. r=jdaggett, sr=roc 2008-10-15 18:21:17 +09:00
Robert O'Callahan
7a386793fc Bug 457194. Be careful when we do NS_ceil for font max-ascent/max-descent; we don't want a number that's an integer plus epsilon to round up to the next integer. r=vlad 2008-10-13 14:08:27 +13:00
Peter Weilbacher
b8af3f6c3f [OS/2] Bug 454956: fix OS/2 build break with GCC 3.4.6 or newer, part 2 2008-10-11 14:49:03 +03:00
Arpad Borsos
8b11d938d2 Bug 456388 - Remove PR_STATIC_CALLBACK and PR_CALLBACK(_DECL) from the tree; r+sr=brendan 2008-10-10 17:04:34 +02:00
Vladimir Vukicevic
3b27944210 b=459150; avoid non-pixel-aligned clips to speed up mobile's DrawWindow usage; r=stuart 2008-10-09 14:49:15 -07:00
Vladimir Vukicevic
209719af58 b=434602; win32 create_similar should fall back to dib to avoid exausting vram; r=stuart 2008-10-09 14:49:15 -07:00
Vladimir Vukicevic
7ee79e0b94 b=308917, fix quartz SurfacePatternDrawFunc; r=joe 2008-10-09 14:49:15 -07:00
John Daggett
bbc62f3b9d Bug 458113. Fix syntax error that broke OS/2 build. r+wuno 2008-10-09 14:52:00 +09:00
blassey@mozilla.com
34d2ae88fc Bug 458946 - Reduce narrow windows API calls in cairo win32 surface. r=vlad 2008-10-08 20:41:11 -07:00
Oleg Romashin
de82ac8389 Bug 458360 - Qt build breaks after implementation of user font set object. r=vladimir. 2008-10-08 09:06:09 -05:00
Dave Townsend
f8db39fe9b Backed out changeset a9838a973cdd from bug 457194 due to failing mochitest 2008-10-01 16:40:34 +01:00
John Daggett
3865d34ef7 Bug 457194. Make sure Ahem font completely covers background. r=jdaggett, sr=vlad 2008-10-01 13:17:39 +09:00
John Daggett
b38e8d3c90 Bug 441473. Adding new files. 2008-10-01 12:04:10 +09:00
John Daggett
c5d2a8ddfd Bug 441473. Implement user font set object. r+sr=roc 2008-10-01 12:01:53 +09:00
Arpad Borsos
3da6ac3d8d bug 445321 - remove --enable-glitz and related defines. r=vlad,ted 2008-09-30 13:53:38 -04:00
Robert O'Callahan
279af36fc7 Backing out bug 448830 2008-09-28 23:13:58 +13:00
Jeremy Lea
92e7030a42 Bug 448830. Make nsIntRect/nsIntMargin/nsIntSize/nsIntPoint their own types so that we can catch errors by distinguishing pixels from appunits. r+sr=roc 2008-09-28 20:38:34 +13:00
Karl Tomlinson
b0bf792077 b=385263 make line heights integer r=roc 2008-09-27 12:22:20 +12:00
Karl Tomlinson
bd1cf53da5 b=385263 a PangoFcFont using tree cairo r=roc 2008-09-27 12:21:55 +12:00
Doug Turner
ae8db696dd Bug 456644 - WinCE gfx cairo _cairo_win32_tmpfile does not compile. r=vlad 2008-09-26 15:30:51 -07:00
Karl Tomlinson
5a7b874dec merge backout 23e255271851 b=385263 2008-09-26 20:01:15 +12:00
Karl Tomlinson
952ca1e5f6 backout 23e255271851 b=385263 2008-09-26 20:00:50 +12:00
John Daggett
a3e37412cf Bug 436663. Work around ATSUI crasher caused by long Hebrew sequence. r=roc, sr=vlad 2008-09-26 16:51:53 +09:00
Karl Tomlinson
3ff29e984e b=385263 a PangoFcFont using tree cairo r=roc 2008-09-26 17:29:55 +12:00
Karl Tomlinson
643323a858 b=456545 added missing header gfxFontconfigUtils.h 2008-09-26 17:14:51 +12:00
Karl Tomlinson
0dbd19de26 b=456545 Unify pseudo-inversion of langGrouping r=roc 2008-09-26 16:40:28 +12:00
Robert O'Callahan
6a45b282aa Backing out bug 448830 2008-09-26 13:10:26 +12:00
Jeremy Lea
67f3afd13b Bug 448830. Make nsIntRect/nsIntSize/nsIntPoint/nsIntMargin separate types so we get appunit vs pixel typechecking. r+sr=roc 2008-09-26 10:42:19 +12:00
Karl Tomlinson
a1f89017f4 b=454730 Move shutdown of GTK's fontmap from gfxPlatformGtk to nsAppRunner r=roc sr=bsmedberg 2008-09-26 10:38:25 +12:00
Karl Tomlinson
c125d77eb4 restore xlib behavior to that prior to changeset 3c9f6c799fed b=455976 r=stuart 2008-09-26 10:25:00 +12:00
Vladimir Vukicevic
33105ca61f b=456467; revisit cairo xlib buggy repeat handling; r=roc 2008-09-25 13:07:11 -07:00
Vladimir Vukicevic
4f48417c20 b=310682, add support for shadows in HTML Canvas; patch from Eric Bulter; r=vlad 2008-09-25 12:53:52 -07:00
Vladimir Vukicevic
1ce4d80f1b b=450178; add generic 8-bit alpha box blur in thebes (patch from Eric Bulter); r=vlad 2008-09-25 12:53:09 -07:00
Vladimir Vukicevic
e9929e8a33 b=455976; wrong extend mode used for macosx for border-image 2008-09-25 12:49:55 -07:00
Jeff Muizelaar
eabad639f6 b=x; Fix misc compilation issues in pixman buildconfig; r=vlad 2008-09-25 12:47:21 -07:00
Doug Turner
d26848464c Bug 455354 - WinCE GFX Thebes Windows Fonts Explicit Unicode API Call. patch by wolfe, r=pavlov 2008-09-23 16:35:56 -07:00
Karl Tomlinson
fb0d6fc718 b=454735 Make gfxFont more tolerant to shutdown of the gfxFontCache r=roc 2008-09-22 08:41:40 +12:00
Karl Tomlinson
cc1a3203b5 b=404857 firefox reloads every font.cache for every page loaded r=pavlov 2008-09-22 08:24:28 +12:00
Keith Schwarz
c45964315c Bug 455403 - -moz-transform translate functions result in incorrect origin; v5; r+sr=dbaron 2008-09-20 16:39:31 +02:00
L. David Baron
b8d9d3e2ed Backed out changeset aab6b12f4a2b (Bug 455403) due to reftest failures from landing patches in the wrong order, and unexplained reftest hangs. 2008-09-19 16:04:34 -07:00
Keith Schwarz
89a6316c50 Fix incorrect composition of translations with other transforms by making matrix multiplication code clearer, clarifying which matrices are for column vectors and which are for row vectors, and fixing incorrect matrix type conversions. (Bug 455403) r+sr=dbaron 2008-09-19 10:14:54 -07:00
Karl Tomlinson
3ce9751811 backout merge b=455791 2008-09-19 15:03:27 +12:00
Karl Tomlinson
d52c34f81c backout f51aad9e6a88 due to intermittent talos ts failures b=455791 2008-09-19 15:02:35 +12:00
Karl Tomlinson
f8ae25f7d0 b=454951 lazy creation of gfxPangoFont for gfxPangoFontGroup r=roc 2008-09-18 13:44:14 +12:00
Vladimir Vukicevic
6e6bf3a103 b=451621; push new pixman with arm fast-paths; r=me 2008-09-17 14:15:01 -07:00
John Wolfe
15cc6a4e38 Bug 454797 - WinCE GFX Cairo No MMX Support in ARM; r=vladimir 2008-09-16 14:39:29 +02:00
Markus Stange
d28fe1e136 Bug 439354 - OS X toolbar background doesn't have a good gradient, part 1 / 3, r=hwaara sr=roc 2008-09-16 10:21:06 +02:00
Mats Palmgren
20b9888b1f Disable bug 441360 crash test on GTK2 for now (filed bug 455463). 2008-09-16 10:04:46 +02:00
Mats Palmgren
92a4c7d76b Crash test for bug 441360 (additional file). 2008-09-16 07:48:18 +02:00
Karl Tomlinson
212e7734e7 b=454720 Add GetThebesStyle and GetThebesWeight to gfxFontconfigUtils r=pavlov 2008-09-16 16:40:57 +12:00
Karl Tomlinson
69486965eb fix compiler warning regarding initialization of gfxFont b=454735 r=roc 2008-09-16 16:38:20 +12:00
Karl Tomlinson
ae52bc5050 b=454735 Make gfxFont more tolerant to shutdown of the gfxFontCache r=roc 2008-09-16 16:35:05 +12:00
Karl Tomlinson
4ce06bfd6f b=454743 skip empty glyphs rather than rendering as spaces 2008-09-16 16:19:46 +12:00
Mats Palmgren
b0a4822bed Crash test for bug 441360. 2008-09-16 03:37:00 +02:00
Karl Tomlinson
e8a84aa36e b=454718 Change return type of gfxPlatformGtk::DPI() from PRUint32 to double. r=roc 2008-09-16 10:29:36 +12:00
Arpad Borsos
067d8fcf17 Bug 454483 - Clean up unused variables in gfx/; r=vladimir; (with nits by sgautherie) 2008-09-15 15:46:07 +02:00
Keith Schwarz
dc907e1ec7 Bug 435293. Implement CSS transforms. r=dbaron,r+sr=roc 2008-09-13 21:42:11 +12:00
Zack Weinberg
0f68a207ca Bug 453916: treat transparency strictly as a special case of color alpha. r+sr=dbaron 2008-09-12 08:35:53 -07:00
John Daggett
96dc454727 Bug 449533. Set the mFixedPitch flag within SetFixedPitch. r+sr=vlad 2008-09-12 16:31:16 +09:00
Vladimir Vukicevic
c0e9f67c98 b=454856; gcc compilation oddness with some fp-int conversions, workaround in gfxColor; r=bholley 2008-09-11 17:49:58 -07:00
Bobby Holley
7f68f87dbf Fixing some endian-ness bugs for color management - bug 439704. r=vlad 2008-09-10 19:21:03 -07:00
Doug Turner
a49e520740 Bug 453836 - handle OOM while images decoding. r=jim 2008-09-10 13:23:29 -07:00
Bobby Holley
3c106c861e Force cms to use sRGB as an output profile during reftests - bug 452125.r=vlad 2008-09-08 14:47:26 -07:00
Bobby Holley
6bd35710a6 Bug 453726 - thebes does an unnecessary float->byte->float conversion on the alpha channel when color management is turned on. r=vlad 2008-09-08 14:41:26 -07:00
Ginn Chen
b807ca4816 Bug 440714 use -xldscope for Sun Studio on Solaris r=vladimir,benjamin sr=benjamin 2008-09-08 14:21:07 +08:00
Oleg Romashin
92246e89b7 Bug 454060 - Cairo-qpainter build is broken after cairo update. r+sr=vladimir. 2008-09-07 22:28:20 +03:00
Vladimir Vukicevic
bcc97e0618 18829 6014c4fca4a1 2008-09-04 21:44 -0700 vladimir
b=453765; Upgrade cairo to 1.7.4-136-g5ea2555; r=me

--HG--
rename : gfx/cairo/libpixman/src/pixman-sse.c => gfx/cairo/libpixman/src/pixman-sse2.c
rename : gfx/cairo/libpixman/src/pixman-sse.h => gfx/cairo/libpixman/src/pixman-sse2.h
2008-09-06 14:29:16 -07:00
Zack Weinberg
83829cd801 Bug 441367 - reduce repetitive code in nsRuleNode.cpp with SetDiscrete() and SetFactor() helper functions. r+sr=dbaron 2008-09-06 06:56:23 -07:00
Robert O'Callahan
1bc2d8883a Bug 446529. Disable uncommon ligatures on Mac/ATSUI. Make sure we don't enable common ligatures if ATSUI has disabled them by default for this font (e.g. for Courier). r=vlad 2008-09-06 20:37:58 +12:00
Vladimir Vukicevic
f87ccb0afe Backed out changeset 6014c4fca4a1 (Cairo upgrade to 1.7.4-136) 2008-09-05 00:14:16 -07:00
Vladimir Vukicevic
2843975354 b=453765; Upgrade cairo to 1.7.4-136-g5ea2555; r=me
--HG--
rename : gfx/cairo/libpixman/src/pixman-sse.c => gfx/cairo/libpixman/src/pixman-sse2.c
rename : gfx/cairo/libpixman/src/pixman-sse.h => gfx/cairo/libpixman/src/pixman-sse2.h
2008-09-04 21:44:42 -07:00
Robert O'Callahan
787e31d22a Bug 452567. Reorder glyph drawing order for RTL to make it consistent with LTR. r=vlad 2008-09-04 14:38:32 +12:00
Doug Turner
f199113b2e Bug 453480 - Detect OOM before creating a thebes img. r=vlad, sr=stuart 2008-09-03 16:07:36 -07:00
Oleg Romashin
9941099a86 Bug 451032 – Replace gfxQtFonts with gfxFT2Fonts because it almost the same. r=vladimir 2008-08-28 21:05:53 +10:00
Brian Crowder
e5f30b8f9d Bug 422774 - reduce narrow Windows API calls in gfx, original patch by Brad Lassey <blassey@mozilla.com>, r=pavlov 2008-08-27 14:44:55 -07:00
stefanh@inbox.com
80d194e392 Backing out bug 439354 (changesets a2709097171f and b54001303198) and the dependent bug 449833 (changeset 2b246e03252b) due to perf regressions on Leopard talos boxen. 2008-08-27 21:40:25 +02:00
Markus Stange
0cf3fb1f64 Bug 439354 - OS X toolbar background doesn't have a good gradient. Part 1 (widget). r=hwaara, sr=roc. 2008-08-27 17:45:24 +02:00
shaver@mozilla.org
4e4293b4e9 re-merge from mozilla-central for post-freeze backouts 2008-08-20 10:56:41 -07:00
shaver@mozilla.org
5d3ad68bbe merge from mozilla-central 2008-08-20 08:17:17 -07:00
Ted Mielczarek
df23199981 Backed out changeset d55aac0ec553, bug 446529 - Disable discretionary ligatures on Mac, due to reftest failures on mac
REFTEST TEST-UNEXPECTED-FAIL | file:///builds/slave/trunk_darwin_mini01/build/layout/reftests/text/wordwrap-01.html |
REFTEST TEST-UNEXPECTED-FAIL | file:///builds/slave/trunk_darwin_mini01/build/layout/reftests/text/wordwrap-03.html |
2008-08-20 10:43:58 -04:00
Ted Mielczarek
702aa540ab Backed out changeset d55aac0ec553, bug 446529 - Disable discretionary ligatures on Mac, due to reftest failures on mac
REFTEST TEST-UNEXPECTED-FAIL | file:///builds/slave/trunk_darwin_mini01/build/layout/reftests/text/wordwrap-01.html |
REFTEST TEST-UNEXPECTED-FAIL | file:///builds/slave/trunk_darwin_mini01/build/layout/reftests/text/wordwrap-03.html |
2008-08-20 10:42:57 -04:00
Reed Loden
29cb2899a3 Branch merge. 2008-08-20 02:03:50 -05:00
Reed Loden
b89ad17341 Backed out changeset 6eec92f9276a from bug 416157 because the image tests need to be updated before it can be landed. 2008-08-20 02:03:01 -05:00
Robert O'Callahan
15260e6b0e Bug 446529 - "Disable discretionary ligatures on Mac" [r=vlad] 2008-08-20 00:55:27 -05:00
Michael Moy
f9e264bb68 Bug 416157 - "Add JPEG SSE2 color processing for ycc_rgb_convert_argb" [r=stuart sr=vlad] 2008-08-20 00:03:46 -05:00
Reed Loden
cc0f39ef5e Backed out changeset 59a60321d0d6 since it doesn't include everything
vlad wanted.
2008-08-19 23:01:03 -05:00
John Wolfe
b69efd4d02 Bug 444492 - "Cairo _get_system_quality() function stubbed out in WinCE" (_get_system_quality() Returns DEFAULT_QUALITY on WinCE) [r=vlad] 2008-08-19 22:58:28 -05:00
Joe Drew
7f741a1112 Bug 446675 - "Remove BeOS port of gfx" [r=vlad] 2008-08-19 22:45:02 -05:00
Robert O'Callahan
6508d9ba55 Bug 449519. gfxFont::Measure needs to be more careful so that gfxRect::Union does not discard height information. r=vlad 2008-08-08 20:24:22 +12:00
Peter Weilbacher
1ec3d5e1f0 [OS/2] follow-up for bug 437356 to unbreak the OS/2 build.
This just copies the font entry stub of gfxPangoFonts, we are going to make real use of the fontentry stuff for OS/2 hopefully soon.
2008-08-07 10:12:45 +02:00
Vladimir Vukicevic
5666178bff (really) backing out d883ab4b8f41 2008-08-06 16:32:33 -07:00
Vladimir Vukicevic
02e6b86b3b Backing out d883ab4b8f41:7540abc35c97 2008-08-06 16:24:13 -07:00
Vladimir Vukicevic
f490a8522a [dfb,422221] merge fixup 2008-08-06 13:48:55 -07:00
Vladimir Vukicevic
b6f8937698 [dfb,422221] Correctly create GdkRectangles and GdkDrawables instead of X equivalents 2008-08-06 13:48:55 -07:00
Vladimir Vukicevic
50321c29c8 [dfb,422221] Gtk/DirectFB: turn NativeXlibRenderer into NativeGdkRenderer 2008-08-06 13:48:55 -07:00
Vladimir Vukicevic
67fa7ce818 [dfb,422221] Gtk/DirectFB port core; patches from dfb tree, r=vlad 2008-08-06 13:48:55 -07:00
Peter Weilbacher
a48dcbdf88 [OS/2] Bug 448250: OS/2 broken since cairo upgrade
This just commits the fix of upstream cairo fix into mozilla-central to unbreak the OS/2 build. The relevant cairo commit is d560a3d96563d681f5c0d8ebea0d255ac35bbc99 (see http://gitweb.freedesktop.org/?p=cairo;a=commit;h=d560a3d96563d681f5c0d8ebea0d255ac35bbc99).
2008-08-06 18:53:36 +02:00
John Daggett
7a21d2d052 Bug 437356. Set up unified font entry object. r+sr=stuart 2008-08-06 13:34:06 +09:00
Joe Drew
273aff6bab Bug 447693 - "Remove photon gfx port" (remove the photon GFX port) [r=vlad] 2008-08-19 03:17:03 -05:00
Vladimir Vukicevic ext:(%2C%20Karl%20Tomlinson%20%3Ckarlt%2B%40karlt.net%3E)
82238e4cc8 Bug 449959: gfxGdkNativeRenderer: look for GdkDrawable on group target,
use default display for fallback. r=vlad/karlt
2008-08-19 15:22:42 +12:00
Oleg Romashin
6a59eaa59b dotted/dashed borders rendering with Qpainter surface very slow - bug 432453. r=vladimir 2008-08-19 04:29:25 +03:00
Bobby Holley
5eca9973d1 turned on the fastpath introduced in the main patch for bug 445552.r=stuart 2008-08-18 16:44:37 -07:00
Serge Gautherie
ccf56a9222 Bug 450132 - "nsRenderingContextImpl.cpp(93) : warning C4101: 'buffer' : unreferenced local variable", r/sr=roc 2008-08-18 19:33:28 +02:00
Ginn Chen
c866616af3 Bug 449751 gfxFont.cpp failed to compile with Sun Studio 12 r=jdaggett sr=pavlov 2008-08-18 16:31:53 +08:00
Bobby Holley
e376ccfcac adding a file for bug 450454 that I forgot to commit in c71e4d3f0093. 2008-08-17 17:48:42 -07:00
Stuart Parmenter
c126af8547 bug 448989. Merging the mozilla-qt repository. r=me,vlad 2008-08-16 23:18:27 -07:00
Bobby Holley
ead2727c2c Floating point path through lcms as part of bug 445552. r=vlad 2008-08-16 14:44:51 -07:00
Bobby Holley
aca31622dd LCMS precaching patch to speed up linear interpolations - bug 444661. r=joe,sr=vlad 2008-08-15 13:59:18 -07:00
Oleg Romashin
f60c5c61e0 Removed old embedding API
Removed old GLITZ stuff
2008-08-15 09:31:55 +03:00
Oleg Romashin
38e95b5eeb merge with mozilla-central 2008-08-16 03:39:26 -04:00
Oleg Romashin
1038376d68 Fixed bug 449566 cairo-qpainter-surface.cpp fails to compile with gcc 4.3.x, r=pavlov 2008-08-16 03:06:39 -04:00
Bobby Holley
3cdb983b04 fixed linux bustage - sorry. 2008-08-14 16:32:58 -07:00
Bobby Holley
5e329cc746 Standalone testing framework for LCMS (not run automatically). r=vlad 2008-08-14 16:13:41 -07:00
Simon Montagu
bb23c68e71 Prevent crash with long string of Indic characters. Bug 445711, r=pavlov 2008-08-14 11:20:46 +03:00
Kai Liu
34454bbe97 Bug 448704 – Eliminate <gripper> as an independent element. r=vlad/dbaron/enndeakin 2008-08-13 08:15:27 +02:00
Rob Arnold
f6bda8fda0 Implement Aero Glass effect support - bug 418454 r=vlad r=roc 2008-08-12 17:44:14 -07:00
Robert O'Callahan
73f4457098 Bug 406299. Make sure we include the font ascent/descent of a soft hyphen if there is one (gfx bits). r+sr=dbaron 2008-08-12 21:34:52 +12:00
Bobby Holley
3b34cb4ebc Bug 449681 – switch color_management pref from off/on bool to off/on/taggedonly int. r=vlad 2008-08-11 21:55:36 -07:00
Simon Montagu
b0ca17eddd Bug 449577. Remove GetHints(), r+sr=roc 2008-08-11 18:19:01 +03:00
Vladimir Vukicevic
b9335eeb11 b=422221; additional DirectFB compilation fixes 2008-08-09 22:25:30 -07:00
Oleg Romashin
59134516e5 Fixed gfxQtFont according to changes in bug 437356 Set up unified font entry object
Added empty gfxQtNativeRenderer and fixed nsObjectFrame for MOZ_WIDGET_QT
2008-08-09 16:43:08 +03:00
Oleg Romashin
12059d0133 mozilla-central merge 2008-08-08 13:05:00 +03:00
Vladimir Vukicevic
4777074613 [dfb,422221] merge fixup; fix temp xlib surface creation 2008-08-06 13:48:55 -07:00
Vladimir Vukicevic
47e8b31ff1 [dfb,422221] Correctly create GdkRectangles and GdkDrawables instead of X equivalents 2008-08-06 13:48:55 -07:00
Vladimir Vukicevic
05da74d969 [dfb,422221] Gtk/DirectFB: turn NativeXlibRenderer into NativeGdkRenderer 2008-08-06 13:48:55 -07:00
Vladimir Vukicevic
cec2aa1047 [dfb,422221] Gtk/DirectFB port core; patches from dfb tree, r=vlad 2008-08-06 13:48:55 -07:00
Oleg Romashin
7c82d23645 Fixed show_glyphs build error according to latest cairo 1.6.4 update 2008-08-04 02:30:08 +03:00
Oleg Romashin
6df73fd09d Fixed bug 448961 - error: comma at end of enumerator list 2008-08-04 00:12:04 +03:00
Oleg Romashin
dbbb2a81ec Removed some not required changes which can break trunk build
Removed empty lines changes
2008-08-03 21:10:34 +03:00
Oleg Romashin
bc6cd35488 Merging mozilla-central to mozilla-qt. 2008-08-03 20:30:10 +03:00
Ginn Chen
e4428cafe9 Backout bug 440714, it failed on Mac OS X 2008-07-29 23:51:49 +08:00
Ginn Chen
54cdd01353 Bug 440714 Firefox 3 failed to start on Solaris, r=vladimir 2008-07-29 23:41:41 +08:00
Ian Neal
2cc0239904 Bug 447776 – Hang with word-wrap: break-word and width: 0px
with testcase and crashtests
p=smontagu r/sr=roc
2008-07-27 17:43:07 +01:00
Karl Tomlinson
d8c5181f96 rounding changes in nsNativeThemeGTK::DrawWidgetBackground,
rename aClipRect to aDirtyRect in nsITheme::DrawWidgetBackground. b=444837 r=roc
2008-07-25 11:01:59 +12:00
Simon Montagu
0dd0a7f5ba Support for word-wrap CSS property. Bug 99457, r+sr=dbaron, roc 2008-07-24 10:16:18 +03:00
Bobby Holley
4a0c36fc63 Firefox honors embedded ICC intent flag - bug 444014 r=vlad 2008-07-23 10:33:12 -07:00
Vladimir Vukicevic
249ff0de3c b=424423, border rendering is slow: Part 1; r+sr=roc 2008-07-23 10:25:23 -07:00
Vladimir Vukicevic
f322efada2 b=424423; border rendering is slow: add APIs to thebes; r=joe 2008-07-23 10:25:00 -07:00
Vladimir Vukicevic
64fb32b518 b=446323, Upgrade cairo to 1.6.4-350-g1a9809b; r=vlad 2008-07-20 14:15:22 -07:00
Vladimir Vukicevic
7b7cfbab99 Backed out changeset 20534cf9abf5 2008-07-20 15:35:51 -07:00
Vladimir Vukicevic
b25dd7a8bf b=446323, Upgrade cairo to 1.6.4-348-g96c9e2a; r=vlad 2008-07-20 14:15:22 -07:00
Peter Weilbacher
047958a689 [OS/2] Bug 439194: simple glyph matching across all installed fonts 2008-07-20 18:51:49 +00:00
Simon Montagu
5ab37eaa02 Remove unused ccmap files. Bug 445877, r+sr=dbaron 2008-07-20 11:37:00 +03:00
Eric Butler
2dab44aa60 Expose Cairo path copy/append functions through Thebes - bug 445616 r=vlad 2008-07-18 11:26:02 -07:00
L. David Baron
b86e94a100 Fix generation of precompiled cmaps on 64-bit platforms to match what the code expects. (Bug 445626) r=smontagu 2008-07-17 16:37:12 -07:00
Andrew Smith ext:(%2C%20Rob%20Arnold%20%3Ctellrob%40gmail.com%3E%2C%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E)
49c9b3d67e Implement css3 border-image property. (Bug 378217) r=vlad,dbaron,robarnold 2008-07-16 23:30:25 -07:00
L. David Baron
9e4ceade8e Backed out changeset 9b0b2391485c due to linker errors related to nsStyleStructInlines.h not being included enough. 2008-07-16 22:59:14 -07:00
Andrew Smith ext:(%2C%20Rob%20Arnold%20%3Ctellrob%40gmail.com%3E%2C%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E)
bb4be48531 Implement css3 border-image property. (Bug 378217) r=vlad,dbaron,robarnold 2008-07-16 22:18:38 -07:00
Bobby Holley
500e5c0524 System color profile handle not freed on thebes shutdown - bug 444829 r=vlad 2008-07-16 20:09:08 -07:00
Karl Tomlinson
333c18ab53 cairo_draw_with_xlib should provide a non-NULL visual to callback. b=445250 r=vlad 2008-07-17 13:22:50 +12:00
Zack Weinberg
2103ba64ef Add .zeroOrAveCharWidth field to gfxFont::Metrics. Initialize it in all font backends. Use it when computing CSS 'ch' units, and make eStyleUnit_Chars and nsLayoutUtils::CharsToCoord unused. (Bug 363706) r=roc sr=dbaron 2008-07-15 14:31:36 -07:00
Robert O'Callahan
8901cc3a8a Bug 444689. gfxMatrix type checks should allow for an epsilon fuzz so that matrix arithmetic that works out to the identity doesn't change the type. r=vlad 2008-07-14 10:27:43 +12:00
Robert O'Callahan
2d4fd7e6b5 Bug 444690. gfxPlatformGTK::CreateOffscreenSurface should clear the surface to be consistent with other platforms. r=vlad 2008-07-14 09:40:16 +12:00
Chris Double
02ccf2851f Bug 382267. Core implementation of the <video> and <audio> elements. r=jst,r+sr=roc 2008-07-09 20:22:20 +12:00
Karl Tomlinson
096f79ffa2 remove excess spaces to force rebuild for system-headers changes 6c0971153949 2008-07-08 16:58:17 +12:00
Karl Tomlinson
b768d04fd4 remove comma at end of enumerator list from 9bbea3b66376 2008-07-08 14:37:41 +12:00
Karl Tomlinson
8a008f0564 Bug 435764 – crash [@ cairo_draw_with_xlib] painting windowless plugins.
Move ws_info set-up from nsObjectFrame::CallSetWindow().
Provide gfxXlibNativeRenderer::NativeDraw with Screen and Colormap.
r+sr=roc
2008-07-08 14:15:40 +12:00
Mats Palmgren
b01b0154dd Fix bug 441360. r+sr=vlad 2008-07-08 02:00:22 +02:00
Mats Palmgren
5605db70df Fix potential memory leak. b=441454 r+sr=vlad 2008-07-08 01:49:39 +02:00
Mats Palmgren
eeaac22dff Backout crash tests for bug 409006 since it caused other crash tests to fail loading (403296-1.xhtml). 2008-07-03 16:00:32 +02:00
Mats Palmgren
7dff52cbb1 Crash tests for bug 409006. 2008-07-03 14:57:20 +02:00
Mats Palmgren
3856a18945 Backout crash tests for bug 409006. 2008-07-02 15:50:53 +02:00
Mats Palmgren
ccdf3aa2b1 Crash test for bug 409006. 2008-07-02 13:13:15 +02:00
L. David Baron
a05e0bbe1c Merge backout of 0b1995eab10f due to mochitest failures on at least Windows. (Bug 363706) 2008-07-01 22:01:26 -07:00
L. David Baron
df1b22e4c5 Back out 0b1995eab10f due to mochitest failures on at least Windows. (Bug 363706) 2008-07-01 22:01:10 -07:00
John Daggett
1cb2f4ae57 Bug 423405. gfxPlatformMac.h causes compile to fail GCC4.2 on Mac OS X. r=jdaggett, sr=vlad 2008-07-02 13:19:37 +09:00
Zack Weinberg
74a4ba6923 Add .zeroOrAveCharWidth field to gfxFont::Metrics. Initialize it in all font backends. Use it when computing CSS 'ch' units, and make eStyleUnit_Chars and nsLayoutUtils::CharsToCoord unused. (Bug 363706) r=roc sr=dbaron 2008-07-01 20:24:36 -07:00
John Daggett
c89140eb33 Bug 433997. Catch null ptrs returned by CGFontGetHMetrics in cairo mac font code to prevent top crasher. r+sr=vlad 2008-07-01 09:02:21 +09:00
Simon Montagu
661c1e5933 Set glyph info for low surrogates in Pango. Bug 439910, r+sr=roc 2008-06-18 23:14:51 -07:00
Ginn Chen
d94506c0a7 Bug 435739 Poor performance of Firefox 3 with no X RENDER extension
r=vladimir
2008-06-11 18:29:21 +08:00
Robert O'Callahan
ff76cbbd22 Add Width/Height/GetDataSize getters to gfxImageSurface. r=vlad 2008-06-11 11:46:32 +12:00
Robert O'Callahan
a395b05359 Add 2-axis Scale, operator-, and Contains to gfxRect. r=vlad 2008-06-11 11:43:51 +12:00
Robert O'Callahan
170eb005a5 Make gfxImageSurface clear allocated surface data. r=vlad 2008-06-11 11:05:43 +12:00