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

7137 Коммитов

Автор SHA1 Сообщение Дата
L. David Baron 94595f2f88 Implement multiple background layers, implement fallback background color, and make -moz-background-inline-policy no longer be part of the background shorthand. (Bug 322475) r+sr=roc,bzbarsky 2009-02-19 21:29:21 -08:00
L. David Baron c674a753b4 Backed out changeset fde0b361f25e (bug 322475, main patch) due to Mac talos startup failures and hitting the NS_ABORT_IF_FALSE in SetupBackgroundClip, which may be related. 2009-02-19 13:51:46 -08:00
L. David Baron caf423a97a Implement multiple background layers, implement fallback background color, and make -moz-background-inline-policy no longer be part of the background shorthand. (Bug 322475) r+sr=roc,bzbarsky 2009-02-19 12:33:09 -08:00
L. David Baron 77c163c9a9 Back out all 8 changesets that I just landed (bugs 477959, 477961, 322475, 478899, 475215, 478156) again, because Talos Try server builds lie about which changesets they're testing. 2009-02-19 09:06:18 -08:00
L. David Baron 038026b7b5 Implement multiple background layers, implement fallback background color, and make -moz-background-inline-policy no longer be part of the background shorthand. (Bug 322475) r+sr=roc,bzbarsky 2009-02-19 07:29:28 -08:00
Jeremy D. Lea 32b765355b Bug 476726 - deCOMtaminate WidgetToScreen and ScreenToWidget; r+sr=roc
--HG--
extra : rebase_source : 4a35ccdcafbe8a0a9dded9f292a139b4679709e3
2009-02-18 16:11:49 -08:00
L. David Baron 0e185f2bc0 Revert (back out) the previous 11 changesets (bugs 477959, 477961, 477963, 477962, 322475, 478899, 475215, 478156), due to Mac talos orange with (as usual) no useful diagnostic. 2009-02-18 18:59:47 -08:00
L. David Baron 3c4144d0e6 Implement multiple background layers, implement fallback background color, and make -moz-background-inline-policy no longer be part of the background shorthand. (Bug 322475) r+sr=roc,bzbarsky 2009-02-18 17:13:25 -08:00
Ginn Chen 5ff783af51 Bug 478842 gfxColorManagementTest.cpp failed to build on Solaris r=bholley 2009-02-18 19:44:18 +08:00
John Daggett 0209f39cb9 Bug 476724 - clean out Windows-specific flags from gfxFontEntry. r=vlad 2009-02-18 16:33:39 +09:00
Serge Gautherie c6e1d10035 Backed out changeset: 719dca3419b5 2009-02-15 18:41:16 +01:00
Jeremy Lea b798bd8c19 Bug 476726 - deCOMtaminate WidgetToScreen and ScreenToWidget; r+sr=roc 2009-02-15 17:41:06 +01:00
Jesse Ruderman 81b4a03e38 Add crashtests 2009-02-13 14:54:17 -08:00
John Daggett 556ea03b1e Bug 465463 - use style attributes defined in @font-face rule (Mac OS X). r=vlad 2009-02-12 13:08:00 +09:00
Jesse Ruderman e0ff240014 Add a bunch of crashtests 2009-02-10 22:18:05 -08:00
John Daggett d11a4a9eb3 Bug 476504 - handle errors in fetching font metrics. r=vlad 2009-02-11 10:07:50 +09:00
Jesse Ruderman aab1c02b20 Add some crashtests 2009-02-10 16:36:04 -08:00
Vladimir Vukicevic de4f913caa b=477727; remove calls to GetViewportOrgEx; r=stuart 2009-02-10 15:10:07 -08:00
Taras Glek dd7e7418a2 Bug 477708 - expose nsIRegion::getrects() to scripts r=stuart 2009-02-10 15:10:07 -08:00
Jonathan Kew 4a08835d68 Bug 475092. Fix horizontal offsets for vertically-offset glyphs on Windows. r=vlad,r+sr=roc 2009-02-10 21:34:51 +13:00
mats.palmgren@bredband.net 7dc9e5bd7f Bug 477498, Crash [@ TextRunWordCache::MakeTextRun], r+sr=roc 2009-02-09 12:23:38 +02:00
Gavin Sharp 95260abedb Add bug 474886 to cairo README 2009-02-06 17:33:13 -05:00
L. David Baron 1134395c4b Invalidate the correct area when loading an image for which we've displayed the loading-image icon. (Bug 409870) r+sr=bzbarsky r=roc 2009-02-06 08:52:13 -08:00
Boris Zbarsky 416ea8c73b Bug 476724. Recompute underline offsets when user fonts load, and make sure to initialize all our members. r=jdaggett, sr=roc 2009-02-05 18:10:39 -05:00
Peter Van der Beken f7ae336f62 Backed out changeset d679ac3a8de0 - merge 2009-02-05 15:35:01 +01:00
Peter Van der Beken 9651357e4a Backed out changeset d679ac3a8de0 (Bug 445087. Add extra pixel on each side of the glyph's black box returned by GetGlyphOutlineW, to avoid clipping ClearType pixels. r=vlad) to fix orange. 2009-02-05 15:34:12 +01:00
Jonathan Kew 4bc53e4056 Bug 445087. Add extra pixel on each side of the glyph's black box returned by GetGlyphOutlineW, to avoid clipping ClearType pixels. r=vlad 2009-02-05 21:06:14 +13:00
Arpad Borsos ad2a673d8c Bug 476805. Stop leak by avoiding double refs. r+sr=roc 2009-02-04 14:21:02 +01:00
Zack Weinberg b621f00dd5 Bug 455364. Add Thebes API to extract a subimage of an image into a new image. r=vlad 2009-02-05 21:14:07 +13:00
Jeff Muizelaar bcb702f175 Bug 474886 - Allow rank 0 matrices when setting the font matrix. r=vlad p=jrmuizel
cairo_scaled_font_init() allows rank 0 matrics so cairo_set_font_matrix
should too. This keeps us from accidentally breaking our cairo context
and causing things to draw wrong.
2009-02-04 14:07:59 -05:00
Marco Bonardo 481aec6330 Backed out changeset 8a79415ac146 due to persistent orange on OS X unit test boxes 2009-02-04 11:50:07 +01:00
Boris Zbarsky 169cda186a Bug 476724. Recomputed underline offset after we rebuild our font set. r+sr=roc 2009-02-03 21:58:21 -05:00
Arpad Borsos 760ddfdea5 Bug 474116 - Clean up deprecated GTK symbols; r=(bsmedberg + roc) sr=roc 2009-02-02 18:49:58 +01:00
Robert O'Callahan be3fa9f56c Backed out changeset c7385f0a0168 2009-01-30 23:21:53 +13:00
Jonathan Kew 67ebf17341 Bug 475092. Fix incorrect positioning on Windows when glyph run includes vertically-offset glyphs is drawn to canvas. r=vlad
--HG--
extra : rebase_source : 30a3730fd3db418854462cc31dc0ee06c7f56ae0
2009-01-30 20:15:08 +13:00
L. David Baron 5e75e612a2 Implement CSS computation of font-stretch property and store it in the gfx font structures. (Bug 3512) r=vlad sr=bzbarsky 2009-01-29 12:39:18 -08:00
L. David Baron a770d59514 Separate previously-copied font constants into their own file and have them in one place rather than three. (Bug 3512) r=vlad 2009-01-29 12:39:18 -08:00
Doug Turner fd89dd61ba Bug 474825 - honor mozilla.widget.disable-native-theme preference on windows. r/sr=stuart 2009-01-28 15:39:13 -08:00
Robert O'Callahan 8e02c66450 Backed out changeset 360b4a2d0aa8 2009-01-29 00:55:19 +13:00
Jonathan Kew d9b584c12d Bug 475092. Fix incorrect positioning on Windows when glyph run includes vertically-offset glyphs is drawn to canvas. r=vlad 2009-01-28 22:41:34 +13:00
Jonathan Kew c40845e262 Bug 454098. Fix signs for baseline offsets for glyphs on Windows. r+sr=roc 2009-01-28 22:39:35 +13:00
Behdad Esfahod a50998e4f0 Bug 460023. Change the glyph dropping safety margin from 2em to 10em. r=vlad 2009-01-28 22:36:23 +13:00
Ginn Chen fe788eb2e5 Bug 474758 FcFontSetSort() crashes on Solaris r=karlt 2009-01-23 16:24:36 +08:00
Brad Lassey 5bbc65e72d bug 462908 - Follow up to fix indentation and include patch in gfx/cairo 2009-01-23 02:59:24 -05:00
Brad Lassey 5e96a8aca5 bug 462908 - Implement Freetype font backend for windows ce r=karlt, jdagget sr=stuart, vlad 2009-01-23 01:24:29 -05:00
Daniel Holbert c755eee8e7 Bug 473236 - Remove executable bit from files that don't need it. (Only changes file mode -- no code changes.) r=bsmedberg 2009-01-21 22:55:08 -08:00
Fred Jendrzejewski fd612bd117 Bug 466622. Replace nsCStringArray with nsTArray<nsCString> for more consistent code and fewer heap allocations. r+sr=roc,r=bsmedberg
--HG--
extra : rebase_source : b963bf5de9d9c445b14620479691482512e0faf2
2009-01-22 17:15:34 +13:00
Arpad Borsos 7523e7d43d Bug 471877 - Cleanup GTK includes; further cleanup + system-headers cleanup; r+sr=roc 2009-01-21 16:24:46 +01:00
Fred Jendrzejewski 9bd9de1b83 Bug 461047 - Replace nsStringArray with nsTArray<nsString>. r+sr=roc 2009-01-18 21:14:14 +01:00
Robert O'Callahan 730e65f154 Backed out changeset 8019a959aade 2009-01-16 22:20:33 +13:00
Fred Jendrzejewski 6e7f270ba9 Bug 461047. Replace nsStringArray with nsTArray<nsString>. r+sr=roc
--HG--
extra : rebase_source : 7a20af24c97867efbb28dafa6a70ea1b4cf00e58
2009-01-16 20:51:04 +13:00
Jeremy Lea 1b7e1f21f0 Bug 448830. Make nsIntRect/nsIntMargin/nsIntSize/nsIntPoint different types from nsRect/nsMargin/nsSize/nsPoint different types for better compile-type unit checking. r+sr=roc
--HG--
extra : rebase_source : a331a9e49fbc5931f546919281fcca7f008ab615
2009-01-15 16:27:09 +13:00
Ehsan Akhgari fe7e483e91 Bug 473530 - PRBool violations after landing of bug 441782; r,sr=roc 2009-01-15 11:24:44 +03:30
Doug Turner de81fcecc7 Bug 468399. Use image surfaces on windows mobile for performance reasons. r=vlad 2009-01-14 16:19:39 -08:00
Robert Kaiser d8fb321cd1 bug 464687 - --enable-tests static build bustage in thebes/test, r=vlad 2009-01-14 14:48:33 +01:00
Josh Aas 7a61ccd865 Port gfx to 64-bit Mac OS X, part 1. b=489354 r=jfkthame sr=roc 2009-04-22 09:08:09 -04:00
Vladimir Vukicevic fb65af8d59 b=488685; cruft in GIF image; r=joe,roc 2009-04-21 21:33:37 -07:00
Jeff Muizelaar 70c1b971c7 Bug 488747 - Fix endian handling in qcms. r=joe 2009-04-21 22:22:29 -04:00
Jeff Muizelaar e228481faa Bug 489133 - Handle bad cHRM chunks in PNGs. r=joe 2009-04-21 22:21:48 -04:00
Jeff Muizelaar d9650e7d20 Bug 489133 - Fix handling of bad whitepoints in PNGs. r=joe 2009-04-21 22:21:13 -04:00
Jeremy Huddleston 04db73729f Bug 484457 - Define Status int breaks OSX builds when including MachineExceptions.h. r=vlad 2009-04-20 18:36:37 +02:00
Hiroyuki Ikezoe 0d7ea8ed3f Bug 484083 - Should load TruType Collection file too; r=bugmail@lassey.us sr=jdaggett 2009-04-18 20:02:26 +02:00
Karl Tomlinson dfb38e95ad Bug 478871: Switch to new_font() and default_substitute() functions from Pango API to fix compile issues with newer pango versions. r=behdad sr=roc 2009-04-17 12:51:43 -07:00
Makoto Kato f4a4cf894e Bug 487900 - Enable SSE2 code for x86_64 in qcms. r=jmuizelaar 2009-04-15 22:14:03 +09:00
Ginn Chen 7edec35c73 Bug 487765 - Fix qcms build problems on Solaris. r=jrmuizel 2009-04-14 11:25:31 -04:00
Marco Perez 9d034bcc0c Bug 487754 - Problems building qcms on FreeBSD. r=jrmuizel 2009-04-14 11:08:23 -04:00
Jonathan Kew 84c9c97447 Bug 487549. Do kern table sanity checks on downloaded fonts. r=roc 2009-04-14 17:48:32 +09:00
Hiroyuki Ikezoe 3bfcc07136 bug 486621 - Should close file handle in gfxWindowsPlatform::FindFonts() r=vlad 2009-04-13 22:49:06 -04:00
Hiroyuki Ikezoe 376ac275d7 bug 486624 - AppendFacesFromFontFile is called twice for the same font file r=blassey, vlad 2009-04-13 22:49:06 -04:00
John Daggett bbdc1f0a59 Bug 465452 - better handling of format hints for downloadable fonts. r=dbaron. 2009-01-13 14:16:58 +09:00
Jesse Ruderman 0c2987fcea Add supercombiner as a crashtest 2009-01-12 19:46:35 -08:00
Vladimir Vukicevic 3c0e89dac0 b=455243, weird behaviour with fonts with bad faces; r=jdaggett 2009-01-12 11:23:41 -08:00
Robert O'Callahan f570471138 Bug 430332. Defer nsTransformingTextRun::RebuildTextRun until the linebreaker has completely set up the break and capitalization data on the transformed text run. r=smontagu 2009-01-09 13:23:28 +13:00
Vladimir Vukicevic e8ac2964c7 b=469916, lcms error when trying to open 0-sized profile; r=bholley 2009-01-07 11:50:14 -08:00
Dão Gottwald de19ee8a7e Bug 471923 - kill tab-left-edge and tab-right-edge -moz-appearance values. r+sr=roc 2009-01-04 15:01:48 +01:00
Arpad Borsos 545b33f3af Bug 471877 - Cleanup GTK includes; r+sr=roc 2009-01-03 08:37:52 +01:00
Karl Tomlinson 92f62422df b=469752 don't increment generation after LookupLocalFont in gfxUserFontSet::LoadNext r=jdaggett 2009-01-03 16:28:46 +13:00
Karl Tomlinson a3ecf75313 b=468218 @font-face { src:local() } for GTK/Pango r=roc 2009-01-03 16:21:49 +13:00
Jesse Ruderman 10c6ec54aa Add 19 crashtests 2009-01-01 14:18:58 -08:00
Jonathan Kew 36c5e3637e Bug 470418 - Leak nsStyleContext with RTL, text-transform; r,sr=roc 2009-01-01 16:34:13 +03:30
timeless c70abe3c24 Bug 469019 - gfxRect shouldn't be forward declared as a class; fixing forward declaration to match impl; r=(bzbarsky + longsonr) sr=roc 2008-12-30 06:34:56 +01:00
L. David Baron dd8e693640 Make the Windows widget code report 24-bit color depth when the display driver reports 32, since it's the same number of bits per pixel. (Bug 466669) r=vlad 2008-12-23 09:06:56 -05:00
John Daggett 82ff549e32 Bug 458160 - Enable downloadable .otf fonts under Windows. r=roc, sr=vlad. 2008-12-22 14:01:14 +09:00
Jonathan Kew 1fdb3b5e56 Bug 463806 - [PATCH][@font-face] Downloaded font activation on Mac may fail due to ATS cache corruption; r=(jdaggett + roc) sr=roc 2008-12-21 02:26:18 +01:00
Jeff Muizelaar 2fe9bc2d96 Bug 467423 - Painting stops in this case, using -moz-transform: scale, rotate and video; r=vladimir 2008-12-20 01:59:17 +01:00
Ehsan Akhgari aa66642c02 Bug 441782 - bidi.numerals == 4 does not switch numeric shapes in content; r,sr=roc 2008-12-18 23:42:53 +03:30
Robert O'Callahan e6fff18cf0 Backed out changeset dcd1ad7a918e 2008-12-18 16:05:16 +13:00
Robert O'Callahan 1572522cc2 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-18 14:13:23 +13:00
Justin Dolske b1445b72a9 Merge backout of 98ea743c9156 (bug 463806) due to crashes on OS X 10.4 Talos boxes. 2008-12-17 13:02:57 -08:00
Justin Dolske 17a7cc32cb Backed out changeset 98ea743c9156 (Bug 463806) due to crashes on OS X 10.4 talos boxes. 2008-12-17 13:01:30 -08:00
Robert O'Callahan 40512debd4 Bug 467487. Use a better and more explicit check for the case where a text frame's textrun doesn't map enough text for the frame. r=smontagu
--HG--
extra : rebase_source : d9f9f7f8d7b84622b3be4f951133074ef7f5846d
2008-12-17 15:14:33 +13:00
Jonathan Kew 667fe17b6c 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ý 00c02a3a7d 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 5d7ddeaf88 backout b=403513 due to compile error in gfxFontSelectionTest.cpp 2008-12-17 13:57:40 +13:00
Martin Stránský 52ccba8876 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 9cb86c7c7e Backed out changeset 0cb24a4bcd9b 2008-12-13 00:09:56 +13:00
Robert O'Callahan 18f087f69c 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 157244f58c Bug 460037 - Fix crasher in font loader when closing windows. r+sr=roc 2008-12-12 16:31:51 +09:00
Brad Lassey 973ecf2d8d Bug 465554 - gtk build fails in gfxPlatformGtk.cpp with --disable-pango r=stuart 2008-12-11 11:50:31 -08:00
Markus Stange b7499a79eb Bug 391984 - [10.5] Add roundness to context menus, r=josh sr=roc 2008-12-11 15:37:38 +01:00
Robert O'Callahan babbc3f2b8 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 f7d5415f58 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 b3f661da65 LCMS LI16F_FORWARD renamed to LI8F_FORWARD - bug 457626.r=vlad 2008-12-06 22:55:10 -08:00
Bobby Holley dacdd04cdf LCMS bogus profile detection - Bug 460629. r=vlad 2008-12-06 22:32:24 -08:00
Bobby Holley 2585a16c65 Disable fatal LCMS errors earlier in thebes - bug 458164. r=joe 2008-12-06 22:24:25 -08:00
Michael Ventnor 7fc0862aa0 Bug 468018 - Optimize box-shadow rendering even further by doing more intersections; r=vladimir 2008-12-06 19:54:36 +01:00
Markus Stange a715224d9b 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 28388bacad b=462798 fixage: add NS_VISIBILITY_DEFAULT to cairo_ft_font_options_substitute declaration 2008-12-06 18:06:42 +13:00
Karl Tomlinson e724ceb0f8 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 ba399becc8 b=458169 @font-face { src: url() } for Linux. r=roc 2008-12-06 12:19:27 +13:00
Karl Tomlinson 17b7625229 b=467874 only destroy FT_Faces created by cairo. r=vlad 2008-12-06 12:08:45 +13:00
Jeff Muizelaar 0dd49dcebe Bug 461202 - Turn on SSE2 pixman optimizations; on MsVC only; (no review) 2008-12-05 07:15:28 +01:00
Zack Weinberg 9d4de5348c 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 5ecdb26ff8 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 e5e19c3adb 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 cba2d3cd64 Bug 461860 - windows mobile fixes in gfx r+sr=vlad 2008-12-03 08:42:03 -05:00
Robert O'Callahan 6eeaa0e17e 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 b0391cfacd 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 d50580f66e 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 a8f2841d96 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 97794fff17 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 0570934621 [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 3677e77b7e 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 d7769b33e9 Backed out changeset 0586ee185c87 (bug 460629) to investigate possible performance regression (bug 467102) 2008-11-28 11:02:01 -08:00
Bobby Holley 21989226cb Bug 460629 - Bogus ICC profile detection for LCMS.r=vlad,a191=beltzner 2008-11-28 10:17:32 +01:00
Peter Weilbacher 66bdaa2e67 [OS/2] cairo-os2 build fix that was already applied in upstream cairo 2008-11-28 00:06:22 +01:00
Robert O'Callahan c14b08eaf0 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 4db5d3c126 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 898da63fd7 [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 2fd689093a [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 f8e416a37e [OS/2] remove two unused, already commented, code lines from gfxOS2Platform.cpp 2008-11-26 20:12:52 +01:00
Jonathan Kew 8e1a66e1d5 fix uninitialized variable causing incorrect fallback font selection (bug 451426) r=roc sr=roc 2008-11-26 10:13:02 -08:00
Brad Lassey 098c837567 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 60173d2152 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 f1bad15b00 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 77ed54f9e0 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 4eb522f097 [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 47112f57ea [OS/2] Bug 465691: fix debug output to compile again (CLOSED TREE) 2008-11-24 20:18:15 +01:00
Jeff Muizelaar e4cf567714 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 7db9789169 b=463872; fix qt backend cairo build; r=me 2008-11-09 15:43:39 -08:00
Vladimir Vukicevic 3679e3522b 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 acac548702 b=424333; BadAlloc under X when viewing extremely large images; r=joe 2008-11-09 15:39:41 -08:00
Karl Tomlinson af9bab38dd b=449356 remove accidentally added code 2008-11-07 15:37:52 +13:00
Karl Tomlinson 3620c471fd b=449356 font selection through Mozilla's PangoFcFontMap, r=roc 2008-11-07 15:21:34 +13:00
Robert O'Callahan c2bd446a22 Bug 456330. Fix translation to account for top/left padding. r=vlad 2008-11-07 13:56:57 +13:00
Karl Tomlinson 8178f9f5fa backout b=449356 9621d305de92 2008-11-07 10:49:14 +13:00
Karl Tomlinson 096d778200 b=449356 font selection through Mozilla's PangoFcFontMap, r=roc 2008-11-07 09:39:06 +13:00
Simon Montagu 88115cd125 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 a58444c3c1 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 4922f0fea7 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 5a17f99678 Bug 457825 - Support access control headers when downloading fonts. r=jonas,dbaron, sr=jonas 2008-11-06 09:32:12 +09:00
Karl Tomlinson 5be635b3a6 backout b=449356 e8665c7cfdf2 and 20113c4780d2 2008-11-06 12:26:22 +13:00
Karl Tomlinson af6dd3708c b=449356 remove stray "static" keyword 2008-11-06 11:48:20 +13:00
Karl Tomlinson a8db8c85f5 b=449356 font selection through Mozilla's PangoFcFontMap, r=roc 2008-11-06 11:14:02 +13:00
Robert O'Callahan bdeeace995 Bug 458487 - 'Rework image snapping logic'. r=vlad+joedrew, sr=dbaron 2008-11-04 14:01:21 -08:00
Doug Turner 9ac0506e5e WinCE only. Adding a -D to our define list on windows mobile. r=vlad 2008-11-04 12:37:27 -08:00
Doug Turner 34cb8ef32f 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 4e7a24bda9 Bug 462911 - support NS_PRINTING in gfx / cairo. r=vlad 2008-11-04 07:43:45 -08:00
Phil Ringnalda 5ac69655c0 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 1c443cb9a9 Bug 459708 - Remove -moz-appearance values "radio-small" and "checkbox-small", r=roc 2008-11-03 14:12:59 +01:00
Simon Montagu 4601f6bd64 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 f17bef65a3 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 f7d61f0ea6 Bug 458861. Validate TrueType headers before activating downloaded font. r=roc, sr=vlad,roc 2008-10-29 11:09:50 -07:00
Karl Tomlinson b88200ac3b b=455647 garbage Indic characters on parts of some English webpages. r=pavlov 2008-10-29 10:24:06 -07:00
Reed Loden 2f4328ee79 Possible fix for bustage caused by bug 422637. 2008-10-24 01:43:19 -05:00
Alfred Kayser 76db886cde 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 ce79e8249d 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 555faf95e0 Bug 458256. Use LoadLibraryW instead of LoadLibrary (patch by DougT). r+sr=vlad 2008-10-18 05:14:01 +02:00
John Daggett f42a36ed45 Bug 441473. Fix VC 7.1 bustage. r=jdaggett, sr=roc 2008-10-15 18:21:17 +09:00
Robert O'Callahan 62cc01d08f 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 ef1685d002 [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 4460c617be 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 cd13009ffb 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 8e33d245c2 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 49e4e31139 b=308917, fix quartz SurfacePatternDrawFunc; r=joe 2008-10-09 14:49:15 -07:00
John Daggett 0bfd5b8b95 Bug 458113. Fix syntax error that broke OS/2 build. r+wuno 2008-10-09 14:52:00 +09:00
blassey@mozilla.com 72b60b7394 Bug 458946 - Reduce narrow windows API calls in cairo win32 surface. r=vlad 2008-10-08 20:41:11 -07:00
Oleg Romashin 6d828971d9 Bug 458360 - Qt build breaks after implementation of user font set object. r=vladimir. 2008-10-08 09:06:09 -05:00
Dave Townsend 1c343083a8 Backed out changeset a9838a973cdd from bug 457194 due to failing mochitest 2008-10-01 16:40:34 +01:00
John Daggett 68eea9c547 Bug 457194. Make sure Ahem font completely covers background. r=jdaggett, sr=vlad 2008-10-01 13:17:39 +09:00
John Daggett 8147671e12 Bug 441473. Adding new files. 2008-10-01 12:04:10 +09:00
John Daggett d3e7ca5b3c Bug 441473. Implement user font set object. r+sr=roc 2008-10-01 12:01:53 +09:00
Arpad Borsos efea680165 bug 445321 - remove --enable-glitz and related defines. r=vlad,ted 2008-09-30 13:53:38 -04:00
Robert O'Callahan 9617ccbc59 Backing out bug 448830 2008-09-28 23:13:58 +13:00
Jeremy Lea b971d67ca6 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 ffee3919e2 b=385263 make line heights integer r=roc 2008-09-27 12:22:20 +12:00
Karl Tomlinson b05088a50f b=385263 a PangoFcFont using tree cairo r=roc 2008-09-27 12:21:55 +12:00
Doug Turner 1ee58a9370 Bug 456644 - WinCE gfx cairo _cairo_win32_tmpfile does not compile. r=vlad 2008-09-26 15:30:51 -07:00
Karl Tomlinson 4639a5174e merge backout 23e255271851 b=385263 2008-09-26 20:01:15 +12:00
Karl Tomlinson 51e8b48909 backout 23e255271851 b=385263 2008-09-26 20:00:50 +12:00
John Daggett 5e9796238c 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 0578a9a9bb b=385263 a PangoFcFont using tree cairo r=roc 2008-09-26 17:29:55 +12:00
Karl Tomlinson 31f7718536 b=456545 added missing header gfxFontconfigUtils.h 2008-09-26 17:14:51 +12:00
Karl Tomlinson 0dc03c6908 b=456545 Unify pseudo-inversion of langGrouping r=roc 2008-09-26 16:40:28 +12:00
Robert O'Callahan 933a4085b6 Backing out bug 448830 2008-09-26 13:10:26 +12:00
Jeremy Lea 9848d4cb07 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 1487937a1d 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 abfdb1c967 restore xlib behavior to that prior to changeset 3c9f6c799fed b=455976 r=stuart 2008-09-26 10:25:00 +12:00
Vladimir Vukicevic 210e0b365b b=456467; revisit cairo xlib buggy repeat handling; r=roc 2008-09-25 13:07:11 -07:00
Vladimir Vukicevic c2da82edf0 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 d8cd4c9527 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 086edf87e3 b=455976; wrong extend mode used for macosx for border-image 2008-09-25 12:49:55 -07:00
Jeff Muizelaar 8827488ff0 b=x; Fix misc compilation issues in pixman buildconfig; r=vlad 2008-09-25 12:47:21 -07:00
Doug Turner a9a916753a 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 9e7e319959 b=454735 Make gfxFont more tolerant to shutdown of the gfxFontCache r=roc 2008-09-22 08:41:40 +12:00
Karl Tomlinson 869fd12cfd b=404857 firefox reloads every font.cache for every page loaded r=pavlov 2008-09-22 08:24:28 +12:00
Keith Schwarz a14c6b49fc 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 aecbb3e9d2 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 dbb6829b78 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 03600029d8 backout merge b=455791 2008-09-19 15:03:27 +12:00
Karl Tomlinson 5bd14e0a14 backout f51aad9e6a88 due to intermittent talos ts failures b=455791 2008-09-19 15:02:35 +12:00
Karl Tomlinson 6a4245984c b=454951 lazy creation of gfxPangoFont for gfxPangoFontGroup r=roc 2008-09-18 13:44:14 +12:00
Vladimir Vukicevic 28ac485b71 b=451621; push new pixman with arm fast-paths; r=me 2008-09-17 14:15:01 -07:00
John Wolfe a1474aa0eb Bug 454797 - WinCE GFX Cairo No MMX Support in ARM; r=vladimir 2008-09-16 14:39:29 +02:00
Markus Stange 5a3b67e6d9 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 a323c45584 Disable bug 441360 crash test on GTK2 for now (filed bug 455463). 2008-09-16 10:04:46 +02:00
Mats Palmgren 39c704648c Crash test for bug 441360 (additional file). 2008-09-16 07:48:18 +02:00
Karl Tomlinson cf37d01623 b=454720 Add GetThebesStyle and GetThebesWeight to gfxFontconfigUtils r=pavlov 2008-09-16 16:40:57 +12:00
Karl Tomlinson 1c7b276f4f fix compiler warning regarding initialization of gfxFont b=454735 r=roc 2008-09-16 16:38:20 +12:00
Karl Tomlinson 85b75949ca b=454735 Make gfxFont more tolerant to shutdown of the gfxFontCache r=roc 2008-09-16 16:35:05 +12:00
Karl Tomlinson 8b729642dd b=454743 skip empty glyphs rather than rendering as spaces 2008-09-16 16:19:46 +12:00
Mats Palmgren fca076254e Crash test for bug 441360. 2008-09-16 03:37:00 +02:00
Karl Tomlinson 5c1a446182 b=454718 Change return type of gfxPlatformGtk::DPI() from PRUint32 to double. r=roc 2008-09-16 10:29:36 +12:00
Arpad Borsos 1366b18b47 Bug 454483 - Clean up unused variables in gfx/; r=vladimir; (with nits by sgautherie) 2008-09-15 15:46:07 +02:00
Keith Schwarz 728bf55458 Bug 435293. Implement CSS transforms. r=dbaron,r+sr=roc 2008-09-13 21:42:11 +12:00
Zack Weinberg 10b58f92ef 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 6f3edf1360 Bug 449533. Set the mFixedPitch flag within SetFixedPitch. r+sr=vlad 2008-09-12 16:31:16 +09:00
Vladimir Vukicevic 13c138c898 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 a22f71377e Fixing some endian-ness bugs for color management - bug 439704. r=vlad 2008-09-10 19:21:03 -07:00
Doug Turner 6d465c061c Bug 453836 - handle OOM while images decoding. r=jim 2008-09-10 13:23:29 -07:00
Bobby Holley 709e0585e0 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 8c04d70d74 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 6ce50e3a1a Bug 440714 use -xldscope for Sun Studio on Solaris r=vladimir,benjamin sr=benjamin 2008-09-08 14:21:07 +08:00
Oleg Romashin 7a3557129f Bug 454060 - Cairo-qpainter build is broken after cairo update. r+sr=vladimir. 2008-09-07 22:28:20 +03:00
Vladimir Vukicevic 268c39f64b 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 adb81a4d8b 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 7adb2749ef 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 49466af4e3 Backed out changeset 6014c4fca4a1 (Cairo upgrade to 1.7.4-136) 2008-09-05 00:14:16 -07:00
Vladimir Vukicevic d1bc5b4da3 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 c796070e07 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 04cfa75e55 Bug 453480 - Detect OOM before creating a thebes img. r=vlad, sr=stuart 2008-09-03 16:07:36 -07:00
Oleg Romashin f593549031 Bug 451032 – Replace gfxQtFonts with gfxFT2Fonts because it almost the same. r=vladimir 2008-08-28 21:05:53 +10:00
Brian Crowder 7fc50a4bbe 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 28cb6d0dc9 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 7b14b4be8b 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 72c6ceb208 re-merge from mozilla-central for post-freeze backouts 2008-08-20 10:56:41 -07:00
shaver@mozilla.org 8b6aa6e315 merge from mozilla-central 2008-08-20 08:17:17 -07:00
Ted Mielczarek 5ed526f05c 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 0d01720789 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 aad0aad3f1 Branch merge. 2008-08-20 02:03:50 -05:00