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

210 Коммитов

Автор SHA1 Сообщение Дата
Eric Butler d249d258b8 Avoid unnecessary InvalidateFrame calls from CanvasRenderingContext2D - bug 447836 r=vlad 2008-08-04 10:38:09 -07:00
Eric Butler 2550fa9505 Convert canvas to Thebes - bug 306801 r=vlad 2008-07-23 10:50:03 -07:00
Eric Butler 47e45f54c6 Canvas routines draw right-to-left text backwards - bug 402276 r=smontagu sr=roc 2008-07-18 11:29:06 -07:00
Vladimir Vukicevic 20c88f6afd 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) ab5953d90b Bug 442113 - Canvas text size depends on browser text zoom r=vlad 2008-07-03 15:02:50 -07:00
Eric Butler 4d58741bd6 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 be40edd6c9 Canvas text spec implementation (bug 436904) 2008-06-10 16:16:59 -07:00
Vladimir Vukicevic 35bb6388f9 b=430906; add moz-opaque attribute to <canvas>; r+sr=roc 2008-06-03 17:00:32 -07:00
vladimir@pobox.com edd674511f 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 a300e73cf3 back out bug 430873 to fix test failures 2008-04-29 07:43:35 -07:00
vladimir@pobox.com 9035a10cf4 test failure fix 2008-04-28 21:57:21 -07:00
vladimir@pobox.com 83465c63b2 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 20f08b72f6 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 db4ebbb2e1 b=421422, cairo upgrade mochitest tweaks ; r=me 2008-03-14 20:45:26 -07:00
gavin@gavinsharp.com be6fb851ef Bug 421715: canvas crash passing undefined to putImageData, r+a=vlad 2008-03-10 00:35:37 -07:00
vladimir@pobox.com 2ad4b8c4f3 typo fix 2008-03-06 14:03:55 -08:00
vladimir@pobox.com 1c63b1637a b=419718, extend canvas checks, r=stuart 2008-03-06 11:56:47 -08:00
vladimir@pobox.com c325e922a7 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 7ed1ca89ae 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 05cdb6aefe Bug 73353: Clean up our MODULE/REQUIRES story. rs=dbaron, a=brendan 2008-02-18 00:50:04 -08:00
bzbarsky@mit.edu ed9afe6723 Adding test 2008-02-17 12:20:21 -08:00
vladimir@pobox.com bad778d3f2 Disable some canvas tests, pending investigation 2008-02-13 23:52:05 -08:00
vladimir@pobox.com 7e27aa9f91 b=414511, misc canvas code cleanup, r=stuart 2008-02-13 22:53:25 -08:00
vladimir@pobox.com 1510dc89f9 b=406334, crash in canvas drawWindow ; r=roc 2008-02-13 22:51:33 -08:00
reed@reedloden.com 4c4140bd62 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 8e43060700 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 d0cb8b7ca7 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 6fad05921d Dummy checkin to kick qm-win2k3-01 2008-01-25 20:56:31 -08:00
vladimir@pobox.com 8be02bf49d more test fun 2008-01-25 19:45:33 -08:00
vladimir@pobox.com 9dbd7abfed 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 2319dd823c b=406036, canvas cleanup, r=stuart 2008-01-18 13:53:28 -08:00
benjamin@smedbergs.us b3e87aa63b Bug 411327 - nsIXPCNativeCallContext should not inherit from nsISupports, r=mrbkap, a=schrep 2008-01-15 07:50:57 -08:00
reed@reedloden.com 8e6ed6cdd9 Add missing bracket to fix my bustage. 2007-12-24 20:20:45 -08:00
reed@reedloden.com 7932d2c1c1 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 e19c95f750 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 a41c16b134 Disabling randomly-failing toDataURL tests, the right way 2007-12-11 16:31:19 -08:00
roc+@cs.cmu.edu 99b3f90d6d Disabling randomly-failing toDataURL tests. 2007-12-11 15:21:20 -08:00
bzbarsky@mit.edu 7729fd622b Fix up comments a dram 2007-12-05 20:47:09 -08:00
bzbarsky@mit.edu 593874e84d 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 d13f3edd1b 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 3381d13138 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 09cf0c6fc5 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 7905f11496 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 f56ee12ca9 Backout patch from bug 389366 because it does not have M9 approval. 2007-10-23 18:09:21 -07:00
reed@reedloden.com a7df7f874e 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 ea234d1683 b=391028, followup, r=stuart 2007-10-11 16:34:04 -07:00
vladimir@pobox.com 6fa8a0f43e reftest bustage fix (bug 296904) 2007-10-10 13:31:45 -07:00
vladimir@pobox.com 0d55de6f08 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 99149ab022 b=391028, drawImage with broken PNG horks, r=stuart/a=stuart 2007-10-04 11:57:40 -07:00
bent.mozilla@gmail.com 1232ee381c Bug 397319 - "Add JSAutoRequest to other users of GetArgvPtr". r+sr+a=jst. 2007-09-28 11:15:26 -07:00
vladimir@pobox.com 8797e1dcc2 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 a0ce273d02 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 f5ea55f8b4 Backing out due to test bustage 2007-09-22 06:28:16 -07:00
roc+@cs.cmu.edu f2b87e6c9a Bug 96041. Compute true glyph bounding metrics. r=vlad,dbaron,sr=dbaron 2007-09-22 05:43:52 -07:00
sayrer@gmail.com 9c5288b856 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 702ba6d4be [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 fdd24e0988 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 6586a4906f 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 da19acfd9e 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 2855f447a9 check cairo error code for errors in GetInputStream, as well as the surface 2007-08-02 00:45:58 -07:00
vladimir@pobox.com a232b51aff b=339553, drawString enhancement for canvas, r=me; patch from robarnold 2007-07-25 11:21:34 -07:00
bzbarsky@mit.edu e5b0b3d587 Use a Subsumes() chec, not same-origin. Bug 387202, r=vlad, sr=jst 2007-07-20 20:11:15 -07:00
sharparrow1@yahoo.com 4dd8605134 Bug 385937: Remove nsIBlender. rs=pavlov 2007-06-27 12:06:09 -07:00
vladimir@pobox.com 0889c5fdd3 b=385584, crash with toDataURL on large canvas, r=stuart 2007-06-25 09:24:19 -07:00
sharparrow1@yahoo.com e4dc7d2eac Bug 382092: Simple canvas cleanups. r+sr=vlad 2007-06-20 22:01:21 -07:00
vladimir@pobox.com ef79074341 trying to figure out what's going on on the linux reftest tinderbox 2007-06-10 19:49:49 -07:00
vladimir@pobox.com e231d4af26 dummy commit to kick unit test tinderboxes 2007-05-30 04:02:18 -07:00
vladimir@pobox.com 17ddc34088 b=353144, new throws in canvas, r=stuart 2007-05-22 20:58:19 -07:00
asqueella@gmail.com 60a634698b 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 54e344ebd0 bug 378336. nsCanvasRenderingContext2D::GetInputStream uses wrong allocator. r+sr=roc 2007-04-22 21:11:04 -07:00
pavlov%pavlov.net a501d37bad thebes API cleanup. bug 368910. r/sr=vlad 2007-02-08 20:47:48 +00:00
dbaron%dbaron.org afc56e1eb0 Make MOZ_GFX_TOOLKIT in Makefiles be the same thing that it is in configure. b=369409 r=vlad 2007-02-08 19:23:25 +00:00
masayuki%d-toybox.com 3bc55d798e Bug 364885 Calling ctx.putImageData() doesn't redraw. patch by KUROSAWA, Takeshi (taken) <taken.spc@gmail.com> r+sr=vlad 2007-02-08 13:44:34 +00:00
sharparrow1%yahoo.com 76a64e5c22 Bug 177805: Fix the use of units in Gecko. r+sr=roc 2007-02-07 07:46:44 +00:00
masayuki%d-toybox.com 3bc41a090f Bug 365886 Implement canvas transform() and setTransform(). patch by KUROSAWA, Takeshi (taken) <taken.spc@gmail.com> r=vlad 2007-02-03 12:27:49 +00:00
dbaron%dbaron.org 04ef2c5f05 Flush layout in subframes before doing a drawWindow. b=369146 r+sr=bzbarsky 2007-02-03 03:54:02 +00:00
vladimir%pobox.com 6e0645c64e b=360293, add helper macros for argument checking, r=dveditz 2006-11-27 22:22:47 +00:00
bzbarsky%mit.edu 5a8b3013c7 Fix leaks in thebes and canvas code due to nsIWidget and nsIRenderingContext
being badly documented and not using already_AddRefed when they should.  Bug
359341, r=pavlov, sr=roc
2006-11-13 21:31:53 +00:00
ted.mielczarek%gmail.com 6cbab69a1c bug 329593, canvas returned .fillStyle string doesn't follow the spec when it's in rgba notation. Patch by asqueella@gmail.com, r+sr=vlad 2006-10-14 19:37:59 +00:00
ted.mielczarek%gmail.com d7ff061324 bug 308928, Invalid input for the canvas fillStyle/strokeStyle throws an exception but should be ignored. Patch by asqueella@gmail.com, r+sr=vlad 2006-10-14 19:28:20 +00:00
martijn.martijn%gmail.com 9a434cde5d Bug 339824 - use nsContentUtils priv checks in canvas, r=vladimir, sr=roc 2006-10-12 14:38:35 +00:00
ajschult%verizon.net dfe56957ea Bug 355869: Make a copy to avoid accessing memory freed by AppendElement, r=vlad, sr=roc 2006-10-12 05:25:00 +00:00
vladimir%pobox.com 9670e36ea9 b=355216, signs of int overflow in GetImageData, r=mscott,jonas;a=schrep 2006-10-03 19:29:10 +00:00
mozilla%weilbacher.org 2547539439 [OS/2] Bug 351986: 2D canvases appear upside down on OS/2, r=vladimir, sr=roc 2006-09-30 09:02:57 +00:00
dveditz%cruzio.com 578219f4b6 Get out as early as possible if we know we're unconditionally setting writeOnly (bug 354127) r/sr=vlad, a=schrep 2006-09-27 08:43:25 +00:00
vladimir%pobox.com 90229df132 b=351296,351295,348351 int overflow in canvas GetImageData/PutImageData, r=biesi 2006-09-11 21:18:31 +00:00
vladimir%pobox.com cc89580ffb Undo accidentally commited '0 &&' clause 2006-09-11 19:14:38 +00:00
vladimir%pobox.com 0b0af5db8b b=348645, part of cocoa-cairo native theme stuff, just enough to get cairo builds working, r=me 2006-08-30 22:06:44 +00:00
vladimir%pobox.com daaf1fde19 b=338786, canvas broken on mac on trunk, r=pavlov 2006-08-18 19:29:06 +00:00
pavlov%pavlov.net 34966248fd speed up windows text rendering by avoiding using cairo when possible. also avoid save/restore dc when doing native themes. bug 342366. r=vlad 2006-08-09 20:25:07 +00:00
vladimir%pobox.com 9f4907fd39 b=346421, drawImage causes incorrect clipping; revert+bandaid, r=stuart 2006-08-04 17:59:50 +00:00
vladimir%pobox.com d4d4a24e4f bustage fix; I hate this function 2006-07-31 21:43:14 +00:00
vladimir%pobox.com f827a581e3 b=346421, canvas drawImage causes incorrect clipping/invalidation with CSS scaling, r=stuart 2006-07-31 21:05:59 +00:00
vladimir%pobox.com 25acec5406 b=346005, revert bug 296763 fix (remove implied moveTo from canvas beginPath), r=me 2006-07-27 21:56:35 +00:00
mozilla%weilbacher.org 42378d3c40 [OS/2] Bug 342644: Get SVG/Canvas working again on OS/2, r=tor, sr=mkaply 2006-07-24 23:28:29 +00:00
vladimir%pobox.com 4acc9c866f b=344914, more canvas getImageData GC rooting fun, r=mrbkap 2006-07-19 18:40:37 +00:00
vladimir%pobox.com 5e966bd8aa b=344914, potential crash caused by GetImageData, unrooted GC object used; r=mrbkap,sr=vlad, patch from bugzilla.20.scyt@spamgourmet.com 2006-07-18 19:13:17 +00:00
mark%moxienet.com 54d67eec04 338756 bustage fix, cocoa widgets 2006-06-15 20:20:31 +00:00
vladimir%pobox.com dd43bcf775 b=338786, fix canvas on mac, r=stuart 2006-06-15 17:43:49 +00:00
vladimir%pobox.com 94a2dfe7a9 b=341280, canvas getImageData needs to check for negative width/height, r=pavlov,a=vlad 2006-06-12 20:20:13 +00:00