Page 3 of 4

Posted: Tue Apr 18, 2006 12:36 pm
by tomijan
Hi al90
maybe you can add an checkbox to tourning off converting include files?
I would sometimes do this separately!

tom

Posted: Tue Apr 18, 2006 6:51 pm
by AL90
@tomijan

Ok its also added in ToDo-List.

Posted: Fri Apr 21, 2006 8:19 pm
by AL90
New version 1.0.5 available!

V1.0.5
------
- The Extension for Includes is now selectable.
- Convert of Includes can now enable or disable.
- A InfoText (;Converted on DD:MM:YY) can now insert in converted Sourcecode.
- Some Fixes.

Download from PureArea.net

Download from CodersWorkshop.com

Download from the Project Homepage

Posted: Tue Apr 25, 2006 3:29 pm
by dracflamloc
Cool, thanks

Posted: Wed Apr 26, 2006 10:17 pm
by aszid
very nice!

I've converted one of my sources (about 23k w/ includes) and i had only 1 issue with the conversion.

The original line of code was:

Code: Select all

If OpenWindow(#Window_0, 216, 0, #SCREEN_WIDTH, #SCREEN_HEIGHT,  #PB_Window_SystemMenu | #PB_Window_SizeGadget | #PB_Window_TitleBar | #PB_Window_ScreenCentered , Title$)
And it was converted into:

Code: Select all

If OpenWindow(#Window_0, 216, 0, #SCREEN_WIDTH, #SCREEN_HEIGHT, Title$,  #PB_Window_SystemMenu | #PB_Window_SizeGadget | #PB_Window_TitleBar | #PB_Window_ScreenCentered )

Other than that, it worked flawlessly! This was a graphical application as well, including sprite, sprite3d, particles, etc.. And worked great!


*edit*
I've only got beta3 installed where i tested this... so it may very well be that the one line of code is fine

Posted: Wed Apr 26, 2006 10:29 pm
by aszid
nevermind that one line of code i mentioned :)

updated to beta11, and that line seems to be the correct way.

Posted: Sun May 07, 2006 12:15 pm
by tomijan
@al90
i try to use your converter as plugin in pb4.b11, but nothing happend, when i call that (by menu). i use command line parameters as follow:

PB394toPB400 "%FILE" "%TEMPFILE"

is that correct? maybe some options should be turned on?

tom

Posted: Mon May 08, 2006 8:03 am
by Michael Vogel

Code: Select all

Global Dim ...
...will be translated into...

Code: Select all

Global Global Dim ...

Posted: Tue May 09, 2006 7:27 pm
by AL90
@tomijan

Here my entry from the pb4.b11 IDE. It works fine to me.

Code: Select all

;  PureBasic IDE ToolsMenu Configuration
; 
[ToolsInfo]
ToolCount = 1
; 
; 
[Tool_0]
Command = C:\Programme\PBSourceConverter\PBSourceConverter.exe
Arguments = PB394toPB400 "%FILE" "%TEMPFILE"
WorkingDir = 
MenuItemName = PB3.94 to PB4.00
Shortcut = 0
ConfigLine = 
Trigger = 0
Flags = 1
ReloadSource = 1
HideEditor = 0
HideFromMenu = 0
Deactivate = 0
@Michael Vogel

Global Dim is not valid in PB3.94

Posted: Wed May 10, 2006 10:37 am
by tomijan
@al90
thx, now it's working fine

tom

Posted: Tue May 16, 2006 10:38 pm
by AL90
New version 1.0.6 available!


V1.0.6
------
- Added support for DoubleClick in Edit-Jobs Panel.
- A Bug was fixed in recognize of parameters.
- Some Fixes.

Download from PureArea.net

Download from CodersWorkshop.com

Download from the Project Homepage

Posted: Tue May 16, 2006 10:43 pm
by josku_x
thankx for the update!

Posted: Thu May 25, 2006 11:41 pm
by AL90
New version 1.0.7 available!

V1.0.7
-------
- The Number of ConvertingJobs will now displayed in PluginEditor.
- Conversion over CommandLine will now shown also a Processbar.
- Some changes in GUI-Text.
- Some Fixes.

Download from PureArea.net

Download from CodersWorkshop.com

Download from the Project Homepage

Posted: Tue Jun 13, 2006 2:53 pm
by eJan
Thanks AL90 - very useful tool.
Maybe some suggestions:
Drag & drop for "Original Sourcecode" StringGadget + auto insert filename to "Save Sourcecode as" = filename + _.ext.
At startup "PB394to400" Plugin loaded - default selected.
"Converting" ButtonGadget default button to accept "ENTER" HotKey. :wink:

Posted: Tue Jun 13, 2006 11:11 pm
by AL90
Added in ToDo-List.