91 Commits

Author SHA1 Message Date
asqueella%gmail.com
47ff12f4b6 Bug 375909 - nsCanvasRenderingContext2d incorrectly calculates some coordinates (has appunits * appunits, not appunits/appunits)
p=Jeremy Lea <reg@freebsd.org>
r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@225154 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-27 14:45:21 +00:00
sayrer%gmail.com
fa283ff7f0 bug 378336. nsCanvasRenderingContext2D::GetInputStream uses wrong allocator. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@224868 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-23 04:11:04 +00:00
pavlov%pavlov.net
ec3b1ee12c thebes API cleanup. bug 368910. r/sr=vlad
git-svn-id: svn://10.0.0.236/trunk@219765 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-08 20:47:48 +00:00
dbaron%dbaron.org
9a8473a71d Make MOZ_GFX_TOOLKIT in Makefiles be the same thing that it is in configure. b=369409 r=vlad
git-svn-id: svn://10.0.0.236/trunk@219739 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-08 19:23:25 +00:00
masayuki%d-toybox.com
09b3d8f5b5 Bug 364885 Calling ctx.putImageData() doesn't redraw. patch by KUROSAWA, Takeshi (taken) <taken.spc@gmail.com> r+sr=vlad
git-svn-id: svn://10.0.0.236/trunk@219701 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-08 13:44:34 +00:00
sharparrow1%yahoo.com
dd459d0a71 Bug 177805: Fix the use of units in Gecko. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@219640 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-07 07:46:44 +00:00
masayuki%d-toybox.com
4e1f6fefed Bug 365886 Implement canvas transform() and setTransform(). patch by KUROSAWA, Takeshi (taken) <taken.spc@gmail.com> r=vlad
git-svn-id: svn://10.0.0.236/trunk@219452 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-03 12:27:49 +00:00
dbaron%dbaron.org
4cdd6631fe Flush layout in subframes before doing a drawWindow. b=369146 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@219447 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-03 03:54:02 +00:00
vladimir%pobox.com
afd6abf2a8 b=360293, add helper macros for argument checking, r=dveditz
git-svn-id: svn://10.0.0.236/trunk@215907 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-27 22:22:47 +00:00
bzbarsky%mit.edu
6d5fc623cf 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


git-svn-id: svn://10.0.0.236/trunk@215224 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-13 21:31:53 +00:00
ted.mielczarek%gmail.com
366a6775da 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
git-svn-id: svn://10.0.0.236/trunk@213646 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-14 19:37:59 +00:00
ted.mielczarek%gmail.com
2493c7f2c3 bug 308928, Invalid input for the canvas fillStyle/strokeStyle throws an exception but should be ignored. Patch by asqueella@gmail.com, r+sr=vlad
git-svn-id: svn://10.0.0.236/trunk@213644 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-14 19:28:20 +00:00
martijn.martijn%gmail.com
8818a9197d Bug 339824 - use nsContentUtils priv checks in canvas, r=vladimir, sr=roc
git-svn-id: svn://10.0.0.236/trunk@213546 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-12 14:38:35 +00:00
ajschult%verizon.net
315ac32e29 Bug 355869: Make a copy to avoid accessing memory freed by AppendElement, r=vlad, sr=roc
git-svn-id: svn://10.0.0.236/trunk@213536 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-12 05:25:00 +00:00
vladimir%pobox.com
e3b74a5b85 b=355216, signs of int overflow in GetImageData, r=mscott,jonas;a=schrep
git-svn-id: svn://10.0.0.236/trunk@213075 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-03 19:29:10 +00:00
mozilla%weilbacher.org
708253f30c [OS/2] Bug 351986: 2D canvases appear upside down on OS/2, r=vladimir, sr=roc
git-svn-id: svn://10.0.0.236/trunk@212921 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-30 09:02:57 +00:00
dveditz%cruzio.com
fbcda0e82b Get out as early as possible if we know we're unconditionally setting writeOnly (bug 354127) r/sr=vlad, a=schrep
git-svn-id: svn://10.0.0.236/trunk@212453 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-27 08:43:25 +00:00
vladimir%pobox.com
6bb309b985 b=351296,351295,348351 int overflow in canvas GetImageData/PutImageData, r=biesi
git-svn-id: svn://10.0.0.236/trunk@209777 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-11 21:18:31 +00:00
vladimir%pobox.com
82804e51bc Undo accidentally commited '0 &&' clause
git-svn-id: svn://10.0.0.236/trunk@209753 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-11 19:14:38 +00:00
vladimir%pobox.com
132536f093 b=348645, part of cocoa-cairo native theme stuff, just enough to get cairo builds working, r=me
git-svn-id: svn://10.0.0.236/trunk@208854 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-30 22:06:44 +00:00
vladimir%pobox.com
0b32d61d40 b=338786, canvas broken on mac on trunk, r=pavlov
git-svn-id: svn://10.0.0.236/trunk@207856 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-18 19:29:06 +00:00
pavlov%pavlov.net
473b90ffc0 speed up windows text rendering by avoiding using cairo when possible. also avoid save/restore dc when doing native themes. bug 342366. r=vlad
git-svn-id: svn://10.0.0.236/trunk@207000 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-09 20:25:07 +00:00
vladimir%pobox.com
6fe64481e0 b=346421, drawImage causes incorrect clipping; revert+bandaid, r=stuart
git-svn-id: svn://10.0.0.236/trunk@206588 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-04 17:59:50 +00:00
vladimir%pobox.com
080c63ae39 bustage fix; I hate this function
git-svn-id: svn://10.0.0.236/trunk@206214 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-31 21:43:14 +00:00
vladimir%pobox.com
1a39805590 b=346421, canvas drawImage causes incorrect clipping/invalidation with CSS scaling, r=stuart
git-svn-id: svn://10.0.0.236/trunk@206207 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-31 21:05:59 +00:00
vladimir%pobox.com
4c1bbf6027 b=346005, revert bug 296763 fix (remove implied moveTo from canvas beginPath), r=me
git-svn-id: svn://10.0.0.236/trunk@204992 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-27 21:56:35 +00:00
mozilla%weilbacher.org
8ad365b534 [OS/2] Bug 342644: Get SVG/Canvas working again on OS/2, r=tor, sr=mkaply
git-svn-id: svn://10.0.0.236/trunk@203579 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-24 23:28:29 +00:00
vladimir%pobox.com
1cadb37bc6 b=344914, more canvas getImageData GC rooting fun, r=mrbkap
git-svn-id: svn://10.0.0.236/trunk@203134 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-19 18:40:37 +00:00
vladimir%pobox.com
8c2f643871 b=344914, potential crash caused by GetImageData, unrooted GC object used; r=mrbkap,sr=vlad, patch from bugzilla.20.scyt@spamgourmet.com
git-svn-id: svn://10.0.0.236/trunk@203005 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-18 19:13:17 +00:00
mark%moxienet.com
f35ed9bb81 338756 bustage fix, cocoa widgets
git-svn-id: svn://10.0.0.236/trunk@200029 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-15 20:20:31 +00:00
vladimir%pobox.com
a947a0d819 b=338786, fix canvas on mac, r=stuart
git-svn-id: svn://10.0.0.236/trunk@200000 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-15 17:43:49 +00:00
vladimir%pobox.com
200b9e197f b=341280, canvas getImageData needs to check for negative width/height, r=pavlov,a=vlad
git-svn-id: svn://10.0.0.236/trunk@199747 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-12 20:20:13 +00:00
vladimir%pobox.com
d0dc72ad91 remove 1.8 branch ifdefs; keeping in sync with 1.8 branch version of this file; r=me
git-svn-id: svn://10.0.0.236/trunk@198652 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-30 17:20:26 +00:00
peterv%propagandism.org
c8885ee158 Fixing compile error on OS X with 10.3.9 SDK. r=vlad.
git-svn-id: svn://10.0.0.236/trunk@198145 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-22 10:32:16 +00:00
vladimir%pobox.com
fab8ddf9b2 file parity with 1.8 branch
git-svn-id: svn://10.0.0.236/trunk@198096 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-20 21:20:03 +00:00
vladimir%pobox.com
10996f87e6 b=338477 - implement whatwg isPointInPath/getImageData/putImageData canvas API; b=338545, canvas doesn't fully reset on resize; r=mrbkap
git-svn-id: svn://10.0.0.236/trunk@198073 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-20 09:22:30 +00:00
brade%comcast.net
5dbbd333de Fix #defines for Intel Mac (BIG_ENDIAN/LITTLE_ENDIAN); bug 338062, r=vlad, sr=roc
git-svn-id: svn://10.0.0.236/trunk@198001 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-19 14:42:09 +00:00
vladimir%pobox.com
e2e571068c b=333613, misc canvas stuff for 1.8 branch, updating trunk for parity
git-svn-id: svn://10.0.0.236/trunk@196028 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-05 16:10:24 +00:00
vladimir%pobox.com
3e600c0213 fix bustage
git-svn-id: svn://10.0.0.236/trunk@195867 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-03 01:14:33 +00:00
vladimir%pobox.com
d58db833b5 b=336331, fix toDataURL to be more in line with the whatwg spec, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@195865 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-03 00:48:27 +00:00
bzbarsky%mit.edu
bf19ef708d Rename GetNodePrincipal to NodePrincipal. Bug 327246, r+sr=sicking
git-svn-id: svn://10.0.0.236/trunk@195579 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-27 18:21:11 +00:00
vladimir%pobox.com
71ec9bb100 fix more unsupported VC6 windows compiler junk for 333177
git-svn-id: svn://10.0.0.236/trunk@194642 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-18 23:33:51 +00:00
vladimir%pobox.com
648454fcb4 fix typo for non-cairo gtk2
git-svn-id: svn://10.0.0.236/trunk@194641 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-18 22:58:48 +00:00
vladimir%pobox.com
2cea2c4db1 fix unsupported VC6 windows compiler junk for 333177
git-svn-id: svn://10.0.0.236/trunk@194635 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-18 22:24:56 +00:00
vladimir%pobox.com
5b5a299cb2 fix non-cairo gtk/windows for 333177
git-svn-id: svn://10.0.0.236/trunk@194634 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-18 22:17:15 +00:00
vladimir%pobox.com
e4fb62c7d3 add missing mac glue bits for 333177
git-svn-id: svn://10.0.0.236/trunk@194630 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-18 21:41:42 +00:00
vladimir%pobox.com
e68c508dc4 b=333177, update canvas internal interfaces, optimize canvas, and fix some implementation bugs; r=stuart
git-svn-id: svn://10.0.0.236/trunk@194628 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-18 21:23:15 +00:00
bryner%brianryner.com
1de3fc0366 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.
git-svn-id: svn://10.0.0.236/trunk@192794 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-22 18:36:36 +00:00
roc+%cs.cmu.edu
89e8adfb1e Bug 293244. Secure <canvas> against cross-domain image stealing. r=vlad,sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@191545 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-02 00:44:01 +00:00
roc+%cs.cmu.edu
aed3235ae2 Bug 328541. Flush content and layout changes before drawWindow'ing a document. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@191338 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-27 21:14:29 +00:00