Commit Graph

156 Commits

Author SHA1 Message Date
Jekyll Wu
b401b817b2 Remove the default Ctrl+Shift+S shortcut for the 'select-all' action.
Ctrl+Shift+A is already taken by 'monitor-activity', and Ctrl+Shift+S
is already taken by 'close-active-view'.
2011-09-27 11:28:01 +08:00
Jekyll Wu
989033462f Refine the 'Change profile' action.
- Rename it into 'Switch Profile' to avoid potential confusion.
- Also put it under the 'Settings' menu.

TODO: rename related methods which use 'change' in their names.

BUG: 245795
FIXED-IN:4.8
REVIEW: 102686
2011-09-25 05:24:17 +08:00
Jekyll Wu
272ac9850e Include KDE headers consistently in the from of "#include <KSomething>" .
However, some KDE headers are still only available in the form of
"#include <ksomething.h>"

krun.h              ==>     KRun
kicon.h             ==>     KIcon
kdebug.h            ==>     KDebug
kshell.h            ==>     KShell
kdialog.h           ==>     KDialog
kconfig.h           ==>     KConfig
klocale.h           ==>     KLocale
kglobal.h           ==>     KGlobal
kcolorutils.h       ==>     KColorUtils
kconfiggroup.h      ==>     KConfigGroup
kdesktopfile.h      ==>     KDesktopFile
kcolorscheme.h      ==>     KColorScheme
kstandarddirs.h     ==>     KStandardDirs
ktemporaryfile.h    ==>     KTemporaryFile
klocalizedstring.h  ==>     KLocalizedString
2011-09-23 05:04:46 +08:00
Jekyll Wu
031a9d54e2 Do not insert one extra emtpy line every 500 lines in the saved history.
The code for adding that extra empty line was introduced in commit
d3d909 (4 years ago). The reason and intention is not clear, so removing
those code might cause regression. Anyway, this commit is simple and can
be reverted easily, if unfortunately needed.

BUG: 225501
FIXED-IN: 4.8
REVIEW: 102652
2011-09-21 23:17:19 +08:00
Jekyll Wu
d11fd4ea18 Add "Select All" action for selecting the whole history of this session.
FEATURE:  199990
FIXED-IN: 4.8
REVIEW: 102372
2011-09-20 00:33:07 +08:00
Kurt Hindenburg
050819bb8d When searching, apply change in case sensitive option immediately.
Patch by Francesco Cecconi <francesco.cecconi@kdemail.net>

BUG: 273614
2011-09-13 18:39:02 -09:00
Jekyll Wu
de61d40c63 Include Qt headers in the form of "#include <Module/Class>" 2011-09-06 06:42:42 +08:00
Jekyll Wu
0f89f1bba9 Check the validity of context menu after it gets closed.
The patch is from Francesco Cecconi <francesco.cecconi@gmail.com>,
with slight modification by committer.

BUG: 233377
FIXED-in : 4.8
2011-09-06 05:48:56 +08:00
Jekyll Wu
6f3b4bbab6 Use "{ }" consistently in "if... else..." statements. 2011-09-05 22:28:44 +08:00
Jekyll Wu
0e184eeda9 KStandardDirs::findExe() is actually a static method. 2011-09-03 17:09:34 +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
024ffb1972 adjust indentation to 4 spaces. 2011-08-25 15:10:32 +08:00
Kurt Hindenburg
2dcd584255 Popup menu for drag-n-drop operations.
Restore KDE3 popup menu when any file is dropped into Konsole.

The popup menu allows to Copy, Move or Link the file into the current
working directory or to simply paste its URL as text (the latter being
the current behaviour in KDE4).

For non-local files, the URL is pasted as text.

Note that this adds a konq dependency - KonqOperations:doDrop

Patch by Frank Roscher
FEATURE: 160583
FIXED-IN: 4.8
REVIEW: 4600
2011-08-13 21:10:31 -04:00
Montel Laurent
b91f50015d Normalize signals/slots 2011-07-30 14:10:56 +02:00
Kurt Hindenburg
27182ebbad Restore codec to profile setting or previous codec upon reset.
Previously, after typing in 'reset' or using 'Clear Scrollback & Reset',
the current codec is lost.

With this patch, typing in 'reset' will cause the codec to stay what
it was before the reset.  Using the 'Clear Scrollback & Reset' will
cause the codec to be set to the Profile setting.

This may get backported to 4.6.x
BUG: 123866
BUG: 273959
FIXED-IN: 4.7
REVIEW: 101565
2011-06-25 00:26:09 -04:00
Kurt Hindenburg
58ddcb570e For remote session, 'Open File Manager' will open the user's home path.
Currently, when using 'Open File Manager' on a remote session,
unexpected results will occur.  For example, for ssh, it will try to
open another Konsole to ssh into the remote server.
Other options to consider in the future, disabling the menu and
transforming URL into what the user might expect.
BUG: 275287
2011-06-11 13:55:03 -04:00
Kurt Hindenburg
42e7686769 Allow user to enter commands as bookmarks.
Previously, bookmarks where converted to KUrls and then only protocols
Konsole knew about internally were processed.  Now if a bookmark has no
KUrl protocol, Konsole just sends the bookmark to the shell.
This will solve issues such as 'ssh user@server -p port tail -f file'
as well as allowing any command to be a bookmark.

BUG: 88867
BUG: 203263
BUG: 253894
BUG: 185962
BUG: 213644
FIXED-IN: 4.6.2
2011-03-13 15:53:58 -04:00
Kurt Hindenburg
8641ba4268 Move the 3 Search Bar options into their own popup menu.
Opening the search bar causes the terminal width to be increased due
to the length of the three Search Bar options text.
Ideally, this should be redone using .ui file (consider looking at the
KHTMLFindBar code in kdelibs).  The Search Bar in general needs some
rework.

BUG: 211550
FIXED-IN: 4.7
2011-03-03 12:31:09 -05:00
Kurt Hindenburg
acd507e1a5 Set correct focus in the "rename tab" dialog.
Currently, the OK button has the focus upon startup. After patch, the
user doesn't need to remember if they need to adjust the remote or
local title.

Patch by Sebastian Kühn

http://git.reviewboard.kde.org/r/100642/
2011-02-13 21:29:15 -05:00
Kurt Hindenburg
82778e87bc After a 'clear & reset' make sure the prompt reappears.
BUG: 242110
2011-02-10 10:44:59 -05:00
Kurt Hindenburg
28f641c7c4 Correct Enlarge Font shortcut such that it actually works.
BUG: 248842

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1216565
2011-01-24 01:21:08 +00:00
David Faure
b3a5417f6b Remove the crash-workaround which prevents the RMB from appearing.
CCBUG: 246652
#74: does this fix your problem? I couldn't reproduce it (with this local change)

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1197755
2010-11-16 12:57:19 +00:00
Kurt Hindenburg
7b31217f5f Temporary fix for crash that happens in Konsole Part when user has opened
the popup menu and then closes the last session.  The down side is now
no popup menu is displayed.

CCBUG: 246652

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1196676
2010-11-13 21:50:46 +00:00
Kurt Hindenburg
88d2bec7ea SVN commit 1143688 by knight missed removing the SHIFT part of the shortcut for the Shrink Font.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1186313
2010-10-15 19:31:18 +00:00
Kurt Hindenburg
fa3790fc7f Add some 18nc context
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1148479
2010-07-10 19:54:50 +00:00
Kurt Hindenburg
6fd83c5feb Change the Rename Dialog to mimic the Edit Profile->Tabs->Tab Titles section.
FEATURE: 228129
FIXED_IN: 4.6
GUI:

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1147534
2010-07-08 15:30:37 +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
Kurt Hindenburg
ee7b0500c2 Remove the shortcut to send all output to current windows. This might catch people off guard if they accidently hit it. People who want it can just re-assign it back.
BUG: 238373

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1133042
2010-06-01 00:07:34 +00:00
Sascha Peilicke
5d61b69e3e Re-added 'Clear Scrollback and Reset'.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1125540
2010-05-11 17:20:22 +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
Sascha Peilicke
82ddddcc76 Menubar and actions revamp, see http://reviewboard.kde.org/r/3110/ for details.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1121952
2010-05-02 19:43:43 +00:00
Kurt Hindenburg
444ae532ee Allow floating point font sizes.
Original patch by Christoph Feck; hacking/changes/bugs are mine.

BUG: 173000

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1121592
2010-05-01 21:20:19 +00:00
Sascha Peilicke
13bda38a9f Replaced '&&' with the less geeky word 'and' in the clear-reset and clear-scrollback-reset actions.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1117484
2010-04-22 10:25:09 +00:00
Kurt Hindenburg
1c80db0bec Prevent crash if no "Copy To" is active and user selects "Copy To None"
CCBUG: 234330

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1114807
2010-04-14 15:39:57 +00:00
Will Stephenson
158564674c Don't crash when saving session data; don't use a reference to a freed
object.
BUG: 232584

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1108633
2010-03-29 13:24:57 +00:00
Kurt Hindenburg
892b645191 remove duplicate include
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1107720
2010-03-26 15:58:52 +00:00
Kurt Hindenburg
13bc81e1d9 Fix the warning message 'Attempt to use QAction "change-profile" with KXMLGUIFactory!'
CCBUG: 183244

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1098369
2010-03-03 15:32:34 +00:00
Kurt Hindenburg
a971cbfb68 comment out some old kDebug lines
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1086196
2010-02-06 17:01:34 +00:00
Andreas Pakulat
fa4f0b85c7 Use qApp instead of kApp so loading the KPart doesn't crash in Qt apps. This
happened in unit-tests for KDevelop which use the QTEST_KDEMAIN macro but also
create the KDevPlatform shell (which loads this plugin)

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1077812
2010-01-20 23:06:21 +00:00
Anne-Marie Mahfouf
1e455eaf5f close the <p> tags
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1077579
2010-01-20 12:04:13 +00:00
Kurt Hindenburg
c227b186c4 Fix issue where 'Copy Input To' doesn't work for multiple windows.
Patch by Thomas Dreibholz

BUG: 218616

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1067166
2009-12-29 03:59:07 +00:00
Kurt Hindenburg
a18421ec9d Change the dialog to clarify about invalid's bookmarks.
CCMAIL: robert.knight@gmail.com

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1046973
2009-11-10 04:25:27 +00:00
Kurt Hindenburg
6b7789e067 Alert user if a bookmark's Url is not supported/understood.
CCBUG: 203263

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1046547
2009-11-09 04:45:00 +00:00
Kurt Hindenburg
f7ee91d6de Change uppercase TRUE/FALSE to lowercase
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1028379
2009-09-26 21:51:20 +00:00
Kurt Hindenburg
9f3e26e76f Update 'Copy Input To->' menu items.
Thanks to Thomas Dreibholz for patch.  I made a few minor alterations.

BUG: 168292
GUI

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1027898
2009-09-25 03:05:08 +00:00
Kurt Hindenburg
400304077d Temporary fix for crashing during Search when there is a match on top line.
CCBUG: 205495

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1017656
2009-08-31 04:48:34 +00:00
Kurt Hindenburg
a8c7c1de89 Fix an issue with my 1017187 commit and fix 1 krazy2 issue
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1017606
2009-08-31 00:25:54 +00:00
Kurt Hindenburg
f9e2b3444d Correct KPart issue where the wrong context menu was used and invalid menus were created.
BUG: 186745

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1017600
2009-08-31 00:10:11 +00:00
Kurt Hindenburg
cfa42fd56f Change icon to better visualize master mode for 'Copy Input To..'.
Thanks to Thomas Dreibholz <dreibh@iem.uni-due.de> for patch on reviewboard.


svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1016850
2009-08-29 04:40:17 +00:00