Commit Graph

381 Commits

Author SHA1 Message Date
Jonathan Kew
60f93b5c99 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
32f03bfe64 Bug 454098. Fix signs for baseline offsets for glyphs on Windows. r+sr=roc 2009-01-28 22:39:35 +13:00
Behdad Esfahod
4c0f61c5b8 Bug 460023. Change the glyph dropping safety margin from 2em to 10em. r=vlad 2009-01-28 22:36:23 +13:00
Brad Lassey
20580be9af bug 462908 - Follow up to fix indentation and include patch in gfx/cairo 2009-01-23 02:59:24 -05:00
Brad Lassey
2f6351583f bug 462908 - Implement Freetype font backend for windows ce r=karlt, jdagget sr=stuart, vlad 2009-01-23 01:24:29 -05:00
Jeff Muizelaar
b584a627ba Bug 467423 - Painting stops in this case, using -moz-transform: scale, rotate and video; r=vladimir 2008-12-20 01:59:17 +01: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
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
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
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
07829fa6d0 [OS/2] cairo-os2 build fix that was already applied in upstream cairo 2008-11-28 00:06:22 +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
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
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
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
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
Arpad Borsos
3da6ac3d8d bug 445321 - remove --enable-glitz and related defines. r=vlad,ted 2008-09-30 13:53:38 -04: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
Vladimir Vukicevic
33105ca61f b=456467; revisit cairo xlib buggy repeat handling; r=roc 2008-09-25 13:07:11 -07:00
Jeff Muizelaar
eabad639f6 b=x; Fix misc compilation issues in pixman buildconfig; r=vlad 2008-09-25 12:47:21 -07: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
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
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
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
Oleg Romashin
6a59eaa59b dotted/dashed borders rendering with Qpainter surface very slow - bug 432453. r=vladimir 2008-08-19 04:29:25 +03: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
Oleg Romashin
12059d0133 mozilla-central merge 2008-08-08 13:05:00 +03: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
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
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
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
gavin@gavinsharp.com
77623d122c 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
Vladimir Vukicevic
2638e3dc51 [qpainter] Create QImages directly from image surfaces used as source 2008-05-04 11:51:37 -07:00
Vladimir Vukicevic
61173d504c [qpainter] Use drawTiledPixmap if possible; abstract fast filling code from paint() and fill() 2008-05-04 11:17:52 -07:00
Vladimir Vukicevic
a3f57ae957 [qpainter] Use drawImage/drawPixmap in fill() for non-repeating sources 2008-05-01 11:54:35 -07:00
Vladimir Vukicevic
2de5a08c00 Branch merge. 2008-05-01 09:23:23 -07:00
Oleg Romashin
25d501d465 Fixed optimized cairo_surface_fill for image surface
Enable OptimizeImage for X11 QSurface
2008-05-01 14:50:24 +03:00
Vladimir Vukicevic
861b6a8679 Merging mozilla-central to mozilla-qt. 2008-04-30 16:00:19 -07:00
vladimir@pobox.com
89790e741b 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
Vladimir Vukicevic
b8dc499b49 [cairo-qpainter] Create QPixmaps with an alpha channel if required 2008-04-28 18:15:30 -07:00
vladimir@pobox.com
4b5e5cb7f8 b=430979, CGFont leaks -- patch from upstream; r=me, a=damon 2008-04-28 14:27:35 -07:00
vladimir@pobox.com
cf8ffd14c5 b=429678, crash with failed printing of outset border with transparency; patch from upstream; a=me 2008-04-25 09:35:24 -07:00
Vladimir Vukicevic
6e1b75baa7 [qpainter] take redirected device offsets into account in acquire_source_surface 2008-04-20 06:50:50 -07:00
Vladimir Vukicevic
fe62d13caf [qpainter] Correctly convert QMatrix -> cairo_matrix_t 2008-04-20 01:41:51 -07:00
Vladimir Vukicevic
750f140f1d [qpainter] Implement gradients in qpainter cairo backend; cleanup ben/brush conversion 2008-04-20 01:41:25 -07:00
Vladimir Vukicevic
ed0e67d29f [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
a144ca692a [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
e7ce5b00f4 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
romashin
40e2385b88 Fixed compilation problems with sb-QT arm 2008-04-19 18:53:37 +03:00
romashin
70e531b8b4 Still some indent fixes 2008-04-19 18:43:27 +03:00
romashin
7831d65b1a 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
romaxa@romaxa.research.nokia.com
6c3e325d4b Add new cairo-qpainter backend for building in cairo-qt configuration 2008-04-19 16:34:30 +03:00
roc+@cs.cmu.edu
153c4bfed0 Bug 409227. _cairo_clip_init_deep_copy should pass 0,0 as the starting coordinates when it clones the clip surface, because we just want an exact copy of the surface. r=vlad,a=beltzner 2008-04-17 01:22:31 -07:00
vladimir@pobox.com
253308a219 b=428563, minor upgrade to cairo 1.6.4, really this time; r=me,a=beltzner 2008-04-16 05:44:28 -07:00
vladimir@pobox.com
caa7ec4ebe backout? 2008-04-11 13:08:04 -07:00
vladimir@pobox.com
e3f40cc890 forgot to update README file 2008-04-11 12:45:28 -07:00
vladimir@pobox.com
8339071796 b=428563, Upgrade Cairo to 1.6.2; r=me,a=beltzer 2008-04-11 12:38:41 -07:00
vladimir@pobox.com
7e9ef5c071 b=419715, minor cairo upgrade to un-roll-back regressions and add fixes from upstream ; r=me 2008-04-08 13:11:21 -07:00
vladimir@pobox.com
50e6dca1da roll back cairo commit c1062bf to fix assertion failures 2008-04-07 02:17:14 -07:00
vladimir@pobox.com
b768ba704e b=419715, upgrade cairo to 1.6 or as-close-as-possible -- add patch to fix cairo bustage ; r=me 2008-04-06 22:09:53 -07:00
vladimir@pobox.com
7439270a65 b=419715, upgrade cairo to 1.6 or as-close-as-possible -- imported patch cairo-upgrade-more.patch ; r=me 2008-04-06 22:09:44 -07:00
vladimir@pobox.com
06c698810e b=419715, upgrade cairo to 1.6 or as-close-as-possible -- imported patch cairo-upgrade.patch ; r=me 2008-04-06 22:08:30 -07:00
vladimir@pobox.com
29dafd8255 b=419715, upgrade cairo to 1.6 or as-close-as-possible -- imported patch pixman-upgrade.patch ; r=me 2008-04-06 22:07:38 -07:00
vladimir@pobox.com
3f56db9279 backout [mq]: cairo-rollback.patch 2008-04-06 16:34:08 -07:00
vladimir@pobox.com
15fb35ff66 b=419715, upgrade cairo to 1.6 or as-close-as-possible -- imported patch cairo-upgrade-more.patch ; r=me 2008-04-06 15:14:31 -07:00
vladimir@pobox.com
2d82be0e34 b=419715, upgrade cairo to 1.6 or as-close-as-possible -- imported patch cairo-upgrade.patch ; r=me 2008-04-06 15:14:09 -07:00
vladimir@pobox.com
66ca70eb2d b=419715, upgrade cairo to 1.6 or as-close-as-possible -- imported patch pixman-upgrade.patch ; r=me 2008-04-06 15:13:57 -07:00
vladimir@pobox.com
30ffae6ef2 b=423524, CGContextGetType warnings showing up in console, r=stuart 2008-03-18 13:36:40 -07:00
mozilla@weilbacher.org
89161426b2 [OS/2] Bug 423115: OS/2 build break about GCC parameters in libpixman, r=vlad 2008-03-15 11:45:30 -07:00
vladimir@pobox.com
a8e39d6a63 b=421422, cairo upgrade followup, fixing subpixel AA on OSX 2008-03-14 23:20:21 -07:00
vladimir@pobox.com
4bdbafdc90 b=421422, cairo upgrade ; r=me 2008-03-14 20:45:12 -07:00
vladimir@pobox.com
cf1fc3fd9a b=421422, cairo upgrade ; r=me 2008-03-14 20:44:23 -07:00
roc+@cs.cmu.edu
11aa232422 Bug 403181. Pass the desired source rectangle for background images down into nsThebesImage and ensure we don't sample outside it. Back out a bad pixman patch that caused regressions, and adjust image encoding tests so they don't depend on the regression. Also switchs some reftests to quirks mode so that the 1-appunit width of <br>s doesn't bite us. r=vlad,sr=dbaron 2008-03-09 14:55:05 -07:00
roc+@cs.cmu.edu
72bddc7c36 Backing out Bug 403181. JPEG encoding test failure :-( 2008-03-07 01:28:34 -08:00
roc+@cs.cmu.edu
18b5f6db55 Bug 403181. Various fixes to image rendering. Most importantly, we track the desired subimage of a CSS background image and ensure we don't sample outside it. r=vlad,sr=dbaron 2008-03-07 00:34:12 -08:00
vladimir@pobox.com
3a604831df b=421017; upgrade cairo to 1.5.12-14-gd89edde -- additional fixes ; r=me 2008-03-04 21:45:09 -08:00
vladimir@pobox.com
c12016b91e b=421017; upgrade cairo to 1.5.12-11-g2f93504 ; r=me 2008-03-04 21:44:55 -08:00
vladimir@pobox.com
b75557232a b=418353, sync up cairo to 1.5.8-87-g21049a9 imported patch 418353-cairo-upgrade.patch 2008-02-19 14:52:57 -08:00
vladimir@pobox.com
8f0d8b3d02 b=416018, upgrade cairo to 1.5.8-30-g80e11a8 ; r=me 2008-02-13 22:54:26 -08:00
vladimir@pobox.com
6f5a262267 b=416181, animated image used as repeated background broken ; r=stuart 2008-02-13 22:51:58 -08:00
reed@reedloden.com
48057599e5 Bug 415867 - "AIX Compilation error for trunk build source cairo-gstate.c : line 45.43: 1506-294 (S) Syntax error in expression on #if directive." [p=shailen.n.jain@gmail.com (Shailen) r+sr=roc a1.9=schrep] 2008-02-13 03:31:00 -08:00
vladimir@pobox.com
ebe7dd1924 Add missing patch file (npotb) 2008-02-07 12:02:40 -08:00
vladimir@pobox.com
95e9d58680 b=414685, optimize mac image decoding and rendering ; r=stuart 2008-02-05 22:48:47 -08:00
vladimir@pobox.com
708bf474be b=367618, initial win32 8bpp bits, r=stuart 2008-01-29 11:00:57 -08:00
vladimir@pobox.com
24f4d64937 b=513583, bandaid for X repeat bug, r=stuart 2008-01-29 10:45:08 -08:00
vladimir@pobox.com
d7f4f31ade re-landing; b=412396, speed up mac image rendering while images are being loaded, r=stuart 2008-01-28 11:05:44 -08:00
vladimir@pobox.com
1afbefd8e2 backing out 412396 in an attempt to fix linux orange 2008-01-27 19:04:40 -08:00
vladimir@pobox.com
b81f25fe5d b=413989, bad lines drawn over background images while zoomed (osx), r=roc 2008-01-27 16:49:23 -08:00
vladimir@pobox.com
7bf8a75184 b=412396, jpeg decoding/painting slower on trunk vs. branch while loading; r=stuart 2008-01-27 15:53:24 -08:00
vladimir@pobox.com
b74a21da6f b=414092, crash at _moz_pixman_image_fill_rectangles on x86-64, r=karlt 2008-01-27 14:52:18 -08:00
vladimir@pobox.com
7beacd273e b=414095, serious win32 repaint/clipping issues, r=sleepy 2008-01-26 02:09:21 -08:00
vladimir@pobox.com
94616ca91d b=413878, even more cairo upgrades 2008-01-25 16:25:22 -08:00
vladimir@pobox.com
9f68225ef5 b=413878, upgrade cairo/pixman to latest git 2008-01-25 16:25:15 -08:00
mozilla@weilbacher.org
be1d05c95c [OS/2] Bug 404407: improve memory consumption on OS/2. Part 2, activate OS/2 API calls in cairo, r=wuno@lsvw.de 2008-01-22 15:00:03 -08:00
mats.palmgren@bredband.net
8195bb9cea Make _cairo_scaled_font_glyph_device_extents() take an cairo_rectangle_int_t out param instead of cairo_rectangle_int16_t fixing an UMR in the process. b=413169 r+sr=vladimir a=mtschrep 2008-01-20 17:06:38 -08:00
martijn.martijn@gmail.com
6949a58852 Bug 399453 - Mingw build error in cairo-win32-surface.c - error: conflicting types for '_cairo_win32_surface_get_extents', r=pavlov, a=mtschrep 2008-01-20 04:12:09 -08:00
sayrer@gmail.com
3ed75c14b1 Bug 411369. Crash while trying to print. r=ted.mielczarek 2008-01-18 17:09:36 -08:00
vladimir@pobox.com
a8fa36054a b=411224, r=vlad: 411224-cairo-upgrade-fixes.patch 2008-01-18 13:46:33 -08:00
vladimir@pobox.com
22522fc3eb b=411224, r=vlad: 411224-cairo-upgrade-1.5.5 2008-01-18 13:46:26 -08:00
vladimir@pobox.com
6d340e5582 b=407099, crash loading SVG page in cairo-quartz code, patch from upstream cairo, r/a=me 2008-01-07 11:57:32 -08:00
reed@reedloden.com
047f15c4e0 Bug 409976 - "Cairo in trunk gives SIGBUS on SPARC" [p=armin76@gentoo.org (Raúl Porcel) r+a1.9=vlad] 2008-01-04 23:34:27 -08:00
mozilla@weilbacher.org
24ec805ac5 [OS/2] Bug 407524: Enable PDF surface on OS/2, r=ted.mielczarek 2007-12-11 13:49:27 -08:00
pavlov@pavlov.net
d45f68fb12 pdfs are too big. re-landing 375750 which was accidentily backed out by 407427. r=vlad 2007-12-07 23:09:15 -08:00
vladimir@pobox.com
2dfebb2e83 b=404092, solaris compilation fix followup, r=me 2007-11-30 11:58:15 -08:00
vladimir@pobox.com
c06f0dc4e3 b=404092, upgrade cairo to 1.5.2-55 2007-11-29 12:06:56 -08:00
philringnalda@gmail.com
b051ca90f6 Bug 400188 - remove XP_MAC deadcode in cairo-platform.h, r=vlad, a=stuart 2007-11-12 19:23:59 -08:00
pavlov@pavlov.net
81a003c93d bug 375750. don't recreate CGFontRefs every time we draw -- cache them. fixes multiple embeddings of fonts when drawing to a quartz print surface. r=vlad a=schrep 2007-11-01 19:08:31 -07:00
pavlov@pavlov.net
1ef66b82b8 bug 390898. fix crash on 64bit machines when dragging and dropping. patch from Martin Stransky <stransky@redhat.com>. r=vlad a=beltzner 2007-10-30 17:58:44 -07:00
mats.palmgren@bredband.net
59e6298aff * make cairo_quartz_surface_to_quartz() return NULL if it's not a valid quartz surface and add null-check at call sites. * fix a couple of leaks under OOM * fix a warning about missing initializers for cairo_quartz_surface_backend b=397293 r+sr+a=vladimir 2007-10-25 08:49:25 -07:00
longsonr@gmail.com
18e83e393c Bug 400025 - stroke on text is too big on Windows after landing of bug 384681. r+sr+a+aM9=vladimir 2007-10-25 04:55:19 -07:00
ginn.chen@sun.com
6b4976641b Bug 387399 Asian fonts are not rendered in web page on BIG ENDIAN machine r+sr+a=vladimir 2007-10-24 23:49:10 -07:00
jdaggett@mozilla.com
9061c61d0a Bug 328258. Prevent images larger than 32K pixels in height from loading to workaround Quartz bug. r=pavlov,vlad, a=beltzner 2007-10-23 23:01:16 -07:00
vladimir@pobox.com
26a5b75ebf b=384681, switch cairo into 24.8 fixed-point mode. r+sr+a=roc 2007-10-09 16:03:24 -07:00
vladimir@pobox.com
51c2b1c2b4 b=366548, increased GDI usage leading to repainting problems, r/a=stuart 2007-10-03 14:27:42 -07:00
joshmoz@gmail.com
6ea83c78e0 fix major font problem when using the Mac OS X 10.5 SDK. Patch by John Daggett. b=397454 r=roc/vlad sr=roc a=pav 2007-09-28 09:51:11 -07:00
roc+@cs.cmu.edu
737c2306c1 Bug 96041. Adding win32 glyph extents patch to cairo so it doesn't get lost. 2007-09-24 18:00:24 -07:00
vladimir@pobox.com
96a878f5a9 b=377336, win32 printing page results in excessive data spooled to printer, for real this time, r=stuart 2007-09-24 15:50:44 -07:00
roc+@cs.cmu.edu
bfd939088e Bug 96041. Compute precise glyph extents for high-quality text, and when requested. r=vlad,r+sr=dbaron 2007-09-23 19:19:14 -07:00
roc+@cs.cmu.edu
c11d00e32d Backing out due to test bustage 2007-09-22 06:28:16 -07:00
roc+@cs.cmu.edu
d72a839c93 Bug 96041. Compute true glyph bounding metrics. r=vlad,dbaron,sr=dbaron 2007-09-22 05:43:52 -07:00
vladimir@pobox.com
44c6413c55 b=391184, accidentally blew away this patch with cairo update 2007-09-20 15:34:31 -07:00
vladimir@pobox.com
77096b4031 b=838960, ugprade cairo to 1.5.x; and b=377336, printing page from win32 results in hung app, r=stuart 2007-09-20 12:24:47 -07:00
pavlov@pavlov.net
ba97302f0b backing out 362682 due to linux tinderboxen not being upgraded... (396805, 389426) 2007-09-19 16:53:09 -07:00
pavlov@pavlov.net
7ce9ed1741 bug 362682. fix missing glyphs on linux. patch by myself and Behdad Esfahbod <mozilla@behdad.org>. r=vlad 2007-09-19 15:18:42 -07:00
sayrer@gmail.com
1f479a44ac Bug 391890. leaks from pixman_rect_alloc within _cairo_gstate_clip drawing borders. Patch by Vladimir Vukicevic. r/sr=stuart, a=mconnor 2007-09-11 13:15:14 -07:00
sayrer@gmail.com
a8aae62a4c Bug 393324. cairo leak in nsNativeThemeGTK::DrawWidgetBackground. r/sr=stuart, a=mconnor 2007-09-11 13:11:12 -07:00
mats.palmgren@bredband.net
2c8d132bca Free resources more sensibly when _cairo_scaled_font_init() fails. Use true NOOP mutex macros to avoid similar deadlocks in the future. b=378716 r+sr=vladimir a=vladimir 2007-08-31 00:53:53 -07:00
ginn.chen@sun.com
6166df71f7 Bug 391184 Firefox crashed [@ _get_bitmap_surface] div zero in _cairo_malloc_ab macro r+a=vladimir 2007-08-15 20:53:19 -07:00
mats.palmgren@bredband.net
354e680d1b Backing out last change since it caused crashes on Windows (bug 392214). b=390898 2007-08-14 12:03:57 -07:00
mats.palmgren@bredband.net
366ef443ee Bandaid for a Cairo crash. b=390898 r+sr=vladimir 2007-08-14 02:48:49 -07:00
vladimir@pobox.com
6d5c29bde2 b=390668, crash in gfxASurface::GetType (_moz_cairo_scaled_font_status and others), often using drawWindow 2007-08-09 11:54:17 -07:00
vladimir@pobox.com
79033ece2f b=390912, odd black bars with stroked rounded rects outside of view bounds, r=shaver, rs=k&r (checking back in, linux failure seemed transient yay) 2007-08-06 20:56:16 -07:00
vladimir@pobox.com
e1124283e2 backing out 390912, not sure what's wrong with linux 2007-08-06 18:52:15 -07:00
vladimir@pobox.com
eb7c87258e b=367036, the bug that won't die, forgot to reapply this patch when I upgraded cairo (background of images shows as black when printed) 2007-08-06 18:15:56 -07:00
vladimir@pobox.com
8445b79997 b=390912, odd black bars with stroked rounded rects outside of view bounds, r=shaver, rs=k&r 2007-08-06 18:14:47 -07:00
vladimir@pobox.com
d07a557af0 b=390798, animated gifs shrunk to favicon size; also b=390622, yahoo mail beta misrendered; r=stuart 2007-08-05 21:14:14 -07:00
ginn.chen@sun.com
1946aef202 Bug 390113 mozilla should not be compiled with -fast on Solaris r=benjamin 2007-08-02 23:32:33 -07:00
ginn.chen@sun.com
6b4f380cdc Bug 390749 Fix build on Solaris r+a=vladimir 2007-08-02 23:29:31 -07:00
vladimir@pobox.com
0ec5d02125 avoid divide-by-zero in allocating 0x0 surface 2007-08-02 06:04:39 -07:00
vladimir@pobox.com
7a4a17d1c1 avoid divide-by-zero resulting from push_group 2007-08-02 05:48:30 -07:00
vladimir@pobox.com
8faf0c0219 linux tinderbox fix, thought I fixed this a different way, guess not 2007-08-02 00:11:27 -07:00
vladimir@pobox.com
ee3f91837a b=383960, moz cairo: win32/msvc fixes, disable MMX util it's fixed 2007-08-02 00:02:41 -07:00
vladimir@pobox.com
c93279ad8c b=383960, moz cairo: new cairo-rename.h 2007-08-02 00:02:18 -07:00
vladimir@pobox.com
468916b9a7 b=383960, moz cairo: fix up compilation with in-tree pixman 2007-08-02 00:01:57 -07:00
vladimir@pobox.com
5d3b866bdf b=383960, moz cairo: nonfatal-assertions.patch 2007-08-02 00:01:36 -07:00
vladimir@pobox.com
9d55b98abf b=383960, moz cairo: win32-no-printer-bitblt.patch 2007-08-02 00:01:14 -07:00
vladimir@pobox.com
4611c948ad b=383960, moz cairo: win32-logical-font-scale.patch 2007-08-02 00:00:53 -07:00
vladimir@pobox.com
23b1098ddb b=383960, moz cairo: win32-scaled-font-size.patch 2007-08-02 00:00:32 -07:00
vladimir@pobox.com
bf5d6cb2b6 b=383960, moz cairo: no longer needed: quartz-glyph-rounding.patch 2007-08-02 00:00:10 -07:00
vladimir@pobox.com
a678a5bbd1 b=383960, moz cairo: no longer needed: fbcompose-bandaid.patch 2007-08-01 23:59:49 -07:00
vladimir@pobox.com
594ffc2fe1 b=383960, moz cairo: max-font-size.patch 2007-08-01 23:59:30 -07:00
vladimir@pobox.com
935decd7ff b=383960, Cairo 1.5.x: fix XLIB_XRENDER feature 2007-08-01 23:59:07 -07:00
vladimir@pobox.com
eda0b3d22a b=383960, Cairo 1.5.x: Cairo 2007-08-01 23:58:46 -07:00
vladimir@pobox.com
9002f999f0 b=383960, Cairo 1.5.x: pixman mozilla fixes 2007-08-01 23:57:51 -07:00
vladimir@pobox.com
92f300e644 b=383960, Cairo 1.5.x: pixman 2007-08-01 23:54:40 -07:00
vladimir@pobox.com
7bffc1996e cairo backout 2007-07-24 12:26:01 -07:00
vladimir@pobox.com
c1191c99ae backing out cairo update, again 2007-07-24 12:24:26 -07:00
vladimir@pobox.com
43945fe5db b=383960, moz cairo: new cairo-rename.h 2007-07-24 10:46:07 -07:00
vladimir@pobox.com
0c2e8ee9a7 b=383960, moz cairo: MSVC compilation fixes 2007-07-24 10:45:51 -07:00
vladimir@pobox.com
6870aa70dc b=383960, moz cairo: fix up compilation with in-tree pixman 2007-07-24 10:43:30 -07:00
vladimir@pobox.com
e6da053270 b=383960, moz cairo: nonfatal-assertions.patch 2007-07-24 10:43:10 -07:00
vladimir@pobox.com
922b98010b b=383960, moz cairo: win32-no-printer-bitblt.patch 2007-07-24 10:38:48 -07:00
vladimir@pobox.com
f3398db74d b=383960, moz cairo: win32-logical-font-scale.patch 2007-07-24 10:38:29 -07:00
vladimir@pobox.com
6ee5757328 b=383960, moz cairo: win32-scaled-font-size.patch 2007-07-24 10:38:12 -07:00
vladimir@pobox.com
391acff9d5 b=383960, moz cairo: no longer needed: quartz-glyph-rounding.patch 2007-07-24 10:36:53 -07:00
vladimir@pobox.com
451a46fe7f b=383960, moz cairo: no longer needed: fbcompose-bandaid.patch 2007-07-24 10:36:36 -07:00
vladimir@pobox.com
f190e46451 b=383960, moz cairo: max-font-size.patch 2007-07-24 10:36:18 -07:00
vladimir@pobox.com
a860149c89 b=383960, Cairo 1.5.x: fix XLIB_XRENDER feature 2007-07-24 10:33:26 -07:00
vladimir@pobox.com
4d5d21aae6 b=383960, Cairo 1.5.x: Cairo 2007-07-24 10:29:35 -07:00
vladimir@pobox.com
0cc39b0da6 b=383960, Cairo 1.5.x: pixman mozilla fixes 2007-07-24 10:11:07 -07:00
vladimir@pobox.com
42010377a3 b=383960, Cairo 1.5.x: pixman 2007-07-24 10:08:21 -07:00
vladimir@pobox.com
350aabc65d b=386897, compile cairo/pixman with full speed optimization, r=roc,sr=stuart 2007-07-17 16:08:32 -07:00
ginn.chen@sun.com
33f5ece160 Bug 387399 Asian fonts are not rendered in web page on BIG ENDIAN machine
r=vladimir
2007-07-10 23:40:38 -07:00
vladimir@pobox.com
27a42cc105 backing out but 383960, upgrade to cairo 1.4.10, due to bug 384035 (again) 2007-06-30 03:45:11 -07:00
vladimir@pobox.com
e6e29267c5 b=383960: Upgrade cairo to 1.4.10: moz cairo: nonfatal-assertions.patch 2007-06-30 00:50:54 -07:00
vladimir@pobox.com
e708567179 b=383960: Upgrade cairo to 1.4.10: moz cairo: win32-no-printer-bitblt.patch 2007-06-30 00:50:09 -07:00
vladimir@pobox.com
e01ea9a349 b=383960: Upgrade cairo to 1.4.10: moz cairo: win32-logical-font-scale.patch 2007-06-30 00:49:36 -07:00
vladimir@pobox.com
4be2e7ed2e b=383960: Upgrade cairo to 1.4.10: moz cairo: win32-scaled-font-size.patch 2007-06-30 00:48:59 -07:00
vladimir@pobox.com
df1af9e6a0 b=383960: Upgrade cairo to 1.4.10: moz cairo: no longer needed: quartz-glyph-rounding.patch 2007-06-30 00:48:18 -07:00
vladimir@pobox.com
8a87c4af84 b=383960: Upgrade cairo to 1.4.10: moz cairo: fbcompose-bandaid.patch 2007-06-30 00:47:44 -07:00