Hi Martin,
On 12/07/10 13:26, Martin DeMello wrote:
How come libgee doesn't have any functions that return new lists (in
particular list.map() and list.filter())? Is it to avoid allocation?
I've been looking at porting ruby's Enumerable module to vala, but I
thought I'd check first as to why
will try it and see what kind of results I get.
Right now Im just throwing the list away in the middle of the sorting
when a user moves to a new directory. It works, but its not very elegant. :)
Kind regards,
Christer, Sweden
2010/6/28 Didier 'Ptitjes' ptit...@free.fr mailto:ptit
On 07/02/10 01:05, CaStarCo wrote:
At the end i thought may be i could make a program to help me to create
beautiful diagrams.. but never i made a program that works with editable
graphic elements.
¿Whic libraries should i use? (Probably i'll program it with Vala)
Maybe a vala binding for
On 06/21/10 11:20, Xavier Bestel wrote:
On Sun, 2010-06-20 at 21:28 +0300, Arkadi Viner wrote:
Thanks, that did the trick.
On Sun, Jun 20, 2010 at 5:02 AM, Didier 'Ptitjes' ptit...@free.fr wrote:
Hi,
On 06/19/10 23:48, Arkadi Viner wrote:
*so, the declaration look like this:*
private
Hi,
On 06/19/10 23:48, Arkadi Viner wrote:
*so, the declaration look like this:*
private Gee.List pdfDocuments = new Gee.ArrayListPdfDocument ();
*and when I try to add some thing to it:*
pdfDocuments.add(new PdfDocument(file_chooser.get_filename ());
*I get compilation
Hi folks,
On 06/15/10 18:47, Dr. Michael Lauer wrote:
Am 15.06.2010 um 17:52 schrieb Abderrahim Kitouni:
Yes, it is. It's however fixed in git
http://git.gnome.org/browse/libgee/commit/?id=06ec26321cd3a475ac10ca3d47a4e4dbb4e44e00
I wonder why this didn't result in a bug fix release.
The
; }
}
2009/12/23, Didier 'Ptitjes' ptit...@free.fr:
Didier 'Ptitjes' wrote:
Hi,
[Cross-posting on gee-l...@gnome.org]
san hoi wrote:
wizbit/commit.vala:63.10-63.41: error: The type name `Gee.ReadOnlyMap'
could not be found
public Gee.ReadOnlyMapstring,Wiz.File streams {
[...]
umm
Hi,
[Cross-posting on gee-l...@gnome.org]
san hoi wrote:
wizbit/commit.vala:63.10-63.41: error: The type name `Gee.ReadOnlyMap'
could not be found
public Gee.ReadOnlyMapstring,Wiz.File streams {
[...]
umm... Gee.HashMap is ok, but Gee.ReadOnlyMap is error.
ReadOnlyMap is
bharani deepan wrote:
On 11/17/2009 06:02 PM, G.S.Alex wrote:
It seems that I've meet some problems with libgee.
The sample code works fine. But when I try to compile Vala toy for
gedit and
Vala plugin for anjuta, it syas:
symbol.vala:23.7-23.9: error: The namespace name `Gee' could not be
Hi Magnus,
Magnus Therning wrote:
On 16/10/09 08:29, Didier 'Ptitjes' wrote:
Florian told me he would update it this WE.
Excellent. I have no problems making do with the .vapi file in the
meantime ;)
This may finally take a little more time. So as an interim, I published
the generated
Hi Magnus,
Magnus Therning wrote:
I just got around to upgrading to Gee 0.5.0, but references.valadoc.org
doesn't seem to have been updated yet so it's all turning out to be a
bit more work than I had hoped.
Who should I poke to get the Gee reference docs updated?
Florian told me he would
Ildar Mulyukov wrote:
Ok. But IMHO you should at least note this somewhere. And, better, put a
check in configure.in
I only changed it on http://live.gnome.org/Libgee. I'm sorry I should
have put it in the release notes. My bad.
Best regards, Didier.
Arto Karppinen wrote:
I still think that these kind of problems can be avoided in Vala code by
carefully selecting what and when to virtualize.
Once again to take the example of Gee. We needed to provide default
behaviour for add_all, remove_all, retain_all, ... methods, but wanted
concrete
Arto Karppinen wrote:
For those examples to apply to Vala, you would first have to explicitly
allow something to be virtualized, and then explicitly forbid that
virtualization, which would to me sound more like a design failure in
the framework rather something that Vala should support.
Then
Hi Magnus,
Magnus Therning wrote:
What function should I use to sort a list of strings to avoid the
compiler warning I get with strcmp:
...
my_list.sort( strcmp );
...
Test.vala:60: warning: passing argument 2 of ‘g_list_sort’ from
incompatible pointer type
Magnus Therning wrote:
2009/9/23 Matías De la Puente mfpuente...@gmail.com:
Take a look here
http://live.gnome.org/Vala/Tutorial#head-7b3930bf3573a66028940bf6123b19e19a33f9a5
should be:
var map = new HashMapstring, string (str_hash, str_equal);
Bugger, yes you are right. I'm such an idiot
Jan Hudec wrote:
I didn't notice that thing -- it's indeed good tool for the job. I would
still prefer something to mark in the source that we are synchronizing an
async function. Maybe a .sync() submethod to match .begin() and .end() and
state clearly what is happening:
.sync() is exactly
Hi Mr. Maxwell,
Mr. Maxwell . wrote:
I tried putting all the files in a Dev-C++ project and setting these command
line options
compiler-mms-bitfields -ID:/vala-0.7.4/include/glib-2.0
-ID:/vala-0.7.4/lib/glib-2.0/include
linkerD:/vala-0.7.4/lib/glib-2.0.lib
When I compiled the project I
Hi Tomaž!
Quikee wrote:
In what way should remove_all work in case of removing the same items.
Currently there is an inconsistency in this behavior from remove_all
on AbstractCollection and the implementation in ArrayList.
The AbstractCollection implementation will call remove for every
Re Tomaž,
Quikee wrote:
Anyway I have partially done this. Now I have added to collection
interface methods:
- is_empty()
Do we make this a property or a method ?
- add_all(CollectionG collection)
- contains_all(CollectionG collection)
- remove_all(CollectionG collection)
-
Hi list,
I thought a lot about that and I'd like to make the following proposal.
Levi Bard wrote:
Why not rename some of the Map methods (contains = contains_key,
remove = remove_key) and then map the Collection methods as-is with G
== PairK,V?
First my proposal will break the API. Libgee
Quikee wrote:
I agree with the proposal but I have already tried to implement a
similar thing like this and every time I tried I had a problem with
iterators get method (I think I have reported this issue in bugzilla
but this might be some time ago). The first thing I would do is to
implement
Levi Bard wrote:
- Renaming Map.remove(K key) in Map.unset(K key)
- Renaming Map.contains(K key) in Map.has(K key)
- Make MapK, V inherit from CollectionMap.EntryK, V
I like unset. has is not different enough from contains for my
liking - I can see it being a source of future confusion
Hi list,
I tweaked the road map to include more of the things proposed here. I
did not include the little stuff, but I'll create tickets for them.
The road map is published here: http://live.gnome.org/Libgee/Roadmap
Thanks to Julien for its Wiki integration :)
As you might note I post-dated the
Hi Julien,
Julien Fontanet wrote:
Didier Ptitjes ptit...@... writes:
Yeah. I agree on that, hence my question in the first mail about
exposing an interface for map entries (that key/value pairs).
How is that possible, the methods' signatures do not match:
- Collection.add (G item) vs
Hi list,
Didier Ptitjes wrote:
Open questions:
I'd like to add some more ideas:
- Support for disengageable collection change events
- Support for collection updatable views (aka wrappers)
- With events and views, we gain a clean implementation way for sorted
list views
- Collection
Hi,
Jiří Zárevúcky wrote:
2009/7/21 Didier Ptitjes ptit...@free.fr:
Hi list,
Didier Ptitjes wrote:
Open questions:
I'd like to add some more ideas:
- Support for disengageable collection change events
Sounds interesting, but I'm not sure about a real value.
Often one needs to describe
I am pleased to announce version 0.1.6 of libgee, a GObject collection
library.
Libgee 0.1.6 is now available for download at:
http://ftp.gnome.org/pub/GNOME/sources/libgee/0.1/
Changes since 0.1.5
* Fix build for Vala 0.7.
* Bug fixes.
libgee is a collection library providing
Jiří Zárevúcky wrote:
2009/7/20 Didier Ptitjes ptit...@free.fr:
- Are there some things missing ?
Could you fit in making Map interface a Collection? It is technically
a collection of key-value pairs, and I see no reason why the interface
shouldn't reflect it. :)
Yeah. I agree
Hello Heiko,
Heiko Stuebner wrote:
are informations about the release plan for libgee 0.1.6 available somewhere?
It is needed for newer freesmartphone.org components, so I would be glad to
know when it will be released.
FIY, note that we use a git recipe on shr/import branch of OE.
Andrew Flegg wrote:
On Thu, May 28, 2009 at 05:29, Didier Ptitjes ptit...@free.fr wrote:
[...]
No, but the reasoning is as follows:
* the build environment runs the same libraries as run on the
Internet Tablet [...]
I'm sorry but I still don't get the rational for that... it seems like
Hi,
Frederik wrote:
These 'categories' are even named, so you can group these additional
methods thematically. If Vala considers such a feature I would propose
the following syntax:
public class string category SpellChecking {
// ...
}
public class Gtk.Widget category GLFunctionality
32 matches
Mail list logo