Commit graph

12838 commits

Author SHA1 Message Date
rfm
5a9eeec452 Merge branch 'master' into weakref 2024-12-31 14:33:53 +00:00
rfm
46d19b5dd5 Updates for changes to IANA time zone data. 2024-12-31 14:31:43 +00:00
rfm
7072a38eb3 Add tests for MET time zone setup 2024-12-31 13:13:04 +00:00
rfm
7bb34b7102 Prodyce more informative logging 2024-12-31 12:17:52 +00:00
rfm
44a0355e79 Merge branch 'master' into weakref 2024-12-31 12:02:48 +00:00
rfm
3120a1e391 Fix code for renaming old (process name) defaults to new (bundle identifier). 2024-12-31 12:01:43 +00:00
rfm
c069d30f9c Merge branch 'master' into weakref 2024-12-31 10:57:11 +00:00
rfm
5d7018ac9b Make MET a preffered abbreviation, in hope that it might fix CI failures 2024-12-31 10:53:33 +00:00
rfm
b90d591dfe Merge branch 'master' into weakref 2024-12-30 13:02:23 +00:00
rfm
970e5a32c4 fix truncated region information 2024-12-30 13:00:21 +00:00
rfm
0d66ee0f82 Fix false positive in leak analysis due to clearing pointer at exit 2024-12-30 12:59:20 +00:00
rfm
9e86902ba1 Alter initialisation order to make plist generation more robust. 2024-12-30 12:57:59 +00:00
rfm
314a609fe8 Use fprintf rather than NSLog to record object ownership tracking with minimal dependencies on any classes. 2024-12-30 12:56:44 +00:00
rfm
502d195487 Merge branch 'master' into weakref 2024-12-28 12:22:27 +00:00
rfm
ccc40f0ae4 Update version number and time zone data for next release 2024-12-28 12:09:23 +00:00
rfm
a11305a463 Merge branch 'weakref' of ssh://github.com/gnustep/libs-base into weakref 2024-12-28 07:49:25 +00:00
rfm
0ede979d15 Fixes for tests with weak pointers in notification observers. 2024-12-28 07:48:32 +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
e40bd4891f Add marking of an instance as having been weakly referenced. 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
950e2a5f07 Move old process name domain to new bundle identifier domain automatically 2024-12-28 07:46:36 +00:00
rfm
40bae2097e Fixes for tests with weak pointers in notification observers. 2024-12-27 13:11:10 +00:00
rfm
f6d47bade4 tweaks for gnustep runtime 2024-12-27 12:15:48 +00:00
rfm
4a477aa34c Weak pointer support fixes and use for notification observers. 2024-12-27 10:39:35 +00:00
rfm
882ded1a05 Add marking of an instance as having been weakly referenced. 2024-12-25 12:19:33 +00:00
rfm
927e97eaac Preliminary code for emulation of the objc2 runtime weak reference feature 2024-12-23 18:32:23 +00:00
rfm
e7716e6ed1 Fix error handling the case where a cookie is not parseable ... in needs to be removed from the array. 2024-12-23 17:38:45 +00:00
rfm
34112fa510 Fix leaks in tests 2024-12-23 17:38:14 +00:00
rfm
394d858813 Fix leaks in tests 2024-12-23 13:16:14 +00:00
rfm
d6c1d36985 simplify life of charset 2024-12-19 21:02:44 +00:00
rfm
4fb5022168 match conding standards for whitespace and layout 2024-12-19 21:01:39 +00:00
rfm
5aa5692768 Fix memory leaks 2024-12-19 19:18:18 +00:00
rfm
546ca94ede Merge remote-tracking branch 'origin/master' 2024-12-19 17:13:03 +00:00
rfm
5a150d8fa2 Be more careful to break retain cycles 2024-12-19 16:51:21 +00:00
rfm
1f0bac21e3 Fixups for old ABI. 2024-12-19 11:48:10 +00:00
rfm
d5da27bcbc Fix error unlinking old namespace 2024-12-19 11:37:59 +00:00
rfm
0d010003f9 Record detached document of a node and use that to fix memory leak. 2024-12-19 10:26:19 +00:00
Hugo Melder
3f27cb0d23 NSKVOSupport: Mark proxy test as hopeful 2024-12-13 03:29:30 -08:00
Hugo Melder
cd09be4c53 NSKVOSupport: Move ivar block to declaration
GCC does not support private ivar definitions in the implementation
block.
2024-12-13 03:29:30 -08:00
Hugo Melder
bde70572c9 GSFFIInvocation: Always use objc_msg_lookup
The current implementation skips hidden classes, which breaks KVO.
It turns out that GSGetMethod + method_getImplementation is about
50% slower than objc_msg_lookup (gnustep-2.2 ABI).
2024-12-13 03:29:30 -08:00
Hugo Melder
d4de228c6f NSKVOSupport: Add observer via proxy test
The new KVO implementation for libobjc2/clang, located in Source/NSKVO*, reuses
or installs a hidden class and subsequently adds the swizzled method to the
hidden class. Make sure that the invocation mechanism calls the swizzled method.
2024-12-13 03:29:30 -08:00
Hugo Melder
4b3bd1aa90
NSPointerArray: Implement fast enumeration (#477)
* NSPointerArray: Implement NSFastEnumeration

* NSPointerArray: Test for duplicate values in array

* NSPointerArray: Fast enumeration tests
2024-12-13 12:01:07 +01:00
rfm
4a4a802060 Set launch directory before AbsolutePathOfExecutable() needs it. 2024-12-08 13:40:59 +00:00
rfm
597d10d9cf Check for nil bundle identifier (eg early in initialization) 2024-12-07 16:22:20 +00:00
rfm
30d66f525b Fixes proposed by Frederick Seiffert 2024-12-07 16:20:28 +00:00
rfm
7c038fff64 Add debug of problems in finding absolute executable path 2024-12-06 21:45:55 +00:00
rfm
e7dd2f741a Don't assert inside lock protected region (could leave lock held). 2024-12-06 12:01:21 +00:00
rfm
476b4f75ec Fix error in inline array changes 2024-12-06 11:20:48 +00:00
rfm
a75d1c7b18 Add diagnositcs for faulure to get executable pathhhhhhhhhhhhhhhhhhhhhhhhh 2024-12-06 10:58:15 +00:00