Doug Evans
5366ab1d32
(*.o): Add explicit dependencies for Sun's VPATH.
...
From-SVN: r6788
1994-03-14 20:15:59 +00:00
Richard Kenner
82812e560c
(SUBDIR_INCLUDES): Add -I for include directory.
...
From-SVN: r6465
1994-02-02 14:21:50 -05:00
Doug Evans
ff942a9829
#ifdef out uses of TypedStream for the alpha, not supported yet.
...
From-SVN: r6426
1994-01-24 23:28:33 +00:00
Richard Kenner
2663b06b38
Initial revision
...
From-SVN: r6214
1993-12-12 06:13:42 -05:00
Richard Kenner
cb778d408a
Include ctype.h.
...
From-SVN: r6190
1993-12-06 07:40:22 -05:00
Richard Stallman
c3c1218645
Include "tconfig.h" before "runtime.h".
...
From-SVN: r6112
1993-11-18 08:08:17 +00:00
Richard Stallman
6c8747b19a
(compare_strings): Check for null pointers.
...
From-SVN: r6014
1993-11-05 20:32:06 +00:00
Richard Stallman
c35a847ec5
(objc_read_string): Allocate string properly.
...
From-SVN: r6013
1993-11-05 20:31:48 +00:00
Richard Stallman
83a4b97f7d
Include tconfig.h.
...
From-SVN: r5971
1993-11-02 07:53:45 +00:00
Richard Kenner
415f766a65
(check_methods_accessible): Fix bug in -Wno-protocol.
...
(check_methods_accessible): Fix bug in -Wno-protocol. Reset chain to
bottom class for each search.
From-SVN: r5927
1993-10-28 21:33:07 -04:00
Kresten Krab Thorup
3ac2f5d2ae
(objc_read_object): Added declaration.
...
From-SVN: r5488
1993-09-27 21:28:23 +00:00
Kresten Krab Thorup
214a36e850
(-compare:, -shouldNotImplement:): Added.
...
From-SVN: r5399
1993-09-22 18:00:23 +00:00
Kresten Krab Thorup
d4b130122f
(objc_write_type, objc_write_types): Take take char** args for writing strings in stead of char* to match NeXT.
...
(objc_write_type, objc_write_types): Take
take char** args for writing strings in stead of char* to
match NeXT. Also correct some typos in error messages.
From-SVN: r5398
1993-09-22 17:59:50 +00:00
Kresten Krab Thorup
9cf8d5481b
(objc_read_string): Allocate n+1 chars instead of just n.
...
From-SVN: r5371
1993-09-20 10:27:23 +00:00
Kresten Krab Thorup
b783df230b
Initial revision
...
From-SVN: r5206
1993-08-24 10:05:25 +00:00
Kresten Krab Thorup
772fa04a92
(objc_msg_sendv): Use new encoding facilities.
...
(__objc_update_dispatch_table_for_class):
Don't free dtable... (memory leak to make posing work)
(__objc_update_dispatch_table_for_class):
Free old dispatch table and install a new.
From-SVN: r5205
1993-08-24 10:01:23 +00:00
Kresten Krab Thorup
2224b8ccb3
(nil_method): Don't define it, import it from sendmsg.c.
...
(arglist_t): Data-definition changed.
From-SVN: r5204
1993-08-24 10:00:49 +00:00
Kresten Krab Thorup
62b9a71206
(CLS_SETNUMBER): Clear old number
...
From-SVN: r5203
1993-08-24 10:00:19 +00:00
Kresten Krab Thorup
499056939e
(class_pose_as): lazy copy dtables.
...
#include sarray.h
(class_pose_as): Rewritten
From-SVN: r5202
1993-08-24 09:59:41 +00:00
Kresten Krab Thorup
0b3d89ca54
(-performv): Use new objc_msg_sendv.
...
From-SVN: r5201
1993-08-24 09:59:14 +00:00
Kresten Krab Thorup
a62354a0db
(sendmsg.c, fflags, xforward): Targets removed;
...
(OBJC_O): Added encoding.o;
(OBJC_H): Added encoding.h, removed mutex.h.
From-SVN: r5200
1993-08-24 09:58:45 +00:00
Kresten Krab Thorup
30c0e2df8c
(offset_is_register): New variable
...
(offset_is_register): New variable
(forwarding_offset): Use apply_args_register_offset to get
register offset.
(encode_method_def, encode_method_prototype): Prepend argument
offset by '+' if passed in register.
(apply_args_register_offset): Added declaration.
(generate_method_descriptors, generate_ivar_lists,
generate_dispatch_tables): Reorganized use of constructors.
(build_descriptor_table_initializer, build_ivar_list_initializer,
build_dispatch_table_initializer): Removed argument `int *size'.
From-SVN: r5199
1993-08-24 09:56:48 +00:00
Per Bothner
6b3cf8c6c4
(build_module_descriptor): Use new function get_file_function_name.
...
From-SVN: r5137
1993-08-11 19:45:47 -07:00
Richard Stallman
89ef104634
Call default_conversion for NAME.
...
(build_shared_structure_initializer):
Call default_conversion for NAME.
(add_objc_string): Make an ADDR_EXPR to return.
(init_objc_symtab): Make ADDR_EXPR for UOBJC_SELECTOR_TABLE_decl.
Build all CONSTRUCTORs with types.
(build_constructor): New function. All CONSTRUCTOR builds changed.
(init_def_list, init_objc_symtab): New arg TYPE.
(init_module_descriptor): Likewise.
(init_objc_symtab): Pass TYPE arg to init_def_list.
(generate_objc_symtab_decl): Pass TYPE arg to init_objc_symtab.
(build_module_descriptor): Pass TYPE arg to init_module_descriptor.
(build_descriptor_table_initializer): New arg TYPE.
(generate_method_descriptors): Pass TYPE arg to
build_descriptor_table_initializer.
(generate_protocols): Pass TYPE arg to build_protocol_initializer.
(uild_protocol_initializer): New arg TYPE.
(build_ivar_list_initializer): New arg TYPE.
(generate_ivar_lists): Pass TYPE arg to build_ivar_list_initializer.
(build_dispatch_table_initializer): New arg TYPE.
(generate_dispatch_tables): Pass TYPE arg to
build_dispatch_table_initializer.
(build_category_initializer): New arg TYPE.
(build_shared_structure_initializer): New arg TYPE.
(generate_category): Pass TYPE arg to build_category_initializer.
(generate_shared_structures): Pass TYPE arg to
build_shared_structure_initializer.
From-SVN: r5049
1993-08-01 05:53:52 +00:00
Richard Stallman
081be30bbf
(synth_module_prologue): Call layout_type for the array
...
type used for _OBJC_SELECTOR_TABLE.
From-SVN: r4932
1993-07-18 05:29:38 +00:00
Richard Stallman
2a73b0b200
(encode_type_qualifiers): Add casts to enums in indices.
...
From-SVN: r4844
1993-07-05 21:16:10 +00:00
Richard Stallman
e287a52ca0
(encode_type): Add cases for DImode, encoded as 'q' and 'Q' respectively.
...
From-SVN: r4643
1993-06-06 22:55:40 +00:00
Richard Stallman
1cd88c716e
(objc_msg_sendv): Pass a dummy va_list, not 0, to objc_error.
...
From-SVN: r4631
1993-06-05 03:00:59 +00:00
Richard Stallman
0a8305859d
(copy-headers): chmod the headers, not the dir.
...
From-SVN: r4625
1993-06-03 04:58:40 +00:00
Richard Stallman
eba92c951e
(__objc_init_protocols): Call recursively on super protocols.
...
(__objc_init_protocols): Call recursively
on super protocols. Make local var `proto_class' static.
From-SVN: r4544
1993-05-23 19:33:55 +00:00
Richard Stallman
ecd023b662
(objc_protocol): New field `class_pointer'.
...
From-SVN: r4543
1993-05-23 19:33:36 +00:00
Richard Stallman
5c940d7a7e
(sarray_at_put): Add #ifdef case for
...
!defined(PRECOMPUTE_SELECTORS) and OBJC_SPARSE2.
From-SVN: r4526
1993-05-21 15:39:23 +00:00
Richard Stallman
d0b85cd13e
(sarray_get): Add #ifdef case for
...
!defined(PRECOMPUTE_SELECTORS) and OBJC_SPARSE2.
From-SVN: r4525
1993-05-21 15:38:47 +00:00
Richard Stallman
b0bdbfb34f
*** empty log message ***
...
From-SVN: r4511
1993-05-20 03:13:00 +00:00
Richard Stallman
4f52d29057
(handle_class_ref): Call assemble_constant_align before output_constant.
...
From-SVN: r4510
1993-05-20 03:11:40 +00:00
Richard Stallman
0046ffa3f0
(__objc_init_protocols): Don't install protocol class pointer twice.
...
From-SVN: r4450
1993-05-14 16:05:19 +00:00
Richard Stallman
36d5f78c02
Include gstdarg.h before stdio.h.
...
From-SVN: r4435
1993-05-13 12:34:36 +00:00
Richard Stallman
677849a795
Include gstdarg.h, not stdarg.h.
...
From-SVN: r4407
1993-05-10 06:03:43 +00:00
Kresten Krab Thorup
8c357b2d96
Conditionally include gstddef or stddef
...
From-SVN: r4396
1993-05-09 13:08:15 +00:00
Richard Stallman
6b7e6ce457
(string_section): Delete comma before close-brace.
...
From-SVN: r4392
1993-05-09 04:52:03 +00:00
Richard Stallman
7518f9cc23
Use gstddef.h, with doublequotes.
...
From-SVN: r4374
1993-05-06 23:10:46 +00:00
Richard Stallman
b54b3fb023
(OBJC_GEN_METHOD_LABEL): Do use CAT_NAME.
...
From-SVN: r4364
1993-05-06 17:39:52 +00:00
Richard Stallman
266dd51787
(check_methods_accessible): Handle interface types.
...
From-SVN: r4357
1993-05-06 15:59:25 +00:00
Kresten Krab Thorup
d9d27c6e36
calloc -> __objc_xcalloc, bzero instances
...
From-SVN: r4351
1993-05-06 09:23:58 +00:00
Richard Stallman
4be7cc989c
(__objc_send_initialize, class_add_method_list):
...
Allow multiple +initialize methods per class.
From-SVN: r4349
1993-05-06 02:42:55 +00:00
Kresten Krab Thorup
90a0448559
undid freed+error patch
...
From-SVN: r4336
1993-05-05 15:52:00 +00:00
Kresten Krab Thorup
d8f779eadf
(OBJC_O): FREED.o added
...
(OBJC_O): FREED.o added
(OBJC_H): error.h added
From-SVN: r4334
1993-05-05 13:54:10 +00:00
Kresten Krab Thorup
4665616f99
(__objc_add_handler, __objc_remove_handler,
...
__objc_raise_error): New functions.
(__ex_last_handler): New variable
From-SVN: r4333
1993-05-05 13:52:15 +00:00
Kresten Krab Thorup
c8266dd238
(-shouldNotImplement:): New method
...
(-shouldNotImplement:): New method
(-free): assign [FREED class] to isa when freeing
From-SVN: r4332
1993-05-05 13:51:43 +00:00
Kresten Krab Thorup
27f581c390
(-shouldNotImplement:): New method
...
From-SVN: r4331
1993-05-05 13:51:15 +00:00