Commit graph

82 commits

Author SHA1 Message Date
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
fourtf
0bc08a364c created directory for dialogs 2018-06-26 15:11:45 +02:00
fourtf
a9bf9cf722 rename #3 2018-06-26 14:09:39 +02:00
fourtf
c9722b9780 rename #2 2018-06-26 13:24:55 +02:00
fourtf
ec04f10895 rename #1 2018-06-26 13:23:57 +02:00
fourtf
ba5c3555b8 fixed scaling for 1.5+ scale on windows 2018-06-24 23:58:29 +02:00
fourtf
22167f33f2 Fixes #491, font size in notebooktab too big 2018-06-24 17:33:55 +02:00
fourtf
68ddd1e7c9 Fixed some labels being too big on hi-dpi 2018-06-24 17:02:21 +02:00
Rasmus Karlsson
ee1fd9274d Add missing include 2018-06-23 14:10:20 +00:00
fourtf
2f91e3097a changed settings paths 2018-06-21 13:02:34 +02:00
fourtf
01f3f401ac wip changes 2018-06-19 19:00:02 +02:00
fourtf
3a78068810 forgot to commit in a while 2018-06-01 14:20:46 +02:00
fourtf
3c9c3493ae improved the extension 2018-05-30 17:17:27 +02:00
fourtf
0f8375a2f3 improved chatterino native 2018-05-28 18:25:19 +02:00
fourtf
6156b1f430 added categories to the accountspage 2018-05-28 08:34:54 +02:00
fourtf
aefdb60ada enabled dark fusion theme 2018-05-23 19:42:42 +02:00