Commit Graph

121 Commits

Author SHA1 Message Date
Jekyll Wu
50a38c2fcb small changes with #include . 2011-09-06 08:17:41 +08:00
Jekyll Wu
f5772ab06b Enable copy action only when some text are selected.
FEATURE: 203768
FIXED-IN: 4.8
2011-08-27 01:59:18 +08:00
Jekyll Wu
0ddf722e08 Disable clear & reset actions when the secondary screen is in use.
BUG:204741
FIXED-IN: 4.8
2011-08-27 00:14:09 +08:00
Jekyll Wu
67e2181fe7 Do not set alternative shortcut for switching to prev/next tab.
It is generally a good idea to pass more keyboard actions into terminal
process, instead of intercepting them. Anyway, Uses can still define the
alternative shortcuts themselfes if they want.

BUG: 188941
FIXED-IN: 4.8
2011-08-26 16:26:15 +08:00
Jekyll Wu
fff43b2ca7 Apply the changed profile only when it is used by current view.
This fixes the regressio caused by commit e8fa53 .
2011-08-16 16:07:55 +08:00
Jekyll Wu
3ea8344c4e Fix compilation error introduced in commit 4d77f7. 2011-08-15 14:24:55 +08:00
Jekyll Wu
4d77f7a3f1 New tab will be placed to the right of the current tab.
This is a improved version, which also works well with split view.
2011-08-15 10:53:24 +08:00
Jekyll Wu
60fdf0f993 Revert "New tabs will be placed to the right of the current tab."
This is a temporary revert. Previous commit did not take split view
into account and puts new tab in weird order when used in split view.

A improved version will be commit shortly after.

This reverts commit 676df0c26e.
2011-08-15 10:44:12 +08:00
Jekyll Wu
81001aff31 call applyProfileToContainer() within createContainer().
This reduces duplication and make the code more consistent.
2011-08-15 09:25:22 +08:00
Jekyll Wu
f4b188658d Newly created container should also show new & close button.
BUG: 207213
REVIEW: 102324
2011-08-15 08:55:01 +08:00
Jekyll Wu
e8fa531709 Split ViewManager::applyProfile() into two methods.
The original method is splitted into applyProfileToView() which applies
view-specific settings to TerminalDisplay, and applyProfileToContainer()
which applies container-specific settings to ViewContainer.

This comes as preparation for fixing bug #207213.

REVIEW: 102321
2011-08-15 08:53:08 +08:00
Jekyll Wu
bfa0d696ad move some code into ViewManager::createContainer(). 2011-08-14 11:30:25 +08:00
Kurt Hindenburg
087f67e4fc Allow an image to be set as the background in the terminal.
Restore the KDE3 option to have a background image in each session.

Patch by Alexandre Becoulet <diaxen@free.fr>
BUG: 157882
FIXED-IN: 4.8
2011-08-07 18:44:16 -04:00
Kurt Hindenburg
b40a006db8 Add a checkbox to hide the size widget upon resizing window.
Re-add the KDE 3 option to show/hide the size widget when the window is
changed.

Patch is years old from Chali Ahmul M.P.U <chali.ahmul@atlas.cz>
FEATURE: 169054
FIXED-IN: 4.8
2011-07-31 20:56:16 -04:00
Kurt Hindenburg
676df0c26e New tabs will be placed to the right of the current tab.
Currently new tabs are placed at the end which is not very convenient.

Patch by Jekyll Wu <adaptee@gmail.com>
FEATURE: 276872
FIXED-IN: 4.8
2011-07-30 22:17:12 -04:00
Montel Laurent
b91f50015d Normalize signals/slots 2011-07-30 14:10:56 +02:00
Kurt Hindenburg
e8145abc84 Allow all the tab widths to be the exact title length.
This toggles between the current calculations of the tab width and just
using the full title for the tab width.
This is a dbus method which will have to do unless I can get a GUI
in before the freeze.
2011-04-23 21:18:52 -04:00
Kurt Hindenburg
48cdd11371 Add profile option to disable underlining links.
Add a configuration item that allows disabling of the underlined links
on mouse hover. The option is profile specific and defaults to the previous
behaviour where links are underlined on hover.

Patch by Amand Tihon <amand.tihon@alrj.com>

BUG: 174261
FIXED-IN: 4.7
CCMAIL: amand.tihon@alrj.com
2011-04-16 13:39:42 -04:00
Kurt Hindenburg
467fb1edcb Restore 'Close Tab' on the tab context menu and the close tabbar button.
These 2 options were disabled due to they messed up the menu texts
after the fix for bko 185466.
The close method via dbus has been disabled as it causes menu issues.

Most of patch to fix 'Close Tab' by Albert Astals Cid aacid@kde.org
BUG: 267896
CCBUG: 185466
FIXED-IN: 4.6.3
2011-04-05 11:39:48 -04:00
Kurt Hindenburg
5ba077d554 Set the window icon to the active session icon.
The konsole window icon will now be the same as the currect session's
icon.
FEATURE: 256840
2011-04-03 21:13:13 -04:00
Kurt Hindenburg
ae29427a26 Correct shortcut action titles: view -> tabs
BUG: 219290
FIXED-IN: 4.7
2011-03-04 12:37:44 -05:00
Kurt Hindenburg
a7092cc204 comment out last patch and include some debugging info
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1216576
2011-01-24 04:04:10 +00:00
Kurt Hindenburg
ca5de07bbd Handle when tabs are closed via the close tab button on tab bar.
CCBUG: 185466

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1216575
2011-01-24 03:25:33 +00:00
Kurt Hindenburg
a95222fec5 Fix issue where the context menu popup no longer appeared after closing a tab.
BUG: 185466

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1216490
2011-01-23 17:39:49 +00:00
Kurt Hindenburg
6441f929a5 Recommit patch as this wasn't causing the crashes.
BUG: 240037

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1198147
2010-11-17 15:33:09 +00:00
Kurt Hindenburg
1236ba56d4 Remove previous commit as it cause a lot of crashes for apps using
Konsole Part.

CCBUG: 240037

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1194920
2010-11-10 05:19:30 +00:00
Kurt Hindenburg
f834ba132d When closing a tab, select the previously focused tab.
BUG: 240037
FIXED-IN: 4.6

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1186295
2010-10-15 17:42:49 +00:00
Laurent Montel
9116e54fd4 Fix class
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1148412
2010-07-10 15:07:21 +00:00
Kurt Hindenburg
cd4adc3fc4 Allow the window size and location to be saved per profile.
Patch is from Gentoo.

BUG: 181129

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1144208
2010-06-29 13:50:32 +00:00
Robert Knight
1c38b8b129 Fix shortcuts for split view left/right, top/bottom and zoom in. Qt::CTRL + Qt::SHIFT + where already requires shift is not handled, so leave out the Qt::SHIFT.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1143688
2010-06-28 13:47:11 +00:00
Valentine Sinitsyn
253a5cc824 Make bold font for bright (intensive) ANSI colors a user-configurable option rather than hardcoded default.
BUG: 226308


svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1133477
2010-06-01 20:06:11 +00:00
Kurt Hindenburg
1708547e64 Fix issue where the tab bar reappears after a split-view.
BUG: 176260

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1133040
2010-06-01 00:00:54 +00:00
Kurt Hindenburg
c5ef78569f Refresh the screen after the user manually drag-n-drops a tab.
BUG: 164099

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1133036
2010-05-31 23:48:37 +00:00
Sascha Peilicke
45d27ec764 Second chunk of menubar changes, see http://reviewboard.kde.org/r/3875/ for details.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1122683
2010-05-04 13:31:46 +00:00
Kurt Hindenburg
9292af91fd Add 'Detach Tab' to the tab context menu.
Original patch by Shlomi Fish.  I did some hacking on it.

BUG: 153376

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1118851
2010-04-26 02:10:05 +00:00
Kurt Hindenburg
ed3aee70b2 Use the default profile if the session management's Konsole file is unusable (corrupt/missing/etc).
CCBUG: 203621

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1115480
2010-04-16 15:18:21 +00:00
André Wöbbeking
7cd044356a ksharedptr.h:211: warning: 'profile.KSharedPtr<Konsole::Profile>::d' is used uninitialized in this function
ViewManager.cpp:981: note: 'profile.KSharedPtr<Konsole::Profile>::d' was declared here

CCMAIL:kurt.hindenburg@gmail.com

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1044516
2009-11-03 22:46:57 +00:00
Kurt Hindenburg
ba1dfb1014 Allow option for triple-click to select from current word to end of line.
FEATURE: 164680

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1005970
2009-08-02 18:36:54 +00:00
Robert Knight
1288f72d94 Correct tab cycling direction for consistency with other applications when using Ctrl+PageUp/PageDown. Patch by Jacob Welsh. BUG:199905
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=998432
2009-07-17 16:28:02 +00:00
Albert Astals Cid
e3f06d2beb switch to next tab and not previous on tab close like all other kde apps do
Approved by Robert Knight
BUGS: 183483

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=996026
2009-07-13 18:06:59 +00:00
Kurt Hindenburg
b35b3e04f3 Implement org.kde.konsole.Konsole methods (minus activateSession).
Thanks to Arno Töll for the big dbus patch that I'm breaking into smaller pieces.

CCBUG: 169024

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=952482
2009-04-12 00:27:19 +00:00
Eike Hein
02c0e30ef3 Disable some more actions for the KPart that have no use in
it and interfere with applications using the KPart, and add
a lengthy FIXME about why the current approach for this is
insane.

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=949615
2009-04-05 14:56:39 +00:00
Robert Knight
dd9df43b44 Remove emacs mode information from the bottom of some source files.
If this information is put anywhere it should be in a single file instead
of duplicated for each file.  In fact, it shouldn't be needed at all since
we have the same rules on tabs and tab sizes as most other parts of kdebase


svn path=/trunk/KDE/kdebase/apps/konsole/; revision=946369
2009-03-29 11:12:57 +00:00
Kurt Hindenburg
0f441a15d9 An initial commit to get a working DBus interface working.
CCBUG: 169024

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=941837
2009-03-20 14:42:59 +00:00
Kurt Hindenburg
a0f187a785 Allow the disabling of blinking text.
BUG: 182414

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=932642
2009-02-27 05:47:30 +00:00
Alexis Ménard
bb2a6dc5fa Since we had already a QPointer to guard the deletion of the ViewSplitter we have to check on deletion function if the ViewSplitter is not dead.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=907301
2009-01-07 20:37:43 +00:00
Michael Jansen
8487a9255c Use KActions with kxmlgui. Not QActions.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=869034
2008-10-07 22:40:58 +00:00
Robert Knight
ef3e43e11d Initial implementation of session management in Konsole.
Patch from Stefan Becker <stefan.becker@nokia.com>

Thank-you very much Stefan!

CCBUG: 152761


svn path=/trunk/KDE/kdebase/apps/konsole/; revision=867323
2008-10-03 10:38:50 +00:00
Robert Knight
956277c014 Convert tabs to 4 spaces to match kdelibs conventions. Previously
there was a mix of tabs and spaces for indentation.

CCMAIL:Stefan.Becker@nokia.com


svn path=/trunk/KDE/kdebase/apps/konsole/; revision=863326
2008-09-21 20:06:58 +00:00
Aaron J. Seigo
569235573d put the search bar on the correct side of the tabs .. INSIDE them ...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=860035
2008-09-11 20:03:03 +00:00