Skip to content
Snippets Groups Projects
  1. Jan 01, 2019
  2. Jan 03, 2018
  3. Jan 01, 2017
  4. Jan 04, 2016
  5. Jan 05, 2015
  6. Jan 02, 2014
  7. Feb 03, 2013
  8. Jan 04, 2013
  9. Jun 07, 2011
    • Nicola Pero's avatar
      In libobjc/: 2011-06-07 Nicola Pero <nicola.pero@meta-innovation.com> · 80e4b9e5
      Nicola Pero authored
      In libobjc/:
      2011-06-07  Nicola Pero  <nicola.pero@meta-innovation.com>
      
      	Removed the Traditional Objective-C runtime public API.
      	* Makefile.in (OBJC_DEPRECATED_H): Variable removed.
      	(install-headers): Do not create the objc/deprecated directory and
      	do not install the deprecated headers.
      	(OBJC_H): Removed encoding.h and objc-api.h.
      	* Object.m: Removed all methods with the exception of -class and
      	-isEqual:.  Updated includes.  ([-class]): Use Modern API.
      	* objc/Object.h: Do not include deprecated/Object.h.
      	* objc/deprecated/Object.h: Removed.
      	* linking.m (__objc_linking): Call [Object class] instead of
      	[Object name].
      	* Protocol.m: Removed all methods with the exception of -isEqual:.
      	Updated includes.
      	* objc/Protocol.h: Do not include deprecated/Protocol.h.
      	* objc/deprecated/Protocol.h: Removed.
      	* objc/deprecated/struct_objc_symtab.h: Removed.
      	* objc/deprecated/struct_objc_module.h: Removed.
      	* objc/deprecated/struct_objc_ivar.h: Removed.
      	* objc/deprecated/struct_objc_ivar_list.h: Removed.
      	* objc/deprecated/struct_objc_method.h: Removed.
      	* objc/deprecated/struct_objc_method_list.h: Removed.
      	* objc/deprecated/struct_objc_protocol_list.h: Removed.
      	* objc/deprecated/struct_objc_category.h: Removed.
      	* objc/deprecated/MetaClass.h: Removed.
      	* objc/deprecated/objc_msg_sendv.h: Removed.  
      	* objc/deprecated/README: Removed.
      	* objc/deprecated/struct_objc_class.h: Removed.
      	* objc/deprecated/struct_objc_protocol.h: Removed.
      	* objc/deprecated/struct_objc_selector.h: Removed.
      	* objc/encoding.h: Removed.
      	* objc/message.h (struct objc_super): Removed the definition for
      	the Traditional Objective-C runtime API.
      	* objc/objc.h: Do not include objc/objc-decls.h.
      	deprecated/struct_objc_selector.h, deprecated/MetaClass.h,
      	deprecated/struct_objc_class.h, deprecated/struct_objc_protocol.h
      	and deprecated/objc_msg_sendv.h.  Uncommented new definition of
      	Protocol *.
      	* objc/objc-api.h: Removed.
      	* objc/runtime.h: Updated comments.  Removed check to detect
      	concurrent usage of Traditional and Modern APIs.
      	* objc-private/module-abi-8.h: Always define struct objc_class and
      	struct objc_protocol.  (struct objc_protocol_list): Changed type
      	of 'list' argument from 'Protocol *' to 'struct objc_protocol *'.
      	(class_get_instance_size): Added.
      	* objc-private/protocols.h (__objc_protocols_add_protocol): Take a
      	'struct objc_protocol *' as argument, not a 'Protocol *'.
      	* objc-private/runtime.h: Updated comments.
      	* objc-private/selector.h (struct objc_selector, sel_eq): Added.
      	* class.c: Include objc-private/selector.h.
      	(objc_get_meta_class): Return a Class instead of a MetaClass.
      	* encoding.c (method_get_next_argument): Removed.
      	(method_get_first_argument): Removed.
      	(method_get_nth_argument): Removed.
      	* gc.c: Include objc/runtime.h instead of objc/encoding.h.
      	Include objc-private/module-abi-8.h and ctype.h.
      	* protocols.c (__objc_protocols_add_protocol): Take a 'struct
      	objc_protocl *' as argument, not a 'Protocol *'.
      	(class_addProtocol): Added casts to 'struct objc_protocol *' and
      	'Protocol *'.
      	(class_copyProtocolList): Likewise.
      	(protocol_conformsToProtocol): Likewise.
      	(protocol_copyProtocolList): Likewise.
      	* sarray.c: Include objc-private/module-abi-8.h.
      	* sendmsg.c (method_get_next_argument): Removed.
      	(method_get_first_argument): Removed.
      	(method_get_nth_argument): Removed.
      	(objc_msg_sendv): Removed.
      	(arglist_t, retval_t): New.  (class_get_class_method): Take a
      	'Class', not 'MetaClass', argument.
      	* thr.c: Include module-abi-8.h.
      
      From-SVN: r174765
      80e4b9e5
  10. Jun 03, 2011
    • Nicola Pero's avatar
      In libobjc/: 2011-06-03 Nicola Pero <nicola.pero@meta-innovation.com> · dd3dba52
      Nicola Pero authored
      In libobjc/:
      2011-06-03  Nicola Pero  <nicola.pero@meta-innovation.com>
      
      	* Makefile.in (OBJC_H): Removed hash.h and sarray.h.
      	(OBJC_DEPRECATED_H): Likewise.
      	* libobjc.def (objc_hash_new, objc_hash_delete, objc_hash_add,
      	objc_hash_remove, objc_hash_next, objc_hash_value_for_key,
      	objc_hash_is_key_in_hash, hash_add, hash_delete, hash_new,
      	hash_next, hash_remove, hash_value_for_key, hash_is_key_in_hash,
      	sarray_at_put, sarray_at_put_safe, sarray_free, sarray_lazy_copy,
      	sarray_new, sarray_realloc, sarray_remove_garbage): Removed.
      	* objc/sarray.h: Removed.
      	* objc/hash.h: Removed.
      	* objc/deprecated/sarray.h: Removed.
      	* objc/deprecated/hash.h: Removed.
      	* objc/Object.h: Do not include objc/deprecated/hash.h
      	* Object.m: Include string.h.
      	* objc/objc-api.h: Do not include objc/deprecated/hash.h.
      	* objc-private/common.h (GNU_LIBOBJC_COMPILING_LIBOBJC_ITSELF):
      	Removed.
      
      In gcc/testsuite/:
      2011-06-03  Nicola Pero  <nicola.pero@meta-innovation.com>
      
      	* objc.dg/headers.m: Do not include sarray.h and hash.h.
      
      From-SVN: r174610
      dd3dba52
    • Nicola Pero's avatar
      In libobjc/: 2011-06-03 Nicola Pero <nicola.pero@meta-innovation.com> · 4236b2e5
      Nicola Pero authored
      In libobjc/:
      2011-06-03  Nicola Pero  <nicola.pero@meta-innovation.com>
      
      	* Object.m ([-forward::]): Removed.
      	* objc/deprecated/Object.h ([-forward::]): Removed.
      	* sendmsg.c (__objc_forward): Updated comments.
      
      From-SVN: r174607
      4236b2e5
    • Nicola Pero's avatar
      In libobjc/: 2011-06-03 Nicola Pero <nicola.pero@meta-innovation.com> · efad6bee
      Nicola Pero authored
      In libobjc/:
      2011-06-03  Nicola Pero  <nicola.pero@meta-innovation.com>
      
      	* Makefile.in (OBJC_H): Removed typedstream.h.
      	(OBJC_DEPRECATED_H): Removed typedstream.h.
      	(C_SOURCE_FILES): Removed archive.c.
      	(Object.lo): Rule removed.
      	(Object_gc.lo): Likewise.
      	(archive.lo): Likewise.
      	(archive_gc.lo): Likewise.
      	* objc/deprecated/Object.h ([+streamVersion:], [-read], [-write],
      	[-awake]): Removed.
      	Do not include deprecated/typedstream.h.
      	* Object.m: Removed the same methods.
      	* archive.c: File removed.
      	* objc/typedstream.h: File removed.
      	* objc/deprecated/typedstream.h: File removed.
      	* libobjc.def (__objc_read_nbyte_uint, __objc_read_nbyte_ulong,
      	__objc_write_class, __objc_write_object, __objc_write_selector,
      	objc_close_typed_stream, objc_end_of_typed_stream,
      	objc_flush_typed_stream, objc_get_stream_class_version,
      	objc_open_typed_stream, objc_open_typed_stream_for_file,
      	objc_read_array, objc_read_char, objc_read_int, objc_read_long,
      	objc_read_object, objc_read_selector, objc_read_short,
      	objc_read_string, objc_read_type, objc_read_types,
      	objc_read_unsigned_char, objc_read_unsigned_int,
      	objc_read_unsigned_long, objc_read_unsigned_short,
      	objc_write_array, objc_write_char, objc_write_int,
      	objc_write_long, objc_write_object, objc_write_object_reference,
      	objc_write_root_object, objc_write_selector, objc_write_short,
      	objc_write_string, objc_write_string_atomic, objc_write_type,
      	objc_write_types, objc_write_unsigned_char,
      	objc_write_unsigned_int, objc_write_unsigned_long,
      	objc_write_unsigned_short): Removed.
      	
      In gcc/testsuite/:
      2011-06-03  Nicola Pero  <nicola.pero@meta-innovation.com>
      
      	* objc.dg/type-stream-1.m: Test removed.
      	* objc.dg/headers.m: Do not include typedstream.h.
      
      From-SVN: r174593
      efad6bee
  11. Jun 02, 2011
    • Nicola Pero's avatar
      In libobjc/: 2011-06-02 Nicola Pero <nicola.pero@meta-innovation.com> · e79132c3
      Nicola Pero authored
      In libobjc/:
      2011-06-02  Nicola Pero  <nicola.pero@meta-innovation.com>
      
      	* Makefile.in (OBJC_DEPRECATED_H): Removed objc_error.h.
      	* objc/deprecated/objc_error.h: Removed.
      	* objc/objc-api.h: Do not include deprecated/objc_error.h.
      	* libobjc.def (objc_error, objc_verror): Removed.
      	* error.c (_objc_error_handler, objc_error, objc_verror,
      	objc_set_error_handler): Removed.
      	* Object.m ([-error:], [-perform:], [-perform:with:],
      	[-perform:with:with], [-subclassResponsibility:],
      	[-notImplemented:], [-shouldNotImplement:], [-doesNotRecognize:]):
      	Removed.
      	* objc/deprecated/Object.h: Removed the same methods.
      	* sendmsg.c (__objc_forward): Do not try to invoke the "error:"
      	method after trying to invoke the "doesNotRecognize:" method.
      	
      In gcc/testsuite/:
      2011-06-02  Nicola Pero  <nicola.pero@meta-innovation.com>
      
      	* objc.dg/torture/forward-1.m (main): Updated testcase.
      
      From-SVN: r174587
      e79132c3
  12. Jan 03, 2011
  13. Dec 14, 2010
  14. Oct 09, 2010
    • Nicola Pero's avatar
      In libobjc/: 2010-10-10 Nicola Pero <nicola.pero@meta-innovation.com> · cf3822f1
      Nicola Pero authored
      In libobjc/:
      2010-10-10  Nicola Pero  <nicola.pero@meta-innovation.com>
      
              * objc-foreach.c: Include objc-private/common.h.
              * objc/deprecated/METHOD_NULL.h: New file.
              * objc/objc-api.h: Include deprecated/METHOD_NULL.h instead of
              defining METHOD_NULL here.
              * Makefile.in (OBJC_DEPRECATED_H): Added METHOD_NULL.h.
              * Object.m ([+instancesRespondTo:]): Use (Method_t)0 instead of
              METHOD_NULL.
              ([-respondsTo:]): Same change.
              * objc/objc-api.h (method_get_imp): Converted it into a normal
              function so that we can hide the internals of struct objc_method.
              * sendmsg.c (method_get_imp): Implemented.
      
      From-SVN: r165241
      cf3822f1
  15. Sep 11, 2010
    • Nicola Pero's avatar
      In libobjc/: · 6dead247
      Nicola Pero authored
             * 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.
      
      From-SVN: r164218
      6dead247
  16. Sep 10, 2010
    • Nicola Pero's avatar
      deprecated: New directory. · e976a775
      Nicola Pero authored
              * libobjc/objc/deprecated: New directory.
              * libobjc/objc/deprecated/README: New file.
              * libobjc/objc/README: New file.
              * libobjc/objc/typedstream.h: Moved into objc/deprecated/typedstream.h;
              objc/typedstream.h replaced with a placeholder including the file
              from the deprecated/ directory.
              * libobjc/objc/deprecated/objc-unexpected-exception.h: New file with the
              definition of _objc_unexpected_exception.       
              * libobjc/objc/objc-api.h: Include deprecated/objc-unexcepted-exception.h
              instead of defining _objc_unexpected_exception.
              * libobjc/objc/deprecated/Object.h: New file with the deprecated Object
              methods in a 'Deprecated' category.
              * libobjc/objc/Object.h Include deprecated/Object.h instead of defining
              the deprecated methods.
              * libobjc/Object.m: Moved deprecated methods into 'Deprecated' category.
              * libobjc/objc-private: New directory.
              * libobjc/objc-private/README: New file.
              * libobjc/Makefile.in (OBJC_DEPRECATED_H): New variable.
              (install-headers): Create installation directory for
              OBJC_DEPRECATED_H headers, and install them.
      
      From-SVN: r164153
      e976a775
  17. Sep 06, 2010
  18. Apr 09, 2009
  19. Nov 21, 2008
    • Kai Tietz's avatar
      Object.m (errno): Replaced by errno.h include. · b15b7ef8
      Kai Tietz authored
      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.
      
      From-SVN: r142087
      b15b7ef8
  20. Jun 10, 2008
    • Kai Tietz's avatar
      Object.m (compare): Add type id. · c24aadf3
      Kai Tietz authored
      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.
      
      From-SVN: r136617
      c24aadf3
  21. Aug 17, 2005
  22. May 23, 2003
    • Nathanael Nerode's avatar
      Makefile.in, [...]: Replace "GNU CC" with "GCC". · 6c82ad25
      Nathanael Nerode authored
      2003-05-23  Nathanael Nerode  <neroden@gcc.gnu.org>
      
      	* Makefile.in, NXConstStr.m, Object.m, Protocol.m, archive.c,
      	class.c, encoding.c, gc.c, objc/NXConstStr.h, objc/Object.h,
      	objc/Protocol.h, objc/encoding.h, objc/hash.h, objc/objc-api.h,
      	objc/objc-list.h, objc/objc.h, ocjc/runtime.h, objc/sarray.h,
      	objc/thr.h, objc/typedstream.h: Replace "GNU CC" with "GCC".
      
      From-SVN: r67131
      6c82ad25
  23. Jun 21, 2002
    • Kaveh R. Ghazi's avatar
      Object.m (forward, [...]): Fix unused parameter warnings. · b62cc13a
      Kaveh R. Ghazi authored
      	* Object.m (forward, read, write): Fix unused parameter warnings.
      	* encoding.c: Include <stdlib.h>.
      	(target_flags): Mark with attribute unused.
      	(atoi): Delete.
      	* runtime.h (__objc_selector_max_index): Change to unsigned int.
      	(__objc_generate_gc_type_description): Prototype.
      	* selector.c (__objc_selector_max_index): Change to unsigned int.
      
      From-SVN: r54884
      b62cc13a
  24. Jun 15, 2002
    • Kaveh R. Ghazi's avatar
      Object.m: Fix signed/unsigned warning. · 8f8c44cb
      Kaveh R. Ghazi authored
      	* Object.m: Fix signed/unsigned warning.
      	* 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.
      
      From-SVN: r54649
      8f8c44cb
  25. Jul 29, 2000
  26. Apr 15, 2000
  27. Apr 12, 2000
    • Jakub Jelinek's avatar
      objc-act.c: Include ggc.h. · bcdb1106
      Jakub Jelinek authored
      	* objc/objc-act.c: Include ggc.h.
      	(objc_tree_index, objc_global_trees): Convert most of the
      	static tree variables into a static array with previous names
      	as defines.
      	(objc_ellipsis_node): New variable.
      	(lang_init): Call objc_act_parse_init and c_parse_init.
      	Create objc_ellipsis_node.
      	(build_selector_translation_table): Use objc_ellipsis_node instead
      	of (tree)1.
      	(hack_method_prototype): Likewise.
      	(get_arg_type_list): Likewise.
      	(start_method_def): Likewise.
      	(continue_method_def): Likewise.
      	(gen_method_decl): Likewise.
      	(ggc_mark_imp_list): New function.
      	(ggc_mark_hash_table): New function.
      	(objc_act_parse_init): New function.
      	* objc/objc-act.h (objc_ellipsis_node): Add extern variable.
      	* c-parse.in (c_parse_init): For objc add roots of objc specific
      	local tree variables.
      	* objc/objc-parse.y: Rebuilt.
      	* objc/objc-parse.c: Rebuilt.
      	(opt_parm_list): Use objc_ellipsis_node instead of (tree)1.
      
      	* Object.m (strlen): Provide prototype on all 64bit platforms,
      	not only alpha.
      	* sarray.c (memcpy): Likewise.
      	* encoding.c (objc_layout_finish_structure): Don't use
      	ROUND_TYPE_ALIGN on sparc.
      
      From-SVN: r33092
      bcdb1106
  28. Sep 21, 1998
Loading