Commit Graph

319 Commits

Author SHA1 Message Date
Jason Piper 9153edaba1 Merge branch 'master' of https://github.com/kennethreitz/clint 2014-10-11 23:25:56 +01:00
Jason Piper c4cf340284 More python 3 fixes 2014-10-11 23:25:18 +01:00
Jason Piper 137ba12a10 Merge pull request #124 from alunduil/include-docs-in-sdist
Include docs in sdist
2014-10-11 23:06:23 +01:00
Alex Brandt 29c1ea82ff Add the documentation to the sdist tarball.
Currently the documentation is not included in the sdist provided by
PyPi due to this missing Manifest line.
2014-10-07 10:54:03 -05:00
Alex Brandt 2982cefb91 Add an ignore for the _build subdirectories.
The build subdirectories are only used to house generated documentation
and typically shouldn't be committed.
2014-10-07 10:53:30 -05:00
Alex Brandt f2bcc93760 remove buildable artifacts from documentation
The _build directory contains documentation artifacts that should be
generated by a sphinx build and typically should not be committed.
2014-10-07 10:51:50 -05:00
Jason Piper 52e7cb8a7d Merge pull request #123 from lyndsysimon/python3
Fix syntax error prevent installation in Python 3.x
2014-09-13 09:42:28 +01:00
Lyndsy Simon 8ef067958d Fix syntax error prevent installation in Python 3.x
An exception handled in textui.prompt was being handled using the old-style
`except Exception, e:` syntax. I've updated this, but specifically have not
addressed the potential issue of catching a bare exception.
2014-09-12 13:24:50 -04:00
Jason Piper 6dbc68df5b Merge pull request #118 from thenovices/master
Display elapsed time when the progress bar is complete
2014-08-09 10:56:30 +01:00
Jason Piper 6aadd5ad8b Merge pull request #114 from aeby/master
Add a simple query system
2014-08-09 10:54:14 +01:00
Jason Piper 0aa2ea4b18 Merge pull request #116 from jta/master
Always dedent when leaving indent context manager.
2014-08-09 10:52:48 +01:00
Brandon Liu e93a6a5ee4 Update AUTHORS 2014-08-08 23:46:31 -04:00
Brandon Liu 6e32222d3c Display elapsed time when the progress bar is complete 2014-08-08 23:33:30 -04:00
João Taveira Araújo 7ee2ebfa7d Always dedent when leaving indent context manager. 2014-07-04 18:45:19 +01:00
Reto Aebersold b99f79c98e Add a simple query system
- Extend clint.textui.prompt with a query function.
- Add clint.textui.validators to validate the user input.
- Add a prompt example showing different usages.
- Update the README to demo the query function.
2014-05-08 17:18:10 -06:00
Jason Piper df7b9594a4 Merge pull request #113 from mccartney/master
Fixed 404 link to AUTHORS
2014-04-28 07:38:11 +01:00
Grzegorz Olędzki a00621ed59 Fixed link to AUTHORS 2014-04-25 09:59:35 +02:00
Grzegorz Olędzki cf4b06cf4e Fixed link to AUTHORS 2014-04-25 09:58:14 +02:00
Jason Piper 57955b9156 Pushing 0.3.7 to pypi v0.3.7 2014-04-17 16:05:53 +01:00
Jason Piper f1ab574413 Merge pull request #106 from joemiller/features/force_color
if env var CLINT_FORCE_COLOR is set, always output color codes
2014-03-23 10:36:55 +00:00
Jason Piper 2aff70618c Merge pull request #111 from jezdez/fix-yn
Fixed the prompt.yn function to work on Python3.
2014-03-23 10:36:04 +00:00
Jason Piper 4b7688b220 Merge pull request #110 from infamy/master
Fixed bold issue
2014-03-23 10:35:03 +00:00
Jannis Leidel 03731d6ef2 Fixed the prompt.yn function to work on Python3. 2014-03-23 11:31:59 +01:00
infamy 8a2aed6c32 Fixed bold issue
Bold would get "stuck" on in powershell/cmd prompt.
2014-03-19 22:19:51 -07:00
joe miller 98cab56e97 if env var CLINT_FORCE_COLOR is set, always output color codes even if stdout is not a tty 2014-03-14 16:58:06 +00:00
Jason Piper 13df32316f 0.3.5 v0.3.5 2014-03-14 11:35:35 +00:00
Jason Piper 93c3f9a4e1 Merge pull request #105 from gazpachoking/colored_bytes
ColoredString doesn't attempt to decode explicitly given bytes in python 2
2014-03-14 11:27:31 +00:00
Jason Piper 9f14dbb6c5 Merge pull request #103 from jric/master
Ability to update progress bar in non-linear fashion.
2014-03-14 11:26:30 +00:00
Chase Sterling 0e0284f967 ColoredString doesn't attempt to decode explicitly given bytes in python 2 2014-02-27 23:47:59 -05:00
Joshua Richardson c5dbe0708e Extended .gitignore. 2014-02-21 11:26:11 -08:00
Joshua Richardson 00b522510c Don't need to call show(0), since that's done automatically in the
__init__() function.
2014-02-11 20:49:17 -08:00
Joshua Richardson 4b98c46519 Remove commented-out implementation. 2014-02-11 20:28:06 -08:00
Joshua Richardson e62f5657a5 Added ability to "update" the progress bar without iterating over
every value.
2014-02-11 20:25:15 -08:00
Jason Piper 8e17e8ce50 Merge pull request #102 from daveFNbuck/buck_fix_mills
Fixes progress.mill display when every is greater than 1
2014-02-06 09:34:49 +00:00
Dave Buchfuhrer 84dafbeabe Clears the mill when complete 2014-02-05 22:01:56 -08:00
Dave Buchfuhrer 5305d1e116 Properly updates mill characters when every isn't equal to 1 mod 4 2014-02-05 22:01:46 -08:00
Jason Piper 73b1bdd2d4 0.3.4 2014-01-28 23:17:46 +00:00
Jason Piper 7bde48ce53 0.3.4 2014-01-28 23:14:37 +00:00
Jason Piper a0e14e4181 Fix for Python 3 basestring deprecation 2014-01-28 23:10:41 +00:00
Jason Piper de2cbfca90 Add self as a maintainer 2014-01-13 14:17:52 +00:00
Jason Piper c909d7dca0 Fix examples and pull request instructions 2014-01-13 14:17:52 +00:00
Jason Piper 6220552ebf Merge pull request #99 from haqthat/patch-1
fix unicode.py import error
2014-01-10 15:02:07 -08:00
haqthat a9623213e3 fix args.py import error
args.sh fails 

Traceback (most recent call last):
  File "unicode.py", line 14, in <module>
    from clint import args
ImportError: cannot import name args
2014-01-10 14:29:18 -05:00
Jason Piper 77eab0c0e6 Fix broken example 2014-01-10 17:45:05 +00:00
Jason Piper 3d01b405b3 Fix broken example 2014-01-10 16:20:44 +00:00
Jason Piper 6c50b92cb3 Python 2.5 and 3.2 support added a long time ago 2014-01-10 11:21:08 +00:00
Jason Piper e00476d195 optimisations for schunk and tsplit 2014-01-10 11:20:43 +00:00
Jason Piper fc463f16c3 0.3.3 v0.3.3 2014-01-09 23:45:19 +00:00
Jason Piper 9324af95b2 Fixed README and HISTORY being installed to /usr 2014-01-09 22:52:08 +00:00
Jason Piper 50294ea2dc Merge pull request #95 from saimn/patch-1
Use print() function to fix install on python 3
2014-01-09 12:25:27 -08:00