COMP: Ensure ITK Wrapping is disabled

The name of the variable used for turning on WRAPPING in ITK has changed.

From: Hans Johnson <hans-johnson@uiowa.edu>

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21601 3bd1e089-480b-0410-8dfb-8563597acbee
COMP: Prevent DCMTK double free errors.

Also update version of DCMTK including some of the patch
contributed upstream.

Contributed by Bill Lorensen

From: Bill Lorensen <bill.lorensen@gmail.com>

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21602 3bd1e089-480b-0410-8dfb-8563597acbee
COMP: Prevent DCMTK double free errors.

Also update version of DCMTK including some of the patch
contributed upstream.

Contributed by Bill Lorensen

From: Bill Lorensen <bill.lorensen@gmail.com>

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21602 3bd1e089-480b-0410-8dfb-8563597acbee
COMP: Update SimpleITK version to integrate update recent improvements

This version matches the one used during the AHM2013 Utah Meeting demos.

From: Bradley Lowekamp <blowekamp@mail.nih.gov>

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21603 3bd1e089-480b-0410-8dfb-8563597acbee
COMP: Update SimpleITK version to integrate update recent improvements

This version matches the one used during the AHM2013 Utah Meeting demos.

From: Bradley Lowekamp <blowekamp@mail.nih.gov>

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21603 3bd1e089-480b-0410-8dfb-8563597acbee
COMP: Make sure itkTestMain.h is available when building extension

From: Jean-Christophe Fillion-Robin <jchris.fillionr@kitware.com>

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21604 3bd1e089-480b-0410-8dfb-8563597acbee
COMP: Make sure itkTestMain.h is available when building extension

From: Jean-Christophe Fillion-Robin <jchris.fillionr@kitware.com>

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21604 3bd1e089-480b-0410-8dfb-8563597acbee
COMP: Avoid build error on windows by shortening filename of generated pythonqt files

Thanks to Matt McCormick for testing the change.

From: Jean-Christophe Fillion-Robin <jchris.fillionr@kitware.com>

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21605 3bd1e089-480b-0410-8dfb-8563597acbee
COMP: Avoid build error on windows by shortening filename of generated pythonqt files

Thanks to Matt McCormick for testing the change.

From: Jean-Christophe Fillion-Robin <jchris.fillionr@kitware.com>

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21605 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: detect exceptions in self-tests during reload and test of scripts

Based on a suggestion from Brad Lowekamp to let developers know
about execeptions when developing scripted extensions.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21606 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: detect exceptions in self-tests during reload and test of scripts

Based on a suggestion from Brad Lowekamp to let developers know
about execeptions when developing scripted extensions.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21606 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: restructure the event collapsing timers so they only run once

Before, a singleshot would be triggered once each time the timer
ran out.  Now, the timer interval is extended so that one a single
invocation occcurs even if a large number of events come, as long as
no two events are separated by more than half a second.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21607 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: restructure the event collapsing timers so they only run once

Before, a singleshot would be triggered once each time the timer
ran out.  Now, the timer interval is extended so that one a single
invocation occcurs even if a large number of events come, as long as
no two events are separated by more than half a second.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21607 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: fix a crash caused by an overlay file with unassigned labels.

When loading some FreeSurfer scalar overlay files, the reader 
returns a warning that some labels were unassigned. This was being
treated as an error, but a valid node was being returned from the
Models logic instead of NULL, causing a crash in the IO file. 
Fixed that issue then changed the response to that warning
to return valid nodes and color tables and that seemed to 
fix the issue.

Issue #2851



git-svn-id: http://svn.slicer.org/Slicer4/trunk@21608 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: fix a crash caused by an overlay file with unassigned labels.

When loading some FreeSurfer scalar overlay files, the reader 
returns a warning that some labels were unassigned. This was being
treated as an error, but a valid node was being returned from the
Models logic instead of NULL, causing a crash in the IO file. 
Fixed that issue then changed the response to that warning
to return valid nodes and color tables and that seemed to 
fix the issue.

Issue #2851



git-svn-id: http://svn.slicer.org/Slicer4/trunk@21608 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: avoid hangs/crashes when importing - fixes #2839, #2871

See CTK bug #292
https://github.com/commontk/CTK/issues/292

Multithreading of the indexing operation removed.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21609 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: avoid hangs/crashes when importing - fixes #2839, #2871

See CTK bug #292
https://github.com/commontk/CTK/issues/292

Multithreading of the indexing operation removed.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21609 3bd1e089-480b-0410-8dfb-8563597acbee
COMP: Avoid build error on windows by shortening filename of generated pythonqt files

This commit is a follow-up on r21605 and applies on Slicer base libraries
instead of slicer module libraries.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21610 3bd1e089-480b-0410-8dfb-8563597acbee
COMP: Avoid build error on windows by shortening filename of generated pythonqt files

This commit is a follow-up on r21605 and applies on Slicer base libraries
instead of slicer module libraries.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21610 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: Don't crash on designer startup

Closes #2874

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