Commit Graph

4755 Commits

Author SHA1 Message Date
vladimir%pobox.com
10491893d5 Re-landing fixed cairo update, r=pav 2006-03-17 22:24:30 +00:00
vladimir%pobox.com
a3e8a2106f People tell me that quadrupling Tp is bad. Me? I want a second opinion. 2006-03-17 07:44:38 +00:00
vladimir%pobox.com
fa9bd96262 bustage fix 2006-03-17 04:30:49 +00:00
vladimir%pobox.com
702e1a67ff b=330738, update in-tree cairo to current cairo head 2006-03-17 04:05:32 +00:00
pavlov%pavlov.net
31ef3d11b6 use the baseclass members instead of declaring new ones. offshoot of 330510. r=vlad 2006-03-14 23:18:42 +00:00
pavlov%pavlov.net
0cffbe252f create fonts lazily. bug 330510. r=vlad 2006-03-14 23:17:55 +00:00
mkaply%us.ibm.com
4fdf8cf296 #301064
r=mkaply, sr=mkaply (OS/2 only)
Patch from Andy Willis - add _declspec(dllexport/dllimport) for OS/2
Instead of adding NS_GFX to nsRegionImpl, moving region code into OS/2 (we're the only consumer)
2006-03-14 21:52:14 +00:00
vladimir%pobox.com
024f6bdc6e b=330107, pango font backend truncates float values to ints due to integer PANGO_SCALE, r=dbaron 2006-03-11 01:36:28 +00:00
pavlov%pavlov.net
4d95ee0a45 fix double glyph drawing with svg. bug 330095. r=vlad 2006-03-10 23:42:35 +00:00
tor%cs.brown.edu
441b9a7998 Bug 330041 - <svg:image> upside down and color shifted with cairo gfx.
Also fixes artifacts on animated gifs with cairo gfx.  r=vlad
2006-03-10 22:27:37 +00:00
pavlov%pavlov.net
add8320c31 attempt to unhork build. bug 329315. 2006-03-09 16:04:28 +00:00
pavlov%pavlov.net
464e521f86 attempt to unhork build. bug 329315. undoes fix for 329306. 2006-03-09 16:01:04 +00:00
pavlov%pavlov.net
f0ea84bb78 undoing fix that didn't work 2006-03-09 15:51:51 +00:00
pavlov%pavlov.net
691222c72d attempt to unhork build. bug 329315. undoes fix for 329306. 2006-03-09 09:45:47 +00:00
pavlov%pavlov.net
af146bcb1f making fonts scale based on the ctm on windows. bug 329306. r=vlad 2006-03-09 02:12:15 +00:00
pavlov%pavlov.net
286fe2c04b implementing _cairo_win32_surface_show_glyphs. bug 329259. r=vlad 2006-03-09 02:08:06 +00:00
vladimir%pobox.com
5952ca70f8 b=329850, fix thinko in positioning pango runs after the first, r=me 2006-03-09 00:25:53 +00:00
vladimir%pobox.com
385d974e5f b=329841, incorporate late-breaking comments from roc! 2006-03-08 23:47:02 +00:00
vladimir%pobox.com
5267025e36 b=329841, misc thebes fixes/additions, r=pav 2006-03-08 23:40:25 +00:00
mkaply%us.ibm.com
6df4894b7c #3011064
r=mkaply, sr=mkaply (OS/2 only)
Patch from Andy Willis - add _declspec(dllexport/dllimport) for OS/2
2006-03-08 19:13:43 +00:00
vladimir%pobox.com
0e4cb03112 b=329680, crash in gfxContext::SetSource (ensure we have an image surface before optimizing in nsThebesImage), r=pav 2006-03-08 00:28:19 +00:00
pavlov%pavlov.net
938a0e94ac fixing crash when trying to measure or draw 0-length strings.
removing HDC param/member that is no longer used.
bug 329574. r=vlad
2006-03-07 23:45:52 +00:00
vladimir%pobox.com
2f354a2d51 fix build bustage 2006-03-05 09:26:57 +00:00
cbiesinger%web.de
b768303bda bug 329140
- check for pango rather than gtk2 for non-gtk2 specific code
- add pango/cairo cflags where necessary
- don't include gtk headers when not needed
r=vlad
2006-03-04 14:23:39 +00:00
vladimir%pobox.com
2217656e8c Backing out 329306 to see if it fixes 329315 2006-03-04 09:50:26 +00:00
pavlov%pavlov.net
d099b3735d making windows font sizes scale based on the CTM. bug 329306. r=vlad 2006-03-04 04:40:07 +00:00
pavlov%pavlov.net
0ce420b5e9 compute font metrics as needed. bug 329258. r=vlad 2006-03-03 21:23:15 +00:00
pavlov%pavlov.net
0abecc5523 don't create a temp duplicate font list every time we need to get a font.... bug 329199. r=bz 2006-03-03 05:54:47 +00:00
pavlov%pavlov.net
337161cda9 fixing 16bpp display hang. bug 328676. r=vlad 2006-03-03 00:44:48 +00:00
pavlov%pavlov.net
117ea6ce29 fixing typo breaking mingw builds. bug 328499. patch from Hans-Andreas Engel <engel@physics.harvard.edu>. r=vlad 2006-03-03 00:17:54 +00:00
pavlov%pavlov.net
cc439baf14 Fast path text measuring/drawing for non-ascii non-complex text as well. bug 329170. r=vlad. 2006-03-03 00:14:40 +00:00
benjamin%smedbergs.us
402aa4194d Bug 78081 - don't export intermediate libraries - initial makefile changes to switch from $(DIST)/lib to in-tree library locations - blanket-r=mento 2006-03-02 16:03:58 +00:00
pavlov%pavlov.net
e7f04f1fad fixing linux fallout from 328906. patch from Simon Montague <smontagu@smontagu.org>. r=pavlov 2006-03-01 18:27:38 +00:00
pavlov%pavlov.net
2cdd967c7d fixing mac fallout from 328906. patch from Yamashita Makoto <makotoy@ms.u-tokyo.ac.jp>. r=pavlov 2006-03-01 08:13:56 +00:00
bzbarsky%mit.edu
2bd52a2d41 Log nsRect ctor/dtor. Followup for bug 327670, r+sr=dbaron 2006-03-01 03:57:24 +00:00
pavlov%pavlov.net
b9b2639339 use nsTArray<nsRefPtr<gfxFont>> rather than nsTArray<gfxFont*> with manual refcounting. bug 328906. r=vlad 2006-03-01 01:02:38 +00:00
martijn.martijn%gmail.com
e52e16648e Bug 328182 - Mingw build failure in cairo-win32-surface.c. r=pavlov 2006-02-28 22:13:49 +00:00
pavlov%pavlov.net
7b05673133 Fast pathing ASCII text measurement/drawing on windows. bug 328820. r=vlad 2006-02-28 22:11:01 +00:00
dbaron%dbaron.org
39054b499d Rename browser.display.screen_resolution pref, for which we used to have user interface, to layout.css.dpi, so old settings no longer take effect. b=327406 r+sr=roc 2006-02-28 10:00:47 +00:00
vladimir%pobox.com
a7b7add772 b=328781, thebes gfxFont assumes lowercase generic family, r=bz 2006-02-28 07:36:01 +00:00
pavlov%pavlov.net
d5f03ff41c making gfxFontStyle::ComputeWeightAndOffset not be a static method. part of bug 328684 r=vlad 2006-02-28 01:08:44 +00:00
pavlov%pavlov.net
e605e1488e making bold text work. bug 324611. r=vlad 2006-02-28 01:06:02 +00:00
pavlov%pavlov.net
eefb7df572 Fixing kerning bug where we added the space we should have been subtracting. bug 327363. r=vlad. based on patch originally from Masayuki Nakano <masayuki@d-toybox.com> 2006-02-27 22:05:45 +00:00
timeless%mozdev.org
ed5c66ecab Trying to fix build bustage. inline isn't a legal C keyword in this scope per xlc 2006-02-27 19:49:41 +00:00
masayuki%d-toybox.com
e647fcc7d2 adding comment for previous check-in b=328643 r=jshin 2006-02-27 17:42:16 +00:00
masayuki%d-toybox.com
f4458bc746 Bug 328643 support non-ASCII font name for pref r=jshin, sr=roc 2006-02-27 15:04:31 +00:00
roc+%cs.cmu.edu
07e3c40e8d Turn off debug spew. 2006-02-27 02:28:41 +00:00
jag%tty.nl
472b5adadb Bug 328516: Unexpected text ',' encountered
Attempt to fix AIX bustage.
2006-02-25 09:29:51 +00:00
jag%tty.nl
8aacfee457 Bug 328426: C++ style comment in fbcompose.c makes trunk build failure on AIX.
Patch by Rupesh <rupeshkt@gmail.com>. r=/sr=roc
2006-02-24 19:53:28 +00:00
pavlov%pavlov.net
0fe1ba3ddd partial fix for font fallbacks. bug 324560. also fixes 324712. r=vlad 2006-02-24 05:15:21 +00:00
pavlov%pavlov.net
7f1afefee2 fixing windows plugin clipping bugs. bug 328263. r=vlad 2006-02-23 20:55:42 +00:00
pavlov%pavlov.net
d89a1b8e04 define M_PI if it isn't defined 2006-02-23 17:06:19 +00:00
timeless%mozdev.org
1ce5986f6b Bug 106386 Correct misspellings in source code
r=bernd rs=brendan
2006-02-23 09:36:43 +00:00
jshin%mailaps.org
b3b3381f83 bug 205387 : need to exclude truly invisible default_ignorable_code_points' from draw_string and measurement : patch by YAMASHITA Makoto (makotoy%ms.u-tokyo.ac.jp), r=me, sr=rbs 2006-02-23 02:37:47 +00:00
roc+%cs.cmu.edu
3650a89de7 Bug 327878. Add cairo_draw_with_xlib API, and use it to render GTK2 native themes (including for HTML content) 2006-02-23 01:01:29 +00:00
roc+%cs.cmu.edu
ad5f1c79ec Bug 327878. Add cairo_clip_extract_rectangles, to support native theme rendering patch. r=vlad 2006-02-23 00:54:18 +00:00
roc+%cs.cmu.edu
c985c3448f Bug 327878. Add getters for cairo xlib surfaces, to support native theme rendering patch. r=vlad 2006-02-23 00:50:08 +00:00
roc+%cs.cmu.edu
9978c0e541 Bug 328232. Fix CreateOffscreenSurface to actually create a surface with alpha if it's asked to. r=vlad 2006-02-23 00:45:55 +00:00
roc+%cs.cmu.edu
8ca161951b Bug 328160. Include strings.h to get bzero. r+sr=roc, patch by Ganesh 2006-02-22 22:46:25 +00:00
pavlov%pavlov.net
2d157b6d5e adding missing license headers 2006-02-22 22:00:01 +00:00
vladimir%pobox.com
039a437a80 bustage fix for real this time, I meant ifndef 2006-02-22 06:01:28 +00:00
vladimir%pobox.com
fbeec59b69 Mac bustage fix for older SDK versions 2006-02-22 04:38:27 +00:00
vladimir%pobox.com
7f5363cf25 b=328116, Start of Cairo-on-OSX for Thebes GFX; gfx and cairo pieces, r=pavlov 2006-02-22 01:44:31 +00:00
pavlov%pavlov.net
08651ec4c2 removing methods that are already implemented by the base class 2006-02-22 01:33:37 +00:00
vladimir%pobox.com
3d78c2d4b8 b=327580, fix image decoder endianness & pixel format bits [mainly cairo], r=stuart 2006-02-21 23:19:20 +00:00
pavlov%pavlov.net
606c43db61 fixing typo 2006-02-21 23:09:44 +00:00
pavlov%pavlov.net
361c23430b fix windows printing. bug 328072. r=vlad 2006-02-21 21:14:32 +00:00
roc+%cs.cmu.edu
e160d9c829 Bug 327874. Fix _cairo_xlib_surface_create_similar to create surfaces with the same depth as the input surface. r=vlad 2006-02-20 21:08:14 +00:00
cbiesinger%web.de
0b8727d7a1 Bug 327867 CopyOffscreenBits is not called in cairo builds, therefore
SetTarget isn't either. Remove the latter function and the body of the
former.
r=vlad
2006-02-20 14:27:02 +00:00
dbaron%dbaron.org
1194eec7dc Use dest origin when transforming source rect width and height to avoid off-by-1 transformations for unscaled images. b=326158 r+sr=roc 2006-02-17 18:00:30 +00:00
mkaply%us.ibm.com
59767a31cf Removing files that moved to widget 2006-02-17 15:57:31 +00:00
vladimir%pobox.com
9b619cc8f0 b=327569, optimize images when requested, r=pavlov 2006-02-17 01:49:24 +00:00
vladimir%pobox.com
0f1796c049 b=327391, SaveDC/RestoreDC mismatch in gfxWindowsFonts, r=stuart 2006-02-16 05:50:37 +00:00
vladimir%pobox.com
ef41e9e97d Linux cairo build bandaid fix take 2 2006-02-16 01:08:28 +00:00
pavlov%pavlov.net
9bc3c38993 only build ps backend in non-cairo builds r=vlad 2006-02-16 00:27:57 +00:00
vladimir%pobox.com
707e0dc2f7 b=326738, move thebes doublebuffering/transparent window handling into widget, sr=roc 2006-02-15 23:35:53 +00:00
vladimir%pobox.com
ea8ea261bb Add missing cairo-win32-creation-format.patch 2006-02-15 23:33:37 +00:00
vladimir%pobox.com
37883a6e26 cairo: expose the win32 surface dc and DIB creation function 2006-02-15 22:34:19 +00:00
vladimir%pobox.com
43de878afd missed README commit from last 2006-02-15 22:32:14 +00:00
vladimir%pobox.com
b8920b9f9e cairo: Fix up win32 surface coords before calling BitBlt/AlphaBlend, so that the functions don't complain if called with src outside of src region 2006-02-15 22:31:27 +00:00
pavlov%pavlov.net
a5a077d9d0 removing unused include 2006-02-15 03:12:51 +00:00
pavlov%pavlov.net
ca8de96237 oops, didn't mean to check this in a minute ago. if 0'ing out changes 2006-02-15 02:48:08 +00:00
pavlov%pavlov.net
b2388d1c15 fixing RTL text in windows cairo builds. bug 327229 r=vlad 2006-02-15 02:45:37 +00:00
pavlov%pavlov.net
d955219e90 removing unused files 2006-02-14 22:06:50 +00:00
sergei_d%fi.tartu.ee
6e7b8681ca [BeOS]Bug 327046. Moving printing to widget. nsPrintdBeOS.h 2006-02-14 15:28:11 +00:00
sergei_d%fi.tartu.ee
cac3a766d9 [BeOS]Bug 327046. Moving printing to widget 2006-02-14 14:10:48 +00:00
masayuki%d-toybox.com
494b3a0ab2 Bug 170854 Roman script of UI should be rendered with Lucida Grande on all system locales. patch by YAMASHITA Makoto <makotoy@ms.u-tokyo.ac.jp> r=jshin+me, sr=sfraser 2006-02-14 09:27:36 +00:00
pavlov%pavlov.net
cdace0f519 fixing up linux printing 2006-02-13 23:18:26 +00:00
pavlov%pavlov.net
4c74730634 cleaning up thebes PDF and PS surfaces 2006-02-13 22:37:13 +00:00
mkaply%us.ibm.com
7d6a78f63f OS/2 build bustage as a result of 326149 - once files are moved, this should build 2006-02-13 22:32:53 +00:00
mkaply%us.ibm.com
c8694d1c4e OS/2 build bustage as a result of 32649 - once files are moved, this should build 2006-02-13 22:32:23 +00:00
pavlov%pavlov.net
8b7754cd9e linux printing improvements 2006-02-13 19:31:27 +00:00
pavlov%pavlov.net
b5c239b908 fixing linux printing bustage from earlier checkin. bug 326760. 2006-02-11 07:45:40 +00:00
pavlov%pavlov.net
765b1155b8 fixing non-cairo windows printing bustage 2006-02-11 00:03:51 +00:00
vladimir%pobox.com
18de9d8c6c Update cairo patches in repo 2006-02-10 23:55:27 +00:00
pavlov%pavlov.net
99b778d2e4 fixing build bustage 2006-02-10 23:33:56 +00:00
pavlov%pavlov.net
01f950e2a0 temp windows build fix.. real fix coming shortly 2006-02-10 23:28:28 +00:00
pavlov%pavlov.net
4a0aa0268d fixing mac bustage 2006-02-10 23:26:33 +00:00
pavlov%pavlov.net
a80b85f74a moving printing from gfx to widget part 3. bug 326149. r=vlad 2006-02-10 23:00:23 +00:00
vladimir%pobox.com
7d295623b2 cairo text rendering fixes; remove previous optimistic optimization 2006-02-10 22:03:39 +00:00
pavlov%pavlov.net
b529ad597b fixing leak when printing 2006-02-10 21:52:31 +00:00
pavlov%pavlov.net
bc43fd0554 adding postscript surface 2006-02-10 21:31:04 +00:00
pavlov%pavlov.net
72a14faf99 fixing build bustage 2006-02-10 21:10:55 +00:00
pavlov%pavlov.net
a2ba23143c disabling xprint and fixing build bustage. 2006-02-10 21:00:35 +00:00
pavlov%pavlov.net
7211d869d3 moving printing from gfx to widget part 2. bug 326149. r=vlad 2006-02-10 20:44:48 +00:00
pavlov%pavlov.net
6a80da6c47 moving printing from gfx to widget part 1. bug 326149. r=vlad 2006-02-10 20:40:54 +00:00
pavlov%pavlov.net
67dfc4b396 enabling thebes printing bug 323927 r=vlad 2006-02-10 20:37:31 +00:00
vladimir%pobox.com
f452314d73 updated patch with butsage fix 2006-02-10 02:57:07 +00:00
vladimir%pobox.com
b44d40d12d more bustage fix 2006-02-10 02:56:14 +00:00
vladimir%pobox.com
25ab2f14b8 update patch with bustage fix 2006-02-10 02:52:23 +00:00
vladimir%pobox.com
66159378d4 fix bustage 2006-02-10 02:51:12 +00:00
vladimir%pobox.com
8252152ff0 Fix thebes performance regressions from bug 326471 landing: snap clip rects to integers; remove some bogus RGB24 format checks from cairo; fix device offsets for fast text output. r=stuart 2006-02-10 02:20:35 +00:00
timeless%mozdev.org
c889d43fa6 bustage fix 2006-02-09 05:46:48 +00:00
timeless%mozdev.org
7cf33e12b8 Bug 324929 Print Preview crashs with opacity set on list [@ nsFontPSXft::FindFont ][@ nsFontPS::FindFont ]
r=kerron sr=roc
2006-02-09 05:17:46 +00:00
vladimir%pobox.com
56faea7be3 Add upstream submit notice 2006-02-09 01:34:01 +00:00
vladimir%pobox.com
567bc2281b b=326471, use push/pop group for thebes double buffering; temporarily disable linux native theme until fixed, r=stuart 2006-02-09 01:24:30 +00:00
vladimir%pobox.com
4cb87bbda0 Cairo push/pop group patch fixes; win32 alphablend fix; b=326333, fbcompose.c problem causing missing svg text patch; initial part of cairogfx transparency fix 2006-02-08 01:44:57 +00:00
pavlov%pavlov.net
0b0b40118a hack around caret problem in thebes builds (bug 312106) 2006-02-07 07:08:37 +00:00
kjh-5727%comcast.net
32a3f7d344 Fixing build bustage. 2006-02-04 17:40:09 +00:00
kjh-5727%comcast.net
7721654f3b Bug 324072 - Printer properties dialog shows properties for the wrong printer. r+sr=roc. 2006-02-04 17:24:26 +00:00
cbiesinger%web.de
c2d981f764 bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
r+sr=darin
2006-02-03 14:18:39 +00:00
vladimir%pobox.com
df96213eb8 Updating cairo to cairo CVS-20060202+moz 2006-02-03 04:49:30 +00:00
pavlov%pavlov.net
2ce2647073 adding set/get DPI calls for the pdf surface 2006-02-02 21:09:06 +00:00
mkaply%us.ibm.com
a237edb2d1 OS/2 only - forgot a header export for Cairo 2006-02-02 20:03:15 +00:00
pavlov%pavlov.net
750cb6dd1d if 0'ing out the printer init code 2006-02-01 07:24:09 +00:00
pavlov%pavlov.net
e693574df1 use a empty PRUnichar instead of NS_L 2006-02-01 07:12:38 +00:00
pavlov%pavlov.net
bc94714097 need to cast NS_L() for gcc... 2006-02-01 06:50:33 +00:00
pavlov%pavlov.net
163cb41d90 use the new thebes printing APIs. 2006-02-01 05:23:36 +00:00
pavlov%pavlov.net
16db7c3947 adding Thebes printing APIs 2006-02-01 05:21:59 +00:00
pavlov%pavlov.net
07cb0c3299 adding windows gfxPlatform support 2006-02-01 02:35:38 +00:00
pavlov%pavlov.net
fd4a3f5471 adding support for GetThebesSurface() on windows so that we can remove a lot of code. 2006-01-31 00:05:03 +00:00
pavlov%pavlov.net
9f582b1de5 adding support for creating a gfxWindowsSurface from a HWND.
Call all win32 apis with :: to avoid namespace collisions.
2006-01-31 00:00:12 +00:00
mkaply%us.ibm.com
4b448cbff1 #305028
r=bsmedberg, sr=mkaply (OS/2 only)
Patch from Peter Weilbacher - Cairo on OS/2
2006-01-30 16:54:24 +00:00
mcs%pearlcrescent.com
ad4c471e04 Bug 298375 - drawWindow() reverses red and blue channels in 16 bit color.
Return correct pixel format information for color depth < 32 on Windows.
  r+sr=roc.
2006-01-26 21:30:09 +00:00
dbaron%dbaron.org
00523ce610 Guess at Windows (pacifica) bustage fix, and more consistent with existing code anyway. 2006-01-26 06:10:52 +00:00
bzbarsky%mit.edu
ccd5715711 Fixing thebes build bustage; bug 317375 2006-01-26 04:57:39 +00:00
roc+%cs.cmu.edu
adfd83621e Fixing my bustage. 2006-01-26 03:20:51 +00:00
roc+%cs.cmu.edu
ff88946009 Fixing my bustage. 2006-01-26 03:00:06 +00:00
roc+%cs.cmu.edu
77bca74243 Bug 317375. Reorganize frame painting and mouse event targeting around frame display lists. Some review from dbaron, lots of testing help from Martijn, Julien and others 2006-01-26 02:29:17 +00:00
vladimir%pobox.com
a5e2c8b72a b=324537, fix windows/cairo options menu crash due to unimplemented gfxPlatform call, r=me 2006-01-25 09:29:31 +00:00
pavlov%pavlov.net
7227bd8be1 build the PDF surface and link against zlib 2006-01-25 04:00:51 +00:00
pavlov%pavlov.net
6e3966161e s/mDPI/mDpi/ typo 2006-01-25 02:48:34 +00:00
pavlov%pavlov.net
6792ffb728 enable building of the cairo pdf and ps surfaces on linux r=vlad 2006-01-25 02:23:32 +00:00
pavlov%pavlov.net
ccc83518de removing excess #endif 2006-01-25 02:10:39 +00:00
pavlov%pavlov.net
9c30f9bb71 add support for owning a passed in DC 2006-01-25 02:06:29 +00:00
pavlov%pavlov.net
fa3fcdbd3d Getting things ready for thebes/cairo printing... 2006-01-25 02:05:03 +00:00
bryner%brianryner.com
ecc0706743 Remove deprecated nsTString::ToCString (bug 323471). r+sr=darin. 2006-01-24 19:22:02 +00:00
vladimir%pobox.com
6793dceedf Fix pattern leak in cairo_pop_group_to_source 2006-01-23 22:41:17 +00:00
pavlov%pavlov.net
48f5fc422f Fixing region leak 2006-01-23 22:19:50 +00:00
cbiesinger%web.de
1f2c34903f bug 323551 make the in-tree cairo compile on beos (if a system-installed
freetype and fontconfig is present)
r=bsmedberg,vlad
2006-01-21 15:58:24 +00:00