Commit graph

453 commits

Author SHA1 Message Date
Richard Frith-MacDonald
6b04d159b4 try to integerate Riccardo's inttypes patch
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37313 72102866-910b-0410-8b05-ffd578937521
2013-10-29 09:14:45 +00:00
Richard Frith-MacDonald
6adc307bfa another attempt to improve characterset detection
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37059 72102866-910b-0410-8b05-ffd578937521
2013-09-10 07:24:29 +00:00
Richard Frith-MacDonald
a0df6a7f29 removew redundant check
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36888 72102866-910b-0410-8b05-ffd578937521
2013-07-15 05:24:27 +00:00
Richard Frith-MacDonald
13ac980d9f fix check for unicode normalisation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36871 72102866-910b-0410-8b05-ffd578937521
2013-07-11 12:41:56 +00:00
Richard Frith-MacDonald
d7a87a9ae1 remove bogus warning message
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36846 72102866-910b-0410-8b05-ffd578937521
2013-07-06 14:44:12 +00:00
Richard Frith-MacDonald
d65b9254dd minor fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36839 72102866-910b-0410-8b05-ffd578937521
2013-07-05 20:31:54 +00:00
Richard Frith-MacDonald
38ea0d2b27 Add new type encoding parser by Ibadinov Marat, modified to build on gnu/linux
without warnings, using gcc.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36813 72102866-910b-0410-8b05-ffd578937521
2013-07-03 07:55:48 +00:00
Richard Frith-MacDonald
c68e8ffa35 fix test for cross compiling
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36786 72102866-910b-0410-8b05-ffd578937521
2013-07-01 12:02:09 +00:00
Richard Frith-MacDonald
19bec3c0c9 A few string methods and OSX version compatibility tweaks.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36781 72102866-910b-0410-8b05-ffd578937521
2013-07-01 07:08:55 +00:00
Richard Frith-MacDonald
fec7f6689d if neither the new pkg-config nor the old gnustls-config system is found ... try to guess what flags might be used for gnutls
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36468 72102866-910b-0410-8b05-ffd578937521
2013-04-05 15:55:20 +00:00
Richard Frith-MacDonald
7847a7dd4d changes for build on Androd by Emmanuel Maillard
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36364 72102866-910b-0410-8b05-ffd578937521
2013-03-16 05:25:49 +00:00
Richard Frith-MacDonald
9d42d3cea3 fix to trust icu-config if it tells us we have too old a version
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35829 72102866-910b-0410-8b05-ffd578937521
2012-11-28 05:46:21 +00:00
Wolfgang Lux
c67e228f86 Use dedicated code for glibc specific variant of strerror_r based on
an autoconf test instead of trying to tweak feature test macros to use
the POSIX version.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35774 72102866-910b-0410-8b05-ffd578937521
2012-11-02 13:44:30 +00:00
Richard Frith-MacDonald
46ef4c971e cleanups for SSL/TLS support
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35596 72102866-910b-0410-8b05-ffd578937521
2012-09-23 13:11:15 +00:00
Richard Frith-MacDonald
a4140c8f51 Changes to restore sorting functiionality
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35579 72102866-910b-0410-8b05-ffd578937521
2012-09-20 09:32:00 +00:00
Niels Grewe
f8fd11f3fd Completely overhaul how we do sorting in -base. GSSorting.h now defines an
interface that can be used for all sorting tasks in the library. The actual sort
algorithms to use are now plugable. Timsort is the new default sorting
algorithm, the existing algorithms, shellsort and quicksort, can still be
selected using a configure switch.

Also implement the new NSComparator (blocks) based sorting and insertion index
searching methods for NSMutableArray and NSArray.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35573 72102866-910b-0410-8b05-ffd578937521
2012-09-19 13:31:09 +00:00
Niels Grewe
d2401da38c Tweak ICU detection a little.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35500 72102866-910b-0410-8b05-ffd578937521
2012-09-03 12:58:48 +00:00
Niels Grewe
2174f87ede Let us run configure successfully on platforms that ship ICU, but not the
icu-config script.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35487 72102866-910b-0410-8b05-ffd578937521
2012-09-01 19:24:54 +00:00
Niels Grewe
ee4052bf6d Compatibility improvements for QNX.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35451 72102866-910b-0410-8b05-ffd578937521
2012-08-26 08:55:49 +00:00
Niels Grewe
868d8a6922 Add support for logging to the QNX slog via NSLog().
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35450 72102866-910b-0410-8b05-ffd578937521
2012-08-25 23:55:51 +00:00
Niels Grewe
d6047d2923 Make the configure script behave more friendly when cross-compiling.
It now no longer unhelpfully fails because it cannot run foreign
binaries during the configuration phase. Instead, the configuration
values necessary are read from cross.config in this case. (This just
codifies present defaults and adds sensible ones where they were still
missing). Alternative files can be specified using the
`--with-cross-compilation-info=' switch.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35449 72102866-910b-0410-8b05-ffd578937521
2012-08-25 21:44:02 +00:00
Niels Grewe
383d5ccec2 Changes to support clang's __attribute__((objc_root_class)).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35412 72102866-910b-0410-8b05-ffd578937521
2012-08-16 12:31:16 +00:00
Richard Frith-MacDonald
edebc8d4ea fix typo
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35157 72102866-910b-0410-8b05-ffd578937521
2012-05-20 05:51:02 +00:00
Richard Frith-MacDonald
e1b2d9bd90 Add iconv configuration options.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35070 72102866-910b-0410-8b05-ffd578937521
2012-04-16 08:57:45 +00:00
Niels Grewe
fa47f6da10 Detect the presence of libdispatch and, if available, use it for collection
enumeration methods that take blocks as arguments. This allows us to implement
the NSEnumerationConcurrent option of those methods with minimal effort.

The searching methods on NSIndexSet and all the sorting methods are still
missing.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35010 72102866-910b-0410-8b05-ffd578937521
2012-03-27 17:05:19 +00:00
Richard Frith-MacDonald
0a917f7a31 xslt is not a major feature ... just warn if it's missing
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34968 72102866-910b-0410-8b05-ffd578937521
2012-03-21 09:06:40 +00:00
Richard Frith-MacDonald
8f42e7c2f8 Alterations for build consistency
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34966 72102866-910b-0410-8b05-ffd578937521
2012-03-21 08:00:33 +00:00
Eric Wasylishen
5393256ae6 * Source/NSString.m: Implement a codepath using ICU for
-compare:options:range:locale: and
-rangeOfString:options:range:locale: when a non-nil locale
is provided.
* Headers/Foundation/NSString.h (-compare:options:range:locale:):
Change type of locale parameter to id; it can be NSDictionary or
NSLocale.
* configure.ac: add some ICU headers used in NSString change
* configure: regenerate


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34856 72102866-910b-0410-8b05-ffd578937521
2012-03-02 06:53:16 +00:00
Niels Grewe
3527181d41 Correctly check for pthread library on QNX.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34732 72102866-910b-0410-8b05-ffd578937521
2012-02-07 10:18:52 +00:00
Richard Frith-MacDonald
d3b4830a65 try to work round selinux restrictions on invocations
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34660 72102866-910b-0410-8b05-ffd578937521
2012-01-29 16:57:06 +00:00
Richard Frith-MacDonald
d3fa89c616 more verbose warning
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34310 72102866-910b-0410-8b05-ffd578937521
2011-12-17 15:11:03 +00:00
Richard Frith-MacDonald
0964749706 improve warning about poor/no locale/characterset support in compiler
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34309 72102866-910b-0410-8b05-ffd578937521
2011-12-17 15:05:38 +00:00
Richard Frith-MacDonald
32fc733268 changes to support alternative header locations
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34290 72102866-910b-0410-8b05-ffd578937521
2011-12-15 09:42:39 +00:00
Wolfgang Lux
4538670b25 Fix pkg-config configuration for libffi to make it really work on
systems where additional include options are needed.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34259 72102866-910b-0410-8b05-ffd578937521
2011-12-08 12:33:06 +00:00
Richard Frith-MacDonald
932cb8a0e6 clarify warning message a little
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34256 72102866-910b-0410-8b05-ffd578937521
2011-12-07 13:19:29 +00:00
Richard Frith-MacDonald
b9f3958132 use pkg-config for libffi when available
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34252 72102866-910b-0410-8b05-ffd578937521
2011-12-06 11:53:35 +00:00
Richard Frith-MacDonald
3ee9272558 fix typo in error message
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34240 72102866-910b-0410-8b05-ffd578937521
2011-12-02 12:29:33 +00:00
Richard Frith-MacDonald
3f437faaab Add checks for compiler support for unicode string literals
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34239 72102866-910b-0410-8b05-ffd578937521
2011-12-02 11:21:45 +00:00
Richard Frith-MacDonald
11c746c467 Try to improve reliability of configuration process
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34076 72102866-910b-0410-8b05-ffd578937521
2011-10-27 07:43:49 +00:00
Richard Frith-MacDonald
702132b0e6 fix error in gnutls define and add check for consistent compiler use
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34053 72102866-910b-0410-8b05-ffd578937521
2011-10-25 07:41:51 +00:00
Richard Frith-MacDonald
b9fdefed8e anoth go at tls
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34031 72102866-910b-0410-8b05-ffd578937521
2011-10-19 17:30:42 +00:00
Richard Frith-MacDonald
704a39c91b fixes for gnutls detection and objc library detection
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34030 72102866-910b-0410-8b05-ffd578937521
2011-10-19 16:53:39 +00:00
Richard Frith-MacDonald
7187fc9c78 fix typo
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34027 72102866-910b-0410-8b05-ffd578937521
2011-10-19 13:37:26 +00:00
Richard Frith-MacDonald
0fe8c87e1d make sourcing of config file more reliable
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34017 72102866-910b-0410-8b05-ffd578937521
2011-10-17 18:49:16 +00:00
Richard Frith-MacDonald
1d6c3a2a72 Portability tweaks
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33999 72102866-910b-0410-8b05-ffd578937521
2011-10-15 07:59:19 +00:00
Richard Frith-MacDonald
4a5cb96bef For the avoidance of confusion, remove references to obsolete header.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33562 72102866-910b-0410-8b05-ffd578937521
2011-07-15 13:53:45 +00:00
Wolfgang Lux
5269ba015b Fix the broken test whether libffi works. The test program always
failed, but this failure was masked by an incorrect use of AC_TRY_RUN.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33376 72102866-910b-0410-8b05-ffd578937521
2011-06-26 09:05:32 +00:00
Richard Frith-MacDonald
c058c30391 Add configure option to control gdomap port
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33264 72102866-910b-0410-8b05-ffd578937521
2011-06-09 17:08:41 +00:00
Richard Frith-MacDonald
52ee556d01 Fix broken atomic ops config again
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33187 72102866-910b-0410-8b05-ffd578937521
2011-05-29 07:38:48 +00:00
Eric Wasylishen
af69d9db67 regenerate configure
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33182 72102866-910b-0410-8b05-ffd578937521
2011-05-28 18:10:07 +00:00