Commit graph

526 commits

Author SHA1 Message Date
Richard Frith-Macdonald
782e7aed31 Fix for -setHTTPMaximumConnectionLifetime: 2021-05-05 12:04:28 +01:00
Richard Frith-Macdonald
b489f9b82b Changes to detect that bfd_get_section_vma has changed to bfd_section_vma and make corresponding changes so we can support use of binutils 2.34 and later. 2021-03-18 21:35:34 +00:00
Frederik Seiffert
5c562c546f Windows MSVC fixes 2021-02-12 14:33:04 +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
Frederik Seiffert
3a4948e1a2 Disable libcurl support when headers are not found 2020-12-15 20:08:38 +01:00
Frederik Seiffert
c12716913a Detect objc.lib and add libdir to path on Windows.
Also removed further obsolete checks for garbage collecting runtime (no longer supported).
2020-11-30 17:18:07 +01:00
Frederik Seiffert
ad43ad9092 Prefer dispatch/dispatch.h over dispatch.h. 2020-11-30 17:18:07 +01:00
Richard Frith-Macdonald
1b7bf26bea Merge changes for NSURLSession from EngageHub (formerly Brainstorm). 2020-11-29 06:57:47 -05:00
Richard Frith-Macdonald
d015cebbf3 Remove obsolete checks for garbage collecting runtime (no longer supported) 2020-11-28 04:11:31 -05:00
Riccardo Mottola
24261fdc45 explicitely allow disabling unwind, test for header and function too 2020-07-28 01:02:55 +02:00
rfm
69c9e77afb
Merge pull request #146 from gnustep/msys-fix
Fix MSYS2-32
2020-07-08 13:59:07 +01:00
Riccardo Mottola
b879e0835b explicitely test for ws2tcpip.h header, fix library detection on windows for inet_ntop with corrent library, guard includes and definitions with configure results, cleanup header inclusion 2020-06-09 13:44:42 +02:00
Frederik Seiffert
0b689d4df4 Fix finding libiconv via cross.config. 2020-06-07 11:00:37 +02:00
Riccardo Mottola
21c79c3500 Use utimensat() to set file modification date, if available. 2020-05-01 02:03:25 +02:00
Riccardo
e23ab3b394
Merge pull request #123 from gnustep/master
keep up with master
2020-04-30 11:14:10 +02:00
Richard Frith-Macdonald
d048dfbea5 Fix use of OBJC_RUNTIME_LIB before it was initialised.
Thanks to J. Brakensiek for spotting this.
2020-04-16 10:26:48 +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
Riccardo Mottola
624140d0fc Add tests for non-POSIX lstat() struct members 2020-04-09 09:05:46 +02:00
fredkiefer
4b5594c63d Use pkg-config to check for libxml. 2020-02-05 23:10:53 +01: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
Richard Frith-Macdonald
dd36855923 Improved memory usage reporting mechanisms 2019-08-08 17:20:25 +01: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
rfm
5ce5899da2
Merge pull request #41 from triplef/swift-corelibs-libdispatch-compat
Add compatibility for Swift corelibs libdispatch release
2019-05-20 14:54:46 +01:00
Frederik Seiffert
43c5ccaef6 Add compatibility for Swift corelibs libdispatch release
This updates the libdispatch runloop integration to be compatible with the Swift corelibs libdispatch release:
https://github.com/apple/swift-corelibs-libdispatch

In that release, the main queue handle and drain functions have been renamed with a "_4CF" (for CoreFoundation) suffix and have moved to private.h, so we now check for the existance of this header and function names.

Note that libdispatch must be compiled with INSTALL_PRIVATE_HEADERS=YES.

Also fixes the checks for the HAVE_LIBDISPATCH_RUNLOOP define (was inverted) and ensures that both the handle and drain functions are available.
2019-05-10 16:17:53 +02:00
Frederik Seiffert
8a5756cf13 Fixed libdispatch configuration switch.
Passing --enable-libdispatch was incorrectly disabling libdispatch.
2019-05-07 16:05:17 +02:00
fsb4000
3f305d6973 Decrease ICU version requirements to 49 2019-03-29 17:14:11 +07: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
5ee5f9bd5f configure: Regenerated to incorporate the changes from PR #32.
Regenerated with autoconf 2.69.
2019-01-06 19:57:59 +00: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
053862f652 We now use -fobjc-runtime=gcc to target the gnu/gcc runtime ABI 2018-07-10 10:49:31 +01:00
Richard Frith-Macdonald
5c7713cacc Minor tidyups plus config update 2018-04-24 12:24:37 +01:00
Wolfgang Lux
5638d7c776 Replace broken configure script from last commit 2018-01-15 12:03:02 +01:00
Wolfgang Lux
9f1fce3612 Include pkg.m4 which was missing from configure.ac leading to potential configuration failures 2018-01-15 11:59:30 +01: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
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
38fc2bde82 Remove --enable-objc-nonfragile-abi because David says it's obsolete and
doesn't work as expected.
2017-12-20 13:25:41 +00:00
Niels Grewe
f9540e172e Improve support for loading encrypted private keys
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40139 72102866-910b-0410-8b05-ffd578937521
2016-10-11 11:59:04 +00:00
Richard Frith-MacDonald
33ed35331b Various configure/build tweaks
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40062 72102866-910b-0410-8b05-ffd578937521
2016-08-19 12:20:24 +00:00
Richard Frith-MacDonald
39cc09e2ca Sort algorithms should always be built, and be selectable at runtime
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39998 72102866-910b-0410-8b05-ffd578937521
2016-07-15 11:30:07 +00:00
Richard Frith-MacDonald
5b360d8a83 Remove the obsolete openssl bundle code.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39937 72102866-910b-0410-8b05-ffd578937521
2016-06-28 10:40:33 +00:00
Richard Frith-MacDonald
ecfbd24d8e Changed to restructure subdirectory layout for binaries and system dependent
resources in a non-flattened installation.  First step towards seamless
Debian multiarch support.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39918 72102866-910b-0410-8b05-ffd578937521
2016-06-25 07:12:41 +00:00
Richard Frith-MacDonald
f5288bdf6b Simplify bfd code
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39763 72102866-910b-0410-8b05-ffd578937521
2016-05-14 14:47:43 +00:00
Niels Grewe
c0282c4073 If libdispatch provides integration hooks for the main queue
(i.e. nickhutchinson/libdispatch), use these to drain the main
queue using the main run loop.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39617 72102866-910b-0410-8b05-ffd578937521
2016-04-04 08:17:08 +00:00
Richard Frith-MacDonald
cd3f29f2ea Regenerate
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39530 72102866-910b-0410-8b05-ffd578937521
2016-03-11 16:52:21 +00:00
Richard Frith-MacDonald
e2763be5fa Add some checks that the runtime supports features we need for ng
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39443 72102866-910b-0410-8b05-ffd578937521
2016-03-02 14:42:43 +00:00
Richard Frith-MacDonald
8fe8af2d57 Implement versdion check for new ICU code
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39424 72102866-910b-0410-8b05-ffd578937521
2016-02-29 10:05:36 +00:00
Richard Frith-MacDonald
4851131f49 Update to check for minimum icu version
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39403 72102866-910b-0410-8b05-ffd578937521
2016-02-20 17:30:11 +00:00
Richard Frith-MacDonald
11aac47960 fixup config test for older clang
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@38990 72102866-910b-0410-8b05-ffd578937521
2015-09-16 13:21:21 +00:00