Commit Graph

62 Commits

Author SHA1 Message Date
Robert Knight
62e01d8487 Add a shortcut to paste the selection (Ctrl+Shift+Insert) as opposed to the clipboard (Ctrl+Shift+V or Shift+Insert).
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=748944
2007-12-15 23:50:24 +00:00
Robert Knight
e37fe69431 * Fix problem where selection background and other text with non-standard background
colors was not readable with terminal display transparency enabled.

* Transparency works again, but requires --enable-transparency argument passed to command-line
  due to artifacts that appear otherwise.
  Re-enable the code which searches for a suitable display, visual and colormap when
  starting the application in an environment which supports compositing.  Still
  need to resolve with other developers exactly how this will be done in KDE 4.0

* Fix problem where flow control warning banner was always displayed when 
  Ctrl+S, Ctrl+Q were pressed, regardless of whether flow control was 
  actually enabled.

* Fix artifacts when scrolling whilst the flow control warning banner was 
  visible.  Scrolling optimisations in the terminal display are disabled whilst
  the warning banner is being shown.

* Fix links which wrapped over more than one line being cut-off at the end of the line
  (eg. when parsing "http://www.kd <END OF LINE> e.org" the link address would be reported
   as "http://www.kd" instead of "http://www.kde.org").  The link underlining is not yet 
   corrected, only the part of the link on the first line is highlighted.  

* Implement code to load and use a built-in keyboard translator for fallback purposes
  in case no .keytab files exist.  The actual translator text (in DefaultTranslatorText.h)
  is currently incomplete. 

* Replace hard-coded colors for flow control warning label with colors from
  KColorScheme

* Replace hard-coded colors in incremental search line edit when a match is not found
  with colors from KColorScheme

* Remove un-used variables in TerminalDisplay class, rename enums to match
  CamelCase naming style used elsewhere.

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=748936
2007-12-15 23:07:20 +00:00
Thomas Friedrichsmeier
ac511d63f0 Create a KXMLGUIFactory for the context menu on the fly, if needed, instead of forcibly merging with the hosts GUI.
BUG: 153646

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=747059
2007-12-10 22:54:30 +00:00
Robert Knight
08db4867f2 Show normal context menu actions in addition to content-specific ones (eg. 'Open Link', 'Copy Email Address') when right clicking on links.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=744499
2007-12-03 20:22:46 +00:00
Hamish Rodda
8aff5c0cf9 KActionCollection::associateWidget -> addAssociatedWidget
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=744420
2007-12-03 15:22:57 +00:00
Thomas Zander
c6dbccc7cb Use kdebug, not qdebug
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=738432
2007-11-18 22:03:21 +00:00
Craig Drummond
d844806527 Fix parentless dialogs
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=734552
2007-11-09 08:02:24 +00:00
Pino Toscano
8fb491f60a icon renamings:
- history-clear -> edit-clear-history

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=732391
2007-11-03 18:04:00 +00:00
Hamish Rodda
5183376f1e Remove associateWidget that was too effective (obviously not working before, the patched version prevented the actions from being invoked)
Commit results of setShortcut() audit

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=730686
2007-10-29 10:46:55 +00:00
Hamish Rodda
ad6e197df1 Port to KActionCollection::associateWidget and other api changes
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=730654
2007-10-29 09:01:28 +00:00
Pino Toscano
0a72d894d7 icon renamings:
- find-next -> edit-find-next
- find-previous -> edit-find-previous

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=727831
2007-10-21 21:40:12 +00:00
Dirk Mueller
5204c7877e this assert hits here. I wasn't able to figure out why that
happens, given that if one konsole crashes, all konsole's disappear
(great concept!) hacking around seems to help.

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=727397
2007-10-20 11:20:53 +00:00
David Faure
ca6522861c Merged KIO::JobFlags branch
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=721447
2007-10-05 09:14:03 +00:00
Constantin Berzan
5b50d8c481 Add 'Open Browser Here' menu item.
BUG: 61136


svn path=/trunk/KDE/kdebase/apps/konsole/; revision=712078
2007-09-13 14:33:39 +00:00
Constantin Berzan
865486938b * Get rid of an unused/duplicate property in Profile.
* Make it possible to rename a session by double-clicking on (one of) its tab(s).
* Make double-clicking on the empty tabbar area launch a new session.


svn path=/trunk/KDE/kdebase/apps/konsole/; revision=711160
2007-09-11 15:47:38 +00:00
Robert Knight
546bf76e48 Return the current line as the 'surrounding text' for input method queries and return the column index of the cursor as the cursor position. Fix link underlines not being erased when moving mouse around links which are adjacent to each other.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=709087
2007-09-06 14:40:16 +00:00
Robert Knight
d346a2ccad Trick to try and get shell program to redraw the prompt after 'Clear Scrollback and Reset' is selected from the menu. Resize the tty window slightly larger and then back to the original size again. If anyone knows of a more correct solution, please speak up.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=708825
2007-09-05 19:17:20 +00:00
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