[Repository Listing] / [Slicer4] / trunk / Utilities
 

Log of /trunk/Utilities

Parent Directory Parent Directory View Directory Listing Directory Listing


Sticky Revision:

Revision 26354  Directory Listing
Modified Wed Sep 6 20:46:30 2017 UTC (2 weeks, 4 days ago) by jcfr
STYLE: Prevent __version__.py being marked as modified on Windows

Adding the .gitattributes file and marking the file as "lf" is consistent
with the `configure_file(__version__.py.in ... NEWLINE_STYLE UNIX)` call
found in `Utilities/Scripts/SlicerWizard/CMakeLists.txt`.

[ci skip]

From: Dženan Zukić <dzenan.zukic@kitware.com>

Revision 26255  Directory Listing
Modified Mon Aug 14 02:15:31 2017 UTC (6 weeks ago) by jcfr
BUG: Fix deprecated use of QPixmap::grabWidget

Co-authored-by: Max Smolens <max.smolens@kitware.com>

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

Revision 26251  Directory Listing
Modified Mon Aug 14 02:07:21 2017 UTC (6 weeks ago) by jcfr
ENH: Add preliminary support for Qt5

Support configuration using either Qt4 or Qt5

Based on preliminary work from Steve Pieper <pieper@bwh.harvard.edu>

* vtkSlicerConfigure: Introduced Slicer_HAVE_QT5 and Slicer_HAVE_WEBKIT_SUPPORT.
  This was needed to workaround limitation of "moc" compiler preventing it
  from expanding macro like "QT_VERSION_CHECK.

* Explicitly set QT_PLUGINS_DIR and QT_BINARY_DIR variables when using Qt5

* Update extension build system to propagate Qt version

Tested with Qt 5.7 and Qt 5.9 on Ubuntu

Remaining tasks:
* Port extension manager
* Update install/packaging rules to support Qt5
* SlicerStyle (based on CommonStyle) is disabled (see Main.cxx). Application crashes on Linux.
* Fix runtime errors:
 * libpng warning: iCCP: known incorrect sRGB profile
 * QPixmap::grabWidget is deprecated, use QWidget::grab() instead

Co-authored-by: Hina Shah <hina.shah@kitware.com>
Co-authored-by: Max Smolens <max.smolens@kitware.com>

COMP adding qt5 variables for extension testing

COMP Adding Qt5 build and plugin cmake variables

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

Revision 26250  Directory Listing
Modified Mon Aug 14 02:06:37 2017 UTC (6 weeks ago) by jcfr
ENH: Enable C++11 for external projects and extensions

From: Max Smolens <max.smolens@kitware.com>

Revision 26236  Directory Listing
Modified Fri Aug 11 13:45:43 2017 UTC (6 weeks, 3 days ago) by jcfr
BUG: Fix extension template resource filename

The resource filename in the loadable module template referred to the .ui file
instead of the .qrc file. This resulted in running rcc on the .ui file, which
fails.

From: Max Smolens <max.smolens@kitware.com>

Revision 26201  Directory Listing
Modified Fri Aug 4 19:15:46 2017 UTC (7 weeks, 2 days ago) by jcfr
COMP: Update CMake minimum required version from 2.8.9 to 3.5

This commit removes few workarounds and explicit setting of CMake policies.

Note that the setting of CMP0017 to OLD (introduced in r16366 (COMP: Update
CMake policy requirements) is not needed. Slicer does not provide CMake
modules that should be included by modules distributed by CMake.

This will ensure the CMake version has:

* support for VS 2015 (introduced in CMake 3.1)

* a decent support for detecting compiler features (useful with C++11 and above)
  See https://cmake.org/cmake/help/v3.5/manual/cmake-compile-features.7.html

* as well as support for modern cmake that will be used to modernize the
  Slicer build system.
  See https://cmake.org/cmake/help/v3.5/manual/cmake-buildsystem.7.html#build-specification-and-usage-requirements

CMake 3.5 is also old enough (release in April 2016) and available (same version
or above) in distributions like these ones:

* Arch Linux
* Ubuntu LTS 14.04, 16.04
* OpenSUSE Leap 42.2, 42.3
* Debian 9, Sid
* Fedora 24/25/26
* Slackware 14.2

See https://pkgs.org/download/cmake

// ------------
Update MultiVolumeExplorer:

$ git shortlog 7e44252..c4d3b65 --no-merges
Andrey Fedorov (1):
      ENH: helper script to get stats for a mv frame

Jean-Christophe Fillion-Robin (1):
      COMP: Update CMake version to 3.5.0

// ------------
Update MultiVolumeImporter:

git shortlog 3fb2858..b2453a8 --no-merges
Jean-Christophe Fillion-Robin (1):
      COMP: Update CMake version to 3.5.0

Revision 26197  Directory Listing
Modified Thu Aug 3 21:25:19 2017 UTC (7 weeks, 3 days ago) by jcfr
BUG: ExtensionWizard: Provide informative msg if an option is not supported

If Python is not built with SSL support, the variable _haveGit
is set to False. In that case, user should still provide the argument
but the wizard should fail providing an informative message.
is True.

For example, in case the option "--publish" is not supported the following
message will be displayed:

```
/path/to/bin/slicerExtensionWizard --publish ./Foo
Option '--publish' is not available.

Consider re-building Slicer with SSL support or downloading
Slicer from http://download.slicer.org
```

See #3935

Co-authored-by: Francois Budin <francois.budin@kitware.com>
Suggested-by: Andriy Fedorov <fedorov@bwh.harvard.edu>

Revision 26028  Directory Listing
Modified Tue May 23 05:24:55 2017 UTC (4 months ago) by jcfr
STYLE: Doxygen: Remove deprecated settings from config file

Revision 26013  Directory Listing
Modified Mon May 15 16:07:56 2017 UTC (4 months, 1 week ago) by msmolens
BUG: Fix warning message in extension wizard

Fix warning message in extension wizard displayed when publishing from a
Git branch other than master. Previously, the following error occurred
when logging this warning message:

    TypeError: not all arguments converted during string formatting

Revision 26012  Directory Listing
Modified Mon May 15 16:07:52 2017 UTC (4 months, 1 week ago) by msmolens
BUG: Remove explicit path to git executable for GitPython (Windows)

On Windows, remove the explicit path to the git executable for
GitPython. On modern versions of Git for Windows, the specified path
(/bin/git) is not correct. This results in errors when running the
command line extension wizard, for example when publishing an extension:

    $ slicerExtensionWizard --publish ~/Slicer-MyExtension/
    ...
    git.exc.GitCommandNotFound: Cmd('C:/Program Files/Git/usr/bin/git') not found due to: WindowsError('[Error 2] The system cannot find the file specified')

When the GIT_PYTHON_GIT_EXECUTABLE environment variable is not set,
GitPython uses the git executable found in the path. Since the user is
expected to run slicerExtensionWizard from Git Bash, it's reasonable to
assume that the correct git executable is in the path.

Revision 25993  Directory Listing
Modified Sat Apr 29 13:28:34 2017 UTC (4 months, 3 weeks ago) by lassoan
BUG: Fixed subversion and git variable type in extension template

Revision 25988  Directory Listing
Modified Fri Apr 28 20:37:49 2017 UTC (4 months, 4 weeks ago) by lassoan
ENH: Pass SVN and git exe path to superbuild projects

Without that the subproject may not find SVN or git

Revision 25944  Directory Listing
Modified Mon Apr 24 17:50:32 2017 UTC (5 months ago) by lassoan
ENH: Generate (Extension)Config.cmake

Generate (Extension)Config.cmake to allow an extension import targets from another extension.

Revision 25920  Directory Listing
Modified Wed Apr 12 19:37:19 2017 UTC (5 months, 1 week ago) by lassoan
BUG: Fixed packaging error in SegmentEditorEffect module template

Revision 25910  Directory Listing
Modified Fri Apr 7 18:11:52 2017 UTC (5 months, 2 weeks ago) by lassoan
ENH: Added convenience functions for segmentation manipulation

Makes it simpler to add/remove segments, create/delete representations, etc.

Revision 25881  Directory Listing
Modified Tue Mar 28 07:54:09 2017 UTC (5 months, 4 weeks ago) by jcfr
STYLE: Add ScriptedEditorEffect to SlicerGenerateExtensionTemplates

This commit adds "ScriptedEditorEffect" to the list of templates
considered when executing the SlicerGenerateExtensionTemplates target.

Revision 25880  Directory Listing
Modified Tue Mar 28 07:54:05 2017 UTC (5 months, 4 weeks ago) by jcfr
BUG: ExtensionWizard: Support --templateKey type param in upper or lower case

Revision 25878  Directory Listing
Modified Tue Mar 28 07:53:59 2017 UTC (5 months, 4 weeks ago) by jcfr
STYLE: Consolidate Extensions/Testing with Utilities/Templates

This commit backports the changes directly made to scriped loadable module
template in "Extensions/Testing" in r25357 (ENH: Make it simpler to add doc
link to Python scripted modules) into the corresponding template living in
"Templates/Modules/Scripted".

It then integrates the changes obtained after re-running the
SlicerGenerateExtensionTemplates target.

Revision 25859  Directory Listing
Modified Tue Mar 21 20:49:13 2017 UTC (6 months ago) by lassoan
ENH: Added scripted segment editor effect template

Revision 25829  Directory Listing
Modified Mon Mar 13 13:00:11 2017 UTC (6 months, 1 week ago) by jcfr
STYLE: Fix style of ITK classes using KWStyle

This commit introduced the style Utilities/KWStyle/ITK.kws.xml based of
the official ITK Style.

Style was checked using the following command:

  for file in $(find . | ack-grep "\/itk.+(h|cpp|txx|cxx)$"); do
    KWStyle -gcc -xml ./Utilities/KWStyle/ITK.kws.xml $file;
  done

KWStyle was built from source: https://github.com/Kitware/KWStyle

The following errors remain:

  ./Modules/CLI/ExpertAutomatedRegistration/ITKRegistrationHelper/itkAnisotropicSimilarity3DTransform.h:109: error: Internal variable (itk::Rigid3DTransform<TScalarType>::SetMatrix) doesn't match regular expression (m_[A-Z])
  ./Modules/CLI/ResampleDTIVolume/Testing/itkTestMainExtended.h:17: error: namespace not defined

Revision 25527  Directory Listing
Modified Sat Nov 12 07:59:39 2016 UTC (10 months, 1 week ago) by jcfr
PERF: SlicerWizard: Faster "--contribute" avoiding iterate over all user repos

Revision 25442  Directory Listing
Modified Thu Oct 13 05:00:52 2016 UTC (11 months, 1 week ago) by jcfr
ENH: Begin 4.7.0 development

Revision 25441  Directory Listing
Modified Thu Oct 13 04:29:11 2016 UTC (11 months, 1 week ago) by jcfr
ENH: Slicer 4.6.0

Revision 25232  Directory Listing
Modified Mon Jul 11 17:02:53 2016 UTC (14 months, 2 weeks ago) by jcfr
STYLE: Templates/Extensions: Consistently specify EXTENSION_DEPENDS

Revision 25210  Directory Listing
Modified Fri Jul 8 01:26:06 2016 UTC (14 months, 2 weeks ago) by jcfr
STYLE: Simplify GenerateExtensionDescription removing uneeded scm_path_token

Revision 25191  Directory Listing
Modified Tue Jun 14 00:12:05 2016 UTC (15 months, 1 week ago) by jcfr
STYLE: Simplify SlicerConfigureVersionHeader target

This commit introduces vtkSlicerVersionConfigureInternal.h header
containing static information not expected to change between
source updates.

This commit also adds doxygen documentation.

Suggested-by: Francois Budin <francois.budin@kitware.com>

Revision 25182  Directory Listing
Modified Fri Jun 10 23:55:16 2016 UTC (15 months, 2 weeks ago) by jcfr
BUG: Extension packaging: Support fixup of 3rd-party (external proj) libs

Introduces "Slicer_THIRDPARTY_(BIN|LIB|SHARE)_DIR" and
"Slicer_INSTALL_THIRDPARTY_(BIN|LIB|SHARE)_DIR" variables providing a
well defined interface for configuring the build and install directories
of external projects.

This commit also updates the extension fixup script to consider
libraries associated with thirdparty libraries.

See SBU-BMI/SlicerOpenCV#30

Revision 25089  Directory Listing
Modified Thu May 19 08:58:10 2016 UTC (16 months, 1 week ago) by jcfr
BUG: CLITemplate: Template argument name was modified in template declaration

Template argument name was modified in template declaration but not
when using it in the templated function.

From: Francois Budin <francois.budin@gmail.com>

Revision 25024  Directory Listing
Modified Sun Apr 24 23:15:01 2016 UTC (17 months ago) by jcfr
ENH: Add convenience target SlicerGenerateExtensionTemplates

This target, available on unix, allows to re-generate the extensions
templates in Extensions Testing directory using the extension wizard.

It also adds the extension wizard option --localExtensionsDir allowing
to explicitly mark an extension as a "local".

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

Revision 25023  Directory Listing
Modified Sun Apr 24 23:14:57 2016 UTC (17 months ago) by jcfr
BUG: Return EXIT_FAILURE when encountering an unknown pixel component type.

Also create a more informative error message.

From: Matt McCormick <matt.mccormick@kitware.com>

Revision 25022  Directory Listing
Modified Sun Apr 24 23:14:53 2016 UTC (17 months ago) by jcfr
STYLE: Declare typedef's next to where they are used.

The code is easier to read when related statements are clustered together.

From: Matt McCormick <matt.mccormick@kitware.com>

Revision 25021  Directory Listing
Modified Sun Apr 24 23:14:50 2016 UTC (17 months ago) by jcfr
STYLE: Used a named variable for Dimension in CLIModuleTemplate.

When reading the code, we now know what "3" refers to.

From: Matt McCormick <matt.mccormick@kitware.com>

Revision 25020  Directory Listing
Modified Sun Apr 24 23:14:47 2016 UTC (17 months ago) by jcfr
STYLE: Use more literate TPixel in CLIModuleTemplate CLI.

When reading the template argument, we immediately know what it is.

From: Matt McCormick <matt.mccormick@kitware.com>

Revision 25019  Directory Listing
Modified Sun Apr 24 23:14:44 2016 UTC (17 months ago) by jcfr
BUG: Used signed char instead of char in CLIModuleTemplate.cxx

The 'signed char' type is different from the 'char' type. On some systems, 'char'
can be unsigned. Use 'signed char' as intended.

From: Matt McCormick <matt.mccormick@kitware.com>

Revision 25016  Directory Listing
Modified Wed Apr 20 04:18:51 2016 UTC (17 months ago) by jcfr
STYLE: Ensure extension wizard & build system generate identical .s4ext files

Co-authored-by: Jean-Christophe Fillion-Robin <jchris.fillionr@kitware.com>

From: Jean-Baptiste VIMORT <jb.vimort@gmail.com>

Revision 25015  Directory Listing
Modified Wed Apr 20 04:18:49 2016 UTC (17 months ago) by jcfr
STYLE: ExtensionWizard: Refactor code to conditionally add templates

Co-authored-by: Jean-Christophe Fillion-Robin <jchris.fillionr@kitware.com>

From: Jean-Baptiste VIMORT <jb.vimort@gmail.com>

Revision 25014  Directory Listing
Modified Wed Apr 20 04:18:48 2016 UTC (17 months ago) by jcfr
STYLE: Generate description file using template file

Co-authored-by: Jean-Christophe Fillion-Robin <jchris.fillionr@kitware.com>

From: Jean-Baptiste VIMORT <jb.vimort@gmail.com>

Revision 24996  Directory Listing
Modified Fri Apr 1 16:33:15 2016 UTC (17 months, 3 weeks ago) by lassoan
BUG: Fixed constantly conflicting __version__.py

On Windows Utilities\Scripts\SlicerWizard\__version__.py was generated with Windows newlines,
on Windows, while the file is stored with Unix newlines in the repository. This caused
commit failures and merge conflicts all the time.

Fixed by forcing Unix-style newline.

Revision 24948  Directory Listing
Modified Thu Feb 25 16:23:28 2016 UTC (19 months ago) by lassoan
STYLE: Deleted empty directories

Most of them were probably leftovers from git-svn commits.

Revision 24946  Directory Listing
Modified Thu Feb 25 06:30:16 2016 UTC (19 months ago) by jcfr
COMP: Fix extensions template ensuring inner build is always configured.

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

Revision 24759  Directory Listing
Modified Fri Nov 20 03:56:01 2015 UTC (22 months ago) by jcfr
STYLE: Update python tests to use more specific asserts.

Using the more specific assert functions usually gives more useful
error messages.

Suggested-by: Csaba Pinter <csaba.pinter@queensu.ca>
Suggested-by: Max Smolens <max.smolens@kitware.com>

Revision 24758  Directory Listing
Modified Fri Nov 20 03:55:52 2015 UTC (22 months ago) by jcfr
STYLE: Update python scripts to use "is None" instead of "== None"

Rational copied from https://www.python.org/dev/peps/pep-0290/#testing-for-none

// -----------------
 Since there is only one None object, equality can be tested with identity. Identity tests are slightly faster than equality tests. Also, some object types may overload comparison, so equality testing may be much slower.

Pattern:

if v == None  -->  if v is None:
if v != None  -->  if v is not None:
// -----------------

Reviewed-by: Csaba Pinter <csaba.pinter@queensu.ca>
Reviewed-by: Max Smolens <max.smolens@kitware.com>

Revision 24757  Directory Listing
Modified Fri Nov 20 02:59:35 2015 UTC (22 months ago) by jcfr
ENH: Added output checking to module CXX tests

Added a new option (WITH_VTK_ERROR_OUTPUT_CHECK) to slicerMacroConfigureModuleCxxTestDriver
that enables checking of error and warning messages. If the option is enabled then the test
fails if unexpected error or warning is logged.

Enabled the option for all tests that had debug leaks check option (WITH_VTK_DEBUG_LEAKS_CHECK)
enabled. Fixed failing tests by fixing the test, the tested code, or (most frequently) marking
expected errors/warning (using TESTING_OUTPUT_ASSERT_ERRORS_BEGIN() / TESTING_OUTPUT_ASSERT_ERRORS_END()
and similar macros).

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

From: Andras Lasso <lasso@queensu.ca>

Revision 24736  Directory Listing
Modified Thu Nov 12 18:11:56 2015 UTC (22 months, 1 week ago) by jcfr
ENH: Begin post-4.5.0-1 development

Revision 24735  Directory Listing
Modified Thu Nov 12 17:52:28 2015 UTC (22 months, 1 week ago) by jcfr
ENH: Slicer 4.5.0-1

Revision 24733  Directory Listing
Modified Thu Nov 12 16:46:18 2015 UTC (22 months, 1 week ago) by jcfr
STYLE: ExtensionWizard: Include patch version in __version__

The version of the wizard is now consistent with the version of Slicer.

Revision 24732  Directory Listing
Modified Thu Nov 12 16:46:15 2015 UTC (22 months, 1 week ago) by jcfr
BUG: Fix CMake code checking if current build is a release or not.

Following r21548 (ENH: Make the applications to build customizable),
Slicer_VERSION_TWEAK is passed as a parameter to Slicer external
project, to account for this, this commit updates the code to check
for the variable being an empty string.

Revision 24730  Directory Listing
Modified Thu Nov 12 16:46:11 2015 UTC (22 months, 1 week ago) by jcfr
ENH: Begin post-4.5.0 development

Revision 24729  Directory Listing
Modified Thu Nov 12 00:00:57 2015 UTC (22 months, 2 weeks ago) by jcfr
ENH: Slicer 4.5.0

Revision 24728  Directory Listing
Modified Thu Nov 12 00:00:55 2015 UTC (22 months, 2 weeks ago) by jcfr
BUG: ExtensionWizard: Fix configuration of __version__.py

Output file associated with the "configure_file" has to be specified
using an absolute path.

Per CMake convention, placeholders in input file have to be
of the form @VAR@.

Revision 24667  Directory Listing
Modified Wed Oct 28 18:33:48 2015 UTC (22 months, 4 weeks ago) by jcfr
BUG: ExtensionWizard: Fix "compare URL" generation

The extensionWizard now handles the creation of the "Compare URL" when someone
contributes an updated Extension Description File.

The issue appeared when using the ExtensionWizard as reported below:

$ bin/slicerExtensionWizard --contribute ~/src/Slicer-MyExtension/

The reported error was:

//------------
building compare URL for update failed to build
compare URL: 404 {u'documentation_url':
u'https://developer.github.com/v3/repos/commits/#compare-two-commits',
u'message': u'Not Found'}
//------------

Reviewed-by: Jean-Christophe Fillion-Robin <jchris.fillionr@kitware.com>
Tested-by: Jean-Christophe Fillion-Robin <jchris.fillionr@kitware.com>

From: Jean-Baptiste VIMORT <jb.vimort@gmail.com>

Revision 24622  Directory Listing
Modified Thu Oct 8 17:15:57 2015 UTC (23 months, 2 weeks ago) by jcfr
STYLE: Update python scripts to not import from __main__

This commit simplifies the scripts removing extra `from __main__`
statements and improve the integration with Python IDE ensuring python
package like "slicer" can simply be imported.

The `from __main__` statement most likely became obsolete since
r24155 (ENH: Fixes #3549. Import scripted module as python module).

Remarks:

A global replace of "from __main__ import" into "import" as been done
except in:
 * EditOptions: "from __main__ getNodes" changed into "from slicer.util import getNodes"
 * slicer/module[dm|logic|mrml|widget]/__init__.py where it makes sense to keep it.

Revision 24485  Directory Listing
Modified Wed Aug 5 15:56:12 2015 UTC (2 years, 1 month ago) by msmolens
BUG: Fix Extension Wizard to write icon files correctly on Windows

On Windows, slicerExtensionWizard creates invalid icon files for
extensions and modules. This happens because the script treats all
template files as text when opening them to replace the template key,
including the PNG icon files.

This changes the script to open and write files in binary mode.

Fixes #4027.

Revision 24456  Directory Listing
Modified Fri Jul 17 18:48:30 2015 UTC (2 years, 2 months ago) by jcfr
STYLE: Fix style in TemplateManager.py

keyword arguments should be passed as "<name>=<value>" instead of
"<name> = <value>". See [1] for the rational.

[1] http://stackoverflow.com/questions/8853063/pep-8-why-no-spaces-around-in-keyword-argument-or-a-default-parameter-value

Revision 24455  Directory Listing
Modified Fri Jul 17 18:48:28 2015 UTC (2 years, 2 months ago) by jcfr
BUG: Fix indentation issue in TemplateManager.py

This commit fixes a regression introduced in r24452 (BUG: Fixed extension
creation in version-controlled repository).

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/jcfr/Projects/Slicer-Debug/Slicer-build/lib/Slicer-4.4/qt-scripted-modules/ExtensionWizard.py", line 7, in <module>
    import SlicerWizard.ExtensionDescription
  File "/home/jcfr/Projects/Slicer-Debug/Slicer-build/bin/Python/SlicerWizard/__init__.py", line 44, in <module>
    from .ExtensionWizard import ExtensionWizard
  File "/home/jcfr/Projects/Slicer-Debug/Slicer-build/bin/Python/SlicerWizard/ExtensionWizard.py", line 30, in <module>
    from .TemplateManager import TemplateManager
  File "/home/jcfr/Projects/Slicer-Debug/Slicer-build/bin/Python/SlicerWizard/TemplateManager.py", line 161
    destination = os.path.join(destination, name)
              ^
IndentationError: expected an indented block

Revision 24452  Directory Listing
Modified Fri Jul 17 13:14:10 2015 UTC (2 years, 2 months ago) by lassoan
BUG: Fixed extension creation in version-controlled repository

It was only possible to create extension in a non-version-controlled directory.
The problem was that extension was created in repositoryRoot/extensionName directory
but when an extension is opened in a version-controlled directory then the extension
is expected to be found in repositoryRoot.

Changed extension creation so that if it is created in a version-controlled directory
then files are added to repositoryRoot (instead of repositoryRoot/extensionName).

Revision 24424  Directory Listing
Modified Wed Jul 15 18:23:42 2015 UTC (2 years, 2 months ago) by jcfr
STYLE: Facilitate release process updating wiki URL with Nightly namespace

This commit updates the templates to use wiki documentation url
mentioning the Nightly version. This will facilitate maintenance avoiding
to explicitly update the file after each release.

More specifically, thanks to the previous commit (ENH: Update wiki URLs
in module panel to reference correct documentation.), the module panel has
been instrumented to update the module description so that documentation
URLs are updated at runtime to point to the correct version of the wiki
documentation.

Note also that a new FAQ section entitled "Documentation Writing" has
been added to the Developer FAQ [1]. At the time of this commit, it reference
the following question:

  How to reference module or extension documentation hosted on the Slicer wiki ?

[1] http://wiki.slicer.org/slicerWiki/index.php?title=Documentation/Nightly/Developers/FAQ#Developer_FAQ:_Writing_Documentation

Revision 24422  Directory Listing
Modified Wed Jul 15 18:23:27 2015 UTC (2 years, 2 months ago) by jcfr
ENH: Extend qSlicerUtils API adding function to replace version in wiki urls

Revision 24409  Directory Listing
Modified Wed Jul 15 04:10:47 2015 UTC (2 years, 2 months ago) by lassoan
BUG: Fixed node selector node type specification syntax

There was a common syntax error in defining single-element Qt string lists in Python.

The correct way of defining a single element list:
self.outputSelector.nodeTypes = ["vtkMRMLScalarVolumeNode"]

The correct way of defining a single element tuple:
self.outputSelector.nodeTypes = "vtkMRMLScalarVolumeNode",

Currently many modules try to define a single-element tuple like this:
self.outputSelector.nodeTypes = ( ("vtkMRMLScalarVolumeNode"), "" ) => this is long and ugly and also incorrect, as the tuple has actually two elements, "vtkMRMLScalarVolumeNode" and an empty element; the empty element generates the dysfunctional "Create new node" and "Create new node as..." options.

The syntax error is fixed in all modules and a check was added to ignore empty elements in the node type list (in case the syntax error occurs again in the future).

Revision 24291  Directory Listing
Modified Thu Jun 4 20:12:02 2015 UTC (2 years, 3 months ago) by lassoan
ENH: Use vtkMRMLLabelMapVolumeNode class for labelmap volumes

Before vtkMRMLScalarVolumeNode was used for both scalar and label map
volumes and the LabelMap custom MRML node attribute was used for
distinguishing between them (0=scalar; 1=label map volume).
This made conversion between labelmap/scalar volumes very easy but made
it difficult to customize behavior, display, processing of segmentation
information.

Now a new vtkMRMLLabelMapVolumeNode class is used for storing segmentation
information (still using vtkMRMLScalarVolume used as base class for backward
compatibility; but in the future the base class may be changed to reflect
that segmentation can be represented in various ways, not just as volumes).

Notes:

A new "segmentation" node has been developed that is based on vtkMRMLLabelMapVolumeNode,
which can store segmentation information in various ways (not just labelmaps but planar
contours, closed surfaces, etc). To allow using of this new segmentation node,
first the vtkMRMLLabelMapVolumeNode has to be integrated into the Slicer core.

When reading a scene that was saved with an old version of Slicer, label maps are stored
in vtkMRMLScalarVolumeNode with label map attribute set to 1. Added a check for this case
and handle it by converting the vtkMRMLScalarVolumeNode to a vtkMRMLLabelMapVolumeNode during import.

Revision 24196  Directory Listing
Modified Tue Apr 28 03:43:52 2015 UTC (2 years, 4 months ago) by jcfr
ENH: Extension Wizard: Substitute CMake variable reference if possible.

In case the main CMakeLists.txt of an extension contain references
to CMake variable, these will be expanded if possible.

For example, if the CMakeLists.txt contains the following:

  set(EXTENSION_DESCRIPTION "The ${PROJECT_NAME} module provides Slicer user with any easy way to export models into a KiwiViewer scene file.")

the generated description file will have the following description:

  description The SlicerToKiwiExporter module provides Slicer user with any easy way to export models into a KiwiViewer scene file.

Note also that nested variable references are now partially handled.
For example, if we consider the following CMake code:
```
set(foo "world")
set(hello_${foo} "sun")
set(world_hello "earth")

set(description "${hello_${foo}} and ${${foo}_hello} are different")
```
Getting the value of `description` will return `hello_world-NOTFOUND and earth are different`

Reviewed-by: Matthew Woehlke <matthew.woehlke@kitware.com>

Revision 24167  Directory Listing
Modified Thu Apr 9 18:04:03 2015 UTC (2 years, 5 months ago) by lassoan
ENH: Make ExtensionWizard available without SSL support

If Slicer was built without SSL support, the ExtensionWizard module was not available (due to missing httplib.HTTPSConnection).
Fixed by changing the behavior so that if no SSL is available then only github integration is disabled.

Revision 24158  Directory Listing
Modified Sun Apr 5 13:48:22 2015 UTC (2 years, 5 months ago) by lassoan
ENH: Do not build doc in VisualStudio when F7 is pressed

If doxygen was installed then cpp-doc was always re-built when "Build Solution" (F7) was used in Visual Studio, taking several minutes.
The change only effects the Visual Studio IDE and is independent from the inclusion of the doc target in ALL target.

Revision 23850  Directory Listing
Modified Mon Jan 5 19:39:45 2015 UTC (2 years, 8 months ago) by lassoan
BUG: Fixed typo that caused ExtensionWizard error

Fixes this error:

$ bin/SlicerExtensionWizard
Traceback (most recent call last):
  File "bin/../libexec/Slicer-4.4/ExtensionWizard.py", line 10, in <module>
    w.execute()
  File "C:\Program Files\Slicer 4.4.0-2014-12-30\bin\Python\SlicerWizard\ExtensionWizard.py", line 695, in execute
    self._execute(args if len(args) else None)
  File "C:\Program Files\Slicer 4.4.0-2014-12-30\bin\Python\SlicerWizard\ExtensionWizard.py", line 602, in _execute
    initLogging(logging.getLogger(), args)
  File "C:\Program Files\Slicer 4.4.0-2014-12-30\bin\Python\SlicerWizard\Utilities.py", line 204, in initLogging
    logger.setLevel(logLevel)
NameError: global name 'logLevel' is not defined

Revision 23828  Directory Listing
Modified Wed Dec 10 22:10:30 2014 UTC (2 years, 9 months ago) by jcfr
ENH: Use Python logging framework for scripted module logging

Use Python's built-in logging module to manage logging. A direct advantage is that line number, file name, method name can be logged, too. Also, it follows the convention of using qt-style logging in qt classes, vtk-style logging in vtk classes, etc.

Default behavior of log levels:
 DEBUG: log to application log only, includes file name, line number, thread
 INFO: log to stdout (appears in application log, too)
 WARNING: log to stderr (appears in application log, too)
 ERROR: log to stderr (appears in application log, too)

Usage:
 import logging

 [...]

 logging.debug("this is a debug message")
 logging.info("this is an info message")
 logging.warning("this is a warning message")
 logging.error("this is a error message")

From: Andras Lasso <lasso@queensu.ca>

Revision 23820  Directory Listing
Modified Sat Dec 6 05:56:02 2014 UTC (2 years, 9 months ago) by jcfr
ENH: Improve scripted module templates

* Use "slicer.log" functionality

* Also update the scripted loadable module template to perform actual
image processing (thresholding, using a CLI) and not just
capture a screenshot, because this is much closer to what
most users would do.

From: Andras Lasso <lasso@cs.queensu.ca>

Revision 23776  Directory Listing
Modified Sun Nov 2 22:01:10 2014 UTC (2 years, 10 months ago) by jcfr
ENH: Begin post-4.4.0 development

Revision 23774  Directory Listing
Modified Sun Nov 2 21:58:30 2014 UTC (2 years, 10 months ago) by jcfr
ENH: Slicer 4.4.0

Revision 23768  Directory Listing
Modified Thu Oct 30 17:29:02 2014 UTC (2 years, 10 months ago) by jcfr
COMP: Also exclude ExtensionWizard configuration when python is disabled.

Co-authored-by: Dzenan Zukic <dzenan.zukic@kitware.com>

Revision 23764  Directory Listing
Modified Wed Oct 29 21:49:14 2014 UTC (2 years, 10 months ago) by naucoin
BUG: get the screenshot type without making a widget

From JC: avoid creation an instance of the widget to get the
value of the enum

Issue #3879

Revision 23763  Directory Listing
Modified Wed Oct 29 21:49:07 2014 UTC (2 years, 10 months ago) by naucoin
BUG: fix crash when editing scripted screen shots

Fixed the default screen shot type to use the defined full layout
integer.
Added checks to avoid crashes for scripts that are in extensions.

The default screen shot type was set to -1 in the python scripts
and templates, but in the Qt widget, the screen shot type was
only defined from 0-4. Trying to open the scripted screen shot
node in the Qt widget would cause a crash since the -1 type was
cast to the enumerated WidgetType in qMRMLScreenShotDialog
resulting in an invalid number and a null widget.

Issue #3879

Revision 23741  Directory Listing
Modified Tue Oct 14 19:52:31 2014 UTC (2 years, 11 months ago) by lassoan
ENH: Added links to scripted module base classes

Revision 23707  Directory Listing
Modified Thu Sep 18 22:15:03 2014 UTC (3 years ago) by jcfr
STYLE: Fix typo "protocol" instead of "protocole"

Revision 23706  Directory Listing
Modified Thu Sep 18 22:15:01 2014 UTC (3 years ago) by jcfr
STYLE: Fix typo "nonexistent" instead of "non-existing "

Revision 23676  Directory Listing
Modified Sun Sep 14 11:28:09 2014 UTC (3 years ago) by jcfr
ENH: Added icon loading for scripted module base class

Python scripted modules that use the ScriptedLoadableModule base class
now load their icon from Resources/Icons/<ModuleName>.png.
If the icon file does not exist then the default icon is kept.
Modules can override the icon setting in the module __init__ function to
use any other custom icon.

Updated extension wizard template and extension test.

Updated one more module (VectorToScalarVolume) to use
ScriptedLoadableModule base class.

From: Andras Lasso <lasso@queensu.ca>

Revision 23661  Directory Listing
Modified Tue Sep 9 20:56:52 2014 UTC (3 years ago) by jcfr
ENH: Change required ITK version from 4.5 to 4.6

Starting with r23373 ITK 4.6.x is used to build and test Slicer.

$ git shortlog c127db8..6b5fa1a SuperBuild/External_ITKv4.cmake
jcfr (8):
      ENH: Update (1) ITKv4 from v4.5.2 to v4.6rc01 and (2) update BRAINSTools
      BUG: Update ITKv4 project to backport fix related to GDCMIO
      BUG: Update ITKv4 - Attempt to fix ResampleDTI tests
      COMP: Update ITKv4 - Fix "unused-local-typedefs" warning
      COMP: Move most of find_package calls into each Slicer sub-project.
      ENH: Move ITKv4 towards 4.6.0rc20140719
      ENH: Update ITKv4 and BRAINSTools
      BUG: Update ITKv4 and BRAINSTools - BRAINSFit performance improvement.

Revision 23616  Directory Listing
Modified Sat Aug 23 13:56:20 2014 UTC (3 years, 1 month ago) by lassoan
BUG: Fixed typo in scripted module template

Revision 23556  Directory Listing
Modified Wed Aug 6 06:44:31 2014 UTC (3 years, 1 month ago) by jcfr
ENH: Exclude crt extension from git hook line lengths check

Revision 23506  Directory Listing
Modified Tue Jul 29 23:59:34 2014 UTC (3 years, 1 month ago) by jcfr
ENH: Added developer mode and base classes for scripted modules

* Added "Enable developer mode" option in the application settings
(Developer section, next to Enable QtTesting)

* Added base classes for scripted module, widget, logic, and test: they
make scripted modules simpler and shorter and also more functions and
helper methods can be added in the future without changing each scripted
module
** Module handles selftest registration
** Widget handles reload&test (shown on GUI only in developer mode)
** Logic and Test contains delayDisplay utility function

* As an example, updated ScriptedLoadableModuleTemplate and SurfaceToolbox to use the new base classes

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

Revision 23481  Directory Listing
Modified Thu Jul 24 02:57:52 2014 UTC (3 years, 2 months ago) by jcfr
BUG: Ensure extension wizard can find git executable provided by Git Bash

This commit explicit set the environment variable "GIT_PYTHON_GIT_EXECUTABLE"
to ensure GitPython finds and uses the git executable provided by Git Bash.

Revision 23453  Directory Listing
Modified Fri Jul 18 04:45:59 2014 UTC (3 years, 2 months ago) by jcfr
COMP: Fix doxygen warnings and tweak doxygen layout

This commit also updated the main page to include an "important link"
section. It has been inspired by the Blender main page.

Revision 23452  Directory Listing
Modified Fri Jul 18 04:45:48 2014 UTC (3 years, 2 months ago) by jcfr
ENH: Update Doxygen minimum required version to 1.8.4

Revision 23413  Directory Listing
Modified Fri Jul 4 01:34:23 2014 UTC (3 years, 2 months ago) by jcfr
COMP: Move most of find_package calls into each Slicer sub-project.

To help address issue #3741 [1], call to find_package associated to CTK,
DCMTK, ITK and SlicerExecutionModel have been moved in every Slicer
sub project, library or module expecting it.

This allows to reduce both the number of include directories and
the number of libraries passed to the compiler.

Moving forward, every Slicer sub project, library or module will be
responsible to call find_package (optionally specifying a list of
components) and (if it applies) include the associated "use file".

Note that call to find_package(VTK) is still done at the top-level, before
moving the call to the expected sub-directories, the CTKConfig.cmake
will have to be updated to call find_package(VTK) specifying the required
components where it is needed.

[1] http://na-mic.org/Mantis/view.php?id=3741

Revision 23390  Directory Listing
Modified Fri Jun 27 21:32:34 2014 UTC (3 years, 2 months ago) by jcfr
BUG: Fix slicerExtensionWizard in MacOSX package. Fixes #3750

This commit fixes the following error:

//-----
 /Volumes/Slicer-4.3.1-2014-06-26-macosx-amd64/Slicer.app/Contents/bin/slicerExtensionWizard: line 11: /Volumes/Slicer-4.3.1-2014-06-26-macosx-amd64/Slicer.app/Contents/bin/../Slicer: No such file or directory
Traceback (most recent call last):
 File "/Volumes/Slicer-4.3.1-2014-06-26-macosx-amd64/Slicer.app/Contents/bin/../libexec/Slicer-4.3/ExtensionWizard.py", line 6, in <module>
   from SlicerWizard import ExtensionWizard
ImportError: No module named SlicerWizard
//-----

Instead of relying on Slicer launcher that is not available on MacOSX,
the SlicerPython launcher available on all platform is configured with
the path to the SlicerWizard module and the slicerExtensionWizard script
is updated to use it.

Co-authored-by: Peter Savadjiev <petersv@bwh.harvard.edu>

Revision 23322  Directory Listing
Modified Mon Jun 9 19:18:24 2014 UTC (3 years, 3 months ago) by mwoehlke
ENH: Clean up icon usage

Create new "XSmall" icon size for 16x16 icons, enabling us to provide
separate 16x16 (e.g. menu) and 22x22 (e.g. tool bar) icon sizes. Replace
ugly undo/redo icons with icons from the (public domain) Tango[1] theme.
Replace home icon with its Tango version for better consistency. Create
a script to generate qSlicerBaseQTGUI.qrc, as manually adding as many as
five entries per new icon is unnecessarily awkward. Arrange to use
themed icons when possible.

(1: http://tango.freedesktop.org/Tango_Icon_Library)

Revision 23300  Directory Listing
Modified Tue Jun 3 19:07:41 2014 UTC (3 years, 3 months ago) by mwoehlke
BUG: Fix qrcc.py operation on Windows

Change qrcc.py to use a temporary file to receive the raw binary rcc
data on Windows, in order to work around what appears to be a bug in rcc
where it is performing line ending (LF -> CRLF) conversion when writing
to stdout, resulting in corrupt data which causes Qt to crash when
trying to load the resources.

See also https://bugreports.qt-project.org/browse/QTBUG-39422, r23297.

Revision 23296  Directory Listing
Modified Fri May 30 22:44:48 2014 UTC (3 years, 3 months ago) by mwoehlke
BUG: Also check for installed templates

Modify SlicerWizard/ExtensionWizard.py to also look for the location to
which templates are installed (relative to its own install location) as
a default location for templates.

Revision 23295  Directory Listing
Modified Fri May 30 22:44:47 2014 UTC (3 years, 3 months ago) by mwoehlke
BUG: Pass template path to built wizard

Modify the build tree wrapper script for running the CLI Extension
Wizard to explicitly pass the template path for the built-in templates
(in the source tree). Since this script is configured anyway and only
used for the build tree, this is more straight forward than the trick we
use in the Extension Wizard module of parsing the CMakeCache.txt to find
the source directory.

Revision 23294  Directory Listing
Modified Fri May 30 22:44:46 2014 UTC (3 years, 3 months ago) by mwoehlke
ENH: Create CLI Extension Wizard 'launcher'

Create a wrapper script to set up the environment (using the Slicer
launcher's --launcher-show-set-environment-commands) and execute the CLI
Extension Wizard via the appropriate Python interpreter. (Also, install
the Python application launcher wrapper for the same.)

This should provide a single, consistent mechanism for running the CLI
Extension Wizard (from a bash shell) from both build and install trees,
and regardless of whether system or Slicer-built Python is used. (On
Windows, git-bash must be used.)

Revision 23290  Directory Listing
Modified Fri May 30 22:43:25 2014 UTC (3 years, 3 months ago) by mwoehlke
ENH: Add support for real Qt resources in Python

Add methods to qSlicerCoreApplication to allow Python code to invoke the
raw data overloads of QResource::[un]registerResource (which otherwise
cannot be invoked, as the requisite uchar* overloads are hidden by the
QString overloads). Create a Python script to generate a Python compiled
resource script (similar to pyrcc4 or pyside-rcc, except leveraging Qt's
native rcc rather than reimplementing it). Create CMake functions to
invoke this in an appropriate manner, and to create necessary target
dependencies so that the resulting Python files are created before the
ctkFunctionAddCompilePythonScriptTargets targets try to copy them to
their final build locations.

This system will allow Python loadable modules to use Qt resources by
creating a .qrc file and loading the resources using ':/path' notation,
in the same manner as C++ code (rather than individually copying every
resource file and loading them relative to the module's directory).

Revision 23274  Directory Listing
Modified Fri May 30 22:43:07 2014 UTC (3 years, 3 months ago) by mwoehlke
ENH: Make ExtensionProject.project writable

Add a setter for the ExtensionProject.project property, allowing users
to change the name given to the project() call of a corresponding build
script (CMakeLists.txt).

Revision 23273  Directory Listing
Modified Fri May 30 22:43:06 2014 UTC (3 years, 3 months ago) by mwoehlke
BUG: More unicode support fixes

Add support for conversion-to-unicode to CMakeParser. Fix str conversion
to more explicitly avoid having unicode in the results. Add encoding
detection and support to ExtensionProject. This should make it possible
to work with non-ASCII unicode in an ExtensionProject.

Revision 23270  Directory Listing
Modified Fri May 30 22:43:03 2014 UTC (3 years, 3 months ago) by mwoehlke
BUG: Improve ExtensionDescription robustness

Fix ExtensionDescription to not fail in case of a git repository with no
commits, and/or a local git repository with no remotes.

Revision 23266  Directory Listing
Modified Fri May 30 22:42:58 2014 UTC (3 years, 3 months ago) by mwoehlke
BUG: Fix TemplateManager unicode support

Add a helper function (in SlicerWizard.Utilities) to detect the
character encoding of an input byte sequence. Use this in
TemplateManager to correctly handle encoding conversion of template
files in case the replacement text is a unicode, rather than a str
(which otherwise results in an exception when automatic conversion tries
to convert non-ASCII files).

Revision 23264  Directory Listing
Modified Fri May 30 22:42:56 2014 UTC (3 years, 3 months ago) by mwoehlke
ENH: Add "introspection" to TemplateManager

Add new methods to TemplateManager to get the list of known categories
and available templates (the latter taking an optional category). These
are helpful for allowing the user to select from available templates in
cases where listTemplates() is not optimal (e.g. from a GUI).

Revision 23263  Directory Listing
Modified Fri May 30 22:42:55 2014 UTC (3 years, 3 months ago) by mwoehlke
ENH: Install SlicerWizard

Add rules to install the SlicerWizard modules. This gets us one step
closer to having the extension wizard available from an install tree,
and also makes the SlicerWizard package available from within Slicer
itself.

Note that installation of the SlicerWizard modules is conditional on
Slicer_BUILD_EXTENSIONMANAGER_SUPPORT being enabled.

Revision 23254  Directory Listing
Modified Wed May 28 17:42:00 2014 UTC (3 years, 3 months ago) by mwoehlke
STYLE: Add debugging to Extension Wizard

Add additional debugging information to the Extension Wizard when
creating a compare URL for a pull request to (hopefully) help diagnose
failures. Add a (hidden) --dryRun option which will skip actually
creating the pull request during --contribute.

Revision 23230  Directory Listing
Modified Fri May 23 03:43:42 2014 UTC (3 years, 4 months ago) by jcfr
ENH: Exclude json extension from git hook line lengths check

Revision 23227  Directory Listing
Modified Thu May 22 18:52:03 2014 UTC (3 years, 4 months ago) by mwoehlke
ENH: Install Extension Wizard templates

Add rules to install the module/extension templates used by the
Extension Wizard. This makes them available to users that do not have a
source checkout.

Revision 23219  Directory Listing
Modified Tue May 20 21:27:03 2014 UTC (3 years, 4 months ago) by mwoehlke
COMP: Fix SlicerWizard/Utilities.py for Python 2.6

Use tuples instead of set literals for checking for a supported VCS
tool, as set literals are only supported in Python 2.7.

Revision 23211  Directory Listing
Modified Mon May 19 21:32:00 2014 UTC (3 years, 4 months ago) by mwoehlke
BUG: Fix cpp documentation names

The C++ documentation covers all of Slicer, not just Base. Therefore,
fix the tarball name and target names (the latter of which have been
"wrong" since a while back).

Revision 23210  Directory Listing
Modified Mon May 19 21:31:59 2014 UTC (3 years, 4 months ago) by mwoehlke
ENH: Refactor documentation targets

Replace generate_userdoc.cmake script with direct build commands,
separating creation of the doc and creation of the tarball thereof into
separate targets, for consistency with how the SlicerWizard doc build
rules are set up. Also modify the latter to explicitly remove the old
tarball first for consistency with (the historic and retained behavior
of) the former.

The old rules depended on the output index.html, which would cause them
to do nothing once the doc had been created (ever). The new rules, like
the rules for the SlicerWizard doc, have no dependencies and so the doc
is always regenerated when the target is traversed. As doxygen
unfortunately does not implement its own dependency tracking (sphinx
does), this is very inefficient, but more correct, which is more
important for this case.

Revision 23209  Directory Listing
Modified Mon May 19 21:31:58 2014 UTC (3 years, 4 months ago) by mwoehlke
ENH: Generate tarball of SlicerWizard doc

Create a new build target to generate a tarball of the SlicerWizard
documentation. This is meant to be used similar to the existing Doxygen
tarball, to be scp'd or otherwise transferred from a build machine to
another machine which will serve the pages publicly.

Issue #3601

Revision 23038  Directory Listing
Modified Tue Apr 1 23:13:51 2014 UTC (3 years, 5 months ago) by mwoehlke
BUG: Fix/rewrite setupSlicerEnvironment.sh

Rewrite setupSlicerEnvironment.sh to use the new launcher option to
generate commands to set the environment. This fixes several problems
with the old setupSlicerEnvironment.sh, including:

- Failure to properly quote in order to cope with special characters.
- Incorrectly treating everything as a path list.

The new script is a glorified wrapper around 'eval' and exists more for
backwards compatibility than anything (and also now states that it is
deprecated).

Revision 23033  Directory Listing
Modified Tue Apr 1 18:09:03 2014 UTC (3 years, 5 months ago) by mwoehlke
BUG: Fix cross-linking to PyGithub documentation

Upstream documentation location for PyGithub has changed; update
intersphinx URL to point to the new location.

Revision 23021  Directory Listing
Modified Wed Mar 26 17:45:15 2014 UTC (3 years, 6 months ago) by hjohnson
STYLE: Remove end of line spaces

Spaces at the end of lines can cause noise in patch sets
when editors or git gobbles them up during other relatively
minor changes to files.

Removing end of line changes makes long term maintenance easier as
well.

When reviewing git histories or patch sets, the "--ignore-space-change"
option can be useful in filtering out changes due only to spacing.

i.e.
git diff HEAD~2 --ignore-space-change

Revision 23004  Directory Listing
Modified Fri Mar 14 19:47:43 2014 UTC (3 years, 6 months ago) by mwoehlke
BUG: Fix documentation targets

Move 'doc' target to be created, initially with no dependencies, to the
root CMakeLists.txt, so that it is always available for non-Doxygen doc
targets (e.g. SlicerWizard-doc). Change doxygen doc target to be a
separate target that is then added as a dependency of 'doc' in the same
manner as SlicerWizard-doc. Remove logic to control when targets are
part of the default target except from the root 'doc' target (since
duplicating it is superfluous).

Revision 23001  Directory Listing
Modified Wed Mar 12 18:51:19 2014 UTC (3 years, 6 months ago) by mwoehlke
BUG: Fix extension index push corner case

Fix error pushing a user update branch to the extension index if the
branch name already exists but has not been fetched locally. This can
happen e.g. if an index update request was previously created from a
different clone of the extension index.

Revision 23000  Directory Listing
Modified Wed Mar 12 18:51:18 2014 UTC (3 years, 6 months ago) by mwoehlke
ENH: Add version information to SlicerWizard

Add package version information to SlicerWizard, and add display of the
same via the usual '--version' argument to the Extension Wizard. Note
that this is done via a committed file containing the version
information which is duplicated from the top-level CMakeLists.txt. There
is also a CMakeLists.txt now in Utilities/Scripts/SlicerWizard to update
this file, which should keep the contents in sync. Updating the version
should ideally be done by making the changes in the top-level
CMakeLists.txt, configuring, and *then* committing the changes (which
will include as a result the SlicerWizard __version__.py).

Revision 22999  Directory Listing
Modified Wed Mar 12 18:51:17 2014 UTC (3 years, 6 months ago) by mwoehlke
STYLE: Document SlicerWizard package

Add some (very basic) documentation of the SlicerWizard package. This is
generic documentation of the package itself, different from the already
existing documentation of individual classes and modules within the
package. In particular, add a short note that this is API documentation
and not documentation for users of the Extension Wizard (with a link to
that documentation).

Also, remove mention of "Extension Wizard" in summary documentation of
WizardHelpFormatter, to avoid implying it is only useful for that
purpose.

Revision 22998  Directory Listing
Modified Wed Mar 12 18:51:16 2014 UTC (3 years, 6 months ago) by mwoehlke
STYLE: Improve SlicerWizard doc generation

Pass Slicer version and wiki version into SlicerWizard documentation
generation, and make use of the same. Add 'author' option and use as
required by the various documentation types, rather than each
duplicating the string (which was still set to "Author").

The way we arrange to communicate values into conf.py is a little
esoteric, but it works (and thus saves us from needing to make conf.py a
configured file), and seems to be the only reasonable way to pass
information from the command line to conf.py.

Revision 22997  Directory Listing
Modified Wed Mar 12 18:51:15 2014 UTC (3 years, 6 months ago) by mwoehlke
STYLE: Document SlicerWizard/TemplateManager.py

Add documentation for the public API of
SlicerWizard.ExtensionDescription. Also, make some minor code
improvements suggested in the course of writing the same:

- Allow clear() to take an optional name of a single attribute to remove
- Accept any object with a callable write() method as a stream in
  write()

Also, because we want to use it here, add a new reST role when
generating the documentation to create links to the Slicer wiki. (This
is useful because (1) it will allow us to later enhance the same to
select the appropriate version's documentation, and (2) the full links
are bloody long; way over our desired 80 character limit.)

Revision 22996  Directory Listing
Modified Wed Mar 12 18:51:14 2014 UTC (3 years, 6 months ago) by mwoehlke
ENH: Degrade gracefully if git unavailable

Modify SlicerWizard to attempt to gracefully degrade functionality if
either of the 'git' or 'github' packages are not available, in order to
make them "soft" rather than "hard" dependencies.

Revision 22995  Directory Listing
Modified Wed Mar 12 18:51:13 2014 UTC (3 years, 6 months ago) by mwoehlke
ENH: Add svn support to SlicerWizard

Add support for subversion repositories to SlicerWizard. This covers
ExtensionDescription and several methods in Utilities (e.g. getRepo),
and should allow the Extension Wizard 'describe' and 'contribute'
commands to work with svn repositories.

Revision 22994  Directory Listing
Modified Wed Mar 12 18:51:12 2014 UTC (3 years, 6 months ago) by mwoehlke
STYLE: "Expand" acronyms in documentation

Add a substitution for "CLI" to the SlicerWizard documentation to insert
a sphinx abbreviation where it is used.

Revision 22993  Directory Listing
Modified Wed Mar 12 18:51:11 2014 UTC (3 years, 6 months ago) by mwoehlke
ENH: Add Python Subversion module

Create a basic module for working with subversion repositories, loosely
based on GitPython. This will help us to work with extensions which use
svn for their source control. (None of the existing svn Python bindings
I tried were useful.)

Revision 22992  Directory Listing
Modified Wed Mar 12 18:51:10 2014 UTC (3 years, 6 months ago) by mwoehlke
ENH: Refactor and improve SlicerWizard arg parsing

Move conversion of Python method arguments to CLI arguments to its own
helper function in the Utilities module. Tweak this to handle non-string
arguments and to better handle bool and None arguments (note that a
named argument with the value None is now ignored, as is a named
argument with a value False; True is now used for flag options). Also
add support for "short" arguments (assuming a one-character name is
"short"). All this should make the conversion more intuitive and easier
to use.

Revision 22991  Directory Listing
Modified Wed Mar 12 18:51:09 2014 UTC (3 years, 6 months ago) by mwoehlke
ENH: Confirm changes to extension information

Change how 'extensionwizard.py --publish' modifies the extension
information to prompt the user before making changes to URL's (the
HOMEPAGE in particular, but also the ICONURL) if the existing URL does
not have 'example.com' as the host. As example.com is a reserved name,
such a URL (e.g. the default values from the templates) cannot possible
be valid and so should be safe to change in all cases, but this should
cause us to stop and confirm if we're about to change a URL that the
user has already changed to some potentially valid location (e.g. the
wiki).

Revision 22990  Directory Listing
Modified Wed Mar 12 18:51:08 2014 UTC (3 years, 6 months ago) by mwoehlke
BUG: Find pull request more strictly

Change how the Extension Wizard looks up pull requests to do the look-up
not against the user that submitted the request, but against the
downstream repository (which should imply the user). I'm not sure if
github even allows a user to have multiple forks of the same upstream
repository, but this will guard against that in case it would ever
happen.

Revision 22989  Directory Listing
Modified Wed Mar 12 18:51:06 2014 UTC (3 years, 6 months ago) by mwoehlke
STYLE: Document and enhance ExtensionWizard.py

Add documentation of SlicerWizard.ExtensionWizard. Tweak create() and
addModule() commands to improve error reporting, and in particular for
addModule() to attempt to do nothing in case of an error (or at least,
to not write changes to the extension's CMakeLists.txt). Add a helper
wrapper around execute() to allow for much greater flexibility, e.g. if
it should cause the application to terminate (and newly do so
consistently) or return an exit code, and to allow CLI arguments to be
passed as method arguments (including gitpython-like kwargs support).

Revision 22988  Directory Listing
Modified Wed Mar 12 18:51:05 2014 UTC (3 years, 6 months ago) by mwoehlke
BUG: Fix default exit code of Utilities.die

Change the default exit code of SlicerWizard.Utilities.die from 0 to 1.
The former is a poor choice as it means "success", which not usually the
case when calling die().

Revision 22987  Directory Listing
Modified Wed Mar 12 18:51:04 2014 UTC (3 years, 6 months ago) by mwoehlke
ENH: Add documentation generation for SlicerWizard

Add CMake machinery to generate (using sphinx) HTML documentation from
the Python docstrings of SlicerWizard. I've been using this internally
(calling sphinx-build by hand) for a while now, but am committing it now
that it has been tied into CMake. Parts of this are generated from
sphinx-apidoc, but there are also already some enhancements added, e.g.
intersphinx setup, and the overriding of autodoc.ClassDocumenter to
remove the redundant module name from class module classes.

Revision 22986  Directory Listing
Modified Wed Mar 12 18:51:03 2014 UTC (3 years, 6 months ago) by mwoehlke
STYLE: Remove execute permissions from modules

Remove the +x bits from the SlicerWizard module .py files, as these are
not needed or wanted (and now that the shebangs are removed, the commit
hook doesn't like them).

Revision 22985  Directory Listing
Modified Wed Mar 12 18:51:02 2014 UTC (3 years, 6 months ago) by mwoehlke
STYLE: Move WizardHelpFormatter to its own module

As the class is referenced in the SlicerWizard.TemplateManager
documentation, and as ExtensionWizard is a class module which (as a
module) we want to hide, move WizardHelpFormatter to its own module so
that it is available to external users. Also, add documentation for the
same.

Revision 22984  Directory Listing
Modified Wed Mar 12 18:51:01 2014 UTC (3 years, 6 months ago) by mwoehlke
STYLE: Document SlicerWizard/TemplateManager.py

Add documentation for the public API of SlicerWizard.TemplateManager.
Also, fix some code issues revealed in the course of writing the same:

- Add '_' prefix to private helper functions
- Add public setKey() method
- Move adding arguments to TemplateManager, for consistency with
  parseArguments()

Revision 22983  Directory Listing
Modified Wed Mar 12 18:51:00 2014 UTC (3 years, 6 months ago) by mwoehlke
STYLE: Document SlicerWizard/ExtensionProject.py

Add documentation for the public API of SlicerWizard.ExtensionProject.
Also, fix some code issues revealed in the course of writing the same:

- Merge superfluous private helper method into public method
- Change getValue() to return the value from the last 'set()'
- Allow use in 'with'

Revision 22982  Directory Listing
Modified Wed Mar 12 18:50:59 2014 UTC (3 years, 6 months ago) by mwoehlke
BUG: Fix CMakeParser.py parsing

Add some additional escapes which were not being handled. Remove
attempts to parse expansions; AFAICT they don't impact argument
splitting (which is what we really care about), and the existing logic
was inadequate.

Revision 22981  Directory Listing
Modified Wed Mar 12 18:50:58 2014 UTC (3 years, 6 months ago) by mwoehlke
STYLE: fix indent

Fix indentation of __all__ values in GithubHelper.py and Utilities.py,
which were using four spaces instead of two due to being copied from
another location that uses four-space indent.

Revision 22980  Directory Listing
Modified Wed Mar 12 18:50:57 2014 UTC (3 years, 6 months ago) by mwoehlke
STYLE: Make ExtensionProject.project a property

Change the project() method of ExtensionProject to a property, and
update uses accordingly.

Revision 22979  Directory Listing
Modified Wed Mar 12 18:50:56 2014 UTC (3 years, 6 months ago) by mwoehlke
STYLE: Document SlicerWizard/CMakeParser.py

Add documentation of SlicerWizard.CMakeParser. Tweak an exception
message that I noticed in the process could be improved.

Revision 22978  Directory Listing
Modified Wed Mar 12 18:50:55 2014 UTC (3 years, 6 months ago) by mwoehlke
STYLE: Document SlicerWizard/GithubHelper.py

Add documentation for the public API of SlicerWizard.GithubHelper. Also,
fix some code issues revealed in the course of writing the same:

- CredentialToken class is private; name should start with '_'
- CredentialToken did not output values added from text input
- logIn() function doesn't need a repository; it can be optional
- logIn() was not failing as expected in case of authentication failure
- getPullRequest() should accept additional criteria

Revision 22977  Directory Listing
Modified Wed Mar 12 18:50:54 2014 UTC (3 years, 6 months ago) by mwoehlke
STYLE: Document SlicerWizard/Utilities.py

Add documentation for the public API of SlicerWizard.Utilities. Also,
fix some minor code issues revealed in the course of writing the same:

- Use sys.exit instead of exit
- Remove unused 'clone' parameter from getRepo

Revision 22976  Directory Listing
Modified Wed Mar 12 18:50:53 2014 UTC (3 years, 6 months ago) by mwoehlke
STYLE: Remove silly shebangs

Remove shebangs ("#!/usr/bin/env python") from Python module code. These
are not meant to be executed directly, so shebangs are not appropriate.
(Their presence is almost certainly accidental.)

Revision 22975  Directory Listing
Modified Wed Mar 12 18:50:52 2014 UTC (3 years, 6 months ago) by mwoehlke
ENH: Use 'git credentials' in GithubHelper.py

Change GithubHelper.py to use 'git credentials' to get the login
information for github. This way we are not only handling this
information in the same manner as git, but we leverage its credentials
storage system as well. (The downside is that the user name is no longer
automatically stored permanently if the user is not using a password
manager.)

Revision 22974  Directory Listing
Modified Wed Mar 12 18:50:51 2014 UTC (3 years, 6 months ago) by mwoehlke
ENH: Sort ExtensionWizard.py --listTemplates

Change TemplateManager.listTemplates method to sort the list of
templates per category, rather than outputting in the semi-arbitrary
order of dict. (The categories come from a list, which retains the
declaration order - which is likely to be a meaningful, semantic
ordering that is at least as good as a lexical sorting - and so do not
need to be sorted.)

Revision 22973  Directory Listing
Modified Wed Mar 12 18:49:33 2014 UTC (3 years, 6 months ago) by jcfr
STYLE: Rename Slicer(Wizard.py) -> Extension

Given its current functionality, SlicerWizard.py is more appropriately
the Extension Wizard; rename it accordingly. This also allows us to
shorten the actions (by dropping 'extension' from the end).

Also, the 'submit' action has been renamed to 'contribute'.

Note that the module code has NOT been moved, as it conceivably could be
used by some other script. (Although the SlicerWizard class is renamed.)
Thus, the driver script now says 'from SlicerWizard import
ExtensionWizard'.

From: Matthew Woehlke <matthew.woehlke@kitware.com>

Revision 22972  Directory Listing
Modified Wed Mar 12 18:42:31 2014 UTC (3 years, 6 months ago) by mwoehlke
ENH: Add 'describe extension' to SlicerWizard.py

Add an action to "describe" an extension (i.e. dump its generated
description content to stdout). This is useful both as a user check
before publishing, and potentially can be used by CMake as an alternate
means of generating the s4ext file for the build.

Note that at the moment the extension must have a git repository.
Eventually we want to support subversion repositories and also
extensions that don't yet have a repository, but a number of places will
need to change for that (e.g. publishing should also support svn).

Revision 22971  Directory Listing
Modified Wed Mar 12 18:42:30 2014 UTC (3 years, 6 months ago) by mwoehlke
ENH: Add compare URL when updating extension

Change SlicerWizard.py to load the old extension description when
submitting an update to an extension, and to use this to generate and
include a compare URL in the pull request message with the changes in
the extension from the currently available (indexed) version.

Revision 22970  Directory Listing
Modified Wed Mar 12 18:42:29 2014 UTC (3 years, 6 months ago) by mwoehlke
ENH: Improve ExtensionDescription API

Add ability to directly construct an ExtensionDescription from a file
path. Note that unlike read() this takes the path to a description file,
not a directory containing a (single) extension description. This is
intended to be used to read extension descriptions from the index
repository.

Revision 22969  Directory Listing
Modified Wed Mar 12 18:42:28 2014 UTC (3 years, 6 months ago) by mwoehlke
ENH: Allow looking up github repository by URL

Change GithubHelper.getRepo to take either a name or clone URL, adding
the ability to look up a repository by a clone URL. This is needed to
find the github repository for an extension that has already been
published.

Revision 22968  Directory Listing
Modified Wed Mar 12 18:42:27 2014 UTC (3 years, 6 months ago) by mwoehlke
ENH: Create pull request when submitting extension

Finish implementing the base logic to crate the github pull request via
SlicerWizard when submitting an extension. This seems to be working for
additions. For updates, we still also want to generate a compare URL for
the extension repository to add to the pull request message.

Revision 22967  Directory Listing
Modified Wed Mar 12 18:42:26 2014 UTC (3 years, 6 months ago) by mwoehlke
STYLE: Move wrapping width to formatter

Move the variable holding the text wrap width from a global in
SlicerWizard/Utilities.py to a member of the log formatter class, now
that it is only used from there, and not from a freestanding function.

Revision 22966  Directory Listing
Modified Wed Mar 12 18:42:25 2014 UTC (3 years, 6 months ago) by mwoehlke
STYLE: Move exception logging to die()

Change die() in SlicerWizard/Utilities.py to log the current exception,
if there is one, and --debug has been given. This allows us to remove
the code to re-raise the exception (in order to produce the traceback)
any time we would otherwise call die() after catching an exception.

Revision 22965  Directory Listing
Modified Wed Mar 12 18:42:24 2014 UTC (3 years, 6 months ago) by mwoehlke
ENH: Refactor SlicerWizard logging

Convert SlicerWizard reporting to use Python's built-in logging
facility, and add additional debug messages (newly controlled by the
--debug option).

This gives us additional features and better control over logging, e.g.
we now implicitly use logging levels, with WARNING and higher going to
stderr, and INFO/DEBUG going to stdout, as well as applying text
wrapping to everything.

Revision 22964  Directory Listing
Modified Wed Mar 12 18:42:23 2014 UTC (3 years, 6 months ago) by mwoehlke
BUG: Include target in submit branch name

Include the target branch in the extension index branch created to
submit an extension. This is required to concurrently submit to multiple
target branches (which would otherwise be impossible due to branch name
collision).

Revision 22963  Directory Listing
Modified Wed Mar 12 18:42:22 2014 UTC (3 years, 6 months ago) by mwoehlke
ENH: Update user's fork when submitting extension

When submitting an extension, also push the current upstream branch to
the user's fork, so that the branch does not seem to include extraneous
history due to the target branch on the user's fork being behind
upstream.

Revision 22962  Directory Listing
Modified Wed Mar 12 18:42:21 2014 UTC (3 years, 6 months ago) by mwoehlke
BUG: Avoid trailing whitespace in description file

Change ExtensionDescription.py to strip whitespace from output lines
when writing the description file, in order to avoid writing trailing
space in case a value is not set.

Revision 22961  Directory Listing
Modified Wed Mar 12 18:42:19 2014 UTC (3 years, 6 months ago) by mwoehlke
ENH: Add 'submit extension' to SlicerWizard.py

Add a utility to manipulate slicer extension description files, which
can read an existing description file or create a description from an
extension git repository, and also write a description file (without
comments). Add helpers to get a named repository from github, or a
user's fork of a github repository. Add a git helper to find or create a
remote matching a specified fetch url. Modify git 'get repository'
helper to take a callable as the 'create' parameter in order to allow
enforcing that a newly-created repository is created in an empty (or
previously non-existing) directory.

Use all of the above to start implementing a 'submit extension' command,
which takes an extension repository and creates a pull request to add
the extension to the extensions index. So far this does everything but
create the actual pull request (i.e. handles the user's fork of the
index repository, and creating and pushing the commit against the index
repository to add or update the extension).

Revision 22960  Directory Listing
Modified Wed Mar 12 18:42:18 2014 UTC (3 years, 6 months ago) by mwoehlke
ENH: Add wrapped output to SlicerWizard.py

Add a 'printw' helper function to print wrapped text. Use this in die()
and one other appropriate spot.

Revision 22959  Directory Listing
Modified Wed Mar 12 18:42:17 2014 UTC (3 years, 6 months ago) by mwoehlke
BUG: Don't catch die() in SlicerWizard.py

Separately catch SystemExit and re-raise, so that calls to die() from
within a try-except don't print strange error messages.

Revision 22958  Directory Listing
Modified Wed Mar 12 18:42:16 2014 UTC (3 years, 6 months ago) by mwoehlke
ENH: Add debug option to SlicerWizard.py

Add an undocumented --debug option to SlicerWizard.py. When used,
exceptions are re-raised when caught, rather than showing a fatal error
with just the exception message. This is useful for development to get
the stack trace in case of unexpected exceptions due to incorrect code.

Revision 22957  Directory Listing
Modified Wed Mar 12 18:42:15 2014 UTC (3 years, 6 months ago) by mwoehlke
ENH: Add publishExtension to SlicerWizard

Add a new 'command' to SlicerWizard to publish (to github) an extension.
This creates a git repository for the extension (if one does not already
exist), creates a github repository for the extension, changes the
extension meta-information to reference the github repository, commits
said changes (or makes an initial commit with the contents of the
extension tree), adds the github repository as a remote, and pushes to
github.

Revision 22956  Directory Listing
Modified Wed Mar 12 18:42:14 2014 UTC (3 years, 6 months ago) by mwoehlke
ENH: Create CMake parser for SlicerWizard

Create a Python implementation of a CMake script parser (of sorts). This
is believed to parse most well-formed CMake script (including CMake 3.0
long brackets for strings and comments), and turns the script into a
parse tree that is well suited to editing and capable of reconstructing
the exact input document without reformatting. Use this, instead of
regular expressions, to perform the CMakeLists.txt manipulation when
adding a module to an extension.

In the long run, this will make it much easier to reliably manipulate
CMake scripts.

Revision 22955  Directory Listing
Modified Wed Mar 12 18:42:13 2014 UTC (3 years, 6 months ago) by mwoehlke
STYLE: Change error reporting in SlicerWizard

Create a new utility module for generic helper functions. Create and use
a new die() function to terminate the script with an error message,
rather than calling exit() all over the place.

Revision 22954  Directory Listing
Modified Wed Mar 12 18:42:12 2014 UTC (3 years, 6 months ago) by mwoehlke
ENH: Add option to list templates to SlicerWizard

Revision 22953  Directory Listing
Modified Wed Mar 12 18:42:11 2014 UTC (3 years, 6 months ago) by mwoehlke
STYLE: Fix indentation in SlicerWizard.py

Revision 22952  Directory Listing
Modified Wed Mar 12 18:42:09 2014 UTC (3 years, 6 months ago) by mwoehlke
STYLE: Improve SlicerWizard.py help

Use action.metavar to simplify our usage customization (some is still
needed to avoid breaking the word splitting). Mention TYPE in
--createExtension usage. Show usage when no action was requested.

Revision 22951  Directory Listing
Modified Wed Mar 12 18:42:08 2014 UTC (3 years, 6 months ago) by mwoehlke
STYLE: More refactoring of SlicerWizard

Also move manipulation of extension CMakeLists.txt to its own Python
module, and adjust code style to prefer raising exceptions in modules
rather than calling exit(). (We still do call exit(), but it is moved to
higher up the stack where we now catch the newly raised exceptions.)

Revision 22950  Directory Listing
Modified Wed Mar 12 18:42:07 2014 UTC (3 years, 6 months ago) by mwoehlke
STYLE: Refactor SlicerWizard into Python modules

Replace Scripts/SlicerWizard.py with a very short script that merely
imports the main wizard class, intantiates it, and calls its execute()
method. Move the code into two new Python module files in a
subdirectory.

This will allow for better scaling as we add features, by allowing us to
create additional modules as it makes sense, rather than needing to
encapsulate everything in a single monolithic script file.

Revision 22949  Directory Listing
Modified Wed Mar 12 18:42:06 2014 UTC (3 years, 6 months ago) by mwoehlke
ENH: Add user templates to SlicerWizard.py

Add support for user-specified template directories and keys to
SlicerWizard.py. This allows users to provide their own templates in
addition to the "built in" templates.

Revision 22948  Directory Listing
Modified Wed Mar 12 18:42:05 2014 UTC (3 years, 6 months ago) by mwoehlke
BUG: Fix argparse assert wrapping arguments

Tweak WizardHelpFormatter in SlicerWizard.py to temporarily replace
'[]'s in option value strings during formatting in order to avoid
argparse splitting these and tripping an assert in its internals.

Revision 22947  Directory Listing
Modified Wed Mar 12 18:42:04 2014 UTC (3 years, 6 months ago) by mwoehlke
ENH: Create new templates for wizard

Refactor the ModuleWizard.py templates for use by the new
SlicerWizard.py. The main changes are that the module templates no
longer have extension templates wrapped around them (and the extension
templates no longer contain modules), the directory organization has
been improved, and the placeholders are all now TemplateKey.

This last change in particular was to allow the SuperBuild template to
be named "SuperBuild" (which is easy for users to type and logical given
the new organization), and still contain files named like "SuperBuild"
that should not be renamed.

Revision 22946  Directory Listing
Modified Wed Mar 12 18:42:02 2014 UTC (3 years, 6 months ago) by mwoehlke
ENH: Create new slicer "wizard" tool

Create new SlicerWizard.py tool, more or less based on the existing
ModuleWizard.py, with improvements. This one separates the concepts of
extensions and modules, and allows creating an extension containing
several modules, as well as adding modules to an existing extension.

The mechanism for specifying templates is also changed; we now take
named templates which are searched for in a well-known location relative
to the script. (In the future it is expected that users will be able to
add additional template directories, however this has not been
implemented yet.)

Eventually it is hoped that this tool will add other actions, e.g.
publishing extensions.

Revision 22406  Directory Listing
Modified Wed Sep 4 10:47:55 2013 UTC (4 years ago) by jcfr
COMP: Exclude html extension from git hook line lengths check

Revision 22237  Directory Listing
Modified Fri Jul 26 15:58:15 2013 UTC (4 years, 2 months ago) by jcfr
COMP: Exclude mrml extension from git hook line lengths check

Revision 22106  Directory Listing
Modified Wed Jun 19 04:37:31 2013 UTC (4 years, 3 months ago) by jcfr
STYLE: Update ModuleWizard help message to consider template renaming

Following r21776, the superbuild extension template has been renamed. This
commit fixes the Wizard accordingly.

Revision 22105  Directory Listing
Modified Wed Jun 19 04:32:00 2013 UTC (4 years, 3 months ago) by jcfr
BUG: Update ModuleWizard to support *.cmake file

This will allow to successfully use the wizard against the
SuperBuild extension template.

Co-authored-by: Marine Clogenson <marine.clogenson@epfl.ch>

Revision 22002  Directory Listing
Modified Thu May 16 03:12:16 2013 UTC (4 years, 4 months ago) by jcfr
COMP: Exclude some extensions from git hook line lengths check

Extensions: *.ui, *.xml and *.xml.in

Revision 21946  Directory Listing
Modified Fri Apr 26 21:52:30 2013 UTC (4 years, 5 months ago) by jcfr
BUG: Fix hook error specific Git bash/GUI using an old version of BASH.

Thanks Sankhesk for his help.

See http://www.na-mic.org/Bug/view.php?id=3086
Fixes #3086

Revision 21913  Directory Listing
Modified Wed Apr 24 13:45:23 2013 UTC (4 years, 5 months ago) by sankhesh
ENH: Added versioning of SetupForDevelopment script

Recording the version of the development environment will help notify the
developer to re-run the SetupForDevelopment script. This can be done when there
are changes made to the environment setup scripts or to the client-side hooks.

The SetupForDevelopment script records the version of the developer setup in the
Git config file. This version is tested against the version specified in the
SetupForDevelopment script using the pre-commit hook.

This means, if there is a change in the developer setup (hooks, etc.), the
version number in the SetupForDevelopment script should be incremented to
notify other developers that they should update their setup.

Revision 21912  Directory Listing
Modified Wed Apr 24 13:45:21 2013 UTC (4 years, 5 months ago) by sankhesh
ENH: Added safeguard hook to tell developer to setup environment

A placeholder pre-commit hook is installed by CMake to ensure the developer sets
up the development environment before committing any changes.
Addresses issue 2834.

Revision 21911  Directory Listing
Modified Wed Apr 24 13:45:19 2013 UTC (4 years, 5 months ago) by sankhesh
ENH: Added script to setup development environment

Setup git user profile, git hooks and general git development environment with
this script.
Removed hard configuration of push URL.
Addresses issue 2834.

Revision 21647  Directory Listing
Modified Tue Jan 29 15:16:19 2013 UTC (4 years, 7 months ago) by pieper
ENH: use print function in ModuleWizard for compatibility

As reported by Alexandre Abbas, the use of the print statement
means that the ModuleWizard is incompatible with python3.
See, for example [1].  Since we want to let people develop
scripted modules against a binary build of slicer, we should
try to make the module wizard as general purpose as possible
so people can use any python they have installed.

[1] http://www.python.org/dev/peps/pep-3105/

Revision 20529  Directory Listing
Modified Sat Jun 30 01:35:59 2012 UTC (5 years, 2 months ago) by jcfr
COMP: Remove ModuleTemplate and use LoadableExtensionTemplate instead

See #2260 / http://na-mic.org/Bug/view.php?id=2260

Revision 20510  Directory Listing
Modified Thu Jun 28 18:16:45 2012 UTC (5 years, 2 months ago) by demian
ENH: Added a script to setup the slicer environment

Revision 20397  Directory Listing
Modified Mon Jun 18 18:05:48 2012 UTC (5 years, 3 months ago) by jcfr
COMP: Update ModuleWizard to copy over md5 files used to download data from Midas

Revision 20024  Directory Listing
Modified Fri May 4 17:57:01 2012 UTC (5 years, 4 months ago) by pieper
ENH: update ModuleWizard documents to include new examples

Revision 19958  Directory Listing
Modified Mon Apr 30 21:40:57 2012 UTC (5 years, 4 months ago) by Michael.jeulinl
ENH: Rename Slicer application classes

- Use to make distinction between inner and outer files.
- Make it more generic to be able to derive SlicerApp.
- Decouple resource usage between core and application.

Revision 19759  Directory Listing
Modified Fri Mar 30 20:44:05 2012 UTC (5 years, 5 months ago) by jcfr
BUG: ModuleWizard.py works against extension CLI template

* Thanks Bradley Lowekamp for contributing the patch

* As a side note, consider that the current model where the XML
description associated with CLI is configured is likely to disappear.
Instead information will be extracted from the XML file and used within
the CMakeLists of the extension if needed.

Revision 19721  Directory Listing
Modified Tue Mar 27 23:14:59 2012 UTC (5 years, 6 months ago) by jcfr
COMP: Prevent confusion by moving code related to build system under CMake dir

Revision 19712  Directory Listing
Modified Tue Mar 27 18:40:18 2012 UTC (5 years, 6 months ago) by jcfr
COMP: Prevent confusion bymoving SlicerCompleteBundles.cmake.in in CMake dir.

* Also update SlicerCPack.cmake so that configured files are created within
<Slicer_BINARY_DIR>/CMake

Revision 19038  Directory Listing
Modified Sat Jan 7 22:00:35 2012 UTC (5 years, 8 months ago) by pieper
ENH: fix usage message and add xml file to ModuleWizard so that CLIs can be created

Revision 19018  Directory Listing
Modified Thu Jan 5 01:58:57 2012 UTC (5 years, 8 months ago) by finetjul
COMP: Install the Qt plugins in the same location lib/QtPlugins

qt.conf doesn't support more than 1 plugin path so the plugins must be
in a unique location ?

Revision 19015  Directory Listing
Modified Wed Jan 4 05:33:25 2012 UTC (5 years, 8 months ago) by finetjul
COMP: Fix SlicerExecutionModel_LIBRARY_DIRS

It used to be empty.

Revision 19014  Directory Listing
Modified Wed Jan 4 05:33:22 2012 UTC (5 years, 8 months ago) by finetjul
COMP: CTK library path was incorrect in mac bundle fixup

CTK_DIR points to the superbuild build of CTK, not the inner build.
XXX_LIBRARY_DIRS must be used instead.

Revision 19013  Directory Listing
Modified Wed Jan 4 05:33:21 2012 UTC (5 years, 8 months ago) by finetjul
COMP: Fixup bundle for qt plugins

Revision 19012  Directory Listing
Modified Wed Jan 4 05:33:18 2012 UTC (5 years, 8 months ago) by finetjul
COMP: Use ctkMacroBuildQtPlugin.cmake to build designer plugins

Use also ctkMacroBuildQtPlugin.cmake to build iconengines plugins.

Revision 19010  Directory Listing
Modified Tue Jan 3 00:12:05 2012 UTC (5 years, 8 months ago) by finetjul
COMP: Bundle Qt Designer plugins

For some reasons, Qt designer plugins are .so files and not .dylib

Revision 18963  Directory Listing
Modified Tue Dec 20 19:35:41 2011 UTC (5 years, 9 months ago) by jcfr
ENH: Configure SlicerConfigVersion.cmake so that find_package(Slicer X.Y.Z) works

See http://www.cmake.org/Wiki/CMake/Tutorials/How_to_create_a_ProjectConfig.cmake_file

Revision 18931  Directory Listing
Modified Thu Dec 15 07:45:25 2011 UTC (5 years, 9 months ago) by jcfr
ENH: Add Slicer_BUILD_EXTENSIONMANAGER_SUPPORT option

* If disabled:
 - extension manager won't be integrated
 - external project qCDashAPI and LibArchive won't be checkedout

Revision 18929  Directory Listing
Modified Thu Dec 15 07:45:18 2011 UTC (5 years, 9 months ago) by jcfr
COMP: Add Slicer_BUILD_CLI_SUPPORT

* When disabled, neither the CLI factories or the CLI modules will be built.

Revision 18864  Directory Listing
Modified Tue Dec 6 20:49:19 2011 UTC (5 years, 9 months ago) by jcfr
COMP: Source code of all modules is now located in Modules sub-directory

Revision 18818  Directory Listing
Modified Mon Dec 5 23:59:04 2011 UTC (5 years, 9 months ago) by jcfr
COMP: Move Scripts into Utilities sub-directory

Revision 18817  Directory Listing
Modified Mon Dec 5 23:21:33 2011 UTC (5 years, 9 months ago) by jcfr
COMP: Remove empty dir

Revision 18816  Directory Listing
Modified Mon Dec 5 23:19:10 2011 UTC (5 years, 9 months ago) by jcfr
COMP: Remove unused script harness.tcl

Revision 18811  Directory Listing
Modified Mon Dec 5 23:19:01 2011 UTC (5 years, 9 months ago) by jcfr
COMP: Move UseSlicer.cmake.in into CMake sub-directory

Revision 18808  Directory Listing
Modified Mon Dec 5 23:18:55 2011 UTC (5 years, 9 months ago) by jcfr
COMP: Move SlicerGenerateSlicerConfig.cmake into CMake sub directory

Revision 18807  Directory Listing
Modified Mon Dec 5 23:18:53 2011 UTC (5 years, 9 months ago) by jcfr
COMP: Move SlicerCPack.cmake into CMake sub directory

Revision 18806  Directory Listing
Modified Mon Dec 5 23:18:49 2011 UTC (5 years, 9 months ago) by jcfr
COMP: Remove files associated with deprecated Tcl-based launcher

Revision 18302  Directory Listing
Modified Mon Oct 10 22:11:41 2011 UTC (5 years, 11 months ago) by jcfr
COMP: CompleteBundle - Remove extra code

* Library within lib/Slicer-4.0 shouldn't all be candidates for fixup

* Similarly, iconengines directory shouldn't be listed as a path containing
libraries to fixup and/or copy.

Revision 18280  Directory Listing
Modified Tue Oct 4 23:56:48 2011 UTC (5 years, 11 months ago) by jcfr
COMP: Update SlicerCompleteBundle script to consider PythonQt python modules

Revision 18276  Directory Listing
Modified Tue Oct 4 19:36:25 2011 UTC (5 years, 11 months ago) by jcfr
STYLE: Clean empty white spaces, update debug statements, re-order includes

Revision 18157  Directory Listing
Modified Wed Sep 21 19:50:42 2011 UTC (6 years ago) by jcfr
STYLE: Remove year from Kitware copyright

Revision 17854  Directory Listing
Modified Fri Aug 26 21:26:33 2011 UTC (6 years, 1 month ago) by jcfr
COMP: Rename Slicer_PLUGINS_LIB_DIR CMake variable into Slicer_CLIMODULES_LIB_DIR

Revision 17812  Directory Listing
Modified Tue Aug 23 23:06:35 2011 UTC (6 years, 1 month ago) by jcfr
COMP: Update CompleteBundles to consider sqldrivers Qt plugin

Revision 17749  Directory Listing
Modified Thu Aug 18 18:15:37 2011 UTC (6 years, 1 month ago) by finetjul
STYLE: Expand macros like vtk{Get|Set}[Object]Macro within doxygen documentation.

Revision 17486  Directory Listing
Modified Wed Jul 13 23:53:01 2011 UTC (6 years, 2 months ago) by jcfr
ENH: Superbuild - Pass variable Slicer_SUPERBUILD_DIR to Slicer inner project

Revision 17443  Directory Listing
Modified Sun Jul 10 19:36:39 2011 UTC (6 years, 2 months ago) by jcfr
ENH: CompleteBundles - Use @Slicer_LIB_DIR@ instead of hardcoded value "lib/Slicer3"

Revision 17442  Directory Listing
Modified Sun Jul 10 18:44:59 2011 UTC (6 years, 2 months ago) by jcfr
ENH: CompleteBundle - Account for build option

Revision 17441  Directory Listing
Modified Sun Jul 10 18:18:01 2011 UTC (6 years, 2 months ago) by jcfr
ENH: CompleteBundle - fixup message indicates progress: "current library/total number of library"

* A lot of useful information are already displayed within BundleUtilities.cmake
The problem is that message(STATUS ...) statement are not displayed on standard output.

Revision 17440  Directory Listing
Modified Sun Jul 10 18:17:59 2011 UTC (6 years, 2 months ago) by jcfr
ENH: CompleteBundles - Disable logging in gp_resolved_file_type_override

Revision 17439  Directory Listing
Modified Sun Jul 10 17:36:55 2011 UTC (6 years, 2 months ago) by jcfr
BUG: CompleteBundles - Configure location of log file using Slicer_BINARY_DIR

* Since DESTDIR isn't always set, using @Slicer_BINARY_DIR@ is more robust

Revision 17438  Directory Listing
Modified Sun Jul 10 17:28:11 2011 UTC (6 years, 2 months ago) by jcfr
ENH: CompleteBundles - gp_clear_log - Display location of the log file

Revision 17437  Directory Listing
Modified Sun Jul 10 17:21:12 2011 UTC (6 years, 2 months ago) by jcfr
ENH: CompleteBundle - Use gp_log_message()

* Also improve the message associated with "libs" and "libs_path" variable.
The items of these lists will now be displayed "one per line". These should
ease the reading of the output. In addition to that, for each path and lib_path,
the root common to all of them will be replaced by <Slicer_SUPERBUILD_DIR> when
it applies.

Revision 17436  Directory Listing
Modified Sun Jul 10 17:21:10 2011 UTC (6 years, 2 months ago) by jcfr
ENH: CompleteBundle - Override gp_resolved_file_type to explicitly tag "/usr/.*/lib" folder as system one.

* Since the built-in gp_resolved_file_type doesn't account for /usr/X11/lib,
doing so will allow to account for the case of libtcl8.4.dylib depending
on /usr/X11/lib/libX11.6.dylib.

* Ideally GetPrerequisites.cmake should be updated to include "/usr/X11/lib"

Revision 17435  Directory Listing
Modified Sun Jul 10 17:21:09 2011 UTC (6 years, 2 months ago) by jcfr
ENH: CompleteBundle - Add convenient function gp_log_message and gp_clear_log

* For some reason the message are swallowed and they won't be displayed
on the standard output. Logging them to file is then a convenient way
to keep track of the current stage of fixup_bundle.

* On unix like platform, the following could be done to monitor the log file:
tail -f </path/to/file>

Revision 17434  Directory Listing
Modified Sun Jul 10 17:21:07 2011 UTC (6 years, 2 months ago) by jcfr
ENH: CompleteBundle - Remove unused parameter in fixup_bundle_with_plugins()

Revision 17427  Directory Listing
Modified Sun Jul 10 02:45:47 2011 UTC (6 years, 2 months ago) by jcfr
COMP: CompleteBundle - Revert 17421 - In the install tree, @Slicer_LIB_DIR@ contains library !

* Also update matching rules

Revision 17426  Directory Listing
Modified Sun Jul 10 01:59:43 2011 UTC (6 years, 2 months ago) by jcfr
COMP: CompleteBundle - Update matching rule to account for library name only

* Using ".*" means sub-directory will also be considered, since
we want to fix reference associated with a single location,
we will use "[^/]+" instead.

Revision 17425  Directory Listing
Modified Sun Jul 10 01:59:41 2011 UTC (6 years, 2 months ago) by jcfr
COMP: CompleteBundle - Merge QTLOADABLEMODULES_LIB matching rules

Revision 17423  Directory Listing
Modified Sun Jul 10 01:59:37 2011 UTC (6 years, 2 months ago) by jcfr
COMP: CompleteBundle - Remove unused match associated with @Slicer_QtPlugins_DIR@/imageformats

* Qt ImageFormats are plugins and no other library should be linked against them

Revision 17422  Directory Listing
Modified Sun Jul 10 01:59:36 2011 UTC (6 years, 2 months ago) by jcfr
COMP: CompleteBundle - Merge ITKFACTORIES matching rules

* The ITKFactories being "plugins", no other libraries or executable should
linked against them. For that reason, it probably doesn't make sens to attempt
to fix library referencing them ...

Revision 17421  Directory Listing
Modified Sun Jul 10 01:59:34 2011 UTC (6 years, 2 months ago) by jcfr
COMP: CompleteBundle - Remove unused match associated with @Slicer_LIB_DIR@

* The build tree doesn't have any library in Slicer_LIB_DIR beside of the ITKFactories.

* Note that the ITKFactory case is already handled

Revision 17420  Directory Listing
Modified Sun Jul 10 01:59:32 2011 UTC (6 years, 2 months ago) by jcfr
COMP: CompleteBundle - Use @Slicer_LIB_DIR@ instead of hardcoded 'lib/Slicer3'

Revision 17419  Directory Listing
Modified Sat Jul 9 16:32:53 2011 UTC (6 years, 2 months ago) by jcfr
COMP: SlicerCompleteBundle - Fixup TclTk library again

* The match pattern should corresponds to the location of the library
within the build tree.

Revision 17417  Directory Listing
Modified Sat Jul 9 13:50:02 2011 UTC (6 years, 2 months ago) by jcfr
COMP: SlicerCompleteBundle - Fixup TclTk library

* Doing so will ensure the libraries are referenced relativly to the
location of the executable within the Bundle.

Revision 17416  Directory Listing
Modified Sat Jul 9 09:58:49 2011 UTC (6 years, 2 months ago) by jcfr
COMP: LauncherSettings - numpy/lib and numpy/core should be added to library path instead of python path

Revision 17415  Directory Listing
Modified Sat Jul 9 08:12:02 2011 UTC (6 years, 2 months ago) by jcfr
COMP: Package/MacOXS - Tcl External project should be installed as a "regular" project

* Since tcl/Tk libraries should be installed with their dependent "tcl" files,
relying on solely the bundle process is not sufficient.

Revision 17360  Directory Listing
Modified Wed Jul 6 23:24:51 2011 UTC (6 years, 2 months ago) by jcfr
COMP: CompleteBundles - Append OpenIGTLink/BatchMake lib path only if required

Revision 17359  Directory Listing
Modified Wed Jul 6 23:18:03 2011 UTC (6 years, 2 months ago) by jcfr
COMP: Add LibArchive to CompleteBundles script

Revision 17358  Directory Listing
Modified Wed Jul 6 23:18:01 2011 UTC (6 years, 2 months ago) by jcfr
COMP: Add SlicerExecutationModel to CompleteBundles script

Revision 17208  Directory Listing
Modified Thu Jun 23 19:18:09 2011 UTC (6 years, 3 months ago) by jcfr
STYLE: Rename Doc/copyright/copyright.txt into COPYRIGHT.txt

Revision 17191  Directory Listing
Modified Thu Jun 23 01:39:37 2011 UTC (6 years, 3 months ago) by jcfr
STYLE: Move CMake commands to match new conventions

The next step in removing end-of-lines is to run through all the
CMakeLists.txt files and clean them up.

This also changes all the key words to lower
case. The primary reason for changing key words is that all documentation for
CMakeLists.txt now shows the key words as lower case. Even the printed
“Mastering CMake v5” uses lower case. I’ve come across this several
times in my class where students stumble over the fact that the
documentation about Cmake does not match the implementation in ITK.

I have a script (a wrapper around a vim macro) written that can make
these substituions reliably (Tested on the BRAINS tree, the Slicer3
tree, and the ITK tree without causing any errors).  More complete
documentation can be found in
ITK/Utilities/Maintenance/HowToCreateTheCMakeCaseConversion.txt

Revision 16980  Directory Listing
Modified Sun Jun 12 17:53:27 2011 UTC (6 years, 3 months ago) by jcfr
ENH: Use variable Slicer_QtPlugins_DIR instead of hardcoded "lib/QtPlugins"

Revision 16868  Directory Listing
Modified Wed Jun 8 11:40:04 2011 UTC (6 years, 3 months ago) by jcfr
ENH: Change environment variable Slicer_HOME to SLICER_HOME

On windows, environment variable names are case insensitive, when using
either QProcessEnvironement() or os.putenv(), both Qt and python
will set the variable using uppercase(name).

To properly work with python and Qt, the environment variable Slicer_HOME
has been changed into SLICER_HOME. That way the name used to set the variable
will allow to retrieve the environment variable value across all platforms
and using either Qt, python or Tcl.

Revision 16854  Directory Listing
Modified Wed Jun 8 02:46:10 2011 UTC (6 years, 3 months ago) by jcfr
STYLE: Re-organize code in SlicerCompleteBundles.cmake.in

Revision 16851  Directory Listing
Modified Wed Jun 8 01:52:07 2011 UTC (6 years, 3 months ago) by jcfr
BUG: Make sure install rule associated with SlicerCompleteBundles.cmake is evaluated in its own directory

For a given directory, "install(SCRIPT ...)" rule will be evaluated first,
let's make sure the following install rule is evaluated within its own directory.
Otherwise, the associated script will be executed before any other relevant install rules.

Revision 16832  Directory Listing
Modified Tue Jun 7 18:03:25 2011 UTC (6 years, 3 months ago) by jcfr
ENH: Include SlicerCPack in Utilities/LastConfigureStep/CMakeLists.txt

The packaging step should be done last and the subdirectory LastConfigureStep
is the appropriate place.

Revision 16827  Directory Listing
Modified Mon Jun 6 21:16:09 2011 UTC (6 years, 3 months ago) by jcfr
COMP: Remove empty directory Utilities/Designer

Revision 16826  Directory Listing
Modified Mon Jun 6 21:15:16 2011 UTC (6 years, 3 months ago) by jcfr
COMP: Remove empry directory Utilities/Package

Revision 16805  Directory Listing
Modified Sat Jun 4 06:56:15 2011 UTC (6 years, 3 months ago) by jcfr
ENH: Remove deprecated QtDesigner python based launcher

Revision 16792  Directory Listing
Modified Sat Jun 4 06:54:57 2011 UTC (6 years, 3 months ago) by jcfr
COMP: Merge Utilities/Package/CMakeLists.txt with SlicerCPack.cmake

* CompleteBundles.cmake{.in} has been renamed into SlicerCompleteBundles.cmake{.in}

Revision 16790  Directory Listing
Modified Sat Jun 4 06:54:41 2011 UTC (6 years, 3 months ago) by jcfr
COMP: Factor out CMake code used to install python external modules

Revision 16789  Directory Listing
Modified Sat Jun 4 06:54:33 2011 UTC (6 years, 3 months ago) by jcfr
COMP: Factor out CMake code used to install Qt imageformats plugins

Revision 16785  Directory Listing
Modified Sat Jun 4 06:53:56 2011 UTC (6 years, 3 months ago) by jcfr
COMP: Configure install locations instead of using hard coded paths.

Revision 16784  Directory Listing
Modified Sat Jun 4 06:53:49 2011 UTC (6 years, 3 months ago) by jcfr
COMP: Change build and install dir associated with plugins, scripted and loadable modules

FixBundle expects library executable to be located no more than one
directory deep. For that reason, plugins, loadable and scripted module
are now built and install following this layout:

 <slicer-build>/plugins
               /qt-scripted-modules
               /qt-loadable-modules

 <slicer-install>/plugins
                 /qt-scripted-modules
                 /qt-loadable-modules

For matter of consistency, this apply to linux, mac and windows.

Revision 16779  Directory Listing
Modified Sat Jun 4 06:53:15 2011 UTC (6 years, 3 months ago) by jcfr
ENH: Switch Mac installation process to use BundleUtilities.

On the Mac we will let fixup_bundle resolve external dependencies rather than using our traditional install rules for them.

Revision 16771  Directory Listing
Modified Sat Jun 4 06:47:35 2011 UTC (6 years, 3 months ago) by jcfr
ENH: Refactor Install rule variables to only be used in install commands.

Added a second set of variables named Slicer_<blah>_DIR which contain the appropriate directory prefixes such as bin lib share. These variables can be used reference file in the build or install trees such as the input/output of a configure command. Slicer_INSTALL_<blah> should only be used for install commands as on the Mac these variables will be prefixed with Slicer.app\Contents which we likely do not want in the root of the build tree.

Revision 16614  Directory Listing
Modified Wed May 18 17:28:08 2011 UTC (6 years, 4 months ago) by jcfr
COMP: Rename macro GenerateSlicerConfig into SlicerGenerateSlicerConfig

Revision 16588  Directory Listing
Modified Tue May 17 06:46:07 2011 UTC (6 years, 4 months ago) by jcfr
COMP: Slicer3 compatibility launcher isn't built anymore

The following launchers now coexists:
1) Slicer4 - Tcl based launcher
2) Slicer - CTK AppLauncher (Qt based)

Revision 16490  Directory Listing
Modified Fri May 6 19:40:24 2011 UTC (6 years, 4 months ago) by jcfr
ENH: Slicer Base libraries, ModuleMRML and ModuleLogic targets are exported

Both global list Slicer_Libs_LIBRARIES and Slicer_Base_LIBRARIES have
been removed. It means libraries are expected to specify explicitly
their dependencies.

Variable Slicer_CORE_LIBRARY and Slicer_GUI_LIBRARY have been introduced.
They should be used each time it's required to link against qSlicerBaseQTCore
or qSlicerBaseQTGUI.

The variable MRML_LIBRARIES has been introduced, it should be used each
time a module is expected to link against the trhee libraries
 MRML, MRMLLogic and MRMLDisplayableManager. The rational behind this variable
is too anticipate a future possible relocation of MRML related libraries
outside of Slicer.

Waiting we setup a way to export the include directory associated with
all libraries so that they can be available to extension using SlicerConfig.
tThese diretories are still automatically appended to the global variables:
Slicer_Libs_INCLUDE_DIRS, Slicer_Base_INCLUDE_DIRS, Slicer_ModuleMRML_INCLUDE_DIRS
and Slicer_ModuleLogic_INCLUDE_DIRS

Revision 16375  Directory Listing
Modified Tue Apr 26 08:29:46 2011 UTC (6 years, 5 months ago) by jcfr
COMP: Rename Utilities/Package/CMakeLists.txt into SlicerCPack.cmake

Revision 16374  Directory Listing
Modified Tue Apr 26 08:29:44 2011 UTC (6 years, 5 months ago) by jcfr
COMP: Move Utilities/Package/3DSlicerLogo-app-icon.svg into ./Resources/ folder

Revision 16356  Directory Listing
Modified Tue Apr 26 08:28:50 2011 UTC (6 years, 5 months ago) by jcfr
COMP: Move Slicer.icns into Application/SlicerQT/Resources

Revision 16355  Directory Listing
Modified Tue Apr 26 08:28:47 2011 UTC (6 years, 5 months ago) by jcfr
COMP: Remove InstallDebugSystemLibraries.cmake

This file was here to support packaging of Debug build using
older version of visual studio:
 MSVC70: Visual C++ .NET 2002
 MSVC71: Visual C++ .NET 2003

This version of Visual Studio are not supported anymore to package Slicer.

Revision 16354  Directory Listing
Modified Tue Apr 26 08:28:46 2011 UTC (6 years, 5 months ago) by jcfr
COMP: Remove unused file - Utilities/Package/CMakeLists.txt.in

Revision 16353  Directory Listing
Modified Tue Apr 26 08:28:44 2011 UTC (6 years, 5 months ago) by jcfr
COMP: Remove occurences of Slicer_USE_QT variable

Revision 16351  Directory Listing
Modified Tue Apr 26 08:28:39 2011 UTC (6 years, 5 months ago) by jcfr
COMP: Added Utilites/LastConfigureStep

The commands in this directory are intended to be executed as
the end of the whole configuration process, as a "last step".
This directory is typically the last add_subdirectory in the
main CMakeLists.txt.

Revision 16273  Directory Listing
Modified Mon Apr 18 20:37:10 2011 UTC (6 years, 5 months ago) by finetjul
STYLE: Move Q_PROPERTY documentation before functions

Properties are the most important in the documentation, make it first

Revision 16227  Directory Listing
Modified Wed Apr 6 20:28:52 2011 UTC (6 years, 5 months ago) by jcfr
COMP: CPack - Disable "unused" generator enabled by default

Revision 16225  Directory Listing
Modified Wed Apr 6 20:28:48 2011 UTC (6 years, 5 months ago) by jcfr
COMP: Utilities/Package/CMakeLists.txt - Remove code related to getbuildtest

Revision 16217  Directory Listing
Modified Tue Apr 5 18:03:15 2011 UTC (6 years, 5 months ago) by pieper
ENH: store converted logo file in vector format in case it is needed in the future

Revision 16216  Directory Listing
Modified Tue Apr 5 17:54:24 2011 UTC (6 years, 5 months ago) by pieper
ENH: store converted logo file in vector format in case it is needed in the future

Revision 16215  Directory Listing
Modified Tue Apr 5 17:35:29 2011 UTC (6 years, 5 months ago) by pieper
BUG: fix bad alpha mask on icon file

Revision 16208  Directory Listing
Modified Mon Apr 4 17:33:03 2011 UTC (6 years, 5 months ago) by jcfr
COMP: Update Utilities/Package/CMakeLists.txt to use Slicer.icns

Revision 16207  Directory Listing
Modified Mon Apr 4 17:30:59 2011 UTC (6 years, 5 months ago) by jcfr
COMP: Rename Slicer3.icns into Slicer.icns

Revision 16173  Directory Listing
Modified Sat Apr 2 05:53:55 2011 UTC (6 years, 5 months ago) by jcfr
ENH: Modernize doxygen Documentation generation mechanism

Revision 16171  Directory Listing
Modified Sat Apr 2 00:17:42 2011 UTC (6 years, 5 months ago) by jcfr
COMP: Remove unused directory Utilities/Patch

Revision 16170  Directory Listing
Modified Sat Apr 2 00:15:18 2011 UTC (6 years, 5 months ago) by jcfr
COMP: Remove unused directory Utilities/BuildSystem

Revision 16169  Directory Listing
Modified Sat Apr 2 00:14:53 2011 UTC (6 years, 5 months ago) by jcfr
COMP: Remove unused directory Utilities/ETC

Revision 15891  Directory Listing
Modified Tue Jan 25 18:26:11 2011 UTC (6 years, 8 months ago) by finetjul
ENH: Change Slicer3 doc into Slicer4

Revision 15809  Directory Listing
Modified Mon Jan 10 23:40:15 2011 UTC (6 years, 8 months ago) by jcfr
COMP: Designer.py - Fix loading of qMRMLWidgets plugins

Revision 15629  Directory Listing
Modified Thu Dec 16 21:09:44 2010 UTC (6 years, 9 months ago) by pieper
BUG: set correct library for libarchive and ENH: add Slicer4 launcher as a copy of the Slicer3 launcher (use of Slicer3 is deprecated, but will require careful search of the source code to replace, since the string is used many places)

Revision 15621  Directory Listing
Modified Thu Dec 16 08:56:16 2010 UTC (6 years, 9 months ago) by jcfr
COMP: TCL install rules - bin directory shouldn't be excluded (it contains windows DLL)

Revision 15617  Directory Listing
Modified Thu Dec 16 07:36:28 2010 UTC (6 years, 9 months ago) by jcfr
COMP: LibArchive - Install the DLL for windows build

Revision 15606  Directory Listing
Modified Thu Dec 16 02:25:12 2010 UTC (6 years, 9 months ago) by jcfr
COMP: Added install rules for libarchive

Revision 15527  Directory Listing
Modified Fri Dec 10 23:20:25 2010 UTC (6 years, 9 months ago) by partyd
ENH: Remove slicer only libarchive.

Revision 15488  Directory Listing
Modified Thu Dec 9 13:26:36 2010 UTC (6 years, 9 months ago) by pieper
COMP: fix for 64 bit linux compile

Revision 15484  Directory Listing
Modified Thu Dec 9 06:31:37 2010 UTC (6 years, 9 months ago) by finetjul
ENH: Add libarchive to extract zip/tar archives

Revision 15481  Directory Listing
Modified Wed Dec 8 10:08:11 2010 UTC (6 years, 9 months ago) by jcfr
ENH: Package/CMakeLists.txt - Python - exclude extra folders and files

Add rules to exclude: man and headers

Revision 15480  Directory Listing
Modified Wed Dec 8 10:08:09 2010 UTC (6 years, 9 months ago) by jcfr
ENH: Package/CMakeLists.txt - Tcl - exclude extra folders and files

Add rules to exclude: man, demos, headers, ...

Revision 15478  Directory Listing
Modified Wed Dec 8 09:06:29 2010 UTC (6 years, 9 months ago) by jcfr
ENH: Package/CMakeLists.txt - Qt and PythonQt now installed in Slicer_INSTALL_LIB_DIR

Revision 15473  Directory Listing
Modified Wed Dec 8 08:59:01 2010 UTC (6 years, 9 months ago) by jcfr
STYLE: Package/CMakeLists - Fix indent, added comment

Revision 15472  Directory Listing
Modified Wed Dec 8 08:58:58 2010 UTC (6 years, 9 months ago) by jcfr
COMP: Package/CMakeLists.txt - Only Runtime or RuntimeLibraries of VTK,CTK,ITK,Teem,BatchMake,IGT project is installed

Revision 15471  Directory Listing
Modified Wed Dec 8 08:58:56 2010 UTC (6 years, 9 months ago) by jcfr
COMP: Package/CMakeLists.txt - Remove KWWidgets from the list of project to install

Revision 15470  Directory Listing
Modified Wed Dec 8 08:58:53 2010 UTC (6 years, 9 months ago) by jcfr
STYLE: Package/CMakeLists.txt - Added comments

Revision 15467  Directory Listing
Modified Wed Dec 8 08:58:47 2010 UTC (6 years, 9 months ago) by jcfr
COMP: Package/CMakeLists.txt - Remove code related to SunOS platform

Revision 15466  Directory Listing
Modified Wed Dec 8 08:58:44 2010 UTC (6 years, 9 months ago) by jcfr
ENH: Package/CMakeLists.txt - Simplify "find and install TCL"  to support only superbuild

Revision 15465  Directory Listing
Modified Wed Dec 8 08:58:42 2010 UTC (6 years, 9 months ago) by jcfr
ENH: Change CPack project name from Slicer3 to Slicer

Revision 15182  Directory Listing
Modified Thu Oct 28 05:35:19 2010 UTC (6 years, 10 months ago) by jcfr
STYLE: Do not use IMMEDIATE with CONFIGURE_FILE. Default behavior since cmake 2.2

See http://www.mail-archive.com/cmake@cmake.org/msg22231.html

Revision 15113  Directory Listing
Modified Fri Oct 8 03:44:00 2010 UTC (6 years, 11 months ago) by jcfr
COMP: Rename project Slicer3 into Slicer

Revision 15109  Directory Listing
Modified Fri Oct 8 03:41:33 2010 UTC (6 years, 11 months ago) by jcfr
COMP: Rename Slicer3_TCL_DIR into Slicer_TCL_DIR

Revision 15097  Directory Listing
Modified Fri Oct 8 03:39:47 2010 UTC (6 years, 11 months ago) by jcfr
COMP: Rename Slicer3_HOME into Slicer_HOME

Revision 15091  Directory Listing
Modified Fri Oct 8 03:34:10 2010 UTC (6 years, 11 months ago) by jcfr
COMP: Rename Slicer3_USE_KWWIDGETS into Slicer_USE_KWWIDGETS

Revision 15090  Directory Listing
Modified Fri Oct 8 03:33:56 2010 UTC (6 years, 11 months ago) by jcfr
COMP: Rename Slicer3_USE_PYTHON into Slicer_USE_PYTHON

Revision 15089  Directory Listing
Modified Fri Oct 8 03:33:34 2010 UTC (6 years, 11 months ago) by jcfr
COMP: Rename Slicer3_USE_PYTHONQT into Slicer_USE_PYTHONQT

Revision 15088  Directory Listing
Modified Fri Oct 8 03:33:20 2010 UTC (6 years, 11 months ago) by jcfr
COMP: Rename Slicer3_USE_QT into Slicer_USE_QT

Revision 15071  Directory Listing
Modified Thu Oct 7 03:29:35 2010 UTC (6 years, 11 months ago) by jcfr
COMP: Rename variables Slicer3_VERSION* into Slicer_VERSION*

Revision 15070  Directory Listing
Modified Thu Oct 7 03:29:24 2010 UTC (6 years, 11 months ago) by jcfr
COMP: Rename variable Slicer3_INSTALL_* into Slicer_INSTALL_*

Revision 15066  Directory Listing
Modified Thu Oct 7 02:41:32 2010 UTC (6 years, 11 months ago) by jcfr
COMP: Remove unused directory Utilites/Patches

Revision 15065  Directory Listing
Modified Thu Oct 7 02:41:22 2010 UTC (6 years, 11 months ago) by jcfr
COMP: Remove unused directory Utilities/BuildSystem and Utilites/ETC

Revision 14934  Directory Listing
Modified Sat Sep 4 17:26:56 2010 UTC (7 years ago) by partyd
COMP: Fix install rule on Linux.

Revision 14931  Directory Listing
Modified Sat Sep 4 16:53:00 2010 UTC (7 years ago) by partyd
ENH: Add Mac Qt Framework install rules and fix up mac libPythonQt install rules.

Revision 14918  Directory Listing
Modified Sat Sep 4 02:13:54 2010 UTC (7 years ago) by jcfr
BUG: CPack - Make sure QTDBUS is installed on UNIX and APPLE systems

Revision 14910  Directory Listing
Modified Fri Sep 3 22:00:10 2010 UTC (7 years ago) by partyd
ENH: Fix install rules for python so it can install python built from a superbuild tree.

Revision 14879  Directory Listing
Modified Thu Sep 2 17:38:18 2010 UTC (7 years ago) by partyd
ENH: Fix tcl install rules to install tcl when Slicer3_USE_PYTHONQT_WITH_TCL is enabled.

Revision 14856  Directory Listing
Modified Thu Sep 2 07:56:54 2010 UTC (7 years ago) by finetjul
COMP: Remove typo in CMakeLists file

Revision 14849  Directory Listing
Modified Thu Sep 2 03:19:43 2010 UTC (7 years ago) by partyd
ENH: Python needs to get installed even if we are building pythonqt. Duh!

Revision 14848  Directory Listing
Modified Thu Sep 2 02:40:02 2010 UTC (7 years ago) by partyd
BUG: install qt dlls in bin on Windows.

Revision 14845  Directory Listing
Modified Thu Sep 2 00:21:24 2010 UTC (7 years ago) by partyd
ENH: Fix PythonQt library names

Revision 14841  Directory Listing
Modified Wed Sep 1 22:24:58 2010 UTC (7 years ago) by partyd
COMP: remove component.

Revision 14839  Directory Listing
Modified Wed Sep 1 22:07:29 2010 UTC (7 years ago) by partyd
ENH: Massively improved install rule for Qt libraries.

Revision 14820  Directory Listing
Modified Wed Sep 1 18:32:28 2010 UTC (7 years ago) by partyd
ENH: First pass at installing PythonQt runtime. Will need more fixes for Unix and Mac.

Revision 14739  Directory Listing
Modified Mon Aug 30 03:20:17 2010 UTC (7 years ago) by partyd
ENH: Improve install rules to install CTK and additonal Qt libraries if needed.

Revision 14733  Directory Listing
Modified Mon Aug 30 00:20:58 2010 UTC (7 years ago) by partyd
ENH: Add install rule for python dll.

Revision 14676  Directory Listing
Modified Wed Aug 25 15:28:14 2010 UTC (7 years, 1 month ago) by tokuda
BUG: fix OpenIGTLinkIF CPack issue (the module was not loaded)

Revision 13833  Directory Listing
Modified Thu Jun 17 08:26:37 2010 UTC (7 years, 3 months ago) by jcfr
COMP: Removed unused Utilities/Patches/PythonQt files

Revision 13315  Directory Listing
Modified Tue May 11 16:43:17 2010 UTC (7 years, 4 months ago) by finetjul
ENH: Merge Slicer4 branch on trunk rev12438 -> rev13314

Revision 12852  Directory Listing
Modified Wed Apr 21 19:16:01 2010 UTC (7 years, 5 months ago) by partyd
BUG: fix install rule for packaging in Qt libraries on Linux when Slicer3_USE_QT is enabled.

Revision 12432  Directory Listing
Modified Tue Mar 23 01:57:05 2010 UTC (7 years, 6 months ago) by partyd
ENH: check in the darwin blt patch to fascilitate using it much easier.

Revision 12243  Directory Listing
Modified Thu Feb 25 22:36:19 2010 UTC (7 years, 7 months ago) by jcfr
BUG: Superbuild - Pass variable Slicer3_TCL_DIR to Slicer3 project and update Package/CMakeLists.txt to consider the variable.

Revision 12229  Directory Listing
Modified Thu Feb 25 21:34:58 2010 UTC (7 years, 7 months ago) by jcfr
ENH: SlicerQT - Added cmake script, diff files and PythonQtCMakeLists.txt allowing to patch PythonQT SVN head.

Revision 11996  Directory Listing
Modified Fri Feb 5 03:03:33 2010 UTC (7 years, 7 months ago) by jcfr
BUG: SlicerQT - Designer.py was unnecessarily setting PATH - only  QT_PLUGIN_PATH is required

Revision 11931  Directory Listing
Modified Tue Feb 2 21:43:00 2010 UTC (7 years, 7 months ago) by pieper
BUG: fixes for running designer on mac

Revision 11916  Directory Listing
Modified Tue Feb 2 05:14:29 2010 UTC (7 years, 7 months ago) by jcfr
COMP: SlicerQT - For now, launcher 'Slicer3' (based on startkits) is also configured if Slicer3_USE_KWWidgets is OFF.

Required to be able to run SlicerQT on a windows build.
./slicer3 --launch SlicerQT

Some test also expect the launcher 'Slicer3' to be present. (for example VTKITKReader)
On windows, the launcher is mandatory to run the test.

Revision 11894  Directory Listing
Modified Sat Jan 30 20:16:42 2010 UTC (7 years, 7 months ago) by jcfr
COMP: Update the messages printed by Slicer3FindQT and Designer/CMakeLists.txt

Revision 11876  Directory Listing
Modified Fri Jan 29 17:04:49 2010 UTC (7 years, 7 months ago) by naucoin
STYLE: update comments

Revision 11873  Directory Listing
Modified Fri Jan 29 16:41:16 2010 UTC (7 years, 7 months ago) by jcfr
COMP: Usefull script allowing to convert header file following that comment style:

// Description:
// Text of the desc

to

//
// Text of the desc

Note also that all single comment staring with '//' will be converted to '///'

Revision 11698  Directory Listing
Modified Tue Jan 19 17:58:11 2010 UTC (7 years, 8 months ago) by jcfr
COMP: SlicerQT - When configured, Designer.py scripts is now executable.

Doing so allows to execute directly the script.

Revision 11561  Directory Listing
Modified Fri Jan 8 05:10:51 2010 UTC (7 years, 8 months ago) by jcfr
BUG: SlicerQT - Added method toCygwinPath to Slicer3/Utilities/Designer/Designer.py

If required, path are converted according to cygwin specs.

Revision 11551  Directory Listing
Modified Thu Jan 7 22:01:01 2010 UTC (7 years, 8 months ago) by jcfr
BUG: SlicerQT - Fix Utilitis/Designer/CMakeLists.txt

Conversion of LIBRARY_OUTPUT_DIRECTORY to native path was done inproperly

Revision 11550  Directory Listing
Modified Thu Jan 7 21:53:55 2010 UTC (7 years, 8 months ago) by jcfr
ENH: SlicerQT - Improve QT Designer launcher:
  - Comment
  - Handle Darwin OS to be able to launch designer
  - Handle Cygwin in order to update OS environment properly

Revision 11547  Directory Listing
Modified Thu Jan 7 17:21:27 2010 UTC (7 years, 8 months ago) by jcfr
ENH: SlicerQT - Add Designer launcher configuration to a separate folder: Slicer3/Utilities/Designer

Revision 11510  Directory Listing
Modified Mon Jan 4 21:34:15 2010 UTC (7 years, 8 months ago) by partyd
COMP: fix typo.

Revision 11502  Directory Listing
Modified Mon Jan 4 01:54:40 2010 UTC (7 years, 8 months ago) by partyd
ENH: fix install rule for QT libs to go into bin dir on Windows.

Revision 11500  Directory Listing
Modified Sun Jan 3 23:30:56 2010 UTC (7 years, 8 months ago) by partyd
ENH: initial commit of install rules to copy in QT libs. ENH: disable CPACK_COMPONENTS_ALL as we don't want to use component based installs at the moment.

Revision 11497  Directory Listing
Modified Sun Jan 3 01:26:35 2010 UTC (7 years, 8 months ago) by partyd
ENH: hopefully disable the component based installer generated for windows.

Revision 11336  Directory Listing
Modified Fri Dec 18 06:13:49 2009 UTC (7 years, 9 months ago) by jcfr
BUG: The top-level executable allowing to start Slicer is generated again.

The problem was located on Slicer3/Utilities/Launcher/CMakeLists.txt - line 23

The following command was somehow adding a '\n' to its output ..
  execute_process(COMMAND uname -m OUTPUT_VARIABLE machine)

the solution was to change it into:
  execute_process(COMMAND uname -m OUTPUT_VARIABLE machine OUTPUT_STRIP_TRAILING_WHITESPACE)

Revision 11290  Directory Listing
Modified Tue Dec 15 09:02:00 2009 UTC (7 years, 9 months ago) by jcfr
COMP: Updated Slicer3PluginsMacros, GenerateSlicer3Config and Utilities/Package/CMakeLists.txt to include TCL/KWWidgets code only if required

Revision 11249  Directory Listing
Modified Fri Dec 11 01:05:43 2009 UTC (7 years, 9 months ago) by partyd
ENH: remove debugging message. BUG fix cpack to include the RuntimeExecutables component so vtk.exe will be installed.

Revision 11232  Directory Listing
Modified Wed Dec 9 08:37:02 2009 UTC (7 years, 9 months ago) by jcfr
ENH: Update CMakeLists.txt, use "execute_process(COMMAND ...)" instead the deprecated "exec_program(...)"

Revision 11209  Directory Listing
Modified Tue Dec 8 04:15:18 2009 UTC (7 years, 9 months ago) by jcfr
ENH: Update CMakeLists.txt - CMake 2.6 is now required

The following line have been added:

CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
IF(COMMAND CMAKE_POLICY)
  CMAKE_POLICY(SET CMP0003 NEW)
ENDIF(COMMAND CMAKE_POLICY)
MARK_AS_ADVANCED(CMAKE_BACKWARDS_COMPATIBILITY)

Revision 11042  Directory Listing
Modified Tue Nov 24 19:08:43 2009 UTC (7 years, 10 months ago) by jcfr
BUG: SlicerQT - Fix configuration of 'Designer.py'

Revision 11041  Directory Listing
Modified Tue Nov 24 19:05:02 2009 UTC (7 years, 10 months ago) by jcfr
BUG: SlicerQT - When configuring 'Designer.py.in', check the value of CMAKE_CONFIGURATION_TYPES.

Revision 11040  Directory Listing
Modified Tue Nov 24 18:13:45 2009 UTC (7 years, 10 months ago) by jcfr
ENH: SlicerQT - At build time, a script named 'Designer.py' will be created in Slicer3-build directory. Running 'python Designer.py' with optionnally the path to a UI file will launch QtDesigner with the appropriate environement variable allowing it to discover SlicerQT Plugins.

Revision 10795  Directory Listing
Modified Thu Oct 29 22:36:10 2009 UTC (7 years, 10 months ago) by barre
ENH: support for new cameras and new views. Port from Slicer 3.4 branch. As mentioned on the mailing list, apologies for instabilities while these core changes are further tested. Fiducials do not seem to follow camera for example, this will be fixed. Send bugs to sebastien.barre@kitware.com; Thank you.

Revision 10443  Directory Listing
Modified Thu Sep 10 18:11:33 2009 UTC (8 years ago) by pieper
COMP: apply patches from Attila Nagy for Solaris builds

Revision 10426  Directory Listing
Modified Tue Sep 8 20:52:14 2009 UTC (8 years ago) by hjohnson
COMP: With the conversion to CMake version 2.6, the variables CMAKE_RUNTIME_OUTPUT_DIRECTORY CMAKE_LIBRARY_OUTPUT_DIRECTORY CMAKE_ARCHIVE_OUTPUT_DIRECTORY should be used instead of EXECUTABLE_OUTPUT_PATH and LIBRARY_OUTPUT_PATH.

Revision 10163  Directory Listing
Modified Mon Aug 3 13:29:15 2009 UTC (8 years, 1 month ago) by pieper
COMP: solaris build fixes from Attila - thanks, Attila

Revision 9528  Directory Listing
Modified Mon May 18 19:28:55 2009 UTC (8 years, 4 months ago) by pieper
BUG: need to set permissions when installing executables

Revision 9445  Directory Listing
Modified Mon May 11 12:12:25 2009 UTC (8 years, 4 months ago) by pieper
ENH: fixes from Attila Nagy for solaris 32 and 64 bit

Revision 9169  Directory Listing
Modified Mon Apr 13 18:44:32 2009 UTC (8 years, 5 months ago) by pieper
COMP: make python in distribution package be executable (to work for stochastic tractography

Revision 8987  Directory Listing
Modified Fri Mar 27 16:00:00 2009 UTC (8 years, 6 months ago) by pieper
BUG: fix copy/paste error refering to package name

Revision 8689  Directory Listing
Modified Wed Feb 18 21:27:51 2009 UTC (8 years, 7 months ago) by hliu
BUG: cpack OpenIGTLink library if it exists.

Revision 8601  Directory Listing
Modified Mon Feb 9 14:21:17 2009 UTC (8 years, 7 months ago) by pieper
BUG: fix icon on windows launcher

Revision 8399  Directory Listing
Modified Thu Jan 15 23:29:20 2009 UTC (8 years, 8 months ago) by pieper
COMP: add batchmake to install list

Revision 8357  Directory Listing
Modified Mon Jan 12 17:40:37 2009 UTC (8 years, 8 months ago) by pieper
COMP: fixes to support shared libraries for SunOS (special thanks to Attila Nagy for supplying the patches

Revision 7799  Directory Listing
Modified Wed Nov 5 23:39:51 2008 UTC (8 years, 10 months ago) by pieper
COMP: change from TEEM to Teem for compatibility with current svn trunk of teem

Revision 7604  Directory Listing
Modified Thu Sep 25 19:27:45 2008 UTC (9 years ago) by barre
ENH: add extension support for the installer (.mrml and .xcat), fix the Python install (remember, not everybody is using getbuildtest.tcl, i.e. some people provide their own goold-old Python)

Revision 7603  Directory Listing
Modified Thu Sep 25 19:26:44 2008 UTC (9 years ago) by barre
ENH: use the Win32 launcher on Win64 platform until Steve creates a new one. Not that it actually is needed :)

Revision 7591  Directory Listing
Modified Wed Sep 17 23:13:24 2008 UTC (9 years ago) by barre
ENH: moved from Sandbox

Revision 7590  Directory Listing
Modified Wed Sep 17 23:13:18 2008 UTC (9 years ago) by barre
ENH: moved from Sandbox

Revision 7589  Directory Listing
Modified Wed Sep 17 22:59:01 2008 UTC (9 years ago) by barre
ENH: move experimental module BuildSystem macros from the Sandbox to Slcier

Revision 7537  Directory Listing
Modified Fri Sep 5 18:55:08 2008 UTC (9 years ago) by pieper
ENH: extra infrastructure for building scipy

Revision 7521  Directory Listing
Modified Fri Aug 29 16:35:42 2008 UTC (9 years ago) by pieper
ENH: newly created versions to match the sun version

Revision 7503  Directory Listing
Modified Thu Aug 28 14:50:47 2008 UTC (9 years ago) by pieper
ENH: add created launcher to repository

Revision 7358  Directory Listing
Modified Tue Jul 29 22:11:55 2008 UTC (9 years, 1 month ago) by pieper
COMP: add python to the standard startup sequence (library paths and install tree)

Revision 7336  Directory Listing
Modified Thu Jul 24 22:25:45 2008 UTC (9 years, 2 months ago) by pieper
COMP: add support for solaris x86 (many thanks to Attila Nagy\!)

Revision 7292  Directory Listing
Modified Tue Jul 15 16:07:50 2008 UTC (9 years, 2 months ago) by barre
ENH: what if the launcher doesn't exist (Slicer3-win64.exe?)

Revision 7215  Directory Listing
Modified Fri Jun 27 14:12:42 2008 UTC (9 years, 3 months ago) by barre
ENH: move the splashscreen so that it can be used by other launchers

Revision 6878  Directory Listing
Modified Tue May 27 19:26:52 2008 UTC (9 years, 4 months ago) by barre
ENH: never use CMAKE_INSTALL_PREFIX in INSTALL()

Revision 6862  Directory Listing
Modified Mon May 26 16:45:57 2008 UTC (9 years, 4 months ago) by barre
BUG: fix Package/CMakeLists.txt so that external Tcl/Tk (and/or 8.5) can be installed too and use install(DIRECTORY

Revision 6841  Directory Listing
Modified Mon May 26 15:03:04 2008 UTC (9 years, 4 months ago) by barre
BUG: fix Package/CMakeLists.txt so that external Tcl/Tk (and/or 8.5) can be installed too and use install(DIRECTORY

Revision 6840  Directory Listing
Modified Mon May 26 15:01:28 2008 UTC (9 years, 4 months ago) by barre
ENH: let's make it so that we can use 8.5 too

Revision 6839  Directory Listing
Modified Fri May 23 16:31:50 2008 UTC (9 years, 4 months ago) by pieper
BUG: fix the icon file and icon resources in launcher

Revision 6768  Directory Listing
Modified Tue May 20 07:23:12 2008 UTC (9 years, 4 months ago) by barre
ENH: Slicer3 Spring Installation Clean Up

Revision 6468  Directory Listing
Modified Sat Apr 12 18:09:29 2008 UTC (9 years, 5 months ago) by pieper
COMP: fix destination path for packaging

Revision 6467  Directory Listing
Modified Sat Apr 12 01:13:58 2008 UTC (9 years, 5 months ago) by hayes
BUG: Reverting to earlier version to work with old CPack

Revision 6444  Directory Listing
Modified Fri Apr 11 12:19:59 2008 UTC (9 years, 5 months ago) by pieper
COMP: add target for compatibility with newer cmake

Revision 5493  Directory Listing
Modified Mon Jan 14 18:19:50 2008 UTC (9 years, 8 months ago) by millerjv
BUG: Remove launcher message from build script

Revision 3659  Directory Listing
Modified Fri Jun 22 19:25:29 2007 UTC (10 years, 3 months ago) by barre
ENH: you guys should use CMakeSetup more often :)

Revision 3496  Directory Listing
Modified Wed Jun 6 20:15:53 2007 UTC (10 years, 3 months ago) by pieper
ENH: new launchers to address red hat link bug

Revision 3495  Directory Listing
Modified Wed Jun 6 20:12:10 2007 UTC (10 years, 3 months ago) by pieper
BUG: revert to older linux verion of launcher to handle link problem for red hat EL3

Revision 3462  Directory Listing
Modified Sun Jun 3 20:48:52 2007 UTC (10 years, 3 months ago) by pieper
ENH: helper code for callgrind based profiling

Revision 3410  Directory Listing
Modified Fri May 18 17:59:58 2007 UTC (10 years, 4 months ago) by pieper
ENH: rework launcher so Tk isn't loaded until we're sure we need it

Revision 3406  Directory Listing
Modified Thu May 17 22:06:55 2007 UTC (10 years, 4 months ago) by pieper
ENH: new set of launcher - include the linux x86_64 special launcher

Revision 3402  Directory Listing
Modified Thu May 17 18:35:29 2007 UTC (10 years, 4 months ago) by blezek
COMP: Handle launcher selection on RHEL 4 / Xeon architecture

Revision 3399  Directory Listing
Modified Thu May 17 17:43:58 2007 UTC (10 years, 4 months ago) by pieper
ENH: handle platform detection in cmake

Revision 3398  Directory Listing
Modified Thu May 17 17:30:15 2007 UTC (10 years, 4 months ago) by pieper
BUG: address problem with missing 32 bit libs on some 64 bit linux machines by making a unique launcher for 64 bits.  Also update to tcl 8.4.13

Revision 3397  Directory Listing
Modified Thu May 17 17:28:17 2007 UTC (10 years, 4 months ago) by pieper
BUG: address problem with missing 32 bit libs on some 64 bit linux machines by making a unique launcher for 64 bits.  Also update to tcl 8.4.13

Revision 3173  Directory Listing
Modified Fri Apr 6 22:05:13 2007 UTC (10 years, 5 months ago) by pieper
ENH: don't let cpack set the global windows Path variable

Revision 3129  Directory Listing
Modified Mon Apr 2 20:03:52 2007 UTC (10 years, 5 months ago) by pieper
BUG: icon file needed INSTALL directive so it would show up in the install directory

Revision 3120  Directory Listing
Modified Mon Apr 2 18:43:37 2007 UTC (10 years, 5 months ago) by pieper
ENH: switch to new launcher that gives startup feedback

Revision 3097  Directory Listing
Modified Fri Mar 30 19:46:31 2007 UTC (10 years, 5 months ago) by pieper
STYLE: an example of a manually written makefile using loopy and randomFail

Revision 3096  Directory Listing
Modified Fri Mar 30 19:45:14 2007 UTC (10 years, 5 months ago) by pieper
ENH: example syntax for using the ETC utilities

Revision 3093  Directory Listing
Modified Fri Mar 30 19:42:59 2007 UTC (10 years, 5 months ago) by pieper
ENH: added wrapper mode for loopy and extended random fail experiment example

Revision 3091  Directory Listing
Modified Fri Mar 30 18:45:38 2007 UTC (10 years, 5 months ago) by blezek
ENH: ETC library to generate makefiles

Revision 3090  Directory Listing
Modified Fri Mar 30 18:34:57 2007 UTC (10 years, 5 months ago) by pieper
BUG: missing - in command line argument

Revision 3089  Directory Listing
Modified Fri Mar 30 18:29:45 2007 UTC (10 years, 5 months ago) by pieper
ENH: new infrastructure for parallel experiment execution

Revision 2980  Directory Listing
Modified Tue Mar 20 19:10:40 2007 UTC (10 years, 6 months ago) by hayes
BUG: Added teem to package

Revision 2978  Directory Listing
Modified Tue Mar 20 16:55:36 2007 UTC (10 years, 6 months ago) by andy
COMP: Put all kwwidgets in the package

Revision 2902  Directory Listing
Modified Mon Mar 12 14:38:27 2007 UTC (10 years, 6 months ago) by pieper
ENH: new windows icons!

Revision 2899  Directory Listing
Modified Sun Mar 11 21:49:57 2007 UTC (10 years, 6 months ago) by wjp@bwh.harvard.edu
ENH: win32 desktop icons that all contain black in colormaps

Revision 2862  Directory Listing
Modified Thu Mar 8 20:42:39 2007 UTC (10 years, 6 months ago) by hliu
BUG: set right launcher_platform for Mac.

Revision 2839  Directory Listing
Modified Wed Mar 7 14:32:14 2007 UTC (10 years, 6 months ago) by pieper
BUG: the windows launcher icons turn out to be more trouble than they are worth at the moment so I'm disabling them for now

Revision 2837  Directory Listing
Modified Wed Mar 7 11:52:51 2007 UTC (10 years, 6 months ago) by wjp@bwh.harvard.edu
ENH: remade icons to ensure correct color resolution

Revision 2829  Directory Listing
Modified Tue Mar 6 22:49:29 2007 UTC (10 years, 6 months ago) by pieper
ENH: additional infrastructure for windows launchers and run time icons

Revision 2828  Directory Listing
Modified Tue Mar 6 22:42:10 2007 UTC (10 years, 6 months ago) by wjp@bwh.harvard.edu
ENH: made ico logo square to minimize ugly effects of binary alpha channel

Revision 2746  Directory Listing
Modified Tue Mar 6 14:27:18 2007 UTC (10 years, 6 months ago) by pieper
ENH: added support for slicer3 logo icons for the launcher

Revision 2578  Directory Listing
Modified Tue Feb 13 19:04:06 2007 UTC (10 years, 7 months ago) by andy
ENH: Add slicer3 icon for mac

Revision 2540  Directory Listing
Modified Fri Feb 9 20:52:05 2007 UTC (10 years, 7 months ago) by pieper
ENH: fix for mac machine name - cmake says i386 instead of x86

Revision 2526  Directory Listing
Modified Fri Feb 9 16:55:18 2007 UTC (10 years, 7 months ago) by pieper
BUG: fix up case issue between windows and real operating systems

Revision 2523  Directory Listing
Modified Fri Feb 9 16:44:44 2007 UTC (10 years, 7 months ago) by pieper
ENH: new launcher mechanism based on tclkit (same as slicer2) to provide fast feedback to users during launch process

Revision 2521  Directory Listing
Modified Fri Feb 9 15:40:29 2007 UTC (10 years, 7 months ago) by pieper
ENH: new infrastructure for making starkit-based launcher for slicer3

Revision 2014  Directory Listing
Modified Thu Jan 4 09:00:12 2007 UTC (10 years, 8 months ago) by andy
COMP: Overcome CPack issue. This is cleaner anyway

Revision 1724  Directory Listing
Modified Thu Nov 30 22:27:28 2006 UTC (10 years, 9 months ago) by pieper
ENH: added helper text to license file and changed version number to include 'alpha' and added license pointer to cpack infoLicense.txt

Revision 1304  Directory Listing
Modified Thu Sep 21 19:35:07 2006 UTC (11 years ago) by andy
ENH: Try to handle debug libraries on windows

Revision 1277  Directory Listing
Modified Tue Sep 19 19:15:50 2006 UTC (11 years ago) by andy
ENH: Move packaging into a subdirectory and start working on supporting tcl installing

Revision 1250  Directory Listing
Modified Thu Sep 14 13:59:57 2006 UTC (11 years ago) by andy
COMP: Remove CMake 2.5 command

Revision 1249  Directory Listing
Modified Thu Sep 14 13:28:31 2006 UTC (11 years ago) by andy
STYLE: Cleanup debug message

Revision 1181  Directory Listing
Modified Wed Sep 6 15:33:47 2006 UTC (11 years ago) by andy
ENH: Add ITK links

Revision 1087  Directory Listing
Added Tue Aug 22 16:35:51 2006 UTC (11 years, 1 month ago) by andy
ENH: Initial import of doxygen

  Subversion  TortoiseSVN  ViewVC