Commit Graph

97 Commits

Author SHA1 Message Date
nerix f2d7e4d073 chore: factor out AUMID creation (#6321) 2025-07-06 12:19:36 +00:00
8thony ffe28b88a4 fix: special shortcut for Windows live notifications (#5975) 2025-03-09 14:48:26 +00:00
nerix f78f22e439 fix: set application policy on macOS for extension (#6043) 2025-03-08 18:03:33 +01:00
pajlada a8269a5749 fix: output --version to stdout (#5727) 2024-11-23 13:20:44 +00:00
pajlada 627c735524 refactor: some Application & style things (#5561) 2024-08-25 15:33:07 +02:00
pajlada 9f588b7406 fix: Fixed account switch not being saved if no other settings were changed (#5558) 2024-08-24 13:02:08 +00:00
pajlada 7dc80bc599 chore: post some ssl info on startup (#5475) 2024-06-21 12:48:51 +00:00
nerix febcf464fe Use Qt's High-DPI scaling on Windows (#4868) 2024-05-12 11:59:14 +00:00
nerix 449c5397b7 fix: store IPC file in application directory (#5226) 2024-03-03 12:15:50 +00:00
pajlada 718696db53 refactor: Un-singletonize Paths & Updates (#5092) 2024-01-16 20:56:43 +00:00
pajlada d085ab578f refactor: Make Args less of a singleton (#5041)
This means it's no longer a singleton, and its lifetime is bound to our application.
This felt like a good small experiment to see how its changes would look
if we did this.
As a shortcut, `getApp` that is already a mega singleton keeps a
reference to Args, this means places that are a bit more difficult to
inject into call `getApp()->getArgs()` just like other things are
accessed.
2023-12-29 15:40:31 +01:00
nerix 25add89b14 feat: Add crash recovery on Windows (#5012) 2023-12-24 15:38:58 +01:00
nerix 72f0f49fbf Set QT_ENABLE_HIGHDPI_SCALING to 0 on Qt 6 on Windows (#4767) 2023-08-27 10:32:09 +00:00
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
nerix c9a9e44e1f Add HTTP & SOCKS5 proxy support (#4321)
This can be configured using the `CHATTERINO2_PROXY_URL` environment variable.
The behaviour is similar to curl's CURLOPT_PROXY
2023-02-11 23:16:51 +00:00
pajlada 99e038ce5e Remove protocol from organization domain (#4256)
* remove protocol from organization domain

* Add changelog entry

* update changelog entry

Co-authored-by: Sam Heybey <sam@heybey.org>
2022-12-24 12:25:05 +01:00
pajlada 032f290767 Sort and force grouping of includes (#4172)
This change enforces strict include grouping using IncludeCategories

In addition to adding this to the .clang-format file and applying it in the tests/src and src directories, I also did the following small changes:

    In ChatterSet.hpp, I changed lrucache to a <>include
    In Irc2.hpp, I change common/SignalVector.hpp to a "project-include"
    In AttachedWindow.cpp, NativeMessaging.cpp, WindowsHelper.hpp, BaseWindow.cpp, and StreamerMode.cpp, I disabled clang-format for the windows-includes
    In WindowDescriptors.hpp, I added the missing vector include. It was previously not needed because the include was handled by another file that was previously included first.
    clang-format minimum version has been bumped, so Ubuntu version used in the check-formatting job has been bumped to 22.04 (which is the latest LTS)
2022-11-27 19:32:53 +01:00
Paweł df70ca59e3 Purged kraken (#3578)
* Purged kraken code

* Remove kraken documentation

* Update Helix documentation

* Ran prettier

* Removed kraken files from qmake build file

* Remove now unnecessary .finally() callback
2022-02-28 14:59:10 +00:00
fourtf 4ff2de0567 now attaches to parent console on windows 2021-03-13 12:14:40 +01:00
Leon Richardt 1b75dc1e2c fix: properly handle CLI arguments (#2368)
Fix CLI arguments not being respected. This happened due to the addition of category-based logging (--help, --version) and changes to the window loading ( --channels), respectively.

When handling --channels, I took the liberty to refactor the previous version of window description (which relied on generating JSON) to directly building the WindowLayout.
2021-01-23 16:26:42 +01:00
Steve Wills df722a72c1 Switch to QT Category logging (#2206)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2020-11-21 16:20:10 +01:00
Paweł 776ce8bdbc Added subage and followage to usercard (#2023)
* Added subage and followage information to usercard

We are using Leppunen's API here to determine user's subage to the current channel and since that API call also returns followage information I decided to utilize that and save ourselves an extra Helix API call.
I also added new files specifying new class and methods for Ivr API, which can be very easily expanded with new methods in the future if we ever have to do that.
When I was coding I also saw couple unnecessary nitpicks which I fixed :)

* Added changelog entry

* remove empty lambda

* Update UserInfoPopup.cpp

* xd

Co-authored-by: fourtf <tf.four@gmail.com>
2020-10-04 18:32:52 +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
Paweł c5f6fd7568 made --version output consistent with AboutPage (#1739)
When using "chatterino --version" it now also outputs commit and date of build (if on nightly), just like in Settings -> About
2020-06-16 03:30:35 -04:00
apa420 1a4a468ab1 Set the application name, version, and domain (#1680)
This helps window and desktop managers figure out what to do with Chatterino
2020-05-10 10:54:55 +02:00
pajlada 9a8b85e338 Twitch API: v5 to Helix migration (#1560)
There's a document in src/providers/twitch/api which describes how we interact with the Twitch API.
Keeping this up to date might be a healthy way for us to ensure we keep using the right APIs for the right job.
2020-03-14 12:13:57 +01:00
fourtf 6f710823ed renamed getInstance() -> instance() for singletons 2019-10-07 22:42:34 +02:00
fourtf aeab038bc8 removed get function prefix in Version 2019-10-07 22:32:11 +02:00
fourtf 594c0fb255 print version on --version switch 2019-10-07 18:57:33 +02:00
fourtf b64e2e9b70 Revert "Revert "added error message if settings initalizion failed""
This reverts commit f3ff40385d.
2019-10-05 16:40:04 +02:00
fourtf f3ff40385d Revert "added error message if settings initalizion failed"
This reverts commit 2b9b96abb5.
2019-10-03 22:12:22 +02:00
fourtf 2b9b96abb5 added error message if settings initalizion failed 2019-10-03 18:05:56 +02:00
fourtf 431d35e528 added setting to restart on SIGSEGV 2019-09-22 15:32:36 +02:00
fourtf 7e555843ca added class containing program arguments 2019-09-22 15:30:04 +02:00
fourtf 0b94d0f763 made appbase compile standalone 2018-11-25 15:02:48 +01:00
fourtf e259b9e39f added brace wrapping after if and for 2018-10-21 13:43:02 +02:00
fourtf 280605e715 added basic code for incognito links 2018-10-16 14:13:19 +02:00
fourtf c719bb6b74 categorized emtotepopup 2018-08-11 14:26:02 +02:00
fourtf 7a9af4ae84 moved menu code to ripple effect button 2018-08-07 23:46:00 +02:00
fourtf f71ff08e68 changed to 80 max column 2018-08-06 21:17:03 +02:00
fourtf c2e2dfb577 this commit is too big 2018-08-02 14:23:27 +02:00
Rasmus Karlsson 22bf008bdf Update new settings library version 2018-07-15 11:03:25 +00:00
fourtf 8ced5a1e25 renamed *Manager classes 2018-06-28 19:51:07 +02:00
fourtf 2df142bd50 renamed *Manager files 2018-06-28 19:46:45 +02:00
Rasmus Karlsson 8ff29ebe05 Normalize define naming 2018-06-28 01:26:15 +02:00
pajlada 10df071077 Breakpad implementation (#535)
* qBreakpad simple implementation

* update chatterino.pro for linux

* Add breakpad building script for linux
2018-06-27 23:06:37 +00:00
fourtf 8cbf575e3c added docs of main.cpp 2018-06-26 17:33:26 +02:00
fourtf 804d324d79 removed NativeEventHelper 2018-06-26 17:27:18 +02:00
fourtf 54eb07e116 removed namespaces 2018-06-26 17:06:17 +02:00
fourtf 15abedd869 moved files into src/common 2018-06-26 15:33:51 +02:00