gecko-dev/parser/html
Nicholas Nethercote 3b0485fcdb Bug 1294645 - Don't use NS_CALLBACK for callbacks in nsI{Input,Output,UnicharInput},Stream.idl. r=froydnj.
Slightly less than half (93 / 210) of the NS_METHOD instances in the codebase
are because of the use of NS_CALLBACK in
nsI{Input,Output,UnicharInput},Stream.idl. The use of __stdcall on Win32 isn't
important for these callbacks because they are only used as arguments to
[noscript] methods.

This patch converts them to vanilla |nsresult| functions. It increases the size
of xul.dll by about ~600 bytes, which is about 0.001%.

--HG--
extra : rebase_source : c15d85298e0975fd030cd8f8f8e54501f453959b
2016-08-12 17:36:22 +10:00
..
java Bug 1274400 - Check out javaparser from GitHub instead of Google Code. r=froydnj 2016-08-11 16:09:17 +03:00
javasrc Bug 1268852. Change <label> elements to not be form-associated anymore. r=bkelly,hsivonen,surkov 2016-05-26 19:39:03 -04:00
jArray.h Bug 489820 part 2 - Grow buffers to the worst-case size before tokenizing; fix comments. r=wchen. 2015-08-25 18:05:45 +03:00
moz.build Bug 1286877 - do not set c-basic-offset for python-mode; r=gps 2016-07-14 10:16:42 -06:00
nsAHtml5TreeBuilderState.h
nsAHtml5TreeOpSink.h
nsHtml5ArrayCopy.h
nsHtml5Atom.cpp Bug 1261744 - Add two missing null checks for nsStringBuffer::Alloc(). r=erahm. 2016-04-07 09:35:50 +10:00
nsHtml5Atom.h Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj 2015-03-21 12:28:04 -04:00
nsHtml5AtomList.h Bug 1187357 - Generated code for renaming referrer to referrerpolicy in html parser. r=hsivonen 2015-11-30 16:12:59 -08:00
nsHtml5Atoms.cpp
nsHtml5Atoms.h
nsHtml5AtomTable.cpp
nsHtml5AtomTable.h Bug 1060982 - Fix more bad implicit constructors in the HTML parser; r=hsivonen 2014-09-01 18:04:20 -04:00
nsHtml5AttributeName.cpp Bug 1187357 - Generated code for renaming referrer to referrerpolicy in html parser. r=hsivonen 2015-11-30 16:12:59 -08:00
nsHtml5AttributeName.h Bug 1187357 - Generated code for renaming referrer to referrerpolicy in html parser. r=hsivonen 2015-11-30 16:12:59 -08:00
nsHtml5ByteReadable.h
nsHtml5DependentUTF16Buffer.cpp Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat 2015-10-18 01:24:48 -04:00
nsHtml5DependentUTF16Buffer.h Bug 1061060 - Fix more bad implicit constructors in parser; r=hsivonen 2014-09-01 18:04:52 -04:00
nsHtml5DocumentBuilder.cpp Bug 1267989 part 1. Rename nsScriptLoader::Add/RemoveExecuteBlocker to Add/RemoveParserBlockingScriptBlocker, to more clearly reflect what it does. r=smaug 2016-05-20 23:13:18 -04:00
nsHtml5DocumentBuilder.h Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj 2016-02-02 17:36:30 +02:00
nsHtml5DocumentMode.h
nsHtml5ElementName.cpp Bug 1268852. Change <label> elements to not be form-associated anymore. r=bkelly,hsivonen,surkov 2016-05-26 19:39:03 -04:00
nsHtml5ElementName.h Bug 1060930 - Mark the HTML5 Parser constructors with one argument as explicit; r=hsivonen 2014-09-01 18:02:08 -04:00
nsHtml5Highlighter.cpp Bug 1256530 - Fix compiler warnings about casting to larger size. r=hsivonen 2016-03-17 17:27:56 +01:00
nsHtml5Highlighter.h Bug 1229962 - use UniquePtr<T[]> instead of nsAutoArrayPtr<T> in parser/html/; r=hsivonen 2015-11-19 20:19:57 -05:00
nsHtml5HtmlAttributes.cpp
nsHtml5HtmlAttributes.h Bug 1060930 - Mark the HTML5 Parser constructors with one argument as explicit; r=hsivonen 2014-09-01 18:02:08 -04:00
nsHtml5Macros.h
nsHtml5MetaScanner.cpp Bug 1176698 - Use fallible allocator for attribute values in the HTML parser. r=wchen. 2015-08-25 18:05:46 +03:00
nsHtml5MetaScanner.h Bug 1176698 - Use fallible allocator for attribute values in the HTML parser. r=wchen. 2015-08-25 18:05:46 +03:00
nsHtml5MetaScannerCppSupplement.h
nsHtml5MetaScannerHSupplement.h
nsHtml5Module.cpp Bug 1293117 (part 4) - Change many NS_IMETHODIMP occurrences to NS_IMETHOD. r=froydnj. 2016-08-08 10:54:47 +10:00
nsHtml5Module.h
nsHtml5NamedCharacters.cpp Bug 1165518 - Part 2: Replace prlog.h with Logging.h. rs=froydnj 2015-05-19 11:15:34 -07:00
nsHtml5NamedCharacters.h Bug 1165518 - Part 2: Replace prlog.h with Logging.h. rs=froydnj 2015-05-19 11:15:34 -07:00
nsHtml5NamedCharactersAccel.cpp
nsHtml5NamedCharactersAccel.h Bug 1165518 - Part 2: Replace prlog.h with Logging.h. rs=froydnj 2015-05-19 11:15:34 -07:00
nsHtml5NamedCharactersInclude.h
nsHtml5OplessBuilder.cpp
nsHtml5OplessBuilder.h
nsHtml5OwningUTF16Buffer.cpp Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat 2015-10-18 01:24:48 -04:00
nsHtml5OwningUTF16Buffer.h Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat 2015-10-18 01:24:48 -04:00
nsHtml5Parser.cpp Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat 2015-10-18 01:24:48 -04:00
nsHtml5Parser.h Bug 1293117 (part 4) - Change many NS_IMETHODIMP occurrences to NS_IMETHOD. r=froydnj. 2016-08-08 10:54:47 +10:00
nsHtml5PlainTextUtils.cpp Bug 1277106 - Part 2: Expand MOZ_UTF16() strings to u"" string literals. r=Waldo 2016-07-20 22:03:25 -07:00
nsHtml5PlainTextUtils.h
nsHtml5Portability.cpp Bug 1176698 - Use fallible allocator for attribute values in the HTML parser. r=wchen. 2015-08-25 18:05:46 +03:00
nsHtml5Portability.h Bug 1176698 - Use fallible allocator for attribute values in the HTML parser. r=wchen. 2015-08-25 18:05:46 +03:00
nsHtml5RefPtr.h Bug 1293603 (part 2) - Make Run() declarations consistent. r=erahm. 2016-08-08 12:18:10 +10:00
nsHtml5ReleasableAttributeName.cpp
nsHtml5ReleasableAttributeName.h Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj 2015-03-21 12:28:04 -04:00
nsHtml5ReleasableElementName.cpp
nsHtml5ReleasableElementName.h Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj 2015-03-21 12:28:04 -04:00
nsHtml5Speculation.cpp Bug 1185763 - Part 5: Remove now unnecessary nsTArray::AppendElements optimizations in parser/html/. r=froydnj 2015-08-11 08:29:46 -07:00
nsHtml5Speculation.h Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat 2015-10-18 01:24:48 -04:00
nsHtml5SpeculativeLoad.cpp Bug 663570 - MetaCSP Part 4: Speculative parser changes (r=bz) 2015-11-14 19:28:51 -08:00
nsHtml5SpeculativeLoad.h Bug 663570 - MetaCSP Part 4: Speculative parser changes (r=bz) 2015-11-14 19:28:51 -08:00
nsHtml5StackNode.cpp
nsHtml5StackNode.h
nsHtml5StateSnapshot.cpp
nsHtml5StateSnapshot.h
nsHtml5StreamListener.cpp
nsHtml5StreamListener.h Bug 1060982 - Fix more bad implicit constructors in the HTML parser; r=hsivonen 2014-09-01 18:04:20 -04:00
nsHtml5StreamParser.cpp Bug 1294645 - Don't use NS_CALLBACK for callbacks in nsI{Input,Output,UnicharInput},Stream.idl. r=froydnj. 2016-08-12 17:36:22 +10:00
nsHtml5StreamParser.h Bug 1294645 - Don't use NS_CALLBACK for callbacks in nsI{Input,Output,UnicharInput},Stream.idl. r=froydnj. 2016-08-12 17:36:22 +10:00
nsHtml5StringParser.cpp Bug 1263782 - Kill off the deprecated nsINode::IsInDoc(). r=baku 2016-03-31 11:58:25 +01:00
nsHtml5StringParser.h Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat 2015-10-18 01:24:48 -04:00
nsHtml5SVGLoadDispatcher.cpp Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat 2015-10-18 01:24:48 -04:00
nsHtml5SVGLoadDispatcher.h Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj 2016-04-25 17:23:21 -07:00
nsHtml5Tokenizer.cpp Bug 1176698 - Use fallible allocator for attribute values in the HTML parser. r=wchen. 2015-08-25 18:05:46 +03:00
nsHtml5Tokenizer.h Bug 1176698 - Use fallible allocator for attribute values in the HTML parser. r=wchen. 2015-08-25 18:05:46 +03:00
nsHtml5TokenizerCppSupplement.h Bug 489820 part 2 - Grow buffers to the worst-case size before tokenizing; fix comments. r=wchen. 2015-08-25 18:05:45 +03:00
nsHtml5TokenizerHSupplement.h Bug 489820 part 2 - Grow buffers to the worst-case size before tokenizing; fix comments. r=wchen. 2015-08-25 18:05:45 +03:00
nsHtml5TokenizerLoopPolicies.h
nsHtml5TreeBuilder.cpp Bug 1268852. Change <label> elements to not be form-associated anymore. r=bkelly,hsivonen,surkov 2016-05-26 19:39:03 -04:00
nsHtml5TreeBuilder.h Bug 1268852. Change <label> elements to not be form-associated anymore. r=bkelly,hsivonen,surkov 2016-05-26 19:39:03 -04:00
nsHtml5TreeBuilderCppSupplement.h Bug 1256530 - Fix compiler warnings about casting to larger size. r=hsivonen 2016-03-17 17:27:56 +01:00
nsHtml5TreeBuilderHSupplement.h Bug 1229962 - use UniquePtr<T[]> instead of nsAutoArrayPtr<T> in parser/html/; r=hsivonen 2015-11-19 20:19:57 -05:00
nsHtml5TreeOperation.cpp Bug 616421 - Better distinguish invalid mOpCode values in nsHtml5TreeOperation::Perform. r=hsivonen. 2016-06-02 17:49:44 +10:00
nsHtml5TreeOperation.h Bug 616421 - Better distinguish invalid mOpCode values in nsHtml5TreeOperation::Perform. r=hsivonen. 2016-06-02 17:49:44 +10:00
nsHtml5TreeOpExecutor.cpp Bug 1293603 (part 2) - Make Run() declarations consistent. r=erahm. 2016-08-08 12:18:10 +10:00
nsHtml5TreeOpExecutor.h Bug 663570 - MetaCSP Part 4: Speculative parser changes (r=bz) 2015-11-14 19:28:51 -08:00
nsHtml5TreeOpStage.cpp Bug 1185763 - Part 5: Remove now unnecessary nsTArray::AppendElements optimizations in parser/html/. r=froydnj 2015-08-11 08:29:46 -07:00
nsHtml5TreeOpStage.h
nsHtml5UTF16Buffer.cpp Bug 489820 part 2 - Grow buffers to the worst-case size before tokenizing; fix comments. r=wchen. 2015-08-25 18:05:45 +03:00
nsHtml5UTF16Buffer.h Bug 489820 part 2 - Grow buffers to the worst-case size before tokenizing; fix comments. r=wchen. 2015-08-25 18:05:45 +03:00
nsHtml5UTF16BufferCppSupplement.h
nsHtml5UTF16BufferHSupplement.h
nsHtml5ViewSourceUtils.cpp Bug 1251235 - changed from naked pointers to UniquePtr to prevent resource leak. r=froydnj 2016-02-25 16:34:21 +02:00
nsHtml5ViewSourceUtils.h
nsIContentHandle.h
nsIParserUtils.idl
nsIScriptableUnescapeHTML.idl
nsParserUtils.cpp Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj 2016-02-02 17:36:30 +02:00
nsParserUtils.h Bug 1148527 - Indentation fix after bug 1145631, r=ehsan 2015-03-27 18:52:19 +00:00