Commit Graph

55 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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