Commit graph

35 commits

Author SHA1 Message Date
fourtf d24e1f8314 fixed selections moving when new messages come in while selecting 2018-05-17 12:17:31 +02:00
Rasmus Karlsson ae26b835b6 Perform initial refactoring work
Things that were once singletons are no longer singletons, but are
instead stored in the "Application" singleton

Some singletons still remain, and some renaming/renamespacing is left
2018-04-27 22:11:19 +02:00
Rasmus Karlsson 6ea3a1df08 Switch some c-style includes to c++-style includes (i.e. stdint.h to
cstdint)

Make MessageElement to a class to fit better with the derived classes.
Make MessageLayoutElement to a class to fit better with the derived
classes.

Remove virtual from override functions

Replace all instances of boost::signals2 with pajlada::Signals. This
lets us properly use clang code model to check for issues.

Add missing virtual destructor to AbstractIrcServer
Add missing virtual destructor to MessageLayoutElement

Remove unused "connectedConnection" connection in TwitchChannel

Fix typo in TrimChannelName function
Fix typo in MessageParseArgs

Replace some raw pointers with unique pointers where it made more sense.
This allowed us to remove some manually written destructors whose only
purpose was to delete that raw pointer.

Reformat: Add namespace comments
Reformat: Add empty empty lines between main namespace beginning and end
Reformat: Re-order includes
Reformat: Fix some includes that used quotes where they should use angle
brackets
Reformat: Replace some typedef's with using's

Filter out more useless warnings
2018-04-11 22:54:34 +02:00
fourtf 0a8073d0e5 refactored SplitInput 2018-01-25 20:49:49 +01: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
fourtf 29046b3aa1 fixed scrollbar divide by zero 2018-01-06 20:57:16 +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 3bf3490aa3 increased speed of smooth scrolling 2018-01-05 23:32:06 +01:00
fourtf 1606ea648b added smoothscrolling on new message 2018-01-05 03:15:04 +01:00
3e5937011a the rewrite that nobody wanted 2018-01-02 02:15:11 +01:00
5a26d5f17f put singletons into their namespace 2017-12-31 22:58:35 +01:00
bfa2f1637e refactored the managers 2017-12-31 00:50:07 +01:00
2cdc404eb4 fixed rounding issue that caused an infinite loop 2017-12-27 23:18:42 +01:00
fourtf 2fc546cada made scrollbar a thin boi
Expands when hovered with the mouse
2017-12-26 19:14:36 +01:00
fourtf 285c72a83d fixed "jump to bottom" now disapearing after click 2017-12-26 17:15:23 +01:00
fourtf 4e4cc9223e tweaked the light themes 2017-12-26 16:54:39 +01:00
fourtf 368ec7c903 fixed coding style for scrollbar 2017-12-19 01:11:35 +01:00
fourtf e46357ad9b small fixes for the scrollbar 2017-12-18 22:13:46 +01:00
fourtf a399af9c66 added fix for scrollbar smooth scrolling jumping on new messages 2017-12-18 18:55:09 +01:00
7f18cefee4 renamed a bunch of files and classes 2017-11-12 17:21:50 +01:00
fourtf c7b3480aaf ChatWidgetView -> ChannelView, added Emote Picker 2017-09-16 00:05:06 +02:00
Rasmus Karlsson 8d2e48f944 Implement an advanced method of adding a user to chatterino.
You can now switch between multiple users in the settings dialog.
(Requires a restart for reconnecting etc)
2017-08-19 15:37:56 +02:00
Rasmus Karlsson ac6db75dc6 Reformat according to .clang-format 2017-08-12 12:09:26 +02:00
fourtf c8c9057b1e fixed scrollbar behaving weird at the bottom
the scrollbar would not move smoothly at the last message but jump all the
way to the bottom instead
2017-08-05 22:46:40 +02:00
fourtf c8ce55a54e checked scrollbar colors 2017-08-05 18:15:23 +02:00
hemirt 0d27f16c4a fix wrong variable name, openChannelNameDialog on ctrl+t, give focus to (#47)
new split
2017-06-29 14:13:00 +02:00
Rasmus Karlsson 7df7da70cb A lot of changes
Remove unused constructor of messages::Message
Fixed LimitedQueueSnapshot _-prefixes
Changed LimitedQueueSnapshot's usage of int to std::size_t
ColorScheme is no longer a singleton
Created a "BaseWidget" class which is pretty much a QWidget except it
has a reference of ColorScheme since most widgets will need a reference
to the style they should use.
BaseWidget can be implemented either with a BaseWidget parent (which
will copy the ColorScheme reference from the parent) or with a
normal QWidget parent and an explicit ColorScheme reference.
Save main window geometry on close
Fix font changing in the Settings Dialog
Update settings library version
2017-06-26 19:53:31 +02:00
Rasmus Karlsson 1d6f558452 Remove SharedChannel (just use std::shared_ptr<Channel>)
More code-refactoring BBaper
2017-06-11 11:36:42 +02:00
Rasmus Karlsson 9cd70877a5 replace all instances of NULL with nullptr 2017-06-11 09:37:30 +02:00
Rasmus Karlsson 1c6ff37e76 rename header files from *.h to *.hpp 2017-06-11 09:31:45 +02:00
Rasmus Karlsson b66dc479e6 fix scroll to bottom issue 2017-06-06 21:18:05 +02:00
Rasmus Karlsson 814fc4bbae Fix scrollbar 2017-06-06 17:18:23 +02:00
Rasmus Karlsson ccf8e3bd83 move around files 2017-06-06 14:48:14 +02:00
Renamed from widgets/scrollbar.cpp (Browse further)