Henri Sivonen
a50da6dae1
Bug 977540 - Avoid running Japanese, Russian and Ukrainian detectors on domains associated with different encoding legacies. r=emk.
2018-12-12 09:51:52 +02:00
Henri Sivonen
5f7f8cbbc4
Bug 1071816 - Support loading unlabeled/BOMless UTF-8 text/html and text/plain files from file: URLs. r=emk.
2018-12-11 10:36:46 +02:00
Henri Sivonen
ed84e31e0e
Bug 1512155 - Introduce a movable type that combines mozilla::UniquePtr<T[]> and its length. r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D13795
2018-12-07 08:28:08 +00:00
Henri Sivonen
82db8dc18d
Bug 1511972 - Clean up byte buffer representation in method signatures in nsHtml5StreamParser. r=mrbkap
...
Differential Revision: https://phabricator.services.mozilla.com/D13732
2018-12-06 18:59:56 +00:00
Benjamin Bouvier
5e1b39e9bd
Bug 1511383: Update vim modelines after clang-format; r=sylvestre
...
- modify line wrap up to 80 chars; (tw=80)
- modify size of tab to 2 chars everywhere; (sts=2, sw=2)
2018-11-30 16:39:55 +01: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
Emilio Cobos Álvarez
4d343d7da2
Bug 1506133 - More HTML parser cleanup post bug 1392185. r=hsivonen
...
Differential Revision: https://phabricator.services.mozilla.com/D11480
2018-11-12 14:37:09 +00:00
Nathan Froyd
2233315e81
Bug 1499727 - make nsHtml5StreamParser timers slightly more efficient; r=hsivonen
...
Instead of creating a timer and then setting the timer's target, we can
determine the timer's target and pass it in directly when the timer is
created. This reordering of steps is slightly more efficient, since
SetTarget() is both a virtual call and requires locking, both of which
can be skipped if we know the target at timer creation time.
2018-10-17 19:57:36 -04:00
Jeff Walden
b6c6a43521
Bug 1493441 - Allow ScriptSource to store UTF-8 script data in addition to UTF-16 script data (but don't create any UTF-8-backed ScriptSources yet). r=tcampbell
2018-09-29 17:28:31 -04:00
Ehsan Akhgari
cdc2cdee7d
Bug 1488659 - Part 1: Remove the XPCOM registrations for character detector classes; r=hsivonen
...
Differential Revision: https://phabricator.services.mozilla.com/D5392
2018-09-10 07:59:42 -04:00
Henri Sivonen
c6043d9297
Bug 634541 - Make the HTML parser remove only one BOM when the input starts with multiple BOMs. r=bzbarsky
...
MozReview-Commit-ID: 1zoGFxx9MCm
Differential Revision: https://phabricator.services.mozilla.com/D2926
2018-08-13 08:01:56 +00:00
Brian Hackett
547f9e5b35
Bug 1470795 Part 5 - Update content parse users for API movement, r=froydnj.
2018-07-23 21:45:33 +00:00
Brian Hackett
d2418edd68
Bug 1465292 Part 4 - Track parsed content from HTML files, r=hsivonen.
2018-07-23 21:43:13 +00:00
Chris Peterson
f7ceeaf5cf
Bug 1469769 - Part 6: Replace non-failing NS_NOTREACHED with MOZ_ASSERT_UNREACHABLE. r=froydnj
...
This patch is an automatic replacement of s/NS_NOTREACHED/MOZ_ASSERT_UNREACHABLE/. Reindenting long lines and whitespace fixups follow in patch 6b.
MozReview-Commit-ID: 5UQVHElSpCr
2018-06-17 22:43:11 -07:00
Emilio Cobos Álvarez
4b8b5e1717
Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj
...
This was done automatically replacing:
s/mozilla::Move/std::move/
s/ Move(/ std::move(/
s/(Move(/(std::move(/
Removing the 'using mozilla::Move;' lines.
And then with a few manual fixups, see the bug for the split series..
MozReview-Commit-ID: Jxze3adipUh
2018-06-01 10:45:27 +02:00
Chris Peterson
5d6b16ea3b
Bug 1457813 - Part 2: Replace non-asserting NS_PRECONDITIONs with MOZ_ASSERTs. r=froydnj
...
s/NS_PRECONDITION/MOZ_ASSERT/ and reindent
MozReview-Commit-ID: KuUsnVe2h8L
2018-04-28 12:50:58 -07:00
Masatoshi Kimura
63783eda6f
Bug 1445541 - Enable the character encoding menu when the document is decoded as UTF-8 and an error is found, instead of disabling it when no errors are found. r=hsivonen
...
MozReview-Commit-ID: 1e6kQbAxcqm
2018-04-06 06:20:28 +09:00
Nicholas Nethercote
7d975ff94b
Bug 1449064 - Convert html.* prefs to StaticPrefs. r=hsivonen
...
MozReview-Commit-ID: 7sBOuzBJ1Pa
2018-03-27 11:59:48 +11:00
Boris Zbarsky
051041fc49
Bug 1446097. Switch to "set" as the canonical nsGkAtoms name of the string "set", so it matches the actual tag name "set" in SVG. r=hsivonen,njn
...
Most of the noise is from the fact that clang-format on parser/html/*.{h,cpp}
reformatted all sorts of stuff. Not running it caused lots of format changes
from the generator... I guess we changed the format rules since the last time
this got run?
MozReview-Commit-ID: IA2G87zUIKN
2018-03-16 11:26:06 -04:00
Chris Peterson
677bf4030c
Bug 1428535 - Add missing override specifiers to overridden virtual functions. r=froydnj
...
MozReview-Commit-ID: DCPTnyBooIe
2017-11-05 19:37:28 -08:00
Chris Peterson
ea13f73095
Bug 1424548 - Part 1: Fix non-unified build of HTML parser code. r=hsivonen
2017-12-04 13:09:15 -08:00
Alphan Chen
f742ba195a
Bug 980904 - Disable the Character Encoding menu when document is decoded as UTF-8 without errors. r=hsivonen,emk,Gijs
2017-11-23 15:03:41 +08:00
Kris Maglione
4a5ef65402
Bug 1404198: Part 2j - Switch to NS_NewTimer* everywhere else. r=njn
...
MozReview-Commit-ID: LmGIgfmNSmk
2017-09-24 19:57:48 -07:00
Henri Sivonen
fb923e96da
Bug 1406308 - MOZ_RELEASE_ASSERT on nsHtml5StreamParser::mStreamState. r=smaug
...
MozReview-Commit-ID: 8F7kJ7KKYEI
2017-10-06 10:42:21 +03:00
Olli Pettay
8cae9c47d0
Bug 1377131 - Try to trigger collector slices at times which disturb page js less (at least with iframes loaded after the top level page has been loaded), r=mccr8,bz
...
When triggering an iframe load or starting to parse a document for an iframe, the main thread may often have some time before the new page has been created. Try to trigger CC/GC slice at such point in order to avoid collector later when page is already executing its JS
2017-09-06 18:18:11 +01:00
Nicholas Nethercote
09493fcbcf
Bug 1384835 (part 3, attempt 2) - Remove the Preferences::Get*CString() variants that return nsAdoptingCString. r=froydnj.
2017-07-31 14:28:48 +10:00
Bevis Tseng
2ecbda13e2
Bug 1378930 - Part 2: Remove the aName parameter from SchedulerGroup/DocGroup/DispatcherTrait. r=billm
2017-07-26 16:13:35 +08:00
Sylvestre Ledru
576cac5ec7
Bug 1381253 - Remove redundant control flow declarations rs=ehsan
...
MozReview-Commit-ID: FFxP4aMCbOL
2017-07-15 19:03:04 +02:00
Henri Sivonen
50941a3e2b
Bug 562590 - Make incomplete byte sequences near HTML EOF emit a REPLACEMENT CHARACTER. r=emk
...
MozReview-Commit-ID: 6NF4rMWxyVu
2017-06-22 14:32:34 +03:00
Henri Sivonen
c3862d6f4b
Bug 1333333 - Label runnables in the HTML parser (again). r=billm.
...
MozReview-Commit-ID: 1Z89LSr46dN
2017-06-27 10:38:30 -07:00
Carsten "Tomcat" Book
372571d466
merge mozilla-inbound to mozilla-central a=merge
2017-06-27 10:56:41 +02:00
Bill McCloskey
ce42826bdf
Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
...
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-26 14:19:58 -07: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
Carsten "Tomcat" Book
238bf154d5
Backed out changeset 4f6302a98ae4 (bug 1372405)
2017-06-21 13:59:26 +02:00
Bill McCloskey
67e8af4720
Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
...
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-20 21:44:11 -07:00
Carsten "Tomcat" Book
bbe9441993
Backed out changeset 9846de3bd954 (bug 1372405)
2017-06-20 08:27:02 +02:00
Bill McCloskey
f69608368b
Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
...
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-19 22:25:47 -07: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
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
Bill McCloskey
19d1323fdd
Bug 1371132 - Convert NS_GetCurrentThread calls in parser/ (r=hsivonen)
...
MozReview-Commit-ID: Cn1h0iK0Brl
2017-06-12 20:21:43 -07:00
Henri Sivonen
62b1a36ca4
Backout changeset 3d64bdd31c15 (bug 1333333) for causing bug 1367067, bug 1367085 and bug 1367330.
...
MozReview-Commit-ID: E7Q3LQDXgIA
2017-05-24 11:35:33 +03:00
Henri Sivonen
50f9822551
Bug 1333333 - Label runnables in the HTML parser. r=billm
...
MozReview-Commit-ID: 6ItIgFSSR2s
2017-05-15 15:54:54 +03:00
Bill McCloskey
c402a046c2
Bug 1363560 - Name more runnables (r=mccr8)
...
MozReview-Commit-ID: 3hxZDA4JlTV
2017-05-09 21:53:25 -07:00
Iris Hsiao
314d76a0b8
Backed out changeset 2e7615b554ee (bug 1355441) for crashing at nsHtml5TreeBuilder::getUnusedStackNode() intermittent failures
2017-05-09 17:11:28 +08:00
William Chen
b396a8a419
Bug 1355441 - Reuse StackNode in HTML parser TreeBuilder to avoid malloc. r=hsivonen
2017-05-01 17:25:05 -07:00
Henri Sivonen
cb263a268d
Bug 1347737 - Introduce a new non-heap-allocated type for holding nsStringBuffer* in the HTML parser. r=wchen.
...
MozReview-Commit-ID: Gn9fXroxQhY
2017-03-20 14:45:15 +02:00