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

5061 Commits

Author SHA1 Message Date
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
ati3
83f874e5ce
feat(l10n): update Czech translation from weblate 2016-06-23 22:52:54 +01:00
ati3
c6938d6c4e
feat(i10n): update Hungarian translation from weblate 2016-06-23 22:52:39 +01:00
Zetok Zalbavar
b7759b2a69
Merge pull request #3428
kehugter (1):
      feat(translation): add update language Spanish
2016-06-23 21:47:09 +01:00
Zetok Zalbavar
9c6ced1c45
docs(README.md): add links to GPG signatures for windows installer
Closes #3427.
2016-06-23 21:34:33 +01:00
kehugter
17f43668a4 feat(translation): add update language Spanish 2016-06-23 21:09:49 +02: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
sudden6
279225cd2d
chore(qtox.pro): enable maximum ressource compression
This change reduces memory usage during compilation from ~1.2GB to ~600MB.
Additionally it reduces the size of a dynamically linked qTox binary from
~10MB to ~6MB.
2016-06-20 22:33:50 +02:00
sudden6
7405fde6b8
Merge pull request #3418
Vincas Dargis (1):
      fix(passwordedit.cpp): Fix build issue with Qt 5.3
2016-06-20 21:14:53 +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
sudden6
1dfba41f39
Merge pull request #3414
Zetok Zalbavar (1):
      chore(test-pr.sh): add test-pr.sh script as requested
2016-06-19 12:59:17 +02:00
Zetok Zalbavar
784d42d8d7
chore(test-pr.sh): add test-pr.sh script as requested
Add missing copyright stuff to `merge-pr.sh`.

Refactored & split `merge-pr.sh` script, since most of required
code for `test-pr.sh` already existed there.

Differences from `merge-pr.sh`:
  * if there's no `upstream` remote, https version is used instead of
    git
  * merge commit *is not* GPG-signed (less hassle)
  * merge branch is named e.g. `test1234` instead of `merge1234`
  * instructions for pushing test branch onto upstream master are not
    printed
2016-06-19 10:22:02 +01:00
sudden6
d94f5f3bd8
Merge pull request #3402
Zetok Zalbavar (1):
      refactor(boostrap.sh): add line to locallib.conf only if doesn't exist

sudden6 (1):
      chore(simple_make): Fix build for Fedora
2016-06-18 19:21:34 +02:00
Zetok Zalbavar
099bb439ce
refactor(boostrap.sh): add line to locallib.conf only if doesn't exist
Didn't actually test.
2016-06-18 17:41:22 +01:00
Zetok Zalbavar
c4b4155a53
feat(emoticons): add ASCII-less version of emojione emoticons
`ASCII+emojione` doesn't turn ASCII smileys into emoticons.
E.g. `:)` would be left alone as it is.

Closes #3398.
2016-06-18 15:51:53 +01:00
Zetok Zalbavar
64cbddd068
docs(INSTALL.md): add ubuntu PPA for archs other than x86{,_64}
Closes #3410.
2016-06-18 13:43:44 +01: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
Zetok Zalbavar
e3278853d5
Merge pull request #3390
Colomban Wendling (2):
      refactor(systemtrayicon): unify QIcon to GdkPixbuf conversion
      fix(systemtrayicon): don't set an invalid and useless icon on GTK
2016-06-16 21:00:00 +01:00
sudden6
00ac9ba606
chore(simple_make): Fix build for Fedora
Add some missing dependencies and the fix from #3308

Tested on a fresh Fedora 23 install
2016-06-16 16:42:10 +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
Zetok Zalbavar
eb743b43ff
Merge pull request #3388
a68366 (1):
      fix(widget): properly open chat window
2016-06-13 22:48:07 +01:00
a68366
c17c3405bf fix(widget): properly open chat window
Closes #3386
2016-06-14 00:12:28 +03:00
qTox translations
a112c68ef0
chore(i18n): update translations for Weblate 2016-06-13 22:06:30 +01:00
Kristjan Räts
85a701f5f8
feat(l10n): update Estonian translation from Weblate 2016-06-13 22:04:30 +01:00
Brandon Abbott
7971975cbe
feat(l10n): add initial Esperanto translation from Weblate 2016-06-13 22:04:11 +01:00