Commit Graph

108 Commits

Author SHA1 Message Date
John Schoenick
303bd3cb54 Bug 1067345 - Part 3 - Implement speculative load operations for <picture> and <img srcset> 2014-12-10 18:54:00 -05:00
Owen Chu
f8f45e4564 Bug 704320 - Parse and implement meta tag-based referrer policies for documents and nsHttpChannels. (r=bz,mcmanus) 2014-11-18 08:46:29 -05:00
William Chen
fdf3148d35 Bug 1091425 - Use the correct document when creating nodes in the HTML5 parser. r=hsivonen 2014-11-09 22:50:18 -08:00
Henri Sivonen
89552abfc6 Bug 1088635. r=smaug. 2014-11-05 17:44:37 +02:00
Diwas Joshi
cca79e512e Bug 617789 - Links in view page source when base href exists fixed. r=hsivonen. 2014-09-30 12:35:17 +03:00
Julian Seward
e2b2d0feeb Bug 1065310 - nsHtml5TreeBuilder::contextName is used uninitialised. r=hsivonen. 2014-09-30 14:29:48 +02:00
Olli Pettay
948ecb7f4b Bug 902618 - Parser notifies about subtree roots, but not their descendants, r=hsivonen,bz 2014-06-17 02:01:22 +03:00
Chris Peterson
a92c1d8ab5 Bug 990764 - Replace MOZ_ASSUME_UNREACHABLE in HTML parser. r=hsivonen 2014-04-28 20:28:54 -07:00
Masayuki Nakano
2eb2bd8616 Bug 983049 part.5 Rename nsEventDispatcher to mozilla::EventDispatcher r=smaug 2014-03-18 13:48:21 +09:00
Henri Sivonen
0bb0daf4bd Bug 959150 part 7 - Retain probable bugs instead of changing behavior right now. r=smaug. 2014-03-05 21:38:50 +02:00
Henri Sivonen
775e097398 Bug 959150 part 5 - Avoid reallocating the attribute holder when parsing with nsHtml5StringParser. r=smaug. 2014-03-05 21:38:50 +02:00
Henri Sivonen
d07d56d994 Bug 959150 part 4 - Avoid using tree ops when parsing with nsHtml5StringParser. r=smaug. 2014-03-05 21:38:50 +02:00
Henri Sivonen
9a0ebc58ff Bug 959150 part 1 - Represent nodes as void* in the portable part of the parser. r=smaug. 2014-03-05 21:38:49 +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
c75fec6c18 Bug 959150 part 7 - Retain probable bugs instead of changing behavior right now. r=smaug. 2014-03-05 21:38:50 +02:00
Henri Sivonen
5cc7ddc8b5 Bug 959150 part 5 - Avoid reallocating the attribute holder when parsing with nsHtml5StringParser. r=smaug. 2014-03-05 21:38:50 +02:00
Henri Sivonen
ce22b77692 Bug 959150 part 4 - Avoid using tree ops when parsing with nsHtml5StringParser. r=smaug. 2014-03-05 21:38:50 +02:00
Henri Sivonen
ad4e4d2e99 Bug 959150 part 1 - Represent nodes as void* in the portable part of the parser. r=smaug. 2014-03-05 21:38:49 +02:00
William Chen
f7f37cd6aa Bug 946585 - Change how the form element pointer affects parsing template elements. r=hsivonen 2014-01-31 15:03:24 -08:00
Ehsan Akhgari
68bfe70f09 Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
This patch was automatically generated by the following script:

#!/bin/bash
# Command to convert PRUnichar to char16_t

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*modules/libmar*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name prtypes.h \
       ! -name Char16.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 PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Masayuki Nakano
c97e23707c Bug 912956 part.2 Rename nsEvent.h to mozilla/EventForwards.h and sort out it r=roc 2013-09-24 19:04:14 +09:00
James Kitchener
2966ca6302 Bug 802895 - Parser changes to support srcdoc attributes for iframes, r=hsivonen 2013-06-28 23:13:23 -04:00
William Chen
43d16f6276 Bug 818976 - Part 1: Add supplement code and new tree op to support generated code in HTML5 parser. r=hsivonen 2013-03-26 00:15:23 -07:00
Neil Rashbrook
76a37bffb8 Bug 849422 Allow plain text document word-wrap to be turned on after the fact r=bz 2013-03-13 19:56:24 +00:00
Jared Wein
5c55a24656 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
Patrick McManus
e02ad04f62 bug 792438 part 1 - identify css and head-based-js as dedicated network resources r=bz 2012-12-04 18:06:29 -05:00
Jacek Szpot
09f9b9a1c3 Bug 792180 - Replace NS_{UN,}LIKELY with MOZ_{UN,}LIKELY; r=ehsan 2012-10-26 15:32:10 +02:00
Isaac Aggrey
990e90e88a Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan 2012-09-28 01:57:33 -05:00
Boris Zbarsky
a198282cca 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
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
691ef24b2a Bug 780618 - Move all error codes to nsError.h; r=ehsan 2012-07-27 17:03:27 +03:00
Aryeh Gregor
8b4a23fc4c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Henri Sivonen
67be401de2 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
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
71efda6e2b Bug 672453 - Whine to console about various character encoding declaration-related authoring errors. r=smaug. 2012-03-24 13:34:42 +02:00
Henri Sivonen
643fc9277c Bug 738572 - #include nsIHTMLContentSink.h in fewer places. r=bzbarsky. 2012-03-23 17:21:44 +02:00
Henri Sivonen
daa268e2f4 Bug 709083 - Call DoneCreatingElement before children have been appended to the element. r=bzbarsky. 2012-02-03 15:32:31 +02:00
Boris Zbarsky
30d7cb00f8 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
Andrew Quartey
460ab09e46 Bug 689834. Only look at the muted attribute when initially creating the element. r=bzbarsky 2011-12-15 14:36:46 -05:00
Henri Sivonen
b661112113 Bug 703965 - Use View Source styling when viewing plain text source. 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
5aae1f453d Bug 703965 - Use View Source styling when viewing plain text source. r=smaug. 2011-11-30 19:44:31 +02:00
Henri Sivonen
6d3adb2646 Bug 699752 - Remove stray preposition from parser error reporting. r=smaug. 2011-11-07 11:29:18 +02:00
Henri Sivonen
7d588ef0e0 Bug 698935 addendum - Rename the errStrayStartTag string key because the value changed. r=l10n. 2011-11-04 15:36:29 +02:00
Henri Sivonen
282d41d3e8 Bug 479959 - Reimplement text/plain loading using the HTML5 parser. r=Olli.Pettay. 2011-11-01 17:27:36 +02:00
Henri Sivonen
6bd519ac43 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
6d5bbec2af 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
Ehsan Akhgari
478ad1a412 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
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