You can subscribe to this list here.
| 2003 |
Jan
(69) |
Feb
(122) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2004 |
Jan
|
Feb
|
Mar
(56) |
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2006 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(237) |
Jul
|
Aug
|
Sep
(1) |
Oct
(14) |
Nov
(72) |
Dec
|
| 2007 |
Jan
(2) |
Feb
(37) |
Mar
(5) |
Apr
|
May
(2) |
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: Yurii R. <yr...@us...> - 2003-01-27 07:11:42
|
Update of /cvsroot/eas-dev/eas-dev/build/unix In directory sc8-pr-cvs1:/tmp/cvs-serv24663/build/unix Modified Files: configure.in Log Message: initial directory structure for libsmstorage (Structured META Storage), documentation for it. Index: configure.in =================================================================== RCS file: /cvsroot/eas-dev/eas-dev/build/unix/configure.in,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- configure.in 25 Jan 2003 21:51:27 -0000 1.7 +++ configure.in 27 Jan 2003 07:11:40 -0000 1.8 @@ -106,4 +106,6 @@ ../../libs/Makefile ../../libs/libsxmlstream/Makefile ../../libs/libsxmlstream/src/Makefile + ../../libs/libsmstorage/Makefile + ../../libs/libsmstorage/src/Makefile ]) |
|
From: Yurii R. <yr...@us...> - 2003-01-27 07:09:31
|
Update of /cvsroot/eas-dev/eas-dev/doc/smstorage/ru In directory sc8-pr-cvs1:/tmp/cvs-serv24384/ru Log Message: Directory /cvsroot/eas-dev/eas-dev/doc/smstorage/ru added to the repository |
|
From: Yurii R. <yr...@us...> - 2003-01-27 07:08:28
|
Update of /cvsroot/eas-dev/eas-dev/doc/smstorage In directory sc8-pr-cvs1:/tmp/cvs-serv23972/smstorage Log Message: Directory /cvsroot/eas-dev/eas-dev/doc/smstorage added to the repository |
|
From: Yurii R. <yr...@us...> - 2003-01-27 07:06:08
|
Update of /cvsroot/eas-dev/eas-dev/libs/libsmstorage/src In directory sc8-pr-cvs1:/tmp/cvs-serv23083/src Log Message: Directory /cvsroot/eas-dev/eas-dev/libs/libsmstorage/src added to the repository |
|
From: Yurii R. <yr...@us...> - 2003-01-27 07:06:08
|
Update of /cvsroot/eas-dev/eas-dev/libs/libsmstorage/include In directory sc8-pr-cvs1:/tmp/cvs-serv23083/include Log Message: Directory /cvsroot/eas-dev/eas-dev/libs/libsmstorage/include added to the repository |
|
From: Yurii R. <yr...@us...> - 2003-01-27 07:05:42
|
Update of /cvsroot/eas-dev/eas-dev/libs/libsmstorage In directory sc8-pr-cvs1:/tmp/cvs-serv22829/libsmstorage Log Message: Directory /cvsroot/eas-dev/eas-dev/libs/libsmstorage added to the repository |
|
From: Yurii R. <yr...@us...> - 2003-01-27 06:07:44
|
Update of /cvsroot/eas-dev/eas-dev/libs/libsxmlstream/src
In directory sc8-pr-cvs1:/tmp/cvs-serv4058/libs/libsxmlstream/src
Modified Files:
sxmlstream.cxx
Log Message:
A bit updated libsxmlstream (still broken)
Index: sxmlstream.cxx
===================================================================
RCS file: /cvsroot/eas-dev/eas-dev/libs/libsxmlstream/src/sxmlstream.cxx,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- sxmlstream.cxx 25 Jan 2003 21:51:28 -0000 1.1
+++ sxmlstream.cxx 27 Jan 2003 06:07:41 -0000 1.2
@@ -18,26 +18,113 @@
/* $Id$ */
+#include <ostream>
+#include <iterator>
+#include <vector>
#include <sxmlstream.hxx>
using namespace std;
+/* SXmlStream */
+
+SXmlStream::SXmlStream()
+{
+ m_queue = new queue<SXml>();
+}
+
+SXmlStream::~SXmlStream()
+{
+ delete m_queue;
+}
+
+bool SXmlStream::queueIsEmpty()
+{
+ return m_queue->empty();
+}
+
+SXml SXmlStream::pop()
+{
+ SXml e = m_queue->front();
+ m_queue->pop();
+ return e;
+}
+
+void SXmlStream::push(SXml e)
+{
+ m_queue->push(e);
+}
+
+
+
/* SXmlTextStream operators */
-ostream& operator<<(ostream& os, const SXmlTextStream& s)
+ostream& SXml_TextOutput(ostream& os, SXml e)
{
- SXml e;
- while (!m_queue.empty())
- {
- e = m_queue.front();
- switch (e.type)
+ iterator iter;
+ switch (e.type)
{
case SXml_Element_t:
- os << "(" << e.data << ")";
+ os << "(" << e.data << " ";
+
+ // Output attributes
+ iter = (e.childs)->begin();
+ while (iter!=(e.childs)->end())
+ {
+ if (Is_SXml_Attribute(iter))
+ {
+ os << "(@ ";
+ SXml_TextOutput(os,iter);
+ os >> ")";
+ }
+ it++;
+ }
+ // Output childs
+ iter = (e.childs)->begin();
+ while (iter!=(e.childs)->end())
+ {
+ if (!Is_SXml_Attribute(iter))
+ {
+ SXml_TextOutput(os,iter);
+ }
+ iter++;
+ }
+
+ os << ")";
+ break;
+ case SXml_Attribute_t:
+ if (SXml_has_property(e))
+ {
+ os << "( " << e.data << " \"" <<
+ SXml_get_property(e) << "\") ";
+ } else
+ {
+ os << "( " << e.data << " )";
+
+ }
+ break;
+ case SXml_Char_t:
+ os << " \"" << e.data << "\" ";
+ break;
+ case SXml_Namespace_t:
+ os << "(@@ ";
+ os << e.data << " ";
+ if (SXml_has_property(e))
+ os << "\"" << SXml_get_property(e) << "\"";
+ os << " )";
break;
default:
break;
}
- m_queue.pop();
+ delete iter;
+ return os;
+}
+
+ostream& operator<<(ostream& os, SXmlTextStream& s)
+{
+ SXml e;
+ while (!s.queueIsEmpty())
+ {
+ e = s.pop();
+ os << SXml_OutputText(os,e);
}
return os;
};
|
|
From: Yurii R. <yr...@us...> - 2003-01-27 06:07:43
|
Update of /cvsroot/eas-dev/eas-dev/libs/libsxmlstream/include
In directory sc8-pr-cvs1:/tmp/cvs-serv4058/libs/libsxmlstream/include
Modified Files:
sxmlstream.hxx
Log Message:
A bit updated libsxmlstream (still broken)
Index: sxmlstream.hxx
===================================================================
RCS file: /cvsroot/eas-dev/eas-dev/libs/libsxmlstream/include/sxmlstream.hxx,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- sxmlstream.hxx 25 Jan 2003 21:51:28 -0000 1.2
+++ sxmlstream.hxx 27 Jan 2003 06:07:41 -0000 1.3
@@ -21,19 +21,23 @@
#ifndef _LIBSXMLSTREAM_SXMLSTREAM_HXX_
#define _LIBSXMLSTREAM_SXMLSTREAM_HXX_
-#include <stack>
+#include <queue>
#include <sxml.hxx>
using namespace std;
class SXmlStream
{
- queue<SXml,deque<SXml> > * m_queue;
+ queue<SXml> * m_queue;
public:
SXmlStream();
~SXmlStream();
+ bool queueIsEmpty();
+ SXml pop();
+ void push(SXml e);
+
};
class SXmlBinaryStream: public SXmlStream
@@ -56,7 +60,7 @@
~SXmlTextStream();
friend ostream& operator<<(ostream&,
- const SXmlTextStream&);
+ SXmlTextStream&);
};
|
|
From: Yurii R. <yr...@us...> - 2003-01-25 21:51:32
|
Update of /cvsroot/eas-dev/eas-dev/components/logger In directory sc8-pr-cvs1:/tmp/cvs-serv679/components/logger Modified Files: Makefile.am Log Message: a bit update to libsxmlstream; changes in build process; very small change in core-architecture-ru Index: Makefile.am =================================================================== RCS file: /cvsroot/eas-dev/eas-dev/components/logger/Makefile.am,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- Makefile.am 23 Jan 2003 03:42:05 -0000 1.3 +++ Makefile.am 25 Jan 2003 21:51:27 -0000 1.4 @@ -5,6 +5,4 @@ COMPONENT = logger -all-local: bin/liblogger.so - @INCLUDE@ ../../build/unix/mk/component.mk |
|
From: Yurii R. <yr...@us...> - 2003-01-25 21:51:32
|
Update of /cvsroot/eas-dev/eas-dev/libs/libsxmlstream In directory sc8-pr-cvs1:/tmp/cvs-serv679/libs/libsxmlstream Modified Files: Makefile.am Log Message: a bit update to libsxmlstream; changes in build process; very small change in core-architecture-ru Index: Makefile.am =================================================================== RCS file: /cvsroot/eas-dev/eas-dev/libs/libsxmlstream/Makefile.am,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- Makefile.am 25 Jan 2003 20:00:36 -0000 1.2 +++ Makefile.am 25 Jan 2003 21:51:28 -0000 1.3 @@ -1,3 +1 @@ -lib_LTLIBRARIES = libsxmlstream.la -libsxmlstream_la_SOURCES = src/sxml.cxx -INCLUDES = -Iinclude \ No newline at end of file +SUBDIRS = src |
|
From: Yurii R. <yr...@us...> - 2003-01-25 21:51:32
|
Update of /cvsroot/eas-dev/eas-dev/libs/libsxmlstream/src
In directory sc8-pr-cvs1:/tmp/cvs-serv679/libs/libsxmlstream/src
Modified Files:
sxml.cxx
Added Files:
.cvsignore Makefile.am sxmlstream.cxx
Log Message:
a bit update to libsxmlstream; changes in build process; very small
change in core-architecture-ru
--- NEW FILE: .cvsignore ---
Makefile.in
Makefile
*.o
*.lo
*.la
.deps
.libs
--- NEW FILE: Makefile.am ---
lib_LTLIBRARIES = libsxmlstream.la
libsxmlstream_la_SOURCES = sxml.cxx sxmlstream.cxx
INCLUDES = -I../include
--- NEW FILE: sxmlstream.cxx ---
/*******************************************************/
/* */
/* libsxmlstream */
/* */
/* Copyright (c) 2003. */
/* E/AS Software Foundation */
/* */
/* Author(s): */
/* Yurii A. Rashkovskii <yr...@op...> */
/* */
/* */
/* This program is free software; you can redistribute */
/* it and/or modify it under the terms of the GNU */
/* Lesser General Public License as published by the */
/* Free Software Foundation; version 2 of the License. */
/* */
/*******************************************************/
/* $Id: sxmlstream.cxx,v 1.1 2003/01/25 21:51:28 yrashk Exp $ */
#include <sxmlstream.hxx>
using namespace std;
/* SXmlTextStream operators */
ostream& operator<<(ostream& os, const SXmlTextStream& s)
{
SXml e;
while (!m_queue.empty())
{
e = m_queue.front();
switch (e.type)
{
case SXml_Element_t:
os << "(" << e.data << ")";
break;
default:
break;
}
m_queue.pop();
}
return os;
};
Index: sxml.cxx
===================================================================
RCS file: /cvsroot/eas-dev/eas-dev/libs/libsxmlstream/src/sxml.cxx,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- sxml.cxx 25 Jan 2003 20:00:36 -0000 1.1
+++ sxml.cxx 25 Jan 2003 21:51:28 -0000 1.2
@@ -26,9 +26,9 @@
SXml SXml_create(SXml_t aType, string aData)
{
- SXml e = (SXml) malloc(sizeof(_SXml *));
- e->type = aType; e->data = aData;
- e->childs = new vector(1);
+ SXml e;
+ e.type = aType; e.data = aData;
+ e.childs = new vector<SXml>(0);
return e;
}
@@ -60,10 +60,28 @@
return e;
}
+/* SXml destruction */
+
+void SXml_delete(SXml e)
+{
+ delete e.childs;
+}
+
/* Childs operations */
void SXml_create_child(SXml e, SXml c)
{
- (e->childs)->push_back(c);
+ (e.childs)->push_back(c);
+}
+
+string SXml_get_property(SXml e)
+{
+ if (SXml_has_property(e))
+ {
+ return ((SXml)(e.childs)->at(0)).data;
+ } else
+ {
+ return 0;
+ }
}
|
|
From: Yurii R. <yr...@us...> - 2003-01-25 21:51:32
|
Update of /cvsroot/eas-dev/eas-dev/libs/libsxmlstream/include
In directory sc8-pr-cvs1:/tmp/cvs-serv679/libs/libsxmlstream/include
Modified Files:
sxml.hxx sxmlstream.hxx
Log Message:
a bit update to libsxmlstream; changes in build process; very small
change in core-architecture-ru
Index: sxml.hxx
===================================================================
RCS file: /cvsroot/eas-dev/eas-dev/libs/libsxmlstream/include/sxml.hxx,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- sxml.hxx 25 Jan 2003 20:00:36 -0000 1.1
+++ sxml.hxx 25 Jan 2003 21:51:28 -0000 1.2
@@ -38,21 +38,27 @@
struct _SXml {
SXml_t type;
string data;
- vector<_SXml *> childs;
+ vector<_SXml> * childs;
};
-typedef _SXml * SXml;
+typedef _SXml SXml;
/* Type checks */
-#define Is_SXml_t(x,y) ( x->type == y )
+#define Is_SXml_t(x,y) ( x.type == y )
#define Is_SXml_Element(x) Is_SXml_t(x,SXml_Element_t)
#define Is_SXml_Attribute(x) Is_SXml_t(x,SXml_Attribute_t)
#define Is_SXml_Char(x) Is_SXml_t(x,SXml_Char_t)
#define Is_SXml_Namespace(x) Is_SXml_t(x,SXml_Namespace_t)
+/* Tests */
+
+#define SXml_has_property(x) ( ((x.childs)->size() == 1) && \
+ (x.type == ((SXml)((x.childs)->at(0))).type) )
+
+
/* SXml creation */
SXml SXml_create(SXml_t aType, string aData);
@@ -61,7 +67,13 @@
SXml SXml_Char_create(string aData);
SXml SXml_Namespace_create(string aPrefix, string aURI);
+/* SXml destruction */
+
+void SXml_delete(SXml e);
+
/* Childs operations */
void SXml_create_child(SXml e, SXml c);
+
+string SXml_get_property(SXml e);
#endif /* _LIBSXMLSTREAM_SXML_HXX_ */
Index: sxmlstream.hxx
===================================================================
RCS file: /cvsroot/eas-dev/eas-dev/libs/libsxmlstream/include/sxmlstream.hxx,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- sxmlstream.hxx 25 Jan 2003 20:00:36 -0000 1.1
+++ sxmlstream.hxx 25 Jan 2003 21:51:28 -0000 1.2
@@ -21,13 +21,43 @@
#ifndef _LIBSXMLSTREAM_SXMLSTREAM_HXX_
#define _LIBSXMLSTREAM_SXMLSTREAM_HXX_
+#include <stack>
#include <sxml.hxx>
-class SXMLStream
+using namespace std;
+
+class SXmlStream
{
+ queue<SXml,deque<SXml> > * m_queue;
+
public:
- protected:
+ SXmlStream();
+ ~SXmlStream();
+
+};
+
+class SXmlBinaryStream: public SXmlStream
+{
+ public:
+ SXmlBinaryStream();
+ ~SXmlBinaryStream();
+/* friend ostream& operator<<(ostream&,
+ const SXmlBinaryStream&);
+ friend SXmlBinaryStream& operator>>(
+ SXmlBinaryStream&,
+ const ostream&);*/
};
+
+class SXmlTextStream: public SXmlStream
+{
+ public:
+ SXmlTextStream();
+ ~SXmlTextStream();
+
+ friend ostream& operator<<(ostream&,
+ const SXmlTextStream&);
+};
+
#endif /* _LIBSXMLSTREAM_SXMLSTREAM_HXX_ */
|
|
From: Yurii R. <yr...@us...> - 2003-01-25 21:51:32
|
Update of /cvsroot/eas-dev/eas-dev/doc/core-architecture/ru In directory sc8-pr-cvs1:/tmp/cvs-serv679/doc/core-architecture/ru Modified Files: communication.xml Log Message: a bit update to libsxmlstream; changes in build process; very small change in core-architecture-ru Index: communication.xml =================================================================== RCS file: /cvsroot/eas-dev/eas-dev/doc/core-architecture/ru/communication.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- communication.xml 25 Jan 2003 16:42:43 -0000 1.1 +++ communication.xml 25 Jan 2003 21:51:28 -0000 1.2 @@ -7,7 +7,7 @@ <para> GMP ÓÏÓÔÏÉÔ ÉÚ Ä×ÕÈ ÏÓÎÏ× - <glossterm>S-×ÙÒÁÖÅÎÉÊ</glossterm> É <glossterm>XML-ÐÏÄÏÂÎÏÊ</glossterm> ÓÔÕËÔÕÒÙ - <footnote><para>óÍ. <ulink url="http://pobox.com/~oleg/ftp/Scheme/xml.html"> + <footnote><para>óÍ. ÔÁËÖÅ <ulink url="http://pobox.com/~oleg/ftp/Scheme/xml.html"> <citetitle>SXML</citetitle></ulink></para></footnote>. </para> </sect1> |
|
From: Yurii R. <yr...@us...> - 2003-01-25 21:51:32
|
Update of /cvsroot/eas-dev/eas-dev/components In directory sc8-pr-cvs1:/tmp/cvs-serv679/components Modified Files: Makefile.am Log Message: a bit update to libsxmlstream; changes in build process; very small change in core-architecture-ru Index: Makefile.am =================================================================== RCS file: /cvsroot/eas-dev/eas-dev/components/Makefile.am,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- Makefile.am 25 Jan 2003 02:51:50 -0000 1.3 +++ Makefile.am 25 Jan 2003 21:51:27 -0000 1.4 @@ -84,15 +84,14 @@ BASIC_URDS = $(subst idl,urd,$(BASIC_IDLS)) BASIC_URDS_ = $(patsubst %.urd,$(BIN_PATH)/%.urd,$(BASIC_URDS)) -COMPILED_COMPONENTS=$(patsubst %,%/bin/lib%.so,$(COMPONENTS)) COMPONENTS_REGISTRY=$(patsubst %,%/bin/%.rdb,$(COMPONENTS)) all-local: openeas.rdb -openeas.rdb: $(COMPILED_COMPONENTS) $(COMPONENTS_REGISTRY) +openeas.rdb: $(COMPONENTS_REGISTRY) $(REGMERGE) openeas.rdb /UCR openeas-basic.rdb $(COMPONENTS_REGISTRY) -$(COMPILED_COMPONENTS): openeas-basic.rdb +$(COMPONENTS_REGISTRY): openeas-basic.rdb for dir in $(COMPONENTS); do \ $(MAKE) -C $$dir; \ done |
|
From: Yurii R. <yr...@us...> - 2003-01-25 21:51:31
|
Update of /cvsroot/eas-dev/eas-dev/build/unix In directory sc8-pr-cvs1:/tmp/cvs-serv679/build/unix Modified Files: configure.in Log Message: a bit update to libsxmlstream; changes in build process; very small change in core-architecture-ru Index: configure.in =================================================================== RCS file: /cvsroot/eas-dev/eas-dev/build/unix/configure.in,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- configure.in 25 Jan 2003 20:00:36 -0000 1.6 +++ configure.in 25 Jan 2003 21:51:27 -0000 1.7 @@ -104,4 +104,6 @@ ../../services/Makefile ../../services/domain-controller/Makefile ../../libs/Makefile - ../../libs/libsxmlstream/Makefile]) + ../../libs/libsxmlstream/Makefile + ../../libs/libsxmlstream/src/Makefile + ]) |
|
From: Yurii R. <yr...@us...> - 2003-01-25 21:51:31
|
Update of /cvsroot/eas-dev/eas-dev/build/unix/mk In directory sc8-pr-cvs1:/tmp/cvs-serv679/build/unix/mk Modified Files: component.mk.in Log Message: a bit update to libsxmlstream; changes in build process; very small change in core-architecture-ru Index: component.mk.in =================================================================== RCS file: /cvsroot/eas-dev/eas-dev/build/unix/mk/component.mk.in,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- component.mk.in 25 Jan 2003 02:51:50 -0000 1.4 +++ component.mk.in 25 Jan 2003 21:51:27 -0000 1.5 @@ -60,9 +60,10 @@ TYPES = $(foreach t,$(shell $(XML2CMP) -types stdout $(DESCRIPTOR)),-T$(t)) -$(BIN_PATH)/lib$(COMPONENT).so: $(AUTOCODE) +all: $(SRC_PATH)/.libs/lib$(COMPONENT).so + +$(SRC_PATH)/.libs/lib$(COMPONENT).so: $(AUTOCODE) $(MAKE) -C $(SRC_PATH) - $(LN_S) -f ../$(SRC_PATH)/.libs/lib$(COMPONENT).so $(BIN_PATH)/lib$(COMPONENT).so $(AUTOCODE) : $(BIN_PATH)/$(COMPONENT).rdb ../openeas-basic.rdb $(CODEMAKER)maker -BUCR -O$(INC_PATH) $(TYPES) $(BIN_PATH)/$(COMPONENT).rdb ../openeas-basic.rdb |
|
From: Yurii R. <yr...@us...> - 2003-01-25 21:51:29
|
Update of /cvsroot/eas-dev/eas-dev In directory sc8-pr-cvs1:/tmp/cvs-serv679 Modified Files: Makefile.am Log Message: a bit update to libsxmlstream; changes in build process; very small change in core-architecture-ru Index: Makefile.am =================================================================== RCS file: /cvsroot/eas-dev/eas-dev/Makefile.am,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- Makefile.am 25 Jan 2003 20:00:35 -0000 1.1 +++ Makefile.am 25 Jan 2003 21:51:26 -0000 1.2 @@ -1 +1 @@ -SUBDIRS = components services doc +SUBDIRS = libs components services doc |
|
From: Yurii R. <yr...@us...> - 2003-01-25 20:13:10
|
Update of /cvsroot/eas-dev/eas-dev/doc/template.book In directory sc8-pr-cvs1:/tmp/cvs-serv7147/template.book Removed Files: book.xml document.xml Log Message: template.book is not needed now --- book.xml DELETED --- --- document.xml DELETED --- |
|
From: Yurii R. <yr...@us...> - 2003-01-25 20:00:39
|
Update of /cvsroot/eas-dev/eas-dev/libs/libsxmlstream/src
In directory sc8-pr-cvs1:/tmp/cvs-serv31727/libs/libsxmlstream/src
Added Files:
sxml.cxx
Log Message:
Moving main Makefile to root; Started `libsxmlstream' implementation
--- NEW FILE: sxml.cxx ---
/*******************************************************/
/* */
/* libsxmlstream */
/* */
/* Copyright (c) 2003. */
/* E/AS Software Foundation */
/* */
/* Author(s): */
/* Yurii A. Rashkovskii <yr...@op...> */
/* */
/* */
/* This program is free software; you can redistribute */
/* it and/or modify it under the terms of the GNU */
/* Lesser General Public License as published by the */
/* Free Software Foundation; version 2 of the License. */
/* */
/*******************************************************/
/* $Id: sxml.cxx,v 1.1 2003/01/25 20:00:36 yrashk Exp $ */
#include <sxml.hxx>
using namespace std;
/* SXml creation */
SXml SXml_create(SXml_t aType, string aData)
{
SXml e = (SXml) malloc(sizeof(_SXml *));
e->type = aType; e->data = aData;
e->childs = new vector(1);
return e;
}
SXml SXml_Element_create(string aName)
{
return SXml_create(SXml_Element_t, aName);
}
SXml SXml_Attribute_create(string aName, string aValue)
{
SXml e = SXml_create(SXml_Attribute_t, aName);
SXml c = SXml_create(SXml_Attribute_t, aValue);
SXml_create_child(e, c);
return e;
}
SXml SXml_Char_create(string aData)
{
return SXml_create(SXml_Char_t, aData);
}
SXml SXml_Namespace_create(string aPrefix, string aURI)
{
SXml e = SXml_create(SXml_Namespace_t, aPrefix);
SXml c = SXml_create(SXml_Namespace_t, aURI);
SXml_create_child(e, c);
return e;
}
/* Childs operations */
void SXml_create_child(SXml e, SXml c)
{
(e->childs)->push_back(c);
}
|
|
From: Yurii R. <yr...@us...> - 2003-01-25 20:00:39
|
Update of /cvsroot/eas-dev/eas-dev/libs/libsxmlstream/include
In directory sc8-pr-cvs1:/tmp/cvs-serv31727/libs/libsxmlstream/include
Added Files:
sxml.hxx sxmlstream.hxx
Log Message:
Moving main Makefile to root; Started `libsxmlstream' implementation
--- NEW FILE: sxml.hxx ---
/*******************************************************/
/* */
/* libsxmlstream */
/* */
/* Copyright (c) 2003. */
/* E/AS Software Foundation */
/* */
/* Author(s): */
/* Yurii A. Rashkovskii <yr...@op...> */
/* */
/* */
/* This program is free software; you can redistribute */
/* it and/or modify it under the terms of the GNU */
/* Lesser General Public License as published by the */
/* Free Software Foundation; version 2 of the License. */
/* */
/*******************************************************/
/* $Id: sxml.hxx,v 1.1 2003/01/25 20:00:36 yrashk Exp $ */
#ifndef _LIBSXMLSTREAM_SXML_HXX_
#define _LIBSXMLSTREAM_SXML_HXX_
#include <string>
#include <vector>
using namespace std;
typedef enum
{
SXml_Element_t,
SXml_Attribute_t,
SXml_Char_t,
SXml_Namespace_t
} SXml_t;
struct _SXml {
SXml_t type;
string data;
vector<_SXml *> childs;
};
typedef _SXml * SXml;
/* Type checks */
#define Is_SXml_t(x,y) ( x->type == y )
#define Is_SXml_Element(x) Is_SXml_t(x,SXml_Element_t)
#define Is_SXml_Attribute(x) Is_SXml_t(x,SXml_Attribute_t)
#define Is_SXml_Char(x) Is_SXml_t(x,SXml_Char_t)
#define Is_SXml_Namespace(x) Is_SXml_t(x,SXml_Namespace_t)
/* SXml creation */
SXml SXml_create(SXml_t aType, string aData);
SXml SXml_Element_create(string aName);
SXml SXml_Attribute_create(string aName, string aValue);
SXml SXml_Char_create(string aData);
SXml SXml_Namespace_create(string aPrefix, string aURI);
/* Childs operations */
void SXml_create_child(SXml e, SXml c);
#endif /* _LIBSXMLSTREAM_SXML_HXX_ */
--- NEW FILE: sxmlstream.hxx ---
/*******************************************************/
/* */
/* libsxmlstream */
/* */
/* Copyright (c) 2003. */
/* E/AS Software Foundation */
/* */
/* Author(s): */
/* Yurii A. Rashkovskii <yr...@op...> */
/* */
/* */
/* This program is free software; you can redistribute */
/* it and/or modify it under the terms of the GNU */
/* Lesser General Public License as published by the */
/* Free Software Foundation; version 2 of the License. */
/* */
/*******************************************************/
/* $Id: sxmlstream.hxx,v 1.1 2003/01/25 20:00:36 yrashk Exp $ */
#ifndef _LIBSXMLSTREAM_SXMLSTREAM_HXX_
#define _LIBSXMLSTREAM_SXMLSTREAM_HXX_
#include <sxml.hxx>
class SXMLStream
{
public:
protected:
};
#endif /* _LIBSXMLSTREAM_SXMLSTREAM_HXX_ */
|
|
From: Yurii R. <yr...@us...> - 2003-01-25 20:00:39
|
Update of /cvsroot/eas-dev/eas-dev/libs/libsxmlstream In directory sc8-pr-cvs1:/tmp/cvs-serv31727/libs/libsxmlstream Modified Files: .cvsignore Makefile.am Log Message: Moving main Makefile to root; Started `libsxmlstream' implementation Index: .cvsignore =================================================================== RCS file: /cvsroot/eas-dev/eas-dev/libs/libsxmlstream/.cvsignore,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- .cvsignore 23 Jan 2003 00:53:01 -0000 1.1 +++ .cvsignore 25 Jan 2003 20:00:36 -0000 1.2 @@ -1,2 +1,4 @@ Makefile -Makefile.in \ No newline at end of file +Makefile.in +.deps +.libs \ No newline at end of file Index: Makefile.am =================================================================== RCS file: /cvsroot/eas-dev/eas-dev/libs/libsxmlstream/Makefile.am,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- Makefile.am 23 Jan 2003 00:53:01 -0000 1.1 +++ Makefile.am 25 Jan 2003 20:00:36 -0000 1.2 @@ -0,0 +1,3 @@ +lib_LTLIBRARIES = libsxmlstream.la +libsxmlstream_la_SOURCES = src/sxml.cxx +INCLUDES = -Iinclude \ No newline at end of file |
|
From: Yurii R. <yr...@us...> - 2003-01-25 20:00:38
|
Update of /cvsroot/eas-dev/eas-dev/build/unix
In directory sc8-pr-cvs1:/tmp/cvs-serv31727/build/unix
Modified Files:
.cvsignore configure.in
Removed Files:
Makefile.am
Log Message:
Moving main Makefile to root; Started `libsxmlstream' implementation
Index: .cvsignore
===================================================================
RCS file: /cvsroot/eas-dev/eas-dev/build/unix/.cvsignore,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- .cvsignore 23 Jan 2003 03:42:05 -0000 1.4
+++ .cvsignore 25 Jan 2003 20:00:35 -0000 1.5
@@ -1,5 +1,3 @@
-Makefile
-Makefile.in
config.h
config.cache
config.log
Index: configure.in
===================================================================
RCS file: /cvsroot/eas-dev/eas-dev/build/unix/configure.in,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- configure.in 25 Jan 2003 02:51:50 -0000 1.5
+++ configure.in 25 Jan 2003 20:00:36 -0000 1.6
@@ -93,7 +93,7 @@
AM_PROG_LIBTOOL
-AC_OUTPUT([Makefile mk/component.mk mk/document.mk
+AC_OUTPUT([../../Makefile mk/component.mk mk/document.mk
../../doc/Makefile
../../doc/core-architecture/Makefile
../../doc/core-architecture/ru/Makefile
--- Makefile.am DELETED ---
|
|
From: Yurii R. <yr...@us...> - 2003-01-25 20:00:38
|
Update of /cvsroot/eas-dev/eas-dev/components/logger/src In directory sc8-pr-cvs1:/tmp/cvs-serv31727/components/logger/src Modified Files: .cvsignore Log Message: Moving main Makefile to root; Started `libsxmlstream' implementation Index: .cvsignore =================================================================== RCS file: /cvsroot/eas-dev/eas-dev/components/logger/src/.cvsignore,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- .cvsignore 23 Jan 2003 03:42:05 -0000 1.1 +++ .cvsignore 25 Jan 2003 20:00:36 -0000 1.2 @@ -3,4 +3,5 @@ .deps .libs *.o -*.lo \ No newline at end of file +*.lo +liblogger.la \ No newline at end of file |
|
From: Yurii R. <yr...@us...> - 2003-01-25 20:00:38
|
Update of /cvsroot/eas-dev/eas-dev In directory sc8-pr-cvs1:/tmp/cvs-serv31727 Added Files: .cvsignore Makefile.am Log Message: Moving main Makefile to root; Started `libsxmlstream' implementation --- NEW FILE: .cvsignore --- Makefile Makefile.in --- NEW FILE: Makefile.am --- SUBDIRS = components services doc |
|
From: Yurii R. <yr...@us...> - 2003-01-25 19:59:00
|
Update of /cvsroot/eas-dev/eas-dev/libs/libsxmlstream/include In directory sc8-pr-cvs1:/tmp/cvs-serv31072/include Log Message: Directory /cvsroot/eas-dev/eas-dev/libs/libsxmlstream/include added to the repository |