Zetok Zalbavar
64bbc6cfbb
style: change postfix increment to prefix increment
2016-11-03 07:57:14 +00:00
Diadlo
4c020865c6
Merge pull request #3829
...
Alice Weigt (1):
fix(settings): Properly update taskbar on disconnect
2016-10-29 10:10:10 +03:00
sudden6
c8a08530b7
Merge pull request #3834
...
Alice Weigt (1):
refactor: Use new getSound function
2016-10-27 19:56:38 +02:00
sudden6
6ed8235298
Merge pull request #3833
...
Alice Weigt (1):
fix(audio): Clear audio buffer when ending audio loop
2016-10-27 19:54:28 +02:00
Zetok Zalbavar
52ae7093f7
feat(l10n): add Slovak translation to interface and docs
2016-10-26 13:02:00 +01:00
Alice Weigt
244d1dc386
fix(audio): Clear audio buffer when ending audio loop
2016-10-26 02:20:50 -07:00
Alice Weigt
3c310f4aa6
refactor: Use new getSound function
2016-10-26 02:17:08 -07:00
initramfs
775b6a325b
fix(chatform): remove std::dynamic_pointer_cast in favor of static cast
...
With the removal of RTTI such a cast can cause compile failures as not
all compilers automatically convert dynamic casts to static casts at
compile time.
Fixes #3801
2016-10-25 05:59:00 -04:00
Alice Weigt
6e165ceb47
fix(settings): Properly update taskbar on disconnect
...
Fixes : #3795
2016-10-24 22:47:39 -07:00
Zetok Zalbavar
2d472004cd
feat: bump font size from undersized
...
Fix #2280 .
2016-10-14 16:20:43 +01:00
Alice Weigt
22b89beaf1
fix(settings): Change test sound button to checkbox
...
Fixes #3800 & #3809
2016-10-12 03:49:03 -07:00
Diadlo
c600609f9f
Merge pull request #3756
...
Alice Weigt (1):
feat(settings): Export and copy debug log
2016-10-09 15:05:34 +03:00
Diadlo
d674722118
Merge pull request #3755
...
Alice Weigt (1):
fix(settings): Play test sound when user enables test sound
2016-10-09 14:55:45 +03:00
Alice Weigt
9b46cf6404
fix(settings): Play test sound when user enables test sound
...
Fixes #3735
2016-10-09 04:37:15 -07:00
Alice Weigt
3c6bd043a0
feat(settings): Export and copy debug log
...
Fixes #2890
2016-10-09 04:20:57 -07:00
Diadlo
15181c431a
fix(avform): Fixed empty value in audio and video lists
2016-10-09 00:51:33 +03:00
Diadlo
f5f7b5abba
fix(i18n): Remove HTML tags from translation
2016-10-09 00:32:24 +03:00
Diadlo
13baf9326d
fix(uiform): Added format constraints
2016-10-08 01:01:06 +03:00
Diadlo
d909d99bd2
feat(uiform): Separated time and date format and examples
2016-10-08 01:01:06 +03:00
agilob
661388d731
fix(timeformat): Remove duplicate of timeformat
2016-10-08 01:01:06 +03:00
agilob
d6f323cefc
fix(timeformat): Make timestamp editable same as date format
2016-10-08 01:01:06 +03:00
Nils Fenner
35e7da85d3
fix(timeformat): Fixed list of available time formats
2016-10-08 01:01:06 +03:00
Nils Fenner
b3083250ff
feat(dateformat): Edit the date format string
...
The edited date format string is saved in the qTox settings.
It is overwritten by selecting one of the default date format strings.
2016-10-08 01:01:06 +03:00
sudden6
86a9c5fe26
Merge pull request #3788
...
Keegan Drake H.P (2):
fix(audio): keep the data pointed to by tmpDevName in scope
style(audio): remove redundant checks in src/audio/audio.cpp
2016-10-07 23:48:53 +02:00
sudden6
c8bde5bc45
fix(i18n): remove HTML from translations
...
fixes #3781
2016-10-07 23:23:33 +02:00
Keegan Drake H.P
099d7d0ac6
style(audio): remove redundant checks in src/audio/audio.cpp
...
This change removes an unnecessary ternary expression from both
Audio::initInput and Audio::initOutput.
2016-10-06 04:26:06 -05:00
Keegan Drake H.P
af37fa7b20
fix(audio): keep the data pointed to by tmpDevName in scope
...
Fix the use after free in Audio::initInput and Audio::initOutput
by storing the buffer returned by QString::toUtf8 (which contains data
pointed to by tmpDevName) in an intermediate variable, preventing the
buffer from falling out of scope for the duration of the function.
Fixes #3786
2016-10-06 02:33:58 -05:00
Zetok Zalbavar
3c9f8a68e2
style: remove unnecessary semicolon for Q_DECLARE_FLAGS
...
Fixes a -Wpedantic warning.
2016-10-05 12:18:09 +01:00
Zetok Zalbavar
bbdd4f044c
fix(UI): bump default emoticon size, since otherwise it can be too small
...
E.g. #3777
2016-10-04 10:05:47 +01:00
Zetok Zalbavar
1d4ea1ec40
fix(UI): string for option auto-accepting files
...
Regressed in 7fe8a86c03
.
2016-10-02 09:02:06 +01:00
sudden6
29da2210c9
feat(smileys): try to load smileys from XDG_DATA_DIR directories
...
This provides a location where users can store custom smiley packs
2016-10-01 23:22:33 +02:00
sudden6
610e21169a
Merge pull request #3442
...
Jeanbon (1):
feat(autoAnswer): add auto answer feature
2016-09-26 19:13:16 +02:00
Jeanbon
7fe8a86c03
feat(autoAnswer): add auto answer feature
2016-09-25 19:31:03 +02:00
Diadlo
7c4e9e6153
Merge pull request #3741
...
bitok (1):
refactor: fixes of static analyze warnings
2016-09-25 00:57:04 +03:00
sudden6
febde259bc
Merge pull request #3738
...
iphydf (1):
refactor: Avoid RTTI by using qobject_cast.
2016-09-24 12:06:41 +02:00
Zetok Zalbavar
355cd453e3
Merge pull request #3717
...
Diadlo (2):
fix(text): Change idealSize calculation
refactor(text): Add early break
2016-09-23 21:47:56 +01:00
bitok
2c03257700
refactor: fixes of static analyze warnings
...
There is many static analyze warnings for qTox. Fixed most dangerous and several simple.
2016-09-23 14:47:53 +01:00
iphydf
d94712b2e2
refactor: Avoid RTTI by using qobject_cast.
...
This allows us to save some memory and executable size by removing the
need to generate and compile C++ RTTI.
2016-09-23 03:14:58 +01:00
Diadlo
4ecbf616dc
refactor(rawdatabase): Added license text
2016-09-21 23:29:46 +03:00
Diadlo
6c9f77530e
refactor(rawdatabase): Small style refactor
2016-09-21 23:29:46 +03:00
Diadlo
85ee69f008
fix(rawdatabase): Added anonymizing SQL query in logs
...
Fixed #3399 .
2016-09-21 23:29:46 +03:00
Diadlo
c3bf4b7085
refactor(text): Add early break
2016-09-21 14:13:38 +03:00
Diadlo
c8512fa984
fix(text): Change idealSize calculation
...
Ideal size of doc can not be used because in the case of using it for
boundingRect (which uses 0,0 as the upper-left corner) leads to the
clipping right side of RTL languages.
Fixed #1887 .
2016-09-21 14:08:28 +03:00
Diadlo
601c53e516
Merge pull request #3714
...
PKEv (1):
fix(settings): correct empty listbox audio device
2016-09-17 22:22:18 +03:00
PKEv
84a9570039
fix(settings): correct empty listbox audio device
...
fix incorrect checking index
fix #3709
2016-09-16 09:49:01 +03:00
Diadlo
212ab1d416
Merge pull request #3713
...
PKEv (1):
fix(settings): correct default value of dateformat
2016-09-15 22:51:00 +03:00
Diadlo
6f0431ae50
fix(settings): Use old settings instead of default values
...
Using rollback instead of default values will save old settings
Fixed #3706 .
2016-09-14 00:54:01 +03:00
PKEv
e794acbccc
fix(settings): correct default value of dateformat
...
incorrect values of a default date format field remains empty in form
fix #3707
2016-09-13 14:35:47 +03:00
sudden6
077a844461
Merge pull request #3702
...
Vincas Dargis (1):
fix(widget): do not block logout on Linux desktop environments v2
2016-09-12 12:56:25 +02:00
sudden6
c3800b937e
Merge pull request #3686
...
iphydf (1):
chore: Shorten source file names in log messages.
2016-09-12 12:51:36 +02:00
Diadlo
da9366c70d
refactor: Removed HTML tags from translation
...
Fixed #2985 .
2016-09-11 13:21:04 +03:00
Diadlo
a7ddf5ef56
refactor(profileform): Removed HTML tags from translation
2016-09-11 00:06:14 +03:00
Diadlo
2d63e441d4
refactor(about): Removed HTML tags from translation
2016-09-11 00:06:14 +03:00
Diadlo
fde9ad5356
fix(i18n): Removed extra tag from translation
2016-09-11 00:06:06 +03:00
Diadlo
4d8e704c30
Merge pull request #3691
...
Diadlo (1):
fix(settings): Fixed group to load makeToxPortable setting
2016-09-10 23:43:51 +03:00
Vincas Dargis
6b00779dde
fix(widget): do not block logout on Linux desktop environments v2
...
Revert commit 191fc15b9f
to use closeEvent()
but without QEvent::ignore() which blocked logout on various Linux desktops,
and without redundant hide(). Previous fix with hideEvent() produced
regressions because hide() is used in various places, which produced closing
behavior.
Since qApp->setQuitOnLastWindowClosed(false) is used, and
Qt::WA_DeleteOnClose is *NOT* used, default closeEvent() handling is enough
for implementing close-to-systray feature.
Improves fix for #1485 and closes #3699
2016-09-10 17:39:50 +03:00
Diadlo
191fc15b9f
Merge pull request #3687
...
Vincas Dargis (1):
fix(widget): do not block logout on Linux desktop environments
2016-09-06 16:12:16 +03:00
Diadlo
a3c201d3b2
fix(settings): Fixed group to load makeToxPortable setting
...
Fixed #3681 .
2016-09-06 15:15:28 +03:00
sudden6
894b47ad77
Merge pull request #3635
...
iphydf (1):
chore: Make the windows code compatible with TCHAR.
2016-09-05 22:00:37 +02:00
iphydf
e20dffab07
chore: Make the windows code compatible with TCHAR.
...
This adds support for multi-byte builds. Users building qTox in
multi-byte instead of unicode mode would otherwise get compiler errors.
This is one step in the direction of making qTox a library with the UI
being just one application of it: it gives library users a choice of how
they build it.
2016-09-05 20:07:17 +01:00
Vincas Dargis
7ee883bcc7
fix(widget): do not block logout on Linux desktop environments
...
Change closeEvent() to hideEvent() for handling main window closing.
Close event is no longer ignored, which prevented logging out from
various Linux desktop environments.
Closes #1485
2016-09-04 22:15:10 +03:00
Zetok Zalbavar
f41dbf5324
chore: add a TODO with removal date for deprecated historykeeper
...
Closes #3654
2016-09-04 19:03:16 +01:00
iphydf
153ebb339d
chore: Shorten source file names in log messages.
...
In cmake builds, `__FILE__` is the absolute file path. In qmake, it's a
relative path. For in-tree qmake builds, it would be `"src/..."`, for
out of tree, it could be `"../src/..."` or `"../qTox/src/..."` or any
other relative path depending on how qTox was built. This change
normalises them to paths based in src.
2016-09-04 18:29:30 +01:00
Diadlo
76c4cf7d39
Merge pull request #3648
...
Diadlo (1):
refactor(toxdns): Removed using of toxdns
2016-09-01 23:43:46 +03:00
Nils Fenner
b7d12222ae
Merge pull request #3668
...
Diadlo (1):
fix: Fixed crash on profile import
2016-08-31 11:51:25 +02:00
Diadlo
a130a60e9a
fix: Fixed crash on profile import
...
Fixed #3660 . Removed using of GUI class in Profile Importer. Because, it
cannot be used before Nexus instance will be created. As result, it
provide crash in some cases.
2016-08-31 11:47:30 +03:00
Diadlo
4a5f89bb98
feat(reconnect): Made Reconnect
button wider
...
After #3457 `Reconnect` button was moved on `Advanced` tab. It can be
harder to find it (#3662 ). So it made wider.
2016-08-28 03:32:53 +03:00
Diadlo
f197523155
fix(settingsform): Fix layout spacing
2016-08-26 16:30:22 +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
fad6cb8e86
refactor: Fixed typo
2016-08-26 13:53:58 +03:00
Diadlo
b6f14a658f
docs(settingsform): Added docs to settings forms
2016-08-26 13:51:27 +03:00
Diadlo
db758e29c5
refactor: Remove html tags from author block
2016-08-26 13:20:12 +03:00
Diadlo
740d91b61a
fix(settings): Added loader for old settings
2016-08-26 13:20:12 +03:00
Diadlo
61f81b824d
refactor: Remove html tags from 'IMPORTANT NOTE'
2016-08-26 13:20:12 +03:00
Diadlo
f0402bb3d3
refactor(settings): Changed manual connects to auto-connections
2016-08-26 13:20:12 +03:00
Diadlo
f0e26e0f48
refactor(proxy): Changed port type on unsigned int.
2016-08-26 13:11:57 +03:00
Diadlo
4dfe3ec226
feat(settings): Moved proxy to personal settings
...
Fix #2465
2016-08-26 13:11:57 +03:00
Diadlo
9499bdd458
feat(settings): Added privacy block
2016-08-26 13:11:57 +03:00
Diadlo
a1041ed11a
feat(settings): Deleted settings header
2016-08-26 13:11:57 +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
Diadlo
ef70b20a2b
refactor(avform): Changed combobox index checks on asserts
2016-08-25 22:48:23 +03:00
Diadlo
9478377868
feat(avform): Made warning and debug info more useful
2016-08-25 13:13:09 +03:00
Diadlo
08229735b2
feat(avform): Added automatic screen rescan
2016-08-24 22:35:31 +03:00
Diadlo
eaccbf3da9
fix(avform): Added shift screen region
...
Fix #3552 .
2016-08-24 22:35:31 +03:00
Diadlo
26a27cf3f8
fix(videomode): Added ability to store negative coordinates
2016-08-24 22:35:31 +03: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
Zetok Zalbavar
b5efc2bb71
fix: hide option to Load automatically
for encrypted profiles
...
There have been numerous issues about it from confused users,
e.g. #2698 , #2870 , #3638 . Clearly tooltip alone is not enough.
Could have been done long time ago in #2818 , if not for naive belief
that tooltip will suffice.
2016-08-20 19:08:57 +01:00
initramfs
54350fd24f
chore(aboutform): update license year to include 2016
2016-08-20 15:52:43 +08:00
Diadlo
60aea2c2b4
docs: Removed comments which will not be in api doc
2016-08-19 00:20:24 +03: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
Diadlo
672744de96
docs(audio, video): Added leading stars
2016-08-19 00:20:23 +03:00
Diadlo
956a04af8d
docs(net): Added leading stars
2016-08-19 00:20:23 +03:00
Diadlo
902828fcc2
docs(persistence): Added leading stars
2016-08-19 00:20:23 +03:00
Diadlo
1332abed11
docs(chatlog): Added leading stars
2016-08-19 00:20:23 +03:00
initramfs
ef157ca8af
fix(video): fix scaling issues under HiDPI displays with desktop video
...
This commit fixes missing scaling factors with desktop video to allow
desktop video under HiDPI scaling to work as intended. Also removes a
few obsolete lines of scaling that that was required for older Qt
versions.
2016-08-16 14:27:56 +08:00
Zetok Zalbavar
79c249be55
fix: use qAbs()
instead of abs()
for better platform compatibility
...
Apparently FreeBSD doesn't include by default `stdlib.h` that provides
`abs()`.
Fix suggested by @antis81.
Fixes #3613 .
2016-08-15 23:27:44 +01:00
Nils Fenner
63db185b6b
refactor(settings): connect "value changed" signals to settings
2016-08-14 18:08:45 +02:00
Nils Fenner
e2f9d2cfe8
fix(settings): const getters
2016-08-14 18:08:45 +02: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
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
Nils Fenner
018360887e
refactor(audio): remove obsolete signal "groupAudioPlayed"
2016-08-08 14:22:02 +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
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
sudden6
dca537954c
Merge pull request #3555
...
Diadlo (1):
feat(main): Changed time in logs on UTC.
2016-07-28 21:29:26 +02: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
Diadlo
52ff1c2aa8
docs(net): Change comment style
2016-07-27 01:23:31 +03:00
Diadlo
394c4bcc99
docs(chatlog): Change comment style
2016-07-27 01:23:31 +03:00
Diadlo
29443040fb
docs(audio, video): Change comment style
2016-07-27 01:23:27 +03:00
Diadlo
3edd84c4d8
refactor(videomode): Move implementation in cpp file
2016-07-27 00:40:15 +03:00
Diadlo
4018c0041b
feat(main): Changed time in logs on UTC.
...
Fix #3554 .
2016-07-26 14:06:48 +03:00
Diadlo
6e1ef70651
fix(avform): Changed "best modes" search algorithm.
...
Mentioned in #3535 by @BiTOk
2016-07-24 23:07:02 +03:00
sudden6
1c8a7e49c1
Merge pull request #3534
...
Diadlo (1):
fix(corevideosource): Partial revert of ef641ce6d3
2016-07-24 16:00:45 +02:00
sudden6
d1da8a9ba4
Merge pull request #3533
...
Nils Fenner (2):
fix(screen-grabber): fix crash
refactor(chatform): cleanup if block and use positive comparison
2016-07-24 15:47:16 +02: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
b1adef2fd0
fix(corevideosource): Partial revert of ef641ce6d3
...
Fixes crash, during video call with "None" video device.
Fixes #3527 .
2016-07-23 11:01:23 +03:00
Nils Fenner
2d520322a7
refactor(chatform): cleanup if block and use positive comparison
2016-07-21 10:51:50 +02:00
Nils Fenner
780a017928
fix(screen-grabber): fix crash
2016-07-21 10:49:50 +02:00
Nils Fenner
ff92a55950
refactor(avform): use auto-connections in ui signals
2016-07-20 23:49:12 +02:00
Nils Fenner
de438f1c23
fix(settings): block signals during initialization
...
Prevents unexpected writes to settings during object creation, which can potentially mess up various settings values.
2016-07-20 23:49:12 +02:00
Nils Fenner
c9dbfa5eac
fix(avform): initialize slider value from settings
2016-07-20 23:49:12 +02:00
Nils Fenner
da94b4b83f
refactor(avform): fixed type conversion warnings and coding style
2016-07-20 23:49:12 +02: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
9301512936
feat(l10n): add Uighur language to UI
2016-07-19 19:21:17 +01:00
sudden6
b5c8c60d81
Merge pull request #3505
...
Colomban Wendling (1):
fix(x11grab): try and use the current display
2016-07-16 23:50:12 +02:00
sudden6
56fe94dd5e
Merge pull request #3512
...
TheNain38 (1):
fix(groupinviteform): escape HTML
2016-07-16 23:40:14 +02:00
TheNain38
24f0b11a4d
fix(avform): make "Screen" translatable
2016-07-14 13:05:28 +02:00
TheNain38
e4bc857037
fix(groupinviteform): escape HTML
2016-07-14 12:46:15 +02:00
sudden6
9bd8ec0193
Merge pull request #3506
...
Nils Fenner (1):
fix(about-qtox): fix QString "missing argument" warning
2016-07-13 21:43:43 +02:00
Nils Fenner
f2f48a8f07
fix(about-qtox): fix QString "missing argument" warning
2016-07-13 13:33:59 +02:00
Diadlo
f8eda7eb57
style(core): Style fixes
2016-07-13 01:54:37 +03:00
Diadlo
9471065feb
style(platform): Style fixes
2016-07-13 01:54:37 +03:00
Diadlo
20d3225f29
style(chatlog, persistence): Style fixes
2016-07-13 01:54:37 +03:00
Diadlo
2258748d28
style(audio, video): Style fixes
2016-07-13 01:54:37 +03:00
Diadlo
76f694fe73
style(widget): Style fixes
2016-07-13 01:54:30 +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
Colomban Wendling
294bdab77f
fix(x11grab): try and use the current display
...
Don't hard-code ":0" as the display and try and use the DISPLAY
environment variable instead.
This fixes screen grabbing under X11 when the user is not on screen 0.
Fix #3500 .
2016-07-12 21:31:33 +02:00
sudden6
e97a870c0f
Merge pull request #3392
...
Diadlo (12):
refactor(avform): Extracted functions with best mode search and combo box filling
refactor(avform): Replace `bestModeInds` on videoMode index and video height as quality name
refactor(avform): Separeted search of preferred index in function
fix(avform): Took default resolution from middle of list
feat(videomode): Added possible video shift
feat(cameradevice, avform): Added ability of screen selection
feat(avform, screenshotgrabber): Added custom screen region selection
style(corevideosource): Small style fixes
fix(videoframe): Added correct image copy
fix(avform): Added restoring selected region
feat(camerasource): Change default video mode to preferred
fix(directshow): Fixed problem with crosses initialization
2016-07-12 19:56:41 +02:00
sudden6
0a595ea679
Merge pull request #3453
...
Diadlo (2):
fix(genericchatform): Fixed position of screenshot button
fix(video): Changed minimum window size with video
2016-07-12 19:49:29 +02:00
Nils Fenner
b7f65ffe28
refactor(chat): fix type conversion warnings
2016-07-12 10:26:25 +02:00
Nils Fenner
b204d0abad
refactor(chat): cleanup document cache
2016-07-12 10:26:25 +02:00
Nils Fenner
b99a9e494a
refactor(chat): cleanup elided text
2016-07-12 10:26:25 +02:00
sudden6
939c97a0e9
Merge pull request #3441
...
Andrew Morgan (1):
feat(textstyle): Change markdown syntax to be more intuitive
2016-07-11 21:52:58 +02:00
Nils Fenner
989b15e656
fix(chat): cleanup chat css base style
...
fix chat area's inner stylesheet
note: the base font is never a bold font (respects html tags: e.g. <b>bold text</b>)
fix block colors:
* action -> blue
* alert -> red
* quote -> green
2016-07-10 13:43:50 +02:00
Diadlo
f8a45b4051
fix(video): Changed minimum window size with video
...
Fix #3396 .
2016-07-09 22:15:04 +03:00
Diadlo
86e44143ad
fix(genericchatform): Fixed position of screenshot button
...
Fix #2427 .
2016-07-09 22:15:04 +03:00
Andrew Morgan
32e48a979c
feat(textstyle): Change markdown syntax to be more intuitive
...
BREAKING CHANGE: Current markdown syntax is unintuitive, and thus we have agreed on switching to @SkyzohKey's implementation. Replaces all instances of Markdown with Text Styling. Closes #3404 .
2016-07-07 20:07:22 -07:00
Diadlo
ed04b2debf
style(toxcall): Copy constructor return non-const reference
2016-07-08 01:21:31 +03:00
sudden6
1bd86f7eee
Merge pull request #3475
...
a68366 (2):
fix(groupinviteform): consider dateTime format in group invites
fix(generalform): call UI retranslation when date or time format changes
2016-07-08 00:09:26 +02:00
sudden6
06475b7424
Merge pull request #3411
...
PafXUS (1):
fix(persistence): pass by reference to const
2016-07-08 00:07:44 +02:00
sudden6
5be249e3fe
Merge pull request #3450
...
Diadlo (1):
fix(widget): Added saving window state before closing
2016-07-07 23:57:56 +02:00
Diadlo
bfb5dae6fa
fix(widget): Added saving window state before closing
...
It's needed if user setup `Close to tray`
Fix #3397 .
2016-07-08 00:32:34 +03:00
sudden6
ee0294bb4c
Merge pull request #3464
...
Andrew Morgan (1):
feat(chatform): Disable call buttons if friend is offline
2016-07-07 23:31:54 +02:00
a68366
d601599de8
fix(generalform): call UI retranslation when date or time format changes
...
Needed to update date and time display.
2016-07-08 00:18:12 +03:00
a68366
6030b083b1
fix(groupinviteform): consider dateTime format in group invites
...
Closes #3058
2016-07-07 00:55:23 +03:00
Nils Fenner
b4a87a3a0e
Merge PR #3447 branch from 'anoadragon453:nautilus-fix'
2016-07-05 10:38:02 +02:00
Nils Fenner
1dd730841a
refactor(chat-settings): use safe methods to get the font's pixel size
...
Further rename the pixel size vars to improve readability.
2016-07-05 08:48:09 +02:00
Nils Fenner
9ec5c11caa
fix(chat-settings): change order during chat-base-font UI initialization
...
Setting "currentFont" fires a "currentFontChanged" signal, causing the wrong font pixel-size. After changing the order, the values still overwrite the font settings - yet with the correct values. Probably all signals should be blocked in c'tor during initialization of the settings widget(s) to avoid overwriting any settings.
2016-07-05 08:48:09 +02:00
Andrew Morgan
bbefe0119d
feat(chatform): Disable call buttons if friend is offline
...
Call buttons would be enabled but non-functional if you were looking at a friend who was offline. We now check if the friend is offline and disable the call buttons if so.
2016-07-04 01:05:13 -07:00
tux3
2bdd9824c7
fix(ui): Prevent suicide crash on logout
...
Fixes #2480
The GUI was deleting itself on logout, but was doing while deep inside the middle of GUI code, resulting in a series of use-after-free on the return path. We now freeze the GUI and logout asynchronously in a more suitable call stack.
2016-07-03 12:49:13 +02:00
Andrew Morgan
881409b91f
fix(profile): Fix for opening file dialog using Nautilus file manager
...
Importing a profile, saving a QR code image or setting an auto-accept directory using Nautilus as the default file manager, which many users use, was causing a hang in Qt's method. Setting Qt to use it's own file manager in this circumstance fixes the issue. Closes #3436 , closes #3443 .
2016-07-02 15:17:02 -07:00
Nils Fenner
9694d6b6d4
fix(audio): actually disable the audio in/out device in settings, when selected
...
As esecially the "Disabled" text is translated, the audio device will change from "disabled" to "default", just by changing the language.
In contrast to video devices, an audio device is either always available, or sound will be disabled. So "Disabled" is the correct term to use here.
2016-07-01 10:41:41 +02:00
Nils Fenner
81df534c9a
refactor(audio): cleanup initialization of audio device lists
...
API:
* open default in/out device, when device name is empty
* move privatized code
* fix unsigned/signed conversion warnings
UI (settings):
* refactor: select audio devices by combobox index
2016-07-01 10:41:41 +02:00
Nils Fenner
bec635ad11
refactor(audio): cleanup initialization of audio device lists
...
* move private code
* fix unsigned/signed conversion warnings
2016-07-01 10:41:41 +02:00
Nils Fenner
6189ecbf47
refactor(chatform): use reference var when initializing from settings
2016-06-30 20:24:00 +02:00
Nils Fenner
41c96eb159
feat(chat): add the ui settings to alter font and size for chat messages
2016-06-30 20:24:00 +02:00
Nils Fenner
67136e29ed
feat(chat): consistent use of the chat font settings
...
Note: Currently a CSS stylesheet has to be set, resembling the font settings for the HTML document, that is used to render chat messages.
2016-06-30 20:24:00 +02:00
Nils Fenner
8ba2054190
feat(chat): add settings to alter the chat view's base font
...
Defaults to GUI style font according to previous behavior.
2016-06-30 20:24:00 +02:00
Diadlo
bf7c62d6fa
fix(chatform, screenshotgrabber): Fixed memory leak
...
Memory for ScreenshotGrabber was allocated, but don't deallocated
2016-06-30 14:45:47 +03:00
sudden6
2c49ada955
Merge pull request #3445
...
Diadlo (2):
fix(main): Closing file before removing
style(main): Small style fixes
2016-06-30 13:13:13 +02:00
sudden6
35669cb12b
Merge pull request #3446
...
Diadlo (1):
fix(addfriendform): Fixed problem with reading friend request
2016-06-30 13:09:06 +02:00
Diadlo
7be8ad01da
fix(addfriendform): Fixed problem with reading friend request
...
Fix #3421
2016-06-28 23:07:47 +03:00
Diadlo
104c7c6e0c
style(main): Small style fixes
2016-06-28 22:42:49 +03:00
sudden6
4f493c5df7
Merge pull request #3424
...
Colomban Wendling (1):
refactor(passwordedit): optimize event handler unregistration
2016-06-28 19:03:13 +02:00
Diadlo
29ab61efdf
fix(main): Closing file before removing
...
Fix #3440
2016-06-26 21:13:39 +03:00
Zetok Zalbavar
dc26379eeb
Merge pull request #3437
...
Vincas Dargis (1):
fix(loginscreen.cpp): fix password input focus after mouse click
2016-06-25 16:20:53 +01:00
Zetok Zalbavar
6e2cca7ad1
Merge pull request #3433
...
Vincas Dargis (1):
fix(chattextedit.cpp): fix drag-and-drop to be consistent across systems
2016-06-25 16:14:56 +01:00
Vincas Dargis
6e8ea15a15
fix(loginscreen.cpp): fix password input focus after mouse click
...
Add setFocus() call to make password input focus work after user
clicks Load button (hence losing focus) with invalid password.
Without this patch, focus only works when using Enter key to login.
2016-06-25 17:45:14 +03:00
Diadlo
504ad534e0
fix(directshow): Fixed problem with crosses initialization
2016-06-25 14:20:13 +03:00
Diadlo
c3de6238ca
feat(camerasource): Change default video mode to preferred
2016-06-25 14:20:13 +03:00
Diadlo
1c5158213d
fix(avform): Added restoring selected region
2016-06-25 14:20:13 +03:00