COMP: Avoid interpretation error within error message displayed in PreventInSourceBuilds

* Use consistently "-sandbox", before -Sandbox" was also used.

* Also generalize PreventInSourceBuilds.cmake macro for possible contribution to CMake.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@19730 3bd1e089-480b-0410-8dfb-8563597acbee
COMP: Facilitate re-use of "SlicerFunctionCTestPackage"

* This is done by removing dependency to "SlicerMacroParseArguments"
and by using the module "CMakeParseArguments" introduced in CMake 2.8.3

See http://www.cmake.org/Wiki/CMake_Version_Compatibility_Matrix/StandardCMakeModules

git-svn-id: http://svn.slicer.org/Slicer4/trunk@19731 3bd1e089-480b-0410-8dfb-8563597acbee
STYLE: Fix typo in comment and rename CMake variables anticipating possible re-use

git-svn-id: http://svn.slicer.org/Slicer4/trunk@19732 3bd1e089-480b-0410-8dfb-8563597acbee
STYLE: For sake of consistency - change "downloadFile" macro into "download_file" function

* Within CMake documentation, function/macro are written in lower case
with underscore.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@19733 3bd1e089-480b-0410-8dfb-8563597acbee
COMP: Facilitate re-use of SlicerFunctionMIDASCTestUploadURL

* Rename "SlicerFunctionMIDASCTestUploadURL" into "MIDASCTestUploadURL"

* Function has now signature "midas_ctest_upload_url"

git-svn-id: http://svn.slicer.org/Slicer4/trunk@19734 3bd1e089-480b-0410-8dfb-8563597acbee
COMP: Facilitate re-use of SlicerFunctionMIDASLogin

* Rename "SlicerFunctionMIDASLogin" into "MIDASAPILogin"

* Function has now signature "midaS_api_login"

git-svn-id: http://svn.slicer.org/Slicer4/trunk@19735 3bd1e089-480b-0410-8dfb-8563597acbee
COMP: Facilitate re-use of SlicerFunctionMIDASUploadPackage

* Rename "SlicerFunctionMIDASUploadPackage" into "MIDASAPIUploadPackage"

* Function has now signature "midas_api_upload_package"

git-svn-id: http://svn.slicer.org/Slicer4/trunk@19736 3bd1e089-480b-0410-8dfb-8563597acbee
COMP: Facilitate re-use of SlicerFunctionCTestPackage

* Rename "SlicerFunctionCTestPackage" into "CTestPackage"

* Function has now signature "ctest_package"

git-svn-id: http://svn.slicer.org/Slicer4/trunk@19737 3bd1e089-480b-0410-8dfb-8563597acbee
COMP: Facilitate re-use of SlicerFunctionMIDASUploadExtension

* Rename "SlicerFunctionMIDASUploadExtension" into "MIDASAPIUploadExtension"

* Function has now signature "midas_api_upload_extension"

* Update test so that it passes

git-svn-id: http://svn.slicer.org/Slicer4/trunk@19738 3bd1e089-480b-0410-8dfb-8563597acbee
COMP: Allow extension download from CDash by adding prefix "http" to default MIDAS_PACKAGE_URL

git-svn-id: http://svn.slicer.org/Slicer4/trunk@19739 3bd1e089-480b-0410-8dfb-8563597acbee
STYLE: Fix comment within MIDASAPIUpload macros

* Note that more need to be done to complete the documentation of these module

git-svn-id: http://svn.slicer.org/Slicer4/trunk@19740 3bd1e089-480b-0410-8dfb-8563597acbee
COMP: Facilitate re-use by renaming " _SlicerEscapeForUrl" into "midas_api_escape_for_url"

git-svn-id: http://svn.slicer.org/Slicer4/trunk@19741 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: Make sure "slash" are escaped when generating URL for MIDAS API

git-svn-id: http://svn.slicer.org/Slicer4/trunk@19742 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: Avoid "Invalid escape sequence \/" error by convert "midas_api_escape_for_url" to a function

git-svn-id: http://svn.slicer.org/Slicer4/trunk@19743 3bd1e089-480b-0410-8dfb-8563597acbee
STYLE: Rename CMake variable to be more explicit

* "server_token" -> "midas_api_token"

git-svn-id: http://svn.slicer.org/Slicer4/trunk@19744 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: Fixed behaviour not allowing to select color by a scalar in tractographies when there is no tensor data

git-svn-id: http://svn.slicer.org/Slicer4/trunk@19745 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: handle evaluation of DICOM file with invalid position information

In some sample DICOM RT datasets from the SlicerRt project files
contain ImagePositionPatient tags that are empty.  I believe this
is invalid according to the DICOM spec, but we catch that case anyway
and provide a warning to the user.



git-svn-id: http://svn.slicer.org/Slicer4/trunk@19746 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: refactor IJK plane calculation for easier re-use


git-svn-id: http://svn.slicer.org/Slicer4/trunk@19747 3bd1e089-480b-0410-8dfb-8563597acbee
STYLE: Simplify signature of "midas_api_login" function

git-svn-id: http://svn.slicer.org/Slicer4/trunk@19748 3bd1e089-480b-0410-8dfb-8563597acbee
STYLE: Indicate which uploading step DashboardDriver script is performing

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