Commit Graph

6224 Commits

Author SHA1 Message Date
Vladimir Vukicevic
495043bb85 b=308917, fix quartz SurfacePatternDrawFunc; r=joe 2008-10-09 14:49:15 -07:00
John Daggett
e84196a65a Bug 458113. Fix syntax error that broke OS/2 build. r+wuno 2008-10-09 14:52:00 +09:00
blassey@mozilla.com
b4cf4549f8 Bug 458946 - Reduce narrow windows API calls in cairo win32 surface. r=vlad 2008-10-08 20:41:11 -07:00
Oleg Romashin
b30929e3b0 Bug 458360 - Qt build breaks after implementation of user font set object. r=vladimir. 2008-10-08 09:06:09 -05:00
Dave Townsend
83c082f970 Backed out changeset a9838a973cdd from bug 457194 due to failing mochitest 2008-10-01 16:40:34 +01:00
John Daggett
c1f2b81653 Bug 457194. Make sure Ahem font completely covers background. r=jdaggett, sr=vlad 2008-10-01 13:17:39 +09:00
John Daggett
7f9bbec2c9 Bug 441473. Adding new files. 2008-10-01 12:04:10 +09:00
John Daggett
37c61248d6 Bug 441473. Implement user font set object. r+sr=roc 2008-10-01 12:01:53 +09:00
Arpad Borsos
02e588847d bug 445321 - remove --enable-glitz and related defines. r=vlad,ted 2008-09-30 13:53:38 -04:00
Robert O'Callahan
a39e457b50 Backing out bug 448830 2008-09-28 23:13:58 +13:00
Jeremy Lea
4527d5d1a8 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
5066ca25e9 b=385263 make line heights integer r=roc 2008-09-27 12:22:20 +12:00
Karl Tomlinson
91fb033656 b=385263 a PangoFcFont using tree cairo r=roc 2008-09-27 12:21:55 +12:00
Doug Turner
e18150d9af Bug 456644 - WinCE gfx cairo _cairo_win32_tmpfile does not compile. r=vlad 2008-09-26 15:30:51 -07:00
Karl Tomlinson
561510a082 merge backout 23e255271851 b=385263 2008-09-26 20:01:15 +12:00
Karl Tomlinson
c692cf7fa3 backout 23e255271851 b=385263 2008-09-26 20:00:50 +12:00
John Daggett
2008b94031 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
1cd1735b39 b=385263 a PangoFcFont using tree cairo r=roc 2008-09-26 17:29:55 +12:00
Karl Tomlinson
32d22038a1 b=456545 added missing header gfxFontconfigUtils.h 2008-09-26 17:14:51 +12:00
Karl Tomlinson
cbd12f64fd b=456545 Unify pseudo-inversion of langGrouping r=roc 2008-09-26 16:40:28 +12:00
Robert O'Callahan
5dbf5690ac Backing out bug 448830 2008-09-26 13:10:26 +12:00
Jeremy Lea
7261376c29 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
2d399de5e3 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
d15a9239ff restore xlib behavior to that prior to changeset 3c9f6c799fed b=455976 r=stuart 2008-09-26 10:25:00 +12:00
Vladimir Vukicevic
4087cd71d8 b=456467; revisit cairo xlib buggy repeat handling; r=roc 2008-09-25 13:07:11 -07:00
Vladimir Vukicevic
8815b4ca26 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
755ba15181 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
596295f6f9 b=455976; wrong extend mode used for macosx for border-image 2008-09-25 12:49:55 -07:00
Jeff Muizelaar
35aa89f44e b=x; Fix misc compilation issues in pixman buildconfig; r=vlad 2008-09-25 12:47:21 -07:00
Doug Turner
9f186ba711 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
221e99d572 b=454735 Make gfxFont more tolerant to shutdown of the gfxFontCache r=roc 2008-09-22 08:41:40 +12:00
Karl Tomlinson
cec7309e13 b=404857 firefox reloads every font.cache for every page loaded r=pavlov 2008-09-22 08:24:28 +12:00
Keith Schwarz
9b9583a852 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
eacac09939 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
d0300d2843 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
f9f5f27cc6 backout merge b=455791 2008-09-19 15:03:27 +12:00
Karl Tomlinson
1f7de7309d backout f51aad9e6a88 due to intermittent talos ts failures b=455791 2008-09-19 15:02:35 +12:00
Karl Tomlinson
ddc80400c7 b=454951 lazy creation of gfxPangoFont for gfxPangoFontGroup r=roc 2008-09-18 13:44:14 +12:00
Vladimir Vukicevic
3e6c793e30 b=451621; push new pixman with arm fast-paths; r=me 2008-09-17 14:15:01 -07:00
John Wolfe
950f0ddd75 Bug 454797 - WinCE GFX Cairo No MMX Support in ARM; r=vladimir 2008-09-16 14:39:29 +02:00
Markus Stange
6aff4d526f 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
7a80bacc80 Disable bug 441360 crash test on GTK2 for now (filed bug 455463). 2008-09-16 10:04:46 +02:00
Mats Palmgren
e583bd335a Crash test for bug 441360 (additional file). 2008-09-16 07:48:18 +02:00
Karl Tomlinson
a0bbe3e00b b=454720 Add GetThebesStyle and GetThebesWeight to gfxFontconfigUtils r=pavlov 2008-09-16 16:40:57 +12:00
Karl Tomlinson
429447431f fix compiler warning regarding initialization of gfxFont b=454735 r=roc 2008-09-16 16:38:20 +12:00
Karl Tomlinson
a34bd821ea b=454735 Make gfxFont more tolerant to shutdown of the gfxFontCache r=roc 2008-09-16 16:35:05 +12:00
Karl Tomlinson
bf461632b9 b=454743 skip empty glyphs rather than rendering as spaces 2008-09-16 16:19:46 +12:00
Mats Palmgren
60a30fbe2b Crash test for bug 441360. 2008-09-16 03:37:00 +02:00
Karl Tomlinson
b4a177d1bd b=454718 Change return type of gfxPlatformGtk::DPI() from PRUint32 to double. r=roc 2008-09-16 10:29:36 +12:00
Arpad Borsos
ba7ea37460 Bug 454483 - Clean up unused variables in gfx/; r=vladimir; (with nits by sgautherie) 2008-09-15 15:46:07 +02:00
Keith Schwarz
48a87265ac Bug 435293. Implement CSS transforms. r=dbaron,r+sr=roc 2008-09-13 21:42:11 +12:00
Zack Weinberg
0299bad5bb 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
2fd039ec18 Bug 449533. Set the mFixedPitch flag within SetFixedPitch. r+sr=vlad 2008-09-12 16:31:16 +09:00
Vladimir Vukicevic
54489e535c 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
d60517eb9d Fixing some endian-ness bugs for color management - bug 439704. r=vlad 2008-09-10 19:21:03 -07:00
Doug Turner
45e735c1b7 Bug 453836 - handle OOM while images decoding. r=jim 2008-09-10 13:23:29 -07:00
Bobby Holley
107ed7aaa9 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
b76029e429 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
61f1976cbb Bug 440714 use -xldscope for Sun Studio on Solaris r=vladimir,benjamin sr=benjamin 2008-09-08 14:21:07 +08:00
Oleg Romashin
7436441c8c Bug 454060 - Cairo-qpainter build is broken after cairo update. r+sr=vladimir. 2008-09-07 22:28:20 +03:00
Vladimir Vukicevic
850e9f7d39 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
1ebad2d826 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
c0b5d3316b 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
81c55e7a54 Backed out changeset 6014c4fca4a1 (Cairo upgrade to 1.7.4-136) 2008-09-05 00:14:16 -07:00
Vladimir Vukicevic
fb36f5d923 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
d33a2f02b3 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
6eb295f797 Bug 453480 - Detect OOM before creating a thebes img. r=vlad, sr=stuart 2008-09-03 16:07:36 -07:00
Oleg Romashin
f1c73ae275 Bug 451032 – Replace gfxQtFonts with gfxFT2Fonts because it almost the same. r=vladimir 2008-08-28 21:05:53 +10:00
Brian Crowder
abfb506004 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
8bc53a2303 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
fa433f6235 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
58e9ff6f55 re-merge from mozilla-central for post-freeze backouts 2008-08-20 10:56:41 -07:00
shaver@mozilla.org
51d57bfb68 merge from mozilla-central 2008-08-20 08:17:17 -07:00
Ted Mielczarek
2983bfd851 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
bf51b7a7ab 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
44cf843ac9 Branch merge. 2008-08-20 02:03:50 -05:00
Reed Loden
8984f14136 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
7136fa41d6 Bug 446529 - "Disable discretionary ligatures on Mac" [r=vlad] 2008-08-20 00:55:27 -05:00
Michael Moy
f180304b99 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
af3d9a7614 Backed out changeset 59a60321d0d6 since it doesn't include everything
vlad wanted.
2008-08-19 23:01:03 -05:00
John Wolfe
0fa9268767 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
b17c9987f2 Bug 446675 - "Remove BeOS port of gfx" [r=vlad] 2008-08-19 22:45:02 -05:00
Robert O'Callahan
2cd9fc5f55 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
c0f1433572 [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
25088ea826 (really) backing out d883ab4b8f41 2008-08-06 16:32:33 -07:00
Vladimir Vukicevic
bf9d81b83e Backing out d883ab4b8f41:7540abc35c97 2008-08-06 16:24:13 -07:00
Vladimir Vukicevic
8dd105f4c1 [dfb,422221] merge fixup 2008-08-06 13:48:55 -07:00
Vladimir Vukicevic
284d55df26 [dfb,422221] Correctly create GdkRectangles and GdkDrawables instead of X equivalents 2008-08-06 13:48:55 -07:00
Vladimir Vukicevic
1564d4a50a [dfb,422221] Gtk/DirectFB: turn NativeXlibRenderer into NativeGdkRenderer 2008-08-06 13:48:55 -07:00
Vladimir Vukicevic
0845cd7905 [dfb,422221] Gtk/DirectFB port core; patches from dfb tree, r=vlad 2008-08-06 13:48:55 -07:00
Peter Weilbacher
cf8f6376a5 [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
036defdf90 Bug 437356. Set up unified font entry object. r+sr=stuart 2008-08-06 13:34:06 +09:00
Joe Drew
e990b5a05f 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)
e9b1bb3657 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
3b63e6ae70 dotted/dashed borders rendering with Qpainter surface very slow - bug 432453. r=vladimir 2008-08-19 04:29:25 +03:00
Bobby Holley
d2099fd0a8 turned on the fastpath introduced in the main patch for bug 445552.r=stuart 2008-08-18 16:44:37 -07:00
Serge Gautherie
fd593fb72f Bug 450132 - "nsRenderingContextImpl.cpp(93) : warning C4101: 'buffer' : unreferenced local variable", r/sr=roc 2008-08-18 19:33:28 +02:00
Ginn Chen
e6b2bd7c00 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
ea24bf35cd adding a file for bug 450454 that I forgot to commit in c71e4d3f0093. 2008-08-17 17:48:42 -07:00
Stuart Parmenter
21b1ae16c8 bug 448989. Merging the mozilla-qt repository. r=me,vlad 2008-08-16 23:18:27 -07:00
Bobby Holley
a19ebe3def Floating point path through lcms as part of bug 445552. r=vlad 2008-08-16 14:44:51 -07:00
Bobby Holley
311ed5b7af LCMS precaching patch to speed up linear interpolations - bug 444661. r=joe,sr=vlad 2008-08-15 13:59:18 -07:00
Oleg Romashin
d38312ab76 Removed old embedding API
Removed old GLITZ stuff
2008-08-15 09:31:55 +03:00
Oleg Romashin
4490c66152 merge with mozilla-central 2008-08-16 03:39:26 -04:00
Oleg Romashin
a9dd77b4e9 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
352cbe97a5 fixed linux bustage - sorry. 2008-08-14 16:32:58 -07:00
Bobby Holley
344d4d6899 Standalone testing framework for LCMS (not run automatically). r=vlad 2008-08-14 16:13:41 -07:00
Simon Montagu
41c5cf4f91 Prevent crash with long string of Indic characters. Bug 445711, r=pavlov 2008-08-14 11:20:46 +03:00
Kai Liu
a47a75abf0 Bug 448704 – Eliminate <gripper> as an independent element. r=vlad/dbaron/enndeakin 2008-08-13 08:15:27 +02:00
Rob Arnold
a99f6d56c4 Implement Aero Glass effect support - bug 418454 r=vlad r=roc 2008-08-12 17:44:14 -07:00
Robert O'Callahan
1320053484 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
3e81f0a50a 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
0d19165bc2 Bug 449577. Remove GetHints(), r+sr=roc 2008-08-11 18:19:01 +03:00
Vladimir Vukicevic
c96257260c b=422221; additional DirectFB compilation fixes 2008-08-09 22:25:30 -07:00
Oleg Romashin
1afed1eab7 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
75fc2387ae mozilla-central merge 2008-08-08 13:05:00 +03:00
Vladimir Vukicevic
b6e169008f [dfb,422221] merge fixup; fix temp xlib surface creation 2008-08-06 13:48:55 -07:00
Vladimir Vukicevic
1bfb08c84e [dfb,422221] Correctly create GdkRectangles and GdkDrawables instead of X equivalents 2008-08-06 13:48:55 -07:00
Vladimir Vukicevic
27b16f2a53 [dfb,422221] Gtk/DirectFB: turn NativeXlibRenderer into NativeGdkRenderer 2008-08-06 13:48:55 -07:00
Vladimir Vukicevic
298b275851 [dfb,422221] Gtk/DirectFB port core; patches from dfb tree, r=vlad 2008-08-06 13:48:55 -07:00
Oleg Romashin
492d037f9b Fixed show_glyphs build error according to latest cairo 1.6.4 update 2008-08-04 02:30:08 +03:00
Oleg Romashin
766f462cea Fixed bug 448961 - error: comma at end of enumerator list 2008-08-04 00:12:04 +03:00
Oleg Romashin
e8436023c1 Removed some not required changes which can break trunk build
Removed empty lines changes
2008-08-03 21:10:34 +03:00
Oleg Romashin
427aa3fb16 Merging mozilla-central to mozilla-qt. 2008-08-03 20:30:10 +03:00
Ginn Chen
8def903e39 Backout bug 440714, it failed on Mac OS X 2008-07-29 23:51:49 +08:00
Ginn Chen
e782ce7de2 Bug 440714 Firefox 3 failed to start on Solaris, r=vladimir 2008-07-29 23:41:41 +08:00
Ian Neal
d4c933c660 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
0ed708d923 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
0185f285af Support for word-wrap CSS property. Bug 99457, r+sr=dbaron, roc 2008-07-24 10:16:18 +03:00
Bobby Holley
c06160cfeb Firefox honors embedded ICC intent flag - bug 444014 r=vlad 2008-07-23 10:33:12 -07:00
Vladimir Vukicevic
01d5a8973a b=424423, border rendering is slow: Part 1; r+sr=roc 2008-07-23 10:25:23 -07:00
Vladimir Vukicevic
4098e33bc4 b=424423; border rendering is slow: add APIs to thebes; r=joe 2008-07-23 10:25:00 -07:00
Vladimir Vukicevic
87718e129a b=446323, Upgrade cairo to 1.6.4-350-g1a9809b; r=vlad 2008-07-20 14:15:22 -07:00
Vladimir Vukicevic
3651538cb6 Backed out changeset 20534cf9abf5 2008-07-20 15:35:51 -07:00
Vladimir Vukicevic
f477c5b702 b=446323, Upgrade cairo to 1.6.4-348-g96c9e2a; r=vlad 2008-07-20 14:15:22 -07:00
Peter Weilbacher
8de00c2cbe [OS/2] Bug 439194: simple glyph matching across all installed fonts 2008-07-20 18:51:49 +00:00
Simon Montagu
487f974d7a Remove unused ccmap files. Bug 445877, r+sr=dbaron 2008-07-20 11:37:00 +03:00
Eric Butler
1ed317198b Expose Cairo path copy/append functions through Thebes - bug 445616 r=vlad 2008-07-18 11:26:02 -07:00
L. David Baron
1a4e7239ca 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)
7d3343e0fa Implement css3 border-image property. (Bug 378217) r=vlad,dbaron,robarnold 2008-07-16 23:30:25 -07:00
L. David Baron
86c186dbd8 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)
269c2d355a Implement css3 border-image property. (Bug 378217) r=vlad,dbaron,robarnold 2008-07-16 22:18:38 -07:00
Bobby Holley
0cb5fecb1a System color profile handle not freed on thebes shutdown - bug 444829 r=vlad 2008-07-16 20:09:08 -07:00
Karl Tomlinson
9738632051 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
947cb5c85f 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
9c6fb220e6 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
5b78a8d997 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
91826e2fd0 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
f39cfdc3c2 remove excess spaces to force rebuild for system-headers changes 6c0971153949 2008-07-08 16:58:17 +12:00
Karl Tomlinson
6e807c340d remove comma at end of enumerator list from 9bbea3b66376 2008-07-08 14:37:41 +12:00
Karl Tomlinson
ccb2fa8327 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
ca25fa69ba Fix bug 441360. r+sr=vlad 2008-07-08 02:00:22 +02:00
Mats Palmgren
187c62ada6 Fix potential memory leak. b=441454 r+sr=vlad 2008-07-08 01:49:39 +02:00
Mats Palmgren
2603e93156 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
51231ec6f2 Crash tests for bug 409006. 2008-07-03 14:57:20 +02:00
Mats Palmgren
4f0e65ad87 Backout crash tests for bug 409006. 2008-07-02 15:50:53 +02:00
Mats Palmgren
40744e9c97 Crash test for bug 409006. 2008-07-02 13:13:15 +02:00
L. David Baron
73f8681e40 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
125a18e0a9 Back out 0b1995eab10f due to mochitest failures on at least Windows. (Bug 363706) 2008-07-01 22:01:10 -07:00
John Daggett
1a44a5f31a 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
0cb6b35cce 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
d4c50db758 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
aea64b3cb9 Set glyph info for low surrogates in Pango. Bug 439910, r+sr=roc 2008-06-18 23:14:51 -07:00
Ginn Chen
f72ebb22d6 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
34ee8b8bbb Add Width/Height/GetDataSize getters to gfxImageSurface. r=vlad 2008-06-11 11:46:32 +12:00
Robert O'Callahan
31af099e04 Add 2-axis Scale, operator-, and Contains to gfxRect. r=vlad 2008-06-11 11:43:51 +12:00
Robert O'Callahan
a8e32416ef Make gfxImageSurface clear allocated surface data. r=vlad 2008-06-11 11:05:43 +12:00
pavlov@pavlov.net
a5d1b870e6 bug 434401. crash due to not finding a font on startup in some cases. r=karlt a=beltzner 2008-05-28 16:55:40 -07:00
mozilla@weilbacher.org
ceacb00c81 [OS/2] Bug 432575: add options for font hinting and antialiasing to get approximately equal display than on branch. (Oops, don't want to get the debugging output by default!) 2008-05-28 05:55:36 -07:00
mozilla@weilbacher.org
1c5dc0098b [OS/2] Bug 432575: add options for font hinting and antialiasing to get approximately equal display than on branch. 2008-05-28 05:38:09 -07:00
gavin@gavinsharp.com
3e96d13d8f Followup comment fix for bug 434157 2008-05-27 11:22:38 -07:00
gavin@gavinsharp.com
537d867b5d Bug 434157: Font scaling of Vista doesn't work as good with RC1 than it did with Betas, patch by roc@ocallahan.org, r=vlad, a=beltzner 2008-05-27 10:57:04 -07:00
gavin@gavinsharp.com
02925defb1 Bug 432071: Type 1 fonts don't print correctly, patch by Adrian Johnson <ajohnson@redneon.com>, r=stuart, a=schrep 2008-05-08 09:48:15 -07:00
gavin@gavinsharp.com
2193f848b1 Bug 432062: Windows vector font rendering is broken, patch by roc@ocallahan.org, r=stuart, a=schrep 2008-05-08 08:38:22 -07:00
reed@reedloden.com
a6a6939f1e Bug 431309 - "Vista toolbar styles should have a -moz-win- prefix" (using the -moz-win- prefix) [p=kliu@mozilla.kailiu.com (Kai Liu) r+sr=roc a1.9=beltzner] 2008-05-08 02:29:38 -07:00
pavlov@pavlov.net
2402023474 bug 432065. deal with multiple fonts with the same name. r=roc a=schrep 2008-05-07 13:29:48 -07:00
reed@reedloden.com
28445f6ad4 Bug 223442 - "consider moving mac-specific files in gfx/public to a mac directory" (Remove nsWatchTask.h) [p=reg@openpave.org (Jeremy Lea) r+sr=biesi a1.9=beltzner] 2008-05-07 03:16:27 -07:00
Vladimir Vukicevic
820030d6b2 [qpainter] Create QImages directly from image surfaces used as source 2008-05-04 11:51:37 -07:00
Vladimir Vukicevic
4928d8c045 [qpainter] Use drawTiledPixmap if possible; abstract fast filling code from paint() and fill() 2008-05-04 11:17:52 -07:00
crowder@fiverocks.com
7ffacfd412 Bug 431413: Crash in gfxWindowsFontGroup::InitTextRunUniscribe, r=pavlov, sr=roc, a=mtschrep 2008-05-03 21:25:13 -07:00
Vladimir Vukicevic
70b4a79836 [qpainter] Use drawImage/drawPixmap in fill() for non-repeating sources 2008-05-01 11:54:35 -07:00
Vladimir Vukicevic
61d5de4912 Branch merge. 2008-05-01 09:23:23 -07:00
Oleg Romashin
82edc89756 Fixed optimized cairo_surface_fill for image surface
Enable OptimizeImage for X11 QSurface
2008-05-01 14:50:24 +03:00
jdaggett@mozilla.com
155ba88610 Bug 418479. Allow antialiased text rendering to be disabled for small text sizes via a pref. r+sr=vlad, a=damons 2008-05-01 02:07:17 -07:00
Vladimir Vukicevic
71d470b9e7 Merging mozilla-central to mozilla-qt. 2008-04-30 16:00:19 -07:00
vladimir@pobox.com
d85df75a6e b=431391; printing pages with type1 fonts on win32 prints garbage; patch from upstream; r+a=me 2008-04-30 09:45:24 -07:00
roc+@cs.cmu.edu
bdc627e140 Bug 427411. Handle bogus fonts being returned by Windows due to the font catalog being stale or out of GDI objects. r=pavlov,a=damon 2008-04-29 20:37:30 -07:00
Vladimir Vukicevic
10e2cf8a01 [cairo-qpainter] Create QPixmaps with an alpha channel if required 2008-04-28 18:15:30 -07:00
roc+@cs.cmu.edu
f4aaba59ec Backing out bug 427411 2008-04-28 17:28:22 -07:00
roc+@cs.cmu.edu
9a73c732a7 Bug 427411. Handle GetTextMetrics failing when we create a gfxWindowsFont (can happen if we're out of GDI resources or Windows' font catalog is stale). r=pavlov,a=damon 2008-04-28 15:30:22 -07:00
vladimir@pobox.com
1c80f5912a b=430979, CGFont leaks -- patch from upstream; r=me, a=damon 2008-04-28 14:27:35 -07:00
vladimir@pobox.com
fb8045c358 b=429915, color mismatch with 1x1 images (SetColor API broken) ; r=stuart, a=damon 2008-04-28 14:27:05 -07:00
caillon@redhat.com
d8a2681e82 Bug 384090 - [GTK+] incorrect logical resolution for converting font sizes in pt, etc. Get the actual resolution used by GTK+/X instead of a best-guess based on screen dimensions r=Behdad Esfahbod, Owen Taylor sr=Robert O'Callahan a=Damon Sicore 2008-04-28 13:47:54 -07:00
vladimir@pobox.com
3f4bd5bd50 b=429678, crash with failed printing of outset border with transparency; patch from upstream; a=me 2008-04-25 09:35:24 -07:00
Olli.Pettay@helsinki.fi
b0e60a1166 backout Bug 430465 2008-04-25 04:31:13 -07:00
roc+@cs.cmu.edu
149a451e70 Bug 430465. Don't round source coordinates in the tiled-image-drawing path. r=vlad,a=beltzner 2008-04-25 02:40:04 -07:00
jruderman@hmc.edu
e62aac0e91 Adding a crashtest 2008-04-22 21:09:02 -07:00
roc+@cs.cmu.edu
b6313dc0d4 Bug 429899 crashtest 2008-04-22 19:08:20 -07:00
roc+@cs.cmu.edu
1509b8dce8 Bug 429899. Always treat the first character of a ligature as the start of a cluster when dividing ligature width among clusters. r+a=vlad 2008-04-22 19:06:22 -07:00
Vladimir Vukicevic
465c78866e [qpainter] take redirected device offsets into account in acquire_source_surface 2008-04-20 06:50:50 -07:00
Stuart Parmenter
956d17e4da removing printfs 2008-04-20 04:38:54 -07:00
Stuart Parmenter
e30ec1dae9 use fontconfig for font lookup misses and cache the results 2008-04-20 04:34:04 -07:00
Stuart Parmenter
72d5cedc28 removing +x on the files 2008-04-20 03:37:33 -07:00
Vladimir Vukicevic
6730c8db21 [qpainter] Correctly convert QMatrix -> cairo_matrix_t 2008-04-20 01:41:51 -07:00
Vladimir Vukicevic
984e004918 [qpainter] Implement gradients in qpainter cairo backend; cleanup ben/brush conversion 2008-04-20 01:41:25 -07:00
Vladimir Vukicevic
cc32b20298 [qpainter] Add getters for QImage; also make OptimizeImages a noop
The QPainter back end knows how to create a QImage from an image surface
while painting, so no need to copy the image.
2008-04-20 01:40:10 -07:00
Vladimir Vukicevic
1c8aa2e6aa [qpainter] Set a clip on the xlib surface when drawing glyphs; correct redir offsets
Also create an xlib surface correctly for widgets, taking into account
redirected device offsets (such as when double buffering)
2008-04-20 01:35:51 -07:00
vlad
8f40269565 Qt: widget/gfx work (gfx part)
- Fix crash on window close
  - Qt expects the QWidget to remain available even after it has
processed a close event. So, use deleteLater() instead of
deleting outright.
  - Also carry around the MozQWidget pointer (though we need to rework
CreateQWidget and ::Initialize) so that we can call dropReceiver

- Fix screen <-> widget coordinate translation
  - Fixes popup menu positioning

- Honor mayWait in nsAppShell::ProcessNextNativeEvent
  - Prevents massive busy-waiting

- Don't pretend to support translucent windows

- Fix embedding widget build failure

- cairo-qpainter: invert source matrix in paint() to get proper
transform (proper positioning of elements drawn using paint())

- Cleaner event handling in mozqwidget -- return full nsEventStatus,
not just boolean, and decide whether to call QWidget::event() based
on that.
2008-04-20 11:27:17 +03:00
romaxa@romaxa.research.nokia.com
5226049974 Fixed wrong gfxPlatformQt include name 2008-04-19 20:16:59 +03:00
stuart
84cb5da13d adding synthetic italic support 2008-04-19 19:07:24 +03:00
romashin
7b6b890c3a Probably Fixed crash on device
Add binary package microb-precious
2008-04-19 19:07:05 +03:00
vlad
15b3e60502 Qt: widget/gfx work
- Fix crash on window close
  - Qt expects the QWidget to remain available even after it has
processed a close event. So, use deleteLater() instead of
deleting outright.
  - Also carry around the MozQWidget pointer (though we need to rework
CreateQWidget and ::Initialize) so that we can call dropReceiver

- Fix screen <-> widget coordinate translation
  - Fixes popup menu positioning

- Honor mayWait in nsAppShell::ProcessNextNativeEvent
  - Prevents massive busy-waiting

- Don't pretend to support translucent windows

- Fix embedding widget build failure

- cairo-qpainter: invert source matrix in paint() to get proper
transform (proper positioning of elements drawn using paint())

- Cleaner event handling in mozqwidget -- return full nsEventStatus,
not just boolean, and decide whether to call QWidget::event() based
on that.
2008-04-19 19:02:53 +03:00
romaxa@romaxa.research.nokia.com
1e6bd20e92 Remove files added by mistake 2008-04-19 18:56:33 +03:00
romashin
9383b23d55 Fixed compilation problems with sb-QT arm 2008-04-19 18:53:37 +03:00
romashin
004f86fcd2 Still some indent fixes 2008-04-19 18:43:27 +03:00
romashin
c5fe03a88c Added new cairo-qt surface from Vlad's patch
New created files moved in sandbox/qt_port.. cairo and gfxQPainterSurface
Changes for existing files applyed from 100_qt-qpainter-cairo.diff
Fixed building non deb mozilla with build_non_deb.sh script
Fixed tab-spaces in new created file cairo-qpainter-surface.cpp
2008-04-19 18:43:23 +03:00
romashin
92b53dacd5 Return back Qt font using 2008-04-19 18:40:46 +03:00
pekka.vanhoja
f135d0fa8d Optimized font retrieval 2008-04-19 18:40:42 +03:00
romashin
65ff5bf8cb Added cairoFontface destroy 2008-04-19 18:40:37 +03:00
romashin
63cec293f0 Some metrics cleanup 2008-04-19 18:40:28 +03:00
romashin
7df91b1795 Added CairoFontFace creation from FcPattern 2008-04-19 18:40:24 +03:00
romashin
f7041ddc2a Add more proper initialization of QFont, weight, styles... 2008-04-19 18:40:20 +03:00
romashin
c8eb68b016 Fixed www.linux.org.ru displaying 2008-04-19 18:40:16 +03:00
romashin
865e144884 Updated to trunk 2008-04-19 18:40:12 +03:00
romashin
72130018be Add question about QFontInfo usage 2008-04-19 18:40:07 +03:00
romashin
624786a657 Added comment about QFontMetricsF 2008-04-19 18:40:03 +03:00
romashin
ff8612be79 Enabled stuff for proper mMetrics.subscriptOffset mMetrics.superscriptOffset calculation 2008-04-19 18:39:59 +03:00
romashin
63814e51af Added some stuff from gfxPangoFonts implementation 2008-04-19 18:39:55 +03:00
romashin
1609d46525 Add SanitizeMetrics 2008-04-19 18:39:50 +03:00
romashin
cd0626528d Fixed underline offset 2008-04-19 18:39:46 +03:00
romashin
964882af23 Added QSystemFont implementation 2008-04-19 18:39:42 +03:00
pekka.aho
fbfdd6a80b New version gfxQtFontGroup (kerning & missing glyph support) 2008-04-19 18:39:34 +03:00
pekka.aho
564f4e929f Basic font implementation 2008-04-19 18:37:47 +03:00
pekka.aho
6c79b2fceb first version of the gfxQtFontGroup 2008-04-19 18:37:43 +03:00
pekka.aho
c3a84ac1ef First version of gfxQtFont 2008-04-19 18:37:38 +03:00
romashin
55335215e0 Some font updates 2008-04-19 18:37:23 +03:00
pekka.aho
22805a0c52 first version of gfxQtFont::GetMetrics 2008-04-19 18:37:18 +03:00
romashin
98b89e39ea Added more debug info for fotns 2008-04-19 18:37:14 +03:00
Oleg Romashin
ca81ff0a1b Added Screen Manager
Some fixes and addditional stuff for fonts
2008-04-19 18:14:15 +03:00
Oleg Romashin
5b7615673a Simple stuff for QT fonts (no crash) 2008-04-19 18:14:11 +03:00
Oleg Romashin
e87ddcbfe9 Process updates 2008-04-19 18:13:55 +03:00
romaxa@romaxa.research.nokia.com
294c342ecb Add base implementation of gfxQtPlatform and widget/qt 2008-04-19 18:02:52 +03:00
romaxa@romaxa.research.nokia.com
863ea5db54 Add initial fonts stuff for Qt port 2008-04-19 16:46:17 +03:00
romaxa@romaxa.research.nokia.com
ceb1675498 Add new cairo-qpainter backend for building in cairo-qt configuration 2008-04-19 16:34:30 +03:00
romaxa@romaxa.research.nokia.com
276c52d6f3 Add cairo-ft dependency for QT-gfx 2008-04-19 16:31:30 +03:00
romaxa@romaxa.research.nokia.com
4443878b3b Enabled building of gfxQtFonts and gfxQtPlatform for cairo-qt configuration 2008-04-19 16:19:04 +03:00
jdaggett@mozilla.com
bb0afdab7b Bug 428458. Fix fixed-pitch font handling for mac/win. r+sr=roc, a=vlad 2008-04-18 02:11:47 -07:00
jdaggett@mozilla.com
c7589df10d Bug 427602. Switch use of TArray<nsAutoString> to TArray<nsString> within gfx code. r=stuart, a=schrep (reland) 2008-04-17 21:32:18 -07:00
gavin@gavinsharp.com
41a8b9aca8 Bug 405684: checking incorrect character in UniscribeItem::ComputeRanges, patch by pavlov@pavlov.net, r=vlad, a=beltzner 2008-04-17 18:46:47 -07:00
roc+@cs.cmu.edu
c2d86b13a7 Backing out 427602 to try to fix failures 2008-04-17 04:18:58 -07:00