Robert Knight
2532b5d12a
If no 'favorite' profiles (the ones shown in the 'Change Profile' menu have been defined, add the initial default profile.
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=689762
19 years ago
Alexander Rodin
3a6c0d6410
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=684802
19 years ago
Robert Knight
72241ef4a6
* Comment out many debugging messages
...
19 years ago
Robert Knight
573f763624
* konsoleprofile now only affects an individual session rather than modifying
...
19 years ago
Robert Knight
2a1109196f
Save and load environment variables as part of the profile. Defaults to just 'TERM=xterm'. Allow editing of the environment in the profile editor (not just the TERM variable). Separate out the tab-related options into their own tab in the profile editor and rename 'Keyboard Setup' to 'Input' as that seems a more obvious name.
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=679103
19 years ago
Robert Knight
6a36400ffc
Reimplement Vt102Emulation::getErase() with new keyboard translator. Fixes backspace in Vim et. al. Correct API documentation for KeyboardTranslator::findEntry(). Use an explicit KSharedConfigPtr to get the global config when writing default profile setting. Appears to fix strange crash on exit.
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=678227
19 years ago
Robert Knight
a4c6ca23a7
Record profile parent when saving to disk and reload them as needed when loading a profile.
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=678033
19 years ago
Robert Knight
c345da0ccf
Initial version of a command-line tool (konsoleprofile) to change profile options. Usage: konsoleprofile option=value . Applies to the profile used by the session in which konsoleprofile was executed. All of the logic is in Konsole itself. 'konsoleprofile' is just a very simple shell script which can be placed anywhere. Example usage: 'konsoleprofile colorscheme=WhiteOnBlack' will change the colors used by the active tab.
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=670582
19 years ago
Robert Knight
3f1f8cac41
Add command line options to list available profiles and specify default profile for a particular Konsole instance.
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=670562
19 years ago
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
19 years ago
Robert Knight
53f7666e8e
Allow the default encoding to be specified per-profile. Something has caused the Edit Profile dialog's minimum size to become huge, I haven't figured out what it is yet.
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=670153
19 years ago
Robert Knight
ffa03ca138
Make profile shortcuts work for favorite profiles (others are currently ignored).
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=667504
19 years ago
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
19 years ago
Robert Knight
8e72dd41ce
Fix primary/alternate shortcuts for next/previous tab (they were the wrong way round). More appropriate close icon in search bar. Make Quit menu item close only the current window, not all Konsole instances. Change the default shortcut for the Quit menu item to Ctrl+Shift+Q. The standard Ctrl+Q is reserved for use by terminal applications. Remove references to Application in MainWindow class.
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=666372
19 years ago
Robert Knight
983271c55c
Fix tab title syncing between multiple views of the same session.
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=665823
19 years ago
Robert Knight
fca8970274
Better Qt-style signal/slot names in Session class.
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=665439
19 years ago
Robert Knight
c5ab0f3cec
Add basic code to associate shortcuts with profiles and load/save those shortcut/profile pairs. Move Profile class into its own source file. Move old TODO list into the 'old' directory.
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=664308
19 years ago
Robert Knight
e9c4c9cca0
Cleanup the Session class's API. Remove redundant and unused methods, give better names to others, reorganise the order in the header file. Add checks in the view to behave properly when it is not attached to a session. Make the Konsole part's behaviour compliant with the TerminalInterface API documentation.
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=663705
19 years ago
Robert Knight
33e1a53cf8
Fix crash when changing color scheme if none in the list were previously checked. Add API documentation.
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=663366
19 years ago
Dirk Mueller
9ea3227384
include cleanup
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=663054
19 years ago
Robert Knight
33c913383d
EBN fixes. Mostly copyright and implementations including their own headers first.
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=662726
19 years ago
Robert Knight
955b371745
Revert back to the hardcoded xfree4.0.0 keyboard layout by default until I put this in its own keytab file where it belongs. Keep dirk happy :)
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=662334
19 years ago
Robert Knight
50e86f8fc6
Remove a work-around that now seems unnecessary.
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=661607
19 years ago
Robert Knight
0f9cdfe2db
Set session title to profile name when created. Rename tab dialog changes the tab title format rather than the session's title itself.
...
svn path=/branches/work/konsole-split-view/; revision=661587
19 years ago
Robert Knight
19a29d182a
Rename directories for clarity. konsole -> src , other -> data.
...
svn path=/branches/work/konsole-split-view/; revision=661562
19 years ago
Robert Knight
38ba5d0e24
Do not 'un-preview' profile properties which have been changed. Read and write initial working directory setting.
...
svn path=/branches/work/konsole-split-view/; revision=661271
19 years ago
Robert Knight
544a0811c8
Start of dialog to edit key bindings.
...
svn path=/branches/work/konsole-split-view/; revision=660913
19 years ago
Robert Knight
1fc4922056
Live previews of color schemes and fonts. Moving the mouse over a color scheme in the list temporarily changes the colors of all open terminal displays using the current profile to that color scheme.
...
svn path=/branches/work/konsole-split-view/; revision=660879
19 years ago
Robert Knight
329c063d28
Fix setting newly created profiles as the default. Update color scheme setting in profile when double clicking on entry in color scheme list.
...
svn path=/branches/work/konsole-split-view/; revision=660443
19 years ago
Robert Knight
e6e46e606d
Save, load & apply cursor shape, cursor color and double click word characters. Add fallback defaults for more properties.
...
svn path=/branches/work/konsole-split-view/; revision=660406
19 years ago
Robert Knight
e728c533d6
Load, save & apply blinking cursor setting.
...
svn path=/branches/work/konsole-split-view/; revision=660232
19 years ago
Robert Knight
8086851f3d
Load and save tab-bar, menu-bar modes.
...
svn path=/branches/work/konsole-split-view/; revision=660230
19 years ago
Robert Knight
de005e1792
Load, apply and save history mode and size, scrollbar position. Refactor out duplicate code.
...
svn path=/branches/work/konsole-split-view/; revision=660228
19 years ago
Robert Knight
f38228b8cd
Implement saving, loading and deleting of profiles in the Konsole (KDE 4) .profile format. Only the basic options are saved and loaded at present.
...
svn path=/branches/work/konsole-split-view/; revision=659852
19 years ago
Robert Knight
933f433cef
Add class to parse command lines.
...
svn path=/branches/work/konsole-split-view/; revision=659615
19 years ago
Robert Knight
68760bdb56
Implement changing of tab title format in Edit Profile Dialog.
...
svn path=/branches/work/konsole-split-view/; revision=659595
19 years ago
Robert Knight
278429bbf4
Beginning of code to listen for changes made to profiles and apply them to existing sessions and views.
...
svn path=/branches/work/konsole-split-view/; revision=659579
19 years ago
Robert Knight
373c7a17e8
Fall back to value of SHELL environment variable if no command or arguments are specified for a process. Continue work on Profile class.w
...
svn path=/branches/work/konsole-split-view/; revision=659346
19 years ago
Robert Knight
4f71fabfa0
More Session -> Profile renaming. Make default profile bold in 'Manage Profiles' dialog. Show KDE directory selection dialog when clicking on initial directory edit button in profile edit dialog.
...
svn path=/branches/work/konsole-split-view/; revision=659341
19 years ago
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
19 years ago
Robert Knight
2bd31b8418
Implement session renaming. Work on replacement session settings class.
...
svn path=/branches/work/konsole-split-view/; revision=657423
19 years ago
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
19 years ago
Robert Knight
2e6e657f88
Add Remote Connection dialog. More explanation later. Some more Q_UINT* -> quint* porting.
...
svn path=/branches/work/konsole-split-view/; revision=651051
19 years ago
Robert Knight
83491d35f5
Q_UINT* -> quint* , QEvent::Accel* -> QEvent::Shortcut* , add missing QPalette include.
...
svn path=/branches/work/konsole-split-view/; revision=650889
19 years ago
Robert Knight
73c9580951
* Make both the Screen and the ScreenWindow keep track of lines scrolled.
...
19 years ago
Robert Knight
c2d98d13af
* Move Konsole classes into their own namespace
...
* Renaming:
TEHistory -> History
TEScreen -> Screen
TESession -> Session
TEmulation -> Emulation
TEmuVt102 -> Vt102Emulation
TEPty -> Pty
* Move some XKB functions into their own source file
* Some #include tidy-ups
svn path=/branches/work/konsole-split-view/; revision=642987
19 years ago
Robert Knight
478c255706
Initialize field variables. Ensures assert fails if no Konsole session setup files are installed.
...
svn path=/branches/work/konsole-split-view/; revision=640415
19 years ago
Robert Knight
790fe0af70
* Revert the changes to the screen and emulation from the last commit.
...
Will follow a different approach to allowing views to show different
parts of the same session at once.
* Make the "Search History" menu item a normal action
rather than a toggle action.
* Search terminal history and jump to first match when text in
search box is changed.
* Call QApplication::processEvents() periodically while searching
history to prevent UI from becoming unresponsive with large histories.
svn path=/branches/work/konsole-split-view/; revision=638397
19 years ago
Robert Knight
5c6531e99c
Merge from trunk and adapt to API changes
...
svn path=/branches/work/konsole-split-view/; revision=636041
19 years ago
Robert Knight
621cb94570
Make session manager delete each session when it finishes.
...
svn path=/branches/work/konsole-split-view/; revision=635462
19 years ago