Commit Graph

3621 Commits

Author SHA1 Message Date
John Schoenick
737a2d14d8 Bug 870022 - Part 4.3 - Teach parser about sizes attr (generated bits). r=hsivonen 2014-06-25 11:47:48 -07:00
John Schoenick
f017e902b1 Bug 870022 - Part 4.2 - Teach parser about sizes attr (non-generated bits). r=hsivonen 2014-06-25 11:47:47 -07:00
Jim Blandy
7e20285e70 Bug 914753: Make Emacs file variable header lines correct, or at least consistent. DONTBUILD r=ehsan
The -*- file variable lines -*- establish per-file settings that Emacs will
pick up. This patch makes the following changes to those lines (and touches
nothing else):

 - Never set the buffer's mode.

   Years ago, Emacs did not have a good JavaScript mode, so it made sense
   to use Java or C++ mode in .js files. However, Emacs has had js-mode for
   years now; it's perfectly serviceable, and is available and enabled by
   default in all major Emacs packagings.

   Selecting a mode in the -*- file variable line -*- is almost always the
   wrong thing to do anyway. It overrides Emacs's default choice, which is
   (now) reasonable; and even worse, it overrides settings the user might
   have made in their '.emacs' file for that file extension. It's only
   useful when there's something specific about that particular file that
   makes a particular mode appropriate.

 - Correctly propagate settings that establish the correct indentation
   level for this file: c-basic-offset and js2-basic-offset should be
   js-indent-level. Whatever value they're given should be preserved;
   different parts of our tree use different indentation styles.

 - We don't use tabs in Mozilla JS code. Always set indent-tabs-mode: nil.
   Remove tab-width: settings, at least in files that don't contain tab
   characters.

 - Remove js2-mode settings that belong in the user's .emacs file, like
   js2-skip-preprocessor-directives.
2014-06-24 22:12:07 -07:00
Chris Peterson
4d8cb6ff03 Bug 1013065 - Remove bug 65664's NSCAP_DONT_PROVIDE_NONCONST_OPEQ workaround. r=dbaron 2014-05-04 23:11:04 -07:00
Yuki Sekiguchi
f867ef3de1 Bug 664104 - Part 4: Downstream ruby tests in html5lib-tests. r=wchen 2014-06-20 17:08:32 -07:00
Yuki Sekiguchi
f7ce3d30ca Bug 664104 - Part 2: Make ruby related element HTMLElement. r=wchen 2014-06-20 17:08:31 -07:00
Yuki Sekiguchi
839050976b Bug 664104 - Part 1: Implement new ruby model in HTML parser. r=wchen 2014-06-20 17:08:31 -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
Yuki Sekiguchi
eebed2404e Bug 1024447 - Part 6: Retranslated html parser. r=hsivonen. 2014-06-12 13:37:49 +09:00
Carsten "Tomcat" Book
90f74aea8e Backed out changeset 8c5b73e6b782 (bug 1024447) for bustage on a CLOSED TREE 2014-06-18 12:43:41 +02:00
Yuki Sekiguchi
ab4716832e Bug 1024447 - Part 6: Retranslated html parser. r=hsivonen. 2014-06-12 13:37:49 +09:00
Kyle Huey
4de1923bc6 Bug 1024388: Attempt to retarget OnDataAvailable to the HTML parser thread for all channels, not just HTTP channels. r=bz 2014-06-17 09:39:19 -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
Chris Pearce
8e19fdd5f4 Bug 1016162 - Base EME DOM APIs, not connected to a CDM yet. r=bz 2014-06-07 08:52:15 +12:00
Robert O'Callahan
cbb8fdebfc Bug 1015664. Part 1: Remove NS_HIDDEN_() usage. r=bsmedberg 2014-06-03 00:08:21 +12:00
Phil Ringnalda
3e5340dd29 Merge f-t to m-c 2014-05-31 20:31:07 -07:00
Victor Porof
9ce7e9c089 Bug 1007203 - Always add categories when pushing to the pseudostack, r=djvj 2014-05-23 17:12:29 -04:00
Ms2ger
b790db0fab Merge mozilla-inbound to mozilla-central. 2014-05-30 14:07:35 +02:00
Ms2ger
a39cee4de3 Bug 741295 - Treat 'id' and 'class' as global attributes for all elements; r=bz 2014-05-30 09:36:53 +02:00
Nicholas Nethercote
525e2f6682 Bug 1016153 - Avoid slop in xmlparse.c:poolGrow(). r=jst.
--HG--
extra : rebase_source : 3dd2fb91660c901f8ce12e22191aee3686172cd6
2014-05-29 16:05:19 -07:00
Birunthan Mohanathas
d9e420fc7c Bug 869836 - Part 12: Use Assign('c') instead of AssignLiteral("c"). r=ehsan
--HG--
extra : rebase_source : a6b15019cee452973dd8bf3112c15e14175855a9
2014-05-26 21:55:08 +03:00
Jonathan Watt
fd3a1b8954 Bug 1014891 - Remove support for XML's 'catalog' style sheets, and provide an internal alternative for the abusing callers of EnsureCatalogStyleSheet. r=bz 2014-05-24 19:46:38 +01: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
58641805f1 Bug 869836 - Part 6: Use EqualsLiteral instead of Equals where possible. r=ehsan 2014-05-22 06:48:51 +03:00
Birunthan Mohanathas
f65339b9ff Bug 869836 - Part 5: Use AssignLiteral instead of Assign where possible. r=ehsan 2014-05-22 06:48:51 +03:00
Birunthan Mohanathas
0e6f3a6562 Bug 869836 - Part 3: Use Append('c') instead of AppendLiteral("c"). r=ehsan 2014-05-22 06:48:51 +03: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
Birunthan Mohanathas
a5ab25c973 Bug 869836 - Part 1: Use EqualsLiteral instead of == NS_LITERAL_STRING(...). r=ehsan 2014-05-22 06:48:50 +03:00
Gabor Krizsanits
9b5a153e09 Bug 877072 - HTML Imports part1. r=mrbkap 2014-05-21 19:08:12 +02:00
John Schoenick
36e3c89be5 Bug 870021 - Part 1.2 - Teach parser about srcset (generated bits). r=hsivonen 2014-05-30 13:03:04 -07:00
John Schoenick
fb32dbe7cf Bug 870021 - Part 1.1 - Teach parser about srcset (needs generation). r=hsivonen 2014-05-30 13:03:03 -07:00
Chris Peterson
f925cb8832 Bug 990764 - Replace MOZ_ASSUME_UNREACHABLE in HTML parser. r=hsivonen 2014-04-28 20:28:54 -07:00
Henri Sivonen
34b67bca76 Bug 943268 - Remove nsCharsetAlias and nsCharsetConverterManager. r=emk. 2014-05-08 12:32:00 +03:00
William Chen
507c29aa81 Bug 1005580 - Fix "after after frameset" insertion mode in HTML parser for handling characters. r=hsivonen 2014-05-06 13:29:31 -07:00
Birunthan Mohanathas
5f1fde8824 Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj 2014-04-27 03:06:00 -04:00
Birunthan Mohanathas
7ac92ae5ea Bug 900903 - Part 2: Change uses of numbered macros in nsCycleCollectionParticipant.h to the variadic variants. r=smaug 2014-04-25 12:49:00 -04:00
Henri Sivonen
8751f19db8 Bug 960519 - Make it safe to refcount the HTML parser's nsIStreamListener off-the-main-thread. r=smaug. 2014-04-16 08:41:39 +03:00
Olli Pettay
9afb24a0a4 Bug 688580 - Run deferred scripts before DOMContentLoaded; r=hsivonen 2014-04-12 11:02:21 +02:00
Ryan VanderMeulen
72ba05589a Backed out changeset 02876730f55f (bug 688580) for Android 4.0 debug mochitest-7 perma-fail.
CLOSED TREE
2014-04-10 14:38:04 -04:00
Olli Pettay
452514e625 Bug 688580, run deferred scripts before DOMContentLoaded, r=hsivonen
--HG--
extra : rebase_source : e7e56d2d83c7b1bf29a3a5ea4efd7418cfbee1e0
2014-04-10 01:49:17 +03:00
Geoff Brown
df1d237299 Bug 962676 - Reset expected assertion counts for Android crashtests; r=blassey 2014-04-09 08:38:44 -06:00
Neil Rashbrook
cf9b85f5a7 Bug 514280 Consistently declare and define IID accessors r=bsmedberg 2014-03-28 08:45:02 +00:00
Ehsan Akhgari
186680d83a 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
3234ceea19 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
c21aececdb 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
604d9a5302 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
c879b47079 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
3e8915c4b8 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
1f3d658bb3 Bug 967364: Use every already_AddRefed. r=bsmedberg 2014-03-15 12:00:16 -07:00
Bill McCloskey
fd05f3eb04 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
3b83e5bb22 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
e784b5aef6 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
006786a6b4 Backed out changeset d6261f65070a 2014-03-13 15:52:27 -07:00
Bill McCloskey
ed100f425c 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
c75ff964a1 Bug 971132 - B2G mochitests should use the new manifest format for runtests; r=jmaher 2014-03-13 10:40:10 -04:00
Henri Sivonen
4d398a8a1d Bug 981279 - Clear the attribute holder after parsing innerHTML. r=smaug 2014-03-10 11:14:16 +02:00
William Chen
c1faf91a37 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
289b70ef42 Bug 959150 part 8 - Document nsHtml5DocumentBuilder. r=smaug. 2014-03-05 21:38:50 +02: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
0fdbc6a846 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
d4b6f7d8d5 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
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
Henri Sivonen
ccbe381144 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
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
13522d971a Bug 959150 part 8 - Document nsHtml5DocumentBuilder. r=smaug. 2014-03-05 21:38:50 +02: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
30d2af3ec5 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
8f780b5264 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
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
Henri Sivonen
d9eaa52cdd 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
5ec008c7f8 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
bde629dd63 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
0353960345 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
2e31af90fc 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
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
1d48d4cac7 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
2ae37b022e 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
abddb2e8d5 Bug 624883 - Tests for ensuring that view-source is forbidden in iframes. r=bz 2014-01-23 16:02:10 +00:00
James Kitchener
33e7dffe15 Bug 964239 - Check for special baseURI value for view-source:about:srcdoc. r=hsivonen 2014-02-06 09:46:30 -05:00
James Kitchener
1662743572 Bug 964239 - Ignore invalid URIs rather than stopping completely. r=hsivonen 2014-02-06 09:46:29 -05:00
Henri Sivonen
7eef0de378 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
4e781fb5c6 Bug 964200 (Part 2) - Add HTML parser support for SVG <feDropShadow>. r=wchen 2014-02-05 15:04:08 +00:00
William Chen
81d44a0834 Bug 946585 - Change how the form element pointer affects parsing template elements. r=hsivonen 2014-01-31 15:03:24 -08:00
Birunthan Mohanathas
02d0812720 Bug 828300 - Replace NS_ARRAY_LENGTH with mozilla::ArrayLength/MOZ_ARRAY_LENGTH. r=ehsan 2014-01-30 13:26:54 -05:00
Ehsan Akhgari
468660ec5b 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
5d3f01c937 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
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
Henri Sivonen
9cc02fab98 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
561cae4a0e Bug 950130 - Move more INCLUDES / LOCAL_INCLUDES to moz.build; r=mshal 2013-12-31 10:06:11 +01:00
William Chen
a77e9ae737 Bug 887538 - Implement web components shadow element. r=mrbkap 2013-12-20 22:43:58 -08:00
Alessio Placitelli
6b0657fb60 Bug 943519 - Handle errors returned from calls to Perform; r=reviewers 2013-12-19 09:09:00 -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
Ryan VanderMeulen
95344c3276 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
ebad723349 Bug 943519 - Handle errors returned from calls to Perform. r=hsivonen 2013-12-16 09:01:30 -05:00
Frédéric Wang
4e1e0c7d3b 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
d43c55ca0e bug 949821 - use MOZ_UTF16 more and NS_LITERAL_STRING less r=froydnj 2013-12-12 20:50:01 -05:00
Birunthan Mohanathas
3440613a39 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
68b00083fd Bug 713082 - Part 1: Remove unnecessary Util.h includes. r=Waldo 2013-12-08 21:52:33 -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
b92be20c45 Bug 854736 - Implement HTML content element. r=mrbkap 2013-12-02 02:26:12 -08:00
Ms2ger
4f74b44ae3 Bug 939271 - Part h: move mochitests to manifests in parser/htmlparser; r=hsivonen 2013-11-28 15:03:18 +01:00
Mike Hommey
8fd06cf41b Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal 2013-11-27 22:55:07 +09:00
Mike Hommey
b32a4ed166 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
682364d535 Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal 2013-11-28 13:08:16 +09:00
Henri Sivonen
7b95f9e668 Bug 919935 - Add a deCOMtaminated way to instantiate nsIUnicodeDecoders and nsIUnicodeEncoders. r=emk. 2013-11-26 09:31:52 +02:00
Henri Sivonen
2dc38251fe Bug 863728 - Implement the replacement encoding. r=emk. 2013-11-25 10:06:56 +02:00
Mike Hommey
aaacc118f4 Bug 941450 - Add some GENERATED_FILES to moz.build. r=gps 2013-11-22 08:16:18 +09:00
Ed Morley
1a9ee1c710 Backed out changeset c30371a66429 (bug 941450) 2013-11-22 15:59:22 +00:00
Mike Hommey
2f9d386e67 Bug 941450 - Add some GENERATED_FILES to moz.build. r=gps 2013-11-22 08:16:18 +09:00
Mike Hommey
2812d11fce 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
e06d795c71 Bug 939074 - Remove most LIBXUL_LIBRARY. rs=gps 2013-11-19 11:48:10 +09:00
Mike Hommey
26bc04d200 Bug 939044 - Rename remaining MODULE definitions to XPIDL_MODULE. r=mshal 2013-11-19 11:47:43 +09:00
Mike Hommey
e80e877ab7 Bug 939044 - Remove most definitions of MODULE. r=mshal 2013-11-19 11:47:39 +09:00
Mike Hommey
dda5b915fe Bug 939039 - Remove now useless FORCE_STATIC_LIB definitions. r=gps 2013-11-19 11:47:28 +09:00
Mike Hommey
ffe0380912 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
cd36e61807 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
e62e59c8c4 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
eb685833fd Bug 797009 - Remove bad assertion in HTML parser. r=hsivonen 2013-11-13 15:53:12 -08:00
William Chen
7f2609364a Bug 937259 - Remove <command> element from the parser. r=hsivonen 2013-11-13 15:17:13 -08:00
William Chen
90c165239e Bug 822776 - Update "after after frameset" insertion mode. r=hsivonen 2013-11-13 14:57:07 -08:00
William Chen
75db2bd055 Bug 923167 - Update encoding used for compiling javaparser source files. r=hsivonen 2013-11-13 14:49:04 -08:00
Bobby Holley
074ccfec30 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
3d6aeca46b 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
9965e16176 Bug 930281 - Use nsINode instead of nsIContent. r=smaug. 2013-11-12 10:45:22 +02:00
Henri Sivonen
577d972a8a 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
5ef843a9ec Bug 936927 - Build the HTML parser in unified mode; r=hsivonen 2013-11-11 09:07:50 -05:00
Ehsan Akhgari
0e814d01e5 Bug 936445 - Remove some unused variables from the parser code; r=hsivonen 2013-11-08 08:55:38 -05:00
Trevor Saunders
092eeac701 bug 935325 - merge nsIScriptGlobalObjectOwner into nsIDocShell r=smaug 2013-05-27 06:07:01 -04:00
William Chen
becdcebbbb Bug 932086 - Hoist <template> to head when found between </head> and <body>. r=hsivonen 2013-11-04 17:19:22 -08:00
Henri Sivonen
5ac2a5be04 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
6646962e49 Backed out changeset 88e0c01e2d81 (bug 910192) bustage on a CLOSED TREE 2013-11-04 13:04:02 +01:00
Henri Sivonen
7af818f242 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
b0d4f38205 Bug 932303: Mark parser/htmlparser/src as FAIL_ON_WARNINGS. r=mrbkap 2013-10-28 22:08:36 -07:00
Chris Peterson
7650c4357f Bug 931664 - Fix -Wunused-variable warning in nsScanner.cpp. r=mrbkap 2013-10-27 00:55:19 -07:00
Cykesiopka
d2f6b7333c Bug 914270 - Part 1: Simple/Automated moves. r=joey 2013-10-24 18:51:00 +01:00
Mike Hommey
b000a846c2 Bug 929905 - Consolidate sources in moz.build. r=gps 2013-10-25 08:23:05 +09:00
Mike Hommey
59a17d0f20 Bug 921492 - Make StrictOrderingOnAppendList use actual alphabetical sorting. r=mshal,r=gps 2013-10-24 08:05:43 +09:00
Ehsan Akhgari
6b1d998099 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
3228d563fa 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
b4eafc86d7 Bug 920725 - Return with error in nsHtml5StreamParser::WriteStreamBytes if mLastBuffer is null. r=hsivonen 2013-10-16 11:16:36 -04:00
Henri Sivonen
eb050aeb55 Bug 871161 - Stop inheriting charset where other browsers do not inherit it. r=bzbarsky. 2013-10-16 04:46:10 +03:00
Ms2ger
4c35b806f8 Merge m-c to inbound. 2013-10-03 11:09:17 +02:00
Ms2ger
f4153f40d4 Bug 900980 - Part a: Move unconditional assignments to EXPORT_LIBRARY to moz.build; rs=gps 2013-10-03 09:11:13 +02:00
Ms2ger
1ee1f27aa3 Bug 922268 - Remove empty makefiles; r=gps 2013-10-03 09:10:00 +02:00
Masayuki Nakano
5dbc2a60e4 Bug 920377 part.31 Get rid of nsEvent r=roc 2013-10-02 12:46:04 +09:00
Ehsan Akhgari
bf34a5f2f0 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
Trevor Saunders
6e22b00095 bug 920754 - rm more makefiles r=mshal 2013-09-25 16:39:06 -04:00
Ehsan Akhgari
f0c2034274 Bug 921882 - Remove IsSecondMarker; r=hsivonen 2013-09-30 11:38:11 -04:00
Ehsan Akhgari
1a58e11353 Bug 921880 - Remove two unused static variables from nsHTMLTags.cpp; r=hsivonen 2013-09-30 11:38:09 -04:00
Gregory Szorc
1cff342d15 Bug 920223 - Part 1: Mass convert MOCHITEST_FILES to manifests; rs=Ms2ger 2013-09-30 09:51:57 +02:00
Ed Morley
18a411a55c Backed out changeset 77bff106b704 (bug 920223) 2013-09-30 12:50:12 +01:00
Gregory Szorc
6ed63cb064 Bug 920223 - Part 1: Mass convert MOCHITEST_FILES to manifests; rs=Ms2ger 2013-09-30 09:51:57 +02:00
Ehsan Akhgari
8b1e734ef4 Backed out changeset a73ffb0d0c97 because of build bustage 2013-09-29 17:20:07 -04:00
Ehsan Akhgari
f3d364af5a Remove a number of unused variables, no bug 2013-09-29 16:42:12 -04:00
Masayuki Nakano
f90a5b1125 Bug 912956 part.18 Remove nsGUIEvent.h r=roc 2013-09-25 20:21:22 +09:00
Gregory Szorc
7bd3c0ae36 Bug 901990 - Part 2: Upgrade xpcshell manifests; r=ted
--HG--
rename : toolkit/mozapps/extensions/test/xpcshell-unpack/head_unpack.js => toolkit/mozapps/extensions/test/xpcshell/head_unpack.js
2013-09-24 11:50:08 -07:00
Masayuki Nakano
0fbfe07d7e 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
Ehsan Akhgari
7233ba7103 Bug 918923 - Part 2: Switch to #including nsString.h in code using the internal strings API; r=bsmedberg 2013-09-23 13:25:00 -04:00
Alexander J. Vincent
4922caac5c Bug 916364 - Remove the unused mNumConsumed int. r=mrbkap 2013-09-20 10:26:43 -04:00
Benoit Jacob
ef57b5655b Bug 913847 - stop needlessly including nsThreadUtils.h - r=ehsan 2013-09-19 09:54:39 -04:00
Wes Kocher
de3dfc4a8e Backed out changeset 554bfe767519 (bug 913847) for leaking on a CLOSED TREE 2013-09-18 17:21:02 -07:00
Benoit Jacob
1b7e3c520e Bug 913847 - stop needlessly including nsThreadUtils.h - r=ehsan 2013-09-18 18:50:32 -04:00
Mike Hommey
18d895f774 Bug 917086 - Disallow DIRS, PARALLEL_DIRS and TEST_DIRS under TOOL_DIRS and TEST_TOOL_DIRS, and adapt moz.build files accordingly. r=gps
Also mark TOOL_DIRS/TEST_TOOL_DIRS directories in backend.mk and recurse them normally instead of forcing make -C dir libs for them.
2013-09-19 07:43:02 +09:00
Joshua Cranmer
69250ebe86 Bug 904985, part 2: Use char16_t for NS_LITERAL_STRING, r=glandium, dbaron.
--HG--
extra : rebase_source : b4c9def93d907724fb4a1bc3f6279db87a11fb1f
2013-09-17 22:43:12 -05:00
Henri Sivonen
dbcd90258c Test for bug 910588 - log a parse error for <table><input></table>. rs=smaug. 2013-09-17 15:47:33 +03:00
Michael[tm] Smith
7bf5ea133f Bug 910588 - log a parse error for <table><input></table>. r=hsivonen. 2013-09-17 15:47:32 +03:00
James Kitchener
f29c71d5ef Bug 912981 - Make parser aware of view-source srcdoc status. r=hsivonen 2013-09-10 13:40:50 -04:00
Robert O'Callahan
03e7828db2 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
f8bc7fa754 Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00
Ryan VanderMeulen
c882ebec8c Bug 750436 - Add new test to xpcshell manifest. r=WhoNeedsTryAnyway
CLOSED TREE
2013-09-04 13:40:29 -04:00
Frederik Braun
cedbb923be Bug 750436 - Tests for the HTML sanitizer. r=hsivonen 2013-08-13 10:21:55 +02:00
Trevor Saunders
b2a552be0c bug 908347 - rm nsIDebugDumpContent r=mrbkap 2013-08-17 10:46:38 -04:00
Trevor Saunders
0c205298fc bug 908347 - make Open / Close Container() take an enum with only html and body elements r=mrbkap 2013-08-17 08:06:23 -04:00
Trevor Saunders
afea806bce bug 908347 - remove nsIHTMLCOntentSink::IsEnabled r=mrbkap 2013-08-17 07:45:46 -04:00
Trevor Saunders
6af92f981e bug 908347 - gut nsHTMLTokenizer a bit more r=mrbkap 2013-08-17 07:27:09 -04:00
Trevor Saunders
39875cb047 bug 908347 - kill nsIParserNode r=mrbkap 2013-08-16 22:19:32 -04:00
Trevor Saunders
3eec5c1468 bug 908347 - rm the bits of nsIHTMLContentSink nobody calls r=mrbkap 2013-08-16 22:02:26 -04:00
Trevor Saunders
c44bd61930 bug 908347 - HTMLContentSink::OpenContainer() doesn't need a parser node either r=mrbkap 2013-08-16 21:20:57 -04:00
Trevor Saunders
aa32c27fa6 bug 908347 - rm useless includes in nsToken.h r=mrbkap 2013-08-16 17:29:04 -04:00
Trevor Saunders
af70a91e16 bug 908347 - rm nsIElementObserver r=mrbkap 2013-08-16 16:39:22 -04:00
Cykesiopka
96660bac54 Bug 547963 - Uncomment assertion in test_bug418464.html. r=hsivonen 2013-08-23 11:07:10 -04:00
Cykesiopka
f5e1032f63 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
913bab58b0 Merge PGO-green changeset from inbound to m-c. 2013-08-22 10:31:44 +02:00
Ms2ger
04a948975a Bug 906619 - Part a: Move unconditional CSRCS to moz.build; r=mshal 2013-08-22 08:56:02 +02:00
Ms2ger
bdfaa84f5b Bug 904831 - Part b: Move unconditional MSVC_ENABLE_PGO definitions into moz.build; r=gps 2013-08-22 08:56:01 +02:00
Ms2ger
3a103a7e9f Bug 883284 - Part f: Move LIBXUL_LIBRARY into moz.build (p-z); r=glandium 2013-08-22 08:56:01 +02:00
Ehsan Akhgari
f9b077c0c8 Bug 904695 - #include fewer headers in nsContentUtils.h; r=jst 2013-08-21 15:28:26 -04:00
Ms2ger
30f4e6e119 Merge latest PGO-green inbounc changeset to m-c. 2013-08-14 14:45:47 +02:00
Ms2ger
1a5ae526d9 Bug 901323 - Don't include nsContentUtils.h unnecessarily; r=jlebar 2013-08-14 08:56:21 +02:00
William Chen
80b0d4c299 Bug 900724 - Prevent form association when creating elements in template contents. r=hsivonen 2013-08-13 14:31:18 -07:00
William Chen
c9f09c2e70 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
d75dff8c99 Bug 897143 - Update parser algorithms to be namespace aware. r=hsivonen 2013-08-12 14:46:12 -07:00
William Chen
8434baa572 Bug 888820 - Save template insertion mode stack information in TreeBuilderState. r=hsivonen 2013-08-12 14:46:12 -07:00
Blake Kaplan
912e909fe1 Bug 903912 - Remove the internals of the old parser since it's only used for about:blank. r=hsivonen
--HG--
extra : rebase_source : 620d34c12607f1e79ffed95e547d19e9c7a2359b
2013-08-12 11:28:41 -04:00
Trevor Saunders
e62a12b52f bug 886526 - remove IS_COMPONENT and MODULE_NAME makefile vars for things in libxul r=bsmedberg r=glandium 2013-08-08 20:12:37 -04:00