Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Extra libraries, Code snippets, applications etc. » Applications created with U++ » diagramming tool
diagramming tool [message #31522] Wed, 09 March 2011 14:53 Go to next message
pber is currently offline  pber
Messages: 6
Registered: February 2011
Location: Italy
Promising Member
I'm trying to build a diagramming tool.
Do not expect to find anything of usable at now,
it's still at an early-early stage, it has (many) bugs
and does not save nor load anything. In other words it's
pretty useless... but I hope you may guess something in it.

best regards
Paolo Bernardi
  • Attachment: canvas.zip
    (Size: 71.74KB, Downloaded 290 times)
Re: diagramming tool [message #31523 is a reply to message #31522] Wed, 09 March 2011 16:40 Go to previous messageGo to next message
koldo is currently offline  koldo
Messages: 3023
Registered: August 2008
Ultimate Member
Hello pber

I have had some problems compiling it:

- Some files are not included, as gm.lay or images.img
- In connector.cc, line 236, there is this:

if (selected and !activePoint)



Best regards
Iñaki
Re: diagramming tool [message #31527 is a reply to message #31523] Wed, 09 March 2011 23:41 Go to previous messageGo to next message
pber is currently offline  pber
Messages: 6
Registered: February 2011
Location: Italy
Promising Member
Thanks Koldo:
you're right I missed some piece for the hurry to post
(but if not in hurry I didn't find the courage to post... )

I hope this zip is the complete one.

best regards
Paolo Bernardi
  • Attachment: canvas.zip
    (Size: 77.86KB, Downloaded 266 times)
Re: diagramming tool [message #31607 is a reply to message #31527] Thu, 17 March 2011 09:41 Go to previous messageGo to next message
tojocky is currently offline  tojocky
Messages: 607
Registered: April 2008
Location: UK
Contributor

pber wrote on Thu, 10 March 2011 00:41

Thanks Koldo:
you're right I missed some piece for the hurry to post
(but if not in hurry I didn't find the courage to post... )

I hope this zip is the complete one.

best regards
Paolo Bernardi



Very nice! It like case diagram. But with many bugs.
Re: diagramming tool [message #31609 is a reply to message #31607] Thu, 17 March 2011 11:11 Go to previous messageGo to next message
koldo is currently offline  koldo
Messages: 3023
Registered: August 2008
Ultimate Member
I agree with tojocky.

In XP it runs compiled with MinGW. As TheIDE configuration for MSC is more restrictive that the one for MinGW, it is not possible to compile it with MSC.

Here I enclose you the warnings and errors. They are very useful:

ClassDiagram.cc
c:\desarrollo\aplicaciones\canvas\classdiagram.cc(135) : warning C4715: 'gm::ClassDiagram::edit' : not all control paths return a value
$blitz.cpp
C:\Desarrollo\Aplicaciones\canvas\Ruler.cc(10) : warning C4244: 'argument' : conversion from 'double' to 'int', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\Ruler.cc(10) : warning C4244: 'argument' : conversion from 'double' to 'int', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\Ruler.cc(11) : warning C4244: 'argument' : conversion from 'double' to 'int', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\Ruler.cc(18) : warning C4244: 'argument' : conversion from 'double' to 'int', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\Ruler.cc(18) : warning C4244: 'argument' : conversion from 'double' to 'int', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\Ruler.cc(19) : warning C4244: 'argument' : conversion from 'double' to 'int', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\Ruler.cc(23) : warning C4244: 'argument' : conversion from 'double' to 'int', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\Ruler.cc(23) : warning C4244: 'argument' : conversion from 'double' to 'int', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\Ruler.cc(24) : warning C4244: 'argument' : conversion from 'double' to 'int', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\Ruler.cc(30) : warning C4244: 'argument' : conversion from 'double' to 'int', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\Ruler.cc(30) : warning C4244: 'argument' : conversion from 'double' to 'int', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\Ruler.cc(31) : warning C4244: 'argument' : conversion from 'double' to 'int', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\Halos.cc(22) : warning C4018: '<' : signed/unsigned mismatch
C:\Desarrollo\Aplicaciones\canvas\Image.cc(10) : warning C4244: 'argument' : conversion from 'double' to 'float', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\Image.cc(10) : warning C4244: 'argument' : conversion from 'double' to 'float', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\Image.cc(16) : warning C4244: 'argument' : conversion from 'const double' to 'float', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\Image.cc(16) : warning C4244: 'argument' : conversion from 'const double' to 'float', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\UppCanvas.cc(13) : warning C4244: 'argument' : conversion from 'float' to 'int', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\UppCanvas.cc(13) : warning C4244: 'argument' : conversion from 'float' to 'int', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\UppCanvas.cc(13) : warning C4244: 'argument' : conversion from 'double' to 'int', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\UppCanvas.cc(13) : warning C4244: 'argument' : conversion from 'double' to 'int', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\UppCanvas.cc(18) : warning C4244: 'argument' : conversion from 'double' to 'float', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\UppCanvas.cc(18) : warning C4244: 'argument' : conversion from 'double' to 'float', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\UppCanvas.cc(18) : warning C4244: 'argument' : conversion from 'double' to 'float', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\UppCanvas.cc(18) : warning C4244: 'argument' : conversion from 'double' to 'float', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\UppCanvas.cc(24) : warning C4244: 'argument' : conversion from 'float' to 'int', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\UppCanvas.cc(24) : warning C4244: 'argument' : conversion from 'float' to 'int', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\UppCanvas.cc(24) : warning C4244: 'argument' : conversion from 'float' to 'int', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\UppCanvas.cc(24) : warning C4244: 'argument' : conversion from 'float' to 'int', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\UppCanvas.cc(35) : warning C4244: 'initializing' : conversion from 'double' to 'float', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\UppCanvas.cc(35) : warning C4244: 'initializing' : conversion from 'double' to 'float', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\UppCanvas.cc(35) : warning C4244: 'initializing' : conversion from 'double' to 'float', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\UppCanvas.cc(35) : warning C4244: 'initializing' : conversion from 'double' to 'float', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\UppCanvas.cc(44) : warning C4244: 'initializing' : conversion from 'double' to 'int', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\UppCanvas.cc(44) : warning C4244: 'initializing' : conversion from 'double' to 'int', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\UppCanvas.cc(44) : warning C4244: 'initializing' : conversion from 'double' to 'int', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\UppCanvas.cc(44) : warning C4244: 'initializing' : conversion from 'double' to 'int', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\UppCanvas.cc(56) : warning C4244: 'initializing' : conversion from 'double' to 'int', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\UppCanvas.cc(56) : warning C4244: 'initializing' : conversion from 'double' to 'int', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\UppCanvas.cc(56) : warning C4244: 'initializing' : conversion from 'double' to 'int', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\UppCanvas.cc(56) : warning C4244: 'initializing' : conversion from 'double' to 'int', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\UppCanvas.cc(68) : warning C4244: 'argument' : conversion from 'float' to 'int', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\UppCanvas.cc(68) : warning C4244: 'argument' : conversion from 'float' to 'int', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\UppCanvas.cc(68) : warning C4244: 'argument' : conversion from 'float' to 'int', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\UppCanvas.cc(73) : warning C4244: 'initializing' : conversion from 'double' to 'float', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\UppCanvas.cc(73) : warning C4244: 'initializing' : conversion from 'double' to 'float', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\UppCanvas.cc(74) : warning C4244: 'initializing' : conversion from 'double' to 'float', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\UppCanvas.cc(74) : warning C4244: 'initializing' : conversion from 'double' to 'float', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\UppCanvas.cc(85) : warning C4244: 'argument' : conversion from 'const double' to 'int', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\UppCanvas.cc(85) : warning C4244: 'argument' : conversion from 'const double' to 'int', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\UppCanvas.cc(101) : warning C4244: 'argument' : conversion from 'float' to 'int', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\UppCanvas.cc(101) : warning C4244: 'argument' : conversion from 'float' to 'int', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\UppCanvas.cc(101) : warning C4244: 'argument' : conversion from 'float' to 'int', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\UppCanvas.cc(101) : warning C4244: 'argument' : conversion from 'float' to 'int', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\Ellipse.cc(16) : warning C4244: 'argument' : conversion from 'double' to 'float', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\Ellipse.cc(16) : warning C4244: 'argument' : conversion from 'double' to 'float', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\Ellipse.cc(16) : warning C4244: 'argument' : conversion from 'double' to 'float', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\Ellipse.cc(16) : warning C4244: 'argument' : conversion from 'double' to 'float', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\shape.cc(21) : warning C4244: 'argument' : conversion from 'int' to 'float', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\Separator.cc(10) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\Separator.cc(11) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\Separator.cc(12) : warning C4244: '=' : conversion from 'const double' to 'float', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\selection.cc(28) : warning C4018: '>=' : signed/unsigned mismatch
C:\Desarrollo\Aplicaciones\canvas\Arrow.cc(26) : warning C4244: '=' : conversion from 'double' to 'int', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\Arrow.cc(27) : warning C4244: '=' : conversion from 'double' to 'int', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\Arrow.cc(28) : warning C4244: '=' : conversion from 'double' to 'int', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\Arrow.cc(29) : warning C4244: '=' : conversion from 'double' to 'int', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\Arrow.cc(30) : warning C4244: '=' : conversion from 'double' to 'int', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\Arrow.cc(31) : warning C4244: '=' : conversion from 'double' to 'int', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\Arrow.cc(32) : warning C4244: 'argument' : conversion from 'int' to 'float', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\Arrow.cc(32) : warning C4244: 'argument' : conversion from 'int' to 'float', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\Arrow.cc(32) : warning C4244: 'argument' : conversion from 'int' to 'float', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\Arrow.cc(32) : warning C4244: 'argument' : conversion from 'int' to 'float', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\Arrow.cc(32) : warning C4244: 'argument' : conversion from 'int' to 'float', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\Arrow.cc(32) : warning C4244: 'argument' : conversion from 'int' to 'float', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\Arrow.cc(33) : warning C4244: 'argument' : conversion from 'int' to 'float', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\Arrow.cc(33) : warning C4244: 'argument' : conversion from 'int' to 'float', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\Arrow.cc(33) : warning C4244: 'argument' : conversion from 'int' to 'float', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\Arrow.cc(33) : warning C4244: 'argument' : conversion from 'int' to 'float', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\Arrow.cc(33) : warning C4244: 'argument' : conversion from 'int' to 'float', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\Arrow.cc(33) : warning C4244: 'argument' : conversion from 'int' to 'float', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\Arrow.cc(34) : warning C4244: 'argument' : conversion from 'int' to 'float', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\Arrow.cc(34) : warning C4244: 'argument' : conversion from 'int' to 'float', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\Arrow.cc(34) : warning C4244: 'argument' : conversion from 'int' to 'float', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\Arrow.cc(34) : warning C4244: 'argument' : conversion from 'int' to 'float', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\Arrow.cc(34) : warning C4244: 'argument' : conversion from 'int' to 'float', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\Arrow.cc(34) : warning C4244: 'argument' : conversion from 'int' to 'float', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\Arrow.cc(46) : warning C4244: '=' : conversion from 'double' to 'int', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\Arrow.cc(47) : warning C4244: '=' : conversion from 'double' to 'int', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\Arrow.cc(48) : warning C4244: '=' : conversion from 'double' to 'int', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\Arrow.cc(49) : warning C4244: '=' : conversion from 'double' to 'int', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\Arrow.cc(50) : warning C4244: '=' : conversion from 'double' to 'int', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\Arrow.cc(51) : warning C4244: '=' : conversion from 'double' to 'int', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\Arrow.cc(52) : warning C4244: '=' : conversion from 'double' to 'int', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\Arrow.cc(53) : warning C4244: '=' : conversion from 'double' to 'int', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\Arrow.cc(54) : warning C4244: 'argument' : conversion from 'int' to 'float', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\Arrow.cc(54) : warning C4244: 'argument' : conversion from 'int' to 'float', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\Arrow.cc(54) : warning C4244: 'argument' : conversion from 'int' to 'float', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\Arrow.cc(54) : warning C4244: 'argument' : conversion from 'int' to 'float', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\Arrow.cc(54) : warning C4244: 'argument' : conversion from 'int' to 'float', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\Arrow.cc(54) : warning C4244: 'argument' : conversion from 'int' to 'float', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\Arrow.cc(55) : warning C4244: 'argument' : conversion from 'int' to 'float', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\Arrow.cc(55) : warning C4244: 'argument' : conversion from 'int' to 'float', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\Arrow.cc(55) : warning C4244: 'argument' : conversion from 'int' to 'float', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\Arrow.cc(55) : warning C4244: 'argument' : conversion from 'int' to 'float', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\Arrow.cc(55) : warning C4244: 'argument' : conversion from 'int' to 'float', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\Arrow.cc(55) : warning C4244: 'argument' : conversion from 'int' to 'float', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\Arrow.cc(56) : warning C4244: 'argument' : conversion from 'int' to 'float', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\Arrow.cc(56) : warning C4244: 'argument' : conversion from 'int' to 'float', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\Arrow.cc(56) : warning C4244: 'argument' : conversion from 'int' to 'float', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\Arrow.cc(56) : warning C4244: 'argument' : conversion from 'int' to 'float', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\Arrow.cc(56) : warning C4244: 'argument' : conversion from 'int' to 'float', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\Arrow.cc(56) : warning C4244: 'argument' : conversion from 'int' to 'float', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\Arrow.cc(57) : warning C4244: 'argument' : conversion from 'int' to 'float', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\Arrow.cc(57) : warning C4244: 'argument' : conversion from 'int' to 'float', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\Arrow.cc(57) : warning C4244: 'argument' : conversion from 'int' to 'float', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\Arrow.cc(57) : warning C4244: 'argument' : conversion from 'int' to 'float', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\Arrow.cc(57) : warning C4244: 'argument' : conversion from 'int' to 'float', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\Arrow.cc(57) : warning C4244: 'argument' : conversion from 'int' to 'float', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\Arrow.cc(60) : warning C4244: '=' : conversion from 'double' to 'int', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\Arrow.cc(61) : warning C4244: '=' : conversion from 'double' to 'int', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\Arrow.cc(62) : warning C4244: '=' : conversion from 'double' to 'int', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\Arrow.cc(63) : warning C4244: '=' : conversion from 'double' to 'int', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\Arrow.cc(64) : warning C4244: '=' : conversion from 'double' to 'int', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\Arrow.cc(65) : warning C4244: '=' : conversion from 'double' to 'int', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\Arrow.cc(66) : warning C4244: 'argument' : conversion from 'int' to 'float', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\Arrow.cc(66) : warning C4244: 'argument' : conversion from 'int' to 'float', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\Arrow.cc(66) : warning C4244: 'argument' : conversion from 'int' to 'float', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\Arrow.cc(66) : warning C4244: 'argument' : conversion from 'int' to 'float', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\Arrow.cc(66) : warning C4244: 'argument' : conversion from 'int' to 'float', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\Arrow.cc(66) : warning C4244: 'argument' : conversion from 'int' to 'float', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\Arrow.cc(67) : warning C4244: 'argument' : conversion from 'int' to 'float', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\Arrow.cc(67) : warning C4244: 'argument' : conversion from 'int' to 'float', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\Arrow.cc(67) : warning C4244: 'argument' : conversion from 'int' to 'float', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\Arrow.cc(67) : warning C4244: 'argument' : conversion from 'int' to 'float', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\Arrow.cc(67) : warning C4244: 'argument' : conversion from 'int' to 'float', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\Arrow.cc(67) : warning C4244: 'argument' : conversion from 'int' to 'float', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\Arrow.cc(20) : warning C4101: 'size' : unreferenced local variable
C:\Desarrollo\Aplicaciones\canvas\HighLight.cc(48) : warning C4244: 'argument' : conversion from 'double' to 'int', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\HighLight.cc(48) : warning C4244: 'argument' : conversion from 'double' to 'int', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\HighLight.cc(83) : warning C4244: 'argument' : conversion from 'int' to 'float', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\MTPick.cc(44) : warning C4390: ';' : empty controlled statement found; is this the intent?
c:\desarrollo\aplicaciones\canvas\separator.cc(23) : warning C4715: 'cv::Separator::get_extent' : not all control paths return a value
c:\desarrollo\aplicaciones\canvas\mtconnect.cc(208) : warning C4715: 'cv::MTConnect::notify' : not all control paths return a value
c:\desarrollo\aplicaciones\canvas\mtdrag.cc(92) : warning C4715: 'cv::MTDrag::notify' : not all control paths return a value
c:\desarrollo\aplicaciones\canvas\mtpickrelative.cc(59) : warning C4715: 'cv::MTPickRelative::notify' : not all control paths return a value
c:\desarrollo\aplicaciones\canvas\mtpick.cc(83) : error C4716: 'cv::MTPick::pickNull' : must return a value
ConnectorEnd.cc
C:\Desarrollo\Aplicaciones\canvas\ConnectorEnd.cc(58) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\ConnectorEnd.cc(200) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
connector.cc
C:\Desarrollo\Aplicaciones\canvas\connector.cc(236) : error C2146: syntax error : missing ')' before identifier 'and'
C:\Desarrollo\Aplicaciones\canvas\connector.cc(236) : error C2065: 'and' : undeclared identifier
C:\Desarrollo\Aplicaciones\canvas\connector.cc(236) : error C2143: syntax error : missing ';' before '!'
C:\Desarrollo\Aplicaciones\canvas\connector.cc(236) : error C2059: syntax error : ')'
C:\Desarrollo\Aplicaciones\canvas\connector.cc(237) : error C2146: syntax error : missing ';' before identifier 'root'
C:\Desarrollo\Aplicaciones\canvas\connector.cc(237) : warning C4552: '!' : operator has no effect; expected operator with side-effect
Handler.cc
Diagram.cc
C:\Desarrollo\Aplicaciones\canvas\Diagram.cc(122) : warning C4244: 'argument' : conversion from 'double' to 'int', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\Diagram.cc(122) : warning C4244: 'argument' : conversion from 'double' to 'int', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\Diagram.cc(123) : warning C4244: 'argument' : conversion from 'double' to 'int', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\Diagram.cc(123) : warning C4244: 'argument' : conversion from 'double' to 'int', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\Diagram.cc(124) : warning C4244: 'argument' : conversion from 'double' to 'int', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\Diagram.cc(124) : warning C4244: 'argument' : conversion from 'double' to 'int', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\Diagram.cc(125) : warning C4244: 'argument' : conversion from 'double' to 'int', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\Diagram.cc(125) : warning C4244: 'argument' : conversion from 'double' to 'int', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\Diagram.cc(135) : warning C4244: 'argument' : conversion from 'double' to 'int', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\Diagram.cc(135) : warning C4244: 'argument' : conversion from 'double' to 'int', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\Diagram.cc(140) : warning C4244: 'argument' : conversion from 'double' to 'int', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\Diagram.cc(140) : warning C4244: 'argument' : conversion from 'double' to 'int', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\Diagram.cc(148) : warning C4244: 'argument' : conversion from 'double' to 'int', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\Diagram.cc(148) : warning C4244: 'argument' : conversion from 'double' to 'int', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\Diagram.cc(153) : warning C4244: 'argument' : conversion from 'double' to 'int', possible loss of data
C:\Desarrollo\Aplicaciones\canvas\Diagram.cc(153) : warning C4244: 'argument' : conversion from 'double' to 'int', possible loss of data
Label.cc
c:\desarrollo\aplicaciones\canvas\canvas.cc(217) : error C4716: 'cv::Canvas::isDragging' : must return a value
canvas.cc
canvas: 56 file(s) built in (0:10.61), 189 msecs / file, duration = 11953 msecs, parallelization 100%


Best regards
Iñaki
Re: diagramming tool [message #31612 is a reply to message #31609] Thu, 17 March 2011 14:28 Go to previous messageGo to next message
tojocky is currently offline  tojocky
Messages: 607
Registered: April 2008
Location: UK
Contributor

If we really want to improve this package, than let include in bazaar and improve it.
Re: diagramming tool [message #31613 is a reply to message #31609] Thu, 17 March 2011 14:52 Go to previous messageGo to next message
tojocky is currently offline  tojocky
Messages: 607
Registered: April 2008
Location: UK
Contributor

I made this package compiled without error with MSC and GCC (Ubuntu).
As idea, this package is interesting.
Re: diagramming tool [message #31665 is a reply to message #31613] Sat, 19 March 2011 03:08 Go to previous messageGo to next message
pber is currently offline  pber
Messages: 6
Registered: February 2011
Location: Italy
Promising Member
Thanks, your interest make me happy.

I (finally) realized msvc works better than gcc. thanks tojocky.

sure: it's just an idea at now.
For now it's an experiment on using using Ultimate + RR.
Maybe this time I will avoid the famigerate collapse.
I'm optimist: the really ugly and bugged code you have seen is already
far from what I could produce unsing just an IDE (...even if _the_ IDE).

Still full of bugs, but reorganized into few files (TheIDE prefers this way...).
Now labels works well with polylines

Obviously: any suggestions will be welcome.
best regards
  • Attachment: canvas.zip
    (Size: 50.70KB, Downloaded 239 times)
Re: diagramming tool [message #31684 is a reply to message #31665] Sat, 19 March 2011 23:03 Go to previous messageGo to next message
tojocky is currently offline  tojocky
Messages: 607
Registered: April 2008
Location: UK
Contributor

pber wrote on Sat, 19 March 2011 04:08

Thanks, your interest make me happy.

I (finally) realized msvc works better than gcc. thanks tojocky.

sure: it's just an idea at now.
For now it's an experiment on using using Ultimate + RR.
Maybe this time I will avoid the famigerate collapse.
I'm optimist: the really ugly and bugged code you have seen is already
far from what I could produce unsing just an IDE (...even if _the_ IDE).

Still full of bugs, but reorganized into few files (TheIDE prefers this way...).
Now labels works well with polylines

Obviously: any suggestions will be welcome.
best regards


Paolo,

Now is a little better, but you have memory leaks and some errors.

In include you need to use same case of name file.
e.g. if you have a header file

Header.h

in source file you need to write
#include "Header.h"

not
#include "header.h"

I have attached a corrected variant (only include) in a hurry.
Re: diagramming tool [message #31702 is a reply to message #31684] Sun, 20 March 2011 21:13 Go to previous messageGo to next message
pber is currently offline  pber
Messages: 6
Registered: February 2011
Location: Italy
Promising Member
I bag your pardon Ion: I missed unix is case-sensitive.

This version has no memory-leacks.

Two buttons added: populate and stress.
populate - creates 50 nodes and 50 relations.
stress - run populate and immediatly remove all.

My toy is very slow:
1. it computes anything during the paint-phase
(I guess it'is bad design)
2. at each paint all the world get re-computed and
re-painted

Next steps are:
- some optimization (at least to work with 100/200 nodes)
- boost::graph as layout manager

Do I need some authorization to put it into bazaar?

best regards
Paolo Bernardi
  • Attachment: canvas.zip
    (Size: 52.66KB, Downloaded 301 times)
Re: diagramming tool [message #31715 is a reply to message #31522] Mon, 21 March 2011 09:49 Go to previous messageGo to next message
mr_ped is currently offline  mr_ped
Messages: 801
Registered: November 2005
Location: Czech Republic - Praha
Experienced Contributor

Bazaar:
You need svn account, ask Mirek in private message, just write you want to add your package to bazaar.

Please add BSD license (or different one if you want, but things in bazaar are expected to be BSD "compatible") into your project in some expected place (a short mention in comment in every source file or some file COPYING or README would be good).
Files without license are automatically (by law) considered as protected work of author and their usage by others is not legal without your further consent.
Re: diagramming tool [message #31716 is a reply to message #31702] Mon, 21 March 2011 10:46 Go to previous messageGo to next message
tojocky is currently offline  tojocky
Messages: 607
Registered: April 2008
Location: UK
Contributor

Removed: mr_ped already answered.

[Updated on: Mon, 21 March 2011 10:48]

Report message to a moderator

Re: diagramming tool [message #31717 is a reply to message #31715] Mon, 21 March 2011 11:26 Go to previous messageGo to next message
nlneilson is currently offline  nlneilson
Messages: 644
Registered: January 2010
Location: U.S. California. Mojave &...
Contributor
mr_ped wrote on Mon, 21 March 2011 09:49

Files without license are automatically (by law) considered as protected work of author and their usage by others is not legal without your further consent.

Interesting, was not aware of that.

With files that are intended to help other I don't include anything. Maybe I should include something like:
No License No Restrictions

GPL in my opinion is NFG and I try to stay away from it.

LGPL is a bit of a nuisance but OK.

Once I get something working I am fair at optimizing for speed, efficiency and accuracy and often don't mind sharing it.

For code that is meant to be proprietary I just use:
Copyright, all rights reserved
and then only the compiled version and no code is available.

Sometimes all the legalese BS makes my head hurt.

The diagram tool sounds interesting, I might try it.

Neil
Re: diagramming tool [message #31733 is a reply to message #31522] Tue, 22 March 2011 09:28 Go to previous message
mr_ped is currently offline  mr_ped
Messages: 801
Registered: November 2005
Location: Czech Republic - Praha
Experienced Contributor

WTFPL is another good one. Very Happy
(and it's compatible with any other license, either in original form, or in worst case under re-licensing it under target license)

[Updated on: Tue, 22 March 2011 09:29]

Report message to a moderator

Previous Topic: Visual Studio Map File Browser
Next Topic: TimberStruct - Timber Structural analysis application
Goto Forum:
  


Current Time: Tue Nov 12 20:46:00 CET 2019

Total time taken to generate the page: 0.01451 seconds