OSDN Git Service

In libobjc/:
[pf3gnuchains/gcc-fork.git] / libobjc / ChangeLog
index 6c3dd17..0d46882 100644 (file)
@@ -1,3 +1,360 @@
+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.