What modules would you like to see in luapower?
Now that the new site is finished (well, it's never finished so I had to stop somewhere), I'm back to coding on modules, so I wanted to start a little poll to see what people are missing from luapower. If anyone has a wish, now is the time to ask. I'll be making a roadmap for 2015 soon with what I want to do, and I may be able to adjust my priorities it if there's demand for other stuff.
LuaSec is on my TODO list. I started
bindingbuilding it but lost interest when I saw what it takes to build OpenSSL :)
Personally I would rather like to have a facade API on top of the OS SSL/TLS implementations on Windows and OSX. Since this is a security thing, I think it's the OS not the app which should be responsible for maintaining and updating the TLS code, the CA bundle and the CRL database.
While binding libCURL I noticed they did exactly that, so now I wonder if there are any other such libs out there or if should just go ahead and bind that (I know nothing about TLS, but if that's enough for libCURL, it should be enough for anyone). If anyone has time to do some shopping for this, please drop any links here. Thanks.
On a second thought, can OpenSSL be compiled to be such a facade on Win & OSX? Must research this but kinda busy these days...
Nice to hear it's planned! I'm afraid I can't help you with it though, I'm comfortable with lua and some scripting languages but that's about it.
I do have another package for the wishlist though: wxWidgets, it's well documented and already cross platform, so I hope it can be added. Together with for example wxFormBuilder it provides a very easy way to develop a program with a nice graphical form-based interface.
re: wxWidgets: no way I'm adding that bloatware :) I suspect that even a ffi binding for that would be huge and painful to do (not to mention building it, it has a ton of dependencies). Also, it adds in a ton of non-GUI functionality which every C/C++ framework needs because by themselves those languages cannot stitch two strings together (it adds data structures, it's own way of doing multi-threading, queues, etc.) TBH these frameworks go against every design principle of luapower which strives for modularity and having small, focused libs doing only one thing.
But don't despair: check out nw - that's some code that you can actually understand and is very well documented IMHO. It's only 2KLOC per backend and a 2KLOC frontend. It does windows and input and you can draw with cairo and/or opengl (it even has notification icons, clipboard support, etc). That's the kind of code that you can control, you don't have to depend on upstream for bug fixing and it doesn't take 4h to build on a hi-end machine :)
There's no widgetset (it is planned) but you can make your own widgets IMGUI-style -- it should be easy and fun to do in Lua.
Haha, thanks for the reply, didn't know wxWidgets was so awful under the hood.
I think winapi looks like a better replacement for what I need, I'll mainly need a few buttons, lists, checksboxes and edit boxes. The winapi demo will be very helpful with that.
Here are a few more modules that I would like to add to the wishlist:
th/tth - Tiger and TTH hashing http://sourceforge.net/projects/freetiger/
iconv - charset conversion http://ittner.github.io/lua-iconv/
geoip - link IP to location https://github.com/agladysh/lua-geoip
How about your own file system using FFI?
I vote for
Text to Speech and vice-versa.
I found this.
But I saw no releases so I decided to post it here.
Check out https://github.com/luapower/libgit2 -- I abandoned it (I'd rather implement the whole thing in Lua), but if you need it you could use that as a starting point FWIW.
would be nice if IUP could be included.
Not by me, but feel free :) It's only Windows + Linux, not OSX.
For luapower/mingw32 I managed to implement lua-gd, xml and LuaCOM.
Request for merging will follow soon ;-)
For LuaCOM, it´s mandatory to use Cmake for generating - no way to build with a simple shell-script - how to deal with that?
Plus I realized that porting modules from LuaDist is a pretty straightforward job - but again, Cmake is mandarory...
There's a xml module in luapower called expat, check it out.
For 2D graphics check out cairo which is better than gd and the bindings are ffi-based, not C based and it also integrates well with libpng, freetype, winapi etc. bindings.
If you need to use cmake then that's that (currently only libjpeg-turbo requires it because I was too lazy to make a build script for it) but an effort to make a simple shell script would be appreciated. In any case, even if you require cmake you should still make bash wrapper scripts with the correct cmake invocations so that it works out-of-the-box with the prescribed toolchain (that's a very important feature for me).
I now have a working lzmq with zeromq 4.2 ( however mingw32 only ). Works perfectly. Going to push it online asap.
SDL2 (maybe https://github.com/Tangent128/luasdl2)
Hi LuaPower Forum, I would like a sqlite module for lua power, as I want to use sqlite. As a Lua Noobee, I am tearing my hair out trying I built on Linux, an up to date Lua and SQlite Environment using both sites up to date tar files, but cannot for the life of me work out how to get Lua 5.3.4 to work with a Lua SQLite Module Driver and which is best most uptodate with development, with a Lua Sqlite Driver, Module. I would have preferred to stay with these builds, but have now moved to luapower, as the process of updating the modules you have is awesome and painless. Anyone any ideas on how to import the modules, library files for a Lua SQLite Driver into luapower, Thanks David :-)
Although you already declined, I must bring back wxlua.
There is a fine and well maintained github repo at https://github.com/pkulchenko/wxlua (for Win/Linux/OS-X).
I'm using it as it is bundled with ZeroBrane Studio. The wx binding from ZBS plays well together with bin/mingw32/luajit.exe, but with bin/mingw64/luajit.exe I get errors (wx.dll is no valid win32 application). So I'd need a 64bit dll.
Please give it a try to add it to luapower.