Commit graph

1114 commits

Author SHA1 Message Date
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
Hugo Melder
3c34150e05 NSOperationQueue: Proper names for worker threads (#437)
* NSOperationQueue: Give Worker Threads a name

* Update Changelog

* Remove empty string test
2024-11-08 10:33:32 +00:00
rfm
a1913e5540 NSURLSession rewrite (#422)
* clang-format: Do not use tabs

* Ignore clangd cache and compile_commands

* NSBlockOperation: Fix memory leak

* NSHTTPCookie: Fix expires date parsing

* NSHTTPCookie: Release DateFormatter after use

* NSOperation: Remove all objects at end of execution

* Reimplementation of NSURLSession

* NSURLSession: Update expiration dates in test

* Update ChangeLog

* Fix trivial compiler warning caused by missing import

* Import GSDispatch.h for definition of DISPATCH_QUEUE_SERIAL

* Import common.h early to avoid header conflict

* Fix import order to avoid conflicts and ensure we have correct localisation macro

* Check for presence of dispatch_cancel

* Cancel timer using dispatch_source_cancel() if dispatch_cancel() is missing.

* NSURLSession: Replace dispatch_io with dispatch_source in unit test HTTP server

---------

Co-authored-by: hmelder <service@hugomelder.com>
2024-11-08 10:33:32 +00:00
Gregory John Casamento
1d32b92e6b Quick fix: Correct documentation for NSUbiquitousKeyValueStore class 2024-11-08 10:33:31 +00:00
rfm
6667842dd5 Update FSF address as requested by Gregory 2024-11-07 13:37:59 +00:00
Hugo Melder
fd5ec29bdf
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-10-30 11:13:28 +01:00
rfm
67af9faecb fix missing space 2024-10-29 16:10:46 +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
68964f188e
Merge pull request #443 from buzzdeee/NSURLError_constants
Add some missing NSURLErrorDomain constants, as described here:
2024-10-13 11:15:05 +01:00
Riccardo Mottola
1c5f581a46 encode angular brackets to fix gsdoc error 2024-09-24 11:39:47 +02:00
Sebastian Reitenbach
8b64cf4a53
Add typedef NSKeyValueChangeKey to NSKeyValueObserving.h (#444) 2024-09-23 14:33:50 +02:00
Hugo Melder
5cd19978d5
NSString: Cache ICU collator in thread-local storage (#450)
* Add ICU collator caching

* Update ChangeLog
2024-09-23 14:32:36 +02:00
Hugo Melder
012947f09e
NSOperationQueue: Proper names for worker threads (#437)
* NSOperationQueue: Give Worker Threads a name

* Update Changelog

* Remove empty string test
2024-09-08 16:54:01 +02:00
Sebastian Reitenbach
7f7371acc8 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-08-29 22:48:05 +02:00
rfm
ed4e305026
NSURLSession rewrite (#422)
* clang-format: Do not use tabs

* Ignore clangd cache and compile_commands

* NSBlockOperation: Fix memory leak

* NSHTTPCookie: Fix expires date parsing

* NSHTTPCookie: Release DateFormatter after use

* NSOperation: Remove all objects at end of execution

* Reimplementation of NSURLSession

* NSURLSession: Update expiration dates in test

* Update ChangeLog

* Fix trivial compiler warning caused by missing import

* Import GSDispatch.h for definition of DISPATCH_QUEUE_SERIAL

* Import common.h early to avoid header conflict

* Fix import order to avoid conflicts and ensure we have correct localisation macro

* Check for presence of dispatch_cancel

* Cancel timer using dispatch_source_cancel() if dispatch_cancel() is missing.

* NSURLSession: Replace dispatch_io with dispatch_source in unit test HTTP server

---------

Co-authored-by: hmelder <service@hugomelder.com>
2024-08-16 14:08:41 +02:00
Gregory John Casamento
f7d74e2020 Quick fix: Correct documentation for NSUbiquitousKeyValueStore class 2024-08-14 18:04:35 -04:00
rfm
4c687e6dee Avoid confusing autogsdoc 2024-08-06 19:41:18 +01:00
rfm
28a6e6ebbd Final batch of GC cleanups (for the forseeable future). 2024-07-25 17:11:34 +01:00
rfm
b49af95359 Hide internals of _NSZone struct for consistency with OSX 2024-07-23 13:06:24 +01:00
rfm
52c127c950 GC was deprecated several releases ago and notinally removed a couple of releases ago ... delete more remnants of the old code. 2024-07-22 15:14:13 +01:00
rfm
c46d447100 Deprecate/remove old GC options 2024-07-21 09:16:09 +01:00