Commit Graph

16 Commits

Author SHA1 Message Date
Robert Knight
33ccc17c86 Fix assert failure when handling invalid KDE 3 color scheme data files.
Just report a warning instead.

CCBUG: 162154


svn path=/trunk/KDE/kdebase/apps/konsole/; revision=808591
2008-05-17 00:16:29 +00:00
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
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
Robert Knight
8171d4872f * Do not remove color schemes / key bindings from list if the
call to delete the file fails.
* Make deletion of color schemes, key bindings and profiles
  atomic operations from the point of view of outside classes.
* Fix various warning produced by the -Woverloaded-virtual flag.


svn path=/trunk/KDE/kdebase/apps/konsole/; revision=746168
2007-12-08 01:51:37 +00:00
Constantin Berzan
8da5867178 APIDOX
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=709800
2007-09-08 08:48:14 +00:00
Robert Knight
554d6bb83a Add a simple one-check box option to the color scheme editor to vary the background color randomly for each tab. The results are not great yet because the algorithm which randomizes the colors needs work.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=698080
2007-08-09 02:17:09 +00:00
Robert Knight
75c7d9919e Begin work on an accessible color scheme which uses the system-wide colors provided by KColorScheme. Changed the default color scheme to 'Linux' because (a) it was the most popular amongst users in the survey and (b) having used it for a couple of months in KDE 4 it is much more comfortable to use for long periods of use than the glare of a white background. Updated TODOs with a few bugs that need fixing.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=690421
2007-07-21 01:33:30 +00:00
Robert Knight
808d9ed686 Set the COLORFGBG environment variable in new sessions to indicate to terminal programs whether the terminal has a light or dark background. This allows programs such as Vim to automatically pick appropriate colors when a Konsole session has a light or dark background. The value of 'COLORFGBG' is not strictly accurate, instead it approximates the current color scheme as 'black on white' or 'white on black' - but this covers the most important need'
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=686658
2007-07-11 22:33:43 +00:00
Robert Knight
8ac498d34c i18n fixes from Stefan Asserhall.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=685630
2007-07-09 10:54:44 +00:00
Robert Knight
50fb0ef4c6 Support for per-session randomized color schemes. Mainly useful to allow each new session (from a particular profile) to have a different background color to make them easier to identify at a glance. Randomization is specified in the color scheme as the maximum amount of difference in hue, saturation and value which a color is allowed to be randomly changed by. No GUI controls for this yet. Added a 'Black on Random Light' color scheme to make use of this facility out of the box.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=682403
2007-07-02 15:58:19 +00:00
Robert Knight
0518355b55 Translate color names in color scheme editor and make them more presentable. Shorten menu bar option text in profile editor.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=680720
2007-06-27 02:31:30 +00:00
Robert Knight
89e41ae82e Rename TECommon.h -> CharacterColor.h now that is the major class it contains.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=677280
2007-06-18 20:20:08 +00:00
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
2007-06-01 11:24:11 +00:00
Dirk Mueller
9ea3227384 include cleanup
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=663054
2007-05-09 22:23:52 +00:00
Stephan Binner
57f4af2088 no ";" after namespace declaration
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=661616
2007-05-06 05:20:18 +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