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

2596 Commits

Author SHA1 Message Date
Nils Fenner
f00b9008e6
feat(settings): add notification signals for changed settings values
Makes changes to settings application wide transparent. The properties section is optional in theory, but comes in very handy, if we decide to access settings e.g. from within a script context.
2016-08-14 18:08:24 +02:00
iphydf
e4d41acdc6
chore: Return a well-defined value from setAutorun.
There is no documentation about what this function is supposed to do or what it
should return, so I'm just guessing it's a success boolean, so it should be
returning true.
2016-08-11 12:36:03 +01:00
sudden6
2045585c77
Merge pull request #3185
initramfs (26):
      feat(video): redesign and improve VideoFrame class
      fix(video): fix CoreAV and VideoSurface to conform to new VideoFrame
      refactor(video): rename and make the frame alignment propety public
      fix(video): fix memory leak caused by unfreed buffers in CoreVideoSource
      fix(video): fix slanted video when video size is not divisible by 8
      refactor(video): use a new ToxAVFrame structure instead of vpx_image
      refactor(video): static cast video dimensions to suppress warnings
      feat(video): adds an ID parameter to the VideoSource class
      refactor(video): internalize frame reference counting
      feat(video): add accessor functions for sourceID and frameID
      refactor(video): make type aliases public
      refactor(video): use generics to simply VideoFrame conversion functions
      refactor(video): rename ToxAVFrame to ToxYUVFrame and add documentation
      refactor(video): update documentation to match new format (issue #3559)
      refactor(videoframe): correct mistakes in commit documentation format
      fix(video): fix a use-after-free with VideoFrame
      fix(video): added declaration for missing biglock in CameraSource
      docs(video): remove old unnecessary comment pertaining to removed code
      fix(video): fix invalid VideoSource ID allocation
      fix(video): specify color ranges for pixel formats that are not YUV
      fix(video): use a QReadWriteLock to manage camera access
      fix(video): force the use of non-deprecated pixel formats for YUV
      refactor(video): update code and documentation to honour QSize validity
      refactor(videoframe): move all inline/template functions into source
      fix(video): guard storeVideoFrame() against freeing in-use memory
      feat(video): add a isValid() function to ToxTUVFrame
2016-08-09 18:16:38 +02:00
Zetok Zalbavar
59352ae797
Merge pull request #3580
sudden6 (1):
      fix(systemtray): don't activate qTox widget on tray icon click in Unity backend
2016-08-08 11:07:47 +01:00
Nils Fenner
32c158bc61
fix(gui): don't quit application before last event
Quitting the application kills the event loop. So any event past that will not be handled. Probably causes the "BAD!" entries in log.
2016-08-08 10:26:56 +02:00
sudden6
f50d914c23
Merge pull request #3591
Nils Fenner (1):
      feat(settings): add RecursiveSignalBlocker
2016-08-08 06:21:37 +02:00
Zetok Zalbavar
a446294ea8
Merge pull request #3589
initramfs (2):
      fix(avform): add missing "first" video mode back to video modes
      fix(avform): display true video height in video mode selection
2016-08-07 20:26:57 +01:00
initramfs
192c1e8ff5
fix(avform): display true video height in video mode selection 2016-08-08 03:23:16 +08:00
Nils Fenner
b71c919f2a feat(settings): add RecursiveSignalBlocker
can be used to block any signals during settings ui initialization
2016-08-07 04:56:10 +02:00
initramfs
3e7d55e833
feat(video): add a isValid() function to ToxTUVFrame 2016-08-06 22:12:32 +08:00
sudden6
12df069eaa
refactor(groupinvite): remove HTML from translation and simplify function 2016-08-06 15:19:42 +02:00
sudden6
2f0ffdd27e
fix(systemtray): don't activate qTox widget on tray icon click in Unity backend
based on #3423 by @abbat
2016-08-06 15:18:25 +02:00
Waylon Cude
237351fdd2
feat(l10n): add Lojban translation from weblate 2016-08-06 10:37:01 +01:00
initramfs
5b31b5db72
fix(video): guard storeVideoFrame() against freeing in-use memory
This commit fixes an issue where storeVideoFrame() can in rare cases
free memory that is still in use. Also adds extra documentation
documenting it's precise usage.
2016-08-05 10:42:07 +08:00
initramfs
f6a698bec5
refactor(videoframe): move all inline/template functions into source 2016-08-05 09:20:21 +08:00
initramfs
07f5cf3a65
refactor(video): update code and documentation to honour QSize validity 2016-08-05 09:16:31 +08:00
initramfs
5324e768c3
fix(avform): add missing "first" video mode back to video modes
This commit fixes the fact that the selectBestModes() function strips
off the first video mode, often a 1080p or 720p mode.

Fixes #3588.
2016-08-05 02:45:53 +08:00
initramfs
df3345dce5
fix(video): force the use of non-deprecated pixel formats for YUV 2016-08-04 23:46:37 +08:00
initramfs
de6475f3d3
fix(video): use a QReadWriteLock to manage camera access
This commit changes the mutex-memfence combination to a pure-mutex
implementation within CameraSource. This should prevent a lot of
pre-existing race conditions from happening.
2016-08-04 23:18:37 +08:00
initramfs
00270ee4d2
fix(video): specify color ranges for pixel formats that are not YUV 2016-08-04 23:16:46 +08:00
initramfs
707f7af29a
fix(video): fix invalid VideoSource ID allocation
This commit fixes the an invalid ID allocation by VideoSource, before
this commit all VideoSources receives the same ID causing VideoFrame to
believe all frames belong to the same video source.

Additionally, this commit addresses issues with deprecated pixel
formats and silences libswscale warnings.
2016-08-04 19:51:15 +08:00
initramfs
607b8d5a20
docs(video): remove old unnecessary comment pertaining to removed code 2016-08-04 18:59:30 +08:00
initramfs
4e9d34b78d
chore: rewrite forgotten tux3 link to qTox 2016-08-04 15:56:30 +08:00
initramfs
c4f88df7c9
fix(video): added declaration for missing biglock in CameraSource 2016-08-04 06:33:40 +08:00
initramfs
8487dcecf8
fix(video): fix a use-after-free with VideoFrame 2016-08-04 06:33:40 +08:00
initramfs
8ef89a267e
refactor(videoframe): correct mistakes in commit documentation format 2016-08-04 06:33:40 +08:00
initramfs
8d3aef9269
refactor(video): update documentation to match new format (issue #3559) 2016-08-04 06:33:40 +08:00
initramfs
f85a299e75
refactor(video): rename ToxAVFrame to ToxYUVFrame and add documentation 2016-08-04 06:33:40 +08:00
initramfs
6d18c109e8
refactor(video): use generics to simply VideoFrame conversion functions
This commit replaces the contents of toQImage(), toToxAVFrame() and
getAVFrame() with speciailized calls to a generic toGenericObject()
function for better code clarity.
2016-08-04 06:33:40 +08:00
initramfs
897cec4e75
refactor(video): make type aliases public
This allows other classes to use the type aliases defined in the
respective classes within their own code.
2016-08-04 06:33:40 +08:00
initramfs
8952208e8a
feat(video): add accessor functions for sourceID and frameID
Additionally refactors some code to be more optimized.
2016-08-04 06:33:40 +08:00
initramfs
80a776475c
refactor(video): internalize frame reference counting
This commit takes the frame tracking code and internalizes it into the
VideoFrame class itself for better reusability. The code in
CameraSource has since been removed.
2016-08-04 06:33:40 +08:00
initramfs
4ac20c7b46
feat(video): adds an ID parameter to the VideoSource class 2016-08-04 06:33:40 +08:00
initramfs
57f38e281b
refactor(video): static cast video dimensions to suppress warnings 2016-08-04 06:33:40 +08:00
initramfs
8bfbae1b47
refactor(video): use a new ToxAVFrame structure instead of vpx_image
Instead of misusing an existing structure from another library, defines
a new simpler structure that reflects the capabilities of the ToxAV
transport mechanism.
2016-08-04 06:33:40 +08:00
initramfs
904495d2bf
fix(video): fix slanted video when video size is not divisible by 8 2016-08-04 06:33:40 +08:00
initramfs
3df6b990ae
fix(video): fix memory leak caused by unfreed buffers in CoreVideoSource
Fixes a memory leak caused by old code within CoreVideoSource in the
way AVFrame buffers are allocated.
2016-08-04 06:33:40 +08:00
initramfs
50f67b3cef
refactor(video): rename and make the frame alignment propety public
Making the frame alignment property public allows for a standardized
parameter for frame alignment, usable by other code that allocates
frame buffers.
2016-08-04 06:33:40 +08:00
initramfs
277ddc3d2f
fix(video): fix CoreAV and VideoSurface to conform to new VideoFrame 2016-08-04 06:33:40 +08:00
initramfs
38b1a9b63d
feat(video): redesign and improve VideoFrame class
This commit redesigns the VideoFrame class to be more robust,
documented and performant
2016-08-04 06:33:40 +08:00
initramfs
b7aa982a57
chore: rewrite all links to the qTox repository from tux3 to qTox 2016-08-04 06:25:50 +08:00
Diadlo
8bc3c3c8d2
fix: Added forgotten return statement 2016-08-02 03:17:45 +03:00
sudden6
349a1ffb02
Merge pull request #3563
Diadlo (2):
      refactor(filetransferwidget): Added ability to check activity
      fix(chatlog): Don't delete active transfer widget
2016-08-01 22:08:48 +02:00
sudden6
904d5c1621
Merge pull request #3569
bitok (1):
      fix(widget):change received files execution method
2016-08-01 21:57:28 +02:00
sudden6
6296f5de34
Merge pull request #3571
Diadlo (1):
      fix(text): Using modified text, instead of raw
2016-08-01 21:53:35 +02:00
sudden6
eedc2a961f
Merge pull request #3560
Diadlo (3):
      fix(toxsave, profileimporter): Added `remove` function call before overwrite file
      refactor(profileimporter): Removed extra spaces
      refactor(toxsave, profileimporter): Removed code duplication
2016-08-01 21:35:32 +02:00
Diadlo
47cc252f76
refactor(toxsave, profileimporter): Removed code duplication 2016-08-01 22:35:25 +03:00
sudden6
79b9895874
Merge pull request #3551
Diadlo (1):
      fix(translator): Added layout direction reset on translation.
2016-08-01 21:30:46 +02:00
Nils Fenner
35c6ae3c10
docs(persistence): update copyright information 2016-08-01 21:24:53 +02:00
Nils Fenner
f1642e6f3e
refactor(settings): remove unused serialization methods
Conversion should be re-done with QVariant - if required at all.
2016-08-01 21:24:53 +02:00