Commit Graph

74 Commits

Author SHA1 Message Date
L. David Baron
f8774a93ef Implement CSS computation of font-stretch property and store it in the gfx font structures. (Bug 3512) r=vlad sr=bzbarsky 2009-01-29 12:39:18 -08:00
Robert O'Callahan
4659c94f44 Bug 472244. Flush out MozAfterPaint for previously painted areas before we go ahead and fire MozReftestInvalidate to test invalidation. Also make canvas.drawWindow take float parameters so we can more precisely specify the area to render when 'device pixels' don't match CSS pixel boundaries. r=dbaron,vlad 2009-01-07 21:31:36 +13:00
Stuart Parmenter
91c3580bb5 bug 458373. Allow you to pass in a flag to drawWindow to show the caret. patch from roc. r=me 2008-12-12 02:50:31 -08:00
Martin Stránský
bbe42c7104 b=403513 bad kerning in print output if hinting is set to medium or full r=karlt sr=vlad 2008-12-17 16:17:50 +13:00
Karl Tomlinson
5286ba753b backout b=403513 due to compile error in gfxFontSelectionTest.cpp 2008-12-17 13:57:40 +13:00
Martin Stránský
12cfd5e1c9 b=403513 bad kerning in print output if hinting is set to medium or full r=karlt sr=vlad 2008-12-17 13:44:32 +13:00
Michael Ventnor
e758b80cd9 Bug 468018 - Optimize box-shadow rendering even further by doing more intersections; r=vladimir 2008-12-06 19:54:36 +01:00
Markus Stange
6ea716947b Bug 459796 - fixing unit test orange, r+sr=roc 2008-10-14 11:29:53 +02:00
Stuart Parmenter
e8fef4bbbc bug 459796. Add optional flags to drawWindow to allow finer control. r=vlad 2008-10-13 23:29:30 -07:00
John Daggett
c5d2a8ddfd Bug 441473. Implement user font set object. r+sr=roc 2008-10-01 12:01:53 +09:00
Taras Glek
da36423743 s/if NS_FAILED(rv)/if(NS_FAILED(rv)/ sr=roc 2008-09-25 18:44:05 -07:00
Vladimir Vukicevic
4f48417c20 b=310682, add support for shadows in HTML Canvas; patch from Eric Bulter; r=vlad 2008-09-25 12:53:52 -07:00
Arpad Borsos
cce478d087 Bug 454482 - Clean up unused variables in content/; r+sr=peterv 2008-09-24 06:37:56 +02:00
Vladimir Vukicevic
787a337e0f b=451938; ensure correct principal is used in case of <video> and drawImage; r=bz 2008-09-06 16:47:28 -07:00
Vladimir Vukicevic
02676ae0e7 b=417836, canvas throws when accessing img with data URL; r=bz 2008-09-06 16:45:57 -07:00
Vladimir Vukicevic
ff1ee85956 b=433004, support nsICanvasRenderingContext2D.createImageData; r+sr=roc 2008-09-02 10:52:22 -07:00
Robert Sayre
791b10e1b4 Bug 451669. Bustage fix for linux canvas build. Patch by Mike Kaplinskiy. r/sr=jst. 2008-08-22 02:23:29 -04:00
Vladimir Vukicevic
4c7d579514 b=451242, use fast-paths for dense array to uint conversion in canvas 2008-08-20 14:47:10 -07:00
Vladimir Vukicevic
79428ea86d b=448674; Allow video to be used as source in canvas drawImage; r=cdouble,sr=roc 2008-08-18 12:40:11 -07:00
Eric Butler
727ad67606 Avoid unnecessary InvalidateFrame calls from CanvasRenderingContext2D - bug 447836 r=vlad 2008-08-04 10:38:09 -07:00
Eric Butler
2f6c10b076 Convert canvas to Thebes - bug 306801 r=vlad 2008-07-23 10:50:03 -07:00
Eric Butler
0814facc93 Canvas routines draw right-to-left text backwards - bug 402276 r=smontagu sr=roc 2008-07-18 11:29:06 -07:00
Vladimir Vukicevic
d9cab3cefd 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)
e6e9681ac7 Bug 442113 - Canvas text size depends on browser text zoom r=vlad 2008-07-03 15:02:50 -07:00
Eric Butler
f26f520a44 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
c0d334f20b Canvas text spec implementation (bug 436904) 2008-06-10 16:16:59 -07:00
Vladimir Vukicevic
c8def3e75f b=430906; add moz-opaque attribute to <canvas>; r+sr=roc 2008-06-03 17:00:32 -07:00
vladimir@pobox.com
8b63862466 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
5aa41247ac back out bug 430873 to fix test failures 2008-04-29 07:43:35 -07:00
vladimir@pobox.com
2bb71e0b94 test failure fix 2008-04-28 21:57:21 -07:00
vladimir@pobox.com
7ae1a599b7 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
52cd288b99 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
gavin@gavinsharp.com
a2dcb83701 Bug 421715: canvas crash passing undefined to putImageData, r+a=vlad 2008-03-10 00:35:37 -07:00
vladimir@pobox.com
81c9e62f3f typo fix 2008-03-06 14:03:55 -08:00
vladimir@pobox.com
134de18d19 b=419718, extend canvas checks, r=stuart 2008-03-06 11:56:47 -08:00
vladimir@pobox.com
104f6a38a1 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
ef664eb10c 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
vladimir@pobox.com
73e275efe0 b=414511, misc canvas code cleanup, r=stuart 2008-02-13 22:53:25 -08:00
vladimir@pobox.com
f71ebdf92a b=406334, crash in canvas drawWindow ; r=roc 2008-02-13 22:51:33 -08:00
reed@reedloden.com
24fbf5fb3f 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
171889e6bc 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
vladimir@pobox.com
eba38c1a3e b=406036, canvas cleanup, r=stuart 2008-01-18 13:53:28 -08:00
benjamin@smedbergs.us
dfc4cee45d Bug 411327 - nsIXPCNativeCallContext should not inherit from nsISupports, r=mrbkap, a=schrep 2008-01-15 07:50:57 -08:00
reed@reedloden.com
897c1f4d63 Add missing bracket to fix my bustage. 2007-12-24 20:20:45 -08:00
reed@reedloden.com
0e844cf7fd 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
76d0d01daa 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
bzbarsky@mit.edu
e7ac26eca2 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
ce49a25917 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
c03c5d7b82 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
d69579e8aa Backout patch from bug 389366 because it does not have M9 approval. 2007-10-23 18:09:21 -07:00