This commit is contained in:
2021-10-14 13:47:35 +02:00
commit 6625a8dfaa
4026 changed files with 844291 additions and 0 deletions
@@ -0,0 +1,11 @@
# Auto detect text files and perform LF normalization
* text=auto
*.cmd text eol=crlf
*.cmd-base text eol=crlf
*.sh text eol=lf
*.sh-base text eol=lf
# scripts/linux* text eol=lf
@@ -0,0 +1,12 @@
/build
/dist
/dependencies
/dependencies_x64
OpenViBE-Meta.sln
OpenViBE-Meta.sdf
OpenViBE-Meta.v12.suo
designer-extras.vcxproj.user
# Temp & Software Folder
.vs/
.vscode/
+18
View File
@@ -0,0 +1,18 @@
#
# This default configuration file allows anonymous access. If you're a
# developer with account on http://gitlab.inria.fr and need to push,
# please use the git versions of the urls.
#
[submodule "sdk"]
path = sdk
url = https://gitlab.inria.fr/openvibe/sdk.git
branch = master
[submodule "designer"]
path = designer
url = https://gitlab.inria.fr/openvibe/designer.git
branch = master
[submodule "extras"]
path = extras
url = https://gitlab.inria.fr/openvibe/extras.git
branch = master
@@ -0,0 +1,58 @@
*========================================*
|OpenViBE| |AUTHORS|
*========================================*
Contact: http://openvibe.inria.fr/contact/
|People|
OV 3.1.0 staff in alphabetical order
- Arthur Desbois / Inria
- Thibaut Monseigne / Inria
- Theodore Papadopoulo / Inria
- Thomas Prampart / Inria
Developers of previous versions,
- Guillermo Andrade-Barroso / Inria
- Laurent Bonnet / Inria, Mensia
- Alison Cellard / Inria
- Jerome Chabrol / Inria
- Vincent Delannoy / Inria
- Agnes Dos Santos / Mensia
- Morgane Fauvet / Mensia
- Nathanael Foy / Inria
- Charles Garraud / Inria
- Thierry Gaugry / Inria
- Anatole Lecuyer / Inria
- Jozef Legeny / Inria, Mensia
- Jussi T. Lindgren / Inria
- Fabien Lotte / Inria
- Loic Mahe / Inria
- Baptiste Payan / Inria
- Benoit Perrin / Mensia
- Alexis Placet / Mensia
- Yann Renard / Inria, Mensia
- Bruno Renier / Inria
- Cedric Riou / Inria
- Guillaume Serri�re / Inria
Scientific Steering Committee :
- Laurent Bougrain / Inria
- Maureen Clerc / Inria
- Anatole Lecuyer / Inria
- Fabien Lotte / Inria
- Theodore Papadopoulo / Inria
Other contributors :
- Please see
http://openvibe.inria.fr/contributors/
|End.of.file|
vim:tw=78:ts=8:ft=help:norl:
@@ -0,0 +1,974 @@
# Changelog
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [3.1.0]
### Added
- Box : Artifact Subspace Reconstruction (ASR) Box (Issue extras#45)
- Box : Matrix 3D to 2D Box (Issue extras#64)
- Box : Bidirectionnal Unity games box (Issue#61)
- Doc : Changelog (Issue meta#15)
### Changed
- Dependency : Update eigen dependency to 3.3.7 (Issue meta#13, sdk#48, extras#49)
- Box : Changed label Artefact-detection to Artifact (which may contain detection or reconstruction or anything related to artifacts) (Issue extras#45)
- Box : New implementation of Connectivity Measure Box (Issue extras#64)
- Dev : Update Geometry Module For ASR Algorithm (Issue extras#45)
- Dev : Improve Kernel CIdentifier Class (Issue sdk#50, designer#15, extras#53)
- Dev : Improve Kernel CMatrix Class (Issue sdk#47, designer#13, extras#47)
- Dev : LSL timestamps configurable (OpenViBE clock or LSL clock). Default is LSL clock (extras#63)
- Dev : Replace using directives with namespace encapsulation (sdk#32, designer#4, extras#15)
- Dev : libSVM updated to v3.2.4 (Issue extras#58)
- Doc : Replace Mensia namespace (Issue designer#16 & extras#54)
- Doc : Updated the online documentation and tutorials
### Deprecated
### Removed
- Algo: Duplicated legacy code for stimulation based epoching (extras#107)
### Fixed
- Box : P300 Speller feedback display (Issue extras#51)
- Box : TCPWriter header size
- Build : it++ detection in cmake for unix systems
## [3.0.0] - 2020-12-10 ([release announcement](http://openvibe.inria.fr/forum/viewtopic.php?f=1&t=10160))
### Added
- Driver : Encephalan driver
- Driver : Unicorn driver
- Box : Pybox-manager tool and box to use python sk-learn classifier
- Box : Multimodal Graz visualization
- Box : Artefact detection
- Box : Features selection
- Box : Stimulation validator
- Dev : Geometry module with Riemannian geometry
- Support : Ubuntu 18.04
- Support : Fedora 31
### Changed
- Support : 64Bit is now the standard build.
- Box : Some boxes have been updated (type, name, inputs...) and must be updated in previous scenarios before run.
- Dev : Python2 support dropped in favour of Python3 (Python 3.7 required) for the scripting box. Python provides a tool to help you migrate your scripts: https://docs.python.org/fr/3/library/2to3.html
- Dev : The code has had a lot of modernisation changes, and some refactoring which imply incompatibility with previous versions requiring changes. List of changes necessary if you would like to migrate one of your plugins, compatible with OpenViBE 2:
- OpenViBE types were removed and replaced with standard types:
- `OpenViBE::uintXX` -> `uintXX_t`
- `OpenViBE::intXX` -> `intXX_t`
- `OpenViBE::float64` -> `double`
- `OpenViBE::boolean` -> `bool`
- Some functions from `System::Memory` were removed and replaced with standard equivalent:
- `System::Memory::copy()` -> `std::memcpy()`
- `System::Memory::move()` -> `std::memmove()`
- `System::Memory::set()` -> `std::memset()`
- `System::Memory::compare()` -> `std::memcmp()`
- Namespaces starting with OpenViBE having been split:
- `OpenViBEPlugins` -> `OpenViBE::Plugins`
- `OpenViBEToolkit` -> `OpenViBE::Toolkit`
- `OpenViBEVisualizationToolkit` -> `OpenViBE::VisualizationToolkit`
- Some ClassId variables were renamed:
- variables containing `StreamedMatrixStreamDecoder` renamed with `StreamedMatrixDecoder`
- e.g. `OVP_GD_ClassId_Algorithm_StreamedMatrixStreamDecoder` -> `OVP_GD_ClassId_Algorithm_StreamedMatrixDecoder`
- variables with `StreamedMatrixStreamEncoder` renamed with `StreamedMatrixEncoder`
- e.g. `OVP_GD_ClassId_Algorithm_StreamedMatrixStreamEncoder` -> `OVP_GD_ClassId_Algorithm_StreamedMatrixEncoder`
- variables with `SamplingRate` renamed with `Sampling`
- e.g. `OVP_GD_Algorithm_SignalEncoder_InputParameterId_SamplingRate` -> `OVP_GD_Algorithm_SignalEncoder_InputParameterId_Sampling`
- `OVP_ClassId_Plugin_VisualizationContext` -> `OVP_ClassId_Plugin_VisualizationCtx`
- The include file `<openvibe/ovITimeArithmetics.h>` was removed and functionalities replaced:
- New header: `#include <openvibe/ovITimeArithmetics.h>` -> `#include <openvibe/CTime.hpp>`
- `TimeArithmetics::timeToSeconds(timeVar)` -> `CTime(timeVar).toSeconds()`
- `TimeArrithmetics::SecondsToTime(timeVar)` -> `CTime(timeVar).time()`
- `TimeArithmetics::TimeToSampleCount(freqVar, timeVar)` -> `CTime(time).toSampleCount(freqVar)`
- In the package `ovp_main.cpp`, after the call to `OVP_Declare_Begin()`: `rPluginModuleContext` -> `context`
- Signature of method `processInput()` overriden from class `TBoxAlgorithm` has changed (parameter type `uint32_t` -> `const size_t`):
- `OpenViBE::boolean processInput(OpenViBE::uint32)` -> `bool processInput(const size_t index)`
- Signature of method `hasFunctionality()` overridden from class `IPluginObjectDesc` (in sdk/openvibe/include/openvibe/plugins/ovIPluginObjectDesc.h) has changed:
- `OpenViBE::boolean hasFunctionality(OpenViBE::CIdentifier functionalityIdentifier) const` -> `bool hasFunctionality(const EPluginFunctionality functionality) const`
- `#define OVD_Functionality_Visualization` replaced by `EPluginFunctionality::Visualization`
- Method renamed to match coding rules:
- `TCPTagging::createStimulusSender()` -> `TCPTagging::CreateStimulusSender()`
- Signature of box processClock() may have changed. Both were used, but now only the latter:
- `bool processClock(Kernel::IMessageClock& msg)` -> `bool processClock(Kernel::CMessage& msg)`
- Doc : Updated the online documentation and tutorials
- Doc : Updated the CI Build Badge of Readme
### Removed
- Support : Ubuntu under 18.04 (it can work however but official support is no longer provided)
- Support : Fedora under 31 (it can work however but official support is no longer provided)
### Fixed
- Dev : Bug fixes made. No list was compiled.
## [2.2.0] - 2018-12-03 ([release announcement](http://openvibe.inria.fr/forum/viewtopic.php?f=1&t=10002))
### Added
- Box : Null box that consumes input
- Box : Keypress Emulator box
- Box : Improvements to the ERP Plot box
- Server : Simulated Deviator to study effects of a drifting driver
- Tracker : A new data analysis application allowing to load, freely browse and process multiple EEG files simultaneously
- Scenarios : ERP Plot box tutorial
- Tests : more data to Regularized CSP test to avoid random fails
- Tests : Tests for Streamed Matrix Encoder/Decoder
### Changed
- Box : Added error checking to the Timeout box
- Box : Noise Generator can now also bake Gaussian noise
- Box : Added a warning to the old CSV File Reader
- Box : Added TCP Tagging support to the Keyboard Stimulator
- Box : Make channel rename accept any kind of input
- Dependency : Updated LSL dependency to 1.12
- Dev : Fully 64bit OpenViBE (optional dl): You can use 64bit Python and Matlab versions with it
- Dev : Update name to US style (i.e. normalise -> normalize).
- Doc : Updated the online documentation and tutorials
- Designer : Automatic box update (simple boxes that need update can be sorted out with right-click + update)
- Server : Acquisition Server will now complain if ports are already in use
- Server : Drift Correction can now have an initial skip period
- Scenarios : Updated the P300 Magic Card scenarios
- Scenarios : Update Channel Rename box in box tutorials scenarios after update of SDK to 1.1.0
- Scenarios : Make external processing example depend on toolkit compilation
### Fixed
- Dev : Bug fixes made. Details in release announcement.
## [2.1.0] - 2018-04-11 ([release announcement](http://openvibe.inria.fr/forum/viewtopic.php?f=1&t=9916))
### Added
- Box : Brain Vision Format Writer
- Scenarios : Example servers for the external processing box
### Changed
- Driver : Added channel scaling to LiveAmp driver
- Dev : Update name to US style (i.e. normalise -> normalize).
- Scenarios : move the default working directory folder to a user folder and add defines for harcoded scenarios folder
### Removed
- Box : Useless "Box About" properties
### Fixed
- Driver : EEGO impedance errors which were the result of multiple instanciations of the factory object
- Dev : More bug fixes detailed in release announcement.
## [2.0.1] - 2018-01-31 ([release announcement](http://openvibe.inria.fr/forum/viewtopic.php?f=1&t=9876))
### Added
- Driver : Generic Time Signal driver
- Driver : EEGO driver for linux
- Dev : Continuous Integration with jenkins
- Tests : Tests for time arithmetic tests
- Tests : Make tests system agnostic : now uses cmake & git internal commands
### Changed
- Server : Improve functionnality (driver can be deprecated, tests, validity check...)
- Dev : Remove CMake logs except error logs.
- Dev : Simplify ITimeArithmetics formulas to increase precision
- Dev : Add tests and verification in the Kernel. (signal sampling rate, socket...).
- Box : Add tolerance to chunk continuity in stimulation based epoching
- Doc : Updated the online documentation and tutorials
### Fixed
- Driver : Memory leaks in BrainVision Recorder driver
- Server : TCP Tagging
- Dev : Build bugs
- Dev : Memory leaks
- Doc : Documentation generation under linux OS
- More bug fixes detailed in release announcement
## [2.0.0] - 2017-10-30 ([release announcement](http://openvibe.inria.fr/forum/viewtopic.php?f=1&t=9840))
**Remark** : This version changes everything in the code, you can consider that the project has changed completely. See [this page](http://openvibe.inria.fr/differences-between-1-x-and-2-x-series-of-openvibe/) to see major differences.
### Added
- Driver : BrainProducts LiveAmp driver
- Driver : Sampling rate estimation to the LSL driver
- Driver : LiveAmp8 and LiveAmp16 support for LiveAmp Driver
- Box : Temporal filter Box
- Box : Zero crossing detector Box
- Dev : Bluetooth connection to module socket
- Dev : Some flags for OpenMP to optimize its use when used as a backend for eigen
- Designer : Metabox example
### Changed
- Designer : Move the loglevel of scenario importer from Information to Trace
- Designer : Improve the readability and the number of error message.
- Server : Drift Correction is now disabled by default
- Dev : All the code is separated in 4 repository (meta, sdk, extra, designer) the sdk and the designer have the Certivibe label.
- Dev : Refactor, Update and improve build system (log during build, dependency install, CMake Version and package, Visual studio version, remove old path, python unfound don't stop the build...)
- Dev : Create script for build on each sub repository.
- Dev : Update error management system
- Dev : Refactoring, update and improve all the code, especially sdk and the kernel for the Certivibe.
- Dev : Update some code style to C++11 instead of C or boost function.
- Dev : Reduce cppcheck warning and errors.
- Box : Update and improve CSV file IO.
- Box : Change label for some boxes.
- Box : Update some checking in box (size or format of input, settings, output...).
- Box : Update some default setting/input/output.
- Scenarios : Update previous scenarios, example and tutorial.
### Deprecated
- Box : Add flag deprecated to old CSV Boxes.
- Box : Add flag deprecated to xDAWN Spatial Trainer INRIA Box.
### Removed
- Dev : Remove unused flag, token and dependencies
- Doc : Remove the non-relevant documentation and boxes from tools, signal-processing, vrpn, classification, stimulation plugin
- Doc : Updated the online documentation and tutorials
### Fixed
- Box : Unicode handling in Boxes and source code.
- Box : Memory leaks. Details in release announcement.
- Dev : Bug fixes made. Details in release announcement.
## [1.3.0] - 2016-12-30 ([release announcement](http://openvibe.inria.fr/forum/viewtopic.php?f=1&t=9716))
### Added
- Drivers : NeuroServo HID driver
### Changed
- App : Acquisition Server no longer loads unnecessary dlls
- Designer : Skip initialization of 3D context when visualization is disabled
- Drivers : Improvements to gusbamp-gipsa, mostly for multiple gusbamp combinations
- Channel names can now be specified in multiamp case
- Chooses the last amp by default if the user doesn't choose
- If multiple amps are connected, assumes we want to simultaneously record from all of them
- Should now remember the master amp across runs correctly
- Fixed 'Show Device Name' not always working in gusbamp-gipsa
- Improved gusbamp-gipsa multiamp identification
- Tweaked gusbamp gipsa log levels + added a warning
- Fixed the impedance checking to work with multiple amps
- All channels are now correct with both the event channel disabled or enabled.
- Drivers : Emotiv driver support for SDK 3.3.3
- Updated the web documentation
- Box : Added PCA & Whiten support to the FastICA box
- Box : BrainAmp FileWriter now always creates the marker header
- Box : Changed GDF File Writer to use ITimeArithmetics
- Box : Minor code cleanup & log tweaks
- Box : Refactored Regularized CSP Trainer box code
- Box : Regularized CSP Trainer now supports multiclass
- Box : The FFT plots no longer draw junk during the first frames
- Box : Made Analog VRPN box declare 0 channels before header is received
- Dev : Update cmake script to use --invisible designer option instead of --no-gui
- Dev : Update tests to use --invisible designer option instead of --no-gui
- Dev : Refactored StimulusSender to a new 'tcptagging' module
- Dev : Renamed Mind Shooter source files to avoid confusion
- Changed Mind Shooter sources to refer to the new filenames
- Dev : Changed Mind Shooter to its own namespace for clarity
- Scenarios : Added stimulation output to ov2csv conversion scenario
- Scenarios : Minor cleanup to the P300 scenarios and scripts
- Scenarios : Simplified Multiclass Mind Shooter
- Mind Shooter now uses multiclass CSP and a multiclass classifier
- Scenario pipelines modified and simplified accordingly
- Corrected channel->control mapping
- TCP Tagging is now used to pass stims from the Shooter to the AS
- Added Epoching Delay option to avoid ERP effects
- Fixed the performance evaluation .lua script
- Fixed the feedback computation in the ships' parts
- All config files and logs will now be created under the scenario dir
- Disabled the feedback by default as its not very intuitive
- Previous 'Advanced Control' is now called 'Analog Control'
- Refactored the code to clarify analog and discrete controls
- The choice between the two can be done in the online scenario
- Removed unnecessary parts from the scenarios
- Made the shooter loglevel controllable and default to 'Information'
- VSync and Full Screen selection are now reflected in the ogre.conf
- Removed such .lua scripts which were no longer needed
- Tweaked the performance evaluation scenario & lua to match the new pipeline
- More safety checks to SSVEP Mind Shooter
- Changed SSVEP Mind Shooter to use class probabilities
- Cleaned up junk from the SSVEP acquisition test scenarios
- Added some comments.
- Updated the web documentation
- Scenarios : Original Mind Shooter scenarios are available as 'classic version'
- Dev : cmake now avoids printing the same things many times
- Dev : Added some comments.
### Fixed
- Box : BrainAmp File Writer not always creating a header
- Box : GDF File Reader box fix for BCI Competition IV files.
- Box : Acquisition Client crash when requiring update from 0.18
- Box : Inappropriate deallocation in LSL Export box
- Dev : Compilation on Arch Linux
- Dev : Some case issues in cmake scripts.
- Doc : The Lua Stimulator box doc
- Drivers : Channel scale in the OpenBCI driver
- Scenarios : Incorrect type ids in some test scenarios.
## [1.2.2] - 2016-07-27 ([release announcement](http://openvibe.inria.fr/forum/viewtopic.php?f=1&t=9643))
### Fixed
- Drivers : Stabilization of the OpenBCI driver
- Drivers : gUSBAmp and gMobilab are no longer mutually exclusive in Acquisition Server
- Designer : Editing box parameter types in Designer
- App : Issues with SSVEP and Handball demos
- Dev : Compilation on Ubuntu 16.04
- Dev : Miscellaneous small fixes to examples, scenarios, boxes, etc
## [1.2.1] - 2016-06-20 ([release announcement](http://openvibe.inria.fr/forum/viewtopic.php?f=1&t=9643))
### Fixed
- Box : Issue with stimulation params of the Matlab box
- Box : Issue with multiple simultaneous Matlab boxes
- Box : Lua and Python plugins not handling *_Number_* stimuli
- Dev : Bug in Windows installer nsi script ('vcomp120.dll not found' issue)
- Scenarios : Wrong placement of the xval param in the classifier trainer boxes
- Scenarios : Incorrect train triggers in the P300 demos
## [1.2.0] - 2016-05-20 ([release announcement](http://openvibe.inria.fr/forum/viewtopic.php?f=1&t=9643))
### Added
- Drivers : GTec gNautilus driver
- Drivers : gUSBAmp (BCI-Lab) driver for Linux
- Drivers : Impendance check support for the EEGO driver
- Box : New and reliable software tagging facility : TCP tagging
- Box : Simple Outlier Removal box
- Scenarios : How to do elementary incremental learning
- Tests : Tests for Shrinkage LDA
### Changed
- App : Designer will now show version info in the title bar
- App : Changed Win clock granularity to 1ms in AS and Designer
- App : Designer will now inform of special box states on load
- App : Designer now warns if scenarios have unknown box algorithms
- Box : Dropped support for the old LDA classifiers, please retrain
- Box : Classifier Processor can now reload the model on receiving a stimulation
- Box : Various enhancements to the FastICA box
- Scenarios : Changed basic P300 to use the TCP Tagging
- Scenarios : VRPN examples now print out the used device names
- Scenarios : Updated the Motor Imagery scenarios to use TCP Tagging
- Dependency : Support for Ogre 1.9.0 and CEGUI 0.8.4
- Dev : VS2013 compatibility
- Dev : Scenario exporters will now include the openvibe version
### Fixed
- Drivers : Drift bug in gusbamp gipsa driver
- Box : Problem of xval setting placement in Classifier Trainer
- Box : Issue for 0,...,k-1 indexing to classifiers
- Box : Probability output of the SVM classifier
- Box : Coefficient parsing check in Spatial Filter box
- Dev : Addressed Ogre/CEGUI Find problems on Fedora 21
- Dev : Issue with heavy OpenMP/Eigen CPU loads
## [1.1.0] - 2015-10-02 ([release announcement](http://openvibe.inria.fr/forum/viewtopic.php?f=1&t=9555))
### Added
- Drivers : eemagine EEGO
- Drivers : Brain Rhythm 8, Simulator, SmartBCI and Wearable Sensing Dry Sensor Interface.
- Box : Implemented MLP (MultiLayer Perceptron) classification algorithm.
- Box : Regularized version of the CSP filter trainer.
- Box : New plugin category for evaluation.
- Box : 3 new boxes to evaluation plugin : kappa coefficient, ROCCurve, General Statistics Generator.
- Scenarios : Example of stimulation passing to Python.
- Dev : Enabled the support of SSE2.
- Dev : Enabled multicore and vectorization in Eigen.
- Tests : Tests for Regularized CSP.
- Tests : Tests for ROC Curve, kappa coefficient and statistic generator.
- Tests : Tests for MLP.
- Tests : Tests for import/export matrix in toolkit.
- Tests : Test configuration file for OpenViBE.
### Changed
- App : Disabled the CoAdapt P300 speller which was only working on 0.18. The contributing authors are currently developing an even more robust P300 speller that is also easy to use. Stay tuned.
- Dev : Added ASCII import and export functions for IMatrix matrices
- Designer : Made fails explicit in scheduler.
- Designer : Added more type checking to scenario loader.
- Designer : Restore log level even in no-gui and invisible mode.
- Drivers : Extended Emotiv EPOC support to gnu/linux.
- Drivers : Added Software tagging to the universal TMSI driver.
- Drivers : Moved the check impedance option to be part of driver preferences.
- Drivers : Various updates to BrainProducts VAmp, BrainProducts Brainamp.
- Box : The LDA now has a native multiclass mode.
- Box : The Spatial Filter box now accepts a configuration file which contains a matrix (refer to the doc for the format specification).
- Box : The xDawn and the CSP trainer can generate matrix file for the spatial filter.
- Box : Various optimizations of the Spatial Filter.
- Box : Changed Signal Display refresh paradigm to make it handle bigger datasets.
- Box : TCP writer box sends Streamed Matrix and Signal in row-major order.
- Box : Moved Accurancy Measurement and Confusion Matrix to the evaluation plugin.
### Fixed
- Box : Multiple issues in Signal Display.
- Box : LDA algorithm (wrong shrinkage computation).
- Box : Several fixes and guards added into the classification plugin.
- Box : Properly handle wrong settings value in Temporal Filter and Modifiable Temporal Filter.
- Box : EDF implementation.
- Box : Removed incorrect stream restrictions in Stream Switch.
- Box : TCP writer end of line sequence.
- Server : Shortcuts.
- Server : Now avoids crashes if loading the driver ui failed.
- Server : Various minor fixes.
- Dev : All windows launch scripts to handle spaces better.
## [1.0.1] - 2015-05-05 ([release announcement](http://openvibe.inria.fr/forum/viewtopic.php?f=1&t=9435))
### Added
- Tests : Tests for GDF Writer
### Changed
- App : Edit the tips of the message interface in the skeleton generator.
- Dev : Enabled NSIS installer logging
- Designer : Designer will now point to the version-specific web documentation
### Fixed
- App : Added verbosity to VR Demo & fixed an unimportant memory leak
- App : Bug with the stimulation stream in the skeleton generator.
- Dev : Build without Ogre
- Doc : Version number in the generated doc. Its now automatically generated.
- Drivers : Added include guards to LSL driver
- Drivers : Generic Oscillator channel naming when > 4chns
- Drivers : Inserted author information where it was missing
- Box : The type stimulation is available in the python box.
- Box : Indexing in sign change detector
- Box : GDF Reader no longer appends extra chunk
- Box : Improved error handling for missing classifiers
- Scenarios : Added instructions to the P300 scenarios
- Scenarios : Convert app to work with spaces in exe paths
- Scenarios : Lua stimulator tutorial (Mantis #172)
- Scenarios : Wrong LDA id.
## [1.0.0] - 2015-03-20 ([release announcement](http://openvibe.inria.fr/forum/viewtopic.php?f=1&t=9435))
### Added
- LabStreamingLayer support : Acquisition Server will now be able to import and export data from LSL. A compatible LSL Export box has been introduced.
- Server : Acquisition Server autoplay via config token
- Designer : Config tokens can be speficied to Designer & AS on the command line, using --define
- Designer : Box configurations can now change the number and type of entries based on user selections
- Designer : Popup on initilization error to Designer
- Designer : drag and drop scenario file in designer (MANTIS issue #48)
- Box : Wavelet decompositions are supported
- Box : EOG Artifact removal boxes added
- Box : Magnitude Squared Coherence is now available in the Connectivity box
- Box : OpenViBE can now send commands to any OSC enabled target
- Drivers : MCS NVX, mBrainTrain Smarting
- Drivers : Calibration signal support to Gipsa's gUSBAmp driver
- Drivers : Telnet reader now supports arbitrary integer sampling rates
- Drivers : More error checking to gUSBAmp gipsa driver
- Dev : ADD launch option --memcheck for launch executable using valkyrie ( front-end for valgrind)
- App : Memory deallocation to vrpn examples
- Scenarios : Classification testing tutorial
- Scenarios : FastICA box tutorial
- Scenarios : Wavelet & EOG Denoising tutorial
- Scenarios : External Stimulation Connection example will now send 1 stim / sec
- Scenarios : Enabled Clock, Log and Nothing example boxes.
- Tests : Tests for generic stream reader/writer
- Tests : Tests for Classifier
- Tests : Tests for CSV file IO
- Tests : Tests for EBML write and read
- Tests : Script to find out boxes that are not in any scenario (in test/)
### Changed
- Drivers : Some drivers are now able to return the measurement units (e.g. microvolts). If you connect Measurement Unit stream from Acquisition Client to Signal Display, you can enable the unit display (in Toolbar).
- Drivers : Moved the BrainProducts ActiCHamp driver from contrib/ to core
- Drivers : Moved TMSiSDK.dll to be an external dependency
- Drivers : fixed Refa32B include guards
- Drivers : Moved the remaining driver .dlls to be external dependencies
- Designer : Signal Display has been improved to handle better large amounts of channels and to give user more control over data scaling
- Designer : Scenario .xmls contents no longer permute wildly across 'save scenario'
- Designer : allow easier pick for line and easier connection between boxes.
- Designer : Enable shortcuts after drag and drop a box.
- Designer : Designer will now return an error if it cannot open a scenario file for writing
- App : Skeleton Generator no longer depends on sed
- App : Modified plugin inspector to provide a list of all registered boxes
- Box : Channel Selector now supports Streamed Matrix type
- Box : Various improvements to CSV Writer : Added support for Streamed Matrix & Feature Vector, removed unused Compression setting, introduced setting to change the output precision
- Box : Unified all LDA type classifiers to one
- Box : Refactored Signal Concatenation not to ruin stimuli chunk structure
- Box : Changed some boxes to print channel numbers using 1,2,... indexing. No list was compiled.
- Box : Added some checks for invalid xml file to Classifier Processor.
- Box : Transposed the TCP Writer output
- Box : CSV file reader/writer : renamed default out/input (mantis issue 76)
- Box : Allow the automatic renaming of channel selector box based on channel list, mantis 64
- Box : External stimulations should now be passable to multiple clients
- Box : Moved the BioSemi ActiveTwo driver from contrib/ to core
- Box : Moved the TMSi driver from contrib/ to core
- Box : Code cleanup, removed some lingering unnecessary references to IReader.h.
- Box : Moved some plugins from Samples/ category to more reasonable places. No list was compiled.
- Box : Removed a few more obsolete boxes
- Box : Changed output channel names of some boxes to be be more distinct / Boxes affected : FastICA, Noise Generator, Sinus Oscillator, Spatial Filter
- Box : Refactored CSV writer to use the time arithmetics class for conversions
- Box : Separated the Tests and Examples category into two
- Box : Removed some references to unnecessary headers.
- Box : Factorize parameter management.
- Box : Avoid compilation of itpp code if itpp package is there but not at the right place.
- Box : Clean + remove old bliff classifier.
- Box : Remove itpp from dependencies of classification.
- Box : Moved Clock Stimulator box to the Stimulation category
- Box : Renamed obsolete references to SignalProcessingGpl namespace
- Doc : Fixed generating the ERP Plot doc
- Dev : All graphical assets (images & 3D models) in OpenViBE should now have acceptable licenses
- Dev : Added low-order numeric stimuli (0-32, suitable for 1 byte communications using parallel port).
- Dev : EBML streams now follow the EBML specification with a proper header and DTD
- Dev : Changed MicroMed dll search to look for VS2010 based lib
- Dev : Allowed compilation without GTK.
- Dev : All boxes now use the encoder/decoder approach
- Dev : Lots of unused code removed; Automaton, Callbacks, various boxes
- Dev : Renamed samples/ plugin path to data-generation/
- Dev : Linux multicore build now adapts to the number of cores
- Dev : Changed Windows build to use multiple cores
- Dev : Differentiated between vs100 and vs90 lua
- Dev : dropped Presage dependency on VS2008.
- Dev : Improved LUA detection on Fedora20
- Dev : Minor tweak to ITPP detection script
- Dev : Updated VRPN dependency to 7.31
- Dev : Made Ogre 3D optional (3D plugins not usable)
- Dev : Made GTK optional (i.e. builds what is possible the build without GTK)
- Dev : Fix ogre package install on ubuntu 14.10.
- Dev : Removed dependency on VS2005 and VS2008 redists
- Dev : Removed SettingCollectionHelper.
- Dev : Reduced C11 dependencies
- Dev : Renamed system/ modules to avoid conflicts with system files e.g. Time.h -> ovCTime.h etc.
- Dev : Removed unused modules Automation and Stream
- Dev : After move to codecs, removed code of deprecated callbacks
### Fixed
- Drivers : Impedance check jamming the gUSBAmp
- Drivers : BrainVision Recorder driver / Fixed crash with multiple markers in a single message, Fixed memory leaks
- Drivers : BioSemi ActiveTwo driver
- Drivers : Minor fix to MBT Smarting driver
- Drivers : Acquisition Server crash with gtec gipsa driver
- Drivers : MCS NVX driver patch for situations with invalid signal values
- Drivers : handling of non-numeric markers in BrainVision Recorder driver. Additionally, fixed some of the repeating memory reallocations in the driver.
- Drivers : fixed stop crash in external stimulations occurring with Refa32B
- Server : Issue with too many stimuli sent in case of NaNs in the data
- Fixed time placement of Correct/Incorrect stimuli in cases of NaNs
- Designer : Issue with restoring nonsaved state
- Designer : Tab reordering issue.
- Designer : Restore the previous state of the log expander.
- Designer : Prevent any plugin windows to be displayed if no gui is active.
- Designer : Prevent from display the popup of warning in intialization mechanism if no-gui is active.
- Designer : fix for drag&drop scenario file on windows
- Designer : fix memory leak when getting Enumeration setting value (MANTIS issue #158)
- Designer : fix display of boxes with name containing &
- Box : Time Based Epoching no longer crashes if samplingrate is 0
- Box : Crash in Temporal Filter box with too small chunk sizes
- Box : Canvas space usage in Signal Display with Chn Selector
- Box : Signal Display now only draws the channels that are visible
- Box : Signal Display now detects if the signal sampling rate does not match chunk size/time properties
- Box : CSV file-io boxes
- Box : Fractional band limits in Spectral Analysis
- Box : FFT/IFFT boxes to work with odd chunk sizes
- Box : CSV Reader and Writer boxes will now handle Feature Vectors ok
- Box : Crashes in Stream Switch
- Box : Bug in classification (pairwise strategy selection for OneVsOne, SVM output, Voting)
- Box : More boxes now properly restrict streams to the types they can support
- Box : Various bugfixes
- Fixed old filename used in signal concatenation example
- Added FFT decomposition tutorial scenario
- Fixed unset sampling rate in Windowing Functions box
- Code cleanup of IFFT box
- Fixed keyboard stimulator from repeating the stimuli
- Added Error checking to Spectral Analysis + code cleanup
- Added input type restrictions to TCP Writer box
- Box : Crash in signal concatenation
- Box : Removed CoSpectra box which did not seem to do anything
- Box : Added check for zero sampling rate to Time Based Epoching box
- Box : Signal Merger box not outputting the sampling rate
- Box : SignalDisplay : Remove redraw of all channel when stimulation is received. Was slowing down the box
- Box : Topographic map display (mantis 97)
- Box : TCPWriter export of undefined stimuli
- Dev : Misc tweaks & code cleanup
- App : Skeleton generator.
- App : issues with Skeleton Generator and spaces in paths
- App : handling of spaces in Windows command arguments
- Dev : kernel/Scheduler, Chunks accumulated at the inputs of muted boxes and were never cleared causing an increase in memory use over time
- Dev : mantis 120. The same change may have to be introduced in other boxes as well
- Dependency : GLFW3 dependency archive requiring Visual Studio debug dll
## [0.18.0] - 2014-07-28 ([release announcement](http://openvibe.inria.fr/forum/viewtopic.php?f=1&t=9323))
### Added
- Drivers : BioSemi ActiveTwo
- Drivers : Cognionics
- Drivers : TMSi (universal driver)
- Drivers : NeuroElectrics Enobio3G
- Box : Multiclass classification support with three pairing strategies, native, 1-vs-all and 1-vs-1.
### Changed
- Designer : Lots of usability improvements to Designer, including rendering speed
- Designer : Improved signal display, all signals can now be drawn to the same drawing area as is usually done with EEG data
- Box : Advanced P300 'CoAdapt' speller with new keyboard, new flashing strategies, improved timing, optional word prediction, and more
- Box : Support to allow box parameters to be changed during play (for boxes that explicitly declare it)
## [0.17.0] - 2013-12-19 ([release announcement](http://openvibe.inria.fr/forum/viewtopic.php?f=1&t=9228))
### Added
- Box : New box messaging capabilities. Boxes can be designed to send instant messages to one another.
- Box : Hilbert Transform
- Box : Connectivity Features with Single Trial Phase Locking Value algorithm
- Box : TCP Writer
- Box : Shrinkage LDA
- App : New SSVEP game Mind Shooter
### Changed
- Usability improvements : for example, automatic saving and loading of driver settings in the Acquisition Server
### Fixed
- Dev : Bug fixes made. Details in release announcement.
## [0.16.0] - 2013-07-01 ([release announcement](http://openvibe.inria.fr/forum/viewtopic.php?f=1&t=5049))
### Added
- Drivers : NeuroSky Mindwave Mobile
- Box : AutoRegressive Coefficients
- Box : Timeout
- Box : Stimulus Voter
- Dev : New build system with full Microsoft Visual Studio IDE support
- Dev : New source code directory organization that is easier to grasp for new developers.
- Dev : Source distribution includes files to build a basic Debian/Ubuntu/Mint binary package
### Changed
- Drivers : Upgraded Gtec driver from gipsa.lab
- Dev : License has been changed to AGPLv3.
### Fixed
- Dev : Bug fixes made. Details in release announcement.
## [0.15.0] - 2013-02-01 ([release announcement](http://openvibe.inria.fr/forum/viewtopic.php?f=1&t=4887))
### Added
- Drivers : BrainProducts ActiCHamp
- Drivers : BrainMaster Atlantis and Discovery
- Server : Send stimulations from your application to Acquisition Server
- Designer : Self-contained scenario configuration. The $__volatile_ScenarioDir token will always expand to the path of the folder of the current scenario.
## [0.14.0] - 2012-06-18 ([release announcement](http://openvibe.inria.fr/forum/viewtopic.php?f=1&t=1033))
### Added
- Box : Python scripting
- Drivers : Fieldtrip server
- Drivers : Mitsar EEG device
- Server : Pssibility to use the USBamp’s event channel in the acquisition driver.
### Changed
- Box : The matlab box was re-written and now supports any number of inputs and outputs of any type.
- Dependency : Boost on Linux was updated to 1.49, there is an added dependency to pthreads on Windows.
## [0.13.0] - 2012-01-30 ([release announcement](http://openvibe.inria.fr/forum/viewtopic.php?f=1&t=695))
### Added
- Designer : The designer now has a search feature which enables quick lookup of available boxes.
- Box : EDF File Writer.
- Box : BCI2000 File Reader.
- Box : A box for calculating differential and integral of any order was added. (The first and second difference detrending boxes are now deprecated)
### Changed
- Dependency : Updated Gtk on Windows (2.22.1)
- Dependency : Used IT++ version 4.0.7 across all platforms
## [0.12.0] - 2011-10-12 ([release announcement](http://openvibe.inria.fr/forum/viewtopic.php?f=1&t=578))
### Added
- Designer : The time is now printed in every logs (console, file, etc.) in seconds. User can switch between this display and the previous (in 32:32 time and/or hexadecimal) at will using configuration tokens. The time precision can also be set.
- Drivers : The Emotiv EPOC driver is now included in the Windows Installer. It still requires the user to specify where to find the Emotiv Research Edition SDK in order to run correctly.
- Drivers : The g.Tec g.USBAmp driver benefits from a major update that add more amplifier functionalities : ability to connect to common ground and reference, activation of notch and band-pass filters.
- Box : Stream synchronization box, that can synchronize in OpenViBE several streams coming from several linked devices.
- Box : The Matlab Filter box is now compiled by default and included in the release. This box is still unstable, but has been fully reworked in order to work on every machine, as long as Matlab (version 32bits) is installed.
### Fixed
- Dev : Bug fixes made. Details in release announcement.
## [0.11.0] - 2011-08-11 ([release announcement](http://openvibe.inria.fr/forum/viewtopic.php?f=1&t=532))
### Added
- Drivers : Driver based on OpenAL to acquire sound signal from microphone input.
- Support : OpenViBE is now officially supported on Fedora 15, Ubuntu 11.04 and Windows 7 64bit.
- Box : New Reference Channel and Channel Selector boxes. The older boxes are now deprecated. The channel selection is smarter (name or 1-based index, 'X:Y' for channel range).
- Box : New Signal Concatenation box. The older box is now deprecated. The concatenation is much faster, and end-of-file is detected automatically through a time-out.
- Box : New Stream Switch box that copies its input chunks on one of its outputs. The active output is selected with defined stimulations.
- Doc : Documentation for the Matlab Filter box.
- Doc : Documentation for the Display-Cue visualisation box.
- Scenarios : New set of scenarios for a Motor-Imagery based BCI using CSP spatial filters, and demonstrating how to measure classifier performances offline or online (confusion matrix, overall performance).
### Changed
- Drivers : The Emotiv EPOC driver now acquires values from gyroscope sensors (new option in the driver properties).
- Designer : The Player in the OpenViBE Designer can now be controlled with keyboard shortcuts (F5 : stop, F6 : one-step, F7 : play, F8 : fast-forward)
- Dev : Skeleton Generator benefited from a major update, and can produce box skeleton with Listeners, Codecs, Flags, etc.
- Box : CSV file writer can receive 1 or 2-dimensional matrices
- Box : Matrix display can receive 1 or 2-dimensional matrices
- Box : The Matlab filter box has now a Stimulation output, and the Matlab messages are redirected to the OpenViBE console (warnings, errors, disp, etc.)
- Box : Classifier Trainer outputs standard deviation along with classification percentage on the k-fold test. k-fold test now randomize the input data prior to testing by default.
- Box : CSP and xDAWN spatial filter trainers output a stimulation OVTK_StimulationId_TrainCompleted after a successful training.
- Box : Classifier Accuracy visualization box can now show score and/or percentages, or none of them.
- Doc : Acquisition Server documentation updated to latest GUI modification (division driver properties/server settings)
- Scenarios : SSVEP scenarios now make use of CSP spatial filters for better performances.
### Fixed
- Box : patch for the Matlab filter box, by fixing bugs and adding stimulation output.
- Box : patches for the skeleton-generator and the matlab box
## [0.10.1] - 2011-04-13 ([release announcement](http://openvibe.inria.fr/forum/viewtopic.php?f=1&t=462))
### Fixed
- Windows installer : A small glitch during the creation of the installer made Brain Products First-Amp and V-Amp drivers unavailable.
## [0.10.0] - 2011-04-12 ([release announcement](http://openvibe.inria.fr/forum/viewtopic.php?f=1&t=460))
### Added
- Server : We added new drivers for raw file reading and telnet raw reading to the acquisition server
- Server : You can now choose whether to activate, deactivate or force the drift correction in the acquisition server
- Designer : The designer can now read scenarios from standard input
- Designer : A collapsible console showing the output messages has been added to the designer
- Designer : An optional pop-up window is now displayed when there are errors during the execution of a scenario
- Designer : Multiple files can now be opened at once in the designer
- Designer : The designer now supports several new keyboard shortcuts
- F2 - rename all selected boxes
- Ctrl+A - select all boxes in the current scenario
- Ctrl+W - close the currently opened scenario
- Drivers : We added support for triggers in the TMSiRefa32B and MicromedSystemPlusEvolution drivers
- Box : Box for training spatial filters using CSP algorithm
- Box : Box which can display user selected images upon receiving stimulations
- Box : A new VRPN Client box is available so OpenViBE can receive messages from external applications
- Box : A new, unstable, CSV Reader box is available
- Box : Sound stimulation, based on OpenAL, is available. The old SoundStimulation box is now deprecated.
- Box : Moving average box can now use two new methods - Cumulative Average and Immediate Moving Average
- Dev : Added templates for easy encoder/decoder creation and manipulation
- Scenarios : We added scenarios for SSVEP BCIs along with an application for SSVEP stimulation
### Changed
- Drivers : Neurosky Mindset driver was updated to use SDK v2.1
- Drivers : Neurosky Mindset driver now supports blink detection
- Box : Spatial filter can now work with signals, spectrums and streamed matrices
- Box : Lua stimulator now has access to the log manager
### Fixed
- Dev : Bug fixes made. Details in release announcement.
## [0.9.0] - 2010-12-28 ([release announcement](http://openvibe.inria.fr/forum/viewtopic.php?f=1&t=416))
### Added
- Drivers : EGI Netamps driver
- Drivers : Multi amp support for Brain Products BrainAmp series
- Box : VRPN Button client box
### Changed
- Server : The acquisition server now remembers the last device you used
- Designer : The designer now remembers the last opened scenarios
- Designer : The designer can be launched from command line hiding the GUI, loading/runing a specific scenario etc..
- App : Each box setting can now be configured with the configuration manager
### Fixed
- Drivers : Stabilized the Brain Products BrainVision Recorder driver (the driver is now stable)
- Box : Stabilized lua box with a more complete API (the box is now stable)
## [0.8.0] - 2010-10-01 ([release announcement](http://openvibe.inria.fr/forum/viewtopic.php?f=1&t=378))
### Added
- Server : Multithreaded the acquisition server for better performance and synchronization
- Server : Significantly enhanced drift management in the acquisition server
- Drivers : Implemented impedance check on the TMSi Refa driver
- Drivers : Emotiv EPOC
- Drivers : Brainamp Series driver using Brain Products low level API
- Box : Box to join multiple signal streams in a single stream
- Box : Box to compute the power of a spectrum frequency band
- Box : Box to rename signal channels
- Box : SVM classifier (based on libsvm)
- Dev : Driver seketon generator for driver developers
### Changed
- Doc : Updated the online documentation and tutorials
- Doc : Updated many documentation pages
- Dependency : Updated windows dependencies to it++ 4.0.7, vrpn 7.26, boost 1.42, cmake 2.8.2, gtk 2.16.6
- Dependency : Moved from libglade to gtk_builder allowing upgrading GTK
- Drivers : Updated the ModularEEG driver
- Drivers : Updated the Brain Products VAmp driver to support FirstAmp8
- Box : Updated the temporal filter box to correct errors - should be very close to MATLAB now
- Box : Updated the Sound Player box to make it work on Windows
- App : Restored the handball VR application for interaction from the motor imagery BCI
### Fixed
- Dev : Bug fixes made. Details in release announcement.
## [0.7.0] - 2010-07-08 ([release announcement](http://openvibe.inria.fr/forum/viewtopic.php?f=1&t=336))
### Added
- Drivers : Neurosky Mindset
- Box : Univariate Statistics box
- Box : Some control over the player execution from the boxes. Details in release announcement.
- Box : Box that is able to control the player execution
- Box : Lot of great features to the Simple DSP box - see documentation and sample scenarios
- Designer : Possibility to comment scenarios in the designer
- Designer : More configuration possibilities with the configuration file tokens
- Designer : Many small "user oriented" features in the designer such as left/right scroll with mouse wheel and better overview of renamed boxes
### Changed
- Doc : Updated the online documentation and tutorials
- Doc : Updated many documentation pages
- Server : The acquisition server is now smarter on CPU use
- Designer : Alphabetically sorted the stimulations for quicker configuration of the boxes
- Designer : Restored automatic filename extension/filtering when loading/saving a scenario
- Scenarios : Reviewed and commented all the box-tutorials and xDAWN p300 speller / motor imagery scenarios
### Removed
- Designer : Removed some dead code. No list was compiled.
### Fixed
- Dev : Bug fixes made. Details in release announcement.
- Box : Corrected a bug on the k-fold test in the classifier trainer
## [0.6.1] - 2010-05-20 ([release announcement](http://openvibe.inria.fr/forum/viewtopic.php?f=1&t=322))
### Fixed
- Windows installer : Restores the TMSi driver (some files were missing)
- Windows installer : Restores the Micromed driver (some files were missing)
- Windows installer : Translates the Tie-Fighter demo in english
- Windows installer : Adds a scenario in share/openvibe-scenario/bci/tie-fighter : tie-fighter-freetime.xml, to use in combination with the vr-demo application.
## [0.6.0] - 2010-04-14 ([release announcement](http://openvibe.inria.fr/forum/viewtopic.php?f=1&t=306))
### Added
- Drivers : g.Tec's gMobiLab+ acquisition device for Linux
- Drivers : Micromed SD LTM (through SystemPlus Evolution)
- Box : Confusion Matrix computation box
- Box : Matrix Display box
- Box : Lua stimulation box
- Server : Impedance check to the drivers that could support it
- Scenarios : New sample scenarios
### Changed
- Dependency : Moved to Ogre 1.7 for 3D display
- Dependency : Moved to Boost 1.41
- Doc : Updated the online documentation and tutorials
- Doc : Updated many documentation pages
- Server : Refactored the acquisition server so the server itself runs in a separate thread for better performances
- Server : Corrected bugs on the acquisition server that caused desynchronisations
- App : Reenabled VR demos as default
- App : Enhanced the visuals of the VR demos and added a few stats to make the experience more entertaining
### Removed
- Dependency : We removed OpenMASK / OBT dependency
### Fixed
- Dev : Bug fixes made. Details in release announcement.
## [0.5.0] - 2009-12-18 ([release announcement](http://openvibe.inria.fr/forum/viewtopic.php?f=1&t=235))
### Added
- Drivers : brain products vAmp acquisition device
- Drivers : g.Tec's gUSBamp acquisition device
- App : Online comparison of different processing pipelines performance (e.g. multiple classifiers)
- Scenarios : P300-based pipeline based on the xDAWN algorithm
- Scenarios : New sample scenarios
### Changed
- Dependency : Updated the dependencies installation for windows so that Visual C++ Runtime gets included in the package
- Dependency : Updated the dependencies installation for windows so that the lack of internet connection does not abort the installation when DirectX is not present
- Doc : Updated the online documentation and tutorials
### Fixed
- Dev : Bug fixes made. Details in release announcement.
## [0.4.0] - 2009-10-23 ([release announcement](http://openvibe.inria.fr/forum/viewtopic.php?f=1&t=148))
### Added
- Drivers : OpenEEG Modular EEG / Monolith EEG
- Drivers : g.Tec's gUSBamp acquisition device
- Box : frequency band selector
- Box : signal decimation
- Box : CSV file writer (text based)
- Box : K-fold test in the classifier trainer box
- Box : P300-based entertaining application called "Magic Card"
- Dev : Several tooltips for new users
- Server : Functionnality to load/save channel names in the acquisition server
- Scenarios : New sample scenarios
### Changed
- Dependency : Updated the dependencies installation script for linux so that it uses native packages instead of compiling everything from scratch
- Dependency : Updated the dependencies installation for windows so that DirectX and Visual C++ Runtime gets installed automatically if needed
- Doc : Updated the online documentation and tutorials
- Box : Enabled the voting classifier box to vote either on streamed matrix or on stimulations
- Box : Changed the way chanels can be selected in the signal display, power spectrum display and time frequency map display
- Box : Reimplemented the common average reference box
- Scenarios : Stabilized P300-based pipeline
- Dev : Made the development of new classifiers easier thanks to base algorithms
### Removed
- App : The VR demo are no more built by default as OpenMASK is not compiling on recent Linux distributions
### Fixed
- Dev : Bug fixes made. Details in release announcement.
+27
View File
@@ -0,0 +1,27 @@
# Jenkins plugins
Most of them are in the base install.
* Git
* Git Parameter Plug-In
* Pipelines
* Node and Label parameter
* Xvfb
* XUnit
* embeddable-build-status (Optional - for build status icon)
* Groovy Postbuild (Optional - to show build status in history)
* Windows Slaves Plugins
# Jenkins jobs
* OpenViBE-Generic Base job : Uses JenkinsFile in meta repo + config is in jenkins-config.xml file.
* OpenViBE-Nightly-* Identical to Generic, but with a nightly job + diverse default systems.
# Backup/Restore Jenkins job config
See https://www.sghill.net/how-do-i-backup-jenkins-jobs.html or use Jenkins-cli (did not manage to use it on inria platform)
# Windows machines
Microsoft website doesn't list the old versions of VS
You can get vs 2013 at this link : http://download.microsoft.com/download/7/2/E/72E0F986-D247-4289-B9DC-C4FB07374894/wdexpress_full.exe
Python 3.4+ should be installed + numpy
# Linux machines
Package xvfb is required
+661
View File
@@ -0,0 +1,661 @@
GNU AFFERO GENERAL PUBLIC LICENSE
Version 3, 19 November 2007
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The GNU Affero General Public License is a free, copyleft license for
software and other kinds of works, specifically designed to ensure
cooperation with the community in the case of network server software.
The licenses for most software and other practical works are designed
to take away your freedom to share and change the works. By contrast,
our General Public Licenses are intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.
Developers that use our General Public Licenses protect your rights
with two steps: (1) assert copyright on the software, and (2) offer
you this License which gives you legal permission to copy, distribute
and/or modify the software.
A secondary benefit of defending all users' freedom is that
improvements made in alternate versions of the program, if they
receive widespread use, become available for other developers to
incorporate. Many developers of free software are heartened and
encouraged by the resulting cooperation. However, in the case of
software used on network servers, this result may fail to come about.
The GNU General Public License permits making a modified version and
letting the public access it on a server without ever releasing its
source code to the public.
The GNU Affero General Public License is designed specifically to
ensure that, in such cases, the modified source code becomes available
to the community. It requires the operator of a network server to
provide the source code of the modified version running there to the
users of that server. Therefore, public use of a modified version, on
a publicly accessible server, gives the public access to the source
code of the modified version.
An older license, called the Affero General Public License and
published by Affero, was designed to accomplish similar goals. This is
a different license, not a version of the Affero GPL, but Affero has
released a new version of the Affero GPL which permits relicensing under
this license.
The precise terms and conditions for copying, distribution and
modification follow.
TERMS AND CONDITIONS
0. Definitions.
"This License" refers to version 3 of the GNU Affero General Public License.
"Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.
"The Program" refers to any copyrightable work licensed under this
License. Each licensee is addressed as "you". "Licensees" and
"recipients" may be individuals or organizations.
To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy. The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.
A "covered work" means either the unmodified Program or a work based
on the Program.
To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.
To "convey" a work means any kind of propagation that enables other
parties to make or receive copies. Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.
An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License. If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.
1. Source Code.
The "source code" for a work means the preferred form of the work
for making modifications to it. "Object code" means any non-source
form of a work.
A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.
The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form. A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.
The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities. However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work. For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.
The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.
The Corresponding Source for a work in source code form is that
same work.
2. Basic Permissions.
All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met. This License explicitly affirms your unlimited
permission to run the unmodified Program. The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work. This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.
You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force. You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright. Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.
Conveying under any other circumstances is permitted solely under
the conditions stated below. Sublicensing is not allowed; section 10
makes it unnecessary.
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.
When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.
4. Conveying Verbatim Copies.
You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.
5. Conveying Modified Source Versions.
You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:
a) The work must carry prominent notices stating that you modified
it, and giving a relevant date.
b) The work must carry prominent notices stating that it is
released under this License and any conditions added under section
7. This requirement modifies the requirement in section 4 to
"keep intact all notices".
c) You must license the entire work, as a whole, under this
License to anyone who comes into possession of a copy. This
License will therefore apply, along with any applicable section 7
additional terms, to the whole of the work, and all its parts,
regardless of how they are packaged. This License gives no
permission to license the work in any other way, but it does not
invalidate such permission if you have separately received it.
d) If the work has interactive user interfaces, each must display
Appropriate Legal Notices; however, if the Program has interactive
interfaces that do not display Appropriate Legal Notices, your
work need not make them do so.
A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit. Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.
6. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:
a) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by the
Corresponding Source fixed on a durable physical medium
customarily used for software interchange.
b) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by a
written offer, valid for at least three years and valid for as
long as you offer spare parts or customer support for that product
model, to give anyone who possesses the object code either (1) a
copy of the Corresponding Source for all the software in the
product that is covered by this License, on a durable physical
medium customarily used for software interchange, for a price no
more than your reasonable cost of physically performing this
conveying of source, or (2) access to copy the
Corresponding Source from a network server at no charge.
c) Convey individual copies of the object code with a copy of the
written offer to provide the Corresponding Source. This
alternative is allowed only occasionally and noncommercially, and
only if you received the object code with such an offer, in accord
with subsection 6b.
d) Convey the object code by offering access from a designated
place (gratis or for a charge), and offer equivalent access to the
Corresponding Source in the same way through the same place at no
further charge. You need not require recipients to copy the
Corresponding Source along with the object code. If the place to
copy the object code is a network server, the Corresponding Source
may be on a different server (operated by you or a third party)
that supports equivalent copying facilities, provided you maintain
clear directions next to the object code saying where to find the
Corresponding Source. Regardless of what server hosts the
Corresponding Source, you remain obligated to ensure that it is
available for as long as needed to satisfy these requirements.
e) Convey the object code using peer-to-peer transmission, provided
you inform other peers where the object code and Corresponding
Source of the work are being offered to the general public at no
charge under subsection 6d.
A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.
A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling. In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage. For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product. A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.
"Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source. The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.
If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information. But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).
The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed. Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.
Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.
7. Additional Terms.
"Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law. If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it. (Additional permissions may be written to require their own
removal in certain cases when you modify the work.) You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.
Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:
a) Disclaiming warranty or limiting liability differently from the
terms of sections 15 and 16 of this License; or
b) Requiring preservation of specified reasonable legal notices or
author attributions in that material or in the Appropriate Legal
Notices displayed by works containing it; or
c) Prohibiting misrepresentation of the origin of that material, or
requiring that modified versions of such material be marked in
reasonable ways as different from the original version; or
d) Limiting the use for publicity purposes of names of licensors or
authors of the material; or
e) Declining to grant rights under trademark law for use of some
trade names, trademarks, or service marks; or
f) Requiring indemnification of licensors and authors of that
material by anyone who conveys the material (or modified versions of
it) with contractual assumptions of liability to the recipient, for
any liability that these contractual assumptions directly impose on
those licensors and authors.
All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10. If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term. If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.
If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.
Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.
8. Termination.
You may not propagate or modify a covered work except as expressly
provided under this License. Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).
However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.
Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.
Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License. If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.
9. Acceptance Not Required for Having Copies.
You are not required to accept this License in order to receive or
run a copy of the Program. Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance. However,
nothing other than this License grants you permission to propagate or
modify any covered work. These actions infringe copyright if you do
not accept this License. Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.
10. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License. You are not responsible
for enforcing compliance by third parties with this License.
An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations. If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.
You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License. For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.
11. Patents.
A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based. The
work thus licensed is called the contributor's "contributor version".
A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version. For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.
Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.
In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement). To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.
If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients. "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.
A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License. You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.
Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.
12. No Surrender of Others' Freedom.
If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all. For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.
13. Remote Network Interaction; Use with the GNU General Public License.
Notwithstanding any other provision of this License, if you modify the
Program, your modified version must prominently offer all users
interacting with it remotely through a computer network (if your version
supports such interaction) an opportunity to receive the Corresponding
Source of your version by providing access to the Corresponding Source
from a network server at no charge, through some standard or customary
means of facilitating copying of software. This Corresponding Source
shall include the Corresponding Source for any work covered by version 3
of the GNU General Public License that is incorporated pursuant to the
following paragraph.
Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU General Public License into a single
combined work, and to convey the resulting work. The terms of this
License will continue to apply to the part which is the covered work,
but the work with which it is combined will remain governed by version
3 of the GNU General Public License.
14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions of
the GNU Affero General Public License from time to time. Such new versions
will be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the
Program specifies that a certain numbered version of the GNU Affero General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation. If the Program does not specify a version number of the
GNU Affero General Public License, you may choose any version ever published
by the Free Software Foundation.
If the Program specifies that a proxy can decide which future
versions of the GNU Affero General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.
Later license versions may give you additional or different
permissions. However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.
15. Disclaimer of Warranty.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. Limitation of Liability.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
17. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
Also add information on how to contact you by electronic and paper mail.
If your software can interact with users remotely through a computer
network, you should also make sure that it provides a way for users to
get its source. For example, if your program is a web application, its
interface could display a "Source" link that leads users to an archive
of the code. There are many ways you could offer source, and different
solutions will be better for different programs; see section 13 for the
specific requirements.
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU AGPL, see
<http://www.gnu.org/licenses/>.
+189
View File
@@ -0,0 +1,189 @@
node("${NodeName}") {
def PlatformTarget = params.containsKey("PlatformTarget") ? params.PlatformTarget : "x64"
def MetaBranch = params.containsKey("MetaBranch") ? params.MetaBranch : "master"
// Add some informations about the build
manager.addShortText("${params.BuildType}", "red", "white", "0px", "white")
manager.addShortText("${NodeName}", "blue", "white", "0px", "white")
manager.addShortText("${PlatformTarget}", "green", "white", "0px", "white")
OpenViBEVersion = "x.x.x"
def BuildOptions = [
"Release" : "--release",
"Debug" : "--debug"
]
def BuildOption = BuildOptions[BuildType]
url_sdk = "https://gitlab.inria.fr/openvibe/sdk.git"
url_designer = "https://gitlab.inria.fr/openvibe/designer.git"
if(isUnix()) {
build_dir = "${WORKSPACE}/build"
dist_dir = "${WORKSPACE}/dist"
dependencies_dir = "/builds/dependencies"
dependencies_base = "/builds/dependencies"
} else {
build_dir = "${WORKSPACE}\\build"
dist_dir = "${WORKSPACE}\\dist"
if( "${PlatformTarget}" == "x64") {
dependencies_dir = "c:\\builds\\dependencies_x64"
} else {
dependencies_dir = "c:\\builds\\dependencies"
}
dependencies_base = "c:\\builds\\dependencies"
}
user_data_subdir = "openvibe-${OpenViBEVersion}"
git url: 'https://gitlab.inria.fr/openvibe/meta.git', branch: "${MetaBranch}"
shortCommitMeta = get_short_commit()
manager.addShortText("Meta : ${MetaBranch} (${shortCommitMeta})", "black", "white", "0px", "white")
dir("build") {
deleteDir()
}
dir("dist") {
deleteDir()
}
// In order to update the dependencies, we need to pull all repositories first
stage('Checkout') {
dir("sdk") {
git url: "${url_sdk}", branch: "${params.SDKBranch}"
shortCommitSDK = get_short_commit()
manager.addShortText("SDK : ${params.SDKBranch} (${shortCommitSDK})", "black", "white", "0px", "white")
}
dir("designer") {
git url: "${url_designer}", branch: "${params.DesignerBranch}"
shortCommitDesigner = get_short_commit()
manager.addShortText("Designer : ${params.DesignerBranch} (${shortCommitDesigner})", "black", "white", "0px", "white")
}
dir("extras") {
git url: 'https://gitlab.inria.fr/openvibe/extras.git', branch: "${params.ExtrasBranch}"
shortCommitExtras = get_short_commit()
manager.addShortText("Extras : ${params.ExtrasBranch} (${shortCommitExtras})", "black", "white", "0px", "white")
if(isUnix()) {
sh "git submodule update --init --recursive"
} else {
bat "git submodule update --init --recursive"
}
}
}
stage('Update dependencies') {
if(isUnix()) {
manager.addShortText("Not updating dependencies on Linux", "black", "white", "0px", "white")
} else {
bat "install_dependencies.cmd --dependencies-dir ${dependencies_base} --platform-target ${PlatformTarget}"
}
}
stage('Build SDK') {
dir("sdk") {
dir ("scripts") {
if(isUnix()) {
sh "./unix-build --build-type ${params.BuildType} --build-dir ${build_dir}/sdk-${params.BuildType} --install-dir ${dist_dir}/sdk-${params.BuildType} --dependencies-dir ${dependencies_dir} --userdata-subdir ${user_data_subdir} --build-unit --build-validation --test-data-dir ${dependencies_dir}/test-input"
} else {
bat "windows-build.cmd --no-pause ${BuildOption} --build-dir ${build_dir}\\sdk-${params.BuildType} --install-dir ${dist_dir}\\sdk-${params.BuildType}-${PlatformTarget} --dependencies-dir ${dependencies_dir} --userdata-subdir ${user_data_subdir} --platform-target ${PlatformTarget} --build-unit --build-validation --test-data-dir ${dependencies_dir}\\test-input"
}
}
}
}
stage('Tests SDK') {
dir ("build/sdk-${params.BuildType}") {
dir("unit-test/Testing") {
deleteDir()
}
dir("validation-test/Testing") {
deleteDir()
}
if(isUnix()) {
sh './ctest-launcher.sh -T Test ; exit 0'
} else {
withEnv(["PATH+OV=${dist_dir}\\sdk-${params.BuildType}-${PlatformTarget}\\bin"]) {
bat 'ctest-launcher.cmd -T Test -E uoTimeTest ; exit 0'
}
}
step([$class: 'XUnitBuilder',
thresholds: [[$class: 'FailedThreshold', unstableThreshold: '0']],
tools: [[$class: 'CTestType', pattern: "unit-test/Testing/*/Test.xml"],
[$class: 'CTestType', pattern: "validation-test/Testing/*/Test.xml"],]
])
}
}
stage('Build Designer') {
dir("designer") {
dir ("scripts") {
if(isUnix()) {
sh "./unix-build --build-type=${params.BuildType} --build-dir=${build_dir}/designer-${params.BuildType} --install-dir=${dist_dir}/designer-${params.BuildType} --sdk=${dist_dir}/sdk-${params.BuildType}"
} else {
bat "windows-build.cmd --no-pause ${BuildOption} --build-dir ${build_dir}\\designer-${params.BuildType} --install-dir ${dist_dir}\\designer-${params.BuildType}-${PlatformTarget} --sdk ${dist_dir}\\sdk-${params.BuildType}-${PlatformTarget} --dependencies-dir ${dependencies_dir} --userdata-subdir ${user_data_subdir} --platform-target ${PlatformTarget}"
}
}
}
}
stage('Build Extras') {
dir("extras") {
dir ("scripts") {
if(isUnix()) {
sh "./linux-build ${BuildOption} --build-dir ${build_dir}/extras-${params.BuildType} --install-dir ${dist_dir}/extras-${params.BuildType} --sdk ${dist_dir}/sdk-${params.BuildType} --designer ${dist_dir}/designer-${params.BuildType} --dependencies-dir ${dependencies_dir} --userdata-subdir ${user_data_subdir}"
} else {
bat "windows-build.cmd --no-pause ${BuildOption} --build-dir ${build_dir}\\extras-${params.BuildType} --install-dir ${dist_dir}\\extras-${params.BuildType}-${PlatformTarget} --sdk ${dist_dir}\\sdk-${params.BuildType}-${PlatformTarget} --designer ${dist_dir}\\designer-${params.BuildType}-${PlatformTarget} --dependencies-dir ${dependencies_dir} --userdata-subdir ${user_data_subdir} --platform-target ${PlatformTarget}"
}
}
}
}
stage('Tests Extras') {
dir ("build/extras-${params.BuildType}") {
dir("Testing") {
deleteDir()
}
if(isUnix()) {
wrap([$class: 'Xvfb']) {
sh "ctest -T Test ; exit 0"
}
} else {
withEnv(["PATH+CTEST=${dependencies_dir}\\cmake\\bin",
"PATH+OV=${dist_dir}\\extras-${params.BuildType}-${PlatformTarget}"]) {
bat "ctest -T Test ; exit 0"
}
}
step([$class: 'XUnitBuilder',
thresholds: [[$class: 'FailedThreshold', unstableThreshold: '0']],
tools: [[$class: 'CTestType', pattern: "Testing/*/Test.xml"],]])
}
}
stage('Create Archive') {
if(isUnix()) {
dir("package") {
deleteDir()
sh "tar --owner 0 --group 0 --transform s,^\\.,openvibe-${OpenViBEVersion}-src, --exclude \".git*\" --exclude build --exclude dependencies --exclude dist --exclude scripts/*.exe --exclude package --exclude \"*@tmp\" -cJvf openvibe-${OpenViBEVersion}-src.tar.xz ${WORKSPACE}"
sh "md5sum openvibe-${OpenViBEVersion}-src.tar.xz >openvibe-${OpenViBEVersion}-src.md5"
}
} else {
dir("package") {
deleteDir()
withEnv(["PATH+NSIS=${dependencies_dir}\\nsis_log_zip_access"]) {
bat "makensis /DDEPENDENCIES_DIR=${dependencies_dir} /DOUTFILE=${WORKSPACE}\\package\\openvibe-${OpenViBEVersion}-${PlatformTarget}-setup.exe ${WORKSPACE}\\extras\\scripts\\windows-openvibe-x.x.x-setup-${PlatformTarget}.nsi"
}
withEnv(["PATH+CMAKE=${dependencies_dir}\\cmake\\bin"]) {
bat "@cmake -E md5sum openvibe-${OpenViBEVersion}-${PlatformTarget}-setup.exe >openvibe-${OpenViBEVersion}-${PlatformTarget}-setup.md5"
}
}
}
}
}
def get_short_commit() {
if(isUnix()) {
sh(returnStdout: true, script: "git log -n 1 --pretty=format:'%h'").trim()
} else {
bat(returnStdout: true, script: "@git log -n 1 --pretty=format:\'%%h\'").trim()
}
}
+79
View File
@@ -0,0 +1,79 @@
# |OpenViBE meta repository| |README|
[![Website](https://img.shields.io/badge/Web-Website-informational)](http://openvibe.inria.fr/)
[![Doxygen Documentation](https://img.shields.io/badge/Doc-Doxygen%20Documentation-informational)](http://openvibe.inria.fr/documentation/latest/)
[![License: AGPL v3](https://img.shields.io/badge/License-AGPL%20v3-blue.svg)](https://www.gnu.org/licenses/agpl-3.0)
|Build Status :| |
|:-------------|:-:|
|Ubuntu 18.04 x64|[![Build Status](https://ci.inria.fr/openvibe/buildStatus/icon?job=OV-Nightly-Ubuntu18.04&style=plastic)](https://ci.inria.fr/openvibe/job/OV-Nightly-Ubuntu18.04/)|
|Fedora 31 x64|[![Build Status](https://ci.inria.fr/openvibe/buildStatus/icon?job=OV-Nightly-Fedora31&style=plastic)](https://ci.inria.fr/openvibe/job/OV-Nightly-Fedora31/)|
|Windows 10 x64|[![Build Status](https://ci.inria.fr/openvibe/buildStatus/icon?job=OV-Nightly-Win10-x64&style=plastic)](https://https://ci.inria.fr/openvibe/job/OV-Nightly-Win10-x64/)|
|Windows 10 x86|[![Build Status](https://ci.inria.fr/openvibe/buildStatus/icon?job=OV-Nightly-Win10-x86&style=plastic)](https://ci.inria.fr/openvibe/job/OV-Nightly-Win10-x86/)|
OpenViBE project is now divided into 3 parts :
- SDK, that contains the certifiable core and plugins of OpenViBE
- Designer, the graphical interface for OpenViBE
- Extras, for community plugins and contributions
The current repository, OpenViBE-meta, exist to ease the task of building these repositories together.
To build OpenViBE, follow these instructions :
- Pull this repository
- Pull its submodules
- Install the dependencies using install_dependencies.cmd or .sh script, depending on your platform
- Build the project using build.cmd or build.sh script
- OPTIONNAL : if you need a solution that can be opened in visual studio, add --vsbuild-all flag. Generated solution will be outputted in build folder
## Pulling this repository
This can be done using `git pull git@gitlab.inria.fr:openvibe/meta.git` from command line, or with any GUI for git, like GitKraken.
## Pulling the submodules
Please note that you will require a recent version of git for this step; we advise to use versions above 2.0, but git 1.7 should work.
Use `git submodule update --init --recursive` to fetch all submodules.
## Installing the dependencies
Call install_dependencies.cmd or install_dependencies.sh, depending on your system.
A "dependencies" folder will be created on main directory.
If you wish to use visual studio, it will be more handy to install python and jinja2 library with :
`c:\python3X\Scripts\pip.exe install jinja2`
If you want to use the pygame examples, you will need python and pygame library. Pygame can be installed with
`pip install jinja2`
## Building the project
To build the whole project, execute `build.cmd` (windows) or `build.sh` (linux).
You will require at least version 2013 of Visual Studio, or GCC 4.8
## Bu#ilding the project for Visual Studio
To build the project for visual studio with both debug and release, use `build.cmd --vsbuild-all`.
After building the project, the script will attempt to generate a merged solution of the 3 projects.
This requires python3 and jinja2.
If you use stock python3, you can install jinja2 like so :
`c:\python3X\Scripts\pip.exe install jinja2`
The merged sln will be generated in the build directory.
If you do not wish to install python, you can also use the `launchvc.cmd` or `launchvc_debug.cmd` scripts (Legacy)
## Updating the repository
### WARNING : I HAVE NO IDEA HOW IT BEHAVE IF YOU HAVE PERSONNAL COMMIT/UNCOMMITED FILES
You can update the whole directory (including submodules) with :
```bash
git pull
git submodule sync --recursive
git submodule update -–init --recursive
```
Aliases can be created to ease the global update process :
`git config --global alias.spull '!git pull && git submodule sync --recursive && git submodule update --init --recursive'`
### END WARNING
+159
View File
@@ -0,0 +1,159 @@
@echo off
setlocal EnableDelayedExpansion
setlocal enableextensions
set BuildType=Release
set BuildOption=--release
set base_dir=%~dp0
set build_dir_base=%base_dir%\build
set install_dir_base=%base_dir%\dist
set dependencies_dir=%base_dir%\dependencies
set UserDataSubdir=openvibe-3.1.0
set PlatformTarget=x64
:parameter_parse
if /i "%1"=="-h" (
echo Usage: build.cmd [Build Type] [Init-env Script]
echo -- Build Type option can be : --release (-r^), --debug (-d^). Default is Release.
pause
exit 0
) else if /i "%1"=="--help" (
echo Usage: build.cmd [Build Type] [Init-env Script]
echo -- Build Type option can be : --release (-r^), --debug (-d^). Default is Release.
pause
exit 0
) else if /i "%1"=="-d" (
set BuildType=Debug
set BuildOption=--debug
SHIFT
Goto parameter_parse
) else if /i "%1"=="--debug" (
set BuildType=Debug
set BuildOption=--debug
SHIFT
Goto parameter_parse
) else if /i "%1"=="-r" (
set BuildType=Release
set BuildOption=--release
SHIFT
Goto parameter_parse
) else if /i "%1"=="--release" (
set BuildType=Release
set BuildOption=--release
SHIFT
Goto parameter_parse
) else if /i "%1"=="--build-dir" (
set build_dir_base=%2
SHIFT
SHIFT
Goto parameter_parse
) else if /i "%1"=="--install-dir" (
set install_dir_base=%2
SHIFT
SHIFT
Goto parameter_parse
) else if /i "%1"=="--dependencies-dir" (
set dependencies_dir=%2
SHIFT
SHIFT
Goto parameter_parse
) else if /i "%1"=="--vsproject" (
set vsbuild=--vsproject
SHIFT
Goto parameter_parse
) else if /i "%1"=="--vsbuild" (
set vsbuild=--vsbuild
SHIFT
Goto parameter_parse
) else if /i "%1"=="--vsbuild-all" (
set multibuild_all=TRUE
SHIFT
Goto parameter_parse
) else if /i "%1" == "--userdata-subdir" (
set UserDataSubdir=%2
SHIFT
SHIFT
Goto parameter_parse
) else if /i "%1" == "--platform-target" (
set PlatformTarget=%2
SHIFT
SHIFT
Goto parameter_parse
) else if /i "%1" neq "" (
echo Unknown parameter "%1"
exit /b 1
)
if /i "%PlatformTarget%" neq "x86" (
SET dependencies_dir=%dependencies_dir%_%PlatformTarget%
)
if not defined multibuild_all (
REM the default build
echo Building sdk
cd %base_dir%\sdk\scripts
call windows-build.cmd --no-pause %vsbuild% %BuildOption% --build-dir %build_dir_base%\sdk-%BuildType%-%PlatformTarget% --install-dir %install_dir_base%\sdk-%BuildType%-%PlatformTarget% --dependencies-dir %dependencies_dir% --userdata-subdir %UserDataSubdir% --build-unit --build-validation --test-data-dir %dependencies_dir%\test-input --platform-target %PlatformTarget%
call :check_errors !errorlevel! "!BuildType! SDK" || exit /b !_errlevel!
echo Building designer
cd %base_dir%\designer\scripts
call windows-build.cmd --no-pause %vsbuild% %BuildOption% --build-dir %build_dir_base%\designer-%BuildType%-%PlatformTarget% --install-dir %install_dir_base%\designer-%BuildType%-%PlatformTarget% --sdk %install_dir_base%\sdk-%BuildType%-%PlatformTarget% --dependencies-dir %dependencies_dir% --userdata-subdir %UserDataSubdir% --platform-target %PlatformTarget%
call :check_errors !errorlevel! "!BuildType! Designer" || exit /b !_errlevel!
echo Building extras
cd %base_dir%\extras\scripts
call windows-build.cmd --no-pause %vsbuild% %BuildOption% --build-dir %build_dir_base%\extras-%BuildType%-%PlatformTarget% --install-dir %install_dir_base%\extras-%BuildType%-%PlatformTarget% --sdk %install_dir_base%\sdk-%BuildType%-%PlatformTarget% --designer %install_dir_base%\designer-%BuildType%-%PlatformTarget% --dependencies-dir %dependencies_dir% --userdata-subdir %UserDataSubdir% --platform-target %PlatformTarget%
call :check_errors !errorlevel! "!BuildType! Extras" || exit /b !_errlevel!
) else (
REM a build that creates a visual studio solution
echo Building sdk
cd %base_dir%\sdk\scripts
call windows-build.cmd --no-pause --vsbuild --debug --build-dir %build_dir_base%\sdk-%PlatformTarget% --install-dir %install_dir_base%\sdk-%PlatformTarget% --dependencies-dir %dependencies_dir% --userdata-subdir %UserDataSubdir% --build-unit --build-validation --test-data-dir %dependencies_dir%\test-input --platform-target %PlatformTarget%
call :check_errors !errorlevel! "Debug SDK" || exit /b !_errlevel!
call windows-build.cmd --no-pause --vsbuild --release --build-dir %build_dir_base%\sdk-%PlatformTarget% --install-dir %install_dir_base%\sdk-%PlatformTarget% --dependencies-dir %dependencies_dir% --userdata-subdir %UserDataSubdir% --build-unit --build-validation --test-data-dir %dependencies_dir%\test-input --platform-target %PlatformTarget%
call :check_errors !errorlevel! "Release SDK" || exit /b !_errlevel!
echo Building designer
cd %base_dir%\designer\scripts
call windows-build.cmd --no-pause --vsbuild --debug --build-dir %build_dir_base%\designer-%PlatformTarget% --install-dir %install_dir_base%\designer-%PlatformTarget% --sdk %install_dir_base%\sdk-%PlatformTarget% --dependencies-dir %dependencies_dir% --userdata-subdir %UserDataSubdir% --platform-target %PlatformTarget%
call :check_errors !errorlevel! "Debug Designer" || exit /b !_errlevel!
call windows-build.cmd --no-pause --vsbuild --release --build-dir %build_dir_base%\designer-%PlatformTarget% --install-dir %install_dir_base%\designer-%PlatformTarget% --sdk %install_dir_base%\sdk-%PlatformTarget% --dependencies-dir %dependencies_dir% --userdata-subdir %UserDataSubdir% --platform-target %PlatformTarget%
call :check_errors !errorlevel! "Release Designer" || exit /b !_errlevel!
echo Building extras
cd %base_dir%\extras\scripts
call windows-build.cmd --no-pause --vsbuild --debug --build-dir %build_dir_base%\extras-%PlatformTarget% --install-dir %install_dir_base%\extras-%PlatformTarget% --sdk %install_dir_base%\sdk-%PlatformTarget% --designer %install_dir_base%\designer-%PlatformTarget% --dependencies-dir %dependencies_dir% --userdata-subdir %UserDataSubdir% --platform-target %PlatformTarget%
call :check_errors !errorlevel! "Debug Extras" || exit /b !_errlevel!
call windows-build.cmd --no-pause --vsbuild --release --build-dir %build_dir_base%\extras-%PlatformTarget% --install-dir %install_dir_base%\extras-%PlatformTarget% --sdk %install_dir_base%\sdk-%PlatformTarget% --designer %install_dir_base%\designer-%PlatformTarget% --dependencies-dir %dependencies_dir% --userdata-subdir %UserDataSubdir% --platform-target %PlatformTarget%
call :check_errors !errorlevel! "Release Extras" || exit /b !_errlevel!
echo Generating meta project
where /q python
if !errorlevel! neq 0 (
echo Python not in path, trying C:\python34\python ...
set my_python=C:\python34\python
) else (
set my_python=python
)
!my_python! %base_dir%\visual_gen\generateVS.py --platformtarget %PlatformTarget% --builddir %build_dir_base% --outsln %build_dir_base%\OpenViBE-Meta-%PlatformTarget%.sln
if !errorlevel! neq 0 (
echo Error constructing the meta .sln file
exit /b !errorlevel!
)
)
:check_errors
SET _errlevel=%1
SET _stageName=%2
if !_errlevel! neq 0 (
echo Error while building !_stageName!
exit /b !_errlevel!
)
+82
View File
@@ -0,0 +1,82 @@
#!/bin/bash
BuildType=Release
BuildOption=--release
base_dir=$(dirname "$(readlink -f "$0")")
work_dir=`pwd`
build_dir_base="${work_dir}/build"
install_dir_base="${work_dir}/dist"
dependencies_dir="${work_dir}/dependencies"
user_data_subdir="openvibe-3.1.0"
while [[ $# -gt 0 ]]; do
key="$1"
case $key in
-h | --help)
echo "-d | --debug : build as debug"
echo "-r | --release : build as release"
echo "--build-dir <dirname> : directory for build files"
echo "--install-dir <dirname> : binaries deployment directory"
exit
;;
-d | --debug)
BuildType=Debug
BuildOption=--debug
;;
-r | --release)
BuildType=Release
BuildOption=--release
;;
--build-dir)
build_dir_base="$2"
shift
;;
--install-dir)
install_dir_base="$2"
shift
;;
--userdata-subdir)
user_data_subdir="$2"
shift
;;
--dependencies-dir)
dependencies_dir="$2"
shift
;;
*)
echo "ERROR: Unknown parameter $i"
exit 1
;;
esac
shift
done
if [[ ! -z ${dependencies_dir} ]]
then
source ${base_dir}/sdk/scripts/unix-init-env.sh --dependencies-dir ${dependencies_dir}
else
echo "dependencies_dir not set: not initialisaing environment"
fi
echo Building sdk
cd ${base_dir}/sdk/scripts
./unix-build --build-type ${BuildType} --build-dir ${build_dir_base}/sdk-${BuildType} --install-dir ${install_dir_base}/sdk-${BuildType} --dependencies-dir ${dependencies_dir} --userdata-subdir ${user_data_subdir} --build-unit --build-validation --test-data-dir ${dependencies_dir}/test-input
if [[ ! $? -eq 0 ]]; then
echo "Error while building sdk"
exit 1
fi
echo Building designer
cd ${base_dir}/designer/scripts
./unix-build --build-type=${BuildType} --build-dir=${build_dir_base}/designer-${BuildType} --install-dir=${install_dir_base}/designer-${BuildType} --sdk=${install_dir_base}/sdk-${BuildType} --userdata-subdir=${user_data_subdir}
if [[ ! $? -eq 0 ]]; then
echo "Error while building designer"
exit 1
fi
echo Building extras
cd ${base_dir}/extras/scripts
./linux-build ${BuildOption} --build-dir ${build_dir_base}/extras-${BuildType} --install-dir ${install_dir_base}/extras-${BuildType} --sdk ${install_dir_base}/sdk-${BuildType} --designer ${install_dir_base}/designer-${BuildType} --dependencies-dir ${dependencies_dir} --userdata-subdir ${user_data_subdir}
if [[ ! $? -eq 0 ]]; then
echo "Error while building extras"
exit 1
fi
@@ -0,0 +1,94 @@
@echo off
setlocal EnableDelayedExpansion
setlocal enableextensions
REM The dependencies are hosted by Inria
set PROXYPASS=anon:anon
set URL=http://openvibe.inria.fr/dependencies/win32/3.1.0/
set base_dir=%~dp0
set dependencies_prefix=%base_dir%\dependencies
set platform_target=x64
:parameter_parse
if /i "%1"=="-h" (
echo Usage: install_dependencies.cmd [--dependencies-dir directoryprefix]
echo --
pause
exit /B 0
) else if /i "%1"=="--help" (
echo Usage: install_dependencies.cmd [--dependencies-dir directoryprefix]
echo --
pause
exit /B 0
) else if /i "%1"=="--dependencies-dir" (
set dependencies_prefix=%2
SHIFT
SHIFT
Goto parameter_parse
) else if /i "%1"=="--platform-target" (
set platform_target=%2
SHIFT
SHIFT
Goto parameter_parse
) else if /i "%1" neq "" (
echo Unknown parameter "%1"
exit /b 1
)
if /i "%platform_target%"=="x86" (
set dep_dir=%dependencies_prefix%
set designer_manifest_file=.\windows-dependencies.txt
) else (
set dep_dir=%dependencies_prefix%_%platform_target%
set designer_manifest_file=.\windows-dependencies-%platform_target%.txt
)
echo Installing dependencies for build target %platform_target%
echo The target folder is %dep_dir%
if not exist "%dep_dir%\arch\data" ( mkdir "%dep_dir%\arch\data" )
if not exist "%dep_dir%\arch\build\windows" ( mkdir "%dep_dir%\arch\build\windows" )
echo Installing sdk dependencies
cd %base_dir%\sdk\scripts
powershell.exe -NoProfile -ExecutionPolicy Bypass -file "%base_dir%\sdk\scripts\windows-get-dependencies.ps1" -manifest_file .\windows-build-tools.txt -dest_dir %dep_dir%
call :check_errors !errorlevel! "Build tools" || exit /b !_errlevel!
powershell.exe -NoProfile -ExecutionPolicy Bypass -file "%base_dir%\sdk\scripts\windows-get-dependencies.ps1" -manifest_file .\windows-dependencies-%platform_target%.txt -dest_dir %dep_dir%
call :check_errors !errorlevel! "SDK" || exit /b !_errlevel!
powershell.exe -NoProfile -ExecutionPolicy Bypass -file "%base_dir%\sdk\scripts\windows-get-dependencies.ps1" -manifest_file .\tests-data.txt -dest_dir %dep_dir%
call :check_errors !errorlevel! "SDK tests" || exit /b !_errlevel!
echo Installing Designer dependencies
cd %base_dir%\designer\scripts
powershell.exe -NoProfile -ExecutionPolicy Bypass -file "%base_dir%\sdk\scripts\windows-get-dependencies.ps1" -manifest_file %designer_manifest_file% -dest_dir %dep_dir%
call :check_errors !errorlevel! "Designer" || exit /b !_errlevel!
echo Installing OpenViBE extras dependencies
cd %base_dir%\extras\scripts
powershell.exe -NoProfile -ExecutionPolicy Bypass -file "%base_dir%\sdk\scripts\windows-get-dependencies.ps1" -manifest_file .\windows-dependencies-%platform_target%.txt -dest_dir %dep_dir%
call :check_errors !errorlevel! "Extras" || exit /b !_errlevel!
echo Creating OpenViBE extras dependency path setup script
set "dependency_cmd=%dep_dir%\windows-dependencies.cmd"
echo @ECHO OFF >%dependency_cmd%
echo. >>%dependency_cmd%
echo SET "dependencies_base=%dep_dir%" >>%dependency_cmd%
echo. >>%dependency_cmd%
type %base_dir%\extras\scripts\windows-dependencies.cmd-base >>%dependency_cmd%
echo Done.
exit /b 0
:check_errors
SET _errlevel=%1
SET _stageName=%2
if !_errlevel! neq 0 (
echo Error while installing !_stageName! dependencies
exit /b !_errlevel!
)
@@ -0,0 +1,8 @@
#!/bin/bash
perl sdk/scripts/linux-install_dependencies.pl --manifest-dir sdk/scripts/ --dependencies-dir dependencies
perl sdk/scripts/linux-install_dependencies.pl --manifest-dir designer/scripts/ --dependencies-dir dependencies
perl sdk/scripts/linux-install_dependencies.pl --manifest-dir extras/scripts/ --dependencies-dir dependencies
+77
View File
@@ -0,0 +1,77 @@
<flow-definition plugin="workflow-job@2.11.2">
<actions/>
<description/>
<keepDependencies>false</keepDependencies>
<properties>
<hudson.model.ParametersDefinitionProperty>
<parameterDefinitions>
<org.jvnet.jenkins.plugins.nodelabelparameter.NodeParameterDefinition plugin="nodelabelparameter@1.7.2">
<name>NodeName</name>
<description/>
<allowedSlaves>
<string>fedora25-x64</string>
<string>ubuntu16.04-x64</string>
</allowedSlaves>
<defaultSlaves>
<string>ubuntu16.04-x64</string>
</defaultSlaves>
<triggerIfResult>unstable</triggerIfResult>
<allowMultiNodeSelection>true</allowMultiNodeSelection>
<triggerConcurrentBuilds>false</triggerConcurrentBuilds>
<ignoreOfflineNodes>false</ignoreOfflineNodes>
<nodeEligibility class="org.jvnet.jenkins.plugins.nodelabelparameter.node.AllNodeEligibility"/>
</org.jvnet.jenkins.plugins.nodelabelparameter.NodeParameterDefinition>
<hudson.model.ChoiceParameterDefinition>
<name>BuildType</name>
<description/>
<choices class="java.util.Arrays$ArrayList">
<a class="string-array">
<string>Release</string>
<string>Debug</string>
</a>
</choices>
</hudson.model.ChoiceParameterDefinition>
<hudson.model.StringParameterDefinition>
<name>SDKBranch</name>
<description/>
<defaultValue>master</defaultValue>
</hudson.model.StringParameterDefinition>
<hudson.model.StringParameterDefinition>
<name>DesignerBranch</name>
<description/>
<defaultValue>master</defaultValue>
</hudson.model.StringParameterDefinition>
<hudson.model.StringParameterDefinition>
<name>ExtrasBranch</name>
<description/>
<defaultValue>master</defaultValue>
</hudson.model.StringParameterDefinition>
</parameterDefinitions>
</hudson.model.ParametersDefinitionProperty>
<org.jenkinsci.plugins.workflow.job.properties.PipelineTriggersJobProperty>
<triggers/>
</org.jenkinsci.plugins.workflow.job.properties.PipelineTriggersJobProperty>
</properties>
<definition class="org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition" plugin="workflow-cps@2.40">
<scm class="hudson.plugins.git.GitSCM" plugin="git@3.5.1">
<configVersion>2</configVersion>
<userRemoteConfigs>
<hudson.plugins.git.UserRemoteConfig>
<url>https://gitlab.inria.fr/openvibe/meta.git</url>
</hudson.plugins.git.UserRemoteConfig>
</userRemoteConfigs>
<branches>
<hudson.plugins.git.BranchSpec>
<name>master</name>
</hudson.plugins.git.BranchSpec>
</branches>
<doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations>
<submoduleCfg class="list"/>
<extensions/>
</scm>
<scriptPath>Jenkinsfile</scriptPath>
<lightweight>true</lightweight>
</definition>
<triggers/>
<disabled>false</disabled>
</flow-definition>
+143
View File
@@ -0,0 +1,143 @@
@echo off
setlocal EnableDelayedExpansion
setlocal enableextensions
set "script_dir=%~dp0"
set BuildType=Release
set builddir=%script_dir%\build
set USE_EXPRESS=0
for %%A in (%*) DO (
if /i "%%A"=="--debug" (
set BuildType=Debug
)
)
set PATH_DEPENDENCIES=%script_dir%\dependencies
set SDKPath=%builddir%\sdk\OpenVIBE.sln
set DesignerPath=%builddir%\designer-%BuildType%\Designer.sln
set ExtrasPath=%builddir%\extras-%BuildType%\OpenVIBE.sln
SET "OV_PATH_ROOT=%script_dir%\dist\sdk-%BuildType%"
SET "DESIGNER_PATH_ROOT=%script_dir%\dist\designer-%BuildType%"
SET "EXTRAS_PATH_ROOT=%script_dir%\dist\extras-%BuildType%"
set args=%PATH_DEPENDENCIES%
SET "PATH=%EXTRAS_PATH_ROOT%\bin;%DESIGNER_PATH_ROOT%\bin;%OV_PATH_ROOT%\bin;C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin;%PATH%"
call :addToPathIfExists cmake\bin
call :addToPathIfExists ninja
call :addToPathIfExists expat\bin
call :addToPathIfExists itpp\bin
call :addToPathIfExists lua\lib
call :addToPathIfExists gtk\bin
call :addToPathIfExists cegui\bin
call :addToPathIfExists cegui\dependencies\bin
call :addToPathIfExists pthreads\lib
call :addToPathIfExists openal\libs\win32
call :addToPathIfExists freealut\lib
call :addToPathIfExists libogg\win32\bin\release
call :addToPathIfExists libogg\win32\bin\debug
call :addToPathIfExists libvorbis\win32\bin\release
call :addToPathIfExists libvorbis\win32\bin\debug
call :addToPathIfExists liblsl\lib
call :addToPathIfExists ogre\bin\release
call :addToPathIfExists ogre\bin\debug
call :addToPathIfExists vrpn\bin
call :addToPathIfExists openal\libs\Win32
call :addToPathIfExists liblsl\lib
call :addToPathIfExists sdk-brainproducts-actichamp
call :addToPathIfExists sdk-mcs\lib
call :addToPathIfExists xerces-c\lib
call :addToPathIfExists vcredist
call :addToPathIfExists boost\bin
call :addToPathIfExists tvicport\bin
call :addToPathIfExists vcredist
call :addToPathIfExists zip
echo !PATH!
if not defined SKIP_VS2017 (
SET SKIP_VS2017=1
)
if not defined SKIP_VS2015 (
SET SKIP_VS2015=1
)
if not defined SKIP_VS2013 (
SET SKIP_VS2013=0
)
set VSTOOLS=
set VSCMake=
if %SKIP_VS2017% == 1 (
echo Visual Studio 2017 detection skipped as requested
) else (
if exist "%VS150COMNTOOLS%vsvars32.bat" (
echo Found VS150 tools at "%VS150COMNTOOLS%" ...
CALL "%VS150COMNTOOLS%vsvars32.bat"
SET VSCMake=Visual Studio 15
goto launch
)
)
if %SKIP_VS2015% == 1 (
echo Visual Studio 2015 detection skipped as requested
) else (
if exist "%VS140COMNTOOLS%vsvars32.bat" (
echo Found VS140 tools at "%VS140COMNTOOLS%" ...
CALL "%VS140COMNTOOLS%vsvars32.bat"
SET VSCMake=Visual Studio 14
goto launch
)
)
if %SKIP_VS2013% == 1 (
echo Visual Studio 2013 detection skipped as requested
) else (
if exist "%VS120COMNTOOLS%vsvars32.bat" (
echo Found VS120 tools at "%VS120COMNTOOLS%" ...
CALL "%VS120COMNTOOLS%vsvars32.bat"
SET VSCMake=Visual Studio 12
goto launch
)
)
goto launch
:addToPathIfExists
for %%A in (%args%) DO (
if exist "%%A\%~1\" (
set "PATH=%%A\%~1;!PATH!"
)
)
exit /B 0
:launch
if %USE_EXPRESS% == 1 (
echo Use %VSCMake% Express Edition
if "%VSCMake%"=="Visual Studio 12" (
start /b "%VSINSTALLDIR%\Common7\IDE\WDExpress.exe" %SDKPath%
) else (
"%VSINSTALLDIR%\Common7\IDE\VCExpress.exe" %SDKPath%
)
) else (
echo Use %VSCMake%
SET "OV_PATH_BIN=%script_dir%\dist\sdk-%BuildType%\bin"
SET "OV_PATH_LIB=%script_dir%\dist\sdk-%BuildType%\bin"
set "OV_PATH_DATA=%script_dir%\dist\sdk-%BuildType%\share\openvibe"
start /b "" "%VSINSTALLDIR%\Common7\IDE\devenv.exe" %SDKPath%
REM SET "OV_PATH_BIN=%script_dir%\dist\designer-%BuildType%\bin"
REM SET "OV_PATH_LIB=%script_dir%\dist\designer-%BuildType%\bin"
REM set "OV_PATH_DATA=%script_dir%\dist\designer-%BuildType%\share\openvibe"
REM start /b "" "%VSINSTALLDIR%\Common7\IDE\devenv.exe" %DesignerPath%
REM SET "OV_PATH_BIN=%script_dir%\dist\extras-%BuildType%\bin"
REM SET "OV_PATH_LIB=%script_dir%\dist\extras-%BuildType%\bin"
REM set "OV_PATH_DATA=%script_dir%\dist\extras-%BuildType%\share\openvibe"
REM start /b "" "%VSINSTALLDIR%\Common7\IDE\devenv.exe" %ExtrasPath%
REM SET "OV_PATH_BIN=%script_dir%\dist\extras-%BuildType%\bin"
REM SET "OV_PATH_LIB=%script_dir%\dist\extras-%BuildType%\bin"
REM set "OV_PATH_DATA=%script_dir%\dist\extras-%BuildType%\share\openvibe"
REM start /b "" "%VSINSTALLDIR%\Common7\IDE\devenv.exe" OpenViBE-meta.sln
)
+3
View File
@@ -0,0 +1,3 @@
@echo off
call "launchvc.cmd" --debug %*
+23
View File
@@ -0,0 +1,23 @@
#!/bin/bash
#
# Launch in the meta repo root on Cygwin after you've built the win installer manually by nsis
#
# todo could use the git tag?
OV_VERSION="3.0.0-beta"
rm package/*
mkdir package
tar --owner 0 --group 0 --transform s,^\.,openvibe-$OV_VERSION-src, --exclude ".git*" --exclude build --exclude dependencies --exclude dist --exclude scripts/*.exe --exclude package -cJvf package/openvibe-$OV_VERSION-src.tar.xz .
pushd package
cp ../extras/scripts/openvibe-$OV_VERSION-*-setup.exe .
md5sum openvibe-$OV_VERSION-src.tar.xz >openvibe-$OV_VERSION-src.md5
md5sum openvibe-$OV_VERSION-32bit-setup.exe >openvibe-$OV_VERSION-32bit-setup.md5
md5sum openvibe-$OV_VERSION-64bit-setup.exe >openvibe-$OV_VERSION-64bit-setup.md5
popd
@@ -0,0 +1,37 @@
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2013
VisualStudioVersion = 12.0.21005.1
MinimumVisualStudioVersion = 10.0.40219.1
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "SDK", "SDK", "{10313F85-EFD9-42AB-BF90-643A406FDD99}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Designer", "Designer", "{EEB9310A-3238-432D-9EAD-CDFCB35054D4}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Extras", "Extras", "{3F5EF7F3-0F10-4F2E-ACEB-3B1326E3DA48}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Designer-Extras", "designer-extras.vcxproj", "{C003281C-E8FC-49FE-8B50-37A6035730D7}"
EndProject
{%- for project in proj_list %}
{{ project }}
{%- endfor %}
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|{{ platform_target }} = Debug|{{ platform_target }}
MinSizeRel|{{ platform_target }} = MinSizeRel|{{ platform_target }}
Release|{{ platform_target }} = Release|{{ platform_target }}
RelWithDebInfo|{{ platform_target }} = RelWithDebInfo|{{ platform_target }}
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{# #}
{%- for project in proj_conf_platforms %}
{{- project -}}
{% endfor -%}
{# #} EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{%- for key, val in nested_projs.items() %}
{{ "{" }}{{ key }}{{ "}" }} = {{ "{" }}{{ val }}{{ "}" -}}
{%- endfor %}
EndGlobalSection
EndGlobal
@@ -0,0 +1,71 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|{{ platform_target }}">
<Configuration>Debug</Configuration>
<Platform>{{ platform_target }}</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|{{ platform_target }}">
<Configuration>Release</Configuration>
<Platform>{{ platform_target }}</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{C003281C-E8FC-49FE-8B50-37A6035730D7}</ProjectGuid>
<RootNamespace>designerextras</RootNamespace>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|{{ platform_target }}'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v120</PlatformToolset>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|{{ platform_target }}'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v120</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|{{ platform_target }}'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|{{ platform_target }}'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup />
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|{{ platform_target }}'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<SDLCheck>true</SDLCheck>
</ClCompile>
<Link>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|{{ platform_target }}'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<SDLCheck>true</SDLCheck>
</ClCompile>
<Link>
<GenerateDebugInformation>true</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>
+101
View File
@@ -0,0 +1,101 @@
#!/usr/local/bin/python
import re
import sys
from os.path import join as joinpath, split as splitpath, exists as existspath, normpath, dirname, abspath, relpath, realpath
import jinja2
import argparse
def render(tpl_path, context):
path, filename = splitpath(tpl_path)
return jinja2.Environment(loader=jinja2.FileSystemLoader(path or './')).get_template(filename).render(context).replace(u'\ufeff', '')
def renderToFile(outfile, tpl_path, context) :
res = render(tpl_path, context)
with open(outfile, "w") as f:
f.write(res)
def getContent(file, endKeyword) :
res = []
for line in file :
if line == endKeyword :
break
res.append(line)
return res
if __name__ == "__main__":
#Arguments handling
parser = argparse.ArgumentParser(description='Generate merged Visual Studio project for OpenViBE')
parser.add_argument('-o', '--outsln', type=str, default="OpenViBE-Meta.sln", help='Output SLN file')
parser.add_argument('-b', '--builddir', type=str, default="build", help='Build directory where Visual Studio Solutions are located')
parser.add_argument('-p', '--platformtarget', type=str, default="x86", help='x86 or x64')
args = parser.parse_args()
build_dir = abspath(args.builddir)
platform_target = args.platformtarget
dist_dir = joinpath(dirname(build_dir), 'dist')
outfile = args.outsln
script_dir = dirname(realpath(__file__))
slntpl_path = joinpath(script_dir, "OpenViBE-Meta.sln-tpl")
usertpl_path = joinpath(script_dir, "vcxproj.user-tpl")
designerex_path = joinpath(script_dir, "designer-extras.vcxproj-tpl")
if platform_target == "x64" :
platform_vs_target = "x64"
else:
platform_vs_target = "Win32"
context = { 'proj_list' : [], 'proj_conf_platforms' : [], 'nested_projs' : {}, 'platform_target' : platform_vs_target }
projects = [
('SDK', "10313F85-EFD9-42AB-BF90-643A406FDD99", normpath(joinpath(build_dir, "sdk-" + platform_target , "OpenVIBE.sln"))),
("Designer", "EEB9310A-3238-432D-9EAD-CDFCB35054D4", normpath(joinpath(build_dir, "designer-" + platform_target, "Designer.sln"))),
("Extras", "3F5EF7F3-0F10-4F2E-ACEB-3B1326E3DA48", normpath(joinpath(build_dir, "extras-" + platform_target, "OpenVIBE.sln")))]
build_types = ['Debug', 'Release', 'MinSizeRel', 'RelWithDebInfo']
# Generate config file for designer-extras project
ov_env = { type : (joinpath(dist_dir, "extras-" + platform_target, type, "bin", "openvibe-designer.exe"), 'OV_PATH_ROOT=' + joinpath(dist_dir, "extras-" + platform_target, type)) for type in build_types}
renderToFile(joinpath(build_dir, "designer-extras.vcxproj"), designerex_path, { 'platform_target' : platform_vs_target } )
renderToFile(joinpath(build_dir, "designer-extras.vcxproj.user"), usertpl_path, { 'configurations' : ov_env, 'platform_target' : platform_vs_target } )
for folderName, folderId, path_sln in projects :
pathprefix = relpath(dirname(path_sln), normpath(dirname(abspath(outfile))))
# Sets the correct value for OV_PATH_ROOT; It should be possible to set multiple values separated by newline
# Unfortunately due to a bug, this is not always possible, see https://connect.microsoft.com/VisualStudio/feedback/details/727324/msvs10-c-deu-debugger-environment-variables-missing-linefeed
# (This is about german VS 2010, but this is also happening on french VS2013)
ov_env = { type : (None, 'OV_PATH_ROOT=' + joinpath(dist_dir, folderName.lower() + "-" + platform_target, type.upper())) for type in build_types}
if not existspath(path_sln) :
print(path_sln, 'does not exist !')
continue
print('Parsing', path_sln)
with open(path_sln, 'r') as f:
for line in f :
res = re.match('Project\("{([\dABCDEF-]+)}"\)\s+=\s+"([\w\-]+)",\s+"([\w\-\\\.]+)",\s+"{([\dABCDEF\-]+)}"', line)
if res :
slnId, projectName, projectPath, projectId = res.groups()
content = getContent(f, "EndProject\n")
newpath = joinpath(pathprefix, projectPath) if len(content) else projectPath
tab = ['Project("{%s}") = "%s", "%s", "{%s}"\n' % (slnId, projectName, newpath, projectId)] \
+ content \
+ ["EndProject"]
context['proj_list'].append(''.join(tab))
context['nested_projs'][projectId] = folderId
# Generate .user file
projectfile = joinpath(dirname(path_sln), projectPath)
userfile = projectfile + ".user"
renderToFile(userfile, usertpl_path, { 'configurations' : ov_env, 'platform_target' : platform_vs_target } )
elif line == "Global\n" :
for line2 in f :
if line2 == "\tGlobalSection(ProjectConfigurationPlatforms) = postSolution\n" :
context['proj_conf_platforms'] += getContent(f, "\tEndGlobalSection\n")
elif line2 == "\tGlobalSection(NestedProjects) = preSolution\n" :
res = getContent(f, "\tEndGlobalSection\n")
for item in res :
key, val = re.search('{([\dABCDEF-]+)}\s=\s{([\dABCDEF-]+)}', item).groups()
context['nested_projs'][key] = val
try :
renderToFile(outfile, slntpl_path, context)
except :
print('Could not generate %s' % (outfile,))
sys.exit(1)
else :
print('Project [%s] generated' % (outfile,))
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
{% for config_type, (config_command, config_env) in configurations.items() %}
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='{{ config_type }}|{{ platform_target }}'">
{%- if config_command is not none %}
<LocalDebuggerCommand>{{ config_command }}</LocalDebuggerCommand>
{%- endif -%}
{%- if config_env is not none %}
<LocalDebuggerEnvironment>{{ config_env }}</LocalDebuggerEnvironment>
{%- endif -%}
<DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
</PropertyGroup>
{% endfor %}
</Project>