[Common-cvs] lang/xmldom/sample Umakefil, 1.1, 1.2 win32.pcf, 1.1, 1.2 xmldomsample.cpp, 1.1, 1.2
dcollins at helixcommunity.org dcollins at helixcommunity.orgUpdate of /cvsroot/common/lang/xmldom/sample In directory cvs01.internal.helixcommunity.org:/tmp/cvs-serv24238/sample Added Files: Umakefil win32.pcf xmldomsample.cpp Log Message: Synopsis ======== Helix Server Commercial Source Licensing feature. Branches: HEAD Suggested Reviewer: anyone Description =========== Changes to implement the CSL feature. These are being bubbled from the SERVER_BORABORA branch to the head. Additinally, recent HEAD changes are also picked up and moved for files moving within the various code repositories. Files Affected ============== Far too many to list. Testing Performed ================= Unit Tests: - none Integration Tests: - Server and proxy uptime tests on multiple platforms by dev and QA. - Server and proxy BVT testing by QA. - Server and proxy feature testing by dev and QA. Leak Tests: - Uptimes showed leaks were similar to the pre-CSL HEAD. Performance Tests: - none Platforms Tested: linux-rhel4-i686, sunos-5.10-sparc-server, win32-i386-vc7 Build verified: linux-rhel4-i686, sunos-5.10-sparc-server, win32-i386-vc7 QA Hints =============== None at this time. --- NEW FILE: win32.pcf --- # ***** BEGIN LICENSE BLOCK ***** # Source last modified: $Id: win32.pcf,v 1.2 2007/05/25 18:23:55 dcollins Exp $ # # Portions Copyright (c) 1995-2007 RealNetworks, Inc. All Rights Reserved. # # The contents of this file, and the files included with this file, # are subject to the current version of the RealNetworks Public # Source License (the "RPSL") available at # http://www.helixcommunity.org/content/rpsl unless you have licensed # the file under the current version of the RealNetworks Community # Source License (the "RCSL") available at # http://www.helixcommunity.org/content/rcsl, in which case the RCSL # will apply. You may also obtain the license terms directly from # RealNetworks. You may not use this file except in compliance with # the RPSL or, if you have a valid RCSL with RealNetworks applicable # to this file, the RCSL. Please see the applicable RPSL or RCSL for # the rights, obligations and limitations governing use of the # contents of the file. # # Alternatively, the contents of this file may be used under the # terms of the GNU General Public License Version 2 or later (the # "GPL") in which case the provisions of the GPL are applicable # instead of those above. If you wish to allow use of your version of # this file only under the terms of the GPL, and not to allow others # to use your version of this file under the terms of either the RPSL # or RCSL, indicate your decision by deleting the provisions above # and replace them with the notice and other provisions required by # the GPL. If you do not delete the provisions above, a recipient may # use your version of this file under the terms of any one of the # RPSL, the RCSL or the GPL. # # This file is part of the Helix DNA Technology. RealNetworks is the # developer of the Original Code and owns the copyrights in the # portions it created. # # This file, and the files included with this file, is distributed # and made available on an 'AS IS' basis, WITHOUT WARRANTY OF ANY # KIND, EITHER EXPRESS OR IMPLIED, AND REALNETWORKS HEREBY DISCLAIMS # ALL SUCH WARRANTIES, INCLUDING WITHOUT LIMITATION, ANY WARRANTIES # OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, QUIET # ENJOYMENT OR NON-INFRINGEMENT. # # Technology Compatibility Kit Test Suite(s) Location: # http://www.helixcommunity.org/content/tck # # Contributor(s): # # ***** END LICENSE BLOCK ***** project.sys_libraries[-1:-1] = [ 'kernel32.lib', 'user32.lib', 'advapi32.lib', 'shell32.lib', 'ws2_32.lib' ] project.includes[-1:-1] = ['../include/win'] --- NEW FILE: xmldomsample.cpp --- /* ***** BEGIN LICENSE BLOCK ***** * Source last modified: $Id: xmldomsample.cpp,v 1.2 2007/05/25 18:23:55 dcollins Exp $ * * Portions Copyright (c) 1995-2007 RealNetworks, Inc. All Rights Reserved. * * The contents of this file, and the files included with this file, * are subject to the current version of the RealNetworks Public * Source License (the "RPSL") available at * http://www.helixcommunity.org/content/rpsl unless you have licensed * the file under the current version of the RealNetworks Community * Source License (the "RCSL") available at * http://www.helixcommunity.org/content/rcsl, in which case the RCSL * will apply. You may also obtain the license terms directly from * RealNetworks. You may not use this file except in compliance with * the RPSL or, if you have a valid RCSL with RealNetworks applicable * to this file, the RCSL. Please see the applicable RPSL or RCSL for * the rights, obligations and limitations governing use of the * contents of the file. * * Alternatively, the contents of this file may be used under the * terms of the GNU General Public License Version 2 or later (the * "GPL") in which case the provisions of the GPL are applicable * instead of those above. If you wish to allow use of your version of * this file only under the terms of the GPL, and not to allow others * to use your version of this file under the terms of either the RPSL * or RCSL, indicate your decision by deleting the provisions above * and replace them with the notice and other provisions required by * the GPL. If you do not delete the provisions above, a recipient may * use your version of this file under the terms of any one of the * RPSL, the RCSL or the GPL. * * This file is part of the Helix DNA Technology. RealNetworks is the * developer of the Original Code and owns the copyrights in the * portions it created. * * This file, and the files included with this file, is distributed * and made available on an 'AS IS' basis, WITHOUT WARRANTY OF ANY * KIND, EITHER EXPRESS OR IMPLIED, AND REALNETWORKS HEREBY DISCLAIMS * ALL SUCH WARRANTIES, INCLUDING WITHOUT LIMITATION, ANY WARRANTIES * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, QUIET * ENJOYMENT OR NON-INFRINGEMENT. * * Technology Compatibility Kit Test Suite(s) Location: * http://www.helixcommunity.org/content/tck * * Contributor(s): * * ***** END LICENSE BLOCK ***** */ #define INITGUID 1 #include "hxxmldom.h" #include "stdio.h" int main() { char* pszXml = NULL; IHXXmlDocument* pDoc = NULL; CreateHXXmlDocument(&pDoc); pDoc->LoadXml("<XmlRoot name=\"RootElement\"><text place=\"1\">root element text</text> <text place=\"2\">second text element</text></XmlRoot>"); pDoc->GetXml(&pszXml); if (pszXml != NULL) { printf("Xml is : %s\n", pszXml); } HX_RELEASE(pDoc); return 0; } --- NEW FILE: Umakefil --- # ***** BEGIN LICENSE BLOCK ***** # Source last modified: $Id: Umakefil,v 1.2 2007/05/25 18:23:55 dcollins Exp $ # # Portions Copyright (c) 1995-2007 RealNetworks, Inc. All Rights Reserved. # # The contents of this file, and the files included with this file, # are subject to the current version of the RealNetworks Public # Source License (the "RPSL") available at # http://www.helixcommunity.org/content/rpsl unless you have licensed # the file under the current version of the RealNetworks Community # Source License (the "RCSL") available at # http://www.helixcommunity.org/content/rcsl, in which case the RCSL # will apply. You may also obtain the license terms directly from # RealNetworks. You may not use this file except in compliance with # the RPSL or, if you have a valid RCSL with RealNetworks applicable # to this file, the RCSL. Please see the applicable RPSL or RCSL for # the rights, obligations and limitations governing use of the # contents of the file. # # Alternatively, the contents of this file may be used under the # terms of the GNU General Public License Version 2 or later (the # "GPL") in which case the provisions of the GPL are applicable # instead of those above. If you wish to allow use of your version of # this file only under the terms of the GPL, and not to allow others # to use your version of this file under the terms of either the RPSL # or RCSL, indicate your decision by deleting the provisions above # and replace them with the notice and other provisions required by # the GPL. If you do not delete the provisions above, a recipient may # use your version of this file under the terms of any one of the # RPSL, the RCSL or the GPL. # # This file is part of the Helix DNA Technology. RealNetworks is the # developer of the Original Code and owns the copyrights in the # portions it created. # # This file, and the files included with this file, is distributed # and made available on an 'AS IS' basis, WITHOUT WARRANTY OF ANY # KIND, EITHER EXPRESS OR IMPLIED, AND REALNETWORKS HEREBY DISCLAIMS # ALL SUCH WARRANTIES, INCLUDING WITHOUT LIMITATION, ANY WARRANTIES # OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, QUIET # ENJOYMENT OR NON-INFRINGEMENT. # # Technology Compatibility Kit Test Suite(s) Location: # http://www.helixcommunity.org/content/tck # # Contributor(s): # # ***** END LICENSE BLOCK ***** project.AddModuleIncludes( 'common/include', 'common/container/pub' 'common/lang/xml/pub', 'common/include', 'common/lang/xmldom/pub') project.AddSources('xmldomsample.cpp') project.AddModuleLibraries( "common/dbgtool[debuglib]", "common/container[contlib]", "common/lang/xml[xmllib]", "common/runtime[runtlib]", "common/lang/xmldom[xmldomlib]") BuildProgramTarget('xmldomsample', 'OBJS', 'DEPLIBS', 'LOCAL_LIBS', 'SYSLIBS')