cpri-develop Mailing List for CPRI - a C printer lib
Brought to you by:
chrisan,
rasmusmyklebust
You can subscribe to this list here.
| 2003 |
Jan
|
Feb
|
Mar
|
Apr
(10) |
May
(5) |
Jun
(2) |
Jul
|
Aug
|
Sep
|
Oct
(2) |
Nov
(5) |
Dec
(35) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2004 |
Jan
(1) |
Feb
(37) |
Mar
|
Apr
|
May
(5) |
Jun
(9) |
Jul
|
Aug
(2) |
Sep
|
Oct
|
Nov
(5) |
Dec
|
| 2005 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(3) |
Oct
(4) |
Nov
|
Dec
|
| 2006 |
Jan
(9) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2009 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(9) |
Oct
|
Nov
(1) |
Dec
|
| 2010 |
Jan
|
Feb
(3) |
Mar
|
Apr
|
May
(3) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: SourceForge.net <no...@so...> - 2010-05-16 18:15:07
|
Bugs item #3002469, was opened at 2010-05-16 20:14 Message generated for change (Settings changed) made by rasmusmyklebust You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=541024&aid=3002469&group_id=74455 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Platform independent Group: None >Status: Closed >Resolution: Fixed Priority: 5 Private: No Submitted By: Rasmus Myklebust (rasmusmyklebust) Assigned to: Rasmus Myklebust (rasmusmyklebust) Summary: spo files not deleted Initial Comment: spo files are not deleted. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=541024&aid=3002469&group_id=74455 |
|
From: Rasmus M. <ras...@us...> - 2010-05-16 18:15:02
|
Update of /cvsroot/cpri/cpri/src In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv26570 Modified Files: spooler.c Log Message: Fixed bug #3002469 Index: spooler.c =================================================================== RCS file: /cvsroot/cpri/cpri/src/spooler.c,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** spooler.c 21 Jan 2006 15:11:48 -0000 1.10 --- spooler.c 16 May 2010 18:14:51 -0000 1.11 *************** *** 136,140 **** q->sf = NULL; q->files--; ! remove(q->el->sfn); } if (el->buffer) --- 136,142 ---- q->sf = NULL; q->files--; ! s = MakeSpoolFilePath(el->sfn); ! remove(s); ! Release(s); } if (el->buffer) |
|
From: SourceForge.net <no...@so...> - 2010-05-16 18:14:06
|
Bugs item #3002469, was opened at 2010-05-16 20:14 Message generated for change (Tracker Item Submitted) made by rasmusmyklebust You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=541024&aid=3002469&group_id=74455 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Platform independent Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Rasmus Myklebust (rasmusmyklebust) Assigned to: Rasmus Myklebust (rasmusmyklebust) Summary: spo files not deleted Initial Comment: spo files are not deleted. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=541024&aid=3002469&group_id=74455 |
|
From: Rasmus M. <ras...@us...> - 2010-02-20 17:16:46
|
Update of /cvsroot/cpri/cpri/src In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv19666 Modified Files: drv_stdwin.c Log Message: Fixed bug #2955653 Index: drv_stdwin.c =================================================================== RCS file: /cvsroot/cpri/cpri/src/drv_stdwin.c,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** drv_stdwin.c 9 Dec 2003 21:42:02 -0000 1.18 --- drv_stdwin.c 20 Feb 2010 17:16:32 -0000 1.19 *************** *** 1,5 **** #if DEGUBMODE==1 || defined _DEBUG #define USE_LINES 0 ! #define USE_STD_PRINTER 0 #define DEBUG_PRINTS 1 #else --- 1,5 ---- #if DEGUBMODE==1 || defined _DEBUG #define USE_LINES 0 ! #define USE_STD_PRINTER 1 #define DEBUG_PRINTS 1 #else *************** *** 107,111 **** int tablemode; /* Indicates if table mode is used */ int linebreaking; /* Indicates that a rowbreaking is in progress */ ! t_macro head; // The head macro... int nocopies; /* number of copies of each printout */ --- 107,111 ---- int tablemode; /* Indicates if table mode is used */ int linebreaking; /* Indicates that a rowbreaking is in progress */ ! int endseqrec; /* Indicates that the end start seq is received */ t_macro head; // The head macro... int nocopies; /* number of copies of each printout */ *************** *** 728,733 **** pd.lStructSize=sizeof(PRINTDLG); ! pd.Flags=PD_RETURNDC|PD_RETURNDEFAULT; ! PrintDlg(&pd); --- 728,736 ---- pd.lStructSize=sizeof(PRINTDLG); ! #if USE_STD_PRINTER==1 ! pd.Flags=PD_RETURNDC|PD_RETURNDEFAULT; ! #else ! pd.Flags=PD_RETURNDC; ! #endif PrintDlg(&pd); *************** *** 899,903 **** //x param=GetParam(q); ! _CpriInitTabs(&dd->ActiveFormat.tf,0,dd->xscaling); if(param*dd->xscaling<dd->xoffset) param=dd->xoffset/dd->xscaling+1; --- 902,906 ---- //x param=GetParam(q); ! _CpriInitTabs(&dd->ActiveFormat.tf,dd->ActiveFormat.margin.mm,dd->xscaling); if(param*dd->xscaling<dd->xoffset) param=dd->xoffset/dd->xscaling+1; *************** *** 1149,1166 **** break; case EPC_END_START_SEQUENCE: ! if(!ResetDC(dd->ghdc,dd->dvmd)) ! { ! DWORD error; ! error=GetLastError(); #ifdef DEBUG ! assert(0); #endif ! } ! ! StartPage(dd->ghdc); ! SetTextAlign(dd->ghdc,VERT_TEXT_ALIGN|TA_LEFT|TA_UPDATECP); ! GetRes(dd); ! if(dd->barw==0) ! dd->barw=(int)(NBARWIDTH*dd->xscaling+0.5); break; case EPC_CASSETTE_FEED: --- 1152,1174 ---- break; case EPC_END_START_SEQUENCE: ! if(!dd->endseqrec) ! { ! if(!ResetDC(dd->ghdc,dd->dvmd)) ! { ! DWORD error; ! error=GetLastError(); #ifdef DEBUG ! assert(0); #endif ! } ! ! StartPage(dd->ghdc); ! SetTextAlign(dd->ghdc,VERT_TEXT_ALIGN|TA_LEFT|TA_UPDATECP); ! GetRes(dd); ! if(dd->barw==0) ! dd->barw=(int)(NBARWIDTH*dd->xscaling+0.5); ! dd->endseqrec=1; ! } ! SetTextAlign(dd->ghdc,VERT_TEXT_ALIGN|TA_LEFT|TA_UPDATECP); break; case EPC_CASSETTE_FEED: *************** *** 1192,1196 **** deleteMacros(&dd->macros); break; ! default: --- 1200,1204 ---- deleteMacros(&dd->macros); break; ! default: *************** *** 1240,1243 **** --- 1248,1252 ---- dd->barh=BARCODEHEIGHT; dd->barw=0; + dd->endseqrec=0; q->drv->bufsize=_CpriGetInputSize(q)-2; /* skip the 2 last control chars */ |
|
From: SourceForge.net <no...@so...> - 2010-02-20 17:15:37
|
Bugs item #2955653, was opened at 2010-02-20 18:14 Message generated for change (Comment added) made by rasmusmyklebust You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=541024&aid=2955653&group_id=74455 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Windows Group: None >Status: Closed >Resolution: Fixed Priority: 1 Private: No Submitted By: Rasmus Myklebust (rasmusmyklebust) Assigned to: Rasmus Myklebust (rasmusmyklebust) Summary: Left margin is wrong when using multiple tables Initial Comment: When using more than one table in a printout, the margin setting is ignored for every but the first table. Detecteed in windows, other platforms? ---------------------------------------------------------------------- >Comment By: Rasmus Myklebust (rasmusmyklebust) Date: 2010-02-20 18:15 Message: Fixed in windows ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=541024&aid=2955653&group_id=74455 |
|
From: SourceForge.net <no...@so...> - 2010-02-20 17:15:01
|
Bugs item #2955653, was opened at 2010-02-20 18:14 Message generated for change (Tracker Item Submitted) made by rasmusmyklebust You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=541024&aid=2955653&group_id=74455 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Windows Group: None Status: Open Resolution: None Priority: 1 Private: No Submitted By: Rasmus Myklebust (rasmusmyklebust) Assigned to: Rasmus Myklebust (rasmusmyklebust) Summary: Left margin is wrong when using multiple tables Initial Comment: When using more than one table in a printout, the margin setting is ignored for every but the first table. Detecteed in windows, other platforms? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=541024&aid=2955653&group_id=74455 |
|
From: Rasmus M. <ras...@us...> - 2009-11-14 13:34:12
|
Update of /cvsroot/cpri/cpri/docs In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv25955 Modified Files: cpri._tx Log Message: Fixed typo Index: cpri._tx =================================================================== RCS file: /cvsroot/cpri/cpri/docs/cpri._tx,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** cpri._tx 28 Sep 2009 19:23:32 -0000 1.15 --- cpri._tx 14 Nov 2009 13:34:03 -0000 1.16 *************** *** 700,704 **** '½' character will be right aligned (like ALIGN_RIGHT). Strings not ending with the '½' character will be padded with space of ! the same width as the '½' character vefore right align. The purpose is to make columns like: <pre> --- 700,704 ---- '½' character will be right aligned (like ALIGN_RIGHT). Strings not ending with the '½' character will be padded with space of ! the same width as the '½' character before right align. The purpose is to make columns like: <pre> |
|
From: Christer S. <ch...@us...> - 2009-09-28 19:23:48
|
Update of /cvsroot/cpri/cpri/docs In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv14390/docs Modified Files: changes._tx cpri._tx Log Message: made new version Index: cpri._tx =================================================================== RCS file: /cvsroot/cpri/cpri/docs/cpri._tx,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** cpri._tx 21 Jan 2006 15:11:48 -0000 1.14 --- cpri._tx 28 Sep 2009 19:23:32 -0000 1.15 *************** *** 6,10 **** @# @multiwordheaders ! @manh="version 0.9.6" "CPRI" "Manual" @document_title=CPRI Manual @rtfh=cpri - an add on lib to CGUI for formatted printing --- 6,10 ---- @# @multiwordheaders ! @manh="version 0.9.7" "CPRI" "Manual" @document_title=CPRI Manual @rtfh=cpri - an add on lib to CGUI for formatted printing *************** *** 32,36 **** <center>Homepage: <a href="http://www.idt.mdh.se/~csg/cgui/cguix">http://www.idt.mdh.se/~csg/cgui/cguix</a></center> <center><b> ! The Manual of CPRI 0.9.6 </b></center> @!text --- 32,36 ---- <center>Homepage: <a href="http://www.idt.mdh.se/~csg/cgui/cguix">http://www.idt.mdh.se/~csg/cgui/cguix</a></center> <center><b> ! The Manual of CPRI 0.9.7 </b></center> @!text Index: changes._tx =================================================================== RCS file: /cvsroot/cpri/cpri/docs/changes._tx,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** changes._tx 21 Jan 2006 15:11:48 -0000 1.9 --- changes._tx 28 Sep 2009 19:23:32 -0000 1.10 *************** *** 41,45 **** Changes ! 0.9.6: <ul> <li> --- 41,52 ---- Changes ! 0.9.7: ! <ul> ! <li> ! Fixed bug 2867683 ! <li> ! Fixed bug 2867335 ! </ul> ! 0.9.6: <ul> <li> |
|
From: Christer S. <ch...@us...> - 2009-09-28 19:23:44
|
Update of /cvsroot/cpri/cpri/include In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv14390/include Modified Files: cpri.h Log Message: made new version Index: cpri.h =================================================================== RCS file: /cvsroot/cpri/cpri/include/cpri.h,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** cpri.h 21 Jan 2006 15:11:48 -0000 1.14 --- cpri.h 28 Sep 2009 19:23:32 -0000 1.15 *************** *** 4,11 **** #define CPRI_VERSION_MAJOR 0 #define CPRI_VERSION_MINOR 9 ! #define CPRI_VERSION_PATCH 6 ! #define CPRI_VERSION_STRING "0.9.6" ! #define CPRI_DATE 20060121 /* yyyymmdd */ ! #define CPRI_DATE_STRING "Jan 21, 2006" #include "cpri/cpricfg.h" --- 4,11 ---- #define CPRI_VERSION_MAJOR 0 #define CPRI_VERSION_MINOR 9 ! #define CPRI_VERSION_PATCH 7 ! #define CPRI_VERSION_STRING "0.9.7" ! #define CPRI_DATE 20090928 /* yyyymmdd */ ! #define CPRI_DATE_STRING "Sep 28, 2009" #include "cpri/cpricfg.h" |
|
From: Christer S. <ch...@us...> - 2009-09-28 19:23:44
|
Update of /cvsroot/cpri/cpri/misc In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv14390/misc Modified Files: makefile.ver zipup.sh Log Message: made new version Index: makefile.ver =================================================================== RCS file: /cvsroot/cpri/cpri/misc/makefile.ver,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** makefile.ver 21 Jan 2006 15:11:48 -0000 1.10 --- makefile.ver 28 Sep 2009 19:23:32 -0000 1.11 *************** *** 7,10 **** # Shared library versions for Unix # todo: this is unused at the moment ! shared_version = 0.9.6 shared_major_minor = 0.9 --- 7,10 ---- # Shared library versions for Unix # todo: this is unused at the moment ! shared_version = 0.9.7 shared_major_minor = 0.9 Index: zipup.sh =================================================================== RCS file: /cvsroot/cpri/cpri/misc/zipup.sh,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** zipup.sh 21 Jan 2006 15:11:48 -0000 1.11 --- zipup.sh 28 Sep 2009 19:23:32 -0000 1.12 *************** *** 12,17 **** # note: these are patched by fixver.sh script. ! zipversion=096 ! tgzversion=0.9.6 if [ "$1" != "-q" ]; then --- 12,17 ---- # note: these are patched by fixver.sh script. ! zipversion=097 ! tgzversion=0.9.7 if [ "$1" != "-q" ]; then |
|
From: Rasmus M. <ras...@us...> - 2009-09-26 21:59:16
|
Update of /cvsroot/cpri/cpri/src In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv904/src Modified Files: drv_html.c Log Message: Fixed bug #2867683 Index: drv_html.c =================================================================== RCS file: /cvsroot/cpri/cpri/src/drv_html.c,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** drv_html.c 26 Sep 2009 09:47:54 -0000 1.9 --- drv_html.c 26 Sep 2009 21:59:06 -0000 1.10 *************** *** 53,57 **** static void Tab(t_driver *dd, int bold, int ul, int italic, char *celltext, ! char *line, int align, int size, char **faces, int face) { char *p; --- 53,57 ---- static void Tab(t_driver *dd, int bold, int ul, int italic, char *celltext, ! char *line, int align, int size, char **faces, int face,char *suptext) { char *p; *************** *** 81,85 **** if (italic) p += sprintf(p, "<i>"); ! p += sprintf(p, celltext); if (*celltext == 0 && dd->gridon) p += sprintf(p, " "); --- 81,85 ---- if (italic) p += sprintf(p, "<i>"); ! p += sprintf(p, "%s%s",celltext,suptext); if (*celltext == 0 && dd->gridon) p += sprintf(p, " "); *************** *** 105,108 **** --- 105,109 ---- p += sprintf(p, "</td>\n"); *celltext = 0; + *suptext=0; } *************** *** 146,150 **** "Gothic,'Courier New',Courier", }; ! char link[MAXLINKLEN+1], celltext[1000]; char *colors[]={"#0000ff","#ccccff","#ccffcc","#ffcccc","#ccffff","#ffccff","#ffffcc"}; const char *const*ptxt; --- 147,151 ---- "Gothic,'Courier New',Courier", }; ! char link[MAXLINKLEN+1], celltext[1000], suptext[1000]; char *colors[]={"#0000ff","#ccccff","#ccffcc","#ffcccc","#ccffff","#ffccff","#ffffcc"}; const char *const*ptxt; *************** *** 172,177 **** case EPC_SUP_LALIGN: case EPC_SUP: - case EPC_SUP_RALIGN: - case EPC_SUP_RALIGN_CELL: _CpriGetStringParam(q, s); if (underline) --- 173,176 ---- *************** *** 182,185 **** --- 181,197 ---- if (underline) strcat(celltext, "<u>"); + strcat(suptext," "); + break; + case EPC_SUP_RALIGN: + case EPC_SUP_RALIGN_CELL: + _CpriGetStringParam(q, s); + if (underline) + strcat(suptext, "</u>"); + strcat(suptext, "<sup><span style=\"font-size:smaller\">"); + strcat(suptext, s); + strcat(suptext, "</span></sup>"); + if (underline) + strcat(suptext, "<u>"); + strcat(celltext," "); break; case EPC_FONT_TYPEFACE: /* typefaces */ *************** *** 209,215 **** strcpy(line, " <tr>\n"); *celltext = 0; } else { Tab(dd, bold, underline, italic, celltext, line, align, ! size, htmlfaces, face); } dd->w = tf->tabs[tf->curtab].scaled - tf->tabs[tf->prevtab].scaled; --- 221,228 ---- strcpy(line, " <tr>\n"); *celltext = 0; + *suptext=0; } else { Tab(dd, bold, underline, italic, celltext, line, align, ! size, htmlfaces, face,suptext); } dd->w = tf->tabs[tf->curtab].scaled - tf->tabs[tf->prevtab].scaled; *************** *** 218,222 **** case EPC_NEW_LINE: Tab(dd, bold, underline, italic, celltext, line, align, ! size, htmlfaces, face); fprintf(dst, line); fprintf(dst, " </tr>\n"); --- 231,235 ---- case EPC_NEW_LINE: Tab(dd, bold, underline, italic, celltext, line, align, ! size, htmlfaces, face,suptext); fprintf(dst, line); fprintf(dst, " </tr>\n"); |
|
From: SourceForge.net <no...@so...> - 2009-09-26 21:59:11
|
Bugs item #2867683, was opened at 2009-09-26 23:58 Message generated for change (Settings changed) made by rasmusmyklebust You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=541024&aid=2867683&group_id=74455 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Platform independent Group: None >Status: Closed >Resolution: Fixed Priority: 5 Private: No Submitted By: Rasmus Myklebust (rasmusmyklebust) Assigned to: Rasmus Myklebust (rasmusmyklebust) Summary: Superscripts are not printed correctly in HTML Initial Comment: When printing superscripts, they are not aligned properly. Right aligned text is left aligned and on the wrong side of the text. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=541024&aid=2867683&group_id=74455 |
|
From: SourceForge.net <no...@so...> - 2009-09-26 21:58:19
|
Bugs item #2867683, was opened at 2009-09-26 23:58 Message generated for change (Tracker Item Submitted) made by rasmusmyklebust You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=541024&aid=2867683&group_id=74455 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Platform independent Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Rasmus Myklebust (rasmusmyklebust) Assigned to: Rasmus Myklebust (rasmusmyklebust) Summary: Superscripts are not printed correctly in HTML Initial Comment: When printing superscripts, they are not aligned properly. Right aligned text is left aligned and on the wrong side of the text. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=541024&aid=2867683&group_id=74455 |
|
From: SourceForge.net <no...@so...> - 2009-09-26 09:49:04
|
Bugs item #2867335, was opened at 2009-09-26 11:47 Message generated for change (Settings changed) made by rasmusmyklebust You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=541024&aid=2867335&group_id=74455 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Platform independent Group: None >Status: Closed >Resolution: Fixed Priority: 5 Private: No Submitted By: Rasmus Myklebust (rasmusmyklebust) Assigned to: Rasmus Myklebust (rasmusmyklebust) Summary: Superscript is not generated correctly Initial Comment: The <sup> and <span> are note closed in correct order. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=541024&aid=2867335&group_id=74455 |
|
From: Rasmus M. <ras...@us...> - 2009-09-26 09:48:02
|
Update of /cvsroot/cpri/cpri/src In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv4225 Modified Files: drv_html.c Log Message: Fixed bug #2867335 Index: drv_html.c =================================================================== RCS file: /cvsroot/cpri/cpri/src/drv_html.c,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** drv_html.c 21 Jan 2006 15:11:48 -0000 1.8 --- drv_html.c 26 Sep 2009 09:47:54 -0000 1.9 *************** *** 179,183 **** strcat(celltext, "<sup><span style=\"font-size:smaller\">"); strcat(celltext, s); ! strcat(celltext, "</sup></span>"); if (underline) strcat(celltext, "<u>"); --- 179,183 ---- strcat(celltext, "<sup><span style=\"font-size:smaller\">"); strcat(celltext, s); ! strcat(celltext, "</span></sup>"); if (underline) strcat(celltext, "<u>"); |
|
From: SourceForge.net <no...@so...> - 2009-09-26 09:47:00
|
Bugs item #2867335, was opened at 2009-09-26 11:47 Message generated for change (Tracker Item Submitted) made by rasmusmyklebust You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=541024&aid=2867335&group_id=74455 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Platform independent Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Rasmus Myklebust (rasmusmyklebust) Assigned to: Rasmus Myklebust (rasmusmyklebust) Summary: Superscript is not generated correctly Initial Comment: The <sup> and <span> are note closed in correct order. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=541024&aid=2867335&group_id=74455 |
|
From: Christer S. <ch...@us...> - 2006-01-21 17:24:22
|
Update of /cvsroot/cpri/cpri/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9526/src Modified Files: printini.c Log Message: Fixed compatibility with allero 4.0.3 Index: printini.c =================================================================== RCS file: /cvsroot/cpri/cpri/src/printini.c,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** printini.c 21 Jan 2006 17:22:13 -0000 1.7 --- printini.c 21 Jan 2006 17:24:15 -0000 1.8 *************** *** 16,19 **** --- 16,23 ---- #include <string.h> + #if ALLEGRO_SUB_VERSION == 0 + #define canonicalize_filename fix_filename_path + #endif + static char *print_section_name[] = { "Printer:LPT1", "Printer:LPT2", "Printer:LPT3", "Printer:DOS", |
|
From: Christer S. <ch...@us...> - 2006-01-21 17:22:21
|
Update of /cvsroot/cpri/cpri/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8985/src Modified Files: printini.c Log Message: Hm Index: printini.c =================================================================== RCS file: /cvsroot/cpri/cpri/src/printini.c,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** printini.c 21 Jan 2006 16:48:55 -0000 1.6 --- printini.c 21 Jan 2006 17:22:13 -0000 1.7 *************** *** 146,150 **** tempdir = getenv("TMP"); if (tempdir == NULL) { ! #if (defined ALLEGRO_UNIX) || (defined ALLEGRO_MAC) if (exists("~/tmp")) { tempdir = "~/tmp"; --- 146,150 ---- tempdir = getenv("TMP"); if (tempdir == NULL) { ! #if (defined ALLEGRO_UNIX) || (defined ALLEGRO_MACOSX) if (exists("~/tmp")) { tempdir = "~/tmp"; |
|
From: Rasmus M. <ras...@us...> - 2006-01-21 16:49:04
|
Update of /cvsroot/cpri/cpri/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28867 Modified Files: printini.c Log Message: Fixed compilation error Index: printini.c =================================================================== RCS file: /cvsroot/cpri/cpri/src/printini.c,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** printini.c 21 Jan 2006 15:11:48 -0000 1.5 --- printini.c 21 Jan 2006 16:48:55 -0000 1.6 *************** *** 152,156 **** tempdir = "./"; } ! #elif (defied ALLEGRO_WINDOWS) || (defined ALLEGRO_DOS) if (exists("c:\\temp")) { tempdir = "c:\\temp"; --- 152,156 ---- tempdir = "./"; } ! #elif (defined ALLEGRO_WINDOWS) || (defined ALLEGRO_DOS) if (exists("c:\\temp")) { tempdir = "c:\\temp"; |
|
From: SourceForge.net <no...@so...> - 2006-01-21 15:12:32
|
Bugs item #1411546, was opened at 2006-01-21 15:09 Message generated for change (Settings changed) made by chrisan You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=541024&aid=1411546&group_id=74455 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Linux Group: v0.9.3 >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Christer Sandberg (chrisan) Assigned to: Christer Sandberg (chrisan) Summary: Nothing is printed Initial Comment: When printing (to file on Linux) and there is no environment variable `TMP' or `TEMP' defined, there will be nothing printed because the lib tries to write temporary files to / (wich is usually not writeable unless you run as root). Occasionally this may be a problem on other platforms too (but in practice not). ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=541024&aid=1411546&group_id=74455 |
|
From: Christer S. <ch...@us...> - 2006-01-21 15:12:02
|
Update of /cvsroot/cpri/cpri/docs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30370/docs Modified Files: changes._tx cpri._tx Log Message: Fixed bug 1411546 Nothing is printed Index: cpri._tx =================================================================== RCS file: /cvsroot/cpri/cpri/docs/cpri._tx,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** cpri._tx 29 Oct 2005 18:57:29 -0000 1.13 --- cpri._tx 21 Jan 2006 15:11:48 -0000 1.14 *************** *** 6,10 **** @# @multiwordheaders ! @manh="version 0.9.5" "CPRI" "Manual" @document_title=CPRI Manual @rtfh=cpri - an add on lib to CGUI for formatted printing --- 6,10 ---- @# @multiwordheaders ! @manh="version 0.9.6" "CPRI" "Manual" @document_title=CPRI Manual @rtfh=cpri - an add on lib to CGUI for formatted printing *************** *** 32,36 **** <center>Homepage: <a href="http://www.idt.mdh.se/~csg/cgui/cguix">http://www.idt.mdh.se/~csg/cgui/cguix</a></center> <center><b> ! The Manual of CPRI 0.9.5 </b></center> @!text --- 32,36 ---- <center>Homepage: <a href="http://www.idt.mdh.se/~csg/cgui/cguix">http://www.idt.mdh.se/~csg/cgui/cguix</a></center> <center><b> ! The Manual of CPRI 0.9.6 </b></center> @!text Index: changes._tx =================================================================== RCS file: /cvsroot/cpri/cpri/docs/changes._tx,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** changes._tx 29 Oct 2005 18:57:29 -0000 1.8 --- changes._tx 21 Jan 2006 15:11:48 -0000 1.9 *************** *** 41,48 **** --- 41,54 ---- Changes + 0.9.6: + <ul> + <li> + Fixed bug 1411546 Nothing is printed + </ul> 0.9.5: <ul> <li> "Set correct line endings in fix* in the distribution package, and improved the scrips to avoid future problems." + </ul> 0.9.4: <ul> |
|
From: Christer S. <ch...@us...> - 2006-01-21 15:11:59
|
Update of /cvsroot/cpri/cpri/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30370/src Modified Files: drv_html.c printini.c printini.h spooler.c Log Message: Fixed bug 1411546 Nothing is printed Index: printini.h =================================================================== RCS file: /cvsroot/cpri/cpri/src/printini.h,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** printini.h 1 Mar 2003 10:27:26 -0000 1.1.1.1 --- printini.h 21 Jan 2006 15:11:48 -0000 1.2 *************** *** 3,7 **** extern void _CpriSavePrinterSettings(void); ! char _cpri_spool_dir[MAXPATH]; #endif --- 3,7 ---- extern void _CpriSavePrinterSettings(void); ! char *_cpri_spool_dir; #endif Index: printini.c =================================================================== RCS file: /cvsroot/cpri/cpri/src/printini.c,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** printini.c 28 Mar 2003 18:53:01 -0000 1.4 --- printini.c 21 Jan 2006 15:11:48 -0000 1.5 *************** *** 3,17 **** data from file and saving to file) */ - #include <string.h> - #include <allegro.h> - #include <cgui.h> - #include <cgui/mem.h> ! #include "labldata.h" #include "dialpri.h" #include "spooler.h" - #include "printini.h" #include "cpri.h" static char *print_section_name[] = { "Printer:LPT1", "Printer:LPT2", "Printer:LPT3", "Printer:DOS", --- 3,19 ---- data from file and saving to file) */ ! #include "printini.h" #include "dialpri.h" #include "spooler.h" #include "cpri.h" + #include <cgui.h> + #include <cgui/mem.h> + #include <allegro.h> + #include "labldata.h" + + #include <string.h> + static char *print_section_name[] = { "Printer:LPT1", "Printer:LPT2", "Printer:LPT3", "Printer:DOS", *************** *** 23,27 **** static char *pri_dbid_netcom2 = "Command-cont"; ! char _cpri_spool_dir[MAXPATH]; static int printer_inited; --- 25,29 ---- static char *pri_dbid_netcom2 = "Command-cont"; ! char *_cpri_spool_dir; static int printer_inited; *************** *** 119,122 **** --- 121,127 ---- } _CpriDestroyBarIcon(); + Release(_cpri_spool_dir); + printer_inited = 0; + _cpri_spool_dir = NULL; } *************** *** 136,145 **** _CpriInitBarIcons(); printer_inited = 1; ! if (*_cpri_spool_dir == 0) { tempdir = getenv("TEMP"); if (tempdir == NULL) tempdir = getenv("TMP"); ! if (tempdir && strlen(tempdir) < 255) ! strncpy(_cpri_spool_dir, tempdir, 255); } LoadPrinterSettings(); --- 141,168 ---- _CpriInitBarIcons(); printer_inited = 1; ! if (_cpri_spool_dir == NULL) { tempdir = getenv("TEMP"); if (tempdir == NULL) tempdir = getenv("TMP"); ! if (tempdir == NULL) { ! #if (defined ALLEGRO_UNIX) || (defined ALLEGRO_MAC) ! if (exists("~/tmp")) { ! tempdir = "~/tmp"; ! } else { ! tempdir = "./"; ! } ! #elif (defied ALLEGRO_WINDOWS) || (defined ALLEGRO_DOS) ! if (exists("c:\\temp")) { ! tempdir = "c:\\temp"; ! } else { ! tempdir = ""; ! } ! #endif ! _cpri_spool_dir = GetMem(char, 2000); ! canonicalize_filename(_cpri_spool_dir, tempdir, 2000); ! _cpri_spool_dir = ResizeMem(char, _cpri_spool_dir, strlen(_cpri_spool_dir)+1); ! } else { ! _cpri_spool_dir = MkString(tempdir); ! } } LoadPrinterSettings(); Index: spooler.c =================================================================== RCS file: /cvsroot/cpri/cpri/src/spooler.c,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** spooler.c 21 Sep 2005 18:39:34 -0000 1.9 --- spooler.c 21 Jan 2006 15:11:48 -0000 1.10 *************** *** 2,15 **** Contains the functions for background printing */ - #include <allegro.h> - #include <string.h> - #include <stdio.h> - - #include <cgui.h> - #include <cgui/mem.h> - - #include "labldata.h" #include "spooler.h" ! #include "cpri.h" #include "dialpri.h" #include "cpri.ht" --- 2,7 ---- Contains the functions for background printing */ #include "spooler.h" ! #include "dialpri.h" #include "cpri.ht" *************** *** 21,24 **** --- 13,24 ---- #include "printini.h" + #include <cgui.h> + #include <cgui/mem.h> + #include <allegro.h> + #include <string.h> + #include <stdio.h> + + #include "labldata.h" + #define IdleQ(q) (_CpriEmptyQ(q) && !(q)->hold) //#define silent_test *************** *** 103,108 **** s = GetMem(char, strlen(_cpri_spool_dir) + strlen(spoolname) + 2); ! sprintf(s, "%s/%s", _cpri_spool_dir, spoolname); ! fix_filename_slashes(s); return s; } --- 103,112 ---- s = GetMem(char, strlen(_cpri_spool_dir) + strlen(spoolname) + 2); ! if (*_cpri_spool_dir) { ! sprintf(s, "%s%c%s", _cpri_spool_dir, OTHER_PATH_SEPARATOR, spoolname); ! fix_filename_slashes(s); ! } else { ! sprintf(s, "%s", spoolname); ! } return s; } *************** *** 628,632 **** tmpfil = GetMem(char, strlen(_cpri_spool_dir)+50); ! sprintf(tmpfil, "%s\\%d.net", _cpri_spool_dir, net_cnt++); netspoolfile = fopen(tmpfil, "w"); ptxt = LoadCompiledTexts(cpri_labels, "dialpri", &nr); --- 632,636 ---- tmpfil = GetMem(char, strlen(_cpri_spool_dir)+50); ! sprintf(tmpfil, "%s%c%d.net", _cpri_spool_dir, OTHER_PATH_SEPARATOR, net_cnt++); netspoolfile = fopen(tmpfil, "w"); ptxt = LoadCompiledTexts(cpri_labels, "dialpri", &nr); Index: drv_html.c =================================================================== RCS file: /cvsroot/cpri/cpri/src/drv_html.c,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** drv_html.c 22 Jan 2005 18:18:57 -0000 1.7 --- drv_html.c 21 Jan 2006 15:11:48 -0000 1.8 *************** *** 2,20 **** Contains the print-driver for creating html-files */ - #include <string.h> - #include <allegro.h> - - #include <cgui.h> - #include <cgui/mem.h> - - #include "spooler.h" #include "drv_html.h" #include "cpri.h" #include "pridrive.h" #include "drv_common.h" - #include "labldata.h" #include "dialpri.h" #include "cpri.ht" #define MAXLINKLEN 10000 --- 2,19 ---- Contains the print-driver for creating html-files */ #include "drv_html.h" + #include "spooler.h" #include "cpri.h" #include "pridrive.h" #include "drv_common.h" #include "dialpri.h" #include "cpri.ht" + #include <cgui.h> + #include <cgui/mem.h> + #include <allegro.h> + #include <string.h> + #include "labldata.h" + #define MAXLINKLEN 10000 |
|
From: Christer S. <ch...@us...> - 2006-01-21 15:11:59
|
Update of /cvsroot/cpri/cpri/misc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30370/misc Modified Files: makefile.ver zipup.sh Log Message: Fixed bug 1411546 Nothing is printed Index: makefile.ver =================================================================== RCS file: /cvsroot/cpri/cpri/misc/makefile.ver,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** makefile.ver 29 Oct 2005 18:57:29 -0000 1.9 --- makefile.ver 21 Jan 2006 15:11:48 -0000 1.10 *************** *** 7,10 **** # Shared library versions for Unix # todo: this is unused at the moment ! shared_version = 0.9.5 shared_major_minor = 0.9 --- 7,10 ---- # Shared library versions for Unix # todo: this is unused at the moment ! shared_version = 0.9.6 shared_major_minor = 0.9 Index: zipup.sh =================================================================== RCS file: /cvsroot/cpri/cpri/misc/zipup.sh,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** zipup.sh 29 Oct 2005 18:57:29 -0000 1.10 --- zipup.sh 21 Jan 2006 15:11:48 -0000 1.11 *************** *** 12,17 **** # note: these are patched by fixver.sh script. ! zipversion=095 ! tgzversion=0.9.5 if [ "$1" != "-q" ]; then --- 12,17 ---- # note: these are patched by fixver.sh script. ! zipversion=096 ! tgzversion=0.9.6 if [ "$1" != "-q" ]; then |
|
From: Christer S. <ch...@us...> - 2006-01-21 15:11:58
|
Update of /cvsroot/cpri/cpri/include In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30370/include Modified Files: cpri.h Log Message: Fixed bug 1411546 Nothing is printed Index: cpri.h =================================================================== RCS file: /cvsroot/cpri/cpri/include/cpri.h,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** cpri.h 29 Oct 2005 18:57:29 -0000 1.13 --- cpri.h 21 Jan 2006 15:11:48 -0000 1.14 *************** *** 4,11 **** #define CPRI_VERSION_MAJOR 0 #define CPRI_VERSION_MINOR 9 ! #define CPRI_VERSION_PATCH 5 ! #define CPRI_VERSION_STRING "0.9.5" ! #define CPRI_DATE 20051029 /* yyyymmdd */ ! #define CPRI_DATE_STRING "Oct 29, 2005" #include "cpri/cpricfg.h" --- 4,11 ---- #define CPRI_VERSION_MAJOR 0 #define CPRI_VERSION_MINOR 9 ! #define CPRI_VERSION_PATCH 6 ! #define CPRI_VERSION_STRING "0.9.6" ! #define CPRI_DATE 20060121 /* yyyymmdd */ ! #define CPRI_DATE_STRING "Jan 21, 2006" #include "cpri/cpricfg.h" |
|
From: SourceForge.net <no...@so...> - 2006-01-21 15:09:09
|
Bugs item #1411546, was opened at 2006-01-21 15:09 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=541024&aid=1411546&group_id=74455 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Linux Group: v0.9.3 Status: Open Resolution: None Priority: 5 Submitted By: Christer Sandberg (chrisan) Assigned to: Christer Sandberg (chrisan) Summary: Nothing is printed Initial Comment: When printing (to file on Linux) and there is no environment variable `TMP' or `TEMP' defined, there will be nothing printed because the lib tries to write temporary files to / (wich is usually not writeable unless you run as root). Occasionally this may be a problem on other platforms too (but in practice not). ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=541024&aid=1411546&group_id=74455 |