<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel rdf:about="http://permalink.gmane.org/gmane.comp.programming.vala">
    <title>gmane.comp.programming.vala</title>
    <link>http://permalink.gmane.org/gmane.comp.programming.vala</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.programming.vala/9365"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.programming.vala/9364"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.programming.vala/9363"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.programming.vala/9362"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.programming.vala/9361"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.programming.vala/9360"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.programming.vala/9359"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.programming.vala/9358"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.programming.vala/9357"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.programming.vala/9356"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.programming.vala/9354"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.programming.vala/9353"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.programming.vala/9352"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.programming.vala/9351"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.programming.vala/9350"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.programming.vala/9348"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.programming.vala/9347"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.programming.vala/9346"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.programming.vala/9345"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.programming.vala/9344"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.programming.vala/9365">
    <title>[Vala] How to append element to Variant array of tuples?</title>
    <link>http://permalink.gmane.org/gmane.comp.programming.vala/9365</link>
    <description>&lt;pre&gt;Hi!

In my app I use Settings with key defined in schema as follows:

a(sbsyssbyqqqq)

I am able to retreive it with

Variant mykey = settings.get_value("mykey");


The question is:

how can I add an element to end of this array and store that value in
the settings?

It could be interpret as a much more general question:

how to add in Vala an element to existing Variant if VariantType is
array of tuples?


Thank you in advance,

your help will be really appreciated.

m.
&lt;/pre&gt;</description>
    <dc:creator>marcin-fpfYPSyUnnWsTnJN9+BGXg&lt; at &gt;public.gmane.org</dc:creator>
    <dc:date>2012-05-17T19:25:07</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.programming.vala/9364">
    <title>Re: [Vala] How to set the type of the elements in a container on bindings.</title>
    <link>http://permalink.gmane.org/gmane.comp.programming.vala/9364</link>
    <description>&lt;pre&gt;Thanks! That's exactlty what I was looking for.

I just mentioned the GIDL beacause I didn't know how to do it, but I 
understad the advantage of putting it on the G-I annotations.

Alex

El 16/05/2012 21:09, Evan Nemerson escribió:

_______________________________________________
vala-list mailing list
vala-list&amp;lt; at &amp;gt;gnome.org
http://mail.gnome.org/mailman/listinfo/vala-list
&lt;/pre&gt;</description>
    <dc:creator>atcolombini</dc:creator>
    <dc:date>2012-05-16T20:08:20</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.programming.vala/9363">
    <title>Re: [Vala] How to set the type of the elements in a container on bindings.</title>
    <link>http://permalink.gmane.org/gmane.comp.programming.vala/9363</link>
    <description>&lt;pre&gt;
GIDL is not the same as GIR (which is the XML format used by GObject
Introspection).  You could use GIR metadata to achieve what you're
after:

        MyObject.object_list type="weak GLib.SList&amp;lt;AnotherObject&amp;gt;"

If you really did mean GIDL you could do something like this:

        MyObject.object_list type_arguments="AnotherObject"

But if you're really using G-I it would be best to add the proper
annotations to your C code so other G-I consumers can take advantage.  I
believe something like this should work:

        /**
         * MyObject:
         * &amp;lt; at &amp;gt;object_list: (element-type AnotherObject): list of objects
         *
         * Description of MyObject.
         */
        typedef struct _MyObject {
          GSList* object_list;
        } MyObject;


-Evan
&lt;/pre&gt;</description>
    <dc:creator>Evan Nemerson</dc:creator>
    <dc:date>2012-05-16T19:09:32</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.programming.vala/9362">
    <title>[Vala] How to set the type of the elements in a container onbindings.</title>
    <link>http://permalink.gmane.org/gmane.comp.programming.vala/9362</link>
    <description>&lt;pre&gt;Hello vala-list,
  I'm generating a Vala binding for a C library using vapigen and I've
managed to set the type of the elements by using the GObject
Introspection's "element-type" annotation for both the parameters and
return values of functions, but now I need a way to do the same thing for
the element type of object memebers.

  A simple example of what I want:
public class MyObject : GLib.Object{
    public weak GLib.SList&amp;lt;AnotherObject&amp;gt; object_list;
}

  And this is what I've generated so far:
public class MyObject : GLib.Object{
    public weak GLib.SList&amp;lt;void*&amp;gt; object_list;
}

  I've taken a look at the GIDL metadata and also the GObject
Instrospection documentations, but i've found nothing that suits my needs.
If there's still no way (or will never be) to do this, I guess there's no
problem leaving the element type as "void*" in the generated .vapi files.

Regards, and thanks!

Alex
_______________________________________________
vala-list mailing list
vala-list-rDKQcyrBJuzYtjvyW6yDsg&amp;lt; at &amp;gt;public.gmane.org&lt;/pre&gt;</description>
    <dc:creator>Alejandro T. Colombini</dc:creator>
    <dc:date>2012-05-16T13:28:48</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.programming.vala/9361">
    <title>Re: [Vala] printing int64 value to standard output</title>
    <link>http://permalink.gmane.org/gmane.comp.programming.vala/9361</link>
    <description>&lt;pre&gt;Just use string templates:

stdout.printf (&amp;lt; at &amp;gt;"$ts\n");

String templates will always give you the proper format.

Aaron

Quoting Sam Wilson &amp;lt;tecywiz121-PkbjNfxxIARBDgjK7y7TUQ&amp;lt; at &amp;gt;public.gmane.org&amp;gt;:

&lt;/pre&gt;</description>
    <dc:creator>Aaron</dc:creator>
    <dc:date>2012-05-15T12:53:23</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.programming.vala/9360">
    <title>Re: [Vala] printing int64 value to standard output</title>
    <link>http://permalink.gmane.org/gmane.comp.programming.vala/9360</link>
    <description>&lt;pre&gt;
i know :) but that's just up to the GLIB library, not the C standard. 
you can use an const string somewhere like:

const string U64FMTd = "%"+uint64.FORMAT_MODIFIER+"d";

But I agree.. glib should provide a format string modifier for this 
instead of providing defines for using them.
&lt;/pre&gt;</description>
    <dc:creator>pancake</dc:creator>
    <dc:date>2012-05-15T12:58:45</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.programming.vala/9359">
    <title>Re: [Vala] printing int64 value to standard output</title>
    <link>http://permalink.gmane.org/gmane.comp.programming.vala/9359</link>
    <description>&lt;pre&gt;
That just looks horrible... Couldn't Vala just compile %lld into the 
proper format on each platform?

Sam


_______________________________________________
vala-list mailing list
vala-list-rDKQcyrBJuzYtjvyW6yDsg&amp;lt; at &amp;gt;public.gmane.org
http://mail.gnome.org/mailman/listinfo/vala-list
&lt;/pre&gt;</description>
    <dc:creator>Sam Wilson</dc:creator>
    <dc:date>2012-05-15T12:43:07</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.programming.vala/9358">
    <title>[Vala] Floating references</title>
    <link>http://permalink.gmane.org/gmane.comp.programming.vala/9358</link>
    <description>&lt;pre&gt;Hi all,
  I have defined (in C) a GObject subclass which defines a virtual
method which should create a new GtkWidget:

========
/**
 * ap_application_plugin_build_widget:
 * &amp;lt; at &amp;gt;self: the #ApApplicationPlugin.
 *
 * Returns: (transfer floating): a #GtkWidget, or %NULL.
 */
GtkWidget *
ap_application_plugin_build_widget (ApApplicationPlugin *self)
{
    g_return_val_if_fail (AP_IS_APPLICATION_PLUGIN (self), NULL);
    return AP_APPLICATION_PLUGIN_GET_CLASS (self)-&amp;gt;build_widget (self);
}
========

Then, I have a subclass of ApApplicationPlugin, written in Vala, which
should reimplement the build_widget() virtual method. But is it possible
to write it so that it returns a floating reference?
I tried:

========
    [ CCode ( returns_floating_reference = true ) ]
    public override unowned Gtk.Widget build_widget () {
        return new Gtk.Label ("Hello world!");
    }
========

but the code doesn't compile: "Return value transfers ownership but
method return type hasn't been declared to transfer ownership". If I&lt;/pre&gt;</description>
    <dc:creator>Alberto Mardegan</dc:creator>
    <dc:date>2012-05-15T11:21:13</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.programming.vala/9357">
    <title>Re: [Vala] printing int64 value to standard output</title>
    <link>http://permalink.gmane.org/gmane.comp.programming.vala/9357</link>
    <description>&lt;pre&gt;%lld is not portable. your code will not work on windows.

the portable way is:

void main() {
         uint64 ts = 123;
         stdout.printf ("%"+uint64.FORMAT_MODIFIER;+"d\n", ts);
}


On 05/14/12 20:30, jezra wrote:

_______________________________________________
vala-list mailing list
vala-list&amp;lt; at &amp;gt;gnome.org
http://mail.gnome.org/mailman/listinfo/vala-list
&lt;/pre&gt;</description>
    <dc:creator>pancake</dc:creator>
    <dc:date>2012-05-15T10:54:31</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.programming.vala/9356">
    <title>Re: [Vala] custom widget and File observer</title>
    <link>http://permalink.gmane.org/gmane.comp.programming.vala/9356</link>
    <description>&lt;pre&gt;
D.H. Bahr &amp;lt;dbahr-NigQoAqfJP0&amp;lt; at &amp;gt;public.gmane.org&amp;gt; writes:


You can just pull data from zeitgeist daemon:
http://zeitgeist-project.com/

Its written in vala and i belive it will fit your needs.

Also, gnome-activity-journal provides something similar for different
types of activities.

https://live.gnome.org/GnomeActivityJournal


&lt;/pre&gt;</description>
    <dc:creator>Antono Vasiljev</dc:creator>
    <dc:date>2012-05-15T01:56:22</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.programming.vala/9354">
    <title>Re: [Vala] printing int64 value to standard output</title>
    <link>http://permalink.gmane.org/gmane.comp.programming.vala/9354</link>
    <description>&lt;pre&gt;On Mon, 14 May 2012 14:14:47 -0400
"D.H. Bahr" &amp;lt;dbahr&amp;lt; at &amp;gt;uci.cu&amp;gt; wrote:


Another option is to use Vala string templates:
int64 timestamp = 1234151912;
stdout.printf(&amp;lt; at &amp;gt;"$timestamp\n");

more examples of using string templates is available at:
http://live.gnome.org/Vala/StringSample
_______________________________________________
vala-list mailing list
vala-list&amp;lt; at &amp;gt;gnome.org
http://mail.gnome.org/mailman/listinfo/vala-list
&lt;/pre&gt;</description>
    <dc:creator>jezra</dc:creator>
    <dc:date>2012-05-14T18:30:50</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.programming.vala/9353">
    <title>Re: [Vala] printing int64 value to standard output</title>
    <link>http://permalink.gmane.org/gmane.comp.programming.vala/9353</link>
    <description>&lt;pre&gt;Thanks!!
El lun, 14-05-2012 a las 10:20 -0700, Abhijit Hoskeri escribió:

&lt;/pre&gt;</description>
    <dc:creator>D.H. Bahr</dc:creator>
    <dc:date>2012-05-14T18:14:47</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.programming.vala/9352">
    <title>Re: [Vala] custom widget and File observer</title>
    <link>http://permalink.gmane.org/gmane.comp.programming.vala/9352</link>
    <description>&lt;pre&gt;Hi,

On Mon, 2012-05-14 at 08:18 -0400, D.H. Bahr wrote:

Nice!


I think that gio has what are you looking for.
Read here: http://www.valadoc.org/#!api=gio-2.0/GLib.FileMonitor

HTH,
Andrea
&lt;/pre&gt;</description>
    <dc:creator>Andrea Del Signore</dc:creator>
    <dc:date>2012-05-14T17:39:36</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.programming.vala/9351">
    <title>Re: [Vala] printing int64 value to standard output</title>
    <link>http://permalink.gmane.org/gmane.comp.programming.vala/9351</link>
    <description>&lt;pre&gt;
%lld is the format string you need.

Regards,
Abhijit
&lt;/pre&gt;</description>
    <dc:creator>Abhijit Hoskeri</dc:creator>
    <dc:date>2012-05-14T17:20:26</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.programming.vala/9350">
    <title>[Vala] printing int64 value to standard output</title>
    <link>http://permalink.gmane.org/gmane.comp.programming.vala/9350</link>
    <description>&lt;pre&gt;Hello there, how can I print an int64 variable to stdout??

int64 timestamp = 1234151912;
stdout.printf("%?", timestamp);

Best regards,
&lt;/pre&gt;</description>
    <dc:creator>D.H. Bahr</dc:creator>
    <dc:date>2012-05-14T17:09:18</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.programming.vala/9348">
    <title>Re: [Vala] GLib.debug woe</title>
    <link>http://permalink.gmane.org/gmane.comp.programming.vala/9348</link>
    <description>&lt;pre&gt;
This is independent of the Vala version. GLib 2.32 no longer prints
debug messages by default. Set G_MESSAGES_DEBUG=all in the environment
to get the behavior of earlier GLib versions.

Jürg

_______________________________________________
vala-list mailing list
vala-list&amp;lt; at &amp;gt;gnome.org
http://mail.gnome.org/mailman/listinfo/vala-list
&lt;/pre&gt;</description>
    <dc:creator>Jürg Billeter</dc:creator>
    <dc:date>2012-05-14T09:10:27</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.programming.vala/9347">
    <title>[Vala] GLib.debug woe</title>
    <link>http://permalink.gmane.org/gmane.comp.programming.vala/9347</link>
    <description>&lt;pre&gt;Under 0.17.0 (latest vala), GLib.debug doesn't seem to do anything.

Anything I need to do to make it operational?

hand
Nor Jaidi Tuah
&lt;/pre&gt;</description>
    <dc:creator>Nor Jaidi Tuah</dc:creator>
    <dc:date>2012-05-14T08:59:47</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.programming.vala/9346">
    <title>Re: [Vala] libwebkit-dev windows</title>
    <link>http://permalink.gmane.org/gmane.comp.programming.vala/9346</link>
    <description>&lt;pre&gt;Hi Edwin,

I think here&amp;lt;http://download.opensuse.org/repositories/windows:/mingw:/win32/openSUSE_Factory/noarch/&amp;gt;(1)
you may find it, and if you work on Ubuntu/Win7, to open the .rpm files
from windows I use 7-Zip (also works with .deb).  I just found that list by
googling hard but I haven't time to test them yet, so I you make any
progress please share your findings :)

Anyway I myself as I think you're, I'm trying to get a minimal stack of
tools/libs in order to do cross application developments, being the current
stopper to me find a small (binary files sizes)  and working webbrowser
(WebKit if possible) to be used as a UI container in the client's Desktop
apps (mainly Win7, but some Ubuntu's also)
I will love if someone has experience using libseed with gtk3 in Win7 and
if you or any on this list can help me a little bit since I'm pretty new on
Vala and free-software developments in general.

Currently for the crossbuilding part with Vala I'm using cmake macros with
mingw32 and it works pretty well with &lt;/pre&gt;</description>
    <dc:creator>Martin Leibner</dc:creator>
    <dc:date>2012-05-12T09:52:01</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.programming.vala/9345">
    <title>Re: [Vala] regex to get some multiline text</title>
    <link>http://permalink.gmane.org/gmane.comp.programming.vala/9345</link>
    <description>&lt;pre&gt;

I inadvertently left the list off this reply.. However, MULTILINE was still
not enough.. '.' (dot) still wont match newlines w/o also
setting RegexCompileFlags.DOTALL.
_______________________________________________
vala-list mailing list
vala-list-rDKQcyrBJuzYtjvyW6yDsg&amp;lt; at &amp;gt;public.gmane.org
http://mail.gnome.org/mailman/listinfo/vala-list
&lt;/pre&gt;</description>
    <dc:creator>Shawn Ferris</dc:creator>
    <dc:date>2012-05-11T23:33:19</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.programming.vala/9344">
    <title>Re: [Vala] [ANNOUNCE] Vala 0.17.0 - Compiler for the GObject type system</title>
    <link>http://permalink.gmane.org/gmane.comp.programming.vala/9344</link>
    <description>&lt;pre&gt;Is there an example for method-level profiling? 
What can it do?
Regards

-------- Original-Nachricht --------


&lt;/pre&gt;</description>
    <dc:creator>interflug1-hi6Y0CQ0nG0&lt; at &gt;public.gmane.org</dc:creator>
    <dc:date>2012-05-11T03:35:59</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.programming.vala/9343">
    <title>Re: [Vala] regex to get some multiline text</title>
    <link>http://permalink.gmane.org/gmane.comp.programming.vala/9343</link>
    <description>&lt;pre&gt;https://live.gnome.org/Vala/User:Decora/string.split%20and%20string.join

Would you use string.split?
slice index notation [-1] is  like a bit strange... (ex: footer[-1]

int main () {
  string the_string = """
    start text line 1
    start text line 2
    %tag:keytag%
    the content betwen tag line1
    %endtag%
    the end line 1
    the end line 2
    """;

  Regex r = /\s*(?P&amp;lt;start&amp;gt;.*)\s*%(?P&amp;lt;key&amp;gt;.*)%\s*(?P&amp;lt;content&amp;gt;.*)\s*%(?P&amp;lt;ekey&amp;gt;.*)%\s*(?P&amp;lt;end&amp;gt;.*)/;
  MatchInfo info;
  if(r.match(the_string, 0, out info)) {
    var s = info.fetch_named("start");
    var key = info.fetch_named("key");
    var cont = info.fetch_named("content");
    var ekey = info.fetch_named("ekey");
    var e = info.fetch_named("end");

    print("%s\n",s); // start text line 2
    print("%s\n",key); // tag:keytag
    print("%s\n",cont); // the content betwen tag line1
    print("%s\n",ekey); // endtag
    print("%s\n",e); // the end line 1

    var header = the_string.split("%"+key+"%");
    var footer = the_string.split("%"+ekey+&lt;/pre&gt;</description>
    <dc:creator>san hoi</dc:creator>
    <dc:date>2012-05-09T23:49:35</dc:date>
  </item>
  <textinput rdf:about="http://search.gmane.org/?group=$group=gmane.comp.programming.vala">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.comp.programming.vala</link>
  </textinput>
</rdf:RDF>

