Royal Stewart
430fa511b7
Fix build issues with Linux
2023-08-01 10:58:28 -06:00
Richard Frith-Macdonald
ef9ad60627
Add Yavor Doganov's patches
2023-08-01 14:46:44 +01:00
Frederik Seiffert
0aaa5307c8
Fix NSData initWithContentsOfURL: caching data of file URLs
2023-08-01 13:27:54 +02:00
Frederik Seiffert
48c8a1a6a1
Fix NSURL path on Windows for UNC paths
2023-07-26 18:21:07 +02:00
Frederik Seiffert
f0e33a48d5
Fix NSFileManager thread safety
2023-07-26 11:56:04 +02:00
Royal Stewart
337ebbea0b
Initial commit of updated IPv6
2023-07-25 10:06:20 -06:00
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
f3555406af
Add stub methods for secure unarchiving
2023-05-10 06:59:40 +02: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
Frederik Seiffert
52548e3d09
Fix -[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
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
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
Fred Kiefer
47b6e9d052
Merge pull request #283 from qmfrederik/features/nsfilemanager-setattribute
...
implement setAttributes:ofItemAtPath:error: method
2022-12-11 18:14:26 +01:00
Doug Simons
bf586eca1b
implement setAttributes:ofItemAtPath:error: method
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/branches/gnustep_testplant_branch@40428 72102866-910b-0410-8b05-ffd578937521
2022-12-09 15:58:39 +01:00
Richard Frith-Macdonald
91108c69c3
tweak handling of parser abort
2022-12-09 10:23:14 +00:00
Richard Frith-Macdonald
1cb6ef8572
Attept to support proxy environment variables
2022-11-29 11:16:36 +00:00
Fred Kiefer
1a96e83c08
* Source/Additions/GSXML.m: Remove usage of deprecated function
...
when a newer version of libxml is used.
2022-11-26 14:26:30 +01:00
Richard Frith-Macdonald
4a03bbc328
make bitfield flags obey consistency standards for BOOL ... set based on a C truth value, get a YES or a NO
2022-11-22 14:43:19 +00:00
Richard Frith-Macdonald
8cb9495ad7
Cosmetic coding standard tweak for clarity and to avoid unreasonably long lines.
2022-11-22 14:22:03 +00:00
Wolfgang Lux
47d2446df4
Really skip hidden files when requested in a directory enumeration
2022-11-21 12:03:06 +01: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
326da37967
improve event handling when there is data in the tls buffers
2022-11-15 15:28:31 +00:00
Richard Frith-Macdonald
78642305c6
Fix for occasional hang
2022-11-07 10:03:16 +00:00
sbeard-eh
1a3d869ab1
Fix for locale handling changes in ICU 64
...
Since ICU 64, the locale handling has changed such that passing an empty string to uloc_canonicalize no longer returns the en_US_POSIX locale as it did in previous versions.
See https://icu.unicode.org/download/64#h.plg55ia6o3du
2022-11-01 20:20:48 +00:00
Richard Frith-Macdonald
37f5a2f9e1
tweak life of the I/O of a connection.
2022-10-21 16:37:54 +01:00
Richard Frith-Macdonald
09a9a8fe5b
Honor SSL_CERT_FILE environment vartiable
2022-10-20 10:24:42 +01:00
Richard Frith-Macdonald
0ca9110ef5
fix trivial typo in cache key format
2022-10-18 20:04:28 +01:00
Richard Frith-Macdonald
726d24bac7
Make http keepalive for GSHTTPURLHandle more robust.
2022-10-18 18:01:02 +01:00
Richard Frith-Macdonald
9581933fd6
Add hints for static analyzer and correct function return type.
2022-09-28 13:48:35 +01:00
Richard Frith-Macdonald
0f9edb188b
fix leak
2022-09-26 16:23:15 +01:00
Richard Frith-Macdonald
a38cc90403
fix leak
2022-09-26 16:18:39 +01:00
Richard Frith-Macdonald
b847a444b3
fix leak
2022-09-26 16:15:47 +01:00
Richard Frith-Macdonald
a021005af7
fix leak
2022-09-26 16:03:32 +01:00
Richard Frith-Macdonald
e48cfb9587
Minor mutability corrections
2022-09-15 14:52:15 +01:00
Richard Frith-Macdonald
bdfdb7a51b
Revert "Add header needed on OSX" ... made in wrong branch
...
This reverts commit 0a6ced7713
.
2022-08-25 09:53:28 +01:00
Richard Frith-Macdonald
86461e2c95
tweaks to build on OSX
2022-08-25 09:45:34 +01:00
Richard Frith-Macdonald
0a6ced7713
Add header needed on OSX
2022-08-25 09:35:40 +01:00
Hugo Melder
7fd20d1ae3
NSPredicate Value Fix
...
* Check if object is an NSExpression object
* Fix Indentation
* Update Changelog
* Add test case
2022-08-24 18:01:30 +02:00
Hugo Melder
a2eb35fd2f
Remove undefined macro
2022-08-23 19:12:01 +02:00
Hugo Melder
32eb5d2acd
win32: Support overlapped (asynchronous) I/O on standard streams in GSFileHandle
...
* win32: Support overlapped I/O on standard streams in GSFileHandle
* Add isStandardInput instance variable
* Restrict PeekConsoleInput on stdin
* Update ChangeLog
2022-08-23 18:43:14 +02:00
Richard Frith-Macdonald
560b1d19fb
relax limit on maximum concurrent operations
2022-08-16 09:36:27 +01:00
Hugo Melder
9a0b660299
Merge branch 'master' into NSTimeZone-win32-fix
2022-08-11 11:59:07 +02:00
Hugo Melder
baf1bb9f73
initWithScheme:host:path: update parser to detect Windows ALPHA symbol
2022-08-10 17:14:24 +02:00
Hugo Melder
3aa2d1912c
Enclose changes into preprocessor conditional
2022-08-08 11:08:03 +02:00
Hugo Melder
3c095da62f
Windows to IANA time zone conversion: remove unsupported TIME_ZONE_ID_DAYLIGHT conversion
2022-08-07 10:55:20 +02:00
Frederik Seiffert
42efca0754
Fix time zone lookup on Windows MSVC when using non-English locale
2022-08-03 17:05:23 +02:00
Richard Frith-Macdonald
abd5223579
Fixup debug logging of http requests with authentication
2022-07-27 13:52:01 +01:00
Richard Frith-Macdonald
2ffa8c1cad
Return errors and use them to raise exception in -launch
2022-06-16 11:52:04 +01:00
Gregory John Casamento
94b08cf647
Implement launch in terms of launchAndReturnError:
2022-06-14 03:16:21 -04:00
Gregory John Casamento
dcb1a0ab1a
Implement launchAndReturnError:
2022-06-08 14:58:18 -04:00
Gregory John Casamento
664daf4ed0
Fix accidental close parenthesis
2022-06-08 14:37:17 -04:00
Gregory John Casamento
bcc87bccda
Implement 10.13 methods for NSTask
2022-06-08 14:09:09 -04:00
Gregory John Casamento
6c7386f5e1
Add new methods for NSTask
2022-06-07 21:32:11 -04:00
Richard Frith-Macdonald
1934ce6205
Changes to avoid placing sensitive information in debug logs.
2022-05-20 12:32:31 +01:00
Frederik Seiffert
8ca4381676
Add userInfo accessor to NSProgress.
2022-04-29 19:54:09 +02:00
Richard Frith-Macdonald
57eae2e779
Small logging improvement for exception returned when we are expecting nothing
2022-04-14 15:46:21 +01:00
Richard Frith-Macdonald
9460d6a469
Normalize repeated combining characters to a single one
2022-04-07 14:35:05 +01:00
Gregory John Casamento
71e07e1a82
Add component:fromDate:
2022-04-04 23:57:10 -04:00
Gregory John Casamento
cb87724a21
Add 10.9 methods for getEra:..., getHour:... etc
2022-04-04 19:26:22 -04:00
Gregory John Casamento
95a24fb651
Add new methods for NSIndexPath. Add row, section, item and new init methods
2022-03-07 07:35:12 -05:00
Richard Frith-Macdonald
ae72ee4593
Fix for #243
2022-03-07 10:13:44 +00:00
Gregory John Casamento
77e6315e2e
Correct issues as discussed in PR by Fred and Richard.
2022-03-06 20:59:27 -05:00
Gregory John Casamento
f42def6ea5
Add necessary methods to NSIndexPath to support NSCollectionView with layouts. Needed item,section information in NSIndexPath object
2022-03-03 02:26:33 -05:00
Richard Frith-Macdonald
ea1575b63c
fix bug in testing whether an NSDistantObject responds to selectors.
2022-02-25 13:00:55 +00:00
Gregory John Casamento
0fd132fe9f
Minor change: Update DocMakefile with all headers.
2022-02-21 14:47:08 -05:00
Frederik Seiffert
b6740f0f6c
Fix some checks when using ICU DLL from Windows 10
2022-02-18 19:06:54 +01:00
Richard Frith-Macdonald
0b1a2d4d66
Tidy positioning of semicolon to be inside IF_NO_ARC() macros so it won't appear in the source when compiled with ARC
2022-02-17 10:21:36 +00: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
Richard Frith-Macdonald
6837924e60
Provde more informative debug output when TLS handshake fails
2022-02-17 09:05:49 +00:00
Richard Frith-Macdonald
3bc05ad580
Patch by Larry Campvell for git #237
2022-02-12 13:06:23 +00:00
Richard Frith-Macdonald
a89dc604dd
Fix minor debug logging error
2022-02-11 17:39:47 +00:00
Richard Frith-Macdonald
e9ed77fb68
Fixups for memory amangement and thread safety issues
2022-01-31 16:57:10 +00:00
Richard Frith-Macdonald
f1b3144209
Rewrite last change to be a little more efficient
2022-01-31 12:18:24 +00:00
Richard Frith-Macdonald
f3344628e5
fix for arrya constant
2022-01-30 17:24:32 +00:00
Sergei Golovin
cce60ccc51
* use handle from the cache only if the caller asked
2022-01-30 06:54:56 +04:00
Frederik Seiffert
6657796e15
Use GSNativeChar where applicable
2022-01-26 10:33:33 +01:00
Frederik Seiffert
1aab02b622
Fix NSTemporaryDirectory() returning path with backslashes on Windows
2022-01-26 10:33:33 +01:00