summaryrefslogtreecommitdiff
path: root/user/quassel
diff options
context:
space:
mode:
authorZach van Rijn <me@zv.io>2023-05-12 14:56:42 -0500
committerZach van Rijn <me@zv.io>2023-05-12 15:29:36 -0500
commitd4cc0e8d5a0e29e9b66e7058c180a7aa9b2cdac7 (patch)
treeef6f0e994d734ce1b9b71811a33d8232692f9ba9 /user/quassel
parent55f95de5e74e22cfab0d73726fd323859924f6d7 (diff)
downloadpackages-d4cc0e8d5a0e29e9b66e7058c180a7aa9b2cdac7.tar.gz
packages-d4cc0e8d5a0e29e9b66e7058c180a7aa9b2cdac7.tar.bz2
packages-d4cc0e8d5a0e29e9b66e7058c180a7aa9b2cdac7.tar.xz
packages-d4cc0e8d5a0e29e9b66e7058c180a7aa9b2cdac7.zip
remove erroneous files. fixes #828.
Diffstat (limited to 'user/quassel')
-rw-r--r--user/quassel/unterminated-mIRC-codes.patch40
1 files changed, 0 insertions, 40 deletions
diff --git a/user/quassel/unterminated-mIRC-codes.patch b/user/quassel/unterminated-mIRC-codes.patch
deleted file mode 100644
index 8cedeb461..000000000
--- a/user/quassel/unterminated-mIRC-codes.patch
+++ /dev/null
@@ -1,40 +0,0 @@
-From 391cdf6c2595060ff3b2adb54f5b2fc8ebd7cc04 Mon Sep 17 00:00:00 2001
-From: "A. Wilcox" <AWilcox@Wilcox-Tech.com>
-Date: Mon, 3 Jun 2019 00:16:30 -0500
-Subject: [PATCH] multilineedit: handle unterminated mIRC codes
-
-Currently, if an unterminated mIRC code is pasted into Quassel, trying to
-go through input line history will cause a deadlock. This breaks the loop
-at the cost of possibly mangling the formatting of the line somewhat.
-This is seen as more acceptable than locking up, and the line is invalid
-anyway.
-
-Reproducer:
-
-```sh
-printf '\00303,08HONK' | xclip -selection clipboard
-```
-
-Paste into Quassel, send, press Up arrow key.
----
- src/uisupport/multilineedit.cpp | 4 ++++
- 1 file changed, 4 insertions(+)
-
-diff --git a/src/uisupport/multilineedit.cpp b/src/uisupport/multilineedit.cpp
-index 133a2433..b13834c5 100644
---- a/src/uisupport/multilineedit.cpp
-+++ b/src/uisupport/multilineedit.cpp
-@@ -645,6 +645,10 @@ QString MultiLineEdit::convertMircCodesToHtml(const QString &text)
- }
-
- posRight = text.indexOf(mircCode.cap(), posRight + 1);
-+ if (posRight == -1) {
-+ words << text.mid(posLeft);
-+ break; // unclosed color code; can't process
-+ }
- words << text.mid(posLeft, posRight + 1 - posLeft);
- posLeft = posRight + 1;
- }
---
-2.21.0
-