AutoVersioning 1.3Here I'm posting the new changes I made to the autoversioning plugin to fix the problems reported by users, here is the changes.
* Fixed ubuntu_style_version declaration now it is char string instead of double.
* Added new tab of autoversioning editor named "Code"
* New support to declare header guard define.
* New support to declare namespace name.
* New support to add a prefix to all variables helping in c mode like for example the DATE declaration found in other header files the same name.
For a better picture of it check the attached screenshot.
And here is an example output code with AV as prefix:
#ifndef VERSION_H
#define VERSION_H
namespace AutoVersion{
//Date Version Types
static const char AV_DATE[] = "09";
static const char AV_MONTH[] = "10";
static const char AV_YEAR[] = "2009";
static const char AV_UBUNTU_VERSION_STYLE[] = "9.10";
//Software Status
static const char AV_STATUS[] = "Alpha";
static const char AV_STATUS_SHORT[] = "a";
//Standard Version Type
static const long AV_MAJOR = 1;
static const long AV_MINOR = 0;
static const long AV_BUILD = 2;
static const long AV_REVISION = 11;
//Miscellaneous Version Types
static const long AV_BUILDS_COUNT = 1;
#define AV_RC_FILEVERSION 1,0,2,11
#define AV_RC_FILEVERSION_STRING "1, 0, 2, 11\0"
static const char AV_FULLVERSION_STRING[] = "1.0.2.11";
//These values are to keep track of your versioning state, don't modify them.
static const long AV_BUILD_HISTORY = 2;
}
#endif //VERSION_H
I also attached the patch and im going to upload it to berlios if i remember my account information xD
[attachment deleted by admin]