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