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

512 Коммитов

Автор SHA1 Сообщение Дата
Benjamin Smedberg d74c6776f3 Merge mozilla-central into electrolysis. 2009-11-19 12:41:46 -05:00
Vladimir Vukicevic bed4dfb822 b=525673; not repainting correctly on canvas animation; r=roc 2009-11-18 12:55:59 -08:00
Mark Steele 79ccfdf219 b=526185, [webgl] accept WebGLArrays instead of JS arrays in texImage2D; r=vlad 2009-11-18 12:42:35 -08:00
Mark Steele e79156ed76 b=526017, [webgl] collapse state query calls; r=vlad 2009-11-18 12:42:35 -08:00
L. David Baron 10f147165d Call RuleMatched method on CSS rules when they are matched. (Bug 522595) r=bzbarsky 2009-12-11 08:13:19 -08:00
Boris Zbarsky 5132d64872 Bug 525608 part 3. Change all style set consumers that ask for a pseudo style context to indicate what they're actually asking for (pseudo-element, anonymous box, or xul tree thing). r=dbaron 2009-12-11 02:37:40 -05:00
Boris Zbarsky 8202b90f61 Backing out bug 525608 and bug 525952 2009-12-10 18:28:08 -08:00
Boris Zbarsky 6eb3c28de7 Bug 525608 part 3. Change all style set consumers that ask for a pseudo style context to indicate what they're actually asking for (pseudo-element, anonymous box, or xul tree thing). r=dbaron 2009-12-10 14:36:05 -08:00
Benjamin Smedberg 1d97bbb36a Merge from mozilla-central. 2009-11-06 09:54:28 -05:00
Chris Jones 649b4bf497 bug 525677: shuffle some headers to appease gcc 4.2. IRC r=fred23,bsmedberg 2009-11-04 23:11:33 -06:00
Benjamin Smedberg be1e4c0ce6 Bug 523224 - nsFrameLoader::TryNewProcess crashes if reflow hasn't happened yet and created a view for our remote tab. Fix this by separating the process of creating the IFrameEmbedding and hooking up the view. IFrameEmbedding creation is analogous to creating a docshell, and we can hook up the view/widget hierarchy later.
* * *
imported patch fennelectrolysis-workihng
2009-10-28 16:41:46 -04:00
Benjamin Smedberg cfa536b0fc Bug 525106 - Make WebGL compile with UNCODE defined or not-defined by using explicit W annotations on the relevant functions/structs, r?vlad 2009-10-29 14:48:21 -04:00
Joe Drew 84e878a14d Bug 505847 - Implement asyncDrawXULElement in 2D canvas. r=bz,bsmedberg 2009-10-29 13:58:31 -04:00
Joe Drew 7149d45ce5 Back out asyncDrawXULElement, since WebGL isn't ready to be compiled with -DUNICODE. 2009-10-28 18:51:59 -04:00
Joe Drew f5785e49ae Missed one nsresult->bool fix. 2009-10-28 17:29:12 -04:00
Joe Drew 01ee7a737c Bug 505847 - Fix non-MOZ_IPC builds. 2009-10-28 17:27:28 -04:00
Joe Drew 2d91956179 Bug 505847 - Implement asyncDrawXULElement in 2D canvas. r=bz,bsmedberg 2009-10-28 16:55:49 -04:00
Mike Kristoffersen 6489e49105 Bug 526304 - White spaces at EOL in nsCanvasRenderingContext2D.cpp. r=vlad 2009-11-05 14:54:35 +01:00
Daniel Holbert 46777d7320 Bug 526423: Remove unused variables in WebGLContextValidate.cpp to fix build warning. r=mwsteele 2009-12-10 09:26:27 -08:00
mwsteele@gmail.com 7712877b10 b=528013; [webgl] BindFramebuffer checking target against wrong constants; r=vlad 2009-12-07 15:10:04 -08:00
Vladimir Vukicevic 31637c44b8 [webgl] revert part of previous commit, exposes strange latent bug 2009-12-06 19:29:17 -08:00
Vladimir Vukicevic 7e80dba7f5 b=523959; [webgl] enable WebGL with EGL on Maemo and WinCE; r=stuart 2009-12-06 16:07:58 -08:00
Vladimir Vukicevic cde2129b6e b=532541; [webgl] drawElements needs to support ubyte as well as ushort index arrays; r=mwsteele 2009-12-06 16:07:56 -08:00
Jim Blandy c0634bd24a Bug 517566: Enable WebGL in configure.in, and check for requisite headers. r=vladimir,r=dbaron 2009-10-27 09:05:51 -07:00
Vladimir Vukicevic 1bf90fb035 b=542336; webgl texImage2D broken due to overzealous argc checking (regression from bug 533663); r=jrmuizel 2010-01-26 14:23:49 -08:00
Benjamin Smedberg 698078cb35 Bug 525106 - Make WebGL compile with UNCODE defined or not-defined by using explicit W annotations on the relevant functions/structs, r=vlad
--HG--
extra : rebase_source : 4a1092dc67cc0f9a2c93cf2564ac5fd1e49a8bc8
2009-11-11 14:25:42 -05:00
Mark Steele 8b8423f08c b=524042, [webgl] texImage & texSubImage need to support flipY, r=vlad 2009-11-01 16:33:47 -08:00
Vladimir Vukicevic 88afa1cc2e [webgl] Reland earlier-backed out patches, b=520708, b=520920, b=522201; r=me/mwsteele 2009-11-01 16:33:39 -08:00
Vladimir Vukicevic 51345f632c Revert previous commits due to weird talos crash. 2009-10-30 01:09:24 -07:00
Vladimir Vukicevic 098c751ef8 fix type bustage 2009-10-29 23:47:51 -07:00
Mark Steele 2b7ac4bef0 b=522201, [webgl] clear() doesn't call invalidate correctly, r=vlad 2009-10-29 23:01:06 -07:00
Mark Steele faba10a353 b=520708, [webgl] crash at WebGLFramebuffer assignment, r=vlad 2009-10-29 23:01:06 -07:00
Vladimir Vukicevic 2d08f47eda b=520920, update webgl arrays to support views, part2; r=mark 2009-10-29 23:01:06 -07:00
Mark Steele 25a885d652 b=520920, update WebGL arrays to support views, r=vlad 2009-10-29 23:01:06 -07:00
Serge Gautherie fe65b9df27 Backed out changeset: b3d6a8724029 of
Bug 544099 - Allow shadow blurring to skip areas where blurring is unnecessary; Patch 3.1.
which breaks comm-central.
2010-02-04 20:55:10 +01:00
Michael Ventnor 9be7ff6cd7 Bug 544099 - Allow shadow blurring to skip areas where blurring is unnecessary; Patch 3.1.
r=roc.
2010-02-04 19:15:03 +01:00
Dão Gottwald a6c411fa84 Backed out changeset 8c2e7ae5cceb because of test_bug398289.html failure 2010-02-04 17:16:39 +01:00
Michael Ventnor 50f557ed9e Bug 542361 - Fix and remove the GetUsedX assertions. r=roc,dbaron 2010-02-04 14:58:02 +01:00
Robert O'Callahan 3b00ef4ce7 Bug 366283. Enable canvas tests for correct compositing operators. 2010-01-07 13:55:08 +13:00
Robert O'Callahan 649b10149a Bug 366283. Make canvas 'copy' operator behave as unbounded by clearing the surface before we render the source. r=jrmuizel 2010-01-07 13:55:08 +13:00
Robert O'Callahan 9c2e96cab0 Bug 366283. Enable/disable shadows correctly as per spec. r=jrmuizel 2010-01-07 13:55:08 +13:00
Johnny Stenback ac45fe56aa Part 2 of fix for bug 459452 (Add support for optional arg count for IDL methods): use [optional_argc] for DOM methods. r=peterv.
--HG--
extra : rebase_source : c0bc25842b2645fe9f42c9ed5d57567f8e6b5279
2009-08-10 16:41:12 +02:00
Boris Zbarsky e01ef79431 Bug 497794. Don't allocate two copies of the image data when doing GetImageData/CreateImageData, just to throw one away immediately. r=robarnold,jwalden 2009-10-26 16:57:41 -04:00
Olli Pettay 804758d645 Bug 521608 - nsCanvasRenderingContext2D::GetPresShell may crash or leak, r=vlad, sr=jst 2009-10-24 18:02:26 +03:00
Daniel Holbert cba4e7fdab Bug 518894: Remove unused variable 'argPixelsLen' in WebGLContextGL.cpp. r=vlad 2009-10-19 16:57:50 -07:00
Vladimir Vukicevic 3255a6f7bb b=523229; WebGL rename clearDepthf/depthRangef to get rid of f suffix; r=mwsteele 2009-10-19 15:14:09 -07:00
Saint Wesonga e3c12a40d1 Bug 467988 - delete unused test files after speeding up canvas mochitests, r=roc 2009-10-17 18:19:26 -07:00
Peter Van der Beken 0927783cce Back out changeset aa4791e4dad9 (Bug 529386 - optimize canvas.width = canvas.width) to fix orange. 2010-01-14 12:59:53 +01:00
Saint Wesonga bee00f60ec Bug 529386 - optimize canvas.width = canvas.width. r=vlad 2010-01-14 11:45:57 +01:00
Ms2ger@gmail.com 91560b026e Bug 538362 - rename nsIDocument::GetPrimaryShell to nsIDocument::GetShell. r=smaug 2010-06-25 15:59:57 +02:00
Benjamin Smedberg c827f3a584 Electrolysis-plugin-only bookkeeping commit. 2009-12-15 20:33:05 -05:00
Boris Zbarsky 0466fc87f5 Bug 562688 part 13. Eliminate eELEMENT usage in layout/style, except the rule processor. r=dbaron 2010-04-30 09:12:06 -04:00
Vladimir Vukicevic d77c194467 bustage fix for webgl-disabled builds 2010-06-02 14:05:24 -07:00
Benoit Jacob 52baf42be7 b=567449; fix webgl param getters; r=vlad 2010-06-01 23:09:19 -07:00
Benoit Jacob 4268806ff0 b=565404; add WebGLUniformLocation object; r=vlad 2010-06-01 23:09:19 -07:00
Benoit Jacob 723eb61a5d b=567565; better WebGL buffer validation for element array buffers; r=vlad 2010-06-01 23:09:18 -07:00
Vladimir Vukicevic 8d6816b2c9 b=568526 (related); add env var for switching 2d canvas to image surfaces; r=bz 2010-05-28 21:13:08 -07:00
Vladimir Vukicevic 3592754105 b=520136; clear canvaselement member on SetCanvasElement; r=joe 2010-05-28 16:41:02 -07:00
Vladimir Vukicevic 79688aa1e8 b=551771; WebGL calls broken with boolean args in loop (qsgen octet handling); also rename all WebGL types to avoid conflicts with system GL types; r=jorendroff,joe 2010-05-28 15:52:39 -07:00
Benoit Jacob cc2978a0dd b=525538; webgl readPixels fix; r=vlad 2010-05-26 16:53:15 -07:00
Rob Arnold f7679e8fd8 Bug 508860 - Crash [@ nsCanvasRenderingContext2D::InitializeWithSurface]
r=vladimir
2009-09-21 18:19:24 +02:00
Mark Steele fb27339c8b b=517717; fix up webGL array compat (rename WebGL*Array->Canvas); r=vlad 2009-09-20 14:33:40 -07:00
Mark Steele 593d29892b b=517717; fix up webgl impl array args, accept Canvas*Arrays as valid params; r=vlad 2009-09-20 12:05:25 -07:00
Vladimir Vukicevic 56b5a74b14 b=517729; rename more canvas3d prefs to webgl; r=mwsteele 2009-09-20 12:05:23 -07:00
Phil Ringnalda 6fce97e58d Bug 495228 - Remove checks for mac MOZ_WIDGET_TOOLKIT, r=ted 2009-09-18 19:59:53 -07:00
Olli Pettay b0aa205e61 b=516213; followup fix for older linux systems; r=vlad 2009-09-18 16:53:27 -07:00
Vladimir Vukicevic c22b30a65c b=517559; remove runtime (startup) dependency on opengl32.dll, to fix Ts; r=mwsteele 2009-09-18 16:48:36 -07:00
Vladimir Vukicevic d023bfc631 b=517557; remove --enable-canvas; r=ted 2009-09-18 16:48:35 -07:00
Vladimir Vukicevic c62e96b0c0 b=516213; Freshen WebGL implementation and enable on trunk (part 2); r=mwsteele,roc 2009-09-17 23:01:12 -07:00
Mark Steele b109b87a48 b=516213; freshen WebGL implementation and enable on trunk (part 1); r=vlad 2009-09-17 23:01:07 -07:00
Bobby Holley 86dd317584 Bug 435296 - Decode-On-Draw. r=joe,roc,bz,dolske,peterw sr=vlad 2009-09-12 16:44:18 -06:00
Neil Rashbrook 8493cc8937 Bug 513156 VC7.1 bustage fix r=vlad 2009-09-04 22:57:33 +01:00
Mark Steele 9f78beefa4 b=513156; update Canvas 3D to implement WebGL (still disabled by default via configure); r=vlad 2009-09-02 17:47:49 -07:00
Robert O'Callahan dc076c32de Bug 508227. Disable gradient tests that fail on Mac now that Mac handles degenerate radial gradients consistently with our other platforms. r=jmuizelaar
--HG--
extra : rebase_source : 6bdefccf7fe88a803260bad6fbd51d2526f37c91
2009-08-25 23:59:20 -07:00
Benjamin Smedberg ba372f3a4c Followup to bug 398573 - remove REQUIRES from the tree since it is no longer used... automatically generated patch, rs=ted 2009-08-25 08:59:31 -07:00
Phil Ringnalda e6cfbfb139 Bug 510894 - only build nsICanvasGLPrivate if MOZ_ENABLE_CANVAS3D is set, put it in content_canvas.xpt instead of content.xpt, and remove the accidental content.xpt, r=ted,vlad 2009-08-18 19:57:22 -07:00
Hashem Masoud b71a1a1cfa Bug 489502 - Replace NS_ASSERTION(0, ...) by NS_ERROR(...) in mozilla-central; r=benjamin 2009-08-14 16:09:00 +02:00
L. David Baron 8befa369a6 Remove InspectorCSSUtils, part 1: Move GetStyleContextForContent to nsComputedDOMStyle. (Bug 371655) r=bzbarsky 2009-08-10 15:52:29 -07:00
L. David Baron da3ed02210 Add more parameters to nsStyleSet::ResolveStyleForRules. (Bug 435441) r=bzbarsky 2009-08-10 15:52:29 -07:00
Peter Weilbacher 2a9b37074c Bug 509188 - Fix OS/2-only build break in nsCanvasRenderingContext2D.cpp, r=bzbarsky 2009-08-10 10:39:02 +02:00
Takanori MATSUURA 3bb91e23e7 Bug 508923 - ‘nsIDocShell’ has not been declared in nsICanvasRenderingContextInternal.h. r=robarnold 2009-08-09 22:29:56 +02:00
Rob Arnold 1c601ecdaa Bug 502715 - Enable the canvas 2d context to function without an actual canvas element r=vladimir 2009-08-04 14:36:02 -07:00
Takanori MATSUURA 35ed251bc8 Bug 505663. Remove obsolete header files from canvas3D. r=jdrew 2009-08-04 09:52:07 +12:00
Saint Wesonga 039fd09cdf Bug 467988. Merge canvas mochitests into one file to speed up mochitest running. r=roc
--HG--
extra : rebase_source : 9a4f90fdbe07759e3970dbf665d753b7320b345a
2009-07-30 15:04:14 +12:00
Rob Arnold c942fc0e5f Backed out changeset d41cc3134424 2009-07-28 18:11:57 -07:00
Rob Arnold 92699c8a52 Bug 502715 - Enable the canvas 2d context to function without an actual canvas element r=vlad
--HG--
extra : rebase_source : ac4f5e0038dd5d4ccb055ae2324b17867106d827
2009-07-28 11:52:31 -07:00
Rob Arnold 0684058f54 Bug 503355 - drawWindow should have an option to draw with scrollbars and at the current viewport r=vladimir
--HG--
extra : rebase_source : afad172931caa4d1fa37edeeaabec0e933cc447c
2009-07-21 15:45:21 -07:00
Mats Palmgren 2b7ac9cf79 Fix --enable-canvas3d build error with gcc 4.3.3. b=501004 r=vlad 2009-07-02 11:57:36 +02:00
Mats Palmgren edbe62438a Remove unnecessary #includes. b=500988 r=roc 2009-07-02 11:57:35 +02:00
timeless@mozdev.org 43c3beda71 Bug 494688 nsCanvasRenderingContext2D::CreateImageData warning: comparison between signed and unsigned
r+sr=vlad
2009-06-27 18:42:51 -07:00
Vladimir Vukicevic ff48501472 fixup for msvc 2009-06-27 17:33:06 -07:00
Vladimir Vukicevic e904e6da92 b=500883; put canvas3d into core (disabled by default, configure flag to enable); r=me,npotb 2009-06-27 16:44:35 -07:00
Vladimir Vukicevic a33acd773d b=500493; fix bogus getter_AddRefs in canvas code; r=stuart 2009-06-27 16:44:32 -07:00
Vladimir Vukicevic 2c059a1b0b b=492724 followup; put back original CheckSaneSubrectSize 2009-06-25 14:12:57 -07:00
Vladimir Vukicevic 9ce36b7de3 b=487693; avoid aggressive invalidation in canvas; r=roc 2009-06-25 13:31:35 -07:00
Vladimir Vukicevic 670216332d b=492724; pull out canvas utility functions into CanvasUtils/LayoutUtils; r+sr=roc 2009-06-25 13:30:56 -07:00
Saint Wesonga b2c94ecf01 Reset clipping region it PutImageData so that it doesn't clip the output, per spec. r=vlad sr=dbaron (Bug 433397) 2009-06-23 14:09:27 -07:00
Dirk Schulze cc13d7d5c0 Bug 471281. Reimplement arcTo() to match Canvas spec. r=jrmuizel
This is based on Philip Taylor's emulation written in JavasScript.

Relanding this now that 499161 has landed which should fix test failures.
2009-06-17 13:57:50 -04:00
Jeff Muizelaar 596af96df4 Backout Bug 471281 changeset b116b49459f8 because of Mochitest failures on Mac OS X 2009-06-17 16:43:12 -04:00
Robert Longson 8a18a5a87c Bug 486936 - image-rendering style should apply to canvas element. r=vladimir 2009-06-17 21:31:18 +01:00
Dirk Schulze b8ea13fb7a Bug 471281. Reimplement arcTo() to match Canvas spec. r=jrmuizel
This is based on Philip Taylor's emulation written in JavasScript.
2009-06-17 13:57:50 -04:00
Boris Zbarsky b21221fdc8 Bug 495499. Speed up PutImageData for cases when the array contains doubles. r=brendan,vlad,jorendorff 2009-06-11 10:35:41 -04:00
L. David Baron f0c43ecb3d Switch HTML mochitests from using MochiKit.js to packed.js. (Bug 490955) r=sayrer 2009-05-06 13:46:04 -07:00
Bob Clary 13b6bd8826 bug 360293 - crash test by Vladimir Vukicevic. 2009-04-24 10:08:16 -07:00
Jeff Muizelaar fa7937efcf bug 473443 - drawImage of canvas onto self is incorrect r=vlad 2009-04-20 11:26:44 -04:00
Boris Zbarsky e99ee04391 Bug 485631 followup. Only disable the dirty frae asserts under drawWindow if the flag to not flush was passed in. r+sr=roc 2009-04-09 12:43:15 -04:00
Vladimir Vukicevic 914089143b b=483412; don't overaggressively invalidate on canvas drawWindow; r=roc 2009-04-08 13:27:20 -07:00
Vladimir Vukicevic 6419fe8e5c b=436932, add imageRenderingQuality property to 2D canvas, r=roc 2009-04-07 12:05:41 -07:00
Jeff Muizelaar 52c97edf1e Bug 481926 - Rewrite color management component sr=vlad, r=ted, r=joedrew (\o/)
Replaces lcms with qcms
2009-04-07 12:02:11 -04:00
Robert Longson 97ea95b6b8 Bug 486934 - video display should take account of image-rendering CSS property. r+sr=roc 2009-04-06 12:05:29 +01:00
Joe Drew db7246feb6 Backed out changeset 6f3c2171bbb2:
Bug 481926 - Rewrite color management component. r=joe,ted sr=vlad
2009-04-03 16:27:27 -04:00
Jeff Muizelaar e823d73623 Bug 481926 - Rewrite color management component. r=joe,ted sr=vlad 2009-04-03 15:09:56 -04:00
Joe Drew 1df9d9d65c Bug 484076 - Update pixman and cairo. This upgrades Cairo to git revision c932a809d6484503d7ee267d934bbc87c8d44092. r=vlad 2009-03-20 16:02:45 -04:00
Serge Gautherie aa40740e07 Bug 483989 - 3 Mochitest test_2d.*.html run fine but need to check/report success; (Av1a) Add |ok(true, ...);|; r=vladimir 2009-03-19 00:59:32 +01:00
Doug Turner 370a65a062 Backing out bug 473443 - drawImage of canvas onto self is incorrect. WINCE only. 2009-03-12 09:56:44 -07:00
Stuart Parmenter cf576e6934 bug 480233. Make the display list item that canvas uses for painting know about the opacity of the canvas. r/sr=roc 2009-03-05 05:43:45 -08:00
Doug Turner 3f2b3cf195 Bug 473443 - Backing out bitblt for windows ce. This patch causes image sheering in fennec. r=blassey 2009-03-05 10:27:27 -08:00
Jonathan Kew 526a0ca6e9 Bug 479276. Support a new kind of glyph bounding-box: TIGHT_HINTED_OUTLINE_EXTENTS, and use it to stop MathML spacing depending on exact ink extents. r+sr=roc
--HG--
extra : rebase_source : 43f9009f6457361e690062f87b2e5fda4041dc48
2009-02-24 21:32:58 +13:00
L. David Baron 7b11299e52 Initialize mLastStyle to avoid valgrind warnings. (Bug 477961) r=vlad 2009-02-19 09:48:37 -08:00
L. David Baron c936720f0a Back out all 8 changesets that I just landed (bugs 477959, 477961, 322475, 478899, 475215, 478156) again, because Talos Try server builds lie about which changesets they're testing. 2009-02-19 09:06:18 -08:00
L. David Baron 9daf2d89d4 Initialize mLastStyle to avoid valgrind warnings. (Bug 477961) r=vlad 2009-02-19 07:29:27 -08:00
Ginn Chen 22b269f2d5 Bug 479022 fast path of nsCanvasRenderingContext2D::PutImage() is wrong on BIG ENDIAN machine r=vladmir 2009-02-19 21:00:41 +08:00
L. David Baron 3d090560b0 Revert (back out) the previous 11 changesets (bugs 477959, 477961, 477963, 477962, 322475, 478899, 475215, 478156), due to Mac talos orange with (as usual) no useful diagnostic. 2009-02-18 18:59:47 -08:00
L. David Baron ca9bd74b6f Initialize mLastStyle to avoid valgrind warnings. (Bug 477961) r=vlad 2009-02-18 17:13:24 -08:00
Vladimir Vukicevic 8a0ad1417c Dummy checkin for CLOSED TREE (patchset is Windows CE only) 2009-02-12 18:26:02 -08:00
Brad Lassey f0c754c3c2 bug 473443 - drawImage of canvas onto self is incorrect r=jrmuizel,vlad 2009-02-10 18:44:40 -05:00
L. David Baron 38d578f649 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 23446e97e2 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 6c8601ac15 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ý 5f8aedcf13 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 dea545b65e backout b=403513 due to compile error in gfxFontSelectionTest.cpp 2008-12-17 13:57:40 +13:00
Martin Stránský 7d9de4223a 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 f770f5b88f Bug 468018 - Optimize box-shadow rendering even further by doing more intersections; r=vladimir 2008-12-06 19:54:36 +01:00
Vladimir Vukicevic 67a5aa7b16 Update canvas mochitests; covered operators changed with cairo 1.8.2 update 2008-11-06 01:44:13 -08:00
Ted Mielczarek 896d5b70b0 bug 461395 - add support for PARALLEL_DIRS to build system, parallelize content. r=bsmedberg 2008-10-30 13:02:14 -04:00
Markus Stange 4345614f85 Bug 459796 - fixing unit test orange, r+sr=roc 2008-10-14 11:29:53 +02:00
Stuart Parmenter 5d0c692c62 bug 459796. Add optional flags to drawWindow to allow finer control. r=vlad 2008-10-13 23:29:30 -07:00
John Daggett 37c61248d6 Bug 441473. Implement user font set object. r+sr=roc 2008-10-01 12:01:53 +09:00
Taras Glek aa630966a7 s/if NS_FAILED(rv)/if(NS_FAILED(rv)/ sr=roc 2008-09-25 18:44:05 -07:00
Vladimir Vukicevic b85e6d6d8a b=310682, add support for shadows in HTML Canvas -- test updates; patch from Eric Bulter; r=vlad 2008-09-25 12:53:55 -07:00
Vladimir Vukicevic 8815b4ca26 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 b791f06f8b Bug 454482 - Clean up unused variables in content/; r+sr=peterv 2008-09-24 06:37:56 +02:00
Ted Mielczarek ff7706a544 bug 447642 - get rid of --disable-mochitest, replace MOZ_MOCHITEST with ENABLE_TESTS. r=bsmedberg 2008-09-09 13:59:11 -04:00
Vladimir Vukicevic baf843f93e 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 0d6a5f906d b=417836, canvas throws when accessing img with data URL; r=bz 2008-09-06 16:45:57 -07:00
Vladimir Vukicevic d9d317c988 b=433004, support nsICanvasRenderingContext2D.createImageData; r+sr=roc 2008-09-02 10:52:22 -07:00
Robert Sayre f385435071 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 a05cd97f2b b=451242, use fast-paths for dense array to uint conversion in canvas 2008-08-20 14:47:10 -07:00
Vladimir Vukicevic 5af207e7b9 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 c2199a99f2 Disable broken seamonkey tests - bug 450114. r=vlad 2008-08-17 13:58:11 -07:00
Vladimir Vukicevic dfd32514d3 Disable xor/lighter canvas tests 2008-08-10 22:20:31 -07:00
Vladimir Vukicevic b2fa66f6d4 b=446534, Update canvas mochitests, code from Philip Taylor, patch by Eric Butler; r=vlad 2008-08-10 21:01:14 -07:00
Eric Butler d249d258b8 Avoid unnecessary InvalidateFrame calls from CanvasRenderingContext2D - bug 447836 r=vlad 2008-08-04 10:38:09 -07:00
Eric Butler 2550fa9505 Convert canvas to Thebes - bug 306801 r=vlad 2008-07-23 10:50:03 -07:00
Eric Butler 47e45f54c6 Canvas routines draw right-to-left text backwards - bug 402276 r=smontagu sr=roc 2008-07-18 11:29:06 -07:00
Vladimir Vukicevic 20c88f6afd 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) ab5953d90b Bug 442113 - Canvas text size depends on browser text zoom r=vlad 2008-07-03 15:02:50 -07:00
Eric Butler 4d58741bd6 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 be40edd6c9 Canvas text spec implementation (bug 436904) 2008-06-10 16:16:59 -07:00
Vladimir Vukicevic 35bb6388f9 b=430906; add moz-opaque attribute to <canvas>; r+sr=roc 2008-06-03 17:00:32 -07:00
vladimir@pobox.com edd674511f 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 a300e73cf3 back out bug 430873 to fix test failures 2008-04-29 07:43:35 -07:00
vladimir@pobox.com 9035a10cf4 test failure fix 2008-04-28 21:57:21 -07:00
vladimir@pobox.com 83465c63b2 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 20f08b72f6 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
vladimir@pobox.com db4ebbb2e1 b=421422, cairo upgrade mochitest tweaks ; r=me 2008-03-14 20:45:26 -07:00
gavin@gavinsharp.com be6fb851ef Bug 421715: canvas crash passing undefined to putImageData, r+a=vlad 2008-03-10 00:35:37 -07:00
vladimir@pobox.com 2ad4b8c4f3 typo fix 2008-03-06 14:03:55 -08:00
vladimir@pobox.com 1c63b1637a b=419718, extend canvas checks, r=stuart 2008-03-06 11:56:47 -08:00
vladimir@pobox.com c325e922a7 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 7ed1ca89ae 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
jag@tty.nl 05cdb6aefe Bug 73353: Clean up our MODULE/REQUIRES story. rs=dbaron, a=brendan 2008-02-18 00:50:04 -08:00
bzbarsky@mit.edu ed9afe6723 Adding test 2008-02-17 12:20:21 -08:00
vladimir@pobox.com bad778d3f2 Disable some canvas tests, pending investigation 2008-02-13 23:52:05 -08:00
vladimir@pobox.com 7e27aa9f91 b=414511, misc canvas code cleanup, r=stuart 2008-02-13 22:53:25 -08:00
vladimir@pobox.com 1510dc89f9 b=406334, crash in canvas drawWindow ; r=roc 2008-02-13 22:51:33 -08:00
reed@reedloden.com 4c4140bd62 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 8e43060700 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
mozilla@weilbacher.org d0cb8b7ca7 Bug 412582: remove MOZ_ENABLE_CAIRO_GFX from the build system, r=ted.mielczarek, a=beltzner 2008-01-28 15:07:34 -08:00
vladimir@pobox.com 6fad05921d Dummy checkin to kick qm-win2k3-01 2008-01-25 20:56:31 -08:00
vladimir@pobox.com 8be02bf49d more test fun 2008-01-25 19:45:33 -08:00
vladimir@pobox.com 9dbd7abfed b=413026, disable 4 operator tests on Mac due to differences in Quartz implementation 2008-01-18 14:54:21 -08:00
vladimir@pobox.com 2319dd823c b=406036, canvas cleanup, r=stuart 2008-01-18 13:53:28 -08:00
benjamin@smedbergs.us b3e87aa63b Bug 411327 - nsIXPCNativeCallContext should not inherit from nsISupports, r=mrbkap, a=schrep 2008-01-15 07:50:57 -08:00
reed@reedloden.com 8e6ed6cdd9 Add missing bracket to fix my bustage. 2007-12-24 20:20:45 -08:00
reed@reedloden.com 7932d2c1c1 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 e19c95f750 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
roc+@cs.cmu.edu a41c16b134 Disabling randomly-failing toDataURL tests, the right way 2007-12-11 16:31:19 -08:00
roc+@cs.cmu.edu 99b3f90d6d Disabling randomly-failing toDataURL tests. 2007-12-11 15:21:20 -08:00
bzbarsky@mit.edu 7729fd622b Fix up comments a dram 2007-12-05 20:47:09 -08:00
bzbarsky@mit.edu 593874e84d Split tests up into groups so nsinstall doesn't blow away Windows' little mind. 2007-12-05 19:23:00 -08:00
bzbarsky@mit.edu d13f3edd1b Adding a whole bunch of canvas mochitests. Bug 407049, tests contributed by Philip Taylor <philip.taylor@cl.cam.ac.uk> 2007-12-05 18:51:12 -08:00
bzbarsky@mit.edu 3381d13138 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 09cf0c6fc5 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 7905f11496 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 f56ee12ca9 Backout patch from bug 389366 because it does not have M9 approval. 2007-10-23 18:09:21 -07:00
reed@reedloden.com a7df7f874e Bug 389366 - "Canvas's .getImageData is returning premultiplied alpha pixels" [p=philip@zaynar.demon.co.uk (Philip Taylor) r=vlad a1.9=damons] 2007-10-23 18:06:23 -07:00
vladimir@pobox.com ea234d1683 b=391028, followup, r=stuart 2007-10-11 16:34:04 -07:00
vladimir@pobox.com 6fa8a0f43e reftest bustage fix (bug 296904) 2007-10-10 13:31:45 -07:00
vladimir@pobox.com 0d55de6f08 b=296904, canvas rects incorrectly affect current path; r+sr+a=vlad, patch from philip@zaynar.demon.co.uk 2007-10-10 12:24:12 -07:00
vladimir@pobox.com 99149ab022 b=391028, drawImage with broken PNG horks, r=stuart/a=stuart 2007-10-04 11:57:40 -07:00
bent.mozilla@gmail.com 1232ee381c Bug 397319 - "Add JSAutoRequest to other users of GetArgvPtr". r+sr+a=jst. 2007-09-28 11:15:26 -07:00
vladimir@pobox.com 8797e1dcc2 b=396972, clean up canvas API to avoid using internal API in contexts, r/a=stuart 2007-09-25 13:46:08 -07:00
roc+@cs.cmu.edu a0ce273d02 Bug 96041. Compute precise glyph extents for high-quality text, and when requested. r=vlad,r+sr=dbaron 2007-09-23 19:19:14 -07:00
roc+@cs.cmu.edu f5ea55f8b4 Backing out due to test bustage 2007-09-22 06:28:16 -07:00
roc+@cs.cmu.edu f2b87e6c9a Bug 96041. Compute true glyph bounding metrics. r=vlad,dbaron,sr=dbaron 2007-09-22 05:43:52 -07:00
sayrer@gmail.com 9c5288b856 Bug 396452. Enforce SpiderMonkey request model with assertions. r=mrbkap, sr/a=brendan 2007-09-18 17:26:39 -07:00
mats.palmgren@bredband.net 702ba6d4be [OS/2] Remove non-cairo OS2 gfx code from the tree. b=389729 r=mozilla@Weilbacher.org 2007-09-08 09:22:56 -07:00
vladimir@pobox.com fdd24e0988 b=390487, typo fix for default canvas text drawing font, r/a=vlad, patch from robarnold 2007-08-22 14:30:47 -07:00
benjamin@smedbergs.us 6586a4906f Bug 387132 followup - build the reftest-fast tool correctly with libxul, r=vlad a=only functional change is NPOB 2007-08-06 13:13:19 -07:00
vladimir@pobox.com da19acfd9e b=339553 followup, fix an issue in windows opt builds with uninitialized data, r+a=vlad, patch=robarnold 2007-08-03 15:47:48 -07:00
vladimir@pobox.com 2855f447a9 check cairo error code for errors in GetInputStream, as well as the surface 2007-08-02 00:45:58 -07:00
vladimir@pobox.com a232b51aff b=339553, drawString enhancement for canvas, r=me; patch from robarnold 2007-07-25 11:21:34 -07:00
bzbarsky@mit.edu e5b0b3d587 Use a Subsumes() chec, not same-origin. Bug 387202, r=vlad, sr=jst 2007-07-20 20:11:15 -07:00
sharparrow1@yahoo.com 4dd8605134 Bug 385937: Remove nsIBlender. rs=pavlov 2007-06-27 12:06:09 -07:00
vladimir@pobox.com 0889c5fdd3 b=385584, crash with toDataURL on large canvas, r=stuart 2007-06-25 09:24:19 -07:00
sharparrow1@yahoo.com e4dc7d2eac Bug 382092: Simple canvas cleanups. r+sr=vlad 2007-06-20 22:01:21 -07:00
vladimir@pobox.com ef79074341 trying to figure out what's going on on the linux reftest tinderbox 2007-06-10 19:49:49 -07:00
vladimir@pobox.com e231d4af26 dummy commit to kick unit test tinderboxes 2007-05-30 04:02:18 -07:00
vladimir@pobox.com 17ddc34088 b=353144, new throws in canvas, r=stuart 2007-05-22 20:58:19 -07:00
asqueella@gmail.com 60a634698b Bug 375909 - nsCanvasRenderingContext2d incorrectly calculates some coordinates (has appunits * appunits, not appunits/appunits)p=Jeremy Lea <reg@freebsd.org>r+sr=roc 2007-04-27 07:45:21 -07:00
sayrer@gmail.com 54e344ebd0 bug 378336. nsCanvasRenderingContext2D::GetInputStream uses wrong allocator. r+sr=roc 2007-04-22 21:11:04 -07:00
pavlov%pavlov.net a501d37bad thebes API cleanup. bug 368910. r/sr=vlad 2007-02-08 20:47:48 +00:00
dbaron%dbaron.org afc56e1eb0 Make MOZ_GFX_TOOLKIT in Makefiles be the same thing that it is in configure. b=369409 r=vlad 2007-02-08 19:23:25 +00:00
masayuki%d-toybox.com 3bc55d798e Bug 364885 Calling ctx.putImageData() doesn't redraw. patch by KUROSAWA, Takeshi (taken) <taken.spc@gmail.com> r+sr=vlad 2007-02-08 13:44:34 +00:00
sharparrow1%yahoo.com 76a64e5c22 Bug 177805: Fix the use of units in Gecko. r+sr=roc 2007-02-07 07:46:44 +00:00
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