1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00
Commit Graph

5762 Commits

Author SHA1 Message Date
sudden6
e9515f4898
fix: remove useless line that caused a warning 2017-03-23 13:36:29 +01:00
sudden6
feea196ad2
Merge pull request #4279
noavarice (2):
      test: added case for multiple URL's in one message
      fix: fixed wrong formatting for multiple URL's in one message
2017-03-23 13:35:22 +01:00
DX37
f6b8601897 chore(build): Remove '-pie' linker flag and fix strmiids dependency on Windows
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).
2017-03-23 14:54:27 +06:00
noavarice
08208e9aa5 fix: fixed wrong formatting for multiple URL's in one message
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
2017-03-22 14:23:57 +03:00
noavarice
d34ac1e396 test: added case for multiple URL's in one message 2017-03-22 14:10:23 +03:00
sudden6
6b5d25acc7
Merge pull request #4273
Flemming Richter (2):
      chore(build): add missing dependencies and fix make path
      chore(build): switch from ffmpeg2-devel to libav*-devel for OpenSUSE
2017-03-22 10:48:06 +01:00
Flemming Richter
2a093936e3 chore(build): switch from ffmpeg2-devel to libav*-devel for OpenSUSE
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.
2017-03-22 01:37:27 +01:00
Diadlo
84e73f300a
fix(README): Fix mardown to correct display on github 2017-03-22 00:36:50 +03:00
Flemming Richter
9b3d919d27 chore(build): add missing dependencies and fix make path
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.
2017-03-21 02:20:12 +01:00
Diadlo
74356abda4
docs: Add docs to ContentDialog 2017-03-21 01:38:03 +03:00
Diadlo
add8d51a29
refactor: ContentDialog refactoring 2017-03-21 01:38:03 +03:00
Diadlo
c7202c8b24
fix(widget): Add friendWidget deletation
Thanks @noavarice for help.
Fix #4254, #4229
2017-03-21 01:06:51 +03:00
sudden6
f0cec44a8c
fix: silence various warnings 2017-03-20 22:21:38 +01:00
tux3
f07daaf159
fix: Stop using deprecated avcodec_decode_video2 2017-03-20 21:10:27 +03:00
tux3
91414b4fce
fix: Remove unnecessary calls to av_frame_unref
If we immediately free it, the refcount goes to zero!
2017-03-20 21:10:27 +03:00
tux3
9674bff0cf
fix: Stop using deprecated AVStream::codec
We now use the AVCodecParameters instead, as recommended
2017-03-20 21:10:27 +03:00
sudden6
300ac12e3f
fix: silence warning by not using dynamic arrays on stack 2017-03-19 19:27:50 +01:00
Zetok Zalbavar
7e0bcf089f
chore(CHANGELOG): add changelog for the v1.9.0 release 2017-03-19 14:27:22 +00:00
Zetok Zalbavar
f72c83afb7
chore(i18n): update translation files for Weblate 2017-03-19 13:35:32 +00:00
Bert
015c8b0092
feat(l10n): update German translation from Weblate 2017-03-19 13:35:32 +00:00
sudden6
036ea14b26
feat(l10n): update German translation from Weblate 2017-03-19 13:35:32 +00:00
LNDDYL
9fadde67a1
feat(l10n): update Chinese (Traditional) translation from Weblate 2017-03-19 13:35:32 +00:00
LNDDYL
ae67624610
feat(l10n): update Chinese (Simplified) translation from Weblate 2017-03-19 13:35:31 +00:00
ati3
a6665fe028
feat(l10n): update Slovak translation from Weblate 2017-03-19 13:35:31 +00:00
Viktar Vauchkevich
a335e32af5
feat(l10n): update Belarusian translation from Weblate 2017-03-19 13:35:31 +00:00
Maxim Kurnosenko
17413c0864
feat(l10n): update Russian translation from Weblate 2017-03-19 13:35:31 +00:00
Pietro La Porta
c6ca151883
feat(l10n): update Italian translation from Weblate 2017-03-19 13:35:31 +00:00
Zetok Zalbavar
3f013331c6
docs(INSTALL): add missing Debian dependency qttools5-dev
Which provides needed `Qt5LinguistToolsConfig.cmake` for CMake.
2017-03-19 12:51:10 +00:00
sudden6
377908a6a5
Merge pull request #4258
DX37 (1):
      chore(build): don't ask for strmiids
2017-03-19 13:38:04 +01:00
sudden6
b195ff5a66
Merge pull request #4257
DX37 (1):
      fix: Fix incorrect headers order
2017-03-19 13:36:40 +01:00
DX37
0fc3911318 fix: Fix incorrect headers order
Because of incorrect order, qTox on Windows can't be compiled properly.

Fixes #4220
2017-03-18 19:36:50 +06:00
DX37
7c72f4e921 chore(build): don't ask for strmiids
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.
2017-03-18 19:10:06 +06:00
Zetok Zalbavar
1d82f1fe89
Merge pull request #4255
ezavod (1):
      fix: emoji packs path in user manual
2017-03-17 08:58:09 +00:00
ezavod
a3e646182a fix: emoji packs path in user manual 2017-03-16 21:06:29 +01:00
Diadlo
2923697b5c
Merge pull request #4243
noavarice (2):
      test: added tests for all types of markdown symbols in URL
      fix: URL's are not affected by markdown
2017-03-12 23:32:24 +03:00
noavarice
18c3f3a217 fix: URL's are not affected by markdown
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
2017-03-12 23:14:44 +03:00
noavarice
54ae5c006d test: added tests for all types of markdown symbols in URL 2017-03-12 23:14:44 +03:00
Zetok Zalbavar
bfd47733c2
fix(UI): actually load bundled Unicode font as soon as possible
Hopefully this fixes an issue with ugly fonts that started happening
some time ago for Windows & FreeBSD users.
2017-03-12 12:14:25 +00:00
Diadlo
d1ec8cc989
Merge pull request #4239
ezavod (1):
      fix: iterate all blocks
2017-03-12 14:53:46 +03:00
ezavod
7a5c5a86fd fix: iterate all blocks
refactor: block iteration loop

refactor: replaced checks with chop()
2017-03-12 11:20:14 +01:00
sudden6
4e548662d7
refactor(core): remove CString 2017-03-09 11:01:43 +01:00
sudden6
25c279c320
refactor(core): replace CString with ToxString 2017-03-09 11:01:43 +01:00
sudden6
1f0467bb1b
refactor(core): add new class for easy string conversion 2017-03-09 11:01:34 +01:00
sudden6
bf0e6817af
refactor: correct indentation in filetransferwidget.cpp 2017-03-08 17:49:37 +01:00
Diadlo
ec81b07bb3
refactor(friend): Remove obsolete code from Friend class 2017-03-08 15:18:40 +03:00
Diadlo
ea50eaaef7
fix(core): Ignore online connection status
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.
2017-03-08 08:55:17 +03:00
sudden6
9c482455a8
Merge pull request #4236
noavarice (3):
      refactor: further improvement of message formatting
      test: added test on URL highlighting in text messages
      fix: fixed documentation mistake
2017-03-07 15:03:52 +01:00
noavarice
e8ed7e1f53 fix: fixed documentation mistake 2017-03-07 15:34:52 +03:00
noavarice
e9fb073753 test: added test on URL highlighting in text messages 2017-03-06 11:55:54 +03:00
noavarice
3e2bfdd548 refactor: further improvement of message formatting
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
2017-03-06 11:55:54 +03:00