Dev-Object

Applications, Games, Tools, User libs and useful stuff coded in PureBasic
User avatar
StarBootics
Addict
Addict
Posts: 984
Joined: Sun Jul 07, 2013 11:35 am
Location: Canada

Dev-Object

Post by StarBootics »

Hello everyone,

I'm releasing Dev-Object, the Dev-Module cousin.

Dev-Object is a kind of Computer Aided Programming or CAP tool. The equivalent I have seen in C++ is a Class Wizard tool integrated into Code::Blocks IDE that can be used to generate a header file (*.h) and an implementation file (*.cpp). As you know in PureBasic a single source code can do the job and this is what Dev-Object do for you.

The source code compile flawlessly under Window XP SP3 and Ubuntu 19.10 (Sorry Mac users I don't have a Mac to try the compile)
There is a tutorial about how to use Dev-Object : http://gsaumure.x10host.com/en_dev_object_tutorial.html

This tool and this way of writing PureBasic code might not be for everybody.

EDIT : The source code along with support files are now on GitHub : https://github.com/StarBootics/Dev-Object

Best regards
StarBootics
Last edited by StarBootics on Sun Nov 12, 2023 11:28 am, edited 6 times in total.
The Stone Age did not end due to a shortage of stones !
User avatar
StarBootics
Addict
Addict
Posts: 984
Joined: Sun Jul 07, 2013 11:35 am
Location: Canada

Re: Dev-Object

Post by StarBootics »

Hello everyone,

EDIT : The source code along with support files are now on GitHub : https://github.com/StarBootics/Dev-Object

Important notes about the version 2.x.x :
  • For Linux only (Tested on Ubuntu 21.10 and Debian 11 x64)
  • The lib "libwebkit2gtk-4.0.so" must be installed
From now on the V2.x.x will be the main focus for development but don't worry any changes/improvements of the code generator will be backported to the V1.x.x.

Best regards
StarBootics
Last edited by StarBootics on Sun Nov 12, 2023 11:29 am, edited 7 times in total.
The Stone Age did not end due to a shortage of stones !
User avatar
StarBootics
Addict
Addict
Posts: 984
Joined: Sun Jul 07, 2013 11:35 am
Location: Canada

Re: Dev-Object

Post by StarBootics »

Hello everyone,

Just let you know that I have updated Dev-Object and it's ready to download (See first post for download link). Nothing very new about the code generator it's self, some minor correction. I have added the help for both French and English languages. Thanks to Thorsten1867 for the MarkDown Gadget.

Have fun !

Best regards
StarBootics
The Stone Age did not end due to a shortage of stones !
Mesa
Enthusiast
Enthusiast
Posts: 342
Joined: Fri Feb 24, 2012 10:19 am

Re: Dev-Object

Post by Mesa »

For information, I use pb5.72 x86 and i had 2 little bugs in "Markdowngadget-module.pb".

Line 599 Structure Document_Structure
I had to change Type.i into Type.q
and line 734 Structure MarkDown_Items_Structure
idem.

M.
User avatar
StarBootics
Addict
Addict
Posts: 984
Joined: Sun Jul 07, 2013 11:35 am
Location: Canada

Re: Dev-Object

Post by StarBootics »

Mesa wrote:For information, I use pb5.72 x86 and i had 2 little bugs in "Markdowngadget-module.pb".

Line 599 Structure Document_Structure
I had to change Type.i into Type.q
and line 734 Structure MarkDown_Items_Structure
idem.

M.
You probably better to report this bug to Thorsten1867 directly. I didn't touch the code beside commenting the pdf IncludeFile stuff if I remember correctly. That being said I will do the modification and re-upload the source code today.

By the way if you can, some feedback about the use of Dev-Object will be appreciated. Thank you !

Best regards
StarBootics
The Stone Age did not end due to a shortage of stones !
User avatar
StarBootics
Addict
Addict
Posts: 984
Joined: Sun Jul 07, 2013 11:35 am
Location: Canada

Re: Dev-Object

Post by StarBootics »

Hello everyone,

I have just uploaded the source to include the latest version of the MarkDown Gadget. According to Thorsten1867 the MarkDown Gadget should work on x86 machines as is.

See first post for download link.

Best regards
StarBootics
The Stone Age did not end due to a shortage of stones !
User avatar
StarBootics
Addict
Addict
Posts: 984
Joined: Sun Jul 07, 2013 11:35 am
Location: Canada

Re: Dev-Object

Post by StarBootics »

Hello everyone,

I have re-uploaded the source code because I have added a window to show the statistics of the code generator. See the first post for the download link.

Press Ctrl + F1 few times to open the statistics window. (Work only after 10 codes generation)

Sorry for the inconvenience.

Best regards
StarBootics
The Stone Age did not end due to a shortage of stones !
User avatar
StarBootics
Addict
Addict
Posts: 984
Joined: Sun Jul 07, 2013 11:35 am
Location: Canada

Re: Dev-Object

Post by StarBootics »

Hello everyone,

I have re-uploaded the source code, I have found some error in the language file. See the first post for the download link.

Sorry for the inconvenience.

Best regards
StarBootics
The Stone Age did not end due to a shortage of stones !
User avatar
StarBootics
Addict
Addict
Posts: 984
Joined: Sun Jul 07, 2013 11:35 am
Location: Canada

Re: Dev-Object

Post by StarBootics »

Hello everyone,

I have found a bug in the copy method generation and made the correction. Beside that the program seem to be stable enough to end the Beta phase. See the first post for download link.

Best regards
StarBootics
The Stone Age did not end due to a shortage of stones !
User avatar
StarBootics
Addict
Addict
Posts: 984
Joined: Sun Jul 07, 2013 11:35 am
Location: Canada

Re: Dev-Object

Post by StarBootics »

Hello everyone,

A small update to version 1.1.0. I have added the support to other object pointer. To make the Dev-Object code generator to recognize them the member name must finish with "Ptr" or "Pointer".

See the first post for download link.

Best regards
StarBootics
The Stone Age did not end due to a shortage of stones !
User avatar
StarBootics
Addict
Addict
Posts: 984
Joined: Sun Jul 07, 2013 11:35 am
Location: Canada

Re: Dev-Object

Post by StarBootics »

Hello everyone,

Just to let you know, the version 1.2.0 is now available to download (See 1st post for download link)

What is new for this version :
  • 1. An option for "Create", "Open" and "Read" binary file to add a FileFormatID at the beginning of the file.
    2. A possibility to "Read/Write", "Create", "Open" and "Read" encoded or encrypted files using custom libraries. The same option to add a none encoded or encrypted FileFormatID at the beginning of the file.
    3. The not needed instruction in the destructor has been removed.
Customs "Read/Write" encoded or encrypted libraries that can be used are :
Any of these libraries can be used as template to create new ones.

Good programming.

Best regards
StarBootics
The Stone Age did not end due to a shortage of stones !
User avatar
StarBootics
Addict
Addict
Posts: 984
Joined: Sun Jul 07, 2013 11:35 am
Location: Canada

Re: Dev-Object

Post by StarBootics »

Hello everyone,

Just to let you know, the version 1.3.0 is now available to download (See 1st post for download link)

What is new for this version :
  • 1. Improvement of Copy(), Compare() and Swapping() operators.
    2. Removal of Getters dependency for Equal(), Plus(), Minus(), Add(), Substract(), Product() and Divide() operators
Good programming.

Best regards
StarBootics
The Stone Age did not end due to a shortage of stones !
User avatar
Kwai chang caine
Always Here
Always Here
Posts: 5342
Joined: Sun Nov 05, 2006 11:42 pm
Location: Lyon - France

Re: Dev-Object

Post by Kwai chang caine »

Excuse me to not see before your post :oops:
I have run your splendid code and apparently that works here
The OOP is too hard for me, but thanks a lot for sharing this amazing and enormous works :shock: 8)
ImageThe happiness is a road...
Not a destination
User avatar
StarBootics
Addict
Addict
Posts: 984
Joined: Sun Jul 07, 2013 11:35 am
Location: Canada

Re: Dev-Object

Post by StarBootics »

Hello everyone,

Just to let you know, the version 1.4.0 is now available to download (See 1st post for download link)

What is new for this version :
  • 1. The memory blocks management
The impacted methods by this addition
  • Set...()
    Update()
    Reset()
    Clear()
    Copy()
    Compare()
    Swapping()
    All binary file related methods
    All encoded/encrypted file related methods (If the Read/Write Data methods are present.)
    The destructor
See the help about The raw data type to learn how to tell the code generator you want to work with raw memory blocks.

Good programming.

Best regards
StarBootics
The Stone Age did not end due to a shortage of stones !
User avatar
StarBootics
Addict
Addict
Posts: 984
Joined: Sun Jul 07, 2013 11:35 am
Location: Canada

Re: Dev-Object

Post by StarBootics »

Hello everyone,

Just to let you know that I have made some addition and correction to the help files.
  • 1. Added licenses information about Scintilla and about expat XML Parser (See "Licenses third party")
    2. Small correction in the "Message from the author" about the current version number and last update date
Nothing special about the code generator for the moment.

Best regards
StarBoottics
The Stone Age did not end due to a shortage of stones !
Post Reply