View Full Version : Girder 3.2.5 pre 11
Ron
October 13th, 2002, 03:55 PM
argh,.. I hope everything went okay,.. I'm getting a little tired after coding/writing all day long.
I've released Girder 3.2.5 pre 11. ( One more prerelease because of the File corruption thing ).
Major changes in this version include the separated Lua - GVMS.
NOTE: API version 2 has been modified to give the plugins access to the lua_State.
On the developers page you'll find :
* updated girder.h
* lua-devel package (with example, header files and lib file)
* luasocket girder plugin source code
On the helppage you'll find a page describing Lua and the extensions.
http://www.girder.nl/help/girderlua.php
Have fun.
MMcM
October 13th, 2002, 03:55 PM
There is still a minor quirk with XML escaping.
Create a command with & in its name.
Save the GML file.
It saves as &, which is fine.
Edit the file externally so that it becomes &, which should be equivalent.
Load back into Girder.
It now displays as &.
Save it again.
It saved as &, indicating that it really thought that was the data.
Ron
October 13th, 2002, 03:55 PM
I've sent an email to the mailing list asking what is up with this new behaviour in the library... we'll see what happens, at least Girder doesn't corrupt its own file.
Ron
October 13th, 2002, 03:55 PM
Mike, What XML editor are you using ?
Ron
October 13th, 2002, 03:55 PM
Okay found the 'bug' in the library. I've sent another message to the mailing list, curious to see what the author thinks about it / about my fix. Please test this executable.
http://www.girder.nl/temp/Girder325pre11-2.zip
MMcM
October 13th, 2002, 03:55 PM
I use XML Spy. It's not free, but I already had it.
I also have some MSXML scripts. It offers less control over formatting, tending to write things its own way no matter what.
And I use the Emacs psgml library.
MMcM
October 13th, 2002, 03:55 PM
Variable Manipulation Script gets a "Parse Error" in pre11 (and -2).
It doesn't seem to matter what the script does. Starting fresh and making one with just result = 1 does it for me. Interestingly enough, the error seems to occur at the end, because any variables are set properly. But the branch actions are not taken.
Also, running in the Script editor seems to work fine, so the interpreter itself seems all right.
Ron
October 13th, 2002, 03:55 PM
Fixed.
mattwire
October 13th, 2002, 03:55 PM
Another problem with pre11(-2):
When a command triggers a goto it seems to halt when it does the goto jump. I've only noticed this when jumping to commands containing switch plugin commands.
Ron
October 13th, 2002, 03:55 PM
switch plugin ? you mean Mark's plugin ?
If you mean the enable-disable dev command I cannot recreate it, please post an example .gml file.
mattwire
October 13th, 2002, 03:55 PM
Yeah, sorry. Mark's switch plugin.
I don't know whether it is a problem with switch or with girder but I do know it worked ok with the previous pre-release.
Basically, trigger a command/multigroup directly and the switch executes, trigger a command/multigroup via a goto and the switch execution fails (I think girder briefly flashes 'lua error' or something before it says 'ok' in the status bar, but only occasionally).
Thanks,
Matt
Mark F
October 13th, 2002, 03:55 PM
Sorry, Matt. I'll take a peek at this when I get home tonight. :(
mattwire
October 13th, 2002, 03:55 PM
I just downloaded Pre12 and the problem seems to have gone away!
So I 'think' it is fixed.
Thankyou.
Mark F
October 13th, 2002, 03:55 PM
I'm happy to have "helped"???? :D
vBulletin® v3.7.4, Copyright ©2000-2008, Jelsoft Enterprises Ltd.