From: Daniel M. <tub...@us...> - 2003-12-12 23:24:33
|
Update of /cvsroot/epp-rtk/epp-rtk/c++/src/data In directory sc8-pr-cvs1:/tmp/cvs-serv5162/src/data Modified Files: Tag: epp-pre02 Makefile.am epp_Exception.h epp_XMLException.h epp_contactXMLbase.cc epp_contactXMLbase.h epp_contactdata.h epp_domainXMLbase.cc epp_domaindata.h epp_eppXMLbase.cc epp_eppXMLbase.h epp_eppdata.h epp_hostXMLbase.cc epp_hostdata.h Log Message: bringing the old .info C++ rtk update to gcc 3.x standard for C++ and backporting the improved automake/autoconf from the 0.7.x release of the C++ RTK Index: Makefile.am =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/data/Makefile.am,v retrieving revision 1.1 retrieving revision 1.1.2.1 diff -C2 -d -r1.1 -r1.1.2.1 *** Makefile.am 19 Jun 2001 19:16:38 -0000 1.1 --- Makefile.am 12 Dec 2003 23:24:29 -0000 1.1.2.1 *************** *** 1,6 **** ! noinst_LIBRARIES = libdata.a ! libdata_a_SOURCES = epp_eppXMLbase.cc epp_contactXMLbase.cc \ ! epp_domainXMLbase.cc epp_hostXMLbase.cc CLEANFILES = *~ --- 1,97 ---- ! lib_LIBRARIES = libdata.a ! exportedheaders = \ ! epp_AuthInfo.h \ ! epp_CheckResult.h \ ! epp_Command.h \ ! epp_ContactAddress.h \ ! epp_ContactCheckReq.h \ ! epp_ContactCheckRsp.h \ ! epp_ContactCreateReq.h \ ! epp_ContactCreateRsp.h \ ! epp_ContactDeleteReq.h \ ! epp_ContactDeleteRsp.h \ ! epp_ContactInfoReq.h \ ! epp_ContactInfoRsp.h \ ! epp_ContactNameAddress.h \ ! epp_ContactPhone.h \ ! epp_ContactStatus.h \ ! epp_ContactTransferReq.h \ ! epp_ContactTransferRsp.h \ ! epp_ContactUpdateAddRemove.h \ ! epp_ContactUpdateChange.h \ ! epp_ContactUpdateReq.h \ ! epp_ContactUpdateRsp.h \ ! epp_ContactVoice.h \ ! epp_Credentials.h \ ! epp_DomainCheckReq.h \ ! epp_DomainCheckRsp.h \ ! epp_DomainContact.h \ ! epp_DomainCreateReq.h \ ! epp_DomainCreateRsp.h \ ! epp_DomainDeleteReq.h \ ! epp_DomainDeleteRsp.h \ ! epp_DomainInfoReq.h \ ! epp_DomainInfoRsp.h \ ! epp_DomainPeriod.h \ ! epp_DomainRenewReq.h \ ! epp_DomainRenewRsp.h \ ! epp_DomainStatus.h \ ! epp_DomainTransferReq.h \ ! epp_DomainTransferRsp.h \ ! epp_DomainUpdateAddRemove.h \ ! epp_DomainUpdateChange.h \ ! epp_DomainUpdateReq.h \ ! epp_DomainUpdateRsp.h \ ! epp_Exception.h \ ! epp_Greeting.h \ ! epp_HostAddress.h \ ! epp_HostCheckReq.h \ ! epp_HostCheckRsp.h \ ! epp_HostCreateReq.h \ ! epp_HostCreateRsp.h \ ! epp_HostDeleteReq.h \ ! epp_HostDeleteRsp.h \ ! epp_HostInfoReq.h \ ! epp_HostInfoRsp.h \ ! epp_HostStatus.h \ ! epp_HostUpdateAddRemove.h \ ! epp_HostUpdateChange.h \ ! epp_HostUpdateReq.h \ ! epp_HostUpdateRsp.h \ ! epp_LoginReq.h \ ! epp_LoginRsp.h \ ! epp_LogoutReq.h \ ! epp_LogoutRsp.h \ ! epp_Options.h \ ! epp_PollContactTransfer.h \ ! epp_PollDomainTransfer.h \ ! epp_PollReq.h \ ! epp_PollResData.h \ ! epp_PollResDataUnion.h \ ! epp_PollRsp.h \ ! epp_Response.h \ ! epp_Result.h \ ! epp_Service.h \ ! epp_TransID.h \ ! epp_TransferRequest.h \ ! epp_XMLException.h \ ! epp_contactXMLbase.h \ ! epp_contactdata.h \ ! epp_domainXMLbase.h \ ! epp_domaindata.h \ ! epp_eppXMLbase.h \ ! epp_eppdata.h \ ! epp_hostXMLbase.h \ ! epp_hostdata.h ! ! pkgincludedir = $(includedir)/$(PACKAGE)/data ! pkginclude_HEADERS = $(exportedheaders) ! ! libdata_a_SOURCES = \ ! epp_contactXMLbase.cc \ ! epp_domainXMLbase.cc \ ! epp_eppXMLbase.cc \ ! epp_hostXMLbase.cc CLEANFILES = *~ Index: epp_Exception.h =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/data/epp_Exception.h,v retrieving revision 1.3 retrieving revision 1.3.2.1 diff -C2 -d -r1.3 -r1.3.2.1 *** epp_Exception.h 2 Jul 2001 14:16:23 -0000 1.3 --- epp_Exception.h 12 Dec 2003 23:24:29 -0000 1.3.2.1 *************** *** 37,41 **** namespace eppobject { namespace epp { ! class epp_Exception : public exception { public: --- 37,41 ---- namespace eppobject { namespace epp { ! class epp_Exception : public std::exception { public: *************** *** 44,48 **** epp_Exception() {}; ! virtual ~epp_Exception() {}; epp_Exception(const epp_result_seq & data) throw() --- 44,48 ---- epp_Exception() {}; ! virtual ~epp_Exception() throw() {}; epp_Exception(const epp_result_seq & data) throw() Index: epp_XMLException.h =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/data/epp_XMLException.h,v retrieving revision 1.5 retrieving revision 1.5.2.1 diff -C2 -d -r1.5 -r1.5.2.1 *** epp_XMLException.h 3 Jul 2001 11:55:32 -0000 1.5 --- epp_XMLException.h 12 Dec 2003 23:24:29 -0000 1.5.2.1 *************** *** 36,40 **** namespace eppobject { namespace epp { ! class epp_XMLException : public exception { public: --- 36,40 ---- namespace eppobject { namespace epp { ! class epp_XMLException : public std::exception { public: *************** *** 43,47 **** epp_XMLException() {}; ! virtual ~epp_XMLException() {}; epp_XMLException(const epp_string & data) throw() --- 43,47 ---- epp_XMLException() {}; ! virtual ~epp_XMLException() throw() {}; epp_XMLException(const epp_string & data) throw() *************** *** 59,65 **** }; ! epp_XMLException(const string file, const int lineno, const epp_string & data) throw() { ! string error_message; char buf[10]; sprintf(buf,"%d",lineno); --- 59,65 ---- }; ! epp_XMLException(const std::string file, const int lineno, const epp_string & data) throw() { ! std::string error_message; char buf[10]; sprintf(buf,"%d",lineno); Index: epp_contactXMLbase.cc =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/data/epp_contactXMLbase.cc,v retrieving revision 1.3.2.1 retrieving revision 1.3.2.2 diff -C2 -d -r1.3.2.1 -r1.3.2.2 *** epp_contactXMLbase.cc 28 Sep 2001 17:59:55 -0000 1.3.2.1 --- epp_contactXMLbase.cc 12 Dec 2003 23:24:29 -0000 1.3.2.2 *************** *** 38,41 **** --- 38,42 ---- #include <map> + using namespace std; using namespace domtools; using namespace eppobject::contact; *************** *** 53,57 **** const epp_ContactNameAddress_ref element, const eppobject::epp::epp_string & tag, ! const eppobject::epp::epp_boolean & update = false) { if(element == NULL) --- 54,58 ---- const epp_ContactNameAddress_ref element, const eppobject::epp::epp_string & tag, ! const eppobject::epp::epp_boolean & update) { if(element == NULL) Index: epp_contactXMLbase.h =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/data/epp_contactXMLbase.h,v retrieving revision 1.2.2.1 retrieving revision 1.2.2.2 diff -C2 -d -r1.2.2.1 -r1.2.2.2 *** epp_contactXMLbase.h 28 Sep 2001 17:59:55 -0000 1.2.2.1 --- epp_contactXMLbase.h 12 Dec 2003 23:24:29 -0000 1.2.2.2 *************** *** 37,41 **** #include "epp_eppXMLbase.h" #include "epp_ContactNameAddress.h" ! #include <dom/DOM.hpp> namespace eppobject { namespace contact { --- 37,41 ---- #include "epp_eppXMLbase.h" #include "epp_ContactNameAddress.h" ! #include <domtools/dom_wrapper.h> namespace eppobject { namespace contact { Index: epp_contactdata.h =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/data/epp_contactdata.h,v retrieving revision 1.2.2.1 retrieving revision 1.2.2.2 diff -C2 -d -r1.2.2.1 -r1.2.2.2 *** epp_contactdata.h 28 Sep 2001 17:59:55 -0000 1.2.2.1 --- epp_contactdata.h 12 Dec 2003 23:24:29 -0000 1.2.2.2 *************** *** 51,55 **** class epp_ContactStatus; //Forward declaration... ! typedef vector<epp_ContactStatus> epp_contact_status_seq; typedef refcnt_ptr<epp_contact_status_seq> epp_contact_status_seq_ref; --- 51,55 ---- class epp_ContactStatus; //Forward declaration... ! typedef std::vector<epp_ContactStatus> epp_contact_status_seq; typedef refcnt_ptr<epp_contact_status_seq> epp_contact_status_seq_ref; Index: epp_domainXMLbase.cc =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/data/epp_domainXMLbase.cc,v retrieving revision 1.2.2.2 retrieving revision 1.2.2.3 diff -C2 -d -r1.2.2.2 -r1.2.2.3 *** epp_domainXMLbase.cc 8 Feb 2002 11:45:20 -0000 1.2.2.2 --- epp_domainXMLbase.cc 12 Dec 2003 23:24:29 -0000 1.2.2.3 *************** *** 36,39 **** --- 36,40 ---- #include "epp_XMLException.h" + using namespace std; using namespace domtools; using namespace eppobject::domain; Index: epp_domaindata.h =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/data/epp_domaindata.h,v retrieving revision 1.2.2.2 retrieving revision 1.2.2.3 diff -C2 -d -r1.2.2.2 -r1.2.2.3 *** epp_domaindata.h 8 Feb 2002 11:45:20 -0000 1.2.2.2 --- epp_domaindata.h 12 Dec 2003 23:24:29 -0000 1.2.2.3 *************** *** 69,77 **** class epp_DomainStatus; // Forward declaration... ! typedef vector<epp_DomainStatus> epp_domain_status_seq; typedef refcnt_ptr<epp_domain_status_seq> epp_domain_status_seq_ref; class epp_DomainContact; // Forward declaration... ! typedef vector<epp_DomainContact> epp_domain_contact_seq; typedef refcnt_ptr<epp_domain_contact_seq> epp_domain_contact_seq_ref; --- 69,77 ---- class epp_DomainStatus; // Forward declaration... ! typedef std::vector<epp_DomainStatus> epp_domain_status_seq; typedef refcnt_ptr<epp_domain_status_seq> epp_domain_status_seq_ref; class epp_DomainContact; // Forward declaration... ! typedef std::vector<epp_DomainContact> epp_domain_contact_seq; typedef refcnt_ptr<epp_domain_contact_seq> epp_domain_contact_seq_ref; Index: epp_eppXMLbase.cc =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/data/epp_eppXMLbase.cc,v retrieving revision 1.3.2.1 retrieving revision 1.3.2.2 diff -C2 -d -r1.3.2.1 -r1.3.2.2 *** epp_eppXMLbase.cc 28 Sep 2001 17:59:55 -0000 1.3.2.1 --- epp_eppXMLbase.cc 12 Dec 2003 23:24:29 -0000 1.3.2.2 *************** *** 37,48 **** #include "epp_Exception.h" #include <map> ! #include <domtools/domtools.h> ! ! #include <parsers/DOMParser.hpp> ! #include <framework/MemBufInputSource.hpp> ! #include <util/PlatformUtils.hpp> ! #include <util/XMLString.hpp> ! #include <util/XMLUniDefs.hpp> using namespace eppobject::epp; using namespace domtools; --- 37,43 ---- #include "epp_Exception.h" #include <map> ! #include <domtools/dom_print.h> + using namespace std; using namespace eppobject::epp; using namespace domtools; Index: epp_eppXMLbase.h =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/data/epp_eppXMLbase.h,v retrieving revision 1.2.2.1 retrieving revision 1.2.2.2 diff -C2 -d -r1.2.2.1 -r1.2.2.2 *** epp_eppXMLbase.h 28 Sep 2001 17:59:55 -0000 1.2.2.1 --- epp_eppXMLbase.h 12 Dec 2003 23:24:29 -0000 1.2.2.2 *************** *** 34,37 **** --- 34,38 ---- */ + #include <domtools/dom_wrapper.h> #include "../config.h" #include "epp_eppdata.h" *************** *** 41,45 **** #include "epp_Greeting.h" #include "../epp_Unspec.h" - #include <dom/DOM.hpp> --- 42,45 ---- *************** *** 130,134 **** * @throw epp_XMLException If it is unable find the correct XML-elements in the Node */ ! DOM_Node getresDataInfo(const DOM_Node & responseNode, const string & tag); /** Parses a response DOM_Node and creates the corresponding epp_Response object --- 130,134 ---- * @throw epp_XMLException If it is unable find the correct XML-elements in the Node */ ! DOM_Node getresDataInfo(const DOM_Node & responseNode, const std::string & tag); /** Parses a response DOM_Node and creates the corresponding epp_Response object Index: epp_eppdata.h =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/data/epp_eppdata.h,v retrieving revision 1.2.2.1 retrieving revision 1.2.2.2 diff -C2 -d -r1.2.2.1 -r1.2.2.2 *** epp_eppdata.h 28 Sep 2001 17:59:55 -0000 1.2.2.1 --- epp_eppdata.h 12 Dec 2003 23:24:29 -0000 1.2.2.2 *************** *** 78,88 **** // Pure typedefs: ! typedef string epp_string; typedef refcnt_ptr<epp_string> epp_string_ref; ! typedef vector<epp_string> epp_string_seq; typedef refcnt_ptr<epp_string_seq> epp_string_seq_ref; ! typedef string epp_xml_string; typedef refcnt_ptr<epp_xml_string> epp_xml_string_ref; --- 78,88 ---- // Pure typedefs: ! typedef std::string epp_string; typedef refcnt_ptr<epp_string> epp_string_ref; ! typedef std::vector<epp_string> epp_string_seq; typedef refcnt_ptr<epp_string_seq> epp_string_seq_ref; ! typedef std::string epp_xml_string; typedef refcnt_ptr<epp_xml_string> epp_xml_string_ref; *************** *** 99,106 **** typedef refcnt_ptr<epp_any> epp_any_ref; ! typedef string epp_date; typedef refcnt_ptr<epp_date> epp_date_ref; ! typedef string epp_datetime; typedef refcnt_ptr<epp_datetime> epp_datetime_ref; --- 99,106 ---- typedef refcnt_ptr<epp_any> epp_any_ref; ! typedef std::string epp_date; typedef refcnt_ptr<epp_date> epp_date_ref; ! typedef std::string epp_datetime; typedef refcnt_ptr<epp_datetime> epp_datetime_ref; *************** *** 111,129 **** typedef refcnt_ptr<epp_roid> epp_roid_ref; ! typedef vector<epp_roid> epp_roid_seq; typedef refcnt_ptr<epp_roid_seq> epp_roid_seq_ref; class epp_Result; // Forward declaration... ! typedef vector<epp_Result> epp_result_seq; typedef refcnt_ptr<epp_result_seq> epp_result_seq_ref; class epp_Service; // Forward declaration... ! typedef vector<epp_Service> epp_service_seq; typedef refcnt_ptr<epp_service_seq> epp_service_seq_ref; class epp_CheckResult; // Forward declaration... ! typedef vector<epp_CheckResult> epp_check_result_seq; typedef refcnt_ptr<epp_check_result_seq> epp_check_result_seq_ref; --- 111,129 ---- typedef refcnt_ptr<epp_roid> epp_roid_ref; ! typedef std::vector<epp_roid> epp_roid_seq; typedef refcnt_ptr<epp_roid_seq> epp_roid_seq_ref; class epp_Result; // Forward declaration... ! typedef std::vector<epp_Result> epp_result_seq; typedef refcnt_ptr<epp_result_seq> epp_result_seq_ref; class epp_Service; // Forward declaration... ! typedef std::vector<epp_Service> epp_service_seq; typedef refcnt_ptr<epp_service_seq> epp_service_seq_ref; class epp_CheckResult; // Forward declaration... ! typedef std::vector<epp_CheckResult> epp_check_result_seq; typedef refcnt_ptr<epp_check_result_seq> epp_check_result_seq_ref; Index: epp_hostXMLbase.cc =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/data/epp_hostXMLbase.cc,v retrieving revision 1.2.2.1 retrieving revision 1.2.2.2 diff -C2 -d -r1.2.2.1 -r1.2.2.2 *** epp_hostXMLbase.cc 28 Sep 2001 17:59:55 -0000 1.2.2.1 --- epp_hostXMLbase.cc 12 Dec 2003 23:24:29 -0000 1.2.2.2 *************** *** 36,39 **** --- 36,40 ---- #include <map> + using namespace std; using namespace domtools; using namespace eppobject::host; Index: epp_hostdata.h =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/data/epp_hostdata.h,v retrieving revision 1.2.2.1 retrieving revision 1.2.2.2 diff -C2 -d -r1.2.2.1 -r1.2.2.2 *** epp_hostdata.h 28 Sep 2001 17:59:55 -0000 1.2.2.1 --- epp_hostdata.h 12 Dec 2003 23:24:29 -0000 1.2.2.2 *************** *** 54,62 **** class epp_HostStatus; // Forward declaration... ! typedef vector<epp_HostStatus> epp_host_status_seq; typedef refcnt_ptr<epp_host_status_seq> epp_host_status_seq_ref; class epp_HostAddress; //Forward declaration... ! typedef vector<epp_HostAddress> epp_host_address_seq; typedef refcnt_ptr<epp_host_address_seq> epp_host_address_seq_ref; --- 54,62 ---- class epp_HostStatus; // Forward declaration... ! typedef std::vector<epp_HostStatus> epp_host_status_seq; typedef refcnt_ptr<epp_host_status_seq> epp_host_status_seq_ref; class epp_HostAddress; //Forward declaration... ! typedef std::vector<epp_HostAddress> epp_host_address_seq; typedef refcnt_ptr<epp_host_address_seq> epp_host_address_seq_ref; |