- Aug 21, 2017
-
-
Nicholas Nethercote authored
--HG-- extra : rebase_source : 69d58b0cfb56efc6b03d8e2d7be2ce3c3e6cd843
-
- Aug 17, 2017
-
-
Nicholas Nethercote authored
This is straightforward, with only two notable things. - `#include "nsXPIDLString.h" is replaced with `#include "nsString.h"` throughout, because all nsXPIDLString.h did was include nsString.h. The exception is for files which already include nsString.h, in which case the patch just removes the nsXPIDLString.h inclusion. - The patch removes the |xpidl_string| gtest, but improves the |voided| test to cover some of its ground, e.g. testing Adopt(nullptr). --HG-- extra : rebase_source : 452cc4a08046a1adb1a8099a7e85a1917de5add8
-
Nicholas Nethercote authored
These are all straightforward except for InternalLoadEvent::mTypeHint, which requires a bit of care to preserve existing behaviour. --HG-- extra : rebase_source : 9b152122b011cf49b9acccdc98b4693548b8bdd2
-
- Aug 16, 2017
-
-
Eric Rahm authored
We should not be declaring forward declarations for nsString classes directly, instead we should use nsStringFwd.h. This will make changing the underlying types easier. --HG-- extra : rebase_source : b2c7554e8632f078167ff2f609392e63a136c299
-
Nicholas Nethercote authored
These are all easy cases where an nsXPIDLCString local variable is set via getter_Copies() and then is null checked. The patch uses IsVoid() to replace the null checks (and get() and EqualsLiteral() calls to replace any implicit conversions). --HG-- extra : rebase_source : 484ad42a7816b34b86afbe072e04ba131c1619c6
-
- Sep 04, 2017
-
-
Nicholas Nethercote authored
This is a prerequisite for deCOMtaminating nsIAtom. --HG-- extra : rebase_source : 715864697aa797afdaf77c0b0f970b6a249afad0
-
- Aug 16, 2017
-
-
Michael Kaply authored
MozReview-Commit-ID: 8HdaBppsJsc --HG-- extra : rebase_source : 617c17b1162265e44810597fa69d533316da1a6b
-
- Aug 09, 2017
-
-
Phil Ringnalda authored
Backed out changeset eec506d87d03 (bug 1386103) Backed out changeset 3f9ec011c9bd (bug 1386103) MozReview-Commit-ID: 8ak71R7vUOC
-
- Aug 01, 2017
-
-
Nicholas Nethercote authored
In all of these cases the fixed buffer has the same lifetime as the string object, so we can use nsAuto[C]String for simplicity. For the 128-length ones in dom/xul/ I just switched to the default of 64 for simplicity, because the choice of 128 didn't seem that important. (These code paths weren't hit when I started the browser and opened a few sites.) Finally, the patch also changes LoggingIdString to use nsAutoCStringN<NSID_LENGTH>, similar to NullPrincipalURI.
-
- Aug 08, 2017
-
-
Nicholas Nethercote authored
nsXPIDLStrings are marked as VOIDED upon initialization. Most of these local nsXPIDLString variables are immediately set via getter_Copies(), which will either assign a string value (using Adopt()) or do SetIsVoid(). These can be trivially converted to nsString, which will get the same treatment. The patch suitably converts the remaining nsXPIDLString local variable as well. --HG-- extra : rebase_source : 5fff9f2c6844559198f601853f8db08564add7d5
-
- Jul 06, 2017
-
-
Sylvestre Ledru authored
MozReview-Commit-ID: Kdz2xtTF9EG --HG-- extra : rebase_source : 7235b3802f25bab29a8c6ba40a181a722f3df0ce
-
- Jul 01, 2017
-
-
Nicholas Nethercote authored
It's silly to use prmem.h within Firefox code given that in our configuration its functions are just wrappers for malloc() et al. (Indeed, in some places we mix PR_Malloc() with free(), or malloc() with PR_Free().) This patch removes all uses, except for the places where we need to use PR_Free() to free something allocated by another NSPR function; in those cases I've added a comment explaining which function did the allocation. --HG-- extra : rebase_source : 0f781bca68b5bf3c4c191e09e277dfc8becffa09
-
- Jun 25, 2017
-
-
Sebastian Hengst authored
-
- Jun 20, 2017
-
-
Nicholas Nethercote authored
All the instances are converted as follows. - nsSubstring --> nsAString - nsCSubstring --> nsACString --HG-- extra : rebase_source : cfd2238c52e3cb4d13e3bd5ddb80ba6584ab6d91
-
Nicholas Nethercote authored
All the instances are converted as follows. - nsAFlatString --> nsString - nsAFlatCString --> nsCString --HG-- extra : rebase_source : b37350642c58a85a08363df2e7c610873faa6e41
-
- Jun 18, 2017
-
-
Masatoshi Kimura authored
Bug 1373984 - Turn nsIDocument::mCharacterSet into mozilla::NotNull<const mozilla::Encoding*>. r=hsivonen MozReview-Commit-ID: GF0YXDwfA14 --HG-- extra : rebase_source : a84ab644f52e68676b45f112ff69f868d89f6177 extra : source : 49249788c0dee331ac2989dc39f0505d965a7bd8
-
- Jun 25, 2017
-
-
Wes Kocher authored
Backed out changeset 77af189b5c49 (bug 1373984) for build bustage in nsHtml5Parser.cpp a=backout CLOSED TREE MozReview-Commit-ID: 6kBmU71j2To
-
- Jun 18, 2017
-
-
Masatoshi Kimura authored
Bug 1373984 - Turn nsIDocument::mCharacterSet into mozilla::NotNull<const mozilla::Encoding*>. r=hsivonen MozReview-Commit-ID: GF0YXDwfA14 --HG-- extra : rebase_source : 09da1685795583513bf019d61c58230c2c4d298d extra : source : 49249788c0dee331ac2989dc39f0505d965a7bd8
-
Masatoshi Kimura authored
Bug 1373984 - Turn nsIDocument::mCharacterSet into mozilla::NotNull<const mozilla::Encoding*>. r=hsivonen MozReview-Commit-ID: GF0YXDwfA14 --HG-- extra : rebase_source : fdae0046f882d47fb539a7f882364e5c5caafdcd extra : source : 49249788c0dee331ac2989dc39f0505d965a7bd8
-
- May 09, 2017
-
-
Xidorn Quan authored
MozReview-Commit-ID: 5jrTqTfDzSk --HG-- extra : rebase_source : e2345a4f518757ed9760618d07599a60353875cc
-
- Aug 18, 2017
-
-
Ryan VanderMeulen authored
Backed out changeset fbf0e8609abb (bug 1390428) for Windows clipboard test failures on a CLOSED TREE.
-
- Mar 22, 2017
-
-
Andrea Marchesini authored
--HG-- rename : caps/nsNullPrincipal.cpp => caps/NullPrincipal.cpp rename : caps/nsNullPrincipal.h => caps/NullPrincipal.h rename : caps/nsNullPrincipalURI.cpp => caps/NullPrincipalURI.cpp rename : caps/nsNullPrincipalURI.h => caps/NullPrincipalURI.h
-
- Apr 04, 2017
-
-
Eric Rahm authored
This replaces the usage of |PR_LogPrint| with either |printf_stderr| or |MOZ_LOG| where appropriate. |printf_stderr| is used where a logger is not actually available or if log levels are not being used as expected.
-
- Mar 07, 2017
-
-
Joel Maher authored
MozReview-Commit-ID: 9whLSqKEIbl
-
- Aug 16, 2017
-
-
Nicholas Nethercote authored
These are all easy cases where an nsXPIDLCString local variable is set via getter_Copies() and then is used in ways that rely on the implicit conversion to |char*|. The patch uses get() and EqualsLiteral() calls to replace the implicit conversions.
-
- Aug 09, 2017
-
-
Nicholas Nethercote authored
-
- Jan 26, 2017
-
-
Nathan Froyd authored
This is not the cleanest code ever, but we need to move all static atom initialization prior to NS_SealStaticAtomTable to avoid the possibility of dynamic atoms being transmuted into static atoms. We therefore need to open up an avenue for somebody else to initialize the atoms that RDF needs.
-
- Feb 27, 2017
-
-
Benjamin Smedberg authored
MozReview-Commit-ID: 69CSBBqLrPs --HG-- rename : rdf/util/nsRDFResource.cpp => rdf/base/nsRDFResource.cpp rename : rdf/util/nsRDFResource.h => rdf/base/nsRDFResource.h extra : rebase_source : 5ccb4cec751bf3ebc08365f541ec6dad6d9c0a06
-
- Jan 18, 2017
-
-
Mark Banner authored
MozReview-Commit-ID: 62Hp5ISxowJ --HG-- extra : rebase_source : daa8efb3409031fea553f4fd0c9d0746e38dc308 extra : histedit_source : b4c23aacf678ba0d0ac9c09191a7c494ead11a08
-
- Feb 09, 2017
-
-
Sylvestre Ledru authored
MozReview-Commit-ID: 3boyTyUFUAI --HG-- extra : rebase_source : 74e1a433bc67143b3186086a9171ad8ffa7cd9a5
-
- Dec 16, 2016
-
-
Tom Tromey authored
MozReview-Commit-ID: BIZ1GQEZ1vs --HG-- extra : rebase_source : 2f1f0aa12493c44f352d9a7e8683e7bb72d2d75b
-
- Dec 23, 2016
-
-
Nicholas Nethercote authored
It's unused and the site it refers to no longer exists. --HG-- extra : rebase_source : 910e7fc54a4ba4c124d1217d7618ad2b68b9258b
-
Nicholas Nethercote authored
Neither Firefox nor Thunderbird use any of rdfISerializer, NS_RDFNTRIPLES_SERIALIZER_CID, and "@mozilla.org/rdf/serializer;1?format=ntriples". https://dxr.mozilla.org/addons/source/ shows three addons that use them, but only one does so meaningfully: ArchView. (The others mention them as part of long lists of XPCOM interfaces.) According to AMO, ArchView hasn't been updated since August 2008, it has only 153 users, it doesn't work in Firefox 53. Also, judging from the code, rdfISerializer is only be used as part of debugging the addon itself. So I think that use can be ignored. This patch removes them. It also removes rdfTriplesSerializer.cpp. --HG-- extra : rebase_source : faae5021ea9b58edf9d8f8b39ddd1551425544fc
-
- Dec 09, 2016
-
-
Tom Tromey authored
MozReview-Commit-ID: JifhpA3oOeH --HG-- extra : rebase_source : 08460997dc3fd91f3065c718e17b41bb4acf8bae
-
- Dec 12, 2016
-
-
Andrew McCreight authored
-
Nathan Froyd authored
Backout aba6c73511a2 (bug 1307961) for massive test bustage resulting in a CLOSED TREE; r=alltheorange
-
Andrew McCreight authored
-
- Jan 05, 2017
-
-
Cameron McCormack authored
Bug 1328832 - Part 2: Rename mozFlushType to mozilla::FlushType and make it an enum class. r=bzbarsky MozReview-Commit-ID: D3fIngSHSsl
-
- Nov 05, 2016
-
-
Sebastian Hengst authored
MozReview-Commit-ID: FBwwsbm1qxF --HG-- extra : rebase_source : e088d6a8f7ece270a18ec8f8cbb4e1c13d7b0f21
-
- Nov 04, 2016
-
-
Eric Rahm authored
This removes the final usages of nsISupportsArray from RDF. An unused nsCOMPtr<nsISupportsArray> is removed and another is converted to an nsCOMArray instead. MozReview-Commit-ID: C5x7EIASuAt
-