Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

C++17 removed std::auto_ptr, updated ACE/TAO to not use std::auto_ptr anymore #2109

Merged
merged 15 commits into from
Sep 4, 2023

Commits on Sep 2, 2023

  1. C++17 removes std::auto_ptr so we don't provide the ACE auto_ptr temp…

    …lates anymore with C++17, use std::unique_ptr as replacement. Updated a lot of examples/tests to not use any ACE auto pointer templates but just std::unique_ptr
    
        * ACE/ACEXML/common/HttpCharStream.cpp:
        * ACE/ACEXML/common/URL_Addr.cpp:
        * ACE/ACEXML/common/XML_Codecs.cpp:
        * ACE/ACEXML/examples/SAXPrint/main.cpp:
        * ACE/ACEXML/parser/parser/Parser.cpp:
        * ACE/ACEXML/parser/parser/Parser.h:
        * ACE/Kokyu/Default_Dispatcher_Impl.cpp:
        * ACE/Kokyu/Kokyu_defs.h:
        * ACE/Kokyu/tests/DSRT_MIF/MIF.cpp:
        * ACE/ace/ACE.cpp:
        * ACE/ace/Auto_Functor.h:
        * ACE/ace/Auto_Ptr.cpp:
        * ACE/ace/Auto_Ptr.h:
        * ACE/ace/Auto_Ptr.inl:
        * ACE/ace/CDR_Stream.cpp:
        * ACE/ace/DLL_Manager.cpp:
        * ACE/ace/Log_Msg.h:
        * ACE/ace/Pagefile_Memory_Pool.cpp:
        * ACE/ace/Proactor.cpp:
        * ACE/ace/Refcounted_Auto_Ptr.h:
        * ACE/ace/SOCK_SEQPACK_Acceptor.cpp:
        * ACE/ace/SOCK_SEQPACK_Association.cpp:
        * ACE/ace/SString.h:
        * ACE/ace/Service_Gestalt.cpp:
        * ACE/ace/Sock_Connect.cpp:
        * ACE/ace/Svc_Conf_Lexer.cpp:
        * ACE/ace/TLI.cpp:
        * ACE/ace/UUID.cpp:
        * ACE/ace/config-win32-msvc-142.h:
        * ACE/apps/JAWS/clients/Caching/Locator_Request_Reply.cpp:
        * ACE/apps/JAWS/clients/Caching/URL_Properties.cpp:
        * ACE/apps/JAWS/server/JAWS_IO.cpp:
        * ACE/apps/gperf/src/Key_List.cpp:
        * ACE/bin/main2TMAIN.pl:
        * ACE/docs/exceptions.html:
        * ACE/examples/IPC_SAP/UPIPE_SAP/ex2.cpp:
        * ACE/examples/IPC_SAP/UPIPE_SAP/ex3.cpp:
        * ACE/examples/Reactor/WFMO_Reactor/Handle_Close.cpp:
        * ACE/examples/Reactor/WFMO_Reactor/Window_Messages.cpp:
        * ACE/examples/Threads/future1.cpp:
        * ACE/examples/Threads/future2.cpp:
        * ACE/examples/Web_Crawler/HTTP_URL.cpp:
        * ACE/include/makeinclude/platform_linux_icc.GNU:
        * ACE/netsvcs/lib/Name_Handler.cpp:
        * ACE/tests/CDR_File_Test.cpp:
        * ACE/tests/CDR_Test.cpp:
        * ACE/tests/Codecs_Test.cpp:
        * ACE/tests/Compiler_Features_09_Test.cpp:
        * ACE/tests/Conn_Test.cpp:
        * ACE/tests/Future_Set_Test.cpp:
        * ACE/tests/Future_Test.cpp:
        * ACE/tests/Log_Msg_Test.cpp:
        * ACE/tests/Logging_Strategy_Test.cpp:
        * ACE/tests/Message_Queue_Test_Ex.cpp:
        * ACE/tests/Reactor_Fairness_Test.cpp:
        * ACE/tests/Reactor_Performance_Test.cpp:
        * ACE/tests/Reactor_Timer_Test.cpp:
        * ACE/tests/Refcounted_Auto_Ptr_Test.cpp:
        * ACE/tests/SString_Test.cpp:
        * ACE/tests/UUID_Test.cpp:
        * TAO/docs/events_tutorial.html:
        * TAO/docs/tutorials/Quoter/Simple/ImprovedServer/index.html:
        * TAO/examples/Borland/ChatClientWnd.cpp:
        * TAO/examples/Borland/ChatClientWnd.h:
        * TAO/examples/Load_Balancing/Load_Balancer_i.cpp:
        * TAO/orbsvcs/orbsvcs/AV/SCTP_SEQ.h:
        * TAO/orbsvcs/orbsvcs/Event/EC_ObserverStrategy.cpp:
        * TAO/orbsvcs/orbsvcs/HTIOP/HTIOP_Acceptor.cpp:
        * TAO/orbsvcs/orbsvcs/IFRService/AliasDef_i.cpp:
        * TAO/orbsvcs/orbsvcs/IFRService/ArrayDef_i.cpp:
        * TAO/orbsvcs/orbsvcs/IFRService/AttributeDef_i.cpp:
        * TAO/orbsvcs/orbsvcs/IFRService/ConstantDef_i.cpp:
        * TAO/orbsvcs/orbsvcs/IFRService/Contained_i.cpp:
        * TAO/orbsvcs/orbsvcs/IFRService/Container_i.cpp:
        * TAO/orbsvcs/orbsvcs/Log/RTEventLogFactory_i.cpp:
        * TAO/orbsvcs/orbsvcs/Naming/Persistent_Context_Index.cpp:
        * TAO/orbsvcs/orbsvcs/Naming/Persistent_Naming_Context.cpp:
        * TAO/orbsvcs/orbsvcs/Naming/Storable_Naming_Context.cpp:
        * TAO/orbsvcs/orbsvcs/Naming/Storable_Naming_Context_Activator.cpp:
        * TAO/orbsvcs/orbsvcs/Naming/Transient_Naming_Context.cpp:
        * TAO/orbsvcs/orbsvcs/Notify/ETCL_Filter.cpp:
        * TAO/orbsvcs/orbsvcs/Notify/EventChannel.h:
        * TAO/orbsvcs/orbsvcs/Notify/EventChannelFactory.cpp:
        * TAO/orbsvcs/orbsvcs/Notify/EventChannelFactory.h:
        * TAO/orbsvcs/orbsvcs/Notify/Event_Manager.h:
        * TAO/orbsvcs/orbsvcs/Notify/MonitorControl/NotificationServiceMonitor_i.cpp:
        * TAO/orbsvcs/orbsvcs/Notify/Object.cpp:
        * TAO/orbsvcs/orbsvcs/Notify/ProxyConsumer.cpp:
        * TAO/orbsvcs/orbsvcs/Notify/ProxyConsumer.h:
        * TAO/orbsvcs/orbsvcs/Notify/RT_Builder.cpp:
        * TAO/orbsvcs/orbsvcs/Notify/Structured/StructuredProxyPushConsumer.cpp:
        * TAO/orbsvcs/orbsvcs/Notify/ThreadPool_Task.h:
        * TAO/orbsvcs/orbsvcs/PortableGroup/Fragments_Cleanup_Strategy.cpp:
        * TAO/orbsvcs/orbsvcs/PortableGroup/GOA.cpp:
        * TAO/orbsvcs/orbsvcs/PortableGroup/PG_FactoryRegistry.cpp:
        * TAO/orbsvcs/orbsvcs/PortableGroup/PG_Group_List_Store.cpp:
        * TAO/orbsvcs/orbsvcs/PortableGroup/PG_Object_Group_Storable.cpp:
        * TAO/orbsvcs/orbsvcs/Sched/Reconfig_Scheduler_T.cpp:
        * TAO/orbsvcs/performance-tests/RTEvent/Colocated_Roundtrip/driver.cpp:
        * TAO/orbsvcs/performance-tests/RTEvent/Federated_Roundtrip/client.cpp:
        * TAO/orbsvcs/performance-tests/RTEvent/Federated_Roundtrip/server.cpp:
        * TAO/orbsvcs/performance-tests/RTEvent/RTCORBA_Baseline/client.cpp:
        * TAO/orbsvcs/performance-tests/RTEvent/RTCORBA_Baseline/server.cpp:
        * TAO/orbsvcs/performance-tests/RTEvent/RTCORBA_Callback/client.cpp:
        * TAO/orbsvcs/performance-tests/RTEvent/RTCORBA_Callback/server.cpp:
        * TAO/orbsvcs/performance-tests/RTEvent/Roundtrip/server.cpp:
        * TAO/orbsvcs/performance-tests/RTEvent/lib/Control.cpp:
        * TAO/orbsvcs/performance-tests/RTEvent/lib/Low_Priority_Setup.cpp:
        * TAO/orbsvcs/performance-tests/RTEvent/lib/Low_Priority_Setup.h:
        * TAO/orbsvcs/performance-tests/RTEvent/lib/RTEC_Initializer.cpp:
        * TAO/tao/Acceptor_Registry.cpp:
        * TAO/tao/CSD_ThreadPool/CSD_TP_Collocated_Synch_Request.inl:
        * TAO/tao/DynamicAny/DynAnyUtils_T.cpp:
        * TAO/tao/Dynamic_TP/DTP_Thread_Pool.cpp:
        * TAO/tao/IIOP_Acceptor.cpp:
        * TAO/tao/IIOP_Connector.cpp:
        * TAO/tao/LocateRequest_Invocation.cpp:
        * TAO/tao/Messaging/ExceptionHolder_i.cpp:
        * TAO/tao/ORB_Core.cpp:
        * TAO/tao/PortableServer/Active_Object_Map.cpp:
        * TAO/tao/PortableServer/Object_Adapter.cpp:
        * TAO/tao/PortableServer/Root_POA.cpp:
        * TAO/tao/RTCORBA/Thread_Pool.cpp:
        * TAO/tao/Strategies/SCIOP_Acceptor.cpp:
        * TAO/tao/ZIOP/ZIOP_Service_Context_Handler.cpp:
        * TAO/tests/IOR_Endpoint_Hostnames/list_interfaces.cpp:
    jwillemsen committed Sep 2, 2023
    Configuration menu
    Copy the full SHA
    ed54a76 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e6e9ef4 View commit details
    Browse the repository at this point in the history
  3. Get rid of ACE_Auto_Array_Ptr

        * ACE/Kokyu/Default_Dispatcher_Impl.h:
        * ACE/ace/Sock_Connect.cpp:
        * ACE/ace/TLI.cpp:
        * ACE/examples/C++NPv2/Reactor_Logging_Server_Adapter.cpp:
        * ACE/examples/C++NPv2/TP_Logging_Server.h:
        * ACE/examples/Reactor/TP_Reactor/client.cpp:
        * ACE/protocols/ace/HTBP/HTBP_Channel.cpp:
        * ACE/protocols/ace/HTBP/HTBP_Session.cpp:
        * ACE/protocols/ace/INet/BidirStreamBuffer.h:
        * ACE/protocols/ace/INet/BufferedStreamBuffer.h:
        * ACE/protocols/ace/INet/HTTP_BasicAuthentication.cpp:
        * ACE/protocols/ace/RMCast/Link.cpp:
        * ACE/tests/CDR_Test.cpp:
        * ACE/tests/Reactor_Performance_Test.cpp:
        * TAO/examples/Simple/grid/Grid_i.cpp:
        * TAO/examples/Simple/grid/Grid_i.h:
        * TAO/orbsvcs/orbsvcs/AV/SCTP_SEQ.cpp:
        * TAO/orbsvcs/orbsvcs/PortableGroup/Fragments_Cleanup_Strategy.cpp:
        * TAO/orbsvcs/orbsvcs/PortableGroup/UIPMC_Mcast_Transport.cpp:
        * TAO/orbsvcs/tests/Bug_2285_Regression/client2.cpp:
        * TAO/tests/Oneway_Send_Timeouts/Client.cpp:
    jwillemsen committed Sep 2, 2023
    Configuration menu
    Copy the full SHA
    babc33f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9ce21b6 View commit details
    Browse the repository at this point in the history
  5. Use std::unique_ptr

        * ACE/ACEXML/parser/parser/Parser.cpp:
        * ACE/apps/JAWS/server/HTTP_Server.cpp:
        * ACE/protocols/ace/INet/FTP_ClientRequestHandler.cpp:
        * ACE/protocols/ace/INet/HTTPS_Context.h:
        * ACE/protocols/ace/INet/HTTPS_SessionFactory.cpp:
        * ACE/protocols/ace/INet/HTTP_ClientRequestHandler.cpp:
        * ACE/protocols/ace/RMCast/Socket.cpp:
        * ACE/protocols/ace/RMCast/Socket.h:
        * ACE/protocols/examples/INet/FTP_Simple_exec.cpp:
        * ACE/protocols/examples/INet/HTTP_Simple_exec.cpp:
        * ACE/tests/Bug_3539_Regression_Test.cpp:
        * TAO/DevGuideExamples/Multithreading/GracefulShutdown/MessengerServer.cpp:
        * TAO/orbsvcs/ImplRepo_Service/Activator_Loader.h:
        * TAO/orbsvcs/ImplRepo_Service/Locator_Loader.h:
        * TAO/orbsvcs/ImplRepo_Service/tao_imr_i.h:
        * TAO/orbsvcs/examples/ImR/Combined_Service/dynserver.h:
        * TAO/orbsvcs/orbsvcs/IFRService/Container_i.cpp:
        * TAO/orbsvcs/orbsvcs/Naming/FaultTolerant/FT_Naming_Manager.cpp:
        * TAO/orbsvcs/orbsvcs/Naming/Storable_Naming_Context.cpp:
        * TAO/orbsvcs/orbsvcs/Naming/Storable_Naming_Context.h:
        * TAO/orbsvcs/orbsvcs/Naming/Storable_Naming_Context_Activator.cpp:
        * TAO/orbsvcs/orbsvcs/Notify/Admin.h:
        * TAO/orbsvcs/orbsvcs/Notify/Consumer.h:
        * TAO/orbsvcs/orbsvcs/Notify/CosNotify_Service.h:
        * TAO/orbsvcs/orbsvcs/PortableGroup/PG_Object_Group_Storable.cpp:
        * TAO/orbsvcs/orbsvcs/PortableGroup/UIPMC_Mcast_Transport.cpp:
        * TAO/orbsvcs/tests/CosEvent/Timeout/TimeoutTestMain.cpp:
        * TAO/tests/Bug_3524_Regression/test_i.cpp:
        * TAO/tests/ORB_Local_Config/Two_DLL_ORB/ORB_DLL.h:
        * TAO/tests/Storable/Savable.cpp:
    jwillemsen committed Sep 2, 2023
    Configuration menu
    Copy the full SHA
    292335d View commit details
    Browse the repository at this point in the history
  6. Include fix

        * TAO/tao/PortableServer/Root_POA.cpp:
    jwillemsen committed Sep 2, 2023
    Configuration menu
    Copy the full SHA
    5fd8963 View commit details
    Browse the repository at this point in the history
  7. Update EventChannel.cpp

    jwillemsen authored Sep 2, 2023
    Configuration menu
    Copy the full SHA
    bf716f7 View commit details
    Browse the repository at this point in the history
  8. Update HTBP_Session.cpp

    jwillemsen authored Sep 2, 2023
    Configuration menu
    Copy the full SHA
    eaf09c2 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    6771ed9 View commit details
    Browse the repository at this point in the history

Commits on Sep 3, 2023

  1. Include changes memory

    jwillemsen committed Sep 3, 2023
    Configuration menu
    Copy the full SHA
    552b2a8 View commit details
    Browse the repository at this point in the history
  2. Use std::move

        * TAO/orbsvcs/orbsvcs/Notify/ProxyConsumer.cpp:
    jwillemsen committed Sep 3, 2023
    Configuration menu
    Copy the full SHA
    b91f321 View commit details
    Browse the repository at this point in the history
  3. Document change

        * ACE/NEWS:
    jwillemsen committed Sep 3, 2023
    Configuration menu
    Copy the full SHA
    4e006ad View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    eb32c46 View commit details
    Browse the repository at this point in the history

Commits on Sep 4, 2023

  1. More auto_ptr cleanup

        * TAO/TAO_IDL/be/be_codegen.cpp:
        * TAO/docs/events_tutorial.html:
    jwillemsen committed Sep 4, 2023
    Configuration menu
    Copy the full SHA
    c5fbb63 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    eb0d6c1 View commit details
    Browse the repository at this point in the history