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
Diadlo
1ddc1371a0
fix(videoframe): Added correct image copy
2016-06-25 14:20:13 +03:00
Diadlo
ef641ce6d3
style(corevideosource): Small style fixes
2016-06-25 14:20:13 +03:00
Diadlo
9cfd678c26
feat(avform, screenshotgrabber): Added custom screen region selection
2016-06-25 14:20:13 +03:00
Diadlo
d781a4f762
feat(cameradevice, avform): Added ability of screen selection
2016-06-25 14:20:08 +03:00
Diadlo
fd701df101
feat(videomode): Added possible video shift
2016-06-25 14:19:46 +03:00
Diadlo
2d861ee25b
fix(avform): Took default resolution from middle of list
2016-06-25 14:19:46 +03:00
Diadlo
33729dcf4a
refactor(avform): Separeted search of preferred index in function
2016-06-25 14:19:45 +03:00
Diadlo
3f82396173
refactor(avform): Replace bestModeInds
on videoMode index and video height as quality name
2016-06-25 14:19:45 +03:00
Diadlo
6f3ef0cf59
refactor(avform): Extracted functions with best mode search and combo box filling
2016-06-25 14:19:45 +03:00
Andrew Morgan
fca5f15532
fix(markdown): Remove spaces from markdown translation
...
Spaces were being inserted before and after markdown translated code which could potentially change intended meaning and/or presentation of the user's message. I believe these were necessary for dealing with an earlier bug but from my testing they are no longer needed.
2016-06-25 01:59:11 -07:00
Vincas Dargis
70fc247b70
fix(chattextedit.cpp): fix drag-and-drop to be consistent across systems
...
Add explicit setAcceptDrops(false) to allow parent widget to handle
drag-and-drops consistently across various desktop environments.
Closes : #2847
2016-06-24 20:26:45 +03:00
Eugene
684835de1b
feat(l10n): add initial Belarusian translation from weblate
2016-06-23 22:52:56 +01:00
Colomban Wendling
ebc3a60e97
refactor(passwordedit): optimize event handler unregistration
...
Only search the vector once, and using old enough Qt API.
Follow up to #3418 .
2016-06-21 02:49:38 +02:00
Vincas Dargis
f18db4fd50
fix(passwordedit.cpp): Fix build issue with Qt 5.3
...
QVector<T>::removeOne() was added in Qt 5.4, and this method usage
broke build for Debian 8 whitch has Qt 5.3.2.
Add alternative implementation and comment for the future to use
removeOne() when this becomes possible.
Closes #3416
2016-06-19 19:15:09 +03:00
sudden6
fd2e5859fb
Merge pull request #3383
...
Colomban Wendling (10):
fix(capslockindicator): fix altering the line edit height
fix(capslock_x11): properly release the X display handle
refactor(capslockindicator): encapsulate event handling
fix(capslockindicator): also update indicator when the app gets focus
refactor(capslockindicator): expose as a QAction to simplify API
refactor(capslockindicator): use a single shared event handler
refactor(capslockindicator): avoid overhead on OSX
refactor: replace CapsLockIndicator with new PasswordEdit widget
fix(passwordfields): use PasswordEdit widget for all password fields
refactor(passwordedit): don't add the caps indicator at all if disabled
2016-06-19 13:49:28 +02:00
PafXUS
e852ed92f6
fix(persistence): pass by reference to const
2016-06-18 07:49:40 +03:00
Colomban Wendling
473b29b2a7
refactor(passwordedit): don't add the caps indicator at all if disabled
2016-06-18 00:45:31 +02:00
Colomban Wendling
e3d0cc0e55
fix(passwordfields): use PasswordEdit widget for all password fields
...
Fixes #3378 .
2016-06-17 21:55:27 +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
Colomban Wendling
3454f96d4c
refactor(capslockindicator): avoid overhead on OSX
...
On OSX the indicator is disabled, so avoid most of the overhead by not
listening to any events that wouldn't lead to any change anyway.
2016-06-17 21:55:27 +02:00
Colomban Wendling
61892d0c18
refactor(capslockindicator): use a single shared event handler
...
Optimize the implementation by using a single shared event handler,
managing the caps lock state check and propagating it appropriately to
all instances at once.
2016-06-17 21:55:27 +02:00
Colomban Wendling
6a40ca0b55
refactor(capslockindicator): expose as a QAction to simplify API
2016-06-17 21:55:27 +02:00
Colomban Wendling
2fe41071be
fix(capslockindicator): also update indicator when the app gets focus
...
This allows to have an up-to-date indicator when the caps lock state
changed outside of the application and the user comes back to it, even
if it doesn't trigger a Show event (e.g. the window was visible all the
time).
2016-06-17 21:55:27 +02:00
Colomban Wendling
5fc67284cd
refactor(capslockindicator): encapsulate event handling
...
Use an event filter on QCoreApplication instead of requiring the caller
to manually call updateIndicator() when the caps lock state changed.
2016-06-17 21:55:19 +02:00
Colomban Wendling
f9190734d7
fix(capslock_x11): properly release the X display handle
...
This fixes caps lock detection after a while, and removes the "Maximum
number of clients reached" message on stdout.
2016-06-15 18:44:12 +02:00
Colomban Wendling
a13c566736
fix(systemtrayicon): don't set an invalid and useless icon on GTK
...
* The initial status icon to set on GTK didn't exist (anymore?).
* GTK resources aren't compatible with Qt's, so the resource lookup
couldn't work anyway, even if it did exist.
* The caller calls SystemTryIcon::setIcon() right after instancing it
anyway, so there's no need for an initial icon.
This fixes a runtime critical warning from GTK as we tried to unref a
NULL icon, which is invalid.
Fixes #3154 .
2016-06-14 19:52:33 +02:00
Colomban Wendling
cf4c46ff0b
refactor(systemtrayicon): unify QIcon to GdkPixbuf conversion
...
Also simplify the memory management by using the C++ allocator and by
using the bytes directly as passed to the free callback instead of
passing it again as user data.
2016-06-14 19:50:38 +02:00
a68366
c17c3405bf
fix(widget): properly open chat window
...
Closes #3386
2016-06-14 00:12:28 +03:00
sudden6
6173199a5b
fix(widget): rename "Activate" to "Show"
2016-06-13 16:46:42 +02:00
Colomban Wendling
653e0b5af2
fix(capslockindicator): fix altering the line edit height
...
Fix altering the Line Edit widget height when the indicator is on (e.g.
when caps lock is active).
To avoid messing with the style and all the complex issues that arise
from it, use an action to display the icon inside the line edit, as it
is a built-in feature that work just fine.
Fixes #3379 .
2016-06-12 23:57:10 +02:00
sudden6
a851a5b18d
feat(systemtray): add "Show" action to context menu
...
Makes it possible for all users to get qTox back from the tray.
2016-06-12 22:29:17 +02:00
sudden6
f74ba9131c
Merge pull request #3376
...
Colomban Wendling (1):
fix(video): do not list the same mode twice
2016-06-12 22:19:54 +02:00
sudden6
53953912e0
Merge pull request #3375
...
Colomban Wendling (1):
feat(video): add setting for 120p very-low-res video
2016-06-12 22:18:03 +02:00
Colomban Wendling
03c3923694
fix(video): do not list the same mode twice
...
Do not provide more than one entry in the settings for the same actual
mode, even if it was selected for different expected resolutions.
For example, do not list 640x480 twice for both 480p and 360p if the
device doesn't have a better 360p mode, and simply skip the 360p entry.
2016-06-12 16:21:15 +02:00
sudden6
3f4a0abe6b
feat(smileys): add emojione emoji-pack and make it the default
...
Thanks to @ProMcTagonist who suggested to use emojis from emojione.com
Fixes #3315
2016-06-12 15:50:43 +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
124769017d
fix(capslockindicator): Fix position of capslock indicator
2016-06-12 01:34:02 +03:00
sudden6
5e5e27cf60
Merge pull request #3365
...
PafXUS (4):
fix(widget): delete icon in destructor
fix(systemtrayicon): delete qtIcon in destructor
fix(profileform): set parent for validator
fix(friendwidget): check pointer before using it
2016-06-11 20:45:38 +02:00
Colomban Wendling
6045ced3f8
feat(video): add setting for 120p very-low-res video
2016-06-11 20:16:03 +02:00
Colomban Wendling
b4df3c8b4a
fix(video): fix video resolution setting
...
Index the filtered modes we show to the user when selecting from the
combobox, not the full list of modes actually supported by the device.
Fixes #1033 .
2016-06-11 20:13:28 +02:00
Zetok Zalbavar
76239aa890
chore(l18n): update translation files for Weblate
...
Also add Esperanto.
2016-06-09 17:20:49 +01:00
sudden6
8589f944aa
Merge pull request #3360
...
Alexander Zhdanov (3):
feat(genericchatform): add "Quote selected text" feature to chat window
docs(user_manual_en.md): add some documentation about quotes
docs(user_manual_en.md): fix documentation about quotes
2016-06-08 23:59:03 +02:00
sudden6
e8a4599f69
Merge pull request #3348
...
a68366 (1):
fix(widget): open a chat window instead of contacts list in multi-window mode
2016-06-08 22:35:24 +02:00
PafXUS
e24f3dbc20
fix(friendwidget): check pointer before using it
2016-06-08 22:31:05 +03:00
PafXUS
93c6aa8ac0
fix(profileform): set parent for validator
2016-06-08 22:31:04 +03:00
PafXUS
f997d51b66
fix(systemtrayicon): delete qtIcon in destructor
2016-06-08 22:31:03 +03:00
PafXUS
f82f49da4d
fix(widget): delete icon in destructor
2016-06-08 22:30:51 +03:00
Diadlo
d7da2f98c0
style(capslockindicator): Fixed code style
2016-06-07 11:34:12 +03:00
Diadlo
bbe158c7d9
fix(capslockindicator): Tooltip color was changed. Tooltip translation was added
2016-06-07 11:27:58 +03: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
c7d485f515
feat(capslockindicator): Added tooltip
2016-06-07 11:27:58 +03:00
Diadlo
fb7fcaaa8c
feat(loginscreen): Created new CapsLockIndicator class
2016-06-07 11:27:58 +03:00
Diadlo
cbe8fb8ef9
feat(loginform): Added caps lock indicator to newPass
2016-06-07 11:27:58 +03:00
Diadlo
97f95e7e91
feat(capslock): Added caps lock checker
2016-06-07 11:27:58 +03:00
Alexander Zhdanov
40a805c2fd
feat(genericchatform): add "Quote selected text" feature to chat window
...
add "Quote selected text" feature to chat window context menu and set keyboard shortcut ALT+Q
2016-06-06 21:46:18 +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
Zetok Zalbavar
a77afca1ec
fix: increase timer for checking offline messages timeout (again)
...
Should make duplicated messages even less common (#2726 )
Increased ~proportionally to change in
76d8e19320
2016-06-03 18:18:34 +01:00
a68366
fdf0cbb1e1
fix(widget): open a chat window instead of contacts list in multi-window mode
...
Closes #3212
2016-06-03 12:01:49 +03:00
Nils Fenner
431a10f82b
feat(audio): add slider tickmarks, improving better visible orientation
2016-06-02 22:16:58 +02:00
Nils Fenner
f72baa613f
feat(audio): add real gain control of the input device
...
The gain can be set now in dB values, providing acceptable results for a wide range of setups.
note: also introduces const-correctness and some minor cleanup.
2016-06-02 22:16:58 +02:00
Diadlo
e23eb1c5f7
feat(settings, generalform, widget): Added setting for sound notification in busy status
2016-05-15 22:26:17 +03:00
Diadlo
e7785ab4c2
feat(widget): Disable sound notification for busy
status
...
Fix #2893 .
BREAKING CHANGE: Disabling notification sound for `busy` status.
2016-05-15 22:15:44 +03:00
sudden6
3231ca2982
Merge pull request #3305
...
a68366 (2):
fix(profile): change password buttons behaviour
refactor(profile): reorder statements
2016-05-15 13:43:05 +02:00
sudden6
e0961722bf
Merge pull request #3302
...
Diadlo (1):
refactor(android): All android code is removed
2016-05-15 13:37:55 +02:00
sudden6
3830a1940c
Merge pull request #3253
...
initramfs (1):
refactor(hidpi): enable HiDPI support if Qt supports it
2016-05-15 13:14:44 +02:00
Zetok Zalbavar
dbd16ae6a3
fix: correctly tab-complete nicks starting with $
...
Without it, nicks starting with `$` would have doubled `$`.
Continuation of #1377
Pointed out by @ProMcTagonist in #1167
2016-05-15 11:54:49 +01:00
sudden6
cd26923a24
Merge pull request #3249
...
Diadlo (3):
feat(notificationscrollarea): Add ability to delete widget from traced widgets list
refactor(contentdialog): Refactor window activate event
fix(contentdialog, widget): Remove "new message" bar after reading message
2016-05-15 12:31:40 +02:00
sudden6
4f0ef6cd71
Merge pull request #3293
...
Zetok Zalbavar (1):
fix(friendlistwidget): use nullptr instead of `0`
agilob (2):
feat(i18n): make Markdown settings translatable
feat(i18n): Make activity by time labels translated by locale
2016-05-15 12:22:08 +02:00
Diadlo
6ed16db5fd
refactor(android): All android code is removed
...
Closes #3168 .
2016-05-15 02:42:20 +03:00
Diadlo
b2c1f46894
fix(contentdialog, widget): Remove "new message" bar after reading message
...
Fix #2247 .
2016-05-15 00:53:53 +03:00
Diadlo
378d648591
refactor(contentdialog): Refactor window activate event
2016-05-15 00:50:15 +03:00
Diadlo
e3d74117ca
feat(notificationscrollarea): Add ability to delete widget from traced widgets list
2016-05-15 00:50:15 +03:00
Zetok Zalbavar
f1543144be
fix(friendlistwidget): use nullptr instead of 0
...
thanks to @sudden6's suggestion
2016-05-14 19:58:29 +01:00
a68366
c236b8a1d2
refactor(profile): reorder statements
2016-05-14 15:14:54 +03:00
a68366
f9edd39bba
fix(profile): change password buttons behaviour
...
Closes #3300
2016-05-14 14:28:42 +03:00
agilob
f2aada8f4f
feat(i18n): Make activity by time labels translated by locale
2016-05-11 08:45:38 +01:00
agilob
3e22593ae7
feat(i18n): make Markdown settings translatable
2016-05-11 08:44:58 +01:00
Diadlo
d2d5b23064
feat(profileform): Added log toxme errors
2016-05-11 03:03:04 +03:00
Diadlo
98a1f23bfb
fix(i18n): Divide getting and translating Toxme error message
2016-05-10 23:28:59 +03:00
tux3
998f0915db
fix(chatform): Markdown after emojis
...
Fix #3260
2016-05-09 22:07:21 +02:00
tux3
e5d146f16f
Merge pull request #3280
...
tux3 (1):
fix(settings): Look for portable setting in module path, not CWD
2016-05-09 16:12:10 +02:00
tux3
17e57982df
fix(settings): Look for portable setting in module path, not CWD
2016-05-09 15:55:48 +02:00
tux3
0a2e96ab07
fix(updater): Use module path, not working dir
...
Fix #3255
2016-05-09 15:40:25 +02:00
Zetok Zalbavar
7c63594adf
fix(settings): correct ordering of languages
2016-05-09 07:43:04 +01:00
qTox translations
83b89f1233
feat(l10n): Add Hebrew translation from Weblate
...
Translators:
Yaron Shahrabani Hebrew
2016-05-07 20:26:16 +01:00
qTox translations
c8c7bda38e
feat(l10n): Add Danish translations from Weblate
...
Translators:
jan madsen Danish
Peter Jespersen Danish
2016-05-07 20:26:16 +01:00
initramfs
8e9a065f16
refactor(hidpi): enable HiDPI support if Qt supports it
...
Previously HiDPI support is conditionally enabled based on compilation
parameters as well as environmental variables which makes binary
distribution difficult. This commit automatically enables runtime DPI
scaling if Qt supports it (version 5.6 and beyond).
2016-05-04 18:31:24 +08:00
sudden6
4432ab6398
Merge pull request #3213
...
initramfs (3):
feat(profile): show warning on failure to delete profile
feat(profile): add a dialog to indicate profile deletion error
refactor(profile): display files that could not be deleted in prompt
2016-04-30 21:06:56 +02:00
Zetok Zalbavar
d06efd387b
feat(l10n): add Japanese translation
...
Also sort list of languages ~alphabetically.
Translation thanks to @verycrypt
Closes #3223
2016-04-30 10:04:56 +01:00
initramfs
56e15aeab1
refactor(profile): display files that could not be deleted in prompt
2016-04-30 05:10:21 +08:00
sudden6
08263e9844
Merge pull request #3214
...
initramfs (1):
fix(chat window): prevent right click from opening chat window
2016-04-29 19:58:41 +02:00
Zetok Zalbavar
8872dba3e7
refactor(i18n): remove duplicated text with HTML tags from translations
...
Starting from d121bd839b
this string is
being set from .cpp, thus there's no need to keep a duplicate with HTML
tags that make it harder to translate in .ui file.
Duplicate pointed out in #3223 by @verycrypt.
2016-04-29 18:27:13 +01:00
Zetok Zalbavar
67d01a73c4
fix(settings): make it clear that Markdown
is about text formatting
...
Close #3217
2016-04-29 18:20:01 +01:00
sudden6
1b4f3d9506
Merge pull request #3227
...
PKEv (1):
fix(widget):show unread messages notification
2016-04-29 18:19:05 +02:00
PKEv
c81e6e2dd1
fix(widget):show unread messages notification
...
fix #3193
shows notification about unread messages from contacts that are not displayed in the current view
2016-04-29 13:50:28 +03:00
initramfs
78fd245e4c
feat(profile): add a dialog to indicate profile deletion error
...
This commit adds an error dialog box that pops up upon profile delete
error to inform users to manually delete files.
2016-04-29 13:38:15 +08:00
initramfs
1dabbca94c
feat(profile): show warning on failure to delete profile
...
Adds a few qWarning() statements when files fail to delete.
2016-04-29 13:07:27 +08:00
sudden6
d9fd513a64
Merge pull request #3202
...
PKEv (1):
fix(friendwidget):the limitation of the group's name in the shortcut menu
2016-04-28 20:41:39 +02:00
PKEv
d357fe1c65
fix(friendwidget):the limitation of the group's name in the shortcut menu
...
close #3201
add the limitation of the group's name in the shortcut menu
the exclusion of the possibility of incorrect display the context menu, caused by the long group name
2016-04-28 14:37:21 +03:00
sudden6
c1826125cb
Merge pull request #3186
...
initramfs (4):
feat(status): add ability to copy status messages
feat(status): make status in about dialog copyable
refactor(status): enable text selection in about friend dialog
fix(status): explictly refer to this within lambda
2016-04-28 12:05:50 +02:00
initramfs
b9a392d59e
fix(chat window): prevent right click from opening chat window
...
Prevent a right click mouse release event from triggering a chat window
switch/launch.
Closes #3205
2016-04-27 12:19:23 +08:00
initramfs
63af0d7500
fix(status): explictly refer to this within lambda
...
Workaround for a potential gcc bug in which lambda expressions are not
being executed in the correct context.
2016-04-26 09:59:21 +08:00
sudden6
5045c460d7
Merge pull request #3199
...
PKEv (1):
feat(importProfile): Add way to import profile
2016-04-25 21:09:28 +02:00
initramfs
ae24311237
refactor(status): enable text selection in about friend dialog
...
Enables text selection in the about friend dialog, allowing selection
and copying of status and username.
2016-04-25 14:12:42 -04:00
PKEv
9ea25d1fbd
feat(importProfile): Add way to import profile
...
close #1872
change based on pr #2140 by @agilob
2016-04-25 21:12:31 +03:00
sudden6
6cd1830571
Merge pull request #3198
...
a68366 (1):
fix(widget): properly show status messages
2016-04-25 19:46:47 +02:00
sudden6
6a7dbcb2f6
Merge pull request #3191
...
Diadlo (1):
fix(core): Added emit idSet after set NoSpam
2016-04-25 19:38:59 +02:00
sudden6
ddca97a896
Merge pull request #3182
...
PKEv (1):
feat(emoticonswidget):Keep emoticon option open
2016-04-25 19:36:09 +02:00
sudden6
c7d733540a
Merge pull request #3181
...
PKEv (1):
fix(genericchatform):separate messages from different days
2016-04-25 19:26:42 +02:00
a68366
dcb8c3f323
fix(widget): properly show status messages
...
Fixes #3123
2016-04-25 16:56:52 +03:00
PKEv
d0ea5bb4fd
feat(emoticonswidget):Keep emoticon option open
...
Emoticon dialog remains open, and the selected emoticon is pasted into the text window
close #3043
2016-04-25 02:09:12 +03:00
Diadlo
e087398f56
fix(core): Added emit idSet after set NoSpam
...
Fix #1680 .
2016-04-25 01:43:36 +03:00
sudden6
6d3551548b
fix(groupaudio): don't set button to green while call running
2016-04-24 14:34:49 +02:00
sudden6
5339ad978b
fix(groupaudio): don't play audio while call is inactive
...
This also avoids logspam, because toxcore keeps recieving audio data
even if the call is inactive.
2016-04-24 14:34:49 +02:00
sudden6
afcd146a5b
fix(groupaudio): avoid deadlock when ending groupcall
...
The offending statement caused a deadlock, because the audioLock was
locked twice by the audio thread.
2016-04-24 14:34:49 +02:00
Nils Fenner
356543ca3b
feat(audio): add (repair) support for group audio calls
2016-04-24 14:34:49 +02:00
Nils Fenner
e5c7b3a4f6
refactor(audio): completely remove Audio class dependency from Core
...
The Audio singleton instance initializes itself on startup. No need for an extra call.
2016-04-24 14:34:49 +02:00
sudden6
98d513990e
fix: close groupcall if alone
2016-04-24 14:34:49 +02:00
sudden6
622b543d9a
fix: disable netcamview if no peer left
2016-04-24 14:34:49 +02:00
sudden6
db4f02a0c4
fix: audiocall button disabled in groupchats
...
change the condition for when the audiocall button is enabled
affects #2989
2016-04-24 14:34:49 +02:00
sudden6
28cecadbc4
Merge pull request #3180
...
Diadlo (1):
fix(widget, contentdialog): Added reset icon after activate chat window
2016-04-24 14:06:08 +02:00
initramfs
1935d0c6ec
feat(status): make status in about dialog copyable
2016-04-24 02:14:25 -04:00
initramfs
57ce030f1d
feat(status): add ability to copy status messages
...
Adds the ability to copy status messages via a context menu on the
status message label.
Closes issue #3155
2016-04-24 00:15:54 -04:00
Diadlo
4edc5996c7
fix(widget, contentdialog): Added reset icon after activate chat window
...
Fix #3139 .
2016-04-23 13:37:49 +03:00
sudden6
6dd1cd0320
Merge pull request #3179
...
Diadlo (1):
fix(l18n): make typing notification & groupchat name translatable
2016-04-23 12:29:52 +02:00
sudden6
56e59d0fa3
Merge pull request #3172
...
Impyy (1):
fix(profile): Don't require .ini to load profile
2016-04-23 12:28:27 +02:00
Diadlo
43e610415a
fix(l18n): make typing notification & groupchat name translatable
2016-04-23 09:12:57 +03:00
PKEv
8ebad59a3e
fix(genericchatform):separate messages from different days
...
Before this new cut-off days is only shown when the load history, now added a feature which in the current chat checks the last post date and if the date does not coincide with current - output a system message about the new date.
2016-04-23 03:37:38 +03:00
sudden6
74e7257a3e
Merge pull request #3176
...
PKEv (1):
fix(groupinviteform):make list of groups scrollable
2016-04-23 01:30:14 +02:00
PKEv
b74ecd92d2
fix(groupinviteform):make list of groups scrollable
...
fix #3085
2016-04-22 02:29:53 +03:00
Diadlo
53071e952e
fix(addfriendform, widget): Remove Accepted Request
...
Fix #3066 .
Fix #3166 .
2016-04-22 00:56:21 +03:00
Diadlo
5966c84b84
refactor(settings): Deleted unreadFriendRequests field
...
Replaced unreadFriendRequests on work with "read" field of struct Request
2016-04-21 23:33:42 +03:00
Diadlo
9f01b662bf
refactor(settings, addfriendform): Changed type of friend requests
...
QPair<QString, QString> changed on new struct Request
2016-04-21 23:33:37 +03:00
Impyy
56a36e2e0a
fix(profile): Don't require .ini to load profile
...
Fixes an issue where qtox refused to load profiles while using
the -p switch on the command line. This happened in cases where
there was no .ini file for the specified profile present.
2016-04-21 17:09:09 +02:00
Polshakov Dmitry
343568339f
style(constructors): Constructors are explicit now
2016-04-20 22:53:27 +03:00
Polshakov Dmitry
904a1d4909
perf(contentdialog): Delete redundant conditions
2016-04-20 22:53:27 +03:00
Polshakov Dmitry
2143e21e89
style(ipc, widgets, genericcharitemlayout): Small style changes
2016-04-20 22:53:27 +03:00
Polshakov Dmitry
27faec918a
fix(genericchatitemwidget, micfeedbackwidget): Added members init in the constructor
2016-04-20 22:53:27 +03:00
Polshakov Dmitry
910c41f4fa
perf(camerasource): Passed parameter by reference
2016-04-20 22:53:27 +03:00
Diadlo
25cec623fa
refactor(systemtrayicon, genericchatform): Replace C-style cast to static_cast
2016-04-20 22:53:27 +03:00
Diadlo
64a19d3419
fix(main): Added check sodium_init result
2016-04-20 22:53:22 +03:00
Diadlo
082fb4c056
refactor(videoframe, camerasource, corevideosource): Change calls deprecated functions
2016-04-20 13:17:19 +03:00
Diadlo
446626dabe
refactor(chatmessage): Delete duplicate enum MarkdownType
2016-04-20 13:17:19 +03:00
sudden6
ed9ccbe471
Merge pull request #3151
...
Jason Papakostas (1):
fix(Widget::updateIcons): workaround QIcon fallback bug
2016-04-19 18:33:05 +02:00
sudden6
b883d07b0d
Merge pull request #3142
...
Vincas Dargis (1):
fix(file transfer widget): QPushButton allows image to overflow
2016-04-17 14:21:31 +02:00
Vincas Dargis
32d588a499
fix(file transfer widget): QPushButton allows image to overflow
...
Introduced in 857dfbcd4c
Regression was due to fact that QPushButton allows icon to overflow.
This patch does:
1. Scale and crop icon to fit into button.
2. Avoid upscaling small images.
3. Refactor FileTransferWidget::showPreview() to load image from file
only once.
Closes #3042
2016-04-17 12:45:39 +03:00
Jason Papakostas
0b53c4fd5c
fix(Widget::updateIcons): workaround QIcon fallback bug
...
Some builds of Qt appear to have a bug in icon loading: QIcon::hasThemeIcon
is sometimes unaware that the icon returned from QIcon::fromTheme was a
fallback icon, causing hasThemeIcon to incorrectly return true.
In qTox this leads to the tray and window icons using the static qTox logo
icon instead of an icon based on the current presence status.
This workaround checks for an icon that definitely does not exist to
determine if hasThemeIcon can be trusted.
On systems with the Qt bug, this workaround will always use our included
icons but user themes will be unable to override them.
2016-04-16 22:21:22 -05:00
sudden6
a5611705be
Merge pull request #3127
...
Diadlo (12):
feat(toxme): Add ToxMe registration
fix(toxme): Translation fixs
fix(profileform): Fix tab order, fix loop
fix(toxme): Use format strings
feat(profileform): Added ability to change toxme server
feat(toxme): Add save toxme info
fix(toxme): Fix possible segfault
fix(toxme): Fixed potential memory leaks
fix(profileform): Fixed segfault on logut
fix(profileform): Fixed very quick relogin segfault
fix(toxme): Delete extra check
refactor(toxme): Deleted old debug messages
Polshakov Dmitry (4):
fix(profileform): Deleted extra check and extra url
fix(profileform): Add toxme username limitation
style(profileform): Changed local include brackets type
refactor(profileform): Small changes
2016-04-16 00:55:01 +02:00
Diadlo
ed606eadb4
refactor(toxme): Deleted old debug messages
2016-04-16 01:42:27 +03:00
Diadlo
d1b706a4b3
fix(toxme): Delete extra check
...
Result is checked in response "c" value
2016-04-16 01:32:37 +03:00
sudden6
27c4873dc5
Merge pull request #3134
...
Diadlo (1):
fix(core, widget): Added checks
2016-04-15 19:35:53 +02:00
sudden6
2c07b1b5b2
Merge pull request #3116
...
Diadlo (4):
fix(groupinviteform): remove deleted buttons from set
style(groupinviteform): extracted few variables
fix(groupinviteform): translation invite message
refactor(groupinviteform): Deleting made clearer
2016-04-15 19:31:58 +02:00
sudden6
f95728a037
revert: fix(systemtrayicon, widget): Added deallocate memory
...
Revert commit cbb7eeca62
fixes #3144
2016-04-15 00:57:03 +02:00
sudden6
fa1f26354b
revert: fix(systemtrayicon): only delete the systray backend that was used
...
Revert commit 1d6f32c9f9
2016-04-15 00:57:03 +02:00
Diadlo
f28c3a16ae
fix(core, widget): Added checks
...
Fix #3133 .
* Added check, that core and coreAv exist, before use them
* Added check, that tox exit, before use them
2016-04-14 23:40:06 +03:00
Zetok Zalbavar
8fa40d5c4f
Merge pull request #3118
...
Also "fix" the problem with not signed sudden6's commit.
PKEv (1):
feat(chatform): add support for non-local file and samba share links
2016-04-14 05:36:07 +01:00
PKEv
47764c0397
feat(chatform): add support for non-local file and samba share links
...
E.g. links like "file://192.168.1.1/" and "smb://localnode/" are now
supported. Before only links to local files were supported, e.g.
"file:///local/file.txt"
2016-04-14 00:56:21 +03:00
sudden6
1d6f32c9f9
fix(systemtrayicon): only delete the systray backend that was used
...
Fixes qTox not closing cleanly after
4fd0446f96
2016-04-13 22:32:45 +02:00
Diadlo
7b4118a1a3
refactor(groupinviteform): Deleting made clearer
2016-04-13 23:02:26 +03:00
Diadlo
24efaf0594
fix(groupinviteform): translation invite message
...
Fix #3083 .
* Add time in GrupInvite struct
* Add translation to invite message
* Add set of invite message
* Add correct removing invite message
2016-04-13 23:02:17 +03:00
sudden6
01c56a3af6
Merge pull request #3132
...
Polshakov Dmitry (1):
fix(widget): Change focus after create group
2016-04-13 21:49:09 +02:00
sudden6
4fd0446f96
Merge pull request #3135
...
Diadlo (1):
fix(systemtrayicon, widget): Added deallocate memory
2016-04-13 21:45:23 +02:00
Polshakov Dmitry
a146c43a1e
refactor(profileform): Small changes
...
* Renamed function
* Added comment
2016-04-13 20:00:20 +03:00
Diadlo
cbb7eeca62
fix(systemtrayicon, widget): Added deallocate memory
2016-04-13 19:46:38 +03:00
Polshakov Dmitry
2dc3dd6964
style(profileform): Changed local include brackets type
2016-04-13 00:48:19 +03:00
initramfs
a36248b501
fix(screenshot): incorrect screenshot capture resolution under HiDPI
...
Resolves the issue where a crop of the full desktop resolution is used
instead of the full resolution when desktop is subjected to DPI-scaling
2016-04-12 15:44:16 -04:00
Polshakov Dmitry
b111c509a7
fix(widget): Change focus after create group
...
Fix #3128 .
2016-04-12 15:52:34 +03:00
Polshakov Dmitry
132f87c05e
fix(profileform): Add toxme username limitation
2016-04-12 15:15:21 +03:00
Polshakov Dmitry
1f7e23d007
fix(profileform): Deleted extra check and extra url
2016-04-12 11:53:59 +03:00
Diadlo
88de3a0a7a
fix(profileform): Fixed very quick relogin segfault
2016-04-12 09:34:47 +03:00
Diadlo
2e9295f420
fix(profileform): Fixed segfault on logut
2016-04-12 09:34:39 +03:00
Diadlo
8f4b6869f1
fix(toxme): Fixed potential memory leaks
2016-04-12 09:34:38 +03:00
Diadlo
11ec3947f5
fix(toxme): Fix possible segfault
2016-04-12 09:34:38 +03:00
Diadlo
204fe1d3de
feat(toxme): Add save toxme info
2016-04-12 09:34:38 +03:00
Diadlo
41c5d4bf14
feat(profileform): Added ability to change toxme server
...
Combo box set editable. Now user can enter server himself
2016-04-12 09:34:27 +03:00
Diadlo
fc2a572309
fix(toxme): Use format strings
2016-04-12 09:34:24 +03:00
Diadlo
65ab1f4e14
fix(profileform): Fix tab order, fix loop
2016-04-12 09:34:04 +03:00
Diadlo
9565a81755
fix(toxme): Translation fixs
2016-04-12 09:07:17 +03:00
Diadlo
cb8bf134d2
feat(toxme): Add ToxMe registration
...
Add some features in Toxme class and new section in profile form
2016-04-12 09:05:46 +03:00
Diadlo
24b28b1e51
style(groupinviteform): extracted few variables
2016-04-11 22:12:53 +03:00
Diadlo
f137ba710c
fix(groupinviteform): remove deleted buttons from set
...
Fix #3087 .
2016-04-11 21:59:04 +03:00
sudden6
0a2f541945
Merge pull request #2983
...
kehugter (2):
Add direct link with template for submitting new issues
refractor: abstract HTML out of `new issue` GitHub link
2016-04-11 19:02:36 +02:00
sudden6
87c881edde
Merge pull request #3101
...
Jason Papakostas (2):
feat: install icons with make install on unix
fix(Widget::updateIcons): fix the way systray icons are loaded
2016-04-11 19:00:21 +02:00
sudden6
9e4adf77b6
Merge pull request #3115
...
Diadlo (1):
fix(title): Change title on initial startup on "Add friend"
2016-04-11 13:05:03 +02:00
Diadlo
66bcfdae3c
fix(addfriendform): Removed extra connect return press
...
Fixed #3081 .
2016-04-11 00:49:01 +03:00
Diadlo
47d940455d
fix(title): Change title on initial startup on "Add friend"
...
Fixes #3100 .
2016-04-10 14:08:09 +03:00
kehugter
d121bd839b
refractor: abstract HTML out of new issue
GitHub link
...
Put only translatable text inside of tr() calls. This prevents HTML
changes to require a new translation for the whole string.
2016-04-09 13:02:34 +02:00
Jason Papakostas
90874a478f
fix(Widget::updateIcons): fix the way systray icons are loaded
...
the system tray should no longer use a static icon when the xdg
application icons are named qtox.{png,svg}
this means the workaround https://bugs.archlinux.org/task/47910 done
downstream at arch linux shouldn't be necessary anymore.
related discussion in #2903
2016-04-05 09:54:59 -05:00
initramfs
00947bc7ad
refactor(video): simplifies retrieval of primary screen
...
This commit reduces primary screen retrieval to a single static field
access as opposed to obtaining a runtime instance of the QApplication
object
2016-04-04 23:02:54 -04:00
sudden6
20a61e4cc3
Merge pull request #3096
...
initramfs (1):
fix(video): usage of invalid file descriptors on error
2016-04-04 23:49:25 +02:00
sudden6
03a1f826cb
Merge pull request #3095
...
Zetok Zalbavar (1):
fix(chatform): regression in detecting `tox:` type IDs
2016-04-04 23:41:41 +02:00
initramfs
d2189f3891
fix(video): uses explicit default screen from QGuiApplication
...
This commit changes the method used to obtain the active screen from
simply selecting the first screen in the list to using the explicit
default screen from QGuiApplication::primaryScreen() function
2016-04-04 09:06:16 -04:00
initramfs
556a8750a1
fix(video): usage of invalid file descriptors on error
...
Fixes code for getDeviceModes() under vfl2 namespace where error
numbers were being treated as valid file descriptors
2016-04-03 14:16:45 -04:00
initramfs
75b40d0a6f
fix(video): incorrect desktop video resolution when using HiDPI
...
Fixes desktop sharing region being clipped when DPI scaling is being
used.
2016-04-03 10:17:25 -04:00
Zetok Zalbavar
48f3fb7dcb
fix(chatform): regression in detecting tox:
type IDs
...
Introduced in d343408749
/ #3044 .
2016-04-03 13:28:21 +01:00
Zetok Zalbavar
dde56c99ec
Merge pull request #3077
...
Closes #3075 .
Andrew Morgan (1):
Prevent regex capture from extended past line boundaries.
2016-04-03 13:24:51 +01:00
anoadragon453
4e065f1395
fix(login screen): Change text on login tooltip
2016-03-31 08:18:20 -04:00
Andrew Morgan
2a8071da29
Prevent regex capture from extended past line boundaries.
2016-03-29 14:11:35 -04:00
sudden6
de4878909d
fix: Close logfile only after the disabling logging to file
...
This fixes a segfault when closing qTox, because the logfile was closed
before the last message was written.
2016-03-26 13:49:51 +01:00