Commit Graph

378 Commits

Author SHA1 Message Date
Tobias Hunger
8c5980c615 Bug 498917: Fix some warnings in cairo-qpainter-surface.cpp, r=mfinkle 2009-06-22 15:19:43 -04:00
Tobias Hunger
0c05c84a6c Bug 498880: Reduce padding in cairo_qpainter_surface_t, r=mfinkle 2009-06-22 15:19:43 -04:00
Tobias Hunger
a777487dfa Bug 499135: Cairo/Qt fails to build -- yet again, r=mfinkle 2009-06-22 15:19:43 -04:00
Jeff Muizelaar
7a11cbc4a7 Bug 498689. Use scanline rasterizer on win32. r=joedrew, r=zweinberg 2009-06-22 15:01:50 -04:00
Jeff Muizelaar
019a8c6015 Bug 498428. Reverting f2ef72fbe01c because of tSVG regression 2009-06-18 16:44:02 -04:00
Jeff Muizelaar
2d221ae725 Update cairo to b71b019fe50a9188ddbecd1945606da8ba3bad53
Adrian Johnson (3):
      Fix win32 build breakage
      Ensure win32 font index_to_ucs4() sets ucs4 to -1 if lookup fails
      Correct the comment for the index_to_ucs4 font backend function

Behdad Esfahbod (2):
      Err, make gtk-doc happy again
      [user-font] Add CAIRO_STATUS_USER_FONT_NOT_IMPLEMENTED

Chris Wilson (37):
      [build] Enable shave support
      [build] Add lcov-1.7 to known list
      [image] Return FORMAT_INVALID for an error surface.
      [image] Make _cairo_image_analayze_transparency() more format agnostic
      [image] Treat A1 image surfaces as BILEVEL_ALPHA
      [test] Create a new fallback surface to exercise 16-bit paths.
      [png] Coerce FORMAT_INVALID to a known image format
      [surface] Convert FORMAT_INVALID during snapshots
      [xlib] Use a similar content surface for cloning images
      [build] Report status of gtk-doc in summary
      [build] Fix gtk-doc interoperation with shave
      [check] Quieten output during checking headers-standalone
      [cairo] Fix errors reported by check-doc
      [cairo] Convert C99 comments to /* ... */
      [cairo] Remove stray semi-colon
      [cairo] Protect typeof against -ansi
      [skiplist] Missing include for ffs()
      [script] Missing include for INT32_MAX
      [script] Pedantic violations
      [path] Define _BSD_SOURCE to enable hypot()
      [doc] Update identifiers
      [ft] Restore the ability to lazily resolve patterns.
      [xlib] Use minimal depth for similar clones.
      [test] Fix typos that excluded backend test sources
      [test] Add a note to "Getting the elusive zero failures"
      [test] Relax APPROX_EQUALS condition
      [test] Check text->path with user-fonts (twin)
      [test] Clear expected floating point exceptions
      [test] Stress the ft from-face cache
      [memfault] Update macros to avoid namescape collision with memcheck
      [debug] Check image contents using memcheck.
      [win32] Typo
      [win32] Wrap win32-font usage with CAIRO_HAS_WIN32_FONT
      [surface] Provide nil-surface for INVALID_SIZE
      [surface] Early return if the backend cannot clone an image
      [xlib] Handle too-large images gracefully.
      [in-fill] Treat on-edge queries as inside.

Jeff Muizelaar (1):
      Only include <strings.h> for ffs() when we HAVE_FFS

Karl Tomlinson (1):
      [ft] Resolve mutual referencing problems with zombie faces
2009-06-17 10:57:16 -04:00
Tobias Hunger
6c0cafef4a Bug 493726. Fix build problems with the cairo Qt backend. r=jrmuizel 2009-06-12 14:00:42 -04:00
Jeff Muizelaar
5aa1c3f88e Bug 485426. Add arm fast path for 565 to x888 conversion. r=vlad 2009-06-11 14:26:39 -04:00
Peter Weilbacher
500564266f Bug 493834: fix OS/2 build break in widget/src/os2 and make sure that all
cairo headers are installed to dist/include/cairo, r=bsmedberg
2009-05-20 08:47:08 +03:00
Hiroyuki Ikezoe
231a1be60c bug 493426 - unresolved cairo symbols related to cairo_ddraw_surface r=vlad 2009-05-19 22:27:50 -04:00
Benjamin Smedberg
bb1c33c4ea Bug 488175 - flatten dist/include and provide mechanism to install certain headers in namespaced subdirectories (e.g. #include "mozilla/XPCOM.h") r=ted
--HG--
rename : xpcom/ds/nsTimeStamp.cpp => xpcom/ds/TimeStamp.cpp
rename : xpcom/ds/nsTimeStamp.h => xpcom/ds/TimeStamp.h
2009-05-18 14:15:05 -04:00
Karl Tomlinson
d447d2ec7d b=486974 zombie ft_font_face / ft_unscaled_font mutual referencing problems. r=jdaggett
--HG--
extra : rebase_source : 8f2e3d477bbad5177a228681b9650735ec9d6817
2009-05-18 19:35:16 +12:00
Makoto Kato
334f4485f0 Backed out changeset c4b8a7e21ec9 2009-05-16 00:39:54 +09:00
Makoto Kato
01bcf5a9cd Bug 488851 - Enable SSE2 for pixman. r=jmuizelaar 2009-05-15 23:15:24 +09:00
Brad Lassey
dbde09dac9 fixing gfx build bustage in wince r=joe 2009-05-14 22:47:51 -04:00
Jeff Muizelaar
8c08543e10 Bug 493079 - Update cairo to 1ae2ddc1dd4c90d50b8c57c4de677f8ab96b1fa2 r=joe 2009-05-14 22:03:26 -04:00
Jeff Muizelaar
08e5b94411 Bug 484954 - Fix a typo in the previous rgba text patch. r=vlad 2009-05-14 22:02:18 -04:00
Robert O'Callahan
d3a525774a Followup to bustage fix for bug 491595 2009-05-14 11:19:51 +12:00
Robert O'Callahan
ddebd425c7 Fixing bustage for bug 491595.
--HG--
extra : rebase_source : 36bf9b2a1cc8dabd0ef82d71ca1a04ae88587894
2009-05-14 11:10:40 +12:00
Robert O'Callahan
87d8c00f07 Bug 491595. Use path filling instead of platform glyph rasterization at a smaller size threshold of 256 device pixels, if the backend supports native filling (which we assume will be fast). r=vlad
--HG--
extra : rebase_source : 65728f993e0db12ec699203c5d3f711a6b51fb6e
2009-05-13 21:39:19 +12:00
Jeff Muizelaar
3c5462bff7 Bug 484954 - Propogate the component alpha flag when wrapping image surfaces to fix RGBA text on win32. r=vlad 2009-05-07 15:15:34 -04:00
Doug Turner
a9f76bee6d bug 489594 - fix for unaligned read in fbCompositeSrcAdd_8000x8000arm. r=blassey 2009-04-28 09:46:28 -07:00
Kenneth Waters
518ee9b649 b=488910,b=484864; fix directdraw path for aliased windows that aren't within screen bounds; r=vlad 2009-04-24 12:00:13 -07:00
Vladimir Vukicevic
8d3ecbe8b5 b=488910, cairo ddraw backend for wince (configure bits); r=vlad 2009-04-22 17:48:30 -07:00
cmills@nvidia.com
10eebb0922 b=484864, b=488910 - cairo ddraw backend for wince; r=vlad 2009-04-22 17:48:30 -07:00
Vladimir Vukicevic
5986bb5a42 b=482676; fix build bustage with NEON explicitly disabled or not available; r=me 2009-04-07 19:03:48 -07:00
Vladimir Vukicevic
9351544f8f mobile only; temporarily disable building NEON pixman bits to see if it fixes build breakage 2009-04-07 18:44:22 -07:00
Vladimir Vukicevic
e9ed6adcad b=482676; add pixman NEON optimizations; r=jeff 2009-04-07 12:12:31 -07:00
Tobias Hunger
8e3eaf819f Bug 485156 - cairo-qt fails to build; r=vladimir 2009-03-27 00:49:22 +01:00
Joe Drew
ee95bbe143 Bug 484076 - Shrink the glyph cache to fix tp_Rss regression. r=me 2009-03-23 21:53:40 -04:00
Brad Lassey
f3bac9a079 bug 484076 - hypot depricated on windows and non-existant on windows ce r=vlad 2009-03-21 14:58:42 -04:00
Jeff Muizelaar
5f2479036b Bug 484076 - Fix Windows CE build. 2009-03-20 16:46:52 -04:00
Joe Drew
8fb1293b2a Bug 484076 - Update pixman and cairo. This upgrades Cairo to git revision c932a809d6484503d7ee267d934bbc87c8d44092. r=vlad 2009-03-20 16:02:45 -04:00
Jeff Muizelaar
687a288853 Bug 484076 - Update pixman and cairo to newer upstream versions. r=vlad
Pixman revision is 072d848f592530973f1f0a0066a320ec5965625c
Cairo revision is 3ec94f9b5917b8f71304c982bd153e5a810f3b12
2009-03-19 13:34:17 -04:00
Vladimir Vukicevic
8bd28d0be6 b=481138; no, really fix pixman_have_arm_simd; r=vlad 2009-03-03 00:00:33 -08:00
Hiroyuki Ikezoe
18b2c3c2c9 b=481138; initialize not set in pixman_have_arm_simd; r=vlad 2009-03-02 23:58:29 -08:00
Jeff Muizelaar
5662166154 b=468883; port pixman arm opts to Windows CE; r=jrmuizel,vlad 2009-02-26 12:03:51 -08:00
Jonathan Kew
fd2275af79 Bug 445087; add extra pixel on each side of the glyph's black box returned by GetGlyphOutlineW, to avoid clipping ClearType pixels; r=(roc + vladimir) sr=roc 2009-02-24 17:53:31 +01:00
Jonathan Kew
0f7bed9806 Bug 475092. Fix horizontal offsets for vertically-offset glyphs on Windows. r=vlad,r+sr=roc 2009-02-10 21:34:51 +13:00
Gavin Sharp
4a266abf3a Add bug 474886 to cairo README 2009-02-06 17:33:13 -05:00
Peter Van der Beken
92a04a1aa2 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
377a2dbc2b 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
Jeff Muizelaar
02e67c8924 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
Robert O'Callahan
4be9b53e45 Backed out changeset c7385f0a0168 2009-01-30 23:21:53 +13:00
Jonathan Kew
deb175c5fe 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
Doug Turner
258e5fb771 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
22f6e75208 Backed out changeset 360b4a2d0aa8 2009-01-29 00:55:19 +13:00
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