Commit Graph

321 Commits

Author SHA1 Message Date
Robert Knight
86b894772b Attempt #2 to fix assert failure when deleting chars.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=696791
2007-08-05 22:22:09 +00:00
Robert Knight
503fdd023e Fix several memory leaks and uninitialized variables found with valgrind.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=696508
2007-08-05 05:53:05 +00:00
Laurent Montel
53fc966203 Adapt to new KWarning/kFatal/kDebug api
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=695870
2007-08-03 06:40:12 +00:00
Robert Knight
f59c27ab9c Fix insertion of characters. Newly inserted characters should be spaces rather than null characters, drop any characters which go beyond the width of the screen (in columns).
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=693468
2007-07-28 05:01:59 +00:00
Robert Knight
10c88b4f38 Attempted fix for crash when deleting characters from a line on the screen.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=692342
2007-07-25 11:34:11 +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
e2ade34327 Re-implement facility to omit line breaks when copying selected text from screen.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=683227
2007-07-04 12:24:35 +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
ad4208b0e6 Fix crash occurring when clearing the history when there was a view on the session which is not at the bottom. Add assertions to catch such errors earlier in future.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=681379
2007-06-28 19:03:26 +00:00
Robert Knight
a13b5ea1c8 Fix when copying lines from screen in sessions with fewer than one display's worth of output. Fixes problem where history search would act as if the last non-empty line of text was duplicated in all subsequent lines. Remove 'for KDE' mention in program description - Konsole can be used in other DEs
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=673765
2007-06-11 04:59:23 +00:00
Robert Knight
de79549e8f Prevent scrolling of views which are not following the latest output when new output is received from the terminal and the history is full.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=670451
2007-06-01 14:27:26 +00:00
Robert Knight
d6b2d317ef Fix crash with invalid selections and memory corruptionwhen updating image in terminal display.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=670435
2007-06-01 12:35:47 +00:00
Robert Knight
82ac07fec2 Change the character -> text decoding API so that Konsole can produce better quality HTML when output is saved. Fix crashing when resizing display introduced in yesterday's scrolling changes and add assertions to catch invalid memory accesses.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=669305
2007-05-28 23:58:31 +00:00
Robert Knight
e7f1b7904a Allow the scrolling optimisation to work on regions of the display instead of the whole screen. This makes it work with split/screen vi/Screen etc. Doesn't work with applications that use vertical splits.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=668839
2007-05-27 21:26:42 +00:00
Robert Knight
76b0f58867 * Add check for compositing on startup now that
KWindowSystem::compositingActive() works without a QApplication instance.
* Make terminal display intercept shortcuts using the Backspace/Home/End keys 
( fixes backspace key triggering the 'Go Back' action in Dolphin when 
terminal part has the focus )
* Add some plumbing that will be used to handle resizing by the terminal 
program.
* Misc. tidy-ups and EBN fixes.
* Update the right part of the terminal display when updating blinking 
cursor.


svn path=/trunk/KDE/kdebase/apps/konsole/; revision=668460
2007-05-26 14:07:24 +00:00
Robert Knight
a7549daefc Fix crash when browsing color schemes after closing a split view.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=666493
2007-05-20 03:08:40 +00:00
Robert Knight
4e6e820acd Replace all usage of malloc/free with new/delete
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=666487
2007-05-20 01:38:55 +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