Squirrel

The programming language
Welcome to Squirrel Sign in | Join | Help
in Search

2.1.1 stable released

Last post 08-21-2006, 11:47 AM by John Schultz. 4 replies.
Sort Posts: Previous Next
  •  08-20-2006, 9:45 AM 1137

    2.1.1 stable released

    Hi all,

       I've just released squirrel 2.1.1 stable. Is a service release, not much new. Fixes some obscure bug, some stuff in the API.

    -vm refactoring
    -optimized internal function memory layout
    -new global symbol _version_ (is the version string)
    -code size optimization for float literals(on 32bits float builts)
    -now the raw ref API(sq_addref etc...) is fully reentrant.
    -fixed a bug in sq_getdelegate() now pushes null if the object doesn't have a delegate(thx MatzeB)
    -improved C reference performances in NO_GARBAGE_COLLECTOR builds
    -sq_getlocal() now enumerates also outer values.
    -fixed regexp library for GCC users.

    ciao
    Alberto

  •  08-20-2006, 1:02 PM 1138 in reply to 1137

    Re: 2.1.1 stable released

    Hi Alberto,

    Release 2.1.1 stable broke SqPlus; I didn't see an obvious fix (Squirrel error message stated line 1 column 9, which did not make sense (appears to be middle of token)).

    To test:

    1. Download SqPlus release 21.
    2. Copy Squirrel 2.1.1 files over all files in SQUIRREL directory.
    3. Compile and run testSqPlus2.cpp.
    4. Will fail on line 528:
      SquirrelObject test = SquirrelVM::CompileBuffer(_T("\
      local MyWindow = Windowf(); \n\
  •  08-21-2006, 2:46 AM 1139 in reply to 1138

    Re: 2.1.1 stable released

    I'm on it

    Alberto

  •  08-21-2006, 3:00 AM 1140 in reply to 1139

    Re: 2.1.1 stable released

    Everything works just fine for me, I've tried all possible configs. I'm using VC 8.0 . SQPlus 21 just downloaded and squirrel 2.1.1 just downloaded from SF.

    I know that sounds almost insulting, but try a 'rebuild all', is amazing how VC incremental link can screw up sometimes.

    I haven't changed anything in the parser for this release. I'd understand a runtime error but consider that this release has been running in our produnction servers for few months with no problem.

    Let me know.

    ciao

    Alberto

  •  08-21-2006, 11:47 AM 1141 in reply to 1140

    Re: 2.1.1 stable released

    fagiano:

    I know that sounds almost insulting, but try a 'rebuild all', is amazing how VC incremental link can screw up sometimes.



    Yup, thanks, just a compiler issue. In the past, just copying in the new sources and hitting F5 was no problem... I've seen this compiler/linker behavior before with other projects; I should have spent an extra 2 seconds testing before posting. Not clear if it's a dependancy or linker bug; at least the fix is trivial. Wink [;)]

    SqPlus 22 with Squirrel 2.1.1 has been posted on the Wiki.
View as RSS news feed in XML
Powered by Community Server, by Telligent Systems