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.


Post Reply  Post Thread 
MurgaLua 0.6.6
Author Message
JohnMurga
Administrator
*******


Posts: 381
Group: Administrators
Joined: Apr 2007
Status: Offline
Reputation: 2
Post: #1
MurgaLua 0.6.6

Hi,

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

http://www.murga-projects.com/murgaLua/m...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

03-23-2008 11:13 PM
Visit this user's website Find all posts by this user Quote this message in a reply
mikshaw
Senior Member
****


Posts: 522
Group: Registered
Joined: Apr 2007
Status: Offline
Reputation: 5
Post: #2
RE: MurgaLua 0.6.6

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.

This post was last modified: 03-24-2008 11:30 PM by mikshaw.

03-24-2008 11:44 AM
Find all posts by this user Quote this message in a reply
Tobi
Junior Member
**


Posts: 20
Group: Registered
Joined: May 2007
Status: Offline
Reputation: 0
Post: #3
RE: MurgaLua 0.6.6

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

04-09-2008 07:20 AM
Find all posts by this user Quote this message in a reply
JohnMurga
Administrator
*******


Posts: 381
Group: Administrators
Joined: Apr 2007
Status: Offline
Reputation: 2
Post: #4
RE: MurgaLua 0.6.6

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

04-09-2008 08:22 AM
Visit this user's website Find all posts by this user Quote this message in a reply
jpjacobs
Member
***


Posts: 113
Group: Registered
Joined: Jul 2007
Status: Offline
Reputation: 0
Post: #5
RE: MurgaLua 0.6.6

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

04-09-2008 08:29 PM
Find all posts by this user Quote this message in a reply
boscobearbank
Junior Member
**


Posts: 2
Group: Registered
Joined: Sep 2007
Status: Offline
Reputation: 0
Post: #6
Question  RE: MurgaLua 0.6.6

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);


Bosco Bearbank
Registered Linux user
04-13-2008 12:12 AM
Find all posts by this user Quote this message in a reply
JohnMurga
Administrator
*******


Posts: 381
Group: Administrators
Joined: Apr 2007
Status: Offline
Reputation: 2
Post: #7
RE: MurgaLua 0.6.6

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

04-14-2008 03:30 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply  Post Thread 

View a Printable Version
Send this Thread to a Friend
Subscribe to this Thread | Add Thread to Favorites

Forum Jump: