summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2015-01-16idevicedebugserverproxy: Use debugserver service and fix reconnecting to itGravatar Martin Szulecki1-71/+46
As the debugserver exits after a detach or disconnect, we need to ensure to start it again upon a new client connection.
2015-01-13thread: Introduce thread_new and thread_free to cover handle leaks on WIN32Gravatar Martin Szulecki7-14/+40
2015-01-12cython: Add receive/receive_timeout methods for iDeviceConnection to receive ↵Gravatar Hao Zhou2-0/+32
data from a connection
2015-01-12cython: Add new FILE_RELAY_E_PERMISSION_DENIED(-6) error to detect ↵Gravatar Hao Zhou1-0/+2
permission denied on iOS8+
2015-01-12lockdown: Fix documentation for client argument on pairing methodsGravatar Martin Szulecki1-3/+3
2015-01-12idevicepair: Fix compilation due to renamed pairing dialog errorGravatar Martin Szulecki1-1/+1
2015-01-12lockdown: Refactor internal error checking and add more native errors to enumGravatar Martin Szulecki3-137/+226
2015-01-12common: Convert int16_t macro error types of userpref module into enumGravatar Martin Szulecki1-10/+10
2015-01-12Add new "idevicenotificationproxy" tool to post or observe notificationsGravatar Martin Szulecki4-2/+297
2015-01-12Fix overlong blocking in np_client_free()Gravatar Christophe Fergeau1-3/+7
When using ideviceinstaller, np_client_free() would block for several minutes when ideviceinstaller cleans up after installing the application. This happens because the function is blocking on thread_join(), waiting for the notification watcher thread to finish. It only ends when np_get_notification() returns a negative value after getting a timeout, which takes several minutes. However, the thread loop will also exit early if client->parent gets NULL (the loop is iterated every 500ms), so this commit ensures client->parent gets set to NULL early in np_client_free() so that thread_join() does not block for a long time. Signed-off-by: Martin Szulecki <m.szulecki@libimobiledevice.org>
2014-12-10Improve maintainability and Requires of pkg-config file slightlyGravatar Martin Szulecki1-4/+4
2014-12-10lockdown: Add new LOCKDOWN_E_SERVICE_LIMIT error to detect service limit statesGravatar Martin Szulecki2-0/+3
2014-12-09debugserver: Return enum error type instead of int for type consistencyGravatar Martin Szulecki1-1/+1
2014-12-09idevicedebug: Fix memory leak and compiler warnings regarding command creationGravatar Martin Szulecki1-2/+6
2014-12-09debugserver: Remove const argv requirement for creating commandsGravatar Martin Szulecki2-3/+6
2014-12-09cython: Add get_path_for_bundle_identifier() method to InstallationProxyClientGravatar Hao Zhou1-0/+19
2014-12-09cython: Add DebugServerClient class to communicate with debugserverGravatar Hao Zhou3-1/+250
2014-12-08Replace () with (void) in libinternalcommon and tools for consistencyGravatar Martin Szulecki5-6/+6
2014-12-06Replace () with (void) in function prototypesGravatar Christophe Fergeau3-3/+3
() and (void) are 2 different things in C, and can cause gcc warnings: error: function declaration isn't a prototype [-Werror=strict-prototypes] idevice_error_t idevice_event_unsubscribe(); This commit replaces () with (void) in installed headers.
2014-11-11notification_proxy: Send Shutdown command in np_client_free() instead of ↵Gravatar Nikias Bassen1-33/+34
np_post_notification()
2014-10-27debug: Fix linking failure on OS X by keeping debug level symbol internalGravatar Martin Szulecki4-6/+13
This change keeps the debug level symbol within the internal convenience library and makes it accessible using an internal helper. This fixes linking, prevents new exported symbols and finally allows proper control of enabling debug messages.
2014-10-26debug: Fix symbol locality for linker so debug messages are printed againGravatar Martin Szulecki4-20/+18
2014-10-26common: Remove obsolete symbol hiding macros from userpref moduleGravatar Martin Szulecki1-14/+6
2014-10-26Remove obsolete prefix from debug messages in internal locking helpersGravatar Martin Szulecki3-6/+6
2014-10-26lockdown: Fix error in re-pairing when previous record became invalidGravatar BALATON Zoltan1-9/+5
When connecting with an existing pair record failed we attempted to pair again which generated a new host id but then connect after successful pairing tried to use host id from the old record and failed. Make sure we forget the old host id when re-pairing. This also fixes a possible memory leak.
2014-10-26Supress printing very long plists in debug outputGravatar BALATON Zoltan1-1/+7
2014-10-22common: Move size format helper to utils and use it in idevicebackup toolsGravatar Martin Szulecki4-45/+30
2014-10-22common: Move string_toupper() helper to utils and use it in idevicebackup toolsGravatar Martin Szulecki4-22/+13
2014-10-22common: Share idevicebackup helper string_build_path() from utilsGravatar Martin Szulecki4-73/+49
2014-10-22common: Change stpcpy() signature code style slightlyGravatar Martin Szulecki2-2/+2
2014-10-22Update description in pkg-config file to more generic oneGravatar Martin Szulecki1-1/+1
2014-10-21afc: Remove incorrect flags from afc_file_open() doc commentsGravatar Nikias Bassen1-4/+1
2014-10-15Post-release version bump to 1.2.0Gravatar Martin Szulecki1-1/+1
2014-10-15idevicedebug: Fix invalid write due to out of bounds access1.1.7Gravatar Martin Szulecki1-1/+1
2014-10-14Bump so name correctly as some ABI symbols were hidden nowGravatar Martin Szulecki1-1/+1
2014-10-14Update NEWS with latest changesGravatar Martin Szulecki1-0/+4
2014-10-14cython: Enforce default symbol visibility to make bindings loadableGravatar Martin Szulecki1-1/+1
2014-10-14idevicedebug: Fix broken logic when creating app argumentsGravatar Martin Szulecki1-3/+3
2014-10-14idevicedebug: Fix redeclaration and incrementation of environment_indexGravatar Martin Szulecki1-4/+1
2014-10-11tools: Make sure to print an error when lockdown connection failsGravatar Nikias Bassen13-16/+30
2014-10-09debugserver: Fix wrong service_error_t return type in debugserver_client_send()Gravatar Martin Szulecki1-1/+1
2014-10-07idevicedate: Remove space and fix syntax of preprocessor conditionalsGravatar Martin Szulecki1-3/+3
2014-10-07idevicedebug: Fix small memory leakGravatar Martin Szulecki1-6/+11
2014-10-07idevicedebug: Fix error variables for type consistencyGravatar Martin Szulecki1-1/+1
2014-10-07idevice: Fix compilation with OpenSSL before 1.0.0-beta1Gravatar Martin Szulecki1-0/+12
2014-10-05idevicebackup2: Fix error variables for type consistencyGravatar Martin Szulecki1-6/+7
2014-10-05idevicebackup: Fix error variables for type consistencyGravatar Martin Szulecki1-6/+7
2014-10-05Convert int16_t macro error types into enum to improve debugging/type-checkingGravatar Martin Szulecki27-343/+267
This simple change provides various benefits for developers like compile time errors, better auto-completition in editors and the ability of a debugger to show the constant instead of just the raw value. Thanks to Aaron Burghardt for the proposal.
2014-10-05restore: Correct wrong error names in @return doc commentsGravatar Martin Szulecki1-10/+10
2014-10-03mobilesync: Fix crash in mobilesync_recive_changes() due to typoGravatar Martin Szulecki1-1/+1