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

2674 Commits

Author SHA1 Message Date
sudden6
86a9c5fe26
Merge pull request #3788
Keegan Drake H.P (2):
      fix(audio): keep the data pointed to by tmpDevName in scope
      style(audio): remove redundant checks in src/audio/audio.cpp
2016-10-07 23:48:53 +02:00
sudden6
c8bde5bc45
fix(i18n): remove HTML from translations
fixes #3781
2016-10-07 23:23:33 +02:00
Keegan Drake H.P
099d7d0ac6 style(audio): remove redundant checks in src/audio/audio.cpp
This change removes an unnecessary ternary expression from both
Audio::initInput and Audio::initOutput.
2016-10-06 04:26:06 -05:00
Keegan Drake H.P
af37fa7b20 fix(audio): keep the data pointed to by tmpDevName in scope
Fix the use after free in Audio::initInput and Audio::initOutput
by storing the buffer returned by QString::toUtf8 (which contains data
pointed to by tmpDevName) in an intermediate variable, preventing the
buffer from falling out of scope for the duration of the function.

Fixes #3786
2016-10-06 02:33:58 -05:00
Zetok Zalbavar
3c9f8a68e2
style: remove unnecessary semicolon for Q_DECLARE_FLAGS
Fixes a -Wpedantic warning.
2016-10-05 12:18:09 +01:00
Zetok Zalbavar
bbdd4f044c
fix(UI): bump default emoticon size, since otherwise it can be too small
E.g. #3777
2016-10-04 10:05:47 +01:00
Zetok Zalbavar
1d4ea1ec40
fix(UI): string for option auto-accepting files
Regressed in 7fe8a86c03.
2016-10-02 09:02:06 +01:00
sudden6
29da2210c9
feat(smileys): try to load smileys from XDG_DATA_DIR directories
This provides a location where users can store custom smiley packs
2016-10-01 23:22:33 +02:00
sudden6
610e21169a
Merge pull request #3442
Jeanbon (1):
      feat(autoAnswer): add auto answer feature
2016-09-26 19:13:16 +02:00
Jeanbon
7fe8a86c03
feat(autoAnswer): add auto answer feature 2016-09-25 19:31:03 +02:00
Diadlo
7c4e9e6153
Merge pull request #3741
bitok (1):
      refactor: fixes of static analyze warnings
2016-09-25 00:57:04 +03:00
sudden6
febde259bc
Merge pull request #3738
iphydf (1):
      refactor: Avoid RTTI by using qobject_cast.
2016-09-24 12:06:41 +02:00
Zetok Zalbavar
355cd453e3
Merge pull request #3717
Diadlo (2):
      fix(text): Change idealSize calculation
      refactor(text): Add early break
2016-09-23 21:47:56 +01:00
bitok
2c03257700
refactor: fixes of static analyze warnings
There is many static analyze warnings for qTox. Fixed most dangerous and several simple.
2016-09-23 14:47:53 +01:00
iphydf
d94712b2e2
refactor: Avoid RTTI by using qobject_cast.
This allows us to save some memory and executable size by removing the
need to generate and compile C++ RTTI.
2016-09-23 03:14:58 +01:00
Diadlo
4ecbf616dc
refactor(rawdatabase): Added license text 2016-09-21 23:29:46 +03:00
Diadlo
6c9f77530e
refactor(rawdatabase): Small style refactor 2016-09-21 23:29:46 +03:00
Diadlo
85ee69f008
fix(rawdatabase): Added anonymizing SQL query in logs
Fixed #3399.
2016-09-21 23:29:46 +03:00
Diadlo
c3bf4b7085
refactor(text): Add early break 2016-09-21 14:13:38 +03:00
Diadlo
c8512fa984
fix(text): Change idealSize calculation
Ideal size of doc can not be used because in the case of using it for
boundingRect (which uses 0,0 as the upper-left corner) leads to the
clipping right side of RTL languages.

Fixed #1887.
2016-09-21 14:08:28 +03:00
Diadlo
601c53e516
Merge pull request #3714
PKEv (1):
      fix(settings): correct empty listbox audio device
2016-09-17 22:22:18 +03:00
PKEv
84a9570039 fix(settings): correct empty listbox audio device
fix incorrect checking index
fix #3709
2016-09-16 09:49:01 +03:00
Diadlo
212ab1d416
Merge pull request #3713
PKEv (1):
      fix(settings): correct default value of dateformat
2016-09-15 22:51:00 +03:00
Diadlo
6f0431ae50
fix(settings): Use old settings instead of default values
Using rollback instead of default values will save old settings
Fixed #3706.
2016-09-14 00:54:01 +03:00
PKEv
e794acbccc fix(settings): correct default value of dateformat
incorrect values of a default date format field remains empty in form
fix #3707
2016-09-13 14:35:47 +03:00
sudden6
077a844461
Merge pull request #3702
Vincas Dargis (1):
      fix(widget): do not block logout on Linux desktop environments v2
2016-09-12 12:56:25 +02:00
sudden6
c3800b937e
Merge pull request #3686
iphydf (1):
      chore: Shorten source file names in log messages.
2016-09-12 12:51:36 +02:00
Diadlo
da9366c70d
refactor: Removed HTML tags from translation
Fixed #2985.
2016-09-11 13:21:04 +03:00
Diadlo
a7ddf5ef56
refactor(profileform): Removed HTML tags from translation 2016-09-11 00:06:14 +03:00
Diadlo
2d63e441d4
refactor(about): Removed HTML tags from translation 2016-09-11 00:06:14 +03:00
Diadlo
fde9ad5356
fix(i18n): Removed extra tag from translation 2016-09-11 00:06:06 +03:00
Diadlo
4d8e704c30
Merge pull request #3691
Diadlo (1):
      fix(settings): Fixed group to load makeToxPortable setting
2016-09-10 23:43:51 +03:00
Vincas Dargis
6b00779dde fix(widget): do not block logout on Linux desktop environments v2
Revert commit 191fc15b9f to use closeEvent()
but without QEvent::ignore() which blocked logout on various Linux desktops,
and without redundant hide(). Previous fix with hideEvent() produced
regressions because hide() is used in various places, which produced closing
behavior.

Since qApp->setQuitOnLastWindowClosed(false) is used, and
Qt::WA_DeleteOnClose is *NOT* used, default closeEvent() handling is enough
for implementing close-to-systray feature.

Improves fix for #1485 and closes #3699
2016-09-10 17:39:50 +03:00
Diadlo
191fc15b9f
Merge pull request #3687
Vincas Dargis (1):
      fix(widget): do not block logout on Linux desktop environments
2016-09-06 16:12:16 +03:00
Diadlo
a3c201d3b2
fix(settings): Fixed group to load makeToxPortable setting
Fixed #3681.
2016-09-06 15:15:28 +03:00
sudden6
894b47ad77
Merge pull request #3635
iphydf (1):
      chore: Make the windows code compatible with TCHAR.
2016-09-05 22:00:37 +02:00
iphydf
e20dffab07
chore: Make the windows code compatible with TCHAR.
This adds support for multi-byte builds. Users building qTox in
multi-byte instead of unicode mode would otherwise get compiler errors.
This is one step in the direction of making qTox a library with the UI
being just one application of it: it gives library users a choice of how
they build it.
2016-09-05 20:07:17 +01:00
Vincas Dargis
7ee883bcc7 fix(widget): do not block logout on Linux desktop environments
Change closeEvent() to hideEvent() for handling main window closing.
Close event is no longer ignored, which prevented logging out from
various Linux desktop environments.

Closes #1485
2016-09-04 22:15:10 +03:00
Zetok Zalbavar
f41dbf5324
chore: add a TODO with removal date for deprecated historykeeper
Closes #3654
2016-09-04 19:03:16 +01:00
iphydf
153ebb339d
chore: Shorten source file names in log messages.
In cmake builds, `__FILE__` is the absolute file path. In qmake, it's a
relative path. For in-tree qmake builds, it would be `"src/..."`, for
out of tree, it could be `"../src/..."` or `"../qTox/src/..."` or any
other relative path depending on how qTox was built. This change
normalises them to paths based in src.
2016-09-04 18:29:30 +01:00
Diadlo
76c4cf7d39
Merge pull request #3648
Diadlo (1):
      refactor(toxdns): Removed using of toxdns
2016-09-01 23:43:46 +03:00
Nils Fenner
b7d12222ae
Merge pull request #3668
Diadlo (1):
      fix: Fixed crash on profile import
2016-08-31 11:51:25 +02:00
Diadlo
a130a60e9a
fix: Fixed crash on profile import
Fixed #3660. Removed using of GUI class in Profile Importer. Because, it
cannot be used before Nexus instance will be created. As result, it
provide crash in some cases.
2016-08-31 11:47:30 +03:00
Diadlo
4a5f89bb98
feat(reconnect): Made Reconnect button wider
After #3457 `Reconnect` button was moved on `Advanced` tab. It can be
harder to find it (#3662). So it made wider.
2016-08-28 03:32:53 +03:00
Diadlo
f197523155
fix(settingsform): Fix layout spacing 2016-08-26 16:30:22 +03:00
Diadlo
8da695e748
refactor(toxdns): Removed using of toxdns
BREAKING CHANGE: Remove ability of ToxDNS lookup.
2016-08-26 14:14:13 +03:00
Diadlo
fad6cb8e86
refactor: Fixed typo 2016-08-26 13:53:58 +03:00
Diadlo
b6f14a658f
docs(settingsform): Added docs to settings forms 2016-08-26 13:51:27 +03:00
Diadlo
db758e29c5
refactor: Remove html tags from author block 2016-08-26 13:20:12 +03:00
Diadlo
740d91b61a
fix(settings): Added loader for old settings 2016-08-26 13:20:12 +03:00