Major Update to Coyote Library [message #86401] |
Tue, 05 November 2013 09:59  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Folks,
Some of you have already discovered that there has been a major update
to the Coyote Library this morning. I undertake these kinds of changes
reluctantly, but this one I felt had to be done in front of a new book I
am writing. Some of yours (and my!) favorite programs have been retired
today in favor of other, renamed ones.
Rest assured that Coyote Library routines do not ever just "disappear".
They are "retired" to a green pasture with plenty of water available.
You can always find them. A zip file of all retired Coyote programs can
be found here:
http://www.idlcoyote.com/programs/zip_files/retiredcoyotelib rary.zip
Simply extract the ones you need and add them to your Coyote Library.
Your programs will work like they always worked. The only difference is
that future updates are NEVER done on retired programs. If there were
bugs yesterday in these programs, there will be bugs in the future.
Making changes to your programs is a pain in the ass. I know, because
I've spent the past 24 hours making sure all the programs in the
Catalyst and Coyote Libraries use the new programs. I apologize for
making you do this (assuming you want to keep up with Coyote Library
developments). If it makes you feel any better, I have a large body of
work that needs to be changed, too. I make sure I *never* have retired
Coyote routines on my IDL path, so this means I have to update my code
as I run into problems, just like you. I feel for you. :-)
But, as I say, life doesn't always have to be pain and suffering. Put
the retired routines on your IDL path and life will go on pretty much as
it always has.
As an aid to updating your code, I have created a list of all the
retired Coyote programs with a link to the current routines beside them.
You can find the list here:
http://www.idlcoyote.com/misc_tips/retiredcoyote.php
As always, if you run into problems, let me know. Most problems are
sorted out within an hour or so of me hearing about them. The major
changes today are these:
Error_Message -> cgErrorMsg
PS_Start -> cgPS_Open
PS_End -> cgPS_Close
DecomposedColor -> cgGetColorState
GetDecomposedState -> cgGetColorState
SetDecomposedState -> cgSetColorState
PSConfig -> cgPS_Config
Cheers,
David
P.S. The GoogleCode repository where I keep the Coyote and Catalyst (and
retired) Libraries is discontinuing downloads as of Jan 15th 2014. So,
this is the last time I will upload zip files for downloads there. (The
SVN repository itself will be unaffected.) Zip file downloads will
continue to be available on my web page. And free downloads will also be
available in the Software section of the Coyote Store later today.
http://www.idlcoyote.com/coyotestore
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
|
|
|