Commit Graph

18 Commits

Author SHA1 Message Date
Masatoshi Kimura
1ac9001f06 Bug 1120062 - Part 2: Remove use of IsNullPointer. r=waldo 2015-01-15 02:09:11 +09:00
Masatoshi Kimura
bae0a32948 Bug 1120062 - Part 1: Remove most Nullptr.h includes. r=waldo 2015-01-11 11:34:52 +09:00
Georg Fritzsche
eb5c2aafa5 Bug 1067989 - Unify some more binary search uses. r=waldo 2014-09-17 15:46:24 +02:00
Ehsan Akhgari
7cea6a9bcc Bug 1060982 - Fix more bad implicit constructors in the HTML parser; r=hsivonen 2014-09-01 18:04:20 -04:00
Phil Ringnalda
36b0901dec Backed out 6 changesets (bug 1060982, bug 1061058, bug 1060987, bug 1061060, bug 1060930) for build bustage
CLOSED TREE

Backed out changeset c23b8418e6be (bug 1060987)
Backed out changeset a8cddc6bdffc (bug 1061060)
Backed out changeset b5af5cbdac3f (bug 1060982)
Backed out changeset 4912d451011a (bug 1060930)
Backed out changeset bdacbf453238 (bug 1061058)
Backed out changeset da6c71a8f5ae (bug 1060987)
2014-09-01 16:48:51 -07:00
Ehsan Akhgari
1a06ad4b0d Bug 1060982 - Fix more bad implicit constructors in the HTML parser; r=hsivonen 2014-09-01 18:04:20 -04:00
Jeff Walden
400a152552 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.
2014-01-02 17:27:41 -06:00
Cykesiopka
2b212b7067 Bug 528863 - Use _h instead of _h__ in include guards in the HTML5 parser. r=hsivonen 2013-08-23 11:07:10 -04:00
Juan Gomez
809e711396 Bug 820435 - Fix the B2G builds on gcc-4.6 (NDK r8) due to missing std::nullptr_t in STLPort; r=ehsan 2012-12-11 20:29:00 -05:00
Kartikaya Gupta
0fe97a385a Bug 820172 - Fix android build when building with gcc 4.6. r=ehsan 2012-12-11 01:08:27 -05:00
Jeff Walden
cc5955eb53 Bug 796925 - Fix clang-on-Linux bustage in parser/html/jArray.h. rs=hsivonen 2012-10-09 15:01:48 -07:00
Henri Sivonen
fc88a5853d Bug 792790 - Introduce NoBoundsCheck variants of accessors on nsHtml5HtmlAttributes; Make operator= in jArray nullptr-aware. r=smaug. 2012-10-01 11:49:01 +03:00
Henri Sivonen
a00ca20e07 Bug 502176 - Replace static use of jArray with a plain old data staticJArray, introduce an autoJArray for nicer memory management. r=tglek, a=jst. 2010-09-28 10:32:31 +03:00
Henri Sivonen
4f178bfcdf Bug 598886 - Relicense HTML5 parser C++ files that are not Gecko-specific. r=gerv, a=NPOTB. 2010-09-28 10:32:31 +03:00
Zbyszek Skowron
4b8110d400 Bug 530090 - Memory leaks in jArray in HTML5 parser. r=hsivonen. 2009-12-21 13:38:58 +02:00
Henri Sivonen
2f19c38b3b Bug 487949 - Land HTML5 parser on trunk preffed off r=mrbkap, sr=jonas 2009-06-29 00:44:22 +02:00
Johnny Stenback
64cf7ea628 Backed out changeset 168dd0eb7283 2009-06-28 11:47:11 -07:00
Jonas Sicking
6a0cbe0e68 Move files to better location 2009-06-26 17:12:29 -07:00