refdb-cvs Mailing List for RefDB (Page 34)
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: <mho...@us...> - 2006-04-14 22:04:17
|
Revision: 12 Author: mhoenicka Date: 2006-04-14 15:04:00 -0700 (Fri, 14 Apr 2006) ViewCVS: http://svn.sourceforge.net/refdb/?rev=12&view=rev Log Message: ----------- initial import from CVS checkout Added Paths: ----------- publist/ publist/trunk/ publist/trunk/Makefile publist/trunk/README publist/trunk/doc/ publist/trunk/doc/Makefile publist/trunk/doc/publistmanual.xml publist/trunk/publist-style.xml publist/trunk/publist.xml This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mho...@us...> - 2006-04-14 20:52:59
|
Revision: 11 Author: mhoenicka Date: 2006-04-14 13:52:52 -0700 (Fri, 14 Apr 2006) ViewCVS: http://svn.sourceforge.net/refdb/?rev=11&view=rev Log Message: ----------- removed junk Removed Paths: ------------- tutorial/trunk/CVS/ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: Markus H. <mho...@us...> - 2006-04-14 19:45:13
|
Update of /cvsroot/refdb/homepage In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21638 Modified Files: Makefile Log Message: added couple of files Index: Makefile =================================================================== RCS file: /cvsroot/refdb/homepage/Makefile,v retrieving revision 1.4 retrieving revision 1.5 diff -u -U2 -r1.4 -r1.5 --- Makefile 8 May 2005 21:23:13 -0000 1.4 +++ Makefile 14 Apr 2006 19:45:05 -0000 1.5 @@ -2,5 +2,5 @@ # These files are to be installed -objects = doc.html download.html examples.html features.html index.html status.html sysreq.html addons.html getref.html refdb.css refdbn.css refdbprint.css bookback1.jpg books.jpg docbook-ay.pdf docbook-n.pdf logo.jpg tei-ay.pdf tei-n.pdf refdbinput.png refdbinput-small.png refdboutput.png refdboutput-small.png makestyle-small.jpg makestyle.png refdbmode-small.jpg refdbmode.png rismode-small.jpg rismode.png vim-small.jpg vim.png +objects = doc.html download.html examples.html features.html index.html status.html sysreq.html addons.html getref.html cli.html web.html emacs.html vim.html install.html refdb.css refdbn.css refdbprint.css bookback1.jpg books.jpg docbook-ay.pdf docbook-n.pdf logo.jpg tei-ay.pdf tei-n.pdf refdbinput.png refdbinput-small.png refdboutput.png refdboutput-small.png makestyle-small.jpg makestyle.png refdb-mode-getref1-small.jpg refdb-mode-getref1.png refdb-mode-getref-region.png refdb-mode-getref-region-tiny.jpg refdb-mode-cite.png refdb-mode-cite-tiny.jpg refdb-mode-selectdb1.png refdb-mode-selectdb1-tiny.jpg refdb-mode-admin1.png refdb-mode-admin1-tiny.jpg refdb-mode-convert.png refdb-mode-convert-tiny.jpg rismode-small.jpg rismode.png vim-small.jpg vim.png install: |
From: Markus H. <mho...@us...> - 2006-04-10 21:03:12
|
Update of /cvsroot/refdb/refdb/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15449 Modified Files: Tag: Release_0_9_5_stable backend-bibtex.c Log Message: turn RIS CHAP into bibtex INCOLLECTION rather than INBOOK; fix title and booktitle stuff for this type Index: backend-bibtex.c =================================================================== RCS file: /cvsroot/refdb/refdb/src/backend-bibtex.c,v retrieving revision 1.16.2.11 retrieving revision 1.16.2.12 diff -u -U2 -r1.16.2.11 -r1.16.2.12 --- backend-bibtex.c 9 Apr 2006 21:35:42 -0000 1.16.2.11 +++ backend-bibtex.c 10 Apr 2006 21:03:02 -0000 1.16.2.12 @@ -252,5 +252,5 @@ } else if (strcmp(type, "CHAP") == 0) { - strcat(*(ptr_rendinfo->ptr_ref), "@INBOOK{ "); + strcat(*(ptr_rendinfo->ptr_ref), "@INCOLLECTION{ "); } else if (strcmp(type, "THES") == 0) { @@ -429,14 +429,5 @@ item = get_refdb_title_copy(ptr_rendinfo->dbires); if (item != NULL) { - char titlestring[32]; - - if (!strcmp(type, "CHAP")) { - strcpy(titlestring, " CHAPTER = {"); - } - else { - strcpy(titlestring, " TITLE = {"); - } - - if ((new_ref = mstrcat(*(ptr_rendinfo->ptr_ref), titlestring, ptr_rendinfo->ptr_ref_len, 0)) == NULL) { + if ((new_ref = mstrcat(*(ptr_rendinfo->ptr_ref), " TITLE = {", ptr_rendinfo->ptr_ref_len, 0)) == NULL) { unload_style(); LOG_PRINT(LOG_CRIT, get_status_msg(801)); @@ -481,14 +472,5 @@ item = get_refdb_booktitle_copy(ptr_rendinfo->dbires); if (item != NULL) { - char titlestring[32]; - - if (!strcmp(type, "CHAP") - || !strcmp(type, "BOOK")) { - strcpy(titlestring, " TITLE = {"); - } - else { - strcpy(titlestring, " BOOKTITLE = {"); - } - if ((new_ref = mstrcat(*(ptr_rendinfo->ptr_ref), titlestring, ptr_rendinfo->ptr_ref_len, 0)) == NULL) { + if ((new_ref = mstrcat(*(ptr_rendinfo->ptr_ref), " BOOKTITLE = {", ptr_rendinfo->ptr_ref_len, 0)) == NULL) { unload_style(); LOG_PRINT(LOG_CRIT, get_status_msg(801)); |
From: Markus H. <mho...@us...> - 2006-04-09 21:35:46
|
Update of /cvsroot/refdb/refdb/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13303 Modified Files: Tag: Release_0_9_5_stable backend-bibtex.c Log Message: added URLs to the output; fixed INBOOK and BOOK title names Index: backend-bibtex.c =================================================================== RCS file: /cvsroot/refdb/refdb/src/backend-bibtex.c,v retrieving revision 1.16.2.10 retrieving revision 1.16.2.11 diff -u -U2 -r1.16.2.10 -r1.16.2.11 --- backend-bibtex.c 11 Jan 2006 21:01:04 -0000 1.16.2.10 +++ backend-bibtex.c 9 Apr 2006 21:35:42 -0000 1.16.2.11 @@ -46,4 +46,5 @@ /* forward declarations of local functions */ static char* bibtexify_author(char** ptr_bibauthor, char* author); +static char* print_field_bibtex(const char* item, struct renderinfo* ptr_rendinfo, const char* start_string); @@ -428,5 +429,14 @@ item = get_refdb_title_copy(ptr_rendinfo->dbires); if (item != NULL) { - if ((new_ref = mstrcat(*(ptr_rendinfo->ptr_ref), " TITLE = {", ptr_rendinfo->ptr_ref_len, 0)) == NULL) { + char titlestring[32]; + + if (!strcmp(type, "CHAP")) { + strcpy(titlestring, " CHAPTER = {"); + } + else { + strcpy(titlestring, " TITLE = {"); + } + + if ((new_ref = mstrcat(*(ptr_rendinfo->ptr_ref), titlestring, ptr_rendinfo->ptr_ref_len, 0)) == NULL) { unload_style(); LOG_PRINT(LOG_CRIT, get_status_msg(801)); @@ -471,5 +481,14 @@ item = get_refdb_booktitle_copy(ptr_rendinfo->dbires); if (item != NULL) { - if ((new_ref = mstrcat(*(ptr_rendinfo->ptr_ref), " BOOKTITLE = {", ptr_rendinfo->ptr_ref_len, 0)) == NULL) { + char titlestring[32]; + + if (!strcmp(type, "CHAP") + || !strcmp(type, "BOOK")) { + strcpy(titlestring, " TITLE = {"); + } + else { + strcpy(titlestring, " BOOKTITLE = {"); + } + if ((new_ref = mstrcat(*(ptr_rendinfo->ptr_ref), titlestring, ptr_rendinfo->ptr_ref_len, 0)) == NULL) { unload_style(); LOG_PRINT(LOG_CRIT, get_status_msg(801)); @@ -791,4 +810,51 @@ } + /*----------------------------------------------------------------*/ + /* URL, L1 through L4 */ + + /* loop over all link types */ + for (i=0; i<5;i++) { + dbires = request_ulinks(bibconns.conn, my_dbi_result_get_idval(ptr_rendinfo->dbires, "refdb_id"), 0 /* ref entry */, i /* link type */); + if (dbires == NULL) { + return 234; + } + + while ((item = get_ulink(dbires)) != NULL) { + /* currently all types are rendered as URL, but this might need a change later */ + if (i == 0) { /* UR */ + if (print_field_bibtex(item, ptr_rendinfo, " URL = { ") == NULL) { + clean_request(dbires); + return 801; + } + } + else if (i == 1) { /* L1 */ + if (print_field_bibtex(item, ptr_rendinfo, " URL = { ") == NULL) { + clean_request(dbires); + return 801; + } + } + else if (i == 2) { /* L2 */ + if (print_field_bibtex(item, ptr_rendinfo, " URL = { ") == NULL) { + clean_request(dbires); + return 801; + } + } + else if (i == 3) { /* L3 */ + if (print_field_bibtex(item, ptr_rendinfo, " URL = { ") == NULL) { + clean_request(dbires); + return 801; + } + } + else if (i == 4) { /* L4 */ + if (print_field_bibtex(item, ptr_rendinfo, " URL = { ") == NULL) { + clean_request(dbires); + return 801; + } + } + } + + clean_request(dbires); + } /* end for */ + /* eliminate the trailing comma and finish with an empty line */ if ((new_ref = mstrcat(*(ptr_rendinfo->ptr_ref), "\n}\n", ptr_rendinfo->ptr_ref_len, 2)) == NULL) { @@ -805,4 +871,51 @@ /*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + print_field_bibtex(): writes simple field contents to bibtex output + + char* print_field_bibtex returns a ptr to the modified string. Due to + reallocation this may be different from the + ptr passed to this function in the ptr_rendinfo + structure which is also updated accordingly + + const char* item ptr to the contents of the field to write + + struct renderinfo* ptr_rendinfo ptr to a structure with the info + how the reference should be rendered + + const char* start_string ptr to a string to be printed before the + field contents + + ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/ +static char* print_field_bibtex(const char* item, struct renderinfo* ptr_rendinfo, const char* start_string) { + char* new_ref; + + if (item != NULL) { + if ((new_ref = mstrcat(*(ptr_rendinfo->ptr_ref), (char*)start_string, ptr_rendinfo->ptr_ref_len, 0)) == NULL) { + LOG_PRINT(LOG_CRIT, get_status_msg(801)); + return NULL; + } + else { + *(ptr_rendinfo->ptr_ref) = new_ref; + } + if ((new_ref = mstrcat(*(ptr_rendinfo->ptr_ref), (char*)item, ptr_rendinfo->ptr_ref_len, 0)) == NULL) { + LOG_PRINT(LOG_CRIT, get_status_msg(801)); + return NULL; + } + else { + *(ptr_rendinfo->ptr_ref) = new_ref; + } + if ((new_ref = mstrcat(*(ptr_rendinfo->ptr_ref), "},\n", ptr_rendinfo->ptr_ref_len, 0)) == NULL) { + LOG_PRINT(LOG_CRIT, get_status_msg(801)); + return NULL; + } + else { + *(ptr_rendinfo->ptr_ref) = new_ref; + } + } + return *(ptr_rendinfo->ptr_ref); +} + + +/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ gettexbib(): executes client command gettexbib |
From: Markus H. <mho...@us...> - 2006-04-08 23:08:27
|
Update of /cvsroot/refdb/publist In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3680 Log Message: initial import Status: Vendor Tag: vendor Release Tags: start N publist/publist-style.xml N publist/README N publist/publist.xml N publist/Makefile N publist/doc/Makefile N publist/doc/publistmanual.xml No conflicts created by this import ***** Bogus filespec: - ***** Bogus filespec: Imported ***** Bogus filespec: sources |
From: Markus H. <mho...@us...> - 2006-04-08 21:30:26
|
Update of /cvsroot/refdb/refdb/scripts In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5692/scripts Modified Files: Tag: Release_0_9_5_stable refdbxml.in Log Message: run cygpath only for non-nil filenames Index: refdbxml.in =================================================================== RCS file: /cvsroot/refdb/refdb/scripts/refdbxml.in,v retrieving revision 1.12.2.6 retrieving revision 1.12.2.7 diff -u -U2 -r1.12.2.6 -r1.12.2.7 --- refdbxml.in 22 Jun 2005 20:18:52 -0000 1.12.2.6 +++ refdbxml.in 8 Apr 2006 21:30:21 -0000 1.12.2.7 @@ -266,10 +266,18 @@ # the variables $jfosheet and jhtmlsheet will receive the appropriate paths if [ $OSTYPE = "cygwin" ]; then - # get the full dos path of the classpath root - osclasspath_root=$(cygpath -w $classpath_root) - classpath="$osclasspath_root\avalon-framework.jar;$osclasspath_root\batik.jar;$osclasspath_root\fop.jar;$osclasspath_root\jfor.jar;$osclasspath_root\jimi-1.0.jar;$osclasspath_root\logkit.jar;$osclasspath_root\sax.jar;$osclasspath_root\xalan.jar;$osclasspath_root\xerces.jar;$osclasspath_root\xp.jar;$osclasspath_root\xt.jar" - jfosheet=$(cygpath -w $fosheet) - jhtmlsheet=$(cygpath -w $htmlsheet) - jxhtmlsheet=$(cygpath -w $xhtmlsheet) + if [ ! "X$classpath_root" = "X" ]; then + # get the full dos path of the classpath root + osclasspath_root=$(cygpath -w $classpath_root) + classpath="$osclasspath_root\avalon-framework.jar;$osclasspath_root\batik.jar;$osclasspath_root\fop.jar;$osclasspath_root\jfor.jar;$osclasspath_root\jimi-1.0.jar;$osclasspath_root\logkit.jar;$osclasspath_root\sax.jar;$osclasspath_root\xalan.jar;$osclasspath_root\xerces.jar;$osclasspath_root\xp.jar;$osclasspath_root\xt.jar" + fi + if [ ! "X$fosheet" = "X" ]; then + jfosheet=$(cygpath -w $fosheet) + fi + if [ ! "X$htmlsheet" = "X" ]; then + jhtmlsheet=$(cygpath -w $htmlsheet) + fi + if [ ! "X$xhtmlsheet" = "X" ]; then + jxhtmlsheet=$(cygpath -w $xhtmlsheet) + fi else classpath="$classpath_root/avalon-framework.jar:$classpath_root/batik.jar:$classpath_root/fop.jar:$classpath_root/jfor.jar:$classpath_root/jimi-1.0.jar:$classpath_root/logkit.jar:$classpath_root/sax.jar:$classpath_root/saxon.jar:$classpath_root/saxon-fop.jar:$classpath_root/saxon-jdom.jar:$classpath_root/xalan.jar:$classpath_root/xerces.jar:$classpath_root/xp.jar:$classpath_root/xt.jar" @@ -291,7 +299,7 @@ if [ $OSTYPE = "cygwin" ]; then # get the full dos path of the file - mypath=$(cygpath -w $filename) + mypath=$(cygpath -w $filename) else - mypath=$filename + mypath=$filename fi |
From: Markus H. <mho...@us...> - 2006-04-08 21:29:17
|
Update of /cvsroot/refdb/refdb/examples In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4561/examples Modified Files: Tag: Release_0_9_5_stable Makefile.template Log Message: fixed doctype vs. doctypeswitch typos;make all for db31x now produces only pdf and xhtml Index: Makefile.template =================================================================== RCS file: /cvsroot/refdb/refdb/examples/Makefile.template,v retrieving revision 1.8.2.4 retrieving revision 1.8.2.5 diff -u -U2 -r1.8.2.4 -r1.8.2.5 --- Makefile.template 26 Dec 2005 22:09:31 -0000 1.8.2.4 +++ Makefile.template 8 Apr 2006 21:28:59 -0000 1.8.2.5 @@ -44,11 +44,11 @@ transformscript = <transformscript> -ifeq ($(doctype),db31x) -all: pdf rtf html xhtml +ifeq ($(doctypeswitch),db31x) +all: pdf xhtml else all: ps pdf rtf html-dsssl endif -ifeq ($(doctype),db31x) +ifeq ($(doctypeswitch),db31x) dist: pdfdist rtfdist htmldist xhtmldist else @@ -56,5 +56,5 @@ endif -ifeq ($(doctype),db31x) +ifeq ($(doctypeswitch),db31x) rtfarg = "-f jfor" else |
From: Markus H. <mho...@us...> - 2006-04-05 20:20:40
|
Update of /cvsroot/refdb/refdb In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2523 Modified Files: Tag: Release_0_9_5_stable configure.in Log Message: bumped up version number Index: configure.in =================================================================== RCS file: /cvsroot/refdb/refdb/configure.in,v retrieving revision 1.49.2.31 retrieving revision 1.49.2.32 diff -u -U2 -r1.49.2.31 -r1.49.2.32 --- configure.in 13 Feb 2006 21:31:48 -0000 1.49.2.31 +++ configure.in 5 Apr 2006 20:20:29 -0000 1.49.2.32 @@ -10,5 +10,5 @@ dnl Use automake -AM_INIT_AUTOMAKE(refdb, 0.9.7-pre4) +AM_INIT_AUTOMAKE(refdb, 0.9.7-pre5) dnl switch on GNU extensions |
From: Markus H. <mho...@us...> - 2006-04-05 20:19:33
|
Update of /cvsroot/refdb/refdb/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1588/src Modified Files: Tag: Release_0_9_5_stable xmlout.c Log Message: iwrite_element(): don't drop element if the contents are empty Index: xmlout.c =================================================================== RCS file: /cvsroot/refdb/refdb/src/xmlout.c,v retrieving revision 1.6.2.7 retrieving revision 1.6.2.8 diff -u -U2 -r1.6.2.7 -r1.6.2.8 --- xmlout.c 26 Mar 2006 00:45:26 -0000 1.6.2.7 +++ xmlout.c 5 Apr 2006 20:19:26 -0000 1.6.2.8 @@ -169,5 +169,5 @@ char* entitize_buf; - if (!elvalue || !*elvalue || !elname || !*elname) { + if (!elvalue || !elname || !*elname) { /* nothing to do */ return 0; |
From: Markus H. <mho...@us...> - 2006-04-05 20:17:34
|
Update of /cvsroot/refdb/refdb/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32315/src Modified Files: Tag: Release_0_9_5_stable backend-dbib.c Log Message: leave out bibliography title if the database specifies an empty string instead of inventing some default Index: backend-dbib.c =================================================================== RCS file: /cvsroot/refdb/refdb/src/backend-dbib.c,v retrieving revision 1.28.2.13 retrieving revision 1.28.2.14 diff -u -U2 -r1.28.2.13 -r1.28.2.14 --- backend-dbib.c 17 Dec 2005 01:09:21 -0000 1.28.2.13 +++ backend-dbib.c 5 Apr 2006 20:17:24 -0000 1.28.2.14 @@ -137,13 +137,13 @@ } } - else if (!item) { /* assume some default */ + else if (!item) { /* leave out title as none was specified */ if (n_ref_format == REFDOCBK) { - strcpy(ref, "<!-- <!DOCTYPE bibliography PUBLIC \"-//OASIS//DTD DocBook V3.1//EN\"> -->\n<bibliography role=\"refdb\">\n<title>Bibliography</title>\n"); + strcpy(ref, "<!-- <!DOCTYPE bibliography PUBLIC \"-//OASIS//DTD DocBook V3.1//EN\"> -->\n<bibliography role=\"refdb\">\n"); } else if (n_ref_format == REFDOCBKX) { - sprintf(ref, "<!-- <?xml version=\"1.0\" encoding=\"%s\"?>\n<!DOCTYPE bibliography PUBLIC \"-//OASIS//DTD DocBook XML V4.1.2//EN\" \"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd\"> -->\n<bibliography role=\"refdb\">\n<title>Bibliography</title>\n", db_encoding); + sprintf(ref, "<!-- <?xml version=\"1.0\" encoding=\"%s\"?>\n<!DOCTYPE bibliography PUBLIC \"-//OASIS//DTD DocBook XML V4.1.2//EN\" \"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd\"> -->\n<bibliography role=\"refdb\">\n", db_encoding); } else if (n_ref_format == REFTEIX) { - sprintf(ref, "<?xml version=\"1.0\" encoding=\"%s\"?>\n<!DOCTYPE bibliography PUBLIC \"-//OASIS//DTD DocBook XML V4.1.2//EN\" \"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd\">\n<bibliography role=\"refdb\">\n<title>Bibliography</title>\n", db_encoding); + sprintf(ref, "<?xml version=\"1.0\" encoding=\"%s\"?>\n<!DOCTYPE bibliography PUBLIC \"-//OASIS//DTD DocBook XML V4.1.2//EN\" \"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd\">\n<bibliography role=\"refdb\">\n", db_encoding); } } |
From: Markus H. <mho...@us...> - 2006-04-05 20:11:41
|
Update of /cvsroot/refdb/refdb/doc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28086/doc Modified Files: Tag: Release_0_9_5_stable chapter-data-input.xml Log Message: Reference Manaager uses ANSI, not Latin-1 Index: chapter-data-input.xml =================================================================== RCS file: /cvsroot/refdb/refdb/doc/Attic/chapter-data-input.xml,v retrieving revision 1.1.2.1 retrieving revision 1.1.2.2 diff -u -U2 -r1.1.2.1 -r1.1.2.2 --- chapter-data-input.xml 8 Jan 2006 21:53:40 -0000 1.1.2.1 +++ chapter-data-input.xml 5 Apr 2006 20:11:28 -0000 1.1.2.2 @@ -62,5 +62,5 @@ <sect2> <title>Character encodings</title> - <para>The RIS specification has not built-in means to specify the character encoding of the data. Commercial applications apparently expect the data to be encoded as ISO-8859-1, aka Latin-1. refdb does not have this limitation, you are free to use any encoding available on your platform (except UTF-16 and UTF-32). However, you should be aware that this may cause an interchange issue if you plan to use these data in a commercial reference management program. In any case, as the datasets do not specify their encoding, you have to use <option>-E</option> option of the <link linkend="app-c-command-getref">getref</link> command if your input data use an encoding different from the default (ISO-8859-1).</para> + <para>The RIS specification has no built-in means to specify the character encoding of the data. Commercial applications usually expect the data to be supplied in a particular encoding (e.g. Reference Manager uses the Windows ANSI character set). refdb does not have this limitation, you are free to use any encoding available on your platform (except UTF-16 and UTF-32). However, you should be aware that this may cause an interchange issue if you plan to use these data in a commercial reference management program. In any case, as the datasets do not specify their encoding, you have to use <option>-E</option> option of the <link linkend="app-c-command-getref">getref</link> command if your input data use an encoding different from the default (ISO-8859-1).</para> </sect2> <sect2> |
From: Markus H. <mho...@us...> - 2006-04-05 20:10:05
|
Update of /cvsroot/refdb/refdb In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26833 Modified Files: Tag: Release_0_9_5_stable INSTALL Log Message: require libdbi/libdbi-drivers 0.8.1 Index: INSTALL =================================================================== RCS file: /cvsroot/refdb/refdb/INSTALL,v retrieving revision 1.8 retrieving revision 1.8.2.1 diff -u -U2 -r1.8 -r1.8.2.1 --- INSTALL 31 Dec 2003 00:27:26 -0000 1.8 +++ INSTALL 5 Apr 2006 20:09:54 -0000 1.8.2.1 @@ -14,6 +14,6 @@ The following libraries have to be installed: -- libdbi (0.7.0 or newer, earlier versions do *NOT* work) -- libdbi-drivers (0.7.0 or newer, earlier versions do *NOT* work) +- libdbi (0.8.1 or newer, earlier versions do *NOT* work) +- libdbi-drivers (0.8.1 or newer, earlier versions do *NOT* work) - libreadline - expat |
From: Markus H. <mho...@us...> - 2006-03-27 20:10:43
|
Update of /cvsroot/refdb/refdb/xsl/refdb/docbk-refdb-xsl/docbk-html In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17240/docbk-refdb-xsl/docbk-html Modified Files: Tag: Release_0_9_5_stable docbk-refdb-html.xsl.in Log Message: intext citation style fixes Index: docbk-refdb-html.xsl.in =================================================================== RCS file: /cvsroot/refdb/refdb/xsl/refdb/docbk-refdb-xsl/docbk-html/docbk-refdb-html.xsl.in,v retrieving revision 1.11.2.2 retrieving revision 1.11.2.3 diff -u -U2 -r1.11.2.2 -r1.11.2.3 --- docbk-refdb-html.xsl.in 17 Oct 2004 00:35:47 -0000 1.11.2.2 +++ docbk-refdb-html.xsl.in 27 Mar 2006 20:10:35 -0000 1.11.2.3 @@ -369,5 +369,5 @@ <a href='#{$multitarget}'> <xsl:call-template name="refdb-literal"> - <xsl:with-param name="style" select="$REFNUMBERSTYLE"/> + <xsl:with-param name="style" select="$INTEXTREFNUMBERSTYLE"/> <xsl:with-param name="string"> <xsl:value-of select="id(@endterm)"/> @@ -385,5 +385,5 @@ </xsl:when> <xsl:when test="$ptrtype='intextsq'"> - <xsl:apply-templates mode="INTEXTSQ" select="id(@linkend)"/> + <xsl:apply-templates mode="INTEXT" select="id(@linkend)"/> </xsl:when> <xsl:when test="$ptrtype='authoronly'"> @@ -391,5 +391,5 @@ </xsl:when> <xsl:when test="$ptrtype='authoronlysq'"> - <xsl:apply-templates mode="AUTHORONLYSQ" select="id(@linkend)"/> + <xsl:apply-templates mode="AUTHORONLY" select="id(@linkend)"/> </xsl:when> <xsl:when test="$ptrtype='yearonly'"> |
From: Markus H. <mho...@us...> - 2006-03-27 20:10:43
|
Update of /cvsroot/refdb/refdb/xsl/refdb/docbk-refdb-xsl/docbk-fo In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17240/docbk-refdb-xsl/docbk-fo Modified Files: Tag: Release_0_9_5_stable docbk-refdb-fo.xsl.in Log Message: intext citation style fixes Index: docbk-refdb-fo.xsl.in =================================================================== RCS file: /cvsroot/refdb/refdb/xsl/refdb/docbk-refdb-xsl/docbk-fo/docbk-refdb-fo.xsl.in,v retrieving revision 1.9.2.3 retrieving revision 1.9.2.4 diff -u -U2 -r1.9.2.3 -r1.9.2.4 --- docbk-refdb-fo.xsl.in 27 Nov 2004 23:20:08 -0000 1.9.2.3 +++ docbk-refdb-fo.xsl.in 27 Mar 2006 20:10:35 -0000 1.9.2.4 @@ -314,5 +314,5 @@ <fo:basic-link internal-destination='{$multitarget}'> <xsl:call-template name="refdb-literal"> - <xsl:with-param name="style" select="$REFNUMBERSTYLE"/> + <xsl:with-param name="style" select="$INTEXTREFNUMBERSTYLE"/> <xsl:with-param name="string"> <xsl:value-of select="id(@endterm)"/> @@ -330,5 +330,5 @@ </xsl:when> <xsl:when test="$ptrtype='intextsq'"> - <xsl:apply-templates mode="INTEXTSQ" select="id(@linkend)"/> + <xsl:apply-templates mode="INTEXT" select="id(@linkend)"/> </xsl:when> <xsl:when test="$ptrtype='authoronly'"> @@ -336,5 +336,5 @@ </xsl:when> <xsl:when test="$ptrtype='authoronlysq'"> - <xsl:apply-templates mode="AUTHORONLYSQ" select="id(@linkend)"/> + <xsl:apply-templates mode="AUTHORONLY" select="id(@linkend)"/> </xsl:when> <xsl:when test="$ptrtype='yearonly'"> |
From: Markus H. <mho...@us...> - 2006-03-27 20:10:43
|
Update of /cvsroot/refdb/refdb/xsl/refdb/docbk-refdb-xsl/docbk-xhtml In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17240/docbk-refdb-xsl/docbk-xhtml Modified Files: Tag: Release_0_9_5_stable docbk-refdb-xhtml.xsl.in Log Message: intext citation style fixes Index: docbk-refdb-xhtml.xsl.in =================================================================== RCS file: /cvsroot/refdb/refdb/xsl/refdb/docbk-refdb-xsl/docbk-xhtml/docbk-refdb-xhtml.xsl.in,v retrieving revision 1.8.2.2 retrieving revision 1.8.2.3 diff -u -U2 -r1.8.2.2 -r1.8.2.3 --- docbk-refdb-xhtml.xsl.in 17 Oct 2004 00:35:47 -0000 1.8.2.2 +++ docbk-refdb-xhtml.xsl.in 27 Mar 2006 20:10:35 -0000 1.8.2.3 @@ -380,5 +380,5 @@ <a href='#{$multitarget}'> <xsl:call-template name="refdb-literal"> - <xsl:with-param name="style" select="$REFNUMBERSTYLE"/> + <xsl:with-param name="style" select="$INTEXTREFNUMBERSTYLE"/> <xsl:with-param name="string"> <xsl:value-of select="id(@endterm)"/> @@ -396,5 +396,5 @@ </xsl:when> <xsl:when test="$ptrtype='intextsq'"> - <xsl:apply-templates mode="INTEXTSQ" select="id(@linkend)"/> + <xsl:apply-templates mode="INTEXT" select="id(@linkend)"/> </xsl:when> <xsl:when test="$ptrtype='authoronly'"> @@ -402,5 +402,5 @@ </xsl:when> <xsl:when test="$ptrtype='authoronlysq'"> - <xsl:apply-templates mode="AUTHORONLYSQ" select="id(@linkend)"/> + <xsl:apply-templates mode="AUTHORONLY" select="id(@linkend)"/> </xsl:when> <xsl:when test="$ptrtype='yearonly'"> |
From: Markus H. <mho...@us...> - 2006-03-26 00:45:30
|
Update of /cvsroot/refdb/refdb/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12344/src Modified Files: Tag: Release_0_9_5_stable xmlout.c Log Message: fixed preceeding/following export of journalname Index: xmlout.c =================================================================== RCS file: /cvsroot/refdb/refdb/src/xmlout.c,v retrieving revision 1.6.2.6 retrieving revision 1.6.2.7 diff -u -U2 -r1.6.2.6 -r1.6.2.7 --- xmlout.c 3 Nov 2005 20:40:19 -0000 1.6.2.6 +++ xmlout.c 26 Mar 2006 00:45:26 -0000 1.6.2.7 @@ -889,8 +889,8 @@ /* preceeding */ - iwrite_element(ptr_clrequest, "PRECEEDING", NULL, my_dbi_result_get_string(dbires_ref, "PUBLISHERPRECEEDING")); + iwrite_element(ptr_clrequest, "PRECEEDING", NULL, my_dbi_result_get_string(dbires_ref, "JOURNALNAMEPRECEEDING")); /* following */ - iwrite_element(ptr_clrequest, "FOLLOWING", NULL, my_dbi_result_get_string(dbires_ref, "PUBLISHERFOLLOWING")); + iwrite_element(ptr_clrequest, "FOLLOWING", NULL, my_dbi_result_get_string(dbires_ref, "JOURNALNAMEFOLLOWING")); iwrite_elend(ptr_clrequest, "JOURNALNAME"); |
From: Markus H. <mho...@us...> - 2006-03-26 00:44:35
|
Update of /cvsroot/refdb/refdb/dtd In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11725/dtd Modified Files: Tag: Release_0_9_5_stable citationlistx.dtd Log Message: fixed example invocation Index: citationlistx.dtd =================================================================== RCS file: /cvsroot/refdb/refdb/dtd/citationlistx.dtd,v retrieving revision 1.4 retrieving revision 1.4.2.1 diff -u -U2 -r1.4 -r1.4.2.1 --- citationlistx.dtd 4 Dec 2003 00:30:43 -0000 1.4 +++ citationlistx.dtd 26 Mar 2006 00:44:31 -0000 1.4.2.1 @@ -4,5 +4,5 @@ <!-- Invoke with the following declaration --> -<!-- <!DOCTYPE CITATIONLIST PUBLIC "-//Markus Hoenicka//DTD CitationList V1.0//EN" "http://refdb.sourceforge.net/dtd/citationlistx.dtd"> --> +<!-- <!DOCTYPE CITATIONLIST PUBLIC "-//Markus Hoenicka//DTD CitationList V1.0//EN" "http://refdb.sourceforge.net/dtd/citationlistx-1.0/citationlistx.dtd"> --> <!ELEMENT CITATIONLIST (CITATION)+> |
From: Markus H. <mho...@us...> - 2006-03-26 00:43:34
|
Update of /cvsroot/refdb/refdb/dsssl/refdb/print In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11008/dsssl/refdb/print Modified Files: Tag: Release_0_9_5_stable docbook-refdb.dsl Log Message: fixed intext formatting Index: docbook-refdb.dsl =================================================================== RCS file: /cvsroot/refdb/refdb/dsssl/refdb/print/docbook-refdb.dsl,v retrieving revision 1.5.2.5 retrieving revision 1.5.2.6 diff -u -U2 -r1.5.2.5 -r1.5.2.6 --- docbook-refdb.dsl 19 Dec 2005 18:07:39 -0000 1.5.2.5 +++ docbook-refdb.dsl 26 Mar 2006 00:43:29 -0000 1.5.2.6 @@ -724,11 +724,11 @@ (make link destination: (node-list-address target) -; (process-element-with-id endterm))) - (process-node-list (children (element-with-id endterm))))) + (process-element-with-id endterm))) +; (process-node-list (children (element-with-id endterm))))) (if xreflabel (make link destination: (node-list-address target) -; (process-element-with-id xreflabel)) - (process-node-list (children (element-with-id xreflabel)))) + (process-element-with-id xreflabel)) +; (process-node-list (children (element-with-id xreflabel)))) (empty-sosofo)))))) |
From: Markus H. <mho...@us...> - 2006-03-26 00:41:31
|
Update of /cvsroot/refdb/refdb/dsssl/refdb/lib In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9749/dsssl/refdb/lib Modified Files: Tag: Release_0_9_5_stable refdblib.dsl Log Message: fixed intext formatting Index: refdblib.dsl =================================================================== RCS file: /cvsroot/refdb/refdb/dsssl/refdb/lib/refdblib.dsl,v retrieving revision 1.3 retrieving revision 1.3.4.1 diff -u -U2 -r1.3 -r1.3.4.1 --- refdblib.dsl 15 Dec 2001 06:02:34 -0000 1.3 +++ refdblib.dsl 26 Mar 2006 00:41:24 -0000 1.3.4.1 @@ -73,11 +73,16 @@ ;; /EXAMPLE ;; /REFENTRY - (let* ((intextrole (normalize (inherited-attribute-string (normalize "role")))) + (let* ((intextrole (normalize (inherited-attribute-string (normalize "role") (ancestor (normalize "bibliomset") (current-node))))) (reftype (normalize (attribute-string (normalize "role") (ancestor (normalize "bibliomixed"))))) - (var (if (equal? intextrole (normalize "bibliography")) - (string-append reftype token) - (string-append intextrole token)))) + (var (cond ((equal? intextrole (normalize "multixref")) + (string-append "INTEXT" token)) + ((equal? intextrole (normalize "bibliography")) + (string-append reftype token)) + (else + (if (equal? intextrole (normalize "intextsq")) + (string-append "INTEXT" token) + (string-append intextrole token)))))) (refdb-symbol-value var))) |
From: Markus H. <mho...@us...> - 2006-03-13 23:25:42
|
Update of /cvsroot/refdb/refdb/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31620 Modified Files: Tag: Release_0_9_5_stable backend-dbiba.c Log Message: format_journalname(): fixed possible segfault Index: backend-dbiba.c =================================================================== RCS file: /cvsroot/refdb/refdb/src/backend-dbiba.c,v retrieving revision 1.26.2.21 retrieving revision 1.26.2.22 diff -u -U2 -r1.26.2.21 -r1.26.2.22 --- backend-dbiba.c 2 Feb 2006 22:38:31 -0000 1.26.2.21 +++ backend-dbiba.c 13 Mar 2006 23:25:35 -0000 1.26.2.22 @@ -2176,5 +2176,5 @@ /* do some formatting */ - mod_periodical = malloc(strlen(periodical)+2); /* extra spaces */ + mod_periodical = malloc(strlen(periodical)*2); /* extra spaces */ if (!mod_periodical) { LOG_PRINT(LOG_WARNING, get_status_msg(801)); |
From: Markus H. <mho...@us...> - 2006-02-22 21:02:55
|
Update of /cvsroot/refdb/refdb/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1095 Modified Files: Tag: Release_0_9_5_stable xmlhandler.c Log Message: escape periodical title Index: xmlhandler.c =================================================================== RCS file: /cvsroot/refdb/refdb/src/xmlhandler.c,v retrieving revision 1.22.2.24 retrieving revision 1.22.2.25 diff -u -U2 -r1.22.2.24 -r1.22.2.25 --- xmlhandler.c 8 Feb 2006 20:46:54 -0000 1.22.2.24 +++ xmlhandler.c 22 Feb 2006 21:02:45 -0000 1.22.2.25 @@ -1355,4 +1355,5 @@ char* my_xaempty = NULL; char *my_refdb_title = NULL; + char* escape_buffer; char titlespec[16]; char periodical[256] = ""; @@ -1777,11 +1778,11 @@ /* journal */ - sprintf(sql_command, "UPDATE %s SET periodical=\'", ptr_gbdata->ptr_table_name); + sprintf(sql_command, "UPDATE %s SET periodical=", ptr_gbdata->ptr_table_name); if (!strcmp(my_dbi_conn_get_cap(ptr_gbdata->conn, "multiple_db"), "t")) { - item = get_periodical(ptr_gbdata->conn, periodical, database, 3, &errcode, real_orig_id); + item = get_periodical(ptr_gbdata->conn, periodical, database, 4, &errcode, real_orig_id); } else { - item = get_periodical(conn_source, periodical, NULL, 3, &errcode, real_orig_id); + item = get_periodical(conn_source, periodical, NULL, 4, &errcode, real_orig_id); } @@ -1792,8 +1793,24 @@ else if (!errcode) { if (*periodical) { +/* printf("periodical went to:%s<<\n", periodical); */ /* string is short enough, don't need mstrcat here */ - strcat(sql_command, periodical); + escape_buffer = strdup(item); + + if (!escape_buffer) { + LOG_PRINT(LOG_WARNING, "malloc failed"); + (*(ptr_gbdata->ptr_nmem_error))++; + } + + /* escape any characters that the database server cannot digest */ + if (dbi_conn_quote_string(ptr_gbdata->conn, &escape_buffer) == 0) { + LOG_PRINT(LOG_WARNING, "out of memory"); + (*(ptr_gbdata->ptr_nmem_error))++; + } + +/* printf("escape_buffer went to:%s<<\n", escape_buffer); */ + strcat(sql_command, escape_buffer); + free(escape_buffer); } - strcat(sql_command, "\' WHERE id="); + strcat(sql_command, " WHERE id="); /* buffer still has temp_id*/ strcat(sql_command, buffer); |
From: Markus H. <mho...@us...> - 2006-02-22 21:00:38
|
Update of /cvsroot/refdb/refdb/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32102 Modified Files: Tag: Release_0_9_5_stable refdbdbib.c Log Message: run character encoding conversion on multiple citation output Index: refdbdbib.c =================================================================== RCS file: /cvsroot/refdb/refdb/src/refdbdbib.c,v retrieving revision 1.36.2.35 retrieving revision 1.36.2.36 diff -u -U2 -r1.36.2.35 -r1.36.2.36 --- refdbdbib.c 13 Feb 2006 21:30:36 -0000 1.36.2.35 +++ refdbdbib.c 22 Feb 2006 21:00:31 -0000 1.36.2.36 @@ -971,6 +971,77 @@ } + /* run a character encoding conversion if required */ + if (conv_descriptor && *outbuffer) { + size_t inlength; + size_t outlength; + size_t orig_outlength; + char* my_outbuffer = NULL; /* this ptr will be modified by iconv() */ + char* my_outbuffer_start = NULL; /* records initial state of outbuffer */ + const char* my_instring = NULL; /* this ptr will be modified by iconv() */ + inlength = strlen(outbuffer); + /* with the encodings supported by our database engines, the converted + string can't be longer than six times the input string */ + outlength = 6*inlength; + orig_outlength = outlength; + + if ((my_outbuffer = malloc(outlength)) == NULL) { + send_status(ptr_clrequest->fd, 801, TERM_NO); + append_return_msg(ptr_addresult, 801, id_string, bibconns.conn); + ptr_addresult->failure++; + dbi_result_free(dbires1); + dbi_result_free(dbires); + retval = 1; + goto Finish; + } + + /* keep start of the converted string */ + my_outbuffer_start = my_outbuffer; + + /* variable will be modified by iconv, so don't use original */ + my_instring = (const char*)outbuffer; + + /* now actually do the conversion */ + if (iconv(conv_descriptor, &my_instring, &inlength, &my_outbuffer, &outlength) == (size_t)(-1)) { + if (errno == EILSEQ) { + LOG_PRINT(LOG_WARNING, "iconv: invalid input character sequence"); + } + else if (errno == E2BIG) { + LOG_PRINT(LOG_WARNING, "iconv: output buffer too small"); + } + else if (errno == EINVAL) { + LOG_PRINT(LOG_WARNING, "iconv: incomplete input character"); + } + + send_status(ptr_clrequest->fd, 702, TERM_NO); + append_return_msg(ptr_addresult, 702, id_string, bibconns.conn); + ptr_addresult->failure++; + dbi_result_free(dbires1); + goto Finish; + } + /* else: conversion went ok. We free the original string and replace + it with the converted copy */ + if (outbuffer) { + free(outbuffer); + } + outbuffer = my_outbuffer_start; + outbuffer_len = orig_outlength; + result_len = (size_t)(my_outbuffer - my_outbuffer_start); + } + /* else: no conversion required */ + else { + result_len = strlen(outbuffer); + } + + + + /* send ok status, then the terminated result string */ send_status(ptr_clrequest->fd, 402, TERM_NO); - n_writeresult = tiwrite(ptr_clrequest->fd, outbuffer, TERM_YES); + iwrite(ptr_clrequest->fd, outbuffer, result_len); + n_writeresult = iwrite(ptr_clrequest->fd, cs_term, TERM_LEN); + + + +/* send_status(ptr_clrequest->fd, 402, TERM_NO); */ +/* n_writeresult = tiwrite(ptr_clrequest->fd, outbuffer, TERM_YES); */ /* todo: test */ /* printf("client sleeps for 5sec\n"); */ @@ -980,4 +1051,5 @@ /* todo: switch on after debugging */ + /* remove the temporary table */ sprintf(sql_command, "DROP TABLE %s", table_name); |
From: Markus H. <mho...@us...> - 2006-02-22 20:58:44
|
Update of /cvsroot/refdb/refdb/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31457 Modified Files: Tag: Release_0_9_5_stable refdbd.h.in Log Message: added CITATIONLISTX_PUBID Index: refdbd.h.in =================================================================== RCS file: /cvsroot/refdb/refdb/src/refdbd.h.in,v retrieving revision 1.7.2.14 retrieving revision 1.7.2.15 diff -u -U2 -r1.7.2.14 -r1.7.2.15 --- refdbd.h.in 28 Dec 2005 01:25:53 -0000 1.7.2.14 +++ refdbd.h.in 22 Feb 2006 20:58:39 -0000 1.7.2.15 @@ -92,4 +92,7 @@ #define XNOTE_PUBID "<!DOCTYPE xnoteset PUBLIC \"-//Markus Hoenicka//DTD Xnote V<xnoteversion>//EN\" \"http://refdb.sourceforge.net/dtd/xnote-<xnoteversion>/xnote.dtd\" [\n<!ENTITY lt \"&#60;\">\n<!ENTITY gt \">\">\n<!ENTITY amp \"&#38;\">\n<!ENTITY mdash \"—\">\n<!ENTITY lsquo \"‘\">\n<!ENTITY rsquo \"’\">\n]>\n" +/* the citationlistx dtd */ +#define CITATIONLISTX_PUBID "<!DOCTYPE CITATIONLIST PUBLIC \"-//Markus Hoenicka//DTD CitationList V<citationlistxversion>//EN\" \"http://refdb.sourceforge.net/dtd/citationlistx-<citationlistxversion>/citationlistx.dtd\">\n" + /* the following defines are for daemonize & friends */ #define ROOT_DIR "/" |
From: Markus H. <mho...@us...> - 2006-02-22 20:58:11
|
Update of /cvsroot/refdb/refdb/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30975 Modified Files: Tag: Release_0_9_5_stable refdbd.c writeris.c Log Message: added REFCITATIONLISTX Index: refdbd.c =================================================================== RCS file: /cvsroot/refdb/refdb/src/refdbd.c,v retrieving revision 1.74.2.21 retrieving revision 1.74.2.22 diff -u -U2 -r1.74.2.21 -r1.74.2.22 --- refdbd.c 8 Nov 2005 21:39:50 -0000 1.74.2.21 +++ refdbd.c 22 Feb 2006 20:58:05 -0000 1.74.2.22 @@ -1121,4 +1121,7 @@ ref_format = XNOTE; } + else if (strcmp(optarg, "citlist") == 0) { + ref_format = REFCITATIONLISTX; + } else { /* default is screen */ ref_format = REFSCREEN; Index: writeris.c =================================================================== RCS file: /cvsroot/refdb/refdb/src/writeris.c,v retrieving revision 1.12.2.1 retrieving revision 1.12.2.2 diff -u -U2 -r1.12.2.1 -r1.12.2.2 --- writeris.c 15 Apr 2005 22:45:11 -0000 1.12.2.1 +++ writeris.c 22 Feb 2006 20:58:06 -0000 1.12.2.2 @@ -41,4 +41,5 @@ #include "backend-html.h" #include "backend-dbib.h" +#include "backend-citationlistx.h" /*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ @@ -75,4 +76,7 @@ retval = render_html(ptr_rendinfo); } + else if (ptr_rendinfo->ref_format == REFCITATIONLISTX) { /* citationlistx */ + retval = render_citationlistx(ptr_rendinfo); + } else { /* screen output; make this default, just in case */ retval = render_scrn(ptr_rendinfo); @@ -114,4 +118,7 @@ retval = prepare_render_html(ptr_rendinfo); } + else if (ptr_rendinfo->ref_format == REFCITATIONLISTX) { /* citationlistx */ + retval = prepare_render_citationlistx(ptr_rendinfo); + } else { /* default */ retval = prepare_render_scrn(ptr_rendinfo); @@ -154,4 +161,7 @@ retval = finish_render_html(ptr_rendinfo); } + else if (ptr_rendinfo->ref_format == REFCITATIONLISTX) { /* citationlistx */ + retval = finish_render_citationlistx(ptr_rendinfo); + } else if (ptr_rendinfo->ref_format != 5) { /* default */ retval = finish_render_scrn(ptr_rendinfo); |