Commit graph

134 commits

Author SHA1 Message Date
Mattias Andrée
fd2ee9fe35 exit values are used if help is automatically printed 2012-10-22 15:04:49 +02:00
Mattias Andrée
b160350c0d help un solely unrecognised options 2012-10-22 14:58:55 +02:00
Mattias Andrée
f6eae560b1 -q works as -f + added --f, --F and --q which are varidic variants of -f, -F and -q, respectivly + warn if -q is used with -f and -F but allow (but still warn if used) -q -f 2012-10-22 14:40:20 +02:00
Mattias Andrée
de0813f523 automatic pony name and balloon style name spelling correction 2012-10-22 13:17:42 +02:00
Mattias Andrée
10b55d4def doc typo 2012-10-22 12:26:17 +02:00
Mattias Andrée
45c3d2a1aa m 2012-10-22 12:25:01 +02:00
Mattias Andrée
5aa773ef93 m doc 2012-10-12 18:47:19 +02:00
Mattias Andrée
9cd7e26542 document code 2012-10-12 16:46:27 +02:00
Mattias Andrée
d62f6d495e more detailed method documentation 2012-10-12 12:11:24 +02:00
Mattias Andrée
e74b16297e colouring is fully functional 2012-10-12 02:59:43 +02:00
Mattias Andrée
dc38ab4e6d colour options are almost fully functional, inplace balloons are problematic 2012-10-12 01:56:08 +02:00
Mattias Andrée
bf619ffa24 printing just the pony 2012-10-11 23:35:51 +02:00
Mattias Andrée
f214a9f59b terminal capatily emulation fix 2012-10-11 23:24:40 +02:00
Mattias Andrée
43959ae2c5 Merge branch 'master' into develop 2012-10-11 23:09:44 +02:00
Mattias Andrée
6892c51ba6 fix for -V, -K and -X, and beginning of --pony-only 2012-10-11 23:09:14 +02:00
Mattias Andrée
024ca3965e add --symall and --altall as alternatives to +A + m manual fix + -X, -V, -K options 2012-10-11 22:29:26 +02:00
Mattias Andrée
9eb038542d $name=value$ in .pony files support bug fix 2012-10-10 20:51:48 +02:00
Mattias Andrée
e600c3cb47 m + ensure that change stuff always has proper permissions 2012-10-08 18:58:24 +02:00
Mattias Andrée
5c736f63ae syntax fix 2012-10-08 18:22:13 +02:00
Mattias Andrée
1096f2c86e spelling correction mechanism with weigthed character change 2012-10-04 22:11:33 +02:00
Mattias Andrée
e6bdf2e5ba word wrapping bug fixed + word wrapper supports soft hythens and non-breaking space + word wrapper colour inserted hyphens red 2012-10-04 04:46:55 +02:00
Mattias Andrée
1ca607912a cleaner code 2012-09-30 02:55:48 +02:00
Mattias Andrée
19609f75b2 documenting the code 2012-09-30 02:33:58 +02:00
Mattias Andrée
9919d3e228 doc derp 2012-09-30 01:13:21 +02:00
Mattias Andrée
0cd697f946 documenting the code 2012-09-30 01:11:50 +02:00
Mattias Andrée
59247bf6e9 use with instead of try ... finally 2012-09-30 00:53:16 +02:00
Mattias Andrée
04aae4a3aa rename file ponysay to ponysay.py 2012-09-29 22:55:59 +02:00
Mattias Andrée
639452aa16 cleanup 2012-08-20 02:22:12 +02:00
Mattias Andrée
1e0b26af59 message wrapper (could be written nicer) 2012-08-20 02:12:13 +02:00
Mattias Andrée
515b4d149e just wrapping needed 2012-08-20 00:48:59 +02:00
Mattias Andrée
b36f6d5527 work on balloon 2012-08-20 00:28:01 +02:00
Mattias Andrée
7f1e5535b3 misc 2012-08-19 23:56:18 +02:00
Mattias Andrée
ee4f95db90 truncation + m 2012-08-19 22:47:14 +02:00
Mattias Andrée
3704d1a2fa can print the pony with link and other variables 2012-08-19 22:12:28 +02:00
Mattias Andrée
f4f11c9067 author text fix and moving patcher to bottom of list 2012-08-19 20:07:19 +02:00
Mattias Andrée
6dc632a155 stable 2012-08-19 19:50:58 +02:00
Mattias Andrée
ab6f498c9f better (yes this is weird) 2012-08-19 19:49:06 +02:00
Mattias Andrée
24eb3cbcf6 display help if no arguments and not piped 2012-08-19 19:41:16 +02:00
Mattias Andrée
5dde586850 kms fix (however not working because of some bug in util-say) 2012-08-19 19:36:00 +02:00
Mattias Andrée
c4b5146873 help message complete 2012-08-19 19:10:33 +02:00
Mattias Andrée
7686726b12 help message 2012-08-19 19:05:13 +02:00
Mattias Andrée
80044cd05c bug fixes + a better fitting argument parse (--help is not implemented yet) 2012-08-19 18:02:05 +02:00
Mattias Andrée
eac35c124a .png files in -f if util-say is installed 2012-08-19 04:55:38 +02:00
Mattias Andrée
23f071aa2e m doc 2012-08-18 21:21:34 +02:00
Mattias Andrée
3d7768e2ef make fix + m 2012-08-18 21:05:45 +02:00
Mattias Andrée
f41a0244c6 typo 2012-08-18 20:38:48 +02:00
Mattias Andrée
f367346ad8 Merge branch 'python' of github.com:erkin/ponysay into python 2012-08-18 20:36:18 +02:00
Mattias Andrée
496b980a38 kms ponies 2012-08-18 20:36:05 +02:00
Elis Axelsson
62a3d88d58 Check if script is being launched in subshell or being redirected to file, and make -l to --onelist. This more or less depricates '--onelist' as flag 2012-08-18 20:10:46 +02:00
Mattias Andrée
fec01d4646 height trunction 2012-08-18 19:55:00 +02:00
Mattias Andrée
ee3c5532b8 m 2012-08-18 19:27:59 +02:00
Mattias Andrée
e8864eb219 further improving quote fallback (you change may fallback quote ☹) 2012-08-18 19:06:38 +02:00
Mattias Andrée
4e84c65197 merge conf resolve 2012-08-18 19:00:38 +02:00
Mattias Andrée
de1f27a73a cowsay replacement env vars + can get terminal if stdin is piped in 2012-08-18 18:56:44 +02:00
Elis Axelsson
2301f094ad Fallback quote for ponies without quotes 2012-08-18 18:54:04 +02:00
Elis Axelsson
3bb5a68d7f Drop newline at end of file of ponyquotes 2012-08-18 18:47:02 +02:00
Mattias Andrée
88baa565a0 ponyquotes support 2012-08-18 18:24:00 +02:00
Mattias Andrée
57ceac45a4 Message can now contain ':s 2012-08-18 17:59:53 +02:00
Mattias Andrée
1dc737fb8b m misc 2012-08-18 17:57:50 +02:00
Mattias Andrée
6e754c5509 wrap support 2012-08-18 17:52:25 +02:00
Mattias Andrée
5ff733fdda doc 2012-08-18 17:42:36 +02:00
Mattias Andrée
2ff4e42e19 m 2012-08-18 17:39:29 +02:00
Mattias Andrée
e598badd9b m 2012-08-18 17:36:12 +02:00
Mattias Andrée
4bcf9d72ac Merge branch 'python' of github.com:erkin/ponysay into python 2012-08-18 17:34:23 +02:00
Mattias Andrée
9eee469cf6 setting erkin as copyright holder, as specified in the copying file, and listing all contributors of ponysay(.sh) and ponysay.py in alphabetical order 2012-08-18 17:34:10 +02:00
Elis Axelsson
d870bf7a65 Support for ponythink 2012-08-18 17:22:22 +02:00
Mattias Andrée
2e4e6474a5 m 2012-08-18 17:14:00 +02:00
Mattias Andrée
1ea6043b1d whops 2012-08-18 17:09:52 +02:00
Mattias Andrée
e27f83da41 merge conflict resolve 2012-08-18 17:05:13 +02:00
Elis Axelsson
f16a89ffff Avoid 'empty range for randrage()' 2012-08-18 17:05:26 +02:00
Mattias Andrée
10268235a9 home dirs before sys dirs for priority + moving a method 2012-08-18 17:03:30 +02:00
Elis Axelsson
e4fb245e36 Fix stuff. 2012-08-18 17:02:03 +02:00
Mattias Andrée
0925635f44 merge conflict resolved 2012-08-18 16:57:13 +02:00
Mattias Andrée
fd099535cf are there any ponies 2012-08-18 16:55:57 +02:00
Elis Axelsson
b46c13a16e Merge 2012-08-18 16:51:43 +02:00
Elis Axelsson
3a65390937 Created method to get which ponyfile you should render, includes randomizing and looking for files. 2012-08-18 16:46:38 +02:00
Mattias Andrée
f9663c7b1b forgot to commit python script 2012-08-18 16:43:22 +02:00
Mattias Andrée
c4f07a8b00 support quotes in ~/.local/share/ponysay/quotes (new feature) 2012-08-18 16:20:49 +02:00
Mattias Andrée
3100f4b32a -L is now implemented 2012-08-18 16:08:24 +02:00
Mattias Andrée
73d477ce1b m + a method for getting all quotes 2012-08-18 15:10:49 +02:00
Mattias Andrée
feeaa47ad8 bold outpont in --list on ponies with quotes 2012-08-18 15:02:34 +02:00
Mattias Andrée
f14e7b6c06 m 2012-08-18 14:29:57 +02:00
Mattias Andrée
ab986563ec no need for curses, the use of it also caused some problem in the terminal when the program exited + pony dirs that do no exist are ignored + -l does not print .pony and is fixed 2012-08-18 14:26:53 +02:00
Elis Axelsson
93c58dd5c3 POC of ponysay.py, this refs #64 2012-08-18 13:15:12 +02:00