Commit graph

282 commits

Author SHA1 Message Date
rfm
c19d77bd0e Make deprecation macro name consistent (it applies to methods, not just functions) and add attribute to mark non-portable features. 2025-03-27 10:27:23 +00:00
rfm
d622530819 tweaks for non-atomic associated values 2025-03-10 12:26:41 +00:00
rfm
3bcdf824f8 Fixup order of declarations 2025-03-09 15:42:13 +00:00
Richard Frith-Macdonald
6655f4e00d OSX fixes 2025-03-09 15:39:21 +00:00
rfm
fb135dc0ee improve comments 2025-03-09 08:40:24 +00:00
rfm
a46f86837f associated objects initial implementation 2025-03-08 17:26:32 +00:00
rfm
956eb5b303 Fix check for object pointer depending on alignment requirement. 2025-02-27 12:15:15 +00:00
rfm
aeb86d0afb Add some leak sanitization documentation 2025-02-26 17:04:21 +00:00
rfm
d1d5552dfb Fixup for requests with paths containing escaped slashes 2025-02-14 12:34:07 +00:00
rfm
c64c3d9923 Remove non-existent header 2025-01-28 10:07:51 +00:00
rfm
50e7e10525 Remove incomplete/test API prior to release 2025-01-28 09:47:21 +00:00
rfm
b5e0ef1514 Updates to handle entity resolution for libxml2-2.13.? 2025-01-15 09:23:59 +00:00
rfm
b6af7bd905 header change missed in last commit 2025-01-10 12:26:06 +00:00
rfm
4c9c691626 Operation queue convenience methods 2025-01-07 13:05:55 +00:00
rfm
6b04eaa35c allow more arguments 2025-01-06 22:43:18 +00:00
rfm
9395e20db9 Add convenience methods to perform a method as an operation 2025-01-06 21:40:39 +00:00
rfm
b41e352662 tweaks for gnustep runtime 2024-12-28 07:48:32 +00:00
rfm
bdf4403195 Weak pointer support fixes and use for notification observers. 2024-12-28 07:48:32 +00:00
rfm
c66bd6ec5c Preliminary code for emulation of the objc2 runtime weak reference feature 2024-12-28 07:48:32 +00:00
rfm
7a8fb1a0e7 doc tweaks 2024-11-30 13:59:12 +00:00
rfm
087716fffa Improve dagnostic method for memory leaks 2024-11-21 18:18:06 +00:00
rfm
2278c79f62 Add +trackOwnership method to trace tetain/release for objects of a class 2024-11-20 14:27:44 +00:00
rfm
0243b4efec Revert unnecessary change 2024-11-19 11:06:26 +00:00
rfm
ef0569cd4a Rename method to better reflect what it actually does. 2024-11-19 09:20:06 +00:00
rfm
cd3e69245d More leak management fixes 2024-11-17 16:16:46 +00:00
rfm
75ae2da498 Fix bug when emptying an empty array 2024-11-16 11:41:12 +00:00
rfm
072c17f315 Add some consistecy checks 2024-11-15 12:28:14 +00:00
rfm
8b0543571b Don't use deprecated +leak: method. 2024-11-14 14:56:28 +00:00
rfm
25505b2e67 Some more leak improvements 2024-11-14 14:45:05 +00:00
rfm
dd3367de3b atexit improvements 2024-11-14 12:52:43 +00:00
rfm
b78b2e2030 hash/map table and pointer functions fixups 2024-11-12 12:03:24 +00:00
rfm
6667842dd5 Update FSF address as requested by Gregory 2024-11-07 13:37:59 +00:00
rfm
ed4e305026
NSURLSession rewrite (#422)
* clang-format: Do not use tabs

* Ignore clangd cache and compile_commands

* NSBlockOperation: Fix memory leak

* NSHTTPCookie: Fix expires date parsing

* NSHTTPCookie: Release DateFormatter after use

* NSOperation: Remove all objects at end of execution

* Reimplementation of NSURLSession

* NSURLSession: Update expiration dates in test

* Update ChangeLog

* Fix trivial compiler warning caused by missing import

* Import GSDispatch.h for definition of DISPATCH_QUEUE_SERIAL

* Import common.h early to avoid header conflict

* Fix import order to avoid conflicts and ensure we have correct localisation macro

* Check for presence of dispatch_cancel

* Cancel timer using dispatch_source_cancel() if dispatch_cancel() is missing.

* NSURLSession: Replace dispatch_io with dispatch_source in unit test HTTP server

---------

Co-authored-by: hmelder <service@hugomelder.com>
2024-08-16 14:08:41 +02:00
Hugo Melder
81b3c721bc
NSUserDefaults: Retrieve native UI languages from Windows and Android System APIs (#426)
* Create NSString Win32Additions Category

* NSUserDefaults: Fetch Windows UI language information

* NSUserDefaults: Add winnls include

* Android Native UI Language

* NSUserDefaults: Replace incorrect separator on Windows

* NSProcessInfo: BCP-47 Note

* GSConfig: Bump MinGW WINVER to Vista

* NSString+Win32Additions: Do not add array to arp twice

* NSUserDefaults: Increase default length
2024-08-07 16:26:16 +02:00
rfm
a2b9be6287 update config for recent autoconf 2024-07-16 14:20:38 +01:00
rfm
58ae7db59a fixup headers for deletion of obsolete lock code 2024-05-30 11:06:23 +01:00
rfm
241e2a47ca locking updates (fine grained locking rather than global lock) 2024-05-30 10:40:52 +01:00
rfm
430629b097 Note deprecation of old locking stuff 2024-05-27 07:57:03 +01:00
Frederik Seiffert
94a6cb9919 Fix Unicode includes in NSString.m
Fixes compilation using ICU bundled with Windows.
2024-05-15 17:09:00 +02:00
hmelder
53b02bab91 Generate configure and config.h.in 2024-04-28 23:22:20 +02:00
rfm
4f24e0e35d
Merge pull request #389 from qmfrederik/rocky-check
Use AC_SEARCH_LIBS instead of AC_CHECK_LIB for sframe
2024-04-28 10:31:38 +01:00
Gregory John Casamento
ec8e784f82 Quick Fix: Add macro for macOS14, Sonoma 2024-04-21 11:56:17 -04:00
Frederik Carlier
e0af8f8035
Use AC_SEARCH_LIBS instead of AC_CHECK_LIB for sframe
Make it optional, this library is not available on Enterprise linux
2024-04-20 20:07:56 +00:00
rfm
b9ae7bf03c
Merge pull request #332 from qmfrederik/fixes/blocks-header-detection
Use `__has_include` to choose between <Block.h> and <objc/blocks_runtime.h>
2024-04-14 11:46:12 +01:00
Frederik Carlier
c1d982a854 MinGW: Add dllimport/dllexport attributes when compiling with clang
The GCC compiler will automatically export all symbols on MinGW, but this is not the case for clang.  Add the `__declspec` attributes when compiling with clang on MinGW.
2024-01-19 14:20:45 +01:00
rfm
5917e32dbb Add macro to mark unimplemented functions and methods 2023-11-21 08:54:39 +00:00
rfm
b4feee311f Fix for #334 2023-11-14 21:20:50 +00:00
rfm
58397df4bc Merge branch 'autogsdoc-improvements'
Adds ObjC2 support and various bugfixes
2023-11-14 20:00:36 +00:00
rfm
ae9892db11 Use closefrom() if available 2023-11-14 11:34:55 +00:00
rfm
40ebe6df30 Minore documentation cross reference fixes 2023-10-30 19:55:45 +00:00