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

2005 Commits

Author SHA1 Message Date
TheNain38
59e8755637 Dynamic translation of call, video, mute, unmute 2015-10-03 17:41:46 +02:00
Nils Fenner
cfe6462fef
Merge pull request #2324 from antis81:ngf/fix/screen-grabber 2015-10-03 10:22:04 +02:00
Nils Fenner
84a8e2789b
fix position of tooltip in screen grabber
The tooltip is shown centred at top of the screen which currently contains the mouse cursor.
2015-10-03 10:03:14 +02:00
Nils Fenner
80fa36e134
Merge pull request #2323 from dmshynk:fix_memory_leaks 2015-10-01 22:25:07 +02:00
Dmytro Shynkevych
7b1b4655a5 systemtrayicon: image is now stack-allocated 2015-09-30 18:00:25 -04:00
Dmytro Shynkevych
fc41cded7f statusnotifier: fixed a memory leak in get_prop()
Replaced get_builder_for_icon_pixmap() with get_icon_pixmap()
returning a plain GVariant. Refactored all usages.
2015-09-29 23:17:47 -04:00
agilob
9cafb31eca
Merge remote-tracking branch 'antis81/ngf/fix/screen-grabber' 2015-09-29 19:36:36 +01:00
agilob
d65f54cc81
Merge remote-tracking branch 'PKEv/add_mail_link_support' 2015-09-29 19:07:10 +01:00
PKEv
b9a9b3f6c5 add 150ms for hiding & restoring window
fix #2290
2015-09-29 20:39:32 +03:00
PKev
381e291dac add mail link support
fix #2318
2015-09-29 15:33:26 +03:00
PKEv
bd77a38e5d Fix dir to user profile
fix #2183 (for portable mode)
2015-09-29 10:46:23 +03:00
TheNain38
32948fb5c4 Add dynamic translation to db write type 2015-09-28 23:26:47 +02:00
TheNain38
af472550a4 Better translations with plural and fix something not being translated dynamically 2015-09-28 07:36:24 +02:00
Dmytro Shynkevych
d548b51e1d systemtrayicon: fixed minor memory leak 2015-09-27 23:19:21 -04:00
Dmytro Shynkevych
0de6600c94 contentlayout: items are now properly deallocated on clear 2015-09-27 22:20:16 -04:00
Dmytro Shynkevych
f288be72d9 genericchatroomwidget: fixed memory leak if compact view enabled 2015-09-27 21:06:27 -04:00
tux3
e1509a9f03
Further cleanup Widget::retranslateUi 2015-09-28 00:05:42 +02:00
Nils Fenner
fde63f1592
fix screenshot grabber for windows 2015-09-27 23:57:01 +02:00
tux3
14235c5a19
Refactor code duplication in Widget::retranslateUi 2015-09-27 23:52:10 +02:00
tux3
c0e2b91fe8
Fix #2310 caused by #2309 2015-09-27 23:45:02 +02:00
agilob
865b1a915c
Merge remote-tracking branch 'thenain38/url' 2015-09-27 20:48:41 +01:00
TheNain38
879c396efc Added dynamic translation to status and username 2015-09-27 21:36:17 +02:00
TheNain38
c6c3150803 Display correclty what the user write and open correctly link with 'http://' 2015-09-27 13:58:18 +02:00
Nils Fenner
dd9f0763b7
fix inheritance of ScreenShotGrabber 2015-09-25 21:47:49 +02:00
Nils Fenner
04219e8c1d
fix positioning of screen grabber window 2015-09-25 21:44:54 +02:00
Impyy
c49ce6208e Load user status from data file 2015-09-25 20:56:11 +02:00
agilob
3ceb289020
Merge remote-tracking branch 'PKEv/QRegExp_for_local_file' 2015-09-25 18:46:37 +01:00
Nils Fenner
7b2610e4fb
resize screen grabber window to pixmap size 2015-09-25 14:25:14 +02:00
Zetok Zalbavar
b2b50c26ce
Fix audio not working on 64-bit windows with non-latin audio device names
properly fixes #816
2015-09-25 08:14:19 +01:00
PKev
f476b752d1 Added support for local links in messages and correct detect links like "www.123.com" 2015-09-25 01:20:20 +03:00
agilob
45db1dff91
Merge remote-tracking branch 'antis81/ngf/fix/multi-window-buttons' 2015-09-24 19:23:04 +01:00
agilob
dabb346c3a
Merge remote-tracking branch 'PKEv/correct_remove_profile' 2015-09-24 19:06:34 +01:00
Nils Fenner
cf9ed8d580
fix screen grabbing for screenshots 2015-09-24 16:44:07 +02:00
PKEv
ae9b29cfae correct remove profile
fix #2284
2015-09-24 02:00:22 +03:00
Impyy
25ff57ad23 Make the cancel button the default button 2015-09-23 20:04:13 +02:00
Impyy
91e51f8a10 Changed the buttons back to 'Cancel' and 'Remove' 2015-09-23 18:10:55 +02:00
Impyy
3d72a75ed3 Made the 'remove friend dialog' userfriendly 2015-09-23 17:06:57 +02:00
Nils Fenner
41500f2134
fix window buttons in "multi-window" mode 2015-09-23 11:57:50 +02:00
PKev
a14d917703 correct screenshot tooltip
fix #2267
2015-09-22 12:51:46 +03:00
agilob
a53f6f2adf
Merge remote-tracking branch 'PKEv/restor_window_after_screenshot' 2015-09-19 23:03:26 +01:00
agilob
a09d448ec4
Merge remote-tracking branch 'zetok/login' 2015-09-19 01:03:38 +01:00
PKev
9484488c31 restore window after screenshot 2015-09-18 22:45:58 +03:00
Zetok Zalbavar
6998c2c757
Make 'None' and 'Desktop' camera device names translatable
fixes #2252
2015-09-18 19:12:10 +01:00
TheNain38
6c526fe5fe More consistent translation strings in groupchatform.cpp
It should not be able to be translated differently as one update when the number of user in the group chat change and the other is when language change, so it should be translated together.
2015-09-18 19:10:37 +02:00
Zetok Zalbavar
35a15f119e
Reword login window: "Login" → "Load Profile"
thanks to @LittleVulpix suggestion

fixes #1898
2015-09-18 08:07:58 +01:00
aaannndddyyy
9269b0f967 rename two options 2015-09-17 18:25:23 +00:00
tux3
21ab9088b3
Remove broken 'Copy friend ID' feature 2015-09-15 17:58:46 +02:00
tux3
54fc35e714
Fix group name changes not displaying 2015-09-14 20:25:16 +02:00
tux3
6229e045f2
Merge branch 'pr2223'
Fixes #659
2015-09-14 19:51:10 +02:00
tux3
cf5fb0397a Remove 'Open Chat' menu action
Apparently, nobody uses it
2015-09-14 19:31:03 +02:00
PKEv
564b32eb7c save alias 2015-09-14 20:10:35 +03:00
agilob
346c2c64db
Merge remote-tracking branch 'zetok/wording' 2015-09-13 22:59:50 +01:00
agilob
8058d85f75
Merge remote-tracking branch 'zetok/wording2' 2015-09-13 22:59:14 +01:00
agilob
78a07dc5d9
Merge remote-tracking branch 'antis81/ngf/fix/virt-overloads' 2015-09-13 22:57:27 +01:00
Nils Fenner
fa6bd18ad7
fix virtual overrides 2015-09-13 23:20:54 +02:00
Nils Fenner
d14e93ef91
fix faulty parented QFileDialog
closes issue #2205
2015-09-13 23:09:21 +02:00
tux3
1f81e1f066 Don't reload content dialog if nothing changed
Should fix the zetok's Resizing problem in #1938
2015-09-12 19:07:45 +02:00
TheSpiritXIII
d0e682214b Multi-window: Fix blinking tray icon regression 2015-09-12 19:07:45 +02:00
TheSpiritXIII
16ebb7f3a9 Multi-window: Unminimize requested window 2015-09-12 19:07:45 +02:00
TheSpiritXIII
280737fda8 Multi-window: Fix group chat event flag regression 2015-09-12 19:07:45 +02:00
TheSpiritXIII
828dbf436f Multi-window: Fix compile for non-OS X 2015-09-12 19:07:45 +02:00
TheSpiritXIII
97bdaa5e5f Multi-window: OS X window list, fix OS X translations 2015-09-12 19:07:45 +02:00
TheSpiritXIII
23e7f9326e Multi-window: Fix open group in separate window when already open 2015-09-12 19:07:45 +02:00
TheSpiritXIII
ee627afc87 Multi-window: Fix buttons staying pressed while in separate window mode, make dialogs alert, fix group chat event flags 2015-09-12 19:07:45 +02:00
TheSpiritXIII
4e5c4cb678 Multi-window: Fix circle modified from dialog window, fix groupchat leave warnings, flip dialog window title 2015-09-12 19:07:45 +02:00
TheSpiritXIII
aa9a10fa8b Multiwindow: Fix segfault on quiting groups, remove dead code 2015-09-12 19:07:45 +02:00
TheSpiritXIII
1109e0347e Multi-window: Fix segfault for removing last friend on window friend list 2015-09-12 19:07:45 +02:00
TheSpiritXIII
f825985856 Multi-window: Translate all dialogs correctly, don't allow remove friend on dialogs 2015-09-12 19:07:44 +02:00
TheSpiritXIII
6a5fb9f518 Multi-window: Dispaly own username on detached windows, fix log out while having detached windows 2015-09-12 19:07:44 +02:00
TheSpiritXIII
29c72549a2 Multi-window: Fix segfault on removing groups and friends who are also in active windows 2015-09-12 19:07:44 +02:00
TheSpiritXIII
c5317c6137 Multi-window: Fix dialog null states/geometry 2015-09-12 19:07:44 +02:00
TheSpiritXIII
868099d484 Multi-window: Normalize window size on separate change, notification separate fix, segfault groupchat fix 2015-09-12 19:07:44 +02:00
TheSpiritXIII
014ba45ebb Multi-window: Keep window size, fix segfault, circle integration, changed defaults 2015-09-12 19:07:44 +02:00
TheSpiritXIII
c181df6336 Multi-window: Cycle widgets in opened windows 2015-09-12 19:07:44 +02:00
TheSpiritXIII
730626fc2c Multi-window: Sort window chat list, fix group window bugs 2015-09-12 19:07:44 +02:00
TheSpiritXIII
9867e3b4c5 Multi-window: Allow opening new window when already open, fix drop when already open 2015-09-12 19:07:44 +02:00
TheSpiritXIII
7bcf654c72 Multi-window: Add drag/drop friends to windows, fix call confirm widget 2015-09-12 19:07:44 +02:00
TheSpiritXIII
c684d31d02 Multi-window: Alert window storing chat, add group widgets, update statuses and avatars 2015-09-12 19:07:44 +02:00
TheSpiritXIII
fa3ab02cec Multi-window: Tabbed interface 2015-09-12 19:07:44 +02:00
TheSpiritXIII
22fcc3f7a0 Multi-window capabilities for all chats and menus 2015-09-12 19:07:44 +02:00
Zetok Zalbavar
ccc2dd2ad9
More visually appealing wording for DB writing mode 2015-09-10 16:08:30 +01:00
Zetok Zalbavar
7449e0efcd
Change wording "tox{1,3}" → "toxdns{1,3}"
Should help avoid confusion about security of Tox protocol.
2015-09-10 13:09:01 +01:00
Zetok Zalbavar
2409827582
Merge pull request #2192 from ovalseven8:patch-5
Replace char in file
2015-09-08 14:27:52 +01:00
ovalseven8
2a8354a52e Replace char in file
- Qt Linguist had problems with it
- Additionally, improved readability
2015-09-08 15:14:00 +02:00
aaannndddyyy
4fb4ba7617 correct a typo 2015-09-07 20:50:41 +00:00
tux3
5f16c5c1da
Don't save settings a billion times on startup 2015-09-06 00:17:41 +02:00
tux3
8fbc0c8b59
Remove some debug output fluff 2015-09-06 00:11:47 +02:00
tux3
b14bc68702
Merge branch 'pr2172' 2015-09-05 20:36:32 +02:00
tux3
0596210099
Merge branch 'pr2150' 2015-09-05 19:30:47 +02:00
tux3
54c837a03e
Fix portable mode settings loading
Fixes partially #1883, avatars still don't carry over.
2015-09-05 19:20:18 +02:00
Zetok Zalbavar
7796421f73
Improve wording of login page: "Create Account" → "Create Profile"
This should improve situation with misunderstandings, and add more
consistency.
2015-09-04 14:03:24 +01:00
Zetok Zalbavar
6f032cca53
Show toxcore version
Even though currently it's listed as 0.0.0, it sill should be shown.

Closes #2086
2015-09-04 12:11:41 +01:00
agilob
12e8d07a97
revert change history to -7 2015-09-03 17:58:23 +01:00
agilob
31c44b9db0
Merge branch 'master' of github.com:tux3/qTox into default_dir_for_saving 2015-09-03 17:57:23 +01:00
tux3
05fece4fab
Remove unused clearAllLocks function 2015-09-03 17:25:09 +02:00
tux3
30c8980d1b
Profile locks are only stale if orphaned
Locks used to become stale after 30s of use, they now only become stale if their parent process dies.
2015-09-03 17:24:33 +02:00
tux3
dde68625ad
Merge branch 'pr2014' 2015-09-03 17:19:13 +02:00
agilob
602143068c
fix opening directory/file in file transfer widger 2015-08-31 13:59:39 +01:00
agilob
8db085c2c0
change logging, typing notification and compact layout to enabled 2015-08-31 11:47:09 +01:00
Zetok Zalbavar
06611d618e
Revert changes from merge of #2092 pull request
That pull request made qTox crash in a number of ways, with no quick fix
available.

Hopefully there will be a way to fix crash, so that this commit could be
reverted, and fix applied.
2015-08-30 21:28:53 +01:00
agilob
db5903c2fe
set one global initial file accept directory for all file transfers 2015-08-30 20:36:39 +01:00
ProMcTagonist
6092a7e8a6 matchy tooltips no linedowns 2015-08-30 12:16:50 -07:00
ProMcTagonist
328726a1cb Compress string 2015-08-30 11:50:01 -07:00
ProMcTagonist
54e4c3c1f8 Fix confusing statement
it sounds like you can press enter to make a new selection
2015-08-30 11:37:21 -07:00
PKEv
44f0ef2043 add Ability to unhide qTox window in screenshot mode
fix #2139
fix #2127
2015-08-30 20:44:33 +03:00
agilob
d6b176d955
Merge remote-tracking branch 'TheSpirit/requests'
merge awaiting friend requests, fix formatting conflict
2015-08-30 14:25:46 +01:00
agilob
582db9cb5b
fix uri detection, puts dots between toxcore versions 2015-08-29 23:28:21 +01:00
agilob
d6a0910fc8
fix uri parsing and tox URI detection, closes #2118 2015-08-29 23:26:05 +01:00
agilob
126ca6337c
hide toxcore version 2015-08-29 22:51:01 +01:00
agilob
0a5d847cf5
better, more flexible about page, versions section 2015-08-29 22:50:21 +01:00
agilob
7b3ddff202
Merge remote-tracking branch 'zetok/settings' 2015-08-28 19:27:10 +01:00
Evstifeev Roman
507c8b9a9d White text on white bg on login screen is invisible
When used dark Qt theme, text color should be set explicitly for explicitly white background.
2015-08-28 20:23:54 +03:00
Zetok Zalbavar
9561660104
Simplyfy advanced settings - DB setting
thanks to @AWeinb for idea, fixes #1514
2015-08-28 11:33:53 +01:00
ovalseven8
67193c9d8a Update generalsettings.ui
to avoid misunderstandings
2015-08-27 13:11:13 +02:00
agilob
b02cf2dbc7
Merge remote-tracking branch 'PKEv/fix_#1977_no_link_if_no_GIT_VERSION'
no link if no GIT_VERSION
2015-08-26 19:53:11 +01:00
agilob
5438099359
Merge remote-tracking branch 'PKEv/exp_func_screenshot'
ability to hide the window during a screenshot (by pressing spacebar)
2015-08-26 19:50:40 +01:00
agilob
78f3044317
Merge remote-tracking branch 'zetok/profile'
Fix 2 minor issues introduced by #1989
2015-08-26 19:45:11 +01:00
Impyy
4fdff0cfde Added toxme.io to the pinned servers list 2015-08-25 13:41:17 +02:00
Zetok Zalbavar
32f9cfccf2
Fix 2 minor issues introduced by #1989
* Add space between ":" and name of profile file
* Fix opening location of profile on UNIX-like
2015-08-24 18:21:37 +01:00
agilob
030a72f561
Merge remote-tracking branch 'PKEv/del_chat_history'
add ability to delete chat history when disabling chat logging
2015-08-24 12:30:40 +01:00
agilob
796e1e04aa
Merge remote-tracking branch 'Impyy/tox3-fix'
fallback to _tox.name lookup
2015-08-24 12:14:03 +01:00
agilob
3b6d245f61 Merge remote-tracking branch 'PKEv/add_profileFileName_in_profilePage'
fix #1951
2015-08-24 12:13:05 +01:00
agilob
a4a52f9cc9
Merge remote-tracking branch 'rku/contact-removal-dialog' 2015-08-24 11:26:37 +01:00
PKEv
7f29940625 fix #2103
ability to hide the window during a screenshot
2015-08-24 01:10:31 +03:00
PKEv
86610f3d7a fix #2089 (copy QR image) 2015-08-23 18:41:49 +03:00
ovalseven8
ba9e89f2ea Update generalsettings.ui
Remove useless HTML.
2015-08-22 17:59:08 +02:00
rku
74d98fd0c2 This dialog solves all confusion that arose from current verification method and is accident-proof. Current method asks if
user also wants to remove chat history. However confused user may not carefully read message and click "no" because he does
not want to remve contact. However in this case contact is in fact removed but history is preserved. It is also open to
possiblity that key smashing deletes contact by accident. This is very inconvenient because tox ids are long and hard to
memorize. If someone removes contact by accident then he would need to find id of that contact in order to contact him/her.
Sometimes this may be difficult.

New contact removal confirmation dialog prompts use to enter "YES" in the text boxin order to enable "OK" button so removal
can be accepted. It also has checkbox for history removal. Dialog will work with translations. Russian user would need to
enter "Да" in order to accept removal.
2015-08-22 12:17:04 +03:00
PKEv
31f2a39efe Correct strings 2015-08-21 23:26:14 +03:00
TheSpiritXIII
d21a6d29de Fix request translations and make group button stay down 2015-08-21 12:36:59 -04:00
TheSpiritXIII
2043908e15 Remove dialog for group invites 2015-08-21 10:32:00 -04:00
TheSpiritXIII
997418a9de Store friend requests 2015-08-20 17:58:03 -04:00
Nils Fenner
19278f76c1 Merge pull request #2052 from agilob/1973
Disables maximize button on login window
2015-08-20 23:46:44 +02:00
agilob
6afde9437c
make sure to zero window flag for login window 2015-08-20 22:27:13 +01:00
Zetok Zalbavar
aed6c25fda
Merge pull request #2078 from mvystrcil:master
Added czech translation
2015-08-20 22:14:21 +01:00
agilob
af400ee71c Merge pull request #2041 from zetok/wording
Better wording for accepting / rejecting avatars
2015-08-20 22:00:28 +01:00
agilob
eea7fd1c63 Merge pull request #2045 from TheSpiritXIII/recent
Fix friend list when day changes
2015-08-20 21:59:19 +01:00
TheSpiritXIII
7f5a95a599 Video: Cleanup 2015-08-19 19:13:45 -04:00
TheSpiritXIII
7886fdcb69 Video: resizable group avatar, synchronize avatar 2015-08-19 12:42:54 -04:00
TheSpiritXIII
50041a3140 Video: Initial video when call starts 2015-08-18 17:44:34 -04:00
TheSpiritXIII
814bd922ca Video: Group audio view avatars 2015-08-18 13:40:11 -04:00
Zetok Zalbavar
ff4ebe6bfe
Fix compiling qTox against static Qt 5.5 2015-08-17 00:40:26 +01:00
Martin Vystcil
e89213e01d Added czech translation 2015-08-16 13:10:09 +02:00
TheSpiritXIII
1522d3848c Video: Show avatar, clean ups 2015-08-13 09:31:15 -04:00
TheSpiritXIII
9d12c295be Keep aspect ratio of inner video 2015-08-11 14:01:49 -04:00
agilob
d0d9951eb3 closes #1973 2015-08-03 21:14:29 +01:00
Impyy
b1744ab023 Fixed issue #2048 2015-08-03 16:09:19 +02:00
TheSpiritXIII
e574af7a5e Fix friend list when day changes 2015-07-30 13:24:34 -04:00
Zetok Zalbavar
2088c26028
Better wording for accepting / rejecting avatars 2015-07-28 11:11:58 +01:00
tux3
74b771373d
Merge branch 'pr1953' 2015-07-22 23:33:21 +02:00
TheSpiritXIII
cd90d8d34b Video: Add collapse/expand button, expand all the way, better self video output location 2015-07-22 14:50:39 -04:00
TheSpiritXIII
4c493b85a0 Video: View self video during video call 2015-07-21 14:38:43 -04:00
PKEv
8b524e54e2 fix #1977 not link if no GIT_VERSION 2015-07-21 01:03:56 +03:00
TheSpiritXIII
1b10672179 Video: Embed video into chat 2015-07-20 17:57:46 -04:00
Drew DeVault
051f42135d Add sr.ht key 2015-07-19 19:53:02 -04:00
Spagy
00efbf9e79 Remove call to ProfileLocker::clearAllLocks()
The call to ProfileLocker::clearAllLocks() was unnecessary and could remove locks from other programs
2015-07-17 15:49:15 +01:00
TheSpiritXIII
b9882c3680 OSX: Remove dead code and make Widget own all their actions 2015-07-17 08:20:47 -04:00
Yuri
0895b89794 Prevent crashed when default video format not found. 2015-07-15 01:46:23 -07:00
tux3
49f7a02cbb
Merge branch 'pr1996' 2015-07-15 03:05:49 +02:00
Jookia
7fab49d665 core: TOX_ERR_NEW_LOAD_BAD_FORMAT is non-fatal.
This fixes errors from save migrations between versions and architectures.
2015-07-12 23:58:40 +10:00
PKev
3b614a17f7 Added indication of the profile folder on the profile page 2015-07-10 14:42:14 +03:00
PKev
0056270710 Add profile file name in profile page
fix #1951
2015-07-10 10:55:51 +03:00
TheSpiritXIII
49071baac7 OSX usable menu bar on login screen 2015-07-09 08:43:19 -04:00
agilob
aa05d71f4b connect signal-slot in profileform 2015-07-09 13:06:23 +01:00
TheSpiritXIII
7bb56bcda9 OSX main menu bar 2015-07-08 14:14:25 -04:00
PKEv
c2b246409f add max size of emoji
fix #1691
max size is calculated  from the possibility of fully display the selection window of emoji and value Qt::AA_UseHighDpiPixmaps.
2015-07-02 21:41:14 +03:00
TheSpiritXIII
bb29b07d70 Fix activity sorting out of bounds, update activity category when changed 2015-07-01 09:10:55 -04:00
PKEv
cd307bd52c Update friendlistwidget.cpp 2015-07-01 14:54:34 +03:00
PKev
efe05a3ca5 fix sorting "by activity" #1948
fix spaces
2015-07-01 14:07:34 +03:00
PKev
4682814442 fix the names in the history
fix #1943 #1787
2015-06-30 16:56:38 +03:00
Daniel Hrabovcak
cd5294c055 Fix OS X compile, change instructions to use brew 2015-06-29 10:31:00 -04:00
tux3
8d1a3b7357
Sleep while waiting for IPC events 2015-06-29 11:39:19 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
3e8fe2db6c
Fix video not loading when A/V tab shown 2015-06-29 11:10:50 +02:00
PKEv
e958f99609 Add way to delete whole history #1871 2015-06-29 00:01:49 +03:00
tux3
4f0a517531
Merge branch 'pr1914' 2015-06-28 18:23:50 +02:00
PKev
6069036324 translate to russian "contacts groups" 2015-06-28 19:15:09 +03:00
tux3
62d298462b
Fix circles doubling when reloaded
We do need to clear before reloading.
2015-06-27 21:32:11 +02:00
tux3
645b1e5566
Fix raciness of encryption API
And make it saner by not having one global password that has to be set before encrypting/decrypting, which is as racy and poorly designed as it gets

Fixes #1917 's immediate symtoms, which some potential for other regressions due to the mess that is encrypted persistence currently
2015-06-27 21:14:35 +02:00
tux3
636faac4db
Fix #1919 2015-06-27 19:27:01 +02:00
tux3
9e55c77849
Better freeing of CameraSource 2015-06-26 19:04:53 +02:00
tux3
2ab55568f2
Make the video code a singleton, fix multithreading bugs
There can now only be one CameraSource running.

Video frames are decoded in their own thread, and then converted by users in the user's threads.
The CameraSource API is entirely thread-safe and controls the video decoding thread.

The video device only stays open as long as there are users subscribed to the CameraSource.

We use a dangerous combination of spinlocks and memory fences to keep things synchronized.
2015-06-26 18:34:48 +02:00
tux3
5e4abcb775
Refactor a strange return-early condition 2015-06-26 14:15:27 +02:00
tux3
79d335ff4c
Merge branch 'pr1890' 2015-06-26 14:13:03 +02:00
TheSpiritXIII
d2c0301103 Circles: Fix circle color on theme change, remove debugging stuff
Conflicts:
	res.qrc
2015-06-26 13:38:51 +02:00
TheSpiritXIII
b6df8ce34a Circles: Fix sort circles on menus, fix groupchat rename through widget, improve activity sort performance 2015-06-26 10:54:50 +02:00
TheSpiritXIII
484a9ea87e Circles: Fix crash when creating in category where it's not visible 2015-06-26 10:54:50 +02:00
TheSpiritXIII
7f7ab9a1bc Circles: Fix quick switch crash, remove circle crash 2015-06-26 10:54:50 +02:00
TheSpiritXIII
5c80d06ee9 Circles: Add while searching 2015-06-26 10:54:49 +02:00
TheSpiritXIII
8357095d8a Circles: Sort numbers at end, too 2015-06-26 10:54:49 +02:00
TheSpiritXIII
79424de10a Circles: Use history for activity, fix search 2015-06-26 10:54:49 +02:00
TheSpiritXIII
d9d6f20bf7 Circles: Fix convention, crash and activity cycling 2015-06-26 10:54:49 +02:00
TheSpiritXIII
858b005567 Circles: Fix memory leaks and extraneous saving 2015-06-26 10:54:49 +02:00
TheSpiritXIII
9dd277623a Fix circles: Fix rename on creation and graphical bug 2015-06-26 10:54:49 +02:00
TheSpiritXIII
c662c0aa92 Update activity on friendship, fix category friend removing (circles and activity) 2015-06-26 10:54:49 +02:00
TheSpiritXIII
e233d7d1c6 Allow circles to be created while sorted by activity 2015-06-26 10:54:49 +02:00
TheSpiritXIII
4ee38e7c69 Update activity on AV and files 2015-06-26 10:54:49 +02:00
TheSpiritXIII
ecdf863c02 Recent list selectable from drop list, bug fixes 2015-06-26 10:54:49 +02:00
TheSpiritXIII
c24a508c38 Switch between recent and alphabetical layouts 2015-06-26 10:54:49 +02:00
TheSpiritXIII
15f10c2f34 Recent list (right click empty list to test) 2015-06-26 10:54:49 +02:00
TheSpiritXIII
62873e9d71 Fix circle related rebase bugs 2015-06-26 10:54:49 +02:00
tux3
3a30a038ef Fix color of circle names 2015-06-26 10:54:49 +02:00
tux3
33a33ef051 Rebase on master 2015-06-26 10:54:49 +02:00
TheSpiritXIII
cc9edf6f90 Minor code cleanup for circles and related 2015-06-26 10:54:00 +02:00
TheSpiritXIII
8e796a1d8b Update renamed friends and groups during search 2015-06-26 10:54:00 +02:00
TheSpiritXIII
167a8971ec Search optimizations and bug fixes, rename focus fix 2015-06-26 10:54:00 +02:00
TheSpiritXIII
ac2263b3e8 Save circle settings after each modification 2015-06-26 10:54:00 +02:00
TheSpiritXIII
38fa6fc291 Fix sorting and cycling bugs for circles 2015-06-26 10:54:00 +02:00
TheSpiritXIII
0d4ca979bc Fix right click friend in circle 2015-06-26 10:54:00 +02:00
TheSpiritXIII
2c7f3de346 Fix circle error? 2015-06-26 10:54:00 +02:00
TheSpiritXIII
24f75a6b43 Don't show empty circles while searching 2015-06-26 10:54:00 +02:00
TheSpiritXIII
d4acf29fc0 Fix circle settings crash regression 2015-06-26 10:54:00 +02:00
Daniel Hrabovcak
334bc1ab17 Fix friend widget right click crash 2015-06-26 10:54:00 +02:00
Daniel Hrabovcak
e0b9e81938 Minor circle widget base class cleanup 2015-06-26 10:54:00 +02:00
Daniel Hrabovcak
715ef0ce65 Store circle widgets, fixed related bugs 2015-06-26 10:54:00 +02:00
Daniel Hrabovcak
10c7a745c5 Fix circle white box glitch, circle cycling 2015-06-26 10:54:00 +02:00
Daniel Hrabovcak
00022355e8 Fixed circle compact mode and sort bugs, inline text editing stylesheet 2015-06-26 10:53:59 +02:00
Daniel Hrabovcak
a0b312dd97 Fixed group and circle illegal chars, inline renaming for friend list widgets, sort circles alphabetically 2015-06-26 10:53:59 +02:00
Daniel Hrabovcak
27237e6164 Compact settings and minor circle widget cleanup 2015-06-26 10:53:01 +02:00
Daniel Hrabovcak
8f02d6c14c Circle context menus 2015-06-26 10:53:01 +02:00
Daniel Hrabovcak
ff37812a53 Contact grouping deleting and renaming 2015-06-26 10:53:01 +02:00
Daniel Hrabovcak
1e2bad8611 Update status on contact groupings 2015-06-26 10:53:01 +02:00
Daniel Hrabovcak
682feb7a58 Search within contact groupings 2015-06-26 10:53:01 +02:00
Daniel Hrabovcak
3fc9dd1070 Fixed sorting within contact groups 2015-06-26 10:53:01 +02:00
Daniel Hrabovcak
631148cdae Basic contact grouping 2015-06-26 10:51:04 +02:00
tux3
c9bfba89c8
Merge branch 'pr1874' 2015-06-24 21:24:51 +02:00
tux3
a2cf456f1d
Merge branch 'pr1843' 2015-06-24 21:23:48 +02:00
Сухарик
f75870d9dc fix qt 5.6 build 2015-06-23 17:00:24 +03:00
Zetok Zalbavar
81cfe6aa9c
Remove outdated and unmaintained mannol and Pirate translations 2015-06-22 17:28:19 +01:00
tux3
9c87d5ed2e
Add 'None' video device
Fixes #1825
2015-06-22 14:59:55 +02:00
tux3
a5d0acaf53
Merge branch 'pr1895' 2015-06-22 13:59:29 +02:00
David Zero
ed1010ab0a Fixed commit hash translation issue
The commit hash is now correctly displayed after switching languages
2015-06-22 01:03:38 -07:00
David Zero
369cbc3258 Updated link to bug report guidelines
The link now points to the "Writing Useful Bug Reports" article on our
wiki
2015-06-20 23:29:52 -07:00
agilob
53b90d085e fix issues with global autoaccept 2015-06-20 13:16:54 +01:00
tux3
1b21f12e25
Merge branch 'pr1889' 2015-06-20 14:13:32 +02:00
agilob
cc0c929ab9 removed unused settings attributes
closes tux3/qTox #628
2015-06-20 12:50:56 +01:00
David Zero
be1efb9e65 Added a proper About page. Closes #1668
The license text was removed from the Advanced section of the settings
menu and placed into its own About section. Users can now also discover
the commit hash of the build they are running through the UI, instead of
having to comb through logs, or use git.
2015-06-20 03:59:46 -07:00
Zetok Zalbavar
c1d7092f9d
Improve explanations about Nospam
Improvemetns thanks to "BIG DESU" and @tsudoko
2015-06-20 01:51:37 +01:00
TheSpiritXIII
98eccd4d73 Notifications Edge: Fix Valgrind invalid read 2015-06-17 08:56:40 -04:00
PKEv
4e1b3b3471 Add friend name in removal dialog(fix #1860) 2015-06-16 01:10:45 +03:00
Yuri
00a40f10b5 Added missing include <errno.h> 2015-06-14 20:35:17 -07:00
tux3
ce2c8309a2
Merge branch 'pr1846' 2015-06-12 12:53:59 +02:00
TheSpiritXIII
80ea94bcd3 Plurilization capabilities for notification messages 2015-06-10 13:20:52 -04:00
TheSpiritXIII
7e451cc23e Don't track active chatrooms for notifications 2015-06-10 13:20:52 -04:00
TheSpiritXIII
df630da726 Fix notification edge bound checking 2015-06-10 13:20:52 -04:00
TheSpiritXIII
b83b5dbe59 Show edge markers for notifications
Add margin for edge notification marker

Fix conventions

Make AdjustingScrollArea not final
2015-06-10 13:20:52 -04:00
tux3
0267e2654a
Fix SettingsSerializer not resetting after load
After loading SettingsSerializer would keep the last group/array as current, so setting new values before the next beginGroup/beginWriteArray would be added to this group/array wrongly

This has zero inpact on qTox since we don't load before saving
2015-06-10 15:15:46 +02:00
PKEv
e403e740fa Correct strange names is groups #1764 2015-06-10 00:26:08 +03:00
tux3
f0f2776050
Fix #1841
This sounds like a bug in GCC, let's try a workaround with parens.
2015-06-09 01:51:44 +02:00
tux3
bfd3086ca6
Fix #1840 2015-06-09 01:45:30 +02:00
tux3
4eab3dcbb8
Fix #1837
Fix #1839
2015-06-08 21:31:40 +02:00
tux3
36fcb5cb62
Add final/override specifiers
We get more compile time checking, and it's always good for performance to help the compiler
2015-06-08 20:08:24 +02:00
tux3
aeb9a7f62f
Fix some warnings 2015-06-08 11:46:38 +02:00
tux3
443df45d21
Disable RTTI 2015-06-07 20:24:55 +02:00
tux3
bdec0557dc
Don't focus msg edit when non-text keys are pressed
Fixes #1829
2015-06-07 17:05:55 +02:00
tux3
98e91f90c3
Fix font size in contact list 2015-06-07 15:35:15 +02:00
tux3
ff90e23151
Fix inconsistent constexpr 2015-06-07 11:34:30 +02:00
tux3
d50bcd1161
Faster profile settings saving
Don't reload from disk right before we save
2015-06-07 01:13:07 +02:00
tux3
1a8afd9543
Make compact contact list a per-profile setting
Because some profiles have a huge contact list and some not, so it makes no sense as a global setting
2015-06-07 01:00:32 +02:00
tux3
f8b9741bc4
Fix GenericChatroomWidget rigth click glitch
Qt doesn't get mouse move events after a right click, so right clicking on a GenericChatroomWidget would get it stuck in the highlighed style until hovered in and out again

We now explicitely interpret a right click as the mouse going out and fix the style accordingly

Since the stylesheet has precedence over a QPalette, there wasn't a clean way to handle that with a stylesheet, so we now use a QPalette directly
2015-06-07 00:33:03 +02:00
tux3
7513725a3d
Fix wrong assert 2015-06-06 22:11:54 +02:00
tux3
89e9b18cf3
Better checks before cleanupCall 2015-06-06 21:57:09 +02:00
tux3
d8e9b7d77e
Fix #1821
We focus the chat form when we get a call now
2015-06-06 21:45:11 +02:00
tux3
d8446a7f90
Fix #1819 2015-06-06 21:26:09 +02:00
tux3
d76fb459cf
Fix #1817 2015-06-06 21:09:32 +02:00
tux3
036d307302
Handle personnal save corruption better 2015-06-06 20:53:31 +02:00
tux3
adad71e565
Merge branch 'encrypted_settings' 2015-06-06 20:18:00 +02:00
tux3
13bea16292
Add encrypting profile settings serializer
We now use a binary serialized format to save space and allow clean encryption of the user settings.
All the settings can (and should) be edited from the GUI so there is no loss of functionnality.

It can still read the old .ini format, and will seamlessly upgrade to the new format.

Fixes #1810
2015-06-06 20:15:50 +02:00
tux3
6d8bcbb9cd
Workaround for #1817 2015-06-06 17:04:56 +02:00
tux3
de8eb9c693
Fix copyright notice date 2015-06-06 16:07:36 +02:00
tux3
a004c7f791
Update advanced settings copyright notice 2015-06-06 16:02:14 +02:00
tux3
8cd1e23eb9
Merge branch 'pr1816' 2015-06-06 15:55:21 +02:00
Zetok Zalbavar
67e9aeec63
Fix incorrect copyright headers
The qTox Project is not associated with the Tox Project in any way, with the
exception of "qTox" using the Tox Projet's "toxcore" collection of libraries.
In particular, the Tox Projet does not own copyright over the qTox Project's
"qTox" collection of software, source code, and assets.
The qTox Project's assets are under the sole copyright of the qTox
contributors, and no partiular rights are granted to the Tox Project.
2015-06-06 14:51:28 +01:00
tux3
c269306bf4
Fix #1811 2015-06-06 03:45:44 +02:00
tux3
0a04c48f33
Move adjustingscrollarea.cpp 2015-06-06 02:16:52 +02:00
tux3
bb999456da
Remove some unused defines 2015-06-06 01:59:28 +02:00
tux3
8438c209d1
Fix #1037 2015-06-06 01:51:08 +02:00
tux3
20f254651d
Reorganize files 2015-06-06 01:44:47 +02:00
tux3
9b7db8bb26
Fix #1806 2015-06-06 00:35:18 +02:00
tux3
f1d7c59a2f
Fix #1809 build error 2015-06-06 00:06:50 +02:00
tux3
3656b1e5eb
Improve avatar caching reliability 2015-06-05 23:41:14 +02:00
tux3
601fdae7bb
Make login screen a bit larger
So the text fits on all translations
2015-06-05 23:06:28 +02:00
tux3
3284a66f49
Clean up Translator a little
Using the STL is still better than writting our own for loops.
2015-06-05 22:21:16 +02:00
tux3
b948ef890f
Auto focus the chat input box when typing
Fixes #1779 for real
2015-06-05 22:08:29 +02:00
tux3
15ca7a587f
Dynamic translation
qTox can now retranslate its GUI dynamically, without needing a restart

Fixes #1671

Closes #1672
2015-06-05 21:37:01 +02:00
tux3
0fd489fbba
Properly kill all calls in ~Core 2015-06-05 18:53:27 +02:00
tux3
c9202f6794
Asynchronous settings saving 2015-06-05 18:01:50 +02:00
tux3
61de5d4c67
Add Settings biglock 2015-06-05 17:03:53 +02:00
tux3
1ded562d9d
Clean Settings interface 2015-06-05 16:24:47 +02:00
tux3
0923e2b733
Add quit (CTRL+Q) shortcut to login screen 2015-06-05 15:45:43 +02:00
tux3
ac0beffd0c
Fix #1792 2015-06-05 15:39:01 +02:00
tux3
9581be95dc
Make the login screen save global settings 2015-06-05 15:28:35 +02:00
tux3
68122b40ac
Auto focus input field in login screen
Fixes #1779
2015-06-05 15:26:45 +02:00
tux3
276f411ad2
Implment auto-login 2015-06-05 15:24:02 +02:00
tux3
676c483046
Merge branch 'pr1798' 2015-06-05 13:12:05 +02:00
tux3
510b8d7d51
Remove some spammy debug output
If there are permission errors (e.g. root owns the shared memory), this would spam the log with hundreds of messages/s. isCurrentOwner still warns a couple of times if we fail to lock, so this message isn't necessary
2015-06-05 12:49:03 +02:00
tux3
192d9a5e29
Cleanup main() a bit 2015-06-05 12:44:22 +02:00
tux3
6bf0317e3e
Translate all GUI, not just Widget 2015-06-05 12:26:04 +02:00
Zetok Zalbavar
abb2f28b5d
Small improvements of displayed strings on login screen
Messages that user faces should be a bit more clear now.
2015-06-05 11:25:12 +01:00
tux3
31f7ded768
Fix #1794 2015-06-05 03:07:42 +02:00
tux3
e3dd2dc9e1
Limit desktop streamins FPS
Otherwise we get overwhelmed and start dropping frames
2015-06-04 23:34:17 +02:00
tux3
9e65cfde5c
Don't use QVector::removeAll
It's only available on recent Qt versions
2015-06-04 22:35:29 +02:00
tux3
b9febaa27d Update login logo image 2015-06-04 21:34:13 +02:00
tux3
fdcd02980d New password strengh function 2015-06-04 21:34:13 +02:00
tux3
0ebaef3c34 Password strenght meter on login screen 2015-06-04 21:34:13 +02:00
tux3
aa9e500e22 Allow long (32k chars) passwords 2015-06-04 21:34:13 +02:00
tux3
e5ddd9d0cf Consider empty encrypted history as nonexistent 2015-06-04 21:34:13 +02:00
tux3
ba0bc12ac2 Fix loginscreen not resetting pass confirm 2015-06-04 21:34:13 +02:00
tux3
ea45d4617f Allow creating unencrypted accounts again 2015-06-04 21:34:13 +02:00
tux3
67e85b3ddc Add change password button 2015-06-04 21:34:13 +02:00
tux3
0642c1b0d7 Add button to delete password 2015-06-04 21:34:13 +02:00
tux3
2dbf2e54b1 Implement restarting toxcore 2015-06-04 21:34:13 +02:00
tux3
a03eea9b5f Don't allow overwriting on profile rename 2015-06-04 21:34:13 +02:00
tux3
10ce65c22b Reject passwords shorter than 6 characters 2015-06-04 21:34:13 +02:00
tux3
5f94f33117 Use profile password for all encryption 2015-06-04 21:34:13 +02:00
tux3
4e2983817f Fix crash in ~Core 2015-06-04 21:34:13 +02:00
tux3
42a7efb053 Implement the -p option 2015-06-04 21:34:13 +02:00
tux3
1ffb2d4a92 Remove some unused Settings methods 2015-06-04 21:34:13 +02:00
tux3
7fc087ea95 Implement profile renaming 2015-06-04 21:34:13 +02:00
tux3
21db31c215 Implement profile deletion 2015-06-04 21:34:13 +02:00
tux3
f7546a731f Fix profile saving on exit 2015-06-04 21:34:13 +02:00
tux3
3fd6d5d3e9 Implement logout button 2015-06-04 21:34:13 +02:00
tux3
05a49e8072 Autosave on exit 2015-06-04 21:34:13 +02:00
tux3
abf65a5060 Remove deprecated profile management functions 2015-06-04 21:34:12 +02:00
tux3
933dce485d Add tox save loading/saving to Profile 2015-06-04 21:34:12 +02:00
tux3
840fd7dc40 Cleanly create new profiles 2015-06-04 21:34:12 +02:00
tux3
bf29d4a6d5 Allow to load/create from login screen
Saving is not implemented, so bad things will happen if you let qTox save those profiles
2015-06-04 21:34:12 +02:00
tux3
032c561e62 Make Nexus own and start the LoginScreen
And start implementing some of the required methods to make Core, LoginScreen and Nexus use Profile
2015-06-04 21:34:12 +02:00
tux3
7d6167d90c Scan profiles for login screen 2015-06-04 21:34:12 +02:00
tux3
68f6a5d032 Use combobox for login username 2015-06-04 21:34:12 +02:00
tux3
22c8b38fd9 Update login screen ui 2015-06-04 21:34:12 +02:00
tux3
c6268cd604 Connect LoginScreen signals 2015-06-04 21:34:12 +02:00
tux3
f4cad23314 Fix login screen window title 2015-06-04 21:34:12 +02:00
tux3
93df0dec2b Add Tox logo at login 2015-06-04 21:34:12 +02:00
tux3
9ebfc9eb77 Create login screen UI 2015-06-04 21:34:12 +02:00
tux3
039575a775
Merge branch 'pr1769' 2015-06-04 21:25:21 +02:00
tux3
862ad154fc
Fix crash if avdevice_list_devices fails 2015-06-04 17:22:58 +02:00
Zetok Zalbavar
b21ce5ef07
Fix tab-completion for names starting with '@'
continuation of #1377
2015-06-04 09:45:56 +01:00
PKev
98819df90c Correct redraw after filtering
fix #1757
It looks a bit strange, but a redraw on another call fails. Moreover, order calling functions radically changes the behavior of the widget
2015-06-03 22:26:33 +03:00
tux3
c180fa15de
Fix nullptr dereference on A/V timeout 2015-06-03 19:33:17 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
44628373cd
Windows desktop capture (gdigrab) 2015-06-03 11:47:19 +02:00
tux3
37a3a8d9d6 Properly set desktop capture region
We now capture the full screen by default, with code to handle modesetting, instead of always the FFmpeg default region of 1024x768
2015-06-03 02:10:53 +02:00
tux3
bc946308c8 Fix double free when switching camera 2015-06-03 02:10:53 +02:00
tux3
8ad0f6c573 X11 dekstop streaming 2015-06-03 02:10:53 +02:00
tux3
3cf10f02a6 Don't use tagged init 2015-06-03 02:10:53 +02:00
tux3
8e866b1a5e Remove video post-processing sliders
Since they don't currently do anything
2015-06-03 02:10:53 +02:00
tux3
fe4838bb83 Video modesetting for v4l2 2015-06-03 02:10:53 +02:00
tux3
0f7015941c Restore CallId param in onAvStarting
We actually use it now.
2015-06-03 02:10:52 +02:00
tux3
bf3b9239b5 Never resize frames with Qt, use sws_scale
If we're going to convert between pixel formats with sws_scale, we might as well do the rescaling in the same step.
Giving a potentially hueg fram to Qt and having it rescale in a separate step is wasted cycles.
2015-06-03 02:10:52 +02:00
tux3
db7d86ae50 Ifdef some dshow code on win only 2015-06-03 02:10:52 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
e5522ba087 Case-sensitive includes in windows files
To make the cross-compilers happy.
2015-06-03 02:10:52 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
61f331635f Disable the hue/bright/sat/contrast sliders
Since they aren't implemented for now.
2015-06-03 02:10:52 +02:00