Richard Frith-Macdonald
740180a9d1
add detail about why the change was made
2021-05-19 10:59:21 +01:00
Richard Frith-Macdonald
ed9bb899a7
Support writing large chunks of data over tls on windows
2021-05-15 16:10:23 +01:00
Richard Frith-Macdonald
782e7aed31
Fix for -setHTTPMaximumConnectionLifetime:
2021-05-05 12:04:28 +01:00
Ivan Vučica
326dc210a4
release-chore: Release 1.28.
2021-04-26 22:02:53 +01:00
Ivan Vučica
d2eca82730
release-chore: Update docs for a future 1.28 release.
2021-04-22 22:41:04 +01:00
Ivan Vučica
ea7e2c1e30
release-chore: Fix ChangeLog entry for plutil.
...
There was an incorrect email address and a less-useful message.
2021-04-22 22:18:58 +01:00
Ivan Vučica
7f1b604b88
release-chore: Fix formatting in ChangeLog.
2021-04-22 22:18:57 +01:00
Ivan Vučica
f026abaf1b
release-chore: Fix rfm's email address in the ChangeLog.
2021-04-22 22:18:52 +01:00
Richard Frith-Macdonald
efccdb1d71
update
2021-04-14 10:10:57 +01:00
Frederik Seiffert
843800d413
Add support for libobjc2 runtime in NSObject on Windows
2021-03-29 11:22:00 +02:00
Frederik Seiffert
0582eddd96
Export string constants and annotate exported function implementations
...
Moves scattered string constants to externs.m, and removes obsolete code replacing constant strings.
2021-03-27 17:36:15 +01:00
Frederik Seiffert
5fb5fb46c4
Win MSVC: add NSFileManager support
...
Also unifies _CHAR in NSFileManager with GSNativeChar, as they are internally required to be the same.
2021-03-17 17:42:15 +01:00
Frederik Seiffert
54ae296b69
Fix libdispatch integration compilation error on Windows.
2021-03-17 17:42:15 +01:00
Richard Frith-Macdonald
810294f2df
update
2021-03-05 11:56:07 +00:00
Frederik Seiffert
172e75b865
Add unscheduled NSTimer block initializer.
2021-03-03 10:03:14 +01:00
Richard Frith-Macdonald
ebfd7a2bea
update
2021-02-27 15:15:39 +00:00
Frederik Seiffert
5c562c546f
Windows MSVC fixes
2021-02-12 14:33:04 +01:00
Fred Kiefer
46c463c006
* Tools/make_strings/StringsFile.m: Write the file in UTF8 format
...
if the string contains any non ASCII character.
2021-02-05 22:56:15 +01:00
Frederik Seiffert
9725e77c9d
Disable gdomap on Android (unsupported).
2021-02-03 17:55:12 +01:00
Frederik Seiffert
61709e6101
Support building on Windows with Clang MSVC target
2021-02-03 15:02:27 +01:00
Riccardo Mottola
ece6fc97ff
Add check for statbuf.st_mtim if available and use statbuf.st_mtim to get nanosecond precision in modification date, also fix conversion of nanoseconds in creation date.
2021-02-02 23:30:18 +01:00
fredkiefer
3b1bf24b26
* Tools/pl2link.m (main): Set key StartupWMClass and allow file
...
parameters of the Exec key.
2021-01-21 21:26:00 +01:00
Richard Frith-Macdonald
4784da65ef
new log
2021-01-21 14:29:11 +00:00
Richard Frith-Macdonald
4e826135ce
Updated for some minor leak fixes
2021-01-19 11:17:23 +00:00
Richard Frith-Macdonald
3efce5f271
Update from git log
2021-01-19 05:12:54 -05:00
Frederik Seiffert
88a2e0809f
Add NSFileHandle URL initializers.
...
Also use "instancetype" for all initializers.
2020-11-17 19:48:05 +01:00
Richard Frith-Macdonald
a34beadb8e
Merge branch 'gnustep_testplant_mergeback' of https://github.com/TestPlant/libs-base into TestPlant-gnustep_testplant_mergeback
...
Conflicts:
ChangeLog
2020-11-13 05:39:15 +00:00
rfm
17af685b1a
Merge branch 'master' into nsurl-additions
2020-11-06 09:36:42 +00:00
Adam Fox
0b69d88ee2
Implementation of [NSData rangeOfData:options:range], adapted from [NSString rangeOfString:options:range].
2020-10-12 12:22:00 -06:00
fredkiefer
93d4576871
* Source/NSDateComponentsFormatter.m: Fix use of wrong operator.
2020-08-30 22:27:08 +02:00
Frederik Seiffert
01e7034262
Add NSURL methods:
...
- URLByAppendingPathComponent:isDirectory:
- isFileReferenceURL (always returns NO)
- fileReferenceURL
- filePathURL
2020-08-03 13:08:15 +02:00
Gregory John Casamento
24ac97e59d
Add NSNotificationName typedef
2020-08-02 11:19:05 -04:00
Frederik Seiffert
b9a9481c56
Update NSURLRequest header to use "instancetype".
2020-07-14 09:21:53 +02:00
Frederik Seiffert
94d14ca02a
Don't log current thread if its identical to private thread ID.
2020-07-08 17:02:41 +02:00
Frederik Seiffert
3752016412
Improve NSLog output on Android.
2020-07-08 16:15:57 +02:00
Frederik Seiffert
a7e87824c0
Fix possible deadlock when becoming multi-threaded.
2020-07-06 22:01:01 +02:00
Gregory John Casamento
fff7573b88
Correct changelog
2020-06-14 20:21:12 -04:00
Frederik Seiffert
d6d2fa9a74
Fix recursive creation of value transformers.
2020-06-11 14:22:04 +02:00
Gregory John Casamento
15fac5d36d
Add changelog.
2020-06-09 07:50:45 -04:00
Richard Frith-Macdonald
3fc184e5d7
fix indentation
2020-06-06 12:15:08 +01:00
rfm
daadfe7a6d
Merge branch 'master' into android-assets-directory-improvements
2020-06-06 12:13:43 +01:00
Frederik Seiffert
71f6cde4bd
Fix replacing an existing value in a weak objects map table.
2020-06-05 11:55:33 +02:00
Frederik Seiffert
a0fe037077
Include winsock2.h before windows.h, as required by MSYS2/MinGW-w64.
2020-05-29 10:40:03 +02:00
Frederik Seiffert
d2938c7729
Store NSNumber instead of NSString for NSUserDefaults -setBool:forKey:.
2020-05-25 17:34:34 +02:00
Frederik Seiffert
db19fc3308
Android assets improvements to support directories
...
- Extend NSBundle resources support to handle directories in Android assets.
- Fix NSFileManager -isReadableFileAtPath: to also support directories in Android assets.
2020-05-20 13:39:47 +02:00
Frederik Seiffert
a8aba20a86
Fix BASE_NATIVE_OBJC_EXCEPTIONS check with OBJC_ZEROCOST_EXCEPTIONS.
2020-05-14 16:59:38 +02:00
Frederik Seiffert
9f0d8d7720
Fix building Win32 classes with nonfragile ABI.
2020-05-13 18:08:35 +02:00
rfm
57e4eba479
Merge branch 'master' into file_creation_date
2020-05-12 13:25:49 +01:00
rfm
6b008fc19e
Merge branch 'master' into android-nsinputstream-support
2020-05-11 15:02:05 +01:00
fredkiefer
e71c2f68fa
* Source/NSISO8601DateFormatter.m,
...
* Source/NSOrthography.m: Clean up some compiler warnings.
2020-05-10 23:07:27 +02:00
fredkiefer
6c7defba24
* Tests/base/NSLocale/general.m: Mark more tests that depend on
...
locale setting as hopes.
* Tests/base/NSXMLParser/parse.m: Mark stream test as hopeful as
this isn't implemented at the moment.
* Tests/base/NSURL/basic.m: Use PASS_EQUAL in the downlaod test
to get the actual http status reported.
2020-05-09 15:46:32 +02:00
fredkiefer
f4c5c519c2
* Source/NSXMLParser.m: Fix small bug in last commit that broke
...
all gui applications when there was a commented out section in the
user default XML file.
2020-05-08 21:59:28 +02:00
Frederik Seiffert
b549dbbaec
NSLocale improvements
...
Use "instancetype" for instance-returning methods. Fix method signature of -displayNameForKey:value:.
2020-05-07 15:30:36 +02:00
Frederik Seiffert
2908d4cfdf
Fixed ChangeLog date.
2020-05-07 15:28:07 +02:00
Frederik Seiffert
5dfda50d82
Implement -[NSXMLParser initWithStream:].
2020-05-05 19:41:22 +02:00
Frederik Seiffert
547983738a
Add NSInputStream support for reading Android assets from main bundle.
2020-05-05 15:42:10 +02:00
Riccardo Mottola
bfcc2db53c
In changeFileAttributes implement setting of creation date also for Unix, which needs to be done before setting the modification date. Also, implement reading the creation (birth time) date if a supported method was detected.
2020-05-04 10:17:25 +02:00
Riccardo Mottola
21c79c3500
Use utimensat() to set file modification date, if available.
2020-05-01 02:03:25 +02:00
fredkiefer
a48694941c
Add newer features for NSDateComponents and
...
started to clean up NSCalendar implementation.
2020-04-26 21:13:22 +02:00
Richard Frith-Macdonald
a9767cdff7
Override -hash and -isEqual: so that notifications with the name name, object, and userInfo are considered equal. This is the OSX behavior.
2020-04-21 09:16:53 +01:00
Ivan Vučica
93bee1890e
documentation: Standardize announcement file text.
...
Normalize the accompanying text for the release announcement across
core packages: standardize chapter name and GPG information.
2020-04-14 23:54:36 +01:00
Richard Frith-Macdonald
fc0c0da188
Remove last vestiges of MIXED ABI support (it didn't really work), and change code to assume that use of the apple runtime means we have the nonfragile ABI (true for modern apple systems we may be interested in using). Regenerate configure script.
2020-04-14 14:56:17 +01:00
Richard Frith-Macdonald
ccb8594bc0
Fix [NSURLProtocol -initWithRequest:cachedResponse:client:] to retain the client (up until the last message is sent to it) as OSX does.
2020-04-13 08:53:02 +01:00
Richard Frith-Macdonald
df1b6dd6d5
Characterset memory usage and code organisation consistency improvements.
2020-04-12 12:28:07 +01:00
Richard Frith-Macdonald
e95192db5c
add ASSIGNMUTABLECOPY
2020-04-10 11:30:04 +01:00
Frederik Seiffert
cc56c9cc97
Fixed NSOperation completion block memory mgmt.
2020-04-09 09:24:43 +02:00
Ivan Vučica
958dec0db2
release-chore: Release 1.27.0.
...
Version has been previously bumped; this commit updates release
documentation.
2020-04-05 19:00:40 +01:00
Ivan Vučica
3e806f96a2
release-chore: Fix some of the ChangeLog formatting.
2020-04-05 18:59:31 +01:00
rfm
da6be9daac
Merge branch 'master' into fix-pthread-setname
2020-03-29 11:33:39 +01:00
rfm
73baca1056
Merge branch 'master' into fix-nsurlresponse
2020-03-29 11:30:18 +01:00
rfm
81d70b37c8
Merge branch 'master' into numerical_locale
2020-03-29 11:26:40 +01:00
Fred Kiefer
77468b0b9e
Merge branch 'master' into fix-nsurlresponse
2020-03-26 18:46:33 +01:00
Frederik Seiffert
5f9982812e
Added NSErrorDomain typedef.
2020-03-26 14:16:44 +01:00
Frederik Seiffert
a3b8ea0937
Use pthread_setname_np result instead of errno.
...
Fixes setting thread name on platforms where errno is not set.
2020-03-17 14:49:02 +01:00
fredkiefer
95abcbd694
* Source/NSURL.m: Fix compiler warnigns.
...
* Headers/Foundation/NSLocale.h,
* Source/NSLocale.m: Add a few convenience methods from MacOS 10.12.
2020-03-12 14:58:46 +01:00
Frederik Seiffert
5150ab1d5a
Fixed parsing of NSURLResponse content type header.
2020-03-12 11:44:13 +01:00
Frederik Seiffert
1e51ef1b1e
Fixed NSURLComponents setURL: throwing exceptions.
...
This happened when setting an URL that didn't have all the different parts like fragment or query, as rangeOfString: throws for nil values.
2020-03-10 18:06:44 +01:00
fredkiefer
8794339073
* Source/NSString.m: Attempt to make calls to GSICUCollatorOpen()
...
more consistent and correct for ICU 65.
2020-03-07 23:36:30 +01:00
Fred Kiefer
120e8f5294
Merge branch 'master' into framework_test
2020-03-07 11:35:32 +01:00
Richard Frith-Macdonald
5248b6ee36
Backward compatibility fix for ICU 65 by Fred Kiefer
2020-03-06 09:19:54 +00:00
fredkiefer
baa8e2465b
Extend NSBundle test to check for framework resource loading.
2020-03-01 10:41:14 +01:00
Richard Frith-Macdonald
d1af1d0244
Fix for class lookup when using the 2.0 ABI
2020-02-24 10:23:22 +00:00
Richard Frith-Macdonald
31f277d751
Fix to consider explicitly configured hosts to be probled for servers. Add -S
2020-02-17 15:30:21 +00:00
Richard Frith-Macdonald
c8cfcec652
remove the workarund for clang/unistd.h clash with __blocks
2020-02-11 17:11:30 +00:00
Richard Frith-Macdonald
2e07244f8e
Updates to move towards ARC
2020-02-08 16:42:17 +00:00
Richard Frith-Macdonald
0cd9843f5f
workaround for conflisct with clang/unistd.h
2020-02-08 16:37:42 +00:00
fredkiefer
4b5594c63d
Use pkg-config to check for libxml.
2020-02-05 23:10:53 +01:00
fredkiefer
d1d9cd65a1
Handle case where scheme is missing from the URL.
2020-01-24 23:27:30 +01:00
fredkiefer
4d7da7ee80
Allow simple predicates on NSDate.
2020-01-20 21:25:17 +01:00
Richard Frith-Macdonald
4549f56bc6
refrain from putting password in cache key
2020-01-20 14:06:26 +00:00
fredkiefer
88f5cc2444
Add support for NSDate constants in NSPredicate.
2020-01-12 20:56:09 +01:00
fredkiefer
36d00c7f00
Implement two missing KVO methods on NSArray.
2020-01-12 10:37:27 +01:00
fredkiefer
d1cf30dd9f
* Headers/GNUstepBase/GSIMap.h: Use GSI_MAP_NODE_IS_EMPTY macros
...
when checking in enumerator.
* Source/NSConcreteHashTable.m,
* Source/NSConcreteMapTable.m: Revert part of the weak pointer change.
2019-12-15 13:40:51 +01:00
Fred Kiefer
260a2cb969
Merge branch 'master' into add-weak-table-tests
2019-12-07 11:00:44 +01:00
Niels Grewe
ecd2d85cb9
Fix runloop integration for libdispatch from swift
2019-11-28 19:12:13 +01:00
Gregory Casamento
69f7130fa7
Merge pull request #81 from triplef/android-temp-dir
...
Added support for temp and caches dir on Android.
2019-11-25 04:09:56 -05:00
Frederik Seiffert
0eedef5080
Added NSException symbolication support using libunwind.
...
This is used when backtrace() is unavailable.
2019-11-18 10:47:47 +01:00
Frederik Seiffert
a9641e6818
Added support for temp and caches dir on Android.
2019-11-15 09:04:58 +01:00
fredkiefer
1915415b48
* Headers/Foundation/NSXPCConnection.h,
...
* Source/NSXPCConnection.m: Fix broken compilation on gcc.
2019-11-14 23:02:30 +01:00
Richard Frith-Macdonald
1278218703
update time zone info
2019-11-12 11:47:07 +00:00
Frederik Seiffert
79ac00e42c
Added tests for NSHashTable/NSMapTable weak objects
2019-11-04 16:01:36 +01:00
fredkiefer
aae21568d4
Correct formatting.
...
Use import instead of include.
Add missing import.
Correct encoding strings.
Correct measurement conversion.
2019-10-29 18:09:37 +01:00
Wolfgang Lux
d704846c6f
Better handling of stream events while in a TLS handshake
2019-10-29 11:18:33 +01:00
Wolfgang Lux
cc50c639ae
Fall back to a sane default if the TLS priority setting is invalid.
2019-10-29 10:14:35 +01:00
Wolfgang Lux
e9427a9e20
Prevent potential crash when a socket stream is closed while in a TLS handshake
2019-10-28 16:47:44 +01:00
fredkiefer
c4c8035ae5
* Headers/Foundation/NSUnit.h,
...
* Source/NSUnit.m: Clean up code and fix bugs.
2019-10-27 23:32:03 +01:00
Fred Kiefer
2fb200b705
Merge branch 'master' into fix-enumeration-queue
2019-10-25 17:57:59 +02:00
Frederik Seiffert
c22f24de73
Added generics support to NSMapTable
...
Also updated NSMapTable and NSHashTable to use "instancetype".
2019-10-25 11:19:26 +02:00
Frederik Seiffert
561cef3797
Perform non-concurrent block enumeration in place.
...
Was previously using serial queue, which doesn't match Apple platforms.
2019-10-23 17:44:53 +02:00
Frederik Seiffert
0547c53861
Fixed mutable dictionary keyed subscript behavior.
...
Assigning nil value via keyed subscript now correctly removes object for key.
2019-10-02 11:38:30 +02:00
rfm
ecc7444e61
Merge pull request #73 from triplef/android-paths-support
...
Added support for data directory on Android.
2019-09-26 11:33:34 +01:00
Richard Frith-Macdonald
99c080a3ee
Fix bg in security setting exposed by earlier fix.
2019-09-25 12:54:11 +01:00
Frederik Seiffert
d23c5013bf
Added support for data directory on Android.
...
This makes GNUstep use the path returned by Context.getFilesDir() as the basis for storing data (e.g. NSUserDefaults) and when querying system directory paths (NSLibraryDirectory, NSApplicationSupportDirectory, etc.). Requires calling a new GSInitializeProcessAndroid() initialization function.
2019-09-25 12:11:50 +02:00
Richard Frith-Macdonald
ae95e859d6
fix crash when removing an array from itself
2019-09-25 09:54:59 +01:00
Richard Frith-Macdonald
169a5036e3
Do no accidentally discard ssl options
2019-09-21 23:00:31 +01:00
Richard Frith-Macdonald
b3f5a3440d
Bugfix for TLS server sessions
2019-09-21 09:42:27 +01:00
Richard Frith-Macdonald
de9740cda4
Applied patches by Alan Jenkins
2019-09-16 18:29:18 +01:00
Richard Frith-Macdonald
9a055f93ad
Bugfix and improved logging
2019-08-12 16:37:38 +01:00
Richard Frith-Macdonald
d497c7b3ea
improve debug output
2019-08-09 11:06:17 +01:00
Richard Frith-Macdonald
dd36855923
Improved memory usage reporting mechanisms
2019-08-08 17:20:25 +01:00
Richard Frith-Macdonald
dce6a5a86a
implement [NSMutableData+dataWithBytesNoCopy:length:freeWhenDone:]
2019-08-06 16:05:19 +01:00
fredkiefer
8953944387
* Source/NSByteCountFormatter.m: Fix to work in non fragile settings.
2019-07-28 17:30:42 +02:00
Gregory John Casamento
22fa547084
Add ChangeLog
2019-07-19 09:00:57 -04:00
Fred Kiefer
2e9207c4e9
Merge branch 'master' into fix-nsarray-kvc-generics
2019-07-15 08:43:37 +02:00
fredkiefer
be809143cf
* Source/NSUbiquitousKeyValueStore.m: Change to use GNUstep
...
formatting. Move simple methods into base class. Correct the usage
of long long NSNumber.
2019-07-14 15:51:41 +02:00
Gregory John Casamento
0f737d9f1e
Add changelog. Add NSUbiquitousKeyValueStore.[hm]
2019-07-10 18:18:10 -04:00
Frederik Seiffert
ba7a9c0a8e
Fix NSArray and NSOrderedSet KVC method types to not use generic type.
...
These methods set/return properties of the elements, not the elements themselves.
2019-07-10 11:42:46 +02:00
Wolfgang Lux
7eb0858c4a
Use fixed time zone in test case
2019-07-02 10:08:09 +02:00
fredkiefer
d774dda8a7
* Source/GSXML.m (fatalErrorFunction): Use correct function to get
...
line number.
* Source/NSOperation.m (_execute): Surround with NS_DURING to free
lock on error.
2019-07-01 22:58:55 +02:00
Richard Frith-Macdonald
3f7d54a33f
improve reportingn of memory usage
2019-06-11 14:07:10 +01:00
Frederik Seiffert
75850de0ff
Extended Android asset support
...
Added NSFileManager support for copying assets and reading their attributes.
2019-06-02 16:02:39 -07:00
Frederik Seiffert
409030a367
Extended NSBundle localizations method for Android.
2019-05-24 10:56:34 +02:00
Frederik Seiffert
3b60b1a8be
Added support for asset loading on Android.
...
Requires passing the activity's AssetManager object from Java to GNUstep by calling +[NSBundle setJavaAssetManager:withJNIEnv:], which then enables the following features:
- NSBundle main bundle resource paths support for Android assets, e.g. for pathForResource:ofType:, URLForResource:ofType: and related methods.
- NSBundle main bundle info dictionary support if Info.plist exists in Android assets.
- -initWithContentsOfFile: and related methods support for reading Android assets from main bundle in various classes (e.g. NSData, NSDictionary, NSArray, etc.).
- NSFileManager fileExistsAtPath:(isDirectory:) and isReadableFileAtPath: return YES for main bundle asset / asset directory paths.
- NSFileHandle support for reading Android assets from main bundle.
- NSDirectoryEnumerator support for enumerating Android assets from main bundle. Note that recursion into subdirectories is currently not supported by the native Android asset manager API (see https://issuetracker.google.com/issues/37002833 ).
Also adds support for automatic NSProcessInfo initialization on Android with a fake executable path "/data/data/<app identifier>/exe" (as Android apps don't have a real executable path), and tweaks main bundle initialization to allow that path. Main bundle resource paths are prefixed by "/data/data/<app identifier>/Resources".
2019-05-23 15:44:07 +02:00
Richard Frith-Macdonald
ecbecbeabd
Merged patches by Frederik Seiffert
2019-05-20 14:57:44 +01:00
Richard Frith-Macdonald
8ed7ccea9e
Cleanups to avoid code conflicts and buffer overrun fixes.
2019-04-16 08:07:16 +01:00
Gregory John Casamento
d34dd9c38d
Add changelog
2019-04-13 05:50:53 -04:00
fsb4000
3f305d6973
Decrease ICU version requirements to 49
2019-03-29 17:14:11 +07:00
Sergii Stoian
c89e01750d
Update ChangeLog for last commit to Ukrainian language.
2019-03-27 00:06:57 +02:00
Wolfgang Lux
c3b7a69968
Fix crash in gdomap when an invalid hostname is given for the -M option
2019-03-18 12:12:01 +01:00
Richard Frith-Macdonald
dc481825ec
remove leftover logging
2019-02-27 17:24:39 +00:00
Richard Frith-Macdonald
dd3e71e050
escape charaacters with codepoint greater than 0x7f
2019-02-27 16:54:45 +00:00
Richard Frith-Macdonald
06019034b0
header line folding fix
2019-02-15 14:13:14 +00:00
Richard Frith-Macdonald
911c5cdd66
make class lookup more reliable
2019-02-14 12:37:44 +00:00
Richard Frith-Macdonald
d6ef10f224
fixes for encoding in mime header encoded word
2019-02-14 11:19:33 +00:00
Ivan Vučica
9d67048ff0
GSTLS.h: Change guard to check for /value/ of GS_USE_GNUTLS.
...
Previously, code checked for whether its defined or not. This
preprocessor constant might be defined with a zero value
indicating desire not to use GnuTLS, which would still pass the
old check.
2019-02-12 19:19:01 +00:00
Richard Frith-Macdonald
921f7521ff
improve thread safety when using zombies
2019-02-11 09:09:20 +00:00
Richard Frith-Macdonald
6f3bd6ac97
Expose GNU TLS wrappers and add methods to get certificate expiry
2019-01-16 09:56:08 +00:00
fredkiefer
a31506564e
* Source/Additions/Unicode.m: Move variable u to the correct scope
...
and initialize it.
2019-01-06 23:33:45 +01:00
Ivan Vučica
0c319ebc7e
release-chore: Bump version to 1.26.0 and update release notes.
2019-01-06 20:46:54 +00:00
Ivan Vučica
a2938b3104
configure.ac: Require ICU 5.0.
...
ChangeLog: Use tabs in the previous entry.
2019-01-06 20:45:31 +00:00
Ivan Vučica
786c7aa30a
Tests/base/NSBundle/resources.m: Fixed undefined NSArray* arr.
...
This fixes the accidental breakage from 2107c82ca4
which made arr invisible due to the change of "NSBundle GNUstep resources"
testset scope.
2019-01-06 20:06:24 +00:00
Ivan Vučica
5ee5f9bd5f
configure: Regenerated to incorporate the changes from PR #32 .
...
Regenerated with autoconf 2.69.
2019-01-06 19:57:59 +00:00
fredkiefer
7cfceaabc4
* Documentation/news.texi: Update release notes for 1.26.0.
...
* ChangeLog: Fix typos in this document.
2019-01-06 14:29:05 +01:00
Richard Frith-Macdonald
d144e29b48
Changes to updated cached server connections at five minute intervals
2019-01-03 09:58:02 +00:00
Wolfgang Lux
a27c577370
Remove reference to the copyWithZone: implementation of NSObject
2018-12-06 14:19:50 +01:00
Richard Frith-Macdonald
458b8a1e79
expose gnustep specific methods for old code
2018-12-05 10:43:59 +00:00
Richard Frith-Macdonald
280b2cbe83
Changes for keeping a connection in use
2018-12-04 13:34:53 +00:00
Richard Frith-Macdonald
1e4a2d7587
certificate authentication fixes
2018-08-24 13:18:27 +01:00
Richard Frith-Macdonald
cb0ea3fb6d
TLS tweaks for client certificate
2018-08-13 16:34:00 +01:00
Riccardo Mottola
e87f59a429
When checking for pthread_np.h include pthread.h if available or it may fail (e.g. OpenBSD)
2018-08-08 11:29:05 +02:00
Richard Frith-Macdonald
586d86c43f
Improve defaults caching reliability
2018-08-06 11:56:09 +01:00
Richard Frith-Macdonald
a1a040593c
Updated zone info and corrected preferred abbreviation mappings to match OSX.
2018-07-19 17:48:29 +01:00
Richard Frith-Macdonald
e60b2004af
UTF8 parsing improvements
2018-07-14 07:25:40 +01:00
Richard Frith-Macdonald
053862f652
We now use -fobjc-runtime=gcc to target the gnu/gcc runtime ABI
2018-07-10 10:49:31 +01:00
fredkiefer
19c00c43c0
* Source/NSString.m: Add primitive implementation for
...
rangeOfComposedCharacterSequencesForRange:.
2018-07-07 16:51:18 +02:00
fredkiefer
5a72e1cfa8
* Source/GSString.m: Remove GSString copyWithZone:.
...
* Source/NSString.m: Raise exception when no is provided for the
string. This brings our implementation closer to the Cocoa one.
* Source/GSString.m: Add similar exceptions.
2018-07-06 23:53:32 +02:00
Richard Frith-Macdonald
1066ec7015
Ensure we are testing the internal 16bit unicode representation class.
2018-07-02 14:20:58 +01:00
fredkiefer
ab60bab84a
* Source/GSString.m: Move the method _unicodeString from here...
...
* Tests/base/NSString/test00.m: ...to here.
2018-07-01 23:50:05 +02:00
fredkiefer
760d6ad990
* Source/GSString.m: Remove code that was identical to super class.
2018-07-01 23:27:09 +02:00
fredkiefer
b36412d20f
* Tests/base/NSString/test00.m: Add David Chisnall's test from
...
newapi branch slightly reformatted.
2018-06-28 23:59:14 +02:00
fredkiefer
3b63a0d1f4
* Source/NSString.m: Small cleanup for printf registration.
2018-06-28 23:04:45 +02:00
Richard Frith-Macdonald
ea95ff1f59
Merge branch 'master' of ssh://github.com/gnustep/libs-base
...
Conflicts:
ChangeLog
2018-06-28 15:37:38 +01:00
Richard Frith-Macdonald
9bcef37ae0
Surrogate pair handling fix
2018-06-28 15:35:56 +01:00
Fred Kiefer
a6106f550e
Merge branch 'master' into nscalendar-withIdentifier
2018-06-15 10:02:10 +02:00
Richard Frith-Macdonald
3b1324d73d
Add GSExceptionStackTrace user default setting
2018-06-12 16:43:15 +01:00
Richard Frith-Macdonald
793e5cd5c9
portability tweak for lock initialisation
2018-05-29 10:36:50 +01:00
fredkiefer
4ebe918306
* Tests/base/NSProcessInfo/general.m: Mark test for -systemUptime
...
as hopeful as it may fail in GNU Hurd.
Fixes bug #53941 .
Based on idea by Yavor Doganov <yavor@gnu.org>
2018-05-27 14:13:48 +02:00
fredkiefer
168d2c91e8
* Source/GSConcreteValueTemplate.m: Add hack to make point and
...
size subclasses for NSValue interchangable.
2018-05-21 01:47:34 +02:00
Ivan Vučica
0e6865a3fd
Fix typo in code branch for platforms without pthread_spin_lock().
...
Check for value of HAVE_PTHREAD_SPIN_LOCK instead of whether the
macro is defined.
2018-05-20 12:40:24 +01:00
Richard Frith-Macdonald
ed286536e2
Add GSTLSServerName option
2018-05-18 20:26:35 +01:00
fredkiefer
09da1e6894
* Tests/base/NSNumberFormatter/basic10_4.m: Avoid test failure on
...
big-endian platforms by converting unichar to an NSString.
2018-05-18 15:00:06 +02:00
fredkiefer
f5684496a2
* Tools/pl2link.m (main): Don't write deprecated fields to desktop
...
link file.
Patch by: Josh Freeman <gnustep_lists@twilightedge.com>
2018-05-10 19:29:24 +02:00
Graham Lee
c5fac90b86
add +[NSCalendar calendarWithIdentifier:]
2018-04-30 18:02:28 +01:00
Richard Frith-Macdonald
5c7713cacc
Minor tidyups plus config update
2018-04-24 12:24:37 +01:00
Riccardo Mottola
6f7e480913
Detect if platform is missing spin locks and provide an dummy implementation. Emit warning during compilation and runtime (in debug)
2018-04-23 20:37:28 +02:00
Richard Frith-Macdonald
635b71e442
initialise before use
2018-04-16 13:18:36 +01:00
Richard Frith-Macdonald
b88e69dceb
improve -symbols method on platform without backtrace symbols support
2018-04-13 07:11:15 +01:00
Richard Frith-Macdonald
57f78a6a7a
temporary workaround for crash
2018-04-12 21:35:48 +01:00
Richard Frith-Macdonald
72ad2656c8
don't create NSLock instances during initialisation
2018-04-12 18:21:19 +01:00
Richard Frith-Macdonald
bc2dd4b627
try to improve startup reliability
2018-04-12 18:08:53 +01:00
Richard Frith-Macdonald
bb85bd426c
defer setting lock name to try to avoid crash on bsd
2018-04-10 20:27:05 +01:00
Richard Frith-Macdonald
3ced3237e8
Use standard locks rathere than obsolete lazy lock classes
2018-04-10 14:59:35 +01:00
Richard Frith-Macdonald
cc410b6bbc
Fix for recursive thread registration on one platform.
2018-04-10 09:19:50 +01:00
Richard Frith-Macdonald
7274cbaa55
Minor unicode range handling improvements
2018-04-09 11:55:46 +01:00
Richard Frith-Macdonald
cc7a146796
More changes to make lock tracking more robust
2018-04-04 14:42:20 +01:00
Richard Frith-Macdonald
437df42b87
Bugfix for getting stacktrace
2018-03-30 10:43:27 +01:00
Richard Frith-Macdonald
b2f821bb36
make lock tracing safer
2018-03-28 09:28:56 +01:00
Richard Frith-Macdonald
c1f96a1cf4
Simplify locking for time zones
2018-03-27 10:37:53 +01:00
Richard Frith-Macdonald
d6612ef880
Fixes in experimental code
2018-03-27 09:55:29 +01:00
Richard Frith-Macdonald
ebfe915619
Fixups for stack handling
2018-03-27 07:06:17 +01:00
Richard Frith-Macdonald
82675cd3d9
more lock tracing tweaks
2018-03-26 16:35:17 +01:00
Richard Frith-Macdonald
05439fe15d
Experimental deadlock detection code
2018-03-26 15:20:48 +01:00
Richard Frith-Macdonald
43673452a5
locking debug/performance tweaks
2018-03-26 15:05:01 +01:00
Richard Frith-Macdonald
2d3039694f
Stack tyrace generation optimisation
2018-03-26 14:49:13 +01:00
Richard Frith-Macdonald
81102fae85
improve logging of http comms and of deadlocks
2018-03-16 15:11:02 +00:00
Richard Frith-Macdonald
b8185fa6c1
Fixups for last lot of changes
2018-02-27 15:09:19 +00:00
Richard Frith-Macdonald
776c0bbcd8
Fix boundary checks searching for unicode strings
2018-02-25 22:30:08 +00:00
Richard Frith-Macdonald
908a712cdf
Use Yavor's patch for tests
2018-02-16 07:03:34 +00:00
Richard Frith-Macdonald
6b1b3c8e27
Prevent possible buffer overrun
2018-02-11 12:41:10 +00:00
Richard Frith-Macdonald
006160ebc3
Merge branch 'master' of ssh://github.com/gnustep/libs-base
...
Conflicts:
ChangeLog
2018-02-09 08:33:30 +00:00
Richard Frith-Macdonald
c9a1d39055
Fix potential buffer overrun
2018-02-09 08:32:22 +00:00
fredkiefer
2901390d0f
* Source/NSXMLElement.m(-addAttribute:): Correct linear list code
...
for name spaces. This fixes the last remaining Coverity issue.
2018-02-09 00:07:53 +01:00
Richard Frith-Macdonald
a211bb4aee
improve warnings about loss of infomration converting scalar type sizes
2018-02-08 06:05:25 +00:00
Richard Frith-Macdonald
d95203c968
Tweka for overflow of negative number calculation
2018-02-07 15:13:48 +00:00
Richard Frith-Macdonald
6ad1b0e7b2
add security checks on port file
2018-02-07 13:26:38 +00:00
Richard Frith-Macdonald
9ba8e9123b
remove useless check
2018-02-07 11:48:34 +00:00
Richard Frith-Macdonald
93a961304a
casts to avoid spurious warnings
2018-02-07 10:53:13 +00:00
Richard Frith-Macdonald
0d61b42215
remove dead code
2018-02-07 10:45:08 +00:00
Richard Frith-Macdonald
ad87ff5462
raise exception on character conversion failure
2018-02-07 10:38:57 +00:00
Richard Frith-Macdonald
14c2d9402d
Remove dead code and improve testing
2018-02-07 09:48:56 +00:00
Richard Frith-Macdonald
3edc201239
Patch by Yavor Doganov to send message id in port messages
2018-02-07 07:02:40 +00:00
Richard Frith-Macdonald
033b921903
improve error checking
2018-02-06 18:05:28 +00:00
Richard Frith-Macdonald
c0d6599def
use double type for average
2018-02-06 16:59:49 +00:00
Richard Frith-Macdonald
fcd464f118
Help checker know that we don't need return value
2018-02-06 16:49:07 +00:00
Richard Frith-Macdonald
df6d65accc
check step in function before use
2018-02-06 12:51:25 +00:00
Richard Frith-Macdonald
f7c71c695e
fix possible nul pointer deref
2018-02-06 12:43:55 +00:00
Richard Frith-Macdonald
3d98433cc7
log failure to turn on keepalive
2018-02-06 12:37:03 +00:00
Richard Frith-Macdonald
0f7a6d58d3
log if we fail to turn on keepalive
2018-02-06 12:34:04 +00:00
Richard Frith-Macdonald
1937b36b86
Update assertion macros to support multiple arguments
2018-02-06 09:35:34 +00:00
Richard Frith-Macdonald
8450b94bc8
logic fig for overflow becoming underflow when using negated values
2018-02-05 13:26:41 +00:00
Richard Frith-Macdonald
29c3dea2b1
remove dead code
2018-02-05 13:21:15 +00:00
Richard Frith-Macdonald
0d6d01bc00
use cast when masking 64bit value
2018-02-05 13:14:31 +00:00
Richard Frith-Macdonald
96dcac7a74
remove dead code
2018-02-05 13:07:59 +00:00
Richard Frith-Macdonald
a29213a3a2
remove unused code
2018-02-05 13:03:58 +00:00
Richard Frith-Macdonald
7e7d71d63e
remove redundant code
2018-02-05 08:14:41 +00:00
Richard Frith-Macdonald
493eb2cf2f
remove unused code
2018-02-05 08:11:46 +00:00
Richard Frith-Macdonald
54bf6598ed
make sure the hour we read from the time zone file is constrained to 0-23
2018-02-04 11:21:47 +00:00
Richard Frith-Macdonald
b135bc8ae0
suppress warning using cast
2018-02-04 11:17:33 +00:00
Richard Frith-Macdonald
ab670fd27a
improive handling of failed character conversion
2018-02-04 11:10:07 +00:00
Richard Frith-Macdonald
113867e9e6
fix for collation alone being set
2018-02-04 10:51:01 +00:00
Richard Frith-Macdonald
4f50f358c3
more fixups for unicode and to avoid warnings
2018-02-04 08:38:20 +00:00
Richard Frith-Macdonald
78087d0aa4
tweak to keep checker happy
2018-02-04 08:28:51 +00:00
Richard Frith-Macdonald
f1b1c1c754
fix bad type in assignment
2018-02-03 16:03:32 +00:00
Richard Frith-Macdonald
8a66507f29
changer memcpy to memmove
2018-02-03 10:11:30 +00:00
fredkiefer
e69450400a
* Source/GSFormat.m: Call va_end with the correct parameter.
...
* Source/NSObject+NSComparisonMethods.m: Add missing return.
* Source/GSString.m (-replaceCharactersInRange:withString:,
-initWithBytesNoCopy:...freeWhenDone:): Remove dead code.
* Source/NSDistantObject.m (-initWithCoder:): Remove dead code.
* Source/NSPredicate.m (_eval_avg:): Don't devide by zero.
Fix issues found by Coverity.
2018-02-01 22:31:15 +01:00
Richard Frith-Macdonald
7045f84acc
OSX compatibility fixes for zero width space character and initialising an NSURL
...
with bad strings.
2018-01-26 12:53:47 +00:00
Richard Frith-Macdonald
d8e7607582
Tweaks to let comp[iler know that methods to raise an exception don't return.
2018-01-25 10:05:52 +00:00
Richard Frith-Macdonald
cc97172bdd
check for nul pointer when destroying zone
2018-01-23 16:34:26 +00:00
Richard Frith-Macdonald
c7ba537c75
fix issues picked up by automated checker
2018-01-23 11:32:36 +00:00
Richard Frith-Macdonald
5f7e53c175
Re-enable optimisation on NSConnection/NSInvocation
2018-01-19 08:44:50 +00:00
Richard Frith-Macdonald
28048a5947
Don't try to notify about task termination on the thread that started the task
...
if it has already finished executing.
2018-01-15 11:42:04 +00:00
Richard Frith-Macdonald
5bdcd3c698
fix recent pkg-config change so we still work with older versions
2018-01-15 10:45:16 +00:00
Richard Frith-Macdonald
24e65e8c70
list tweak of NSThread
2018-01-15 10:09:59 +00:00
Richard Frith-Macdonald
925f1dd5e1
Add Yavor Doganov's patches for tests and config. Add fixes for GSXML
...
validation of xml documents
2018-01-14 12:30:13 +00:00
Richard Frith-Macdonald
31257785d6
External entity resolution turned off by default for security
2018-01-11 16:39:21 +00:00
Richard Frith-Macdonald
93389bb357
Minore xml parsing fixes
2018-01-11 13:50:39 +00:00
Richard Frith-Macdonald
4efa322ca2
Fix bug in object allocation when ARC is available
2018-01-04 09:08:36 +00:00
Richard Frith-Macdonald
6150b3fd62
Fix for bug #51592
2018-01-02 12:48:18 +00:00
Richard Frith-Macdonald
c0eb4e1f65
Merge branch 'master' of ssh://github.com/gnustep/libs-base
...
Conflicts:
ChangeLog
2018-01-01 11:07:18 +00:00
Ivan Vučica
b05f46fc7e
release-chore: Update release notes for 1.25.1
...
Take note of compatibility improvement changes since release
notes were written, and fix a typo.
2017-12-31 17:09:04 +00:00
Richard Frith-Macdonald
6ec34b4df4
Merge branch 'master' of ssh://github.com/gnustep/libs-base
...
Conflicts:
ChangeLog
2017-12-21 13:56:34 +00:00
Richard Frith-Macdonald
4ce7a25541
Changes to avoid possible hang in connection reply mode due to race condition.
2017-12-21 13:51:01 +00:00
Riccardo
ae335197f4
cleanup previous commit
2017-12-21 13:11:08 +01:00
Riccardo
d28a000877
Compatibility for OS/compiler not supporting weak symbols
2017-12-21 08:34:46 +01:00
Graham Lee
186d840ce6
Merge branch 'master' into json-signed-integers
2017-12-18 12:56:28 +00:00
David Chisnall
8a89579e15
Duplicate some data from an easy-to-find location to a less helpful one.
2017-12-17 10:57:25 +00:00
fredkiefer
97f9a02308
Add new symbolic link method to NSFileManager.
2017-12-03 21:55:33 +01:00
Graham Lee
910f086e26
add test
2017-11-26 08:40:28 +00:00
Graham Lee
05184a7e1a
fix overflow of integer types when writing large unsigned long longs to JSON
2017-11-25 21:23:46 +00:00
Richard Frith-Macdonald
9bbcd75d16
Fix for failure to check insertion point is at an existing item.
2017-11-16 14:56:20 +00:00
fredkiefer
7c68c30928
Protect against GSPrivateNativeCStringEncoding() corrupting the return
...
value of setlocale(). Bug #52331 reported by Jakub Wilk <jwilk@jwilk.net>.
2017-11-04 23:53:12 +01:00
stefanbidi
ded6cf852a
* ChangeLog: Include ChangeLog entry for previous commit.
2017-10-26 11:06:08 -04:00
Richard Frith-Macdonald
8bd7c048ac
Improve handling of messaging to blocked thread
2017-09-06 09:32:07 +01:00
fredkiefer
78ce414d7d
Merge pull request #10 from theiostream/more-defs
...
Add more definitions for WebKit
2017-08-27 17:30:47 +02:00
Stefan Bidigaray
952884dd6a
Fix bug in NSLocale ISO codes methods.
2017-08-24 11:03:11 -04:00
Daniel Ferreira
f07da76c12
Update ChangeLog
2017-08-24 05:14:34 +10:00
Richard Frith-Macdonald
10b865e2d5
Merge branch 'master' of ssh://github.com/gnustep/libs-base
...
Conflicts:
ChangeLog
2017-08-21 11:27:13 +01:00
Richard Frith-Macdonald
f170693bca
Fix error with Location header
2017-08-21 11:25:44 +01:00
Daniel Ferreira
9fe015296b
Update ChangeLog
2017-08-05 04:15:44 +10:00
Wolfgang Lux
bc285396da
Characters outside the BMP cannot be converted to Latin 1 string encoding
2017-07-10 10:16:27 +02:00
Riccardo
6b455a589d
Fix GetTickCount()/GetTickCount64() for different Windows versions
2017-07-07 10:50:10 +02:00
Richard Frith-Macdonald
b19b4af0b0
ChaneLog entry for recent NSObject.m change
2017-07-04 09:16:09 +01:00
Daniel Ferreira
a8c2c4965d
Update ChangeLog
2017-06-29 21:18:16 +01:00
Richard Frith-Macdonald
e1e0315e34
Use new NSFileManager behavior rather than operating system specific calls.
2017-06-21 11:25:05 +01:00
Richard Frith-Macdonald
24d29934cf
Fix directory creation to match actual OSX sematics as determined by adding
...
a few testcases ...
The basic method should fail if the directory already exists.
The intermediate directories method should fail if the directory exists unless
the option to create intermediate directories is selected, in which case a
pre-existing directory is counted as a success.
2017-06-18 09:13:57 +01:00
Richard Frith-Macdonald
c494785630
Fix GSI_MAP_NODE_IS_EMPTY macros as suggested
...
by Daniel Ferreira <bnmvco@gmail.com>
2017-06-17 07:13:55 +01:00
Richard Frith-Macdonald
ed721bf4da
Fix directory creation to use low level methods which consider the presence
...
of an existing directory to be an error, rather than the NSFileManager methods
that consider it a success. The logic of distributed locking requires us to
fail if a directory already exists.
2017-06-17 06:52:05 +01:00
Richard Frith-MacDonald
9400f9105d
Make TLS client certificate issuer/owner names available
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40508 72102866-910b-0410-8b05-ffd578937521
2017-05-19 11:38:48 +00:00
Wolfgang Lux
65af5b5ad6
Fix incorrect use addresses returned from getaddrinfo.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40500 72102866-910b-0410-8b05-ffd578937521
2017-05-10 12:38:40 +00:00
Richard Frith-MacDonald
5a810920e4
minor documentation generation tweak
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40492 72102866-910b-0410-8b05-ffd578937521
2017-04-24 13:42:35 +00:00
Richard Frith-MacDonald
090aa2445d
Release new version
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40479 72102866-910b-0410-8b05-ffd578937521
2017-04-14 09:54:19 +00:00
Richard Frith-MacDonald
1f786ad7a8
fixes for #47618
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40462 72102866-910b-0410-8b05-ffd578937521
2017-04-09 12:45:18 +00:00
Richard Frith-MacDonald
073fb54804
apply bug #49021
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40461 72102866-910b-0410-8b05-ffd578937521
2017-04-09 09:56:55 +00:00
Richard Frith-MacDonald
c6b8f4fb03
fix memory leak
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40433 72102866-910b-0410-8b05-ffd578937521
2017-04-03 20:23:31 +00:00
Riccardo Mottola
b5b9126290
Correct format specifier to char*
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40432 72102866-910b-0410-8b05-ffd578937521
2017-04-01 14:09:01 +00:00
Riccardo Mottola
b19d076452
Skip file if no valid filename could be retrieved most probably due to Charset mismatches, this is is more a last resort: probably a lossy conversion should be attempted before
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40397 72102866-910b-0410-8b05-ffd578937521
2017-03-17 14:11:14 +00:00
Richard Frith-MacDonald
0cd2430234
updated timezone information
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40396 72102866-910b-0410-8b05-ffd578937521
2017-03-17 12:25:30 +00:00
Richard Frith-MacDonald
d28ab9eaac
Implement OSX compatible non-lossy ascii encoding
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40395 72102866-910b-0410-8b05-ffd578937521
2017-03-17 12:04:19 +00:00
Wolfgang Lux
e3caba204b
Fix a serious misunderstanding of the icu string access API: The value
...
of nativeIndexingLimit must not exceed the length of the current chunk.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40333 72102866-910b-0410-8b05-ffd578937521
2017-02-11 14:24:58 +00:00
Richard Frith-MacDonald
31772e50c5
fix for bug #50032
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40289 72102866-910b-0410-8b05-ffd578937521
2017-01-12 10:34:23 +00:00