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

329 Commits

Author SHA1 Message Date
Zetok Zalbavar
63ace85913
chore(build): use -pie flag only when linking
If used when compiling and not just linking, clang complains about it.

Fixes #4101.
2017-02-23 08:38:10 +00:00
noavarice
5047a65e11 refactor: improved HTML-formatting mechanism for text messages
Added class provides text font formatting with HTML font tags
Supported stuff:
  - nested formatting;
  - several text pieces formatted with the same formatting style at the
    one message;
  - styling applies only if non-whitespace symbol follows opening
    formatting symbol and also non-whitespace symbol preceds closing
    symbol;
  - only multiline code font formatting supports new line inside of
    message text.
Also fix #3804
2017-02-19 10:06:26 +03:00
sudden6
7cd800374a
refactor(encryption): move everything to ToxEncrypt
This commit removes coreencryption.cpp and replaces it with ToxEncrypt.
2017-02-07 20:05:32 +01:00
sudden6
38cecdc780
refactor(history): remove deprecated historykeeper
This commit removes historykeeper and code only used by it.

BREAKING CHANGE:
qTox can't open old historykeeper chatlogs after this commit. Use
previous versions to migrate to the new database.
2017-02-05 22:20:12 +01:00
sudden6
d07d0cfbf0
refactor(core): Introduce new class ToxEncrypt to interface with toxencryptsave 2017-01-29 13:48:43 +01:00
sudden6
5d4609bd0e
fix(jenkins): preserve the correct linking order
fix #4079
2017-01-17 19:21:58 +01:00
sudden6
482757e6a2
fix(build): add an option to compile with autotools toxcore on Windows 2017-01-16 20:42:37 +01:00
lopachecoc
ce0590d2d0 fix(build): fix ASLR and DEP protection for windows builds 2017-01-11 10:44:14 +00:00
lopachecoc
286e67ddd2 chore(build): improve hardening flags
Using "-fstack-protector-all" makes "--param ssp-buffer-size=1" pointless.

For ASLR "-pie -fPIE" is needed instead of just "-fPIE".
2017-01-10 13:41:23 +00:00
Diadlo
fddda5de61
fix(cmake): Fix smileys resource adding 2017-01-08 14:46:39 +03:00
Diadlo
3f926fa602
chore(resource): Translation resources separated 2017-01-08 14:46:39 +03:00
Zetok Zalbavar
5928413b28
chore(build): enable ASLR and DEP protection for windows builds
Fixes #3452.
2017-01-07 05:02:04 +00:00
sudden6
6b51381980
fix(icons): install icons for linux
fix #4052
2017-01-05 20:06:58 +01:00
sudden6
2f4e8dc3e8
refactor(toxpk): add class representing a Tox Public Key 2017-01-02 22:58:05 +01:00
tux3
b693492702
fix: Further Windows Jenkins link errors 2017-01-02 18:32:52 +01:00
tux3
debb6e9cc8
fix: Jenkins Windows builds 2017-01-02 17:34:00 +01: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
Zetok Zalbavar
4972ac1d53
fix: fix warning about missing (removed) cdata.h
Missed in 152c134a4b.
2016-12-29 14:47:58 +00:00
sudden6
152c134a4b
refactor(toxid): drop the cData class in favour of ToxId 2016-12-29 13:37:01 +01:00
Zetok Zalbavar
b9c1d59a07
style(build): list linking libs vertically in qtox.pro
Also removed some redundancies.
2016-12-29 05:08:00 +00:00
sudden6
8d320ca3be
chore: Make building for FreeBSD easier
Add some patches from https://svnweb.freebsd.org/ports/head/net-im/qTox/
and make some things more platform independent.
2016-12-28 22:15:16 +01:00
Zetok Zalbavar
fe53b01eb3
style: sort(1) headers and sources in qtox.pro 2016-12-26 06:50:11 +00:00
Zetok Zalbavar
0a1a781249
chore(build): use hardening linker flags only on Linux/*BSD
windows & osx fail to compile with them.
2016-12-20 05:27:27 +00:00
Zetok Zalbavar
43b3f6e339
chore(build): add hardening flags to default qTox builds
Re: #3452
2016-12-18 17:45:27 +00:00
Diadlo
b4a9f04f92
refactor: Added to include path and exclude it from all includes 2016-11-28 23:28:42 +03:00
SkyzohKey
4ea0b30b67
chore(packaging): Add qTox.appdata.xml for enhance packaging integration. 2016-11-17 10:49:12 +00:00
Zetok Zalbavar
e19686d3d4
chore: silence unnecessary compiler output
Also show as many warnings as possible.
2016-10-06 13:47:14 +01:00
sudden6
ae76910631
feat(smileys): allow compiling qTox with minimal or no smileys
compiling only minimal smileys or no smilies reduces output binary size
and resource usage during compilation
2016-10-01 23:22:22 +02:00
Zetok Zalbavar
abaa41eaee
docs(CONTRIBUTING): add a guideline to not use dynamic casts/RTTI
And enforce it during compilation.
2016-09-29 14:53:21 +01:00
Diadlo
76c4cf7d39
Merge pull request #3648
Diadlo (1):
      refactor(toxdns): Removed using of toxdns
2016-09-01 23:43:46 +03:00
Diadlo
8da695e748
refactor(toxdns): Removed using of toxdns
BREAKING CHANGE: Remove ability of ToxDNS lookup.
2016-08-26 14:14:13 +03:00
Diadlo
9c9f1c11d1
feat(settings): Added reset settings button 2016-08-26 13:11:56 +03:00
Diadlo
fb4aa4c8f6
feat(settings): Extracted user interface settings on new tab 2016-08-26 13:10:57 +03: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
3a32a03d4a
Merge pull request #3586
initramfs (1):
      chore(qtox.pro): remove a Qt version check for Qt widgets
2016-08-08 11:16:49 +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
cae5c1f2ed
chore(qtox.pro): remove a Qt version check for Qt widgets 2016-08-04 15:30:11 +08:00
initramfs
4ac20c7b46
feat(video): adds an ID parameter to the VideoSource class 2016-08-04 06:33:40 +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
Diadlo
3edd84c4d8
refactor(videomode): Move implementation in cpp file 2016-07-27 00:40:15 +03:00
Nils Fenner
0b2dfc0305
refactor(avform): improve code flow
* rename file avsettings.ui -> avform.ui, introducing seamless switching between UI/Code
* switch to "private multi-inheritance" pattern, which has several advantages
2016-07-20 23:49:12 +02:00
Zetok Zalbavar
2d06b9960c
fix(qtox.pro): don't depend on GTK in order to build on Linux 2016-07-06 10:40:44 +01:00
sudden6
279225cd2d
chore(qtox.pro): enable maximum ressource compression
This change reduces memory usage during compilation from ~1.2GB to ~600MB.
Additionally it reduces the size of a dynamically linked qTox binary from
~10MB to ~6MB.
2016-06-20 22:33:50 +02:00
Colomban Wendling
5f34a959fc refactor: replace CapsLockIndicator with new PasswordEdit widget
Introduce a new PasswordEdit widget extending QLineEdit that takes care
of all the specifics of a QLineEntry when it is used to input a
password, including echo mode and caps lock indicator.

Also optimize the event handling to only listen to global events when
it is actually needed, e.g. when a password field is actually visible.
2016-06-17 21:55:27 +02:00
sudden6
7ca98093a2
Merge pull request #3257
Diadlo (10):
      feat(capslock): Added caps lock checker
      feat(loginform): Added caps lock indicator to newPass
      feat(loginscreen): Created new CapsLockIndicator class
      feat(capslockindicator): Added tooltip
      fix(platform): Added checkCapsLock OSX implementation
      docs(INSTALL.md): Added libX11 in dependencies
      refactor(loginscreen, capslockindicator): Caps Lock indicator class was made independent
      fix(capslockindicator): Tooltip color was changed. Tooltip translation was added
      style(capslockindicator): Fixed code style
      fix(capslockindicator): Fix position of capslock indicator
2016-06-12 00:31:40 +02:00
Diadlo
af497a9efd
refactor(loginscreen, capslockindicator): Caps Lock indicator class was made independent 2016-06-07 11:27:58 +03:00
Diadlo
35a0e1fb6f
fix(platform): Added checkCapsLock OSX implementation 2016-06-07 11:27:58 +03:00
Diadlo
97f95e7e91
feat(capslock): Added caps lock checker 2016-06-07 11:27:58 +03:00
Nils Fenner
792103f8b0
refactor(filter_audio): completely remove filter_audio dependency
The filter_audio API is not working for qTox/Tox and thus disabled by default via compiler switch. In current qTox UI, it is not configurable, even when this switch is enabled. According to issue #3194 the library is no longer maintained as well. I don't see any reason to keep it in qTox.
2016-06-04 22:12:27 +02:00
tux3
0a976c7a50
fix(build): Link qrencode statically on Jenkins 2016-06-03 14:45:42 +02:00