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
a82e358248
Improve stack trace when tracking
2024-12-04 11:00:42 +00:00
rfm
85888dc903
Fix bug when tracking instances of a class and its superclass
2024-11-29 17:44:31 +00:00
rfm
e6b425d532
Report tracked objects at exit
2024-11-29 14:33:56 +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
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
rfm
2278c79f62
Add +trackOwnership method to trace tetain/release for objects of a class
2024-11-20 14:27:44 +00:00
rfm
ef0569cd4a
Rename method to better reflect what it actually does.
2024-11-19 09:20:06 +00:00
rfm
6a723e5a87
Fixes for dealloc when init has not been called.
2024-11-17 16:41:59 +00:00
rfm
cd3e69245d
More leak management fixes
2024-11-17 16:16:46 +00:00
rfm
d7c9bdbce7
Fix nil to NULL
2024-11-15 18:35:41 +00:00
rfm
072c17f315
Add some consistecy checks
2024-11-15 12:28:14 +00:00
rfm
1536c24331
Fix buffer overrun
2024-11-15 12:20:05 +00:00
rfm
25505b2e67
Some more leak improvements
2024-11-14 14:45:05 +00:00
rfm
dd3367de3b
atexit improvements
2024-11-14 12:52:43 +00:00
rfm
6667842dd5
Update FSF address as requested by Gregory
2024-11-07 13:37:59 +00:00
Hugo Melder
6eef1c3289
NSKeyValueCoding: Safe-Caching for -[NSObject valueForKey:] ( #445 )
...
* KVC Caching Implementation
* Do not ignore struct name when comparing type encoding as NSPoint and NSSize have the same layout
* Use fast-path when using Objective-C 2
* Guard old ValueForKey function when using the fast-path
* Add basic NSKeyValueCoding tests
* Update Copyright Years
* NSKeyValueCoding+Caching: Add Versioning to IVar Slot
* safe_caching: Remove Guards
* Add type encoding helper header
* Rename geometry structs (NSRect, NSPoint, NSSize) for toll-free bridging with CoreGraphics
* Move CG struct definitions to CFCGTypes.h
* Update known struct encoding prefixes
* Windows 64-bit is LLP64 and not LP64
* Re-order to avoid complier warning
---------
Co-authored-by: rfm <richardfrithmacdonald@gmail.com>
2024-10-29 14:12:34 +01:00
rfm
4233f6a9d6
fix dead assignments
2024-06-21 15:02:55 +01:00
rfm
235bb21df3
Fix obscure memory management issues
2024-06-19 15:28:48 +01:00
rfm
f19650b9df
fix bad type case
2024-05-31 09:39:52 +01:00
rfm
58ae7db59a
fixup headers for deletion of obsolete lock code
2024-05-30 11:06:23 +01:00
rfm
241e2a47ca
locking updates (fine grained locking rather than global lock)
2024-05-30 10:40:52 +01:00
rfm
d6bb6deff6
fix small bug and add optimisation
2024-02-02 15:40:44 +00:00
Riccardo Mottola
08858caf29
cleanup biolerplate comments, enable autogsdoc comments, cleanup some old RCS/CVS tags, fix emails
2023-12-23 02:44:50 +01:00
rfm
e027ff8585
Minor documentation tweaks
2023-10-30 16:56:05 +00:00
Richard Frith-Macdonald
a5a9423c10
Return error if task directory is bad
2023-10-10 17:01:52 +01:00
Richard Frith-Macdonald
570aa0bf2a
Remove unused counter
2023-09-06 17:47:59 +01:00
rfm
21d630ba95
Revert "Initial commit of updated IPv6"
2023-08-18 12:06:26 +01:00
Royal Stewart
337ebbea0b
Initial commit of updated IPv6
2023-07-25 10:06:20 -06:00
Frederik Seiffert
37913d006d
Fix GSXML compatibility with libxml2 v2.11.0
...
Fixes #294 .
2023-05-04 12:46:08 +02:00
Frederik Seiffert
cb6c53b84d
Fix NSURLSession header fields not always being matched case insensitive.
2023-03-11 20:22:00 +01:00
Richard Frith-Macdonald
3631c4b068
Fix possible exception setting header value
2023-02-09 11:03:21 +00:00
Fred Kiefer
1a96e83c08
* Source/Additions/GSXML.m: Remove usage of deprecated function
...
when a newer version of libxml is used.
2022-11-26 14:26:30 +01:00
Richard Frith-Macdonald
0ca9110ef5
fix trivial typo in cache key format
2022-10-18 20:04:28 +01:00
Richard Frith-Macdonald
86461e2c95
tweaks to build on OSX
2022-08-25 09:45:34 +01:00
Richard Frith-Macdonald
1934ce6205
Changes to avoid placing sensitive information in debug logs.
2022-05-20 12:32:31 +01:00
Richard Frith-Macdonald
0b1a2d4d66
Tidy positioning of semicolon to be inside IF_NO_ARC() macros so it won't appear in the source when compiled with ARC
2022-02-17 10:21:36 +00:00
Richard Frith-Macdonald
c76ebf2962
Replaced IF_NO_GC() macro calls with the more descriptive IF_NO_ARC()
...
and deprecate it. Searched for and removed obsolete references to
garbage collection in comments and documentation.
2022-02-17 10:08:18 +00:00
Richard Frith-Macdonald
cc38a942f2
Restore Canonical names of gnustep extension encodings
2022-01-04 12:46:56 +00:00
Richard Frith-Macdonald
81ad2f403b
Reinstate removed string encodings.
2022-01-04 10:12:58 +00:00
Levin Li
c4730de6bd
Add Simplified Chinese resources
2021-12-30 21:26:53 +08:00
Levin Li
f64f13c2a7
Implement NSGB_18030_2000StringEncoding, NSGB_2312_80StringEncoding, NSGBK_95StringEncoding
2021-12-30 21:06:28 +08:00
Fred Kiefer
e797128a03
Merge pull request #226 from levinli303/master
...
Support more DOS/Windows string encodings
2021-12-26 13:08:56 +01:00
Frederik Seiffert
4c1b2ef7d6
Fix Unicode checks for Windows using icu.h
2021-12-26 11:43:43 +01:00
Levin Li
fe2f41c7f1
Use encoding number values from Apple
2021-12-26 14:22:04 +08:00
Levin Li
ca6145efdd
Support more DOS/Windows encodings
2021-12-25 16:36:18 +08:00
Mads Marquart
4033ee28a8
Fix NSGetSizeAndAlignment usage
...
The argument order is (*sizep, *alignp), but it was often incorrectly used the other way around.
2021-11-02 10:18:05 +01:00
Frederik Seiffert
40f88bc622
Enable _C_BOOL on non GNU C compilers
2021-08-08 17:27:40 +02:00
Frederik Seiffert
b41953d274
More robust check for Windows ICU
...
Also ensure that we don't include both unicode/*.h and icu.h.
2021-08-08 17:27:40 +02:00