OSDN Git Service

In libobjc/:
[pf3gnuchains/gcc-fork.git] / libobjc / ChangeLog
index 56f1ef8..0d46882 100644 (file)
@@ -1,3 +1,573 @@
+2010-09-12  Nicola Pero  <nicola.pero@meta-innovation.com>
+
+       * objc/deprecated/objc_error.h: New file.
+       * objc/objc-api.h: Include deprecated/objc_error.h instead of
+       defining objc_error and related.
+       * error.c: New file.  Added _objc_abort function which replaces
+       objc_error.  No change in functionality as they both print an
+       error and abort.
+       * misc.c: File removed.  Code moved into memory.c and error.c.
+       * memory.c: New file.
+       * objc-private/error.h: New file.
+       * archive.c: Include objc-private/error.h and use _objc_abort
+       instead of objc_error everywhere.
+       * class.c: Same change.
+       * encoding.c: Same change.
+       * init.c: Same change, and simplified init_check_module_version.
+       * memory.c: Same change.
+       * sendmsg.c:  Same change.
+       * thr.c: Same change.
+       * Makefile.in (OBJ_DEPRECATED_H): Added objc_error.h.
+       (OBJ_H): Reordered list.
+       (OBJS): Removed misc.lo, added memory.lo and error.lo.
+       (OBJS_GC): Removed misc_gc.lo, added memory_gc.lo and error_gc.lo.
+       (misc_gc.lo): Rule removed.
+       (error_gc.lo): Rule added.
+       (memory_gc.lo): Rule added.
+       
+2010-09-12  Nicola Pero  <nicola.pero@meta-innovation.com>
+
+       * objc/objc.h (__GNU_LIBOBJC__): New #define providing an easy way
+       to check the API version.  Added some comments.
+
+       * objc-private/common.h: New file.
+       * NXConstStr.m: Include objc-private/common.h.
+       * Object.m: Same change.
+       * Protocol.m: Same change.
+       * archive.c: Same change.
+       * class.c: Same change.
+       * encoding.c: Same change.
+       * exception.c: Same change.
+       * gc.c: Same change.
+       * hash.c: Same change.
+       * init.c: Same change.
+       * libobjc_entry.c: Same change.
+       * linking.m: Same change.
+       * misc.c: Same change (and added a comment).
+       * nil_method.c: Same change.
+       * objects.c: Same change.
+       * sarray.c: Same change.
+       * selector.c: Same change.
+       * sendmsg.c: Same change.
+       * thr.c: Same change.
+
+2010-09-11  Nicola Pero  <nicola.pero@meta-innovation.com>
+
+       * objc/objc-api.h: Removed obsolete #ifdef for NeXTSTEP.
+
+2010-09-11  Nicola Pero  <nicola.pero@meta-innovation.com>
+
+       * archive.c: Removed not needed includes.
+       * class.c: Same change.
+       * hash.c: Same change.
+       * misc.c: Same change.
+       * nil_method.c: Same change.
+       * objects.c: Same change.
+       * sarray.c: Same change.
+       * sendmsg.c: Same change.
+       * thr.c: Same change.
+
+2010-09-11  Nicola Pero  <nicola.pero@meta-innovation.com>
+
+       * objc/runtime.h: Moved to objc-private/runtime.h.  Do not include
+       all the objc/*.h files.
+       * objc-private/runtime.h: New file.
+       * archive.c: Include objc-private/runtime.h (and required objc/*.h
+       files) instead of objc/runtime.h.
+       * class.c: Same change.
+       * hash.c: Same change.
+       * init.c: Same change.
+       * misc.c: Same change.
+       * nil_method.c: Same change.
+       * objects.c: Same change.
+       * sarray.c: Same change.
+       * selector.c: Same change.
+       * sendmsg.c: Same change.
+       * thr.c: Same change.
+       
+2010-09-11  Nicola Pero  <nicola.pero@meta-innovation.com>
+
+       * objc/deprecated/struct_objc_selector.h: New file.  Definition of
+       'struct objc_selector' and 'sel_eq' moved here.
+       * objc/deprecated/struct_objc_protocol.h: New file.  Definition of
+       'struct objc_procotol' moved here.
+       * objc/deprecated/struct_objc_class.h: New file.  Definition of
+       'struct objc_class' moved here.
+       * objc/deprecated/MetaClass.h: New file.  Definition of MetClass
+       moved here.
+       * objc/deprecated/STR.h: New file.  Definition of STR moved here.       
+       * objc/message.h: New file.  Definitions for relval_t, apply_t,
+       arglist, arglist_t and objc_msg_lookup were moved here.
+       * objc/objc.h: Include the above files instead of defining the
+       corresponding structs, types and functions here.  Added new opaque
+       definitions for SEL and Class.  Use Class and not 'struct
+       objc_class *' in the definition of 'struct objc_object'.
+       Commented all types defined in the file.  Removed special
+       definition of BOOL as 'int' on __vxworks; use 'unsigned char'
+       there as well.
+       * objc/deprecated/objc-unexpected-exception.h: Renamed to
+       objc_unexpected_exception.h.
+       * objc/objc-api.h: Updated include of
+       objc-unexpetected-exception.h
+       * objc/objc-exception.h: Updated comments.
+       * Makefile.in (OBJC_H, OBJC_DEPRECATED_H): Added the new header
+       files.  Reindented list of files.
+       
+2010-09-10  Nicola Pero  <nicola.pero@meta-innovation.com>
+
+       * objc/objc-api.h (objc_trace): Unused variable removed.
+
+2010-09-10  Nicola Pero  <nicola.pero@meta-innovation.com>
+
+       * objc/deprecated: New directory.
+       * objc/deprecated/README: New file.
+       * objc/README: New file.
+       * objc/typedstream.h: Moved into objc/deprecated/typedstream.h;
+       objc/typedstream.h replaced with a placeholder including the file
+       from the deprecated/ directory.
+       * objc/deprecated/objc-unexpected-exception.h: New file with the
+       definition of _objc_unexpected_exception.       
+       * objc/objc-api.h: Include deprecated/objc-unexcepted-exception.h
+       instead of defining _objc_unexpected_exception.
+       * objc/deprecated/Object.h: New file with the deprecated Object
+       methods in a 'Deprecated' category.
+       * objc/Object.h Include deprecated/Object.h instead of defining
+       the deprecated methods.
+       * Object.m: Moved deprecated methods into 'Deprecated' category.
+       * objc-private: New directory.
+       * objc-private/README: New file.
+       * Makefile.in (OBJC_DEPRECATED_H): New variable.
+       (install-headers): Create installation directory for
+       OBJC_DEPRECATED_H headers, and install them.
+
+2010-09-10  Nicola Pero  <nicola.pero@meta-innovation.com>
+
+       * objc/objc-exception.h: Fixed include of objc.h.
+       
+2010-09-08  Nicola Pero  <nicola.pero@meta-innovation.com>
+
+       * objc/objc-exception.h: New file.
+       * exception.c (objc_set_uncaught_exception_handler): Implemented.
+       (objc_set_exception_matcher): Implemented.
+       (objc_exception_throw): Use the uncaught exception handler if set.
+       (PERSONALITY_FUNCTION): Use the exception matcher instead of the
+       hardcoded isKindOf.
+       (isKindOf): Renamed to is_kind_of_exception_matcher.  Tidied code
+       up.  Removed segmentation fault when value is 'nil'.
+       * objc/objc-api.h (_objc_unexpected_exception): Mark as
+       deprecated.
+       * Makefile.in (exception.lo, exception_gc.lo): Use
+       -Wno-deprecated-declarations when compiling.
+       (OBJC_H): Added objc-exception.h
+
+2010-09-08  Nicola Pero  <nicola@nicola.brainstorm.co.uk>
+
+       * objc/typedstream.h: Deprecate all functions in the file.  This
+       file is obsolete.
+       * objc/Object.h ([+streamVersion:], [-read:], [-write:],
+       [-awake]): Documented that these methods are deprecated.  Added a
+       brief description of the Object class and its relationship to the
+       NSObject class.
+       * Makefile.in: Compile archive.c and Object.m with
+       -Wno-deprecated-declarations.
+
+2010-09-08  Nicola Pero  <nicola.pero@meta-innovation.com>
+
+       Removed obsolete intermediate threading layer.
+       * thr.c: Use __gthread_objc_xxx functions directly instead of
+       __objc_thread_xxx ones.
+       * objc/thr.h: Removed prototypes of no longer existing
+       __objc_thread_xxx functions.
+       * Makefile.in: Removed thr-objc.lo.
+       * thr-dce.c: File removed.
+       * thr-decosf1.c: File removed.
+       * thr-irix.c: File removed.
+       * thr-mach.c: File removed.
+       * thr-objc.c: File removed.
+       * thr-os2.c: File removed.
+       * thr-posix.c: File removed.
+       * thr-pthreads.c: File removed.
+       * thr-rtems.c: File removed.
+       * thr-single.c: File removed.
+       * thr-solaris.c: File removed.
+       * thr-vxworks.c: File removed.
+       * thr-win32.c: File removed.
+       * README.threads: File removed.
+       * THREADS.MACH: File removed.
+       * THREADS: Updated.
+
+2010-09-07  Nicola Pero  <nicola.pero@meta-innovation.com>
+
+       * Object.m (MAX_CLASS_NAME_LEN): Unused define removed.
+
+2010-09-06  Iain Sandoe  <iains@gcc.gnu.org>
+
+       * encoding.c: Add TARGET_ALIGN_NATURAL definition for m64 powerpc darwin.
+       Add a comment as to why, update FIXME comments.
+
+2010-09-06  Nicola Pero  <nicola.pero@meta-innovation.com>
+
+       * makefile.dos: Obsolete file removed.
+       
+2010-04-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * aclocal.m4: Regenerate.
+
+2010-03-23  Dave Korn  <dave.korn.cygwin@gmail.com>
+
+       PR libobjc/30445
+       * configure.ac (extra_ldflags_libobjc): Define appropriately for
+       Cygwin and MinGW hosts.
+       * Makefile.am (libobjc_s.a): Remove dead pre-libtool target.
+       (libobjc.dll): Likewise.
+       * configure: Regenerate.
+
+2009-12-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * configure: Regenerate.
+
+2009-11-28  Jakub Jelinek  <jakub@redhat.com>
+
+       * sarray.c (sarray_free): Use old_buckets variable.
+       * encoding.c (objc_layout_structure_next_member): Remove unused
+       bfld_type_size variable.
+
+2009-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * configure.ac (AC_PREREQ): Bump to 2.64.
+
+2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+       * config.h.in: Regenerate.
+
+2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * Makefile.in (LIBTOOL): Add $(LIBTOOLFLAGS).
+
+2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * Makefile.in (AUTOCONF, ACLOCAL, ACLOCAL_AMFLAGS, aclocal_deps):
+       New variables.
+       ($(srcdir)/configure, $(srcdir)/aclocal.m4): New rules.
+
+2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * configure.ac (_AC_ARG_VAR_PRECIOUS): Use m4_rename_force.
+
+2009-04-09  Nick Clifton  <nickc@redhat.com>
+
+       * sendmsg.c: Change copyright header to refer to version 3 of
+       the GNU General Public License with version 3.1 of the GCC
+       Runtime Library Exception and to point readers at the COPYING3
+       and COPYING3.RUNTIME files and the FSF's license web page.
+       * NXConstStr.m: Likewise.
+       * Object.m: Likewise.
+       * Protocol.m: Likewise.
+       * archive.c: Likewise.
+       * class.c: Likewise.
+       * encoding.c: Likewise.
+       * exception.c: Likewise.
+       * gc.c: Likewise.
+       * hash.c: Likewise.
+       * init.c: Likewise.
+       * libobjc_entry.c: Likewise.
+       * linking.m: Likewise.
+       * misc.c: Likewise.
+       * nil_method.c: Likewise.
+       * objc/NXConstStr.h: Likewise.
+       * objc/Object.h: Likewise.
+       * objc/Protocol.h: Likewise.
+       * objc/encoding.h: Likewise.
+       * objc/hash.h: Likewise.
+       * objc/objc-api.h: Likewise.
+       * objc/objc-decls.h: Likewise.
+       * objc/objc-list.h: Likewise.
+       * objc/objc.h: Likewise.
+       * objc/runtime.h: Likewise.
+       * objc/sarray.h: Likewise.
+       * objc/thr.h: Likewise.
+       * objc/typedstream.h: Likewise.
+       * objects.c: Likewise.
+       * sarray.c: Likewise.
+       * selector.c: Likewise.
+       * thr-dce.c: Likewise.
+       * thr-decosf1.c: Likewise.
+       * thr-irix.c: Likewise.
+       * thr-mach.c: Likewise.
+       * thr-objc.c: Likewise.
+       * thr-os2.c: Likewise.
+       * thr-posix.c: Likewise.
+       * thr-pthreads.c: Likewise.
+       * thr-rtems.c: Likewise.
+       * thr-single.c: Likewise.
+       * thr-solaris.c: Likewise.
+       * thr-vxworks.c: Likewise.
+       * thr-win32.c: Likewise.
+       * thr.c: Likewise.
+       * libobjc.def: Change copyright header to refer to version 3 of
+       the GNU General Public License and to point readers at the COPYING3
+       file and the FSF's license web page.
+       * makefile.dos: Likewise.
+
+2009-04-09  Jakub Jelinek  <jakub@redhat.com>
+
+       * Makefile.in: Change copyright header to refer to version
+       3 of the GNU General Public License and to point readers at the
+       COPYING3 file and the FSF's license web page.
+       * configure.ac: Likewise.
+
+2009-03-12  Richard Frith-Macdonald  <rfm@gnu.org>
+           David Ayers  <ayers@fsfe.org>
+
+       PR libobjc/27466
+       * objc/objc-api.h (_objc_unexpected_exception): Declare
+       new hook.  Update copyright dates.
+       * exception.c (objc_exception_throw): Use hook.  Update
+       copyright dates.
+       * libobjc.def (_objc_unexpected_exception): Export hook.
+       Update copyright dates.
+       
+2009-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * configure: Regenerate.
+
+2008-12-18  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * configure: Regenerate.
+
+2008-11-21  Kai Tietz  <kai.tietz@onevision.com>
+
+       *  Object.m (errno): Replaced by errno.h include.
+       (compare): Cast self to id to prevent warning on comparison.
+       * objc/objc.h (BOOL): Prevent redeclaration of BOOL, if it is
+       already there.
+       * sendmsg.c (__objc_print_dtable_stats): Remove type warnings.
+       * thr-win32.c (__objc_thread_detach): Remove type warning.
+       (__objc_thread_id): Likewise.
+       * thr.c (__objc_thread_detach_functiont): Add __builtin_trap ()
+       for noreturn.
+
+2008-09-26  Peter O'Gorman  <pogma@thewrittenword.com>
+            Steve Ellcey  <sje@cup.hp.com>
+
+       * configure: Regenerate for new libtool.
+       * config.h.in: Regenerate for new libtool.
+
+2008-07-18  Matthias Klose  <doko@ubuntu.com> 
+
+       * Makefile.in: Ignore missing ../boehm-gc/threads.mk. 
+
+2008-07-18  Matthias Klose  <doko@ubuntu.com> 
+
+       * Makefile.in: Include ../boehm-gc/threads.mk. 
+       (OBJC_BOEHM_GC_LIBS): Define, (libobjc_gc$(libsuffix).la): Use it.
+
+2008-07-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * Makefile.in (install-info): New stub target.
+
+2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * configure: Regenerate.
+
+2008-06-14  Kai Tietz  <kai.tietz@onevision.com>
+
+       * exception.c (PERSONALITY_FUNCTION): Remove extra decrement
+       if HAVE_GETIPINFO is not defined.
+
+2008-06-10  Kai Tietz  <kai.tietz@onevision.com>
+
+       * Object.m (compare): Add type id.
+       * objc/Object.h: Likewise.
+       * archive.c (objc_read_class): Use size_t to extend version to be
+       size of pointer scalar width.
+       * sendmsg.c (rtx): Undefine it before redefinition.
+       (__objc_print_dtable_stats): Cast arguments to long as intended.
+
+2008-05-30  Julian Brown  <julian@codesourcery.com>
+
+       * exception.c (__objc_exception_class): Initialise as constant
+       array for ARM EABI. Change macro to static const for non-ARM EABI.
+       (ObjcException): Add note about structure layout. Remove landingPad
+       and handlerSwitchValue for ARM EABI.
+       (get_ttype_entry): Add __ARM_EABI_UNWINDER__ version
+       of function.
+       (CONTINUE_UNWINDING): Define for ARM EABI/otherwise cases.
+       (PERSONALITY_FUNCTION): Use ARM EABI-specific arguments, and add
+       ARM EABI unwinding support.
+       (objc_exception_throw): Use memcpy to initialise exception class.
+
+2008-05-25  Alan Modra  <amodra@bigpond.net.au>
+
+       * encoding.c (strip_array_types): Rename from get_inner_array_type.
+       (rs6000_special_round_type_align): Update.
+
+2008-05-09  Julian Brown  <julian@codesourcery.com>
+
+       * Makefile.in (LTLDFLAGS): New.
+       (libobjc$(libsuffix).la, libobjc_gc$(libsuffix).la): Use above.
+
+2008-04-18  Paolo Bonzini  <bonzini@gnu.org>
+
+       PR bootstrap/35457
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2008-01-24  David Edelsohn  <edelsohn@gnu.org>
+
+       * configure: Regenerate.
+
+2007-10-14  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * configure.ac: Don't run config-ml.in directly.
+       (multilib_arg): New.
+       * configure: Regenerated.
+
+2007-08-06  Andrew Pinski  <pinskia@gmail.com>
+
+       PR libobjc/30731
+       * exception.c (parse_lsda_header): Use _uleb128_t/_sleb128_t instead
+       of _Unwind_Word for variables which are used in
+       read_uleb128/read_sleb128.
+       (PERSONALITY_FUNCTION): Likewise.
+
+2007-07-05  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * aclocal.m4: Regenerated.
+
+2007-06-03  Andrew Pinski  <andrew_pinski@playstation.sony.com>
+
+       * configure.ac: Fix a typo in *-*-darwin clause.
+       * configure: Regenerated.
+
+2007-06-02  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * configure.ac: Fix a typo.
+       * configure: Regenerated.
+
+2007-06-02  Paolo Bonzini  <bonzini@gnu.org>
+
+       * configure: Regenerate.
+
+2007-06-01  Andrew Pinski  <andrew_pinski@playstation.sony.com>
+
+       * Makefile.in: Replace all uses of libext with libsuffix.
+       * configure.ac: Likewise.
+       * configure: Regenerate.
+
+       Revert:
+       * Makefile.in: Remove all uses of $(libext).
+
+2007-05-23  Andrew Pinski  <andrew_pinski@playstation.sony.com>
+
+       * Makefile.in: Remove all uses of $(libext).
+
+2007-05-23  Steve Ellcey  <sje@cup.hp.com>
+
+       * configure: Regenerate.
+       * aclocal.m4: Regenerate.
+
+2007-04-21  Andrew Ruder  <andy@aeruder.net>
+
+       * sendmsg.c (__objc_get_forward_imp): Call
+       __objc_msg_forward2 for real.
+
+2007-04-09  Andrew Ruder  <andy@aeruder.net>
+
+       * sendmsg.c: Added __objc_msg_forward2, a hook that allows
+       external libraries to provide a function that returns the real
+       forwarding function based on both the selector and the receiver.
+       * objc/objc-api.h: Define __objc_msg_forward2.
+
+2007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
+
+       * Makefile.in: Add dummy install-pdf target.
+
+2007-02-18  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
+
+       * objc/objc-list.h (list_free): Add keyword 'inline' to avoid
+       unused warning.
+       
+2006-10-31  Geoffrey Keating  <geoffk@apple.com>
+
+       * encoding.c (darwin_rs6000_special_round_type_align): New.
+
+2006-10-14  Geoffrey Keating  <geoffk@apple.com>
+
+       * Makefile.in: Use multi_basedir instead of toplevel_srcdir.
+       * configure.ac: Use multi.m4 from aclocal rather than custom
+       code.  Use multi_basedir instead of toplevel_srcdir.
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2006-10-10  Brooks Moses  <bmoses@stanford.edu>
+
+       * Makefile.in: Added empty "pdf" target.
+
+2006-07-18  Paolo Bonzini  <bonzini@gnu.org>
+
+       * configure: Regenerate.
+
+2006-05-23  Carlos O'Donell  <carlos@codesourcery.com>
+
+       * Makefile.in: Add install-html target. Add install-html to .PHONY
+
+2006-02-21  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
+
+       PR libobjc/26309
+       * thr-objc.c (_XOPEN_SOURCE): Don't define on Tru64 UNIX.
+
+2006-01-24  David Ayers  <d.ayers@inode.at>
+
+       PR libobjc/9751
+       * gc.c (class_ivar_set_gcinvisible): Replace strncpy with memcpy
+       and insure the new strings are '\0' termintated.
+
+2006-01-24  David Ayers  <d.ayers@inode.at>
+
+       PR libobjc/13946
+       * configure.ac: Add include directives for --enable-objc-gc.
+       * Makefile.in: Ditto.
+       * configure: Regenerate.
+
+       * gc.c (__objc_class_structure_encoding): Increment the used bytes
+       instead of the local pointer to them.
+
+2005-12-14  Andrew Pinski  <pinskia@physics.uc.edu>
+
+       PR objc/25360
+       * objc/objc-api.c (_C_COMPLEX): New define.
+       * encoding.c (objc_sizeof_type): Handle _C_Complex.
+       (objc_alignof_type): Likewise.
+       (objc_skip_typespec): Likewise.
+
+2005-12-15  David Ayers  <d.ayers@inode.at>
+
+       PR libobjc/14382
+       * README (+load,+initialize): Fix documentation to reflect
+       intended and implemented semantics for +load and +initialize.
+       
+2005-12-12  Andrew Pinski  <pinskia@physics.uc.edu>
+
+       * encoding.c (TYPE_FIELDS): Fix to skip over just _C_STRUCT_B and
+       the name.
+       (get_inner_array_type): Fix to skip over _C_ARY_B and size.
+       (rs6000_special_round_type_align): Update for the ABI fix.
+       (objc_layout_finish_structure): Correct the encoding which is passed to
+       ROUND_TYPE_ALIGN.
+
+2005-12-11  Andrew Pinski  <pinskia@physics.uc.edu>
+
+       PR libobjc/25347
+       * encoding.c (objc_sizeof_type): Don't handle _C_UNION_B special
+       but use the struct layout functions.
+       (objc_alignof_type): Likewise.
+       (objc_layout_structure): Handle _C_UNION_B also.
+       (objc_layout_structure_next_member): Likewise.
+       (objc_layout_finish_structure): Likewise.
+
 2005-12-11  Andrew Pinski  <pinskia@physics.uc.edu>
 
        PR libobjc/25346