Denis Laxalde
0bf4b2a21a
Fix left column padding in timeline with wide characters
...
When the left column contains wide characters (which occupy more than
one cell when printed to screen), padding to 30-characters with
"{:30}".format() does not work well. This happens for instance when the
display name contains unicode characters such as emojis.
We fix this by introducing a pad() function in utils module which uses
the wcwidth library (https://pypi.org/project/wcwidth/ ) to compute the
length of the text for the column. trunc() function is also adjusted to
optionally compute the length of the text to be truncated since, when
called from pad(), we now pre-compute this value.
We update test for timeline rendering so that the display name now
includes an emoji. (Without the fix, the test would not pass as left
column would be misaligned.)
2019-02-14 14:21:53 +01:00
Ivan Habunek
7bcf868469
Minor additions to setup.py
...
* more classifiers
* project URLs
2019-02-13 13:14:05 +01:00
Ivan Habunek
f88de49438
Add Makefile to package
...
issue #91
2019-02-13 13:08:47 +01:00
Kyle Sunden
17623fbad1
MAINT: Prevent install in unsupported python
...
Prevents issues like #76
2019-01-11 11:25:07 -06:00
Ivan Habunek
3ac8e59dec
Bump version
2019-01-02 12:51:49 +01:00
Ivan Habunek
5871916f8e
Bump version
2018-06-27 16:33:00 +02:00
Ivan Habunek
41e6ce6257
Bump version, add changelog
2018-06-12 12:22:37 +02:00
Ivan Habunek
18e28531fd
Bump version
2018-01-15 23:18:13 +01:00
Ivan Habunek
ddd4326f7e
Add toot.ui package to setup.py
...
fixes #41
2018-01-15 22:59:07 +01:00
Ivan Habunek
27df352519
Bump version
2018-01-15 13:36:40 +01:00
Ivan Habunek
e28417d088
Bump version
2018-01-02 10:53:09 +01:00
Ivan Habunek
08e4705a9c
Bump version
2017-12-30 17:55:45 +01:00
Ivan Habunek
9787954a32
Bump version
2017-12-30 16:44:29 +01:00
Ivan Habunek
5c0a797b66
Don't put the README into long_description
...
formatting of the RST is flaky on pypi and looks bad in the debian
package description.
2017-12-29 12:10:40 +01:00
Ivan Habunek
8d2cdd5288
Fix license in setup.py
2017-12-29 11:31:21 +01:00
Ivan Habunek
1b86cdd404
Drop support for Python 2
...
It's hard to maintain both versions, having unicode issues in py2, etc.
2017-12-29 11:31:21 +01:00
Ivan Habunek
05de52ce80
Bump version
2017-12-12 11:12:59 +01:00
Ivan Habunek
46a2a6e8ca
Bump version
2017-09-09 09:58:26 +02:00
Ivan Habunek
9097623535
Bump version, update readme and changelog
2017-09-07 15:01:04 +02:00
Ivan Habunek
f2d1072f19
Fix for building debian pkgs
2017-09-03 00:00:04 +02:00
Ivan Habunek
0ed906268c
Add debian packaging
2017-08-26 15:56:41 +02:00
Ivan Habunek
3b13c49142
Bump version
2017-08-26 14:42:10 +02:00
Ivan Habunek
65da61b8b6
Bump version
2017-05-08 09:17:42 +02:00
Ivan Habunek
beb4b744d7
Change license to GPLv3
2017-05-08 09:17:32 +02:00
Ivan Habunek
edf657ba5b
Bump version
2017-05-07 10:44:24 +02:00
Ivan Habunek
a57cb5d251
Bump version
2017-04-26 11:51:49 +02:00
Ivan Habunek
0c4a5f3aaf
Move requirements to requirements.txt
2017-04-26 11:16:22 +02:00
Ivan Habunek
acda7cbb94
Don't use ~= operator for defining dependancies
...
It's not supported in older versions of pip and causes problems.
issue #8
issue #10
2017-04-26 11:07:43 +02:00
Ivan Habunek
44983ff95e
Bump version
2017-04-24 09:39:31 +02:00
Ivan Habunek
a0f1bff0dd
Bump version
2017-04-21 20:27:54 +02:00
Ivan Habunek
cec7165530
Bump version
2017-04-19 14:51:30 +02:00
Ivan Habunek
c603142046
Bump version
2017-04-18 17:16:41 +02:00
Ivan Habunek
c3bafd56d8
Bump version
2017-04-17 10:21:53 +02:00
Ivan Habunek
e234598f2b
Bump version
2017-04-16 17:16:03 +02:00
Ivan Habunek
86f4e1beac
Drop support for Python 2.6
2017-04-15 14:55:27 +02:00
Ivan Habunek
66453a84d2
Bump version
2017-04-15 12:41:33 +02:00
Ivan Habunek
5f85d0847e
Bump version to 0.3.0
2017-04-13 13:53:37 +02:00
Ivan Habunek
5297430483
Add a simple timeline command
2017-04-13 13:16:28 +02:00
Ivan Habunek
61a12d31ba
Bump version
2017-04-13 10:05:45 +02:00
Ivan Habunek
c9ece59482
Fix requirements
2017-04-13 10:04:38 +02:00
Ivan Habunek
a2386b105f
Bump version
2017-04-12 17:13:37 +02:00
Ivan Habunek
a365147a19
Add missing dependancy
2017-04-12 17:02:27 +02:00
Ivan Habunek
40a0739227
Initial commit
2017-04-12 16:43:30 +02:00