pythonreports-checkins Mailing List for PythonReports (Page 3)
Brought to you by:
a1s
You can subscribe to this list here.
2006 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(45) |
Dec
(56) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2007 |
Jan
|
Feb
(2) |
Mar
|
Apr
|
May
(1) |
Jun
(4) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
(6) |
2009 |
Jan
|
Feb
|
Mar
(5) |
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2010 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(5) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2011 |
Jan
(10) |
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(5) |
Oct
(1) |
Nov
(3) |
Dec
|
2012 |
Jan
|
Feb
|
Mar
(10) |
Apr
|
May
(18) |
Jun
(6) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
From: alexander s. <a1...@us...> - 2011-01-26 07:43:48
|
Update of /cvsroot/pythonreports/PythonReports/PythonReports In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv906 Modified Files: fonts.py Log Message: more well-known font file names; add Mac OS X font paths Index: fonts.py =================================================================== RCS file: /cvsroot/pythonreports/PythonReports/PythonReports/fonts.py,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** fonts.py 22 Dec 2007 17:54:15 -0000 1.3 --- fonts.py 26 Jan 2011 07:43:39 -0000 1.4 *************** *** 1,4 **** --- 1,6 ---- """Fonts registry""" """History (most recent first): + 26-jan-2011 [als] more well-known font file names; + add Mac OS X font paths 22-dec-2007 [als] add Ubuntu fonts location to SYSFONTPATHS (sf bug 1856408) 27-sep-2006 [als] support different system font path variants *************** *** 11,27 **** __all__ = ["fontfile", "register"] ! import os ! ! # paths to look for TrueType fonts ! if os.name == "nt": ! # MS Windows ! SYSFONTPATHS = [os.path.join(os.getenv("windir"), "Fonts")] ! elif os.name == "posix": ! # X windows ! SYSFONTPATHS = [ ! "/usr/X11R6/lib/X11/fonts/TrueType", ! "/usr/share/fonts/corefonts", # Gentoo Linux (TM) ! "/usr/share/fonts/truetype/msttcorefonts", # Ubuntu (Feisty) ! ] # well-known font files --- 13,18 ---- __all__ = ["fontfile", "register"] ! from operator import itemgetter ! import os, sys # well-known font files *************** *** 35,46 **** --- 26,75 ---- ("Comic Sans MS", True, False): "comicbd.ttf", ("Comic Sans MS", True, True): "comicbd.ttf", + ("Consolas", False, False): "consola.ttf", + ("Consolas", False, True): "consolai.ttf", + ("Consolas", True, False): "consolab.ttf", + ("Consolas", True, True): "consolaz.ttf", ("Courier New", False, False): "cour.ttf", ("Courier New", False, True): "couri.ttf", ("Courier New", True, False): "courbd.ttf", ("Courier New", True, True): "courbi.ttf", + ("DejaVu Sans", False, False): "DejaVuSans.ttf", + ("DejaVu Sans", False, True): "DejaVuSans-Oblique.ttf", + ("DejaVu Sans", True, False): "DejaVuSans-Bold.ttf", + ("DejaVu Sans", True, True): "DejaVuSans-BoldOblique.ttf", + ("DejaVu Sans Condensed", False, False): "DejaVuSansCondensed.ttf", + ("DejaVu Sans Condensed", False, True): "DejaVuSansCondensed-Oblique.ttf", + ("DejaVu Sans Condensed", True, False): "DejaVuSansCondensed-Bold.ttf", + ("DejaVu Sans Condensed", True, True): + "DejaVuSansCondensed-BoldOblique.ttf", + ("DejaVu Sans Mono", False, False): "DejaVuSansMono.ttf", + ("DejaVu Sans Mono", False, True): "DejaVuSansMono-Oblique.ttf", + ("DejaVu Sans Mono", True, False): "DejaVuSansMono-Bold.ttf", + ("DejaVu Sans Mono", True, True): "DejaVuSansMono-BoldOblique.ttf", + ("DejaVu Serif", False, False): "DejaVuSerif.ttf", + ("DejaVu Serif", False, True): "DejaVuSerif-Italic.ttf", + ("DejaVu Serif", True, False): "DejaVuSerif-Bold.ttf", + ("DejaVu Serif", True, True): "DejaVuSerif-BoldItalic.ttf", + ("DejaVu Serif Condensed", False, False): "DejaVuSerifCondensed.ttf", + ("DejaVu Serif Condensed", False, True): "DejaVuSerifCondensed-Italic.ttf", + ("DejaVu Serif Condensed", True, False): "DejaVuSerifCondensed-Bold.ttf", + ("DejaVu Serif Condensed", True, True): + "DejaVuSerifCondensed-BoldItalic.ttf", + ("Tahoma", False, False): "tahoma.ttf", + ("Tahoma", False, True): "tahoma.ttf", + ("Tahoma", True, False): "tahomabd.ttf", + ("Tahoma", True, True): "tahomabd.ttf", ("Times New Roman", False, False): "times.ttf", ("Times New Roman", False, True): "timesi.ttf", ("Times New Roman", True, False): "timesbd.ttf", ("Times New Roman", True, True): "timesbi.ttf", + ("Trebuchet MS", False, False): "trebuc.ttf", + ("Trebuchet MS", False, True): "trebucit.ttf", + ("Trebuchet MS", True, False): "trebucbd.ttf", + ("Trebuchet MS", True, True): "trebucbi.ttf", + ("Verdana", False, False): "verdana.ttf", + ("Verdana", False, True): "verdanai.ttf", + ("Verdana", True, False): "verdanab.ttf", + ("Verdana", True, True): "verdanaz.ttf", # if the font is not known to us, use monospaced font # for high estimate of the text width *************** *** 48,51 **** --- 77,96 ---- } + # paths to look for TrueType fonts + SYSFONTPATHS = [] + if os.name == "nt": + # MS Windows + SYSFONTPATHS.append(os.path.join(os.getenv("windir"), "Fonts")) + elif os.name == "posix": + # X windows + SYSFONTPATHS.extend([ + "/usr/X11R6/lib/X11/fonts/TrueType", + "/usr/share/fonts/corefonts", # Gentoo Linux (TM) + "/usr/share/fonts/truetype/msttcorefonts", # Ubuntu (Feisty) + ]) + if sys.platform == "darwin": + SYSFONTPATHS.extend(map(itemgetter(0), os.walk("/Library/Fonts"))) + FONTS[None] = "Courier New.ttf" + def fontfile(typeface, bold=False, italic=False): """Return TTF file name for a font |
From: Alexey L. <a-...@us...> - 2011-01-18 16:00:34
|
Update of /cvsroot/pythonreports/PythonReports/PythonReports In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv29528 Modified Files: builder.py Log Message: removed extra empty horizontal pixel line between sections Index: builder.py =================================================================== RCS file: /cvsroot/pythonreports/PythonReports/PythonReports/builder.py,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** builder.py 7 Jan 2011 10:35:30 -0000 1.9 --- builder.py 18 Jan 2011 16:00:25 -0000 1.10 *************** *** 2,5 **** --- 2,6 ---- # FIXME: column-based variables are not intelligible """History (most recent first): + 18-jan-2011 [luch] removed extra empty horizontal pixel line between sections 07-jan-2011 [als] fix py2.7 FutureWarnings for "if section" 19-dec-2006 [als] straighten "if not/else" logic in Builder.run_subreport(); *************** *** 569,573 **** _elements = self.template.getchildren() # section is resizeable if it's height is not fixed ! # for resizeable secions, final size must be recalculated after filling self.resizeable = self.tbox.height <= 0 if not self.resizeable: --- 570,574 ---- _elements = self.template.getchildren() # section is resizeable if it's height is not fixed ! # then final size must be recalculated after filling self.resizeable = self.tbox.height <= 0 if not self.resizeable: *************** *** 1817,1821 **** # without adding the section to the page self.page.append(section) ! self.cur_y = section.box.y + section.box.height + 1 if section.template.tag in ("header", "title"): # adjust top margin of all contained frames --- 1818,1822 ---- # without adding the section to the page self.page.append(section) ! self.cur_y = section.box.y + section.box.height if section.template.tag in ("header", "title"): # adjust top margin of all contained frames |
From: alexander s. <a1...@us...> - 2011-01-07 10:35:38
|
Update of /cvsroot/pythonreports/PythonReports/PythonReports In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv18710 Modified Files: builder.py Log Message: fix py2.7 FutureWarnings for "if section" Index: builder.py =================================================================== RCS file: /cvsroot/pythonreports/PythonReports/PythonReports/builder.py,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** builder.py 19 Dec 2006 16:45:30 -0000 1.8 --- builder.py 7 Jan 2011 10:35:30 -0000 1.9 *************** *** 2,5 **** --- 2,6 ---- # FIXME: column-based variables are not intelligible """History (most recent first): + 07-jan-2011 [als] fix py2.7 FutureWarnings for "if section" 19-dec-2006 [als] straighten "if not/else" logic in Builder.run_subreport(); build_section: refetch context after subreports build *************** *** 450,454 **** else: _skip_columns = 2 # self and parent ! while _element: if _skip_columns: _skip_columns -= 1 --- 451,455 ---- else: _skip_columns = 2 # self and parent ! while _element is not None: if _skip_columns: _skip_columns -= 1 *************** *** 1184,1188 **** # if swapped, they use page frame, otherwise inner frame _section = _layout.find("title") ! if _section: if _section.get("swapheader") and _section.find("eject"): self.section_frames[_section] = _page_frame --- 1185,1189 ---- # if swapped, they use page frame, otherwise inner frame _section = _layout.find("title") ! if _section is not None: if _section.get("swapheader") and _section.find("eject"): self.section_frames[_section] = _page_frame *************** *** 1190,1194 **** self.section_frames[_section] = _frame _section = _layout.find("summary") ! if _section: if _section.get("swapfooter"): self.section_frames[_section] = _page_frame --- 1191,1195 ---- self.section_frames[_section] = _frame _section = _layout.find("summary") ! if _section is not None: if _section.get("swapfooter"): self.section_frames[_section] = _page_frame *************** *** 1231,1239 **** _header = _columns.find("header") _footer = _columns.find("footer") ! if _header or _footer: ! if _header: self.section_frames[_header] = _frame _frame.header = _header ! if _footer: self.section_frames[_footer] = _frame _frame.footer = _footer --- 1232,1240 ---- _header = _columns.find("header") _footer = _columns.find("footer") ! if (_header or _footer) is not None: ! if _header is not None: self.section_frames[_header] = _frame _frame.header = _header ! if _footer is not None: self.section_frames[_footer] = _frame _frame.footer = _footer *************** *** 1472,1476 **** # build the section _section = self.build_section(_template) ! if _section: # place the section self.add_section(_section) --- 1473,1477 ---- # build the section _section = self.build_section(_template) ! if _section is not None: # place the section self.add_section(_section) *************** *** 1507,1511 **** else: _footer = _layout.find("footer") ! if _summary: self.check_eject(_summary) if _summary.get("swapfooter") and (_footer is not None): --- 1508,1512 ---- else: _footer = _layout.find("footer") ! if _summary is not None: self.check_eject(_summary) if _summary.get("swapfooter") and (_footer is not None): *************** *** 1566,1570 **** _var.iterate(self.context) _title = group.find("title") ! if _title: self.check_eject(_title) self.add_section(self.build_section(_title)) --- 1567,1571 ---- _var.iterate(self.context) _title = group.find("title") ! if _title is not None: self.check_eject(_title) self.add_section(self.build_section(_title)) *************** *** 1587,1591 **** self.cur_y = _max_y _summary = group.find("summary") ! if _summary: self.check_eject(_summary) self.add_section(self.build_section(_summary, --- 1588,1592 ---- self.cur_y = _max_y _summary = group.find("summary") ! if _summary is not None: self.check_eject(_summary) self.add_section(self.build_section(_summary, *************** *** 1653,1657 **** assert _layout is not None # _prt is verified _section = _layout.find("header") ! if _section: warn("Replacing non-empty page header" " for inlined report \"%s\"" % _prt_name) --- 1654,1658 ---- assert _layout is not None # _prt is verified _section = _layout.find("header") ! if _section is not None: warn("Replacing non-empty page header" " for inlined report \"%s\"" % _prt_name) *************** *** 1660,1664 **** _layout.append(_page_frame.header) _section = _layout.find("footer") ! if _section: warn("Replacing non-empty page footer" " for inlined report \"%s\"" % _prt_name) --- 1661,1665 ---- _layout.append(_page_frame.header) _section = _layout.find("footer") ! if _section is not None: warn("Replacing non-empty page footer" " for inlined report \"%s\"" % _prt_name) |
From: alexander s. <a1...@us...> - 2011-01-07 10:33:40
|
Update of /cvsroot/pythonreports/PythonReports/PythonReports In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv17727 Modified Files: datatypes.py Log Message: fix XML entity escaping Index: datatypes.py =================================================================== RCS file: /cvsroot/pythonreports/PythonReports/PythonReports/datatypes.py,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** datatypes.py 8 Dec 2007 07:11:21 -0000 1.7 --- datatypes.py 7 Jan 2011 10:33:32 -0000 1.8 *************** *** 1,4 **** --- 1,5 ---- """Data types and element primitives, common for templates and printouts""" """History: + 20-dec-2010 [luch] fix XML entity escaping 08-dec-2007 [als] _DataBlock.make_element: escape cdata 23-jun-2007 [als] fix Validator.writexml: since we encode the attributes, *************** *** 1134,1138 **** # encoded data is ASCII. non-encoded must be unicode. _data = unicode(_data) ! _elem.text = saxutils.escape(_data) return _elem --- 1135,1139 ---- # encoded data is ASCII. non-encoded must be unicode. _data = unicode(_data) ! _elem.text = _data return _elem *************** *** 1199,1203 **** # (the text, if any, must be already encoded by .make_element) _text = u"%s<%s>%s%s</%s>%s" % (indent, self.starttag(element), ! _text, _indent2, self.tag, newl) writer.write(_text.encode(encoding, "xmlcharrefreplace")) --- 1200,1204 ---- # (the text, if any, must be already encoded by .make_element) _text = u"%s<%s>%s%s</%s>%s" % (indent, self.starttag(element), ! saxutils.escape(_text), _indent2, self.tag, newl) writer.write(_text.encode(encoding, "xmlcharrefreplace")) |
From: alexander s. <a1...@us...> - 2011-01-07 09:04:36
|
Update of /cvsroot/pythonreports/PythonReports/doc In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv20509 Modified Files: prt.txt Log Message: specify default value for variable calc Index: prt.txt =================================================================== RCS file: /cvsroot/pythonreports/PythonReports/doc/prt.txt,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** prt.txt 7 May 2007 16:12:50 -0000 1.7 --- prt.txt 7 Jan 2011 09:04:28 -0000 1.8 *************** *** 3,12 **** ======================= ! :Version: 0.3.0 ! :Date: 15-dec-2006 .. TODO: variables iterated at start of section ! .. TODO: subreports, backgrounds, outline tags .. contents:: --- 3,12 ---- ======================= ! :Version: 0.4.0 ! :Date: 07-jan-2010 .. TODO: variables iterated at start of section ! .. TODO: outline tags, class names in <style> .. contents:: *************** *** 249,252 **** --- 249,253 ---- ``calc`` O string Calculation function. See `calculation types`_ below. + Default: ``first``. ``iter`` O string How often the expression is evaluated: ``report``, ``page``, ``column``, |
From: alexander s. <a1...@us...> - 2010-07-22 06:31:49
|
Update of /cvsroot/pythonreports/PythonReports In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv29170 Modified Files: setup.py Log Message: development status set to Beta Index: setup.py =================================================================== RCS file: /cvsroot/pythonreports/PythonReports/setup.py,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** setup.py 7 Nov 2006 06:02:24 -0000 1.5 --- setup.py 22 Jul 2010 06:31:40 -0000 1.6 *************** *** 3,6 **** --- 3,7 ---- # FIXME! generate_docs() must be reimplemented as a distutils command """History: + 22-jul-2010 [als] development status set to Beta 07-nov-2006 [als] data_files include source (*.txt) documents 07-nov-2006 [als] fix: rst2html failed when there is no target file *************** *** 104,108 **** maintainer_email="pyt...@li...", classifiers=[ ! "Development Status :: 3 - Alpha", "Environment :: Win32 (MS Windows)", "Environment :: X11 Applications", --- 105,109 ---- maintainer_email="pyt...@li...", classifiers=[ ! "Development Status :: 4 - Beta", "Environment :: Win32 (MS Windows)", "Environment :: X11 Applications", |
From: alexander s. <a1...@us...> - 2010-07-22 06:08:56
|
Update of /cvsroot/pythonreports/PythonReports In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv25606 Modified Files: CHANGES Log Message: version 0.4.0 Index: CHANGES =================================================================== RCS file: /cvsroot/pythonreports/PythonReports/CHANGES,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** CHANGES 22 Dec 2007 17:55:43 -0000 1.8 --- CHANGES 22 Jul 2010 06:08:48 -0000 1.9 *************** *** 2,5 **** --- 2,11 ---- ============================= + version 0.4.0 (22-jul-2010) + --------------------------- + + All API exports moved from the package __init__ to separate module + (avoid loading all support libraries at the time of the package import). + version 0.3.3 (22-dec-2007) --------------------------- |
From: alexander s. <a1...@us...> - 2010-07-22 06:08:27
|
Update of /cvsroot/pythonreports/PythonReports/PythonReports In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv25530 Modified Files: version.py Log Message: version 0.4.0 Index: version.py =================================================================== RCS file: /cvsroot/pythonreports/PythonReports/PythonReports/version.py,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** version.py 22 Dec 2007 17:54:54 -0000 1.8 --- version.py 22 Jul 2010 06:08:19 -0000 1.9 *************** *** 7,12 **** # wouldn't datetime.date object be better? ! __version__ = "0.3.3" ! __date__ = "2007-12-22" __all__ = ["__version__", "__date__"] --- 7,12 ---- # wouldn't datetime.date object be better? ! __version__ = "0.4.0" ! __date__ = "2010-07-22" __all__ = ["__version__", "__date__"] |
From: alexander s. <a1...@us...> - 2010-07-22 06:07:45
|
Update of /cvsroot/pythonreports/PythonReports/PythonReports In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv25373 Modified Files: __init__.py Log Message: all API exports moved to the api module Index: __init__.py =================================================================== RCS file: /cvsroot/pythonreports/PythonReports/PythonReports/__init__.py,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** __init__.py 3 Nov 2006 10:35:26 -0000 1.3 --- __init__.py 22 Jul 2010 06:07:37 -0000 1.4 *************** *** 1,15 **** """PythonReports, Python reporting engine - This module provides user interface to PythonReports. - It exports modules, functions and classes needed to - build a report and format or display report printout. - - Note: loading all available GUI modules at once - may be convenient but is quite time- and memory- - consuming. Users are encouraged to import separate - printout rendering modules directly. - """ """History: 03-nov-2006 [als] import __version__ and __date__ from the version module 01-nov-2006 [als] fix: Builder not imported --- 1,7 ---- """PythonReports, Python reporting engine """ """History: + 22-jul-2010 [als] all API exports moved to the api module 03-nov-2006 [als] import __version__ and __date__ from the version module 01-nov-2006 [als] fix: Builder not imported *************** *** 18,59 **** """ - __all__ = [ - "template", "load_template", - "printout", "load_printout", - "Builder", - ] - - from PythonReports import template, printout - from PythonReports.template import load as load_template - from PythonReports.printout import load as load_printout - from PythonReports.builder import Builder from PythonReports.version import * - try: - from PythonReports import pdf - from PythonReports.pdf import PdfWriter, write as write_pdf - except ImportError: - pass - else: - __all__.extend(("pdf", "PdfWriter", "write_pdf")) - - try: - from PythonReports import Tk - from PythonReports.Tk import PreviewWidget as TkPreviewWidget - from PythonReports.Tk import PreviewWindow as TkPreviewWindow - except ImportError: - pass - else: - __all__.extend(("Tk", "TkPreviewWidget", "TkPreviewWindow")) - - try: - from PythonReports import wxPrint - from PythonReports.wxPrint import Printout as wxPrintout - from PythonReports.wxPrint import Preview as wxPreview - from PythonReports.wxPrint import PrintApp as wxPrintApp - except ImportError: - pass - else: - __all__.extend(("wxPrint", "wxPrintout", "wxPreview", "wxPrintApp")) - # vim: set et sts=4 sw=4 : --- 10,14 ---- |
From: alexander s. <a1...@us...> - 2010-07-22 06:07:12
|
Update of /cvsroot/pythonreports/PythonReports/PythonReports In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv25296 Added Files: api.py Log Message: PythonReports Application Program Interface --- NEW FILE: api.py --- """PythonReports Application Program Interface This module exports modules, functions and classes needed to build a report and format or display report printout. """ """History: 22-jul-2010 [als] moved from __init__.py """ __version__ = "$Revision: 1.1 $"[11:-2] __date__ = "$Date: 2010/07/22 06:07:02 $"[7:-2] __all__ = [ "template", "load_template", "printout", "load_printout", "Builder", ] from PythonReports import template, printout from PythonReports.template import load as load_template from PythonReports.printout import load as load_printout from PythonReports.builder import Builder from PythonReports.version import * try: from PythonReports import pdf from PythonReports.pdf import PdfWriter, write as write_pdf except ImportError: pass else: __all__.extend(("pdf", "PdfWriter", "write_pdf")) try: from PythonReports import Tk from PythonReports.Tk import PreviewWidget as TkPreviewWidget from PythonReports.Tk import PreviewWindow as TkPreviewWindow except ImportError: pass else: __all__.extend(("Tk", "TkPreviewWidget", "TkPreviewWindow")) try: from PythonReports import wxPrint from PythonReports.wxPrint import Printout as wxPrintout from PythonReports.wxPrint import Preview as wxPreview from PythonReports.wxPrint import PrintApp as wxPrintApp except ImportError: pass else: __all__.extend(("wxPrint", "wxPrintout", "wxPreview", "wxPrintApp")) # vim: set et sts=4 sw=4 : |
From: alexander s. <a1...@us...> - 2009-04-29 07:25:15
|
Update of /cvsroot/pythonreports/PythonReports/PythonReports In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv3474 Modified Files: design.py Log Message: compatibility fix for python 2.5/2.6 Index: design.py =================================================================== RCS file: /cvsroot/pythonreports/PythonReports/PythonReports/design.py,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** design.py 24 Jun 2007 13:04:21 -0000 1.18 --- design.py 29 Apr 2009 07:25:07 -0000 1.19 *************** *** 5,8 **** --- 5,9 ---- """PythonReports Template Designer""" """History (most recent first): + 29-apr-2009 [als] compatibility fix for python 2.5/2.6 24-jun-2007 [als] update window title after save (filename may change) 08-dec-2006 [als] invalidate .current_node when new file is loaded; *************** *** 1252,1256 **** # including Message dialogs. Check update when the first # child of the tree widget gets destroyed, ignore all others. ! if not self.terminated and event.widget.startswith(str(self.tree)): # some of the window widgets have been destroyed yet # and the window looks weird. hide it away. --- 1253,1258 ---- # including Message dialogs. Check update when the first # child of the tree widget gets destroyed, ignore all others. ! if not self.terminated \ ! and str(event.widget).startswith(str(self.tree)): # some of the window widgets have been destroyed yet # and the window looks weird. hide it away. |
From: alexander s. <a1...@us...> - 2009-03-11 07:42:57
|
Update of /cvsroot/pythonreports/htdocs In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv8670 Modified Files: python-powered-w-120x40.png Log Message: center horizontally Index: python-powered-w-120x40.png =================================================================== RCS file: /cvsroot/pythonreports/htdocs/python-powered-w-120x40.png,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 Binary files /tmp/cvsgiMMKH and /tmp/cvs0StM8g differ |
From: alexander s. <a1...@us...> - 2009-03-11 07:33:43
|
Update of /cvsroot/pythonreports/htdocs In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv7848 Modified Files: header.shtml Log Message: python logo size changed to 120 pixels Index: header.shtml =================================================================== RCS file: /cvsroot/pythonreports/htdocs/header.shtml,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** header.shtml 11 Mar 2009 07:14:18 -0000 1.2 --- header.shtml 11 Mar 2009 07:33:19 -0000 1.3 *************** *** 22,27 **** </div> <div class="logos"> ! <a href="http://www.python.org/"><img src="python-powered-w-125x40.png" ! width="125" height="40" alt="[Python Powered]" /></a> <br /> --- 22,27 ---- </div> <div class="logos"> ! <a href="http://www.python.org/"><img src="python-powered-w-120x40.png" ! width="120" height="40" alt="[Python Powered]" /></a> <br /> |
From: alexander s. <a1...@us...> - 2009-03-11 07:32:21
|
Update of /cvsroot/pythonreports/htdocs In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv7767 Removed Files: python-powered-w-125x40.png Log Message: replaced with python-powered-w-120x40.png --- python-powered-w-125x40.png DELETED --- |
From: alexander s. <a1...@us...> - 2009-03-11 07:31:50
|
Update of /cvsroot/pythonreports/htdocs In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv7713 Added Files: python-powered-w-120x40.png Log Message: "Python Powered" logo padded with transparency to match the width of sf.net logo --- NEW FILE: python-powered-w-120x40.png --- (This appears to be a binary file; contents omitted.) |
From: alexander s. <a1...@us...> - 2009-03-11 07:14:47
|
Update of /cvsroot/pythonreports/htdocs In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv6195 Modified Files: header.shtml Log Message: update for new sf.net logo Index: header.shtml =================================================================== RCS file: /cvsroot/pythonreports/htdocs/header.shtml,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** header.shtml 25 Feb 2007 05:42:24 -0000 1.1.1.1 --- header.shtml 11 Mar 2009 07:14:18 -0000 1.2 *************** *** 26,32 **** /></a> <br /> ! <a href="http://sourceforge.net"><img ! src="http://sflogo.sourceforge.net/sflogo.php?group_id=5811&type=2" ! width="125" height="37" alt="SourceForge.net Logo" /></a> </div> --- 26,33 ---- /></a> <br /> ! <a href="http://sourceforge.net/projects/pythonreports"><img ! src="http://sflogo.sourceforge.net/sflogo.php?group_id=181233&type=12" ! width="120" height="30" border="0" ! alt="Get PythonReports at SourceForge.net. Fast, secure and Free Open Source software downloads" /></a> </div> |
From: alexander s. <a1...@us...> - 2007-12-22 17:55:40
|
Update of /cvsroot/pythonreports/PythonReports In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3129 Modified Files: CHANGES Log Message: version 0.3.3 Index: CHANGES =================================================================== RCS file: /cvsroot/pythonreports/PythonReports/CHANGES,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** CHANGES 16 Dec 2007 07:54:06 -0000 1.7 --- CHANGES 22 Dec 2007 17:55:43 -0000 1.8 *************** *** 2,5 **** --- 2,11 ---- ============================= + version 0.3.3 (22-dec-2007) + --------------------------- + + Add Ubuntu (Feisty) default TTF location to the font search path + (sf bug 1856408). + version 0.3.2 (16-dec-2007) --------------------------- |
From: alexander s. <a1...@us...> - 2007-12-22 17:54:52
|
Update of /cvsroot/pythonreports/PythonReports/PythonReports In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2278 Modified Files: version.py Log Message: version 0.3.3 Index: version.py =================================================================== RCS file: /cvsroot/pythonreports/PythonReports/PythonReports/version.py,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** version.py 16 Dec 2007 07:53:15 -0000 1.7 --- version.py 22 Dec 2007 17:54:54 -0000 1.8 *************** *** 7,12 **** # wouldn't datetime.date object be better? ! __version__ = "0.3.2" ! __date__ = "2007-12-16" __all__ = ["__version__", "__date__"] --- 7,12 ---- # wouldn't datetime.date object be better? ! __version__ = "0.3.3" ! __date__ = "2007-12-22" __all__ = ["__version__", "__date__"] |
From: alexander s. <a1...@us...> - 2007-12-22 17:54:14
|
Update of /cvsroot/pythonreports/PythonReports/PythonReports In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1800 Modified Files: fonts.py Log Message: add Ubuntu fonts location to SYSFONTPATHS (sf bug 1856408) Index: fonts.py =================================================================== RCS file: /cvsroot/pythonreports/PythonReports/PythonReports/fonts.py,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** fonts.py 6 Dec 2006 16:46:22 -0000 1.2 --- fonts.py 22 Dec 2007 17:54:15 -0000 1.3 *************** *** 1,4 **** --- 1,5 ---- """Fonts registry""" """History (most recent first): + 22-dec-2007 [als] add Ubuntu fonts location to SYSFONTPATHS (sf bug 1856408) 27-sep-2006 [als] support different system font path variants 26-sep-2006 [als] add font paths on windows (required by reportlab) *************** *** 21,24 **** --- 22,26 ---- "/usr/X11R6/lib/X11/fonts/TrueType", "/usr/share/fonts/corefonts", # Gentoo Linux (TM) + "/usr/share/fonts/truetype/msttcorefonts", # Ubuntu (Feisty) ] |
From: alexander s. <a1...@us...> - 2007-12-16 07:54:02
|
Update of /cvsroot/pythonreports/PythonReports In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29803 Modified Files: CHANGES Log Message: version 0.3.2 Index: CHANGES =================================================================== RCS file: /cvsroot/pythonreports/PythonReports/CHANGES,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** CHANGES 24 Jun 2007 13:14:34 -0000 1.6 --- CHANGES 16 Dec 2007 07:54:06 -0000 1.7 *************** *** 2,5 **** --- 2,10 ---- ============================= + version 0.3.2 (16-dec-2007) + --------------------------- + + Fix: escape ampersands and angle brackets in data blocks. + version 0.3.1 (24-jun-2007) --------------------------- |
From: alexander s. <a1...@us...> - 2007-12-16 07:53:16
|
Update of /cvsroot/pythonreports/PythonReports/PythonReports In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29430 Modified Files: version.py Log Message: version 0.3.2 Index: version.py =================================================================== RCS file: /cvsroot/pythonreports/PythonReports/PythonReports/version.py,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** version.py 24 Jun 2007 13:11:27 -0000 1.6 --- version.py 16 Dec 2007 07:53:15 -0000 1.7 *************** *** 7,12 **** # wouldn't datetime.date object be better? ! __version__ = "0.3.1" ! __date__ = "2007-06-24" __all__ = ["__version__", "__date__"] --- 7,12 ---- # wouldn't datetime.date object be better? ! __version__ = "0.3.2" ! __date__ = "2007-12-16" __all__ = ["__version__", "__date__"] |
From: alexander s. <a1...@us...> - 2007-12-08 07:11:24
|
Update of /cvsroot/pythonreports/PythonReports/PythonReports In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27942 Modified Files: datatypes.py Log Message: _DataBlock.make_element: escape cdata Index: datatypes.py =================================================================== RCS file: /cvsroot/pythonreports/PythonReports/PythonReports/datatypes.py,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** datatypes.py 23 Jun 2007 16:16:46 -0000 1.6 --- datatypes.py 8 Dec 2007 07:11:21 -0000 1.7 *************** *** 1,4 **** --- 1,5 ---- """Data types and element primitives, common for templates and printouts""" """History: + 08-dec-2007 [als] _DataBlock.make_element: escape cdata 23-jun-2007 [als] fix Validator.writexml: since we encode the attributes, don't convert output data back to unicode (that would *************** *** 1133,1137 **** # encoded data is ASCII. non-encoded must be unicode. _data = unicode(_data) ! _elem.text = _data return _elem --- 1134,1138 ---- # encoded data is ASCII. non-encoded must be unicode. _data = unicode(_data) ! _elem.text = saxutils.escape(_data) return _elem |
From: alexander s. <a1...@us...> - 2007-11-25 08:48:42
|
Update of /cvsroot/pythonreports/PythonReports/PythonReports In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3155 Modified Files: barcode.py Log Message: fix default value for errors parameter to __call__ Index: barcode.py =================================================================== RCS file: /cvsroot/pythonreports/PythonReports/PythonReports/barcode.py,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** barcode.py 6 Dec 2006 15:49:57 -0000 1.3 --- barcode.py 25 Nov 2007 08:48:41 -0000 1.4 *************** *** 1,4 **** --- 1,5 ---- """BarCode routines""" """History: + 25-nov-2007 [als] fix default value for errors parameter to __call__ 05-dec-2006 [als] sweep pylint warnings 07-nov-2006 [als] fix doctests (no quet zones encoded) *************** *** 45,49 **** QZ_MILS = 250 ! def __call__(self, text, errors="stict"): """Encode passed text, return sequence of stripe widths --- 46,50 ---- QZ_MILS = 250 ! def __call__(self, text, errors="strict"): """Encode passed text, return sequence of stripe widths *************** *** 223,227 **** return text ! def __call__(self, text, errors="stict"): # ensure that the text contains only digits _text = self._clean(text, errors) --- 224,228 ---- return text ! def __call__(self, text, errors="strict"): # ensure that the text contains only digits _text = self._clean(text, errors) *************** *** 386,390 **** return _rv ! def __call__(self, text, errors="stict"): _codes = self._encode_chars(text, errors) _widths = (1, self.w2n) --- 387,391 ---- return _rv ! def __call__(self, text, errors="strict"): _codes = self._encode_chars(text, errors) _widths = (1, self.w2n) *************** *** 530,533 **** --- 531,541 ---- """Encode text with character set A or B""" _rv = [] + # Note: the speed may be improved by moving try/except + # outside the loop (suggested by yarcat): + # try: + # for _char in text: + # _rv.append(chars.index(_char)) + # except ValueError: + # pass for _char in text: try: *************** *** 585,589 **** return _seq ! def __call__(self, text, errors="stict"): _seq = self._encode(self._clean(text, errors)) # replace code selection character with start character --- 593,597 ---- return _seq ! def __call__(self, text, errors="strict"): _seq = self._encode(self._clean(text, errors)) # replace code selection character with start character |
From: alexander s. <a1...@us...> - 2007-06-24 13:14:40
|
Update of /cvsroot/pythonreports/PythonReports In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31388 Modified Files: CHANGES Log Message: version 0.3.1 Index: CHANGES =================================================================== RCS file: /cvsroot/pythonreports/PythonReports/CHANGES,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** CHANGES 19 Dec 2006 16:55:47 -0000 1.5 --- CHANGES 24 Jun 2007 13:14:34 -0000 1.6 *************** *** 2,5 **** --- 2,15 ---- ============================= + version 0.3.1 (24-jun-2007) + --------------------------- + + Fixes: + + - error saving a template with national letters in element attributes + (encountered with the "format" attribute of a "field" element) + - designer window title not updated when the template file name + is changed by the save operation + version 0.3.0 (19-dec-2006) --------------------------- |
From: alexander s. <a1...@us...> - 2007-06-24 13:11:35
|
Update of /cvsroot/pythonreports/PythonReports/PythonReports In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30210 Modified Files: version.py Log Message: version 0.3.1 Index: version.py =================================================================== RCS file: /cvsroot/pythonreports/PythonReports/PythonReports/version.py,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** version.py 19 Dec 2006 16:51:11 -0000 1.5 --- version.py 24 Jun 2007 13:11:27 -0000 1.6 *************** *** 7,12 **** # wouldn't datetime.date object be better? ! __version__ = "0.3.0" ! __date__ = "2006-12-19" __all__ = ["__version__", "__date__"] --- 7,12 ---- # wouldn't datetime.date object be better? ! __version__ = "0.3.1" ! __date__ = "2007-06-24" __all__ = ["__version__", "__date__"] |