Henri Sivonen
ad843c93aa
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
3537509c13
Bug 959150 part 4 - Avoid using tree ops when parsing with nsHtml5StringParser. r=smaug.
2014-03-05 21:38:50 +02:00
Henri Sivonen
c8cfbf7ab3
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
af339b6323
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
ad87cad09c
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
e1d3d37020
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
f954df12ae
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
Boris Zbarsky
dc8f1d9152
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
4f04bcdc57
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
7e3d257959
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
c07f2aad1b
Bug 464222 - Get relative links to resolve in parser view selection source processing. r=hsivonen
2014-02-20 08:43:53 -05:00
James Kitchener
c13a07650e
Bug 964239 - Check for special baseURI value for view-source:about:srcdoc. r=hsivonen
2014-02-06 09:46:30 -05:00
James Kitchener
aa71f2ee3a
Bug 964239 - Ignore invalid URIs rather than stopping completely. r=hsivonen
2014-02-06 09:46:29 -05:00
Robert Longson
9ff42c38b8
Bug 964200 (Part 2) - Add HTML parser support for SVG <feDropShadow>. r=wchen
2014-02-05 15:04:08 +00:00
William Chen
7dc9fbe59e
Bug 946585 - Change how the form element pointer affects parsing template elements. r=hsivonen
2014-01-31 15:03:24 -08:00
Birunthan Mohanathas
e81a8f702d
Bug 828300 - Replace NS_ARRAY_LENGTH with mozilla::ArrayLength/MOZ_ARRAY_LENGTH. r=ehsan
2014-01-30 13:26:54 -05:00
Jeff Walden
b01c238639
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
ebd358dfd7
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
f0fad33dd2
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
fe059e78f7
Bug 950130 - Move more INCLUDES / LOCAL_INCLUDES to moz.build; r=mshal
2013-12-31 10:06:11 +01:00
Alessio Placitelli
c38382e4e5
Bug 943519 - Handle errors returned from calls to Perform; r=reviewers
2013-12-19 09:09:00 -05:00
Benjamin Smedberg
17e6bce69c
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
8adbb71ea4
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
e7259af1f9
Bug 943519 - Handle errors returned from calls to Perform. r=hsivonen
2013-12-16 09:01:30 -05:00
Trevor Saunders
907dfc4528
bug 949821 - use MOZ_UTF16 more and NS_LITERAL_STRING less r=froydnj
2013-12-12 20:50:01 -05:00
Birunthan Mohanathas
2a97f4dc0d
Bug 713082 - Part 1: Remove unnecessary Util.h includes. r=Waldo
2013-12-08 21:52:33 -05:00
Boris Zbarsky
58a7c3f5a4
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
Mike Hommey
9245936f8b
Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal
2013-11-27 22:55:07 +09:00
Mike Hommey
2b828323f2
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
d210f8ff00
Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal
2013-11-28 13:08:16 +09:00
Henri Sivonen
941bbef0ec
Bug 919935 - Add a deCOMtaminated way to instantiate nsIUnicodeDecoders and nsIUnicodeEncoders. r=emk.
2013-11-26 09:31:52 +02:00
Henri Sivonen
9a664db15c
Bug 863728 - Implement the replacement encoding. r=emk.
2013-11-25 10:06:56 +02:00
Mike Hommey
a65383e1e9
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
8ceb917350
Bug 939074 - Remove most LIBXUL_LIBRARY. rs=gps
2013-11-19 11:48:10 +09:00
Mike Hommey
9fe772e7fd
Bug 939044 - Rename remaining MODULE definitions to XPIDL_MODULE. r=mshal
2013-11-19 11:47:43 +09:00
Mike Hommey
d7b6f95761
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
240a4277c8
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
02d23085a6
Bug 797009 - Remove bad assertion in HTML parser. r=hsivonen
2013-11-13 15:53:12 -08:00
William Chen
ed953c8ff3
Bug 937259 - Remove <command> element from the parser. r=hsivonen
2013-11-13 15:17:13 -08:00
William Chen
d3cdfbb569
Bug 822776 - Update "after after frameset" insertion mode. r=hsivonen
2013-11-13 14:57:07 -08:00
William Chen
a6888e633e
Bug 923167 - Update encoding used for compiling javaparser source files. r=hsivonen
2013-11-13 14:49:04 -08:00
Bobby Holley
6c0f7db3c4
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
Henri Sivonen
8be3895281
Bug 930281 - Use nsINode instead of nsIContent. r=smaug.
2013-11-12 10:45:22 +02:00
Henri Sivonen
e03d6ed558
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
04370d5ca2
Bug 936927 - Build the HTML parser in unified mode; r=hsivonen
2013-11-11 09:07:50 -05:00
Trevor Saunders
012fdba09b
bug 935325 - merge nsIScriptGlobalObjectOwner into nsIDocShell r=smaug
2013-05-27 06:07:01 -04:00
William Chen
91bb91b158
Bug 932086 - Hoist <template> to head when found between </head> and <body>. r=hsivonen
2013-11-04 17:19:22 -08:00
Henri Sivonen
55a266896b
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
d7506637b7
Backed out changeset 88e0c01e2d81 (bug 910192) bustage on a CLOSED TREE
2013-11-04 13:04:02 +01:00
Henri Sivonen
821d942153
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
Mike Hommey
1d566f7586
Bug 929905 - Consolidate sources in moz.build. r=gps
2013-10-25 08:23:05 +09:00
Mike Hommey
61124c1afc
Bug 921492 - Make StrictOrderingOnAppendList use actual alphabetical sorting. r=mshal,r=gps
2013-10-24 08:05:43 +09:00
Ehsan Akhgari
48d081c9b1
Bug 928049 - Remove some prtypes.h inclusions from parser/; rs=bsmedberg
...
--HG--
extra : rebase_source : e9f20ba45d4d1f4d76451b1ed066a6b4b9b6ae11
2013-10-18 20:34:58 -04:00
William Chen
4fb3f7e4ed
Bug 925907 - Check for IN_SELECT_IN_TABLE in "reset the insertion mode" in HTML5 parser. r=hsivonen
2013-10-17 13:26:49 -07:00
Steve Workman
d6f77ccc08
Bug 920725 - Return with error in nsHtml5StreamParser::WriteStreamBytes if mLastBuffer is null. r=hsivonen
2013-10-16 11:16:36 -04:00
Henri Sivonen
48fc98ecfc
Bug 871161 - Stop inheriting charset where other browsers do not inherit it. r=bzbarsky.
2013-10-16 04:46:10 +03:00
Ehsan Akhgari
180798444f
Bug 922933 - Don't #include nsIDocument.h in nsIContent.h; r=jst
...
--HG--
extra : rebase_source : 51f56fa27604224eacc2ba384bb826c49f4f917f
2013-10-02 07:40:07 -04:00
Masayuki Nakano
5e5853070a
Bug 920377 part.31 Get rid of nsEvent r=roc
2013-10-02 12:46:04 +09:00
Masayuki Nakano
648570f10b
Bug 912956 part.18 Remove nsGUIEvent.h r=roc
2013-09-25 20:21:22 +09:00
Masayuki Nakano
2a465d3e36
Bug 912956 part.2 Rename nsEvent.h to mozilla/EventForwards.h and sort out it r=roc
...
--HG--
rename : widget/nsEvent.h => widget/EventForwards.h
2013-09-24 19:04:14 +09:00
Benoit Jacob
f9813a5b18
Bug 913847 - stop needlessly including nsThreadUtils.h - r=ehsan
2013-09-19 09:54:39 -04:00
Wes Kocher
508c0eaa0a
Backed out changeset 554bfe767519 (bug 913847) for leaking on a CLOSED TREE
2013-09-18 17:21:02 -07:00
Benoit Jacob
5bf87f575b
Bug 913847 - stop needlessly including nsThreadUtils.h - r=ehsan
2013-09-18 18:50:32 -04:00
Michael[tm] Smith
19088f6eb2
Bug 910588 - log a parse error for <table><input></table>. r=hsivonen.
2013-09-17 15:47:32 +03:00
James Kitchener
28cc0bfd16
Bug 912981 - Make parser aware of view-source srcdoc status. r=hsivonen
2013-09-10 13:40:50 -04:00
Robert O'Callahan
33cdb42706
Bug 910989. Remove nsTHashtable::Init, fallible allocation, and MT hashtables. r=ehsan,bsmedberg
...
--HG--
extra : rebase_source : 0787130b1814c74bfb38dc178de94022f0b2e64e
2013-09-02 20:41:57 +12:00
Mike Hommey
f1cf3b4238
Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps
2013-09-05 09:01:46 +09:00
Cykesiopka
7350a155ff
Bug 528863 - Use _h instead of _h__ in include guards in the HTML5 parser. r=hsivonen
2013-08-23 11:07:10 -04:00
Ms2ger
87ae95251c
Merge PGO-green changeset from inbound to m-c.
2013-08-22 10:31:44 +02:00
Ms2ger
4922ccbc0a
Bug 904831 - Part b: Move unconditional MSVC_ENABLE_PGO definitions into moz.build; r=gps
2013-08-22 08:56:01 +02:00
Ms2ger
c3e345584c
Bug 883284 - Part f: Move LIBXUL_LIBRARY into moz.build (p-z); r=glandium
2013-08-22 08:56:01 +02:00
Ehsan Akhgari
1e7ca5d13f
Bug 904695 - #include fewer headers in nsContentUtils.h; r=jst
2013-08-21 15:28:26 -04:00
Ms2ger
a04009b5b7
Merge latest PGO-green inbounc changeset to m-c.
2013-08-14 14:45:47 +02:00
Ms2ger
df8525f77d
Bug 901323 - Don't include nsContentUtils.h unnecessarily; r=jlebar
2013-08-14 08:56:21 +02:00
William Chen
3c3062971a
Bug 900724 - Prevent form association when creating elements in template contents. r=hsivonen
2013-08-13 14:31:18 -07:00
William Chen
b0e155cb0a
Bug 897153 - Update parsing of template element to spec as of July 15, 2013. r=hsivonen
2013-08-12 14:46:12 -07:00
William Chen
d471fc9c9f
Bug 897143 - Update parser algorithms to be namespace aware. r=hsivonen
2013-08-12 14:46:12 -07:00
William Chen
bcbcfbfe2f
Bug 888820 - Save template insertion mode stack information in TreeBuilderState. r=hsivonen
2013-08-12 14:46:12 -07:00
Mike Hommey
d01b5df996
Bug 881323 - Re-implement CycleCollectorParticipant with actual vtables, with constexpr to avoid static initializers. r=mccr8
2013-08-02 10:29:05 +09:00
Trevor Saunders
82e5558b37
bug 887483 - remove a bunch of useless assignments to FORCE_STATIC_LIB implied by LIBXUL_LIBRARY=1 r=mshal
2013-07-11 11:06:34 -04:00
Steve Workman
d918296a3d
Bug 497003 - Support delivery of OnDataAvailable on the HTML5 parser thread r=hsivonen r=bholley r=bz
2013-07-08 18:45:26 -07:00
James Kitchener
881001dff5
Bug 802895 - Parser changes to support srcdoc attributes for iframes, r=hsivonen
2013-06-28 23:13:23 -04:00
Gabor Krizsanits
756a8f8c8c
Bug 864335 - Remove GetScriptGlobalObject. r=mrbkap
2013-06-21 16:25:20 +02:00
Brian O'Keefe
5f8b5163e8
Bug 875934 - Move LIBRARY_NAME to moz.build (batch #1 ); r=mshal
...
--HG--
extra : rebase_source : 385d3fd65475ffc18ee44ae088753649470e214b
2013-06-17 15:21:01 -04:00
Andrea Marchesini
74b148c97f
Bug 870787 - Improve named getter for form, r=bz
2013-06-18 08:53:23 -04:00
Ryan VanderMeulen
ca0cc81efe
Backed out 4 changesets (bug 497003) for intermittent OSX crashes.
...
Backed out changeset 43223a927976 (bug 497003)
Backed out changeset 26c1d80edf1f (bug 497003)
Backed out changeset 841ed173ba2b (bug 497003)
Backed out changeset f70770fc6dce (bug 497003)
2013-06-17 15:44:07 -04:00
Henri Sivonen
f17f395dda
Bug 870787 HTML parser part - Make <img> a form-associated element in the HTML parser. r=smaug
2013-06-06 11:02:30 +03:00
Steve Workman
9cd6785582
Bug 497003 - Support delivery of OnDataAvailable on the HTML5 parser thread r=hsivonen r=bholley r=bz
2013-06-13 10:42:48 -07:00
Mike Shal
994cfe0b6b
Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey CLOSED TREE
...
From 9e0ba7f425143f545eb6c4b26a9a96b5ade4d8e9 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00
Aryeh Gregor
18866d81dc
Bug 867101 - Fix more implicit conversion to already_AddRefed; r=Ms2ger
2013-04-28 14:52:10 +03:00
Ted Mielczarek
110919af49
bug 871712 - make MSVC PGO opt-in per-directory, and opt-in in the directories that matter. r=glandium
2013-05-16 09:33:26 -04:00
Aryeh Gregor
d183f6f9bc
Bug 859817 - Make nsStringBuffer::Alloc return already_AddRefed; r=bz
2013-04-22 14:13:22 +03:00
Aryeh Gregor
659b807986
Bug 859817 - Remove implicit conversions from raw pointer to already_AddRefed; r=Ms2ger
2013-04-22 14:15:59 +03:00
Aryeh Gregor
e0a4cd5848
Bug 859817 - Make NS_NewAtom return already_AddRefed; r=bz
2013-04-22 14:13:22 +03:00
Mike Shal
77cdb6567d
Bug 846634 - Part 2: Move EXPORTS to moz.build; r=joey
2013-04-16 15:24:43 -04:00
Joshua Cranmer
41c5d7997f
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
957e302fe1
Bug 857102 part 5 - Make NS_NewDocumentFragment etc. infallible; r=bz
2013-04-10 17:15:54 +03:00
Aryeh Gregor
3e99dc4f10
Bug 857102 part 4 - Make NS_NewCommentNode and nsIDocument::CreateCommentNode infallible; r=bz
2013-04-04 15:02:22 +03:00
Aryeh Gregor
c446dbef0c
Bug 857102 part 2 - Make NS_NewTextNode and nsIDocument::CreateTextNode infallible; r=bz
2013-04-04 15:01:08 +03:00
Kyle Machulis
5aa83c3e11
Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
2013-04-01 11:36:59 -07:00