Commit graph

3262 commits

Author SHA1 Message Date
fourtf
5fc495a073 Fixes #1404 2020-09-25 22:59:20 +02:00
fourtf
45a1034edf fixed tooltip flickering for SplitHeader 2020-09-25 22:21:30 +02:00
fourtf
ed87d6e2fa fixed recent messages being parsed concurrently 2020-09-25 22:20:15 +02:00
fourtf
1ec109748f fixed crash when removing item in settings list 2020-09-25 20:43:45 +02:00
fourtf
42700513fd updated README 2020-09-25 20:42:27 +02:00
pajlada
913193f8b5
Split up Window Layout loading into a loading and application stage (#1964)
* Split up Window Layout loading into a loading and application stage

Previously, we were creating UI elements at while we were reading the window-layout.json file.
We now read the window-layout.json file fully first, which results in a
WindowLayout struct which is built up of a list of windows with a list
of tabs with a root node which contains containers and splits.
This WindowLayout can then be applied.

This will enable PRs like #1940 to start Chatterino with Window Layouts
that aren't defined in a json file.

This commit has deprecated loading of v1 window layouts (we're now on v2). If a v1 window layout is there, it will just be ignored and Chatterino will boot up as if it did not have a window layout at all, and on save that old window layout will be gone.

* Fix compile error for mac
2020-09-19 17:14:10 +02:00
Rasmus Karlsson
7eabba959b Split up a few single-liners to help debug crash issue 2020-09-13 11:08:43 +02:00
fourtf
1baa2b266d add a settings for the duplicate message sending 2020-09-11 17:07:58 +02:00
pajlada
c7a2f4cc92
Don't make follow requests based on the check follow response (#1906)
This is done by deliberately setting and reading the enabled state of
the widget whenever the stateChanged event happens.

If the stateChanged event happens while the widget is not enabled, we
know the event must have been triggered by our "check user follow state"
event, and then we don't act upon that event
2020-09-06 12:46:35 +02:00
Daniel
b024b47afd
Changelog crash fix (macOS) (#1935)
On macOS, trying to display a dialog before showing the main window
(like when starting minimized) leads to a crash. The dialog will now
show before the main window is opened, preventing this issue.
2020-09-06 12:02:15 +02:00
Steve Wills
caf0023327
add build status badges to README (#1938) 2020-09-06 11:08:28 +02:00
Steve Wills
cbcd5f3863
use packaged qtkeychain on FreeBSD (#1929) 2020-09-01 21:58:23 +02:00
Steve Wills
cdbf15b3f9
Add CirrusCI (#1925)
FreeBSD CI runner
2020-09-01 18:50:56 +02:00
Steve Wills
36b9466f89
fix clang check when clang++ is called c++ (#1924)
* fix clang check when clang++ is called c++

* fix syntax
2020-08-31 16:42:30 +02:00
pajlada
9ae79e650d
Update version of settings library (#1908)
This version handles symlinks properly

Relevant for commands saving and settings saving
2020-08-30 15:31:47 +02:00
Daniel
0814fca7d4
Usercard command fix (#1918)
* Add myself to contributors list
2020-08-30 11:57:46 +02:00
fourtf
07fc0c3ad7 2.2.2 2020-08-29 10:54:37 +02:00
fourtf
279a80b66f fixed a potentional bug 2020-08-27 16:17:03 +02:00
fourtf
63c167f1db 2.2.1 2020-08-24 20:24:00 +02:00
Nico Sonack
930351779c
(#1874) Disable updates on non-Windows, Linux or macOS platforms (#1914)
* (#1874) Disable update checking for unsupported platforms

As described #1874, only Windows, macOS and GNU/Linux are officially
supplied with builds. Thus checking for updates is unnecessary if we
are e.g. on FreeBSD, OpenBSD, illumos distros and possibly other
Operating Systems.

This fixes #1874 by ifdef-ing the 3 officially supported platforms
when checking for updates. Otherwise a debug warning will be emitted
and in the settings the checkbox for beta-updates is hidden and
replaced by a message, explaining the reason for why there are no beta
updates.

* Update CHANGELOG

In accordance with #1874

* (#1874) Move platform check into checkForUpdates

As discussed in #1914

* (#1874) Move check for supported OS to a seperate function.

As requested in #1914
2020-08-24 12:02:56 +02:00
Nils
1330837a41
Update NixOS build instructions (#1910) 2020-08-24 11:11:19 +02:00
fourtf
1501da7e72 reverted update code to old state 2020-08-24 09:52:24 +02:00
fourtf
df2cfa73f0 maybe fixed updates on macos 2020-08-24 09:42:59 +02:00
fourtf
b7e86a8de6 reduced COMPACT_EMOTES_OFFSET to fix a graphical glich in timed out
messages
2020-08-23 17:24:35 +02:00
fourtf
5d0cb3ada8 Closes #1903 2020-08-23 17:11:41 +02:00
fourtf
28a0e4c63c Closes #1909 2020-08-23 17:04:17 +02:00
Ruben Anders
45a53bf0a4
dont ignore md files for CI in pull requests (#1881)
This should help merging readme PRs without having to use scary buttons
2020-08-23 14:07:30 +02:00
fourtf
50da694fff
Stable (#1905)
* fixed SearchWindow memory leak

* Update CHANGELOG.md

* added DebugCount for BaseWindow

* [Bug Fix] Color of second user highlight cannot be set (#1898)

* Highlighting: Fix bug preventing user highlight from being set

Before this commit, only the row of a clicked cell was checked, but not
the tab it was clicked in.

Since the "Whispers" row is the second row in the "Messages" tab on the
highlighting page, the color picker was not opened for the second entry
in the "Users" tab either. This commit fixes the bug by also checking
tab the cell was clicked in.

* Update CHANGELOG.md

* Emote Popup Improvements (#1895)

* Put exact matching emotes first

* Close GenericListView on Escape press

* smol fix

* fixed emote input when not in the first char

* fixes #1902

* closes #1904

Co-authored-by: Leon Richardt <leon.richardt@gmail.com>
Co-authored-by: Daniel <24928223+dnsge@users.noreply.github.com>
2020-08-23 11:28:22 +02:00
fourtf
391ba5476f fixed emote input when not in the first char 2020-08-23 09:17:19 +02:00
fourtf
ea54b10f1d smol fix 2020-08-22 23:22:00 +02:00
Daniel
184aba1be7
Emote Popup Improvements (#1895)
* Put exact matching emotes first

* Close GenericListView on Escape press
2020-08-22 23:17:56 +02:00
Leon Richardt
505581ca65
[Bug Fix] Color of second user highlight cannot be set (#1898)
* Highlighting: Fix bug preventing user highlight from being set

Before this commit, only the row of a clicked cell was checked, but not
the tab it was clicked in.

Since the "Whispers" row is the second row in the "Messages" tab on the
highlighting page, the color picker was not opened for the second entry
in the "Users" tab either. This commit fixes the bug by also checking
tab the cell was clicked in.

* Update CHANGELOG.md
2020-08-22 23:10:10 +02:00
fourtf
6e6413da02 added DebugCount for BaseWindow 2020-08-22 22:54:03 +02:00
fourtf
ebb4ffe36d
fixed SearchWindow memory leak (#1899) 2020-08-22 22:35:07 +02:00
fourtf
359adbce15
Update CHANGELOG.md 2020-08-22 19:30:27 +02:00
fourtf
eb4f0bb2a6 2.2.0 2020-08-22 18:35:05 +02:00
fourtf
046ca7549d Merge branch 'master' of https://github.com/chatterino/Chatterino2 2020-08-22 18:34:20 +02:00
fourtf
a8c61980ac removed default image uploader 2020-08-22 18:33:37 +02:00
fourtf
a1537b55b4
Update IMAGEUPLOADER.md 2020-08-22 18:09:22 +02:00
fourtf
46bcd3dc61
Update IMAGEUPLOADER.md 2020-08-22 18:09:03 +02:00
fourtf
a569ee915f bump version 2020-08-22 17:00:15 +02:00
fourtf
106923549d
Update CHANGELOG.md 2020-08-22 16:58:35 +02:00
fourtf
47afca2c71 miscelaneous changes 2020-08-22 16:49:23 +02:00
fourtf
f3225275ea changed channel point messages color 2020-08-22 16:48:40 +02:00
fourtf
eeb632d4ab Merge branch 'master' of https://github.com/chatterino/Chatterino2 2020-08-22 16:03:20 +02:00
fourtf
2cc23eaae6 make highlighted messages and redeemed thingies look the same 2020-08-22 16:02:38 +02:00
pajlada
0cbddf7e9b
Fix/be respectful of special characters like exclamation marks in highlight phrases since they are also word boundaries (#1890)
* Add missing includes

We would normally have these included in another file already, or even
the precompiled headers, but having the files included here too makes
testing single parts easier.

* Modify the regex building of highlight phrases for non-regex phrases

For phrases like !test, the word boundary checking we did before was not
enough, so we now check for either a word boundary, a whitespace
character, or the line start/end.

* Add tests for ensuring I haven't fully broken the highlight system

* Add changelog entry
2020-08-22 15:37:03 +02:00
fourtf
17b26ef59c Merge branch 'master' of https://github.com/chatterino/Chatterino2 2020-08-22 15:29:06 +02:00
fourtf
459e483c62 hide link preview image if in streamer mode 2020-08-22 15:27:42 +02:00
pajlada
b98c0c2a44
Clarify "Custom stream player" functionality (#1889)
* Clarify "Custom stream player" functionality

* Remove idiotic idiot proofing
2020-08-22 15:01:16 +02:00