Subject: CVS commit: pkgsrc/devel/bouml
From: OBATA Akio
Date: 2011-11-24 09:22:53
Message id: 20111124082253.3C8BD175DF@cvs.netbsd.org

Log Message:
Update bouml to 4.22.2.
Based on PR pkg/45574 by Toshiaki NOZAWA.
(reset PKGREVISION, add some missing PLIST entries and update MASTER_SITES)

4.22.2

July 14th 2010

  * When IDL was the alone selected language in the global menu languages and
    you added parameter(s) through the UML tab when editing an operation,
    random characters was inserted in the IDL declaration of the operation,
    fixed. (cf.)

  * In the previous releases the default definition of a class in Php wrongly
    contained the keywords ${visibility} producing an invalid form in case the
    visibility is not package. This keywords isn't any more present when you
    create a new project, nor managed by code generator and reverse. (cf.)

  * In the previous releases when you edited a relation the definition for the
    target languages was implicitly reinitialized to the default definition
    specified through the generation settings only when you changed the kind of
    the relation. Now this is the case each time the default definition
    associated to the new couple kind/multiplicity is not the same as the
    previous couple. (cf.)
    In the previous releases when you edited an attribute the definition for
    the target languages was never implicitly reinitialized. Now this is the
    case each time the default definition associated to the new multiplicity is
    not the same as the previous.

  * It is now possible to move a state machine into an other state machine or a
    sub state of an other state machine. If the moved state machine is
    stereotyped machine the stereotype becomes submachine. (cf.)

  * Php Generator 1.10.1
    The generalizations / realizations and dependencies wasn't taken into
    account to compute the needed required_once list, this is the case now
    (when they have a non empty definition in Php). (cf.)
    Remove management of ${visibility} at class level. (cf.)

  * Php Reverse 1.8.1
    Remove management of ${visibility} at class level. (cf.)

  * XMI2 Generator 1.14.1
    In the previous releases the BOUML project-package produced both a XMI
    model and a package, now an option allows you to not generate the model
    level. (cf.)

4.22.1

June 23th 2010

  * In release 4.22 the state activities wasn't written in the state diagrams,
    fixed. (cf.)

4.22

June 22th 2010

  * It was not possible to reload a project where the associated diagram of a
    component is a deployment diagram, fixed.

  * Each time you edited a dependency between a class and a package, import was
    again added in the proposed list of stereotypes, fixed. (cf.)

  * Add Php 5.3 namespace management. (cf.)
    Like for the other language the namespace is specified at package level.
    The generation of the namespace declaration in Php is done by an artifact
    containing ${namespace} in its Php definition, looking at the namespace may
    be specified in the package containing the deployment view containing the
    artifact (this is the case for the new projects, you have to add $
    {namespace} by yourself if you want this feature in your existing
    projects).
    By default the Php code generator try to not generate namespace prefixes,
    if you want to always generate them set the generation setting option force
    namespace prefix generation.

  * Add submachine state reference management. Only states without child except
    transitions and entry or exit pseudo states can be transformed into state
    reference or allow to change the referenced state by an other one. The
    referenced state is set/changed/removed by editing the (future) submachine
    state reference.
    To add a connection point reference to a submachine state reference add an
    entry or exit point then edit it to specify the reference.

  * Enter and Exit points can now be placed on the border of their state.

  * The profiles of the operations proposed in a list now contain the container
    classes of the referenced nested classes. Previously it was not possible to
    differentiate for instance the operations void C1::f(C2::C) and void C1::f
    (C3::C) because they was both written void C1::f(C). (cf.)

  * The shortcuts associated to the commands Edit and Menu are now active in
    diagrams. By default the shortcut to show the menu is the key return/enter,
    so if you select one element in a diagram and hit return/enter the menu
    associated to this element is shown, and if you select several elements in
    a diagram and hit return/enter the multiple selection menu is shown.
    Add the shortcut command Diagram menu to ask for the menu of a diagram
    inside a diagram, this command do the same as if you unselect all elements
    in the diagram by doing a left mouse click out of any element then doing a
    right mouse click out of any element.
    This changes are mainly dedicated to persons working with visioboard and
    having difficuties to do a double mouse click and to use the mouse right
    click (left click directly usable).

  * It was not allowed to have several activity actions or activity nodes or
    activity objects or activity partitions or class instances or expansion
    nodes or expansion regions or flows or interruptible activity regions or
    parameter sets or pins or pseudo states or state actions or state regions
    or transitions having the same non empty name in the same container, this
    limitation is removed. (cf.)

  * In the previous releases in C++ the visibility specifiers was indented with
    two spaces. Now you are able to set the expected indent through the
    generation settings. (cf.)

  * You can now save the content of the trace window in a HTML file.

  * Through the global menu miscellaneous you can now specify a root directory
    for the icons associated to the stereotypes or directly put in diagram. (
    cf.)

  * Previously the icon associated to the stereotypes was specified through an
    absolute path or had to be find through the current directory whose depend
    on the way Bouml is started.
    Now you are able to specify a path relative to the root directory for the
    icons or relative to the project directory. In case the path of an icon is
    not absolute, the icon are searched first using the root directory for the
    icons, then for compatibility reason using the current directory, then
    using the project directory. (cf.)

  * You can now put icons in diagram independently of the use of stereotypes. (
    cf.)

  * Php Generator 1.10
    To manage namespace.

  * Php Reverse 1.8
    Previous releases didn't expect to read Php block(s) before the block
    containing classes, fixed.
    To manage namespace, warning when a file define classes in several
    namespaces only the classes of the first namespace are reversed.

  * C++ Generator 2.18
    To produce the expected indent for the visibility specifiers. Follow the
    new API.

  * C++ Reverse 2.15
    C++ Roundtrip 1.3
    The comments placed before the definition of an attribute in a class was
    lost, fixed. Follow the new API.

  * XMI2 Generator 1.14
    Some activity flows was wrongly generated as object flow rather than
    control flow, fixed. (cf.)
    To manage the submachine state reference

  * XMI2 Import 1.9
    To manage the submachine state reference To manage virtual desktop
    (multiple screens configuration).

  * Java Generator 2.22
    Java Reverse 2.18
    Java Roundtrip 1.5
    Idl Generator 2.15
    Python Generator 1.5
    Roundtrip body 1.13
    Follow the new API.

  * Java Catalog 2.17
    To manage virtual desktop (multiple screens configuration). Follow the new
    API.

  * Project control 1.2.5
    Project synchro 1.2.4
    Uml projection 1.1.3
    .pro Generator 2.1.6
    C++ utilities 1.1.2
    Use case wizard 1.1.2 (C++ version)
    File Control 1.0.6
    Global change 1.2.1
    To manage virtual desktop (multiple screens configuration).

  * Html documentation Generator 2.20
    To produce a valid XHTML. (cf. and cf.)
    To manage submachine state reference.

  * Plug-out upgrade 1.18
    Add operations phpNamespace, set_PhpNamespace and findPhpNamespace on class
    UmlBasePackage.
    Add operations isForceNamespacePrefixGeneration and
    set_IsForceNamespacePrefixGeneration on class PhpSettings.
    Add operations visibilityIndent and set_VisibilityIndent on class
    CppSettings.
    Add operations reference and set_Reference on classes UmlBaseState,
    UmlBaseEntryPointPseudoState, and UmlBaseExitPointPseudoState.

  * Plug-out empty
    Upgraded by plug-out upgrade.

  * fr.lang updated.

  * The previous releases of BOUML cannot read a project saved with this
    version. Obviously this release is able to read the projects made by
    previous releases of BOUML.

Php Generator 1.9 patch (Windows)

June 10th 2010

  * Under Windows the Php generator terminated its execution when managing $
    {require_once} because of a missing compilation option.
    The Php generator compiled with the right options is available here (cf.)

4.21

May 12th 2010

  * In the previous releases only the operations whose name started by operator
    could contain non alphanumeric characters, this restriction is removed. (
    cf.)

  * require_once forms are now auto generated in Php when the Php definition of
    an artifact contains ${require_once} (this is the case for the new
    projects, you have to add it by yourself if you want this feature in your
    existing projects).
    The definition of an external class for Php is extended, if a second line
    is present this one is considered to contain the expected require_once form
    to produce.
    New generation settings to choose how the path of the required files are
    generated : without path, with absolute paths, with relative paths, with
    path relative to the root directory.

  * Add Reverse/roundtrip settings with a dedicated edition dialog to specify
    through a regular expression the files and/or directories whose must not be
    taken into account during a reverse and roundtrip, allowing for instance to
    not reverse test programs. (cf.)

  * When you edit an attribute or an operation of a parametrized class or
    nested in parametrized class(es) the name of the formal parameters are now
    inserted in the list of proposed types. (cf.)

  * When several elements of the same type are selected in a diagram the
    multiple selection menu allows you to use the drawing settings of the first
    selected element for the other selected elements. Have associated shortcut
    command Same drawing settings. (cf.)

  * Extension of the drawing setting show context (cf.) :
      + In diagrams the context of nested classes now contains the the
        container class when you ask for to indicate the namespace or java
        package or python package or module through the drawing setting show
        context or equivalent. Warning, this affects existing class diagrams

      + New drawing setting show context in members definition for classes in
        class diagrams. Only active when you also ask for to show the full
        members definition. To indicate or not the context of class(es)
        referenced in the declaration of an attribute or an operation like the
        context is indicated for the classes depending on show context or show
        classes and packages context.

      + In sequence diagrams add new drawing settings show classes context for
        class instances, and show context in messages for messages (only active
        when you also ask for to show the full operations definition).

      + In communication diagrams the drawing settings show packages context is
        renamed show classes and packages context and now also apply on class
        instances. To not change the already existing diagrams, when you open
        an old diagram this setting is set to no on the class intances.
        New drawing settings show context in messages for messages (only active
        when you also ask for to show the full operations definition).

      + In object diagram the drawing settings show packages context is renamed
        show classes and packages context and now also apply on class
        instances. To not change the already existing diagrams, when you open
        an old diagram this setting is set to no on the class intances.

  * Add a button Apply in the drawing settings dialog to apply the new settings
    without exiting the dialog. Warning, the already applyied settings are not
    canceled through the button cancel. (cf.)

  * The list of opened non modal dialogs is now given by the dynamic menu
    Windows after the list of opened diagrams. This allow you to raise one of
    them, or to close all of them with the diagrams through the menu entry
    close all.

  * Php Generator 1.9
    To automatically generate the require_once forms when the Php definition of
    an artifact contains ${require_once}.

  * C++ Reverse 2.14
    C++ Roundtrip 1.2
    Java Catalog 2.16
    Java Reverse 2.17
    Java Roundtrip 1.4
    Php Reverse 1.7
    To not reverse/roundtrip unexpected directories and/or files specified
    through regular expressions. (cf.)

  * C++ Generator 2.17
    Java Generator 2.21
    Idl Generator 2.14
    Roundtrip body 1.12
    Follow the new API.

  * Plug-out upgrade 1.17
    Add operations requireOnceWithPath, set_RequireOnceWithPath,
    isRelativePath, set_IsRelativePath, isRootRelativePath and
    set_IsRootRelativePath on class PhpSettings to acces to the new generation
    settings relative to the generation of the require_once in Php.
    Add operations reverseRoundtripDirRegExp,
    isReverseRoundtripDirRegExpCaseSensitive, set_ReverseRoundtripDirRegExp,
    reverseRoundtripFileRegExp, isReverseRoundtripFileRegExpCaseSensitive and
    set_ReverseRoundtripFileRegExp on classes CppSettings, JavaSettings and
    PhpSettings.

  * Plug-out empty
    Upgraded by plug-out upgrade.

  * fr.lang updated.

  * The previous releases of BOUML cannot read a project saved with this
    version. Obviously this release is able to read the projects made by
    previous releases of BOUML.

4.20

April 18th 2010

  * Remark : under Windows the png/svg exports of the diagrams don't work when
    they are done by a plug-out launched by -execnogui (they work with -exec)

  * Add constraint on activity and activity action. (cf.)

  * Java Generator 2.20.1
    Python Generator 1.4.1
    when a nested class reference was produced the container class(es) name was
    missing and only the nested class's name was generated, fixed.

  * State machine generator 1.4.2
    Add the operation doActivity() on the class representing the state machine,
    when you apply this operation the do activity of the current state is
    executed if it is not empty.

  * Html documentation Generator 2.19
    XMI2 Generator 1.13
    XMI2 Import 1.8
    To manage constraint on activities and activity actions.

  * Plug-out upgrade 1.16.1
    Previous release missed to change the call of UmlCom::bye in internal
    operation UmlBaseItem::read_(), fixed. (cf.)
    To manage constraint on activities and activity actions.

  * Plug-out empty
    Upgraded by plug-out upgrade.

  * The previous releases of BOUML cannot read a project saved with this
    version. Obviously this release is able to read the projects made by
    previous releases of BOUML.

4.19.3

April 11th 2010

  * Add the new keyword ${inverse_name} producing the name of the inverse role
    of a bi directional relation between classes.

  * When you apply a plug-out when Bouml is started with the option -exit, the
    return value of Bouml is the argument of the operation UmlCom::bye(). This
    value is 0 when you apply an old plug-out where bye doesn't have a
    parameter.
    The return value is -1 if the plug-out execution can't be done or if the
    plug-out doesn't connect to the modeler in less than 30 seconds.

  * New option -execnogui, use it in place of -exec when you don't want to see
    the GUI when you apply a plug-out when Bouml is started.
    In this case the messages normally written in the trace window are produced
    on stdout.
    You have to kill the process Bouml by yourself if you use -execnogui
    without -exit. (cf.)

  * Python Generator 1.4
    Extends the auto generated import to the classes referenced by the
    attributes, associations and operations. Previously only the inherited
    classes and dependencies stereotyped import or from was taken into account.
    (cf.)
    Returns the number of errors through UmlCom::bye().

  * C++ Generator 2.16
    C++ Reverse 2.13
    C++ Roundtrip 1.1
    Java Generator 2.20
    Java Catalog 2.15
    Java Reverse 2.16
    Java Roundtrip 1.3
    Idl Generator 2.13
    Php Generator 1.8
    Php Reverse 1.6
    Roundtrip body 1.11
    Returns the number of errors through UmlCom::bye()

  * Plug-out upgrade 1.16
    To add a parameter of type int to UmlCom::bye, it will be managed as the
    return value of the plug-out, 0 means no error.
    You have to add by yourself an argument to the calls of UmlCom::bye

  * Plug-out empty
    Upgraded by plug-out upgrade.

4.19.2 patch 1 (Windows)

March 29th 2010

  * This release only exists for Windows.

  * Since release 4.19 a crash could occurred because of Microsoft Visual C++
    compiler bug when a nested relation was drawn in a class diagram and
    changes was made concerning the drawn elements or the diagram itself
    (including the case where a new nested relation has to be drawn) , fixed.

4.19.2

March 28th 2010

  * A crash could occurred when you opened a component diagram referencing
    through a required or provided relation a class deleted in a previous
    session, fixed.

  * When you closed Bouml though a shortcut (control-w by default) while an
    additional window like an artifact source windows was still open, Bouml
    crashed (without true consequence because if needed the previously load
    project was already saved), fixed.

  * fr.lang de.lang es.lang updated.

4.19.1

March 14th 2010

  * Since release 4.17.1 a crash could occurred when you did some changes on a
    state present in an opened diagram but never visible because of the diagram
    dimensions and the position of the scrollbars, fixed.

  * C++ Roundtrip 1.0.4
    Java Roundtrip 1.2.3
    To not empty the stereotypes when this is possible. (cf.)

  * Java Generator 2.19.2
    To not duplicate imports both defined in artifact definition and through
    dependencies.

4.19

February 27th 2010

  * The message written to signal a message can't be added in a sequence
    diagram contained wrong characters, fixed. (cf.)

  * Add lost/found messages in sequence diagram.

  * Add interface icon using a simple circle, extends drawing mode with it for
    classes in a class diagram, instances in a sequence diagram and actors in a
    use case diagram.
    To not change the already existing diagrams, when you open an old diagram
    showing classes stereotyped interface or instances of classes stereotyped
    interface, their drawing mode is forced to class when it values natural
    (even indirectly).

  * In a sequence diagram, when an instance doesn't send nor receive message
    the menu of the instance proposes to hide/show the life line. To allow to
    draw a multiple instance with only one visible life line. (cf.)

  * XMI2 Generator 1.12.3
    To manage lost/found messages.

  * Plug-out API
    The operation from() returns null for a UmlBaseMessage corresponding to a
    found message.
    The operation to() returns null for a UmlBaseMessage corresponding to a
    lost message.

  * fr.lang updated.

  * The previous releases of BOUML cannot read a project saved with this
    version. Obviously this release is able to read the projects made by
    previous releases of BOUML.

4.18.2

February 13th 2010

  * The class instances wasn't colored when you asked to not draw the shadow in
    a sequence or communication diagrams, fixed. (cf.)

  * C++ Reverse 2.12.4
    To set the C++ source and header directory for the additional packages
    created during the reverse because all classes defined in a given directory
    are not defined in the same namespace or some are defined in a namespace
    and some others are defined out of a namespace, try to use path relative to
    root directory if it is defined in the generation settings.

  * C++ Roundtrip 1.0.3
    The roundtrip was perturbed by the use of namespaces and produced a wrong
    and inconsistent result, fixed.
    In the previous releases of C++ reverse/roundtrip the C++ directory of
    source and header files wasn't set for additional packages created to
    manage several namespaces (see remark concerning the reverse above),
    because of that the roundtrip may propose to delete classes defined under
    these packages. If you used previous releases of C++ reverse/roundtrip to
    reverse source codes using namespaces you need to check the packages having
    empty C++ source and header directory specifications to set them if needed.
    To discard \r when comparing two strings to update or not an element.

  * Java Roundtrip 1.2.2
    To discard \r when comparing two strings to update or not an element.

  * Uml projection 1.1.2
    Projection to C++ missed to set C++ header definition on already existing
    artifacts, fixed.

4.18.1

February 6th 2010

  * A crash could occurred when you did some changes on relations used by
    'modeled' class instances (non pure graphical class instances) or reload a
    project defining 'modeled' class instances, fixed. (cf.)

  * In a class diagram when the drawing setting draw all relations was false
    the only way to show not yet drawn nesting relations was to set draw all
    relations to true, then to remove undesired shown relations. Now the menu
    of a nested class proposes to show the nesting relation when it is not yet
    drawn and the container class is present. (cf.)

  * XMI2 Import 1.7.2
    To replace newline by space in relations's name.

  * C++ Reverse 2.12.3
    C++ Roundtrip 1.0.2
    The name of the parameters of the operations must be the name specified in
    the definition when it is not empty, rather than the name given in the
    declaration (regression introduced when I added roundtrip).
    The instantiation of a template class inside the declaration or the
    definition of its operations was reversed as the class itself (without
    actuals), fixed.

  * fr.lang updated.

4.18

January 24th 2010

  * In the previous release changes done in an activity diagram may crashed the
    memory under Windows because of a bug in Microsoft Visual C++ compiler,
    this problem potentially also existed in other cases, bypassed. (cf.)

  * I was forbidden to add a flow from an action to an object whose is control
    was false, fixed.

  * When you added a shortcut the indications control/shift/alt was removed
    when you specified the key in case the current line was the last (generally
    the case), fixed. (cf.)

  * Add the new shortcut commands Open project, Print and Save as, default
    shortcuts are control o, control p and control shift s.
    Also add default shortcut control p printing the active shown diagram.
    Warning, the default shortcut to generate Php source is now control h
    rather than control p. (cf.)

  * XMI2 Generator 1.12.2
    Improvement to know if a flow is a control or an object flow.

  * C++ Generator 2.15.2
    C++ Reverse 2.12.2
    C++ Roundtrip 1.0.1
    Java Generator 2.19.1
    Idl Generator 2.12.1
    Python Generator 1.3.1
    Project control 1.2.4
    Project synchro 1.2.3
    XMI2 Import 1.7.1
    File Control 1.0.5
    Uml projection 1.1.1
    Modified to not be potentially affected by Microsoft Visual C++ compiler
    bug.

  * fr.lang, de.lang and es.lang updated.

  * The previous releases of BOUML cannot read a project saved with this
    version. Obviously this release is able to read the projects made by
    previous releases of BOUML.

4.17.1

January 9th 2010

  * A crash may occurred when drawing a class instances non transparent and
    without drawing the shadows, fixed.

  * Under Windows the default language was wrongly set to Spanish in case you
    previously used a release older than the 1.15.1 and the environment
    variables LANG and LCID don't specify English or French, fixed.

  * Add related elements did nothing in a use case or deployment diagram,
    fixed.

  * When you manually resized an element in a diagram its self relations may be
    hidden depending on the position of the self relation and the used corner,
    fixed.

  * In a state diagram, when you added an element and it was automatically
    moved to be placed in its container, its self relations didn't follow it
    and their cut points was poorly placed, fixed.

  * When you add a container in a state or activity diagram and its possible
    container wasn't drawn but its sub elements was drawn, now the added
    container is automatically resized to contain its sub elements. To try to
    not poorly move already placed elements to force them to be inside the
    added container.

es.lang

January 3th 2010

  * Complete version of es.lang to use Bouml in Spanish, this version is newer
    than Bouml 4.17 and can be used with any releases since 4.15.1 (useless
    before). Download es.lang and indicate where you place it through the
    "Miscellaneous / Edit environment" dialog. Many Thanks to Paulo Cesar
    Coronado.

4.17

January 1th 2010

  * A crash occurred when you load an inconsistent model where two operations
    share the same internal identifier, fixed. (cf.)

  * The optional parameters wasn't given to the init/check plug-outs associated
    to the stereotypes part of profiles, fixed.

  * The boxes representing the class instances was not produced in SVG when you
    didn't ask for to draw the shadows and they aren't transparent, fixed. (cf.
    )

  * Add the new shortcut commands Optimal scale, Optimal window size, Zoom +,
    Zoom - and Zoom 100% for diagrams.
    Also add control mouse wheel up/down management to increase / decrease the
    zoom.

  * In a diagram to move the mouse with the mid click pressed moves the
    viewport accordingly.

  * In a diagram add shift mouse wheel up/down management to scroll left/right
    (mouse wheel up/down already did scroll up/down).

  * Add the new shortcut commands Close and Quit to close the project or quit,
    default shortcuts are control w and control q.

  * When several resizable elements are selected in a diagram the multiple
    selection menu allows you to resize them to have the same width and/or
    height of the first selected element. Have associated shortcut commands (
    Same width, Same height and Same size)

  * It is now possible to have a class diagram under a use case or a use case
    view, this allows to define Iconix robustness diagram throw class diagram.
    (cf.)

  * XMI2 Generator 1.12.1
    The post condition of an activity actions was not exported, and the pre
    conditions wasn't exported when the post condition was empty, fixed. (cf.)

  * C++ Roundtrip 1.0
    New plug-out, please refer to the documentation.

  * C++ Reverse 2.12.1
    For compatibility with the roundtrip now the #file property is get from the
    project package rather than in the package where you start a reverse.
    To set the C++ source and header directory for the packages created during
    the reverse, try to use path relative to root directory if it is defined in
    the generation settings.

  * Java Roundtrip 1.2.1
    Fixe bugs.
    To set the Java directory for the packages created during the reverse even
    without associated Java package, try to use path relative to root directory
    if it is defined.

  * Java Reverse 2.15.1
    Java Catalog 2.14.1
    To set the Java directory for the packages created during the reverse even
    without associated Java package, try to use path relative to root directory
    if it is defined.

  * Plug-out upgrade 1.15.2
    To allow to create a class diagram under a use case or use case view

  * Plug-out empty
    Upgraded by plug-out upgrade.

  * es.lang added allowing to use the modeler in Spain, this work is in
    progress and some translations are still missing (in this case the English
    is used). Many thanks to Paulo Cesar Coronado for the translation. So you
    can currently choose between English, French German and Spain.

  * Recall : if you are volunteer to add the translation for a new language
    contract me. The work consists to translate more than 2000 short sentences
    with a tool I developped for that (of course you don't have to change the
    sources of Bouml).

  * The previous releases of BOUML cannot read a project saved with this
    version. Obviously this release is able to read the projects made by
    previous releases of BOUML.

Files:
RevisionActionfile
1.13modifypkgsrc/devel/bouml/Makefile
1.5modifypkgsrc/devel/bouml/PLIST
1.5modifypkgsrc/devel/bouml/distinfo
1.4modifypkgsrc/devel/bouml/patches/patch-aa
1.1removepkgsrc/devel/bouml/patches/patch-ab