Permalink
Switch branches/tags
Nothing to show
Commits on May 9, 2012
  1. Fix parsing of constraints when a macro call is also present

    Kovensky committed May 9, 2012
    If an accept/deny entry had a macro call and other constraints, e.g.
    { macro: argument, constraint: value }, the macro evaluator would cause
    the additional constraints to be ignored. Changed to merge the result
    of the macro call (if it's merge-able) instead of merely returning.
Commits on Apr 28, 2012
  1. Fix config file reloading

    Kovensky committed Apr 28, 2012
    Reloading the config file didn't purge the previously loaded macros,
    so toosaka would error out on duplicate macro definitions.
Commits on Apr 27, 2012
Commits on Apr 25, 2012
Commits on Apr 22, 2012
  1. Convert ' ' in regexps to '[._ ]'

    Kovensky committed Apr 22, 2012
    Actually a feature that was supposed to be there but was forgotten.
    Only noticed when researching why regexps I expected to match didn't match.
Commits on Apr 20, 2012
  1. Improve progress bar

    Kovensky committed Apr 20, 2012
    Count the first and last characters (the 'limit' characters) as part of
    the progressbar. Removes the need for the 100% hack, improves behavior
    near the end of the file since the floor()'s error increases with progress.
  2. Remove already-downloaded files *after* applying accept/deny filters

    Kovensky committed Apr 20, 2012
    Prevents the tie breaking code from choosing a different, worse version
    of the same file. Will still allow downloading of better versions.
Commits on Apr 19, 2012
  1. Fix the "return as integer" case

    Kovensky committed Apr 19, 2012
    When 'humanize'ing speed, var will be fractional. We still don't care
    about fractional bytes though.
  2. Don't use %.2f for printing an integer value

    Kovensky committed Apr 19, 2012
    You can't have fractional bytes in here after all.
    
    If the argument to 'humanize' is below the threshold, it's never
    reduced, and thus it's still an integer. Return it (almost) as-is.
  3. Use IEC units for printing the size obtained from Latest-Files.html

    Kovensky committed Apr 19, 2012
    They *are* in IEC units after all, but using SI suffixes.
  4. Fix loading list of completed files

    Kovensky committed Apr 19, 2012
    The trailing '\n' was not being stripped from filenames, preventing
    the expected hash collisions from happening.
Commits on Apr 18, 2012
  1. Fix http_get_chunked's treatment of the nil'ness of resume

    Kovensky committed Apr 18, 2012
    http_get_chunked was supposed to *not* build a body in memory
    if the file is resumed, not to *only* build it in that case. Caused
    absurdly high memory usage when downloading large files, would have
    broken code that didn't use a block.
  2. Use a progress bar for file downloads

    Kovensky committed Apr 18, 2012
    Gives a more visual (duh) progress display, while giving extra information.
  3. Fix total length / progress calculation

    Kovensky committed Apr 18, 2012
    The Range header affects the response's Content-Length,
    so we must fix it back to full length when resuming.
  4. Fix resume

    Kovensky committed Apr 18, 2012
    Properly merge headers. The result of the non-destructive merge call
    was not being stored, and a destructive merge would have side-effects
    outside the function, so replace the argument with the result.
Commits on Apr 16, 2012
  1. Initial commit

    Kovensky committed Apr 16, 2012
    Actually based off the ttrss code, but since most of it got rewritten,
    I'm restarting history.