Murga-Projects Forums
MurgaLua 0.6.6 - 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.6.6 (/showthread.php?tid=308)


MurgaLua 0.6.6 - JohnMurga - 03-23-2008 11:13 PM

Hi,

I know it's a bit late, but finally here it is :

http://www.murga-projects.com/murgaLua/murgaLua-0.6.6.tar.gz

No formal announcement has been made yet as I hope to do a few more tests and little things in the next couple of days, but either way here are the release notes :
  • Upgraded FLTK to 1.1.8 RC3 and fixed some binding conflicts.
  • Upgraded sqLite to 3.5.7 and the related binding to 3.6 (adds new features).
  • Implemented some additional FLTK methods (Fl_Window:icon(), fl_xid, fl_find, etc).
  • Creaded a murgaLua.fileCopy method for faster file copy operations.
  • Made many minor changes to build scripts and documentation.

The binaries have jumped in size a little, I hope to be able to improve this.

Oh, and readline support is present in the static Linux builds ...

Cheers
JohnM


RE: MurgaLua 0.6.6 - mikshaw - 03-24-2008 11:44 AM

I haven't tested in Windows yet, but so far I can't figure out how to use Fl_Window:icon in Linux:

Code:
win=fltk:Fl_Window(300,200,"Fl_Window:icon() Test")
my_icon={"16 16 4 1",
"  c #000000",
". c #00ff00",
"X c #ffffff",
"o c None",
"oooooo    oooooo",
"oooo  ....  oooo",
"oo  ........  oo",
"o ............ o",
"o .   ....   . o",
" . XXX .. XXX . ",
" . X X .. X X . ",
" . XXX .. XXX . ",
" ..   ....   .. ",
"o ............ o",
"o ...      ... o",
"o   ...  ...   o",
"      ....      ",
"                ",
"oo            oo",
"ooooo      ooooo"
}
win:icon(fltk:Fl_Pixmap(my_icon))
win:show()
Fl:run()

But it doesn't puke anymore when trying :icon =o)

I'm not sure how the readline support is present. I've tried the static non-xft build in damnsmall and the normal linux build in slackware, and neither seems to have it. Maybe I just don't understand how readline works?

EDIT: Also the included widgets_demo is apparently the older beta that doesn't work properly with Windows.


RE: MurgaLua 0.6.6 - Tobi - 04-09-2008 07:20 AM

Thanks John for putting in that file copying functionality, it works great!
There is a problem building murgaLua on Leopard though. The files generated from file2c namely murgaLuaLib-temp.c and socketLua-temp.c become mangled.
Each of those huge const char arrays ends with elements "-n" and "00" like this:

Code:
const char murgaLuaLib_lua[] = {
...
32,114,101,116,117,114,110,32,34,109,97,99,111,115,34,32,101,110,100,10
-n ,00
};


That makes gcc think n is an undefined variable, so it fails to build.
Note that it works fine under OS X 10.4.x !!
Version 0.6.4 of murgaLua also fails to build on leopard, I didn't try any elder version.
Tobi


RE: MurgaLua 0.6.6 - JohnMurga - 04-09-2008 08:22 AM

OK ... 0.6.8 won't build on Leopard either then :-(

However, I am getting 10.5 next week and 0.7.+ will be tested against it.

Thanks for letting me know, maybe I can guess what the problem is ... I'll look at it tomorrow.

Cheers
JohnM


RE: MurgaLua 0.6.6 - jpjacobs - 04-09-2008 08:29 PM

JohnMurga Wrote:
Oh, and readline support is present in the static Linux builds ...


Hmm, weird, I noticed it working in the dynamic builds, but not in the static... (the bin/linux/murgalua).

greetz,

Jan-Pieter


RE: MurgaLua 0.6.6 - boscobearbank - 04-13-2008 12:12 AM

Not necessarily just a MurgaLua 6.6 problem, but convertFluidToMurgaLua.lua doesn't properly convert code that colors my main window.

  1. Create a main window
  2. Color it red
  3. Save and write code
  4. run convertFluidToMurgaLua.lua
  5. Result includes the line:
    object:color((Fl_Color)128);
  6. The above line does not execute properly. The line below does:
    object:color(128);



RE: MurgaLua 0.6.6 - JohnMurga - 04-14-2008 03:30 AM

boscobearbank Wrote:
Not necessarily just a MurgaLua 6.6 problem, but convertFluidToMurgaLua.lua doesn't properly convert code that colors my main window.

  1. Create a main window
  2. Color it red
  3. Save and write code
  4. run convertFluidToMurgaLua.lua
  5. Result includes the line:
    object:color((Fl_Color)128);
  6. The above line does not execute properly. The line below does:
    object:color(128);


I'll try and fix that for the 0.6.8 final ...

Cheers
JohnM