Skip to content
Snippets Groups Projects
  1. Mar 02, 2005
    • pinskia's avatar
      2005-03-02 David Ayers <d.ayers@inode.at> · 18e20a6b
      pinskia authored
              PR libobjc/19024
              * Makefile.in (OBJS): Add hash_compat.lo.
              (OBJS_GC): Add hash_compat_gc.lo.
              (hash_compat_gc.lo): New target and rule.
              * objc/hash.h (hash_new, hash_delete, hash_add, hash_remove)
              (hash_next, hash_value_for_key, hash_is_key_in_hash)
              (hash_ptr, hash_string, compare_ptrs, compare_strings): Prefix
              with objc_.  Add deprecated non prefixed inlined versions.
              (OBJC_IGNORE_DEPRECATED_API): New macro to hide deprecated
              declarations.
              * hash.c (hash_new, hash_delete, hash_add, hash_remove, hash_next)
              (hash_value_for_key, hash_is_key_in_hash): Prefix with objc_ and
              update callers.
              * hash_compat.c: New file.
              * archive.c: Update callers.
              * init.c: Likewise.
              * selector.c: Likewise.
              * libobjc.def: Add objc_ versions of hash functions.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95793 138bc75d-0d04-0410-961f-82ee72b054a4
      18e20a6b
  2. Dec 11, 2004
  3. May 25, 2004
    • pinskia's avatar
      2004-05-25 Andrew Pinski <pinskia@physics.uc.edu> · dd86e3be
      pinskia authored
      	Merge from the libobjc-branch
      	2004-02-09  Andrew Pinski  <pinskia@physics.uc.edu>
      
      		* Makefile.in (OBJC_H): Change objc-deps.h to objc-decls.h.
      
      	2004-02-03  Andrew Pinski  <pinskia@physics.uc.edu>
      
      		* Makefile.in (OBJC_H): Add objc-deps.h.
      
      	2004-01-27  Nicola Pero  <n.pero@mi.flashnet.it>
      
      		* Protocol.m ([-conformsTo:]): If the argument is nil, return NO.
      		([-hash], [-isEqual:]): New methods.
      
      	2004-01-27  Richard Frith-Macdonald <rfm@gnu.org>
      
      		* sarray.c (sarray_free): Add a better comment.
      
      	2004-01-27  Adam Fedor  <fedor@gnu.org>
      
      		* hash.c (hash_add): Cast cachep to int.
      		* selector.c (__sel_register_typed_name): Cast
      		soffset_decode to int.
      
      	2004-01-27  Alexander Malmberg  <alexander@malmberg.org>
      
      		* selector.c: Rename register_selectors_from_list to
      		__objc_register_selectors_from_list. Update caller.
      		(__objc_register_selectors_from_list): Lock __objc_runtime_mutex
      		while registering selectors. Use __sel_register_typed_name instead
      		of sel_register_typed_name. Check for NULL method_name:s.
      		(pool_alloc_selector): New function.
      		(__sel_register_typed_name): Use pool_alloc_selector to allocate
      		selector structures.
      		* sendmsg.c (class_add_method_list): Use
      		__objc_register_selectors_from_list.
      		* objc/runtime.h: Add __objc_register_selectors_from_list.
      
      	2004-01-25  Adam Fedor  <fedor@gnu.org>
      	            Nicola Pero  <n.pero@mi.flashnet.it>
      	            Andrew Pinski  <pinskia@physics.uc.edu>
      
      		* objc/objc-decls.h: New file.
      		* objc/objc-api.h (_objc_lookup_class): Mark as export.
      		(_objc_load_callback): Likewise.
      		(_objc_object_alloc): Likewise.
      		(_objc_object_copy): Likewise.
      		(_objc_object_dispose): Likewise.
      
      	2004-01-25  Andrew Pinski  <pinskia@physics.uc.edu>
      
      		* archive.c: s/__inline__/inline
      		* sendmsg.c: Likewise.
      
      		* encoding.c: Remove FIXME about the warning
      		about unused variable.
      		* sendmsg.c: Add a FIXME comment saying that
      		this should be using libffi.
      
      		* Makefile.in (LIBTOOL): Use @LIBTOOL@ now as it works.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82253 138bc75d-0d04-0410-961f-82ee72b054a4
      dd86e3be
  4. Jan 15, 2004
  5. May 23, 2003
  6. Jul 02, 2002
    • shebs's avatar
      2002-07-02 Rodney Brown <rbrown64@csc.com.au> · 61776355
      shebs authored
      	* objc/encoding.h: Fix formatting.
      	* objc/hash.h: Likewise.
      	* objc/objc-api.h: Likewise.
      	* objc/runtime.h: Likewise.
      	* objc/thr.h: Likewise.
      	* archive.c: Likewise.
      	* class.c: Likewise.
      	* encoding.c: Likewise.
      	* gc.c: Likewise.
      	* hash.c: Likewise.
      	* init.c: Likewise.
      	* misc.c: Likewise.
      	* nil_method.c: Likewise.
      	* objects.c: Likewise.
      	* sarray.c: Likewise.
      	* selector.c: Likewise.
      	* sendmsg.c: Likewise.
      	* thr-mach.c: Likewise.
      	* thr.c: Likewise.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55190 138bc75d-0d04-0410-961f-82ee72b054a4
      61776355
  7. Jun 21, 2002
  8. Jun 15, 2002
    • ghazi's avatar
      * Object.m: Fix signed/unsigned warning. · adff42e6
      ghazi authored
      	* Protocol.m: Likewise.
      	* archive.c: Always include stdlib.h.
      	(objc_read_short, objc_read_unsigned_short, objc_read_int,
      	objc_read_long, __objc_read_nbyte_uint, __objc_read_nbyte_ulong):
      	Fix signed/unsigned warning.
      	(objc_write_type, objc_read_type, objc_write_types,
      	objc_read_types): Ensure ctype 8-bit safety.
      	(__objc_no_write, __objc_no_read): Mark unused parameters.
      	* class.c (class_table_setup): Specify void arg.
      	* encoding.c (atoi, objc_sizeof_type, objc_alignof_type,
      	objc_skip_typespec, objc_skip_offset,
      	objc_layout_structure_next_member): Ensure ctype 8-bit safety.
      	(objc_layout_structure_next_member): Ensure variables are
      	initialized.
      	* gc.c (__objc_generate_gc_type_description,
      	class_ivar_set_gcinvisible): Mark unused parameters.
      	* init.c (__objc_send_load, __objc_destroy_class_tree_node): Mark
      	unused parameters.
      	(__objc_init_protocols) Fix signed/unsigned warning.
      	* nil_method.c (nil_method): Mark unused parameters.
      	* thr.h (objc_thread_callback): Specify void arg.
      	* sarray.c (sarray_new, sarray_realloc, sarray_free): Fix
      	signed/unsigned warning.
      	(sarray_free): Fix formatting.
      	* selector.c (sel_types_match): Ensure ctype 8-bit safety.
      	* sendmsg.c (__objc_init_install_dtable) Mark unused parameters.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54649 138bc75d-0d04-0410-961f-82ee72b054a4
      adff42e6
  9. Sep 30, 1998
  10. Sep 21, 1998
Loading