Commit graph

2784 commits

Author SHA1 Message Date
Hugo Melder
ff96b76b63 NSJSONSerialization: Implement NSJSONWritingSortedKeys 2025-04-18 09:35:04 +02:00
rfm
9dd9cdc7f0
Merge pull request #501 from gnustep/initializer-return-types
Use instancetype or actual type as initializer return types
2025-04-17 14:43:38 +01:00
Frederik Seiffert
bc992f2b75 Use instancetype or actual type as initializer return types 2025-04-09 08:44:00 +02:00
Riccardo Mottola
3fffa40d02 Merge branch 'const_gcc_fix' of https://github.com/gnustep/libs-base into const_gcc_fix 2025-04-03 14:38:00 +02:00
Riccardo Mottola
64bd75be95 use define instead of enum, attempt to use constant directly 2025-04-03 14:37:13 +02:00
Riccardo
bce2a0bc96
Update Headers/Foundation/NSObjCRuntime.h
improve comment

Co-authored-by: Frederik Seiffert <frederik@algoriddim.com>
2025-04-01 17:57:40 +02:00
Riccardo Mottola
6e39f11098 Make olde code-path for constant with enum available again for older GCC versions.
According to https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69960
a C extension to constant initializers is needed which is available only in recent versions. 8.1 is proven, I suppose 8.0 in this patch
2025-03-31 22:50:49 +02:00
rfm
c19d77bd0e Make deprecation macro name consistent (it applies to methods, not just functions) and add attribute to mark non-portable features. 2025-03-27 10:27:23 +00:00
rfm
bc16a59440 Fixup to allow documentation to build properly 2025-03-27 10:08:59 +00:00
rfm
ce9699d5c5 Fixup key name that I advised on incorrectly - needs the correct prefix. 2025-03-26 16:16:57 +00:00
Earl Robsham
f8173506cd Add GSDigestURIOmitsQuery key 2025-03-25 19:40:03 -04:00
Frederik Seiffert
ea92a95c6a Define NSDateComponentUndefined as NSInteger 2025-03-19 08:39:42 +08:00
Frederik Seiffert
99c59b9d70 Fix NSNotFound definition to use NSInteger type #494 2025-03-19 08:39:42 +08:00
rfm
d622530819 tweaks for non-atomic associated values 2025-03-10 12:26:41 +00:00
rfm
3bcdf824f8 Fixup order of declarations 2025-03-09 15:42:13 +00:00
Richard Frith-Macdonald
6655f4e00d OSX fixes 2025-03-09 15:39:21 +00:00
rfm
fb135dc0ee improve comments 2025-03-09 08:40:24 +00:00
rfm
a46f86837f associated objects initial implementation 2025-03-08 17:26:32 +00:00
rfm
956eb5b303 Fix check for object pointer depending on alignment requirement. 2025-02-27 12:15:15 +00:00
rfm
aeb86d0afb Add some leak sanitization documentation 2025-02-26 17:04:21 +00:00
rfm
d1d5552dfb Fixup for requests with paths containing escaped slashes 2025-02-14 12:34:07 +00:00
rfm
c64c3d9923 Remove non-existent header 2025-01-28 10:07:51 +00:00
rfm
50e7e10525 Remove incomplete/test API prior to release 2025-01-28 09:47:21 +00:00
rfm
cedccc9f09 Fixup location of declaration of new ivars 2025-01-27 17:08:30 +00:00
Riccardo Mottola
943f8d82c3 Separate __has_attribute test from actual usage, as per GCC
documentaiton.

The first `#if' test succeeds only when the operator is supported by the version of GCC (or another compiler) being used. Only when that test succeeds is it valid to use __has_attribute as a preprocessor operator. As a result, combining the two tests into a single expression as shown below would only be valid with a compiler that supports the operator but not with others that don't.

https://gcc.gnu.org/onlinedocs/cpp/_005f_005fhas_005fattribute.html
2025-01-20 12:47:41 +01:00
rfm
b5e0ef1514 Updates to handle entity resolution for libxml2-2.13.? 2025-01-15 09:23:59 +00:00
rfm
b6af7bd905 header change missed in last commit 2025-01-10 12:26:06 +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
2882d8c812 Simplify by removng unnecessary argument in new callback 2025-01-04 16:50:13 +00:00
rfm
88720adbb1 tweaks 2025-01-04 15:35:24 +00:00
rfm
c722328e5c Regular expression improvements for classic environment 2025-01-04 15:05:14 +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
c66bd6ec5c Preliminary code for emulation of the objc2 runtime weak reference feature 2024-12-28 07:48:32 +00:00
rfm
4fb5022168 match conding standards for whitespace and layout 2024-12-19 21:01:39 +00: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
7a8fb1a0e7 doc tweaks 2024-11-30 13:59:12 +00:00
rfm
e542cb7dff Minor tidyup to use elif rather than else .. if 2024-11-29 09:42:18 +00:00
rfm
f371b8068e
Merge branch 'master' into master 2024-11-29 09:38:36 +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
087716fffa Improve dagnostic method for memory leaks 2024-11-21 18:18:06 +00:00
Matvii Jarosh
410b295b01 Add EdgeInsets missing function in value 2024-11-21 13:01:31 +02:00
rfm
2278c79f62 Add +trackOwnership method to trace tetain/release for objects of a class 2024-11-20 14:27:44 +00:00
Matvii Jarosh
055cb708f9 fix enums 2024-11-19 18:45:39 +02:00
Matvii Jarosh
aa4a062692 Merge branch 'nsgeometry-missing-func' of github.com:Matvii-Jarosh/libs-base into nsgeometry-missing-func 2024-11-19 18:41:37 +02:00
Matvii Jarosh
97ba75c5c8 fixed enums 2024-11-19 18:34:27 +02:00
rfm
e0b37c4a1b
Merge branch 'master' into nsgeometry-missing-func 2024-11-19 14:10:12 +00:00