News : The level of daily SPAM has reached insane proportions, all registrations are now manual. I ask you to send me an e-mail (john (at) murga (dot) org), to confirm that you want me to create an account for you.


Search Results
Post Author Forum Replies Views Posted []
  Thread: MurgaLua Compiler
Post: RE: MurgaLua Compiler

[quote=JohnMurga] [quote=Juergen] I'd like to ask the Kepler guys, if they include it in the md5 library, since they have the bin2hex version already (also in Lua). If they take it, it would make s...
Juergen MurgaLua - General 14 23,515 02-06-2008, 09:29 AM
  Thread: MurgaLua Compiler
Post: RE: MurgaLua Compiler

[quote=Juergen] I improved the hex2bin function a little. The hex2bin function now accepts every even numbered string, that contains valid characters ([0123456789aAbBcCdDeEfF]). Juergen [/quote]...
Juergen MurgaLua - General 14 23,515 02-06-2008, 08:14 PM
  Thread: testing presence of ML feature
Post: RE: testing presence of ML feature

I think you are looking for something like that: [code] do local iter=string.gmatch(murgaLua.version,"%d+") local major,minor,sub=tonumber(iter()),tonumber(iter()),tonumber(iter()) if min...
Juergen MurgaLua - General 17 31,342 02-07-2008, 06:54 AM
  Thread: testing presence of ML feature
Post: RE: testing presence of ML feature

Alternatively: [code] do local version=0; for x in string.gmatch(murgaLua and murgaLua.version or "0","%d+") do version=version*100+tonumber(x) end if version<=0505 then print"You must use a...
Juergen MurgaLua - General 17 31,342 02-07-2008, 08:40 AM
  Thread: testing presence of ML feature
Post: RE: testing presence of ML feature

[quote=mikshaw] Yes, that's exactly the result I was originally thinking of, but wasn't sure where to start. Thanks. =o) I'm definitely saving this for future tests, and putting it in with the rest ...
Juergen MurgaLua - General 17 31,342 02-07-2008, 09:07 AM
  Thread: testing presence of ML feature
Post: RE: testing presence of ML feature

[quote=mikshaw] Yeah, I had the assumption that local variables could only be used within a function. I like that last one best. It seems it would be completely reusable without modification, exce...
Juergen MurgaLua - General 17 31,342 02-07-2008, 10:52 AM
  Thread: testing presence of ML feature
Post: RE: testing presence of ML feature

[quote=mikshaw] It just occurred to me that testing the version string is not going to be as reliable as I'd hoped for a little while. The version string in 0.6 is "0.5.5", so until 0.6.5 it will con...
Juergen MurgaLua - General 17 31,342 02-08-2008, 01:25 AM
  Thread: testing presence of ML feature
Post: RE: testing presence of ML feature

[quote=mikshaw] I don't think it works? I tested it with murgaLua 0.6 and 0.5.5, and both exited. They both work, as expected, when you run minimal_version("0.5.5") [/quote] Have you checked the...
Juergen MurgaLua - General 17 31,342 02-08-2008, 01:49 AM
  Thread: Fluid to lua converter
Post: RE: Fluid to lua converter

[quote=Tobi] [quote=JohnMurga] Hi, I was playing with the fluid_parser and I was wondering how easy it would be to change it so that it is able to cope with menu entries, as murgaLua 0.6 can now ...
Juergen MurgaLua - General 15 25,479 02-08-2008, 03:40 AM
  Thread: testing presence of ML feature
Post: RE: testing presence of ML feature

[quote=mikshaw] I've been doing various version checking tests on all versions from 0.1 to current (excluding 0.2, which I never had for some reason). Both 0.5.5 and 0.6.PRE-RELEASE have a version s...
Juergen MurgaLua - General 17 31,342 02-08-2008, 04:51 AM
  Thread: testing presence of ML feature
Post: RE: testing presence of ML feature

There was a small bug in the previous version. This should fix it all: [code] function minimal_version(minimal_version) local x=string.gmatch((murgaLua and murgaLua.version or "0"),"%d+") lo...
Juergen MurgaLua - General 17 31,342 02-08-2008, 06:13 AM
  Thread: Fluid to lua converter
Post: RE: Fluid to lua converter

[quote=mikshaw] [quote]function Fl_Menu_Bar:copy(MI_table)[/quote]Holy crap. I had never considered the possibility that you could define methods like this. That's really sweet! [/quote] Fl_Menu_Ba...
Juergen MurgaLua - General 15 25,479 02-08-2008, 09:15 AM
  Thread: MurgaLua full release
Post: RE: MurgaLua full release

[quote=JohnMurga] I'll be making a cross platform build tomorrow I hope, and it'll be denominated 0.6.4 ... But it still won't be a full build as there is no way I'll get to update all the documentat...
Juergen MurgaLua - General 13 18,819 02-11-2008, 10:41 AM
  Thread: user_data() == Hooray!
Post: RE: user_data() == Hooray!

[quote=iGame3D] Care to explain? How does this user_data() work? Maybe I'm doing everything wrong... [/quote] Maybe something is implemented, but I had also no luck. So it isn't just you. J...
Juergen MurgaLua - General 2 4,522 02-11-2008, 10:44 AM
  Thread: Adding and Extending Widgets
Post: RE: Adding and Extending Widgets

[quote=mikshaw] After seeing Juergen's demonstration of [url=http://www.murga-projects.com/forum/showthread.php?tid=258&pid=1018#pid1018]extending widgets with new methods[/url], and William's post a...
Juergen MurgaLua - General 1 10,172 02-11-2008, 11:08 AM
  Thread: MurgaLua full release
Post: RE: MurgaLua full release

[quote=JohnMurga] [quote=Juergen] The Fl_Menu_:menu() method doesn't work. I guess you are checking for an argument. The menu() should gives back the pointer to the first menu_item, which should be ...
Juergen MurgaLua - General 13 18,819 02-11-2008, 11:30 AM
  Thread: MurgaLua full release
Post: RE: MurgaLua full release

[quote=JohnMurga] [quote=Juergen] Yes it is ;-) I overlooked that. Although there is a small misunderstanding. menu:find_item(first_item) and menu:menu(0) is exactly the same, but for the latter y...
Juergen MurgaLua - General 13 18,819 02-13-2008, 12:29 PM
  Thread: luasocket help
Post: RE: luasocket help

[quote=asafp] I just want to send a simple string, something like ltn12.source.xxxx(postdata), but can't figure out what xxxx should be. Any direction would be greatly appreciated. [/quote] Ha...
Juergen MurgaLua - General 5 9,606 02-14-2008, 07:58 PM
  Thread: MurgaLua full release
Post: RE: MurgaLua full release

Hi John, I haven't read your message since I wrote mine quite a few hours before. Unfortunately I got occupied somewhere else before I could post it and when I got back I just pressed the post repl...
Juergen MurgaLua - General 13 18,819 02-18-2008, 08:55 AM
  Thread: License
Post: RE: License

I second that. I was also going to raise that issue. If John wants to stick with the GPL then I have no problems, but the license should be clarified. It would also be a good thing to have a writte...
Juergen MurgaLua - General 7 9,781 02-21-2008, 03:57 AM