Commit Graph

1901 Commits

Author SHA1 Message Date
Jekyll Wu
e9bd2febee Simplify the code for updating codec action 2011-10-24 10:08:33 +08:00
Jekyll Wu
91f8e533c8 Delete slot saveSession() which is not implemented and used 2011-10-24 00:00:28 +08:00
Jekyll Wu
45726d9388 Move code around for better readability 2011-10-23 23:58:58 +08:00
Jekyll Wu
d153ec4c03 Minor change on code style 2011-10-23 23:29:23 +08:00
Jekyll Wu
841206fb13 Title set by dbus method setTitle() should be sticky by default
It is not intuitive and easy for users to find they need also
call dbus method setTabTitleFormat() to avoid that title being
replaced on session activity.

BUG: 262089
FIXED-IN: 4.8
2011-10-22 18:56:26 +08:00
Jekyll Wu
16a70c126d Support using Ctrl+<mouse-wheel> for zooming text size
FEATURE: 238037
FIXED-IN:4.8
2011-10-22 16:47:15 +08:00
Jekyll Wu
1c1981501b Ensure %w and %# are also expaned in the 'Copy input' dialog
The fix is quite simple. Just move the existing code for expanding
%# and %w into Session::getDynamicTitle(), where all other tab title
formatters are expanded. That also makes the code simple and natural.

BUG: 175755
FIXED-IN:4.8
2011-10-22 03:18:01 +08:00
Kurt Hindenburg
4018f20de7 Remove last , in enum 2011-10-19 09:42:25 -09:00
Jekyll Wu
9ff26d7f3d Remove unnecessary forward declaration 2011-10-21 22:12:11 +08:00
Jekyll Wu
07bf74c335 Adjust #include to make the dependency more explicit 2011-10-21 22:09:48 +08:00
Jekyll Wu
3e3c9f7d9b #include <QCore/QBool> is unnecessary 2011-10-21 21:30:47 +08:00
Jekyll Wu
90060dcc60 Remove unnecessary #include 2011-10-21 21:10:21 +08:00
Jekyll Wu
258199dc44 forward declaration is duplicated when you already include the definition 2011-10-21 21:01:39 +08:00
Jekyll Wu
a2a54f41d8 make Session::updateForegroundProcessInfo() easier to understand 2011-10-21 19:09:59 +08:00
Jekyll Wu
379c5bb7de Minor change on initial value and code style 2011-10-21 19:09:59 +08:00
Jekyll Wu
3d0b5a74d0 'delete NULL' is always safe 2011-10-21 19:09:51 +08:00
Jekyll Wu
fc6c244335 fix the compiler warning for the order of member initialization 2011-10-21 17:03:59 +08:00
Jekyll Wu
218ffbf8bf Setup icon for the 'select-all' and 'rename-session' actions
They use the same icons as their similar KStandardActions does.
2011-10-21 16:50:55 +08:00
Jekyll Wu
ed88c7f5da Refactor Session::activityStateSet() to make it more readable 2011-10-21 13:23:22 +08:00
Jekyll Wu
634d2f4efa Put activity & silence related members closer 2011-10-21 13:08:17 +08:00
Jekyll Wu
277038478b Allow activity notification to be triggered more than once.
The activity notification is now masked for a while after it is triggered.
That is basically what KDE3 konsole does. The mask interval is intended
to avoid the flooding of notification and is hardcoded as 15 seconds
at the moment. Maybe that interval should be user configurable.

FIXED-IN:4.8
CCBUG: 257752
2011-10-21 12:37:47 +08:00
Jekyll Wu
7867aec885 Make it possible to intercept "Shift+Insert" as shortcut in kpart
BUG: 165720
FIXED-IN:4.8
REVIEW:102924
2011-10-21 11:53:26 +08:00
Jekyll Wu
b4d30060c2 Rename the timer related with "Monitor Silence" for clarity
That timer is dedicated for the "Monitor Silence" feature, so
_monitorTimer is a too generic name.
2011-10-21 05:05:09 +08:00
Jekyll Wu
6ff48dff6a Not a good idea to use _monitor as parameter name 2011-10-21 00:15:30 +08:00
Jekyll Wu
5a3e0994e7 SIGNAL(duplicateRequest(ViewProperties*)) is not used anymore 2011-10-21 00:00:43 +08:00
Jekyll Wu
7e7a020fe8 Minor change on coding style 2011-10-20 22:53:18 +08:00
Jekyll Wu
b485852440 use NotifyBell by default 2011-10-20 10:41:44 +08:00
Jekyll Wu
771e20d1ba Add a separate method for the code of visual bell 2011-10-20 05:39:18 +08:00
Jekyll Wu
b2826b9022 call setCurrentTerminalDisplay() on every keystoke.
This reverts previous commit cd3446. I was wrong, that line
is neccessary for split view.
2011-10-20 04:32:13 +08:00
Jekyll Wu
28e00839be Rename for clarity 2011-10-19 14:05:23 +08:00
Jekyll Wu
77ca20aecb Move #include into better place 2011-10-19 13:48:23 +08:00
Jekyll Wu
79254a5bcb Remove unnecessary #include for Profile.h 2011-10-19 13:44:24 +08:00
Jekyll Wu
9998ae095f Make the code slightly more readable 2011-10-19 13:43:29 +08:00
Jekyll Wu
c84c55d52b Remove inapproriate TODO and useless comment 2011-10-19 04:38:36 +08:00
Jekyll Wu
c001df918c Minor change on constructor 2011-10-19 04:38:36 +08:00
Jekyll Wu
d3e6c479ff Remove dead #define 2011-10-19 04:38:36 +08:00
Jekyll Wu
68dd09e90a TerminalDisplay is not installed as event filter of qApp.
That removed line is quite old, so it seems like something left over
in the past years.
2011-10-18 12:27:15 +08:00
Jekyll Wu
b596fa161c Minor change on style, indentation and whitespace 2011-10-18 11:47:50 +08:00
Kurt Hindenburg
fd0d6e5bb6 Minor spelling fixes. 2011-10-17 06:35:27 -09:00
Christoph Feck
de5ef9484a Konsole requires integer font metrics
REVIEW: 102899
2011-10-17 20:53:57 +02:00
Jekyll Wu
7666f18d5b Group geometry & resizing related methods 2011-10-18 00:23:30 +08:00
Jekyll Wu
c53d790f31 Draw some fail-to-simulate box-drawing characters in the normal way.
BUG:210329
FIXED-IN:4.8
REVIEW:102836
2011-10-18 00:09:22 +08:00
Jekyll Wu
19678403bb Rename for clarity. 2011-10-17 16:25:21 +08:00
Jekyll Wu
13697bf309 rename 'info' to 'profile' 2011-10-17 16:03:31 +08:00
Jekyll Wu
b61b220913 Put related code closer 2011-10-17 14:12:07 +08:00
Jekyll Wu
75bb9ad920 listen for profile modification only after the table is populated 2011-10-17 14:11:14 +08:00
Albert Astals Cid
005e1cfb87 Fix crash handling combining characters
If you get a combining character as first "character" of a new line
what we used to go was go to the previous line and combine with the character of the end
This assumption is wrong as sometimes a combining character may appear "on its own" without nothing to combine with

If someone has time it is worth investigating what is the correct behaviour in those cases as it seems gnome-terminal shows the character even if it has nothing to combine with
2011-10-16 18:51:38 +02:00
Kurt Hindenburg
4ad0c12e05 Minor spelling fixes. 2011-10-16 11:44:20 -04:00
Jekyll Wu
105043b75c Shift+Tab should not cause implicit focus switching in stand-alone konsole
This allows passing Shift+Tab to the terminal process when split view is in
use and the shortcut of "Next View Container" action is set as "None".

BUG: 244514
FIXED-IN:4.8
REVIEW:102834
2011-10-16 11:47:23 +08:00
Jekyll Wu
451738cc98 Close the session reliably after the terminal process itself crashes 2011-10-16 04:14:54 +08:00