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

1002 Commits

Author SHA1 Message Date
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
Zetok Zalbavar
81cfe6aa9c
Remove outdated and unmaintained mannol and Pirate translations 2015-06-22 17:28:19 +01: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
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
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
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
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
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
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
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
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
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
601fdae7bb
Make login screen a bit larger
So the text fits on all translations
2015-06-05 23:06:28 +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
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
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
e3dd2dc9e1
Limit desktop streamins FPS
Otherwise we get overwhelmed and start dropping frames
2015-06-04 23:34:17 +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