Andreas Kling
d6f9349f15
IRCClient: Escape HTML entities in nicknames, too, just in case
2019-11-07 18:09:52 +01:00
Andreas Kling
a377e8d3f5
LibHTML+IRCClient: Add an escape_html_entities() helper
...
This simple helper escapes '<', '>' and '&' so they can be used in HTML
text without interfering with the parser.
Use this in IRCClient to prevent incoming messages from messing with
the DOM :^)
2019-11-06 22:40:01 +01:00
Andreas Kling
f60c46ceb7
IRCClient: Use parse_html_fragment() to add messages to the HtmlView
...
HTML fragment strings are so much nicer to work with than raw DOM APIs.
This makes it feel like we're using innerHTML :^)
2019-11-06 20:53:30 +01:00
Andreas Kling
f5cf8d4ad8
Revert "LibHTML: Rename parse_html() => parse_html_document()"
...
This reverts commit f6439789db
.
Oops, I committed unrelated changes here, let me clean that up..
2019-11-06 20:51:07 +01:00
Andreas Kling
f6439789db
LibHTML: Rename parse_html() => parse_html_document()
2019-11-06 20:31:56 +01:00
Andreas Kling
fa69b9fbb7
IRCClient: Switch to using an HtmlView for the IRC window contents :^)
...
This seemed like a perfect fit for LibHTML. We can now style the IRC
channels and queries however we like with the power of HTML and CSS.
This patch doesn't do much in the way of styling, it just gets the
basic mechanism into place.
2019-10-28 20:53:19 +01:00
Andreas Kling
90b1354688
AK: Rename RetainPtr => RefPtr and Retained => NonnullRefPtr.
2019-06-21 18:37:47 +02:00
Andreas Kling
f47945759b
LibGUI: Make GTableModel a retainable object.
...
It became clear that this class needs to support multiple owners.
2019-03-20 03:27:07 +01:00
Andreas Kling
55aa819077
IRCClient: Colorize some channel messages (joins, parts, topics)
2019-03-18 20:56:45 +01:00
Andreas Kling
850c7504a2
IRCClient: Hacking on IRCClient bringup.
2019-03-15 13:07:04 +01:00
Andreas Kling
aa19735c5a
IRCClient: Start working on a simple graphical IRC client.
...
This will be a nice way to exercise both LibGUI and the TCP/IP support. :^)
2019-03-15 12:14:23 +01:00