Commit Graph

92 Commits

Author SHA1 Message Date
William Chen
4f45d297fa Bug 818976 - Part 3: Generated code for HTML5 parser. r=hsivonen 2013-03-26 00:15:23 -07:00
Henri Sivonen
7fea99d50e Bug 820508 part 1 - Parser support for <main>. r=smaug. 2013-01-29 14:31:45 +02:00
Henri Sivonen
950206f832 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
7c9bc21c2f 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
Jacek Szpot
bea8356b2c Bug 792180 - Replace NS_{UN,}LIKELY with MOZ_{UN,}LIKELY; r=ehsan 2012-10-26 15:32:10 +02:00
Henri Sivonen
f67c4e77fb Bug 799958 - Remove prtype.h from C++ translator output. r=smaug. 2012-10-25 14:03:27 +03:00
Henri Sivonen
bc2e1a688e Bug 503190 - Include assertions in the C++ translator output. r=smaug. 2012-10-01 11:52:32 +03:00
Henri Sivonen
789c579697 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
Ehsan Akhgari
8c296bbcd4 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
57c0ad57fb Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Aryeh Gregor
0c8f5adf50 Bug 626472 part 1 - Define nsnull as nullptr where available; r=ehsan 2012-07-20 14:16:17 +03:00
David Zbarsky
cd3c58ee76 Bug 763350 - Clean up some includes in content/ and dom/ r=smaug 2012-07-01 16:45:59 -07:00
Henri Sivonen
cf55919ff8 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
9f90e9e4dc Bug 711052 - Make <rp> and <rt> handling match spec edits. r=smaug. 2012-01-02 16:18:29 +02:00
Henri Sivonen
ced0005834 Bug 703965 - Use View Source styling when viewing plain text source. r=smaug. 2011-11-30 19:44:31 +02:00
Matt Brubeck
a2398505d6 Back out 38814e0bafb9 through c5d44e6e957b because of test failures 2011-11-30 11:44:50 -08:00
Henri Sivonen
559bf46562 Bug 703965 - Use View Source styling when viewing plain text source. r=smaug. 2011-11-30 19:44:31 +02:00
Henri Sivonen
216045a5cb 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
0429f9c117 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
3b72f9a1ea Bug 482921 part 1 - Implement HTML syntax highlighting using the new parser. r=Olli.Pettay. 2010-07-30 13:15:38 +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
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
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
Henri Sivonen
2e75146b33 Bug 643410 - Reconstruct active formatting elements on text in an HTML integration point; handle U+0000 per spec in a MathML text integration point. r=jonas. 2011-04-08 09:07:28 +03:00
Henri Sivonen
e887966c40 Bug 643395 - Update the HTML parser Java code to the state in the htmlparser repo (NPOTB). rs=jonas. 2011-04-08 09:07:27 +03:00
Mats Palmgren
76ed992dba Bug 635085 - Reconstruct any active formatting elements after auto closing a <nobr> in a nested <nobr> situation, per HTML spec. r=hsivonen approval2.0=shaver 2011-02-22 00:06:27 +01:00
Michael(tm) Smith
35eaa66b2e Bug 620664 - Add support for the track element to the HTML5 parser. r=hsivonen, a=jst. 2011-01-12 10:05:09 +02:00
Neil Rashbrook
76524634bb Bug 620267 Certain LFs following a <pre> or <textarea> get erroneously stripped r=hsivonen a=bz 2011-01-05 23:49:55 +00:00
Henri Sivonen
0df9c7d005 Bug 614241 - Make a late <body> start tag set frameset-ok to "not ok". rs=jonas, a=blocking2.0-betaN. 2010-12-09 11:27:58 +02:00
Henri Sivonen
143c3bdadc Bug 612528 - Make <option> and <optgroup> imply </option> in the "in body" insertion mode only if the current node is "option". rs=jonas, a=blocking2.0-betaN. 2010-12-09 11:27:58 +02:00
Henri Sivonen
60b0cda8cc Bug 612527 - Implement spec tweaks to U+0000 handling in the HTML5 parser. rs=jonas, a=blocking2.0-betaN. 2010-12-09 11:27:58 +02:00
Henri Sivonen
b91c3491b4 Bug 606925 - Get rid of the "in foreign content" insertion mode. Check the namespace of the current node instead. rs=jonas, a=blocking2.0-betaN. 2010-12-09 11:27:58 +02:00
Henri Sivonen
6402200a37 Bug 612529 part 3 - Make <annotation-xml> an HTML integration point depending on the encoding attribute. rs=jonas, a=blocking2.0-betaN. 2010-12-09 11:27:58 +02:00
Henri Sivonen
7cc7276fad Bug 612529 part 2 - Rework how scopingness and specialness is handled in stack nodes; refresh the set of scoping elements to spec. rs=jonas, a=blocking2.0-betaN. 2010-12-09 11:27:58 +02:00
Henri Sivonen
9c3299bd5c Bug 612529 part 1 - Pack the dispatch group and the flags of an element into one 32-bit bitfield. r=jonas, a=blocking2.0-betaN. 2010-12-09 11:27:57 +02:00
Henri Sivonen
c7f50eb9e3 Bug 594730 - Make the content attribute in <meta> act as an encoding declaration only if http-equiv="Content-Type" is present. rs=jonas, a=blocking2.0-betaN. 2010-12-08 14:37:19 +02:00
Henri Sivonen
4634c5a351 Bug 607573 - Make <input type=hidden> not set frameset-ok to "not ok". r=jonas, a=blocking2.0-betaN. 2010-11-18 10:19:59 +02:00
Henri Sivonen
1fef2e7679 Bug 605466 - Implement new spec-based limits for formatting element proliferation in the HTML5 parsing algorithm. rs=jonas, a=blocking2.0-betaN.
--HG--
extra : rebase_source : b8d9c7fb5c4ef094af89ed9c29d49bd38d8fcca1
2010-10-15 12:23:42 +03:00
Henri Sivonen
781be41918 Bug 596169 - Make <summary> and <figcaption> behave per spec. Remove <datagrid>. rs=jonas, a=blocking2.0-betaN. 2010-10-07 10:27:16 +03:00
Henri Sivonen
b846ef5736 Bug 502176 - Replace static use of jArray with a plain old data staticJArray, introduce an autoJArray for nicer memory management. r=tglek, a=jst.
--HG--
extra : rebase_source : c9dbde959b76c019df87b83c551dd97e3ad7d311
2010-09-28 10:32:31 +03:00
Henri Sivonen
6536590161 Bug 596168 - Make non-space characters in the "in foreign content" insertion mode set frameset-ok to not OK. rs=jonas, a=jst.
--HG--
extra : rebase_source : e87024a6536be71b1670cb834e4d675523bb8c93
2010-09-15 11:37:55 +03:00
Henri Sivonen
9aad77e103 Bug 596180 - Limit the number of iterations in the adoption agency algorithm. rs=jonas, a=blocking2.0-betaN.
--HG--
extra : rebase_source : 3fd176ad6b1bddee3c11b9f9002e21c64a5c1927
2010-09-15 11:37:55 +03:00
Henri Sivonen
9c83984cb7 Bug 595844 - Check the namespace of the current element on the tree builder stack when deciding whether to support CDATA sections in text/html. rs=jonas, a=blocking2.0-betaN. 2010-09-15 11:37:55 +03:00
Henri Sivonen
3f4d929fa6 Bug 595797 - Add the attributes of an <html> start tag to the root element if the <html> tag is seen after a frameset. rs=jonas, a=blocking2.0-betaN. 2010-09-15 11:37:55 +03:00
Henri Sivonen
242b1e9c71 Bug 595643 - Make space characters reconstruct active formatting elements when frameset-ok is OK. rs=jonas, a=blocking2.0-betaN. 2010-09-15 11:37:55 +03:00
Henri Sivonen
d1dcc00558 Bug 580091 - Make the HTML5 parser reconstruct formatting elements properly when text inside table gets foster-parented. rs=jonas, a=blocking2.0-betaN. 2010-09-15 11:37:55 +03:00
Henri Sivonen
66cd476432 Bug 590498 - Change popping condition when forcibly breaking out of foreign content in HTML5 parser. rs=jonas, a=blocking2.0-betaN.
--HG--
extra : rebase_source : 4b673ba39fd24d120347b9752ba04a4904f764cd
2010-09-15 11:37:55 +03:00
Henri Sivonen
e63b49975a Bug 590495 - Check for foreign elements in scope after processing a foreign end tag without forwarding to the secondary insertion mode. rs=jonas, a=blocking2.0-betaN.
--HG--
extra : rebase_source : b23a9ecbbfe38dfb3878de447e61a23ab9594c9f
2010-09-09 10:30:07 +03:00
Henri Sivonen
c1a17edb8e Bug 569528 - Make <p> not close implicitly across a <button> on stack. rs=jonas, a=blocking2.0-final.
--HG--
extra : rebase_source : cb0b77f12787278883c3c1ef8d3d0906c86a327a
2010-09-08 19:31:22 +03:00
Henri Sivonen
b28314826a Bug 531056 - Make the HTML5 parser unaware of <spacer>. r=jonas, a=jst.
--HG--
extra : rebase_source : 97ef3b60edcd87e3a8ebe4fbb0ee9de75d7ab5c9
2010-09-15 11:37:55 +03:00