Commit graph

68 commits

Author SHA1 Message Date
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
3e5937011a the rewrite that nobody wanted 2018-01-02 02:15:11 +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
1940b0197c emotes now have less margin 2017-12-28 17:46:36 +01:00
Cranken 223f4af55a Implemented loading recent messages. (#162) 2017-12-27 01:22:12 +01:00
Rasmus Karlsson 13b39e374b Tabs now highlight when a highlight is received
Work on #88
2017-12-26 12:32:24 +01:00
fourtf 72ed52c35c fixed system messages not splitting words properly 2017-12-24 00:24:35 +01:00
fourtf 2bf53f73f8 oh no the bad commit descriptions are back D: 2017-12-23 23:24:35 +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
Rasmus Karlsson 4b36893818 Add simple tooltip system 2017-12-19 03:38:42 +01:00
fourtf c950e9c58a added some code for collapsing messages 2017-12-19 00:10:03 +01:00
Rasmus Karlsson 03958420be We now also add localized names to the autocompletion
Changed the login name in autocompletion to the display name
Autocompletion model is now only updated on the "first completion"
2017-12-17 21:05:48 +01:00
Rasmus Karlsson 5839b9f522 add username to message (simple) 2017-12-17 17:48:46 +01:00
5cb33647dc fixed splits not redrawing after font changed 2017-12-17 03:26:23 +01:00
Rasmus Karlsson 70cbb9df7f Make more use of single pattern 2017-12-17 02:18:13 +01:00
202cdeaefb Merge branch 'master' of https://github.com/fourtf/chatterino2 2017-12-17 01:55:30 +01:00
dd11c56b9a fixed msgs not layouting after changing settings 2017-12-17 01:54:15 +01:00
Rasmus Karlsson eb8e14b8fe Move more settings over to pajlada settings system 2017-12-17 01:19:56 +01:00
269a5500d8 Merge branch 'master' of https://github.com/fourtf/chatterino2 2017-12-17 00:07:03 +01:00
f36d346a4f dpi 2017-12-17 00:06:24 +01:00
Rasmus Karlsson e060f87b3c hehe fourtf 2017-12-17 00:01:42 +01:00
Rasmus Karlsson 357515ab39 createTimeoutMessage now also handles permaban-messages 2017-12-16 19:45:23 +01:00
Rasmus Karlsson 6d56148ed2 Implement basic ClearChat handling
Fixes #56
2017-12-16 19:08:32 +01:00
Rasmus Karlsson b39034ab74 Move message timestamp-code to its own function 2017-12-16 19:03:22 +01:00
Rasmus Karlsson 87203c1120 Add system messages upon connecting/disconnecting 2017-12-16 18:13:40 +01:00
Rasmus Karlsson 3cc19bd4ce reformat messagecolor class 2017-12-16 17:53:48 +01:00
Rasmus Karlsson 064daaa77a selections can now start outside of a message
This means in the empty space under any available messages
2017-11-04 13:17:35 +01:00
hemirt f51372102e Networkmanager (#134)
* rename ImageLoader* to Network*

* static NetworkManager

* NetworkManager queue arbitrary requests

* modify urlfetch to use NetworkManager

* urlfetchjson in terms of NetworkManager

* fetchurljson fetchurltimeout fetchurljsontimeout

special fetch url functions with various connects and functions to be
called

* operate on fetched data in the correct thread

* operate on fetched resources in correct thread

* networkmanager urlfetch functions

* expose urlfetch functions of networkmanager through util and
util::twitch

* add caller to util functions

* cleanup

* formatting

* urlPut function for NetworkManager and util::twitch

* cleanup worker (no more leak)

* use urlfetch for LazyLoadedImage::loadImage

* Rename NetworkManager methods (#1)

* Rename NetworkManager methods

Remove unused NetworkManager methods
Remove unused NetworkManager includes

Reorder includes in lazyloadedimage.cpp and urlfetch.hpp

* try to simplify code, might break everything

* fixed some more stuff?
2017-10-27 20:09:02 +02:00
hemirt bdee9fff70 fix image loader scrollbar crash (#129)
* fix image loader scrollbar crash
2017-10-11 14:46:56 +02:00
fourtf f0c21f5b49 refactored message drawing and layouting 2017-10-11 10:34:04 +02:00
Rasmus Karlsson 19630bf91b Clean up ImageLoaderManager
Unpointered NetworkAccessManager
Removed debug output
Removed unneeded includes
2017-10-08 15:30:55 +02:00
hemirt e7e4ab768b Fix image loading slowness
Images are now loaded in another thread
2017-10-08 15:18:47 +02:00
Matija cb8846c0ae Threaded image downloading (#118) 2017-09-28 22:24:03 +02:00
Rasmus Karlsson c14dc43b18 fix highlights - reformat some stuff 2017-09-24 18:43:24 +02:00
fourtf 3e24752477 fixed project code style in some files 2017-09-21 12:15:01 +02:00
fourtf 8eaca85402 increased limit for messages to 1000 2017-09-21 02:22:35 +02:00
fourtf ab641abd9c fixed ctrl+c to copy text 2017-09-21 02:20:02 +02:00
fourtf bd4601a5d4 added MessageColor to represet special colors 2017-09-21 00:54:10 +02:00
Rasmus Karlsson 51e5d198fb fix message deleting bug 2017-09-17 04:39:30 +02:00
fourtf c7b3480aaf ChatWidgetView -> ChannelView, added Emote Picker 2017-09-16 00:05:06 +02:00
fourtf 81b1a8774b added text selection 2017-09-12 19:06:16 +02:00
Rasmus Karlsson a82774543c Fix warnings/reformat some code 2017-08-12 15:58:46 +02:00
Rasmus Karlsson ac6db75dc6 Reformat according to .clang-format 2017-08-12 12:09:26 +02:00
fourtf e1364f2bd2 gave links color 2017-08-05 18:44:14 +02:00
Rasmus Karlsson 42cbc30ad6 fix regex again :bbona: 2017-08-01 13:28:12 +02:00
Rasmus Karlsson 62a1148c02 fix link regex (Thanks Cranken1337) 2017-07-31 22:26:48 +02:00