Patches item #1417804, was opened at 2006-01-28 21:11 Message generated for change (Comment added) made by millerpuckette You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=478072&aid=1417804...
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: puredata Group: wishlist Status: Open Resolution: None Priority: 7 Submitted By: Hans-Christoph Steiner (eighthave) Assigned to: Miller Puckette (millerpuckette) Summary: make versions into macros for easier use
Initial Comment:
This patch makes PD_BUGFIX_VERSION and PD_TEST_VERSION macros in m_pd.h and builds pd_version in s_main.s using those macros.
Having all four parts of the version defined as macros will make it much easier to use the version numbers, like for example, a [version] object or [;pd get version( message.
----------------------------------------------------------------------
Comment By: Miller Puckette (millerpuckette)
Date: 2006-08-13 22:22
Message: Logged In: YES user_id=313747
modified to avoid the effete asprintf() call, then took for 0.40
----------------------------------------------------------------------
Comment By: Hans-Christoph Steiner (eighthave) Date: 2006-02-27 09:41
Message: Logged In: YES user_id=27104
the original patch did not put the version into doc/1.manual/1.introduction.txt, which is used as the "About Pd" page. The second patch fixes that, and moved the PD_VERSION replacement to the "make install" target rather than happening dynamically in menu_opentext(). This means that it is no longer necessary to send the pdgui the version, since that's the only place that it was used. So pd_myversion and related elements are removed from u_main.tk in this patch.
This stuff is included in Pd-extended and makes the version numbers MUCH easier to handle. I've spent quite a bit of time figuring out regexps to parse out the ever changing format of pd_version, so this fix should make things much easier for anyone who wants to dynamically use the pd version number.
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=478072&aid=1417804...