Commit graph

8289 commits

Author SHA1 Message Date
Gregory John Casamento
f73efa4f89 Remove reference to method we are not implementing at this point 2023-09-15 15:15:10 -04:00
Gregory Casamento
788606f424 Add method which calls info implementation 2023-09-15 14:59:33 -04:00
Gregory John Casamento
4b54990846 Move info method to the right place 2023-09-15 14:57:29 -04:00
Gregory Casamento
19977930f5 Add skeletal version of removeObserver:fromObjectsAtIndexes:forKeyPath:context: 2023-09-15 14:46:01 -04:00
Gregory Casamento
75965866a1 Fix compilation error 2023-09-15 14:39:33 -04:00
Gregory Casamento
0f3bb3d2b8 Use keysight implementation of the method removeObjserver:forKeyPath:context: 2023-09-15 14:13:44 -04:00
Gregory John Casamento
b8bc924cdb Throw an exception when calling the removeObserver:forKeyPath:context: method 2023-09-14 12:22:56 -04:00
Gregory John Casamento
5507ea1d1e Change formatting 2023-09-14 09:31:57 -04:00
Gregory John Casamento
2c81d3e003 Add removeObserver:forKeyPath:context: to implementation 2023-09-13 12:49:01 -04:00
Richard Frith-Macdonald
5f92c87d78 Fix combining header values and warn about empty/bad header values 2023-09-06 17:49:05 +01:00
Richard Frith-Macdonald
570aa0bf2a Remove unused counter 2023-09-06 17:47:59 +01:00
Fred Kiefer
7fe39a23e9
Merge pull request #314 from gnustep/pointerfunctions
Try to address issue of treating pointer function values as bitfield
2023-08-23 17:56:44 +02:00
Richard Frith-Macdonald
6af167ccef Fixup for error spotted by Larry Campbell 2023-08-21 15:01:11 +01:00
Fred Kiefer
243bab9761 Address pull request comments 2023-08-20 00:06:55 +02:00
Fred Kiefer
460355aac6 Merge branch 'master' of github.com:gnustep/libs-base into pointerfunctions 2023-08-19 17:47:55 +02:00
Richard Frith-Macdonald
cc90b2d5a8 Add missing code to create IPV6 streams 2023-08-19 14:25:30 +01:00
Fred Kiefer
b0263ae4a8 Try to address issue of treating pointer function values as bitmap. 2023-08-18 17:29:43 +02:00
rfm
21d630ba95
Revert "Initial commit of updated IPv6" 2023-08-18 12:06:26 +01:00
Richard Frith-Macdonald
c1833e1130 Github issue #312 ... add thread safety for Apple compatibility 2023-08-18 11:21:24 +01:00
rfm
446d168cd3
Merge pull request #310 from gnustep/fix-nsnumberformatter-api
Change NSNumberFormatter minimum/maximum properties type
2023-08-18 11:19:47 +01:00
rfm
5912f4ed6f
Merge pull request #307 from gnustep/Eggplant-Improved-IPv6-Support
Initial commit of updated IPv6
2023-08-18 11:18:50 +01:00
Frederik Seiffert
668d6c4977 Change NSNumberFormatter minimum/maximum properties from NSDecimalNumber to NSNumber to match Apple platforms 2023-08-10 12:20:06 +02:00
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