Commit Graph

39 Commits

Author SHA1 Message Date
Jekyll Wu
40a38d7aa1 Avoid duplicate "Show Menubar" entries in shortcuts dialog
The "show menubar" action in context menu is now shown only when menubar is
hidden.

BUG: 214493
REVIEW: 104193

FIXED-IN: 4.10.0
2012-10-20 18:56:41 +08:00
Jekyll Wu
b8c92b421d Move the "Send Signal" submenu to a better position under "Edit" menu
It feels out of place to put that submenu between "Copy","Paste" and "Select
All". The new place is not ideal, but I think it is beeter than current
situation.
2012-09-28 21:00:56 +08:00
Kurt Hindenburg
5526c75fb2 Reimplement KDE3's print screen functionality
Add File->Print Screen menu option

Patch by Kasper Laudrup laudrup@stacktrace.dk

FEATURE: 249084
FIXED-IN: 4.10
2012-09-03 12:26:31 -04:00
Kurt Hindenburg
a4b08ea190 Add the "Send Signals" menus from KDE 3.5
This reintroduces the "Send Signals" from KDE 3.5.
SIGSTOP/CONT/HUP/INT/TERM/KILL/USR1/USR2

Patch by Kasper Laudrup  laudrup@stacktrace.dk

FIXED-IN: 4.10
FEATURE: 214908
2012-08-04 18:05:09 -04:00
Jekyll Wu
caaa91a08c Add support for KDE Web Shortcus
There is a submenu in the context menu for searching selected text using
any of the enabled search provider and opening the result in the default
web browser.

This could be useful for searching compilation failure messages, warning
messages in logfile, etc.

DIGEST:
FEATURE:
FIXED-IN: 4.9.0
REVIEW: 104493
2012-04-18 00:00:29 +08:00
Jekyll Wu
ebc4888fef The "Copy Input To" submenu should use combo boxes
REVIEW: 104202
2012-03-10 05:37:18 +08:00
Jekyll Wu
0a0a6023fa Add separator around the 'Show Menubar' action 2012-02-27 22:12:42 +08:00
Jekyll Wu
5e6eb64dc3 Remove the redundant and unused 'switch-profile' menu 2012-02-17 22:05:14 +08:00
Jekyll Wu
2301ab5b81 Rearrange the 'File' menu
* Rename "Quit" to "Close Window" for accuracy
  * Move "Close Tab" downwards to be adjacent to "Close Window"

REVIEW:103920
2012-02-12 00:46:44 +08:00
Jekyll Wu
c7100fceb1 Remove deprecated and unused UI components 2012-02-11 03:20:17 +08:00
Jekyll Wu
8f7be18a64 Simplify the scrollback setting dialog to avoid potential confusion.
- the change is not saved into profile and only influences current tab
  - remove the 'Save to current profile' checkbox
  - remove the 'Defaults' button
  - change dialog title from "Scrollback Options" to "Adjust Scrollback"
  - change action from "Scrollback Options..." to "Adjust Scrollback..."

The new dialog makes the "Adjust Scrollback..." action more consistent with most
of other actions in the context menu, since they only influence or work in the
context of current tab.

The UI change is not quite satisfactory. Feel free to refine the UI part
to make it more clear and elegant.

BUG: 227144
FIXED-IN : 4.8
REVIEW: 102688
2011-10-25 19:24:15 +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
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
866acd68ec Restore 'Configure Current Profile...' to the Settings menu.
Having this option only in the context menu is really irrating.  IMHO
it makes sense to have it under Settings menu.
CCMAIL: sasch.pe@gmx.de
2011-04-03 19:36:25 -04: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
Sascha Peilicke
4638e9b6d5 Small whitespace and indentation fixes to sessionui.rc.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1093396
2010-02-20 19:13:51 +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
2af04206c9 Allow Konsole's zmodem file transfers to work.
Thanks to Thomas Dreibholz <dreibh@iem.uni-due.de> for the patch.  I removed
some whitespace changes from his patch on reviewboard.

BUG: 200744

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1016847
2009-08-29 04:24:37 +00:00
Albert Astals Cid
9a92fa8c18 Add &amp; to all text messages so translators can work better
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=812628
2008-05-25 20:52:37 +00:00
Robert Knight
3ddffbd214 Re-implement 'Send Input to All' (now Edit -> Copy Input To...)
Improvements in the KDE 4 version:

- Input can be copied to all other sessions or only a subset of sessions,
  selection is via a filter-able list which appears when 'Copy Input To...' is clicked.
- Input can be sent from a tab in one window to a tab in another window
  (all sessions in all windows are displayed in the filter window)

BUG: 152072
BUG: 77682

Squashed commit of the following:

commit 3184e1958d3aa7e7574081df32814dbe44591c9e
Author: Robert Knight <robertknight@gmail.com>
Date:   Sun Apr 13 19:24:22 2008 +0100

    Remove debugging messages.

commit 31afd9b2a3a327ca3e43deff47415de41a1ad74e
Author: Robert Knight <robertknight@gmail.com>
Date:   Sun Apr 13 19:16:33 2008 +0100

    Copy input dialog.  Hide 'Number' column and header.  Show the check box in the title column.  Focus the search filter before showing the dialog.

commit 8c74e736d322e74d7af812a14500d748e748a224
Author: Robert Knight <robertknight@gmail.com>
Date:   Sun Apr 13 19:03:59 2008 +0100

    Remove sessions from the internal checked/fixed sets when they are removed.  Fix crashes if sessions exited while SessionController was showing a dialog for that session.  Add QPointer<T> guards around the dialog exec() methods.

commit e4085069c2ff8cedb987639f50b73a3c679319f6
Author: Robert Knight <robertknight@gmail.com>
Date:   Sun Apr 13 18:44:40 2008 +0100

    Remove sessions from the SessionGroup and SessionListModel when they terminate.

commit 29db3a3dd84f392ee333918e261bd6bcd75fd062
Author: Robert Knight <robertknight@gmail.com>
Date:   Sun Apr 13 18:39:24 2008 +0100

    Use an extended rather than single selection in CopyInputDialog

commit 3f93507405053c84e09337225fa6e2a582776264
Author: Robert Knight <robertknight@gmail.com>
Date:   Sun Apr 13 17:54:22 2008 +0100

    Copy Input Dialog:  Show tab text in the Title column.  Show clear button in filter line edit.

commit 0619f7ad72a1a346118a0174e5aee01ce94ddc52
Author: Robert Knight <robertknight@gmail.com>
Date:   Sun Apr 13 17:40:07 2008 +0100

    Copy Input Dialog:  Add buttons to select and deselect all visible sessions.

commit 126afb3d394894a0325c5772fb32a25380932c44
Author: Robert Knight <robertknight@gmail.com>
Date:   Sun Apr 13 17:23:07 2008 +0100

    Show the master session as checked and disabled.

commit c559bd5f5bcc59adecc3f29ee5b16200adb37b09
Author: Robert Knight <robertknight@gmail.com>
Date:   Sun Apr 13 17:20:40 2008 +0100

    Create a SessionGroup in the SessionController when copyInputToAll() is called and use the CopyInputDialog to allow the user to choose which sessions the current one copies to.

commit 64c12e58a582a17b5cdeddcc8f9df7a89885f9e5
Author: Robert Knight <robertknight@gmail.com>
Date:   Sun Apr 13 17:19:47 2008 +0100

    Display session list with check boxes and filter to select sessions to copy input to.  Show master session as a disabled, checked item.

commit 43eb5ccdfc768b42c5e650b6e56d1e1120ab5c5b
Author: Robert Knight <robertknight@gmail.com>
Date:   Sun Apr 13 17:19:06 2008 +0100

    Add header data and Session* pointer to items in SessionListModel.

commit a8236a6658e1540a924aa6467dc90aeed346a0be
Author: Robert Knight <robertknight@gmail.com>
Date:   Sun Apr 13 17:18:28 2008 +0100

    Remove connection to removed slot.

commit 03990fa244159b50152cc721a0fe4e403551d47c
Author: Robert Knight <robertknight@gmail.com>
Date:   Sun Apr 13 17:17:54 2008 +0100

    Make SessionGroup take a QObject* parent argument in the constructor.

commit e2f91001c09a8422fb44ad58cf95f8dcba22c063
Author: Robert Knight <robertknight@gmail.com>
Date:   Sun Apr 13 15:25:26 2008 +0100

    Add CopyInputDialog to build.

commit 3b33e1d6abdde56bbafd2bbd64c89c008a41d096
Author: Robert Knight <robertknight@gmail.com>
Date:   Sun Apr 13 14:32:36 2008 +0100

    Add header and implementation files for 'Copy Input To' dialog.

commit 9ebc36e3f09865f29702768cbb17279054e8cb4c
Author: Robert Knight <robertknight@gmail.com>
Date:   Thu Apr 10 07:04:48 2008 +0100

    Add a dialog for selecting sessions to copy input to.

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=796545
2008-04-13 18:49:20 +00:00
Robert Knight
5ad3b1d452 Add character encoding selection to session context menu
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=757344
2008-01-04 19:05:55 +00:00
Robert Knight
c7bf0598ff Add version attribute to XmlGui resources.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=748975
2007-12-16 02:59:59 +00:00
Adam Treat
7dcf89b61e * Enable new tab action in konsolepart :)
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=742261
2007-11-27 17:26:56 +00:00
Constantin Berzan
5b50d8c481 Add 'Open Browser Here' menu item.
BUG: 61136


svn path=/trunk/KDE/kdebase/apps/konsole/; revision=712078
2007-09-13 14:33:39 +00:00
Robert Knight
13c7c0dfb9 Corrections to the menu layout. Still not quite right.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=673853
2007-06-11 06:16:34 +00:00
Robert Knight
0ef9ea5f41 Added 'Change Profile' menu to change the profile used by a running session.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=667162
2007-05-22 02:19:57 +00:00
Robert Knight
829479f911 Add sub-menu to change character encoding using KCodecAction. Currently in the View menu next to the menu items to change the text size, although I am not sure if that is the most appropriate place for it.
svn path=/branches/work/konsole-split-view/; revision=660233
2007-05-02 01:31:46 +00:00
Robert Knight
1a0b94d822 Changed the naming scheme used in Konsole. Several survey respondants said that they didn't understand what a 'Session' was or how it was different from a 'Profile'. Under the new scheme, a 'Profile' is a saved set of terminal options which can be used to create a new tab, or which can be applied to an existing tab. Internally, a 'Session' is a running terminal process and emulation created from a particular profile.
svn path=/branches/work/konsole-split-view/; revision=659297
2007-04-29 22:21:42 +00:00
Robert Knight
abaa7ef54d Use union for clarity in Character class. Added menu item for Send Input to All.
svn path=/branches/work/konsole-split-view/; revision=658405
2007-04-27 01:33:03 +00:00
Robert Knight
1c47b61913 Focus newly opened views. Enable/disable 'Close Active/Other Views' menu items as appropriate. Rename 'Edit Current Session...' to 'Terminal Options...'
svn path=/branches/work/konsole-split-view/; revision=657385
2007-04-23 22:19:36 +00:00
Robert Knight
6c5d38e7be Add menu items and shortcuts to increase and decrease font size. I have tried to keep as close as possible to the recommended Zoom In/Out shortcuts given that Ctrl+[Key] shortcuts cannot be used because they are reserved for terminal application use. Ctrl++ zooms in, Ctrl+Shift+- zooms out.
svn path=/branches/work/konsole-split-view/; revision=655622
2007-04-18 22:10:46 +00:00
Robert Knight
95f053e393 * Use kdelibs facilities to check for compositing support
* Initial draft of dialogs to manage sessions
    - SessionTypeDialog lists available session types and allows the
      user to trigger creation, editing or removal of a type.
    - EditSessionDialog allows the user to edit an individual session
      type.
* Remove access to the old KDE 3 preferences dialog
* Began a re-write of the Konsole part, the intention is to avoid
  the duplication of code between the part and the main application
  which occurred in KDE 3 and also to make more of the functionality
  from the main application available to the part's clients.
* Implement the history size dialog
* Implement SSH bookmarks
* Implement Bookmark Tabs as Folders
* Allow the user to choose which sessions are shown in the 'File' menu
* Implement 'background mode'.  When Konsole is started in this mode
  (by running "konsole --background-mode") it creates a new session in the 
  background which can be displayed or hidden at any time by pressing F12.
  Idea taken from Yakuake. 
* Use tab bar rather than a tab widget for the view container by default,
  removes the frame around the terminal display, this does not look correct
  if you are using the ported-from-3.5 KDE "Plastik" style in KDE 4.  
  Qt's very-similar-looking Platique style produces the desired results. 
* Fixed two spectacular memory leaks.
* Add option to split the view left/right ( in addition to top/bottom ) and
  allow more than two views open at once.  Dividing the view into a grid
  ( aka. "recursive splitting" ) is not yet supported.  
* Add menu options to Close Active View and Close Others ( which closes 
  all views except the active one )

// Behind the scenes stuff

* Rewrote color scheme code
    ColorSchema -> ColorScheme
    ColorSchemaList -> replaced with global ColorSchemeManager
    KDE 4 INI-format color schemes are used if available with fallback to the KDE 3
    .schema files otherwise.
    * Some more Qt 3 -> 4 porting:
    Q3TextEdit -> QTextEdit
    Q3IntDict<V> -> QHash<int,V>
    Q3PtrList<T> -> QList<T*>
* Various adjustments to resource loading so that the various
  *Manager classes can find their resources when being used in
  an application other than Konsole ( eg. when being used in a part )
* Change access to singleton managers, the *Manager classes
  now have an instance() method to access the global instance and
  a setInstance() method which is called by the Application or KPart
  constructor to create the manager initially.
* Remove all references to MainWindow from the ViewManager and move 
  the relevant code to the MainWindow class itself.  

svn path=/branches/work/konsole-split-view/; revision=654402
2007-04-16 01:26:13 +00:00
Robert Knight
b958ac82cc Add plumbing for terminal display context menus. Add menu item to hide menu bar. Remove unused code.
svn path=/branches/work/konsole-split-view/; revision=643465
2007-03-17 14:37:00 +00:00
Robert Knight
f4bb22ce43 Update display after clearing the screen. Disable debug menu for now.
svn path=/branches/work/konsole-split-view/; revision=642624
2007-03-14 22:09:29 +00:00
Robert Knight
96aa3f454f Add menu item to clear the history and the current display in one step.
svn path=/branches/work/konsole-split-view/; revision=637910
2007-02-28 06:41:46 +00:00
Robert Knight
d3d909f1c8 Add ProcessInfo class to read information about the process running in the shell, and a Linux procfs implementation. There is some code duplication here with ksysguard, might be worth discussion with johnflux about that.
svn path=/branches/work/konsole-split-view/; revision=629156
2007-02-01 16:32:08 +00:00
Robert Knight
576d1c3971 * Moved session action layout into a separate XML file. I'm still a bit new to this
XMLGUI thingie.
* Call 'close()' rather than 'deleteLater()' on main window when last session is closed,
  makes Konsole app close when last session finishes.
* Added ViewProperties class from which SessionController inherits.  The ViewContainer has
  a ViewProperties instance associated with each view, which it uses to determine the title 
  and icon associated with that view.  Icons and session titles now show in the tabs.
* Added "Monitor for Activity" and "Monitor for Silence" in the new front-end.
* Set value of TERM variable before creating session in SessionManager, fixes lots of problems
  with Linux Console session type.
* Add a few CMakeLists.txt files from the new other/ directories to SVN which I forgot in the 
  previous commit.

svn path=/branches/work/konsole-split-view/; revision=618811
2007-01-02 07:48:02 +00:00