You can subscribe to this list here.
2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(57) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2003 |
Jan
(44) |
Feb
(151) |
Mar
(131) |
Apr
(171) |
May
(125) |
Jun
(43) |
Jul
(26) |
Aug
(19) |
Sep
(10) |
Oct
|
Nov
(4) |
Dec
(28) |
2004 |
Jan
(134) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: <de...@us...> - 2004-01-07 01:48:04
|
Update of /cvsroot/pymerase/smw/smw/examples/scripts In directory sc8-pr-cvs1:/tmp/cvs-serv32238/smw/examples/scripts Added Files: capitalize.spy encapsulate.spy enumtr.spy vUML.spy Log Message: Imported version of SMW downloaded on 2003 Apr 14 --- NEW FILE: capitalize.spy --- import string for e in self.ownedElement.select(lambda c: c.oclIsKindOf(Class)): e.name=string.capitalize(e.name) --- NEW FILE: encapsulate.spy --- for f in self.feature.select(lambda c: c.oclIsKindOf(Attribute)): if f.visibility==VisibilityKind.vk_public: f.visibility=VisibilityKind.vk_private self.feature.insert( # add a publc accessor (getter) Operation( name="get"+string.capitalize(f.name), visibility=VisibilityKind.vk_public, parameter=[ Parameter( name="result",type=f.type, kind=ParameterDirectionKind.pdk_return) ], specification="return "+f.name ) ) self.feature.insert( # and add a public mutator (setter) Operation( name="set"+string.capitalize(f.name), visibility=VisibilityKind.vk_public, parameter=[ Parameter( name="newValue",type=f.type, kind=ParameterDirectionKind.pdk_in) ], specification=f.name+" = newValue" ) ) --- NEW FILE: enumtr.spy --- for t in self.transitions: if t.trigger: |Transition from | t.source.name | to | t.target.name | triggered by | t.trigger.signal.name --- NEW FILE: vUML.spy --- def encode(s): return s.container.subvertex.index(s) def translateClassToSpin(c): top=c.behavior[0].top initial=encode( top.subvertex.select( lambda s: s.oclIsKindOf(Pseudostate) and \ s.kind==PseudostateKind.pk_initial)[0].outgoing[0].target) # code for the statechart | /* Behavior of class |c.name| */ | | proctype |c.name|( byte id ; chan input ) { | | byte event=0; /* current event */ | | byte state= |initial| ; /* current state */ | | input ? event; | | if | for s in top.subvertex.select(lambda s: s.oclIsKindOf(SimpleState)): for t in s.outgoing: | :: state == |encode(t.source)| && | | event== EVENT_|t.trigger.signal.name| -> | | /* enter |t.target.name| */ | | state = |encode(t.target)| | | :: else | | fi; | | } /* end of |c.name| */ | translateClassToSpin(self) |
From: <de...@us...> - 2004-01-07 01:48:03
|
Update of /cvsroot/pymerase/smw/smw/examples/DiagramTests In directory sc8-pr-cvs1:/tmp/cvs-serv32238/smw/examples/DiagramTests Added Files: ActivityDiagram-PrepareBeverage.smw CollaborationDiagram-Linedraw.smw Core Package - Backbone.smw SequenceDiagram-Library.smw StateChart-Loaning.smw UseCase1.smw Log Message: Imported version of SMW downloaded on 2003 Apr 14 --- NEW FILE: ActivityDiagram-PrepareBeverage.smw --- SMW_MODEL METAMODEL smw.metamodel.UML14 PROFILE UML14 (ismw.metamodel.UML14 Model p1 (dp2 S'isAbstract' p3 I0 sS'isSpecification' p4 I0 sS'__uniqueID__' p5 S'DCE:1AA84E9E-AF78-11D6-81EF-0004761E9A8A' p6 sS'isRoot' p7 [...8959 lines suppressed...] sbasbsg49 (ismw.metamodel.MetaMM MMAssociationEnd p1902 (dp1903 g16 (I3 g52 I0 g53 I0 tp1904 sg20 g49 sg21 g1 sg22 (lp1905 g1869 asbsb. --- NEW FILE: CollaborationDiagram-Linedraw.smw --- SMW_MODEL METAMODEL smw.metamodel.UML14 PROFILE UML14 (ismw.metamodel.UML14 Model p1 (dp2 S'isAbstract' p3 I0 sS'isSpecification' p4 I0 sS'__uniqueID__' p5 S'DCE:3A718018-B9B6-11D6-B5BE-0004761E9A8A' p6 sS'isRoot' p7 [...16360 lines suppressed...] asbsg144 (ismw.metamodel.MetaMM MMAssociationEnd p3142 (dp3143 g16 (I3 g147 I0 g148 I0 tp3144 sg20 g144 sg21 g1 sg22 (lp3145 g3128 asbsb. --- NEW FILE: Core Package - Backbone.smw --- SMW_MODEL METAMODEL smw.metamodel.UML14 PROFILE UML1.4 (ismw.metamodel.UML14 Model p1 (dp2 S'isAbstract' p3 I0 sS'isSpecification' p4 I0 sS'__uniqueID__' p5 S'DCE:B8478818-AE92-11D6-AF7C-0004761E9AB3' p6 sS'isRoot' p7 [...13837 lines suppressed...] asbsg62 (ismw.metamodel.MetaMM MMAssociationEnd p2670 (dp2671 g16 (I3 g65 I0 g66 I0 tp2672 sg20 g62 sg21 g1 sg22 (lp2673 g154 asbsb. --- NEW FILE: SequenceDiagram-Library.smw --- SMW_MODEL METAMODEL smw.metamodel.UML14 PROFILE UML14 (ismw.metamodel.UML14 Model p1 (dp2 S'isAbstract' p3 I0 sS'isSpecification' p4 I0 sS'__uniqueID__' p5 S'DCE:D0467C5E-C241-11D6-B132-0004761E9A67' p6 sS'isRoot' p7 [...17365 lines suppressed...] asbsbasbsg74 (ismw.metamodel.MetaMM MMAssociationEnd p3367 (dp3368 g16 (I3 g77 I0 g78 I0 tp3369 sg20 g74 sg21 g1 sg22 (lp3370 g750 asbsb. --- NEW FILE: StateChart-Loaning.smw --- SMW_MODEL METAMODEL smw.metamodel.UML14 PROFILE UML14 (ismw.metamodel.UML14 Model p1 (dp2 S'isAbstract' p3 I0 sS'isSpecification' p4 I0 sS'__uniqueID__' p5 S'DCE:D7D28B8A-C251-11D6-ABCA-0004761E9A67' p6 sS'isRoot' p7 [...5791 lines suppressed...] sbasbsg87 (ismw.metamodel.MetaMM MMAssociationEnd p1211 (dp1212 g16 (I3 g90 I0 g91 I0 tp1213 sg20 g87 sg21 g1 sg22 (lp1214 g1185 asbsb. --- NEW FILE: UseCase1.smw --- SMW_MODEL METAMODEL smw.metamodel.UML14 PROFILE UML1.4 (ismw.metamodel.UML14 Model p1 (dp2 S'isAbstract' p3 I0 sS'isSpecification' p4 I0 sS'__uniqueID__' p5 S'DCE:86C861AA-AE96-11D6-B499-0004761E9A67' p6 sS'isRoot' p7 [...10528 lines suppressed...] sbasbsg76 (ismw.metamodel.MetaMM MMAssociationEnd p2038 (dp2039 g16 (I3 g79 I0 g80 I0 tp2040 sg20 g76 sg21 g1 sg22 (lp2041 g2012 asbsb. |
From: <de...@us...> - 2004-01-07 01:48:03
|
Update of /cvsroot/pymerase/smw/smw/examples In directory sc8-pr-cvs1:/tmp/cvs-serv32238/smw/examples Added Files: sart.smw trafficLight.smw Log Message: Imported version of SMW downloaded on 2003 Apr 14 --- NEW FILE: sart.smw --- SMW_MODEL METAMODEL smw.metamodel.UML14 PROFILE UML14 (ismw.metamodel.UML14 Model p1 (dp2 S'isAbstract' p3 I0 sS'isSpecification' p4 I0 sS'__uniqueID__' p5 S'DCE:D712E5F8-CF96-11D6-B84D-0004768CE271' p6 sS'modulestring' p7 [...49454 lines suppressed...] (ismw.metamodel.MetaMM MMAssociationEnd p9243 (dp9244 g16 (I3 g79 I0 g80 I0 I0 tp9245 sg20 g76 sg21 g1 sg22 (lp9246 g5852 asbsb. --- NEW FILE: trafficLight.smw --- SMW_MODEL METAMODEL smw.metamodel.UML14 PROFILE UML14 (ismw.metamodel.UML14 Model p1 (dp2 S'isAbstract' p3 I0 sS'isSpecification' p4 I0 sS'__uniqueID__' p5 S'DCE:11A02AD0-F8A5-11D6-BE3B-00021EF1C502' p6 sS'modulestring' p7 [...2240 lines suppressed...] (ismw.metamodel.MetaMM MMAssociationEnd p488 (dp489 g16 (I3 g105 I0 g106 I0 I0 tp490 sg20 g102 sg21 g1 sg22 (lp491 g458 asbsb. |
Update of /cvsroot/pymerase/smw/smw/diagraminterchange In directory sc8-pr-cvs1:/tmp/cvs-serv32238/smw/diagraminterchange Added Files: Makefile XMIDIactions.py XMIDItemplate.py __init__.py interchange.py xmidi-2.smw xmidi.smw Log Message: Imported version of SMW downloaded on 2003 Apr 14 --- NEW FILE: Makefile --- SHELL=/bin/bash # # # # XMIDI10.py: xmidi.xml python2 ../mmgen/mmgen.py --uml $< XMIDI10temp.py XMIDI 10 XMIDItemplate.py cat XMIDI10temp.py XMIDIactions.py > XMIDI10.py rm -f XMIDI10temp.py XMIDI10temp.pyc xmidi.xml: xmidi-2.smw python2 -c 'from smw.io import *; saveModel("$@", loadModel("$<"))' clean: @-rm -rf xmidi.xml XMIDI10.py XMIDI10temp.py --- NEW FILE: XMIDIactions.py --- --- NEW FILE: XMIDItemplate.py --- --- NEW FILE: __init__.py --- --- NEW FILE: interchange.py --- # # XMI Diagram Interchange # # Specification by Gentleware AG; DaimlerChrysler AG, Telelogic AB, # Adaptive Ltd # # from smw.metamodel.MetaMM import * from xml.sax.saxutils import quoteattr, escape from smw.modeler.DiagramPresentation import RectangularQtPresentationElement, PolygonalQtPresentationElement, TextQtPresentationElement from smw.modeler.UML.UML14view import GeneralizationView import os def __diagram_name__(diagram): """Returns XMI-DI name of diagram.""" return diagram.__name__ class SaveXMIDI: def __init__(self, stream): self.indent = 0 self.fd = stream # The graphical element who is our "parent" # modified on-the-fly while saving a diagram self.gfxContext = None def setIndent(self, indent): self.indent = indent def __isTopLevel__(self): return self.gfxContext and len(self.gfxContext) == 1 def __savePath__(self, path): for (x,y) in path: self.wr("<UMLDI:EdgePart.containedBy>") self.__indent__() self.__savePoint__(x, y) self.__unindent__() self.wr("</UMLDI:EdgePart.containedBy>") def __textStyle__(self, opaque): # bs textStyle... self.wr("<UMLDI:GraphElement.containedBy>") self.__indent__() self.wr("<UMLDI:TextStyle fontFamily=\"Helvetica\" size=\"12\" />") self.__unindent__() self.wr("</UMLDI:GraphElement.containedBy>") def saveDiagrams(self, diagrams): from smw.modeler.DiagramPresentation import QtDiagram """Saves the XMI-DI information in the array of diagrams to the stream. The optional indent parameter tells how much to indent the output.""" print diagrams for i in diagrams: if isinstance(i, QtDiagram): self.gfxContext = [(0,0)] self.__saveDiagram__(i) assert(self.gfxContext == [(0,0)]) def __indent__(self): self.indent += 1 def __unindent__(self): self.indent -= 1 def wr(self, thestring): self.fd.write(" " * self.indent + thestring + os.linesep) def __saveDiagram__(self, diagram): self.wr("<!-- ************ -->") self.wr("<!-- * Graphics * -->") self.wr("<!-- ************ -->") self.wr("<UMLDI:Diagram xmlns:UMLDI=\"URN:test\">") self.__indent__() # BUG quote self.wr("<UMLDI:Diagram.type>" + escape(__diagram_name__(diagram)) + "</UMLDI:Diagram.type>") # BUG FIXME diagram.subject, but what index? 0? Is it always # the "name" attribute? # BUG quote self.wr("<UMLDI:name>" + escape(diagram.subject[0].name) + "</UMLDI:name>") # Diagram size canvas = diagram.editor.canvas self.wr("<UMLDI:Diagram.containedBy>") self.__indent__() self.__savePoint__(canvas.width(), canvas.height()) self.__unindent__() self.wr("</UMLDI:Diagram.containedBy>") # PresentationElements belonging to this diagram for presentationElement in diagram.content: self.wr("<UMLDI:Diagram.belongsTo>") self.__indent__() if isinstance(presentationElement, RectangularQtPresentationElement): self.__saveNodeElement__(presentationElement) elif isinstance(presentationElement, PolygonalQtPresentationElement): self.__saveEdgeElement__(presentationElement) elif isinstance(presentationElement, TextQtPresentationElement): # Skip labels, they should be NodeParts and/or EdgeParts. # I think. pass else: print "****" print "Unknown Diagram Element" print presentationElement print vars(presentationElement) print "****" self.__unindent__() self.wr("</UMLDI:Diagram.belongsTo>") self.__unindent__() self.wr("</UMLDI:Diagram>") def __savePoint__(self, x, y): #self.wr("<UMLDI:Point>") #self.__indent__() #self.wr("<UMLDI:Point.x>" + str(x) + "</UMLDI:Point.x>") #self.wr("<UMLDI:Point.y>" + str(y) + "</UMLDI:Point.y>") #self.__unindent__() #self.wr("</UMLDI:Point>") # # This is more space-efficient: self.wr("<UMLDI:Point x=" + quoteattr(str(float(x))) + " y=" + quoteattr(str(float(y))) + " />") def __saveNodeElement__(self, presentationElement): # BUG index 0? element = presentationElement.subject[0] # BUG not really xmi.uuid, this should be xmi.id self.wr("<UMLDI:NodeElement xmi.idref=" + quoteattr(element.__XMIid__()) + " isHidden=\"false\" depth=\"1\">") self.__indent__() #self.wr("<UMLDI:GraphElement.isHidden>false</UMLDI:GraphElement.isHidden>") #self.wr("<UMLDI:GraphElement.depth>1</UMLDI:GraphElement.depth>") self.wr("<UMLDI:Diagram.belongsTo>") self.__indent__() x = presentationElement.x() - self.gfxContext[-1][0] y = presentationElement.y() - self.gfxContext[-1][1] self.__savePoint__(x, y) self.__savePoint__(x + presentationElement.width(), y + presentationElement.height()) if self.__isTopLevel__(): self.__textStyle__(None) self.__unindent__() self.wr("</UMLDI:Diagram.belongsTo>") # # BUG # Stereotypes # Methods/Operations # Attributes # And this only for UML 1.4... # I wonder how we should do it in a generic way... # # self.__unindent__() self.wr("</UMLDI:NodeElement>") def __saveAssociationEnd__(self, presentationElement): element = presentationElement.subject[0] def __saveEdgeElement__(self, presentationElement): element = presentationElement.subject[0] # BUG not really xmi.uuid, this should be xmi.id self.wr("<UMLDI:EdgeElement xmi.idref=" + quoteattr(element.__XMIid__()) + " isHidden=\"false\" depth=\"1\">") self.__indent__() if self.__isTopLevel__(): self.__textStyle__(None) self.wr("<UMLDI:EdgeElement.containedBy>") self.__indent__() self.wr("<UMLDI:EdgePart>") self.__indent__() self.wr("<UMLDI:ElementPart.containedBy>") self.__indent__() self.wr("<UMLDI:TextElement>") self.__indent__() self.wr("<UMLDI:GraphElement.isHidden>false</UMLDI:GraphElement.isHidden>") self.wr("<UMLDI:GraphElement.depth>1</UMLDI:GraphElement.depth>") # Association name & value self.wr("<UMLDI:TextElement.name>" + escape("UML:ModelElement.name") + "</UMLDI:TextElement.name>") self.wr("<UMLDI:TextElement.value>" + escape(str(element.name)) + "</UMLDI:TextElement.value>") self.wr("<UMLDI:TextElement.containedBy>") self.__indent__() # Association name (center label) x = presentationElement.labelsCenter[0].pX y = presentationElement.labelsCenter[0].pY x -= self.gfxContext[-1][0] y -= self.gfxContext[-1][1] self.__savePoint__(x, y) self.__unindent__() self.wr("</UMLDI:TextElement.containedBy>") self.__unindent__() self.wr("</UMLDI:TextElement>") self.__unindent__() self.wr("</UMLDI:ElementPart.containedBy>") # Association path points path = presentationElement.points # ASSUMPTION: A generalization's path is in the correct order, # from child to parent self.__savePath__(path) self.__unindent__() self.wr("</UMLDI:EdgePart>") self.__unindent__() self.wr("</UMLDI:EdgeElement.containedBy>") # # BUG # n-ary associations? # self.__unindent__() self.wr("</UMLDI:EdgeElement>") --- NEW FILE: xmidi-2.smw --- SMW_MODEL METAMODEL smw.metamodel.UML14 PROFILE UML14 (ismw.metamodel.UML14 Model p1 (dp2 S'isAbstract' p3 I0 sS'isSpecification' p4 I0 sS'__uniqueID__' p5 S'DCE:0D77CA08-102E-11D7-AA24-0004768CDF2A' p6 sS'modulestring' p7 [...18740 lines suppressed...] (ismw.metamodel.MetaMM MMAssociationEnd p3376 (dp3377 g11 (I3 g51 I0 g52 I0 I0 tp3378 sg15 g48 sg16 g1 sg17 (lp3379 g184 asbsb. --- NEW FILE: xmidi.smw --- SMW_MODEL METAMODEL smw.metamodel.UML14 PROFILE UML14 (ismw.metamodel.UML14 Model p1 (dp2 S'isAbstract' p3 I0 sS'isSpecification' p4 I0 sS'__uniqueID__' p5 S'DCE:0D77CA08-102E-11D7-AA24-0004768CDF2A' p6 sS'modulestring' p7 [...21442 lines suppressed...] (ismw.metamodel.MetaMM MMAssociationEnd p3876 (dp3877 g11 (I3 g51 I0 g52 I0 I0 tp3878 sg15 g48 sg16 g1 sg17 (lp3879 g155 asbsb. |
From: <de...@us...> - 2004-01-07 01:48:03
|
Update of /cvsroot/pymerase/smw/smw/doc In directory sc8-pr-cvs1:/tmp/cvs-serv32238/smw/doc Added Files: __init__.py happydoc.py makefile pydoc.py Log Message: Imported version of SMW downloaded on 2003 Apr 14 --- NEW FILE: __init__.py --- --- NEW FILE: happydoc.py --- # # $Id: happydoc.py,v 1.1 2004/01/07 01:47:59 detrout Exp $ # # Copyright 2001 Doug Hellmann. # # # All Rights Reserved # # Permission to use, copy, modify, and distribute this software and # its documentation for any purpose and without fee is hereby # granted, provided that the above copyright notice appear in all # copies and that both that copyright notice and this permission # notice appear in supporting documentation, and that the name of Doug # Hellmann not be used in advertising or publicity pertaining to # distribution of the software without specific, written prior # permission. # # DOUG HELLMANN DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, # INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN # NO EVENT SHALL DOUG HELLMANN BE LIABLE FOR ANY SPECIAL, INDIRECT OR # CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS # OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN # CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. # """HappyDoc command-line app for Windows. """ __rcs_info__ = { # # Creation Information # 'module_name' : '$RCSfile: happydoc.py,v $', 'rcs_id' : '$Id: happydoc.py,v 1.1 2004/01/07 01:47:59 detrout Exp $', 'creator' : 'Doug Hellmann <Dou...@bi...>', 'project' : 'UNSPECIFIED', 'created' : 'Sun, 15-Apr-2001 14:51:51 EDT', # # Current Information # 'author' : '$Author: detrout $', 'version' : '$Revision: 1.1 $', 'date' : '$Date: 2004/01/07 01:47:59 $', } try: __version__ = __rcs_info__['version'].split(' ')[1] except: __version__ = '0.0' # # Import system modules # # # Import Local modules # from happydoclib import HappyDoc # # Module # if __name__ == '__main__': try: HappyDoc().run() except HappyDoc.HelpRequested: pass --- NEW FILE: makefile --- all: doc doc: (cd ../..; python2 smw/doc/pydoc.py -d smw/doc/python/html smw) clean: rm -rf html/* --- NEW FILE: pydoc.py --- #!/usr/bin/env python """Generate Python documentation in HTML or text for interactive use. In the Python interpreter, do "from pydoc import help" to provide online help. Calling help(thing) on a Python object documents the object. Or, at the shell command line outside of Python: Run "pydoc <name>" to show documentation on something. <name> may be the name of a function, module, package, or a dotted reference to a class or function within a module or module in a package. If the argument contains a path segment delimiter (e.g. slash on Unix, backslash on Windows) it is treated as the path to a Python source file. Run "pydoc -k <keyword>" to search for a keyword in the synopsis lines of all available modules. Run "pydoc -p <port>" to start an HTTP server on a given port on the local machine to generate documentation web pages. [...2060 lines suppressed...] function, module, or package, or a dotted reference to a class or function within a module or module in a package. If <name> contains a '%s', it is used as the path to a Python source file to document. %s -k <keyword> Search for a keyword in the synopsis lines of all available modules. %s -p <port> Start an HTTP server on the given port on the local machine. %s -g Pop up a graphical interface for finding and serving documentation. %s -w <name> ... Write out the HTML documentation for a module to a file in the current directory. If <name> contains a '%s', it is treated as a filename; if it names a directory, documentation is written for all the contents. """ % (cmd, os.sep, cmd, cmd, cmd, cmd, os.sep) if __name__ == '__main__': cli() |
From: <de...@us...> - 2004-01-07 01:48:03
|
Update of /cvsroot/pymerase/smw/smw/doc/manual In directory sc8-pr-cvs1:/tmp/cvs-serv32238/smw/doc/manual Added Files: Makefile Warning manual.xml Log Message: Imported version of SMW downloaded on 2003 Apr 14 --- NEW FILE: Makefile --- all: manual_html manual.pdf manual_html: manual.xml cd html && ln -sf ../images . && $(OPENJADE) -t sgml -d $(HTML_DSSSL) ../manual.xml manual.tex: $(OPENJADE) -t tex -d $(PRINT_DSSSL) -o manual.tex manual.xml manual.pdf: manual.tex $(PDFJADETEX) manual.tex clean: rm -rf html/* rm -f manual.rtf rm -f manual.pdf rm -f *.{aux,log,out} --- NEW FILE: Warning --- Warning This editor is under heavy development and is extremely unstable. Your data is in great risk if touched by this program. Use at your own risk! The authors are not liable for any damage to your data, possessions or health. --- NEW FILE: manual.xml --- <?xml version='1.0'?> <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook V3.1//EN"> <book> <bookinfo> <title>User's Manual for Mathematical Derivation Editor</title> <authorgroup> <author><firstname>Miika</firstname><surname>Hakala</surname></author> <author><firstname>Peter</firstname><surname>Eriksson</surname></author> </authorgroup> <edition>Version 0.1</edition> <pubdate>2002</pubdate> <copyright><year>2002</year><holder>TUCS</holder></copyright> </bookinfo> <chapter id="ch1"><title>Introduction</title> [...1456 lines suppressed...] </tgroup> </table> </appendix> <appendix><title>Implementation</title> <para> The Mathematical Derivation Editor is implemented with <itemizedlist mark="opencircle"> <listitem><para>Python 2.2</para></listitem> <listitem><para>Qt 3.0.5</para></listitem> <listitem><para>PyQt 3.3.2</para></listitem> <listitem><para>sip 3.3.2</para></listitem> </itemizedlist> The parsing of mathematical expressions and rules is performed by SPARK (Scanning, Parsing, and Rewriting Kit). It formerly had no name, and was referred to as the "little language framework." The first version (circa 1998) was described in the paper Compiling Little Languages in Python at the 7th International Python Conference. The web page can be found at <ulink url="http://pages.cpsc.ucalgary.ca/~aycock/spark/"></ulink>. </para> </appendix> </book> |
From: <de...@us...> - 2004-01-07 01:48:02
|
Update of /cvsroot/pymerase/smw/smw/chi/metamodel In directory sc8-pr-cvs1:/tmp/cvs-serv32238/smw/chi/metamodel Added Files: __init__.py chiModel.iml makefile Log Message: Imported version of SMW downloaded on 2003 Apr 14 --- NEW FILE: __init__.py --- --- NEW FILE: chiModel.iml --- SMW_MODEL METAMODEL smw.metamodel.UML14 PROFILE UML1.4 (ismw.metamodel.UML14 Model p1 (dp2 S'isAbstract' p3 I0 sS'isSpecification' p4 I0 sS'__uniqueID__' p5 S'DCE:07e89cd0-59c6-11d6-a00e-' p6 sS'isRoot' p7 [...14889 lines suppressed...] asbsg44 (ismw.metamodel.MetaMM MMAssociationEnd p2839 (dp2840 g16 (I3 g47 I0 g48 I0 tp2841 sg20 g44 sg21 g1 sg22 (lp2842 g105 asbsb. --- NEW FILE: makefile --- chi1.py: chiModel.iml ../../mmgen/mmgen.py python2 ../../mmgen/mmgen.py --uml chiModel.iml chi1.py chi 1 |
From: <de...@us...> - 2004-01-07 01:48:02
|
Update of /cvsroot/pymerase/smw/smw/chi In directory sc8-pr-cvs1:/tmp/cvs-serv32238/smw/chi Added Files: __init__.py chiEditor.py Log Message: Imported version of SMW downloaded on 2003 Apr 14 --- NEW FILE: __init__.py --- --- NEW FILE: chiEditor.py --- from qt import * from smw.modeler.DialogEditor import * from smw.chi.metamodel.chi1 import * class CodePE(PropertyEditor): def __init__(self,parent,project): PropertyEditor.__init__(self,parent,project) self.setName('Code') self.layout=QHBoxLayout(self) self.doc= QMultiLineEdit(self,'eDocumentation') self.doc.setWordWrap(QMultiLineEdit.FixedPixelWidth) self.doc.setWrapColumnOrWidth(400) self.doc.setPointSize(10) self.doc.setSizePolicy( QSizePolicy(QSizePolicy.Expanding,QSizePolicy.Expanding)) self.layout.addWidget(self.doc) def canEdit(self,e): return isinstance(e,BasicProcess) def focusOn(self,e): PropertyEditor.focusOn(self,e) if self.focus: if self.focus.code: self.doc.setText(self.focus.code) else: self.doc.setText('') self.doc.setEdited(0) def apply(self): if not self.doc.edited(): return self.focus.code=latin1(self.doc.text()) self.doc.setEdited(0) def register(modelerApp): modelerApp.registerEditorExtension(CodePE) |
From: <de...@us...> - 2004-01-07 01:40:40
|
Update of /cvsroot/pymerase/smw/smw/scw/modeler/unittest In directory sc8-pr-cvs1:/tmp/cvs-serv31168/unittest Log Message: Directory /cvsroot/pymerase/smw/smw/scw/modeler/unittest added to the repository |
From: <de...@us...> - 2004-01-07 01:40:24
|
Update of /cvsroot/pymerase/smw/smw/scw/UndoRedo/unittests In directory sc8-pr-cvs1:/tmp/cvs-serv31123/unittests Log Message: Directory /cvsroot/pymerase/smw/smw/scw/UndoRedo/unittests added to the repository |
From: <de...@us...> - 2004-01-07 01:40:00
|
Update of /cvsroot/pymerase/smw/smw/scw/Project/unittests In directory sc8-pr-cvs1:/tmp/cvs-serv30992/unittests Log Message: Directory /cvsroot/pymerase/smw/smw/scw/Project/unittests added to the repository |
From: <de...@us...> - 2004-01-07 01:39:34
|
Update of /cvsroot/pymerase/smw/smw/scw/Layer/unittests In directory sc8-pr-cvs1:/tmp/cvs-serv30947/unittests Log Message: Directory /cvsroot/pymerase/smw/smw/scw/Layer/unittests added to the repository |
From: <de...@us...> - 2004-01-07 01:38:03
|
Update of /cvsroot/pymerase/smw/smw/scw/Element/unittests In directory sc8-pr-cvs1:/tmp/cvs-serv30645/unittests Log Message: Directory /cvsroot/pymerase/smw/smw/scw/Element/unittests added to the repository |
From: <de...@us...> - 2004-01-07 01:37:17
|
Update of /cvsroot/pymerase/smw/smw/scw/Correctness/unittests In directory sc8-pr-cvs1:/tmp/cvs-serv30580/unittests Log Message: Directory /cvsroot/pymerase/smw/smw/scw/Correctness/unittests added to the repository |
From: <de...@us...> - 2004-01-07 01:36:53
|
Update of /cvsroot/pymerase/smw/smw/scw/CodeGen/unittests In directory sc8-pr-cvs1:/tmp/cvs-serv30494/unittests Log Message: Directory /cvsroot/pymerase/smw/smw/scw/CodeGen/unittests added to the repository |
From: <de...@us...> - 2004-01-07 01:36:36
|
Update of /cvsroot/pymerase/smw/smw/scw/modeler In directory sc8-pr-cvs1:/tmp/cvs-serv30367/modeler Log Message: Directory /cvsroot/pymerase/smw/smw/scw/modeler added to the repository |
From: <de...@us...> - 2004-01-07 01:36:36
|
Update of /cvsroot/pymerase/smw/smw/scw/UndoRedo In directory sc8-pr-cvs1:/tmp/cvs-serv30367/UndoRedo Log Message: Directory /cvsroot/pymerase/smw/smw/scw/UndoRedo added to the repository |
From: <de...@us...> - 2004-01-07 01:36:36
|
Update of /cvsroot/pymerase/smw/smw/scw/accepttest In directory sc8-pr-cvs1:/tmp/cvs-serv30367/accepttest Log Message: Directory /cvsroot/pymerase/smw/smw/scw/accepttest added to the repository |
From: <de...@us...> - 2004-01-07 01:36:36
|
Update of /cvsroot/pymerase/smw/smw/scw/Project In directory sc8-pr-cvs1:/tmp/cvs-serv30367/Project Log Message: Directory /cvsroot/pymerase/smw/smw/scw/Project added to the repository |
From: <de...@us...> - 2004-01-07 01:36:36
|
Update of /cvsroot/pymerase/smw/smw/scw/CodeGen In directory sc8-pr-cvs1:/tmp/cvs-serv30367/CodeGen Log Message: Directory /cvsroot/pymerase/smw/smw/scw/CodeGen added to the repository |
From: <de...@us...> - 2004-01-07 01:36:36
|
Update of /cvsroot/pymerase/smw/smw/scw/Layer In directory sc8-pr-cvs1:/tmp/cvs-serv30367/Layer Log Message: Directory /cvsroot/pymerase/smw/smw/scw/Layer added to the repository |
From: <de...@us...> - 2004-01-07 01:36:36
|
Update of /cvsroot/pymerase/smw/smw/scw/Element In directory sc8-pr-cvs1:/tmp/cvs-serv30367/Element Log Message: Directory /cvsroot/pymerase/smw/smw/scw/Element added to the repository |
From: <de...@us...> - 2004-01-07 01:36:35
|
Update of /cvsroot/pymerase/smw/smw/scw/Correctness In directory sc8-pr-cvs1:/tmp/cvs-serv30367/Correctness Log Message: Directory /cvsroot/pymerase/smw/smw/scw/Correctness added to the repository |
From: <de...@us...> - 2004-01-07 01:35:04
|
Update of /cvsroot/pymerase/smw/smw/sart/metamodel In directory sc8-pr-cvs1:/tmp/cvs-serv30065/metamodel Log Message: Directory /cvsroot/pymerase/smw/smw/sart/metamodel added to the repository |
From: <de...@us...> - 2004-01-07 01:34:21
|
Update of /cvsroot/pymerase/smw/smw/repository/gui/dlg In directory sc8-pr-cvs1:/tmp/cvs-serv29952/dlg Log Message: Directory /cvsroot/pymerase/smw/smw/repository/gui/dlg added to the repository |