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

205 Commits

Author SHA1 Message Date
jenli669
dfe75fb101
refactor(widget): replace screenGeometry() when using Qt 5.13 2019-07-14 20:10:00 +02:00
jenli669
04a9bc46f4
docs(copyright): update and add copyright info
zealously updates and adds qTox copyright information.

Fixes #5713
2019-06-28 01:18:26 +02:00
Anthony Bilinski
f7603c294b
refactor(id): use toxPk and groupId instead of core numbers
Allows creating classes for blocked friends which have toxPks but no
core number.
2019-04-16 00:44:16 -07:00
sudden6
5c1fe52010
fix(video): correctly align data passed to toxcore
fixes #5402

c-toxcore requires each plane to be aligned at 1 byte boundaries.
Because of this bug we alligned it at 32 byte boundaries if the height
and width were a multiple of 8.
2018-11-03 15:14:15 +01:00
Jimi Huotari
71d1fa6f24
refactor(themes): load css and images from themes folder
Original work by tox-user.

The default theme is now placed in a different path:
- C:\users\%username%\AppData\roaming\qtox\themes - for Windows
- ~/Library/Application Support/qtox/themes - for MacOS
- ~/.config/qtox/themes - for other Unix systems including GNU/Linux

Thanks to that it's no longer required to recompile the program to modify
the theme.

In addition to that the default theme is also included as a resource. If
the theme folder or some file inside it is missing, qTox will load it
from resource.
2018-10-24 14:04:03 +02:00
sudden6
9de40e5a97
fix(video): don't pass invalid pixel format strings to ffmpeg 2018-09-29 18:43:48 +02:00
Anthony Bilinski
0c757356d3
fix(avatar): set friend to identicon on empty avatar receipt
*All friend avatar changes and removals go through Profile, so that Profile can manage identicons
*Split the concept of "changed" and "removed" into "changed", "set", and "removed"

Fixes #4724
2018-09-17 02:30:45 -07:00
iphydf
52a5951d26
chore: Use nullptr instead of 0 for NULL pointer constants. 2018-09-07 21:38:59 +00:00
sudden6
24e7c4efd4
refactor(core): format code 2018-07-05 17:10:26 +02:00
sudden6
e5acc6726f
refactor(core): reimplement avatar transfers
In the process of this I used some ugly hacks, to finish this in time,
they should be changed as soon as possible.
2018-07-05 17:05:41 +02:00
tox-user
0d3f061ba8
fix: remove full screen btn from audio group chat
Fixes: #5202
2018-07-01 22:17:35 +00:00
sudden6
a00af08777
fix(audio): connect the correct audio callbacks 2018-07-01 10:39:33 +02:00
sudden6
50cee67f5f
chore: add more debugging when subscribing video 2018-05-15 20:29:42 +02:00
sudden6
4acf884fb9
refactor: use ToxPk as identifier
fixes #5116 and #5117
2018-05-11 20:35:24 +02:00
tox-user
d6df8883e3
feat(chat): full screen video chat
Implements #2922 and #2514.
This change adds:
- a button for enabling full screen mode
- a panel with buttons for controlling the chat in full screen mode
- a button to toggle video preview
- new icons

fix(chat): fix buttons in full screen video call
feat(chat): add hotkey for exiting full screen video
fix(chat): use screen res to position button panel
fix(chat): dont remove video widget on window close
2018-05-10 20:08:37 +00:00
Anthony Bilinski
5dc4e6de81
chore(legal): update copyright date to 2018 for all source files 2018-04-25 17:33:38 -07:00
Anthony Bilinski
7293151469
fix(ui): increase number of low res camera options
partially revert behaviour of 04ecfe3f34 to show any options that were shown before. Mentioned in comments of #5097.
2018-04-24 13:51:24 -07:00
sudden6
441931765f
fix(build): make qTox compile with ffmpeg 4.0 and newer 2018-04-23 19:31:58 +02:00
Anthony Bilinski
04ecfe3f34
feat(camera): add higher resolution camera options
Fix #5065
2018-04-12 11:37:55 -07:00
Anthony Bilinski
9216549d6e
refactor(call): Refactor toxcall and disconnect lambda on destruction
Fixes #3840

Move audio and video state into ToxCall which both ToxFriendCall and ToxGroupCall inherit from
2018-04-04 01:32:00 -07:00
sudden6
d01999814e
chore: fix some compiler warnings 2018-02-01 20:32:39 +01:00
Diadlo
7d5a59cf41
refactor: Use qFuzzyCompare to compare float values
Thanks @BiTOk for this tip
2018-01-22 17:13:09 +03:00
sudden6
a2927de27d
fix(video): use float framerates also for V4L2
also make -1 the default value for the framerate
2017-12-22 21:33:35 +01:00
sudden6
db7ee65d0e
fix(video): allow not integer framerates
Fix #4866 and #4764
2017-12-21 21:28:27 +01:00
Diadlo
8de8c14a76
fix(video): Fix square form of a video
Use right sign to compare NON-equal double numbers
2017-12-04 09:51:01 +03:00
Diadlo
91dabf11d3
fix: Use epsilon to compare float
Fix #2394 (5)
2017-11-27 01:20:09 +03:00
sudden6
5d6ae9ae37
fix(video): don't use pointers to temporary objects
fixes #4764
2017-11-12 13:10:35 +01:00
Diadlo
bc05d531a3
refactor(video): Add video settings interface 2017-11-10 23:27:06 +03:00
sudden6
fed7060270
fix(video): prevent segfault when ending videocall 2017-10-26 12:32:35 +02:00
Diadlo
92def839d0
fix(cameradevice): Save string in local variable to avoid errors 2017-10-23 21:04:34 +03:00
sudden6
2f13796acc
fix(ffmpeg): don't use deprecated features 2017-10-19 00:41:57 +02:00
sudden6
f82f57ec91
refactor: don't pass ToxPk as QString 2017-10-06 23:57:55 +02:00
Yuri
8522141b1e fix(threads): Always stop the camera device thread 2017-09-26 22:42:48 -07:00
Diadlo
017653470d
refactor: Move friend and group in model directory 2017-08-06 13:55:02 +03:00
Diadlo
d704f5d21d
perf: Optimize open/close device
Because while device thread wait for a freeing 'streamMutex', in another
thread someone can subscribe or unsubscribe => it will require useless
pair (close + open) or (open + close)
2017-07-05 23:53:17 +03:00
Diadlo
d86912eacd
fix: Invoke device methods in deviceThread
Fix #2058
2017-07-05 23:53:17 +03:00
Diadlo
d720cca969
refactor: Split device and stream mutexes 2017-07-05 23:53:17 +03:00
Diadlo
50eaea8f8e
refactor: Add deviceThread 2017-07-05 23:53:17 +03:00
Diadlo
60dc4b34a4
refactor: Remove extra checks in [un]subscribe 2017-07-05 23:53:17 +03:00
Diadlo
a22694c9e8
refactor: Remove unused bool result 2017-07-05 23:53:17 +03:00
Diadlo
b562b31413
refactor: Remove unused functions 2017-07-05 23:53:17 +03:00
Diadlo
3b2352a0ee
refactor: Rename methods in CameraSource
To make the method more correctly reflect the essence
2017-07-05 23:53:17 +03:00
Diadlo
dd9b324ec3
chore(qt): Remove old qt code 2017-06-26 23:06:55 +03:00
Diadlo
6045e57829
refactor: Make constructor with one argument explicit 2017-06-12 13:46:43 +03:00
Diadlo
6e697053a7
refactor: Reorder FrameBufferKey
Reordered to be same with docs and prototype.
2017-06-12 13:46:43 +03:00
Diadlo
365d703e8a
perf: Pass std::function by reference 2017-06-12 13:46:38 +03:00
sudden6
a3b234e6dd
chore(formatting): run clang-format 2017-06-01 09:50:59 +02:00
sudden6
a1181e10f2
chore(formatting): disable clang-format for certain code sections 2017-06-01 09:49:32 +02:00
Diadlo
65b1463933
refactor(core): Move setAvatar to profile from core 2017-05-24 19:43:47 +03:00
Yuri
dd59f5ee90 fix(macro): Fixed clang warning about USING_V4L
Clang produced this warning:
"macro expansion producing 'defined' has undefined behavior"
2017-05-08 09:28:29 -07:00