Commit graph

12945 commits

Author SHA1 Message Date
Richard Frith-Macdonald
db20d02fc0 Use alignment information properly 2025-02-27 14:37:32 +00:00
rfm
956eb5b303 Fix check for object pointer depending on alignment requirement. 2025-02-27 12:15:15 +00:00
rfm
3a0bb73131 Fix typos etc 2025-02-27 10:23:22 +00:00
rfm
aeb86d0afb Add some leak sanitization documentation 2025-02-26 17:04:21 +00:00
rfm
c5debba630 Fix for s390x 2025-02-22 22:41:10 +00:00
rfm
519c4da4b2 Update ChangeLog 2025-02-18 11:30:58 +00:00
rfm
9a74f86ae6 Fix for issue #491 2025-02-18 11:23:34 +00:00
rfm
b31a892fdb Diagnostics for failure of ffi tests 2025-02-18 11:16:54 +00:00
Hugo Melder
b3d5c20277 Update ChangeLog and fix coding style and leaks in testcases 2025-02-18 09:37:59 +00:00
Hugo Melder
05628229e4 NSKVOSupport: Unit tests for the legacy API 2025-02-16 09:29:19 +00:00
Hugo Melder
0f7d6a4b23 NSKVOSupport: Implement legacy KVO API
Implements the setKeys:triggerChangeNotificationsForDependentKey: class
method. Please do not use it. It is fundamentally broken, and requires
the object's meta class to hold additional state.

Keys from this class method are the last resort when retrieving
dependencies via keyPathsForValuesAffectingValueForKey:.
This aligns with the implementation in Foundation.
2025-02-16 09:29:19 +00:00
Wolfgang Lux
ee7a48c67c Add header for compiling with base-additions only on macOS 2025-02-14 17:26:24 +01:00
Wolfgang Lux
5bfbde1e5a Don't install CoreFoundation header when installing base additions on macOS 2025-02-14 17:25:16 +01:00
rfm
d1d5552dfb Fixup for requests with paths containing escaped slashes 2025-02-14 12:34:07 +00:00
rfm
b641bf1e99 New release 2025-02-10 17:00:46 +00:00
rfm
3259018843 Improve comments. 2025-02-09 13:00:43 +00:00
rfm
5fa8a06531 Hide some mistakenlt external symbols 2025-02-09 12:49:56 +00:00
rfm
48f01b610d Fix yet another leak 2025-02-06 20:11:08 +00:00
rfm
87be17f41b Merge remote-tracking branch 'refs/remotes/origin/master' 2025-02-06 20:00:37 +00:00
rfm
053c3118a1 More leak fixes 2025-02-06 19:58:32 +00:00
rfm
61a93f576f Fix a couple of leaks and some unnecessary use of non-portable code 2025-02-06 19:31:06 +00:00
hmelder
a043cb077c NSURLSession: Include WS2tcpip in test http server 2025-02-04 16:20:44 +08:00
rfm
732fd2d2fb Quick hack tool to compare class methods 2025-01-28 15:06:53 +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
a2e49377c6 complete accidental partial commit 2025-01-27 18:16:07 +00:00
rfm
cedccc9f09 Fixup location of declaration of new ivars 2025-01-27 17:08:30 +00:00
Gregory John Casamento
1e51260895 Merge branch 'master' of github.com:gnustep/libs-base 2025-01-27 10:40:24 -05:00
Gregory John Casamento
e8181d35fd make runtime tests hopeful for clang/mingw 2025-01-27 10:40:18 -05:00
rfm
524daa19ef Fix visibility of symbols exported in error 2025-01-26 19:21:00 +00:00
rfm
9ef3e2f24d Bugfix ... intenral functions should not have public visibility to linker 2025-01-26 19:01:55 +00:00
Hugo Melder
aa03a7f4e2 NSKVOSupport: remove objc2 features from tests 2025-01-23 10:07:52 +08:00
Hugo Melder
b7d49bd361 NSKVOSwizzling: Check if underlying class differs 2025-01-23 10:07:52 +08:00
Hugo Melder
c80ab1ee32 NSKVOSupport: Add proxy test with nested keypath 2025-01-23 10:07:52 +08:00
Hugo Melder
16dd5c4514 NSKVOSupport: Retrieve the underlying class when adding nested observers 2025-01-23 10:07:52 +08:00
Riccardo Mottola
943f8d82c3 Separate __has_attribute test from actual usage, as per GCC
documentaiton.

The first `#if' test succeeds only when the operator is supported by the version of GCC (or another compiler) being used. Only when that test succeeds is it valid to use __has_attribute as a preprocessor operator. As a result, combining the two tests into a single expression as shown below would only be valid with a compiler that supports the operator but not with others that don't.

https://gcc.gnu.org/onlinedocs/cpp/_005f_005fhas_005fattribute.html
2025-01-20 12:47:41 +01:00
rfm
2f21360642 Make it clear that failure to release an autorelease pool is a bug. fix typos 2025-01-19 18:41:00 +00:00
rfm
927eafacd8 remove obsolete ffcall information 2025-01-19 14:30:10 +00:00
rfm
9236ef986a Note that we want the mutation function exported 2025-01-19 12:30:31 +00:00
rfm
9b4965e100 define function in NSObject.m so that it won't be omitted by clever linkers 2025-01-19 10:23:33 +00:00
rfm
2cf2b2d7b9 Make tests run in a more reasonable time 2025-01-19 09:41:49 +00:00
rfm
c225efa3ba Implement dast enumeration mutation checks and add testcases for NSPointerArray 2025-01-19 08:42:12 +00:00
rfm
39b1b7fd01 I was looking to see why two windows systems might have started failing on this, without spotting any reason. I noticed that there were a couple of classes untested, so I added them. 2025-01-18 18:02:39 +00:00
rfm
d746ad53d7 Document -trackOwnership 2025-01-18 15:59:03 +00:00
rfm
30104e74f5 Add some memory management explanation/example 2025-01-18 15:20:40 +00:00
rfm
102b290c80 Resolve external subset information for validity checking 2025-01-17 14:46:24 +00:00
rfm
3f7647f15c Fix potential leak is the shared object is initialised more than once. 2025-01-17 12:23:06 +00:00
rfm
f48aca6921 Resolve conflict 2025-01-17 11:19:35 +00:00
rfm
0d70826bbe Merge branch 'xml_sax2' 2025-01-17 11:02:25 +00:00
rfm
c899bccd43 Coding style fixes and performance optimisation 2025-01-17 10:45:47 +00:00