Commit graph

472 commits

Author SHA1 Message Date
fourtf 40733ca312 fixed disabled messages not being greyed out 2018-01-13 02:03:53 +01:00
fourtf 2073447df7 added highlights page again 2018-01-13 02:00:02 +01:00
fourtf d16bbf6899 fixed icons in settings pages 2018-01-13 00:18:18 +01:00
fourtf 2f0658935a added AboutPage back in again 2018-01-13 00:05:49 +01:00
Rasmus Karlsson 7772f245f6 refactor the refactor 2018-01-12 23:33:04 +01:00
fourtf e0bb061c81 refactored the settings dialog 2018-01-12 23:09:27 +01:00
Rasmus Karlsson 4cbc3b8b61 Implement custom bit badges
Fixes #226
2018-01-12 22:38:00 +01:00
Rasmus Karlsson 584e6e5643 Initial custom and channel-specific cheermote parsing done
Needs more testing once the rendering pipeline is complete again

Fixes #74
2018-01-12 22:16:41 +01:00
Rasmus Karlsson 54502bc8b5 F5 adds a fake message to the IRCManager
current messages have valid cheermotes in them
2018-01-12 20:25:19 +01:00
Rasmus Karlsson 83763cf9a9 Remove unused method EmoteData::getImageForSize 2018-01-12 19:13:19 +01:00
Rasmus Karlsson 3c8c793e47 Add missing return in MessageElement::setTrailingSpace 2018-01-12 18:42:13 +01:00
fourtf a339c4ca0a fixes #221 2018-01-11 21:03:40 +01:00
fourtf a7fa4160e8 added define for myself 2018-01-11 20:26:32 +01:00
fourtf 10850c0ec7 I BROKE EVERYTHING
refactored the rendering process
2018-01-11 20:17:41 +01:00
Bur0k c240d6f7c2 Added Qt::X11BypassWindowManagerHint to the WindowFlags of ToolTipWidget (#222) 2018-01-10 00:30:40 +01:00
Rasmus Karlsson ca0d672609 reformat settingsdialog.cpp
this is just a reason to push a build to try out the CI
2018-01-09 08:58:23 +01:00
nuuls 1eb256bd4e
fixed < in emote names breaking the <br> and tooltips on mac 2018-01-07 23:47:08 +01:00
nuuls 92cc1f354b
fixed scaling issue on mac and compilation issue 2018-01-07 23:26:11 +01:00
fourtf 57974508d3 set default fonts for macos and windows 2018-01-07 21:06:40 +01:00
coral 1348032b57 High DPI logo 2018-01-07 12:03:04 -08:00
coral 6f1f91e78e Goodbye QGraphicsView 2018-01-07 11:55:41 -08:00
Rasmus Karlsson 08859deabc reformat settingsdialog.cpp
just pushing this to test auto build/deploy :kkona:
2018-01-07 17:28:42 +01:00
coral 1fab5adaf8 About box added in Settings, early implementation 2018-01-07 00:05:41 -08:00
coral 6377331364 Changed the global emoji symbol 2018-01-06 23:05:09 -08:00
Rasmus Karlsson 9fa9d7f0e3 Implement preferred emote quality setting.
This doesn't work super well for Twitch emotes because they don't
conform to a proper emote scaling standard

Fixes #150
2018-01-07 02:59:46 +01:00
coral 5baba39cdc NOT UGLY ICON PLX 2018-01-06 17:59:02 -08:00
fourtf a32d1c063c searching is now case insensitive 2018-01-07 00:05:32 +01:00
fourtf 6fec6514fa made int division float division 2018-01-06 21:47:19 +01:00
Rasmus Karlsson 26170e4fdb Add CTRL+SHIFT+T and CTRL+SHIFT+W to Open and Close tabs
Fixes #21
2018-01-06 21:00:41 +01:00
fourtf 29046b3aa1 fixed scrollbar divide by zero 2018-01-06 20:57:16 +01:00
Rasmus Karlsson b8e268f969 Implement CTRL+1 to CTRL+9 hotkeys for switching tabs
Progress on #21
2018-01-06 20:27:26 +01:00
Rasmus Karlsson 8aa459d826 Move shortcut creation code to its own helper file 2018-01-06 20:24:04 +01:00
fourtf e5b8e33eb3 removed fps limit
it didn't increase performance and just made it look 'laggier'
2018-01-06 18:21:00 +01:00
fourtf 20eab57db5 added highlights to the scrollbar 2018-01-06 03:48:56 +01:00
fourtf 99f2d0dd27 fixed type of Message::Flags 2018-01-06 00:02:04 +01:00
fourtf a4656f3ab5 added slight offset when notebook has no button 2018-01-05 23:55:41 +01:00
fourtf 3bf3490aa3 increased speed of smooth scrolling 2018-01-05 23:32:06 +01:00
fourtf 315cfd8605 bundling timeouts from same user 2018-01-05 23:14:55 +01:00
fourtf 47a813d5d6 added search popup 2018-01-05 13:42:23 +01:00
fourtf 02b73cfa27 I accidently an assignment 2018-01-05 12:22:03 +01:00
fourtf df81a0e5a5 Pause chat while hovering. Fixes #208
Also pauses when clicking with double-click-links enabled and while
selecting text
2018-01-05 11:22:51 +01:00
fourtf 4ac03f396f removed "Commands don't save" text 2018-01-05 11:04:37 +01:00
fourtf 8418e36e49 Fixed a bug where scrolling layouts wrong
It used the wrong with to layout the messages.
2018-01-05 10:41:21 +01:00
fourtf 69488eb2ea fixed off by one error 2018-01-05 03:41:31 +01:00
fourtf 898d1d26e7 added window icon 2018-01-05 03:30:43 +01:00
fourtf 2fddc0ed8a smoothScrolling for new messages false by default 2018-01-05 03:23:06 +01:00
Rasmus Karlsson 069e42360b further fix setting collision 2018-01-05 03:19:41 +01:00
fourtf 9d2d18ceee fixed settings name collision 2018-01-05 03:16:27 +01:00
fourtf 1606ea648b added smoothscrolling on new message 2018-01-05 03:15:04 +01:00
Rasmus Karlsson e58c5ec11b Fix window geometry loading
Fixes #181
2018-01-05 03:09:44 +01:00
Rasmus Karlsson 334860dad2 Remove unused appdatapath class
Reformat some code
2018-01-05 03:00:29 +01:00
fourtf fd8ddcff55 fixes #113 2018-01-05 02:55:28 +01:00
Rasmus Karlsson d8ba745a35 Fix command loading and saving
Fixes #203
2018-01-05 02:39:09 +01:00
Rasmus Karlsson 346950d7b7 Add a PathManager that takes care of all paths and creating folders
Move all path/folder-related code from SettingManager to PathManager
2018-01-05 02:38:22 +01:00
Rasmus Karlsson c3770707aa reformat commandmanager 2018-01-05 02:38:22 +01:00
Rasmus Karlsson 63d89797d6 Move settings config directory
Fixes #204
2018-01-05 02:38:22 +01:00
Rasmus Karlsson d1458a0db3 Move initSettings to SettingManager
Fixes #205
2018-01-05 02:38:22 +01:00
fourtf 947589358b fixed #15 2018-01-05 02:05:59 +01:00
fourtf 43568556be Fixes #195 2018-01-05 01:31:01 +01:00
fourtf 2b88250761 fixed crash related to clojures in TwitchChannel 2018-01-05 00:58:25 +01:00
fourtf 23e5100227 refresh rate lock for ChannelView 2018-01-05 00:15:03 +01:00
fourtf fc1fb35947 changed text of the jump-to-bottom-button 2018-01-05 00:01:31 +01:00
fourtf 4a2850c4f5 moved selection into its own file 2018-01-04 23:50:30 +01:00
fourtf 4a91372f8f fixed #182 2018-01-04 23:35:36 +01:00
fourtf 8693203c6d added command tab to settings but they don't save 2018-01-04 04:03:51 +01:00
fourtf 871195265a Merge branch 'master' of https://github.com/fourtf/chatterino2 2018-01-04 02:59:44 +01:00
71db0297b9 added code for the /commands 2018-01-04 02:50:36 +01:00
Rasmus Karlsson 27dacdde36 Disable empty-string sending
Fixes #191
2018-01-04 02:32:24 +01:00
Rasmus Karlsson 9044700ec6 Convert remaining settings to the new settings system 2018-01-04 02:23:59 +01:00
Rasmus Karlsson df733282be Move highlight phrases to new settings system
Add a setting serialize/deserializer for QString
Add constructor to ChatterinoSetting that doesn't take a default value
2018-01-04 01:52:37 +01:00
coral 0e8b50c4e9 New setting menu icons! (#189)
* LUL

* Added system icon for OSX
2018-01-02 03:44:52 +01:00
eb4ba30d9f omited struct names in ThemeManager 2018-01-02 02:21:38 +01:00
3e5937011a the rewrite that nobody wanted 2018-01-02 02:15:11 +01:00
0ef08378cc slight rename in IrcManager 2018-01-01 23:59:39 +01:00
424eeb05d9 Created helper class IrcMessageHandler 2018-01-01 23:54:54 +01:00
330a79f6f1 made message grey out when user it timed out 2018-01-01 23:29:54 +01:00
3fc4ddea56 I hate c++ and everything it stands for 2018-01-01 22:29:21 +01:00
5a26d5f17f put singletons into their namespace 2017-12-31 22:58:35 +01:00
ad001431f2 renamed resources to ResourceManager 2017-12-31 02:21:33 +01:00
bfa2f1637e refactored the managers 2017-12-31 00:50:07 +01:00
Rasmus Karlsson 258288bad9 Some settings can now be "reverted" by pressing cancel in the settings dialog
Modify visibility of some members of SettingsDialog
update external libraries
Progress on #180
2017-12-28 19:34:20 +01:00
Rasmus Karlsson 7d259fe7e6 An error should now be printed if you connect with bad credentials.
This fix relies on #163 being closed, so for now #132 will be left open.
2017-12-28 18:37:39 +01:00
Rasmus Karlsson caddb2c778 Add the "Close Tabs" feature
Also made notebooks open a container if no tabs are loaded

Fixes #166
2017-12-28 18:17:25 +01:00
Rasmus Karlsson 091e7b9dbe update subscribe url 2017-12-28 18:17:25 +01:00
Rasmus Karlsson 307dc16d79 use twitch get with rapidjson json in refreshLiveStatus
we now check that all values are legit, which can be an issue if we are
sent invalid json data
2017-12-28 18:17:25 +01:00
4a405379d0 remove the double space after username 2017-12-28 17:56:00 +01:00
0cdf974310 Merge branch 'master' of https://github.com/fourtf/chatterino2 2017-12-28 17:50:24 +01:00
1940b0197c emotes now have less margin 2017-12-28 17:46:36 +01:00
e0bdc5ccf9 forgot to remove this xD 2017-12-28 16:56:24 +01:00
Rasmus Karlsson c9c2aa6dce Fixed crash bug described by Cranken in #165 2017-12-28 16:26:35 +01:00
ece0482502 removed autoscoll and gotobottom from emotepopup 2017-12-28 00:48:21 +01:00
4aa995c74a fixed the emote popup not showing anything 2017-12-28 00:45:03 +01:00
Cranken cb75c2a725 Fixed messages getting loaded multiple times. (#170)
* Implemented loading recent messages.

* Fixed messages getting loaded multiple times.
2017-12-28 00:03:52 +01:00
2cdc404eb4 fixed rounding issue that caused an infinite loop 2017-12-27 23:18:42 +01:00
9bbacdfae4 changed login url in logindialog 2017-12-27 22:26:23 +01:00
4f3f9906f1 commented code out that didn't compile 2017-12-27 21:29:56 +01:00
f676450d03 added code for command handling 2017-12-27 19:50:05 +01:00
Cranken 223f4af55a Implemented loading recent messages. (#162) 2017-12-27 01:22:12 +01:00
fourtf 2fc546cada made scrollbar a thin boi
Expands when hovered with the mouse
2017-12-26 19:14:36 +01:00
fourtf 9dd6966e8c graphicbuffers of msgs offscreen get discarded now 2017-12-26 18:24:02 +01:00
fourtf 6c23925406 fixed render hints at wrong places 2017-12-26 17:41:03 +01:00
fourtf 5df7651670 removed a debug log 2017-12-26 17:31:15 +01:00
fourtf 285c72a83d fixed "jump to bottom" now disapearing after click 2017-12-26 17:15:23 +01:00
fourtf a51735baae changed scollbar background color 2017-12-26 17:01:44 +01:00
fourtf 4e4cc9223e tweaked the light themes 2017-12-26 16:54:39 +01:00
fourtf 37ca3cd79e fixed brown header when hovering in light theme 2017-12-26 15:08:36 +01:00
fourtf a6be0c83bc global ffz and bttv now uses new NetworkRequest 2017-12-26 12:39:44 +01:00
Rasmus Karlsson 13b39e374b Tabs now highlight when a highlight is received
Work on #88
2017-12-26 12:32:24 +01:00
Rasmus Karlsson 7a8cc91eec Move HighlightState to common.hpp 2017-12-26 12:30:32 +01:00
Rasmus Karlsson ebd682730a rename highlight style to highlight state 2017-12-26 12:05:14 +01:00
Rasmus Karlsson 03962db367 move some logic abou updated state to twitchuser 2017-12-26 11:59:26 +01:00
fourtf 0ca4a098e1 Fixed tooltip now closing properly. Fixes #159 2017-12-24 23:56:08 +01:00
fourtf 91099c028e moved the tooltip close logic to basewidget 2017-12-24 16:01:01 +01:00
fourtf 72ed52c35c fixed system messages not splitting words properly 2017-12-24 00:24:35 +01:00
fourtf 9b90b1b590 made usernames bold 2017-12-23 23:48:10 +01:00
fourtf 2bf53f73f8 oh no the bad commit descriptions are back D: 2017-12-23 23:24:35 +01:00
Cranken a617873f6a Implemented a new, better looking tooltip. (#158)
* Implemented a new, better looking tooltip.

* Pajlada fix.

* Fixed dragging behaving incorrectly.

* Fixed out of focus hovering getting stuck.
2017-12-23 22:17:38 +01:00
fourtf fc81b118c7 replaced qt font scaling
remove the qt font scaling and added code that uses the actual scale/dpi value
2017-12-23 21:18:13 +01:00
Ckat c9aa716f58 actually show channel ffz emotes as channel ffz emotes (#155) 2017-12-22 23:03:19 +01:00
Rasmus Karlsson 51fe00dfec twitch emotes are now refreshed properly (sub and global emotes)
this only works if you're logged in I think
2017-12-22 17:37:24 +01:00
Rasmus Karlsson afd4549c3f fix bug where a users initial ID would be set to "456" instead of "123456" 2017-12-22 17:36:59 +01:00
Rasmus Karlsson 3f6881390e add twitch getAuthorized method which passes through a custom client ID and oauth token 2017-12-22 17:36:32 +01:00
Rasmus Karlsson ec63bc59be Fix autocomplete not being refreshed properly upon first TAB 2017-12-22 16:50:33 +01:00
Rasmus Karlsson 2bd80763e7 Fix some obvious warnings
Ignore some stupid warnings
2017-12-22 15:13:42 +01:00
Rasmus Karlsson d8c01ce374 Save chats and tabs in new settings system 2017-12-22 14:44:31 +01:00
Rasmus Karlsson 42749538a7 Add helper method for creating a UUID
Fix QString formatter
2017-12-22 14:33:04 +01:00
Rasmus Karlsson 795deac727 move QString-formatting to helpers.hpp so fS works with it all the time 2017-12-22 14:08:13 +01:00
Rasmus Karlsson 86a9f194f9 Clean up account switcher stuff
Update settings library version

Fixes #9
2017-12-20 00:41:35 +01:00
Rasmus Karlsson be3c85d72d Move some variables into const.hpp
Clean up some code in the AccountManager
2017-12-19 16:13:02 +01:00
Rasmus Karlsson 324dfc9ee9 Fix account adding and account removing.
This needs to be fully tested before I'm comfortable closing #9

The "advanced" tab also needs testing

We might also want to move the login website to chatterino.com and make
it look nicer
2017-12-19 15:12:33 +01:00
Rasmus Karlsson 1e3aca1b7a Add method for updating a twitch users client id/oauth token 2017-12-19 15:09:54 +01:00
Rasmus Karlsson d8db695628 fix compile error 2017-12-19 03:41:31 +01:00
Rasmus Karlsson 4b36893818 Add simple tooltip system 2017-12-19 03:38:42 +01:00
Rasmus Karlsson 47a1911df9 Clean up emotemanager emoji code 2017-12-19 03:38:42 +01:00
fourtf 01dbaed781 disabled tabs in the settings that are ununsed 2017-12-19 03:37:07 +01:00
fourtf 6f0620ead6 added emojis to the emote popup 2017-12-19 03:18:27 +01:00
Rasmus Karlsson 14e80d5012 Implement mouse scroll speed setting
Fixes #145
2017-12-19 02:48:19 +01:00
Rasmus Karlsson ba1c9598a4 use a SettingListener for word type mask updating 2017-12-19 02:48:19 +01:00
fourtf e39b9093f9 fixed selection color for light theme 2017-12-19 02:37:58 +01:00
fourtf f8e4d9a737 changes for light theme
- fixed light colored text being too bright
- fixed the ripple effect being white on grey
2017-12-19 02:24:05 +01:00
Rasmus Karlsson 1a870685b0 Implement the "inline" account switch button
Make the account switch listview into a widget
2017-12-19 02:17:01 +01:00
fourtf 4010c49c84 fixed messages not redrawing after changing theme 2017-12-19 01:54:51 +01:00
fourtf ded61256de moved native event handler to it's proper file 2017-12-19 01:32:06 +01:00
fourtf f9487b1dae fix accountpopup code style aka add 5 mio this-> 2017-12-19 01:25:57 +01:00
fourtf 368ec7c903 fixed coding style for scrollbar 2017-12-19 01:11:35 +01:00
fourtf c950e9c58a added some code for collapsing messages 2017-12-19 00:10:03 +01:00
Rasmus Karlsson 5c6411b50b Added "Anonymous" (aka not logged in) as an option for the account chooser 2017-12-18 23:50:39 +01:00
Rasmus Karlsson bf39851776 update window title when changing accounts 2017-12-18 23:50:39 +01:00
fourtf e46357ad9b small fixes for the scrollbar 2017-12-18 22:13:46 +01:00
fourtf f8cf983b7c added an option to disable smooth scrolling 2017-12-18 20:18:20 +01:00