Add support for rendering basic HTML in TalkatuHistory.
* Remove the data argument from class methods
* Renamed TalkatuHtmlParser to TalkatuHtmlRenderer
* Created TalkatuHtmlPangoRenderer
* Use the TalkatuMessage::content-type to determine how to render the text in
TalkatuHistory.
Testing Done:
Tested in the demo with a hack for the content type that will be fixed in a later review request.
Reviewed at https://reviews.imfreedom.org/r/403/
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.22.1
Talkatu - GTK widgets for chat applications
Copyright (C) 2017-2020 Gary Kramlich <grim@reaperworld.com>
This library is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this library; if not, see <https://www.gnu.org/licenses/>.
-->
<interface>
<requireslib="Talkatu"version="0.0"/>
<requireslib="gtk+"version="3.20"/>
<objectclass="TalkatuTagTable"id="table"/>
<objectclass="TalkatuBuffer"id="buffer">
<propertyname="tag_table">table</property>
</object>
<!-- interface-license-type gplv2 -->
<!-- interface-name Talkatu -->
<!-- interface-description GTK widgets for chat applications -->
<!-- interface-copyright Gary Kramlich <grim@reaperworld.com> -->