Permalink
Commits on Sep 26, 2016
  1. Merge pull request #262 from Robo210/develop

    Add advanced settings for active torrent limits
    vktr committed on GitHub Sep 26, 2016
Commits on Sep 24, 2016
  1. Add advanced settings for active torrent limits

    Add libtorrent settings active_downloads, active_seeds, active_limit,
    and dont_count_slow_torrents to the advanced dialog and config.
    Addresses issue #260.
    Robo210 committed Sep 24, 2016
Commits on Sep 22, 2016
  1. Merge pull request #261 from Robo210/develop

    Fix incorrect property name used to locate seed time in the options.
    vktr committed on GitHub Sep 22, 2016
  2. Fix incorrect property name used to locate seed time in the options.

    Issue #227
    Robo210 committed Sep 22, 2016
Commits on Sep 12, 2016
  1. Merge pull request #259 from Robo210/develop

    Use URLForDirectory to locate the data dir on OS X
    vktr committed on GitHub Sep 12, 2016
Commits on Sep 10, 2016
  1. Merge branch 'develop' of https://github.com/hadouken/hadouken into d…

    …evelop
    Kyle committed Sep 10, 2016
  2. Use URLForDirectory to locate the data dir on OS X

    Use the platform functions to locate the appropriate
    data directory rather than the HOME env variable.
    
    This necessitates switching platform_osx from C++ to Obj-C++.
    Doing so should make it easier to call other platform-specific
    functions and bring it up to speed with the Windows version in the
    future.
    Kyle committed Sep 10, 2016
Commits on Jun 26, 2016
  1. Merge pull request #251 from hadouken/startup

    Make service startup report failures to SCM
    Robo210 committed on GitHub Jun 26, 2016
Commits on Jun 19, 2016
  1. Make function lists static

    Kyle Sabo committed Jun 19, 2016
  2. Cleanup platform_win32

    - Replace TCHAR with WCHAR, as Hadouken will not run on Windows 9x.
    - Fix incorrect sizeof() usage with ARRAYSIZE.
    - Replace ATL string conversion functions with plain Win32.
    - Replace SHGetFolderPath with SHGetKnownFolderPath per deprecation
      guidance on MSDN.
    - Avoid unnecessary copies by passing parameters to launch_process by
      reference.
    Kyle Sabo committed Jun 18, 2016
  3. Fix command line options so they aren't added twice

    Also fix code path through read_impl that does not return a value.
    Kyle Sabo committed Jun 18, 2016
Commits on Mar 29, 2016
  1. Merge pull request #216 from ellisgeek/develop

    Print available command-line options when passing -h or --help
    vktr committed Mar 29, 2016
Commits on Mar 5, 2016
  1. Merge remote-tracking branch 'upstream/develop' into develop

    Also update which command line options display on linux to not show --daemon untill it is implemented.
    ellisgeek committed Mar 5, 2016
Commits on Feb 14, 2016
  1. Make service startup report failures to SCM

    In cases like issue #212, the service can fail to start for reasons
    such as the configured port is already in use. Under the old service
    startup model this meant Hadouken would die and the SCM would
    eventually time out the start, reporting a generic failure message.
    
    With this change the SCM is contacted earlier in the startup process,
    before things really start running, putting the service in a pending
    state. Only after Hadouken starts listening for requests does the
    service move into the started state. If a failure happens during this
    process the service moves from pending to stopping and provides an
    error code to the SCM. In all cases the Hadouken service should no
    longer time out.
    Kyle Sabo committed Feb 14, 2016
Commits on Feb 8, 2016
  1. Merge pull request #225 from Robo210/startup

    Relaunch Hadouken as administrator when installing/uninstalling the service on Windows
    Robo210 committed Feb 8, 2016
  2. Relaunch the process as admin when modifying service

    When attempting to install or uninstall the service on Windows,
    if the current user does not have permission to do so relaunch
    the process with a different user account. When UAC is enabled
    this will prompt the user to run the command as administrator.
    Kyle Sabo committed Feb 8, 2016
  3. Print friendly error when given invalid parameter

    Kyle Sabo committed Feb 8, 2016
Commits on Feb 7, 2016
  1. Merge pull request #224 from Robo210/utf8

    Support non-ANSII file paths from plugins
    Robo210 committed Feb 7, 2016
  2. Use boost fstream functions for all duk file operations

    Part 2 of a fix for issue #183.
    Convert the remaining STL file operations into boost fstream
    operations so that the file paths can be properly converted
    from UTF-8 on Windows.
    Refactor the read/write functions into a single implementation
    to avoid code duplication.
    Use smart pointers to properly clean up in the case of failure.
    Kyle Sabo committed Feb 7, 2016
  3. Merge branch 'develop' into utf8

    Kyle Sabo committed Feb 7, 2016
  4. Merge branch 'develop' of https://github.com/hadouken/hadouken into d…

    …evelop
    Kyle Sabo committed Feb 7, 2016
Commits on Feb 5, 2016
  1. Merge pull request #223 from aindigo/develop

    merge of osx and *nix compilation
    vktr committed Feb 5, 2016
Commits on Feb 4, 2016
  1. Merge branch 'develop' of https://github.com/aindigo/hadouken into de…

    …velop
    aindigo committed Feb 4, 2016
  2. fix build script for travis

    aindigo committed Feb 4, 2016
  3. Keep after auto add

    Instead of deleting files after autoadd plugin has imported them, keep
    them for cases when the original .torrent files would just keep getting
    downloaded by an external process such as Ketarin or a directory sync.
    RyanGrange committed with aindigo Sep 16, 2015
  4. Fix to allow selecting the last item in the download directories list

    The idx value ranges from 0 to dirs.length, with an idx value greater than zero always corresponding to dirs[idx - 1], therefore the input check needs to support an input of dirs.length.
    
    Without this the program uses the default save path whenever the user selects the last save path in their list.
    tinamil committed with aindigo Sep 16, 2015
  5. Fix an off-by-1 error in the directory selection.

    The default directory is already idx 0, but the first of the optional download directories is indexed at 0 too, so if idx 1 is returned then the user selected dirs[0], not dirs[1].
    tinamil committed with aindigo Sep 15, 2015
  6. fix build script for travis

    aindigo committed Feb 4, 2016
Commits on Feb 2, 2016
  1. File paths need to convert to/from UTF-8 when going through Javascript

    Incomplete attempt to fix issue #183. Hadouken no longer crashes, and the
    torrent file makes it through libtorrent and Hadouken far enough for  the
    "torrent.add" callback to be made for it, but somewhere further in the code
    the torrent is being dropped.
    
    duk strings are expected to be UTF-8, but on Windows the file paths are UTF-16.
    This change uses boost to translate all paths to/from duk into UTF-8. It also
    uses boost's fstream implementation to open files because STL does not support
    UTF-16 strings.
    
    This change is incomplete; there are still uses of STL's fstream that will
    fail when presented with a path with non-English characters.
    Kyle Sabo committed Feb 2, 2016
Commits on Feb 1, 2016
  1. Merge pull request #222 from Robo210/develop

    Fix crash when adding an invalid torrent file
    Robo210 committed Feb 1, 2016
  2. Merge branch 'develop' of https://github.com/hadouken/hadouken into d…

    …evelop
    Kyle Sabo committed Feb 1, 2016
  3. Fix crash when adding an invalid torrent file

    Catch exception thrown by libtorrent due to an invalid torrent file.
    Fixes issue #206, but there are still many other places libtorrent may
    throw exceptions that remain uncaught.
    Kyle Sabo committed Feb 1, 2016