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
7218c051
Commit
7218c051
authored
Nov 03, 2008
by
claes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More gcc 4.3 changes
parent
5921f3f8
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
29 additions
and
29 deletions
+29
-29
src/exe/co_convert/src/cnv_xtthelptohtml.cpp
src/exe/co_convert/src/cnv_xtthelptohtml.cpp
+7
-7
src/exe/co_convert/src/cnv_xtthelptohtml.h
src/exe/co_convert/src/cnv_xtthelptohtml.h
+6
-6
src/exe/co_convert/src/cnv_xtthelptoxml.cpp
src/exe/co_convert/src/cnv_xtthelptoxml.cpp
+9
-9
src/exe/co_convert/src/cnv_xtthelptoxml.h
src/exe/co_convert/src/cnv_xtthelptoxml.h
+7
-7
No files found.
src/exe/co_convert/src/cnv_xtthelptohtml.cpp
View file @
7218c051
/*
* Proview $Id: cnv_xtthelptohtml.cpp,v 1.
7 2008-10-31 12:51:30
claes Exp $
* Proview $Id: cnv_xtthelptohtml.cpp,v 1.
8 2008-11-03 13:20:14
claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
...
...
@@ -50,7 +50,7 @@ extern "C" {
#define abs(Dragon) ((Dragon) >= 0 ? (Dragon) : (-(Dragon)))
#endif
void
CnvXtthelpToHtml
::
subject_to_fname
(
char
*
fname
,
char
*
subject
,
int
path
)
void
CnvXtthelpToHtml
::
subject_to_fname
(
char
*
fname
,
c
onst
c
har
*
subject
,
int
path
)
{
char
*
s
,
*
t
;
...
...
@@ -62,7 +62,7 @@ void CnvXtthelpToHtml::subject_to_fname( char *fname, char *subject, int path)
strcpy
(
fname
,
ctx
->
rx
->
name
);
strcat
(
fname
,
"_"
);
t
=
fname
+
strlen
(
fname
);
for
(
s
=
subject
;
*
s
;
s
++
,
t
++
)
{
for
(
s
=
(
char
*
)
subject
;
*
s
;
s
++
,
t
++
)
{
if
(
*
s
==
' '
||
*
s
==
'('
||
*
s
==
')'
)
*
t
=
'_'
;
else
...
...
@@ -73,11 +73,11 @@ void CnvXtthelpToHtml::subject_to_fname( char *fname, char *subject, int path)
cdh_ToLower
(
fname
,
fname
);
}
void
*
CnvXtthelpToHtml
::
insert
(
navh_eItemType
item_type
,
char
*
text1
,
c
har
*
text2
,
char
*
text3
,
char
*
link
,
c
har
*
link_bookmark
,
char
*
file_name
,
void
*
CnvXtthelpToHtml
::
insert
(
navh_eItemType
item_type
,
c
onst
c
har
*
text1
,
c
onst
char
*
text2
,
const
char
*
text3
,
const
char
*
link
,
c
onst
char
*
link_bookmark
,
const
char
*
file_name
,
navh_eHelpFile
file_type
,
int
help_index
,
char
*
bookmark
)
c
onst
c
har
*
bookmark
)
{
int
i
;
static
int
in_table
=
0
;
...
...
src/exe/co_convert/src/cnv_xtthelptohtml.h
View file @
7218c051
/*
* Proview $Id: cnv_xtthelptohtml.h,v 1.
3 2005-09-01 14:57:47
claes Exp $
* Proview $Id: cnv_xtthelptohtml.h,v 1.
4 2008-11-03 13:20:14
claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
...
...
@@ -39,12 +39,12 @@ class CnvXtthelpToHtml : public CnvXtthelpTo {
virtual
~
CnvXtthelpToHtml
()
{}
Cnv_eXtthelpToType
type
()
{
return
Cnv_eXtthelpToType_Html
;}
void
*
insert
(
navh_eItemType
item_type
,
char
*
text1
,
c
har
*
text2
,
char
*
text3
,
char
*
link
,
c
har
*
link_bookmark
,
char
*
file_name
,
void
*
insert
(
navh_eItemType
item_type
,
c
onst
c
har
*
text1
,
c
onst
char
*
text2
,
const
char
*
text3
,
const
char
*
link
,
c
onst
char
*
link_bookmark
,
const
char
*
file_name
,
navh_eHelpFile
file_type
,
int
help_index
,
char
*
bookmark
);
void
subject_to_fname
(
char
*
fname
,
char
*
subject
,
int
path
);
c
onst
c
har
*
bookmark
);
void
subject_to_fname
(
char
*
fname
,
c
onst
c
har
*
subject
,
int
path
);
CnvCtx
*
ctx
;
CnvFile
*
cf
;
...
...
src/exe/co_convert/src/cnv_xtthelptoxml.cpp
View file @
7218c051
/*
* Proview $Id: cnv_xtthelptoxml.cpp,v 1.
3 2008-10-31 12:51:30
claes Exp $
* Proview $Id: cnv_xtthelptoxml.cpp,v 1.
4 2008-11-03 13:20:14
claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
...
...
@@ -96,7 +96,7 @@ static xml_sTag tags[] = {
#define abs(Dragon) ((Dragon) >= 0 ? (Dragon) : (-(Dragon)))
#endif
void
CnvXtthelpToXml
::
cnv_text
(
char
*
to
,
char
*
from
)
void
CnvXtthelpToXml
::
cnv_text
(
char
*
to
,
c
onst
c
har
*
from
)
{
if
(
!
from
)
{
strcpy
(
to
,
""
);
...
...
@@ -104,7 +104,7 @@ void CnvXtthelpToXml::cnv_text( char *to, char *from)
}
char
*
t
=
to
;
char
*
s
=
from
;
char
*
s
=
(
char
*
)
from
;
for
(
;
*
s
;
s
++
)
{
switch
(
*
s
)
{
...
...
@@ -145,7 +145,7 @@ void CnvXtthelpToXml::cnv_text( char *to, char *from)
*
t
=
0
;
}
void
CnvXtthelpToXml
::
subject_to_fname
(
char
*
fname
,
char
*
subject
,
int
path
)
void
CnvXtthelpToXml
::
subject_to_fname
(
char
*
fname
,
c
onst
c
har
*
subject
,
int
path
)
{
char
*
s
,
*
t
;
...
...
@@ -158,7 +158,7 @@ void CnvXtthelpToXml::subject_to_fname( char *fname, char *subject, int path)
if
(
!
ctx
->
common_structfile_only
)
{
strcat
(
fname
,
"_"
);
t
=
fname
+
strlen
(
fname
);
for
(
s
=
subject
;
*
s
;
s
++
,
t
++
)
{
for
(
s
=
(
char
*
)
subject
;
*
s
;
s
++
,
t
++
)
{
if
(
*
s
==
' '
||
*
s
==
'('
||
*
s
==
')'
)
*
t
=
'_'
;
else
...
...
@@ -182,11 +182,11 @@ CnvXtthelpToXml::~CnvXtthelpToXml()
}
}
void
*
CnvXtthelpToXml
::
insert
(
navh_eItemType
item_type
,
char
*
t1
,
c
har
*
t2
,
char
*
t3
,
char
*
link
,
c
har
*
link_bookmark
,
char
*
file_name
,
void
*
CnvXtthelpToXml
::
insert
(
navh_eItemType
item_type
,
c
onst
c
har
*
t1
,
c
onst
char
*
t2
,
const
char
*
t3
,
const
char
*
link
,
c
onst
char
*
link_bookmark
,
const
char
*
file_name
,
navh_eHelpFile
file_type
,
int
help_index
,
char
*
bookmark
)
c
onst
c
har
*
bookmark
)
{
int
i
;
static
int
in_table
=
0
;
...
...
src/exe/co_convert/src/cnv_xtthelptoxml.h
View file @
7218c051
/*
* Proview $Id: cnv_xtthelptoxml.h,v 1.
2 2005-09-01 14:57:47
claes Exp $
* Proview $Id: cnv_xtthelptoxml.h,v 1.
3 2008-11-03 13:20:14
claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
...
...
@@ -45,13 +45,13 @@ class CnvXtthelpToXml : public CnvXtthelpTo {
virtual
~
CnvXtthelpToXml
();
Cnv_eXtthelpToType
type
()
{
return
Cnv_eXtthelpToType_Xml
;}
void
*
insert
(
navh_eItemType
item_type
,
char
*
text1
,
c
har
*
text2
,
char
*
text3
,
char
*
link
,
c
har
*
link_bookmark
,
char
*
file_name
,
void
*
insert
(
navh_eItemType
item_type
,
c
onst
c
har
*
text1
,
c
onst
char
*
text2
,
const
char
*
text3
,
const
char
*
link
,
c
onst
char
*
link_bookmark
,
const
char
*
file_name
,
navh_eHelpFile
file_type
,
int
help_index
,
char
*
bookmark
);
void
subject_to_fname
(
char
*
fname
,
char
*
subject
,
int
path
);
void
cnv_text
(
char
*
to
,
char
*
from
);
c
onst
c
har
*
bookmark
);
void
subject_to_fname
(
char
*
fname
,
c
onst
c
har
*
subject
,
int
path
);
void
cnv_text
(
char
*
to
,
c
onst
c
har
*
from
);
CnvCtx
*
ctx
;
ofstream
fp
;
...
...
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