Gregory Szorc
7bb3ee056b
Bug 818246 - Part 4: Move XPIDLSRCS into moz.build (auto); rs=glandium
...
This is the result of running
|mach mozbuild-migrate --list XPIDLSRCS SDK_XPIDLSRCS XPIDL_SOURCES| and
reverting xpcom/sample/*.
2013-03-12 10:17:46 -07:00
Jared Wein
43677b479e
Bug 253564 - Plain text (text/plain, text/javascript, text/css, etc) documents should word-wrap. r=bz
2013-03-06 23:45:08 -05:00
Olli Pettay
58810c25e8
Bug 847600 - Remove SVGEvent, r=jwatt
...
--HG--
extra : rebase_source : 5b9452c1757b2cec02d469337ae3876a554f0081
2013-03-11 20:57:08 +02:00
Gregory Szorc
abf776860f
Bug 784841 - Part 18α: Convert /parser; f=Ms2ger rs=khuey
2013-02-25 12:47:24 -08:00
L. David Baron
0595d8d1b1
Bug 563195: Fix -Wshadow warning in nsHtml5ByteReadable.h. r=hsivonen
2013-02-21 18:10:59 -08:00
Trevor Saunders
afab70f054
bug 841436 - remove nolonger needed qi from nsIDocShell to nsIDocShellTreeItem r=bz
2013-02-12 17:02:51 -05:00
Henri Sivonen
1c1feac1bf
Bug 820508 part 1 - Parser support for <main>. r=smaug.
2013-01-29 14:31:45 +02:00
Henri Sivonen
6e6ffe477c
Bug 234628 part 1 - Make the BOM take precedence over manual encoding overrides. r=smaug.
2013-01-18 16:27:03 +02:00
Trevor Saunders
9f0ad48b28
bug 822289 - remove NS_IMPL_CYCLE_COLLECTION_CLASS and friends r=mccr8
2013-01-12 07:40:33 -05:00
Chris Peterson
34d009dfe8
Bug 829685 - Remove #include "prtypes.h" from some files that no longer use PR types. r=ehsan
2013-01-10 08:19:36 -08:00
Masayuki Nakano
792137f340
Bug 813445 part.3 Remove NS_EVENT_FLAG_CANT_CANCEL and NS_EVENT_FLAG_CANT_BUBBLE r=smaug
2012-12-16 10:26:03 +09:00
Jeff Walden
7146c23e80
Bug 820570 - Move mozilla::DebugOnly into DebugOnly.h to pare down the grab-baggish Util.h. r=Ms2ger
2012-12-14 18:58:45 -05:00
Juan Gomez
22cd8de7ad
Bug 820435 - Fix the B2G builds on gcc-4.6 (NDK r8) due to missing std::nullptr_t in STLPort; r=ehsan
...
--HG--
extra : rebase_source : e5fd2c6d1f3c0c817374b0fbf6471e14171f04b4
2012-12-11 20:29:00 -05:00
Kartikaya Gupta
e72d7a1386
Bug 820172 - Fix android build when building with gcc 4.6. r=ehsan
2012-12-11 01:08:27 -05:00
Masatoshi Kimura
86d97108c8
Bug 638379 - Part 3: Remove workaround for unreliable inputErrorBehavior. r=hsivonen
2012-12-10 09:11:15 -05:00
Masatoshi Kimura
89a4119635
Bug 819650 - Remove nsContentUtils::CreateDocument. r=sicking
2012-12-10 09:05:33 -05:00
Patrick McManus
bda7430bfa
bug 792438 part 1 - identify css and head-based-js as dedicated network resources r=bz
2012-12-04 18:06:29 -05:00
Andrew McCreight
c8ecf6e183
Bug 815707 - clean up cycle collector Traverse/Unlink in parser/ r=smaug
2012-11-27 15:08:22 -08:00
Benoit Jacob
a1d7e0f511
Bug 807437 - Eliminate redundant Traverse/Unlink CC macros - part 1: automatic changes - r=mccr8
2012-11-15 02:32:40 -05:00
Henri Sivonen
e829394001
Bug 808464 - Refresh the "special" list in the HTML parser and the check for that list in the <dd> case. r=smaug.
2012-11-12 16:41:17 +02:00
Henri Sivonen
2711cf9503
Bug 809956 - Deal with an odd number of ] characters before ]]> in a CDATA section in the HTML parser. r=smaug.
2012-11-12 15:42:23 +02:00
Henri Sivonen
2f13dd66f6
Bug 809403 - Sync Gecko C++ version of the HTML parser with changes made for Rust. rs=smaug.
2012-11-09 11:04:28 +02:00
Masatoshi Kimura
97d73c1c4e
Bug 801402 - Use FindEncodingForLabel from HTML parser. r=hsivonen
2012-11-07 18:04:22 -05:00
Henri Sivonen
a42309c3ff
Bug 716579 - Let a BOM override HTTP-level charset in the HTML and XML parsers. r=smaug.
2012-11-06 13:57:51 +02:00
Jeff Walden
793acbdae0
Bug 803439 - Add removeFrom() that takes a list and asserts the element is initially present in it. r=jlebar
...
--HG--
extra : rebase_source : c2aad35774a71167f97f940fb416735862b78950
2012-10-23 17:43:23 -07:00
Jacek Szpot
0b35b0e3d8
Bug 792180 - Replace NS_{UN,}LIKELY with MOZ_{UN,}LIKELY; r=ehsan
2012-10-26 15:32:10 +02:00
Henri Sivonen
dc4ef20648
Bug 799958 - Remove prtype.h from C++ translator output. r=smaug.
2012-10-25 14:03:27 +03:00
Henri Sivonen
9f6eeef233
Bug 599320 - Refuse encodings that are not rough ASCII supersets as hints from parent, previous doc or cache. r=smaug.
2012-10-16 10:42:54 +03:00
Ed Morley
c9faf83062
Backout 6db369a15ea7 (bug 599320) for frequent failures in bug599320-1.html
2012-10-16 12:22:31 +01:00
Henri Sivonen
52e012a82d
Bug 599320 - Refuse encodings that are not rough ASCII supersets as hints from parent, previous doc or cache. r=smaug.
2012-10-16 10:42:54 +03:00
Jeff Walden
e06de56d87
Bug 796925 - Fix clang-on-Linux bustage in parser/html/jArray.h. rs=hsivonen
...
--HG--
extra : rebase_source : 1efb96732f06fea908dfa5b3a711bc1eafe99132
2012-10-09 15:01:48 -07:00
Henri Sivonen
4eb686ec9c
Bug 503190 - Include assertions in the C++ translator output. r=smaug.
2012-10-01 11:52:32 +03:00
Henri Sivonen
d91939100e
Bug 792790 - Introduce NoBoundsCheck variants of accessors on nsHtml5HtmlAttributes; Make operator= in jArray nullptr-aware. r=smaug.
2012-10-01 11:49:01 +03:00
Isaac Aggrey
997db4d142
Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan
2012-09-28 01:57:33 -05:00
Zack Weinberg
3613cbaf5f
Bug 791003: proper diagnostics rather than bogus NS_NOTREACHED from the HTML parser for character encodings that are blacklisted for XSS smuggling. r=hsivonen
2012-09-18 10:46:30 -04:00
Makoto Kato
c28c020a8f
Bug 784912 - nsIStreamListener.onDataAvailable should handle 64-bit offset. r=honza
2012-09-06 11:41:02 +09:00
Randell Jesup
eedf93a21d
Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg
2012-09-01 22:35:17 -04:00
Boris Zbarsky
927e2bc32d
Bug 732209 part 3. Communicate the CORS state of preloads to the CSS loader. r=sicking,hsivonen
2012-08-28 13:10:08 -04:00
Ehsan Akhgari
0fd9123eac
Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
...
This patch was generated by a script. Here's the source of the script for
future reference:
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t
convert PRIntn int
convert PRUintn unsigned
convert PRSize size_t
convert PROffset32 int32_t
convert PROffset64 int64_t
convert PRPtrdiff ptrdiff_t
convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Aryeh Gregor
3e8b41c23d
Bug 782602 - Use NS_FAILED instead of boolean test (parser/html/); r=hsivonen
2012-08-14 12:10:41 +03:00
Aryeh Gregor
0923bf00ef
Bug 780618 - Move all error codes to nsError.h; r=ehsan
2012-07-27 17:03:27 +03:00
Aryeh Gregor
f41637535d
Bug 780469 - Reduce unnecessary includes in some content/ header files; r=bz
2012-08-06 15:02:08 +03:00
Mike Hommey
6173fa297f
Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted
2012-08-04 20:26:44 +02:00
Aryeh Gregor
e806eeab4f
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Aryeh Gregor
e57dd159b2
Bug 626472 part 1 - Define nsnull as nullptr where available; r=ehsan
2012-07-20 14:16:17 +03:00
Henri Sivonen
557f7f595e
Bug 765381 - Make the destructors on nsHtml5ElementName and nsHtml5AttributeName virtual to avoid warnings in clang. r=ehsan
...
--HG--
extra : rebase_source : 3c2558dfa8ef5389b2acd97f419d2276d4269a8d
2012-07-13 15:04:11 +03:00
David Zbarsky
b7e10925fa
Bug 772758 - Clean up some build warnings in html5 parser r=hsivonen
2012-07-13 11:55:21 -07:00
Henri Sivonen
80c8bb96d3
Bug 765620 - When parsing from stream without executing scripts, avoid script execution-related tree ops. r=smaug
2012-06-20 10:05:39 +03:00
Ed Morley
bb3f6c2bad
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-07-02 10:03:16 +01:00
Ms2ger
a4ebdb8e6a
Bug 767790 - Remove nsIHTMLDocument::{Get,Set}IsFrameset; r=mounir
2012-07-02 08:22:37 +02:00
David Zbarsky
ae718ee1c0
Bug 763350 - Clean up some includes in content/ and dom/ r=smaug
2012-07-01 16:45:59 -07:00
Olli Pettay
bdc49663e2
Bug 766792 - 'ASSERTION: Somehow there's stuff in the op queue' in nsHtml5TreeOpExecutor::~nsHtml5TreeOpExecutor, r=hsivonen
2012-06-21 17:13:10 +03:00
Henri Sivonen
4f0811d5d3
Bug 764774 - Remove unused variable and object creation from nsParserUtils. r=smaug.
2012-06-15 15:28:28 +03:00
Ryan VanderMeulen
9180278d42
Merge m-c to inbound.
2012-06-14 18:45:40 -04:00
Olli Pettay
d041f5964c
Bug 734015 - Slow down parsing of web pages in background tabs, r=hsivonen
2012-06-14 21:00:05 +03:00
Ehsan Akhgari
6e0dbb0661
Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (parser parts); r=hsivonen
2012-06-13 00:07:59 -04:00
Ed Morley
10a18d4b30
Backout 4d93e6ed8a49 (bug 764774) for mochitest-chrome failure in test_bug675492.xul
2012-06-14 14:34:42 +01:00
Henri Sivonen
81f5560927
Bug 764774 - Remove unused variable and object creation from nsParserUtils. r=smaug.
2012-06-14 15:18:58 +03:00
Henri Sivonen
79e3d21a31
Bug 750096. r=bzbarsky.
2012-06-14 09:14:47 +03:00
Honza Bambas
41779e1714
Bug 720778 - Important threads should have a name for better debugability, r=bsmith, sr=bsmedberg+glandium
2012-06-12 19:06:20 +02:00
Gervase Markham
d4eb7d5782
Bug 759095 - upgrade license to MPL 2, and other licensing cleanups.
...
--HG--
extra : rebase_source : da55a4937383eda2baf7c9a362501da8ee664146
2012-05-29 16:52:43 +01:00
Ryan VanderMeulen
aea26280da
Backout 8cf563a575fd (bug 734015) due to random Moth orange.
2012-05-23 19:27:40 -04:00
Olli Pettay
f7ee740e66
Bug 734015 - Try to slow down parsing of web pages in background tabs, r=hsivonen
2012-05-23 15:55:13 +03:00
Benjamin Smedberg
4f91700da9
Bug 734847 part 2 - treewide changes resulting from the default-infallibility of hashtables; either remove useless result checks, or use the fallible version of APIs, depending on context, r=jlebar
...
--HG--
extra : rebase_source : 844b008c5167e6ca39a7ba9eeec8b30672938704
2012-05-18 13:30:49 -04:00
Henri Sivonen
ad81b49e43
Bug 742414 & Bug 731234 - Highlight script end tag correctly in View Source and avoid crashing when doing so. r=smaug.
2012-04-17 14:53:52 +03:00
Boris Zbarsky
65ea8775ae
Bug 721730. When we have a null aKey, don't do a linear search down to mLastBuffer. r=hsivonen
2012-04-13 13:46:07 -04:00
Daniel Holbert
95002fef4b
Bug 743404: In nsHtml5TreeOperation::Perform, store the return-value of nsINode::IndexOf in a PRInt32 instead of a PRUint32, so we can range-check it. r=hsivonen
2012-04-10 10:44:49 -07:00
Henri Sivonen
febee54c5c
Bug 732343 - Defend HTML document loading against extensions causing bogus use of the old HTML parser. r=smaug.
2012-03-31 17:10:34 +03:00
Ms2ger
968425f97e
Bug 738654 - Part b: RemoveChildAt can't fail; r=sicking
2012-03-29 23:09:07 +02:00
Henri Sivonen
470d4a5866
Bug 739033 - Allow external View Source editor code live dangerously. r=smaug.
2012-03-27 09:27:45 +03:00
Henri Sivonen
95b45892e6
Bug 672453 - Whine to console about various character encoding declaration-related authoring errors. r=smaug.
...
--HG--
rename : extensions/universalchardet/tests/bug631751be_text.html => parser/htmlparser/tests/mochitest/file_bug672453_bomless_utf16.html
2012-03-24 13:34:42 +02:00
Henri Sivonen
0b5228046a
Bug 738572 - #include nsIHTMLContentSink.h in fewer places. r=bzbarsky.
2012-03-23 17:21:44 +02:00
Kyle Huey
c90b61825e
Bug 737875. r=hsivonen
2012-03-23 07:44:06 -07:00
Henri Sivonen
f2d3f89eb7
Bug 737417 part 1 - Split charset source constants out of nsIParser.h. r=smaug.
2012-03-22 16:42:42 +02:00
Henri Sivonen
cd61e269c7
Bug 717488 part 1. r=smaug.
2012-03-21 14:39:25 +02:00
Henri Sivonen
e8ee050c0f
Bug 737013 - Expose sanitizer fragments on parseFragment(), migrate callers to the new interface. r=smaug.
2012-03-20 17:28:42 +02:00
Henri Sivonen
91e98a88cd
Bug 709083 - Call DoneCreatingElement before children have been appended to the element. r=bzbarsky.
2012-02-03 15:32:31 +02:00
Henri Sivonen
82c137d953
Bug 650776 part 1 - Introduce a new HTML source to HTML source sanitizer XPCOM API. r=smaug.
2012-03-19 10:16:20 +02:00
Henri Sivonen
c6a3e70119
Bug 733282. r=smontagu.
2012-03-14 13:19:15 +02:00
Boris Zbarsky
d51b138c8b
Bug 696301 part 2. Communicate the crossorigin preload state from the parser to the scriptloader. r=sicking,hsivonen
2012-03-10 10:13:52 -06:00
Jacob Holzinger
acfe99c129
Bug 696242 - Convert NS_RegisterStaticAtoms and nsCSSScanner::ReportUnexpectedParams to take an array-reference rather than a pointer and length, making it impossible to pass a pointer/length that are inconsistent. r=jwalden
...
--HG--
extra : rebase_source : 882b5b4d500b1fa242c0a3cfa3084e4171cbaa9d
2012-03-08 18:22:57 -08:00
Makoto Kato
2c1e47f122
Bug 590390 - deCOM nsICharsetAlias. r=smontagu
...
--HG--
rename : intl/locale/public/nsICharsetAlias.h => intl/locale/public/nsCharsetAlias.h
rename : intl/locale/src/nsCharsetAliasImp.cpp => intl/locale/src/nsCharsetAlias.cpp
2012-03-05 12:57:51 +09:00
Henri Sivonen
e8058853dd
Bug 650784 part 1.5 - Move nsScriptableUnescapeHTML from Toolkit to Core. r=smaug.
...
--HG--
rename : toolkit/components/feeds/nsIScriptableUnescapeHTML.idl => parser/html/nsIScriptableUnescapeHTML.idl
rename : toolkit/components/feeds/nsScriptableUnescapeHTML.cpp => parser/html/nsParserUtils.cpp
rename : toolkit/components/feeds/nsScriptableUnescapeHTML.h => parser/html/nsParserUtils.h
2012-02-27 13:57:48 +02:00
Henri Sivonen
33afed3ab8
Bug 650784 part 1 - Introduce a new API for converting HTML to plain text. r=smaug.
2012-02-27 13:57:48 +02:00
Nathan Froyd
5d40e7fccd
Bug 700659 - Slay nsHashSets in parser. r=hsivonen, smaug
2011-11-08 15:22:47 -05:00
Henri Sivonen
38e003626d
Bug 721313 - Do not run normal parse end code when parsing a full document from string. r=smaug.
2012-01-26 15:59:22 +02:00
Ms2ger
e3e8b35541
Bug 718504 - Remove some GetChildAt callers; r=smaug
2012-01-25 08:50:07 +01:00
Henri Sivonen
60292745ec
Bug 102699 - Support text/html in DOMParser.parseFromString(). r=smaug.
...
--HG--
rename : content/base/test/file_html_in_xhr.sjs => parser/htmlparser/tests/mochitest/file_bug102699.sjs
2012-01-20 14:03:49 +02:00
Henri Sivonen
9b60bd476a
Bug 714777 - Refactor fragment parsing out of nsHtml5Parser. r=smaug.
2012-01-20 13:16:27 +02:00
Henri Sivonen
3fee03c38e
Bug 715103 - Move parser unblocking management from nsContentSink to nsScriptLoader. r=smaug.
2012-01-20 13:16:27 +02:00
Henri Sivonen
838c272dbe
Bug 715739 - Make document.write from inside a script-created parser not add to the wyciwyg channel. r=smaug.
2012-01-20 13:16:27 +02:00
Henri Sivonen
334ab5df47
Bug 715112 - Remove duplicate document.close() state tracking. r=smaug.
2012-01-20 13:16:26 +02:00
Jeff Muizelaar
9c9e2eed37
Bug 718440. Add more sampler labels to various places. r=bgirard
...
This shows the problems described in bug 710068.
2012-01-17 15:33:04 -05:00
Matt Brubeck
2e1e2ae3c5
Back out 88733ce1bef3 (bug 718440) because of Windows build failure
2012-01-17 15:15:47 -08:00
Jeff Muizelaar
581f54f157
Bug 718440. Add more sampler labels to various places. r=bgirard
...
This shows the problems described in bug 710068.
2012-01-17 15:33:04 -05:00
Henri Sivonen
d54df1015f
Bug 655261 - Remove nsIParserFilter from the tree. r=mrbkap.
2012-01-09 14:20:43 +02:00
Henri Sivonen
e277245214
Bug 711049 - Adjust MathML text integration point treatment to comply with spec changes. rs=smaug.
2012-01-02 16:18:29 +02:00
Henri Sivonen
dd53ba4bab
Bug 711052 - Make <rp> and <rt> handling match spec edits. r=smaug.
2012-01-02 16:18:29 +02:00
Mats Palmgren
40e1c39875
Bug 706932 - stack overflow when deleting long nsHtml5OwningUTF16Buffer list (recursive dtor). r=hsivonen
2011-12-17 22:19:20 +01:00
Andrew Quartey
80d00b8b88
Bug 689834. Only look at the muted attribute when initially creating the element. r=bzbarsky
2011-12-15 14:36:46 -05:00
Gabor Krizsanits
873b2b62fc
Bug 678465 - 'document-element-inserted' doesn't fire on ImageDocument; r=bz
2011-12-15 15:10:36 +00:00
Masatoshi Kimura
ef45bcacdc
Bug 704820 - Simplify nsContentUtils::ReportToConsole. r=smaug
2011-12-15 14:47:03 +00:00
Henri Sivonen
bfbe063e6a
Bug 695640 - Remove View Source pre chunking, because it is no longer needed for reasonable perf. r=smaug.
2011-11-30 19:44:31 +02:00
Henri Sivonen
4c62e04846
Bug 703965 - Use View Source styling when viewing plain text source. r=smaug.
2011-11-30 19:44:31 +02:00
Henri Sivonen
08bb8d42f9
Bug 699356 - Show the URL of the page in the title of the View Source window. r=smaug.
2011-11-30 19:44:31 +02:00
Matt Brubeck
41aa9b3c38
Back out 38814e0bafb9 through c5d44e6e957b because of test failures
2011-11-30 11:44:50 -08:00
Henri Sivonen
e07e1adbbf
Bug 695640 - Remove View Source pre chunking, because it is no longer needed for reasonable perf. r=smaug.
2011-11-30 19:44:31 +02:00
Henri Sivonen
6f9a5aed13
Bug 703965 - Use View Source styling when viewing plain text source. r=smaug.
2011-11-30 19:44:31 +02:00
Henri Sivonen
c832d4cbd9
Bug 699356 - Show the URL of the page in the title of the View Source window. r=smaug.
2011-11-30 19:44:31 +02:00
Henri Sivonen
6b05a156c4
Bug 699365 - Avoid asserting when the parser command is "external-resource". r=smaug.
2011-11-30 15:11:38 +02:00
Henri Sivonen
4982d39971
Bug 535530 - Transition to the return state eagerly when a semicolon has matched when tokenizing a named character reference in HTML. r=smaug.
2011-11-30 15:11:37 +02:00
Henri Sivonen
ec23367d78
Bug 704667 - Take transitions from the comment start state to the data state into account when doing syntax highlighting. r=smaug.
2011-11-29 08:55:09 +02:00
Henri Sivonen
483054770c
Bug 704034 - Replace old pre-interned looping attributes with a single loop attribute in the HTML parser. rs=smaug.
2011-11-22 10:29:14 +02:00
Henri Sivonen
d6f3956f8a
Bug 704058 - Sync HTML parser .java sources in m-c with the htmlparser repo. rs=smaug. DONTBUILD
2011-11-21 16:12:15 +02:00
Henri Sivonen
44e424ee00
Bug 651072 - Support HTML parsing in XMLHttpRequest. r=smaug.
2011-11-16 09:38:51 +02:00
Andrew
a7c87d3b14
Bug 466626 - Make nsStyleLinkElement::ParseLinkTypes return a bitmask; r=roc
2011-11-20 11:13:40 +00:00
Matt Brubeck
2c50849fa3
Back out 75ace50df008 to try to fix failures after last central/inbound merge on a CLOSED TREE
2011-11-16 11:50:48 -08:00
Ed Morley
6000587a19
Merge mozilla-central to mozilla-inbound
2011-11-16 18:05:23 +00:00
Ms2ger
3cc9466821
Bug 697494 - Outparamdel nsIParser::GetStreamListener; r=hsivonen
2011-11-16 08:50:19 +01:00
Ms2ger
8c93cf88ec
Bug 698261 - Remove the aElementType argument of NS_NewElement; r=bz
2011-11-16 08:50:19 +01:00
Ms2ger
87cfab5086
Bug 669012 - Part b: Introduce nsIScriptElement::AttemptToExecute; r=smaug+hsivonen.
2011-11-16 08:50:18 +01:00
Henri Sivonen
09985ff269
Bug 651072 - Support HTML parsing in XMLHttpRequest. r=smaug.
2011-11-16 09:38:51 +02:00
Henri Sivonen
1ed9041d38
Bug 700260 - Honor the view_source.tab_size pref in a way that actually works. r=smaug.
2011-11-07 21:20:14 +02:00
Henri Sivonen
de222b191d
Bug 700042 - Support turning off View Source syntax highlighting. r=smaug.
2011-11-07 21:20:14 +02:00
Henri Sivonen
02166bddb5
Bug 699752 - Remove stray preposition from parser error reporting. r=smaug.
2011-11-07 11:29:18 +02:00
Henri Sivonen
002e5a0069
Bug 699750 - Fix accidental use of int instead of PRInt32. r=smaug.
2011-11-07 11:29:17 +02:00
Henri Sivonen
6578e60cbf
Bug 699749 - Avoid the term "astral" in error messages. r=l10n.
2011-11-04 15:36:29 +02:00
Henri Sivonen
0d4f001013
Bug 698935 addendum - Rename the errStrayStartTag string key because the value changed. r=l10n.
2011-11-04 15:36:29 +02:00
Henri Sivonen
6682f94acf
Bug 699347 - Avoid crashing when viewing source of XML files that have an XML declaration without the encoding pseudo-attribute. r=smaug.
2011-11-03 16:31:27 +02:00
Henri Sivonen
34ec811b55
Bug 659763 - Make document.open("text/plain") work with the new parser. r=Olli.Pettay.
2011-11-01 17:27:36 +02:00
Henri Sivonen
dc6ff15cba
Bug 479959 - Reimplement text/plain loading using the HTML5 parser. r=Olli.Pettay.
2011-11-01 17:27:36 +02:00
Henri Sivonen
e434910347
Bug 482921 part 14 - Address review comments. r=Olli.Pettay.
2011-11-01 13:33:11 +02:00
Henri Sivonen
aa15aa3b1f
Bug 482921 part 11 - Deduplicate the tokenizer loop in .cpp. r=Olli.Pettay.
2011-11-01 13:33:11 +02:00
Henri Sivonen
31b733036d
Bug 482921 part 10 - Support parametrized error messages in new View Source. r=Olli.Pettay.
2011-11-01 13:33:11 +02:00
Henri Sivonen
801c32d635
Bug 482921 part 8 - Start a new <pre> occasionally in View Source refixing bug 86355. r=bzbarsky.
2011-11-01 13:33:11 +02:00
Henri Sivonen
d9b76169a4
Bug 482921 part 7 - Add an id for each line in new View Source. r=Olli.Pettay.
2011-11-01 13:33:11 +02:00
Henri Sivonen
2963a24ae6
Bug 482921 part 6 - Use the internal encoding declaration in the XML View Source case. r=Olli.Pettay.
2011-11-01 13:33:11 +02:00
Henri Sivonen
e0a7b8950f
Bug 482921 part 5 - Add entry point for new View Source for XML; Make new View Source easy to disable. r=Olli.Pettay.
2011-11-01 13:33:11 +02:00
Henri Sivonen
2e697f57ad
Bug 482921 part 4 - Support XML syntax highlighting in the parser core. r=Olli.Pettay.
2011-11-01 13:33:11 +02:00
Henri Sivonen
f55328bb86
Bug 482921 part 3 - Highlight tree builder-level errors in View Source. r=Olli.Pettay.
2011-11-01 13:33:11 +02:00
Henri Sivonen
d55e46aa36
Bug 482921 part 2 - Highligh tokenizer-level errors in View Source. r=Olli.Pettay.
2011-11-01 13:33:11 +02:00
Henri Sivonen
ca7381838d
Bug 482921 part 1 - Implement HTML syntax highlighting using the new parser. r=Olli.Pettay.
2010-07-30 13:15:38 +03:00
Henri Sivonen
782c90cefd
Bug 482921 part 0.5 - Restore support for using tree op queue to set document charset. r=bzbarsky.
2011-11-01 13:33:11 +02:00
Henri Sivonen
db7f6965c7
Bug 696651 part 3 - Refine part 2. r=Olli.Pettay.
2011-10-31 16:28:23 +02:00
Henri Sivonen
d7a2a86881
Bug 696651 part 2 - Establish document.write() insertion position before re-entrant calls can occur. r=Olli.Pettay.
2011-10-29 23:14:31 +03:00
Henri Sivonen
df4d9f2647
Back out changeset fc4ddddf142d and changeset d1766aec3d7e due to jsreftest orange.
2011-10-30 00:10:33 +03:00
Henri Sivonen
cd7a4e8d14
Bug 696651 part 2 - Establish document.write() insertion position before re-entrant calls can occur. r=Olli.Pettay.
2011-10-29 23:14:31 +03:00
Henri Sivonen
5bcf6b87eb
Bug 696651 part 1 - Deal more gracefully with the parser getting terminated during document.write() and with document.close() getting called while document.write() is on the call stack. r=Olli.Pettay.
2011-10-29 23:14:31 +03:00
Henri Sivonen
521b228739
Bug 697833 - Stop honoring html5.parser.enable. r=Olli.Pettay.
2011-10-29 13:51:52 +03:00
Olli Pettay
e5b7e8ee46
Bug 682420 - Rename nsINode::GetOwnerDoc to nsINode::OwnerDoc, part 2, r=jst
...
--HG--
extra : rebase_source : 53dc2ec386f6e4147587e6be3c53d297ad71d57a
2011-10-18 14:19:44 +03:00
Olli Pettay
a86b1a4d43
Bug 682420 - Rename nsINode::GetOwnerDoc to nsINode::OwnerDoc, part 1, r=jst
...
--HG--
extra : rebase_source : baf1a25cdea68d499a7673fdf96e27b5a12dc83c
2011-10-18 13:53:36 +03:00
Ehsan Akhgari
2a602a5685
Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
...
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Jeff Walden
b7753477cf
Bug 693469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. (Exceptions: assigning to static initializers, use in static assertions, as template parameters, etc. These will go away when the relevant compilers have C++11 constexpr support.) r=cjones
...
--HG--
extra : rebase_source : b4bae9a0f85abf2feb828609b50e756916b99a6f
2011-10-10 22:50:08 -07:00
Henri Sivonen
2c7ccac42d
Bug 687744 and bug 573078 - Make buffer allocations in the HTML parser fallible; deal with allocation failures; reuse the buffers of strings passed to the parser. r=Olli.Pettay.
2011-09-28 15:45:17 +03:00
Henri Sivonen
14bfbcd946
Bug 619043 - Check for parser termination after flushing speculative loads. r=bzbarsky.
2011-10-14 13:39:19 +03:00
Jeff Walden
eb2cb918a4
Back out everything since 5435ee09cf7b. Tinderbox compilers hate me. r=epic-fail
2011-10-12 12:21:53 -07:00
Jeff Walden
77ebbde4ab
Bug 639469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. r=cjones
...
--HG--
extra : rebase_source : 860a8271bf7e51cde358f2a4185c410de1fc2960
2011-10-10 22:50:08 -07:00
Jared Wein
37e0352ea6
Backout revision 379147b5215f due to video controls not showing when viewing standalone videos (bug 689106). r=jonas
2011-10-03 20:46:40 -07:00
Michael Wu
d8e503c38b
Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
...
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Gabor Krizsanits
e9acfc4dca
Bug 678465 - 'document-element-inserted' doesn't fire on ImageDocument; r=sicking
2011-09-22 17:35:25 +01:00
Henri Sivonen
9866daad7f
Bug 685581 - Do not treat the empty string as a speculatively preloadable URL. r=bzbarsky.
2011-09-19 17:37:04 +03:00
Olli Pettay
2f2d683768
Bug 675166 - Make DocumentTypeNode to use NodeInfoManager of the document, r=sicking
...
--HG--
extra : rebase_source : c05867591dc394695c35de92a0c62ca5df9db1d6
2011-09-17 06:32:32 -07:00
Ms2ger
7b7048fda0
Bug 649603 - Make nsIScriptContext::GetNativeContext return JSContext; r=jst
2011-09-18 11:22:17 +02:00
Henri Sivonen
8084ad5102
Bug 657389 - nsHtml5MetaScanner should use PR_INT32_MAX instead of -1 as a special marker value for indeces. r=jonas.
2011-09-07 12:50:15 +03:00
Ms2ger
22f2e46b8c
Bug 684469 - Various cleanup in nsHtml5TreeOpExecutor; r=hsivonen
2011-09-04 12:49:29 +02:00
Matheus Kerschbaum
3bcb2143b6
Bug 680625 part 0b: Remove more workarounds for past century compilers. r=ted
2011-08-26 00:35:13 +01:00
Olli Pettay
883279b75a
Bug 680687, Follow COM rules - keep strong ref to object, r=jst
2011-08-23 15:57:29 +03:00
Rafael Ávila de Espíndola
5a5c98bf91
Bug 678209 - Fix c++0x initializer list error found by clang. r=jonas
...
The aLength argument is used in
CharacterDataChangeInfo info = {
PR_TRUE,
oldLength,
oldLength,
aLength
};
and the last field of CharacterDataChangeInfo is a PRUint32, so
aLength should be one to for this to be valid c++0x.
--HG--
extra : rebase_source : 267982352c7075a1189555cb6e0b8f025c57b036
2011-08-22 15:35:19 -04:00
Marco Castelluccio
b8fd68e0c6
Bug 612839 - Removed nsAHtml5FragmentParser. r=hsivonen
2011-08-14 10:39:26 -07:00
Jan Varga
5020b003ce
Bug 617528 Part 2 - Core implementation r=smaug
...
--HG--
rename : content/html/content/test/test_bug418756.html => content/html/content/test/test_checked.html
2011-08-08 19:31:32 +02:00
Jan Varga
887653f638
Bug 676236 - Add support for the <menuitem> element to the HTML parser (not enabled by default) r=hsivonen
2011-08-06 08:41:36 +02:00
Marco Bonardo
195908f0b1
Backout changeset d43b06e79794 (Bug 612839) due to build bustage.
2011-08-04 11:02:49 +02:00
Marco Castelluccio
21c8d81293
Bug 612839 - Removed nsAHtml5FragmentParser. r=hsivonen
2011-08-03 19:54:55 +02:00
Daniel Holbert
e121fbeb89
Bug 482919 followup: Add newline at end of nsHtml5Speculation.h to fix build warning. [whitespace-only]
2011-08-02 12:10:29 -07:00
Daniel Holbert
a2d7d86b54
Bug 675499 followup: Remove comma at end of enum list, to fix maemo build bustage.
2011-08-02 12:10:23 -07:00
Henri Sivonen
8226a386e1
Bug 675499 - Transfer initially sniffed document charset through the speculative load queue to avoid race conditions. r=bzbarsky.
2011-08-02 20:45:38 +03:00
Henri Sivonen
c7d8484bd1
Bug 563322 part 2 - Avoid calling nsScriptLoader::SetEnabled in the innerHTML setter when using the XML parser. r=Olli.Pettay.
2011-08-01 10:48:28 +03:00
Henri Sivonen
0176915bb7
Bug 596182 - Make fragment parsers global. Remove resulting dead code. r=Olli.Pettay, r=bzbarsky.
2011-08-01 10:48:24 +03:00
Boris Zbarsky
8876cdd39c
Bug 672014. Pass the crossorigin attribute through to image preloading code. r=joe,hsivonen
2011-07-29 14:30:00 -04:00
Boris Zbarsky
df03cbc9fa
Back out changeset f5aecf9010ef (bug 672014) due to build bustage.
2011-07-29 15:29:01 -04:00
Boris Zbarsky
42b3776aac
Bug 672014. Pass the crossorigin attribute through to image preloading code. r=joe,hsivonen
2011-07-29 14:30:00 -04:00
Henri Sivonen
6dc83ec47d
Bug 672081 - Stop feeding chardet when seeing an actionable late charset <meta>. r=bzbarsky.
2011-07-28 13:45:29 +03:00
Mats Palmgren
238d417a3c
Bug 672438 - Notify only if AppendChildTo succeeds. r=hsivonen
2011-07-20 22:22:27 +02:00
Ed Morley
0d655393f8
Bug 665387 - Remove unused variable document from nsHtml5TreeOperation::Perform; r=hsivonen
2011-06-21 17:37:41 +02:00
Jonas Sicking
5f95458332
Bug 659539 Part 1: Give nsINodeInfos a nodeType, nodeName and localName. r=bz
2011-06-14 00:56:49 -07:00
Ed Morley
9e71e5b9ac
Bug 614515 - Remove MOZ_SVG conditions. r=roc
2011-05-30 09:34:50 +02:00
Masayuki Nakano
85c451e309
Bug 660121 Remove all pref related methods from nsContentUtils r=roc
2011-05-29 08:42:57 +09:00
Masayuki Nakano
2b6aea130f
Bug 660401 Re-land the previous backed out patch
2011-05-28 16:03:00 +09:00
Masayuki Nakano
4dede19235
Bug 660401 temporary backout the patches for bug 659820 and bug 659821 for investigating talos regression
2011-05-28 13:50:19 +09:00
Masayuki Nakano
387ea6f111
Bug 659821 Replace nsContentUtils::GetLocalizedStringPref() with Preferences::GetLocalizedC?String() r=roc
2011-05-27 13:53:03 +09:00
Jonas Sicking
b35fd6c424
Bug 659530: Clean up and remove unused code that we no longer need with the safer mutation events implementation. r=smaug
2011-05-25 10:58:23 -07:00
Henri Sivonen
7766a5c929
Bug 655682 - Perform discretionary flushes in the HTML parser even if the current node is foster-parenting. r=bzbarsky.
2011-05-19 11:42:01 +03:00
Ed Morley
d260544670
Bug 316661 - Part A - Remove null-checks before delete. r=bsmedberg
2011-05-17 16:01:36 +02:00
Henri Sivonen
f5d2683307
Bug 651441 - Make sure the HTML5 application cache selection algorithm runs properly when there is no manifest attribute. r=honzab.moz.
2011-05-13 11:31:12 +03:00
Timothy Nikkel
8e6d2ba938
Backed out changeset ed867467d35b (bug 645075) because it doesn't build.
2011-05-12 11:07:42 -05:00
Timothy Nikkel
41f2c9b7d4
Bug 645075. Move scrolling to ref handling back from the document to the content sink so that it works with XSLT transformed documents. r=sicking
2011-05-12 10:36:21 -05:00
Zack Weinberg
66c29ada9f
Bug 541496 prelim 1: remove nsIUnicharStreamListener (no in-tree implementations). r=hsivonen
2011-05-06 08:45:33 -07:00
Henri Sivonen
35f3c40695
Bug 654106 - Avoid registering a script observer in the fragment parsing case. r=bzbarsky.
2011-05-04 09:35:14 +03:00
Henri Sivonen
9fbed8e805
Bug 642908 - Make the <noscript> handling state in the speculative document.write tree builder match the state of the non-speculative document.write tree builder. r=bzbarsky.
2011-04-28 10:01:13 +03:00
Ms2ger
330bb49437
Bug 604595, part b - Remove the nsIDOMNamedNodeMap* arguments to NS_NewDOMDocumentType; r=sicking
2011-04-14 14:04:21 +02:00