Commit Graph

395 Commits

Author SHA1 Message Date
Vladimir Vukicevic
686ecf8d28 b=561168; convert canvas to use layers for rendering - file removals 2010-05-17 21:04:21 -07:00
Josh Matthews
1ce131d32a Bug 388569 - Memory leaks when calling nsVariant::GetAsInterface. r=benjamin
--HG--
extra : rebase_source : 4bcffd36a6fa65c9b4dbefff4bc810254c2a222c
2010-05-04 00:39:26 -04:00
Benoit Jacob
018563d74f fix build on windows (NS_IMETHODIMP--->nsresult, discussed with Bas on IRC #developers) 2010-06-19 11:25:42 -04:00
Benoit Jacob
f1bfcf8e35 b=570779; validate enums in blend functions; r=vladimir 2010-06-19 10:48:44 -04:00
Benoit Jacob
95bc657a6d b=572018; DOMElementToImageSurface: fix memleak and work in one pass; r=vladimir 2010-06-19 10:47:53 -04:00
Benoit Jacob
6c594ab3c3 b=571029; readPixels API change, support both old and new signatures, also fix 572797 (allow non-fitting rectangles), and check that sizes are nonnegative; r=vladimir 2010-06-19 10:46:12 -04:00
Benoit Jacob
e605de34fb b=567499; fix getuniform for bool uniforms and return nsIVariant; r=vladimir 2010-06-19 10:43:40 -04:00
Benoit Jacob
e548bc3db5 b=567499; let getXxxParameter functions return nsIVariant; r=vladimir 2010-06-19 10:42:43 -04:00
Boris Zbarsky
037bfe5f69 Bug 517056. Drawing an incomplete image to the canvas shouldn't throw; should instead silently do nothing. r=vlad 2010-06-18 12:23:05 -04:00
Hanspeter Niederstrasser
a60247b2fc Fix for bug 557660 (WebGL interfaces are created even when MOZ_WEBGL unset). r=jst.
--HG--
extra : rebase_source : c9c67ac7ddff650869a0d68b4f9f2e5df9cfcc2f
2010-04-09 19:05:54 +02:00
Doug Turner
6c196f14e2 Automerge with mc. no manual changes 2010-04-21 03:31:13 -07:00
Daniel Holbert
899900c50a Bug 560378, Patch C: Make int<-->float conversions explicit to avoid MSVC compile warnings, in nsCanvasRenderingContext2D.cpp. r=vlad 2010-04-20 11:50:39 -07:00
Daniel Holbert
a695ddc7b3 Bug 560378, patch B: Use the correct version of delete[] in nsCanvasRenderingContext2D.cpp. r=vlad 2010-04-20 11:49:38 -07:00
Daniel Holbert
52559e4960 Bug 560378, Patch A: Use "!!" for converting int to bool, to avoid MSVC compile warning in nsCanvasRenderingContext2D.cpp. r=vlad 2010-04-20 11:48:29 -07:00
Chris Jones
1b1a244ef5 Fix merge bustage 2010-04-16 01:58:01 -05:00
Chris Jones
09869cfb77 Merge mozilla-central 2010-04-16 01:34:35 -05:00
Oleg Romashin
8de514e284 Merged with mozilla-central 2010-04-07 06:59:04 -04:00
Oleg Romashin
baece4fff9 Bug 556850 - WebGL compilation busted for Qt builds. r=vladimir 2010-04-07 03:53:18 -04:00
Doug Turner
c15f159231 merge from m-c. manually merging modules/plugin/test/testplugin/nptest.cpp dom/plugins/PluginModuleChild.cpp. 2010-03-26 14:22:48 -07:00
Josh Matthews
b60190028f Bug 554835 - Build fixes for undefined MOZ_IPC. r=bnewman,joe 2010-03-25 12:10:14 -04:00
Josh Matthews
4b0e00f8b8 Bug 524180 - Fix non-MOZ_IPC build. r=joe 2010-03-24 18:27:08 -04:00
Vladimir Vukicevic
58b27f08d0 b=571287; let canvas participate in cycle collection; r=bz 2010-06-15 14:38:05 -07:00
Vladimir Vukicevic
4fc2ef05d4 webgl test suite update 2010-06-15 10:30:13 -07:00
Benoit Jacob
db543d277d b=571027; implement new PixelStorei parameters for textures; r=vladimir 2010-06-15 11:59:39 -04:00
Benoit Jacob
3e15743355 b=571027; implement new TexImage2D signatures; r=vladimir 2010-06-15 11:54:03 -04:00
Benoit Jacob
f0a49876fe b=571076; Implement GetAttachedShaders; r=vladimir 2010-06-15 11:49:34 -04:00
Benoit Jacob
0ff97eaf80 b=569236; better WebGL messages; r=vladimir 2010-06-14 14:44:12 -04:00
Benoit Jacob
d96d512c4a b=571028; remove GetString and merge into GetParameter as per the updated spec; r=vladimir 2010-06-11 17:45:40 -04:00
Benoit Jacob
ef65032a3c b=569714; Fix GetParameter and let it return nsIVariant; r=vladimir 2010-06-11 17:36:34 -04:00
Craig Topper
c3fc5fa456 Bug 554253 - Convert nsCOMPtr<nsPresContext> to nsRefPtr<nsPresContext>. r=roc
--HG--
extra : rebase_source : d828daca07188864d055f3d1a72f5217632eb358
2010-03-25 14:17:11 +01:00
Peter Van der Beken
abd7f913e0 Part 1 of fix for bug 560273 (Stop using DOM tearoffs from quickstubs) - add nsINode::GetBaseURI. r=sicking.
--HG--
extra : rebase_source : 5a07f12d9d13d92b796fd5f2cb182b069c3f87bf
2010-04-19 17:40:15 +02:00
Phil Ringnalda
71bd192ba4 Correct spelling of recieve 2010-04-16 22:03:49 -07:00
Michael Ventnor
3602bd64b6 Bug 544099 - Highly optimise -moz-box-shadow for common cases by allowing layout to specify an area where blurring is not needed r=roc,joe
--HG--
rename : gfx/thebes/src/gfxBlur.cpp => gfx/src/thebes/utils/gfxBlur.cpp
rename : gfx/thebes/public/gfxBlur.h => gfx/src/thebes/utils/gfxBlur.h
extra : rebase_source : d7ad7a1ee2ac9e25937133dba95f0f8d7347d612
2010-04-18 13:13:10 +10:00
Craig Topper
771eede254 Bug 557416: Remove unnecessary includes and forward declarations of nsPresContext. r=roc 2010-04-10 16:10:12 -04:00
Craig Topper
9eccdbd4d7 Bug 557416: Remove unnecessary includes and forward declarations of nsIPresShell. r=roc 2010-04-10 16:09:38 -04:00
Peter Van der Beken
8e3acb1006 Fix for bug 533637 (Speed up unwrapping a node in quickstubs that use nsINode (dromaeo)). Pair every DOMCI to a specific C++ class. r=jst.
--HG--
extra : rebase_source : 9a7823b365cfca04bb08c5be94eab29d218f1e61
2010-01-12 14:08:43 +01:00
Doug Turner
5bc934713f Fix #ifndef MOZ_IPC bustage 2010-03-24 04:25:33 -07:00
Joe Drew
4a4ac6eb22 Bug 524180 - fire an event when async canvas draws finish. r=olli 2010-03-24 03:48:12 -07:00
Joe Drew
d4c42c1218 Bug 524180 - Implement async drawWindow/Element() using shared memory. r=cjones 2010-03-24 03:47:18 -07:00
Jason Duell
a5f74621b1 Merge from mozilla-central (rev 783ef71b479e) to e10s tree; gets xpcshell working again. 2010-03-18 14:59:34 -07:00
Doug Turner
f295d7422b Merge 2010-03-12 15:20:36 -08:00
timeless@mozdev.org
e330932820 Bug 551089 fix canvas warnings
r=vlad

--HG--
extra : rebase_source : 1f98a9cce20d0486de80a577aa0724a049077098
2010-03-12 07:50:12 +01:00
timeless@mozdev.org
a1d99bc915 Bug 504464 nsCanvasRenderingContext2D::Restore checks to see if unsigned mSaveCount is negative
r=vlad

--HG--
extra : rebase_source : 794d20216ef70e2599f484c871217d557f874be2
2010-03-12 07:50:11 +01:00
Doug Turner
16e2fd5fe7 Merge. manually merged. modules/plugin/test/testplugin/nptest.cpp, testing/xpcshell/head.js. 2010-03-10 19:13:35 -08:00
Chris Jones
733adfeaaf Fix some merge bustage. 2010-03-08 14:16:41 -06:00
Doug Turner
d08632917d Merge with mc 2010-03-08 10:09:55 -08:00
Markus Stange
d7e8315247 Bug 549747 - Fix a bad null check in WebGLContext::ValidateProgram. r=vlad 2010-03-08 13:28:19 +01:00
Markus Stange
90f17b8799 Bug 549747 - Add a null check for tex in WebGLContext::FramebufferTexture2D. r=vlad 2010-03-08 13:27:22 +01:00
Peter Van der Beken
e5d87ec5bb Fix for bug 552716 (Remove NS_INTERFACE_MAP_ENTRY_CONTENT_CLASSINFO). r=jst.
--HG--
extra : rebase_source : 8e03b54ff6117dcac27188b296c59dcafbb6db78
2010-03-17 16:09:05 +01:00
Doug Turner
5daaf36bf1 Merge 2010-03-01 15:36:51 -08:00
Chris Jones
bc05dd163b Merge from mozilla-central 2010-02-22 21:31:18 -06:00
Jae-Seong Lee-Russo
30218c70c3 Bug 530373. Use NS_MIN/NS_MAX instead of PR_MIN/PR_MAX in DOM code. r=bzbarsky 2010-02-22 14:41:19 -05:00
Vladimir Vukicevic
1f6911c6af Update canvas tests to fix =~ usage and to mark passing tests as ok 2010-03-03 16:40:27 -08:00
Vladimir Vukicevic
e86557b1a2 b=534467; implement Uint8ClampedArray for CanvasPixelArray; part 3, DOM-side implementation; r=bz 2010-03-03 16:40:27 -08:00
Vladimir Vukicevic
9f83ebcfb7 Nuke some stale/unused files
* * *
attempt to fix x86-64 burning
2010-01-22 18:29:49 -08:00
Robert O'Callahan
daba5acae2 Backing out bug 534467 to try to fix test failure 2010-03-04 17:50:57 +13:00
Robert O'Callahan
a976e4bcd0 Backed out changeset 1672d4c79e82 2010-03-04 17:50:28 +13:00
Robert O'Callahan
3b1564e57f Backing out more stuff to try to fix test failure 2010-03-04 17:50:01 +13:00
Robert O'Callahan
d1f6ca832a Backed out changeset c9ff351b0738 2010-03-04 17:49:36 +13:00
Robert O'Callahan
65a2683e00 Back out due to Linux-64 build bustage 2010-03-04 14:38:23 +13:00
Robert O'Callahan
5ef23a16ea Backed out changeset b35354fe21e3 2010-03-04 14:38:00 +13:00
Vladimir Vukicevic
42ec90deac b=534467; implement Uint8ClampedArray for CanvasPixelArray; part 3, DOM-side implementation; r=bz 2010-03-03 16:40:27 -08:00
Vladimir Vukicevic
eeec82577a Update canvas tests to fix =~ usage and to mark passing tests as ok 2010-03-03 16:40:27 -08:00
Vladimir Vukicevic
fa7984e74f b=525984; [webgl] reset mThebesSurface on OSX in case of error to avoid crash; r=jrmuizel 2010-03-03 16:40:27 -08:00
Vladimir Vukicevic
02fe8f1b07 b=534735; use custom quickstubs for canvas fillStyle and strokeStyle; r=bz 2010-03-03 16:40:25 -08:00
Vladimir Vukicevic
eec75b1143 Nuke some stale/unused files 2010-01-22 18:29:49 -08:00
Zack Weinberg
96887d3f38 Bug 523496: DeCOMtaminate nsCSSParser. r=bzbarsky sr=dbaron
--HG--
rename : layout/style/nsICSSParser.h => layout/style/nsCSSParser.h
2010-03-02 12:59:32 -08:00
Ginn Chen
4658b768cd Bug 545097 [webgl] crash [@strstr] [@nsGLPbufferGLX::Init] on Sun Ray client r=vladimir 2010-03-02 13:54:34 +08:00
Michael Ventnor
25bc9c7d85 Bug 542361 - Fix and remove the GetUsedX assertions r=roc
--HG--
extra : rebase_source : 6bdb0e3251e955ced01476a2255e9ebc511c884b
2010-03-02 11:57:43 +10:00
Saint Wesonga
9427e2d267 Bug 542930: Check return value of CallGetService in NativeJSContext.cpp. r=vlad 2010-03-10 12:32:40 -08:00
Justin Lebar
f7fb801ff8 Bug 519400: Speed up Canvas's [get|put]ImageData() r=vlad 2009-12-04 19:21:45 -08:00
Robert O'Callahan
11a3d788af Bug 534425. Part 6: Let nsIWidgets expose a LayerManager to be used to render into the widget, instead of nsPaintEvent::renderingContext which is removed since it's no longer needed. Currently all widgets fall back to a default BasicLayerManager implementation. Also change nsPaintEvent::region to be an nsIntRegion, and get rid of nsPaintEvent::rect since it's redundant. 2010-03-01 21:03:49 +13:00
Jonathan Kew
d274131f59 Bug 548751 - make canvas respect the style's language when resolving fonts. r=dbaron 2010-02-26 08:58:48 -08:00
Jonathan Kew
f3a8507386 Bug 547267 followup - rename nsPresContext::GetLanguage to GetLanguageFromCharset for clarity. r=dbaron 2010-02-26 06:20:35 -08:00
Jonathan Kew
3d28b28018 Bug 524107 - part 2 - store language as atom instead of string in gfxFontStyle. r=roc sr=mats 2010-02-24 09:57:57 -08:00
Jonathan Kew
e9d0f828e0 Bug 524107 - part 1 - pass original value of 'lang' to gfx text code rather than only a 'langGroup' value, to allow language-specific font rendering. r=roc sr=mats 2010-02-24 09:57:44 -08:00
Julian Seward
84617e1046 Bug 549501 - nsCanvasRenderingContext2D::DrawImage redraws undefined rectangles. r=vlad 2010-03-11 07:43:20 +01:00
timeless@mozdev.org
23d8836728 Backed out changeset ff971b92f74c 2010-04-28 10:18:46 +02:00
timeless@mozdev.org
ca471192ce Bug 551089 fix canvas warnings
r=vlad
2010-04-28 10:13:38 +02:00
Vladimir Vukicevic
d23a940437 b=571078; fix webgl attribute validation; r=bjacob 2010-06-10 10:45:00 -07:00
Vladimir Vukicevic
77abe946b5 b=570660; add ability to resize pbuffer GL contexts; r=joe 2010-06-09 15:07:12 -07:00
Daniel Holbert
ca818b27ce Bug 570257: fix unsigned/signed comparison build warning in WebGLContextValidate.cpp. r=vlad 2010-06-09 13:28:29 -07:00
Vladimir Vukicevic
65c3a85ff2 b=570538; [webgl] fix up buffer validation with interleaved data; r=bjacob 2010-06-08 15:14:43 -07:00
Vladimir Vukicevic
596a3f85bc [webgl] test suite additions; npotb 2010-06-08 15:14:39 -07:00
Benoit Jacob
81a5415676 # User Benoit Jacob <bjacob@mozilla.com>
b=569976; Make GetUniformLocation preserve equality, and invalidate uniform locations on relinking of program; r=vladimir
2010-06-08 17:25:27 -04:00
Benoit Jacob
4df06c8cec b=569943; validate Enable/Disable args; r=vladimir 2010-06-08 14:45:23 -04:00
Benoit Jacob
a28efc37b4 b=569714; Pass WebGL gl-get-calls conformance test; r=vladimir 2010-06-08 10:40:23 -04:00
Benoit Jacob
f831941708 b=569731; Implement canvas attribute in WebGLContext; r=vladimir 2010-06-08 10:34:56 -04:00
Robert Sayre
744599315f Merge mozilla-central to tracemonkey. 2010-04-04 14:15:05 -04:00
L. David Baron
3eacc25287 Split nsStyleSet::ResolveStyleForRules into two different APIs for the two different types of uses. (Bug 147777) r=bzbarsky 2010-04-02 18:58:25 -07:00
Robert Sayre
404189ee98 Merge mozilla-central to tracemonkey. 2010-04-02 10:10:27 -04:00
Robert Sayre
baeb2d1edf Merge mozilla-central to tracemonkey. 2010-03-30 21:13:01 -07:00
Jeff Walden
ba84f1175f Readd ctypes, xpconnect, plugin, xpinstall, canvas, and typed array changes from bug 548702. 2010-03-29 19:47:40 -07:00
Jeff Walden
0973dfd6ab Merge. 2010-03-26 21:53:40 -07:00
Jeff Walden
95422c65a3 Backed out changeset e7065853ef79; I'll be repushing this incrementally, attempting to find the precise place where things go bad, in the near future. Happy days are here again! :-\ 2010-03-26 18:01:54 -07:00
Vladimir Vukicevic
e50b68c1f6 b=548200; incorrect static array size; r=joe,sr=roc 2010-04-01 14:36:26 -07:00
Robert Sayre
6303fcb826 Bustage fix: Change canvas quickstub tvr usage to the new name. 2010-03-13 12:13:03 -05:00
Robert Sayre
84b14d6f30 Merge mozilla-central to tracemonkey. 2010-03-13 11:51:12 -05:00
Jeff Walden
106fbd8085 Bug 548702 - Temporary value-rooting scheme should be C++- and RAII-based, not macro-based. r=igor
--HG--
extra : rebase_source : c7bb34662dbd70df49d40880227139537c60356e
2010-01-11 11:52:21 -06:00
Robert Sayre
5cf27a725e Merge tracemonkey to mozilla-central. 2010-03-26 15:53:14 -07:00