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

1843 Commits

Author SHA1 Message Date
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
Tux3 / Mlkj / !Lev.uXFMLA
27bb71f195 Implement video modesetting for dshow 2015-06-03 02:10:52 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
b463028536 Released frames are out of the freelist
So they shouldn't call the freelistCallback. VideoFrame now forgets
about the callback when it is being released.
2015-06-03 02:10:52 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
b20ecf056d Namespaces, not ctor-deleted classes
Stupid.
2015-06-03 02:10:52 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
f0f069114c Implement DirectShow video dev listing
We can now get the list of video devices with the dshow ffmpeg device
(so, on Windows). Most of this patch is adapted from libavdevice's dshow
private internal interface, which retrieves useful info but is only
designed to log it to stdout. We reimplement that to get an actual list
of devices names/descriptions, that we can then open with ffmpeg the
refular way.
2015-06-03 02:10:52 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
e5684a4bbf Save video dev name in settings 2015-06-03 02:10:52 +02:00
tux3
8568a6b94e More compatibility with older libavdevice
By not using avdevice_list_input_sources
2015-06-03 02:10:52 +02:00
tux3
95e4a20f05 Compatibility with older libavdevice
By not using avdevice_list_input_sources
2015-06-03 02:10:52 +02:00
tux3
d53b426750 Replace OpenCV with FFmpeg 2015-06-03 02:10:52 +02:00
tux3
a086e6d7b1
Merge branch 'pr1763' 2015-06-03 02:10:37 +02:00
PKev
fa21c793f2 scroll emoticon selector
fix #1561
2015-06-01 21:00:22 +03:00
tux3
b3ce364d5c
Merge branch 'pr1758' 2015-06-01 16:56:47 +02:00
PKEv
0791c64efd Correct_after_cpp_check
style and typos
2015-05-30 23:44:56 +03:00
tux3
0a3ff7be24
Merge branch 'pr1743' 2015-05-29 17:31:23 +02:00
tux3
6409b273a4
Re-apply toxcore tox_new compat patch 2015-05-29 17:29:25 +02:00
Ansa89
22d1ab34f9 Also call 'tox_add_tcp_relay()' 2015-05-29 14:54:26 +02:00
PKEv
eda57f388d Correct_doubled_nicks_when_copypasting 2015-05-28 00:40:04 +03:00
PKEv
64f7e6c63d Correct screenshot 2nd monitor
but only if a second monitor on the right side
2015-05-28 00:23:26 +03:00
tux3
b22945b46a
Merge branch 'pr1732' 2015-05-26 17:34:22 +02:00
Zetok Zalbavar
50c29af537
Make string 'Search Contacts' translatable 2015-05-26 12:02:38 +01:00
PKEv
1aa8a43e1e Creat dir for screenshots #1696 2015-05-26 01:33:10 +03:00
PKEv
6fa42c1aa0 Correct duplication long messages on sender side #1703 & #1697 2015-05-26 00:08:39 +03:00
tux3
2db617bc6f
Recover if tox fails to start 2015-05-25 22:37:19 +02:00
tux3
ef6385b6c4
Fix failedToStart/badProxy blocking signals 2015-05-25 22:28:59 +02:00
Сухарик
fe7dc995d6 use toxcore error codes 2015-05-25 23:09:09 +03:00
Zetok Zalbavar
75d3274332
Fix quoting; everything after '>' is a quote
Plenty of people voiced their opinion that everything after '>' should be a
quote. Trying to conform to anything other brings only chaos and makes
situation worse, since it is impossible to catch every exception.

There are already plenty of cases where regexp simply can't work with unicode.

In the future, qTox should have easy to use r-click options for 'Paste text as
 a quote' and 'Copy as a quote', which makes it a must to have quote detection
as simple as possible, to avoid situation where user wants to paste something
as a quote, and suddenly it doesn't seem to work.

Fixes #1059 #1099 #1173
Continuation of #1332
2015-05-25 20:52:51 +01:00
tux3
c3e70d6c59 Revert "Updated for latest toxcore api"
This reverts commit 7c8334bca9.
2015-05-25 20:23:06 +02:00
Daniel Hrabovcak
051a88a7e8 For range loops 2015-05-25 12:38:52 -04:00
Daniel Hrabovcak
992e648f64 Fix compile issues 2015-05-25 12:32:34 -04:00
Daniel Hrabovcak
399f2c9fef Merge https://github.com/tux3/qTox 2015-05-25 12:20:05 -04:00
Daniel Hrabovcak
bd2f8b5db5 Add al delete to group leave 2015-05-25 12:19:56 -04:00
Daniel Hrabovcak
fb707fe1f1 Group audio not being reset 2015-05-25 11:58:54 -04:00
saneki
7c8334bca9 Updated for latest toxcore api 2015-05-25 08:08:47 -05:00
tux3
6e97c7f9c3
Merge branch 'pr1724' 2015-05-25 12:59:49 +02:00
Zetok Zalbavar
1403ee970b
Improve error message when profile is alrady used
I.e. don't imply that profile belongs to same user, since it is possible
that multiple users are using qTox.
2015-05-25 09:39:47 +01:00
ovitei
52e0dae0d8 added Norwegian Bokmal (nb_NO) translations 2015-05-25 02:15:34 +02:00
TheLastProject
5e9081abd7 Update profileform.cpp 2015-05-25 01:25:00 +02:00
Ansa89
6b337ce935 Italian translation: update 2015-05-24 17:30:13 +02:00
Ansa89
264732bf10 chatmessage.cpp: detectQuotes() simplify conditional statement 2015-05-24 17:16:30 +02:00
Zetok Zalbavar
87e6b038f9
Properly fix quoting in action messages
* Allow quoting in action messages if line number is >1.
* Fix regression introduced by 1244d689f6 where
  '\n' was being trimmed in action messages.
* Add comment about typing notifications placeholder that needs to be fixed.
2015-05-24 15:30:21 +01:00
tux3
d16f9a542e
Merge branch 'pr1712' 2015-05-24 14:43:13 +02:00
tux3
be87047896
Merge branch 'pr1710' 2015-05-24 14:42:40 +02:00
tux3
b8077775ce
Merge branch 'pr1684' 2015-05-24 14:38:30 +02:00
Ansa89
f716027180 Fix needed to compile on slackware64 14.1 (with multilib) 2015-05-24 14:33:51 +02:00
Zetok Zalbavar
1244d689f6
Don't quote with action messages
Quoting with action messages produces badly looking messages,
where nick is blue coloured, while rest of text that is preceded
by '> ' is green. To avoid that, quoting should not be triggered
in action messages.
2015-05-24 01:56:57 +01:00
Zetok Zalbavar
227c061ea1
Code consistency fixes → 's/ToxID/ToxId/'
Since consistency in code is most important, 'ToxId' is used
for code, whereas 'Tox ID' anywhere outside of code.

Also fixed wrong comments in core.h:
* qTox gets only public key of a grouchat peer, not their
  Tox ID
* qTox tries to return full address (Tox ID) or public key
2015-05-23 20:15:41 +01:00
Zetok Zalbavar
1554b3b131
Better error message for image resizing
Now user will know what is the acceptable file size limit.
2015-05-20 07:17:12 +01:00
tux3
a841224683
Use proper random for IPC 2015-05-19 20:37:42 +02:00
tux3
4306f87df4
Fix call on null object, unititialized bool 2015-05-19 19:40:01 +02:00
tux3
9fdf382d7b
Correctly send avatar hashs as file_idS 2015-05-19 12:34:38 +02:00
Sean
b8bbe3654f Revert "Fixing behaviour for a tray icon on OS X"
This reverts commit f35f7e261a.
2015-05-18 13:55:19 -07:00
Sean
a0ecf86c20 Revert "Fixing tray icon visibility issue on OS X"
This reverts commit a4df4125e3.
2015-05-18 13:54:58 -07:00
tux3
3c3d7137e3
Don't fallback on tox1 for inexistant tox IDs
We now consider an empty reply from a tox3 server to mean that the ID doesn't exist, instead of only accepting DNS protocol level errors
2015-05-18 14:55:59 +02:00
tux3
7590d3d422
Fix tr() without QObject 2015-05-18 14:43:18 +02:00
marcel
f96db5a761 replaced ToxID struct with ToxId class. 2015-05-17 22:55:50 +02:00
marcel
66dc368662 added isActiveProfile function and fixed a typo 2015-05-17 22:48:24 +02:00
marcel
2ffabb19ec Renamed function isMine to isActiveProfile.
As an user can have multiple profiles where each profile has its own
Tox ID the name isMine is not very accurate.
2015-05-17 22:26:56 +02:00
marcel
a41765a58d added documentation 2015-05-17 21:54:21 +02:00
tux3
24fb67f415 Merge branch 'pr1669' 2015-05-17 21:24:20 +02:00
Yuri
cfd04d22d9 Copy ToxID into XA_PRIMARY clipboard too to make retrieval easier. 2015-05-17 21:24:20 +02:00
Marcel
b97b7d3fd4 filter_audio updated its api and added the parameter 'vad' in function 'enable_disable_filters' 2015-05-17 21:24:19 +02:00
agilob
ac888625de fix streching 2015-05-17 21:24:19 +02:00
agilob
ad5d7c4997 friendlist looks better on startup 2015-05-17 21:24:18 +02:00