rfm
479cccebe8
Correct (for #486 ) -localizedDescription to always return a string.
2025-01-13 15:31:09 +00:00
rfm
cf73e7fdb3
Fix leak of instance memory
2025-01-10 17:17:21 +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
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
6f0765cbb3
Fix leak (user info both copied and retained)
2025-01-09 10:03:52 +00:00
rfm
6f7a4d74c2
Fix leaks
2025-01-09 09:19:03 +00:00
rfm
cf8c387900
Correct the fix for the FFI invocation memory leak.
2025-01-09 06:21:48 +00:00
rfm
05d34f1a30
revert
2025-01-09 06:06:12 +00:00
rfm
6b5b1f1ed0
Fix leaks
2025-01-08 22:32:14 +00:00
rfm
54ed8e41e9
relinquish rather then assigning nil when emptying
2025-01-08 22:31:12 +00:00
rfm
76a1b0d92a
Correct memory information for opaque personality
2025-01-08 22:30:37 +00:00
rfm
aa0aa08c01
mingw does not support the weak attribute
2025-01-08 17:24:10 +00:00
rfm
7e66968c2e
Another tweak to avoid false positives with leak analyzer
2025-01-08 16:40:05 +00:00
rfm
dfd1526455
Purge observations with dead weak references when trying to remove an observer
2025-01-07 19:43:02 +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
1cdc60d748
Fix race condition allowing operation to be added for a thread at the same time that the thread is exiting.
2025-01-06 20:55:55 +00:00
rfm
ccab2cdbd1
Fix a little of the non-portable code (@{..} syntax) and trivial style issues
2025-01-06 20:31:04 +00:00
rfm
9b6267a491
Avoid using clang specific code
2025-01-05 16:42:19 +00:00
rfm
2882d8c812
Simplify by removng unnecessary argument in new callback
2025-01-04 16:50:13 +00:00
rfm
c722328e5c
Regular expression improvements for classic environment
2025-01-04 15:05:14 +00:00
rfm
1108135232
Issue #305 ... produce NSError with 516 code on copy failure because destination already exists.
2025-01-03 16:05:09 +00:00
rfm
bc3d2508ee
Avoid use of NSDeallocateObject() as it dooesn't work properly with new runtime.
2025-01-02 17:43:28 +00:00
rfm
ae8367e401
Merge branch 'weakref' for wek reference support improvements.
2025-01-01 15:05:31 +00:00
rfm
bbd1f03183
fixup for removal from mutable array
2025-01-01 13:39:13 +00:00
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
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
b90d591dfe
Merge branch 'master' into weakref
2024-12-30 13:02:23 +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
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
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
d6c1d36985
simplify life of charset
2024-12-19 21:02:44 +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
Riccardo Mottola
a94dee4c0d
try to resolve internal and external subset with functions
2024-12-18 22:44:05 +01: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
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
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
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
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
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
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
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
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
rfm
fff13fc7ac
GSInlineArray seems to cause false positives with LeakSanitizer, so avoid it
2024-11-20 14:28:46 +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
da73bc5e9b
Fix failure t unlock mutex
2024-11-19 19:15:08 +00:00
rfm
7965acc27b
Make +atExit method honor the shoudl clean up setting
2024-11-19 18:10:07 +00:00
rfm
e0b37c4a1b
Merge branch 'master' into nsgeometry-missing-func
2024-11-19 14:10:12 +00:00
rfm
ebedfaf5c1
avoid a couple of compiler warnings
2024-11-19 12:57:59 +00:00
rfm
077e4646ab
Fix reference cycle in absolute time zone and its detail
2024-11-19 10:58:37 +00:00