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

236 Коммитов

Автор SHA1 Сообщение Дата
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
vladimir%pobox.com 4ebd29cdbb remove 1.8 branch ifdefs; keeping in sync with 1.8 branch version of this file; r=me 2006-05-30 17:20:26 +00:00
peterv%propagandism.org bb51d8feee Fixing compile error on OS X with 10.3.9 SDK. r=vlad. 2006-05-22 10:32:16 +00:00
vladimir%pobox.com 43589d6be1 file parity with 1.8 branch 2006-05-20 21:20:03 +00:00
vladimir%pobox.com 0b34b77591 b=338477 - implement whatwg isPointInPath/getImageData/putImageData canvas API; b=338545, canvas doesn't fully reset on resize; r=mrbkap 2006-05-20 09:22:30 +00:00
brade%comcast.net 4a48a17812 Fix #defines for Intel Mac (BIG_ENDIAN/LITTLE_ENDIAN); bug 338062, r=vlad, sr=roc 2006-05-19 14:42:09 +00:00
vladimir%pobox.com afaf0e0ba8 b=333613, misc canvas stuff for 1.8 branch, updating trunk for parity 2006-05-05 16:10:24 +00:00
vladimir%pobox.com 303583ccbd fix bustage 2006-05-03 01:14:33 +00:00
vladimir%pobox.com df84d0046c b=336331, fix toDataURL to be more in line with the whatwg spec, r+sr=roc 2006-05-03 00:48:27 +00:00
bzbarsky%mit.edu 0c3706888c Rename GetNodePrincipal to NodePrincipal. Bug 327246, r+sr=sicking 2006-04-27 18:21:11 +00:00
vladimir%pobox.com bd98558d71 fix more unsupported VC6 windows compiler junk for 333177 2006-04-18 23:33:51 +00:00
vladimir%pobox.com 6300db4384 fix typo for non-cairo gtk2 2006-04-18 22:58:48 +00:00
vladimir%pobox.com c4f8644e1e fix unsupported VC6 windows compiler junk for 333177 2006-04-18 22:24:56 +00:00
vladimir%pobox.com d8de4487db fix non-cairo gtk/windows for 333177 2006-04-18 22:17:15 +00:00
vladimir%pobox.com feccd517d6 add missing mac glue bits for 333177 2006-04-18 21:41:42 +00:00
vladimir%pobox.com 5d02ec5b40 b=333177, update canvas internal interfaces, optimize canvas, and fix some implementation bugs; r=stuart 2006-04-18 21:23:15 +00:00
bryner%brianryner.com 7a96206e10 Clean up header includes (bug 331050). This round of changes deals with some of the public content headers, and factors nsDOMClassInfoID out of nsIDOMClassInfo.h so that nsContentUtils.h doesn't have to bring in XPConnect. r+sr=jst. 2006-03-22 18:36:36 +00:00
roc+%cs.cmu.edu 3e3e700faf Bug 293244. Secure <canvas> against cross-domain image stealing. r=vlad,sr=bzbarsky 2006-03-02 00:44:01 +00:00
roc+%cs.cmu.edu d86762b63e Bug 328541. Flush content and layout changes before drawWindow'ing a document. r+sr=bzbarsky 2006-02-27 21:14:29 +00:00
mcs%pearlcrescent.com 12affbdeeb Bug 323088 - RGB values slightly off in canvas after drawWindow().
Use a table indexed by bit depth to provide a better "scale factor" when
  copying pixels from native surfaces to the canvas.
  Patch by roc, r=vladimir, sr=shaver.
2006-02-03 21:59:37 +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
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
vladimir%pobox.com 5c9d7f0b52 b=322215, fix up canvas drawWindow temporary sizing 2006-01-05 22:59:56 +00:00
vladimir%pobox.com 2070767e5b b=296907, canvas stroke/fill/clip shoudln't destroy current path, r=stuart 2006-01-04 22:08:52 +00:00
vladimir%pobox.com 7d3cdacece b=319380, fix canvas quadraticCurveTo to actually do the right thing, r=stuart 2006-01-04 22:05:47 +00:00
jst%mozilla.jstenback.com 8f1863159b Fixing bug 316794. Moving HandleDOMEvent() and Get/SetDocShell from nsIScriptGlobalObject to nsPIDOMWindow. r=mrbkap@gmail.com, sr=peterv@propagandism.org 2005-11-28 23:56:44 +00:00
timeless%mozdev.org 1c34e68034 Bug 106386 Correct misspellings in source code
patch by mats.palmgren@bredband.net r=dbaron sr=dbaron
2005-11-20 22:05:24 +00:00
bsmedberg%covad.net 78f6d0683d Bug 313309 part 2 - change the NS_DEFINE_STATIC_IID_ACCESSOR macro to NS_DECLARE, and make a NS_DEFINE_ macro that's outside the class declaration, r=shaver 2005-11-11 14:36:26 +00:00
vladimir%pobox.com 687455ce85 b=313372, fix canvas save/restore not saving/restoring styles, r=pavlov 2005-10-31 21:09:22 +00:00
jst%mozilla.jstenback.com 8904f8f459 Landing fix for bug 311143, patch by jeffh@activestate.com. Make the canvas code linkable with Sun's linker. r=vladimir@pobox.com, sr=jst@mozilla.com 2005-10-17 23:39:20 +00:00
vladimir%pobox.com 384bd6c7e8 b=306752, canvas drawimage clips image instead of positioning at right x/y, r=tor 2005-10-11 18:32:03 +00:00
bzbarsky%mit.edu 2f7adcd2cf Do less string-copying when getting an nsAString out of a wsting variant. Bug
311485, r=vladimir, sr=darin
2005-10-07 22:39:10 +00:00
vladimir%pobox.com 91290f814b b=306881, fix canvas pattern repeat, r=stuart 2005-09-02 21:16:22 +00:00
pavlov%pavlov.net 2844aa2ba0 adding support for toDataURL and toDataURLAs on canvas. bug 245684. patches from Brett Wilson <brettw@gmail.com>. r=me, sr=vlad 2005-08-31 22:16:51 +00:00
roc+%cs.cmu.edu 93d08d4477 Bug 305483. Make --enable-system-cairo work with --enable-canvas. r+sr=roc, patch by Mike Hommey 2005-08-22 22:45:07 +00:00
vladimir%pobox.com 914cd1b9bd b=298743, fix drawWindow on OSX, r=pavlov,a=bsmedberg 2005-07-27 15:39:33 +00:00
roc+%cs.cmu.edu ba0eb45c1a Bug 296838. Rework drawWindow a bit so it draws fixed-position elements. r/rs=dbaron,a=asa 2005-07-19 23:24:30 +00:00
vladimir%pobox.com 1a594dcab9 b=296388, drawWindow with null window should give more informative error message, r=vladimir,a=bsmedberg 2005-06-25 03:05:41 +00:00
roc+%cs.cmu.edu 17da1f0409 Backing out fix for bug 296838 to see how it's hurting Tp 2005-06-23 00:17:45 +00:00
roc+%cs.cmu.edu 53259eb945 Bug 296838. Allow drawWindow to draw fixed-position elements. rubberstamp r+sr=dbaron,a=chofmann 2005-06-21 04:07:04 +00:00
vladimir%pobox.com d7a8a29593 b=296311, cannot use drawWindow with enablePrivelige; b=296697, drawWindow busted; r=pav,a=shaver 2005-06-06 06:46:53 +00:00
vladimir%pobox.com 02bc2a2809 b=296463, upgrade to cairo 0.5.0, s+sr=roc,pav,tor 2005-06-04 07:03:29 +00:00
cbiesinger%web.de 3e0fbf96b8 Bug 296457 fixing reversed null check in DrawNativeSurfaces
r+sr=shaver a=chofmann
2005-06-02 23:01:52 +00:00
vladimir%pobox.com e3bfb58cb2 b=295302, canvas drawImage fix, and gtk crash fix, r=pavlov,a=chofmann 2005-05-31 18:38:27 +00:00
pavlov%pavlov.net 7eb98f8a3d fixing crash in canvas when calling restore() without save(). bug 294784. r=vlad a=shaver 2005-05-20 15:26:54 +00:00
roc+%cs.cmu.edu 8f12f192b0 Fixing bustage. 2005-05-19 21:57:10 +00:00
roc+%cs.cmu.edu abefc4f884 Bug 293947. Add canvas API to render a DOM window to the canvas, including transparency support. r=vlad,sr=darin,a=asa 2005-05-19 21:28:58 +00:00
vladimir%pobox.com 72b760f1ad b=294400, fix mac image handling; 293221, default canvas values; 294572, mac image rendering issues. r+a=shaver 2005-05-18 03:58:01 +00:00
vladimir%pobox.com f83cae50a2 b=294134, fix canvas premultiplied alpha handling, r=pavlov 2005-05-14 08:31:23 +00:00
vladimir%pobox.com 0b6a9e70f8 b=293267, fix canvas rendering speed, r+sr=bz,a=shaver 2005-05-12 21:34:56 +00:00
tor%cs.brown.edu 1a8f106a62 Bug 293265 - rename --enable-cairo to --enable-canvas. r=bsmedberg, a=asa 2005-05-11 23:49:52 +00:00
vladimir%pobox.com 63a34084c8 b=293407, canvas uses wrong frame type; 293306, canvas leaks memory; 293225, default canvas height should be 150, r+sr=bzbarsky,a=shaver 2005-05-10 00:28:30 +00:00
pavlov%pavlov.net 0d5fdd4b30 fixing drawImage bustage on windows with bgr_a8 images r=vlad a=brendan 2005-05-08 01:33:33 +00:00
vladimir%pobox.com 2bb38d2cd5 tiny fix for windows rgb order for canvas, r=pavlov 2005-05-08 01:29:31 +00:00
pavlov%pavlov.net 65501d2d84 fixing clearRect to actually clear r=vlad a=brendan 2005-04-20 01:59:51 +00:00
vladimir%pobox.com 0971df3813 b=291049, add patterns and gradients to canvas, r=pav,a=brendan 2005-04-20 00:00:23 +00:00
bryner%brianryner.com 91b549d294 Make --enable-cairo work for windows/msvc by switching it over to our build system. Bug 290518, r=vlad, pavlov. 2005-04-19 17:19:47 +00:00
vladimir%pobox.com 71913d7675 = 0 for pure virtaul methods on interface 2005-04-18 09:00:11 +00:00
vladimir%pobox.com 71f13a5600 missed on checkin; avoid refcount leak for mCanvasElement 2005-04-18 08:34:02 +00:00
vladimir%pobox.com f7b58dab46 canvas horkage fix 2005-04-18 07:04:49 +00:00
vladimir%pobox.com 057ce06bb3 b=288714, html canvas implementation, r=various,a=brendan 2005-04-18 06:33:23 +00:00