Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
proview
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Esteban Blanc
proview
Commits
9aefeb81
Commit
9aefeb81
authored
Nov 20, 2018
by
Claes Sjofors
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of newton:/data1/x0-0-0/pwr
parents
d55df48a
6be5ad8f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
23 additions
and
14 deletions
+23
-14
src/exe/co_convert/src/cnv_xtthelptohtml.cpp
src/exe/co_convert/src/cnv_xtthelptohtml.cpp
+19
-5
src/lib/rt/src/rt_pvd_udb.cpp
src/lib/rt/src/rt_pvd_udb.cpp
+2
-7
src/tools/pkg/deb/pwrrt/control
src/tools/pkg/deb/pwrrt/control
+2
-2
No files found.
src/exe/co_convert/src/cnv_xtthelptohtml.cpp
View file @
9aefeb81
...
@@ -173,10 +173,7 @@ void* CnvXtthelpToHtml::insert(navh_eItemType item_type, const char* text1,
...
@@ -173,10 +173,7 @@ void* CnvXtthelpToHtml::insert(navh_eItemType item_type, const char* text1,
}
else
{
}
else
{
subject_to_fname
(
fname
,
link
,
0
);
subject_to_fname
(
fname
,
link
,
0
);
if
(
!
streq
(
link_bookmark
,
""
))
{
if
(
file_name
&&
!
streq
(
file_name
,
""
))
{
strcat
(
fname
,
"#"
);
strcat
(
fname
,
link_bookmark
);
}
else
if
(
file_name
&&
!
streq
(
file_name
,
""
))
{
char
*
s
=
(
char
*
)
strrchr
(
file_name
,
'/'
);
char
*
s
=
(
char
*
)
strrchr
(
file_name
,
'/'
);
if
(
s
)
if
(
s
)
strcpy
(
fname
,
s
+
1
);
strcpy
(
fname
,
s
+
1
);
...
@@ -189,6 +186,10 @@ void* CnvXtthelpToHtml::insert(navh_eItemType item_type, const char* text1,
...
@@ -189,6 +186,10 @@ void* CnvXtthelpToHtml::insert(navh_eItemType item_type, const char* text1,
strcat
(
fname
,
link
);
strcat
(
fname
,
link
);
strcat
(
fname
,
".html"
);
strcat
(
fname
,
".html"
);
}
}
if
(
!
streq
(
link_bookmark
,
""
))
{
strcat
(
fname
,
"#"
);
strcat
(
fname
,
link_bookmark
);
}
}
}
if
(
!
in_table
)
if
(
!
in_table
)
fp
<<
"<A HREF=
\"
"
<<
fname
<<
"
\"
>"
;
fp
<<
"<A HREF=
\"
"
<<
fname
<<
"
\"
>"
;
...
@@ -259,10 +260,23 @@ void* CnvXtthelpToHtml::insert(navh_eItemType item_type, const char* text1,
...
@@ -259,10 +260,23 @@ void* CnvXtthelpToHtml::insert(navh_eItemType item_type, const char* text1,
strcpy
(
fname
,
link
);
strcpy
(
fname
,
link
);
}
else
{
}
else
{
subject_to_fname
(
fname
,
link
,
0
);
subject_to_fname
(
fname
,
link
,
0
);
if
(
file_name
&&
!
streq
(
file_name
,
""
))
{
char
*
s
=
(
char
*
)
strrchr
(
file_name
,
'/'
);
if
(
s
)
strcpy
(
fname
,
s
+
1
);
else
strcpy
(
fname
,
file_name
);
s
=
strchr
(
fname
,
'.'
);
if
(
s
)
*
s
=
0
;
strcat
(
fname
,
"_"
);
strcat
(
fname
,
link
);
strcat
(
fname
,
".html"
);
}
if
(
!
streq
(
link_bookmark
,
""
))
{
if
(
!
streq
(
link_bookmark
,
""
))
{
strcat
(
fname
,
"#"
);
strcat
(
fname
,
"#"
);
strcat
(
fname
,
link_bookmark
);
strcat
(
fname
,
link_bookmark
);
}
}
}
}
if
(
!
in_table
)
if
(
!
in_table
)
fp
<<
"<A HREF=
\"
"
<<
fname
<<
"
\"
>"
;
fp
<<
"<A HREF=
\"
"
<<
fname
<<
"
\"
>"
;
...
...
src/lib/rt/src/rt_pvd_udb.cpp
View file @
9aefeb81
...
@@ -167,10 +167,8 @@ void rt_pvd_udb::load_systemgroup(SystemList* systemgroup)
...
@@ -167,10 +167,8 @@ void rt_pvd_udb::load_systemgroup(SystemList* systemgroup)
strcpy
(
item
.
name
,
sname
);
strcpy
(
item
.
name
,
sname
);
gu
->
get_system_data
(
sname
,
&
body
->
Attributes
,
&
item
.
oix
,
body
->
Description
);
gu
->
get_system_data
(
sname
,
&
body
->
Attributes
,
&
item
.
oix
,
body
->
Description
);
item
.
oix
++
;
item
.
oix
=
next_oix
++
;
if
(
next_oix
<=
item
.
oix
)
next_oix
=
item
.
oix
+
1
;
item
.
cid
=
pwr_cClass_SystemGroupReg
;
item
.
cid
=
pwr_cClass_SystemGroupReg
;
item
.
fthoix
=
menu_stack
[
menu_cnt
-
1
];
item
.
fthoix
=
menu_stack
[
menu_cnt
-
1
];
item
.
bwsoix
=
m_list
[
item
.
fthoix
].
lchoix
;
item
.
bwsoix
=
m_list
[
item
.
fthoix
].
lchoix
;
...
@@ -211,10 +209,7 @@ void rt_pvd_udb::load_user(UserList* user, SystemList* sg)
...
@@ -211,10 +209,7 @@ void rt_pvd_udb::load_user(UserList* user, SystemList* sg)
body
=
(
pwr_sClass_UserReg
*
)
calloc
(
1
,
sizeof
(
pwr_sClass_UserReg
));
body
=
(
pwr_sClass_UserReg
*
)
calloc
(
1
,
sizeof
(
pwr_sClass_UserReg
));
user
->
get_data
(
body
->
Password
,
&
body
->
Privileges
,
&
item
.
oix
,
body
->
FullName
,
user
->
get_data
(
body
->
Password
,
&
body
->
Privileges
,
&
item
.
oix
,
body
->
FullName
,
body
->
Description
,
body
->
Email
,
body
->
Phone
,
body
->
Sms
);
body
->
Description
,
body
->
Email
,
body
->
Phone
,
body
->
Sms
);
item
.
oix
++
;
item
.
oix
=
next_oix
++
;
if
(
next_oix
<=
item
.
oix
)
next_oix
=
item
.
oix
+
1
;
item
.
cid
=
pwr_cClass_UserReg
;
item
.
cid
=
pwr_cClass_UserReg
;
item
.
fthoix
=
menu_stack
[
menu_cnt
-
1
];
item
.
fthoix
=
menu_stack
[
menu_cnt
-
1
];
...
...
src/tools/pkg/deb/pwrrt/control
View file @
9aefeb81
...
@@ -3,8 +3,8 @@ Version: 5.6.1-1
...
@@ -3,8 +3,8 @@ Version: 5.6.1-1
Section: base
Section: base
Priority: optional
Priority: optional
Architecture: i386
Architecture: i386
Depends: libc6 (>= 2.
19-18+deb8u1), libgtk2.0-0 (>= 2.24.25-3), libasound2 (>= 1.0.28-1), libsqlite3-0 (>= 3.5.7.1-1+deb8u1), libdb5.3 (>=5.3.28-9
)
Depends: libc6 (>= 2.
24-11+deb9u3), libgtk2.0-0 (>= 2.24.31-2), libasound2 (>= 1.1.3-5), libsqlite3-0 (>= 3.16.2-5+deb9u1), libdb5.3 (>=5.3.28-12+deb9u1
)
Replaces: pwr34,pwr39,pwr40,pwr41,pwr42,pwr43,pwr44,pwr45,pwr46,pwr47,pwr48,pwr50,pwr51,pwr52,pwr53,pwr54
Replaces: pwr34,pwr39,pwr40,pwr41,pwr42,pwr43,pwr44,pwr45,pwr46,pwr47,pwr48,pwr50,pwr51,pwr52,pwr53,pwr54
,pwr55
Maintainer: Proview <postmaster@proview.se>
Maintainer: Proview <postmaster@proview.se>
Description:
Description:
5.6.1-1 Base release
5.6.1-1 Base release
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