Commit graph

607 commits

Author SHA1 Message Date
fourtf
a33ac76f99 fixed the default scrollbar size 2018-01-16 01:40:52 +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
d045f6963a disabled custom window frame for now 2018-01-15 01:59:05 +01:00
fourtf
c50e6d7809 started working on a custom window frame 2018-01-15 01:35:35 +01:00
fourtf
177cd734ab centered splitheader title again 2018-01-14 22:24:21 +01:00
fourtf
e0372a2453 moved dpi handling out of helper file 2018-01-14 21:59:45 +01:00
fourtf
e19a83679f moved window logic from BaseWidget to BaseWindow 2018-01-14 21:55:36 +01:00
fourtf
8deb096a27 switched to proper icon for SplitHeader 2018-01-13 04:08:39 +01:00
fourtf
61d0229b4c refactored the SplitHeader 2018-01-13 04:05:38 +01:00
fourtf
bc93ef7214 added settings page for moderation 2018-01-13 03:06:10 +01:00
fourtf
faf5da2bf7 fixed notification tab not having an icon 2018-01-13 02:21:08 +01:00
fourtf
96feb9b54c _ 2018-01-13 02:18:13 +01:00
fourtf
cec6f7ce9d fixed settingsdialogtab image being offset 2018-01-13 02:17:07 +01:00
fourtf
2073447df7 added highlights page again 2018-01-13 02:00:02 +01:00
fourtf
d16bbf6899 fixed icons in settings pages 2018-01-13 00:18:18 +01:00
fourtf
2f0658935a added AboutPage back in again 2018-01-13 00:05:49 +01:00
Rasmus Karlsson
7772f245f6 refactor the refactor 2018-01-12 23:33:04 +01:00
fourtf
e0bb061c81 refactored the settings dialog 2018-01-12 23:09:27 +01:00
Rasmus Karlsson
54502bc8b5 F5 adds a fake message to the IRCManager
current messages have valid cheermotes in them
2018-01-12 20:25:19 +01:00
fourtf
a339c4ca0a fixes #221 2018-01-11 21:03:40 +01:00
fourtf
10850c0ec7 I BROKE EVERYTHING
refactored the rendering process
2018-01-11 20:17:41 +01:00
Bur0k
c240d6f7c2 Added Qt::X11BypassWindowManagerHint to the WindowFlags of ToolTipWidget (#222) 2018-01-10 00:30:40 +01:00
Rasmus Karlsson
ca0d672609 reformat settingsdialog.cpp
this is just a reason to push a build to try out the CI
2018-01-09 08:58:23 +01:00
nuuls
1eb256bd4e
fixed < in emote names breaking the <br> and tooltips on mac 2018-01-07 23:47:08 +01:00
nuuls
92cc1f354b
fixed scaling issue on mac and compilation issue 2018-01-07 23:26:11 +01:00
coral
1348032b57 High DPI logo 2018-01-07 12:03:04 -08:00
coral
6f1f91e78e Goodbye QGraphicsView 2018-01-07 11:55:41 -08:00
Rasmus Karlsson
08859deabc reformat settingsdialog.cpp
just pushing this to test auto build/deploy :kkona:
2018-01-07 17:28:42 +01:00
coral
1fab5adaf8 About box added in Settings, early implementation 2018-01-07 00:05:41 -08:00
coral
6377331364 Changed the global emoji symbol 2018-01-06 23:05:09 -08:00
Rasmus Karlsson
9fa9d7f0e3 Implement preferred emote quality setting.
This doesn't work super well for Twitch emotes because they don't
conform to a proper emote scaling standard

Fixes #150
2018-01-07 02:59:46 +01:00
coral
5baba39cdc NOT UGLY ICON PLX 2018-01-06 17:59:02 -08:00
fourtf
a32d1c063c searching is now case insensitive 2018-01-07 00:05:32 +01:00
fourtf
6fec6514fa made int division float division 2018-01-06 21:47:19 +01:00
Rasmus Karlsson
26170e4fdb Add CTRL+SHIFT+T and CTRL+SHIFT+W to Open and Close tabs
Fixes #21
2018-01-06 21:00:41 +01:00
fourtf
29046b3aa1 fixed scrollbar divide by zero 2018-01-06 20:57:16 +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
Rasmus Karlsson
8aa459d826 Move shortcut creation code to its own helper file 2018-01-06 20:24:04 +01:00
fourtf
e5b8e33eb3 removed fps limit
it didn't increase performance and just made it look 'laggier'
2018-01-06 18:21:00 +01:00
fourtf
20eab57db5 added highlights to the scrollbar 2018-01-06 03:48:56 +01:00
fourtf
a4656f3ab5 added slight offset when notebook has no button 2018-01-05 23:55:41 +01:00
fourtf
3bf3490aa3 increased speed of smooth scrolling 2018-01-05 23:32:06 +01:00
fourtf
315cfd8605 bundling timeouts from same user 2018-01-05 23:14:55 +01:00
fourtf
47a813d5d6 added search popup 2018-01-05 13:42:23 +01:00
fourtf
02b73cfa27 I accidently an assignment 2018-01-05 12:22:03 +01:00
fourtf
df81a0e5a5 Pause chat while hovering. Fixes #208
Also pauses when clicking with double-click-links enabled and while
selecting text
2018-01-05 11:22:51 +01:00
fourtf
4ac03f396f removed "Commands don't save" text 2018-01-05 11:04:37 +01:00
fourtf
8418e36e49 Fixed a bug where scrolling layouts wrong
It used the wrong with to layout the messages.
2018-01-05 10:41:21 +01:00
fourtf
69488eb2ea fixed off by one error 2018-01-05 03:41:31 +01:00
fourtf
898d1d26e7 added window icon 2018-01-05 03:30:43 +01:00
Rasmus Karlsson
069e42360b further fix setting collision 2018-01-05 03:19:41 +01:00
fourtf
1606ea648b added smoothscrolling on new message 2018-01-05 03:15:04 +01:00
Rasmus Karlsson
e58c5ec11b Fix window geometry loading
Fixes #181
2018-01-05 03:09:44 +01:00
Rasmus Karlsson
334860dad2 Remove unused appdatapath class
Reformat some code
2018-01-05 03:00:29 +01:00
fourtf
fd8ddcff55 fixes #113 2018-01-05 02:55:28 +01:00
fourtf
947589358b fixed #15 2018-01-05 02:05:59 +01:00
fourtf
43568556be Fixes #195 2018-01-05 01:31:01 +01:00
fourtf
23e5100227 refresh rate lock for ChannelView 2018-01-05 00:15:03 +01:00
fourtf
fc1fb35947 changed text of the jump-to-bottom-button 2018-01-05 00:01:31 +01:00
fourtf
4a2850c4f5 moved selection into its own file 2018-01-04 23:50:30 +01:00
fourtf
4a91372f8f fixed #182 2018-01-04 23:35:36 +01:00
fourtf
8693203c6d added command tab to settings but they don't save 2018-01-04 04:03:51 +01:00
Rasmus Karlsson
9044700ec6 Convert remaining settings to the new settings system 2018-01-04 02:23:59 +01:00
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
coral
0e8b50c4e9 New setting menu icons! (#189)
* LUL

* Added system icon for OSX
2018-01-02 03:44:52 +01:00
eb4ba30d9f omited struct names in ThemeManager 2018-01-02 02:21:38 +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
bfa2f1637e refactored the managers 2017-12-31 00:50:07 +01:00
Rasmus Karlsson
258288bad9 Some settings can now be "reverted" by pressing cancel in the settings dialog
Modify visibility of some members of SettingsDialog
update external libraries
Progress on #180
2017-12-28 19:34:20 +01:00
Rasmus Karlsson
caddb2c778 Add the "Close Tabs" feature
Also made notebooks open a container if no tabs are loaded

Fixes #166
2017-12-28 18:17:25 +01:00
0cdf974310 Merge branch 'master' of https://github.com/fourtf/chatterino2 2017-12-28 17:50:24 +01:00
e0bdc5ccf9 forgot to remove this xD 2017-12-28 16:56:24 +01:00
Rasmus Karlsson
c9c2aa6dce Fixed crash bug described by Cranken in #165 2017-12-28 16:26:35 +01:00
ece0482502 removed autoscoll and gotobottom from emotepopup 2017-12-28 00:48:21 +01:00
2cdc404eb4 fixed rounding issue that caused an infinite loop 2017-12-27 23:18:42 +01:00
9bbacdfae4 changed login url in logindialog 2017-12-27 22:26:23 +01:00
4f3f9906f1 commented code out that didn't compile 2017-12-27 21:29:56 +01:00
fourtf
2fc546cada made scrollbar a thin boi
Expands when hovered with the mouse
2017-12-26 19:14:36 +01:00
fourtf
9dd6966e8c graphicbuffers of msgs offscreen get discarded now 2017-12-26 18:24:02 +01:00
fourtf
6c23925406 fixed render hints at wrong places 2017-12-26 17:41:03 +01:00
fourtf
5df7651670 removed a debug log 2017-12-26 17:31:15 +01:00
fourtf
285c72a83d fixed "jump to bottom" now disapearing after click 2017-12-26 17:15:23 +01:00
fourtf
4e4cc9223e tweaked the light themes 2017-12-26 16:54:39 +01:00
Rasmus Karlsson
13b39e374b Tabs now highlight when a highlight is received
Work on #88
2017-12-26 12:32:24 +01:00
Rasmus Karlsson
7a8cc91eec Move HighlightState to common.hpp 2017-12-26 12:30:32 +01:00
Rasmus Karlsson
ebd682730a rename highlight style to highlight state 2017-12-26 12:05:14 +01:00
Rasmus Karlsson
03962db367 move some logic abou updated state to twitchuser 2017-12-26 11:59:26 +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
fourtf
2bf53f73f8 oh no the bad commit descriptions are back D: 2017-12-23 23:24:35 +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
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
ec63bc59be Fix autocomplete not being refreshed properly upon first TAB 2017-12-22 16:50:33 +01:00
Rasmus Karlsson
2bd80763e7 Fix some obvious warnings
Ignore some stupid warnings
2017-12-22 15:13:42 +01:00
Rasmus Karlsson
d8c01ce374 Save chats and tabs in new settings system 2017-12-22 14:44:31 +01:00
Rasmus Karlsson
86a9f194f9 Clean up account switcher stuff
Update settings library version

Fixes #9
2017-12-20 00:41:35 +01:00
Rasmus Karlsson
be3c85d72d Move some variables into const.hpp
Clean up some code in the AccountManager
2017-12-19 16:13:02 +01:00
Rasmus Karlsson
324dfc9ee9 Fix account adding and account removing.
This needs to be fully tested before I'm comfortable closing #9

The "advanced" tab also needs testing

We might also want to move the login website to chatterino.com and make
it look nicer
2017-12-19 15:12:33 +01:00
Rasmus Karlsson
4b36893818 Add simple tooltip system 2017-12-19 03:38:42 +01:00
fourtf
01dbaed781 disabled tabs in the settings that are ununsed 2017-12-19 03:37:07 +01:00
fourtf
6f0620ead6 added emojis to the emote popup 2017-12-19 03:18:27 +01:00
Rasmus Karlsson
14e80d5012 Implement mouse scroll speed setting
Fixes #145
2017-12-19 02:48:19 +01:00
fourtf
e39b9093f9 fixed selection color for light theme 2017-12-19 02:37:58 +01:00
fourtf
f8e4d9a737 changes for light theme
- fixed light colored text being too bright
- fixed the ripple effect being white on grey
2017-12-19 02:24:05 +01:00
Rasmus Karlsson
1a870685b0 Implement the "inline" account switch button
Make the account switch listview into a widget
2017-12-19 02:17:01 +01:00
fourtf
4010c49c84 fixed messages not redrawing after changing theme 2017-12-19 01:54:51 +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
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
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
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
169e002b68 fix spelling issue 2017-12-17 13:48:02 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Cranken
5feaf4c8eb Implemented the accountpopup. Also fixed regex again. (#89) 2017-07-31 22:14:54 +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
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
8a97dfd604 update settings version 2017-07-27 23:32:15 +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
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
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
323cdc5561 Implement split clear chat
Fix #55
2017-07-02 14:40:36 +02:00
Rasmus Karlsson
ddf886eaf1 Add basic color scheme handling
Fix #59
2017-07-02 14:28:37 +02:00
Rasmus Karlsson
c5c2718dc0 Use addChat instead of re-implementing the same code (thanks hemirt)
Some refactoring

Updated settings library version
2017-07-02 13:37:24 +02:00
Rasmus Karlsson
d2d65b9cb5 Merge branch 'master' of github.com:fourtf/chatterino2 2017-07-02 12:38:35 +02:00
Rasmus Karlsson
3c2ee99731 working on something 2017-07-02 12:36:50 +02:00
hemirt
0d27f16c4a fix wrong variable name, openChannelNameDialog on ctrl+t, give focus to (#47)
new split
2017-06-29 14:13:00 +02:00
Rasmus Karlsson
7df7da70cb A lot of changes
Remove unused constructor of messages::Message
Fixed LimitedQueueSnapshot _-prefixes
Changed LimitedQueueSnapshot's usage of int to std::size_t
ColorScheme is no longer a singleton
Created a "BaseWidget" class which is pretty much a QWidget except it
has a reference of ColorScheme since most widgets will need a reference
to the style they should use.
BaseWidget can be implemented either with a BaseWidget parent (which
will copy the ColorScheme reference from the parent) or with a
normal QWidget parent and an explicit ColorScheme reference.
Save main window geometry on close
Fix font changing in the Settings Dialog
Update settings library version
2017-06-26 19:53:31 +02:00
Rasmus Karlsson
c2e67e4b90 attempt to implement urlFetch with a timeout 2017-06-26 15:53:43 +02:00
Rasmus Karlsson
1ecc6ff612 Clean up font management
Default to b.userName instead of message->account()
Made font updatable in the Settings dialog with a font dialog
More work on subscription badge loading

Known issues:
  - Font isn't updated in a split until a new message is written in that split
  - When font/font size is changed, old messages don't have their size updated causing weird layout of old messages
2017-06-17 11:37:13 +02:00
Rasmus Karlsson
59d383c161 Huge refactor
- Remove some underscore-prefixes
 - Start using this-> more
 - Remove a few of the singletons (We pass references to managers to
         things that need it now. Might not be much better, but for now
         it works. It also shows what places might be slightly wrong
         designed)
2017-06-13 21:27:26 +02:00
Rasmus Karlsson
7c3cd930f3 make a few settings into pajlada::Settings::Settings
Add setting to hide badges

Give focus to text input if you click anywhere in a chat widget
2017-06-11 20:53:43 +02:00
Rasmus Karlsson
945ca5d17a Implement naive split-closing. This will most likely have some memory leak (at least) 2017-06-11 12:04:22 +02:00
Rasmus Karlsson
4bfe58f14d more random refactoring 2017-06-11 12:00:53 +02:00
Rasmus Karlsson
1d6f558452 Remove SharedChannel (just use std::shared_ptr<Channel>)
More code-refactoring BBaper
2017-06-11 11:36:42 +02:00
Rasmus Karlsson
9cd70877a5 replace all instances of NULL with nullptr 2017-06-11 09:37:30 +02:00
Rasmus Karlsson
1c6ff37e76 rename header files from *.h to *.hpp 2017-06-11 09:31:45 +02:00
Rasmus Karlsson
961f22819e clean up chatwidgetheader more 2017-06-11 09:11:55 +02:00
Rasmus Karlsson
85356cdd6b clean up chat widget structure. how and where hotkeys are handled 2017-06-10 23:53:39 +02:00
Rasmus Karlsson
1472471ddb random shit changes 2017-06-10 22:48:28 +02:00
Rasmus Karlsson
5b2b2e3e19 refactor/reformat. remove useless common.h 2017-06-07 10:09:24 +02:00
Rasmus Karlsson
b66dc479e6 fix scroll to bottom issue 2017-06-06 21:18:05 +02:00
Rasmus Karlsson
edcea52cc6 Store the "showing latest messages" in a variable for later use 2017-06-06 17:22:16 +02:00
Rasmus Karlsson
814fc4bbae Fix scrollbar 2017-06-06 17:18:23 +02:00
Rasmus Karlsson
ccf8e3bd83 move around files 2017-06-06 14:48:14 +02:00