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

231 Commits

Author SHA1 Message Date
sudden6
e07d8d358f
feat(toxid): reduce passing Tox IDs around
reasons:
- most of the time we don't even know the Tox ID but only the Public Key
- use well defined objects instead of strings that could be anything
2017-01-04 00:20:24 +01:00
sudden6
2f4e8dc3e8
refactor(toxpk): add class representing a Tox Public Key 2017-01-02 22:58:05 +01:00
sudden6
0b2f22d521
refactor(toxid): improve checks for valid ToxIDs 2016-12-30 15:54:56 +01:00
Zetok Zalbavar
541bc0e174
refactor(core): simplify code for tox interval during file transfer
Also some style changes.
2016-12-30 13:57:55 +00:00
Zetok Zalbavar
d4ac13dbf4
revert: "refactor: Added to include path and exclude it from all includes"
Revert needed, since otherwise there is no way to do automatic sorting
of includes.
Also reverted change to the docs, as leaving it would make incorrect
docs.

In case of conflicts, includes were sorted according to the coding
standards from #3839.

This reverts commit b4a9f04f92.
This reverts commit 5921122960.
2016-12-29 16:10:53 +00:00
sudden6
d196611ffe
feat(toxid): Improve validation of Tox IDs 2016-12-29 13:37:01 +01:00
sudden6
3d0938a3c6
refactor(toxid): improve code clarity and documentation 2016-12-29 13:37:01 +01:00
sudden6
152c134a4b
refactor(toxid): drop the cData class in favour of ToxId 2016-12-29 13:37:01 +01:00
sudden6
94ec5614f2
feat(toxid): Improve the ToxId class 2016-12-29 13:36:56 +01:00
Diadlo
b4c4569299
feat(toxid): Added correct checksum validation.
Fix #3837
2016-12-27 01:40:44 +03:00
sudden6
e7276e7b43 fix(warnings): fix some warnings about the stack protector not working 2016-12-26 14:40:32 +01:00
Zetok Zalbavar
4bcf57b236
style: adjust function arg names in header to changes in core.cpp 2016-12-25 18:24:52 +00:00
Diadlo
4f9cb0b008
refactor: rename args to conform to C++11 § 17.6.4.3.2
Fixed typo and small style improvements.
2016-12-19 01:08:33 +03:00
Diadlo
32909559b6
docs: Added docs to PassKeyDeleter and updated Core methods 2016-12-19 00:42:54 +03:00
iphydf
de407c4714
chore: Update qTox to the latest toxencryptsave API.
Since ownership is somewhat unclear, we now use shared_ptr to pass
these around instead of unique_ptr.
2016-12-19 00:42:54 +03:00
Diadlo
3c304c50bc
refactor(core): Added error handling 2016-12-19 00:42:54 +03:00
Diadlo
98fa64f841
refactor(core): Remove code duplication for different types of messages 2016-12-19 00:42:54 +03:00
Diadlo
d371e78871
refactor(core): Update toxcore callbacks 2016-12-19 00:42:54 +03:00
Diadlo
e9a2fc6b57
refactor(core, widget): Update toxcore group API (new: conference) 2016-12-19 00:42:54 +03:00
Diadlo
49b3c4d4af
refactor(core): Add Core* as userdata to tox_iterate 2016-12-19 00:42:54 +03:00
Nils Fenner
917812daaa
fix: Status reflection for friend calls 2016-12-01 08:55:13 +03:00
Zetok Zalbavar
7b60a5dd36
chore: explicitly mention that copyright belongs to qTox contributors 2016-11-29 11:12:06 +00:00
Diadlo
b4a9f04f92
refactor: Added to include path and exclude it from all includes 2016-11-28 23:28:42 +03:00
sudden6
355fb2ae41
fix(core): don't emit idSet signal twice 2016-11-15 12:27:16 +01:00
Diadlo
2a88e5c069
refactor(toxid): Removed Core dependency from ToxId
It's needed to make ToxId just data structure
2016-11-15 02:18:48 +03:00
Diadlo
5d6445065e
refactor(core): Changed Core interface, added documentation
Implementation by @antis81
2016-11-14 16:16:59 +03:00
Zetok Zalbavar
a2912a376c
docs(doxygen): fix some warnings for toxcall.cpp 2016-11-13 23:14:38 +00:00
Diadlo
0a0db25f68
style(corefile): Small style fixes 2016-11-06 12:37:39 +03:00
Zetok Zalbavar
64bbc6cfbb
style: change postfix increment to prefix increment 2016-11-03 07:57:14 +00:00
iphydf
9795ec2e1c
chore: Improve diagnostics when toxcore failed to initialise.
This shows error codes in case of unknown errors, and handles malloc error
explicitly.
2016-08-23 22:40:29 +01:00
Diadlo
72780e6c7a
docs(todo): Changed todo format 2016-08-19 00:20:24 +03:00
Diadlo
31d8e7eef0
docs: Replaced simple on doxygen tag 2016-08-19 00:20:23 +03:00
Diadlo
9a62f44c33
docs(core): Added leading stars 2016-08-19 00:20:23 +03:00
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
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
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
initramfs
07f5cf3a65
refactor(video): update code and documentation to honour QSize validity 2016-08-05 09:16:31 +08:00
initramfs
607b8d5a20
docs(video): remove old unnecessary comment pertaining to removed code 2016-08-04 18:59:30 +08:00
initramfs
f85a299e75
refactor(video): rename ToxAVFrame to ToxYUVFrame and add documentation 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
277ddc3d2f
fix(video): fix CoreAV and VideoSurface to conform to new VideoFrame 2016-08-04 06:33:40 +08: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
Diadlo
2696a9265a
docs(core): Change comment style 2016-07-27 23:39:22 +03:00
Nils Fenner
eb1e0091c4
Merge pull request #3488
Diadlo (1):
      style(toxid, widgets): Made constructor explicit
2016-07-24 09:51:16 +02:00
Diadlo
f8eda7eb57
style(core): Style fixes 2016-07-13 01:54:37 +03:00
Nils Fenner
88eca7e200
Merge pull request #3487
Diadlo (1):
      style(toxcall): Copy constructor return non-const reference
2016-07-13 00:14:20 +02:00
Diadlo
8e7a6c89c2
style(toxid, widgets): Made constructor explicit 2016-07-13 00:33:37 +03:00
Diadlo
ed04b2debf
style(toxcall): Copy constructor return non-const reference 2016-07-08 01:21:31 +03:00