Richard Frith-Macdonald
c6df659d35
iClose socket if we end loading with an I/O operation in progress
2023-06-26 12:55:01 +01:00
Richard Frith-Macdonald
e3b7fa5720
Fix for possible crash after instance deallocated
2023-06-15 10:21:39 +01:00
Frederik Seiffert
fe863c981d
Fix runtime initialize config check on Windows
...
Was failing due to error: incompatible function pointer types passing 'void *(void *)' to parameter of type '_beginthreadex_proc_type' (aka 'unsigned int (*)(void *)') [-Wincompatible-function-pointer-types].
2023-06-13 15:44:45 +02:00
Frederik Seiffert
7e14fd1979
Change NSURL tests to use example.com
...
httpbin.org has lately been unreliable, leading to spurious test failures on CI.
2023-06-13 14:33:40 +02:00
Gregory John Casamento
7a76635360
Revert "Add method declarations to NSUserActivity"
...
This reverts commit 32cda86b09
.
Accidentally committed to master.
2023-05-23 19:56:05 -04:00
Gregory John Casamento
32cda86b09
Add method declarations to NSUserActivity
2023-05-23 19:54:45 -04:00
Gregory John Casamento
6fbaa7ca33
Update macOS version to 10.10 as per documentation. Minor update
2023-05-23 15:16:56 -04:00
Richard Frith-Macdonald
231151aea3
missed update
2023-05-10 12:29:07 +01:00
Frederik Seiffert
f3555406af
Add stub methods for secure unarchiving
2023-05-10 06:59:40 +02: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
0f98f12c21
Add support for OSX version numbers up to 15
2023-05-08 15:50:07 +01:00
Frederik Seiffert
810061f6e7
NSOrderedSet: Fix keyed encoding to match Apple platforms
2023-05-04 12:46:37 +02:00
Frederik Seiffert
37913d006d
Fix GSXML compatibility with libxml2 v2.11.0
...
Fixes #294 .
2023-05-04 12:46:08 +02:00
Richard Frith-Macdonald
a5a1ef0413
Ignorew writabel descriptor when we have nothng to write
2023-05-04 09:59:31 +01:00
Richard Frith-Macdonald
f7aa3a940a
fix typo
2023-04-27 09:57:21 +01:00
Frederik Seiffert
52548e3d09
Fix -[NSFileManager contentsOfDirectoryAtURL:...]
2023-04-27 10:51:15 +02:00
Frederik Seiffert
df743e6d52
Add test for -[NSFileManager contentsOfDirectoryAtURL:...]
2023-04-27 10:51:15 +02:00
Richard Frith-Macdonald
a2f63bfec0
use non-blocking mode to accept connections
2023-04-13 14:27:09 +01:00
rfm
96a8613dbc
Merge pull request #291 from qmfrederik/fixes/nsdata-base64-empty-string
...
`[NSData initWithBase64EncodedString]`: Fix decoding of an empty string
2023-04-07 15:29:22 +01:00
Frederik Carlier
081f890be8
[NSData initWithBase64EncodedString]
: Fix decoding of an empty string
...
Don't call `NSZoneRealloc` with a length of 0, but free the zone and return an empty `NSData` buffer instead.
2023-04-06 21:54:46 +00:00
Richard Frith-Macdonald
c7125ec291
Fix for github bug #289
2023-03-23 21:38:46 +00:00
Frederik Seiffert
8209793ac7
CI: fix MSVC builds when building dependencies
2023-03-11 20:22:00 +01:00
Frederik Seiffert
6acb0b27f7
CI: add tools-make/tools-windows-msvc branch name to run name
2023-03-11 20:22:00 +01:00
Frederik Seiffert
1835f3f549
NSURLSession: mark broken test as hopeful on Windows
2023-03-11 20:22:00 +01:00
Frederik Seiffert
72b1233c2a
NSURLSession: fix memory management in GSTransferState
2023-03-11 20:22:00 +01:00
Frederik Seiffert
7e7cac89aa
NSURLSession: fix libcurl debug output
2023-03-11 20:22:00 +01:00
Frederik Seiffert
1efd805421
NSURLSession: improve protocol detection
2023-03-11 20:22:00 +01:00
Frederik Seiffert
82d9917c2c
NSURLSession: implement missing body data for data completion handlers
...
Now using the previously unused "in-memory" body data drain if a task has a completion handler, which requires the full body to be passed on completion.
Also consolidated private NSURLSessionTask methods, some of which were previously implemented twice in separate categories with the same name, leading to possible undefined runtime behavior.
2023-03-11 20:22:00 +01:00
Frederik Seiffert
153482ea94
NSURLSession: use mutable data for transfer state body
2023-03-11 20:22:00 +01:00
Frederik Seiffert
c0a6227013
NSURLSession: call getTasks callbacks on delegate queue
...
Matches the documented behavior.
2023-03-11 20:22:00 +01:00
Frederik Seiffert
3c27683c03
NSURLSession: create dispatch queues using target and use lock instead of queue for session identifier
...
Creating stand-alone dispatch queues without a target is discouraged.
2023-03-11 20:22:00 +01:00
Frederik Seiffert
15499e1017
NSURLSession: optimized timout timer and fixed memory management
2023-03-11 20:22:00 +01:00
Frederik Seiffert
cb6c53b84d
Fix NSURLSession header fields not always being matched case insensitive.
2023-03-11 20:22:00 +01:00
Frederik Seiffert
18f81f9ccc
Fix NSURLSession memory management of libdispatch objects and overrelease in GSHTTPURLProtocol.
2023-03-11 20:22:00 +01:00
Frederik Seiffert
2f5b26df06
Add missing NSURLSession APIs
2023-03-11 20:22:00 +01:00
Richard Frith-Macdonald
55e53caf28
Remove check on parameter nasmes in interface and implementation. We only need types to match
2023-02-10 09:41:10 +00:00
Richard Frith-Macdonald
3631c4b068
Fix possible exception setting header value
2023-02-09 11:03:21 +00:00
Richard Frith-Macdonald
b8aedfc53e
Fix recently introduced bug with premature connection close
2023-02-01 19:17:12 +00:00
Richard Frith-Macdonald
b549e72432
assign result of init to self
2023-01-25 11:44:06 +00:00
Richard Frith-Macdonald
d17ad36c53
Tidied to assign result of init to self
2023-01-25 11:40:50 +00:00
Richard Frith-Macdonald
10f86fed2d
revert stupid change
2023-01-24 14:09:53 +00:00
Richard Frith-Macdonald
35a763f3cb
Aim to improve thread safety of stacktrace generation.
2023-01-24 11:35:14 +00:00
Frederik Seiffert
7c52bd7c21
CI: improve error handling and prevent GitHub rate limit errors
2023-01-17 09:21:13 +01:00
Frederik Seiffert
8e931a0b2c
CI: fix Windows MSVC tests
...
Required due to tools-make change:
5ee21206a8
2023-01-16 19:35:59 +01:00
Frederik Seiffert
8ea4c32bb2
CI: fix Windows MSVC builds
2023-01-13 12:43:18 +01:00
Richard Frith-Macdonald
c6af8ef4bf
bugfix release
2023-01-08 08:41:32 +00:00
Frederik Seiffert
e13195b44e
CI: various improvements
...
- update GitHub actions (fixes Node.js 12 deprecation warnings)
- separate Linux and Windows jobs
- add option to specify tools-make branch for manual run
- Windows MSVC: use dependencies from pre-built release (with option to build dependencies via manual run)
- Windows MSVC: set GitHub token when building dependencies to prevent GitHub rate limit errors
- remove installation of libkqueue-dev package (not used by libdispatch)
- update dependencies from libobjc-9-dev to libobjc-10-dev
- add -q flag to git clone to prevent progress logs from spamming logs
2023-01-06 15:56:28 -06:00
Richard Frith-Macdonald
7f84bd9fc2
fix version number error
2022-12-28 12:55:54 +00:00
Richard Frith-Macdonald
24022dfe02
Add updated timeznes to release
2022-12-28 12:46:59 +00:00
Richard Frith-Macdonald
aeaca5ba49
New release
2022-12-28 11:46:43 +00:00