In libobjc/:
[gcc.git] / libobjc / ChangeLog
index 00b1de3dd3948aedd923fb64129da97f801bbf99..71af2b760b3fb98fb9e7b275d775289d8b59c174 100644 (file)
@@ -1,3 +1,137 @@
+2010-09-17  Nicola Pero  <nicola.pero@meta-innovation.com>
+
+       * objc-private/objc-list.h (list_remove_elem): Unused function
+       removed.  (list_nth): Unused function removed.  (list_find):
+       Unused function removed.  (list_lenght): Unused function removed.
+       
+2010-09-17  Nicola Pero  <nicola.pero@meta-innovation.com>
+
+       * objc/hash.h: Moved into objc/deprecated/hash.h; objc/hash.h
+       replaced with a placeholder including the file from the
+       deprecated/ directory.
+       * objc/objc-api.h: Updated includes.
+       * objc/typedstream.h: Updated includes.
+       * objc-private/hash.h: New file (private copy of hash.h).
+       * objc/objc-list.h: Moved into objc/deprecated/objc-list.h;
+       objc/objc-list.h replaced with a placeholder including the file
+       from the deprecated/ directory.
+       * objc-private/objc-list.h: New file (private copy of objc-list.h).
+       * init.c: Include objc-private/hash.h and objc-private/objc-list.h
+       instead of objc/hash.h and objc/objc-list.h.
+       * selector.c: Same change.
+       * class.c: Added include <string.h>, which used to be implicitly included
+       when hash.h was included.
+       * exception.c: Same change.
+       * objects.c: Same change.
+       * sarray.c: Same change.
+       * sendmsg.c: Same change.
+       * Makefile.in (OBJC_DEPRECATED_H): Added hash.h and objc-list.h.
+
+2010-09-14  Nicola Pero  <nicola.pero@meta-innovation.com>
+
+       Implemented objc_sync_enter() and objc_sync_exit(), which are
+       required by @synchronized() to work.
+       * objc-sync.c: New file.
+       * objc/objc-sync.h: New file.
+       * objc-private/objc-sync.h: New file.
+       * init.c (__objc_exec_class): Call __objc_sync_init() during the
+       Objective-C runtime startup.
+       * Makefile.in: Added objc-sync.c and objc-sync.h.
+       * configure.ac: Added GCC_CHECK_TLS.
+       * acinclude.m4: Include ../config/enable.m4 and ../config/tls.m4.
+       * configure: Regenerated.
+       * config.h.in: Regenerated.
+       
+2010-09-12  Nicola Pero  <nicola.pero@meta-innovation.com>
+
+       * Makefile.in (%_gc.lo): New pattern rules to build the
+       garbage-collected version of the library.  Removed rules for
+       specific files that are no longer needed.  Standardized all rules.
+       (C_SOURCE_FILES, OBJC_SOURCE_FILES): New variables.
+       (OBJS, OBJS_GC): Compute these from C_SOURCE_FILES and
+       OBJC_SOURCE_FILES.
+       (INCLUDES): Removed the unused include -I$(srcdir)/objc.
+
+2010-09-12  Nicola Pero  <nicola.pero@meta-innovation.com>
+       
+       * memory.c (objc_calloc): Fixed call to GC_malloc when building
+       with Garbage Colletion.
+       
+2010-09-12  Nicola Pero  <nicola.pero@meta-innovation.com>
+
+       * memory.c: Do not include objc-private/runtime.h.
+
+2010-09-12  Nicola Pero  <nicola.pero@meta-innovation.com>
+       
+       * objc/deprecated/objc_malloc.h: New file.
+       * objc/deprecated/objc_valloc.h: New file.
+       * objc/objc-api.h: Include the files instead of defining
+       objc_valloc, _objc_malloc() and similar.
+       * Makefile.in (OBJC_DEPRECATED_H): Added objc_valloc.h and
+       objc_malloc.h.
+       * memory.c: Removed the extra layer of indirection of _objc_malloc
+       and similar.
+       (objc_calloc): Use GC_malloc in the garbage-collected
+       implementation as GC_malloc returns memory that is already freed.
+       (objc_valloc): Deprecated.      
+       
+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.