Commits on Oct 7, 2011
Commits on Oct 6, 2011
  1. Add support for byzanz-record as cast command

    Untested example: ffcast -s byzanz-record -- cast.gif -l
    committed Oct 6, 2011
Commits on Oct 5, 2011
  1. xrectsel: don't grab keyboard

    This seems nothing necessary, but a behaviour copied from scrot.
    By not grabbing the keyboard, xrectsel works more like xwininfo.
    This also gives the user a chance to prepare/clean up while xrectsel
    waits for a selection.
    committed Oct 5, 2011
  2. Don't actually do region selection while getopts

    Insead, save the actions as they're specified, and do it later in that order
    after parsing geospec.  This has two advantages:
     - We can die early when an invalid geospec is given- don't even bother
       interactive selection.
     - The error message on detecting invalid root dimensions will now respect
       verbosity.  In fact, this is a good reason not to run anything before
    committed Oct 5, 2011
  3. Add support for recordMyDesktop as cast command

    Working example: ffcast -vvw recordmydesktop -- -o cast.ogv
    committed Oct 5, 2011
  4. Add support for potential alternative cast command

    It's easy enough to add support for screencasting tools other than FFmpeg.
    An obvious example is the avconv command from libav, but almost anything
    will work.  This is possible thanks to KISS, especially the stupid bit.
    Also, we don't split the command line before getopts.  That was dumb.
    committed Oct 5, 2011
  5. Don't use 'declare -i' when it's unsafe

    'declare -i' can introduce subtle bugs, for example:
      $ declare -i x; a=a; x=a
      bash: a: expression recursion level exceeded (error token is "a")
    Note the assignment 'x=a' triggers arithmetic evaluation. Similarly,
    (( expression )) can introduce such bugs if used carelessly:
      $ a=a; (( a ))
      bash: ((: a: expression recursion level exceeded (error token is "a")
    Realize this, and always sanitize a variable before evaluation.
    committed Oct 5, 2011
Commits on Oct 4, 2011
  1. Prevent (( 0 )) from triggering error

    This is of course due to 'set -e'.
    Also some other small fixes.
    committed Oct 4, 2011
  2. Add "Get the Source" section

    ..and another stupid Q&A
    committed Oct 4, 2011
Commits on Oct 3, 2011
  1. Don't use -Werror

    Fix warnings on variables being used uninitialized.
    Remove -Werror so we compilation don't fail due to trivial warnings.
    xrectsel.c is for now just a quick hack, so...
    committed Oct 3, 2011
  2. Remove two spaces

    committed Oct 3, 2011
  3. Add example of the simplest form

    This is the real starter and default.
    committed Oct 3, 2011
  4. By default, fullscreen is selected

    We already did that; here's adding the help message.
    committed Oct 3, 2011
  5. Add -p option- print geometry only

    The output of -p option is in the format of wxh+x+y -- a valid geospec
    reusable by ffcast.
    committed Oct 3, 2011
  6. Fix return value not being 0

    Quoting bash(1):
    return [n]
      Causes a function to exit with the return value specified by n.
      If n is omitted, the return status is that of the last command
      executed in the function body.
    committed Oct 3, 2011
  7. Add version 0.3 to xrectsel.c comments

    Since ffcast.bash says "requires xrectsel 0.3", so be it.
    committed Oct 3, 2011
  8. Add "Design" section to README

    It all started from the the hypothetical syntax...
    committed Oct 3, 2011