summaryrefslogtreecommitdiffstats
path: root/src/property_list_service.c
AgeCommit message (Collapse)AuthorFilesLines
2020-06-08Remove whitespace errors from all filesGravatar Martin Szulecki1-1/+5
2020-02-17Increase timeout for service receive methodsGravatar Nikias Bassen1-1/+1
2019-10-29property_list_service: Consider a successful 0 byte read a timeout rather ↵Gravatar Nikias Bassen1-0/+5
than an error condition
2019-06-16service: Fix typo SERIVCE_E_NOT_ENOUGH_DATA to SERVICE_E_NOT_ENOUGH_DATAGravatar Nikias Bassen1-1/+1
2019-06-13Timeout support for SSL connections and better timeout handeling.Gravatar DanyL1-56/+60
2017-04-08Propagate lower level errors to callers instead of returning unknownGravatar BALATON Zoltan1-1/+3
error for most failures
2017-01-18property_list_service: Remove packet length check when receiving plist dataGravatar Antoine Reversat1-46/+43
There are services that would send really large plist data, e.g. when listing provisioning profiles. Instead of forcing the data to be less than 16MB we try to allocate a buffer as large as requested. If the allocation fails the function returns with an error.
2015-01-28Remove trailing whitespace errors from all filesGravatar Martin Szulecki1-4/+4
2014-10-03Avoid exporting non-public symbolsGravatar Martin Szulecki1-8/+8
2014-04-29Make property_list_service publicGravatar Nikias Bassen1-100/+0
2013-11-30Fix possible memory corruption by ensuring client pointers NULL'd after freeGravatar Martin Szulecki1-0/+3
2013-11-10property_list_service: Rename RECEIVE_TIMEOUT error for more clarityGravatar Martin Szulecki1-1/+1
2013-10-09Remove duplicate newline from debug messages as one is added automaticallyGravatar Martin Szulecki1-2/+2
2013-10-09property_list_service: improve error checking on receiveGravatar Nikias Bassen1-2/+19
2013-09-19property_list_service: handle timeout condition on receiveGravatar Nikias Bassen1-1/+4
this adds the new error code PROPERTY_LIST_SERVICE_E_TIMEOUT that occurs if the given timeout is reached when trying to receive data.
2013-04-25common: Move debug and userpref code into libinternalcommonGravatar Martin Szulecki1-1/+1
2013-03-14global: make sure to check service before checking service->port to prevent ↵Gravatar Nikias Bassen1-1/+1
crashes
2013-02-27implement base service that all other services inherit fromGravatar Nikias Bassen1-27/+24
2013-02-26Refactor port number use into service descriptor to enable SSL for servicesGravatar Martin Szulecki1-6/+9
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-06-26property_list_service: do not strip non-ASCII characters from XML plistsGravatar Christophe Fergeau1-1/+1
'content' is declared as char content[] so if char is signed, all characters with the high bit set will be negative so they will be < 0x20. This means the code will strip all non-ASCII (multi-byte) UTF-8 characters and replace them with spaces. This commit fixes it now by really only considering ASCII characters.
2012-03-19fix invalid characters in xml plistsGravatar Nikias Bassen1-2/+2
2012-03-19New file for be*/le* macros plus check for endian.h presenceGravatar Nikias Bassen1-0/+1
2012-03-18Include config.h if HAVE_CONFIG_HGravatar Nikias Bassen1-0/+3
2012-03-18Completely remove glib dependency.Gravatar Nikias Bassen1-3/+2
2011-03-21Due to a bug in iOS 4.3, plist data might contain invalid null charactersGravatar Martin Szulecki1-0/+5
The main lockdown plist of iOS 4.3 contains invalid null characters which we now convert to spaces. Fixes running ideviceinfo on iOS 4.3. Thanks to teuf for debugging and proposing the fix.
2010-07-29property_list_service: fix plist receiving on big endian machinesGravatar Nikias Bassen1-2/+2
2010-03-24Use glib GUINT32_TO/FROM_BE macros instead of htonl/ntohlGravatar Martin Szulecki1-3/+3
2010-03-24Remove unused and fix some includesGravatar Nikias Bassen1-2/+1
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-01-29Global renames due to project rename to libimobiledeviceGravatar Nikias Bassen1-17/+17
2010-01-22Rename all *_recv functions to *_receive to match underlying APIGravatar Martin Szulecki1-3/+3
2010-01-22Rename iphone_device_recv/_send functions to use iphone_connection_* domainGravatar Martin Szulecki1-4/+4
These communication functions operate on an iphone_connection_t, thus their function name should reflect that.
2010-01-13Use debug_plist() to print xml plists instead of binary buffersGravatar Martin Szulecki1-2/+2
2010-01-13lockdown/property_list_service: use new SSL codeGravatar Nikias Bassen1-94/+38
2010-01-12Refactor and unify internal debug system for ease of use and verbosityGravatar Martin Szulecki1-10/+10
This introduces a new debug_info macro which automatically prints the calling function, file and line number information instead of having that information passed to every old log_debug_msg call.
2010-01-12Rename utils to debug as it does exactly that, contain debug codeGravatar Martin Szulecki1-1/+1
2010-01-12Move plist code into a new property_list_serviceGravatar Nikias Bassen1-0/+402