Gregory John Casamento
edc15778d2
Add removeObserver:fromObjectsAtIndexes:forKeyPath:context: method
2023-10-07 20:51:47 -04: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
Riccardo Mottola
5773700b93
some date cleanup for updated doc generation
2023-09-21 01:27:10 +02:00
Riccardo Mottola
0547b18d32
remove some useless ; in declarations
2023-09-21 00:55:10 +02:00
Gregory Casamento
92ef305e1e
Merge pull request #326 from gnustep/warningfix
2023-09-20 16:51:25 -04:00
Gregory Casamento
dbfbf3766a
Merge pull request #317 from gnustep/NSLock_fix_issue316
2023-09-19 12:41:12 -04:00
Riccardo Mottola
2c7b3c6f63
cast to the localsub type
2023-09-18 22:57:40 +00:00
Riccardo Mottola
72e8335bd9
check for a valid file and check for ftruncate() result and throw exception in case
2023-09-18 23:40:13 +02:00
Riccardo Mottola
e20b3d59fc
only exec if chdir worked
2023-09-18 23:13:41 +02:00
Riccardo Mottola
339fb7a131
suppress various warnings
2023-09-18 23:08:41 +02:00
Richard Frith-Macdonald
65163ebf48
Add testcases and corrected code to check for GSMacOSXCompatibility mode
...
when unlocking fails. Also put more detail in the warning message
2023-09-17 23:35:03 -04:00
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
Gregory John Casamento
05dd8a4c2a
Add code using getenv to show #rfm the current failure
2023-09-11 11:02:14 -04:00
Gregory John Casamento
881a77bd3d
Add GSMacOSXCompatible check, do it just to unlock since that is the immediate issue
2023-09-09 12:54:14 -04:00
Gregory Casamento
ba3b31ced2
Issue a warning instead of throwing an exception
2023-09-09 12:54:14 -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
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