Depend on tidy API for attribute extraction rather than regexes.
1. htmlparser methods return nodes instead of pre-parsed strings
2. htmlparser provides some methods to extract text/attr from nodes
Gitlab: #1248
Change-Id: I367d703680938fb0b7c5055ac41e079c1322da30
Introduces MessageParser to encapsulate text treatment for raw text messages.
The async parsing sequence is as follows:
- Markdown -> HTML (md4c)
- link coloration (tidy-html5)
- notify UI
- request link preview info from PreviewEngine for the first link
- Preview engine uses QtNetwork instead of QtWebengine
- Linkification is handled by MessageParser instead of linkify.js
QtWebengine is no longer required for message parsing.
Gitlab: #1033
Gitlab: #855
Change-Id: Ief9b91aa291caf284f08230acaf57976f80fa05b
Adds a `--with-engine` option for the resource generator script which will prevent packaging unused resources when building without webengine support.
Change-Id: If2f31284ef59166615221235427a53d0df8da2ce
Introduces the ViewCoordinator component to promote dynamic view loading and reduce coupling between components.
The following objects are now created and destroyed as needed:
- SettingsView
- WizardView
- dialogs
Further refactoring will be required in order to do the same with the ConversationView, which now parents the ChatView and the CallStackView.
Gitlab: #897
Change-Id: Ice6a0c133e62e1e0c8d7fb99ec2c41234c049b59