Page 5 of 11
Re: CodeCaddy v1.56x build 706 20.09.09 save 7557
Posted: Sun Sep 27, 2009 10:21 pm
by blueznl
I've dropped you a PM. I need to see a sample file that's causing the problems.
I've just tried it with the following code:
... and here it works fine. I suspect you are not using UTF8 as save format?
Can I get a copy of the original file that causes the problems?
What is your source code format setting?
Did previous versions of CodeCaddy work?
Re: CodeCaddy v1.56x build 706 20.09.09 save 7557
Posted: Mon Sep 28, 2009 7:25 am
by Denis
blueznl wrote:I've dropped you a PM. I need to see a sample file that's causing the problems.
No PM received, i'm waiting for it.
blueznl wrote:I've just tried it with the following code:
... and here it works fine. I suspect you are not using UTF8 as save format?
Can I get a copy of the original file that causes the problems?
What is your source code format setting?
Did previous versions of CodeCaddy work?
Thanks blueznl for your answer.
Before asking you, the first thing i've done is to check the encodage and source file encoding is still plein text. I always use plein text.
I never get this problem with previous versions of CodeCaddy.
i just try to reformat with UTF8 as source code format using the menu
FILE/File format and now it's Ok, i dont understand :roll:
If i keep menu
FILE/File format on plein text and i change preferences/editor/defaults/sourcefile text encoding to UTF8 i still get the problem :roll:
For now, i will work with UTF8 as source code format using the menu (but i have to change all my files i'm working on...) - IDE problem
Today, (later), I will send you a copy of the original file that causes the problems.
Another thing, all accentuated vowels are always changed by the same characters set.
Re: CodeCaddy v1.56x build 706 20.09.09 save 7557
Posted: Mon Sep 28, 2009 7:36 am
by blueznl
You're entering french characters but you're not using Unicode mode, in which case the treatment of those characters is entirely up to the OS and the application, ie. there's little standard, and (worse!) your programs may look different on machines that use different character sets.
What's the last version that worked well for you? There were some changes in PureBasic over the last few versions. One of them may have affected CodeCaddy and thus your files. In 1.22x I made some changes to go full Unicode...
Anyway, it's better to switch to Unicode, as that will provide you better future compatibility and more alternative characters. Be aware that when you read strings from memory the format of the strings change, but you probably already know.
Re: CodeCaddy v1.56x build 706 20.09.09 save 7557
Posted: Mon Sep 28, 2009 3:14 pm
by Denis
Ok blueznl
i will try in unicode mode ant tell you what.
Re: CodeCaddy v1.57x build 710 01.10.09 save 7564
Posted: Thu Oct 01, 2009 7:39 pm
by blueznl
New version v1.57x build 710 01.10.09 save 7564.
- bugfix for reformatting sources, should now properly recognize non-Unicode sources
- changed to .arj archive (yeah, I'm old fashioned, but I find it a bit easier in batch files)
- some minor fixes
As usual, the file is here:
http://www.xs4all.nl/~bluez/datatalk/codecaddy.arj
If you have no clue what CodeCaddy is all about go here:
http://www.xs4all.nl/~bluez/datatalk/pu ... _codecaddy
Re: CodeCaddy v1.57x build 710 01.10.09 save 7564
Posted: Thu Oct 01, 2009 11:33 pm
by DoubleDutch
Argh! ARJ files...
Re: CodeCaddy v1.57x build 710 01.10.09 save 7564
Posted: Thu Oct 01, 2009 11:38 pm
by blueznl
Yeah, I know. It may be temporary. I need a good freeware command line packer, does 7zip (7za.exe) have a 'classic zip format' command line switch?
I'd best deliver regular .zip files instead of .7z or .arj but I just haven't got a proper command line packer. Yet.
Re: CodeCaddy v1.57x build 710 01.10.09 save 7564
Posted: Fri Oct 02, 2009 5:10 am
by Denis
It's OK now.
Thanks blueznl
Re: CodeCaddy v1.57x build 710 01.10.09 save 7564
Posted: Fri Oct 02, 2009 5:42 am
by Lost
blueznl wrote:Yeah, I know. It may be temporary. I need a good freeware command line packer, does 7zip (7za.exe) have a 'classic zip format' command line switch?
I'd best deliver regular .zip files instead of .7z or .arj but I just haven't got a proper command line packer. Yet.
You can use 7zip with the following command swith: -t{method}
Like this:
7z a -tzip archive.zip *.txt
Re: CodeCaddy v1.57x build 710 01.10.09 save 7564
Posted: Fri Oct 02, 2009 6:35 am
by Fangbeast
DoubleDutch wrote:Argh! ARJ files...
HAHA, LOL, LOL, LOL!
Most of us oldies are used to it so it doesn't bother us (grin).
Re: CodeCaddy v1.57x build 710 01.10.09 save 7564
Posted: Sat Oct 10, 2009 12:49 pm
by blueznl
Lost wrote:blueznl wrote:Yeah, I know. It may be temporary. I need a good freeware command line packer, does 7zip (7za.exe) have a 'classic zip format' command line switch?
I'd best deliver regular .zip files instead of .7z or .arj but I just haven't got a proper command line packer. Yet.
You can use 7zip with the following command swith: -t{method}
Like this:
7z a -tzip archive.zip *.txt
7zip is a bit weird. Although I've not included the path, it complains about not having access to d:\System Volume Information\: WARNING: Access is denied.
And why does is start by saying 'scanning'?
CodeCaddy v1.60x build 719 10.10.09 save 7689
Posted: Sat Oct 10, 2009 1:05 pm
by blueznl
New version v1.60x build 719 10.10.09 save 7689.
- default indent for reformatting sources can now be set from within the preferences window
- added a few keywords for auto reformatting
- changed the file format back to zip
- some internal changes (changing all .l to .i, and verified all variable scopes with EnableExplicit)
- compiled with 4.40b4! use at your own risk...
To download CodeCaddy, or find out what it is about go here:
http://www.xs4all.nl/~bluez/datatalk/pu ... _codecaddy
Re: CodeCaddy v1.60x build 719 10.10.09 save 7689
Posted: Mon Oct 19, 2009 9:32 pm
by Denis
He he , works as i wanted to now, many Thanks blueznl

CodeCaddy v1.64x build 740 27.02.10 save 7780
Posted: Sat Feb 27, 2010 10:56 am
by blueznl
New version v1.64x build 740 27.02.10 save 7780.
- code is now compatible with PureBasic 4.41x
- minor additional logfile info
- changed Alt+F1 functionality (inspired by
Chi's)
As I never used Alt+F1 I've adopted (stolen

) Chi's idea. From within the IDE this now brings the following options:
When not on a keyword:
- F1 - regular PB IDE help
- Ctrl+F1 - info on currently loaded code
- Alt+F1 - launch FireFox then load the PureBasic forum
When on a keyword:
- F1 - regular PB IDE help or WIN32.HLP
- Ctrl+F1 - search current, included, and specified code locally
- Alt+F1 - launch FireFox then google for the specified search term
(If the keyword ends on an underscore MSDN will be searched as well. For the moment the web search paths are hardcoded but hey, source is included

)
As usual, the file is here:
http://www.xs4all.nl/~bluez/purebasic/codecaddy.zip
If you have no clue what CodeCaddy is all about go here:
http://www.xs4all.nl/~bluez/purebasic/purebasic 29.htm#codecaddy
Note: I've changed my homepage, so older links may or will no longer work. Please use the ones above.
Re: CodeCaddy v1.60x build 719 10.10.09 save 7689
Posted: Sat Feb 27, 2010 12:04 pm
by DoubleDutch
I've tried the latest version (v1.65x b743 27.02.10 save 7783) and the alt-f1 stuff just does the same as the ctrl f1. It doesn't launch firefox.
I'm running x64 windows 7 if that makes a difference?