CodeCaddy v2.08x

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

Re: CodeCaddy v1.56x build 706 20.09.09 save 7557

Post 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:

Code: Select all

Debug "ÿÈ"
... 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?
( 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... )
Denis
Enthusiast
Enthusiast
Posts: 778
Joined: Fri Apr 25, 2003 5:10 pm
Location: Doubs - France

Re: CodeCaddy v1.56x build 706 20.09.09 save 7557

Post 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:

Code: Select all

Debug "ÿÈ"
... 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.
A+
Denis
User avatar
blueznl
PureBasic Expert
PureBasic Expert
Posts: 6166
Joined: Sat May 17, 2003 11:31 am
Contact:

Re: CodeCaddy v1.56x build 706 20.09.09 save 7557

Post 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.
( 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... )
Denis
Enthusiast
Enthusiast
Posts: 778
Joined: Fri Apr 25, 2003 5:10 pm
Location: Doubs - France

Re: CodeCaddy v1.56x build 706 20.09.09 save 7557

Post by Denis »

Ok blueznl

i will try in unicode mode ant tell you what.
A+
Denis
User avatar
blueznl
PureBasic Expert
PureBasic Expert
Posts: 6166
Joined: Sat May 17, 2003 11:31 am
Contact:

Re: CodeCaddy v1.57x build 710 01.10.09 save 7564

Post 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
( 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: 3220
Joined: Thu Aug 07, 2003 7:01 pm
Location: United Kingdom
Contact:

Re: CodeCaddy v1.57x build 710 01.10.09 save 7564

Post by DoubleDutch »

Argh! ARJ files...
https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system
User avatar
blueznl
PureBasic Expert
PureBasic Expert
Posts: 6166
Joined: Sat May 17, 2003 11:31 am
Contact:

Re: CodeCaddy v1.57x build 710 01.10.09 save 7564

Post 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.
( 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... )
Denis
Enthusiast
Enthusiast
Posts: 778
Joined: Fri Apr 25, 2003 5:10 pm
Location: Doubs - France

Re: CodeCaddy v1.57x build 710 01.10.09 save 7564

Post by Denis »

It's OK now.

Thanks blueznl
A+
Denis
Lost
User
User
Posts: 63
Joined: Fri Dec 19, 2008 12:24 am
Location: Tasmania

Re: CodeCaddy v1.57x build 710 01.10.09 save 7564

Post 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
User avatar
Fangbeast
PureBasic Protozoa
PureBasic Protozoa
Posts: 4789
Joined: Fri Apr 25, 2003 3:08 pm
Location: Not Sydney!!! (Bad water, no goats)

Re: CodeCaddy v1.57x build 710 01.10.09 save 7564

Post 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).
Amateur Radio/VK3HAF, (D-STAR/DMR and more), Arduino, ESP32, Coding, Crochet
User avatar
blueznl
PureBasic Expert
PureBasic Expert
Posts: 6166
Joined: Sat May 17, 2003 11:31 am
Contact:

Re: CodeCaddy v1.57x build 710 01.10.09 save 7564

Post 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'?
( 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: 6166
Joined: Sat May 17, 2003 11:31 am
Contact:

CodeCaddy v1.60x build 719 10.10.09 save 7689

Post 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
( 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... )
Denis
Enthusiast
Enthusiast
Posts: 778
Joined: Fri Apr 25, 2003 5:10 pm
Location: Doubs - France

Re: CodeCaddy v1.60x build 719 10.10.09 save 7689

Post by Denis »

blueznl wrote: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

http://www.xs4all.nl/~bluez/datatalk/pu ... _codecaddy

He he , works as i wanted to now, many Thanks blueznl :D
A+
Denis
User avatar
blueznl
PureBasic Expert
PureBasic Expert
Posts: 6166
Joined: Sat May 17, 2003 11:31 am
Contact:

CodeCaddy v1.64x build 740 27.02.10 save 7780

Post 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.
( 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: 3220
Joined: Thu Aug 07, 2003 7:01 pm
Location: United Kingdom
Contact:

Re: CodeCaddy v1.60x build 719 10.10.09 save 7689

Post 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?
https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system
Post Reply