summaryrefslogtreecommitdiffstats
path: root/src/property_list_service.c
AgeCommit message (Collapse)AuthorFilesLines
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