ChangeLog 113 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348
  1. 2015-07-16 Release Manager
  2. * GCC 5.2.0 released.
  3. 2015-04-22 Release Manager
  4. * GCC 5.1.0 released.
  5. 2015-02-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
  6. PR libobjc/63765
  7. * thr.c (_XOPEN_SOURCE): Remove.
  8. 2015-01-27 Matthias Klose <doko@ubuntu.com>
  9. * sendmsg.c: Add prototypes for __objc_get_forward_imp and get_imp.
  10. 2015-01-09 Dimitris Papavasiliou <dpapavas@gmail.com>
  11. PR libobjc/51891
  12. * ivars.c: Add a check for classes without instance
  13. variables, which have a NULL ivar list pointer.
  14. 2015-01-05 Jakub Jelinek <jakub@redhat.com>
  15. Update copyright years.
  16. 2014-11-21 H.J. Lu <hongjiu.lu@intel.com>
  17. PR bootstrap/63784
  18. * configure: Regenerated.
  19. 2014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
  20. PR target/63610
  21. * configure: Regenerate.
  22. 2014-11-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
  23. * thr.c (_XOPEN_SOURCE): Define as 600.
  24. 2014-07-27 Alan Modra <amodra@gmail.com>
  25. Matthias Klose <doko@ubuntu.com>
  26. PR libobjc/61920
  27. * encoding.c: Define rs6000_special_adjust_field_align_p.
  28. 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
  29. Update copyright years
  30. 2013-09-20 Alan Modra <amodra@gmail.com>
  31. * configure: Regenerate.
  32. 2013-07-21 Ondřej Bílka <neleai@seznam.cz>
  33. * class.c: Fix typos.
  34. * encoding.c: Likewise.
  35. * init.c: Likewise.
  36. * objc-private/runtime.h: Likewise.
  37. * objc/runtime.h: Likewise.
  38. * objc-sync.c: Likewise.
  39. 2013-07-04 Kai Tietz <ktietz@redhat.com>
  40. * exception.c: Add check for SjLj to SEH blocks.
  41. 2013-02-03 Richard Sandiford <rdsandiford@googlemail.com>
  42. Update copyright years.
  43. 2012-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
  44. * encoding.c (TARGET_VSX): Provide definitions based on the
  45. current compilation options, and not based off the target options
  46. structure.
  47. (TARGET_ALTIVEC): Likewise.
  48. (TARGET_64BIT): Likewise.
  49. 2012-09-14 David Edelsohn <dje.gcc@gmail.com>
  50. * configure: Regenerated.
  51. 2012-07-19 Tristan Gingold <gingold@adacore.com>
  52. Richard Henderson <rth@redhat.com>
  53. * exception.c (__gnu_objc_personality_seh0): New function.
  54. 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
  55. * configure: Regenerated.
  56. 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
  57. * configure.ac (enable_objc_gc): Remove alpha*-dec-osf* handling.
  58. * configure: Regenerate.
  59. * thr.c (_XOPEN_SOURCE): Define unconditionally.
  60. 2011-11-21 Andreas Tobler <andreast@fgznet.ch>
  61. * configure: Regenerate.
  62. 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
  63. * Makefile.in (INCLUDES): Add -I$(MULTIBUILDTOP)../libgcc.
  64. * configure.ac (target_thread_file, HAVE_GTHR_DEFAULT): Remove.
  65. * configure: Regenerate.
  66. * config.h.in: Regenerate.
  67. 2011-10-17 Paul Brook <paul@codesourcery.com>
  68. Matthias Klose <doko@ubuntu.com>
  69. * exception.c (parse_lsda_header): hardcode ttype_encoding for older
  70. ARM EABI toolchains.
  71. (get_ttype_entry) Remove __ARM_EABI_UNWINDER__ variant.
  72. 2011-10-09 Nicola Pero <nicola.pero@meta-innovation.com>
  73. PR libobjc/49883
  74. * init.c (__objc_exec_class): Work around a bug in clang's code
  75. generation. Clang sets the class->info field to values different
  76. from 0x1 or 0x2 (the only allowed values in the traditional GNU
  77. Objective-C runtime ABI) to store some additional information, but
  78. this breaks backwards compatibility. Wipe out all the bits in the
  79. fields other than the first two upon loading a class.
  80. 2011-10-09 Nicola Pero <nicola.pero@meta-innovation.com>
  81. * class.c (objc_lookup_class): Added back for compatibility with
  82. clang which seems to emit calls to it.
  83. 2011-10-08 Richard Frith-Macdonald <rfm@gnu.org>
  84. Nicola Pero <nicola.pero@meta-innovation.com>
  85. PR libobjc/50428
  86. * sendmsg.c (__objc_send_initialize): If a class does not have an
  87. +initialize method, search for an +initialize method in the
  88. superclass and in the ancestor classes and execute the first one
  89. that is found. This makes the GNU runtime behave in the same way
  90. as the Apple/NeXT runtime with respect to +initialize methods and
  91. subclassing.
  92. 2011-08-06 Nicola Pero <nicola.pero@meta-innovation.com>
  93. PR libobjc/50002
  94. * class.c (__objc_update_classes_with_methods): Iterate over meta
  95. classes as well as normal classes when refreshing the method
  96. implementations. This fixes replacing class methods.
  97. 2011-08-06 Nicola Pero <nicola.pero@meta-innovation.com>
  98. * class.c (class_getSuperclass): Fixed to work with meta classes
  99. still in construction too.
  100. 2011-08-06 Nicola Pero <nicola.pero@meta-innovation.com>
  101. * class.c (class_getSuperclass): Fixed typo in comment.
  102. 2011-08-06 Nicola Pero <nicola.pero@meta-innovation.com>
  103. PR libobjc/49882
  104. * class.c (class_getSuperclass): Return the superclass if the
  105. class is in construction.
  106. * objc/runtime.h (class_getSuperclass): Updated documentation.
  107. 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
  108. * Makefile.in (INCLUDES): Search
  109. $(srcdir)/$(MULTISRCTOP)../libgcc.
  110. 2011-06-08 Nicola Pero <nicola.pero@meta-innovation.com>
  111. * objc/objc.h (__GNU_LIBOBJC__): Bumped to 20110608.
  112. 2011-06-08 Nicola Pero <nicola.pero@meta-innovation.com>
  113. * configure.ac (VERSION): Bumped to 4:0:0.
  114. * configure (VERSION): Likewise.
  115. 2011-06-08 Nicola Pero <nicola.pero@meta-innovation.com>
  116. * objc/README: Updated.
  117. * objc-private/selector.h: Updated comments.
  118. 2011-06-07 Nicola Pero <nicola.pero@meta-innovation.com>
  119. * sendmsg.c (class_get_instance_method): Removed.
  120. (class_get_class_method): Removed.
  121. (objc_get_uninstalled_dtable): Removed.
  122. 2011-06-07 Nicola Pero <nicola.pero@meta-innovation.com>
  123. * objc-private/module-abi-8.h (class_get_instance_size): Removed.
  124. * objects.c (class_create_instance): Removed.
  125. * error.c (__USE_FIXED_PROTOTYPES__): Removed.
  126. * gc.c (__objc_generate_gc_type_description): Use
  127. class_getInstanceSize() instead of class_get_instance_size().
  128. * selector.c (sel_types_match): Made static.
  129. (sel_get_typed_uid): Removed.
  130. (sel_get_any_typed_uid): Removed.
  131. (sel_get_name): Removed.
  132. (sel_get_type): Removed.
  133. (sel_register_name): Removed.
  134. (sel_register_typed_name): Removed.
  135. (sel_get_uid): Removed.
  136. 2011-06-07 Nicola Pero <nicola.pero@meta-innovation.com>
  137. * encoding.c (method_get_number_of_arguments): Removed.
  138. (method_get_sizeof_arguments): Removed.
  139. 2011-06-07 Nicola Pero <nicola.pero@meta-innovation.com>
  140. * class.c (objc_next_class): Removed.
  141. (class_pose_as): Removed.
  142. (CLASSOF): Removed.
  143. (class_table_replace): Removed.
  144. (objc_lookup_class): Removed.
  145. 2011-06-07 Nicola Pero <nicola.pero@meta-innovation.com>
  146. Removed the Traditional Objective-C runtime public API.
  147. * Makefile.in (OBJC_DEPRECATED_H): Variable removed.
  148. (install-headers): Do not create the objc/deprecated directory and
  149. do not install the deprecated headers.
  150. (OBJC_H): Removed encoding.h and objc-api.h.
  151. * Object.m: Removed all methods with the exception of -class and
  152. -isEqual:. Updated includes. ([-class]): Use Modern API.
  153. * objc/Object.h: Do not include deprecated/Object.h.
  154. * objc/deprecated/Object.h: Removed.
  155. * linking.m (__objc_linking): Call [Object class] instead of
  156. [Object name].
  157. * Protocol.m: Removed all methods with the exception of -isEqual:.
  158. Updated includes.
  159. * objc/Protocol.h: Do not include deprecated/Protocol.h.
  160. * objc/deprecated/Protocol.h: Removed.
  161. * objc/deprecated/struct_objc_symtab.h: Removed.
  162. * objc/deprecated/struct_objc_module.h: Removed.
  163. * objc/deprecated/struct_objc_ivar.h: Removed.
  164. * objc/deprecated/struct_objc_ivar_list.h: Removed.
  165. * objc/deprecated/struct_objc_method.h: Removed.
  166. * objc/deprecated/struct_objc_method_list.h: Removed.
  167. * objc/deprecated/struct_objc_protocol_list.h: Removed.
  168. * objc/deprecated/struct_objc_category.h: Removed.
  169. * objc/deprecated/MetaClass.h: Removed.
  170. * objc/deprecated/objc_msg_sendv.h: Removed.
  171. * objc/deprecated/README: Removed.
  172. * objc/deprecated/struct_objc_class.h: Removed.
  173. * objc/deprecated/struct_objc_protocol.h: Removed.
  174. * objc/deprecated/struct_objc_selector.h: Removed.
  175. * objc/encoding.h: Removed.
  176. * objc/message.h (struct objc_super): Removed the definition for
  177. the Traditional Objective-C runtime API.
  178. * objc/objc.h: Do not include objc/objc-decls.h.
  179. deprecated/struct_objc_selector.h, deprecated/MetaClass.h,
  180. deprecated/struct_objc_class.h, deprecated/struct_objc_protocol.h
  181. and deprecated/objc_msg_sendv.h. Uncommented new definition of
  182. Protocol *.
  183. * objc/objc-api.h: Removed.
  184. * objc/runtime.h: Updated comments. Removed check to detect
  185. concurrent usage of Traditional and Modern APIs.
  186. * objc-private/module-abi-8.h: Always define struct objc_class and
  187. struct objc_protocol. (struct objc_protocol_list): Changed type
  188. of 'list' argument from 'Protocol *' to 'struct objc_protocol *'.
  189. (class_get_instance_size): Added.
  190. * objc-private/protocols.h (__objc_protocols_add_protocol): Take a
  191. 'struct objc_protocol *' as argument, not a 'Protocol *'.
  192. * objc-private/runtime.h: Updated comments.
  193. * objc-private/selector.h (struct objc_selector, sel_eq): Added.
  194. * class.c: Include objc-private/selector.h.
  195. (objc_get_meta_class): Return a Class instead of a MetaClass.
  196. * encoding.c (method_get_next_argument): Removed.
  197. (method_get_first_argument): Removed.
  198. (method_get_nth_argument): Removed.
  199. * gc.c: Include objc/runtime.h instead of objc/encoding.h.
  200. Include objc-private/module-abi-8.h and ctype.h.
  201. * protocols.c (__objc_protocols_add_protocol): Take a 'struct
  202. objc_protocl *' as argument, not a 'Protocol *'.
  203. (class_addProtocol): Added casts to 'struct objc_protocol *' and
  204. 'Protocol *'.
  205. (class_copyProtocolList): Likewise.
  206. (protocol_conformsToProtocol): Likewise.
  207. (protocol_copyProtocolList): Likewise.
  208. * sarray.c: Include objc-private/module-abi-8.h.
  209. * sendmsg.c (method_get_next_argument): Removed.
  210. (method_get_first_argument): Removed.
  211. (method_get_nth_argument): Removed.
  212. (objc_msg_sendv): Removed.
  213. (arglist_t, retval_t): New. (class_get_class_method): Take a
  214. 'Class', not 'MetaClass', argument.
  215. * thr.c: Include module-abi-8.h.
  216. 2011-06-03 Nicola Pero <nicola.pero@meta-innovation.com>
  217. * Makefile.in (OBJC_DEPRECATED_H): Removed struct_objc_static_instances.h
  218. and objc_get_uninstalled_dtable.h.
  219. * objc/deprecated/struct_objc_static_instances.h: Removed.
  220. * objc/deprecated/objc_get_uninstalled_dtable.h: Removed.
  221. * objc/objc-api.h: Do not include deprecated/objc_static_instances.h
  222. and deprecated/objc_get_uninstalled_dtable.h.
  223. 2011-06-03 Nicola Pero <nicola.pero@meta-innovation.com>
  224. * Makefile.in (OBJC_DEPRECATED_H): Removed objc_object_alloc.h.
  225. * objc/deprecated/objc_object_alloc.h: Removed.
  226. * objc/objc-api.h: Do not include deprecated/objc_object_alloc.h.
  227. * objects.c (_objc_object_alloc, _objc_object_dispose,
  228. _objc_object_copy): Removed.
  229. * libobjc.def (__objc_object_alloc, __objc_object_copy,
  230. __objc_object_dispose): Removed.
  231. 2011-06-03 Nicola Pero <nicola.pero@meta-innovation.com>
  232. * Makefile.in (OBJC_DEPRECATED_H): Removed METHOD_NULL.h.
  233. * objc/objc-api.h: Do not include deprecated/METHOD_NULL.h.
  234. * objc/deprecated/METHOD_NULL.h: Removed.
  235. 2011-06-03 Nicola Pero <nicola.pero@meta-innovation.com>
  236. * Makefile.in (OBJC_DEPRECATED_H): Removed objc_valloc.h,
  237. objc_malloc.h and objc_unexpected_exception.h.
  238. (exception.lo): Do not use -Wno-deprecated-declarations.
  239. (exception_gc.lo): Likewise.
  240. * objc/objc-api.h: Do not include deprecated/objc_valloc.h,
  241. deprecated/objc_malloc.h and
  242. deprecated/objc_unexpected_exception.h.
  243. * objc/deprecated/objc_valloc.h: Removed.
  244. * objc/deprecated/objc_malloc.h: Removed.
  245. * objc/deprecated/objc_unexpected_exception.h: Removed.
  246. * exception.c (_objc_unexpected_exception): Removed.
  247. (objc_exception_throw): Do not check for
  248. _objc_unexpected_exception.
  249. * memory.c (objc_valloc, _objc_malloc, _objc_atomic_malloc,
  250. _objc_valloc, _objc_realloc, _objc_calloc, _objc_free): Removed.
  251. * libobjc.def (_objc_unexpected_exception, objc_valloc): Removed.
  252. 2011-06-03 Nicola Pero <nicola.pero@meta-innovation.com>
  253. * objc/objc.h: Do not include deprecated/STR.h.
  254. * objc/deprecated/STR.h: Removed.
  255. * Makefile.in (OBJC_DEPRECATED_H): removed STR.h.
  256. 2011-06-03 Nicola Pero <nicola.pero@meta-innovation.com>
  257. * Makefile.in (OBJC_H): Removed hash.h and sarray.h.
  258. (OBJC_DEPRECATED_H): Likewise.
  259. * libobjc.def (objc_hash_new, objc_hash_delete, objc_hash_add,
  260. objc_hash_remove, objc_hash_next, objc_hash_value_for_key,
  261. objc_hash_is_key_in_hash, hash_add, hash_delete, hash_new,
  262. hash_next, hash_remove, hash_value_for_key, hash_is_key_in_hash,
  263. sarray_at_put, sarray_at_put_safe, sarray_free, sarray_lazy_copy,
  264. sarray_new, sarray_realloc, sarray_remove_garbage): Removed.
  265. * objc/sarray.h: Removed.
  266. * objc/hash.h: Removed.
  267. * objc/deprecated/sarray.h: Removed.
  268. * objc/deprecated/hash.h: Removed.
  269. * objc/Object.h: Do not include objc/deprecated/hash.h
  270. * Object.m: Include string.h.
  271. * objc/objc-api.h: Do not include objc/deprecated/hash.h.
  272. * objc-private/common.h (GNU_LIBOBJC_COMPILING_LIBOBJC_ITSELF):
  273. Removed.
  274. 2011-06-03 Nicola Pero <nicola.pero@meta-innovation.com>
  275. * Object.m ([-forward::]): Removed.
  276. * objc/deprecated/Object.h ([-forward::]): Removed.
  277. * sendmsg.c (__objc_forward): Updated comments.
  278. 2011-06-03 Nicola Pero <nicola.pero@meta-innovation.com>
  279. * Makefile.in (OBJC_H): Removed objc-list.h.
  280. (OBJC_DEPRECATED_H): Removed objc-list.h.
  281. * objc/objc-list.h: File removed.
  282. * objc/deprecated/objc-list.h: File removed.
  283. 2011-06-03 Nicola Pero <nicola.pero@meta-innovation.com>
  284. * Makefile.in (OBJC_H): Removed typedstream.h.
  285. (OBJC_DEPRECATED_H): Removed typedstream.h.
  286. (C_SOURCE_FILES): Removed archive.c.
  287. (Object.lo): Rule removed.
  288. (Object_gc.lo): Likewise.
  289. (archive.lo): Likewise.
  290. (archive_gc.lo): Likewise.
  291. * objc/deprecated/Object.h ([+streamVersion:], [-read], [-write],
  292. [-awake]): Removed.
  293. Do not include deprecated/typedstream.h.
  294. * Object.m: Removed the same methods.
  295. * archive.c: File removed.
  296. * objc/typedstream.h: File removed.
  297. * objc/deprecated/typedstream.h: File removed.
  298. * libobjc.def (__objc_read_nbyte_uint, __objc_read_nbyte_ulong,
  299. __objc_write_class, __objc_write_object, __objc_write_selector,
  300. objc_close_typed_stream, objc_end_of_typed_stream,
  301. objc_flush_typed_stream, objc_get_stream_class_version,
  302. objc_open_typed_stream, objc_open_typed_stream_for_file,
  303. objc_read_array, objc_read_char, objc_read_int, objc_read_long,
  304. objc_read_object, objc_read_selector, objc_read_short,
  305. objc_read_string, objc_read_type, objc_read_types,
  306. objc_read_unsigned_char, objc_read_unsigned_int,
  307. objc_read_unsigned_long, objc_read_unsigned_short,
  308. objc_write_array, objc_write_char, objc_write_int,
  309. objc_write_long, objc_write_object, objc_write_object_reference,
  310. objc_write_root_object, objc_write_selector, objc_write_short,
  311. objc_write_string, objc_write_string_atomic, objc_write_type,
  312. objc_write_types, objc_write_unsigned_char,
  313. objc_write_unsigned_int, objc_write_unsigned_long,
  314. objc_write_unsigned_short): Removed.
  315. 2011-06-02 Nicola Pero <nicola.pero@meta-innovation.com>
  316. * Makefile.in (OBJC_DEPRECATED_H): Removed objc_error.h.
  317. * objc/deprecated/objc_error.h: Removed.
  318. * objc/objc-api.h: Do not include deprecated/objc_error.h.
  319. * libobjc.def (objc_error, objc_verror): Removed.
  320. * error.c (_objc_error_handler, objc_error, objc_verror,
  321. objc_set_error_handler): Removed.
  322. * Object.m ([-error:], [-perform:], [-perform:with:],
  323. [-perform:with:with], [-subclassResponsibility:],
  324. [-notImplemented:], [-shouldNotImplement:], [-doesNotRecognize:]):
  325. Removed.
  326. * objc/deprecated/Object.h: Removed the same methods.
  327. * sendmsg.c (__objc_forward): Do not try to invoke the "error:"
  328. method after trying to invoke the "doesNotRecognize:" method.
  329. 2011-05-26 Nicola Pero <nicola.pero@meta-innovation.com>
  330. * sendmsg.c: Reindented part of the file. No non-trivial changes
  331. in code.
  332. 2011-05-26 Nicola Pero <nicola.pero@meta-innovation.com>
  333. * sendmsg.c (__objc_install_dtable_for_class): Use objc_getClass,
  334. not objc_lookup_class.
  335. 2011-05-25 Richard Frith-Macdonald <rfm@gnu.org>
  336. David Ayers <ayers@fsfe.org>
  337. PR libobjc/38307
  338. * sendmsg.c: Include objc/hash.h.
  339. (get_implementation): New function, mostly with code from get_imp
  340. updated to support the new +initialize dispatch table logic.
  341. (get_imp): Use get_implementation.
  342. (__objc_responds_to): Updated to support the new +initialize
  343. dispatch table logic.
  344. (class_respondsToSelector): Likewise.
  345. (objc_msg_lookup): Use get_implementation.
  346. (__objc_init_install_dtable): Removed.
  347. (__objc_install_methods_in_dtable): Updated arguments.
  348. (__objc_install_dispatch_table_for_class): Renamed to
  349. __objc_install_dtable_for_class and updated to support the new
  350. +initialize dispatch table logic.
  351. (__objc_update_dispatch_table_for_class): Updated to support the
  352. new +initialize dispatch table logic.
  353. (__objc_forward): Call get_implementation instead of get_imp.
  354. (prepared_dtable_table): New.
  355. (__objc_prepare_dtable_for_class): New.
  356. (__objc_prepared_dtable_for_class): New.
  357. (__objc_get_prepared_imp): New.
  358. (__objc_install_prepared_dtable_for_class): New.
  359. 2011-05-24 Nicola Pero <nicola.pero@meta-innovation.com>
  360. PR libobjc/48177
  361. * selector.c (__sel_register_typed_name): Use sel_types_match()
  362. instead of strcmp() to compare selector types (Suggestion by
  363. Richard Frith-Macdonald <rfm@gnu.org>).
  364. 2011-04-15 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
  365. PR libobjc/32037
  366. * Makefile.in (OBJC_GCFLAGS): Move ...
  367. * configure.ac (enable_objc_gc): ... here.
  368. Add $(libsuffix) to OBJC_BOEHM_GC.
  369. * configure: Regenerate.
  370. 2011-02-28 Nicola Pero <nicola.pero@meta-innovation.com>
  371. * selector.c (sel_getTypedSelector): Return NULL if there are
  372. multiple selectors with conflicting types.
  373. * objc/runtime.h (sel_getTypedSelector): Updated documentation.
  374. 2011-02-28 Richard Frith-Macdonald <rfm@gnu.org>
  375. PR libobjc/47922
  376. * gc.c (class_ivar_set_gcinvisible): Use _C_GCINVISIBLE instead of
  377. a hardcoded "!".
  378. 2011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  379. * configure: Regenerate.
  380. 2010-12-26 Nicola Pero <nicola.pero@meta-innovation.com>
  381. * init.c (create_tree_of_subclasses_inherited_from): Use
  382. class_superclass_of_class instead of assuming a class is
  383. unresolved when it could be resolved. Tidied up assignment and
  384. check.
  385. (__objc_tree_insert_class): Enhanced DEBUG_PRINTF.
  386. (objc_tree_insert_class): Tidied up loop; return immediately upon
  387. inserting a class.
  388. (__objc_exec_class): Do not set __objc_class_tree_list.
  389. 2010-12-24 Nicola Pero <nicola.pero@meta-innovation.com>
  390. * selector.c (sel_getTypedSelector): Return NULL if given a NULL
  391. argument.
  392. (sel_registerTypedName): Same.
  393. (sel_registerName): Same.
  394. * objc/runtime.h: Updated documentation.
  395. 2010-12-24 Nicola Pero <nicola.pero@meta-innovation.com>
  396. * objc/runtime.h (class_addIvar): Updated documentation. The
  397. alignment is actually the log_2 of the alignment in bytes.
  398. * ivars.c (class_addIvar): Corresponding change to the
  399. implementation.
  400. 2010-12-24 Nicola Pero <nicola.pero@meta-innovation.com>
  401. * objc/runtime.h (sel_getType): Renamed to sel_getTypeEncoding to
  402. be consistent with method_getTypeEncoding and
  403. ivar_getTypeEncoding.
  404. (sel_copyTypedSelectorList, sel_getTypedSelector): New.
  405. * selector.c (sel_getType): Renamed to sel_getTypeEncoding.
  406. (sel_copyTypedSelectorList, sel_getTypedSelector): New.
  407. (sel_get_type): Updated call to sel_getType.
  408. 2010-12-24 Nicola Pero <nicola.pero@meta-innovation.com>
  409. * objc/runtime.h (class_conformsToProtocol,
  410. class_copyProtocolList): Updated documentation.
  411. 2010-12-23 Nicola Pero <nicola.pero@meta-innovation.com>
  412. * init.c (create_tree_of_subclasses_inherited_from): Updated
  413. DEBUG_PRINTF messages.
  414. (__objc_tree_insert_class): Same.
  415. (__objc_send_load_using_method_list): Same.
  416. (__objc_send_load): Same.
  417. (__objc_exec_class): Same. In particular, do not print the module
  418. name since it is no longer used.
  419. * sendmsg.c (__objc_send_initialize): Added DEBUG_PRINTFs for
  420. tracking +initialize calls.
  421. (__objc_update_dispatch_table_for_class): Added DEBUG_PRINTFs for
  422. tracking updates of dispatch tables.
  423. (__objc_install_dispatch_table_for_class): Same.
  424. 2010-12-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
  425. * Makefile.in (libobjc$(libsuffix).la): Link with -Wc,-shared-libgcc.
  426. (libobjc_gc$(libsuffix).la): Likewise.
  427. 2010-12-23 Nicola Pero <nicola.pero@meta-innovation.com>
  428. * sendmsg.c (class_addMethod): Return NO if the method already
  429. exists in the class.
  430. 2010-12-22 Nicola Pero <nicola.pero@meta-innovation.com>
  431. * init.c (duplicate_classes): New.
  432. (__objc_exec_class): Initialize duplicate_classes.
  433. (__objc_create_classes_tree): Ignore classes in the
  434. duplicate_classes table.
  435. (__objc_call_load_callback): Same.
  436. (__objc_init_class): If a duplicate class is found, add it to
  437. duplicate_classes instead of aborting. Return YES if the class is
  438. not a duplicate, and NO if it is.
  439. * objc-private/runtime.h (__objc_init_class): Updated prototype.
  440. 2010-12-22 Nicola Pero <nicola.pero@meta-innovation.com>
  441. * objc-private/objc-list.h: Reindented file. No code changes.
  442. * objc-private/sarray.h: Same change.
  443. 2010-12-22 Nicola Pero <nicola.pero@meta-innovation.com>
  444. * objc-private/accessors.h: Removed 'extern "C"' guards. This
  445. file is never compiled with C++.
  446. * objc-private/hash.h: Same change.
  447. * objc-private/objc-list.h: Same change.
  448. * objc-private/objc-sync.h: Same change.
  449. * objc-private/protocols.h: Same change.
  450. * objc-private/runtime.h: Same change.
  451. * objc-private/sarray.h: Same change.
  452. * objc-private/selector.h: Same change.
  453. 2010-12-21 Nicola Pero <nicola.pero@meta-innovation.com>
  454. PR libobjc/18764
  455. * class.c (__objc_add_class_to_hash): Return YES if the class was
  456. added, and NO if it already existed.
  457. * init.c (__objc_init_class): If __objc_add_class_to_hash returns
  458. NO, then abort the program with an error message.
  459. * objc-private/runtime.h (__objc_add_class_to_hash): Updated
  460. declaration.
  461. 2010-12-21 Nicola Pero <nicola.pero@meta-innovation.com>
  462. * init.c (_objc_load_callback): Initialize with 0.
  463. (__objc_call_callback): Renamed to __objc_call_load_callback.
  464. Check _objc_load_callback only once, and if it is not set, return
  465. immediately.
  466. (objc_send_load): Updated call to __objc_call_callback.
  467. 2010-12-21 Nicola Pero <nicola.pero@meta-innovation.com>
  468. PR libobjc/16110
  469. * init.c (__objc_send_message_in_list): Renamed to
  470. __objc_send_load_using_method_list. Do not take an 'op' argument.
  471. Register the 'load' selector if needed.
  472. (__objc_send_load): Do not register the 'load' selector. Updated
  473. call to __objc_send_message_in_list.
  474. (__objc_create_classes_tree): Add the class of any claimed
  475. category that was loaded in the module to the list of classes for
  476. which we try to execute +load.
  477. 2010-12-21 Nicola Pero <nicola.pero@meta-innovation.com>
  478. * objc-private/common.h: When DEBUG is defined, include <stdio.h>.
  479. Updated comments.
  480. * init.c (__objc_tree_insert_class): Use %p, not %x, when printing
  481. a pointer using DEBUG_PRINTF.
  482. 2010-12-21 Nicola Pero <nicola.pero@meta-innovation.com>
  483. PR libobjc/45953
  484. * selector.c (__sel_register_typed_name): When registering a new
  485. selector with the same name as an existing one, reuse the existing
  486. name string. Also updated types, casts and comments in the whole
  487. function.
  488. 2010-12-21 Nicola Pero <nicola.pero@meta-innovation.com>
  489. * objc-private/module-abi-8.h (struct objc_symtab): Declare 'refs'
  490. to be 'struct objc_selector *' and not 'SEL'.
  491. * init.c (__objc_exec_class): Call
  492. __objc_register_selectors_from_module instead of iterating over
  493. each selector and calling __sel_register_typed_name for each.
  494. * objc-private/selector.h: Declare
  495. __objc_register_selectors_from_module instead of
  496. __sel_register_typed_name.
  497. * selector.c (__objc_register_selectors_from_module): New.
  498. (__sel_register_typed_name): Made static.
  499. 2010-12-21 Nicola Pero <nicola.pero@meta-innovation.com>
  500. * linking.m: Do not include objc/NXConstStr.h.
  501. 2010-12-21 Nicola Pero <nicola.pero@meta-innovation.com>
  502. * objc-private/runtime.h (DEBUG_PRINTF): Moved from here ...
  503. * objc-private/common.h (DEBUG_PRINTF): To here.
  504. * hash.c: Do not include objc-private/runtime.h and objc/thr.h.
  505. 2010-12-21 Nicola Pero <nicola.pero@meta-innovation.com>
  506. * hash.c: Tidied up comments and indentation. No code changes.
  507. 2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
  508. PR libobjc/47012
  509. * accessors.m (objc_getProperty): If not atomic, do not
  510. retain/autorelease the returned value.
  511. 2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
  512. * objc-private/runtime.h (__objc_selector_max_index,
  513. __objc_init_selector_tables, __objc_register_selectors_from_class,
  514. __objc_register_selectors_from_list,
  515. __objc_register_selectors_from_description_list): Moved to ...
  516. * objc-private/selector.h: ... here.
  517. 2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
  518. * objc-private/runtime.h (__objc_class_links_resolved): Removed.
  519. (__objc_print_dtable_stats): Removed.
  520. (__sel_register_typed_name): Removed.
  521. * sendmsg.c (__objc_print_dtable_stats): Use 'void' as argument.
  522. 2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
  523. * init.c (__objc_exec_class): Call __objc_resolve_class_links (),
  524. if appropriate, after loading the module.
  525. 2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
  526. * sendmsg.c (method_setImplementation): Do not declare.
  527. 2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
  528. * objc/message.h: Updated comments.
  529. * objc/runtime.h: Updated comments.
  530. 2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
  531. * class.c (objc_lookupClass): Renamed to objc_lookUpClass.
  532. * protocols.c: Updated all calls to objc_lookupClass to call
  533. objc_lookUpClass instead.
  534. * sendmsg.c (objc_lookupClass): Do not declare.
  535. (get_imp): Update call to objc_lookupClass to call
  536. objc_lookUpClass instead.
  537. * objc/runtime.h (objc_lookupClass): Renamed to objc_lookUpClass.
  538. 2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
  539. * objc/runtime.h (class_ivar_set_gcinvisible): Declare.
  540. * sendmsg.c (_CLS_IN_CONSTRUCTION, CLS_IS_IN_CONSTRUCTION): Do not
  541. define. Updated comments.
  542. 2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
  543. * objc/encoding.h: Updated comments.
  544. * objc/runtime.h: Updated comments.
  545. (objc_setGetUnknownClassHandler): Mark with objc_EXPORT.
  546. (objc_sizeof_type): Same.
  547. (objc_alignof_type): Same.
  548. (objc_aligned_size): Same.
  549. (objc_promoted_size): Same.
  550. (objc_skip_type_qualifiers): Same.
  551. (objc_skip_typespec): Same.
  552. (objc_skip_offset): Same.
  553. (objc_skip_argspec): Same.
  554. (objc_get_type_qualifiers): Same.
  555. (objc_layout_structure): Same.
  556. (objc_layout_structure_next_member): Same.
  557. (objc_layout_finish_structure): Same.
  558. (objc_layout_structure_get_info): Same.
  559. 2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
  560. * init.c: Updated comments.
  561. * objc/objc-api.h: Updated comments.
  562. * objc/runtime.h (_objc_load_callback): Declare.
  563. 2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
  564. * objc/Object.h: Include deprecated/typedstream.h and
  565. deprecated/hash.h instead of typedstream.h. Updated comments.
  566. 2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
  567. * Makefile.in (OBJC_DEPRECATED_H): Added objc_msg_sendv.h.
  568. * objc/deprecated/objc_msg_sendv.h: New.
  569. * objc/message.h: Do not define retval_t, apply_t, arglist,
  570. arglist_t, objc_msg_sendv, now in
  571. objc/deprecated/objc_msg_sendv.h.
  572. * objc/objc.h: Do not include message.h; include
  573. objc/deprecated/objc_msg_sendv.h instead. Tidied up comments.
  574. * sendmsg.c: Include objc/message.h.
  575. * thr.c: Include objc/message.h.
  576. 2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
  577. * objc/objc-exception.h: Include objc-decls.h. Mark all
  578. functions with objc_EXPORT.
  579. * objc/objc-sync.h: Same change.
  580. 2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
  581. * Protocol.m: Moved all methods, with the exception of -isEqual:,
  582. into the 'Deprecated' category.
  583. * objc/Protocol.h: Removed all methods, moved to
  584. objc/deprecated/Protocol.h. Include objc/deprecated/Protocol.h.
  585. * objc/deprecated/Protocol.h: New.
  586. * Makefile.in (OBJC_DEPRECATED_H): Added Protocol.h.
  587. 2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
  588. * init.c: Include objc-private/selector.h. Do not declare
  589. __sel_register_typed_name.
  590. * objc-private/selector.h (__sel_register_typed_name): Declare.
  591. * selector.c: Include objc-private/selector.h.
  592. 2010-12-18 Nicola Pero <nicola.pero@meta-innovation.com>
  593. * class.c: Tidied up comments and indentation. No code changes.
  594. * error.c: Same.
  595. * exception.c: Same.
  596. * init.c: Same.
  597. * ivars.c: Same.
  598. * memory.c: Same.
  599. * objc-foreach.c: Same.
  600. * objc-sync.c: Same.
  601. * objects.c: Same.
  602. * protocols.c: Same.
  603. * sarray.c: Same.
  604. * thr.c: Same.
  605. 2010-12-17 Nicola Pero <nicola.pero@meta-innovation.com>
  606. * init.c: Include objc/runtime.h and objc-private/module-abi-8.h
  607. instead of objc/objc-api.h.
  608. (init_check_module_version): Take a 'struct objc_module *'
  609. argument instead of 'Module_t'. Use 'struct objc_module *'
  610. instead of 'Module_t'.
  611. (__objc_created_classes_tree): Take a 'struct objc_module *'
  612. argument instead of 'Module_t'; use 'struct objc_symtab *' instead
  613. of 'Symtab_t'.
  614. (__objc_call_callback): Take a 'struct objc_module *' argument
  615. instead of 'Module_t'; use 'struct objc_symtab *' instead of
  616. 'Symtab_t' and 'struct objc_category *' instead of 'Category_t'.
  617. (_objc_load_callback): Take a 'struct objc_category *' argument
  618. instead of 'Category *'.
  619. (class_superclass_of_class): Use objc_getClass() instead of
  620. objc_lookup_class().
  621. (create_tree_of_subclasses_inherited_from): Same change (also, use
  622. an explicit 'if' instead of '?').
  623. (objc_init_statics): Same change.
  624. (objc_send_load): Same change.
  625. (__objc_init_protocol): same change.
  626. (__objc_send_message_in_list): Take a 'struct objc_method_list *'
  627. argument instead of 'MethodList_t'. Use 'struct objc_method *'
  628. instead of 'Method_t'.
  629. (__objc_send_load): Use 'struct objc_method_list *' instead of
  630. 'MethodList_t'. Use sel_registerName() instead of
  631. sel_register_name().
  632. (__objc_exec_class): Take a 'struct objc_module *' argument
  633. instead of 'Module_t'. Use 'struct objc_symtab *' instead of
  634. 'Symtab_t'. Use objc_getClass() instead of objc_lookup_class().
  635. Use 'struct objc_category *' instead of 'Category_t'.
  636. 2010-12-16 Nicola Pero <nicola.pero@meta-innovation.com>
  637. * sendmsg.c: Include objc/runtime.h instead of objc/objc-api.h.
  638. Include objc-private/module-abi-8.h and objc-private/selector.h
  639. instead of objc/encoding.h.
  640. (objc_msg_lookup_super): Use super->super_class instead of
  641. super->class.
  642. (method_get_first_argument, method_get_next_argument): Declare
  643. locally.
  644. (class_get_instance_method): Declare before using.
  645. (objc_msg_sendv): Use 'struct objc_method' instead of 'Method'.
  646. (__objc_init_dispatch_tables, __objc_send_initialize): Use
  647. sel_registerName() instead of sel_register_name().
  648. (__objc_forward): Use sel_getName() instead of sel_get_name().
  649. (objc_get_uninstalled_dtable): Use 'void' as argument.
  650. * objc-private/selector.h: New.
  651. 2010-12-15 Nicola Pero <nicola.pero@meta-innovation.com>
  652. * objc/message.h (objc_super): When using the modern API, do not
  653. define Super and Super_t, and always use 'super_class' for the
  654. super class field.
  655. (objc_msg_lookup_super): Updated prototype to use 'struct
  656. objc_super *' instead of 'Super_t'.
  657. * sendmsg.c (objc_msg_lookup_super): Updated prototype to use
  658. 'struct objc_super *' instead of 'Super_t'.
  659. 2010-12-15 Nicola Pero <nicola.pero@meta-innovation.com>
  660. * objc/message.h: Update comments, reindented code and moved
  661. deprecated types and functions at the end of the file. No code
  662. changes.
  663. 2010-12-15 Nicola Pero <nicola.pero@meta-innovation.com>
  664. * ivars.c (class_addIvar): Use the 'size' argument instead of
  665. trying to calculate it using objc_sizeof_type().
  666. * objc/runtime.h (class_addIvar): Updated comments.
  667. 2010-12-15 Nicola Pero <nicola.pero@meta-innovation.com>
  668. * sendmsg.c: Reindented some code and tidied up comments. No
  669. actual code changes.
  670. 2010-12-14 Nicola Pero <nicola.pero@meta-innovation.com>
  671. * objc/Object.h: Moved all the methods, with the exception of
  672. -class and -isEqual:, into ...
  673. * objc/deprecated/Object.h: here.
  674. * Object.m: Moved all the methods, with the exception of -class
  675. and -isEqual: into the 'Deprecated' category.
  676. 2010-12-14 Nicola Pero <nicola.pero@meta-innovation.com>
  677. * objects.c (object_copy): Do not #undef as we are no longer
  678. including objc/objc-api.h.
  679. * selector.c: Include objc/runtime.h and
  680. objc-private/module-abi-8.h. Do not include objc/objc-api.h and
  681. objc/encoding.h. Updated
  682. (__objc_register_selectors_from_class): Use struct
  683. objc_method_list * instead of MethodList_t.
  684. (__objc_register_selectors_from_list): Use Method instead of
  685. Method_t.
  686. (struct objc_method_description_list): Do not define here.
  687. (__objc_register_instance_methods_to_class): Use struct
  688. objc_method_list * instead of MethodList_t and Method instead of
  689. Method_t.
  690. 2010-12-14 Nicola Pero <nicola.pero@meta-innovation.com>
  691. * selector.c: Reindented some code and tidied up comments. No
  692. actual code changes.
  693. 2010-12-13 Iain Sandoe <iains@gcc.gnu.org>
  694. * encoding.c (_darwin_rs6000_special_round_type_align): New.
  695. (darwin_rs6000_special_round_type_align): Adjust to use new routine.
  696. 2010-12-11 Nicola Pero <nicola.pero@meta-innovation.com>
  697. * sendmsg.c (selector_resolveClassMethod): New.
  698. (selector_resolveInstanceMethod): New.
  699. (__objc_resolve_class_method): New.
  700. (__objc_resolve_instance_method): New.
  701. (get_imp): Call __objc_resolve_class_method or
  702. __objc_resolve_instance_method at the appropriate time.
  703. (objc_msg_lookup): Same.
  704. (class_getClassMethod): Same.
  705. (class_getInstanceMethod): Same.
  706. (__objc_init_dispatch_tables): Initialize
  707. selector_resolveClassMethod and selector_resolveInstanceMethod.
  708. * objc/runtime.h: Updated documentation of class_getClassMethod,
  709. class_getInstanceMethod and class_getMethodImplementation.
  710. 2010-12-11 Nicola Pero <nicola.pero@meta-innovation.com>
  711. * objc-private/module-abi-8.h (struct objc_symtab): Updated
  712. description of sel_ref_cnt and refs.
  713. * objc/deprecated/struct_objc_symtab.h (objc_symtab): Same change.
  714. 2010-12-06 Dave Korn <dave.korn.cygwin@gmail.com>
  715. PR target/40125
  716. PR lto/46695
  717. * configure.ac (extra_ldflags_libobjc): Invoke ACX_LT_HOST_FLAGS.
  718. * Makefile.in (lt_host_flags): Import AC_SUBST'd value.
  719. * aclocal.m4: Regenerate.
  720. * configure: Regenerate.
  721. 2010-12-03 Matthias Klose <doko@ubuntu.com>
  722. * configure.ac (VERSION): Bump the version to 3:0:0.
  723. * configure: Regenerate.
  724. 2010-11-23 Richard Frith-Macdonald <rfm@gnu.org>
  725. * sendmsg.c (get_imp): Fixed call to __objc_get_forward_imp to
  726. pass nil as the receiver since we don't know the receiver at this
  727. point.
  728. 2010-11-18 Nicola Pero <nicola.pero@meta-innovation.com>
  729. * ivars.c: Include stdlib.h.
  730. * protocols.c: Same change.
  731. 2010-10-24 Nicola Pero <nicola.pero@meta-innovation.com>
  732. * Makefile.in (OBJC_SOURCE_FILES): Added accessors.m.
  733. * accessors.m: New.
  734. * init.c: Include objc-private/accessors.h.
  735. (__objc_exec_class): Call __objc_accessors_init.
  736. * objc-private/accessors.h: New.
  737. 2010-10-17 Nicola Pero <nicola.pero@meta-innovation.com>
  738. * objc/message.h: Moved initial includes outside of extern "C".
  739. * objc/runtime.h: Add extern "C" for Objective-C++.
  740. 2010-10-17 Nicola Pero <nicola.pero@meta-innovation.com>
  741. * init.c (objc_send_load): Do not wait for NXConstantString to be
  742. registered before executing +load. There is no point if
  743. -fconstant-string-class=xxx is used when compiling all modules,
  744. as is the case for almost all users.
  745. * linking.m (__objc_linking): Do not try to forcefully link in
  746. NXConstantString.
  747. 2010-10-16 Nicola Pero <nicola.pero@meta-innovation.com>
  748. * objc/runtime.h: Updated comments.
  749. (class_addMethod): New.
  750. (class_addIvar): New.
  751. (class_replaceMethod): New.
  752. (objc_allocateClassPair): New.
  753. (objc_registerClassPair): New.
  754. (objc_disposeClassPair): New.
  755. * class.c (objc_allocateClassPair): New.
  756. (objc_registerClassPair): New.
  757. (objc_disposeClassPair): New.
  758. (class_getSuperclass): Return Nil if a class is in construction.
  759. * init.c (__objc_exec_class): Call __objc_init_class.
  760. (__objc_init_class): New.
  761. * ivars.c (class_copyIvarList): Return NULL if class is in
  762. construction. Do not lock the runtime mutex.
  763. (class_getInstanceVariable): Return NULL if class is in
  764. construction. Do not lock the runtime mutex.
  765. (class_addIvar): New.
  766. * sendmsg.c (class_addMethod): New.
  767. (class_replaceMethod): New.
  768. * objc-private/module-abi-8.h (__CLS_SETNOTINFO): New.
  769. (_CLS_IN_CONSTRUCTION): New.
  770. (CLS_IS_IN_CONSTRUCTION): New.
  771. (CLS_SET_IN_CONSTRUCTION): New.
  772. (CLS_SET_NOT_IN_CONSTRUCTION): New.
  773. * objc-private/runtime.h (__objc_init_class): New.
  774. 2010-10-16 Nicola Pero <nicola.pero@meta-innovation.com>
  775. * class.c (class_getSuperclass): Call __objc_resolve_class_links
  776. if the class is not resolved yet.
  777. * ivars.c (class_getInstanceVariable): Use class_getSuperclass.
  778. 2010-10-16 Nicola Pero <nicola.pero@meta-innovation.com>
  779. * objc/runtime.h (class_getIvarLayout): New.
  780. (class_getWeakIvarLayout): New.
  781. (class_setIvarLayout): New.
  782. (class_setWeakIvarLayout): New.
  783. * ivars.c (class_getIvarLayout): New.
  784. (class_getWeakIvarLayout): New.
  785. (class_setIvarLayout): New.
  786. (class_setWeakIvarLayout): New.
  787. 2010-10-15 Nicola Pero <nicola.pero@meta-innovation.com>
  788. * objc/runtime.h (class_copyPropertyList): New.
  789. (class_getProperty): New.
  790. (property_getAttributes): New.
  791. (property_getName): New.
  792. * ivars.c (class_copyPropertyList): New.
  793. (class_getProperty): New.
  794. (property_getAttributes): New.
  795. (property_getName): New.
  796. 2010-10-15 Nicola Pero <nicola.pero@meta-innovation.com>
  797. * objc-private/runtime.h (__objc_update_classes_with_methods): New.
  798. * class.c (__objc_update_classes_with_methods): New.
  799. (objc_getClassList): Do not lock the class lock.
  800. * methods.c (method_exchangeImplementations): New.
  801. (method_setImplementation): New.
  802. * objc/runtime.h (method_setImplementation): New.
  803. (method_exchangeImplementations): New.
  804. 2010-10-15 Nicola Pero <nicola.pero@meta-innovation.com>
  805. * Protocol.m: Include objc/runtime.h and
  806. objc-private/module-abi-8.h instead of objc/objc-api.h. Do not
  807. repeat Protocol's instance variables.
  808. (struct objc_method_description_list): Do not define here.
  809. ([-conformsTo:]): Reimplemented on top of protocol_conformsTo().
  810. ([descriptionForInstanceMethod:]): Use sel_isEqual() to compare
  811. selectors directly instead of getting names and then using strcmp.
  812. ([descriptionForClassMethod:]): Same change.
  813. ([-isEqual:]): Reimplemented on top of protocol_isEqual().
  814. * protocols.c (protocol_getMethodDescription): Use sel_isEqual()
  815. to compare selectors directly instead of getting names and then
  816. using strcmp.
  817. * objc/Protocol.h: Updated comments.
  818. 2010-10-15 Nicola Pero <nicola.pero@meta-innovation.com>
  819. * init.c (__objc_init_protocol): New function which fixes up a
  820. protocol's class pointer, registers it with the runtime, register
  821. all protocol selectors and registers associated protocols too.
  822. (objc_init_statics): Detect if we are initializing protocols, and
  823. if so, use __objc_init_protocol instead of only fixing up the
  824. class pointer.
  825. (__objc_init_protocls): Use __objc_init_protocol.
  826. * objc-private/module-abi-8.h: Updated comments.
  827. * objc-private/runtime.h
  828. (__objc_register_selectors_from_description_list): New.
  829. * selector.c (__objc_register_selectors_from_description_list):
  830. New. (struct objc_method_description_list): Declare.
  831. * Protocol.m ([-descriptionForInstanceMethod:]): Use sel_get_name
  832. when accessing the name of a method, which is now correctly a SEL.
  833. ([-descriptionForClassMethod:]): Same change.
  834. * protocols.c (protocol_getMethodDescription): Same change.
  835. * objc/runtime.h: Updated comments.
  836. (sel_registerTypedName): Fixed typo in function name.
  837. 2010-10-13 Nicola Pero <nicola.pero@meta-innovation.com>
  838. PR libobjc/23214
  839. * init.c (objc_init_statics): Do not skip the initialization of a
  840. statics list if the first object has already been initialized; in
  841. the case of Protocols, while the first one may have been
  842. initialized, some others may not have been initialized yet.
  843. 2010-10-13 Nicola Pero <nicola.pero@meta-innovation.com>
  844. * Makefile.in (OBJC_DEPRECATED_H): Added
  845. objc_get_uninstalled_dtable, objc_object_alloc.h and
  846. struct_objc_static_instances.h.
  847. 2010-10-13 Nicola Pero <nicola.pero@meta-innovation.com>
  848. * encoding.c (method_copyReturnType): New.
  849. (method_copyArgumentType): New.
  850. (method_getReturnType): New.
  851. (method_getArgumentType): New.
  852. * methods.c (method_getDescription): New.
  853. * objc/runtime.h (method_copyReturnType): New.
  854. (method_copyArgumentType): New.
  855. (method_getReturnType): New.
  856. (method_getArgumentType): New.
  857. (method_getDescription): New.
  858. 2010-10-12 Nicola Pero <nicola.pero@meta-innovation.com>
  859. * encoding.c: Tidied up comments.
  860. (objc_skip_variable_name): New static inline function.
  861. (objc_sizeof_type): Use objc_skip_variable_name instead of copying
  862. the same code over and over.
  863. (objc_alignof_type): Same.
  864. (objc_aligned_size): Same.
  865. (objc_promoted_size): Same.
  866. (objc_skip_typespec): Same.
  867. (objc_layout_structure_next_member): Same.
  868. (objc_skip_offset): Skip a '-' before the digits (if any). Fixed
  869. historical bug where objc_skip_offset would skip one byte even if
  870. there is no offset: check that the first offset digit is actually
  871. a digit before skipping it.
  872. (objc_skip_type_qualifiers): Mark as inline.
  873. (objc_skip_typespec): Mark as inline.
  874. 2010-10-12 Nicola Pero <nicola.pero@meta-innovation.com>
  875. * Makefile.in (C_SOURCE_FILES): Added methods.c.
  876. * encoding.c (method_getNumberOfArguments): New.
  877. (method_get_number_of_arguments): Call
  878. method_getNumberOfArguments.
  879. * ivars.c (ivar_getName): Check for NULL variable argument.
  880. (ivar_getOffset): Check for NULL variable argument.
  881. (ivar_getTypeEncoding): Check for NULL variable argument.
  882. (class_copyIvarList): New.
  883. * methods.c: New.
  884. * protocols.c (class_copyProtocolList): Check for Nil class_
  885. argument.
  886. * sendmsg.c: Use 'struct objc_method *' instead of Method_t, and
  887. 'struct objc_method_list *' instead of MethodList_t.
  888. (class_getMethodImplementation): New.
  889. (class_respondsToSelector): New.
  890. (class_getInstanceMethod): New.
  891. (class_getClassMethod): New.
  892. * objc/runtime.h: Updated comments.
  893. (class_copyIvarList): New.
  894. (class_getInstanceMethod): New.
  895. (class_getClassMethod): New.
  896. (class_getMethodImplementation): New.
  897. (class_respondsToSelector): New.
  898. (method_getName): New.
  899. (method_getImplementation): New.
  900. (method_getTypeEncoding): New.
  901. (class_copyMethodList): New.
  902. (method_getNumberOfArguments): New.
  903. 2010-10-12 Nicola Pero <nicola.pero@meta-innovation.com>
  904. * class.c: Include objc/runtime.h and objc-private/module-abi-8.h
  905. instead of objc/objc-api.h.
  906. (objc_get_unknown_class_handler): Do not define.
  907. (class_isMetaClass): New.
  908. (class_getSuperclass): New.
  909. (class_getVersion): New.
  910. (class_setVersion): New.
  911. (class_getInstanceSize): New.
  912. * exceptions.c: Include objc/runtime.h instead of objc/objc-api.h.
  913. (is_kind_of_exception_matcher): Use objc_getSuperclass instead of
  914. objc_get_super_class.
  915. (get_ttype_entry): Use objc_getRequiredClass instead of
  916. objc_get_class.
  917. * ivars.c (class_getClassVariable): New.
  918. * objects.c: Include objc/runtime.h, objc/thr.h and
  919. objc-private/module-abi-8.h instead of objc/objc-api.h
  920. * objc/runtime.h (class_getClassVariable): New.
  921. (class_isMetaClass): New.
  922. (class_getSuperclass): New.
  923. (class_getVersion): New.
  924. (class_setVersion): New.
  925. (class_getInstanceSize): New.
  926. * objc-private/module-abi-8.h (HOST_BITS_PER_LONG): New (from
  927. objc/objc-api.h)
  928. (__CLS_INFO): Same.
  929. (__CLS_ISINFO): Same.
  930. (__CLS_SETINFO): Same.
  931. (CLS_ISMETA): Same.
  932. (CLS_ISCLASS): Same.
  933. (CLS_ISRESOLV): Same.
  934. (CLS_SETRESOLV): Same.
  935. (CLS_ISINITIALIZED): Same.
  936. (CLS_SETINITIALIZED): Same.
  937. (CLS_GETNUMBER): Same.
  938. (CLS_SETNUMBER): Same.
  939. 2010-10-12 Nicola Pero <nicola.pero@meta-innovation.com>
  940. * archive.c: Do not include objc/objc.h.
  941. * class.c: Do not include objc/objc.h.
  942. * encoding.c: Include objc/runtime.h, ctype.h and
  943. objc-private/module-abi-8.h instead of objc/objc-api.h and
  944. objc/encoding.h.
  945. * error.c: Do not include objc/objc.h.
  946. * gc.c: Include tconfig.h and objc/encoding.h only if
  947. OBJC_WITH_GC.
  948. * hash.c: Include objc/runtime.h and objc/thr.h instead of
  949. objc/objc-api.h. Do not include objc/objc.h.
  950. * init.c: Do not include objc/objc.h.
  951. * ivars.c: Include objc/runtime.h, objc-private/module-abi-8.h and
  952. objc/thr.h instead of objc/objc-api.h. Do not include
  953. objc/objc.h.
  954. * linking.m: Tidied comment.
  955. * memory.c: Include objc/runtime.h instead of objc/objc-api.h.
  956. Do not include objc/objc.h.
  957. * objects.c: Do not include objc/objc.h.
  958. * objc-sync.c: Include objc/runtime.h instead of objc/objc-api.h.
  959. * protocols.c: Do not include objc/objc.h.
  960. * sarray.c: Include objc/runtime.h instead of objc/objc-api.h. Do
  961. not include objc/objc.h.
  962. * selector.c: Do not include objc/objc.h.
  963. * sendmsg.c: Do not include objc/objc.h.
  964. * thr.c: Include objc/runtime.h instead of objc/objc-api.h.
  965. Do not include objc/objc.h.
  966. * objc/objc-decls.h: Reindented code.
  967. * objc/runtime.h Include objc-decls.h. Updated comments.
  968. (objc_malloc): New.
  969. (objc_atomic_malloc): New.
  970. (objc_calloc): New.
  971. (objc_realloc): New.
  972. (objc_free): New.
  973. * objc-private/runtime.h: Updated comments.
  974. 2010-10-12 Nicola Pero <nicola.pero@meta-innovation.com>
  975. * Makefile.in (C_SOURCE_FILES): Added protocols.c.
  976. * objc-private/protocols.h: New.
  977. * protocols.c: New.
  978. * init.c: Include objc-private/protocols.h.
  979. (__objc_exec_class): Call __objc_protocols_init on startup.
  980. (__objc_init_protocols): Call __objc_protocols_add_protocol.
  981. * objc-private/runtime.h: Use (struct objc_method_list *) instead
  982. of MethodList_t, and (struct objc_method *) instead of Method_t.
  983. * objc/deprecated/struct_objc_class.h: Define
  984. __objc_STRUCT_OBJC_CLASS_defined.
  985. * objc-private/module-abi-8.h (struct
  986. objc_method_description_list): New.
  987. (struct objc_class): Only define if
  988. __objc_STRUCT_OBJC_CLASS_defined is undefined.
  989. * objc/runtime.h (class_getName): New.
  990. (objc_getProtocol): New.
  991. (objc_copyProtocolList): New.
  992. (class_addProtocol): New.
  993. (class_conformsToProtocol): New.
  994. (class_copyProtocolList): New.
  995. (protocol_conformsToProtocol): New.
  996. (protocol_isEqual): New.
  997. (protocol_getName): New.
  998. (protocol_getMethodDescription): New.
  999. (protocol_copyMethodDescriptionList): New.
  1000. (protocol_getProperty): New.
  1001. (protocol_copyPropertyList): New.
  1002. (protocol_copyProtocolList): New.
  1003. * class.c (class_getName): New.
  1004. * selector.c (sel_isEqual): New.
  1005. 2010-10-12 Nicola Pero <nicola.pero@meta-innovation.com>
  1006. * selector.c (sel_getName): Return "<null selector>" for a NULL
  1007. argument.
  1008. (sel_get_name): Return 0 for a NULL argument.
  1009. * objc/runtime.h (sel_getName): Updated documentation.
  1010. * objc-private/hash.h (class_hash_table): Unused declaration
  1011. removed.
  1012. (module_hash_table): Same.
  1013. * objc/deprecated/hash.h: Same changes.
  1014. 2010-10-11 Nicola Pero <nicola.pero@meta-innovation.com>
  1015. * class.c (objc_getClassList): New.
  1016. (objc_getRequiredClass): New.
  1017. (objc_getMetaClass): New.
  1018. (objc_lookupClass): New.
  1019. (objc_getClass): New.
  1020. (__objc_get_unknown_class_handler): New.
  1021. (objc_setGetUnknownClassHandler): New.
  1022. (objc_get_class): Use __objc_get_unknown_class_handler.
  1023. (objc_lookup_class): Call objc_getClass.
  1024. * objc/objc-api.h: Updated comment and copyright notice.
  1025. * objc/runtime.h: Updated comments.
  1026. (objc_getClass): New.
  1027. (objc_lookupClass): New.
  1028. (objc_getMetaClass): New.
  1029. (objc_getRequiredClass): New.
  1030. (objc_getClassList): New.
  1031. (objc_setGetUnknownClassHandler): New.
  1032. (objc_get_unknown_class_handler): New.
  1033. * objc-private/runtime.h: Use __objc_private_runtime_INCLUDE_GNU
  1034. instead of __objc_runtime_INCLUDE_GNU as include guard.
  1035. * objc-private/error.h (_objc_abort): Mark as noreturn.
  1036. 2010-10-11 Nicola Pero <nicola.pero@meta-innovation.com>
  1037. * Makefile.in (C_SOURCE_FILES): Added ivars.c.
  1038. * ivars.c: New.
  1039. * objc/objc.h: Updated comments.
  1040. * objc/runtime.h (object_getClass): New.
  1041. (object_getClassName): New.
  1042. (object_setClass): New.
  1043. (class_getInstanceVariable): New.
  1044. (object_getIndexedIvars): New.
  1045. (object_getInstanceVariable): New.
  1046. (object_setInstanceVariable): New.
  1047. (object_getIvar): New.
  1048. (object_setIvar): New.
  1049. (ivar_getName): New.
  1050. (ivar_getOffset): New.
  1051. (ivar_getTypeEncoding): New.
  1052. * objc-private/module-abi-8.h (struct objc_class): Added.
  1053. * objects.c (object_getClassName): New.
  1054. (object_setClass): New.
  1055. 2010-10-11 Nicola Pero <nicola.pero@meta-innovation.com>
  1056. * objc/objc.h: Updated comments.
  1057. * objc/objc-api.h: (object_copy): Added one argument; use a
  1058. #define to maintain backwards-compatibility. Moved
  1059. _objc_object_alloc, _objc_object_copy, _objc_object_dispose and
  1060. objc_get_uninstalled_dtable into
  1061. objc/deprecated/objc_get_uninstalled_dtable.h and
  1062. objc/deprecated/objc_object_alloc.h. Include these files.
  1063. * objc/deprecated/objc_get_uninstalled_dtable.h: New.
  1064. * objc/deprecated/objc_object_alloc.h: New.
  1065. * objc/runtime.h (set_getName): New.
  1066. (sel_getType): New.
  1067. (sel_getUid): New.
  1068. (sel_registerName): New.
  1069. (sel_registerTypedName): New.
  1070. (sel_isEqual): New.
  1071. (class_createInstance): New.
  1072. (object_copy): New.
  1073. (object_dispose): New.
  1074. * objects.c: Do not include tconfig.h. Include gc_typed.h if
  1075. building the garbage collection version.
  1076. (__objc_object_alloc): Removed.
  1077. (__objc_object_copy): Removed.
  1078. (__objc_object_dispose): Removed.
  1079. (class_createInstance): New from code in class_create_instance.
  1080. Cast second argument of GC_malloc_explicitly_typed. Use
  1081. objc_calloc. Do not call _objc_object_alloc.
  1082. (class_create_instance): Call class_createInstance.
  1083. (object_copy): Added extraBytes argument. Do not call
  1084. _objc_object_copy.
  1085. (object_dispose): Do not call _objc_object_dispose.
  1086. * memory.c (objc_free): When using garbage collection, mark the
  1087. argument as unused.
  1088. * selector.c (sel_getName): New.
  1089. (sel_get_name): Call sel_getName.
  1090. (sel_getType): New.
  1091. (sel_get_type): Call sel_getType.
  1092. (sel_registerName): New.
  1093. (sel_register_name): Call sel_registerName.
  1094. (sel_registerTypedName): New.
  1095. (sel_register_typed_name): Call sel_registerTypedName.
  1096. (sel_getUid): New.
  1097. (sel_get_uid): Call sel_getUid.
  1098. 2010-10-10 Nicola Pero <nicola.pero@meta-innovation.com>
  1099. * objc/objc-api.h: Define Method, Method_t, Category and
  1100. Category_t. Prevent including this file at the same time as
  1101. objc/runtime.h. Updated comments.
  1102. * objc/deprecated/struct_objc_method.h: Do not define Method,
  1103. Method_t.
  1104. * objc/deprecated/struct_objc_category.h: Do not define Category,
  1105. Category_t.
  1106. * objc-private/module-abi-8.h: New file containing a copy of all
  1107. the structure definitions. Not used yet.
  1108. * objc/encoding.h (objc_aligned_size): Removed duplicate
  1109. declaration. Updated comments.
  1110. * objc/runtime.h: Added Ivar, objc_property_t, Property, Method,
  1111. Category, struct objc_method_description, _C_ID and similar,
  1112. _C_CONST and similar and _F_CONST and similar. Added
  1113. objc_sizeof_type, objc_alignof_type, objc_aligned_size,
  1114. objc_promoted_size, objc_skip_type_qualifier, objc_skip_typespec,
  1115. objc_skip_offset, objc_skip_argspec, objc_get_type_qualifiers,
  1116. struct objc_struct_layout, objc_layout_structure,
  1117. objc_layout_structure_next_member, objc_layout_finish_structure,
  1118. objc_layout_structure_get_info. Prevent including this file at
  1119. the same time as objc/objc-api.h.
  1120. 2010-10-10 Nicola Pero <nicola.pero@meta-innovation.com>
  1121. * Makefile.in (OBJC_DEPRECATED_H): Added struct_objc_category.h,
  1122. struct_objc_ivar.h, struct_objc_ivar_list.h, struct_objc_method.h,
  1123. struct_objc_method_list.h, struct_objc_module.h,
  1124. struct_objc_protocol_list.h, struct_objc_symtab.h.
  1125. * objc/deprecated/struct_objc_category.h: New.
  1126. * objc/deprecated/struct_objc_ivar.h: New.
  1127. * objc/deprecated/struct_objc_ivar_list.h: New.
  1128. * objc/deprecated/struct_objc_method.h: New.
  1129. * objc/deprecated/struct_objc_method_list.h: New.
  1130. * objc/deprecated/struct_objc_module.h: New.
  1131. * objc/deprecated/struct_objc_protocol_list.h: New.
  1132. * objc/deprecated/struct_objc_symtab.h: New.
  1133. * objc/deprecated/struct_objc_static_instances.h: New.
  1134. * objc/objc-api.h: Definitions of deprecated structures moved into
  1135. the above header fragment files in objc/deprecated/. Include the
  1136. files instead of definition the structures here. Updated
  1137. comments.
  1138. * objc/runtime.h: Updated comments. Do not include objc-api.h.
  1139. (objc_set_enumeration_mutation_handler): Renamed to
  1140. objc_setEnumerationMutationHandler.
  1141. * objc-foreach.c (objc_set_enumeration_mutation_handler): Renamed
  1142. to objc_setEnumerationMutationHandler.
  1143. * objc/objc-exception.h (objc_set_exception_matcher): Renamed to
  1144. objc_setExceptionMatcher.
  1145. (objc_set_uncaught_exception_handler): Renamed to
  1146. objc_setUncaughtExceptionHandler.
  1147. * exception.c: Same changes.
  1148. 2010-10-10 Nicola Pero <nicola.pero@meta-innovation.com>
  1149. * objc-sync.c: Include objc-private/common.h.
  1150. 2010-10-10 Nicola Pero <nicola.pero@meta-innovation.com>
  1151. * objc-foreach.c: Include objc-private/common.h.
  1152. * objc/deprecated/METHOD_NULL.h: New file.
  1153. * objc/objc-api.h: Include deprecated/METHOD_NULL.h instead of
  1154. defining METHOD_NULL here.
  1155. * Makefile.in (OBJC_DEPRECATED_H): Added METHOD_NULL.h.
  1156. * Object.m ([+instancesRespondTo:]): Use (Method_t)0 instead of
  1157. METHOD_NULL.
  1158. ([-respondsTo:]): Same change.
  1159. * objc/objc-api.h (method_get_imp): Converted it into a normal
  1160. function so that we can hide the internals of struct objc_method.
  1161. * sendmsg.c (method_get_imp): Implemented.
  1162. 2010-10-09 Nicola Pero <nicola.pero@meta-innovation.com>
  1163. * objc/objc-api.h (struct objc_super, Super, Super_t,
  1164. objc_msg_lookup_super, objc_msg_sendv, objc_msg_forward,
  1165. objc_msg_forward2): Declarations moved to objc/message.h. Include
  1166. message.h here.
  1167. * objc/message.h: Added such declarations; updated comments.
  1168. 2010-10-06 Nicola Pero <nicola.pero@meta-innovation.com>
  1169. Implemented fast enumeration for Objective-C.
  1170. * Makefile.in (C_SOURCE_FILES): Added objc-foreach.c.
  1171. (OBJC_H): Added runtime.h
  1172. * objc-foreach.c: New file.
  1173. * objc/runtime.h: New file.
  1174. 2010-09-30 Kai Tietz <kai.tietz@onevision.com>
  1175. * objc/deprecated/struct_objc_class.h: Add padding
  1176. to avoid warning with -Wpadded.
  1177. 2010-09-26 Nicola Pero <nicola.pero@meta-innovation.com>
  1178. * encoding.c (objc_sizeof_type): Added support for vector type and
  1179. for double long types.
  1180. (objc_alignof_type): Same change.
  1181. (objc_skip_typespec): Same change.
  1182. * objc/encoding.h (_C_GCINVISIBLE): Use '|' for _C_GCINVISIBLE
  1183. instead of '!' since '!' is already used for _C_VECTOR.
  1184. * objc/objc-api.h (_C_LNG_DBL): Added.
  1185. 2010-09-26 Nicola Pero <nicola.pero@meta-innovation.com>
  1186. * libobjc_entry.c: File removed.
  1187. 2010-09-26 Kai Tietz <kai.tietz@onevision.com>
  1188. * sendmsg.c (objc_msg_lookup): Remove inline.
  1189. (objc_get_uninstalled_dtable): Likewise.
  1190. * encoding.c (objc_skip_type_qualifiers): Likewise.
  1191. (objc_skip_offset): Likewise.
  1192. * archive.c (__objc_write_object): Likewise
  1193. (__objc_write_class):
  1194. (__objc_write_selector):
  1195. (objc_read_char):
  1196. (objc_read_unsigned_char):
  1197. (objc_read_short):
  1198. (objc_read_unsigned_short):
  1199. (objc_read_int):
  1200. (objc_read_long):
  1201. (__objc_read_nbyte_uint):
  1202. (objc_read_unsigned_int):
  1203. (objc_read_unsigned_long):
  1204. * objc/objc-decls.h (obc_EXPORT): Remove dllexport for DLL_EXPORT case.
  1205. (objc_EXPORT): Likewise.
  1206. * objc/message.h (objc-decls.h): Add include.
  1207. * objc/objc-api.h: Mark API by objc_EXPORT.
  1208. * libobjc.def (__objc_responds_to): Removed.
  1209. 2010-09-18 Nicola Pero <nicola.pero@meta-innovation.com>
  1210. * hash.c: Include objc-private/hash.h instead of objc/hash.h.
  1211. * objc/sarray.h: Moved into objc/deprecated/sarray.h;
  1212. objc/sarray.h replaced with a placeholder including the file from
  1213. the deprecated/ directory.
  1214. * objc-private/sarray.h: New file (private copy of sarray.h).
  1215. * hash.c: Include <assert.h> instead of "assert.h"
  1216. * sarray.c: Include <assert.h> instead of "assert.h". Include
  1217. objc-private/sarray.h instead of objc/sarray.h.
  1218. * selector.c: Include objc-private/sarray.h instead of
  1219. objc/sarray.h.
  1220. * sendmsg.c: Include <assert.h>. Include objc-private/sarray.h
  1221. instead of objc/sarray.h.
  1222. * Makefile.in (OBJC_DEPRECATED_H): Added sarray.h.
  1223. 2010-09-17 Nicola Pero <nicola.pero@meta-innovation.com>
  1224. * objc-private/objc-list.h (list_remove_elem): Unused function
  1225. removed. (list_nth): Unused function removed. (list_find):
  1226. Unused function removed. (list_lenght): Unused function removed.
  1227. 2010-09-17 Nicola Pero <nicola.pero@meta-innovation.com>
  1228. * objc/hash.h: Moved into objc/deprecated/hash.h; objc/hash.h
  1229. replaced with a placeholder including the file from the
  1230. deprecated/ directory.
  1231. * objc/objc-api.h: Updated includes.
  1232. * objc/typedstream.h: Updated includes.
  1233. * objc-private/hash.h: New file (private copy of hash.h).
  1234. * objc/objc-list.h: Moved into objc/deprecated/objc-list.h;
  1235. objc/objc-list.h replaced with a placeholder including the file
  1236. from the deprecated/ directory.
  1237. * objc-private/objc-list.h: New file (private copy of objc-list.h).
  1238. * init.c: Include objc-private/hash.h and objc-private/objc-list.h
  1239. instead of objc/hash.h and objc/objc-list.h.
  1240. * selector.c: Same change.
  1241. * class.c: Added include <string.h>, which used to be implicitly included
  1242. when hash.h was included.
  1243. * exception.c: Same change.
  1244. * objects.c: Same change.
  1245. * sarray.c: Same change.
  1246. * sendmsg.c: Same change.
  1247. * Makefile.in (OBJC_DEPRECATED_H): Added hash.h and objc-list.h.
  1248. 2010-09-14 Nicola Pero <nicola.pero@meta-innovation.com>
  1249. Implemented objc_sync_enter() and objc_sync_exit(), which are
  1250. required by @synchronized() to work.
  1251. * objc-sync.c: New file.
  1252. * objc/objc-sync.h: New file.
  1253. * objc-private/objc-sync.h: New file.
  1254. * init.c (__objc_exec_class): Call __objc_sync_init() during the
  1255. Objective-C runtime startup.
  1256. * Makefile.in: Added objc-sync.c and objc-sync.h.
  1257. * configure.ac: Added GCC_CHECK_TLS.
  1258. * acinclude.m4: Include ../config/enable.m4 and ../config/tls.m4.
  1259. * configure: Regenerated.
  1260. * config.h.in: Regenerated.
  1261. 2010-09-12 Nicola Pero <nicola.pero@meta-innovation.com>
  1262. * Makefile.in (%_gc.lo): New pattern rules to build the
  1263. garbage-collected version of the library. Removed rules for
  1264. specific files that are no longer needed. Standardized all rules.
  1265. (C_SOURCE_FILES, OBJC_SOURCE_FILES): New variables.
  1266. (OBJS, OBJS_GC): Compute these from C_SOURCE_FILES and
  1267. OBJC_SOURCE_FILES.
  1268. (INCLUDES): Removed the unused include -I$(srcdir)/objc.
  1269. 2010-09-12 Nicola Pero <nicola.pero@meta-innovation.com>
  1270. * memory.c (objc_calloc): Fixed call to GC_malloc when building
  1271. with Garbage Colletion.
  1272. 2010-09-12 Nicola Pero <nicola.pero@meta-innovation.com>
  1273. * memory.c: Do not include objc-private/runtime.h.
  1274. 2010-09-12 Nicola Pero <nicola.pero@meta-innovation.com>
  1275. * objc/deprecated/objc_malloc.h: New file.
  1276. * objc/deprecated/objc_valloc.h: New file.
  1277. * objc/objc-api.h: Include the files instead of defining
  1278. objc_valloc, _objc_malloc() and similar.
  1279. * Makefile.in (OBJC_DEPRECATED_H): Added objc_valloc.h and
  1280. objc_malloc.h.
  1281. * memory.c: Removed the extra layer of indirection of _objc_malloc
  1282. and similar.
  1283. (objc_calloc): Use GC_malloc in the garbage-collected
  1284. implementation as GC_malloc returns memory that is already freed.
  1285. (objc_valloc): Deprecated.
  1286. 2010-09-12 Nicola Pero <nicola.pero@meta-innovation.com>
  1287. * objc/deprecated/objc_error.h: New file.
  1288. * objc/objc-api.h: Include deprecated/objc_error.h instead of
  1289. defining objc_error and related.
  1290. * error.c: New file. Added _objc_abort function which replaces
  1291. objc_error. No change in functionality as they both print an
  1292. error and abort.
  1293. * misc.c: File removed. Code moved into memory.c and error.c.
  1294. * memory.c: New file.
  1295. * objc-private/error.h: New file.
  1296. * archive.c: Include objc-private/error.h and use _objc_abort
  1297. instead of objc_error everywhere.
  1298. * class.c: Same change.
  1299. * encoding.c: Same change.
  1300. * init.c: Same change, and simplified init_check_module_version.
  1301. * memory.c: Same change.
  1302. * sendmsg.c: Same change.
  1303. * thr.c: Same change.
  1304. * Makefile.in (OBJ_DEPRECATED_H): Added objc_error.h.
  1305. (OBJ_H): Reordered list.
  1306. (OBJS): Removed misc.lo, added memory.lo and error.lo.
  1307. (OBJS_GC): Removed misc_gc.lo, added memory_gc.lo and error_gc.lo.
  1308. (misc_gc.lo): Rule removed.
  1309. (error_gc.lo): Rule added.
  1310. (memory_gc.lo): Rule added.
  1311. 2010-09-12 Nicola Pero <nicola.pero@meta-innovation.com>
  1312. * objc/objc.h (__GNU_LIBOBJC__): New #define providing an easy way
  1313. to check the API version. Added some comments.
  1314. * objc-private/common.h: New file.
  1315. * NXConstStr.m: Include objc-private/common.h.
  1316. * Object.m: Same change.
  1317. * Protocol.m: Same change.
  1318. * archive.c: Same change.
  1319. * class.c: Same change.
  1320. * encoding.c: Same change.
  1321. * exception.c: Same change.
  1322. * gc.c: Same change.
  1323. * hash.c: Same change.
  1324. * init.c: Same change.
  1325. * libobjc_entry.c: Same change.
  1326. * linking.m: Same change.
  1327. * misc.c: Same change (and added a comment).
  1328. * nil_method.c: Same change.
  1329. * objects.c: Same change.
  1330. * sarray.c: Same change.
  1331. * selector.c: Same change.
  1332. * sendmsg.c: Same change.
  1333. * thr.c: Same change.
  1334. 2010-09-11 Nicola Pero <nicola.pero@meta-innovation.com>
  1335. * objc/objc-api.h: Removed obsolete #ifdef for NeXTSTEP.
  1336. 2010-09-11 Nicola Pero <nicola.pero@meta-innovation.com>
  1337. * archive.c: Removed not needed includes.
  1338. * class.c: Same change.
  1339. * hash.c: Same change.
  1340. * misc.c: Same change.
  1341. * nil_method.c: Same change.
  1342. * objects.c: Same change.
  1343. * sarray.c: Same change.
  1344. * sendmsg.c: Same change.
  1345. * thr.c: Same change.
  1346. 2010-09-11 Nicola Pero <nicola.pero@meta-innovation.com>
  1347. * objc/runtime.h: Moved to objc-private/runtime.h. Do not include
  1348. all the objc/*.h files.
  1349. * objc-private/runtime.h: New file.
  1350. * archive.c: Include objc-private/runtime.h (and required objc/*.h
  1351. files) instead of objc/runtime.h.
  1352. * class.c: Same change.
  1353. * hash.c: Same change.
  1354. * init.c: Same change.
  1355. * misc.c: Same change.
  1356. * nil_method.c: Same change.
  1357. * objects.c: Same change.
  1358. * sarray.c: Same change.
  1359. * selector.c: Same change.
  1360. * sendmsg.c: Same change.
  1361. * thr.c: Same change.
  1362. 2010-09-11 Nicola Pero <nicola.pero@meta-innovation.com>
  1363. * objc/deprecated/struct_objc_selector.h: New file. Definition of
  1364. 'struct objc_selector' and 'sel_eq' moved here.
  1365. * objc/deprecated/struct_objc_protocol.h: New file. Definition of
  1366. 'struct objc_procotol' moved here.
  1367. * objc/deprecated/struct_objc_class.h: New file. Definition of
  1368. 'struct objc_class' moved here.
  1369. * objc/deprecated/MetaClass.h: New file. Definition of MetClass
  1370. moved here.
  1371. * objc/deprecated/STR.h: New file. Definition of STR moved here.
  1372. * objc/message.h: New file. Definitions for relval_t, apply_t,
  1373. arglist, arglist_t and objc_msg_lookup were moved here.
  1374. * objc/objc.h: Include the above files instead of defining the
  1375. corresponding structs, types and functions here. Added new opaque
  1376. definitions for SEL and Class. Use Class and not 'struct
  1377. objc_class *' in the definition of 'struct objc_object'.
  1378. Commented all types defined in the file. Removed special
  1379. definition of BOOL as 'int' on __vxworks; use 'unsigned char'
  1380. there as well.
  1381. * objc/deprecated/objc-unexpected-exception.h: Renamed to
  1382. objc_unexpected_exception.h.
  1383. * objc/objc-api.h: Updated include of
  1384. objc-unexpetected-exception.h
  1385. * objc/objc-exception.h: Updated comments.
  1386. * Makefile.in (OBJC_H, OBJC_DEPRECATED_H): Added the new header
  1387. files. Reindented list of files.
  1388. 2010-09-10 Nicola Pero <nicola.pero@meta-innovation.com>
  1389. * objc/objc-api.h (objc_trace): Unused variable removed.
  1390. 2010-09-10 Nicola Pero <nicola.pero@meta-innovation.com>
  1391. * objc/deprecated: New directory.
  1392. * objc/deprecated/README: New file.
  1393. * objc/README: New file.
  1394. * objc/typedstream.h: Moved into objc/deprecated/typedstream.h;
  1395. objc/typedstream.h replaced with a placeholder including the file
  1396. from the deprecated/ directory.
  1397. * objc/deprecated/objc-unexpected-exception.h: New file with the
  1398. definition of _objc_unexpected_exception.
  1399. * objc/objc-api.h: Include deprecated/objc-unexcepted-exception.h
  1400. instead of defining _objc_unexpected_exception.
  1401. * objc/deprecated/Object.h: New file with the deprecated Object
  1402. methods in a 'Deprecated' category.
  1403. * objc/Object.h Include deprecated/Object.h instead of defining
  1404. the deprecated methods.
  1405. * Object.m: Moved deprecated methods into 'Deprecated' category.
  1406. * objc-private: New directory.
  1407. * objc-private/README: New file.
  1408. * Makefile.in (OBJC_DEPRECATED_H): New variable.
  1409. (install-headers): Create installation directory for
  1410. OBJC_DEPRECATED_H headers, and install them.
  1411. 2010-09-10 Nicola Pero <nicola.pero@meta-innovation.com>
  1412. * objc/objc-exception.h: Fixed include of objc.h.
  1413. 2010-09-08 Nicola Pero <nicola.pero@meta-innovation.com>
  1414. * objc/objc-exception.h: New file.
  1415. * exception.c (objc_set_uncaught_exception_handler): Implemented.
  1416. (objc_set_exception_matcher): Implemented.
  1417. (objc_exception_throw): Use the uncaught exception handler if set.
  1418. (PERSONALITY_FUNCTION): Use the exception matcher instead of the
  1419. hardcoded isKindOf.
  1420. (isKindOf): Renamed to is_kind_of_exception_matcher. Tidied code
  1421. up. Removed segmentation fault when value is 'nil'.
  1422. * objc/objc-api.h (_objc_unexpected_exception): Mark as
  1423. deprecated.
  1424. * Makefile.in (exception.lo, exception_gc.lo): Use
  1425. -Wno-deprecated-declarations when compiling.
  1426. (OBJC_H): Added objc-exception.h
  1427. 2010-09-08 Nicola Pero <nicola.pero@meta-innovation.com>
  1428. * objc/typedstream.h: Deprecate all functions in the file. This
  1429. file is obsolete.
  1430. * objc/Object.h ([+streamVersion:], [-read:], [-write:],
  1431. [-awake]): Documented that these methods are deprecated. Added a
  1432. brief description of the Object class and its relationship to the
  1433. NSObject class.
  1434. * Makefile.in: Compile archive.c and Object.m with
  1435. -Wno-deprecated-declarations.
  1436. 2010-09-08 Nicola Pero <nicola.pero@meta-innovation.com>
  1437. Removed obsolete intermediate threading layer.
  1438. * thr.c: Use __gthread_objc_xxx functions directly instead of
  1439. __objc_thread_xxx ones.
  1440. * objc/thr.h: Removed prototypes of no longer existing
  1441. __objc_thread_xxx functions.
  1442. * Makefile.in: Removed thr-objc.lo.
  1443. * thr-dce.c: File removed.
  1444. * thr-decosf1.c: File removed.
  1445. * thr-irix.c: File removed.
  1446. * thr-mach.c: File removed.
  1447. * thr-objc.c: File removed.
  1448. * thr-os2.c: File removed.
  1449. * thr-posix.c: File removed.
  1450. * thr-pthreads.c: File removed.
  1451. * thr-rtems.c: File removed.
  1452. * thr-single.c: File removed.
  1453. * thr-solaris.c: File removed.
  1454. * thr-vxworks.c: File removed.
  1455. * thr-win32.c: File removed.
  1456. * README.threads: File removed.
  1457. * THREADS.MACH: File removed.
  1458. * THREADS: Updated.
  1459. 2010-09-07 Nicola Pero <nicola.pero@meta-innovation.com>
  1460. * Object.m (MAX_CLASS_NAME_LEN): Unused define removed.
  1461. 2010-09-06 Iain Sandoe <iains@gcc.gnu.org>
  1462. * encoding.c: Add TARGET_ALIGN_NATURAL definition for m64 powerpc darwin.
  1463. Add a comment as to why, update FIXME comments.
  1464. 2010-09-06 Nicola Pero <nicola.pero@meta-innovation.com>
  1465. * makefile.dos: Obsolete file removed.
  1466. 2010-04-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  1467. * aclocal.m4: Regenerate.
  1468. 2010-03-23 Dave Korn <dave.korn.cygwin@gmail.com>
  1469. PR libobjc/30445
  1470. * configure.ac (extra_ldflags_libobjc): Define appropriately for
  1471. Cygwin and MinGW hosts.
  1472. * Makefile.am (libobjc_s.a): Remove dead pre-libtool target.
  1473. (libobjc.dll): Likewise.
  1474. * configure: Regenerate.
  1475. 2009-12-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  1476. * configure: Regenerate.
  1477. 2009-11-28 Jakub Jelinek <jakub@redhat.com>
  1478. * sarray.c (sarray_free): Use old_buckets variable.
  1479. * encoding.c (objc_layout_structure_next_member): Remove unused
  1480. bfld_type_size variable.
  1481. 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  1482. * configure.ac (AC_PREREQ): Bump to 2.64.
  1483. 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  1484. * aclocal.m4: Regenerate.
  1485. * configure: Regenerate.
  1486. * config.h.in: Regenerate.
  1487. 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  1488. * Makefile.in (LIBTOOL): Add $(LIBTOOLFLAGS).
  1489. 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  1490. * Makefile.in (AUTOCONF, ACLOCAL, ACLOCAL_AMFLAGS, aclocal_deps):
  1491. New variables.
  1492. ($(srcdir)/configure, $(srcdir)/aclocal.m4): New rules.
  1493. 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  1494. * configure.ac (_AC_ARG_VAR_PRECIOUS): Use m4_rename_force.
  1495. 2009-04-09 Nick Clifton <nickc@redhat.com>
  1496. * sendmsg.c: Change copyright header to refer to version 3 of
  1497. the GNU General Public License with version 3.1 of the GCC
  1498. Runtime Library Exception and to point readers at the COPYING3
  1499. and COPYING3.RUNTIME files and the FSF's license web page.
  1500. * NXConstStr.m: Likewise.
  1501. * Object.m: Likewise.
  1502. * Protocol.m: Likewise.
  1503. * archive.c: Likewise.
  1504. * class.c: Likewise.
  1505. * encoding.c: Likewise.
  1506. * exception.c: Likewise.
  1507. * gc.c: Likewise.
  1508. * hash.c: Likewise.
  1509. * init.c: Likewise.
  1510. * libobjc_entry.c: Likewise.
  1511. * linking.m: Likewise.
  1512. * misc.c: Likewise.
  1513. * nil_method.c: Likewise.
  1514. * objc/NXConstStr.h: Likewise.
  1515. * objc/Object.h: Likewise.
  1516. * objc/Protocol.h: Likewise.
  1517. * objc/encoding.h: Likewise.
  1518. * objc/hash.h: Likewise.
  1519. * objc/objc-api.h: Likewise.
  1520. * objc/objc-decls.h: Likewise.
  1521. * objc/objc-list.h: Likewise.
  1522. * objc/objc.h: Likewise.
  1523. * objc/runtime.h: Likewise.
  1524. * objc/sarray.h: Likewise.
  1525. * objc/thr.h: Likewise.
  1526. * objc/typedstream.h: Likewise.
  1527. * objects.c: Likewise.
  1528. * sarray.c: Likewise.
  1529. * selector.c: Likewise.
  1530. * thr-dce.c: Likewise.
  1531. * thr-decosf1.c: Likewise.
  1532. * thr-irix.c: Likewise.
  1533. * thr-mach.c: Likewise.
  1534. * thr-objc.c: Likewise.
  1535. * thr-os2.c: Likewise.
  1536. * thr-posix.c: Likewise.
  1537. * thr-pthreads.c: Likewise.
  1538. * thr-rtems.c: Likewise.
  1539. * thr-single.c: Likewise.
  1540. * thr-solaris.c: Likewise.
  1541. * thr-vxworks.c: Likewise.
  1542. * thr-win32.c: Likewise.
  1543. * thr.c: Likewise.
  1544. * libobjc.def: Change copyright header to refer to version 3 of
  1545. the GNU General Public License and to point readers at the COPYING3
  1546. file and the FSF's license web page.
  1547. * makefile.dos: Likewise.
  1548. 2009-04-09 Jakub Jelinek <jakub@redhat.com>
  1549. * Makefile.in: Change copyright header to refer to version
  1550. 3 of the GNU General Public License and to point readers at the
  1551. COPYING3 file and the FSF's license web page.
  1552. * configure.ac: Likewise.
  1553. 2009-03-12 Richard Frith-Macdonald <rfm@gnu.org>
  1554. David Ayers <ayers@fsfe.org>
  1555. PR libobjc/27466
  1556. * objc/objc-api.h (_objc_unexpected_exception): Declare
  1557. new hook. Update copyright dates.
  1558. * exception.c (objc_exception_throw): Use hook. Update
  1559. copyright dates.
  1560. * libobjc.def (_objc_unexpected_exception): Export hook.
  1561. Update copyright dates.
  1562. 2009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  1563. * configure: Regenerate.
  1564. 2008-12-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  1565. * configure: Regenerate.
  1566. 2008-11-21 Kai Tietz <kai.tietz@onevision.com>
  1567. * Object.m (errno): Replaced by errno.h include.
  1568. (compare): Cast self to id to prevent warning on comparison.
  1569. * objc/objc.h (BOOL): Prevent redeclaration of BOOL, if it is
  1570. already there.
  1571. * sendmsg.c (__objc_print_dtable_stats): Remove type warnings.
  1572. * thr-win32.c (__objc_thread_detach): Remove type warning.
  1573. (__objc_thread_id): Likewise.
  1574. * thr.c (__objc_thread_detach_functiont): Add __builtin_trap ()
  1575. for noreturn.
  1576. 2008-09-26 Peter O'Gorman <pogma@thewrittenword.com>
  1577. Steve Ellcey <sje@cup.hp.com>
  1578. * configure: Regenerate for new libtool.
  1579. * config.h.in: Regenerate for new libtool.
  1580. 2008-07-18 Matthias Klose <doko@ubuntu.com>
  1581. * Makefile.in: Ignore missing ../boehm-gc/threads.mk.
  1582. 2008-07-18 Matthias Klose <doko@ubuntu.com>
  1583. * Makefile.in: Include ../boehm-gc/threads.mk.
  1584. (OBJC_BOEHM_GC_LIBS): Define, (libobjc_gc$(libsuffix).la): Use it.
  1585. 2008-07-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  1586. * Makefile.in (install-info): New stub target.
  1587. 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  1588. * configure: Regenerate.
  1589. 2008-06-14 Kai Tietz <kai.tietz@onevision.com>
  1590. * exception.c (PERSONALITY_FUNCTION): Remove extra decrement
  1591. if HAVE_GETIPINFO is not defined.
  1592. 2008-06-10 Kai Tietz <kai.tietz@onevision.com>
  1593. * Object.m (compare): Add type id.
  1594. * objc/Object.h: Likewise.
  1595. * archive.c (objc_read_class): Use size_t to extend version to be
  1596. size of pointer scalar width.
  1597. * sendmsg.c (rtx): Undefine it before redefinition.
  1598. (__objc_print_dtable_stats): Cast arguments to long as intended.
  1599. 2008-05-30 Julian Brown <julian@codesourcery.com>
  1600. * exception.c (__objc_exception_class): Initialise as constant
  1601. array for ARM EABI. Change macro to static const for non-ARM EABI.
  1602. (ObjcException): Add note about structure layout. Remove landingPad
  1603. and handlerSwitchValue for ARM EABI.
  1604. (get_ttype_entry): Add __ARM_EABI_UNWINDER__ version
  1605. of function.
  1606. (CONTINUE_UNWINDING): Define for ARM EABI/otherwise cases.
  1607. (PERSONALITY_FUNCTION): Use ARM EABI-specific arguments, and add
  1608. ARM EABI unwinding support.
  1609. (objc_exception_throw): Use memcpy to initialise exception class.
  1610. 2008-05-25 Alan Modra <amodra@bigpond.net.au>
  1611. * encoding.c (strip_array_types): Rename from get_inner_array_type.
  1612. (rs6000_special_round_type_align): Update.
  1613. 2008-05-09 Julian Brown <julian@codesourcery.com>
  1614. * Makefile.in (LTLDFLAGS): New.
  1615. (libobjc$(libsuffix).la, libobjc_gc$(libsuffix).la): Use above.
  1616. 2008-04-18 Paolo Bonzini <bonzini@gnu.org>
  1617. PR bootstrap/35457
  1618. * aclocal.m4: Regenerate.
  1619. * configure: Regenerate.
  1620. 2008-01-24 David Edelsohn <edelsohn@gnu.org>
  1621. * configure: Regenerate.
  1622. 2007-10-14 H.J. Lu <hongjiu.lu@intel.com>
  1623. * configure.ac: Don't run config-ml.in directly.
  1624. (multilib_arg): New.
  1625. * configure: Regenerated.
  1626. 2007-08-06 Andrew Pinski <pinskia@gmail.com>
  1627. PR libobjc/30731
  1628. * exception.c (parse_lsda_header): Use _uleb128_t/_sleb128_t instead
  1629. of _Unwind_Word for variables which are used in
  1630. read_uleb128/read_sleb128.
  1631. (PERSONALITY_FUNCTION): Likewise.
  1632. 2007-07-05 H.J. Lu <hongjiu.lu@intel.com>
  1633. * aclocal.m4: Regenerated.
  1634. 2007-06-03 Andrew Pinski <andrew_pinski@playstation.sony.com>
  1635. * configure.ac: Fix a typo in *-*-darwin clause.
  1636. * configure: Regenerated.
  1637. 2007-06-02 H.J. Lu <hongjiu.lu@intel.com>
  1638. * configure.ac: Fix a typo.
  1639. * configure: Regenerated.
  1640. 2007-06-02 Paolo Bonzini <bonzini@gnu.org>
  1641. * configure: Regenerate.
  1642. 2007-06-01 Andrew Pinski <andrew_pinski@playstation.sony.com>
  1643. * Makefile.in: Replace all uses of libext with libsuffix.
  1644. * configure.ac: Likewise.
  1645. * configure: Regenerate.
  1646. Revert:
  1647. * Makefile.in: Remove all uses of $(libext).
  1648. 2007-05-23 Andrew Pinski <andrew_pinski@playstation.sony.com>
  1649. * Makefile.in: Remove all uses of $(libext).
  1650. 2007-05-23 Steve Ellcey <sje@cup.hp.com>
  1651. * configure: Regenerate.
  1652. * aclocal.m4: Regenerate.
  1653. 2007-04-21 Andrew Ruder <andy@aeruder.net>
  1654. * sendmsg.c (__objc_get_forward_imp): Call
  1655. __objc_msg_forward2 for real.
  1656. 2007-04-09 Andrew Ruder <andy@aeruder.net>
  1657. * sendmsg.c: Added __objc_msg_forward2, a hook that allows
  1658. external libraries to provide a function that returns the real
  1659. forwarding function based on both the selector and the receiver.
  1660. * objc/objc-api.h: Define __objc_msg_forward2.
  1661. 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
  1662. * Makefile.in: Add dummy install-pdf target.
  1663. 2007-02-18 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
  1664. * objc/objc-list.h (list_free): Add keyword 'inline' to avoid
  1665. unused warning.
  1666. 2006-10-31 Geoffrey Keating <geoffk@apple.com>
  1667. * encoding.c (darwin_rs6000_special_round_type_align): New.
  1668. 2006-10-14 Geoffrey Keating <geoffk@apple.com>
  1669. * Makefile.in: Use multi_basedir instead of toplevel_srcdir.
  1670. * configure.ac: Use multi.m4 from aclocal rather than custom
  1671. code. Use multi_basedir instead of toplevel_srcdir.
  1672. * aclocal.m4: Regenerate.
  1673. * configure: Regenerate.
  1674. 2006-10-10 Brooks Moses <bmoses@stanford.edu>
  1675. * Makefile.in: Added empty "pdf" target.
  1676. 2006-07-18 Paolo Bonzini <bonzini@gnu.org>
  1677. * configure: Regenerate.
  1678. 2006-05-23 Carlos O'Donell <carlos@codesourcery.com>
  1679. * Makefile.in: Add install-html target. Add install-html to .PHONY
  1680. 2006-02-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  1681. PR libobjc/26309
  1682. * thr-objc.c (_XOPEN_SOURCE): Don't define on Tru64 UNIX.
  1683. 2006-01-24 David Ayers <d.ayers@inode.at>
  1684. PR libobjc/9751
  1685. * gc.c (class_ivar_set_gcinvisible): Replace strncpy with memcpy
  1686. and insure the new strings are '\0' termintated.
  1687. 2006-01-24 David Ayers <d.ayers@inode.at>
  1688. PR libobjc/13946
  1689. * configure.ac: Add include directives for --enable-objc-gc.
  1690. * Makefile.in: Ditto.
  1691. * configure: Regenerate.
  1692. * gc.c (__objc_class_structure_encoding): Increment the used bytes
  1693. instead of the local pointer to them.
  1694. 2005-12-14 Andrew Pinski <pinskia@physics.uc.edu>
  1695. PR objc/25360
  1696. * objc/objc-api.c (_C_COMPLEX): New define.
  1697. * encoding.c (objc_sizeof_type): Handle _C_Complex.
  1698. (objc_alignof_type): Likewise.
  1699. (objc_skip_typespec): Likewise.
  1700. 2005-12-15 David Ayers <d.ayers@inode.at>
  1701. PR libobjc/14382
  1702. * README (+load,+initialize): Fix documentation to reflect
  1703. intended and implemented semantics for +load and +initialize.
  1704. 2005-12-12 Andrew Pinski <pinskia@physics.uc.edu>
  1705. * encoding.c (TYPE_FIELDS): Fix to skip over just _C_STRUCT_B and
  1706. the name.
  1707. (get_inner_array_type): Fix to skip over _C_ARY_B and size.
  1708. (rs6000_special_round_type_align): Update for the ABI fix.
  1709. (objc_layout_finish_structure): Correct the encoding which is passed to
  1710. ROUND_TYPE_ALIGN.
  1711. 2005-12-11 Andrew Pinski <pinskia@physics.uc.edu>
  1712. PR libobjc/25347
  1713. * encoding.c (objc_sizeof_type): Don't handle _C_UNION_B special
  1714. but use the struct layout functions.
  1715. (objc_alignof_type): Likewise.
  1716. (objc_layout_structure): Handle _C_UNION_B also.
  1717. (objc_layout_structure_next_member): Likewise.
  1718. (objc_layout_finish_structure): Likewise.
  1719. 2005-12-11 Andrew Pinski <pinskia@physics.uc.edu>
  1720. PR libobjc/25346
  1721. * objc/objc-api.h (_C_BOOL): New define.
  1722. * encoding.c (objc_sizeof_type): Handle _C_BOOL.
  1723. (objc_alignof_type): Likewise.
  1724. (objc_skip_typespec): Likewise.
  1725. 2005-11-20 David Ayers <d.ayers@inode.at>
  1726. PR libobjc/19024
  1727. * objc/hash.h: Remove deprecated hash API.
  1728. * hash_compat.c: Remove.
  1729. * Makefile.in: Remove reference to hash_compat.c.
  1730. * configure.ac (VERSION): Bump library version to 2:0:0.
  1731. * configure: Regenerate.
  1732. 2005-11-09 Alexandre Oliva <aoliva@redhat.com>
  1733. PR other/4372
  1734. * thr-objc.c (_XOPEN_SOURCE): Define.
  1735. 2005-10-07 Ulrich Weigand <uweigand@de.ibm.com>
  1736. PR libobjc/23612
  1737. * objc/objc-api.h (struct objc_ivar): Move definition to
  1738. global scope.
  1739. 2005-09-04 Andrew Pinski <pinskia@physics.uc.edu>
  1740. Rasmus Hahn <rassahah@neofonie.de>
  1741. PR libobjc/23108
  1742. * archive.c (objc_write_type): Correct the element offset.
  1743. (objc_read_type): Likewise.
  1744. 2005-08-17 Kelley Cook <kcook@gcc.gnu.org>
  1745. * All files: Update FSF address.
  1746. 2005-08-13 Marcin Koziej <creep@desk.pl>
  1747. Andrew Pinski <pinskia@physics.uc.edu>
  1748. PR libobjc/22492
  1749. * exception.c (PERSONALITY_FUNCTION): Fix the PC with finally.
  1750. 2005-08-13 Andrew Pinski <pinskia@physics.uc.edu>
  1751. * Makefile.in (extra_ldflags_libobjc): New.
  1752. (libobjc$(libext).la): Add extra_ldflags_libobjc to the link line.
  1753. (libobjc_gc$(libext).la): Likewise.
  1754. * configure.ac (extra_ldflags_libgfortran): Set for *-darwin* to
  1755. "-Wl,-single_module".
  1756. * configure: Regenerate.
  1757. * linking.m (_objcInit): Remove.
  1758. 2005-07-26 Andrew Pinski <pinskia@physics.uc.edu>
  1759. PR libobjc/22606
  1760. * Makefile.in (ALL_CFLAGS): Add -fexceptions.
  1761. 2005-06-08 David Ayers <d.ayers@inode.at>
  1762. * objc/NXConstStr.h, objc/Object.h, objc/Protocol.h,
  1763. objc/encoding.h, objc/hash.h, objc/objc-api.h,
  1764. objc/runtime.h, objc/sarray.h, objc/thr.h,
  1765. objc/typedstream.h: Do not include Objective-C headers as
  1766. system headers.
  1767. 2005-06-07 David Ayers <d.ayers@inode.at>
  1768. * archive.c, init.c, selector.c: Include hash.h.
  1769. * archive.c, class.c, encoding.c, gc.c, hash.c, hash_compat.c,
  1770. init.c, misc.c, nil_method.c, objects.c, sarray.c, selector.c,
  1771. sendmsg.c, thr-dce.c, thr-decosf1.c, thr-irix.c, thr-mach.c,
  1772. thr-objc.c, thr-os2.c, thr-posix.c, thr-pthreads.c, thr-rtems.c,
  1773. thr-single.c, thr-solaris.c, thr-vxworks.c, thr-win32.c, thr.c:
  1774. Include Objective-C headers with quotes and objc/ directory
  1775. prefix.
  1776. 2005-05-19 Richard Henderson <rth@redhat.com>
  1777. * exception.c: Revert last change.
  1778. 2005-05-19 David Ayers <d.ayers@inode.at>
  1779. * exception.c: Include tsystem.h for unwind.h.
  1780. 2005-05-09 Mike Stump <mrs@apple.com>
  1781. * configure: Regenerate.
  1782. 2005-04-12 Mike Stump <mrs@apple.com>
  1783. * configure: Regenerate.
  1784. 2005-03-21 Zack Weinberg <zack@codesourcery.com>
  1785. * Makefile.in: Set gcc_version here.
  1786. * configure.ac: Do not invoke TL_AC_GCC_VERSION. Adjust quoting
  1787. in definition of toolexeclibdir so that $(gcc_version) is expanded
  1788. by the Makefile.
  1789. * aclocal.m4, configure: Regenerate.
  1790. 2005-03-03 David Ayers <d.ayers@inode.at>
  1791. * objc/hash.h (OBJC_IGNORE_DEPRECATED_API): Update deprecated
  1792. version reference. Correct typo.
  1793. 2005-03-02 David Ayers <d.ayers@inode.at>
  1794. PR libobjc/19024
  1795. * Makefile.in (OBJS): Add hash_compat.lo.
  1796. (OBJS_GC): Add hash_compat_gc.lo.
  1797. (hash_compat_gc.lo): New target and rule.
  1798. * objc/hash.h (hash_new, hash_delete, hash_add, hash_remove)
  1799. (hash_next, hash_value_for_key, hash_is_key_in_hash)
  1800. (hash_ptr, hash_string, compare_ptrs, compare_strings): Prefix
  1801. with objc_. Add deprecated non prefixed inlined versions.
  1802. (OBJC_IGNORE_DEPRECATED_API): New macro to hide deprecated
  1803. declarations.
  1804. * hash.c (hash_new, hash_delete, hash_add, hash_remove, hash_next)
  1805. (hash_value_for_key, hash_is_key_in_hash): Prefix with objc_ and
  1806. update callers.
  1807. * hash_compat.c: New file.
  1808. * archive.c: Update callers.
  1809. * init.c: Likewise.
  1810. * selector.c: Likewise.
  1811. * libobjc.def: Add objc_ versions of hash functions.
  1812. 2005-02-28 Andrew Pinski <pinskia@physics.uc.edu>
  1813. PR libobjc/20252
  1814. * Makefile.in (GTHREAD_FLAGS): Remove.
  1815. (ALL_CFLAGS): Remove usage of GTHREAD_FLAGS.
  1816. * thr-objc.c: Include config.h.
  1817. * configure.ac: Instead of looking at GCC's makefile, figure out if
  1818. GTHREAD_FLAGS should be defined by looking at the `thread model'
  1819. of the current gcc.
  1820. * configure: Regenerate.
  1821. * config.h.in: Regenerate.
  1822. 2005-02-28 Paolo Bonzini <bonzini@gnu.org>
  1823. PR bootstrap/17383
  1824. * configure.ac: Call GCC_TOPLEV_SUBDIRS.
  1825. (Determine CFLAGS for gthread): Use $host_subdir.
  1826. * configure: Regenerate.
  1827. * Makefile.in (host_subdir): New.
  1828. (INCLUDES): Use it.
  1829. 2004-12-20 Andrew Pinski <pinskia@physics.uc.edu>
  1830. PR libobjc/12035
  1831. * gc.c: Remove definition of LOGWL, modWORDSZ, and divWORDSZ since
  1832. they are not used.
  1833. Include limits.h and stdlib.h.
  1834. Define BITS_PER_WORD.
  1835. 2004-12-12 Alexander Malmberg <alexander@malmberg.org>
  1836. * selector.c (__objc_init_selector_tables): Add missing void to
  1837. definition.
  1838. 2004-12-02 Richard Sandiford <rsandifo@redhat.com>
  1839. * configure.ac: Use TL_AC_GCC_VERSION to set gcc_version.
  1840. * configure, aclocal.m4: Regenerate.
  1841. 2004-11-29 Kelley Cook <kcook@gcc.gnu.org>
  1842. * configure: Regenerate for libtool change.
  1843. 2004-11-25 Kelley Cook <kcook@gcc.gnu.org>
  1844. * configure: Regenerate for libtool reversion.
  1845. 2004-11-24 Kelley Cook <kcook@gcc.gnu.org>
  1846. * configure: Regenerate for libtool change.
  1847. 2004-11-24 Kelley Cook <kcook@gcc.gnu.org>
  1848. * aclocal.m4, config.h.in: Regenerate.
  1849. 2004-10-08 Mike Stump <mrs@apple.com>
  1850. Andrew Pinski <pinskia@physics.uc.edu>
  1851. * aclocal.m4: Rename to ...
  1852. * acinclude.m4: here and also use m4_include instead of sinclude.
  1853. * aclocal.m4: Regenerate.
  1854. * configure: Regenerate.
  1855. * configure.ac: Add AM_MAINTAINER_MODE and AM_PROG_CC_C_O.
  1856. * Makefile.in (configure): Add @MAINT@ infront of configure.ac
  1857. 2004-10-08 Andrew Pinski <pinskia@physics.uc.edu>
  1858. * archive.c: Fix all the warnings about passing unsigned char*
  1859. to char* and the other way too.
  1860. 2004-09-16 Andrew Pinski <pinskia@physics.uc.edu>
  1861. PR libobjc/16448
  1862. * exception.c: Include config.h
  1863. (objc_exception_throw): Change _GLIBCXX_SJLJ_EXCEPTIONS to
  1864. SJLJ_EXCEPTIONS.
  1865. * configure.ac: Find out what exception handling code we use.
  1866. * configure: Regenerate.
  1867. * config.h.in: New file, regenerate.
  1868. 2004-09-16 Andrew Pinski <apinski@apple.com>
  1869. * encoding.c (ALTIVEC_VECTOR_MODE): Define a bogus macro.
  1870. 2004-08-28 Nathanael Nerode <neroden@gcc.gnu.org>
  1871. * configure.ac: Switch from _GCC_TOPLEV_NONCANONICAL_TARGET to
  1872. ACX_NONCANONICAL_TARGET.
  1873. * configure: Regenerate.
  1874. 2004-08-13 Ziemowit Laski <zlaski@apple.com>
  1875. * objc/sarray.h: Hoist include of assert.h near the top of file,
  1876. and mark the remainder of the file 'extern "C"'.
  1877. 2004-08-13 Andrew Pinski <pinskia@physics.uc.edu>
  1878. * objc/Object.h: Move includes out of extern "C" blocks.
  1879. * objc/encoding.h: Likewise.
  1880. * objc/hash.h: Likewise.
  1881. * objc/objc-api.h: Likewise.
  1882. * objc/runtime.h: Likewise.
  1883. * objc/sarray.h: Likewise.
  1884. * objc/typedstream.h: Likewise.
  1885. 2004-08-12 Ziemowit Laski <zlaski@apple.com>
  1886. * objc/NXConstStr.h: Update copyright date; bracket with
  1887. 'extern "C"' for C++ use; make include syntax consistent
  1888. by using <...> instead of "..."; hoist <objc/...> includes
  1889. above the 'extern "C"' block.
  1890. * objc/Object.h: Likewise.
  1891. * objc/Protocol.h: Likewise.
  1892. * objc/encoding.h: Likewise.
  1893. * objc/hash.h: Likewise.
  1894. * objc/runtime.h: Likewise.
  1895. * objc/sarray.h: Likewise.
  1896. * objc/thr.h: Likewise.
  1897. * objc/typedstream.h: Likewise.
  1898. * objc/objc-api.h: Add 'extern "C"' block for C++ use.
  1899. (objc_static_instances): For C++ case, do away with
  1900. zero-sized array.
  1901. (objc_method): Hoist definition to file scope.
  1902. (_objc_load_callback, _objc_object_alloc, class_get_class_method,
  1903. class_get_instance_method, class_create_instance,
  1904. class_get_class_name, class_get_instance_size,
  1905. class_get_meta_class, class_get_super_class, class_get_version,
  1906. class_is_class, class_is_meta_class, class_set_version,
  1907. class_get_gc_object_type, class_ivar_set_gcinvisible,
  1908. get_imp): Rename 'class' parameter to '_class'.
  1909. * objc/objc-list.h: Add 'extern "C"' block for C++ use.
  1910. * objc/objc.h: Update copyright date.
  1911. (arglist_t): Provide a union tag.
  1912. 2004-07-22 Andrew Pinski <pinskia@physics.uc.edu>
  1913. * thr.c (__objc_thread_detach_function): Do not mark as volatile
  1914. but instead use the attribute noreturn.
  1915. 2004-06-28 Zack Weinberg <zack@codesourcery.com>
  1916. * encoding.c: Rename target_flags with a #define to avoid
  1917. conflict with a prior declaration.
  1918. 2004-06-24 Andrew Pinski <apinski@apple.com>
  1919. * objc/encoding.h: Wrap the functions with extern "C" for C++
  1920. mode.
  1921. * objc/hash.h: Likewise.
  1922. * objc/objc-api.h: Likewise.
  1923. * objc/objc-list.h: Likewise.
  1924. * objc/runtime.h: Likewise.
  1925. * objc/sarray.h: Likewise.
  1926. * objc/thr.h: Likewise.
  1927. * objc/typedstream.h: Likewise.
  1928. 2004-06-21 Nick Clifton <nickc@redhat.com>
  1929. * encoding.c (BITS_PER_UNIT): Define if a definition is not
  1930. provided.
  1931. 2004-06-20 Alexander Malmberg <alexander@malmberg.org>
  1932. * Makefile.in (exception.lo): Remove $(OBJC_GCFLAGS).
  1933. (exception_gc.lo): New.
  1934. (OBJS_GC): Add exception_gc.lo.
  1935. 2004-06-17 Richard Henderson <rth@redhat.com>
  1936. * exception.c: New file.
  1937. * Makefile.in (exception.lo): New.
  1938. (OBJS): Add it.
  1939. 2004-06-14 Andrew Pinski <pinskia@physics.uc.edu>
  1940. * linking.m (_objcInit): New empty function
  1941. for Darwin only.
  1942. 2004-06-11 Andrew Pinski <pinskia@physics.uc.edu>
  1943. * configure.ac: Support --enable-shared=libobjc.
  1944. * configure: Regenerate.
  1945. PR libobjc/15901
  1946. * configure.ac: Do not disable shared by default.
  1947. * configure: Regenerate.
  1948. 2004-06-03 Nicola Pero <n.pero@mi.flashnet.it>
  1949. * Protocol.m ([-isEqual:]): Small optimizations returning
  1950. immediately if the argument is equal to self, and accessing
  1951. the argument's name directly if it's a protocol.
  1952. 2004-06-03 David Ayers <d.ayers@inode.at>
  1953. * Protocol.m ([-isEqual:]): Test the class of the argument.
  1954. 2004-05-25 Andrew Pinski <pinskia@physics.uc.edu>
  1955. * configure.ac (includedir): Rename to ...
  1956. (includedirname).
  1957. * Makefile.in: s/includedir/includedirname/.
  1958. PR target/11572
  1959. * configure.ac (includedir): Set to "include"
  1960. except for Darwin.
  1961. (libext) Set to empty except for Darwin.
  1962. * configure: Regenerate
  1963. * Makefile.in: s/libobjc.la/libobjc$(libext).la/g.
  1964. s/include/$(includedir)/g.
  1965. 2004-05-25 Daniel Jacobowitz <drow@false.org>
  1966. * Makefile.in: Add .NOEXPORT.
  1967. 2004-05-25 Andrew Pinski <pinskia@physics.uc.edu>
  1968. Merge from the libobjc-branch
  1969. 2004-02-09 Andrew Pinski <pinskia@physics.uc.edu>
  1970. * Makefile.in (OBJC_H): Change objc-deps.h to objc-decls.h.
  1971. 2004-02-03 Andrew Pinski <pinskia@physics.uc.edu>
  1972. * Makefile.in (OBJC_H): Add objc-deps.h.
  1973. 2004-01-27 Nicola Pero <n.pero@mi.flashnet.it>
  1974. * Protocol.m ([-conformsTo:]): If the argument is nil, return NO.
  1975. ([-hash], [-isEqual:]): New methods.
  1976. 2004-01-27 Richard Frith-Macdonald <rfm@gnu.org>
  1977. * sarray.c (sarray_free): Add a better comment.
  1978. 2004-01-27 Adam Fedor <fedor@gnu.org>
  1979. * hash.c (hash_add): Cast cachep to int.
  1980. * selector.c (__sel_register_typed_name): Cast
  1981. soffset_decode to int.
  1982. 2004-01-27 Alexander Malmberg <alexander@malmberg.org>
  1983. * selector.c: Rename register_selectors_from_list to
  1984. __objc_register_selectors_from_list. Update caller.
  1985. (__objc_register_selectors_from_list): Lock __objc_runtime_mutex
  1986. while registering selectors. Use __sel_register_typed_name instead
  1987. of sel_register_typed_name. Check for NULL method_name:s.
  1988. (pool_alloc_selector): New function.
  1989. (__sel_register_typed_name): Use pool_alloc_selector to allocate
  1990. selector structures.
  1991. * sendmsg.c (class_add_method_list): Use
  1992. __objc_register_selectors_from_list.
  1993. * objc/runtime.h: Add __objc_register_selectors_from_list.
  1994. 2004-01-25 Adam Fedor <fedor@gnu.org>
  1995. Nicola Pero <n.pero@mi.flashnet.it>
  1996. Andrew Pinski <pinskia@physics.uc.edu>
  1997. * objc/objc-decls.h: New file.
  1998. * objc/objc-api.h (_objc_lookup_class): Mark as export.
  1999. (_objc_load_callback): Likewise.
  2000. (_objc_object_alloc): Likewise.
  2001. (_objc_object_copy): Likewise.
  2002. (_objc_object_dispose): Likewise.
  2003. 2004-01-25 Andrew Pinski <pinskia@physics.uc.edu>
  2004. * archive.c: s/__inline__/inline
  2005. * sendmsg.c: Likewise.
  2006. * encoding.c: Remove FIXME about the warning
  2007. about unused variable.
  2008. * sendmsg.c: Add a FIXME comment saying that
  2009. this should be using libffi.
  2010. * Makefile.in (LIBTOOL): Use @LIBTOOL@ now as it works.
  2011. 2004-05-13 Andrew Pinski <pinskia@physics.uc.edu>
  2012. * archive.c (objc_read_class): Initialize class_name.
  2013. (objc_read_selector): Initialize selector_name.
  2014. 2004-05-09 Richard Sandiford <rsandifo@redhat.com>
  2015. * Makefile.in (toolexecdir): Remove trailing space.
  2016. 2004-04-15 Nathanael Nerode <neroden@gcc.gnu.org>
  2017. PR libobjc/14948
  2018. * configure.ac: De-precious CC so multilibs work.
  2019. * configure: Regenerate.
  2020. 2004-04-14 Nathanael Nerode <neroden@gcc.gnu.org>
  2021. * configure.ac: Restore toolexecdir.
  2022. * Makefile.in: Restore toolexecdir.
  2023. * configure: Regenerate.
  2024. 2004-04-09 Nathanael Nerode <neroden@gcc.gnu.org>
  2025. * configure.ac: Remove (unused) glibcpp_prefixdir.
  2026. * configure: Regenerate.
  2027. * configure.in: Rename to configure.ac.
  2028. * Makefile.in: Update to match.
  2029. * Makefile.in: Remove toolexecdir, glibcpp_toolexecdir (unused).
  2030. Replace glibcpp_toolexeclibdir with toolexeclibdir.
  2031. * configure.in: Remove glibcpp_toolexecdir (unused).
  2032. Replace glibcpp_toolexeclibdir with toolexeclibdir. Don't generate
  2033. config.h or stamp-h (unused). Move one comment to the right place.
  2034. * configure: Regenerate.
  2035. * config.h.in: Remove (unused).
  2036. * config.h.in: Regenerate with autoheader.
  2037. * Makefile.in: Remove (unused) gcc_version_trigger.
  2038. * configure.in: Remove (unused) glibcpp_builddir. Don't AC_SUBST
  2039. gcc_version_trigger.
  2040. * configure: Regenerate.
  2041. * configure.in: Switch to modern style for AC_INIT, AC_OUTPUT.
  2042. Sort file into sections. Remove dnl where appropriate. Fix
  2043. other style issues.
  2044. * configure: Regenerate.
  2045. * configure.in: Replace old AC_PROG_CC hack with new one.
  2046. Define toplevel_srcdir in terms of srcdir, not top_srcdir (there
  2047. are no subdirectory output files, so this is fine). Change prereq
  2048. to autoconf 2.59.
  2049. * aclocal.m4: Include ../config/no-executables.m4.
  2050. * configure: Regenerate with autoconf 2.59.
  2051. * configure.in: Improve comments on gthread_cflags. Improve m4
  2052. quotation, and replace 'if test' with 'case', for --enable-objc-gc.
  2053. * configure: Regenerate.
  2054. * configure.in: Move PACKAGE and VERSION settings up top. Remove
  2055. unused call to AC_PROG_LN_S. Default RANLIB to ':'. Remove
  2056. redundant checks for values of RANLIB, AR, INSTALL.
  2057. * configure: Regenerate.
  2058. * configure.in: Clean up handling of
  2059. --enable-version-specific-runtime-libs and related variables;
  2060. replace 'if test' with 'case' where reasonable. Fix comments.
  2061. Remove useless libstdcxx_interface.
  2062. * configure: Regenerate.
  2063. * configure.in: Use _GCC_TOPLEV_NONCANONICAL_TARGET.
  2064. Replace uses of target_alias with target_noncanonical.
  2065. * aclocal.m4: Include ../config/acx.m4.
  2066. * configure: Regenerate.
  2067. * Makefile.in: Replace uses of target_alias with target_noncanonical.
  2068. Fix copyright statement.
  2069. * configure.in: Hand-inline bulky, confusing macros from
  2070. aclocal.m4. Replace references to "GNU Objective C" with "GCC".
  2071. Update copyright notice. Remove stuff for automake, which isn't
  2072. used in this directory. Remove emacs local variables.
  2073. * aclocal.m4: Remove hand-inlined macros. Update copyright notice.
  2074. * configure: Regenerate.
  2075. 2004-03-16 Manfred Hollstein <mh@suse.com>
  2076. * Makefile.in, configure.in, configure: Update copyright years.
  2077. 2004-03-15 Manfred Hollstein <mh@suse.com>
  2078. * Makefile.in (LIBOBJC_VERSION, LIBOBJC_GC_VERSION): Use
  2079. definition from configure.in.
  2080. * configure.in (PACKAGE): Add definition.
  2081. (VERSION): Add definition; substitute it in output files.
  2082. * configure: Re-generate.
  2083. 2004-03-05 Ziemowit Laski <zlaski@apple.com>
  2084. * objc/hash.h (hash_string, compare_strings):
  2085. Add type-casts to make Objective-C++ happy.
  2086. * objc/typedstream.h (objc_get_stream_class_version):
  2087. Rename parameter from 'class' to 'class_name' to make
  2088. Objective-C++ happy.
  2089. 2004-03-01 Michael Matz <matz@suse.de>
  2090. * Makefile.in (ALL_CFLAGS): Add -fno-strict-aliasing.
  2091. 2004-02-06 Ziemowit Laski <zlaski@apple.com>
  2092. * objc/objc-api.h (objc_super): The 'class' field shall
  2093. be named 'super_class' #ifdef __cplusplus.
  2094. 2004-01-17 Andrew Pinski <pinskia@physics.uc.edu>
  2095. PR target/10781
  2096. * encoding.c (rs6000_special_round_type_align): Define.
  2097. 2004-01-14 Adam Fedor <fedor@gnu.org>
  2098. PR libobjc/12155
  2099. * selector.c (__objc_register_instance_methods_to_class): Free
  2100. new_list if not used.
  2101. 2004-01-09 Andrew Ruder <aeruder@ksu.edu>
  2102. PR libobjc/11904
  2103. * sarray.c (sarray_free): Free array->is_copy_of latter.
  2104. 2003-12-01 Zack Weinberg <zack@codesourcery.com>
  2105. PR 11433
  2106. * Protocol.m (descriptionForInstanceMethod): Don't dereference
  2107. instance_methods if it's NULL.
  2108. (descriptionForClassMethod): Likewise for class_methods.
  2109. 2003-10-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  2110. * Makefile.in (runtime-info.h): Remove -Wp.
  2111. 2003-10-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  2112. * Makefile.in (CC1OBJ): Remove.
  2113. (runtime-info.h): Invoke $(CC) so all MULTIFLAGS are handled
  2114. correctly.
  2115. Use .m extension for temporary file.
  2116. Remove assembler temp file.
  2117. 2003-10-20 Joseph S. Myers <jsm@polyomino.org.uk>
  2118. * objc/hash.h (hash_string): Don't use a cast as an lvalue.
  2119. 2003-10-17 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  2120. * Makefile.in (runtime-info.h): Use MULTIFLAGS.
  2121. 2003-09-09 Alan Modra <amodra@bigpond.net.au>
  2122. * configure: Regenerate.
  2123. 2003-08-27 Alexander Malmberg <alexander@malmberg.org>
  2124. * Makefile.in, aclocal.m4: Update to $(libdir)/gcc/ instead of
  2125. (libdir)/gcc-lib/ when installing.
  2126. * configure: Regenerate.
  2127. Thu Jul 10 10:27:43 2003 Nicola Pero <n.pero@mi.flashnet.it>
  2128. libobjc/9969
  2129. * sendmsg.c (get_imp): Fixed rare threading problem.
  2130. (__objc_responds_to): Similar fixes.
  2131. (objc_msg_lookup): Similar fixes.
  2132. (__objc_init_install_dtable): Lock the runtime before checking if the
  2133. table is installed.
  2134. 2003-05-23 Nathanael Nerode <neroden@gcc.gnu.org>
  2135. * hash.c, init.c, libobjc.def, libobjc_entry.c, linking.m,
  2136. makefile.dos, misc.c, nil_method.c, objects.c, sarray.c,
  2137. selector.c, sendmsg.c, thr-dce.c, thr-decosf1.c, thr-irix.c,
  2138. thr-mach.c, thr-objc.c, thr-os2.c, thr-posix.c, thr-pthreads.c,
  2139. thr-rtems.c, thr-single.c, thr-solaris.c, thr-vxworks.c,
  2140. thr-win32.c, thr.c: Replace "GNU CC" with "GCC".
  2141. * Makefile.in, NXConstStr.m, Object.m, Protocol.m, archive.c,
  2142. class.c, encoding.c, gc.c, objc/NXConstStr.h, objc/Object.h,
  2143. objc/Protocol.h, objc/encoding.h, objc/hash.h, objc/objc-api.h,
  2144. objc/objc-list.h, objc/objc.h, ocjc/runtime.h, objc/sarray.h,
  2145. objc/thr.h, objc/typedstream.h: Replace "GNU CC" with "GCC".
  2146. Tue May 13 14:56:03 2003 Richard Frith-Macdonald <rfm@gnu.org>
  2147. Nicola Pero <n.pero@mi.flashnet.it>
  2148. libobjc/10742
  2149. * init.c (class_superclass_of_class): New function.
  2150. (create_tree_of_subclasses_inherited_from): Use it.
  2151. (__objc_tree_insert_class): Likewise.
  2152. (class_is_subclass_of_class): Likewise.
  2153. 2003-04-11 David Chad <davidc@freebsd.org>
  2154. Loren J. Rittle <ljrittle@acm.org>
  2155. libobjc/8562
  2156. * objc/hash.h (hash_string): Constify correctly.
  2157. (compare_ptrs): Use direct compare.
  2158. * objc/objc-list.h (list_nth): Rename index to indx to avoid shadow.
  2159. * objc/sarray.h: Global rename index to indx to avoid shadow.
  2160. 2003-03-12 Andreas Schwab <schwab@suse.de>
  2161. * aclocal.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Avoid trailing /. in
  2162. glibcpp_toolexeclibdir.
  2163. * configure: Rebuilt.
  2164. 2003-02-20 Alexandre Oliva <aoliva@redhat.com>
  2165. * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
  2166. config.status.
  2167. * configure: Rebuilt.
  2168. 2003-01-27 Alexandre Oliva <aoliva@redhat.com>
  2169. * aclocal.m4 (glibcpp_toolexeclibdir): Instead of
  2170. $(MULTISUBDIR), use `$CC -print-multi-os-directory`, unless
  2171. version_specific_libs is enabled.
  2172. * configure: Rebuilt.
  2173. 2003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de>
  2174. * Makefile.in (FLAGS_TO_PASS): Also pass DESTDIR.
  2175. (install-libs, install-headers): Prepend $(DESTDIR) to
  2176. destination paths in all (un)installation commands.
  2177. 2002-12-02 Zack Weinberg <zack@codesourcery.com>
  2178. * thr-objc.c: Include coretypes.h and tm.h.
  2179. 2002-12-01 Zack Weinberg <zack@codesourcery.com>
  2180. * encoding.c, sendmsg.c: Include coretypes.h and tm.h.
  2181. 2002-11-26 Nathanael Nerode <neroden@gcc.gnu.org>
  2182. * configure.in: Remove skip-this-dir support.
  2183. * configure: Regenerate.
  2184. 2002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  2185. * Makefile.in (all): Fix multilib parallel build.
  2186. Thu Sep 12 12:44:37 2002 Nicola Pero <n.pero@mi.flashnet.it>
  2187. * sendmsg.c (nil_method): Declare not to take a variable number of
  2188. args.
  2189. (objc_msg_lookup): Cast nil_method to IMP before returning it.
  2190. (objc_msg_lookup_super): The same.
  2191. 2002-09-10 Jan Hubicka <jh@suse.cz>
  2192. * nil_method.c (nil_method): No longer defined with variable
  2193. arguments.
  2194. 2002-07-02 Rodney Brown <rbrown64@csc.com.au>
  2195. * objc/encoding.h: Fix formatting.
  2196. * objc/hash.h: Likewise.
  2197. * objc/objc-api.h: Likewise.
  2198. * objc/runtime.h: Likewise.
  2199. * objc/thr.h: Likewise.
  2200. * archive.c: Likewise.
  2201. * class.c: Likewise.
  2202. * encoding.c: Likewise.
  2203. * gc.c: Likewise.
  2204. * hash.c: Likewise.
  2205. * init.c: Likewise.
  2206. * misc.c: Likewise.
  2207. * nil_method.c: Likewise.
  2208. * objects.c: Likewise.
  2209. * sarray.c: Likewise.
  2210. * selector.c: Likewise.
  2211. * sendmsg.c: Likewise.
  2212. * thr-mach.c: Likewise.
  2213. * thr.c: Likewise.
  2214. 2002-06-25 DJ Delorie <dj@redhat.com>
  2215. * aclocal.m4 (GLIBCPP_CONFIGURE): Split out
  2216. GLIBCPP_TOPREL_CONFIGURE.
  2217. * configure.in: Call it before AC_CANONICAL_SYSTEM.
  2218. * configure: Regenerate.
  2219. 2002-06-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  2220. * Object.m (forward, read, write): Fix unused parameter warnings.
  2221. * encoding.c: Include <stdlib.h>.
  2222. (target_flags): Mark with attribute unused.
  2223. (atoi): Delete.
  2224. * runtime.h (__objc_selector_max_index): Change to unsigned int.
  2225. (__objc_generate_gc_type_description): Prototype.
  2226. * selector.c (__objc_selector_max_index): Change to unsigned int.
  2227. Mon Jun 17 18:37:42 2002 Nicola Pero <n.pero@mi.flashnet.it>
  2228. * sendmsg.c (__objc_get_forward_imp): Fix warning by making sure
  2229. we always have a return value: if __objc_msg_forward does not
  2230. supply a forwarding implementation, return the default
  2231. __builtin_apply based one.
  2232. 2002-06-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  2233. * Object.m: Fix signed/unsigned warning.
  2234. * Protocol.m: Likewise.
  2235. * archive.c: Always include stdlib.h.
  2236. (objc_read_short, objc_read_unsigned_short, objc_read_int,
  2237. objc_read_long, __objc_read_nbyte_uint, __objc_read_nbyte_ulong):
  2238. Fix signed/unsigned warning.
  2239. (objc_write_type, objc_read_type, objc_write_types,
  2240. objc_read_types): Ensure ctype 8-bit safety.
  2241. (__objc_no_write, __objc_no_read): Mark unused parameters.
  2242. * class.c (class_table_setup): Specify void arg.
  2243. * encoding.c (atoi, objc_sizeof_type, objc_alignof_type,
  2244. objc_skip_typespec, objc_skip_offset,
  2245. objc_layout_structure_next_member): Ensure ctype 8-bit safety.
  2246. (objc_layout_structure_next_member): Ensure variables are
  2247. initialized.
  2248. * gc.c (__objc_generate_gc_type_description,
  2249. class_ivar_set_gcinvisible): Mark unused parameters.
  2250. * init.c (__objc_send_load, __objc_destroy_class_tree_node): Mark
  2251. unused parameters.
  2252. (__objc_init_protocols) Fix signed/unsigned warning.
  2253. * nil_method.c (nil_method): Mark unused parameters.
  2254. * thr.h (objc_thread_callback): Specify void arg.
  2255. * sarray.c (sarray_new, sarray_realloc, sarray_free): Fix
  2256. signed/unsigned warning.
  2257. (sarray_free): Fix formatting.
  2258. * selector.c (sel_types_match): Ensure ctype 8-bit safety.
  2259. * sendmsg.c (__objc_init_install_dtable) Mark unused parameters.
  2260. 2002-06-09 Andreas Jaeger <aj@suse.de>
  2261. * encoding.c (objc_layout_structure_next_member): Remove unused
  2262. variable.
  2263. 2002-05-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  2264. * Makefile.in (SHELL): Set to @SHELL@.
  2265. (WARN_CFLAGS): New.
  2266. (ALL_CFLAGS): Add $(WARN_CFLAGS).
  2267. 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  2268. * aclocal.m4: Allow for PWDCMD to override hardcoded pwd.
  2269. * configure: Regenerate.
  2270. 2002-05-08 Alexandre Oliva <aoliva@redhat.com>
  2271. * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
  2272. script entry, and set LD to it when configuring multilibs.
  2273. * configure: Rebuilt.
  2274. 2002-04-19 David O'Brien <obrien@FreeBSD.org>
  2275. * encoding.c (MAX, MIN, ROUNDING): #undef before defining.
  2276. 2002-04-09 Hans-Peter Nilsson <hp@bitrange.com>
  2277. PR objc/6107
  2278. * objc/objc-api.h (struct objc_protocol_list): Change type of
  2279. member count from int to size_t.
  2280. 2002-02-11 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
  2281. PR libobjc/4039
  2282. * aclocal.m4: Replace with version copied from libstdc++-v3.
  2283. * configure.in: Update for changes to aclocal and Makefile.
  2284. * configure: Regenerate.
  2285. * Makefile.in: Correct install of multilibs and shared libs, use
  2286. INSTALL_DATA for include files.
  2287. Mon Dec 17 17:02:12 2001 Nicola Pero <nicola@brainstorm.co.uk>
  2288. * init.c (__objc_exec_class): Fixed bug in the loop on unclaimed
  2289. categories - when an unclaimed category was found, the loop was
  2290. doing two steps forward instead of one, so that in certain cases
  2291. it was failing to properly load all the categories. (Reported
  2292. with fix by Alexander Malmberg <alexander@malmberg.org>).
  2293. 2001-11-14 Aldy Hernandez <aldyh@redhat.com>
  2294. * encoding.c: Add target_flags.
  2295. 2001-11-07 Aldy Hernandez <aldyh@redhat.com>
  2296. * objc/objc-api.h (_C_VECTOR): New.
  2297. * encoding.c (VECTOR_TYPE): New.
  2298. Mon Oct 29 21:29:21 2001 Nicola Pero <n.pero@mi.flashnet.it>
  2299. * class.c: Rewritten the class table to use optimized, lock-free
  2300. lookup. This more than doubles the speed of class method
  2301. invocations. (class_table_setup), (class_table_insert),
  2302. (class_table_replace), (class_table_get_safe),
  2303. (class_table_next), (class_table_print),
  2304. (class_table_print_histogram): New functions.
  2305. (__objc_init_class_tables): Use class_table_setup.
  2306. (__objc_add_class_to_hash): Use class_table_get_safe and
  2307. class_table_insert. (objc_lookup_class), (objc_get_class): Do not
  2308. assert the existence of the table; do not lock the runtime; use
  2309. class_table_get_safe. (objc_next_class): Use class_table_next.
  2310. (__objc_resolve_class_links): Use class_table_next.
  2311. (class_pose_as): Use class_table_replace.
  2312. 2001-09-10 Ovidiu Predescu <ovidiu@cup.hp.com>
  2313. * gc.c: Removed the DEBUG declaration.
  2314. Wed Jul 18 12:48:56 2001 Nicola Pero <n.pero@mi.flashnet.it>
  2315. * thr.c (objc_mutex_lock): Invoke __objc_thread_id directly,
  2316. rather than through objc_thread_id, to save a function call.
  2317. (objc_mutex_trylock, objc_mutex_unlock, objc_condition_wait):
  2318. Ditto.
  2319. Mon Jul 16 12:15:00 2001 Nicola Pero <n.pero@mi.flashnet.it>
  2320. * objc/objc-api.h (object_is_class): Fixed - buggy code was trying
  2321. to cast an id to a Class, which can not be done. Make the check
  2322. by using CLS_ISMETA on the class pointer instead.
  2323. (object_is_meta_class): Similar fix.
  2324. 2001-06-09 Alexandre Oliva <aoliva@redhat.com>, Stephen L Moshier <moshier@mediaone.net>
  2325. * configure.in (AC_EXEEXT): Work around in case it expands to
  2326. nothing, as in autoconf 2.50.
  2327. * acinclude.m4: Likewise.
  2328. * configure: Rebuilt.
  2329. 2001-06-08 Nicola Pero <n.pero@mi.flashnet.it>
  2330. * THREADS: Explain that when we compile libobjc inside GCC, we
  2331. always use thr-objc.c as a backend, which uses GCC's thread code.
  2332. 2001-06-06 Richard Frith-Macdonald <rrfm@gnu.org>
  2333. * init.c (__objc_send_message_in_list): When setting a new entry
  2334. in __objc_load_methods use the method IMP as key, but check to see
  2335. if the method is in the hashtable by looking at the IMP also.
  2336. Also ... call the method after adding it to the hashtable rather
  2337. than before ... thus preventing an obscure possibility of infinite
  2338. recursion if a +load method itself loads a subclass.
  2339. 2001-05-25 Ovidiu Predescu <ovidiu@cup.hp.com>
  2340. * init.c (__objc_send_message_in_list): When setting a new entry
  2341. in __objc_load_methods use the method name as key, not the method
  2342. IMP (reported by Richard Frith-Macdonald <richard@brainstorm.co.uk>).
  2343. 2001-05-09 Joseph S. Myers <jsm28@cam.ac.uk>
  2344. * objc-features.texi: Move to ../gcc/objc.texi.
  2345. * fdl.texi: Remove.
  2346. * Makefile.in: Don't generate documentation from
  2347. objc-features.texi.
  2348. 2001-05-01 Mark Mitchell <mark@codesourcery.com>
  2349. * fdl.texi: New file.
  2350. * objc-features.texi: Simplify.
  2351. * Makefile.in: Adjust accordingly.
  2352. 2001-04-30 Mark Mitchell <mark@codesourcery.com>
  2353. * objc-features.texi: Use the GFDL.
  2354. Wed Mar 21 04:44:58 EST 2001 John Wehle (john@feith.com)
  2355. * encoding.c (REAL_TYPE): Define.
  2356. 2001-03-19 David Edelsohn <edelsohn@gnu.org>
  2357. * encoding.c (TYPE_MODE): Define.
  2358. 2001-03-14 Nicola Pero <n.pero@mi.flashnet.it>
  2359. * thr.c (objc_thread_add): New function.
  2360. (objc_thread_remove): Ditto.
  2361. * objc/thr.h: Declare them.
  2362. * libobjc.def: Mention them.
  2363. 2001-02-28 Ovidiu Predescu <ovidiu@cup.hp.com>
  2364. * objc-features.texi: Document the @compatibility_alias compiler
  2365. directive (description from Nicola Pero <n.pero@mi.flashnet.it>).
  2366. Fri Feb 23 18:12:00 2001 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  2367. * sendmsg.c (__objc_forward): Delete strlen() declaration.
  2368. 2001-02-08 Geoffrey Keating <geoffk@redhat.com>
  2369. * configure.in: Don't run AC_PROG_CC_WORKS or AC_EXEEXT, because
  2370. we're not interested in the result and they might fail.
  2371. * configure: Regenerated.
  2372. 2001-01-12 Joseph S. Myers <jsm28@cam.ac.uk>
  2373. * objc-features.texi: Use @email.
  2374. 2001-01-12 Joseph S. Myers <jsm28@cam.ac.uk>
  2375. * sendmsg.c (__objc_print_dtable_stats): Don't use #ifdef inside
  2376. printf.
  2377. 2000-01-11 Richard Earnshaw <rearnsha@arm.com>
  2378. * encoding.c (STRUCTURE_SIZE_BOUNDARY): Redefine in a way that
  2379. determines the value dynamically.
  2380. Wed Jan 3 00:49:10 2001 Ovidiu Predescu <ovidiu@cup.hp.com>
  2381. * sendmsg.c: Added __objc_msg_forward, a hook that allows external
  2382. libraries to provide a function that returns the real forwarding
  2383. function. This can alleviate problems __builtin_apply() and
  2384. friends have on various platforms. (Solution suggested by Helge
  2385. Hess.)
  2386. * objc/objc-api.h: Define __objc_msg_forward.
  2387. * sendmsg.c: Define gen_rtx_REG.
  2388. 2000-12-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
  2389. * thr-rtems.c: New file. Stub to compile.
  2390. 2000-09-06 Alexandre Oliva <aoliva@redhat.com>
  2391. * configure: Rebuilt with new libtool.m4.
  2392. Tue Aug 15 00:38:56 2000 Ovidiu Predescu <ovidiu@cup.hp.com>
  2393. * configure.in: Create a config.h file. Check for <sched.h>.
  2394. * configure: Regenerate.
  2395. * config.h.in: Check for <sched.h>.
  2396. 2000-08-14 Zack Weinberg <zack@wolery.cumb.org>
  2397. * configure: Regenerate after change to ../libtool.m4.
  2398. 2000-08-14 Andreas Schwab <schwab@suse.de>
  2399. * objc-features.texi (Top): Move @menu at end of node.
  2400. 2000-08-11 Manfred Hollstein <manfredh@redhat.com>
  2401. * objc-features.texi: Move @node Top before @menu.
  2402. Sun Aug 6 23:27:49 2000 Ovidiu Predescu <ovidiu@cup.hp.com>
  2403. * objc-features.texi: Documented the new -fconstant-string-class
  2404. option.
  2405. Sun Aug 6 22:51:16 2000 Ovidiu Predescu <ovidiu@cup.hp.com>
  2406. * thr-posix.c: Integrated Chris Ball's <cball@fmco.com> changes to
  2407. improve the Posix thread support for Objective-C.
  2408. 2000-08-04 Zack Weinberg <zack@wolery.cumb.org>
  2409. * aclocal.m4: Replace copy of ../libtool.m4 with
  2410. sinclude(../libtool.m4).
  2411. Fri Jul 28 08:58:02 2000 Nicola Pero <nicola@brainstorm.co.uk>
  2412. * configure.in: Added libtool support; build shared libraries
  2413. if --enable-shared was passed on command line.
  2414. * Makefile.in: Modified most compilation commands to use libtool.
  2415. * aclocal.m4: New symbolic link to the ../libtool.m4, from the
  2416. libtool distribution.
  2417. Sat Jul 29 00:10:21 2000 Ovidiu Predescu <ovidiu@cup.hp.com>
  2418. * sarray.c, Object.m: Removed the explicit prototypes for strlen
  2419. and memcpy on 64-bit platforms (Suggested by Rodney Brown
  2420. <rdb@cup.hp.com>).
  2421. 2000-05-12 H.J. Lu (hjl@gnu.org)
  2422. * Makefile.in (GTHREAD_FLAGS): New.
  2423. (ALL_CFLAGS): Add $(GTHREAD_FLAGS).
  2424. (OBJC_THREAD_FILE): Changed to thr-objc.
  2425. * configure.in (GTHREAD_FLAGS): New, check and replace it for
  2426. Makefile.
  2427. (OBJC_THREAD_FILE): Removed.
  2428. * thr-objc.c: New.
  2429. 2000-07-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  2430. * objc/hash.h: Include string.h.
  2431. 2000-04-15 David Edelsohn <edelsohn@gnu.org>
  2432. * Object.m (strlen): 64-bit PowerPC is a 64bit platform as well.
  2433. 2000-04-12 Jakub Jelinek <jakub@redhat.com>
  2434. * Object.m (strlen): Provide prototype on all 64bit platforms,
  2435. not only alpha.
  2436. * sarray.c (memcpy): Likewise.
  2437. * encoding.c (objc_layout_finish_structure): Don't use
  2438. ROUND_TYPE_ALIGN on sparc.
  2439. * encoding.c (objc_layout_structure_next_member): Do the whole
  2440. procedure even for the first member, so that we get correct
  2441. alignment.
  2442. 2000-03-29 Zack Weinberg <zack@wolery.cumb.org>
  2443. * objc/Protocol.h, objc/objc-list.h: Change #endif labels to
  2444. comments.
  2445. 2000-02-23 Zack Weinberg <zack@wolery.cumb.org>
  2446. * Makefile.in: Add -DIN_TARGET_LIBS to ALL_CFLAGS.
  2447. Thu Sep 23 07:19:12 1999 Chris Ball <cball@fmco.com>
  2448. * thr-posix.c (__objc_mutex_deallocate): made deallocate work.
  2449. Tue Sep 21 07:47:10 1999 Jeffrey A Law (law@cygnus.com)
  2450. * Makefile.in (gc.o, gc_gc.o): Do not pass -fgnu-runtime to
  2451. the compiler when building C code.
  2452. Fri Aug 6 23:32:29 1999 Daniel Jacobowitz <drow@drow.them.org>
  2453. * Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix,
  2454. libdir, libsubdir and tooldir.
  2455. Mon Jun 21 05:40:15 1999 John David Anglin <dave@hiauly1>
  2456. * init.c (__objc_force_linking): Make global.
  2457. Thu May 20 03:20:59 1999 Jeffrey A Law (law@cygnus.com)
  2458. * configure.in (AC_EXEEXT): Remove call.
  2459. (compiler_name): Explicitly check with no extension and .exe
  2460. extension.
  2461. * configure: Regenerate.
  2462. Sun Apr 25 01:15:34 1999 Mumit Khan <khan@xraylith.wisc.edu>
  2463. * Makefile.in (CC1OBJ): Define in terms of CC.
  2464. (runtime-info.h): Use.
  2465. Fri April 8 08:21:07 1999 Ovidiu Predescu <ovidiu@cup.hp.com>
  2466. * objc-features.texi: Updated the URL to Boehm's GC page.
  2467. Fri Mar 26 23:41:07 1999 Ovidiu Predescu <ovidiu@cup.hp.com>
  2468. * archive.c (__objc_code_char, __objc_write_char): Explicitly specify
  2469. the char as being signed (patch from Daniel Jacobowitz
  2470. <drow@false.org>).
  2471. Wed Mar 24 22:41:28 1999 Mumit Khan <khan@xraylith.wisc.edu>
  2472. * configure.in (AC_PREREQ): Update to 2.13.
  2473. (AC_EXEEXT): Call to find possible file extension.
  2474. (compiler_name): Use.
  2475. * configure: Regenerate.
  2476. Wed Jan 27 02:31:01 1999 Jeffrey A Law (law@cygnus.com)
  2477. * Makefile.in (ALL_CFLAGS): Add -DIN_GCC.
  2478. Tue Jan 5 01:38:53 1999 Jeffrey A Law (law@cygnus.com)
  2479. * configure.in (thread_file): Correct and simplify code to find
  2480. the thread file.
  2481. * configure: Rebuilt.
  2482. 1998-11-26 Manfred Hollstein <manfred@s-direktnet.de>
  2483. * configure.in (compiler_name): Add check to detect if this
  2484. language's compiler has been built.
  2485. * configure: Regenerate.
  2486. Mon Nov 23 16:50:28 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  2487. * configure.in: Use AC_PREREQ(2.12.1).
  2488. Thu Nov 19 20:33:37 1998 Jeffrey A Law (law@cygnus.com)
  2489. * Makefile.in (runtime-info.h): Avoid GNU make extensions.
  2490. Sun Nov 8 17:46:14 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  2491. * Makefile.in (INCLUDES): Add -I$(srcdir)/$(MULTISRCTOP)../include.
  2492. Thu Oct 22 14:34:06 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  2493. * configure.in: Use AC_CONFIG_AUX_DIR($topsrcdir).
  2494. Sat Oct 17 05:21:31 1998 Ovidiu Predescu <ovidiu@slip.net>
  2495. * objc-features.texi (Top): Changed the email address.
  2496. * objc-features.texi (Garbage Collection): Use @uref instead of @url.
  2497. Mon Oct 11 21:25:27 1998 Ovidiu Predescu <ovidiu@slip.net>
  2498. * encoding.c: Redefine get_inner_array_type to get the first entry
  2499. in the structure.
  2500. Thu Oct 8 12:21:14 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
  2501. * encoding.c (objc_skip_type_qualifiers): Handle _C_BYREF.
  2502. (objc_get_type_qualifiers): Similarly.
  2503. * objc/encoding.h (_C_BYREF): Define.
  2504. (_F_BYREF): Define.
  2505. 1998-10-07 David S. Miller <davem@pierdol.cobaltmicro.com>
  2506. * objc/sarray.h: Make boffset be an unsigned long when sparc so it
  2507. works out on 64-bit systems.
  2508. Tue Oct 6 20:32:06 1998 Alexandre Oliva <oliva@dcc.unicamp.br>
  2509. * Makefile.in (INCLUDES): Make it multilib-friendly.
  2510. Fri Oct 2 07:12:14 1998 H.J. Lu (hjl@gnu.org)
  2511. * Makefile.in (INCLUDES): Add -I$(srcdir)/../gcc.
  2512. Thu Oct 1 22:33:03 1998 Robert Lipe <robertl@dgii.com>
  2513. Jeffrey A Law (law@cygnus.com)
  2514. * Makefile.in (INCLUDES): Reference gcc via $MULTIBUILDTOP.
  2515. (FLAGS_TO_PASS): Added.
  2516. (runtime-info.h): Reference cc1ibj via $MULTIBUILDTOP.
  2517. * archive.c: Change config.h to tconfig.h.
  2518. * configure.in: Find gcc's object directory even for multilibs.
  2519. Wed Sep 30 18:17:17 1998 Robert Lipe <robertl@dgii.com>
  2520. * configure.in: Escape ^ in grep string.
  2521. * configure: Rebuilt.
  2522. Wed Sep 30 09:14:52 1998 Jeffrey A Law (law@cygnus.com)
  2523. * All .h files pushed down into the objc/ subdirectory.
  2524. * Makefile.in (copy_headers): Corresponding changes.
  2525. * configure.in (AC_INIT): Corresponding changes.
  2526. * configure: Rebuilt.
  2527. 1998-09-30 Ben Elliston <bje@cygnus.com>
  2528. Jeff Law <law@cygnus.com>
  2529. * Makefile.in: Rewrite.
  2530. * configure.in: Likewise.
  2531. * configure: Regenerate.
  2532. * All .c files. Remove "objc" prefix when including objc header
  2533. files. Include tconfig.h, not ../tconfig.h.
  2534. Mon Sep 21 23:27:10 1998 Ovidiu Predescu <ovidiu@slip.net>
  2535. * encoding.c (TREE_TYPE, ARRAY_TYPE): Define.
  2536. (get_inner_array_type): Define.
  2537. 1998-09-21 Ben Elliston <bje@cygnus.com>
  2538. * New directory. Moved files from ../gcc/objc.