Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
U
uniset2
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
UniSet project repositories
uniset2
Commits
5394d402
Commit
5394d402
authored
Mar 29, 2011
by
Pavel Vainerman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Исправил ошибку. В шаблонах кодогенератора стояла старая кодировка koi8-r. Сделал utf-8.
parent
5b9709fc
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
21 additions
and
18 deletions
+21
-18
ctl-cpp-cc-alone-ask.xsl
Utilities/codegen/ctl-cpp-cc-alone-ask.xsl
+2
-2
ctl-cpp-cc-alone.xsl
Utilities/codegen/ctl-cpp-cc-alone.xsl
+2
-2
ctl-cpp-cc-ask.xsl
Utilities/codegen/ctl-cpp-cc-ask.xsl
+2
-2
ctl-cpp-cc.xsl
Utilities/codegen/ctl-cpp-cc.xsl
+1
-1
ctl-cpp-common.xsl
Utilities/codegen/ctl-cpp-common.xsl
+2
-2
ctl-cpp-h-alone.xsl
Utilities/codegen/ctl-cpp-h-alone.xsl
+2
-2
ctl-cpp-h.xsl
Utilities/codegen/ctl-cpp-h.xsl
+2
-2
ctl-cpp-main-alone.xsl
Utilities/codegen/ctl-cpp-main-alone.xsl
+2
-2
ctl-cpp-main.xsl
Utilities/codegen/ctl-cpp-main.xsl
+2
-2
libuniset.spec
conf/libuniset.spec
+4
-1
No files found.
Utilities/codegen/ctl-cpp-cc-alone-ask.xsl
View file @
5394d402
<?xml version='1.0' encoding="
koi8-r
" ?>
<?xml version='1.0' encoding="
utf-8
" ?>
<xsl:stylesheet
xmlns:xsl=
"http://www.w3.org/1999/XSL/Transform"
version=
'1.0'
<xsl:stylesheet
xmlns:xsl=
"http://www.w3.org/1999/XSL/Transform"
version=
'1.0'
xmlns:date=
"http://exslt.org/dates-and-times"
>
xmlns:date=
"http://exslt.org/dates-and-times"
>
<xsl:import
href=
"ctl-cpp-common.xsl"
/>
<xsl:import
href=
"ctl-cpp-common.xsl"
/>
<xsl:output
method=
"text"
indent=
"yes"
encoding=
"
koi8-r
"
/>
<xsl:output
method=
"text"
indent=
"yes"
encoding=
"
utf-8
"
/>
<!-- Генерирование cc-файла -->
<!-- Генерирование cc-файла -->
<xsl:variable
name=
"CLASSNAME"
>
<xsl:variable
name=
"CLASSNAME"
>
...
...
Utilities/codegen/ctl-cpp-cc-alone.xsl
View file @
5394d402
<?xml version='1.0' encoding="
koi8-r
" ?>
<?xml version='1.0' encoding="
utf-8
" ?>
<xsl:stylesheet
xmlns:xsl=
"http://www.w3.org/1999/XSL/Transform"
version=
'1.0'
<xsl:stylesheet
xmlns:xsl=
"http://www.w3.org/1999/XSL/Transform"
version=
'1.0'
xmlns:date=
"http://exslt.org/dates-and-times"
>
xmlns:date=
"http://exslt.org/dates-and-times"
>
<xsl:import
href=
"ctl-cpp-common.xsl"
/>
<xsl:import
href=
"ctl-cpp-common.xsl"
/>
<xsl:output
method=
"text"
indent=
"yes"
encoding=
"
koi8-r
"
/>
<xsl:output
method=
"text"
indent=
"yes"
encoding=
"
utf-8
"
/>
<!-- Генерирование cc-файла -->
<!-- Генерирование cc-файла -->
<xsl:variable
name=
"CLASSNAME"
>
<xsl:variable
name=
"CLASSNAME"
>
...
...
Utilities/codegen/ctl-cpp-cc-ask.xsl
View file @
5394d402
<?xml version='1.0' encoding="
koi8-r
" ?>
<?xml version='1.0' encoding="
utf-8
" ?>
<xsl:stylesheet
xmlns:xsl=
"http://www.w3.org/1999/XSL/Transform"
version=
'1.0'
<xsl:stylesheet
xmlns:xsl=
"http://www.w3.org/1999/XSL/Transform"
version=
'1.0'
xmlns:date=
"http://exslt.org/dates-and-times"
>
xmlns:date=
"http://exslt.org/dates-and-times"
>
<xsl:import
href=
"ctl-cpp-common.xsl"
/>
<xsl:import
href=
"ctl-cpp-common.xsl"
/>
<xsl:output
method=
"text"
indent=
"yes"
encoding=
"
koi8-r
"
/>
<xsl:output
method=
"text"
indent=
"yes"
encoding=
"
utf-8
"
/>
<xsl:variable
name=
"CLASSNAME"
>
<xsl:variable
name=
"CLASSNAME"
>
<xsl:call-template
name=
"settings"
><xsl:with-param
name=
"varname"
select=
"'class-name'"
/></xsl:call-template>
<xsl:call-template
name=
"settings"
><xsl:with-param
name=
"varname"
select=
"'class-name'"
/></xsl:call-template>
...
...
Utilities/codegen/ctl-cpp-cc.xsl
View file @
5394d402
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
xmlns:date=
"http://exslt.org/dates-and-times"
>
xmlns:date=
"http://exslt.org/dates-and-times"
>
<xsl:import
href=
"ctl-cpp-common.xsl"
/>
<xsl:import
href=
"ctl-cpp-common.xsl"
/>
<xsl:output
method=
"text"
indent=
"yes"
encoding=
"
koi8-r
"
/>
<xsl:output
method=
"text"
indent=
"yes"
encoding=
"
utf-8
"
/>
<xsl:variable
name=
"CLASSNAME"
>
<xsl:variable
name=
"CLASSNAME"
>
<xsl:call-template
name=
"settings"
><xsl:with-param
name=
"varname"
select=
"'class-name'"
/></xsl:call-template>
<xsl:call-template
name=
"settings"
><xsl:with-param
name=
"varname"
select=
"'class-name'"
/></xsl:call-template>
...
...
Utilities/codegen/ctl-cpp-common.xsl
View file @
5394d402
<?xml version='1.0' encoding="
koi8-r
" ?>
<?xml version='1.0' encoding="
utf-8
" ?>
<xsl:stylesheet
xmlns:xsl=
"http://www.w3.org/1999/XSL/Transform"
version=
'1.0'
<xsl:stylesheet
xmlns:xsl=
"http://www.w3.org/1999/XSL/Transform"
version=
'1.0'
xmlns:date=
"http://exslt.org/dates-and-times"
>
xmlns:date=
"http://exslt.org/dates-and-times"
>
<xsl:output
method=
"text"
indent=
"yes"
encoding=
"
koi8-r
"
/>
<xsl:output
method=
"text"
indent=
"yes"
encoding=
"
utf-8
"
/>
<xsl:template
name=
"settype"
>
<xsl:template
name=
"settype"
>
<xsl:param
name=
"iotype"
/>
<xsl:param
name=
"iotype"
/>
...
...
Utilities/codegen/ctl-cpp-h-alone.xsl
View file @
5394d402
<?xml version='1.0' encoding="
koi8-r
" ?>
<?xml version='1.0' encoding="
utf-8
" ?>
<xsl:stylesheet
xmlns:xsl=
"http://www.w3.org/1999/XSL/Transform"
version=
'1.0'
<xsl:stylesheet
xmlns:xsl=
"http://www.w3.org/1999/XSL/Transform"
version=
'1.0'
xmlns:date=
"http://exslt.org/dates-and-times"
>
xmlns:date=
"http://exslt.org/dates-and-times"
>
<xsl:import
href=
"ctl-cpp-common.xsl"
/>
<xsl:import
href=
"ctl-cpp-common.xsl"
/>
<xsl:output
method=
"text"
indent=
"yes"
encoding=
"
koi8-r
"
/>
<xsl:output
method=
"text"
indent=
"yes"
encoding=
"
utf-8
"
/>
<xsl:variable
name=
"CLASSNAME"
>
<xsl:variable
name=
"CLASSNAME"
>
<xsl:call-template
name=
"settings-alone"
><xsl:with-param
name=
"varname"
select=
"'class-name'"
/></xsl:call-template>
<xsl:call-template
name=
"settings-alone"
><xsl:with-param
name=
"varname"
select=
"'class-name'"
/></xsl:call-template>
...
...
Utilities/codegen/ctl-cpp-h.xsl
View file @
5394d402
<?xml version='1.0' encoding="
koi8-r
" ?>
<?xml version='1.0' encoding="
utf-8
" ?>
<xsl:stylesheet
xmlns:xsl=
"http://www.w3.org/1999/XSL/Transform"
version=
'1.0'
<xsl:stylesheet
xmlns:xsl=
"http://www.w3.org/1999/XSL/Transform"
version=
'1.0'
xmlns:date=
"http://exslt.org/dates-and-times"
>
xmlns:date=
"http://exslt.org/dates-and-times"
>
<xsl:import
href=
"ctl-cpp-common.xsl"
/>
<xsl:import
href=
"ctl-cpp-common.xsl"
/>
<xsl:output
method=
"text"
indent=
"yes"
encoding=
"
koi8-r
"
/>
<xsl:output
method=
"text"
indent=
"yes"
encoding=
"
utf-8
"
/>
<xsl:variable
name=
"CLASSNAME"
>
<xsl:variable
name=
"CLASSNAME"
>
<xsl:call-template
name=
"settings"
><xsl:with-param
name=
"varname"
select=
"'class-name'"
/></xsl:call-template>
<xsl:call-template
name=
"settings"
><xsl:with-param
name=
"varname"
select=
"'class-name'"
/></xsl:call-template>
...
...
Utilities/codegen/ctl-cpp-main-alone.xsl
View file @
5394d402
<?xml version='1.0' encoding="
koi8-r
" ?>
<?xml version='1.0' encoding="
utf-8
" ?>
<xsl:stylesheet
xmlns:xsl=
"http://www.w3.org/1999/XSL/Transform"
version=
'1.0'
<xsl:stylesheet
xmlns:xsl=
"http://www.w3.org/1999/XSL/Transform"
version=
'1.0'
xmlns:date=
"http://exslt.org/dates-and-times"
>
xmlns:date=
"http://exslt.org/dates-and-times"
>
<xsl:import
href=
"ctl-cpp-common.xsl"
/>
<xsl:import
href=
"ctl-cpp-common.xsl"
/>
<xsl:output
method=
"text"
indent=
"yes"
encoding=
"
koi8-r
"
/>
<xsl:output
method=
"text"
indent=
"yes"
encoding=
"
utf-8
"
/>
<xsl:variable
name=
"CLASSNAME"
>
<xsl:variable
name=
"CLASSNAME"
>
<xsl:call-template
name=
"settings-alone"
><xsl:with-param
name=
"varname"
select=
"'class-name'"
/></xsl:call-template>
<xsl:call-template
name=
"settings-alone"
><xsl:with-param
name=
"varname"
select=
"'class-name'"
/></xsl:call-template>
...
...
Utilities/codegen/ctl-cpp-main.xsl
View file @
5394d402
<?xml version='1.0' encoding="
koi8-r
" ?>
<?xml version='1.0' encoding="
utf-8
" ?>
<xsl:stylesheet
xmlns:xsl=
"http://www.w3.org/1999/XSL/Transform"
version=
'1.0'
<xsl:stylesheet
xmlns:xsl=
"http://www.w3.org/1999/XSL/Transform"
version=
'1.0'
xmlns:date=
"http://exslt.org/dates-and-times"
>
xmlns:date=
"http://exslt.org/dates-and-times"
>
<xsl:import
href=
"ctl-cpp-common.xsl"
/>
<xsl:import
href=
"ctl-cpp-common.xsl"
/>
<xsl:output
method=
"text"
indent=
"yes"
encoding=
"
koi8-r
"
/>
<xsl:output
method=
"text"
indent=
"yes"
encoding=
"
utf-8
"
/>
<xsl:variable
name=
"CLASSNAME"
>
<xsl:variable
name=
"CLASSNAME"
>
<xsl:call-template
name=
"settings"
><xsl:with-param
name=
"varname"
select=
"'class-name'"
/></xsl:call-template>
<xsl:call-template
name=
"settings"
><xsl:with-param
name=
"varname"
select=
"'class-name'"
/></xsl:call-template>
...
...
conf/libuniset.spec
View file @
5394d402
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
Name: libuniset
Name: libuniset
Version: 1.0
Version: 1.0
Release: alt1
6
Release: alt1
7
Summary: UniSet - library for building distributed industrial control systems
Summary: UniSet - library for building distributed industrial control systems
License: GPL
License: GPL
Group: Development/C++
Group: Development/C++
...
@@ -191,6 +191,9 @@ rm -f %buildroot%_libdir/*.la
...
@@ -191,6 +191,9 @@ rm -f %buildroot%_libdir/*.la
%exclude %_pkgconfigdir/libUniSet.pc
%exclude %_pkgconfigdir/libUniSet.pc
%changelog
%changelog
* Tue Mar 29 2011 Pavel Vainerman <pv@altlinux.ru> 1.0-alt17
- set encoding="utf-8" for codegen templates
* Tue Mar 29 2011 Pavel Vainerman <pv@altlinux.ru> 1.0-alt16
* Tue Mar 29 2011 Pavel Vainerman <pv@altlinux.ru> 1.0-alt16
- fixed minor bug in codegen
- fixed minor bug in codegen
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment