Richard Frith-Macdonald
149acc40ae
fix minor potential leaks
2021-09-16 10:20:41 +01:00
Richard Frith-Macdonald
99ef0c9665
Forgot to update change log
2021-08-27 11:51:45 +01:00
rfm
1e8ff8e628
Merge branch 'master' into nstimezone
2021-08-18 14:52:24 +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
Richard Frith-Macdonald
5162d888dc
timezone updates for version2 files
2021-08-11 08:43:20 +01:00
Frederik Seiffert
b969347587
Use pkgconfig to find libxslt
2021-08-03 16:55:56 +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
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
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
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
e34584e323
Encryption emprovements
2021-06-19 14:40:47 +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
7ea49c252b
encryption fixes and debug improvements
2021-06-03 14:59:09 +01:00
Gregory John Casamento
ed0a6bd7bd
Fix changelog after merge from master.
2021-06-02 08:37:41 -04:00
Gregory John Casamento
68bac0b3b1
Add missing import for NSByteCountFormatter into Foundation.h
2021-06-02 08:36:14 -04:00
Richard Frith-Macdonald
e42d9fdc6b
New code for secure (encrypted) inter-host distrinuted objects.
2021-05-31 13:19:42 +01:00
Richard Frith-Macdonald
c54a673f79
Document the most recent win32 bugfix for large writes.
2021-05-23 11:04:24 +01:00
Richard Frith-Macdonald
7424bd5884
Another mswindows bugfix for network comms
2021-05-19 11:17:19 +01:00
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