gcc/libobjc/objc
Nicola Pero f7185d4791 In libobjc/: 2010-10-14 Nicola Pero <nicola.pero@meta-innovation.com>
In libobjc/:
2010-10-14  Nicola Pero  <nicola.pero@meta-innovation.com>

        * init.c (__objc_init_protocol): New function which fixes up a
        protocol's class pointer, registers it with the runtime, register
        all protocol selectors and registers associated protocols too.
        (objc_init_statics): Detect if we are initializing protocols, and
        if so, use __objc_init_protocol instead of only fixing up the
        class pointer.
        (__objc_init_protocls): Use __objc_init_protocol.
        * objc-private/module-abi-8.h: Updated comments.
        * objc-private/runtime.h
        (__objc_register_selectors_from_description_list): New.
        * selector.c (__objc_register_selectors_from_description_list):
        New.  (struct objc_method_description_list): Declare.
        * Protocol.m ([-descriptionForInstanceMethod:]): Use sel_get_name
        when accessing the name of a method, which is now correctly a SEL.
        ([-descriptionForClassMethod:]): Same change.
        * protocols.c (protocol_getMethodDescription): Same change.
        * objc/runtime.h: Updated comments.
        (sel_registerTypedName): Fixed typo in function name.

From-SVN: r165499
2010-10-15 10:35:00 +00:00
..
deprecated In libobjc/: 2010-10-12 Nicola Pero <nicola.pero@meta-innovation.com> 2010-10-12 02:43:25 +00:00
encoding.h In libobjc/: 2010-10-10 Nicola Pero <nicola.pero@meta-innovation.com> 2010-10-10 17:43:07 +00:00
hash.h In libobjc/: 2010-09-17 16:52:36 +00:00
message.h In libobjc/: 2010-10-09 Nicola Pero <nicola.pero@meta-innovation.com> 2010-10-09 20:11:02 +00:00
NXConstStr.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
objc-api.h In libobjc/: 2010-10-11 Nicola Pero <nicola.pero@meta-innovation.com> 2010-10-11 18:17:19 +00:00
objc-decls.h archive.c: Do not include objc/objc.h. 2010-10-12 16:17:18 +00:00
objc-exception.h In libobjc/: 2010-10-10 Nicola Pero <nicola.pero@meta-innovation.com> 2010-10-10 11:18:57 +00:00
objc-list.h In libobjc/: 2010-09-17 16:52:36 +00:00
objc-sync.h In libobjc/: Implemented objc_sync_enter() and objc_sync_exit(), which are required by @synchronized() to work. 2010-09-14 10:23:37 +00:00
objc.h In libobjc/: 2010-10-11 Nicola Pero <nicola.pero@meta-innovation.com> 2010-10-11 02:36:32 +00:00
Object.h deprecated: New directory. 2010-09-10 09:56:40 +00:00
Protocol.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
README deprecated: New directory. 2010-09-10 09:56:40 +00:00
runtime.h In libobjc/: 2010-10-14 Nicola Pero <nicola.pero@meta-innovation.com> 2010-10-15 10:35:00 +00:00
sarray.h In libobjc/: 2010-09-18 09:34:58 +00:00
thr.h Removed obsolete intermediate threading layer. 2010-09-08 09:35:50 +00:00
typedstream.h In libobjc/: 2010-09-17 16:35:15 +00:00

This directory contains the public headers that are installed when
libobjc is installed.

Deprecated parts of the API should be moved into objc/deprecated and
then included by public headers until they are finally removed.  For
example, if objc-api.h contains an _objc_unexpected_exception variable
which is then deprecated, it should be moved into a header in
objc/deprecated.  This header is then included into objc-api.h.

The result is that all the deprecated parts of the API are clearly
separated in objc/deprecated, while objc/ retains only the current public
API.