Move comments with description of python file to top of files
This commit is contained in:
parent
b51e6ba7d7
commit
e836cfb0f6
@ -1,6 +1,8 @@
|
|||||||
#!/usr/bin/python
|
#!/usr/bin/python
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
#
|
#
|
||||||
|
# about.py - about dialog box
|
||||||
|
#
|
||||||
# Copyright (C) 2011-2013 Sebastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2011-2013 Sebastien Helleu <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# This file is part of QWeeChat, a Qt remote GUI for WeeChat.
|
# This file is part of QWeeChat, a Qt remote GUI for WeeChat.
|
||||||
@ -19,10 +21,6 @@
|
|||||||
# along with QWeeChat. If not, see <http://www.gnu.org/licenses/>.
|
# along with QWeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||||
#
|
#
|
||||||
|
|
||||||
#
|
|
||||||
# About dialog box.
|
|
||||||
#
|
|
||||||
|
|
||||||
import qt_compat
|
import qt_compat
|
||||||
QtCore = qt_compat.import_module('QtCore')
|
QtCore = qt_compat.import_module('QtCore')
|
||||||
QtGui = qt_compat.import_module('QtGui')
|
QtGui = qt_compat.import_module('QtGui')
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
#!/usr/bin/python
|
#!/usr/bin/python
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
#
|
#
|
||||||
|
# buffer.py - management of WeeChat buffers/nicklist
|
||||||
|
#
|
||||||
# Copyright (C) 2011-2013 Sebastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2011-2013 Sebastien Helleu <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# This file is part of QWeeChat, a Qt remote GUI for WeeChat.
|
# This file is part of QWeeChat, a Qt remote GUI for WeeChat.
|
||||||
@ -19,10 +21,6 @@
|
|||||||
# along with QWeeChat. If not, see <http://www.gnu.org/licenses/>.
|
# along with QWeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||||
#
|
#
|
||||||
|
|
||||||
#
|
|
||||||
# Buffers.
|
|
||||||
#
|
|
||||||
|
|
||||||
import qt_compat
|
import qt_compat
|
||||||
QtCore = qt_compat.import_module('QtCore')
|
QtCore = qt_compat.import_module('QtCore')
|
||||||
QtGui = qt_compat.import_module('QtGui')
|
QtGui = qt_compat.import_module('QtGui')
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
#!/usr/bin/python
|
#!/usr/bin/python
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
#
|
#
|
||||||
|
# chat.py - chat area
|
||||||
|
#
|
||||||
# Copyright (C) 2011-2013 Sebastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2011-2013 Sebastien Helleu <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# This file is part of QWeeChat, a Qt remote GUI for WeeChat.
|
# This file is part of QWeeChat, a Qt remote GUI for WeeChat.
|
||||||
@ -19,10 +21,6 @@
|
|||||||
# along with QWeeChat. If not, see <http://www.gnu.org/licenses/>.
|
# along with QWeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||||
#
|
#
|
||||||
|
|
||||||
#
|
|
||||||
# Chat area.
|
|
||||||
#
|
|
||||||
|
|
||||||
import datetime
|
import datetime
|
||||||
import qt_compat
|
import qt_compat
|
||||||
QtCore = qt_compat.import_module('QtCore')
|
QtCore = qt_compat.import_module('QtCore')
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
#!/usr/bin/python
|
#!/usr/bin/python
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
#
|
#
|
||||||
|
# config.py - configuration for QWeeChat (~/.qweechat/qweechat.conf)
|
||||||
|
#
|
||||||
# Copyright (C) 2011-2013 Sebastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2011-2013 Sebastien Helleu <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# This file is part of QWeeChat, a Qt remote GUI for WeeChat.
|
# This file is part of QWeeChat, a Qt remote GUI for WeeChat.
|
||||||
@ -19,10 +21,6 @@
|
|||||||
# along with QWeeChat. If not, see <http://www.gnu.org/licenses/>.
|
# along with QWeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||||
#
|
#
|
||||||
|
|
||||||
#
|
|
||||||
# Configuration for QWeeChat (~/.qweechat/qweechat.conf)
|
|
||||||
#
|
|
||||||
|
|
||||||
import os, ConfigParser
|
import os, ConfigParser
|
||||||
import weechat.color as color
|
import weechat.color as color
|
||||||
|
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
#!/usr/bin/python
|
#!/usr/bin/python
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
#
|
#
|
||||||
|
# connection.py - connection window
|
||||||
|
#
|
||||||
# Copyright (C) 2011-2013 Sebastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2011-2013 Sebastien Helleu <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# This file is part of QWeeChat, a Qt remote GUI for WeeChat.
|
# This file is part of QWeeChat, a Qt remote GUI for WeeChat.
|
||||||
@ -19,10 +21,6 @@
|
|||||||
# along with QWeeChat. If not, see <http://www.gnu.org/licenses/>.
|
# along with QWeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||||
#
|
#
|
||||||
|
|
||||||
#
|
|
||||||
# Connection window.
|
|
||||||
#
|
|
||||||
|
|
||||||
import qt_compat
|
import qt_compat
|
||||||
QtGui = qt_compat.import_module('QtGui')
|
QtGui = qt_compat.import_module('QtGui')
|
||||||
|
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
#!/usr/bin/python
|
#!/usr/bin/python
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
#
|
#
|
||||||
|
# debug.py - debug window
|
||||||
|
#
|
||||||
# Copyright (C) 2011-2013 Sebastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2011-2013 Sebastien Helleu <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# This file is part of QWeeChat, a Qt remote GUI for WeeChat.
|
# This file is part of QWeeChat, a Qt remote GUI for WeeChat.
|
||||||
@ -19,10 +21,6 @@
|
|||||||
# along with QWeeChat. If not, see <http://www.gnu.org/licenses/>.
|
# along with QWeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||||
#
|
#
|
||||||
|
|
||||||
#
|
|
||||||
# Debug window.
|
|
||||||
#
|
|
||||||
|
|
||||||
import qt_compat
|
import qt_compat
|
||||||
QtGui = qt_compat.import_module('QtGui')
|
QtGui = qt_compat.import_module('QtGui')
|
||||||
from chat import ChatTextEdit
|
from chat import ChatTextEdit
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
#!/usr/bin/python
|
#!/usr/bin/python
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
#
|
#
|
||||||
|
# input.py - input line for chat and debug window
|
||||||
|
#
|
||||||
# Copyright (C) 2011-2013 Sebastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2011-2013 Sebastien Helleu <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# This file is part of QWeeChat, a Qt remote GUI for WeeChat.
|
# This file is part of QWeeChat, a Qt remote GUI for WeeChat.
|
||||||
@ -19,10 +21,6 @@
|
|||||||
# along with QWeeChat. If not, see <http://www.gnu.org/licenses/>.
|
# along with QWeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||||
#
|
#
|
||||||
|
|
||||||
#
|
|
||||||
# Input line (for chat or debug window).
|
|
||||||
#
|
|
||||||
|
|
||||||
import qt_compat
|
import qt_compat
|
||||||
QtCore = qt_compat.import_module('QtCore')
|
QtCore = qt_compat.import_module('QtCore')
|
||||||
QtGui = qt_compat.import_module('QtGui')
|
QtGui = qt_compat.import_module('QtGui')
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
#!/usr/bin/python
|
#!/usr/bin/python
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
#
|
#
|
||||||
|
# network.py - I/O with WeeChat/relay
|
||||||
|
#
|
||||||
# Copyright (C) 2011-2013 Sebastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2011-2013 Sebastien Helleu <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# This file is part of QWeeChat, a Qt remote GUI for WeeChat.
|
# This file is part of QWeeChat, a Qt remote GUI for WeeChat.
|
||||||
@ -19,10 +21,6 @@
|
|||||||
# along with QWeeChat. If not, see <http://www.gnu.org/licenses/>.
|
# along with QWeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||||
#
|
#
|
||||||
|
|
||||||
#
|
|
||||||
# I/O with WeeChat/relay.
|
|
||||||
#
|
|
||||||
|
|
||||||
import struct
|
import struct
|
||||||
import qt_compat
|
import qt_compat
|
||||||
QtCore = qt_compat.import_module('QtCore')
|
QtCore = qt_compat.import_module('QtCore')
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
#!/usr/bin/python
|
#!/usr/bin/python
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
#
|
#
|
||||||
|
# qweechat.py - WeeChat remote GUI using Qt toolkit
|
||||||
|
#
|
||||||
# Copyright (C) 2011-2013 Sebastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2011-2013 Sebastien Helleu <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# This file is part of QWeeChat, a Qt remote GUI for WeeChat.
|
# This file is part of QWeeChat, a Qt remote GUI for WeeChat.
|
||||||
@ -20,8 +22,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
#
|
#
|
||||||
# QWeeChat - WeeChat remote GUI using Qt toolkit.
|
# This script requires WeeChat 0.3.7 or newer, running on local or remote host.
|
||||||
# (this script requires WeeChat 0.3.7 or newer, running on local or remote host)
|
|
||||||
#
|
#
|
||||||
# History:
|
# History:
|
||||||
#
|
#
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
#!/usr/bin/python
|
#!/usr/bin/python
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
#
|
#
|
||||||
|
# color.py - remove/replace colors in WeeChat strings
|
||||||
|
#
|
||||||
# Copyright (C) 2011-2013 Sebastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2011-2013 Sebastien Helleu <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# This file is part of QWeeChat, a Qt remote GUI for WeeChat.
|
# This file is part of QWeeChat, a Qt remote GUI for WeeChat.
|
||||||
@ -19,10 +21,6 @@
|
|||||||
# along with QWeeChat. If not, see <http://www.gnu.org/licenses/>.
|
# along with QWeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||||
#
|
#
|
||||||
|
|
||||||
#
|
|
||||||
# Remove or replace colors in WeeChat strings.
|
|
||||||
#
|
|
||||||
|
|
||||||
import re
|
import re
|
||||||
|
|
||||||
RE_COLOR_ATTRS = r'[*!/_|]*'
|
RE_COLOR_ATTRS = r'[*!/_|]*'
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
#!/usr/bin/python
|
#!/usr/bin/python
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
#
|
#
|
||||||
|
# protocol.py - decode binary messages received from WeeChat/relay
|
||||||
|
#
|
||||||
# Copyright (C) 2011-2013 Sebastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2011-2013 Sebastien Helleu <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# This file is part of QWeeChat, a Qt remote GUI for WeeChat.
|
# This file is part of QWeeChat, a Qt remote GUI for WeeChat.
|
||||||
@ -20,10 +22,8 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
#
|
#
|
||||||
# Decode binary messages received from WeeChat/relay.
|
# For info about protocol and format of messages, please read document
|
||||||
#
|
# "WeeChat Relay Protocol", available at: http://www.weechat.org/doc/
|
||||||
# For info about protocol and format of messages, please read document "WeeChat Relay Protocol",
|
|
||||||
# available at: http://www.weechat.org/doc/
|
|
||||||
#
|
#
|
||||||
# History:
|
# History:
|
||||||
#
|
#
|
||||||
|
Loading…
Reference in New Issue
Block a user