Commit summary from repository starlink ------------------------------------ (Tim Jenness) mers: Do not rely on errno when testing result of strtod 100.0% libraries/mers/ (Tim Jenness) perlmods: Use ExtUtils::Constant in NDF module 100.0% perlmods/Starlink/NDF/ (Tim Jenness) perlmods: Simplify the AUTOLOAD code in NDF to stop it calling AutoLoader 100.0% perlmods/Starlink/NDF/ (Tim Jenness) perlmods: No need to ship private ExtUtils::F77 with NDF 99.8% perlmods/Starlink/NDF/ExtUtils/ (Tim Jenness) perlmods: Add new NDG API to NDF perl module 100.0% perlmods/Starlink/NDF/ (Tim Jenness) perlmods: Factor out string array to AST object conversion in NDF.xs 100.0% perlmods/Starlink/NDF/ (Malcolm J. Currie) CONVERT: Improve the formatting of history records written to the NDF. 100.0% applications/convert/libcof/ (Peter W. Draper) gaia: add prefix control for names of baselined cubes 95.3% applications/gaia/gaia/library/ 4.6% applications/gaia/ (David Berry) smurf: Speed up timesort 86.2% applications/smurf/libsmf/ 13.7% applications/smurf/libsmurf/ (David Berry) smurf: Fix memory leak in timesort (Peter W. Draper) gaia: add mask invert option for images and Go menu 17.7% applications/gaia/gaia/generic/ 82.2% applications/gaia/gaia/library/ (Peter W. Draper) dummy 100.0% applications/gaia/gaia.htx/ (David Berry) ast: Retain any original error status in astFlushMemory 100.0% libraries/ast/ (Tim Jenness) atl: atl_mgfts was removing non-blank cards by mistake 100.0% libraries/atl/ (Tim Jenness) ast: Add some consting to fix some compiler warnings 100.0% libraries/ast/ (Tim Jenness) ast: undef is an allowed card_type 100.0% libraries/ast/ Commits from repository starlink ----------------------------- commit c9d354fc86507e2cccf38030e4018900b166a0ac Author: Tim Jenness <[log in to unmask]> Date: Wed Jul 1 16:32:53 2009 -1000 mers: Do not rely on errno when testing result of strtod libraries/mers/mers1Getenv.c | 38 +++++++++++++++++--------------------- 1 files changed, 17 insertions(+), 21 deletions(-) commit 74f6bdbc90519cb9f7f375011cf4614498214b3b Author: Tim Jenness <[log in to unmask]> Date: Wed Jul 1 15:57:17 2009 -1000 perlmods: Use ExtUtils::Constant in NDF module Dynamically generate constant code rather than having it all hand written. .gitignore | 1 + perlmods/Starlink/NDF/Makefile.PL | 38 ++++++++++ perlmods/Starlink/NDF/NDF.xs | 136 ++--------------------------------- 3 files changed, 44 insertions(+), 131 deletions(-) commit ebce19ffbb9e98b4c146bd41f37fa5c7306773d6 Author: Tim Jenness <[log in to unmask]> Date: Wed Jul 1 15:55:39 2009 -1000 perlmods: Simplify the AUTOLOAD code in NDF to stop it calling AutoLoader Before if it could not find a function it would call AutoLoader which would attempt to dynamically load it from some other file (eg .al). This is never the right thing to do for the NDF module since it does not actually try to dynamically load anything other than Constants. perlmods/Starlink/NDF/NDF.pm | 30 ++++++++++-------------------- 1 files changed, 10 insertions(+), 20 deletions(-) commit 090740f992fd5059a1d99f5c6fcd880ad8501ea4 Author: Tim Jenness <[log in to unmask]> Date: Wed Jul 1 15:49:36 2009 -1000 perlmods: No need to ship private ExtUtils::F77 with NDF perlmods/Starlink/NDF/ExtUtils/F77.pm | 534 ------------------------------- perlmods/Starlink/NDF/MANIFEST | 1 - 2 files changed, 0 insertions(+), 535 deletions(-) commit a0fc567e679b404c74ba13af853e006adcda0e95 Author: Tim Jenness <[log in to unmask]> Date: Wed Jul 1 12:58:01 2009 -1000 perlmods: Add new NDG API to NDF perl module Old API removed. New API is now object-oriented. perlmods/Starlink/NDF/NDF.pm | 52 +++++++---- perlmods/Starlink/NDF/NDF.xs | 198 +++++++++++++++++++++----------------- perlmods/Starlink/NDF/typemap | 1 + 3 files changed, 144 insertions(+), 107 deletions(-) commit bec877df16e2aefa7c7cfb92d00fac0f7d545f63 Author: Tim Jenness <[log in to unmask]> Date: Wed Jul 1 12:56:54 2009 -1000 perlmods: Factor out string array to AST object conversion in NDF.xs perlmods/Starlink/NDF/NDF.xs | 45 ++++++++++++++++++++++++---------------- 1 files changed, 27 insertions(+), 18 deletions(-) commit 3154f4c5771cddce85a655f0457b25f0c95530e0 Author: Malcolm J. Currie <[log in to unmask]> Date: Wed Jul 1 22:02:07 2009 +0100 CONVERT: Improve the formatting of history records written to the NDF. The indentation after headings in history records written by FITS2NDF were wrong. These are now indented by three characters to replicate the original history after a NDF->FITS->NDF cycle. Headings after the first heading formed part of the paragraph; they now start on a new line as provided by the NDF library. At present it assumes the headings are "Arguments:", "Parameters:", and "Software:". applications/convert/libcof/cof_chisr.f | 71 +++++++++++++++++++++++++++- 1 files changed, 68 insertions(+), 3 deletions(-) commit 66c80e51d7604faf85b38d58ff3be5fa12de2df2 Author: Peter W. Draper <[log in to unmask]> Date: Wed Jul 1 17:08:01 2009 +0100 gaia: add prefix control for names of baselined cubes applications/gaia/gaia.news | 3 ++ .../gaia/gaia/library/GaiaCubeBaseline.tcl | 31 ++++++++++++++++- 2 files changed, 32 insertions(+), 2 deletions(-) commit 8e91dc899be506dea83095d0934a335b16412aff Author: David Berry <[log in to unmask]> Date: Wed Jul 1 16:48:34 2009 +0100 smurf: Speed up timesort applications/smurf/libsmf/smf.h.source | 5 +- applications/smurf/libsmf/smf_kmmerge.c | 259 ++++++++++++++++-------- applications/smurf/libsmurf/smurf_timesort.c | 67 ++++--- 3 files changed, 222 insertions(+), 109 deletions(-) commit 9dde0ce31d6b65842c7d0274696d40b5f094a2ff Author: David Berry <[log in to unmask]> Date: Wed Jul 1 15:14:43 2009 +0100 smurf: Fix memory leak in timesort applications/smurf/libsmurf/smurf_timesort.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit 94cb462f22665f49ef37599d790ed058f4c49a47 Author: Peter W. Draper <[log in to unmask]> Date: Wed Jul 1 14:33:48 2009 +0100 gaia: add mask invert option for images and Go menu Shows parts of image not in mask, useful for seeing what wasn't detected applications/gaia/gaia/generic/GaiaArray.C | 67 ++++-- .../{GaiaCubeHistory.tcl => GaiaHistory.tcl} | 224 +++++++----------- applications/gaia/gaia/library/GaiaMask.tcl | 75 ++++++- 3 files changed, 213 insertions(+), 153 deletions(-) commit 27c46a10f970e2cbcfc9a0427652f5cb7faef3a7 Author: Peter W. Draper <[log in to unmask]> Date: Wed Jul 1 14:43:16 2009 +0100 dummy applications/gaia/gaia.htx/mask.html | 12 +++++++++--- 1 files changed, 9 insertions(+), 3 deletions(-) commit f9498c6e179d1d9c7a2d95a091591c5c17e2e0df Author: David Berry <[log in to unmask]> Date: Wed Jul 1 09:14:46 2009 +0100 ast: Retain any original error status in astFlushMemory libraries/ast/memory.c | 13 +++++++++++-- 1 files changed, 11 insertions(+), 2 deletions(-) commit 21aa83e36ab3d991489410b6b8636354f20b1c1c Author: Tim Jenness <[log in to unmask]> Date: Tue Jun 30 20:09:27 2009 -1000 atl: atl_mgfts was removing non-blank cards by mistake At the end of atl_mgfts it attempts to remove contiguous blank lines. This was not working properly because AST_FINDFITS was incrementing the Card to the following card and so AST_DELFITS was removing the card following two contiguous blank cards. Fixed to decrement the Card attribute prior to call AST_DELFITS. libraries/atl/atl_mgfts.f | 11 ++++++++++- 1 files changed, 10 insertions(+), 1 deletions(-) commit 14c97255e13a9b76dfb251b3c9cb9fb9e536b218 Author: Tim Jenness <[log in to unmask]> Date: Tue Jun 30 18:06:05 2009 -1000 ast: Add some consting to fix some compiler warnings libraries/ast/channel.c | 2 +- libraries/ast/fitschan.c | 32 ++++++++++++++++---------------- 2 files changed, 17 insertions(+), 17 deletions(-) commit 6afe28085b7aad3c311e8d101a556e898e78db04 Author: Tim Jenness <[log in to unmask]> Date: Tue Jun 30 18:04:19 2009 -1000 ast: undef is an allowed card_type Otherwise you get a SEGV when astShow tries to dump a FitsChan that includes an undefined item. libraries/ast/fitschan.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)