Up to [cvs.NetBSD.org] / pkgsrc / devel / objfw
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Allow compiling devel/objfw on all CPU architectures
*: recursive bump for icu 77 and libxml2 2.14
devel/objfw: Fix building on macOS 13 with an old SDK macOS 13 with a recent SDK is unaffected. All other versions of macOS are unaffected.
Update devel/objfw to 1.3 ObjFW 1.2.4 -> ObjFW 1.3, 2025-03-22 + OFStdIOStream adds support truecolor, 256 colors, bold, italic, underlined and italic. * OFStdIOStream now keeps track of state to reduce the amount of escape codes used. + Adds support for getting peer credentials to UNIX sockets. + Adds support for MPTCP. + Adds more functions to parse integers to OFString. + Adds range checks to OFNumber instead of truncating values. * Deprecates OFPlugin in favor of OFModule. * Deprecates a few methods in various classes, their replacements are specified in the deprecation message. * Optimizes lookup for embedded files. * Improves EINTR handling throughout the entire code base. + ObjFWRT calls +[load] on categories now. * Adds and uses more error codes for OFTLSStream. + Adds OFX509Certificate with support for PKCS #12 and PEM files. + Adds server mode for OFTLSStream. + Adds support for TLS to OFHTTPServer. + Adds support for mbedTLS 3 to ObjFWTLS. * Fixes handling of unexpected stream end in OFOpenSSLTLSStream. + OFRunLoop now supports interacting with foreign run loops. + ObjFWBridge now provides an OFKernelEventObserver implementation that uses CFRunLoop to allow running code that needs a CFRunLoop inside an OFRunLoop. + ObjFWBridge now bridges OFDate/NSDate and OFData/NSData. * Fixes ObjFWBridge on macOS 10.5 (Leopard). + Adds documentation for ObjFWBridge. + Adds support for game controllers on macOS & iOS to ObjFWHID. + Adds OFNotifications for changes values to ObjFWHID. * ObjFWHID now uses more consistent names for game controller elements. + Adds game controller-specific profiles on Linux to ObjFWHID for the following controllers: Switch Pro Controller, Nintendo Switch Online SNES gamepad, 8BitDo Ultimate 2C Wireless, 8BitDo NES30. + Adds game controller-specific profiles on macOS & iOS to ObjFWHID for the following controllers: DualSense, DualShock 4, pair of Joy-Cons, Switch Pro Controller, Nintendo Switch Online N64 controller, Nintendo Switch Online SNES gamepad, Stadia gamepad, 8BitDo NES30. * ObjFWHID now filters spurious extra buttons with the Xbox 360 Wireless Receiver on Linux. * ObjFWHID now assumes a single Joy-Con to be rotated and handles it accordingly. * ofarc now quarantines files before setting permissions, preventing an issue where the permissions would no longer allow quarantining files.
Update devel/objfw to 1.2.4
objfw: clang is a tool dependency, not a build dependency
Update devel/objfw to 1.2.3 ObjFW 1.2.2 -> ObjFW 1.2.3, 2024-12-15 * Fixes OFRunLoop not draining the autorelease pool after firing a timer. * Adds -fno-constant-ns{number,array,dictionary}-literals to OBJCFLAGS, which is required to have literals work with ObjFW with recent Xcode versions.
Update devel/objfw to 1.2.2 ObjFW 1.2.1 -> ObjFW 1.2.2, 2024-12-07 * Fixes OFTLSSocket not sending shutdown when using OpenSSL. * Fixes OFTLSSocket initialization when using MbedTLS. * Fixes imports in ObjFWTLS.h. * OFINIFile now properly quotes ; and #. * Ensures ofarc and ofhash link ObjFWTLS. * Makes OFEmbeddedIRIHandler public, as it's required for objfw-embed. * Fixes compiling on Haiku r1beta5. * Adds compatibility with latest devkitARM.
*: recursive bump for icu 76 shlib major version bump
Update devel/objfw to 1.2.1 ObjFW 1.2 -> ObjFW 1.2.1, 2024-11-09 * Fixes exceptions in ObjC++. * Fixes compiling ObjC++ on Windows. * Fixes compiling tests on Haiku. * Properly hides private methods in ObjFWHID.
Update devel/objfw to 1.2
*: revbump for icu downgrade
*: recursive bump for icu 76.1 shlib bump
Update devel/objfw to 1.1.7 ObjFW 1.1.6 -> ObjFW 1.1.7, 2024-08-25 * Fixes creating OFStrings from C strings with some encodings. * Fixes creating an ASCII C string from an OFString that has been initialized by passing an instance of a custom string class. * Fixes OFINIFile not parsing `=` within `"` correctly. * OFINIFile now allows comments and pairs before the first category. * OFINIFile now allows # for comments. * Hides some private symbols in the runtime library. * Disables UNIX datagram sockets on Hurd as Hurd has incomplete support for UNIX datagram sockets.
Update devel/objfw to 1.1.6 ObjFW 1.1.5 -> ObjFW 1.1.6, 2024-08-11 * Fixes ObjC++ with GCC. * Adds handling of EINTR in OFKernelEventObserver. * Fixes overriding / reusing stack arguments in super calls on x86. * Makes headers compatible with -Wunused-parameter.
Update devel/objfw to 1.1.5
revbump after icu and protobuf updates
Update devel/objfw to 1.1.4 ObjFW 1.1.3 -> ObjFW 1.1.4, 2024-05-22 * Fixes ofarc failing to extract from stdin on macOS. * Fixes the workaround for missing blx on ARM. * Avoids Clang's integrated assembler on MIPS64 for .S files (as it cannot calcualte the offset between two labels). * Fixes X32 being mistaken for AMD64.
*: recursive bump for gnutls p11-kit option (existing installations need the bl3.mk included, but it's now only optionally included)
Update devel/objfw to 1.1.3 ObjFW 1.1.2 -> ObjFW 1.1.3, 2024-05-12 * Fixes +[OFSystemInfo networkInterfaces] on NetBSD. * Properly hides private symbols so they can't be used accidentally anymore. * Adds missing documentation for various functions and macros. * Uses RtlGenRandom to get proper randomness on Windows now. * No longer uses _wutime64, which is buggy in some MinGW distributions. * Only uses blx on ARM if it is available now. * Adds a workaround for OFSubprocess tests on Windows 9x. * Skips symlink tests if symlinks are unavailable.
Update devel/objfw to 1.1.2 ObjFW 1.1.1 -> ObjFW 1.1.2, 2024-04-20 * Fixes configure script on systems using BusyBox for tr. * Fixes compiling for Haiku. * Fixes -[contentsOfDirectoryAtIRI:] corrupting the stack on Solaris. * Fixes compiling for Wii with newer SDK. * Fixes missing endbr / bti. * Minor optimizations to ARM64 assembly.
Update devel/objfw to 1.1.1 ObjFW 1.1 -> ObjFW 1.1.1, 2024-04-14 * Fixes missing ${DESTDIR} in some Makefiles.
Update devel/objfw to 1.1 ObjFW 1.0.12 -> ObjFW 1.1, 2024-04-14 * ObjFW is now licensed under LGPLv3.0-only. + Adds a new framework for writing tests called ObjFWTest. * All tests were migrated to ObjFWTest. + The runtime now supports associated objects. + OFDNSResolver now caches responses. + OFDNSResolver now supports URI and LOC DNS resource records. + Adds methods to handle path extension to OFIRI. + Adds support for Mbed TLS. + Adds more methods to OFSystemInfo to check for CPU features. * OFSystemInfo now only indicates CPU features as supported if the OS also supports them. + OFLHAArchive now supports extracting and creating files > 4 GB. + OFLHAArchive now supports header level 3. + OFLHAArchive now supports extracting -lhx-, -lz4- and -pm0- files. * OFLHAArchive no longer defaults to ISO 8859-1. + New class OFZooArchive for extracting and creating Zoo files. * The schemes for archive IRI handlers have been renamed. * The schemes for archive IRI handlers now look for the rightmost `!`, which allows for chaining with less quoting. * Fixes -[OFMutableArray replaceObjectIdenticalTo:withObject:] being inconsistent with -[OFMutableArray replaceObject:withObject:]. * Fixes getting non-existent xattrs in OFFileManager. * Objects on Windows, MS-DOS and 32 bit Solaris now get properly aligned so that SIMD can be used on ivars. * Fixes parsing of signed numbers in MessagePack. * Fixes a memory leak in OFTarArchive. + Adds support for typed extended file attributes (only on Haiku). + Adds support for extended file attributes on Haiku, NetBSD and FreeBSD. + OFStdIOStream now supports cursor movement and colors on MS-DOS. * All headers are now compatible with -masm=intel. + OFMatrix4x4 can now transform multiple vectors at once. + OFMatrix4x4 has a 3DNow! implementation for multiplication and vector transformations now. + OFMatrix4x4 has an SSE implementation for vector transformations now. * Updates Unicode support to 15.1. * Fixes compatibility with LibreSSL. * Fixes two linker warnings on macOS. * Fixes compiling on QNX. * OFLocale now supports automatic initialization. + ofarc now supports extracting and creating Zoo archives. + ofarc now has an --iri option to directly work on local and remote IRIs. + ofarc now prints the archive comment with -lv. + ofarc can now add an archive comment with --archive-comment=. + ofarc now propagates the quarantine xattr on macOS when extracting an archive.
Update devel/objfw to 1.0.12 ObjFW 1.0.11 -> ObjFW 1.0.12, 2024-03-11 * Fixes a regression in OFZIPArchive that was introduced in 1.0.11 that resulted in failing to extract archives and creating broken archives. * Fixes a rare condition where OFInflateStream could end up in an endless loop. * Fixes OFTarArchiveEntry not having a default date, which could result in messaging nil on a FP return, which yielded invalid results on 32-bit x86 with GCC.
Update devel/objfw to 1.0.11 ObjFW 1.0.10 -> ObjFW 1.0.11, 2024-03-09 * Fixes -[OFHTTPClientResponse isAtEndOfStream] and -[OFGZIPStream isAtEndOfStream]. * Fixes how OFZIPArchive handles disk 0 vs. disk 1. * OFLHAArchive and OFZIPArchive create more compatible archives now. * OFLHAArchive ignores padding in level 2 headers now. * ofarc correctly sets modification dates of directories now by delaying setting those until after all files have been extracted. * Fixes a linker warning on macOS/iOS. * Several minor documentation fixes. * OFFileIRIHandler correctly transforms exceptions now so that they use an IRI and not a path.
Update devel/objfw to 1.0.10 ObjFW 1.0.9 -> ObjFW 1.0.10, 2024-02-24 * Fixes objc_getClassList() not releasing the global runtime mutex. * Improves OFLHAArchive's compatibility with non-standard archives. + Adds endbr32 / endbr64 / bti instructions for compatibility with Control Flow Integrity.
Update devel/objfw to 1.0.9 ObjFW 1.0.8 -> ObjFW 1.0.9, 2024-02-18 * Fixes OFGZIPStream reading the size and CRC32 incorrectly when either spans multiple reads. * Fixes a type mismatch in OFMapTable that could cause problems on big endian systems when uint32_t and unsigned long have a different size. * Fixes the default implementation of -[initWithKeys:arguments:] for custom dictionaries. * Improves detection of mutation during enumeration in -[enumerateKeysAndObjectsUsingBlock:]. * Minor documentation fixes.
Update devel/objfw to 1.0.8 * Fixes compilation on NetBSD, OpenBSD, OpenIndiana etc. which was broken by 1.0.7.
Update devel/objfw to 1.0.7 * Fixes inheriting the environment in OFSubprocess. * Fixes dealloc in OFSubprocess when -[closeForWriting] was called. + Adds tests for OFSubprocess. * Changes the key for +[OFSystemInfo networkInterfaces] to the adapter name on Windows XP and newer to avoid a possible collission on the adapter index. * Fixes compilation with old MinGW versions. * Fixes the documentation for OFSRVDNSResourceRecord.
Update devel/objfw to 1.0.6
*: recursive bump for icu 74.1
Update devel/objfw to 1.0.5 ObjFW 1.0.4 -> ObjFW 1.0.5, 2023-11-05 * Fixes the calculation of the extra alignment in OFAllocObject() * Fixes +[OFSystemInfo networkInterfaces] on OpenBSD and Windows 98 * Fixes OFSocketAddressString() for AppleTalk addresses * Uses GetModuleHandle() instead of LoadLibrary() where possible on Windows * Disables tests for global blocks on Win64 due to broken compilers * Adds PGP keys to verify tarballs and commits in the code repository
*: bump for openssl 3
Update devel/objfw to 1.0.4 * Fixes OFFile closing fd 0 when initialization fails * Fixes -[stringByAppendingPathComponent:] on empty strings * Fixes +[OFSystemInfo operatingSystemName] and +[OFSystemInfo operatingSystemVersion] returning nil on some systems * Adds a license for localizations
Update devel/objfw to 1.0.3 ObjFW 1.0.2 -> ObjFW 1.0.3, 2023-09-14 * Fixes -[OFConcreteData initWithItemSize:] not setting freeWhenDone to true, which resulted in a memory leak * Fixes -[OFData initWithContentsOfIRI:] freeing the buffer in @catch instead of @finally, which resulted in a memory leak
Update devel/objfw to 1.0.2 This fixes .frameworks for macOS.
Update devel/objfw to 1.0.1
devel/objfw: Add options to select TLS implementation
devel/objfw: Remove --enable-static
devel/objfw: Fix clang not being picked up correctly
devel/objfw: Always compile using clang
devel/objfw: Make sure OBJC is correct and fix PLIST for DDP and IPX sockets
Update devel/objfw to 1.0 This is the first stable release with stable API and ABI.
devel/objfw: Update URLs No functional change.
Update ObjFW to 0.90.2, from Jonathan Schleifer in PR pkg/52645. ObjFW 0.90.1 -> ObjFW 0.90.2, 23.10.2017 * Fix shadowed variables which caused many bugs (e.g. using the wrong object) * Many, many nullability fixes * OFTCPSocket: Fix exception not being retained for async connect * OFThread: Fix setting the name on the wrong thread * OFMutableSet: Fix missing override for -[copy] * configure: Fix posix_spawnp check * Xcode project: Set the correct version for the bridge * Better check for iOS * tests: Fix testing the wrong OFKernelEventObserver ObjFW 0.90 -> ObjFW 0.90.1, 20.08.2017 * OFData: Fix -[description] * OFFileManager: Set errno to 0 before readdir() * OFDate: Add -[localMinute] * OFTarArchiveEntry: Fix prefix handling for ustar * OFZIPArchive: Fix uncompressed + data descriptor * OFArray: Fix MessagePack encoding * of_asprintf: Don't require set up OFLocalization * OFGZIPStream: Add missing documentation * Fix a linker warning on OpenBSD/SPARC64 * Remove the OFFile b modes from MorphOS (they were already removed for all other OSes)
Add objfw version 0.90 ObjFW is a highly portable, lightweight, general purpose, open source Objective-C framework with full Objective-C 2.0, blocks and ARC support, providing not only basic classes like strings, arrays and dictionaries, but also providing abstractions for OS-dependant functionality like asynchronous sockets. While a lot of the core API is similar to Foundation, it breaks with Foundation's API on purpose in many places to embrace new features which Foundation can't use completely due to its backwards compatibility. One such example are exceptions, which are a first class citizen in ObjFW and not merely to inform the programmer of his wrongdoings like in Foundation. ObjFW runs on a huge list of platforms and offers the same API on all of them so that software written using ObjFW runs on all platforms supported by ObjFW without #ifdef hells or the like. It does not only run on almost any POSIX system that supports GCC >= 4, but it also works on Windows and niche platforms like the PlayStation Portable. Written and packaged by Jonathan Schleifer <js@heap.zone>