Permalink
Commits on Dec 18, 2011
  1. fix minor memory leaks

    committed Dec 18, 2011
Commits on Dec 13, 2011
  1. split task_download function

    Separate the check for the package in the repos into a separate
    preempting function, and leave the real logic of downloading in a new
    function called simply 'download'. This lets us resolve dependencies as
    the full depstring rather than after being stripped.
    
    Closes GH#31.
    committed Dec 13, 2011
Commits on Dec 12, 2011
  1. refactor locking (yet again)

    - confine locking to alpm_provides_pkg
    - create a global lock for the target list
    committed Dec 12, 2011
Commits on Dec 4, 2011
Commits on Nov 30, 2011
Commits on Nov 29, 2011
  1. create VALDUPE macro to avoid strndup calls

    we already know the size, so avoid the underlying calls to find the null
    byte.
    committed Nov 29, 2011
Commits on Nov 25, 2011
  1. simplify queryresult dereferencing with intermediate ptr

    And fix what I meant to in c1c36f6 for --brief output.
    committed Nov 25, 2011
  2. always show the real name of the package downloaded

    Downloading 'COWER' will now properly show as 'cower'.
    committed Nov 25, 2011
Commits on Nov 12, 2011
  1. don't check database integrity

    *gasp*
    
    No, just go fuck yourself gpg.
    committed Nov 12, 2011
Commits on Nov 4, 2011
  1. add resultcount to parser struct

    Currently unused, but will be grabbed from the JSON in AUR 2.0.
    committed Nov 4, 2011
Commits on Oct 21, 2011
  1. remove unnecessary quoting

    committed Oct 21, 2011
Commits on Oct 19, 2011
Commits on Oct 14, 2011
  1. use strncmp in KEY_IS macro

    We don't know the length of both strings here. Avoid running off the end
    of the comparator by bailing on the end of the c-string.
    committed Oct 14, 2011
Commits on Oct 13, 2011
Commits on Oct 12, 2011
  1. Merge branch 'master' into pacman4

    * master:
      [[ -o optname ]] is for `set' not `shopt'
    committed Oct 12, 2011
  2. Merge pull request #28 from lolilolicon/master

    bash_completion messing with my shopts, not cool
    committed Oct 12, 2011
Commits on Oct 8, 2011
Commits on Oct 3, 2011
Commits on Oct 2, 2011
  1. alter strtrim to return length of trimmed string

    Throw in a few optimizations to avoid directly calling strlen, and
    return a useful value (since the string is altered in place). This lets
    us skip a few other strlen calls elsewhere.
    committed Oct 2, 2011
Commits on Sep 30, 2011
Commits on Sep 27, 2011
  1. declare "void" for parameter-less function bodies

    style cleanup 5 of 5
    committed Sep 27, 2011
  2. use datatype in sizeof() calls

    style cleanup 4 of 5
    committed Sep 26, 2011
  3. remove space between control statement and condition

    e.g. if(condition) {} rather than if (condition) {}
    
    style cleanup 3 of 5
    committed Sep 26, 2011
  4. use tabs instead of spaces

    style cleanup 2 of 5
    committed Sep 26, 2011
  5. change bracing style

    style cleanup 1 of 5
    committed Sep 26, 2011
  6. cleanup yajl callbacks

    This is mostly just churn, but it makes things a bit more readable and a
    little less repetitious. There's also conceivably some minor performance
    gains, as we steal the length of each json map key and store it for
    usage later on with mem* functions rather than str* functions.
    committed Sep 26, 2011