Page 1 of 1

PureArea CodeArchiv

Posted: Sat Mar 04, 2023 9:13 pm
by jayand
I find Andre Beer's CodeArchiv Viewer program quite useful. While v4.0 Beta is still still just usable it has not been updated since 2007 and needs a little TLC.

Did Andre ever release the source code for CAV.exe and if so where is it located. I would very much like to update and expand the viewers functionality either for my own use or, if I can do a decent job, donate it back to the community.

TIA
Jay

Re: PureArea CodeArchiv

Posted: Sun Mar 05, 2023 5:56 pm
by Andre
No it wasn't 8)

But I'm open to idea to release it to the public with a proper license (suggestions?) to keep it free and available to all users.

Anyway I think it would probably be better to write it again from scratch to make it resizable/dpi-aware (use dialogs) and cross-platform (avoid Winapi code).

And another important point is the archive itself... the CAV tool reads the header lines (forum link, author etc.) of each code to provide its related functions.
So a newer CAV tool should be flexible enough to support other code bases too.

Just my 2 cents :)

Re: PureArea CodeArchiv

Posted: Sun Mar 05, 2023 10:59 pm
by jayand
No, not just your 2 cents, as the archive creator yours is the most important reply.
For a licence I had in mind the MIT License, but I am open to any suitable alternative.
My thinking was to rewrite the code based on the same concepts as your original, but (in so far as possible) making it cross platform, incorporating the modern features you have indicated.
For me the most important feature and what makes it possible to use the CAV for my own personal file archive is the header structure. Even if the header structure were to be expanded to accommodate additional functions, I see backward compatibility for existing archive files to be a critical aspect.
Sorry, I don't fully understand "support other code bases", but if my guess is correct code bases other than PureBasic would be out of scope for what I have in mind.
Regards Jay
.

Re: PureArea CodeArchiv

Posted: Mon Mar 06, 2023 10:46 pm
by Andre
Thanks for your reply :-)

MIT license is probably a good idea.
I need to look for the sources and prepares a proper archive for pusblishing on www.purearea.net. This will take some days.
Then you (and others) can improve them and release the result again to the PB community.

With 'support for other code bases' I meant the loading / reading of header lines in other PB code collections, as there are newer code archives than the PureArea.net one. I didn't mean any support for non-PureBasic code collections...

Re: PureArea CodeArchiv / C.A.V.

Posted: Fri Mar 10, 2023 6:17 pm
by Andre
Your wish was fulfilled :mrgreen:

I just release the C.A.V. (CodeArchiveViewer) sources under the MIT license.
More infos and download link see here:
viewtopic.php?p=597234#p597234

Would be nice to see any progress in the near future! ;-)

Re: PureArea CodeArchiv

Posted: Sat Mar 11, 2023 9:34 pm
by Andre
I forgot to mention, that the C.A.V. tool has a hidden function too: with Ctrl+Shift+C you can start the 'CodeTester' module, allowing to check all sources included in the CodeArchive with the current PB compiler 8)

Maybe something to support testing / updating existing codes with newer PB version?

Re: PureArea CodeArchiv

Posted: Thu May 18, 2023 11:09 am
by Andre
Jay (or anyone else):
May I ask if you were able to do anything with the C.A.V. sources? 8)

Re: PureArea CodeArchiv

Posted: Thu May 18, 2023 6:46 pm
by jayand
HI André,

Sorry for the delayed reply, but shortly after my last post my wife suffered a major stroke and has been hospitalised for the last 6 weeks.. Hopefully life will soon return to somewhere near normal, but my "PB Playtime" is going to be fairly limited.

Best Regards
Jay

Re: PureArea CodeArchiv

Posted: Thu May 18, 2023 6:49 pm
by Andre
I'm sorry to hear, best wishes and get well soon to your wife!