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
ac07b14c
Commit
ac07b14c
authored
Apr 21, 2009
by
Claes Sjofors
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Profinet msg added
parent
ab9393e3
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
29 additions
and
20 deletions
+29
-20
src/msg/rt/src/rt_pb_msg.msg
src/msg/rt/src/rt_pb_msg.msg
+3
-0
xtt/changelog.txt
xtt/changelog.txt
+2
-1
xtt/lib/xtt/src/xtt_url.cpp
xtt/lib/xtt/src/xtt_url.cpp
+24
-19
No files found.
src/msg/rt/src/rt_pb_msg.msg
View file @
ac07b14c
...
...
@@ -41,6 +41,9 @@ configerr <Configuration error> /error
masterlock <Slave is locked by other master> /error
notready <Not ready> /warning
gsdattr <Gsdfile attibute is empty> /error
nyi <Not yet implemented> /error
syntax <Conversion syntax error> /error
gsdmlfile <Unable to open GSDML file> /error
.end
xtt/changelog.txt
View file @
ac07b14c
...
...
@@ -114,4 +114,5 @@
081128 cs flow Metric antialiased fonts.
081128 cs glow Metric antialiased fonts, scalable texts, change of fonts for subgraphs.
081130 cs glow Font can be set on node and group level for text and annotations.
081130 cs glow Red error color is not affected by gradient property.
\ No newline at end of file
081130 cs glow Red error color is not affected by gradient property.
090128 cs xtt Bugfix in alarmlist acknowlege.
\ No newline at end of file
xtt/lib/xtt/src/xtt_url.cpp
View file @
ac07b14c
...
...
@@ -42,7 +42,7 @@ int xnav_open_URL( pwr_tURL url)
{
char
cmd
[
200
];
int
sts
;
pwr_sClass_WebBrowserConfig
*
config_p
;
pwr_sClass_WebBrowserConfig
*
config_p
=
0
;
char
browser
[
40
]
=
"netscape"
;
pwr_tObjid
config_objid
;
...
...
@@ -53,28 +53,29 @@ int xnav_open_URL( pwr_tURL url)
if
(
ODD
(
sts
))
{
if
(
strcmp
(
config_p
->
WebBrowser
,
""
)
!=
0
)
strcpy
(
browser
,
config_p
->
WebBrowser
);
}
if
(
strncmp
(
url
,
"$pwr_lang/"
,
10
)
==
0
)
{
// If file in $pwr_lang, check if file exist, else take en_us
if
(
Lng
::
current
()
!=
lng_eLanguage_en_us
)
{
pwr_tURL
testurl
;
pwr_tTime
t
;
replace_symbol
(
url
,
testurl
,
config_p
);
dcli_translate_filename
(
testurl
,
testurl
);
sts
=
dcli_file_time
(
testurl
,
&
t
);
if
(
EVEN
(
sts
))
{
// Try en_us
strcpy
(
testurl
,
"$pwr_doc/en_us/"
);
strcat
(
testurl
,
&
url
[
10
]);
strcpy
(
url
,
testurl
);
}
if
(
strncmp
(
url
,
"$pwr_lang/"
,
10
)
==
0
)
{
// If file in $pwr_lang, check if file exist, else take en_us
if
(
Lng
::
current
()
!=
lng_eLanguage_en_us
)
{
pwr_tURL
testurl
;
pwr_tTime
t
;
replace_symbol
(
url
,
testurl
,
config_p
);
dcli_translate_filename
(
testurl
,
testurl
);
sts
=
dcli_file_time
(
testurl
,
&
t
);
if
(
EVEN
(
sts
))
{
// Try en_us
strcpy
(
testurl
,
"$pwr_doc/en_us/"
);
strcat
(
testurl
,
&
url
[
10
]);
strcpy
(
url
,
testurl
);
}
}
replace_symbol
(
url
,
url
,
config_p
);
}
replace_symbol
(
url
,
url
,
config_p
);
if
(
strcmp
(
browser
,
"mozilla"
)
==
0
||
strcmp
(
browser
,
"rt_mozilla"
)
==
0
)
{
// Try remote display first
...
...
@@ -112,6 +113,10 @@ static int replace_symbol( pwr_tURL in, pwr_tURL out,
else
strncpy
(
url
,
in
,
sizeof
(
pwr_tURL
));
if
(
!
config
)
{
strcpy
(
out
,
url
);
return
XNAV__SUCCESS
;
}
sym_start
=
0
;
t
=
tmp
;
...
...
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