Commit Graph

22 Commits

Author SHA1 Message Date
Robert Knight
5d9997446e Update copyright year to 2008. Remove '(C)' from copyright lines.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=800631
2008-04-24 14:53:43 +00:00
Robert Knight
2c9e073c0e BUG: 149626 - Use the KDE shortcut editor widget to edit shortcuts in the Manage Profiles dialog.
(Requires recent kdelibs rv. 792234 for the 'Clear' button to work)

Squashed commit of the following:

commit d60cba88cc4c4027220558cf6fe5487022beb767
Author: Robert Knight <robertknight@gmail.com>
Date:   Mon Mar 31 19:05:00 2008 +0100

    Make the Favorite column toggle respond to double click events as well so that quick clicks in succession are not ignored.

commit 5dd0730a2a838a88d50a91dc7a70ec2ffda23c4b
Author: Robert Knight <robertknight@gmail.com>
Date:   Mon Mar 31 19:02:33 2008 +0100

    Allow more width for the Shortcut column in the Manage Profiles dialog so that the shortcut editor has enough room.

commit 2271b154b1d3c03442827b7553a827ab0b199344
Author: Robert Knight <robertknight@gmail.com>
Date:   Mon Mar 31 17:58:14 2008 +0100

    Do not draw shortcut text whilst a shortcut is being edited.  Move styled background drawing into new class.

commit 4b06713f63d41b0df22fa2e03ab3f7e90be8ab9f
Author: Robert Knight <robertknight@gmail.com>
Date:   Mon Mar 31 17:35:57 2008 +0100

    Prevent profile shortcut being cleared as soon as editing starts - do not connect to the keySequenceChanged() signal until after the existing shortcut has been applied to the editor.  Change edit triggers for table view to start editing when a selected item is clicked.

commit 84ff71e40a1e6b9993c45d8fc17c6aba3a5e25a5
Author: Robert Knight <robertknight@gmail.com>
Date:   Mon Mar 31 17:09:07 2008 +0100

    Use KDE shortcut edit widget to edit shortcuts in Manage Profiles dialog.  Rename ProfileItemDelegate to FavoriteItemDelegate and introduce a new ShortcutItemDelegate for the shortcut column which uses KKeySequenceWidget to edit shortcuts.

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=792245
2008-03-31 18:12:05 +00:00
Robert Knight
f20f1a457e Center icons in 'Show in Menu' column in Manage Profiles dialog.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=791716
2008-03-30 03:54:30 +00:00
Robert Knight
83b70ab9e3 Adapt to QStyledItemDelegate which does not have a drawDecoration() method to re-implement.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=789391
2008-03-24 03:29:24 +00:00
Robert Knight
5036d8cb00 Squashed commit of the following:
commit 99d61f9bdfe29347050162a5a675bb0c276bc1bf
Author: Robert Knight <robertknight@gmail.com>
Date:   Sat Mar 22 20:45:45 2008 +0000

    Allow a normal frame around the table view in ManageProfilesDialog.  Works better with Oxygen style.

commit 7075de00d8cc88568e108e868e08d071d5aa7bcb
Author: Robert Knight <robertknight@gmail.com>
Date:   Sat Mar 22 20:37:38 2008 +0000

    Change base class of ProfileItemDelegate from QItemDelegate to QStyledItemDelegate for better rendering.  Fix updates of favorite / non-favorite status in ManageProfilesDialog.  QVariant equality comparisons are not properly supported for custom types so QAbstractItemModel::match() has to be replaced with manual iteration through the rows.

commit 3baa3307473e037efd500ade7df37d2fd62c60d9
Author: Robert Knight <robertknight@gmail.com>
Date:   Sat Mar 22 20:09:27 2008 +0000

    Remove unecessary deleteProfile() call.  Explicitly add new profiles to the SessionManager.  Mark the temporary profile in the EditProfileDialog as hidden.

commit 53d1e3515d3408c08ba4b019b5faceffae6b0f8a
Author: Robert Knight <robertknight@gmail.com>
Date:   Sat Mar 22 20:02:28 2008 +0000

    Do not track deletion of temporary un-named profiles.

commit 55c69e15a4247319b0cff73691f072fef39684c9
Author: Robert Knight <robertknight@gmail.com>
Date:   Sat Mar 22 20:01:25 2008 +0000

    Make SessionManager::addProfile() public.  Call it automatically in SessionManager::setFavorite() if the profile is not already known to the manager.  When a profile is deleted via SessionManager::deleteProfile() mark it as hidden so that it is not recreated on disk if later changed.  Add debugging in ~Profile to track deletion of profiles.

commit 7a028bac5846cd3689e3351ab139c6f372ca173e
Author: Robert Knight <robertknight@gmail.com>
Date:   Sat Mar 22 19:41:22 2008 +0000

    Fix several signal/slot connections in ManageProfilesDialog after the SessionManager changes.

commit da7c7b4f939c17885cf0fbaa1fb93d2655021b83
Author: Robert Knight <robertknight@gmail.com>
Date:   Sat Mar 22 19:36:57 2008 +0000

    Use a helper class to pop elements from recursion guard stack when a call to loadProfile() returns rather than requiring a manual call to recursionGuard.pop()

commit 14a993d15722ec5270de708154408896fd7418b8
Author: Robert Knight <robertknight@gmail.com>
Date:   Sat Mar 22 19:12:20 2008 +0000

    Fix profiles not being loaded properly if their parent was a profile which had already been loaded.  Profile paths were not being taken off the recursion guard stack at one exit from loadProfile().

commit f946fc0cbde26cd816e3f1d172a5e5327ff3295b
Author: Robert Knight <robertknight@gmail.com>
Date:   Sat Mar 22 19:01:06 2008 +0000

    Adapt Part to the SessionManager/Profile changes.

commit d3155ba0f6dc9ec0ca34a45b5787488c055dc4bf
Author: Robert Knight <robertknight@gmail.com>
Date:   Sat Mar 22 18:55:05 2008 +0000

    Update MainWindow API documentation to reflect string key -> ref counted pointer change for profiles.

commit 5d546054c031ae6ee6915f2cc6bcf61dd4e03520
Author: Robert Knight <robertknight@gmail.com>
Date:   Sat Mar 22 18:53:16 2008 +0000

    Update SessionManager API documentation to reflect string key -> ref counted pointer change for profiles.

commit 856fdf37a5bd81711ff0db1b307b8736ef4ae34e
Author: Robert Knight <robertknight@gmail.com>
Date:   Thu Mar 20 23:43:53 2008 +0000

    Fix assert.  Fall back to current locale's codec if a null pointer is passed to Emulation::setCodec()

commit 127e894d076061b991934adf84256b651bf31724
Author: Robert Knight <robertknight@gmail.com>
Date:   Thu Mar 20 22:45:11 2008 +0000

    Replace string key for profiles with ref-counted profile pointer.

commit 53246e5bd4ffcec56ca0ff94730f9ef3946e3f4c
Author: Robert Knight <robertknight@gmail.com>
Date:   Thu Mar 20 20:50:17 2008 +0000

    First step towards removing string keys as a means to reference profiles.  Change Profile base class from QObject to QSharedData and replace all usage of Profile* with KSharedPtr<Profile>

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=788936
2008-03-22 21:06:59 +00:00
Robert Knight
5e5857fd6d Hide shortcut column in Manage Profiles dialog in KPart
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=758965
2008-01-09 18:13:29 +00:00
Robert Knight
bdd94779e3 Remove Ok, Cancel buttons and replace with a single Cancel button in the 'Manage Profiles' dialog - since the changes here take effect immediately.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=756709
2008-01-03 16:20:30 +00:00
Robert Knight
7fe743af04 Add comments to explain one of the changes in the previous commit. Add a TODO for a warning dialog to add about deleting profiles with children when the string freeze is over.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=756105
2008-01-02 19:06:10 +00:00
Robert Knight
af3204839f Make 'New Profile' button in Manage Profiles dialog create the new profile based on the selected profile if there is a selection or the default profile otherwise.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=756040
2008-01-02 17:02:26 +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
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
Robert Knight
b9ddeaa238 Center decoration in 'Show In Menu' column of Manage Profiles dialog. I'm sure there must be an easier way.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=708382
2007-09-04 17:59:52 +00:00
Robert Knight
42dce0374c Changes:
* Add a passive warning widget which is displayed when a color scheme is selected which 
  uses transparency but the system does not support transparency 
* Always show the vertical scroll bar in the color scheme list
* Remove quotes around links and email addresses in mouse-over tooltip

Bug Fixes:

* Fix a few odd behaviours with the live color scheme preview
* Fix the 'Show in Menu' status of newly added profiles not being
  saved when Konsole exits.

  ( Update Profile's path property when saving the profile to 
    a new location )


Internal: 

* Removed many debugging statements and dead / commented out code
* Fix several unused parameter warnings
* API documentation corrections in Emulation class

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=706986
2007-08-31 17:56:35 +00:00
Robert Knight
37088799cf * Update the regular expression for the Url filter. Anything in the form
letters://any-non-whitespace-characters is treated as a Url

* Correct the test which compares the old and new values and ranges when
  updating the terminal display's scroll bar.  
  This fixes the scroll bar being repainted unnecessarily often.  Found
  with the nifty QT_FLUSH_PAINT debugging tool.

* Select the profile name (set to "New Profile" by default) and focus the 
  profile name edit area when showing the Edit Profile dialog for a new
  profile to allow the user to easily set the name.

* Always use color scheme list animation, not just when the Edit Profile 
  dialog is first displayed as per richmoore's suggestion. 

* Update Edit Profile dialog caption when profile name is changed.

* Update favorite status icon in Manage Profiles dialog when the favorite
  status is changed by another object.

* Add disabled menu item which is shown in the 'Change Profile' list
  when there are no other profiles there

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=683787
2007-07-05 09:51:06 +00:00
Robert Knight
573f763624 * konsoleprofile now only affects an individual session rather than modifying
all sessions using the same profile as the current tab.

* Re-implement support for underlined text

* Use a sensible size for the Manage Profiles dialog by default

* Tidy up SearchHistoryTask 
    - Remove unnecessary setMatchCase(), matchCase(), setRegExp(), regExp() methods.
    - Implement highlighting the search box to indicate search success correctly.
      (Previously did not work with 'highlight matches' turned off)

* start.cpp -> main.cpp for consistancy

* Remove old startup-notes

* #ifdef out the transparency setup code on startup, relevant code is now in 
  qt-copy instead.

* API documentation improvements in SessionController

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=682279
2007-07-02 10:17:14 +00:00
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
2007-06-02 01:19:57 +00:00
Robert Knight
1bc6c85c7e Remove dead and unused code, out of date comments, unused methods and un-needed includes.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=666484
2007-05-20 01:28:35 +00:00
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
2007-05-13 16:38:59 +00:00
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
2007-05-12 04:55:02 +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
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