Commit graph

8729 commits

Author SHA1 Message Date
Doug Simons
f5f8f61e54
oops! Put the other bracket back in. 2024-05-14 15:44:44 -06:00
Doug Simons
256700d57d
avoid using Obj-C 2.0 notation 2024-05-14 15:40:22 -06:00
Doug Simons
50f447f5b8
Fix execute_xpath() to return an NSError when expression can't be evaluated; Remove previous attributes when setting attributes; Add related tests 2024-05-14 15:25:07 -06:00
rfm
3f994d3ee1 avoid compiler warnings 2024-05-12 15:07:49 +01:00
rfm
e9cfa9558b removed unused import 2024-05-12 10:14:02 +01:00
rfm
adbc7c2631
Merge pull request #400 from gnustep/nsurlhandle_cache
GSFileURLHandle: Remove file handle caching
2024-05-12 10:11:28 +01:00
rfm
35bb9f48ef regular expression range search 2024-05-12 10:03:15 +01:00
rfm
1fdf6395bd
Merge pull request #370 from ethanc8/ethanc8-3
Implement +[NSRegularExpression escapedPatternForString:] and -[NSString enumerateSubstringsInRange:options:usingBlock]
2024-05-12 09:32:34 +01:00
rfm
00a95fef78 trivial coding style fixups 2024-05-09 12:20:45 +01:00
hmelder
77e3453020 Remove FIXMEs 2024-05-08 16:06:44 +02:00
hmelder
6155329b64 NSIndexSet: Implement enumerateRangesInRange convenience methods 2024-05-08 16:06:44 +02:00
hmelder
f6eaa5bd03 NSURLSession: Call completion handler on failed request 2024-05-08 16:05:17 +02:00
rfm
6011b3c528 Protect bfd symbol lookup for thread safety 2024-05-07 11:24:26 +01:00
hmelder
a1dff584a4 GSFileURLHandle: Remove caching functionality 2024-05-06 18:06:50 +02:00
hmelder
a127d4ee75 GSFileURLHandle: Expose internal cache 2024-05-06 10:44:22 +02:00
hmelder
e1fcc2db35 GSFileURLHandle: Use NSCache and limit cache size 2024-05-06 10:38:07 +02:00
williameveretteggplant
21a48f6136
NotificationCenter removeObserver (#396)
This modifies the NotificationCenter class to do the following:

- add an ivar to the class for an array to hold observers that need to be released when they are removed
- adds an observer to that array if the observer is of class GSNotificationObserver
- upon removing an observer, check if it is in that array, if so remove it from the array and release it.

This replaces the previous implementation which checked the class of the observer as it was being removed, which would cause a crash if the observer had been deallocated.
2024-04-30 18:44:26 +02:00
rfm
a5beb6ab31 Fix for bug #399 2024-04-29 13:11:35 +01:00
hmelder
10eaba4f13 Fix dummy function signature 2024-04-28 23:22:20 +02:00
hmelder
8ec158ad05 Guard Windows Header Include 2024-04-28 23:22:20 +02:00
hmelder
8a93628ecb NSThread: Fix behaviour and Implement setName on Win32 2024-04-28 23:22:20 +02:00
Frederik Carlier
810a39b1f8
Map CURLE_COULDNT_CONNECT to NSURLErrorCannotConnectToHost (#388)
Map `CURLE_COULDNT_CONNECT` to `NSURLErrorCannotConnectToHost`.

When connecting to an IPv6 socket fails, curl easy will return `CURLE_COULDNT_CONNECT`.  GNUstep currently maps `easyCode == CURLE_COULDNT_CONNECT && failureErrno == ETIMEDOUT` to `NSURLErrorTimedOut`, in all other scenarios `CURLE_COULDNT_CONNECT` is not handled.

This would cause the `NSURLSession/test01` to fail on (certain) systems with IPv6 enabled.

This PR maps all other values of `CURLE_COULDNT_CONNECT` to `NSURLErrorCannotConnectToHost`.
Additionally, it also stores the value of `easyCode` in the `NSUnderlyingErrorKey` to make troubleshooting (slightly) easier.
2024-04-21 10:26:24 +01:00
hmelder
1d33c2095f Fix formatting 2024-04-17 23:32:56 +02:00
hmelder
279d91e0f3 NSTimeZone: Import NSScanner 2024-04-17 23:32:56 +02:00
hmelder
2918bd992e Refactor +[NSTimeZone timeZoneArray] 2024-04-17 23:32:56 +02:00
Frederik Seiffert
7842a79839 Removed obsolete GS_ARC_COMPATIBLE define (replaced by OBJC_CAP_ARC) 2024-04-15 09:55:14 +02:00
Frederik Seiffert
ec8a7a3e97 Add +[NSObject _TrivialAllocInit] to enable fast-path alloc / init methods with libobjc2 2.2 2024-04-15 09:55:14 +02:00
rfm
a2b8f34661 Some web servers send empty headers ... tolerate it. 2024-04-04 10:59:00 +01:00
Gregory Casamento
3c1db49f4f
Merge pull request #384 from qmfrederik/dummy-nsnetservices 2024-04-03 23:49:03 -04:00
rfm
d52708e020 Fix for #385 2024-04-02 11:07:14 +01:00
Frederik Carlier
97c01d8064
NSNetService and NSNetServiceBrowser: Gracefully fail when no-backend implementation
Always compile `NSNetService` and `NSNetServiceBrowser`, but have their
`intialize` method return `nil` if libavahi and mDNS are unavailable.

This:
- Results in a clear error message if code which was compiled against a
  copy of GNUstep with avahi/mDNS support runs on a copy of GNUstep which
  doesn't have avahi/mDNS support.
- Avoids code which uses `NSNetService` or `NSNetServiceBrowser` to
  successfully compile (because the classes are defined in the header)
  but then failing to link (because there is no implementation for these
  classes).
2024-03-31 11:37:23 +00:00
Frederik Carlier
07d17a16a7 Generate pkg-config configuration file for libs-base
This commit generates a `gnustep-base.pc` file which is installed in `/lib/pkgconfig` and contains the GNUstep base version number, the libraries to link (equivalent to `gnustep-config --base-libs`) with and the C flags to use (equivalent to `gnustep-config --objc-flags`).
2024-03-30 15:56:22 +00:00
rfm
61da0dab96 fix possible dereference of null pointer 2024-03-11 14:36:22 +00:00
hmelder
ca1d07dcf2 Implement +[NSDate now] 2024-03-11 11:48:28 +01:00
rfm
88b73acd8b more leak fixes 2024-03-04 11:52:42 +00:00
rfm
e8813346e5 more leak fixes 2024-03-04 10:49:58 +00:00
rfm
619f902e9b ileak fix 2024-03-04 10:21:35 +00:00
rfm
cd2626e26b Attept fix for deadlock 2024-02-20 16:05:58 +00:00
rfm
f071a8c7d0 imprve debug info a little 2024-02-20 10:08:43 +00:00
ethanc8
a15fa66276 Stylistic changes in -[NSString enumerateSubstringsInRange:options:usingBlock:] 2024-02-17 19:11:05 -06:00
rfm
d988153800 Fix for #361 2024-02-16 14:26:41 +00:00
rfm
92660a5937 Make extra event operate for winsock only 2024-02-13 17:18:42 +00:00
rfm
c4e5ea3d42 partial revert for regression on unix 2024-02-13 16:28:28 +00:00
rfm
d444f1fb3f windows socket fixes 2024-02-13 15:09:43 +00:00
rfm
90e0460466 acceidentally missed from earlier commit 2024-02-13 15:04:23 +00:00
rfm
88e43d73a6 fix incorrect enumeration end parameter 2024-02-13 12:59:12 +00:00
rfm
815556ddf9 OSX compatibility fix 2024-02-13 12:41:34 +00:00
rfm
6488189dca Improve winsock error handling (consistently use correct errror number) 2024-02-13 11:19:36 +00:00
rfm
e6e95d81f6 Added debug 2024-02-12 17:39:22 +00:00
rfm
c0b9ba8992 Possible fox for #319 2024-02-12 06:10:44 +00:00
rfm
ec914793c3 fix for #302 2024-02-11 19:50:06 +00:00
rfm
be12e91109 locale method fixup with testcase 2024-02-11 15:03:37 +00:00
Frederik Seiffert
6d1fe8fadf Initialize Android process with current locale and system time zone 2024-02-11 09:04:04 +01:00
rfm
79a1a6b944 fix for #368 2024-02-06 14:22:04 +00:00
rfm
d6bb6deff6 fix small bug and add optimisation 2024-02-02 15:40:44 +00:00
Dave Vernon
947f0f8b52 Revert inadvertent change. 2024-02-01 09:25:49 -07:00
Frederik Seiffert
f7eff46e86 Fix NSLocale -countryCode incorrectly returning language code 2024-02-01 10:27:14 +01:00
DavidHVernon
c9999c8dcb experiment. 2024-01-31 15:44:03 -07:00
rfm
2df0df5450 move tcp tune code to be shared between windows and unix 2024-01-30 15:26:34 +00:00
rfm
ca48e4f5d7 Merge branch 'master' of ssh://github.com/gnustep/libs-base 2024-01-30 15:09:32 +00:00
rfm
46e7064393 Stream debug and event handling improvements 2024-01-30 15:08:31 +00:00
Frederik Seiffert
524a0c498f Fixed dangling AAssetDir pointer on Android 2024-01-30 10:36:12 +01:00
rfm
3bc0a58531 yet more debug info 2024-01-29 21:46:11 +00:00
rfm
562ee46118 clarer debug log 2024-01-29 21:24:31 +00:00
rfm
bad85d69f7 add write error debug log 2024-01-29 21:05:54 +00:00
rfm
742d9fc843 improve poor debug log 2024-01-29 21:00:22 +00:00
rfm
41d948b5bb patch to improve thread startup by Larry Campbell 2024-01-29 19:50:44 +00:00
rfm
b7f66a9dd3 fix for issue #365 2024-01-29 14:27:32 +00:00
rfm
a0ce4ab880 keep observer retained until removed 2024-01-09 08:25:28 +00:00
rfm
db90ab6bb9 fix leak spotted by Larry Campbell 2024-01-05 08:22:24 +00:00
ethanc8
b8239f604f Implement -[NSString enumerateSubstringsInRange:options:usingBlock] 2023-12-31 22:41:45 -06:00
ethanc8
7862434d85 Implement +[NSRegularExpression escapedPatternForString:] 2023-12-29 22:43:35 -06:00
hmelder
7a39bcf319 Fix formatting 2023-12-28 12:02:04 +01:00
hmelder
61bb82e902 NSNull: Implement valueForUndefinedKey and return [NSNull null] 2023-12-28 12:02:04 +01:00
Riccardo Mottola
08858caf29 cleanup biolerplate comments, enable autogsdoc comments, cleanup some old RCS/CVS tags, fix emails 2023-12-23 02:44:50 +01:00
rfm
6ad8953196 fix minor documentation generation warning 2023-12-21 20:20:52 +00:00
rfm
c739ac81bd Another path fix 2023-12-19 14:24:13 +00:00
rfm
cead13c823 cope with partial path to file containing class 2023-12-12 21:11:55 +00:00
rfm
48e599ae06 add some logging info 2023-12-12 20:59:09 +00:00
rfm
286a127501 Warn about unmatched <ignore> tags 2023-12-12 20:45:06 +00:00
rfm
70e56ecfea bugfix by by danieljboyd@icloud.com 2023-12-06 17:40:06 +00:00
rfm
aec85c5a4f remove obsolete size restriction on port messages 2023-12-05 14:33:56 +00:00
rfm
05c1ba2e6e ifindentation fixes 2023-12-05 14:12:07 +00:00
rfm
5c5a62e8d4 Avoid conflict of ivar name with systemcall name 2023-11-30 08:16:02 +00:00
rfm
2473c744d1 fix accidentally deleted line 2023-11-23 17:30:51 +00:00
rfm
07fed93200 Improvements for github issue 352 2023-11-23 16:39:58 +00:00
rfm
c1c17df624 avoid compiler warning 2023-11-23 16:35:35 +00:00
Riccardo Mottola
d22abeebc5 add further debug log 2023-11-21 17:30:00 +01:00
rfm
a01afe20b9 Fixup error intrduced in last commit 2023-11-21 14:05:24 +00:00
rfm
d98bc5cf2f Fix path format for backslashes on windows 2023-11-21 13:18:43 +00:00
rfm
270429cf97 Warn if we can't find the library version for a bundle 2023-11-21 08:31:44 +00:00
Frederik Seiffert
fd7f11a134 Support deleting NSMutableURLRequest headers by calling setValue:forHTTPHeaderField: with nil value. 2023-11-14 23:04:42 +01:00
rfm
b4feee311f Fix for #334 2023-11-14 21:20:50 +00:00
rfm
e8b67e3e0b fix for #292 2023-11-14 20:55:22 +00:00
rfm
58397df4bc Merge branch 'autogsdoc-improvements'
Adds ObjC2 support and various bugfixes
2023-11-14 20:00:36 +00:00
rfm
dc96e8ec47 more options to close descriptors (for portability) 2023-11-14 19:56:43 +00:00
rfm
ae9892db11 Use closefrom() if available 2023-11-14 11:34:55 +00:00
rfm
15ff083a9a Reformatting and compilation fixes. 2023-11-13 19:45:16 +00:00
hmelder
a66d25598e NSObject: Change return type of setVersion: from id to void 2023-11-13 20:01:11 +01:00
Hugo Melder
ac38295f64
NSRegularExpression: Improved Error and Exception handling to match macOS behaviour (#343)
* NSRegularExpression: Match macOS error handling

* Add test cases for error handling

* NSRegularExpression: Raise an NSInvalidArgumentException instead of NSInternalInconsistencyException

* Check if NSRegularExpression throws an exception
2023-11-13 19:55:49 +01: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
44dc5cef3d Documentation error tweaks 2023-10-30 16:09:10 +00:00
rfm
2e48b09feb Raise exception for unimplemented methods 2023-10-30 15:37:18 +00:00
rfm
8b4a8820a8 Fix to ensure correct version of mheader fiel is imported 2023-10-30 14:30:06 +00:00
rfm
1cce7e97e2 Mark unimplemented methods 2023-10-30 14:29:25 +00:00
rfm
0db43469c2 Fuylly specify argument type 2023-10-30 13:58:23 +00:00
rfm
112c60b48b Tweaks to make preprocessor documentation more reliable 2023-10-30 12:27:25 +00:00
rfm
57f066442e Add diagnostic code and implement lookup for metods in informal protocols 2023-10-27 15:10:11 +01:00
rfm
1942313dea NSISO8601DateFormatter bugfix (as reported by kevinpeizner) and tweaks. 2023-10-26 14:19:06 +01:00
rfm
fa30cfa93a Remove -WordMap information (now built in to autogsdoc) and use -Verbose 2023-10-26 11:24:30 +01:00
Riccardo Mottola
02262e9ac0 some cleanup for autogsdoc 2023-10-23 21:41:59 +02:00
rfm
7dfe3c56a5 Add missing preprocessor value mappings 2023-10-23 19:56:10 +01:00
rfm
7924d3a08f
Merge pull request #333 from qmfrederik/fixes/objc-includes
Add missing includes for `objc_msg_lookup` in `NSObject.m` and `NSProxy.m`
2023-10-21 19:08:49 +01:00
rfm
ab11ba285e
Merge pull request #337 from qmfrederik/fixes/tool-not-found-error
NSDistributedNotificationCenter: Throw a descriptive exception when gdnc could not be found
2023-10-21 19:08:02 +01:00
rfm
921c1317f7 Fix to make working directory checks function on windows 2023-10-11 18:10:44 +01:00
Frederik Carlier
b9f3bb4d76 NSDistributedNotificationCenter: Throw a descriptive exception when gdnc could not be found
`NSTask launchPathForTool: @"gdnc"];` can return `nil` when the tool is not found.  In this case, `[NSTask launchedTaskWithLaunchPath]` would raise a `NSInvalidArgumentException` with error message "NSTask - no launch path set" which is not very descriptive.
2023-10-11 16:38:17 +02:00
Richard Frith-Macdonald
a5a9423c10 Return error if task directory is bad 2023-10-10 17:01:52 +01:00
Gregory John Casamento
e73f55f182 Remove check for GSMacOSXCompatible from respondsToSelector: 2023-10-10 03:45:21 -04:00
Gregory John Casamento
2300a26b1a Update... fix respondsToSelector: 2023-10-10 00:28:49 -04:00
Wolfgang Lux
3ed5eb3dcf Use _exit instead of exit to terminate a vfork'ed process.
This avoids running the atexit handlers, which could have visible side
effects in the parent process.
2023-10-09 22:51:01 +02:00
Frederik Carlier
f92c46982d NSProxy: Include <objc/message.h>
NSProxy uses objc_msg_lookup, which is defined in <objc/message.h>
2023-10-08 23:20:52 +02:00
Frederik Carlier
ed77305f32 NSObject: Include <objc/message.h>
NSObject uses objc_msg_lookup, which is defined in message.h
2023-10-08 23:19:30 +02:00
Richard Frith-Macdonald
531d3b8559 Small array keyword fixes for NSPredicate 2023-10-08 13:48:33 +01:00
Gregory John Casamento
dbc71df600 Remove unneeded method definition 2023-10-07 20:51:47 -04:00
Gregory John Casamento
f2e31e0b54 Move implementation of new method to correct category 2023-10-07 20:51:47 -04:00
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
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
Frederik Seiffert
542d870302 Fix time zone lookup on Windows MSVC by converting Windows timezone name to IANA identifier 2022-01-26 10:33:33 +01:00
Richard Frith-Macdonald
bed2935a7e change to avoid compiler warning 2022-01-04 12:57:55 +00:00
Richard Frith-Macdonald
cc38a942f2 Restore Canonical names of gnustep extension encodings 2022-01-04 12:46:56 +00:00
Richard Frith-Macdonald
81ad2f403b Reinstate removed string encodings. 2022-01-04 10:12:58 +00:00
Fred Kiefer
e6fc2740a2
Merge pull request #228 from levinli303/simplified-chinese
Add support for Simplified Chinese
2021-12-31 11:19:30 +01:00
Fred Kiefer
d7dc4d5323
Merge pull request #227 from levinli303/master
Complete string encoding localization
2021-12-31 11:18:10 +01:00
Levin Li
e9a21ffd2b Fix test failure by adding memset 2021-12-31 15:18:04 +08:00
Levin Li
c4730de6bd Add Simplified Chinese resources 2021-12-30 21:26:53 +08:00
Levin Li
f64f13c2a7 Implement NSGB_18030_2000StringEncoding, NSGB_2312_80StringEncoding, NSGBK_95StringEncoding 2021-12-30 21:06:28 +08:00
Frederik Seiffert
b4ae7f7486 Fix handling of concurrent NSOperations 2021-12-27 21:52:34 +01: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
Frederik Seiffert
7a5c2a6550 Default to UTF-8 when reading localized string files without BOM. 2021-12-26 11:43:43 +01:00
Frederik Seiffert
4c1b2ef7d6 Fix Unicode checks for Windows using icu.h 2021-12-26 11:43:43 +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
5f259c1658
Merge pull request #222 from iamleeg/nsdebugenabled
Add the NSDebugEnabled boolean
2021-12-21 08:55:51 +00: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
Richard Frith-Macdonald
40de7fa39a Try to improve tls disconnect behavior where there are networking issues 2021-12-07 19:28:23 +00:00
Steven R. Baker
7525d942b7 Add the NSDebugEnabled boolean 2021-11-30 21:14:29 +00:00
Richard Frith-Macdonald
0950bed43b Tweak whitespace for code consistency 2021-11-29 14:01:41 +00:00
Richard Frith-Macdonald
85711ee5f8 coding standard tweaks 2021-11-27 10:59:15 +00:00
Levin Li
5b151c5fa0 Do not call handler blocks if they are nil 2021-11-23 18:34:34 +08:00
Frederik Seiffert
0af2c6de72 Add required cast in case nil is not defined as id 2021-11-13 22:16:46 +01:00
Richard Frith-Macdonald
b55ee6b0c5 Clarify that run loop watchers are NOT retained, and are responsible for removing themselves from the run loop when they have finished watching for events. 2021-11-11 10:01:52 +00:00
Mads Marquart
4033ee28a8 Fix NSGetSizeAndAlignment usage
The argument order is (*sizep, *alignp), but it was often incorrectly used the other way around.
2021-11-02 10:18:05 +01:00
Mads Marquart
d439847ba6
Fix NSData initWithBytesNoCopy:length:deallocator:
The previous implementation simply swizzled `NSData` into `NSDataWithDeallocatorBlock`, and forgot to actually assign `bytes` and `length`.
2021-10-29 09:17:56 +02:00
Frederik Seiffert
47480d781a Add missing export declarations required by libs-gui on Windows MSVC 2021-10-26 10:28:51 +02:00
Frederik Seiffert
80f05c2278 Fix -[NSFileManager URLForDirectory:...] using incorrect NSURL initializer and simplified implementation 2021-10-20 18:42:21 +02:00
Richard Frith-Macdonald
c307a04a39 Fix minor leaks 2021-09-16 10:25:26 +01:00
Richard Frith-Macdonald
149acc40ae fix minor potential leaks 2021-09-16 10:20:41 +01:00
Nuntius
b2983dc77a Workaround for the session retain loop 2021-09-04 13:07:14 +02:00
Nuntius
a5c66e7c5d Apply requested changes 2021-08-29 17:47:01 +02:00
Nuntius
a0ab740234 Implement URLSession:downloadTask:didFinishDownloadingToURL: delegate 2021-08-28 20:33:19 +02:00
Nuntius
d3e40dfc9d Begin implementation of NSURLSessionDownloadTask 2021-08-27 21:56:08 +02:00
Richard Frith-Macdonald
6d5084e3e1 Delete commented out code accidentally left in on last commit 2021-08-27 10:52:32 +01:00
Richard Frith-Macdonald
00db92e146 Merge remote-tracking branch 'origin/master' into nstimezone 2021-08-27 09:37:51 +01:00
Richard Frith-Macdonald
0d12a1e77e Changes to address mostm of Fred's comments 2021-08-27 09:19:38 +01:00
Frederik Seiffert
170701f7e6 Fix building for Windows MSVC with recent toolchain 2021-08-19 11:05:33 +02:00
rfm
1e8ff8e628
Merge branch 'master' into nstimezone 2021-08-18 14:52:24 +01:00
Richard Frith-Macdonald
1fe008304a Formatting tidyups 2021-08-18 14:03:25 +01:00
Nuntius
ca5e4fc239 Adjust formatting 2021-08-17 15:03:09 +00:00
Nuntius
c3daa41f2d Fix indentation 2021-08-17 13:57:37 +00:00
Nuntius
866bdd0636 Merge branch 'master' of https://github.com/Fokka-Engineering/libs-base into new-nsurl-methods 2021-08-17 13:00:09 +00:00
Nuntius
9b3caf99fd Implement 10.11 NSURL initFileURLWithPath: initializers 2021-08-17 10:30:19 +00:00
Richard Frith-Macdonald
96ef94862f Add debug log for certificat request which is not for x509 2021-08-17 11:10:23 +01:00
Richard Frith-Macdonald
ae8d496f91 Remove spurous line in last change 2021-08-16 14:00:09 +01:00
Richard Frith-Macdonald
19809ac46d tweak for ms-windows 2021-08-16 12:48:48 +01:00
Richard Frith-Macdonald
78ab878029 more simplifications and removal of unused defines etc 2021-08-16 11:45:42 +01:00
Richard Frith-Macdonald
a0852146c9 Avoid O_CLOEXEC for portability 2021-08-14 12:49:12 +01:00
Richard Frith-Macdonald
b71a5bfc40 Use our own struct tm 2021-08-14 12:43:44 +01:00
Richard Frith-Macdonald
11c50770d3 Use our own struct tm equivalent for portability 2021-08-14 12:42:26 +01:00
Richard Frith-Macdonald
2f2869ff20 Remove some useless defines and declarations 2021-08-14 12:22:03 +01:00
Richard Frith-Macdonald
c43ea6d474 Update for handling more future dates, and further testing. 2021-08-14 11:25:23 +01:00
Frederik Seiffert
f67c99dbcc win32: initialize Windows Sockets in NSObject only
And update to Windows Socket version 2.2. Also clean up the DllMain initialization to handle CRT init errors and call _CRT_INIT also on DLL/thread detach, and remove uneeded .idata section after removing WSAStartup() import.

WSAStartup() should not be called from DllMain according to MS documentation. Fixes #186.
2021-08-11 19:32:21 +02:00
Frederik Seiffert
b2f2a3a429 win32: fix warnings 2021-08-11 19:32:21 +02:00
Frederik Seiffert
acde7b062a Fix release method signature to match NSObject 2021-08-11 19:32:21 +02:00
Frederik Seiffert
27c06a9209 Fix various incorrect format string types 2021-08-11 19:32:21 +02:00
Frederik Seiffert
87dc8ab70c Fix incorrect method signature in win32/NSMessagePort 2021-08-11 19:32:21 +02:00
Frederik Seiffert
5a46f744df Fix incorrect string format in NSException 2021-08-11 19:32:21 +02:00
Frederik Seiffert
2d45396de0 Fix various incorrect log statements 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
Richard Frith-Macdonald
25b25080c3 Fix possible buffer overrun/corruption spotted by Fred. 2021-08-09 08:29:15 +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
55da62c1c1 Add missing import declaration on runtime declarations
Fixes warnings when building for Windows MSVC.
2021-08-08 17:27:40 +02:00
Frederik Seiffert
40f88bc622 Enable _C_BOOL on non GNU C compilers 2021-08-08 17:27:40 +02:00
Frederik Seiffert
3b8009654c Improve robustness of finding devroot on Windows
Fixes possible infinite loop if developer root is not found.

Also disable devroot() code under MSVC, as there will be no MSYS environment.
2021-08-08 17:27:40 +02:00
Frederik Seiffert
b41953d274 More robust check for Windows ICU
Also ensure that we don't include both unicode/*.h and icu.h.
2021-08-08 17:27:40 +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
cf2dae1e21 Improve NSThread thread priority error handling
Now using sched_get_priority_min/max instead of PTHREAD_MIN/MAX_PRIORITY defines, and prevent error log when min/max priority are equal (e.g. 0), which happens e.g. on Android when thread priorities are not settable.
2021-07-29 14:22:27 +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
Richard Frith-Macdonald
0b3f2a9fb0 Fixup for incorrect method implementation used in sloppy parser. 2021-07-26 14:57:41 +01:00
Richard Frith-Macdonald
395fafde6f Set file version consistently to avoid misunderstanding 2021-07-25 07:50:31 +01:00
Richard Frith-Macdonald
7245156336 Add sup[port for 64bit time transitions 2021-07-22 10:33:49 +01:00
Frederik Seiffert
a377a86094 Fix possible memory corruption in string handling 2021-07-19 12:23:15 +02:00
Frederik Seiffert
813ae35d39 Export GSPathHandling() in GNUstep headers.
Fixes linker errors for some tests under Windows MSVC.
2021-07-14 10:09:45 +02:00
Frederik Seiffert
47ed291b80 Fix possible heap corruption when converting to NSNonLossyASCIIStringEncoding. 2021-07-03 08:34:14 +02:00
Richard Frith-Macdonald
a29248bd4d Differentiate between client/server for DO over TLS 2021-06-24 08:50:28 +01:00
Richard Frith-Macdonald
640198a395 add missing brace 2021-06-21 09:15:11 +01:00
Richard Frith-Macdonald
e34584e323 Encryption emprovements 2021-06-19 14:40:47 +01:00
Richard Frith-Macdonald
b252f4067a remove a couple of redundent lines 2021-06-18 10:02:48 +01:00
rfm
a1b0c1c8db
Merge pull request #185 from triplef/fix-unicode-lookup
Fix lookup of string encodings with high numeric values in encoding table
2021-06-18 10:01:36 +01:00
Frederik Seiffert
8137b5a2a0 Fix lookup of string encodings with high numeric values in encoding table 2021-06-17 17:53:22 +02:00
Richard Frith-Macdonald
dd3b6c3d7f fix typo in name 2021-06-17 16:22:31 +01:00
Richard Frith-Macdonald
7ea49c252b encryption fixes and debug improvements 2021-06-03 14:59:09 +01:00
Richard Frith-Macdonald
e9d3ba8179 Improve debug logging ... use the I/O handle as the tag for debug logs so that they can more easily be matched to the object for which the I/O is taking place. 2021-06-03 14:54:16 +01:00
Richard Frith-Macdonald
2fc16eae5e Tidyups for when TLS is not used 2021-06-02 14:12:28 +01:00
Richard Frith-Macdonald
f72f46efa4 Minor debug improvement 2021-06-02 13:32:44 +01:00