/[Slicer4]/branches/Slicer-4-4/Utilities
ViewVC logotype

Log of /branches/Slicer-4-4/Utilities

View Directory Listing Directory Listing


Sticky Revision:

Revision 23777 - Directory Listing
Modified Tue Nov 4 11:24:07 2014 UTC (2 years, 11 months ago) by jcfr
ENH: Branching from trunk to Slicer-4-4 at r23774

Revision 23774 - Directory Listing
Modified Sun Nov 2 21:58:30 2014 UTC (2 years, 11 months ago) by jcfr
Original Path: trunk/Utilities
ENH: Slicer 4.4.0

Revision 23768 - Directory Listing
Modified Thu Oct 30 17:29:02 2014 UTC (2 years, 11 months ago) by jcfr
Original Path: trunk/Utilities
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, 11 months ago) by naucoin
Original Path: trunk/Utilities
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, 11 months ago) by naucoin
Original Path: trunk/Utilities
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 (3 years ago) by lassoan
Original Path: trunk/Utilities
ENH: Added links to scripted module base classes

Revision 23707 - Directory Listing
Modified Thu Sep 18 22:15:03 2014 UTC (3 years, 1 month ago) by jcfr
Original Path: trunk/Utilities
STYLE: Fix typo "protocol" instead of "protocole"

Revision 23706 - Directory Listing
Modified Thu Sep 18 22:15:01 2014 UTC (3 years, 1 month ago) by jcfr
Original Path: trunk/Utilities
STYLE: Fix typo "nonexistent" instead of "non-existing "

Revision 23676 - Directory Listing
Modified Sun Sep 14 11:28:09 2014 UTC (3 years, 1 month ago) by jcfr
Original Path: trunk/Utilities
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, 1 month ago) by jcfr
Original Path: trunk/Utilities
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
Original Path: trunk/Utilities
BUG: Fixed typo in scripted module template

Revision 23556 - Directory Listing
Modified Wed Aug 6 06:44:31 2014 UTC (3 years, 2 months ago) by jcfr
Original Path: trunk/Utilities
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, 2 months ago) by jcfr
Original Path: trunk/Utilities
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
Original Path: trunk/Utilities
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, 3 months ago) by jcfr
Original Path: trunk/Utilities
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, 3 months ago) by jcfr
Original Path: trunk/Utilities
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, 3 months ago) by jcfr
Original Path: trunk/Utilities
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, 3 months ago) by jcfr
Original Path: trunk/Utilities
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, 4 months ago) by mwoehlke
Original Path: trunk/Utilities
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, 4 months ago) by mwoehlke
Original Path: trunk/Utilities
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, 4 months ago) by mwoehlke
Original Path: trunk/Utilities
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, 4 months ago) by mwoehlke
Original Path: trunk/Utilities
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, 4 months ago) by mwoehlke
Original Path: trunk/Utilities
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, 4 months ago) by mwoehlke
Original Path: trunk/Utilities
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, 4 months ago) by mwoehlke
Original Path: trunk/Utilities
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, 4 months ago) by mwoehlke
Original Path: trunk/Utilities
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, 4 months ago) by mwoehlke
Original Path: trunk/Utilities
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, 4 months ago) by mwoehlke
Original Path: trunk/Utilities
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, 4 months ago) by mwoehlke
Original Path: trunk/Utilities
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, 4 months ago) by mwoehlke
Original Path: trunk/Utilities
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, 4 months ago) by mwoehlke
Original Path: trunk/Utilities
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, 5 months ago) by jcfr
Original Path: trunk/Utilities
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, 5 months ago) by mwoehlke
Original Path: trunk/Utilities
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, 5 months ago) by mwoehlke
Original Path: trunk/Utilities
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, 5 months ago) by mwoehlke
Original Path: trunk/Utilities
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, 5 months ago) by mwoehlke
Original Path: trunk/Utilities
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, 5 months ago) by mwoehlke
Original Path: trunk/Utilities
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, 6 months ago) by mwoehlke
Original Path: trunk/Utilities
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, 6 months ago) by mwoehlke
Original Path: trunk/Utilities
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
Original Path: trunk/Utilities
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, 7 months ago) by mwoehlke
Original Path: trunk/Utilities
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, 7 months ago) by mwoehlke
Original Path: trunk/Utilities
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, 7 months ago) by mwoehlke
Original Path: trunk/Utilities
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, 7 months ago) by mwoehlke
Original Path: trunk/Utilities
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, 7 months ago) by mwoehlke
Original Path: trunk/Utilities
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, 7 months ago) by mwoehlke
Original Path: trunk/Utilities
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, 7 months ago) by mwoehlke
Original Path: trunk/Utilities
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, 7 months ago) by mwoehlke
Original Path: trunk/Utilities
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, 7 months ago) by mwoehlke
Original Path: trunk/Utilities
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, 7 months ago) by mwoehlke
Original Path: trunk/Utilities
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, 7 months ago) by mwoehlke
Original Path: trunk/Utilities
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, 7 months ago) by mwoehlke
Original Path: trunk/Utilities
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, 7 months ago) by mwoehlke
Original Path: trunk/Utilities
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, 7 months ago) by mwoehlke
Original Path: trunk/Utilities
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, 7 months ago) by mwoehlke
Original Path: trunk/Utilities
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, 7 months ago) by mwoehlke
Original Path: trunk/Utilities
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, 7 months ago) by mwoehlke
Original Path: trunk/Utilities
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, 7 months ago) by mwoehlke
Original Path: trunk/Utilities
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, 7 months ago) by mwoehlke
Original Path: trunk/Utilities
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, 7 months ago) by mwoehlke
Original Path: trunk/Utilities
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, 7 months ago) by mwoehlke
Original Path: trunk/Utilities
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, 7 months ago) by mwoehlke
Original Path: trunk/Utilities
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, 7 months ago) by mwoehlke
Original Path: trunk/Utilities
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, 7 months ago) by mwoehlke
Original Path: trunk/Utilities
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, 7 months ago) by mwoehlke
Original Path: trunk/Utilities
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, 7 months ago) by mwoehlke
Original Path: trunk/Utilities
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, 7 months ago) by mwoehlke
Original Path: trunk/Utilities
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, 7 months ago) by mwoehlke
Original Path: trunk/Utilities
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, 7 months ago) by mwoehlke
Original Path: trunk/Utilities
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, 7 months ago) by jcfr
Original Path: trunk/Utilities
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, 7 months ago) by mwoehlke
Original Path: trunk/Utilities
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, 7 months ago) by mwoehlke
Original Path: trunk/Utilities
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, 7 months ago) by mwoehlke
Original Path: trunk/Utilities
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, 7 months ago) by mwoehlke
Original Path: trunk/Utilities
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, 7 months ago) by mwoehlke
Original Path: trunk/Utilities
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, 7 months ago) by mwoehlke
Original Path: trunk/Utilities
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, 7 months ago) by mwoehlke
Original Path: trunk/Utilities
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, 7 months ago) by mwoehlke
Original Path: trunk/Utilities
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, 7 months ago) by mwoehlke
Original Path: trunk/Utilities
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, 7 months ago) by mwoehlke
Original Path: trunk/Utilities
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, 7 months ago) by mwoehlke
Original Path: trunk/Utilities
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, 7 months ago) by mwoehlke
Original Path: trunk/Utilities
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, 7 months ago) by mwoehlke
Original Path: trunk/Utilities
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, 7 months ago) by mwoehlke
Original Path: trunk/Utilities
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, 7 months ago) by mwoehlke
Original Path: trunk/Utilities
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, 7 months ago) by mwoehlke
Original Path: trunk/Utilities
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, 7 months ago) by mwoehlke
Original Path: trunk/Utilities
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, 7 months ago) by mwoehlke
Original Path: trunk/Utilities
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, 7 months ago) by mwoehlke
Original Path: trunk/Utilities
ENH: Add option to list templates to SlicerWizard

Revision 22953 - Directory Listing
Modified Wed Mar 12 18:42:11 2014 UTC (3 years, 7 months ago) by mwoehlke
Original Path: trunk/Utilities
STYLE: Fix indentation in SlicerWizard.py

Revision 22952 - Directory Listing
Modified Wed Mar 12 18:42:09 2014 UTC (3 years, 7 months ago) by mwoehlke
Original Path: trunk/Utilities
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, 7 months ago) by mwoehlke
Original Path: trunk/Utilities
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, 7 months ago) by mwoehlke
Original Path: trunk/Utilities
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, 7 months ago) by mwoehlke
Original Path: trunk/Utilities
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, 7 months ago) by mwoehlke
Original Path: trunk/Utilities
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, 7 months ago) by mwoehlke
Original Path: trunk/Utilities
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, 7 months ago) by mwoehlke
Original Path: trunk/Utilities
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, 1 month ago) by jcfr
Original Path: trunk/Utilities
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
Original Path: trunk/Utilities
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, 4 months ago) by jcfr
Original Path: trunk/Utilities
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, 4 months ago) by jcfr
Original Path: trunk/Utilities
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, 5 months ago) by jcfr
Original Path: trunk/Utilities
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
Original Path: trunk/Utilities
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
Original Path: trunk/Utilities
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
Original Path: trunk/Utilities
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
Original Path: trunk/Utilities
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, 8 months ago) by pieper
Original Path: trunk/Utilities
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, 3 months ago) by jcfr
Original Path: trunk/Utilities
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, 3 months ago) by demian
Original Path: trunk/Utilities
ENH: Added a script to setup the slicer environment

Revision 20397 - Directory Listing
Modified Mon Jun 18 18:05:48 2012 UTC (5 years, 4 months ago) by jcfr
Original Path: trunk/Utilities
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, 5 months ago) by pieper
Original Path: trunk/Utilities
ENH: update ModuleWizard documents to include new examples

Revision 19958 - Directory Listing
Modified Mon Apr 30 21:40:57 2012 UTC (5 years, 5 months ago) by Michael.jeulinl
Original Path: trunk/Utilities
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, 6 months ago) by jcfr
Original Path: trunk/Utilities
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
Original Path: trunk/Utilities
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
Original Path: trunk/Utilities
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, 9 months ago) by pieper
Original Path: trunk/Utilities
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, 9 months ago) by finetjul
Original Path: trunk/Utilities
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, 9 months ago) by finetjul
Original Path: trunk/Utilities
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, 9 months ago) by finetjul
Original Path: trunk/Utilities
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, 9 months ago) by finetjul
Original Path: trunk/Utilities
COMP: Fixup bundle for qt plugins

Revision 19012 - Directory Listing
Modified Wed Jan 4 05:33:18 2012 UTC (5 years, 9 months ago) by finetjul
Original Path: trunk/Utilities
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, 9 months ago) by finetjul
Original Path: trunk/Utilities
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, 10 months ago) by jcfr
Original Path: trunk/Utilities
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, 10 months ago) by jcfr
Original Path: trunk/Utilities
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, 10 months ago) by jcfr
Original Path: trunk/Utilities
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, 10 months ago) by jcfr
Original Path: trunk/Utilities
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, 10 months ago) by jcfr
Original Path: trunk/Utilities
COMP: Move Scripts into Utilities sub-directory

Revision 18817 - Directory Listing
Modified Mon Dec 5 23:21:33 2011 UTC (5 years, 10 months ago) by jcfr
Original Path: trunk/Utilities
COMP: Remove empty dir

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

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

Revision 18808 - Directory Listing
Modified Mon Dec 5 23:18:55 2011 UTC (5 years, 10 months ago) by jcfr
Original Path: trunk/Utilities
COMP: Move SlicerGenerateSlicerConfig.cmake into CMake sub directory

Revision 18807 - Directory Listing
Modified Mon Dec 5 23:18:53 2011 UTC (5 years, 10 months ago) by jcfr
Original Path: trunk/Utilities
COMP: Move SlicerCPack.cmake into CMake sub directory

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

Revision 18302 - Directory Listing
Modified Mon Oct 10 22:11:41 2011 UTC (6 years ago) by jcfr
Original Path: trunk/Utilities
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 (6 years ago) by jcfr
Original Path: trunk/Utilities
COMP: Update SlicerCompleteBundle script to consider PythonQt python modules

Revision 18276 - Directory Listing
Modified Tue Oct 4 19:36:25 2011 UTC (6 years ago) by jcfr
Original Path: trunk/Utilities
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, 1 month ago) by jcfr
Original Path: trunk/Utilities
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
Original Path: trunk/Utilities
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
Original Path: trunk/Utilities
COMP: Update CompleteBundles to consider sqldrivers Qt plugin

Revision 17749 - Directory Listing
Modified Thu Aug 18 18:15:37 2011 UTC (6 years, 2 months ago) by finetjul
Original Path: trunk/Utilities
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, 3 months ago) by jcfr
Original Path: trunk/Utilities
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, 3 months ago) by jcfr
Original Path: trunk/Utilities
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, 3 months ago) by jcfr
Original Path: trunk/Utilities
ENH: CompleteBundle - Account for build option

Revision 17441 - Directory Listing
Modified Sun Jul 10 18:18:01 2011 UTC (6 years, 3 months ago) by jcfr
Original Path: trunk/Utilities
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, 3 months ago) by jcfr
Original Path: trunk/Utilities
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, 3 months ago) by jcfr
Original Path: trunk/Utilities
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, 3 months ago) by jcfr
Original Path: trunk/Utilities
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, 3 months ago) by jcfr
Original Path: trunk/Utilities
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, 3 months ago) by jcfr
Original Path: trunk/Utilities
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, 3 months ago) by jcfr
Original Path: trunk/Utilities
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, 3 months ago) by jcfr
Original Path: trunk/Utilities
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, 3 months ago) by jcfr
Original Path: trunk/Utilities
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, 3 months ago) by jcfr
Original Path: trunk/Utilities
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, 3 months ago) by jcfr
Original Path: trunk/Utilities
COMP: CompleteBundle - Merge QTLOADABLEMODULES_LIB matching rules

Revision 17423 - Directory Listing
Modified Sun Jul 10 01:59:37 2011 UTC (6 years, 3 months ago) by jcfr
Original Path: trunk/Utilities
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, 3 months ago) by jcfr
Original Path: trunk/Utilities
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, 3 months ago) by jcfr
Original Path: trunk/Utilities
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, 3 months ago) by jcfr
Original Path: trunk/Utilities
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, 3 months ago) by jcfr
Original Path: trunk/Utilities
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, 3 months ago) by jcfr
Original Path: trunk/Utilities
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, 3 months ago) by jcfr
Original Path: trunk/Utilities
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, 3 months ago) by jcfr
Original Path: trunk/Utilities
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, 3 months ago) by jcfr
Original Path: trunk/Utilities
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, 3 months ago) by jcfr
Original Path: trunk/Utilities
COMP: Add LibArchive to CompleteBundles script

Revision 17358 - Directory Listing
Modified Wed Jul 6 23:18:01 2011 UTC (6 years, 3 months ago) by jcfr
Original Path: trunk/Utilities
COMP: Add SlicerExecutationModel to CompleteBundles script

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

Revision 17191 - Directory Listing
Modified Thu Jun 23 01:39:37 2011 UTC (6 years, 4 months ago) by jcfr
Original Path: trunk/Utilities
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, 4 months ago) by jcfr
Original Path: trunk/Utilities
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, 4 months ago) by jcfr
Original Path: trunk/Utilities
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, 4 months ago) by jcfr
Original Path: trunk/Utilities
STYLE: Re-organize code in SlicerCompleteBundles.cmake.in

Revision 16851 - Directory Listing
Modified Wed Jun 8 01:52:07 2011 UTC (6 years, 4 months ago) by jcfr
Original Path: trunk/Utilities
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, 4 months ago) by jcfr
Original Path: trunk/Utilities
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, 4 months ago) by jcfr
Original Path: trunk/Utilities
COMP: Remove empty directory Utilities/Designer

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

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

Revision 16792 - Directory Listing
Modified Sat Jun 4 06:54:57 2011 UTC (6 years, 4 months ago) by jcfr
Original Path: trunk/Utilities
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, 4 months ago) by jcfr
Original Path: trunk/Utilities
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, 4 months ago) by jcfr
Original Path: trunk/Utilities
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, 4 months ago) by jcfr
Original Path: trunk/Utilities
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, 4 months ago) by jcfr
Original Path: trunk/Utilities
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, 4 months ago) by jcfr
Original Path: trunk/Utilities
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, 4 months ago) by jcfr
Original Path: trunk/Utilities
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, 5 months ago) by jcfr
Original Path: trunk/Utilities
COMP: Rename macro GenerateSlicerConfig into SlicerGenerateSlicerConfig

Revision 16588 - Directory Listing
Modified Tue May 17 06:46:07 2011 UTC (6 years, 5 months ago) by jcfr
Original Path: trunk/Utilities
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, 5 months ago) by jcfr
Original Path: trunk/Utilities
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
Original Path: trunk/Utilities
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
Original Path: trunk/Utilities
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
Original Path: trunk/Utilities
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
Original Path: trunk/Utilities
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
Original Path: trunk/Utilities
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
Original Path: trunk/Utilities
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
Original Path: trunk/Utilities
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, 6 months ago) by finetjul
Original Path: trunk/Utilities
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, 6 months ago) by jcfr
Original Path: trunk/Utilities
COMP: CPack - Disable "unused" generator enabled by default

Revision 16225 - Directory Listing
Modified Wed Apr 6 20:28:48 2011 UTC (6 years, 6 months ago) by jcfr
Original Path: trunk/Utilities
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, 6 months ago) by pieper
Original Path: trunk/Utilities
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, 6 months ago) by pieper
Original Path: trunk/Utilities
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, 6 months ago) by pieper
Original Path: trunk/Utilities
BUG: fix bad alpha mask on icon file

Revision 16208 - Directory Listing
Modified Mon Apr 4 17:33:03 2011 UTC (6 years, 6 months ago) by jcfr
Original Path: trunk/Utilities
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, 6 months ago) by jcfr
Original Path: trunk/Utilities
COMP: Rename Slicer3.icns into Slicer.icns

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

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

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

Revision 16169 - Directory Listing
Modified Sat Apr 2 00:14:53 2011 UTC (6 years, 6 months ago) by jcfr
Original Path: trunk/Utilities
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
Original Path: trunk/Utilities
ENH: Change Slicer3 doc into Slicer4

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

Revision 15629 - Directory Listing
Modified Thu Dec 16 21:09:44 2010 UTC (6 years, 10 months ago) by pieper
Original Path: trunk/Utilities
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, 10 months ago) by jcfr
Original Path: trunk/Utilities
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, 10 months ago) by jcfr
Original Path: trunk/Utilities
COMP: LibArchive - Install the DLL for windows build

Revision 15606 - Directory Listing
Modified Thu Dec 16 02:25:12 2010 UTC (6 years, 10 months ago) by jcfr
Original Path: trunk/Utilities
COMP: Added install rules for libarchive

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

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

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

Revision 15481 - Directory Listing
Modified Wed Dec 8 10:08:11 2010 UTC (6 years, 10 months ago) by jcfr
Original Path: trunk/Utilities
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, 10 months ago) by jcfr
Original Path: trunk/Utilities
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, 10 months ago) by jcfr
Original Path: trunk/Utilities
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, 10 months ago) by jcfr
Original Path: trunk/Utilities
STYLE: Package/CMakeLists - Fix indent, added comment

Revision 15472 - Directory Listing
Modified Wed Dec 8 08:58:58 2010 UTC (6 years, 10 months ago) by jcfr
Original Path: trunk/Utilities
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, 10 months ago) by jcfr
Original Path: trunk/Utilities
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, 10 months ago) by jcfr
Original Path: trunk/Utilities
STYLE: Package/CMakeLists.txt - Added comments

Revision 15467 - Directory Listing
Modified Wed Dec 8 08:58:47 2010 UTC (6 years, 10 months ago) by jcfr
Original Path: trunk/Utilities
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, 10 months ago) by jcfr
Original Path: trunk/Utilities
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, 10 months ago) by jcfr
Original Path: trunk/Utilities
ENH: Change CPack project name from Slicer3 to Slicer

Revision 15182 - Directory Listing
Modified Thu Oct 28 05:35:19 2010 UTC (6 years, 11 months ago) by jcfr
Original Path: trunk/Utilities
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 (7 years ago) by jcfr
Original Path: trunk/Utilities
COMP: Rename project Slicer3 into Slicer

Revision 15109 - Directory Listing
Modified Fri Oct 8 03:41:33 2010 UTC (7 years ago) by jcfr
Original Path: trunk/Utilities
COMP: Rename Slicer3_TCL_DIR into Slicer_TCL_DIR

Revision 15097 - Directory Listing
Modified Fri Oct 8 03:39:47 2010 UTC (7 years ago) by jcfr
Original Path: trunk/Utilities
COMP: Rename Slicer3_HOME into Slicer_HOME

Revision 15091 - Directory Listing
Modified Fri Oct 8 03:34:10 2010 UTC (7 years ago) by jcfr
Original Path: trunk/Utilities
COMP: Rename Slicer3_USE_KWWIDGETS into Slicer_USE_KWWIDGETS

Revision 15090 - Directory Listing
Modified Fri Oct 8 03:33:56 2010 UTC (7 years ago) by jcfr
Original Path: trunk/Utilities
COMP: Rename Slicer3_USE_PYTHON into Slicer_USE_PYTHON

Revision 15089 - Directory Listing
Modified Fri Oct 8 03:33:34 2010 UTC (7 years ago) by jcfr
Original Path: trunk/Utilities
COMP: Rename Slicer3_USE_PYTHONQT into Slicer_USE_PYTHONQT

Revision 15088 - Directory Listing
Modified Fri Oct 8 03:33:20 2010 UTC (7 years ago) by jcfr
Original Path: trunk/Utilities
COMP: Rename Slicer3_USE_QT into Slicer_USE_QT

Revision 15071 - Directory Listing
Modified Thu Oct 7 03:29:35 2010 UTC (7 years ago) by jcfr
Original Path: trunk/Utilities
COMP: Rename variables Slicer3_VERSION* into Slicer_VERSION*

Revision 15070 - Directory Listing
Modified Thu Oct 7 03:29:24 2010 UTC (7 years ago) by jcfr
Original Path: trunk/Utilities
COMP: Rename variable Slicer3_INSTALL_* into Slicer_INSTALL_*

Revision 15066 - Directory Listing
Modified Thu Oct 7 02:41:32 2010 UTC (7 years ago) by jcfr
Original Path: trunk/Utilities
COMP: Remove unused directory Utilites/Patches

Revision 15065 - Directory Listing
Modified Thu Oct 7 02:41:22 2010 UTC (7 years ago) by jcfr
Original Path: trunk/Utilities
COMP: Remove unused directory Utilities/BuildSystem and Utilites/ETC

Revision 14934 - Directory Listing
Modified Sat Sep 4 17:26:56 2010 UTC (7 years, 1 month ago) by partyd
Original Path: trunk/Utilities
COMP: Fix install rule on Linux.

Revision 14931 - Directory Listing
Modified Sat Sep 4 16:53:00 2010 UTC (7 years, 1 month ago) by partyd
Original Path: trunk/Utilities
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, 1 month ago) by jcfr
Original Path: trunk/Utilities
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, 1 month ago) by partyd
Original Path: trunk/Utilities
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, 1 month ago) by partyd
Original Path: trunk/Utilities
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, 1 month ago) by finetjul
Original Path: trunk/Utilities
COMP: Remove typo in CMakeLists file

Revision 14849 - Directory Listing
Modified Thu Sep 2 03:19:43 2010 UTC (7 years, 1 month ago) by partyd
Original Path: trunk/Utilities
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, 1 month ago) by partyd
Original Path: trunk/Utilities
BUG: install qt dlls in bin on Windows.

Revision 14845 - Directory Listing
Modified Thu Sep 2 00:21:24 2010 UTC (7 years, 1 month ago) by partyd
Original Path: trunk/Utilities
ENH: Fix PythonQt library names

Revision 14841 - Directory Listing
Modified Wed Sep 1 22:24:58 2010 UTC (7 years, 1 month ago) by partyd
Original Path: trunk/Utilities
COMP: remove component.

Revision 14839 - Directory Listing
Modified Wed Sep 1 22:07:29 2010 UTC (7 years, 1 month ago) by partyd
Original Path: trunk/Utilities
ENH: Massively improved install rule for Qt libraries.

Revision 14820 - Directory Listing
Modified Wed Sep 1 18:32:28 2010 UTC (7 years, 1 month ago) by partyd
Original Path: trunk/Utilities
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, 1 month ago) by partyd
Original Path: trunk/Utilities
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, 1 month ago) by partyd
Original Path: trunk/Utilities
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
Original Path: trunk/Utilities
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, 4 months ago) by jcfr
Original Path: trunk/Utilities
COMP: Removed unused Utilities/Patches/PythonQt files

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

Revision 12852 - Directory Listing
Modified Wed Apr 21 19:16:01 2010 UTC (7 years, 6 months ago) by partyd
Original Path: trunk/Utilities
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, 7 months ago) by partyd
Original Path: trunk/Utilities
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
Original Path: trunk/Utilities
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
Original Path: trunk/Utilities
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, 8 months ago) by jcfr
Original Path: trunk/Utilities
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, 8 months ago) by pieper
Original Path: trunk/Utilities
BUG: fixes for running designer on mac

Revision 11916 - Directory Listing
Modified Tue Feb 2 05:14:29 2010 UTC (7 years, 8 months ago) by jcfr
Original Path: trunk/Utilities
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, 8 months ago) by jcfr
Original Path: trunk/Utilities
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, 8 months ago) by naucoin
Original Path: trunk/Utilities
STYLE: update comments

Revision 11873 - Directory Listing
Modified Fri Jan 29 16:41:16 2010 UTC (7 years, 8 months ago) by jcfr
Original Path: trunk/Utilities
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, 9 months ago) by jcfr
Original Path: trunk/Utilities
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, 9 months ago) by jcfr
Original Path: trunk/Utilities
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, 9 months ago) by jcfr
Original Path: trunk/Utilities
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, 9 months ago) by jcfr
Original Path: trunk/Utilities
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, 9 months ago) by jcfr
Original Path: trunk/Utilities
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, 9 months ago) by partyd
Original Path: trunk/Utilities
COMP: fix typo.

Revision 11502 - Directory Listing
Modified Mon Jan 4 01:54:40 2010 UTC (7 years, 9 months ago) by partyd
Original Path: trunk/Utilities
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, 9 months ago) by partyd
Original Path: trunk/Utilities
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, 9 months ago) by partyd
Original Path: trunk/Utilities
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, 10 months ago) by jcfr
Original Path: trunk/Utilities
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, 10 months ago) by jcfr
Original Path: trunk/Utilities
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, 10 months ago) by partyd
Original Path: trunk/Utilities
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, 10 months ago) by jcfr
Original Path: trunk/Utilities
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, 10 months ago) by jcfr
Original Path: trunk/Utilities
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
Original Path: trunk/Utilities
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
Original Path: trunk/Utilities
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
Original Path: trunk/Utilities
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, 11 months ago) by barre
Original Path: trunk/Utilities
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, 1 month ago) by pieper
Original Path: trunk/Utilities
COMP: apply patches from Attila Nagy for Solaris builds

Revision 10426 - Directory Listing
Modified Tue Sep 8 20:52:14 2009 UTC (8 years, 1 month ago) by hjohnson
Original Path: trunk/Utilities
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, 2 months ago) by pieper
Original Path: trunk/Utilities
COMP: solaris build fixes from Attila - thanks, Attila

Revision 9528 - Directory Listing
Modified Mon May 18 19:28:55 2009 UTC (8 years, 5 months ago) by pieper
Original Path: trunk/Utilities
BUG: need to set permissions when installing executables

Revision 9445 - Directory Listing
Modified Mon May 11 12:12:25 2009 UTC (8 years, 5 months ago) by pieper
Original Path: trunk/Utilities
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, 6 months ago) by pieper
Original Path: trunk/Utilities
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
Original Path: trunk/Utilities
BUG: fix copy/paste error refering to package name

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

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

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

Revision 8357 - Directory Listing
Modified Mon Jan 12 17:40:37 2009 UTC (8 years, 9 months ago) by pieper
Original Path: trunk/Utilities
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, 11 months ago) by pieper
Original Path: trunk/Utilities
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
Original Path: trunk/Utilities
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
Original Path: trunk/Utilities
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, 1 month ago) by barre
Original Path: trunk/Utilities
ENH: moved from Sandbox

Revision 7590 - Directory Listing
Modified Wed Sep 17 23:13:18 2008 UTC (9 years, 1 month ago) by barre
Original Path: trunk/Utilities
ENH: moved from Sandbox

Revision 7589 - Directory Listing
Modified Wed Sep 17 22:59:01 2008 UTC (9 years, 1 month ago) by barre
Original Path: trunk/Utilities
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, 1 month ago) by pieper
Original Path: trunk/Utilities
ENH: extra infrastructure for building scipy

Revision 7521 - Directory Listing
Modified Fri Aug 29 16:35:42 2008 UTC (9 years, 1 month ago) by pieper
Original Path: trunk/Utilities
ENH: newly created versions to match the sun version

Revision 7503 - Directory Listing
Modified Thu Aug 28 14:50:47 2008 UTC (9 years, 1 month ago) by pieper
Original Path: trunk/Utilities
ENH: add created launcher to repository

Revision 7358 - Directory Listing
Modified Tue Jul 29 22:11:55 2008 UTC (9 years, 2 months ago) by pieper
Original Path: trunk/Utilities
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
Original Path: trunk/Utilities
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, 3 months ago) by barre
Original Path: trunk/Utilities
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
Original Path: trunk/Utilities
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
Original Path: trunk/Utilities
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
Original Path: trunk/Utilities
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
Original Path: trunk/Utilities
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
Original Path: trunk/Utilities
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, 5 months ago) by pieper
Original Path: trunk/Utilities
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, 5 months ago) by barre
Original Path: trunk/Utilities
ENH: Slicer3 Spring Installation Clean Up

Revision 6468 - Directory Listing
Modified Sat Apr 12 18:09:29 2008 UTC (9 years, 6 months ago) by pieper
Original Path: trunk/Utilities
COMP: fix destination path for packaging

Revision 6467 - Directory Listing
Modified Sat Apr 12 01:13:58 2008 UTC (9 years, 6 months ago) by hayes
Original Path: trunk/Utilities
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, 6 months ago) by pieper
Original Path: trunk/Utilities
COMP: add target for compatibility with newer cmake

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

Revision 3659 - Directory Listing
Modified Fri Jun 22 19:25:29 2007 UTC (10 years, 4 months ago) by barre
Original Path: trunk/Utilities
ENH: you guys should use CMakeSetup more often :)

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

Revision 3495 - Directory Listing
Modified Wed Jun 6 20:12:10 2007 UTC (10 years, 4 months ago) by pieper
Original Path: trunk/Utilities
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, 4 months ago) by pieper
Original Path: trunk/Utilities
ENH: helper code for callgrind based profiling

Revision 3410 - Directory Listing
Modified Fri May 18 17:59:58 2007 UTC (10 years, 5 months ago) by pieper
Original Path: trunk/Utilities
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, 5 months ago) by pieper
Original Path: trunk/Utilities
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, 5 months ago) by blezek
Original Path: trunk/Utilities
COMP: Handle launcher selection on RHEL 4 / Xeon architecture

Revision 3399 - Directory Listing
Modified Thu May 17 17:43:58 2007 UTC (10 years, 5 months ago) by pieper
Original Path: trunk/Utilities
ENH: handle platform detection in cmake

Revision 3398 - Directory Listing
Modified Thu May 17 17:30:15 2007 UTC (10 years, 5 months ago) by pieper
Original Path: trunk/Utilities
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, 5 months ago) by pieper
Original Path: trunk/Utilities
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, 6 months ago) by pieper
Original Path: trunk/Utilities
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, 6 months ago) by pieper
Original Path: trunk/Utilities
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, 6 months ago) by pieper
Original Path: trunk/Utilities
ENH: switch to new launcher that gives startup feedback

Revision 3097 - Directory Listing
Modified Fri Mar 30 19:46:31 2007 UTC (10 years, 6 months ago) by pieper
Original Path: trunk/Utilities
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, 6 months ago) by pieper
Original Path: trunk/Utilities
ENH: example syntax for using the ETC utilities

Revision 3093 - Directory Listing
Modified Fri Mar 30 19:42:59 2007 UTC (10 years, 6 months ago) by pieper
Original Path: trunk/Utilities
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, 6 months ago) by blezek
Original Path: trunk/Utilities
ENH: ETC library to generate makefiles

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

Revision 3089 - Directory Listing
Modified Fri Mar 30 18:29:45 2007 UTC (10 years, 6 months ago) by pieper
Original Path: trunk/Utilities
ENH: new infrastructure for parallel experiment execution

Revision 2980 - Directory Listing
Modified Tue Mar 20 19:10:40 2007 UTC (10 years, 7 months ago) by hayes
Original Path: trunk/Utilities
BUG: Added teem to package

Revision 2978 - Directory Listing
Modified Tue Mar 20 16:55:36 2007 UTC (10 years, 7 months ago) by andy
Original Path: trunk/Utilities
COMP: Put all kwwidgets in the package

Revision 2902 - Directory Listing
Modified Mon Mar 12 14:38:27 2007 UTC (10 years, 7 months ago) by pieper
Original Path: trunk/Utilities
ENH: new windows icons!

Revision 2899 - Directory Listing
Modified Sun Mar 11 21:49:57 2007 UTC (10 years, 7 months ago) by wjp@bwh.harvard.edu
Original Path: trunk/Utilities
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, 7 months ago) by hliu
Original Path: trunk/Utilities
BUG: set right launcher_platform for Mac.

Revision 2839 - Directory Listing
Modified Wed Mar 7 14:32:14 2007 UTC (10 years, 7 months ago) by pieper
Original Path: trunk/Utilities
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, 7 months ago) by wjp@bwh.harvard.edu
Original Path: trunk/Utilities
ENH: remade icons to ensure correct color resolution

Revision 2829 - Directory Listing
Modified Tue Mar 6 22:49:29 2007 UTC (10 years, 7 months ago) by pieper
Original Path: trunk/Utilities
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, 7 months ago) by wjp@bwh.harvard.edu
Original Path: trunk/Utilities
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, 7 months ago) by pieper
Original Path: trunk/Utilities
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, 8 months ago) by andy
Original Path: trunk/Utilities
ENH: Add slicer3 icon for mac

Revision 2540 - Directory Listing
Modified Fri Feb 9 20:52:05 2007 UTC (10 years, 8 months ago) by pieper
Original Path: trunk/Utilities
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, 8 months ago) by pieper
Original Path: trunk/Utilities
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, 8 months ago) by pieper
Original Path: trunk/Utilities
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, 8 months ago) by pieper
Original Path: trunk/Utilities
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, 9 months ago) by andy
Original Path: trunk/Utilities
COMP: Overcome CPack issue. This is cleaner anyway

Revision 1724 - Directory Listing
Modified Thu Nov 30 22:27:28 2006 UTC (10 years, 10 months ago) by pieper
Original Path: trunk/Utilities
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, 1 month ago) by andy
Original Path: trunk/Utilities
ENH: Try to handle debug libraries on windows

Revision 1277 - Directory Listing
Modified Tue Sep 19 19:15:50 2006 UTC (11 years, 1 month ago) by andy
Original Path: trunk/Utilities
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, 1 month ago) by andy
Original Path: trunk/Utilities
COMP: Remove CMake 2.5 command

Revision 1249 - Directory Listing
Modified Thu Sep 14 13:28:31 2006 UTC (11 years, 1 month ago) by andy
Original Path: trunk/Utilities
STYLE: Cleanup debug message

Revision 1181 - Directory Listing
Modified Wed Sep 6 15:33:47 2006 UTC (11 years, 1 month ago) by andy
Original Path: trunk/Utilities
ENH: Add ITK links

Revision 1087 - Directory Listing
Added Tue Aug 22 16:35:51 2006 UTC (11 years, 2 months ago) by andy
Original Path: trunk/Utilities
ENH: Initial import of doxygen

An Exception Has Occurred

Python Traceback

Traceback (most recent call last):
  File &quot;/usr/lib/viewvc/lib/viewvc.py&quot;, line 4844, in main
    request.run_viewvc()
  File &quot;/usr/lib/viewvc/lib/viewvc.py&quot;, line 402, in run_viewvc
    self.view_func(self)
  File &quot;/usr/lib/viewvc/lib/viewvc.py&quot;, line 2950, in view_log
    generate_page(request, &quot;log&quot;, data)
  File &quot;/usr/lib/viewvc/lib/viewvc.py&quot;, line 944, in generate_page
    template.generate(server_fp, data)
  File &quot;/usr/lib/viewvc/lib/ezt.py&quot;, line 329, in generate
    self._execute(self.program, ctx)
  File &quot;/usr/lib/viewvc/lib/ezt.py&quot;, line 458, in _execute
    step[0](step[1], ctx)
  File &quot;/usr/lib/viewvc/lib/ezt.py&quot;, line 466, in _cmd_print
    raise Exception(&quot;Unprintable value type for '%s'&quot; % (str(valrefs[0][0])))
Exception: Unprintable value type for 'logsort_hidden_values'