Commit graph

1766 commits

Author SHA1 Message Date
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