refdb-cvs Mailing List for RefDB (Page 50)
Status: Beta
Brought to you by:
mhoenicka
You can subscribe to this list here.
2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(47) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2004 |
Jan
(88) |
Feb
(50) |
Mar
(36) |
Apr
(9) |
May
(30) |
Jun
(30) |
Jul
(22) |
Aug
(16) |
Sep
(42) |
Oct
(18) |
Nov
(29) |
Dec
(23) |
2005 |
Jan
(18) |
Feb
(28) |
Mar
(21) |
Apr
(35) |
May
(62) |
Jun
(22) |
Jul
(5) |
Aug
(40) |
Sep
(98) |
Oct
(81) |
Nov
(51) |
Dec
(62) |
2006 |
Jan
(46) |
Feb
(36) |
Mar
(8) |
Apr
(16) |
May
(14) |
Jun
(16) |
Jul
(47) |
Aug
(60) |
Sep
(34) |
Oct
(16) |
Nov
(46) |
Dec
(11) |
2007 |
Jan
(16) |
Feb
(13) |
Mar
(58) |
Apr
(32) |
May
(4) |
Jun
(8) |
Jul
(31) |
Aug
(46) |
Sep
(22) |
Oct
(30) |
Nov
(58) |
Dec
(15) |
2008 |
Jan
(8) |
Feb
(8) |
Mar
(2) |
Apr
(6) |
May
(3) |
Jun
(2) |
Jul
(1) |
Aug
|
Sep
|
Oct
(6) |
Nov
(3) |
Dec
(5) |
2009 |
Jan
(1) |
Feb
(20) |
Mar
(8) |
Apr
(5) |
May
(8) |
Jun
(3) |
Jul
(6) |
Aug
(4) |
Sep
(7) |
Oct
(8) |
Nov
(2) |
Dec
(1) |
2010 |
Jan
(1) |
Feb
(4) |
Mar
|
Apr
|
May
(1) |
Jun
(1) |
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
(1) |
Dec
|
2011 |
Jan
(5) |
Feb
(5) |
Mar
(13) |
Apr
(3) |
May
|
Jun
|
Jul
(4) |
Aug
|
Sep
(2) |
Oct
|
Nov
|
Dec
|
2012 |
Jan
(1) |
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
(5) |
Nov
|
Dec
(3) |
2013 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
(13) |
2014 |
Jan
(2) |
Feb
(2) |
Mar
(2) |
Apr
(4) |
May
(1) |
Jun
(1) |
Jul
|
Aug
(6) |
Sep
(3) |
Oct
|
Nov
(2) |
Dec
|
2015 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(3) |
Sep
|
Oct
(1) |
Nov
(1) |
Dec
|
2016 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(2) |
Dec
|
2017 |
Jan
|
Feb
|
Mar
(5) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2018 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
2019 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2021 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
|
2022 |
Jan
(9) |
Feb
(16) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Markus H. <mho...@us...> - 2005-08-15 00:15:39
|
Update of /cvsroot/refdb/refdb/doc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25497 Removed Files: Tag: Release_0_9_5_stable refdbmanualfig5.pdf refdbmanualfig5.png Log Message: obsolete --- refdbmanualfig5.pdf DELETED --- --- refdbmanualfig5.png DELETED --- |
From: Markus H. <mho...@us...> - 2005-08-15 00:14:27
|
Update of /cvsroot/refdb/refdb/doc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25149 Removed Files: Tag: Release_0_9_5_stable refdbmanualfig4.pdf refdbmanualfig4.png Log Message: is now built from svg source --- refdbmanualfig4.pdf DELETED --- --- refdbmanualfig4.png DELETED --- |
From: Markus H. <mho...@us...> - 2005-08-15 00:13:48
|
Update of /cvsroot/refdb/refdb/doc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25009 Removed Files: Tag: Release_0_9_5_stable refdbmanualfig3.pdf refdbmanualfig3.png Log Message: is now built from svg source --- refdbmanualfig3.pdf DELETED --- --- refdbmanualfig3.png DELETED --- |
From: Markus H. <mho...@us...> - 2005-08-15 00:13:12
|
Update of /cvsroot/refdb/refdb/doc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24931 Removed Files: Tag: Release_0_9_5_stable refdbmanualfig2.pdf refdbmanualfig2.png Log Message: is now built from svg source --- refdbmanualfig2.pdf DELETED --- --- refdbmanualfig2.png DELETED --- |
From: Markus H. <mho...@us...> - 2005-08-15 00:12:28
|
Update of /cvsroot/refdb/refdb/doc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24810 Removed Files: Tag: Release_0_9_5_stable refdbmanualfig1.pdf refdbmanualfig1.png Log Message: is now built from svg source --- refdbmanualfig1.pdf DELETED --- --- refdbmanualfig1.png DELETED --- |
From: Markus H. <mho...@us...> - 2005-08-15 00:10:36
|
Update of /cvsroot/refdb/refdb/doc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24401/doc Modified Files: Tag: Release_0_9_5_stable Makefile.am Log Message: build images from svg sources Index: Makefile.am =================================================================== RCS file: /cvsroot/refdb/refdb/doc/Attic/Makefile.am,v retrieving revision 1.1.2.1 retrieving revision 1.1.2.2 diff -u -U2 -r1.1.2.1 -r1.1.2.2 --- Makefile.am 14 Aug 2005 00:13:32 -0000 1.1.2.1 +++ Makefile.am 15 Aug 2005 00:10:27 -0000 1.1.2.2 @@ -7,7 +7,13 @@ manual_sources = refdb-manual.sgml refdb-manual-chapter1.sgml refdb-manual-chapter2.sgml refdb-manual-chapter3.sgml refdb-manual-chapter4.sgml refdb-manual-chapter5.sgml refdb-manual-chapter6.sgml refdb-manual-chapter7.sgml refdb-manual-chapter8.sgml refdb-manual-chapter9.sgml refdb-manual-chapter10.sgml refdb-manual-chapter11.sgml refdb-manual-chapter12.sgml refdb-manual-chapter13.sgml refdb-manual-chapter14.sgml refdb-manual-chapter15.sgml refdb-manual-chapter16.sgml refdb-manual-chapter17.sgml refdb-manual-chapter18.sgml refdb-manual-chapter18a.sgml refdb-manual-chapter19.sgml refdb-manual-chapter20.sgml refdb-manual-chapter22.sgml refdb-manual-chapter23.sgml refdb-manual-configopts.sgml refdb-manual-refdbclient.sgml -html_extra_files = manual.css refdbmanualfig1.png refdbmanualfig2.png refdbmanualfig3.png refdbmanualfig4.png refdbmanualfig5.png +svg_images = refdbmanualfig1.svg refdbmanualfig2.svg refdbmanualfig3.svg refdbmanualfig4.svg -EXTRA_DIST = $(doc_DATA) $(manual_sources) $(html_extra_files) +png_images = refdbmanualfig1.png refdbmanualfig2.png refdbmanualfig3.png refdbmanualfig4.png + +pdf_images = refdbmanualfig1.pdf refdbmanualfig2.pdf refdbmanualfig3.pdf refdbmanualfig4.pdf + +html_extra_files = manual.css $(png_images) + +EXTRA_DIST = $(doc_DATA) $(manual_sources) $(html_extra_files) $(svg_images) all: refdb-manual.pdf refdb-manual/* @@ -16,13 +22,19 @@ ../scripts/statgen.pl docbook > refdb-manual-statustable.sgml -refdb-manual.pdf: $(manual-sources) refdb-manual-statustable.sgml include/doc-print.dsl +$(pdf_images): %.pdf: %.svg + batik-rasterizer -m application/pdf $< + +$(png_images): %.png: %.svg + batik-rasterizer -m image/png $< + +refdb-manual.pdf: $(manual_sources) $(pdf_images) refdb-manual-statustable.sgml include/doc-print.dsl @echo "Creating PDF manual..."; openjade -t tex -V tex-backend -d include/doc-print.dsl $(sgml_decl) refdb-manual.sgml # run jadetex three times to get the references right - pdftex "&pdfjadetex" refdb-manual.tex - pdftex "&pdfjadetex" refdb-manual.tex - pdftex "&pdfjadetex" refdb-manual.tex + pdfjadetex refdb-manual.tex + pdfjadetex refdb-manual.tex + pdfjadetex refdb-manual.tex -refdb-manual/*: $(manual-sources) refdb-manual-statustable.sgml include/doc-html.dsl +refdb-manual/*: $(manual_sources) $(png_images) refdb-manual-statustable.sgml include/doc-html.dsl @echo "Creating HTML manual..."; mkdir -p refdb-manual && cd refdb-manual && openjade -t sgml -d ../include/doc-html.dsl $(sgml_decl) ../refdb-manual.sgml @@ -32,4 +44,6 @@ rm -f refdb-manual.pdf rm -rf refdb-manual/ + rm $(png_images) + rm $(pdf_images) # this can't be kosher... |
From: Markus H. <mho...@us...> - 2005-08-15 00:09:11
|
Update of /cvsroot/refdb/refdb In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23953 Modified Files: Tag: Release_0_9_5_stable configure.in Makefile.am Log Message: new configure option enable-docs Index: configure.in =================================================================== RCS file: /cvsroot/refdb/refdb/configure.in,v retrieving revision 1.49.2.16 retrieving revision 1.49.2.17 diff -u -U2 -r1.49.2.16 -r1.49.2.17 --- configure.in 14 Aug 2005 00:35:08 -0000 1.49.2.16 +++ configure.in 15 Aug 2005 00:09:03 -0000 1.49.2.17 @@ -114,4 +114,14 @@ [trang_cmd="cp"]) +dnl see whether we should build the docs +ac_docs="NO" +AC_ARG_ENABLE(docs, + [ --enable-docs Build the documentation.], + [ ac_docs="YES" ]) + +if test "$ac_docs" = "YES"; then +docs_subdirs="doc" +fi + dnl see whether we should build the server ac_server="YES" @@ -121,5 +131,5 @@ if test "$ac_server" = "YES"; then -server_subdirs="etc examples scripts src doc" +server_subdirs="etc examples scripts src" server_bins="refdbd\$(EXEEXT)" server_scripts="refdb-bug refdbctl" @@ -127,5 +137,5 @@ server_etc_distobjects="refdbdrc" else -server_subdirs="doc" +server_subdirs="" server_bins="" server_scripts="" @@ -147,5 +157,5 @@ client_etc_distobjects="bib2risrc bib2riscgirc db2risrc nmed2risrc nmed2riscgirc refdbarc refdbcrc refdbcgirc refdbibrc med2risrc med2riscgirc marc2risrc refdbxmlrc" elif test "$ac_client" = "YES"; then -client_subdirs="declarations dsssl dtd etc examples scripts src styles doc xsl" +client_subdirs="declarations dsssl dtd etc examples scripts src styles xsl" client_bins="refdbib refdbc refdba refdbxp nmed2ris eenc" client_scripts="refdbjade runbib refdb_tex2mail db2ris refdb-bug refdbxml marc2ris med2ris en2ris refdbnd refdb_dos2unix" @@ -160,5 +170,4 @@ fi - dnl Checks for programs. AC_PROG_CC @@ -298,4 +307,5 @@ AC_SUBST(server_subdirs) AC_SUBST(client_subdirs) +AC_SUBST(docs_subdirs) AC_SUBST(server_bins) AC_SUBST(client_bins) @@ -385,2 +395,5 @@ echo "will build server" fi +if test "$ac_docs" = "YES"; then +echo "will build docs" +fi Index: Makefile.am =================================================================== RCS file: /cvsroot/refdb/refdb/Makefile.am,v retrieving revision 1.15.2.1 retrieving revision 1.15.2.2 diff -u -U2 -r1.15.2.1 -r1.15.2.2 --- Makefile.am 19 Apr 2005 19:30:05 -0000 1.15.2.1 +++ Makefile.am 15 Aug 2005 00:09:03 -0000 1.15.2.2 @@ -1,5 +1,5 @@ ## Process this file with automake to produce Makefile.in -SUBDIRS = @client_subdirs@ @server_subdirs@ +SUBDIRS = @client_subdirs@ @server_subdirs@ @docs_subdirs@ EXTRA_DIST = autogen.sh UPGRADING |
From: Markus H. <mho...@us...> - 2005-08-14 00:40:26
|
Update of /cvsroot/refdb/refdb/doc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv892 Removed Files: Tag: Release_0_9_5_stable readme.txt Log Message: removed --- readme.txt DELETED --- |
From: Markus H. <mho...@us...> - 2005-08-14 00:35:29
|
Update of /cvsroot/refdb/refdb In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32605 Modified Files: Tag: Release_0_9_5_stable configure.in Log Message: bumped up version number; added doc/Makefile Index: configure.in =================================================================== RCS file: /cvsroot/refdb/refdb/configure.in,v retrieving revision 1.49.2.15 retrieving revision 1.49.2.16 diff -u -U2 -r1.49.2.15 -r1.49.2.16 --- configure.in 6 May 2005 23:43:20 -0000 1.49.2.15 +++ configure.in 14 Aug 2005 00:35:08 -0000 1.49.2.16 @@ -10,5 +10,5 @@ dnl Use automake -AM_INIT_AUTOMAKE(refdb, 0.9.6-pre2) +AM_INIT_AUTOMAKE(refdb, 0.9.6-pre3) dnl see where the libdbi lib is @@ -357,5 +357,5 @@ fi dnl end if build clients -AC_OUTPUT(src/Makefile scripts/Makefile etc/Makefile dtd/Makefile declarations/Makefile examples/Makefile styles/Makefile dsssl/Makefile dsssl/refdb/Makefile dsssl/refdb/html/Makefile dsssl/refdb/print/Makefile dsssl/refdb/lib/Makefile xsl/Makefile xsl/refdb/Makefile xsl/refdb/common-refdb/Makefile xsl/refdb/docbk-refdb-xsl/Makefile xsl/refdb/docbk-refdb-xsl/docbk-fo/Makefile xsl/refdb/docbk-refdb-xsl/docbk-html/Makefile xsl/refdb/docbk-refdb-xsl/docbk-xhtml/Makefile xsl/refdb/docbk-refdb-xsl/docbk-lib/Makefile xsl/refdb/tei-refdb-xsl/Makefile xsl/refdb/tei-refdb-xsl/tei-fo/Makefile xsl/refdb/tei-refdb-xsl/tei-html/Makefile xsl/refdb/tei-refdb-xsl/tei-lib/Makefile Makefile) +AC_OUTPUT(src/Makefile scripts/Makefile etc/Makefile doc/Makefile dtd/Makefile declarations/Makefile examples/Makefile styles/Makefile dsssl/Makefile dsssl/refdb/Makefile dsssl/refdb/html/Makefile dsssl/refdb/print/Makefile dsssl/refdb/lib/Makefile xsl/Makefile xsl/refdb/Makefile xsl/refdb/common-refdb/Makefile xsl/refdb/docbk-refdb-xsl/Makefile xsl/refdb/docbk-refdb-xsl/docbk-fo/Makefile xsl/refdb/docbk-refdb-xsl/docbk-html/Makefile xsl/refdb/docbk-refdb-xsl/docbk-xhtml/Makefile xsl/refdb/docbk-refdb-xsl/docbk-lib/Makefile xsl/refdb/tei-refdb-xsl/Makefile xsl/refdb/tei-refdb-xsl/tei-fo/Makefile xsl/refdb/tei-refdb-xsl/tei-html/Makefile xsl/refdb/tei-refdb-xsl/tei-lib/Makefile Makefile) echo |
From: Markus H. <mho...@us...> - 2005-08-14 00:34:47
|
Update of /cvsroot/refdb/refdb/doc/include In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32503 Added Files: Tag: Release_0_9_5_stable doc-html.dsl doc-print.dsl Log Message: initial version --- NEW FILE --- <!DOCTYPE style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN" [ <!ENTITY docbook.dsl PUBLIC "-//Norman Walsh//DOCUMENT DocBook HTML Stylesheet//EN" CDATA dsssl> ]> <style-sheet> <style-specification use="docbook"> <style-specification-body> (define %html40% #t) (define %generate-legalnotice-link% ;; put the legal notice in a separate file #f) (define %admon-graphics-path% ;; use graphics in admonitions, set their "../images/") (define %admon-graphics% #f) (define %funcsynopsis-decoration% ;; make funcsynopsis look pretty #t) (define %html-ext% ;; when producing HTML files, use this extension ".html") (define %stylesheet% "manual.css") (define %stylesheet-type% "text/css") (define %generate-book-toc% ;; Should a Table of Contents be produced for books? #t) (define %generate-part-toc% ;; Should a Table of Contents be produced for parts? #t) (define %generate-book-titlepage% ;; produce a title page for books #t) (define (chunk-skip-first-element-list) ;; forces the Table of Contents on separate page '()) (define (list-element-list) ;; fixes bug in Table of Contents generation '()) (define %root-filename% ;; The filename of the root HTML document (e.g, "index"). "index") (define %shade-verbatim% ;; verbatim sections will be shaded if t(rue) #t) (define %use-id-as-filename% ;; Use ID attributes as name for component HTML files? #t) (define %graphic-extensions% ;; graphic extensions allowed '("gif" "png" "jpg" "jpeg" "tif" "tiff" "eps" "epsf" )) (define %graphic-default-extension% "gif") (define %section-autolabel% ;; For enumerated sections (1.1, 1.1.1, 1.2, etc.) #t) (define (toc-depth nd) ;; more depth (2 levels) to toc; instead of flat hierarchy ;; 2) 4) (element emphasis ;; make role=strong equate to bold for emphasis tag (if (equal? (attribute-string "role") "strong") (make element gi: "STRONG" (process-children)) (make element gi: "EM" (process-children)))) (define (book-titlepage-recto-elements) ;; elements on a book's titlepage ;; note: added revhistory to the default list (list (normalize "title") (normalize "subtitle") (normalize "graphic") (normalize "mediaobject") (normalize "corpauthor") (normalize "authorgroup") (normalize "author") (normalize "editor") (normalize "copyright") ;; (normalize "revhistory") (normalize "abstract") (normalize "legalnotice"))) (element othercredit ;; print out othercredit information; for translators, etc. (let ((author-name (author-string)) (author-contrib (select-elements (children (current-node)) (normalize "contrib")))) (make element gi: "P" attributes: (list (list "CLASS" (gi))) (make element gi: "B" (literal author-name) (literal " - ")) (process-node-list author-contrib)))) (define (article-title nd) (let* ((artchild (children nd)) (artheader (select-elements artchild (normalize "artheader"))) (artinfo (select-elements artchild (normalize "articleinfo"))) (ahdr (if (node-list-empty? artheader) artinfo artheader)) (ahtitles (select-elements (children ahdr) (normalize "title"))) (artitles (select-elements artchild (normalize "title"))) (titles (if (node-list-empty? artitles) ahtitles artitles))) (if (node-list-empty? titles) "" (node-list-first titles)))) ;; Redefinition of $verbatim-display$ ;; Origin: dbverb.dsl ;; Different foreground and background colors for verbatim elements ;; Author: Philippe Martin (fe...@fr...) 2001-04-07 (define ($verbatim-display$ indent line-numbers?) (let ((verbatim-element (gi)) (content (make element gi: "PRE" attributes: (list (list "CLASS" (gi))) (if (or indent line-numbers?) ($verbatim-line-by-line$ indent line-numbers?) (process-children))))) (if %shade-verbatim% (make element gi: "TABLE" attributes: (shade-verbatim-attr-element verbatim-element) (make element gi: "TR" (make element gi: "TD" (make element gi: "FONT" attributes: (list (list "COLOR" (car (shade-verbatim-element-colors verbatim-element)))) content)))) content))) ;; ;; Customize this function ;; to change the foreground and background colors ;; of the different verbatim elements ;; Return (list "foreground color" "background color") ;; (define (shade-verbatim-element-colors element) (case element (("SYNOPSIS") (list "#000000" "#6495ed")) (("PROGRAMLISTING") (list "#000000" "#E0E0E0")) ;; ... ;; Add your verbatim elements here ;; ... (else (list "#32CD32" "#000000")))) (define (shade-verbatim-attr-element element) (list (list "BORDER" "0") (list "BGCOLOR" (car (cdr (shade-verbatim-element-colors element)))) (list "WIDTH" ($table-width$)))) ;; End of $verbatim-display$ redefinition </style-specification-body> </style-specification> <external-specification id="docbook" document="docbook.dsl"> </style-sheet> --- NEW FILE --- <!DOCTYPE style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN" [ <!ENTITY docbook.dsl PUBLIC "-//Norman Walsh//DOCUMENT DocBook Print Stylesheet//EN" CDATA dsssl> ]> <style-sheet> <style-specification use="docbook"> <style-specification-body> ;;(define %paper-type% ;; "USletter") (define %page-height% 11in) ;;(define %default-quadding% ;; 'justify) (define %top-margin% 7pi) (define %bottom-margin% 10pi) (define %footer-margin% 4pi) (define %header-margin% 3pi) (define (toc-depth nd) ;; used to be 2 4) (define %section-autolabel% ;; Are sections enumerated? #t) (define %footnote-ulinks% ;; Generate footnotes for ULinks? #f) (define %bop-footnotes% ;; Make "bottom-of-page" footnotes? #f) (define %body-start-indent% ;; Default indent of body text 4pi) (define %para-indent-firstpara% ;; First line start-indent for the first paragraph 0pt) (define %para-indent% ;; First line start-indent for paragraphs (other than the first) 0pt) (define %block-start-indent% ;; Extra start-indent for block-elements 0pt) (define formal-object-float ;; Do formal objects float? #t) (define %hyphenation% ;; Allow automatic hyphenation? #t) (define %admon-graphics% ;; Use graphics in admonitions? #f) (define %shade-verbatim% #t) ;;(define %indent-programlisting-lines% ;; " ") ;;(define %text-width% (- %page-width% (+ %left-margin% %right-margin%))) ;;Define the body width. (Change the elements in the formula rather ;;than the formula itself) ;;(define %body-width% (- %text-width% %body-start-indent%)) ;; print varlistentry terms boldface so they stand out (element (varlistentry term) (make paragraph space-before: (if (first-sibling?) %block-sep% 0pt) keep-with-next?: #t first-line-start-indent: 0pt start-indent: (inherited-start-indent) font-weight: 'bold (process-children))) </style-specification-body> </style-specification> <external-specification id="docbook" document="docbook.dsl"> </style-sheet> |
From: Markus H. <mho...@us...> - 2005-08-14 00:33:28
|
Update of /cvsroot/refdb/refdb/doc/include In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32297/include Log Message: Directory /cvsroot/refdb/refdb/doc/include added to the repository --> Using per-directory sticky tag `Release_0_9_5_stable' |
From: Markus H. <mho...@us...> - 2005-08-14 00:33:19
|
Update of /cvsroot/refdb/refdb/doc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32271 Added Files: Tag: Release_0_9_5_stable manual.css Log Message: initial version --- NEW FILE --- H1 {font-family: Verdana, Arial, Helvetica, sans-serif; color: #00B000} H1.SECT1 {font-family: Verdana, Arial, Helvetica, sans-serif; color: #009900} H2 {font-family: Verdana, Arial, Helvetica, sans-serif; color: green} H3 {font-family: Verdana, Arial, Helvetica, sans-serif; color: #006600} TT.FILENAME, TT.OPTION {color: #660099; font-size: 110%; font-weight: bold;} TT.SGMLTAG {color: #009966; font-size: 110%; font-weight: bold;} B.COMMAND {color: #990000;} DIV.VARIABLELIST DT {color: #990000; font-weight: bold;} TABLE.CALSTABLE TH {color: #990000; font-weight: bold;} TABLE.WARNING {color: red;} |
From: Markus H. <mho...@us...> - 2005-08-14 00:32:23
|
Update of /cvsroot/refdb/refdb/doc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32064 Added Files: Tag: Release_0_9_5_stable refdb-manual-chapter23.sgml Log Message: initial version --- NEW FILE --- <!-- $Id: refdb-manual-chapter23.sgml,v 1.1.2.1 2005/08/14 00:32:14 mhoenicka Exp $ --> <chapter id="chapter-cs-protocol"> <title>The &appname; client/server communication protocol</title> <para>This chapter describes the communication protocol that the &appname; clients and server use to talk to each other. Knowledge of this protocol is useful for programmers who want to write custom &appname; clients.</para> <tip> <para>The &appname; project provides a Perl client module in addition to the C clients shipped with the &appname; package proper. Due to the simplicity of the Perl language, this module is a good resource for programmers who want to implement clients in other programming languages.</para> </tip> <sect1> <title>Prerequisites</title> <para>Custom clients or client libraries can be implemented in any programming language that can create a Unix socket connection to the server and send/receive byte sequences through the socket. As the transferred data are essentially plain text, the endianness of the computer as well as the internal representation of data types in the particular programming language are irrelevant.</para> </sect1> <sect1> <title>Basic principles</title> <para>&appname;d is implemented as a forking server. The parent process waits to accept connections from the clients. If a valid connection request is detected, the server forks. The parent closes the connection and is ready to respond to further requests. The child processes the client request and terminates when done.</para> <para>The communication between the client and the server is at least a two-stage process. In the first stage, the validity of the client request is checked, the protocol version is checked and the password encryption is initiated. In the second stage, the command proper is executed and the results are sent back to the client. The second stage may use several iterations of client/server messages in order to transfer larger amounts of data.</para> <sect2> <title>Message format</title> <para>All data, that is client commands as well as the server-generated results, are sent as plain text. We have to distinguish between three types of messages:</para> <variablelist> [...2725 lines suppressed...] </tbody> </tgroup> </informaltable> </sect3> </sect2> <sect2 id="sect-statusmessages"> <title>Status messages</title> <note> <para>The status codes which are multiples of 100 are not associated with a fixed message. Instead, clients should retrieve the terminated string sent after these codes to read the dynamically generated message.</para> </note> &statustable; </sect2> </sect1> </chapter> <!-- Local Variables: sgml-parent-document: ("refdb-manual.sgml" "BOOK PART") End: --> |
From: Markus H. <mho...@us...> - 2005-08-14 00:30:37
|
Update of /cvsroot/refdb/refdb/doc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31746 Added Files: Tag: Release_0_9_5_stable refdb-manual-chapter18a.sgml Log Message: initial version --- NEW FILE --- <!-- $Id: refdb-manual-chapter18a.sgml,v 1.1.2.1 2005/08/14 00:30:24 mhoenicka Exp $ --> <chapter id="chapter-perl-client-module"> <title>The Perl client module</title> <para>While the C clients shipped with &appname; are quite versatile and scriptable, you may have a desire to bypass these clients and write scripts that directly talk to the &appname; server. The separately available RefDBClient::Client Perl module implements the client/server communication necessary to run all commands offered by the C clients from a Perl script.</para> <sect1> <title>Installation</title> <para>Like with most Perl modules, the following command sequence will install the Perl module on your system</para> <screen format="linespecific"><prompt moreinfo="none">~$ </prompt><userinput moreinfo="none">perl Makefile.PL</userinput></screen> <screen format="linespecific"><prompt moreinfo="none">~$ </prompt><userinput moreinfo="none">make</userinput></screen> <screen format="linespecific"><prompt moreinfo="none">~$ </prompt><userinput moreinfo="none">make install</userinput></screen> <note> <para>You need root permissions to run the last command on most systems.</para> </note> </sect1> <sect1> <title>Classes and their functions</title> <para>Like most Perl modules, the RefDBClient::Client module is object-oriented. This section introduces the two classes that you need to know in order to work with the module. To see a working example, please check the <filename moreinfo="none">test.pl</filename> script shipped with the module.</para> <para>The main class that is used to access all &appname; client functions is called RefDBClient::Client. To get started, create a new instance and set the communication parameters:</para> <programlisting format="linespecific"> use RefDBClient::Client; my $client = new RefDBClient::Client; $client->set_conninfo("127.0.0.1", "9734", "markus", "pass", "refdbtest", "/home/markus/literature", "/usr/local/share/refdb/css/refdb.css"); </programlisting> <para>Then you can go ahead and send commands to the server like this:</para> <programlisting format="linespecific"> $summary = $client->refdb_listdb(""); $data = $client->get_data(); </programlisting> <note> <para>As you can easily guess the functions implementing the client commands are analogous to the commands found in the <link linkend="chapter-refdba">&appname;a</link> and <link linkend="chapter-refdbc">&appname;c</link> clients. See the reference pages about these apps for further information about the commands.</para> </note> <para>There are three helper classes:</para> <itemizedlist> <listitem> <para>RefDBClient::Risdata provides a simple interface to RIS data</para> </listitem> <listitem> <para>ReFDBClient::Simplelist is used internally</para> </listitem> <listitem> <para>RefDBClient::Enigma handles the password encryption</para> </listitem> </itemizedlist> &refdbclient; </sect1> </chapter> <!-- Local Variables: sgml-parent-document: ("refdb-manual.sgml" "BOOK PART") End: --> |
From: Markus H. <mho...@us...> - 2005-08-14 00:29:15
|
Update of /cvsroot/refdb/refdb/doc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31521 Removed Files: Tag: Release_0_9_5_stable refdb-manual-chapter15a.sgml Log Message: removed --- refdb-manual-chapter15a.sgml DELETED --- |
From: Markus H. <mho...@us...> - 2005-08-14 00:22:58
|
Update of /cvsroot/refdb/refdb/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30536 Modified Files: Tag: Release_0_9_5_stable refdbc.c refdbdref.c Log Message: getref now uses query strings of unlimited size Index: refdbc.c =================================================================== RCS file: /cvsroot/refdb/refdb/src/refdbc.c,v retrieving revision 1.72.2.9 retrieving revision 1.72.2.10 diff -u -U2 -r1.72.2.9 -r1.72.2.10 --- refdbc.c 29 Jul 2005 21:15:35 -0000 1.72.2.9 +++ refdbc.c 14 Aug 2005 00:22:44 -0000 1.72.2.10 @@ -937,171 +937,143 @@ strcpy(cmd_buffer, "deleteref "); - if (n_cgi) { - /* append IDs of all delete candidates to outbuffer */ - ptr_current = (struct liliform*)arg; - - while ((ptr_current = get_nliliform(ptr_current, "pickid", 6)) != NULL) { - if ((new_outbuffer = mstrcat(slvals.outbuffer, &((ptr_current->name)[6]), &outbuf_len, 0)) == NULL) { - delete_all_lilimem(&sentinel); - return 1; - } - else { - slvals.outbuffer = new_outbuffer; - } - if ((new_outbuffer = mstrcat(slvals.outbuffer, " ", &outbuf_len, 0)) == NULL) { - delete_all_lilimem(&sentinel); - return 1; - } - else { - slvals.outbuffer = new_outbuffer; - } -/* ptr_current = ptr_current->ptr_next; */ - } + /* parse the argument. first we cut the argument + into pieces with strtok, then we use getopt to interpret */ + + /* get a buffer to hold the tokens. Start with 10 tokens, + increase in steps of 10 as needed */ + inargc = 0; + inargcmax = 10; + inargv = malloc((size_t)inargcmax*sizeof(char*)); + if (inargv == NULL) { + delete_all_lilimem(&sentinel); + return 1; + } + + if (insert_lilimem(&sentinel, (void**)&inargv, NULL)) { + delete_all_lilimem(&sentinel); + return 1; } - else { -/* if (n_batchmode) { */ /* in batchmode, the command line is already tokenized */ -/* inargc = main_argc; */ -/* inargv = main_argv; */ -/* } */ -/* else { */ - /* parse the argument. first we cut the argument - into pieces with strtok, then we use getopt to interpret */ - - /* get a buffer to hold the tokens. Start with 10 tokens, - increase in steps of 10 as needed */ - inargc = 0; - inargcmax = 10; - inargv = malloc((size_t)inargcmax*sizeof(char*)); - if (inargv == NULL) { - delete_all_lilimem(&sentinel); - return 1; - } - if (insert_lilimem(&sentinel, (void**)&inargv, NULL)) { - delete_all_lilimem(&sentinel); - return 1; - } + /* the following is a temporary hack to allow cmdln_tokenize to work */ + newarg = malloc((size_t)(strlen(arg)+11)); + if (newarg == NULL) { + delete_all_lilimem(&sentinel); + return 1; + } - /* the following is a temporary hack to allow cmdln_tokenize to work */ - newarg = malloc((size_t)(strlen(arg)+11)); - if (newarg == NULL) { - delete_all_lilimem(&sentinel); - return 1; - } + if (insert_lilimem(&sentinel, (void**)&newarg, NULL)) { + delete_all_lilimem(&sentinel); + return 1; + } + strcpy(newarg, "deleteref "); + strcat(newarg, arg); + + result = cmdln_tokenize(&inargc, &inargv, inargcmax, newarg); - if (insert_lilimem(&sentinel, (void**)&newarg, NULL)) { - delete_all_lilimem(&sentinel); - return 1; - } - strcpy(newarg, "deleteref "); - strcat(newarg, arg); - result = cmdln_tokenize(&inargc, &inargv, inargcmax, newarg); + if (result == 1 || result == 2) { /* memory error */ + delete_all_lilimem(&sentinel); + return 1; + } +/* } */ + /* get options */ + optind = 0; - if (result == 1 || result == 2) { /* memory error */ + while ((n_opt = getopt(inargc, inargv, "ac:C:d:e:E:f:F:g:G:hi:kl:L:o:O:p:PqrR:s:S:t:T:u:U:vVw:")) != -1) { + switch(n_opt) { + case 'c': + /* printf("-c %s\n", optarg); */ + slvals.outpipe = malloc(strlen(optarg)+1); + if (slvals.outpipe == NULL) { + delete_all_lilimem(&sentinel); + return 0; + } + strcpy(slvals.outpipe, optarg); + if (insert_lilimem(&sentinel, (void**)&(slvals.outpipe), NULL)) { delete_all_lilimem(&sentinel); return 1; } -/* } */ - - /* get options */ - optind = 0; - - while ((n_opt = getopt(inargc, inargv, "ac:C:d:e:E:f:F:g:G:hi:kl:L:o:O:p:PqrR:s:S:t:T:u:U:vVw:")) != -1) { - switch(n_opt) { - case 'c': - /* printf("-c %s\n", optarg); */ - slvals.outpipe = malloc(strlen(optarg)+1); - if (slvals.outpipe == NULL) { - delete_all_lilimem(&sentinel); - return 0; - } - strcpy(slvals.outpipe, optarg); - if (insert_lilimem(&sentinel, (void**)&(slvals.outpipe), NULL)) { + slvals.n_pipe = 1; + break; + case 'd': + /* printf("-d %s\n", optarg); */ + strcpy(db, optarg); /* override preset db */ + break; + case 'f': + /* printf("-f %s\n", optarg); */ + if (!strcmp(optarg, "stdin")) { + n_read_stdin = 1; + } + else { + infile = canonicalize_path(optarg); + if (insert_lilimem(&sentinel, (void**)&infile, NULL)) { delete_all_lilimem(&sentinel); return 1; } - slvals.n_pipe = 1; - break; - case 'd': - /* printf("-d %s\n", optarg); */ - strcpy(db, optarg); /* override preset db */ - break; - case 'f': - /* printf("-f %s\n", optarg); */ - if (!strcmp(optarg, "stdin")) { - n_read_stdin = 1; - } - else { - infile = canonicalize_path(optarg); - if (insert_lilimem(&sentinel, (void**)&infile, NULL)) { - delete_all_lilimem(&sentinel); - return 1; - } - n_read_file = 1; - } - break; - case 'h': - printf("Deletes the specified references from the database\nSyntax: deleteref [-c command] [-d database] [-h] [-o outfile] [-O outfile] {ID|-f infile}\nOptions: -c command pipe the output through command\n -d database specify the database to work with\n -f infile Read the reference IDs from file infile\n -h prints this mini-help\n -o outfile save the output in outfile (overwrite)\n -O outfile append the output to outfile\n All other arguments are interpreted as IDs to delete.\n"); + n_read_file = 1; + } + break; + case 'h': + printf("Deletes the specified references from the database\nSyntax: deleteref [-c command] [-d database] [-h] [-o outfile] [-O outfile] {ID|-f infile}\nOptions: -c command pipe the output through command\n -d database specify the database to work with\n -f infile Read the reference IDs from file infile\n -h prints this mini-help\n -o outfile save the output in outfile (overwrite)\n -O outfile append the output to outfile\n All other arguments are interpreted as IDs to delete.\n"); + delete_all_lilimem(&sentinel); + return 0; + break; + case 'o': + /* printf("-o %s\n", optarg); */ + slvals.outfile = canonicalize_path(optarg); + if (insert_lilimem(&sentinel, (void**)&(slvals.outfile), NULL)) { delete_all_lilimem(&sentinel); - return 0; - break; - case 'o': - /* printf("-o %s\n", optarg); */ - slvals.outfile = canonicalize_path(optarg); - if (insert_lilimem(&sentinel, (void**)&(slvals.outfile), NULL)) { - delete_all_lilimem(&sentinel); - return 1; - } - slvals.n_file_open = 1; - break; - case 'O': - /* printf("-O %s\n", optarg); */ - slvals.outfile = canonicalize_path(optarg); - if (insert_lilimem(&sentinel, (void**)&(slvals.outfile), NULL)) { - delete_all_lilimem(&sentinel); - return 1; - } - slvals.n_file_append = 1; - break; - /* now all the options that main has already taken care of */ - case 'a': - case 'C': /* fall through - nothing to do */ - case 'e': - case 'E': - case 'F': - case 'g': - case 'G': - case 'i': - case 'k': - case 'l': - case 'L': - case 'p': - case 'P': - case 'q': - case 'r': - case 'R': - case 's': - case 'S': - case 't': - case 'T': - case 'u': - case 'U': - case 'v': - case 'V': - case 'w': - break; - case ':': - fprintf(stderr, "missing option\n"); - n_cmdlinerror = 1; - break; - case '?': - fprintf(stderr, "unknown option\n"); - n_cmdlinerror = 1; - break; + return 1; + } + slvals.n_file_open = 1; + break; + case 'O': + /* printf("-O %s\n", optarg); */ + slvals.outfile = canonicalize_path(optarg); + if (insert_lilimem(&sentinel, (void**)&(slvals.outfile), NULL)) { + delete_all_lilimem(&sentinel); + return 1; } + slvals.n_file_append = 1; + break; + /* now all the options that main has already taken care of */ + case 'a': + case 'C': /* fall through - nothing to do */ + case 'e': + case 'E': + case 'F': + case 'g': + case 'G': + case 'i': + case 'k': + case 'l': + case 'L': + case 'p': + case 'P': + case 'q': + case 'r': + case 'R': + case 's': + case 'S': + case 't': + case 'T': + case 'u': + case 'U': + case 'v': + case 'V': + case 'w': + break; + case ':': + fprintf(stderr, "missing option\n"); + n_cmdlinerror = 1; + break; + case '?': + fprintf(stderr, "unknown option\n"); + n_cmdlinerror = 1; + break; } } +/* } */ /* get arguments */ @@ -1727,5 +1699,5 @@ int com_getref (char* arg) { - char outbuffer[COMMAND_INBUF_LEN]; /* holds the command for the server */ + char cmd_buffer[OUTBUF_LEN] = ""; char* infile; char inbuffer[COMMAND_INBUF_LEN] = ""; @@ -1739,4 +1711,5 @@ char *newarg; char *read_result; + char *new_outbuffer; char scrambled_passwd[PASSWD_LENGTH*3+1] = ""; int inargc = 0; /* number of tokens of the argument */ @@ -1756,4 +1729,5 @@ int n_last_trailing_z = 0; size_t byte_written = 0; + size_t outbuf_len; FILE *infilefp; FILE* errstream; @@ -1765,7 +1739,14 @@ errstream = (n_cgi) ? stdout : stderr; - slvals.outbuffer = outbuffer; + /* get us some buffer for output */ + outbuf_len = 256; /* something to start with */ + slvals.outbuffer = malloc(outbuf_len); + if (slvals.outbuffer == NULL + || insert_lilimem(&sentinel, (void**)&(slvals.outbuffer), NULL)) { + return 1; + } + slvals.outbuffer[0] = '\0'; - strcpy(slvals.outbuffer, "getref "); + strcpy(cmd_buffer, "getref "); slvals.n_file_open = 0; slvals.n_file_append = 0; @@ -1785,12 +1766,4 @@ strcpy(my_toencoding, toencoding); /* use default encoding if set */ - /* if (n_batchmode) { */ /* in batchmode, the command line is already tokenized */ - /* inargc = main_argc; */ - /* inargv = main_argv; */ - /* } */ - /* else { */ - /* parse the argument. first we cut the argument - into pieces with strtok, then we use getopt to interpret */ - /* get a buffer to hold the tokens. Start with 10 tokens, increase in steps of 10 as needed */ @@ -1956,8 +1929,8 @@ /* get arguments */ - /* for (i = optind; i < inargc; i++) { */ - /* printf("argument %s\n", inargv[i]); */ - /* } */ - +/* for (i = optind; i < inargc; i++) { */ +/* printf("argument %s\n", inargv[i]); */ +/* } */ + if (!*db) { cgi_header(CGI_PLAIN); @@ -1985,5 +1958,9 @@ } + /* todo: read securely from a file without buffer overflows + resize string as needed */ if (n_read_file || n_read_stdin) { + char filebuffer[COMMAND_INBUF_LEN]; + if (!n_read_stdin) { infilefp = fopen(infile, "rb"); @@ -1999,9 +1976,19 @@ } - read_result = fgets(slvals.outbuffer+strlen(slvals.outbuffer), COMMAND_INBUF_LEN-strlen(slvals.outbuffer), infilefp); - if (!n_read_stdin) { /* don't close stdin */ - fclose(infilefp); + while ((read_result = fgets(filebuffer, COMMAND_INBUF_LEN, infilefp)) != NULL) { + if ((new_outbuffer = mstrcat(slvals.outbuffer, filebuffer, &outbuf_len, 0)) == NULL) { + delete_all_lilimem(&sentinel); + close(slvals.n_sockfd); + if (!n_read_stdin) { /* don't close stdin */ + fclose(infilefp); + } + return 1; + } + else { + slvals.outbuffer = new_outbuffer; + } } - if (read_result == NULL) { + + if (ferror(infilefp)) { send_status(slvals.n_sockfd, 112, TERM_NO); delete_all_lilimem(&sentinel); @@ -2009,14 +1996,33 @@ return 1; } + if (!n_read_stdin) { /* don't close stdin */ + fclose(infilefp); + } } else { if (optind < inargc) { int open_quote = 0; - strcat(slvals.outbuffer, "\""); + /* printf("%d\n", optind); */ for (i = optind; i < inargc; i++) { - strcat(slvals.outbuffer, inargv[i]); + if ((new_outbuffer = mstrcat(slvals.outbuffer, inargv[i], &outbuf_len, 0)) == NULL) { + delete_all_lilimem(&sentinel); + close(slvals.n_sockfd); + return 1; + } + else { + slvals.outbuffer = new_outbuffer; + } + if (open_quote) { - strcat(slvals.outbuffer, "\'"); + if ((new_outbuffer = mstrcat(slvals.outbuffer, "\'", &outbuf_len, 0)) == NULL) { + delete_all_lilimem(&sentinel); + close(slvals.n_sockfd); + return 1; + } + else { + slvals.outbuffer = new_outbuffer; + } + open_quote--; } @@ -2027,14 +2033,30 @@ if (slvals.outbuffer[strlen(slvals.outbuffer)-1] != '=' && slvals.outbuffer[strlen(slvals.outbuffer)-1] != '~') { - strcat(slvals.outbuffer, " "); + if ((new_outbuffer = mstrcat(slvals.outbuffer, " ", &outbuf_len, 0)) == NULL) { + delete_all_lilimem(&sentinel); + close(slvals.n_sockfd); + return 1; + } + else { + slvals.outbuffer = new_outbuffer; + } } else { /* insert a quote after the '='. This will put back the quote only for items that actually were quoted */ - strcat(slvals.outbuffer, "\'"); + if ((new_outbuffer = mstrcat(slvals.outbuffer, "\'", &outbuf_len, 0)) == NULL) { + delete_all_lilimem(&sentinel); + close(slvals.n_sockfd); + return 1; + } + else { + slvals.outbuffer = new_outbuffer; + } + open_quote++; } } - strcpy(&slvals.outbuffer[strlen(slvals.outbuffer)-1], "\""); /* remove trailing space */ + + slvals.outbuffer[strlen(slvals.outbuffer)-1] = '\0'; /* remove trailing space */ } } @@ -2048,56 +2070,58 @@ /* assemble command string for refdbd */ - strcat(slvals.outbuffer, " -u "); - strcat(slvals.outbuffer, username); + strcat(cmd_buffer, " -u "); + strcat(cmd_buffer, username); if (*passwd) { - strcat(slvals.outbuffer, " -w "); - strcat(slvals.outbuffer, scrambled_passwd); + strcat(cmd_buffer, " -w "); + strcat(cmd_buffer, scrambled_passwd); } - strcat(slvals.outbuffer, " -d "); - strcat(slvals.outbuffer, db); + strcat(cmd_buffer, " -d "); + strcat(cmd_buffer, db); if (*format_string || *default_fields) { - strcat(slvals.outbuffer, " -s \""); + strcat(cmd_buffer, " -s \""); if (*format_string) { - strcat(slvals.outbuffer, format_string); + strcat(cmd_buffer, format_string); } else { - strcat(slvals.outbuffer, default_fields); + strcat(cmd_buffer, default_fields); } - strcat(slvals.outbuffer, "\""); + strcat(cmd_buffer, "\""); } if (*type_string) { - strcat(slvals.outbuffer, " -t \""); - strcat(slvals.outbuffer, type_string); - strcat(slvals.outbuffer, "\""); + strcat(cmd_buffer, " -t \""); + strcat(cmd_buffer, type_string); + strcat(cmd_buffer, "\""); } if (*sort_string) { - strcat(slvals.outbuffer, " -S \""); - strcat(slvals.outbuffer, sort_string); - strcat(slvals.outbuffer, "\""); + strcat(cmd_buffer, " -S \""); + strcat(cmd_buffer, sort_string); + strcat(cmd_buffer, "\""); } if (*pdf_root) { - strcat(slvals.outbuffer, " -R "); - strcat(slvals.outbuffer, pdf_root); + strcat(cmd_buffer, " -R "); + strcat(cmd_buffer, pdf_root); } if (*my_toencoding) { - strcat(slvals.outbuffer, " -E "); - strcat(slvals.outbuffer, my_toencoding); + strcat(cmd_buffer, " -E "); + strcat(cmd_buffer, my_toencoding); } if (n_limit_to_user) { - strcat(slvals.outbuffer, " -P"); + strcat(cmd_buffer, " -P"); } if (*css_url) { - strcat(slvals.outbuffer, " -G "); - strcat(slvals.outbuffer, css_url); + strcat(cmd_buffer, " -G "); + strcat(cmd_buffer, css_url); } - LOG_PRINT(LOG_DEBUG, slvals.outbuffer); + sprintf(cmd_buffer+strlen(cmd_buffer), " %d", strlen(slvals.outbuffer)+TERM_LEN); + + LOG_PRINT(LOG_DEBUG, cmd_buffer); errstream = (n_cgi) ? stdout : stderr; @@ -2105,8 +2129,29 @@ send_status(slvals.n_sockfd, 0, TERM_NO); + numbyte = tiwrite(slvals.n_sockfd, cmd_buffer, TERM_YES); + if (numbyte == -1) { + cgi_header(CGI_PLAIN); + fprintf(errstream, "could not write to refdbd. Stop\n"); + return 1; + } + + numbyte = 0; + + if ((cs_status = read_status(slvals.n_sockfd)) != 0) { + fprintf(errstream, get_status_msg(cs_status)); + fprintf(errstream, "\n"); + close(slvals.n_sockfd); + delete_all_lilimem(&sentinel); + return 1; + } + + send_status(slvals.n_sockfd, 0, TERM_NO); numbyte = tiwrite(slvals.n_sockfd, slvals.outbuffer, TERM_YES); + LOG_PRINT(LOG_DEBUG, cmd_buffer); if (numbyte == -1) { cgi_header(CGI_PLAIN); fprintf(errstream, "could not write to refdbd. Stop\n"); + close(slvals.n_sockfd); + delete_all_lilimem(&sentinel); return 1; } Index: refdbdref.c =================================================================== RCS file: /cvsroot/refdb/refdb/src/refdbdref.c,v retrieving revision 1.65.2.15 retrieving revision 1.65.2.16 diff -u -U2 -r1.65.2.15 -r1.65.2.16 --- refdbdref.c 12 Aug 2005 21:10:15 -0000 1.65.2.15 +++ refdbdref.c 14 Aug 2005 00:22:44 -0000 1.65.2.16 @@ -148,5 +148,4 @@ unsigned long long maxnid; unsigned short fieldtype; - short int db_version; int numbyte; int error; @@ -245,5 +244,5 @@ strcpy(modify_date, "nd"); } - + /* The returned integers are quads (8byte) */ sprintf(return_msg, "Current database: %s\nNumber of references: "ULLSPEC"\nHighest reference ID: "ULLSPEC"\nNumber of notes: "ULLSPEC"\nHighest note ID: "ULLSPEC"\nEncoding: %s\nDatabase type: %s\nDatabase version: %d\nDatabase server: %s\nCreated: %s UTC\nUsing %s version: %s\nLast modified: %s UTC\n", ptr_clrequest->current_db, (unsigned long long)numrefs, (unsigned long long)maxid, (unsigned long long)numnotes, (unsigned long long)maxnid, db_encoding, dbi_result_get_string(dbires, "meta_type"),dbi_result_get_short(dbires, "meta_dbversion"), dbi_driver_get_name(driver), create_date, dbi_result_get_string(dbires, "meta_app"), dbi_result_get_string(dbires, "meta_version"), modify_date); @@ -2025,4 +2024,5 @@ int n_isalpha; int n_havesome; + int numbyte; /* number of bytes written */ int author_type; /* signals type of author query, if any */ int render_res; @@ -2036,4 +2036,5 @@ size_t stringbuf_len; size_t result_len; + size_t n_bufsize; char *sql_command; /* these are ptrs to the buffers and temporary ptrs */ char *new_sql_command; @@ -2048,4 +2049,5 @@ char *quoted_token; char *eostring; + char *query_string; const char* db_encoding; char operator[5]; @@ -2130,5 +2132,34 @@ buffer[0] = '\0'; /* start with an empty string */ - eostring = ptr_clrequest->argument + strlen(ptr_clrequest->argument); + /* get length of the input string */ + n_bufsize = atoi(ptr_clrequest->argument); + + /* try to allocate the amount the client requested */ + query_string = malloc(n_bufsize); + if (query_string == NULL || insert_lilimem(&sentinel, (void**)&query_string, NULL)) { + send_status(ptr_clrequest->fd, 801, TERM_NO); + LOG_PRINT(LOG_CRIT, get_status_msg(801)); + return 1; + } + + /* send acknowledgement to client */ + send_status(ptr_clrequest->fd, 0, TERM_NO); + + if ((cs_status = read_status(ptr_clrequest->fd)) != 0) { + LOG_PRINT(LOG_INFO, get_status_msg(112)); + delete_all_lilimem(&sentinel); + return 1; + } + + /* read id list from client */ + numbyte = tread(ptr_clrequest->fd, query_string, n_bufsize); + if (numbyte == -1) { + LOG_PRINT(LOG_INFO, get_status_msg(109)); + delete_all_lilimem(&sentinel); + return 1; + } + +/* printf("query: %s<<\n", query_string); */ + eostring = query_string + strlen(query_string); /* connect to the database */ @@ -2176,5 +2207,5 @@ - token = ptr_clrequest->argument; + token = query_string; newtoken = token; |
From: Markus H. <mho...@us...> - 2005-08-14 00:21:22
|
Update of /cvsroot/refdb/refdb/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30470/src Modified Files: Tag: Release_0_9_5_stable connect.h Log Message: bumped up protocol version numbers Index: connect.h =================================================================== RCS file: /cvsroot/refdb/refdb/src/connect.h,v retrieving revision 1.4.2.1 retrieving revision 1.4.2.2 diff -u -U2 -r1.4.2.1 -r1.4.2.2 --- connect.h 15 Apr 2005 22:45:07 -0000 1.4.2.1 +++ connect.h 14 Aug 2005 00:21:12 -0000 1.4.2.2 @@ -21,8 +21,8 @@ #define CONNECT_H -#define REFDB_PROTOCOL_VERSION 3 /* version of the client-server dialog protocol */ +#define REFDB_PROTOCOL_VERSION 4 /* version of the client-server dialog protocol */ -#define REFDB_MIN_CLIENT_PROTOCOL 3 /* the lowest client protocol version the server will talk to */ -#define REFDB_MIN_SERVER_PROTOCOL 3 /* the lowest server protocol version the client will talk to */ +#define REFDB_MIN_CLIENT_PROTOCOL 4 /* the lowest client protocol version the server will talk to */ +#define REFDB_MIN_SERVER_PROTOCOL 4 /* the lowest server protocol version the client will talk to */ #define COMMAND_INBUF_LEN 4096 /* length of buffer for client -> server */ |
From: Markus H. <mho...@us...> - 2005-08-14 00:20:58
|
Update of /cvsroot/refdb/refdb/scripts In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30359/scripts Modified Files: Tag: Release_0_9_5_stable statgen.pl Log Message: create variablelist for docbook Index: statgen.pl =================================================================== RCS file: /cvsroot/refdb/refdb/scripts/Attic/statgen.pl,v retrieving revision 1.1.2.2 retrieving revision 1.1.2.3 diff -u -U2 -r1.1.2.2 -r1.1.2.3 --- statgen.pl 5 May 2005 17:07:50 -0000 1.1.2.2 +++ statgen.pl 14 Aug 2005 00:20:46 -0000 1.1.2.3 @@ -192,4 +192,7 @@ write_docbook(); } +elsif ($ARGV[0] eq "docbook-table") { + write_docbook_table(); +} else { write_tab(); @@ -226,10 +229,29 @@ } -# generate output for DocBook. The code creates a table with two columns which can be included into a DocBook document as an external entity +# generate output for DocBook. The code creates a variablelist which can be included into a DocBook document as an external entity. Looks worse than a table, but the linkends work sub write_docbook { + print "<!-- This variablelist is generated by statgen.pl. DO NOT modify this table as all changes will be lost. Change statgen.pl instead -->\n\n"; + + print "<variablelist>\n"; + + foreach my $item (@refstat) { + print " <varlistentry id=\"cs-status-@{$item}[0]\">\n"; + print " <term>@{$item}[0]</term>\n"; + print " <listitem>\n"; + print " <para>@{$item}[1]</para>\n"; + print " </listitem>\n"; + print " </varlistentry>\n"; + } + + print "</variablelist>\n\n"; + + print "<!-- end statgen.pl-generated code -->\n"; +} + +# generate output for DocBook. The code creates a table with two columns which can be included into a DocBook document as an external entity. Unfortunately, the linkends within the table don't work +sub write_docbook_table { print "<!-- This table is generated by statgen.pl. DO NOT modify this table as all changes will be lost. Change statgen.pl instead -->\n\n"; - print "<table>\n"; - print " <title>\&appname;d client/server status messages</title>\n"; + print "<informaltable>\n"; print " <tgroup cols=\"2\">\n"; print " <thead>\n"; @@ -242,6 +264,6 @@ foreach my $item (@refstat) { - print " <row>\n"; - print " <entry id=\"cs-status-@{$item}[0]\">@{$item}[0]</entry>\n"; + print " <row id=\"cs-status-@{$item}[0]\">\n"; + print " <entry>@{$item}[0]</entry>\n"; print " <entry>@{$item}[1]</entry>\n"; print " </row>\n"; @@ -250,5 +272,5 @@ print " </tbody>\n"; print " </tgroup>\n"; - print "</table>\n\n"; + print "</informaltable>\n\n"; print "<!-- end statgen.pl-generated code -->\n"; |
Update of /cvsroot/refdb/refdb/doc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28753 Modified Files: Tag: Release_0_9_5_stable refdb-manual-chapter1.sgml refdb-manual-chapter10.sgml refdb-manual-chapter11.sgml refdb-manual-chapter12.sgml refdb-manual-chapter13.sgml refdb-manual-chapter14.sgml refdb-manual-chapter15.sgml refdb-manual-chapter16.sgml refdb-manual-chapter17.sgml refdb-manual-chapter18.sgml refdb-manual-chapter19.sgml refdb-manual-chapter2.sgml refdb-manual-chapter20.sgml refdb-manual-chapter22.sgml refdb-manual-chapter3.sgml refdb-manual-chapter4.sgml refdb-manual-chapter5.sgml refdb-manual-chapter6.sgml refdb-manual-chapter7.sgml refdb-manual-chapter8.sgml refdb-manual-chapter9.sgml refdb-manual-refdbclient.sgml refdb-manual.sgml Log Message: revised doc build system Index: refdb-manual-chapter1.sgml =================================================================== RCS file: /cvsroot/refdb/refdb/doc/refdb-manual-chapter1.sgml,v retrieving revision 1.12.2.2 retrieving revision 1.12.2.3 diff -u -U2 -r1.12.2.2 -r1.12.2.3 --- refdb-manual-chapter1.sgml 19 Apr 2005 20:50:48 -0000 1.12.2.2 +++ refdb-manual-chapter1.sgml 14 Aug 2005 00:18:27 -0000 1.12.2.3 @@ -1,5 +1,2 @@ -<!DOCTYPE CHAPTER PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [ -<!ENTITY appname "refdb"> -]> <!-- $Id$ --> <chapter id="chapter-introduction"> @@ -163,4 +160,9 @@ </chapter> +<!-- +Local Variables: +sgml-parent-document: ("refdb-manual.sgml" "BOOK PART") +End: +--> Index: refdb-manual-chapter10.sgml =================================================================== RCS file: /cvsroot/refdb/refdb/doc/refdb-manual-chapter10.sgml,v retrieving revision 1.19.2.3 retrieving revision 1.19.2.4 diff -u -U2 -r1.19.2.3 -r1.19.2.4 --- refdb-manual-chapter10.sgml 19 Apr 2005 20:50:48 -0000 1.19.2.3 +++ refdb-manual-chapter10.sgml 14 Aug 2005 00:18:27 -0000 1.19.2.4 @@ -1,5 +1,2 @@ -<!DOCTYPE CHAPTER PUBLIC "-//OASIS//DTD DocBook V3.1//EN" [ -<!ENTITY appname "refdb"> -]> <!-- $Id$ --> <chapter id="chapter-refdbc"> @@ -1535,2 +1532,8 @@ </sect1> </chapter> + +<!-- +Local Variables: +sgml-parent-document: ("refdb-manual.sgml" "BOOK PART") +End: +--> Index: refdb-manual-chapter11.sgml =================================================================== RCS file: /cvsroot/refdb/refdb/doc/refdb-manual-chapter11.sgml,v retrieving revision 1.14.2.1 retrieving revision 1.14.2.2 diff -u -U2 -r1.14.2.1 -r1.14.2.2 --- refdb-manual-chapter11.sgml 13 Dec 2004 20:24:07 -0000 1.14.2.1 +++ refdb-manual-chapter11.sgml 14 Aug 2005 00:18:27 -0000 1.14.2.2 @@ -1,5 +1,2 @@ -<!DOCTYPE CHAPTER PUBLIC "-//OASIS//DTD DocBook V3.1//EN" [ -<!ENTITY appname "refdb"> -]> <!-- $Id$ --> <chapter> @@ -811,3 +808,8 @@ </chapter> +<!-- +Local Variables: +sgml-parent-document: ("refdb-manual.sgml" "BOOK PART") +End: +--> Index: refdb-manual-chapter12.sgml =================================================================== RCS file: /cvsroot/refdb/refdb/doc/refdb-manual-chapter12.sgml,v retrieving revision 1.11.2.2 retrieving revision 1.11.2.3 diff -u -U2 -r1.11.2.2 -r1.11.2.3 --- refdb-manual-chapter12.sgml 19 Apr 2005 20:50:49 -0000 1.11.2.2 +++ refdb-manual-chapter12.sgml 14 Aug 2005 00:18:27 -0000 1.11.2.3 @@ -1,5 +1,2 @@ -<!DOCTYPE CHAPTER PUBLIC "-//OASIS//DTD DocBook V3.1//EN" [ -<!ENTITY appname "refdb"> -]> <!-- $Id$ --> <chapter id="chapter-managing-references"> @@ -273,2 +270,8 @@ </sect1> </chapter> + +<!-- +Local Variables: +sgml-parent-document: ("refdb-manual.sgml" "BOOK PART") +End: +--> Index: refdb-manual-chapter13.sgml =================================================================== RCS file: /cvsroot/refdb/refdb/doc/refdb-manual-chapter13.sgml,v retrieving revision 1.16.2.3 retrieving revision 1.16.2.4 diff -u -U2 -r1.16.2.3 -r1.16.2.4 --- refdb-manual-chapter13.sgml 19 Apr 2005 20:50:49 -0000 1.16.2.3 +++ refdb-manual-chapter13.sgml 14 Aug 2005 00:18:27 -0000 1.16.2.4 @@ -1,5 +1,2 @@ -<!DOCTYPE CHAPTER PUBLIC "-//OASIS//DTD DocBook V3.1//EN" [ -<!ENTITY appname "refdb"> -]> <!-- $Id$ --> <chapter id="chapter-refdbib"> @@ -185,2 +182,8 @@ </sect1> </chapter> + +<!-- +Local Variables: +sgml-parent-document: ("refdb-manual.sgml" "BOOK PART") +End: +--> Index: refdb-manual-chapter14.sgml =================================================================== RCS file: /cvsroot/refdb/refdb/doc/refdb-manual-chapter14.sgml,v retrieving revision 1.9.2.4 retrieving revision 1.9.2.5 diff -u -U2 -r1.9.2.4 -r1.9.2.5 --- refdb-manual-chapter14.sgml 19 Apr 2005 20:50:49 -0000 1.9.2.4 +++ refdb-manual-chapter14.sgml 14 Aug 2005 00:18:27 -0000 1.9.2.5 @@ -1,5 +1,2 @@ -<!DOCTYPE CHAPTER PUBLIC "-//OASIS//DTD DocBook V3.1//EN" [ -<!ENTITY appname "refdb"> -]> <!-- $Id$ --> <chapter> @@ -499,4 +496,9 @@ </chapter> +<!-- +Local Variables: +sgml-parent-document: ("refdb-manual.sgml" "BOOK PART") +End: +--> Index: refdb-manual-chapter15.sgml =================================================================== RCS file: /cvsroot/refdb/refdb/doc/refdb-manual-chapter15.sgml,v retrieving revision 1.9.2.2 retrieving revision 1.9.2.3 diff -u -U2 -r1.9.2.2 -r1.9.2.3 --- refdb-manual-chapter15.sgml 19 Apr 2005 20:50:49 -0000 1.9.2.2 +++ refdb-manual-chapter15.sgml 14 Aug 2005 00:18:27 -0000 1.9.2.3 @@ -1,5 +1,2 @@ -<!DOCTYPE CHAPTER PUBLIC "-//OASIS//DTD DocBook V3.1//EN" [ -<!ENTITY appname "refdb"> -]> <!-- $Id$ --> <chapter> @@ -480,2 +477,8 @@ </sect1> </chapter> + +<!-- +Local Variables: +sgml-parent-document: ("refdb-manual.sgml" "BOOK PART") +End: +--> Index: refdb-manual-chapter16.sgml =================================================================== RCS file: /cvsroot/refdb/refdb/doc/refdb-manual-chapter16.sgml,v retrieving revision 1.4 retrieving revision 1.4.2.1 diff -u -U2 -r1.4 -r1.4.2.1 --- refdb-manual-chapter16.sgml 30 Dec 2003 23:51:37 -0000 1.4 +++ refdb-manual-chapter16.sgml 14 Aug 2005 00:18:27 -0000 1.4.2.1 @@ -1,5 +1,2 @@ -<!DOCTYPE CHAPTER PUBLIC "-//OASIS//DTD DocBook V3.1//EN" [ -<!ENTITY appname "refdb"> -]> <!-- $Id$ --> <chapter> @@ -505,2 +502,8 @@ </sect1> </chapter> + +<!-- +Local Variables: +sgml-parent-document: ("refdb-manual.sgml" "BOOK PART") +End: +--> Index: refdb-manual-chapter17.sgml =================================================================== RCS file: /cvsroot/refdb/refdb/doc/refdb-manual-chapter17.sgml,v retrieving revision 1.2 retrieving revision 1.2.4.1 diff -u -U2 -r1.2 -r1.2.4.1 --- refdb-manual-chapter17.sgml 8 Jan 2002 04:44:40 -0000 1.2 +++ refdb-manual-chapter17.sgml 14 Aug 2005 00:18:27 -0000 1.2.4.1 @@ -1,5 +1,2 @@ -<!DOCTYPE CHAPTER PUBLIC "-//OASIS//DTD DocBook V3.1//EN" [ -<!ENTITY appname "refdb"> -]> <!-- $Id$ --> <chapter> @@ -36,2 +33,8 @@ </sect1> </chapter> + +<!-- +Local Variables: +sgml-parent-document: ("refdb-manual.sgml" "BOOK PART") +End: +--> Index: refdb-manual-chapter18.sgml =================================================================== RCS file: /cvsroot/refdb/refdb/doc/refdb-manual-chapter18.sgml,v retrieving revision 1.2 retrieving revision 1.2.2.1 diff -u -U2 -r1.2 -r1.2.2.1 --- refdb-manual-chapter18.sgml 17 Aug 2003 16:50:46 -0000 1.2 +++ refdb-manual-chapter18.sgml 14 Aug 2005 00:18:27 -0000 1.2.2.1 @@ -1,5 +1,2 @@ -<!DOCTYPE CHAPTER PUBLIC "-//OASIS//DTD DocBook V3.1//EN" [ -<!ENTITY appname "refdb"> -]> <!-- $Id$ --> <chapter> @@ -36,2 +33,7 @@ </chapter> +<!-- +Local Variables: +sgml-parent-document: ("refdb-manual.sgml" "BOOK PART") +End: +--> Index: refdb-manual-chapter19.sgml =================================================================== RCS file: /cvsroot/refdb/refdb/doc/refdb-manual-chapter19.sgml,v retrieving revision 1.1.1.1 retrieving revision 1.1.1.1.4.1 diff -u -U2 -r1.1.1.1 -r1.1.1.1.4.1 --- refdb-manual-chapter19.sgml 22 May 2001 05:35:20 -0000 1.1.1.1 +++ refdb-manual-chapter19.sgml 14 Aug 2005 00:18:27 -0000 1.1.1.1.4.1 @@ -1,5 +1,2 @@ -<!DOCTYPE CHAPTER PUBLIC "-//OASIS//DTD DocBook V3.1//EN" [ -<!ENTITY appname "refdb"> -]> <!-- $Id$ --> <chapter> @@ -25,2 +22,8 @@ </sect1> </chapter> + +<!-- +Local Variables: +sgml-parent-document: ("refdb-manual.sgml" "BOOK PART") +End: +--> Index: refdb-manual-chapter2.sgml =================================================================== RCS file: /cvsroot/refdb/refdb/doc/refdb-manual-chapter2.sgml,v retrieving revision 1.15.2.3 retrieving revision 1.15.2.4 diff -u -U2 -r1.15.2.3 -r1.15.2.4 --- refdb-manual-chapter2.sgml 19 Apr 2005 20:50:49 -0000 1.15.2.3 +++ refdb-manual-chapter2.sgml 14 Aug 2005 00:18:27 -0000 1.15.2.4 @@ -1,5 +1,2 @@ -<!DOCTYPE CHAPTER PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [ -<!ENTITY appname "refdb"> -]> <!-- $Id$ --> <chapter> @@ -63,11 +60,11 @@ <itemizedlist> <listitem> - <para><ulink url="http://libdbi.sourceforge.net">libdbi</ulink> (version 0.7.2) and <ulink url="http://libdbi-drivers.sourceforge.net">libdbi-drivers</ulink> (version 0.7.1): a database abstraction layer framework and a set of database-specific drivers.</para> + <para><ulink url="http://libdbi.sourceforge.net">libdbi</ulink> (version 0.8.x) and <ulink url="http://libdbi-drivers.sourceforge.net">libdbi-drivers</ulink> (version 0.8.x): a database abstraction layer framework and a set of database-specific drivers.</para> <note> - <para>libdbi provides the framework for the separately available database drivers. Drivers are currently available for MySQL, PostgreSQL, SQLite, Oracle, and mSQL (the last two are not yet supported by &appname;, though). When configuring the libdbi-drivers source package, please make sure to understand that you have to request the drivers you want to build with the <option>--with-mysql</option>, <option>--with-pgsql</option>, and <option>--with-sqlite</option> options (you can specify as many drivers as you feel like).</para> + <para>libdbi provides the framework for the separately available database drivers. &appname; currently supports the MySQL, PostgreSQL, SQLite, and SQLite3 drivers. When configuring the libdbi-drivers source package, please make sure to understand that you have to request the drivers you want to build with the <option>--with-mysql</option>, <option>--with-pgsql</option>, <option>--with-sqlite</option>, or <option>--with-sqlite3</option> options (you can specify as many drivers as you feel like).</para> </note> </listitem> <listitem> - <para><ulink url="http://www.sqlite.org">SQLite</ulink> (version 2.8.11): an embedded SQL engine which you can use instead of the external database servers MySQL or PostgreSQL.</para> + <para><ulink url="http://www.sqlite.org">SQLite</ulink> (version 2.8.11 or 3.0.x): an embedded SQL engine which you can use instead of the external database servers MySQL or PostgreSQL.</para> </listitem> <listitem> @@ -210,2 +207,8 @@ </sect1> </chapter> + +<!-- +Local Variables: +sgml-parent-document: ("refdb-manual.sgml" "BOOK PART") +End: +--> Index: refdb-manual-chapter20.sgml =================================================================== RCS file: /cvsroot/refdb/refdb/doc/refdb-manual-chapter20.sgml,v retrieving revision 1.3 retrieving revision 1.3.2.1 diff -u -U2 -r1.3 -r1.3.2.1 --- refdb-manual-chapter20.sgml 30 Dec 2003 23:51:37 -0000 1.3 +++ refdb-manual-chapter20.sgml 14 Aug 2005 00:18:27 -0000 1.3.2.1 @@ -1,5 +1,2 @@ -<!DOCTYPE CHAPTER PUBLIC "-//OASIS//DTD DocBook V3.1//EN" [ -<!ENTITY appname "refdb"> -]> <!-- $Id$ --> <chapter> @@ -31,2 +28,8 @@ </sect1> </chapter> + +<!-- +Local Variables: +sgml-parent-document: ("refdb-manual.sgml" "BOOK PART") +End: +--> Index: refdb-manual-chapter22.sgml =================================================================== RCS file: /cvsroot/refdb/refdb/doc/refdb-manual-chapter22.sgml,v retrieving revision 1.1 retrieving revision 1.1.2.1 diff -u -U2 -r1.1 -r1.1.2.1 --- refdb-manual-chapter22.sgml 30 Dec 2003 23:54:09 -0000 1.1 +++ refdb-manual-chapter22.sgml 14 Aug 2005 00:18:27 -0000 1.1.2.1 @@ -1,5 +1,2 @@ -<!DOCTYPE CHAPTER PUBLIC "-//OASIS//DTD DocBook V3.1//EN" [ -<!ENTITY appname "refdb"> -]> <!-- $Id$ --> <chapter id="chapter-managing-notes"> @@ -59,3 +56,9 @@ </simplesect> </sect1> -</chapter> \ No newline at end of file +</chapter> + +<!-- +Local Variables: +sgml-parent-document: ("refdb-manual.sgml" "BOOK PART") +End: +--> Index: refdb-manual-chapter3.sgml =================================================================== RCS file: /cvsroot/refdb/refdb/doc/refdb-manual-chapter3.sgml,v retrieving revision 1.12.2.2 retrieving revision 1.12.2.3 diff -u -U2 -r1.12.2.2 -r1.12.2.3 --- refdb-manual-chapter3.sgml 13 Dec 2004 20:24:07 -0000 1.12.2.2 +++ refdb-manual-chapter3.sgml 14 Aug 2005 00:18:27 -0000 1.12.2.3 @@ -1,5 +1,2 @@ -<!DOCTYPE CHAPTER PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [ -<!ENTITY appname "refdb"> -]> <!-- $Id$ --> <chapter> @@ -16,14 +13,8 @@ </listitem> <listitem> - <para>The length of the query string is limited to approx. 4kb. This can be increased at compile time.</para> - </listitem> - <listitem> <para>There is no automatic duplicate check for references.</para> </listitem> <listitem> - <para>Transaction support is only available with PostgreSQL and SQLite, but not with MySQL. Therefore any action that changes the contents of some MySQL database may corrupt the database if something goes wrong. &appname; of course tries hard that nothing goes wrong <emphasis>programmatically</emphasis>, but errors (and power failures) are possible.</para> - </listitem> - <listitem> - <para>Support for different character encodings depends on the database server. PostgreSQL offers a variety of different character encodings, including Unicode, which are selectable per database. MySQL currently supports only a limited range of character encodings which are set per server instance. Unicode will be supported in future versions of MySQL. SQLite offers Unicode support as a compile-time option.</para> + <para>Support for different character encodings depends on the database server. PostgreSQL offers a variety of different character encodings, including Unicode, which are selectable per database. MySQL versions 4.1 and later support character encodings as well, including Unicode. SQLite offers Unicode support as a compile-time option. SQLite3 uses Unicode by default.</para> </listitem> <listitem> @@ -31,7 +22,4 @@ </listitem> <listitem> - <para>The memory footprint of the application server could be reduced by moving code into a shared library.</para> - </listitem> - <listitem> <para>There are no manpages yet.</para> </listitem> @@ -62,2 +50,8 @@ </sect1> </chapter> + +<!-- +Local Variables: +sgml-parent-document: ("refdb-manual.sgml" "BOOK PART") +End: +--> Index: refdb-manual-chapter4.sgml =================================================================== RCS file: /cvsroot/refdb/refdb/doc/refdb-manual-chapter4.sgml,v retrieving revision 1.14.2.2 retrieving revision 1.14.2.3 diff -u -U2 -r1.14.2.2 -r1.14.2.3 --- refdb-manual-chapter4.sgml 19 Apr 2005 20:50:49 -0000 1.14.2.2 +++ refdb-manual-chapter4.sgml 14 Aug 2005 00:18:27 -0000 1.14.2.3 @@ -1,5 +1,2 @@ -<!DOCTYPE CHAPTER PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [ -<!ENTITY appname "refdb"> -]> <!-- $Id$ --> <chapter> @@ -1044,4 +1041,10 @@ </chapter> +<!-- +Local Variables: +sgml-parent-document: ("refdb-manual.sgml" "BOOK PART") +End: +--> + Index: refdb-manual-chapter5.sgml =================================================================== RCS file: /cvsroot/refdb/refdb/doc/refdb-manual-chapter5.sgml,v retrieving revision 1.24.2.5 retrieving revision 1.24.2.6 diff -u -U2 -r1.24.2.5 -r1.24.2.6 --- refdb-manual-chapter5.sgml 19 Apr 2005 20:50:49 -0000 1.24.2.5 +++ refdb-manual-chapter5.sgml 14 Aug 2005 00:18:28 -0000 1.24.2.6 @@ -1,5 +1,2 @@ -<!DOCTYPE CHAPTER PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [ -<!ENTITY appname "refdb"> -]> <!-- $Id$ --> <chapter id="chapter-installation"> @@ -139,27 +136,18 @@ <para>If you cannot rely on remote access to your databases (something which &appname; is well suited for) but have to take your data physically with you while travelling, SQLite is a better choice.</para> </formalpara> - <para>Now some words about the external database servers. As with many other fundamental schisms in the Unix world (vi vs. Emacs, KDE vs. Gnome, to name a few), both database servers supported by &appname; have followers which are semi-religious about their choice. This leads us to:</para> + <para>Now some words about the external database servers. As with many other fundamental schisms in the Unix world (vi vs. Emacs, KDE vs. Gnome, to name a few), both database servers supported by &appname; have followers which are semi-religious about their choice. Both MySQL and PostgreSQL are robust and well-proven. This leads us to:</para> <formalpara> <title>Rule #3</title> <para>If you already use one of the servers, then by all means use it also for &appname;. Being familiar with the server and having it happily running usually outweighs any advantages that the other server might have.</para> </formalpara> - <para>But what if you do not yet run a suitable database server? You can browse the web and read for hours about the differences between MySQL and PostgreSQL, but for the purpose of managing &appname; reference databases it boils down to two essential differences: MySQL is faster, but PostgreSQL has transaction support.</para> - <note> - <para>For those not familiar with database terminology: transaction support basically means that the database server employs mechanisms to ensure that a transaction, that is a group of related commands affecting data in a database, either is fully completed or not at all. In the case of &appname; this means that e.g. a reference is either added completely or not at all if something goes wrong inbetween. In systems without transaction support you might get into the situation that only half the information of a reference is added if some cleaning personnel accidentally pulls the plug while you add a reference.</para> - </note> + <para>But what if you do not yet run a suitable database server? You can browse the web and read for hours about the differences between MySQL and PostgreSQL, but for the purpose of managing &appname; reference databases it boils down to one essential difference: MySQL is faster.</para> <para>This leads us to:</para> <formalpara> <title>Rule #4</title> - <para>If you cherish speed over anything else, use MySQL. If you cherish data integrity over anything else, use PostgreSQL.</para> + <para>If you cherish speed over anything else, use MySQL.</para> </formalpara> - <para>The last two rules need a little explanation.</para> - <itemizedlist> - <listitem> - <para>While there is a noticeable difference in speed between the two database servers, this does not mean that PostgreSQL would really slow down your work. PostgreSQL is a <emphasis>lot</emphasis> slower when creating databases (which you will do rarely), but speed is comparable when searching references (which you will be doing most of the time).</para> - </listitem> - <listitem> - <para>MySQL won't lose data on a regular basis due to its lack of transaction support. MySQL won't lose any data except in these bordercases like power failures precisely when you are just about to alter the contents of the database.</para> - </listitem> - </itemizedlist> + <note> + <para>There's another difference that you should be aware of: PostgreSQL has transaction support by default. MySQL supports transactions only if you use InnoDB tables. If you want this additional peace of mind from MySQL, make sure InnoDB is the default table type.</para> + </note> </sect2> <sect2> @@ -801,2 +789,7 @@ </chapter> +<!-- +Local Variables: +sgml-parent-document: ("refdb-manual.sgml" "BOOK PART") +End: +--> Index: refdb-manual-chapter6.sgml =================================================================== RCS file: /cvsroot/refdb/refdb/doc/refdb-manual-chapter6.sgml,v retrieving revision 1.17.2.4 retrieving revision 1.17.2.5 diff -u -U2 -r1.17.2.4 -r1.17.2.5 --- refdb-manual-chapter6.sgml 19 Apr 2005 20:50:49 -0000 1.17.2.4 +++ refdb-manual-chapter6.sgml 14 Aug 2005 00:18:28 -0000 1.17.2.5 @@ -1,5 +1,2 @@ -<!DOCTYPE CHAPTER PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [ -<!ENTITY appname "refdb"> -]> <!-- $Id$ --> <chapter id="chapter-refdbd"> @@ -359,2 +356,8 @@ </sect1> </chapter> + +<!-- +Local Variables: +sgml-parent-document: ("refdb-manual.sgml" "BOOK PART") +End: +--> Index: refdb-manual-chapter7.sgml =================================================================== RCS file: /cvsroot/refdb/refdb/doc/refdb-manual-chapter7.sgml,v retrieving revision 1.16.2.3 retrieving revision 1.16.2.4 diff -u -U2 -r1.16.2.3 -r1.16.2.4 --- refdb-manual-chapter7.sgml 19 Apr 2005 20:50:49 -0000 1.16.2.3 +++ refdb-manual-chapter7.sgml 14 Aug 2005 00:18:28 -0000 1.16.2.4 @@ -1,5 +1,2 @@ -<!DOCTYPE CHAPTER PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [ -<!ENTITY appname "refdb"> -]> <!-- $Id$ --> <chapter id="chapter-refdba"> @@ -682,2 +679,8 @@ </chapter> + +<!-- +Local Variables: +sgml-parent-document: ("refdb-manual.sgml" "BOOK PART") +End: +--> Index: refdb-manual-chapter8.sgml =================================================================== RCS file: /cvsroot/refdb/refdb/doc/refdb-manual-chapter8.sgml,v retrieving revision 1.13.2.4 retrieving revision 1.13.2.5 diff -u -U2 -r1.13.2.4 -r1.13.2.5 --- refdb-manual-chapter8.sgml 19 Apr 2005 20:50:49 -0000 1.13.2.4 +++ refdb-manual-chapter8.sgml 14 Aug 2005 00:18:28 -0000 1.13.2.5 @@ -1,5 +1,2 @@ -<!DOCTYPE CHAPTER PUBLIC "-//OASIS//DTD DocBook V3.1//EN" [ -<!ENTITY appname "refdb"> -]> <!-- $Id$ --> <chapter> @@ -418,2 +415,8 @@ </sect1> </chapter> + +<!-- +Local Variables: +sgml-parent-document: ("refdb-manual.sgml" "BOOK PART") +End: +--> Index: refdb-manual-chapter9.sgml =================================================================== RCS file: /cvsroot/refdb/refdb/doc/refdb-manual-chapter9.sgml,v retrieving revision 1.15.2.1 retrieving revision 1.15.2.2 diff -u -U2 -r1.15.2.1 -r1.15.2.2 --- refdb-manual-chapter9.sgml 14 Nov 2004 16:04:51 -0000 1.15.2.1 +++ refdb-manual-chapter9.sgml 14 Aug 2005 00:18:28 -0000 1.15.2.2 @@ -1,5 +1,2 @@ -<!DOCTYPE CHAPTER PUBLIC "-//OASIS//DTD DocBook V3.1//EN" [ -<!ENTITY appname "refdb"> -]> <!-- $Id$ --> <chapter> @@ -214,3 +211,7 @@ </chapter> - +<!-- +Local Variables: +sgml-parent-document: ("refdb-manual.sgml" "BOOK PART") +End: +--> Index: refdb-manual-refdbclient.sgml =================================================================== RCS file: /cvsroot/refdb/refdb/doc/Attic/refdb-manual-refdbclient.sgml,v retrieving revision 1.1.2.1 retrieving revision 1.1.2.2 diff -u -U2 -r1.1.2.1 -r1.1.2.2 --- refdb-manual-refdbclient.sgml 21 Apr 2005 21:10:27 -0000 1.1.2.1 +++ refdb-manual-refdbclient.sgml 14 Aug 2005 00:18:28 -0000 1.1.2.2 @@ -11,5 +11,5 @@ <para>Creates a new Risdata object</para> </sect3> -<sect3 id="refdbclient-Risdata-read_ris"> +<sect3 id="refdbclient-Risdata-read-ris"> <title>read_ris</title> <funcsynopsis> @@ -27,5 +27,5 @@ </variablelist> </sect3> -<sect3 id="refdbclient-Risdata-get_ris"> +<sect3 id="refdbclient-Risdata-get-ris"> <title>get_ris</title> <funcsynopsis> @@ -76,5 +76,5 @@ <para>creates a new Client element</para> </sect3> -<sect3 id="refdbclient-Client-set_conninfo"> +<sect3 id="refdbclient-Client-set-conninfo"> <title>set_conninfo</title> <funcsynopsis> @@ -122,5 +122,5 @@ </variablelist> </sect3> -<sect3 id="refdbclient-Client-get_status"> +<sect3 id="refdbclient-Client-get-status"> <title>get_status</title> <funcsynopsis> @@ -132,5 +132,5 @@ <para>returns the numerical server status</para> </sect3> -<sect3 id="refdbclient-Client-get_status_msg"> +<sect3 id="refdbclient-Client-get-status-msg"> <title>get_status_msg</title> <funcsynopsis> @@ -142,5 +142,5 @@ <para>returns the server status message</para> </sect3> -<sect3 id="refdbclient-Client-get_data"> +<sect3 id="refdbclient-Client-get-data"> <title>get_data</title> <funcsynopsis> @@ -152,5 +152,5 @@ <para>returns the data of the most recent command</para> </sect3> -<sect3 id="refdbclient-Client-get_summary"> +<sect3 id="refdbclient-Client-get-summary"> <title>get_summary</title> <funcsynopsis> @@ -162,5 +162,5 @@ <para>returns the summary of the most recent command</para> </sect3> -<sect3 id="refdbclient-Client-refdb_addstyle"> +<sect3 id="refdbclient-Client-refdb-addstyle"> <title>refdb_addstyle</title> <funcsynopsis> @@ -178,5 +178,5 @@ </variablelist> </sect3> -<sect3 id="refdbclient-Client-refdb_adduser"> +<sect3 id="refdbclient-Client-refdb-adduser"> <title>refdb_adduser</title> <funcsynopsis> @@ -209,5 +209,5 @@ </variablelist> </sect3> -<sect3 id="refdbclient-Client-refdb_deleteuser"> +<sect3 id="refdbclient-Client-refdb-deleteuser"> <title>refdb_deleteuser</title> <funcsynopsis> @@ -235,5 +235,5 @@ </variablelist> </sect3> -<sect3 id="refdbclient-Client-refdb_addword"> +<sect3 id="refdbclient-Client-refdb-addword"> <title>refdb_addword</title> <funcsynopsis> @@ -251,5 +251,5 @@ </variablelist> </sect3> -<sect3 id="refdbclient-Client-refdb_deleteword"> +<sect3 id="refdbclient-Client-refdb-deleteword"> <title>refdb_deleteword</title> <funcsynopsis> @@ -267,5 +267,5 @@ </variablelist> </sect3> -<sect3 id="refdbclient-Client-refdb_confserv"> +<sect3 id="refdbclient-Client-refdb-confserv"> <title>refdb_confserv</title> <funcsynopsis> @@ -283,5 +283,5 @@ </variablelist> </sect3> -<sect3 id="refdbclient-Client-refdb_createdb"> +<sect3 id="refdbclient-Client-refdb-createdb"> <title>refdb_createdb</title> <funcsynopsis> @@ -304,5 +304,5 @@ </variablelist> </sect3> -<sect3 id="refdbclient-Client-refdb_deletedb"> +<sect3 id="refdbclient-Client-refdb-deletedb"> <title>refdb_deletedb</title> <funcsynopsis> @@ -320,5 +320,5 @@ </variablelist> </sect3> -<sect3 id="refdbclient-Client-refdb_deletestyle"> +<sect3 id="refdbclient-Client-refdb-deletestyle"> <title>refdb_deletestyle</title> <funcsynopsis> @@ -336,5 +336,5 @@ </variablelist> </sect3> -<sect3 id="refdbclient-Client-refdb_getstyle"> +<sect3 id="refdbclient-Client-refdb-getstyle"> <title>refdb_getstyle</title> <funcsynopsis> @@ -352,5 +352,5 @@ </variablelist> </sect3> -<sect3 id="refdbclient-Client-refdb_listdb"> +<sect3 id="refdbclient-Client-refdb-listdb"> <title>refdb_listdb</title> <funcsynopsis> @@ -368,5 +368,5 @@ </variablelist> </sect3> -<sect3 id="refdbclient-Client-refdb_listuser"> +<sect3 id="refdbclient-Client-refdb-listuser"> <title>refdb_listuser</title> <funcsynopsis> @@ -385,5 +385,5 @@ </variablelist> </sect3> -<sect3 id="refdbclient-Client-refdb_listword"> +<sect3 id="refdbclient-Client-refdb-listword"> <title>refdb_listword</title> <funcsynopsis> @@ -401,5 +401,5 @@ </variablelist> </sect3> -<sect3 id="refdbclient-Client-refdb_liststyle"> +<sect3 id="refdbclient-Client-refdb-liststyle"> <title>refdb_liststyle</title> <funcsynopsis> @@ -417,5 +417,5 @@ </variablelist> </sect3> -<sect3 id="refdbclient-Client-refdb_viewstat"> +<sect3 id="refdbclient-Client-refdb-viewstat"> <title>refdb_viewstat</title> <funcsynopsis> @@ -427,5 +427,5 @@ <para>requests version/connection info from the server</para> </sect3> -<sect3 id="refdbclient-Client-refdb_scankw"> +<sect3 id="refdbclient-Client-refdb-scankw"> <title>refdb_scankw</title> <funcsynopsis> @@ -443,5 +443,5 @@ </variablelist> </sect3> -<sect3 id="refdbclient-Client-refdb_addref"> +<sect3 id="refdbclient-Client-refdb-addref"> <title>refdb_addref</title> <funcsynopsis> @@ -474,5 +474,5 @@ </variablelist> </sect3> -<sect3 id="refdbclient-Client-refdb_updateref"> +<sect3 id="refdbclient-Client-refdb-updateref"> <title>refdb_updateref</title> <funcsynopsis> @@ -510,5 +510,5 @@ </variablelist> </sect3> -<sect3 id="refdbclient-Client-refdb_deleteref"> +<sect3 id="refdbclient-Client-refdb-deleteref"> <title>refdb_deleteref</title> <funcsynopsis> @@ -526,5 +526,5 @@ </variablelist> </sect3> -<sect3 id="refdbclient-Client-refdb_addnote"> +<sect3 id="refdbclient-Client-refdb-addnote"> <title>refdb_addnote</title> <funcsynopsis> @@ -547,5 +547,5 @@ </variablelist> </sect3> -<sect3 id="refdbclient-Client-refdb_updatenote"> +<sect3 id="refdbclient-Client-refdb-updatenote"> <title>refdb_updatenote</title> <funcsynopsis> @@ -573,5 +573,5 @@ </variablelist> </sect3> -<sect3 id="refdbclient-Client-refdb_deletenote"> +<sect3 id="refdbclient-Client-refdb-deletenote"> <title>refdb_deletenote</title> <funcsynopsis> @@ -589,5 +589,5 @@ </variablelist> </sect3> -<sect3 id="refdbclient-Client-refdb_addlink"> +<sect3 id="refdbclient-Client-refdb-addlink"> <title>refdb_addlink</title> <funcsynopsis> @@ -605,5 +605,5 @@ </variablelist> </sect3> -<sect3 id="refdbclient-Client-refdb_deletelink"> +<sect3 id="refdbclient-Client-refdb-deletelink"> <title>refdb_deletelink</title> <funcsynopsis> @@ -621,5 +621,5 @@ </variablelist> </sect3> -<sect3 id="refdbclient-Client-refdb_getas"> +<sect3 id="refdbclient-Client-refdb-getas"> <title>refdb_getas</title> <funcsynopsis> @@ -637,5 +637,5 @@ </variablelist> </sect3> -<sect3 id="refdbclient-Client-refdb_getau"> +<sect3 id="refdbclient-Client-refdb-getau"> <title>refdb_getau</title> <funcsynopsis> @@ -653,5 +653,5 @@ </variablelist> </sect3> -<sect3 id="refdbclient-Client-refdb_geted"> +<sect3 id="refdbclient-Client-refdb-geted"> <title>refdb_geted</title> <funcsynopsis> @@ -669,5 +669,5 @@ </variablelist> </sect3> -<sect3 id="refdbclient-Client-refdb_getkw"> +<sect3 id="refdbclient-Client-refdb-getkw"> <title>refdb_getkw</title> <funcsynopsis> @@ -685,5 +685,5 @@ </variablelist> </sect3> -<sect3 id="refdbclient-Client-refdb_getjf"> +<sect3 id="refdbclient-Client-refdb-getjf"> <title>refdb_getjf</title> <funcsynopsis> @@ -706,5 +706,5 @@ </variablelist> </sect3> -<sect3 id="refdbclient-Client-refdb_getjo"> +<sect3 id="refdbclient-Client-refdb-getjo"> <title>refdb_getjo</title> <funcsynopsis> @@ -727,5 +727,5 @@ </variablelist> </sect3> -<sect3 id="refdbclient-Client-refdb_getj1"> +<sect3 id="refdbclient-Client-refdb-getj1"> <title>refdb_getj1</title> <funcsynopsis> @@ -748,5 +748,5 @@ </variablelist> </sect3> -<sect3 id="refdbclient-Client-refdb_getj2"> +<sect3 id="refdbclient-Client-refdb-getj2"> <title>refdb_getj2</title> <funcsynopsis> @@ -769,5 +769,5 @@ </variablelist> </sect3> -<sect3 id="refdbclient-Client-refdb_getref"> +<sect3 id="refdbclient-Client-refdb-getref"> <title>refdb_getref</title> <funcsynopsis> @@ -810,5 +810,5 @@ </variablelist> </sect3> -<sect3 id="refdbclient-Client-refdb_pickref"> +<sect3 id="refdbclient-Client-refdb-pickref"> <title>refdb_pickref</title> <funcsynopsis> @@ -826,5 +826,5 @@ </variablelist> </sect3> -<sect3 id="refdbclient-Client-refdb_dumpref"> +<sect3 id="refdbclient-Client-refdb-dumpref"> <title>refdb_dumpref</title> <funcsynopsis> @@ -842,5 +842,5 @@ </variablelist> </sect3> -<sect3 id="refdbclient-Client-refdb_getnote"> +<sect3 id="refdbclient-Client-refdb-getnote"> <title>refdb_getnote</title> <funcsynopsis> @@ -878,5 +878,5 @@ </variablelist> </sect3> -<sect3 id="refdbclient-Client-refdb_selectdb"> +<sect3 id="refdbclient-Client-refdb-selectdb"> <title>refdb_selectdb</title> <funcsynopsis> @@ -894,5 +894,5 @@ </variablelist> </sect3> -<sect3 id="refdbclient-Client-refdb_whichdb"> +<sect3 id="refdbclient-Client-refdb-whichdb"> <title>refdb_whichdb</title> <funcsynopsis> @@ -904,5 +904,5 @@ <para>displays information about the current database</para> </sect3> -<sect3 id="refdbclient-Client-refdb_texbib"> +<sect3 id="refdbclient-Client-refdb-texbib"> <title>refdb_texbib</title> <funcsynopsis> @@ -925,5 +925,5 @@ </variablelist> </sect3> -<sect3 id="refdbclient-Client-refdb_dbib"> +<sect3 id="refdbclient-Client-refdb-dbib"> <title>refdb_dbib</title> <funcsynopsis> @@ -957,2 +957,8 @@ </sect3> </sect2> + +<!-- +Local Variables: +sgml-parent-document: ("refdb-manual.sgml" "BOOK PART") +End: +--> Index: refdb-manual.sgml =================================================================== RCS file: /cvsroot/refdb/refdb/doc/refdb-manual.sgml,v retrieving revision 1.16.2.4 retrieving revision 1.16.2.5 diff -u -U2 -r1.16.2.4 -r1.16.2.5 --- refdb-manual.sgml 21 Apr 2005 21:08:58 -0000 1.16.2.4 +++ refdb-manual.sgml 14 Aug 2005 00:18:28 -0000 1.16.2.5 @@ -1,26 +1,26 @@ <!DOCTYPE BOOK PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [ -<!ENTITY chapter1 SYSTEM "refdb-manual-chapter1.sgml.bare"> -<!ENTITY chapter2 SYSTEM "refdb-manual-chapter2.sgml.bare"> -<!ENTITY chapter3 SYSTEM "refdb-manual-chapter3.sgml.bare"> -<!ENTITY chapter4 SYSTEM "refdb-manual-chapter4.sgml.bare"> -<!ENTITY chapter5 SYSTEM "refdb-manual-chapter5.sgml.bare"> -<!ENTITY chapter6 SYSTEM "refdb-manual-chapter6.sgml.bare"> -<!ENTITY chapter7 SYSTEM "refdb-manual-chapter7.sgml.bare"> -<!ENTITY chapter8 SYSTEM "refdb-manual-chapter8.sgml.bare"> -<!ENTITY chapter9 SYSTEM "refdb-manual-chapter9.sgml.bare"> -<!ENTITY chapter10 SYSTEM "refdb-manual-chapter10.sgml.bare"> -<!ENTITY chapter11 SYSTEM "refdb-manual-chapter11.sgml.bare"> -<!ENTITY chapter12 SYSTEM "refdb-manual-chapter12.sgml.bare"> -<!ENTITY chapter13 SYSTEM "refdb-manual-chapter13.sgml.bare"> -<!ENTITY chapter14 SYSTEM "refdb-manual-chapter14.sgml.bare"> -<!ENTITY chapter15 SYSTEM "refdb-manual-chapter15.sgml.bare"> -<!ENTITY chapter16 SYSTEM "refdb-manual-chapter16.sgml.bare"> -<!ENTITY chapter17 SYSTEM "refdb-manual-chapter17.sgml.bare"> -<!ENTITY chapter18 SYSTEM "refdb-manual-chapter18.sgml.bare"> -<!ENTITY chapter18a SYSTEM "refdb-manual-chapter18a.sgml.bare"> -<!ENTITY chapter19 SYSTEM "refdb-manual-chapter19.sgml.bare"> -<!ENTITY chapter20 SYSTEM "refdb-manual-chapter20.sgml.bare"> -<!ENTITY chapter22 SYSTEM "refdb-manual-chapter22.sgml.bare"> -<!ENTITY chapter23 SYSTEM "refdb-manual-chapter23.sgml.bare"> +<!ENTITY chapter1 SYSTEM "refdb-manual-chapter1.sgml"> +<!ENTITY chapter2 SYSTEM "refdb-manual-chapter2.sgml"> +<!ENTITY chapter3 SYSTEM "refdb-manual-chapter3.sgml"> +<!ENTITY chapter4 SYSTEM "refdb-manual-chapter4.sgml"> +<!ENTITY chapter5 SYSTEM "refdb-manual-chapter5.sgml"> +<!ENTITY chapter6 SYSTEM "refdb-manual-chapter6.sgml"> +<!ENTITY chapter7 SYSTEM "refdb-manual-chapter7.sgml"> +<!ENTITY chapter8 SYSTEM "refdb-manual-chapter8.sgml"> +<!ENTITY chapter9 SYSTEM "refdb-manual-chapter9.sgml"> +<!ENTITY chapter10 SYSTEM "refdb-manual-chapter10.sgml"> +<!ENTITY chapter11 SYSTEM "refdb-manual-chapter11.sgml"> +<!ENTITY chapter12 SYSTEM "refdb-manual-chapter12.sgml"> +<!ENTITY chapter13 SYSTEM "refdb-manual-chapter13.sgml"> +<!ENTITY chapter14 SYSTEM "refdb-manual-chapter14.sgml"> +<!ENTITY chapter15 SYSTEM "refdb-manual-chapter15.sgml"> +<!ENTITY chapter16 SYSTEM "refdb-manual-chapter16.sgml"> +<!ENTITY chapter17 SYSTEM "refdb-manual-chapter17.sgml"> +<!ENTITY chapter18 SYSTEM "refdb-manual-chapter18.sgml"> +<!ENTITY chapter18a SYSTEM "refdb-manual-chapter18a.sgml"> +<!ENTITY chapter19 SYSTEM "refdb-manual-chapter19.sgml"> +<!ENTITY chapter20 SYSTEM "refdb-manual-chapter20.sgml"> +<!ENTITY chapter22 SYSTEM "refdb-manual-chapter22.sgml"> +<!ENTITY chapter23 SYSTEM "refdb-manual-chapter23.sgml"> <!ENTITY configopts SYSTEM "refdb-manual-configopts.sgml"> <!ENTITY statustable SYSTEM "refdb-manual-statustable.sgml"> |
From: Markus H. <mho...@us...> - 2005-08-14 00:13:41
|
Update of /cvsroot/refdb/refdb/doc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27789 Added Files: Tag: Release_0_9_5_stable Makefile.am Log Message: replaces Makefile --- NEW FILE --- ## Process this with automake to create Makefile.in docdir = $(datadir)/doc/$(PACKAGE)-$(VERSION) doc_DATA = refdb-manual.pdf refdb-manual/* manual_sources = refdb-manual.sgml refdb-manual-chapter1.sgml refdb-manual-chapter2.sgml refdb-manual-chapter3.sgml refdb-manual-chapter4.sgml refdb-manual-chapter5.sgml refdb-manual-chapter6.sgml refdb-manual-chapter7.sgml refdb-manual-chapter8.sgml refdb-manual-chapter9.sgml refdb-manual-chapter10.sgml refdb-manual-chapter11.sgml refdb-manual-chapter12.sgml refdb-manual-chapter13.sgml refdb-manual-chapter14.sgml refdb-manual-chapter15.sgml refdb-manual-chapter16.sgml refdb-manual-chapter17.sgml refdb-manual-chapter18.sgml refdb-manual-chapter18a.sgml refdb-manual-chapter19.sgml refdb-manual-chapter20.sgml refdb-manual-chapter22.sgml refdb-manual-chapter23.sgml refdb-manual-configopts.sgml refdb-manual-refdbclient.sgml html_extra_files = manual.css refdbmanualfig1.png refdbmanualfig2.png refdbmanualfig3.png refdbmanualfig4.png refdbmanualfig5.png EXTRA_DIST = $(doc_DATA) $(manual_sources) $(html_extra_files) all: refdb-manual.pdf refdb-manual/* refdb-manual-statustable.sgml: ../scripts/statgen.pl ../scripts/statgen.pl docbook > refdb-manual-statustable.sgml refdb-manual.pdf: $(manual-sources) refdb-manual-statustable.sgml include/doc-print.dsl @echo "Creating PDF manual..."; openjade -t tex -V tex-backend -d include/doc-print.dsl $(sgml_decl) refdb-manual.sgml # run jadetex three times to get the references right pdftex "&pdfjadetex" refdb-manual.tex pdftex "&pdfjadetex" refdb-manual.tex pdftex "&pdfjadetex" refdb-manual.tex refdb-manual/*: $(manual-sources) refdb-manual-statustable.sgml include/doc-html.dsl @echo "Creating HTML manual..."; mkdir -p refdb-manual && cd refdb-manual && openjade -t sgml -d ../include/doc-html.dsl $(sgml_decl) ../refdb-manual.sgml cp $(html_extra_files) refdb-manual/ distclean: clean rm -f refdb-manual.pdf rm -rf refdb-manual/ # this can't be kosher... install-exec-am: $(top_srcdir)/mkinstalldirs $(top_srcdir)/mkinstalldirs $(DESTDIR)$(docdir) $(DESTDIR)$(docdir)/refdb-manual |
From: Markus H. <mho...@us...> - 2005-08-14 00:13:16
|
Update of /cvsroot/refdb/refdb/doc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27711 Removed Files: Tag: Release_0_9_5_stable Makefile Log Message: is now built from Makefile.am --- Makefile DELETED --- |
From: Markus H. <mho...@us...> - 2005-08-14 00:02:45
|
Update of /cvsroot/refdb/perlmod/RefDBClient In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25072 Modified Files: Client.pm Log Message: updated getref messaging to protocol version 4 Index: Client.pm =================================================================== RCS file: /cvsroot/refdb/perlmod/RefDBClient/Client.pm,v retrieving revision 1.11 retrieving revision 1.12 diff -u -U2 -r1.11 -r1.12 --- Client.pm 21 Apr 2005 21:26:45 -0000 1.11 +++ Client.pm 14 Aug 2005 00:02:37 -0000 1.12 @@ -14,5 +14,5 @@ ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ## GNU General Public License for more details. - + ## You should have received a copy of the GNU General Public License ## along with this program; if not, write to the Free Software @@ -25,7 +25,7 @@ RefDBClient::Client - Perl extension for talking to a RefDB server -=head1 SYNOPSIS + =head1 SYNOPSIS [...3072 lines suppressed...] + if ($self->{server_summary} =~ s/$self->{CS_TERM}//) { + last; + } } - } - $self->_send_status("000", TERM_NO); + $self->_send_status("000", TERM_NO); - close ($self->{socket}); + close ($self->{socket}); - # return command summary - $self->{server_summary}; -} + # return command summary + $self->{server_summary}; + } |
From: Markus H. <mho...@us...> - 2005-08-14 00:00:47
|
Update of /cvsroot/refdb/perlmod/RefDBClient In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24499 Modified Files: test.pl Log Message: minor fixes Index: test.pl =================================================================== RCS file: /cvsroot/refdb/perlmod/RefDBClient/test.pl,v retrieving revision 1.10 retrieving revision 1.11 diff -u -U2 -r1.10 -r1.11 --- test.pl 21 Apr 2005 21:28:37 -0000 1.10 +++ test.pl 14 Aug 2005 00:00:35 -0000 1.11 @@ -27,4 +27,6 @@ my $ppasswd = "pass"; my $testdb = "perltest"; +my $adduser_ip = "localhost"; +my $bibencoding = "UTF-8"; ## ask user for connection parameters @@ -201,9 +203,9 @@ print "createdb result summary: $summary\n"; -# add a user +# add users print "$numtest..$numtotal: adduser\n"; $numtest++; -$summary = $clienta->refdb_adduser($server_ip, "$testdb", $cpasswd, $cuser); +$summary = $clienta->refdb_adduser($adduser_ip, "$testdb", $cpasswd, $cuser); print "start adduser result:\n"; @@ -212,4 +214,7 @@ print "adduser result summary: $summary\n"; +# silently add another user for picking refs +$summary = $clienta->refdb_adduser($adduser_ip, "$testdb", $ppasswd, $puser); + # select the new database print "$numtest..$numtotal: selectdb\n"; @@ -400,5 +405,5 @@ #@result = $clientc->refdb_dbib("db31", "refdbteststyle", \&read_styledriver, \&read_biblio, "ISO-8859-1", $instring); -$summary = $clientc->refdb_dbib("db31", "refdbteststyle", "ISO-8859-1", $instring); +$summary = $clientc->refdb_dbib("db31", "refdbteststyle", $bibencoding, $instring); print "start dbib result:\n"; @@ -515,5 +520,5 @@ $numtest++; -$summary = $clienta->refdb_deleteuser($serverip, "$testdb", $cuser); +$summary = $clienta->refdb_deleteuser($adduser_ip, "$testdb", $cuser); print "start deleteuser result:\n"; @@ -522,4 +527,9 @@ print "deleteuser result summary: $summary\n"; +# silently remove the user that picked refs, and the system db entries +$summary = $clienta->refdb_deleteuser($adduser_ip, "$testdb", $puser); +$summary = $clienta->refdb_deleteuser($adduser_ip, "refdb", $cuser); +$summary = $clienta->refdb_deleteuser($adduser_ip, "refdb", $puser); + # delete link print "$numtest..$numtotal: deletelink\n"; |
From: Markus H. <mho...@us...> - 2005-08-13 23:59:11
|
Update of /cvsroot/refdb/perlmod/RefDBClient/testdata In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24221/testdata Modified Files: refdbteststyle.xml Log Message: updated for new DTD version Index: refdbteststyle.xml =================================================================== RCS file: /cvsroot/refdb/perlmod/RefDBClient/testdata/refdbteststyle.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -u -U2 -r1.1 -r1.2 --- refdbteststyle.xml 15 Mar 2003 23:30:06 -0000 1.1 +++ refdbteststyle.xml 13 Aug 2005 23:59:03 -0000 1.2 @@ -1,403 +1,500 @@ <?xml version="1.0"?> -<!DOCTYPE CITESTYLE PUBLIC "-//Markus Hoenicka//DTD CiteStyle XML//EN" "http://refdb.sourceforge.net/dtd/citestylex.dtd"> -<CITESTYLE> - <STYLENAME>refdbteststyle</STYLENAME> - <REFSTYLE> - - <!-- GEN **************************************************************--> - <PUBTYPE TYPE="GEN"> - <REFNUMBER> - <FOLLOWING>. </FOLLOWING> - </REFNUMBER> - <AUTHORLIST ROLE="PRIMARY"> - <FOLLOWING>. </FOLLOWING> - <AUTHORSEPS> - <TWOSEPS> and </TWOSEPS> - <THREESEPS> - <THREESEPSEACH>, </THREESEPSEACH> - <THREESEPSLAST>, and </THREESEPSLAST> - </THREESEPS> - </AUTHORSEPS> - <AUTHORNAMES> - <NAMEFIRST NAMEORDER="LASTFIRSTMIDDLE" INITIALSTYLE="FIRSTSPCMIDDLE" UPPERCASE="NONE"/> - <NAMEOTHER NAMEORDER="LASTFIRSTMIDDLE" INITIALSTYLE="FIRSTSPCMIDDLE" UPPERCASE="NONE"/> - </AUTHORNAMES> - </AUTHORLIST> - <TITLE CASE="ASIS" ROLE="PRIMARY"> - <FOLLOWING>. </FOLLOWING> - </TITLE> - <AUTHORLIST ROLE="SECONDARY"> - <FOLLOWING>. </FOLLOWING> - <AUTHORSEPS> - <TWOSEPS> and </TWOSEPS> - <THREESEPS> - <THREESEPSEACH>, </THREESEPSEACH> - <THREESEPSLAST>, and </THREESEPSLAST> - </THREESEPS> - </AUTHORSEPS> - <AUTHORNAMES> - <NAMEFIRST NAMEORDER="LASTFIRSTMIDDLE" INITIALSTYLE="FIRSTSPCMIDDLE" UPPERCASE="NONE"/> - <NAMEOTHER NAMEORDER="LASTFIRSTMIDDLE" INITIALSTYLE="FIRSTSPCMIDDLE" UPPERCASE="NONE"/> - </AUTHORNAMES> - </AUTHORLIST> - <TITLE CASE="ASIS" ROLE="SECONDARY"> - <FOLLOWING>. </FOLLOWING> - </TITLE> - <JOURNALNAME CASE="ASIS" DEFAULTTEXT="FULL" ALTERNATETEXT="AABBREV" PUNCTUATION="PERIOD"> - <FOLLOWING> </FOLLOWING> - </JOURNALNAME> - <VOLUME/> - <ISSUE> - <PRECEEDING>(</PRECEEDING> - <FOLLOWING>)</FOLLOWING> - </ISSUE> - <PAGES> - <PRECEEDING>, </PRECEEDING> - <PAGERANGE TYPE="FULL"> - <RANGESEPARATOR>-</RANGESEPARATOR> - </PAGERANGE> - </PAGES> - <SEPARATOR>. </SEPARATOR> - <PUBDATE FORMAT="NO" SEQUENCE="Y" MONTHFORMAT="ARABICMONTH" DAYFORMAT="ARABICDAY" YEARFORMAT="FOURDIGIT" PADLEADINGZERO="NN" ROLE="PRIMARY"> - <PRECEEDING>(</PRECEEDING> - <FOLLOWING>). </FOLLOWING> - </PUBDATE> - <PUBPLACE/> - <PUBLISHER> - <PRECEEDING> </PRECEEDING> - </PUBLISHER> - <SEPARATOR>. </SEPARATOR> - <TITLE CASE="ASIS" ROLE="TERTIARY"> - <FOLLOWING>, </FOLLOWING> - </TITLE> - <AUTHORLIST ROLE="TERTIARY"> - <FOLLOWING>. </FOLLOWING> - <AUTHORSEPS> - <TWOSEPS> and </TWOSEPS> - <THREESEPS> - <THREESEPSEACH>, </THREESEPSEACH> - <THREESEPSLAST>, and </THREESEPSLAST> - </THREESEPS> - </AUTHORSEPS> - <AUTHORNAMES> - <NAMEFIRST NAMEORDER="LASTFIRSTMIDDLE" INITIALSTYLE="FIRSTSPCMIDDLE" UPPERCASE="NONE"/> - <NAMEOTHER NAMEORDER="LASTFIRSTMIDDLE" INITIALSTYLE="FIRSTSPCMIDDLE" UPPERCASE="NONE"/> - </AUTHORNAMES> - </AUTHORLIST> - </PUBTYPE> - - - <!-- ABST *************************************************************--> - - <PUBTYPE TYPE="ABST"> - <REFNUMBER> - <FOLLOWING>. </FOLLOWING> - </REFNUMBER> - <AUTHORLIST ROLE="PRIMARY"> - <FOLLOWING>. </FOLLOWING> - <ABBREVIATEFIRST MAXAUTHOR="256" DISPLAYAUTHOR="255">, et al</ABBREVIATEFIRST> - <ABBREVIATESUBSEQ MAXAUTHOR="256" DISPLAYAUTHOR="255">, et al</ABBREVIATESUBSEQ> - <AEMPTY>Anonymous</AEMPTY> - <AUTHORSEPS> - <TWOSEPS> and </TWOSEPS> - <THREESEPS> - <THREESEPSEACH>, </THREESEPSEACH> - <THREESEPSLAST>, and </THREESEPSLAST> - </THREESEPS> - </AUTHORSEPS> - <AUTHORNAMES> - <NAMEFIRST NAMEORDER="LASTFIRSTMIDDLE" INITIALSTYLE="F.M." UPPERCASE="NONE"/> - <NAMEOTHER NAMEORDER="LASTFIRSTMIDDLE" INITIALSTYLE="F.M." UPPERCASE="NONE"/> - </AUTHORNAMES> - <TEXT> - <TEXTSINGLE> - <FOLLOWING> </FOLLOWING> - </TEXTSINGLE> - <TEXTMULTIPLE> - <FOLLOWING> </FOLLOWING> - </TEXTMULTIPLE> - </TEXT> - </AUTHORLIST> - <PUBDATE FORMAT="YES" SEQUENCE="Y" MONTHFORMAT="ARABICMONTH" DAYFORMAT="ARABICDAY" YEARFORMAT="FOURDIGIT" PADLEADINGZERO="YY" ROLE="PRIMARY"> - <PRECEEDING>(</PRECEEDING> - <FOLLOWING>) </FOLLOWING> - </PUBDATE> - <JOURNALNAME CASE="ASIS" DEFAULTTEXT="ABBREV" ALTERNATETEXT="AFULL" PUNCTUATION="PERIOD" STYLE="ITALIC"> - <PRECEEDING> </PRECEEDING> - <FOLLOWING> </FOLLOWING> - </JOURNALNAME> - <VOLUME STYLE="BOLD"> - <FOLLOWING>, </FOLLOWING> - </VOLUME> - <PAGES> - <PAGERANGE TYPE="FULL"> - <RANGESEPARATOR>-</RANGESEPARATOR> - </PAGERANGE> - </PAGES> - </PUBTYPE> - - <!-- CHAP *************************************************************--> - - <PUBTYPE TYPE="CHAP"> - <REFNUMBER> - <FOLLOWING>. </FOLLOWING> - </REFNUMBER> - <AUTHORLIST ROLE="PRIMARY"> - <ABBREVIATEFIRST MAXAUTHOR="256" DISPLAYAUTHOR="255">, et al</ABBREVIATEFIRST> - <ABBREVIATESUBSEQ MAXAUTHOR="256" DISPLAYAUTHOR="255">, et al</ABBREVIATESUBSEQ> - <AEMPTY>Anonymous</AEMPTY> - <AUTHORSEPS> - <TWOSEPS> and </TWOSEPS> - <THREESEPS> - <THREESEPSEACH>, </THREESEPSEACH> - <THREESEPSLAST>, and </THREESEPSLAST> - </THREESEPS> - </AUTHORSEPS> - <AUTHORNAMES> - <NAMEFIRST NAMEORDER="LASTFIRSTMIDDLE" INITIALSTYLE="F.M." UPPERCASE="NONE"/> - <NAMEOTHER NAMEORDER="LASTFIRSTMIDDLE" INITIALSTYLE="F.M." UPPERCASE="NONE"/> - </AUTHORNAMES> - <TEXT> - <TEXTSINGLE> - <FOLLOWING> </FOLLOWING> - </TEXTSINGLE> - <TEXTMULTIPLE> - <FOLLOWING> </FOLLOWING> - </TEXTMULTIPLE> - </TEXT> - </AUTHORLIST> - <PUBDATE FORMAT="YES" SEQUENCE="Y" MONTHFORMAT="ARABICMONTH" DAYFORMAT="ARABICDAY" YEARFORMAT="FOURDIGIT" PADLEADINGZERO="YY" ROLE="PRIMARY"> - <PRECEEDING>(</PRECEEDING> - <FOLLOWING>) in </FOLLOWING> - </PUBDATE> - <TITLE CASE="ASIS" STYLE="ITALIC" ROLE="SECONDARY"> - <FOLLOWING>. (</FOLLOWING> - </TITLE> - <AUTHORLIST ROLE="SECONDARY"> - <ABBREVIATEFIRST MAXAUTHOR="256" DISPLAYAUTHOR="255">, et al, </ABBREVIATEFIRST> - <AEMPTY>Anonymous</AEMPTY> - <AUTHORSEPS> - <TWOSEPS> and </TWOSEPS> - <THREESEPS> - <THREESEPSEACH>, </THREESEPSEACH> - <THREESEPSLAST>, and </THREESEPSLAST> - </THREESEPS> - </AUTHORSEPS> - <AUTHORNAMES> - <NAMEFIRST NAMEORDER="LASTFIRSTMIDDLE" INITIALSTYLE="F.M." UPPERCASE="NONE"/> - <NAMEOTHER NAMEORDER="LASTFIRSTMIDDLE" INITIALSTYLE="F.M." UPPERCASE="NONE"/> - </AUTHORNAMES> - <TEXT> - <TEXTSINGLE> - <FOLLOWING>, ed) </FOLLOWING> - </TEXTSINGLE> - <TEXTMULTIPLE> - <FOLLOWING>, eds) </FOLLOWING> - </TEXTMULTIPLE> - </TEXT> - </AUTHORLIST> - <PAGES> - <SINGLEPAGE> - <PRECEEDING>pp. </PRECEEDING> - </SINGLEPAGE> - <PAGERANGE TYPE="FULL"> - <PRECEEDING>pp. </PRECEEDING> - <RANGESEPARATOR>-</RANGESEPARATOR> +<!DOCTYPE CITESTYLE PUBLIC "-//Markus Hoenicka//DTD CiteStyle V1.3//EN" "http://refdb.sourceforge.net/dtd/citestylex-1.3/citestylex.dtd"> +<STYLESET> + <CITESTYLE> + <STYLENAME>refdbteststyle</STYLENAME> + <!-- $Id$ --> + <REFSTYLE> + + <!-- GEN **************************************************************--> + <PUBTYPE TYPE="GEN"> + <REFNUMBER> + <FOLLOWING>. </FOLLOWING> + </REFNUMBER> + <AUTHORLIST ROLE="PRIMARY"> + <FOLLOWING>. </FOLLOWING> + <AUTHORSEPS> + <TWOSEPS> and </TWOSEPS> + <THREESEPS> + <THREESEPSEACH>, </THREESEPSEACH> + <THREESEPSLAST>, and </THREESEPSLAST> + </THREESEPS> + </AUTHORSEPS> + <AUTHORNAMES> + <NAMEFIRST NAMEORDER="LASTFIRSTMIDDLE" INITIALSTYLE="FIRSTSPCMIDDLE" UPPERCASE="NONE"/> + <NAMEOTHER NAMEORDER="LASTFIRSTMIDDLE" INITIALSTYLE="FIRSTSPCMIDDLE" UPPERCASE="NONE"/> + </AUTHORNAMES> + </AUTHORLIST> + <TITLE CASE="ASIS" ROLE="PRIMARY"> + <FOLLOWING>. </FOLLOWING> + </TITLE> + <AUTHORLIST ROLE="SECONDARY"> + <FOLLOWING>. </FOLLOWING> + <AUTHORSEPS> + <TWOSEPS> and </TWOSEPS> + <THREESEPS> + <THREESEPSEACH>, </THREESEPSEACH> + <THREESEPSLAST>, and </THREESEPSLAST> + </THREESEPS> + </AUTHORSEPS> + <AUTHORNAMES> + <NAMEFIRST NAMEORDER="LASTFIRSTMIDDLE" INITIALSTYLE="FIRSTSPCMIDDLE" UPPERCASE="NONE"/> + <NAMEOTHER NAMEORDER="LASTFIRSTMIDDLE" INITIALSTYLE="FIRSTSPCMIDDLE" UPPERCASE="NONE"/> + </AUTHORNAMES> + </AUTHORLIST> + <TITLE CASE="ASIS" ROLE="SECONDARY"> + <FOLLOWING>. </FOLLOWING> + </TITLE> + <JOURNALNAME CASE="ASIS" DEFAULTTEXT="FULL" ALTERNATETEXT="AABBREV" PUNCTUATION="PERIOD"> + <FOLLOWING> </FOLLOWING> + </JOURNALNAME> + <VOLUME/> + <ISSUE> + <PRECEEDING>(</PRECEEDING> + <FOLLOWING>)</FOLLOWING> + </ISSUE> + <PAGES> + <PRECEEDING>, </PRECEEDING> + <PAGERANGE TYPE="FULL"> + <RANGESEPARATOR>-</RANGESEPARATOR> + </PAGERANGE> + </PAGES> + <SEPARATOR>. </SEPARATOR> + <PUBDATE FORMAT="NO" SEQUENCE="Y" MONTHFORMAT="ARABICMONTH" DAYFORMAT="ARABICDAY" YEARFORMAT="FOURDIGIT" PADLEADINGZERO="NN" ROLE="PRIMARY"> + <PRECEEDING>(</PRECEEDING> + <FOLLOWING>). </FOLLOWING> + </PUBDATE> + <PUBPLACE/> + <PUBLISHER> + <PRECEEDING> </PRECEEDING> + </PUBLISHER> + <SEPARATOR>. </SEPARATOR> + <TITLE CASE="ASIS" ROLE="TERTIARY"> <FOLLOWING>, </FOLLOWING> - </PAGERANGE> - </PAGES> - <PUBLISHER> - <FOLLOWING>, </FOLLOWING> - </PUBLISHER> - <PUBPLACE> - <FOLLOWING> </FOLLOWING> - </PUBPLACE> - </PUBTYPE> - - - <!-- BOOK *************************************************************--> - - <PUBTYPE TYPE="BOOK"> - <REFNUMBER> - <FOLLOWING>. </FOLLOWING> - </REFNUMBER> - <AUTHORLIST ROLE="PRIMARY"> - <ABBREVIATEFIRST MAXAUTHOR="256" DISPLAYAUTHOR="255">, et al</ABBREVIATEFIRST> - <ABBREVIATESUBSEQ MAXAUTHOR="256" DISPLAYAUTHOR="255">, et al</ABBREVIATESUBSEQ> - <AEMPTY>Anonymous</AEMPTY> - <AUTHORSEPS> - <TWOSEPS> and </TWOSEPS> - <THREESEPS> - <THREESEPSEACH>, </THREESEPSEACH> - <THREESEPSLAST>, and </THREESEPSLAST> - </THREESEPS> - </AUTHORSEPS> - <AUTHORNAMES> - <NAMEFIRST NAMEORDER="LASTFIRSTMIDDLE" INITIALSTYLE="F.M." UPPERCASE="NONE"/> - <NAMEOTHER NAMEORDER="LASTFIRSTMIDDLE" INITIALSTYLE="F.M." UPPERCASE="NONE"/> - </AUTHORNAMES> - <TEXT> - <TEXTSINGLE> - <FOLLOWING> </FOLLOWING> - </TEXTSINGLE> - <TEXTMULTIPLE> - <FOLLOWING> </FOLLOWING> - </TEXTMULTIPLE> - </TEXT> - </AUTHORLIST> - <PUBDATE FORMAT="YES" SEQUENCE="Y" MONTHFORMAT="ARABICMONTH" DAYFORMAT="ARABICDAY" YEARFORMAT="FOURDIGIT" PADLEADINGZERO="YY" ROLE="PRIMARY"> - <PRECEEDING>(</PRECEEDING> - <FOLLOWING>) </FOLLOWING> - </PUBDATE> - <TITLE CASE="ASIS" STYLE="ITALIC" ROLE="PRIMARY"> - <FOLLOWING>, </FOLLOWING> - </TITLE> - <PUBLISHER> - <FOLLOWING>, </FOLLOWING> - </PUBLISHER> - <PUBPLACE/> - </PUBTYPE> - - <!-- INPR *************************************************************--> - - <PUBTYPE TYPE="INPR"> - <REFNUMBER> - <FOLLOWING>. </FOLLOWING> - </REFNUMBER> - <AUTHORLIST ROLE="PRIMARY"> - <FOLLOWING> </FOLLOWING> - <ABBREVIATEFIRST MAXAUTHOR="256" DISPLAYAUTHOR="255">, et al</ABBREVIATEFIRST> - <ABBREVIATESUBSEQ MAXAUTHOR="256" DISPLAYAUTHOR="255">, et al</ABBREVIATESUBSEQ> - <AEMPTY>Anonymous</AEMPTY> - <AUTHORSEPS> - <TWOSEPS> and </TWOSEPS> - <THREESEPS> - <THREESEPSEACH>, </THREESEPSEACH> - <THREESEPSLAST>, and </THREESEPSLAST> - </THREESEPS> - </AUTHORSEPS> - <AUTHORNAMES> - <NAMEFIRST NAMEORDER="LASTFIRSTMIDDLE" INITIALSTYLE="F.M." UPPERCASE="NONE"/> - <NAMEOTHER NAMEORDER="LASTFIRSTMIDDLE" INITIALSTYLE="F.M." UPPERCASE="NONE"/> - </AUTHORNAMES> - <TEXT> - <TEXTSINGLE> - <FOLLOWING> </FOLLOWING> - </TEXTSINGLE> - <TEXTMULTIPLE> - <FOLLOWING> </FOLLOWING> - </TEXTMULTIPLE> - </TEXT> - </AUTHORLIST> - <PUBDATE FORMAT="YES" SEQUENCE="Y" MONTHFORMAT="ARABICMONTH" DAYFORMAT="ARABICDAY" YEARFORMAT="FOURDIGIT" PADLEADINGZERO="YY" ROLE="PRIMARY"> - <PRECEEDING>(</PRECEEDING> - <FOLLOWING>) </FOLLOWING> - </PUBDATE> - <JOURNALNAME CASE="ASIS" DEFAULTTEXT="ABBREV" ALTERNATETEXT="AFULL" PUNCTUATION="PERIOD" STYLE="ITALIC"> - <PRECEEDING> </PRECEEDING> - <FOLLOWING> </FOLLOWING> - </JOURNALNAME> - <SEPARATOR>(in press)</SEPARATOR> - </PUBTYPE> - - <!-- JOUR *************************************************************--> - - <PUBTYPE TYPE="JOUR"> - <REFNUMBER> - <FOLLOWING>. </FOLLOWING> - </REFNUMBER> - <AUTHORLIST ROLE="PRIMARY"> - <FOLLOWING> </FOLLOWING> - <ABBREVIATEFIRST MAXAUTHOR="256" DISPLAYAUTHOR="255">, et al</ABBREVIATEFIRST> - <ABBREVIATESUBSEQ MAXAUTHOR="256" DISPLAYAUTHOR="255">, et al</ABBREVIATESUBSEQ> - <AEMPTY>Anonymous</AEMPTY> - <AUTHORSEPS> - <TWOSEPS> and </TWOSEPS> - <THREESEPS> - <THREESEPSEACH>, </THREESEPSEACH> - <THREESEPSLAST>, and </THREESEPSLAST> - </THREESEPS> - </AUTHORSEPS> - <AUTHORNAMES> - <NAMEFIRST NAMEORDER="LASTFIRSTMIDDLE" INITIALSTYLE="F.M." UPPERCASE="NONE"/> - <NAMEOTHER NAMEORDER="LASTFIRSTMIDDLE" INITIALSTYLE="F.M." UPPERCASE="NONE"/> - </AUTHORNAMES> - <TEXT> - <TEXTSINGLE> - <FOLLOWING> </FOLLOWING> - </TEXTSINGLE> - <TEXTMULTIPLE> - <FOLLOWING> </FOLLOWING> - </TEXTMULTIPLE> - </TEXT> - </AUTHORLIST> - <PUBDATE FORMAT="YES" SEQUENCE="Y" MONTHFORMAT="ARABICMONTH" DAYFORMAT="ARABICDAY" YEARFORMAT="FOURDIGIT" PADLEADINGZERO="YY" ROLE="PRIMARY"> - <PRECEEDING>(</PRECEEDING> - <FOLLOWING>) </FOLLOWING> - </PUBDATE> - <JOURNALNAME CASE="ASIS" DEFAULTTEXT="ABBREV" ALTERNATETEXT="AFULL" PUNCTUATION="PERIOD" STYLE="ITALIC"> - <PRECEEDING> </PRECEEDING> - <FOLLOWING> </FOLLOWING> - </JOURNALNAME> - <VOLUME STYLE="BOLD"> - <FOLLOWING>, </FOLLOWING> - </VOLUME> - <PAGES> - <PAGERANGE TYPE="FULL"> - <RANGESEPARATOR>-</RANGESEPARATOR> - </PAGERANGE> - </PAGES> - </PUBTYPE> - </REFSTYLE> - - <!-- type-independent stuff --> - - <CITSTYLE INTEXTSEQUENCE="ASIS" BIBLIOSEQUENCE="BASIS"> - <PRECEEDING>(</PRECEEDING> - <FOLLOWING>)</FOLLOWING> - <CITSEPARATOR>; </CITSEPARATOR> - <RANGESEPARATOR>-</RANGESEPARATOR> - <BIBLIOTITLE>Reference List</BIBLIOTITLE> - <INTEXTDEF> - <REFNUMBER/> - </INTEXTDEF> - <AUTHORONLY> - <AUTHORLIST ROLE="PRIMARY"> - <ABBREVIATEFIRST MAXAUTHOR="256" DISPLAYAUTHOR="255">, et al</ABBREVIATEFIRST> - <ABBREVIATESUBSEQ MAXAUTHOR="256" DISPLAYAUTHOR="255">, et al</ABBREVIATESUBSEQ> - <AEMPTY>Anonymous</AEMPTY> - <AUTHORSEPS> - <TWOSEPS> and </TWOSEPS> - <THREESEPS> - <THREESEPSEACH>, </THREESEPSEACH> - <THREESEPSLAST>, and </THREESEPSLAST> - </THREESEPS> - </AUTHORSEPS> - <AUTHORNAMES> - <NAMEFIRST NAMEORDER="LAST" UPPERCASE="NONE"/> - <NAMEOTHER NAMEORDER="LAST" UPPERCASE="NONE"/> - </AUTHORNAMES> - </AUTHORLIST> - </AUTHORONLY> - <YEARONLY> - <REFNUMBER/> - </YEARONLY> - <MONTHS> - <JAN FULL="January" ABBREV="Jan." THREELET="Jan"/> - <FEB FULL="February" ABBREV="Feb." THREELET="Feb"/> - <MAR FULL="March" ABBREV="Mar." THREELET="Mar"/> - <APR FULL="April" ABBREV="Apr." THREELET="Apr"/> - <MAY FULL="May" ABBREV="May" THREELET="May"/> - <JUN FULL="June" ABBREV="Jun." THREELET="Jun"/> - <JUL FULL="July" ABBREV="Jul." THREELET="Jul"/> - <AUG FULL="August" ABBREV="Aug." THREELET="Aug"/> - <SEP FULL="September" ABBREV="Sep." THREELET="Sep"/> - <OCT FULL="October" ABBREV="Oct." THREELET="Oct"/> - <NOV FULL="November" ABBREV="Nov." THREELET="Nov"/> - <DEC FULL="December" ABBREV="Dec." THREELET="Dec"/> - </MONTHS> - </CITSTYLE> -</CITESTYLE> - - + </TITLE> + <AUTHORLIST ROLE="TERTIARY"> + <FOLLOWING>. </FOLLOWING> + <AUTHORSEPS> + <TWOSEPS> and </TWOSEPS> + <THREESEPS> + <THREESEPSEACH>, </THREESEPSEACH> + <THREESEPSLAST>, and </THREESEPSLAST> + </THREESEPS> + </AUTHORSEPS> + <AUTHORNAMES> + <NAMEFIRST NAMEORDER="LASTFIRSTMIDDLE" INITIALSTYLE="FIRSTSPCMIDDLE" UPPERCASE="NONE"/> + <NAMEOTHER NAMEORDER="LASTFIRSTMIDDLE" INITIALSTYLE="FIRSTSPCMIDDLE" UPPERCASE="NONE"/> + </AUTHORNAMES> + </AUTHORLIST> + </PUBTYPE> + + + <!-- ABST *************************************************************--> + + <PUBTYPE TYPE="ABST"> + <REFNUMBER> + <FOLLOWING>. </FOLLOWING> + </REFNUMBER> + <AUTHORLIST ROLE="PRIMARY"> + <FOLLOWING>. </FOLLOWING> + <ABBREVIATEFIRST MAXAUTHOR="256" DISPLAYAUTHOR="255">, et al</ABBREVIATEFIRST> + <ABBREVIATESUBSEQ MAXAUTHOR="256" DISPLAYAUTHOR="255">, et al</ABBREVIATESUBSEQ> + <AEMPTY>Anonymous</AEMPTY> + <AUTHORSEPS> + <TWOSEPS> and </TWOSEPS> + <THREESEPS> + <THREESEPSEACH>, </THREESEPSEACH> + <THREESEPSLAST>, and </THREESEPSLAST> + </THREESEPS> + </AUTHORSEPS> + <AUTHORNAMES> + <NAMEFIRST NAMEORDER="LASTFIRSTMIDDLE" INITIALSTYLE="F.M." UPPERCASE="NONE"/> + <NAMEOTHER NAMEORDER="LASTFIRSTMIDDLE" INITIALSTYLE="F.M." UPPERCASE="NONE"/> + </AUTHORNAMES> + <TEXT> + <TEXTSINGLE> + <FOLLOWING> </FOLLOWING> + </TEXTSINGLE> + <TEXTMULTIPLE> + <FOLLOWING> </FOLLOWING> + </TEXTMULTIPLE> + </TEXT> + </AUTHORLIST> + <PUBDATE FORMAT="YES" SEQUENCE="Y" MONTHFORMAT="ARABICMONTH" DAYFORMAT="ARABICDAY" YEARFORMAT="FOURDIGIT" PADLEADINGZERO="YY" ROLE="PRIMARY"> + <PRECEEDING>(</PRECEEDING> + <FOLLOWING>) </FOLLOWING> + </PUBDATE> + <JOURNALNAME CASE="ASIS" DEFAULTTEXT="ABBREV" ALTERNATETEXT="AFULL" PUNCTUATION="PERIOD" STYLE="ITALIC"> + <PRECEEDING> </PRECEEDING> + <FOLLOWING> </FOLLOWING> + </JOURNALNAME> + <VOLUME STYLE="BOLD"> + <FOLLOWING>, </FOLLOWING> + </VOLUME> + <PAGES> + <PAGERANGE TYPE="FULL"> + <RANGESEPARATOR>-</RANGESEPARATOR> + </PAGERANGE> + </PAGES> + </PUBTYPE> + + <!-- CHAP *************************************************************--> + + <PUBTYPE TYPE="CHAP"> + <REFNUMBER> + <FOLLOWING>. </FOLLOWING> + </REFNUMBER> + <AUTHORLIST ROLE="PRIMARY"> + <ABBREVIATEFIRST MAXAUTHOR="256" DISPLAYAUTHOR="255">, et al</ABBREVIATEFIRST> + <ABBREVIATESUBSEQ MAXAUTHOR="256" DISPLAYAUTHOR="255">, et al</ABBREVIATESUBSEQ> + <AEMPTY>Anonymous</AEMPTY> + <AUTHORSEPS> + <TWOSEPS> and </TWOSEPS> + <THREESEPS> + <THREESEPSEACH>, </THREESEPSEACH> + <THREESEPSLAST>, and </THREESEPSLAST> + </THREESEPS> + </AUTHORSEPS> + <AUTHORNAMES> + <NAMEFIRST NAMEORDER="LASTFIRSTMIDDLE" INITIALSTYLE="F.M." UPPERCASE="NONE"/> + <NAMEOTHER NAMEORDER="LASTFIRSTMIDDLE" INITIALSTYLE="F.M." UPPERCASE="NONE"/> + </AUTHORNAMES> + <TEXT> + <TEXTSINGLE> + <FOLLOWING> </FOLLOWING> + </TEXTSINGLE> + <TEXTMULTIPLE> + <FOLLOWING> </FOLLOWING> + </TEXTMULTIPLE> + </TEXT> + </AUTHORLIST> + <PUBDATE FORMAT="YES" SEQUENCE="Y" MONTHFORMAT="ARABICMONTH" DAYFORMAT="ARABICDAY" YEARFORMAT="FOURDIGIT" PADLEADINGZERO="YY" ROLE="PRIMARY"> + <PRECEEDING>(</PRECEEDING> + <FOLLOWING>) in </FOLLOWING> + </PUBDATE> + <TITLE CASE="ASIS" STYLE="ITALIC" ROLE="SECONDARY"> + <FOLLOWING>. (</FOLLOWING> + </TITLE> + <AUTHORLIST ROLE="SECONDARY"> + <ABBREVIATEFIRST MAXAUTHOR="256" DISPLAYAUTHOR="255">, et al, </ABBREVIATEFIRST> + <AEMPTY>Anonymous</AEMPTY> + <AUTHORSEPS> + <TWOSEPS> and </TWOSEPS> + <THREESEPS> + <THREESEPSEACH>, </THREESEPSEACH> + <THREESEPSLAST>, and </THREESEPSLAST> + </THREESEPS> + </AUTHORSEPS> + <AUTHORNAMES> + <NAMEFIRST NAMEORDER="LASTFIRSTMIDDLE" INITIALSTYLE="F.M." UPPERCASE="NONE"/> + <NAMEOTHER NAMEORDER="LASTFIRSTMIDDLE" INITIALSTYLE="F.M." UPPERCASE="NONE"/> + </AUTHORNAMES> + <TEXT> + <TEXTSINGLE> + <FOLLOWING>, ed) </FOLLOWING> + </TEXTSINGLE> + <TEXTMULTIPLE> + <FOLLOWING>, eds) </FOLLOWING> + </TEXTMULTIPLE> + </TEXT> + </AUTHORLIST> + <PAGES> + <SINGLEPAGE> + <PRECEEDING>pp. </PRECEEDING> + </SINGLEPAGE> + <PAGERANGE TYPE="FULL"> + <PRECEEDING>pp. </PRECEEDING> + <RANGESEPARATOR>-</RANGESEPARATOR> + <FOLLOWING>, </FOLLOWING> + </PAGERANGE> + </PAGES> + <PUBLISHER> + <FOLLOWING>, </FOLLOWING> + </PUBLISHER> + <PUBPLACE> + <FOLLOWING> </FOLLOWING> + </PUBPLACE> + </PUBTYPE> + + + <!-- BOOK *************************************************************--> + + <PUBTYPE TYPE="BOOK"> + <REFNUMBER> + <FOLLOWING>. </FOLLOWING> + </REFNUMBER> + <AUTHORLIST ROLE="PRIMARY"> + <ABBREVIATEFIRST MAXAUTHOR="256" DISPLAYAUTHOR="255">, et al</ABBREVIATEFIRST> + <ABBREVIATESUBSEQ MAXAUTHOR="256" DISPLAYAUTHOR="255">, et al</ABBREVIATESUBSEQ> + <AEMPTY>Anonymous</AEMPTY> + <AUTHORSEPS> + <TWOSEPS> and </TWOSEPS> + <THREESEPS> + <THREESEPSEACH>, </THREESEPSEACH> + <THREESEPSLAST>, and </THREESEPSLAST> + </THREESEPS> + </AUTHORSEPS> + <AUTHORNAMES> + <NAMEFIRST NAMEORDER="LASTFIRSTMIDDLE" INITIALSTYLE="F.M." UPPERCASE="NONE"/> + <NAMEOTHER NAMEORDER="LASTFIRSTMIDDLE" INITIALSTYLE="F.M." UPPERCASE="NONE"/> + </AUTHORNAMES> + <TEXT> + <TEXTSINGLE> + <FOLLOWING> </FOLLOWING> + </TEXTSINGLE> + <TEXTMULTIPLE> + <FOLLOWING> </FOLLOWING> + </TEXTMULTIPLE> + </TEXT> + </AUTHORLIST> + <PUBDATE FORMAT="YES" SEQUENCE="Y" MONTHFORMAT="ARABICMONTH" DAYFORMAT="ARABICDAY" YEARFORMAT="FOURDIGIT" PADLEADINGZERO="YY" ROLE="PRIMARY"> + <PRECEEDING>(</PRECEEDING> + <FOLLOWING>) </FOLLOWING> + </PUBDATE> + <TITLE CASE="ASIS" STYLE="ITALIC" ROLE="SECONDARY"> + <FOLLOWING>, </FOLLOWING> + </TITLE> + <PUBLISHER> + <FOLLOWING>, </FOLLOWING> + </PUBLISHER> + <PUBPLACE/> + </PUBTYPE> + + <!-- INPR *************************************************************--> + + <PUBTYPE TYPE="INPR"> + <REFNUMBER> + <FOLLOWING>. </FOLLOWING> + </REFNUMBER> + <AUTHORLIST ROLE="PRIMARY"> + <FOLLOWING> </FOLLOWING> + <ABBREVIATEFIRST MAXAUTHOR="256" DISPLAYAUTHOR="255">, et al</ABBREVIATEFIRST> + <ABBREVIATESUBSEQ MAXAUTHOR="256" DISPLAYAUTHOR="255">, et al</ABBREVIATESUBSEQ> + <AEMPTY>Anonymous</AEMPTY> + <AUTHORSEPS> + <TWOSEPS> and </TWOSEPS> + <THREESEPS> + <THREESEPSEACH>, </THREESEPSEACH> + <THREESEPSLAST>, and </THREESEPSLAST> + </THREESEPS> + </AUTHORSEPS> + <AUTHORNAMES> + <NAMEFIRST NAMEORDER="LASTFIRSTMIDDLE" INITIALSTYLE="F.M." UPPERCASE="NONE"/> + <NAMEOTHER NAMEORDER="LASTFIRSTMIDDLE" INITIALSTYLE="F.M." UPPERCASE="NONE"/> + </AUTHORNAMES> + <TEXT> + <TEXTSINGLE> + <FOLLOWING> </FOLLOWING> + </TEXTSINGLE> + <TEXTMULTIPLE> + <FOLLOWING> </FOLLOWING> + </TEXTMULTIPLE> + </TEXT> + </AUTHORLIST> + <PUBDATE FORMAT="YES" SEQUENCE="Y" MONTHFORMAT="ARABICMONTH" DAYFORMAT="ARABICDAY" YEARFORMAT="FOURDIGIT" PADLEADINGZERO="YY" ROLE="PRIMARY"> + <PRECEEDING>(</PRECEEDING> + <FOLLOWING>) </FOLLOWING> + </PUBDATE> + <JOURNALNAME CASE="ASIS" DEFAULTTEXT="ABBREV" ALTERNATETEXT="AFULL" PUNCTUATION="PERIOD" STYLE="ITALIC"> + <PRECEEDING> </PRECEEDING> + <FOLLOWING> </FOLLOWING> + </JOURNALNAME> + <SEPARATOR>(in press)</SEPARATOR> + </PUBTYPE> + + <!-- JOUR *************************************************************--> + + <PUBTYPE TYPE="JOUR"> + <REFNUMBER> + <FOLLOWING>. </FOLLOWING> + </REFNUMBER> + <AUTHORLIST ROLE="PRIMARY"> + <FOLLOWING> </FOLLOWING> + <ABBREVIATEFIRST MAXAUTHOR="256" DISPLAYAUTHOR="255">, et al</ABBREVIATEFIRST> + <ABBREVIATESUBSEQ MAXAUTHOR="256" DISPLAYAUTHOR="255">, et al</ABBREVIATESUBSEQ> + <AEMPTY>Anonymous</AEMPTY> + <AUTHORSEPS> + <TWOSEPS> and </TWOSEPS> + <THREESEPS> + <THREESEPSEACH>, </THREESEPSEACH> + <THREESEPSLAST>, and </THREESEPSLAST> + </THREESEPS> + </AUTHORSEPS> + <AUTHORNAMES> + <NAMEFIRST NAMEORDER="LASTFIRSTMIDDLE" INITIALSTYLE="F.M." UPPERCASE="NONE"/> + <NAMEOTHER NAMEORDER="LASTFIRSTMIDDLE" INITIALSTYLE="F.M." UPPERCASE="NONE"/> + </AUTHORNAMES> + <TEXT> + <TEXTSINGLE> + <FOLLOWING> </FOLLOWING> + </TEXTSINGLE> + <TEXTMULTIPLE> + <FOLLOWING> </FOLLOWING> + </TEXTMULTIPLE> + </TEXT> + </AUTHORLIST> + <PUBDATE FORMAT="YES" SEQUENCE="Y" MONTHFORMAT="ARABICMONTH" DAYFORMAT="ARABICDAY" YEARFORMAT="FOURDIGIT" PADLEADINGZERO="YY" ROLE="PRIMARY"> + <PRECEEDING>(</PRECEEDING> + <FOLLOWING>) </FOLLOWING> + </PUBDATE> + <JOURNALNAME CASE="ASIS" DEFAULTTEXT="ABBREV" ALTERNATETEXT="AFULL" PUNCTUATION="PERIOD" STYLE="ITALIC"> + <PRECEEDING> </PRECEEDING> + <FOLLOWING> </FOLLOWING> + </JOURNALNAME> + <VOLUME STYLE="BOLD"> + <FOLLOWING>, </FOLLOWING> + </VOLUME> + <PAGES> + <PAGERANGE TYPE="FULL"> + <RANGESEPARATOR>-</RANGESEPARATOR> + </PAGERANGE> + </PAGES> + </PUBTYPE> + + + <!-- NEWS *************************************************************--> + + <PUBTYPE TYPE="NEWS"> + <REFNUMBER> + <FOLLOWING>. </FOLLOWING> + </REFNUMBER> + <AUTHORLIST ROLE="PRIMARY"> + <FOLLOWING> </FOLLOWING> + <ABBREVIATEFIRST MAXAUTHOR="256" DISPLAYAUTHOR="255">, et al</ABBREVIATEFIRST> + <ABBREVIATESUBSEQ MAXAUTHOR="256" DISPLAYAUTHOR="255">, et al</ABBREVIATESUBSEQ> + <AEMPTY>Anonymous</AEMPTY> + <AUTHORSEPS> + <TWOSEPS> and </TWOSEPS> + <THREESEPS> + <THREESEPSEACH>, </THREESEPSEACH> + <THREESEPSLAST>, and </THREESEPSLAST> + </THREESEPS> + </AUTHORSEPS> + <AUTHORNAMES> + <NAMEFIRST NAMEORDER="LASTFIRSTMIDDLE" INITIALSTYLE="F.M." UPPERCASE="NONE"/> + <NAMEOTHER NAMEORDER="LASTFIRSTMIDDLE" INITIALSTYLE="F.M." UPPERCASE="NONE"/> + </AUTHORNAMES> + <TEXT> + <TEXTSINGLE> + <FOLLOWING> </FOLLOWING> + </TEXTSINGLE> + <TEXTMULTIPLE> + <FOLLOWING> </FOLLOWING> + </TEXTMULTIPLE> + </TEXT> + </AUTHORLIST> + <PUBDATE FORMAT="YES" SEQUENCE="Y" MONTHFORMAT="ARABICMONTH" DAYFORMAT="ARABICDAY" YEARFORMAT="FOURDIGIT" PADLEADINGZERO="YY" ROLE="PRIMARY"> + <PRECEEDING>(</PRECEEDING> + <FOLLOWING>) </FOLLOWING> + </PUBDATE> + <JOURNALNAME CASE="ASIS" DEFAULTTEXT="ABBREV" ALTERNATETEXT="AFULL" PUNCTUATION="PERIOD" STYLE="ITALIC"> + <PRECEEDING> </PRECEEDING> + <FOLLOWING> </FOLLOWING> + </JOURNALNAME> + <VOLUME STYLE="BOLD"> + <FOLLOWING>, </FOLLOWING> + </VOLUME> + <PAGES> + <PAGERANGE TYPE="FULL"> + <RANGESEPARATOR>-</RANGESEPARATOR> + </PAGERANGE> + </PAGES> + </PUBTYPE> + + <!-- ELEC *************************************************************--> + + <PUBTYPE TYPE="ELEC"> + <REFNUMBER> + <FOLLOWING>. </FOLLOWING> + </REFNUMBER> + <AUTHORLIST ROLE="PRIMARY"> + <FOLLOWING> </FOLLOWING> + <ABBREVIATEFIRST MAXAUTHOR="256" DISPLAYAUTHOR="255">, et al</ABBREVIATEFIRST> + <ABBREVIATESUBSEQ MAXAUTHOR="256" DISPLAYAUTHOR="255">, et al</ABBREVIATESUBSEQ> + <AEMPTY>Anonymous</AEMPTY> + <AUTHORSEPS> + <TWOSEPS> and </TWOSEPS> + <THREESEPS> + <THREESEPSEACH>, </THREESEPSEACH> + <THREESEPSLAST>, and </THREESEPSLAST> + </THREESEPS> + </AUTHORSEPS> + <AUTHORNAMES> + <NAMEFIRST NAMEORDER="LASTFIRSTMIDDLE" INITIALSTYLE="F.M." UPPERCASE="NONE"/> + <NAMEOTHER NAMEORDER="LASTFIRSTMIDDLE" INITIALSTYLE="F.M." UPPERCASE="NONE"/> + </AUTHORNAMES> + <TEXT> + <TEXTSINGLE> + <FOLLOWING> </FOLLOWING> + </TEXTSINGLE> + <TEXTMULTIPLE> + <FOLLOWING> </FOLLOWING> + </TEXTMULTIPLE> + </TEXT> + </AUTHORLIST> + <PUBDATE FORMAT="YES" SEQUENCE="Y" MONTHFORMAT="ARABICMONTH" DAYFORMAT="ARABICDAY" YEARFORMAT="FOURDIGIT" PADLEADINGZERO="YY" ROLE="PRIMARY"> + <PRECEEDING>(</PRECEEDING> + <FOLLOWING>) </FOLLOWING> + </PUBDATE> + <URL> + <PRECEEDING> </PRECEEDING> + </URL> + </PUBTYPE> + + </REFSTYLE> + + <!-- type-independent stuff --> + + <CITSTYLE INTEXTSEQUENCE="ASIS"> + <PRECEEDING>(</PRECEEDING> + <FOLLOWING>)</FOLLOWING> + <CITSEPARATOR>; </CITSEPARATOR> + <RANGESEPARATOR>-</RANGESEPARATOR> + <INTEXTDEF> + <REFNUMBER/> + </INTEXTDEF> + <AUTHORONLY> + <AUTHORLIST ROLE="PRIMARY"> + <ABBREVIATEFIRST MAXAUTHOR="256" DISPLAYAUTHOR="255">, et al</ABBREVIATEFIRST> + <ABBREVIATESUBSEQ MAXAUTHOR="256" DISPLAYAUTHOR="255">, et al</ABBREVIATESUBSEQ> + <AEMPTY>Anonymous</AEMPTY> + <AUTHORSEPS> + <TWOSEPS> and </TWOSEPS> + <THREESEPS> + <THREESEPSEACH>, </THREESEPSEACH> + <THREESEPSLAST>, and </THREESEPSLAST> + </THREESEPS> + </AUTHORSEPS> + <AUTHORNAMES> + <NAMEFIRST NAMEORDER="LAST" UPPERCASE="NONE"/> + <NAMEOTHER NAMEORDER="LAST" UPPERCASE="NONE"/> + </AUTHORNAMES> + </AUTHORLIST> + </AUTHORONLY> + <YEARONLY> + <REFNUMBER/> + </YEARONLY> + </CITSTYLE> + + <!-- bibliography formatting --> + + <BIBSTYLE BIBLIOSEQUENCE="BASIS" BIBLIOBLOCKINDENT="1cm"> + <BIBLIOTITLE>Reference List</BIBLIOTITLE> + <MONTHS> + <JAN FULL="January" ABBREV="Jan." THREELET="Jan"/> + <FEB FULL="February" ABBREV="Feb." THREELET="Feb"/> + <MAR FULL="March" ABBREV="Mar." THREELET="Mar"/> + <APR FULL="April" ABBREV="Apr." THREELET="Apr"/> + <MAY FULL="May" ABBREV="May" THREELET="May"/> + <JUN FULL="June" ABBREV="Jun." THREELET="Jun"/> + <JUL FULL="July" ABBREV="Jul." THREELET="Jul"/> + <AUG FULL="August" ABBREV="Aug." THREELET="Aug"/> + <SEP FULL="September" ABBREV="Sep." THREELET="Sep"/> + <OCT FULL="October" ABBREV="Oct." THREELET="Oct"/> + <NOV FULL="November" ABBREV="Nov." THREELET="Nov"/> + <DEC FULL="December" ABBREV="Dec." THREELET="Dec"/> + </MONTHS> + </BIBSTYLE> + </CITESTYLE> +</STYLESET> |
From: Markus H. <mho...@us...> - 2005-08-12 21:14:38
|
Update of /cvsroot/refdb/refdb/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7367 Modified Files: Tag: Release_0_9_5_stable risxhandler.c Log Message: clean up xuser entries when updating a risx reference Index: risxhandler.c =================================================================== RCS file: /cvsroot/refdb/refdb/src/risxhandler.c,v retrieving revision 1.28.2.10 retrieving revision 1.28.2.11 diff -u -U2 -r1.28.2.10 -r1.28.2.11 --- risxhandler.c 29 Jul 2005 21:15:43 -0000 1.28.2.10 +++ risxhandler.c 12 Aug 2005 21:14:30 -0000 1.28.2.11 @@ -334,4 +334,27 @@ /* else: all fine */ + /* search orphans in t_xuser */ + result = remove_xuser_entries(ptr_ardata->n_refdb_id, ptr_ardata->username, ptr_ardata->conn); + if (result != 0 && result != 4) { + if (result == 1) { + strcpy(sql_command, "select from t_xuser failed\n"); + } + else if (result == 3) { + strcpy(sql_command, "delete from t_xuser failed\n"); + } + + (ptr_ardata->ndb_error)++; + + if ((new_msgpool = mstrcat(ptr_ardata->msgpool, sql_command, &(ptr_ardata->msgpool_len), 0)) == NULL) { + (ptr_ardata->nmem_error)++; + return; + } + else { + ptr_ardata->msgpool = new_msgpool; + } + return; + } + /* else: all fine */ + /* search orphans in t_periodical */ sprintf(sql_command, "SELECT refdb_periodical_id FROM t_refdb WHERE refdb_id="ULLSPEC, (unsigned long long)(ptr_ardata->n_refdb_id)); |