Permalink
Commits on Jan 12, 2011
  1. release 029

    committed Jan 12, 2011
  2. move output logic to one function

    This is in preparation for colored output.
    
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
    committed Jan 12, 2011
  3. add config.c

    This splits the config parsing logic out to a single file so we all
    don't have to go blind by accidentally looking at the horror that it
    imparts on our soul if we notice it.
    
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
    committed Jan 12, 2011
  4. create bti.h

    Moved the main data structure into there, this will let us
    (hopefully) start refactoring the code to be a bit more readable
    and maintainable over the long-run.
    
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
    committed Jan 12, 2011
  5. move verbose flag into the session structure

    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
    committed Jan 12, 2011
  6. Merge branch 'oauth-readme' of https://github.com/agimenez/bti into a…

    …gimenez-oauth-readme
    
    * 'oauth-readme' of https://github.com/agimenez/bti:
      Document how to configure OAuth.
    committed Jan 12, 2011
  7. Merge testing branch into master

    committed Jan 12, 2011
  8. Merge https://github.com/leif81/bti into main tree

    This fixes an issue with twitter queries for non-oauth portions
    of the api.
    committed Jan 12, 2011
  9. updated man pages generated from the docbook source

    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
    committed Jan 12, 2011
  10. Active --dry-run for OAuth.

    Guard the oauth_http_post/_get with an '!session->dry_run'
    conditional, and add a dbg() statement before.
    
    http://bugs.debian.org/608608
    
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
    gregoa committed with Jan 2, 2011
  11. Document the new --retweet feature in bti.xml and add it to bash comp…

    …letion.
    
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
    gregoa committed with Dec 17, 2010
  12. Add documentation for new shrink_host feature in bti-shrink-urls.

    Document the configuration of bti-shrink-urls in bti-shrink-urls.xml,
    bti.xml, and add a commented out example to bti.example.
    
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
    gregoa committed with Dec 17, 2010
Commits on Jan 9, 2011
  1. Document how to configure OAuth.

    Signed-off-by: L. Alberto Giménez <agimenez@sysvalve.es>
    agimenez committed Jan 9, 2011
Commits on Jan 4, 2011
Commits on Dec 17, 2010
  1. Support proper 'reply_to' and 'retweet'

    Signed-off-by: Dwi Sasongko S <ruckuus@gmail.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
    ruckuus committed with Nov 13, 2010
  2. Support shrinking with bit.ly and j.mp.

    To use bit.ly or j.mp you need to specify the host name in ~/.bti with
    shrink_host, your bit.ly login with shrink_bitly_login and your bit.ly key with
    shrink_bitly_key.  You can register at:
    
      http://bit.ly/a/sign_up
    
    If you already have an account, you can find your API key at:
    
      http://bit.ly/a/your_api_key
    umonkey committed with Oct 17, 2010
  3. Fixing Identi.ca's OAuth request_token URI

    Revision "a" of OAuth 1.0 mandates the presence of "oauth_callback"
    parameter.
    
    Usually libraries appends an "oob" (Out of Band) oauth_callback if you
    don't provide a valid callback url, and don't specify that you don't
    want "OAuth 1.0a".
    
    But apparently our library of choice for OAuth (liboauth) does not do
    this, though the code is in library but commented out.
    
    src/oauth.c:675-680 (as in HEAD, and 0.9.0 tarball):
    
    675 #if 0 // oauth_version 1.0 Rev A
    676   if (!oauth_param_exists(argv,argc,"oauth_callback")) {
    677     snprintf(oarg, 1024, "oauth_callback=oob");
    678     oauth_add_param_to_array(argcp, argvp, oarg);
    679   }
    680 #endif
    
    So for now, we have to add this to our request_token URI.
    amir committed with Nov 7, 2010
  4. Update my copyright date.

    amir committed with Sep 2, 2010
Commits on Sep 2, 2010
  1. release 028

    committed Sep 2, 2010
  2. Reduce the number of calls to fprintf.

    Thanks to Flameeyes for the original patch, just changed it a bit
    to work with the latest tree and to handle the version as a string.
    
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
    committed Sep 2, 2010
  3. Update my copyright date.

    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
    committed Sep 2, 2010
  4. Collapse more fprintf() calls.

    Flameeyes committed with Aug 27, 2010
  5. Split --background from --bash, and make the latter imply the former.

    This allows to use send-in-background without mangling the message's text.
    Flameeyes committed with Aug 27, 2010
  6. Typo fix.

    Flameeyes committed with Aug 27, 2010
  7. Use arrays rather than pointers for static strings.

    While this change does not do anything on most common systems, as
    executables are not PIC, it is very useful when dealing with Position
    Independent Executables (PIE) as used for instance by Gentoo Hardened.
    Flameeyes committed with Aug 27, 2010
Commits on Aug 31, 2010
  1. build system: use AC_SEARCH_LIBS rather than assuming -ldl is needed.

    On a number of operating systems, such as the *BSD, the dlopen() function
    is present in the standard C library, not in a separate libdl library.
    
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
    Flameeyes committed with Aug 27, 2010
  2. build system: use consistently pkg-config to check for dependencies

    Rather than rely on the old m4 macros for libxml2 and libcurl, which were
    also misused, always use PKG_CHECK_MODULES (also assuming a new enough
    version that calls AC_SUBST by itself), and fix the Makefile.am to use
    _CFLAGS properly as well.
    
    Signed-off-by: Diego Elio 'Flameeyes' Pettenò <flameeyes@gmail.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
    Flameeyes committed with Aug 27, 2010
Commits on Aug 18, 2010
  1. long line cleanups

    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
    committed Aug 18, 2010
  2. more formatting cleanups

    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
    committed Aug 18, 2010
  3. whitespace cleanups for bti.c

    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
    committed Aug 18, 2010
  4. new version of checkpatch.pl from 2.6.35-rc1 kernel

    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
    committed Aug 18, 2010
  5. Fixup typo in Makefile.am found by @applehq

    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
    committed Aug 18, 2010
  6. release 027

    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
    committed Aug 18, 2010