Thu Oct 30 14:06:54 1997 Sergio Flores * TAO_IDL/fe/Makefile: Added an expression to the sed command in the rule to construct lex.yy.cpp, that replaces ECHO with TAO_ECHO, because a different ECHO macro is already defined in /usr/include/sys/termios.h * TAO_IDL/fe/idl.ll: Fixed some warnings about nested comments. Changed the declaration of variable i to outside of the 'for' initialization to avoid obsolete binding warnings. * TAO_IDL/be/be_interface_fwd.cpp (gen_client_header): Added ACE_UNUSED_ARG macro to avoid unused variable warning, for variable i. * TAO_IDL/be/be_constant.cpp (exprtype_to_string): * TAO_IDL/util/utl_error.cpp (exprtype_to_string): Added case statements to handle the rest of un-handled enumerations from AST_Expression::ExprType. These will handle a default value (i.e. NULL). Enumerations added are: AST_Expression::EV_wstring AST_Expression::EV_wchar AST_Expression::EV_longdouble AST_Expression::EV_ulonglong AST_Expression::EV_longlong Thu Oct 30 09:56:41 1997 Chris Cleeland * tao/giop.h: Added comments to TAO_GIOP class explicitly pointing out its use as a namespace. Concurrently, I also scoped the CTOR, Copy CTOR, and DTOR as 'private' so nobody can mistakenly instantiate one of these puppies. Thu Oct 30 03:40:26 1997 * tests/Cubit/TAO/DII_Cubit/client.dsp: * tests/Cubit/TAO/DII_Cubit/server.dsp: Updated include files path and libarary path. * tao/giop.cpp (close_connection): Use ACE_HANDLE instead of int. Thu Oct 30 02:53:20 1997 Douglas C. Schmidt * TAO version 0.0.19, released Thu Oct 30 02:53:20 1997. Thu Oct 30 02:20:21 1997 Sergio Flores * tests/IDL_Cubit: Added more comments and changed the header to be ACE'ified. Make output more consistent. Thu Oct 30 02:12:27 1997 Sumedh Mungee * tests/{TAO, Cubit}: Changed the directory heirarchy to the following: tests/Cubit/TAO/ now contains all the Cubit examples, i.e. IDL_Cubit, MT_Cubit and DII_Cubit, instead of tests/. Updated the README and Makefiles to reflect this. DII_Cubit is the handcrafted "original" Cubit example. * tests/Cubit/COOL: Added the COOL version of the Cubit test. The COOL version is written for Chorus COOL version 4.1. Wed Oct 29 22:26:10 1997 Douglas C. Schmidt * tests/IDL_Cubit/clnt.cpp (init): Fixed the error handling so we exit correctly when things go wrong. * tao/connect.cpp (open): Revised the code to use the new ACE_LACKS_SOCKET_BUFSIZ to detect when this feature isn't supported. * tao/{giop,connect}: Added a nifty typedef called TAO_SVC_HANDLER to remove the drudgery of expanding the template each time. * tao: Changed the name of TAO_OA_Connection_Handler to TAO_Server_Connection_Handler to be compliant with the TAO_Client_Connection_Handler. Wed Oct 29 20:47:47 1997 Sergio Flores * tests/IDL_Cubit/clnt.cpp: * tests/IDL_Cubit/clnt.h: Cleaned up the code. Added ACE_Profile_Timer to time the calls. Changed copyright header. Added more comments. Wed Oct 29 18:55:57 1997 Douglas C. Schmidt * tao/giop: Added "_"'s to the data members in TAO_GIOP_Invocation. * tao/giop (send_request): Swaped the order of the parameters for send_request() so that it would be consistent with recv_request. * tao/{connect,giop}: Changed read_message() to recv_request(), and send_message() to send_request() since these things really work on GIOP requests. * tao/{connect,giop}: Changed read_message() to recv_message(), which is more like other parts of ACE. * tao/connect.cpp: Fixed the calls to read_message() and send_message() so that they don't try to modify "this." * tao/giop: Changed the send_message() and read_message() in the TAO_GIOP class to take ACE_Svc_Handler rather than TAO_Client_Connection_Handler. Wed Oct 29 17:53:12 1997 * tao: Added TAO_HAS_TSS_ORB_CORE to tao and Cubit NT makefiles. This probably needs to be added to the other NT makefiles. * tests/Cubit/TAO/svc.conf: Updated files to pass the correct options to the factory. Wed Oct 29 16:07:20 1997 Chris Cleeland * tao/giop.*: Changed most methods that took ACE_SOCK_Stream& parameters to take TAO_Client_Connection_Handler*& parameters. This makes it easier to clean up properly after errors. Also #ifdef'd out seemingly unused code (TAO_GIOP::incoming_message). Fixed call to ACE_Svc_Handler::idle() to not contain an argument. * docs/Options.html: Updated the documentation to reflect recent changes. Wed Oct 29 15:59:30 1997 Sergio Flores * tests/IDL_Cubit/clnt.cpp: OO'ified the code. Added class Cubit_Client. * tests/IDL_Cubit/clnt.h: added this file to contain the class definition. Wed Oct 29 11:01:11 1997 Aniruddha Gokhale * TAO_IDL compiler: be_type.cpp::nested_type_name: A quick commit made that includes an improvement over the previous scheme of generating ACE_NESTED_CLASS macros. We handle the problem of generating fully scoped names for types that were defined in some ancestor of the scope in which that type is being used. * Makefiles under TAO_IDL: Fixed a bug in the Makefiles under all the subdirectories. This bug was reported by "ARTURO MONTES" . The bug was causing circular dependencies on the libraru that was getting compiled. Wed Oct 29 06:17:36 1997 Nanbor Wang * tao/default_server.cpp (parse_args): Must increase the loop counter. Wed Oct 29 02:11:43 1997 Douglas C. Schmidt * TAO version 0.0.18, released Wed Oct 29 02:11:43 1997. Wed Oct 29 00:56:26 1997 Chris Cleeland * tests/Cubit/TAO/svc.conf: Updated documentation comments to reflect factory option changes. * tao/orbobj.*: Wiped argvec_shift and all its bugs off the face of the earth. Manojkumar Acharya should prove to be very happy about this turn of events. :-) * tao/orbobj.cpp: Weeded out old, dead code here and there and migrated much of what had been in ORB_init() into TAO_ORB_Core::init(). * tao/orb_core.*: Added methods init() and fini() which perform ORB Core-related initializations and cleanups, respectively. This is all in anticipation of having a Unified Factory which provides ORB Core as well as other information. Also began stubbing out and migrating various data members and associated accessors so that they are pointers rather than actual members. The next step is to actually make them pointers and have everything get initialized properly and deterministically and keep everything working. * tao/{giop,orb_core}.cpp: Revised code due to recent changes in ACE related to the Caching connector. * tao/default_server.{h,cpp} (parse_args): This method now uses options of the style -ORBfoo rather than the previously-cryptic single-letter options. This should allow us to eventually allow this same routine to parse args from the command line as well as inside the svc.conf file. The price we pay for consistency, however, is verbosity to the point of insanity (e.g., -ORBconcurrency...blech!) These options are briefly documented in the method header as well as in subsequent svc.conf files. * tao/decode.cpp: Added some comments for arguments. * tao/connect.{h,cpp}: Moved Connector-related typedefs and corresponding template instantiations into the proper file--orb_core.*. * tao/orb_core.cpp (init): Moved much of what used to be ORB_init() into here. Changed the manner in which objref style was determined--it's no longer via a special ORB name but rather by the -ORBobjrefstyle option which can have either the value "IOR" or "URL" (default is URL). Tue Oct 28 21:15:36 1997 Douglas C. Schmidt * build/SunOS5.5/TAO/tests/IDL_Cubit/clnt.cpp (main): Fixed the code so that if you give incorrect parameters the program exits cleanly, rather than segfaulting. Tue Oct 28 20:49:28 1997 Nanbor Wang * tao/giop.cpp (start): NT Access Violation error, AGAIN! Added codes to reset this->handler_ so that ACE_Cached_Connect_Strategy won't complain. Tue Oct 28 19:19:05 1997 Aniruddha Gokhale * TAO_IDL/be/{be_state.cpp, be_union.cpp, be_struct.cpp}: Added code that will generate the ACE_NESTED_CLASS macro *TAO_IDL/be/be_type.cpp: Implemented be_type::nexted_type_name that will generate the ACE_NESTED_CLASS macro. However, this may not be completely correct at this point because we want to see if teh compiler fails for types defined in some ancestor and whose fully scoped names are generated . * TAO_IDL/be/be_interface.cpp: Added code that will generate the _bind call on the interface class. * TAO/tests/IDL_Cubit: Added the _bind call in clnt.cpp. Improved the README file. *MAXNAMELEN : There was a clash with TAO_CodeGen::MAXNAMELEN. So it has been substituted by NAMEBUFSIZE as a macro in be_codegen.h Mon Oct 27 22:22:22 1997 Aniruddha Gokhale * TAO_IDL/be_decl.cpp: Added a ptr () function to the _var classes hat returns the underlying ptr_ data member. This ptr () member function is now used to pass a pointer type to constructor and assignment operator from a T_var class. * TAO_IDL/be_state.cpp: Important changes related to generation of return values of operations in the stubs. In addition, an & was missing for passing string types. Some additional bugs arising out of operations with void return type have been fixed. * ./tests/IDL_Cubit: This test has been modified to include a factory interface that reads a key for the cubit object and produces an obj reference for Cubit. In addition, a preliminary version of the _bind call has been tested with IDL_Cubit. *MAXNAMELEN : Carlos informed me that MAXNAMELEN was a small constant on some platforms. This has been changed to TAO_CodeGen::MAXNAMELEN with a value of 100. Mon Oct 27 22:07:58 1997 Carlos O'Ryan * TAO_IDL/be/be_array.cpp: * TAO_IDL/be/be_helper.cpp: * TAO_IDL/be/be_sequence.cpp: * TAO_IDL/be/be_structure.cpp: * TAO_IDL/be/be_typedef.cpp: * TAO_IDL/be/be_union.cpp: Set this->cli_stub_gen_ to I_TRUE once the code has been emitted. Mon Oct 27 19:34:08 1997 Carlos O'Ryan * TAO_IDL/be/be_exception.cpp: * TAO_IDL/be/be_enum.cpp: Set this->cli_stub_gen_ to I_TRUE at the end. * TAO_IDL/be/be_typedef.cpp: Set the state to TAO_CodeGen::TAO_TYPEDEF_CH instead of just struct. Mon Oct 27 15:22:24 1997 Sergio Flores * TAO_IDL/be/be_state.cpp: * TAO_IDL/be_include/be_codegen.h: * TAO_IDL/be_include/be_factory.h: * TAO_IDL/be_include/be_state.h: * tao/iioporb.cpp: * tao/marshal.cpp: * tao/optable.cpp: * tao/optable.h: * tao/singletons.h: The ACE_Singleton lock type needs to be changed from ACE_SYNCH_MUTEX (or ACE_SYNCH_RW_MUTEX) ACE_SYNCH_RECURSIVE_MUTEX. ACE handles those more efficiently for its singletons. Change suggested by David Levine. Mon Oct 27 11:59:51 1997 Chris Cleeland * tao/orbconf.h: Made it so _FAR is defined all the time. Thanks to Manojkumar Acharya for reporting this. Sun Oct 26 22:18:01 1997 Douglas C. Schmidt * TAO version 0.0.17, released Sun Oct 26 22:18:01 1997. Sun Oct 26 17:53:25 1997 Douglas C. Schmidt * {tao,tests}/Makefile: Commented out the TAO_HAS_TSS_ORBCORE in these Makefiles since it is going away anyhow and is confusing... * tests/IDL_Cubit/svc.conf, tests/Cubit/TAO/svc.conf: Changed the default concurrency policy to be reactive so that things work correctly if TAO_HAS_TSS_ORBCORE. Thanks to Sumedh for pointing this out. * tao/orbobj.cpp (ORB_init): Put the TAO_DEFAULT_SERVER_PORT into ACE's OS.h file and used it in TAO. Sun Oct 26 15:07:18 1997 Chris Cleeland * tao/params.h: Eliminated forward decls of the now-defunct ROA class. * tao/orb_core.h (TAO_DEFAULT_PORT): Added manifest constant for default port. * tao/orbobj.cpp (ORB_init): Eliminated ugly anonymous constant use for hbuf's size. Utilized manifest constant for default port. * tao/giop.cpp: Changed calls to TAO_Client_Connection_Handler::in_use() to call the underlying Svc_Handler::idle(). * tao/connect.{h,i}: Eliminated in_use() flags because they're no longer needed with the new Strategy Connector. * tao/iioporb.cpp (string_to_object): Removed setting of the orb in the underlying CORBA::Object because it's no longer there. * tao/object.{h,i} (CORBA_Object): Eliminated the pointer to an orb within this object. This should help solve some problems in passing object references across the wire. * tao/connect.cpp: Added template instantiations for ACE_Hash_Map_Iterator to reflect Irfan's recent changes. * tests/IDL_Cubit/README: Updated documentation on the server to reflect current reality. Sun Oct 26 01:01:32 1997 Douglas C. Schmidt * tao/orbobj.cpp: Redid the template specialization of Hash_Addr to account for the new changes. Sun Oct 26 01:05:36 1997 * tao/corba.h: Changed from using Strategies_T.h to Strategies.h. * tao/connect.h: Removed a template argument form ACE_Hash_Addr. Removed explicit instantiation of compare_i. * tao/connect.cpp: Removed a template argument from explicit instantiation of ACE_Hash_Addr. * tests/Cubit/TAO/clnt.cpp (main): Added a simple class ACE_Winsock_proper_shutdown here to shutdown winsock properly. This class should be removed later once we figure out how to close down winsock properly from ACE. * tests/Cubit/TAO/svc.conf: Changed the name of shared object from libTAO to TAO. Added configuration lines for using debug version of TAO library on NT. Sun Oct 26 01:47:04 1997 Sergio Flores * TAO_IDL/be/be_codegen.cpp (upcase): * TAO_IDL/util/utl_string.cpp (canonicalize): * TAO_IDL/be/be_decl.cpp (tc_name2long): Added "unsigned" to index variable "i" used in for() loop, to avoid warning "comparison between unsigned and signed" * TAO_IDL/be/be_decl.cpp (compute_flatname): * TAO_IDL/be/be_decl.cpp (compute_repoID): * TAO_IDL/be/be_interface.cpp (compute_fullskelname): Fixed error "second - I_FALSE;", should be "second = I_FALSE;" * TAO_IDL/be/be_operation.cpp (gen_server_skeletons): * TAO_IDL/be/be_state.cpp (gen_code): Initialized pointers to 0 * TAO_IDL/driver/drv_preproc.cpp (DRV_pre_proc): * TAO_IDL/be/be_operation.cpp (gen_server_header): * TAO_IDL/be/be_operation.cpp (gen_client_header): * TAO_IDL/be/be_decl.cpp (gen_out_defn): * TAO_IDL/be/be_decl.cpp (gen_var_defn): * TAO_IDL/be/be_scope.cpp (gen_client_header): * TAO_IDL/be/be_state.cpp (gen_code): * TAO_IDL/be/be_helper.cpp (operator<<): * TAO_IDL/be/be_union.cpp (tc_encap_len): * TAO_IDL/be/be_typedef.cpp (gen_client_stubs): * TAO_IDL/be/be_string.cpp (gen_client_header): * TAO_IDL/be/be_root.cpp (gen_idl2cplusplus_mapping): * TAO_IDL/be/be_predefined_type.cpp (gen_typecode): * TAO_IDL/be/be_interface.cpp (gen_client_stubs): * TAO_IDL/be/be_interface.cpp (gen_server_skeletons): * TAO_IDL/be/be_interface.cpp (gen_operation_table): * TAO_IDL/be/be_interface.cpp (gen_server_inline): * TAO_IDL/be/be_interface.cpp (tc_encap_len): * TAO_IDL/be/be_field.cpp (gen_encapsulation): * TAO_IDL/be/be_field.cpp (tc_encap_len): * TAO_IDL/be/be_enum_val.cpp (gen_encapsulation): * TAO_IDL/be/be_enum.cpp (tc_encap_len): * TAO_IDL/be/be_constant.cpp (gen_client_header): * TAO_IDL/be/be_constant.cpp (gen_client_stubs): * TAO_IDL/be/be_argument.cpp (gen_client_header): * TAO_IDL/be/be_argument.cpp (gen_client_stubs): * TAO_IDL/be/be_argument.cpp (gen_server_header): * TAO_IDL/be/be_argument.cpp (gen_server_skeletons): * TAO_IDL/be/be_array.cpp (be_array): * TAO_IDL/be/be_array.cpp (gen_client_header): * TAO_IDL/be/be_array.cpp (gen_client_inline): * TAO_IDL/be/be_array.cpp (gen_forany_defn): * TAO_IDL/be/be_array.cpp (gen_forany_impl): * TAO_IDL/util/utl_stack.cpp (push): Added ACE_UNUSED_ARG macro to avoid unused variable warning, for variable slen. * TAO_IDL/be_include/be_helper.h (class TAO_OutStream): Made destructor virtual; we have virtual member functions. * TAO_IDL/be/be_codegen.cpp (TAO_CodeGen): * TAO_IDL/be/be_decl.cpp (be_decl): * TAO_IDL/util/utl_stack.cpp (UTL_ScopeStack): * TAO_IDL/util/utl_scope.cpp (UTL_ScopeActiveIterator): Reordered member initializers to match declaration order to satisfy the compiler. * TAO_IDL/util/utl_scope.cpp (lookup_primitive_type): Added "default" case to switch to return NULL. * TAO_IDL/util/utl_scope.cpp (add_attribute): * TAO_IDL/util/utl_scope.cpp (add_operation): * TAO_IDL/util/utl_scope.cpp (add_argument): * TAO_IDL/util/utl_scope.cpp (add_union_branch): * TAO_IDL/util/utl_scope.cpp (add_field): * TAO_IDL/util/utl_scope.cpp (add_typedef): * TAO_IDL/util/utl_scope.cpp (add_sequence): * TAO_IDL/util/utl_scope.cpp (add_array): Use 0 instead of NULL to initialize pointers in the member initialization list, again to avoid ANSI C++ forbids implicit (void *) conversions warnings. Sun Oct 26 01:01:32 1997 Douglas C. Schmidt * TAO version 0.0.16, released Sun Oct 26 01:01:32 1997. Sun Oct 26 00:32:29 1997 Douglas C. Schmidt * TAO/TAO_IDL/fe/idl.ll: Reverted a change that Carlos had overwritten. I guess he's not getting enough sleep these days... ;-) Sun Oct 26 00:31:38 1997 * tao/orb_core.i (hash_i): Redid the specialization in view of the new changes. Sat Oct 25 18:14:14 1997 Douglas C. Schmidt * TAO_IDL/be/be_interface.cpp (be_interface): Worked around a nasty MSVC++ compiler bug that doesn't like CORBA::Object (object_ptr). So we use an existing ACE macro for this. * TAO_IDL/be/be_interface.cpp (be_interface): Fixed yet another round of uninitialized data members. It is clear that the original authors of this code wouldn't pass my ugrad programming course... * TAO_IDL/fe/idl.ll (idl_parse_line_and_file): Had to make a minor change to skip over the #line directive from Microsoft. In addition, had to add some code to put Microsoft-style pathnames into a canonical form (i.e., replacing = '\\' with '\'). Thanks to Darrell for helping with this. * TAO_IDL/fe/idl.ll: Added a new rule to handle the fact that the Microsoft C++ preprocessor generates tags of the form #line 1 "bar.idl" rather than #1 "bar.idl" which is what UNIX C++ compilers seem to do. * TAO_IDL/be/be_decl.cpp (compute_fullname, compute_flatname): Fixed a nasty bug where the original author thought new always returned 0'd memory... Sheesh! * TAO_IDL/driver/drv_preproc.cpp: Changed fd < 0 to fd == ACE_INVALID_HANDLE to be more portable. * TAO_IDL/be/be_decl.cpp (be_decl): There were two fields, flatname_ and repoID_, that weren't given initial values of 0. Thanks to Purify for finding this! * TAO_IDL/fe/idl.{yy,ll}: Replaced all uses of type names (e.g., FLOAT) with IDL_ (e.g., IDL_FLOAT) so that the code won't bomb on lame systems like NT that typedef basic types to all capitals (e.g., typedef float FLOAT). Sat Oct 25 22:28:42 1997 Carlos O'Ryan * TAO_IDL/fe/idl.ll: Since yytext may be an "unsigned char*" under HP-UX they define an "alias" __yytext. This hack fails miserably when using flex, since then the yytext thing can change on the fly. I use an inline function instead. Added support for #line preprocessor directives. * TAO_IDL/driver/drv_preproc.cpp: Documented some of my changes for NT, namely the fact that unlinking the output file while still open causes the parsing to fail on NT. * TAO_IDL/tao_idl.dsp: Added new folders for source files, header files, template files, etc. I modelled this based on the ACE project files. Sat Oct 25 22:05:43 1997 Sergio Flores * TAO_IDL/ast/ast_constant.cpp (exprtype_to_string): Added case statements to handle the rest of un-handled enumerations from AST_Expression::ExprType. These will handle a default value (i.e. the same case as AST_Expression::EV_none). * TAO_IDL/ast/ast_expression.cpp (operator==): * TAO_IDL/ast/ast_expression.cpp (compare): Make the default return value I_FALSE instead of NULL which was giving "lacks a cast" warning. * TAO_IDL/ast/ast_expression.cpp (fill_definition_details): Use 0 instead of NULL to initialize pointers in the member initialization list, again to avoid ANSI C++ forbids implicit (void *) conversions warnings. * TAO_IDL/ast/ast_expression.cpp (eval_symbol): Initialized pointers to 0. Sat Oct 25 17:45:17 1997 Aniruddha Gokhale * TAO_IDL/driver/drv_preproc.cpp: Fixed the same bug that Sumedh fixed. In addition, ACEified the calls to strcat and strcmp in that file. * TAO_IDL/fe/idl.ll: Used %array in the defintion section so that flex uses yytext as an array of characters rather than pointer to char. The pointer case was resulting in a segmentation fault due to lack of memory allocation for the yytext variable. However, we choose to use the array approach to be compatile with "lex" behavior. Sat Oct 25 1997 Sumedh Mungee * TAO_IDL/driver/drv_preproc.cpp: Fixed proper tmp filename creation. Sat Oct 25 14:14:53 1997 Carlos O'Ryan * TAO_IDL/tao_idl.dsw: * TAO_IDL/tao_idl.dsp: Added a MSVC++ project file for the IDL compiler, needs several revisions byt the NT experts before shipping, but it has served me well. * TAO_IDL/driver/drv_fork.cpp: * TAO_IDL/driver/drv_preproc.cpp: We use ACE components to fork&exec subprocesses, get the default TMP directory and generate protable pathnames. In one case the mapping to NT is not clear: the use case is fork to get a "fresh" copy of the process and provide a unit of protection for the parent; this feature is only used if more than one IDL file is compiled at the same time. * TAO_IDL/be/be_decl.cpp: Fixed minor bug, it said "second - I_FALSE;", it should be "second = I_FALSE * TAO_IDL/ast/ast_argument.cpp: * TAO_IDL/ast/ast_array.cpp: * TAO_IDL/ast/ast_attribute.cpp: * TAO_IDL/ast/ast_check.cpp: * TAO_IDL/ast/ast_concrete_type.cpp: * TAO_IDL/ast/ast_constant.cpp: * TAO_IDL/ast/ast_decl.cpp: * TAO_IDL/ast/ast_enum.cpp: * TAO_IDL/ast/ast_enum_val.cpp: * TAO_IDL/ast/ast_exception.cpp: * TAO_IDL/ast/ast_expression.cpp: * TAO_IDL/ast/ast_field.cpp: * TAO_IDL/ast/ast_generator.cpp: * TAO_IDL/ast/ast_interface.cpp: * TAO_IDL/ast/ast_interface_fwd.cpp: * TAO_IDL/ast/ast_module.cpp: * TAO_IDL/ast/ast_operation.cpp: * TAO_IDL/ast/ast_predefined_type.cpp: * TAO_IDL/ast/ast_recursive.cpp: * TAO_IDL/ast/ast_redef.cpp: * TAO_IDL/ast/ast_root.cpp: * TAO_IDL/ast/ast_sequence.cpp: * TAO_IDL/ast/ast_string.cpp: * TAO_IDL/ast/ast_structure.cpp: * TAO_IDL/ast/ast_type.cpp: * TAO_IDL/ast/ast_union.cpp: * TAO_IDL/ast/ast_union_branch.cpp: * TAO_IDL/ast/ast_union_label.cpp: * TAO_IDL/be/be_args.cpp: * TAO_IDL/be/be_constant.cpp: * TAO_IDL/be/be_generator.cpp: * TAO_IDL/be/be_init.cpp: * TAO_IDL/be/be_produce.cpp: * TAO_IDL/be_include/be.h: * TAO_IDL/be_include/be_generator.h: * TAO_IDL/driver/drv_args.cpp: * TAO_IDL/driver/drv_fork.cpp: * TAO_IDL/driver/drv_init.cpp: * TAO_IDL/driver/drv_main.cpp: * TAO_IDL/driver/drv_preproc.cpp: * TAO_IDL/driver/drv_private.cpp: * TAO_IDL/fe/fe_declarator.cpp: * TAO_IDL/fe/fe_extern.cpp: * TAO_IDL/fe/fe_init.cpp: * TAO_IDL/fe/fe_interface_header.cpp: * TAO_IDL/fe/fe_private.cpp: * TAO_IDL/fe/lex.yy.cpp: * TAO_IDL/fe/y.tab.cpp: * TAO_IDL/include/ast.h: * TAO_IDL/include/ast_argument.h: * TAO_IDL/include/ast_array.h: * TAO_IDL/include/ast_attribute.h: * TAO_IDL/include/ast_concrete_type.h: * TAO_IDL/include/ast_constant.h: * TAO_IDL/include/ast_decl.h: * TAO_IDL/include/ast_enum.h: * TAO_IDL/include/ast_enum_val.h: * TAO_IDL/include/ast_exception.h: * TAO_IDL/include/ast_expression.h: * TAO_IDL/include/ast_extern.h: * TAO_IDL/include/ast_field.h: * TAO_IDL/include/ast_generator.h: * TAO_IDL/include/ast_interface.h: * TAO_IDL/include/ast_interface_fwd.h: * TAO_IDL/include/ast_module.h: * TAO_IDL/include/ast_operation.h: * TAO_IDL/include/ast_predefined_type.h: * TAO_IDL/include/ast_root.h: * TAO_IDL/include/ast_sequence.h: * TAO_IDL/include/ast_string.h: * TAO_IDL/include/ast_structure.h: * TAO_IDL/include/ast_type.h: * TAO_IDL/include/ast_typedef.h: * TAO_IDL/include/ast_union.h: * TAO_IDL/include/ast_union_branch.h: * TAO_IDL/include/ast_union_label.h: * TAO_IDL/include/be_extern.h: * TAO_IDL/include/drv_extern.h: * TAO_IDL/include/drv_private.h: * TAO_IDL/include/fe_declarator.h: * TAO_IDL/include/fe_extern.h: * TAO_IDL/include/fe_interface_header.h: * TAO_IDL/include/fe_private.h: * TAO_IDL/include/global_extern.h: * TAO_IDL/include/idl.h: * TAO_IDL/include/idl_bool.h: * TAO_IDL/include/idl_defines.h: * TAO_IDL/include/idl_extern.h: * TAO_IDL/include/idl_fwd.h: * TAO_IDL/include/idl_global.h: * TAO_IDL/include/idl_narrow.h: * TAO_IDL/include/intlmacros.h: * TAO_IDL/include/nr_extern.h: * TAO_IDL/include/util.h: * TAO_IDL/include/utl_decllist.h: * TAO_IDL/include/utl_error.h: * TAO_IDL/include/utl_exceptlist.h: * TAO_IDL/include/utl_exprlist.h: * TAO_IDL/include/utl_identifier.h: * TAO_IDL/include/utl_idlist.h: * TAO_IDL/include/utl_indenter.h: * TAO_IDL/include/utl_labellist.h: * TAO_IDL/include/utl_list.h: * TAO_IDL/include/utl_namelist.h: * TAO_IDL/include/utl_scope.h: * TAO_IDL/include/utl_scoped_name.h: * TAO_IDL/include/utl_stack.h: * TAO_IDL/include/utl_string.h: * TAO_IDL/include/utl_strlist.h: * TAO_IDL/include/utl_tmpl/utl_decllist.h: * TAO_IDL/include/utl_tmpl/utl_exceptlist.h: * TAO_IDL/include/utl_tmpl/utl_exprlist.h: * TAO_IDL/include/utl_tmpl/utl_idlist.h: * TAO_IDL/include/utl_tmpl/utl_labellist.h: * TAO_IDL/include/utl_tmpl/utl_list.h: * TAO_IDL/include/utl_tmpl/utl_namelist.h: * TAO_IDL/include/utl_tmpl/utl_strlist.h: * TAO_IDL/narrow/narrow.cpp: * TAO_IDL/util/utl_decllist.cpp: * TAO_IDL/util/utl_error.cpp: * TAO_IDL/util/utl_exceptlist.cpp: * TAO_IDL/util/utl_exprlist.cpp: * TAO_IDL/util/utl_global.cpp: * TAO_IDL/util/utl_identifier.cpp: * TAO_IDL/util/utl_idlist.cpp: * TAO_IDL/util/utl_indenter.cpp: * TAO_IDL/util/utl_labellist.cpp: * TAO_IDL/util/utl_list.cpp: * TAO_IDL/util/utl_namelist.cpp: * TAO_IDL/util/utl_scope.cpp: * TAO_IDL/util/utl_stack.cpp: * TAO_IDL/util/utl_string.cpp: * TAO_IDL/util/utl_strlist.cpp: * TAO_IDL/util/utl_tmpl/utl_decllist.cpp: * TAO_IDL/util/utl_tmpl/utl_exceptlist.cpp: * TAO_IDL/util/utl_tmpl/utl_exprlist.cpp: * TAO_IDL/util/utl_tmpl/utl_idlist.cpp: * TAO_IDL/util/utl_tmpl/utl_labellist.cpp: * TAO_IDL/util/utl_tmpl/utl_list.cpp: * TAO_IDL/util/utl_tmpl/utl_namelist.cpp: * TAO_IDL/util/utl_tmpl/utl_strlist.cpp: Removed a *big* number of warnings, in an attempt to surface real problems. The main one was "#pragma ident" and some unused variables. Sat Oct 25 06:22:03 1997 Aniruddha Gokhale * TAO_IDL/fe/idl.yy: I got errors parsing the idl.yy thru bison. There were errors indicating "type clash on default action". This had to do with the fact that the non-terminal "type_dcl" did not have any type defined for it, but it had "struct_type", "union_type" and others on the right-hand side of the rules. The default action of YACC is supposed to assign $1 to $$. So the type for "struct_type" that happened to be a AST_Decl node was getting assigned to the non-terminal "type_dcl" who had no type. I am very surprised that the "yacc" on our Sparcs never ever gave this error, but bison did. Hence I have modified idl.yy slightly so that I have {$$ = 0;} as the default action. In addition, the non-terminal "type_dcl" is now defined to be of type "ival" which is defined as long inside the %union clause. Above all, the bison generated files required some prototypes. So I had to add the following to idl.yy in the declarations section. int yylex (void); void yyerror (char *); extern "C" yywrap (void); Somehow, this yywrap had to be under extern "C". I don't know why the others need not be under extern "C". Sat Oct 25 00:05:05 1997 Douglas C. Schmidt * TAO version 0.0.15, released Sat Oct 25 00:05:05 1997. Sat Oct 25 02:46:05 1997 Sergio Flores * TAO_IDL/fe/Makefile: Changed the YACC variable to use the bison compiler. Added "-y" to YFLAGS to make bison generate output files like yacc. Changed the LEX variable to use the flex parser instead of lex. These programs generate code that has less warnings and is better code in general. Added "-D_REENTRANT" to CPPFLAGS, to be able to eliminate the warnings in lex.yy.cpp. This could also be fixed if we include "ace/ACE.h" at the beginning of lex.yy.cpp, but this file is generated with flex. * TAO_IDL/fe/idl.yy: Added ACE_UNUSED_ARG macro to avoid unused variable warning, for variable "AST_Decl *v". * TAO_IDL/fe/idl.ll (idl_atof): Added ACE_UNUSED_ARG macro to avoid unused variable warning, for variable f and h. * TAO_IDL/include/idl.h: Added include file "ace/ACE.h". This was necessary to eliminate warnings of implicit declarations, which were because the _REENTRANT flag was not defined. * TAO_IDL/ast/ast_operation.cpp (AST_Operation): Reordered member initializers to match declaration order to eliminate warnings from the compiler. * TAO_IDL/ast/ast_operation.cpp (fe_add_exceptions): Added ACE_UNUSED_ARG macro to avoid unused variable warning, for variable fs. * TAO_IDL/ast/ast_interface.cpp (AST_Interface): Reordered member initializers to match declaration order to eliminate warnings from the compiler. * TAO_IDL/ast/ast_expression.cpp (operator==): * TAO_IDL/ast/ast_expression.cpp (coerce): * TAO_IDL/ast/ast_expression.cpp (coerce_value): * TAO_IDL/ast/ast_expression.cpp (compare): * TAO_IDL/ast/ast_expression.cpp (dump_expr_val): Added case statements to handle the rest of un-handled enumerations from AST_Expression::ExprType. These will handle a default value (i.e. the same case as AST_Expression::EV_none). Enumerations added are: AST_Expression::EV_wstring AST_Expression::EV_wchar AST_Expression::EV_longdouble AST_Expression::EV_ulonglong AST_Expression::EV_longlong * TAO_IDL/ast/ast_expression.cpp (AST_Expression): Reordered member initializers to match declaration order to eliminate warnings from the compiler. * TAO_IDL/ast/ast_decl.cpp (AST_Decl): Reordered member initializers to match declaration order to eliminate warnings from the compiler. Also, use 0 instead of NULL to initialize pointers in the member initialization list, again to avoid ANSI C++ forbids implicit (void *) conversions warnings. * TAO_IDL/ast/ast_array.cpp (dump): Added "unsigned" to index variable "i" used in for() loop, to avoid warning "comparison between unsigned and signed" * TAO_IDL/ast/ast_array.cpp (compute_dims): Added "unsigned" to index variable "i" used in for() loop, to avoid warning "comparison between unsigned and signed" * TAO_IDL/ast/ast_array.cpp (AST_Array): Reordered member initializers to match declaration order to eliminate warnings from the compiler. * TAO_IDL/fe/fe_declarator.cpp (FE_Declarator): Reordered member initializers to match declaration order to eliminate warnings from the compiler. * TAO_IDL/driver/drv_main.cpp (DRV_drive): Added ACE_UNUSED_ARG macro to avoid unused variable warning. * TAO_IDL/ast/ast_recursive.cpp (AST_illegal_recursive_type): Initialized pointer variables to avoid warnings. Fri Oct 24 19:18:22 1997 Douglas C. Schmidt * tao: Changed remaining uses of BOA to POA. * cubit_i.cpp (please_exit): Replaced the call to please_shutdown() on the POA (which no longer exists) with the shutdown() call on the ORB. * tests/IDL_Cubit/svr.cpp: Removed oa_ptr->clean_shutdown (env); since this is no longer supported in TAO's POA. * tao/poa.h: Changed the get_boa() method to get_poa(). Even this will probably go away soon. Fri Oct 24 18:25:00 1997 Aniruddha Gokhale * TAO/tao/svrrqst.cpp: Method params was allocating memory even when the Any's already had memory allocated for the IN and INOUT parameters. Due to this the params would retrieve results in the allocated storage whereas the stubs/skeletons would continue to use variables that they had defined to hold the values. Fri Oct 24 17:33:21 1997 Chris Cleeland * tao/poa.*: #ifdef'd out the IIOP 1.4 references to shutdown. I'm leaving them in there right now because they might be useful as private member later when we need to figure out how to get OAs to cooperate and shut themselves down in the face of an ORB shutdown. * tao/orbobj.h (shutdown): Fixed up documentation. * tao/orbobj.i (shutdown): Provided appropriate arg default. * tests/Cubit/TAO/svr.cpp: Eliminated unnecessary Object Adapter name from POA_init() invocation. * tests/Cubit/TAO/cubit_i.cpp (Cubit_please_exit): Revised to use the new ORB::shutdown() method. * tests/Cubit/TAO/clnt.cpp: Got rid of IIOP 1.4-style debug message calls. * tao/orbobj.cpp (CORBA_ORB::ORB_init): Corrected a heinous problem in the option parsing loop where argvec_shift() would be asked to shift two argv elements when there was only one. This could cause problems if an option that required an argument didn't include the argument. Thanks to Manojkumar Acharya for sending in a bug report that lead to my finding this! Fri Oct 24 14:08:12 Aniruddha Gokhale * Improved the compiler to make Unions work. The most subtle error was the way the private section of the class for unions was being generated. TAO's Typecode library expected the union members to be inside of a C++ union declaration inside the private section. Whereas the compiler was generating each member separately. Another source of error was bad typecode tables getting generated. This is now fixed. * TAO/tests/IDL_Cubit: The cubit_i.cpp for cube_union was doing wrong calculations for structs. This was due to my copy-paste tendency and not verifying if it was correct or not. This has been fixed. The README file is updated to reflect the fact that this directory contains code that uses the IDL compiler. Fri Oct 24 01:54:00 1997 Douglas C. Schmidt * TAO version 0.0.14, released Fri Oct 24 01:54:00 1997. Fri Oct 24 01:02:01 1997 Douglas C. Schmidt * clnt.cpp: Removed mysterious obsolete definitions of cube_union_stub() and cube_union_dii(). * be_state.h: Added definitions for the methods in class be_state_attribute. For some reason, they were missing. * TAO_IDL/be/be_state.cpp: Added the necessary template specializations so that the TAO IDL compiler will work with GCC. Thu Oct 23 22:46:10 1997 Aniruddha Gokhale * TAO IDL Compiler: More progress in terms of getting the Cubit example to work with the IDL generated code. However, we are still finding some problems with using the client-side cubit_union_dii to work properly. Much of the improvements were to the server-side skeletons for operations. In addition, code for union constructors, assignment operator, and accessor for discriminant added. Some bugs in typecode generation are fixed. This had to do with the encapsulation length for predefined types. It was returning -1 as opposed to 0. * TAO/tests/IDL_Cubit: Added this directory with the cubit example. Use this to test the IDL compiler. The makefile will invoke the IDL compiler to create the required files. Thu Oct 23 18:34:02 1997 Douglas C. Schmidt * tests/*/Makefile: Fixed the Makefiles so that it has the correct files and dependencies. Thanks to Steven Wohlever for reporting this. Wed Oct 22 20:02:39 1997 Chris Cleeland * README.sun: Added an explicit reminder at the top that the information in this file is historical in nature and does not necessarily apply to current reality. * tao/orbobj.* (shutdown): Added code to the run() event loop so that it will terminate when it finds a flag set. This involved adding the flag to the ORB's state and minimally implementing the shutdown() method. The shutdown method still does not honor the "wait for completion" flag which can be passed to it, though. * README: Updated the season from "summer" to "Fall" ;-) Also added a note that warned people not to try to link TAO with a version of ACE that's linked with another ORB library, e.g., liborbix.so. Thanks to Steven Wohlever for bringing this instructional omission to our attention. * tao/tao_internals.cpp (fake_service_entries_i): Made the body of this function conditional on the TAO_PLATFORM_SVC_CONF_FILE_NOTSUP preprocessor definition since it doesn't need to exist in platforms that grok the Service Configurator. This will also reduce the memory footprint :-). Thanks to David Miron for pointing this out! * tao/orb_core.cpp (TAO_ORB_Core): Removed explicit CTOR initialization of reactor_ member. Wed Oct 22 19:37:22 1997 Aniruddha Gokhale * TAO IDL Compiler: Improvements made so that the server-side skeletons for operations now generate valid code. The code generated for the Cubit.idl was compiling cleanly. It is under test currently to see if it runs. * Some progress in handling forward declarations of interfaces. Wed Oct 22 12:55:19 1997 * tao/poa.h: Added ACE_Svc_Export to class CORBA_POA. * tao/TAO.{mdp,mak}: Updated files in project file. * tao/TAO.dsp: Removed boa, Orb_Core and added poa, orb_core to the project file. Tue Oct 21 17:21:51 1997 Chris Cleeland * docs/releasenotes/orbcore.html: Updated to reflect daily progress. * tests/Cubit/TAO/Makefile: Updated dependencies. * tests/Cubit/TAO/svc.conf: Updated to eliminate empty quotes at the end that tickled a deficiency in the Service Configurator's grammar. * tests/multiCubit/svr.cpp: Updated to reflect POA_init change. * tests/Thruput_test/Makefile: Modified to reflect filename changes. * tests/Thruput_test/server.cpp: Changed type of argv so that it matched properly. * tao/boa.*: Renamed to tao/poa.*. * tao/Orb_Core.*: Renamed to tao/orb_core.*. * tao/{Makefile,corba.h,default_client.cpp,default_server.cpp,orb.h,orbobj.cpp,params.h}: Modified to reflect filename changes. Tue Oct 21 13:23:48 1997 Brian Mendel * tao/connect.i: Moved hash_i and compare_i template specialization to Orb_Core.i. Original code was left comment out until this mod is checked on all platforms. * tao/Orb_Core.i: Added hash_i and compare_i code from connect.i. Tue Oct 21 03:23:29 1997 Nanbor Wang * tao/Orb_Core.cpp: Removed conditional inclusion of Orb_Core.i since, according to corba.h, it is always included as an inline function file. Tue Oct 21 02:24:14 1997 Douglas C. Schmidt * TAO version 0.0.13, released Tue Oct 21 02:24:14 1997. Mon Oct 20 23:42:48 1997 Douglas C. Schmidt * TAO/boa: Changed BOA_init() to POA_init() to be more consistent... * TAO_IDL/be/be_interface.cpp, tests/TAO/Thruput_test/server.cpp, tests/TAO/Thruput_test/ttcpS.cpp, tests/TAO/RT_test/Task_Client.cpp, tests/TAO/RT_test/cubit_impl.cpp, tests/TAO/multiCubit/cubitS.cpp, tests/TAO/multiCubit/svr.cpp, tests/TAO/Demux_Test/server.cpp, tests/TAO/Demux_Test/CodeGen/skel.cpp, tests/TAO/MT-Cubit/client/Task_Client.cpp, tests/TAO/MT-Cubit/server/cubitS.cpp, tests/TAO/MT-Cubit/server/svr.cpp, tests/TAO/cubitS.cpp, tests/TAO/svr.cpp, tests/TAO/test1_svr.cpp: Changed BOA to POA to reflect the new naming conventions. * tao/stub.i (STUB_Object): Removed a stray default value from the STUB_Object constructor... Thanks to Carlos for noticing this. MOn Oct 20 10:14:09 1997 Aniruddha Gokhale * Improved version of the TAO IDL compiler. The executable has been renamed to tao_idl. There are a number of improvements as well as shortcomings. These are explained in the docs/releasenotes/index.html page, which can be viewed online at http://www.cs.wustl.edu/~schmidt/ACE_wrappers/TAO/docs/releasenotes/. Mon Oct 20 16:30:29 1997 Chris Cleeland * tao/tao_internals.cpp (fake_service_entries_i): Based the arguments to the faked server service entry for VxWorks on the TAO_HAS_TSS_ORBCORE compilation flag. This should hopefully eliminate the problems Boeing was seeing in the early rounds of testing the most recent release of TAO. * tao/{iiopobj.*,giop.h}: Moved a lock that had been in TAO_GIOP_Invocation (why? I don't know) into IIOP_Object. It protects the fwd_profile_ pointer, which has now become private. Also added accessors for the data member as well as the lock. Accessors come in two flavors--thead-safe (fwd_profile()) and non-thread-safe (fwd_profile_i()). The non-thread-safe variety expect that the lock will be taken and held for the duration of their usage, but no checking is performed in this respect. * tao/giop.cpp: Changed references to the IIOP_Object::fwd_profile data member to go through the new accessors (see above). * tao/stub.i: Created new file with inline methods for STUB_Object. * tao/stub.h: Moved inline method definitions into a new file--stub.i. * tao/orbobj.cpp (BOA_init): Eliminated dead code and unused variable. * tao/except.cpp (print_exception): Eliminated unused argument warning detected by gcc. * tao/corba.h: Re-ordered inclusion of Orb_Core.i to eliminate 'function used before declared inline' errors detected by gcc. * tao/{Orb_Core,boa,corbacom,orb,orbobj,svrrqst}.*: Renamed BOA to POA. * docs/releasenotes*: Moved releasenotes.html into a directory named "releasenotes" so that the various status pages can live independently. Currently only the ORB Core's status page is broken out, but the documentation should eventually turn into two frames with the one at the top acting as the guide and the lower frame being the actual status document. Fri Oct 17 17:42:27 1997 Chris Cleeland * docs/releasenotes.html: Updated to reflect current status. * tao/orbobj.*: Added some documentation for open() method. * tao/roa.*: Gone. Bye-bye. Removed. Fri Oct 17 15:43:04 1997 * tao/connect.h: Added template instantiation supression directive for Win32. VC was complaining about duplicate symbols definition. Fri Oct 17 06:25:23 1997 Chris Cleeland * tao/{boa,roa}.*: Merged class ROA into class CORBA_BOA. Hopefully everything still works ;-) * docs/releasenotes.html: Quick update for new TODO list. Will be updated within the next day or so with dates, too. * tao/{server_factory,orbobj,Orb_Core}.cpp: Corrected incorrect explicit template instantiations and added missing ones. Thu Oct 16 23:48:04 1997 Douglas C. Schmidt * TAO version 0.0.12, released Thu Oct 16 23:48:04 1997. Thu Oct 16 11:15:00 1997 Brian R. Mendel * tao/server_factory.cpp: Added instantiation pragma for VxWorks for ACE_Acceptor. Added the template to the specialization section, also. * tao/orbobj.cpp: Added instantiation pragma for VxWorks for ACE_Cached_Connect_Strategy and ACE_Hash_Map_Manager for ACE_Null_Mutex instantiations. Also, added these to the template specialization sections. * tests/Cubit/Build/default.bld: Added TAO_PLATFORM_SVC_CONF_FILE_NOTSUP to defines section of GHS build file. Tue Oct 14 21:11:20 1997 Douglas C. Schmidt * tao/xdr.h: Changed int _fd to ACE_HANDLE _fd to work on NT. Thanks to Satheesh Kumar for reporting this. Tue Oct 14 02:48:21 1997 Douglas C. Schmidt * TAO version 0.0.11, released Tue Oct 14 02:48:21 1997. Mon Oct 13 23:30:16 1997 * tao/connect.h: If we are using TSS, there is no reason to use locking in the connector. Therefore, I added a new typedef that defines the type of lock that should be used for the cached_connect_strategy. It is ACE_SYNCH_RW_MUTEX in the non-TSS case, and ACE_SYNCH_NULL_MUTEX in the TSS case. Mon Oct 13 21:34:00 1997 Douglas C. Schmidt * tao/svrrqst.cpp (oa): Cleaned up the coding style a bit. Sun Oct 12 15:38:35 1997 Douglas C. Schmidt * tao/client_factory: Gutted the client factory code related to the Strategy_Connector so that it's either in the TAO_Orb_Core. * tao/default_client.h: Removed the connector() from the Default_Client_Factory entirely since it's all been put into the TAO_ORB_Core now. * tao/giop.cpp (start): Hacked up the code so that we extract our connector from thread-specific storage if we're using the thread-per-rate concurrency model. This needs to be integrated more cleverly in the ORB. * tao/orbobj.h: Put an instance of the TAO_CONNECTOR into each TAO_ORB_Core object so that we don't have to share these things among all of the threads in a process, but instead can have them be located in thread-specific storage. * tao/orbobj.cpp (perform_work): Updated the run() and perform_work() methods to take optional ACE_Time_Value *'s (so they can return from timeouts) and to return error flags if things go wrong. * tao/orbobj.h (CORBA_ORB): Changed the set_up_for_listening() call to open(), which is more consistent with other usage in ACE/TAO. * tao/orbobj: Changed the name client_acceptor_ to peer_acceptor_ to reflect the fact that the connection model is more generic than the notion of client/server interactions (which really take place as the result of particular communication roles). * tao/corba.h: Moved the order of #includes around so that "connect.h" is included before "client_factory.h" * tao/connect.h: Moved the typedef of the ACE_Strategy_Connector<> from the TAO_Client_Strategy_Factory into the global space and renamed it TAO_CONNECTOR file so that it will be equivalent with the TAO_ACCEPTOR. Thu Oct 9 23:17:37 1997 Douglas C. Schmidt * tao/giop.cpp (invoke): If an error occurs, make sure to mark the handler_ as no longer being in use before we set it to 0. * tao/giop.cpp (TAO_GIOP_Invocation): We need to make sure that handler_ isn't 0 before we mark it as no longer being in use. Thu Oct 9 11:33:46 1997 Carlos O'Ryan * tao/giop.cpp: There was a minor sintax error. Tue Oct 07 09:34:35 1997 * tao/Orb_Core.h{cpp}: Added ACE_Svc_Export label to global TAO_ORB_Core_instance() method. Needed for DLL support on NT.i * default.bld, tao.bld: Modified VxWorks build files to add new files. Tue Oct 07 07:05:38 1997 Douglas C. Schmidt * TAO version 0.0.10, released Tue Oct 07 07:05:38 1997. Mon Oct 06 22:11:40 1997 * tests/Cubit/TAO/cubit_i.cpp (Cubit_please_exit): * tests/Cubit/TAO/cubitS.cpp (_skel_Cubit): Changed to use the new TAO_ORB_CORE_instance () global function. Mon Oct 6 20:06:05 1997 Chris Cleeland * tao/{boa.h,connect.cpp,giop.cpp,giop.h,roa.cpp,roa.h}: Eliminated unused methods and code. * tao/Orb_Core.*: Created new global function called TAO_ORB_Core_instance() which will return the correct instance of the ORB Core state. This had previously been accessed using TAO_ORB_CORE::instance(), but Win32s linking procedures made the template for TAO_ORB_CORE expand in both the application and the library/DLL, thus creating two singletons. Bad scene. The function should force the expansion of the template to only be in the DLL. * tao/{connect,default_client,default_server,orbobj,roa}.cpp: Changed references to TAO_ORB_CORE::instance() to TAO_ORB_Core_instance(). * tao/singletons.h: Removed definition of TAO_ORB_CORE. Sat Oct 4 20:08:57 1997 Nanbor Wang * tao/TAO.{dsp,dsw}: Added tao_internals.cpp into project file list. * tao/tao_internals.h (TAO_Internal): Added ACE_Svc_Export and $ I d $. * tao/tao_internals.i (open_services): Added default return value 0. * tao/tao_internals.cpp: Added #include "tao/tao_internals.h" and the CVS $ I d $ field. Also, we should include inline (.i) file for inline code. Fri Oct 3 09:29:05 1997 Chris Cleeland * tests/multiCubit/svr.cpp: Changed the key naming scheme back to not be unique throughout the process. Process-unique code is still there, but conditionally compiled mutually-exclusive to the other scheme. * tao/server_factory.*: The object_lookup_strategy method is gone and is replaced by the create_object_table factor method. See more information below. * tao/default_server.*: The server factory no longer holds on to a single pointer for the object lookup strategy. In previous incarnations of TAO, this didn't cause problems, but the advent of ORB-per-thread highlighted the inherent badness in this implementation choice. Gone is the object_lookup_strategy method, and in comes the create_object_table factory method, which creates and returns (and doesn't hold onto) an object table in accordance with parameters such as size and search algorithm. * tao/roa.cpp: Changed to use the create_object_table method. Thu Oct 2 13:48:31 1997 Chris Cleeland * tests/multiCubit/svr.cpp: Modified the key generation scheme to include thread ID. This works around a current shortcoming in the ORB Core in which the object table is shared throughout all object adapters (yes, this is being fixed). * tao/tao_internals.*: Added new class to scope static operations and data completely internal to the ORB. * tao/orbobj.{i,cpp}: Moved CORBA_ORB DTOR into cpp file. Finally got rid of icky static mutex in ORB_init(). Moved service config initialization into TAO_Internal method. * tao/Orb_Core.h: Added comments. Wed Oct 1 12:51:48 1997 Nanbor Wang * tao/corbacom.h: Removed CORBA:: name resolution from the class String_out which is itself defined in class CORBA. MSVC doesn't like that. Wed Oct 1 10:44:55 1997 Aniruddha Gokhale * tao/varout.h: Fixed some template errors in class TAO_Object_out. This was pointed to me by Carlos as he was compiling TAO in SGI. Wed Oct 1 09:10:38 1997 Carlos O'Ryan * docs/releasenotes.html: Updated information on the Event Channel, the use of the Naming Service is no longer a plan, it is done already. Tue Sep 30 20:14:29 1997 Douglas C. Schmidt * TAO version 0.0.9, released Tue Sep 30 20:14:29 1997. Tue Sep 30 19:42:09 1997 Douglas C. Schmidt * Makefile: Removed "docs" from DIRS so we don't try to run make in this directory. Tue Sep 30 17:27:00 1997 Chris Cleeland * : Tagged a release for limited consumption until the Service Configurator bug is fixed. * tests/multiCubit/svr.cpp: Added code to properly release CORBA objects. Delays between task activations simply aid in debugging and are not necessary. * tao/singletons.h: Made TAO_ORB_Core's singleton type compile-time selectable via the TAO_HAS_TSS_ORBCORE compiler flag. * tao/orbobj.cpp: Corrected an incorrect shift count, and the ORB Core now defaults to using the host name of the local host. * tao/Orb_Core.[hi]: Added explicit CTOR. * tao/Orb_Core.cpp: Insured that the correct template type was instantiated. * tao/Makefile: Added -DTAO_HAS_TSS_ORBCORE to CPPFLAGS. Tue Sep 30 16:43:12 1997 Chris Cleeland * docs/releasenotes.html: Added some notes on the ORB Core. Mon Sep 29 14:39:51 1997 Chris Cleeland * docs/{index,components,releasenotes}.html: Added additional documentation. Mon Sep 29 13:50:34 1997 Aniruddha Gokhale * TAO ORB changes: any.*: Added _var and _out classes. corbacom.{h,i} : Added _out types for primitive types, added _out and updated _var classes for String. Added corbacom.i for implementing the String's _var and _out classes sequence.{h,i}: Added a number of templates for _var and _out classes. However, these are yet to be used and tested. * Alpha release of TAO IDL compiler added to this release. This is an alpha release and we are currently putting it to rigorous test. A large amount of code for the back end is added under the TAO/TAO_IDL/be_include and TAO/TAO_IDL/be/ directories. In addition, some amount of ACEification done to methods belonging to the TAO/TAO_IDL/utils/ classes. A few errors in the IDL grammar have been fixed in fe/idl.yy. These had to do with the valid types for parameters and operation return types. There are still some errors recognizing unions which will be fixed later. The scanner (fe/idl.l) was modified to recognize the OMG IDL data type "any". * The ChangeLog file under TAO/TAO_IDL is removed and its contents are inserted appropriately in this ChangeLog file Sun Sep 28 17:01:27 1997 Chris Cleeland * tests/multiCubit: Added a multi-threaded version of Cubit. * tao/orbobj.cpp: At long last, Andy has his wish for not having to provide a "-ORBhost " argument to a server. It now uses ACE_OS::hostname() to determine the canonical hostname, and listens on that address. * tao/singletons.h: Changed the ORB Core singleton to be a TSS singleton; this will eventually be conditionally compiled in (before release). Also added comments and "safety defines". * tao/except.cpp: Changed some usage of fputs() in print_exception() to use ACE_DEBUG. Sun Sep 28 03:18:24 1997 Nanbor Wang * tests/Cubit/TAO/cubitC.h (Object): Changed references of base class from "CORBA::Object" to "CORBA_Object." MSVC doesn't allow this. * tao/Orb_Core.h: Added ACE_Svc_Export to TAO_Orb_Core class. * tao/corbacom.h: Added ACE_Svc_Export to all IID constants. Notice that we must put ACE_Svc_Export _after_ extern "C". Sat Sep 27 09:31:42 1997 Chris Cleeland * tao/Orb_Core.h: Fixed the friend declaration for CORBA::ORB_init(). * tests/Cubit/TAO/svr.cpp: Modified to use ORB::run() for event loop and eliminated code cruft. * tao/orbobj.*: Added stubs for 4 methods on the ORB from the POA spec: work_pending, perform_work, run, and shutdown. Of all of these, only run is reasonably implemented, and there not even according to the spec (because the way the spec works isn't really good for our purposes...need to work on that). See the docs for information. Moved the initialization of the Acceptor into its own method, set_up_for_listening (which is a one-shot style method), and placed a call to this within the aforementioned run method. * tao/default_client.h: Miscellaneous comments added. * tao/connect.cpp: Corrected an errant ACE_DEBUG () call. * tao/Orb_Core.*: Added private methods to allow setting of the orb and extended the laurel of friendship to CORBA::ORB_init(). Fri Sep 26 10:20:06 1997 Chris Cleeland * tao/orbobj.*: Added acceptor initialization code to CORBA_ORB CTOR. (We still need to find a way to NOT do this on the client side.) Moved CORBA_ORB CTOR into .cpp to avoid nasty interdependencies caused when it was in the .i file. Moved the specification of host and port to be ORB parameters rather than OA parameters, i.e., -OAhost is now -ORBhost and -OAport is now -ORBport. * tao/roa.*: Removed server-side connection endpoint initialization (Acceptor stuff) and put it into the ORB. * tao/connect.h: Renamed ROA_Acceptor to TAO_Acceptor (since it's not related to the OA any longer), and restored explicit inclusion of ace headers to avoid having to include "corba.h". * tao/boa.h: Removed unneeded get_addr() method. * tests/Cubit/TAO/cubitS.cpp: Updates to support changes in ORB Core. Thu Sep 25 12:28:02 1997 Chris Cleeland * tao/params.*: Added explicit CTOR & DTOR for TAO_{OA,ORB}_Parameters classes that somehow got removed in the previous round of attacks. Also specified all methods which go into the .i file as "LOCAL_INLINE" within the header. This avoids having to unravel ugly, complex order interdependencies. Thu Sep 25 03:48:02 1997 Chris Cleeland * docs/Options.html: Terse documentation on options available for the abstract factories. * tao/Orb_Core.*: Added this class (TAO_ORB_Core) to hold the "state" of an ORB. The intent is that as we move towards different concurrency models, this can be thrown into thread-specific storage and remain a singleton, essentially allowing the running of an ORB-per-thread. * tao/singletons.h: Added this file to contain type definitions for *ALL* ACE_Singleton<> types used within TAO. This was motivated by a desire to eliminate the multitude of warnings generated by g++ regarding methods being called before declared inline, and the only way to eliminate this was to insure that all inlined methods were seen by the compiler before the ACE_Singleton<> definition. Thus, corba.h includes singleton.h as the very last thing that it does. * tao/params.*: TAO_OA_Parameters is no longer a singleton, and because of new recognition of associations in the object model for an ORB, lots of data members and their methods have been shuffled to other places or eliminated. addr() now belongs in TAO_ORB_Parameters, and root_poa_ is in TAO_ORB_Core. The using_threads_, thread_flags_, upcall_, and forwarder_ members have been eliminated and their roles taken over by the Concurrency Strategies and the new Dispatch call chain implemented in my last round of changes. * tao/orbobj.cpp: Changed references to the ORB singleton to go through TAO_ORB_CORE::instance(). Also eliminated an unnecessary global function (_orb()). * tao/marshal.h: Moved all ACE_Singleton<> typedefs into singleton.h. See comment on tao/corba.h for more information. * tao/iioporb.h: Removed unnecessary TAO_ORB singleton. This is now assumed by TAO_ORB_Core instances. * tao/corbacom.h: Added CORBA::POA_ptr for upward compatibility. * tao/corba.h: Added Orb_Core.[hi] to the appropriate places. Moved iiop{orb,obj}.i inclusions around and moved typedef'ing of all ACE_Singletons into singletons.h, which must be #included AFTER all the inline files. This eliminated all of the used-before-declared-inline warnings. * tao/{connect,default_client,default_server,roa}.*: Updated singleton usages to go through the TAO_ORB_CORE singleton. * tests/Cubit/TAO/{cubitS,cubit_i}.cpp: Updated singleton usages to go through the TAO_ORB_CORE singleton. Wed Sep 17 12:26:56 1997 Nanbor Wang * tao/TAO.dsp: Updated source file list. Mon Sep 15 16:52:28 1997 Chris Cleeland * tests/Cubit/TAO/{cubitS,cubit_i}.cpp: Updated references to oa() to root_pos(). * tao/orbobj.cpp: Corrected some adjustments made for Service Configurator rework. * tao/giop.h: Moved the def for TAO_GIOP_EndOfFile out of the range of valid GIOP messages. * tao/connect.cpp: Added special case for TAO_GIOP_Reply to break out, and distinguished TAO_GIOP_EndOfFile from other errors by setting errno. * tao/boa.cpp: The complete reply header is now stuck into the response stream...what a novel concept! Fri Sep 12 05:40:50 1997 Chris Cleeland * params.h: Renamed oa() method to be root_poa() in preparation for the future. * orbobj.cpp: Adjusted the FAKE_SVC_ENTRY macro to catch up to recent changes in ACE. * giop.*: Major surgery including elimination of GIOP as a giant namespace (now only static methods are in it). Changed names of things to TAO_*. * {encode,decode,iiopobj,invoke,roa}.*: Name changes resulting from giop.cpp surgery. * corbacom.h: Moved TAO_opaque decl into here. * corba.h: Re-ordered the inline #includes so that the stuff that is ALWAYS inlined is included prior to the stuff that's only inlined when __ACE_INLINE__ is turned on. * connect.*: Modified handle_input() substantially. Added 3 template methods: read_message, handle_message, and send_response. * {cdr,marshal,object,typecode}.h: Removed the old "always include inlines" hackery. * boa.*: Added handle_request() method. Wed Sep 03 06:15:00 1997 Brian Mendel * tao/default_client.cpp: Added conditional sections around the code for setting the socket options for VxWorks. VxWorks does not support a 64K buffer size. Tue Sep 02 18:32:12 1997 Brian Mendel * tao/orbobj.cpp: Added include for Service_Repository.h to orbobj.h * tao/debug.cpp: Removed the TAO_NEEDS_UNUSED_VARIABLES #defines around the debug_stream declaration. debug_stream is used by dmsg_filter in debug.cpp. Changed SYSTEM_EXCEPTION to CORBA::SYSTEM_EXCEPTION. * tao/default_client.cpp: Removed extra parameter from ACE_Hash_Map_Entry #pragma instantiate statement. * tao/objtable.cpp: Deleted pragmas for instantiating ACE_Guard, ACE_Read_Guard, and ACE_Write_Guard to eliminate duplicate instantiations. Also, removed the instantiations from ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION for the same reason. * tao/orbobj.cpp: Added a typecast to void * in argvec_shift method. * tao/default.bld - Modified VxWorks Build File to change template instantiation modes. * tao/tao.bld - Added default_client.cpp, default_server.cpp, client_factory.cpp, and server_factory.cpp to the VxWorks build file. * tao/tao.dsp - Added default_client.cpp, default_server.cpp, client_factory.cpp, and server_factory.cpp to the Win NT project file. Tue Sep 2 07:31:45 1997 Chris Cleeland * tao/orbobj.cpp (ORB_init): VxWorks doesn't use ACE_Service_Config for now; the default factories are used. The Service Repository is still used, but the appropriate values are "stuffed" in manually. Sat Aug 30 17:07:18 1997 Aniruddha Gokhale * tests/Thruput: First attempt at ACEifying it and removing the tremendous amount of unnecessary stuff that was in there. This modified version still needs testing on other platforms. Fri Aug 29 10:59:34 1997 Chris Cleeland * tao/Makefile (TAO_ROOT): FINALLY corrected the default definition of TAO_ROOT. Thu Aug 28 14:04:44 1997 Chris Cleeland * tao/orbobj.i (CORBA_ORB): Removed assertion that was incorrect b/c our ORB object is a singleton and not dynamically allocated, thus the refcount can only reach zero at the end of its life. * tao/typecode.cpp (TC_Private_State): Relocated the delete of tc_discriminator_type_ to be after the deletion of the label list. This is because the discriminator will be inside each of the CORBA::Any instances within the label list, and deleting it before deleting the label list results in extreme badness. * tao/typecode.* (operator delete): Added CORBA_TypeCode::operator delete() to simplify deletion of both automatically and dynamically allocated instances of CORBA_TypeCode. This fixes the problem of freeing non-heap memory. * tao/nvlist.h (CORBA_NamedValue): Initialized refcount_ in the CTOR. Mon Aug 18 16:39:40 1997 Carlos O'Ryan * Makefile for TAO compiler: $(SOEXT) must be used instead of just .so, the former does not work on all platforms, notably HP-UX. Mon Aug 18 16:39:29 1997 Carlos O'Ryan * tao/Makefile: * tests/Demux_Test/CodeGen/Makefile: $(SOEXT) must be used instead of just .so, the former does not work on all platforms, notably HP-UX. Sun Aug 17 16:53:42 1997 Carlos O'Ryan * IIOP/test/Orbeline/client/Profile_Timer.h: * IIOP/tests/Cubit/VisiBroker/base_server/Profile_Timer.cpp: * IIOP/tests/Cubit/VisiBroker/base_server/Profile_Timer.h: * IIOP/tests/Cubit/VisiBroker/client/Profile_Timer.cpp: * IIOP/tests/Cubit/VisiBroker/client/Profile_Timer.h: * tests/Cubit/VisiBroker/base_server/Profile_Timer.cpp: * tests/Cubit/VisiBroker/base_server/Profile_Timer.h: * tests/Cubit/VisiBroker/client/Profile_Timer.cpp: * tests/Cubit/VisiBroker/client/Profile_Timer.h: We no longer use timestruct_t in ACE, it is a SYSVism; we use timespec_t instead. Sat Aug 16 01:11:56 1997 Chris Cleeland * tests/Cubit/TAO/svc.conf: Added this as an example of an application's service config configuration file. It also serves as the documentation for various strategy factory options at the moment. * tao/orbobj.cpp: Options parsed by the ORB are now -ORBsvcconf specifies the service configurator file to be used -ORBdaemon turn this into a daemon -ORBdebug turns debugging on in the service configurator BOA_init() now sets the itself in the TAO_OA_Parameters singleton. * tao/orbobj.*: Changed client_factory(), server_factory(), and params() to return pointers rather than references. * tao/{roa,giop}.cpp: Updated code that uses the CORBA::ORB::client_factory() to deal with the fact that it now returns a pointer rather than a reference. * tao/default_server.cpp (init): This method now properly initializes the contained reactive and threaded strategies so that they're actually usable! * tao/connect.cpp: Added #endif comments. Wed Aug 13 17:42:39 1997 Chris Cleeland * tests/Cubit/TAO/*: Converted to the CORBA:: namespace. * tao/default_server.h: Eliminated a few strategy accessors since they aren't provided by this implementation. * tao/default_server.cpp: Made this compile. * tao/corbacom.h: Slight reformatting of code. More importantly, added 'static' to the decl of ORB_init(). * tao/corba.h: Added fake comment to trigger C++ mode. * tao/any.h: Added #endif comments. Tue Aug 12 22:37:06 1997 Douglas C. Schmidt * tao/{any,typecode,cdr}.h: Finished appeasing the compiler gods so that we can remove the ACE_INLINE hack. Things now seem to be in order. * tao/corba.h: Got all the frigging header *.i files #included in the right order so that the GCC compiler stops complaining. * tao/giop.cpp: We had method definitions that were defined inline within the giop.h file. This was causing problems for GCC, which kept warning that methods in the cdi.i file were being used before being inlined. I've fixed this by creating a giop.i file. * tao/corba.h: Add #include files should be prefixed by "tao/". I've fixed this in the release. Tue Aug 12 16:23:17 1997 Chris Cleeland * tao/any.i: Added a missing replace() method used by overloaded operators. * tao/{any,cdr}.h: Added conditional ACE_INLINE before the decl for a few methods whose usage in other inlined methods appears prior to their definition. * tao/default_client.cpp: Eliminated names of unused arguments to stop the compiler from complaining. * tao/server_factory.cpp: Properly scoped return type names for several methods. * tao/{typecode,decode,deep_copy,debug}.cpp: Bracketed unused variables with #if defined(TAO_NEEDS_UNUSED_VARIABLES)/#endif; this leaves them around for right now in case they're important. * tao/client_factory.i (connector): Properly scoped return type's name. * tao/{client_factory,default_client}.cpp: Added necessary template instantiations. * tao/{typecode,cdr}.h: Added conditional ACE_INLINE in front of inlined methods to appease the compiler gods. * tao/boa.cpp (dispatch): Declared argument unused to get rid of warnings. * tao/corbacom.h: Moved #include of sequence.h before the decl for class CORBA. Sun Aug 10 10:58:21 1997 Douglas C. Schmidt * tao/client_factory: Moved the template specializations from the *.cpp file into the *.i file in order to get this stuff to link without multiply defined symbols. Thanks to Brian Mendel for giving me the idea to do this. * tao/client_factory.cpp: Added a template specialization for ACE_Hash_Addr. Sun Aug 10 08:56:20 1997 Aniruddha Gokhale * CORBA_ to CORBA:: transformation complete. All the files in the TAO/tao distribution have been affected. The most notable changes are: (1) A file called "tao/corba.h" is now the master file. All *.cpp files include *just* this file and nothing else. (2) "tao/corbacom.h" is the file that defines the CORBA namespace i.e., class CORBA. Individual CORBA classes such as TypeCode, BOA, etc are now defined inside the CORBA namespace. This will allow users and developers to use CORBA::TypeCode as opposed to the previous CORBA_TypeCode. Instead of nesting the classes, however, we use typedefs to define individual CORBA classes inside class CORBA e.g., typedef CORBA_TypeCode TypeCode; (3) All *.i files are included at the end of "tao/corba.h" and nowhere else. However, if __ACE_INLINE__ isnot defined, then each individual *.i file is not yet included in their corresponding .cpp file. This will be done next. * TAO/tests/Demux_Test: Included code that tests various demultiplexing strategies in TAO. At this point, however, the code will not work because of changes in TAO. This will be done next. A README file provides additional details. * TAO/Benchmark: A suite of benchmarking tests have been included. This is still in the preliminary stages of development. The idea is to compare various aspects of CORBA such as marshaling overhead, demux costs, throughput, latency, and others for a range of ORBs including TAO. Since there are differences in programming different ORBs, this suite tries to abstract out all the common features or atleast provide a uniform interface so that minimal efforts are required to port an application from one ORB to another. Benchmark/benchmark: This directory contains thecommon features Benchmark/Marshal_Test: Tests marshaling overhead in 3 ORBs - Orbix, VisiBroker, and TAO. More will be added. There are a few problems getting DSI to work. The tech support at IONA and VisiBroker have been contacted. Sat Aug 9 14:05:08 1997 Douglas C. Schmidt * tao: Continued to clean up all the code so that it is more consistent with ACE programming style. * tao/orbconf.h: Cleaned up a lot of the unnecessary #defines. * tao/default_server.h: Make sure we inherit from TAO_Server_Strategy_Factory, not TAO_Server_Factory. * tao/server_factory.cpp: Moved all the inline methods to be non-inline since this code will always be dynamically bound. * tao/client_factory.cpp: Cleaned things up a bit. Sat Aug 9 12:37:05 1997 Brian Mendel * tao/corba.h: Deleted include for xdr.h from corba.h. xdr.h is obsolete. * tao/objtable.cpp: Deleted pragmas for instantiating ACE_Guard, ACE_Read_Guard, and ACE_Write_Guard to eliminate duplicate instantiations. The templates are instantiated by ACE. Can these templates also be removed from the ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION section as well? * tao/default.bld: Added build file for VxWorks. * tao/tao.bld: Added build file for VxWorks. Fri Aug 8 14:25:20 1997 Chris Cleeland * tao/orbobj.*: Updated various methods to use the new dynamically-linked strategy factories discussed below. * tao/default_client.*: This file now contains the default client strategy factory which is (a) dynamically linkable by the service configurator and (b) can be configured by flags passed in via service configurator. * tao/client_factory.*: This file now contains the abstract base class for the client strategy factory. * tao/default_server.*: This file now contains the default server strategy factory which is (a) dynamically linkable by the service configurator and (b) can be configured by flags passed in via service configurator. * tao/server_factory.*: This file now contains the abstract base class for the server strategy factory. * tao/params.*: Renamed DEMUX_STRATEGY enum to TAO_Demux_Strategy and put it at global scope instead of within TAO_OA_Parameters. * tao/svc.conf.eg: Created this file to serve as an example of various lines one might find in an application's svc.conf. Thu Aug 7 09:51:31 1997 Aniruddha Gokhale * factories.cpp: Incorrect use of ACE_ASSERT in TAO_Server_Factory::object_lookup_strategy removed. * objtable.cpp: The octet sequence object key was being cast into a char* resulting in undefined behavior at times due to the lack of a NULL character to terminate it. Changes were made in the bind and find methods of TAO_Active_Demux_Table. Thu Aug 07 03:52:31 1997 Douglas C. Schmidt * TAO version 0.0.8, released Thu Aug 07 03:52:31 1997. Thu Aug 7 00:43:14 1997 Douglas C. Schmidt * tao/typecode.cpp: A couple of errors involving TAO_CONST crept in when Brian checked in his code. I fixed these. Wed Aug 6 18:28:41 1997 Chris Cleeland * tests/Cubit/TAO/clnt.cpp (main): Corrected the format specifications when timing was printing out from %ld to %d. For some reason this never caused a problem on other platforms. Wed Aug 6 17:27:44 1997 Brian R. Mendel * tao/typecode.h: Removed qualified name in typecode.h to eliminate compiler warnings by the GHS compiler. Line 297. * tao/decode.cpp: Changed wchar_t* to CORBA_WChar* to eliminate compiler errors on GHS compiler. Lines 142, 216, 729, 1371, and 1475. * tao/typecode.cpp: Deleted unreachable break statements at lines 429, and 477, 904, and 947. Wed Aug 6 16:31:29 1997 Chris Cleeland * tao/*: Changed 'const' to 'TAO_CONST' in contexts where the const didn't make sense. For example, this occurred in situations where methods declared their return type as 'const CORBA_String', which does not translate to 'const char*' but rather 'char* const'. * tao/corbacom.h: Added #define for TAO_CONST. See above for explanation. * tao/{connect,factories,giop,iiopobj,marshal,objtable, optable,orbobj,roa}.cpp: Removed errant trailing semi-colon on all the #pragma instantiate directives. Wed Aug 6 13:56:40 1997 Chris Cleeland * tao/{connect,factories,giop,iiopobj,marshal,objtable, optable,orbobj,roa}.cpp: Changed explicit template instantiations to use the new ACE enabling macro as well as adding the #pragma instantiate to placate Edison Design Group compilers. * tao/cdr.h: Changed default for CDR CTOR marshal factory to reflect the new name of the default marshal factory variable. * tao/orbobj.cpp (CORBA_ORB_init): Inserted call to TAO_Marshal::initialize(). * tao/marshal.*: Added TAO_Marshal class to scope static initialization methods for the marshalling engine. TAO_DEFAULT_MARSHAL_FACTORY has moved inside of this. Sun Aug 3 13:12:03 1997 Douglas C. Schmidt * tests/Cubit/TAO: Continued to improve the formatting of these tests. Sat Aug 2 13:55:40 1997 Douglas C. Schmidt * tests/Cubit/TAO: Cleaned up some of the formatting so that it is easier to read. Thu Jul 31 16:19:43 1997 Chris Cleeland * tao/corba.h: Removed incorrect #include "tao/corba.h" in this file. Bad form. Thu Jul 31 15:19:43 1997 Chris Cleeland * tests/Cubit/TAO/*.{h,i,cpp}: Changed all #include of specific header files to include the application-level "tao/corba.h". * tests/Cubit/TAO/Makefile (BIN): Removed test1_svr and test1_clnt for now until we can get them working again. They stopped working after the BOA API changed and the non-standard get_request() method removed. * tao/any.h: Inserted #includes which insure that this header file is not position-dependent on other header files. * tao/corba.h: Created this catch-all header file for APPLICATIONS to use as a single entry point. Currently it just includes all TAO header files, but will eventually be pared down to only those headers which warrant public exposure. Wed Jul 30 16:55:02 1997 Chris Cleeland * tao/typecode.i (CORBA_TypeCode): Re-ordered member initialization to correspond to declaration order. * tao/{typecode,orbobj,optable,decode,cdr}.cpp: Added explicit typecast to CORBA_ULong/unsigned long to eliminate warnings about comparisons btw. signed and unsigned entities. * tao/optable.cpp (bind): Put in explicit return type for TAO_Active_Demux_OpTable::bind(). Wed Jul 30 14:18:02 1997 Chris Cleeland * tao/Makefile: Corrected automatic definition of TAO_ROOT and fixed all dependencies on tao header/inline files. * tao/{typecode,object}.i: Moved a few methods to the beginning of the file so that the compiler KNOWS that they are inlined when it hits the first reference to them later in the file. * tao/object.cpp: Added an end-of-line to silence a very picky SGI compiler. Wed Jul 30 10:05:38 1997 Douglas C. Schmidt * tao/connect.cpp: Removed a number of explicit template instantiations that are already included in ACE. Wed Jul 30 14:20:18 1997 Darrell Brunsch * tao/boa.{i,h,cpp}: Removed the #include of "tao/objtable.h" and instead moved the methods that needed it from boa.i to boa.cpp Wed Jul 30 13:58:02 1997 Darrell Brunsch * tao/boa.h: Added #include of "tao/objtable.h" since it is needed in boa.i (which is included here when inlining is turned on) Wed Jul 30 10:05:38 1997 Douglas C. Schmidt * tao/boa.h: Removed the #include of "tao/objtable.h" which seems to be unnecessary and may cause problems for template specialization. * tao/iiopobj.i (IIOP_Object): Changed the second parameter to the IIOP_Object constructor so that we can is a const IIOP::ProfileBody &. This prevents a compiler warning. * tao/typecode.cpp (private_id): Removed unused variable status. * tao/objtable.cpp (bind): Removed the temp variable, which was unused. Tue Jul 29 19:31:11 1997 Douglas C. Schmidt * tao/boa.cpp (get_boa): Added casts of ACE_UINT32 so that we don't have ambiguous calls to the constructor of ACE_INET_Addr. * tao/deep_copy.cpp (deep_copy): Removed an unreachable return value. Mon Jul 21 15:08:36 1997 Chris Cleeland * TAO version 0.0.7, released Mon Jul 21 15:08:36 1997. Mon Jul 21 12:06:16 1997 Darrell Brunsch * tao/object.cpp: removed the #include of object.i since it will always be #included in object.h Thu Jul 17 16:54:38 1997 Douglas C. Schmidt * TAO version 0.0.6, released Thu Jul 17 16:54:38 1997. Thu Jul 17 16:43:23 1997 Chris Cleeland * tao/{optable,objtable}.cpp: Updated the explicit template instantiations at the end of these files to reflect the changes that Andy made. Thu Jul 17 10:08:45 1997 Aniruddha Gokhale * tao/align.h: A very subtle error in "align_binary" was corrected. I was assuming that align_binary is always called by "ptr_align_binary". In the original inline function versions of align_binary and ptr_align_binary, the function align_binary would subtract 1 from the specified alignment that ptr_align_binary provided. Since I assumed that "align_binary" would always be called by "ptr_align_binary", I subtracted the 1 in ptr_align_binary and passed the result to "align_binary". This caused all sorts of problems for application code that directly called "align_binary". This error has been fixed. The macros for align_binary and ptr_align_binary are now exactly as the original inline functions. * tao/any.{h,cpp}: Added comments. In addition, in the code for Any::replace, we check if "_value" exists before trying to DEEP_FREE it. Otherwise this was resulting in a segmentation fault violation. * tao/boa.{h,i}: Added comments and changed "release" to CORBA_release * tao/cdr.{h,cpp}: Added some comments and removed some stuff that was under #if 0 .. #endif * tao/corbacom.h: Added lots of comments for the CORBA_String_var class * tao/decode.cpp: Made TAO_Marshal_Union::decode to work, added comments. * tao/encode.cpp: Made TAO_Marshal_Union::encode to work, added comments. * tao/factories.{h,cpp}: Added lots of comments. Removed "void object_lookup_strategy" method since we do this in the parameters class. Added code that will use a user defined lookup strategy if the corresponding flag is set. This needs to be tested. * tao/iiopobj.{i,cpp}: In the allocation and deallocation of the buffer for object key, we now use "new/delete" instead of "malloc/free". * tao/interp.cpp: commented out a line that decremented 4 from the offset provided for indirected typecodes. I guess this was plain hack to get some broken things to work. * tao/objtable.{h,cpp}: Added lots of comments. Added code that will use template specialization for the dynamic hashing case. In addition, improved the destructors of the classes since previously, these were not releasing occupied memory. * tao/optable.{h,cpp}: Added lots of comments. Added template specialization for dynamic hashing scheme. Made dynamic hashing scheme the default. Added a new definition for "struct TAO_operation_db_entry". The idea is that an IDL compiler will generate a database of operations and their corresponding skel_ptrs. Such a database is now passed to teh constructors of the operation lookup tables. This way, only one instance of such lookup tables can be shared by any number of objects implementing the same interface. * tao/params.{h,i,cpp}: Made dynamic hashing the default. Added a hook by which users can supply their lookup strategies. *Needs testing*. * tao/typecode.{h,i,cpp}: Added comments and many changes. The private state's constructor now takes an argument that is a TCKind representing the TypeCode kind of the object of which we are the private state. Removed "child_free". Instead, we introduced a destructor for the private state that frees all the children. Another important change is to the constructor of the TypeCode class. We pass a "parent" pointer, if any, to the constructor. All children typecodes will share the octet buffer of the parent. Only freestanding typecodes will allocate octet buffers. We have a new data member called "non_aligned_buffer_" because the buffer we allocate may not be aligned on a 4 byte boundary. As a result, we may start using the buffer at a shifted position to the right. However, we do not want to lose a handle to the original buffer that was allocated because at the time of freeing, this pointer needs to be freed. * tests/Cubit/TAO: Modified a few files (method_db.i, cubitS.cpp) so that they use the modified optable and objtable classes. Added a README file to indicate how to run the example. * tests/Thruput_test: Modified virtually all the files to make it work with the latest TAO release and its include files. Also, changes similar to Cubit were necessary due to changes in the objtable and optable classes. Wed Jul 16 14:17:01 1997 Chris Cleeland * tao/params.*: Eliminated unnecessary ACE_LACKS_STATIC_DATA_MEMBER_TEMPLATES checks from TAO_OA_Parameters (unnecessary b/c it's not a template). Also corrected the type of TAO_OA_Parameters::ace_singleton_lock_. Wed Jul 16 11:34:36 1997 Chris Cleeland * tao/boa.cpp: Removed some unused code. * tao/compat/objbase.h: Added explicit check for prior inclusion of ace/OS.h, with an error being produced if it's not included. This will help keep me honest and remember to always include OS.h beforehand, since I do most of my development on non-WIN32 platforms. * tao/*.{h,cpp}: Added #include "ace/OS.h" before every inclusion of . This is required on WIN32 platforms because objbase.h eventually ends up including , which is the wrong version of winsock from what ACE requires. Thus, by including OS.h prior to objbase.h, objbase.h ends up not trying to include a winsock header. * tao/orbobj.cpp: Added missing #include for tao/debug.h. Wed Jul 16 10:55:55 1997 Darrell Brunsch * tao/PC_Install.bat: removed it since it isn't needed anymore * tao/TAO.dsp: Changed include path and removed calling of PC_Install.bat * tests/Cubit/TAO/{client,server}.dsp: Changed include path Tue Jul 15 16:13:53 1997 Chris Cleeland * tests/Cubit/TAO/cubitC.cpp: Added missing calls to Release() after QueryInterface() calls. The tip-off that this wasn't happening was the fact that, upon client exit, there were upwards of 15 references to the object references. Now it's only 5-7 (more work to go). * tests/Cubit/TAO/*: Changed all #include paths to be "tao/...". Also, changes to orb.h (see below) obviated additional header inclusion in certain files. * tao/compat/*.h: Changed the guts of these files so that they work more like their "real" counterparts in the VC++ 5.0. This should encourage compatibility. Note that, unlike the previous files, objbase.h MUST be included before initguid.h; this is consistent with the model on WIN32. * tao/*.{h,cpp}: Changed all #include paths to be "tao/...". Also, changes to orb.h (see below) obviated additional header inclusion in certain files. * tao/giop.cpp: Removed get_request() crufty old code. * tao/iiopobj.cpp: Backed out many prior special-code additions for defining IIDs. Hopefully the need for these is negated by changes elsewhere in the "compat" files. * tao/object.cpp: Corrected the conditional compilation switch used to determine if we define IID_IUnknown. This now happens whenever WIN32 isn't defined, instead of before when it was only on unix or vxworks platforms. * tao/Makefile: Eliminated the need to copy files into a "proto/" directory; now, everything is built into and used from the "tao" directory. There is also a new, optional, environment variable--TAO_ROOT--which should be set to the ".../TAO" directory. If it's not set, the Makefile will set it to $WRAPPER_ROOT/TAO. Lastly, libcorba.* has changed to libTAO.*. * tao/orb.h: Eliminated many header files which had been explicitly included here and were causing all manner of problems with circular includes. Library components must now be careful to include appropriate headers for all components they use, and we will likely have to create a corba.h file for clients to use. Fri Jul 11 12:12:40 1997 Darrell Brunsch * tao/TAO.dsp: changed to use ace-r.dll in the release version * tests/Cubit/TAO/{client,server}.dsp: changed to use ace-r.dll and tao-r.dll for the release versions. Thu Jul 10 15:47:24 1997 Chris Cleeland * docs/: Removed the following obsolete files: README.apm, BUILDING, and TESTS. * tao/params.*: Moved the instance() methods into the .cpp from the .i, as well as the declaration for the singleton locks. Having the singleton locks declared in the .i file caused much consternation when ACE inlining was turned on. * tao/iiopobj.cpp: #ifdef'd the IID_STUB_Object declaration added a few days ago so that it happens one way on NT, and another in the rest of the Universe. I would have preferred to find a more general solution, but didn't find one quickly enough to satisfy my current requirements. * tao/roa.*: Removed get_request() method. This should improve our McCabe scores ;-) * tao/boa.h: Removed get_request() method. Wed Jul 9 14:44:31 1997 Darrell Brunsch * TAO-Install: Added installation instructions for NT Tue Jul 8 20:52:06 1997 Darrell Brunsch * tao/PC_Install.bat: Made it very quiet. * tao/params.{cpp,h,i}: Changed TAO_OA_PARAMS from a ACE_Singleton to a plain singleton by just integrating the ACE_Singleton code into the class. Tue Jul 8 14:27:47 1997 Darrell Brunsch * tao/except.h: added ACE_Svc_Export to SYSEX macro * tao/iiopobj.cpp: changed declaration of IID_STUB_Object to include ACE_Svc_Export * tao/stub.h: added ACE_Svc_Export to IID_STUB_Object Tue Jul 8 12:44:14 1997 Darrell Brunsch * tao/orbobj.cpp: Put the "*" in before the comment since it is supposed to be there. Put a space between it and the comment to get rid of the warning which VC was giving originally. Tue Jul 8 10:21:27 1997 Darrell Brunsch * tao/typecode.cpp: Changed a few loop counters from int to CORBA_ULong to get rid of unsigned/signed comparison warnings * tao/orbobj.cpp: Got rid of a "*" before a comment. Looked like a typo * tao/PC_Install.bat: Replaced "#...." with "rem ...." Mon Jul 7 20:59:05 1997 Douglas C. Schmidt * tests/Cubit/TAO/test1_{svr,clnt}.cpp (main): Added template specialization code and updated the formatting. Thanks to Arturo Montes for reporting this. * tests/Cubit/TAO/test1_svr.cpp (main): Added the -i options to getopt(). Thanks to Arturo Montes for reporting this. * TAO/tao/orbconf.h (SIZEOF_LONG_DOUBLE): Added a #define for M_UNIX. Thanks to Arturo Montes for reporting this. Sun Jul 06 02:37:24 1997 Douglas C. Schmidt * TAO version 0.0.5, released Sun Jul 06 02:37:24 1997. Sun Jul 6 00:10:28 1997 Douglas C. Schmidt * tao: Fixed all the code so that we put ACE_MT around all the ACE_GUARD_RETURN macros. * tao: Updated all of TAO to make sure we use [] when deleting arrays in order to avoid memory leaks. This looks like lots of sloppiness left over from the original SunSoft IIOP code. Sat Jul 5 16:12:31 1997 Douglas C. Schmidt * tao/{any,iiopobj,nvlist,principa,request,roa,svrrqst,typecode}.cpp: Fixed a double-deletion of a lock. * tao/typecode.i: Cleaned up lots of minor warnings with the code that are only revealed when running GCC. The code should now compile almost completely cleanly with -wall. * tao/typecode.{i,h}: Changed the name of TC_PRV_State to TC_Private_State. * tao: Replaced ACE_Thread_Mutex with ACE_SYNCH_MUTEX so that the code will compile on non-threaded and threaded platforms alike. * tao/marshal.cpp: Added template specializations for the Marshal primitives. Thanks to Arturo Montes for reporting this. * tao/Makefile (LDLIBS): Replaced -lcorba with -lACE so that we no longer have problems with circular link dependencies. Thanks to Arturo Montes for reporting this. Sat Jul 05 13:25:23 1997 Douglas C. Schmidt * TAO version 0.0.4, released Sat Jul 05 13:25:23 1997. Sat Jul 5 12:39:57 1997 Douglas C. Schmidt * tao: All throughout TAO I removed the direct use of system include files in lieu of using ace/OS.h. * tao/{orbobj,typecode}.cpp: orb.h must be included before others include files. Previous includes prevent correct use of ACE config flags, therefore, I removed them. Thanks to Arturo Montes for reporting this. * tao/{debug,roa}.cpp: changed _POSIX_THREADS to ACE_HAS_PTHREADS. Thanks to Arturo Montes for reporting this. * tao/decode.cpp (decode): The casting (CORBA_ULong) kind is unnessary and wrong so I removed it. Thanks to Arturo Montes for reporting this. * tao/debug.cpp (emit_prefix): Changed line 99 from #define emit_prefix (stream) ... to #define emit_prefix(stream) ... The blank character prevent after macro name (emit_prefix) prevent correct definition. Thanks to Arturo Montes for reporting this. Sat Jul 5 01:04:24 1997 Douglas C. Schmidt * TAO/tao/xdr.cpp: Removed unistd.h and string.h from the xdr.cpp file since those aren't necessary. Thanks to Arturo Montes for reporting this. Fri Jul 4 00:18:21 1997 Douglas C. Schmidt * tao/roa.h: Removed derogatory COMments ;-). Thanks to Anton van Straaten for reporting this. Thu Jul 3 16:16:14 1997 Darrell Brunsch * Added ACE_Svc_Export to a couple of declarations to make NT happier Thu Jul 3 13:43:20 1997 Darrell Brunsch * Added Visual C++ 5.0 project and workspace files for the TAO library and Cubit test Wed Jul 2 12:44:42 1997 Aniruddha Gokhale * TAO/tests: Moved tests from TAO/IIOP/tests to TAO/tests Wed Jul 02 00:20:28 1997 Douglas C. Schmidt * Compiled the first alpha release of TAO on Solaris just to make sure it still works. So far, so good... hence, the first alpha release is out the door! Tue Jul 1 23:35:53 1997 Douglas C. Schmidt * VERSION: Added a VERSION file, starting at version 0.0.0... Tue Jul 1 23:00:15 1997 Aniruddha Gokhale * Added a new tests directory with the Cubit and TTCP examples. The older test directory will be deleted soon. In addition, the tc_constants in the tc_constants.cpp file are declared with an ACE_Svc_Export to make the Win NT compiler happy. Extern declarations in typecode.h had the same changes. * Updated the PC_install.bat file. In addition, there was one more warning in typecode.cpp (Win NT compiler) that was fixed. Finally, in the the tc_const.cpp file, the ACE_Svc_Export was used accidently. This has been fixed. * A number of files were updated with ACE_Svc_Export so that variables and classes do not remain unresolved for Win32 platform. Similarly, Irfan had sent me a list of warnings that the Win NT compiler was giving. These are fixed. * marshal.*: Changed the way make_marshal_object works. Instead of having a switch statement, we index into a private table of marshal objects using the TypeCode _kind field. MarshalFactory now maintains this private table. Mon Jun 30 17:39:02 1997 Douglas C. Schmidt * Added a new README file and a COPYING file that explains the contents of TAO and clarifies its copyright status. Sun Jun 29 10:06:50 1997 Aniruddha Gokhale * marshal.*: Added CORBA_Environment as a parameter to make_marshal_object factory method. The reason for doing this was to enable inlining of the CDR::encode and CDR::decode methods. * typecode.*: Changed the way typecodes get deleted. Constant typecodes are now owned by the ORB and their private state freed when the ORB dies. IDL generated typecodes are not owned by the ORB and are the only ones whose refcount matters. Typecodes belonging to the IDL generated typecodes are also not owned by the ORB and there is no effect on their refcount. They get freed only if the parent is destroying itself. In typecode.i, methods such as length and content_type were not getting inlined due to presence of switch statements. Converted to if/else. * interp.cpp: Bug fix: Had previously forgotten to update the size/alignment of the private state of the typecode. Fri Jun 27 14:27:49 1997 Aniruddha Gokhale * any.cpp: The deep_copy and deep_free optimizations applied. In the previous release, I had forgotten to add these to the Any constructor (that calls deep_copy) and Any destructor/replace (that call deep_free). * connect.cp, factories.cpp: Added code that hardcodes the socket buffer sizes to 64K. This is a hack for the time being. Thu Jun 26 10:02:47 1997 Aniruddha Gokhale * Some more progress on IDL compiler. Generates the client and server side files without much contents in it. Thu Jun 26 09:49:38 1997 Aniruddha Gokhale * Added a full range of optimizations to the TAO IIOP interpretive marshaling engine. The static methods encoder and decoder have been removed from the CDR class. Instead, separate classes for marshaling have been created for each individual data type. The CDR stream maintains a factory that returns an appropriate marshaling object depending on the data type to be marshaled. Files added include marshal.h, marshal.i, encode.cpp, decode.cpp, deep_free.cpp, and deep_copy.cpp. The marshal.h file defines classes for an abstract MarshalObject. The factory is responsible to return a concrete specialized instance of the MarshalObject. * Updated the CORBA_TypeCode class so that it now provides all the CORBA_2.0 compliant operations. These include length(), content_type(), member_type(), member_label(), discriminant_type(), id(), default_index(). The equal() operations is still not implemented. In addition, precomputation optimizations are applied to the TypeCode class. This includes precomputing various parameters (if any) of a TypeCode. For example, a struct TypeCode keeps track of the member count and member types. As a result, it is not necessary to interpret the CDR encapsulated stream to retrieve these parameters. * At this time, there are some problems getting the Unions to work. Thu Jun 12 15:45:49 1997 Chris Cleeland * IIOP/lib/objtable.cpp: Added explicit template instantiations for ACE_Hash_Map_Manager<>. * IIOP/lib/giop.*: Finally got rid of all those methods that took ACE_HANDLE as the argument. Now, all those operate on ACE_SOCK_Streams. Thu Jun 5 10:15:21 1997 Chris Cleeland * IIOP/lib/giop.cpp: Corrected output format in error message. Thu Jun 5 10:09:01 1997 Chris Cleeland * IIOP/test/svr.cpp: Added a new class to catch SIGINT and terminate. This was necessary to Quantify the server process. * IIOP/lib/orbobj.h: Added ACE_INLINE to forward decls of CORBA_release() and CORBA_is_nil(). Wed May 23 14:39:01 1997 Brian Mendel * IIOP/lib/objtable.{h,cpp}: Added template specialization of ACE_Hash_Map_Manager for char*'s. * IIOP/test/cubitS.cpp: Fixed type_id to be of type CORBA_String_var. Also, added a debug msg to print the object address to show the object for which the request is made. * IIOP/test/svr.cpp: Added capability to create multiple Cubit objects via command line options. Added -n for number of objects and -k for specifying a base name. For instance, -k Beevis -n 2 creates Beevis1 and Beevis2 objects. The clnt can then specify a specific object for the request as usual. Wed May 22 12:28:45 1997 Brian Mendel * IIOP/test/clnt.cpp: Deleted VxWorks specific sections. Command line is now working for VxWorks. * IIOP/test/svr.cpp: Deleted VxWOrks specific sections. Command line is now working for VxWorks. Wed May 22 11:31:42 1997 Chris Cleeland * IIOP/test/svr.cpp: Added better error checking and messages, and performed general re-formatting. * IIOP/test/method_db.i (initialize_method_db): Changed arg type to use a pointer to the abstract class TAO_Operation_Table. * IIOP/test/cubitS.cpp (_skel_Cubit::_skel_Cubit): Added better error checking and messages. Also defaulted to use the linear object table implementation rather than the hashed to simplify debugging. * IIOP/test/clnt.cpp: Moved some code around so that more of the code is common is less is specific to VxWorks and other platforms. Also did general re-formatting. * IIOP/lib/optable.cpp (TAO_Linear_OpTable::find): Initialization of the loop variable makes the loop work properly. * IIOP/lib/objtable.cpp (TAO_Dynamic_Hash_ObjTable::find): Explicitly specified length of object key in CTOR for ACE_CString because object keys are not zero-terminated. * IIOP/lib/giop.cpp: Added newlines to the end of all ACE_DEBUG() messages. * IIOP/lib/factories.cpp: Added template specializations for ACE_Hash_Addr. Tue May 22 09:32:41 1997 Brian Mendel * IIOP/lib/cdr.h: Deleted #define old_value ACE_INLINE and #define ACE_INLINE old_value lines. Added #undefs for ACE_INLINE prior to redefines. Changes required to compile on Windows NT. Tue May 20 14:47:46 1997 Chris Cleeland * IIOP/test/cubitS.h: Removed forward decl of TAO_Active_Operation_Table. * IIOP/test/{cubitC,cubitS}.*: Changed include quoting characters from [<>] to double-quotes. * IIOP/test/Makefile: Removed cubit.o from clnt and svr target (this has been subsumed by cubit[CS]). * IIOP/lib/optable.h: Changed ACE_RW_Mutex to ACE_SYNCH_RW_MUTEX. * IIOP/lib/optable.cpp: Inserted explicit template instantiations. * IIOP/lib/Makefile: Added optable to the Makefile. * IIOP/lib/optable.cpp: Moved ~TAO_Operation_Table() into here. * IIOP/lib/object.i: Moved find() and bind() into the cpp file. Moved ~TAO_Operation_Table() into optable.cpp. Tue May 20 14:39:00 1997 Brian Mendel * IIOP/test/*: Commited changes to Cubit Example as a current snapshot of required changes. * IIOP/lib/*: Changes required for header file includes. Added conditionals around _IIOP_BUILD_ Tue May 20 13:55:58 1997 Chris Cleeland * IIOP/test/*: Commited this stuff in-process so that Brian M. doesn't have to duplicate effort. Tue May 20 13:04:00 1997 Brian Mendel * IIOP/lib/debug.cpp: Deleted spaces between flockfile (f) and funlockfile (f). Changed instances of debug_filter to TAO_debug_filter. Deleted space between emit_prefix (stream). * IIOP/lib/cdr.cpp Added undef(s) for ACE_INLINE and do_undef_on_ACE_INLINE to eliminate redefinition problems. Tue May 20 10:55:09 1997 Chris Cleeland * IIOP/lib/cdr.h: Fixed the automatic inclusion of cdr.i into cdr.h by checking to see if __ACE_INLINE__ is not defined and, if so, defining ACE_INLINE to be "inline" (we tidy up the namespace immediately after the inclusion of cdr.i, too). See source for comments regarding why this is done. * IIOP/lib/optable.cpp (TAO_Linear_OpTable_Entry): Removed setting of opname and skel_ptr to zero in CTOR since the CTOR for those already insures this. Moreover, NT's compiler was complaining about ambiguous resolutions. * IIOP/lib/{orbobj,giop,debug,boa}.cpp: Fixed reference to debug_level so it's TAO_debug_level. * IIOP/lib/object.h: Replaced inclusion of optable.h with forward decl of TAO_Operation_Table. * IIOP/lib/optable.cpp: Fixed names of methods that were changed in the header but never changed in the source. Amazing that neither g++ nor Sun C++ caught these gaffs! (Finally, the NT compiler wins). * IIOP/lib/{orbobj,object}.h: Changed the forward decls of CORBA_release() and CORBA_is_nil() so that they are only in effect when inlining is NOT being used. * IIOP/lib/giop.cpp: Fixed incorrect passing of an object to ACE_DEBUG() where an int is expected. Mon May 19 17:16:34 1997 Chris Cleeland * IIOP/lib/roa.cpp: Explicit cast rids us of a warning. * IIOP/lib/params.h: Fixed CTOR name. Once again I'm surprised G++ didn't catch this. * IIOP/lib/optable.h: Corrected erroneous method signature on bind(). * IIOP/lib/objtable.cpp: Corrected erroneous method signature on TAO_Linear_ObjTable::bind(). * IIOP/lib/{object,orbobj}.h: Forward declaration of CORBA_release(CORBA_Object_ptr) and CORBA_is_nil(CORBA_Object_ptr) were commented out. I think this will cause a problem when we DON'T inline, but I'll cross that bridge later. * IIOP/lib/{orb,factories}.h: Made inclusion of some headers conditional on the compilation phase (building the library or an application). * IIOP/lib/cdr.i: Removed incorrect default arguments (g++ didn't catch them). * IIOP/lib/Makefile: Removed thread from the header list. Mon May 19 10:07:00 1997 Chris Cleeland * IIOP/lib/optable.cpp: Changed implementation of the operation table and the parameters repository so that they use the right class names. Sat May 17 17:18:38 1997 Aniruddha Gokhale * First pass at providing a backend to the SunSoft's CORBA IDL compiler front end. Fri May 16 17:30:31 1997 Chris Cleeland * IIOP/lib/svrrqst.*: Corrected some comments, adjusted some argument type names to reflect their new, namespace-sanitized names, and moved short methods into a new inline file. * IIOP/lib/stub.h: Corrected some comments and adjusted some argument type names to reflect their new, namespace-sanitized names. * IIOP/lib/roa.cpp: Corrected syntax error and fixed up typedef. * IIOP/lib/params.*: Removed extraneous comments and fixed argument type on demux_strategy(). * IIOP/lib/orbobj.*: Added comments, removed static pointer to the ORB. * IIOP/lib/optable.h: Removed extraneous comments and fixed typedefs. * IIOP/lib/objtable.cpp: Fixed some syntax errors introduced by reformating. * IIOP/lib/object.cpp: Adjusted some argument type names to reflect their new, namespace-sanitized names. * IIOP/lib/invoke.cpp: Removed crufty #includes and adjusted some argument type names to reflect their new, namespace-sanitized names. * IIOP/lib/iioporb.*: Moved short methods into inline file, added IIOP_ORB_ptr typedef, and changed data member to conform to ace standards. * IIOP/lib/iiopobj.*: Added the second CTOR that I forgot last time and adjusted some argument type names to reflect their new, namespace-sanitized names. * IIOP/lib/giop.h: Added comments for various enums and structures. * IIOP/lib/giop.cpp: Switched various GIOP::Invocation methods to use handler_->peer() for socket communication rather than going through a file descriptor. Also began the arduous (no other word could explain it!) process of converting the homegrown debugging message macro uses into ACE_DEBUG() uses. * IIOP/lib/factories.*: Added explicit DTOR for TAO_Client_Factory and completed all the darn explicit template instantiations. Changed 'Svc_Handler' to 'TAO_Client_Connection_Handler', and added the forgotton TAO_Client_Factory::connector() method. * IIOP/lib/debug.*: Added 'TAO_' prefix to global debug state variables and removed crufty #includes. * IIOP/lib/connect.cpp: Change ROA_Handler to TOA_OA_Connection_Handler (missed these the last time through). * IIOP/lib/cdr.cpp: Added responsive commentary. * IIOP/lib/boa.cpp: Added comments to the dispatching code. * IIOP/lib/{any,boa,request,typecode}.cpp: Removed references to thread.h/connmgr.*. Thu May 15 19:08:16 1997 Douglas C. Schmidt * Finished updating all the reformatting. Thu May 15 15:54:49 1997 Chris Cleeland * IIOP/lib/principa.h: Corrected syntax error which eliminated the _refcount data member. * IIOP/lib/{params,roa}.*: Updated class names to reflect ROA --> TOA_OA pseudo-namespace change. * IIOP/lib/orbobj.*: Updated CORBA_ORB_init() to return pointer to new ORB singleton. * IIOP/lib/orb.h: Commented out some include files to eliminate wierd circular dependencies. * IIOP/lib/optable.h: Moved TAP_Operation_Table into here. Put OpTable* classes into the TAO_Operation_Table* pseudo-namespace. * IIOP/lib/objtable.*: Moved TAO_Object_Table into here. Moved the Entry classes out of the scope of their respective concrete operation tables, so they're now named _Entry. * IIOP/lib/object.*: Moved TAO_Operation_Table into optable.*, and added a data member which carries a pointer to the ORB with which the object is associated. * IIOP/lib/iioporb.*: Added a singleton typedef for the ORB which is what CORBA_ORB_init() will now return. Modified string_to_object() so that it sets the ORB on the CORBA_Object that it returns. * IIOP/lib/{iiopobj,nvlist}.h: Added some responsive commentary. * IIOP/lib/giop.cpp: Modified connection establishment code in GIOP::Invocation::start() to utilize the client connection manager in the ORB. * IIOP/lib/giop.h: Put a TAO_Client_Connection_Handler* into GIOP::Invocation in place of the client_endpoint. * IIOP/lib/factories.*: Updated explicit template instantiations, added TAO_Client_Connection_Handler. * IIOP/lib/connect.*: Renamed things--ROA_Parameters --> TOA_OA_Parameters, ROA_Handler --> TOA_OA_Connection_Handler. * IIOP/lib/boa.h: Moved TAO_Object_Table into objtable.*, added comments where appropriate. * IIOP/lib/{any,cdr,iioporb,invoke}.*: Re-formatting and creation of inline method file. Tue May 13 21:51:22 1997 Douglas C. Schmidt * Continued to update the format of the TAO source code so that it will be consistent with the style used in ACE. Mon May 12 17:02:29 1997 Chris Cleeland * IIOP/lib/roa.*: Moved short method into an inline file. Miscellaneous reformatting. Adjustment to new type names (prefaced by TAO_ for namespace protection). * IIOP/lib/object.*: Moved short methods into an inline file. Changed lookup()/register_op() to find()/bind() for consistency with established ACE APIs. Miscellaneous reformatting. * IIOP/lib/iiopobj.*: Moved short methods into an inline file. Added CTOR for IIOP::Version and IIOP::ProfileBody. Added convenience CTOR for IIOP_Object where the profile can be supplied. Miscellaneous reformatting. * IIOP/lib/boa.*: Moved short methods into an inline file. Changed lookup()/register_obj() to find()/bind() for consistency with established ACE APIs. * headers: Added comments to force C++ mode in emacs for header files, and changed SCCS version tag info to RCS version tag info. Wed May 7 14:49:46 1997 Aniruddha Gokhale * IIOP/lib/corbacom.cpp: Some bugs from the CORBA_String_var class have been fixed. Thanks to Brian Mendel for noticing these. * IIOP/lib/boa.cpp: In CORBA_BOA::dispatch, the opname local variable of type CORBA_String_var is changed to be of type CORBA_String. This was because the String_var class would assume ownership of the quantity assigned and delete it. Thanks again to Brian Mendel for noticing this. Tue May 6 14:06:49 1997 Aniruddha Gokhale * IIOP/lib/boa.hh: the register_obj's 2nd argument is changed from CORBA_Object_ptr& to CORBA_Object_ptr * IIOP/lib/object.hh: the return type for register_op method on CORBA_Object is changed from void to int to be consistent. Added a new method "get_subclass" to CORBA_Object that returns a pointer to the subclass. Typeically, this would be pointer to an object that implements an interface. * IIOP/lib/objtable.{hh,cpp}: @nd argument of register_obj changed from CORBA_Object_ptr& to CORBA_Object_ptr. * IIOP/lib/orb.hh: the type signature of "skeleton" is changed to take CORBA_Object_ptr rather than CORBA_Object_ptr& as its 2nd argument. Mon May 5 20:28:54 1997 Aniruddha Gokhale * IIOP/lib/boa.cpp: commented out code that uses the "void *context" field. It doesn't make any sense to have it. * IIOP/lib/boa.hh: Added 2 pure virtual methods (shutting_down and clean_shutdown). In addition, the "register_obj" method was added. It was missing before. * IIOP/lib/corbacom.cpp: String_var's constructor bug is fixed. It was trying to free storage that was never allocated. * IIOP/lib/iiopobj.{hh,cpp}: Added a method - "get_name" that retrieves the object name. * IIOP/lib/object.{hh,cpp}: Added a method - "get_name" that retrieves the object's name or key. This is for debugging purposes. * IIOP/lib/orbobj.cpp: There was an infinite loop in parsing the options to BOA_init. Fixed. * IIOP/lib/stub.hh: Added the "get_name" virtual method. Sat May 3 22:45:23 1997 Aniruddha Gokhale * IIOP/lib/boa.cpp: Added code temporarily that invokes the skeleton that is looked up. We still need to add code that will handle the case when no match is found on the operation names. * IIOP/lib/boa.hh: The register_obj method on TAO_Object_Table now returns an integer indicating status of registering (-1 => failure, 0 for success). * IIOP/lib/object.hh: The register_op method on TAO_Operation_Table now returns an integer code (O for success, -1 for failure). * IIOP/lib/objtable.{hh,cpp}: The register_obj method returns an integer code representing either success or failure. * IIOP/lib/optable.{hh,cpp}: Added new files that implement concrete strategies for operation name lookup. Fri May 2 08:48:29 1997 Aniruddha Gokhale * IIOP/lib/object.hh: Modified the signature of register_op on TAO_Operation_Table to take a second argument to be a pointer to the actual skeleton. Thanks to Brian Mendel for reporting this. Thu May 1 16:46:11 1997 Aniruddha Gokhale * IIOP/lib/object.{hh,cpp}: Added a method that can set the parent pointer. * IIOP/lib/params.cpp: A hook has been provided in ROA_Factory to enable the user to use a user-defined demux strategy. Wed Apr 30 22:00:51 1997 Aniruddha Gokhale * IIOP/lib/objtable.{hh,cpp}: Added two new files that define different object demultiplexing strategies. * IIOP/lib/Makefile: Added objtable as additional source file to compile. * IIOP/lib/boa.cpp: Provided the default destructor for the TAO_Object_Table. * IIOP/lib/boa.cpp: Provided the default destructor for the TAO_Operation_Table. * IIOP/lib/orbobj.cpp: Added support for the -OAtablesize option in the call to CORBA_ORB::BOA_init method. * IIOP/lib/params.{hh,i,cpp}: Added support to ROA_Factory to return a specific object lookup strategy. *IIOP/lib/roa.cpp: The ROA constructor initializes its "objtable_" private data member with the object lookup strategy returned by ROA factory. Tue Apr 29 11:52:48 1997 Aniruddha Gokhale * IIOP/lib/any.hh: Moved CORBA_Any_ptr declaration to orb.hh. * IIOP/lib/boa.{hh,cpp}: Renamed BOA to CORBA_BOA. The CORBA_BOA class maintains a pointer to an abstract TAO_ObjectTable class. Concrete classes inheriting from TAO_ObjectTable will provide strategies for lookup. Added virtual functions to do dispatch based on object key. In addition, added a lookup method based on object key that delegates the task of looking the object to the object table it maintains. Changed the signature of typedef CORBA_BOA::dsi_handler to be pointer to member function of class CORBA_BOA. Eventually, this will point to the dispatch method of class CORBA_BOA. Moved "struct Dispatch_Context" from roa.hh to boa.hh since we want BOA to be a full fledged OA eventually and not remain an abstract class as it is now. All other OA's such as ROA inherit from BOA and only add extra functionality. * IIOP/lib/connect.cpp: There was a syntax error (missing comma) in one of the ACE_DEBUG statements which has been fixed. * IIOP/lib/corbacom.{hh,cpp}: Added class CORBA_String_var as well as the CORBA compliant CORBA_string_dup. * IIOP/lib/except.hh: Moved CORBA_Exception_ptr declaration to orb.hh. * IIOP/lib/object.hh: Added an abstract class TAO_Operation_Table. CORBA_Object maintains a pointer to this abstract class. The IDL compiler will eventually generate concrete classes that employ different lookup strategies for operation name lookup. * IIOP/lib/orb.hh: Added forward declarations to all CORBA_* classes. In addition, moved all the CORBA_*_ptr declarations here. * IIOP/lib/orbobj.{hh,cpp}: Added the CORBA compliant BOA_init method to class CORBA_ORB. Users can now pass arguments to BOA_init. Eventually, we want to make this method return any of the specialized OA's depending on the arguments. Right now, we get a pointer to the ROA. * IIOP/lib/params.{hh,i}: Added some more methods and enum declarations to the ROA_PARAMS singleton. * IIOP/lib/principa.hh: Moved the CORBA_Principal_ptr declaration to orb.hh. * IIOP/lib/roa.{hh,cpp}: Moved some functionality to boa.hh. ROA is now only a specialized form of BOA. * IIOP/lib/stub.hh: Moved the typedef for "skeleton" to orb.hh. * IIOP/lib/svrrqst.{hh,cpp}: Had to rename BOA to CORBA_BOA. * IIOP/lib/typecode.hh: Moved the CORBA_TypeCode_ptr declaration to orb.hh. Tue Apr 22 23:30:19 1997 Chris Cleeland * IIOP/lib/connect.cpp (open): Added log message. * IIOP/lib/params.cpp (concurrency_strategy): Uses reactive strategy when appropriate. * IIOP/lib/params.hh: Reactive strategy added. Tue Apr 22 21:03:15 1997 Chris Cleeland * IIOP/lib/giop.cpp: Changed erroneous ACE_GUARD calls to ACE_GUARD_RETURN calls. Tue Apr 22 16:15:52 1997 Chris Cleeland * IIOP/lib/roa.cpp: Removed more POSIX thread calls. * IIOP/lib/invoke.cpp: Changed ForceSynchronousCancellation to ACE_Synchronous_Cancellation_Required and made it use the ACE_OS calls. * IIOP/lib/{typecode,svrrqst,request,principa,orbobj,nvlist,iiopobj,giop,except,any}.*: Removed all vestiges of pthread mutexes...they are now ACE_Thread_Mutexes. This will likely have to change if we want to compile something completely devoid of threads, but that's another day. Also, the mutexes have moved from being globals to being members on the respective classes. No files should be dependent on thread.hh any longer. * IIOP/lib/connect.cpp (open): Removed code obsoleted by use of the Strategy_Acceptor. * IIOP/lib/{roa.cpp,connect.cpp},IIOP/tests/svr.cpp: Changes to use new singletons described below. * IIOP/lib/params.*: Changed ROA_Parameters and ROA_Factory to use ACE_Singleton<>. The singleton types are now named ROA_PARAMS and ROA_FACTORY. Mon Apr 21 23:44:34 1997 Douglas C. Schmidt * IIOP/lib/roa.cpp (ROA): Changed spelling of clientAcceptor_ to client_acceptor_ to be consistent with ACE style conventions. Mon Apr 21 10:52:42 1997 Chris Cleeland * IIOP/test/clnt.cpp: Moved call to CORBA_ORB_init() prior to the parsing of the command line args. This got switched around during porting to VxWorks. * IIOP/lib/roa.cpp: Changed calls using clientAcceptor_to use APIs vended by ACE_Strategy_Acceptor. * IIOP/lib/roa.hh: Moved default thread flags into ROA_Factory. * IIOP/lib/params.*: Added ROA_Factory, a singleton which is the beginning of an abstract factory dynamically producing runtime strategies based on information found in ROA_Parameters. * IIOP/lib/connect.cpp: Added call to ROA_Handler's base class CTOR in initializer list. * IIOP/lib/connect.hh: Changed ROA_Handler's CTOR so that it can take an optional ACE_Thread_Manager* arg. This makes it compatible with the CTORs for the base class. Also changed base class for ROA_Acceptor to ACE_Strategy_Acceptor. * IIOP/lib/svrrqst.*: Changed references to BOA_ptr from TOA_ptr. * IIOP/lib/connect.*: ROA_Handler/ROA_Acceptor moved from roa.* into here. * IIOP/lib/params.*: ROA_Parameters moved from roa.* into here. * IIOP/lib/boa.*: What used to be TOA is now BOA, and lives in here. * IIOP/lib/roa.*: Major restructuring required removal of all classes (see other log entries) from here. This file now houses only the ROA class. * IIOP/lib/{tcpoa.*,toa.*}: Removed because of name changes from TCP_OA->ROA and TOA->BOA. Fri Apr 18 08:09:19 1997 Brian Mendel * cdr.hh,corbacom.{hh,cpp},giop.cpp,marshall.cpp,typecode.cpp: Changes required for WChar missed in earlier committed code. * connmgr.cpp: Changes required for select statement. * nvlist.cpp: Conditional include for memory.h added. VxWorks does not have memory.h. * object.cpp: Added conditional for VXWORKS to define IID_IUnknown. * orbconf.hh: Minor tuning of the configuration file. * tcpoa.{hh,cpp}: Added VXWORKS conditional includes. * toa.cpp: Added VXWORKS conditional includes. Mon Apr 15 17:01:00 1997 Brian Mendel * roa.cpp: Added return statement to ROA_Handler::open(void*) method. * giop.cpp: Modified giop::read_buffer to replace undefined fc with peer.get_handle(). Modified giop::incoming_message method parameter list to match function prototype exactly. * tcpoa.cpp: Replaced fd instances in debug messages with peer.get_handle() calls. Mon Apr 14 13:45:54 1997 Chris Cleeland * roa.{hh,i,cpp},tcpoa.cpp,svr.cpp: Replaced ACE_ROA with ROA_Parameters, which is a GoF-style singleton. Sun Apr 13 00:01:56 1997 Chris Cleeland * roa.cpp: Fix continuation condition in ROA_Handler::svc()'s loop so that it doesn't stop after one iteration. Also added some debug messages. * giop.cpp: Fixed some returns being called with no value. This should have been caught in the previous round of changes. Sat Apr 12 23:10:08 1997 Chris Cleeland * tcpoa.{hh,cpp}: TCP_OA::handle_message() now returns a value indicating how a message was handled. * roa.cpp: ROA_Handler::handle_input() now returns a meaningful value based on what TCP_OA::handle_message() returns. * giop.{hh,cpp}: Added end-of-file detection on socket connections, and that is now propagated all the way back up through GIOP::incoming_message(). I don't know if I violated something in the spec by doing this, but it was necessary. I'll look into it later. Thu Apr 10 11:49:44 1997 Chris Cleeland * giop.{hh,cpp}: Overloaded all methods dealing with connections so that there are two, one taking a file descriptor as argument, the other taking an ACE_SOCK_Stream. Right now, the *_Stream version simply forwards to the fd-based one. I would have preferred to get rid of the fd-based methods altogether, but we've only converted the server runtime; the client is still using the original sun code, which is effectively fd-based. In the course of doing this, I also simplified the decls for incoming_message by creating typedefs for some of the function pointers passed as args. * orbconf.hh: Fixed the stupid auto-endian-ness detector AGAIN...had my logic reversed! * roa.cpp: Adjusted code in accordance with changes to tcpoa.hh. * tcpoa.hh: Moved and renamed TCP_OA::dispatch_context to be ::Dispatch_Context, and changed its endpoint member to be an ACE_SOCK_Stream. * roa.hh: Fixed handle_input() to use the underlying peer() data member for reading data, rather than using its argument. This is so that when a different thread handles each connection, handle_input() can simply be called repeatedly by svc(). Wed Apr 9 16:19:21 1997 Chris Cleeland * tcpoa.cpp: Fixed a problem that G++ didn't notice regarding changing the notion of endpoints in servers from server_endpoint to an ACE_HANDLE. Wed Apr 9 15:43:37 1997 Chris Cleeland * svr.cpp: The -p option is gone, and -e takes its place and is required. This requires the user to specify not only the port number, but also the IP address of on which the server should listen for requests. See ACE_INET_Addr documentation for valid string formats for addresses. Also, the -t option sets the "use threads" global. * orbconf.hh: Hopefully resolved the tension between MS and Unix platforms in inferring endian-ness of the target platform based on preprocessor defines. We now check for i386, _M_X86, and vax (yeah, like we really worry about that, but it's easy to do). * roa.{hh,i,cpp}: Added support for spawning threads to handle incoming requests. This involves a state flag for whether or not to use threads, calling activate() in ROA_Handler::open() if that flag is set, and creating ROA_Handler::svc() that simply loops calling handle_input(). Tue Apr 8 11:14:57 1997 Chris Cleeland * IIOP/test/svr.cpp: Moved setting of upcall(), forwarder(), context(), etc. into here rather than in TCP_OA::TCP_OA(), which is where I mistakenly stuck them a few days ago (duh!). * IIOP/lib/tcpoa.cpp: Removed setting of ACE_ROA::upcall(), which belongs in the server code. I got confused because the function names were so similar: tcpoa.cpp contains ::tcp_oa_dispatcher(), and svr.cpp contains ::tcpoa_dispatch(). * IIOP/lib/roa.{hh,i,cpp}: Added forwarding function to ACE_ROA global namespace hack. * IIOP/lib/orbconf.hh: Fixed preprocessor checks that auto-detect endian-ness of this processor. Mon Apr 7 21:08:24 1997 Chris Cleeland * IIOP/test/test1_{clnt,svr}.cpp: THESE HAVE NOT BEEN CONVERTED TO USE ACE EVENT HANDLING!! This round of changes explicitly instantiates templates where required. * IIOP/test/svr.cpp: Global function ::OA_listen() no longer exists; its functionality is now fully contained within ::main(). If USE_ACE_EVENT_HANDLING is defined, a Reactor-based event loop is used. The original intent was to allow conditional compilation to select btw. the original method and a Reactor-based method. However, weaving that into the library proved far more difficult than anticipated, so more than likely not defining USE_ACE_EVENT_HANDLING will cause massive grief. * IIOP/lib/toa.cpp: Changed call to TCP_OA::init() to reflect new ACE_INET_Addr argument type. * IIOP/lib/tcpoa.cpp (TCP_OA): All initialization methods were changed, specifically the CTOR and TCP_OA::init, to reflect the introduction of ACE_INET_Addr. Two side-effects of using ACE_INET_Addr are that (1) a server can specify the address on which it wants to listen and (2) best that I can tell, the server MUST specify the address on which it wants to listen because otherwise it won't be able to publish a rational IOR. The event loop is now changed to simply loop on Reactor::handle_events(). * IIOP/lib/tcpoa.hh (TCP_OA): Removed vestiges of this component's use of the original connection management scheme. Where appropriate, hostnames and ports were replaces by ACE_INET_Addr, endpoints by ACE_HANDLEs, etc. One particularly nasty thing done was to declare ROA_Handler as a friend so that handle_message() can be called from ROA_Handler::handle_input(), which to me exposes a hole in the original architecture wherein input is "pulled" rather than waited-for. We might need to re-think how this is handled within TAO. * IIOP/lib/roa.{hh,i,cpp}: These files contain the required components to support the new server-side ACE-based connection/event substrate. The client side remains, as always, using the connection mgmt scheme used by the original Sun IIOP code. * IIOP/lib/giop.cpp: Added explicit template instantiation for when this is needed. * IIOP/lib/corbacom.hh: Now protects itself from multiple inclusion. * IIOP/lib/Makefile: Added roa.* where appropriate. Wed Mar 19 10:25:21 1997 Chris Cleeland * IIOP/docs/us/codecount/*.count: Added to repository. * Makefile: Added to repository. * IIOP/objbase.h: Moved to IIOP/compat. * IIOP/initguid.h: Moved to IIOP/compat. Thu Mar 13 14:06:28 1997 Chris Cleeland * ChangeLog: Added the ChangeLog.