Commit graph

12680 commits

Author SHA1 Message Date
rfm
cfa3cd3435 Fixup equality tests for dates 2024-10-31 19:41:37 +00:00
Riccardo Mottola
cac43f7bfc Revert "Implement NSDate as a small object (tagged pointer) - clang/libobjc2 only (#451)" because of GUI breakage: apps hang when loading NSMenu
This reverts commit 8fd2c06ddd.
2024-10-31 02:13:24 +01: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
cfc28d82bb NSObject shouldn't support NSCoding 2024-10-29 16:12:14 +00:00
rfm
fad8d206b9 Fix for issue 453 2024-10-29 16:11:23 +00:00
rfm
67af9faecb fix missing space 2024-10-29 16:10:46 +00:00
rfm
db750db460 Merge branch 'master' of ssh://github.com/gnustep/libs-base 2024-10-29 15:00:29 +00:00
rfm
156be3ad53 safety fix in case code incorrectly tries to use the reuslt of forwarding a method to the undo manager. 2024-10-29 14:59:43 +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
hmelder
4f0a8d60c2 Add missing return value 2024-10-28 14:54:37 +01:00
Hugo Melder
cf4c985e46
NSString: Fix -commonPrefixWithString:options: behaviour (#455)
* Update changelog

* NSString: fix -commonPrefixWithString:options: behaviour

* NSString: More test cases
2024-10-28 14:42:41 +01:00
rfm
8b65241b03 Merge branch 'master' of ssh://github.com/gnustep/libs-base 2024-10-28 11:23:16 +00:00
rfm
316537d67a Make files closer to gnustep coding style (automated fixups using uncrustify) 2024-10-28 11:21:47 +00:00
Hugo Melder
8fd2c06ddd
Implement NSDate as a small object (tagged pointer) - clang/libobjc2 only (#451)
* Implement GSSmallObject Class

* Remove private concrete class access

* Change secondary bias

* NSDate: Get interval from rhs object in comparison

* Add prefix to CONCRETE_CLASS_NAME  macro
2024-10-28 11:52:44 +01:00
rfm
15270e460b fix typo 2024-10-21 22:16:11 +01:00
rfm
964cd4e5c5 Tidied classes for indexes 2024-10-21 22:13:34 +01:00
rfm
9097de9fbc If we have an incorrect flag, say what it was. 2024-10-21 22:12:24 +01:00
rfm
c122aa6d19 Styling for indexes 2024-10-21 21:50:12 +01:00
rfm
8456b7235d Fix invert logic 2024-10-21 21:18:10 +01:00
rfm
c0cc6453bc Add index section header info 2024-10-21 21:14:52 +01:00
rfm
fce8393561 fix format error 2024-10-21 20:58:29 +01:00
rfm
f162e0f97e Changes for index.html output 2024-10-21 20:55:21 +01:00
rfm
bd6c52e8d4 Add skipping of generics in a few more places. 2024-10-21 19:25:51 +01:00
Riccardo Mottola
e14da974c7 give some visual separation to index areas 2024-10-18 11:58:00 +02:00
Riccardo Mottola
4a506cb048 style also section horizontal rulers 2024-10-18 11:35:47 +02:00
rfm
1cb846e607 Improve errors for copying. 2024-10-13 13:54:53 +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
Hugo Melder
273776a3c6
Fix CI and make libcurl a hard-dependency when using libobjc2 (#447)
* Do not enable Win32 threads and locks when using GCC

* Fix compiler check when CC has arguments appended

* Add NSConstantString literal as global variable to avoid linker error

* Make libcurl a hard-dependency on ObjC 2.0 Toolchain

* Bump TOOLS_WINDOWS_MSVC_RELEASE_TAG

* Remove x86 runner for MSVC toolchain

* Add libcurl to MinGW x64 Clang toolchain

* MSVC toolchain requires Windows 1903 and newer but windows-2019 runner is Redstone 5 (1809)

* MinGW GCC adds .exe suffix

* Some tests timeout after 30s. Increase timeout

* Mark late unregister as hopeful on Win32 with GCC

* Mark NSURL test depending on network connection as hopeful
2024-10-10 11:16:47 +02:00
Riccardo Mottola
1c5f581a46 encode angular brackets to fix gsdoc error 2024-09-24 11:39:47 +02:00
Riccardo Mottola
fc23434727 output body divs, fix indenting 2024-09-24 00:54:32 +02:00
Riccardo Mottola
a2c9bfab5b remove debug colors, add separate body styles for each pane 2024-09-24 00:53: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
Riccardo Mottola
e126331994 improved styles 2024-09-16 22:29:57 +02:00
rfm
b34089b8b6 nav bar inital attempt 2024-09-16 21:16:31 +01:00
rfm
80216e6328 Don't override the default stylesheet 2024-09-16 19:36:28 +01:00
hmelder
cdbb1cc1b4 Fix typo in ifdef 2024-09-10 10:23:08 +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
Riccardo Mottola
110a32e6e0 add styles, including debug 2024-09-03 19:22:28 +02:00
rfm
7b70d77d2f Fix error consuming extra character at end of <ignore>..</ignore> 2024-09-03 11:28:58 +01:00
rfm
db0d5a15e7 Create (and use if no -StylesheetURL is given) a default stylesheet, by copying an existing resource. 2024-09-03 09:11:23 +01:00
rfm
2c8528d973 Fix bug adding extra quotes 2024-09-02 21:52:02 +01:00
hmelder
538f0ed023 NSThread: Add warning when truncating thread name 2024-09-02 14:51:59 +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
Riccardo Mottola
0619a30840 proper doctype and header also for frame indices 2024-08-27 12:48:37 +02:00
Riccardo Mottola
21f2cd0389 add declaration do avoid warning 2024-08-24 14:58:29 +02:00
Riccardo Mottola
0905c3059a add missing newline and remove comment, there is no multi-lang doc support 2024-08-24 14:49:31 +02:00
rfm
cf166fdc10 Merge branch 'agsdoc-html-style' of ssh://github.com/gnustep/libs-base into agsdoc-html-style 2024-08-22 19:34:12 +01:00
rfm
11dfe4d330 Avoid output of the whitespace between elements within <gsdoc> 2024-08-22 19:32:45 +01:00
Riccardo Mottola
c8e2d51c8c declare charset static to utf-8 2024-08-22 14:32:39 +02:00