Slicer merge requestshttps://gitlab.kitware.com/sjh26/Slicer/-/merge_requests2018-10-08T16:52:11-04:00https://gitlab.kitware.com/sjh26/Slicer/-/merge_requests/851WIP: Add support for conditionally building with ITKFactoryRegistration2018-10-08T16:52:11-04:00Sam HorvathWIP: Add support for conditionally building with ITKFactoryRegistration*Created by: jcfr*
This commit is **NOT** ready for integration or review. It depends on #852
This commit introduces option Slicer_USE_ITKFactoryRegistration allowing
to conditionally build with ITKFactoryRegistration. Since latest...*Created by: jcfr*
This commit is **NOT** ready for integration or review. It depends on #852
This commit introduces option Slicer_USE_ITKFactoryRegistration allowing
to conditionally build with ITKFactoryRegistration. Since latest version
of ITK is expected to address IOFactory issues originally fixed by
introducing ITKFactoryRegistration library, this new option will allow
to easily build Slicer and test that it effectively works without it.
List of SlicerExecutionModel changes:
```
$ git shortlog 1d3e9a2..edfcb22 --no-merges
Andrey Fedorov (1):
ENH: add pointer to the wiki documentation
Jean-Christophe Fillion-Robin (1):
COMP: Add SEMConfigure.h and update config with SlicerExecutionModel_USE_ITKFactoryRegistration
```https://gitlab.kitware.com/sjh26/Slicer/-/merge_requests/690STYLE: Update CONTRIBUTING.md to test slicer/apidocs webhook2018-10-08T16:52:10-04:00Sam HorvathSTYLE: Update CONTRIBUTING.md to test slicer/apidocs webhook*Created by: jcfr*
This PR is indented to test that the slicer API docs builder is effectively triggered.*Created by: jcfr*
This PR is indented to test that the slicer API docs builder is effectively triggered.https://gitlab.kitware.com/sjh26/Slicer/-/merge_requests/686ENH: User and developer guide as RestructuredText **WIP**2019-01-29T14:54:20-05:00Sam HorvathENH: User and developer guide as RestructuredText **WIP***Created by: jcfr*
This is a first draft of the user and developer documentation rendered on http://slicer.readthedocs.io
Documentations is organized in two directories
* `Docs/user_guide`
* `Docs/developer_guide`
For now, read...*Created by: jcfr*
This is a first draft of the user and developer documentation rendered on http://slicer.readthedocs.io
Documentations is organized in two directories
* `Docs/user_guide`
* `Docs/developer_guide`
For now, readthedocs will automatically regenerate the documentation each time the branch [Slicer/Slicer@rst-user-and-dev-guide](https://github.com/Slicer/Slicer/tree/rst-user-and-dev-guide) is updated.
Configuration files is [Docs/conf.py](https://github.com/Slicer/Slicer/blob/rst-user-and-dev-guide/Docs/conf.py).
After running:
```
cd Slicer
pip install -r requirements-dcos.txt
```
on either Windows or Unix, it can locally be generated running:
```
cd Docs
make html
```
Notes
* Consider both installing the requirement and running ``make html`` from a virtual environment.
* I think sections like News, Image Gallery, Tutorials, Slicer Community, Labs, Developer Hangout, FAQs should probably remain on the wiki.https://gitlab.kitware.com/sjh26/Slicer/-/merge_requests/1086ENH: Support for scripted module internationalization **WIP** DO NOT MERGE2019-03-14T14:40:36-04:00Sam HorvathENH: Support for scripted module internationalization **WIP** DO NOT MERGE*Created by: jcfr*
Co-authored-by: Carlos Luque <carlos.luque@ulpgc.es>*Created by: jcfr*
Co-authored-by: Carlos Luque <carlos.luque@ulpgc.es>https://gitlab.kitware.com/sjh26/Slicer/-/merge_requests/1018BUG: Report error if --python-script associated with non-existent file2019-03-14T14:39:49-04:00Sam HorvathBUG: Report error if --python-script associated with non-existent file*Created by: jcfr*
This commit ensures an exception is raised when the python script does not
exist. When associated with the --exit-after-startup option, a non-zero status
code is now returned when Slicer exit.*Created by: jcfr*
This commit ensures an exception is raised when the python script does not
exist. When associated with the --exit-after-startup option, a non-zero status
code is now returned when Slicer exit.https://gitlab.kitware.com/sjh26/Slicer/-/merge_requests/898Plenty chinese i18n ts files and code modification2019-03-14T14:38:35-04:00Sam HorvathPlenty chinese i18n ts files and code modification*Created by: u8621011*
Below is what this PR includes
1. traditional/simplified Chinese translation files
2. i18n related cmake script for loadable module
3. i18n related code fixes.*Created by: u8621011*
Below is what this PR includes
1. traditional/simplified Chinese translation files
2. i18n related cmake script for loadable module
3. i18n related code fixes.https://gitlab.kitware.com/sjh26/Slicer/-/merge_requests/849WIP: Update build system introducing Slicer_BUILD_SEGMENTATION_SUPPORT option2019-03-14T14:37:51-04:00Sam HorvathWIP: Update build system introducing Slicer_BUILD_SEGMENTATION_SUPPORT option*Created by: jcfr*
This allows to build Slicer without segmentation support. This is
particularly useful when building custom application based on Slicer.*Created by: jcfr*
This allows to build Slicer without segmentation support. This is
particularly useful when building custom application based on Slicer.https://gitlab.kitware.com/sjh26/Slicer/-/merge_requests/507Rename teem to vtk teem2019-03-14T14:35:10-04:00Sam HorvathRename teem to vtk teem*Created by: jcfr*
*Created by: jcfr*
https://gitlab.kitware.com/sjh26/Slicer/-/merge_requests/509[PREVIEW-WIP] PERF: Improve startup time by 8% with lazy loading of wrapped l...2019-03-14T14:35:08-04:00Sam Horvath[PREVIEW-WIP] PERF: Improve startup time by 8% with lazy loading of wrapped libraries*Created by: jcfr*
**\* WORK IN PROGRESS: For now, you have to make sure SlicerApp-real and
Slicer launcher are built to ensure the successful generation of the json
files ***
Startup time reduced from 3.8s to 3.5s with a "cold cache"
...*Created by: jcfr*
**\* WORK IN PROGRESS: For now, you have to make sure SlicerApp-real and
Slicer launcher are built to ensure the successful generation of the json
files ***
Startup time reduced from 3.8s to 3.5s with a "cold cache"
and from 2.7s to 2.38s with a "warm cache".
For each logic/mrml/dm/widgets python modules, a json files listing
the associated attributes is generated. Then, when the application is
initialized, the "slicer" module is created as a "lazy" module with
the attributes associated with logic/mrml/dm/widgets set as "not loaded".
Finally, as soon as an attribute not yet loaded is accessed, the specialized
`__getattribute__` loads the associated python module and update the module
dictionary.
The "lazy" module has been adapted from "itkLazy.py"
Results have been gathered on Ubuntu 15.10 on a workstation with the
following specs: 64GB / M.2 PCIe NVMe SSD / Quad Core 3.80GHz