153 Commits

Author SHA1 Message Date
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
roc+%cs.cmu.edu
55544718d6 Bug 296838. Allow drawWindow to draw fixed-position elements. rubberstamp r+sr=dbaron,a=chofmann
git-svn-id: svn://10.0.0.236/trunk@174925 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-21 04:07:04 +00:00
vladimir%pobox.com
877e911b12 b=296311, cannot use drawWindow with enablePrivelige; b=296697, drawWindow busted; r=pav,a=shaver
git-svn-id: svn://10.0.0.236/trunk@174163 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-06 06:46:53 +00:00
vladimir%pobox.com
40f5f27f1f b=296463, upgrade to cairo 0.5.0, s+sr=roc,pav,tor
git-svn-id: svn://10.0.0.236/trunk@174142 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-04 07:03:29 +00:00
cbiesinger%web.de
7b2cd7cde8 Bug 296457 fixing reversed null check in DrawNativeSurfaces
r+sr=shaver a=chofmann


git-svn-id: svn://10.0.0.236/trunk@174090 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-02 23:01:52 +00:00
vladimir%pobox.com
190d81d1af b=295302, canvas drawImage fix, and gtk crash fix, r=pavlov,a=chofmann
git-svn-id: svn://10.0.0.236/trunk@173849 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-31 18:38:27 +00:00
pavlov%pavlov.net
aee41577be fixing crash in canvas when calling restore() without save(). bug 294784. r=vlad a=shaver
git-svn-id: svn://10.0.0.236/trunk@173630 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-20 15:26:54 +00:00
roc+%cs.cmu.edu
ca943742c0 Fixing bustage.
git-svn-id: svn://10.0.0.236/trunk@173609 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-19 21:57:10 +00:00
roc+%cs.cmu.edu
d3ebd1725b Bug 293947. Add canvas API to render a DOM window to the canvas, including transparency support. r=vlad,sr=darin,a=asa
git-svn-id: svn://10.0.0.236/trunk@173605 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-19 21:28:58 +00:00
vladimir%pobox.com
95a4ea2120 b=294400, fix mac image handling; 293221, default canvas values; 294572, mac image rendering issues. r+a=shaver
git-svn-id: svn://10.0.0.236/trunk@173535 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-18 03:58:01 +00:00
vladimir%pobox.com
2f0ce9216d b=294134, fix canvas premultiplied alpha handling, r=pavlov
git-svn-id: svn://10.0.0.236/trunk@173447 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-14 08:31:23 +00:00
vladimir%pobox.com
d402e4cb98 b=293267, fix canvas rendering speed, r+sr=bz,a=shaver
git-svn-id: svn://10.0.0.236/trunk@173353 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-12 21:34:56 +00:00
tor%cs.brown.edu
df6c4f3e7b Bug 293265 - rename --enable-cairo to --enable-canvas. r=bsmedberg, a=asa
git-svn-id: svn://10.0.0.236/trunk@173300 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-11 23:49:52 +00:00
vladimir%pobox.com
8ed9af21f3 b=293407, canvas uses wrong frame type; 293306, canvas leaks memory; 293225, default canvas height should be 150, r+sr=bzbarsky,a=shaver
git-svn-id: svn://10.0.0.236/trunk@173239 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-10 00:28:30 +00:00
pavlov%pavlov.net
8e941e72b8 fixing drawImage bustage on windows with bgr_a8 images r=vlad a=brendan
git-svn-id: svn://10.0.0.236/trunk@173180 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-08 01:33:33 +00:00
vladimir%pobox.com
1a7c87875a tiny fix for windows rgb order for canvas, r=pavlov
git-svn-id: svn://10.0.0.236/trunk@173179 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-08 01:29:31 +00:00
pavlov%pavlov.net
e0d9fc95ca fixing clearRect to actually clear r=vlad a=brendan
git-svn-id: svn://10.0.0.236/trunk@172474 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-20 01:59:51 +00:00
vladimir%pobox.com
195de63a17 b=291049, add patterns and gradients to canvas, r=pav,a=brendan
git-svn-id: svn://10.0.0.236/trunk@172465 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-20 00:00:23 +00:00
bryner%brianryner.com
2be7b05eab Make --enable-cairo work for windows/msvc by switching it over to our build system. Bug 290518, r=vlad, pavlov.
git-svn-id: svn://10.0.0.236/trunk@172439 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-19 17:19:47 +00:00
vladimir%pobox.com
14506c660a = 0 for pure virtaul methods on interface
git-svn-id: svn://10.0.0.236/trunk@172393 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-18 09:00:11 +00:00