| 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
|
|
|
|
|
|
|
|
|
|
The older API idevice_event_subscribe/unsubscribe can only be used
by a single instance. With the addition of a context, is is now possible
to register multiple callback functions in different threads.
For backwards compatibility the old API will still be available for a while
before being removed in a future release.
|
|
|
|
meaningful error codes
This allows clients to properly detect that a connection to the requested
port failed because it is not open on the device, instead of just returning
an "unknown error"
|
|
send SSL shutdown message. As in debugserver this message will be considered as GDB server communication and break things
|
|
including network
Instead of just returning a list of UDIDs (like idevice_get_device_list) this
function will return idevice_info_t* records which also contains the type of
the connection and the connection data.
|
|
idevice_new_with_options()
|
|
Do it in all comments and errors messages
|
|
|
|
|
|
event number in libusbmuxd
|
|
|
|
|
|
|
|
() 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.
|
|
|
|
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.
|
|
Conflicts:
include/libimobiledevice/afc.h
|
|
|
|
|
|
|
|
|
|
This change unifies the documentation comment syntax, fixes a few bad
documentation comments and completes documentation where it was missing.
|
|
This changes the typedef logic slightly for the public headers in order
for doxygen to correctly pickup and enable the client struct documentation.
|
|
|