Commit graph

209 commits

Author SHA1 Message Date
nerix e377c30192
Add Crashpad Support on Windows (#4351)
* feat: crashpad on windows

* feat: inline it

* feat: more crashpad

* chore: remove qBreakpad

* fix: add mention to crashpad

* refactor: version string

* feat: add crashpad module

* refactor: build crashpad from source

* fix: minor adjustments

* chore: add changelog entry

* fix: formatting and include

* fix: format

* build: use flags similar to release profile

* ci: build with crashpad on windows

* ci: recurse submodules

* ci: always include crashpad

* fix: try 7z

for some reason zstd just doesn't run

* fix: wrong path for symbols

* fix: copy

pls don't build

* ci: use new cache key

* fix: missing pragma

* ci: add workflow without crashpad

* docs: elevate changelog entry

* fix: add link to cmake issue

* fix: windows include issue

Someone (crashpad) includes Windows.h before winsock2.h

* fix: working directory

* fix: another working directory
2023-02-12 20:36:58 +01:00
pajlada 4958d08036
Change sound backend from Qt to miniaudio (#4334)
Thanks Greenlandicsmiley, Nerixyz, Yoitsu, and helmak for helping debug & test this

* Remove QMediaPlayer includes

* Prefer local path when generating the sound path

* Update changelog entry number

* Disable pitch & spatialization control
2023-01-29 10:36:25 +01:00
pajlada bf5a5b839c
Fix version checking (#4329)
https://github.com/Neargye/semver

* Use semver library for version downgrade checking

* Add test validating our current version is valid semver
2023-01-26 19:22:48 +01:00
Felanbird d1690943d4
Update contributors.txt instructions (#4313) 2023-01-17 04:01:11 +00:00
Wissididom 00f403cbf1
Add Wissididom to contributors list (#4312) 2023-01-16 22:36:02 -05:00
Felanbird 9255374720
Mark big strong contributors as Collaborators (#4311) 2023-01-16 17:38:21 +00:00
Felanbird 604761a522
Add Felanbird to contributors list (#4308) 2023-01-15 23:53:44 +01:00
pajlada a0f9310062
Release v2.4.0 (#4200)
* Update make-release.md documentation

* Update changelog

* Update `com.chatterino.chatterino.appdata.xml` version

* Update `Version.hpp`

* Lint make-release.md

* Lint again
2022-11-28 21:12:06 +01:00
nerix 22bd78e3b3
fix: iCCP - known incorrect sRGB profile (#4199)
When you start Chatterino, you get two warnings from libpng: libpng warning: iCCP: known incorrect sRGB profile.
This is because two resources shipped by Chatterino have this incorrect profile. This PR fixes that (essentially just convert file.png file.png).
2022-11-28 19:05:56 +01:00
kornes b3e400a049
Fix low contrast of text in settings tooltip (#4188) 2022-11-25 10:01:07 +01:00
fourtf 82797898c1 bump to 2.4.0-beta 2022-11-20 20:51:30 +01:00
Edgar 9f5477c433
🔨 Automatically generate resources files with cmake (#4159)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
Fixes https://github.com/Chatterino/chatterino2/issues/3949
2022-11-19 12:29:12 +01:00
Patrick Geneva 06b28ea0ab
Add ability to pin Usercards to stay open even if it loses focus (#3884)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
Co-authored-by: James Upjohn <jammehcow@jammehcow.co.nz>
2022-11-12 12:21:43 +00:00
mohad12211 f86b5b90a8
Add mohad12211 to contributors list (#4138) 2022-11-10 23:34:47 +00:00
pajlada 53ec66ff8e
Fix .desktop icon path (#4078) 2022-10-22 15:22:34 +00:00
xel86 4152f0dccb
Update 1xelerate contributors github link (#4061) 2022-10-16 06:51:20 +00:00
Explooosion-code 7ad7082535
Added Explooosion to contributors list (#3948)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2022-09-04 18:48:35 +00:00
Daniel Sage 20c974fdab
Added support for Twitch's Chat Replies (#3722)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2022-07-31 10:45:25 +00:00
Jaxkey 1456838dbb
Add Jaxkey to contributors list (#3842) 2022-06-28 17:19:56 +00:00
Leon Richardt 6a58ce1273
feat: add Quick Switcher item to open channel in a new popup window (#3828)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2022-06-25 11:00:32 +00:00
Daniel Sage 77e9a40bb4
Automatically place newlines at end of generated files (#3751)
Co-authored-by: Kasia <zneix@zneix.eu>
2022-05-22 20:59:05 +00:00
nerix f97780d84e
Improve Twitch PubSub connection reliability (#3643)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2022-05-07 15:22:39 +00:00
Kasia e8c73ba4af
Update contributors list (#3677) 2022-04-16 11:28:55 +02:00
hicupalot 200f364a47
Added hicupalot's avatar to the Contribution List (#3674) 2022-04-12 18:55:42 -04:00
Sidd 3afdb3367f
Add iProdigy to contributors list (#3661) 2022-04-08 03:56:20 +00:00
hicupalot e5d94591c6
Added hicupalot to contributors list (#3660) 2022-04-07 13:45:54 +00:00
fourtf 81a62764c8
2.3.5 2022-04-05 14:11:02 +02:00
Sidd cd64607295
chore: update TLDs (#3650) 2022-04-04 13:57:26 +02:00
fourtf 3868fbc9d9
2.3.5-beta1 2022-03-27 22:31:09 +02:00
fourtf e8b0257397
2.3.5-beta 2022-03-27 22:18:04 +02:00
nerix 4c275cb183
Update Emoji Data to v14.0 (#3612) 2022-03-19 11:30:01 +01:00
Brian 980a3e1be4
Add brian6932 to contributors list (#3591) 2022-03-07 06:44:48 +00:00
karl-police 5490ff5015
Add karl-police to contributors list (#3559)
Co-authored-by: Felanbird <41973452+Felanbird@users.noreply.github.com>
2022-02-02 16:03:20 -05:00
Adam Davies f64047d5ea
Add clear button to settings search bar (#3403)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-12-26 14:05:14 +00:00
Adam Davies 83f4d07b2e
Add acdvs to contributor list (#3391) 2021-12-07 03:01:16 +00:00
Ryan 8b921ae663
Add 1xelerate to the contributors list (#3331)
* added underscore prefix to file names since they started with a number
2021-10-31 12:15:49 +01:00
ALazyMeme 0b914ccd97
Update contributors guide (#3332) 2021-10-31 12:08:21 +01:00
fourtf 4e5170799f updated version number to v2.3.4 2021-08-05 10:44:30 +02:00
ALazyMeme 3238d1f801
Add ALazyMeme to the contributor list (#3097)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-07-31 13:24:56 +00:00
xHeaveny 0f0b0c03b8
Adding xHeaveny to Contributor List (#3072) 2021-07-31 12:47:56 +00:00
Mm2PL b352dea2dc
Make the copy button switch light/dark theme (#3057)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2021-07-25 11:15:38 +00:00
Mm2PL 706605c99e
Remove copyDarkTheme.png which was an unused SVG file. (#3056)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-07-24 10:52:00 +00:00
SLCH 8c113c2311
Added SLCH to contributors list (#2990) 2021-07-11 13:10:51 +00:00
nerix b37c0cb177
Update Emoji Data to v13.1 (#2958)
Co-authored-by: zneix <zneix@zneix.eu>
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-07-11 09:51:04 +00:00
Tal Neoran e041506dbd
Add Talen to contributors (#2975) 2021-07-07 00:17:33 +02:00
Paweł b969108cca
Updated autogenerated resources (#2931)
CC #2530
2021-06-27 21:19:09 +00:00
Paweł 93eafea377
Updated TLDs (#2930)
Source: https://data.iana.org/TLD/tlds-alpha-by-domain.txt
Version 2021062700, Last Updated Sun Jun 27 07:07:01 2021 UTC
2021-06-27 22:57:58 +02:00
fourtf 97b9bfb2bd v2.3.3 2021-06-21 11:35:53 +02:00
fourtf 80506a8625 v2.3.2 2021-05-16 19:29:27 +02:00
fourtf cf33566fd7 v2.3.1 2021-05-03 20:31:04 +02:00
Daniel f6d9fb2aac
Add ability to highlight messages based on user badges (#1704)
Co-authored-by: Paweł <zneix@zneix.eu>
Co-authored-by: 23rd <23rd@vivaldi.net>
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-05-02 22:08:08 +00:00
pajlada 62bf843aaf
Update the appdata.xml file (#2681) 2021-04-24 16:47:40 +02:00
ilyazzz 80d52a37f6
Update app description in appdata.xml (#2591) 2021-04-04 15:14:16 +02:00
Sam Heybey 716b846f4e
Add StartupWMClass property to desktop file (#2587)
This adds the StartupWMClass property to the desktop file, which window managers can use to determine when chatterino has opened and which window belongs to it.

GNOME uses this property, so this will fix #1863. You can test this by applying this patch to the desktop file of an existing install.

Relevant FreeDesktop docs: specifications.freedesktop.org/desktop-entry-spec/latest/ar01s06.html#key-startupwmclass

Fixes #1863
2021-04-03 16:10:42 +02:00
Karar Al-Remahy b02403a7d8
Added kararty to contributors (#2530) 2021-03-15 18:49:37 +01:00
fourtf 8a4ffc5f5b
added limit to cached username colors (#2515) 2021-03-13 15:34:11 +01:00
pajlada 6b0ce396d6
Update to Emoji v13 (2020) (#1555) 2021-02-13 19:17:22 +01:00
M4tthewDE 369ffbfdc8
Added matthewde to the contributors file (#2428) 2021-01-31 16:48:10 +01:00
Iulian Onofrei 055db0ccfb
Added revolter to contributors list (#2396) 2021-01-23 20:54:16 +01:00
Lajamerr Mittesdine 78aae8e93f
Update tlds.txt (#2345)
Co-authored-by: Paweł <zneix@zneix.eu>
2021-01-10 13:58:46 +01:00
Mm2PL ee14492e15
Add Mm2PL's avatar to contributors list. (#2139) 2020-10-31 15:52:05 +01:00
Paweł 05469d1bba
Fixed contributor avatar links (#2126)
* Fixed contributor avatar links

Had to put them in qtresource format so those will actually display in Settings -> About.
Reference: https://doc.qt.io/qt-5/resources.html#compiled-in-resources

* Added my avatar and updated documentation
2020-10-26 17:02:52 +01:00
fourtf 11525e626a
edited general settings categories (#2117)
* edited general settings categories

* Update CHANGELOG.md
2020-10-23 14:26:04 +02:00
fourtf 5f54b1b495 moved navigation to the right 2020-10-23 09:33:44 +02:00
fourtf 0ecea8ad83 added category navigation to general settings 2020-10-22 23:20:07 +02:00
dnsge 4199a01b96 Advanced channel filters (#1748)
Adds custom channel filters complete with their own mini-language. Filters can be created in settings, and applied by clicking the three dots to open the Split menu and selecting "Set filters".
2020-10-18 15:18:20 +02:00
yodax fb6b65faaa
Add y0dax to contributors.txt (#2078) 2020-10-17 15:31:32 +02:00
Rasmus Karlsson dfe1af248c define accent color in theme 2020-10-11 14:36:28 +02:00
Dave 98762fdfa0
Add viewer list button to twitch channel header (#2042) 2020-10-10 17:24:53 +02:00
hemirt 2fe8a9079a
add .gay domain (#2040) 2020-10-08 11:41:32 +02:00
Vilgot Fredenberg 1409836fc8
Update contributors.txt (#2025) 2020-10-04 12:48:10 +02:00
apa420 3450b1cc9d
Added image to streamermode user popup (#1995)
* Added image to streamermode user popup

* Update CHANGELOG.md

* swapparoo

Co-authored-by: fourtf <tf.four@gmail.com>
2020-09-27 00:22:06 +02:00
apa420 b4ef4fe54d
Added vip and unvip buttons (#1996)
Co-authored-by: fourtf <tf.four@gmail.com>
2020-09-27 00:20:15 +02:00
Paweł d314566ab6
Argument parsing rework (#1940)
* Experimental argument handling

* Restored browser extension launch functionality

Also moved check from BrowerExtension.cpp to Args.cpp as it is more relevant there and doesn't require passing arguments to a function in another file

* Fixed formatting

* Simplified Args.cpp code, added changelog entry

* Hid crash-recovery from help

* Dont save settings if launched with --channels

* Changed parsing method to t:channel

* Code cleanup

* Changed plaform delimeter to :, platform defaults to Twitch

Co-authored-by: fourtf <tf.four@gmail.com>
2020-09-26 16:03:51 +02:00
Daniel 0814fca7d4
Usercard command fix (#1918)
* Add myself to contributors list
2020-08-30 11:57:46 +02:00
fourtf 5a18a0f040 updated links to go to chatterino.com redirect pages 2020-08-22 14:46:17 +02:00
Leon Richardt a9080ceb3c
Discord-like Quick Switcher (#1588)
* Proof of Concept for Quick Switcher

* Fix crash when suggestions are empty

* QuickSwitcher: Use tab name instead of a single channel

* Rebase later

* Add missing include for <functional>

* Move QuickSwitcher related classes into own subfolder

* Refactor switcher list items

Now, items are responsible for taking the right action when selected in
the switcher list. This should allow for more focused code and
responsibilities.

* Add note about memory management

* Add option to open channel in a new tab

* Add support for using the mouse

* Spawn switcher popup in the middle of the window

Works reliably on i3 at least. Might need some additional testing on
other WMs (and especially on Windows!).

* Add some icons for switcher items

Note that the final design of the list is not final but I do plan to
incorporate these in the future.

* Set Qt::Dialog window flag on switcher popup

Prevents tiling window managers like i3 from trying to tile the window.

* Rename "SwitcherItem" to "AbstractSwitcherItem"

* Add comments about what items are inserted

* Use custom model and view

Still missing: Currently selected item is not highlighted yet. You can
move between selected items with tab and arrow keys though.

* Add helper function to convert QVariant to AbstractSwitcherItem *

* Remove useless constant

* Highlight currently selected switcher item

* Use a different method for centering QuickSwitcherPopup window

* QuickSwitcherModel: Add documentation

* Add default parameter to QuickSwitcherModel::rowCount

* QuickSwitcherPopup: Add comments

* Remove outdated TODO

* QuickSwitcherModel: Init vector with default capacity

* Remove outdated comment

* Add comment about 0 ms timeout interval

* NewTabItem: Simplify interface

* Only fetch opened splits once

This is better than the prior approach since opened splits cannot change
anyways while the switcher is open.

* Use SplitContainer to pass information instead of custom type

* Allow searching for tab titles as well

Before this commit, only channel names could be searched.

* Refactor switcher item interface to be more flexible

Also show tab name and channel name in the switcher list.

* Add documentation for AbstractSwitcherItem

* Add documentation for NewTabItem

* Add comments about {begin,end}{Insert,Remove}Rows

* Remove unused method

* Replace magic size with named constant

* Add change log entry

Co-authored-by: fourtf <tf.four@gmail.com>
2020-08-13 19:25:51 +02:00
Matthew Marlow 73f7786522
added self to contributor list (#1847) 2020-08-09 10:51:39 +02:00
Leon Richardt b4a2ced180
Scroll Using Click-and-Drag with Middle Mouse Button (#1559)
* ChannelView: Rename mouse event related members

This is more in line with the naming of the other members as well as
future members.

* ChannelView: Add ability to scroll with middle mouse button

* Add scrolling resources

* Use custom icons for scroll cursor

* Slightly refactor scrolling logic

* Respect screen scaling when calculating scroll offset

* Nicer scrolling UX

This change allows scrolling to be feel smoother when close to the
starting point.

* Add scrolling with keeping middle mouse pressed

This mimics the behavior of browsers as well.

* Refactor ChannelView::enableScrolling

* Disable drag-scrolling on left or right click
2020-04-18 11:09:22 +02:00
Daniel Pasch be745862fd
Update contributors list (gempir) (#1583) 2020-03-01 06:20:59 -05:00
fourtf 03cf6e81ff fixed spaces and margins in general settings 2020-02-21 03:01:48 +01:00
pajlada 3c8992cac1
Remove FMT dependency (#1472)
All occurrences of log() have been replaced with qDebug()

bonus meme: remove a bunch of std::string usages in the pubsub client

Fixes #1467
2020-01-03 20:51:37 +01:00
Artem Polishchuk 142e967c58 Add AppData manifest (#1445)
Rename desktop file to proper UUID name scheme
2019-12-19 21:38:37 +01:00
fourtf 3c5d8a1761 added missing licese file for qtkeychain 2019-09-18 14:43:16 +02:00
fourtf 25f75f7580 added Credential class 2019-09-09 22:27:46 +02:00
fourtf 8241ce7097 added qtkeychain dependency 2019-09-09 22:18:56 +02:00
fourtf 41a49b854e fixed autogenerated resources formatting 2019-09-03 12:07:52 +02:00
fourtf f7ee778af6 some style changes to settings 2019-09-03 11:15:38 +02:00
fourtf eaaa52260e smol fixes 2019-09-02 19:00:17 +02:00
fourtf 125426dbf1 added header for search 2019-09-02 18:59:37 +02:00
fourtf 234cdb041b sort paths in Resources to eliminate merge conflicts 2019-09-02 18:53:08 +02:00
fourtf 54c26d2228 fixed width when searching 2019-09-02 09:44:25 +02:00
fourtf 0b49f696ce added filtering to general page and greying out some items to the other
pages
2019-09-01 23:23:20 +02:00
Mm2PL 7aa2bf4fec Fix build and rename variables to be camelCase 2019-08-27 20:10:30 +02:00
Mm2PL 1c242a51dd Create a copy icon. Change the copy button text to be an icon 2019-08-27 20:10:30 +02:00
Mm2PL c0fe3754db Put my name in the correct place and changed the instructions to be a bit more helpful
Signed-off-by: Mm2PL <jakis128@gmail.com>
2019-08-27 16:42:33 +02:00
Mm2PL d1e363a5c1 Added myself as a contributor
Signed-off-by: Mm2PL <jakis128@gmail.com>
2019-08-27 16:34:08 +02:00
fourtf 6cb82307e6 switched std::optional to boost::optional 2019-08-25 22:58:19 +02:00
Leon Richardt bb015b435c Add YungLPR to contributors (#1217) 2019-08-19 13:11:17 +02:00
fourtf 23f1dd4646 update 2.1.0 2019-08-18 21:21:48 +02:00