Dear LuaRT Community,
LuaRT 0.9.4 is now available, and can be downloaded at [Login to see the link].
This is an important release in the development cycle of LuaRT, aiming to prepare for an open source release in version 1.0. This release fixes over a hundred bugs and memory leaks, while overhauling the ui module to make Windows Desktop application development faster and easier. There are new widgets included (including Menus, Tabs, Lists, Comboboxes...), support for icons, fonts, cursors, shortcuts.
The redesign of the [Login to see the link] with tutorials will allow beginners to take their first steps more easily. Furthermore, the documentation of the ui module includes many examples (after a lot of work !).
In this version, several forthcoming features are also being prepared, including :
- a REPL to simplify interactive use of LuaRT
- an executable compiler for the creation of stand-alone executables, which allows you to deploy your console and desktop applications without having to distribute your scripts.
Please feel free to post any feedback or bug reports.
Here are the main changes since version 0.9.3 :
[ NEW ] Tab and List onContext(), onHover() and onLeave() events
[ NEW ] Combobox, List and Tab remove() method
[ NEW ] ComboItem, ListItem and TabItem are now iterable
[ NEW ] ComboItem, ListItem and TabItem owner property
[ NEW ] ComboItem, ListItem and TabItem remove() method
[ NEW ] Combobox.text property
[ NEW ] Combobox, Tab and Listbox constructors now expects table with strings items
[ NEW ] List:sort() method
[ NEW ] List.style and Combobox.style property
[ NEW ] MenuItems, Button, List, Combobox, Tab objects now support icons
[ NEW ] MenuItems.onClick event
[ NEW ] Widget.cursor property to change control's cursor when hovering with the mouse
[ NEW ] Widget.font is now a read/write property
[ NEW ] Widget.fontsize property
[ NEW ] Widget.fontstyle property
[ NEW ] Window:loadicon(), Button:loadicon() and MenuItem:loadicon() methods
[ NEW ] Item object for List, Tab and Combobox members
[ NEW ] Tab:insert(), List:insert() and Combobox:insert() methods
[ NEW ] Entry:searchup() and Edit:searchdown() method
[ NEW ] Entry:add() method
[ NEW ] Edit.selection property
[ NEW ] Edit:load() and Edit:save() method, supporting RTF files
[ NEW ] New ui.colordialog() function
[ NEW ] New Window style "raw"
[ NEW ] The long awaited system function sys.Beep() is now implemented
[ NEW ] Widget.parent property
[ NEW ] Widget.onCreate event
[ NEW ] ui.mousepos() function
[ NEW ] Window:showmodal() method
[ NEW ] Window:shortcut() method
[ NEW ] Window:popup() method
[ NEW ] Window.menu property
[ UPDATED ] Rework of ui objects event system for a new faster implementation and more responsiveness
[ UPDATED ] Total rework of Menu and MenuItem objects
[ UPDATED ] ui.dirdialog() now return a Directory value
[ UPDATED ] ui.opendialog() now allow multiple files selection
[ UPDATED ] ui.dialogfont() updated
[ UPDATED ] Tab.selected, Combobox.selected and List.selected properties now get/set an Item object
[ UPDATED ] Menu.items, Tab.items, List.items and Combobox.items are now iterable
[ UPDATED ] List.items, Combobox.items and Tab.items are now proxy table to Item objects
[ UPDATED ] Menu.items is now a proxy table to MenuItem objects
[ UPDATED ] Tab.pages renamed to Tab.items accordingly to List.items and Combobox.items
[ UPDATED ] ui.fontdialog() now returns choosen font name, size, styles and color.
[ UPDATED ] Notepad.wlua example rewrite, now supporting large files, RTF file type
[ UPDATED ] ui.update() now has an optional delay argument
[ UPDATED ] wluart.exe has now a new icon
[ BUG FIXED ] Tabs now draws correctly
[ BUG FIXED ] Objects inheriting from Widgets are now fixed
[ BUG FIXED ] Inherited Objects use of properties inside constructor is now fixed
[ BUG FIXED ] Tab.pages text property fixed
[ BUG FIXED ] ui.savedialog and ui.loaddialog filter bug fixed
[ BUG FIXED ] Setting Tab.selected, Listbox.selected and Combobox.selected properties now throws an onSelect event
[ BUG FIXED ] Edit object now has a border
[ BUG FIXED ] Stack bug fixed after Window:onClose() event
[ BUG FIXED ] Fixed error message when occuring with get/set property
[ BUG FIXED ] Changing font of a Widget now autosizes the Widget to take count the change
[ BUG FIXED ] Widgets fontsize property now get/set the font height in points not in pixels
[ BUG FIXED ] Window.constructor() bug fixed, now using the given width and height arguments
[ BUG FIXED ] Window:align() bug fixed
[ BUG FIXED ] Widget.x and Widget.y property bug fixed
[ BUG FIXED ] Widget.width and Widget.height property bug fixed
[ BUG FIXED ] Widget.enabled property now redraws the Widget
[ BUG FIXED ] Resized window now update properly its status bar
[ BUG FIXED ] sys.clipboard get property now fixed
[ BUG FIXED ] console.read bug with DEL key fixed
[ BUG FIXED ] File:open() uses "binary" encoding now, if not provided
[ BUG FIXED ] Richedit DLL now unloads correctly
[ BUG FIXED ] Pipe constructor now hides the created process
[ BUG FIXED ] Windows with "fixed" styles maximize button now hidden on Windows 11
[ BUG FIXED ] Now ui.Window() shows correctly on the Windows Taskbar
[ BUG FIXED ] ui.opendialog() and ui.savedialog() not return nil if user have canceled as expected
Regards,
Samir