Dear LuaRT Community,
LuaRT 0.9.5 is now available, and can be downloaded at [Login to see the link].
With this release, we have taken a step closer to major features like the ability to compile Lua scripts into executables (the setup file is entirely written in LuaRT and is compiled into an executable by using an internal version of the compiler).
The main feature is static versions of the console and desktop interpreters, eliminating the dependency on Lua54.dll. Using binary third-party modules, however, is at your own risk with these static interpreters.
Besides the usual bug fixes, there are some neat additions (the ability to load "ttf" fonts, to load icons from filesystem associations, or the ability to change the console's font). Beware with the File.filename property now changed to File.name property.
The [Login to see the link] has been updated accordingly and a lot of typos, errors (bad links) have been fixed.
Please feel free to post any feedback or bug reports.
Here are the main changes since version 0.9.4 :
[ NEW ] New LuaRT GUI installer written in LuaRT
[ NEW ] New widget ui.Picture supporting JPEG, TIFF, GIF, PNG, BMP and ICO formats
[ NEW ] New registry functions : sys.registry.read(), sys.registry.write(), sys.registry.delete()
[ NEW ] Zip.file property returns the Zip filename
[ NEW ] zip.isvalid() checks if the specified zip file is valid
[ NEW ] ui.remove() removes a widget
[ NEW ] List:onDoubleClick() event
[ NEW ] New console.font and console.fontsize property
[ NEW ] New Directory.name property
[ UPDATED ] File:copy() now uses the same filename by default
[ UPDATED ] zip module now have two member : Zip Object constructor and isvalid() method
[ UPDATED ] Zip:extract() can now extract zip entries preserving their path if needed
[ UPDATED ] Widget:loadicon() now accept string or File object
[ UPDATED ] Widget:loadicon() method can now extract an icon from an EXE or DLL or retrieve the default associated icon
[ UPDATED ] Widget.font property can now accept a font file (".ttf", ".fon"...)
[ UPDATED ] Tab.items, List.items, Combo.items properties are now indexable by strings
[ UPDATED ] File.name property replaces now File.filename
[ UPDATED ] Setting/getting LuaRT modules fields is now possible as in standard Lua
[ UPDATED ] Widget:loadicon() now uses default system associated icon if not found in the specified file
[ UPDATED ] Zip constructor now accepts File objects
[ UPDATED ] notepad.wlua now changes font, fontsize and fontstyle when setting font
[ BUG FIXED ] ui.msg, ui.info, ui.error, ui.warn() now ensure the foreground window is from ui module
[ BUG FIXED ] Button:loadicon() is now really available
[ BUG FIXED ] Combo:onSelect() and Combo:onChange() crash fixed when altering item.text property
[ BUG FIXED ] Sizing and position properties now fixed when using non integer values
[ BUG FIXED ] Windows have now their default background color (back to gray) !
[ BUG FIXED ] Now widgets transparency and Windows theme are more respected (TabItems, Labels, Checkboxes...)
[ BUG FIXED ] ui.opendialog() and ui.savedialog() now use the provided title
[ BUG FIXED ] List column now resizes correctly with the List
[ BUG FIXED ] List can now show items correctly
[ BUG FIXED ] Widget align() method now uses correct parent size
[ BUG FIXED ] Tabs now draws correctly
[ BUG FIXED ] Console.fullscreen removes the vertical scrollbar correctly when set to true
Regards,
Samir