1. 22 Dec, 2010 2 commits
  2. 21 Dec, 2010 10 commits
  3. 19 Dec, 2010 15 commits
  4. 18 Dec, 2010 1 commit
  5. 17 Dec, 2010 1 commit
    • init.c: Include objc/runtime.h and objc-private/module-abi-8.h instead of objc/objc-api.h. · fed2b101
      2010-12-17  Nicola Pero  <nicola.pero@meta-innovation.com>
      
      	* init.c: Include objc/runtime.h and objc-private/module-abi-8.h
      	instead of objc/objc-api.h.
      	(init_check_module_version): Take a 'struct objc_module *'
      	argument instead of 'Module_t'.  Use 'struct objc_module *'
      	instead of 'Module_t'.
      	(__objc_created_classes_tree): Take a 'struct objc_module *'
      	argument instead of 'Module_t'; use 'struct objc_symtab *' instead
      	of 'Symtab_t'.
      	(__objc_call_callback): Take a 'struct objc_module *' argument
      	instead of 'Module_t'; use 'struct objc_symtab *' instead of
      	'Symtab_t' and 'struct objc_category *' instead of 'Category_t'.
      	(_objc_load_callback): Take a 'struct objc_category *' argument
      	instead of 'Category *'.
      	(class_superclass_of_class): Use objc_getClass() instead of
      	objc_lookup_class().
      	(create_tree_of_subclasses_inherited_from): Same change (also, use
      	an explicit 'if' instead of '?').
      	(objc_init_statics): Same change.
      	(objc_send_load): Same change.
      	(__objc_init_protocol): same change.
      	(__objc_send_message_in_list): Take a 'struct objc_method_list *'
      	argument instead of 'MethodList_t'.  Use 'struct objc_method *'
      	instead of 'Method_t'.
      	(__objc_send_load): Use 'struct objc_method_list *' instead of
      	'MethodList_t'.  Use sel_registerName() instead of
      	sel_register_name().
      	(__objc_exec_class): Take a 'struct objc_module *' argument
      	instead of 'Module_t'.  Use 'struct objc_symtab *' instead of
      	'Symtab_t'.  Use objc_getClass() instead of objc_lookup_class().
      	Use 'struct objc_category *' instead of 'Category_t'.
      
      From-SVN: r168000
      Nicola Pero committed
  6. 16 Dec, 2010 1 commit
    • In libobjc/: 2010-12-16 Nicola Pero <nicola.pero@meta-innovation.com> · 114dae43
      In libobjc/:
      2010-12-16  Nicola Pero  <nicola.pero@meta-innovation.com>
      
      	* sendmsg.c: Include objc/runtime.h instead of objc/objc-api.h.
      	Include objc-private/module-abi-8.h and objc-private/selector.h
      	instead of objc/encoding.h.
      	(objc_msg_lookup_super): Use super->super_class instead of
      	super->class.
      	(method_get_first_argument, method_get_next_argument): Declare
      	locally.
      	(class_get_instance_method): Declare before using.
      	(objc_msg_sendv): Use 'struct objc_method' instead of 'Method'.
      	(__objc_init_dispatch_tables, __objc_send_initialize): Use
      	sel_registerName() instead of sel_register_name().
      	(__objc_forward): Use sel_getName() instead of sel_get_name().
      	(objc_get_uninstalled_dtable): Use 'void' as argument.
      	* objc-private/selector.h: New.
      
      From-SVN: r167961
      Nicola Pero committed
  7. 15 Dec, 2010 4 commits
  8. 14 Dec, 2010 4 commits
  9. 13 Dec, 2010 1 commit
  10. 11 Dec, 2010 1 commit
    • In libobjc/: 2010-12-11 Nicola Pero <nicola.pero@meta-innovation.com> · e97cfd97
      In libobjc/:
      2010-12-11  Nicola Pero  <nicola.pero@meta-innovation.com>
      
              * sendmsg.c (selector_resolveClassMethod): New.
              (selector_resolveInstanceMethod): New.
              (__objc_resolve_class_method): New.
              (__objc_resolve_instance_method): New.
              (get_imp): Call __objc_resolve_class_method or
              __objc_resolve_instance_method at the appropriate time.
              (objc_msg_lookup): Same.
              (class_getClassMethod): Same.
              (class_getInstanceMethod): Same.
              (__objc_init_dispatch_tables): Initialize
              selector_resolveClassMethod and selector_resolveInstanceMethod.
              * objc/runtime.h: Updated documentation of class_getClassMethod,
              class_getInstanceMethod and class_getMethodImplementation.
      
      In gcc/testsuite/:
      2010-12-11  Nicola Pero  <nicola.pero@meta-innovation.com>
      
              * objc.dg/gnu-api-2-resolve-method.m: New.
              * obj-c++.dg/gnu-api-2-resolve-method.mm: New.
      
      From-SVN: r167712
      Nicola Pero committed