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
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
rfm
a2b9be6287
update config for recent autoconf
2024-07-16 14:20:38 +01:00
rfm
58ae7db59a
fixup headers for deletion of obsolete lock code
2024-05-30 11:06:23 +01:00
rfm
241e2a47ca
locking updates (fine grained locking rather than global lock)
2024-05-30 10:40:52 +01:00
rfm
430629b097
Note deprecation of old locking stuff
2024-05-27 07:57:03 +01:00
Frederik Seiffert
94a6cb9919
Fix Unicode includes in NSString.m
...
Fixes compilation using ICU bundled with Windows.
2024-05-15 17:09:00 +02:00
hmelder
53b02bab91
Generate configure and config.h.in
2024-04-28 23:22:20 +02:00
rfm
4f24e0e35d
Merge pull request #389 from qmfrederik/rocky-check
...
Use AC_SEARCH_LIBS instead of AC_CHECK_LIB for sframe
2024-04-28 10:31:38 +01:00
Gregory John Casamento
ec8e784f82
Quick Fix: Add macro for macOS14, Sonoma
2024-04-21 11:56:17 -04:00
Frederik Carlier
e0af8f8035
Use AC_SEARCH_LIBS instead of AC_CHECK_LIB for sframe
...
Make it optional, this library is not available on Enterprise linux
2024-04-20 20:07:56 +00:00
rfm
b9ae7bf03c
Merge pull request #332 from qmfrederik/fixes/blocks-header-detection
...
Use `__has_include` to choose between <Block.h> and <objc/blocks_runtime.h>
2024-04-14 11:46:12 +01:00
Frederik Carlier
c1d982a854
MinGW: Add dllimport/dllexport attributes when compiling with clang
...
The GCC compiler will automatically export all symbols on MinGW, but this is not the case for clang. Add the `__declspec` attributes when compiling with clang on MinGW.
2024-01-19 14:20:45 +01:00
rfm
5917e32dbb
Add macro to mark unimplemented functions and methods
2023-11-21 08:54:39 +00:00
rfm
b4feee311f
Fix for #334
2023-11-14 21:20:50 +00:00
rfm
58397df4bc
Merge branch 'autogsdoc-improvements'
...
Adds ObjC2 support and various bugfixes
2023-11-14 20:00:36 +00:00
rfm
ae9892db11
Use closefrom() if available
2023-11-14 11:34:55 +00:00
rfm
40ebe6df30
Minore documentation cross reference fixes
2023-10-30 19:55:45 +00:00
rfm
e027ff8585
Minor documentation tweaks
2023-10-30 16:56:05 +00:00
rfm
e58f37337c
Fix empty preprocessor directive
2023-10-30 13:56:21 +00:00
rfm
112c60b48b
Tweaks to make preprocessor documentation more reliable
2023-10-30 12:27:25 +00:00
rfm
384a0de0ba
Fix minor documentation errors
2023-10-28 15:38:22 +01:00
Frederik Carlier
1f2eba393c
Use __has_include
to choose between <Block.h> and <objc/blocks_runtime.h>
...
Most Linux distributions and MSYS2 include a version of BlocksRuntime which includes the `Block.h` header.
2023-10-08 20:19:25 +02:00
Richard Frith-Macdonald
24653e63c3
Ensure sockaddr_any is future proof for new socket addresse sizes on
...
platforms where sockaddr_storage is provided
2023-09-24 12:26:59 +01:00
Frederik Seiffert
b1e43eb5dd
Add OSX version defines for 10.15 - 13 and fix 10.10 - 10.14 to match Apple platforms
2023-05-10 06:59:40 +02:00
Richard Frith-Macdonald
d5d8a71c79
Allow certificate based rejection of DO connection attempts.
2022-11-21 10:40:33 +00:00
rfm
a9901204e2
Merge pull request #269 from gnustep/libcurl-autoconf
...
Rewrite autoconf libcurl detection
2022-11-21 10:30:41 +00:00
Richard Frith-Macdonald
78642305c6
Fix for occasional hang
2022-11-07 10:03:16 +00:00
Richard Frith-Macdonald
b1da997d25
Revert "tweaks to build on osx" ... made in wrong branch
...
This reverts commit 73a6e17dc1
.
2022-08-25 09:54:07 +01:00
Richard Frith-Macdonald
79d3d7b498
fix error editing constant name
2022-08-25 09:49:24 +01:00
Richard Frith-Macdonald
86461e2c95
tweaks to build on OSX
2022-08-25 09:45:34 +01:00
Richard Frith-Macdonald
73a6e17dc1
tweaks to build on osx
2022-08-25 09:22:48 +01:00
Hugo Melder
c53f41cc27
Regenerate autoconf
2022-08-23 03:53:54 -07:00
Richard Frith-Macdonald
c76ebf2962
Replaced IF_NO_GC() macro calls with the more descriptive IF_NO_ARC()
...
and deprecate it. Searched for and removed obsolete references to
garbage collection in comments and documentation.
2022-02-17 10:08:18 +00:00
Fred Kiefer
e797128a03
Merge pull request #226 from levinli303/master
...
Support more DOS/Windows string encodings
2021-12-26 13:08:56 +01:00
Levin Li
fe2f41c7f1
Use encoding number values from Apple
2021-12-26 14:22:04 +08:00
Levin Li
ca6145efdd
Support more DOS/Windows encodings
2021-12-25 16:36:18 +08:00
rfm
4db3f5c881
Merge pull request #220 from levinli303/patch-1
...
Do not call handler blocks if they are nil
2021-12-21 08:39:38 +00:00
Frederik Seiffert
eea7d47a77
Restrict NS_FORMAT_ARGUMENT() to Clang.
...
Causes warning with recent GCC:
'format_arg' attribute directive ignored [-Wattributes]
2021-11-29 10:02:02 +01:00
Levin Li
5b151c5fa0
Do not call handler blocks if they are nil
2021-11-23 18:34:34 +08:00
Frederik Seiffert
87783e2513
Annotate NSBundle localized string function with NS_FORMAT_ARGUMENT.
2021-11-11 16:41:50 +01:00
Frederik Seiffert
47480d781a
Add missing export declarations required by libs-gui on Windows MSVC
2021-10-26 10:28:51 +02:00
rfm
1e8ff8e628
Merge branch 'master' into nstimezone
2021-08-18 14:52:24 +01:00
Frederik Seiffert
a9d601746f
Silence warning in GSIMap.h
2021-08-11 19:32:21 +02:00
Richard Frith-Macdonald
5162d888dc
timezone updates for version2 files
2021-08-11 08:43:20 +01:00
Frederik Seiffert
35ef9423e0
Annotate callback functions with __stdcall on Windows
...
Fixes crash on exit on Windows x86.
2021-08-08 17:27:40 +02:00
Frederik Seiffert
b969347587
Use pkgconfig to find libxslt
2021-08-03 16:55:56 +02:00
Frederik Seiffert
dc32970502
Add support for using ICU DLL from Windows 10
...
Requires Windows 10 version 1903 (May 2019 Update):
https://docs.microsoft.com/en-us/windows/win32/intl/international-components-for-unicode--icu-
Also adds missing configure check for unicode/utext.h.
2021-08-03 16:52:38 +02:00
Frederik Seiffert
abfe4e2a04
Use native threading and locking APIs on Windows
...
Removes dependency on pthread library and uses fast Slim Reader/Writer (SRW) locks for NSLock/NSRecursiveLock/NSCondition/NSConditionLock as well as all internal locks. Adds GS_MUTEX_*() macros in GSPThread.h, that are being used for all internal locking instead of pthread APIs.
Also adds support for thread priorities on Windows, fixes method signature of +[NSThread setThreadPriority:] to match Apple platforms, and adds error handling in same method.
2021-07-29 14:22:27 +02:00
Richard Frith-Macdonald
3b8bbb00ba
Try to make timezone parsing more robust: always use standard header for posix time zone files.
2021-07-29 10:35:19 +01:00