summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2024-05-04socket: Haiku compilation fixesGravatar Jerome Duval2-3/+7
- link against libnetwork - get_primary_mac_address similar to FreeBSD
2024-05-04Use updated libplist 2.5.0 APIGravatar Nikias Bassen2-3/+3
2024-04-15automake: Prevent `dist` or `distcheck` when uncommitted changes are presentGravatar Nikias Bassen1-0/+1
2024-03-23Update NEWS for release1.2.0Gravatar Nikias Bassen1-0/+9
2024-03-23Update soversion for releaseGravatar Nikias Bassen1-1/+1
2024-03-23Add helper code to deal with NSKeyedArchiver plist dataGravatar Nikias Bassen4-0/+1320
2024-03-23[github-actions] Updated build workflow to use v3 for download-artifactGravatar Nikias Bassen1-3/+3
2024-03-06[github-actions] Updated build workflow to use v4 for checkout and ↵Gravatar Nikias Bassen1-6/+6
upload-artifact
2024-03-06socket: Make sure errno is always set on error, and always return a ↵Gravatar Nikias Bassen1-5/+97
meaningful error code
2024-02-22Update NEWS for release1.1.0Gravatar Nikias Bassen1-0/+13
2024-02-22Update soversion for releaseGravatar Nikias Bassen1-1/+1
2024-02-21Updated READMEGravatar Nikias Bassen1-25/+31
2024-02-17Updated READMEGravatar Nikias Bassen1-26/+155
2024-02-16Add version function to interfaceGravatar Nikias Bassen2-0/+10
2024-02-16socket: Allow NULL as address for socket_create() and socket_connect()Gravatar Nikias Bassen1-8/+0
This will connect to localhost without the need to specify localhost or 127.0.0.1 or ::1 and also makes this invulnerable to DNS rebind attacks.
2024-01-30Add missing includeGravatar Nikias Bassen1-0/+1
2024-01-30Move LIMD_GLUE_API definitions to public headersGravatar Nikias Bassen20-144/+190
2023-12-26socket: Conditionally compile using poll or select based on availabilityGravatar Nikias Bassen2-28/+86
2023-12-26socket: Fix select failing when the process has many file descriptors by ↵Gravatar messi1-79/+100
using poll instead This happens, for example, when a process links with libusbmuxd, and the process is file descriptor heavy. Note: 'poll' means the syscall poll, not a polling approach. This patch does not add a busy wait and is not a performance regression.
2023-12-16win32: Fix external compilation using libimobiledevice-glue/thread.hGravatar Nikias Bassen1-2/+15
When using mutex_t data type externally, compilation might fail if CRITICAL_SECTION is not defined, so we just define our own copy.
2023-12-11opack: Fix parsing of 32 and 64 bit packed valuesGravatar Nikias Bassen1-2/+2
32 and 64 bit packed values were not parsed correctly due to bad pointer manipulation. Thanks to @cornejo for spotting this!
2023-12-11win32: Remove windows.h from public headersGravatar Nikias Bassen3-12/+12
2023-11-10opack: Fixed 32bit buffer overflowGravatar Nikias Bassen1-1/+1
Thanks to @cornejo for spotting this!
2023-05-13[github actions] Updated actions to newer versionsGravatar Nikias Bassen1-6/+6
2023-04-28Make sure git-version-gen and .tarball-version are included in dist tarballGravatar Nikias Bassen1-1/+5
2023-04-28git-version-gen: Prevent multiple lines of outputGravatar Nikias Bassen1-0/+1
2023-04-21Add missing include1.0.0Gravatar Nikias Bassen1-0/+1
2023-04-21Update README.mdGravatar Tobias H. Petersen1-1/+1
Trailing `\` removed
2023-04-21Add NEWS for releaseGravatar Nikias Bassen1-0/+4
2023-04-21autoconf: Automatically derive version number from latest git tagGravatar Nikias Bassen2-2/+26
2023-04-21Set minimum required libplist version to 2.3.0Gravatar Nikias Bassen1-1/+1
2023-04-19Remove plist-related code in favor of new libplist APIGravatar Nikias Bassen2-251/+1
2023-01-09Fix compilation on cygwinGravatar Josef Micka1-0/+6
2022-08-24[github-actions] Add a scheduled build every 1st of the month so we always ↵Gravatar Nikias Bassen1-1/+4
have an artifact
2022-05-23termcolors: Rename COLOR_* macros to FG_* due to conflict with ncursesGravatar Nikias Bassen1-24/+24
Also, FG_* is even better since we already have BG_* ones.
2022-04-22[clang-tidy] Do not use else after return/break/continueGravatar Rosen Penev1-2/+1
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-04-22[clang-tidy] utils: Fix too small loop variableGravatar Rosen Penev1-1/+1
Found with bugprone-too-small-loop-variable Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-04-22[clang-tidy] use uppercase numeric literalsGravatar Rosen Penev1-4/+4
Found with readability-uppercase-literal-suffix Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-04-13termcolors: Add missing stdio.h includeGravatar Nikias Bassen1-0/+1
Thanks to @Schlaubischlump for pointing this out.
2022-04-04Updated README with pkg-config requirementGravatar Nikias Bassen1-1/+2
Thanks @ichbluu for pointing this out.
2022-04-04utils: Close file if buffer allocation fails in buffer_read_from_filename()Gravatar Nikias Bassen1-0/+1
Thanks @demhademha for pointing this out.
2022-04-01Fix undefined bswap32 and bswap64 for MIPS machineGravatar Potin Lai1-2/+2
Replace bswap32 and bswap64 with internal defined version (__bswap_X) Signed-off-by: Potin Lai <potin.lai@quantatw.com>
2022-03-29socket: Add socket_get_socket_port functionGravatar Nikias Bassen2-3/+24
2022-03-29[github-actions] Use windows-2019 instead of windows-latest for nowGravatar Nikias Bassen1-1/+1
2022-02-09utils: Use libplist's plist_from_memory instead of duplicating format detectionGravatar Nikias Bassen1-5/+1
2022-02-04Add support for Apple's OPACK encoding and TLV formatGravatar Nikias Bassen8-1/+886
2022-02-04Add a simple char buffer implementationGravatar Nikias Bassen4-1/+105
2021-11-25Ignore IDE files and macOS finder infoGravatar Rick Mark1-0/+3
2021-11-24socket: Add FreeBSD supprt to get_primary_mac_addressGravatar Cameron Katri1-2/+6
2021-10-19utils: Fix bad malloc result check in buffer_read_from_filename and test ↵Gravatar Nikias Bassen1-1/+5
arguments for NULL