1 2025-05-23 Release Manager 2 3 * GCC 14.3.0 released. 4 5 2024-08-01 Release Manager 6 7 * GCC 14.2.0 released. 8 9 2024-05-07 Release Manager 10 11 * GCC 14.1.0 released. 12 13 2024-04-02 Jakub Jelinek <jakub (a] redhat.com> 14 15 * init.c (duplicate_classes): Fix duplicated words in comment; in in 16 -> in. 17 * sendmsg.c (__objc_prepare_dtable_for_class): Fix duplicated words 18 in comment; the the -> the. 19 * encoding.c (objc_layout_structure): Likewise. 20 21 2023-10-22 Iain Sandoe <iain (a] sandoe.co.uk> 22 23 * configure: Regenerate. 24 * configure.ac: Handle Darwin rpaths. 25 26 2023-08-07 Nick Alcock <nick.alcock (a] oracle.com> 27 28 * configure: Regenerate. 29 30 2023-08-07 Alexander von Gluck IV <kallisti5 (a] unixzen.com> 31 32 * configure: Regenerate. 33 34 2023-08-07 Nick Alcock <nick.alcock (a] oracle.com> 35 36 * configure: Regenerate. 37 38 2023-08-07 Nick Alcock <nick.alcock (a] oracle.com> 39 40 * configure: Regenerate. 41 42 2023-08-07 H.J. Lu <hjl.tools (a] gmail.com> 43 44 * configure: Regenerate. 45 46 2023-08-07 H.J. Lu <hjl.tools (a] gmail.com> 47 48 * configure: Regenerate. 49 50 2023-05-22 Iain Sandoe <iain (a] sandoe.co.uk> 51 Andrew Pinski <apinski (a] marvell.com> 52 53 PR libobjc/109913 54 * encoding.c (RECORD_OR_UNION_TYPE_P, VECTOR_TYPE_P): New. 55 56 2022-10-20 Thomas Schwinge <thomas (a] codesourcery.com> 57 58 * configure.ac (AC_CONFIG_MACRO_DIRS): Instantiate. 59 * configure: Regenerate. 60 61 2022-10-12 Martin Liska <mliska (a] suse.cz> 62 63 * configure: Regenerate. 64 65 2022-10-11 Olivier Hainque <hainque (a] adacore.com> 66 Olivier Hainque <hainque (a] adacore.com> 67 68 * configure: Regenerate. 69 70 2022-08-25 Martin Liska <mliska (a] suse.cz> 71 72 * configure: Regenerate. 73 74 2021-01-05 Samuel Thibault <samuel.thibault (a] ens-lyon.org> 75 76 * configure: Re-generate. 77 78 2020-12-05 Iain Sandoe <iain (a] sandoe.co.uk> 79 80 PR target/97865 81 * configure: Regenerate. 82 83 2020-11-29 John David Anglin <danglin (a] gcc.gnu.org> 84 85 * configure: Regenerate. 86 87 2020-10-11 Iain Sandoe <iain (a] sandoe.co.uk> 88 89 * encoding.c (_darwin_rs6000_special_round_type_align): 90 Use DFMode in the emulation of the special round type. 91 92 2020-05-29 H.J. Lu <hjl.tools (a] gmail.com> 93 94 PR bootstrap/95413 95 * configure: Regenerated. 96 97 2020-05-15 H.J. Lu <hongjiu.lu (a] intel.com> 98 99 PR bootstrap/95147 100 * configure: Regenerated. 101 102 2020-05-14 H.J. Lu <hongjiu.lu (a] intel.com> 103 104 * configure: Regenerated. 105 106 2020-02-12 Sandra Loosemore <sandra (a] codesourcery.com> 107 108 PR libstdc++/79193 109 PR libstdc++/88999 110 111 * configure: Regenerated. 112 113 2020-01-24 Maciej W. Rozycki <macro (a] wdc.com> 114 115 * Makefile.in (aclocal_deps): Add `toolexeclibdir.m4'. 116 * aclocal.m4: Include `toolexeclibdir.m4'. 117 * configure.ac: Handle `--with-toolexeclibdir='. 118 * configure: Regenerate. 119 120 2020-01-01 Andrew Pinski <pinskia (a] gmail.com> 121 122 PR libobjc/93099 123 * objc/objc-decls.h (objc_EXPORT): Define it to 124 extern for DLL_EXPORT define case. 125 126 2020-01-01 Jakub Jelinek <jakub (a] redhat.com> 127 128 Update copyright years. 129 130 2019-11-26 Tobias Burnus <tobias (a] codesourcery.com> 131 132 * Makefile.in (aclocal_deps): Fix path to cet.m4. 133 134 2019-09-27 Maciej W. Rozycki <macro (a] wdc.com> 135 136 * configure: Regenerate. 137 138 2019-04-23 Ramana Radhakrishnan <ramana.radhakrishnan (a] arm.com> 139 Bernd Edlinger <bernd.edlinger (a] hotmail.de> 140 Jakub Jelinek <jakub (a] redhat.com> 141 142 PR target/89093 143 * exception.c (PERSONALITY_FUNCTION): Add general-regs-only target 144 attribute for ARM. 145 146 2019-03-06 Uro Bizjak <ubizjak (a] gmail.com> 147 148 * encoding.c (DFmode): #undef before #define. 149 150 2019-01-09 Sandra Loosemore <sandra (a] codesourcery.com> 151 152 PR other/16615 153 * objc/runtime.h: Change "can not" to "cannot". 154 155 2019-01-09 Sandra Loosemore <sandra (a] codesourcery.com> 156 157 PR other/16615 158 159 * class.c: Mechanically replace "can not" with "cannot". 160 * objc/runtime.h: Likewise. 161 * sendmsg.c: Likewise. 162 163 2019-01-01 Jakub Jelinek <jakub (a] redhat.com> 164 165 Update copyright years. 166 167 2018-10-31 Joseph Myers <joseph (a] codesourcery.com> 168 169 PR bootstrap/82856 170 * configure.ac: Remove AC_PREREQ. 171 * aclocal.m4, config.h.in, configure: Regenerate. 172 173 2018-04-24 H.J. Lu <hongjiu.lu (a] intel.com> 174 175 * configure: Regenerated. 176 177 2018-04-19 Jakub Jelinek <jakub (a] redhat.com> 178 179 * configure: Regenerated. 180 181 2018-04-18 David Malcolm <dmalcolm (a] redhat.com> 182 183 PR jit/85384 184 * configure: Regenerate. 185 186 2018-02-14 Igor Tsimbalist <igor.v.tsimbalist (a] intel.com> 187 188 PR target/84148 189 * configure: Regenerate. 190 191 2018-01-03 Jakub Jelinek <jakub (a] redhat.com> 192 193 Update copyright years. 194 195 2017-11-23 Tom de Vries <tom (a] codesourcery.com> 196 197 * class.c (CLASS_TABLE_HASH): Wrap in "do {} while (0)". 198 199 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist (a] intel.com> 200 201 * Makefile.in: Regenerate. 202 * aclocal.m4: Likeiwse. 203 * configure: Likewise. 204 * configure.ac: Set CET_FLAGS. Update XCFLAGS. 205 206 2017-08-30 Richard Sandiford <richard.sandiford (a] linaro.org> 207 Alan Hayward <alan.hayward (a] arm.com> 208 David Sherwood <david.sherwood (a] arm.com> 209 210 * encoding.c (_darwin_rs6000_special_round_type_align): Prefix mode 211 names with E_ in case statements. 212 213 2017-02-07 Richard Biener <rguenther (a] suse.de> 214 215 PR tree-optimization/79256 216 PR middle-end/79278 217 * encoding.c (objc_layout_structure_next_member): Adjust 218 ADJUST_FIELD_ALIGN usage. 219 220 2017-01-18 Matthias Klose <doko (a] ubuntu.com> 221 222 PR libobjc/78697 223 * configure.ac: Allow default for --with-target-bdw-gc-include. 224 * configure: Regenerate. 225 226 PR libobjc/78698 227 * configure.ac: Use the libgc.la file when available. 228 * configure: Regenerate. 229 230 2017-01-17 Jakub Jelinek <jakub (a] redhat.com> 231 232 PR other/79046 233 * configure: Regenerated. 234 * configure.ac: Add GCC_BASE_VER. 235 * Makefile.in (gcc_version): Use @get_gcc_base_ver@ instead of cat to 236 get version from BASE-VER file. 237 * configure: Regenerated. 238 239 2017-01-01 Jakub Jelinek <jakub (a] redhat.com> 240 241 Update copyright years. 242 243 2016-12-01 Matthias Klose <doko (a] ubuntu.com> 244 245 * configure.ac: Don't use pkg-config to check for bdw-gc. 246 * configure: Regenerate. 247 248 2016-11-30 Matthias Klose <doko (a] ubuntu.com> 249 250 * configure.ac: Set BDW_GC_CFLAGS and BDW_GC_LIBS after checking 251 for the existence of the pkg-config modules. 252 * Regenerate. 253 254 2016-11-30 Jakub Jelinek <jakub (a] redhat.com> 255 256 * configure.ac (--enable-objc-gc): If not given, default to 257 enable_objc_gc=no. 258 * configure: Regenerated. 259 260 2016-11-30 Matthias Klose <doko (a] ubuntu.com> 261 262 * configure.ac (--enable-objc-gc): Allow to configure with a 263 system provided boehm-gc. 264 * configure: Regenerate. 265 * Makefile.in (OBJC_BOEHM_GC_LIBS): Get value from configure. 266 * gc.c: Include system bdw-gc headers. 267 * memory.c: Likewise. 268 * objects.c: Likewise. 269 270 2016-11-15 Matthias Klose <doko (a] ubuntu.com> 271 272 * aclocal.m4: Regenerate. 273 * configure: Likewise. 274 275 2016-01-04 Jakub Jelinek <jakub (a] redhat.com> 276 277 Update copyright years. 278 279 2015-11-07 Trevor Saunders <tbsaunde+gcc (a] tbsaunde.org> 280 281 PR libobjc/24775 282 * encoding.c (_darwin_rs6000_special_round_type_align): Use 283 __CHAR_BIT__ instead of BITS_PER_UNIT. 284 (objc_sizeof_type): Likewise. 285 (objc_layout_structure): Likewise. 286 (objc_layout_structure_next_member): Likewise. 287 (objc_layout_finish_structure): Likewise. 288 (objc_layout_structure_get_info): Likewise. 289 290 2015-11-03 Trevor Saunders <tbsaunde+gcc (a] tbsaunde.org> 291 292 PR libobjc/24775 293 * encoding.c (objc_layout_finish_structure): Remove usage of 294 ROUND_TYPE_SIZE. 295 296 2015-09-12 Trevor Saunders <tbsaunde+gcc (a] tbsaunde.org> 297 298 PR libobjc/24775 299 * sendmsg.c (tm.h): Remove include. 300 301 2015-09-12 Trevor Saunders <tbsaunde+gcc (a] tbsaunde.org> 302 303 PR libobjc/24775 304 * sendmsg.c (gen_rtx): Remove macro. 305 (gen_rtx_MEM): Likewise. 306 (gen_rtx_REG): Likewise. 307 (rtx): Likewise. 308 309 2015-09-12 Trevor Saunders <tbsaunde+gcc (a] tbsaunde.org> 310 311 PR libobjc/24775 312 * sendmsg.c: Remove check of STRUCT_VALUE macro. 313 314 2015-05-13 Eric Botcazou <ebotcazou (a] adacore.com> 315 316 * configure.ac: Remove manual SJLJ check. 317 * config.h.in: Regenerate. 318 * configure: Likewise. 319 * exception.c: Replace SJLJ_EXCEPTIONS by __USING_SJLJ_EXCEPTIONS__. 320 321 2015-05-13 Michael Haubenwallner <michael.haubenwallner (a] ssi-schaefer.com> 322 323 * aclocal.m4: Regenerated with automake-1.11.6. 324 325 2015-05-04 Trevor Saunders <tbsaunde+gcc (a] tbsaunde.org> 326 327 * configure: Regenerate. 328 329 2015-05-01 Trevor Saunders <tbsaunde+gcc (a] tbsaunde.org> 330 331 * acinclude.m4: Include bitfields.m4. 332 * config.h.in: Regenerate. 333 * configure: Likewise. 334 * configure.ac: Invoke gt_BITFIELD_TYPE_MATTERS. 335 * encoding.c: Check HAVE_BITFIELD_TYPE_MATTERS. 336 337 2015-04-29 Trevor Saunders <tbsaunde+gcc (a] tbsaunde.org> 338 339 * encoding.c (objc_layout_structure_next_member): Check the value of 340 PCC_BITFIELD_TYPE_MATTERS not if it is defined. 341 342 2015-02-05 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE> 343 344 PR libobjc/63765 345 * thr.c (_XOPEN_SOURCE): Remove. 346 347 2015-01-27 Matthias Klose <doko (a] ubuntu.com> 348 349 * sendmsg.c: Add prototypes for __objc_get_forward_imp and get_imp. 350 351 2015-01-09 Dimitris Papavasiliou <dpapavas (a] gmail.com> 352 353 PR libobjc/51891 354 * ivars.c: Add a check for classes without instance 355 variables, which have a NULL ivar list pointer. 356 357 2015-01-05 Jakub Jelinek <jakub (a] redhat.com> 358 359 Update copyright years. 360 361 2014-11-21 H.J. Lu <hongjiu.lu (a] intel.com> 362 363 PR bootstrap/63784 364 * configure: Regenerated. 365 366 2014-11-11 Francois-Xavier Coudert <fxcoudert (a] gcc.gnu.org> 367 368 PR target/63610 369 * configure: Regenerate. 370 371 2014-11-05 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE> 372 373 * thr.c (_XOPEN_SOURCE): Define as 600. 374 375 2014-07-27 Alan Modra <amodra (a] gmail.com> 376 Matthias Klose <doko (a] ubuntu.com> 377 378 PR libobjc/61920 379 380 * encoding.c: Define rs6000_special_adjust_field_align_p. 381 382 2014-01-02 Richard Sandiford <rdsandiford (a] googlemail.com> 383 384 Update copyright years 385 386 2013-09-20 Alan Modra <amodra (a] gmail.com> 387 388 * configure: Regenerate. 389 390 2013-07-21 Ondej Blka <neleai (a] seznam.cz> 391 392 * class.c: Fix typos. 393 * encoding.c: Likewise. 394 * init.c: Likewise. 395 * objc-private/runtime.h: Likewise. 396 * objc/runtime.h: Likewise. 397 * objc-sync.c: Likewise. 398 399 2013-07-04 Kai Tietz <ktietz (a] redhat.com> 400 401 * exception.c: Add check for SjLj to SEH blocks. 402 403 2013-02-03 Richard Sandiford <rdsandiford (a] googlemail.com> 404 405 Update copyright years. 406 407 2012-10-19 Michael Meissner <meissner (a] linux.vnet.ibm.com> 408 409 * encoding.c (TARGET_VSX): Provide definitions based on the 410 current compilation options, and not based off the target options 411 structure. 412 (TARGET_ALTIVEC): Likewise. 413 (TARGET_64BIT): Likewise. 414 415 2012-09-14 David Edelsohn <dje.gcc (a] gmail.com> 416 417 * configure: Regenerated. 418 419 2012-07-19 Tristan Gingold <gingold (a] adacore.com> 420 Richard Henderson <rth (a] redhat.com> 421 422 * exception.c (__gnu_objc_personality_seh0): New function. 423 424 2012-05-16 H.J. Lu <hongjiu.lu (a] intel.com> 425 426 * configure: Regenerated. 427 428 2012-03-12 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE> 429 430 * configure.ac (enable_objc_gc): Remove alpha*-dec-osf* handling. 431 * configure: Regenerate. 432 433 * thr.c (_XOPEN_SOURCE): Define unconditionally. 434 435 2011-11-21 Andreas Tobler <andreast (a] fgznet.ch> 436 437 * configure: Regenerate. 438 439 2011-11-02 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE> 440 441 * Makefile.in (INCLUDES): Add -I$(MULTIBUILDTOP)../libgcc. 442 * configure.ac (target_thread_file, HAVE_GTHR_DEFAULT): Remove. 443 * configure: Regenerate. 444 * config.h.in: Regenerate. 445 446 2011-10-17 Paul Brook <paul (a] codesourcery.com> 447 Matthias Klose <doko (a] ubuntu.com> 448 449 * exception.c (parse_lsda_header): hardcode ttype_encoding for older 450 ARM EABI toolchains. 451 (get_ttype_entry) Remove __ARM_EABI_UNWINDER__ variant. 452 453 2011-10-09 Nicola Pero <nicola.pero (a] meta-innovation.com> 454 455 PR libobjc/49883 456 * init.c (__objc_exec_class): Work around a bug in clang's code 457 generation. Clang sets the class->info field to values different 458 from 0x1 or 0x2 (the only allowed values in the traditional GNU 459 Objective-C runtime ABI) to store some additional information, but 460 this breaks backwards compatibility. Wipe out all the bits in the 461 fields other than the first two upon loading a class. 462 463 2011-10-09 Nicola Pero <nicola.pero (a] meta-innovation.com> 464 465 * class.c (objc_lookup_class): Added back for compatibility with 466 clang which seems to emit calls to it. 467 468 2011-10-08 Richard Frith-Macdonald <rfm (a] gnu.org> 469 Nicola Pero <nicola.pero (a] meta-innovation.com> 470 471 PR libobjc/50428 472 * sendmsg.c (__objc_send_initialize): If a class does not have an 473 +initialize method, search for an +initialize method in the 474 superclass and in the ancestor classes and execute the first one 475 that is found. This makes the GNU runtime behave in the same way 476 as the Apple/NeXT runtime with respect to +initialize methods and 477 subclassing. 478 479 2011-08-06 Nicola Pero <nicola.pero (a] meta-innovation.com> 480 481 PR libobjc/50002 482 * class.c (__objc_update_classes_with_methods): Iterate over meta 483 classes as well as normal classes when refreshing the method 484 implementations. This fixes replacing class methods. 485 486 2011-08-06 Nicola Pero <nicola.pero (a] meta-innovation.com> 487 488 * class.c (class_getSuperclass): Fixed to work with meta classes 489 still in construction too. 490 491 2011-08-06 Nicola Pero <nicola.pero (a] meta-innovation.com> 492 493 * class.c (class_getSuperclass): Fixed typo in comment. 494 495 2011-08-06 Nicola Pero <nicola.pero (a] meta-innovation.com> 496 497 PR libobjc/49882 498 * class.c (class_getSuperclass): Return the superclass if the 499 class is in construction. 500 * objc/runtime.h (class_getSuperclass): Updated documentation. 501 502 2011-08-05 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE> 503 504 * Makefile.in (INCLUDES): Search 505 $(srcdir)/$(MULTISRCTOP)../libgcc. 506 507 2011-06-08 Nicola Pero <nicola.pero (a] meta-innovation.com> 508 509 * objc/objc.h (__GNU_LIBOBJC__): Bumped to 20110608. 510 511 2011-06-08 Nicola Pero <nicola.pero (a] meta-innovation.com> 512 513 * configure.ac (VERSION): Bumped to 4:0:0. 514 * configure (VERSION): Likewise. 515 516 2011-06-08 Nicola Pero <nicola.pero (a] meta-innovation.com> 517 518 * objc/README: Updated. 519 * objc-private/selector.h: Updated comments. 520 521 2011-06-07 Nicola Pero <nicola.pero (a] meta-innovation.com> 522 523 * sendmsg.c (class_get_instance_method): Removed. 524 (class_get_class_method): Removed. 525 (objc_get_uninstalled_dtable): Removed. 526 527 2011-06-07 Nicola Pero <nicola.pero (a] meta-innovation.com> 528 529 * objc-private/module-abi-8.h (class_get_instance_size): Removed. 530 * objects.c (class_create_instance): Removed. 531 * error.c (__USE_FIXED_PROTOTYPES__): Removed. 532 * gc.c (__objc_generate_gc_type_description): Use 533 class_getInstanceSize() instead of class_get_instance_size(). 534 * selector.c (sel_types_match): Made static. 535 (sel_get_typed_uid): Removed. 536 (sel_get_any_typed_uid): Removed. 537 (sel_get_name): Removed. 538 (sel_get_type): Removed. 539 (sel_register_name): Removed. 540 (sel_register_typed_name): Removed. 541 (sel_get_uid): Removed. 542 543 2011-06-07 Nicola Pero <nicola.pero (a] meta-innovation.com> 544 545 * encoding.c (method_get_number_of_arguments): Removed. 546 (method_get_sizeof_arguments): Removed. 547 548 2011-06-07 Nicola Pero <nicola.pero (a] meta-innovation.com> 549 550 * class.c (objc_next_class): Removed. 551 (class_pose_as): Removed. 552 (CLASSOF): Removed. 553 (class_table_replace): Removed. 554 (objc_lookup_class): Removed. 555 556 2011-06-07 Nicola Pero <nicola.pero (a] meta-innovation.com> 557 558 Removed the Traditional Objective-C runtime public API. 559 * Makefile.in (OBJC_DEPRECATED_H): Variable removed. 560 (install-headers): Do not create the objc/deprecated directory and 561 do not install the deprecated headers. 562 (OBJC_H): Removed encoding.h and objc-api.h. 563 * Object.m: Removed all methods with the exception of -class and 564 -isEqual:. Updated includes. ([-class]): Use Modern API. 565 * objc/Object.h: Do not include deprecated/Object.h. 566 * objc/deprecated/Object.h: Removed. 567 * linking.m (__objc_linking): Call [Object class] instead of 568 [Object name]. 569 * Protocol.m: Removed all methods with the exception of -isEqual:. 570 Updated includes. 571 * objc/Protocol.h: Do not include deprecated/Protocol.h. 572 * objc/deprecated/Protocol.h: Removed. 573 * objc/deprecated/struct_objc_symtab.h: Removed. 574 * objc/deprecated/struct_objc_module.h: Removed. 575 * objc/deprecated/struct_objc_ivar.h: Removed. 576 * objc/deprecated/struct_objc_ivar_list.h: Removed. 577 * objc/deprecated/struct_objc_method.h: Removed. 578 * objc/deprecated/struct_objc_method_list.h: Removed. 579 * objc/deprecated/struct_objc_protocol_list.h: Removed. 580 * objc/deprecated/struct_objc_category.h: Removed. 581 * objc/deprecated/MetaClass.h: Removed. 582 * objc/deprecated/objc_msg_sendv.h: Removed. 583 * objc/deprecated/README: Removed. 584 * objc/deprecated/struct_objc_class.h: Removed. 585 * objc/deprecated/struct_objc_protocol.h: Removed. 586 * objc/deprecated/struct_objc_selector.h: Removed. 587 * objc/encoding.h: Removed. 588 * objc/message.h (struct objc_super): Removed the definition for 589 the Traditional Objective-C runtime API. 590 * objc/objc.h: Do not include objc/objc-decls.h. 591 deprecated/struct_objc_selector.h, deprecated/MetaClass.h, 592 deprecated/struct_objc_class.h, deprecated/struct_objc_protocol.h 593 and deprecated/objc_msg_sendv.h. Uncommented new definition of 594 Protocol *. 595 * objc/objc-api.h: Removed. 596 * objc/runtime.h: Updated comments. Removed check to detect 597 concurrent usage of Traditional and Modern APIs. 598 * objc-private/module-abi-8.h: Always define struct objc_class and 599 struct objc_protocol. (struct objc_protocol_list): Changed type 600 of 'list' argument from 'Protocol *' to 'struct objc_protocol *'. 601 (class_get_instance_size): Added. 602 * objc-private/protocols.h (__objc_protocols_add_protocol): Take a 603 'struct objc_protocol *' as argument, not a 'Protocol *'. 604 * objc-private/runtime.h: Updated comments. 605 * objc-private/selector.h (struct objc_selector, sel_eq): Added. 606 * class.c: Include objc-private/selector.h. 607 (objc_get_meta_class): Return a Class instead of a MetaClass. 608 * encoding.c (method_get_next_argument): Removed. 609 (method_get_first_argument): Removed. 610 (method_get_nth_argument): Removed. 611 * gc.c: Include objc/runtime.h instead of objc/encoding.h. 612 Include objc-private/module-abi-8.h and ctype.h. 613 * protocols.c (__objc_protocols_add_protocol): Take a 'struct 614 objc_protocl *' as argument, not a 'Protocol *'. 615 (class_addProtocol): Added casts to 'struct objc_protocol *' and 616 'Protocol *'. 617 (class_copyProtocolList): Likewise. 618 (protocol_conformsToProtocol): Likewise. 619 (protocol_copyProtocolList): Likewise. 620 * sarray.c: Include objc-private/module-abi-8.h. 621 * sendmsg.c (method_get_next_argument): Removed. 622 (method_get_first_argument): Removed. 623 (method_get_nth_argument): Removed. 624 (objc_msg_sendv): Removed. 625 (arglist_t, retval_t): New. (class_get_class_method): Take a 626 'Class', not 'MetaClass', argument. 627 * thr.c: Include module-abi-8.h. 628 629 2011-06-03 Nicola Pero <nicola.pero (a] meta-innovation.com> 630 631 * Makefile.in (OBJC_DEPRECATED_H): Removed struct_objc_static_instances.h 632 and objc_get_uninstalled_dtable.h. 633 * objc/deprecated/struct_objc_static_instances.h: Removed. 634 * objc/deprecated/objc_get_uninstalled_dtable.h: Removed. 635 * objc/objc-api.h: Do not include deprecated/objc_static_instances.h 636 and deprecated/objc_get_uninstalled_dtable.h. 637 638 2011-06-03 Nicola Pero <nicola.pero (a] meta-innovation.com> 639 640 * Makefile.in (OBJC_DEPRECATED_H): Removed objc_object_alloc.h. 641 * objc/deprecated/objc_object_alloc.h: Removed. 642 * objc/objc-api.h: Do not include deprecated/objc_object_alloc.h. 643 * objects.c (_objc_object_alloc, _objc_object_dispose, 644 _objc_object_copy): Removed. 645 * libobjc.def (__objc_object_alloc, __objc_object_copy, 646 __objc_object_dispose): Removed. 647 648 2011-06-03 Nicola Pero <nicola.pero (a] meta-innovation.com> 649 650 * Makefile.in (OBJC_DEPRECATED_H): Removed METHOD_NULL.h. 651 * objc/objc-api.h: Do not include deprecated/METHOD_NULL.h. 652 * objc/deprecated/METHOD_NULL.h: Removed. 653 654 2011-06-03 Nicola Pero <nicola.pero (a] meta-innovation.com> 655 656 * Makefile.in (OBJC_DEPRECATED_H): Removed objc_valloc.h, 657 objc_malloc.h and objc_unexpected_exception.h. 658 (exception.lo): Do not use -Wno-deprecated-declarations. 659 (exception_gc.lo): Likewise. 660 * objc/objc-api.h: Do not include deprecated/objc_valloc.h, 661 deprecated/objc_malloc.h and 662 deprecated/objc_unexpected_exception.h. 663 * objc/deprecated/objc_valloc.h: Removed. 664 * objc/deprecated/objc_malloc.h: Removed. 665 * objc/deprecated/objc_unexpected_exception.h: Removed. 666 * exception.c (_objc_unexpected_exception): Removed. 667 (objc_exception_throw): Do not check for 668 _objc_unexpected_exception. 669 * memory.c (objc_valloc, _objc_malloc, _objc_atomic_malloc, 670 _objc_valloc, _objc_realloc, _objc_calloc, _objc_free): Removed. 671 * libobjc.def (_objc_unexpected_exception, objc_valloc): Removed. 672 673 2011-06-03 Nicola Pero <nicola.pero (a] meta-innovation.com> 674 675 * objc/objc.h: Do not include deprecated/STR.h. 676 * objc/deprecated/STR.h: Removed. 677 * Makefile.in (OBJC_DEPRECATED_H): removed STR.h. 678 679 2011-06-03 Nicola Pero <nicola.pero (a] meta-innovation.com> 680 681 * Makefile.in (OBJC_H): Removed hash.h and sarray.h. 682 (OBJC_DEPRECATED_H): Likewise. 683 * libobjc.def (objc_hash_new, objc_hash_delete, objc_hash_add, 684 objc_hash_remove, objc_hash_next, objc_hash_value_for_key, 685 objc_hash_is_key_in_hash, hash_add, hash_delete, hash_new, 686 hash_next, hash_remove, hash_value_for_key, hash_is_key_in_hash, 687 sarray_at_put, sarray_at_put_safe, sarray_free, sarray_lazy_copy, 688 sarray_new, sarray_realloc, sarray_remove_garbage): Removed. 689 * objc/sarray.h: Removed. 690 * objc/hash.h: Removed. 691 * objc/deprecated/sarray.h: Removed. 692 * objc/deprecated/hash.h: Removed. 693 * objc/Object.h: Do not include objc/deprecated/hash.h 694 * Object.m: Include string.h. 695 * objc/objc-api.h: Do not include objc/deprecated/hash.h. 696 * objc-private/common.h (GNU_LIBOBJC_COMPILING_LIBOBJC_ITSELF): 697 Removed. 698 699 2011-06-03 Nicola Pero <nicola.pero (a] meta-innovation.com> 700 701 * Object.m ([-forward::]): Removed. 702 * objc/deprecated/Object.h ([-forward::]): Removed. 703 * sendmsg.c (__objc_forward): Updated comments. 704 705 2011-06-03 Nicola Pero <nicola.pero (a] meta-innovation.com> 706 707 * Makefile.in (OBJC_H): Removed objc-list.h. 708 (OBJC_DEPRECATED_H): Removed objc-list.h. 709 * objc/objc-list.h: File removed. 710 * objc/deprecated/objc-list.h: File removed. 711 712 2011-06-03 Nicola Pero <nicola.pero (a] meta-innovation.com> 713 714 * Makefile.in (OBJC_H): Removed typedstream.h. 715 (OBJC_DEPRECATED_H): Removed typedstream.h. 716 (C_SOURCE_FILES): Removed archive.c. 717 (Object.lo): Rule removed. 718 (Object_gc.lo): Likewise. 719 (archive.lo): Likewise. 720 (archive_gc.lo): Likewise. 721 * objc/deprecated/Object.h ([+streamVersion:], [-read], [-write], 722 [-awake]): Removed. 723 Do not include deprecated/typedstream.h. 724 * Object.m: Removed the same methods. 725 * archive.c: File removed. 726 * objc/typedstream.h: File removed. 727 * objc/deprecated/typedstream.h: File removed. 728 * libobjc.def (__objc_read_nbyte_uint, __objc_read_nbyte_ulong, 729 __objc_write_class, __objc_write_object, __objc_write_selector, 730 objc_close_typed_stream, objc_end_of_typed_stream, 731 objc_flush_typed_stream, objc_get_stream_class_version, 732 objc_open_typed_stream, objc_open_typed_stream_for_file, 733 objc_read_array, objc_read_char, objc_read_int, objc_read_long, 734 objc_read_object, objc_read_selector, objc_read_short, 735 objc_read_string, objc_read_type, objc_read_types, 736 objc_read_unsigned_char, objc_read_unsigned_int, 737 objc_read_unsigned_long, objc_read_unsigned_short, 738 objc_write_array, objc_write_char, objc_write_int, 739 objc_write_long, objc_write_object, objc_write_object_reference, 740 objc_write_root_object, objc_write_selector, objc_write_short, 741 objc_write_string, objc_write_string_atomic, objc_write_type, 742 objc_write_types, objc_write_unsigned_char, 743 objc_write_unsigned_int, objc_write_unsigned_long, 744 objc_write_unsigned_short): Removed. 745 746 2011-06-02 Nicola Pero <nicola.pero (a] meta-innovation.com> 747 748 * Makefile.in (OBJC_DEPRECATED_H): Removed objc_error.h. 749 * objc/deprecated/objc_error.h: Removed. 750 * objc/objc-api.h: Do not include deprecated/objc_error.h. 751 * libobjc.def (objc_error, objc_verror): Removed. 752 * error.c (_objc_error_handler, objc_error, objc_verror, 753 objc_set_error_handler): Removed. 754 * Object.m ([-error:], [-perform:], [-perform:with:], 755 [-perform:with:with], [-subclassResponsibility:], 756 [-notImplemented:], [-shouldNotImplement:], [-doesNotRecognize:]): 757 Removed. 758 * objc/deprecated/Object.h: Removed the same methods. 759 * sendmsg.c (__objc_forward): Do not try to invoke the "error:" 760 method after trying to invoke the "doesNotRecognize:" method. 761 762 2011-05-26 Nicola Pero <nicola.pero (a] meta-innovation.com> 763 764 * sendmsg.c: Reindented part of the file. No non-trivial changes 765 in code. 766 767 2011-05-26 Nicola Pero <nicola.pero (a] meta-innovation.com> 768 769 * sendmsg.c (__objc_install_dtable_for_class): Use objc_getClass, 770 not objc_lookup_class. 771 772 2011-05-25 Richard Frith-Macdonald <rfm (a] gnu.org> 773 David Ayers <ayers (a] fsfe.org> 774 775 PR libobjc/38307 776 * sendmsg.c: Include objc/hash.h. 777 (get_implementation): New function, mostly with code from get_imp 778 updated to support the new +initialize dispatch table logic. 779 (get_imp): Use get_implementation. 780 (__objc_responds_to): Updated to support the new +initialize 781 dispatch table logic. 782 (class_respondsToSelector): Likewise. 783 (objc_msg_lookup): Use get_implementation. 784 (__objc_init_install_dtable): Removed. 785 (__objc_install_methods_in_dtable): Updated arguments. 786 (__objc_install_dispatch_table_for_class): Renamed to 787 __objc_install_dtable_for_class and updated to support the new 788 +initialize dispatch table logic. 789 (__objc_update_dispatch_table_for_class): Updated to support the 790 new +initialize dispatch table logic. 791 (__objc_forward): Call get_implementation instead of get_imp. 792 (prepared_dtable_table): New. 793 (__objc_prepare_dtable_for_class): New. 794 (__objc_prepared_dtable_for_class): New. 795 (__objc_get_prepared_imp): New. 796 (__objc_install_prepared_dtable_for_class): New. 797 798 2011-05-24 Nicola Pero <nicola.pero (a] meta-innovation.com> 799 800 PR libobjc/48177 801 * selector.c (__sel_register_typed_name): Use sel_types_match() 802 instead of strcmp() to compare selector types (Suggestion by 803 Richard Frith-Macdonald <rfm (a] gnu.org>). 804 805 2011-04-15 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE> 806 807 PR libobjc/32037 808 * Makefile.in (OBJC_GCFLAGS): Move ... 809 * configure.ac (enable_objc_gc): ... here. 810 Add $(libsuffix) to OBJC_BOEHM_GC. 811 * configure: Regenerate. 812 813 2011-02-28 Nicola Pero <nicola.pero (a] meta-innovation.com> 814 815 * selector.c (sel_getTypedSelector): Return NULL if there are 816 multiple selectors with conflicting types. 817 * objc/runtime.h (sel_getTypedSelector): Updated documentation. 818 819 2011-02-28 Richard Frith-Macdonald <rfm (a] gnu.org> 820 821 PR libobjc/47922 822 * gc.c (class_ivar_set_gcinvisible): Use _C_GCINVISIBLE instead of 823 a hardcoded "!". 824 825 2011-02-13 Ralf Wildenhues <Ralf.Wildenhues (a] gmx.de> 826 827 * configure: Regenerate. 828 829 2010-12-26 Nicola Pero <nicola.pero (a] meta-innovation.com> 830 831 * init.c (create_tree_of_subclasses_inherited_from): Use 832 class_superclass_of_class instead of assuming a class is 833 unresolved when it could be resolved. Tidied up assignment and 834 check. 835 (__objc_tree_insert_class): Enhanced DEBUG_PRINTF. 836 (objc_tree_insert_class): Tidied up loop; return immediately upon 837 inserting a class. 838 (__objc_exec_class): Do not set __objc_class_tree_list. 839 840 2010-12-24 Nicola Pero <nicola.pero (a] meta-innovation.com> 841 842 * selector.c (sel_getTypedSelector): Return NULL if given a NULL 843 argument. 844 (sel_registerTypedName): Same. 845 (sel_registerName): Same. 846 * objc/runtime.h: Updated documentation. 847 848 2010-12-24 Nicola Pero <nicola.pero (a] meta-innovation.com> 849 850 * objc/runtime.h (class_addIvar): Updated documentation. The 851 alignment is actually the log_2 of the alignment in bytes. 852 * ivars.c (class_addIvar): Corresponding change to the 853 implementation. 854 855 2010-12-24 Nicola Pero <nicola.pero (a] meta-innovation.com> 856 857 * objc/runtime.h (sel_getType): Renamed to sel_getTypeEncoding to 858 be consistent with method_getTypeEncoding and 859 ivar_getTypeEncoding. 860 (sel_copyTypedSelectorList, sel_getTypedSelector): New. 861 * selector.c (sel_getType): Renamed to sel_getTypeEncoding. 862 (sel_copyTypedSelectorList, sel_getTypedSelector): New. 863 (sel_get_type): Updated call to sel_getType. 864 865 2010-12-24 Nicola Pero <nicola.pero (a] meta-innovation.com> 866 867 * objc/runtime.h (class_conformsToProtocol, 868 class_copyProtocolList): Updated documentation. 869 870 2010-12-23 Nicola Pero <nicola.pero (a] meta-innovation.com> 871 872 * init.c (create_tree_of_subclasses_inherited_from): Updated 873 DEBUG_PRINTF messages. 874 (__objc_tree_insert_class): Same. 875 (__objc_send_load_using_method_list): Same. 876 (__objc_send_load): Same. 877 (__objc_exec_class): Same. In particular, do not print the module 878 name since it is no longer used. 879 * sendmsg.c (__objc_send_initialize): Added DEBUG_PRINTFs for 880 tracking +initialize calls. 881 (__objc_update_dispatch_table_for_class): Added DEBUG_PRINTFs for 882 tracking updates of dispatch tables. 883 (__objc_install_dispatch_table_for_class): Same. 884 885 2010-12-23 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE> 886 887 * Makefile.in (libobjc$(libsuffix).la): Link with -Wc,-shared-libgcc. 888 (libobjc_gc$(libsuffix).la): Likewise. 889 890 2010-12-23 Nicola Pero <nicola.pero (a] meta-innovation.com> 891 892 * sendmsg.c (class_addMethod): Return NO if the method already 893 exists in the class. 894 895 2010-12-22 Nicola Pero <nicola.pero (a] meta-innovation.com> 896 897 * init.c (duplicate_classes): New. 898 (__objc_exec_class): Initialize duplicate_classes. 899 (__objc_create_classes_tree): Ignore classes in the 900 duplicate_classes table. 901 (__objc_call_load_callback): Same. 902 (__objc_init_class): If a duplicate class is found, add it to 903 duplicate_classes instead of aborting. Return YES if the class is 904 not a duplicate, and NO if it is. 905 * objc-private/runtime.h (__objc_init_class): Updated prototype. 906 907 2010-12-22 Nicola Pero <nicola.pero (a] meta-innovation.com> 908 909 * objc-private/objc-list.h: Reindented file. No code changes. 910 * objc-private/sarray.h: Same change. 911 912 2010-12-22 Nicola Pero <nicola.pero (a] meta-innovation.com> 913 914 * objc-private/accessors.h: Removed 'extern "C"' guards. This 915 file is never compiled with C++. 916 * objc-private/hash.h: Same change. 917 * objc-private/objc-list.h: Same change. 918 * objc-private/objc-sync.h: Same change. 919 * objc-private/protocols.h: Same change. 920 * objc-private/runtime.h: Same change. 921 * objc-private/sarray.h: Same change. 922 * objc-private/selector.h: Same change. 923 924 2010-12-21 Nicola Pero <nicola.pero (a] meta-innovation.com> 925 926 PR libobjc/18764 927 * class.c (__objc_add_class_to_hash): Return YES if the class was 928 added, and NO if it already existed. 929 * init.c (__objc_init_class): If __objc_add_class_to_hash returns 930 NO, then abort the program with an error message. 931 * objc-private/runtime.h (__objc_add_class_to_hash): Updated 932 declaration. 933 934 2010-12-21 Nicola Pero <nicola.pero (a] meta-innovation.com> 935 936 * init.c (_objc_load_callback): Initialize with 0. 937 (__objc_call_callback): Renamed to __objc_call_load_callback. 938 Check _objc_load_callback only once, and if it is not set, return 939 immediately. 940 (objc_send_load): Updated call to __objc_call_callback. 941 942 2010-12-21 Nicola Pero <nicola.pero (a] meta-innovation.com> 943 944 PR libobjc/16110 945 * init.c (__objc_send_message_in_list): Renamed to 946 __objc_send_load_using_method_list. Do not take an 'op' argument. 947 Register the 'load' selector if needed. 948 (__objc_send_load): Do not register the 'load' selector. Updated 949 call to __objc_send_message_in_list. 950 (__objc_create_classes_tree): Add the class of any claimed 951 category that was loaded in the module to the list of classes for 952 which we try to execute +load. 953 954 2010-12-21 Nicola Pero <nicola.pero (a] meta-innovation.com> 955 956 * objc-private/common.h: When DEBUG is defined, include <stdio.h>. 957 Updated comments. 958 * init.c (__objc_tree_insert_class): Use %p, not %x, when printing 959 a pointer using DEBUG_PRINTF. 960 961 2010-12-21 Nicola Pero <nicola.pero (a] meta-innovation.com> 962 963 PR libobjc/45953 964 * selector.c (__sel_register_typed_name): When registering a new 965 selector with the same name as an existing one, reuse the existing 966 name string. Also updated types, casts and comments in the whole 967 function. 968 969 2010-12-21 Nicola Pero <nicola.pero (a] meta-innovation.com> 970 971 * objc-private/module-abi-8.h (struct objc_symtab): Declare 'refs' 972 to be 'struct objc_selector *' and not 'SEL'. 973 * init.c (__objc_exec_class): Call 974 __objc_register_selectors_from_module instead of iterating over 975 each selector and calling __sel_register_typed_name for each. 976 * objc-private/selector.h: Declare 977 __objc_register_selectors_from_module instead of 978 __sel_register_typed_name. 979 * selector.c (__objc_register_selectors_from_module): New. 980 (__sel_register_typed_name): Made static. 981 982 2010-12-21 Nicola Pero <nicola.pero (a] meta-innovation.com> 983 984 * linking.m: Do not include objc/NXConstStr.h. 985 986 2010-12-21 Nicola Pero <nicola.pero (a] meta-innovation.com> 987 988 * objc-private/runtime.h (DEBUG_PRINTF): Moved from here ... 989 * objc-private/common.h (DEBUG_PRINTF): To here. 990 * hash.c: Do not include objc-private/runtime.h and objc/thr.h. 991 992 2010-12-21 Nicola Pero <nicola.pero (a] meta-innovation.com> 993 994 * hash.c: Tidied up comments and indentation. No code changes. 995 996 2010-12-19 Nicola Pero <nicola.pero (a] meta-innovation.com> 997 998 PR libobjc/47012 999 * accessors.m (objc_getProperty): If not atomic, do not 1000 retain/autorelease the returned value. 1001 1002 2010-12-19 Nicola Pero <nicola.pero (a] meta-innovation.com> 1003 1004 * objc-private/runtime.h (__objc_selector_max_index, 1005 __objc_init_selector_tables, __objc_register_selectors_from_class, 1006 __objc_register_selectors_from_list, 1007 __objc_register_selectors_from_description_list): Moved to ... 1008 * objc-private/selector.h: ... here. 1009 1010 2010-12-19 Nicola Pero <nicola.pero (a] meta-innovation.com> 1011 1012 * objc-private/runtime.h (__objc_class_links_resolved): Removed. 1013 (__objc_print_dtable_stats): Removed. 1014 (__sel_register_typed_name): Removed. 1015 * sendmsg.c (__objc_print_dtable_stats): Use 'void' as argument. 1016 1017 2010-12-19 Nicola Pero <nicola.pero (a] meta-innovation.com> 1018 1019 * init.c (__objc_exec_class): Call __objc_resolve_class_links (), 1020 if appropriate, after loading the module. 1021 1022 2010-12-19 Nicola Pero <nicola.pero (a] meta-innovation.com> 1023 1024 * sendmsg.c (method_setImplementation): Do not declare. 1025 1026 2010-12-19 Nicola Pero <nicola.pero (a] meta-innovation.com> 1027 1028 * objc/message.h: Updated comments. 1029 * objc/runtime.h: Updated comments. 1030 1031 2010-12-19 Nicola Pero <nicola.pero (a] meta-innovation.com> 1032 1033 * class.c (objc_lookupClass): Renamed to objc_lookUpClass. 1034 * protocols.c: Updated all calls to objc_lookupClass to call 1035 objc_lookUpClass instead. 1036 * sendmsg.c (objc_lookupClass): Do not declare. 1037 (get_imp): Update call to objc_lookupClass to call 1038 objc_lookUpClass instead. 1039 * objc/runtime.h (objc_lookupClass): Renamed to objc_lookUpClass. 1040 1041 2010-12-19 Nicola Pero <nicola.pero (a] meta-innovation.com> 1042 1043 * objc/runtime.h (class_ivar_set_gcinvisible): Declare. 1044 * sendmsg.c (_CLS_IN_CONSTRUCTION, CLS_IS_IN_CONSTRUCTION): Do not 1045 define. Updated comments. 1046 1047 2010-12-19 Nicola Pero <nicola.pero (a] meta-innovation.com> 1048 1049 * objc/encoding.h: Updated comments. 1050 * objc/runtime.h: Updated comments. 1051 (objc_setGetUnknownClassHandler): Mark with objc_EXPORT. 1052 (objc_sizeof_type): Same. 1053 (objc_alignof_type): Same. 1054 (objc_aligned_size): Same. 1055 (objc_promoted_size): Same. 1056 (objc_skip_type_qualifiers): Same. 1057 (objc_skip_typespec): Same. 1058 (objc_skip_offset): Same. 1059 (objc_skip_argspec): Same. 1060 (objc_get_type_qualifiers): Same. 1061 (objc_layout_structure): Same. 1062 (objc_layout_structure_next_member): Same. 1063 (objc_layout_finish_structure): Same. 1064 (objc_layout_structure_get_info): Same. 1065 1066 2010-12-19 Nicola Pero <nicola.pero (a] meta-innovation.com> 1067 1068 * init.c: Updated comments. 1069 * objc/objc-api.h: Updated comments. 1070 * objc/runtime.h (_objc_load_callback): Declare. 1071 1072 2010-12-19 Nicola Pero <nicola.pero (a] meta-innovation.com> 1073 1074 * objc/Object.h: Include deprecated/typedstream.h and 1075 deprecated/hash.h instead of typedstream.h. Updated comments. 1076 1077 2010-12-19 Nicola Pero <nicola.pero (a] meta-innovation.com> 1078 1079 * Makefile.in (OBJC_DEPRECATED_H): Added objc_msg_sendv.h. 1080 * objc/deprecated/objc_msg_sendv.h: New. 1081 * objc/message.h: Do not define retval_t, apply_t, arglist, 1082 arglist_t, objc_msg_sendv, now in 1083 objc/deprecated/objc_msg_sendv.h. 1084 * objc/objc.h: Do not include message.h; include 1085 objc/deprecated/objc_msg_sendv.h instead. Tidied up comments. 1086 * sendmsg.c: Include objc/message.h. 1087 * thr.c: Include objc/message.h. 1088 1089 2010-12-19 Nicola Pero <nicola.pero (a] meta-innovation.com> 1090 1091 * objc/objc-exception.h: Include objc-decls.h. Mark all 1092 functions with objc_EXPORT. 1093 * objc/objc-sync.h: Same change. 1094 1095 2010-12-19 Nicola Pero <nicola.pero (a] meta-innovation.com> 1096 1097 * Protocol.m: Moved all methods, with the exception of -isEqual:, 1098 into the 'Deprecated' category. 1099 * objc/Protocol.h: Removed all methods, moved to 1100 objc/deprecated/Protocol.h. Include objc/deprecated/Protocol.h. 1101 * objc/deprecated/Protocol.h: New. 1102 * Makefile.in (OBJC_DEPRECATED_H): Added Protocol.h. 1103 1104 2010-12-19 Nicola Pero <nicola.pero (a] meta-innovation.com> 1105 1106 * init.c: Include objc-private/selector.h. Do not declare 1107 __sel_register_typed_name. 1108 * objc-private/selector.h (__sel_register_typed_name): Declare. 1109 * selector.c: Include objc-private/selector.h. 1110 1111 2010-12-18 Nicola Pero <nicola.pero (a] meta-innovation.com> 1112 1113 * class.c: Tidied up comments and indentation. No code changes. 1114 * error.c: Same. 1115 * exception.c: Same. 1116 * init.c: Same. 1117 * ivars.c: Same. 1118 * memory.c: Same. 1119 * objc-foreach.c: Same. 1120 * objc-sync.c: Same. 1121 * objects.c: Same. 1122 * protocols.c: Same. 1123 * sarray.c: Same. 1124 * thr.c: Same. 1125 1126 2010-12-17 Nicola Pero <nicola.pero (a] meta-innovation.com> 1127 1128 * init.c: Include objc/runtime.h and objc-private/module-abi-8.h 1129 instead of objc/objc-api.h. 1130 (init_check_module_version): Take a 'struct objc_module *' 1131 argument instead of 'Module_t'. Use 'struct objc_module *' 1132 instead of 'Module_t'. 1133 (__objc_created_classes_tree): Take a 'struct objc_module *' 1134 argument instead of 'Module_t'; use 'struct objc_symtab *' instead 1135 of 'Symtab_t'. 1136 (__objc_call_callback): Take a 'struct objc_module *' argument 1137 instead of 'Module_t'; use 'struct objc_symtab *' instead of 1138 'Symtab_t' and 'struct objc_category *' instead of 'Category_t'. 1139 (_objc_load_callback): Take a 'struct objc_category *' argument 1140 instead of 'Category *'. 1141 (class_superclass_of_class): Use objc_getClass() instead of 1142 objc_lookup_class(). 1143 (create_tree_of_subclasses_inherited_from): Same change (also, use 1144 an explicit 'if' instead of '?'). 1145 (objc_init_statics): Same change. 1146 (objc_send_load): Same change. 1147 (__objc_init_protocol): same change. 1148 (__objc_send_message_in_list): Take a 'struct objc_method_list *' 1149 argument instead of 'MethodList_t'. Use 'struct objc_method *' 1150 instead of 'Method_t'. 1151 (__objc_send_load): Use 'struct objc_method_list *' instead of 1152 'MethodList_t'. Use sel_registerName() instead of 1153 sel_register_name(). 1154 (__objc_exec_class): Take a 'struct objc_module *' argument 1155 instead of 'Module_t'. Use 'struct objc_symtab *' instead of 1156 'Symtab_t'. Use objc_getClass() instead of objc_lookup_class(). 1157 Use 'struct objc_category *' instead of 'Category_t'. 1158 1159 2010-12-16 Nicola Pero <nicola.pero (a] meta-innovation.com> 1160 1161 * sendmsg.c: Include objc/runtime.h instead of objc/objc-api.h. 1162 Include objc-private/module-abi-8.h and objc-private/selector.h 1163 instead of objc/encoding.h. 1164 (objc_msg_lookup_super): Use super->super_class instead of 1165 super->class. 1166 (method_get_first_argument, method_get_next_argument): Declare 1167 locally. 1168 (class_get_instance_method): Declare before using. 1169 (objc_msg_sendv): Use 'struct objc_method' instead of 'Method'. 1170 (__objc_init_dispatch_tables, __objc_send_initialize): Use 1171 sel_registerName() instead of sel_register_name(). 1172 (__objc_forward): Use sel_getName() instead of sel_get_name(). 1173 (objc_get_uninstalled_dtable): Use 'void' as argument. 1174 * objc-private/selector.h: New. 1175 1176 2010-12-15 Nicola Pero <nicola.pero (a] meta-innovation.com> 1177 1178 * objc/message.h (objc_super): When using the modern API, do not 1179 define Super and Super_t, and always use 'super_class' for the 1180 super class field. 1181 (objc_msg_lookup_super): Updated prototype to use 'struct 1182 objc_super *' instead of 'Super_t'. 1183 * sendmsg.c (objc_msg_lookup_super): Updated prototype to use 1184 'struct objc_super *' instead of 'Super_t'. 1185 1186 2010-12-15 Nicola Pero <nicola.pero (a] meta-innovation.com> 1187 1188 * objc/message.h: Update comments, reindented code and moved 1189 deprecated types and functions at the end of the file. No code 1190 changes. 1191 1192 2010-12-15 Nicola Pero <nicola.pero (a] meta-innovation.com> 1193 1194 * ivars.c (class_addIvar): Use the 'size' argument instead of 1195 trying to calculate it using objc_sizeof_type(). 1196 * objc/runtime.h (class_addIvar): Updated comments. 1197 1198 2010-12-15 Nicola Pero <nicola.pero (a] meta-innovation.com> 1199 1200 * sendmsg.c: Reindented some code and tidied up comments. No 1201 actual code changes. 1202 1203 2010-12-14 Nicola Pero <nicola.pero (a] meta-innovation.com> 1204 1205 * objc/Object.h: Moved all the methods, with the exception of 1206 -class and -isEqual:, into ... 1207 * objc/deprecated/Object.h: here. 1208 * Object.m: Moved all the methods, with the exception of -class 1209 and -isEqual: into the 'Deprecated' category. 1210 1211 2010-12-14 Nicola Pero <nicola.pero (a] meta-innovation.com> 1212 1213 * objects.c (object_copy): Do not #undef as we are no longer 1214 including objc/objc-api.h. 1215 * selector.c: Include objc/runtime.h and 1216 objc-private/module-abi-8.h. Do not include objc/objc-api.h and 1217 objc/encoding.h. Updated 1218 (__objc_register_selectors_from_class): Use struct 1219 objc_method_list * instead of MethodList_t. 1220 (__objc_register_selectors_from_list): Use Method instead of 1221 Method_t. 1222 (struct objc_method_description_list): Do not define here. 1223 (__objc_register_instance_methods_to_class): Use struct 1224 objc_method_list * instead of MethodList_t and Method instead of 1225 Method_t. 1226 1227 2010-12-14 Nicola Pero <nicola.pero (a] meta-innovation.com> 1228 1229 * selector.c: Reindented some code and tidied up comments. No 1230 actual code changes. 1231 1232 2010-12-13 Iain Sandoe <iains (a] gcc.gnu.org> 1233 1234 * encoding.c (_darwin_rs6000_special_round_type_align): New. 1235 (darwin_rs6000_special_round_type_align): Adjust to use new routine. 1236 1237 2010-12-11 Nicola Pero <nicola.pero (a] meta-innovation.com> 1238 1239 * sendmsg.c (selector_resolveClassMethod): New. 1240 (selector_resolveInstanceMethod): New. 1241 (__objc_resolve_class_method): New. 1242 (__objc_resolve_instance_method): New. 1243 (get_imp): Call __objc_resolve_class_method or 1244 __objc_resolve_instance_method at the appropriate time. 1245 (objc_msg_lookup): Same. 1246 (class_getClassMethod): Same. 1247 (class_getInstanceMethod): Same. 1248 (__objc_init_dispatch_tables): Initialize 1249 selector_resolveClassMethod and selector_resolveInstanceMethod. 1250 * objc/runtime.h: Updated documentation of class_getClassMethod, 1251 class_getInstanceMethod and class_getMethodImplementation. 1252 1253 2010-12-11 Nicola Pero <nicola.pero (a] meta-innovation.com> 1254 1255 * objc-private/module-abi-8.h (struct objc_symtab): Updated 1256 description of sel_ref_cnt and refs. 1257 * objc/deprecated/struct_objc_symtab.h (objc_symtab): Same change. 1258 1259 2010-12-06 Dave Korn <dave.korn.cygwin (a] gmail.com> 1260 1261 PR target/40125 1262 PR lto/46695 1263 * configure.ac (extra_ldflags_libobjc): Invoke ACX_LT_HOST_FLAGS. 1264 * Makefile.in (lt_host_flags): Import AC_SUBST'd value. 1265 * aclocal.m4: Regenerate. 1266 * configure: Regenerate. 1267 1268 2010-12-03 Matthias Klose <doko (a] ubuntu.com> 1269 1270 * configure.ac (VERSION): Bump the version to 3:0:0. 1271 * configure: Regenerate. 1272 1273 2010-11-23 Richard Frith-Macdonald <rfm (a] gnu.org> 1274 1275 * sendmsg.c (get_imp): Fixed call to __objc_get_forward_imp to 1276 pass nil as the receiver since we don't know the receiver at this 1277 point. 1278 1279 2010-11-18 Nicola Pero <nicola.pero (a] meta-innovation.com> 1280 1281 * ivars.c: Include stdlib.h. 1282 * protocols.c: Same change. 1283 1284 2010-10-24 Nicola Pero <nicola.pero (a] meta-innovation.com> 1285 1286 * Makefile.in (OBJC_SOURCE_FILES): Added accessors.m. 1287 * accessors.m: New. 1288 * init.c: Include objc-private/accessors.h. 1289 (__objc_exec_class): Call __objc_accessors_init. 1290 * objc-private/accessors.h: New. 1291 1292 2010-10-17 Nicola Pero <nicola.pero (a] meta-innovation.com> 1293 1294 * objc/message.h: Moved initial includes outside of extern "C". 1295 * objc/runtime.h: Add extern "C" for Objective-C++. 1296 1297 2010-10-17 Nicola Pero <nicola.pero (a] meta-innovation.com> 1298 1299 * init.c (objc_send_load): Do not wait for NXConstantString to be 1300 registered before executing +load. There is no point if 1301 -fconstant-string-class=xxx is used when compiling all modules, 1302 as is the case for almost all users. 1303 * linking.m (__objc_linking): Do not try to forcefully link in 1304 NXConstantString. 1305 1306 2010-10-16 Nicola Pero <nicola.pero (a] meta-innovation.com> 1307 1308 * objc/runtime.h: Updated comments. 1309 (class_addMethod): New. 1310 (class_addIvar): New. 1311 (class_replaceMethod): New. 1312 (objc_allocateClassPair): New. 1313 (objc_registerClassPair): New. 1314 (objc_disposeClassPair): New. 1315 * class.c (objc_allocateClassPair): New. 1316 (objc_registerClassPair): New. 1317 (objc_disposeClassPair): New. 1318 (class_getSuperclass): Return Nil if a class is in construction. 1319 * init.c (__objc_exec_class): Call __objc_init_class. 1320 (__objc_init_class): New. 1321 * ivars.c (class_copyIvarList): Return NULL if class is in 1322 construction. Do not lock the runtime mutex. 1323 (class_getInstanceVariable): Return NULL if class is in 1324 construction. Do not lock the runtime mutex. 1325 (class_addIvar): New. 1326 * sendmsg.c (class_addMethod): New. 1327 (class_replaceMethod): New. 1328 * objc-private/module-abi-8.h (__CLS_SETNOTINFO): New. 1329 (_CLS_IN_CONSTRUCTION): New. 1330 (CLS_IS_IN_CONSTRUCTION): New. 1331 (CLS_SET_IN_CONSTRUCTION): New. 1332 (CLS_SET_NOT_IN_CONSTRUCTION): New. 1333 * objc-private/runtime.h (__objc_init_class): New. 1334 1335 2010-10-16 Nicola Pero <nicola.pero (a] meta-innovation.com> 1336 1337 * class.c (class_getSuperclass): Call __objc_resolve_class_links 1338 if the class is not resolved yet. 1339 * ivars.c (class_getInstanceVariable): Use class_getSuperclass. 1340 1341 2010-10-16 Nicola Pero <nicola.pero (a] meta-innovation.com> 1342 1343 * objc/runtime.h (class_getIvarLayout): New. 1344 (class_getWeakIvarLayout): New. 1345 (class_setIvarLayout): New. 1346 (class_setWeakIvarLayout): New. 1347 * ivars.c (class_getIvarLayout): New. 1348 (class_getWeakIvarLayout): New. 1349 (class_setIvarLayout): New. 1350 (class_setWeakIvarLayout): New. 1351 1352 2010-10-15 Nicola Pero <nicola.pero (a] meta-innovation.com> 1353 1354 * objc/runtime.h (class_copyPropertyList): New. 1355 (class_getProperty): New. 1356 (property_getAttributes): New. 1357 (property_getName): New. 1358 * ivars.c (class_copyPropertyList): New. 1359 (class_getProperty): New. 1360 (property_getAttributes): New. 1361 (property_getName): New. 1362 1363 2010-10-15 Nicola Pero <nicola.pero (a] meta-innovation.com> 1364 1365 * objc-private/runtime.h (__objc_update_classes_with_methods): New. 1366 * class.c (__objc_update_classes_with_methods): New. 1367 (objc_getClassList): Do not lock the class lock. 1368 * methods.c (method_exchangeImplementations): New. 1369 (method_setImplementation): New. 1370 * objc/runtime.h (method_setImplementation): New. 1371 (method_exchangeImplementations): New. 1372 1373 2010-10-15 Nicola Pero <nicola.pero (a] meta-innovation.com> 1374 1375 * Protocol.m: Include objc/runtime.h and 1376 objc-private/module-abi-8.h instead of objc/objc-api.h. Do not 1377 repeat Protocol's instance variables. 1378 (struct objc_method_description_list): Do not define here. 1379 ([-conformsTo:]): Reimplemented on top of protocol_conformsTo(). 1380 ([descriptionForInstanceMethod:]): Use sel_isEqual() to compare 1381 selectors directly instead of getting names and then using strcmp. 1382 ([descriptionForClassMethod:]): Same change. 1383 ([-isEqual:]): Reimplemented on top of protocol_isEqual(). 1384 * protocols.c (protocol_getMethodDescription): Use sel_isEqual() 1385 to compare selectors directly instead of getting names and then 1386 using strcmp. 1387 * objc/Protocol.h: Updated comments. 1388 1389 2010-10-15 Nicola Pero <nicola.pero (a] meta-innovation.com> 1390 1391 * init.c (__objc_init_protocol): New function which fixes up a 1392 protocol's class pointer, registers it with the runtime, register 1393 all protocol selectors and registers associated protocols too. 1394 (objc_init_statics): Detect if we are initializing protocols, and 1395 if so, use __objc_init_protocol instead of only fixing up the 1396 class pointer. 1397 (__objc_init_protocls): Use __objc_init_protocol. 1398 * objc-private/module-abi-8.h: Updated comments. 1399 * objc-private/runtime.h 1400 (__objc_register_selectors_from_description_list): New. 1401 * selector.c (__objc_register_selectors_from_description_list): 1402 New. (struct objc_method_description_list): Declare. 1403 * Protocol.m ([-descriptionForInstanceMethod:]): Use sel_get_name 1404 when accessing the name of a method, which is now correctly a SEL. 1405 ([-descriptionForClassMethod:]): Same change. 1406 * protocols.c (protocol_getMethodDescription): Same change. 1407 * objc/runtime.h: Updated comments. 1408 (sel_registerTypedName): Fixed typo in function name. 1409 1410 2010-10-13 Nicola Pero <nicola.pero (a] meta-innovation.com> 1411 1412 PR libobjc/23214 1413 * init.c (objc_init_statics): Do not skip the initialization of a 1414 statics list if the first object has already been initialized; in 1415 the case of Protocols, while the first one may have been 1416 initialized, some others may not have been initialized yet. 1417 1418 2010-10-13 Nicola Pero <nicola.pero (a] meta-innovation.com> 1419 1420 * Makefile.in (OBJC_DEPRECATED_H): Added 1421 objc_get_uninstalled_dtable, objc_object_alloc.h and 1422 struct_objc_static_instances.h. 1423 1424 2010-10-13 Nicola Pero <nicola.pero (a] meta-innovation.com> 1425 1426 * encoding.c (method_copyReturnType): New. 1427 (method_copyArgumentType): New. 1428 (method_getReturnType): New. 1429 (method_getArgumentType): New. 1430 * methods.c (method_getDescription): New. 1431 * objc/runtime.h (method_copyReturnType): New. 1432 (method_copyArgumentType): New. 1433 (method_getReturnType): New. 1434 (method_getArgumentType): New. 1435 (method_getDescription): New. 1436 1437 2010-10-12 Nicola Pero <nicola.pero (a] meta-innovation.com> 1438 1439 * encoding.c: Tidied up comments. 1440 (objc_skip_variable_name): New static inline function. 1441 (objc_sizeof_type): Use objc_skip_variable_name instead of copying 1442 the same code over and over. 1443 (objc_alignof_type): Same. 1444 (objc_aligned_size): Same. 1445 (objc_promoted_size): Same. 1446 (objc_skip_typespec): Same. 1447 (objc_layout_structure_next_member): Same. 1448 (objc_skip_offset): Skip a '-' before the digits (if any). Fixed 1449 historical bug where objc_skip_offset would skip one byte even if 1450 there is no offset: check that the first offset digit is actually 1451 a digit before skipping it. 1452 (objc_skip_type_qualifiers): Mark as inline. 1453 (objc_skip_typespec): Mark as inline. 1454 1455 2010-10-12 Nicola Pero <nicola.pero (a] meta-innovation.com> 1456 1457 * Makefile.in (C_SOURCE_FILES): Added methods.c. 1458 * encoding.c (method_getNumberOfArguments): New. 1459 (method_get_number_of_arguments): Call 1460 method_getNumberOfArguments. 1461 * ivars.c (ivar_getName): Check for NULL variable argument. 1462 (ivar_getOffset): Check for NULL variable argument. 1463 (ivar_getTypeEncoding): Check for NULL variable argument. 1464 (class_copyIvarList): New. 1465 * methods.c: New. 1466 * protocols.c (class_copyProtocolList): Check for Nil class_ 1467 argument. 1468 * sendmsg.c: Use 'struct objc_method *' instead of Method_t, and 1469 'struct objc_method_list *' instead of MethodList_t. 1470 (class_getMethodImplementation): New. 1471 (class_respondsToSelector): New. 1472 (class_getInstanceMethod): New. 1473 (class_getClassMethod): New. 1474 * objc/runtime.h: Updated comments. 1475 (class_copyIvarList): New. 1476 (class_getInstanceMethod): New. 1477 (class_getClassMethod): New. 1478 (class_getMethodImplementation): New. 1479 (class_respondsToSelector): New. 1480 (method_getName): New. 1481 (method_getImplementation): New. 1482 (method_getTypeEncoding): New. 1483 (class_copyMethodList): New. 1484 (method_getNumberOfArguments): New. 1485 1486 2010-10-12 Nicola Pero <nicola.pero (a] meta-innovation.com> 1487 1488 * class.c: Include objc/runtime.h and objc-private/module-abi-8.h 1489 instead of objc/objc-api.h. 1490 (objc_get_unknown_class_handler): Do not define. 1491 (class_isMetaClass): New. 1492 (class_getSuperclass): New. 1493 (class_getVersion): New. 1494 (class_setVersion): New. 1495 (class_getInstanceSize): New. 1496 * exceptions.c: Include objc/runtime.h instead of objc/objc-api.h. 1497 (is_kind_of_exception_matcher): Use objc_getSuperclass instead of 1498 objc_get_super_class. 1499 (get_ttype_entry): Use objc_getRequiredClass instead of 1500 objc_get_class. 1501 * ivars.c (class_getClassVariable): New. 1502 * objects.c: Include objc/runtime.h, objc/thr.h and 1503 objc-private/module-abi-8.h instead of objc/objc-api.h 1504 * objc/runtime.h (class_getClassVariable): New. 1505 (class_isMetaClass): New. 1506 (class_getSuperclass): New. 1507 (class_getVersion): New. 1508 (class_setVersion): New. 1509 (class_getInstanceSize): New. 1510 * objc-private/module-abi-8.h (HOST_BITS_PER_LONG): New (from 1511 objc/objc-api.h) 1512 (__CLS_INFO): Same. 1513 (__CLS_ISINFO): Same. 1514 (__CLS_SETINFO): Same. 1515 (CLS_ISMETA): Same. 1516 (CLS_ISCLASS): Same. 1517 (CLS_ISRESOLV): Same. 1518 (CLS_SETRESOLV): Same. 1519 (CLS_ISINITIALIZED): Same. 1520 (CLS_SETINITIALIZED): Same. 1521 (CLS_GETNUMBER): Same. 1522 (CLS_SETNUMBER): Same. 1523 1524 2010-10-12 Nicola Pero <nicola.pero (a] meta-innovation.com> 1525 1526 * archive.c: Do not include objc/objc.h. 1527 * class.c: Do not include objc/objc.h. 1528 * encoding.c: Include objc/runtime.h, ctype.h and 1529 objc-private/module-abi-8.h instead of objc/objc-api.h and 1530 objc/encoding.h. 1531 * error.c: Do not include objc/objc.h. 1532 * gc.c: Include tconfig.h and objc/encoding.h only if 1533 OBJC_WITH_GC. 1534 * hash.c: Include objc/runtime.h and objc/thr.h instead of 1535 objc/objc-api.h. Do not include objc/objc.h. 1536 * init.c: Do not include objc/objc.h. 1537 * ivars.c: Include objc/runtime.h, objc-private/module-abi-8.h and 1538 objc/thr.h instead of objc/objc-api.h. Do not include 1539 objc/objc.h. 1540 * linking.m: Tidied comment. 1541 * memory.c: Include objc/runtime.h instead of objc/objc-api.h. 1542 Do not include objc/objc.h. 1543 * objects.c: Do not include objc/objc.h. 1544 * objc-sync.c: Include objc/runtime.h instead of objc/objc-api.h. 1545 * protocols.c: Do not include objc/objc.h. 1546 * sarray.c: Include objc/runtime.h instead of objc/objc-api.h. Do 1547 not include objc/objc.h. 1548 * selector.c: Do not include objc/objc.h. 1549 * sendmsg.c: Do not include objc/objc.h. 1550 * thr.c: Include objc/runtime.h instead of objc/objc-api.h. 1551 Do not include objc/objc.h. 1552 * objc/objc-decls.h: Reindented code. 1553 * objc/runtime.h Include objc-decls.h. Updated comments. 1554 (objc_malloc): New. 1555 (objc_atomic_malloc): New. 1556 (objc_calloc): New. 1557 (objc_realloc): New. 1558 (objc_free): New. 1559 * objc-private/runtime.h: Updated comments. 1560 1561 2010-10-12 Nicola Pero <nicola.pero (a] meta-innovation.com> 1562 1563 * Makefile.in (C_SOURCE_FILES): Added protocols.c. 1564 * objc-private/protocols.h: New. 1565 * protocols.c: New. 1566 * init.c: Include objc-private/protocols.h. 1567 (__objc_exec_class): Call __objc_protocols_init on startup. 1568 (__objc_init_protocols): Call __objc_protocols_add_protocol. 1569 * objc-private/runtime.h: Use (struct objc_method_list *) instead 1570 of MethodList_t, and (struct objc_method *) instead of Method_t. 1571 * objc/deprecated/struct_objc_class.h: Define 1572 __objc_STRUCT_OBJC_CLASS_defined. 1573 * objc-private/module-abi-8.h (struct 1574 objc_method_description_list): New. 1575 (struct objc_class): Only define if 1576 __objc_STRUCT_OBJC_CLASS_defined is undefined. 1577 * objc/runtime.h (class_getName): New. 1578 (objc_getProtocol): New. 1579 (objc_copyProtocolList): New. 1580 (class_addProtocol): New. 1581 (class_conformsToProtocol): New. 1582 (class_copyProtocolList): New. 1583 (protocol_conformsToProtocol): New. 1584 (protocol_isEqual): New. 1585 (protocol_getName): New. 1586 (protocol_getMethodDescription): New. 1587 (protocol_copyMethodDescriptionList): New. 1588 (protocol_getProperty): New. 1589 (protocol_copyPropertyList): New. 1590 (protocol_copyProtocolList): New. 1591 * class.c (class_getName): New. 1592 * selector.c (sel_isEqual): New. 1593 1594 2010-10-12 Nicola Pero <nicola.pero (a] meta-innovation.com> 1595 1596 * selector.c (sel_getName): Return "<null selector>" for a NULL 1597 argument. 1598 (sel_get_name): Return 0 for a NULL argument. 1599 * objc/runtime.h (sel_getName): Updated documentation. 1600 1601 * objc-private/hash.h (class_hash_table): Unused declaration 1602 removed. 1603 (module_hash_table): Same. 1604 * objc/deprecated/hash.h: Same changes. 1605 1606 2010-10-11 Nicola Pero <nicola.pero (a] meta-innovation.com> 1607 1608 * class.c (objc_getClassList): New. 1609 (objc_getRequiredClass): New. 1610 (objc_getMetaClass): New. 1611 (objc_lookupClass): New. 1612 (objc_getClass): New. 1613 (__objc_get_unknown_class_handler): New. 1614 (objc_setGetUnknownClassHandler): New. 1615 (objc_get_class): Use __objc_get_unknown_class_handler. 1616 (objc_lookup_class): Call objc_getClass. 1617 * objc/objc-api.h: Updated comment and copyright notice. 1618 * objc/runtime.h: Updated comments. 1619 (objc_getClass): New. 1620 (objc_lookupClass): New. 1621 (objc_getMetaClass): New. 1622 (objc_getRequiredClass): New. 1623 (objc_getClassList): New. 1624 (objc_setGetUnknownClassHandler): New. 1625 (objc_get_unknown_class_handler): New. 1626 * objc-private/runtime.h: Use __objc_private_runtime_INCLUDE_GNU 1627 instead of __objc_runtime_INCLUDE_GNU as include guard. 1628 * objc-private/error.h (_objc_abort): Mark as noreturn. 1629 1630 2010-10-11 Nicola Pero <nicola.pero (a] meta-innovation.com> 1631 1632 * Makefile.in (C_SOURCE_FILES): Added ivars.c. 1633 * ivars.c: New. 1634 * objc/objc.h: Updated comments. 1635 * objc/runtime.h (object_getClass): New. 1636 (object_getClassName): New. 1637 (object_setClass): New. 1638 (class_getInstanceVariable): New. 1639 (object_getIndexedIvars): New. 1640 (object_getInstanceVariable): New. 1641 (object_setInstanceVariable): New. 1642 (object_getIvar): New. 1643 (object_setIvar): New. 1644 (ivar_getName): New. 1645 (ivar_getOffset): New. 1646 (ivar_getTypeEncoding): New. 1647 * objc-private/module-abi-8.h (struct objc_class): Added. 1648 * objects.c (object_getClassName): New. 1649 (object_setClass): New. 1650 1651 2010-10-11 Nicola Pero <nicola.pero (a] meta-innovation.com> 1652 1653 * objc/objc.h: Updated comments. 1654 * objc/objc-api.h: (object_copy): Added one argument; use a 1655 #define to maintain backwards-compatibility. Moved 1656 _objc_object_alloc, _objc_object_copy, _objc_object_dispose and 1657 objc_get_uninstalled_dtable into 1658 objc/deprecated/objc_get_uninstalled_dtable.h and 1659 objc/deprecated/objc_object_alloc.h. Include these files. 1660 * objc/deprecated/objc_get_uninstalled_dtable.h: New. 1661 * objc/deprecated/objc_object_alloc.h: New. 1662 * objc/runtime.h (set_getName): New. 1663 (sel_getType): New. 1664 (sel_getUid): New. 1665 (sel_registerName): New. 1666 (sel_registerTypedName): New. 1667 (sel_isEqual): New. 1668 (class_createInstance): New. 1669 (object_copy): New. 1670 (object_dispose): New. 1671 * objects.c: Do not include tconfig.h. Include gc_typed.h if 1672 building the garbage collection version. 1673 (__objc_object_alloc): Removed. 1674 (__objc_object_copy): Removed. 1675 (__objc_object_dispose): Removed. 1676 (class_createInstance): New from code in class_create_instance. 1677 Cast second argument of GC_malloc_explicitly_typed. Use 1678 objc_calloc. Do not call _objc_object_alloc. 1679 (class_create_instance): Call class_createInstance. 1680 (object_copy): Added extraBytes argument. Do not call 1681 _objc_object_copy. 1682 (object_dispose): Do not call _objc_object_dispose. 1683 * memory.c (objc_free): When using garbage collection, mark the 1684 argument as unused. 1685 * selector.c (sel_getName): New. 1686 (sel_get_name): Call sel_getName. 1687 (sel_getType): New. 1688 (sel_get_type): Call sel_getType. 1689 (sel_registerName): New. 1690 (sel_register_name): Call sel_registerName. 1691 (sel_registerTypedName): New. 1692 (sel_register_typed_name): Call sel_registerTypedName. 1693 (sel_getUid): New. 1694 (sel_get_uid): Call sel_getUid. 1695 1696 2010-10-10 Nicola Pero <nicola.pero (a] meta-innovation.com> 1697 1698 * objc/objc-api.h: Define Method, Method_t, Category and 1699 Category_t. Prevent including this file at the same time as 1700 objc/runtime.h. Updated comments. 1701 * objc/deprecated/struct_objc_method.h: Do not define Method, 1702 Method_t. 1703 * objc/deprecated/struct_objc_category.h: Do not define Category, 1704 Category_t. 1705 * objc-private/module-abi-8.h: New file containing a copy of all 1706 the structure definitions. Not used yet. 1707 * objc/encoding.h (objc_aligned_size): Removed duplicate 1708 declaration. Updated comments. 1709 * objc/runtime.h: Added Ivar, objc_property_t, Property, Method, 1710 Category, struct objc_method_description, _C_ID and similar, 1711 _C_CONST and similar and _F_CONST and similar. Added 1712 objc_sizeof_type, objc_alignof_type, objc_aligned_size, 1713 objc_promoted_size, objc_skip_type_qualifier, objc_skip_typespec, 1714 objc_skip_offset, objc_skip_argspec, objc_get_type_qualifiers, 1715 struct objc_struct_layout, objc_layout_structure, 1716 objc_layout_structure_next_member, objc_layout_finish_structure, 1717 objc_layout_structure_get_info. Prevent including this file at 1718 the same time as objc/objc-api.h. 1719 1720 2010-10-10 Nicola Pero <nicola.pero (a] meta-innovation.com> 1721 1722 * Makefile.in (OBJC_DEPRECATED_H): Added struct_objc_category.h, 1723 struct_objc_ivar.h, struct_objc_ivar_list.h, struct_objc_method.h, 1724 struct_objc_method_list.h, struct_objc_module.h, 1725 struct_objc_protocol_list.h, struct_objc_symtab.h. 1726 * objc/deprecated/struct_objc_category.h: New. 1727 * objc/deprecated/struct_objc_ivar.h: New. 1728 * objc/deprecated/struct_objc_ivar_list.h: New. 1729 * objc/deprecated/struct_objc_method.h: New. 1730 * objc/deprecated/struct_objc_method_list.h: New. 1731 * objc/deprecated/struct_objc_module.h: New. 1732 * objc/deprecated/struct_objc_protocol_list.h: New. 1733 * objc/deprecated/struct_objc_symtab.h: New. 1734 * objc/deprecated/struct_objc_static_instances.h: New. 1735 * objc/objc-api.h: Definitions of deprecated structures moved into 1736 the above header fragment files in objc/deprecated/. Include the 1737 files instead of definition the structures here. Updated 1738 comments. 1739 * objc/runtime.h: Updated comments. Do not include objc-api.h. 1740 (objc_set_enumeration_mutation_handler): Renamed to 1741 objc_setEnumerationMutationHandler. 1742 * objc-foreach.c (objc_set_enumeration_mutation_handler): Renamed 1743 to objc_setEnumerationMutationHandler. 1744 * objc/objc-exception.h (objc_set_exception_matcher): Renamed to 1745 objc_setExceptionMatcher. 1746 (objc_set_uncaught_exception_handler): Renamed to 1747 objc_setUncaughtExceptionHandler. 1748 * exception.c: Same changes. 1749 1750 2010-10-10 Nicola Pero <nicola.pero (a] meta-innovation.com> 1751 1752 * objc-sync.c: Include objc-private/common.h. 1753 1754 2010-10-10 Nicola Pero <nicola.pero (a] meta-innovation.com> 1755 1756 * objc-foreach.c: Include objc-private/common.h. 1757 * objc/deprecated/METHOD_NULL.h: New file. 1758 * objc/objc-api.h: Include deprecated/METHOD_NULL.h instead of 1759 defining METHOD_NULL here. 1760 * Makefile.in (OBJC_DEPRECATED_H): Added METHOD_NULL.h. 1761 * Object.m ([+instancesRespondTo:]): Use (Method_t)0 instead of 1762 METHOD_NULL. 1763 ([-respondsTo:]): Same change. 1764 * objc/objc-api.h (method_get_imp): Converted it into a normal 1765 function so that we can hide the internals of struct objc_method. 1766 * sendmsg.c (method_get_imp): Implemented. 1767 1768 2010-10-09 Nicola Pero <nicola.pero (a] meta-innovation.com> 1769 1770 * objc/objc-api.h (struct objc_super, Super, Super_t, 1771 objc_msg_lookup_super, objc_msg_sendv, objc_msg_forward, 1772 objc_msg_forward2): Declarations moved to objc/message.h. Include 1773 message.h here. 1774 * objc/message.h: Added such declarations; updated comments. 1775 1776 2010-10-06 Nicola Pero <nicola.pero (a] meta-innovation.com> 1777 1778 Implemented fast enumeration for Objective-C. 1779 * Makefile.in (C_SOURCE_FILES): Added objc-foreach.c. 1780 (OBJC_H): Added runtime.h 1781 * objc-foreach.c: New file. 1782 * objc/runtime.h: New file. 1783 1784 2010-09-30 Kai Tietz <kai.tietz (a] onevision.com> 1785 1786 * objc/deprecated/struct_objc_class.h: Add padding 1787 to avoid warning with -Wpadded. 1788 1789 2010-09-26 Nicola Pero <nicola.pero (a] meta-innovation.com> 1790 1791 * encoding.c (objc_sizeof_type): Added support for vector type and 1792 for double long types. 1793 (objc_alignof_type): Same change. 1794 (objc_skip_typespec): Same change. 1795 * objc/encoding.h (_C_GCINVISIBLE): Use '|' for _C_GCINVISIBLE 1796 instead of '!' since '!' is already used for _C_VECTOR. 1797 * objc/objc-api.h (_C_LNG_DBL): Added. 1798 1799 2010-09-26 Nicola Pero <nicola.pero (a] meta-innovation.com> 1800 1801 * libobjc_entry.c: File removed. 1802 1803 2010-09-26 Kai Tietz <kai.tietz (a] onevision.com> 1804 1805 * sendmsg.c (objc_msg_lookup): Remove inline. 1806 (objc_get_uninstalled_dtable): Likewise. 1807 * encoding.c (objc_skip_type_qualifiers): Likewise. 1808 (objc_skip_offset): Likewise. 1809 * archive.c (__objc_write_object): Likewise 1810 (__objc_write_class): 1811 (__objc_write_selector): 1812 (objc_read_char): 1813 (objc_read_unsigned_char): 1814 (objc_read_short): 1815 (objc_read_unsigned_short): 1816 (objc_read_int): 1817 (objc_read_long): 1818 (__objc_read_nbyte_uint): 1819 (objc_read_unsigned_int): 1820 (objc_read_unsigned_long): 1821 * objc/objc-decls.h (obc_EXPORT): Remove dllexport for DLL_EXPORT case. 1822 (objc_EXPORT): Likewise. 1823 * objc/message.h (objc-decls.h): Add include. 1824 * objc/objc-api.h: Mark API by objc_EXPORT. 1825 * libobjc.def (__objc_responds_to): Removed. 1826 1827 2010-09-18 Nicola Pero <nicola.pero (a] meta-innovation.com> 1828 1829 * hash.c: Include objc-private/hash.h instead of objc/hash.h. 1830 1831 * objc/sarray.h: Moved into objc/deprecated/sarray.h; 1832 objc/sarray.h replaced with a placeholder including the file from 1833 the deprecated/ directory. 1834 * objc-private/sarray.h: New file (private copy of sarray.h). 1835 * hash.c: Include <assert.h> instead of "assert.h" 1836 * sarray.c: Include <assert.h> instead of "assert.h". Include 1837 objc-private/sarray.h instead of objc/sarray.h. 1838 * selector.c: Include objc-private/sarray.h instead of 1839 objc/sarray.h. 1840 * sendmsg.c: Include <assert.h>. Include objc-private/sarray.h 1841 instead of objc/sarray.h. 1842 * Makefile.in (OBJC_DEPRECATED_H): Added sarray.h. 1843 1844 2010-09-17 Nicola Pero <nicola.pero (a] meta-innovation.com> 1845 1846 * objc-private/objc-list.h (list_remove_elem): Unused function 1847 removed. (list_nth): Unused function removed. (list_find): 1848 Unused function removed. (list_lenght): Unused function removed. 1849 1850 2010-09-17 Nicola Pero <nicola.pero (a] meta-innovation.com> 1851 1852 * objc/hash.h: Moved into objc/deprecated/hash.h; objc/hash.h 1853 replaced with a placeholder including the file from the 1854 deprecated/ directory. 1855 * objc/objc-api.h: Updated includes. 1856 * objc/typedstream.h: Updated includes. 1857 * objc-private/hash.h: New file (private copy of hash.h). 1858 * objc/objc-list.h: Moved into objc/deprecated/objc-list.h; 1859 objc/objc-list.h replaced with a placeholder including the file 1860 from the deprecated/ directory. 1861 * objc-private/objc-list.h: New file (private copy of objc-list.h). 1862 * init.c: Include objc-private/hash.h and objc-private/objc-list.h 1863 instead of objc/hash.h and objc/objc-list.h. 1864 * selector.c: Same change. 1865 * class.c: Added include <string.h>, which used to be implicitly included 1866 when hash.h was included. 1867 * exception.c: Same change. 1868 * objects.c: Same change. 1869 * sarray.c: Same change. 1870 * sendmsg.c: Same change. 1871 * Makefile.in (OBJC_DEPRECATED_H): Added hash.h and objc-list.h. 1872 1873 2010-09-14 Nicola Pero <nicola.pero (a] meta-innovation.com> 1874 1875 Implemented objc_sync_enter() and objc_sync_exit(), which are 1876 required by @synchronized() to work. 1877 * objc-sync.c: New file. 1878 * objc/objc-sync.h: New file. 1879 * objc-private/objc-sync.h: New file. 1880 * init.c (__objc_exec_class): Call __objc_sync_init() during the 1881 Objective-C runtime startup. 1882 * Makefile.in: Added objc-sync.c and objc-sync.h. 1883 * configure.ac: Added GCC_CHECK_TLS. 1884 * acinclude.m4: Include ../config/enable.m4 and ../config/tls.m4. 1885 * configure: Regenerated. 1886 * config.h.in: Regenerated. 1887 1888 2010-09-12 Nicola Pero <nicola.pero (a] meta-innovation.com> 1889 1890 * Makefile.in (%_gc.lo): New pattern rules to build the 1891 garbage-collected version of the library. Removed rules for 1892 specific files that are no longer needed. Standardized all rules. 1893 (C_SOURCE_FILES, OBJC_SOURCE_FILES): New variables. 1894 (OBJS, OBJS_GC): Compute these from C_SOURCE_FILES and 1895 OBJC_SOURCE_FILES. 1896 (INCLUDES): Removed the unused include -I$(srcdir)/objc. 1897 1898 2010-09-12 Nicola Pero <nicola.pero (a] meta-innovation.com> 1899 1900 * memory.c (objc_calloc): Fixed call to GC_malloc when building 1901 with Garbage Colletion. 1902 1903 2010-09-12 Nicola Pero <nicola.pero (a] meta-innovation.com> 1904 1905 * memory.c: Do not include objc-private/runtime.h. 1906 1907 2010-09-12 Nicola Pero <nicola.pero (a] meta-innovation.com> 1908 1909 * objc/deprecated/objc_malloc.h: New file. 1910 * objc/deprecated/objc_valloc.h: New file. 1911 * objc/objc-api.h: Include the files instead of defining 1912 objc_valloc, _objc_malloc() and similar. 1913 * Makefile.in (OBJC_DEPRECATED_H): Added objc_valloc.h and 1914 objc_malloc.h. 1915 * memory.c: Removed the extra layer of indirection of _objc_malloc 1916 and similar. 1917 (objc_calloc): Use GC_malloc in the garbage-collected 1918 implementation as GC_malloc returns memory that is already freed. 1919 (objc_valloc): Deprecated. 1920 1921 2010-09-12 Nicola Pero <nicola.pero (a] meta-innovation.com> 1922 1923 * objc/deprecated/objc_error.h: New file. 1924 * objc/objc-api.h: Include deprecated/objc_error.h instead of 1925 defining objc_error and related. 1926 * error.c: New file. Added _objc_abort function which replaces 1927 objc_error. No change in functionality as they both print an 1928 error and abort. 1929 * misc.c: File removed. Code moved into memory.c and error.c. 1930 * memory.c: New file. 1931 * objc-private/error.h: New file. 1932 * archive.c: Include objc-private/error.h and use _objc_abort 1933 instead of objc_error everywhere. 1934 * class.c: Same change. 1935 * encoding.c: Same change. 1936 * init.c: Same change, and simplified init_check_module_version. 1937 * memory.c: Same change. 1938 * sendmsg.c: Same change. 1939 * thr.c: Same change. 1940 * Makefile.in (OBJ_DEPRECATED_H): Added objc_error.h. 1941 (OBJ_H): Reordered list. 1942 (OBJS): Removed misc.lo, added memory.lo and error.lo. 1943 (OBJS_GC): Removed misc_gc.lo, added memory_gc.lo and error_gc.lo. 1944 (misc_gc.lo): Rule removed. 1945 (error_gc.lo): Rule added. 1946 (memory_gc.lo): Rule added. 1947 1948 2010-09-12 Nicola Pero <nicola.pero (a] meta-innovation.com> 1949 1950 * objc/objc.h (__GNU_LIBOBJC__): New #define providing an easy way 1951 to check the API version. Added some comments. 1952 1953 * objc-private/common.h: New file. 1954 * NXConstStr.m: Include objc-private/common.h. 1955 * Object.m: Same change. 1956 * Protocol.m: Same change. 1957 * archive.c: Same change. 1958 * class.c: Same change. 1959 * encoding.c: Same change. 1960 * exception.c: Same change. 1961 * gc.c: Same change. 1962 * hash.c: Same change. 1963 * init.c: Same change. 1964 * libobjc_entry.c: Same change. 1965 * linking.m: Same change. 1966 * misc.c: Same change (and added a comment). 1967 * nil_method.c: Same change. 1968 * objects.c: Same change. 1969 * sarray.c: Same change. 1970 * selector.c: Same change. 1971 * sendmsg.c: Same change. 1972 * thr.c: Same change. 1973 1974 2010-09-11 Nicola Pero <nicola.pero (a] meta-innovation.com> 1975 1976 * objc/objc-api.h: Removed obsolete #ifdef for NeXTSTEP. 1977 1978 2010-09-11 Nicola Pero <nicola.pero (a] meta-innovation.com> 1979 1980 * archive.c: Removed not needed includes. 1981 * class.c: Same change. 1982 * hash.c: Same change. 1983 * misc.c: Same change. 1984 * nil_method.c: Same change. 1985 * objects.c: Same change. 1986 * sarray.c: Same change. 1987 * sendmsg.c: Same change. 1988 * thr.c: Same change. 1989 1990 2010-09-11 Nicola Pero <nicola.pero (a] meta-innovation.com> 1991 1992 * objc/runtime.h: Moved to objc-private/runtime.h. Do not include 1993 all the objc/*.h files. 1994 * objc-private/runtime.h: New file. 1995 * archive.c: Include objc-private/runtime.h (and required objc/*.h 1996 files) instead of objc/runtime.h. 1997 * class.c: Same change. 1998 * hash.c: Same change. 1999 * init.c: Same change. 2000 * misc.c: Same change. 2001 * nil_method.c: Same change. 2002 * objects.c: Same change. 2003 * sarray.c: Same change. 2004 * selector.c: Same change. 2005 * sendmsg.c: Same change. 2006 * thr.c: Same change. 2007 2008 2010-09-11 Nicola Pero <nicola.pero (a] meta-innovation.com> 2009 2010 * objc/deprecated/struct_objc_selector.h: New file. Definition of 2011 'struct objc_selector' and 'sel_eq' moved here. 2012 * objc/deprecated/struct_objc_protocol.h: New file. Definition of 2013 'struct objc_procotol' moved here. 2014 * objc/deprecated/struct_objc_class.h: New file. Definition of 2015 'struct objc_class' moved here. 2016 * objc/deprecated/MetaClass.h: New file. Definition of MetClass 2017 moved here. 2018 * objc/deprecated/STR.h: New file. Definition of STR moved here. 2019 * objc/message.h: New file. Definitions for relval_t, apply_t, 2020 arglist, arglist_t and objc_msg_lookup were moved here. 2021 * objc/objc.h: Include the above files instead of defining the 2022 corresponding structs, types and functions here. Added new opaque 2023 definitions for SEL and Class. Use Class and not 'struct 2024 objc_class *' in the definition of 'struct objc_object'. 2025 Commented all types defined in the file. Removed special 2026 definition of BOOL as 'int' on __vxworks; use 'unsigned char' 2027 there as well. 2028 * objc/deprecated/objc-unexpected-exception.h: Renamed to 2029 objc_unexpected_exception.h. 2030 * objc/objc-api.h: Updated include of 2031 objc-unexpetected-exception.h 2032 * objc/objc-exception.h: Updated comments. 2033 * Makefile.in (OBJC_H, OBJC_DEPRECATED_H): Added the new header 2034 files. Reindented list of files. 2035 2036 2010-09-10 Nicola Pero <nicola.pero (a] meta-innovation.com> 2037 2038 * objc/objc-api.h (objc_trace): Unused variable removed. 2039 2040 2010-09-10 Nicola Pero <nicola.pero (a] meta-innovation.com> 2041 2042 * objc/deprecated: New directory. 2043 * objc/deprecated/README: New file. 2044 * objc/README: New file. 2045 * objc/typedstream.h: Moved into objc/deprecated/typedstream.h; 2046 objc/typedstream.h replaced with a placeholder including the file 2047 from the deprecated/ directory. 2048 * objc/deprecated/objc-unexpected-exception.h: New file with the 2049 definition of _objc_unexpected_exception. 2050 * objc/objc-api.h: Include deprecated/objc-unexcepted-exception.h 2051 instead of defining _objc_unexpected_exception. 2052 * objc/deprecated/Object.h: New file with the deprecated Object 2053 methods in a 'Deprecated' category. 2054 * objc/Object.h Include deprecated/Object.h instead of defining 2055 the deprecated methods. 2056 * Object.m: Moved deprecated methods into 'Deprecated' category. 2057 * objc-private: New directory. 2058 * objc-private/README: New file. 2059 * Makefile.in (OBJC_DEPRECATED_H): New variable. 2060 (install-headers): Create installation directory for 2061 OBJC_DEPRECATED_H headers, and install them. 2062 2063 2010-09-10 Nicola Pero <nicola.pero (a] meta-innovation.com> 2064 2065 * objc/objc-exception.h: Fixed include of objc.h. 2066 2067 2010-09-08 Nicola Pero <nicola.pero (a] meta-innovation.com> 2068 2069 * objc/objc-exception.h: New file. 2070 * exception.c (objc_set_uncaught_exception_handler): Implemented. 2071 (objc_set_exception_matcher): Implemented. 2072 (objc_exception_throw): Use the uncaught exception handler if set. 2073 (PERSONALITY_FUNCTION): Use the exception matcher instead of the 2074 hardcoded isKindOf. 2075 (isKindOf): Renamed to is_kind_of_exception_matcher. Tidied code 2076 up. Removed segmentation fault when value is 'nil'. 2077 * objc/objc-api.h (_objc_unexpected_exception): Mark as 2078 deprecated. 2079 * Makefile.in (exception.lo, exception_gc.lo): Use 2080 -Wno-deprecated-declarations when compiling. 2081 (OBJC_H): Added objc-exception.h 2082 2083 2010-09-08 Nicola Pero <nicola.pero (a] meta-innovation.com> 2084 2085 * objc/typedstream.h: Deprecate all functions in the file. This 2086 file is obsolete. 2087 * objc/Object.h ([+streamVersion:], [-read:], [-write:], 2088 [-awake]): Documented that these methods are deprecated. Added a 2089 brief description of the Object class and its relationship to the 2090 NSObject class. 2091 * Makefile.in: Compile archive.c and Object.m with 2092 -Wno-deprecated-declarations. 2093 2094 2010-09-08 Nicola Pero <nicola.pero (a] meta-innovation.com> 2095 2096 Removed obsolete intermediate threading layer. 2097 * thr.c: Use __gthread_objc_xxx functions directly instead of 2098 __objc_thread_xxx ones. 2099 * objc/thr.h: Removed prototypes of no longer existing 2100 __objc_thread_xxx functions. 2101 * Makefile.in: Removed thr-objc.lo. 2102 * thr-dce.c: File removed. 2103 * thr-decosf1.c: File removed. 2104 * thr-irix.c: File removed. 2105 * thr-mach.c: File removed. 2106 * thr-objc.c: File removed. 2107 * thr-os2.c: File removed. 2108 * thr-posix.c: File removed. 2109 * thr-pthreads.c: File removed. 2110 * thr-rtems.c: File removed. 2111 * thr-single.c: File removed. 2112 * thr-solaris.c: File removed. 2113 * thr-vxworks.c: File removed. 2114 * thr-win32.c: File removed. 2115 * README.threads: File removed. 2116 * THREADS.MACH: File removed. 2117 * THREADS: Updated. 2118 2119 2010-09-07 Nicola Pero <nicola.pero (a] meta-innovation.com> 2120 2121 * Object.m (MAX_CLASS_NAME_LEN): Unused define removed. 2122 2123 2010-09-06 Iain Sandoe <iains (a] gcc.gnu.org> 2124 2125 * encoding.c: Add TARGET_ALIGN_NATURAL definition for m64 powerpc darwin. 2126 Add a comment as to why, update FIXME comments. 2127 2128 2010-09-06 Nicola Pero <nicola.pero (a] meta-innovation.com> 2129 2130 * makefile.dos: Obsolete file removed. 2131 2132 2010-04-02 Ralf Wildenhues <Ralf.Wildenhues (a] gmx.de> 2133 2134 * aclocal.m4: Regenerate. 2135 2136 2010-03-23 Dave Korn <dave.korn.cygwin (a] gmail.com> 2137 2138 PR libobjc/30445 2139 * configure.ac (extra_ldflags_libobjc): Define appropriately for 2140 Cygwin and MinGW hosts. 2141 * Makefile.am (libobjc_s.a): Remove dead pre-libtool target. 2142 (libobjc.dll): Likewise. 2143 * configure: Regenerate. 2144 2145 2009-12-05 Ralf Wildenhues <Ralf.Wildenhues (a] gmx.de> 2146 2147 * configure: Regenerate. 2148 2149 2009-11-28 Jakub Jelinek <jakub (a] redhat.com> 2150 2151 * sarray.c (sarray_free): Use old_buckets variable. 2152 * encoding.c (objc_layout_structure_next_member): Remove unused 2153 bfld_type_size variable. 2154 2155 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues (a] gmx.de> 2156 2157 * configure.ac (AC_PREREQ): Bump to 2.64. 2158 2159 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues (a] gmx.de> 2160 2161 * aclocal.m4: Regenerate. 2162 * configure: Regenerate. 2163 * config.h.in: Regenerate. 2164 2165 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues (a] gmx.de> 2166 2167 * Makefile.in (LIBTOOL): Add $(LIBTOOLFLAGS). 2168 2169 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues (a] gmx.de> 2170 2171 * Makefile.in (AUTOCONF, ACLOCAL, ACLOCAL_AMFLAGS, aclocal_deps): 2172 New variables. 2173 ($(srcdir)/configure, $(srcdir)/aclocal.m4): New rules. 2174 2175 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues (a] gmx.de> 2176 2177 * configure.ac (_AC_ARG_VAR_PRECIOUS): Use m4_rename_force. 2178 2179 2009-04-09 Nick Clifton <nickc (a] redhat.com> 2180 2181 * sendmsg.c: Change copyright header to refer to version 3 of 2182 the GNU General Public License with version 3.1 of the GCC 2183 Runtime Library Exception and to point readers at the COPYING3 2184 and COPYING3.RUNTIME files and the FSF's license web page. 2185 * NXConstStr.m: Likewise. 2186 * Object.m: Likewise. 2187 * Protocol.m: Likewise. 2188 * archive.c: Likewise. 2189 * class.c: Likewise. 2190 * encoding.c: Likewise. 2191 * exception.c: Likewise. 2192 * gc.c: Likewise. 2193 * hash.c: Likewise. 2194 * init.c: Likewise. 2195 * libobjc_entry.c: Likewise. 2196 * linking.m: Likewise. 2197 * misc.c: Likewise. 2198 * nil_method.c: Likewise. 2199 * objc/NXConstStr.h: Likewise. 2200 * objc/Object.h: Likewise. 2201 * objc/Protocol.h: Likewise. 2202 * objc/encoding.h: Likewise. 2203 * objc/hash.h: Likewise. 2204 * objc/objc-api.h: Likewise. 2205 * objc/objc-decls.h: Likewise. 2206 * objc/objc-list.h: Likewise. 2207 * objc/objc.h: Likewise. 2208 * objc/runtime.h: Likewise. 2209 * objc/sarray.h: Likewise. 2210 * objc/thr.h: Likewise. 2211 * objc/typedstream.h: Likewise. 2212 * objects.c: Likewise. 2213 * sarray.c: Likewise. 2214 * selector.c: Likewise. 2215 * thr-dce.c: Likewise. 2216 * thr-decosf1.c: Likewise. 2217 * thr-irix.c: Likewise. 2218 * thr-mach.c: Likewise. 2219 * thr-objc.c: Likewise. 2220 * thr-os2.c: Likewise. 2221 * thr-posix.c: Likewise. 2222 * thr-pthreads.c: Likewise. 2223 * thr-rtems.c: Likewise. 2224 * thr-single.c: Likewise. 2225 * thr-solaris.c: Likewise. 2226 * thr-vxworks.c: Likewise. 2227 * thr-win32.c: Likewise. 2228 * thr.c: Likewise. 2229 * libobjc.def: Change copyright header to refer to version 3 of 2230 the GNU General Public License and to point readers at the COPYING3 2231 file and the FSF's license web page. 2232 * makefile.dos: Likewise. 2233 2234 2009-04-09 Jakub Jelinek <jakub (a] redhat.com> 2235 2236 * Makefile.in: Change copyright header to refer to version 2237 3 of the GNU General Public License and to point readers at the 2238 COPYING3 file and the FSF's license web page. 2239 * configure.ac: Likewise. 2240 2241 2009-03-12 Richard Frith-Macdonald <rfm (a] gnu.org> 2242 David Ayers <ayers (a] fsfe.org> 2243 2244 PR libobjc/27466 2245 * objc/objc-api.h (_objc_unexpected_exception): Declare 2246 new hook. Update copyright dates. 2247 * exception.c (objc_exception_throw): Use hook. Update 2248 copyright dates. 2249 * libobjc.def (_objc_unexpected_exception): Export hook. 2250 Update copyright dates. 2251 2252 2009-03-01 Ralf Wildenhues <Ralf.Wildenhues (a] gmx.de> 2253 2254 * configure: Regenerate. 2255 2256 2008-12-18 Ralf Wildenhues <Ralf.Wildenhues (a] gmx.de> 2257 2258 * configure: Regenerate. 2259 2260 2008-11-21 Kai Tietz <kai.tietz (a] onevision.com> 2261 2262 * Object.m (errno): Replaced by errno.h include. 2263 (compare): Cast self to id to prevent warning on comparison. 2264 * objc/objc.h (BOOL): Prevent redeclaration of BOOL, if it is 2265 already there. 2266 * sendmsg.c (__objc_print_dtable_stats): Remove type warnings. 2267 * thr-win32.c (__objc_thread_detach): Remove type warning. 2268 (__objc_thread_id): Likewise. 2269 * thr.c (__objc_thread_detach_functiont): Add __builtin_trap () 2270 for noreturn. 2271 2272 2008-09-26 Peter O'Gorman <pogma (a] thewrittenword.com> 2273 Steve Ellcey <sje (a] cup.hp.com> 2274 2275 * configure: Regenerate for new libtool. 2276 * config.h.in: Regenerate for new libtool. 2277 2278 2008-07-18 Matthias Klose <doko (a] ubuntu.com> 2279 2280 * Makefile.in: Ignore missing ../boehm-gc/threads.mk. 2281 2282 2008-07-18 Matthias Klose <doko (a] ubuntu.com> 2283 2284 * Makefile.in: Include ../boehm-gc/threads.mk. 2285 (OBJC_BOEHM_GC_LIBS): Define, (libobjc_gc$(libsuffix).la): Use it. 2286 2287 2008-07-06 Ralf Wildenhues <Ralf.Wildenhues (a] gmx.de> 2288 2289 * Makefile.in (install-info): New stub target. 2290 2291 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues (a] gmx.de> 2292 2293 * configure: Regenerate. 2294 2295 2008-06-14 Kai Tietz <kai.tietz (a] onevision.com> 2296 2297 * exception.c (PERSONALITY_FUNCTION): Remove extra decrement 2298 if HAVE_GETIPINFO is not defined. 2299 2300 2008-06-10 Kai Tietz <kai.tietz (a] onevision.com> 2301 2302 * Object.m (compare): Add type id. 2303 * objc/Object.h: Likewise. 2304 * archive.c (objc_read_class): Use size_t to extend version to be 2305 size of pointer scalar width. 2306 * sendmsg.c (rtx): Undefine it before redefinition. 2307 (__objc_print_dtable_stats): Cast arguments to long as intended. 2308 2309 2008-05-30 Julian Brown <julian (a] codesourcery.com> 2310 2311 * exception.c (__objc_exception_class): Initialise as constant 2312 array for ARM EABI. Change macro to static const for non-ARM EABI. 2313 (ObjcException): Add note about structure layout. Remove landingPad 2314 and handlerSwitchValue for ARM EABI. 2315 (get_ttype_entry): Add __ARM_EABI_UNWINDER__ version 2316 of function. 2317 (CONTINUE_UNWINDING): Define for ARM EABI/otherwise cases. 2318 (PERSONALITY_FUNCTION): Use ARM EABI-specific arguments, and add 2319 ARM EABI unwinding support. 2320 (objc_exception_throw): Use memcpy to initialise exception class. 2321 2322 2008-05-25 Alan Modra <amodra (a] bigpond.net.au> 2323 2324 * encoding.c (strip_array_types): Rename from get_inner_array_type. 2325 (rs6000_special_round_type_align): Update. 2326 2327 2008-05-09 Julian Brown <julian (a] codesourcery.com> 2328 2329 * Makefile.in (LTLDFLAGS): New. 2330 (libobjc$(libsuffix).la, libobjc_gc$(libsuffix).la): Use above. 2331 2332 2008-04-18 Paolo Bonzini <bonzini (a] gnu.org> 2333 2334 PR bootstrap/35457 2335 * aclocal.m4: Regenerate. 2336 * configure: Regenerate. 2337 2338 2008-01-24 David Edelsohn <edelsohn (a] gnu.org> 2339 2340 * configure: Regenerate. 2341 2342 2007-10-14 H.J. Lu <hongjiu.lu (a] intel.com> 2343 2344 * configure.ac: Don't run config-ml.in directly. 2345 (multilib_arg): New. 2346 * configure: Regenerated. 2347 2348 2007-08-06 Andrew Pinski <pinskia (a] gmail.com> 2349 2350 PR libobjc/30731 2351 * exception.c (parse_lsda_header): Use _uleb128_t/_sleb128_t instead 2352 of _Unwind_Word for variables which are used in 2353 read_uleb128/read_sleb128. 2354 (PERSONALITY_FUNCTION): Likewise. 2355 2356 2007-07-05 H.J. Lu <hongjiu.lu (a] intel.com> 2357 2358 * aclocal.m4: Regenerated. 2359 2360 2007-06-03 Andrew Pinski <andrew_pinski (a] playstation.sony.com> 2361 2362 * configure.ac: Fix a typo in *-*-darwin clause. 2363 * configure: Regenerated. 2364 2365 2007-06-02 H.J. Lu <hongjiu.lu (a] intel.com> 2366 2367 * configure.ac: Fix a typo. 2368 * configure: Regenerated. 2369 2370 2007-06-02 Paolo Bonzini <bonzini (a] gnu.org> 2371 2372 * configure: Regenerate. 2373 2374 2007-06-01 Andrew Pinski <andrew_pinski (a] playstation.sony.com> 2375 2376 * Makefile.in: Replace all uses of libext with libsuffix. 2377 * configure.ac: Likewise. 2378 * configure: Regenerate. 2379 2380 Revert: 2381 * Makefile.in: Remove all uses of $(libext). 2382 2383 2007-05-23 Andrew Pinski <andrew_pinski (a] playstation.sony.com> 2384 2385 * Makefile.in: Remove all uses of $(libext). 2386 2387 2007-05-23 Steve Ellcey <sje (a] cup.hp.com> 2388 2389 * configure: Regenerate. 2390 * aclocal.m4: Regenerate. 2391 2392 2007-04-21 Andrew Ruder <andy (a] aeruder.net> 2393 2394 * sendmsg.c (__objc_get_forward_imp): Call 2395 __objc_msg_forward2 for real. 2396 2397 2007-04-09 Andrew Ruder <andy (a] aeruder.net> 2398 2399 * sendmsg.c: Added __objc_msg_forward2, a hook that allows 2400 external libraries to provide a function that returns the real 2401 forwarding function based on both the selector and the receiver. 2402 * objc/objc-api.h: Define __objc_msg_forward2. 2403 2404 2007-03-01 Brooks Moses <brooks.moses (a] codesourcery.com> 2405 2406 * Makefile.in: Add dummy install-pdf target. 2407 2408 2007-02-18 Manuel Lopez-Ibanez <manu (a] gcc.gnu.org> 2409 2410 * objc/objc-list.h (list_free): Add keyword 'inline' to avoid 2411 unused warning. 2412 2413 2006-10-31 Geoffrey Keating <geoffk (a] apple.com> 2414 2415 * encoding.c (darwin_rs6000_special_round_type_align): New. 2416 2417 2006-10-14 Geoffrey Keating <geoffk (a] apple.com> 2418 2419 * Makefile.in: Use multi_basedir instead of toplevel_srcdir. 2420 * configure.ac: Use multi.m4 from aclocal rather than custom 2421 code. Use multi_basedir instead of toplevel_srcdir. 2422 * aclocal.m4: Regenerate. 2423 * configure: Regenerate. 2424 2425 2006-10-10 Brooks Moses <bmoses (a] stanford.edu> 2426 2427 * Makefile.in: Added empty "pdf" target. 2428 2429 2006-07-18 Paolo Bonzini <bonzini (a] gnu.org> 2430 2431 * configure: Regenerate. 2432 2433 2006-05-23 Carlos O'Donell <carlos (a] codesourcery.com> 2434 2435 * Makefile.in: Add install-html target. Add install-html to .PHONY 2436 2437 2006-02-21 Rainer Orth <ro (a] TechFak.Uni-Bielefeld.DE> 2438 2439 PR libobjc/26309 2440 * thr-objc.c (_XOPEN_SOURCE): Don't define on Tru64 UNIX. 2441 2442 2006-01-24 David Ayers <d.ayers (a] inode.at> 2443 2444 PR libobjc/9751 2445 * gc.c (class_ivar_set_gcinvisible): Replace strncpy with memcpy 2446 and insure the new strings are '\0' termintated. 2447 2448 2006-01-24 David Ayers <d.ayers (a] inode.at> 2449 2450 PR libobjc/13946 2451 * configure.ac: Add include directives for --enable-objc-gc. 2452 * Makefile.in: Ditto. 2453 * configure: Regenerate. 2454 2455 * gc.c (__objc_class_structure_encoding): Increment the used bytes 2456 instead of the local pointer to them. 2457 2458 2005-12-14 Andrew Pinski <pinskia (a] physics.uc.edu> 2459 2460 PR objc/25360 2461 * objc/objc-api.c (_C_COMPLEX): New define. 2462 * encoding.c (objc_sizeof_type): Handle _C_Complex. 2463 (objc_alignof_type): Likewise. 2464 (objc_skip_typespec): Likewise. 2465 2466 2005-12-15 David Ayers <d.ayers (a] inode.at> 2467 2468 PR libobjc/14382 2469 * README (+load,+initialize): Fix documentation to reflect 2470 intended and implemented semantics for +load and +initialize. 2471 2472 2005-12-12 Andrew Pinski <pinskia (a] physics.uc.edu> 2473 2474 * encoding.c (TYPE_FIELDS): Fix to skip over just _C_STRUCT_B and 2475 the name. 2476 (get_inner_array_type): Fix to skip over _C_ARY_B and size. 2477 (rs6000_special_round_type_align): Update for the ABI fix. 2478 (objc_layout_finish_structure): Correct the encoding which is passed to 2479 ROUND_TYPE_ALIGN. 2480 2481 2005-12-11 Andrew Pinski <pinskia (a] physics.uc.edu> 2482 2483 PR libobjc/25347 2484 * encoding.c (objc_sizeof_type): Don't handle _C_UNION_B special 2485 but use the struct layout functions. 2486 (objc_alignof_type): Likewise. 2487 (objc_layout_structure): Handle _C_UNION_B also. 2488 (objc_layout_structure_next_member): Likewise. 2489 (objc_layout_finish_structure): Likewise. 2490 2491 2005-12-11 Andrew Pinski <pinskia (a] physics.uc.edu> 2492 2493 PR libobjc/25346 2494 * objc/objc-api.h (_C_BOOL): New define. 2495 * encoding.c (objc_sizeof_type): Handle _C_BOOL. 2496 (objc_alignof_type): Likewise. 2497 (objc_skip_typespec): Likewise. 2498 2499 2005-11-20 David Ayers <d.ayers (a] inode.at> 2500 2501 PR libobjc/19024 2502 * objc/hash.h: Remove deprecated hash API. 2503 * hash_compat.c: Remove. 2504 * Makefile.in: Remove reference to hash_compat.c. 2505 2506 * configure.ac (VERSION): Bump library version to 2:0:0. 2507 * configure: Regenerate. 2508 2509 2005-11-09 Alexandre Oliva <aoliva (a] redhat.com> 2510 2511 PR other/4372 2512 * thr-objc.c (_XOPEN_SOURCE): Define. 2513 2514 2005-10-07 Ulrich Weigand <uweigand (a] de.ibm.com> 2515 2516 PR libobjc/23612 2517 * objc/objc-api.h (struct objc_ivar): Move definition to 2518 global scope. 2519 2520 2005-09-04 Andrew Pinski <pinskia (a] physics.uc.edu> 2521 Rasmus Hahn <rassahah (a] neofonie.de> 2522 2523 PR libobjc/23108 2524 * archive.c (objc_write_type): Correct the element offset. 2525 (objc_read_type): Likewise. 2526 2527 2005-08-17 Kelley Cook <kcook (a] gcc.gnu.org> 2528 2529 * All files: Update FSF address. 2530 2531 2005-08-13 Marcin Koziej <creep (a] desk.pl> 2532 Andrew Pinski <pinskia (a] physics.uc.edu> 2533 2534 PR libobjc/22492 2535 * exception.c (PERSONALITY_FUNCTION): Fix the PC with finally. 2536 2537 2005-08-13 Andrew Pinski <pinskia (a] physics.uc.edu> 2538 2539 * Makefile.in (extra_ldflags_libobjc): New. 2540 (libobjc$(libext).la): Add extra_ldflags_libobjc to the link line. 2541 (libobjc_gc$(libext).la): Likewise. 2542 * configure.ac (extra_ldflags_libgfortran): Set for *-darwin* to 2543 "-Wl,-single_module". 2544 * configure: Regenerate. 2545 * linking.m (_objcInit): Remove. 2546 2547 2005-07-26 Andrew Pinski <pinskia (a] physics.uc.edu> 2548 2549 PR libobjc/22606 2550 * Makefile.in (ALL_CFLAGS): Add -fexceptions. 2551 2552 2005-06-08 David Ayers <d.ayers (a] inode.at> 2553 2554 * objc/NXConstStr.h, objc/Object.h, objc/Protocol.h, 2555 objc/encoding.h, objc/hash.h, objc/objc-api.h, 2556 objc/runtime.h, objc/sarray.h, objc/thr.h, 2557 objc/typedstream.h: Do not include Objective-C headers as 2558 system headers. 2559 2560 2005-06-07 David Ayers <d.ayers (a] inode.at> 2561 2562 * archive.c, init.c, selector.c: Include hash.h. 2563 * archive.c, class.c, encoding.c, gc.c, hash.c, hash_compat.c, 2564 init.c, misc.c, nil_method.c, objects.c, sarray.c, selector.c, 2565 sendmsg.c, thr-dce.c, thr-decosf1.c, thr-irix.c, thr-mach.c, 2566 thr-objc.c, thr-os2.c, thr-posix.c, thr-pthreads.c, thr-rtems.c, 2567 thr-single.c, thr-solaris.c, thr-vxworks.c, thr-win32.c, thr.c: 2568 Include Objective-C headers with quotes and objc/ directory 2569 prefix. 2570 2571 2005-05-19 Richard Henderson <rth (a] redhat.com> 2572 2573 * exception.c: Revert last change. 2574 2575 2005-05-19 David Ayers <d.ayers (a] inode.at> 2576 2577 * exception.c: Include tsystem.h for unwind.h. 2578 2579 2005-05-09 Mike Stump <mrs (a] apple.com> 2580 2581 * configure: Regenerate. 2582 2583 2005-04-12 Mike Stump <mrs (a] apple.com> 2584 2585 * configure: Regenerate. 2586 2587 2005-03-21 Zack Weinberg <zack (a] codesourcery.com> 2588 2589 * Makefile.in: Set gcc_version here. 2590 * configure.ac: Do not invoke TL_AC_GCC_VERSION. Adjust quoting 2591 in definition of toolexeclibdir so that $(gcc_version) is expanded 2592 by the Makefile. 2593 * aclocal.m4, configure: Regenerate. 2594 2595 2005-03-03 David Ayers <d.ayers (a] inode.at> 2596 2597 * objc/hash.h (OBJC_IGNORE_DEPRECATED_API): Update deprecated 2598 version reference. Correct typo. 2599 2600 2005-03-02 David Ayers <d.ayers (a] inode.at> 2601 2602 PR libobjc/19024 2603 * Makefile.in (OBJS): Add hash_compat.lo. 2604 (OBJS_GC): Add hash_compat_gc.lo. 2605 (hash_compat_gc.lo): New target and rule. 2606 * objc/hash.h (hash_new, hash_delete, hash_add, hash_remove) 2607 (hash_next, hash_value_for_key, hash_is_key_in_hash) 2608 (hash_ptr, hash_string, compare_ptrs, compare_strings): Prefix 2609 with objc_. Add deprecated non prefixed inlined versions. 2610 (OBJC_IGNORE_DEPRECATED_API): New macro to hide deprecated 2611 declarations. 2612 * hash.c (hash_new, hash_delete, hash_add, hash_remove, hash_next) 2613 (hash_value_for_key, hash_is_key_in_hash): Prefix with objc_ and 2614 update callers. 2615 * hash_compat.c: New file. 2616 * archive.c: Update callers. 2617 * init.c: Likewise. 2618 * selector.c: Likewise. 2619 * libobjc.def: Add objc_ versions of hash functions. 2620 2621 2005-02-28 Andrew Pinski <pinskia (a] physics.uc.edu> 2622 2623 PR libobjc/20252 2624 * Makefile.in (GTHREAD_FLAGS): Remove. 2625 (ALL_CFLAGS): Remove usage of GTHREAD_FLAGS. 2626 * thr-objc.c: Include config.h. 2627 * configure.ac: Instead of looking at GCC's makefile, figure out if 2628 GTHREAD_FLAGS should be defined by looking at the `thread model' 2629 of the current gcc. 2630 * configure: Regenerate. 2631 * config.h.in: Regenerate. 2632 2633 2005-02-28 Paolo Bonzini <bonzini (a] gnu.org> 2634 2635 PR bootstrap/17383 2636 * configure.ac: Call GCC_TOPLEV_SUBDIRS. 2637 (Determine CFLAGS for gthread): Use $host_subdir. 2638 * configure: Regenerate. 2639 * Makefile.in (host_subdir): New. 2640 (INCLUDES): Use it. 2641 2642 2004-12-20 Andrew Pinski <pinskia (a] physics.uc.edu> 2643 2644 PR libobjc/12035 2645 * gc.c: Remove definition of LOGWL, modWORDSZ, and divWORDSZ since 2646 they are not used. 2647 Include limits.h and stdlib.h. 2648 Define BITS_PER_WORD. 2649 2650 2004-12-12 Alexander Malmberg <alexander (a] malmberg.org> 2651 2652 * selector.c (__objc_init_selector_tables): Add missing void to 2653 definition. 2654 2655 2004-12-02 Richard Sandiford <rsandifo (a] redhat.com> 2656 2657 * configure.ac: Use TL_AC_GCC_VERSION to set gcc_version. 2658 * configure, aclocal.m4: Regenerate. 2659 2660 2004-11-29 Kelley Cook <kcook (a] gcc.gnu.org> 2661 2662 * configure: Regenerate for libtool change. 2663 2664 2004-11-25 Kelley Cook <kcook (a] gcc.gnu.org> 2665 2666 * configure: Regenerate for libtool reversion. 2667 2668 2004-11-24 Kelley Cook <kcook (a] gcc.gnu.org> 2669 2670 * configure: Regenerate for libtool change. 2671 2672 2004-11-24 Kelley Cook <kcook (a] gcc.gnu.org> 2673 2674 * aclocal.m4, config.h.in: Regenerate. 2675 2676 2004-10-08 Mike Stump <mrs (a] apple.com> 2677 Andrew Pinski <pinskia (a] physics.uc.edu> 2678 2679 * aclocal.m4: Rename to ... 2680 * acinclude.m4: here and also use m4_include instead of sinclude. 2681 * aclocal.m4: Regenerate. 2682 * configure: Regenerate. 2683 * configure.ac: Add AM_MAINTAINER_MODE and AM_PROG_CC_C_O. 2684 * Makefile.in (configure): Add @MAINT@ infront of configure.ac 2685 2686 2004-10-08 Andrew Pinski <pinskia (a] physics.uc.edu> 2687 2688 * archive.c: Fix all the warnings about passing unsigned char* 2689 to char* and the other way too. 2690 2691 2004-09-16 Andrew Pinski <pinskia (a] physics.uc.edu> 2692 2693 PR libobjc/16448 2694 * exception.c: Include config.h 2695 (objc_exception_throw): Change _GLIBCXX_SJLJ_EXCEPTIONS to 2696 SJLJ_EXCEPTIONS. 2697 * configure.ac: Find out what exception handling code we use. 2698 * configure: Regenerate. 2699 * config.h.in: New file, regenerate. 2700 2701 2004-09-16 Andrew Pinski <apinski (a] apple.com> 2702 2703 * encoding.c (ALTIVEC_VECTOR_MODE): Define a bogus macro. 2704 2705 2004-08-28 Nathanael Nerode <neroden (a] gcc.gnu.org> 2706 2707 * configure.ac: Switch from _GCC_TOPLEV_NONCANONICAL_TARGET to 2708 ACX_NONCANONICAL_TARGET. 2709 * configure: Regenerate. 2710 2711 2004-08-13 Ziemowit Laski <zlaski (a] apple.com> 2712 2713 * objc/sarray.h: Hoist include of assert.h near the top of file, 2714 and mark the remainder of the file 'extern "C"'. 2715 2716 2004-08-13 Andrew Pinski <pinskia (a] physics.uc.edu> 2717 2718 * objc/Object.h: Move includes out of extern "C" blocks. 2719 * objc/encoding.h: Likewise. 2720 * objc/hash.h: Likewise. 2721 * objc/objc-api.h: Likewise. 2722 * objc/runtime.h: Likewise. 2723 * objc/sarray.h: Likewise. 2724 * objc/typedstream.h: Likewise. 2725 2726 2004-08-12 Ziemowit Laski <zlaski (a] apple.com> 2727 2728 * objc/NXConstStr.h: Update copyright date; bracket with 2729 'extern "C"' for C++ use; make include syntax consistent 2730 by using <...> instead of "..."; hoist <objc/...> includes 2731 above the 'extern "C"' block. 2732 * objc/Object.h: Likewise. 2733 * objc/Protocol.h: Likewise. 2734 * objc/encoding.h: Likewise. 2735 * objc/hash.h: Likewise. 2736 * objc/runtime.h: Likewise. 2737 * objc/sarray.h: Likewise. 2738 * objc/thr.h: Likewise. 2739 * objc/typedstream.h: Likewise. 2740 * objc/objc-api.h: Add 'extern "C"' block for C++ use. 2741 (objc_static_instances): For C++ case, do away with 2742 zero-sized array. 2743 (objc_method): Hoist definition to file scope. 2744 (_objc_load_callback, _objc_object_alloc, class_get_class_method, 2745 class_get_instance_method, class_create_instance, 2746 class_get_class_name, class_get_instance_size, 2747 class_get_meta_class, class_get_super_class, class_get_version, 2748 class_is_class, class_is_meta_class, class_set_version, 2749 class_get_gc_object_type, class_ivar_set_gcinvisible, 2750 get_imp): Rename 'class' parameter to '_class'. 2751 * objc/objc-list.h: Add 'extern "C"' block for C++ use. 2752 * objc/objc.h: Update copyright date. 2753 (arglist_t): Provide a union tag. 2754 2755 2004-07-22 Andrew Pinski <pinskia (a] physics.uc.edu> 2756 2757 * thr.c (__objc_thread_detach_function): Do not mark as volatile 2758 but instead use the attribute noreturn. 2759 2760 2004-06-28 Zack Weinberg <zack (a] codesourcery.com> 2761 2762 * encoding.c: Rename target_flags with a #define to avoid 2763 conflict with a prior declaration. 2764 2765 2004-06-24 Andrew Pinski <apinski (a] apple.com> 2766 2767 * objc/encoding.h: Wrap the functions with extern "C" for C++ 2768 mode. 2769 * objc/hash.h: Likewise. 2770 * objc/objc-api.h: Likewise. 2771 * objc/objc-list.h: Likewise. 2772 * objc/runtime.h: Likewise. 2773 * objc/sarray.h: Likewise. 2774 * objc/thr.h: Likewise. 2775 * objc/typedstream.h: Likewise. 2776 2777 2778 2004-06-21 Nick Clifton <nickc (a] redhat.com> 2779 2780 * encoding.c (BITS_PER_UNIT): Define if a definition is not 2781 provided. 2782 2783 2004-06-20 Alexander Malmberg <alexander (a] malmberg.org> 2784 2785 * Makefile.in (exception.lo): Remove $(OBJC_GCFLAGS). 2786 (exception_gc.lo): New. 2787 (OBJS_GC): Add exception_gc.lo. 2788 2789 2004-06-17 Richard Henderson <rth (a] redhat.com> 2790 2791 * exception.c: New file. 2792 * Makefile.in (exception.lo): New. 2793 (OBJS): Add it. 2794 2795 2004-06-14 Andrew Pinski <pinskia (a] physics.uc.edu> 2796 2797 * linking.m (_objcInit): New empty function 2798 for Darwin only. 2799 2800 2004-06-11 Andrew Pinski <pinskia (a] physics.uc.edu> 2801 2802 * configure.ac: Support --enable-shared=libobjc. 2803 * configure: Regenerate. 2804 2805 PR libobjc/15901 2806 * configure.ac: Do not disable shared by default. 2807 * configure: Regenerate. 2808 2809 2004-06-03 Nicola Pero <n.pero (a] mi.flashnet.it> 2810 2811 * Protocol.m ([-isEqual:]): Small optimizations returning 2812 immediately if the argument is equal to self, and accessing 2813 the argument's name directly if it's a protocol. 2814 2815 2004-06-03 David Ayers <d.ayers (a] inode.at> 2816 2817 * Protocol.m ([-isEqual:]): Test the class of the argument. 2818 2819 2004-05-25 Andrew Pinski <pinskia (a] physics.uc.edu> 2820 2821 * configure.ac (includedir): Rename to ... 2822 (includedirname). 2823 * Makefile.in: s/includedir/includedirname/. 2824 2825 PR target/11572 2826 * configure.ac (includedir): Set to "include" 2827 except for Darwin. 2828 (libext) Set to empty except for Darwin. 2829 * configure: Regenerate 2830 * Makefile.in: s/libobjc.la/libobjc$(libext).la/g. 2831 s/include/$(includedir)/g. 2832 2833 2004-05-25 Daniel Jacobowitz <drow (a] false.org> 2834 2835 * Makefile.in: Add .NOEXPORT. 2836 2837 2004-05-25 Andrew Pinski <pinskia (a] physics.uc.edu> 2838 2839 Merge from the libobjc-branch 2840 2004-02-09 Andrew Pinski <pinskia (a] physics.uc.edu> 2841 2842 * Makefile.in (OBJC_H): Change objc-deps.h to objc-decls.h. 2843 2844 2004-02-03 Andrew Pinski <pinskia (a] physics.uc.edu> 2845 2846 * Makefile.in (OBJC_H): Add objc-deps.h. 2847 2848 2004-01-27 Nicola Pero <n.pero (a] mi.flashnet.it> 2849 2850 * Protocol.m ([-conformsTo:]): If the argument is nil, return NO. 2851 ([-hash], [-isEqual:]): New methods. 2852 2853 2004-01-27 Richard Frith-Macdonald <rfm (a] gnu.org> 2854 2855 * sarray.c (sarray_free): Add a better comment. 2856 2857 2004-01-27 Adam Fedor <fedor (a] gnu.org> 2858 2859 * hash.c (hash_add): Cast cachep to int. 2860 * selector.c (__sel_register_typed_name): Cast 2861 soffset_decode to int. 2862 2863 2004-01-27 Alexander Malmberg <alexander (a] malmberg.org> 2864 2865 * selector.c: Rename register_selectors_from_list to 2866 __objc_register_selectors_from_list. Update caller. 2867 (__objc_register_selectors_from_list): Lock __objc_runtime_mutex 2868 while registering selectors. Use __sel_register_typed_name instead 2869 of sel_register_typed_name. Check for NULL method_name:s. 2870 (pool_alloc_selector): New function. 2871 (__sel_register_typed_name): Use pool_alloc_selector to allocate 2872 selector structures. 2873 * sendmsg.c (class_add_method_list): Use 2874 __objc_register_selectors_from_list. 2875 * objc/runtime.h: Add __objc_register_selectors_from_list. 2876 2877 2004-01-25 Adam Fedor <fedor (a] gnu.org> 2878 Nicola Pero <n.pero (a] mi.flashnet.it> 2879 Andrew Pinski <pinskia (a] physics.uc.edu> 2880 2881 * objc/objc-decls.h: New file. 2882 * objc/objc-api.h (_objc_lookup_class): Mark as export. 2883 (_objc_load_callback): Likewise. 2884 (_objc_object_alloc): Likewise. 2885 (_objc_object_copy): Likewise. 2886 (_objc_object_dispose): Likewise. 2887 2888 2004-01-25 Andrew Pinski <pinskia (a] physics.uc.edu> 2889 2890 * archive.c: s/__inline__/inline 2891 * sendmsg.c: Likewise. 2892 2893 * encoding.c: Remove FIXME about the warning 2894 about unused variable. 2895 * sendmsg.c: Add a FIXME comment saying that 2896 this should be using libffi. 2897 2898 * Makefile.in (LIBTOOL): Use @LIBTOOL@ now as it works. 2899 2900 2901 2004-05-13 Andrew Pinski <pinskia (a] physics.uc.edu> 2902 2903 * archive.c (objc_read_class): Initialize class_name. 2904 (objc_read_selector): Initialize selector_name. 2905 2906 2004-05-09 Richard Sandiford <rsandifo (a] redhat.com> 2907 2908 * Makefile.in (toolexecdir): Remove trailing space. 2909 2910 2004-04-15 Nathanael Nerode <neroden (a] gcc.gnu.org> 2911 2912 PR libobjc/14948 2913 * configure.ac: De-precious CC so multilibs work. 2914 * configure: Regenerate. 2915 2916 2004-04-14 Nathanael Nerode <neroden (a] gcc.gnu.org> 2917 2918 * configure.ac: Restore toolexecdir. 2919 * Makefile.in: Restore toolexecdir. 2920 * configure: Regenerate. 2921 2922 2004-04-09 Nathanael Nerode <neroden (a] gcc.gnu.org> 2923 2924 * configure.ac: Remove (unused) glibcpp_prefixdir. 2925 * configure: Regenerate. 2926 2927 * configure.in: Rename to configure.ac. 2928 * Makefile.in: Update to match. 2929 2930 * Makefile.in: Remove toolexecdir, glibcpp_toolexecdir (unused). 2931 Replace glibcpp_toolexeclibdir with toolexeclibdir. 2932 * configure.in: Remove glibcpp_toolexecdir (unused). 2933 Replace glibcpp_toolexeclibdir with toolexeclibdir. Don't generate 2934 config.h or stamp-h (unused). Move one comment to the right place. 2935 * configure: Regenerate. 2936 * config.h.in: Remove (unused). 2937 2938 * config.h.in: Regenerate with autoheader. 2939 2940 * Makefile.in: Remove (unused) gcc_version_trigger. 2941 * configure.in: Remove (unused) glibcpp_builddir. Don't AC_SUBST 2942 gcc_version_trigger. 2943 * configure: Regenerate. 2944 2945 * configure.in: Switch to modern style for AC_INIT, AC_OUTPUT. 2946 Sort file into sections. Remove dnl where appropriate. Fix 2947 other style issues. 2948 * configure: Regenerate. 2949 2950 * configure.in: Replace old AC_PROG_CC hack with new one. 2951 Define toplevel_srcdir in terms of srcdir, not top_srcdir (there 2952 are no subdirectory output files, so this is fine). Change prereq 2953 to autoconf 2.59. 2954 * aclocal.m4: Include ../config/no-executables.m4. 2955 * configure: Regenerate with autoconf 2.59. 2956 2957 * configure.in: Improve comments on gthread_cflags. Improve m4 2958 quotation, and replace 'if test' with 'case', for --enable-objc-gc. 2959 * configure: Regenerate. 2960 2961 * configure.in: Move PACKAGE and VERSION settings up top. Remove 2962 unused call to AC_PROG_LN_S. Default RANLIB to ':'. Remove 2963 redundant checks for values of RANLIB, AR, INSTALL. 2964 * configure: Regenerate. 2965 2966 * configure.in: Clean up handling of 2967 --enable-version-specific-runtime-libs and related variables; 2968 replace 'if test' with 'case' where reasonable. Fix comments. 2969 Remove useless libstdcxx_interface. 2970 * configure: Regenerate. 2971 2972 * configure.in: Use _GCC_TOPLEV_NONCANONICAL_TARGET. 2973 Replace uses of target_alias with target_noncanonical. 2974 * aclocal.m4: Include ../config/acx.m4. 2975 * configure: Regenerate. 2976 * Makefile.in: Replace uses of target_alias with target_noncanonical. 2977 Fix copyright statement. 2978 2979 * configure.in: Hand-inline bulky, confusing macros from 2980 aclocal.m4. Replace references to "GNU Objective C" with "GCC". 2981 Update copyright notice. Remove stuff for automake, which isn't 2982 used in this directory. Remove emacs local variables. 2983 * aclocal.m4: Remove hand-inlined macros. Update copyright notice. 2984 * configure: Regenerate. 2985 2986 2004-03-16 Manfred Hollstein <mh (a] suse.com> 2987 2988 * Makefile.in, configure.in, configure: Update copyright years. 2989 2990 2004-03-15 Manfred Hollstein <mh (a] suse.com> 2991 2992 * Makefile.in (LIBOBJC_VERSION, LIBOBJC_GC_VERSION): Use 2993 definition from configure.in. 2994 * configure.in (PACKAGE): Add definition. 2995 (VERSION): Add definition; substitute it in output files. 2996 * configure: Re-generate. 2997 2998 2004-03-05 Ziemowit Laski <zlaski (a] apple.com> 2999 3000 * objc/hash.h (hash_string, compare_strings): 3001 Add type-casts to make Objective-C++ happy. 3002 * objc/typedstream.h (objc_get_stream_class_version): 3003 Rename parameter from 'class' to 'class_name' to make 3004 Objective-C++ happy. 3005 3006 2004-03-01 Michael Matz <matz (a] suse.de> 3007 3008 * Makefile.in (ALL_CFLAGS): Add -fno-strict-aliasing. 3009 3010 2004-02-06 Ziemowit Laski <zlaski (a] apple.com> 3011 3012 * objc/objc-api.h (objc_super): The 'class' field shall 3013 be named 'super_class' #ifdef __cplusplus. 3014 3015 2004-01-17 Andrew Pinski <pinskia (a] physics.uc.edu> 3016 3017 PR target/10781 3018 * encoding.c (rs6000_special_round_type_align): Define. 3019 3020 2004-01-14 Adam Fedor <fedor (a] gnu.org> 3021 3022 PR libobjc/12155 3023 * selector.c (__objc_register_instance_methods_to_class): Free 3024 new_list if not used. 3025 3026 2004-01-09 Andrew Ruder <aeruder (a] ksu.edu> 3027 3028 PR libobjc/11904 3029 * sarray.c (sarray_free): Free array->is_copy_of latter. 3030 3031 2003-12-01 Zack Weinberg <zack (a] codesourcery.com> 3032 3033 PR 11433 3034 * Protocol.m (descriptionForInstanceMethod): Don't dereference 3035 instance_methods if it's NULL. 3036 (descriptionForClassMethod): Likewise for class_methods. 3037 3038 2003-10-24 Rainer Orth <ro (a] TechFak.Uni-Bielefeld.DE> 3039 3040 * Makefile.in (runtime-info.h): Remove -Wp. 3041 3042 2003-10-21 Rainer Orth <ro (a] TechFak.Uni-Bielefeld.DE> 3043 3044 * Makefile.in (CC1OBJ): Remove. 3045 (runtime-info.h): Invoke $(CC) so all MULTIFLAGS are handled 3046 correctly. 3047 Use .m extension for temporary file. 3048 Remove assembler temp file. 3049 3050 2003-10-20 Joseph S. Myers <jsm (a] polyomino.org.uk> 3051 3052 * objc/hash.h (hash_string): Don't use a cast as an lvalue. 3053 3054 2003-10-17 Rainer Orth <ro (a] TechFak.Uni-Bielefeld.DE> 3055 3056 * Makefile.in (runtime-info.h): Use MULTIFLAGS. 3057 3058 2003-09-09 Alan Modra <amodra (a] bigpond.net.au> 3059 3060 * configure: Regenerate. 3061 3062 2003-08-27 Alexander Malmberg <alexander (a] malmberg.org> 3063 3064 * Makefile.in, aclocal.m4: Update to $(libdir)/gcc/ instead of 3065 (libdir)/gcc-lib/ when installing. 3066 * configure: Regenerate. 3067 3068 Thu Jul 10 10:27:43 2003 Nicola Pero <n.pero (a] mi.flashnet.it> 3069 3070 libobjc/9969 3071 * sendmsg.c (get_imp): Fixed rare threading problem. 3072 (__objc_responds_to): Similar fixes. 3073 (objc_msg_lookup): Similar fixes. 3074 (__objc_init_install_dtable): Lock the runtime before checking if the 3075 table is installed. 3076 3077 2003-05-23 Nathanael Nerode <neroden (a] gcc.gnu.org> 3078 3079 * hash.c, init.c, libobjc.def, libobjc_entry.c, linking.m, 3080 makefile.dos, misc.c, nil_method.c, objects.c, sarray.c, 3081 selector.c, sendmsg.c, thr-dce.c, thr-decosf1.c, thr-irix.c, 3082 thr-mach.c, thr-objc.c, thr-os2.c, thr-posix.c, thr-pthreads.c, 3083 thr-rtems.c, thr-single.c, thr-solaris.c, thr-vxworks.c, 3084 thr-win32.c, thr.c: Replace "GNU CC" with "GCC". 3085 * Makefile.in, NXConstStr.m, Object.m, Protocol.m, archive.c, 3086 class.c, encoding.c, gc.c, objc/NXConstStr.h, objc/Object.h, 3087 objc/Protocol.h, objc/encoding.h, objc/hash.h, objc/objc-api.h, 3088 objc/objc-list.h, objc/objc.h, ocjc/runtime.h, objc/sarray.h, 3089 objc/thr.h, objc/typedstream.h: Replace "GNU CC" with "GCC". 3090 3091 Tue May 13 14:56:03 2003 Richard Frith-Macdonald <rfm (a] gnu.org> 3092 Nicola Pero <n.pero (a] mi.flashnet.it> 3093 3094 libobjc/10742 3095 * init.c (class_superclass_of_class): New function. 3096 (create_tree_of_subclasses_inherited_from): Use it. 3097 (__objc_tree_insert_class): Likewise. 3098 (class_is_subclass_of_class): Likewise. 3099 3100 2003-04-11 David Chad <davidc (a] freebsd.org> 3101 Loren J. Rittle <ljrittle (a] acm.org> 3102 3103 libobjc/8562 3104 * objc/hash.h (hash_string): Constify correctly. 3105 (compare_ptrs): Use direct compare. 3106 * objc/objc-list.h (list_nth): Rename index to indx to avoid shadow. 3107 * objc/sarray.h: Global rename index to indx to avoid shadow. 3108 3109 2003-03-12 Andreas Schwab <schwab (a] suse.de> 3110 3111 * aclocal.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Avoid trailing /. in 3112 glibcpp_toolexeclibdir. 3113 * configure: Rebuilt. 3114 3115 2003-02-20 Alexandre Oliva <aoliva (a] redhat.com> 3116 3117 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to 3118 config.status. 3119 * configure: Rebuilt. 3120 3121 2003-01-27 Alexandre Oliva <aoliva (a] redhat.com> 3122 3123 * aclocal.m4 (glibcpp_toolexeclibdir): Instead of 3124 $(MULTISUBDIR), use `$CC -print-multi-os-directory`, unless 3125 version_specific_libs is enabled. 3126 * configure: Rebuilt. 3127 3128 2003-01-09 Christian Cornelssen <ccorn (a] cs.tu-berlin.de> 3129 3130 * Makefile.in (FLAGS_TO_PASS): Also pass DESTDIR. 3131 (install-libs, install-headers): Prepend $(DESTDIR) to 3132 destination paths in all (un)installation commands. 3133 3134 2002-12-02 Zack Weinberg <zack (a] codesourcery.com> 3135 3136 * thr-objc.c: Include coretypes.h and tm.h. 3137 3138 2002-12-01 Zack Weinberg <zack (a] codesourcery.com> 3139 3140 * encoding.c, sendmsg.c: Include coretypes.h and tm.h. 3141 3142 2002-11-26 Nathanael Nerode <neroden (a] gcc.gnu.org> 3143 3144 * configure.in: Remove skip-this-dir support. 3145 * configure: Regenerate. 3146 3147 2002-09-22 Kaveh R. Ghazi <ghazi (a] caip.rutgers.edu> 3148 3149 * Makefile.in (all): Fix multilib parallel build. 3150 3151 Thu Sep 12 12:44:37 2002 Nicola Pero <n.pero (a] mi.flashnet.it> 3152 3153 * sendmsg.c (nil_method): Declare not to take a variable number of 3154 args. 3155 (objc_msg_lookup): Cast nil_method to IMP before returning it. 3156 (objc_msg_lookup_super): The same. 3157 3158 2002-09-10 Jan Hubicka <jh (a] suse.cz> 3159 3160 * nil_method.c (nil_method): No longer defined with variable 3161 arguments. 3162 3163 2002-07-02 Rodney Brown <rbrown64 (a] csc.com.au> 3164 3165 * objc/encoding.h: Fix formatting. 3166 * objc/hash.h: Likewise. 3167 * objc/objc-api.h: Likewise. 3168 * objc/runtime.h: Likewise. 3169 * objc/thr.h: Likewise. 3170 * archive.c: Likewise. 3171 * class.c: Likewise. 3172 * encoding.c: Likewise. 3173 * gc.c: Likewise. 3174 * hash.c: Likewise. 3175 * init.c: Likewise. 3176 * misc.c: Likewise. 3177 * nil_method.c: Likewise. 3178 * objects.c: Likewise. 3179 * sarray.c: Likewise. 3180 * selector.c: Likewise. 3181 * sendmsg.c: Likewise. 3182 * thr-mach.c: Likewise. 3183 * thr.c: Likewise. 3184 3185 2002-06-25 DJ Delorie <dj (a] redhat.com> 3186 3187 * aclocal.m4 (GLIBCPP_CONFIGURE): Split out 3188 GLIBCPP_TOPREL_CONFIGURE. 3189 * configure.in: Call it before AC_CANONICAL_SYSTEM. 3190 * configure: Regenerate. 3191 3192 2002-06-21 Kaveh R. Ghazi <ghazi (a] caip.rutgers.edu> 3193 3194 * Object.m (forward, read, write): Fix unused parameter warnings. 3195 * encoding.c: Include <stdlib.h>. 3196 (target_flags): Mark with attribute unused. 3197 (atoi): Delete. 3198 * runtime.h (__objc_selector_max_index): Change to unsigned int. 3199 (__objc_generate_gc_type_description): Prototype. 3200 * selector.c (__objc_selector_max_index): Change to unsigned int. 3201 3202 Mon Jun 17 18:37:42 2002 Nicola Pero <n.pero (a] mi.flashnet.it> 3203 3204 * sendmsg.c (__objc_get_forward_imp): Fix warning by making sure 3205 we always have a return value: if __objc_msg_forward does not 3206 supply a forwarding implementation, return the default 3207 __builtin_apply based one. 3208 3209 2002-06-15 Kaveh R. Ghazi <ghazi (a] caip.rutgers.edu> 3210 3211 * Object.m: Fix signed/unsigned warning. 3212 * Protocol.m: Likewise. 3213 * archive.c: Always include stdlib.h. 3214 (objc_read_short, objc_read_unsigned_short, objc_read_int, 3215 objc_read_long, __objc_read_nbyte_uint, __objc_read_nbyte_ulong): 3216 Fix signed/unsigned warning. 3217 (objc_write_type, objc_read_type, objc_write_types, 3218 objc_read_types): Ensure ctype 8-bit safety. 3219 (__objc_no_write, __objc_no_read): Mark unused parameters. 3220 * class.c (class_table_setup): Specify void arg. 3221 * encoding.c (atoi, objc_sizeof_type, objc_alignof_type, 3222 objc_skip_typespec, objc_skip_offset, 3223 objc_layout_structure_next_member): Ensure ctype 8-bit safety. 3224 (objc_layout_structure_next_member): Ensure variables are 3225 initialized. 3226 * gc.c (__objc_generate_gc_type_description, 3227 class_ivar_set_gcinvisible): Mark unused parameters. 3228 * init.c (__objc_send_load, __objc_destroy_class_tree_node): Mark 3229 unused parameters. 3230 (__objc_init_protocols) Fix signed/unsigned warning. 3231 * nil_method.c (nil_method): Mark unused parameters. 3232 * thr.h (objc_thread_callback): Specify void arg. 3233 * sarray.c (sarray_new, sarray_realloc, sarray_free): Fix 3234 signed/unsigned warning. 3235 (sarray_free): Fix formatting. 3236 * selector.c (sel_types_match): Ensure ctype 8-bit safety. 3237 * sendmsg.c (__objc_init_install_dtable) Mark unused parameters. 3238 3239 2002-06-09 Andreas Jaeger <aj (a] suse.de> 3240 3241 * encoding.c (objc_layout_structure_next_member): Remove unused 3242 variable. 3243 3244 2002-05-20 Kaveh R. Ghazi <ghazi (a] caip.rutgers.edu> 3245 3246 * Makefile.in (SHELL): Set to @SHELL@. 3247 (WARN_CFLAGS): New. 3248 (ALL_CFLAGS): Add $(WARN_CFLAGS). 3249 3250 2002-05-16 Rainer Orth <ro (a] TechFak.Uni-Bielefeld.DE> 3251 3252 * aclocal.m4: Allow for PWDCMD to override hardcoded pwd. 3253 * configure: Regenerate. 3254 3255 2002-05-08 Alexandre Oliva <aoliva (a] redhat.com> 3256 3257 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at 3258 script entry, and set LD to it when configuring multilibs. 3259 * configure: Rebuilt. 3260 3261 2002-04-19 David O'Brien <obrien (a] FreeBSD.org> 3262 3263 * encoding.c (MAX, MIN, ROUNDING): #undef before defining. 3264 3265 2002-04-09 Hans-Peter Nilsson <hp (a] bitrange.com> 3266 3267 PR objc/6107 3268 * objc/objc-api.h (struct objc_protocol_list): Change type of 3269 member count from int to size_t. 3270 3271 2002-02-11 Franz Sirl <Franz.Sirl-kernel (a] lauterbach.com> 3272 3273 PR libobjc/4039 3274 * aclocal.m4: Replace with version copied from libstdc++-v3. 3275 * configure.in: Update for changes to aclocal and Makefile. 3276 * configure: Regenerate. 3277 * Makefile.in: Correct install of multilibs and shared libs, use 3278 INSTALL_DATA for include files. 3279 3280 Mon Dec 17 17:02:12 2001 Nicola Pero <nicola (a] brainstorm.co.uk> 3281 3282 * init.c (__objc_exec_class): Fixed bug in the loop on unclaimed 3283 categories - when an unclaimed category was found, the loop was 3284 doing two steps forward instead of one, so that in certain cases 3285 it was failing to properly load all the categories. (Reported 3286 with fix by Alexander Malmberg <alexander (a] malmberg.org>). 3287 3288 2001-11-14 Aldy Hernandez <aldyh (a] redhat.com> 3289 3290 * encoding.c: Add target_flags. 3291 3292 2001-11-07 Aldy Hernandez <aldyh (a] redhat.com> 3293 3294 * objc/objc-api.h (_C_VECTOR): New. 3295 3296 * encoding.c (VECTOR_TYPE): New. 3297 3298 Mon Oct 29 21:29:21 2001 Nicola Pero <n.pero (a] mi.flashnet.it> 3299 3300 * class.c: Rewritten the class table to use optimized, lock-free 3301 lookup. This more than doubles the speed of class method 3302 invocations. (class_table_setup), (class_table_insert), 3303 (class_table_replace), (class_table_get_safe), 3304 (class_table_next), (class_table_print), 3305 (class_table_print_histogram): New functions. 3306 (__objc_init_class_tables): Use class_table_setup. 3307 (__objc_add_class_to_hash): Use class_table_get_safe and 3308 class_table_insert. (objc_lookup_class), (objc_get_class): Do not 3309 assert the existence of the table; do not lock the runtime; use 3310 class_table_get_safe. (objc_next_class): Use class_table_next. 3311 (__objc_resolve_class_links): Use class_table_next. 3312 (class_pose_as): Use class_table_replace. 3313 3314 2001-09-10 Ovidiu Predescu <ovidiu (a] cup.hp.com> 3315 3316 * gc.c: Removed the DEBUG declaration. 3317 3318 Wed Jul 18 12:48:56 2001 Nicola Pero <n.pero (a] mi.flashnet.it> 3319 3320 * thr.c (objc_mutex_lock): Invoke __objc_thread_id directly, 3321 rather than through objc_thread_id, to save a function call. 3322 (objc_mutex_trylock, objc_mutex_unlock, objc_condition_wait): 3323 Ditto. 3324 3325 Mon Jul 16 12:15:00 2001 Nicola Pero <n.pero (a] mi.flashnet.it> 3326 3327 * objc/objc-api.h (object_is_class): Fixed - buggy code was trying 3328 to cast an id to a Class, which can not be done. Make the check 3329 by using CLS_ISMETA on the class pointer instead. 3330 (object_is_meta_class): Similar fix. 3331 3332 2001-06-09 Alexandre Oliva <aoliva (a] redhat.com>, Stephen L Moshier <moshier (a] mediaone.net> 3333 3334 * configure.in (AC_EXEEXT): Work around in case it expands to 3335 nothing, as in autoconf 2.50. 3336 * acinclude.m4: Likewise. 3337 * configure: Rebuilt. 3338 3339 2001-06-08 Nicola Pero <n.pero (a] mi.flashnet.it> 3340 3341 * THREADS: Explain that when we compile libobjc inside GCC, we 3342 always use thr-objc.c as a backend, which uses GCC's thread code. 3343 3344 2001-06-06 Richard Frith-Macdonald <rrfm (a] gnu.org> 3345 3346 * init.c (__objc_send_message_in_list): When setting a new entry 3347 in __objc_load_methods use the method IMP as key, but check to see 3348 if the method is in the hashtable by looking at the IMP also. 3349 Also ... call the method after adding it to the hashtable rather 3350 than before ... thus preventing an obscure possibility of infinite 3351 recursion if a +load method itself loads a subclass. 3352 3353 2001-05-25 Ovidiu Predescu <ovidiu (a] cup.hp.com> 3354 3355 * init.c (__objc_send_message_in_list): When setting a new entry 3356 in __objc_load_methods use the method name as key, not the method 3357 IMP (reported by Richard Frith-Macdonald <richard (a] brainstorm.co.uk>). 3358 3359 2001-05-09 Joseph S. Myers <jsm28 (a] cam.ac.uk> 3360 3361 * objc-features.texi: Move to ../gcc/objc.texi. 3362 * fdl.texi: Remove. 3363 * Makefile.in: Don't generate documentation from 3364 objc-features.texi. 3365 3366 2001-05-01 Mark Mitchell <mark (a] codesourcery.com> 3367 3368 * fdl.texi: New file. 3369 * objc-features.texi: Simplify. 3370 * Makefile.in: Adjust accordingly. 3371 3372 2001-04-30 Mark Mitchell <mark (a] codesourcery.com> 3373 3374 * objc-features.texi: Use the GFDL. 3375 3376 Wed Mar 21 04:44:58 EST 2001 John Wehle (john (a] feith.com) 3377 3378 * encoding.c (REAL_TYPE): Define. 3379 3380 2001-03-19 David Edelsohn <edelsohn (a] gnu.org> 3381 3382 * encoding.c (TYPE_MODE): Define. 3383 3384 2001-03-14 Nicola Pero <n.pero (a] mi.flashnet.it> 3385 3386 * thr.c (objc_thread_add): New function. 3387 (objc_thread_remove): Ditto. 3388 * objc/thr.h: Declare them. 3389 * libobjc.def: Mention them. 3390 3391 2001-02-28 Ovidiu Predescu <ovidiu (a] cup.hp.com> 3392 3393 * objc-features.texi: Document the @compatibility_alias compiler 3394 directive (description from Nicola Pero <n.pero (a] mi.flashnet.it>). 3395 3396 Fri Feb 23 18:12:00 2001 Rainer Orth <ro (a] TechFak.Uni-Bielefeld.DE> 3397 3398 * sendmsg.c (__objc_forward): Delete strlen() declaration. 3399 3400 2001-02-08 Geoffrey Keating <geoffk (a] redhat.com> 3401 3402 * configure.in: Don't run AC_PROG_CC_WORKS or AC_EXEEXT, because 3403 we're not interested in the result and they might fail. 3404 * configure: Regenerated. 3405 3406 2001-01-12 Joseph S. Myers <jsm28 (a] cam.ac.uk> 3407 3408 * objc-features.texi: Use @email. 3409 3410 2001-01-12 Joseph S. Myers <jsm28 (a] cam.ac.uk> 3411 3412 * sendmsg.c (__objc_print_dtable_stats): Don't use #ifdef inside 3413 printf. 3414 3415 2000-01-11 Richard Earnshaw <rearnsha (a] arm.com> 3416 3417 * encoding.c (STRUCTURE_SIZE_BOUNDARY): Redefine in a way that 3418 determines the value dynamically. 3419 3420 Wed Jan 3 00:49:10 2001 Ovidiu Predescu <ovidiu (a] cup.hp.com> 3421 3422 * sendmsg.c: Added __objc_msg_forward, a hook that allows external 3423 libraries to provide a function that returns the real forwarding 3424 function. This can alleviate problems __builtin_apply() and 3425 friends have on various platforms. (Solution suggested by Helge 3426 Hess.) 3427 3428 * objc/objc-api.h: Define __objc_msg_forward. 3429 3430 * sendmsg.c: Define gen_rtx_REG. 3431 3432 2000-12-06 Ralf Corsepius <corsepiu (a] faw.uni-ulm.de> 3433 3434 * thr-rtems.c: New file. Stub to compile. 3435 3436 2000-09-06 Alexandre Oliva <aoliva (a] redhat.com> 3437 3438 * configure: Rebuilt with new libtool.m4. 3439 3440 Tue Aug 15 00:38:56 2000 Ovidiu Predescu <ovidiu (a] cup.hp.com> 3441 3442 * configure.in: Create a config.h file. Check for <sched.h>. 3443 * configure: Regenerate. 3444 3445 * config.h.in: Check for <sched.h>. 3446 3447 2000-08-14 Zack Weinberg <zack (a] wolery.cumb.org> 3448 3449 * configure: Regenerate after change to ../libtool.m4. 3450 3451 2000-08-14 Andreas Schwab <schwab (a] suse.de> 3452 3453 * objc-features.texi (Top): Move @menu at end of node. 3454 3455 2000-08-11 Manfred Hollstein <manfredh (a] redhat.com> 3456 3457 * objc-features.texi: Move @node Top before @menu. 3458 3459 Sun Aug 6 23:27:49 2000 Ovidiu Predescu <ovidiu (a] cup.hp.com> 3460 3461 * objc-features.texi: Documented the new -fconstant-string-class 3462 option. 3463 3464 Sun Aug 6 22:51:16 2000 Ovidiu Predescu <ovidiu (a] cup.hp.com> 3465 3466 * thr-posix.c: Integrated Chris Ball's <cball (a] fmco.com> changes to 3467 improve the Posix thread support for Objective-C. 3468 3469 2000-08-04 Zack Weinberg <zack (a] wolery.cumb.org> 3470 3471 * aclocal.m4: Replace copy of ../libtool.m4 with 3472 sinclude(../libtool.m4). 3473 3474 Fri Jul 28 08:58:02 2000 Nicola Pero <nicola (a] brainstorm.co.uk> 3475 3476 * configure.in: Added libtool support; build shared libraries 3477 if --enable-shared was passed on command line. 3478 * Makefile.in: Modified most compilation commands to use libtool. 3479 * aclocal.m4: New symbolic link to the ../libtool.m4, from the 3480 libtool distribution. 3481 3482 Sat Jul 29 00:10:21 2000 Ovidiu Predescu <ovidiu (a] cup.hp.com> 3483 3484 * sarray.c, Object.m: Removed the explicit prototypes for strlen 3485 and memcpy on 64-bit platforms (Suggested by Rodney Brown 3486 <rdb (a] cup.hp.com>). 3487 3488 2000-05-12 H.J. Lu (hjl (a] gnu.org) 3489 3490 * Makefile.in (GTHREAD_FLAGS): New. 3491 (ALL_CFLAGS): Add $(GTHREAD_FLAGS). 3492 (OBJC_THREAD_FILE): Changed to thr-objc. 3493 3494 * configure.in (GTHREAD_FLAGS): New, check and replace it for 3495 Makefile. 3496 (OBJC_THREAD_FILE): Removed. 3497 3498 * thr-objc.c: New. 3499 3500 2000-07-13 Kaveh R. Ghazi <ghazi (a] caip.rutgers.edu> 3501 3502 * objc/hash.h: Include string.h. 3503 3504 2000-04-15 David Edelsohn <edelsohn (a] gnu.org> 3505 3506 * Object.m (strlen): 64-bit PowerPC is a 64bit platform as well. 3507 3508 2000-04-12 Jakub Jelinek <jakub (a] redhat.com> 3509 3510 * Object.m (strlen): Provide prototype on all 64bit platforms, 3511 not only alpha. 3512 * sarray.c (memcpy): Likewise. 3513 * encoding.c (objc_layout_finish_structure): Don't use 3514 ROUND_TYPE_ALIGN on sparc. 3515 3516 * encoding.c (objc_layout_structure_next_member): Do the whole 3517 procedure even for the first member, so that we get correct 3518 alignment. 3519 3520 2000-03-29 Zack Weinberg <zack (a] wolery.cumb.org> 3521 3522 * objc/Protocol.h, objc/objc-list.h: Change #endif labels to 3523 comments. 3524 3525 2000-02-23 Zack Weinberg <zack (a] wolery.cumb.org> 3526 3527 * Makefile.in: Add -DIN_TARGET_LIBS to ALL_CFLAGS. 3528 3529 Thu Sep 23 07:19:12 1999 Chris Ball <cball (a] fmco.com> 3530 3531 * thr-posix.c (__objc_mutex_deallocate): made deallocate work. 3532 3533 Tue Sep 21 07:47:10 1999 Jeffrey A Law (law (a] cygnus.com) 3534 3535 * Makefile.in (gc.o, gc_gc.o): Do not pass -fgnu-runtime to 3536 the compiler when building C code. 3537 3538 Fri Aug 6 23:32:29 1999 Daniel Jacobowitz <drow (a] drow.them.org> 3539 3540 * Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix, 3541 libdir, libsubdir and tooldir. 3542 3543 Mon Jun 21 05:40:15 1999 John David Anglin <dave@hiauly1> 3544 3545 * init.c (__objc_force_linking): Make global. 3546 3547 Thu May 20 03:20:59 1999 Jeffrey A Law (law (a] cygnus.com) 3548 3549 * configure.in (AC_EXEEXT): Remove call. 3550 (compiler_name): Explicitly check with no extension and .exe 3551 extension. 3552 * configure: Regenerate. 3553 3554 Sun Apr 25 01:15:34 1999 Mumit Khan <khan (a] xraylith.wisc.edu> 3555 3556 * Makefile.in (CC1OBJ): Define in terms of CC. 3557 (runtime-info.h): Use. 3558 3559 Fri April 8 08:21:07 1999 Ovidiu Predescu <ovidiu (a] cup.hp.com> 3560 3561 * objc-features.texi: Updated the URL to Boehm's GC page. 3562 3563 Fri Mar 26 23:41:07 1999 Ovidiu Predescu <ovidiu (a] cup.hp.com> 3564 3565 * archive.c (__objc_code_char, __objc_write_char): Explicitly specify 3566 the char as being signed (patch from Daniel Jacobowitz 3567 <drow (a] false.org>). 3568 3569 Wed Mar 24 22:41:28 1999 Mumit Khan <khan (a] xraylith.wisc.edu> 3570 3571 * configure.in (AC_PREREQ): Update to 2.13. 3572 (AC_EXEEXT): Call to find possible file extension. 3573 (compiler_name): Use. 3574 * configure: Regenerate. 3575 3576 Wed Jan 27 02:31:01 1999 Jeffrey A Law (law (a] cygnus.com) 3577 3578 * Makefile.in (ALL_CFLAGS): Add -DIN_GCC. 3579 3580 Tue Jan 5 01:38:53 1999 Jeffrey A Law (law (a] cygnus.com) 3581 3582 * configure.in (thread_file): Correct and simplify code to find 3583 the thread file. 3584 * configure: Rebuilt. 3585 3586 1998-11-26 Manfred Hollstein <manfred (a] s-direktnet.de> 3587 3588 * configure.in (compiler_name): Add check to detect if this 3589 language's compiler has been built. 3590 * configure: Regenerate. 3591 3592 Mon Nov 23 16:50:28 1998 Kaveh R. Ghazi <ghazi (a] caip.rutgers.edu> 3593 3594 * configure.in: Use AC_PREREQ(2.12.1). 3595 3596 Thu Nov 19 20:33:37 1998 Jeffrey A Law (law (a] cygnus.com) 3597 3598 * Makefile.in (runtime-info.h): Avoid GNU make extensions. 3599 3600 Sun Nov 8 17:46:14 1998 Kaveh R. Ghazi <ghazi (a] caip.rutgers.edu> 3601 3602 * Makefile.in (INCLUDES): Add -I$(srcdir)/$(MULTISRCTOP)../include. 3603 3604 Thu Oct 22 14:34:06 1998 Kaveh R. Ghazi <ghazi (a] caip.rutgers.edu> 3605 3606 * configure.in: Use AC_CONFIG_AUX_DIR($topsrcdir). 3607 3608 Sat Oct 17 05:21:31 1998 Ovidiu Predescu <ovidiu (a] slip.net> 3609 3610 * objc-features.texi (Top): Changed the email address. 3611 * objc-features.texi (Garbage Collection): Use @uref instead of @url. 3612 3613 Mon Oct 11 21:25:27 1998 Ovidiu Predescu <ovidiu (a] slip.net> 3614 3615 * encoding.c: Redefine get_inner_array_type to get the first entry 3616 in the structure. 3617 3618 Thu Oct 8 12:21:14 1998 Richard Frith-Macdonald <richard (a] brainstorm.co.uk> 3619 3620 * encoding.c (objc_skip_type_qualifiers): Handle _C_BYREF. 3621 (objc_get_type_qualifiers): Similarly. 3622 * objc/encoding.h (_C_BYREF): Define. 3623 (_F_BYREF): Define. 3624 3625 1998-10-07 David S. Miller <davem (a] pierdol.cobaltmicro.com> 3626 3627 * objc/sarray.h: Make boffset be an unsigned long when sparc so it 3628 works out on 64-bit systems. 3629 3630 Tue Oct 6 20:32:06 1998 Alexandre Oliva <oliva (a] dcc.unicamp.br> 3631 3632 * Makefile.in (INCLUDES): Make it multilib-friendly. 3633 3634 Fri Oct 2 07:12:14 1998 H.J. Lu (hjl (a] gnu.org) 3635 3636 * Makefile.in (INCLUDES): Add -I$(srcdir)/../gcc. 3637 3638 Thu Oct 1 22:33:03 1998 Robert Lipe <robertl (a] dgii.com> 3639 Jeffrey A Law (law (a] cygnus.com) 3640 3641 * Makefile.in (INCLUDES): Reference gcc via $MULTIBUILDTOP. 3642 (FLAGS_TO_PASS): Added. 3643 (runtime-info.h): Reference cc1ibj via $MULTIBUILDTOP. 3644 3645 * archive.c: Change config.h to tconfig.h. 3646 3647 * configure.in: Find gcc's object directory even for multilibs. 3648 3649 Wed Sep 30 18:17:17 1998 Robert Lipe <robertl (a] dgii.com> 3650 3651 * configure.in: Escape ^ in grep string. 3652 * configure: Rebuilt. 3653 3654 Wed Sep 30 09:14:52 1998 Jeffrey A Law (law (a] cygnus.com) 3655 3656 * All .h files pushed down into the objc/ subdirectory. 3657 * Makefile.in (copy_headers): Corresponding changes. 3658 * configure.in (AC_INIT): Corresponding changes. 3659 * configure: Rebuilt. 3660 3661 1998-09-30 Ben Elliston <bje (a] cygnus.com> 3662 Jeff Law <law (a] cygnus.com> 3663 3664 * Makefile.in: Rewrite. 3665 3666 * configure.in: Likewise. 3667 3668 * configure: Regenerate. 3669 3670 * All .c files. Remove "objc" prefix when including objc header 3671 files. Include tconfig.h, not ../tconfig.h. 3672 3673 Mon Sep 21 23:27:10 1998 Ovidiu Predescu <ovidiu (a] slip.net> 3674 3675 * encoding.c (TREE_TYPE, ARRAY_TYPE): Define. 3676 (get_inner_array_type): Define. 3677 3678 1998-09-21 Ben Elliston <bje (a] cygnus.com> 3679 3680 * New directory. Moved files from ../gcc/objc. 3681 3683 Copyright (C) 1998-2024 Free Software Foundation, Inc. 3684 3685 Copying and distribution of this file, with or without modification, 3686 are permitted in any medium without royalty provided the copyright 3687 notice and this notice are preserved. 3688