Commit graph

12945 commits

Author SHA1 Message Date
rfm
c3b208a85a avoid compiler warning 2024-11-08 10:33:31 +00:00
rfm
7dfdabd675 Supply function pointer prototype to avoid compiler warnings 2024-11-08 10:33:31 +00:00
rfm
9df544fffc Fix for issue 459 2024-11-08 10:10:20 +00:00
rfm
82bd12198e Update FSF address 2024-11-08 10:10:03 +00:00
rfm
e708f2f4c3 Revert 2024-11-07 15:02:18 +00:00
rfm
6667842dd5 Update FSF address as requested by Gregory 2024-11-07 13:37:59 +00:00
rfm
7c6ed5fa26 Add tests for -earlierDate: and -laterDate: with equal time instants and where tartget/receiver are different classes. 2024-11-06 15:45:37 +00:00
Riccardo Mottola
74f70e8899 fix style formatting, cleanup and make description style working 2024-11-05 01:04:52 +01:00
rfm
8382e02a16 Add css classes for nodes in the diagrams as follows:
figure_super	if the element is the superclass of the ne being documented
figure_class	if the element is for a non-root class
figure_root	if the element is for a root class
figure_protocol	if the element  is for a protocol
2024-11-04 22:13:28 +00:00
rfm
e9d1e9ebbc revert faulty class change 2024-11-04 21:39:01 +00:00
rfm
a8337b7f66 Add "node figure" class for svg 2024-11-04 21:22:36 +00:00
rfm
5ea68724ff Fix for issue 452 2024-11-03 13:15:20 +00:00
rfm
e960277581 Add a bit of information about handler callback methods to comments/docs. 2024-11-03 12:00:51 +00:00
rfm
962c169705 Tweaks to NSDate changes 2024-11-01 08:47:02 +00:00
rfm
9978c055df Reapply "Implement NSDate as a small object (tagged pointer) - clang/libobjc2 only (#451)" because of GUI breakage: apps hang when loading NSMenu
This reverts commit cac43f7bfc.
2024-11-01 08:43:15 +00:00
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