vle-forge / vle Goto Github PK
View Code? Open in Web Editor NEWVirtual Laboratory Environment
Home Page: http://www.vle-project.org
License: GNU General Public License v3.0
Virtual Laboratory Environment
Home Page: http://www.vle-project.org
License: GNU General Public License v3.0
VLE have memory leaks around ExternalEvent. We need to cleanup the source code.
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.
We need to add a --stderr' or
--stdout' to use the error or standard output for the log machine. By default, we use the vle.log file.
Gtkmm is included globally (using gtkmm.h) while it should not, since all gtkmm widgets are not used into gvle.
Assigned to rtrepos.
A new unit test for recursive deletion of coordinators is required (see bug #33)
Assigned to rtrepos.
cherry-pick the commit from vle 1.0.0 a66022c
In cli, the package/output directory is build by default even if the package does not exist and if the create package command is not present.
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.
Could combine very well with gnuplot "with steps" plot style.
To perform a correct upgrade to VLE 1.1, the file $VLE_HOME/vle.conf needs to be remove. We can add an --restart
option.
To ensure correct linkage, all plug-ins (simulators, gvle, output) must be statically linked.
for exemple the forrester.dll (gvle plug-in), needs:
Assigning two conditions ports with the same name to an atomic model should lead to the error "Multiples condition with the same init port " but instead a seg fault occurs
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)
There is a confusion between the directory containing the temporary file and the filename itself.
The box for configuring a dynamic (button "Select" on an atomic moddel) does not appear.
(no traces in gdb).
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)
a modelling plugin can not generate the source code, It tries to do this at the binary place of the package.
The preference dialog box needs two clicks on the close button to be hide.
May be it would fit better with the usual workflow to have a single button to launch both configure & build operations on current pkg
Libcurl has many dependencies and it seems that an HTTP request (implemented in boost::asio) is sufficient for our needs.
We have dependency to the boost::program_options in VLE/GVLE. We need to replace Glib::OptionGroup with boost::program_options for the vle command line interface.
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.
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
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
The command line interface does not take into account the LogOptions of the manager or simulation class.
On ubuntu 12.04, a segfault occurs during simulation of empty.vpz :
vle -P myPkg create configure build test empty.vpz
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/vle/build$
fp@fp-dell-10:
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.
release :
VLE 1.0.3
box:
uname -a
Linux douar 2.6.32-5-686-bigmem #1 SMP Sat Sep 18 02:52:26 UTC 2010 i686 GNU/Linux
work around :
The button has no effect but the cross in the corner works fine.
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.
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
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/vle/build$
fp@fp-dell-10:
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)
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!
In simulation's condition, the dialog box that pops up for editing tuple values has to buttons : apply and valid. One reacts as cancel.
I think the label should be changed.
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.
The delCoupledModel must be recursive. Perharps apply this patch to VLE 1.0. Check this.
Replace the old C style code with boost::program_options class to manage the command line interface.
The outputs file are generated at the binary place.
Why not...But they are not viewable from the GUI.
Reloading a generated model does not work.
There might be a repository mismatch.
We need to provide a satisfactory solution to use PRNG in models.
To reproduce the bug :
Open gvle, add a new project named 'project1' (no project name is displayed on the header), then add a new project named 'project2' (the name project1 is displayed on the header)
The files vle.1, mvle.1 and gvle.1 need to be upgrade with latest option.
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.
All date in source code comment (c, h, cpp, hpp), {vle|gvle|vfl}.rc.in and glade file must be change to 2013.
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 ?
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
When using the project template, it can not be either configured, nor build.
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_logoptions
should be m_simulationoptions
.
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.