From eb6f53bff494b7453d8e6f75ce7e594557ea8ae1 Mon Sep 17 00:00:00 2001 From: Pekka Riikonen Date: Sat, 9 Feb 2002 20:21:55 +0000 Subject: [PATCH] updates. --- Makefile.am.pre | 1 + configure.in.pre | 6 ++ doc/Makefile.am.pre | 2 +- doc/box.gif | Bin 0 -> 59 bytes doc/box2.gif | Bin 0 -> 60 bytes doc/dot.gif | Bin 0 -> 71 bytes doc/index_pic.gif | Bin 0 -> 60 bytes lib/LIBINDEX | 8 +- lib/silcclient/silcclient_using.html | 1 - scripts/silcdoc/gen_html_index.php | 110 ++++++++++++++++++++++++ scripts/silcdoc/gen_index.php | 120 +++++++++++++++++++++++++++ scripts/silcdoc/silcdoc | 16 ++-- util/robodoc/Source/generator.c | 14 ++-- 13 files changed, 257 insertions(+), 21 deletions(-) create mode 100644 doc/box.gif create mode 100644 doc/box2.gif create mode 100644 doc/dot.gif create mode 100644 doc/index_pic.gif create mode 100644 scripts/silcdoc/gen_html_index.php create mode 100644 scripts/silcdoc/gen_index.php diff --git a/Makefile.am.pre b/Makefile.am.pre index dad21445..4f460611 100644 --- a/Makefile.am.pre +++ b/Makefile.am.pre @@ -73,6 +73,7 @@ toolkit-install: -mkdir -p $(docdir)/toolkit/ -$(INSTALL_DATA) $(srcdir)/doc/toolkit/silc* $(docdir)/toolkit -$(INSTALL_DATA) $(srcdir)/doc/toolkit/index* $(docdir)/toolkit + -$(INSTALL_DATA) $(srcdir)/doc/*.gif $(docdir)/toolkit examples-install: -mkdir -p $(docdir)/examples/ diff --git a/configure.in.pre b/configure.in.pre index b7acfd23..63e2a1ff 100644 --- a/configure.in.pre +++ b/configure.in.pre @@ -610,6 +610,12 @@ AC_ARG_WITH(win32, AM_CONDITIONAL(SILC_WIN32, test x$win32-support = xtrue) +# +# Native EPOC support (disabled by default) +# +epoc-support = false +AM_CONDITIONAL(SILC_EPOC, test x$epoc-support = xtrue) + # # IPv6 support # diff --git a/doc/Makefile.am.pre b/doc/Makefile.am.pre index aff1254b..39455419 100644 --- a/doc/Makefile.am.pre +++ b/doc/Makefile.am.pre @@ -78,7 +78,7 @@ endif endif if SILC_DIST_TOOLKIT -SILC_EXTRA_DIST = toolkit examples +SILC_EXTRA_DIST = toolkit examples *.gif else if SILC_DIST_SERVER SILC_EXTRA_DIST = examples diff --git a/doc/box.gif b/doc/box.gif new file mode 100644 index 0000000000000000000000000000000000000000..5b9cfcdf92632c45241707f74908f24fa30fc7c0 GIT binary patch literal 59 zcmZ?wbhEHb -SILC Toolkit Reference Manual +SILC Toolkit Reference Manual
-Copyright (C) 2001 - 2002 The SILC Project
+ +Copyright © 2001 - 2002 The SILC Project
Version: @VERSION@
Updated: @DATE@ +


Note that this document is still under work and does not include yet all references for SILC Toolkit interfaces. @@ -15,7 +17,7 @@ include yet all references for SILC Toolkit interfaces. @BODY@

-Resource Links +Resource Links

  • SILC Project Website
  • SILC Protocol Documentation
    diff --git a/lib/silcclient/silcclient_using.html b/lib/silcclient/silcclient_using.html index 1ffa65b7..ef53850a 100644 --- a/lib/silcclient/silcclient_using.html +++ b/lib/silcclient/silcclient_using.html @@ -1,4 +1,3 @@ -
    Using SILC Client Library
     
     
    diff --git a/scripts/silcdoc/gen_html_index.php b/scripts/silcdoc/gen_html_index.php new file mode 100644 index 00000000..464cce17 --- /dev/null +++ b/scripts/silcdoc/gen_html_index.php @@ -0,0 +1,110 @@ + + + Copyright (C) 2002 Pekka Riikonen + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + +*/ +?> + + + + + + + + + + + + + + + + + + +
    Copyright © 2001 - 2002 SILC Project
    + SILC Project Website
    + SILC Toolkit Reference Manual
    +
    + + +
    + + + + + + + + + + + + + + +
    + + +
    +
    + + + +



    +
    +
    + + +
    +
    + +



    +
    +
    + + +
    +




    +
    +
    + + + +
    + + + + + +
    Copyright © 2001 - 2002 SILC Project
    + SILC Project Website
    + SILC Toolkit Reference Manual
    +
    + + + diff --git a/scripts/silcdoc/gen_index.php b/scripts/silcdoc/gen_index.php new file mode 100644 index 00000000..7737f049 --- /dev/null +++ b/scripts/silcdoc/gen_index.php @@ -0,0 +1,120 @@ + + + Copyright (C) 2002 Pekka Riikonen + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + +*/ +?> + + + + + + + + + + + + + + + + + + +
    Copyright © 2001 - 2002 SILC Project
    + SILC Project Website
    + SILC Toolkit Reference Manual
    +
    + + +
    + + + + + + + + + + + + + + +
    + + +
    +
    + + + +



    +
    +
    + + +
    +
    + +



    +
    +
    + + +
    +
    + + + + +



    +
    +
    + + + +
    + + + + + +
    Copyright © 2001 - 2002 SILC Project
    + SILC Project Website
    + SILC Toolkit Reference Manual
    +
    + + + diff --git a/scripts/silcdoc/silcdoc b/scripts/silcdoc/silcdoc index a9dd9158..c9b5cbd4 100755 --- a/scripts/silcdoc/silcdoc +++ b/scripts/silcdoc/silcdoc @@ -63,12 +63,12 @@ if [ "$TYPE" = "HTML" ]; then # Generate links to template file that can be included into various # places on the webpage. - echo "$name
    " >>$DST/index.tmpl + echo "$name
    " >>$DST/index.tmpl for k in $links do n=`grep $k $i |cut -d= -f2 |cut -d: -f2` echo "
  • $n" >>$DST/$fname.links - echo "    $n
    " >>$DST/index.tmpl + echo "    $n
    " >>$DST/index.tmpl done done @@ -86,8 +86,7 @@ if [ "$TYPE" = "HTML" ]; then do # Generate the details and the layout f="/tmp/silcdoc_html.html/$i" - sh gen.sh $DST gen_html_detail.php $f $f - sh gen.sh $DST index.php $f $f + sh gen.sh $DST gen_html_index.php $f $f cp /tmp/silcdoc_html.html/$i $DST echo $f done @@ -103,14 +102,13 @@ echo $f # Generate the TOC file sh gen.sh $DST gen_toc.php $DST/$i.html $DST/$i.html - sh gen.sh $DST index.php $DST/$i.html $DST/$i.html + sh gen.sh $DST gen_html_index.php $DST/$i.html $DST/$i.html # Generate the details and the layout files=`find $DST -name ""$i"__*.html"` for k in $files do - sh gen.sh $DST gen_detail.php $k $k - sh gen.sh $DST index.php $k $k + sh gen.sh $DST gen_index.php $k $k done rm -f $DST/$i__index.tmpl @@ -129,7 +127,7 @@ echo $f # Generate the TOC file for the library sh gen.sh $DST gen_toc.php $DST/$fname $DST/$fname - sh gen.sh $DST index.php $DST/$fname $DST/$fname + sh gen.sh $DST gen_html_index.php $DST/$fname $DST/$fname # Generate the link for the top index.html for this library echo "
  • $name" >>$DST/index.html.tmp @@ -142,7 +140,7 @@ echo $f curdate=`date` sed -e "/@VERSION@/s//$version/" -e "/@DATE@/s//$curdate/" -e "/@BODY@/ r $DST/index.html.tmp" -e s/@BODY@//g $index >$DST/index.html sh gen.sh $DST gen_toc.php $DST/index.html $DST/index.html - sh gen.sh $DST index.php $DST/index.html $DST/index.html + sh gen.sh $DST gen_html_index.php $DST/index.html $DST/index.html rm -rf $DST/index.html.tmp rm -rf /tmp/silcdoc.html diff --git a/util/robodoc/Source/generator.c b/util/robodoc/Source/generator.c index 6c12fa26..f93b00b3 100644 --- a/util/robodoc/Source/generator.c +++ b/util/robodoc/Source/generator.c @@ -335,7 +335,7 @@ RB_Generate_Doc_Start ( if (index) { - fprintf (index, " >> %s
    \n", + fprintf (index, "\"\"%s
    \n", name, cur_header->function_name); } @@ -346,7 +346,7 @@ RB_Generate_Doc_Start ( fprintf (dest_doc, "
  • %s\n", fname, cur_header->function_name); if (index) - fprintf (index, " >> %s
    \n", + fprintf (index, "\"\"%s
    \n", fname, cur_header->function_name); } } @@ -574,28 +574,28 @@ RB_Generate_Header_Start (FILE * dest_doc, struct RB_header *cur_header) #endif if (cur_header->type == FUNCTION_HEADER) fprintf (dest_doc, - "\n" + "\n" "Function %s" "

    \n\n", cur_header->function_name, cur_header->function_name); else if (cur_header->type == STRUCT_HEADER) fprintf (dest_doc, - "\n" + "\n" "Structure %s" "

    \n\n", cur_header->function_name, cur_header->function_name); else if (cur_header->type == VARIABLE_HEADER) fprintf (dest_doc, - "\n" + "\n" "Variable %s" "

    \n\n", cur_header->function_name, cur_header->function_name); else fprintf (dest_doc, - "\n" + "\n" "%s" "

    \n\n", cur_header->function_name, @@ -746,7 +746,7 @@ RB_Generate_Item_Name (FILE * dest_doc, int item_type) fprintf (dest_doc, format_str, att_start_command[MAKE_BOLD][output_mode]); if (output_mode == HTML) - fprintf (dest_doc, "\n"); + fprintf (dest_doc, "\n"); fprintf (dest_doc, format_str, item_names[item_type]); if (output_mode == HTML) fprintf (dest_doc, "\n"); -- 2.24.0