Commit graph

146 commits

Author SHA1 Message Date
fourtf f4cf464ddb fixed issues with surrogate pairs in text selection and rendering 2018-10-21 13:05:03 +02:00
pphop a584259785 improve "last message read" indicator (#802) 2018-10-20 13:25:24 +02:00
Cranken ced5508286 Removed unnecessary get on shared pointers. 2018-10-06 16:33:18 +00:00
Cranken 4c4d1d2042 Fixed double click selection. 2018-10-06 16:33:18 +00:00
Cranken 5c2cdce516 Added triple clicking to select the whole message. 2018-10-06 16:33:18 +00:00
Cranken 7c367b73e6 Changed some formatting, also fixed an unrelated bug. 2018-10-06 16:33:18 +00:00
Cranken fed8cca10e Added initial double clicking to select word functionality. 2018-10-06 16:33:18 +00:00
Rasmus Karlsson a2fb4ca104 reformat 2018-09-30 16:55:41 +00:00
Rasmus Karlsson 641c5822d7 fix various warnings 2018-09-20 13:09:37 +02:00
hemirt 113cfd69b0 Fix emote copying (#687)
* Fix emote copying

* Fix (i.e. no longer add) blank spaces instead of badges

I.e. badges' names do not get copied
2018-08-28 19:25:15 +02:00
fourtf 8bcc9c487b Fixes #411, #516 2018-08-16 00:16:33 +02:00
fourtf f6414c9d7e remove settings and paths from Application 2018-08-12 12:56:28 +02:00
fourtf 44f5a15da3 turning a lot of includes into forward declares 2018-08-11 22:23:06 +02:00
fourtf c719bb6b74 categorized emtotepopup 2018-08-11 14:26:02 +02:00
fourtf 381177dd24 refactored EnumFlags 2018-08-07 07:55:31 +02:00
fourtf c26422aec1 refactored MessageBuilder 2018-08-07 01:35:24 +02:00
fourtf f71ff08e68 changed to 80 max column 2018-08-06 21:17:03 +02:00
fourtf 35d462d1f1 worked on Image 2018-08-06 18:25:47 +02:00
fourtf c2e2dfb577 this commit is too big 2018-08-02 14:23:27 +02:00
fourtf 280bb4cf8e Renamed private members 2018-07-06 19:24:35 +02:00
hemirt 37d3f5a24a last message pattern 2018-07-03 13:44:59 +02:00
fourtf 2df142bd50 renamed *Manager files 2018-06-28 19:46:45 +02:00
fourtf 08e552f5f6 ran clang-format on all files 2018-06-26 17:20:03 +02:00
fourtf 54eb07e116 removed namespaces 2018-06-26 17:06:17 +02:00
fourtf 2df0566492 removed namespaces 2018-06-26 16:37:59 +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 63c213a36a fixed spelling of "separate" 2018-06-24 18:32:00 +02:00
Rasmus Karlsson 355b80680d Fix erroneous copying of emotes (twitch emotes in particular)
Fix #514
2018-06-24 16:30:28 +00:00
fourtf 10b0466052 changed scrollbar bg 2018-06-05 00:14:47 +02:00
fourtf 70617e294f added int setting for collapsed messages 2018-06-04 16:34:47 +02:00
fourtf 7ad4e36dbb improved handling of relayouting messages 2018-06-04 16:10:54 +02:00
fourtf 4a2709cbc3 fixed resub messages 2018-06-04 12:23:23 +02:00
fourtf 783b9096c3 Fixes #438 message buffers not growing on message resize 2018-05-31 14:15:04 +02:00
fourtf 4f35d8854a made message backgrounds overflow into the scrollbar 2018-05-31 12:59:43 +02:00
fourtf 6b24f249f7 fixed split header tooltips not showing 2018-05-26 17:12:00 +02:00
fourtf 8ccd00a4d8 fixed building on mac 2018-05-25 16:48:35 +02:00
fourtf 8e8990b339 fixes #400 2018-05-25 16:20:39 +02:00
fourtf b68b7ecb10 fixed accountpopup background color 2018-05-25 13:02:14 +02:00
fourtf f72e1b5d82 fixed message expanding not working 2018-05-25 12:45:18 +02:00
nuuls ec03bc2e8c fixed performance 2018-05-25 01:31:34 +02:00
nuuls 6ee4945715 fixed mac stuff and added more debug code 2018-05-25 01:31:34 +02:00
fourtf 4de2a6b65f added a setting to collapse long messages by default 2018-05-24 11:35:50 +02:00
fourtf 0d76f6f39f added "Copy message" context menu item ofr messages 2018-05-23 20:34:37 +02:00
fourtf 65846fe1c7 scaling emotes and badges 2018-05-23 13:31:55 +02:00
fourtf dafbda6a4a asdf 2018-05-23 04:22:17 +02:00
fourtf 34a58021bc added basic alternating messages backgrounds 2018-05-06 14:39:27 +02:00
Rasmus Karlsson 2f195891cd Finish up singleton refactoring into one giant class 2018-04-28 15:20:18 +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
fourtf 859f4aefcb added new TupleTableModel for settingsdialog 2018-04-25 14:51:22 +02:00
fourtf 3446a623f5 added select channel dialog 2018-04-18 09:15:56 +02:00
pajlada 23cf8cc484
PubSub system (#346)
* Add websocketpp dependency

* Initial pubsub commit

Renamed selection min and max variables to selectionMin and selectionMax
to bypass windows min/max macros being stupid.

TwitchAccount is now initialized with its User ID. It cannot be changed
after it has been initialized.

* Update openssl folder

* Update installation instructions

* Split up websocketpp dependency to its own code only and openssl.pri

* Add missing include to asio steady_timer

* Update dependencies for linux
2018-04-15 15:09:31 +02:00
Rasmus Karlsson b7266b1640 Fix warnings that occured on linux using clang 2018-04-14 21:59:51 +02:00
fourtf d0a71f37ed fixed text copying if a single word is selected 2018-04-11 22:54:34 +02:00
fourtf c587024c53 Fixes #270 Copying text is broken 2018-04-11 22:54:34 +02:00
fourtf 3ba55ee511 selections now render over all images 2018-04-11 22:54:34 +02:00
fourtf 91d1af6dd9 Fixes #291 links clickable area 2018-04-11 22:54:34 +02:00
fourtf d2bf99b343 Fixes #276 Color of the moderator buttons are black if the timestamp is disabled 2018-04-11 22:54:34 +02:00
fourtf fffe9c93c4 fixes #307 2018-04-11 22:54:34 +02:00
fourtf 0322c73eb5 fixed an issue where normal emotes would be redrawn like gif emotes 2018-04-11 22:54:34 +02:00
fourtf ed50f1835f added debug information on F10 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
Rasmus Karlsson 4888178079 Reformat 2018-04-11 22:54:34 +02:00
fourtf 05335c6440 removed the chrome style tabs 2018-04-11 22:54:34 +02:00
Rasmus Karlsson 9a4ee07ed4 Fixed an issue where Badges and emotes were not rendered transparently in disabled messages
I'm a master programmator

Fixes #300
2018-04-11 22:54:34 +02:00
Rasmus Karlsson 010c061a25 Fixes the previous "Disabled message" behaviour
Fixes #295
2018-04-11 22:54:34 +02:00
Rasmus Karlsson 9886021c6a Add "Timeout action" setting 2018-04-11 22:54:34 +02:00
fourtf e047a55da8 fixed compiling on macos 2018-02-05 23:56:16 +01:00
fourtf b351c40d29 refactored irc 2018-02-05 15:11:50 +01:00
fourtf 643486da14 enabled compact emtoes again 2018-01-28 16:29:47 +01:00
fourtf 3d479e4c83 fixed template compilation on mingw 2018-01-28 15:28:02 +01:00
fourtf f474db9443 minor changes in MessageLayout 2018-01-28 04:07:45 +01:00
fourtf 431b9a8c1f Merge branch 'master' of https://github.com/fourtf/chatterino2 2018-01-28 03:39:47 +01:00
fourtf 591ab4d8da simplified message.cpp 2018-01-28 03:29:42 +01:00
fourtf f42d48860c fixes #249 2018-01-23 22:51:15 +01:00
fourtf 0f4ec70bf3 Fixes #53 last read message indicator 2018-01-23 22:48:33 +01:00
fourtf 418189d39c Fixes #230 appearence settings not updating 2018-01-23 22:00:58 +01:00
fourtf 8a77f918f6 fixed timestamps not updating when changed in the settings 2018-01-23 21:56:25 +01:00
fourtf 3104aae80a fixed crash 2018-01-19 23:41:02 +01:00
Rasmus Karlsson 03ff2205fa test code 2018-01-19 22:45:33 +01:00
fourtf b3951262c8 messages refresh when toggeling the button 2018-01-17 17:02:34 +01:00
fourtf e694214243 added toggle for moderation mode 2018-01-17 16:52:51 +01:00
fourtf 6d6b99f3ef added moderation buttons 2018-01-17 14:14:31 +01:00
nuuls 6f95a219a7
fixed it 2018-01-16 22:37:06 +01:00
fourtf 0ca916717c added basic buggy text copying 2018-01-16 02:39:31 +01:00
fourtf 385f9e44d0 fixed text selection color 2018-01-16 00:34:32 +01:00
fourtf a190eda075 fixed text selection 2018-01-16 00:26:04 +01:00
fourtf 6701c3d0b2 fixed compiling 2018-01-15 04:08:48 +01:00
fourtf c79f88ed10 fixed gif emotes being offset 2018-01-13 03:08:31 +01:00
fourtf 9703cf6ad4 fixed gif emotes not drawing 2018-01-13 02:13:59 +01:00
fourtf 40733ca312 fixed disabled messages not being greyed out 2018-01-13 02:03:53 +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