| Age | Commit message (Collapse) | Author | Files | Lines |
|
Public headers declared the API macro as __declspec(dllimport) on
Windows unless *_STATIC was defined. That made consumers reference
__imp_<symbol>, which only exists in the DLL import library, so linking
against the static library failed unless the consumer also defined
*_STATIC.
All exported symbols are functions, so dllimport is not needed: calls
to plain symbols link against both the static library and the import
library (via its thunks). Drop it from the public headers.
On the library side, apply __declspec(dllexport) only when libtool
defines DLL_EXPORT, i.e. when compiling the objects for the DLL. This
keeps export directives out of the objects that go into the static
library when both are built.
|
|
This allows getting a numerical representation of the device's
ProductVersion string for easier version range checks
|
|
|
|
correctly
The code in lockdownd_client_new_with_handshake would call the function
lockdownd_validate_pair based on the OS version being less than 7.0 without
taking into account that Watch OS has a different versioning scheme compared
to the other device classes. For this and any future version/device specific
checks, the code now queries the DeviceClass and stores it in the
idevice_private struct.
|
|
|
|
Let's not allow OpenSSL to directly access our file descriptors
|
|
idevice_new_with_options()
|
|
older devices
|
|
|
|
older device
On newer iOS version, ValidatePair is not mandatory to gain trusted host
status. Starting with iOS 11, the ValidatePair request has been removed from
lockdownd and will throw an error. This commit adds a version check so that
ValidatePair is only called on devices prior iOS 7.
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This changes the typedef logic slightly for the public headers in order
for doxygen to correctly pickup and enable the client struct documentation.
|
|
|