Commit graph

12558 commits

Author SHA1 Message Date
rfm
7c2ccb3035 avoid compiler warning 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
Hugo Melder
e3208590b1 NSThread: Fix threadPriority and setThreadPriority: on Android by using setpriority instead of pthread (#436)
* Update Changelog

* Use {get, set}priority for -[NSThread setThreadPriority] on Android
2024-11-08 10:33:32 +00:00
Hugo Melder
e774d7cec8 Modernise Windows Paths in configure.ac and use 'short' output of relative_paths.sh by default (#431)
* Modernise m4 scripts

* Replace "C:\Documents and Settings" with "C:\Users"
2024-11-08 10:33:32 +00:00
Hugo Melder
7922051140 Remove MinGW 32-bit CI (#434)
* CI: Enable automatic Mirror Updates for MSYS2 and bump libobjc2 rt version

* Remove MinGW 32-bit CI and pin runtime version at 2.0
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
Earl Robsham
3e808dc173 Update -[NSMutableArray removeLastObject] (#433)
* Update `-[NSMutableArray removeLastObject]`

Updates the following implementation to avoid raising an exception if the array is already empty (or notifying observers if applicable):
 * `-[NSMutableArray removeLastObject]`
 * `-[GSMutableArray removeLastObject]`
 * `-[NSKeyValueMutableArray removeLastObject]`
 * `-[NSKeyValueIvarMutableArray removeLastObject]`

This brings the behavior of `-[NSMutableArray removeLastObject]` inline with the Apple implementation, improving compatibility for code bases which use both GNUStep and Apple objc/Foundation implementations.

* Add `-[NSMutableArray removeLastObject]` test case

Adds a test case to ensure `-[NSMutableArray removeLastObject]` does not raise an exception when called on an empty array.
2024-11-08 10:33:31 +00:00
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
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
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
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
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
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
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
Riccardo Mottola
550facb17f use modern doctype suggested, or FF 115 uses quirks mode with classic html 4.01. See https://developer.mozilla.org/en-US/docs/Web/HTML/Quirks_Mode_and_Standards_Mode?utm_source=mozilla&utm_medium=firefox-console-errors&utm_campaign=default 2024-08-22 14:26:08 +02:00
Riccardo Mottola
8792f56ebd fix missing html tag start 2024-08-22 14:20:16 +02:00
Riccardo Mottola
1b823751e6 use classic HTML non-closing tag syntax 2024-08-12 21:57:21 +02:00
Riccardo Mottola
eadaf46781 mark document as strict HTML4 and let's spot errors d- no HTML5 due to frames. 2024-08-12 21:34:08 +02:00
rfm
f898f19b91 add protocols to graphing 2024-08-08 12:15:43 +01:00
Riccardo
ea9c40e35c
Merge pull request #430 from gnustep/agsdoc_new_style
Style HR bars with CSS and not inline.
2024-08-08 08:23:25 +02:00
rfm
3fb764758d Embed SVG directly into class documentation to fix hyperlinking on firefox 2024-08-07 17:48:49 +01:00
rfm
023e8a6d97 Merge branch 'master' of ssh://github.com/gnustep/libs-base 2024-08-07 16:12:56 +01:00
rfm
72c975c543 Simple diagrams in documentation 2024-08-07 16:12:22 +01:00
Hugo Melder
81b3c721bc
NSUserDefaults: Retrieve native UI languages from Windows and Android System APIs (#426)
* Create NSString Win32Additions Category

* NSUserDefaults: Fetch Windows UI language information

* NSUserDefaults: Add winnls include

* Android Native UI Language

* NSUserDefaults: Replace incorrect separator on Windows

* NSProcessInfo: BCP-47 Note

* GSConfig: Bump MinGW WINVER to Vista

* NSString+Win32Additions: Do not add array to arp twice

* NSUserDefaults: Increase default length
2024-08-07 16:26:16 +02:00
Riccardo Mottola
db2f5542f8 define class for dividing HRs and remove its in-line styling with a hard-coded CSS 2024-08-07 12:24:26 +02:00