Commit Graph

4501 Commits

Author SHA1 Message Date
Chris Double
bb7c2f1d03 Bug 560806 - No duration or seeking on Ogg video URL's that redirect - r=roc (CLOSED TREE) 2010-04-22 12:32:52 +12:00
Chris Double
39352b97f4 Bug 551277 - Replace liboggplay YUV to RGB color conversion code - r=roc 2010-04-19 13:17:06 +12:00
Ms2ger
442cd7503b Bug 557840. Drop support for 'hspace' and 'vspace' on <canvas> elements. r=smaug,sr=sicking 2010-04-23 14:53:09 +12:00
Robert O'Callahan
47949eb981 Bug 550330. Try harder to find a document with a layer manager that we can use to create our ImageContainer. r=mats 2010-04-23 12:26:38 +12:00
Neil Deakin
ceb1712f98 Bug 418521, improve the way focus indicators are displayed to correlate better with system behaviour, add -moz-focusring property to apply only when focus rings should be drawn, r=dao,jmathies,dbaron sr=neil 2010-04-21 10:53:42 -04:00
Masayuki Nakano
53ce892306 Bug 544277 IME became unusable when switching focus on Gmail RTF Editor r=enn 2010-04-21 22:13:08 +09:00
Olli Pettay
0640f45817 Bug 559311 - [HTML5] nsContentUtils::CreateContextualFragment doesn't cache HTML5 parser properly, r=hsivonen 2010-04-21 14:53:57 +03:00
Karl Tomlinson
694a01717f backout e1e1143be432 due to reftest failure in layout/reftests/bugs/393760-1.xml b=552044 2010-04-21 17:21:36 +12:00
Frédéric Wang
595bff0aa9 Bug 552044 - [MathML 3] Add support for mathcolor/mathbackground on any presentation MathML element. r=karlt
--HG--
extra : rebase_source : 62c2006154e8a89e18d8125ddec4978f6ffdfba2
2010-04-21 15:41:06 +12:00
Karl Tomlinson
40600ec5f2 b=560011 only assert !eSynthesized for NS_MOUSE_EVENT r=smaug
--HG--
extra : rebase_source : ce1d5f5ad006be162471155cab300a49b7a12f93
2010-04-21 14:51:47 +12: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
Jonas Sicking
1a83956b1c Bug 518110: Kill HTMLBaseFontElement interface and HTMLHeadElement.profile. Also merge nsHTMLHeadElement and nsHTMLHtmlElement into nsHTMLSharedElement. r=jst
--HG--
extra : rebase_source : 651aeed4f884405ffd980b3b74a0dbb21f931156
2010-04-19 12:06:00 -07:00
Olli Pettay
00eb3e8d19 Backout Bug 559311 for now 2010-04-19 16:21:19 +03:00
Neil Deakin
16e62a0020 Bug 545714, consolidate dropped link handlers into one single component and use it for security checking, r=mano,neil,sr=sicking 2010-04-18 14:27:18 -04: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
Sergey Reymerov<sergeyreym@gmail.com>
6ba412f99b Bug 469717 - Crash when using xf:delete followed by xf:send, r=peterv 2010-04-18 10:35:53 +09:00
Johnny Stenback
c61e5af484 fixing bug 558944. Don't do atomic incr/decr in nsNodeInfoManager, which isn't thread-safe anyways. r=jonas@sicking.cc 2010-04-15 15:18:22 -07:00
Olli Pettay
79f6246f12 Bug 559526 - Moving a NodeIterator from its NodeFilter causes a crash, r=sicking
--HG--
extra : rebase_source : fc22f797ae28009752075c21a280647f042c886c
2010-04-16 21:45:13 +03:00
Timothy Nikkel
224192af2f Bug 502937. Part 3. Implement lazy frame construction. r=bzbarsky sr=roc 2010-01-18 03:26:40 -06:00
Timothy Nikkel
2323e2a038 Bug 502937. Part 2.5. Provide an API to get the flattened tree parent of an nsIContent. r=bzbarsky 2010-04-16 13:15:28 -05:00
Timothy Nikkel
3f76f48e84 Bug 502937. Part 2. Add bits to nsINode.h. r=bzbarsky sr=sicking 2010-01-18 03:26:28 -06:00
Timothy Nikkel
f0d3b50dfc Bug 502937. Part 1. Fix up a test. r=bzbarsky
--HG--
rename : content/xbl/test/test_bug398135.xhtml => content/xbl/test/test_bug398135.xul
2010-01-18 03:07:08 -06:00
Timothy Nikkel
c00189dcc3 Bug 502937. Part 0. Make sure onload blocker is in place with document.open(). r=bzbarsky 2010-01-18 03:07:08 -06:00
Olli Pettay
f49a1036af Bug 558148 - Optimize nsContentUtils::HasMutationListeners, r=sicking
--HG--
extra : rebase_source : f5e8a726afadcc0af75f32407849638badfb65b9
2010-04-16 12:05:25 +03:00
Olli Pettay
77e641332d Bug 558773 - Reduce virtual calls during event dispatch, r=jst
--HG--
extra : rebase_source : 120097522b111c637d11b2fb0cec071fbf927f95
2010-04-16 12:04:41 +03:00
Olli Pettay
f61e2208ef Bug 557892 - Crash [@ nsGenericElement::SetAttr], r=sicking
--HG--
extra : rebase_source : 55eae64fcad1d2ad4343b5ac0e70a26e67021722
2010-04-15 14:07:30 +03:00
Olli Pettay
09746cd281 Bug 559311 - [HTML5] nsContentUtils::CreateContextualFragment doesn't cache HTML5 parser, r=hsivonen 2010-04-15 12:40:30 +03:00
Olli Pettay
38d20b75c6 Bug 558795 - speed up nsEventTargetChainItem (de)allocation, r=jst 2010-04-15 12:38:32 +03:00
Mats Palmgren
dcb7d49aa0 Test for bug 558726. 2010-04-14 16:55:21 +02:00
Geoff Lankow
9f6ee2918a Skip -moz-user-select=none only when copying. Follow-up to bug 166235. b=558726 r=roc 2010-04-14 16:55:16 +02:00
Ms2ger
4581294096 Bug 559024 - SVGStyleElement.media and SVGStyleElement.title setters do not work. r=jwatt 2010-04-14 10:30:55 +01:00
Robert Longson
eb179fd968 Bug 456286 - support altGlyph elements as tspans. r=roc 2010-04-13 09:58:09 +01:00
Daniel Holbert
0e8a67a7ec (no bug, comment-only) Remove duplicate "nsIContent methods" header-comment in nsSVGAnimationElement.cpp 2010-04-12 16:50:35 -07:00
Julian Seward
4a8eff8ae8 Bug 547964 - r=dbaron
--HG--
extra : rebase_source : 88834502ab1cdac1aa7dac9557ee1aa40ccc354f
2010-04-12 11:53:59 -04:00
Timothy Nikkel
d0c1cab2a9 Bug 553366. When flushing, make sure to flush external documents too. r=bzbarsky 2010-04-10 13:03:40 -05:00
Jesse Ruderman
8255751882 Add crashtests 2010-04-11 16:59:47 -07:00
Ehsan Akhgari
af32591ddc Bug 221820 - Part 4: Fix the newline handling for text fields without an editor; r=bzbarsky 2010-02-22 16:15:56 -08:00
Ehsan Akhgari
5423b1af2f Bug 221820 - Part 2: Make the editor initialization lazy (initialize only when needed); r=bzbarsky 2010-02-02 10:49:55 -05:00
Ehsan Akhgari
05b0ede6fb Bug 221820 - Part 1: Call EnsureEditorInitialized from all places where editor needs to exist; r=bzbarsky 2010-02-01 23:00:12 -05:00
Jesse Ruderman
8c5e3d85e8 Remove exponential document.write test. parser/htmlparser/tests/crashtests/197052-1.html tests what we actually want to test; this test just takes a long time. See bug 469626. 2010-04-11 16:41:09 -07:00
Chris Pearce
2c49cfe6ca Bug 557432 - Don't Shutdown() nsAudioStream in Drain() when there's no audio playing. r=kinetik 2010-04-12 10:26:34 +12:00
mounir.lamouri@gmail.com
2a7d18aaa1 Bug 555711 - nsAttrValue::ParseNonNegativeIntValue should return PR_FALSE when the value is not valid, r=smaug 2010-04-11 17:12:51 +03:00
Timothy Nikkel
751acd36a6 Merge backout of 761790684f3b (Bug 553366) for suspicion of causing tsvg_opacity regression. 2010-04-10 21:53:23 -05:00
Timothy Nikkel
2dddd62f0b Backout 761790684f3b (Bug 553366) for suspicion of causing tsvg_opacity regression. 2010-04-10 21:52:53 -05: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
Brandon Sterne
674aa49910 Bug 515797: Allow necko to create channels that are aware of Content Security Policy. r=jduell, sr=biesi 2010-04-10 16:08:21 -04:00
Geoff Lankow
d0d55901fd Bug 166235: moz-user-select = 'none' should prevent copying to the clipboard. r=mats 2010-04-10 16:05:58 -04:00
Timothy Nikkel
4b586a06c3 Bug 553366. When flushing, make sure to flush external documents too. r=bzbarsky 2010-04-10 13:03:40 -05:00
Masayuki Nakano
2e04f8ba90 Bug 543398 Drop nsTextEventReply and nsIPrivateCompositionEvent r=smaug, sr=roc 2010-04-10 18:24:35 +09:00
Ben Newman
9ec1c1de7b Bug 552110 - Use of deleted object by NodeIterator using NodeFilter which called detach. r=sicking sr=jst 2010-04-09 18:36:40 -07:00
Johnny Stenback
c95863bc0a Fixing bug 534666. Limit the length of a string in a text fragment. r=jonas@sicking.cc, sr=mrbkap@gmail.com 2010-04-09 15:55:11 -07:00
Peter Van der Beken
2bcc2547ea Fix for bug 554255 (Limit resource use to something sane). r=sicking, sr=jst. 2010-04-09 18:59:09 +02:00
Chris Pearce
3c796bbaa4 Bug 557432 - Commit backout. 2010-04-09 16:33:54 +12:00
Chris Pearce
829a353113 Bug 557432 - Backed out changeset b64df24f4910 2010-04-09 16:33:07 +12:00
Chris Pearce
c897a92364 Bug 557432 - Lock the audio stream while getting it's played duration. r=doublec 2010-04-08 20:16:02 +12:00
Justin Dolske
f72ceb215b Bug 544597 - Remap plugin names to a more readable form for plugin-crashed UI. r=gavin, r=jst 2010-04-08 00:45:00 -07:00
Daniel Holbert
465b1bf745 (no bug) Fix typo in header comment for nsSVGPathDataParser.h: s/nsIDOMPathSeg/nsIDOMSVGPathSeg/. rs=roc 2010-04-08 15:09:14 -07:00
Felipe Gomes
3a5e3b045a Bug 489127 - nodesFromRect required for better usability on mobile devices (part 4) [r=roc] 2010-04-07 20:31:26 -04:00
Robert Longson
24c35dec9d Bug 556808 - ASSERTION: unknown nsISVGValue: Not Reached, when appending segment to SVG path. r=jwatt 2010-04-08 18:18:58 +01:00
Robert Longson
6d504862c2 Bug 553905 - data parser should parse up to a failure and not scrap the whole path. r=jwatt 2010-04-08 09:58:04 +01:00
Chris Pearce
35603f868d Bug 557095 - Video FPS calculation in 64bit to avoid aborting on overflow. r=doublec 2010-04-08 20:16:02 +12:00
Blake Kaplan
2142830c49 Bug 527102 - Try to prevent timeouts by splitting this test up. r=sicking
--HG--
extra : rebase_source : 73ef1f468e6ce257212bbdd9072c61d44a890e1f
2010-04-06 17:05:19 -07:00
Ben Turner
ba2cd42a88 Bug 553128 - 'Add better support for typed arrays in structured clone'. r=vlad+jst+jorendorff. 2010-04-07 13:55:12 -07:00
Serge Gautherie
5e7268b09c Bug 378829 - "ASSERTION: Creation of FunctionCall failed" with XPath "z()"; (Av1) Remove bogus assertion.
r=jonas.
2010-04-07 20:03:36 +02:00
Oleg Romashin
baece4fff9 Bug 556850 - WebGL compilation busted for Qt builds. r=vladimir 2010-04-07 03:53:18 -04:00
Ehsan Akhgari
2989d30bcc Merge backout of bug 221820 2010-04-06 21:10:47 -04:00
Ehsan Akhgari
a7ebcd12b9 Back out the editor lazy inititialization patches (bug 221820) to try to solve the orange in bug 557689 2010-04-06 21:08:58 -04:00
L. David Baron
519717b298 No need to null-check aRuleWalker. (Bug 557154) r=bzbarsky 2010-04-06 15:32:51 -07:00
Daniel Holbert
522a227913 Bug 555026: In SMIL animation, ignore keyTimes attr when in paced calcMode. r=roc 2010-04-06 14:39:29 -07:00
Ehsan Akhgari
862eb9644f Bug 221820 - Part 4: Fix the newline handling for text fields without an editor; r=bzbarsky
--HG--
extra : rebase_source : 92d9e491351a6183f0232604cd989c14d10d5fad
2010-02-22 16:15:56 -08:00
Ehsan Akhgari
36c7ad5a5a Bug 221820 - Part 2: Make the editor initialization lazy (initialize only when needed); r=bzbarsky
--HG--
extra : rebase_source : bf84341934b14c78fadc162607721e9325673fc4
2010-02-02 10:49:55 -05:00
Ehsan Akhgari
0170b6dede Bug 221820 - Part 1: Call EnsureEditorInitialized from all places where editor needs to exist; r=bzbarsky
--HG--
extra : rebase_source : 91df07eb7a6a52c35d8f4d52212663045450b95a
2010-02-01 23:00:12 -05: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
Peter Van der Beken
fd4084623b Fix for bug 519614 (Having to QI javascript scriptable helpers to nsIXPCScriptable is silly). r=mrbkap.
--HG--
extra : rebase_source : 10d46903d75cecff0f47f3bd483f849ea740e446
2009-09-28 23:00:35 +02:00
Peter Van der Beken
b4a6d86739 Fix for bug 548463 (Disallow adopting node into a different document from adoptNode). Followup to fix review comment. r=sicking.
--HG--
extra : rebase_source : 17e76edd8961a31ab5da2ef3aa3dd8a08326f1e6
2010-03-18 21:03:52 +01:00
felipc@gmail.com
33b5d6a951 Bug 547996 - Be able to tell when a click was generated by a tap on the screen, r=smaug,jimm, sr=jst 2010-04-06 15:59:24 +03:00
Chris Double
37b2e3b033 Bug 551277. Backed out changeset f9a11b9b2b9f 2010-04-06 18:10:02 +12:00
Chris Double
e762926f9d Bug 551277 - Implement software YCbCr conversion in layers, replacing liboggplay color conversion code - r=roc
--HG--
extra : rebase_source : 53b2c194aa6eb75a4751efdd83f066d3aeadf5d7
2010-04-06 12:07:39 +12:00
Robert Sayre
5927f9eed6 Merge tracemonkey to mozilla-central. 2010-04-05 13:17:29 -04:00
Daniel Holbert
349c8a3d2a Bug 556841: In paced-calcMode SMIL animation, don't bother computing distance in trivial 2-values case. r=roc 2010-04-05 09:59:42 -07:00
Robert Sayre
744599315f Merge mozilla-central to tracemonkey. 2010-04-04 14:15:05 -04:00
Laurent Jouanneau
80bbbfa384 bug 549295 - html serializer should not wrap by default. r=Olly sr=Boris 2010-04-03 14:51:17 +02:00
Masatoshi Kimura
87b17f9962 Bug 463104: elementFromPoint should accept floating point coordinates. r=bz 2010-04-03 07:34:24 -04:00
L. David Baron
c6cfc1d0a4 Fix existing tests to deal with getComputedStyle lying about :link vs. :visited. (Bug 147777) r=sdwilsh 2010-04-02 18:58:25 -07: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
Chris Pearce
62ed5c8db0 Bug 531340 - Bustage fix on comm-central. r=bustage-fix 2010-04-02 17:03:12 -07:00
Daniel Holbert
66f88aa64e Bug 556900: Fix GCC warnings in nsOggPlayStateMachine.cpp. r=cpearce 2010-04-02 16:47:18 -07:00
Daniel Holbert
4a8e1281a9 Bug 556897: Fix GCC warnings "FOO will be initialized after BAR when initialized here" in content/media/ogg/. r=cpearce 2010-04-02 16:47:15 -07:00
Robert Sayre
404189ee98 Merge mozilla-central to tracemonkey. 2010-04-02 10:10:27 -04:00
Chris Pearce
0d671d68ee Bug 531340 - AudioLoop() fix; don't dereference nsAutoPtr after forget(). r=bustage-fix 2010-04-01 23:53:38 -07:00
Mats Palmgren
57a4d3a783 Bug 383488: don't accept trailing tokens in 'value' in style.setProperty(prop,value,"important"). r=dbaron 2010-04-01 23:07:40 -07:00
Chris Pearce
99f6865d5e Bug 531340 - Fix wait-on-audio-queue-empty condition in ogg decoder audio playback loop. r=doublec 2010-04-01 22:19:35 -07:00
Chris Pearce
810ae51b7a Bug 531340 - New Ogg video decoder. r=doublec sr=roc 2010-04-01 20:03:07 -07:00
Masayuki Nakano
aca40e999f Bug 556458 Cannot select an item of google suggest by mouse click during composition of MS-IME r=roc 2010-04-02 11:11:59 +09:00
Ms2ger
a267b872ba Bug 554707. Throw the right exception when document.open/close/write/writeln happen on an XHTML document. r=bzbarsky 2010-04-01 22:09:05 -04:00
Robert Sayre
c8c02b70fc Merge mozilla-central to tracemonkey. 2010-03-31 12:47:53 -07:00
Zack Weinberg
8ad7ae46d4 Bug 508466 part 1: Refactor nsCSSParser::ParseSelector and nsCSSParser::ParseSelectorGroup for clarity. r=dbaron 2010-03-31 11:08:08 -07:00
Robert Sayre
cd70d71b16 Fix merge bustage. 2010-03-31 08:21:07 -07: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
Shawn Wilsher
d3c3fdfb7a Fix comments on Get[ASCII|UTF]Origin. No bug. r=bz 2010-04-02 09:43:14 -07:00
Daniel Holbert
84c8cc58ba Bug 556404: Put CSS parser in SVG mode when parsing SMIL animation endpoints for XML attributes. r=roc r=dbaron 2010-04-02 09:34:31 -07:00
Daniel Holbert
74e8e98856 (no bug) Remove method-declaration for unused & undefined function "UpdateValuesArray" in nsSMILAnimationFunction. (no review; one-liner, removing unused code) 2010-04-02 09:34:30 -07:00
Olli Pettay
f2f7c2cdc0 Additional fix for Bug 536092 2010-03-31 16:50:05 +03:00
Craig Topper
1921815643 Bug 253889: DeCOMtaminate nsIPresShell - IsPaintingSuppressed(). r=roc
--HG--
extra : rebase_source : 9ee8283e8bce33402893ae5316f89c9f699a1236
2010-03-31 08:43:49 -04:00
Craig Topper
a31830c001 Bug 253889: DeCOMtaminate nsIPresShell - GetEventTarget[Frame|Content](). r=roc
--HG--
extra : rebase_source : aa059747dc2b24360fd8429fbd7fd21077ecbfa4
2010-03-31 08:43:01 -04:00
Craig Topper
7b89b159bb Bug 253889: DeCOMtaminate nsIPresShell - GetCaret(). r=roc
--HG--
extra : rebase_source : 2a05050d8cbb10dd3bb763d5d5a158cc5f3dd814
2010-03-31 08:39:31 -04:00
Olli Pettay
e425b81efd Bug 536092 - Micro optimizations for event handling, r=jst
--HG--
extra : rebase_source : d34faef862a532109f05750ccb7220bd1ddf6e19
2010-03-31 15:44:18 +03:00
Blake Kaplan
7fa2e3d1ad Bug 555109 - Reparent wrappers harder. r=jst, sr=peterv. 2010-03-31 13:45:46 +02:00
Peter Van der Beken
a815b0502f Fix for bug 556241 (HTMLContentSink needs to participate in cycle collection). r=jst. 2010-03-31 13:35:20 +02:00
Craig Topper
faf3e638bb Bug 555888 - Convert nsCOMPtr<nsPresContext> to nsRefPtr<nsPresContext>. r=roc
--HG--
extra : rebase_source : fd3a575d23d76c0adeed53ae6b83268484988014
2010-03-31 13:09:11 +02:00
Vladimir Vukicevic
e50b68c1f6 b=548200; incorrect static array size; r=joe,sr=roc 2010-04-01 14:36:26 -07:00
Daniel Holbert
b8718e9faa Bug 551298, patch D: Use NS_INLINE_DECL_REFCOUNTING in /content/ directory. r=sicking 2010-04-01 11:05:40 -07:00
Daniel Holbert
f055328561 Bug 551298, patch B: Replace uses of THEBES_INLINE_DECL_REFCOUNTING with NS_INLINE_DECL_REFCOUNTING. r=roc 2010-04-01 11:05:40 -07:00
Daniel Holbert
2c959d12e8 Backed out changeset 29bc09de2f77 (Bug 551298) due to Linux debug mochitest-5 orange 2010-04-01 09:38:53 -07:00
Daniel Holbert
bf4331f880 Bug 551298, patch B: Replace uses of THEBES_INLINE_DECL_REFCOUNTING with NS_INLINE_DECL_REFCOUNTING. r=roc 2010-04-01 08:08:51 -07:00
Daniel Holbert
3c78e0e4b3 Bug 556005: Remove unused variable 'rv' from nsXULDocument.cpp. r=bz 2010-04-01 08:07:22 -07:00
Jesse Ruderman
7e6ad6b78a Add tests to manifest. (Homeless tests identified by script in bug 551617.) 2010-03-31 20:17:35 -07:00
Ehsan Akhgari
7147e0f1c4 Bug 555851 - nsHTMLFragmentContentSink::AddTextToContent is dead code; r=jst 2010-03-31 17:44:47 -04: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
Makoto Kato
0736aa6001 Bug 182954 - Content should use the newer nsIPrefService APIs instead of nsIPref. r=neil,bzbarsky 2010-03-13 22:23:27 +09:00
Robert Longson
7f73b235c7 Bug 510202 - simplify C++ code now that bug 461199 has landed. r=sdwilsh,sr=bzbarsky 2010-03-13 10:32:19 +00:00
Jonas Sicking
986107fb30 Bug 549452: Clean up nsGlobalWindow::SetNewDocument. r=mrbkap sr=jst
--HG--
extra : rebase_source : 1e13da2a339089ccf17b8cf9f41d59e188aa8165
2010-03-12 16:59:18 -08:00
Joel Maher
54bd749a31 Bug 544097 Fixing CSP Tests to work with these changes. r=waldo, geekboy p=jmaher. Landed on CLOSED TREE 2010-03-12 13:53:37 -08:00
Joel Maher
64cc671e70 Bug 544097 Fixing up leaktest and profileserver tests to run with these changes r=ctalbert p=jmaher. Landed on CLOSED TREE 2010-03-12 13:53:37 -08:00
Joel Maher
d050afae06 Bug 544097 Chaning mochitests to run against mochi.test instead of localhost r=ted, waldo, dwitte p=jmaher. Landed on CLOSED TREE 2010-03-12 13:53:36 -08:00
Daniel Holbert
a580a7b1bd merge 2010-03-11 23:11:22 -08:00
Daniel Holbert
563c185c57 Backed out changeset 68363c7a7f06 due to debug mochitest orange w/ abort_if_false failure 2010-03-11 23:11:09 -08:00
timeless@mozdev.org
c3bbdc001a Bug 494683 warning: comparison between signed and unsigned and incorrect initialization order
r=jst sr=jst

--HG--
extra : rebase_source : b216615bd1813d661496432f508bb2755aa55877
2010-03-12 07:50:13 +01:00
timeless@mozdev.org
5eb4371fee Bug 551091 fix signed warning because Count() is signed ...
r=jst

--HG--
extra : rebase_source : a54a095b0bd3e4150bc75985863d47c4b8fe9d73
2010-03-12 07:50:12 +01: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
Daniel Holbert
3565228251 Bug 541588: Hook up nsSMILAnimationController to nsRefreshDriver for scheduling samples. r=roc 2010-03-11 22:03:49 -08:00
Daniel Holbert
56c3c6778a Bug 537139 followup: Call RestyleForAnimation() instead of SMILOverrideStyleChanged(), to avoid triggering CSS Transitions from SMIL changes. r=dbaron 2010-03-11 22:03:49 -08:00
Daniel Holbert
fcceb020d5 Bug 551736: Add parens around right-shift, to fix compile warning and make sure we construct hash value correctly. r=sicking 2010-03-11 22:03:49 -08:00
L. David Baron
3e1af5b102 Fire assertions when guard objects are used as temporaries. (Bug 531460) r=jst 2010-04-04 11:15:18 -07: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
Andreas Gal
cef73f06e6 Don't include JS-engine internal header files in header files outside the JS engine (bug 549440, r=jst). 2010-03-04 16:17:05 -08:00
Kyle Huey
53dc79a0f8 Backing out Bug 253889 to fix Bug 555727. 2010-03-30 19:57:12 -04:00
Kyle Huey
afc6c6ca2d Backed out changeset 4b8936ac4a31 2010-03-30 19:56:44 -04:00
Robert Longson
11cc4a0089 Bug 388547 - initial support for x,y,dx,dy,rotate lists on SVG text and tspan elements. r=roc 2010-03-30 11:21:19 +01:00
Ginn Chen
955b6dba8c Bug 555669 CTypes.cpp failed to compile on Solaris r=sayrer 2010-03-30 14:29:59 +08:00
Craig Topper
6c9540a26d Bug 253889: More deCOMtamination of nsIPresShell. r=roc 2010-03-28 19:21:11 -04:00
Daniel Holbert
0421bbf64e Bug 555321: In nsSVGSVGElement::InvalidateTransformNotifyFrame, don't warn about 'wrong frame type' if we don't have a frame. r=jwatt 2010-03-26 20:55:30 -07:00
Daniel Holbert
d527d95aca Bug 555291: Replace multiple string-literals of SVG whitespace/comma delimeters with a single #define. r=jwatt 2010-03-26 20:55:28 -07:00
Henri Sivonen
a01214dc62 Test for bug 541937 - Make test_bug541937.html not fail when the HTML5 parser is enabled. r=laurent. 2010-03-26 15:51:28 +02:00
Robert O'Callahan
9a2ed61b34 Bug 551660. Switch layout code from using nsPropertyTable to FramePropertyTable. r=mats,sr=dbaron 2010-03-29 14:46:55 +13:00
Robert O'Callahan
87d4ca678d Bug 551637. collapseOffsetProperty is never used. r=mats 2010-03-29 14:46:13 +13:00
Robert O'Callahan
65a544dade Bug 551632. endsInDiacritic frame property is set but never used. r=smontagu 2010-03-29 14:46:13 +13:00
Robert Sayre
5cf27a725e Merge tracemonkey to mozilla-central. 2010-03-26 15:53:14 -07:00
Daniel Holbert
fe512e0b26 Bug 554804: Fix GetBaseValue in nsSMILCSSProperty and nsSVGTransformSMILAttr to benefit from return value optimization. r=jwatt 2010-03-26 12:24:13 -07:00
Daniel Holbert
8a432e2ae4 Bug 554687 patch 2: Use nsSMILValue::Swap instead of operator= where appropriate. r=roc 2010-03-26 12:24:07 -07:00
Daniel Holbert
f2b8035cd9 Bug 554687 patch 1: Add Swap() method for nsSMILValue. r=roc 2010-03-26 12:22:54 -07:00
Olli Pettay
fa43aded81 Bug 548185 - Crash on event.dataTransfer, r=enn 2010-03-25 22:38:53 +02:00
Daniel Holbert
9499e41e6d Backed out changeset a4178a154d16 due to PR_STATIC_ASSERT failure on ppc 2010-03-25 09:22:03 -07:00
Daniel Holbert
963196eba7 Bug 554687 patch 1: Add Swap() method for nsSMILValue. r=roc 2010-03-25 09:02:01 -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
Markus Stange
b5b991d41d Bug 554061 - Also check XBL stylesheets when determining whether a restyle is necessary when document state changes. r=dbaron 2010-03-25 10:22:58 +01:00
Chris Jones
7329573dd7 Bug 544936, part 6: Submit a browser minidump along with the plugin's, if we got one. r=dolske,gavin,josh 2010-03-24 16:22:04 -05:00
Theppitak Karoonboonyanan
a70764b887 Bug 353776 need the surrounding text support for some language input r=masayuki 2010-03-25 00:04:39 +09: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
Boris Zbarsky
d14db3049f Bug 530373 followup. Fix build bustage. 2010-02-22 15:13:19 -05: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
Frédéric Wang
8b46e8bd69 Bug 530275. Move more MIME types into nsMimeTypes.h so we don't have to hardcode the strings in various places. r=bzbarsky 2009-11-21 00:12:42 +01:00
Saint Wesonga
f78442c0ad Bug 523417 - "warning: invoking macro NS_ENSURE_SUCCESS argument 2: empty macro arguments are undefined in ISO C90 and ISO C++98" in DOM worker code. r=jst 2010-02-22 18:41:21 +01:00
Alexander Surkov
be2b5e3966 Bug 534527 - Accessibility needs new DOM API part 2, r=smaug, sr=bz 2010-02-20 16:52:50 -08:00
Daniel Holbert
1c36459f3b Bug 533291 Patch Z: Enable "don't recompose if we know our animated value can't have changed" optimization, and add tests. r=roc 2010-02-20 13:13:11 -08:00
Daniel Holbert
9123e91013 Bug 533291 Patch E: Add another outparam to nsISMILAttr::ValueFromString, to let us know whether we can re-use the parsed result in the future. r=roc 2010-02-20 13:13:11 -08:00
Daniel Holbert
abcd247e08 Bug 533291 Patch D: Cache base value with each SMIL compositor, since we need to recompose when base value changes. r=roc 2010-02-20 13:13:11 -08:00
Daniel Holbert
f2e36498c9 Bug 542670 Patch B: Add specialized implementations for nsISMILType::IsEqual. r=roc 2010-02-20 13:13:11 -08:00
Daniel Holbert
a9ff273b62 Bug 542670 Patch A: Add equality operator for nsSMILValue. r=roc 2010-02-20 13:13:11 -08:00
Daniel Holbert
6512adf203 Bug 533291 Patch C: When an inactive nsSMILAnimationFunction has changed, force its target to recompose during that sample. r=roc 2010-02-20 13:13:11 -08:00
Daniel Holbert
c85d4fe6db Bug 533291 Patch B: Add method nsSMILAnimationFunction::UpdateCachedTarget, to tell when an animation function's target has changed. r=roc 2010-02-20 13:13:11 -08:00
Daniel Holbert
b927b3d9ae Bug 533291 Patch A: Create classes nsSMILTargetIdentifier & nsSMILWeakTargetIdentifier, based on nsSMILCompositorKey. r=roc 2010-02-20 13:13:11 -08:00
Neil Deakin
65465d8068 Bug 528491, combine nsFocusController and nsWindowRoot, r=jst,sr=smaug 2010-02-20 11:07:03 -05:00
Justin Lebar
f7fb801ff8 Bug 519400: Speed up Canvas's [get|put]ImageData() r=vlad 2009-12-04 19:21:45 -08:00
Boris Zbarsky
78a74029ee Bug 547342 attempted fix. Since scrollToRow doesn't flush layout, and since layout is what sets up the tree view, and since scrollToRow bails out early if there's no view, make sure to flush layout before calling scrollToRow. But we should really consider fixing scrollToRow instead. 2010-02-19 23:35:17 -05:00
Daniel Holbert
2dad1d18f6 Followup to Bug 541884: Fix --disable-smil build bustage by moving SVGViewBoxSMILType.cpp within Makefile 2010-02-19 12:39:30 -08:00
Boris Zbarsky
fa4effe1c0 Bug 545927. Check for negative numbers before doing roman-numeral stuff. r=sicking 2010-02-19 12:11:40 -05:00
Jonathan Watt
20a0206062 Bug 541884 follow-up to use IsNull() instead of checking mPtr manually. r=dholbert 2010-02-19 13:28:23 +00:00
Ehsan Akhgari
9d92eb48f9 Merge backout of changeset 70b1ccb14325 2010-02-18 19:02:08 -05:00
Ehsan Akhgari
50f48242c4 Backed out changeset 70b1ccb14325 2010-02-18 18:52:12 -05:00
Jonathan Watt
f2e0136d80 Bug 540588. Add support for SMIL animation of <integer> attributes in SVG. r=dholbert 2010-02-18 21:51:00 +00:00
Jonathan Watt
232dae9b42 Bug 541884. Add support for SMIL animation of the viewBox attribute in SVG. r=dholbert 2010-02-18 21:51:00 +00:00
Jonathan Watt
d8f45843d9 Bug 545042. Add support for SMIL animation of <angle> attributes in SVG. r=dholbert 2010-02-18 21:50:59 +00:00
Ehsan Akhgari
8b4d5890e9 Bug 221820 - Part 1: Call EnsureEditorInitialized from all places where editor needs to exist; r=bzbarsky
--HG--
extra : rebase_source : 117d5f34a90941543a994107351eb0e34ae7308f
2010-02-01 23:00:12 -05:00
Daniel Holbert
4156ad402c Bug 546785: Fix function signature of nsSVGFE::DidAnimatePreserveAspectRatio() to match inherited method. r=jwatt 2010-02-18 12:16:37 -08:00
Timothy Nikkel
92355591c8 Bug 545593. Remove nsViewManager::Enable/DisableRefresh. r=roc 2010-02-18 13:23:23 -06:00
Shawn Wilsher
36b0a72a9d Merge for backout of changeset 1622d8dab8c3 2010-02-18 10:13:49 -08:00
Shawn Wilsher
8074dd15b2 Backed out changeset 1622d8dab8c3 2010-02-18 10:13:35 -08:00
Shawn Wilsher
a90af8bf6d Backed out changeset aeb2d5550890 2010-02-18 10:12:30 -08:00
Shawn Wilsher
9192e29456 Bug 461199 (Part 3) - Create a cached getter for mozilla::IHistory on nsContentUtils.
r=sicking
2009-11-09 10:00:53 -08:00
Shawn Wilsher
784c9db6e3 Bug 461199 (Part 5) - Add mozilla::dom::Link::LinkState
Adds a LinkState method that should be called by subclasses when they get asked
about their IntrinsicState.
r=sicking
sr=bz
2009-11-09 10:00:53 -08:00
Shawn Wilsher
c0d498ce5d Bug 461199 (Part 4) - Add NS_EVENT_STATE_UNVISITED that describes an unvisited link.
Add the new state so we can then just call IntrinsicState to determine the
visitedness of an nsIContent node.
r=bz
2009-11-09 10:00:53 -08:00
Julian Seward
84617e1046 Bug 549501 - nsCanvasRenderingContext2D::DrawImage redraws undefined rectangles. r=vlad 2010-03-11 07:43:20 +01:00
Masayuki Nakano
788bb1a791 Bug 315727 Request Firefox respond to Windows scroll messages so pages can be scroll captured r=jmathies+smaug, sr=roc 2010-03-11 14:25:29 +09:00
Daniel Holbert
7729445bee merge 2010-03-10 15:03:47 -08:00
Daniel Holbert
75d663e49c Backed out changeset 76abe26bf57c due to orange. 2010-03-10 15:03:34 -08:00
Daniel Holbert
91225f65c1 Bug 541588: Hook up nsSMILAnimationController to nsRefreshDriver for scheduling samples. r=roc 2010-03-10 12:33:37 -08:00
Daniel Holbert
269ef04f37 Bug 550975: In mochitests with SVG embedded in XHTML, move initial pauseAnimations call to <svg> onload handler. r=roc 2010-03-10 12:33:37 -08:00
Daniel Holbert
a5c6c0b995 Bug 551396: Remove unused helper-function GetURIHash from nsDocument.cpp. r=smaug 2010-03-10 12:33:37 -08:00
Saint Wesonga
9427e2d267 Bug 542930: Check return value of CallGetService in NativeJSContext.cpp. r=vlad 2010-03-10 12:32:40 -08:00
Frédéric Wang
d6904c21a4 Bug 475518 - MathML layout code should use _moz* attributes instead of -moz-* attributes. r=karlt, sr=bz
--HG--
extra : rebase_source : 34bb7055d4deaad9a0ee55aa40b9bcbdd19153ea
2010-03-10 13:49:33 +01:00
Olli Pettay
dbb6144442 Bug 549576 - Remove ::MaybeCC from XMLHttpRequest, r=peterv 2010-03-10 12:51:21 +02:00
Mark Banner
1fa876e743 Backout changes to .jar files missed from previous backout of bug 544097 2010-03-10 09:51:28 +00:00
Brad Lassey
bb55fe310f backing out changesets e939397fc6a5, 88529662c474 and 3d7c54b194bb due to random hangs in pgo tests 2010-03-09 22:33:11 -05:00
Shawn Wilsher
b0848a76f8 Forgot to update the test names in reftest.list files (bug 550661). 2010-03-09 12:55:47 -08:00
Shawn Wilsher
cb211422b2 Bug 550661 - Adding href attribute doesn't add link styling
r=bz

--HG--
rename : content/html/content/reftests/href-attr-removal-restyles-ref.html => content/html/content/reftests/href-attr-change-restyles-ref.html
rename : content/html/content/reftests/href-attr-removal-restyles.html => content/html/content/reftests/href-attr-change-restyles.html
rename : layout/reftests/svg/href-attr-removal-restyles-ref.svg => layout/reftests/svg/href-attr-change-restyles-ref.svg
rename : layout/reftests/svg/href-attr-removal-restyles.svg => layout/reftests/svg/href-attr-change-restyles.svg
2010-03-09 10:21:25 -08:00
Joel Maher
661862b905 Bug 544097 changing mochitests to use mochi.test instead of localhost for windows mobile refactoring p=jmaher, r=ted,dwitte, sayrer, waldo, ctalbert 2010-03-09 08:55:39 -08:00
Joel Maher
aef3dc32c3 Bug 544097 changing mochitests to use mochi.test instead of localhost for windows mobile refactoring p=jmaher, r=ted,dwitte, sayrer, waldo, ctalbert 2010-03-09 08:55:39 -08:00
Karl Tomlinson
4ae5415e56 b=544211 preparation for handling synthesized button-up events for ending element pointer capture r=smaug 2010-03-24 16:36:27 +13:00
Laurent Jouanneau
c695ba905c fixed orange tests on windows for bug 541937 2010-03-24 00:00:58 +01:00
Ehsan Akhgari
ad8c4e400f Bug 554230 - Crash [@ nsCopySupport::CanCopy][@ nsCopySupport::CanCopy(nsIDocument*) ]; r=jst 2010-03-23 17:10:44 -04:00
Laurent Jouanneau
ebf772c85a Bug 541937 - XMLSerializer should serialize content of link tags. r=Olli.Pettay sr=bzbarsky 2010-03-23 21:55:39 +01:00
Ehsan Akhgari
6555c1a0bd Bug 554125 - Add <audio> and <video> to the list of white-listed elements for the paranoid content sink; r=jst 2010-03-23 14:36:45 -04:00
Robert Longson
0f85e4e1d7 Bug 554091 - negative rx and ry are unsupported rather than errors according to SVG1.2T. r=jwatt 2010-03-23 12:53:36 +00:00
Henri Sivonen
629a0e668d Bug 543458 - Make the HTML5 tree op executor use nsContentSink code for deciding when to return to the event loop. r=bnewman.
--HG--
extra : rebase_source : fa41825753811279070d232c7d467600d7b2d523
2010-02-26 11:18:38 +02:00
Daniel Holbert
93fa4b366b Bug 550593: Make nsISMILType::Init infallible, and return |void| instead of |nsresult|. r=roc 2010-03-22 11:57:36 -07:00
Ms2ger@gmail.com
d6bc4e12a7 Bug 553896 - Node.isEqualNode(null) shouldn't throw. r=smaug 2010-03-22 17:06:57 +01:00
Markus Stange
5fb3e948bb Bug 508482 - Window activation status should be a pseudoclass (:-moz-window-inactive) instead of an attribute. r=dbaron, r+sr=jst 2010-03-17 18:10:57 +01:00
Daniel Holbert
199de9f2f6 Bug 541588 subpatch 2: Use nsRefreshDriver instead of nsITimer to schedule sample callbacks for nsSMILAnimationController. r=roc 2010-03-21 23:42:53 -07:00
Daniel Holbert
86b96a0164 Bug 553075: Don't register for periodic SMIL sample callbacks until we've got some animations registered. r=roc 2010-03-21 12:22:36 -07:00
Daniel Holbert
67790a756e merge 2010-03-20 22:54:27 -07:00
Daniel Holbert
306b46d487 Backed out changeset 665b48fbfd28 (bug 553075) to see if it was responsible for 1% SVG/DHTML regressions on Win7. 2010-03-20 22:54:12 -07:00
Craig Topper
a956b85435 Bug 253889: DeCOMtaminate nsIPresShell r=roc 2010-03-20 17:54:19 -04:00
Serge Gautherie
08c4957b0e Bug 553807 - "ASSERTION: Value of subject is not set: 'subjectValue', file .../nsRDFBinding.cpp, line 286"; (Av1) Remove silly assertion.
r=enndeakin.
2010-03-20 18:45:32 +01:00
Daniel Holbert
122635caaa Bug 553075: Don't register for periodic SMIL sample callbacks until we've got some animations registered. r=roc 2010-03-18 22:33:12 -07:00
Masayuki Nakano
bb7a62d1cf Bug 528396 Create XP level IME transaction tests r=roc+mats, sr=jst 2010-03-19 14:02:53 +09:00
Daniel Holbert
2c217de78c Bug 541588 subpatch 1: Change method signatures in nsSMILAnimationController, and subclass nsRefreshObserver. r=roc 2010-03-18 21:14:40 -07:00
Timothy Nikkel
af492ec4ee Bug 553369. If there is no PresShell/Context in nsHTMLInputElement::Click try flushing to get one. r=roc 2010-03-18 18:08:27 -05:00
Mats Palmgren
1b3dbe3473 Disable broken test for bug 299673. Fixing bug 553344, bug 524361 and bug 521355. Filed bug 553417 to write a new test. 2010-03-18 23:25:31 +01:00
Peter Van der Beken
75418d48ea Rev IID (follow-up from bug 540848).
--HG--
extra : rebase_source : 193c4ec222412dc014b850002078d060ec0227e0
2010-03-18 19:26:30 +01:00
Laurent Jouanneau
c35d5e878d fixed a failed test under windows, about bug 524975 2010-03-18 18:09:32 +01:00
Laurent Jouanneau
8b9930f133 Bug 545644 - Regression: HTML 'nbsp' entity is not handled correctly in xHTML mode. r=Olli sr=Jonas 2010-03-18 17:07:32 +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
Peter Van der Beken
68a0d4625a Fix for bug 552712 (Remove some NS_DEFINE_CLASSINFO_DATA_WITH_NAME use). r=jst.
--HG--
extra : rebase_source : 0e4b74d5c731a2bdff8da75f9c4edf6757c8b355
2010-03-17 16:09:01 +01:00
Peter Van der Beken
3e3654ffca Fix for bug 540848 (Add appendChild/insertBefore/replaceChild/removeChild on nsINode). r=bz.
--HG--
extra : rebase_source : 4550ff196ab5fd1acbc72e7c94b7a31d073ae5dd
2010-03-17 16:06:19 +01:00
Peter Van der Beken
6469f57d89 Fix for bug 548463 (Disallow adopting node into a different document from adoptNode). r=sicking.
--HG--
extra : rebase_source : 5c00c3b6c65491997984d216f5c61052ccc0a77b
2010-03-17 15:40:35 +01:00
Peter Van der Beken
a1e02e2b1a Fix for bug 528518. r=sicking.
--HG--
extra : rebase_source : 03356a1a2bfa82d86445e94b9e0acb3f76c48600
2010-03-17 15:38:09 +01:00
Laurent Jouanneau
1e0fdf7cfa Bug 524975 - Copy-Paste of simple HTML adds extra space not present in original content. additionnal tests. r=Olli Pettay 2010-03-18 16:19:36 +01:00
Daniel Holbert
9ce0b48605 merge after backing out bug 541588 2010-03-18 07:58:33 -07:00
Daniel Holbert
82534e711d Backed out changeset 59f507847beb (bug 541588) to see if it was responsible for minor SVG perf regression. 2010-03-18 07:58:09 -07:00
Robert Longson
b4884958db Bug 552830 - Should not force rx=ry for a rect by clamping if one is omitted. r=jwatt 2010-03-18 12:14:38 +00:00
Chris Double
a08cc6948d Bug 515001 - Open media channels with BYPASS_LOCAL_CACHE_IF_BUSY. r=roc 2010-03-18 16:00:18 +13:00
Chris Pearce
eb771c80cf Bug 528566 - Invoke resource selection algorithm upon new Audio(url). r=chris.double 2010-03-18 16:00:18 +13:00
Daniel Holbert
97312ef359 Bug 541588: Hook up nsSMILAnimationController to nsRefreshDriver for scheduling samples. r=roc 2010-03-17 01:54:20 -07:00
Matthew Gregan
4c294e0cbd Bug 552578 - Remove unnecessary timeout in frame queue wait to avoid spinning unnecessarily. r=chris.double 2010-03-16 13:58:27 +13:00
Justin Dolske
1db3f5a1ce Bug 550293 - plugin-crashed UI needs more user opt-in. r=vlad, ui-r=faaborg 2010-03-16 22:10:08 -07:00
Blake Kaplan
b864f5d776 Try to fix bustage. r=sicking
--HG--
extra : rebase_source : ccb2ce8b02c859b364fe4c71e3b9b3525b67ee99
2010-03-16 19:30:24 -07:00
Robert O'Callahan
59f17b52c3 Bug 538323. Part 2: use ImageLayers to render video. r=kinetik 2010-03-02 12:41:49 +13:00
Robert O'Callahan
c11d039a6b Bug 538266. Part 3: move nsSVGUtils::GfxRectToIntRect to nsLayoutUtils. r=mats 2010-03-02 12:08:28 +13:00
Blake Kaplan
efb0109f58 Fix bug 552090. r=sicking sr=jst 2010-03-16 16:23:45 -07:00
Daniel Holbert
34e1971c44 Bug 534028, Patch D: Tests for smil animation of mapped attributes. r=roc
--HG--
rename : content/smil/test/test_smilCSSFromBy.xhtml => content/smil/test/test_smilMappedAttrFromBy.xhtml
rename : content/smil/test/test_smilCSSPaced.xhtml => content/smil/test/test_smilMappedAttrPaced.xhtml
2010-03-16 16:17:33 -07:00
Daniel Holbert
52f0b1c7e3 Bug 534028, Patch C: Support SMIL animation of SVG attributes that are mapped to CSS properties. r=roc 2010-03-16 16:17:33 -07:00
Daniel Holbert
017831a213 Bug 534028, Patch B: Add "MappedAttrParser" class to simplify parsing values for mapped attributes. r=dbaron 2010-03-16 16:17:32 -07:00
Daniel Holbert
1b7f3ee4bc Bug 534028, Patch A: Make nsIContent::GetAnimatedAttr()'s nsIAtom argument non-const. r=roc 2010-03-16 16:17:32 -07:00
Daniel Holbert
e0134144b0 Remove two unused variables in nsCSPService.cpp, to fix build warning & trigger another build cycle & hopefully clear some red during CLOSED TREE 2010-03-16 13:21:09 -07:00
Ehsan Akhgari
c8c9e7615a Bug 549887 - Abort if the Places history service is unavailable; r=dbaron
--HG--
extra : rebase_source : dcf410b4cc4e86acbb5bbfac4f326103519b9e45
2010-03-15 11:14:28 -04:00
Ehsan Akhgari
21485ce94f Bug 458037 - Implement isContentEditable; r=bzbarsky sr=roc
--HG--
extra : rebase_source : fdcbc217e41e8c1a43bfd7c41a8cc6c6169c588f
2010-03-10 14:10:09 -05:00
Neil Rashbrook
724e883076 Bug 518249 Disabling the test on the Mac because we don't know why it crashes r=orange 2010-03-15 16:56:47 +00:00
Henri Sivonen
789bbf8cb8 Bug 490665 - Implement HTML5-compliant isindex form submission. r=jonas.
--HG--
extra : rebase_source : 2075bc59ce711e29718eac8bb0e1b8867e291a53
2010-03-11 14:29:51 +02:00
Henri Sivonen
2c15d29366 Bug 541078 - Turn editing off in BeginLoad(). r=bzbarsky.
--HG--
extra : rebase_source : 8bb4f1acfb1659d55f48651ff5e236c964c2d01e
2010-03-12 12:29:46 +02:00
Neil Rashbrook
bc7faca581 Bug 518249 Adding test r=karlt
--HG--
rename : content/base/test/test_copypaste.html => content/base/test/test_copyimage.html
2010-03-15 11:59:49 +00:00
Matthew Gregan
e8a95ea783 Bug 525401 - Make ready state transitions initiated by the decode thread more reliable by including the new state in the event. Fixes an ABA problem where we could play through without ever moving beyond HAVE_CURRENT_DATA. r=chris.double 2010-03-15 12:46:38 +13:00
Matthew Gregan
2b946b158b Bug 525401 - Resynchronize system clock against audio clock to avoid clock drift problems when alternating between clocks. r=chris.double 2010-02-05 18:16:29 +13:00
Matthew Gregan
926910324a Bug 525401 - Fix resuming from pause when playing poorly muxed videos. r=chris.double 2010-02-05 17:06:08 +13:00
Mike Hommey
9b07b8b0ad Bug 550961. Fix license header typos. r=gerv 2010-03-15 14:44:37 +13:00
Mats Palmgren
549893b6d7 Bug 544852, part 1: Remove nsCaret::GetCaretCoordinates. r=roc 2010-03-14 23:52:07 +01:00
Ben Turner
0bdadbfbee Bug 550275 - 'Implement the HTML5 structured clone algorithm'. r=jst+mrbkap, sr=jst. 2010-03-17 12:55:45 -07:00
Markus Stange
4a997d3554 Backed out changeset e17c076aceea, bug 508482 (:-moz-window-inactive pseudoclass) because of test_righttoleft.xul test failures. 2010-03-17 20:03:53 +01:00
Markus Stange
f1f3037861 Bug 508482 - Window activation status should be a pseudoclass (:-moz-window-inactive) instead of an attribute. r=dbaron, r+sr=jst 2010-03-17 18:10:57 +01:00
Neil Deakin
8f3acb3041 Bug 501154, consolidate places where clipboard events are fired from, r=smaug,sr=neil 2010-03-19 14:32:13 -04:00
Olli Pettay
25059611b9 Bug 535887, Change an assertion to warning in nsEventDispatcher.cpp, r=sicking
--HG--
extra : rebase_source : 249d9d86d8918e53fae0cfeb7bae766462353efe
2010-03-19 12:52:48 +02:00
Neil Deakin
5c00dd1789 Better logging for errors in xul template tests, no bug 2010-03-19 07:51:11 -04:00
Robert Longson
c6f98571f9 Bug 553053 - Should not create frames for SVG animation elements, it interferes with clipPath validation and is inefficient. r=dholbert,sr=roc 2010-03-19 11:17:49 +00:00
Kyle Huey
1d0289c601 Backed out changeset 8ce70abd7777 2010-03-09 01:14:21 -05:00
Joel Maher
cee9b522a0 Bug 544097 Change mochitests to use mochi.test instead of localhost for mobile refactoring p=jmaher r=ted,dwitte,sayrer 2010-03-08 19:21:33 -08:00
Boris Zbarsky
979fcce9a2 Bug 550842 followup. Make this actually compile. 2010-03-08 19:47:37 -05:00
Martin Husemann
4897e14595 Bug 550842. Ensure at least pointer compatible alignment of memory area for RuleProcessorData::operator new. r=bzbarsky 2010-03-08 19:30:01 -05:00
Laurent Jouanneau
1aaf0cc9ae Bug 543710 - Logging for XUL template based on storage; The patch to commit.
r=enndeakin sr=neil.
2010-03-09 01:02:27 +01:00
Jonas Sicking
088a5c3e1c Bug 534136 Part 4: Inline accessors on nsIAtom. r=peterv sr=jst 2010-03-08 07:45:00 -08:00
Jonas Sicking
3175f89133 Bug 534136 Part 3: Optimize atom-using code for the fact that atoms store 16bit strings. Also take advantage of new nsAtomString API. r=bz 2010-03-08 07:45:00 -08:00
Jonas Sicking
c4106f7f22 Bug 534136 Part 2: Use 16bit-char buffers inside atoms. r=bz sr=mrbkap 2010-03-08 07:45:00 -08:00
Jonas Sicking
1a6c0165bf Bug 534136 Part 1: Make atoms keep a pointer to an nsStringBuffer rather than storing the data inline. r=bsmedberg 2010-03-08 07:44:59 -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
Daniel Veditz
e52b96f8e3 merge 2010-03-08 01:59:52 -08:00
Daniel Veditz
cba4434bd8 bug 515443 missing test files 2010-03-08 01:57:10 -08:00
Ginn Chen
51b8057cbc Bug 550386: content/base/src/nsFileDataProtocolHandler.cpp failed to compile with SS12 r=bzbarsky 2010-03-08 17:33:14 +08:00
Daniel Veditz
d7f89f6fbd bug 548993 wrong return type from CSP inline script check, r=sicking 2010-03-08 00:28:13 -08:00
Sid Stamm
47a3291b46 bug 515443 CSP no-eval support. r=mrbkap,brendan 2010-03-08 00:24:50 -08:00
Sid Stamm
1335f2114e bug 550442 object sub loads should obey the object-src policy 2010-03-08 00:24:30 -08:00
Clint Talbert
7ffd9496bc Backed out changeset b4372055f473 -- due to unexplained orange on OS X Leak test (Bd) box 2010-03-07 17:34:23 -08:00
Joel Maher
ef6c5fda3d Bug 544097 - Change mochitests to use mochi.test instead of localhost for mobile test refactoring p=jmaher, r=sayrer,dwitte 2010-03-07 16:08:05 -08:00
mounir.lamouri@gmail.com
a95c3f4f23 Bug 536895 - Setting a negative maxLength should throw an exception, r=smaug, sr=jst
--HG--
extra : rebase_source : d54814499d4114f239678941da3368d1a4aaff5f
2010-03-05 21:42:46 +02:00
mounir.lamouri@gmail.com
b243710610 Bug 536891 - Negative maxlength should be treated the same as unspecified maxlength, r=smaug, sr=jst
--HG--
extra : rebase_source : eef5330e6de87f9b9a5189bd26f13418c404d659
2010-03-05 21:38:26 +02:00
Daniel Holbert
82c099ed97 Bug 43178 followup: remove unused variable 'tableStyle' in nsHTMLTableElement.cpp. rs=bernd 2010-03-05 10:41:57 -08:00
Robert O'Callahan
f3e9a6b5c7 Bug 545268. Decide whether to suppress a mouse event by looking at the suppression state of the document where the event is going to be delivered. r=smaug 2010-03-05 13:10:32 +13:00
Mike Kristoffersen
abdb2aa82c Build bustage on Qt due to macro definition of malloc, realloc, etc. Most of this is just moving Qt #includes around. r=dougt
--HG--
extra : rebase_source : 9734e9e68754a6fc45bddbdc60bb5e898bb8cdb2
2010-03-04 13:51:42 -08: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
Chris Jones
f0560d9e8e Bug 441324, part 1: Shuffle around includes to avoid problems with #define malloc et al. r=bsmedberg 2010-03-03 23:02:55 -06: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
Shawn Wilsher
9f5d0cab2d Bug 549797 - Removing href attribute from html:a, html:link, and svg:a doesn't remove link styling
r=bz
2010-03-03 12:55:35 -08:00
Olli Pettay
83b813bb98 Bug 549566, clean-up beforeunload message, r=sicking
--HG--
extra : rebase_source : 5abe27de295f9285b926f105d7ec317ebe1503ff
2010-03-03 14:41:57 +02:00
Jonas Sicking
aeb9ba77c3 Bug 543870: Implement File.url. r=bz sr=jst 2010-03-02 23:51:09 -08:00
Daniel Holbert
5f7e96d98d Bug 547333 followup: Move FlushAnimations() call from nsSVGElement::GetAnimatedLengthValues to FlushPendingNotifications. r=jwatt r=bz 2010-03-02 07:36:33 -08:00
Daniel Holbert
627f47b186 Bug 540090: Add method nsIDocument::HasAnimationController, to let us check for active SMIL animation without triggering lazy construction. r=roc 2010-03-02 23:09:51 -08:00
Mounir Lamouri
e52f013c11 Bug 549311 - New lines management tests for placeholder are missing; r=ehsan
--HG--
extra : rebase_source : ba4be5c6a90abfef87f573968d00b4cc179aafdd
2010-03-02 14:06:17 -08:00
Zack Weinberg
2c3e543d1d Bug 544112 part 2: DeCOMtaminate and devirtualize nsCSSLoader. r=bzbarsky sr=dbaron
--HG--
rename : layout/style/nsICSSLoader.h => layout/style/nsCSSLoader.h
2010-03-02 13:00:53 -08:00
Zack Weinberg
1e69ee7cc3 Bug 544112 part 1: Make speculative and chrome style sheet loads go through the document object. Rearrange some C++ unit tests so they'll still link after part 2. r=bzbarsky sr=dbaron
--HG--
rename : layout/html/tests/ParseCSS.cpp => layout/style/test/ParseCSS.cpp
rename : layout/html/tests/TestCSSPropertyLookup.cpp => layout/style/test/TestCSSPropertyLookup.cpp
2010-03-02 13:00:39 -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
Jonas Sicking
2591c1ea57 Fix bug 490790. r=dveditz 2010-03-02 11:40:14 -08:00
Daniel Holbert
bb1b787565 Backed out changeset e9ab6e4d121d (Bug 547333 followup) due to debug mochitest orange. 2010-03-02 08:29:46 -08:00
Daniel Holbert
bf932485ec Bug 547333 followup: Move FlushAnimations() call from nsSVGElement::GetAnimatedLengthValues to FlushPendingNotifications. r=jwatt r=bz 2010-03-02 07:36:33 -08:00
Daniel Holbert
749e40a648 Bug 548899: Don't issue attribute-changed notification when transform attribute is animated. r=jwatt sr=roc 2010-03-02 07:36:31 -08:00
Neil Deakin
52f2006039 Bug 546425, add mozSourceNode to access the source node of the drag, r=jonas,sr=roc 2010-03-02 06:21:20 -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
Craig Topper
5c68d29b38 Bug 544372: Fix more harmless UMRs to avoid valgrind complaining. r=sicking 2010-03-01 21:06:29 -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
Daniel Holbert
639df98604 Bug 537361 followup: Address review suggestions. r=birtles 2010-03-01 11:31:52 -08:00
Brian Birtles
23c0fb4d3c Bug 537361: Store SMIL intervals with state for restoring. r=dholbert 2010-03-01 11:31:50 -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
Jesse Ruderman
7ee60fba5d Add crashtests 2010-02-27 13:04:34 -08:00
Daniel Holbert
16413ffab8 Backed out changeset 367cdcfa611b due to smil reftest failures on opt mac & windows tinderboxen 2010-02-26 15:43:47 -08:00
Daniel Holbert
ba5c1ee63b Bug 547333 followup: Remove FlushAnimations() call from another internal getter (nsSVGElement::GetAnimatedLengthValues), to prevent SMIL samples during frame construction. r=jwatt 2010-02-26 11:08:54 -08:00
Mounir Lamouri
54f1561afc Bug 457800 - Implement placeholder attribute for text input fields; r=ehsan,bzbarsky,bolter sr=roc ui-r=faaborg
--HG--
extra : rebase_source : 2e2f3a73553d720b32812603b0ce96c89b9a6261
2010-02-26 10:47:38 -08: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
Henri Sivonen
5e9deb0a76 Bug 539887 - Comment out a test assertion in test_bug255820.html. r=bzbarsky.
--HG--
extra : rebase_source : 8e51292d4d73c2c89088dd278838b9a991f20735
2010-02-25 13:36:14 +02:00
Henri Sivonen
56cd24d21e Bug 545854 - Add the <keygen> macro to the HTML5 parser. r=bnewman.
--HG--
extra : rebase_source : afd36441c60abba7453fd91c32beec4e6e1fd17b
2010-02-22 14:17:30 +02:00
Daniel Holbert
c63fcd1cf9 Remove unused argument from nsSVGTransformSMILAttr constructor. (no bug) 2010-02-25 18:12:25 -08:00
Ms2ger
0d8a8bc9bb imported patch 499092-prefix-v2 2010-02-25 10:49:34 -08:00
Jonas Sicking
bf568e77dc Bug 544372: Reading unitialized memory in nsNodeIterator. Also fix a minor perf issue. r=peterv 2010-02-25 10:34:36 -08:00
Daniel Holbert
f3f209d3c8 Test for bug 547333. 2010-02-25 10:20:44 -08:00
Daniel Holbert
71488977d3 Bug 547333: Call FlushAnimations() in SVG DOM getters for animated values, and not in internal getters. r=jwatt 2010-02-25 10:20:43 -08:00
Jonas Sicking
eb4d99e601 Fix license in new files added for bug 546528 2010-02-25 01:25:53 -08:00
Jonas Sicking
1a41a3c97c Bug 546528 part 3: Implement FormData. r=benjamn 2010-02-24 21:58:18 -08:00
Jonas Sicking
281e94689e Bug 546528 part 2: Create nsEncodingFormSubmission to allow nsFormSubmission subclasses to not have an encoder. r=benjamn 2010-02-24 21:58:17 -08:00
Jonas Sicking
833517ace9 Bug 546528 part 1: Break out code to convert body argument to an nsIInputStream out of nsXMLHttpRequest::Send to make the code more readable. r=benjamn 2010-02-24 21:58:17 -08:00
Jonas Sicking
28396b7d9c Bug 545059: Remove unneeded/non-working bidi.controlstextmode pref. r=smontagu 2010-02-24 21:58:17 -08:00
Jonas Sicking
2163564df4 Bug 544698 part 4: Move the creation of the encoder to the nsFormSubmission ctor. Move the call to linkHandler->OnLinkClickSync to the nsHTMLFormElement. r=jst 2010-02-24 21:58:17 -08:00
Jonas Sicking
8af720df7e Bug 544698 part 3: Make nsFormSubmission not refcounted. r=jst 2010-02-24 21:58:17 -08:00
Jonas Sicking
c0a3db9e08 Bug 544698 part 2: Reorganize nsFormSubmission.cpp to make it more readable and to avoid having to forward declare functions. No actual code changes. r=jst 2010-02-24 21:58:17 -08:00
Jonas Sicking
aecb30c8cf Bug 544698 part 1: Move value processing from submission code to elements. Decomtaminate. Kill a few dead functions. r=jst 2010-02-24 21:58:16 -08:00
Jonas Sicking
aba45b34d3 Bug 547165: Add tests for form submission and fix a few cases where we differ from IE/HTML5. Also add a generic getMyDirectory.sjs file for use in other tests as well. r=benjamn/waldo 2010-02-24 21:57:54 -08:00
Makoto Kato
a3d58316e9 Bug 405242 - Implement select.options.remove() method [HTML5 HTMLOptionsCollection.remove]. r=Olli.Pettay, sr=jst 2010-02-25 13:53:42 +09:00
Jonas Sicking
51fbd0da83 Bug 544642: Make frames report an error event if the frame src is pointed at a local file url. And don't make setAttribute thrown an exception in that scenario. r=smaug 2010-02-24 18:45:43 -08:00
Benjamin Smedberg
a5710c9bb4 Add return statement to fix build bustage from bug 503989 2010-02-24 17:48:32 -05:00
Robert O'Callahan
ef6f3c2ae0 Bug 503989. Break MediaLoadListener reference cycle at shutdown. r=sicking,doublec
--HG--
extra : rebase_source : bbd326582e4a7d0864affcfe3a715e228c4b2647
2010-02-24 11:14:14 -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
Shawn Wilsher
cb0509c597 Bug 461199 (Part 30) - Fixes invalidation issues when changing the href attribute.
r=bz
2010-02-24 08:37:38 -08:00
Shawn Wilsher
b6e4bfa8f1 Bug 542632 - Protect nsGenericHTMLElement::GetHrefURIForAnchors
Also makes DNS prefetching take mozilla::dom::Link instead of nsIContent.
r=bz
2010-02-24 08:37:03 -08:00
Shawn Wilsher
149f5aac0a Bug 542592 - Change how we use/store nsDocument::mLinkMap
This makes changes nsDocument::mLinkMap in a number of ways:
1) renamed to mStyledLinks to better reflect its new nature.
2) change it to an nsTHashtable of Link*.  It no longer has a strong reference
3) add some assertions to make sure we call ForgetLink and AddStyleRelevantLink
   in pairs.
This also makes mozilla::dom::Link::ResetLinkState take a boolean indicating if
we should notify or not.
r=bz
2010-02-24 08:37:03 -08:00
Shawn Wilsher
aa9b0c2fd7 Bug 461199 (Part 26) - Update content tests to work with the new async isVisited API 2010-02-24 08:37:03 -08:00
Shawn Wilsher
94b3600d96 Bug 461199 (Part 28) - Tell the document that we are a style relevant link
Adds the needed calls to inform the document if we are a style relevant link,
and when we no longer are.
r=bz
2010-02-24 08:37:03 -08:00
Shawn Wilsher
aab3b02a8b Bug 461199 (Part 23) - Remove no longer needed code in ns[I]Document.[cpp|h]
r=bz
2010-02-24 08:37:02 -08:00
Shawn Wilsher
40dabb5bd0 Bug 461199 (Part 22) - Call ResetLinkState if given eLinkState_Unknown
If consumers tell mozilla::dom::Link::SetLinkState that its new state is
eLinkState_Unknown, call mozilla::dom::Link::ResetLinkState and return.
r=bz
2010-02-24 08:37:02 -08:00
Shawn Wilsher
5c712b68a2 Bug 461199 (Part 21) - Cache the nsIContent pointer in Link for performance reasons
Add a Content method that obtains a pointer to the nsIContent interface on
mozilla::dom::Link.  This is cached so we only have to call QueryInterface once
during the entire lifetime of the mozilla::dom::Link object.
r=bz
2010-02-24 08:37:02 -08:00
Shawn Wilsher
1e53ff806b Bug 461199 (Part 19) - nsSVGAElement fails to call ResetLinkState in [Uns|S]etAttr
Have nsSVGAelement implement UnsetAttr and SetAttr, and make sure it calls
mozilla::dom::Link::ResetLinkState when appropriate.
r=jwatt
sr=bz
2010-02-24 08:37:02 -08:00
Shawn Wilsher
8d82ffe93c Bug 461199 (Part 14) - Implement nsIContent::IntrinsicState on mozilla::dom::Link subclasses
All mozilla::dom::Link subclasses need to implement IntrinsicState and make sure
to call LinkState.
r=sicking
sr=bz
2009-12-15 16:04:09 -08:00
Shawn Wilsher
5a5b1276de Bug 461199 (Part 13) - mozilla::dom::Link::SetLinkState should inform the document about changes to its state when it is called.
Make Link::SetLinkState notify the document about changes in state, plus a
whole bunch of assertions for sanity checking.
r=sicking
r=bz
2009-12-15 16:04:07 -08:00
Shawn Wilsher
2171f3f5d2 Bug 461199 (Part 12) - mozilla::dom::Link should unregister with mozilla::IHistory when it goes away
Call UnregisterWithHistory in Link's destructor to ensure that we are no longer
registered with IHistory.
r=sicking
sr=bz
2009-12-15 16:01:53 -08:00
Shawn Wilsher
258c845043 Bug 461199 (Part 11) - [un]register in mozilla::dom::Link::[Reset]LinkState
Register with History in mozilla::dom::Link::LinkState and unregister in
mozilla::dom::Link::RestLinkState.
r=bz
2009-11-23 10:48:52 -08:00
Shawn Wilsher
3a408ccc92 Bug 461199 (Part 10) - Ensure that Link::ResetLinkState is always called when an element is bound or unbound from the DOM tree.
We would not be notified about base URI changes during this time, so we need to
make sure we are not registered and have no cached state.
r=bz
r=jwatt
2009-11-23 10:48:52 -08:00
Shawn Wilsher
c74c499d06 Bug 461199 (Part 9) - Move href helpers from nsGenericHTMLElement to mozilla::dom::Link.
Move the helpers so that they can easily use the cached URI when available.
r=sicking
sr=bz
2009-11-09 10:00:54 -08:00
Shawn Wilsher
2849d7ab1f Bug 461199 (Part 8) - Remove nsAttrValue::eLazyURIValue and related code
Stop using lazy href attributes in nsAttrValue.  Link will store it as needed.
r=sicking
sr=bz
2009-11-09 10:00:54 -08:00
Shawn Wilsher
7138f81c0a Bug 461199 (Part 7) - mozilla::dom::Link should have a method to obtain a cached URI
Add mozilla::dom::Link::GetURI method used to cache the URI for this element.
r=bz
2009-11-09 10:00:54 -08:00
Shawn Wilsher
a0f960d660 Bug 461199 (Part 6) - nsSVGAElement::GetHrefURI is not implemented
Fixes nsSVGAElement::GetHrefURI so that it actually returns a URI when it is a
link instead of nsnull.
r=jwatt
2009-11-09 10:00:54 -08:00
Shawn Wilsher
3c5791490b Bug 461199 (Part 5) - Add mozilla::dom::Link::LinkState
Adds a LinkState method that should be called by subclasses when they get asked
about their IntrinsicState.
r=sicking
sr=bz
2009-11-09 10:00:53 -08:00
Shawn Wilsher
f0cb06c199 Bug 461199 (Part 3) - Create a cached getter for mozilla::IHistory on nsContentUtils.
r=sicking
2009-11-09 10:00:53 -08:00
Boris Zbarsky
966f597e72 Bug 534526 part 3. Change the ordering in nsSVGElement::UnsetAttr. r=longsonr 2010-02-23 23:37:47 -05:00
Boris Zbarsky
ebac0e31a3 Bug 534526 part 2. Move AttributeWillChange out of SetAttrAndNotify, and in particular to before ParseAttribute, since some ParseAttribute implementations actually change the attribute value. Also move it to before we've changed the CSSDeclaration for inline style changes. r=sicking,longsonr,dbaron 2010-02-23 23:37:47 -05:00
Boris Zbarsky
0aef843d39 Bug 534526 part 1. Remove a SetAttrAndNotify caller by making XUL inherit from nsStyledElement. r=sicking 2010-02-23 23:37:46 -05:00
Ben Turner
e8124b22b1 Bug 537572 - 'Workers: nsLayoutStatics refcounting isn't threadsafe, triggered via nsContentUtils::WrapNative'. r+sr=sicking 2010-02-23 17:44:52 -08:00
Sid Stamm
ba3276f601 fix tinderbox test hang after landing bug 515442. r=dveditz 2010-02-23 16:37:38 -08:00
Daniel Veditz
e8e0b08526 Forgot tests for bug 515442 2010-02-23 14:28:18 -08:00
Daniel Veditz
ac0251d255 bug 515442 CSP inline script protection 2010-02-23 13:20:46 -08:00
Robert Longson
dded1dc9d5 Bug 547596 - zoom events do not fire. r=jwatt 2010-02-23 20:39:15 +00:00
Jonas Sicking
62651da7b8 Bug 547850: Make case folding code in HTML DOM only case fold ASCII characters. r=hsivonen 2010-02-23 09:38:10 -08:00
Shawn Wilsher
1c29b0d28e Bug 461199 (Part 2) - Create an API for asynchronous isVisited checks that content/layout can use
Create a new API (IHistory) to check for the visitedness of a URI.
r=mak
r=bz
sr=bsmedberg
2009-08-20 11:56:10 -07:00