Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • weechat/qweechat
1 result
Show changes
Commits on Source (2)
Loading
Loading
@@ -55,7 +55,7 @@ Options can be changed in file _~/.qweechat/qweechat.conf_.
 
== Copyright
 
Copyright (C) 2011-2016 Sébastien Helleu <flashcode@flashtux.org>
Copyright (C) 2011-2018 Sébastien Helleu <flashcode@flashtux.org>
 
This file is part of QWeeChat, a Qt remote GUI for WeeChat.
 
Loading
Loading
# -*- coding: utf-8 -*-
#
# Copyright (C) 2011-2016 Sébastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2011-2018 Sébastien Helleu <flashcode@flashtux.org>
#
# This file is part of QWeeChat, a Qt remote GUI for WeeChat.
#
Loading
Loading
Loading
Loading
@@ -2,7 +2,7 @@
#
# about.py - about dialog box
#
# Copyright (C) 2011-2016 Sébastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2011-2018 Sébastien Helleu <flashcode@flashtux.org>
#
# This file is part of QWeeChat, a Qt remote GUI for WeeChat.
#
Loading
Loading
Loading
Loading
@@ -2,7 +2,7 @@
#
# buffer.py - management of WeeChat buffers/nicklist
#
# Copyright (C) 2011-2016 Sébastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2011-2018 Sébastien Helleu <flashcode@flashtux.org>
#
# This file is part of QWeeChat, a Qt remote GUI for WeeChat.
#
Loading
Loading
@@ -168,14 +168,14 @@ class Buffer(QtCore.QObject):
try:
self.widget.set_title(
color.remove(self.data['title'].decode('utf-8')))
except:
except: # noqa: E722
self.widget.set_title(None)
 
def update_prompt(self):
"""Update prompt."""
try:
self.widget.set_prompt(self.data['local_variables']['nick'])
except:
except: # noqa: E722
self.widget.set_prompt(None)
 
def input_text_sent(self, text):
Loading
Loading
Loading
Loading
@@ -2,7 +2,7 @@
#
# chat.py - chat area
#
# Copyright (C) 2011-2016 Sébastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2011-2018 Sébastien Helleu <flashcode@flashtux.org>
#
# This file is part of QWeeChat, a Qt remote GUI for WeeChat.
#
Loading
Loading
Loading
Loading
@@ -2,7 +2,7 @@
#
# config.py - configuration for QWeeChat (~/.qweechat/qweechat.conf)
#
# Copyright (C) 2011-2016 Sébastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2011-2018 Sébastien Helleu <flashcode@flashtux.org>
#
# This file is part of QWeeChat, a Qt remote GUI for WeeChat.
#
Loading
Loading
Loading
Loading
@@ -2,7 +2,7 @@
#
# connection.py - connection window
#
# Copyright (C) 2011-2016 Sébastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2011-2018 Sébastien Helleu <flashcode@flashtux.org>
#
# This file is part of QWeeChat, a Qt remote GUI for WeeChat.
#
Loading
Loading
Loading
Loading
@@ -4,7 +4,7 @@ Copyright and license for images
 
Files: weechat.png, bullet_green_8x8.png, bullet_yellow_8x8.png
 
Copyright (C) 2011-2016 Sébastien Helleu <flashcode@flashtux.org>
Copyright (C) 2011-2018 Sébastien Helleu <flashcode@flashtux.org>
Released under GPLv3.
 
 
Loading
Loading
Loading
Loading
@@ -2,7 +2,7 @@
#
# debug.py - debug window
#
# Copyright (C) 2011-2016 Sébastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2011-2018 Sébastien Helleu <flashcode@flashtux.org>
#
# This file is part of QWeeChat, a Qt remote GUI for WeeChat.
#
Loading
Loading
Loading
Loading
@@ -2,7 +2,7 @@
#
# input.py - input line for chat and debug window
#
# Copyright (C) 2011-2016 Sébastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2011-2018 Sébastien Helleu <flashcode@flashtux.org>
#
# This file is part of QWeeChat, a Qt remote GUI for WeeChat.
#
Loading
Loading
Loading
Loading
@@ -2,7 +2,7 @@
#
# network.py - I/O with WeeChat/relay
#
# Copyright (C) 2011-2016 Sébastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2011-2018 Sébastien Helleu <flashcode@flashtux.org>
#
# This file is part of QWeeChat, a Qt remote GUI for WeeChat.
#
Loading
Loading
Loading
Loading
@@ -2,7 +2,7 @@
#
# qweechat.py - WeeChat remote GUI using Qt toolkit
#
# Copyright (C) 2011-2016 Sébastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2011-2018 Sébastien Helleu <flashcode@flashtux.org>
#
# This file is part of QWeeChat, a Qt remote GUI for WeeChat.
#
Loading
Loading
@@ -246,7 +246,7 @@ class MainWindow(QtGui.QMainWindow):
def open_about_dialog(self):
"""Open a dialog with info about QWeeChat."""
messages = ['<b>%s</b> %s' % (NAME, qweechat_version()),
'&copy; 2011-2016 %s &lt;<a href="mailto:%s">%s</a>&gt;'
'&copy; 2011-2018 %s &lt;<a href="mailto:%s">%s</a>&gt;'
% (AUTHOR, AUTHOR_MAIL, AUTHOR_MAIL),
'',
'Running with %s' % ('PySide' if qt_compat.uses_pyside
Loading
Loading
@@ -329,7 +329,7 @@ class MainWindow(QtGui.QMainWindow):
forcecolor='#008800')
self.debug_display(0, '', 'Message: %s' % message)
self.parse_message(message)
except:
except: # noqa: E722
print('Error while decoding message from WeeChat:\n%s'
% traceback.format_exc())
self.network.disconnect_weechat()
Loading
Loading
Loading
Loading
@@ -2,7 +2,7 @@
#
# version.py - version of QWeeChat
#
# Copyright (C) 2011-2016 Sébastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2011-2018 Sébastien Helleu <flashcode@flashtux.org>
#
# This file is part of QWeeChat, a Qt remote GUI for WeeChat.
#
Loading
Loading
# -*- coding: utf-8 -*-
#
# Copyright (C) 2011-2016 Sébastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2011-2018 Sébastien Helleu <flashcode@flashtux.org>
#
# This file is part of QWeeChat, a Qt remote GUI for WeeChat.
#
Loading
Loading
Loading
Loading
@@ -2,7 +2,7 @@
#
# color.py - remove/replace colors in WeeChat strings
#
# Copyright (C) 2011-2016 Sébastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2011-2018 Sébastien Helleu <flashcode@flashtux.org>
#
# This file is part of QWeeChat, a Qt remote GUI for WeeChat.
#
Loading
Loading
@@ -91,7 +91,7 @@ class Color():
try:
index = int(color)
return '\x01(Fr%s)' % self.color_options[index]
except:
except: # noqa: E722
print('Error decoding WeeChat color "%s"' % color)
return ''
 
Loading
Loading
@@ -99,7 +99,7 @@ class Color():
try:
index = int(color)
return '\x01(%s%s#%s)' % (fg_bg, attrs, self._rgb_color(index))
except:
except: # noqa: E722
print('Error decoding terminal color "%s"' % color)
return ''
 
Loading
Loading
@@ -122,7 +122,7 @@ class Color():
index = int(color)
return self._convert_terminal_color(fg_bg, attrs,
WEECHAT_BASIC_COLORS[index][1])
except:
except: # noqa: E722
print('Error decoding color "%s"' % color)
return ''
 
Loading
Loading
Loading
Loading
@@ -2,7 +2,7 @@
#
# protocol.py - decode binary messages received from WeeChat/relay
#
# Copyright (C) 2011-2016 Sébastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2011-2018 Sébastien Helleu <flashcode@flashtux.org>
#
# This file is part of QWeeChat, a Qt remote GUI for WeeChat.
#
Loading
Loading
Loading
Loading
@@ -2,7 +2,7 @@
#
# testproto.py - command-line program for testing WeeChat/relay protocol
#
# Copyright (C) 2013-2016 Sébastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2013-2018 Sébastien Helleu <flashcode@flashtux.org>
#
# This file is part of QWeeChat, a Qt remote GUI for WeeChat.
#
Loading
Loading
@@ -61,7 +61,7 @@ class TestProto(object):
try:
self.sock = socket.socket(inet, socket.SOCK_STREAM)
self.sock.connect((self.args.hostname, self.args.port))
except:
except: # noqa: E722
if self.sock:
self.sock.close()
print('Failed to connect to', self.address)
Loading
Loading
@@ -80,7 +80,7 @@ class TestProto(object):
self.has_quit = True
self.sock.sendall(msg + '\n')
print('\x1b[33m<-- ' + msg + '\x1b[0m')
except:
except: # noqa: E722
traceback.print_exc()
print('Failed to send message')
return False
Loading
Loading
@@ -105,7 +105,7 @@ class TestProto(object):
protocol.hex_and_ascii(msgd.uncompressed, 20)))
# display decoded message
print('\x1b[32m--> {0}\x1b[0m'.format(msgd))
except:
except: # noqa: E722
traceback.print_exc()
print('Error while decoding message from WeeChat')
return False
Loading
Loading
@@ -181,7 +181,7 @@ class TestProto(object):
recvbuf = ''
sys.stdout.write(prompt + message)
sys.stdout.flush()
except:
except: # noqa: E722
traceback.print_exc()
self.send('quit')
return 0
Loading
Loading
# -*- coding: utf-8 -*-
#
# Copyright (C) 2011-2016 Sébastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2011-2018 Sébastien Helleu <flashcode@flashtux.org>
#
# This file is part of QWeeChat, a Qt remote GUI for WeeChat.
#
Loading
Loading