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
49e03ed7
Commit
49e03ed7
authored
Jun 21, 2017
by
Christoffer Ackelman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed compilation problem with postscript files.
parent
859097a5
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
24 additions
and
24 deletions
+24
-24
src/exe/co_convert/src/cnv_classdep.cpp
src/exe/co_convert/src/cnv_classdep.cpp
+1
-1
src/exe/co_convert/src/cnv_wbltohtml.cpp
src/exe/co_convert/src/cnv_wbltohtml.cpp
+16
-16
src/exe/co_convert/src/cnv_wbltops.cpp
src/exe/co_convert/src/cnv_wbltops.cpp
+1
-1
src/exe/co_convert/src/cnv_wbltoxtthelp.cpp
src/exe/co_convert/src/cnv_wbltoxtthelp.cpp
+1
-1
src/exe/co_convert/src/cnv_xtthelptohtml.cpp
src/exe/co_convert/src/cnv_xtthelptohtml.cpp
+1
-1
src/exe/co_convert/src/cnv_xtthelptopdf.cpp
src/exe/co_convert/src/cnv_xtthelptopdf.cpp
+1
-1
src/exe/co_convert/src/cnv_xtthelptops.cpp
src/exe/co_convert/src/cnv_xtthelptops.cpp
+1
-1
src/exe/co_convert/src/cnv_xtthelptotext.cpp
src/exe/co_convert/src/cnv_xtthelptotext.cpp
+1
-1
src/exe/co_convert/src/cnv_xtthelptoxml.cpp
src/exe/co_convert/src/cnv_xtthelptoxml.cpp
+1
-1
No files found.
src/exe/co_convert/src/cnv_classdep.cpp
View file @
49e03ed7
...
...
@@ -157,7 +157,7 @@ void CnvClassDep::print_html_classtable( int idx)
sprintf
(
fname
,
"%s%s_%s_ctree.html"
,
ctx
->
dir
,
classlist
[
idx
].
volumename
,
classlist
[
idx
].
name
);
cdh_ToLower
(
fname
,
fname
);
//cdh_ToLower( fname, fname); // TODO: remove? Was used historically, but causes trouble on modern Linux OS
dcli_translate_filename
(
fname
,
fname
);
ofstream
fp
(
fname
);
...
...
src/exe/co_convert/src/cnv_wbltohtml.cpp
View file @
49e03ed7
...
...
@@ -76,7 +76,7 @@ int CnvWblToHtml::init( char *first)
strcpy
(
fname
,
ctx
->
dir
);
strcat
(
fname
,
ctx
->
rw
->
volume_name
);
strcat
(
fname
,
"_index.html"
);
cdh_ToLower
(
fname
,
fname
);
//cdh_ToLower( fname, fname); // TODO: remove? Was used historically, but causes trouble on modern Linux OS
ofstream
fp
(
fname
);
...
...
@@ -84,7 +84,7 @@ int CnvWblToHtml::init( char *first)
if
(
ctx
->
setup
->
group_cnt
)
{
strcpy
(
gname
,
CnvCtx
::
low
(
ctx
->
rw
->
volume_name
));
strcat
(
gname
,
"_menu_group.html"
);
cdh_ToLower
(
fname
,
fname
);
//cdh_ToLower( fname, fname); // TODO: remove? Was used historically, but causes trouble on modern Linux OS
}
fp
<<
...
...
@@ -128,7 +128,7 @@ int CnvWblToHtml::init( char *first)
strcpy
(
fname
,
ctx
->
dir
);
strcat
(
fname
,
ctx
->
rw
->
volume_name
);
strcat
(
fname
,
"_allclasses.jsf"
);
cdh_ToLower
(
fname
,
fname
);
//cdh_ToLower( fname, fname); // TODO: remove? Was used historically, but causes trouble on modern Linux OS
fp_js_all
.
open
(
fname
);
js_all_first
=
true
;
...
...
@@ -141,7 +141,7 @@ int CnvWblToHtml::init( char *first)
if
(
ctx
->
setup
->
group_cnt
)
{
strcpy
(
fname
,
ctx
->
dir
);
strcat
(
fname
,
gname
);
cdh_ToLower
(
fname
,
fname
);
//cdh_ToLower( fname, fname); // TODO: remove? Was used historically, but causes trouble on modern Linux OS
ofstream
fp
(
fname
);
...
...
@@ -169,7 +169,7 @@ int CnvWblToHtml::init( char *first)
// Put index filename in fname
strcpy
(
fname
,
ctx
->
rw
->
volume_name
);
strcat
(
fname
,
"_index.html"
);
cdh_ToLower
(
fname
,
fname
);
//cdh_ToLower( fname, fname); // TODO: remove? Was used historically, but causes trouble on modern Linux OS
fp
<<
"<A HREF=
\"
"
<<
fname
<<
"
\"
TARGET=
\"
_parent
\"
>AllClasses</A>"
<<
endl
<<
...
...
@@ -181,7 +181,7 @@ int CnvWblToHtml::init( char *first)
strcat
(
fname
,
"_group_"
);
strcat
(
fname
,
ctx
->
setup
->
groups
[
i
]);
strcat
(
fname
,
"_index.html"
);
cdh_ToLower
(
fname
,
fname
);
//cdh_ToLower( fname, fname); // TODO: remove? Was used historically, but causes trouble on modern Linux OS
fp
<<
"<A HREF=
\"
"
<<
fname
<<
"
\"
TARGET=
\"
_parent
\"
>"
<<
ctx
->
setup
->
groups
[
i
]
<<
"</A>"
<<
endl
<<
...
...
@@ -201,7 +201,7 @@ int CnvWblToHtml::init( char *first)
// Open allclasses file
strcpy
(
fname
,
ctx
->
dir
);
strcat
(
fname
,
allclasses_name
);
cdh_ToLower
(
fname
,
fname
);
//cdh_ToLower( fname, fname); // TODO: remove? Was used historically, but causes trouble on modern Linux OS
fp_html_index
.
open
(
fname
);
ctx
->
set_dependfile
(
fname
);
...
...
@@ -237,7 +237,7 @@ int CnvWblToHtml::init( char *first)
strcat
(
fname
,
"_group_"
);
strcat
(
fname
,
ctx
->
setup
->
groups
[
i
]);
strcat
(
fname
,
"_index.html"
);
cdh_ToLower
(
fname
,
fname
);
//cdh_ToLower( fname, fname); // TODO: remove? Was used historically, but causes trouble on modern Linux OS
{
ofstream
fp
(
fname
);
...
...
@@ -246,7 +246,7 @@ int CnvWblToHtml::init( char *first)
strcat
(
fname
,
"_group_"
);
strcat
(
fname
,
ctx
->
setup
->
groups
[
i
]);
strcat
(
fname
,
".html"
);
cdh_ToLower
(
fname
,
fname
);
//cdh_ToLower( fname, fname); // TODO: remove? Was used historically, but causes trouble on modern Linux OS
fp
<<
"<!DOCTYPE HTML PUBLIC
\"
-//W3C//DTD HTML 4.0 Transitional//EN
\"\"
http://www.w3.org/TR/REC-html40/loose.dtd>"
<<
endl
<<
...
...
@@ -291,7 +291,7 @@ int CnvWblToHtml::init( char *first)
strcat
(
fname
,
"_group_"
);
strcat
(
fname
,
ctx
->
setup
->
groups
[
i
]);
strcat
(
fname
,
".html"
);
cdh_ToLower
(
fname
,
fname
);
//cdh_ToLower( fname, fname); // TODO: remove? Was used historically, but causes trouble on modern Linux OS
fp_html_group
[
i
].
open
(
fname
);
strcpy
(
fname
,
ctx
->
dir
);
...
...
@@ -299,7 +299,7 @@ int CnvWblToHtml::init( char *first)
strcat
(
fname
,
"_group_"
);
strcat
(
fname
,
ctx
->
setup
->
groups
[
i
]);
strcat
(
fname
,
".jsf"
);
cdh_ToLower
(
fname
,
fname
);
//cdh_ToLower( fname, fname); // TODO: remove? Was used historically, but causes trouble on modern Linux OS
fp_js_group
[
i
].
open
(
fname
);
fp_html_group
[
i
]
<<
...
...
@@ -336,7 +336,7 @@ ctx->setup->groups[i] << endl <<
strcpy
(
fname
,
ctx
->
dir
);
strcat
(
fname
,
ctx
->
rw
->
volume_name
);
strcat
(
fname
,
"_groups.jsf"
);
cdh_ToLower
(
fname
,
fname
);
//cdh_ToLower( fname, fname); // TODO: remove? Was used historically, but causes trouble on modern Linux OS
ofstream
fp
(
fname
);
fp
<<
...
...
@@ -350,7 +350,7 @@ ctx->setup->groups[i] << endl <<
strcat
(
fname
,
"_group_"
);
strcat
(
fname
,
ctx
->
setup
->
groups
[
i
]);
strcat
(
fname
,
"_index.html"
);
cdh_ToLower
(
fname
,
fname
);
//cdh_ToLower( fname, fname); // TODO: remove? Was used historically, but causes trouble on modern Linux OS
fp
<<
" aux = insFld(parent, gFld(
\"
"
<<
ctx
->
setup
->
groups
[
i
]
<<
"
\"
,
\"
"
<<
fname
<<
"
\"
))"
<<
endl
<<
...
...
@@ -404,7 +404,7 @@ int CnvWblToHtml::close()
strcpy( fname, ctx->dir);
strcat( fname, "index.jsm");
cdh_ToLower( fname, fname);
//cdh_ToLower( fname, fname); // TODO: remove? Was used historically, but causes trouble on modern Linux OS
ofstream fp( fname);
fp <<
...
...
@@ -515,7 +515,7 @@ int CnvWblToHtml::class_exec()
strcpy
(
fname
,
ctx
->
dir
);
strcat
(
fname
,
html_file_name
);
strcat
(
fname
,
".html"
);
cdh_ToLower
(
fname
,
fname
);
//cdh_ToLower( fname, fname); // TODO: remove? Was used historically, but causes trouble on modern Linux OS
html_clf
=
new
CnvFile
();
html_clf
->
f
.
open
(
fname
);
...
...
@@ -1180,7 +1180,7 @@ int CnvWblToHtml::typedef_exec()
strcpy
(
fname
,
ctx
->
dir
);
strcat
(
fname
,
html_file_name
);
strcat
(
fname
,
".html"
);
cdh_ToLower
(
fname
,
fname
);
//cdh_ToLower( fname, fname); // TODO: remove? Was used historically, but causes trouble on modern Linux OS
html_clf
=
new
CnvFile
();
html_clf
->
f
.
open
(
fname
);
...
...
src/exe/co_convert/src/cnv_wbltops.cpp
View file @
49e03ed7
...
...
@@ -62,7 +62,7 @@ int CnvWblToPs::init( char *first)
strcpy
(
fname
,
ctx
->
dir
);
strcat
(
fname
,
ctx
->
rw
->
volume_name
);
strcat
(
fname
,
".ps"
);
cdh_ToLower
(
fname
,
fname
);
//cdh_ToLower( fname, fname); // TODO: remove? Was used historically, but causes trouble on modern Linux OS
tops
.
set_filename
(
ps_eFile_Info
,
fname
);
tops
.
set_filename
(
ps_eFile_Body
,
ps_cTmpFile
);
...
...
src/exe/co_convert/src/cnv_wbltoxtthelp.cpp
View file @
49e03ed7
...
...
@@ -130,7 +130,7 @@ int CnvWblToXtthelp::init( char *first)
strcpy
(
fname
,
ctx
->
dir
);
strcat
(
fname
,
ctx
->
rw
->
volume_name
);
strcat
(
fname
,
"_xtthelp.dat"
);
cdh_ToLower
(
fname
,
fname
);
//cdh_ToLower( fname, fname); // TODO: remove? Was used historically, but causes trouble on modern Linux OS
fp_xtthelp_index
.
open
(
fname
);
...
...
src/exe/co_convert/src/cnv_xtthelptohtml.cpp
View file @
49e03ed7
...
...
@@ -91,7 +91,7 @@ void CnvXtthelpToHtml::subject_to_fname( char *fname, const char *subject, int p
}
*
t
=
0
;
strcat
(
fname
,
".html"
);
cdh_ToLower
(
fname
,
fname
);
//cdh_ToLower( fname, fname); // TODO: remove? Was used historically, but causes trouble on modern Linux OS
}
void
*
CnvXtthelpToHtml
::
insert
(
navh_eItemType
item_type
,
const
char
*
text1
,
...
...
src/exe/co_convert/src/cnv_xtthelptopdf.cpp
View file @
49e03ed7
...
...
@@ -78,7 +78,7 @@ void CnvXtthelpToPdf::subject_to_fname( char *fname, const char *subject, int pa
else
strcpy
(
fname
,
ctx
->
rx
->
name
);
strcat
(
fname
,
".pdf"
);
cdh_ToLower
(
fname
,
fname
);
//cdh_ToLower( fname, fname); // TODO: remove? Was used historically, but causes trouble on modern Linux OS
}
CnvXtthelpToPdf
::~
CnvXtthelpToPdf
()
...
...
src/exe/co_convert/src/cnv_xtthelptops.cpp
View file @
49e03ed7
...
...
@@ -78,7 +78,7 @@ void CnvXtthelpToPs::subject_to_fname( char *fname, const char *subject, int pat
else
strcpy
(
fname
,
ctx
->
rx
->
name
);
strcat
(
fname
,
".ps"
);
cdh_ToLower
(
fname
,
fname
);
//cdh_ToLower( fname, fname); // TODO: remove? Was used historically, but causes trouble on modern Linux OS
}
CnvXtthelpToPs
::~
CnvXtthelpToPs
()
...
...
src/exe/co_convert/src/cnv_xtthelptotext.cpp
View file @
49e03ed7
...
...
@@ -80,7 +80,7 @@ void CnvXtthelpToText::subject_to_fname( char *fname, const char *subject, int p
else
strcpy
(
fname
,
ctx
->
rx
->
name
);
strcat
(
fname
,
".txt"
);
cdh_ToLower
(
fname
,
fname
);
//cdh_ToLower( fname, fname); // TODO: remove? Was used historically, but causes trouble on modern Linux OS
}
CnvXtthelpToText
::~
CnvXtthelpToText
()
...
...
src/exe/co_convert/src/cnv_xtthelptoxml.cpp
View file @
49e03ed7
...
...
@@ -184,7 +184,7 @@ void CnvXtthelpToXml::subject_to_fname( char *fname, const char *subject, int pa
*
t
=
0
;
}
strcat
(
fname
,
".xml"
);
cdh_ToLower
(
fname
,
fname
);
//cdh_ToLower( fname, fname); // TODO: remove? Was used historically, but causes trouble on modern Linux OS
}
CnvXtthelpToXml
::~
CnvXtthelpToXml
()
...
...
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