summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-irc/konversation/files')
-rw-r--r--net-irc/konversation/files/1.2_rc1-debug.patch13
-rw-r--r--net-irc/konversation/files/konversation-1.0.1-crash.patch17
-rw-r--r--net-irc/konversation/files/konversation-1.0.1-konsolepanel.patch63
-rw-r--r--net-irc/konversation/files/konversation-1.0.1-media-script-vulnerability.patch41
-rw-r--r--net-irc/konversation/files/konversation-1.0.1-serverlist-compiz-workaround.patch31
-rw-r--r--net-irc/konversation/files/konversation-1.1-desktop-entry-fix.diff18
6 files changed, 13 insertions, 170 deletions
diff --git a/net-irc/konversation/files/1.2_rc1-debug.patch b/net-irc/konversation/files/1.2_rc1-debug.patch
new file mode 100644
index 000000000000..1b5b4bff4c59
--- /dev/null
+++ b/net-irc/konversation/files/1.2_rc1-debug.patch
@@ -0,0 +1,13 @@
+Index: trunk/extragear/network/konversation/src/viewer/ircview.cpp
+===================================================================
+--- trunk/extragear/network/konversation/src/viewer/ircview.cpp (revision 1032161)
++++ trunk/extragear/network/konversation/src/viewer/ircview.cpp (revision 1032162)
+@@ -856,8 +856,6 @@
+
+ KTextBrowser::append(line);
+
+- Q_ASSERT(document()->rootFrame()->childFrames().count() == 0); // no child frames, see SelectionPin
+-
+ QTextCursor formatCursor(document()->lastBlock());
+ QTextBlockFormat format = formatCursor.blockFormat();
+
diff --git a/net-irc/konversation/files/konversation-1.0.1-crash.patch b/net-irc/konversation/files/konversation-1.0.1-crash.patch
deleted file mode 100644
index b406e801e1d7..000000000000
--- a/net-irc/konversation/files/konversation-1.0.1-crash.patch
+++ /dev/null
@@ -1,17 +0,0 @@
---- trunk/extragear/network/konversation/src/viewcontainer.cpp 2006/11/17 17:50:03 605661
-+++ trunk/extragear/network/konversation/src/viewcontainer.cpp 2006/11/17 22:04:32 605705
-@@ -2022,11 +2022,13 @@
- if (m_frontServer)
- {
- DccChat* dccChatPanel=new DccChat(m_tabWidget, myNick,nick,arguments,listen);
-- addView(dccChatPanel, dccChatPanel->getName());
- connect(dccChatPanel, SIGNAL(updateTabNotification(ChatWindow*,const Konversation::TabNotifyType&)), this, SLOT(setViewNotification(ChatWindow*,const Konversation::TabNotifyType&)));
- if(listen)
-+ {
- m_frontServer->queue(QString("PRIVMSG %1 :\001DCC CHAT chat %2 %3\001")
- .arg(nick).arg(numericalIp).arg(dccChatPanel->getPort()));
-+ }
-+ addView(dccChatPanel, dccChatPanel->getName());
- }
- }
-
diff --git a/net-irc/konversation/files/konversation-1.0.1-konsolepanel.patch b/net-irc/konversation/files/konversation-1.0.1-konsolepanel.patch
deleted file mode 100644
index 646adc218c0a..000000000000
--- a/net-irc/konversation/files/konversation-1.0.1-konsolepanel.patch
+++ /dev/null
@@ -1,63 +0,0 @@
---- konversation~/src/konsolepanel.h 2006-10-06 18:43:29.000000000 +0200
-+++ konversation/src/konsolepanel.h 2007-08-16 16:25:09.000000000 +0200
-@@ -13,8 +13,10 @@
- #define KONSOLE_PANEL_H
-
- #include "chatwindow.h"
-+
- #include <kparts/part.h>
-
-+
- class KonsolePanel : public ChatWindow
- {
- Q_OBJECT
-@@ -25,6 +27,8 @@
-
- virtual void setName(const QString& newName) { ChatWindow::setName(newName); }
-
-+ QWidget* getWidget();
-+
- signals:
- void closeView(ChatWindow* view);
-
---- konversation~/src/konsolepanel.cpp 2006-10-06 18:43:29.000000000 +0200
-+++ konversation/src/konsolepanel.cpp 2007-08-16 16:25:09.000000000 +0200
-@@ -9,15 +9,16 @@
- Copyright (C) 2003 Mickael Marchand <marchand@kde.org>
- */
-
-+#include "konsolepanel.h"
-+#include "common.h"
-+#include "viewcontainer.h"
-+
- #include <kdebug.h>
- #include <klibloader.h>
- #include <klocale.h>
-
--#include "konsolepanel.h"
--#include "common.h"
--#include "viewcontainer.h"
-
--KonsolePanel::KonsolePanel(QWidget *p) : ChatWindow( p )
-+KonsolePanel::KonsolePanel(QWidget *p) : ChatWindow( p ), k_part (0)
- {
- setName(i18n("Konsole"));
- setType(ChatWindow::Konsole);
-@@ -46,8 +47,17 @@
- }
- }
-
-+QWidget* KonsolePanel::getWidget()
-+{
-+ if (k_part)
-+ return k_part->widget();
-+ else
-+ return 0;
-+}
-+
- void KonsolePanel::childAdjustFocus()
- {
-+ if (k_part) k_part->widget()->setFocus();
- }
-
- void KonsolePanel::partDestroyed()
diff --git a/net-irc/konversation/files/konversation-1.0.1-media-script-vulnerability.patch b/net-irc/konversation/files/konversation-1.0.1-media-script-vulnerability.patch
deleted file mode 100644
index 7c7bd32cf6e3..000000000000
--- a/net-irc/konversation/files/konversation-1.0.1-media-script-vulnerability.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-diff -aur konversation-1.0.1/konversation/src/channel.cpp konversation-1.0.1-fixed/konversation/src/channel.cpp
---- konversation-1.0.1/konversation/src/channel.cpp 2006-10-06 18:43:29.000000000 +0200
-+++ konversation-1.0.1-fixed/konversation/src/channel.cpp 2007-09-05 01:10:52.000000000 +0200
-@@ -890,7 +890,7 @@
- }
-
- // Send all strings, one after another
-- QStringList outList=QStringList::split('\n',outputAll);
-+ QStringList outList=QStringList::split(QRegExp("[\r\n]+"),outputAll);
- for(unsigned int index=0;index<outList.count();index++)
- {
- QString output(outList[index]);
-diff -aur konversation-1.0.1/konversation/src/konvdcop.cpp konversation-1.0.1-fixed/konversation/src/konvdcop.cpp
---- konversation-1.0.1/konversation/src/konvdcop.cpp 2006-10-06 18:43:29.000000000 +0200
-+++ konversation-1.0.1-fixed/konversation/src/konvdcop.cpp 2007-09-05 01:11:08.000000000 +0200
-@@ -82,15 +82,23 @@
- emit dcopMultiServerRaw("me " + message);
- }
-
--void KonvDCOP::say(const QString& server,const QString& target,const QString& command)
-+void KonvDCOP::say(const QString& _server,const QString& _target,const QString& _command)
- {
-+ //Sadly, copy on write doesn't exist with QString::replace
-+ QString server(_server), target(_target), command(_command);
-+
- // TODO: this just masks a greater problem - Server::addQuery will return a query for '' --argonel
- // TODO: other DCOP calls need argument checking too --argonel
- if (server.isEmpty() || target.isEmpty() || command.isEmpty())
- kdDebug() << "KonvDCOP::say() requires 3 arguments." << endl;
- else
- {
-- kdDebug() << "KonvDCOP::say()" << endl;
-+ command.replace('\n',"\\n");
-+ command.replace('\r',"\\r");
-+ target.remove('\n');
-+ target.remove('\r');
-+ server.remove('\n');
-+ server.remove('\r');
- // Act as if the user typed it
- emit dcopSay(server,target,command);
- }
diff --git a/net-irc/konversation/files/konversation-1.0.1-serverlist-compiz-workaround.patch b/net-irc/konversation/files/konversation-1.0.1-serverlist-compiz-workaround.patch
deleted file mode 100644
index 4f58d5ab0f76..000000000000
--- a/net-irc/konversation/files/konversation-1.0.1-serverlist-compiz-workaround.patch
+++ /dev/null
@@ -1,31 +0,0 @@
---- konversation-1.0.1/konversation/src/konversationapplication.cpp 2006-10-06 18:43:29.000000000 +0200
-+++ konversation-new/konversation/src/konversationapplication.cpp 2007-10-12 18:38:23.000000000 +0200
-@@ -126,7 +126,7 @@
- emit appearanceChanged();
- mainWindow->show();
-
-- if (Preferences::showServerList()) mainWindow->openServerList();
-+ bool openServerList = Preferences::showServerList();
-
- // handle autoconnect on startup
- Konversation::ServerGroupList serverGroups = Preferences::serverGroupList();
-@@ -135,12 +135,18 @@
- {
- for (Konversation::ServerGroupList::iterator it = serverGroups.begin(); it != serverGroups.end(); ++it)
- {
-- if ((*it)->autoConnectEnabled()) connectToServer((*it)->id());
-+ if ((*it)->autoConnectEnabled())
-+ {
-+ openServerList = false;
-+ connectToServer((*it)->id());
-+ }
- }
- }
- else
- quickConnectToServer(m_hostName, m_port, m_channel, m_nick, m_password, m_useSSL);
-
-+ if (openServerList) mainWindow->openServerList();
-+
- // prepare dcop interface
- dcopObject = new KonvDCOP;
- kapp->dcopClient()->setDefaultObject(dcopObject->objId());
diff --git a/net-irc/konversation/files/konversation-1.1-desktop-entry-fix.diff b/net-irc/konversation/files/konversation-1.1-desktop-entry-fix.diff
deleted file mode 100644
index b3ec4af2eeae..000000000000
--- a/net-irc/konversation/files/konversation-1.1-desktop-entry-fix.diff
+++ /dev/null
@@ -1,18 +0,0 @@
---- ./konversation/src/konversation.desktop.orig 2008-07-14 19:03:47.000000000 +0200
-+++ ./konversation/src/konversation.desktop 2008-07-14 19:20:10.000000000 +0200
-@@ -1,8 +1,8 @@
- [Desktop Entry]
- Type=Application
--Exec=konversation -caption "%c" %i %m
-+Exec=konversation -caption "%c" %i
- Icon=konversation
--DocPath=konversation/index.html
-+X-DocPath=konversation/index.html
- GenericName=IRC Client
- GenericName[ar]=زبون IRC
- GenericName[bg]=IRC клиент
-@@ -45,4 +45,3 @@
- ServiceTypes=DCOP/InstantMessenger;DCOP/Unique
- X-DCOP-ServiceName=konversation
- X-DCOP-ServiceType=Unique
--Encoding=UTF-8