Ehsan Akhgari
345b35a6e8
Bug 798158 - Part 1: Use a pointer-sized type to store refcounts internally; r=bsmedberg
2014-03-27 16:38:33 -04:00
Masayuki Nakano
b7a8d4a392
Bug 983049 part.5 Rename nsEventDispatcher to mozilla::EventDispatcher r=smaug
...
--HG--
rename : dom/events/nsEventDispatcher.cpp => dom/events/EventDispatcher.cpp
rename : dom/events/nsEventDispatcher.h => dom/events/EventDispatcher.h
2014-03-18 13:48:21 +09:00
William Chen
91f27f2b19
Bug 982285 - Update active formatting element list indices in HTML parser adoption agency algorithm. r=hsivonen
2014-03-17 17:34:47 -07:00
Neil Rashbrook
921625ab05
Bug 514280 Stop using nsCOMPtr for concrete types r=bsmedberg
...
--HG--
extra : rebase_source : f8fb50de9292320eb7589dd28dc566d0f5044da6
2014-03-18 00:23:03 +00:00
Wes Kocher
2939a367ba
Backed out 2 changesets (bug 514280) for OSX build bustage on a CLOSED TREE
...
Backed out changeset 2a015b45d808 (bug 514280)
Backed out changeset a01f97c1ed02 (bug 514280)
2014-03-17 15:19:53 -07:00
Neil Rashbrook
f83724018d
Bug 514280 Stop using nsCOMPtr for concrete types r=bsmedberg
...
--HG--
extra : rebase_source : eaca8b2925eaffb49e29a617cd72c0d6686e6d9e
2014-03-17 19:07:09 +00:00
Kyle Huey
56d26ad256
Bug 967364: Use every already_AddRefed. r=bsmedberg
2014-03-15 12:00:16 -07:00
Bill McCloskey
d960718b48
Bug 982828 - [e10s] Disable mochitest-plain tests that don't pass in e10s (r=ted)
2014-03-13 21:38:19 -07:00
Wes Kocher
62d61f05a8
Backed out changeset 88425ad0f06a (bug 982828) for introducing various mochitest-5 failures on a CLOSED TREE
...
* * *
Backed out changeset 94f9ebdc6662 (bug 982828)
2014-03-13 19:41:21 -07:00
Bill McCloskey
cff466f79f
Bug 982828 - [e10s] Disable mochitest-plain tests that don't pass in e10s (r=ted)
2014-03-13 15:41:41 -07:00
Bill McCloskey
624ffda758
Backed out changeset d6261f65070a
2014-03-13 15:52:27 -07:00
Bill McCloskey
a23e0f8633
Bug 982828 - [e10s] Disable mochitest-plain tests that don't pass in e10s (r=ted)
2014-03-13 15:41:41 -07:00
Vaibhav Agarwal
292a923c8e
Bug 971132 - B2G mochitests should use the new manifest format for runtests; r=jmaher
2014-03-13 10:40:10 -04:00
Henri Sivonen
1573a9d817
Bug 981279 - Clear the attribute holder after parsing innerHTML. r=smaug
2014-03-10 11:14:16 +02:00
William Chen
09b7e926b7
Bug 884795 - HTML parser AAA algorithm should only pop when the current node is not in the list of active formatting elements. r=hsivonen
2014-03-07 15:48:19 -08:00
Henri Sivonen
373bc48dfa
Bug 959150 part 8 - Document nsHtml5DocumentBuilder. r=smaug.
2014-03-05 21:38:50 +02:00
Henri Sivonen
1fbcddf32c
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
c23d5f49fa
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
Henri Sivonen
5760dcd5b8
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
569131f4fa
Bug 959150 part 4 - Avoid using tree ops when parsing with nsHtml5StringParser. r=smaug.
2014-03-05 21:38:50 +02:00
Henri Sivonen
1882bd23f5
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
7cf95402be
Bug 959150 part 2 - Split reusable operations out of nsHtml5TreeOperation::Perform into static methods. r=smaug.
2014-03-05 21:38:49 +02:00
Henri Sivonen
5c4ef7d703
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
6e90795ee7
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
4aee6fdb1f
Bug 959150 part 8 - Document nsHtml5DocumentBuilder. r=smaug.
2014-03-05 21:38:50 +02:00
Henri Sivonen
c30551e149
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
74f9b65daf
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
Henri Sivonen
31c6b31aee
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
813381050b
Bug 959150 part 4 - Avoid using tree ops when parsing with nsHtml5StringParser. r=smaug.
2014-03-05 21:38:50 +02:00
Henri Sivonen
f17306cf3e
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
d04c6ce179
Bug 959150 part 2 - Split reusable operations out of nsHtml5TreeOperation::Perform into static methods. r=smaug.
2014-03-05 21:38:49 +02:00
Henri Sivonen
e40712485d
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
aea72816f8
Bug 901319 - Implement HTML spec change to Adoption Agency Algorithm to not reverse the order of nodes in the document, by removing nodes that we're not recreating from the stack of open elements. r=hsivonen
2014-03-04 18:06:15 -08:00
Reuben Morais
b672cdc604
Bug 458300 - Rename nsINameSpaceManager.h to nsNameSpaceManager.h. r=jst r=hsivonen
...
--HG--
rename : content/base/public/nsINameSpaceManager.h => content/base/public/nsNameSpaceManager.h
2014-02-27 20:04:46 -03:00
Andrew McCreight
c479f2a541
Bug 962608 - Make PL_DHashTableInit infallible by default. r=briansmith,bsmedberg,ehsan,froydnj,jduell,jfkthame,roc,smaug
2014-02-27 10:04:09 -08:00
Boris Zbarsky
fe2a748f4b
Bug 977553. Use an enum instead of macros for the nsStyleLinkElement rel types, so they won't collide with macros in wingdi.h. r=smaug
2014-02-27 08:44:52 -05:00
L. David Baron
dfb9ad9186
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
7d7470aa8a
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
da784e8c3b
Bug 464222 - Get relative links to resolve in parser view selection source processing. r=hsivonen
2014-02-20 08:43:53 -05:00
Vaibhav Agarwal
81f1ea0a18
Bug 970925 - convert testing/mochitest/android.json into skip-if statements in mochitest.ini files; r=jmaher
2014-02-15 04:53:02 -05:00
Bob Owen
5fc7fe61b9
Bug 624883 - Tests for ensuring that view-source is forbidden in iframes. r=bz
2014-01-23 16:02:10 +00:00
James Kitchener
2a13332ba5
Bug 964239 - Check for special baseURI value for view-source:about:srcdoc. r=hsivonen
2014-02-06 09:46:30 -05:00
James Kitchener
0ffbacf28f
Bug 964239 - Ignore invalid URIs rather than stopping completely. r=hsivonen
2014-02-06 09:46:29 -05:00
Henri Sivonen
e854d787e2
Bug 910211 - Guess the fallback encoding from the top-level domain when feasible. r=emk.
2014-02-06 11:08:01 +02:00
Robert Longson
a765596d8d
Bug 964200 (Part 2) - Add HTML parser support for SVG <feDropShadow>. r=wchen
2014-02-05 15:04:08 +00:00
William Chen
51f5af34da
Bug 946585 - Change how the form element pointer affects parsing template elements. r=hsivonen
2014-01-31 15:03:24 -08:00
Birunthan Mohanathas
89f96b243e
Bug 828300 - Replace NS_ARRAY_LENGTH with mozilla::ArrayLength/MOZ_ARRAY_LENGTH. r=ehsan
2014-01-30 13:26:54 -05:00
Ehsan Akhgari
6170b26306
Bug 957356 - Use the correct string type for expat's XML_Char depending on the language to use; r=hsivonen
2014-01-10 01:36:35 -05:00
Jeff Walden
12220c1619
Bug 953296 - Implement mozilla::NullptrT as a typedef to use to accept nullptr values. Also add mozilla::IsNullPointer<T>, a trait for detecting *only* true nullptr (emulated nullptr [__null] used by gcc 4.4/4.5 isn't true nullptr). r=ehsan
...
Generally, if you want a decltype(nullptr)-based overload, you should use SFINAE and IsNullPointer. (Examples are provided in NullPtr.h comments.) The problem is NullptrT matches far more than just __null as emulated nullptr for gcc 4.4/4.5 overloading purposes. This problem is unavoidable without true nullptr. Currently, the only valid use for NullptrT is believed to be in operator overloads. All existing nullptr-overloading code has been rewritten to use the appropriate technique for the situation, and MOZ_HAVE_CXX11_NULLPTR is no longer an API.
--HG--
extra : rebase_source : 01abfcb66ae569db7b04a7b53f5cd5fd8151bffd
2014-01-02 17:27:41 -06:00
Ehsan Akhgari
eaa7491d77
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
Henri Sivonen
fe3cc0106e
Bug 213517 part 1 - Interpret x-user-defined as windows-1252 in <meta> for compatibility with other browsers. r=smontagu.
...
--HG--
rename : parser/htmlparser/tests/mochitest/file_bug672453_meta_utf16.html => parser/htmlparser/tests/mochitest/file_bug672453_meta_userdefined.html
2014-01-02 09:18:19 +02:00
Ms2ger
6c7c16c6b2
Bug 950130 - Move more INCLUDES / LOCAL_INCLUDES to moz.build; r=mshal
2013-12-31 10:06:11 +01:00
William Chen
f1738bc31b
Bug 887538 - Implement web components shadow element. r=mrbkap
2013-12-20 22:43:58 -08:00
Alessio Placitelli
ce111d2924
Bug 943519 - Handle errors returned from calls to Perform; r=reviewers
2013-12-19 09:09:00 -05:00
Benjamin Smedberg
6464d9eea0
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
Ryan VanderMeulen
e1a8c6e771
Backed out changesets 01de929d4b85 and b9c5750d818a (bug 943519) for suspicion of causing B2G mochitest-2 failures.
...
CLOSED TREE
2013-12-16 13:41:15 -05:00
Alessio Placitelli
46d9dd9daa
Bug 943519 - Handle errors returned from calls to Perform. r=hsivonen
2013-12-16 09:01:30 -05:00
Frédéric Wang
75e41ef6c0
Bug 527201 - Remove the hack to skip bogus MathML _moz-* attributes in the HTML5 test suite. r=hsivonen
2013-12-16 09:01:29 -05:00
Trevor Saunders
c2b2fcd3d4
bug 949821 - use MOZ_UTF16 more and NS_LITERAL_STRING less r=froydnj
2013-12-12 20:50:01 -05:00
Birunthan Mohanathas
58325c73be
Bug 713082 - Part 2: Rename Util.h to ArrayUtils.h. r=Waldo
...
--HG--
rename : mfbt/Util.h => mfbt/ArrayUtils.h
2013-12-08 21:52:54 -05:00
Birunthan Mohanathas
bd0f161288
Bug 713082 - Part 1: Remove unnecessary Util.h includes. r=Waldo
2013-12-08 21:52:33 -05:00
Boris Zbarsky
c418cbc508
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
90f4e373d5
Bug 854736 - Implement HTML content element. r=mrbkap
2013-12-02 02:26:12 -08:00
Ms2ger
c20852e79e
Bug 939271 - Part h: move mochitests to manifests in parser/htmlparser; r=hsivonen
2013-11-28 15:03:18 +01:00
Mike Hommey
fdd3247a81
Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal
2013-11-27 22:55:07 +09:00
Mike Hommey
2f727b6d62
Backout changeset 3fd4b546eed4 (bug 874266) and changeset a35d2e3a872f (bug 942043) for ASAN build bustage and Windows test bustage
...
--HG--
extra : amend_source : f20d09aeff1c8b5cbd0f1d24c7ce04e86f3aed1d
2013-11-28 14:24:05 +09:00
Mike Hommey
b038245b8d
Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal
2013-11-28 13:08:16 +09:00
Henri Sivonen
b2bca3e3e1
Bug 919935 - Add a deCOMtaminated way to instantiate nsIUnicodeDecoders and nsIUnicodeEncoders. r=emk.
2013-11-26 09:31:52 +02:00
Henri Sivonen
d0c0e04f69
Bug 863728 - Implement the replacement encoding. r=emk.
2013-11-25 10:06:56 +02:00
Mike Hommey
67df42f71d
Bug 941450 - Add some GENERATED_FILES to moz.build. r=gps
2013-11-22 08:16:18 +09:00
Ed Morley
515fd9a20d
Backed out changeset c30371a66429 (bug 941450)
2013-11-22 15:59:22 +00:00
Mike Hommey
210fcbefa5
Bug 941450 - Add some GENERATED_FILES to moz.build. r=gps
2013-11-22 08:16:18 +09:00
Mike Hommey
931cb49886
Bug 939632 - Remove LIBRARY_NAME for leaf libraries. r=gps
...
Landing on a CLOSED TREE.
2013-11-19 11:50:54 +09:00
Mike Hommey
db9e5129bc
Bug 939074 - Remove most LIBXUL_LIBRARY. rs=gps
2013-11-19 11:48:10 +09:00
Mike Hommey
b18be7aacd
Bug 939044 - Rename remaining MODULE definitions to XPIDL_MODULE. r=mshal
2013-11-19 11:47:43 +09:00
Mike Hommey
f0d1cd1e10
Bug 939044 - Remove most definitions of MODULE. r=mshal
2013-11-19 11:47:39 +09:00
Mike Hommey
9c5c5d8f00
Bug 939039 - Remove now useless FORCE_STATIC_LIB definitions. r=gps
2013-11-19 11:47:28 +09:00
Mike Hommey
f81885e53b
Bug 935881 - Use FINAL_LIBRARY for all (fake) libraries that end up linked in a single other library. r=gps
2013-11-19 11:47:14 +09:00
William Chen
962d4f876b
Bug 705046 - Enable all html5lib tests on Mac OS X 10.7 and 10.8. r=hsivonen
2013-11-13 00:13:45 -08:00
William Chen
7c1cdb0c26
Bug 937003 - Use correct adjusted insertion location for foster parenting in template element. r=hsivonen
2013-11-10 22:45:43 -08:00
William Chen
a590bca00b
Bug 797009 - Remove bad assertion in HTML parser. r=hsivonen
2013-11-13 15:53:12 -08:00
William Chen
5abb61b7bb
Bug 937259 - Remove <command> element from the parser. r=hsivonen
2013-11-13 15:17:13 -08:00
William Chen
c549147842
Bug 822776 - Update "after after frameset" insertion mode. r=hsivonen
2013-11-13 14:57:07 -08:00
William Chen
f8aca48259
Bug 923167 - Update encoding used for compiling javaparser source files. r=hsivonen
2013-11-13 14:49:04 -08:00
Bobby Holley
d071bd541c
Bug 840488 - Refactor Gecko to provide a more direct API to ask whether script is allowed for a given global. r=bz
2013-11-12 16:43:31 -08:00
William Chen
20f8c09fca
Bug 936994 - Update html5lib-tests to latest version as of Oct 8, 2013. r=hsivonen
2013-11-10 22:02:21 -08:00
Henri Sivonen
b6a969b20d
Bug 930281 - Use nsINode instead of nsIContent. r=smaug.
2013-11-12 10:45:22 +02:00
Henri Sivonen
aa7d753d3c
Bug 936440 - Report UTF-16LE or UTF-16BE instead of UTF-16 as the BOM-sniffed encoding. r=emk.
2013-11-12 10:45:22 +02:00
Ehsan Akhgari
b36f465a9d
Bug 936927 - Build the HTML parser in unified mode; r=hsivonen
2013-11-11 09:07:50 -05:00
Ehsan Akhgari
a1c8394874
Bug 936445 - Remove some unused variables from the parser code; r=hsivonen
2013-11-08 08:55:38 -05:00
Trevor Saunders
3a7b718549
bug 935325 - merge nsIScriptGlobalObjectOwner into nsIDocShell r=smaug
2013-05-27 06:07:01 -04:00
William Chen
b5a15360d3
Bug 932086 - Hoist <template> to head when found between </head> and <body>. r=hsivonen
2013-11-04 17:19:22 -08:00
Henri Sivonen
5bf0b8c647
Bug 910192 non-UI part - Get rid of intl.charset.default as a localizable pref and deduce the fallback from the locale. r=bzbarsky.
2013-11-04 13:24:33 +02:00
Carsten "Tomcat" Book
c01cac29f1
Backed out changeset 88e0c01e2d81 (bug 910192) bustage on a CLOSED TREE
2013-11-04 13:04:02 +01:00
Henri Sivonen
e5a75a933d
Bug 910192 non-UI part - Get rid of intl.charset.default as a localizable pref and deduce the fallback from the locale. r=bzbarsky.
2013-11-04 13:24:33 +02:00
Daniel Holbert
81309399d5
Bug 932303: Mark parser/htmlparser/src as FAIL_ON_WARNINGS. r=mrbkap
2013-10-28 22:08:36 -07:00
Chris Peterson
8af0116122
Bug 931664 - Fix -Wunused-variable warning in nsScanner.cpp. r=mrbkap
2013-10-27 00:55:19 -07:00
Cykesiopka
e0bcd6aebc
Bug 914270 - Part 1: Simple/Automated moves. r=joey
2013-10-24 18:51:00 +01:00
Mike Hommey
f1c0c07862
Bug 929905 - Consolidate sources in moz.build. r=gps
2013-10-25 08:23:05 +09:00
Mike Hommey
80c623bb6a
Bug 921492 - Make StrictOrderingOnAppendList use actual alphabetical sorting. r=mshal,r=gps
2013-10-24 08:05:43 +09:00