Commit Graph

767 Commits

Author SHA1 Message Date
Henri Sivonen
d60818cc01 Use less parentheses in assertions in HTML5 parser 2009-06-24 15:32:53 +03:00
Henri Sivonen
873ddb4555 Include the .java sources for translated files in the HTML5 parser 2009-06-24 15:27:43 +03:00
Henri Sivonen
afdf16c7b5 Move the initialization of primitive static jArrays to initializeStatics in HTML5 parser 2009-06-24 14:42:50 +03:00
Henri Sivonen
bc8527ba95 Null out jArray after releasing. 2009-06-24 13:41:18 +03:00
Henri Sivonen
d6a5f0ef48 Try to avoid crashing in HTML5 parser cycle collection 2009-06-24 13:38:11 +03:00
Henri Sivonen
43c3e39538 Remove legacy comments 2009-06-24 11:08:39 +03:00
Henri Sivonen
79a4ed13ec #ifdef out a variable only used for debugging. 2009-06-24 10:58:47 +03:00
Henri Sivonen
1b856465b2 Add comments to the HTML5 parser explaining buffer chain key holders 2009-06-24 10:56:40 +03:00
Henri Sivonen
ed2dbde744 Use NS_PRECONDITION instead of NS_ASSERTION for asserting the start condition of HTML5 parser 2009-06-24 10:45:43 +03:00
Henri Sivonen
77b135ca59 Tweak assertions in HTML5 parser 2009-06-24 10:26:30 +03:00
Henri Sivonen
4cfd1317c0 Make GetChannel nicer in HTML5 parser 2009-06-24 10:22:51 +03:00
Henri Sivonen
cf598ae101 Use NS_ERROR instead of asserting true in HTML5 parser 2009-06-24 10:21:17 +03:00
Henri Sivonen
8dbfcccbd7 Fix GetCommand in HTML5 parser to return "view" 2009-06-24 10:20:13 +03:00
Henri Sivonen
9f40c21137 Clean up nsHtml5Parser destructor 2009-06-24 09:59:03 +03:00
Henri Sivonen
c2f88d2327 Make app cache not crash HTML5 parser when it calls Terminate() in mid-flight. 2009-06-24 09:55:38 +03:00
Henri Sivonen
43e0fcb133 Merge trunk into HTML5 repo 2009-06-22 10:05:55 +03:00
Henri Sivonen
fc7407d5c6 Fix bad merge between HTML5 repo and trunk 2009-06-21 16:23:03 +03:00
Henri Sivonen
0ffb6117a2 Make HTML5 parser enablement use AddBoolPrefVarCache 2009-06-21 16:14:38 +03:00
Henri Sivonen
5c2176286d Move static inline void on one line in nsHtml5ArrayCopy.h 2009-06-21 15:46:29 +03:00
Boris Zbarsky
3878fd4be6 Bug 497242. GetElementsByName should not find non-HTML elements. r+sr=sicking 2009-06-19 16:57:39 -04:00
Henri Sivonen
057b4f1b12 Zap tests for bug 448564 that the HTML5 parser obsoletes. 2009-06-18 18:01:51 +03:00
Henri Sivonen
0730ae2a8f Bug 497845 - Hook cycle collector into the HTML5 parser 2009-06-18 16:24:51 +03:00
Henri Sivonen
420d38551f Merge trunk into HTML5 repo 2009-06-16 12:18:59 +03:00
Henri Sivonen
34f853a2de Avoid double-free in HTML5 parser when attributes are moved around in the isindex parser macro 2009-06-16 12:09:54 +03:00
Henri Sivonen
d1ad385038 Fix GetChannel() in HTML5 parser to deal with null channels the properly 2009-06-16 09:58:13 +03:00
Henri Sivonen
b045a5d8bf Make test_bug461555.html not crash HTML5 parser 2009-06-15 14:11:36 +03:00
Henri Sivonen
fa3e4b55a2 Disable HTML5 parser by default 2009-06-15 10:17:52 +03:00
Henri Sivonen
1313b37fa2 Initialize HTML5 TreeBuilder fields properly patch from Mats Palmgrem. r=hsivonen 2009-06-15 10:05:00 +03:00
Henri Sivonen
3aede6927e Buf 497580 - Avoid UNICODE as an identifier in the HTML5 parser due to Windows CE compiler 2009-06-12 09:28:10 +03:00
Henri Sivonen
bb1733dfd5 Merge trunk into HTML5 repo 2009-06-11 17:00:20 +03:00
Neil Deakin
79321ef1f8 Bug 178324, refactor focus by moving all focus handling into one place and simplifying it, add many tests, fixes many other bugs too numerous to mention in this small checkin comment, r=josh,smichaud,ere,dbaron,marco,neil,gavin,smaug,sr=smaug (CLOSED TREE) 2009-06-10 14:00:39 -04:00
Henri Sivonen
044238db06 Bug 381885 - Avoid underflow in unsigned computation order. patch by Mats Palmgren. r=hsivonen 2009-06-09 11:56:18 +03:00
Henri Sivonen
2b33dab370 Bug 468708 - namespaceURI for HTML elements should be http://www.w3.org/1999/xhtml (also make localName return in lower case) r=sicking, sr=peterv, a=beltzner 2009-06-09 10:41:19 +03:00
Henri Sivonen
8887124861 Bug 483015 - Expose line numbers for <style> and <script> in the HTML5 parser 2009-06-08 16:29:54 +03:00
Henri Sivonen
d839728b28 Bug 483158 - Make the HTML5 tokenizer not write into the input buffer 2009-06-05 15:51:00 +03:00
Henri Sivonen
69949bfe89 Merge trunk into HTML5 repo 2009-06-05 14:52:43 +03:00
Robert Longson
1973deec58 Bug 486936 - image-rendering style should apply to canvas element. r=vladimir 2009-06-17 21:31:18 +01:00
L. David Baron
0d06184f97 Remove support for fallback background colors. (Bug 496721) r+sr=bzbarsky 2009-06-16 08:00:20 -07:00
Henri Sivonen
f09b30c3b5 Bug 488818 - Mark malformed scripts as malformed in HTML5 tree builder. 2009-05-29 15:44:40 +03:00
Henri Sivonen
54e806273c Bug 484988 - Make HTML5 parser-performed removals notify but not fire mutation events 2009-05-28 20:42:26 +03:00
Henri Sivonen
137e64c272 Make HTML5 tree builder match the scripting state. 2009-05-28 17:17:42 +03:00
Henri Sivonen
94393e75e1 Make document-initiated flushes no-ops in HTML5 parser 2009-05-26 12:00:37 +03:00
Henri Sivonen
7b8db88561 Merge trunk into HTML5 repo 2009-05-25 19:16:57 +03:00
Henri Sivonen
498d1488eb Inline read() method in HTML5 tokenizer 2009-05-25 11:59:22 +03:00
Robert O'Callahan
3d39f15314 Bug 475110. Don't try to handle Wave files loaded via links or <object> using our Wave codec, since there are Wave formats we don't support that are actually used in the wild. r=doublec,a=beltzner
--HG--
extra : rebase_source : 562c7c7c17157082483e456f33aa8b211fd07aeb
2009-05-25 12:42:19 +12:00
Zack Weinberg
6a08d287a7 Bug 494225: correct check for property-not-set in nsHTMLDocument::Get*LinkColor, r+sr=bzbarsky 2009-05-21 15:42:17 -04:00
Olli Pettay
1d0c8384b8 Bug 491063 - Mixed mode warning dialog (and other dialog windows) is sometimes not rendered, r+sr=bz 2009-05-20 11:00:04 +03:00
Henri Sivonen
15213180ab HTML5 (and other browsers) do not infer <select> on <optgroup> 2009-05-19 15:41:00 +03:00
Boris Zbarsky
bc7e96f36d Fixing bug 488649 build bustage 2009-05-19 22:40:07 -04:00
Zack Weinberg
d1ad418dbf Bug 488649: Unify document.body.{bgColor,text,link,vLink,aLink} with the <body> attributes of the same names. Do not default to prescontext/CSS for these. Remove the unsafe function NS_RGBToHex(). 2009-05-19 22:11:01 -04:00