Robert Knight
17202a040f
Remove feature that opened the web browser or email client when left-clicking on appropriate URLs because several users found it annoying. Links are still highlighted on mouse-over and can be opened by right-clicking on the link and selecting 'Open Link' or 'Send Email To...' as appropriate.
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=741928
2007-11-26 19:00:18 +00:00
Robert Knight
3bdcbb4496
* Fix bug where last column in a line could not be selected if it
...
was the last line in the selection.
* Do not attempt to reposition the mouse cursor when it moves outside
of the terminal display area. This happens in Konsole/KDE 3 as well,
I had never noticed it before though.
* Remove debugging code
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=740704
2007-11-23 23:08:39 +00:00
Robert Knight
6b56d35484
Fix bug where new lines were being inserted into the selection and copied text. I misunderstood the meaning of the preserveLineBreaks argument passed from the terminal display to the terminal screen when rewriting the terminal characters -> text conversion code. Also removed dead code.
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=740173
2007-11-22 18:36:42 +00:00
Robert Knight
e98a26e1f2
Fill the background of the terminal display area behind the scroll-bar using the background color from the scroll-bar's palette. This gives the illusion of the scroll bar being outside the contents area as per other KDE applications and is required for a better looking scrollbar with the Oxygen widget style. CCMAIL:cbr@boemann.dk
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=740161
2007-11-22 17:48:44 +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
7870ea1ea3
Use string_width() to calculate the number of columns needed to draw the preedit text, which != the number of characters in the string.
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=714942
2007-09-21 00:21:34 +00:00
Robert Knight
bd8e23ca99
Fix crash when changing between profiles that have different scrollbar visibility settings. TerminalDisplay::updateSize() was being re-entered when the scrollbar was shown or hidden causing a double-deletion.
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=710351
2007-09-09 18:09:07 +00:00
Robert Knight
f93d2ea70d
Fix another possible index-out-of-bounds when inserting characters. Fix terminal display image buffer overflow when rendering double-height lines.
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=709594
2007-09-07 21:50:13 +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
ee11f41719
Remove the last of the printing code given that Konsole no longer has direct printing support. The web page export facility can be used instead.
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=708827
2007-09-05 19:25:16 +00:00
Robert Knight
6db288b385
Fix characters in first column not being updated correctly.
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=708378
2007-09-04 17:37:44 +00:00
Robert Knight
55c2c6a3c0
Begin implementation of input method event support. Remove key space to the right of the 'Remove' button in the key binding editor dialog.
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=708351
2007-09-04 15:53:33 +00:00
Robert Knight
765fbddbf8
Simplify drag-and-drop of URLs. Remove the popup menu as per BUG:66479 . Also correct the quoting logic to apply regardless of the number of urls.
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=707519
2007-09-02 03:49:17 +00:00
Robert Knight
a83983e598
Fix jumping to end of output if new output appears while keyboard scrolling keys are being used. BUG:148505
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=696958
2007-08-06 11:51:34 +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
bf308e3216
Fix color of cursor when using cursor shapes other than Block.
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=692321
2007-07-25 10:49:40 +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
35a7a587c8
Possibly controversial. Disabled F1 shortcut for handbook in Konsole because it interferes with terminal programs which need this key. Will review following beta feedback. Remove un-used includes and re-enable DBus adaptor for Session.
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=690414
2007-07-21 00:11:09 +00:00
Fredrik Höglund
d330d07e64
Fix a palette issue with the scrollbar.
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=683973
2007-07-05 19:23:15 +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
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
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
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
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
d62867d006
Only invert color of character under the cursor if the display has the focus.
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=680632
2007-06-26 18:46:11 +00:00
Dirk Mueller
e0cd16dfbd
- move libkonq into apps/
...
- partial fixes to make apps build separately
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=680304
2007-06-25 21:20:52 +00:00
Robert Knight
ec18837033
Allow a press and release of the Alt key on its own to be used to focus the menu bar.
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=679105
2007-06-23 02:22:49 +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
6a36400ffc
Reimplement Vt102Emulation::getErase() with new keyboard translator. Fixes backspace in Vim et. al. Correct API documentation for KeyboardTranslator::findEntry(). Use an explicit KSharedConfigPtr to get the global config when writing default profile setting. Appears to fix strange crash on exit.
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=678227
2007-06-20 22:26:32 +00:00
Robert Knight
726c106f58
Move Character class to its own header.
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=677276
2007-06-18 20:15:26 +00:00
Robert Knight
ffda8d3ccc
Implement saving of key binding changes. Adapt Pty changes to use Konsole's more verbose variable naming style.
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=676902
2007-06-17 22:05:45 +00:00
Robert Knight
d3a6171501
Correct capitalization of LineFont file name. Move default.keytab header to /old as it is no longer used. Remove MakeDefaults as it is no longer used. Start of code to escape key binding output for use in key binding editor.
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=676647
2007-06-17 10:54:04 +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
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
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
5331bf720d
Various EBN fixes.
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=667655
2007-05-23 13:09:23 +00:00
Robert Knight
0956611a06
Update output tracking state of screen window when scrolling using Shift+Page/Arrow keys
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=666825
2007-05-20 23:35:51 +00:00
Robert Knight
2fd69ce1ba
Add internal support for choosing the tab bar's position with respect to the terminal display. Currently now defaults to positioning the tabs at the bottom of the screen as in KDE 3, haven't decided on what the final default setting will be.
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=666706
2007-05-20 16:33:03 +00:00
Robert Knight
8a81e29f8f
Reimplement scrolling the display up and down using the keyboard. This is now done in the display rather than the emulation, which allows displays on the same session to be scrolled independantly, but doesn't respect the scroll commands defined in the key bindings file.
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=666607
2007-05-20 12:15:10 +00:00
Robert Knight
74f640315e
Remove redundant check before delete[] and outdated comment.
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=666592
2007-05-20 11:26:26 +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
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
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
faf65587ba
Refactor the text drawing code. It was messy and had references to work-arounds for
...
Qt 2.x problems (!). Change the background drawing and fix the scrolling
optimisation. Disable transparency until I figure out how to check for compositing
before application start-up.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=664466
2007-05-14 02:35:38 +00:00
Robert Knight
794e57b9a4
Make use of window transparency setting in the color scheme when compositing support is available.
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=663884
2007-05-12 15:35:39 +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