Commit graph

2885 commits

Author SHA1 Message Date
pajlada 18fb160094
Merge pull request #1210 from RAnders00/randers00-issue-templates
Create issue templates
2019-08-18 10:32:43 +02:00
Ruben Anders 96005b137e Create issue templates 2019-08-17 23:09:32 +02:00
Leon Richardt 23a5f0bfb2 Remove unused method declaration 2019-08-17 22:10:27 +02:00
Leon Richardt be5318f275 Fix emote completion bug
This commit fixes a bug that would occur when changing the completion
mode from prefix-only to substring while mid-completion.
In that case, the suggestion list was not updated until the next
completion attempt.

This is fixed by forcing a suggestion list refresh whenever the
setting's checkbox is updated.
2019-08-17 21:31:31 +02:00
Leon Richardt 58d892a8c2 Make Emote Tab Completion Search for Substrings (#1204)
* Make emote tab completion search for substrings

Previously, tab completion only searched for emotes that start
with the current prefix under the cursor. This commit makes tab
completion look for the current prefix as a substring in any position,
not just the start.

Examples:
    * In forsen's channel, tabbing on "pls" will cycle through "DonaldPls", "forsenPls",
    "GachiPls", "nyanPls" and "SourPls".

    * As a forsen subscriber, tabbing on "sen1" will complete to "forsen1".

    * As a pajlada subscriber, tabbing on "shrug" will cycle through
    "pajaShrugL" and "pajaShrugR". (Unless you are in a channel with
    more "shrug" emotes, of course.)

* Add a setting for prefix and substring completion

This commit adds a setting under the "Miscellaneous" section to allow
user to choose whether they want prefix-only or substring emote
completion.

The QCompleter filter mode and `addString` function are now chosen
according to the user's setting.

* Improve description of emote completion setting

Also reintroduce a blank line that went missing.
2019-08-17 17:17:38 +02:00
pajlada 3dcbe89e28
Merge pull request #1208 from leon-richardt/fix-account-popup
Fix "Manage Accounts" button
2019-08-17 11:05:09 +02:00
pajlada 246d24d616
Merge pull request #1207 from 23rd/patch-35-empty-headers
Improved stream header creation.
2019-08-17 11:03:12 +02:00
Leon Richardt 4a1712f9a2 Fix "Manage Accounts" button
This commit fixes the unresponsiveness of the "Manage Account" button
(described in #1188).

Apparently, focus was lost when pressing down the mouse button. This is
circumvented by setting the focus policy of the button to `Qt::NoFocus`.
The button then works as expected and opens the "Account" page in the
preferences.
2019-08-17 01:35:24 +02:00
23rd f9e9ed8ed0 Improved stream header creation. 2019-08-16 23:40:30 +03:00
Vilgot Fredenberg 352d5729cc Removed unused variable (#1206) 2019-08-16 21:17:30 +02:00
fourtf bdb82b6818 fixed crash related to concurrent network request 2019-08-15 20:39:35 +02:00
Mateusz Ż eb38b53c04 Fix Settings UI inconsistencies (#1202)
* Move "About" tab in Settings

* Resize Settings window

This prevents from spawning horizontal scroll (which is caused by too long line
in "Attributions" group)

* Fix "show license" link width

If you clicked empty space next to link application assumed you clicked link.
I fixed that by using QLabels instead of SignalLabel (there's something "wrong"
with them, but I couldn't find what)
2019-08-14 20:03:42 +02:00
fourtf 4679fd6753 gcc Pepega 2019-08-13 18:48:22 +02:00
fourtf 7bf5a79f8a Delete emote popup when it is closed. 2019-08-13 16:39:22 +02:00
fourtf 18f3a816ed re-enabled loading recent messages concurrently
@pajlada please check if the code can stay commented out
2019-08-13 15:03:33 +02:00
fourtf 6274c05520 Fixed always loading 1x, 2x and 3x images 2019-08-13 13:51:27 +02:00
fourtf 294c2aecdc disabled concurrent loading of recent messages
it caused some twitch emotes to load improperly
2019-08-13 13:12:09 +02:00
fourtf 96532be765 removed unused function 2019-08-13 13:02:11 +02:00
fourtf 23f1ec9ac2 Fixed using non existant 2x and 3x versions of ffz emotes and badges 2019-08-13 13:00:16 +02:00
pajlada 2143a8caac
Merge pull request #1201 from 23rd/patch-34-fix-dmg
Fixed dmg Travis deployment.
2019-08-13 00:39:59 +02:00
23rd 0f5e88e0c8 Fixed dmg Travis deployment. 2019-08-13 01:02:35 +03:00
pajlada 25de149b37
Merge pull request #1200 from 23rd/patch-33-date-build-in-title
Added build date in Chatterino title for all platforms of CI.
2019-08-12 22:33:05 +02:00
23rd f24cad5fd7 Added build date in Chatterino title for all platforms of CI. 2019-08-12 11:13:23 +03:00
Rasmus Karlsson e56c90c33d fix crash in name-colorizer 2019-08-11 22:18:01 +02:00
Rasmus Karlsson cd5972522b reformat 2019-08-11 21:08:18 +02:00
Rasmus Karlsson 391d75f208 try to improve readability of the "grayname colorize" function 2019-08-11 21:07:54 +02:00
Rasmus Karlsson 3bb40a0458 Try to fix appimage 2019-08-11 20:35:25 +02:00
Rasmus Karlsson 7bf6cd5324 Remove bad include 2019-08-11 20:02:44 +02:00
pajlada 625bb53d1a
Merge pull request #1184 from 23rd/patch-32-colorize-nicknames
Added setting to colorize usernames who have not set own color.
2019-08-11 19:55:10 +02:00
23rd da039bfdfa Added setting to colorize usernames who have not set own color. 2019-08-11 19:48:43 +03:00
pajlada 90d302cd2d
Merge pull request #1198 from AnotherFoxGuy/appimage-run-fix
🐛 Fixed AppImage not including QT style plugins
2019-08-11 15:37:55 +02:00
Edgar f66992a143
🐛 Fixed AppImage not including QT style plugins 2019-08-11 13:38:49 +02:00
pajlada fbee24b78d
Merge pull request #1197 from AnotherFoxGuy/overwrite
🐛 Fixed Travis not uploading dmg and AppImage
2019-08-11 11:48:38 +02:00
Edgar 521c1040a2
🐛 Fixed Travis not uploading dmg and AppImage 2019-08-11 10:48:51 +02:00
Rasmus Karlsson 381aaaa2d8 add old warnings.pri file (copied from appbase project) 2019-08-10 23:21:12 +02:00
Edgar 149960a986 🐛 Fixed AppImage build 2019-08-10 23:20:25 +02:00
Rasmus Karlsson ebef87f085 Clean up a few warnings 2019-08-10 13:47:17 +02:00
23rd fdb0b62dee Fixed switching tabs using trackpad scroll. 2019-08-10 13:34:59 +02:00
pajlada 0c245fbc4e
Merge pull request #1178 from 23rd/patch-29-mac-ctrl-tab
Added new submenu in menu bar for OS X to switch tabs with hotkeys.
2019-08-10 13:22:33 +02:00
pajlada 989dad1a6d
Merge pull request #1179 from 23rd/patch-30-simplified-tab-hotkeys
Moved to one place and simplified hotkeys of switching tabs.
2019-08-10 13:18:11 +02:00
Rasmus Karlsson 6e1ee84d90 Allow your own username to be set in "highlight users"
Fixes #1181
2019-08-10 13:13:00 +02:00
pajlada 8f44f18d46
Merge pull request #1192 from AnotherFoxGuy/travis-fix
🐛 Fixed Travis build tagging
2019-08-10 11:47:03 +02:00
Edgar 31e7b5d8d9 🐛 Fixed Travis build tagging 2019-08-10 11:39:09 +02:00
pajlada 837ccc0382
Merge pull request #1174 from AnotherFoxGuy/linuxdeployqt
📦 Create appimage
2019-08-10 11:20:53 +02:00
pajlada 933edb1205
Merge pull request #1180 from 23rd/patch-31-hotkey-last-tab
Added ability to open last tab with Ctrl+9.
2019-08-10 11:19:01 +02:00
23rd 34841543c7 Replaced repetitive code of Ctrl+1-8 hotkeys with single loop. 2019-08-04 17:57:34 +03:00
23rd 838fd6bab6 Added ability to open last tab with Ctrl+9. (Chromium behaviour.)
- Fixed #1106.
2019-08-04 17:23:41 +03:00
23rd 485715ef30 Moved to one place and simplified hotkeys of switching tabs. 2019-08-04 17:03:58 +03:00
23rd 79a87e740a Added new submenu in menu bar for OS X to switch tabs with hotkeys.
- Fixed #1176.
 - https://bugreports.qt.io/browse/QTBUG-8596
2019-08-04 16:43:35 +03:00
Edgar af59cce89b 📦 Create appimage 2019-08-04 15:38:00 +02:00