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
rfm
e231fe2067
Increase timeout for slow testcase on mingw
2024-12-05 14:00:37 +00:00
rfm
eec5adb655
Add missing import
2024-12-05 12:39:46 +00:00
rfm
2de7793dbc
copy cache key in case it is mutated
2024-12-04 19:43:45 +00:00
rfm
8d2731c655
Add instructions on updating defaults
2024-12-04 17:57:23 +00:00
rfm
9ad13c4d24
fix typo
2024-12-04 16:01:04 +00:00
rfm
290f0d2f3a
Do not use inline arrays with ASAN
2024-12-04 15:58:34 +00:00
rfm
932eb5e1c3
Use bundle identifier for dedaults domain if possible
2024-12-04 14:49:16 +00:00
rfm
4860310071
Tidied
2024-12-04 14:15:57 +00:00
rfm
a82e358248
Improve stack trace when tracking
2024-12-04 11:00:42 +00:00
rfm
815a0d7b20
Tidyups
2024-12-04 11:00:26 +00:00
rfm
7ac6931039
update for GNUSTEP_WITH_ASAN
2024-12-04 10:44:48 +00:00
rfm
9cdb4f98ba
asan fixes for gcc and gnu runtime
2024-11-30 19:06:40 +00:00
rfm
018111efbb
LeakSanitizer fixups for gcc and gnu runtime
2024-11-30 18:23:48 +00:00
rfm
7a8fb1a0e7
doc tweaks
2024-11-30 13:59:12 +00:00
rfm
cf1283ef14
changelog entry
2024-11-30 07:41:58 +00:00
rfm
077133dda3
Fix leaks
2024-11-29 17:45:30 +00:00
rfm
85888dc903
Fix bug when tracking instances of a class and its superclass
2024-11-29 17:44:31 +00:00
rfm
818041d014
Fix leaks
2024-11-29 14:34:22 +00:00
rfm
e6b425d532
Report tracked objects at exit
2024-11-29 14:33:56 +00:00
rfm
a1a3f42ec0
Make use of new KVO implementation configurable
2024-11-29 11:55:47 +00:00
rfm
672fe7f909
Changes to avoid recursion if NSLog() is called during NSUserDefaults initialisation
2024-11-29 10:42:40 +00:00
rfm
e542cb7dff
Minor tidyup to use elif rather than else .. if
2024-11-29 09:42:18 +00:00
rfm
7379d51b05
Merge pull request #470 from Matvii-Jarosh/master
...
Add EdgeInsets missing function in value
2024-11-29 09:39:13 +00:00
rfm
f371b8068e
Merge branch 'master' into master
2024-11-29 09:38:36 +00:00
rfm
b280b40a15
Merge branch 'atexit'
2024-11-28 11:48:39 +00:00
rfm
f2368086f4
A bit of re-ordering to try to avoid premature initialisation of NSUserDefaults.
2024-11-27 16:25:08 +00:00
Matvii Jarosh
ba0d5403f9
Fix NSByteOrder
2024-11-26 17:51:28 +02:00
Matvii Jarosh
64308292a8
maybe finished NSInvocation
2024-11-25 19:22:39 +02:00
rfm
168c2a4c90
fix a leak establishign a connection
2024-11-24 16:38:23 +00:00
rfm
7d4771ec2d
add missing brackets
2024-11-22 06:27:57 +00:00
rfm
021812f43d
Fix another leak
2024-11-22 06:18:44 +00:00
rfm
99bb50d2c0
avoid stack overflow
2024-11-22 06:04:38 +00:00
rfm
4c287f20b3
More regular expression leak fix changes ... use older code (plus fixes).
2024-11-21 21:05:34 +00:00
rfm
087716fffa
Improve dagnostic method for memory leaks
2024-11-21 18:18:06 +00:00
rfm
37e07116a0
Document latest changes
2024-11-21 14:48:18 +00:00
rfm
c224c63c2f
Fix leak
2024-11-21 14:36:16 +00:00
rfm
65ae40722e
Fix leak of autorelease pools
2024-11-21 14:35:54 +00:00
Matvii Jarosh
410b295b01
Add EdgeInsets missing function in value
2024-11-21 13:01:31 +02:00
rfm
7b77a2074a
Workaround to avoid memory leak in ICU functions if we set NULL as destination.
2024-11-20 17:46:35 +00:00
rfm
91124f3247
Fix boundary error in replacement function
2024-11-20 17:46:08 +00:00