Up to [cvs.NetBSD.org] / pkgsrc / devel / objfw
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Update devel/objfw to 1.5.7 ## ObjFW 1.5.7 2026-07-03 Changes from ObjFW 1.5.6: * Fixes tombstone counting in OFMapTable that could lead to incorrect out of range exceptions * Fixes timers with 3 objects firing twice * Copies for atomic properties are now performed outside the spinlock to avoid a possible deadlock * Fixes a memory leak in objc_removeAssociatedObjects * Avoids an unnecessary autorelease pool in OFEpollKernelEventObserver
Update devel/objfw to 1.5.6 Changes from ObjFW 1.5.5: * Unpaired UTF-16 surrogates are now converted to WTF-8 * Collections now refuse to be inserted into themselves * Fixes OFMutableData dropping the itemSize in one convenience initializer * Fixes OFFileIRIHandler setting the UID to the GID * Fixes handling of BOM in -[OFUTF8String initWithUTF8StringNoCopy:length:freeWhenDone:] * OFMutableIndexSet now correctly inserts / removes from self * OFMutableUTF8String now correctly appends and replaces self * Fixes handling of TLS close notifications * Fixes relocking the mutex in OFCondition on Windows * Fixes searching for a handler after a cleanup in the runtime * Fixes parsing JSON containing an exponent without a decimal point * Call va_end() after va_copy() everywhere * Default depth limit of all parsers increased from 32 to 128 * -[OFIRI fileSystemRepresentation] now rejects IRIs with a non-empty host, except on Windows where it is used for UNC * Fixes setting a nil extraField in OFMutableZIPArchiveEntry * Fixes setting a nil Amiga comment in OFMutableTarArchiveEntry * Fixes unescaping of quoted keys / values in OFINISection * Fixes octal numbers incorrectly being accepted for JSON5 * Adds various missing memory barriers and fixes wrong memory barriers * Various robustness improvements in OFASPrintF, OFBMPImageFormatHandler, OFConcreteData, OFConcreteNumber, OFConcreteSet, OFCountedSet, OFDNSResolver, OFDatagramSocket, OFFile, OFFileManager, OFGZIPStream, OFHTTPRequest, OFHTTPResponse, OFHTTPServer, OFHuffmanTreeFree, OFINIFile, OFINISection, OFIRI, OFImage, OFIndexSet, OFMapTable, OFMutableDictionary, OFMutableString, OFMutableUTF8String, OFNumber, OFPlainThread, OFSCTPSocket, OFSandbox, OFSocket, OFStrFTime, OFString, OFString+JSONParsing, OFTLSStream, OFUTF8String, OFWindowsRegistryKey, OFXMLComment, OFXMLParser, OFXMLProcessingInstruction, OFZooArchive, ObjFWBridge and exception support in the runtime
Update devel/objfw to 1.5.5 ObjFW 1.5.4 -> ObjFW 1.5.5, 2026-05-31 * Fixes replacing a string within a range that does not start at 0. * Fixes -[OFData rangeOfData:options:range:] if the specified range does not start at 0. * Fixes -[OFMutableData subdataWithRange:]. * Fixes a missing retain/release in OFConcreteMutableArray. * Fixes -[initWithContentsOfIRI:] being extremely slow for both OFString and OFData on some operating systems such as Windows. * Fixes wrong count after -[OFList removeAllObjects]. * Fixes objc_setAssociatedObject() / objc_removeAssociatedObjects() releasing the object within the spinlock, which could potentially deadlock. * Fixes OFBlock calling a dispose handler that doesn't exist. * Fixes -[OFConcreteMutableArray removeAllObjects] not increasing the mutations. * Fixes Deflate64 with sequence lengths > 65535. * Robustness improvements in Deflate, LHA, Tar, ZIP, BMP, QOI and MessagePack. * Fixes a missing rethrow in OFOpenSSLTLSStream that could result in hangs. * Correctly handles `*` in format strings now. * OFDate rejects invalid dates with tm_mon >= 12 now. * OFXMLParser rejects numeric entities == 0 or > U+10FFFF now, as well as surrogates. * OFString rejects overlong UTF-8 encodings now. * Fixes a retain cycle and a missing rethrow in OFCFRunLoopKernelEventObserver. * Fixes the number of redirects accidentally being reset in OFHTTPClient. * OFHTTPClient is now stricter about when to include the Authorization header during redirects. * Fixes -[objectByParsingJSON] reporting the wrong line on parsing errors. * Fixes -[objectByParsingJSON] overallocating. * Fixes -[objectByParsingJSON] not enforcing a low surrogate after a high surrogate. * Changes default depth limit to 128 for both JSON and MessagePack. * Base64 now rejects spurious `=` in the middle of the string. * OFHTTPClient and OFHTTPServer now have more robust handling of Transfer-Encoding. * OFDNSResolver is more compliant with the RFC now. * MessagePack now rejects nanoseconds >= 1000000000 as per specification. * Fixes OFConcreteArray accepting `nil` as the first object in some cases. * Fixes OFMatrix4x4 jumping to the wrong label in inline assembly, causing the loop to always run at least once. * Fixes wrong initialization in OFColorSpace. * Fixes -[OFColor colorUsingColorSpace:] always using sRGB. * Fixes some colors comparing equal despite having a different hash in OFColor. * OFAllocObject() and class_createInstance() now reject a too big extra size. * Fixes objc_setPropertyStruct() using the wrong spinlock. * Fixes MIPS32 lookup assembly using the wrong load size. * Fixes PowerPC 64 forwarding assembly comparing with the wrong register size. * Fixes a typo that made ARM32 forwarding assembly for Apple not compile. * Fixes a typo that made compiling for Windows without atomic operations fail. * OFApplication now checks the return value of unveil().
Update devel/objfw to 1.5.4 ObjFW 1.5.3 -> ObjFW 1.5.4, 2026-05-23 * Fixes a buffer overflow caused by integer promotion rules in OFBMPImageFormatHandler and OFQOIImageFormatHandler.
Update devel/objfw to 1.5.3 ObjFW 1.5.2 -> ObjFW 1.5.3, 2026-05-20 * Fixes OFForwardingTests on Windows with GCC. * Fixes OFHTTPCookieManager which was completely broken. * OFHTTPServer refuses to send responses that contain a newline in the headers or the server name now. * Fixes setting the Amiga Comment to nil in OFMutableTarArchiveEntry. * Improves handling of truncated archives in OFLHAArchiveEntry. * OFThread no longer inherits the priority on AmigaOS. * Uses better source for randomness now to find a free port on platforms that can't bind to port 0. * ofarc now strips drives from the paths it stores inside the archive. * Fixes ofarc failing to create ZIP archives with specific paths on AmigaOS. * Fixes ofarc incorrectly storing Amiga Protection in ZIP archives.
Update devel/objfw to 1.5.2 ObjFW 1.5.1 -> ObjFW 1.5.2, 2026-05-08 * Makes ObjFWConfig.cmake work on MSYS2. * ObjFWConfig.cmake now also adds the flags for OBJCXX. * OFFile no longer uses O_EXLOCK for "x" modes. * Fixes the `OF_AMD64` define on Windows. * ofhttp now removes the terminal's progress indicator on abort.
Update devel/objfw to 1.5 Legend: * Changes of existing features or bug fixes + New features ObjFW 1.4.4 -> ObjFW 1.5, 2026-02-22 + Adds OFColorSpace and adds support for color spaces to OFColor. Supports sRGB, linear sRGB, BT.709, Display-P3, linear Display-P3, BT.2020, linear BT.2020, Adobe RGB and linear Adobe RGB. + Adds OFImage to store an image in various pixel formats and color spaces. + Adds OFCanvas to create (draw) images, including bilinear image scaling and alpha blending in linear color space and pixel format and color space transformations when source and destination use a different pixel format and/or color space. + Adds OFImageFormatHandler as a generic interface to handle image formats including a registry for image formats so that it can be extended by 3rd parties. + Adds an OFImageFormatHandler for BMP and QOI images. + Adds support for CMake projects using ObjFW. + Adds support for Unicode 17. + Adds methods to OFString and OFMutableString to remove control characters. + OFLocale now escapes all control characters in variables unless the variable name starts with an `@`. * OFStdOut and OFStdErr now allow writing with a lossy encoding if they have an underlying terminal. + OFStdOut and OFStdErr now support setting the terminal's progress indicator. * Revives support for AmigaOS 4 that had bitrotten over the years. + OFFileIRIHandler now supports nanosecond precision on operating systems that support it. + OFFileIRIHandler now supports setting file owner and group on UNIX systems. + OFFileIRIHandler now supports retrieving and setting of MS-DOS attributes, Amiga file protection and Amiga file comments. + OFArchiveEntry now has a file type property shared by all archive formats. + OFLHAArchiveEntry now supports MS-DOS attributes, Amiga file protection and Amiga file comments. * OFLHAArchiveEntry now handles \xFF in level 0 header filenames. * OFLHAArchiveEntry now works around Amiga LHA using broken UNIX time. + OFTarArchive now supports PAX extended headers to allow for files > 8 GB. + OFTarArchive now supports Amiga file protection and Amiga file comments. * Fixes OFZIPArchiveEntry not correctly copying the comment when performing a mutable copy. + Adds a new type OFFloat16 for 16-bit floating point that is always available, even when the platform does not support float16. * OFHTTPClient now has improved logic when to use keep-alive connections. + OFHTTPClient now supports custom run loop modes. * OFHTTPClient now explicitly removes "Authorization" headers on redirects to other hosts. * OFHTTPClient no longer allows newline characters in headers. * OFINIFile now rejects section names with newlines and merges repeated sections. * OFInflateStream has been renamed to OFDeflateStream in anticipation for compression support. * Fixes +[OFSystemInfo networkInterfaces] on MorphOS. * objfw-config now includes flags for Stack Protector & RELRO in LDFLAGS to avoid linker errors if ObjFW has been built with Stack Protector & RELRO. * Fixes a potential race condition for weak references in the runtime. * Removes support for Secure Transport. + Adds support for Mbed TLS 4. * openssl4.library is now lazily loaded on MorphOS to avoid a dependency on it until it is actually needed. + ObjFWHID adds support for the following controllers: GameCube controller via adapter (Linux & macOS), DualShock 1/2 via adapter (Linux), DualShock 3 (Linux), MOCUTE-053X-M35-HID (Linux) * ObjFWHID and ObjFWTLS now have proper version information in their .dll files. + ofarc now supports files > 8 GB in Tar files. + ofarc now stores UNIX permissions in ZIP files. + ofarc now preserves Amiga file protection and Amiga file comments in LHA, Tar and ZIP files (creation and extraction). + ofarc now preserves MS-DOS attributes for LHA and ZIP files (creation and extraction). * ofarc now removes all escape codes from output to stderr (except those used for its own formatting). + ofdns now supports passing a name server as a domain name itself to --server=. * ofhash now removes all escape codes from output to stderr (except those used for its own formatting). + ofhttp now uses color, bold and underlined for improved formatting and sets the terminal's progress indicator. * ofhttp no longer follows 301/302/307 redirects as a result of a non-GET and non-HEAD request. * ofhttp now removes all escape codes from output to stderr (except those used for its own formatting).
Update devel/objfw to 1.4.4 ObjFW 1.4.3 -> ObjFW 1.4.4, 2026-02-01 * Fixes Swift interoperability. * Fixes building for Wii with new devkitPro. * Fixes missing background color rounding in OFStdIOStream. * Adds iso8859-* as an alias for iso-8859-*. * Fixes objfw-compile not passing -f* and -m* to the linker * Makes ofhttp always send an Accept header to avoid being flagged as suspicious by some websites. * Fixes ObjFWTLS with OpenSSL when using Apple GCC 4.0.1. * Fixes a few missing OF_RETURNS_INNER_POINTER. * Fixes some OFMutableStringTests not being run.
Update devel/objfw to 1.4.3 ObjFW 1.4.2 -> ObjFW 1.4.3, 2025-12-20 * Fixes a bug where calling -[OFTimer invalidate] multiple times would also release its block multiple times. * Fixes incomplete initialization in OFHuffmanTree, which is used by Deflate, LHA and Zoo. * Fixes OFLHAArchiveEntry accidentally doing bit shifts on signed integers, resulting in being unable to list or extract some archives. * Fixes -[OFTarArchive compressedSize] being too big when the file size is a multiple of 512. * +[OFSystemInfo networkInterfaces] makes sure now sockets are initialized. * Fixes ofarc waiting for user confirmation even if there is no TTY.
Update devel/objfw to 1.4.2 ObjFW 1.4.1 -> ObjFW 1.4.2, 2025-10-05 * Fixes compatibility with C++ 20 and up. * Fixes +[alloc] being able to return nil. * Fixes -[canBlock] being inherited for sockets returned by -[OFStreamSocket accept] being OS-dependent. * Fixes MPTCP being used on old macOS versions that don't support it. * Fixes parsing of ZIP64 local headers in OFZIPArchive when only some values in the regular local header are set to -1. * Fixes handling of 0 byte ZIP64 extra field in OFZIPArchiveEntry. * OFZIPArchive no longer verifies the local header date to better deal with broken archives. * Fixes parsing of header level 0/1 dates in OFLHAArchiveEntry. * Fixes OFZooArchiveEntry emitting the wrong length for the variable length. * Fixes ofarc setting directory permissions before extracting its files. * Fixes setting OFStdIOStream colors to `nil` on MS-DOS. + Adds support for aarch64_be in the runtime lookup assembly.
devel/objfw: Reduce number of PLISTs
Update devel/objfw to 1.4.1 ObjFW 1.4 -> ObjFW 1.4.1, 2025-08-25 * Optimizes CRC16 and CRC32 calculation, thereby fixing bad extraction speed for OFGZIPStream, OFLHAArchive, OFZIPArchive & OFZooArchive. This speeds up extracting a ZIP archive using ofarc from being significantly slower than unzip to being noticeably faster than unzip. + Adds missing man page for ofgctester. * Fixes compiling with the upcoming MorphOS SDK. * Uses SetFilePosixDate on MorphOS if available to avoid incorrect dates during DST transitions.
Update devel/objfw to 1.4 ObjFW 1.3.2 -> ObjFW 1.4, 2025-08-03 * Memory management for objects was moved to the runtime, making many optimizations possible. * Many runtime optimizations were added. + Adds new classes: OFIndexSet, OFMutableIndexSet. + Adds new methods using OFIndexSet to OFArray, OFMutableArray and OFMutableData. + OFStream now supports setting a default encoding for the stream that will be used for all string operations that don't specify an encoding. + Adds support for asynchronously opening an item to OFIRIHandler. + Adds support for building the runtime as a .library on MorphOS. + Adds support for abstract UNIX sockets on Linux. + Adds basic math operations for OFVector3D and OFVector4D. + Adds support for hiding / showing the cursor to OFStdIOStream. + Adds support for compressed localizations to OFLocale. + Adds new util ofgctester to test game controllers using ObjFWHID. + Starts using OF_DIRECT with the ObjFW runtime when using Clang >= 21. + OFTLSSocket now supports client certificates officially instead of being an unsupported byproduct of support for server certificates (the only change is that this fixes mbedTLS using the certificate chain to verify the server when it should only be used for the client certificate). * Many fixes for AmigaOS and MorphOS. * Everything is built with RELRO, _FORTIFY_SOURCE=3 and -fstack-protector by default now. * Utils are now always built as PIE if possible. * Utils now write status messages to stderr instead of stdout.
Update devel/objfw to 1.3.2 ObjFW 1.3.1 -> ObjFW 1.3.2, 2025-06-08 * Fixes handling of truncated writes in OFRunLoop. * Makes OFHTTPServer more reliable. * Fixes handling of write errors when using OpenSSL. * Fixes reporting of written bytes in OFWriteFailedException when using GnuTLS. * Fixes reporting of written bytes in OFWriteFailedException when using MbedTLS. * Fixes handling of EPIPE and ECONNRESET when using Secure Transport.
Update devel/objfw to 1.3.1 ObjFW 1.3 -> ObjFW 1.3.1, 2025-06-07 * Fixes OpenSSL TLS streams being reported as ready for reading when they are not. * Fixes using async I/O on OFHTTPServer's request body or response. * Fixes configure on Solaris / Illumos. * Improves configure check for GameController.framework. * Removes unncessary promotion to double in OFColor. * Fixes handling the last disk number on ZIP64 archives. * Fixes OFLHAArchiveEntry on big endian systems. * Fixes inconsistent nullability in OFMutablePair and OFMutableTriple.
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
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.
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
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.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.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.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
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
devel/objfw: Add options to select TLS implementation
devel/objfw: Remove --enable-static
Update devel/objfw to 1.0 This is the first stable release with stable API and ABI.
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>