BUG: avoid use of invalid iterator

See: http://na-mic.org/Mantis/view.php?id=2262

Revert change introduced here:

http://viewvc.slicer.org/viewvc.cgi/Slicer4/trunk/Libs/MRML/DisplayableManager/vtkMRMLModelSliceDisplayableManager.cxx?r1=20500&r2=20501

git-svn-id: http://svn.slicer.org/Slicer4/trunk@20508 3bd1e089-480b-0410-8dfb-8563597acbee
STYLE: expand the volume loading error message to give better feedback to the user for when the volumes logic is trying a few different node types when loading a file

git-svn-id: http://svn.slicer.org/Slicer4/trunk@20509 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: Added a script to setup the slicer environment

git-svn-id: http://svn.slicer.org/Slicer4/trunk@20510 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: Fixed bug in labelmap seeding introduced in previous modification

git-svn-id: http://svn.slicer.org/Slicer4/trunk@20511 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: Improve readability using "while" construct when removing item from std::map

See http://stackoverflow.com/a/180616

See #2262 / http://na-mic.org/Mantis/view.php?id=2262

git-svn-id: http://svn.slicer.org/Slicer4/trunk@20512 3bd1e089-480b-0410-8dfb-8563597acbee
STYLE: Add qMRMLNodeComboBox class documentation

git-svn-id: http://svn.slicer.org/Slicer4/trunk@20513 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: Internationalized Slicer

Added Internationalization setting panel to enable/disable this behavior.
Added language combo box into general setting panel if enabled.
Added function to load language when we start the application.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@20514 3bd1e089-480b-0410-8dfb-8563597acbee
STYLE: Fix indentation in qSlicerTractographyFiducialSeedingModuleWidget

See #2162 / http://na-mic.org/Mantis/view.php?id=2162

git-svn-id: http://svn.slicer.org/Slicer4/trunk@20515 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: Fix memory leaks associated with tractographyFiducialSeeding using vtkNew

See http://na-mic.org/Mantis/view.php?id=2162

Fixes #2162

git-svn-id: http://svn.slicer.org/Slicer4/trunk@20516 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: Save Data dialog - Complete file name with extension if missing

When changing the filename of a scene/node in the Save Data Dialog,
the user is supposed to press Enter or Return. If the lineeditor doesn't
disappear it's because the name is invalid (due to the QRegExpValidator)
however, the user can always click on a different entry or press tab.
In that case, the entry is validated, even if the file name doesn't
contain an extension.
Before the filename is transfered from the line edit to the underlying
model, the extension is added if not there yet.

Closes #1817, #2277

git-svn-id: http://svn.slicer.org/Slicer4/trunk@20517 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: Improve readability using "while" without iterator when removing item from std::map

Based on feedback of Julien Finet :)

See #2262 / http://na-mic.org/Mantis/view.php?id=2262

git-svn-id: http://svn.slicer.org/Slicer4/trunk@20518 3bd1e089-480b-0410-8dfb-8563597acbee
ENH 1778. Added Simple Display widget to Tractography Display module. Fixed other classes to make it possible to inherit model and tree view.


git-svn-id: http://svn.slicer.org/Slicer4/trunk@20519 3bd1e089-480b-0410-8dfb-8563597acbee
COMP: NUMPY Requires a the use of fortran

Propogating compiler flags and compiler options for the
fortran compilers needed for NUMPY.

http://projects.scipy.org/numpy/ticket/182

NINJA compiler is excluded as it explicitly does not support fortran.

See http://na-mic.org/Mantis/view.php?id=2276

Fixes #2276

git-svn-id: http://svn.slicer.org/Slicer4/trunk@20520 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: GPU memory setting failed from being restored

This is because ctkSettingsPanel couldn't support 2 properties registered
from the same sender

Issue #2270

git-svn-id: http://svn.slicer.org/Slicer4/trunk@20521 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: Update qMRML*TranslatorPlayerTests to account for updated spinbox translator/player

See http://paraview.org/gitweb?p=QtTesting.git;a=commit;h=24d549c48f6ec5c7a86a44e862a8c62ab0311d03

git-svn-id: http://svn.slicer.org/Slicer4/trunk@20522 3bd1e089-480b-0410-8dfb-8563597acbee
STYLE: Remove unused CMake code, fix indent, use message(STATUS ...

git-svn-id: http://svn.slicer.org/Slicer4/trunk@20523 3bd1e089-480b-0410-8dfb-8563597acbee
COMP: Building Numpy with Fortran is optional

If no Fortran compiler is found, it will result in a less optimized
Numpy build.
See http://www.cmake.org/cmake/help/v2.8.8/cmake.html#command:enable_language

See #2276 / http://na-mic.org/Mantis/view.php?id=2276

git-svn-id: http://svn.slicer.org/Slicer4/trunk@20524 3bd1e089-480b-0410-8dfb-8563597acbee
STYLE: At configuration - Numpy Fortran compiler details are nicely displayed

Macro SlicerMacroCheckExternalProjectDependency has also been updated
to set the variables:
  __${proj}_indent
  __${proj}_superbuild_message

These variables can be used to print additional information associated with
an external project.

See #2276 / http://na-mic.org/Mantis/view.php?id=2276

git-svn-id: http://svn.slicer.org/Slicer4/trunk@20525 3bd1e089-480b-0410-8dfb-8563597acbee
COMP: Avoid GET_FILENAME_COMPONENT error in CMakeFortranInformation.cmake

See http://www.cmake.org/Bug/view.php?id=9220#c18600

See #2276 / http://na-mic.org/Mantis/view.php?id=2276

git-svn-id: http://svn.slicer.org/Slicer4/trunk@20526 3bd1e089-480b-0410-8dfb-8563597acbee
COMP: Simplify extension build system removing EXTENSION_HAS_ONLY_ONE_MODULE mode

Extension metadata are expected to be set using "EXTENSION_*" variables.

In case only the variable MODULE_NAME is defined, the metadata will also be
expected to be defined using EXTENSION_* variables.

This change is not backward compatible.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@20527 3bd1e089-480b-0410-8dfb-8563597acbee