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

38 Commits

Author SHA1 Message Date
Mick Sayson
7474c6d8ac
feat(messages): Multipacket message support
* Introduced ToxExt and CoreExt abstraction
    * Along with interfaces for mocking and unit testing
* Add "supportedExtensions" concept to Friend
* Dispatch messages to CoreExt instead of Core when friend supports
extended messages
    * Only split messages for core when extended messages are unavailable
* Offline message engine/History not altered. Currently only valid for
an existing session after extension negotiation has completed
2021-01-30 12:52:06 -08:00
powerjungle
90cc962802
feat(logging): check if current code is tagged
This commit adds a new define called "GIT_DESCRIBE_EXACT" through cmake.
It is checked with a regex in "updatecheck.cpp" for a version number after the
check for new updates. If there is no version number,
a warning is output to log.

The reason for the new define is to avoid doing too much regex on
"GET_DESCRIBE", since "GIT_DESCRIBE_EXACT" will not contain a version number if
the code is not tagged.
2020-11-14 12:36:26 +02:00
sudden6
0335f20362
fix: Qt ressource system usage
Make use of the `AUTORCC` feature of cmake to simplify adding resource
files to qTox.

Fixes #6144
2020-07-03 15:45:57 +02:00
Piraty
e4c7d81ab2 fix(build): make pkg-config verbose about why it fails
Switch from `pkg_search_module` to `pkg_check_modules` to find .pc and
evaluate .pc files of dependencies. Now, in case of any errors, a clear
message is issued about what is wrong, making it obvious what to do.

As of c-toxcore-0.2.11, my system's toxcore.pc file contains this line:
```
Requires.private: libsodium opus vpx
```

Previously, with opus missing, cmake/Dependencies.cmake through an error
about toxcore not being found, but never actually told why (also it was
misleading, because opus was missing, not toxcore).

Before:
```
<...>
-- Checking for one of the modules 'toxcore'
-- TOXCORE not found
-- Checking for one of the modules 'toxav'
-- TOXAV not found
<...>
```

After:
```
<...>
-- Checking for module 'toxcore'
--   Package 'opus', required by 'toxcore', not found
-- TOXCORE not found
-- Checking for module 'toxav'
--   No package 'toxav' found
-- TOXAV not found
<...>
```
2020-04-03 19:53:24 +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
sudden6
66e2c01029
feat(notify): add desktop notifications using snorenotify
This commit adds very basic support for desktop notifications on friend
request, group invites, friend messages and group messages.
2019-03-24 11:58:09 +01:00
Anthony Bilinski
013771c13a
feat(build): remove timestamps from build to allow reproducible builds
avoid Qt embedding timestamps into translations after copying .ts to .qm to work towards reproducible builds. Now reproducible locally as long as there is absolutely no change to environment.
2019-01-28 23:53:33 -08:00
Diadlo
671b9456a8
feat: Add spell checking
Fix #1301

Spell checking implemented by KF5Sonnet
2018-07-19 20:31:52 +02:00
Maxim Biro
3f0372b2c5 chore(cmake): Lookup toxcore's static dependencies 2018-02-02 03:58:04 -05:00
iphydf
398ba415ce
chore: Update to immutable TES API and one-big-lib change. 2018-01-14 15:47:43 +00:00
sudden6
7ad68e2f43
fix(cmake): fix platform extensions for windows
fixes #4860
2017-12-12 22:06:57 +01:00
ezavod
423f095622
fix(cmake): add missing dependency
Requires `Qt5Concurrent` to be installed when running cmake.
This is needed by `coreav.cpp`.
2017-11-29 19:43:22 +01:00
sudden6
005f52f82a
chore(cmake): libXss comes with pkg-config files, use them 2017-09-27 16:33:03 +02:00
Maxim Biro
b7ef73d401 fix(build): Fix regression in how cmake finds libraries 2017-09-25 05:25:57 -04:00
sudden6
e1ca609034
Merge pull request #4666
Maxim Biro (1):
      fix(build): Fixed header file of libfilteraudio not being found
2017-09-21 12:10:10 +02:00
Maxim Biro
8108bfdc35 fix(build): Fixed header file of libfilteraudio not being found 2017-09-20 19:46:46 -04:00
anthony.bilinski
414fa178b4 feat(exif): Honour exif orientation tag
Fixes #1848
2017-09-19 10:00:05 -07:00
sudden6
5d159e0203
fix(dependency): remove unused qt sql dependency
fix #4567
2017-08-12 00:02:28 +02:00
sudden6
8652fe99e3
feat(audio): make the libfilteraudio dependency optional 2017-08-05 21:25:14 +02:00
sudden6
8f2401fee6
fix(build): add install steps for libfilteraudio on OSX 2017-08-05 21:25:01 +02:00
sudden6
9c603e8654
feat(audio): add libfilteraudio 2017-08-05 21:12:33 +02:00
sudden6
0843b770c6
fix(build): remove newline from timestamp 2017-08-02 20:17:06 +02:00
sudden6
a9d2b03c7c
fix(build): disable linux specific stuff on windows
also fix the output formatting of used libraries
2017-07-16 13:12:37 +02:00
sudden6
b4e9fc7b83
chore(build): fix formatting 2017-07-16 13:12:37 +02:00
sudden6
bbb2166188
chore(build): add openssl dependency for windows 2017-07-16 13:12:36 +02:00
sudden6
77bb85e5e4
chore(build): go back to pkg-config 2017-07-16 13:12:36 +02:00
sudden6
93f2c38376
chore(build): add some debug output 2017-07-16 13:12:36 +02:00
sudden6
ab62221375
fix(build): when building without XSS extension 2017-07-13 18:39:00 +02:00
Diadlo
9a0632b0cf
fix: Using foreach to iterate through CFLAGS_OTHER
PkgConfig use 'separate_arguments' for pkgconfig result, so output
converted to the list (in cmake it's semicolumnt separated values).
If we try to append CFLAGS_OTHER as is, it will provide error for
more then one cflag in '.pc' file

Fix #4175, fix #4457.
2017-06-11 13:23:33 +03:00
DX37
f6b8601897 chore(build): Remove '-pie' linker flag and fix strmiids dependency on Windows
One part fixes #4280 (removing this flag giving qTox on Windows able to start properly), another part fixes my mistake in #4258 (strmiids still needed for
linking, but previous searching of this libstrmiids.a wasn't include, for example, '/mingw32/i686-w64-mingw32/lib'. So I just add this lib to $ALL_LIBRARIES,
because it exists in system by default).
2017-03-23 14:54:27 +06:00
DX37
7c72f4e921 chore(build): don't ask for strmiids
Fixes bulding with cmake on Windows. strmiids is exists as a
libstrmiids.a static library, but cmake can't find it. Because of
useless of this search and successful building without it, I'm removed it.
2017-03-18 19:10:06 +06:00
Diadlo
fb43e30677
fix(cmake): Add ability to real disable optional dependency 2017-02-05 18:48:57 +03:00
Diadlo
a4537549c0
fix(cmake): Add search for toxcore or libtoxcore 2017-01-08 14:46:39 +03:00
Diadlo
7f80416c89
chore(cmake): Small fixes 2017-01-08 14:46:39 +03:00
Diadlo
1efca679e1
chore(cmake): Added logic to the QTOX_PLATFORM_EXT flag 2017-01-08 14:46:39 +03:00
Diadlo
d5870d8079
chore(cmake): Added optional dependencies 2017-01-08 14:46:39 +03:00
Diadlo
ba872e02af
chore(cmake): Added git definitions 2017-01-08 14:46:39 +03:00
iphydf
b3bfd46e2d
chore(cmake): Add CMake build rules. 2017-01-08 14:46:39 +03:00