Code Monkey home page Code Monkey logo

vle's People

Contributors

chabrier avatar devs-labs avatar duboz avatar gui-59 avatar quesnel avatar rtrepos avatar tatiana-62 avatar

Stargazers

 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

vle's Issues

vle: move dynamics and executive in package

We need to move the vle::devs::Dynamics, vle::devs::Executive classes and theirs dependencies into a package. With these changes, VLE will be less depend on the models.

We need to change data shared between simulator with boost::any or boost::variant < double, string, long integer, vector < double >, vector < string >, vector < long integer >. The vle::value::Value are always used in conditions.

gvle: remove unecessary includes

Gtkmm is included globally (using gtkmm.h) while it should not, since all gtkmm widgets are not used into gvle.
Assigned to rtrepos.

vle: hide private header files

The private header files must be move into a details subdirectory with implementation files. These files should not be installed in install command of CMake.

change the plug-in behaviour

To ensure correct linkage, all plug-ins (simulators, gvle, output) must be statically linked.

for exemple the forrester.dll (gvle plug-in), needs:

  • nothing at runtime time.
  • vle.a, boost.a, gtk.a at compilation time.

cmake specific target to generate pkg doxygen doc

May be it would better fit the usual workflow to have a separate specific cmake target to generate the pkg doxygen doc. This would allow not to generate doc when using target ALL but only using a new specific cmake target.
(This would correspond to a workflow on development pkg, where you want to generate the doc only at the "end" when ready to release, without having to change the vle.conf file)

gvle: empty project template need to be fix

In order to use the modeling plugin DE, i, a convenient way, the empty project template need to be fix.

CMake Error at /usr/local/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:97 (MESSAGE):
Could NOT find VLE (missing: VLE_LIBRARIES VLE_STATIC_LIBRARIES
VLE_INCLUDE_DIR)

gvle: can not add a view

If the vle.output package is not available, and when using the view Editor dialog, if the user try to add a view, nothing happen. Some feed back could be provided.

vle: try to assign a path to the registry

We need to find the path of vle.exe or gvle.exe to allows the use of VLE without registry information.

[Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\VLE Development Team]
[HKEY_LOCAL_MACHINE\SOFTWARE\VLE Development Team\VLE 1.1.0]
@="z:\install"
"path"="Z:\install"

vle --config don't work with vle-1.1

vle --config don't work with vle-1.1
for example : vle --config build make "make -j 2"
is not functionnal, on need to edit the vle.conf file by hand like :
vle.packages.build=cmake --build '%1%' --target all -- -j2

We should remove this entry from the vle documentation (man), or reactivate this functionnality

vle: install on ubuntu 10.04

Some dependencies are not found dur ng congiguration of vle (missing *pc files)

fp@fp-dell-10:~/src/vle/build$ cmake -DWITH_GTKSOURCEVIEW=ON -DWITH_GTK=ON -DWITH_CAIRO=ON -DWITH_MPI=OFF -DBUILD_SHARED_LIBS=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_PREFIX=/usr ..
-- The CXX compiler identification is GNU
-- The C compiler identification is GNU
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- checking for modules 'openssl;libssh2;libssl;libidn;gnutls;hogweed;libcrypto;nettle;openssl;libarchive;libcurl;glibmm-2.4;gthread-2.0;libxml-2.0;cairomm-1.0>=1.2;gtkmm-2.4;gtksourceviewmm-2.0'
-- package 'openssl' not found
-- package 'libssl' not found
-- package 'hogweed' not found
-- package 'libcrypto' not found
-- package 'nettle' not found
-- package 'openssl' not found
CMake Error at CMakeLists.txt:93 (message):
Missing dependencies

fp@fp-dell-10:~/vle/build$ dpkg --list openssl
Souhait=inconnU/Installé/suppRimé/Purgé/H=à garder
| État=Non/Installé/fichier-Config/dépaqUeté/échec-conFig/H=semi-installé/W=attend-traitement-déclenchements
|/ Err?=(aucune)/besoin Réinstallation (État,Err: majuscule=mauvais)
||/ Nom Version Description
+++-=================================-=================================-==================================================================================
ii openssl 0.9.8k-7ubuntu8.13 Secure Socket Layer (SSL) binary and related cryptographic tools

fp@fp-dell-10:/vle/build$ locate -r ".*pc" | grep openssl
fp@fp-dell-10:
/vle/build$

vle: allows to run vle witout VLE_HOME

If vle or gvle is executed without $VLE_HOME/pkgs-1.1, the program failed. We need to try to build the $VLE_HOME/pkgs-1.1 directory if it does not exist.

vle: upgrade doxygen configuration files

Upgrade the doxygen files of VLE (doxygen.conf.in, share/template/package/cmake/doxygen-modeling.conf.in and share/template/package/cmake/doxygen-sources.conf.in) with Doxgen 1.8.

gvle - Observable window. (Event type view)

for simulation's views of type "event" the "observable" window would be much more readable with 3 columns
One for name
The second for the triggers
The third for the observed values

vle: install on ubuntu 10.04

Some dependencies in the configuration are not satisfied (missing *pc files) :

fp@fp-dell-10:~/src/vle/build$ cmake -DWITH_GTKSOURCEVIEW=ON -DWITH_GTK=ON -DWITH_CAIRO=ON -DWITH_MPI=OFF -DBUILD_SHARED_LIBS=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_PREFIX=/usr ..
-- The CXX compiler identification is GNU
-- The C compiler identification is GNU
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- checking for modules 'openssl;libssh2;libssl;libidn;gnutls;hogweed;libcrypto;nettle;openssl;libarchive;libcurl;glibmm-2.4;gthread-2.0;libxml-2.0;cairomm-1.0>=1.2;gtkmm-2.4;gtksourceviewmm-2.0'
-- package 'openssl' not found
-- package 'libssl' not found
-- package 'hogweed' not found
-- package 'libcrypto' not found
-- package 'nettle' not found
-- package 'openssl' not found
CMake Error at CMakeLists.txt:93 (message):
Missing dependencies

fp@fp-dell-10:~/vle/build$ dpkg --list openssl
Souhait=inconnU/Installé/suppRimé/Purgé/H=à garder
| État=Non/Installé/fichier-Config/dépaqUeté/échec-conFig/H=semi-installé/W=attend-traitement-déclenchements
|/ Err?=(aucune)/besoin Réinstallation (État,Err: majuscule=mauvais)
||/ Nom Version Description
+++-=================================-=================================-==================================================================================
ii openssl 0.9.8k-7ubuntu8.13 Secure Socket Layer (SSL) binary and related cryptographic tools

fp@fp-dell-10:/vle/build$ locate -r ".*pc" | grep openssl
fp@fp-dell-10:
/vle/build$

utils: Trace has two static member

Trace::Pimpl has two static members : a Trace singleton and a boost::mutex object. The last one is only used for the Trace singleton and could be a member of Trace::Pimpl (this prevents from a lock_error while using vle in the static linking mode)

gvle: lost modality of the dialogs

When using the Ubuntu 12.04.1 LTS OS with the default configuration of the Unity Window Manager,
The dialogs windows are not modal any more!

gvle: after simulation outputs are not available

If a simulation is launched after the package has been configured, or compiled. The outputs files are not available.
As soon as you leave, and come back to the gui, il you do simulate, i's behave the goog way, and outputs are available.

win32: plug-ins are not exported properly

We need to fix the plug-ins generation macros (DECLARE_DYNAMICS, DECLARE_DYNAMICSWRAPPER, DECLARE_EXECUTIVE, DECLARE_EXECUTIVE_DBG, DECLARE_GVLE_MODELINGPLUGIN, DECLARE_GVLE_OUTPUTPLUGIN and DECLARE_OOV_PLUGIN) which use dllimport instead of dllexport.

vle: switch to 2013

All date in source code comment (c, h, cpp, hpp), {vle|gvle|vfl}.rc.in and glade file must be change to 2013.

change the distribution of vle

Add a VLE_DISTRIBUTION_MODE variable to enable two modes:

i) Development mode (VLE_DISTRIBUTION_MODE=OFF) provides: vle.exe, gvle.exe, vle.dll and vle.a.
vle.exe needs vle.dll at runtime
gvle.exe needs vle.dll and gtk.dll at runtime
vle.dll needs boost.dll etc. at runtime

ii) Distribution mode (VLE_DISTRIBUTION_MODE=ON) provdes: vle.exe, gvle.exe and vle.a.
vle.exe and gvle.exe needs nothing at runtime.

Remove the BUILD_SHARED_LIBS variable ?

utils: unit test test_package fails

After compilation, installation and re initialization (using vle --restart) of vle, the error occurs on the test_package test :

[pondiellos:build] src/vle/utils/test/test_package
Running 7 test cases...
---Preferences: vle.remote.proxy_ip is not a string
---Preferences: vle.remote.proxy_port is not a string
Current path: "/tmp/check"
package configure
package build
package install
Installed packages:
x
tmp
---Remote manager: failed to open Description from /tmp/check/pkgs-1.1/x/Description.txt' ---Remote manager extract /tmp/check/pkgs-1.1/tmp/Description.txt ---can not open file/tmp/check/remote.pkg'
---Remote manager: 1 local / 0 remote
---Remote manager: failed to open Description from /tmp/check/pkgs-1.1/x/Description.txt' ---Remote manager extract /tmp/check/pkgs-1.1/tmp/Description.txt ---Remote manager extract /tmp/check/remote.pkg ---Remote manager: 1 local / 1 remote ---Remote manager: failed to open Description from/tmp/check/pkgs-1.1/x/Description.txt'
---Remote manager extract /tmp/check/pkgs-1.1/tmp/Description.txt
---Remote manager extract /tmp/check/remote.pkg
---Remote manager: 1 local / 10 remote
---Remote manager: failed to open Description from /tmp/check/pkgs-1.1/x/Description.txt' ---Remote manager extract /tmp/check/pkgs-1.1/tmp/Description.txt ---Remote manager extract /tmp/check/remote.pkg ---Remote manager: 1 local / 10 remote ---Remote manager: failed to open Description from/tmp/check/pkgs-1.1/x/Description.txt'
---Remote manager extract /tmp/check/pkgs-1.1/tmp/Description.txt
---Remote manager extract /tmp/check/remote.pkg
---Remote manager: 1 local / 10 remote
---Remote manager: failed to open Description from `/tmp/check/pkgs-1.1/x/Description.txt'
---Remote manager extract /tmp/check/pkgs-1.1/tmp/Description.txt
---Remote manager extract /tmp/check/remote.pkg
---Remote manager: 1 local / 10 remote
unknown location(0): fatal error in "test_compress_filepath": memory access violation at address: 0x00000000: no mapping at fault address
/home/rtrepos/usr/src/vle/vle/src/vle/utils/test/test_package.cpp(517): last checkpoint

*** 1 failure detected in test suite "utils_library_test"
Exit 201

manager: Simulation throws bad trace

The command line interface throws a bad trace:

$ vle -P tutu empty.vpz
---Simulation: SIMULATION_SPAWN_PROCESS is not yet implemented
# [...]

The vle::utils::Simulation::Pimpl have a bad check:

if (m_logoptions & manager::SIMULATION_SPAWN_PROCESS) {
    TraceAlways(
        _("Simulation: SIMULATION_SPAWN_PROCESS is not yet implemented"));
}

The m_logoptionsshould be m_simulationoptions.

gvle: gvle.pc provides libglademm dependency

Since the upgrade of GVLE to Gtk::Builder, the libglademm can be removed from the dependencies of VLE/GVLE. Furthermore, the MXE environment does not provide libglademm library.

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.