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

2781 Commits

Author SHA1 Message Date
Zetok Zalbavar
9d1275b396
fix(UI): copy friend's non-truncated status message instead of truncated
qTox still internally replaces newlines with spaces which breaks
formatting, but now at least whole status message gets copied.
2016-12-09 19:32:52 +00:00
Zetok Zalbavar
231e1d746a
fix: remove unnecessary variable when checking whether save is a TES
There is a reason why magic length is not exposed via TES header –
knowing it is not needed. Client should check whether file is a TES with
a define that is provided in the public API.
2016-12-09 04:37:25 +00:00
Zetok Zalbavar
8b67132337
feat(l10n): add Swahili translation to interface and docs 2016-12-09 02:10:17 +00:00
tux3
a7de2680d9
feat(UI): Add 'Copy link' context menu item
Fixes #927
2016-12-07 13:54:40 +01:00
Zetok Zalbavar
584b2d85f1
style: add a missing space between #include and " 2016-12-06 12:38:18 +00:00
Zetok Zalbavar
feaedeed84
feat(UI): make link to filled issue template on About page visible
Should help with no one realizing that qTox even has the functionality.
2016-12-05 20:03:21 +00:00
Nils Fenner
917812daaa
fix: Status reflection for friend calls 2016-12-01 08:55:13 +03:00
Zetok Zalbavar
7b60a5dd36
chore: explicitly mention that copyright belongs to qTox contributors 2016-11-29 11:12:06 +00:00
Zetok Zalbavar
25e9d3c46c
feat(UI): add accessibility labels to all remaining .ui files 2016-11-29 00:17:52 +00:00
Zetok Zalbavar
5267b19503
feat(l10n): add Korean translation to interface and docs 2016-11-28 22:23:41 +00:00
Diadlo
b4a9f04f92
refactor: Added to include path and exclude it from all includes 2016-11-28 23:28:42 +03:00
Zetok Zalbavar
8854589b0d
feat(UI): add accessibility labels to the add friend page 2016-11-26 20:44:22 +00:00
sudden6
330d6405f7
Merge pull request #3827
sudden6 (3):
      feat(database): use own public key as salt to encrypt the database
      feat(database): make a backup before upgrading
      refactor(database): reduce line length in some places
2016-11-24 10:50:07 +01:00
tux3
a4bda26525
fix: dataToString correctness regression
It would incorrectly prepend garbage to the output and then truncate it, regression introduced in 6c150a04c0
2016-11-23 21:38:22 +01:00
sudden6
456c4455fb
refactor(database): reduce line length in some places 2016-11-22 08:18:35 +01:00
sudden6
c1d471faa1
feat(database): make a backup before upgrading
If anything is wrong with the newly encrypted db this will save the
data.
2016-11-22 08:18:34 +01:00
sudden6
c4b9d302d0
feat(database): use own public key as salt to encrypt the database
fixes #3583

BREAKING CHANGE:
The database will be encrypted with a new key, qTox versions before this
commit won't be able to decrypt the database.
2016-11-22 08:18:30 +01:00
Zetok Zalbavar
949e3cb830
feat(UI): add accessibility labels to the Profile page 2016-11-20 11:13:55 +00:00
Diadlo
f7899d7b50
fix(UI): Changed tab order to be same with visual order 2016-11-16 23:36:52 +03:00
sudden6
355fb2ae41
fix(core): don't emit idSet signal twice 2016-11-15 12:27:16 +01:00
Diadlo
2a88e5c069
refactor(toxid): Removed Core dependency from ToxId
It's needed to make ToxId just data structure
2016-11-15 02:18:48 +03:00
Zetok Zalbavar
953fe2416a
feat(UI): add some accessibility labels to login pages
Fix #2101.
2016-11-14 20:01:48 +00:00
Diadlo
5d6445065e
refactor(core): Changed Core interface, added documentation
Implementation by @antis81
2016-11-14 16:16:59 +03:00
Diadlo
74eb06b2aa
refactor: Added emiting signal on window activation in ContentDialog 2016-11-14 14:23:42 +03:00
Diadlo
ed11a17dce
refactor(widget): Remove FriendWidget creation from Friend constructor 2016-11-14 14:23:42 +03:00
Zetok Zalbavar
2433fa9dce
feat(UI): rename Toxme registerRegister on ToxMe
Also add some Tooltips.
2016-11-13 23:47:21 +00:00
Zetok Zalbavar
a2912a376c
docs(doxygen): fix some warnings for toxcall.cpp 2016-11-13 23:14:38 +00:00
Diadlo
9fd0dd790b
fix(settings): Changed grid layout on form layout
Improves #3861
2016-11-13 12:10:19 +03:00
sudden6
8ff0d28abf
fix(chatlog): silence warning about unused parameters 2016-11-11 00:12:07 +01:00
initramfs
28c29157f8
fix(ui): prevent text style from being reset during retranslation
Fixes #3805
2016-11-09 15:47:03 -05:00
Diadlo
b522da5bed
refactor(history): Moved creaton of RawDatabase from History constuctor 2016-11-06 12:37:39 +03:00
Diadlo
0a0db25f68
style(corefile): Small style fixes 2016-11-06 12:37:39 +03:00
Diadlo
2da9de096f
refactor(drag&drop): Remove FriendWidget dependency 2016-11-05 10:20:36 +03:00
Nils Fenner
89138bb52b
refactor: fix virtual overrides 2016-11-05 10:20:36 +03:00
Zetok Zalbavar
64bbc6cfbb
style: change postfix increment to prefix increment 2016-11-03 07:57:14 +00:00
Diadlo
4c020865c6
Merge pull request #3829
Alice Weigt (1):
      fix(settings): Properly update taskbar on disconnect
2016-10-29 10:10:10 +03:00
sudden6
c8a08530b7
Merge pull request #3834
Alice Weigt (1):
      refactor: Use new getSound function
2016-10-27 19:56:38 +02:00
sudden6
6ed8235298
Merge pull request #3833
Alice Weigt (1):
      fix(audio): Clear audio buffer when ending audio loop
2016-10-27 19:54:28 +02:00
Zetok Zalbavar
52ae7093f7
feat(l10n): add Slovak translation to interface and docs 2016-10-26 13:02:00 +01:00
Alice Weigt
244d1dc386 fix(audio): Clear audio buffer when ending audio loop 2016-10-26 02:20:50 -07:00
Alice Weigt
3c310f4aa6 refactor: Use new getSound function 2016-10-26 02:17:08 -07:00
initramfs
775b6a325b
fix(chatform): remove std::dynamic_pointer_cast in favor of static cast
With the removal of RTTI such a cast can cause compile failures as not
all compilers automatically convert dynamic casts to static casts at
compile time.

Fixes #3801
2016-10-25 05:59:00 -04:00
Alice Weigt
6e165ceb47 fix(settings): Properly update taskbar on disconnect
Fixes: #3795
2016-10-24 22:47:39 -07:00
Zetok Zalbavar
2d472004cd
feat: bump font size from undersized
Fix #2280.
2016-10-14 16:20:43 +01:00
Alice Weigt
22b89beaf1 fix(settings): Change test sound button to checkbox
Fixes #3800 & #3809
2016-10-12 03:49:03 -07:00
Diadlo
c600609f9f
Merge pull request #3756
Alice Weigt (1):
      feat(settings): Export and copy debug log
2016-10-09 15:05:34 +03:00
Diadlo
d674722118
Merge pull request #3755
Alice Weigt (1):
      fix(settings): Play test sound when user enables test sound
2016-10-09 14:55:45 +03:00
Alice Weigt
9b46cf6404 fix(settings): Play test sound when user enables test sound
Fixes #3735
2016-10-09 04:37:15 -07:00
Alice Weigt
3c6bd043a0 feat(settings): Export and copy debug log
Fixes #2890
2016-10-09 04:20:57 -07:00
Diadlo
15181c431a
fix(avform): Fixed empty value in audio and video lists 2016-10-09 00:51:33 +03:00
Diadlo
f5f7b5abba
fix(i18n): Remove HTML tags from translation 2016-10-09 00:32:24 +03:00
Diadlo
13baf9326d
fix(uiform): Added format constraints 2016-10-08 01:01:06 +03:00
Diadlo
d909d99bd2
feat(uiform): Separated time and date format and examples 2016-10-08 01:01:06 +03:00
agilob
661388d731
fix(timeformat): Remove duplicate of timeformat 2016-10-08 01:01:06 +03:00
agilob
d6f323cefc
fix(timeformat): Make timestamp editable same as date format 2016-10-08 01:01:06 +03:00
Nils Fenner
35e7da85d3
fix(timeformat): Fixed list of available time formats 2016-10-08 01:01:06 +03:00
Nils Fenner
b3083250ff
feat(dateformat): Edit the date format string
The edited date format string is saved in the qTox settings.
It is overwritten by selecting one of the default date format strings.
2016-10-08 01:01:06 +03:00
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