Skip to content
Snippets Groups Projects
  1. Jan 09, 2019
    • Sandra Loosemore's avatar
      PR other/16615 [1/5] · 67914693
      Sandra Loosemore authored
      2019-01-09  Sandra Loosemore  <sandra@codesourcery.com>
      
      	PR other/16615 [1/5]
      
      	contrib/
      	* mklog: Mechanically replace "can not" with "cannot".
      
      	gcc/
      	* Makefile.in: Mechanically replace "can not" with "cannot".
      	* alias.c: Likewise.
      	* builtins.c: Likewise.
      	* calls.c: Likewise.
      	* cgraph.c: Likewise.
      	* cgraph.h: Likewise.
      	* cgraphclones.c: Likewise.
      	* cgraphunit.c: Likewise.
      	* combine-stack-adj.c: Likewise.
      	* combine.c: Likewise.
      	* common/config/i386/i386-common.c: Likewise.
      	* config/aarch64/aarch64.c: Likewise.
      	* config/alpha/sync.md: Likewise.
      	* config/arc/arc.c: Likewise.
      	* config/arc/predicates.md: Likewise.
      	* config/arm/arm-c.c: Likewise.
      	* config/arm/arm.c: Likewise.
      	* config/arm/arm.h: Likewise.
      	* config/arm/arm.md: Likewise.
      	* config/arm/cortex-r4f.md: Likewise.
      	* config/csky/csky.c: Likewise.
      	* config/csky/csky.h: Likewise.
      	* config/darwin-f.c: Likewise.
      	* config/epiphany/epiphany.md: Likewise.
      	* config/i386/i386.c: Likewise.
      	* config/i386/sol2.h: Likewise.
      	* config/m68k/m68k.c: Likewise.
      	* config/mcore/mcore.h: Likewise.
      	* config/microblaze/microblaze.md: Likewise.
      	* config/mips/20kc.md: Likewise.
      	* config/mips/sb1.md: Likewise.
      	* config/nds32/nds32.c: Likewise.
      	* config/nds32/predicates.md: Likewise.
      	* config/pa/pa.c: Likewise.
      	* config/rs6000/e300c2c3.md: Likewise.
      	* config/rs6000/rs6000.c: Likewise.
      	* config/s390/s390.h: Likewise.
      	* config/sh/sh.c: Likewise.
      	* config/sh/sh.md: Likewise.
      	* config/spu/vmx2spu.h: Likewise.
      	* cprop.c: Likewise.
      	* dbxout.c: Likewise.
      	* df-scan.c: Likewise.
      	* doc/cfg.texi: Likewise.
      	* doc/extend.texi: Likewise.
      	* doc/fragments.texi: Likewise.
      	* doc/gty.texi: Likewise.
      	* doc/invoke.texi: Likewise.
      	* doc/lto.texi: Likewise.
      	* doc/md.texi: Likewise.
      	* doc/objc.texi: Likewise.
      	* doc/rtl.texi: Likewise.
      	* doc/tm.texi: Likewise.
      	* dse.c: Likewise.
      	* emit-rtl.c: Likewise.
      	* emit-rtl.h: Likewise.
      	* except.c: Likewise.
      	* expmed.c: Likewise.
      	* expr.c: Likewise.
      	* fold-const.c: Likewise.
      	* genautomata.c: Likewise.
      	* gimple-fold.c: Likewise.
      	* hard-reg-set.h: Likewise.
      	* ifcvt.c: Likewise.
      	* ipa-comdats.c: Likewise.
      	* ipa-cp.c: Likewise.
      	* ipa-devirt.c: Likewise.
      	* ipa-fnsummary.c: Likewise.
      	* ipa-icf.c: Likewise.
      	* ipa-inline-transform.c: Likewise.
      	* ipa-inline.c: Likewise.
      	* ipa-polymorphic-call.c: Likewise.
      	* ipa-profile.c: Likewise.
      	* ipa-prop.c: Likewise.
      	* ipa-pure-const.c: Likewise.
      	* ipa-reference.c: Likewise.
      	* ipa-split.c: Likewise.
      	* ipa-visibility.c: Likewise.
      	* ipa.c: Likewise.
      	* ira-build.c: Likewise.
      	* ira-color.c: Likewise.
      	* ira-conflicts.c: Likewise.
      	* ira-costs.c: Likewise.
      	* ira-int.h: Likewise.
      	* ira-lives.c: Likewise.
      	* ira.c: Likewise.
      	* ira.h: Likewise.
      	* loop-invariant.c: Likewise.
      	* loop-unroll.c: Likewise.
      	* lower-subreg.c: Likewise.
      	* lra-assigns.c: Likewise.
      	* lra-constraints.c: Likewise.
      	* lra-eliminations.c: Likewise.
      	* lra-lives.c: Likewise.
      	* lra-remat.c: Likewise.
      	* lra-spills.c: Likewise.
      	* lra.c: Likewise.
      	* lto-cgraph.c: Likewise.
      	* lto-streamer-out.c: Likewise.
      	* postreload-gcse.c: Likewise.
      	* predict.c: Likewise.
      	* profile-count.h: Likewise.
      	* profile.c: Likewise.
      	* recog.c: Likewise.
      	* ree.c: Likewise.
      	* reload.c: Likewise.
      	* reload1.c: Likewise.
      	* reorg.c: Likewise.
      	* resource.c: Likewise.
      	* rtl.def: Likewise.
      	* rtl.h: Likewise.
      	* rtlanal.c: Likewise.
      	* sched-deps.c: Likewise.
      	* sched-ebb.c: Likewise.
      	* sched-rgn.c: Likewise.
      	* sel-sched-ir.c: Likewise.
      	* sel-sched.c: Likewise.
      	* shrink-wrap.c: Likewise.
      	* simplify-rtx.c: Likewise.
      	* symtab.c: Likewise.
      	* target.def: Likewise.
      	* toplev.c: Likewise.
      	* tree-call-cdce.c: Likewise.
      	* tree-cfg.c: Likewise.
      	* tree-complex.c: Likewise.
      	* tree-core.h: Likewise.
      	* tree-eh.c: Likewise.
      	* tree-inline.c: Likewise.
      	* tree-loop-distribution.c: Likewise.
      	* tree-nrv.c: Likewise.
      	* tree-profile.c: Likewise.
      	* tree-sra.c: Likewise.
      	* tree-ssa-alias.c: Likewise.
      	* tree-ssa-dce.c: Likewise.
      	* tree-ssa-dom.c: Likewise.
      	* tree-ssa-forwprop.c: Likewise.
      	* tree-ssa-loop-im.c: Likewise.
      	* tree-ssa-loop-ivcanon.c: Likewise.
      	* tree-ssa-loop-ivopts.c: Likewise.
      	* tree-ssa-loop-niter.c: Likewise.
      	* tree-ssa-phionlycprop.c: Likewise.
      	* tree-ssa-phiopt.c: Likewise.
      	* tree-ssa-propagate.c: Likewise.
      	* tree-ssa-threadedge.c: Likewise.
      	* tree-ssa-threadupdate.c: Likewise.
      	* tree-ssa-uninit.c: Likewise.
      	* tree-ssanames.c: Likewise.
      	* tree-streamer-out.c: Likewise.
      	* tree.c: Likewise.
      	* tree.h: Likewise.
      	* vr-values.c: Likewise.
      
      	gcc/ada/
      	* exp_ch9.adb: Mechanically replace "can not" with "cannot".
      	* libgnat/s-regpat.ads: Likewise.
      	* par-ch4.adb: Likewise.
      	* set_targ.adb: Likewise.
      	* types.ads: Likewise.
      
      	gcc/cp/
      	* cp-tree.h: Mechanically replace "can not" with "cannot".
      	* parser.c: Likewise.
      	* pt.c: Likewise.
      
      	gcc/fortran/
      	* class.c: Mechanically replace "can not" with "cannot".
      	* decl.c: Likewise.
      	* expr.c: Likewise.
      	* gfc-internals.texi: Likewise.
      	* intrinsic.texi: Likewise.
      	* invoke.texi: Likewise.
      	* io.c: Likewise.
      	* match.c: Likewise.
      	* parse.c: Likewise.
      	* primary.c: Likewise.
      	* resolve.c: Likewise.
      	* symbol.c: Likewise.
      	* trans-array.c: Likewise.
      	* trans-decl.c: Likewise.
      	* trans-intrinsic.c: Likewise.
      	* trans-stmt.c: Likewise.
      
      	gcc/go/
      	* go-backend.c: Mechanically replace "can not" with "cannot".
      	* go-gcc.cc: Likewise.
      
      	gcc/lto/
      	* lto-partition.c: Mechanically replace "can not" with "cannot".
      	* lto-symtab.c: Likewise.
      	* lto.c: Likewise.
      
      	gcc/objc/
      	* objc-act.c: Mechanically replace "can not" with "cannot".
      
      	libbacktrace/
      	* backtrace.h: Mechanically replace "can not" with "cannot".
      
      	libgcc/
      	* config/c6x/libunwind.S: Mechanically replace "can not" with
      	"cannot".
      	* config/tilepro/atomic.h: Likewise.
      	* config/vxlib-tls.c: Likewise.
      	* generic-morestack-thread.c: Likewise.
      	* generic-morestack.c: Likewise.
      	* mkmap-symver.awk: Likewise.
      
      	libgfortran/
      	* caf/single.c: Mechanically replace "can not" with "cannot".
      	* io/unit.c: Likewise.
      
      	libobjc/
      	* class.c: Mechanically replace "can not" with "cannot".
      	* objc/runtime.h: Likewise.
      	* sendmsg.c: Likewise.
      
      	liboffloadmic/
      	* include/coi/common/COIResult_common.h: Mechanically replace
      	"can not" with "cannot".
      	* include/coi/source/COIBuffer_source.h: Likewise.
      
      	libstdc++-v3/
      	* include/ext/bitmap_allocator.h: Mechanically replace "can not"
      	with "cannot".
      
      From-SVN: r267783
      67914693
  2. Jan 01, 2019
  3. Jan 03, 2018
  4. Nov 23, 2017
  5. Jan 01, 2017
  6. Jan 04, 2016
  7. Jan 05, 2015
  8. Jan 02, 2014
  9. Jul 21, 2013
    • Ondřej Bílka's avatar
      class.c: Fix typos. · cad10e05
      Ondřej Bílka authored
      2013-07-21   Ondřej Bílka  <neleai@seznam.cz>
      
      	* class.c: Fix typos.
      	* encoding.c: Likewise.
      	* init.c: Likewise.
      	* objc-private/runtime.h: Likewise.
      	* objc/runtime.h: Likewise.
      	* objc-sync.c: Likewise.
      
      From-SVN: r201097
      cad10e05
  10. Feb 03, 2013
  11. Jan 04, 2013
  12. Oct 09, 2011
    • Nicola Pero's avatar
      In libobjc/: 2011-10-09 Nicola Pero <nicola.pero@meta-innovation.com> · b4a50e43
      Nicola Pero authored
      In libobjc/:
      2011-10-09  Nicola Pero  <nicola.pero@meta-innovation.com>
      
      	PR libobjc/49883
      	* init.c (__objc_exec_class): Work around a bug in clang's code
      	generation.  Clang sets the class->info field to values different
      	from 0x1 or 0x2 (the only allowed values in the traditional GNU
      	Objective-C runtime ABI) to store some additional information, but
      	this breaks backwards compatibility.  Wipe out all the bits in the
      	fields other than the first two upon loading a class.
      
      2011-10-09  Nicola Pero  <nicola.pero@meta-innovation.com>
      	
      	* class.c (objc_lookup_class): Added back for compatibility with
      	clang which seems to emit calls to it.
      
      From-SVN: r179721
      b4a50e43
  13. Aug 06, 2011
    • Nicola Pero's avatar
      In libobjc/: 2011-08-06 Nicola Pero <nicola.pero@meta-innovation.com> · 0e0677a2
      Nicola Pero authored
      In libobjc/:
      2011-08-06  Nicola Pero  <nicola.pero@meta-innovation.com>
      
      	PR libobjc/50002
      	* class.c (__objc_update_classes_with_methods): Iterate over meta
      	classes as well as normal classes when refreshing the method
      	implementations.  This fixes replacing class methods.
      
      2011-08-06  Nicola Pero  <nicola.pero@meta-innovation.com>
      
      	* class.c (class_getSuperclass): Fixed to work with meta classes
      	still in construction too.
      
      In gcc/testsuite/:
      2011-08-06  Nicola Pero  <nicola.pero@meta-innovation.com>
      
      	PR libobjc/50002
      	* objc.dg/gnu-api-2-class.m: Updated comments.
      	* obj-c++.dg/gnu-api-2-class.mm: Likewise.
      	* objc.dg/gnu-api-2-class-meta.m: New test.
      	* obj-c++.dg/gnu-api-2-class-meta.mm: Likewise.
      	
      2011-08-06  Nicola Pero  <nicola.pero@meta-innovation.com>
      	
      	PR libobjc/49882
      	* obj-c++.dg/gnu-api-2-class.mm (main): Test class_getSuperclass()
      	with classes that are in construction.
      
      From-SVN: r177510
      0e0677a2
    • Nicola Pero's avatar
      In libobjc/: 2011-08-06 Nicola Pero <nicola.pero@meta-innovation.com> · e2852612
      Nicola Pero authored
      In libobjc/:
      2011-08-06  Nicola Pero  <nicola.pero@meta-innovation.com>
      
      	* class.c (class_getSuperclass): Fixed typo in comment.
      
      From-SVN: r177506
      e2852612
    • Nicola Pero's avatar
      In libobjc/: 2011-08-06 Nicola Pero <nicola.pero@meta-innovation.com> · 3f542037
      Nicola Pero authored
      In libobjc/:
      2011-08-06  Nicola Pero  <nicola.pero@meta-innovation.com>
      
      	PR libobjc/49882
      	* class.c (class_getSuperclass): Return the superclass if the
      	class is in construction.
      	* objc/runtime.h (class_getSuperclass): Updated documentation.
      
      In gcc/testsuite/:
      2011-08-06  Nicola Pero  <nicola.pero@meta-innovation.com>
      	
      	PR libobjc/49882
      	* objc.dg/gnu-api-2-class.m (main): Test class_getSuperclass()
      	with classes that are in construction.
      
      From-SVN: r177505
      3f542037
  14. Jun 07, 2011
    • Nicola Pero's avatar
      In libobjc/: 2011-06-07 Nicola Pero <nicola.pero@meta-innovation.com> · 69c32980
      Nicola Pero authored
      In libobjc/:
      2011-06-07  Nicola Pero  <nicola.pero@meta-innovation.com>
      
      	* class.c (objc_next_class): Removed.
      	(class_pose_as): Removed.
      	(CLASSOF): Removed.
      	(class_table_replace): Removed.
      	(objc_lookup_class): Removed.
      
      From-SVN: r174767
      69c32980
    • 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
  15. Jan 03, 2011
  16. Dec 21, 2010
    • Nicola Pero's avatar
      In libobjc/: 2010-12-21 Nicola Pero <nicola.pero@meta-innovation.com> · 1575c9de
      Nicola Pero authored
      In libobjc/:
      2010-12-21  Nicola Pero  <nicola.pero@meta-innovation.com>
      
      	PR libobjc/18764
      	* class.c (__objc_add_class_to_hash): Return YES if the class was
      	added, and NO if it already existed.
      	* init.c (__objc_init_class): If __objc_add_class_to_hash returns
      	NO, then abort the program with an error message.
      	* objc-private/runtime.h (__objc_add_class_to_hash): Updated
      	declaration.
      
      From-SVN: r168139
      1575c9de
  17. Dec 19, 2010
    • Nicola Pero's avatar
      In gcc/testsuite/: 2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com> · 6e45b376
      Nicola Pero authored
      In gcc/testsuite/:
      2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
      
      	* objc.dg/gnu-api-2-objc.m: Fixed test to test objc_lookUpClass,
      	not objc_lookupClass.
      	* obj-c++.dg/gnu-api-2-objc.mm: Same change.
      	
      In libobjc/:
      2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
      
      	* class.c (objc_lookupClass): Renamed to objc_lookUpClass.
      	* protocols.c: Updated all calls to objc_lookupClass to call
      	objc_lookUpClass instead.
      	* sendmsg.c (objc_lookupClass): Do not declare.
      	(get_imp): Update call to objc_lookupClass to call
      	objc_lookUpClass instead.
      	* objc/runtime.h (objc_lookupClass): Renamed to objc_lookUpClass.
      
      From-SVN: r168059
      6e45b376
  18. 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
  19. Oct 16, 2010
    • Nicola Pero's avatar
      In libobjc/: 2010-10-16 Nicola Pero <nicola.pero@meta-innovation.com> · 6c5c7efd
      Nicola Pero authored
      In libobjc/:
      2010-10-16  Nicola Pero  <nicola.pero@meta-innovation.com>
      
              * objc/runtime.h: Updated comments.
              (class_addMethod): New.
              (class_addIvar): New.
              (class_replaceMethod): New.
              (objc_allocateClassPair): New.
              (objc_registerClassPair): New.
              (objc_disposeClassPair): New.
              * class.c (objc_allocateClassPair): New.
              (objc_registerClassPair): New.
              (objc_disposeClassPair): New.
              (class_getSuperclass): Return Nil if a class is in construction.
              * init.c (__objc_exec_class): Call __objc_init_class.
              (__objc_init_class): New.
              * ivars.c (class_copyIvarList): Return NULL if class is in
              construction.  Do not lock the runtime mutex.
              (class_getInstanceVariable): Return NULL if class is in
              construction.  Do not lock the runtime mutex.
              (class_addIvar): New.
              * sendmsg.c (class_addMethod): New.
              (class_replaceMethod): New.
              * objc-private/module-abi-8.h (__CLS_SETNOTINFO): New.
              (_CLS_IN_CONSTRUCTION): New.
              (CLS_IS_IN_CONSTRUCTION): New.
              (CLS_SET_IN_CONSTRUCTION): New.
              (CLS_SET_NOT_IN_CONSTRUCTION): New.
              * objc-private/runtime.h (__objc_init_class): New.
      
      From-SVN: r165563
      6c5c7efd
    • Nicola Pero's avatar
      class.c (class_getSuperclass): Call __objc_resolve_class_links if the class is not resolved yet. · 1cde73d7
      Nicola Pero authored
      2010-10-16  Nicola Pero  <nicola.pero@meta-innovation.com>
      
              * class.c (class_getSuperclass): Call __objc_resolve_class_links
              if the class is not resolved yet.
              * ivars.c (class_getInstanceVariable): Use class_getSuperclass.
      
      From-SVN: r165542
      1cde73d7
  20. Oct 15, 2010
    • Nicola Pero's avatar
      In libobjc/: 2010-10-15 Nicola Pero <nicola.pero@meta-innovation.com> · 51194e8e
      Nicola Pero authored
      In libobjc/:
      2010-10-15  Nicola Pero  <nicola.pero@meta-innovation.com>
      
              * objc-private/runtime.h (__objc_update_classes_with_methods): New.
              * class.c (__objc_update_classes_with_methods): New.
              (objc_getClassList): Do not lock the class lock.
              * methods.c (method_exchangeImplementations): New.
              (method_setImplementation): New.
              * objc/runtime.h (method_setImplementation): New.
              (method_exchangeImplementations): New.
      
      From-SVN: r165525
      51194e8e
  21. Oct 12, 2010
    • Nicola Pero's avatar
      In libobjc/: 2010-10-12 Nicola Pero <nicola.pero@meta-innovation.com> · be05b0f5
      Nicola Pero authored
      In libobjc/:
      2010-10-12  Nicola Pero  <nicola.pero@meta-innovation.com>
      
              * class.c: Include objc/runtime.h and objc-private/module-abi-8.h
              instead of objc/objc-api.h.
              (objc_get_unknown_class_handler): Do not define.
              (class_isMetaClass): New.
              (class_getSuperclass): New.
              (class_getVersion): New.
              (class_setVersion): New.
              (class_getInstanceSize): New.
              * exceptions.c: Include objc/runtime.h instead of objc/objc-api.h.
              (is_kind_of_exception_matcher): Use objc_getSuperclass instead of
              objc_get_super_class.
              (get_ttype_entry): Use objc_getRequiredClass instead of
              objc_get_class.
              * ivars.c (class_getClassVariable): New.
              * objects.c: Include objc/runtime.h, objc/thr.h and
              objc-private/module-abi-8.h instead of objc/objc-api.h
              * objc/runtime.h (class_getClassVariable): New.
              (class_isMetaClass): New.
              (class_getSuperclass): New.
              (class_getVersion): New.
              (class_setVersion): New.
              (class_getInstanceSize): New.
              * objc-private/module-abi-8.h (HOST_BITS_PER_LONG): New (from
              objc/objc-api.h)
              (__CLS_INFO): Same.
              (__CLS_ISINFO): Same.
              (__CLS_SETINFO): Same.
              (CLS_ISMETA): Same.
              (CLS_ISCLASS): Same.
              (CLS_ISRESOLV): Same.
              (CLS_SETRESOLV): Same.
              (CLS_ISINITIALIZED): Same.
              (CLS_SETINITIALIZED): Same.
              (CLS_GETNUMBER): Same.
              (CLS_SETNUMBER): Same.
      
      From-SVN: r165392
      be05b0f5
    • 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
    • Nicola Pero's avatar
      In libobjc/: 2010-10-12 Nicola Pero <nicola.pero@meta-innovation.com> · debfbfee
      Nicola Pero authored
      In libobjc/:
      2010-10-12  Nicola Pero  <nicola.pero@meta-innovation.com>
      
              * Makefile.in (C_SOURCE_FILES): Added protocols.c.
              * objc-private/protocols.h: New.
              * protocols.c: New.
              * init.c: Include objc-private/protocols.h.
              (__objc_exec_class): Call __objc_protocols_init on startup.
              (__objc_init_protocols): Call __objc_protocols_add_protocol.
              * objc-private/runtime.h: Use (struct objc_method_list *) instead
              of MethodList_t, and (struct objc_method *) instead of Method_t.
              * objc/deprecated/struct_objc_class.h: Define
              __objc_STRUCT_OBJC_CLASS_defined.
              * objc-private/module-abi-8.h (struct
              objc_method_description_list): New.
              (struct objc_class): Only define if
              __objc_STRUCT_OBJC_CLASS_defined is undefined.
              * objc/runtime.h (class_getName): New.
              (objc_getProtocol): New.
              (objc_copyProtocolList): New.
              (class_addProtocol): New.
              (class_conformsToProtocol): New.
              (class_copyProtocolList): New.
              (protocol_conformsToProtocol): New.
              (protocol_isEqual): New.
              (protocol_getName): New.
              (protocol_getMethodDescription): New.
              (protocol_copyMethodDescriptionList): New.
              (protocol_getProperty): New.
              (protocol_copyPropertyList): New.
              (protocol_copyProtocolList): New.
              * class.c (class_getName): New.
              * selector.c (sel_isEqual): New.
      
      From-SVN: r165349
      debfbfee
  22. Oct 11, 2010
    • Nicola Pero's avatar
      In libobjc/: 2010-10-11 Nicola Pero <nicola.pero@meta-innovation.com> · 90a2689f
      Nicola Pero authored
      In libobjc/:
      2010-10-11  Nicola Pero  <nicola.pero@meta-innovation.com>
      
              * class.c (objc_getClassList): New.
              (objc_getRequiredClass): New.
              (objc_getMetaClass): New.
              (objc_lookupClass): New.
              (objc_getClass): New.
              (__objc_get_unknown_class_handler): New.
              (objc_setGetUnknownClassHandler): New.
              (objc_get_class): Use __objc_get_unknown_class_handler.
              (objc_lookup_class): Call objc_getClass.
              * objc/objc-api.h: Updated comment and copyright notice.
              * objc/runtime.h: Updated comments.
              (objc_getClass): New.
              (objc_lookupClass): New.
              (objc_getMetaClass): New.
              (objc_getRequiredClass): New.
              (objc_getClassList): New.
              (objc_setGetUnknownClassHandler): New.
              (objc_get_unknown_class_handler): New.
              * objc-private/runtime.h: Use __objc_private_runtime_INCLUDE_GNU
              instead of __objc_runtime_INCLUDE_GNU as include guard.
              * objc-private/error.h (_objc_abort): Mark as noreturn.
      
      From-SVN: r165326
      90a2689f
  23. 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
  24. Sep 12, 2010
    • Nicola Pero's avatar
      In libobjc/: · 7b869986
      Nicola Pero authored
              * objc/deprecated/objc_error.h: New file.
              * objc/objc-api.h: Include deprecated/objc_error.h instead of
              defining objc_error and related.
              * error.c: New file.  Added _objc_abort function which replaces
              objc_error.  No change in functionality as they both print an
              error and abort.
              * misc.c: File removed.  Code moved into memory.c and error.c.
              * memory.c: New file.
              * objc-private/error.h: New file.
              * archive.c: Include objc-private/error.h and use _objc_abort
              instead of objc_error everywhere.
              * class.c: Same change.
              * encoding.c: Same change.
              * init.c: Same change, and simplified init_check_module_version.
              * memory.c: Same change.
              * sendmsg.c:  Same change.
              * thr.c: Same change.
              * Makefile.in (OBJ_DEPRECATED_H): Added objc_error.h.
              (OBJ_H): Reordered list.
              (OBJS): Removed misc.lo, added memory.lo and error.lo.
              (OBJS_GC): Removed misc_gc.lo, added memory_gc.lo and error_gc.lo.
              (misc_gc.lo): Rule removed.
              (error_gc.lo): Rule added.
              (memory_gc.lo): Rule added.
      
      From-SVN: r164223
      7b869986
  25. 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
  26. Apr 09, 2009
  27. Aug 17, 2005
  28. 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
  29. 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
  30. 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
  31. 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
  32. Oct 29, 2001
Loading