2015-01-13

Vala 0.27.1 released

The new development version 0.27.1 of the Vala programming language contains a lot of enhancements and bug fixes.

Release notes are the following:

Changes

  • Print compiler messages in color.
  • Add clutter-gdk-1.0 bindings.
  • Add clutter-gst-3.0 bindings.
  • Add clutter-x11-1.0 bindings.
  • Add rest-extras-0.7 bindings.
  • Bug fixes and binding updates.
However I'd like to tell more:
  • The compiler now checks for unknown attributes.
  • More checks in the compiler about invalid semantics.
  • Now XOR works with boolean, like bitwise OR and AND
  • A new attribute [ConcreteAccessor], mostly used for bindings. It's common that in C interface properties have concrete accessors instead of abstract accessors. Before this, you had [NoAccessorMethod] on top of such properties.
  • Sometimes the "type" property is used in projects but Vala could not support it. Now if the bindings have [NoAccessorMethod] you can use it.
  • We now infer generics recursively in method calls, so less typing for you.
  • And more.
Have fun.

5 comments:

  1. I don't know whether it is a bug. This is about building vala on windows.

    I am a Windows 7 user.

    For the windows version vala which I download from
    https://code.google.com/p/vala-win32/downloads/list, it compiles ok.

    However, if I use mingw+msys( mingw-w64.sourceforge.net) to build vala source from git, I can finish compiling vala.exe/valac.exe/ect and installing without wrong.
    But when I use my valac, I get
    [msg]
    $ valac ./hello_vala.vala
    error: Failed to execute child process (Exec format error)
    error: Failed to execute child process (Exec format error)
    error: Failed to execute child process (Exec format error)
    Compilation failed: 3 error(s), 0 warning(s)
    [/msg]

    I have tried this for some different time, the git-code should be different, but I have never succeed. What does that message mean? Thanks

    ReplyDelete
  2. Maybe it cannot spawn gcc or pkg-config maybe?

    ReplyDelete
  3. Hey there I just wanted to ask a more general vala question: do you know if there has been any work done to maintain a current gnome editor (ie. gedit) IDE for working with vala?

    Back in 2009 I really got into vala, first time doing any more serious programming in roughly 25 years. And I fell totally in love with it, I even got to a point where I almost had a chance to land a job doing vala programming but couldn't take position because they expected 10 years of C/g-object experience!. Now 6 years later I would like to start up with vala again, my first project will be to see if I can reuse some of the 3-4k of code I wrote back in 2009, to see what works, what doesn't and what has changed.

    Back then vala-vtg for gedit was my life saver, for it handled all the autotools stuff for me(which takes longer to learn than programming in vala!), and Anjuta back then was only beginning to get minimal support for vala. Well vtg appears dead now, and I spent 6 hours(!) getting vala-gen-project to actually compile and work!( unfortunately irreproducible-I am not a C/autotools hacker, but I do recognize patterns and have fixed many compile times bugs over the last 20 years without ever knowing what I was doing!). I haven't checked out anjuta recently -is anjuta the IDE of choice now for vala development? I like code completion but autotools integration is more important to me.

    As someone who came from basic, assembly and pascal I am so thankful to the folks behind vala(and genie!) for creating something which made it possible for me to code gui's with GTK/G-object. Unfortunately GTK switched to 3.0 just as I was mastering 2.x G-object, I expect that I will have to completly re-write everything and frankly I wish to use vala for my Mate desktop and I wonder if gedit-vtg could be rewritten using pluma(mate version of gedit) .....

    any tips, hints appreciated

    Karl Zollner(iwbcman AT somebigevilcompanymail.com)

    ReplyDelete
  4. vx.thomazi.me/posts/vala-virus

    ReplyDelete
  5. Thanks and that i have a dandy proposal: Who Does House Renovation home addition builders near me

    ReplyDelete