Permalink
Commits on May 18, 2012
Commits on May 17, 2012
  1. Make a directory of sample_addons.

    These were additions suggested via email. I figured I'd use them first as
    committed May 17, 2012
  2. Slightly less offensive sanity check than before.

    I severely detest my previous usage of a variable to shorten the length
    of the line to satisfy PEP8. Using an intermediate boolean is just as
    offensive and not as obvious to some, so breaking it in half it is.
    committed May 17, 2012
Commits on May 16, 2012
  1. Fix get_config and prioritize_todo.

    If someone specifies both a config file and a todo directory, it's
    likely they are not in the same directory. The old way of updating the
    default values would overwrite the custom config file. Changing the
    order should fix this.
    
    In prioritize_todo, if someone only provided './todo.py pri 1' without a
    priority, the script will crash. Shortening args to a allows us to stay
    within pep8 standards of 80 characters per line or less. And changing
    the priority to an upper case will prevent errors when someone uses a
    lowercase priority. We should be smarter than that.
    
    Thanks to Matt Stave for pointing these out.
    committed May 16, 2012
Commits on May 12, 2012
  1. Simplify a couple lines.

    committed May 12, 2012
Commits on May 3, 2012
  1. In case of future bug reports, get more info in -V.

    Just so debugging can occur, I figure it will be nice to know which
    python (CPython, Jython, iPython, PyPy) I'm using and which version of
    it. The system isn't so important.
    committed May 3, 2012
Commits on Apr 25, 2012
  1. Automatically generate help output.

    Closes issue #19. Still need to add a test for the @usage decorator re: issue
    committed Apr 25, 2012
Commits on Apr 22, 2012
  1. Last of @usage decorators.

    Trying to think of an intelligent way of alphabetizing the commands and
    ignoring duplicates.
    committed Apr 22, 2012
  2. More PEP 257 and @usage clean-up.

    After I get the last couple functions with @usage, I'll use the commands
    dictionary to generate the help dynamically. Something along the lines
    of
    
    cmds = commands.keys()
    cmds.sort()
    for c in cmds:
        print(commands[c][-1].__usage__)
    committed Apr 22, 2012
Commits on Apr 21, 2012
Commits on Apr 13, 2012
Commits on Apr 12, 2012
  1. First working example of @usage decorator.

    Issue #19. There aren't any tests for this so, I'll just skip Travis. I'll have
    to add tests for the @usage decorator. Also, need a way to make the decorator
    available to add-ons.
    committed Apr 12, 2012
Commits on Mar 13, 2012
  1. Refactor get_config a bit. PEP8 compliance.

    It makes more sense to use a generator for get_config to avoid indenting the
    code so much.
    
    There was also some PEP8 compliance I was missing, so I change some variable
    names to shorten some lines and joined one or two others. No big deal.
    committed Mar 13, 2012
Commits on Mar 12, 2012
  1. Add license information to README.

    [ci skip]
    committed Mar 12, 2012
Commits on Mar 10, 2012
  1. Let's see if this fixes Travis' errors.

    For some reason the environment variables still aren't being set properly in
    Travis CI's virtual machines. It hasn't caused any issues for me but if it
    happens in even one place, it's worth trying to figure out.
    committed Mar 10, 2012
Commits on Mar 9, 2012
  1. Debug Travis.

    The tests are passing, but there is still a bizarre error.
    committed Mar 9, 2012
  2. Make default_config() more intelligent.

    [ci skip]
    committed Mar 9, 2012
  3. USE_GIT=1 will cause it to hang.

    This isn't what was causing the problems before with Travis though.
    committed Mar 9, 2012
  4. Let's see if this still hangs Travis.

    Changed the config settings and told travis to install GitPython. Might as well,
    right?
    committed Mar 9, 2012
  5. Update .travis.yml

    committed Mar 9, 2012
Commits on Mar 8, 2012
  1. No need for that dictionary anymore.

    I knew there had to be a better way of doing all of that. Just had to distribute
    the xor's into the correct places.
    
    Issue #18.
    committed Mar 8, 2012
Commits on Mar 7, 2012
  1. Change version back.

    [ci skip]
    committed Mar 7, 2012
  2. Merge branch 'development'. Bump version.

    Version 0.2.2
    committed Mar 7, 2012
  3. Simplify xor notation and improve performance.

    Without having to import 'xor' from 'operation', we save time by using the
    default notation (which I should have checked first) for xor's (^).
    committed Mar 7, 2012