Commit graph

2321 commits

Author SHA1 Message Date
Mattias Andrée
5f6d97338c fix setup
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-09-14 20:23:17 +02:00
Pablo Lezaeta Reyes [pˈaβ̞lo lˌe̞θaˈeta rˈejɛ]
e0a2db3247 Merge pull request #225 from tdsmith/fix-shell-completion-install-paths
fix shell completion install paths

Signed-by: tdsmith
Signed-by: jristz
2015-09-13 23:12:13 -03:00
Tim D. Smith
44fb0f8582 fix shell completion install paths
If the string "ponysay" was in the install prefix, it was replaced by the name of
the command, and the prefix should not change.

Fixes #223.
2015-09-13 11:19:01 -07:00
Mattias Andrée
21395edbb4 update lightweight-ponies
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-07-08 17:26:47 +02:00
Pablo Lezaeta Reyes
c4fc895c45 Added magic olor
Signed-off-by: Pablo Lezaeta Reyes <prflr88@gmail.com>
2015-06-06 01:49:32 -03:00
Pablo Lezaeta Reyes
0d9efd9ebf Added 2 yakut ponies
Signed-off-by: Pablo Lezaeta Reyes <prflr88@gmail.com>
2015-05-16 02:03:51 -03:00
Pablo Lezaeta Reyes
c5093863f8 Try to keep CHANGELOG and texinfo changelog on match
Signed-off-by: Pablo Lezaeta Reyes <prflr88@gmail.com>
2015-05-15 20:40:12 -03:00
Pablo Lezaeta Reyes
90d3f0411f More alt names...
Signed-off-by: Pablo Lezaeta Reyes <prflr88@gmail.com>
2015-05-11 18:51:21 -03:00
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