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

414 Коммитов

Автор SHA1 Сообщение Дата
Oleg Romashin 3b63e6ae70 dotted/dashed borders rendering with Qpainter surface very slow - bug 432453. r=vladimir 2008-08-19 04:29:25 +03: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
Oleg Romashin 75fc2387ae mozilla-central merge 2008-08-08 13:05:00 +03: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
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
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
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
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
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
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
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
Vladimir Vukicevic 10e2cf8a01 [cairo-qpainter] Create QPixmaps with an alpha channel if required 2008-04-28 18:15:30 -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 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
Vladimir Vukicevic 465c78866e [qpainter] take redirected device offsets into account in acquire_source_surface 2008-04-20 06:50:50 -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
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
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
roc+@cs.cmu.edu 7ae9df1205 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 023cb2dd5a 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 bc97f54414 backout? 2008-04-11 13:08:04 -07:00
vladimir@pobox.com d40a840700 forgot to update README file 2008-04-11 12:45:28 -07:00
vladimir@pobox.com 03f577cacc b=428563, Upgrade Cairo to 1.6.2; r=me,a=beltzer 2008-04-11 12:38:41 -07:00
vladimir@pobox.com d96cc8f951 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 49d32f0411 roll back cairo commit c1062bf to fix assertion failures 2008-04-07 02:17:14 -07:00
vladimir@pobox.com 60c38d2f83 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 8c89b393ae 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 b52afa817f 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 22464d73b0 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 5f1dc77014 backout [mq]: cairo-rollback.patch 2008-04-06 16:34:08 -07:00
vladimir@pobox.com f9b6072e55 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 ec70458884 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 fdff5bb834 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 69dffc9dea b=423524, CGContextGetType warnings showing up in console, r=stuart 2008-03-18 13:36:40 -07:00
mozilla@weilbacher.org 7fc8721683 [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 57ea7c7e29 b=421422, cairo upgrade followup, fixing subpixel AA on OSX 2008-03-14 23:20:21 -07:00
vladimir@pobox.com e829450616 b=421422, cairo upgrade ; r=me 2008-03-14 20:45:12 -07:00
vladimir@pobox.com f8a13c0c1d b=421422, cairo upgrade ; r=me 2008-03-14 20:44:23 -07:00
roc+@cs.cmu.edu b85eb999a0 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 17ebdab033 Backing out Bug 403181. JPEG encoding test failure :-( 2008-03-07 01:28:34 -08:00
roc+@cs.cmu.edu 2c9f274033 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 3b780ce7dd 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 52b19faf19 b=421017; upgrade cairo to 1.5.12-11-g2f93504 ; r=me 2008-03-04 21:44:55 -08:00
vladimir@pobox.com ba6ed69122 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 ffd2cec203 b=416018, upgrade cairo to 1.5.8-30-g80e11a8 ; r=me 2008-02-13 22:54:26 -08:00
vladimir@pobox.com 59d366fe0d b=416181, animated image used as repeated background broken ; r=stuart 2008-02-13 22:51:58 -08:00
reed@reedloden.com 4457afca74 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 2b84f5ffa7 Add missing patch file (npotb) 2008-02-07 12:02:40 -08:00
vladimir@pobox.com 5533ef53f6 b=414685, optimize mac image decoding and rendering ; r=stuart 2008-02-05 22:48:47 -08:00
vladimir@pobox.com ef8619aeb6 b=367618, initial win32 8bpp bits, r=stuart 2008-01-29 11:00:57 -08:00
vladimir@pobox.com 3667e23a19 b=513583, bandaid for X repeat bug, r=stuart 2008-01-29 10:45:08 -08:00
vladimir@pobox.com 61b709983c 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 ab954de041 backing out 412396 in an attempt to fix linux orange 2008-01-27 19:04:40 -08:00
vladimir@pobox.com a2c8dcaaa7 b=413989, bad lines drawn over background images while zoomed (osx), r=roc 2008-01-27 16:49:23 -08:00
vladimir@pobox.com dc58eb9308 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 8328e9cd2c 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 66fe4c3551 b=414095, serious win32 repaint/clipping issues, r=sleepy 2008-01-26 02:09:21 -08:00
vladimir@pobox.com 887e5c650b b=413878, even more cairo upgrades 2008-01-25 16:25:22 -08:00
vladimir@pobox.com 6490b1452b b=413878, upgrade cairo/pixman to latest git 2008-01-25 16:25:15 -08:00
mozilla@weilbacher.org 40fe97dc61 [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 6a69e9d762 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 91cb75a263 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 9b97fee396 Bug 411369. Crash while trying to print. r=ted.mielczarek 2008-01-18 17:09:36 -08:00
vladimir@pobox.com 3b98877a7d b=411224, r=vlad: 411224-cairo-upgrade-fixes.patch 2008-01-18 13:46:33 -08:00
vladimir@pobox.com 9510278dbc b=411224, r=vlad: 411224-cairo-upgrade-1.5.5 2008-01-18 13:46:26 -08:00
vladimir@pobox.com f654ca160e 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 d98f0c7d58 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 39bcc6dd04 [OS/2] Bug 407524: Enable PDF surface on OS/2, r=ted.mielczarek 2007-12-11 13:49:27 -08:00
pavlov@pavlov.net 5d8942387d 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 0f9f5b9f99 b=404092, solaris compilation fix followup, r=me 2007-11-30 11:58:15 -08:00
vladimir@pobox.com 6e1d91836c b=404092, upgrade cairo to 1.5.2-55 2007-11-29 12:06:56 -08:00
philringnalda@gmail.com 9d8578dd45 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 0cbdf20a7e 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 ccebb40372 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 e65548fd8d * 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 20da02cff4 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 87753a110d 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 a2f4cc4bdc 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 f6ad611f7f 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 c136f6a88b b=366548, increased GDI usage leading to repainting problems, r/a=stuart 2007-10-03 14:27:42 -07:00
joshmoz@gmail.com ae36f23f23 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 496f7f889c 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 847a977dc2 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