1. 11 Oct, 2013 1 commit
  2. 19 Jun, 2013 2 commits
    • Natanael Copa's avatar
      print: move progress bar update logic to apk_print_progress · adc5b0b1
      Natanael Copa authored
      - let the apk_print functions deal with the forced print itself. We
        avoid that the callbacks need to deal with the force flag. We can
        also get rid of the APK_PRINT_PROGRESS_* defines.
      
      - let the reader of --progress-fd decide how often things are updated
        rather than having a fixed granularity off 1/100 (percent)
      
      - avoid detect screen size and percent/bar calculations in case the
        --no-progress was given
      
      - track satistics for both the ascii bar and percent info and update bar
        only if either percent or bar changes. This makes the bar go smoother
        when width is wider than 100 chars and it makes the percent counter
        go smooth when screen width is less thann 100 chars. It also
        simplifies the callbacks as they no longer need to deal with update
        granularity.
      adc5b0b1
    • Natanael Copa's avatar
      print: percent arg for process_fd is integer · 0e9d67ae
      Natanael Copa authored
      With commit 0a131418 the percent
      variable became an integer instead of size_t. We fix the format
      modifier accordingly.
      0e9d67ae
  3. 17 Jun, 2013 2 commits
  4. 13 Jun, 2013 1 commit
    • Timo Teräs's avatar
      errors: rewrite the logic how errors are reported · e51232e7
      Timo Teräs authored
      Instead of the dependency oriented logic, switch to print them
      for each package or name needed. Might give a bit more readable
      errors now. There's still few corner cases that proper error is
      not output, which are cought by the test cases.
      e51232e7
  5. 10 Feb, 2012 1 commit
  6. 13 Sep, 2011 1 commit
  7. 09 Sep, 2011 1 commit
  8. 22 Jul, 2011 1 commit
  9. 14 Dec, 2010 1 commit
  10. 09 Dec, 2010 1 commit
  11. 11 Jun, 2010 2 commits