Commit Graph

345 Commits

Author SHA1 Message Date
Robert O'Callahan
582ab69719 Bug 547924. Paint <canvas> using EXTEND_PAD to prevent seams. r=vlad 2010-05-19 15:04:32 +12:00
Vladimir Vukicevic
b6f7fe7eae followup fix for when webgl is not supported; files removed, forgot to remove this (really not good at removals) 2010-05-18 10:08:40 -07:00
Vladimir Vukicevic
d91189d77c followup fix for when webgl is not supported; files removed, forgot to remove this 2010-05-18 10:07:43 -07:00
Vladimir Vukicevic
a1121cc3a2 b=561168; convert canvas to use layers for rendering - followup; r=roc 2010-05-17 21:04:22 -07:00
Vladimir Vukicevic
b99bb96c47 b=561168; convert canvas to use layers for rendering; r=roc,bas 2010-05-17 21:04:22 -07:00
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
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
Boris Zbarsky
ca01cf3893 Bug 562688 part 13. Eliminate eELEMENT usage in layout/style, except the rule processor. r=dbaron 2010-04-30 09:12:06 -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
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
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
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
Oleg Romashin
baece4fff9 Bug 556850 - WebGL compilation busted for Qt builds. r=vladimir 2010-04-07 03:53:18 -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
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
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
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
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
Nicholas Nethercote
c8a754a27d Bug 545274 - nanojit: start adding alias info to loads/stores/calls (TM-specific part). r=jseward. 2010-03-02 13:47:17 +11:00
Andreas Gal
9d5b1c0316 Disallow embeddings reaching into our guts (part 1: jsnum.h, bug 548205, r=brendan). 2010-03-01 13:30:23 -08: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
Justin Lebar
f7fb801ff8 Bug 519400: Speed up Canvas's [get|put]ImageData() r=vlad 2009-12-04 19:21:45 -08:00
Julian Seward
84617e1046 Bug 549501 - nsCanvasRenderingContext2D::DrawImage redraws undefined rectangles. r=vlad 2010-03-11 07:43:20 +01:00
Saint Wesonga
9427e2d267 Bug 542930: Check return value of CallGetService in NativeJSContext.cpp. r=vlad 2010-03-10 12:32:40 -08: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
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
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
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
Doug Turner
c5fb72ab64 Bug 543976 - Clean up Maemo defines. r=ted 2010-02-09 11:02:11 -08:00
Serge Gautherie
271756558e 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
55ebf80987 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
5bf54b4622 Backed out changeset 8c2e7ae5cceb because of test_bug398289.html failure 2010-02-04 17:16:39 +01:00
Michael Ventnor
2b0c157e9a Bug 542361 - Fix and remove the GetUsedX assertions. r=roc,dbaron 2010-02-04 14:58:02 +01:00
Vladimir Vukicevic
2beaf43c12 b=543680; [webgl] use correct enum to obtain number of texture units; r=jdaggett 2010-02-02 01:18:34 -08:00
Vladimir Vukicevic
4b74ead161 b=542336; webgl texImage2D broken due to overzealous argc checking (regression from bug 533663); r=jrmuizel 2010-01-26 14:23:49 -08:00
Vladimir Vukicevic
a3b000cac9 ugh, backout this until I figure out what's wrong with linux 2010-01-22 18:28:19 -08:00
Vladimir Vukicevic
6bffab46ef more bustage fix, linux 64-bit 2010-01-22 18:17:02 -08:00
Vladimir Vukicevic
4521fc20e4 bustage fix 2010-01-22 17:56:57 -08:00
Vladimir Vukicevic
ad09806b1d [webgl] (no bug, just removing unused/stale files) 2010-01-22 16:50:24 -08:00
Vladimir Vukicevic
21e2f78a75 b=539756; [webgl] remove old typed getters; r=jmuizelaar 2010-01-22 16:50:22 -08:00
Vladimir Vukicevic
553a8c9c5a b=533663; use js typed arrays in webgl; r=jmuizelaar,mrbkap,brendan 2010-01-22 13:34:25 -08:00
Peter Van der Beken
42d2df338a Back out changeset aa4791e4dad9 (Bug 529386 - optimize canvas.width = canvas.width) to fix orange. 2010-01-14 12:59:53 +01:00
Saint Wesonga
5d81ff915d Bug 529386 - optimize canvas.width = canvas.width. r=vlad 2010-01-14 11:45:57 +01:00
Robert O'Callahan
9778f1c9c6 Bug 366283. Enable canvas tests for correct compositing operators. 2010-01-07 13:55:08 +13:00
Robert O'Callahan
39ec4fde08 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
a8dbceb4f6 Bug 366283. Enable/disable shadows correctly as per spec. r=jrmuizel 2010-01-07 13:55:08 +13:00
Benjamin Smedberg
ce3386b2d4 Electrolysis-plugin-only bookkeeping commit. 2009-12-15 20:33:05 -05:00
Benjamin Smedberg
422b4b28d2 Merge mozilla-central into electrolysis. One code change was required: in nsDocShell::CreateStaticClone I replaced EnsureDocShell with MaybeCreateDocShell. 2009-12-12 13:38:25 -05:00
Benjamin Smedberg
767eb11cb4 Merge mozilla-central into electrolysis 2009-12-04 11:28:50 -05:00
Chris Jones
4a0c6ae1dc bug 525342: make IPDL dtors part of the destructed actor's protocol instead of the manager's. r=bsmedberg 2009-12-03 02:16:14 -06:00
Vladimir Vukicevic
4a9388f762 b=526957, use correct types 2009-12-02 13:38:39 -08:00
Mark Steele
6714e94c89 b=529717, change webgl object prefix to WebGL instead of Canvas; r=vlad 2009-12-02 13:38:39 -08:00
Mark Steele
4aacb4b100 b=526957; add array indexers to webgl arrays; r=vlad 2009-12-02 13:38:38 -08:00
jacek@codeweavers.com
e3e929e6b1 Bug 516213 - Fix webgl compilation on mingw. r=vlad 2009-12-02 13:38:38 -08:00
Benjamin Smedberg
737515b2c8 Merge mozilla-central into electrolysis. 2009-11-19 12:41:46 -05:00
Vladimir Vukicevic
65e9728bf5 b=525673; not repainting correctly on canvas animation; r=roc 2009-11-18 12:55:59 -08:00
Mark Steele
87b01b3cfc b=526185, [webgl] accept WebGLArrays instead of JS arrays in texImage2D; r=vlad 2009-11-18 12:42:35 -08:00
Mark Steele
63bf2da952 b=526017, [webgl] collapse state query calls; r=vlad 2009-11-18 12:42:35 -08:00
L. David Baron
4ee286e827 Call RuleMatched method on CSS rules when they are matched. (Bug 522595) r=bzbarsky 2009-12-11 08:13:19 -08:00
Boris Zbarsky
99027aa785 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
e9f228c7d5 Backing out bug 525608 and bug 525952 2009-12-10 18:28:08 -08:00