CodeCaddy v2.08x

Developed or developing a new product in PureBasic? Tell the world about it.
User avatar
blueznl
PureBasic Expert
PureBasic Expert
Posts: 6161
Joined: Sat May 17, 2003 11:31 am
Contact:

Re: CodeCaddy v1.80x build 792 12.03.10 save 8350

Post by blueznl »

Well, I don't mind the 38000 lines, but they may belong to a project so you simply may not want me to use it to find the bug. I DO mind changing all those procedure names to lower case though :-)
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB)
( The path to enlightenment and the PureBasic Survival Guide right here... )
User avatar
loadstone
User
User
Posts: 97
Joined: Wed Jan 16, 2008 11:28 am
Location: china

Re: CodeCaddy v1.80x build 792 12.03.10 save 8350

Post by loadstone »

is this a bug?
when i install codecaddy into pb ide, this function well make exe will wrong:
XincludeFile :shock:
Diamond Sutra: all law I was into at, forbearance .
http://www.8do8.com
User avatar
blueznl
PureBasic Expert
PureBasic Expert
Posts: 6161
Joined: Sat May 17, 2003 11:31 am
Contact:

Re: CodeCaddy v1.80x build 792 12.03.10 save 8350

Post by blueznl »

Dunno, actually :-) I'm not sure I've included XInclude...

<checking>

Ah, yes, I did not support 'XIncludeFile' and 'IncludePath'.

The reason you get an error is that 'thinning' is enabled during build. If you were using CodeCaddy before with these files, now you will have to clear the tickbox Options / Preferences / Pre-Process / Remove unused procedures and macros from builds.

Or you have to replace XIncludeFile with IncludeFile.

Shouldn't be too hard to support XIncludeFile. I'll have a look.
Last edited by blueznl on Sun Dec 19, 2010 9:24 pm, edited 1 time in total.
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB)
( The path to enlightenment and the PureBasic Survival Guide right here... )
Amundo
Enthusiast
Enthusiast
Posts: 191
Joined: Thu Feb 16, 2006 1:41 am
Location: New Zealand

Re: CodeCaddy v1.80x build 792 12.03.10 save 8350

Post by Amundo »

blueznl,

Thanks to your "PureBasic Survival Guide", I have gotten past a very annoying problem with Unicode (will post code if/when I get it working)- your documentation and utilties (CodeCaddy, in particular) are invaluable.

Thanks again!
Win8.1, PB5.x, okayish CPU, onboard video card, fuzzy monitor (or is that my eyesight?)
"When the facts change, I change my mind" - John Maynard Keynes
User avatar
blueznl
PureBasic Expert
PureBasic Expert
Posts: 6161
Joined: Sat May 17, 2003 11:31 am
Contact:

Re: CodeCaddy v1.95x build 852 03.08.10 save 8632

Post by blueznl »

Update v1.95x.

- bugfix thinner function
- some other fixes I forgot :-)

The thinner function strips out all unused code. It was doing a reasonable job thus far, but there was a bug in it causing problems under certain specific circumstances. This one should fix it.

The file can be found here:

http://www.xs4all.nl/~bluez/purebasic/p ... _codecaddy
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB)
( The path to enlightenment and the PureBasic Survival Guide right here... )
User avatar
blueznl
PureBasic Expert
PureBasic Expert
Posts: 6161
Joined: Sat May 17, 2003 11:31 am
Contact:

Re: CodeCaddy v1.95x build 852 03.08.10 save 8632

Post by blueznl »

Update v1.99.

- create a tools.prefs file if there wasn't one yet
- minor fix in displayed filename of last build
- option to add whitespace after procedure declarations for easier commenting
- another bugfix in the thinner function

As usual, the file can be found here:

http://www.xs4all.nl/~bluez/purebasic/p ... _codecaddy
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB)
( The path to enlightenment and the PureBasic Survival Guide right here... )
User avatar
DoubleDutch
Addict
Addict
Posts: 3219
Joined: Thu Aug 07, 2003 7:01 pm
Location: United Kingdom
Contact:

Re: CodeCaddy v1.99 build 867 15.11.10 save 8701

Post by DoubleDutch »

Thanks. :)
https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system
Amundo
Enthusiast
Enthusiast
Posts: 191
Joined: Thu Feb 16, 2006 1:41 am
Location: New Zealand

Re: CodeCaddy v1.99 build 867 15.11.10 save 8701

Post by Amundo »

Thanks blueznl!
Win8.1, PB5.x, okayish CPU, onboard video card, fuzzy monitor (or is that my eyesight?)
"When the facts change, I change my mind" - John Maynard Keynes
User avatar
blueznl
PureBasic Expert
PureBasic Expert
Posts: 6161
Joined: Sat May 17, 2003 11:31 am
Contact:

Re: CodeCaddy v2.01x build 870 19.12.10 save 8710

Post by blueznl »

Update v2.01x.

- underscores as terminating character of structure names triggered multiline, fixed
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB)
( The path to enlightenment and the PureBasic Survival Guide right here... )
User avatar
blueznl
PureBasic Expert
PureBasic Expert
Posts: 6161
Joined: Sat May 17, 2003 11:31 am
Contact:

Re: CodeCaddy v2.04x

Post by blueznl »

Update v2.04x.

I must have made *some* changes but I definitely cannot recall what those were :-) Anyway, recompiled with RC1, and seems to work without problems.
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB)
( The path to enlightenment and the PureBasic Survival Guide right here... )
User avatar
bobobo
Enthusiast
Enthusiast
Posts: 202
Joined: Mon Jun 09, 2003 8:30 am

Re: CodeCaddy v2.04x

Post by bobobo »

is there an issue concerning pb 5.00 ? (winxp32)

it doesn't compile a little complexer code with procedures in it.
if codecaddy build is switched on compiling to an executable it says that a procedure is not defined
in another line than the proc resides

Code: Select all

---------------------------
PureBasic
---------------------------
Line 90: procname() is not a function, array, list, map or macro.
---------------------------
OK   
---------------------------


if switched of (build) everything is ok
사십 둘 .
User avatar
blueznl
PureBasic Expert
PureBasic Expert
Posts: 6161
Joined: Sat May 17, 2003 11:31 am
Contact:

Re: CodeCaddy v2.04x

Post by blueznl »

I will check. Have been busy and haven't tried 5.x yet to build a new version.
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB)
( The path to enlightenment and the PureBasic Survival Guide right here... )
User avatar
blueznl
PureBasic Expert
PureBasic Expert
Posts: 6161
Joined: Sat May 17, 2003 11:31 am
Contact:

Re: CodeCaddy v2.04x

Post by blueznl »

Bobobo, do you have a code snippet for me? Here everything seems to work fine.
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB)
( The path to enlightenment and the PureBasic Survival Guide right here... )
User avatar
bobobo
Enthusiast
Enthusiast
Posts: 202
Joined: Mon Jun 09, 2003 8:30 am

Re: CodeCaddy v2.04x

Post by bobobo »

sorry for delay..

i can't reproduce this error

maybe it was an effect of the fullmoon or something like that :D
사십 둘 .
User avatar
blueznl
PureBasic Expert
PureBasic Expert
Posts: 6161
Joined: Sat May 17, 2003 11:31 am
Contact:

Re: CodeCaddy v2.04x

Post by blueznl »

Without a doubt it must have been the moon :-)

(I compiled CodeCaddy with 5.20b2 and it seems to work fine.)
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB)
( The path to enlightenment and the PureBasic Survival Guide right here... )
Post Reply