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

1550 Commits

Author SHA1 Message Date
Zetok Zalbavar
9301512936
feat(l10n): add Uighur language to UI 2016-07-19 19:21:17 +01: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
76f694fe73
style(widget): Style fixes 2016-07-13 01:54:30 +03: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
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
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
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
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
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
sudden6
4f493c5df7
Merge pull request #3424
Colomban Wendling (1):
      refactor(passwordedit): optimize event handler unregistration
2016-06-28 19:03:13 +02: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
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
1c5158213d
fix(avform): Added restoring selected region 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
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