summaryrefslogtreecommitdiffstats
path: root/src/installation_proxy.c
AgeCommit message (Collapse)AuthorFilesLines
2023-03-23installation_proxy: Handle BundleIDs in instproxy_client_options_addGravatar Nikias Bassen1-1/+1
BundleIDs are passed as an array so we need to make sure it gets added as such. In fact though we just copy the node from the va_arg :)
2022-05-09instproxy: Use synchronous mode when callbacks are NULL, as documentedGravatar Marc Prud'hommeaux1-6/+6
Synchronous modes for `instproxy_install`, `instproxy_upgrade`, `instproxy_uninstall`, `instproxy_archive`, `instproxy_restore`, and `instproxy_remove_archive` appear to be ignoring the documented behavior that “If NULL is passed, this function will run synchronously”. This commit fixes the advertised behavior.
2022-04-22Fix a few inconsistent declarationsGravatar Nikias Bassen1-7/+4
2021-06-22installation_proxy: Ignore non-status messages instead of terminating loopGravatar Simon Søndergaard1-6/+3
Some iOS versions will interleave a CFBundleIdentifier message into the Status messages, and the code would treat the CFBundleIdentifier message as an error. Terminating the loop, never seeing the last message - and even worse - never calling back to ideviceinstaller that would be stuck waiting for a callback with a message where Status == Complete.
2019-07-19installation_proxy: Terminate worker thread before freeing property list ↵Gravatar Nikias Bassen1-1/+2
service client to prevent segfault
2019-06-23replace all occurrences of occured by occurredGravatar Yves-Alexis Perez1-3/+3
Do it in all comments and errors messages
2019-06-11common: Update thread.c/.h to match the one from libusbmuxdGravatar Nikias Bassen1-4/+7
2017-04-08Fix parameter check of instproxy_check_capabilities_match()Gravatar BALATON Zoltan1-1/+1
The capabilities parameter is a string array not a plist. Also check other parameters when we are at it.
2016-04-01Avoid potential NULL pointer dereference (leading to segfault) if functions ↵Gravatar BALATON Zoltan1-5/+9
are called with NULL arguments
2015-10-06Add missing "(void)" to functions to match public headersGravatar Martin Szulecki1-1/+1
2015-01-28Remove trailing whitespace errors from all filesGravatar Martin Szulecki1-5/+5
2015-01-27installation_proxy: Use char* array to pass capabilities for related methodGravatar Martin Szulecki1-2/+11
2015-01-27installation_proxy: Use char* array to pass appids for lookup commandGravatar Martin Szulecki1-15/+28
2015-01-27installation_proxy: Use new lookup command for app path retrieval helperGravatar Martin Szulecki1-26/+8
2015-01-27installation_proxy: Refactor implementation, add new commands and helpersGravatar Martin Szulecki1-239/+591
2015-01-27installation_proxy: Add new helper to set return attributes in client optionsGravatar Martin Szulecki1-0/+21
2015-01-27installation_proxy: Improve comment formatting and some whitespacesGravatar Martin Szulecki1-3/+5
2015-01-13thread: Introduce thread_new and thread_free to cover handle leaks on WIN32Gravatar Martin Szulecki1-3/+8
2014-10-26Remove obsolete prefix from debug messages in internal locking helpersGravatar Martin Szulecki1-2/+2
2014-10-03Avoid exporting non-public symbolsGravatar Martin Szulecki1-15/+15
2014-03-27Moved Doxygen comments from source files to public headers.Gravatar Aaron Burghardt1-232/+0
Conflicts: include/libimobiledevice/afc.h
2014-03-20Bump dependency to libplist 1.11 and remove use of "plist_dict_insert_item()"Gravatar Martin Szulecki1-7/+7
2013-11-10installation_proxy: Fix operations exiting before being finished due to timeoutGravatar Martin Szulecki1-4/+5
The internal status callback used a timeout of 30 seconds to receive status messages about the progress of an operation. However, slow devices or large app archives trigger this timeout causing the handler to return before the operation was actually complete. This fixes it by removing the internal timeout by waiting forever and only returning early in case of a real error.
2013-11-10property_list_service: Rename RECEIVE_TIMEOUT error for more clarityGravatar Martin Szulecki1-0/+2
2013-11-04installation_proxy: Remove dead code from uninstall methodGravatar Martin Szulecki1-5/+0
2013-08-05Implement *_start_service() helper to simplify creation of service clientsGravatar Martin Szulecki1-0/+20
2013-07-18installation_proxy: Fix another two memory leaksGravatar Martin Szulecki1-0/+4
2013-07-16Fix memory leaks in instproxy_client_get_path_for_bundle_identifier()Gravatar Martin Szulecki1-0/+10
2013-04-25installation_proxy: Add helper to retrieve filepath of an app from deviceGravatar Martin Szulecki1-0/+97
2013-04-25common: Move debug and userpref code into libinternalcommonGravatar Martin Szulecki1-1/+1
2013-04-25installation_proxy: Silence compiler warnings about thread_t pointer assignmentsGravatar Martin Szulecki1-2/+2
2013-03-20use new internal common code for thread, mutex, and socket operationsGravatar Nikias Bassen1-40/+6
2013-03-18installation_proxy: Add ReturnAttributes key to comment for documentationGravatar Martin Szulecki1-3/+3
2013-03-14global: make sure to check service before checking service->port to prevent ↵Gravatar Nikias Bassen1-5/+3
crashes
2013-02-26Refactor port number use into service descriptor to enable SSL for servicesGravatar Martin Szulecki1-3/+3
This is a major change which breaks API but is required in order to support SSL communication for services as used by network connections.
2012-12-08installation_proxy: Correctly handle adding ReturnAttributes in client optionsGravatar Martin Szulecki1-1/+1
2012-03-19WIN32: use windows threads and mutexes instead of pthread_*Gravatar Nikias Bassen1-0/+34
2012-03-18Remove gthread dependency and use pthreads insteadGravatar Nikias Bassen1-16/+9
2010-05-15Document user_data parameter in installation_proxy interfaceGravatar Martin Szulecki1-0/+9
2010-03-31Added user_data parameter to instproxy_status_cb and related functions.Gravatar Bryan Forbes1-19/+21
2010-03-25Use insert_item instead of set_item to make adding client options workGravatar Nikias Bassen1-3/+3
2010-03-24Remove unused and fix some includesGravatar Nikias Bassen1-1/+0
2010-03-16Rename the *_int to *_private for better semantic and fix public typedefsGravatar Martin Szulecki1-1/+1
This changes the typedef logic slightly for the public headers in order for doxygen to correctly pickup and enable the client struct documentation.
2010-03-08installation_proxy: docs updatedGravatar Nikias Bassen1-7/+10
2010-01-29Global renames due to project rename to libimobiledeviceGravatar Nikias Bassen1-1/+1
2010-01-21installation_proxy: rework code to use plist client_optionsGravatar Nikias Bassen1-119/+152
[#104 state:resolved]
2010-01-13Rename service implementation sources to lowercase for consistencyGravatar Martin Szulecki1-0/+740