Commit graph

12919 commits

Author SHA1 Message Date
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
rfm
1d977212f6 Merge branch 'xml_sax2' 2025-01-17 10:44:44 +00:00
rfm
9c89fd327a Merge branch 'master' into xml_sax2 2025-01-16 11:42:42 +00:00
rfm
d07c207139 Doc changes preparatory to new release 2025-01-16 11:41:50 +00:00
rfm
caba32dddb Merge branch 'master' into xml_sax2 2025-01-15 09:31:49 +00:00
rfm
5926e58091 Don't depend on timing (different machines vary hugely) for pass/fail. 2025-01-15 09:29:54 +00:00
rfm
b5e0ef1514 Updates to handle entity resolution for libxml2-2.13.? 2025-01-15 09:23:59 +00:00
Riccardo Mottola
da9dc23a89 try to resolve internal and external subset with functions 2025-01-13 23:28:18 +01:00
rfm
479cccebe8 Correct (for #486) -localizedDescription to always return a string. 2025-01-13 15:31:09 +00:00
rfm
afa5035d2c fix leak in testcase 2025-01-10 17:19:56 +00:00
rfm
506710cb72 Merge remote-tracking branch 'refs/remotes/origin/master' 2025-01-10 17:18:29 +00:00
rfm
cf73e7fdb3 Fix leak of instance memory 2025-01-10 17:17:21 +00:00
rfm
82a324be09 fix leak in testcase 2025-01-10 17:12:34 +00:00
rfm
efaa5552b3 fix leak in testcase 2025-01-10 16:20:58 +00:00
rfm
ab715bd50c Fix leak in testcase 2025-01-10 15:10:12 +00:00
rfm
b6af7bd905 header change missed in last commit 2025-01-10 12:26:06 +00:00
rfm
6156b61539 Fix leaks of libxml2 detached nodes 2025-01-10 12:05:17 +00:00
rfm
496d06fbb7 Tiny optimisation suggested by Frederik Seiffert 2025-01-09 16:11:53 +00:00
rfm
ada4388be4 Revert code to sero out memory ... best not to use zombies with leak checking 2025-01-09 11:35:53 +00:00
rfm
4ee212de63 Ignore NSDeallocateZombies (and generate a warning) when the runtime can't support it. Also, when built with ASAN, null-out the memory of zombie instances so the fact that the memory hasn't been freed does not cause false negatives. 2025-01-09 11:21:24 +00:00
rfm
8812ea6023 Fix potential initialisation error if we somehow have no args 2025-01-09 11:07:20 +00:00
rfm
8dbb7ea40a Fix size of buffer for backtrace 2025-01-09 11:06:31 +00:00
rfm
f15eb90b8a Fix leaks in testcases 2025-01-09 10:51:38 +00:00
rfm
041edc145e Fix leak when allocating standard file handles 2025-01-09 10:37:07 +00:00
rfm
5f904d0f79 Fix a few leaks 2025-01-09 10:25:41 +00:00
rfm
d3603a8e24 Fix leaks in testcases 2025-01-09 10:25:00 +00:00
rfm
6f0765cbb3 Fix leak (user info both copied and retained) 2025-01-09 10:03:52 +00:00