Commit Graph

29 Commits

Author SHA1 Message Date
Dirk Mueller
b8b8230806 fix assertion failure when exiting the last tab
of a window (which crashed all other konsole windows)

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=793298
2008-04-03 15:06:43 +00:00
Robert Knight
18a5c86abe Close tabs when clicked with middle mouse button.
BUG: 137938

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=788960
2008-03-22 23:41:26 +00:00
Robert Knight
c83f99bb9b Limit tab names to a maximum of 20 characters to prevent one or two tabs
from taking up the entire width of the tab bar and requiring the user to scroll
to see more.  Longer tab titles are trimmed to the right-most 20 characters
with an elide inserted at the front.

BUG: 157201

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=786861
2008-03-18 02:39:49 +00:00
Robert Knight
46cfc108d3 * Replace all usage of qDebug() with kDebug(), since kDebug() provides information about
which part of the code the message came from and allows filtering of output
  using kdebugdialog
* Remove explicit creation of singleton classes SessionManager,ColorSchemeManager and
  KeyboardTranslatorManager and automate it with K_GLOBAL_STATIC.
  This ensures that the singleton destructors are called appropriately by KPart clients
  when they unload the libkonsolepart library.


svn path=/trunk/KDE/kdebase/apps/konsole/; revision=754334
2007-12-29 16:07:31 +00:00
Laurent Montel
868b7bcc0f Fix includ
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=751637
2007-12-22 13:52:12 +00:00
Adriaan de Groot
8928e03af4 __FUNCTION__ is a gcc-ism
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=746921
2007-12-10 16:25:20 +00:00
Teemu Rytilahti
563570be9a allow changing between the tabs by using a mouse wheel, approved by Robert.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=740748
2007-11-24 02:01:45 +00:00
Pino Toscano
e9751c4ea2 icon renamings:
- tab-breakoff -> tab-detach
- tab-remove -> tab-close

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=727874
2007-10-22 00:11:17 +00:00
Andreas Pakulat
f412e5b5aa Merge the KConfig branch. This are the 3 main modules (+kdeadmin), which are
needed now because friday is the last BC day. The rest of the modules will
follow as fast as my laptop allows.

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=721704
2007-10-05 22:21:25 +00:00
Constantin Berzan
865486938b * Get rid of an unused/duplicate property in Profile.
* Make it possible to rename a session by double-clicking on (one of) its tab(s).
* Make double-clicking on the empty tabbar area launch a new session.


svn path=/trunk/KDE/kdebase/apps/konsole/; revision=711160
2007-09-11 15:47:38 +00:00
Matthew Woehlke
9b9eab95e1 ColorScheme.cpp: don't use deprecated KColorScheme ctor; need to decide how Konsole wants to handle state effects
ViewContainer.cpp: use new KColorScheme ctor, correctly

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=709227
2007-09-06 21:49:11 +00:00
Robert Knight
d346a2ccad Trick to try and get shell program to redraw the prompt after 'Clear Scrollback and Reset' is selected from the menu. Resize the tty window slightly larger and then back to the original size again. If anyone knows of a more correct solution, please speak up.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=708825
2007-09-05 19:17:20 +00:00
Robert Knight
37304d50ab Disable tabbed navigation in the Konsole Part. Add method to ViewManager to set navigation type for newly created containers. Fix crash when deleting a StackedViewContainer. Add note about a hack that needs to be fixed.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=708735
2007-09-05 14:35:04 +00:00
Laurent Montel
53fc966203 Adapt to new KWarning/kFatal/kDebug api
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=695870
2007-08-03 06:40:12 +00:00
Robert Knight
e12174c2ff Re-implement Ctrl+Shift+Left/Right to move the current tab left or right. Fix float->int conversion warning.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=682750
2007-07-03 10:53:44 +00:00
Robert Knight
72241ef4a6 * Comment out many debugging messages
* Experimental optimization, disable kerning since this is not required
  with the mono-spaced fonts which are used in the terminal.

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=682702
2007-07-03 09:14:21 +00:00
Matthew Woehlke
44962b4ea0 adapt to KPalette->KColorCollection rename and API cleanup
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=682401
2007-07-02 15:51:07 +00:00
Robert Knight
0518355b55 Translate color names in color scheme editor and make them more presentable. Shorten menu bar option text in profile editor.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=680720
2007-06-27 02:31:30 +00:00
Robert Knight
c61f622dae Replace QTabBar with KTabBar in tabbed view container. Partly to follow the KDE guideline of using KWidgetType instead of QWidgetType and to enable easier addition of some user requested features.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=679108
2007-06-23 02:40:11 +00:00
Robert Knight
063dba1c71 Use the new KColorScheme to get 'active' color to highlight tabs when activity occurs in them. Currently uses a 50/50 blend of the normal text color and the active text color.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=677283
2007-06-18 20:38:23 +00:00
Robert Knight
17d8d12249 Fix a couple of crashes. Sync configuration information in SessionManager's destructor and fix problem with scroll optimisation. Not sure about that first one, it shouldn't do any harm, but I don't think it should be necessary either.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=670398
2007-06-01 11:24:11 +00:00
Robert Knight
835f1fe300 Change tab text color for tabs when activity occurs in them, ala. Kopete. This is different to 'Monitor for Activity' which provides more dramatic notifications via the KDE notification framework.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=668549
2007-05-26 18:23:44 +00:00
Robert Knight
d61c811755 Mistake from last commit. Fix the logic that repositions the tab bar on settings change.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=667499
2007-05-22 23:46:27 +00:00
Robert Knight
2739625dce Allow the tab bar position to be specified in the profile editing dialog. Other tweaks to the profile editing dialog.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=667497
2007-05-22 23:38:16 +00:00
Robert Knight
2fd69ce1ba Add internal support for choosing the tab bar's position with respect to the terminal display. Currently now defaults to positioning the tabs at the bottom of the screen as in KDE 3, haven't decided on what the final default setting will be.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=666706
2007-05-20 16:33:03 +00:00
Dirk Mueller
9ea3227384 include cleanup
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=663054
2007-05-09 22:23:52 +00:00
Robert Knight
33c913383d EBN fixes. Mostly copyright and implementations including their own headers first.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=662726
2007-05-09 00:01:01 +00:00
Robert Knight
1ff1400940 Put the space between the tab bar and the main window in the view container (ie. the tab container) rather than the main window - so that it disappears when the tab bar is hidden.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=661690
2007-05-06 11:52:25 +00:00
Robert Knight
19a29d182a Rename directories for clarity. konsole -> src , other -> data.
svn path=/branches/work/konsole-split-view/; revision=661562
2007-05-05 23:33:05 +00:00