One part fixes#4280 (removing this flag giving qTox on Windows able to start properly), another part fixes my mistake in #4258 (strmiids still needed for
linking, but previous searching of this libstrmiids.a wasn't include, for example, '/mingw32/i686-w64-mingw32/lib'. So I just add this lib to $ALL_LIBRARIES,
because it exists in system by default).
Fix#4275
I did not consider that replacing one substring with another will point
to shifting position of next URL found with regexp. That's the behavior
of Qt's "QRegularExpression" class - it takes a string into constructor
and seems to make its copy inside so changing source string does not
affect this regex object
Switched to libav*-devel because ffmpeg-devel is not available on
OpenSUSE in the official repos, and libav*-devel provides the headers
for FFmpeg 3.x series.
This commit adds the following fixes to simple_make.sh
- cmake -H -B is undocumented and not officially supported, so replace
it with the standard way
Fixes#4267
- fix build via "opensuse" docker image
+ zypper in sudo (if not installed)
+ replace external program "which" with shell built-in "command -v"
+ update and sorte depencies for OpenSUSE
+ improve the distro test, as OpenSUSE may have apt installed, but
not necessarily lsb_release.
Note:
OpenSUSE has no package called ffmpeg-devel in the official repos, but it
it has ffmpeg2-devel.
Fixes bulding with cmake on Windows. strmiids is exists as a
libstrmiids.a static library, but cmake can't find it. Because of
useless of this search and successful building without it, I'm removed it.
Fix#4242
Just running in a loop through all of markdown symbols in found URL's,
replacing them with their associated HTML character code before the code
formatting to avoid any chance of interception
Fix#4010.
qTox use status system, where offline is one of the status, but toxcore
use two different meaning: 'connection' and 'user status'. To correct
qTox status handling we should ignore online connection status.
noavarice (3):
refactor: further improvement of message formatting
test: added test on URL highlighting in text messages
fix: fixed documentation mistake
Brief list of changes:
- names of some variables and constants were replaced for reading
convenience;
- URL-highlighting method moved to TextFormatter so URL's don't
conflict with italic text formatting;
- as I understand, in previous version 'file://' URL does not work
because of bad regex. I fix this with help of wiki page that
referenced in comment for old code. Important note: there are two
equal 'file://' URL syntax: 'file:///...' and 'file://localhost/...'
and the second one does NOT work in KDE but works in Gnome so that's
not a bug
Fix#4233