Commit Graph

1941 Commits

Author SHA1 Message Date
Rasmus Karlsson 3bfaba2d95 Split parseUsername into parseUsername and apendUsername 2017-08-12 13:18:48 +02:00
Rasmus Karlsson 7ce1458348 Replace newlines with spaces 2017-08-12 12:24:28 +02:00
Rasmus Karlsson 6baf045c4c Chat input no longer accepts rich text
Fix #96
2017-08-12 12:20:51 +02:00
Rasmus Karlsson ac6db75dc6 Reformat according to .clang-format 2017-08-12 12:09:26 +02:00
Rasmus Karlsson f455ef9f24 Fix textColor leaking after links 2017-08-12 12:07:53 +02:00
fourtf 85b9703f9c fixed color normalization for dark mode
it was shit
2017-08-05 23:38:49 +02:00
fourtf 8ad2007d96 fixed split drag n drop 2017-08-05 22:53:21 +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 b58ad983d0 fixed messages not being layouted when scrolling 2017-08-05 22:26:37 +02:00
fourtf e1364f2bd2 gave links color 2017-08-05 18:44:14 +02:00
fourtf c8ce55a54e checked scrollbar colors 2017-08-05 18:15:23 +02:00
fourtf 8a175be810 made seperator between chats grey 2017-08-05 17:25:47 +02:00
fourtf 2dea2265ef fixed notebook button colors 2017-08-05 17:01:02 +02:00
Rasmus Karlsson 42cbc30ad6 fix regex again :bbona: 2017-08-01 13:28:12 +02:00
Rasmus Karlsson ba092aa29b Add emojis to autocomplete
Improve autocomplete:
 - Add space after autocompleted item
 - Emotes starting with `:` can now be autocompleted properly (i.e. emojis)
2017-08-01 00:10:02 +02:00
Rasmus Karlsson 62a1148c02 fix link regex (Thanks Cranken1337) 2017-07-31 22:26:48 +02:00
Rasmus Karlsson 3010e6303a Merge branch 'master' of github.com:fourtf/chatterino2 2017-07-31 22:15:17 +02:00
Rasmus Karlsson b5407c94aa Implement emoji sending using shortcodes 😎 🅱️ 2017-07-31 22:15:12 +02:00
Cranken 5feaf4c8eb Implemented the accountpopup. Also fixed regex again. (#89) 2017-07-31 22:14:54 +02:00
Rasmus Karlsson 65e18d4833 Remove unused Emojis class/cpp file 2017-07-31 21:57:21 +02:00
Rasmus Karlsson 7452e7d566 Remove explicit construction in SettingsSnapshot constructor 2017-07-31 21:56:21 +02:00
Cranken a975e15573 Fixed regex triggering on everything. (#87) 2017-07-31 14:23:23 +02:00
Rasmus Karlsson 950a84ec50 Fix wrong default value on doHighlight
Add debug message for when a highlight is triggered for debugging
purposes
2017-07-31 11:08:32 +02:00
Rasmus Karlsson 417c4028a0 Improve user friendliness of changing chat widget channel/opening new chat widget 2017-07-31 01:36:42 +02:00
Rasmus Karlsson 5c8d3f9eef Fix typo in Custom sound file selector 2017-07-31 01:36:33 +02:00
Rasmus Karlsson 5af5c9feb6 Fix chat widget focus deadzone 2017-07-31 01:26:20 +02:00
Rasmus Karlsson b25da12e9b reformat 2017-07-31 01:26:14 +02:00
Rasmus Karlsson 51f81262d5 Clean up highlight code
Fix bug if no account is selected
2017-07-31 01:19:25 +02:00
Rasmus Karlsson 626002c8ff reformat code 2017-07-31 00:57:42 +02:00
Cranken 8fb0671834 Added Highlights (#86)
Added Highlights
2017-07-31 00:37:22 +02:00
Rasmus Karlsson 467ca90fd8 Implement stupid account manager
After logging in, you need to restart chatterino
2017-07-28 19:46:53 +02:00
Rasmus Karlsson a6d87ead9b Merge branch 'master' of github.com:fourtf/chatterino2 2017-07-27 23:32:25 +02:00
Rasmus Karlsson 8a97dfd604 update settings version 2017-07-27 23:32:15 +02:00
Cranken f787d3f464 Added support for non http/https links. (#82) 2017-07-26 12:01:23 +02:00
Rasmus Karlsson b3b89e8019 Made links open in browser 2017-07-26 09:08:19 +02:00
Cranken 23eb42013b Implemented issues #71 and #72 (#80)
* Implemented CTRL-Enter not erasing the input

* Added arrow Up and Down cycling through past messages.

* Disabled CTRL+Enter adding messages more than once.
2017-07-24 13:48:34 +02:00
Rasmus Karlsson 3bf111a091 More progress on tab-complete
There are missing parts to the "account-based" emotes that needs to be
completed before emote completion can be considered done. For now, when
I've been testing, I've been manually injecting the oauthClient and
oauthToken to the settings file with the `user_subscriptions` scope
2017-07-23 14:16:13 +02:00
Rasmus Karlsson e4fc6c25e6 Implement class SignalVector
It's a templated wrapper for std::vector with an overloaded `operator=`
which triggers a signal.
2017-07-23 14:10:12 +02:00
Rasmus Karlsson 9ccfff69d9 Add helper file common.hpp
The file currently contains function `qS(...)` which is an alias for
`QString::fromStdString(...)`
2017-07-23 14:09:20 +02:00
Rasmus Karlsson 0563136a34 Add option to display/hide localized names
Fix #49
2017-07-23 11:59:32 +02:00
Rasmus Karlsson ab814d1e63 refactor stuff 2017-07-23 09:56:06 +02:00
Rasmus Karlsson ae95528236 Channel should never be a nullptr, set it to the "empty channel" 2017-07-10 08:32:33 +02:00
Rasmus Karlsson 5aa892e834 Refactor ConcurrentMap
* Add operator[] to ConcurrentMap which returns a TValue reference
* BTTV/FFZ channel emotes are now stored in the Emote Manager, and each Channel object has a reference to their own BTTV/FFZ channel emote map.
* Restructure EmoteManager a bit (simplify the ConcurrentMap havoc).
* Add EmoteData struct which can store emote data (for now only messages::LazyLoadedImage*)
* Add CompletionManager that does nothing
2017-07-09 17:58:59 +02:00
Rasmus Karlsson 1f1b0d7f03 Remove current preset completion strings
These will be filled in using our CompletionManager soon™️

Refactor Channel class a bit
2017-07-09 17:51:21 +02:00
Rasmus Karlsson b5b07a3e63 Change the way ChatWidget stores its channels name 2017-07-09 17:49:02 +02:00
Rasmus Karlsson 1f7d0dcead Disable tab to switch between splits
This will be custom made later, as tab is used for emote completion
2017-07-09 16:33:08 +02:00
hemirt 2425ddbd2c Implement basic tab autocomplete (#75) 2017-07-09 00:09:02 +02:00
Rasmus Karlsson 73ed39da14 Clean up twitch message parsing 2017-07-02 18:13:16 +02:00
Rasmus Karlsson a58cd3333e Implement emoji parsing
Fix #60
2017-07-02 17:39:51 +02:00
Rasmus Karlsson 5245cfacd1 Store channel room ID as a string instead of an int 2017-07-02 15:12:00 +02:00