Commit Graph

45 Commits

Author SHA1 Message Date
Thiago Macieira
718b131f00 Remove use of k_funcinfo
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=702583
2007-08-20 21:33:48 +00:00
Robert Knight
f39a272a66 Attempt to fix sporadic crash on exit when process snapshot timer fires after the session has been deleted.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=700765
2007-08-16 11:54:50 +00:00
Robert Knight
76943a4b26 Use correct 'terminal is using the mouse' status in newly added views.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=700303
2007-08-15 06:49:17 +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
Robert Knight
b73c3c5cd9 Correct method of making shortcuts work with hidden menu bar, now possible with kdelibs changes.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=693130
2007-07-27 07:26:28 +00:00
Robert Knight
d30833dac7 Fix keyboard shortcuts when menu bar is hidden. Patch by Robin Stocker. Affects other KDE applications as well. See discussion on konsole-devel - http://lists.kde.org/?l=konsole-devel&m=118529209602516&w=2
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=691938
2007-07-24 17:10:36 +00:00
Robert Knight
15fc19e0a8 Disable find/next previous actions before deleting the objects which they rely on. ++ Preconditions.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=691508
2007-07-23 20:27:01 +00:00
Robert Knight
760d863508 Remove a few unused methods and member variables, more Qt-ish API and naming. Prepend 'virtual' to declarations of re-implementations of virtual methods.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=691162
2007-07-23 03:02:58 +00:00
Robert Knight
59960af6be Fix crash in search filter which can occur if the search bar is removed whilst the search is in progress.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=689757
2007-07-19 02:56:45 +00:00
Fredrik Höglund
765d801f72 - "Search Output..." -> "Search Output", since it toggles a search bar on/off.
- Make the action checkable.
- Connect to the toggled() signal instead of triggered().
- Uncheck the action when the search bar is closed.

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=687983
2007-07-14 23:20:11 +00:00
Fredrik Höglund
d2e3c740f9 "Scrollback Options" -> "Scrollback Options..."
(It opens a dialog box.)

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=687977
2007-07-14 22:56:03 +00:00
David Faure
213353e903 more portable; less noisy
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=684166
2007-07-06 10:15:14 +00:00
Robert Knight
72241ef4a6 * Comment out many debugging messages
* Experimental optimization, disable kerning since this is not required
  with the mono-spaced fonts which are used in the terminal.

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=682702
2007-07-03 09:14:21 +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
1fdeb16702 Add KDE 3's Shift+Insert paste shortcut as an alternative to the current Ctrl+Shift+V.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=681418
2007-06-28 21:06:10 +00:00
Dirk Mueller
402412fd46 fix shell quoting
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=678405
2007-06-21 10:01:51 +00:00
Robert Knight
5040376f11 Deprecated KRun::shellQuote() -> KShell::quoteArg()
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=678270
2007-06-21 01:19:29 +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
942ecb745c Make new sessions start in the same directory as the previously active session. Does not apply when creating a new tab from a specific profile.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=670566
2007-06-02 02:17:14 +00:00
Robert Knight
efc58634e7 Update tab text immediately when renaming a tab manually.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=670480
2007-06-01 16:48:50 +00:00
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
2007-05-31 13:42:23 +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
da54803438 Scroll view to newest output on keystroke. Disallow letter shortcuts. Update TODO.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=669235
2007-05-28 20:29:13 +00:00
Robert Knight
24b1e02ad4 Add hide/show menu bar action to session context menu. Add shortcut ( Ctrl+Shift+F11 ) to full screen mode action. Update 'Change Profile' sub-menu in session context menu when the list of favorite sessions is changed in the Manage Profiles dialog.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=669221
2007-05-28 19:57:42 +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
835f1fe300 Change tab text color for tabs when activity occurs in them, ala. Kopete. This is different to 'Monitor for Activity' which provides more dramatic notifications via the KDE notification framework.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=668549
2007-05-26 18:23:44 +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
ffa03ca138 Make profile shortcuts work for favorite profiles (others are currently ignored).
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=667504
2007-05-23 00:08:03 +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
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
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
2007-05-19 17:08:56 +00:00
Robert Knight
dcdf9e76b3 Rename History to Scrollback in the UI, to avoid confusion with shell's command history. Fixes to color scheme previewing in Edit Profile Dialog. Add a few icons here and there. Add full screen menu item.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=665834
2007-05-18 05:26:40 +00:00
Robert Knight
983271c55c Fix tab title syncing between multiple views of the same session.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=665823
2007-05-18 04:20:57 +00:00
Robert Knight
73df051eb6 Fix URL filters not being updated when scrolling the display. Fix URLs being left underlined when moving mouse outside of target area.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=665822
2007-05-18 04:01:02 +00:00
Robert Knight
04069377d9 Tidy up and reorganise the header files and API for the Emulation classes, add more API documentation for the base Emulation class. Rename methods for consistancy and clarity.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=665816
2007-05-18 02:47:03 +00:00
Robert Knight
fca8970274 Better Qt-style signal/slot names in Session class.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=665439
2007-05-16 22:48:45 +00:00
Robert Knight
53d5b76910 Allow tab titles to include the window title set by the shell. Fix arithmetic exception when trying to shrink/expand the current view if it is the only view open.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=663712
2007-05-12 06:04:02 +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
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
Stephan Binner
c7debcd41a i18n style guide fixes
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=662510
2007-05-08 13:19:53 +00:00
Robert Knight
8a2bf09d96 Make history options, manage profiles and edit current profile dialog non-modal as suggested.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=662230
2007-05-07 17:06:31 +00:00
Robert Knight
0ab65a6fe4 Use a more correct method to determine the foreground process in the terminal. Works properly with nested shells.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=661946
2007-05-07 04:14:32 +00:00
Robert Knight
622cae74e5 Methods to set and get the settings used when clicking on the 'Defaults' button in the History Options dialog. Eventually this should mean using the current profile's history settings.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=661704
2007-05-06 12:33:18 +00:00
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
2007-05-06 00:58:27 +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