BUG: Fix extraction of compressed zip on windows

* This is done by building LibArchive with ZLib support.

* Indeed, for some reason the archive generated by CMake Zip generator
is considered to be compressed by LibArchive even if CompressNone
is specified within the corresponding CMake code. See [1]

[1] http://cmake.org/gitweb?p=cmake.git;a=blob;f=Source/CPack/cmCPackZIPGenerator.cxx;h=e6e4e77d059aa2d9b5a7d2a97ba88c2ced98d9c6;hb=HEAD#l17

git-svn-id: http://svn.slicer.org/Slicer4/trunk@19539 3bd1e089-480b-0410-8dfb-8563597acbee
STYLE: Remove extra debug statement related to ctkVTKSliceView

git-svn-id: http://svn.slicer.org/Slicer4/trunk@19540 3bd1e089-480b-0410-8dfb-8563597acbee
STYLE: Remove deprecated macro VTK_CREATE. vtkNew should be used instead.

See http://www.vtk.org/doc/nightly/html/classvtkNew.html

git-svn-id: http://svn.slicer.org/Slicer4/trunk@19541 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: Ensure TempWrite directory is unique in vtkMRMLVolumeArchetypeStorageNode

If another process calls vtkMRMLVolumeArchetypeStorageNode::UpdateFileList() at the same time, the first process would fail to list the written files.
Hopefully the name won't be the same.

Example:
P1: Remove TempWrite
P1: Make TempWrite
P1: Write File
P2: Remove TempWrite
P2: Make TempWrite
P2: Write File
P1: Get files: -> it would retrieve P2 files


git-svn-id: http://svn.slicer.org/Slicer4/trunk@19542 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: fix crash reported by Sonia - setting color on a fiber node with missing display nodes

git-svn-id: http://svn.slicer.org/Slicer4/trunk@19543 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: vtkMRMLNode::SetAttribute removes key pair if value is 0

This has the advantage to not fire any unnecessary event when setting the category attribute from 0 to ""

git-svn-id: http://svn.slicer.org/Slicer4/trunk@19544 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: Don't fire unnecessary Modified event when creating display node

Regroup StartModify()/EndModify() to call Modified only once.


git-svn-id: http://svn.slicer.org/Slicer4/trunk@19545 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: Display new volume rendering when changing current volume to an existing volume

When the display node doesn't exist, it is created and made current.
But if the display node already exists, the displayable manager doesn't know it's the new current volume, call modified on it to trigger its display.
Closes #1790

git-svn-id: http://svn.slicer.org/Slicer4/trunk@19546 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: needs to call superclass enter to set flag so doesn't hit assert on exit

git-svn-id: http://svn.slicer.org/Slicer4/trunk@19547 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: Be smarter about "Single File" auto check beahvior.

Some dicom files contain . in their name (e.g. 1.12.1233.234325234.12313213132121.dcm)
Their base name should then be: 1.12.1233.234325234.12313213132121.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@19548 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: Crash in slice views when background mask is not used in pipeline.

Closes #1791

git-svn-id: http://svn.slicer.org/Slicer4/trunk@19549 3bd1e089-480b-0410-8dfb-8563597acbee
COMP: qMRMLSceneCategoryModel - Use same type on both side of "?" operand.

Otherwise, the following compilation error occurs:

In member function ‘virtual void qMRMLSceneCategoryModel::updateNodeFromItem(vtkMRMLNode*, QStandardItem*)’:
.../qMRMLSceneCategoryModel.cxx:193: error: operands to ?: have different types ‘const char*’ and ‘QByteArray’

git-svn-id: http://svn.slicer.org/Slicer4/trunk@19550 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: SetAttribute("...", QByteArray(0)) doesn't remove attribute

only SetAttribute("...", 0) does.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@19551 3bd1e089-480b-0410-8dfb-8563597acbee
STYLE: Refine logic behind SetAttribute(Category)


git-svn-id: http://svn.slicer.org/Slicer4/trunk@19552 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: Change Slicer_BUILD_OpenIGTLink and Slicer_BIULD_OpenIGTLinkIF options to ON in default.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@19553 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: working on bug 1759, this removes the crash caused by removing model props in the midst of a render

git-svn-id: http://svn.slicer.org/Slicer4/trunk@19554 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: Extract annotations logic into separate library: vtkSlicerAnnotationModuleLogic

This allows other modules to depends on it. Module's communication is only done via logics, not Qt widgets.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@19555 3bd1e089-480b-0410-8dfb-8563597acbee
STYLE: Improve readability by consistently using "virtual" qualifier

* This particular commit applies to "dependencies()" method associated to modules

git-svn-id: http://svn.slicer.org/Slicer4/trunk@19556 3bd1e089-480b-0410-8dfb-8563597acbee
STYLE: qSlicerSettingsExtensionsPanel - Give credit to the original author

git-svn-id: http://svn.slicer.org/Slicer4/trunk@19557 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: Don't delete last annotation node twice

Bug was already there but got active as a side effect of r19555
Closes #1799

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