Hello community,

here is the log from the commit of package konsole for openSUSE:Factory checked 
in at 2012-03-13 09:34:45
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/konsole (Old)
 and      /work/SRC/openSUSE:Factory/.konsole.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "konsole", Maintainer is "[email protected]"

Changes:
--------
--- /work/SRC/openSUSE:Factory/konsole/konsole.changes  2012-01-27 
15:21:19.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.konsole.new/konsole.changes     2012-03-13 
09:34:47.000000000 +0100
@@ -1,0 +2,6 @@
+Fri Mar  2 23:23:07 CET 2012 - [email protected]
+
+- update to 4.8.1
+  * see http://kde.org/announcements/changelogs/changelog4_8_0to4_8_1.php for 
details
+
+-------------------------------------------------------------------

Old:
----
  konsole-4.8.0.tar.bz2

New:
----
  konsole-4.8.1.tar.bz2

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ konsole.spec ++++++
--- /var/tmp/diff_new_pack.T7HmUF/_old  2012-03-13 09:34:48.000000000 +0100
+++ /var/tmp/diff_new_pack.T7HmUF/_new  2012-03-13 09:34:48.000000000 +0100
@@ -15,8 +15,9 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
 Name:           konsole
-Version:        4.8.0
+Version:        4.8.1
 Release:        0
 Summary:        KDE Terminal
 License:        GPL-2.0+

++++++ konsole-4.8.0.tar.bz2 -> konsole-4.8.1.tar.bz2 ++++++
Files old/konsole-4.8.0/doc/manual/index.cache.bz2 and 
new/konsole-4.8.1/doc/manual/index.cache.bz2 differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/konsole-4.8.0/doc/manual/index.docbook 
new/konsole-4.8.1/doc/manual/index.docbook
--- old/konsole-4.8.0/doc/manual/index.docbook  2011-11-17 21:57:16.000000000 
+0100
+++ new/konsole-4.8.1/doc/manual/index.docbook  2012-02-29 23:56:57.000000000 
+0100
@@ -73,7 +73,9 @@
 emulator, often referred to as a terminal or a shell. It emulates a command 
line interface in a text only window.
 </para>
 
-<para>Explaining the use of the &UNIX; <acronym>CLI</acronym> is beyond the 
scope of this document.  A search of the web for these terms will produce more 
information.
+<para>&konsole; typically runs a command shell, an application that executes 
commands that you type. 
+The shell the &konsole; runs depends on your account settings.  
+Consult your operating system documentation to know what the shell is, how to 
configure it and how to use it.
 </para>
 </sect1>
 
@@ -809,7 +811,7 @@
 <variablelist>
 <varlistentry>
 <term><option>--help</option></term>
-<listitem><para><action>List the various options</action>.</para></listitem>
+<listitem><para><action>List various options</action>.</para></listitem>
 </varlistentry>
 
 <varlistentry>
@@ -820,13 +822,19 @@
 
 <varlistentry>
 <term><option>--list-profiles</option></term>
-<listitem><para><action>List</action> all of the available profiles.
+<listitem><para><action>List</action> all available profiles.
+</para></listitem>
+</varlistentry>
+
+<varlistentry>
+<term><option>--list-profile-properties</option></term>
+<listitem><para><action>List</action> all possible properties with name and 
type. See option <option>-p</option> .
 </para></listitem>
 </varlistentry>
 
 <varlistentry>
 <term><option>--background-mode</option></term>
-<listitem><para><action>Start &konsole;</action> in the background and bring 
to the front when the F12 key is pressed.
+<listitem><para><action>Start &konsole;</action> in the background and bring 
to the front when <keycombo 
action="simul">&Ctrl;&Shift;<keycap>F12</keycap></keycombo> (by default) is 
pressed.
 </para></listitem>
 </varlistentry>
 
@@ -880,14 +888,13 @@
 <term><option>-e</option> <parameter>command</parameter></term>
 <listitem><para><action>Execute</action>
 <parameter>command</parameter> instead of the normal shell.</para>
-<note><para>Any arguments after <parameter>command</parameter> will be passed 
to
-<parameter>command</parameter>, not &konsole;.</para></note>
+<note><para>This option will catch all following arguments passed to 
&konsole;, and execute it as <parameter>command</parameter>. So this option 
should always be used as the last option.</para></note>
 </listitem>
 </varlistentry>
 
 <varlistentry>
 <term><option>--nofork</option></term>
-<listitem><para><action>Do not run in the background</action>.  This is often 
needed to mimic other terminals.
+<listitem><para><action>Do not run in the background</action>.  This is often 
needed to mimic other terminal emulators.
 </para></listitem>
 </varlistentry>
 
@@ -1122,6 +1129,14 @@
 </para>
 </listitem>
 
+<listitem><para>
+The <option>--new-tab</option> option sometimes behaves strangely. It may 
create new window, or it may create new tab in another existing &konsole; 
window instead of the current &konsole; window. 
+</para>
+<para>
+Those behaviors feel strange, but they are not necessarily bugs. The 
<option>--new-tab</option> option tries to reuse existing &konsole; windows, 
but not all &konsole; windows are reusable. All &konsole; windows opened 
through &krunner; are reusable, while most &konsole; windows opened from 
command line are not.
+</para>
+</listitem>
+
 </itemizedlist>
 
 </sect1>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/konsole-4.8.0/src/MainWindow.cpp 
new/konsole-4.8.1/src/MainWindow.cpp
--- old/konsole-4.8.0/src/MainWindow.cpp        2011-11-17 21:57:16.000000000 
+0100
+++ new/konsole-4.8.1/src/MainWindow.cpp        2012-02-29 23:56:57.000000000 
+0100
@@ -397,12 +397,14 @@
 
 void MainWindow::newTab()
 {
-    emit newSessionRequest( _defaultProfile , activeSessionDir() , 
_viewManager);
+    Profile::Ptr defaultProfile = SessionManager::instance()->defaultProfile();
+    emit newSessionRequest(defaultProfile , activeSessionDir() , _viewManager);
 }
 
 void MainWindow::newWindow()
 {
-    emit newWindowRequest( _defaultProfile , activeSessionDir() );
+    Profile::Ptr defaultProfile = SessionManager::instance()->defaultProfile();
+    emit newWindowRequest(defaultProfile , activeSessionDir());
 }
 
 bool MainWindow::queryClose()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/konsole-4.8.0/src/Pty.cpp 
new/konsole-4.8.1/src/Pty.cpp
--- old/konsole-4.8.0/src/Pty.cpp       2011-11-17 21:57:16.000000000 +0100
+++ new/konsole-4.8.1/src/Pty.cpp       2012-02-29 23:56:57.000000000 +0100
@@ -133,15 +133,25 @@
 
 void Pty::setInitialWorkingDirectory(const QString& dir)
 {
-    setWorkingDirectory(dir);
+    QString pwd = dir;
+
+    // remove trailing slash in the path when appropriate
+    // example: /usr/share/icons/ ==> /usr/share/icons
+    if ( pwd.length() > 1 && pwd.endsWith(QLatin1String("/")) ) {
+        pwd.chop(1);
+    }
+
+    setWorkingDirectory(pwd);
 
     // setting PWD to "." will cause problem for bash & zsh
-    if ( dir != "." )
-        setEnv("PWD", dir);
+    if (pwd != ".")
+        setEnv("PWD", pwd);
 }
 
 void Pty::addEnvironmentVariables(const QStringList& environment)
 {
+    bool isTermEnvAdded = false;
+
     QListIterator<QString> iter(environment);
     while (iter.hasNext())
     {
@@ -156,8 +166,17 @@
             QString value = pair.mid(pos+1);
 
             setEnv(variable,value);
+
+            if ( variable == "TERM" ) {
+                isTermEnvAdded = true;
+            }
         }
     }
+
+    // extra safeguard to make sure $TERM is always set
+    if ( !isTermEnvAdded ) {
+        setEnv("TERM", "xterm");
+    }
 }
 
 int Pty::start(const QString& program, 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/konsole-4.8.0/src/Vt102Emulation.cpp 
new/konsole-4.8.1/src/Vt102Emulation.cpp
--- old/konsole-4.8.0/src/Vt102Emulation.cpp    2011-11-17 21:57:16.000000000 
+0100
+++ new/konsole-4.8.1/src/Vt102Emulation.cpp    2012-02-29 23:56:57.000000000 
+0100
@@ -938,12 +938,16 @@
         states |= KeyboardTranslator::ApplicationKeypadState;
 
     // check flow control state
-    if (modifiers & Qt::ControlModifier)
-    {
-        if (event->key() == Qt::Key_S)
+    if (modifiers & Qt::ControlModifier) {
+        switch (event->key()) {
+        case Qt::Key_S:
             emit flowControlKeyPressed(true);
-        else if (event->key() == Qt::Key_Q)
+            break;
+        case Qt::Key_Q:
+        case Qt::Key_C: // cancel flow control
             emit flowControlKeyPressed(false);
+            break;
+        }
     }
 
     // lookup key binding
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/konsole-4.8.0/src/main.cpp 
new/konsole-4.8.1/src/main.cpp
--- old/konsole-4.8.0/src/main.cpp      2011-11-17 21:57:16.000000000 +0100
+++ new/konsole-4.8.1/src/main.cpp      2012-02-29 23:56:57.000000000 +0100
@@ -30,7 +30,7 @@
 #include <KLocale>
 #include <KDebug>
 
-#define KONSOLE_VERSION "2.8"
+#define KONSOLE_VERSION "2.8.1"
 
 // standard input file descriptor
 static const int STDIN = 0;







-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to