murgaLua-0.5.PREVIEW ... Out now
|
Author |
Message |
JohnMurga
Administrator
      
Posts: 381
Group: Administrators
Joined: Apr 2007
Status:
Offline
Reputation: 2
|
murgaLua-0.5.PREVIEW ... Out now
UPDATE ...
Find it here :
http://www.murga-projects.com/murgaLua/m...IEW.tar.gz
Cheers
================================================
Hi,
I haven't given you guys anything in a while, but ...
The truth is that I am in the middle of some complicated and troublesome code right now, so I am tidying up things to a point where I can do a preview release ... This will occur tomorrow, as I'll do a feature cut-off.
This is going to be a PREVIEW release, with very little documentation just so people can play with the new features before the full release.
It'll really just be the runtimes + some examples.
The features that I have cleaned up and put back in so far are :
- New function "murgaLua.createFltkTimer()" - GREAT for really responsive animation and stuff.
- New function "murgaLua.getHostOsName()" returns one of "linux", "windows" or "macos".
- New function "murgaLua.sleep(miliseconds)" (reliable system level).
- Fixed a few minor FLTK issues.
- XML api additions (will document later).
- convertFluidToMurguaLua fixes based on forum feedback.
sleep).
I will post the package with Linux and Windows support tomorrow, and pass the source to iGame3d so he can post the Mac build shortly after.
I am not including the source until the final release as a few things are a bit of a mess.
Cheers
JohnM
This post was last modified: 07-02-2007 06:28 AM by JohnMurga.
|
|
07-01-2007 07:23 AM |
|
 |
JohnMurga
Administrator
      
Posts: 381
Group: Administrators
Joined: Apr 2007
Status:
Offline
Reputation: 2
|
RE: murgaLua-0.5.PREVIEW ... Out now
|
|
07-02-2007 05:00 PM |
|
 |
JohnMurga
Administrator
      
Posts: 381
Group: Administrators
Joined: Apr 2007
Status:
Offline
Reputation: 2
|
RE: murgaLua-0.5.PREVIEW ... Out now
Any feedback on this would be appreciated, for starters I want to state that the drawSleepTest.lua is really an example on how NOT to do things ...
Filtering for events can be risky unless you know exactly what to filter on, for instance I have just noticed that I have to add event "16" to line 3 on one of my Windows machines ... Otherwise the program exists right away.
Secondly, to keep the UI responsive I recommend using the murgaLua.createFltkTimer() control instead of the new sleep function (although the sleep function is pretty useful for other things).
I don't know when I'll make the new release, but I would hope to get a lot of feedback on this release and incorporate some new features, as well as fixes and my own new stuff before the full release.
Cheers
JohnM
|
|
07-02-2007 08:10 PM |
|
 |
mikshaw
Senior Member
   
Posts: 522
Group: Registered
Joined: Apr 2007
Status:
Offline
Reputation: 5
|
RE: murgaLua-0.5.PREVIEW ... Out now
initial reaction: I love the timer.
I was trying to think of a need for murgaLua.getHostOsName(). It could be very useful when combined with os.execute or io.popen.
|
|
07-03-2007 12:38 AM |
|
 |
faughanvale
Junior Member
 
Posts: 5
Group: Registered
Joined: Jun 2007
Status:
Offline
Reputation: 0
|
RE: murgaLua-0.5.PREVIEW ... Out now
I needed a sleep function in a program which requires a lot of delays in its data display. I replaced the "for loops" with murgaLua.sleep(miliseconds) and I could almost hear my Thinkpad 600 sigh with relief.
Now I can listen to uninterrupted radio on the web and run my program!
Thanks for murgaLua and the puppy linux forum,
Dan
|
|
07-10-2007 06:46 AM |
|
 |
chrimo
Member
  
Posts: 94
Group: Registered
Joined: May 2007
Status:
Offline
Reputation: 0
|
RE: murgaLua-0.5.PREVIEW ... Out now
Hi,
I've compiled and tested (quick and dirty) the PREVIEW at OSX 10.4 (PPC).
Compilation problem: OSX has no upx
Solution: build own from source or remark it at Makefile. Makefile seems to have problems with detection of OSX
First test of my own applications did not show any special problems...
Now I'd like to check the old OSX-Problem with SubWindows (not visible, Windows XP works) 
My special interest are the new timer-function for my RobotSimulator
Bye
Christian
|
|
07-18-2007 07:31 AM |
|
 |
JohnMurga
Administrator
      
Posts: 381
Group: Administrators
Joined: Apr 2007
Status:
Offline
Reputation: 2
|
RE: murgaLua-0.5.PREVIEW ... Out now
I've compiled and tested (quick and dirty) the PREVIEW at OSX 10.4 (PPC).
Compilation problem: OSX has no upx
Solution: build own from source or remark it at Makefile. Makefile seems to have problems with detection of OSX
Umm, could you e-mail me the makefile output ? I assume you where doing "make macos" ?
Also, would you mind doing PPC builds for me in the future ?
I have someone doing Intel builds, but not PPC builds (I think you are the sole user).
First test of my own applications did not show any special problems...
Now I'd like to check the old OSX-Problem with SubWindows (not visible, Windows XP works) 
Might be worth doing a search in the FLTK forums about that issue ...
I am thinking of trying to get a second hand PPC Mac so I can test and build on macs ...
My special interest are the new timer-function for my RobotSimulator
Do you have a homepage for that project that I can link to ?
Cheers
JohnM
|
|
07-20-2007 08:28 PM |
|
 |
chrimo
Member
  
Posts: 94
Group: Registered
Joined: May 2007
Status:
Offline
Reputation: 0
|
RE: murgaLua-0.5.PREVIEW ... Out now
Hi John,
I try to give you all informations later this night, when I'm at $HOME 
Cheers
Bye
Christian
|
|
07-20-2007 10:02 PM |
|
 |
chrimo
Member
  
Posts: 94
Group: Registered
Joined: May 2007
Status:
Offline
Reputation: 0
|
RE: murgaLua-0.5.PREVIEW ... Out now
Hi John,
after a very long birtday party, I'm now back and try to give you some more informations about murgaLua-0.5-pre at OSX 10.4.10 (PPC)...
make maosx output:
$>make macos
sh ../tools/embedLuaSocket.sh
sh ../tools/embedMurgaLuaLib.sh
make ../bin/murgaLua PLAT=macos
make[1]: `../bin/murgaLua' is up to date.
strip ../bin/murgaLua
../tools/upx --lzma ../bin/murgaLua
../tools/upx: ../tools/upx: cannot execute binary file
make: *** [macos] Error 126
As you see, make tries to execute UPX-Tools, while operating system is not correctly detected...
$(PLATS) :
sh ../tools/embedLuaSocket.sh
sh ../tools/embedMurgaLuaLib.sh
$(MAKE) $(TARGET) PLAT=$@
strip $(TARGET)$($@EXT)
ifeq ($@,macos)
@echo "MacOS UPX not available, pack under Linux"
else
echo $(PLAT)
#../tools/upx$($@EXT) --lzma $(TARGET)$($@EXT)
endif
A simple output of the variable show the same effect (PLAT ==> none)
Just remarking the usage og UPX helps, but it is just a fake or bad workaround 
$>uname -a
Darwin m49svr4169g5.moccy.lan 8.10.0 Darwin Kernel Version 8.10.0: Wed May 23 16:50:59 PDT 2007; root:xnu-792.21.3~1/RELEASE_PPC Power Macintosh powerpc
I haven't had time to made more investigations into this problem, but I try to find it out this week...
If I find some more time I can publish my robot-samples at this forum... Currently I have no own homepage available...
Bye Chrimo
|
|
07-22-2007 09:25 PM |
|
 |
iGame3D
Moderator
  
Posts: 231
Group: Moderators
Joined: Apr 2007
Status:
Offline
Reputation: 0
|
RE: murgaLua-0.5.PREVIEW ... Out now
Here's the Mac OS Intel Build At more stable location.
this is the sh file I use to build
#!/bin/sh
## murgaPATH is the location of your murgaLua source folder '/Path/to/murgaLua/'
export murgaPATH='/murgaLua/'
## build steps as functions
muMakeLua(){
## First we build lua
cd $murgaPATH
cd lua-5.*/src
make bsd;
make install;
}
muMakesqLite(){
## Followed by sqLite
cd $murgaPATH
cd sqlite-3.*/
./configure
make
make install
cd ..
}
muMakeFltk(){
## The final dependency is Fltk
cd $murgaPATH
cd fltk-1.1*
## --enable-xft (For linux)
./configure --disable-gl --enable-localjpeg --enable-localzlib --enable-localpng
make
make install
## But we also want a working copy of fluid for GUI generation
cp fluid/fluid ../bin/MacOs-Intel
cd ..
cd $murgaPATH
strip bin/MacOs-Intel/fluid
}
muMakeMurgaLua(){
## If there is a MacOS upx equivalent it would be nice to do something like
## upx --lzma bin/MacOs-Intel/fluid
## But assuming there isn't
## we next build murgaLua
make macos
cd bin
mv murgaLua MacOs-Intel
}
## Do the making of murgaLua for Mac OS X
muMakeLua
echo "Finished install lua. Thank you"
muMakesqLite
echo "Finished install sqLite. Thank you"
muMakeFltk
echo "Finished install Fltk. Thank you"
muMakeMurgaLua
echo "Finished building murgaLua. Thank you"
exit;
##END murgaLuamaker.sh
This post was last modified: 07-27-2007 04:04 PM by iGame3D.
|
|
07-27-2007 04:00 PM |
|
 |
|