From 3ad411e805594fab77694b57c76da45278541ac6 Mon Sep 17 00:00:00 2001 From: fedor Date: Sun, 29 Feb 2004 02:57:22 +0000 Subject: [PATCH] Version 1.9.1 git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18712 72102866-910b-0410-8b05-ffd578937521 --- ANNOUNCE | 26 ++++++++------------------ ChangeLog | 11 +++++++++++ Documentation/announce.texi | 16 ---------------- Documentation/install.texi | 23 ++++++++++++----------- Documentation/news.texi | 13 +++++++++++-- Documentation/readme.texi | 4 ---- INSTALL | 23 ++++++++++++----------- NEWS | 15 +++++++++++++-- README | 4 ---- Source/GSFormat.m | 6 ++++++ Source/NSScanner.m | 5 +++++ Source/simple-load.h | 7 +++++-- Version | 2 +- configure | 7 +++++-- configure.ac | 7 +++++-- 15 files changed, 94 insertions(+), 75 deletions(-) diff --git a/ANNOUNCE b/ANNOUNCE index 67a25e734..addfa39dd 100644 --- a/ANNOUNCE +++ b/ANNOUNCE @@ -1,7 +1,7 @@ Announcement ************ -The GNUstep Base Library, version 1.9.0, is now available. +The GNUstep Base Library, version 1.9.1, is now available. What is the GNUstep Base Library? ================================= @@ -19,31 +19,21 @@ portion of the OpenStep standard (the Foundation library). There is more information available at the GNUstep homepage at `http://www.gnustep.org'. - Note that versions that have a odd minor release number (the second -number, y, in x.y.z) are unstable releases (like 1.5.2), while even -minor release numbers (1.4.1) are stable releases. - -Noteworthy changes in version `1.9.0' +Noteworthy changes in version `1.9.1' ===================================== - * Lazy locking implemented (see GSLock documentation) + * Default string encoding taken from system nl_langinfo if not set + with GNUSTEP_STRING_ENCODING. - * MacOSX PB files updated to 10.3 + * NSKeyedArchiver/NSKeyedUnarchiver classesadded. - * DO retain/release implementation simplified and also handles some - complex DO retain/release problems. - - * GNUSTEP_STRING_ENCODING now supports any valid iconv name. - - * gdomap uid/gid fixes - - * NSString subclass heirarchy reorganized to fix problems with - copying and ownership of data. + * NSPropertyLists class added, also decodes Mac OS X binary propery + lists. Where can you get it? How can you compile it? ============================================== - The gnustep-base-1.9.0.tar.gz distribution file has been placed on + The gnustep-base-1.9.1.tar.gz distribution file has been placed on `ftp.gnustep.org' in `pub/gnustep/core'. Please log bug reports on the GNUstep project page diff --git a/ChangeLog b/ChangeLog index 61e9a8f36..b704e341c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,14 @@ +2004-02-28 Adam Fedor + + * Version 1.9.1 + * Documentation/install.texi, news.texi: Update + + * configure.ac: Define _GNU_SOURCE for LONG_LONG check + * Source/GSFormat.m: Idem. + * Source/NSScanner.m: Idem. + + * Source/simple-load.h: Define RTLD_DEFAULT if not defined. + 2004-02-28 17:52 Alexander Malmberg * configure.ac, configure: Define GS_UINT64 properly if there is diff --git a/Documentation/announce.texi b/Documentation/announce.texi index d95d48129..80b9efac3 100644 --- a/Documentation/announce.texi +++ b/Documentation/announce.texi @@ -22,22 +22,6 @@ portion of the OpenStep standard (the Foundation library). There is more information available at the GNUstep homepage at @samp{http://www.gnustep.org}. -Note that versions that have a odd minor release number (the second number, -y, in x.y.z) are unstable -releases (like 1.5.2), while even minor release numbers (1.4.1) are stable -releases. - -@ignore -So that developers of non-free, commercial programs can use the library, -the library is released under the GNU Library GPL. - -So that it can easily be included in non-free, comercial software, the -library is released under the GNU Library GPL. - -For more details, see the @samp{README} file that comes with the -distribution. -@end ignore - @set ANNOUNCE-ONLY @include news.texi @clear ANNOUNCE-ONLY diff --git a/Documentation/install.texi b/Documentation/install.texi index 7b0dcdd2e..fac527a0f 100644 --- a/Documentation/install.texi +++ b/Documentation/install.texi @@ -26,7 +26,7 @@ If you are installing the GNUstep libraries individually, make sure you have installed the GNUstep Makefile package (gnustep-make) already, and you have sourced the makefile script: @example -. $GNUSTEP_SYSTEM_ROOT/Makeifles/GNUstep.sh +. $GNUSTEP_SYSTEM_ROOT/Library/Makefiles/GNUstep.sh @end example See the GNUstep-HOWTO for more information. @@ -124,10 +124,11 @@ GNUstep's NSInvocations and Distributed Objects code involves detailed manipulation of the stack and function calls using a library that implements a Foreign-Function Interface (FFI), such as the ffcall or libffi libraries. Use of ffcall is automatically enabled if the ffcall -libraries are found, unless specifically disabled with -@code{--disable-ffcall}. If disabled, the code reverts to the builtin -method for stack frame handling, but this rarely works on non-ix86 -machines and is not supported. +libraries are found (and the same with libffi, although ffcall takes +precedence), unless specifically disabled with @code{--disable-do}. +If disabled, the code reverts to the builtin method for stack frame +handling, but this rarely works on non-ix86 machines and is not +supported. You need to have the ffcall libraries, which you can get from @url{ftp://www.gnustep.org/pub/gnustep/libs/} or @@ -137,13 +138,13 @@ version of the Objective-C library if you are not using gcc 3.x library). You can get this library from @url{ftp://www.gnustep.org/pub/gnustep/libs}. -Support for the libffi library has also been added, although it is not -as well tested as ffcall. Current versions of libffi are only -distributed with gcc version 3.x, although it is not installed by -default. To install it, after you have built gcc, do something like: +Support for the libffi library has also been added. Current versions +of libffi are only distributed with gcc version 3.x, although it is +not installed by default. To install it, after you have built gcc, do +something like: @example -mkdir newlibffi -cd newlibffi +mkdir libffi-build +cd libffi-build ../gcc-3.2.1/libffi/configure make ffitest diff --git a/Documentation/news.texi b/Documentation/news.texi index 436efb1d8..0fbe44cc0 100644 --- a/Documentation/news.texi +++ b/Documentation/news.texi @@ -9,6 +9,17 @@ The currently released version of the library is @samp{@value{GNUSTEP-BASE-VERSION}}. @end ifclear +@section Noteworthy changes in version @samp{1.9.1} + +@itemize @bullet +@item Default string encoding taken from system nl_langinfo if not set +with GNUSTEP_STRING_ENCODING. +@item NSKeyedArchiver/NSKeyedUnarchiver classes added. +@item NSPropertyLists class added, also decodes Mac OS X binary propery lists. +@end itemize + +@ifclear ANNOUNCE-ONLY + @section Noteworthy changes in version @samp{1.9.0} @itemize @bullet @@ -22,8 +33,6 @@ complex DO retain/release problems. and ownership of data. @end itemize -@ifclear ANNOUNCE-ONLY - @section Noteworthy changes in version @samp{1.8.0} Read the NEWS file for a complete list of changes since the last stable diff --git a/Documentation/readme.texi b/Documentation/readme.texi index 834945e34..a93be945b 100644 --- a/Documentation/readme.texi +++ b/Documentation/readme.texi @@ -19,10 +19,6 @@ The file @samp{NEWS} has the library's feature history. The files @samp{INSTALL} or @samp{GNUstep-HOWTO} (from the web site) gives instructions for installing the library. -Note that releases numbers that have an odd minor version (e.g. 1.3.2) -are unstable releases. They are not as well tested as stable releases -(e.g. 1.4.1). - @section License The GNUstep libraries are covered under the GNU Lesser Public License. diff --git a/INSTALL b/INSTALL index cf2c9ec3b..fa177b26f 100644 --- a/INSTALL +++ b/INSTALL @@ -10,7 +10,7 @@ GNUstep-HOWTO is located in the gnustep-make package or at If you are installing the GNUstep libraries individually, make sure you have installed the GNUstep Makefile package (gnustep-make) already, and you have sourced the makefile script: - . $GNUSTEP_SYSTEM_ROOT/Makeifles/GNUstep.sh + . $GNUSTEP_SYSTEM_ROOT/Library/Makefiles/GNUstep.sh See the GNUstep-HOWTO for more information. After installing this library you should install gnustep-gui if you @@ -94,10 +94,11 @@ FFI Library detailed manipulation of the stack and function calls using a library that implements a Foreign-Function Interface (FFI), such as the ffcall or libffi libraries. Use of ffcall is automatically enabled if the -ffcall libraries are found, unless specifically disabled with -`--disable-ffcall'. If disabled, the code reverts to the builtin -method for stack frame handling, but this rarely works on non-ix86 -machines and is not supported. +ffcall libraries are found (and the same with libffi, although ffcall +takes precedence), unless specifically disabled with `--disable-do'. +If disabled, the code reverts to the builtin method for stack frame +handling, but this rarely works on non-ix86 machines and is not +supported. You need to have the ffcall libraries, which you can get from or @@ -106,12 +107,12 @@ version of the Objective-C library if you are not using gcc 3.x (before gcc 3.0 the required hooks were not in the standard library). You can get this library from . - Support for the libffi library has also been added, although it is -not as well tested as ffcall. Current versions of libffi are only -distributed with gcc version 3.x, although it is not installed by -default. To install it, after you have built gcc, do something like: - mkdir newlibffi - cd newlibffi + Support for the libffi library has also been added. Current versions +of libffi are only distributed with gcc version 3.x, although it is not +installed by default. To install it, after you have built gcc, do +something like: + mkdir libffi-build + cd libffi-build ../gcc-3.2.1/libffi/configure make ffitest diff --git a/NEWS b/NEWS index 5c78936da..34fa85b2c 100644 --- a/NEWS +++ b/NEWS @@ -1,7 +1,18 @@ News **** -The currently released version of the library is `1.9.0'. +The currently released version of the library is `1.9.1'. + +Noteworthy changes in version `1.9.1' +===================================== + + * Default string encoding taken from system nl_langinfo if not set + with GNUSTEP_STRING_ENCODING. + + * NSKeyedArchiver/NSKeyedUnarchiver classes added. + + * NSPropertyLists class added, also decodes Mac OS X binary propery + lists. Noteworthy changes in version `1.9.0' ===================================== @@ -23,7 +34,7 @@ Noteworthy changes in version `1.9.0' Noteworthy changes in version `1.8.0' ===================================== - Read the NEWS file for a compete list of changes since the last + Read the NEWS file for a complete list of changes since the last stable version. The major change is that the header files (both in the package and when installed) are in different locations. Also, due to filesystem changes in gnustep-make, several components of gnustep-base diff --git a/README b/README index 97cddf37d..34f3bfe3a 100644 --- a/README +++ b/README @@ -18,10 +18,6 @@ Initial reading The files `INSTALL' or `GNUstep-HOWTO' (from the web site) gives instructions for installing the library. - Note that releases numbers that have an odd minor version (e.g. -1.3.2) are unstable releases. They are not as well tested as stable -releases (e.g. 1.4.1). - License ======= diff --git a/Source/GSFormat.m b/Source/GSFormat.m index 798d2a9dd..917c34c73 100644 --- a/Source/GSFormat.m +++ b/Source/GSFormat.m @@ -62,6 +62,12 @@ #include "Foundation/NSDebug.h" #include "GNUstepBase/GSLocale.h" #include "GSFormat.h" + +/* We need to define _GNU_SOURCE on systems (SuSE) to get LONG_LONG_MAX. */ +#ifndef _GNU_SOURCE +#define _GNU_SOURCE +#endif + #include #include // for strstr() #include diff --git a/Source/NSScanner.m b/Source/NSScanner.m index ae8cb6bd3..660897f49 100644 --- a/Source/NSScanner.m +++ b/Source/NSScanner.m @@ -32,6 +32,11 @@ #include "Foundation/NSException.h" #include "Foundation/NSObjCRuntime.h" #include "Foundation/NSUserDefaults.h" + +/* We need to define _GNU_SOURCE on systems (SuSE) to get LONG_LONG_MAX. */ +#ifndef _GNU_SOURCE +#define _GNU_SOURCE +#endif #include #include #include diff --git a/Source/simple-load.h b/Source/simple-load.h index 631e23977..f3ecbe72e 100644 --- a/Source/simple-load.h +++ b/Source/simple-load.h @@ -12,8 +12,8 @@ */ -#ifndef __sunos_load_h_INCLUDE -#define __sunos_load_h_INCLUDE +#ifndef __simple_load_h_INCLUDE +#define __simple_load_h_INCLUDE #ifndef __USE_GNU #define __USE_GNU @@ -26,6 +26,9 @@ #ifndef RTLD_GLOBAL #define RTLD_GLOBAL 0 #endif +#ifndef RTLD_DEFAULT +#define RTLD_DEFAULT 0 +#endif /* Types defined appropriately for the dynamic linker */ typedef void* dl_handle_t; diff --git a/Version b/Version index 5220dc90e..cd688e641 100644 --- a/Version +++ b/Version @@ -7,7 +7,7 @@ GCC_VERSION=2.8.0 # The version number of this release. MAJOR_VERSION=1 MINOR_VERSION=9 -SUBMINOR_VERSION=0 +SUBMINOR_VERSION=1 GNUSTEP_BASE_VERSION=${MAJOR_VERSION}.${MINOR_VERSION}.${SUBMINOR_VERSION} VERSION=${GNUSTEP_BASE_VERSION} diff --git a/configure b/configure index f1c6de626..ca1e8038c 100755 --- a/configure +++ b/configure @@ -11351,6 +11351,7 @@ fi echo "$as_me:$LINENO: checking whether precompiler handles LONG_LONG_MAX" >&5 echo $ECHO_N "checking whether precompiler handles LONG_LONG_MAX... $ECHO_C" >&6 +# We need to define _GNU_SOURCE for some systems to enable LONG_LONG_MAX cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ @@ -11358,7 +11359,10 @@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -#ifdef HAVE_STDINT_H +#ifndef _GNU_SOURCE + #define _GNU_SOURCE + #endif + #ifdef HAVE_STDINT_H #include #endif #include @@ -11414,7 +11418,6 @@ fi # echo "$as_me:$LINENO: checking whether we have LLONG_MAX" >&5 echo $ECHO_N "checking whether we have LLONG_MAX... $ECHO_C" >&6 - cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ diff --git a/configure.ac b/configure.ac index 4433fb428..b2be30e6c 100644 --- a/configure.ac +++ b/configure.ac @@ -672,7 +672,11 @@ AC_CHECK_FUNCS(strerror) AC_CHECK_TYPES([uintmax_t]) AC_MSG_CHECKING([whether precompiler handles LONG_LONG_MAX]) -AC_TRY_CPP([#ifdef HAVE_STDINT_H +# We need to define _GNU_SOURCE for some systems to enable LONG_LONG_MAX +AC_TRY_CPP([#ifndef _GNU_SOURCE + #define _GNU_SOURCE + #endif + #ifdef HAVE_STDINT_H #include #endif #include @@ -696,7 +700,6 @@ fi # Solaris and *BSD use LLONG_MAX instead # AC_MSG_CHECKING([whether we have LLONG_MAX]) - AC_TRY_CPP([#include #if defined(LLONG_MAX) #if LONG_MAX == LLONG_MAX