Jan Varga
7d5a168321
Bug 1826067 - Fix non-unified-build bustage in parser/htmlparser/nsScanner.cpp; r=sergesanspaille
...
Differential Revision: https://phabricator.services.mozilla.com/D174448
2023-04-03 12:59:14 +00:00
serge-sans-paille
31cd71dac0
Bug 1824516 - Make parser/htmlparser buildable outside of a unified build environment r=andi
...
Differential Revision: https://phabricator.services.mozilla.com/D173616
2023-03-30 13:48:34 +00:00
Andi-Bogdan Postelnicu
d016916382
Bug 1519636 - Reformat recent changes to the Google coding style. r=glandium
...
Updated with clang-format version 15.0.5 (taskcluster-MKK8dHUpQkGfPLA793lizg)
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D168658
2023-02-13 15:02:07 +00:00
Peter Van der Beken
12220be81b
Bug 1749935 - Make mSlidingBuffer a UniquePtr. r=hsivonen
...
Differential Revision: https://phabricator.services.mozilla.com/D135881
2022-02-14 13:03:48 +00:00
Peter Van der Beken
4c3a5e50ca
Bug 1749935 - Always create scanner upfront. r=hsivonen
...
Differential Revision: https://phabricator.services.mozilla.com/D135880
2022-02-14 13:03:48 +00:00
Peter Van der Beken
327ff927c4
Bug 1749462 - Don't convert URI to string for Expat. r=bholley
...
Differential Revision: https://phabricator.services.mozilla.com/D135835
2022-01-17 08:49:11 +00:00
ssummar
43e270e58d
Bug 1603127 - Replaced mozilla::Tuple with std::tuple and applied structured bindings in mozilla/Encoding.h. r=hsivonen
...
Differential Revision: https://phabricator.services.mozilla.com/D129920
2021-11-08 08:14:00 +00:00
Cristian Tuns
3b4f87f69c
Backed out changeset 7e8e3747c3f8 (bug 1603127) for causing toolchains build bustages (Bug 1739589). CLOSED TREE
2021-11-05 07:23:45 -04:00
ssummar
f2f04d2ae8
Bug 1603127 - Replaced mozilla::Tuple with std::tuple and applied structured bindings in mozilla/Encoding.h. r=hsivonen
...
Differential Revision: https://phabricator.services.mozilla.com/D129920
2021-11-05 05:33:58 +00:00
Simon Giesecke
39124586b5
Bug 1653335 - Replace MakeSpan uses by constructor calls. r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D83817
2020-08-07 07:49:47 +00:00
Gabriele Svelto
f03cdb2b2d
Bug 1600545 - Remove useless inclusions of header files generated from IDL files in modules/, netwerk/, parser/, security/, startupcache/, storage/, toolkit/, tools/, uriloader/, widget/, xpcom/ and xpfe/ r=Ehsan
...
The inclusions were removed with the following very crude script and the
resulting breakage was fixed up by hand. The manual fixups did either
revert the changes done by the script, replace a generic header with a more
specific one or replace a header with a forward declaration.
find . -name "*.idl" | grep -v web-platform | grep -v third_party | while read path; do
interfaces=$(grep "^\(class\|interface\).*:.*" "$path" | cut -d' ' -f2)
if [ -n "$interfaces" ]; then
if [[ "$interfaces" == *$'\n'* ]]; then
regexp="\("
for i in $interfaces; do regexp="$regexp$i\|"; done
regexp="${regexp%%\\\|}\)"
else
regexp="$interfaces"
fi
interface=$(basename "$path")
rg -l "#include.*${interface%%.idl}.h" . | while read path2; do
hits=$(grep -v "#include.*${interface%%.idl}.h" "$path2" | grep -c "$regexp" )
if [ $hits -eq 0 ]; then
echo "Removing ${interface} from ${path2}"
grep -v "#include.*${interface%%.idl}.h" "$path2" > "$path2".tmp
mv -f "$path2".tmp "$path2"
fi
done
fi
done
Differential Revision: https://phabricator.services.mozilla.com/D55444
2019-12-06 09:17:57 +00:00
Sylvestre Ledru
e5a134f73a
Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
...
# ignore-this-changeset
2018-11-30 11:46:48 +01:00
Masatoshi Kimura
a725dc3e13
Bug 1373984 - Turn nsIDocument::mCharacterSet into mozilla::NotNull<const mozilla::Encoding*>. r=hsivonen
...
MozReview-Commit-ID: GF0YXDwfA14
2017-06-18 20:37:50 +09:00
Sebastian Hengst
9736fc0664
Backed out changeset 7235d05662b0 (bug 1373984) for Android bustage. r=backout on a CLOSED TREE
2017-06-25 18:30:13 +02:00
Masatoshi Kimura
cff1fdcb48
Bug 1373984 - Turn nsIDocument::mCharacterSet into mozilla::NotNull<const mozilla::Encoding*>. r=hsivonen
...
MozReview-Commit-ID: GF0YXDwfA14
2017-06-18 20:37:50 +09:00
Wes Kocher
d214d1f5fa
Backed out changeset 77af189b5c49 (bug 1373984) for build bustage in nsHtml5Parser.cpp a=backout CLOSED TREE
...
MozReview-Commit-ID: 6kBmU71j2To
2017-06-25 05:10:14 -07:00
Masatoshi Kimura
d3e74dcb2d
Bug 1373984 - Turn nsIDocument::mCharacterSet into mozilla::NotNull<const mozilla::Encoding*>. r=hsivonen
...
MozReview-Commit-ID: GF0YXDwfA14
2017-06-18 20:37:50 +09:00
Masatoshi Kimura
1fd69c2f1a
Bug 1369025 - Remove mozilla::dom::EncodingUtils. r=hsivonen
...
MozReview-Commit-ID: 5O5WtxbmATQ
2017-06-17 11:54:40 +09:00
Henri Sivonen
d470017fe2
Bug 1373045 - Avoid double-resolving the replacement encoding. r=emk
...
MozReview-Commit-ID: F0nOJ2opz0r
2017-06-15 11:05:05 +03:00
Henri Sivonen
7af0452b6b
Bug 1261841 part 2 - Use encoding_rs instead of uconv. r=emk,mystor.
...
MozReview-Commit-ID: 15Y5GTX98bv
2017-06-13 13:23:23 +03:00
Henri Sivonen
cfce56d0aa
Bug 1334290 - Remove useless fields from nsScanner. r=mrbkap.
...
MozReview-Commit-ID: 6LnvmOGrGwz
2017-02-17 08:44:49 +02:00
Henri Sivonen
a180f662bb
Bug 1334246. r=mrbkap.
...
nsScannerString changes by erahm.
MozReview-Commit-ID: 6lh8SYjpGlj
2017-02-16 10:05:27 +02:00
Nicholas Nethercote
87200c368c
Bug 1325494 (part 2) - Remove kFoo constants from nsIParser.h. r=hsivonen.
...
Only three of them are used, and those ones aren't used in many places, and
they're just renamings of NS_ERROR_* values that obfuscate more than they
clarify.
2016-12-23 13:51:04 +11:00
Gerald Squelart
9a3fb4229e
Bug 1316432 - Fix nsCOMPtr constructions&assignments from 0 - r=froydnj
...
Giving '0' (literal zero) to nsCOMPtr is now ambiguous, as both
nsCOMPtr(decltype(nullptr)) and nsCOMPtr(T*) could be used.
In any case, our coding standards mandate the use of 'nullptr' for pointers.
So I'm changing all zeroes into nullptr's where necessary.
MozReview-Commit-ID: LXiZTu87Ck6
2016-11-10 14:11:27 +11:00
Henri Sivonen
cff81fa639
Bug 1228103 bustage follow-up. rs=Tomcat.
2016-02-09 13:08:03 +02:00
Henri Sivonen
ee55bdef4d
Bug 1228103 addendum. r=smaug.
2016-02-09 12:45:59 +02:00
Henri Sivonen
32dd9cac56
Bug 1228103. r=smaug.
2016-02-09 12:45:59 +02:00
Chris Peterson
256e9f19bb
Bug 1236322 - Part 1: Annotate intentional switch fallthroughs to suppress -Wimplicit-fallthrough warnings in parser/. r=hsivonen
...
parser/html/nsHtml5Highlighter.cpp:572:9 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
parser/htmlparser/nsScanner.cpp:425:7 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
parser/htmlparser/nsScanner.cpp:780:7 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
2015-12-25 00:01:32 -07:00
Dragana Damjanovic
f5e3e71a6d
Bug 905127 - Part 2 - remove unnecessary nsNetUtil.h includes r=jduell
2015-07-06 07:55:00 +02:00
Andrea Marchesini
a361861079
Bug 1170794 - Improve the length check of the input in nsUnicode*::GetMaxLength, r=dveditz
2015-06-17 12:21:39 +01:00
Birunthan Mohanathas
735c08304e
Bug 1057923 - Flatten parser/htmlparser/{public,src}/ into parent directory. r=mrbkap
2014-08-26 07:10:53 -07:00