Commit graph

2413 commits

Author SHA1 Message Date
Pablo Lezaeta Reyes
e06f67cafb Merge branch 'master' of http://github.com/erkin/ponysay 2015-04-14 02:24:11 -03:00
Pablo Lezaeta Reyes
bcf671cdab There is a OpenSuSe rpm
Signed-off-by: Pablo Lezaeta Reyes <prflr88@gmail.com>
2015-04-14 02:13:41 -03:00
Pablo Lezaeta Reyes
ecae695d52 There is a OpenSuSe rpm
Signed-off-by: Pablo Lezaeta Reyes <prflr88@gmail.com>
2015-04-14 02:12:09 -03:00
Jiachen Yang
18a18ca22b add fullwidth CJK chars 2015-04-13 01:42:33 +09:00
Jiachen Yang
02c3a69cf1 try to fix cjk char width 2015-04-13 01:05:57 +09:00
Pablo Lezaeta Reyes
170e3a323a Try fix hight
Signed-off-by: Pablo Lezaeta Reyes <prflr88@gmail.com>
2015-04-06 01:16:07 -03:00
Pablo Lezaeta Reyes
4edfeca666 Try fix hight
Signed-off-by: Pablo Lezaeta Reyes <prflr88@gmail.com>
2015-04-06 01:09:10 -03:00
Pablo Lezaeta Reyes
8f89a436b9 Update Hystory-List, it really need this
Signed-off-by: Pablo Lezaeta Reyes <prflr88@gmail.com>
2015-04-06 00:44:14 -03:00
Pablo Lezaeta Reyes
f8df768572 Rebuild the PDF
Signed-off-by: Pablo Lezaeta Reyes <prflr88@gmail.com>
2015-04-05 23:48:34 -03:00
Pablo Lezaeta Reyes
df147cd13d Added Starlight Grimmer from S05E01 and some quotes
Signed-off-by: Pablo Lezaeta Reyes <prflr88@gmail.com>
2015-04-05 23:47:26 -03:00
Mattias Andrée
b611aa4943 fix for zsh
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-04-04 12:53:11 +02:00
Mattias Andrée
5cd37c81b7 fix #219
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-04-03 23:03:49 +02:00
Pablo Roberto Francisco Lezaeta Reyes
2095244c65 Used «dev/dist.sh remaster» and «dev/dist.sh ttyponies» also added turned to bigmac
Signed-off-by: Pablo Roberto Francisco Lezaeta Reyes <prflr88@gmail.com>
2014-12-30 22:58:35 -03:00
Mattias Andrée
06b24cf75c fix issue 212
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-12-24 07:54:05 +01:00
Mattias Andrée
93f481c8a3 spellocorrector: I think I've missed a port to make this funkyness work properly so lets downgrade the optimisation a bit 2014-10-08 04:30:01 +02:00
Pablo Lezaeta
20b3cac03e Added Goldie Delicious (Relative of Pinkie and AJ)"
Signed-off-by: Pablo Lezaeta <prflr88@gmail.com>
2014-09-13 00:41:56 -03:00
Pablo Lezaeta
fb1fbc1a18 Added Coco Pommel
Signed-off-by: Pablo Lezaeta <prflr88@gmail.com>
2014-09-09 15:40:12 -03:00
Mattias Andrée [mˈa.tːiː.ˌas ˈanː.drˌeː]
9e555ff3e0 Merge pull request #210 from Feuermurmel/setup
Fix for #209 and assorted enhancements.
2014-09-09 02:15:51 +00:00
Pablo Lezaeta
320a67b26b Update Changelog to reflect the improvenments resently done, thanks
Signed-off-by: Pablo Lezaeta <prflr88@gmail.com>
2014-09-08 20:19:08 -03:00
Michael Schwarz
6658221bbf setup.py: Do not print the configuration when an unknown command was given so that the printed usage is better noticed. 2014-09-08 21:52:19 +02:00
Michael Schwarz
e5c650349b setup.py: checkFreedom() should not need to check whether commands have been given on the command line. 2014-09-08 21:52:19 +02:00
Michael Schwarz
4415291c0c setup.py: Removed command variants of --help and --version.
The code path to handle these was confusing, as was their usage as the usage referred only to the commands while some error messages only referred to the options.
2014-09-08 21:52:17 +02:00
Michael Schwarz
25682cdfe9 setup.py: Added function to print fatal errors. 2014-09-08 21:51:30 +02:00
Michael Schwarz
8cc55723de setup.py: Print error message and usage when no or multiple commands are given on the command line. 2014-09-08 21:51:26 +02:00
Michael Schwarz
b9e9f00503 setup.py: Moved docstrings into the associated functions. 2014-09-07 19:34:20 +02:00
Mattias Andrée [mˈa.tːiː.ˌas ˈanː.drˌeː]
6a6fcbfe3f Merge pull request #206 from Feuermurmel/bugfixes
Fixing stuff I broke.
2014-08-30 14:42:38 +00:00
Michael Schwarz
8861e0bb0e lists.onelist(): Instead of passing multiple, possibly empty lists, build the list of directories to search before calling the method. 2014-08-30 12:44:29 +02:00
Michael Schwarz
5125dd6400 Fixed TypeError when running ponysay --altlist.
Traceback (most recent call last):
	  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/runpy.py", line 170, in _run_module_as_main
		 "__main__", mod_spec)
	  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/runpy.py", line 85, in _run_code
		 exec(code, run_globals)
	  File "./venv/bin/ponysay/__main__.py", line 154, in <module>
	  File "./venv/bin/ponysay/ponysay.py", line 252, in run
	  File "./venv/bin/ponysay/ponysay.py", line 753, in linklist
	  File "./venv/bin/ponysay/lists.py", line 143, in linklist
	  File "./venv/bin/ponysay/lists.py", line 104, in _get_file_list
	TypeError: listdir: illegal type for path parameter

This bug was introduced in this commit:

	list.py: Extracted duplicate code for listing files in a directory into a utility function.
2014-08-30 12:44:28 +02:00
Michael Schwarz
cc9a4f4324 Fixed TypeError when running ponysay --onelist.
Traceback (most recent call last):
	  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/runpy.py", line 170, in _run_module_as_main
		 "__main__", mod_spec)
	  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/runpy.py", line 85, in _run_code
		 exec(code, run_globals)
	  File "venv/bin/ponysay/__main__.py", line 154, in <module>
	  File "venv/bin/ponysay/ponysay.py", line 248, in run
	  File "venv/bin/ponysay/ponysay.py", line 765, in onelist
	  File "venv/bin/ponysay/lists.py", line 210, in onelist
	  File "venv/bin/ponysay/lists.py", line 210, in <listcomp>
	  File "venv/bin/ponysay/lists.py", line 104, in _get_file_list
	TypeError: listdir: illegal type for path parameter

This bug was introduced in this commit:

	list.py: Extracted duplicate code for listing files in a directory into a utility function.

I fixed the problem by removing the requirement for lists.onelist() to accept None for directory lists that should not be searched.
2014-08-30 12:44:09 +02:00
Mattias Andrée [mˈa.tːiː.ˌas ˈanː.drˌeː]
c077f08259 Merge pull request #205 from Feuermurmel/list-fix
Refactoring in the lists module and fix of #198
2014-08-29 20:12:10 +00:00
Mattias Andrée [mˈa.tːiː.ˌas ˈanː.drˌeː]
88bc3c8ce1 Merge pull request #204 from Feuermurmel/list-refactor
Moved methods of class List to module level
2014-08-29 20:00:31 +00:00
Michael Schwarz
d57060a675 lists.py: Rewritten list formatting code.
- Split up into functions for distributing the items into columns and actual formatting and printing of the columns.
- Fixes printing when console is narrower than the longest name.
2014-08-29 21:35:58 +02:00
Michael Schwarz
c71a8a0a67 list.py: Extracted duplicate code for listing files in a directory into a utility function. 2014-08-29 21:35:58 +02:00
Michael Schwarz
63b852068d list.py: Removed unnecessary calls to gettermsize(). 2014-08-29 21:35:58 +02:00
Michael Schwarz
7767a7d9c1 list.py: Renamed list module to lists to avoid conflict with builtin. 2014-08-29 21:30:42 +02:00
Michael Schwarz
69461d20fc list.py: Moved static functions to module level. 2014-08-29 21:30:34 +02:00
Michael Schwarz
5e87dadc02 list.py: Removed unused import. 2014-08-29 21:27:50 +02:00
Mattias Andrée [mˈa.tːiː.ˌas ˈanː.drˌeː]
72f4fd7647 Merge pull request #202 from Feuermurmel/class-methods
Convert some methods of class Ponysay to class methods.
2014-08-27 19:50:57 +00:00
Mattias Andrée [mˈa.tːiː.ˌas ˈanː.drˌeː]
c9a635f344 Merge pull request #203 from Feuermurmel/setup
Automatically collect a list of Python source files to add to the distribution.
2014-08-27 19:46:47 +00:00
Michael Schwarz
b2e597fdc2 ponysay.py: Converted methods which are never called on an instances to class methods. 2014-08-26 23:35:31 +02:00
Michael Schwarz
4bdb42cf8e setup.py: Automatically collect a list of source files to distribute.
This will help with refactoring, where source files may be added and/or moved.
2014-08-26 23:33:28 +02:00
Michael Schwarz
45b53d6eb0 argument parsing: Fixed code path for parsing --colour-pony accessing an undefined variable. 2014-08-24 18:34:29 +02:00
Pablo Lezaeta
57c9775e29 Added Grace Manewitz
Signed-off-by: Pablo Lezaeta <prflr88@gmail.com>
2014-08-23 23:46:15 -04:00
Pablo Lezaeta
f9fa2636e8 Added symlink for rarity dad name
Signed-off-by: Pablo Lezaeta <prflr88@gmail.com>
2014-08-23 23:19:21 -04:00
Pablo Lezaeta
38ec1f56c0 Symlink for rarity mom name
Signed-off-by: Pablo Lezaeta <prflr88@gmail.com>
2014-08-23 23:12:23 -04:00
Pablo Lezaeta
733ffff0e1 Fix infopage for real
Signed-off-by: Pablo Lezaeta <prflr88@gmail.com>
2014-08-20 02:14:12 -04:00
Pablo Lezaeta
aeeb41db7f Fix infopage
Signed-off-by: Pablo Lezaeta <prflr88@gmail.com>
2014-08-20 02:12:40 -04:00
Pablo Lezaeta
bf3c1f8efa Added AuntOrange and move Orange to UncleOrange
Signed-off-by: Pablo Lezaeta <prflr88@gmail.com>
2014-08-20 01:22:06 -04:00
Pablo Lezaeta
712942bc55 Post release changes
Signed-off-by: Pablo Lezaeta <prflr88@gmail.com>
2014-08-19 19:46:31 -04:00
Pablo Lezaeta
f6e523c421 Concistency with all the other OS and added the alternate name too
Signed-off-by: Pablo Lezaeta <prflr88@gmail.com>
2014-08-18 16:58:56 -04:00