Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development

AutoVersioning Plugin

<< < (21/41) > >>

flowercold:
I need it!
Thank you !

Denis:

--- Quote from: JGM on October 02, 2007, 01:06:39 am ---Some time ago it was opted to make a plugin named version info to generate the rc file with info from the autoversioning plugin. I was going to make that, but I forgot it. :shock:
--- End quote ---
I think if autoversioning plugin will be able to generate rc file for exe-file version info, it will be great :)

gd_on:
Codeblocks crashes when I try to compile a program and autoversioning is enabled. Nothing displayed in the log window. All is ok if autoversioning is disabled. It's the same problem with version 0.8 windows binary prebuilt, or a 0.82 version I have just built with codeblocks version 4514.
Here is the beginning of codeblocks.rpt :
Error occured on Saturday, October 6, 2007 at 16:34:20.

C:\CodeBlocks_src\src\output\codeblocks.exe caused an Integer Divide By Zero at location 7035d285 in module C:\CodeBlocks_src\src\output\share\codeblocks\plugins\autoversioning.dll.

Registers:
eax=00000782 ebx=00b50f88 ecx=0023ea2c edx=00000000 esi=64cb18a8 edi=0023f2f8
eip=7035d285 esp=0023e9b8 ebp=0023eaa0 iopl=0         nv up ei pl nz na po nc
cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000             efl=00010206

Call stack:
7035D285  C:\CodeBlocks_src\src\output\share\codeblocks\plugins\autoversioning.dll:7035D285
70358F9A  C:\CodeBlocks_src\src\output\share\codeblocks\plugins\autoversioning.dll:70358F9A
70373234  C:\CodeBlocks_src\src\output\share\codeblocks\plugins\autoversioning.dll:70373234
.....

Here is the version.ini I use if it's can help :

Major=3
Minor=0
Build\ Number=12
Revision=45
Build\ Count=11
Auto\ Increment=0
Dates=1
Svn=0
Svn\ Directory=C:\\Documents and Settings\\Gerard\\Mes documents\\Programmes en C\\Dev_C\\Appli1_Tcltk dll V3
Commit=0
Commit\ Ask=0
Langage=C
Etat=Beta
Status\ Abbreviation=b
Minor\ Max=100
Build\ Max=0
Revision\ Max=0
Revision\ Random\ Max=0
Build\ Times\ To\ Minor\ Increment=100
Changes\ Log=0
Changes\ Title=released version %M.%m.%b of %p
Build\ History=0
Modifié=1
Language=C
Status=Beta
Modified=1

Thanks

gd_on

JGM:

--- Quote from: gd_on on October 06, 2007, 11:13:18 pm ---Codeblocks crashes when I try to compile a program and autoversioning is enabled. Nothing displayed in the log window. All is ok if autoversioning is disabled. It's the same problem with version 0.8 windows binary prebuilt, or a 0.82 version I have just built with codeblocks version 4514.

--- End quote ---

OOOPS!  :? thanks for the report.

The problem is the Revision random maximum on the scheme tab, is set to 0. You have to set it to a minimum of 1. I will add some code to detect if the user enters 0 and substitute the value to a default of 1.

Again, thanks for the report!  :D

JGM:

--- Quote from: flowercold on October 06, 2007, 08:16:41 am ---I need it!
Thank you !

--- End quote ---

You're welcome!  :D

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version