Commit graph

22 commits

Author SHA1 Message Date
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
fourtf 859f4aefcb added new TupleTableModel for settingsdialog 2018-04-25 14:51:22 +02:00
fourtf 69d9557505 rewrote window saveing/serialization system
fixes #212
2018-04-11 22:54:34 +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 a44758ad23 Merge branch 'master' of https://github.com/fourtf/chatterino2 2018-02-05 21:20:38 +01:00
fourtf b351c40d29 refactored irc 2018-02-05 15:11:50 +01:00
Nikolai Zimmermann e2b54edb2d Fix build error (#264) 2018-01-30 13:31:18 +01:00
fourtf 0f4ec70bf3 Fixes #53 last read message indicator 2018-01-23 22:48:33 +01:00
fourtf c50e6d7809 started working on a custom window frame 2018-01-15 01:35:35 +01:00
fourtf e19a83679f moved window logic from BaseWidget to BaseWindow 2018-01-14 21:55:36 +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
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
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
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
Rasmus Karlsson d8c01ce374 Save chats and tabs in new settings system 2017-12-22 14:44:31 +01:00
Rasmus Karlsson bf39851776 update window title when changing accounts 2017-12-18 23:50:39 +01:00
Rasmus Karlsson f7318a26e3 Fix window position/size saving
I've only tested this for the main window so far

Fixes #149
2017-12-17 17:09:50 +01:00
Rasmus Karlsson 70cbb9df7f Make more use of single pattern 2017-12-17 02:18:13 +01:00
86ae71f674 fixed compiling 2017-12-14 00:25:06 +01:00
7f18cefee4 renamed a bunch of files and classes 2017-11-12 17:21:50 +01:00
Renamed from src/widgets/mainwindow.hpp (Browse further)