Commit graph

2745 commits

Author SHA1 Message Date
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
rfm
0243b4efec Revert unnecessary change 2024-11-19 11:06:26 +00:00
rfm
ef0569cd4a Rename method to better reflect what it actually does. 2024-11-19 09:20:06 +00:00
Gregory John Casamento
063ff01f63 Add the rest of the ordered set documentation 2024-11-18 22:34:51 +00:00
Gregory John Casamento
c8c10d0aac Add the rest of the ordered set documentation 2024-11-18 22:34:51 +00:00
Gregory John Casamento
90eda71018 Add documentation for NSOrderedSet 2024-11-18 22:34:51 +00:00
Gregory John Casamento
9800834360 Add final documentation changes 2024-11-18 22:29:15 +00:00
Gregory John Casamento
bd8f4aadc1 Cleanup whitespace 2024-11-18 22:29:15 +00:00
Gregory John Casamento
7287f76780 Add NSUnit documentation 2024-11-18 22:29:15 +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
rfm
cd3e69245d More leak management fixes 2024-11-17 16:16:46 +00: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
rfm
75ae2da498 Fix bug when emptying an empty array 2024-11-16 11:41:12 +00:00
rfm
072c17f315 Add some consistecy checks 2024-11-15 12:28:14 +00:00
rfm
8b0543571b Don't use deprecated +leak: method. 2024-11-14 14:56:28 +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
b78b2e2030 hash/map table and pointer functions fixups 2024-11-12 12:03:24 +00: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