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

5042 Commits

Author SHA1 Message Date
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
iphydf
07ac196326
chore: Fix Mac OS X build.
- Add /usr/local to the search paths for includes and libs.
- Build toxcore before updating homebrew. Updating homebrew somehow breaks the
  toxcore build.
2016-08-03 22:46:37 +01:00
sudden6
fca278f334
Merge pull request #3582
Diadlo (1):
      fix: Added forgotten return statement
2016-08-02 08:10:35 +02: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
Nils Fenner
31c154293b
refactor(coreav): fix static analysis warnings and code style 2016-08-01 21:24:53 +02:00
Nils Fenner
9f8ad3cf77
refactor(core): fix IndexedList comparison type casts from signed/unsigned 2016-08-01 21:24:53 +02:00
Nils Fenner
6c150a04c0
refactor(settings): fixes some serious type conversion warnings from llvm code analysis 2016-08-01 21:24:53 +02:00
sudden6
05bd55d8a5
Merge pull request #3566
bitok (1):
      fix(avform):Add skipped camera open call
2016-08-01 21:09:00 +02:00
Diadlo
df7bf32072
refactor(profileimporter): Removed extra spaces 2016-08-01 12:22:52 +03:00
Diadlo
58ea0afed1
fix(toxsave, profileimporter): Added remove function call before overwrite file
Fix #3558.
2016-08-01 12:22:52 +03:00
Diadlo
927d512fa2
fix(translator): Added layout direction reset on translation.
Fix #3542.
2016-07-31 14:21:15 +03:00
sudden6
a163d18754
Merge pull request #3561
Diadlo (1):
      feat(gui, setpassworddialog): Added buttons translation
2016-07-31 13:03:54 +02:00
sudden6
66bf2b130a
Merge pull request #3539
Diadlo (2):
      fix(avform): Changed "best modes" search algorithm.
      fix(avform): Added rounding height in mode name.
2016-07-31 12:41:23 +02:00
Diadlo
f7018c42c9
fix(text): Using modified text, instead of raw
Fix #3568.
2016-07-31 13:38:51 +03:00
Diadlo
abf7b42324
fix(chatlog): Don't delete active transfer widget
Fix #3275.
2016-07-31 11:44:21 +03:00
Diadlo
233cc412ac
refactor(filetransferwidget): Added ability to check activity 2016-07-31 11:20:57 +03:00
bitok
1f9b7b13de fix(avform):Add skipped camera open call
Fixed desktop sharing without camera connected. Fixes #3476.
2016-07-31 00:49:56 +03:00
bitok
def2e880c9 fix(widget):change received files execution method
Remove incorrect file execute method, it replaced by associations-aware method. Fixes #3140.
2016-07-31 00:34:52 +03:00
Diadlo
c2e3358dd2
fix(avform): Added rounding height in mode name. 2016-07-30 23:28:34 +03:00
Diadlo
58e503bb14
feat(gui, setpassworddialog): Added buttons translation
Fix #3479.
2016-07-30 18:15:07 +03:00
sudden6
a556762c54
Merge pull request #3528
Diadlo (1):
      fix(chatform): Fixed call buttons
2016-07-28 21:53:26 +02:00
Diadlo
dbe0a15963
fix(chatform): Fixed call buttons
Fix #3521.
2016-07-28 22:55:46 +03:00
Zetok Zalbavar
78427b8e6b
docs(CONTRIBUTING.md): make more explicit what commit message needs
By clearly stating what commit message needs to have.
Should help with commit messages that aren't really clear.
2016-07-28 20:32:08 +01:00
sudden6
dca537954c
Merge pull request #3555
Diadlo (1):
      feat(main): Changed time in logs on UTC.
2016-07-28 21:29:26 +02:00
sudden6
f61fbfec14
Merge pull request #3536
Diadlo (9):
      refactor(videomode): Move implementation in cpp file
      docs(audio, video): Change comment style
      docs(chatlog): Change comment style
      docs(net): Change comment style
      docs(widget): Change comment style
      docs(persistence): Change comment style
      docs(core): Change comment style
      feat(doxygen): Created simple doxygen config file
      docs(CONTRIBUTING.md): Added documntation block
2016-07-28 21:27:31 +02:00
Diadlo
7bee05eff1
docs(CONTRIBUTING.md): Added documntation block 2016-07-27 23:39:22 +03:00
Diadlo
194c55a4c5
feat(doxygen): Created simple doxygen config file 2016-07-27 23:39:22 +03:00
Diadlo
2696a9265a
docs(core): Change comment style 2016-07-27 23:39:22 +03:00
Diadlo
1c547fc73f
docs(persistence): Change comment style 2016-07-27 23:39:22 +03:00
Diadlo
1552bfb114
docs(widget): Change comment style 2016-07-27 23:39:18 +03:00