Commit graph

12572 commits

Author SHA1 Message Date
rfm
da1a69e4bd Fix potential use after dealloc 2024-06-19 11:08:58 +01:00
rfm
6f94c90d98 fix leak 2024-06-18 12:03:01 +01:00
rfm
4d0b00776c Memory leak improvments 2024-06-18 11:23:15 +01:00
hmelder
ead9a65cb8 NSKVOSupport: Remove @status comments 2024-06-18 09:59:56 +02:00
rfm
c9af996377 fix return value to be autoreleased 2024-06-12 13:54:10 +01:00
rfm
a4b661d633 Fix non-portabe use of dot syntax. Fix excess release. Conform to coding style. 2024-06-12 11:05:10 +01:00
rfm
92247d13c9
Merge pull request #419 from 2xsaiko/outgoing/nsfmurls
Implement -[NSFileManager URLsForDirectory:inDomains:]
2024-06-12 11:00:49 +01:00
hmelder
56ab182563 Add file extension of source file in GNUMakefile 2024-06-11 18:32:34 +02:00
hmelder
02d4823ecb NSKVOSupport: Remove commented-out code 2024-06-11 18:24:44 +02:00
hmelder
073b00657a Improve runtime detection in makefile 2024-06-11 18:20:26 +02:00
hmelder
55599c8913 NSKVOSwizzling: Do not mix decl and code 2024-06-11 18:19:35 +02:00
hmelder
12b4b28598 NSKVO: Update copyright headers 2024-06-11 18:11:47 +02:00
hmelder
a8821ecda7 NSkeyValueObserving: Revert to old formatting 2024-06-11 18:09:57 +02:00
hmelder
e375dcb359 NSKeyValueMutableSet: Remove NSLog 2024-06-11 18:06:30 +02:00
hmelder
63c29aa4fb Update license headers 2024-06-11 18:04:26 +02:00
hmelder
7eafd58556 NSKVOSupport: Do not leak Observee and TestFacade objects 2024-06-11 18:01:31 +02:00
hmelder
21e6f1e118 NSKVOSupport: Do not autorelease newWithObservee: 2024-06-11 17:51:59 +02:00
Gregory Casamento
ced4cd0531
Merge pull request #410 from gnustep/NSExpression_branch 2024-06-11 11:46:56 -04:00
hmelder
1856555ac0 NSKVOSwizzling: use _alloca on Windows 2024-06-11 17:19:13 +02:00
hmelder
c04e51b798 NSKVOSupport: Do not wrap block in try/finally to avoid crash in windows 2024-06-11 17:17:07 +02:00
Marco Rebhan
952e076084
Implement -[NSFileManager URLsForDirectory:inDomains:] 2024-06-11 17:14:36 +02:00
hmelder
77d8ef83e3 NSKVOSupport: Add more tests 2024-06-11 16:02:09 +02:00
hmelder
198ef4fd72 NSKeyValueCoding: Change notifications when changing value via setValue:forKey: 2024-06-11 16:01:17 +02:00
rfm
a541a467bf cosmetic fixes (indentation etc) 2024-06-11 13:41:08 +01:00
rfm
3bcb484691
Merge pull request #416 from gnustep/enumerateSubstringInRange
Fix broken enumerateSubstringsInRange:options:usingBlock: implementation
2024-06-11 13:29:48 +01:00
hmelder
3708abd5ed NSKVOSupport: Add toMany test 2024-06-11 13:23:24 +02:00
hmelder
922813a90f NSKeyValueMutableSet: Document Accessor Search Patterns 2024-06-11 13:00:17 +02:00
hmelder
9f3fa5baa5 NSKeyValueMutableSet: Fix will and didChange notifications for set operations 2024-06-11 12:38:28 +02:00
hmelder
d2a50254d0 NSKVOSupport: Fix new objects not being added to NSKeyValueChangeNew set on set mutation 2024-06-11 12:18:26 +02:00
rfm
930b901558 remove obsolete test 2024-06-10 15:27:35 +01:00
rfm
67c53d6598 No exception when closing a file more than once 2024-06-10 11:51:47 +01:00
rfm
3202bd00f7
Merge pull request #417 from litherum/nsfilehandle-fstat
-[NSFileHandle initWithFileDescriptor:] logs a message each time fstat() doesn't succeed on UNIX
2024-06-10 11:00:37 +01:00
Litherum
e39309a7e9 -[NSFileHandle initWithFileDescriptor:] logs a message each time fstat() doesn't succeed on UNIX
fstat() on UNIX isn't guaranteed to always succeed, even if the file handle is valid. Special files may or may not support fstat() in the kernel.

(For context, I'm working on a Vulkan application. Vulkan has facilities to send certain objects across processes by representing the objects as file descriptors. These file descriptors still need to be close()d, which makes them good candidates for wrapping an NSFileHandle around them, but they do not support fstat(). I'm creating multiple of these each frame in the application, which means the line "unable to get status of descriptor" appears very often in the terminal while my application is running.)
2024-06-09 14:17:29 -07:00
hmelder
4072792439 NSKeyValueObserving: Rename TypeEncodingCases header 2024-06-04 23:04:25 +02:00
hmelder
99329699c4 NSKeyValueObserving: Use old implementation as fallback 2024-06-04 23:04:01 +02:00
Hugo Melder
4d3926d250
Implement -[NSString enumerateLinesUsingBlock:] (#407)
* Implement -[NSString enumerateLinesUsingBlock:]

* Fix formatting

* Use GNUstep CALL_BLOCK macro
2024-06-04 22:19:45 +02:00
hmelder
c22479d95d NSKVOSwizzling: Ugly C Rewrite 2024-06-04 21:15:49 +02:00
hmelder
5a5e04598c NSKVOSupport: Add test cases 2024-06-04 20:19:13 +02:00
hmelder
6511982c0f NSKVOSupport: Import 2024-06-04 20:18:49 +02:00
hmelder
97880a285d GSAtomic: Add prefix to macro definitions 2024-06-04 20:18:20 +02:00
hmelder
edbc859093 NSString: Add enumerateSubstringsInRange tests 2024-06-04 12:10:31 +02:00
hmelder
0c69d096ca NSString: Fix broken enumerateSubstringsInRange:options:usingBlock: implementation 2024-06-04 12:10:20 +02:00
rfm
c498475110
Merge pull request #415 from qmfrederik/config-relative-paths-rebased
Use absolute paths in ./configure
2024-06-01 19:47:36 +01:00
Frederik Carlier
7f12e86f57
Use absolute paths in ./configure 2024-05-31 17:26:25 +02:00
hmelder
c6d288aae9 NSPredicate: Remove whitespace 2024-05-31 14:24:57 +02:00
hmelder
bd31d5fc5f Update ChangeLog 2024-05-31 14:24:57 +02:00
hmelder
8024082027 NSPredicate: Add tests for constant expressions 2024-05-31 14:24:57 +02:00
hmelder
094bc55120 NSPredicate: Fix BETWEEN operation on other data types and constants 2024-05-31 14:24:57 +02:00
rfm
f19650b9df fix bad type case 2024-05-31 09:39:52 +01:00
Gregory John Casamento
d3d53ab23f Clean up tests 2024-05-31 00:20:09 -04:00