Murga-Projects Forums
murgaLua 0.7.0 coming soon - Printable Version

+- Murga-Projects Forums (http://www.murga-projects.com/forum)
+-- Forum: Project Forums (/forumdisplay.php?fid=1)
+--- Forum: MurgaLua - General (/forumdisplay.php?fid=2)
+--- Thread: murgaLua 0.7.0 coming soon (/showthread.php?tid=366)


murgaLua 0.7.0 coming soon - JohnMurga - 04-07-2009 02:08 AM

Hi,

The biggest problem right now is with documentation (as ever), but I am hoping I'll make good progress over Easter and release something.

The changes are substantial enough to start the 0.7.0 family with them :-)

And everything works across my 6 supported platforms right now.

I'll post more later.

Cheers
JohnM


RE: murgaLua 0.7.0 coming soon - jpjacobs - 04-08-2009 09:02 PM

I'm sooo looking forward to it.
JP


RE: murgaLua 0.7.0 coming soon - mikshaw - 04-09-2009 04:21 PM

Did you remember to include LuaAI Awww crap. I was hoping for a joke about Skynet MurgaLua bots, but apparently there is already a LuaAI project...DAMN YOU GOOGLE! You always ruin my gags with precedents!


RE: murgaLua 0.7.0 coming soon - JohnMurga - 04-14-2009 08:26 PM

Hi,

Testing builds are available for any platform on request, however, I don't want them out in the wild (so I that I don't end up with incompatible builds as happened before).

No public download, but do ask for a build if you want to play ;-)


Progress update :
  • Overhaul of build process to better support multiple architectures
  • OpenSolaris, FreeBSD and ArmV4 (OpenMoko) platforms now supported
    (Binaries too!)
  • Sound integration and cross platform fixes on all platforms
  • LuaBitOp replaces bitlib due to portability and usability issues
  • Copas upgraded to 1.1.4
  • Lpeg upgraded to 0.9
  • LuaFilesystem upgraded to 1.4.2
  • lzlib upgraded to 0.4-work2
  • Encrypted database container support
    (Will make more modular in next release)
  • At least three editions per platform including command-line only
    (Explained in next post)
  • All code in Git, makes things easier
  • Many smaller tweaks and fixes
Outstanding/pending issues :
  • Documentation
  • Half decent lunit test coverage
    (This is even more important as many of the APIs have bugs on platforms they where never meant to support)
  • Table support incomplete, need to do some more work before release.
  • FLTK 1.3 upgrade created a lot of problems, Unicode is linked to this so will have to wait.
Embedded web server was a bad idea, and will be released as an example instead.

I am pretty happy with how it is shaping up :-)

Cheers
JohnM


murgaLua editions - JohnMurga - 04-14-2009 11:04 PM

Core, Lite and Full :

Current builds weigh in at roughly 180k, 440k and 610k respectively on Windows (the last build I did).

The idea is that you can choose to compile or deploy with whatever best suits your target environment ...
Although I would always favor developing against the full platform.

Core murgaLua includes the core murgaLua functionality for the console :
  • XML support through murgaLua bindings
  • Efficient search and manipulation of data with murgaLua APIs
  • Storage of data with support for encryption through snlcrypt
  • Interface with native system APIs (DLLs, SOs, etc), with Alien
  • Comprehensive networking support though luaSocket, enhanced through copas and coxpcall
  • Interface to the filesystem with LuaFileSystem
  • Compress data with LZO
  • Customized version of luaSys for system and date functions
  • Additional system, utility and debug functions in murgaLua
  • All versions support the compiler

    (APIs : alien, luaLZO, iostring, slncrypt, luasys, luafilesystem, luaSocket, copas, coxpcall, MurgaLuaLib (system, c, lua, debug))
Lite murgaLua includes the above plus the FLTK api, and is in keeping with the sub 500k dream :
  • All fltk binding features
  • Additional murgaLua FLTK utilities
Full murgaLua is the recommended no-compromises release :
  • Encrypted database support (custom/standard sqlite3 databases)
  • Excellent integrated proAudioRt audio lib along with it's Ogg and WAV support
  • Advanced date handing functionality (date lib)
  • Advanced templating functionality (cosmo)
  • And other useful lua bindings (md5, lzlib, random, LuaBitOp, lpeg-0.9)
I am open to suggestions on how to improve this, so please don't hold back.

Cheers
JohnM


RE: murgaLua 0.7.0 coming soon - asafp - 04-15-2009 05:49 AM

"Comprehensive networking support though luaSocket, enhanced through copas and coxpcall"
What additional features do we get with copas and coxpcall?

Is Continue statement in there?


RE: murgaLua 0.7.0 coming soon - JohnMurga - 04-15-2009 07:35 AM

asafp Wrote:
"Comprehensive networking support though luaSocket, enhanced through copas and coxpcall"
What additional features do we get with copas and coxpcall?

Is Continue statement in there?


I think that "continue" might have been in the previous build too ...
Anyway, yes it is.

Quote:
Copas is a dispatcher based on coroutines that can be used by TCP/IP servers.

It basically helps you when writing code that responds to several simultaneous connections.

Cheers
JohnM


RE: murgaLua 0.7.0 coming soon - JohnMurga - 04-19-2009 08:15 AM

0.7.0 is now feature complete, I am going to give myself a week or so to write some docs and tidy up before release.

Testing builds have gone out to those that requested them.

Recent changes :

  • Special integration of the "Rings" API.
  • Integrated logging API.
  • Networking added to core as requested.
  • Add system enabler functions to the murgaLua core.
  • Added startup parameters to further accelerate startup in some circumstances.
  • Fixed several bugs in TCP, MacOS port, and core.
The new startup parameters :

These are specially useful if you are spawning or forking murgaLua processes (for CGI or whatever).

-M0 : Disable all murgaLua functionality
This runs as a pure lua interpreter, and gives you the fastest startup.

-M1 : Run in core murgaLua mode (only basic features enabled)
Equivalent to running a murgaLua-core executable with CLI features only.
This starts much faster than the other murgaLua modes.


-M2 : Run in lite murgaLua mode if available (murgaLuaFltk + core)

-M3 : DEFAULT - Run in FULL murgaLua mode (if available)

The System enabler functions :

These are useful if murgaLua has been started with one of new startup parameters, or if a new new murgaLua state has been created with the "Rings" API.

When creating a state with "Rings" it'll be the equivalent of "M0", with the following the murgaLua mode can be changed if/when needed :

These are for the murgaLua modes :

_enableMurgaLuaCore()
_enableMurgaLuaLite()
_enableMurgaLuaFull()

These for the "Stable" rings API :

_enableRingsStable()

Cheers
JohnM


RE: murgaLua 0.7.0 coming soon - jyf1987 - 04-29-2009 07:09 PM

cool, that's what i need of the 'Rings' concept


RE: murgaLua 0.7.0 coming soon - JohnMurga - 04-30-2009 02:21 AM

Update :

Currently all binaries are RC, the only one giving a fair amount of trouble is OpenSolaris.

However, I am not releasing until I have completed the docs.

And I do that when I get a chance now and then.

Cheers
JohnM


RE: murgaLua 0.7.0 coming soon - jyf1987 - 05-01-2009 11:12 AM

recently i am using tinycorelinux and it can display my chinese char by adding a fonts

and it use fltk too,so i think maybe we can use murgaLua as the base of that linux just like dsl does


RE: murgaLua 0.7.0 coming soon - jpjacobs - 05-16-2009 09:28 PM

Just a little question:
will there be a 64bit build too? because while the murgaLua fine on 64bit without modification (here at least) it fails to load libraries that are on the system with this error:
error loading module 'luasql.sqlite3' from file '/usr/lib/lua/5.1/luasql/sqlite3.so':
/usr/lib/lua/5.1/luasql/sqlite3.so: wrong ELF class: ELFCLASS64

Which kind of makes sense, but it would be usefull to do stuff like this (I know sqlite3 is also in murgaLua, but just an example here.)

Edit: It would also be nice if in the package.path and package.cpath would contain the standard paths for lua modules, and not only the /usr/local/... onces
so :
package.path=package.path..";./?.lua;/usr/local/share/lua/5.1/?.lua;/usr/local/share/lua/5.1/?/init.lua;/usr/local/lib/lua/5.1/?.lua;/usr/local/lib/lua/5.1/?/init.lua;/usr/share/lua/5.1/?.lua;/usr/share/lua/5.1/?/init.lua"

package.cpath=package.cpath .. ";./?.so;/usr/local/lib/lua/5.1/?.so;/usr/lib/lua/5.1/?.so;/usr/local/lib/lua/5.1/loadall.so"

Doing this we can use the lua modules already on the system
greetz,

Jan-Pieter


RE: murgaLua 0.7.0 coming soon - jpjacobs - 09-11-2009 12:11 AM

Oh and by the way, the luacom stuff (excelTest.lua and speechTest.lua) throw an error:
K2:27: 'then' expected near 'in'
while they don't when run in 0.6.8

Greetz,
JP


RE: murgaLua 0.7.0 coming soon - JohnMurga - 09-14-2009 08:32 PM

jpjacobs Wrote:
Oh and by the way, the luacom stuff (excelTest.lua and speechTest.lua) throw an error:
K2:27: 'then' expected near 'in'
while they don't when run in 0.6.8

Greetz,
JP


Thanks for the report ... I'll fix that.

There will be a 64Bit build, and I will make changes to the package.path stuff.

Cheers
John de Murga


RE: murgaLua 0.7.0 coming soon - jpjacobs - 12-02-2009 01:29 AM

Hey how are things going with the 0.7? I'm really looking forward to the release, and I keep recommending murgaLua to people.
If I can help with anything, let me know.
Greetings,

JP


RE: murgaLua 0.7.0 coming soon - JohnMurga - 12-09-2009 08:27 AM

jpjacobs Wrote:
Hey how are things going with the 0.7? I'm really looking forward to the release, and I keep recommending murgaLua to people.
If I can help with anything, let me know.

I am hoping to get time over the holidays ...

And I also just couldn't stop myself from adding more things I'll have to document now :-(

Cheers
JohnM


RE: murgaLua 0.7.0 coming soon - mikshaw - 12-13-2009 03:32 PM

I haven't posted in a long time, though I still have been visiting regularly...I had forgotten my password after changing computers, and apparently the "reset password" function here doesn't actually do anything. I eventually remembered the proper password, though, so now I can say yes I'm also looking forward to your upgrades =o)


RE: murgaLua 0.7.0 coming soon - znarf - 12-16-2009 08:05 AM

I also want to express my continuous valuation of and interest in murgaLua. I just used it the last weeks for creating a configuration UI, murgaLua is still best for getting such things done quickly in a platform-independent manner.
Please keep the baby alive...


RE: murgaLua 0.7.0 coming soon - JohnMurga - 12-16-2009 10:04 PM

znarf Wrote:
I also want to express my continuous valuation of and interest in murgaLua. I just used it the last weeks for creating a configuration UI, murgaLua is still best for getting such things done quickly in a platform-independent manner.
Please keep the baby alive...

Thanks

It is very much alive as I continue to improve it for my own projects.

I just have to tidy things up and create a proper release.

Before the end of the year I should get the time.

Cheers
John de Murga


RE: murgaLua 0.7.0 coming soon - mikshaw - 01-15-2010 05:44 AM

Is there a performance difference between running murgaLua_lite and running murgaLua -M2?
If there is little or no difference other than the file size on disk, I wonder if you are making extra work for yourself by having many different executables.


RE: murgaLua 0.7.0 coming soon - JohnMurga - 01-16-2010 09:06 AM

mikshaw Wrote:
Is there a performance difference between running murgaLua_lite and running murgaLua -M2?
If there is little or no difference other than the file size on disk, I wonder if you are making extra work for yourself by having many different executables.

Yes, there is a noticeable performance implication under some scenarios.

And the "lite" if for environments without X.

Although theoretically it would be possible to create a M2 for non-threaded frame buffer systems (!), which is also a reason.

Cheers
JohnM


RE: murgaLua 0.7.0 coming soon - jpjacobs - 09-30-2010 06:54 AM

And how's murgaLua 0.7 going?
A time back I was again making publicity for murgaLua, but the person in question was a bit doubtful of using a package that hasn't had an official update in more than 2 years ...
You're loosing users this way.
Maybe it wouldn't be bad to publish at least a beta release at the website?

Greets,

Jan-Pieter


RE: murgaLua 0.7.0 coming soon - JohnMurga - 10-08-2010 10:15 PM

You are right.

I will release my current 0.7.x branch this weekend.

Still nowhere as polished as I would like, but it fixes all the reported issues and adds a few new cool features.

Cheers
John de Murga


RE: murgaLua 0.7.0 coming soon - mikshaw - 10-11-2010 03:28 AM

I'd click the "like" button multiple times, if there was a "like" button.


RE: murgaLua 0.7.0 coming soon - JohnMurga - 10-11-2010 11:08 AM

mikshaw Wrote:
I'd click the "like" button multiple times, if there was a "like" button.


Currently I have a couple of show stopper MacOS build bugs.
And I got the flu.

I will release as soon as I fix them, but it's not going to be tonight.

Hopefully tomorrow

Cheers
John de Murga


RE: murgaLua 0.7.0 coming soon - JohnMurga - 10-11-2010 12:28 PM

OK ... Bugs where fixed

Mac/Linux/Win drop tomorrow

With unfinished new docs

Just finishing the release notes


RE: murgaLua 0.7.0 coming soon - jpjacobs - 10-11-2010 08:34 PM

Nice nice nice ! Thumbs up!