Commit graph

301 commits

Author SHA1 Message Date
rfm
cb338fbe16 portability fix and documentation tweaks by Yavor Doganov
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37667 72102866-910b-0410-8b05-ffd578937521
2014-02-02 07:20:51 +00:00
rfm
5470bb0efa fix for issue reported by Mathias Bauer <mathias_bauer@gmx.net>
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37611 72102866-910b-0410-8b05-ffd578937521
2014-01-16 15:15:52 +00:00
rmottola
4b21de46d8 Detect broken PTR limits (notably solaris 8) and provide replacements
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37414 72102866-910b-0410-8b05-ffd578937521
2013-11-26 22:55:47 +00:00
rfm
e22078004e 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
rfm
a319576293 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
rfm
86fb7a7a64 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
rfm
2f99328775 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
rfm
b56548a860 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
rfm
5f8d366814 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
rfm
354d0bcb94 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
rfm
7e0decabf6 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
rfm
9f63b8a2e6 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
ivucica
0902237bc3 Added check for whether there is any useful information in
struct lconv. Android doesn't have anything there, despite
having locale.h, so it makes little sense to try to access
the nonexistent fields in GSLocale.m



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36632 72102866-910b-0410-8b05-ffd578937521
2013-05-16 08:44:53 +00:00
ivucica
0c191f5275 When cross-compiling, obeying an additional setting for Objective-C 2.0 support. Fixed a missing '$' in cross.config.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36631 72102866-910b-0410-8b05-ffd578937521
2013-05-16 07:37:39 +00:00
rfm
e4bbef2ba2 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
rfm
42556c0e4a 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
wlux
9877c8af3a 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
rfm
83b4735655 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
rfm
31634bffde 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
thebeing
b9b63476ef 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
thebeing
a553252cc9 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
thebeing
9de880e86c 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
thebeing
a99a5163fd 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
thebeing
1e852b259e 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
thebeing
d86ea96c56 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
thebeing
d10498bd01 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
rfm
42854d7dac 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
rfm
15af19bf6e 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
thebeing
a5c6cfa9f7 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
rfm
818d2ee2ae 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
rfm
b5181106dd 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
ericwa
928095d6c3 * 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
thebeing
8a309439e0 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
rfm
92ae73861f 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
rfm
794f436fe9 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
rfm
a4f98e5b2e 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
rfm
ee3f0b14a0 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
wlux
70ab695c9d 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
rfm
cada329cb9 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
rfm
086a4cd7f6 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
rfm
5175454a7c 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
rfm
347d6b4e26 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
rfm
bf1c297ce0 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
rfm
a3ba553688 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
rfm
a0c9b21004 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
rfm
2934175c27 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
rfm
c951117b4d 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
rfm
3f096773cf 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
rfm
2bf86630a2 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
rfm
cc524f2704 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