gecko-dev/parser/htmlparser
Eric Rahm 916d8bacc7 Bug 1442760 - Switch nsHTMLTags hashtables to nsDataHashtable. r=hsivonen
This converts nsHTMLTags hashtables from PLHash to nsDataHashtable which
gives us both type safety and simpler code. Addtionally `gTagTable` now holds
a nsString instead of a raw char16_t pointer, this has the benefit of the
strings knowing their sizes allowing for more efficient comparisons. We avoid
heap allocations in the nsString by using `AssignLiteral` with the string from
the static string array.

--HG--
extra : rebase_source : 3ab6409de5e933beb868a0b371dff81e56df0810
2018-03-06 17:27:17 -08:00
..
tests Bug 762726 - Add crashtest. 2017-12-05 11:02:58 -05:00
CNavDTD.cpp
CNavDTD.h
CParserContext.cpp Bug 1400460 - Rename nsIAtom as nsAtom. r=hiro. 2017-10-03 09:05:19 +11:00
CParserContext.h
moz.build Bug 1394734 - Replace CONFIG['GNU_C*'] by CONFIG['CC_TYPE'] r=glandium 2017-12-07 22:09:15 +01:00
nsElementTable.cpp Bug 1418002 - Remove HTMLContentElement, r=jessica 2017-11-30 10:57:15 +02:00
nsElementTable.h Bug 1400777 (part 5) - Clean up nsElementTable.{cpp,h}. r=mrbkap. 2017-09-20 08:32:51 +10:00
nsExpatDriver.cpp Bug 1416980 - Remove nsIExtendedExpatSink. r=erahm. 2017-11-14 17:22:49 +11:00
nsExpatDriver.h Bug 1416980 - Remove nsIExtendedExpatSink. r=erahm. 2017-11-14 17:22:49 +11:00
nsHTMLTagList.h Bug 1418002 - Remove HTMLContentElement, r=jessica 2017-11-30 10:57:15 +02:00
nsHTMLTags.cpp Bug 1442760 - Switch nsHTMLTags hashtables to nsDataHashtable. r=hsivonen 2018-03-06 17:27:17 -08:00
nsHTMLTags.h Bug 1442760 - Switch nsHTMLTags hashtables to nsDataHashtable. r=hsivonen 2018-03-06 17:27:17 -08:00
nsHTMLTokenizer.cpp
nsHTMLTokenizer.h
nsIContentSink.h Bug 1373984 - Turn nsIDocument::mCharacterSet into mozilla::NotNull<const mozilla::Encoding*>. r=hsivonen 2017-06-18 20:37:50 +09:00
nsIDTD.h
nsIExpatSink.idl
nsIFragmentContentSink.h
nsIHTMLContentSink.h
nsIParser.h Bug 1400460 - Rename nsIAtom as nsAtom. r=hiro. 2017-10-03 09:05:19 +11:00
nsITokenizer.h
nsParser.cpp Bug 1400460 - Rename nsIAtom as nsAtom. r=hiro. 2017-10-03 09:05:19 +11:00
nsParser.h Bug 1373984 - Turn nsIDocument::mCharacterSet into mozilla::NotNull<const mozilla::Encoding*>. r=hsivonen 2017-06-18 20:37:50 +09:00
nsParserBase.h
nsParserCIID.h Bug 1402769 - Remove unused stuff in and around nsParserModule.cpp. r=mrbkap. 2017-09-05 20:43:30 +10:00
nsParserConstants.h
nsParserModule.cpp Bug 1402769 - Remove unused stuff in and around nsParserModule.cpp. r=mrbkap. 2017-09-05 20:43:30 +10:00
nsParserMsgUtils.cpp Bug 1390428 (part 9) - Remove nsXPIDLCString. r=erahm. 2017-08-17 15:29:03 +10:00
nsParserMsgUtils.h
nsScanner.cpp Bug 1373984 - Turn nsIDocument::mCharacterSet into mozilla::NotNull<const mozilla::Encoding*>. r=hsivonen 2017-06-18 20:37:50 +09:00
nsScanner.h Bug 1373984 - Turn nsIDocument::mCharacterSet into mozilla::NotNull<const mozilla::Encoding*>. r=hsivonen 2017-06-18 20:37:50 +09:00
nsScannerString.cpp Bug 1374580 (part 3) - Remove ns{,C}Substring typedefs. r=froydnj. 2017-06-20 19:19:52 +10:00
nsScannerString.h Bug 1411615 - make nsScannerIterator a trivial type in order to use memset. r=hsivonen 2017-10-26 17:50:26 +03:00