fourtf
ded61256de
moved native event handler to it's proper file
2017-12-19 01:32:06 +01:00
fourtf
f9487b1dae
fix accountpopup code style aka add 5 mio this->
2017-12-19 01:25:57 +01:00
fourtf
368ec7c903
fixed coding style for scrollbar
2017-12-19 01:11:35 +01:00
fourtf
c950e9c58a
added some code for collapsing messages
2017-12-19 00:10:03 +01:00
Rasmus Karlsson
5c6411b50b
Added "Anonymous" (aka not logged in) as an option for the account chooser
2017-12-18 23:50:39 +01:00
Rasmus Karlsson
bf39851776
update window title when changing accounts
2017-12-18 23:50:39 +01:00
fourtf
e46357ad9b
small fixes for the scrollbar
2017-12-18 22:13:46 +01:00
fourtf
f8cf983b7c
added an option to disable smooth scrolling
2017-12-18 20:18:20 +01:00
fourtf
a399af9c66
added fix for scrollbar smooth scrolling jumping on new messages
2017-12-18 18:55:09 +01:00
fourtf
625e33d654
ping sound media doesn't get recreated on every message
2017-12-18 17:57:56 +01:00
fourtf
cca065f0f9
disabled non client dpi scaling until issue is fixed
2017-12-18 02:47:01 +01:00
fourtf
929552f74d
fixed emote popup not having the right default size on hidpi
2017-12-18 01:23:22 +01:00
fourtf
90db7a3995
fixed user popup not hidpi scaling properly
2017-12-18 01:17:02 +01:00
fourtf
01e9c723fa
fixed hidpi scaling for the settings window
2017-12-18 00:54:53 +01:00
Rasmus Karlsson
87182d078c
Further simplify font label updating in settings dialog
2017-12-17 21:11:19 +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
fourtf
6f1509cb4f
Merge branch 'master' of https://github.com/fourtf/chatterino2
2017-12-17 20:50:35 +01:00
fourtf
7f80e64e7d
current font in settings format
...
now reads "fontname, fontsize pt"
2017-12-17 20:48:15 +01:00
Rasmus Karlsson
e41c855545
add simple username tabbing for recent chatters
2017-12-17 17:49:32 +01:00
Rasmus Karlsson
5839b9f522
add username to message (simple)
2017-12-17 17:48:46 +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
02e5030475
add fS function to simplify string formatting with fmt::format
2017-12-17 17:01:37 +01:00
fourtf
54ed42f884
Merge branch 'master' of https://github.com/fourtf/chatterino2
2017-12-17 16:46:02 +01:00
fourtf
1ca4fb46d6
added window always on top option
2017-12-17 16:45:15 +01:00
Rasmus Karlsson
912b9b89b3
Fix streamlink "choose" option if user has a default quality in config
...
Fixes #146
2017-12-17 16:34:01 +01:00
Rasmus Karlsson
151ff057a6
Implement "hide empty input" option
...
Fixes #144
2017-12-17 16:19:28 +01:00
Rasmus Karlsson
ef9aedb2cd
Add some console error messages if streamlink path is bad
2017-12-17 15:46:22 +01:00
Rasmus Karlsson
d182c22a4e
Implement duplicate message sending setting
...
Fixes #142
2017-12-17 15:34:07 +01:00
Rasmus Karlsson
169e002b68
fix spelling issue
2017-12-17 13:48:02 +01:00
Rasmus Karlsson
4a70fa5d0c
re-add variable I accidentally removed
2017-12-17 13:46:54 +01:00
Rasmus Karlsson
fe352b5da9
remove underscore-prefix from some class members
2017-12-17 13:31:08 +01:00
Rasmus Karlsson
bb608c83d1
changing the "Enable gif emotes" setting just starts/stops the gif timer instead
2017-12-17 13:26:42 +01:00
1fb0ca649a
Merge branch 'master' of https://github.com/fourtf/chatterino2
2017-12-17 03:46:46 +01:00
ec638874d9
fixed gifs still playing after disabling them
2017-12-17 03:46:12 +01:00
Rasmus Karlsson
bb081b710e
Update settings and signals library version
2017-12-17 03:37:46 +01:00
c1ac7db24c
Merge branch 'master' of https://github.com/fourtf/chatterino2
2017-12-17 03:27:03 +01:00
5cb33647dc
fixed splits not redrawing after font changed
2017-12-17 03:26:23 +01:00
Rasmus Karlsson
633423640e
Completion models are now updated on-demand (whenever user presses Tab)
...
We might want some dirty-checking here, but for now it's okay
2017-12-17 03:06:39 +01:00
266ad36de3
Merge branch 'master' of https://github.com/fourtf/chatterino2
2017-12-17 02:42:04 +01:00
31a76e46d1
fix message length label, fixes #140
2017-12-17 02:40:05 +01:00
Rasmus Karlsson
70cbb9df7f
Make more use of single pattern
2017-12-17 02:18:13 +01:00
Rasmus Karlsson
d5f1c6acec
reformat emotepopup
2017-12-17 02:10:35 +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
Rasmus Karlsson
8687d01cea
fix ParseTagString function
2017-12-17 00:56:33 +01:00
6b46d12558
added ParseTagString code
2017-12-17 00:39:27 +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
3cfb00d61f
We now handle some write-connection messages like if users have been banned/timed out successfully by the user, or unbanned etc
2017-12-16 19:47:38 +01:00
Rasmus Karlsson
357515ab39
createTimeoutMessage now also handles permaban-messages
2017-12-16 19:45:23 +01:00
Rasmus Karlsson
d905e88671
We now handle irc NOTICE messages
2017-12-16 19:20:57 +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
b13b8a2ce6
Simplify IrcManager connection creation/disconnecting
...
reword some comments/add some comments about unfitting methods in IrcManager
2017-12-16 17:18:08 +01:00
Rasmus Karlsson
bf5e619818
Remove message-spawning tests
2017-12-16 16:33:46 +01:00
Rasmus Karlsson
676c7b9017
Reformat some files according to .clang-format
2017-12-16 02:22:35 +01:00
Rasmus Karlsson
a372bae80d
Change the way Twitch accounts are stored in AccountManager
...
This is done in a way which should simplify abstracting it to other
types of accounts if needed in the future
Remove comment about removing singletons - we're keeping them (and probably restoring some)
IrcManager now updates its "account" reference automatically through the
AccountManager.Twitch.userChanged-signal
Remove unused IrcManager getUser-method
IrcManager::beginConnecting is no longer called asynchronously. This
might want to be reverted in a more controlled asynchronous manner.
User Accounts are now stored as Shared Pointers instead of using
references/copies everywhere
2017-12-16 02:21:06 +01:00
Rasmus Karlsson
a8afdf4565
remove some debug output
2017-12-16 02:09:51 +01:00
Rasmus Karlsson
b5bb49e8e5
Add method for executing lambda in QObject's thread
2017-12-16 01:57:34 +01:00
Rasmus Karlsson
07f39f2667
Remove offline chat debug code
2017-12-16 01:27:37 +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
Rasmus Karlsson
ad8ee97de9
Fall back to default subscriber badge if there's no other badge available
2017-11-04 17:22:53 +01:00
Rasmus Karlsson
49c2f442cb
fix mingw compilation issues
2017-11-04 16:56:38 +01:00
Rasmus Karlsson
7b2e3a94a6
Moved online status checking logic from ChatWidgetHeader
to TwitchChannel
...
- Channel now needs to be initialized with a name. Special cases like the emote window just sends an empty string.
- ChatWidget now has a signal which is called whenever the widgets channel is changed
- Changed roomID from an std::string to a QString
2017-11-04 14:57:29 +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
Rasmus Karlsson
e1a31785ef
Don't show non-existant channels as live
2017-11-04 12:42:37 +01:00
Rasmus Karlsson
bdd5e4aae6
Clean up some debugging output
2017-10-27 22:05:08 +02:00
Rasmus Karlsson
2de98dc1f8
Move timeout logic to NetworkRequest
2017-10-27 22:04:05 +02:00
Rasmus Karlsson
41ec892bf8
Remove urlFetchJSON
usages. They now use NetworkRequest.getJSON
2017-10-27 21:22:06 +02:00
Rasmus Karlsson
75079d5ac8
Also update chat widget input text when the font is updated.
...
Fixes #93
2017-10-27 21:04:53 +02:00
Rasmus Karlsson
c08059c6a8
Add simple fontChanged signal
...
Delete copy/move constructor of FontManager :kkona:
Fix places that were using the copy constructor of the FontManager
2017-10-27 21:03:24 +02:00
vanolpfan
37571ae613
Use user's font in chat input ( #135 )
2017-10-27 20:34:23 +02: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
3ff6eece5c
Merge branch 'master' of https://github.com/fourtf/chatterino2
2017-10-11 10:38:55 +02:00
fourtf
f0c21f5b49
refactored message drawing and layouting
2017-10-11 10:34:04 +02:00
Rasmus Karlsson
7855d6265d
Split tab-creation up into separate functions
2017-10-08 21:27:27 +02:00
Rasmus Karlsson
23651fd513
Add option to play highlight sounds even if Chatterino is focused.
...
This is off by default
2017-10-08 21:27:27 +02:00
fourtf
8b25d37a37
added benchmark util
2017-10-08 17:23:46 +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
fourtf
e6ee009698
removed the qt scaling
2017-09-24 20:02:43 +02:00
Rasmus Karlsson
81e06f3a53
debug::Log
can now be used instead of qDebug()
...
Usage:
```
QString string("world");
debug::Log("hello: {}", string);
```
2017-09-24 19:23:07 +02:00
Rasmus Karlsson
c14dc43b18
fix highlights - reformat some stuff
2017-09-24 18:43:24 +02:00
Rasmus Karlsson
903cf30ddf
fix currentUser thing
2017-09-24 18:14:22 +02:00
Cranken
881e695189
Added some functionality to the accountPopup ( #117 )
...
* Added some buttons.
* Added some more functionality.
* Finished adding button functionality.
* Implemented @fourtf's suggestions.
2017-09-23 19:23:10 +02:00
Daniel _
206a3518b0
fixed dpi not initializing when the window shows
2017-09-23 18:37:51 +02:00
fourtf
14511e10ef
HiDPI commit
2017-09-22 00:50:43 +02:00
fourtf
222eedcd21
added gotToBottom and EnableNonClientDpiScaling
2017-09-21 17:34:41 +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
9d671ac873
fixed text copying that wasn't supposed to
2017-09-21 01:26:53 +02:00
fourtf
e65a5948fe
Merge branch 'master' of https://github.com/fourtf/chatterino2
2017-09-21 00:55:22 +02:00
fourtf
bd4601a5d4
added MessageColor to represet special colors
2017-09-21 00:54:10 +02:00
Cranken
8bd3cd4060
Fixed live status ( #112 )
...
* Fixed live status.
* Update chatwidgetheader.cpp
2017-09-20 18:12:29 +02:00
Rasmus Karlsson
38d118c5dc
add debug binding ALT+Q to add test messages to current chatwidget
...
(every second)
2017-09-17 04:39:30 +02:00
Rasmus Karlsson
51e5d198fb
fix message deleting bug
2017-09-17 04:39:30 +02:00
fourtf
bc207aeede
Merge branch 'master' of https://github.com/fourtf/chatterino2
2017-09-17 02:14:49 +02:00
fourtf
e31bb48384
fixed gifs on the emotepicker
2017-09-17 02:13:57 +02:00
Rasmus Karlsson
6b0fc38afe
Fix compilation issue on MSVC
2017-09-17 00:40:02 +02:00
fourtf
3e9f71dbf9
fixed clicking on splits to focus them
2017-09-16 16:49:52 +02:00
fourtf
a4995201f5
changed some filenames and stuff like that
2017-09-16 16:20:10 +02:00
fourtf
c7b3480aaf
ChatWidgetView -> ChannelView, added Emote Picker
2017-09-16 00:05:06 +02:00
fourtf
84c23a5d00
modified buttons a bit
2017-09-15 17:23:49 +02:00
Cranken
4ac811f2a9
Fixed popups in viewer list. ( #110 )
2017-09-12 22:10:30 +02:00
fourtf
6ce13db443
Merge that pile of garbage in
...
added text selection
2017-09-12 19:12:02 +02:00
fourtf
81b1a8774b
added text selection
2017-09-12 19:06:16 +02:00
Confuseh
6ec8f6e032
Quality options for Streamlink ( #103 )
...
* added quality options for streamlink
* wrong default value
2017-09-11 23:35:59 +02:00
Cranken
7db45aa7f2
Adds viewer list + livechecks ( #105 )
...
* Added check for livestatus + tooltip.
* Also added live check on startup.
* Added viewerlist + livesearch.
* Refactored code to make it compacter.
2017-09-11 22:37:39 +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
60afaa588b
Remove ability to log in with env variables
2017-08-19 15:30:53 +02:00
Rasmus Karlsson
3f8c025e64
Store default client id in credentials.hpp
2017-08-19 15:29:36 +02:00
fourtf
8b40393023
refactored message drawing
2017-08-18 15:12:07 +02:00
fourtf
c6776cb76e
removed old code for testing colors
2017-08-17 22:54:26 +02:00
fourtf
cac2786c58
fixed emotes after emojis not showing
2017-08-17 22:46:16 +02:00
fourtf
5b6596066e
improved tab titles
...
added default and fixed refresh triggers on split rename
2017-08-17 22:25:41 +02:00
fourtf
ab6474150d
Merge branch 'master' of https://github.com/fourtf/chatterino2
2017-08-17 19:15:55 +02:00
fourtf
2e86064a48
closing tabs with middle mouse and context menu
2017-08-17 19:15:03 +02:00
daniel
6bc99a9ba6
hopefully fixed black screen issue on mac
2017-08-17 17:02:10 +02:00
fourtf
6b0a7f507e
tabs now grey out when the window loses focus
2017-08-17 16:43:19 +02:00
fourtf
ca65e543ec
Added code for ubuntu color style
2017-08-17 14:52:41 +02:00
Rasmus Karlsson
a4533ae92c
Implement tab renaming/default tab name
...
Fix #13
2017-08-13 16:52:16 +02:00
Rasmus Karlsson
f4df262179
Turn NotebookTab into a BaseWidget
2017-08-13 16:10:53 +02:00
Rasmus Karlsson
eb3645a723
Clean up NotebookTab
2017-08-13 16:08:46 +02:00
Rasmus Karlsson
773208ac6b
Clean up Notebook
2017-08-13 15:33:18 +02:00
Rasmus Karlsson
d9f87c0824
Implement Ctrl+Tab (Move to next tab) and Ctrl+Shift+Tab (Move to previous tab)
2017-08-13 15:24:41 +02:00
Rasmus Karlsson
c9df6ddaab
Ignore Shift+Tab in chat widget input for now.
...
Don't autocomplete if Ctrl is pressed
2017-08-13 15:13:32 +02:00
Rasmus Karlsson
12812e24ff
Make ConcurrentMap more correct
2017-08-13 14:52:31 +02:00
Rasmus Karlsson
a82774543c
Fix warnings/reformat some code
2017-08-12 15:58:46 +02:00
Rasmus Karlsson
ce61351fe3
Implement Alt+Arrow key movement
...
Work on #92
2017-08-12 15:41:14 +02:00
Confuseh
a6573e83e0
Simple streamlink support ( #97 )
...
* Simple streamlink support
Relies on settings entry & loads best available quality by default.
2017-08-12 14:44:27 +02:00
Rasmus Karlsson
63f85e9bee
Implement Chatterino badges
...
Fix #63
2017-08-12 13:20:52 +02:00
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