Commit graph

1134 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
cedccc9f09 Fixup location of declaration of new ivars 2025-01-27 17:08:30 +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
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
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
Matvii Jarosh
410b295b01 Add EdgeInsets missing function in value 2024-11-21 13:01:31 +02: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
Matvii Jarosh
19d6aefa47 Added many missing features to NSGeometry 2024-11-18 18:07:59 +02:00
Matvii Jarosh
20f7a294e8 Added many missing features to NSGeometry 2024-11-18 17:57:47 +02:00
Gregory John Casamento
c8185a1656 Add the rest of the ordered set documentation 2024-11-17 12:07:20 -05:00
Gregory John Casamento
7210ae242e Add the rest of the ordered set documentation 2024-11-17 12:04:24 -05:00
Gregory John Casamento
7007f7e217 Add documentation for NSOrderedSet 2024-11-17 10:17:46 -05:00
Gregory John Casamento
704b467075 Add final documentation changes 2024-11-17 06:33:14 -05:00
Gregory John Casamento
283cb91ea8 Cleanup whitespace 2024-11-16 07:06:27 -05:00
Gregory John Casamento
9f8edc580a Add NSUnit documentation 2024-11-16 06:50:58 -05:00
Gregory John Casamento
37b5491826 Add documentation for -[NSArray objectsAtIndexes:]. Quick fix. 2024-11-08 21:02:30 -05:00
Gregory John Casamento
be38c72d44 Complete NSOperation documentation, quick change 2024-11-08 20:53:05 -05:00
rfm
fe5efb6aa2 OSX 10.15 file offset methods 2024-11-08 15:19:40 +00:00
rfm
a8e453fe7e
Merge pull request #440 from gnustep/agsdoc-html-style
Agsdoc html style update
2024-11-08 14:48:10 +00:00
rfm
75fe3d2e8d Fix FSF address 2024-11-08 13:35:48 +00:00
rfm
4961287024 issue 325 2024-11-08 11:52:27 +00:00
rfm
b8d0003b43 Update FSF address as requested by Gregory 2024-11-08 10:33:32 +00:00
Hugo Melder
d53a732576 NSThread: Implement +detatchThreadWithBlock: and -initWithBlock: (#454)
* NSThread: Implement +detatchThreadWithBlock: and -initWithBlock:

* Remove extraneous include

* NSThread: Define GSThreadBlock so that GCC stub impl does not fail

* Add missing spaces - trivial style fixup

---------

Co-authored-by: rfm <richardfrithmacdonald@gmail.com>
2024-11-08 10:33:32 +00:00
rfm
490791a5e0 fix missing space 2024-11-08 10:33:32 +00:00
Hugo Melder
ab5d06da6a 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-11-08 10:33:32 +00:00
Sebastian Reitenbach
303a6eb975 Add some missing NSURLErrorDomain constants, as described here:
https://web.archive.org/web/20131113010445/https://developer.apple.com/library/mac/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_Constants/Reference/reference.html
2024-11-08 10:33:32 +00:00
Riccardo Mottola
a746ad3d14 encode angular brackets to fix gsdoc error 2024-11-08 10:33:32 +00:00
Sebastian Reitenbach
cb40529b12 Add typedef NSKeyValueChangeKey to NSKeyValueObserving.h (#444) 2024-11-08 10:33:32 +00:00
Hugo Melder
3333d9fb73 NSString: Cache ICU collator in thread-local storage (#450)
* Add ICU collator caching

* Update ChangeLog
2024-11-08 10:33:32 +00:00