[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gnue/reports/src/adapters/filters/Standard/Base...
From: |
Jason Cater |
Subject: |
gnue/reports/src/adapters/filters/Standard/Base... |
Date: |
Tue, 15 Apr 2003 18:33:00 -0400 |
CVSROOT: /cvsroot/gnue
Module name: gnue
Changes by: Jason Cater <address@hidden> 03/04/15 18:32:49
Modified files:
reports/src/adapters/filters/Standard/Base: Parser.py
ParserTypes.py
reports/src/adapters/filters/Standard/Base/Helpers: Color.py
Measurement.py
TextMeasurement.py
reports/src/adapters/filters/Standard/Base/Objects: BaseObj.py
ContainerObj.py
FormattableObject.py
PositionableObj.py
Report.py
Section.py
reports/src/adapters/filters/Standard/Base/psutils:
FontMetrics.py
PSOutputStream.py
PrinterDefinition.py
reports/src/adapters/filters/Standard/Base/styles: Parser.py
StyleHandler.py
reports/src/adapters/filters/Standard/Base/styles/Objects:
Styles.py
TextStyle.py
Log message:
added __all__ notation to modules to cleanup their exported functions
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/reports/src/adapters/filters/Standard/Base/Parser.py.diff?tr1=1.7&tr2=1.8&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/reports/src/adapters/filters/Standard/Base/ParserTypes.py.diff?tr1=1.2&tr2=1.3&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/reports/src/adapters/filters/Standard/Base/Helpers/Color.py.diff?tr1=1.1&tr2=1.2&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/reports/src/adapters/filters/Standard/Base/Helpers/Measurement.py.diff?tr1=1.2&tr2=1.3&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/reports/src/adapters/filters/Standard/Base/Helpers/TextMeasurement.py.diff?tr1=1.2&tr2=1.3&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/reports/src/adapters/filters/Standard/Base/Objects/BaseObj.py.diff?tr1=1.2&tr2=1.3&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/reports/src/adapters/filters/Standard/Base/Objects/ContainerObj.py.diff?tr1=1.1&tr2=1.2&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/reports/src/adapters/filters/Standard/Base/Objects/FormattableObject.py.diff?tr1=1.1&tr2=1.2&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/reports/src/adapters/filters/Standard/Base/Objects/PositionableObj.py.diff?tr1=1.1&tr2=1.2&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/reports/src/adapters/filters/Standard/Base/Objects/Report.py.diff?tr1=1.1&tr2=1.2&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/reports/src/adapters/filters/Standard/Base/Objects/Section.py.diff?tr1=1.3&tr2=1.4&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/reports/src/adapters/filters/Standard/Base/psutils/FontMetrics.py.diff?tr1=1.4&tr2=1.5&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/reports/src/adapters/filters/Standard/Base/psutils/PSOutputStream.py.diff?tr1=1.2&tr2=1.3&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/reports/src/adapters/filters/Standard/Base/psutils/PrinterDefinition.py.diff?tr1=1.9&tr2=1.10&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/reports/src/adapters/filters/Standard/Base/styles/Parser.py.diff?tr1=1.2&tr2=1.3&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/reports/src/adapters/filters/Standard/Base/styles/StyleHandler.py.diff?tr1=1.2&tr2=1.3&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/reports/src/adapters/filters/Standard/Base/styles/Objects/Styles.py.diff?tr1=1.1&tr2=1.2&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/reports/src/adapters/filters/Standard/Base/styles/Objects/TextStyle.py.diff?tr1=1.1&tr2=1.2&r1=text&r2=text
Patches:
Index: gnue/reports/src/adapters/filters/Standard/Base/Helpers/Color.py
diff -c gnue/reports/src/adapters/filters/Standard/Base/Helpers/Color.py:1.1
gnue/reports/src/adapters/filters/Standard/Base/Helpers/Color.py:1.2
*** gnue/reports/src/adapters/filters/Standard/Base/Helpers/Color.py:1.1
Tue Mar 4 18:19:52 2003
--- gnue/reports/src/adapters/filters/Standard/Base/Helpers/Color.py Tue Apr
15 18:32:49 2003
***************
*** 27,32 ****
--- 27,34 ----
# NOTES:
#
+ __all__ = ['Color']
+
from types import *
Index: gnue/reports/src/adapters/filters/Standard/Base/Helpers/Measurement.py
diff -c
gnue/reports/src/adapters/filters/Standard/Base/Helpers/Measurement.py:1.2
gnue/reports/src/adapters/filters/Standard/Base/Helpers/Measurement.py:1.3
*** gnue/reports/src/adapters/filters/Standard/Base/Helpers/Measurement.py:1.2
Fri Apr 4 18:26:07 2003
--- gnue/reports/src/adapters/filters/Standard/Base/Helpers/Measurement.py
Tue Apr 15 18:32:49 2003
***************
*** 28,33 ****
--- 28,35 ----
# NOTES:
#
+ __all__ = ['Measurement']
+
import string
class Measurement:
Index:
gnue/reports/src/adapters/filters/Standard/Base/Helpers/TextMeasurement.py
diff -c
gnue/reports/src/adapters/filters/Standard/Base/Helpers/TextMeasurement.py:1.2
gnue/reports/src/adapters/filters/Standard/Base/Helpers/TextMeasurement.py:1.3
***
gnue/reports/src/adapters/filters/Standard/Base/Helpers/TextMeasurement.py:1.2
Fri Apr 4 18:26:07 2003
--- gnue/reports/src/adapters/filters/Standard/Base/Helpers/TextMeasurement.py
Tue Apr 15 18:32:49 2003
***************
*** 27,32 ****
--- 27,34 ----
# NOTES:
#
+ __all__ = ['TextMeasurement']
+
from types import *
import string
from Measurement import Measurement
Index: gnue/reports/src/adapters/filters/Standard/Base/Objects/BaseObj.py
diff -c gnue/reports/src/adapters/filters/Standard/Base/Objects/BaseObj.py:1.2
gnue/reports/src/adapters/filters/Standard/Base/Objects/BaseObj.py:1.3
*** gnue/reports/src/adapters/filters/Standard/Base/Objects/BaseObj.py:1.2
Mon Feb 17 02:32:54 2003
--- gnue/reports/src/adapters/filters/Standard/Base/Objects/BaseObj.py Tue Apr
15 18:32:49 2003
***************
*** 28,33 ****
--- 28,34 ----
# NOTES:
#
+ __all__ = ['BaseObj']
from gnue.common.definitions.GObjects import GObj
Index: gnue/reports/src/adapters/filters/Standard/Base/Objects/ContainerObj.py
diff -c
gnue/reports/src/adapters/filters/Standard/Base/Objects/ContainerObj.py:1.1
gnue/reports/src/adapters/filters/Standard/Base/Objects/ContainerObj.py:1.2
*** gnue/reports/src/adapters/filters/Standard/Base/Objects/ContainerObj.py:1.1
Tue Jan 7 01:51:30 2003
--- gnue/reports/src/adapters/filters/Standard/Base/Objects/ContainerObj.py
Tue Apr 15 18:32:49 2003
***************
*** 28,33 ****
--- 28,34 ----
# NOTES:
#
+ __all__ = ['ContainerObj']
from PositionableObj import PositionableObj
Index:
gnue/reports/src/adapters/filters/Standard/Base/Objects/FormattableObject.py
diff -c
gnue/reports/src/adapters/filters/Standard/Base/Objects/FormattableObject.py:1.1
gnue/reports/src/adapters/filters/Standard/Base/Objects/FormattableObject.py:1.2
***
gnue/reports/src/adapters/filters/Standard/Base/Objects/FormattableObject.py:1.1
Tue Mar 4 10:39:21 2003
---
gnue/reports/src/adapters/filters/Standard/Base/Objects/FormattableObject.py
Tue Apr 15 18:32:49 2003
***************
*** 28,36 ****
# NOTES:
#
from BaseObj import BaseObj
! class PositionableObj(BaseObj):
pass
--- 28,37 ----
# NOTES:
#
+ __all__ = ['FormattableObj']
from BaseObj import BaseObj
! class FormattableObj(BaseObj):
pass
Index:
gnue/reports/src/adapters/filters/Standard/Base/Objects/PositionableObj.py
diff -c
gnue/reports/src/adapters/filters/Standard/Base/Objects/PositionableObj.py:1.1
gnue/reports/src/adapters/filters/Standard/Base/Objects/PositionableObj.py:1.2
***
gnue/reports/src/adapters/filters/Standard/Base/Objects/PositionableObj.py:1.1
Tue Jan 7 01:51:30 2003
--- gnue/reports/src/adapters/filters/Standard/Base/Objects/PositionableObj.py
Tue Apr 15 18:32:49 2003
***************
*** 28,33 ****
--- 28,34 ----
# NOTES:
#
+ __all__ = ['PositionableObj']
from BaseObj import BaseObj
Index: gnue/reports/src/adapters/filters/Standard/Base/Objects/Report.py
diff -c gnue/reports/src/adapters/filters/Standard/Base/Objects/Report.py:1.1
gnue/reports/src/adapters/filters/Standard/Base/Objects/Report.py:1.2
*** gnue/reports/src/adapters/filters/Standard/Base/Objects/Report.py:1.1
Tue Jan 7 01:51:30 2003
--- gnue/reports/src/adapters/filters/Standard/Base/Objects/Report.py Tue Apr
15 18:32:49 2003
***************
*** 28,33 ****
--- 28,34 ----
# NOTES:
#
+ __all__ = ['Report']
from BaseObj import BaseObj
Index: gnue/reports/src/adapters/filters/Standard/Base/Objects/Section.py
diff -c gnue/reports/src/adapters/filters/Standard/Base/Objects/Section.py:1.3
gnue/reports/src/adapters/filters/Standard/Base/Objects/Section.py:1.4
*** gnue/reports/src/adapters/filters/Standard/Base/Objects/Section.py:1.3
Tue Mar 4 10:39:21 2003
--- gnue/reports/src/adapters/filters/Standard/Base/Objects/Section.py Tue Apr
15 18:32:49 2003
***************
*** 28,49 ****
# NOTES:
#
from ContainerObj import ContainerObj
from gnue.common.definitions.GParserHelpers import ParserMultiplexor
! class Section(ContainerObj):
pass
# Used by GParser to get the correct Section type
! class SectionPlexor(ParserMultiplexor):
! def getClass(self):
return SectionPlexMap.get(self.mode,Section)
!
!
!
! SectionPlexMap = {
! 'freeflow': Section,
}
!
--- 28,50 ----
# NOTES:
#
+ __all__ = ['Section','SectionPlexor']
from ContainerObj import ContainerObj
from gnue.common.definitions.GParserHelpers import ParserMultiplexor
! class Section(ContainerObj):
pass
# Used by GParser to get the correct Section type
! class SectionPlexor(ParserMultiplexor):
! def getClass(self):
return SectionPlexMap.get(self.mode,Section)
!
!
!
! SectionPlexMap = {
! 'freeflow': Section,
}
!
Index: gnue/reports/src/adapters/filters/Standard/Base/Parser.py
diff -c gnue/reports/src/adapters/filters/Standard/Base/Parser.py:1.7
gnue/reports/src/adapters/filters/Standard/Base/Parser.py:1.8
*** gnue/reports/src/adapters/filters/Standard/Base/Parser.py:1.7 Mon Feb
17 02:32:54 2003
--- gnue/reports/src/adapters/filters/Standard/Base/Parser.py Tue Apr 15
18:32:49 2003
***************
*** 28,33 ****
--- 28,34 ----
# NOTES:
#
+ __all__ = ['loadFile', 'xmlReportHandler', 'getXMLelements']
from gnue.common.datasources import GDataSource
from gnue.common.formatting import GTypecast
Index: gnue/reports/src/adapters/filters/Standard/Base/ParserTypes.py
diff -c gnue/reports/src/adapters/filters/Standard/Base/ParserTypes.py:1.2
gnue/reports/src/adapters/filters/Standard/Base/ParserTypes.py:1.3
*** gnue/reports/src/adapters/filters/Standard/Base/ParserTypes.py:1.2 Fri Apr
4 18:26:07 2003
--- gnue/reports/src/adapters/filters/Standard/Base/ParserTypes.py Tue Apr
15 18:32:49 2003
***************
*** 31,36 ****
--- 31,39 ----
# Used by GParser XmlElements
#
+ __all__ = [ 'measurement', 'fixedmeasurement', 'textmeasurement',
+ 'color', 'percentage' ]
+
from Helpers.Measurement import Measurement
from Helpers.TextMeasurement import TextMeasurement
from Helpers.Color import Color
Index: gnue/reports/src/adapters/filters/Standard/Base/psutils/FontMetrics.py
diff -c
gnue/reports/src/adapters/filters/Standard/Base/psutils/FontMetrics.py:1.4
gnue/reports/src/adapters/filters/Standard/Base/psutils/FontMetrics.py:1.5
*** gnue/reports/src/adapters/filters/Standard/Base/psutils/FontMetrics.py:1.4
Tue Mar 4 18:19:52 2003
--- gnue/reports/src/adapters/filters/Standard/Base/psutils/FontMetrics.py
Tue Apr 15 18:32:49 2003
***************
*** 27,32 ****
--- 27,34 ----
# NOTES:
#
+ __all__ = ['FontMetrics']
+
import string
from gnue.common.utils.FileUtils import openResource
Index: gnue/reports/src/adapters/filters/Standard/Base/psutils/PSOutputStream.py
diff -c
gnue/reports/src/adapters/filters/Standard/Base/psutils/PSOutputStream.py:1.2
gnue/reports/src/adapters/filters/Standard/Base/psutils/PSOutputStream.py:1.3
***
gnue/reports/src/adapters/filters/Standard/Base/psutils/PSOutputStream.py:1.2
Tue Mar 4 18:19:52 2003
--- gnue/reports/src/adapters/filters/Standard/Base/psutils/PSOutputStream.py
Tue Apr 15 18:32:49 2003
***************
*** 27,32 ****
--- 27,33 ----
# NOTES:
#
+ __all__ = ['PS2OutputStream']
class PS2OutputStream:
Index:
gnue/reports/src/adapters/filters/Standard/Base/psutils/PrinterDefinition.py
diff -c
gnue/reports/src/adapters/filters/Standard/Base/psutils/PrinterDefinition.py:1.9
gnue/reports/src/adapters/filters/Standard/Base/psutils/PrinterDefinition.py:1.10
***
gnue/reports/src/adapters/filters/Standard/Base/psutils/PrinterDefinition.py:1.9
Tue Apr 15 18:06:32 2003
---
gnue/reports/src/adapters/filters/Standard/Base/psutils/PrinterDefinition.py
Tue Apr 15 18:32:49 2003
***************
*** 28,33 ****
--- 28,35 ----
# NOTES:
# Spec: http://partners.adobe.com/asn/developer/pdfs/tn/5003.PPD_Spec_v4.3.pdf
+ __all__ = ['PrinterDefinition','InvalidPPDFormat']
+
import string, re
from gnue.common.utils.FileUtils import openResource
***************
*** 257,260 ****
if __name__ == '__main__':
import sys
! PrinterDefinition(sys.argv[1])
\ No newline at end of file
--- 259,262 ----
if __name__ == '__main__':
import sys
! PrinterDefinition(sys.argv[1])
Index: gnue/reports/src/adapters/filters/Standard/Base/styles/Objects/Styles.py
diff -c
gnue/reports/src/adapters/filters/Standard/Base/styles/Objects/Styles.py:1.1
gnue/reports/src/adapters/filters/Standard/Base/styles/Objects/Styles.py:1.2
***
gnue/reports/src/adapters/filters/Standard/Base/styles/Objects/Styles.py:1.1
Thu Apr 3 18:20:28 2003
--- gnue/reports/src/adapters/filters/Standard/Base/styles/Objects/Styles.py
Tue Apr 15 18:32:49 2003
***************
*** 26,31 ****
--- 26,32 ----
# NOTES:
#
+ __all__ = ['Styles']
from gnue.common.definitions.GObjects import GObj
Index:
gnue/reports/src/adapters/filters/Standard/Base/styles/Objects/TextStyle.py
diff -c
gnue/reports/src/adapters/filters/Standard/Base/styles/Objects/TextStyle.py:1.1
gnue/reports/src/adapters/filters/Standard/Base/styles/Objects/TextStyle.py:1.2
***
gnue/reports/src/adapters/filters/Standard/Base/styles/Objects/TextStyle.py:1.1
Thu Apr 3 18:20:28 2003
--- gnue/reports/src/adapters/filters/Standard/Base/styles/Objects/TextStyle.py
Tue Apr 15 18:32:49 2003
***************
*** 26,31 ****
--- 26,32 ----
# NOTES:
#
+ __all__ = ['TextStyle']
from gnue.common.definitions.GObjects import GObj
Index: gnue/reports/src/adapters/filters/Standard/Base/styles/Parser.py
diff -c gnue/reports/src/adapters/filters/Standard/Base/styles/Parser.py:1.2
gnue/reports/src/adapters/filters/Standard/Base/styles/Parser.py:1.3
*** gnue/reports/src/adapters/filters/Standard/Base/styles/Parser.py:1.2
Fri Apr 4 18:26:07 2003
--- gnue/reports/src/adapters/filters/Standard/Base/styles/Parser.py Tue Apr
15 18:32:49 2003
***************
*** 28,33 ****
--- 28,34 ----
# NOTES:
#
+ __all__ = ['loadFile','getXMLelements','XmlStyleHandler']
from gnue.common.datasources import GDataSource
from gnue.common.formatting import GTypecast
Index: gnue/reports/src/adapters/filters/Standard/Base/styles/StyleHandler.py
diff -c
gnue/reports/src/adapters/filters/Standard/Base/styles/StyleHandler.py:1.2
gnue/reports/src/adapters/filters/Standard/Base/styles/StyleHandler.py:1.3
*** gnue/reports/src/adapters/filters/Standard/Base/styles/StyleHandler.py:1.2
Thu Apr 3 18:20:28 2003
--- gnue/reports/src/adapters/filters/Standard/Base/styles/StyleHandler.py
Tue Apr 15 18:32:49 2003
***************
*** 27,32 ****
--- 27,34 ----
# NOTES:
#
+ __all__ = ['StyleHandler']
+
import Parser
class StyleHandler:
- gnue/reports/src/adapters/filters/Standard/Base..., Jason Cater, 2003/04/03
- gnue/reports/src/adapters/filters/Standard/Base..., Jason Cater, 2003/04/03
- gnue/reports/src/adapters/filters/Standard/Base..., Jason Cater, 2003/04/07
- gnue/reports/src/adapters/filters/Standard/Base..., Jason Cater, 2003/04/07
- gnue/reports/src/adapters/filters/Standard/Base..., Jason Cater, 2003/04/07
- gnue/reports/src/adapters/filters/Standard/Base..., Jason Cater, 2003/04/07
- gnue/reports/src/adapters/filters/Standard/Base...,
Jason Cater <=
- gnue/reports/src/adapters/filters/Standard/Base..., Jason Cater, 2003/04/22