Giter Site home page Giter Site logo

compendiumng / compendiumng Goto Github PK

View Code? Open in Web Editor NEW
136.0 29.0 34.0 75.09 MB

CompendiumNG is continuation of the original Compendium project. It is based on version 2.0.1-beta of Compendium project.

License: Other

Java 91.55% AspectJ 0.07% Shell 0.01% Haskell 0.01% CSS 0.15% PHP 1.48% JavaScript 0.45% HTML 6.26% Batchfile 0.01% C 0.01%

compendiumng's Introduction

CompendiumNG

![Gitter](https://badges.gitter.im/Join Chat.svg)

CompendiumNG, is a powerful application that lets you create extensive maps using nodes and link structure. Common usages of Compendium include: dialog mapping and mind mapping but its uses are almost limitless. Compendium was originally developed as a project by the OpenUniversity. In 2009 it was released as open source under the lesser GNU public license (LGPL) and in 2012 the Compendium community established CompendiumNG as an effort to maintain and further develop this great software.

Please visit our project homepage to find out more:

https://github.com/CompendiumNG/CompendiumNG/wiki

Currently the website is down, but you can download the last version of CompendiumNG here: (https://compendium-ng.ci.cloudbees.com/job/cng-gradle/lastSuccessfulBuild/artifact/application/build/CompendiumNG-installer.jar)

compendiumng's People

Contributors

andreileman avatar gitter-badger avatar kenglover avatar maiklos avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

compendiumng's Issues

implement new storage format

new storage format for InformationBase must be define

characteristics:
when closed it is selfcontained = 1 file
it should support versioning
it must allow storing maps, and documents

Switching from the "advanced" interface back to the normal one in user preferences leaves the program in an error state

http://compendium.open.ac.uk/bugzilla/show_bug.cgi?id=852

Adam 2010-04-29 14:57:28 BST

Tools>User Options>Misc has an option "Enable advanced User Interface".

If this is checked, and the user returns to the program, it appears to work OK.

If you subsequently return to the dialog and uncheck the box and close the
dialog, the project closes but the program remains open. If you then repoen the
project and try to add a node, you get the error:

Error: (ViewPaneUI.CreateNode.actionPerformed)

NodeService is null in View.addMemberNode-2c

[reply] [-] Comment 1 Michelle Bachler 2010-04-29 15:01:33 BST

I assume if you close Compendium and reopen it, it then all works fine again?

Michelle

[reply] [-] Comment 2 Adam 2010-04-29 15:28:10 BST

Yes,

Closing Compendium and restarting it seems to solve the problem.

Adam

Import open Issues from Bugzilla

Import all open issues from Bugzilla related to Compendium v2 (currently 101) into GitHub. The purpose is to have all (open) issues in the tracker used for the development of CompendiumNG. When done talk to Michelle to set status in Bugzilla to migrated. The reason is that open issues will no longer be resolved by the KMI and Michelle but here as part of the CompendiumNG development.
Get Issues from: http://compendium.open.ac.uk/bugzilla/

node iterations seems slow

when I do action on more nodes (i.e.) Ctrl-A [select-all-nodes] the action take quite some time. I suspect there is some issue with iteration/marking of all nodes. Investigate and try to improve it.

with mysql as db selecting a node generates an exception

when using MySQL as database then pointing on a node generates following exception:

...
20121217 22:24:20,317+0100 DEBUG ProjectCompendiumFrame.onFileOpen SQL @(DBSystem.java:357): SELECT Contents FROM System WHERE Property = 'codegroup'
20121217 22:24:20,325+0100 DEBUG ProjectCompendiumFrame.onFileOpen SQL @(DBSystem.java:384): SELECT Contents FROM System WHERE Property = 'linkgroup'
20121217 22:24:20,326+0100 DEBUG ProjectCompendiumFrame.onFileOpen SQL @(DBFavorite.java:236): SELECT NodeID, ViewID, Label, NodeType, CreationDate, ModificationDate FROM Favorite WHERE UserID = ?
20121217 22:24:20,329+0100 DEBUG ProjectCompendiumFrame.onFileOpen SQL @(DBWorkspace.java:514): SELECT WorkspaceID, Name, CreationDate, ModificationDate FROM Workspace WHERE UserID = ?
20121217 22:25:03,060+0100 INFO AWT-EventQueue-0 Error: (UIHintNodeViewsPanel) null
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at com.compendium.ui.UIViewPane.calculateLocation(UIViewPane.java:1488)
at com.compendium.ui.UIViewPane.showViews(UIViewPane.java:1569)
at com.compendium.ui.plaf.NodeUI.mouseMoved(NodeUI.java:2999)
at java.awt.AWTEventMulticaster.mouseMoved(AWTEventMulticaster.java:313)
at java.awt.Component.processMouseMotionEvent(Component.java:6342)
at javax.swing.JComponent.processMouseMotionEvent(JComponent.java:3293)
at java.awt.Component.processEvent(Component.java:6066)
at java.awt.Container.processEvent(Container.java:2039)
at java.awt.Component.dispatchEventImpl(Component.java:4660)
at java.awt.Container.dispatchEventImpl(Container.java:2097)
at java.awt.Component.dispatchEvent(Component.java:4488)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4575)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4249)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4166)
at java.awt.Container.dispatchEventImpl(Container.java:2083)
at java.awt.Window.dispatchEventImpl(Window.java:2489)
at java.awt.Component.dispatchEvent(Component.java:4488)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:668)
at java.awt.EventQueue.access$400(EventQueue.java:81)
at java.awt.EventQueue$2.run(EventQueue.java:627)
at java.awt.EventQueue$2.run(EventQueue.java:625)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
at java.awt.EventQueue$3.run(EventQueue.java:641)
at java.awt.EventQueue$3.run(EventQueue.java:639)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:638)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at com.compendium.ui.toolbars.UIToolBarFormat.setNodeOrLinkSelected(UIToolBarFormat.java:1418)
at com.compendium.ui.toolbars.UIToolBarManager.setNodeOrLinkSelected(UIToolBarManager.java:916)
at com.compendium.ui.ProjectCompendiumFrame.setNodeOrLinkSelected(ProjectCompendiumFrame.java:6623)
at com.compendium.ui.UIViewPane.processSelectedLink(UIViewPane.java:2373)
at com.compendium.ui.UIViewPane.setSelectedLink(UIViewPane.java:2330)
at com.compendium.ui.plaf.LinkUI.mouseClicked(LinkUI.java:1885)
at java.awt.Component.processMouseEvent(Component.java:6300)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3275)
at java.awt.Component.processEvent(Component.java:6062)
at java.awt.Container.processEvent(Container.java:2039)
at java.awt.Component.dispatchEventImpl(Component.java:4660)
at java.awt.Container.dispatchEventImpl(Container.java:2097)
at java.awt.Component.dispatchEvent(Component.java:4488)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4575)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4245)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4166)
at java.awt.Container.dispatchEventImpl(Container.java:2083)
at java.awt.Window.dispatchEventImpl(Window.java:2489)
at java.awt.Component.dispatchEvent(Component.java:4488)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:668)
at java.awt.EventQueue.access$400(EventQueue.java:81)
at java.awt.EventQueue$2.run(EventQueue.java:627)
at java.awt.EventQueue$2.run(EventQueue.java:625)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
at java.awt.EventQueue$3.run(EventQueue.java:641)
at java.awt.EventQueue$3.run(EventQueue.java:639)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:638)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at com.compendium.ui.toolbars.UIToolBarFormat.setNodeOrLinkSelected(UIToolBarFormat.java:1418)
at com.compendium.ui.toolbars.UIToolBarManager.setNodeOrLinkSelected(UIToolBarManager.java:916)
at com.compendium.ui.ProjectCompendiumFrame.setNodeOrLinkSelected(ProjectCompendiumFrame.java:6623)
at com.compendium.ui.UIViewPane.processSelectedLink(UIViewPane.java:2373)
at com.compendium.ui.UIViewPane.setSelectedLink(UIViewPane.java:2330)
at com.compendium.ui.plaf.LinkUI.mouseClicked(LinkUI.java:1885)
at java.awt.Component.processMouseEvent(Component.java:6300)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3275)
at java.awt.Component.processEvent(Component.java:6062)
at java.awt.Container.processEvent(Container.java:2039)
at java.awt.Component.dispatchEventImpl(Component.java:4660)
at java.awt.Container.dispatchEventImpl(Container.java:2097)
at java.awt.Component.dispatchEvent(Component.java:4488)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4575)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4245)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4166)
at java.awt.Container.dispatchEventImpl(Container.java:2083)
at java.awt.Window.dispatchEventImpl(Window.java:2489)
at java.awt.Component.dispatchEvent(Component.java:4488)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:668)
at java.awt.EventQueue.access$400(EventQueue.java:81)
at java.awt.EventQueue$2.run(EventQueue.java:627)
at java.awt.EventQueue$2.run(EventQueue.java:625)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
at java.awt.EventQueue$3.run(EventQueue.java:641)
at java.awt.EventQueue$3.run(EventQueue.java:639)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:638)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

mysql db connection setup

when setting up db connection (for mysqldb) there is not test button - just "connect". If the connection failse, than error message appears and connections setup disappears.

this is not very helpful.

need to put one extra button: "test" so user can test the connection before saving the connection profile
also failure to connect should result in return to the db connection setup dialog - not in disappearing it.

licenses

thre are some problems with licenses that should be resolved
a) missing licenses b) license compatibility check c) missing licenses in the CompendiumNG source code

to get this report run:
mvn license:add-third-party

 (Unknown license) antlr (antlr:antlr:2.7.5 - no url defined)
 (Apple License) AppleJavaExtensions (com.apple:AppleJavaExtensions:1.4 - http://developer.apple.com/library/mac/#samplecode/AppleJavaExtensions/Introduction/Intro.html)
 (BSD-style license) Jena IRI (com.hp.hpl.jena:iri:0.8 - http://jena.sf.net/iri)
 (BSD) Jena (com.hp.hpl.jena:jena:2.6.4 - http://www.openjena.org/)
 (ICU License) ICU4J (com.ibm.icu:icu4j:3.4.4 - http://www-306.ibm.com/software/globalization/icu/)
 (GNU Lesser General Public License) Kunststoff Look and Feel (com.incors:kunstoff-laf:2.0.2 - http://kunstoff.incors.com/archive)
 (The Apache Software License, Version 2.0) Commons Codec (commons-codec:commons-codec:1.5 - http://commons.apache.org/codec/)
 (The Apache Software License, Version 2.0) Commons Collections (commons-collections:commons-collections:3.2.1 - http://commons.apache.org/collections/)
 (The Apache Software License, Version 2.0) Commons Configuration (commons-configuration:commons-configuration:1.9 - http://commons.apache.org/configuration/)
 (The Apache Software License, Version 2.0) Commons FileUpload (commons-fileupload:commons-fileupload:1.2.2 - http://commons.apache.org/fileupload/)
 (The Apache Software License, Version 2.0) Commons Lang (commons-lang:commons-lang:2.6 - http://commons.apache.org/lang/)
 (The Apache Software License, Version 2.0) Logging (commons-logging:commons-logging:1.0.4 - http://jakarta.apache.org/commons/logging/)
 (Unknown license) concurrent (concurrent:concurrent:1.3.2 - no url defined)
 (GNU General Public License - Version 2 with the class path exception) JavaHelp API (javax.help:javahelp:2.0.05 - https://javahelp.dev.java.net/)
 (Unknown license) jmf (javax.media:jmf:2.1.1e - no url defined)
 (Common Public License Version 1.0) JUnit (junit:junit:4.11 - http://junit.org)
 (The Apache Software License, Version 2.0) Apache Log4j (log4j:log4j:1.2.17 - http://logging.apache.org/log4j/1.2/)
 (The GNU General Public License, Version 2) MySQL java connector (mysql:mysql-connector-java:5.1.22 - http://dev.mysql.com/usingmysql/java/)
 (Public domain) base64 (net.iharder:base64:2.3.8 - http://iharder.net/base64/)
 (Jena Software License) Jena (net.sourceforge.jena:jena:2.3 - http://jena.sourceforge.net)
 (Apache 2) Apache Derby Database Engine and Embedded JDBC Driver (org.apache.derby:derby:10.9.1.0 - http://db.apache.org/derby/derby/)
 (Apache License) HttpClient (org.apache.httpcomponents:httpclient:4.2.2 - http://hc.apache.org/httpcomponents-client)
 (Apache License) HttpCore (org.apache.httpcomponents:httpcore:4.1.3 - http://hc.apache.org/httpcomponents-core-ga)
 (The Apache Software License, Version 2.0) jena-arq (org.apache.jena:jena-arq:2.9.3 - http://jena.apache.org/jena-arq/)
 (The Apache Software License, Version 2.0) jena-core (org.apache.jena:jena-core:2.7.3 - http://jena.apache.org/jena-core/)
 (Apache 2.0 License) jena-fuseki (org.apache.jena:jena-fuseki:0.2.5 - http://jena.apache.org/)
 (The Apache Software License, Version 2.0) jena-iri (org.apache.jena:jena-iri:0.9.3 - http://jena.apache.org/jena-iri/)
 (The Apache Software License, Version 2.0) jena-tdb (org.apache.jena:jena-tdb:0.9.4 - http://jena.apache.org/jena-tdb/)
 (The Apache Software License, Version 2.0) Apache Velocity (org.apache.velocity:velocity:1.7 - http://velocity.apache.org/engine/devel/)
 (Unknown license) xmlbeans (org.apache.xmlbeans:xmlbeans:2.6.0 - no url defined)
 (Eclipse Public License - v 1.0) AspectJ runtime (org.aspectj:aspectjrt:1.6.11 - http://www.aspectj.org)
 (Apache Software License - Version 2.0) (Eclipse Public License - Version 1.0) Jetty :: Asynchronous HTTP Client (org.eclipse.jetty:jetty-client:7.6.5.v20120716 - {$jetty.url})
 (Apache Software License - Version 2.0) (Eclipse Public License - Version 1.0) Jetty :: Continuation (org.eclipse.jetty:jetty-continuation:7.6.5.v20120716 - http://www.eclipse.org/jetty/jetty-continuation)
 (Apache Software License - Version 2.0) (Eclipse Public License - Version 1.0) Jetty :: Http Utility (org.eclipse.jetty:jetty-http:7.6.5.v20120716 - http://www.eclipse.org/jetty/jetty-http)
 (Apache Software License - Version 2.0) (Eclipse Public License - Version 1.0) Jetty :: IO Utility (org.eclipse.jetty:jetty-io:7.6.5.v20120716 - http://www.eclipse.org/jetty/jetty-io)
 (Apache Software License - Version 2.0) (Eclipse Public License - Version 1.0) Jetty :: Security (org.eclipse.jetty:jetty-security:7.6.5.v20120716 - http://www.eclipse.org/jetty/jetty-security)
 (Apache Software License - Version 2.0) (Eclipse Public License - Version 1.0) Jetty :: Server Core (org.eclipse.jetty:jetty-server:7.6.5.v20120716 - http://www.eclipse.org/jetty/jetty-server)
 (Apache Software License - Version 2.0) (Eclipse Public License - Version 1.0) Jetty :: Servlet Handling (org.eclipse.jetty:jetty-servlet:7.6.5.v20120716 - http://www.eclipse.org/jetty/jetty-servlet)
 (Apache Software License - Version 2.0) (Eclipse Public License - Version 1.0) Jetty :: Utility Servlets and Filters (org.eclipse.jetty:jetty-servlets:7.6.5.v20120716 - http://www.eclipse.org/jetty/jetty-servlets)
 (Apache Software License - Version 2.0) (Eclipse Public License - Version 1.0) Jetty :: Utilities (org.eclipse.jetty:jetty-util:7.6.5.v20120716 - http://www.eclipse.org/jetty/jetty-util)
 (Apache Software License - Version 2.0) (Eclipse Public License - Version 1.0) Jetty :: XML utilities (org.eclipse.jetty:jetty-xml:7.6.5.v20120716 - http://www.eclipse.org/jetty/jetty-xml)
 (Apache Software License - Version 2.0) (Eclipse Public License - Version 1.0) Jetty Orbit :: Servlet API (org.eclipse.jetty.orbit:javax.servlet:2.5.0.v201103041518 - http://www.eclipse.org/jetty/jetty-orbit/javax.servlet)
 (New BSD License) Hamcrest Core (org.hamcrest:hamcrest-core:1.3 - https://github.com/hamcrest/JavaHamcrest/hamcrest-core)
 (MIT License) JCL 1.1.1 implemented over SLF4J (org.slf4j:jcl-over-slf4j:1.6.4 - http://www.slf4j.org)
 (MIT License) SLF4J API Module (org.slf4j:slf4j-api:1.7.2 - http://www.slf4j.org)
 (MIT License) SLF4J LOG4J-12 Binding (org.slf4j:slf4j-log4j12:1.7.2 - http://www.slf4j.org)
 (Unknown license) oro (oro:oro:2.0.8 - no url defined)
 (Unknown license) StAX (stax:stax:1.1.1-dev - http://stax.codehaus.org/)
 (Unknown license) stax-api (stax:stax-api:1.0 - no url defined)
 (Unknown license) xercesImpl (xerces:xercesImpl:2.7.1 - no url defined)
 (Unknown license) xml-apis (xml-apis:xml-apis:1.3.02 - http://xml.apache.org/commons/#external)

implement fluent zooming feature

allow to zoom map fluently by holding control and rotating the wheel-mouse up or down.

allow for more fine zoom level selection and to select the zoom-level easily

Nodes and Links Templates

Provide different sets of nodes and link templates for different use scenarios.

Currently Compendium does by default use an IBIS adjusted set of nodes and links. However, several users reported that they are using Compendium for other purposes than the IBIS methodology.

Also, it is possible to create own node types and to adjust link types.

There should be an evaluation of different (major) use scenarios. Based on these Compendium can offer different 'types' of maps when starting a new project. That is mapes based on different default nodes and link sets.

This issue is related to 'Change default content included in new project'.

resolve any dependency on Sun proprietary API

resolve any dependency on Sun proprietary API

[WARNING] /home/michal/workspace/compendiumng/src/main/java/com/compendium/ui/ProjectCompendiumFrame.java:[179,32] warning: com.sun.image.codec.jpeg.JPEGCodec is Sun proprietary API and may be removed in a future release
[WARNING] /home/michal/workspace/compendiumng/src/main/java/com/compendium/ui/ProjectCompendiumFrame.java:[180,32] warning: com.sun.image.codec.jpeg.JPEGEncodeParam is Sun proprietary API and may be removed in a future release
[WARNING] /home/michal/workspace/compendiumng/src/main/java/com/compendium/ui/ProjectCompendiumFrame.java:[181,32] warning: com.sun.image.codec.jpeg.JPEGImageEncoder is Sun proprietary API and may be removed in a future release
[WARNING] /home/michal/workspace/compendiumng/src/main/java/com/compendium/io/html/HTMLViews.java:[90,32] warning: com.sun.image.codec.jpeg.JPEGCodec is Sun proprietary API and may be removed in a future release
[WARNING] /home/michal/workspace/compendiumng/src/main/java/com/compendium/io/html/HTMLViews.java:[91,32] warning: com.sun.image.codec.jpeg.JPEGEncodeParam is Sun proprietary API and may be removed in a future release
[WARNING] /home/michal/workspace/compendiumng/src/main/java/com/compendium/io/html/HTMLViews.java:[92,32] warning: com.sun.image.codec.jpeg.JPEGImageEncoder is Sun proprietary API and may be removed in a future release
[WARNING] /home/michal/workspace/compendiumng/src/main/java/com/compendium/ui/UINode.java:[138,68] warning: [deprecation] plainTextFlavor in java.awt.datatransfer.DataFlavor has been deprecated
[WARNING] /home/michal/workspace/compendiumng/src/main/java/com/compendium/ui/movie/UIMoviePanel.java:[193,43] warning: [deprecation] toURL() in java.io.File has been deprecated
[WARNING] /home/michal/workspace/compendiumng/src/main/java/com/compendium/ui/ProjectCompendiumFrame.java:[655,47] warning: [deprecation] toURL() in java.io.File has been deprecated
[WARNING] /home/michal/workspace/compendiumng/src/main/java/com/compendium/ui/ProjectCompendiumFrame.java:[3410,57] warning: com.sun.image.codec.jpeg.JPEGImageEncoder is Sun proprietary API and may be removed in a future release
[WARNING] /home/michal/workspace/compendiumng/src/main/java/com/compendium/ui/ProjectCompendiumFrame.java:[3410,84] warning: com.sun.image.codec.jpeg.JPEGCodec is Sun proprietary API and may be removed in a future release
[WARNING] /home/michal/workspace/compendiumng/src/main/java/com/compendium/ui/ProjectCompendiumFrame.java:[3411,57] warning: com.sun.image.codec.jpeg.JPEGEncodeParam is Sun proprietary API and may be removed in a future release
[WARNING] /home/michal/workspace/compendiumng/src/main/java/com/compendium/ui/menus/UIMenuManager.java:[156,47] warning: [deprecation] Application() in com.apple.eawt.Application has been deprecated
[WARNING] /home/michal/workspace/compendiumng/src/main/java/com/compendium/io/html/HTMLViews.java:[628,49] warning: com.sun.image.codec.jpeg.JPEGImageEncoder is Sun proprietary API and may be removed in a future release
[WARNING] /home/michal/workspace/compendiumng/src/main/java/com/compendium/io/html/HTMLViews.java:[628,76] warning: com.sun.image.codec.jpeg.JPEGCodec is Sun proprietary API and may be removed in a future release
[WARNING] /home/michal/workspace/compendiumng/src/main/java/com/compendium/io/html/HTMLViews.java:[629,49] warning: com.sun.image.codec.jpeg.JPEGEncodeParam is Sun proprietary API and may be removed in a future release
[WARNING] /home/michal/workspace/compendiumng/src/main/java/com/compendium/ui/toolbars/system/UIToolBarPanel.java:[679,21] warning: [deprecation] hide() in java.awt.Component has been deprecated

mavenize the project

create pom.xml and verify that it is possible to build the project with maven and run it after build.

mavenization is done now in: 99eddbc

initial database creation

When user creates a new database then initial Compendium data are loaded into it. This shouldn't happen. When user creates db then he/she does it via dialog. There should be 2 checkboxes:

[] populate the database with Compendium Project data
[] populate the database with example data

un-checked by default so by default there are no extra data when db is created.

Creating new projects with blank MySQL database doesn't work

http://compendium.open.ac.uk/bugzilla/show_bug.cgi?id=927

Eugene Eric Kim 2010-10-05 02:51:07 BST

If you try connecting to a blank MySQL database, it fails. You need to manually
create the Project and Properties tables.

This seems to be a problem across all three platforms -- Mac, Windows, and
Linux.

[reply] [-] Comment 1 Michelle Bachler 2010-10-05 09:47:34 BST

Did you give the MySQL user sufficient rights to create/delete databases and
tables?

I just tried connecting my Windows Compendium 2.0 Beta1 to a MySQL installation
on my Cohere Linux server (which I have never done - so it is a new setup). I
created a MySQL user with all permissions. I created a new connection from
Compendium using that user and it created the compendium admin database and
projects table etc fine. I then create my first project on that server, and all
that went fine too.

I have not tried this from a Mac yet. I will do so later.

Michelle

[reply] [-] Comment 2 Eugene Eric Kim 2010-10-05 14:07:07 BST

Yes. I used GRANT ALL PRIVILEGES to give the Compendium user in MySQL all the
proper privileges.

Can't delete nodes or maps, Aerial View is non-responsive and hourglass won't go away

http://compendium.open.ac.uk/bugzilla/show_bug.cgi?id=946

Gillian Kerr 2010-11-09 02:19:59 GMT

I don't know whether these issues are related: Aerial View shows nodes that are
invisible in the Home Window. When I move a node or map in one view it doesn't
show the change in the other view. I can't delete any node or map in any view -
Aerial or Home or in the outline view, or in any other view. When I try to
delete a node or map, the hourglass comes up and stays until I close the
program.

[reply] [-] Comment 1 Michelle Bachler 2010-12-16 09:42:55 GMT

Hi!

I am sorry for the delay in looking at this issue.
I assume you are still experiencing this and it was not a one-off occurence.

Could you email me the compendium log files from this session
([email protected]), they may help figure out what happened.
/System/resources/Logs. They all have date and time stamps for
file names which should help.

If you do not use the aerial view at all during a given session, can you delete
nodes from maps or from the outline view? I guess what I am trying to establish
is if it was the using of the areial view that caused a subsequent issue with
deleting in other views, or not.

Thanks

Michelle

implement tests

many test should be written to maintains build quality.

also test coverage report should be generated automatically - project must be extended via maven

this issue will be probably floating from milestone to milestone as the project progress

Created projects fail to open

http://compendium.open.ac.uk/bugzilla/show_bug.cgi?id=1025

Geir 2011-11-16 09:38:03 GMT

Download and install under Fedora 15 KDE worked fine, but

  1. I can create new projects and then everything works as expected.
    I can create nodes, connect them etc. All nodes are working
    fine.
  2. Closing Compendium and starting it takes me to the open project
    dialogue. I select the project I created in 1) and then nothing
    more happens. Most of the menu items are greyed out, except for
    File|open and File|new and File|Manage projects - from the
    latter I am able to change the name of the project, and the new
    name is reflected in the Open dialogue, but it does not open.

The log file does not say anything except correctly identifying that no MySQL
is running on the local machine.

[reply] [-] Comment 1 Geir 2011-12-02 13:02:02 GMT

I have found a strange work around for this. If you define a project as Default
it will be automatically opened at start up, and you can work with it as
normal. This is good enough for me for the moment, but it would be nice to have
the possibility to create different projects and open them again.

[reply] [-] Comment 2 Geir 2011-12-02 13:53:29 GMT

Solution found: This has to do with the Java version under Fedora. As the
starting script just say "Java" it starts the version that is bundled with
Fedora. Installing Oracle's original Java and giving the full path to this in
the start up script solved the issue (like
/usr/local/java/jre6.0_29/bin/Java).

This solution is similar to the one found by Sglan and reported in Comment 8 of
http://compendium.open.ac.uk/bugzilla/show_bug.cgi?id=976

Change default content included in new project

Currently when a new project is created it already includes some content related to Compendium and the KMI. For a release we should rework the content included in a new default project. A first fix would be to remove most of the current content and instead include some information about CompendiumNG (and its history). Actually I create a separate issue for creating a new template and will assign myself to it. When done this needs to be included as content for default project, hence this wone is assigned to Michal.

Eventually it may be a good idea to have different 'default' content for different node and link templates (see issue #30) explaining the basics of suggested work with a specific template.

Prerequisit for this issue: Create template for new project content (issue #32)
Related to issue: 'Nodes and Links Templates' (issue #30)

selecting and marking nodes on the map

this is rather idea that should be thought over first:

when working with set of nodes the behavior should be improved.
i.e. when you miss-click then all your selection is unselected.
or if you click on a link label area then the same happens.
This is very annoying when you have many nodes selected.

behavior regarding node selection should be improved:
There should be "selecting" and "marking"
selecting - for simple ad-hoc operations
marking - selection made more "permanent" (i.e. "mark selected nodes") marked nodes remain persistent over database close/open

consider marking x tagging (would it make sense implement "mark" as special case of a "tag" )
consider also "mark set", "named marked set", "convert marked nodes into selected nodes and vice versa" etc.

There should be following (usual) behavior in application for selecting nodes:

1 click on node - selects that particular node only
1.1 when followed by escape key it restores previous selection
2 Ctrl-click on a node adds that particular node to the selection
2.2 Ctrl-click sub remove that particular from the selection
2.3 click on some node -> rule 1 applies
3 Shift-click on a node same like - rule 2
shift-click allows to add all nodes of within rectangulary surrounded area to the selection
shift-click allows to remove all nodes within rectangulary surrounded area to the selection when all nodes are are already selected

organize project resources

move all resources/properties files that are not meant to be edited by user to the resources directory so they are bundled in the resulting jar file.
fix all references to such files in the code

Compendium holds the focus and won't let other windows in front

http://compendium.open.ac.uk/bugzilla/show_bug.cgi?id=853

Michelle Bachler 2010-04-30 20:02:45 BST

This can happen especially after you have just installed Compendium.

After that it is usually occasional and random.
We have found no pattern.
There is no code designed to do this behaviour in Compendium.
We are investigating.
All observations are welcome.

If you minimise Compendium, or restart it, you should be ok.

[reply] [-] Comment 1 Michelle Bachler 2010-04-30 20:05:09 BST

Apparently minimising does not always help.
Then you have to restart Compendium

[reply] [-] Comment 2 Michelle Bachler 2010-06-07 10:54:17 BST

*** Issue 887 has been marked as a duplicate of this issue. ***

[reply] [-] Comment 3 Michelle Bachler 2010-07-05 12:28:00 BST

*** Issue 901 has been marked as a duplicate of this issue. ***

[reply] [-] Comment 4 Michelle Bachler 2010-10-15 15:26:24 BST

*** Issue 936 has been marked as a duplicate of this issue. ***

[reply] [-] Comment 5 Michelle Bachler 2010-10-18 09:42:57 BST

*** Issue 937 has been marked as a duplicate of this issue. ***

[reply] [-] Comment 6 Michelle Bachler 2010-12-16 09:36:39 GMT

*** Issue 949 has been marked as a duplicate of this issue. ***

[reply] [-] Comment 7 Michelle Bachler 2011-01-19 09:52:44 GMT

*** Issue 973 has been marked as a duplicate of this issue. ***

[reply] [-] Comment 8 Michelle Bachler 2011-10-27 12:46:46 BST

*** Issue 1020 has been marked as a duplicate of this issue. ***

Cannot Create a New Node in a Re-opened Map

http://compendium.open.ac.uk/bugzilla/show_bug.cgi?id=1014

John McGraw 2011-08-23 00:48:53 BST

When I try to create a new node of any type, I receive the following error:

Error (ViewPaneUI.CreateNode.actionPerformed)

NodeService is Null in View.addMemberNode-2c

[reply] [-] Comment 1 Michelle Bachler 2011-08-23 09:20:34 BST

Can I have a little more information?
What version of Mac OS are you on?
Have you just installed the software or have you been using it for some time
and this has just started happening?
Can you check the log files and see if they have more information
(Applications/Compendium/System/resources/Logs)?

prepare it for testing

add testing features so the project can be tested with mvn test and new test can be created

implement CI

project will benefit from CI approach. Currently there are not any useful tests however it would be useful to implement CI into the development process early.

connecting two elements

imported from previous githube issue tracker:

when I make connection between two elements the connection is created however it is not possible to connect them again with another connection.

i.e. A -> B and B -> A

I see no reason why it shouldn't be possible to have multiple connections so it is probably a bug not enhancement request :-)

repository content cleanup

project should be restructured so that when you checkout source code from the repository then you don't download any built artifacts - only source code or non-generated artifacts.

for binary/runnable there should be a separated download without source code

i.e. repository shouldn't contain built jar files or generated java-doc. Currently the generated java-doc has around 20MB and the source code repository
contains a lot of binary content:

195K ./System/lib/crew.jar
4.1K ./System/lib/AppleJavaExtensions.jar
43K ./System/lib/kunststoff.jar
55K ./System/lib/fobs4jmf.jar
2.1M ./System/lib/compendium.jar
1.9M ./System/lib/jmf-all.jar
687K ./System/lib/mysql-connector-java-5.1.6-bin.jar
405K ./System/lib/compendiumcore.jar
437K ./System/lib/jabberbeans.jar
2.0M ./System/lib/jmf-win.jar
503K ./System/lib/jhall.jar
2.4M ./System/lib/derby.jar
15M ./System/lib/triplestore.jar
1.5M ./System/lib/xml.jar
163K ./System/resources/Help/jsearch.jar
503K ./System/resources/Help/jhall.jar

statistics by file extension on freshly cloned master branch:

extension count


so 1
sh 2
dll 1
txt 3
xml 73
java 469
class 0
jar 16
gif 647
png 443
properties 50
backup 0
sample 8
idx 1
pdf 4


total 2480

audio feedback delays operations

you can enable audio feedback "tools" -> user options -> audio & zoom

problem is that "audio play" happens in the same thread.

reproduce:

  1. have a map
  2. create map node
  3. enable audio feedback "tools" -> user options -> audio & zoom
  4. double-click the map-node
  5. first audio is played and then the node is opened. When I disable audio feedback then the node is opened immediatelly

proposal: move the audio play into a dedicated thread

application vs user data

there should be clear separation of user content (user configuration, data) from application content binary code, icons etc.

proposal:

user application settings should be stored in user home directory .compendium on unix like systems compendium-settings on windows like

user database and related data should be all stored in designated directory selected by user - somewhe in user home
defaults to compendium-data on linux/win/mac

compendium during first run/installation should create these user directories and place default configuration there.

then it should never overwrite it - only new version of comependium can add new parameter should add to it

compendium must never fail on loading parameter it doesn't understand but must warn about it

configuration load procedure

  1. application default configuration is loaded
  2. user setting (if available) is loaded over application default

this way any user setting take precedence over default settings.

make CompendiumNG scriptable

basic use cases:
user can make run a script to modify his/her model/map
user can generate the script via actions he/she is doing via UI and modify the script

Provide scripting framework based on a 1 or more popular languages so users can create their own scripts to manipulate their model. Languages that should be taken into consideration (candidates: jRuby, jython, javascript, java(beanshell), groovy, Fantom). Scritping language must support fundamental programming language concepts like: conditions, arrays, objects, variables, work with files, etc. (http://docs.oracle.com/javase/6/docs/technotes/guides/scripting/programmer_guide/index.html)

Node time spans are gone after restart (MySQL database)

http://compendium.open.ac.uk/bugzilla/show_bug.cgi?id=996

Mike 2011-05-23 15:54:18 BST

I created a movie map with some nodes and gave them time spans in order to make
them appear and disappear. Everything worked as expected. When I started
Compendium for the next time the movie map and the movie itself (with its time
span) were still there but no time spans for the nodes. There are no log
entries.

This is Ubuntu 10.10 and I used a MySQL 5.1 database with a new project.
I verified that everything is allright when I use the Derby database.

fix openjdk support

Running CompendiumNG with openjdk creates problems when trying to re-open existing projects. Projects can be created all right, but when trying to re-open them nothing happens. That is the project can be selected for opening but when proceeding nothing happens. This issue is actually a bug that is pre-existing in Compendium v2 already. It is reported for Debian, not sure about other environments. Currently the fix is to run it with native Java the projects open all right.

Drag and dropped files get wrong path on Linux

http://compendium.open.ac.uk/bugzilla/show_bug.cgi?id=995

Mike 2011-05-19 21:43:01 BST

I drag and drop a file with the name
"A file with an €.txt"
(no space at the end) from a file manager into a map and choose "as link to
original".
If I dnd from Nautilus the reference node gets this path
"file:/home/example/A%2520file%2520with%2520an%2520%25E2%2582%25AC.txt%0D"
and this name
"A%20file%20with%20an%20%E2%82%AC.txt " .

From Konqueror:
"file:/home/net/A%20file%20with%20an%20€.txt"
and
"A file with an €.txt"

Dnd from Thunar just does nothing.

A double click on the reference nodes just opens the properties window. There
is no error message as in issue 767. There are no log entries. The problem is
the same with a MySQL and Derby database.

Ubuntu 10.10, Java-6-sun

[reply] [-] Comment 1 Mike 2011-05-19 22:26:09 BST

There are no log entries for the drag n drop. But there is one if I try to open
the reference node later:
: Exception: (ExecuteControl.launch) Cannot run program "/usr/bin/mozilla":
java.io.IOException: error=2, No such file or directory

I installed seamonkey-browser, which provides /usr/bin/mozilla on Ubuntu. After
that the reference node from Konqueror opens in Seamonkey, but the one from
Nautilus gets an "file not found" error in Seamonkey.
But even if the file gets opened in Seamonkey it is handled in a different way
than a file with the usual path "/home/net/A file with an €.txt". This is the
path it gets if I use the "Browse" button within the properties window of the
ref node.

[reply] [-] Comment 2 Michelle Bachler 2011-05-20 10:03:44 BST

Unfortunately I don't have all the flaouvrs of Linux, or the time to really
test them. We only say that we have tested on Red Hat, beacuse that is what we
have here.

If you drag and drop from outside Compendium into Compendium, Compendium gets
passed the data. The data it is passed is determined by the operating system,
not Compendium unfortunately.

When you ask Compendium to open a link when on Linux, it first checks it see if
you have uselected that you se KFM Client in the Tools / User Options / Misc.
If you do, it branches off and calls the Operating system with exec
"/usr/bin/kfmclient" and the path you want to open.

If you don't have use KFM Client selected, it checks the path to determine if
it is a URL or what the file type is. It then checks to see if you have already
picked before which application to launch that file type with, by checking a
property file in /System/resources/LaunchApplications.properties. Here we setup the
following default data:

www=/usr/bin/mozilla
http=/usr/bin/mozilla
https=/usr/bin/mozilla
html=/usr/bin/mozilla
htm=/usr/bin/mozilla
file=/usr/bin/mozilla

We then store subsequent choices for other file types in this file. So it will
ask you to select a programme for all file types, except the default ones, the
first time, and then use that programme next time. So, Compendium calls the
Operating system using the application specified in that file and passing the
path you want to open to that application.

You may need to edit this file if the paths are wrong for your installation, or
if things change.

I don't know if any of that information will help you determine if you can fix
the issue. Let me know if that helped and you managed to sort it out.

implement IBAPI

define IBAPI (InformationBase API) for manipulation of InformationBase storage

  1. by application
  2. by scripting feature

Deleting linked stencils does not remove links (NULL errors); most functions dead

http://compendium.open.ac.uk/bugzilla/show_bug.cgi?id=883

Jacek Gwizdka 2010-06-03 21:16:19 BST

Mac OS X 10.6

I created own stencil with an icon, type resources.

MAIN BUG: After linking a few instances of this stencil (resource) I selected a
few of these (plus some notes nodes) instances with their links. The nodes were
deleted but not the links. The orphan links now give null errors. they cannot
be removed. and many functions of a system do not work. Ie. I cannot create new
nodes, cannot backup etc. cannot link nodes.

SECONDARY BUG: When it happened I was actually working on a project that was
created from another project as a copy. I assumed that a project copy it its
clone and not just links to objects etc. But any changes I made to a map in the
project copy were reflected in the original project. I believe it is another
bug (I understand that individual nodes copied are just "link" to the original
nodes, and only cloning gives a new node, but for project that kind of
behaviour would not make any sense)

So, after the main bug, I believe I have to remove the current install and
install Compendium again

thanks

  • Jacek

[reply] [-] Comment 1 Michelle Bachler 2010-07-30 10:21:45 BST

Hi!

MAIN BUG: When you restarted Compendium did the issue with the links which did
not delete go away, or does it always do it when you create and delete stencil
based nodes? No one else has reported this issue with Stencils, so I am
wondering if there is another dimension involved.

It would be useful to see you Compendium log file from when this happened. You
can find the logs in Applications/compenduim/System/resources/Logs. They all
have date and time stamps as file names, so you should be able to identify the
right one. Can you email it to me at [email protected]

SECONDARY BUG: Yes a project copy is a clone. It creates a new empty database,
then copies all the records from one database to the other. So Projects are
completely separate database instances. You log into each database and then you
are working in a sandbox effectively. What you do inside one project can, in no
way, affect another project. So you need to look for another explanation.
Unless we are not both talking about the same thing we we say 'Project'.

Michelle

Shortcut nodes in different views = issues (possible solution included)

http://compendium.open.ac.uk/bugzilla/show_bug.cgi?id=986

Miroslav Cimbora 2011-03-14 18:47:32 GMT


Test case to simulate uninitialized node issue:

  1. create new map - name it for example "upper level map"
  2. create new map inside "upper level map" and name it "test map"
  3. create a shortcut to the "test map" inside "upper level map" using context
    menu
  4. cut the shortcut using context menu
  5. go to top level map and create new map, name it "todo map"
  6. go inside the "todo map" and paste the shortcut there
  7. close compendium
  8. start compendium
  9. as first step! go in to the "todo map"
  10. double click the shortcut icon
  11. you will get following exception:

null
com.compendium.core.datamodel.ModelSessionException: Model is null in
View.initializeMembers
14-March-2011_17-17-41: at
com.compendium.core.datamodel.View.initializeMembers(View.java:581)
14-March-2011_17-17-41: at
com.compendium.ui.ProjectCompendiumFrame.addViewToDesktop(ProjectCompendiumFrame.java:6156)
14-March-2011_17-17-41: at
com.compendium.ui.ProjectCompendiumFrame.addViewToDesktop(ProjectCompendiumFrame.java:6093)
14-March-2011_17-17-41: at
com.compendium.ui.plaf.NodeUI.openNode(NodeUI.java:2352)
14-March-2011_17-17-41: at
com.compendium.ui.plaf.NodeUI.mouseClicked(NodeUI.java:2311)


Why is this caused?

This is caused because ShortCutNodeSummary contains oReferredNode node, which
is not initialized. The method public void initialize(PCSession session, IModel
model) is never called on this node, only on shortcut node.


Possible solution

Add similar logic to the ShortCutNodeSummary as expressed below:

/* (non-Javadoc)
 * @see

com.compendium.core.datamodel.NodeSummary#initialize(com.compendium.core.datamodel.PCSession,
com.compendium.core.datamodel.IModel)
*/
@OverRide
public void initialize(PCSession session, IModel model) {
super.initialize(session, model);

    // initialized referred node
    if(oReferredNode != null)
        oReferredNode.initialize(session, model);
}

Another issue is, when the shortcut node has image.

After reopening the compendium the image is not displayed

I have checked the database, reference to the image is saved there.
Problem is in compendium, after reading the shortcut node the database is not
queried to load the image reference.


Patch to be applied against the original Beta 1 source code.

Eclipse Workspace Patch 1.0

P compendium-full

Index: src/com/compendium/core/db/DBNode.java

--- src/com/compendium/core/db/DBNode.java (revision 2)
+++ src/com/compendium/core/db/DBNode.java (working copy)
@@ -2763,6 +2763,8 @@
node = ShortCutNodeSummary.getShortCutNodeSummary(sId, nType,
sXNodeType, sOriginalID,
nState, sAuthor, oCDate, oMDate, sLabel, sDetail, null,
sLastModAuthor);
((ShortCutNodeSummary)node).setReferredNode(refNode);

  •        DBReferenceNode.getIRIS(dbcon, sId, node);
     }
     else {
         node = NodeSummary.getNodeSummary(sId, nType, sXNodeType,
    
    sOriginalID,

Warning

Please note that I'm not aware of the compendium software architecture. Before
implementing the code changes in this post, impact analysis should take place.

[reply] [-] Comment 1 Michelle Bachler 2011-03-15 09:41:02 GMT

Hi!

Shortcut nodes where never designed to be used like that. You should not be
able to move them to another map. They should live in the same map as the node
they are a shortcut to.

If you want a link a node from one map to another you use the 'Internal
Reference Node'. If you want the same node to appear in two maps you just copy
and paste the original node.

Shortcut nodes are there for when a single map becomes really large and you
want to link to a node that is too far away and it would be messy to link right
across a map. It is a holding position for the original node, in that map.

The real bug is that it let you do it at all.
So few people use shortcut nodes that I guess no one has noticed that it let
you. What should happen is that you should get a message when you try and paste
a shortcut node into another map saying that you can't do that. I will look at
the code and see what is going on.

Thanks for bringing this to our attention.

Michelle

[reply] [-] Comment 2 Miroslav Cimbora 2011-03-16 07:57:15 GMT

Hi,

Internal reference nodes unfortunately do not open the map, but focuses you to
the target node. So you need to double click it and then double click again in
order to open target view.

I wanted to have shortcut to the target map in two different views with
slightly different look. In one view the map node has picture with 500x500 size
and I wanted to have reference to this map's view in todo view, however with
image size 150x150. Todo lists using tags to not work for me, because I like
graphical todo lists.

It was not possible to achive this with internal reference node neither with
copy & paste.

So shortcut is ideal solution for me. And it works :-) except the issue
mentioned above.


Please note
The problem with losing image for shortcut node happens when you use the

shortcut in the same view too.

[reply] [-] Comment 3 Miroslav Cimbora 2011-03-16 08:15:35 GMT

Hi,

I have one more question. :-)

Why shortcut node are visually and in content independent of the original node
in the same view? If I change for example the detail of the original node, the
shortcut node is not updated.

I understand that there are situations where this behavior is OK, however
having option to keeping them in sync would be great too.

Is it possible to have implemented such behavior?

[reply] [-] Comment 4 Michelle Bachler 2011-03-16 10:01:27 GMT

I may have fixed the bug with the reference node image. It sounds familiar so I
will check the latest Beta 2 code and see. If not I will apply your patch.
Thanks for that.

At the moment the datamodel/database structure does not allow exactly the same
node to be in the same view twice. Again we have discussed this a lot. Having
nodes transcluded (copy/paste original node) to the same view would remove the
need for shortcut nodes. We have discussed getting rid of them altogether. But
it would involved some fundamental strucutral changes to the database and a lot
of code changes.

I will explore the synching request. Not sure how easy that would be. Some sort
of event listerner on the parent node at the UINode level would probably work.

Michelle

[reply] [-] Comment 5 Al Selvin 2011-03-17 16:51:00 GMT

An additional response to Miroslav's question --

We have explored many approaches to shortcuts and clones, and had a whole much
clearer design worked out, including some of the ideas you've suggested. It
never rose high enough in priority against many other features and changes in
the queue. But you raise excellent points, if we (or someone else) ever get to
work on this area.

Create template for new project content

Rework the content in a new default project for CompendiumNG. This should reflect the Compendium History, Credits and explanation of basic usage of CompendiumNG (node types and link types)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.