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

Port to android, build succeed with android-ndk-r8e on mac osx 10.9. #2

Open
wants to merge 70 commits into
base: master
Choose a base branch
from

Commits on Oct 25, 2013

  1. Configuration menu
    Copy the full SHA
    5745de4 View commit details
    Browse the repository at this point in the history

Commits on Apr 4, 2014

  1. remove libusbmuxd sources and adapt source tree to use autotools

    libusbmuxd has been split off and is now managed in a separate repository.
    By the time of this commit, the repository is:
    git clone http://git.sukimashita.com/libusbmuxd.git
    nikias authored and olunx committed Apr 4, 2014
    Configuration menu
    Copy the full SHA
    f646afc View commit details
    Browse the repository at this point in the history
  2. silence several compiler warnings

    nikias authored and olunx committed Apr 4, 2014
    Configuration menu
    Copy the full SHA
    5e0119b View commit details
    Browse the repository at this point in the history
  3. added missing usbmuxd-proto.h

    nikias authored and olunx committed Apr 4, 2014
    Configuration menu
    Copy the full SHA
    a98ed83 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a18d2c0 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    8e4762f View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    71943d1 View commit details
    Browse the repository at this point in the history
  7. Bump version to 1.0.9

    FunkyM authored and olunx committed Apr 4, 2014
    Configuration menu
    Copy the full SHA
    b9eb89e View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    04c4f39 View commit details
    Browse the repository at this point in the history
  9. preflight: Allow pre iOS 6 devices to become visible if pairing fails

    This allows any client to react and handle pairing errors which includes
    password protected devices and alike.
    FunkyM authored and olunx committed Apr 4, 2014
    Configuration menu
    Copy the full SHA
    6c793a8 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    1e6c601 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    dfe7c69 View commit details
    Browse the repository at this point in the history
  12. preflight: Trigger new trust dialog if user denied pairing before

    This changes allows to replug a device to trigger a new trust dialog if the
    user did deny the pairing before.
    FunkyM authored and olunx committed Apr 4, 2014
    Configuration menu
    Copy the full SHA
    15d74f7 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    1afac1e View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    7ec4491 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    f078c3d View commit details
    Browse the repository at this point in the history
  16. udev: lower rules numbering to make sure we start as early as possible

    To prevent the trust dialog from appearing on iOS7 devices we need to make
    sure that no PTP access is happening before usbmuxd starts. So we start as
    early as possible so the device will be in trusted host state.
    nikias authored and olunx committed Apr 4, 2014
    Configuration menu
    Copy the full SHA
    cbdc6af View commit details
    Browse the repository at this point in the history
  17. actually install udev rules file

    nikias authored and olunx committed Apr 4, 2014
    Configuration menu
    Copy the full SHA
    002bf23 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    c9ff0cb View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    11735d2 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    eef0495 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    110b5f3 View commit details
    Browse the repository at this point in the history
  22. preflight: plug small memory leak

    nikias authored and olunx committed Apr 4, 2014
    Configuration menu
    Copy the full SHA
    113be37 View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    6dcd070 View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    71928df View commit details
    Browse the repository at this point in the history
  25. udev: Set "deactivated" USB configuration on iOS devices by default

    With the introduction of iOS 7, devices should start of in the "deactivated"
    USB configuration "0" by default to not trigger a trust dialog.
    Once the devices are identified, usbmuxd will set the correct USB configuration
    itself and immediately run the preflight worker code to ensure a trust
    relationship with the host is established. This change fixes the trust dialog
    from appearing during hotplug of paired devices. The last remaining issue is
    that current kernel code still sets the USB configuration to "1" by default
    before the udev rules and thus causes multiple connection beeps.
    FunkyM authored and olunx committed Apr 4, 2014
    Configuration menu
    Copy the full SHA
    e017748 View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    f9aa386 View commit details
    Browse the repository at this point in the history
  27. preflight: Make device visible during trust dialog pairing and handle…

    … unplug
    
    The usbmuxd implementation on Win/OS X does allow enumerating and accessing the
    device during the "trust dialog" pairing process. We now also exit the waiting
    loop during unplugging of a device while waiting for the trust dialog to be
    dismissed.
    FunkyM authored and olunx committed Apr 4, 2014
    Configuration menu
    Copy the full SHA
    8b3648c View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    4bfc979 View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    dc5cc04 View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    7674066 View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    f140924 View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    9bbdf5c View commit details
    Browse the repository at this point in the history
  33. client: implemented "ListDevices" command

    nikias authored and olunx committed Apr 4, 2014
    Configuration menu
    Copy the full SHA
    9fb10d3 View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    e12c28a View commit details
    Browse the repository at this point in the history
  35. Configuration menu
    Copy the full SHA
    f9140eb View commit details
    Browse the repository at this point in the history
  36. make libplist/protov1 support mandatory

    nikias authored and olunx committed Apr 4, 2014
    Configuration menu
    Copy the full SHA
    61c30e8 View commit details
    Browse the repository at this point in the history
  37. Configuration menu
    Copy the full SHA
    641bc48 View commit details
    Browse the repository at this point in the history
  38. client: implemented ReadBUID, ReadPairRecord, SavePairRecord, and Del…

    …etePairRecord commonds
    nikias authored and olunx committed Apr 4, 2014
    Configuration menu
    Copy the full SHA
    007e2d2 View commit details
    Browse the repository at this point in the history
  39. enlarge input+output buffer sizes.

    nikias authored and olunx committed Apr 4, 2014
    Configuration menu
    Copy the full SHA
    d6c96a3 View commit details
    Browse the repository at this point in the history
  40. increase number of open file descriptors

    When a large number of devices are used, the number of open file descriptors
    can reach the default system limit. Upon startup we now raise it to
    a much higher value to give more 'space'.
    nikias authored and olunx committed Apr 4, 2014
    Configuration menu
    Copy the full SHA
    2105f7e View commit details
    Browse the repository at this point in the history
  41. preflight: replace idevice_event_* with thread safe implementation

    idevice_event_subscribe() calls usbmuxd_subscribe() which will
    start a thread waiting for device add/remove events. But this
    implementation is not able to handle more than one "subscription".
    However the preflight worker will start a thread for _each_ device
    resulting in a really messed up situation if more than one device
    is attached at the same time. This fix will use usbmuxd's internal
    device_remove function calling a preflight callback to make this
    implementation thread safe.
    nikias authored and olunx committed Apr 4, 2014
    Configuration menu
    Copy the full SHA
    6bbb497 View commit details
    Browse the repository at this point in the history
  42. client: plug several memory leaks

    nikias authored and olunx committed Apr 4, 2014
    Configuration menu
    Copy the full SHA
    4c5fdcd View commit details
    Browse the repository at this point in the history
  43. Configuration menu
    Copy the full SHA
    94e6bd0 View commit details
    Browse the repository at this point in the history
  44. Configuration menu
    Copy the full SHA
    5c27fcc View commit details
    Browse the repository at this point in the history
  45. Configuration menu
    Copy the full SHA
    312af2a View commit details
    Browse the repository at this point in the history
  46. utils: collection_add don't double capacity but instead increase by a…

    … fixed amount
    nikias authored and olunx committed Apr 4, 2014
    Configuration menu
    Copy the full SHA
    f8d68fd View commit details
    Browse the repository at this point in the history
  47. Configuration menu
    Copy the full SHA
    2f0d8b6 View commit details
    Browse the repository at this point in the history
  48. device/client: make device_get_list() allocate the result buffer itself

    Using device_get_count() and device_get_list() separately can return different
    device counts in case there are devices added to the list inbetween these two
    function calls. To prevent this, device_get_list() will allocate the buffer by
    itself.
    nikias authored and olunx committed Apr 4, 2014
    Configuration menu
    Copy the full SHA
    017cf54 View commit details
    Browse the repository at this point in the history
  49. Configuration menu
    Copy the full SHA
    046ee69 View commit details
    Browse the repository at this point in the history
  50. Configuration menu
    Copy the full SHA
    6489103 View commit details
    Browse the repository at this point in the history
  51. utils: add new collection_copy() function

    nikias authored and olunx committed Apr 4, 2014
    Configuration menu
    Copy the full SHA
    d283ba1 View commit details
    Browse the repository at this point in the history
  52. Configuration menu
    Copy the full SHA
    bdb4c19 View commit details
    Browse the repository at this point in the history
  53. Configuration menu
    Copy the full SHA
    971dcd3 View commit details
    Browse the repository at this point in the history
  54. updated README

    nikias authored and olunx committed Apr 4, 2014
    Configuration menu
    Copy the full SHA
    e16bb31 View commit details
    Browse the repository at this point in the history
  55. Configuration menu
    Copy the full SHA
    7eaecde View commit details
    Browse the repository at this point in the history
  56. Configuration menu
    Copy the full SHA
    3cad548 View commit details
    Browse the repository at this point in the history
  57. Configuration menu
    Copy the full SHA
    bfdddc8 View commit details
    Browse the repository at this point in the history
  58. client: add a bunch of comments and function docs

    Mikkel Kamstrup Erlandsen authored and olunx committed Apr 4, 2014
    Configuration menu
    Copy the full SHA
    10c3ef7 View commit details
    Browse the repository at this point in the history
  59. device: more aggresively send ACKs when receiving TCP data

    Before this it seemed that we only ever sent ACK when
    timing out... Looks like a perf double when reading.
    Mikkel Kamstrup Erlandsen authored and olunx committed Apr 4, 2014
    Configuration menu
    Copy the full SHA
    6f4c438 View commit details
    Browse the repository at this point in the history
  60. device: fix potential integer overflow in mstime64() on 32 bit systems

    Mikkel Kamstrup Erlandsen authored and olunx committed Apr 4, 2014
    Configuration menu
    Copy the full SHA
    8ddbaed View commit details
    Browse the repository at this point in the history
  61. device/utils: move mstime64() into utils since it is generally useful

    Mikkel Kamstrup Erlandsen authored and olunx committed Apr 4, 2014
    Configuration menu
    Copy the full SHA
    e4fec57 View commit details
    Browse the repository at this point in the history
  62. usb-linux: add some explanatory comments to usb-linux.c

    Mikkel Kamstrup Erlandsen authored and olunx committed Apr 4, 2014
    Configuration menu
    Copy the full SHA
    19f42b0 View commit details
    Browse the repository at this point in the history
  63. usb-linux: massive read perf improvement with 3 parallel transfers

    By maintaining 3 parallel usb trasfers when reading we get 2-3x more
    throughput when reading. Without this the usb port is mostly just idling.
    I get 23mb/s on my system compared to a clean Apple stack that gives me
    17mb/s.
    
    3 was chosen because it is simple to hard code, gives very good performance,
    and have very little impact on out resource consumption.
    Mikkel Kamstrup Erlandsen authored and olunx committed Apr 4, 2014
    Configuration menu
    Copy the full SHA
    e43875d View commit details
    Browse the repository at this point in the history
  64. Configuration menu
    Copy the full SHA
    3650357 View commit details
    Browse the repository at this point in the history
  65. Configuration menu
    Copy the full SHA
    9b8f755 View commit details
    Browse the repository at this point in the history
  66. Configuration menu
    Copy the full SHA
    2aef3cf View commit details
    Browse the repository at this point in the history
  67. port to android

    olunx committed Apr 4, 2014
    Configuration menu
    Copy the full SHA
    b4fa7b2 View commit details
    Browse the repository at this point in the history

Commits on Apr 8, 2014

  1. fixed on android

    olunx committed Apr 8, 2014
    Configuration menu
    Copy the full SHA
    9238535 View commit details
    Browse the repository at this point in the history

Commits on Apr 9, 2014

  1. add android debug info

    olunx committed Apr 9, 2014
    Configuration menu
    Copy the full SHA
    d43f7c0 View commit details
    Browse the repository at this point in the history