View Full Version : Girder 3.2.6 prerelease 2.
Ron
October 18th, 2002, 03:06 PM
Changes
Fixed OpenXML bug that affected 3.2.5 and 3.2.6 pre1
The scripting editor now saves the lua bytecode as well as the lua source code. This bytecode is then use in the commands for faster execution.
Added HTML OSD to the distribution; note, forgot to add docs... on todo list
Right click Lua editor brings up Bookmark option and variable inspector.
Mark F
October 18th, 2002, 03:40 PM
You've been very busy for someone with school work to do. ;)
The scripting editor now saves the lua bytecode as well as the lua source code. This bytecode is then use in the commands for faster execution.
Where is this byte code data saved? If a plugin is invoking LUA routines to do event processing, would it be faster for the plugin to invoke the parser and pass the byte code data?
Ron
October 19th, 2002, 12:54 AM
You've been very busy for someone with school work to do.
Yeah :( i know... (DAD! :wink:) turns out that a lot of classes where canceled giving me plenty of time, since there where no assignments from them classes :-)
The bytecode is saved in the binary field. So when the script action triggers girder first looks for the bytecode, if that is available it will use the bytecode, saving Lua the parsing step ( this will make it a lot quicker ). If there is no bytecode the action will simply pass the source code and make Lua parse it.
I've extended the lua.lib to export the bytecode ( not a built in feature of plain Lua ). I'll release an updated lua.lib and header files.
So if your plugin requests and stores the bytecode when the users presses apply on the editor ( in case of a plugin after the script editor returns ), then you're plugin will be able to run the bytecode too. ( Use lua_dobuffer ).
Mark F
October 19th, 2002, 02:58 AM
Cool! I look forward to using this, SON. ;)
Ron
October 19th, 2002, 03:42 AM
hehehe this is getting scary :-)
Anyway the updated lua-devel package has been released.
Francois
October 19th, 2002, 11:40 AM
I've been playing with the new version (3.2.6 - 2), and noticed a few things:
- LUA strings get truncated by one character:
after executing a command such as
text="ABC"
the content of the text variable is "AB" :-? (this was not the case with v. 3.2.5)
- Using the installer, without first uninstalling girder first generates an error on first execution ("wrong GVMS .ddl")
Otherwise, the new editor is very nice, thanks!
Ron
October 19th, 2002, 12:17 PM
Darn stupid installer it should simply overwrite ;-)
Thank for the report on the variable names... it has been fixed.
Ron
October 20th, 2002, 04:09 AM
Pre 3 is released, The installer should now simply overwrite. And a long standing bug was (probably) fixed that resulted in lost keys on some dialogs ( popup OSD, HTML OSD, etc..)
Bitmonster
October 22nd, 2002, 02:25 AM
Hi!
I was just experimenting with 3.2.6pre3 and the LUA-Socket-Libary. When I click on "Reset Scripting Engine" in the Script Editor the binding to the Socket-Libary seems to disapear. When I call a function from the libary, I get error messages like: "error: attempt to call global `bind' (a nil value)"
Is this a bug or a feature?
Bitmonster
Ron
October 22nd, 2002, 03:59 AM
that would be a bug.
Ron
October 23rd, 2002, 04:15 AM
fixed in next release. (either pre4 or final 3.2.6)
Mark F
October 23rd, 2002, 05:37 AM
Rename the plugins directory to plugins.old (to remove all plugins :) )
Start Girder 3.2.6pre3
Add command
Choose Girder/Variable Manuipulation Script
Press the script button
Type in asdfg
Press OK
Girder exits. :(
EDIT: This is on Win NT 4. I have seen unexplained exits on Win '98 also.
Ron
October 23rd, 2002, 06:11 AM
Yep, bug is confirmed. And found, the code that I used for this was _VERY_ buggy (not mine this time ;-) ). And it turns out the parser calls exit by default when it fails to parse some code, not so good...
fixed in next release.
Francois
October 23rd, 2002, 07:47 AM
I've noticed that 3.2.6pre3 can be very slow to respond to commands... from the time a command is sent (and recognized by Girder) to the time it is acted upon, a few seconds might elapse. I haven't had taken the time to investigate this further but did notice it on a few unrelated occurences
(This wasn't the case with 3.2.5.)
I share here whatever I find.
Ron
October 23rd, 2002, 08:36 AM
I'm starting to see a patern here ;-) could someone who is experiencing these problems please try this executable:
(removed)
(its an upgrade from pre3 ).
Mark F
October 23rd, 2002, 09:26 AM
English is an inperfect language so I want to be sure ...
I checked 3.2.6pre4r and the problem I just reported is not fixed.
I don't think you implied that it would be fixed in this particular pre-release but I wanted to mention it anyway. :)
Ron
October 23rd, 2002, 09:33 AM
Sorry Mark, the fix for your problem is not in that executable. I was hoping to get a quick response from one of the reporters of the other 'slow girder' bug. 'Your' bug is inside lua.dll. I'll release a 'complete' pre4 later today, or tomorow.
sorry for the confusion.
Francois
October 23rd, 2002, 09:43 AM
Ron,
The 3.2.6 pre4r version seems more preppy than the previous beta (I only did a limited amount of testing, but the delay between receiving commands and executing them is definitely shorter)
Also, this new version doesn't crash on closing with XP
I hope this helps.
Ron
October 23rd, 2002, 09:48 AM
Good....
crash on XP... hmmmm. :(
Marsupial
October 23rd, 2002, 05:02 PM
"slow girder" bug update
Hi Ron, here I go as you asked on this thread about the problem I encountered.
you're right, its XML parsing that is the problem - it opens FAST without the GML, and oppening the GML is long.
it did open WELL before upgrading, very very fast, so I guess there is something different since then.
- saving the file is fast.
how do you suggest we go for now on?
I could chop the whole gml, but theres a bit of everything in everywhere - this thing is a maze!
anyhow, I'll try to find out.
thanks.
Ron
October 24th, 2002, 12:21 AM
send me the complete .xml file.
Marsupial
October 24th, 2002, 06:35 AM
Okidooki - will send it tonight (I'm at work)
Thanks.
Ron
October 24th, 2002, 08:23 AM
Pre 4 has been released, please test with this version before sending the file! This version should include all the fixes reported in the forum.
Mark F
October 24th, 2002, 09:05 AM
My proiblem is fixed. :)
Bitmonster
October 24th, 2002, 03:46 PM
Looks like the unload of LUA-socket after a reset also is gone.
Another question: Where can I find the LUA-MessageBox-Plugin mentioned/used in lua_demo.gml?
Bitmonster
Ron
October 24th, 2002, 03:50 PM
You can find that on the developers page (lua developement package). You'll have to compile that version though, I'll upload a ready compiled version, or is a messagebox also contained in WinLuaEx by Mark ?.. Mark any comments ?
Mark F
October 24th, 2002, 04:21 PM
No it is not in there, yet. I'll add it this weekend.
Marsupial
November 3rd, 2002, 05:53 PM
ron I switched from ME to XP and the file now load within the sandard 2-3 seconds.
I didn't change or reinstalled anything, just upgraded with winXP disc.
Anyway thanks a lot.
Powered by vBulletin® Version 4.1.8 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.