[DEV] integrate GLD
This commit is contained in:
parent
84170961ff
commit
b3b5d7145a
5
.gitignore
vendored
5
.gitignore
vendored
@ -1 +1,6 @@
|
||||
__pycache__
|
||||
.bck
|
||||
out
|
||||
target
|
||||
build
|
||||
*.pyc
|
||||
|
27
GLD_exml-sample.json
Normal file
27
GLD_exml-sample.json
Normal file
@ -0,0 +1,27 @@
|
||||
{
|
||||
"type":"BINARY",
|
||||
"sub-type":"SAMPLE",
|
||||
"group-id":"com.atria-soft",
|
||||
"description":"e-xml sample",
|
||||
"license":"MPL-2",
|
||||
"license-file":"file://LICENSE",
|
||||
"maintainer":"file://authors.txt",
|
||||
"author":"file://authors.txt",
|
||||
"version":"file://version.txt",
|
||||
"code-quality":"MEDIUM",
|
||||
|
||||
"source": [
|
||||
"sample/main.cpp",
|
||||
"sample/read.cpp",
|
||||
"sample/write.cpp"
|
||||
],
|
||||
"dependency": [
|
||||
"exml",
|
||||
"test-debug"
|
||||
],
|
||||
"copy":[
|
||||
{
|
||||
"path":"sample/read.xml"
|
||||
}
|
||||
]
|
||||
}
|
32
GLD_exml-test.json
Normal file
32
GLD_exml-test.json
Normal file
@ -0,0 +1,32 @@
|
||||
{
|
||||
"type":"BINARY",
|
||||
"sub-type":"TEST",
|
||||
"group-id":"com.atria-soft",
|
||||
"description":"e-xml test software",
|
||||
"license":"MPL-2",
|
||||
"license-file":"file://LICENSE",
|
||||
"maintainer":"file://authors.txt",
|
||||
"author":"file://authors.txt",
|
||||
"version":"file://version.txt",
|
||||
"code-quality":"MEDIUM",
|
||||
|
||||
"source": [
|
||||
"test/main.cpp",
|
||||
"test/exmlTestAll.cpp",
|
||||
"test/exmlTestComment.cpp",
|
||||
"test/exmlTestElement.cpp",
|
||||
"test/exmlTestAttribute.cpp",
|
||||
"test/exmlTestCommon.cpp",
|
||||
"test/exmlTestDeclaration.cpp",
|
||||
"test/exmlTestDeclarationXML.cpp",
|
||||
"test/exmlTestParseComment.cpp",
|
||||
"test/exmlTestParseElement.cpp",
|
||||
"test/exmlTestParseAttribute.cpp",
|
||||
"test/exmlTestParseDeclaration.cpp"
|
||||
],
|
||||
"dependency": [
|
||||
"exml",
|
||||
"etest",
|
||||
"test-debug"
|
||||
]
|
||||
}
|
60
GLD_exml.json
Normal file
60
GLD_exml.json
Normal file
@ -0,0 +1,60 @@
|
||||
{
|
||||
"type":"LIBRARY",
|
||||
"group-id":"com.atria-soft",
|
||||
"description":"Algorithm generic",
|
||||
"license":"MPL-2",
|
||||
"license-file":"file://LICENSE",
|
||||
"maintainer":"file://authors.txt",
|
||||
"author":"file://authors.txt",
|
||||
"version":"file://version.txt",
|
||||
"code-quality":"MEDIUM",
|
||||
|
||||
"source": [
|
||||
"exml/debug.cpp",
|
||||
"exml/FilePos.cpp",
|
||||
"exml/nodeType.cpp",
|
||||
"exml/Attribute.cpp",
|
||||
"exml/AttributeList.cpp",
|
||||
"exml/Comment.cpp",
|
||||
"exml/Declaration.cpp",
|
||||
"exml/Document.cpp",
|
||||
"exml/Element.cpp",
|
||||
"exml/Node.cpp",
|
||||
"exml/Text.cpp",
|
||||
"exml/internal/Attribute.cpp",
|
||||
"exml/internal/AttributeList.cpp",
|
||||
"exml/internal/Comment.cpp",
|
||||
"exml/internal/Declaration.cpp",
|
||||
"exml/internal/Document.cpp",
|
||||
"exml/internal/Element.cpp",
|
||||
"exml/internal/Node.cpp",
|
||||
"exml/internal/Text.cpp"
|
||||
],
|
||||
"header": [
|
||||
"exml/FilePos.hpp",
|
||||
"exml/nodeType.hpp",
|
||||
"exml/exml.hpp",
|
||||
"exml/iterator.hpp",
|
||||
"exml/Attribute.hpp",
|
||||
"exml/AttributeList.hpp",
|
||||
"exml/Comment.hpp",
|
||||
"exml/Declaration.hpp",
|
||||
"exml/Document.hpp",
|
||||
"exml/Element.hpp",
|
||||
"exml/Node.hpp",
|
||||
"exml/Text.hpp",
|
||||
"exml/internal/Attribute.hpp",
|
||||
"exml/internal/AttributeList.hpp",
|
||||
"exml/internal/Comment.hpp",
|
||||
"exml/internal/Declaration.hpp",
|
||||
"exml/internal/Document.hpp",
|
||||
"exml/internal/Element.hpp",
|
||||
"exml/internal/Node.hpp",
|
||||
"exml/internal/Text.hpp"
|
||||
],
|
||||
"dependency": [
|
||||
"elog",
|
||||
"etk",
|
||||
"ememory"
|
||||
]
|
||||
}
|
@ -5,7 +5,7 @@
|
||||
*/
|
||||
|
||||
#include <exml/Attribute.hpp>
|
||||
#include <exml/debug.hpp>
|
||||
#include "debug.hpp"
|
||||
#include <exml/internal/Attribute.hpp>
|
||||
|
||||
exml::Attribute::Attribute(ememory::SharedPtr<exml::internal::Node> _internalNode) :
|
||||
|
@ -4,7 +4,7 @@
|
||||
* @license MPL v2.0 (see license file)
|
||||
*/
|
||||
|
||||
#include <exml/debug.hpp>
|
||||
#include "debug.hpp"
|
||||
#include <exml/AttributeList.hpp>
|
||||
#include <exml/internal/AttributeList.hpp>
|
||||
|
||||
@ -100,7 +100,7 @@ void exml::AttributeListData::set(const etk::String& _name, const etk::String& _
|
||||
static_cast<exml::internal::AttributeList*>(m_data->m_data.get())->setAttribute(_name, _value);
|
||||
}
|
||||
|
||||
#include <exml/details/iterator.hxx>
|
||||
#include "details/iterator.hxx"
|
||||
|
||||
template class exml::iterator<exml::AttributeListData, exml::Attribute>;
|
||||
|
||||
|
@ -5,7 +5,7 @@
|
||||
*/
|
||||
|
||||
#include <exml/Comment.hpp>
|
||||
#include <exml/debug.hpp>
|
||||
#include "debug.hpp"
|
||||
#include <exml/internal/Comment.hpp>
|
||||
|
||||
exml::Comment::Comment(ememory::SharedPtr<exml::internal::Node> _internalNode) :
|
||||
|
@ -5,7 +5,7 @@
|
||||
*/
|
||||
|
||||
#include <exml/Declaration.hpp>
|
||||
#include <exml/debug.hpp>
|
||||
#include "debug.hpp"
|
||||
#include <exml/internal/Declaration.hpp>
|
||||
|
||||
exml::Declaration::Declaration(ememory::SharedPtr<exml::internal::Node> _internalNode) :
|
||||
|
@ -5,7 +5,7 @@
|
||||
*/
|
||||
|
||||
#include <exml/Document.hpp>
|
||||
#include <exml/debug.hpp>
|
||||
#include "debug.hpp"
|
||||
#include <exml/internal/Document.hpp>
|
||||
#include <etk/path/fileSystem.hpp>
|
||||
#include <etk/uri/uri.hpp>
|
||||
|
@ -5,7 +5,7 @@
|
||||
*/
|
||||
|
||||
#include <exml/Element.hpp>
|
||||
#include <exml/debug.hpp>
|
||||
#include "debug.hpp"
|
||||
#include <exml/internal/Element.hpp>
|
||||
|
||||
|
||||
@ -141,7 +141,7 @@ void exml::Element::clear() {
|
||||
}
|
||||
|
||||
|
||||
#include <exml/details/iterator.hxx>
|
||||
#include "details/iterator.hxx"
|
||||
|
||||
template class exml::iterator<exml::ElementData, exml::Node>;
|
||||
|
||||
|
@ -6,7 +6,7 @@
|
||||
|
||||
#include <exml/Node.hpp>
|
||||
#include <exml/internal/Node.hpp>
|
||||
#include <exml/debug.hpp>
|
||||
#include "debug.hpp"
|
||||
#include <exml/Attribute.hpp>
|
||||
#include <exml/Comment.hpp>
|
||||
#include <exml/Declaration.hpp>
|
||||
|
@ -6,7 +6,7 @@
|
||||
|
||||
#include <exml/Text.hpp>
|
||||
#include <exml/internal/Text.hpp>
|
||||
#include <exml/debug.hpp>
|
||||
#include "debug.hpp"
|
||||
|
||||
exml::Text::Text(ememory::SharedPtr<exml::internal::Node> _internalNode) :
|
||||
exml::Node(_internalNode) {
|
||||
|
@ -4,7 +4,7 @@
|
||||
* @license MPL v2.0 (see license file)
|
||||
*/
|
||||
|
||||
#include <exml/debug.hpp>
|
||||
#include "debug.hpp"
|
||||
|
||||
int32_t exml::getLogId() {
|
||||
static int32_t g_val = elog::registerInstance("exml");
|
||||
|
@ -5,7 +5,7 @@
|
||||
*/
|
||||
|
||||
#include <exml/internal/Attribute.hpp>
|
||||
#include <exml/debug.hpp>
|
||||
#include "../debug.hpp"
|
||||
#include <exml/internal/Document.hpp>
|
||||
|
||||
ememory::SharedPtr<exml::internal::Attribute> exml::internal::Attribute::create(const etk::String& _name, const etk::String& _value) {
|
||||
|
@ -5,7 +5,7 @@
|
||||
*/
|
||||
|
||||
#include <exml/internal/AttributeList.hpp>
|
||||
#include <exml/debug.hpp>
|
||||
#include "../debug.hpp"
|
||||
|
||||
ememory::SharedPtr<exml::internal::Attribute> exml::internal::AttributeList::getAttr(int32_t _id) {
|
||||
if ( _id < 0
|
||||
|
@ -5,7 +5,7 @@
|
||||
*/
|
||||
|
||||
#include <exml/internal/Comment.hpp>
|
||||
#include <exml/debug.hpp>
|
||||
#include "../debug.hpp"
|
||||
#include <exml/internal/Document.hpp>
|
||||
|
||||
static bool isWhiteChar(char32_t _val) {
|
||||
|
@ -5,7 +5,7 @@
|
||||
*/
|
||||
|
||||
#include <exml/internal/Declaration.hpp>
|
||||
#include <exml/debug.hpp>
|
||||
#include "../debug.hpp"
|
||||
#include <exml/internal/Document.hpp>
|
||||
|
||||
/* basic declaration have 3 attributes:
|
||||
|
@ -5,7 +5,7 @@
|
||||
*/
|
||||
|
||||
#include <exml/internal/Document.hpp>
|
||||
#include <exml/debug.hpp>
|
||||
#include "../debug.hpp"
|
||||
#include <etk/uri/provider/provider.hpp>
|
||||
|
||||
ememory::SharedPtr<exml::internal::Document> exml::internal::Document::create() {
|
||||
|
@ -5,7 +5,7 @@
|
||||
*/
|
||||
|
||||
#include <exml/internal/Element.hpp>
|
||||
#include <exml/debug.hpp>
|
||||
#include "../debug.hpp"
|
||||
#include <exml/internal/Text.hpp>
|
||||
#include <exml/internal/Comment.hpp>
|
||||
#include <exml/internal/Attribute.hpp>
|
||||
|
@ -11,7 +11,7 @@
|
||||
#include <exml/internal/Declaration.hpp>
|
||||
#include <exml/internal/Element.hpp>
|
||||
#include <exml/internal/Text.hpp>
|
||||
#include <exml/debug.hpp>
|
||||
#include "../debug.hpp"
|
||||
|
||||
static bool isWhiteChar(char32_t _val) {
|
||||
if( _val == ' '
|
||||
|
@ -5,7 +5,7 @@
|
||||
*/
|
||||
|
||||
#include <exml/internal/Text.hpp>
|
||||
#include <exml/debug.hpp>
|
||||
#include "../debug.hpp"
|
||||
#include <exml/internal/Document.hpp>
|
||||
|
||||
// transform the Text with :
|
||||
|
@ -5,7 +5,7 @@
|
||||
*/
|
||||
|
||||
#include <exml/nodeType.hpp>
|
||||
#include <exml/debug.hpp>
|
||||
#include "debug.hpp"
|
||||
|
||||
|
||||
|
||||
|
@ -1,38 +0,0 @@
|
||||
#!/usr/bin/python
|
||||
import realog.debug as debug
|
||||
import lutin.tools as tools
|
||||
|
||||
def get_type():
|
||||
return "BINARY"
|
||||
|
||||
def get_sub_type():
|
||||
return "SAMPLE"
|
||||
|
||||
def get_desc():
|
||||
return "e-xml sample"
|
||||
|
||||
def get_licence():
|
||||
return "MPL-2"
|
||||
|
||||
def get_compagny_type():
|
||||
return "com"
|
||||
|
||||
def get_compagny_name():
|
||||
return "atria-soft"
|
||||
|
||||
def get_maintainer():
|
||||
return "authors.txt"
|
||||
|
||||
def configure(target, my_module):
|
||||
my_module.add_src_file([
|
||||
'sample/main.cpp',
|
||||
'sample/read.cpp',
|
||||
'sample/write.cpp'
|
||||
])
|
||||
my_module.add_depend([
|
||||
'exml',
|
||||
'test-debug'
|
||||
])
|
||||
my_module.copy_path('sample/read.xml')
|
||||
return True
|
||||
|
@ -1,51 +0,0 @@
|
||||
#!/usr/bin/python
|
||||
import realog.debug as debug
|
||||
import lutin.tools as tools
|
||||
|
||||
|
||||
def get_type():
|
||||
return "BINARY"
|
||||
|
||||
def get_name():
|
||||
return "exml_tester"
|
||||
|
||||
def get_sub_type():
|
||||
return "TEST"
|
||||
|
||||
def get_desc():
|
||||
return "e-xml test software"
|
||||
|
||||
def get_licence():
|
||||
return "MPL-2"
|
||||
|
||||
def get_compagny_type():
|
||||
return "com"
|
||||
|
||||
def get_compagny_name():
|
||||
return "atria-soft"
|
||||
|
||||
def get_maintainer():
|
||||
return "authors.txt"
|
||||
|
||||
def configure(target, my_module):
|
||||
my_module.add_src_file([
|
||||
'test/main.cpp',
|
||||
'test/exmlTestAll.cpp',
|
||||
'test/exmlTestComment.cpp',
|
||||
'test/exmlTestElement.cpp',
|
||||
'test/exmlTestAttribute.cpp',
|
||||
'test/exmlTestCommon.cpp',
|
||||
'test/exmlTestDeclaration.cpp',
|
||||
'test/exmlTestDeclarationXML.cpp',
|
||||
'test/exmlTestParseComment.cpp',
|
||||
'test/exmlTestParseElement.cpp',
|
||||
'test/exmlTestParseAttribute.cpp',
|
||||
'test/exmlTestParseDeclaration.cpp'
|
||||
])
|
||||
my_module.add_depend([
|
||||
'exml',
|
||||
'etest',
|
||||
'test-debug'
|
||||
])
|
||||
return True
|
||||
|
@ -1,78 +0,0 @@
|
||||
#!/usr/bin/python
|
||||
import realog.debug as debug
|
||||
import lutin.tools as tools
|
||||
|
||||
|
||||
def get_type():
|
||||
return "LIBRARY"
|
||||
|
||||
def get_desc():
|
||||
return "XML parser and generator"
|
||||
|
||||
def get_licence():
|
||||
return "MPL-2"
|
||||
|
||||
def get_compagny_type():
|
||||
return "com"
|
||||
|
||||
def get_compagny_name():
|
||||
return "atria-soft"
|
||||
|
||||
def get_maintainer():
|
||||
return "authors.txt"
|
||||
|
||||
def get_version():
|
||||
return "version.txt"
|
||||
|
||||
def configure(target, my_module):
|
||||
my_module.add_depend(['elog', 'etk', 'ememory'])
|
||||
my_module.add_extra_flags()
|
||||
my_module.add_src_file([
|
||||
'exml/debug.cpp',
|
||||
'exml/FilePos.cpp',
|
||||
'exml/nodeType.cpp',
|
||||
'exml/Attribute.cpp',
|
||||
'exml/AttributeList.cpp',
|
||||
'exml/Comment.cpp',
|
||||
'exml/Declaration.cpp',
|
||||
'exml/Document.cpp',
|
||||
'exml/Element.cpp',
|
||||
'exml/Node.cpp',
|
||||
'exml/Text.cpp',
|
||||
])
|
||||
my_module.add_src_file([
|
||||
'exml/internal/Attribute.cpp',
|
||||
'exml/internal/AttributeList.cpp',
|
||||
'exml/internal/Comment.cpp',
|
||||
'exml/internal/Declaration.cpp',
|
||||
'exml/internal/Document.cpp',
|
||||
'exml/internal/Element.cpp',
|
||||
'exml/internal/Node.cpp',
|
||||
'exml/internal/Text.cpp'
|
||||
])
|
||||
my_module.add_header_file([
|
||||
'exml/FilePos.hpp',
|
||||
'exml/nodeType.hpp',
|
||||
'exml/exml.hpp',
|
||||
'exml/iterator.hpp',
|
||||
'exml/Attribute.hpp',
|
||||
'exml/AttributeList.hpp',
|
||||
'exml/Comment.hpp',
|
||||
'exml/Declaration.hpp',
|
||||
'exml/Document.hpp',
|
||||
'exml/Element.hpp',
|
||||
'exml/Node.hpp',
|
||||
'exml/Text.hpp',
|
||||
'exml/internal/Attribute.hpp',
|
||||
'exml/internal/AttributeList.hpp',
|
||||
'exml/internal/Comment.hpp',
|
||||
'exml/internal/Declaration.hpp',
|
||||
'exml/internal/Document.hpp',
|
||||
'exml/internal/Element.hpp',
|
||||
'exml/internal/Node.hpp',
|
||||
'exml/internal/Text.hpp'
|
||||
])
|
||||
my_module.add_path(".")
|
||||
return True
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user