ToolBox Manager V1.0.4

Developed or developing a new product in PureBasic? Tell the world about it.
User avatar
Guimauve
Enthusiast
Enthusiast
Posts: 742
Joined: Wed Oct 22, 2003 2:51 am
Location: Canada

ToolBox Manager V1.0.4

Post by Guimauve »

Hello everyone,

The ToolBox Manager V1.0.0 is available to download. Unfortunately you will have to compile the source of this program your self. (The code compile fine Under Linux Mint 12 x64 and Windows XP SP3)

Edit V1.0.1 : I have added an Opening mode. see toolbox_manager_en.html for details
Edit V1.0.2 : Forget to mention, miscellaneous bugs correction.
Edit V1.0.3 : Only *.pb and *.pbi files can be viewed by ToolBox Manager.
Edit V1.0.4 : Now it's possible to load the file under the cursor.

Download link : ToolBox_Manager_V104.zip

have fun !

Best regards
Guimauve
Last edited by Guimauve on Thu Mar 01, 2012 1:10 pm, edited 4 times in total.
IdeasVacuum
Always Here
Always Here
Posts: 6380
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: ToolBox Manager V1.0.0

Post by IdeasVacuum »

Hi Guimauve, are you going to tell us what ToolBox Manager is for/does? I'm going to assume it has nothing to do with a bag of spanners........ :?
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
User avatar
Guimauve
Enthusiast
Enthusiast
Posts: 742
Joined: Wed Oct 22, 2003 2:51 am
Location: Canada

Re: ToolBox Manager V1.0.0

Post by Guimauve »

IdeasVacuum wrote:Hi Guimauve, are you going to tell us what ToolBox Manager is for/does? I'm going to assume it has nothing to do with a bag of spanners........ :?
Ok I will put you into the context.

You currently developing a 3D game consisting of 6 different programs. These program use basically the same custom libraries and also use many custom libraries used in many other program. So in the past few years have take the bad Idea to copy the same file 5,6,7,8,9 and more time to all different project folders. Updating these custom libraries are so painful I have place all of these file in the same folder. Now with my ToolBox Manager tool I can manage these files more easily.

So instead of writing in my code :

Code: Select all

IncludeFile "/home/guimauve/codes purebasic/librairies/maths/vector/vector2.pb"
IncludeFile "/home/guimauve/codes purebasic/librairies/maths/vector/vector3.pb"
IncludeFile "/home/guimauve/codes purebasic/librairies/maths/vector/vector4.pb" 
I can simplify the IncludeFile to this :

Code: Select all

ToolBoxFile "vector2.pb", "vector3.pb", "vector4.pb"
As we can see, it's lighter to read !

ToolBox Manager intercept the PB_EditorOutput.pb to change ToolBoxFile "vector2.pb", "vector3.pb", "vector4.pb" back to

Code: Select all

IncludeFile "/home/guimauve/codes purebasic/librairies/maths/vector/vector2.pb"
IncludeFile "/home/guimauve/codes purebasic/librairies/maths/vector/vector3.pb"
IncludeFile "/home/guimauve/codes purebasic/librairies/maths/vector/vector4.pb"
Just before the Compile/Execute so for the compiler it's obsoletely normal source code. Moreover, ToolBox Manager allow the user to select witch source code are need for the current project thought a selecting window and insert a line like this

Code: Select all

ToolBoxFile "matrix22.pb", "matrix33.pb", "matrix44.pb"
The source code after the TooBoxFile keyword can be load in the IDE for review, correction, modification, update an so on.

This what ToolBax Manager do. Managing not compiled libraries written in PureBasic. It's similar to FreeMat or MatLAB ToolBox system. The only differences is in PureBasic we still have to Include the source file.

I hope this can help you to understand.

Best regards.
Guimauve
Last edited by Guimauve on Wed Feb 22, 2012 2:40 pm, edited 1 time in total.
IdeasVacuum
Always Here
Always Here
Posts: 6380
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: ToolBox Manager V1.0.0

Post by IdeasVacuum »

I see, now that is clever :mrgreen:
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
User avatar
Guimauve
Enthusiast
Enthusiast
Posts: 742
Joined: Wed Oct 22, 2003 2:51 am
Location: Canada

Re: ToolBox Manager V1.0.0

Post by Guimauve »

Hello everyone,

I have just updated the source code archive. 5 different modes has to be configured to use ToolBox Manager : Preferences, Compile/Run, Create Executable, Load File and insert File.

See "toolbox_manager_en.html" for details.

Best regards
Guimauve
User avatar
StarBootics
Enthusiast
Enthusiast
Posts: 698
Joined: Sun Jul 07, 2013 11:35 am
Location: Canada

Re: ToolBox Manager V1.0.4

Post by StarBootics »

Hello everyone,

I didn't check my self but the download link is broken but I have the source code and I have modified it (converted the entire program into Modules)

My question is : How many of you are interested to have the new version of the source code ?

Best regards
StarBootics
The Stone Age did not end due to a shortage of stones !
RSBasic
Moderator
Moderator
Posts: 1119
Joined: Thu Dec 31, 2009 11:05 pm
Location: Gernsbach (Germany)
Contact:

Re: ToolBox Manager V1.0.4

Post by RSBasic »

Alternative download link: http://www.rsbasic.de/backups/ :arrow: http://www.rsbasic.de/backupprogramme/T ... anager.zip

@StarBootics
Can you upload your modified source code? Then I can upload your file on my server and this file is available forever. Thank you :)
ImageImageImageImage Image
User avatar
StarBootics
Enthusiast
Enthusiast
Posts: 698
Joined: Sun Jul 07, 2013 11:35 am
Location: Canada

Re: ToolBox Manager V1.0.4

Post by StarBootics »

A long overdue the version 3.0.0 of toolbox Manager originally created by Guimauve :

https://www.dropbox.com/s/xnhq9lecvfe1x ... 3.zip?dl=0

Best regards
StarBootics
The Stone Age did not end due to a shortage of stones !
HanPBF
Enthusiast
Enthusiast
Posts: 544
Joined: Fri Feb 19, 2010 3:42 am

Re: ToolBox Manager V1.0.4

Post by HanPBF »

You could do something like this

IncludePath "/home/guimauve/codes purebasic/librairies/maths/vector"

includes ; does not (yet) exist in PB!
"vector1.pb"
"vector2.pb"
"vector3.pb"
end includes

There are some caveats...
You can not double click on "vector1.pb" to open the file -> does only work with full path.
The block "includes" "end includes" does not exist in PB -> could be an improvement.

The best would really be plugins for PureBasic IDE, so tools can completely integrate in the environment!


So, nice tool!
Thanks for sharing!
User avatar
StarBootics
Enthusiast
Enthusiast
Posts: 698
Joined: Sun Jul 07, 2013 11:35 am
Location: Canada

Re: ToolBox Manager V1.0.4

Post by StarBootics »

Hello everyone,

I have found a bug and make correction and while I'm at it I have re-write the program using an OOP programming style. So you can download the latest version here :
https://www.dropbox.com/s/98ek8cneeydfk ... 4.zip?dl=0

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

Re: ToolBox Manager V1.0.4

Post by StarBootics »

Hello everyone,

Sorry for the inconvenience but I have missed some texts in the language files for those who want to translate in other language than French and English.You can download the corrected language files along with the entire source code with this link :
https://www.dropbox.com/s/98ek8cneeydfk ... 4.zip?dl=0

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