Oliver Kellogg | 1 Sep 01:14 2007
Picon
Picon

KDE/kdesdk/umbrello

SVN commit 707073 by okellogg:

removeAllAssociationEnds(): I tried different iteration schemes (e.g. using
UMLObjectListIt or UMLObjectList::iterator) but the only one that works for me
without crashing is this here, using the integer index and QList::removeAt().
BUG:149356

 M  +2 -1      ChangeLog.2  
 M  +5 -10     umbrello/umlcanvasobject.cpp  

--- trunk/KDE/kdesdk/umbrello/ChangeLog.2 #707072:707073
 <at>  <at>  -15,7 +15,7  <at>  <at> 
       * Found / Lost Messages.
   - Sequence Diagram
       * Pre/Post conditions.
-      * ‘accept time event’ symbol.
+      * "accept time event" symbol.
       * Control Flow.
       * Object Flow.
       * interruptible region.
 <at>  <at>  -31,4 +31,5  <at>  <at> 
 * RMB LogicalView->New->Class in treeview creates TWO classes (144537)
 * New code generator for D language
 * Add option for automatic drawing attribute associations in class diagram (147061)
+* Crash on exit after loading phonon design.xmi (149356)
 * Crash on saving phonon design.xmi with Advanced Code Generators enabled (149357)
--- trunk/KDE/kdesdk/umbrello/umbrello/umlcanvasobject.cpp #707072:707073
 <at>  <at>  -98,16 +98,11  <at>  <at> 
 }

(Continue reading)

Oliver Kellogg | 1 Sep 08:55 2007
Picon
Picon

[Bug 64147] steretype enhancements for uml objects

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

http://bugs.kde.org/show_bug.cgi?id=64147         

------- Additional Comments From okellogg users sourceforge net  2007-09-01 08:55 -------
Given that the core development group does not seem to be finding time for this,
IMHO it would be an ideal project for a uni (ISI?), SOC (Google Summer of Code),
or other external contributors.

> Should I submit a new bug [...]

IMHO this is sufficient as full support of stereotypes would require
something in the way of such dropdown lists for all object types.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
Oliver Kellogg | 1 Sep 13:42 2007
Picon
Picon

[Bug 64147] stereotype enhancements for uml objects

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

http://bugs.kde.org/show_bug.cgi?id=64147         
okellogg users sourceforge net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|steretype enhancements for  |stereotype enhancements for
                   |uml objects                 |uml objects

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
Oliver Kellogg | 1 Sep 14:20 2007
Picon
Picon

KDE/kdesdk/umbrello/umbrello

SVN commit 707271 by okellogg:

resetTextBlocks(): Hotfix - work around crash.
If you are using Umbrello for production work, I strongly advise to deselect
"Use new C++/Java/Ruby Code Generators" in the General Settings.
The advanced code generators are still very prone to crash.

 M  +45 -0     codegenobjectwithtextblocks.cpp  

--- trunk/KDE/kdesdk/umbrello/umbrello/codegenobjectwithtextblocks.cpp #707270:707271
 <at>  <at>  -321,9 +321,54  <at>  <at> 
 }

 void CodeGenObjectWithTextBlocks::resetTextBlocks() {
+    /**************   <at> todo I had to deactivate this code:
     TextBlock *tb;
     for (TextBlockListIt it(m_textblockVector); (tb = it.current()) != NULL; ++it)
         delete tb;
+     **************  else the following crash happens on loading an XMI file:
+     Invalid read of size 4
+        at 0x8134BAA: QString::QString(QString const&) (qstring.h:650)
+        by 0x8331EE5: TextBlock::getTag() const (textblock.cpp:103)
+        by 0x82C4634: ClassifierCodeDocument::findCodeClassFieldTextBlockByTag(QString const&) (classifiercodedocument.cpp:730)
+        by 0x82F3940: HierarchicalCodeBlock::findCodeClassFieldTextBlockByTag(QString const&) (hierarchicalcodeblock.cpp:366)
+        by 0x82D71DC: CodeGenObjectWithTextBlocks::loadChildTextBlocksFromNode(QDomElement&) (codegenobjectwithtextblocks.cpp:422)
+        by 0x82D6DFF: CodeGenObjectWithTextBlocks::setAttributesFromNode(QDomElement&) (codegenobjectwithtextblocks.cpp:373)
+        by 0x82F3412: HierarchicalCodeBlock::setAttributesFromNode(QDomElement&) (hierarchicalcodeblock.cpp:290)
+        by 0x82F3248: HierarchicalCodeBlock::loadFromXMI(QDomElement&) (hierarchicalcodeblock.cpp:269)
+        by 0x82D760F: CodeGenObjectWithTextBlocks::loadChildTextBlocksFromNode(QDomElement&) (codegenobjectwithtextblocks.cpp:453)
+        by 0x82D6DFF: CodeGenObjectWithTextBlocks::setAttributesFromNode(QDomElement&) (codegenobjectwithtextblocks.cpp:373)
(Continue reading)

Oliver Kellogg | 1 Sep 19:39 2007
Picon
Picon

KDE/kdesdk/umbrello/umbrello

SVN commit 707383 by okellogg:

Let newcodegen default to false (due to frequent crashes)

 M  +1 -1      umbrello.kcfg  

--- trunk/KDE/kdesdk/umbrello/umbrello/umbrello.kcfg #707382:707383
 <at>  <at>  -37,7 +37,7  <at>  <at> 
        <entry name="newcodegen" type="Bool">
          <label>New Code Generator</label>
          <whatisthis>Enables/Disables Support for the New Code Generator</whatisthis>
-         <default>true</default>
+         <default>false</default>
        </entry>
        <entry name="angularlines" type="Bool">
          <label>Angular Lines</label>

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
Oliver Kellogg | 1 Sep 20:20 2007
Picon
Picon

[Bug 149457] New: crash on exit after loading XMI file with Advanced Code Generators enabled

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

http://bugs.kde.org/show_bug.cgi?id=149457         
           Summary: crash on exit after loading XMI file with Advanced Code
                    Generators enabled
           Product: umbrello
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Linux
            Status: NEW
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: uml-devel lists sourceforge net
        ReportedBy: okellogg users sourceforge net

Version:           trunk r707383 (using KDE Devel)
Installed from:    Compiled sources

I saved phonon design.xmi and loaded the new file.
Here's what happens on exiting:

==16640== Invalid read of size 4
==16640==    at 0x602CE79: __dynamic_cast (in /usr/lib/libstdc++.so.5.0.7)
==16640==    by 0x820C246: CPPHeaderClassDeclarationBlock::updateContent() (cppheaderclassdeclarationblock.cpp:78)
==16640==    by 0x8320A63: OwnedHierarchicalCodeBlock::syncToParent() (ownedhierarchicalcodeblock.cpp:109)
==16640==    by 0x8320B2F: OwnedHierarchicalCodeBlock::qt_metacall(QMetaObject::Call, int, void**) (ownedhierarchicalcodeblock.moc:66)
==16640==    by 0x820CBBC: CPPHeaderClassDeclarationBlock::qt_metacall(QMetaObject::Call, int,
void**) (cppheaderclassdeclarationblock.moc:56)
(Continue reading)

Oliver Kellogg | 1 Sep 20:22 2007
Picon
Picon

[Bug 149457] crash on exit after loading XMI file with Advanced Code Generators enabled

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

http://bugs.kde.org/show_bug.cgi?id=149457         

------- Additional Comments From okellogg users sourceforge net  2007-09-01 20:22 -------
Created an attachment (id=21526)
 --> (http://bugs.kde.org/attachment.cgi?id=21526&action=view)
phonon-design-saved-by-trunk-r707383.xmi

XMI file for which the crash-on-exit happens.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
Oliver Kellogg | 2 Sep 01:30 2007
Picon
Picon

KDE/kdesdk/umbrello/umbrello

SVN commit 707484 by okellogg:

CodeGenerationPolicy::ScopePolicy: Fold into Uml::Visibility::Value.

 M  +4 -4      codegenerationpolicy.cpp  
 M  +10 -9     codegenerationpolicy.h  
 M  +5 -5      codegenerators/dcodeaccessormethod.cpp  
 M  +5 -5      codegenerators/dcodeclassfielddeclarationblock.cpp  
 M  +2 -2      codegenerators/dcodegenerationpolicypage.cpp  
 M  +5 -5      codegenerators/javacodeaccessormethod.cpp  
 M  +5 -5      codegenerators/javacodeclassfielddeclarationblock.cpp  
 M  +2 -2      codegenerators/javacodegenerationpolicypage.cpp  
 M  +5 -5      codegenerators/rubycodeaccessormethod.cpp  
 M  +5 -5      codegenerators/rubycodeclassfielddeclarationblock.cpp  
 M  +2 -2      codegenerators/rubycodegenerationpolicypage.cpp  
 M  +2 -2      optionstate.h  
 M  +4 -4      umbrello.kcfg  
 M  +2 -1      umlnamespace.h  

--- trunk/KDE/kdesdk/umbrello/umbrello/codegenerationpolicy.cpp #707483:707484
 <at>  <at>  -332,21 +332,21  <at>  <at> 
     return Settings::getOptionState().codeGenerationState.autoGenEmptyConstructors;
 }

-void CodeGenerationPolicy::setAttributeAccessorScope(ScopePolicy var) {
+void CodeGenerationPolicy::setAttributeAccessorScope(Uml::Visibility::Value var) {
     Settings::getOptionState().codeGenerationState.defaultAttributeAccessorScope = var;
     emit modifiedCodeContent();
 }

(Continue reading)

Oliver Kellogg | 2 Sep 10:07 2007
Picon
Picon

KDE/kdesdk/umbrello/umbrello

SVN commit 707555 by okellogg:

EBN Krazy #4 (proper include directives)

 M  +5 -0      cmds/classdiag/cmd_create_class.h  
 M  +15 -0     cmds/cmd_create_umlobject.h  
 M  +0 -1      uml.cpp  

--- trunk/KDE/kdesdk/umbrello/umbrello/cmds/classdiag/cmd_create_class.h #707554:707555
 <at>  <at>  -8,3 +8,8  <at>  <at> 
  *  copyright (C) 2002-2006                                                *
  *  Umbrello UML Modeller Authors <uml-devel <at> uml.sf.net>                   *
  ***************************************************************************/
+
+#ifndef __CMD_CREATE_CLASS_H__
+#define __CMD_CREATE_CLASS_H__
+
+#endif
--- trunk/KDE/kdesdk/umbrello/umbrello/cmds/cmd_create_umlobject.h #707554:707555
 <at>  <at>  -0,0 +1,15  <at>  <at> 
+/***************************************************************************
+ *                                                                         *
+ *   This program is free software; you can redistribute it and/or modify  *
+ *   it under the terms of the GNU General Public License as published by  *
+ *   the Free Software Foundation; either version 2 of the License, or     *
+ *   (at your option) any later version.                                   *
+ *                                                                         *
+ *  copyright (C) 2002-2006                                                *
+ *  Umbrello UML Modeller Authors <uml-devel <at> uml.sf.net>                   *
+ ***************************************************************************/
(Continue reading)

Oliver Kellogg | 2 Sep 10:25 2007
Picon
Picon

KDE/kdesdk/umbrello/umbrello/dialogs

SVN commit 707556 by okellogg:

avoid contraction (EBN Krazy designer #1)

 M  +1 -1      exportallviewsdialogbase.ui  

--- trunk/KDE/kdesdk/umbrello/umbrello/dialogs/exportallviewsdialogbase.ui #707555:707556
 <at>  <at>  -76,7 +76,7  <at>  <at> 
        </property>
        <property name="whatsThis" >
         <string>The views are stored in folders in the document. The same tree structure used in the document to
store the views can be created in the selected base directory with this option.
-Only the folders made by the user are created in the base directory (Logical view, use case view and so on
aren't created).</string>
+Only the folders made by the user are created in the base directory (Logical view, use case view and so on are
not created).</string>
        </property>
        <property name="text" >
         <string>Use &amp;folders</string>

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/

Gmane