Commit Graph

319 Commits

Author SHA1 Message Date
Jeff Muizelaar
6038010641 bug 473443 - drawImage of canvas onto self is incorrect r=vlad 2009-04-20 11:26:44 -04:00
Boris Zbarsky
fcb79320f6 Bug 485631 followup. Only disable the dirty frae asserts under drawWindow if the flag to not flush was passed in. r+sr=roc 2009-04-09 12:43:15 -04:00
Vladimir Vukicevic
008463d971 b=483412; don't overaggressively invalidate on canvas drawWindow; r=roc 2009-04-08 13:27:20 -07:00
Vladimir Vukicevic
5289a01dc6 b=436932, add imageRenderingQuality property to 2D canvas, r=roc 2009-04-07 12:05:41 -07:00
Jeff Muizelaar
9980cb2188 Bug 481926 - Rewrite color management component sr=vlad, r=ted, r=joedrew (\o/)
Replaces lcms with qcms
2009-04-07 12:02:11 -04:00
Robert Longson
b2f8e75361 Bug 486934 - video display should take account of image-rendering CSS property. r+sr=roc 2009-04-06 12:05:29 +01:00
Joe Drew
fc5c15825a Backed out changeset 6f3c2171bbb2:
Bug 481926 - Rewrite color management component. r=joe,ted sr=vlad
2009-04-03 16:27:27 -04:00
Jeff Muizelaar
eaef2088cb Bug 481926 - Rewrite color management component. r=joe,ted sr=vlad 2009-04-03 15:09:56 -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
Serge Gautherie
fb9a7ea0bc Bug 483989 - 3 Mochitest test_2d.*.html run fine but need to check/report success; (Av1a) Add |ok(true, ...);|; r=vladimir 2009-03-19 00:59:32 +01:00
Doug Turner
b9def8385d Backing out bug 473443 - drawImage of canvas onto self is incorrect. WINCE only. 2009-03-12 09:56:44 -07:00
Stuart Parmenter
75e52ee8cb bug 480233. Make the display list item that canvas uses for painting know about the opacity of the canvas. r/sr=roc 2009-03-05 05:43:45 -08:00
Doug Turner
6418098a80 Bug 473443 - Backing out bitblt for windows ce. This patch causes image sheering in fennec. r=blassey 2009-03-05 10:27:27 -08:00
Jonathan Kew
94391277aa Bug 479276. Support a new kind of glyph bounding-box: TIGHT_HINTED_OUTLINE_EXTENTS, and use it to stop MathML spacing depending on exact ink extents. r+sr=roc
--HG--
extra : rebase_source : 43f9009f6457361e690062f87b2e5fda4041dc48
2009-02-24 21:32:58 +13:00
L. David Baron
696da4e4ee Initialize mLastStyle to avoid valgrind warnings. (Bug 477961) r=vlad 2009-02-19 09:48:37 -08:00
L. David Baron
a91aa25ab0 Back out all 8 changesets that I just landed (bugs 477959, 477961, 322475, 478899, 475215, 478156) again, because Talos Try server builds lie about which changesets they're testing. 2009-02-19 09:06:18 -08:00
L. David Baron
84cbc5d035 Initialize mLastStyle to avoid valgrind warnings. (Bug 477961) r=vlad 2009-02-19 07:29:27 -08:00
Ginn Chen
b09d87a170 Bug 479022 fast path of nsCanvasRenderingContext2D::PutImage() is wrong on BIG ENDIAN machine r=vladmir 2009-02-19 21:00:41 +08:00
L. David Baron
8b207bcc51 Revert (back out) the previous 11 changesets (bugs 477959, 477961, 477963, 477962, 322475, 478899, 475215, 478156), due to Mac talos orange with (as usual) no useful diagnostic. 2009-02-18 18:59:47 -08:00
L. David Baron
ba0329dd6d Initialize mLastStyle to avoid valgrind warnings. (Bug 477961) r=vlad 2009-02-18 17:13:24 -08:00
Vladimir Vukicevic
67e7923d04 Dummy checkin for CLOSED TREE (patchset is Windows CE only) 2009-02-12 18:26:02 -08:00
Brad Lassey
bb73fc3637 bug 473443 - drawImage of canvas onto self is incorrect r=jrmuizel,vlad 2009-02-10 18:44:40 -05:00
L. David Baron
f8774a93ef Implement CSS computation of font-stretch property and store it in the gfx font structures. (Bug 3512) r=vlad sr=bzbarsky 2009-01-29 12:39:18 -08:00
Robert O'Callahan
4659c94f44 Bug 472244. Flush out MozAfterPaint for previously painted areas before we go ahead and fire MozReftestInvalidate to test invalidation. Also make canvas.drawWindow take float parameters so we can more precisely specify the area to render when 'device pixels' don't match CSS pixel boundaries. r=dbaron,vlad 2009-01-07 21:31:36 +13:00
Stuart Parmenter
91c3580bb5 bug 458373. Allow you to pass in a flag to drawWindow to show the caret. patch from roc. r=me 2008-12-12 02:50:31 -08:00
Martin Stránský
bbe42c7104 b=403513 bad kerning in print output if hinting is set to medium or full r=karlt sr=vlad 2008-12-17 16:17:50 +13:00
Karl Tomlinson
5286ba753b backout b=403513 due to compile error in gfxFontSelectionTest.cpp 2008-12-17 13:57:40 +13:00
Martin Stránský
12cfd5e1c9 b=403513 bad kerning in print output if hinting is set to medium or full r=karlt sr=vlad 2008-12-17 13:44:32 +13:00
Michael Ventnor
e758b80cd9 Bug 468018 - Optimize box-shadow rendering even further by doing more intersections; r=vladimir 2008-12-06 19:54:36 +01:00
Vladimir Vukicevic
5274e9ded7 Update canvas mochitests; covered operators changed with cairo 1.8.2 update 2008-11-06 01:44:13 -08:00
Ted Mielczarek
26dab6f284 bug 461395 - add support for PARALLEL_DIRS to build system, parallelize content. r=bsmedberg 2008-10-30 13:02:14 -04:00
Markus Stange
6ea716947b Bug 459796 - fixing unit test orange, r+sr=roc 2008-10-14 11:29:53 +02:00
Stuart Parmenter
e8fef4bbbc bug 459796. Add optional flags to drawWindow to allow finer control. r=vlad 2008-10-13 23:29:30 -07:00
John Daggett
c5d2a8ddfd Bug 441473. Implement user font set object. r+sr=roc 2008-10-01 12:01:53 +09:00
Taras Glek
da36423743 s/if NS_FAILED(rv)/if(NS_FAILED(rv)/ sr=roc 2008-09-25 18:44:05 -07:00
Vladimir Vukicevic
ae7b0c793c b=310682, add support for shadows in HTML Canvas -- test updates; patch from Eric Bulter; r=vlad 2008-09-25 12:53:55 -07:00
Vladimir Vukicevic
4f48417c20 b=310682, add support for shadows in HTML Canvas; patch from Eric Bulter; r=vlad 2008-09-25 12:53:52 -07:00
Arpad Borsos
cce478d087 Bug 454482 - Clean up unused variables in content/; r+sr=peterv 2008-09-24 06:37:56 +02:00
Ted Mielczarek
468a3823fc bug 447642 - get rid of --disable-mochitest, replace MOZ_MOCHITEST with ENABLE_TESTS. r=bsmedberg 2008-09-09 13:59:11 -04:00
Vladimir Vukicevic
787a337e0f b=451938; ensure correct principal is used in case of <video> and drawImage; r=bz 2008-09-06 16:47:28 -07:00
Vladimir Vukicevic
02676ae0e7 b=417836, canvas throws when accessing img with data URL; r=bz 2008-09-06 16:45:57 -07:00
Vladimir Vukicevic
ff1ee85956 b=433004, support nsICanvasRenderingContext2D.createImageData; r+sr=roc 2008-09-02 10:52:22 -07:00
Robert Sayre
791b10e1b4 Bug 451669. Bustage fix for linux canvas build. Patch by Mike Kaplinskiy. r/sr=jst. 2008-08-22 02:23:29 -04:00
Vladimir Vukicevic
4c7d579514 b=451242, use fast-paths for dense array to uint conversion in canvas 2008-08-20 14:47:10 -07:00
Vladimir Vukicevic
79428ea86d b=448674; Allow video to be used as source in canvas drawImage; r=cdouble,sr=roc 2008-08-18 12:40:11 -07:00
Eric Butler
15f31b92bc Disable broken seamonkey tests - bug 450114. r=vlad 2008-08-17 13:58:11 -07:00
Vladimir Vukicevic
a8e454cf10 Disable xor/lighter canvas tests 2008-08-10 22:20:31 -07:00
Vladimir Vukicevic
fca5d44b55 b=446534, Update canvas mochitests, code from Philip Taylor, patch by Eric Butler; r=vlad 2008-08-10 21:01:14 -07:00
Eric Butler
727ad67606 Avoid unnecessary InvalidateFrame calls from CanvasRenderingContext2D - bug 447836 r=vlad 2008-08-04 10:38:09 -07:00
Eric Butler
2f6c10b076 Convert canvas to Thebes - bug 306801 r=vlad 2008-07-23 10:50:03 -07:00
Eric Butler
0814facc93 Canvas routines draw right-to-left text backwards - bug 402276 r=smontagu sr=roc 2008-07-18 11:29:06 -07:00
Vladimir Vukicevic
d9cab3cefd b=433235, drawImage of canvas onto self is incorrect; r=roc 2008-07-11 13:32:12 -07:00
Takeshi Kurosawa ext:(%2C%20Eric%20Butler%20%3Cebutler%40mozilla.com%3E)
e6e9681ac7 Bug 442113 - Canvas text size depends on browser text zoom r=vlad 2008-07-03 15:02:50 -07:00
Eric Butler
f26f520a44 Fix crashes when using text API on a canvas context whose element doesn't have a frame, and update handling of that case to match the spec. (Bug 438695) r+sr=dbaron 2008-06-17 14:37:57 -07:00
Eric Butler
c0d334f20b Canvas text spec implementation (bug 436904) 2008-06-10 16:16:59 -07:00
Vladimir Vukicevic
c8def3e75f b=430906; add moz-opaque attribute to <canvas>; r+sr=roc 2008-06-03 17:00:32 -07:00
vladimir@pobox.com
8b63862466 b=430873; fast path drawImage with a canvas as source ; r+sr=roc/stuart; a=damon 2008-04-30 10:04:46 -07:00
Olli.Pettay@helsinki.fi
5aa41247ac back out bug 430873 to fix test failures 2008-04-29 07:43:35 -07:00
vladimir@pobox.com
2bb71e0b94 test failure fix 2008-04-28 21:57:21 -07:00
vladimir@pobox.com
7ae1a599b7 b=430873; avoid copy when doing canvas-canvas drawImage ops ; r+sr=roc,a=damon 2008-04-28 20:49:50 -07:00
reed@reedloden.com
52cd288b99 Bug 376355 - "Redundant STYLE_STACK_DEPTH, STYLE_CURRENT_STACK macros" [p=joe@drew.ca (Joe Drew [JOEDREW!]) r+a1.9=vlad] 2008-03-16 14:03:11 -07:00
vladimir@pobox.com
ba3ac6ab71 b=421422, cairo upgrade mochitest tweaks ; r=me 2008-03-14 20:45:26 -07:00
gavin@gavinsharp.com
a2dcb83701 Bug 421715: canvas crash passing undefined to putImageData, r+a=vlad 2008-03-10 00:35:37 -07:00
vladimir@pobox.com
81c9e62f3f typo fix 2008-03-06 14:03:55 -08:00
vladimir@pobox.com
134de18d19 b=419718, extend canvas checks, r=stuart 2008-03-06 11:56:47 -08:00
vladimir@pobox.com
104f6a38a1 b=415854, make single-pixel optimized images release memory; patch from joe@drew.ca; r+sr=vlad 2008-03-05 22:51:13 -08:00
mozilla@weilbacher.org
ef664eb10c Bug 413632: Remove the remaining MOZ_CAIRO_GFX (and related variables). Full patch except configure.in change. r/sr=dbaron, r=vlad, a=beltzner 2008-02-21 00:37:27 -08:00
jag@tty.nl
057bc17743 Bug 73353: Clean up our MODULE/REQUIRES story. rs=dbaron, a=brendan 2008-02-18 00:50:04 -08:00
bzbarsky@mit.edu
6b095f543a Adding test 2008-02-17 12:20:21 -08:00
vladimir@pobox.com
77e6542041 Disable some canvas tests, pending investigation 2008-02-13 23:52:05 -08:00
vladimir@pobox.com
73e275efe0 b=414511, misc canvas code cleanup, r=stuart 2008-02-13 22:53:25 -08:00
vladimir@pobox.com
f71ebdf92a b=406334, crash in canvas drawWindow ; r=roc 2008-02-13 22:51:33 -08:00
reed@reedloden.com
24fbf5fb3f Bug 398433 - "PRBool misuse bugs in content/" [p=tglek@mozilla.com (Taras Glek) r+sr=sicking a1.9=schrep a=blocking1.9+] 2008-02-09 22:16:30 -08:00
reed@reedloden.com
171889e6bc Bug 412530 - "context.restore throws exception if no saved state instead of doing nothing per spec" [p=taken.spc@gmail.com (KUROSAWA, Takeshi) r+a1.9=vlad] 2008-01-29 20:37:11 -08:00
mozilla@weilbacher.org
0a7ee49586 Bug 412582: remove MOZ_ENABLE_CAIRO_GFX from the build system, r=ted.mielczarek, a=beltzner 2008-01-28 15:07:34 -08:00
vladimir@pobox.com
e2c79cf83a Dummy checkin to kick qm-win2k3-01 2008-01-25 20:56:31 -08:00
vladimir@pobox.com
2ab6933fab more test fun 2008-01-25 19:45:33 -08:00
vladimir@pobox.com
1f69c1af69 b=413026, disable 4 operator tests on Mac due to differences in Quartz implementation 2008-01-18 14:54:21 -08:00
vladimir@pobox.com
eba38c1a3e b=406036, canvas cleanup, r=stuart 2008-01-18 13:53:28 -08:00
benjamin@smedbergs.us
dfc4cee45d Bug 411327 - nsIXPCNativeCallContext should not inherit from nsISupports, r=mrbkap, a=schrep 2008-01-15 07:50:57 -08:00
reed@reedloden.com
897c1f4d63 Add missing bracket to fix my bustage. 2007-12-24 20:20:45 -08:00
reed@reedloden.com
0e844cf7fd Bug 396197 - "Leaking imgSurf again in nsCanvasRenderingContext2D::DrawImage" [p=philip.taylor@cl.cam.ac.uk (Philip Taylor) r=vlad a1.9=beltzner] 2007-12-24 20:11:02 -08:00
dtownsend@oxymoronical.com
76d0d01daa Bug 405982: Improve error handling and consistency with image encoders. r=dolse, r+sr=pavlov, a=beltzner 2007-12-21 01:19:15 -08:00
roc+@cs.cmu.edu
ee00f61908 Disabling randomly-failing toDataURL tests, the right way 2007-12-11 16:31:19 -08:00
roc+@cs.cmu.edu
925a0c1f9f Disabling randomly-failing toDataURL tests. 2007-12-11 15:21:20 -08:00
bzbarsky@mit.edu
f39dff214c Fix up comments a dram 2007-12-05 20:47:09 -08:00
bzbarsky@mit.edu
b702caae0d Split tests up into groups so nsinstall doesn't blow away Windows' little mind. 2007-12-05 19:23:00 -08:00
bzbarsky@mit.edu
8e854d9023 Adding a whole bunch of canvas mochitests. Bug 407049, tests contributed by Philip Taylor <philip.taylor@cl.cam.ac.uk> 2007-12-05 18:51:12 -08:00
bzbarsky@mit.edu
e7ac26eca2 Make canvas security checks use principals, not URIs. Bug 397524, r=vlad, sr=jst, a=pavlov 2007-11-08 22:03:47 -08:00
reed@reedloden.com
ce49a25917 Bug 353981 - "Problems with globalAlpha being ignored sometimes" [p=philip@zaynar.demon.co.uk (Philip Taylor) r+sr+a1.9=vlad] 2007-11-07 01:19:22 -08:00
reed@reedloden.com
c03c5d7b82 Bug 389366 - "Canvas's .getImageData is returning premultiplied alpha pixels" [p=philip@zaynar.demon.co.uk (Philip Taylor) r=vlad a1.9=damons aM9=beltzner] 2007-10-26 12:45:20 -07:00
reed@reedloden.com
d69579e8aa Backout patch from bug 389366 because it does not have M9 approval. 2007-10-23 18:09:21 -07:00
reed@reedloden.com
59c9ec8400 Bug 389366 - "Canvas's .getImageData is returning premultiplied alpha pixels" [p=philip@zaynar.demon.co.uk (Philip Taylor) r=vlad a1.9=damons] 2007-10-23 18:06:23 -07:00
vladimir@pobox.com
62f6e368a7 b=391028, followup, r=stuart 2007-10-11 16:34:04 -07:00
vladimir@pobox.com
80621d0744 reftest bustage fix (bug 296904) 2007-10-10 13:31:45 -07:00
vladimir@pobox.com
2b6d4ef940 b=296904, canvas rects incorrectly affect current path; r+sr+a=vlad, patch from philip@zaynar.demon.co.uk 2007-10-10 12:24:12 -07:00
vladimir@pobox.com
a17da32e4b b=391028, drawImage with broken PNG horks, r=stuart/a=stuart 2007-10-04 11:57:40 -07:00
bent.mozilla@gmail.com
e974d54046 Bug 397319 - "Add JSAutoRequest to other users of GetArgvPtr". r+sr+a=jst. 2007-09-28 11:15:26 -07:00
vladimir@pobox.com
4dd2e87496 b=396972, clean up canvas API to avoid using internal API in contexts, r/a=stuart 2007-09-25 13:46:08 -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
sayrer@gmail.com
8bcd5fb9f2 Bug 396452. Enforce SpiderMonkey request model with assertions. r=mrbkap, sr/a=brendan 2007-09-18 17:26:39 -07:00
mats.palmgren@bredband.net
26c2c2b87a [OS/2] Remove non-cairo OS2 gfx code from the tree. b=389729 r=mozilla@Weilbacher.org 2007-09-08 09:22:56 -07:00
vladimir@pobox.com
ddb7432e72 b=390487, typo fix for default canvas text drawing font, r/a=vlad, patch from robarnold 2007-08-22 14:30:47 -07:00
benjamin@smedbergs.us
f8759d93ca Bug 387132 followup - build the reftest-fast tool correctly with libxul, r=vlad a=only functional change is NPOB 2007-08-06 13:13:19 -07:00
vladimir@pobox.com
0f0bb07000 b=339553 followup, fix an issue in windows opt builds with uninitialized data, r+a=vlad, patch=robarnold 2007-08-03 15:47:48 -07:00
vladimir@pobox.com
ec69972c14 check cairo error code for errors in GetInputStream, as well as the surface 2007-08-02 00:45:58 -07:00
vladimir@pobox.com
7c12866d18 b=339553, drawString enhancement for canvas, r=me; patch from robarnold 2007-07-25 11:21:34 -07:00
bzbarsky@mit.edu
834f3365bd Use a Subsumes() chec, not same-origin. Bug 387202, r=vlad, sr=jst 2007-07-20 20:11:15 -07:00
sharparrow1@yahoo.com
4e5da46ad5 Bug 385937: Remove nsIBlender. rs=pavlov 2007-06-27 12:06:09 -07:00
vladimir@pobox.com
27adfe5287 b=385584, crash with toDataURL on large canvas, r=stuart 2007-06-25 09:24:19 -07:00
sharparrow1@yahoo.com
6cc6875547 Bug 382092: Simple canvas cleanups. r+sr=vlad 2007-06-20 22:01:21 -07:00
vladimir@pobox.com
094107ca69 trying to figure out what's going on on the linux reftest tinderbox 2007-06-10 19:49:49 -07:00
vladimir@pobox.com
cc19120042 dummy commit to kick unit test tinderboxes 2007-05-30 04:02:18 -07:00
vladimir@pobox.com
bac6142c81 b=353144, new throws in canvas, r=stuart 2007-05-22 20:58:19 -07:00
asqueella@gmail.com
8b13adb4c2 Bug 375909 - nsCanvasRenderingContext2d incorrectly calculates some coordinates (has appunits * appunits, not appunits/appunits)p=Jeremy Lea <reg@freebsd.org>r+sr=roc 2007-04-27 07:45:21 -07:00
sayrer@gmail.com
f21ac0b126 bug 378336. nsCanvasRenderingContext2D::GetInputStream uses wrong allocator. r+sr=roc 2007-04-22 21:11:04 -07:00
hg@mozilla.com
465265d0d4 Free the (distributed) Lizard! Automatic merge from CVS: Module mozilla: tag HG_REPO_INITIAL_IMPORT at 22 Mar 2007 10:30 PDT, 2007-03-22 10:30:00 -07:00