docs update
This commit is contained in:
parent
e28e625b42
commit
f2ec40e8e3
5 changed files with 40 additions and 4 deletions
28
README.md
28
README.md
|
@ -1 +1,27 @@
|
|||
# toxygen
|
||||
# Toxygen
|
||||
Toxygen is simple Tox client written on pure Python 2.7
|
||||
### [How to install](/docs/install.md)
|
||||
|
||||
# Supported OS:
|
||||
- Windows
|
||||
- Linux
|
||||
###Features
|
||||
|
||||
- [x] 1v1 messages
|
||||
- [x] Contact aliases
|
||||
- [x] Chat history
|
||||
- [x] Name lookups (TOX DNS 4 support)
|
||||
- [x] Profile import/export
|
||||
- [x] Message splitting
|
||||
- [x] Proxy support
|
||||
- [ ] File transfers
|
||||
- [ ] Avatars
|
||||
- [ ] Multiprofile
|
||||
- [ ] Multilingual
|
||||
|
||||
###Downloads
|
||||
[Download last stable version](https://github.com/xveduk/toxygen/archive/master.zip)
|
||||
|
||||
###Docs
|
||||
[Check /docs/ for more info](/docs/)
|
||||
|
||||
|
|
BIN
docs/doxygen_docs_v_0_1_1.zip
Normal file
BIN
docs/doxygen_docs_v_0_1_1.zip
Normal file
Binary file not shown.
10
docs/install.md
Normal file
10
docs/install.md
Normal file
|
@ -0,0 +1,10 @@
|
|||
# HOW TO INSTALL TOXYGEN:
|
||||
|
||||
1. [Install Python 2.7 in your system](https://wiki.python.org/moin/BeginnersGuide/Download)
|
||||
2. [Install PySide](https://pypi.python.org/pypi/PySide/1.2.4) *(PyQt4 support will be added later)*
|
||||
3. [Download toxygen](https://github.com/xveduk/toxygen/archive/master.zip)
|
||||
4. Unpack archive and run src/main.py
|
||||
|
||||
# Supported OS:
|
||||
- Windows
|
||||
- Linux
|
|
@ -242,7 +242,7 @@ class NetworkSettings(CenteredWidget):
|
|||
old_data = str(settings['ipv6_enabled']) + str(settings['udp_enabled']) + str(bool(settings['proxy_type']))
|
||||
new_data = str(self.ipv.isChecked()) + str(self.udp.isChecked()) + str(self.proxy.isChecked())
|
||||
changed = old_data != new_data
|
||||
if self.proxy.isChecked() and (self.proxyip.text() != settings['proxy_host'] or self.proxyport.text() != settings['proxy_port']):
|
||||
if self.proxy.isChecked() and (self.proxyip.text() != settings['proxy_host'] or self.proxyport.text() != unicode(settings['proxy_port'])):
|
||||
changed = True
|
||||
if changed:
|
||||
settings['ipv6_enabled'] = self.ipv.isChecked()
|
||||
|
|
|
@ -456,7 +456,7 @@ class Profile(Contact, Singleton):
|
|||
"""
|
||||
while len(message) > TOX_MAX_MESSAGE_LENGTH:
|
||||
size = TOX_MAX_MESSAGE_LENGTH * 4 / 5
|
||||
last_part = message[size:]
|
||||
last_part = message[size:TOX_MAX_MESSAGE_LENGTH]
|
||||
if ' ' in last_part:
|
||||
index = last_part.index(' ')
|
||||
elif ',' in last_part:
|
||||
|
@ -465,7 +465,7 @@ class Profile(Contact, Singleton):
|
|||
index = last_part.index('.')
|
||||
else:
|
||||
index = TOX_MAX_MESSAGE_LENGTH - size
|
||||
index += size
|
||||
index += size + 1
|
||||
self._tox.friend_send_message(number, message_type, message[:index])
|
||||
message = message[index:]
|
||||
self._tox.friend_send_message(number, message_type, message)
|
||||
|
|
Loading…
Reference in a new issue