Commit Graph

60 Commits

Author SHA1 Message Date
Ehsan Akhgari
3bdb6e5549 Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
This patch was automatically generated using the following script:

function convert() {
echo "Converting $1 to $2..."
find . \
       ! -wholename "*/.git*" \
       ! -wholename "obj-ff-dbg*" \
         -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 MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-25 12:42:35 -04:00
Ehsan Akhgari
5c1aa90db7 Bug 1118417 - Mark virtual overridden functions as MOZ_OVERRIDE in parser; r=hsivonen 2015-01-12 10:19:21 -05:00
Henri Sivonen
89552abfc6 Bug 1088635. r=smaug. 2014-11-05 17:44:37 +02:00
Trevor Saunders
b131fddd60 bug 1059490 - mark more classes MOZ_FINAL r=froydnj 2014-08-27 14:26:48 -04:00
Benoit Jacob
722ec47133 Bug 1028588 - Fix dangerous public destructors in parser/ - r=wchen 2014-06-27 14:41:03 -04:00
Henri Sivonen
0e8540320a Bug 960519 - Make it safe to refcount the HTML parser's nsIStreamListener off-the-main-thread. r=smaug. 2014-04-16 08:41:39 +03:00
Henri Sivonen
b09f44b0e5 Bug 959150 part 6 - Move the opening brace to the next line in methods whose body is in non-generated .h files under parser/html/. r=smaug. 2014-03-05 21:38:50 +02:00
Ryan VanderMeulen
35226d8b0a Backed out 8 changesets (bug 959150) for Linux debug build bustage on a CLOSED TREE.
Backed out changeset 30bdc9b15e8e (bug 959150)
Backed out changeset 630e489aed30 (bug 959150)
Backed out changeset c6874004efe7 (bug 959150)
Backed out changeset ebc67518a962 (bug 959150)
Backed out changeset 14441e528582 (bug 959150)
Backed out changeset 8d0ae8bffb08 (bug 959150)
Backed out changeset 603b63c33e9a (bug 959150)
Backed out changeset 261e2d244c54 (bug 959150)
2014-03-05 15:26:07 -05:00
Henri Sivonen
cbb279e1e0 Bug 959150 part 6 - Move the opening brace to the next line in methods whose body is in non-generated .h files under parser/html/. r=smaug. 2014-03-05 21:38:50 +02:00
Benoit Jacob
c719617d8e Bug 913847 - stop needlessly including nsThreadUtils.h - r=ehsan 2013-09-19 09:54:39 -04:00
Wes Kocher
df60e63207 Backed out changeset 554bfe767519 (bug 913847) for leaking on a CLOSED TREE 2013-09-18 17:21:02 -07:00
Benoit Jacob
7bcf1eee88 Bug 913847 - stop needlessly including nsThreadUtils.h - r=ehsan 2013-09-18 18:50:32 -04:00
James Kitchener
9e4c5894af Bug 912981 - Make parser aware of view-source srcdoc status. r=hsivonen 2013-09-10 13:40:50 -04:00
Cykesiopka
2b212b7067 Bug 528863 - Use _h instead of _h__ in include guards in the HTML5 parser. r=hsivonen 2013-08-23 11:07:10 -04:00
James Kitchener
2966ca6302 Bug 802895 - Parser changes to support srcdoc attributes for iframes, r=hsivonen 2013-06-28 23:13:23 -04:00
Ehsan Akhgari
243c878d26 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
8b4a23fc4c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
David Zbarsky
a0e342d0b9 Bug 772758 - Clean up some build warnings in html5 parser r=hsivonen 2012-07-13 11:55:21 -07:00
David Zbarsky
9050aef271 Bug 763350 - Clean up some includes in content/ and dom/ r=smaug 2012-07-01 16:45:59 -07:00
Gervase Markham
d697fdc8ec Bug 759095 - upgrade license to MPL 2, and other licensing cleanups. 2012-05-29 16:52:43 +01:00
Henri Sivonen
40ba9af5f5 Bug 714777 - Refactor fragment parsing out of nsHtml5Parser. r=smaug. 2012-01-20 13:16:27 +02:00
Henri Sivonen
4e63e18f2a Bug 715103 - Move parser unblocking management from nsContentSink to nsScriptLoader. r=smaug. 2012-01-20 13:16:27 +02:00
Henri Sivonen
40e41c5d2b 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
e37be49202 Bug 655261 - Remove nsIParserFilter from the tree. r=mrbkap. 2012-01-09 14:20:43 +02:00
Henri Sivonen
943aee8f19 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
9b1962f5cc Back out 38814e0bafb9 through c5d44e6e957b because of test failures 2011-11-30 11:44:50 -08:00
Henri Sivonen
72a4aefa74 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
Ms2ger
4c0d56004b Bug 697494 - Outparamdel nsIParser::GetStreamListener; r=hsivonen 2011-11-16 08:50:19 +01:00
Henri Sivonen
e68cae07f7 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
a42c6e14db 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
ff8c3afd83 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
1cde100e2a 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
Michael Wu
0fe7772ece Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones 2011-09-28 23:19:26 -07:00
Marco Castelluccio
09cdbdd268 Bug 612839 - Removed nsAHtml5FragmentParser. r=hsivonen 2011-08-14 10:39:26 -07:00
Henri Sivonen
2fa0fb46af Bug 596182 - Make fragment parsers global. Remove resulting dead code. r=Olli.Pettay, r=bzbarsky. 2011-08-01 10:48:24 +03:00
Zack Weinberg
076ac188e0 Bug 541496 prelim 1: remove nsIUnicharStreamListener (no in-tree implementations). r=hsivonen 2011-05-06 08:45:33 -07:00
Henri Sivonen
b08bd7a552 Bug 543062 - When document.write() blocks, pre-parse the tail of the buffer for speculative loads. r=jonas, a=blocking2.0-beta8. 2010-11-18 10:23:48 +02:00
Henri Sivonen
14caf81d48 Bug 599588 addendum - Revert change to nsIParser and introduce a new abstract class instead to avoid changing the interface during an interface freeze. r=jonas, a=blocking2.0-final. 2010-11-16 09:47:10 +02:00
Henri Sivonen
8743dcf063 Bug 599588 - Make scripts created by createContextualFragment() executable. r=jonas, a=blocking2.0-final. 2010-11-01 11:50:01 +01:00
Olli Pettay
780c38d2b9 Bug 580094 - Few SetInnerHTML micro optimizations , r=jst, a=benjamin 2010-07-21 19:03:21 +03:00
Henri Sivonen
4d410f2cc6 Bug 548232 - Make meta charset not have an effect on document.open()ed documents in the HTML5 parser (reverting most of bug 539887). r=bzbarsky. 2010-04-16 13:52:06 +03:00
Henri Sivonen
1347ac34f9 Bug 551344 part 4 - Address more review comments from sicking in the C++ parts of the HTML5 parser. r=jonas. 2010-04-16 13:52:06 +03:00
Henri Sivonen
b1663de57d Bug 551344 part 1 - Address sicking's review comments in nsHtml5Parser.cpp. r=jonas. 2010-03-15 14:04:41 +02:00
Henri Sivonen
4793e2d1fd Bug 543458 - Make the HTML5 tree op executor use nsContentSink code for deciding when to return to the event loop. r=bnewman. 2010-02-26 11:18:38 +02:00
Henri Sivonen
b70fd25289 Bug 539887 - Make document.written meta charset affect the charset of document.opened documents in the HTML5 parser. r=bnewman. 2010-03-09 14:39:32 +02:00
Henri Sivonen
6d5095eb25 Bug 483015 - Expose HTML line number to JS and CSS parsers in the HTML5 parser. r=bnewman, a=beltzner. 2009-10-28 15:48:37 +02:00
Henri Sivonen
972da1bcbb Bug 500616 - Remove continue event from nsHtml5Parser. r=bnewman, a=beltzner. 2009-10-27 10:00:22 +02:00
Henri Sivonen
23762b84db Bug 524447 - Make the HTML5 parser tokenize on document.close(). (Spec svn r4241.) r=bnewman. 2009-10-27 09:44:17 +02:00
Henri Sivonen
605423c728 Bug 516186 - Make late charset switch in HTML5 not trigger assertions. r=bnewman. 2009-10-21 15:12:50 +03:00
Henri Sivonen
5c9324592e Bug 521970 - Remove the ContinueParsing() method. r&sr=mrbkap. 2009-10-21 15:00:29 +03:00