PDA

View Full Version : thinBasic beta 1.7.8.0



ErosOlmi
09-04-2009, 08:11
I'm developing next thinBasic 1.7.8.0

In case you would like to test and report feedback, Download url for thinBasic Beta version 1.7.8.0 is:
http://www.thinbasic.biz/projects/thinbasic/thinBasic_1.7.8.0.zip

Regards
Eros

ErosOlmi
10-04-2009, 07:34
For those who know the path where to download 1.7.8, I've updated setup.
_________________________________________________
Updates:

Simone found a bug in a Core interface function thinBasic_VariableParse that can prevent modules to change UDT elements passed BYREF to module functions. For example TBGL_EntityGetPos was not functioning anymore if passed BYVAL x, y, z were an UDT element
started to improve Tutorial html code examples
added initial examples of WebBrowser control in \thinBasic\SampleScripts\WebBrowser\
This control is still not documented (I will do soon) and some functionalities can change before the end of this beta run but you can get an idea.
WebBrowser control was possible thanks to new PowerBasic COM functionalities and to the massive work of José Roca (http://www.jose.it-berater.org/smfforum/index.php) on COM wrappers.


Eros

ErosOlmi
11-04-2009, 01:36
For those who know the path where to download thinBasic 1.7.8.0 beta version, I've updated setup.
_________________________________________________
Updates:

Fixed WITH/END WITH clause preventing usage of dotted notations in expressions
Added latest requests on Registry (Michael Clease) and Canval_Polygon (Lionheart008)
redesigned Template application. Source code is included.


Eros

ErosOlmi
12-04-2009, 00:45
For those who know the path where to download thinBasic 1.7.8.0 beta version, I've updated setup.
_________________________________________________
Updates:

Definitely added new WebBrowser module with a full set of functions that will let your develop (well, quite close ;) ) your personalized web browser. If not so, in any case WebBrowser control will let you develop more nice and attractive GUI interfaces.
Finished documenting all so far developed new functionalities


I will work a bit on WebBrowser events and DOM interface: possibility to get events when you click on a button inside a WebBrowser, possibility to interact with html elements in a web page, ... things like that.

Good night
Eros

ErosOlmi
12-04-2009, 09:58
An example showing the potentialities of the new WebBrowser control.
Included both .exe and souce code. Source is compatible only with thinBasic version 1.7.8.0 beta

More features in WebBrowser control will be present in next updates.

Ciao
Eros

PS: example removed because source code is available in beta setup.

Michael Hartlef
12-04-2009, 10:49
This is a great addition to TB. Thank you! :eusaclap:

ErosOlmi
13-04-2009, 18:40
For those who know the path where to download thinBasic 1.7.8.0 beta version, I've updated setup.
_________________________________________________
Updates:

Improved WebBrowser module with some ver interesting functionalities.
MiniWebBrowser source code example available in \thinBasic\SampleScripts\WebBrowser\ directory.
Improved tutorial application. ATTENTION: this setup will completely delete previous tutorial files.
Implemented all recent changes asked in forum
Finished documenting all so far developed new functionalities


Regards
Eros


PS: for those willing to test thinBasic beta 1.7.8.0, send me a personal message asking about it.

ErosOlmi
14-04-2009, 14:39
I've updated thinBasic beta 1.7.8.0 setup.
_________________________________________________
Updates:

Fixed important bug in function parameter passing. Thanks Dave
Added CANVAS functions requested by Petr


Regards
Eros

PS: in case others would like to test thinBasic beta 1.7.8.0, in first post of this thread I've indicated url where to download it.

Petr Schreiber
14-04-2009, 15:16
Thanks a lot,

I like the new options for parameter passing :occasion:


Petr

ErosOlmi
16-04-2009, 07:22
I've updated thinBasic beta 1.7.8.0 setup.
_________________________________________________
Updates:

Added all recent fix and requests
Tutorial script now has an .ini configuration file where to store application parameters like window position, size, status and more in future updates. It will automatically created the first time script is executed


Regards
Eros

PS: in case you would like to test thinBasic beta 1.7.8.0, in first post of this thread I've indicated url where to download it (http://community.thinbasic.com/index.php?topic=2588.msg19386#msg19386).

ErosOlmi
18-04-2009, 17:25
I've updated thinBasic beta 1.7.8.0 setup.
_________________________________________________
Only one fix:

Hopefully fixed bug reported in this bug report: Problem assigning SubTypes: TypeTwo.TypeOne = TypeOne (http://community.thinbasic.com/index.php?topic=2621.0)


Regards
Eros

PS: in case you would like to test thinBasic beta 1.7.8.0, in first post of this thread I've indicated url where to download it (http://community.thinbasic.com/index.php?topic=2588.msg19386#msg19386).

ErosOlmi
22-04-2009, 08:05
I've updated thinBasic beta 1.7.8.0 setup.
_________________________________________________
Only one main improve:

thinDebug starts to be able to inspect UDT variables during debugging sessions.
When debugging a thinBasic script you can now inspect UDT structures, arrays of UDT, sub UDT, sub UDT arrays, arrays of elements. To be honest I didn't had much time to test deeply but it should work in most of the cases.
Only kind of variables not yet handled correctly should be VARIANTs. If an UDT contains a Variant, I'm quite sure debugging will crash. I will add Variants handling in future updates.
also fixed external functions (usually Windows API) returning QUAD data type.


Regards
Eros



PS: in case you would like to test thinBasic beta 1.7.8.0, in first post of this thread I've indicated url where to download it (http://community.thinbasic.com/index.php?topic=2588.msg19386#msg19386).

ErosOlmi
22-04-2009, 08:21
Sorry, just uploaded again the file due to an error in handling string icons in UDT inspection during thinDebug.

Petr Schreiber
22-04-2009, 09:02
Hi Eros,

very well done!
On my PC there is just 1 issue at the moment:
- in case UDT has dynamic string member, it crashes the debugger on clicking the UDT variable in listview


Thanks,
Petr

ErosOlmi
22-04-2009, 10:04
Thanks Petr, I will check asap. Doing programming while heavy work load at job :unguee: give me zero time to test.
Also UNIONS will have problems but easily fixable in next release.

Ciao
Eros

ErosOlmi
22-04-2009, 17:26
I've updated thinBasic beta 1.7.8.0 setup.
_________________________________________________

Fixed Petr reporting about dynamic strings inside UDT crashing debugger during UDT inspection.

Regards
Eros



PS: in case you would like to test thinBasic beta 1.7.8.0, in first post of this thread I've indicated url where to download it (http://community.thinbasic.com/index.php?topic=2588.msg19386#msg19386).

Petr Schreiber
22-04-2009, 22:08
Thanks Eros :)

ErosOlmi
23-04-2009, 14:20
I've updated thinBasic beta 1.7.8.0 setup.
_________________________________________________

Fixed bug reported by Dave at: http://community.thinbasic.com/index.php?topic=2631.0

Regards
Eros



PS: in case you would like to test thinBasic beta 1.7.8.0, in first post of this thread I've indicated url where to download it (http://community.thinbasic.com/index.php?topic=2588.msg19386#msg19386).

ErosOlmi
25-04-2009, 07:01
I've updated thinBasic beta 1.7.8.0 setup.
_________________________________________________
Made some important changes:

Added UIAdv module. This module will contain advanced UI (User Interface) controls.

UI_ImageCtx module has been removed. UI_ImageCtx control changed the name to ImageCtx and it is now included in UIAdv module.[/b]

Added XPButton control in UIAdv module. See examples in \thinBasic\SampleScripts\UI\XPButton\ directory.
More info and maybe more functionalities will come with this control



Regards
Eros



PS: in case you would like to test thinBasic beta 1.7.8.0, in first post of this thread I've indicated url where to download it (http://community.thinbasic.com/index.php?topic=2588.msg19386#msg19386).

Petr Schreiber
25-04-2009, 10:58
Thanks Eros ( and José of course ),

this is very easy to use and looks great.
Just observed one minor problem - when I move mouse fast over button in XPBUTTON_02, image starts to flicker a bit.


Petr

Lionheart008
25-04-2009, 11:03
hi :)


Just observed one minor problem - when I move mouse fast over button in XPBUTTON_02, image starts to flicker a bit.

dito, noticed the same flickering behaviour when moving slow or fast over button... ;)

Lionheart

ErosOlmi
27-04-2009, 10:49
Yes I noted too also in the original code compiled in Power Basic.

I'm checking if I can adopt some double buffering technique to draw button on a bitmap and than draw the bitmap in the button DC without erasing the background.


Ciao
Eros

ErosOlmi
30-04-2009, 06:53
I've updated thinBasic beta 1.7.8.0 setup.
_________________________________________________

Summary of the main changes:

Fixed missing MAT functionalities reported by dcromley (http://community.thinbasic.com/index.php?topic=2645.msg19869#msg19869)
Improved thinDebug stability. Debugger will no longer crash when dealing with variables being PTR of something. Also fixed multi line string handling used by scripts that take advantages by Oxygen module
Added/fixed new Shell command when you Right-Click on a thinBasic script file. You should see a "thinDebug" item in shell menu. This will let you run selected script in debug mode directly from the OS shell
Updated Oxygen (JIT machine code compiler) module to the latest available on SVN: server.
Thanks Charle Pegge for continuously working on improving this module
Updated TBEM (thinBasic Event Manager) module to the latest available on SVN: server. Michael Hartlef fixed a problem in TBEM_Run function.
Thanks Michael for continuously working on improving this module


Regards
Eros



PS: in case you would like to test thinBasic beta 1.7.8.0, in first post of this thread I've indicated url where to download it (http://community.thinbasic.com/index.php?topic=2588.msg19386#msg19386).

ErosOlmi
02-05-2009, 22:40
I've updated thinBasic beta 1.7.8.0 setup.
_________________________________________________

Summary of the main changes:

Updated Oxygen module with latest release made by Charles. Charles silently update his creature on a daily (but sometimes hourly) basis
Improved WHILE/WEND loop speed when used in nested way: while/wend inside while/wend
Improved speed in array elements handling especially for single dimension arrays
Important: WebBrowser control is no more inside a dedicated module but it has been included into UIAdv module close to ImageCTX and XPButton controls. This will be more practical and will reduce bundled exe size that uses such controls together.



Regards
Eros



PS: in case you would like to test thinBasic beta 1.7.8.0, in first post of this thread I've indicated url where to download it (http://community.thinbasic.com/index.php?topic=2588.msg19386#msg19386).

ErosOlmi
04-05-2009, 15:25
I've updated thinBasic beta 1.7.8.0 setup.
_________________________________________________

Summary of the main changes:

Fixed an important bug introduced with previous update regarding WHILE/WEND optimization
This update includes latest OXYGEN module. Improvements mentioned in http://community.thinbasic.com/index.php?topic=2655.msg19977#msg19977 by Charles are included.


Regards
Eros


PS: in case you would like to test thinBasic beta 1.7.8.0, in first post of this thread I've indicated url where to download it (http://community.thinbasic.com/index.php?topic=2588.msg19386#msg19386).

ErosOlmi
15-05-2009, 17:35
I've updated thinBasic beta 1.7.8.0 setup.
_________________________________________________

Summary of the main changes:

Added static element in UDT structures. You can test script at: http://community.thinbasic.com/index.php?topic=2661.msg20031#msg20031
ARRAY UNIQUE statement ... added. Currently working only on string arrays but sooner it will be expanded
New way to define variables, more close to Charles O2 way.

Long MyLong1, MySecondLong
EXT MyBigNumber = 123456.78901234
or

DIM AS Long MyLong1, MySecondLong
DIM AS EXT MyBigNumber = 123456.78901234
ListView_Find and ListView_FindExact asked by Martin here http://community.thinbasic.com/index.php?topic=2656.0
Also should be visible a little over all speed but I'm not sure if really visible or not
Oxygen module updated to the latest available in SVN server. Thanks Charles for your continuous update.


Regards
Eros


PS: in case you would like to test thinBasic beta 1.7.8.0, in first post of this thread I've indicated url where to download it (http://community.thinbasic.com/index.php?topic=2588.msg19386#msg19386).

efly2020
17-05-2009, 20:56
Thanks so much for the new ways to define variables.
It makes defining nicer.

:comp5:

kryton9
17-05-2009, 21:43
This new variable naming option is very nice as it makes it easy when coming from other languages too.

ErosOlmi
18-05-2009, 15:27
I've updated thinBasic beta 1.7.8.0 setup.
_________________________________________________

Quick fix on:

possibly fixed GPF in thinAir mentioned in http://community.thinbasic.com/index.php?topic=2669.0 and http://community.thinbasic.com/index.php?topic=2670.0
Problem seems due to compiler problem. I'm discussing it with compiler manufacturer.
Oxygen module updated to the latest available in SVN server. Thanks Charles for your continuous update.


Regards
Eros


PS: in case you would like to test thinBasic beta 1.7.8.0, in first post of this thread I've indicated url where to download it (http://community.thinbasic.com/index.php?topic=2588.msg19386#msg19386).

Petr Schreiber
18-05-2009, 15:54
Thanks Eros,

it seems ThinAir problems are gone :occasion:

martin
18-05-2009, 20:40
yes undo bug seems to be gone :good:

ErosOlmi
01-06-2009, 16:13
Updated thinBasic beta 1.7.8.0 setup.
_________________________________________________

Changes:

New set of functions working on async Internet data downloads: INET_Internet_OpenUrl, INET_Internet_Open, INET_Internet_CloseHandle, INET_Internet_ReadFile, INET_Internet_SetStatusCallback, INET_Internet_StatusGetDescription, INET_Http_QueryInfo. Added many predefined equates needed to support mentioned new functionalities. More functions on the Internet interaction will come.
After installation, see example at \thinBasic\SampleScripts\INet\Internet_FileDownload.tbasic
Fixed Petr report on pre-operator concatenation on fixed and dynamic strings inside UDT: http://community.thinbasic.com/index.php?topic=2693.0
Developed Petr request on more flexible sub UDT passing as function params: http://community.thinbasic.com/index.php?topic=2694.0
Added missed equates for ListView_Find and ListView_FindExact: http://community.thinbasic.com/index.php?topic=2656.0
many little internal fixes and adjustments
Oxygen module updated to the latest available in SVN server


Regards
Eros


PS: in case you would like to test thinBasic beta 1.7.8.0, in first post of this thread I've indicated url where to download it (http://community.thinbasic.com/index.php?topic=2588.msg19386#msg19386).

ErosOlmi
08-06-2009, 16:51
Updated thinBasic beta 1.7.8.0 setup.
_________________________________________________

Changes:

fixed MAT problems for scalar multiplication
added few new functions to convert UFT8 to unicode to ansi strings
few more fix


_________________________________________________
News:
added a new module called OnLineScoring. Do you recall something? :D
While you are reading this message, have a look at the top of this web page, close to "Search" menu you will see "thinGaming" link. We have created a dedicated web area where to handle scoring from games created using thinBasic and thinBasic OnlineScoring module. This module is able to do 2 specific things: store and/or retrieve results for a specific game. One line of code to store a score, one line of code to get scoring.

How it will work?

Every game participating to thinBasic gaming online will have to be registered. If you have a nice game ready to be modified in order to store and collect scoring from thinBasic online gaming system, please ask. We will review the game and decide
If we will register your game we will send you a key to be used by OnLineScores module in order to talk with the web part of the system
for the moment both obfuscated (or bundled) scripts can be used to store game results. We also store if the result was generated by a plain text script or obfuscated one. I'm not sure we will continue to accept scoring from plain text scripts in future.

To check by yourself how it works, install latest thinBasic beta 1.7.8.0 and check under \SampleScripts\OnlineScoring\ directory. You will find two examples working with a test game we have already setup on the server. You should be able to be familiar quite quickly with the functionalities. Also check on help to have more details.

thinBasic Online Scoring System is in beta version. We will make many changes both in OnLineScores module and in dedicated web site depending on user reactions and suggestions.

Let us know what you think.

Regards
Eros


PS: in case you would like to test thinBasic beta 1.7.8.0, in first post of this thread I've indicated url where to download it (http://community.thinbasic.com/index.php?topic=2588.msg19386#msg19386).

Petr Schreiber
08-06-2009, 16:56
You can download bundled Peg Solitaire with support for online scores here (http://community.thinbasic.com/index.php?topic=2680.msg20214#msg20214)!
Let your name shine for eternal time in the hi score board :)!

ErosOlmi
28-06-2009, 16:16
Sorry for the delay in delivering new beta update but I'm making a lot of changes in new preview.
Most of the changes will not be visible but I need to finish them before able to release new thinCore.

Just to let you know.
Eros