Skip to content
Snippets Groups Projects
  1. Jan 02, 2025
  2. Jan 03, 2024
  3. Jan 16, 2023
  4. Jan 03, 2022
  5. Jan 04, 2021
  6. Jan 01, 2020
  7. Jan 01, 2019
  8. Jan 03, 2018
  9. Jan 01, 2017
  10. Jan 04, 2016
  11. Jan 05, 2015
  12. Jan 02, 2014
  13. Feb 03, 2013
  14. Jan 04, 2013
  15. 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
  16. Jan 03, 2011
  17. Dec 18, 2010
    • Nicola Pero's avatar
      In libobjc/: 2010-12-18 Nicola Pero <nicola.pero@meta-innovation.com> · 575584a9
      Nicola Pero authored
      In libobjc/:
      2010-12-18  Nicola Pero  <nicola.pero@meta-innovation.com>
      
      	* class.c: Tidied up comments and indentation.  No code changes.
      	* error.c: Same.
      	* exception.c: Same.
      	* init.c: Same.
      	* ivars.c: Same.
      	* memory.c: Same.
      	* objc-foreach.c: Same.
      	* objc-sync.c: Same.
      	* objects.c: Same.
      	* protocols.c: Same.
      	* sarray.c: Same.
      	* thr.c: Same.
      
      From-SVN: r168022
      575584a9
  18. Oct 12, 2010
    • Nicola Pero's avatar
      archive.c: Do not include objc/objc.h. · 718a8e53
      Nicola Pero authored
      2010-10-12  Nicola Pero  <nicola.pero@meta-innovation.com>
      
              * archive.c: Do not include objc/objc.h.
              * class.c: Do not include objc/objc.h.
              * encoding.c: Include objc/runtime.h, ctype.h and
              objc-private/module-abi-8.h instead of objc/objc-api.h and
              objc/encoding.h.
              * error.c: Do not include objc/objc.h.
              * gc.c: Include tconfig.h and objc/encoding.h only if
              OBJC_WITH_GC.
              * hash.c: Include objc/runtime.h and objc/thr.h instead of
              objc/objc-api.h.  Do not include objc/objc.h.
              * init.c: Do not include objc/objc.h.
              * ivars.c: Include objc/runtime.h, objc-private/module-abi-8.h and
              objc/thr.h instead of objc/objc-api.h.  Do not include
              objc/objc.h.
              * linking.m: Tidied comment.
              * memory.c: Include objc/runtime.h instead of objc/objc-api.h.
              Do not include objc/objc.h.
              * objects.c: Do not include objc/objc.h.
              * objc-sync.c: Include objc/runtime.h instead of objc/objc-api.h.
              * protocols.c: Do not include objc/objc.h.
              * sarray.c: Include objc/runtime.h instead of objc/objc-api.h.  Do
              not include objc/objc.h.
              * selector.c: Do not include objc/objc.h.
              * sendmsg.c: Do not include objc/objc.h.
              * thr.c: Include objc/runtime.h instead of objc/objc-api.h.
              Do not include objc/objc.h.
              * objc/objc-decls.h: Reindented code.
              * objc/runtime.h Include objc-decls.h.  Updated comments.
              (objc_malloc): New.
              (objc_atomic_malloc): New.
              (objc_calloc): New.
              (objc_realloc): New.
              (objc_free): New.
              * objc-private/runtime.h: Updated comments.
      
      From-SVN: r165386
      718a8e53
  19. Sep 18, 2010
    • Nicola Pero's avatar
      In libobjc/: · 5d3b14bd
      Nicola Pero authored
              * hash.c: Include objc-private/hash.h instead of objc/hash.h.
      
              * objc/sarray.h: Moved into objc/deprecated/sarray.h;
              objc/sarray.h replaced with a placeholder including the file from
              the deprecated/ directory.
              * objc-private/sarray.h: New file (private copy of sarray.h).
              * hash.c: Include <assert.h> instead of "assert.h"
              * sarray.c: Include <assert.h> instead of "assert.h".  Include
              objc-private/sarray.h instead of objc/sarray.h.
              * selector.c: Include objc-private/sarray.h instead of
              objc/sarray.h.
              * sendmsg.c: Include <assert.h>.  Include objc-private/sarray.h
              instead of objc/sarray.h.
              * Makefile.in (OBJC_DEPRECATED_H): Added sarray.h.
      
      From-SVN: r164389
      5d3b14bd
  20. Sep 17, 2010
    • Nicola Pero's avatar
      In libobjc/: · 5be9cdc1
      Nicola Pero authored
              * 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.
              (OBJC_H): Removed hash.h and objc-list.h
      
      From-SVN: r164373
      5be9cdc1
  21. 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
    • Nicola Pero's avatar
      In libobjc/: · 0c11b8fb
      Nicola Pero authored
             * 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.
      
      From-SVN: r164214
      0c11b8fb
    • Nicola Pero's avatar
      In libobjc/: · a19fac96
      Nicola Pero authored
              * 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.
      
      From-SVN: r164213
      a19fac96
  22. Nov 28, 2009
    • Jakub Jelinek's avatar
      sarray.c (sarray_free): Use old_buckets variable. · 288d6a77
      Jakub Jelinek authored
      	* sarray.c (sarray_free): Use old_buckets variable.
      	* encoding.c (objc_layout_structure_next_member): Remove unused
      	bfld_type_size variable.
      
      	* decContext.c (decContextTestEndian): Move adj definition into
      	#if DECCHECK guarded code.
      
      From-SVN: r154730
      288d6a77
  23. Apr 09, 2009
  24. Aug 17, 2005
  25. Jun 07, 2005
    • David Ayers's avatar
      archive.c, [...]: Include hash.h. · 348a3445
      David Ayers authored
      2005-06-07  David Ayers  <d.ayers@inode.at>
      
      	* archive.c, init.c, selector.c: Include hash.h.
      	* archive.c, class.c, encoding.c, gc.c, hash.c, hash_compat.c,
      	init.c, misc.c, nil_method.c, objects.c, sarray.c, selector.c,
      	sendmsg.c, thr-dce.c, thr-decosf1.c, thr-irix.c, thr-mach.c,
      	thr-objc.c, thr-os2.c, thr-posix.c, thr-pthreads.c, thr-rtems.c,
      	thr-single.c, thr-solaris.c, thr-vxworks.c, thr-win32.c, thr.c:
      	Include Objective-C headers with quotes and objc/ directory
      	prefix.
      
      From-SVN: r100723
      348a3445
  26. May 25, 2004
    • Andrew Pinski's avatar
      [multiple changes] · 435317e2
      Andrew Pinski authored
      2004-05-25  Andrew Pinski  <pinskia@physics.uc.edu>
      
      	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.
      
      From-SVN: r82253
      435317e2
  27. Jan 10, 2004
  28. May 23, 2003
    • Nathanael Nerode's avatar
      hash.c, [...]: Replace "GNU CC" with "GCC". · 38709cad
      Nathanael Nerode authored
      	* hash.c, init.c, libobjc.def, libobjc_entry.c, linking.m,
      	makefile.dos, misc.c, nil_method.c, objects.c, sarray.c,
      	selector.c, sendmsg.c, thr-dce.c, thr-decosf1.c, thr-irix.c,
      	thr-mach.c, thr-objc.c, thr-os2.c, thr-posix.c, thr-pthreads.c,
      	thr-rtems.c, thr-single.c, thr-solaris.c, thr-vxworks.c,
      	thr-win32.c, thr.c: Replace "GNU CC" with "GCC".
      
      From-SVN: r67134
      38709cad
  29. Jul 02, 2002
    • Rodney Brown's avatar
      encoding.h: Fix formatting. · 40165636
      Rodney Brown authored
      2002-07-02  Rodney Brown  <rbrown64@csc.com.au>
      
      	* 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.
      
      From-SVN: r55190
      40165636
  30. 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
  31. Jul 29, 2000
  32. 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
  33. Sep 30, 1998
    • Ben Elliston's avatar
      Makefile.in: Rewrite. · bce1b489
      Ben Elliston authored
      
              * Makefile.in: Rewrite.
              * configure.in: Likewise.
              * configure: Regenerate.
              * All .c files.  Remove "objc" prefix when including objc header
              files.  Include tconfig.h, not ../tconfig.h.
      
      Co-Authored-By: default avatarJeffrey A Law <law@cygnus.com>
      
      From-SVN: r22659
      bce1b489
  34. Sep 21, 1998
Loading