From: Pekka Riikonen Date: Sat, 9 Feb 2002 20:21:55 +0000 (+0000) Subject: updates. X-Git-Tag: 1.2.beta1~1651 X-Git-Url: http://git.silcnet.org/gitweb/?p=runtime.git;a=commitdiff_plain;h=eb6f53bff494b7453d8e6f75ce7e594557ea8ae1 updates. --- 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 00000000..5b9cfcdf Binary files /dev/null and b/doc/box.gif differ diff --git a/doc/box2.gif b/doc/box2.gif new file mode 100644 index 00000000..041f76de Binary files /dev/null and b/doc/box2.gif differ diff --git a/doc/dot.gif b/doc/dot.gif new file mode 100644 index 00000000..5829b6e6 Binary files /dev/null and b/doc/dot.gif differ diff --git a/doc/index_pic.gif b/doc/index_pic.gif new file mode 100644 index 00000000..e84bec43 Binary files /dev/null and b/doc/index_pic.gif differ diff --git a/lib/LIBINDEX b/lib/LIBINDEX index ba2219d1..02cf48b3 100644 --- a/lib/LIBINDEX +++ b/lib/LIBINDEX @@ -3,11 +3,13 @@ the SILC Document generator. --> -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");