Delay on the expected next release

Update notifications and future news will be posted here
Post Reply
User avatar
Serkan
Developer
Developer
Posts: 214
Joined: Thu Jul 04, 2013 8:44 pm
Location: Windows.h
Contact:

Delay on the expected next release

Post by Serkan »

The planned update of SD Studio version is delayed due to following reasons

The main problem is the package system , a zip library is used in the package system , and that zip library is causing problems in runtime
So far tried CAB archive format but that did not work as expected , now investigating lzma (A.K.A 7Zip ) and if it will work then this will be used for package system and for the runtime zip functions

Second problem is that ,using meta methods for the objects
according to the performance tests , using a meta method table for each object slow downs the performance and increases the memory usage

Therefore we are returning to the classic dot notation system Object.Function() instead of Object:Function()
In short one global function table that manages all objects by getting them as an argument , actually meta method system works alike new system
but requires a creator function in a global table that is called as :

Code: Select all

MyObject = Object.New();
--and then 
MyObject:DoSomething()
in order to avoid confusion on this , we have designed a system like

Code: Select all

MyImage = Image:New();
--and then 
MyImage:DoSomething();
-- or
Image:DoSomething(MyImage);
This causes duplication of meta method tables


Other than these , started adding new objects
Image was one of them ,currently Opacity and Rotation options exist and more will be added

And AutoResize feature for all controls

A general use dialog has been added to select a source for the controls that loads a file (for example Image)
You can manually bind a file in a package to an image object in design time ,just with a few mouse clicks
Attachments
select_source_dlg.png
ctaty3
Registered User
Posts: 22
Joined: Tue Jan 23, 2018 9:24 am

Post by ctaty3 »

when is the new version expected?
User avatar
Serkan
Developer
Developer
Posts: 214
Joined: Thu Jul 04, 2013 8:44 pm
Location: Windows.h
Contact:

Post by Serkan »

One of the problems mentioned above has been fixed
It was use of Lua syntax and there is no need to change anything
A workaround which is much better and faster than standard Lua meta tables has been implemented

For example 32.767 items can be added to a listbox in <= 1 second

Between 32.767 is the maximum item limit for the listbox which comes from the Windows OS
You can add more than this number of items but scrollbar will not function properly ,that's because of 16Bit integer limitation in the some common controls

But there will be other list controls (at least one) which are custom and will not be affected by this limitation

For the other problem ,we are still investigating for a proper package system
Because of this, next version will not have support for the packages on runtime
In design time you can still create packages and assign them to controls and see preview , but it will not work when you preview application

ctaty3 wrote: Tue Feb 27, 2018 7:27 am when is the new version expected?

A new version will be released this weekend or the first day of next week (next Monday)

If we can find a proper package solution until the next release date then ,package system will work in next version
Post Reply