dom/base/nsPlainTextSerializer.cpp
c2a5945163a9c36f99da5aa9fa7b45b551731408
created 2019-08-30 06:51 +0000
pushed 2019-09-02 08:54 +0000
Mirko Brodesser Mirko Brodesser - Bug 1577487: remove misleading comments about `nsPlainTextSerializer::mLineBreaker`. r=hsivonen
10716060af24e9de0ea140d3d4f8922f19379634
created 2019-08-28 11:54 +0000
pushed 2019-08-29 15:29 +0000
Mirko Brodesser Mirko Brodesser - Bug 1576899: change `nsIContentSerializer` to take output string as argument in `nsIContentSerializer::Init`. r=hsivonen
12bce351126365567ec4092409fa3c6ee3f120ea
created 2019-08-28 08:23 +0000
pushed 2019-08-29 15:29 +0000
Mirko Brodesser Mirko Brodesser - Bug 1576903: Remove debugging comment added accidentally in bug 1575218. r=hsivonen
97e6c7ca3b6bc8a8bd26cf8f9da3a19e780e0530
created 2019-08-27 20:33 +0000
pushed 2019-08-29 15:29 +0000
longsonr longsonr - Bug 1570799 - pass the original element into nsXMLContentSerializer::CheckElementEnd so that we can determine whether it has children properly r=hsivonen
3511610e8ff95e124bb7d1e00b9884430abd3633
created 2019-08-27 10:41 +0000
pushed 2019-08-29 15:29 +0000
Mirko Brodesser Mirko Brodesser - Bug 1575839: part 5) Factor out `ReplaceVisiblyTrailingNbsps` from `nsPlainTextSerializer::Write`. r=hsivonen
13bf1f60ad2c582f9cec16faeb39743695059af5
created 2019-08-27 10:40 +0000
pushed 2019-08-29 15:29 +0000
Mirko Brodesser Mirko Brodesser - Bug 1575839: part 4) Remove `nsPlainTextSerializer::Write::atFirstColumn`. r=hsivonen
ce15b71195316eb82954c24f62a319e54c0e4405
created 2019-08-27 10:40 +0000
pushed 2019-08-29 15:29 +0000
Mirko Brodesser Mirko Brodesser - Bug 1575839: part 3) Simplify assignment to `nsPlainTextSerializer::Write::atFirstColumn`. r=hsivonen
5a833f31ffb1e61c0a4047ea36a47c7a9dc8fca4
created 2019-08-27 10:40 +0000
pushed 2019-08-29 15:29 +0000
Mirko Brodesser Mirko Brodesser - Bug 1575839: part 2) Declare some methods `const` or `static`. r=hsivonen
64b069575224c1905b59162effca4d61b684da9d
created 2019-08-27 10:40 +0000
pushed 2019-08-29 15:29 +0000
Mirko Brodesser Mirko Brodesser - Bug 1575839: part 1) Add `nsPlainTextSerializer::Settings::HasFlag`. r=hsivonen
9e735fd6f88341e1eb30f5e1b49dedec7f674366
created 2019-08-26 12:00 +0000
pushed 2019-08-29 15:29 +0000
Mirko Brodesser Mirko Brodesser - Bug 1575585: prevent mutating individual members of `nsPlainTextSerializer::Settings`. r=hsivonen
60893d2dc2d52d63d1c200154bfefbf55740db0d
created 2019-08-23 14:00 +0000
pushed 2019-08-26 19:26 +0000
Mirko Brodesser Mirko Brodesser - Bug 1575495: part 4) Add `AddLineBreak` to `CurrentLineContent`. r=hsivonen
149e16997325445797f0bbc47bb5b4bdef458eb4
created 2019-08-23 13:16 +0000
pushed 2019-08-26 19:26 +0000
Mirko Brodesser Mirko Brodesser - Bug 1575495: part 2) Move `MaybeReplaceNbspsForOutput` to `CurrentLineContent`. r=hsivonen
0fd980b158e3a9566edcac0d7614e5ff4c32ee25
created 2019-08-23 13:16 +0000
pushed 2019-08-26 19:26 +0000
Mirko Brodesser Mirko Brodesser - Bug 1575495: part 1) Simplify assignments to `mAtFirstColumn`. r=hsivonen
b8bedc2bb3a42fbe1a15ed99fd79896babc98a75
created 2019-08-21 13:57 +0000
pushed 2019-08-26 19:26 +0000
Mirko Brodesser Mirko Brodesser - Bug 1575549: revert `!MayWrap()` check which was unintentionally added in Bug 1574912. r=hsivonen
ccb047bcf0bcfe1323257b2f41f723dc70d7f5cd
created 2019-08-21 10:34 +0000
pushed 2019-08-26 19:26 +0000
Mirko Brodesser Mirko Brodesser - Bug 1575218: part 3) Remove duplicated debug logging. r=hsivonen
0e2e5f40690bb2fedf5720d92f87c98c329f6340
created 2019-08-21 10:32 +0000
pushed 2019-08-26 19:26 +0000
Mirko Brodesser Mirko Brodesser - Bug 1575218: part 2) Factor out `nsPlainTextSerializer`'s members related to current line content. r=hsivonen
76a17f3d411d2ae05ba9e73c597325708cb171cc
created 2019-08-21 10:31 +0000
pushed 2019-08-26 19:26 +0000
Mirko Brodesser Mirko Brodesser - Bug 1575218: part 1) Factor out `nsPlainTextSerializer`'s members to `Settings` struct. r=hsivonen
ee48d5f4c95c189e4a1b4a1add429c86f49a62d6
created 2019-08-20 08:03 +0000
pushed 2019-08-26 19:26 +0000
Mirko Brodesser Mirko Brodesser - Bug 1574912: part 4) Split `nsPlainTextSerializer::MaybeReplaceNbspsForOutput` out of `nsPlainTextSerializer::Output` method. r=hsivonen
41e981bc55f984d9dbd005cff892458bf3b1cd91
created 2019-08-20 08:03 +0000
pushed 2019-08-26 19:26 +0000
Mirko Brodesser Mirko Brodesser - Bug 1574912: part 3) Remove unread `mStartedOutput` member. r=hsivonen
1fdbc92732d73e1852e6ca8e87b5b45f0d0b894c
created 2019-08-20 08:05 +0000
pushed 2019-08-26 19:26 +0000
Mirko Brodesser Mirko Brodesser - Bug 1574912: part 2) Rename `nsPlainTextSerializer::IsInPre`, `IsHTMLBlock` and `IsElementBlock`. r=hsivonen
8c3b278c43dd6c00ec0e0e88641589c72a842383
created 2019-08-20 08:03 +0000
pushed 2019-08-26 19:26 +0000
Mirko Brodesser Mirko Brodesser - Bug 1574912: part 1) Slightly simplify `nsPlainTextSerializer::AddToLine`. r=hsivonen
f44a45ca4bf8b8ae55ed117751021e01a63bceae
created 2019-08-19 07:56 +0000
pushed 2019-08-26 19:26 +0000
Mirko Brodesser Mirko Brodesser - Bug 1574463: remove unused `nsIDocumentEncoder::OutputNonTextContentAsPlaceholder`. r=hsivonen
df8ab6a9bdf1782ec29aa500969a7b9ad9fe78b0
created 2019-08-19 07:55 +0000
pushed 2019-08-26 19:26 +0000
Mirko Brodesser Mirko Brodesser - Bug 1574458: remove unused `nsIDocumentEncoder::OutputDontRemoveLineEndingSpaces` functionality. r=hsivonen
d3d34552e75d90bcb9b47acafd46dc986f7aa866
created 2019-08-02 05:45 +0000
pushed 2019-08-26 19:26 +0000
Masayuki Nakano Masayuki Nakano - Bug 1569902 - part 2: Stop using attribute to consider whether a `<br>` element is a special node for empty last line or not r=m_kato,smaug
8b92e575e1c3b8e0d9b30686f9c539465fb1f7f8
created 2019-07-29 06:21 +0000
pushed 2019-08-26 19:26 +0000
Masayuki Nakano Masayuki Nakano - Bug 1560032 - part 2: Make cut/copy in password field available r=m_kato,smaug
413af5837faf7c2d3222c1574dd05381b96e4f90
created 2019-03-18 14:33 +0000
pushed 2019-05-13 10:53 +0000
Mats Palmgren Mats Palmgren - Bug 1535392 - <style> and <script> elements should be included in Selection.toString() unless they have CSS 'display:none'. r=smaug
f0a91d36587266d7454a450c6044d573664fbed5
created 2019-01-02 14:05 +0100
pushed 2019-01-21 13:03 +0000
Emilio Cobos Álvarez Emilio Cobos Álvarez - Bug 1517241 - Rename nsIDocument to mozilla::dom::Document. r=smaug
6f3709b3878117466168c40affa7bca0b60cf75b
created 2018-11-30 11:46 +0100
pushed 2018-12-03 16:23 +0000
Sylvestre Ledru Sylvestre Ledru - Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
fb09acfff1684500e989acc798e97fa7f9358dc0
created 2018-11-27 10:08 +0000
pushed 2018-12-03 16:23 +0000
Ehsan Akhgari Ehsan Akhgari - Bug 1508472 - Part 1: First batch of comment fix-ups in preparation for the tree reformat r=sylvestre
13efb4f58614a7bb20ca3149b0ca50cf92c7a13d
created 2018-06-16 17:21 +0300
pushed 2018-08-24 17:49 +0000
Andi-Bogdan Postelnicu Andi-Bogdan Postelnicu - Bug 1453795 - DOM - Initialize member fields in classes/ structures. r=peterv
803ff4b978c45629e313b4277b575a12c86c75ea
created 2018-06-26 23:23 +0300
pushed 2018-08-24 17:49 +0000
Petru Gurita Petru Gurita - Bug 1445216 - remove useless initialization of variable `atFirstColumn` in nsPlainTextSerializer::Write. r=bz
8a94faa5cc60495da5d80d4b3c07bf5877d2e6d8
created 2018-04-13 16:01 +0300
pushed 2018-04-26 21:04 +0000
Sebastian Hengst Sebastian Hengst - Backed out 4 changesets (bug 525063) on request from Andi. a=backout
d7d2f08e051c3c355d41dc5c1ce1bd3ca55a43b9
created 2018-04-10 21:11 +0200
pushed 2018-04-26 21:04 +0000
Tristan Bourvon Tristan Bourvon - Bug 525063 - Initialize uninitialized class attributes in m-c. r=ehsan
142c279497d5aaf403e6b55051576276d6e613f6
created 2018-03-22 13:49 +0000
pushed 2018-04-26 21:04 +0000
Jonathan Watt Jonathan Watt - Bug 1448294 - Clean up naming of 'styleContext' variables after the big nsStyleContext rename. r=emilio
9f7f97d22f078b7d45016d059b8ff42d1e0ab9b0
created 2018-03-25 21:31 +0300
pushed 2018-04-26 21:04 +0000
Narcis Beleuzu Narcis Beleuzu - Backed out 2 changesets (bug 1448294, bug 1448337) for wpt and reftest failures on /mathml
180051cfe357764fbca550196723dca5b87dddd9
created 2018-03-22 13:49 +0000
pushed 2018-04-26 21:04 +0000
Jonathan Watt Jonathan Watt - Summary: Bug 1448294 - Clean up naming of 'styleContext' variables after the big nsStyleContext rename. r=emilio
0016368787a44bdf5deb4c9b73f3c0b59d2bc27a
created 2018-03-22 19:20 +0100
pushed 2018-04-26 21:04 +0000
Emilio Cobos Álvarez Emilio Cobos Álvarez - Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt on a CLOSED TREE
b7c7195b99f43e8f493f013877938ec2edd19a58
created 2018-03-22 20:04 +0100
pushed 2018-04-26 21:04 +0000
Emilio Cobos Álvarez Emilio Cobos Álvarez - Back out changeset b683bb3f22a1 (Bug 1447483) for not landing with all the files. r=me on a CLOSED TREE
b683bb3f22a1aef672332aa3ee9d2c7a77149913
created 2018-03-22 19:20 +0100
pushed 2018-04-26 21:04 +0000
Emilio Cobos Álvarez Emilio Cobos Álvarez - Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt
d660ed0a7b4673769ab76298f78ed6661ef6138d
created 2018-03-07 15:17 +1100
pushed 2018-03-12 14:54 +0000
Nicholas Nethercote Nicholas Nethercote - Bug 1444031 - Rename Is{Static,Dynamic,HTML5}Atom. r=froydnj
01dbdfc733d262f13a10b205d9b725b071737abc
created 2018-01-23 15:49 +0100
pushed 2018-03-01 16:46 +0000
Emilio Cobos Álvarez Emilio Cobos Álvarez - Bug 1432490: Make nsComputedDOMStyle::GetStyleContext / GetStyleContextNoFlush not take a presShell. r=bz
c2ecd54e640243aeb27ce99033d2012c53e08993
created 2018-02-07 12:49 -0500
pushed 2018-03-01 16:46 +0000
Nathan Froyd Nathan Froyd - Bug 1435911 - use a static const char array in nsPlainTextSerializer::DoOpenContainer; r=farre
077e64a34f6b99495167267619e53e60c403e4b1
created 2018-01-09 23:49 +0900
pushed 2018-01-11 21:05 +0000
Masatoshi Kimura Masatoshi Kimura - Bug 1427023 - Remove nsCRT::strncmp. r=erahm
4c6d8b6d91b1af04198a2ad6f22f69afad1be62a
created 2017-12-13 22:17 -0600
pushed 2018-01-11 21:05 +0000
Jonathan Kew Jonathan Kew - Bug 1424898 - patch 2 - De-virtualize nsIWordBreaker and rename to mozilla::intl::WordBreaker. r=m_kato
4fdfde11bc65377efc7668d38639e12ca338be17
created 2017-12-01 10:45 -0500
pushed 2017-12-06 20:27 +0000
Henri Sivonen Henri Sivonen - Bug 1409951 - Use a stack to end serializer contexts instead of recomputing them. r=smaug, a=gchang
67a8e12324569dd730347187e2ffccae486c758b
created 2017-10-03 09:05 +1100
pushed 2017-11-02 16:33 +0000
Nicholas Nethercote Nicholas Nethercote - Bug 1400460 - Rename nsIAtom as nsAtom. r=hiro.
6a629adbb62a299d7208373d1c6f375149d2afdb
created 2017-07-06 14:00 +0200
pushed 2017-08-02 08:25 +0000
Sylvestre Ledru Sylvestre Ledru - Bug 1378712 - Remove all trailing whitespaces r=Ehsan
e155fa765af299f0e8cfb42e0a1709e5b04928b9
created 2017-04-27 13:27 +0300
pushed 2017-08-02 08:25 +0000
Henri Sivonen Henri Sivonen - Bug 1261841 part 2 - Use encoding_rs instead of uconv. r=emk,mystor.
0fbb76f06ce14570b5a63d85c53a7155c608a92f
created 2017-06-12 15:20 -0400
pushed 2017-08-02 08:25 +0000
Ehsan Akhgari Ehsan Akhgari - Bug 1370737 - Track seen preformatted elements in the document encoder to maintain stack balance correctly irrespective of element visibility; r=bzbarsky
dce18d4780877bd26df8052384ff5dc9e557964d
created 2017-04-27 12:44 +0900
pushed 2017-06-12 13:08 +0000
Makoto Kato Makoto Kato - Bug 1359707 - Preferences::GetBool(PREF_ALWAYS_INCLUDE_RUBY) should use AddBoolVarCache. r=smaug
a01a94c69531fb976977c3a3f66fe0e9d29ba907
created 2017-04-24 19:17 +0900
pushed 2017-06-12 13:08 +0000
Makoto Kato Makoto Kato - Bug 1358979 - nsPlainTextSerializer should be cycle collection. r=smaug
5b653d2bd81e4a9f0265226816e7c86fe1c6bd67
created 2017-04-05 14:39 +0900
pushed 2017-06-12 13:08 +0000
Brian Birtles Brian Birtles - Bug 1315874 - Drop 'ForElement' from GetStyleContextForElementXXX methods; r=heycam
18faa8438eebdf4b25f37b54f645087585b7f5fa
created 2016-09-29 07:10 +0200
pushed 2017-01-23 14:19 +0000
Jorg K Jorg K - Bug 456053 - Don't trim trailing space of quoted lines. r=masayuki
93657f8dedaafa384bcd49c71b52e195ec968de8
created 2016-09-01 15:01 +1000
pushed 2016-11-14 12:26 +0000
Nicholas Nethercote Nicholas Nethercote - Bug 1299727 - Rename NS_WARN_IF_FALSE as NS_WARNING_ASSERTION. r=erahm.
dfd60b58fa6410b266fd7c87b25e50d1bb36fd8c
created 2016-07-19 21:07 -0700
pushed 2016-09-19 13:38 +0000
Chris Peterson Chris Peterson - Bug 1277106 - Part 4: Remove MOZ_UTF16() macro. r=Waldo
282f7afd67657dda8e2e8568e5ac6f609311a03b
created 2016-07-20 22:03 -0700
pushed 2016-09-19 13:38 +0000
Chris Peterson Chris Peterson - Bug 1277106 - Part 2: Expand MOZ_UTF16() strings to u"" string literals. r=Waldo
c2507c070a5590e16b53cb75d211f06b44acfc54
created 2016-05-23 06:35 +0200
pushed 2016-06-06 19:02 +0000
Jorg K Jorg K - Bug 1274837 - don't crash by accessing string beyond its length. r=masayuki, a=sylvestre
26faa5d26ab77cec112d3d9a895d05cda09e08ef
created 2016-04-04 23:54 +0200
pushed 2016-06-06 19:02 +0000
Jorg K Jorg K - Bug 233705 - remove mDontWrapAnyQuotes, mWrapToWindow and pref wrap_to_window_width. r=ehsan
86dfca096aceb2ce4cde1f64ceb945d81f2b6d3d
created 2016-05-23 06:35 +0200
pushed 2016-06-01 21:48 +0000
Jorg K Jorg K - Bug 1274837 - don't crash by accessing string beyond its length. r=masayuki a=rkent CLOSED TREE THUNDERBIRD470b1_2016053115_RELBRANCH
ca8916bb80cfab16fae905b624632d849ca4f094
created 2015-11-27 15:27 +0100
pushed 2016-01-25 13:55 +0000
Jorg K Jorg K - Bug 1225864 - New flag OutputDisallowLineBreaking to disallow line breaking. r=masayuki.
less more (0) -60 tip