72 Commits

Author SHA1 Message Date
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
mcs%pearlcrescent.com
0a45e66e76 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.


git-svn-id: svn://10.0.0.236/trunk@188890 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-03 21:59:37 +00:00
roc+%cs.cmu.edu
df8627e29b 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
git-svn-id: svn://10.0.0.236/trunk@188202 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-26 02:29:17 +00:00
cbiesinger%web.de
e9c2a1f98c bug 323551 make the in-tree cairo compile on beos (if a system-installed
freetype and fontconfig is present)
r=bsmedberg,vlad


git-svn-id: svn://10.0.0.236/trunk@187969 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-21 15:58:24 +00:00
vladimir%pobox.com
00a55347d1 b=322215, fix up canvas drawWindow temporary sizing
git-svn-id: svn://10.0.0.236/trunk@187029 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-05 22:59:56 +00:00
vladimir%pobox.com
4dc23279dd b=296907, canvas stroke/fill/clip shoudln't destroy current path, r=stuart
git-svn-id: svn://10.0.0.236/trunk@186948 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-04 22:08:52 +00:00
vladimir%pobox.com
d2dfb023b3 b=319380, fix canvas quadraticCurveTo to actually do the right thing, r=stuart
git-svn-id: svn://10.0.0.236/trunk@186947 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-04 22:05:47 +00:00
jst%mozilla.jstenback.com
895df6e6ca Fixing bug 316794. Moving HandleDOMEvent() and Get/SetDocShell from nsIScriptGlobalObject to nsPIDOMWindow. r=mrbkap@gmail.com, sr=peterv@propagandism.org
git-svn-id: svn://10.0.0.236/trunk@185351 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-28 23:56:44 +00:00
timeless%mozdev.org
a05383ef1b Bug 106386 Correct misspellings in source code
patch by mats.palmgren@bredband.net r=dbaron sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@185018 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-20 22:05:24 +00:00
bsmedberg%covad.net
0217e2f9a9 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
git-svn-id: svn://10.0.0.236/trunk@184456 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-11 14:36:26 +00:00
vladimir%pobox.com
fb23658dcb b=313372, fix canvas save/restore not saving/restoring styles, r=pavlov
git-svn-id: svn://10.0.0.236/trunk@183287 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-31 21:09:22 +00:00
jst%mozilla.jstenback.com
e393b7bea4 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
git-svn-id: svn://10.0.0.236/trunk@182427 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-17 23:39:20 +00:00
vladimir%pobox.com
eae7b1174f b=306752, canvas drawimage clips image instead of positioning at right x/y, r=tor
git-svn-id: svn://10.0.0.236/trunk@181998 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-11 18:32:03 +00:00
bzbarsky%mit.edu
7d0f020fe0 Do less string-copying when getting an nsAString out of a wsting variant. Bug
311485, r=vladimir, sr=darin


git-svn-id: svn://10.0.0.236/trunk@181796 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-07 22:39:10 +00:00
vladimir%pobox.com
3a56a7a80e b=306881, fix canvas pattern repeat, r=stuart
git-svn-id: svn://10.0.0.236/trunk@179576 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-02 21:16:22 +00:00
pavlov%pavlov.net
f576800073 adding support for toDataURL and toDataURLAs on canvas. bug 245684. patches from Brett Wilson <brettw@gmail.com>. r=me, sr=vlad
git-svn-id: svn://10.0.0.236/trunk@179437 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-31 22:16:51 +00:00
roc+%cs.cmu.edu
bdbfbc803b Bug 305483. Make --enable-system-cairo work with --enable-canvas. r+sr=roc, patch by Mike Hommey
git-svn-id: svn://10.0.0.236/trunk@178644 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-22 22:45:07 +00:00
vladimir%pobox.com
2e45cb4d0d b=298743, fix drawWindow on OSX, r=pavlov,a=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@176671 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-27 15:39:33 +00:00
roc+%cs.cmu.edu
6b841d815c Bug 296838. Rework drawWindow a bit so it draws fixed-position elements. r/rs=dbaron,a=asa
git-svn-id: svn://10.0.0.236/trunk@176295 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-19 23:24:30 +00:00
vladimir%pobox.com
de8a9b7dd7 b=296388, drawWindow with null window should give more informative error message, r=vladimir,a=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@175136 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-25 03:05:41 +00:00
roc+%cs.cmu.edu
d3fc9c1d9c Backing out fix for bug 296838 to see how it's hurting Tp
git-svn-id: svn://10.0.0.236/trunk@175026 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-23 00:17:45 +00:00