Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Add windows build #313

Closed

Commits on Oct 6, 2020

  1. README.md: Recommend --disable-Werror for non-dev builds

    Signed-off-by: Ismael Luceno <ismael@iodev.co.uk>
    ismaell authored and Jason23347 committed Oct 6, 2020
    Configuration menu
    Copy the full SHA
    8be9ec4 View commit details
    Browse the repository at this point in the history
  2. po:zh_CN: Fix typos and warnings

    WhiredPlanck authored and Jason23347 committed Oct 6, 2020
    Configuration menu
    Copy the full SHA
    ce65fcd View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    09545b4 View commit details
    Browse the repository at this point in the history
  4. http: Fix duplicated non-default port when using proxy

    [ismael@iodev.co.uk: edit commit message]
    wtywtykk authored and Jason23347 committed Oct 6, 2020
    Configuration menu
    Copy the full SHA
    55b55d3 View commit details
    Browse the repository at this point in the history
  5. http: Fix request range comparison and overflow

    The issue wasn't completely corrected by commit
    ec63c39
    ("Fix usage of conn->lastbyte, off by one")
    
    [ismael@iodev.co.uk: merged commits and edited message]
    Closes: axel-download-accelerator#322
    Fixes: ec63c39
           ("Fix usage of conn->lastbyte, off by one")
    Fixes: 06fa69f
           ("Fix HTTP request-ranges to be zero-based")
    wtywtykk authored and Jason23347 committed Oct 6, 2020
    Configuration menu
    Copy the full SHA
    217737e View commit details
    Browse the repository at this point in the history
  6. travis-ci: Ignore failures on Mac OS X

    I can't properly support it at the moment.
    ismaell authored and Jason23347 committed Oct 6, 2020
    Configuration menu
    Copy the full SHA
    e107b7d View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    8f092af View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    0984301 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    2ad1ab7 View commit details
    Browse the repository at this point in the history
  10. travis-ci: Split script steps

    Run autoreconf, configure script and make in separate steps
    ismaell authored and Jason23347 committed Oct 6, 2020
    Configuration menu
    Copy the full SHA
    e98163d View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    e3d8248 View commit details
    Browse the repository at this point in the history
  12. configure: Fix indentation

    ismaell authored and Jason23347 committed Oct 6, 2020
    Configuration menu
    Copy the full SHA
    e80f376 View commit details
    Browse the repository at this point in the history
  13. configure: Make --with-ssl take a path

    This eases using a custom installation path.
    
    Closes: axel-download-accelerator#325
    Signed-off-by: Ismael Luceno <ismael@iodev.co.uk>
    ismaell authored and Jason23347 committed Oct 6, 2020
    Configuration menu
    Copy the full SHA
    cfd56e7 View commit details
    Browse the repository at this point in the history
  14. configure: Define _WIN32_WINNT when compiling with MinGW

    Request NT 6 API to expose AI_ADDRCONFIG in WinSock2.
    
    Ref: axel-download-accelerator#313
    Signed-off-by: Ismael Luceno <ismael@iodev.co.uk>
    ismaell authored and Jason23347 committed Oct 6, 2020
    Configuration menu
    Copy the full SHA
    d56ed56 View commit details
    Browse the repository at this point in the history

Commits on Dec 28, 2020

  1. travis-ci: Ignore failures on Mac OS X

    I can't properly support it at the moment.
    ismaell authored and Jason23347 committed Dec 28, 2020
    Configuration menu
    Copy the full SHA
    3e29da7 View commit details
    Browse the repository at this point in the history
  2. travis-ci: Add Ubuntu Bionic and Focal

    ismaell authored and Jason23347 committed Dec 28, 2020
    Configuration menu
    Copy the full SHA
    30fd2c1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6a4fc43 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    5b9a95f View commit details
    Browse the repository at this point in the history
  5. configure: Fix MinGW detection

    Fixes: bd8b313
           ("configure: Define _WIN32_WINNT when compiling with MinGW")
    Ref: axel-download-accelerator#313
    Signed-off-by: Ismael Luceno <ismael@iodev.co.uk>
    ismaell authored and Jason23347 committed Dec 28, 2020
    Configuration menu
    Copy the full SHA
    fa89ef9 View commit details
    Browse the repository at this point in the history
  6. travis-ci: Fix Ubuntu release handling

    Fixes: f6b1ac0 ("travis-ci: Add Ubuntu Bionic and Focal")
    Signed-off-by: Ismael Luceno <ismael@iodev.co.uk>
    ismaell authored and Jason23347 committed Dec 28, 2020
    Configuration menu
    Copy the full SHA
    cd7028a View commit details
    Browse the repository at this point in the history
  7. travis-ci: Make travis take the SSL-enabled build first

    Signed-off-by: Ismael Luceno <ismael@iodev.co.uk>
    ismaell authored and Jason23347 committed Dec 28, 2020
    Configuration menu
    Copy the full SHA
    ceef27a View commit details
    Browse the repository at this point in the history
  8. configure: Use AS_CASE for OS fixups

    ismaell authored and Jason23347 committed Dec 28, 2020
    Configuration menu
    Copy the full SHA
    322d59b View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    e0d2590 View commit details
    Browse the repository at this point in the history
  10. configure: Add AXEL_CHECK_MACRO

    To detect the presence/absence of macros and enum values in system headers.
    
    Signed-off-by: Ismael Luceno <ismael@iodev.co.uk>
    ismaell authored and Jason23347 committed Dec 28, 2020
    Configuration menu
    Copy the full SHA
    c27308a View commit details
    Browse the repository at this point in the history
  11. configure: Check for O_NONBLOCK

    The macro is missing on MinGW, so check for it. Later a replacement should
    be added.
    
    Signed-off-by: Ismael Luceno <ismael@iodev.co.uk>
    ismaell authored and Jason23347 committed Dec 28, 2020
    Configuration menu
    Copy the full SHA
    e70bc8e View commit details
    Browse the repository at this point in the history
  12. configure: Move OS test before C compiler test

    Enables conditional testing of header files based on the OS.
    
    Signed-off-by: Ismael Luceno <ismael@iodev.co.uk>
    ismaell authored and Jason23347 committed Dec 28, 2020
    Configuration menu
    Copy the full SHA
    4dea87f View commit details
    Browse the repository at this point in the history
  13. configure: Add check for mode_t

    Signed-off-by: Ismael Luceno <ismael@iodev.co.uk>
    ismaell authored and Jason23347 committed Dec 28, 2020
    Configuration menu
    Copy the full SHA
    7835bd9 View commit details
    Browse the repository at this point in the history
  14. Make the stop signal handler portable

    Signed-off-by: Ismael Luceno <ismael@iodev.co.uk>
    ismaell authored and Jason23347 committed Dec 28, 2020
    Configuration menu
    Copy the full SHA
    9cc332b View commit details
    Browse the repository at this point in the history
  15. configure: Use AC_LANG_PROGRAM in AXEL_CHECK_MACRO

    Fixes: e51c66c ("configure: Add AXEL_CHECK_MACRO")
    Signed-off-by: Ismael Luceno <ismael@iodev.co.uk>
    ismaell authored and Jason23347 committed Dec 28, 2020
    Configuration menu
    Copy the full SHA
    622a91b View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    464efbb View commit details
    Browse the repository at this point in the history
  17. configure: Request optional 8/16/32/64 bit ints

    Signed-off-by: Ismael Luceno <ismael@iodev.co.uk>
    ismaell authored and Jason23347 committed Dec 28, 2020
    Configuration menu
    Copy the full SHA
    7c66f3d View commit details
    Browse the repository at this point in the history
  18. configure: Add a type check and replacement mechanism

    AXEL_DEFAULT_TYPE provides a typedef-based replacement mechanism, instead
    of the define-based one used by autoconf. It relies on HAVE_type macros
    to be defined.
    
    AXEL_CHECK_TYPE enables us to test a type provided by the system against
    our requirements; and defines HAVE_type macros.
    
    Signed-off-by: Ismael Luceno <ismael@iodev.co.uk>
    ismaell authored and Jason23347 committed Dec 28, 2020
    Configuration menu
    Copy the full SHA
    adb6ced View commit details
    Browse the repository at this point in the history
  19. configure: Ensure off_t is 64 bits

    We do a check over the system type and in case the system doesn't provide
    off_t we define it to a 64 bits type.
    
    Signed-off-by: Ismael Luceno <ismael@iodev.co.uk>
    ismaell authored and Jason23347 committed Dec 28, 2020
    Configuration menu
    Copy the full SHA
    9e5e594 View commit details
    Browse the repository at this point in the history
  20. configure: Test early for large file support

    Signed-off-by: Ismael Luceno <ismael@iodev.co.uk>
    ismaell authored and Jason23347 committed Dec 28, 2020
    Configuration menu
    Copy the full SHA
    4f0712d View commit details
    Browse the repository at this point in the history
  21. http: Fix potential null pointer dereference

    Signed-off-by: Ismael Luceno <ismael@iodev.co.uk>
    ismaell authored and Jason23347 committed Dec 28, 2020
    Configuration menu
    Copy the full SHA
    8f4b7e2 View commit details
    Browse the repository at this point in the history
  22. http: Only send Range header if required

    Signed-off-by: Ismael Luceno <ismael@iodev.co.uk>
    ismaell authored and Jason23347 committed Dec 28, 2020
    Configuration menu
    Copy the full SHA
    31e138d View commit details
    Browse the repository at this point in the history
  23. http: Add "Accept-Encoding" header

    Signed-off-by: Ismael Luceno <ismael@iodev.co.uk>
    ismaell authored and Jason23347 committed Dec 28, 2020
    Configuration menu
    Copy the full SHA
    b1e411a View commit details
    Browse the repository at this point in the history
  24. axel: Optimize the search of wildcards in URL

    Signed-off-by: Ismael Luceno <ismael@iodev.co.uk>
    ismaell authored and Jason23347 committed Dec 28, 2020
    Configuration menu
    Copy the full SHA
    128110b View commit details
    Browse the repository at this point in the history
  25. axel: Report human-readable file size

    Use the routine available at text.c to present the size in human-readable
    units.
    
    Closes: axel-download-accelerator#326
    Signed-off-by: Ismael Luceno <ismael@iodev.co.uk>
    ismaell authored and Jason23347 committed Dec 28, 2020
    Configuration menu
    Copy the full SHA
    f0df8ec View commit details
    Browse the repository at this point in the history
  26. http: Simplify proxy setup

    Signed-off-by: Ismael Luceno <ismael@iodev.co.uk>
    ismaell authored and Jason23347 committed Dec 28, 2020
    Configuration menu
    Copy the full SHA
    f4b9559 View commit details
    Browse the repository at this point in the history
  27. http: Restore the Range header in requests

    It's required to determine if there's support for ranged requests.
    
    Fixes: 51f8144 ("http: Only send Range header if required")
    Signed-off-by: Ismael Luceno <ismael@iodev.co.uk>
    ismaell authored and Jason23347 committed Dec 28, 2020
    Configuration menu
    Copy the full SHA
    a81db24 View commit details
    Browse the repository at this point in the history
  28. conn: Document HTTP error codes

    Signed-off-by: Ismael Luceno <ismael@iodev.co.uk>
    ismaell authored and Jason23347 committed Dec 28, 2020
    Configuration menu
    Copy the full SHA
    9e33b96 View commit details
    Browse the repository at this point in the history
  29. conn: Rework request Range support check

    Mark the connection as not supporting right away on codes 200 and 416,
    and take Content-Length whenever possible (improves reporting).
    
    Signed-off-by: Ismael Luceno <ismael@iodev.co.uk>
    ismaell authored and Jason23347 committed Dec 28, 2020
    Configuration menu
    Copy the full SHA
    d815407 View commit details
    Browse the repository at this point in the history
  30. http: Replace sscanf with strtoll in http_size_from_range

    Signed-off-by: Ismael Luceno <ismael@iodev.co.uk>
    ismaell authored and Jason23347 committed Dec 28, 2020
    Configuration menu
    Copy the full SHA
    9cf78ce View commit details
    Browse the repository at this point in the history
  31. axel: Fix speed limiting, and use 64-bit sizes and offsets

    Reset delay_time only when it's too small for another subtraction,
    the original code wrongly cleared it when the speed is within spec.
    
    Variables used to overflow on 32-bit systems, use off_t instead, which
    should be 64 bits on systems supporting that.
    
    [ismael@iodev.co.uk: Improved commit message]
    Signed-off-by: Ismael Luceno <ismael@iodev.co.uk>
    wtywtykk authored and Jason23347 committed Dec 28, 2020
    Configuration menu
    Copy the full SHA
    e5a0be5 View commit details
    Browse the repository at this point in the history
  32. axel: Fix delay_time increment procedure

    It must carry to tv_sec when tv_nsec overflows, to avoid producing invalid
    values.
    
    Signed-off-by: Ismael Luceno <ismael@iodev.co.uk>
    ismaell authored and Jason23347 committed Dec 28, 2020
    Configuration menu
    Copy the full SHA
    c51bea8 View commit details
    Browse the repository at this point in the history
  33. po: Update Spanish translation

    Signed-off-by: Ismael Luceno <ismael@iodev.co.uk>
    ismaell authored and Jason23347 committed Dec 28, 2020
    Configuration menu
    Copy the full SHA
    5821547 View commit details
    Browse the repository at this point in the history
  34. po: Update German translation

    Signed-off-by: Ismael Luceno <ismael@iodev.co.uk>
    ismaell authored and Jason23347 committed Dec 28, 2020
    Configuration menu
    Copy the full SHA
    7cbe852 View commit details
    Browse the repository at this point in the history
  35. po: Update Brazilian Portuguese translation

    Signed-off-by: Ismael Luceno <ismael@iodev.co.uk>
    ismaell authored and Jason23347 committed Dec 28, 2020
    Configuration menu
    Copy the full SHA
    6fe518c View commit details
    Browse the repository at this point in the history
  36. po: Update Italian translation

    Includes some fixed to previously mistranslated strings.
    
    Signed-off-by: Ismael Luceno <ismael@iodev.co.uk>
    ismaell authored and Jason23347 committed Dec 28, 2020
    Configuration menu
    Copy the full SHA
    bda11a7 View commit details
    Browse the repository at this point in the history
  37. po: Update Japanese translation

    Updates changed strings. Blindly done as I don't speak Japanese.
    
    Signed-off-by: Ismael Luceno <ismael@iodev.co.uk>
    ismaell authored and Jason23347 committed Dec 28, 2020
    Configuration menu
    Copy the full SHA
    56b6096 View commit details
    Browse the repository at this point in the history
  38. po: Update Indonesian translation

    Done blindly because I don't speak the language.
    
    Signed-off-by: Ismael Luceno <ismael@iodev.co.uk>
    ismaell authored and Jason23347 committed Dec 28, 2020
    Configuration menu
    Copy the full SHA
    516925d View commit details
    Browse the repository at this point in the history
  39. po: Update Dutch translation

    Signed-off-by: Ismael Luceno <ismael@iodev.co.uk>
    ismaell authored and Jason23347 committed Dec 28, 2020
    Configuration menu
    Copy the full SHA
    35d35ef View commit details
    Browse the repository at this point in the history
  40. po: Update Russian translation

    Done blindly because I don't speak the language.
    
    Signed-off-by: Ismael Luceno <ismael@iodev.co.uk>
    ismaell authored and Jason23347 committed Dec 28, 2020
    Configuration menu
    Copy the full SHA
    18bb7b1 View commit details
    Browse the repository at this point in the history
  41. po: Update Simplified Chinese translation

    Done blindly as I don't speak the language.
    
    Signed-off-by: Ismael Luceno <ismael@iodev.co.uk>
    ismaell authored and Jason23347 committed Dec 28, 2020
    Configuration menu
    Copy the full SHA
    2053019 View commit details
    Browse the repository at this point in the history
  42. po: Update Copyright notices

    Signed-off-by: Ismael Luceno <ismael@iodev.co.uk>
    ismaell authored and Jason23347 committed Dec 28, 2020
    Configuration menu
    Copy the full SHA
    453a1b7 View commit details
    Browse the repository at this point in the history
  43. Remove AUTHORS and CREDITS

    Changes are already documented in the ChangeLog, and these files add no
    useful details.
    
    Signed-off-by: Ismael Luceno <ismael@iodev.co.uk>
    ismaell authored and Jason23347 committed Dec 28, 2020
    Configuration menu
    Copy the full SHA
    76b9c6a View commit details
    Browse the repository at this point in the history
  44. Update release check-list with top-level update-po

    Top Makefile provides an update-po target now to simplify the procedure.
    
    Signed-off-by: Ismael Luceno <ismael@iodev.co.uk>
    ismaell authored and Jason23347 committed Dec 28, 2020
    Configuration menu
    Copy the full SHA
    ed6d4e0 View commit details
    Browse the repository at this point in the history
  45. Update ChangeLog for version 2.17.10

    Signed-off-by: Ismael Luceno <ismael@iodev.co.uk>
    ismaell authored and Jason23347 committed Dec 28, 2020
    Configuration menu
    Copy the full SHA
    f5bac78 View commit details
    Browse the repository at this point in the history
  46. Version bump: 2.17.10

    Signed-off-by: Ismael Luceno <ismael@iodev.co.uk>
    ismaell authored and Jason23347 committed Dec 28, 2020
    Configuration menu
    Copy the full SHA
    b8db806 View commit details
    Browse the repository at this point in the history
  47. ftp: ftp_wait: Optimize message termination

    Signed-off-by: Ismael Luceno <ismael@iodev.co.uk>
    ismaell authored and Jason23347 committed Dec 28, 2020
    Configuration menu
    Copy the full SHA
    7925eb5 View commit details
    Browse the repository at this point in the history
  48. configure: Improve failures due to missing pkg-config

    Output a warning at the beginning, and fill PKG_CONFIG with "false" so
    that any auto-configuration attempts fail without bogus messages.
    
    Signed-off-by: Ismael Luceno <ismael@iodev.co.uk>
    ismaell authored and Jason23347 committed Dec 28, 2020
    Configuration menu
    Copy the full SHA
    a9f26f6 View commit details
    Browse the repository at this point in the history
  49. ftp: Fix duplicate variable j in ftp_wait

    Fixes: 454d387 ("ftp: ftp_wait: Optimize message termination")
    ismaell authored and Jason23347 committed Dec 28, 2020
    Configuration menu
    Copy the full SHA
    9f5a3d0 View commit details
    Browse the repository at this point in the history
  50. axel: Fix debug message for off_t changes

    Fixes: 9cedf8b ("axel: Fix speed limiting, and use 64-bit sizes and
    offsets")
    
    Signed-off-by: Ismael Luceno <ismael@iodev.co.uk>
    ismaell authored and Jason23347 committed Dec 28, 2020
    Configuration menu
    Copy the full SHA
    456c68e View commit details
    Browse the repository at this point in the history
  51. axel: Improve HTTP status code reporting

    Signed-off-by: Ismael Luceno <ismael@iodev.co.uk>
    ismaell authored and Jason23347 committed Dec 28, 2020
    Configuration menu
    Copy the full SHA
    d6eb595 View commit details
    Browse the repository at this point in the history
  52. Add compat-win32.h

    Signed-off-by: Jason <jason23347@gmail.com>
    Jason23347 committed Dec 28, 2020
    Configuration menu
    Copy the full SHA
    83acc47 View commit details
    Browse the repository at this point in the history
  53. configure: Fix MinGW detection

    Fixes: bd8b313
           ("configure: Define _WIN32_WINNT when compiling with MinGW")
    Ref: axel-download-accelerator#313
    Signed-off-by: Ismael Luceno <ismael@iodev.co.uk>
    ismaell authored and Jason23347 committed Dec 28, 2020
    Configuration menu
    Copy the full SHA
    ad1cd03 View commit details
    Browse the repository at this point in the history
  54. axel: Add startup and cleanup of WSA

    Signed-off-by: Jason <jason23347@gmail.com>
    Jason23347 committed Dec 28, 2020
    Configuration menu
    Copy the full SHA
    043bbb3 View commit details
    Browse the repository at this point in the history
  55. Reorganized headers for mingw build

    Signed-off-by: Jason <jason23347@gmail.com>
    Jason23347 committed Dec 28, 2020
    Configuration menu
    Copy the full SHA
    ed90a43 View commit details
    Browse the repository at this point in the history
  56. Add alternative implementations of some functions

    * functions modified: get_if_ip & get_term_width.
    
    Signed-off-by: Jason <jason23347@gmail.com>
    Jason23347 committed Dec 28, 2020
    Configuration menu
    Copy the full SHA
    b0a081b View commit details
    Browse the repository at this point in the history
  57. conn: Refactored statements in conn_setup.

    Using SOCK_ISINVALID instead of simply comparing of fd and 0, because
    SOCKET type in unix-like systems is int, but is unsigned in windows.
    
    Signed-off-by: Jason <jason23347@gmail.com>
    Jason23347 committed Dec 28, 2020
    Configuration menu
    Copy the full SHA
    e882bf6 View commit details
    Browse the repository at this point in the history
  58. tcp: Refactored defination and functions about socket.

    Signed-off-by: Jason <jason23347@gmail.com>
    Jason23347 committed Dec 28, 2020
    Configuration menu
    Copy the full SHA
    132f917 View commit details
    Browse the repository at this point in the history
  59. ssl: Change int type to SOCKET

    Signed-off-by: Jason <jason23347@gmail.com>
    Jason23347 committed Dec 28, 2020
    Configuration menu
    Copy the full SHA
    cc0f19d View commit details
    Browse the repository at this point in the history
  60. configure: Add configuration for mingw build

    Signed-off-by: Jason <jason23347@gmail.com>
    Jason23347 committed Dec 28, 2020
    Configuration menu
    Copy the full SHA
    2c8733b View commit details
    Browse the repository at this point in the history
  61. Change SET_SOCK_BLOCK into fcntl

    Signed-off-by: Jason <jason23347@gmail.com>
    Jason23347 committed Dec 28, 2020
    Configuration menu
    Copy the full SHA
    a3007e2 View commit details
    Browse the repository at this point in the history
  62. configure: Add CFLAGS for ssl

    Signed-off-by: Jason <jason23347@gmail.com>
    Jason23347 committed Dec 28, 2020
    Configuration menu
    Copy the full SHA
    c30e739 View commit details
    Browse the repository at this point in the history
  63. Configuration menu
    Copy the full SHA
    c6b6755 View commit details
    Browse the repository at this point in the history