William Chen
b55e2cb1a3
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
723b4d1376
Bug 1088635. r=smaug.
2014-11-05 17:44:37 +02:00
Diwas Joshi
fdfd9cce83
Bug 617789 - Links in view page source when base href exists fixed. r=hsivonen.
2014-09-30 12:35:17 +03:00
Henri Sivonen
b581a410e1
Bug 616421 preparation - Make bogus tree op enum crashes distinct from bogus pointers in append tree op. r=smaug.
2014-09-15 14:50:12 +03:00
William Chen
8a58e8552a
Bug 1032654 - Remove invalid assertion from HTML parser. r=smaug
2014-07-07 18:09:39 -07:00
Kyle Huey
b1e3198eed
Bug 737976: Remove nsINodeInfo. r=smaug
...
--HG--
rename : content/base/src/nsNodeInfo.cpp => dom/base/NodeInfo.cpp
rename : content/base/public/nsINodeInfo.h => dom/base/NodeInfo.h
rename : content/base/src/nsNodeInfo.h => dom/base/NodeInfoInlines.h
2014-06-19 19:01:40 -07:00
Olli Pettay
08774e4ba4
Bug 902618 - Parser notifies about subtree roots, but not their descendants, r=hsivonen,bz
2014-06-17 02:01:22 +03:00
Boris Zbarsky
900ca9c9b2
Bug 998356. Don't completely fail out of the parser if we can't format one of our string error messages. r=hsivonen
2014-05-23 17:32:37 -04:00
Birunthan Mohanathas
19bebbc68d
Bug 869836 - Part 2: Use AppendLiteral instead of `Append(NS_LITERAL_STRING(...))`. r=ehsan
2014-05-22 06:48:50 +03:00
Henri Sivonen
250fe382eb
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
2fc6c1b93a
Bug 959150 part 4 - Avoid using tree ops when parsing with nsHtml5StringParser. r=smaug.
2014-03-05 21:38:50 +02:00
Henri Sivonen
128e0f3424
Bug 959150 part 3 - Move the parts of nsHtml5TreeOpExecutor that the static methods in nsHtml5TreeOperation need to access into a new superclass. r=smaug.
2014-03-05 21:38:49 +02:00
Henri Sivonen
dfb2504638
Bug 959150 part 2 - Split reusable operations out of nsHtml5TreeOperation::Perform into static methods. r=smaug.
2014-03-05 21:38:49 +02:00
Ryan VanderMeulen
6626f074d4
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
40008e563f
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
0ad400f8e1
Bug 959150 part 4 - Avoid using tree ops when parsing with nsHtml5StringParser. r=smaug.
2014-03-05 21:38:50 +02:00
Henri Sivonen
5979d40c36
Bug 959150 part 3 - Move the parts of nsHtml5TreeOpExecutor that the static methods in nsHtml5TreeOperation need to access into a new superclass. r=smaug.
2014-03-05 21:38:49 +02:00
Henri Sivonen
6be55c83a2
Bug 959150 part 2 - Split reusable operations out of nsHtml5TreeOperation::Perform into static methods. r=smaug.
2014-03-05 21:38:49 +02:00
L. David Baron
03ba2e465b
Bug 976350 patch 1: Move the contents of nsTraceRefcnt.h into nsISupportsImpl.h. r=bsmedberg
...
This makes sense since the file no longer contains anything with the
nsTraceRefcnt name in it, and it will allow renaming nsTraceRefcntImpl
back to nsTraceRefcnt.
2014-02-26 13:36:35 -08:00
William Chen
e78ac9ead3
Bug 856140 - Sync our document.registerElement implementation to the current version of the spec. r=mrbkap
2014-02-23 13:01:26 -08:00
James Kitchener
1662743572
Bug 964239 - Ignore invalid URIs rather than stopping completely. r=hsivonen
2014-02-06 09:46:29 -05:00
Ehsan Akhgari
1b83407ce9
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
Benjamin Smedberg
730275b7db
Bug 943519 - If we don't have a valid nsIFormProcessor, the HTML parser should continue and should not mark the entire document as broken, r=hsivonen
2013-12-19 09:08:59 -05:00
Boris Zbarsky
728defdd23
Bug 945572 part 6. Make NS_NewElement take an Element** outparam instead of an nsIContent** one. r=smaug
2013-12-03 09:40:11 -05:00
William Chen
e62e59c8c4
Bug 937003 - Use correct adjusted insertion location for foster parenting in template element. r=hsivonen
2013-11-10 22:45:43 -08:00
Henri Sivonen
9965e16176
Bug 930281 - Use nsINode instead of nsIContent. r=smaug.
2013-11-12 10:45:22 +02:00
Ehsan Akhgari
5ef843a9ec
Bug 936927 - Build the HTML parser in unified mode; r=hsivonen
2013-11-11 09:07:50 -05:00
Andrea Marchesini
e1bdefec4f
Bug 870787 - Improve named getter for form, r=bz
2013-06-18 08:53:23 -04:00
Joshua Cranmer
aa1ca5d8f4
Bug 856108 - Port static analyses to clang, part 2h: use MOZ_STACK_CLASS everywhere else. r=bsmedberg
2013-04-11 22:22:09 -05:00
Aryeh Gregor
337756f144
Bug 857102 part 4 - Make NS_NewCommentNode and nsIDocument::CreateCommentNode infallible; r=bz
2013-04-04 15:02:22 +03:00
Aryeh Gregor
5925b452a5
Bug 857102 part 2 - Make NS_NewTextNode and nsIDocument::CreateTextNode infallible; r=bz
2013-04-04 15:01:08 +03:00
William Chen
8446146aa1
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
Ms2ger
bb9c16a013
Bug 845374 - Part f: Create a new nsDocElementCreatedNotificationRunner.h; r=khuey
...
--HG--
rename : content/base/public/nsContentUtils.h => content/base/public/nsDocElementCreatedNotificationRunner.h
2013-03-17 08:55:12 +01:00
Jacek Szpot
761b11160f
Bug 792180 - Replace NS_{UN,}LIKELY with MOZ_{UN,}LIKELY; r=ehsan
2012-10-26 15:32:10 +02:00
Henri Sivonen
b70e7be378
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
Randell Jesup
65539ef89c
Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg
2012-09-01 22:35:17 -04:00
Ehsan Akhgari
e368dc9c85
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
d0ad5a7d0c
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Henri Sivonen
4bffa39c21
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
eff0157441
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-07-02 10:03:16 +01:00
Ms2ger
2b6c403037
Bug 767790 - Remove nsIHTMLDocument::{Get,Set}IsFrameset; r=mounir
2012-07-02 08:22:37 +02:00
David Zbarsky
d2ee12f6f9
Bug 763350 - Clean up some includes in content/ and dom/ r=smaug
2012-07-01 16:45:59 -07:00
Gervase Markham
68d38d677f
Bug 759095 - upgrade license to MPL 2, and other licensing cleanups.
...
--HG--
extra : rebase_source : da55a4937383eda2baf7c9a362501da8ee664146
2012-05-29 16:52:43 +01:00
Daniel Holbert
525f6e177e
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
Ms2ger
2754f9e3ff
Bug 738654 - Part b: RemoveChildAt can't fail; r=sicking
2012-03-29 23:09:07 +02:00
Henri Sivonen
342883de53
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
e4f8183545
Bug 717488 part 1. r=smaug.
2012-03-21 14:39:25 +02:00
Jacob Holzinger
6a62cb6a9b
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
Ms2ger
fa49b00e76
Bug 718504 - Remove some GetChildAt callers; r=smaug
2012-01-25 08:50:07 +01:00
Henri Sivonen
625e6e725c
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