From bas.driessen@xobas.com Thu Jun 1 01:36:38 2006 Return-Path: X-Original-To: gnome-db-list@gnome.org Delivered-To: gnome-db-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 910423B00BB for ; Thu, 1 Jun 2006 01:36:38 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 07708-10 for ; Thu, 1 Jun 2006 01:36:35 -0400 (EDT) Received: from syd.xobas.net (unknown [209.135.140.233]) by menubar.gnome.org (Postfix) with ESMTP id 5C44E3B00B7 for ; Thu, 1 Jun 2006 01:36:35 -0400 (EDT) Received: from ams.xobas.com (203-206-43-80.dyn.iinet.net.au [203.206.43.80]) (authenticated bits=0) by syd.xobas.net (8.13.6/8.13.6) with ESMTP id k515abSZ020954 for ; Thu, 1 Jun 2006 15:36:44 +1000 From: Bas Driessen To: GNOME-DB List Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-+jIuJX0UJ2kNDDxDZuPS" Organization: Xobas Software Date: Thu, 01 Jun 2006 15:36:24 +1000 Message-Id: <1149140184.2835.7.camel@ams.xobas.com> Mime-Version: 1.0 X-Mailer: Evolution 2.6.1 (2.6.1-1.fc5.2) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-1.969 tagged_above=-999 required=2 tests=[AWL=0.044, BAYES_00=-2.599, FORGED_RCVD_HELO=0.135, HTML_30_40=0.374, HTML_MESSAGE=0.001, SPF_PASS=-0.001, TW_CN=0.077] X-Spam-Score: -1.969 X-Spam-Level: Subject: [gnome-db] SQL message output. X-BeenThere: gnome-db-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: bas.driessen@xobas.com List-Id: GNOME-DB discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Jun 2006 05:36:38 -0000 --=-+jIuJX0UJ2kNDDxDZuPS Content-Type: multipart/alternative; boundary="=-Dp/ee1zsx7zGbAVnq2Za" --=-Dp/ee1zsx7zGbAVnq2Za Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hello, I noticed that the section below has been added in version 1.50 of file libgda/gda-server-provider.c with as comment "bug fixes" .... : GdaServerProviderInfo *info; info =3D gda_server_provider_get_info (provider, cnc); g_print ("=3D=3D> %s (Provider %s on cnx %p)\n", cmd->text, info->provider_name, cnc); This prints the SQL statement to standard output and will be a great debug and/or log tool. However, can we somehow make this feature optional? I would like to be able to switch this off, since I get swamped with SQL messages now. Thanks, Bas. --=-Dp/ee1zsx7zGbAVnq2Za Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello,

I noticed that the section below has been added in version 1.50 of file lib= gda/gda-server-provider.c with as comment "bug fixes" .... :


GdaServerProviderInfo *info;

info =3D gda_server_provider_get_info (provider, cnc);
g_print ("=3D=3D> %s (Provider %s on cnx %p)\n", cmd->t= ext, info->provider_name, cnc);


This prints the SQL statement to standard output and will be a great debug = and/or log tool. However, can we somehow make this feature optional? I woul= d like to be able to switch this off, since I get swamped with SQL messages= now.


Thanks,
Bas.

--=-Dp/ee1zsx7zGbAVnq2Za-- --=-+jIuJX0UJ2kNDDxDZuPS Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) iD8DBQBEfnzYDNTMG7IqcsoRAsDjAJ9AHPwXk+smbdG8j7JEQASjedbLTgCcDKuK 4ksia6ssE3wqqZzBNT1mCT0= =+efd -----END PGP SIGNATURE----- --=-+jIuJX0UJ2kNDDxDZuPS-- From vmalerba@gmail.com Thu Jun 1 03:29:36 2006 Return-Path: X-Original-To: gnome-db-list@gnome.org Delivered-To: gnome-db-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 081AE3B00B7 for ; Thu, 1 Jun 2006 03:29:36 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 12727-02 for ; Thu, 1 Jun 2006 03:29:33 -0400 (EDT) Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.199]) by menubar.gnome.org (Postfix) with ESMTP id E64183B0C47 for ; Thu, 1 Jun 2006 03:29:32 -0400 (EDT) Received: by nz-out-0102.google.com with SMTP id 9so307554nzo for ; Thu, 01 Jun 2006 00:29:32 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=TgZFQ2qr8eOoJSJEF7GsvSSaMr3G37wDDnVG+imBdmvhj93XkrcBHWEYV7mqR/zEduQXSuFLHHB858Ev0Mz59uelyKm3SH0K4dcH8iSvMt820UKv+PNvnAtqTde5PCsWgSINmIvqN9ScL9EMP33SmB4s1haceD99bVbJ/nO2HAQ= Received: by 10.36.247.53 with SMTP id u53mr457043nzh; Thu, 01 Jun 2006 00:29:32 -0700 (PDT) Received: by 10.36.104.9 with HTTP; Thu, 1 Jun 2006 00:29:32 -0700 (PDT) Message-ID: Date: Thu, 1 Jun 2006 09:29:32 +0200 From: "Vivien Malerba" To: bas.driessen@xobas.com Subject: Re: [gnome-db] SQL message output. In-Reply-To: <1149140184.2835.7.camel@ams.xobas.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1149140184.2835.7.camel@ams.xobas.com> X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.447 tagged_above=-999 required=2 tests=[AWL=0.076, BAYES_00=-2.599, SPF_PASS=-0.001, TW_CN=0.077] X-Spam-Score: -2.447 X-Spam-Level: Cc: GNOME-DB List X-BeenThere: gnome-db-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME-DB discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Jun 2006 07:29:36 -0000 On 6/1/06, Bas Driessen wrote: > > Hello, > > I noticed that the section below has been added in version 1.50 of file > libgda/gda-server-provider.c with as comment "bug fixes" .... : > > > GdaServerProviderInfo *info; > > info = gda_server_provider_get_info (provider, cnc); > g_print ("==> %s (Provider %s on cnx %p)\n", cmd->text, > info->provider_name, cnc); > > > This prints the SQL statement to standard output and will be a great debug > and/or log tool. However, can we somehow make this feature optional? I would > like to be able to switch this off, since I get swamped with SQL messages > now. Yes, sorry for the inconvenience. Add #ifdef GDA_DEBUG before that line and a #endif after it. I'll add that myself next time I do a commit. Cheers, Vivien From esodan@gmail.com Mon Jun 5 14:31:20 2006 Return-Path: X-Original-To: gnome-db-list@gnome.org Delivered-To: gnome-db-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 7CC293B09DE for ; Mon, 5 Jun 2006 14:31:20 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 21460-08 for ; Mon, 5 Jun 2006 14:31:18 -0400 (EDT) Received: from wx-out-0102.google.com (wx-out-0102.google.com [66.249.82.204]) by menubar.gnome.org (Postfix) with ESMTP id AC55D3B0954 for ; Mon, 5 Jun 2006 14:31:18 -0400 (EDT) Received: by wx-out-0102.google.com with SMTP id i30so1218302wxd for ; Mon, 05 Jun 2006 11:31:18 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=T3Z02ur/6jhBjHcTuRievbBTcw/pXS+jT+l+67H/S1WRGSKlpM933iCTSU0Jkix8d9cdIPwG77hGyQwMSNSbGsFeIZX+WUWD6k5nwCjnFTdfG/XmOZof12A+D75f+2Z6og8xRuzB7MP73WGTEKZO5o/dRrTnxZFJAgk9YRsrtos= Received: by 10.70.89.19 with SMTP id m19mr6376212wxb; Mon, 05 Jun 2006 11:31:18 -0700 (PDT) Received: by 10.70.75.1 with HTTP; Mon, 5 Jun 2006 11:31:18 -0700 (PDT) Message-ID: <144160610606051131t3e80ce48q453d62172a83d834@mail.gmail.com> Date: Mon, 5 Jun 2006 13:31:18 -0500 From: "Daniel Espinosa" To: gnome-db-list@gnome.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_3349_14190453.1149532278021" X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.564 tagged_above=-999 required=2 tests=[AWL=0.035, BAYES_00=-2.599, HTML_MESSAGE=0.001, SPF_PASS=-0.001] X-Spam-Score: -2.564 X-Spam-Level: Subject: [gnome-db] GValue to String in GLib: Conclusion X-BeenThere: gnome-db-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME-DB discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Jun 2006 18:31:20 -0000 ------=_Part_3349_14190453.1149532278021 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline I don't find that the developers of GLib want to modify the core of the library to include the functions to transform a string to the fundamental types INT, DOUBLE, FLOAT, etc. I don't know if I weren't clear enough to explaint that we don't want "serialization" in GLib, it's just to convert a string to a value not objects. But then, as the following sugestion refer, we can put the code for that functions in GDA. http://mail.gnome.org/archives/gtk-devel-list/2006-May/msg00259.html and http://mail.gnome.org/archives/gtk-devel-list/2006-May/msg00248.html As the last, GStreamer has it's own transformation From/To String for his own types of values. --=20 Trabajar, la mejor arma para tu superaci=F3n "de grano en grano, se hace la arena" (R) (entr=E1mite, pero para los cuate= s: LIBRE) ------=_Part_3349_14190453.1149532278021 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline I don't find that the developers of GLib want to modify the core of the lib= rary to include the functions to transform a string to the fundamental type= s INT, DOUBLE, FLOAT, etc.

I don't know if I weren't clear enough to= explaint that we don't want "serialization" in GLib, it's just t= o convert a string to a value not objects.

But then, as the following sugestion refer, we can put the code for= that functions in GDA.

http://mail.gnome.org/archives/gtk-dev= el-list/2006-May/msg00259.html

and

http://mail.gnome.org/archives/gtk-devel-list= /2006-May/msg00248.html

As the last, GStreamer has it's own tran= sformation From/To String for his own types of values.

--
Trabajar, la mejor arma para tu superaci=F3n"de grano en grano, se hace la arena" (R) (entr=E1mite, pero pa= ra los cuates: LIBRE) ------=_Part_3349_14190453.1149532278021-- From esodan@gmail.com Mon Jun 5 14:33:47 2006 Return-Path: X-Original-To: gnome-db-list@gnome.org Delivered-To: gnome-db-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id C12333B09EF for ; Mon, 5 Jun 2006 14:33:47 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 21602-07 for ; Mon, 5 Jun 2006 14:33:46 -0400 (EDT) Received: from wx-out-0102.google.com (wx-out-0102.google.com [66.249.82.193]) by menubar.gnome.org (Postfix) with ESMTP id 064193B0954 for ; Mon, 5 Jun 2006 14:33:45 -0400 (EDT) Received: by wx-out-0102.google.com with SMTP id i30so1218631wxd for ; Mon, 05 Jun 2006 11:33:45 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=FRKnVW1nlh6D6h/lo6ZRrlTD2OM08KjKujOtNEQEadV3GlNOVFebdPyNPvzIzwEma2neOHXZhT2yIGb0AH1/HVoRNUj3JmwaT5ZrOr+4bwksuhqBwtIuDVAJ0oCwY2mFQFer9lMvi5xnkVmN+1uJfkjb6qbLRDercIbbc7X9vuQ= Received: by 10.70.130.14 with SMTP id c14mr6379321wxd; Mon, 05 Jun 2006 11:33:45 -0700 (PDT) Received: by 10.70.75.1 with HTTP; Mon, 5 Jun 2006 11:33:45 -0700 (PDT) Message-ID: <144160610606051133s65a096b7me0070b8fc95d9581@mail.gmail.com> Date: Mon, 5 Jun 2006 13:33:45 -0500 From: "Daniel Espinosa" To: gnome-db-list@gnome.org In-Reply-To: <144160610606051131t3e80ce48q453d62172a83d834@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_3389_24083357.1149532425173" References: <144160610606051131t3e80ce48q453d62172a83d834@mail.gmail.com> X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.327 tagged_above=-999 required=2 tests=[AWL=-0.224, BAYES_00=-2.599, HTML_40_50=0.496, HTML_MESSAGE=0.001, SPF_PASS=-0.001] X-Spam-Score: -2.327 X-Spam-Level: Subject: [gnome-db] Re: GValue to String in GLib: Conclusion X-BeenThere: gnome-db-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME-DB discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Jun 2006 18:33:47 -0000 ------=_Part_3389_24083357.1149532425173 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Even that I had reopened the bug to Add functions just for the fundamental types. http://bugzilla.gnome.org/show_bug.cgi?id=3D342358 2006/6/5, Daniel Espinosa : > > I don't find that the developers of GLib want to modify the core of the > library to include the functions to transform a string to the fundamental > types INT, DOUBLE, FLOAT, etc. > > I don't know if I weren't clear enough to explaint that we don't want > "serialization" in GLib, it's just to convert a string to a value not > objects. > > But then, as the following sugestion refer, we can put the code for that > functions in GDA. > > http://mail.gnome.org/archives/gtk-devel-list/2006-May/msg00259.html > > and > > http://mail.gnome.org/archives/gtk-devel-list/2006-May/msg00248.html > > As the last, GStreamer has it's own transformation From/To String for his > own types of values. > > -- > Trabajar, la mejor arma para tu superaci=F3n > "de grano en grano, se hace la arena" (R) (entr=E1mite, pero para los > cuates: LIBRE) > --=20 Trabajar, la mejor arma para tu superaci=F3n "de grano en grano, se hace la arena" (R) (entr=E1mite, pero para los cuate= s: LIBRE) ------=_Part_3389_24083357.1149532425173 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Even that I had reopened the bug to Add functions just for the fundamental = types.


http://bugzi= lla.gnome.org/show_bug.cgi?id=3D342358

2006/6/5, Daniel Espinosa <e= sodan@gmail.com >:
<= div>I don't find that the developers of GLib want to modify the core of the= library to include the functions to transform a string to the fundamental = types INT, DOUBLE, FLOAT, etc.

I don't know if I weren't clear enough to explaint that we don't wa= nt "serialization" in GLib, it's just to convert a string to a va= lue not objects.

But then, as the following sugestion refer, we can put the code for= that functions in GDA.

http://mail.gnome.org/archives/gtk-devel-list/2006-May/msg00259.html

and

http://mail.gnome.org/archives/gtk-devel-list= /2006-May/msg00248.html

As the last, GStreamer has it's own transformation From/To Stri= ng for his own types of values.

--
Trabajar, la mej= or arma para tu superaci=F3n
"de grano en grano, se hace la arena&q= uot; (R) (entr=E1mite, pero para los cuates: LIBRE)



--
Trabajar, = la mejor arma para tu superaci=F3n
"de grano en grano, se hace la a= rena" (R) (entr=E1mite, pero para los cuates: LIBRE) ------=_Part_3389_24083357.1149532425173-- From esodan@gmail.com Mon Jun 5 15:23:05 2006 Return-Path: X-Original-To: gnome-db-list@gnome.org Delivered-To: gnome-db-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 255403B04F7 for ; Mon, 5 Jun 2006 15:23:05 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 24814-07 for ; Mon, 5 Jun 2006 15:23:03 -0400 (EDT) Received: from wx-out-0102.google.com (wx-out-0102.google.com [66.249.82.207]) by menubar.gnome.org (Postfix) with ESMTP id 19FEC3B00BE for ; Mon, 5 Jun 2006 15:23:03 -0400 (EDT) Received: by wx-out-0102.google.com with SMTP id i30so1227761wxd for ; Mon, 05 Jun 2006 12:23:02 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=cvsYQffUM0aGgCeS7jB8oJuePQLGdU27XdRa4SXCGY9jSHUFLfSpqkS8RgbEioisz0ssINVAaRqI5RaaN+bYMOLU2RVDDyD2JToV8XsjAXdJ4CsCLmUTSpvcD0M8fPGI0vWGq1Y7GWLyBfFzyqesSv6vCLawTqaiASji2N1wK+o= Received: by 10.70.69.8 with SMTP id r8mr6434300wxa; Mon, 05 Jun 2006 12:22:57 -0700 (PDT) Received: by 10.70.75.1 with HTTP; Mon, 5 Jun 2006 12:22:57 -0700 (PDT) Message-ID: <144160610606051222k6dc2a872ycf0360f26a338718@mail.gmail.com> Date: Mon, 5 Jun 2006 14:22:57 -0500 From: "Daniel Espinosa" To: "Tim Janik" In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_4149_12028470.1149535377779" References: <144160610605190934j3f96d985rf46013b5e1af8198@mail.gmail.com> X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.332 tagged_above=-999 required=2 tests=[AWL=-0.107, BAYES_00=-2.599, HTML_30_40=0.374, HTML_MESSAGE=0.001, SPF_PASS=-0.001] X-Spam-Score: -2.332 X-Spam-Level: Cc: Gtk+ Developers , gnome-db-list@gnome.org Subject: [gnome-db] Re: Transformation functions from G_TYPE_STRING to G_TYPE_any X-BeenThere: gnome-db-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME-DB discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Jun 2006 19:23:05 -0000 ------=_Part_4149_12028470.1149535377779 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Specificaly in GDA could be usefull if the following types has a From Strin= g Function defined in GLib: G_TYPE_BOOLEAN G_TYPE_INT G_TYPE_UINT G_TYPE_INT64 G_TYPE_UINT64 G_TYPE_LONG G_TYPE_ULONG G_TYPE_FLOAT G_TYPE_DOUBLE 2006/5/24, Tim Janik : > > On Fri, 19 May 2006, Daniel Espinosa wrote: > > > I'm working on add functions to GLib to transform a STRING to GLib's > types; > > now only exists a way to transform to a STRING but not from a STRING; t= o > do > > transformations to string are more of a convenience/debugging feature > libgobject offers. > > > so I need to find the value_transform_int_string function (and the > others in > > gvaluetransform.c file) in order to write the functions to transform > from > > STRING some types. > > > > GDA, has some code to transform them, but may is better to have them in > > GLib; unless you consider that is better that library must register his > own > > custom transformation functions. > > > > I had filed a bug in: > > > > http://bugzilla.gnome.org/show_bug.cgi?id=3D342358 > > i don't think having these in glib makes much sense, as outlined in: > http://mail.gnome.org/archives/gtk-devel-list/2006-May/msg00258.html > reflected in the bug report. > > --- > ciaoTJ > --=20 Trabajar, la mejor arma para tu superaci=F3n "de grano en grano, se hace la arena" (R) (entr=E1mite, pero para los cuate= s: LIBRE) ------=_Part_4149_12028470.1149535377779 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Specificaly in GDA could be usefull if the following types has a From Strin= g Function defined in GLib:

G_TYPE_BOOLEAN
G_TYPE_INT
G_TYPE_U= INT
G_TYPE_INT64
G_TYPE_UINT64
G_TYPE_LONG
G_TYPE_ULONG
G_TY= PE_FLOAT
G_TYPE_DOUBLE


2006/5/24, Ti= m Janik <timj@imendio.com>:
On Fri, 19 May 2006, Daniel Espinosa wrote:

> I'm working on add = functions to GLib to transform a STRING to GLib's types;
> now only e= xists a way to transform to a STRING but not from a STRING; to do

transformations to string are more of a convenience/debugging feature
li= bgobject offers.

> so I need to find the value_transform_int_stri= ng function (and the others in
> gvaluetransform.c file) in order to = write the functions to transform from
> STRING some types.
>
> GDA, has some code to transform= them, but may is better to have them in
> GLib; unless you consider = that is better that library must register his own
> custom transforma= tion functions.
>
> I had filed a bug in:
>
> http://bugzilla.gnome.org/show_b= ug.cgi?id=3D342358

i don't think having these in glib makes much= sense, as outlined in:
   http://mail.gnome.org/archives/gtk-devel-list/2006-M= ay/msg00258.html
reflected in the bug report.

---
ciaoTJ



--
Trabajar, la mejor arma para tu supe= raci=F3n
"de grano en grano, se hace la arena" (R) (entr=E1mit= e, pero para los cuates: LIBRE) ------=_Part_4149_12028470.1149535377779-- From vmalerba@gmail.com Tue Jun 6 04:56:16 2006 Return-Path: X-Original-To: gnome-db-list@gnome.org Delivered-To: gnome-db-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 214AF3B010E for ; Tue, 6 Jun 2006 04:56:16 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 25725-07 for ; Tue, 6 Jun 2006 04:56:11 -0400 (EDT) Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.193]) by menubar.gnome.org (Postfix) with ESMTP id 649633B0BAF for ; Tue, 6 Jun 2006 04:55:52 -0400 (EDT) Received: by nz-out-0102.google.com with SMTP id 9so2290479nzo for ; Tue, 06 Jun 2006 01:55:51 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=fgm2JCvC3MNZPTpAC1O/9bSndNSlzWvXYuvy6jf37M6ie69ZzHh/qFB3KPMATxYjgjj7TUizZXDxeYZKqzjNg2aCVhsl4yYTILzbROVcbsh81p53vELEdqkfCDqGOQwv7RVIW6ZqCl6pWbicse8Qkg7bCiJSfID/AVOdWD+qZ+4= Received: by 10.36.39.9 with SMTP id m9mr224276nzm; Tue, 06 Jun 2006 01:55:51 -0700 (PDT) Received: by 10.36.55.1 with HTTP; Tue, 6 Jun 2006 01:55:51 -0700 (PDT) Message-ID: Date: Tue, 6 Jun 2006 10:55:51 +0200 From: "Vivien Malerba" To: "Daniel Espinosa" Subject: Re: [gnome-db] GValue to String in GLib: Conclusion In-Reply-To: <144160610606051131t3e80ce48q453d62172a83d834@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <144160610606051131t3e80ce48q453d62172a83d834@mail.gmail.com> X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.487 tagged_above=-999 required=2 tests=[AWL=0.113, BAYES_00=-2.599, SPF_PASS=-0.001] X-Spam-Score: -2.487 X-Spam-Level: Cc: gnome-db-list@gnome.org X-BeenThere: gnome-db-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME-DB discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jun 2006 08:56:17 -0000 On 6/5/06, Daniel Espinosa wrote: > I don't find that the developers of GLib want to modify the core of the > library to include the functions to transform a string to the fundamental > types INT, DOUBLE, FLOAT, etc. > > I don't know if I weren't clear enough to explaint that we don't want > "serialization" in GLib, it's just to convert a string to a value not > objects. > > But then, as the following sugestion refer, we can put the code for that > functions in GDA. > > http://mail.gnome.org/archives/gtk-devel-list/2006-May/msg00259.html > > and > > http://mail.gnome.org/archives/gtk-devel-list/2006-May/msg00248.html > > As the last, GStreamer has it's own transformation From/To String for his > own types of values. Right, let's then keep that code in libgda, as GStreamer does... Thanks, Vivien From esodan@gmail.com Wed Jun 7 18:57:19 2006 Return-Path: X-Original-To: gnome-db-list@gnome.org Delivered-To: gnome-db-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id D7D443B0E71 for ; Wed, 7 Jun 2006 18:57:19 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 20852-09 for ; Wed, 7 Jun 2006 18:57:18 -0400 (EDT) Received: from wx-out-0102.google.com (wx-out-0102.google.com [66.249.82.192]) by menubar.gnome.org (Postfix) with ESMTP id 103173B04FF for ; Wed, 7 Jun 2006 18:57:17 -0400 (EDT) Received: by wx-out-0102.google.com with SMTP id i30so304349wxd for ; Wed, 07 Jun 2006 15:57:17 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=brOyTpnAXnWzgkamxyikE9cOQ90NF4F0BvGq1xzQtGPHZ0+SJ3y68cS2sQKIx60C2DcUvhwXAlWWDN+yFc04K05T/Fu+Im8upts9XHh0/eA4jTURyfnyZcxY3HP//u48WrVjncPVazRB2iv6hQqPAP/e5fD1lMAc5Vz78gA1Ouo= Received: by 10.70.44.16 with SMTP id r16mr1306941wxr; Wed, 07 Jun 2006 15:57:17 -0700 (PDT) Received: by 10.70.75.1 with HTTP; Wed, 7 Jun 2006 15:57:17 -0700 (PDT) Message-ID: <144160610606071557l71e0c1b0k7ecc8d1a489201b2@mail.gmail.com> Date: Wed, 7 Jun 2006 17:57:17 -0500 From: "Daniel Espinosa" To: gnome-db-list@gnome.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_5916_6433013.1149721037318" X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.353 tagged_above=-999 required=2 tests=[AWL=0.246, BAYES_00=-2.599, HTML_MESSAGE=0.001, SPF_PASS=-0.001] X-Spam-Score: -2.353 X-Spam-Level: Subject: [gnome-db] GValue from string: CVS - Observation and Proposal X-BeenThere: gnome-db-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME-DB discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jun 2006 22:57:20 -0000 ------=_Part_5916_6433013.1149721037318 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline There are a problem with the implementation, I think, know if you want to transform a value from a string you'll need to use gda_value_set_from_strin= g and that's correct, but: What happen if I want to use the GValue API to transform that value (a string) to other; may be could be more clear to register the transformation functions (the code already exist in the function set_from_string). Then the programer can use a code where he don't need to take care about th= e type of the value he transforms from. if ( g_value_transformable (G_VALUE_TYPE(source), G_VALUE_TYPE(destination)= ) { g_value_transform( source, destination ); UseTheValue(destination); // This function coulde take care about how to use the type of the value passed as argument } else Error(); In the case of use the actual API you allways need to know that the actual value is a string: if ( G_VALUE_TYPE(source) =3D=3D G_TYPE_STRING ) { gda_value_set_from_string( destination, g_value_get_string( source ), G_TYPE_INT); UseTheValue(destination); } else { if ( g_value_transformable (G_VALUE_TYPE(source), G_VALUE_TYPE(destination)) { g_value_transform( source, destination ); UseTheValue(destination); // This function coulde take care about how to use the type of the value passed as argument } else Error(); } --=20 Trabajar, la mejor arma para tu superaci=F3n "de grano en grano, se hace la arena" (R) (entr=E1mite, pero para los cuate= s: LIBRE) ------=_Part_5916_6433013.1149721037318 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline There are a problem with the implementation, I think, know if you want to t= ransform a value from a string you'll need to use gda_value_set_from_string= and that's correct, but:

What happen if I want to use the GValue AP= I to transform that value (a string) to other; may be could be more clear t= o register the transformation functions (the code already exist in the func= tion set_from_string).

Then the programer can use a code where he don't need to take care = about the type of the value he transforms from.

if ( g_value_transfo= rmable (G_VALUE_TYPE(source), G_VALUE_TYPE(destination)) {

 &nb= sp;    g_value_transform( source, destination );

     UseTheValue(destination); // This function= coulde take care about how to use the type of the value passed as argument=
}
else Error();



In the case of use the actual API you= allways need to know that the actual value is a string:

if ( G_VALUE_TYPE(source) =3D=3D G_TYPE_STRING ) {

 &nb= sp;    gda_value_set_from_string( destination, g_value_get_s= tring( source ), G_TYPE_INT);

    =   UseTheValue(destination);
}
else {
   if ( g_valu= e_transformable (G_VALUE_TYPE(source), G_VALUE_TYPE(destination)) {

        g_value_transform( source, desti= nation );

        UseTheValue(destination); // Thi= s function coulde take care about how to use the type of the value passed a= s argument
   }
   else Error();
}


--
Trabajar, la mejor arma para tu superaci=F3n
"de gra= no en grano, se hace la arena" (R) (entr=E1mite, pero para los cuates:= LIBRE) ------=_Part_5916_6433013.1149721037318-- From esodan@gmail.com Thu Jun 8 14:13:35 2006 Return-Path: X-Original-To: gnome-db-list@gnome.org Delivered-To: gnome-db-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 963EE3B0FBA for ; Thu, 8 Jun 2006 14:13:35 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 27351-02 for ; Thu, 8 Jun 2006 14:13:34 -0400 (EDT) Received: from wx-out-0102.google.com (wx-out-0102.google.com [66.249.82.194]) by menubar.gnome.org (Postfix) with ESMTP id 09CA63B0F8B for ; Thu, 8 Jun 2006 14:13:33 -0400 (EDT) Received: by wx-out-0102.google.com with SMTP id i30so458759wxd for ; Thu, 08 Jun 2006 11:13:33 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=T/BrbOB7J0oZnie8C96Lb1ngQtKuKNhyCTM6y8G65WlbrmJ7Fw3EEUcQRibflyHuqgz5bxD0Bbr2Ov+qmgAKZA3A1lL7Rjzfe3cEwLN9QGHknXZBoQvdEmjQq/HOa1UylrcBb6b+vGzF+McbQPSuZzWnTN60rRbbbIxnqAeYOR0= Received: by 10.70.73.4 with SMTP id v4mr2394363wxa; Thu, 08 Jun 2006 11:13:32 -0700 (PDT) Received: by 10.70.75.1 with HTTP; Thu, 8 Jun 2006 11:13:32 -0700 (PDT) Message-ID: <144160610606081113s67997fa5v62842bebf653376a@mail.gmail.com> Date: Thu, 8 Jun 2006 13:13:32 -0500 From: "Daniel Espinosa" To: "F Wolff" In-Reply-To: <1149747620.4485.25.camel@localhost.localdomain> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_5765_15259675.1149790412225" References: <20060605020856.6a722cb9@localhost.localdomain> <1149604559.9167.99.camel@localhost.localdomain> <20060608001728.22f6fa64@localhost.localdomain> <1149747620.4485.25.camel@localhost.localdomain> X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.388 tagged_above=-999 required=2 tests=[AWL=0.211, BAYES_00=-2.599, HTML_MESSAGE=0.001, SPF_PASS=-0.001] X-Spam-Score: -2.388 X-Spam-Level: Cc: translate-pootle@lists.sourceforge.net, gnome-db-list@gnome.org, translate-devel@lists.sourceforge.net Subject: [gnome-db] Re: [translate-pootle] Wordforge X-BeenThere: gnome-db-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME-DB discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jun 2006 18:13:35 -0000 ------=_Part_5765_15259675.1149790412225 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline > > As for specific technology - jToolkit (that we already use) has support > for many databases so we'll probably use that functionality so that we > don't become tied to any specific one. May is better to use the python binding of libgda; it supports may database= s backends and is a GNU implementation (now in development and hope to reach soon version 2.0 with much improviments in the arquitecture and features). --=20 Trabajar, la mejor arma para tu superaci=F3n "de grano en grano, se hace la arena" (R) (entr=E1mite, pero para los cuate= s: LIBRE) ------=_Part_5765_15259675.1149790412225 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline
As for speci= fic technology - jToolkit (that we already use) has support
for many dat= abases so we'll probably use that functionality so that we
don't become tied to any specific one.

May is better to use the python binding of libgda; it supports may databas= es backends and is a GNU implementation (now in development and hope to rea= ch soon version=20 2.0 with much improviments in the arquitecture and features).

--
Trabajar, la mejor arma para tu superaci=F3n
"de gra= no en grano, se hace la arena" (R) (entr=E1mite, pero para los cuates:= LIBRE) ------=_Part_5765_15259675.1149790412225-- From bas.driessen@xobas.com Thu Jun 1 01:36:38 2006 Return-Path: X-Original-To: gnome-db-list@gnome.org Delivered-To: gnome-db-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 910423B00BB for ; Thu, 1 Jun 2006 01:36:38 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 07708-10 for ; Thu, 1 Jun 2006 01:36:35 -0400 (EDT) Received: from syd.xobas.net (unknown [209.135.140.233]) by menubar.gnome.org (Postfix) with ESMTP id 5C44E3B00B7 for ; Thu, 1 Jun 2006 01:36:35 -0400 (EDT) Received: from ams.xobas.com (203-206-43-80.dyn.iinet.net.au [203.206.43.80]) (authenticated bits=0) by syd.xobas.net (8.13.6/8.13.6) with ESMTP id k515abSZ020954 for ; Thu, 1 Jun 2006 15:36:44 +1000 From: Bas Driessen To: GNOME-DB List Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-+jIuJX0UJ2kNDDxDZuPS" Organization: Xobas Software Date: Thu, 01 Jun 2006 15:36:24 +1000 Message-Id: <1149140184.2835.7.camel@ams.xobas.com> Mime-Version: 1.0 X-Mailer: Evolution 2.6.1 (2.6.1-1.fc5.2) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-1.969 tagged_above=-999 required=2 tests=[AWL=0.044, BAYES_00=-2.599, FORGED_RCVD_HELO=0.135, HTML_30_40=0.374, HTML_MESSAGE=0.001, SPF_PASS=-0.001, TW_CN=0.077] X-Spam-Score: -1.969 X-Spam-Level: Subject: [gnome-db] SQL message output. X-BeenThere: gnome-db-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: bas.driessen@xobas.com List-Id: GNOME-DB discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Jun 2006 05:36:38 -0000 --=-+jIuJX0UJ2kNDDxDZuPS Content-Type: multipart/alternative; boundary="=-Dp/ee1zsx7zGbAVnq2Za" --=-Dp/ee1zsx7zGbAVnq2Za Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hello, I noticed that the section below has been added in version 1.50 of file libgda/gda-server-provider.c with as comment "bug fixes" .... : GdaServerProviderInfo *info; info =3D gda_server_provider_get_info (provider, cnc); g_print ("=3D=3D> %s (Provider %s on cnx %p)\n", cmd->text, info->provider_name, cnc); This prints the SQL statement to standard output and will be a great debug and/or log tool. However, can we somehow make this feature optional? I would like to be able to switch this off, since I get swamped with SQL messages now. Thanks, Bas. --=-Dp/ee1zsx7zGbAVnq2Za Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello,

I noticed that the section below has been added in version 1.50 of file lib= gda/gda-server-provider.c with as comment "bug fixes" .... :


GdaServerProviderInfo *info;

info =3D gda_server_provider_get_info (provider, cnc);
g_print ("=3D=3D> %s (Provider %s on cnx %p)\n", cmd->t= ext, info->provider_name, cnc);


This prints the SQL statement to standard output and will be a great debug = and/or log tool. However, can we somehow make this feature optional? I woul= d like to be able to switch this off, since I get swamped with SQL messages= now.


Thanks,
Bas.

--=-Dp/ee1zsx7zGbAVnq2Za-- --=-+jIuJX0UJ2kNDDxDZuPS Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) iD8DBQBEfnzYDNTMG7IqcsoRAsDjAJ9AHPwXk+smbdG8j7JEQASjedbLTgCcDKuK 4ksia6ssE3wqqZzBNT1mCT0= =+efd -----END PGP SIGNATURE----- --=-+jIuJX0UJ2kNDDxDZuPS-- From vmalerba@gmail.com Thu Jun 1 03:29:36 2006 Return-Path: X-Original-To: gnome-db-list@gnome.org Delivered-To: gnome-db-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 081AE3B00B7 for ; Thu, 1 Jun 2006 03:29:36 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 12727-02 for ; Thu, 1 Jun 2006 03:29:33 -0400 (EDT) Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.199]) by menubar.gnome.org (Postfix) with ESMTP id E64183B0C47 for ; Thu, 1 Jun 2006 03:29:32 -0400 (EDT) Received: by nz-out-0102.google.com with SMTP id 9so307554nzo for ; Thu, 01 Jun 2006 00:29:32 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=TgZFQ2qr8eOoJSJEF7GsvSSaMr3G37wDDnVG+imBdmvhj93XkrcBHWEYV7mqR/zEduQXSuFLHHB858Ev0Mz59uelyKm3SH0K4dcH8iSvMt820UKv+PNvnAtqTde5PCsWgSINmIvqN9ScL9EMP33SmB4s1haceD99bVbJ/nO2HAQ= Received: by 10.36.247.53 with SMTP id u53mr457043nzh; Thu, 01 Jun 2006 00:29:32 -0700 (PDT) Received: by 10.36.104.9 with HTTP; Thu, 1 Jun 2006 00:29:32 -0700 (PDT) Message-ID: Date: Thu, 1 Jun 2006 09:29:32 +0200 From: "Vivien Malerba" To: bas.driessen@xobas.com Subject: Re: [gnome-db] SQL message output. In-Reply-To: <1149140184.2835.7.camel@ams.xobas.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1149140184.2835.7.camel@ams.xobas.com> X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.447 tagged_above=-999 required=2 tests=[AWL=0.076, BAYES_00=-2.599, SPF_PASS=-0.001, TW_CN=0.077] X-Spam-Score: -2.447 X-Spam-Level: Cc: GNOME-DB List X-BeenThere: gnome-db-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME-DB discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Jun 2006 07:29:36 -0000 On 6/1/06, Bas Driessen wrote: > > Hello, > > I noticed that the section below has been added in version 1.50 of file > libgda/gda-server-provider.c with as comment "bug fixes" .... : > > > GdaServerProviderInfo *info; > > info = gda_server_provider_get_info (provider, cnc); > g_print ("==> %s (Provider %s on cnx %p)\n", cmd->text, > info->provider_name, cnc); > > > This prints the SQL statement to standard output and will be a great debug > and/or log tool. However, can we somehow make this feature optional? I would > like to be able to switch this off, since I get swamped with SQL messages > now. Yes, sorry for the inconvenience. Add #ifdef GDA_DEBUG before that line and a #endif after it. I'll add that myself next time I do a commit. Cheers, Vivien From esodan@gmail.com Mon Jun 5 14:31:20 2006 Return-Path: X-Original-To: gnome-db-list@gnome.org Delivered-To: gnome-db-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 7CC293B09DE for ; Mon, 5 Jun 2006 14:31:20 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 21460-08 for ; Mon, 5 Jun 2006 14:31:18 -0400 (EDT) Received: from wx-out-0102.google.com (wx-out-0102.google.com [66.249.82.204]) by menubar.gnome.org (Postfix) with ESMTP id AC55D3B0954 for ; Mon, 5 Jun 2006 14:31:18 -0400 (EDT) Received: by wx-out-0102.google.com with SMTP id i30so1218302wxd for ; Mon, 05 Jun 2006 11:31:18 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=T3Z02ur/6jhBjHcTuRievbBTcw/pXS+jT+l+67H/S1WRGSKlpM933iCTSU0Jkix8d9cdIPwG77hGyQwMSNSbGsFeIZX+WUWD6k5nwCjnFTdfG/XmOZof12A+D75f+2Z6og8xRuzB7MP73WGTEKZO5o/dRrTnxZFJAgk9YRsrtos= Received: by 10.70.89.19 with SMTP id m19mr6376212wxb; Mon, 05 Jun 2006 11:31:18 -0700 (PDT) Received: by 10.70.75.1 with HTTP; Mon, 5 Jun 2006 11:31:18 -0700 (PDT) Message-ID: <144160610606051131t3e80ce48q453d62172a83d834@mail.gmail.com> Date: Mon, 5 Jun 2006 13:31:18 -0500 From: "Daniel Espinosa" To: gnome-db-list@gnome.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_3349_14190453.1149532278021" X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.564 tagged_above=-999 required=2 tests=[AWL=0.035, BAYES_00=-2.599, HTML_MESSAGE=0.001, SPF_PASS=-0.001] X-Spam-Score: -2.564 X-Spam-Level: Subject: [gnome-db] GValue to String in GLib: Conclusion X-BeenThere: gnome-db-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME-DB discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Jun 2006 18:31:20 -0000 ------=_Part_3349_14190453.1149532278021 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline I don't find that the developers of GLib want to modify the core of the library to include the functions to transform a string to the fundamental types INT, DOUBLE, FLOAT, etc. I don't know if I weren't clear enough to explaint that we don't want "serialization" in GLib, it's just to convert a string to a value not objects. But then, as the following sugestion refer, we can put the code for that functions in GDA. http://mail.gnome.org/archives/gtk-devel-list/2006-May/msg00259.html and http://mail.gnome.org/archives/gtk-devel-list/2006-May/msg00248.html As the last, GStreamer has it's own transformation From/To String for his own types of values. --=20 Trabajar, la mejor arma para tu superaci=F3n "de grano en grano, se hace la arena" (R) (entr=E1mite, pero para los cuate= s: LIBRE) ------=_Part_3349_14190453.1149532278021 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline I don't find that the developers of GLib want to modify the core of the lib= rary to include the functions to transform a string to the fundamental type= s INT, DOUBLE, FLOAT, etc.

I don't know if I weren't clear enough to= explaint that we don't want "serialization" in GLib, it's just t= o convert a string to a value not objects.

But then, as the following sugestion refer, we can put the code for= that functions in GDA.

http://mail.gnome.org/archives/gtk-dev= el-list/2006-May/msg00259.html

and

http://mail.gnome.org/archives/gtk-devel-list= /2006-May/msg00248.html

As the last, GStreamer has it's own tran= sformation From/To String for his own types of values.

--
Trabajar, la mejor arma para tu superaci=F3n"de grano en grano, se hace la arena" (R) (entr=E1mite, pero pa= ra los cuates: LIBRE) ------=_Part_3349_14190453.1149532278021-- From esodan@gmail.com Mon Jun 5 14:33:47 2006 Return-Path: X-Original-To: gnome-db-list@gnome.org Delivered-To: gnome-db-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id C12333B09EF for ; Mon, 5 Jun 2006 14:33:47 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 21602-07 for ; Mon, 5 Jun 2006 14:33:46 -0400 (EDT) Received: from wx-out-0102.google.com (wx-out-0102.google.com [66.249.82.193]) by menubar.gnome.org (Postfix) with ESMTP id 064193B0954 for ; Mon, 5 Jun 2006 14:33:45 -0400 (EDT) Received: by wx-out-0102.google.com with SMTP id i30so1218631wxd for ; Mon, 05 Jun 2006 11:33:45 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=FRKnVW1nlh6D6h/lo6ZRrlTD2OM08KjKujOtNEQEadV3GlNOVFebdPyNPvzIzwEma2neOHXZhT2yIGb0AH1/HVoRNUj3JmwaT5ZrOr+4bwksuhqBwtIuDVAJ0oCwY2mFQFer9lMvi5xnkVmN+1uJfkjb6qbLRDercIbbc7X9vuQ= Received: by 10.70.130.14 with SMTP id c14mr6379321wxd; Mon, 05 Jun 2006 11:33:45 -0700 (PDT) Received: by 10.70.75.1 with HTTP; Mon, 5 Jun 2006 11:33:45 -0700 (PDT) Message-ID: <144160610606051133s65a096b7me0070b8fc95d9581@mail.gmail.com> Date: Mon, 5 Jun 2006 13:33:45 -0500 From: "Daniel Espinosa" To: gnome-db-list@gnome.org In-Reply-To: <144160610606051131t3e80ce48q453d62172a83d834@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_3389_24083357.1149532425173" References: <144160610606051131t3e80ce48q453d62172a83d834@mail.gmail.com> X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.327 tagged_above=-999 required=2 tests=[AWL=-0.224, BAYES_00=-2.599, HTML_40_50=0.496, HTML_MESSAGE=0.001, SPF_PASS=-0.001] X-Spam-Score: -2.327 X-Spam-Level: Subject: [gnome-db] Re: GValue to String in GLib: Conclusion X-BeenThere: gnome-db-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME-DB discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Jun 2006 18:33:47 -0000 ------=_Part_3389_24083357.1149532425173 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Even that I had reopened the bug to Add functions just for the fundamental types. http://bugzilla.gnome.org/show_bug.cgi?id=3D342358 2006/6/5, Daniel Espinosa : > > I don't find that the developers of GLib want to modify the core of the > library to include the functions to transform a string to the fundamental > types INT, DOUBLE, FLOAT, etc. > > I don't know if I weren't clear enough to explaint that we don't want > "serialization" in GLib, it's just to convert a string to a value not > objects. > > But then, as the following sugestion refer, we can put the code for that > functions in GDA. > > http://mail.gnome.org/archives/gtk-devel-list/2006-May/msg00259.html > > and > > http://mail.gnome.org/archives/gtk-devel-list/2006-May/msg00248.html > > As the last, GStreamer has it's own transformation From/To String for his > own types of values. > > -- > Trabajar, la mejor arma para tu superaci=F3n > "de grano en grano, se hace la arena" (R) (entr=E1mite, pero para los > cuates: LIBRE) > --=20 Trabajar, la mejor arma para tu superaci=F3n "de grano en grano, se hace la arena" (R) (entr=E1mite, pero para los cuate= s: LIBRE) ------=_Part_3389_24083357.1149532425173 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Even that I had reopened the bug to Add functions just for the fundamental = types.


http://bugzi= lla.gnome.org/show_bug.cgi?id=3D342358

2006/6/5, Daniel Espinosa <e= sodan@gmail.com >:
<= div>I don't find that the developers of GLib want to modify the core of the= library to include the functions to transform a string to the fundamental = types INT, DOUBLE, FLOAT, etc.

I don't know if I weren't clear enough to explaint that we don't wa= nt "serialization" in GLib, it's just to convert a string to a va= lue not objects.

But then, as the following sugestion refer, we can put the code for= that functions in GDA.

http://mail.gnome.org/archives/gtk-devel-list/2006-May/msg00259.html

and

http://mail.gnome.org/archives/gtk-devel-list= /2006-May/msg00248.html

As the last, GStreamer has it's own transformation From/To Stri= ng for his own types of values.

--
Trabajar, la mej= or arma para tu superaci=F3n
"de grano en grano, se hace la arena&q= uot; (R) (entr=E1mite, pero para los cuates: LIBRE)



--
Trabajar, = la mejor arma para tu superaci=F3n
"de grano en grano, se hace la a= rena" (R) (entr=E1mite, pero para los cuates: LIBRE) ------=_Part_3389_24083357.1149532425173-- From esodan@gmail.com Mon Jun 5 15:23:05 2006 Return-Path: X-Original-To: gnome-db-list@gnome.org Delivered-To: gnome-db-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 255403B04F7 for ; Mon, 5 Jun 2006 15:23:05 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 24814-07 for ; Mon, 5 Jun 2006 15:23:03 -0400 (EDT) Received: from wx-out-0102.google.com (wx-out-0102.google.com [66.249.82.207]) by menubar.gnome.org (Postfix) with ESMTP id 19FEC3B00BE for ; Mon, 5 Jun 2006 15:23:03 -0400 (EDT) Received: by wx-out-0102.google.com with SMTP id i30so1227761wxd for ; Mon, 05 Jun 2006 12:23:02 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=cvsYQffUM0aGgCeS7jB8oJuePQLGdU27XdRa4SXCGY9jSHUFLfSpqkS8RgbEioisz0ssINVAaRqI5RaaN+bYMOLU2RVDDyD2JToV8XsjAXdJ4CsCLmUTSpvcD0M8fPGI0vWGq1Y7GWLyBfFzyqesSv6vCLawTqaiASji2N1wK+o= Received: by 10.70.69.8 with SMTP id r8mr6434300wxa; Mon, 05 Jun 2006 12:22:57 -0700 (PDT) Received: by 10.70.75.1 with HTTP; Mon, 5 Jun 2006 12:22:57 -0700 (PDT) Message-ID: <144160610606051222k6dc2a872ycf0360f26a338718@mail.gmail.com> Date: Mon, 5 Jun 2006 14:22:57 -0500 From: "Daniel Espinosa" To: "Tim Janik" In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_4149_12028470.1149535377779" References: <144160610605190934j3f96d985rf46013b5e1af8198@mail.gmail.com> X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.332 tagged_above=-999 required=2 tests=[AWL=-0.107, BAYES_00=-2.599, HTML_30_40=0.374, HTML_MESSAGE=0.001, SPF_PASS=-0.001] X-Spam-Score: -2.332 X-Spam-Level: Cc: Gtk+ Developers , gnome-db-list@gnome.org Subject: [gnome-db] Re: Transformation functions from G_TYPE_STRING to G_TYPE_any X-BeenThere: gnome-db-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME-DB discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Jun 2006 19:23:05 -0000 ------=_Part_4149_12028470.1149535377779 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Specificaly in GDA could be usefull if the following types has a From Strin= g Function defined in GLib: G_TYPE_BOOLEAN G_TYPE_INT G_TYPE_UINT G_TYPE_INT64 G_TYPE_UINT64 G_TYPE_LONG G_TYPE_ULONG G_TYPE_FLOAT G_TYPE_DOUBLE 2006/5/24, Tim Janik : > > On Fri, 19 May 2006, Daniel Espinosa wrote: > > > I'm working on add functions to GLib to transform a STRING to GLib's > types; > > now only exists a way to transform to a STRING but not from a STRING; t= o > do > > transformations to string are more of a convenience/debugging feature > libgobject offers. > > > so I need to find the value_transform_int_string function (and the > others in > > gvaluetransform.c file) in order to write the functions to transform > from > > STRING some types. > > > > GDA, has some code to transform them, but may is better to have them in > > GLib; unless you consider that is better that library must register his > own > > custom transformation functions. > > > > I had filed a bug in: > > > > http://bugzilla.gnome.org/show_bug.cgi?id=3D342358 > > i don't think having these in glib makes much sense, as outlined in: > http://mail.gnome.org/archives/gtk-devel-list/2006-May/msg00258.html > reflected in the bug report. > > --- > ciaoTJ > --=20 Trabajar, la mejor arma para tu superaci=F3n "de grano en grano, se hace la arena" (R) (entr=E1mite, pero para los cuate= s: LIBRE) ------=_Part_4149_12028470.1149535377779 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Specificaly in GDA could be usefull if the following types has a From Strin= g Function defined in GLib:

G_TYPE_BOOLEAN
G_TYPE_INT
G_TYPE_U= INT
G_TYPE_INT64
G_TYPE_UINT64
G_TYPE_LONG
G_TYPE_ULONG
G_TY= PE_FLOAT
G_TYPE_DOUBLE


2006/5/24, Ti= m Janik <timj@imendio.com>:
On Fri, 19 May 2006, Daniel Espinosa wrote:

> I'm working on add = functions to GLib to transform a STRING to GLib's types;
> now only e= xists a way to transform to a STRING but not from a STRING; to do

transformations to string are more of a convenience/debugging feature
li= bgobject offers.

> so I need to find the value_transform_int_stri= ng function (and the others in
> gvaluetransform.c file) in order to = write the functions to transform from
> STRING some types.
>
> GDA, has some code to transform= them, but may is better to have them in
> GLib; unless you consider = that is better that library must register his own
> custom transforma= tion functions.
>
> I had filed a bug in:
>
> http://bugzilla.gnome.org/show_b= ug.cgi?id=3D342358

i don't think having these in glib makes much= sense, as outlined in:
   http://mail.gnome.org/archives/gtk-devel-list/2006-M= ay/msg00258.html
reflected in the bug report.

---
ciaoTJ



--
Trabajar, la mejor arma para tu supe= raci=F3n
"de grano en grano, se hace la arena" (R) (entr=E1mit= e, pero para los cuates: LIBRE) ------=_Part_4149_12028470.1149535377779-- From vmalerba@gmail.com Tue Jun 6 04:56:16 2006 Return-Path: X-Original-To: gnome-db-list@gnome.org Delivered-To: gnome-db-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 214AF3B010E for ; Tue, 6 Jun 2006 04:56:16 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 25725-07 for ; Tue, 6 Jun 2006 04:56:11 -0400 (EDT) Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.193]) by menubar.gnome.org (Postfix) with ESMTP id 649633B0BAF for ; Tue, 6 Jun 2006 04:55:52 -0400 (EDT) Received: by nz-out-0102.google.com with SMTP id 9so2290479nzo for ; Tue, 06 Jun 2006 01:55:51 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=fgm2JCvC3MNZPTpAC1O/9bSndNSlzWvXYuvy6jf37M6ie69ZzHh/qFB3KPMATxYjgjj7TUizZXDxeYZKqzjNg2aCVhsl4yYTILzbROVcbsh81p53vELEdqkfCDqGOQwv7RVIW6ZqCl6pWbicse8Qkg7bCiJSfID/AVOdWD+qZ+4= Received: by 10.36.39.9 with SMTP id m9mr224276nzm; Tue, 06 Jun 2006 01:55:51 -0700 (PDT) Received: by 10.36.55.1 with HTTP; Tue, 6 Jun 2006 01:55:51 -0700 (PDT) Message-ID: Date: Tue, 6 Jun 2006 10:55:51 +0200 From: "Vivien Malerba" To: "Daniel Espinosa" Subject: Re: [gnome-db] GValue to String in GLib: Conclusion In-Reply-To: <144160610606051131t3e80ce48q453d62172a83d834@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <144160610606051131t3e80ce48q453d62172a83d834@mail.gmail.com> X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.487 tagged_above=-999 required=2 tests=[AWL=0.113, BAYES_00=-2.599, SPF_PASS=-0.001] X-Spam-Score: -2.487 X-Spam-Level: Cc: gnome-db-list@gnome.org X-BeenThere: gnome-db-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME-DB discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jun 2006 08:56:17 -0000 On 6/5/06, Daniel Espinosa wrote: > I don't find that the developers of GLib want to modify the core of the > library to include the functions to transform a string to the fundamental > types INT, DOUBLE, FLOAT, etc. > > I don't know if I weren't clear enough to explaint that we don't want > "serialization" in GLib, it's just to convert a string to a value not > objects. > > But then, as the following sugestion refer, we can put the code for that > functions in GDA. > > http://mail.gnome.org/archives/gtk-devel-list/2006-May/msg00259.html > > and > > http://mail.gnome.org/archives/gtk-devel-list/2006-May/msg00248.html > > As the last, GStreamer has it's own transformation From/To String for his > own types of values. Right, let's then keep that code in libgda, as GStreamer does... Thanks, Vivien From esodan@gmail.com Wed Jun 7 18:57:19 2006 Return-Path: X-Original-To: gnome-db-list@gnome.org Delivered-To: gnome-db-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id D7D443B0E71 for ; Wed, 7 Jun 2006 18:57:19 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 20852-09 for ; Wed, 7 Jun 2006 18:57:18 -0400 (EDT) Received: from wx-out-0102.google.com (wx-out-0102.google.com [66.249.82.192]) by menubar.gnome.org (Postfix) with ESMTP id 103173B04FF for ; Wed, 7 Jun 2006 18:57:17 -0400 (EDT) Received: by wx-out-0102.google.com with SMTP id i30so304349wxd for ; Wed, 07 Jun 2006 15:57:17 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=brOyTpnAXnWzgkamxyikE9cOQ90NF4F0BvGq1xzQtGPHZ0+SJ3y68cS2sQKIx60C2DcUvhwXAlWWDN+yFc04K05T/Fu+Im8upts9XHh0/eA4jTURyfnyZcxY3HP//u48WrVjncPVazRB2iv6hQqPAP/e5fD1lMAc5Vz78gA1Ouo= Received: by 10.70.44.16 with SMTP id r16mr1306941wxr; Wed, 07 Jun 2006 15:57:17 -0700 (PDT) Received: by 10.70.75.1 with HTTP; Wed, 7 Jun 2006 15:57:17 -0700 (PDT) Message-ID: <144160610606071557l71e0c1b0k7ecc8d1a489201b2@mail.gmail.com> Date: Wed, 7 Jun 2006 17:57:17 -0500 From: "Daniel Espinosa" To: gnome-db-list@gnome.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_5916_6433013.1149721037318" X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.353 tagged_above=-999 required=2 tests=[AWL=0.246, BAYES_00=-2.599, HTML_MESSAGE=0.001, SPF_PASS=-0.001] X-Spam-Score: -2.353 X-Spam-Level: Subject: [gnome-db] GValue from string: CVS - Observation and Proposal X-BeenThere: gnome-db-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME-DB discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jun 2006 22:57:20 -0000 ------=_Part_5916_6433013.1149721037318 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline There are a problem with the implementation, I think, know if you want to transform a value from a string you'll need to use gda_value_set_from_strin= g and that's correct, but: What happen if I want to use the GValue API to transform that value (a string) to other; may be could be more clear to register the transformation functions (the code already exist in the function set_from_string). Then the programer can use a code where he don't need to take care about th= e type of the value he transforms from. if ( g_value_transformable (G_VALUE_TYPE(source), G_VALUE_TYPE(destination)= ) { g_value_transform( source, destination ); UseTheValue(destination); // This function coulde take care about how to use the type of the value passed as argument } else Error(); In the case of use the actual API you allways need to know that the actual value is a string: if ( G_VALUE_TYPE(source) =3D=3D G_TYPE_STRING ) { gda_value_set_from_string( destination, g_value_get_string( source ), G_TYPE_INT); UseTheValue(destination); } else { if ( g_value_transformable (G_VALUE_TYPE(source), G_VALUE_TYPE(destination)) { g_value_transform( source, destination ); UseTheValue(destination); // This function coulde take care about how to use the type of the value passed as argument } else Error(); } --=20 Trabajar, la mejor arma para tu superaci=F3n "de grano en grano, se hace la arena" (R) (entr=E1mite, pero para los cuate= s: LIBRE) ------=_Part_5916_6433013.1149721037318 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline There are a problem with the implementation, I think, know if you want to t= ransform a value from a string you'll need to use gda_value_set_from_string= and that's correct, but:

What happen if I want to use the GValue AP= I to transform that value (a string) to other; may be could be more clear t= o register the transformation functions (the code already exist in the func= tion set_from_string).

Then the programer can use a code where he don't need to take care = about the type of the value he transforms from.

if ( g_value_transfo= rmable (G_VALUE_TYPE(source), G_VALUE_TYPE(destination)) {

 &nb= sp;    g_value_transform( source, destination );

     UseTheValue(destination); // This function= coulde take care about how to use the type of the value passed as argument=
}
else Error();



In the case of use the actual API you= allways need to know that the actual value is a string:

if ( G_VALUE_TYPE(source) =3D=3D G_TYPE_STRING ) {

 &nb= sp;    gda_value_set_from_string( destination, g_value_get_s= tring( source ), G_TYPE_INT);

    =   UseTheValue(destination);
}
else {
   if ( g_valu= e_transformable (G_VALUE_TYPE(source), G_VALUE_TYPE(destination)) {

        g_value_transform( source, desti= nation );

        UseTheValue(destination); // Thi= s function coulde take care about how to use the type of the value passed a= s argument
   }
   else Error();
}


--
Trabajar, la mejor arma para tu superaci=F3n
"de gra= no en grano, se hace la arena" (R) (entr=E1mite, pero para los cuates:= LIBRE) ------=_Part_5916_6433013.1149721037318-- From esodan@gmail.com Thu Jun 8 14:13:35 2006 Return-Path: X-Original-To: gnome-db-list@gnome.org Delivered-To: gnome-db-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 963EE3B0FBA for ; Thu, 8 Jun 2006 14:13:35 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 27351-02 for ; Thu, 8 Jun 2006 14:13:34 -0400 (EDT) Received: from wx-out-0102.google.com (wx-out-0102.google.com [66.249.82.194]) by menubar.gnome.org (Postfix) with ESMTP id 09CA63B0F8B for ; Thu, 8 Jun 2006 14:13:33 -0400 (EDT) Received: by wx-out-0102.google.com with SMTP id i30so458759wxd for ; Thu, 08 Jun 2006 11:13:33 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=T/BrbOB7J0oZnie8C96Lb1ngQtKuKNhyCTM6y8G65WlbrmJ7Fw3EEUcQRibflyHuqgz5bxD0Bbr2Ov+qmgAKZA3A1lL7Rjzfe3cEwLN9QGHknXZBoQvdEmjQq/HOa1UylrcBb6b+vGzF+McbQPSuZzWnTN60rRbbbIxnqAeYOR0= Received: by 10.70.73.4 with SMTP id v4mr2394363wxa; Thu, 08 Jun 2006 11:13:32 -0700 (PDT) Received: by 10.70.75.1 with HTTP; Thu, 8 Jun 2006 11:13:32 -0700 (PDT) Message-ID: <144160610606081113s67997fa5v62842bebf653376a@mail.gmail.com> Date: Thu, 8 Jun 2006 13:13:32 -0500 From: "Daniel Espinosa" To: "F Wolff" In-Reply-To: <1149747620.4485.25.camel@localhost.localdomain> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_5765_15259675.1149790412225" References: <20060605020856.6a722cb9@localhost.localdomain> <1149604559.9167.99.camel@localhost.localdomain> <20060608001728.22f6fa64@localhost.localdomain> <1149747620.4485.25.camel@localhost.localdomain> X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.388 tagged_above=-999 required=2 tests=[AWL=0.211, BAYES_00=-2.599, HTML_MESSAGE=0.001, SPF_PASS=-0.001] X-Spam-Score: -2.388 X-Spam-Level: Cc: translate-pootle@lists.sourceforge.net, gnome-db-list@gnome.org, translate-devel@lists.sourceforge.net Subject: [gnome-db] Re: [translate-pootle] Wordforge X-BeenThere: gnome-db-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME-DB discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jun 2006 18:13:35 -0000 ------=_Part_5765_15259675.1149790412225 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline > > As for specific technology - jToolkit (that we already use) has support > for many databases so we'll probably use that functionality so that we > don't become tied to any specific one. May is better to use the python binding of libgda; it supports may database= s backends and is a GNU implementation (now in development and hope to reach soon version 2.0 with much improviments in the arquitecture and features). --=20 Trabajar, la mejor arma para tu superaci=F3n "de grano en grano, se hace la arena" (R) (entr=E1mite, pero para los cuate= s: LIBRE) ------=_Part_5765_15259675.1149790412225 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline
As for speci= fic technology - jToolkit (that we already use) has support
for many dat= abases so we'll probably use that functionality so that we
don't become tied to any specific one.

May is better to use the python binding of libgda; it supports may databas= es backends and is a GNU implementation (now in development and hope to rea= ch soon version=20 2.0 with much improviments in the arquitecture and features).

--
Trabajar, la mejor arma para tu superaci=F3n
"de gra= no en grano, se hace la arena" (R) (entr=E1mite, pero para los cuates:= LIBRE) ------=_Part_5765_15259675.1149790412225-- From esodan@gmail.com Wed Jun 21 12:46:59 2006 Return-Path: X-Original-To: gnome-db-list@gnome.org Delivered-To: gnome-db-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 91F243B1040 for ; Wed, 21 Jun 2006 12:46:59 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 22248-01 for ; Wed, 21 Jun 2006 12:46:56 -0400 (EDT) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.235]) by menubar.gnome.org (Postfix) with ESMTP id 297953B0F7D for ; Wed, 21 Jun 2006 12:46:56 -0400 (EDT) Received: by wr-out-0506.google.com with SMTP id 37so203484wra for ; Wed, 21 Jun 2006 09:46:55 -0700 (PDT) Received: by 10.54.65.13 with SMTP id n13mr2155517wra; Wed, 21 Jun 2006 09:46:55 -0700 (PDT) Received: by 10.70.75.5 with HTTP; Wed, 21 Jun 2006 09:46:55 -0700 (PDT) Message-ID: <144160610606210946p3cfdf8dar333dbdf8e6ba56f1@mail.gmail.com> Date: Wed, 21 Jun 2006 11:46:55 -0500 From: "Daniel Espinosa" To: "Tristan Van Berkom" In-Reply-To: <44972A48.6040509@gnome.org> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_79684_28669631.1150908415267" References: <44972A48.6040509@gnome.org> X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.075 tagged_above=-999 required=2 tests=[AWL=0.028, BAYES_00=-2.599, HTML_40_50=0.496, HTML_MESSAGE=0.001, SPF_PASS=-0.001] X-Spam-Score: -2.075 X-Spam-Level: Cc: gnome-db-list@gnome.org, Glade Devel Mailing List Subject: Re: [gnome-db] [Glade-devel] Glade-3 going into feature freeze X-BeenThere: gnome-db-list@gnome.org X-Mailman-Version: 2.1.8 Precedence: list List-Id: GNOME-DB discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Jun 2006 16:46:59 -0000 ------=_Part_79684_28669631.1150908415267 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline 2006/6/19, Tristan Van Berkom : > > Hi all, > I am proud to announce that we are nearing the long awaited > initial release of glade-3 ! > > As we are a little excited and ahead of ourselves... it is nescisary to > draw the line on what features are to make it into the initial 3.0release= . > If anyone has noticed anything in recent glade-3 cvs that is missing and > is > not on the TODO list (inline below)... please speak up and let us know :) > > Cheers, > -Tristan > > This is the current list of blockers for 3.0: > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > o Toolbar editor / Popup menu editor (toolbar support now in... needs > editor) > o Unify multiple property changes & dont unify default settings (bug > 315600) > o Properties/undo stack glitches (bug 316900) > o Gnome stock items not recognized by glade-3 (bug 343712) > o Should indicate read-only projects (bug 337957) > o Implement GnomeDB widget catalog. Any tutorial on how to archive the widgets for GnomeDB? GnomeDB is reaching the final 2.0 almost a few time, then I want to work in the new set of widgets. o DevHelp gets spawned with version 0.11 (bug 344043) > o Add/Remove parent container via context menu feature (bug 343786) > o Implement "finish" signal on GladeProject (bug 345353) > > _______________________________________________ > Glade-devel maillist - Glade-devel@lists.ximian.com > http://lists.ximian.com/mailman/listinfo/glade-devel > --=20 Trabajar, la mejor arma para tu superaci=F3n "de grano en grano, se hace la arena" (R) (entr=E1mite, pero para los cuate= s: LIBRE) ------=_Part_79684_28669631.1150908415267 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline

2006/6/19, Tristan Van Berkom <= tristan.van.berkom@gmail.co= m>:
Hi all,
    I am proud to announce that we are neari= ng the long awaited
initial release of glade-3 !

As we are a litt= le excited and ahead of ourselves... it is nescisary to
draw the line on= what features are to make it into the initial=20 3.0 release.
If anyone has noticed anything in recent glade-3 cvs that i= s missing and is
not on the TODO list (inline below)... please speak up = and let us know :)

Cheers,
      &n= bsp;            = ;            &n= bsp;  -Tristan

This is the current list of blockers for 3.0:
=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
o Toolbar editor= / Popup menu editor (toolbar support now in... needs
editor)
o Unif= y multiple property changes & dont unify default settings (bug
315600)
o Properties/undo stack glitches (bug 316900)
o Gnome s= tock items not recognized by glade-3 (bug 343712)
o Should indicate rea= d-only projects (bug 337957)
o Implement GnomeDB widget catalog.

 Any tutoria= l on how to archive the widgets for GnomeDB?
GnomeDB is reaching the fin= al 2.0 almost a few time, then I want to work in the new set of widgets.

o DevH= elp gets spawned with version 0.11 (bug 344043)
o Add/Remove parent con= tainer via context menu feature (bug 343786)
o Implement "finish" signal on GladeProject (bug 345353)
=
_______________________________________________
Glade-devel maillist=   -  Gl= ade-devel@lists.ximian.com
ht= tp://lists.ximian.com/mailman/listinfo/glade-devel



--
Trabajar, la mejor arma para tu superaci= =F3n
"de grano en grano, se hace la arena" (R) (entr=E1mite, pero = para los cuates: LIBRE) ------=_Part_79684_28669631.1150908415267-- From tvb@gnome.org Wed Jun 21 13:06:59 2006 Return-Path: X-Original-To: gnome-db-list@gnome.org Delivered-To: gnome-db-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 632323B01C1 for ; Wed, 21 Jun 2006 13:06:59 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 23710-05 for ; Wed, 21 Jun 2006 13:06:56 -0400 (EDT) Received: from mail.touchtunes.com (mail.touchtunes.com [207.96.182.162]) by menubar.gnome.org (Postfix) with ESMTP id D5FA43B00CC for ; Wed, 21 Jun 2006 13:06:55 -0400 (EDT) Received: from [192.168.0.138] (unknown [192.168.0.138]) by mail.touchtunes.com (Postfix) with ESMTP id 82FBD15AD2; Wed, 21 Jun 2006 13:06:50 -0400 (EDT) Message-ID: <44997EFA.7030204@gnome.org> Date: Wed, 21 Jun 2006 13:16:42 -0400 From: Tristan Van Berkom User-Agent: Mozilla Thunderbird 0.8 (X11/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Daniel Espinosa References: <44972A48.6040509@gnome.org> <144160610606210946p3cfdf8dar333dbdf8e6ba56f1@mail.gmail.com> In-Reply-To: <144160610606210946p3cfdf8dar333dbdf8e6ba56f1@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.555 tagged_above=-999 required=2 tests=[AWL=0.045, BAYES_00=-2.599, SPF_HELO_PASS=-0.001] X-Spam-Score: -2.555 X-Spam-Level: X-Mailman-Approved-At: Wed, 21 Jun 2006 14:52:13 -0400 Cc: gnome-db-list@gnome.org, Tristan Van Berkom , Glade Devel Mailing List Subject: Re: [gnome-db] [Glade-devel] Glade-3 going into feature freeze X-BeenThere: gnome-db-list@gnome.org X-Mailman-Version: 2.1.8 Precedence: list List-Id: GNOME-DB discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Jun 2006 17:06:59 -0000 Daniel Espinosa wrote: [...] > o Implement GnomeDB widget catalog. > > > Any tutorial on how to archive the widgets for GnomeDB? > GnomeDB is reaching the final 2.0 almost a few time, then I want to work in > the new set of widgets. I wonder what you mean by "archive"... there is documentation on integrating widgets into glade3 ... which is what I think you want :) It is installed by the glade-3 tarball... and I am keeping an online copy up-to-date here: http://gnome.org/~tvb/glade_api/ For the moment... we would like to whip up a catalog that supports gnomedb widgets that are currently released. But its probably a good idea to drop the gnomeui catalog and gnomedb catalog from the glade3 package in the long run... and add those packages to gnomedb and gnomeui respectively... let me know what you think :) Cheers, -Tristan From bas.driessen@xobas.com Thu Jun 1 01:36:38 2006 Return-Path: X-Original-To: gnome-db-list@gnome.org Delivered-To: gnome-db-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 910423B00BB for ; Thu, 1 Jun 2006 01:36:38 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 07708-10 for ; Thu, 1 Jun 2006 01:36:35 -0400 (EDT) Received: from syd.xobas.net (unknown [209.135.140.233]) by menubar.gnome.org (Postfix) with ESMTP id 5C44E3B00B7 for ; Thu, 1 Jun 2006 01:36:35 -0400 (EDT) Received: from ams.xobas.com (203-206-43-80.dyn.iinet.net.au [203.206.43.80]) (authenticated bits=0) by syd.xobas.net (8.13.6/8.13.6) with ESMTP id k515abSZ020954 for ; Thu, 1 Jun 2006 15:36:44 +1000 From: Bas Driessen To: GNOME-DB List Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-+jIuJX0UJ2kNDDxDZuPS" Organization: Xobas Software Date: Thu, 01 Jun 2006 15:36:24 +1000 Message-Id: <1149140184.2835.7.camel@ams.xobas.com> Mime-Version: 1.0 X-Mailer: Evolution 2.6.1 (2.6.1-1.fc5.2) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-1.969 tagged_above=-999 required=2 tests=[AWL=0.044, BAYES_00=-2.599, FORGED_RCVD_HELO=0.135, HTML_30_40=0.374, HTML_MESSAGE=0.001, SPF_PASS=-0.001, TW_CN=0.077] X-Spam-Score: -1.969 X-Spam-Level: Subject: [gnome-db] SQL message output. X-BeenThere: gnome-db-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: bas.driessen@xobas.com List-Id: GNOME-DB discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Jun 2006 05:36:38 -0000 --=-+jIuJX0UJ2kNDDxDZuPS Content-Type: multipart/alternative; boundary="=-Dp/ee1zsx7zGbAVnq2Za" --=-Dp/ee1zsx7zGbAVnq2Za Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hello, I noticed that the section below has been added in version 1.50 of file libgda/gda-server-provider.c with as comment "bug fixes" .... : GdaServerProviderInfo *info; info =3D gda_server_provider_get_info (provider, cnc); g_print ("=3D=3D> %s (Provider %s on cnx %p)\n", cmd->text, info->provider_name, cnc); This prints the SQL statement to standard output and will be a great debug and/or log tool. However, can we somehow make this feature optional? I would like to be able to switch this off, since I get swamped with SQL messages now. Thanks, Bas. --=-Dp/ee1zsx7zGbAVnq2Za Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello,

I noticed that the section below has been added in version 1.50 of file lib= gda/gda-server-provider.c with as comment "bug fixes" .... :


GdaServerProviderInfo *info;

info =3D gda_server_provider_get_info (provider, cnc);
g_print ("=3D=3D> %s (Provider %s on cnx %p)\n", cmd->t= ext, info->provider_name, cnc);


This prints the SQL statement to standard output and will be a great debug = and/or log tool. However, can we somehow make this feature optional? I woul= d like to be able to switch this off, since I get swamped with SQL messages= now.


Thanks,
Bas.

--=-Dp/ee1zsx7zGbAVnq2Za-- --=-+jIuJX0UJ2kNDDxDZuPS Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) iD8DBQBEfnzYDNTMG7IqcsoRAsDjAJ9AHPwXk+smbdG8j7JEQASjedbLTgCcDKuK 4ksia6ssE3wqqZzBNT1mCT0= =+efd -----END PGP SIGNATURE----- --=-+jIuJX0UJ2kNDDxDZuPS-- From vmalerba@gmail.com Thu Jun 1 03:29:36 2006 Return-Path: X-Original-To: gnome-db-list@gnome.org Delivered-To: gnome-db-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 081AE3B00B7 for ; Thu, 1 Jun 2006 03:29:36 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 12727-02 for ; Thu, 1 Jun 2006 03:29:33 -0400 (EDT) Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.199]) by menubar.gnome.org (Postfix) with ESMTP id E64183B0C47 for ; Thu, 1 Jun 2006 03:29:32 -0400 (EDT) Received: by nz-out-0102.google.com with SMTP id 9so307554nzo for ; Thu, 01 Jun 2006 00:29:32 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=TgZFQ2qr8eOoJSJEF7GsvSSaMr3G37wDDnVG+imBdmvhj93XkrcBHWEYV7mqR/zEduQXSuFLHHB858Ev0Mz59uelyKm3SH0K4dcH8iSvMt820UKv+PNvnAtqTde5PCsWgSINmIvqN9ScL9EMP33SmB4s1haceD99bVbJ/nO2HAQ= Received: by 10.36.247.53 with SMTP id u53mr457043nzh; Thu, 01 Jun 2006 00:29:32 -0700 (PDT) Received: by 10.36.104.9 with HTTP; Thu, 1 Jun 2006 00:29:32 -0700 (PDT) Message-ID: Date: Thu, 1 Jun 2006 09:29:32 +0200 From: "Vivien Malerba" To: bas.driessen@xobas.com Subject: Re: [gnome-db] SQL message output. In-Reply-To: <1149140184.2835.7.camel@ams.xobas.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1149140184.2835.7.camel@ams.xobas.com> X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.447 tagged_above=-999 required=2 tests=[AWL=0.076, BAYES_00=-2.599, SPF_PASS=-0.001, TW_CN=0.077] X-Spam-Score: -2.447 X-Spam-Level: Cc: GNOME-DB List X-BeenThere: gnome-db-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME-DB discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Jun 2006 07:29:36 -0000 On 6/1/06, Bas Driessen wrote: > > Hello, > > I noticed that the section below has been added in version 1.50 of file > libgda/gda-server-provider.c with as comment "bug fixes" .... : > > > GdaServerProviderInfo *info; > > info = gda_server_provider_get_info (provider, cnc); > g_print ("==> %s (Provider %s on cnx %p)\n", cmd->text, > info->provider_name, cnc); > > > This prints the SQL statement to standard output and will be a great debug > and/or log tool. However, can we somehow make this feature optional? I would > like to be able to switch this off, since I get swamped with SQL messages > now. Yes, sorry for the inconvenience. Add #ifdef GDA_DEBUG before that line and a #endif after it. I'll add that myself next time I do a commit. Cheers, Vivien From esodan@gmail.com Mon Jun 5 14:31:20 2006 Return-Path: X-Original-To: gnome-db-list@gnome.org Delivered-To: gnome-db-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 7CC293B09DE for ; Mon, 5 Jun 2006 14:31:20 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 21460-08 for ; Mon, 5 Jun 2006 14:31:18 -0400 (EDT) Received: from wx-out-0102.google.com (wx-out-0102.google.com [66.249.82.204]) by menubar.gnome.org (Postfix) with ESMTP id AC55D3B0954 for ; Mon, 5 Jun 2006 14:31:18 -0400 (EDT) Received: by wx-out-0102.google.com with SMTP id i30so1218302wxd for ; Mon, 05 Jun 2006 11:31:18 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=T3Z02ur/6jhBjHcTuRievbBTcw/pXS+jT+l+67H/S1WRGSKlpM933iCTSU0Jkix8d9cdIPwG77hGyQwMSNSbGsFeIZX+WUWD6k5nwCjnFTdfG/XmOZof12A+D75f+2Z6og8xRuzB7MP73WGTEKZO5o/dRrTnxZFJAgk9YRsrtos= Received: by 10.70.89.19 with SMTP id m19mr6376212wxb; Mon, 05 Jun 2006 11:31:18 -0700 (PDT) Received: by 10.70.75.1 with HTTP; Mon, 5 Jun 2006 11:31:18 -0700 (PDT) Message-ID: <144160610606051131t3e80ce48q453d62172a83d834@mail.gmail.com> Date: Mon, 5 Jun 2006 13:31:18 -0500 From: "Daniel Espinosa" To: gnome-db-list@gnome.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_3349_14190453.1149532278021" X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.564 tagged_above=-999 required=2 tests=[AWL=0.035, BAYES_00=-2.599, HTML_MESSAGE=0.001, SPF_PASS=-0.001] X-Spam-Score: -2.564 X-Spam-Level: Subject: [gnome-db] GValue to String in GLib: Conclusion X-BeenThere: gnome-db-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME-DB discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Jun 2006 18:31:20 -0000 ------=_Part_3349_14190453.1149532278021 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline I don't find that the developers of GLib want to modify the core of the library to include the functions to transform a string to the fundamental types INT, DOUBLE, FLOAT, etc. I don't know if I weren't clear enough to explaint that we don't want "serialization" in GLib, it's just to convert a string to a value not objects. But then, as the following sugestion refer, we can put the code for that functions in GDA. http://mail.gnome.org/archives/gtk-devel-list/2006-May/msg00259.html and http://mail.gnome.org/archives/gtk-devel-list/2006-May/msg00248.html As the last, GStreamer has it's own transformation From/To String for his own types of values. --=20 Trabajar, la mejor arma para tu superaci=F3n "de grano en grano, se hace la arena" (R) (entr=E1mite, pero para los cuate= s: LIBRE) ------=_Part_3349_14190453.1149532278021 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline I don't find that the developers of GLib want to modify the core of the lib= rary to include the functions to transform a string to the fundamental type= s INT, DOUBLE, FLOAT, etc.

I don't know if I weren't clear enough to= explaint that we don't want "serialization" in GLib, it's just t= o convert a string to a value not objects.

But then, as the following sugestion refer, we can put the code for= that functions in GDA.

http://mail.gnome.org/archives/gtk-dev= el-list/2006-May/msg00259.html

and

http://mail.gnome.org/archives/gtk-devel-list= /2006-May/msg00248.html

As the last, GStreamer has it's own tran= sformation From/To String for his own types of values.

--
Trabajar, la mejor arma para tu superaci=F3n"de grano en grano, se hace la arena" (R) (entr=E1mite, pero pa= ra los cuates: LIBRE) ------=_Part_3349_14190453.1149532278021-- From esodan@gmail.com Mon Jun 5 14:33:47 2006 Return-Path: X-Original-To: gnome-db-list@gnome.org Delivered-To: gnome-db-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id C12333B09EF for ; Mon, 5 Jun 2006 14:33:47 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 21602-07 for ; Mon, 5 Jun 2006 14:33:46 -0400 (EDT) Received: from wx-out-0102.google.com (wx-out-0102.google.com [66.249.82.193]) by menubar.gnome.org (Postfix) with ESMTP id 064193B0954 for ; Mon, 5 Jun 2006 14:33:45 -0400 (EDT) Received: by wx-out-0102.google.com with SMTP id i30so1218631wxd for ; Mon, 05 Jun 2006 11:33:45 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=FRKnVW1nlh6D6h/lo6ZRrlTD2OM08KjKujOtNEQEadV3GlNOVFebdPyNPvzIzwEma2neOHXZhT2yIGb0AH1/HVoRNUj3JmwaT5ZrOr+4bwksuhqBwtIuDVAJ0oCwY2mFQFer9lMvi5xnkVmN+1uJfkjb6qbLRDercIbbc7X9vuQ= Received: by 10.70.130.14 with SMTP id c14mr6379321wxd; Mon, 05 Jun 2006 11:33:45 -0700 (PDT) Received: by 10.70.75.1 with HTTP; Mon, 5 Jun 2006 11:33:45 -0700 (PDT) Message-ID: <144160610606051133s65a096b7me0070b8fc95d9581@mail.gmail.com> Date: Mon, 5 Jun 2006 13:33:45 -0500 From: "Daniel Espinosa" To: gnome-db-list@gnome.org In-Reply-To: <144160610606051131t3e80ce48q453d62172a83d834@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_3389_24083357.1149532425173" References: <144160610606051131t3e80ce48q453d62172a83d834@mail.gmail.com> X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.327 tagged_above=-999 required=2 tests=[AWL=-0.224, BAYES_00=-2.599, HTML_40_50=0.496, HTML_MESSAGE=0.001, SPF_PASS=-0.001] X-Spam-Score: -2.327 X-Spam-Level: Subject: [gnome-db] Re: GValue to String in GLib: Conclusion X-BeenThere: gnome-db-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME-DB discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Jun 2006 18:33:47 -0000 ------=_Part_3389_24083357.1149532425173 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Even that I had reopened the bug to Add functions just for the fundamental types. http://bugzilla.gnome.org/show_bug.cgi?id=3D342358 2006/6/5, Daniel Espinosa : > > I don't find that the developers of GLib want to modify the core of the > library to include the functions to transform a string to the fundamental > types INT, DOUBLE, FLOAT, etc. > > I don't know if I weren't clear enough to explaint that we don't want > "serialization" in GLib, it's just to convert a string to a value not > objects. > > But then, as the following sugestion refer, we can put the code for that > functions in GDA. > > http://mail.gnome.org/archives/gtk-devel-list/2006-May/msg00259.html > > and > > http://mail.gnome.org/archives/gtk-devel-list/2006-May/msg00248.html > > As the last, GStreamer has it's own transformation From/To String for his > own types of values. > > -- > Trabajar, la mejor arma para tu superaci=F3n > "de grano en grano, se hace la arena" (R) (entr=E1mite, pero para los > cuates: LIBRE) > --=20 Trabajar, la mejor arma para tu superaci=F3n "de grano en grano, se hace la arena" (R) (entr=E1mite, pero para los cuate= s: LIBRE) ------=_Part_3389_24083357.1149532425173 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Even that I had reopened the bug to Add functions just for the fundamental = types.


http://bugzi= lla.gnome.org/show_bug.cgi?id=3D342358

2006/6/5, Daniel Espinosa <e= sodan@gmail.com >:
<= div>I don't find that the developers of GLib want to modify the core of the= library to include the functions to transform a string to the fundamental = types INT, DOUBLE, FLOAT, etc.

I don't know if I weren't clear enough to explaint that we don't wa= nt "serialization" in GLib, it's just to convert a string to a va= lue not objects.

But then, as the following sugestion refer, we can put the code for= that functions in GDA.

http://mail.gnome.org/archives/gtk-devel-list/2006-May/msg00259.html

and

http://mail.gnome.org/archives/gtk-devel-list= /2006-May/msg00248.html

As the last, GStreamer has it's own transformation From/To Stri= ng for his own types of values.

--
Trabajar, la mej= or arma para tu superaci=F3n
"de grano en grano, se hace la arena&q= uot; (R) (entr=E1mite, pero para los cuates: LIBRE)



--
Trabajar, = la mejor arma para tu superaci=F3n
"de grano en grano, se hace la a= rena" (R) (entr=E1mite, pero para los cuates: LIBRE) ------=_Part_3389_24083357.1149532425173-- From esodan@gmail.com Mon Jun 5 15:23:05 2006 Return-Path: X-Original-To: gnome-db-list@gnome.org Delivered-To: gnome-db-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 255403B04F7 for ; Mon, 5 Jun 2006 15:23:05 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 24814-07 for ; Mon, 5 Jun 2006 15:23:03 -0400 (EDT) Received: from wx-out-0102.google.com (wx-out-0102.google.com [66.249.82.207]) by menubar.gnome.org (Postfix) with ESMTP id 19FEC3B00BE for ; Mon, 5 Jun 2006 15:23:03 -0400 (EDT) Received: by wx-out-0102.google.com with SMTP id i30so1227761wxd for ; Mon, 05 Jun 2006 12:23:02 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=cvsYQffUM0aGgCeS7jB8oJuePQLGdU27XdRa4SXCGY9jSHUFLfSpqkS8RgbEioisz0ssINVAaRqI5RaaN+bYMOLU2RVDDyD2JToV8XsjAXdJ4CsCLmUTSpvcD0M8fPGI0vWGq1Y7GWLyBfFzyqesSv6vCLawTqaiASji2N1wK+o= Received: by 10.70.69.8 with SMTP id r8mr6434300wxa; Mon, 05 Jun 2006 12:22:57 -0700 (PDT) Received: by 10.70.75.1 with HTTP; Mon, 5 Jun 2006 12:22:57 -0700 (PDT) Message-ID: <144160610606051222k6dc2a872ycf0360f26a338718@mail.gmail.com> Date: Mon, 5 Jun 2006 14:22:57 -0500 From: "Daniel Espinosa" To: "Tim Janik" In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_4149_12028470.1149535377779" References: <144160610605190934j3f96d985rf46013b5e1af8198@mail.gmail.com> X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.332 tagged_above=-999 required=2 tests=[AWL=-0.107, BAYES_00=-2.599, HTML_30_40=0.374, HTML_MESSAGE=0.001, SPF_PASS=-0.001] X-Spam-Score: -2.332 X-Spam-Level: Cc: Gtk+ Developers , gnome-db-list@gnome.org Subject: [gnome-db] Re: Transformation functions from G_TYPE_STRING to G_TYPE_any X-BeenThere: gnome-db-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME-DB discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Jun 2006 19:23:05 -0000 ------=_Part_4149_12028470.1149535377779 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Specificaly in GDA could be usefull if the following types has a From Strin= g Function defined in GLib: G_TYPE_BOOLEAN G_TYPE_INT G_TYPE_UINT G_TYPE_INT64 G_TYPE_UINT64 G_TYPE_LONG G_TYPE_ULONG G_TYPE_FLOAT G_TYPE_DOUBLE 2006/5/24, Tim Janik : > > On Fri, 19 May 2006, Daniel Espinosa wrote: > > > I'm working on add functions to GLib to transform a STRING to GLib's > types; > > now only exists a way to transform to a STRING but not from a STRING; t= o > do > > transformations to string are more of a convenience/debugging feature > libgobject offers. > > > so I need to find the value_transform_int_string function (and the > others in > > gvaluetransform.c file) in order to write the functions to transform > from > > STRING some types. > > > > GDA, has some code to transform them, but may is better to have them in > > GLib; unless you consider that is better that library must register his > own > > custom transformation functions. > > > > I had filed a bug in: > > > > http://bugzilla.gnome.org/show_bug.cgi?id=3D342358 > > i don't think having these in glib makes much sense, as outlined in: > http://mail.gnome.org/archives/gtk-devel-list/2006-May/msg00258.html > reflected in the bug report. > > --- > ciaoTJ > --=20 Trabajar, la mejor arma para tu superaci=F3n "de grano en grano, se hace la arena" (R) (entr=E1mite, pero para los cuate= s: LIBRE) ------=_Part_4149_12028470.1149535377779 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Specificaly in GDA could be usefull if the following types has a From Strin= g Function defined in GLib:

G_TYPE_BOOLEAN
G_TYPE_INT
G_TYPE_U= INT
G_TYPE_INT64
G_TYPE_UINT64
G_TYPE_LONG
G_TYPE_ULONG
G_TY= PE_FLOAT
G_TYPE_DOUBLE


2006/5/24, Ti= m Janik <timj@imendio.com>:
On Fri, 19 May 2006, Daniel Espinosa wrote:

> I'm working on add = functions to GLib to transform a STRING to GLib's types;
> now only e= xists a way to transform to a STRING but not from a STRING; to do

transformations to string are more of a convenience/debugging feature
li= bgobject offers.

> so I need to find the value_transform_int_stri= ng function (and the others in
> gvaluetransform.c file) in order to = write the functions to transform from
> STRING some types.
>
> GDA, has some code to transform= them, but may is better to have them in
> GLib; unless you consider = that is better that library must register his own
> custom transforma= tion functions.
>
> I had filed a bug in:
>
> http://bugzilla.gnome.org/show_b= ug.cgi?id=3D342358

i don't think having these in glib makes much= sense, as outlined in:
   http://mail.gnome.org/archives/gtk-devel-list/2006-M= ay/msg00258.html
reflected in the bug report.

---
ciaoTJ



--
Trabajar, la mejor arma para tu supe= raci=F3n
"de grano en grano, se hace la arena" (R) (entr=E1mit= e, pero para los cuates: LIBRE) ------=_Part_4149_12028470.1149535377779-- From vmalerba@gmail.com Tue Jun 6 04:56:16 2006 Return-Path: X-Original-To: gnome-db-list@gnome.org Delivered-To: gnome-db-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 214AF3B010E for ; Tue, 6 Jun 2006 04:56:16 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 25725-07 for ; Tue, 6 Jun 2006 04:56:11 -0400 (EDT) Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.193]) by menubar.gnome.org (Postfix) with ESMTP id 649633B0BAF for ; Tue, 6 Jun 2006 04:55:52 -0400 (EDT) Received: by nz-out-0102.google.com with SMTP id 9so2290479nzo for ; Tue, 06 Jun 2006 01:55:51 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=fgm2JCvC3MNZPTpAC1O/9bSndNSlzWvXYuvy6jf37M6ie69ZzHh/qFB3KPMATxYjgjj7TUizZXDxeYZKqzjNg2aCVhsl4yYTILzbROVcbsh81p53vELEdqkfCDqGOQwv7RVIW6ZqCl6pWbicse8Qkg7bCiJSfID/AVOdWD+qZ+4= Received: by 10.36.39.9 with SMTP id m9mr224276nzm; Tue, 06 Jun 2006 01:55:51 -0700 (PDT) Received: by 10.36.55.1 with HTTP; Tue, 6 Jun 2006 01:55:51 -0700 (PDT) Message-ID: Date: Tue, 6 Jun 2006 10:55:51 +0200 From: "Vivien Malerba" To: "Daniel Espinosa" Subject: Re: [gnome-db] GValue to String in GLib: Conclusion In-Reply-To: <144160610606051131t3e80ce48q453d62172a83d834@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <144160610606051131t3e80ce48q453d62172a83d834@mail.gmail.com> X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.487 tagged_above=-999 required=2 tests=[AWL=0.113, BAYES_00=-2.599, SPF_PASS=-0.001] X-Spam-Score: -2.487 X-Spam-Level: Cc: gnome-db-list@gnome.org X-BeenThere: gnome-db-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME-DB discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jun 2006 08:56:17 -0000 On 6/5/06, Daniel Espinosa wrote: > I don't find that the developers of GLib want to modify the core of the > library to include the functions to transform a string to the fundamental > types INT, DOUBLE, FLOAT, etc. > > I don't know if I weren't clear enough to explaint that we don't want > "serialization" in GLib, it's just to convert a string to a value not > objects. > > But then, as the following sugestion refer, we can put the code for that > functions in GDA. > > http://mail.gnome.org/archives/gtk-devel-list/2006-May/msg00259.html > > and > > http://mail.gnome.org/archives/gtk-devel-list/2006-May/msg00248.html > > As the last, GStreamer has it's own transformation From/To String for his > own types of values. Right, let's then keep that code in libgda, as GStreamer does... Thanks, Vivien From esodan@gmail.com Wed Jun 7 18:57:19 2006 Return-Path: X-Original-To: gnome-db-list@gnome.org Delivered-To: gnome-db-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id D7D443B0E71 for ; Wed, 7 Jun 2006 18:57:19 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 20852-09 for ; Wed, 7 Jun 2006 18:57:18 -0400 (EDT) Received: from wx-out-0102.google.com (wx-out-0102.google.com [66.249.82.192]) by menubar.gnome.org (Postfix) with ESMTP id 103173B04FF for ; Wed, 7 Jun 2006 18:57:17 -0400 (EDT) Received: by wx-out-0102.google.com with SMTP id i30so304349wxd for ; Wed, 07 Jun 2006 15:57:17 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=brOyTpnAXnWzgkamxyikE9cOQ90NF4F0BvGq1xzQtGPHZ0+SJ3y68cS2sQKIx60C2DcUvhwXAlWWDN+yFc04K05T/Fu+Im8upts9XHh0/eA4jTURyfnyZcxY3HP//u48WrVjncPVazRB2iv6hQqPAP/e5fD1lMAc5Vz78gA1Ouo= Received: by 10.70.44.16 with SMTP id r16mr1306941wxr; Wed, 07 Jun 2006 15:57:17 -0700 (PDT) Received: by 10.70.75.1 with HTTP; Wed, 7 Jun 2006 15:57:17 -0700 (PDT) Message-ID: <144160610606071557l71e0c1b0k7ecc8d1a489201b2@mail.gmail.com> Date: Wed, 7 Jun 2006 17:57:17 -0500 From: "Daniel Espinosa" To: gnome-db-list@gnome.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_5916_6433013.1149721037318" X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.353 tagged_above=-999 required=2 tests=[AWL=0.246, BAYES_00=-2.599, HTML_MESSAGE=0.001, SPF_PASS=-0.001] X-Spam-Score: -2.353 X-Spam-Level: Subject: [gnome-db] GValue from string: CVS - Observation and Proposal X-BeenThere: gnome-db-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME-DB discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jun 2006 22:57:20 -0000 ------=_Part_5916_6433013.1149721037318 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline There are a problem with the implementation, I think, know if you want to transform a value from a string you'll need to use gda_value_set_from_strin= g and that's correct, but: What happen if I want to use the GValue API to transform that value (a string) to other; may be could be more clear to register the transformation functions (the code already exist in the function set_from_string). Then the programer can use a code where he don't need to take care about th= e type of the value he transforms from. if ( g_value_transformable (G_VALUE_TYPE(source), G_VALUE_TYPE(destination)= ) { g_value_transform( source, destination ); UseTheValue(destination); // This function coulde take care about how to use the type of the value passed as argument } else Error(); In the case of use the actual API you allways need to know that the actual value is a string: if ( G_VALUE_TYPE(source) =3D=3D G_TYPE_STRING ) { gda_value_set_from_string( destination, g_value_get_string( source ), G_TYPE_INT); UseTheValue(destination); } else { if ( g_value_transformable (G_VALUE_TYPE(source), G_VALUE_TYPE(destination)) { g_value_transform( source, destination ); UseTheValue(destination); // This function coulde take care about how to use the type of the value passed as argument } else Error(); } --=20 Trabajar, la mejor arma para tu superaci=F3n "de grano en grano, se hace la arena" (R) (entr=E1mite, pero para los cuate= s: LIBRE) ------=_Part_5916_6433013.1149721037318 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline There are a problem with the implementation, I think, know if you want to t= ransform a value from a string you'll need to use gda_value_set_from_string= and that's correct, but:

What happen if I want to use the GValue AP= I to transform that value (a string) to other; may be could be more clear t= o register the transformation functions (the code already exist in the func= tion set_from_string).

Then the programer can use a code where he don't need to take care = about the type of the value he transforms from.

if ( g_value_transfo= rmable (G_VALUE_TYPE(source), G_VALUE_TYPE(destination)) {

 &nb= sp;    g_value_transform( source, destination );

     UseTheValue(destination); // This function= coulde take care about how to use the type of the value passed as argument=
}
else Error();



In the case of use the actual API you= allways need to know that the actual value is a string:

if ( G_VALUE_TYPE(source) =3D=3D G_TYPE_STRING ) {

 &nb= sp;    gda_value_set_from_string( destination, g_value_get_s= tring( source ), G_TYPE_INT);

    =   UseTheValue(destination);
}
else {
   if ( g_valu= e_transformable (G_VALUE_TYPE(source), G_VALUE_TYPE(destination)) {

        g_value_transform( source, desti= nation );

        UseTheValue(destination); // Thi= s function coulde take care about how to use the type of the value passed a= s argument
   }
   else Error();
}


--
Trabajar, la mejor arma para tu superaci=F3n
"de gra= no en grano, se hace la arena" (R) (entr=E1mite, pero para los cuates:= LIBRE) ------=_Part_5916_6433013.1149721037318-- From esodan@gmail.com Thu Jun 8 14:13:35 2006 Return-Path: X-Original-To: gnome-db-list@gnome.org Delivered-To: gnome-db-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 963EE3B0FBA for ; Thu, 8 Jun 2006 14:13:35 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 27351-02 for ; Thu, 8 Jun 2006 14:13:34 -0400 (EDT) Received: from wx-out-0102.google.com (wx-out-0102.google.com [66.249.82.194]) by menubar.gnome.org (Postfix) with ESMTP id 09CA63B0F8B for ; Thu, 8 Jun 2006 14:13:33 -0400 (EDT) Received: by wx-out-0102.google.com with SMTP id i30so458759wxd for ; Thu, 08 Jun 2006 11:13:33 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=T/BrbOB7J0oZnie8C96Lb1ngQtKuKNhyCTM6y8G65WlbrmJ7Fw3EEUcQRibflyHuqgz5bxD0Bbr2Ov+qmgAKZA3A1lL7Rjzfe3cEwLN9QGHknXZBoQvdEmjQq/HOa1UylrcBb6b+vGzF+McbQPSuZzWnTN60rRbbbIxnqAeYOR0= Received: by 10.70.73.4 with SMTP id v4mr2394363wxa; Thu, 08 Jun 2006 11:13:32 -0700 (PDT) Received: by 10.70.75.1 with HTTP; Thu, 8 Jun 2006 11:13:32 -0700 (PDT) Message-ID: <144160610606081113s67997fa5v62842bebf653376a@mail.gmail.com> Date: Thu, 8 Jun 2006 13:13:32 -0500 From: "Daniel Espinosa" To: "F Wolff" In-Reply-To: <1149747620.4485.25.camel@localhost.localdomain> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_5765_15259675.1149790412225" References: <20060605020856.6a722cb9@localhost.localdomain> <1149604559.9167.99.camel@localhost.localdomain> <20060608001728.22f6fa64@localhost.localdomain> <1149747620.4485.25.camel@localhost.localdomain> X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.388 tagged_above=-999 required=2 tests=[AWL=0.211, BAYES_00=-2.599, HTML_MESSAGE=0.001, SPF_PASS=-0.001] X-Spam-Score: -2.388 X-Spam-Level: Cc: translate-pootle@lists.sourceforge.net, gnome-db-list@gnome.org, translate-devel@lists.sourceforge.net Subject: [gnome-db] Re: [translate-pootle] Wordforge X-BeenThere: gnome-db-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME-DB discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jun 2006 18:13:35 -0000 ------=_Part_5765_15259675.1149790412225 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline > > As for specific technology - jToolkit (that we already use) has support > for many databases so we'll probably use that functionality so that we > don't become tied to any specific one. May is better to use the python binding of libgda; it supports may database= s backends and is a GNU implementation (now in development and hope to reach soon version 2.0 with much improviments in the arquitecture and features). --=20 Trabajar, la mejor arma para tu superaci=F3n "de grano en grano, se hace la arena" (R) (entr=E1mite, pero para los cuate= s: LIBRE) ------=_Part_5765_15259675.1149790412225 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline
As for speci= fic technology - jToolkit (that we already use) has support
for many dat= abases so we'll probably use that functionality so that we
don't become tied to any specific one.

May is better to use the python binding of libgda; it supports may databas= es backends and is a GNU implementation (now in development and hope to rea= ch soon version=20 2.0 with much improviments in the arquitecture and features).

--
Trabajar, la mejor arma para tu superaci=F3n
"de gra= no en grano, se hace la arena" (R) (entr=E1mite, pero para los cuates:= LIBRE) ------=_Part_5765_15259675.1149790412225-- From esodan@gmail.com Wed Jun 21 12:46:59 2006 Return-Path: X-Original-To: gnome-db-list@gnome.org Delivered-To: gnome-db-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 91F243B1040 for ; Wed, 21 Jun 2006 12:46:59 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 22248-01 for ; Wed, 21 Jun 2006 12:46:56 -0400 (EDT) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.235]) by menubar.gnome.org (Postfix) with ESMTP id 297953B0F7D for ; Wed, 21 Jun 2006 12:46:56 -0400 (EDT) Received: by wr-out-0506.google.com with SMTP id 37so203484wra for ; Wed, 21 Jun 2006 09:46:55 -0700 (PDT) Received: by 10.54.65.13 with SMTP id n13mr2155517wra; Wed, 21 Jun 2006 09:46:55 -0700 (PDT) Received: by 10.70.75.5 with HTTP; Wed, 21 Jun 2006 09:46:55 -0700 (PDT) Message-ID: <144160610606210946p3cfdf8dar333dbdf8e6ba56f1@mail.gmail.com> Date: Wed, 21 Jun 2006 11:46:55 -0500 From: "Daniel Espinosa" To: "Tristan Van Berkom" In-Reply-To: <44972A48.6040509@gnome.org> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_79684_28669631.1150908415267" References: <44972A48.6040509@gnome.org> X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.075 tagged_above=-999 required=2 tests=[AWL=0.028, BAYES_00=-2.599, HTML_40_50=0.496, HTML_MESSAGE=0.001, SPF_PASS=-0.001] X-Spam-Score: -2.075 X-Spam-Level: Cc: gnome-db-list@gnome.org, Glade Devel Mailing List Subject: Re: [gnome-db] [Glade-devel] Glade-3 going into feature freeze X-BeenThere: gnome-db-list@gnome.org X-Mailman-Version: 2.1.8 Precedence: list List-Id: GNOME-DB discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Jun 2006 16:46:59 -0000 ------=_Part_79684_28669631.1150908415267 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline 2006/6/19, Tristan Van Berkom : > > Hi all, > I am proud to announce that we are nearing the long awaited > initial release of glade-3 ! > > As we are a little excited and ahead of ourselves... it is nescisary to > draw the line on what features are to make it into the initial 3.0release= . > If anyone has noticed anything in recent glade-3 cvs that is missing and > is > not on the TODO list (inline below)... please speak up and let us know :) > > Cheers, > -Tristan > > This is the current list of blockers for 3.0: > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > o Toolbar editor / Popup menu editor (toolbar support now in... needs > editor) > o Unify multiple property changes & dont unify default settings (bug > 315600) > o Properties/undo stack glitches (bug 316900) > o Gnome stock items not recognized by glade-3 (bug 343712) > o Should indicate read-only projects (bug 337957) > o Implement GnomeDB widget catalog. Any tutorial on how to archive the widgets for GnomeDB? GnomeDB is reaching the final 2.0 almost a few time, then I want to work in the new set of widgets. o DevHelp gets spawned with version 0.11 (bug 344043) > o Add/Remove parent container via context menu feature (bug 343786) > o Implement "finish" signal on GladeProject (bug 345353) > > _______________________________________________ > Glade-devel maillist - Glade-devel@lists.ximian.com > http://lists.ximian.com/mailman/listinfo/glade-devel > --=20 Trabajar, la mejor arma para tu superaci=F3n "de grano en grano, se hace la arena" (R) (entr=E1mite, pero para los cuate= s: LIBRE) ------=_Part_79684_28669631.1150908415267 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline

2006/6/19, Tristan Van Berkom <= tristan.van.berkom@gmail.co= m>:
Hi all,
    I am proud to announce that we are neari= ng the long awaited
initial release of glade-3 !

As we are a litt= le excited and ahead of ourselves... it is nescisary to
draw the line on= what features are to make it into the initial=20 3.0 release.
If anyone has noticed anything in recent glade-3 cvs that i= s missing and is
not on the TODO list (inline below)... please speak up = and let us know :)

Cheers,
      &n= bsp;            = ;            &n= bsp;  -Tristan

This is the current list of blockers for 3.0:
=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
o Toolbar editor= / Popup menu editor (toolbar support now in... needs
editor)
o Unif= y multiple property changes & dont unify default settings (bug
315600)
o Properties/undo stack glitches (bug 316900)
o Gnome s= tock items not recognized by glade-3 (bug 343712)
o Should indicate rea= d-only projects (bug 337957)
o Implement GnomeDB widget catalog.

 Any tutoria= l on how to archive the widgets for GnomeDB?
GnomeDB is reaching the fin= al 2.0 almost a few time, then I want to work in the new set of widgets.

o DevH= elp gets spawned with version 0.11 (bug 344043)
o Add/Remove parent con= tainer via context menu feature (bug 343786)
o Implement "finish" signal on GladeProject (bug 345353)
=
_______________________________________________
Glade-devel maillist=   -  Gl= ade-devel@lists.ximian.com
ht= tp://lists.ximian.com/mailman/listinfo/glade-devel



--
Trabajar, la mejor arma para tu superaci= =F3n
"de grano en grano, se hace la arena" (R) (entr=E1mite, pero = para los cuates: LIBRE) ------=_Part_79684_28669631.1150908415267-- From tvb@gnome.org Wed Jun 21 13:06:59 2006 Return-Path: X-Original-To: gnome-db-list@gnome.org Delivered-To: gnome-db-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 632323B01C1 for ; Wed, 21 Jun 2006 13:06:59 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 23710-05 for ; Wed, 21 Jun 2006 13:06:56 -0400 (EDT) Received: from mail.touchtunes.com (mail.touchtunes.com [207.96.182.162]) by menubar.gnome.org (Postfix) with ESMTP id D5FA43B00CC for ; Wed, 21 Jun 2006 13:06:55 -0400 (EDT) Received: from [192.168.0.138] (unknown [192.168.0.138]) by mail.touchtunes.com (Postfix) with ESMTP id 82FBD15AD2; Wed, 21 Jun 2006 13:06:50 -0400 (EDT) Message-ID: <44997EFA.7030204@gnome.org> Date: Wed, 21 Jun 2006 13:16:42 -0400 From: Tristan Van Berkom User-Agent: Mozilla Thunderbird 0.8 (X11/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Daniel Espinosa References: <44972A48.6040509@gnome.org> <144160610606210946p3cfdf8dar333dbdf8e6ba56f1@mail.gmail.com> In-Reply-To: <144160610606210946p3cfdf8dar333dbdf8e6ba56f1@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.555 tagged_above=-999 required=2 tests=[AWL=0.045, BAYES_00=-2.599, SPF_HELO_PASS=-0.001] X-Spam-Score: -2.555 X-Spam-Level: X-Mailman-Approved-At: Wed, 21 Jun 2006 14:52:13 -0400 Cc: gnome-db-list@gnome.org, Tristan Van Berkom , Glade Devel Mailing List Subject: Re: [gnome-db] [Glade-devel] Glade-3 going into feature freeze X-BeenThere: gnome-db-list@gnome.org X-Mailman-Version: 2.1.8 Precedence: list List-Id: GNOME-DB discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Jun 2006 17:06:59 -0000 Daniel Espinosa wrote: [...] > o Implement GnomeDB widget catalog. > > > Any tutorial on how to archive the widgets for GnomeDB? > GnomeDB is reaching the final 2.0 almost a few time, then I want to work in > the new set of widgets. I wonder what you mean by "archive"... there is documentation on integrating widgets into glade3 ... which is what I think you want :) It is installed by the glade-3 tarball... and I am keeping an online copy up-to-date here: http://gnome.org/~tvb/glade_api/ For the moment... we would like to whip up a catalog that supports gnomedb widgets that are currently released. But its probably a good idea to drop the gnomeui catalog and gnomedb catalog from the glade3 package in the long run... and add those packages to gnomedb and gnomeui respectively... let me know what you think :) Cheers, -Tristan From bas.driessen@xobas.com Thu Jun 1 01:36:38 2006 Return-Path: X-Original-To: gnome-db-list@gnome.org Delivered-To: gnome-db-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 910423B00BB for ; Thu, 1 Jun 2006 01:36:38 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 07708-10 for ; Thu, 1 Jun 2006 01:36:35 -0400 (EDT) Received: from syd.xobas.net (unknown [209.135.140.233]) by menubar.gnome.org (Postfix) with ESMTP id 5C44E3B00B7 for ; Thu, 1 Jun 2006 01:36:35 -0400 (EDT) Received: from ams.xobas.com (203-206-43-80.dyn.iinet.net.au [203.206.43.80]) (authenticated bits=0) by syd.xobas.net (8.13.6/8.13.6) with ESMTP id k515abSZ020954 for ; Thu, 1 Jun 2006 15:36:44 +1000 From: Bas Driessen To: GNOME-DB List Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-+jIuJX0UJ2kNDDxDZuPS" Organization: Xobas Software Date: Thu, 01 Jun 2006 15:36:24 +1000 Message-Id: <1149140184.2835.7.camel@ams.xobas.com> Mime-Version: 1.0 X-Mailer: Evolution 2.6.1 (2.6.1-1.fc5.2) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-1.969 tagged_above=-999 required=2 tests=[AWL=0.044, BAYES_00=-2.599, FORGED_RCVD_HELO=0.135, HTML_30_40=0.374, HTML_MESSAGE=0.001, SPF_PASS=-0.001, TW_CN=0.077] X-Spam-Score: -1.969 X-Spam-Level: Subject: [gnome-db] SQL message output. X-BeenThere: gnome-db-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: bas.driessen@xobas.com List-Id: GNOME-DB discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Jun 2006 05:36:38 -0000 --=-+jIuJX0UJ2kNDDxDZuPS Content-Type: multipart/alternative; boundary="=-Dp/ee1zsx7zGbAVnq2Za" --=-Dp/ee1zsx7zGbAVnq2Za Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hello, I noticed that the section below has been added in version 1.50 of file libgda/gda-server-provider.c with as comment "bug fixes" .... : GdaServerProviderInfo *info; info =3D gda_server_provider_get_info (provider, cnc); g_print ("=3D=3D> %s (Provider %s on cnx %p)\n", cmd->text, info->provider_name, cnc); This prints the SQL statement to standard output and will be a great debug and/or log tool. However, can we somehow make this feature optional? I would like to be able to switch this off, since I get swamped with SQL messages now. Thanks, Bas. --=-Dp/ee1zsx7zGbAVnq2Za Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello,

I noticed that the section below has been added in version 1.50 of file lib= gda/gda-server-provider.c with as comment "bug fixes" .... :


GdaServerProviderInfo *info;

info =3D gda_server_provider_get_info (provider, cnc);
g_print ("=3D=3D> %s (Provider %s on cnx %p)\n", cmd->t= ext, info->provider_name, cnc);


This prints the SQL statement to standard output and will be a great debug = and/or log tool. However, can we somehow make this feature optional? I woul= d like to be able to switch this off, since I get swamped with SQL messages= now.


Thanks,
Bas.

--=-Dp/ee1zsx7zGbAVnq2Za-- --=-+jIuJX0UJ2kNDDxDZuPS Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) iD8DBQBEfnzYDNTMG7IqcsoRAsDjAJ9AHPwXk+smbdG8j7JEQASjedbLTgCcDKuK 4ksia6ssE3wqqZzBNT1mCT0= =+efd -----END PGP SIGNATURE----- --=-+jIuJX0UJ2kNDDxDZuPS-- From vmalerba@gmail.com Thu Jun 1 03:29:36 2006 Return-Path: X-Original-To: gnome-db-list@gnome.org Delivered-To: gnome-db-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 081AE3B00B7 for ; Thu, 1 Jun 2006 03:29:36 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 12727-02 for ; Thu, 1 Jun 2006 03:29:33 -0400 (EDT) Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.199]) by menubar.gnome.org (Postfix) with ESMTP id E64183B0C47 for ; Thu, 1 Jun 2006 03:29:32 -0400 (EDT) Received: by nz-out-0102.google.com with SMTP id 9so307554nzo for ; Thu, 01 Jun 2006 00:29:32 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=TgZFQ2qr8eOoJSJEF7GsvSSaMr3G37wDDnVG+imBdmvhj93XkrcBHWEYV7mqR/zEduQXSuFLHHB858Ev0Mz59uelyKm3SH0K4dcH8iSvMt820UKv+PNvnAtqTde5PCsWgSINmIvqN9ScL9EMP33SmB4s1haceD99bVbJ/nO2HAQ= Received: by 10.36.247.53 with SMTP id u53mr457043nzh; Thu, 01 Jun 2006 00:29:32 -0700 (PDT) Received: by 10.36.104.9 with HTTP; Thu, 1 Jun 2006 00:29:32 -0700 (PDT) Message-ID: Date: Thu, 1 Jun 2006 09:29:32 +0200 From: "Vivien Malerba" To: bas.driessen@xobas.com Subject: Re: [gnome-db] SQL message output. In-Reply-To: <1149140184.2835.7.camel@ams.xobas.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1149140184.2835.7.camel@ams.xobas.com> X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.447 tagged_above=-999 required=2 tests=[AWL=0.076, BAYES_00=-2.599, SPF_PASS=-0.001, TW_CN=0.077] X-Spam-Score: -2.447 X-Spam-Level: Cc: GNOME-DB List X-BeenThere: gnome-db-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME-DB discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Jun 2006 07:29:36 -0000 On 6/1/06, Bas Driessen wrote: > > Hello, > > I noticed that the section below has been added in version 1.50 of file > libgda/gda-server-provider.c with as comment "bug fixes" .... : > > > GdaServerProviderInfo *info; > > info = gda_server_provider_get_info (provider, cnc); > g_print ("==> %s (Provider %s on cnx %p)\n", cmd->text, > info->provider_name, cnc); > > > This prints the SQL statement to standard output and will be a great debug > and/or log tool. However, can we somehow make this feature optional? I would > like to be able to switch this off, since I get swamped with SQL messages > now. Yes, sorry for the inconvenience. Add #ifdef GDA_DEBUG before that line and a #endif after it. I'll add that myself next time I do a commit. Cheers, Vivien From esodan@gmail.com Mon Jun 5 14:31:20 2006 Return-Path: X-Original-To: gnome-db-list@gnome.org Delivered-To: gnome-db-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 7CC293B09DE for ; Mon, 5 Jun 2006 14:31:20 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 21460-08 for ; Mon, 5 Jun 2006 14:31:18 -0400 (EDT) Received: from wx-out-0102.google.com (wx-out-0102.google.com [66.249.82.204]) by menubar.gnome.org (Postfix) with ESMTP id AC55D3B0954 for ; Mon, 5 Jun 2006 14:31:18 -0400 (EDT) Received: by wx-out-0102.google.com with SMTP id i30so1218302wxd for ; Mon, 05 Jun 2006 11:31:18 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=T3Z02ur/6jhBjHcTuRievbBTcw/pXS+jT+l+67H/S1WRGSKlpM933iCTSU0Jkix8d9cdIPwG77hGyQwMSNSbGsFeIZX+WUWD6k5nwCjnFTdfG/XmOZof12A+D75f+2Z6og8xRuzB7MP73WGTEKZO5o/dRrTnxZFJAgk9YRsrtos= Received: by 10.70.89.19 with SMTP id m19mr6376212wxb; Mon, 05 Jun 2006 11:31:18 -0700 (PDT) Received: by 10.70.75.1 with HTTP; Mon, 5 Jun 2006 11:31:18 -0700 (PDT) Message-ID: <144160610606051131t3e80ce48q453d62172a83d834@mail.gmail.com> Date: Mon, 5 Jun 2006 13:31:18 -0500 From: "Daniel Espinosa" To: gnome-db-list@gnome.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_3349_14190453.1149532278021" X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.564 tagged_above=-999 required=2 tests=[AWL=0.035, BAYES_00=-2.599, HTML_MESSAGE=0.001, SPF_PASS=-0.001] X-Spam-Score: -2.564 X-Spam-Level: Subject: [gnome-db] GValue to String in GLib: Conclusion X-BeenThere: gnome-db-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME-DB discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Jun 2006 18:31:20 -0000 ------=_Part_3349_14190453.1149532278021 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline I don't find that the developers of GLib want to modify the core of the library to include the functions to transform a string to the fundamental types INT, DOUBLE, FLOAT, etc. I don't know if I weren't clear enough to explaint that we don't want "serialization" in GLib, it's just to convert a string to a value not objects. But then, as the following sugestion refer, we can put the code for that functions in GDA. http://mail.gnome.org/archives/gtk-devel-list/2006-May/msg00259.html and http://mail.gnome.org/archives/gtk-devel-list/2006-May/msg00248.html As the last, GStreamer has it's own transformation From/To String for his own types of values. --=20 Trabajar, la mejor arma para tu superaci=F3n "de grano en grano, se hace la arena" (R) (entr=E1mite, pero para los cuate= s: LIBRE) ------=_Part_3349_14190453.1149532278021 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline I don't find that the developers of GLib want to modify the core of the lib= rary to include the functions to transform a string to the fundamental type= s INT, DOUBLE, FLOAT, etc.

I don't know if I weren't clear enough to= explaint that we don't want "serialization" in GLib, it's just t= o convert a string to a value not objects.

But then, as the following sugestion refer, we can put the code for= that functions in GDA.

http://mail.gnome.org/archives/gtk-dev= el-list/2006-May/msg00259.html

and

http://mail.gnome.org/archives/gtk-devel-list= /2006-May/msg00248.html

As the last, GStreamer has it's own tran= sformation From/To String for his own types of values.

--
Trabajar, la mejor arma para tu superaci=F3n"de grano en grano, se hace la arena" (R) (entr=E1mite, pero pa= ra los cuates: LIBRE) ------=_Part_3349_14190453.1149532278021-- From esodan@gmail.com Mon Jun 5 14:33:47 2006 Return-Path: X-Original-To: gnome-db-list@gnome.org Delivered-To: gnome-db-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id C12333B09EF for ; Mon, 5 Jun 2006 14:33:47 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 21602-07 for ; Mon, 5 Jun 2006 14:33:46 -0400 (EDT) Received: from wx-out-0102.google.com (wx-out-0102.google.com [66.249.82.193]) by menubar.gnome.org (Postfix) with ESMTP id 064193B0954 for ; Mon, 5 Jun 2006 14:33:45 -0400 (EDT) Received: by wx-out-0102.google.com with SMTP id i30so1218631wxd for ; Mon, 05 Jun 2006 11:33:45 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=FRKnVW1nlh6D6h/lo6ZRrlTD2OM08KjKujOtNEQEadV3GlNOVFebdPyNPvzIzwEma2neOHXZhT2yIGb0AH1/HVoRNUj3JmwaT5ZrOr+4bwksuhqBwtIuDVAJ0oCwY2mFQFer9lMvi5xnkVmN+1uJfkjb6qbLRDercIbbc7X9vuQ= Received: by 10.70.130.14 with SMTP id c14mr6379321wxd; Mon, 05 Jun 2006 11:33:45 -0700 (PDT) Received: by 10.70.75.1 with HTTP; Mon, 5 Jun 2006 11:33:45 -0700 (PDT) Message-ID: <144160610606051133s65a096b7me0070b8fc95d9581@mail.gmail.com> Date: Mon, 5 Jun 2006 13:33:45 -0500 From: "Daniel Espinosa" To: gnome-db-list@gnome.org In-Reply-To: <144160610606051131t3e80ce48q453d62172a83d834@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_3389_24083357.1149532425173" References: <144160610606051131t3e80ce48q453d62172a83d834@mail.gmail.com> X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.327 tagged_above=-999 required=2 tests=[AWL=-0.224, BAYES_00=-2.599, HTML_40_50=0.496, HTML_MESSAGE=0.001, SPF_PASS=-0.001] X-Spam-Score: -2.327 X-Spam-Level: Subject: [gnome-db] Re: GValue to String in GLib: Conclusion X-BeenThere: gnome-db-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME-DB discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Jun 2006 18:33:47 -0000 ------=_Part_3389_24083357.1149532425173 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Even that I had reopened the bug to Add functions just for the fundamental types. http://bugzilla.gnome.org/show_bug.cgi?id=3D342358 2006/6/5, Daniel Espinosa : > > I don't find that the developers of GLib want to modify the core of the > library to include the functions to transform a string to the fundamental > types INT, DOUBLE, FLOAT, etc. > > I don't know if I weren't clear enough to explaint that we don't want > "serialization" in GLib, it's just to convert a string to a value not > objects. > > But then, as the following sugestion refer, we can put the code for that > functions in GDA. > > http://mail.gnome.org/archives/gtk-devel-list/2006-May/msg00259.html > > and > > http://mail.gnome.org/archives/gtk-devel-list/2006-May/msg00248.html > > As the last, GStreamer has it's own transformation From/To String for his > own types of values. > > -- > Trabajar, la mejor arma para tu superaci=F3n > "de grano en grano, se hace la arena" (R) (entr=E1mite, pero para los > cuates: LIBRE) > --=20 Trabajar, la mejor arma para tu superaci=F3n "de grano en grano, se hace la arena" (R) (entr=E1mite, pero para los cuate= s: LIBRE) ------=_Part_3389_24083357.1149532425173 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Even that I had reopened the bug to Add functions just for the fundamental = types.


http://bugzi= lla.gnome.org/show_bug.cgi?id=3D342358

2006/6/5, Daniel Espinosa <e= sodan@gmail.com >:
<= div>I don't find that the developers of GLib want to modify the core of the= library to include the functions to transform a string to the fundamental = types INT, DOUBLE, FLOAT, etc.

I don't know if I weren't clear enough to explaint that we don't wa= nt "serialization" in GLib, it's just to convert a string to a va= lue not objects.

But then, as the following sugestion refer, we can put the code for= that functions in GDA.

http://mail.gnome.org/archives/gtk-devel-list/2006-May/msg00259.html

and

http://mail.gnome.org/archives/gtk-devel-list= /2006-May/msg00248.html

As the last, GStreamer has it's own transformation From/To Stri= ng for his own types of values.

--
Trabajar, la mej= or arma para tu superaci=F3n
"de grano en grano, se hace la arena&q= uot; (R) (entr=E1mite, pero para los cuates: LIBRE)



--
Trabajar, = la mejor arma para tu superaci=F3n
"de grano en grano, se hace la a= rena" (R) (entr=E1mite, pero para los cuates: LIBRE) ------=_Part_3389_24083357.1149532425173-- From esodan@gmail.com Mon Jun 5 15:23:05 2006 Return-Path: X-Original-To: gnome-db-list@gnome.org Delivered-To: gnome-db-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 255403B04F7 for ; Mon, 5 Jun 2006 15:23:05 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 24814-07 for ; Mon, 5 Jun 2006 15:23:03 -0400 (EDT) Received: from wx-out-0102.google.com (wx-out-0102.google.com [66.249.82.207]) by menubar.gnome.org (Postfix) with ESMTP id 19FEC3B00BE for ; Mon, 5 Jun 2006 15:23:03 -0400 (EDT) Received: by wx-out-0102.google.com with SMTP id i30so1227761wxd for ; Mon, 05 Jun 2006 12:23:02 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=cvsYQffUM0aGgCeS7jB8oJuePQLGdU27XdRa4SXCGY9jSHUFLfSpqkS8RgbEioisz0ssINVAaRqI5RaaN+bYMOLU2RVDDyD2JToV8XsjAXdJ4CsCLmUTSpvcD0M8fPGI0vWGq1Y7GWLyBfFzyqesSv6vCLawTqaiASji2N1wK+o= Received: by 10.70.69.8 with SMTP id r8mr6434300wxa; Mon, 05 Jun 2006 12:22:57 -0700 (PDT) Received: by 10.70.75.1 with HTTP; Mon, 5 Jun 2006 12:22:57 -0700 (PDT) Message-ID: <144160610606051222k6dc2a872ycf0360f26a338718@mail.gmail.com> Date: Mon, 5 Jun 2006 14:22:57 -0500 From: "Daniel Espinosa" To: "Tim Janik" In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_4149_12028470.1149535377779" References: <144160610605190934j3f96d985rf46013b5e1af8198@mail.gmail.com> X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.332 tagged_above=-999 required=2 tests=[AWL=-0.107, BAYES_00=-2.599, HTML_30_40=0.374, HTML_MESSAGE=0.001, SPF_PASS=-0.001] X-Spam-Score: -2.332 X-Spam-Level: Cc: Gtk+ Developers , gnome-db-list@gnome.org Subject: [gnome-db] Re: Transformation functions from G_TYPE_STRING to G_TYPE_any X-BeenThere: gnome-db-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME-DB discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Jun 2006 19:23:05 -0000 ------=_Part_4149_12028470.1149535377779 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Specificaly in GDA could be usefull if the following types has a From Strin= g Function defined in GLib: G_TYPE_BOOLEAN G_TYPE_INT G_TYPE_UINT G_TYPE_INT64 G_TYPE_UINT64 G_TYPE_LONG G_TYPE_ULONG G_TYPE_FLOAT G_TYPE_DOUBLE 2006/5/24, Tim Janik : > > On Fri, 19 May 2006, Daniel Espinosa wrote: > > > I'm working on add functions to GLib to transform a STRING to GLib's > types; > > now only exists a way to transform to a STRING but not from a STRING; t= o > do > > transformations to string are more of a convenience/debugging feature > libgobject offers. > > > so I need to find the value_transform_int_string function (and the > others in > > gvaluetransform.c file) in order to write the functions to transform > from > > STRING some types. > > > > GDA, has some code to transform them, but may is better to have them in > > GLib; unless you consider that is better that library must register his > own > > custom transformation functions. > > > > I had filed a bug in: > > > > http://bugzilla.gnome.org/show_bug.cgi?id=3D342358 > > i don't think having these in glib makes much sense, as outlined in: > http://mail.gnome.org/archives/gtk-devel-list/2006-May/msg00258.html > reflected in the bug report. > > --- > ciaoTJ > --=20 Trabajar, la mejor arma para tu superaci=F3n "de grano en grano, se hace la arena" (R) (entr=E1mite, pero para los cuate= s: LIBRE) ------=_Part_4149_12028470.1149535377779 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Specificaly in GDA could be usefull if the following types has a From Strin= g Function defined in GLib:

G_TYPE_BOOLEAN
G_TYPE_INT
G_TYPE_U= INT
G_TYPE_INT64
G_TYPE_UINT64
G_TYPE_LONG
G_TYPE_ULONG
G_TY= PE_FLOAT
G_TYPE_DOUBLE


2006/5/24, Ti= m Janik <timj@imendio.com>:
On Fri, 19 May 2006, Daniel Espinosa wrote:

> I'm working on add = functions to GLib to transform a STRING to GLib's types;
> now only e= xists a way to transform to a STRING but not from a STRING; to do

transformations to string are more of a convenience/debugging feature
li= bgobject offers.

> so I need to find the value_transform_int_stri= ng function (and the others in
> gvaluetransform.c file) in order to = write the functions to transform from
> STRING some types.
>
> GDA, has some code to transform= them, but may is better to have them in
> GLib; unless you consider = that is better that library must register his own
> custom transforma= tion functions.
>
> I had filed a bug in:
>
> http://bugzilla.gnome.org/show_b= ug.cgi?id=3D342358

i don't think having these in glib makes much= sense, as outlined in:
   http://mail.gnome.org/archives/gtk-devel-list/2006-M= ay/msg00258.html
reflected in the bug report.

---
ciaoTJ



--
Trabajar, la mejor arma para tu supe= raci=F3n
"de grano en grano, se hace la arena" (R) (entr=E1mit= e, pero para los cuates: LIBRE) ------=_Part_4149_12028470.1149535377779-- From vmalerba@gmail.com Tue Jun 6 04:56:16 2006 Return-Path: X-Original-To: gnome-db-list@gnome.org Delivered-To: gnome-db-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 214AF3B010E for ; Tue, 6 Jun 2006 04:56:16 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 25725-07 for ; Tue, 6 Jun 2006 04:56:11 -0400 (EDT) Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.193]) by menubar.gnome.org (Postfix) with ESMTP id 649633B0BAF for ; Tue, 6 Jun 2006 04:55:52 -0400 (EDT) Received: by nz-out-0102.google.com with SMTP id 9so2290479nzo for ; Tue, 06 Jun 2006 01:55:51 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=fgm2JCvC3MNZPTpAC1O/9bSndNSlzWvXYuvy6jf37M6ie69ZzHh/qFB3KPMATxYjgjj7TUizZXDxeYZKqzjNg2aCVhsl4yYTILzbROVcbsh81p53vELEdqkfCDqGOQwv7RVIW6ZqCl6pWbicse8Qkg7bCiJSfID/AVOdWD+qZ+4= Received: by 10.36.39.9 with SMTP id m9mr224276nzm; Tue, 06 Jun 2006 01:55:51 -0700 (PDT) Received: by 10.36.55.1 with HTTP; Tue, 6 Jun 2006 01:55:51 -0700 (PDT) Message-ID: Date: Tue, 6 Jun 2006 10:55:51 +0200 From: "Vivien Malerba" To: "Daniel Espinosa" Subject: Re: [gnome-db] GValue to String in GLib: Conclusion In-Reply-To: <144160610606051131t3e80ce48q453d62172a83d834@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <144160610606051131t3e80ce48q453d62172a83d834@mail.gmail.com> X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.487 tagged_above=-999 required=2 tests=[AWL=0.113, BAYES_00=-2.599, SPF_PASS=-0.001] X-Spam-Score: -2.487 X-Spam-Level: Cc: gnome-db-list@gnome.org X-BeenThere: gnome-db-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME-DB discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jun 2006 08:56:17 -0000 On 6/5/06, Daniel Espinosa wrote: > I don't find that the developers of GLib want to modify the core of the > library to include the functions to transform a string to the fundamental > types INT, DOUBLE, FLOAT, etc. > > I don't know if I weren't clear enough to explaint that we don't want > "serialization" in GLib, it's just to convert a string to a value not > objects. > > But then, as the following sugestion refer, we can put the code for that > functions in GDA. > > http://mail.gnome.org/archives/gtk-devel-list/2006-May/msg00259.html > > and > > http://mail.gnome.org/archives/gtk-devel-list/2006-May/msg00248.html > > As the last, GStreamer has it's own transformation From/To String for his > own types of values. Right, let's then keep that code in libgda, as GStreamer does... Thanks, Vivien From esodan@gmail.com Wed Jun 7 18:57:19 2006 Return-Path: X-Original-To: gnome-db-list@gnome.org Delivered-To: gnome-db-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id D7D443B0E71 for ; Wed, 7 Jun 2006 18:57:19 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 20852-09 for ; Wed, 7 Jun 2006 18:57:18 -0400 (EDT) Received: from wx-out-0102.google.com (wx-out-0102.google.com [66.249.82.192]) by menubar.gnome.org (Postfix) with ESMTP id 103173B04FF for ; Wed, 7 Jun 2006 18:57:17 -0400 (EDT) Received: by wx-out-0102.google.com with SMTP id i30so304349wxd for ; Wed, 07 Jun 2006 15:57:17 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=brOyTpnAXnWzgkamxyikE9cOQ90NF4F0BvGq1xzQtGPHZ0+SJ3y68cS2sQKIx60C2DcUvhwXAlWWDN+yFc04K05T/Fu+Im8upts9XHh0/eA4jTURyfnyZcxY3HP//u48WrVjncPVazRB2iv6hQqPAP/e5fD1lMAc5Vz78gA1Ouo= Received: by 10.70.44.16 with SMTP id r16mr1306941wxr; Wed, 07 Jun 2006 15:57:17 -0700 (PDT) Received: by 10.70.75.1 with HTTP; Wed, 7 Jun 2006 15:57:17 -0700 (PDT) Message-ID: <144160610606071557l71e0c1b0k7ecc8d1a489201b2@mail.gmail.com> Date: Wed, 7 Jun 2006 17:57:17 -0500 From: "Daniel Espinosa" To: gnome-db-list@gnome.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_5916_6433013.1149721037318" X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.353 tagged_above=-999 required=2 tests=[AWL=0.246, BAYES_00=-2.599, HTML_MESSAGE=0.001, SPF_PASS=-0.001] X-Spam-Score: -2.353 X-Spam-Level: Subject: [gnome-db] GValue from string: CVS - Observation and Proposal X-BeenThere: gnome-db-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME-DB discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jun 2006 22:57:20 -0000 ------=_Part_5916_6433013.1149721037318 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline There are a problem with the implementation, I think, know if you want to transform a value from a string you'll need to use gda_value_set_from_strin= g and that's correct, but: What happen if I want to use the GValue API to transform that value (a string) to other; may be could be more clear to register the transformation functions (the code already exist in the function set_from_string). Then the programer can use a code where he don't need to take care about th= e type of the value he transforms from. if ( g_value_transformable (G_VALUE_TYPE(source), G_VALUE_TYPE(destination)= ) { g_value_transform( source, destination ); UseTheValue(destination); // This function coulde take care about how to use the type of the value passed as argument } else Error(); In the case of use the actual API you allways need to know that the actual value is a string: if ( G_VALUE_TYPE(source) =3D=3D G_TYPE_STRING ) { gda_value_set_from_string( destination, g_value_get_string( source ), G_TYPE_INT); UseTheValue(destination); } else { if ( g_value_transformable (G_VALUE_TYPE(source), G_VALUE_TYPE(destination)) { g_value_transform( source, destination ); UseTheValue(destination); // This function coulde take care about how to use the type of the value passed as argument } else Error(); } --=20 Trabajar, la mejor arma para tu superaci=F3n "de grano en grano, se hace la arena" (R) (entr=E1mite, pero para los cuate= s: LIBRE) ------=_Part_5916_6433013.1149721037318 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline There are a problem with the implementation, I think, know if you want to t= ransform a value from a string you'll need to use gda_value_set_from_string= and that's correct, but:

What happen if I want to use the GValue AP= I to transform that value (a string) to other; may be could be more clear t= o register the transformation functions (the code already exist in the func= tion set_from_string).

Then the programer can use a code where he don't need to take care = about the type of the value he transforms from.

if ( g_value_transfo= rmable (G_VALUE_TYPE(source), G_VALUE_TYPE(destination)) {

 &nb= sp;    g_value_transform( source, destination );

     UseTheValue(destination); // This function= coulde take care about how to use the type of the value passed as argument=
}
else Error();



In the case of use the actual API you= allways need to know that the actual value is a string:

if ( G_VALUE_TYPE(source) =3D=3D G_TYPE_STRING ) {

 &nb= sp;    gda_value_set_from_string( destination, g_value_get_s= tring( source ), G_TYPE_INT);

    =   UseTheValue(destination);
}
else {
   if ( g_valu= e_transformable (G_VALUE_TYPE(source), G_VALUE_TYPE(destination)) {

        g_value_transform( source, desti= nation );

        UseTheValue(destination); // Thi= s function coulde take care about how to use the type of the value passed a= s argument
   }
   else Error();
}


--
Trabajar, la mejor arma para tu superaci=F3n
"de gra= no en grano, se hace la arena" (R) (entr=E1mite, pero para los cuates:= LIBRE) ------=_Part_5916_6433013.1149721037318-- From esodan@gmail.com Thu Jun 8 14:13:35 2006 Return-Path: X-Original-To: gnome-db-list@gnome.org Delivered-To: gnome-db-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 963EE3B0FBA for ; Thu, 8 Jun 2006 14:13:35 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 27351-02 for ; Thu, 8 Jun 2006 14:13:34 -0400 (EDT) Received: from wx-out-0102.google.com (wx-out-0102.google.com [66.249.82.194]) by menubar.gnome.org (Postfix) with ESMTP id 09CA63B0F8B for ; Thu, 8 Jun 2006 14:13:33 -0400 (EDT) Received: by wx-out-0102.google.com with SMTP id i30so458759wxd for ; Thu, 08 Jun 2006 11:13:33 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=T/BrbOB7J0oZnie8C96Lb1ngQtKuKNhyCTM6y8G65WlbrmJ7Fw3EEUcQRibflyHuqgz5bxD0Bbr2Ov+qmgAKZA3A1lL7Rjzfe3cEwLN9QGHknXZBoQvdEmjQq/HOa1UylrcBb6b+vGzF+McbQPSuZzWnTN60rRbbbIxnqAeYOR0= Received: by 10.70.73.4 with SMTP id v4mr2394363wxa; Thu, 08 Jun 2006 11:13:32 -0700 (PDT) Received: by 10.70.75.1 with HTTP; Thu, 8 Jun 2006 11:13:32 -0700 (PDT) Message-ID: <144160610606081113s67997fa5v62842bebf653376a@mail.gmail.com> Date: Thu, 8 Jun 2006 13:13:32 -0500 From: "Daniel Espinosa" To: "F Wolff" In-Reply-To: <1149747620.4485.25.camel@localhost.localdomain> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_5765_15259675.1149790412225" References: <20060605020856.6a722cb9@localhost.localdomain> <1149604559.9167.99.camel@localhost.localdomain> <20060608001728.22f6fa64@localhost.localdomain> <1149747620.4485.25.camel@localhost.localdomain> X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.388 tagged_above=-999 required=2 tests=[AWL=0.211, BAYES_00=-2.599, HTML_MESSAGE=0.001, SPF_PASS=-0.001] X-Spam-Score: -2.388 X-Spam-Level: Cc: translate-pootle@lists.sourceforge.net, gnome-db-list@gnome.org, translate-devel@lists.sourceforge.net Subject: [gnome-db] Re: [translate-pootle] Wordforge X-BeenThere: gnome-db-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME-DB discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jun 2006 18:13:35 -0000 ------=_Part_5765_15259675.1149790412225 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline > > As for specific technology - jToolkit (that we already use) has support > for many databases so we'll probably use that functionality so that we > don't become tied to any specific one. May is better to use the python binding of libgda; it supports may database= s backends and is a GNU implementation (now in development and hope to reach soon version 2.0 with much improviments in the arquitecture and features). --=20 Trabajar, la mejor arma para tu superaci=F3n "de grano en grano, se hace la arena" (R) (entr=E1mite, pero para los cuate= s: LIBRE) ------=_Part_5765_15259675.1149790412225 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline
As for speci= fic technology - jToolkit (that we already use) has support
for many dat= abases so we'll probably use that functionality so that we
don't become tied to any specific one.

May is better to use the python binding of libgda; it supports may databas= es backends and is a GNU implementation (now in development and hope to rea= ch soon version=20 2.0 with much improviments in the arquitecture and features).

--
Trabajar, la mejor arma para tu superaci=F3n
"de gra= no en grano, se hace la arena" (R) (entr=E1mite, pero para los cuates:= LIBRE) ------=_Part_5765_15259675.1149790412225-- From esodan@gmail.com Wed Jun 21 12:46:59 2006 Return-Path: X-Original-To: gnome-db-list@gnome.org Delivered-To: gnome-db-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 91F243B1040 for ; Wed, 21 Jun 2006 12:46:59 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 22248-01 for ; Wed, 21 Jun 2006 12:46:56 -0400 (EDT) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.235]) by menubar.gnome.org (Postfix) with ESMTP id 297953B0F7D for ; Wed, 21 Jun 2006 12:46:56 -0400 (EDT) Received: by wr-out-0506.google.com with SMTP id 37so203484wra for ; Wed, 21 Jun 2006 09:46:55 -0700 (PDT) Received: by 10.54.65.13 with SMTP id n13mr2155517wra; Wed, 21 Jun 2006 09:46:55 -0700 (PDT) Received: by 10.70.75.5 with HTTP; Wed, 21 Jun 2006 09:46:55 -0700 (PDT) Message-ID: <144160610606210946p3cfdf8dar333dbdf8e6ba56f1@mail.gmail.com> Date: Wed, 21 Jun 2006 11:46:55 -0500 From: "Daniel Espinosa" To: "Tristan Van Berkom" In-Reply-To: <44972A48.6040509@gnome.org> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_79684_28669631.1150908415267" References: <44972A48.6040509@gnome.org> X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.075 tagged_above=-999 required=2 tests=[AWL=0.028, BAYES_00=-2.599, HTML_40_50=0.496, HTML_MESSAGE=0.001, SPF_PASS=-0.001] X-Spam-Score: -2.075 X-Spam-Level: Cc: gnome-db-list@gnome.org, Glade Devel Mailing List Subject: Re: [gnome-db] [Glade-devel] Glade-3 going into feature freeze X-BeenThere: gnome-db-list@gnome.org X-Mailman-Version: 2.1.8 Precedence: list List-Id: GNOME-DB discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Jun 2006 16:46:59 -0000 ------=_Part_79684_28669631.1150908415267 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline 2006/6/19, Tristan Van Berkom : > > Hi all, > I am proud to announce that we are nearing the long awaited > initial release of glade-3 ! > > As we are a little excited and ahead of ourselves... it is nescisary to > draw the line on what features are to make it into the initial 3.0release= . > If anyone has noticed anything in recent glade-3 cvs that is missing and > is > not on the TODO list (inline below)... please speak up and let us know :) > > Cheers, > -Tristan > > This is the current list of blockers for 3.0: > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > o Toolbar editor / Popup menu editor (toolbar support now in... needs > editor) > o Unify multiple property changes & dont unify default settings (bug > 315600) > o Properties/undo stack glitches (bug 316900) > o Gnome stock items not recognized by glade-3 (bug 343712) > o Should indicate read-only projects (bug 337957) > o Implement GnomeDB widget catalog. Any tutorial on how to archive the widgets for GnomeDB? GnomeDB is reaching the final 2.0 almost a few time, then I want to work in the new set of widgets. o DevHelp gets spawned with version 0.11 (bug 344043) > o Add/Remove parent container via context menu feature (bug 343786) > o Implement "finish" signal on GladeProject (bug 345353) > > _______________________________________________ > Glade-devel maillist - Glade-devel@lists.ximian.com > http://lists.ximian.com/mailman/listinfo/glade-devel > --=20 Trabajar, la mejor arma para tu superaci=F3n "de grano en grano, se hace la arena" (R) (entr=E1mite, pero para los cuate= s: LIBRE) ------=_Part_79684_28669631.1150908415267 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline

2006/6/19, Tristan Van Berkom <= tristan.van.berkom@gmail.co= m>:
Hi all,
    I am proud to announce that we are neari= ng the long awaited
initial release of glade-3 !

As we are a litt= le excited and ahead of ourselves... it is nescisary to
draw the line on= what features are to make it into the initial=20 3.0 release.
If anyone has noticed anything in recent glade-3 cvs that i= s missing and is
not on the TODO list (inline below)... please speak up = and let us know :)

Cheers,
      &n= bsp;            = ;            &n= bsp;  -Tristan

This is the current list of blockers for 3.0:
=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
o Toolbar editor= / Popup menu editor (toolbar support now in... needs
editor)
o Unif= y multiple property changes & dont unify default settings (bug
315600)
o Properties/undo stack glitches (bug 316900)
o Gnome s= tock items not recognized by glade-3 (bug 343712)
o Should indicate rea= d-only projects (bug 337957)
o Implement GnomeDB widget catalog.

 Any tutoria= l on how to archive the widgets for GnomeDB?
GnomeDB is reaching the fin= al 2.0 almost a few time, then I want to work in the new set of widgets.

o DevH= elp gets spawned with version 0.11 (bug 344043)
o Add/Remove parent con= tainer via context menu feature (bug 343786)
o Implement "finish" signal on GladeProject (bug 345353)
=
_______________________________________________
Glade-devel maillist=   -  Gl= ade-devel@lists.ximian.com
ht= tp://lists.ximian.com/mailman/listinfo/glade-devel



--
Trabajar, la mejor arma para tu superaci= =F3n
"de grano en grano, se hace la arena" (R) (entr=E1mite, pero = para los cuates: LIBRE) ------=_Part_79684_28669631.1150908415267-- From tvb@gnome.org Wed Jun 21 13:06:59 2006 Return-Path: X-Original-To: gnome-db-list@gnome.org Delivered-To: gnome-db-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 632323B01C1 for ; Wed, 21 Jun 2006 13:06:59 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 23710-05 for ; Wed, 21 Jun 2006 13:06:56 -0400 (EDT) Received: from mail.touchtunes.com (mail.touchtunes.com [207.96.182.162]) by menubar.gnome.org (Postfix) with ESMTP id D5FA43B00CC for ; Wed, 21 Jun 2006 13:06:55 -0400 (EDT) Received: from [192.168.0.138] (unknown [192.168.0.138]) by mail.touchtunes.com (Postfix) with ESMTP id 82FBD15AD2; Wed, 21 Jun 2006 13:06:50 -0400 (EDT) Message-ID: <44997EFA.7030204@gnome.org> Date: Wed, 21 Jun 2006 13:16:42 -0400 From: Tristan Van Berkom User-Agent: Mozilla Thunderbird 0.8 (X11/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Daniel Espinosa References: <44972A48.6040509@gnome.org> <144160610606210946p3cfdf8dar333dbdf8e6ba56f1@mail.gmail.com> In-Reply-To: <144160610606210946p3cfdf8dar333dbdf8e6ba56f1@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.555 tagged_above=-999 required=2 tests=[AWL=0.045, BAYES_00=-2.599, SPF_HELO_PASS=-0.001] X-Spam-Score: -2.555 X-Spam-Level: X-Mailman-Approved-At: Wed, 21 Jun 2006 14:52:13 -0400 Cc: gnome-db-list@gnome.org, Tristan Van Berkom , Glade Devel Mailing List Subject: Re: [gnome-db] [Glade-devel] Glade-3 going into feature freeze X-BeenThere: gnome-db-list@gnome.org X-Mailman-Version: 2.1.8 Precedence: list List-Id: GNOME-DB discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Jun 2006 17:06:59 -0000 Daniel Espinosa wrote: [...] > o Implement GnomeDB widget catalog. > > > Any tutorial on how to archive the widgets for GnomeDB? > GnomeDB is reaching the final 2.0 almost a few time, then I want to work in > the new set of widgets. I wonder what you mean by "archive"... there is documentation on integrating widgets into glade3 ... which is what I think you want :) It is installed by the glade-3 tarball... and I am keeping an online copy up-to-date here: http://gnome.org/~tvb/glade_api/ For the moment... we would like to whip up a catalog that supports gnomedb widgets that are currently released. But its probably a good idea to drop the gnomeui catalog and gnomedb catalog from the glade3 package in the long run... and add those packages to gnomedb and gnomeui respectively... let me know what you think :) Cheers, -Tristan From bas.driessen@xobas.com Thu Jun 1 01:36:38 2006 Return-Path: X-Original-To: gnome-db-list@gnome.org Delivered-To: gnome-db-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 910423B00BB for ; Thu, 1 Jun 2006 01:36:38 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 07708-10 for ; Thu, 1 Jun 2006 01:36:35 -0400 (EDT) Received: from syd.xobas.net (unknown [209.135.140.233]) by menubar.gnome.org (Postfix) with ESMTP id 5C44E3B00B7 for ; Thu, 1 Jun 2006 01:36:35 -0400 (EDT) Received: from ams.xobas.com (203-206-43-80.dyn.iinet.net.au [203.206.43.80]) (authenticated bits=0) by syd.xobas.net (8.13.6/8.13.6) with ESMTP id k515abSZ020954 for ; Thu, 1 Jun 2006 15:36:44 +1000 From: Bas Driessen To: GNOME-DB List Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-+jIuJX0UJ2kNDDxDZuPS" Organization: Xobas Software Date: Thu, 01 Jun 2006 15:36:24 +1000 Message-Id: <1149140184.2835.7.camel@ams.xobas.com> Mime-Version: 1.0 X-Mailer: Evolution 2.6.1 (2.6.1-1.fc5.2) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-1.969 tagged_above=-999 required=2 tests=[AWL=0.044, BAYES_00=-2.599, FORGED_RCVD_HELO=0.135, HTML_30_40=0.374, HTML_MESSAGE=0.001, SPF_PASS=-0.001, TW_CN=0.077] X-Spam-Score: -1.969 X-Spam-Level: Subject: [gnome-db] SQL message output. X-BeenThere: gnome-db-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: bas.driessen@xobas.com List-Id: GNOME-DB discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Jun 2006 05:36:38 -0000 --=-+jIuJX0UJ2kNDDxDZuPS Content-Type: multipart/alternative; boundary="=-Dp/ee1zsx7zGbAVnq2Za" --=-Dp/ee1zsx7zGbAVnq2Za Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hello, I noticed that the section below has been added in version 1.50 of file libgda/gda-server-provider.c with as comment "bug fixes" .... : GdaServerProviderInfo *info; info =3D gda_server_provider_get_info (provider, cnc); g_print ("=3D=3D> %s (Provider %s on cnx %p)\n", cmd->text, info->provider_name, cnc); This prints the SQL statement to standard output and will be a great debug and/or log tool. However, can we somehow make this feature optional? I would like to be able to switch this off, since I get swamped with SQL messages now. Thanks, Bas. --=-Dp/ee1zsx7zGbAVnq2Za Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello,

I noticed that the section below has been added in version 1.50 of file lib= gda/gda-server-provider.c with as comment "bug fixes" .... :


GdaServerProviderInfo *info;

info =3D gda_server_provider_get_info (provider, cnc);
g_print ("=3D=3D> %s (Provider %s on cnx %p)\n", cmd->t= ext, info->provider_name, cnc);


This prints the SQL statement to standard output and will be a great debug = and/or log tool. However, can we somehow make this feature optional? I woul= d like to be able to switch this off, since I get swamped with SQL messages= now.


Thanks,
Bas.

--=-Dp/ee1zsx7zGbAVnq2Za-- --=-+jIuJX0UJ2kNDDxDZuPS Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) iD8DBQBEfnzYDNTMG7IqcsoRAsDjAJ9AHPwXk+smbdG8j7JEQASjedbLTgCcDKuK 4ksia6ssE3wqqZzBNT1mCT0= =+efd -----END PGP SIGNATURE----- --=-+jIuJX0UJ2kNDDxDZuPS-- From vmalerba@gmail.com Thu Jun 1 03:29:36 2006 Return-Path: X-Original-To: gnome-db-list@gnome.org Delivered-To: gnome-db-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 081AE3B00B7 for ; Thu, 1 Jun 2006 03:29:36 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 12727-02 for ; Thu, 1 Jun 2006 03:29:33 -0400 (EDT) Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.199]) by menubar.gnome.org (Postfix) with ESMTP id E64183B0C47 for ; Thu, 1 Jun 2006 03:29:32 -0400 (EDT) Received: by nz-out-0102.google.com with SMTP id 9so307554nzo for ; Thu, 01 Jun 2006 00:29:32 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=TgZFQ2qr8eOoJSJEF7GsvSSaMr3G37wDDnVG+imBdmvhj93XkrcBHWEYV7mqR/zEduQXSuFLHHB858Ev0Mz59uelyKm3SH0K4dcH8iSvMt820UKv+PNvnAtqTde5PCsWgSINmIvqN9ScL9EMP33SmB4s1haceD99bVbJ/nO2HAQ= Received: by 10.36.247.53 with SMTP id u53mr457043nzh; Thu, 01 Jun 2006 00:29:32 -0700 (PDT) Received: by 10.36.104.9 with HTTP; Thu, 1 Jun 2006 00:29:32 -0700 (PDT) Message-ID: Date: Thu, 1 Jun 2006 09:29:32 +0200 From: "Vivien Malerba" To: bas.driessen@xobas.com Subject: Re: [gnome-db] SQL message output. In-Reply-To: <1149140184.2835.7.camel@ams.xobas.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1149140184.2835.7.camel@ams.xobas.com> X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.447 tagged_above=-999 required=2 tests=[AWL=0.076, BAYES_00=-2.599, SPF_PASS=-0.001, TW_CN=0.077] X-Spam-Score: -2.447 X-Spam-Level: Cc: GNOME-DB List X-BeenThere: gnome-db-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME-DB discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Jun 2006 07:29:36 -0000 On 6/1/06, Bas Driessen wrote: > > Hello, > > I noticed that the section below has been added in version 1.50 of file > libgda/gda-server-provider.c with as comment "bug fixes" .... : > > > GdaServerProviderInfo *info; > > info = gda_server_provider_get_info (provider, cnc); > g_print ("==> %s (Provider %s on cnx %p)\n", cmd->text, > info->provider_name, cnc); > > > This prints the SQL statement to standard output and will be a great debug > and/or log tool. However, can we somehow make this feature optional? I would > like to be able to switch this off, since I get swamped with SQL messages > now. Yes, sorry for the inconvenience. Add #ifdef GDA_DEBUG before that line and a #endif after it. I'll add that myself next time I do a commit. Cheers, Vivien From esodan@gmail.com Mon Jun 5 14:31:20 2006 Return-Path: X-Original-To: gnome-db-list@gnome.org Delivered-To: gnome-db-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 7CC293B09DE for ; Mon, 5 Jun 2006 14:31:20 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 21460-08 for ; Mon, 5 Jun 2006 14:31:18 -0400 (EDT) Received: from wx-out-0102.google.com (wx-out-0102.google.com [66.249.82.204]) by menubar.gnome.org (Postfix) with ESMTP id AC55D3B0954 for ; Mon, 5 Jun 2006 14:31:18 -0400 (EDT) Received: by wx-out-0102.google.com with SMTP id i30so1218302wxd for ; Mon, 05 Jun 2006 11:31:18 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=T3Z02ur/6jhBjHcTuRievbBTcw/pXS+jT+l+67H/S1WRGSKlpM933iCTSU0Jkix8d9cdIPwG77hGyQwMSNSbGsFeIZX+WUWD6k5nwCjnFTdfG/XmOZof12A+D75f+2Z6og8xRuzB7MP73WGTEKZO5o/dRrTnxZFJAgk9YRsrtos= Received: by 10.70.89.19 with SMTP id m19mr6376212wxb; Mon, 05 Jun 2006 11:31:18 -0700 (PDT) Received: by 10.70.75.1 with HTTP; Mon, 5 Jun 2006 11:31:18 -0700 (PDT) Message-ID: <144160610606051131t3e80ce48q453d62172a83d834@mail.gmail.com> Date: Mon, 5 Jun 2006 13:31:18 -0500 From: "Daniel Espinosa" To: gnome-db-list@gnome.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_3349_14190453.1149532278021" X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.564 tagged_above=-999 required=2 tests=[AWL=0.035, BAYES_00=-2.599, HTML_MESSAGE=0.001, SPF_PASS=-0.001] X-Spam-Score: -2.564 X-Spam-Level: Subject: [gnome-db] GValue to String in GLib: Conclusion X-BeenThere: gnome-db-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME-DB discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Jun 2006 18:31:20 -0000 ------=_Part_3349_14190453.1149532278021 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline I don't find that the developers of GLib want to modify the core of the library to include the functions to transform a string to the fundamental types INT, DOUBLE, FLOAT, etc. I don't know if I weren't clear enough to explaint that we don't want "serialization" in GLib, it's just to convert a string to a value not objects. But then, as the following sugestion refer, we can put the code for that functions in GDA. http://mail.gnome.org/archives/gtk-devel-list/2006-May/msg00259.html and http://mail.gnome.org/archives/gtk-devel-list/2006-May/msg00248.html As the last, GStreamer has it's own transformation From/To String for his own types of values. --=20 Trabajar, la mejor arma para tu superaci=F3n "de grano en grano, se hace la arena" (R) (entr=E1mite, pero para los cuate= s: LIBRE) ------=_Part_3349_14190453.1149532278021 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline I don't find that the developers of GLib want to modify the core of the lib= rary to include the functions to transform a string to the fundamental type= s INT, DOUBLE, FLOAT, etc.

I don't know if I weren't clear enough to= explaint that we don't want "serialization" in GLib, it's just t= o convert a string to a value not objects.

But then, as the following sugestion refer, we can put the code for= that functions in GDA.

http://mail.gnome.org/archives/gtk-dev= el-list/2006-May/msg00259.html

and

http://mail.gnome.org/archives/gtk-devel-list= /2006-May/msg00248.html

As the last, GStreamer has it's own tran= sformation From/To String for his own types of values.

--
Trabajar, la mejor arma para tu superaci=F3n"de grano en grano, se hace la arena" (R) (entr=E1mite, pero pa= ra los cuates: LIBRE) ------=_Part_3349_14190453.1149532278021-- From esodan@gmail.com Mon Jun 5 14:33:47 2006 Return-Path: X-Original-To: gnome-db-list@gnome.org Delivered-To: gnome-db-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id C12333B09EF for ; Mon, 5 Jun 2006 14:33:47 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 21602-07 for ; Mon, 5 Jun 2006 14:33:46 -0400 (EDT) Received: from wx-out-0102.google.com (wx-out-0102.google.com [66.249.82.193]) by menubar.gnome.org (Postfix) with ESMTP id 064193B0954 for ; Mon, 5 Jun 2006 14:33:45 -0400 (EDT) Received: by wx-out-0102.google.com with SMTP id i30so1218631wxd for ; Mon, 05 Jun 2006 11:33:45 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=FRKnVW1nlh6D6h/lo6ZRrlTD2OM08KjKujOtNEQEadV3GlNOVFebdPyNPvzIzwEma2neOHXZhT2yIGb0AH1/HVoRNUj3JmwaT5ZrOr+4bwksuhqBwtIuDVAJ0oCwY2mFQFer9lMvi5xnkVmN+1uJfkjb6qbLRDercIbbc7X9vuQ= Received: by 10.70.130.14 with SMTP id c14mr6379321wxd; Mon, 05 Jun 2006 11:33:45 -0700 (PDT) Received: by 10.70.75.1 with HTTP; Mon, 5 Jun 2006 11:33:45 -0700 (PDT) Message-ID: <144160610606051133s65a096b7me0070b8fc95d9581@mail.gmail.com> Date: Mon, 5 Jun 2006 13:33:45 -0500 From: "Daniel Espinosa" To: gnome-db-list@gnome.org In-Reply-To: <144160610606051131t3e80ce48q453d62172a83d834@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_3389_24083357.1149532425173" References: <144160610606051131t3e80ce48q453d62172a83d834@mail.gmail.com> X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.327 tagged_above=-999 required=2 tests=[AWL=-0.224, BAYES_00=-2.599, HTML_40_50=0.496, HTML_MESSAGE=0.001, SPF_PASS=-0.001] X-Spam-Score: -2.327 X-Spam-Level: Subject: [gnome-db] Re: GValue to String in GLib: Conclusion X-BeenThere: gnome-db-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME-DB discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Jun 2006 18:33:47 -0000 ------=_Part_3389_24083357.1149532425173 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Even that I had reopened the bug to Add functions just for the fundamental types. http://bugzilla.gnome.org/show_bug.cgi?id=3D342358 2006/6/5, Daniel Espinosa : > > I don't find that the developers of GLib want to modify the core of the > library to include the functions to transform a string to the fundamental > types INT, DOUBLE, FLOAT, etc. > > I don't know if I weren't clear enough to explaint that we don't want > "serialization" in GLib, it's just to convert a string to a value not > objects. > > But then, as the following sugestion refer, we can put the code for that > functions in GDA. > > http://mail.gnome.org/archives/gtk-devel-list/2006-May/msg00259.html > > and > > http://mail.gnome.org/archives/gtk-devel-list/2006-May/msg00248.html > > As the last, GStreamer has it's own transformation From/To String for his > own types of values. > > -- > Trabajar, la mejor arma para tu superaci=F3n > "de grano en grano, se hace la arena" (R) (entr=E1mite, pero para los > cuates: LIBRE) > --=20 Trabajar, la mejor arma para tu superaci=F3n "de grano en grano, se hace la arena" (R) (entr=E1mite, pero para los cuate= s: LIBRE) ------=_Part_3389_24083357.1149532425173 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Even that I had reopened the bug to Add functions just for the fundamental = types.


http://bugzi= lla.gnome.org/show_bug.cgi?id=3D342358

2006/6/5, Daniel Espinosa <e= sodan@gmail.com >:
<= div>I don't find that the developers of GLib want to modify the core of the= library to include the functions to transform a string to the fundamental = types INT, DOUBLE, FLOAT, etc.

I don't know if I weren't clear enough to explaint that we don't wa= nt "serialization" in GLib, it's just to convert a string to a va= lue not objects.

But then, as the following sugestion refer, we can put the code for= that functions in GDA.

http://mail.gnome.org/archives/gtk-devel-list/2006-May/msg00259.html

and

http://mail.gnome.org/archives/gtk-devel-list= /2006-May/msg00248.html

As the last, GStreamer has it's own transformation From/To Stri= ng for his own types of values.

--
Trabajar, la mej= or arma para tu superaci=F3n
"de grano en grano, se hace la arena&q= uot; (R) (entr=E1mite, pero para los cuates: LIBRE)



--
Trabajar, = la mejor arma para tu superaci=F3n
"de grano en grano, se hace la a= rena" (R) (entr=E1mite, pero para los cuates: LIBRE) ------=_Part_3389_24083357.1149532425173-- From esodan@gmail.com Mon Jun 5 15:23:05 2006 Return-Path: X-Original-To: gnome-db-list@gnome.org Delivered-To: gnome-db-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 255403B04F7 for ; Mon, 5 Jun 2006 15:23:05 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 24814-07 for ; Mon, 5 Jun 2006 15:23:03 -0400 (EDT) Received: from wx-out-0102.google.com (wx-out-0102.google.com [66.249.82.207]) by menubar.gnome.org (Postfix) with ESMTP id 19FEC3B00BE for ; Mon, 5 Jun 2006 15:23:03 -0400 (EDT) Received: by wx-out-0102.google.com with SMTP id i30so1227761wxd for ; Mon, 05 Jun 2006 12:23:02 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=cvsYQffUM0aGgCeS7jB8oJuePQLGdU27XdRa4SXCGY9jSHUFLfSpqkS8RgbEioisz0ssINVAaRqI5RaaN+bYMOLU2RVDDyD2JToV8XsjAXdJ4CsCLmUTSpvcD0M8fPGI0vWGq1Y7GWLyBfFzyqesSv6vCLawTqaiASji2N1wK+o= Received: by 10.70.69.8 with SMTP id r8mr6434300wxa; Mon, 05 Jun 2006 12:22:57 -0700 (PDT) Received: by 10.70.75.1 with HTTP; Mon, 5 Jun 2006 12:22:57 -0700 (PDT) Message-ID: <144160610606051222k6dc2a872ycf0360f26a338718@mail.gmail.com> Date: Mon, 5 Jun 2006 14:22:57 -0500 From: "Daniel Espinosa" To: "Tim Janik" In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_4149_12028470.1149535377779" References: <144160610605190934j3f96d985rf46013b5e1af8198@mail.gmail.com> X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.332 tagged_above=-999 required=2 tests=[AWL=-0.107, BAYES_00=-2.599, HTML_30_40=0.374, HTML_MESSAGE=0.001, SPF_PASS=-0.001] X-Spam-Score: -2.332 X-Spam-Level: Cc: Gtk+ Developers , gnome-db-list@gnome.org Subject: [gnome-db] Re: Transformation functions from G_TYPE_STRING to G_TYPE_any X-BeenThere: gnome-db-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME-DB discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Jun 2006 19:23:05 -0000 ------=_Part_4149_12028470.1149535377779 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Specificaly in GDA could be usefull if the following types has a From Strin= g Function defined in GLib: G_TYPE_BOOLEAN G_TYPE_INT G_TYPE_UINT G_TYPE_INT64 G_TYPE_UINT64 G_TYPE_LONG G_TYPE_ULONG G_TYPE_FLOAT G_TYPE_DOUBLE 2006/5/24, Tim Janik : > > On Fri, 19 May 2006, Daniel Espinosa wrote: > > > I'm working on add functions to GLib to transform a STRING to GLib's > types; > > now only exists a way to transform to a STRING but not from a STRING; t= o > do > > transformations to string are more of a convenience/debugging feature > libgobject offers. > > > so I need to find the value_transform_int_string function (and the > others in > > gvaluetransform.c file) in order to write the functions to transform > from > > STRING some types. > > > > GDA, has some code to transform them, but may is better to have them in > > GLib; unless you consider that is better that library must register his > own > > custom transformation functions. > > > > I had filed a bug in: > > > > http://bugzilla.gnome.org/show_bug.cgi?id=3D342358 > > i don't think having these in glib makes much sense, as outlined in: > http://mail.gnome.org/archives/gtk-devel-list/2006-May/msg00258.html > reflected in the bug report. > > --- > ciaoTJ > --=20 Trabajar, la mejor arma para tu superaci=F3n "de grano en grano, se hace la arena" (R) (entr=E1mite, pero para los cuate= s: LIBRE) ------=_Part_4149_12028470.1149535377779 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Specificaly in GDA could be usefull if the following types has a From Strin= g Function defined in GLib:

G_TYPE_BOOLEAN
G_TYPE_INT
G_TYPE_U= INT
G_TYPE_INT64
G_TYPE_UINT64
G_TYPE_LONG
G_TYPE_ULONG
G_TY= PE_FLOAT
G_TYPE_DOUBLE


2006/5/24, Ti= m Janik <timj@imendio.com>:
On Fri, 19 May 2006, Daniel Espinosa wrote:

> I'm working on add = functions to GLib to transform a STRING to GLib's types;
> now only e= xists a way to transform to a STRING but not from a STRING; to do

transformations to string are more of a convenience/debugging feature
li= bgobject offers.

> so I need to find the value_transform_int_stri= ng function (and the others in
> gvaluetransform.c file) in order to = write the functions to transform from
> STRING some types.
>
> GDA, has some code to transform= them, but may is better to have them in
> GLib; unless you consider = that is better that library must register his own
> custom transforma= tion functions.
>
> I had filed a bug in:
>
> http://bugzilla.gnome.org/show_b= ug.cgi?id=3D342358

i don't think having these in glib makes much= sense, as outlined in:
   http://mail.gnome.org/archives/gtk-devel-list/2006-M= ay/msg00258.html
reflected in the bug report.

---
ciaoTJ



--
Trabajar, la mejor arma para tu supe= raci=F3n
"de grano en grano, se hace la arena" (R) (entr=E1mit= e, pero para los cuates: LIBRE) ------=_Part_4149_12028470.1149535377779-- From vmalerba@gmail.com Tue Jun 6 04:56:16 2006 Return-Path: X-Original-To: gnome-db-list@gnome.org Delivered-To: gnome-db-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 214AF3B010E for ; Tue, 6 Jun 2006 04:56:16 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 25725-07 for ; Tue, 6 Jun 2006 04:56:11 -0400 (EDT) Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.193]) by menubar.gnome.org (Postfix) with ESMTP id 649633B0BAF for ; Tue, 6 Jun 2006 04:55:52 -0400 (EDT) Received: by nz-out-0102.google.com with SMTP id 9so2290479nzo for ; Tue, 06 Jun 2006 01:55:51 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=fgm2JCvC3MNZPTpAC1O/9bSndNSlzWvXYuvy6jf37M6ie69ZzHh/qFB3KPMATxYjgjj7TUizZXDxeYZKqzjNg2aCVhsl4yYTILzbROVcbsh81p53vELEdqkfCDqGOQwv7RVIW6ZqCl6pWbicse8Qkg7bCiJSfID/AVOdWD+qZ+4= Received: by 10.36.39.9 with SMTP id m9mr224276nzm; Tue, 06 Jun 2006 01:55:51 -0700 (PDT) Received: by 10.36.55.1 with HTTP; Tue, 6 Jun 2006 01:55:51 -0700 (PDT) Message-ID: Date: Tue, 6 Jun 2006 10:55:51 +0200 From: "Vivien Malerba" To: "Daniel Espinosa" Subject: Re: [gnome-db] GValue to String in GLib: Conclusion In-Reply-To: <144160610606051131t3e80ce48q453d62172a83d834@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <144160610606051131t3e80ce48q453d62172a83d834@mail.gmail.com> X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.487 tagged_above=-999 required=2 tests=[AWL=0.113, BAYES_00=-2.599, SPF_PASS=-0.001] X-Spam-Score: -2.487 X-Spam-Level: Cc: gnome-db-list@gnome.org X-BeenThere: gnome-db-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME-DB discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jun 2006 08:56:17 -0000 On 6/5/06, Daniel Espinosa wrote: > I don't find that the developers of GLib want to modify the core of the > library to include the functions to transform a string to the fundamental > types INT, DOUBLE, FLOAT, etc. > > I don't know if I weren't clear enough to explaint that we don't want > "serialization" in GLib, it's just to convert a string to a value not > objects. > > But then, as the following sugestion refer, we can put the code for that > functions in GDA. > > http://mail.gnome.org/archives/gtk-devel-list/2006-May/msg00259.html > > and > > http://mail.gnome.org/archives/gtk-devel-list/2006-May/msg00248.html > > As the last, GStreamer has it's own transformation From/To String for his > own types of values. Right, let's then keep that code in libgda, as GStreamer does... Thanks, Vivien From esodan@gmail.com Wed Jun 7 18:57:19 2006 Return-Path: X-Original-To: gnome-db-list@gnome.org Delivered-To: gnome-db-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id D7D443B0E71 for ; Wed, 7 Jun 2006 18:57:19 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 20852-09 for ; Wed, 7 Jun 2006 18:57:18 -0400 (EDT) Received: from wx-out-0102.google.com (wx-out-0102.google.com [66.249.82.192]) by menubar.gnome.org (Postfix) with ESMTP id 103173B04FF for ; Wed, 7 Jun 2006 18:57:17 -0400 (EDT) Received: by wx-out-0102.google.com with SMTP id i30so304349wxd for ; Wed, 07 Jun 2006 15:57:17 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=brOyTpnAXnWzgkamxyikE9cOQ90NF4F0BvGq1xzQtGPHZ0+SJ3y68cS2sQKIx60C2DcUvhwXAlWWDN+yFc04K05T/Fu+Im8upts9XHh0/eA4jTURyfnyZcxY3HP//u48WrVjncPVazRB2iv6hQqPAP/e5fD1lMAc5Vz78gA1Ouo= Received: by 10.70.44.16 with SMTP id r16mr1306941wxr; Wed, 07 Jun 2006 15:57:17 -0700 (PDT) Received: by 10.70.75.1 with HTTP; Wed, 7 Jun 2006 15:57:17 -0700 (PDT) Message-ID: <144160610606071557l71e0c1b0k7ecc8d1a489201b2@mail.gmail.com> Date: Wed, 7 Jun 2006 17:57:17 -0500 From: "Daniel Espinosa" To: gnome-db-list@gnome.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_5916_6433013.1149721037318" X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.353 tagged_above=-999 required=2 tests=[AWL=0.246, BAYES_00=-2.599, HTML_MESSAGE=0.001, SPF_PASS=-0.001] X-Spam-Score: -2.353 X-Spam-Level: Subject: [gnome-db] GValue from string: CVS - Observation and Proposal X-BeenThere: gnome-db-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME-DB discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jun 2006 22:57:20 -0000 ------=_Part_5916_6433013.1149721037318 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline There are a problem with the implementation, I think, know if you want to transform a value from a string you'll need to use gda_value_set_from_strin= g and that's correct, but: What happen if I want to use the GValue API to transform that value (a string) to other; may be could be more clear to register the transformation functions (the code already exist in the function set_from_string). Then the programer can use a code where he don't need to take care about th= e type of the value he transforms from. if ( g_value_transformable (G_VALUE_TYPE(source), G_VALUE_TYPE(destination)= ) { g_value_transform( source, destination ); UseTheValue(destination); // This function coulde take care about how to use the type of the value passed as argument } else Error(); In the case of use the actual API you allways need to know that the actual value is a string: if ( G_VALUE_TYPE(source) =3D=3D G_TYPE_STRING ) { gda_value_set_from_string( destination, g_value_get_string( source ), G_TYPE_INT); UseTheValue(destination); } else { if ( g_value_transformable (G_VALUE_TYPE(source), G_VALUE_TYPE(destination)) { g_value_transform( source, destination ); UseTheValue(destination); // This function coulde take care about how to use the type of the value passed as argument } else Error(); } --=20 Trabajar, la mejor arma para tu superaci=F3n "de grano en grano, se hace la arena" (R) (entr=E1mite, pero para los cuate= s: LIBRE) ------=_Part_5916_6433013.1149721037318 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline There are a problem with the implementation, I think, know if you want to t= ransform a value from a string you'll need to use gda_value_set_from_string= and that's correct, but:

What happen if I want to use the GValue AP= I to transform that value (a string) to other; may be could be more clear t= o register the transformation functions (the code already exist in the func= tion set_from_string).

Then the programer can use a code where he don't need to take care = about the type of the value he transforms from.

if ( g_value_transfo= rmable (G_VALUE_TYPE(source), G_VALUE_TYPE(destination)) {

 &nb= sp;    g_value_transform( source, destination );

     UseTheValue(destination); // This function= coulde take care about how to use the type of the value passed as argument=
}
else Error();



In the case of use the actual API you= allways need to know that the actual value is a string:

if ( G_VALUE_TYPE(source) =3D=3D G_TYPE_STRING ) {

 &nb= sp;    gda_value_set_from_string( destination, g_value_get_s= tring( source ), G_TYPE_INT);

    =   UseTheValue(destination);
}
else {
   if ( g_valu= e_transformable (G_VALUE_TYPE(source), G_VALUE_TYPE(destination)) {

        g_value_transform( source, desti= nation );

        UseTheValue(destination); // Thi= s function coulde take care about how to use the type of the value passed a= s argument
   }
   else Error();
}


--
Trabajar, la mejor arma para tu superaci=F3n
"de gra= no en grano, se hace la arena" (R) (entr=E1mite, pero para los cuates:= LIBRE) ------=_Part_5916_6433013.1149721037318-- From esodan@gmail.com Thu Jun 8 14:13:35 2006 Return-Path: X-Original-To: gnome-db-list@gnome.org Delivered-To: gnome-db-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 963EE3B0FBA for ; Thu, 8 Jun 2006 14:13:35 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 27351-02 for ; Thu, 8 Jun 2006 14:13:34 -0400 (EDT) Received: from wx-out-0102.google.com (wx-out-0102.google.com [66.249.82.194]) by menubar.gnome.org (Postfix) with ESMTP id 09CA63B0F8B for ; Thu, 8 Jun 2006 14:13:33 -0400 (EDT) Received: by wx-out-0102.google.com with SMTP id i30so458759wxd for ; Thu, 08 Jun 2006 11:13:33 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=T/BrbOB7J0oZnie8C96Lb1ngQtKuKNhyCTM6y8G65WlbrmJ7Fw3EEUcQRibflyHuqgz5bxD0Bbr2Ov+qmgAKZA3A1lL7Rjzfe3cEwLN9QGHknXZBoQvdEmjQq/HOa1UylrcBb6b+vGzF+McbQPSuZzWnTN60rRbbbIxnqAeYOR0= Received: by 10.70.73.4 with SMTP id v4mr2394363wxa; Thu, 08 Jun 2006 11:13:32 -0700 (PDT) Received: by 10.70.75.1 with HTTP; Thu, 8 Jun 2006 11:13:32 -0700 (PDT) Message-ID: <144160610606081113s67997fa5v62842bebf653376a@mail.gmail.com> Date: Thu, 8 Jun 2006 13:13:32 -0500 From: "Daniel Espinosa" To: "F Wolff" In-Reply-To: <1149747620.4485.25.camel@localhost.localdomain> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_5765_15259675.1149790412225" References: <20060605020856.6a722cb9@localhost.localdomain> <1149604559.9167.99.camel@localhost.localdomain> <20060608001728.22f6fa64@localhost.localdomain> <1149747620.4485.25.camel@localhost.localdomain> X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.388 tagged_above=-999 required=2 tests=[AWL=0.211, BAYES_00=-2.599, HTML_MESSAGE=0.001, SPF_PASS=-0.001] X-Spam-Score: -2.388 X-Spam-Level: Cc: translate-pootle@lists.sourceforge.net, gnome-db-list@gnome.org, translate-devel@lists.sourceforge.net Subject: [gnome-db] Re: [translate-pootle] Wordforge X-BeenThere: gnome-db-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME-DB discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jun 2006 18:13:35 -0000 ------=_Part_5765_15259675.1149790412225 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline > > As for specific technology - jToolkit (that we already use) has support > for many databases so we'll probably use that functionality so that we > don't become tied to any specific one. May is better to use the python binding of libgda; it supports may database= s backends and is a GNU implementation (now in development and hope to reach soon version 2.0 with much improviments in the arquitecture and features). --=20 Trabajar, la mejor arma para tu superaci=F3n "de grano en grano, se hace la arena" (R) (entr=E1mite, pero para los cuate= s: LIBRE) ------=_Part_5765_15259675.1149790412225 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline
As for speci= fic technology - jToolkit (that we already use) has support
for many dat= abases so we'll probably use that functionality so that we
don't become tied to any specific one.

May is better to use the python binding of libgda; it supports may databas= es backends and is a GNU implementation (now in development and hope to rea= ch soon version=20 2.0 with much improviments in the arquitecture and features).

--
Trabajar, la mejor arma para tu superaci=F3n
"de gra= no en grano, se hace la arena" (R) (entr=E1mite, pero para los cuates:= LIBRE) ------=_Part_5765_15259675.1149790412225-- From esodan@gmail.com Wed Jun 21 12:46:59 2006 Return-Path: X-Original-To: gnome-db-list@gnome.org Delivered-To: gnome-db-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 91F243B1040 for ; Wed, 21 Jun 2006 12:46:59 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 22248-01 for ; Wed, 21 Jun 2006 12:46:56 -0400 (EDT) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.235]) by menubar.gnome.org (Postfix) with ESMTP id 297953B0F7D for ; Wed, 21 Jun 2006 12:46:56 -0400 (EDT) Received: by wr-out-0506.google.com with SMTP id 37so203484wra for ; Wed, 21 Jun 2006 09:46:55 -0700 (PDT) Received: by 10.54.65.13 with SMTP id n13mr2155517wra; Wed, 21 Jun 2006 09:46:55 -0700 (PDT) Received: by 10.70.75.5 with HTTP; Wed, 21 Jun 2006 09:46:55 -0700 (PDT) Message-ID: <144160610606210946p3cfdf8dar333dbdf8e6ba56f1@mail.gmail.com> Date: Wed, 21 Jun 2006 11:46:55 -0500 From: "Daniel Espinosa" To: "Tristan Van Berkom" In-Reply-To: <44972A48.6040509@gnome.org> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_79684_28669631.1150908415267" References: <44972A48.6040509@gnome.org> X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.075 tagged_above=-999 required=2 tests=[AWL=0.028, BAYES_00=-2.599, HTML_40_50=0.496, HTML_MESSAGE=0.001, SPF_PASS=-0.001] X-Spam-Score: -2.075 X-Spam-Level: Cc: gnome-db-list@gnome.org, Glade Devel Mailing List Subject: Re: [gnome-db] [Glade-devel] Glade-3 going into feature freeze X-BeenThere: gnome-db-list@gnome.org X-Mailman-Version: 2.1.8 Precedence: list List-Id: GNOME-DB discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Jun 2006 16:46:59 -0000 ------=_Part_79684_28669631.1150908415267 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline 2006/6/19, Tristan Van Berkom : > > Hi all, > I am proud to announce that we are nearing the long awaited > initial release of glade-3 ! > > As we are a little excited and ahead of ourselves... it is nescisary to > draw the line on what features are to make it into the initial 3.0release= . > If anyone has noticed anything in recent glade-3 cvs that is missing and > is > not on the TODO list (inline below)... please speak up and let us know :) > > Cheers, > -Tristan > > This is the current list of blockers for 3.0: > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > o Toolbar editor / Popup menu editor (toolbar support now in... needs > editor) > o Unify multiple property changes & dont unify default settings (bug > 315600) > o Properties/undo stack glitches (bug 316900) > o Gnome stock items not recognized by glade-3 (bug 343712) > o Should indicate read-only projects (bug 337957) > o Implement GnomeDB widget catalog. Any tutorial on how to archive the widgets for GnomeDB? GnomeDB is reaching the final 2.0 almost a few time, then I want to work in the new set of widgets. o DevHelp gets spawned with version 0.11 (bug 344043) > o Add/Remove parent container via context menu feature (bug 343786) > o Implement "finish" signal on GladeProject (bug 345353) > > _______________________________________________ > Glade-devel maillist - Glade-devel@lists.ximian.com > http://lists.ximian.com/mailman/listinfo/glade-devel > --=20 Trabajar, la mejor arma para tu superaci=F3n "de grano en grano, se hace la arena" (R) (entr=E1mite, pero para los cuate= s: LIBRE) ------=_Part_79684_28669631.1150908415267 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline

2006/6/19, Tristan Van Berkom <= tristan.van.berkom@gmail.co= m>:
Hi all,
    I am proud to announce that we are neari= ng the long awaited
initial release of glade-3 !

As we are a litt= le excited and ahead of ourselves... it is nescisary to
draw the line on= what features are to make it into the initial=20 3.0 release.
If anyone has noticed anything in recent glade-3 cvs that i= s missing and is
not on the TODO list (inline below)... please speak up = and let us know :)

Cheers,
      &n= bsp;            = ;            &n= bsp;  -Tristan

This is the current list of blockers for 3.0:
=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
o Toolbar editor= / Popup menu editor (toolbar support now in... needs
editor)
o Unif= y multiple property changes & dont unify default settings (bug
315600)
o Properties/undo stack glitches (bug 316900)
o Gnome s= tock items not recognized by glade-3 (bug 343712)
o Should indicate rea= d-only projects (bug 337957)
o Implement GnomeDB widget catalog.

 Any tutoria= l on how to archive the widgets for GnomeDB?
GnomeDB is reaching the fin= al 2.0 almost a few time, then I want to work in the new set of widgets.

o DevH= elp gets spawned with version 0.11 (bug 344043)
o Add/Remove parent con= tainer via context menu feature (bug 343786)
o Implement "finish" signal on GladeProject (bug 345353)
=
_______________________________________________
Glade-devel maillist=   -  Gl= ade-devel@lists.ximian.com
ht= tp://lists.ximian.com/mailman/listinfo/glade-devel



--
Trabajar, la mejor arma para tu superaci= =F3n
"de grano en grano, se hace la arena" (R) (entr=E1mite, pero = para los cuates: LIBRE) ------=_Part_79684_28669631.1150908415267-- From tvb@gnome.org Wed Jun 21 13:06:59 2006 Return-Path: X-Original-To: gnome-db-list@gnome.org Delivered-To: gnome-db-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 632323B01C1 for ; Wed, 21 Jun 2006 13:06:59 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 23710-05 for ; Wed, 21 Jun 2006 13:06:56 -0400 (EDT) Received: from mail.touchtunes.com (mail.touchtunes.com [207.96.182.162]) by menubar.gnome.org (Postfix) with ESMTP id D5FA43B00CC for ; Wed, 21 Jun 2006 13:06:55 -0400 (EDT) Received: from [192.168.0.138] (unknown [192.168.0.138]) by mail.touchtunes.com (Postfix) with ESMTP id 82FBD15AD2; Wed, 21 Jun 2006 13:06:50 -0400 (EDT) Message-ID: <44997EFA.7030204@gnome.org> Date: Wed, 21 Jun 2006 13:16:42 -0400 From: Tristan Van Berkom User-Agent: Mozilla Thunderbird 0.8 (X11/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Daniel Espinosa References: <44972A48.6040509@gnome.org> <144160610606210946p3cfdf8dar333dbdf8e6ba56f1@mail.gmail.com> In-Reply-To: <144160610606210946p3cfdf8dar333dbdf8e6ba56f1@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.555 tagged_above=-999 required=2 tests=[AWL=0.045, BAYES_00=-2.599, SPF_HELO_PASS=-0.001] X-Spam-Score: -2.555 X-Spam-Level: X-Mailman-Approved-At: Wed, 21 Jun 2006 14:52:13 -0400 Cc: gnome-db-list@gnome.org, Tristan Van Berkom , Glade Devel Mailing List Subject: Re: [gnome-db] [Glade-devel] Glade-3 going into feature freeze X-BeenThere: gnome-db-list@gnome.org X-Mailman-Version: 2.1.8 Precedence: list List-Id: GNOME-DB discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Jun 2006 17:06:59 -0000 Daniel Espinosa wrote: [...] > o Implement GnomeDB widget catalog. > > > Any tutorial on how to archive the widgets for GnomeDB? > GnomeDB is reaching the final 2.0 almost a few time, then I want to work in > the new set of widgets. I wonder what you mean by "archive"... there is documentation on integrating widgets into glade3 ... which is what I think you want :) It is installed by the glade-3 tarball... and I am keeping an online copy up-to-date here: http://gnome.org/~tvb/glade_api/ For the moment... we would like to whip up a catalog that supports gnomedb widgets that are currently released. But its probably a good idea to drop the gnomeui catalog and gnomedb catalog from the glade3 package in the long run... and add those packages to gnomedb and gnomeui respectively... let me know what you think :) Cheers, -Tristan From bas.driessen@xobas.com Thu Jun 1 01:36:38 2006 Return-Path: X-Original-To: gnome-db-list@gnome.org Delivered-To: gnome-db-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 910423B00BB for ; Thu, 1 Jun 2006 01:36:38 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 07708-10 for ; Thu, 1 Jun 2006 01:36:35 -0400 (EDT) Received: from syd.xobas.net (unknown [209.135.140.233]) by menubar.gnome.org (Postfix) with ESMTP id 5C44E3B00B7 for ; Thu, 1 Jun 2006 01:36:35 -0400 (EDT) Received: from ams.xobas.com (203-206-43-80.dyn.iinet.net.au [203.206.43.80]) (authenticated bits=0) by syd.xobas.net (8.13.6/8.13.6) with ESMTP id k515abSZ020954 for ; Thu, 1 Jun 2006 15:36:44 +1000 From: Bas Driessen To: GNOME-DB List Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-+jIuJX0UJ2kNDDxDZuPS" Organization: Xobas Software Date: Thu, 01 Jun 2006 15:36:24 +1000 Message-Id: <1149140184.2835.7.camel@ams.xobas.com> Mime-Version: 1.0 X-Mailer: Evolution 2.6.1 (2.6.1-1.fc5.2) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-1.969 tagged_above=-999 required=2 tests=[AWL=0.044, BAYES_00=-2.599, FORGED_RCVD_HELO=0.135, HTML_30_40=0.374, HTML_MESSAGE=0.001, SPF_PASS=-0.001, TW_CN=0.077] X-Spam-Score: -1.969 X-Spam-Level: Subject: [gnome-db] SQL message output. X-BeenThere: gnome-db-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: bas.driessen@xobas.com List-Id: GNOME-DB discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Jun 2006 05:36:38 -0000 --=-+jIuJX0UJ2kNDDxDZuPS Content-Type: multipart/alternative; boundary="=-Dp/ee1zsx7zGbAVnq2Za" --=-Dp/ee1zsx7zGbAVnq2Za Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hello, I noticed that the section below has been added in version 1.50 of file libgda/gda-server-provider.c with as comment "bug fixes" .... : GdaServerProviderInfo *info; info =3D gda_server_provider_get_info (provider, cnc); g_print ("=3D=3D> %s (Provider %s on cnx %p)\n", cmd->text, info->provider_name, cnc); This prints the SQL statement to standard output and will be a great debug and/or log tool. However, can we somehow make this feature optional? I would like to be able to switch this off, since I get swamped with SQL messages now. Thanks, Bas. --=-Dp/ee1zsx7zGbAVnq2Za Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello,

I noticed that the section below has been added in version 1.50 of file lib= gda/gda-server-provider.c with as comment "bug fixes" .... :


GdaServerProviderInfo *info;

info =3D gda_server_provider_get_info (provider, cnc);
g_print ("=3D=3D> %s (Provider %s on cnx %p)\n", cmd->t= ext, info->provider_name, cnc);


This prints the SQL statement to standard output and will be a great debug = and/or log tool. However, can we somehow make this feature optional? I woul= d like to be able to switch this off, since I get swamped with SQL messages= now.


Thanks,
Bas.

--=-Dp/ee1zsx7zGbAVnq2Za-- --=-+jIuJX0UJ2kNDDxDZuPS Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) iD8DBQBEfnzYDNTMG7IqcsoRAsDjAJ9AHPwXk+smbdG8j7JEQASjedbLTgCcDKuK 4ksia6ssE3wqqZzBNT1mCT0= =+efd -----END PGP SIGNATURE----- --=-+jIuJX0UJ2kNDDxDZuPS-- From vmalerba@gmail.com Thu Jun 1 03:29:36 2006 Return-Path: X-Original-To: gnome-db-list@gnome.org Delivered-To: gnome-db-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 081AE3B00B7 for ; Thu, 1 Jun 2006 03:29:36 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 12727-02 for ; Thu, 1 Jun 2006 03:29:33 -0400 (EDT) Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.199]) by menubar.gnome.org (Postfix) with ESMTP id E64183B0C47 for ; Thu, 1 Jun 2006 03:29:32 -0400 (EDT) Received: by nz-out-0102.google.com with SMTP id 9so307554nzo for ; Thu, 01 Jun 2006 00:29:32 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=TgZFQ2qr8eOoJSJEF7GsvSSaMr3G37wDDnVG+imBdmvhj93XkrcBHWEYV7mqR/zEduQXSuFLHHB858Ev0Mz59uelyKm3SH0K4dcH8iSvMt820UKv+PNvnAtqTde5PCsWgSINmIvqN9ScL9EMP33SmB4s1haceD99bVbJ/nO2HAQ= Received: by 10.36.247.53 with SMTP id u53mr457043nzh; Thu, 01 Jun 2006 00:29:32 -0700 (PDT) Received: by 10.36.104.9 with HTTP; Thu, 1 Jun 2006 00:29:32 -0700 (PDT) Message-ID: Date: Thu, 1 Jun 2006 09:29:32 +0200 From: "Vivien Malerba" To: bas.driessen@xobas.com Subject: Re: [gnome-db] SQL message output. In-Reply-To: <1149140184.2835.7.camel@ams.xobas.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1149140184.2835.7.camel@ams.xobas.com> X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.447 tagged_above=-999 required=2 tests=[AWL=0.076, BAYES_00=-2.599, SPF_PASS=-0.001, TW_CN=0.077] X-Spam-Score: -2.447 X-Spam-Level: Cc: GNOME-DB List X-BeenThere: gnome-db-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME-DB discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Jun 2006 07:29:36 -0000 On 6/1/06, Bas Driessen wrote: > > Hello, > > I noticed that the section below has been added in version 1.50 of file > libgda/gda-server-provider.c with as comment "bug fixes" .... : > > > GdaServerProviderInfo *info; > > info = gda_server_provider_get_info (provider, cnc); > g_print ("==> %s (Provider %s on cnx %p)\n", cmd->text, > info->provider_name, cnc); > > > This prints the SQL statement to standard output and will be a great debug > and/or log tool. However, can we somehow make this feature optional? I would > like to be able to switch this off, since I get swamped with SQL messages > now. Yes, sorry for the inconvenience. Add #ifdef GDA_DEBUG before that line and a #endif after it. I'll add that myself next time I do a commit. Cheers, Vivien From esodan@gmail.com Mon Jun 5 14:31:20 2006 Return-Path: X-Original-To: gnome-db-list@gnome.org Delivered-To: gnome-db-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 7CC293B09DE for ; Mon, 5 Jun 2006 14:31:20 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 21460-08 for ; Mon, 5 Jun 2006 14:31:18 -0400 (EDT) Received: from wx-out-0102.google.com (wx-out-0102.google.com [66.249.82.204]) by menubar.gnome.org (Postfix) with ESMTP id AC55D3B0954 for ; Mon, 5 Jun 2006 14:31:18 -0400 (EDT) Received: by wx-out-0102.google.com with SMTP id i30so1218302wxd for ; Mon, 05 Jun 2006 11:31:18 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=T3Z02ur/6jhBjHcTuRievbBTcw/pXS+jT+l+67H/S1WRGSKlpM933iCTSU0Jkix8d9cdIPwG77hGyQwMSNSbGsFeIZX+WUWD6k5nwCjnFTdfG/XmOZof12A+D75f+2Z6og8xRuzB7MP73WGTEKZO5o/dRrTnxZFJAgk9YRsrtos= Received: by 10.70.89.19 with SMTP id m19mr6376212wxb; Mon, 05 Jun 2006 11:31:18 -0700 (PDT) Received: by 10.70.75.1 with HTTP; Mon, 5 Jun 2006 11:31:18 -0700 (PDT) Message-ID: <144160610606051131t3e80ce48q453d62172a83d834@mail.gmail.com> Date: Mon, 5 Jun 2006 13:31:18 -0500 From: "Daniel Espinosa" To: gnome-db-list@gnome.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_3349_14190453.1149532278021" X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.564 tagged_above=-999 required=2 tests=[AWL=0.035, BAYES_00=-2.599, HTML_MESSAGE=0.001, SPF_PASS=-0.001] X-Spam-Score: -2.564 X-Spam-Level: Subject: [gnome-db] GValue to String in GLib: Conclusion X-BeenThere: gnome-db-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME-DB discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Jun 2006 18:31:20 -0000 ------=_Part_3349_14190453.1149532278021 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline I don't find that the developers of GLib want to modify the core of the library to include the functions to transform a string to the fundamental types INT, DOUBLE, FLOAT, etc. I don't know if I weren't clear enough to explaint that we don't want "serialization" in GLib, it's just to convert a string to a value not objects. But then, as the following sugestion refer, we can put the code for that functions in GDA. http://mail.gnome.org/archives/gtk-devel-list/2006-May/msg00259.html and http://mail.gnome.org/archives/gtk-devel-list/2006-May/msg00248.html As the last, GStreamer has it's own transformation From/To String for his own types of values. --=20 Trabajar, la mejor arma para tu superaci=F3n "de grano en grano, se hace la arena" (R) (entr=E1mite, pero para los cuate= s: LIBRE) ------=_Part_3349_14190453.1149532278021 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline I don't find that the developers of GLib want to modify the core of the lib= rary to include the functions to transform a string to the fundamental type= s INT, DOUBLE, FLOAT, etc.

I don't know if I weren't clear enough to= explaint that we don't want "serialization" in GLib, it's just t= o convert a string to a value not objects.

But then, as the following sugestion refer, we can put the code for= that functions in GDA.

http://mail.gnome.org/archives/gtk-dev= el-list/2006-May/msg00259.html

and

http://mail.gnome.org/archives/gtk-devel-list= /2006-May/msg00248.html

As the last, GStreamer has it's own tran= sformation From/To String for his own types of values.

--
Trabajar, la mejor arma para tu superaci=F3n"de grano en grano, se hace la arena" (R) (entr=E1mite, pero pa= ra los cuates: LIBRE) ------=_Part_3349_14190453.1149532278021-- From esodan@gmail.com Mon Jun 5 14:33:47 2006 Return-Path: X-Original-To: gnome-db-list@gnome.org Delivered-To: gnome-db-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id C12333B09EF for ; Mon, 5 Jun 2006 14:33:47 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 21602-07 for ; Mon, 5 Jun 2006 14:33:46 -0400 (EDT) Received: from wx-out-0102.google.com (wx-out-0102.google.com [66.249.82.193]) by menubar.gnome.org (Postfix) with ESMTP id 064193B0954 for ; Mon, 5 Jun 2006 14:33:45 -0400 (EDT) Received: by wx-out-0102.google.com with SMTP id i30so1218631wxd for ; Mon, 05 Jun 2006 11:33:45 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=FRKnVW1nlh6D6h/lo6ZRrlTD2OM08KjKujOtNEQEadV3GlNOVFebdPyNPvzIzwEma2neOHXZhT2yIGb0AH1/HVoRNUj3JmwaT5ZrOr+4bwksuhqBwtIuDVAJ0oCwY2mFQFer9lMvi5xnkVmN+1uJfkjb6qbLRDercIbbc7X9vuQ= Received: by 10.70.130.14 with SMTP id c14mr6379321wxd; Mon, 05 Jun 2006 11:33:45 -0700 (PDT) Received: by 10.70.75.1 with HTTP; Mon, 5 Jun 2006 11:33:45 -0700 (PDT) Message-ID: <144160610606051133s65a096b7me0070b8fc95d9581@mail.gmail.com> Date: Mon, 5 Jun 2006 13:33:45 -0500 From: "Daniel Espinosa" To: gnome-db-list@gnome.org In-Reply-To: <144160610606051131t3e80ce48q453d62172a83d834@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_3389_24083357.1149532425173" References: <144160610606051131t3e80ce48q453d62172a83d834@mail.gmail.com> X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.327 tagged_above=-999 required=2 tests=[AWL=-0.224, BAYES_00=-2.599, HTML_40_50=0.496, HTML_MESSAGE=0.001, SPF_PASS=-0.001] X-Spam-Score: -2.327 X-Spam-Level: Subject: [gnome-db] Re: GValue to String in GLib: Conclusion X-BeenThere: gnome-db-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME-DB discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Jun 2006 18:33:47 -0000 ------=_Part_3389_24083357.1149532425173 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Even that I had reopened the bug to Add functions just for the fundamental types. http://bugzilla.gnome.org/show_bug.cgi?id=3D342358 2006/6/5, Daniel Espinosa : > > I don't find that the developers of GLib want to modify the core of the > library to include the functions to transform a string to the fundamental > types INT, DOUBLE, FLOAT, etc. > > I don't know if I weren't clear enough to explaint that we don't want > "serialization" in GLib, it's just to convert a string to a value not > objects. > > But then, as the following sugestion refer, we can put the code for that > functions in GDA. > > http://mail.gnome.org/archives/gtk-devel-list/2006-May/msg00259.html > > and > > http://mail.gnome.org/archives/gtk-devel-list/2006-May/msg00248.html > > As the last, GStreamer has it's own transformation From/To String for his > own types of values. > > -- > Trabajar, la mejor arma para tu superaci=F3n > "de grano en grano, se hace la arena" (R) (entr=E1mite, pero para los > cuates: LIBRE) > --=20 Trabajar, la mejor arma para tu superaci=F3n "de grano en grano, se hace la arena" (R) (entr=E1mite, pero para los cuate= s: LIBRE) ------=_Part_3389_24083357.1149532425173 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Even that I had reopened the bug to Add functions just for the fundamental = types.


http://bugzi= lla.gnome.org/show_bug.cgi?id=3D342358

2006/6/5, Daniel Espinosa <e= sodan@gmail.com >:
<= div>I don't find that the developers of GLib want to modify the core of the= library to include the functions to transform a string to the fundamental = types INT, DOUBLE, FLOAT, etc.

I don't know if I weren't clear enough to explaint that we don't wa= nt "serialization" in GLib, it's just to convert a string to a va= lue not objects.

But then, as the following sugestion refer, we can put the code for= that functions in GDA.

http://mail.gnome.org/archives/gtk-devel-list/2006-May/msg00259.html

and

http://mail.gnome.org/archives/gtk-devel-list= /2006-May/msg00248.html

As the last, GStreamer has it's own transformation From/To Stri= ng for his own types of values.

--
Trabajar, la mej= or arma para tu superaci=F3n
"de grano en grano, se hace la arena&q= uot; (R) (entr=E1mite, pero para los cuates: LIBRE)



--
Trabajar, = la mejor arma para tu superaci=F3n
"de grano en grano, se hace la a= rena" (R) (entr=E1mite, pero para los cuates: LIBRE) ------=_Part_3389_24083357.1149532425173-- From esodan@gmail.com Mon Jun 5 15:23:05 2006 Return-Path: X-Original-To: gnome-db-list@gnome.org Delivered-To: gnome-db-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 255403B04F7 for ; Mon, 5 Jun 2006 15:23:05 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 24814-07 for ; Mon, 5 Jun 2006 15:23:03 -0400 (EDT) Received: from wx-out-0102.google.com (wx-out-0102.google.com [66.249.82.207]) by menubar.gnome.org (Postfix) with ESMTP id 19FEC3B00BE for ; Mon, 5 Jun 2006 15:23:03 -0400 (EDT) Received: by wx-out-0102.google.com with SMTP id i30so1227761wxd for ; Mon, 05 Jun 2006 12:23:02 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=cvsYQffUM0aGgCeS7jB8oJuePQLGdU27XdRa4SXCGY9jSHUFLfSpqkS8RgbEioisz0ssINVAaRqI5RaaN+bYMOLU2RVDDyD2JToV8XsjAXdJ4CsCLmUTSpvcD0M8fPGI0vWGq1Y7GWLyBfFzyqesSv6vCLawTqaiASji2N1wK+o= Received: by 10.70.69.8 with SMTP id r8mr6434300wxa; Mon, 05 Jun 2006 12:22:57 -0700 (PDT) Received: by 10.70.75.1 with HTTP; Mon, 5 Jun 2006 12:22:57 -0700 (PDT) Message-ID: <144160610606051222k6dc2a872ycf0360f26a338718@mail.gmail.com> Date: Mon, 5 Jun 2006 14:22:57 -0500 From: "Daniel Espinosa" To: "Tim Janik" In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_4149_12028470.1149535377779" References: <144160610605190934j3f96d985rf46013b5e1af8198@mail.gmail.com> X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.332 tagged_above=-999 required=2 tests=[AWL=-0.107, BAYES_00=-2.599, HTML_30_40=0.374, HTML_MESSAGE=0.001, SPF_PASS=-0.001] X-Spam-Score: -2.332 X-Spam-Level: Cc: Gtk+ Developers , gnome-db-list@gnome.org Subject: [gnome-db] Re: Transformation functions from G_TYPE_STRING to G_TYPE_any X-BeenThere: gnome-db-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME-DB discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Jun 2006 19:23:05 -0000 ------=_Part_4149_12028470.1149535377779 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Specificaly in GDA could be usefull if the following types has a From Strin= g Function defined in GLib: G_TYPE_BOOLEAN G_TYPE_INT G_TYPE_UINT G_TYPE_INT64 G_TYPE_UINT64 G_TYPE_LONG G_TYPE_ULONG G_TYPE_FLOAT G_TYPE_DOUBLE 2006/5/24, Tim Janik : > > On Fri, 19 May 2006, Daniel Espinosa wrote: > > > I'm working on add functions to GLib to transform a STRING to GLib's > types; > > now only exists a way to transform to a STRING but not from a STRING; t= o > do > > transformations to string are more of a convenience/debugging feature > libgobject offers. > > > so I need to find the value_transform_int_string function (and the > others in > > gvaluetransform.c file) in order to write the functions to transform > from > > STRING some types. > > > > GDA, has some code to transform them, but may is better to have them in > > GLib; unless you consider that is better that library must register his > own > > custom transformation functions. > > > > I had filed a bug in: > > > > http://bugzilla.gnome.org/show_bug.cgi?id=3D342358 > > i don't think having these in glib makes much sense, as outlined in: > http://mail.gnome.org/archives/gtk-devel-list/2006-May/msg00258.html > reflected in the bug report. > > --- > ciaoTJ > --=20 Trabajar, la mejor arma para tu superaci=F3n "de grano en grano, se hace la arena" (R) (entr=E1mite, pero para los cuate= s: LIBRE) ------=_Part_4149_12028470.1149535377779 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Specificaly in GDA could be usefull if the following types has a From Strin= g Function defined in GLib:

G_TYPE_BOOLEAN
G_TYPE_INT
G_TYPE_U= INT
G_TYPE_INT64
G_TYPE_UINT64
G_TYPE_LONG
G_TYPE_ULONG
G_TY= PE_FLOAT
G_TYPE_DOUBLE


2006/5/24, Ti= m Janik <timj@imendio.com>:
On Fri, 19 May 2006, Daniel Espinosa wrote:

> I'm working on add = functions to GLib to transform a STRING to GLib's types;
> now only e= xists a way to transform to a STRING but not from a STRING; to do

transformations to string are more of a convenience/debugging feature
li= bgobject offers.

> so I need to find the value_transform_int_stri= ng function (and the others in
> gvaluetransform.c file) in order to = write the functions to transform from
> STRING some types.
>
> GDA, has some code to transform= them, but may is better to have them in
> GLib; unless you consider = that is better that library must register his own
> custom transforma= tion functions.
>
> I had filed a bug in:
>
> http://bugzilla.gnome.org/show_b= ug.cgi?id=3D342358

i don't think having these in glib makes much= sense, as outlined in:
   http://mail.gnome.org/archives/gtk-devel-list/2006-M= ay/msg00258.html
reflected in the bug report.

---
ciaoTJ



--
Trabajar, la mejor arma para tu supe= raci=F3n
"de grano en grano, se hace la arena" (R) (entr=E1mit= e, pero para los cuates: LIBRE) ------=_Part_4149_12028470.1149535377779-- From vmalerba@gmail.com Tue Jun 6 04:56:16 2006 Return-Path: X-Original-To: gnome-db-list@gnome.org Delivered-To: gnome-db-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 214AF3B010E for ; Tue, 6 Jun 2006 04:56:16 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 25725-07 for ; Tue, 6 Jun 2006 04:56:11 -0400 (EDT) Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.193]) by menubar.gnome.org (Postfix) with ESMTP id 649633B0BAF for ; Tue, 6 Jun 2006 04:55:52 -0400 (EDT) Received: by nz-out-0102.google.com with SMTP id 9so2290479nzo for ; Tue, 06 Jun 2006 01:55:51 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=fgm2JCvC3MNZPTpAC1O/9bSndNSlzWvXYuvy6jf37M6ie69ZzHh/qFB3KPMATxYjgjj7TUizZXDxeYZKqzjNg2aCVhsl4yYTILzbROVcbsh81p53vELEdqkfCDqGOQwv7RVIW6ZqCl6pWbicse8Qkg7bCiJSfID/AVOdWD+qZ+4= Received: by 10.36.39.9 with SMTP id m9mr224276nzm; Tue, 06 Jun 2006 01:55:51 -0700 (PDT) Received: by 10.36.55.1 with HTTP; Tue, 6 Jun 2006 01:55:51 -0700 (PDT) Message-ID: Date: Tue, 6 Jun 2006 10:55:51 +0200 From: "Vivien Malerba" To: "Daniel Espinosa" Subject: Re: [gnome-db] GValue to String in GLib: Conclusion In-Reply-To: <144160610606051131t3e80ce48q453d62172a83d834@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <144160610606051131t3e80ce48q453d62172a83d834@mail.gmail.com> X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.487 tagged_above=-999 required=2 tests=[AWL=0.113, BAYES_00=-2.599, SPF_PASS=-0.001] X-Spam-Score: -2.487 X-Spam-Level: Cc: gnome-db-list@gnome.org X-BeenThere: gnome-db-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME-DB discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jun 2006 08:56:17 -0000 On 6/5/06, Daniel Espinosa wrote: > I don't find that the developers of GLib want to modify the core of the > library to include the functions to transform a string to the fundamental > types INT, DOUBLE, FLOAT, etc. > > I don't know if I weren't clear enough to explaint that we don't want > "serialization" in GLib, it's just to convert a string to a value not > objects. > > But then, as the following sugestion refer, we can put the code for that > functions in GDA. > > http://mail.gnome.org/archives/gtk-devel-list/2006-May/msg00259.html > > and > > http://mail.gnome.org/archives/gtk-devel-list/2006-May/msg00248.html > > As the last, GStreamer has it's own transformation From/To String for his > own types of values. Right, let's then keep that code in libgda, as GStreamer does... Thanks, Vivien From esodan@gmail.com Wed Jun 7 18:57:19 2006 Return-Path: X-Original-To: gnome-db-list@gnome.org Delivered-To: gnome-db-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id D7D443B0E71 for ; Wed, 7 Jun 2006 18:57:19 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 20852-09 for ; Wed, 7 Jun 2006 18:57:18 -0400 (EDT) Received: from wx-out-0102.google.com (wx-out-0102.google.com [66.249.82.192]) by menubar.gnome.org (Postfix) with ESMTP id 103173B04FF for ; Wed, 7 Jun 2006 18:57:17 -0400 (EDT) Received: by wx-out-0102.google.com with SMTP id i30so304349wxd for ; Wed, 07 Jun 2006 15:57:17 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=brOyTpnAXnWzgkamxyikE9cOQ90NF4F0BvGq1xzQtGPHZ0+SJ3y68cS2sQKIx60C2DcUvhwXAlWWDN+yFc04K05T/Fu+Im8upts9XHh0/eA4jTURyfnyZcxY3HP//u48WrVjncPVazRB2iv6hQqPAP/e5fD1lMAc5Vz78gA1Ouo= Received: by 10.70.44.16 with SMTP id r16mr1306941wxr; Wed, 07 Jun 2006 15:57:17 -0700 (PDT) Received: by 10.70.75.1 with HTTP; Wed, 7 Jun 2006 15:57:17 -0700 (PDT) Message-ID: <144160610606071557l71e0c1b0k7ecc8d1a489201b2@mail.gmail.com> Date: Wed, 7 Jun 2006 17:57:17 -0500 From: "Daniel Espinosa" To: gnome-db-list@gnome.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_5916_6433013.1149721037318" X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.353 tagged_above=-999 required=2 tests=[AWL=0.246, BAYES_00=-2.599, HTML_MESSAGE=0.001, SPF_PASS=-0.001] X-Spam-Score: -2.353 X-Spam-Level: Subject: [gnome-db] GValue from string: CVS - Observation and Proposal X-BeenThere: gnome-db-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME-DB discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jun 2006 22:57:20 -0000 ------=_Part_5916_6433013.1149721037318 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline There are a problem with the implementation, I think, know if you want to transform a value from a string you'll need to use gda_value_set_from_strin= g and that's correct, but: What happen if I want to use the GValue API to transform that value (a string) to other; may be could be more clear to register the transformation functions (the code already exist in the function set_from_string). Then the programer can use a code where he don't need to take care about th= e type of the value he transforms from. if ( g_value_transformable (G_VALUE_TYPE(source), G_VALUE_TYPE(destination)= ) { g_value_transform( source, destination ); UseTheValue(destination); // This function coulde take care about how to use the type of the value passed as argument } else Error(); In the case of use the actual API you allways need to know that the actual value is a string: if ( G_VALUE_TYPE(source) =3D=3D G_TYPE_STRING ) { gda_value_set_from_string( destination, g_value_get_string( source ), G_TYPE_INT); UseTheValue(destination); } else { if ( g_value_transformable (G_VALUE_TYPE(source), G_VALUE_TYPE(destination)) { g_value_transform( source, destination ); UseTheValue(destination); // This function coulde take care about how to use the type of the value passed as argument } else Error(); } --=20 Trabajar, la mejor arma para tu superaci=F3n "de grano en grano, se hace la arena" (R) (entr=E1mite, pero para los cuate= s: LIBRE) ------=_Part_5916_6433013.1149721037318 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline There are a problem with the implementation, I think, know if you want to t= ransform a value from a string you'll need to use gda_value_set_from_string= and that's correct, but:

What happen if I want to use the GValue AP= I to transform that value (a string) to other; may be could be more clear t= o register the transformation functions (the code already exist in the func= tion set_from_string).

Then the programer can use a code where he don't need to take care = about the type of the value he transforms from.

if ( g_value_transfo= rmable (G_VALUE_TYPE(source), G_VALUE_TYPE(destination)) {

 &nb= sp;    g_value_transform( source, destination );

     UseTheValue(destination); // This function= coulde take care about how to use the type of the value passed as argument=
}
else Error();



In the case of use the actual API you= allways need to know that the actual value is a string:

if ( G_VALUE_TYPE(source) =3D=3D G_TYPE_STRING ) {

 &nb= sp;    gda_value_set_from_string( destination, g_value_get_s= tring( source ), G_TYPE_INT);

    =   UseTheValue(destination);
}
else {
   if ( g_valu= e_transformable (G_VALUE_TYPE(source), G_VALUE_TYPE(destination)) {

        g_value_transform( source, desti= nation );

        UseTheValue(destination); // Thi= s function coulde take care about how to use the type of the value passed a= s argument
   }
   else Error();
}


--
Trabajar, la mejor arma para tu superaci=F3n
"de gra= no en grano, se hace la arena" (R) (entr=E1mite, pero para los cuates:= LIBRE) ------=_Part_5916_6433013.1149721037318-- From esodan@gmail.com Thu Jun 8 14:13:35 2006 Return-Path: X-Original-To: gnome-db-list@gnome.org Delivered-To: gnome-db-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 963EE3B0FBA for ; Thu, 8 Jun 2006 14:13:35 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 27351-02 for ; Thu, 8 Jun 2006 14:13:34 -0400 (EDT) Received: from wx-out-0102.google.com (wx-out-0102.google.com [66.249.82.194]) by menubar.gnome.org (Postfix) with ESMTP id 09CA63B0F8B for ; Thu, 8 Jun 2006 14:13:33 -0400 (EDT) Received: by wx-out-0102.google.com with SMTP id i30so458759wxd for ; Thu, 08 Jun 2006 11:13:33 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=T/BrbOB7J0oZnie8C96Lb1ngQtKuKNhyCTM6y8G65WlbrmJ7Fw3EEUcQRibflyHuqgz5bxD0Bbr2Ov+qmgAKZA3A1lL7Rjzfe3cEwLN9QGHknXZBoQvdEmjQq/HOa1UylrcBb6b+vGzF+McbQPSuZzWnTN60rRbbbIxnqAeYOR0= Received: by 10.70.73.4 with SMTP id v4mr2394363wxa; Thu, 08 Jun 2006 11:13:32 -0700 (PDT) Received: by 10.70.75.1 with HTTP; Thu, 8 Jun 2006 11:13:32 -0700 (PDT) Message-ID: <144160610606081113s67997fa5v62842bebf653376a@mail.gmail.com> Date: Thu, 8 Jun 2006 13:13:32 -0500 From: "Daniel Espinosa" To: "F Wolff" In-Reply-To: <1149747620.4485.25.camel@localhost.localdomain> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_5765_15259675.1149790412225" References: <20060605020856.6a722cb9@localhost.localdomain> <1149604559.9167.99.camel@localhost.localdomain> <20060608001728.22f6fa64@localhost.localdomain> <1149747620.4485.25.camel@localhost.localdomain> X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.388 tagged_above=-999 required=2 tests=[AWL=0.211, BAYES_00=-2.599, HTML_MESSAGE=0.001, SPF_PASS=-0.001] X-Spam-Score: -2.388 X-Spam-Level: Cc: translate-pootle@lists.sourceforge.net, gnome-db-list@gnome.org, translate-devel@lists.sourceforge.net Subject: [gnome-db] Re: [translate-pootle] Wordforge X-BeenThere: gnome-db-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME-DB discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jun 2006 18:13:35 -0000 ------=_Part_5765_15259675.1149790412225 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline > > As for specific technology - jToolkit (that we already use) has support > for many databases so we'll probably use that functionality so that we > don't become tied to any specific one. May is better to use the python binding of libgda; it supports may database= s backends and is a GNU implementation (now in development and hope to reach soon version 2.0 with much improviments in the arquitecture and features). --=20 Trabajar, la mejor arma para tu superaci=F3n "de grano en grano, se hace la arena" (R) (entr=E1mite, pero para los cuate= s: LIBRE) ------=_Part_5765_15259675.1149790412225 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline
As for speci= fic technology - jToolkit (that we already use) has support
for many dat= abases so we'll probably use that functionality so that we
don't become tied to any specific one.

May is better to use the python binding of libgda; it supports may databas= es backends and is a GNU implementation (now in development and hope to rea= ch soon version=20 2.0 with much improviments in the arquitecture and features).

--
Trabajar, la mejor arma para tu superaci=F3n
"de gra= no en grano, se hace la arena" (R) (entr=E1mite, pero para los cuates:= LIBRE) ------=_Part_5765_15259675.1149790412225-- From esodan@gmail.com Wed Jun 21 12:46:59 2006 Return-Path: X-Original-To: gnome-db-list@gnome.org Delivered-To: gnome-db-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 91F243B1040 for ; Wed, 21 Jun 2006 12:46:59 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 22248-01 for ; Wed, 21 Jun 2006 12:46:56 -0400 (EDT) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.235]) by menubar.gnome.org (Postfix) with ESMTP id 297953B0F7D for ; Wed, 21 Jun 2006 12:46:56 -0400 (EDT) Received: by wr-out-0506.google.com with SMTP id 37so203484wra for ; Wed, 21 Jun 2006 09:46:55 -0700 (PDT) Received: by 10.54.65.13 with SMTP id n13mr2155517wra; Wed, 21 Jun 2006 09:46:55 -0700 (PDT) Received: by 10.70.75.5 with HTTP; Wed, 21 Jun 2006 09:46:55 -0700 (PDT) Message-ID: <144160610606210946p3cfdf8dar333dbdf8e6ba56f1@mail.gmail.com> Date: Wed, 21 Jun 2006 11:46:55 -0500 From: "Daniel Espinosa" To: "Tristan Van Berkom" In-Reply-To: <44972A48.6040509@gnome.org> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_79684_28669631.1150908415267" References: <44972A48.6040509@gnome.org> X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.075 tagged_above=-999 required=2 tests=[AWL=0.028, BAYES_00=-2.599, HTML_40_50=0.496, HTML_MESSAGE=0.001, SPF_PASS=-0.001] X-Spam-Score: -2.075 X-Spam-Level: Cc: gnome-db-list@gnome.org, Glade Devel Mailing List Subject: Re: [gnome-db] [Glade-devel] Glade-3 going into feature freeze X-BeenThere: gnome-db-list@gnome.org X-Mailman-Version: 2.1.8 Precedence: list List-Id: GNOME-DB discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Jun 2006 16:46:59 -0000 ------=_Part_79684_28669631.1150908415267 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline 2006/6/19, Tristan Van Berkom : > > Hi all, > I am proud to announce that we are nearing the long awaited > initial release of glade-3 ! > > As we are a little excited and ahead of ourselves... it is nescisary to > draw the line on what features are to make it into the initial 3.0release= . > If anyone has noticed anything in recent glade-3 cvs that is missing and > is > not on the TODO list (inline below)... please speak up and let us know :) > > Cheers, > -Tristan > > This is the current list of blockers for 3.0: > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > o Toolbar editor / Popup menu editor (toolbar support now in... needs > editor) > o Unify multiple property changes & dont unify default settings (bug > 315600) > o Properties/undo stack glitches (bug 316900) > o Gnome stock items not recognized by glade-3 (bug 343712) > o Should indicate read-only projects (bug 337957) > o Implement GnomeDB widget catalog. Any tutorial on how to archive the widgets for GnomeDB? GnomeDB is reaching the final 2.0 almost a few time, then I want to work in the new set of widgets. o DevHelp gets spawned with version 0.11 (bug 344043) > o Add/Remove parent container via context menu feature (bug 343786) > o Implement "finish" signal on GladeProject (bug 345353) > > _______________________________________________ > Glade-devel maillist - Glade-devel@lists.ximian.com > http://lists.ximian.com/mailman/listinfo/glade-devel > --=20 Trabajar, la mejor arma para tu superaci=F3n "de grano en grano, se hace la arena" (R) (entr=E1mite, pero para los cuate= s: LIBRE) ------=_Part_79684_28669631.1150908415267 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline

2006/6/19, Tristan Van Berkom <= tristan.van.berkom@gmail.co= m>:
Hi all,
    I am proud to announce that we are neari= ng the long awaited
initial release of glade-3 !

As we are a litt= le excited and ahead of ourselves... it is nescisary to
draw the line on= what features are to make it into the initial=20 3.0 release.
If anyone has noticed anything in recent glade-3 cvs that i= s missing and is
not on the TODO list (inline below)... please speak up = and let us know :)

Cheers,
      &n= bsp;            = ;            &n= bsp;  -Tristan

This is the current list of blockers for 3.0:
=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
o Toolbar editor= / Popup menu editor (toolbar support now in... needs
editor)
o Unif= y multiple property changes & dont unify default settings (bug
315600)
o Properties/undo stack glitches (bug 316900)
o Gnome s= tock items not recognized by glade-3 (bug 343712)
o Should indicate rea= d-only projects (bug 337957)
o Implement GnomeDB widget catalog.

 Any tutoria= l on how to archive the widgets for GnomeDB?
GnomeDB is reaching the fin= al 2.0 almost a few time, then I want to work in the new set of widgets.

o DevH= elp gets spawned with version 0.11 (bug 344043)
o Add/Remove parent con= tainer via context menu feature (bug 343786)
o Implement "finish" signal on GladeProject (bug 345353)
=
_______________________________________________
Glade-devel maillist=   -  Gl= ade-devel@lists.ximian.com
ht= tp://lists.ximian.com/mailman/listinfo/glade-devel



--
Trabajar, la mejor arma para tu superaci= =F3n
"de grano en grano, se hace la arena" (R) (entr=E1mite, pero = para los cuates: LIBRE) ------=_Part_79684_28669631.1150908415267-- From tvb@gnome.org Wed Jun 21 13:06:59 2006 Return-Path: X-Original-To: gnome-db-list@gnome.org Delivered-To: gnome-db-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 632323B01C1 for ; Wed, 21 Jun 2006 13:06:59 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 23710-05 for ; Wed, 21 Jun 2006 13:06:56 -0400 (EDT) Received: from mail.touchtunes.com (mail.touchtunes.com [207.96.182.162]) by menubar.gnome.org (Postfix) with ESMTP id D5FA43B00CC for ; Wed, 21 Jun 2006 13:06:55 -0400 (EDT) Received: from [192.168.0.138] (unknown [192.168.0.138]) by mail.touchtunes.com (Postfix) with ESMTP id 82FBD15AD2; Wed, 21 Jun 2006 13:06:50 -0400 (EDT) Message-ID: <44997EFA.7030204@gnome.org> Date: Wed, 21 Jun 2006 13:16:42 -0400 From: Tristan Van Berkom User-Agent: Mozilla Thunderbird 0.8 (X11/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Daniel Espinosa References: <44972A48.6040509@gnome.org> <144160610606210946p3cfdf8dar333dbdf8e6ba56f1@mail.gmail.com> In-Reply-To: <144160610606210946p3cfdf8dar333dbdf8e6ba56f1@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.555 tagged_above=-999 required=2 tests=[AWL=0.045, BAYES_00=-2.599, SPF_HELO_PASS=-0.001] X-Spam-Score: -2.555 X-Spam-Level: X-Mailman-Approved-At: Wed, 21 Jun 2006 14:52:13 -0400 Cc: gnome-db-list@gnome.org, Tristan Van Berkom , Glade Devel Mailing List Subject: Re: [gnome-db] [Glade-devel] Glade-3 going into feature freeze X-BeenThere: gnome-db-list@gnome.org X-Mailman-Version: 2.1.8 Precedence: list List-Id: GNOME-DB discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Jun 2006 17:06:59 -0000 Daniel Espinosa wrote: [...] > o Implement GnomeDB widget catalog. > > > Any tutorial on how to archive the widgets for GnomeDB? > GnomeDB is reaching the final 2.0 almost a few time, then I want to work in > the new set of widgets. I wonder what you mean by "archive"... there is documentation on integrating widgets into glade3 ... which is what I think you want :) It is installed by the glade-3 tarball... and I am keeping an online copy up-to-date here: http://gnome.org/~tvb/glade_api/ For the moment... we would like to whip up a catalog that supports gnomedb widgets that are currently released. But its probably a good idea to drop the gnomeui catalog and gnomedb catalog from the glade3 package in the long run... and add those packages to gnomedb and gnomeui respectively... let me know what you think :) Cheers, -Tristan From bas.driessen@xobas.com Thu Jun 1 01:36:38 2006 Return-Path: X-Original-To: gnome-db-list@gnome.org Delivered-To: gnome-db-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 910423B00BB for ; Thu, 1 Jun 2006 01:36:38 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 07708-10 for ; Thu, 1 Jun 2006 01:36:35 -0400 (EDT) Received: from syd.xobas.net (unknown [209.135.140.233]) by menubar.gnome.org (Postfix) with ESMTP id 5C44E3B00B7 for ; Thu, 1 Jun 2006 01:36:35 -0400 (EDT) Received: from ams.xobas.com (203-206-43-80.dyn.iinet.net.au [203.206.43.80]) (authenticated bits=0) by syd.xobas.net (8.13.6/8.13.6) with ESMTP id k515abSZ020954 for ; Thu, 1 Jun 2006 15:36:44 +1000 From: Bas Driessen To: GNOME-DB List Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-+jIuJX0UJ2kNDDxDZuPS" Organization: Xobas Software Date: Thu, 01 Jun 2006 15:36:24 +1000 Message-Id: <1149140184.2835.7.camel@ams.xobas.com> Mime-Version: 1.0 X-Mailer: Evolution 2.6.1 (2.6.1-1.fc5.2) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-1.969 tagged_above=-999 required=2 tests=[AWL=0.044, BAYES_00=-2.599, FORGED_RCVD_HELO=0.135, HTML_30_40=0.374, HTML_MESSAGE=0.001, SPF_PASS=-0.001, TW_CN=0.077] X-Spam-Score: -1.969 X-Spam-Level: Subject: [gnome-db] SQL message output. X-BeenThere: gnome-db-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: bas.driessen@xobas.com List-Id: GNOME-DB discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Jun 2006 05:36:38 -0000 --=-+jIuJX0UJ2kNDDxDZuPS Content-Type: multipart/alternative; boundary="=-Dp/ee1zsx7zGbAVnq2Za" --=-Dp/ee1zsx7zGbAVnq2Za Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hello, I noticed that the section below has been added in version 1.50 of file libgda/gda-server-provider.c with as comment "bug fixes" .... : GdaServerProviderInfo *info; info =3D gda_server_provider_get_info (provider, cnc); g_print ("=3D=3D> %s (Provider %s on cnx %p)\n", cmd->text, info->provider_name, cnc); This prints the SQL statement to standard output and will be a great debug and/or log tool. However, can we somehow make this feature optional? I would like to be able to switch this off, since I get swamped with SQL messages now. Thanks, Bas. --=-Dp/ee1zsx7zGbAVnq2Za Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello,

I noticed that the section below has been added in version 1.50 of file lib= gda/gda-server-provider.c with as comment "bug fixes" .... :


GdaServerProviderInfo *info;

info =3D gda_server_provider_get_info (provider, cnc);
g_print ("=3D=3D> %s (Provider %s on cnx %p)\n", cmd->t= ext, info->provider_name, cnc);


This prints the SQL statement to standard output and will be a great debug = and/or log tool. However, can we somehow make this feature optional? I woul= d like to be able to switch this off, since I get swamped with SQL messages= now.


Thanks,
Bas.

--=-Dp/ee1zsx7zGbAVnq2Za-- --=-+jIuJX0UJ2kNDDxDZuPS Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) iD8DBQBEfnzYDNTMG7IqcsoRAsDjAJ9AHPwXk+smbdG8j7JEQASjedbLTgCcDKuK 4ksia6ssE3wqqZzBNT1mCT0= =+efd -----END PGP SIGNATURE----- --=-+jIuJX0UJ2kNDDxDZuPS-- From vmalerba@gmail.com Thu Jun 1 03:29:36 2006 Return-Path: X-Original-To: gnome-db-list@gnome.org Delivered-To: gnome-db-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 081AE3B00B7 for ; Thu, 1 Jun 2006 03:29:36 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 12727-02 for ; Thu, 1 Jun 2006 03:29:33 -0400 (EDT) Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.199]) by menubar.gnome.org (Postfix) with ESMTP id E64183B0C47 for ; Thu, 1 Jun 2006 03:29:32 -0400 (EDT) Received: by nz-out-0102.google.com with SMTP id 9so307554nzo for ; Thu, 01 Jun 2006 00:29:32 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=TgZFQ2qr8eOoJSJEF7GsvSSaMr3G37wDDnVG+imBdmvhj93XkrcBHWEYV7mqR/zEduQXSuFLHHB858Ev0Mz59uelyKm3SH0K4dcH8iSvMt820UKv+PNvnAtqTde5PCsWgSINmIvqN9ScL9EMP33SmB4s1haceD99bVbJ/nO2HAQ= Received: by 10.36.247.53 with SMTP id u53mr457043nzh; Thu, 01 Jun 2006 00:29:32 -0700 (PDT) Received: by 10.36.104.9 with HTTP; Thu, 1 Jun 2006 00:29:32 -0700 (PDT) Message-ID: Date: Thu, 1 Jun 2006 09:29:32 +0200 From: "Vivien Malerba" To: bas.driessen@xobas.com Subject: Re: [gnome-db] SQL message output. In-Reply-To: <1149140184.2835.7.camel@ams.xobas.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1149140184.2835.7.camel@ams.xobas.com> X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.447 tagged_above=-999 required=2 tests=[AWL=0.076, BAYES_00=-2.599, SPF_PASS=-0.001, TW_CN=0.077] X-Spam-Score: -2.447 X-Spam-Level: Cc: GNOME-DB List X-BeenThere: gnome-db-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME-DB discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Jun 2006 07:29:36 -0000 On 6/1/06, Bas Driessen wrote: > > Hello, > > I noticed that the section below has been added in version 1.50 of file > libgda/gda-server-provider.c with as comment "bug fixes" .... : > > > GdaServerProviderInfo *info; > > info = gda_server_provider_get_info (provider, cnc); > g_print ("==> %s (Provider %s on cnx %p)\n", cmd->text, > info->provider_name, cnc); > > > This prints the SQL statement to standard output and will be a great debug > and/or log tool. However, can we somehow make this feature optional? I would > like to be able to switch this off, since I get swamped with SQL messages > now. Yes, sorry for the inconvenience. Add #ifdef GDA_DEBUG before that line and a #endif after it. I'll add that myself next time I do a commit. Cheers, Vivien From esodan@gmail.com Mon Jun 5 14:31:20 2006 Return-Path: X-Original-To: gnome-db-list@gnome.org Delivered-To: gnome-db-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 7CC293B09DE for ; Mon, 5 Jun 2006 14:31:20 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 21460-08 for ; Mon, 5 Jun 2006 14:31:18 -0400 (EDT) Received: from wx-out-0102.google.com (wx-out-0102.google.com [66.249.82.204]) by menubar.gnome.org (Postfix) with ESMTP id AC55D3B0954 for ; Mon, 5 Jun 2006 14:31:18 -0400 (EDT) Received: by wx-out-0102.google.com with SMTP id i30so1218302wxd for ; Mon, 05 Jun 2006 11:31:18 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=T3Z02ur/6jhBjHcTuRievbBTcw/pXS+jT+l+67H/S1WRGSKlpM933iCTSU0Jkix8d9cdIPwG77hGyQwMSNSbGsFeIZX+WUWD6k5nwCjnFTdfG/XmOZof12A+D75f+2Z6og8xRuzB7MP73WGTEKZO5o/dRrTnxZFJAgk9YRsrtos= Received: by 10.70.89.19 with SMTP id m19mr6376212wxb; Mon, 05 Jun 2006 11:31:18 -0700 (PDT) Received: by 10.70.75.1 with HTTP; Mon, 5 Jun 2006 11:31:18 -0700 (PDT) Message-ID: <144160610606051131t3e80ce48q453d62172a83d834@mail.gmail.com> Date: Mon, 5 Jun 2006 13:31:18 -0500 From: "Daniel Espinosa" To: gnome-db-list@gnome.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_3349_14190453.1149532278021" X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.564 tagged_above=-999 required=2 tests=[AWL=0.035, BAYES_00=-2.599, HTML_MESSAGE=0.001, SPF_PASS=-0.001] X-Spam-Score: -2.564 X-Spam-Level: Subject: [gnome-db] GValue to String in GLib: Conclusion X-BeenThere: gnome-db-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME-DB discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Jun 2006 18:31:20 -0000 ------=_Part_3349_14190453.1149532278021 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline I don't find that the developers of GLib want to modify the core of the library to include the functions to transform a string to the fundamental types INT, DOUBLE, FLOAT, etc. I don't know if I weren't clear enough to explaint that we don't want "serialization" in GLib, it's just to convert a string to a value not objects. But then, as the following sugestion refer, we can put the code for that functions in GDA. http://mail.gnome.org/archives/gtk-devel-list/2006-May/msg00259.html and http://mail.gnome.org/archives/gtk-devel-list/2006-May/msg00248.html As the last, GStreamer has it's own transformation From/To String for his own types of values. --=20 Trabajar, la mejor arma para tu superaci=F3n "de grano en grano, se hace la arena" (R) (entr=E1mite, pero para los cuate= s: LIBRE) ------=_Part_3349_14190453.1149532278021 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline I don't find that the developers of GLib want to modify the core of the lib= rary to include the functions to transform a string to the fundamental type= s INT, DOUBLE, FLOAT, etc.

I don't know if I weren't clear enough to= explaint that we don't want "serialization" in GLib, it's just t= o convert a string to a value not objects.

But then, as the following sugestion refer, we can put the code for= that functions in GDA.

http://mail.gnome.org/archives/gtk-dev= el-list/2006-May/msg00259.html

and

http://mail.gnome.org/archives/gtk-devel-list= /2006-May/msg00248.html

As the last, GStreamer has it's own tran= sformation From/To String for his own types of values.

--
Trabajar, la mejor arma para tu superaci=F3n"de grano en grano, se hace la arena" (R) (entr=E1mite, pero pa= ra los cuates: LIBRE) ------=_Part_3349_14190453.1149532278021-- From esodan@gmail.com Mon Jun 5 14:33:47 2006 Return-Path: X-Original-To: gnome-db-list@gnome.org Delivered-To: gnome-db-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id C12333B09EF for ; Mon, 5 Jun 2006 14:33:47 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 21602-07 for ; Mon, 5 Jun 2006 14:33:46 -0400 (EDT) Received: from wx-out-0102.google.com (wx-out-0102.google.com [66.249.82.193]) by menubar.gnome.org (Postfix) with ESMTP id 064193B0954 for ; Mon, 5 Jun 2006 14:33:45 -0400 (EDT) Received: by wx-out-0102.google.com with SMTP id i30so1218631wxd for ; Mon, 05 Jun 2006 11:33:45 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=FRKnVW1nlh6D6h/lo6ZRrlTD2OM08KjKujOtNEQEadV3GlNOVFebdPyNPvzIzwEma2neOHXZhT2yIGb0AH1/HVoRNUj3JmwaT5ZrOr+4bwksuhqBwtIuDVAJ0oCwY2mFQFer9lMvi5xnkVmN+1uJfkjb6qbLRDercIbbc7X9vuQ= Received: by 10.70.130.14 with SMTP id c14mr6379321wxd; Mon, 05 Jun 2006 11:33:45 -0700 (PDT) Received: by 10.70.75.1 with HTTP; Mon, 5 Jun 2006 11:33:45 -0700 (PDT) Message-ID: <144160610606051133s65a096b7me0070b8fc95d9581@mail.gmail.com> Date: Mon, 5 Jun 2006 13:33:45 -0500 From: "Daniel Espinosa" To: gnome-db-list@gnome.org In-Reply-To: <144160610606051131t3e80ce48q453d62172a83d834@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_3389_24083357.1149532425173" References: <144160610606051131t3e80ce48q453d62172a83d834@mail.gmail.com> X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.327 tagged_above=-999 required=2 tests=[AWL=-0.224, BAYES_00=-2.599, HTML_40_50=0.496, HTML_MESSAGE=0.001, SPF_PASS=-0.001] X-Spam-Score: -2.327 X-Spam-Level: Subject: [gnome-db] Re: GValue to String in GLib: Conclusion X-BeenThere: gnome-db-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME-DB discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Jun 2006 18:33:47 -0000 ------=_Part_3389_24083357.1149532425173 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Even that I had reopened the bug to Add functions just for the fundamental types. http://bugzilla.gnome.org/show_bug.cgi?id=3D342358 2006/6/5, Daniel Espinosa : > > I don't find that the developers of GLib want to modify the core of the > library to include the functions to transform a string to the fundamental > types INT, DOUBLE, FLOAT, etc. > > I don't know if I weren't clear enough to explaint that we don't want > "serialization" in GLib, it's just to convert a string to a value not > objects. > > But then, as the following sugestion refer, we can put the code for that > functions in GDA. > > http://mail.gnome.org/archives/gtk-devel-list/2006-May/msg00259.html > > and > > http://mail.gnome.org/archives/gtk-devel-list/2006-May/msg00248.html > > As the last, GStreamer has it's own transformation From/To String for his > own types of values. > > -- > Trabajar, la mejor arma para tu superaci=F3n > "de grano en grano, se hace la arena" (R) (entr=E1mite, pero para los > cuates: LIBRE) > --=20 Trabajar, la mejor arma para tu superaci=F3n "de grano en grano, se hace la arena" (R) (entr=E1mite, pero para los cuate= s: LIBRE) ------=_Part_3389_24083357.1149532425173 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Even that I had reopened the bug to Add functions just for the fundamental = types.


http://bugzi= lla.gnome.org/show_bug.cgi?id=3D342358

2006/6/5, Daniel Espinosa <e= sodan@gmail.com >:
<= div>I don't find that the developers of GLib want to modify the core of the= library to include the functions to transform a string to the fundamental = types INT, DOUBLE, FLOAT, etc.

I don't know if I weren't clear enough to explaint that we don't wa= nt "serialization" in GLib, it's just to convert a string to a va= lue not objects.

But then, as the following sugestion refer, we can put the code for= that functions in GDA.

http://mail.gnome.org/archives/gtk-devel-list/2006-May/msg00259.html

and

http://mail.gnome.org/archives/gtk-devel-list= /2006-May/msg00248.html

As the last, GStreamer has it's own transformation From/To Stri= ng for his own types of values.

--
Trabajar, la mej= or arma para tu superaci=F3n
"de grano en grano, se hace la arena&q= uot; (R) (entr=E1mite, pero para los cuates: LIBRE)



--
Trabajar, = la mejor arma para tu superaci=F3n
"de grano en grano, se hace la a= rena" (R) (entr=E1mite, pero para los cuates: LIBRE) ------=_Part_3389_24083357.1149532425173-- From esodan@gmail.com Mon Jun 5 15:23:05 2006 Return-Path: X-Original-To: gnome-db-list@gnome.org Delivered-To: gnome-db-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 255403B04F7 for ; Mon, 5 Jun 2006 15:23:05 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 24814-07 for ; Mon, 5 Jun 2006 15:23:03 -0400 (EDT) Received: from wx-out-0102.google.com (wx-out-0102.google.com [66.249.82.207]) by menubar.gnome.org (Postfix) with ESMTP id 19FEC3B00BE for ; Mon, 5 Jun 2006 15:23:03 -0400 (EDT) Received: by wx-out-0102.google.com with SMTP id i30so1227761wxd for ; Mon, 05 Jun 2006 12:23:02 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=cvsYQffUM0aGgCeS7jB8oJuePQLGdU27XdRa4SXCGY9jSHUFLfSpqkS8RgbEioisz0ssINVAaRqI5RaaN+bYMOLU2RVDDyD2JToV8XsjAXdJ4CsCLmUTSpvcD0M8fPGI0vWGq1Y7GWLyBfFzyqesSv6vCLawTqaiASji2N1wK+o= Received: by 10.70.69.8 with SMTP id r8mr6434300wxa; Mon, 05 Jun 2006 12:22:57 -0700 (PDT) Received: by 10.70.75.1 with HTTP; Mon, 5 Jun 2006 12:22:57 -0700 (PDT) Message-ID: <144160610606051222k6dc2a872ycf0360f26a338718@mail.gmail.com> Date: Mon, 5 Jun 2006 14:22:57 -0500 From: "Daniel Espinosa" To: "Tim Janik" In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_4149_12028470.1149535377779" References: <144160610605190934j3f96d985rf46013b5e1af8198@mail.gmail.com> X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.332 tagged_above=-999 required=2 tests=[AWL=-0.107, BAYES_00=-2.599, HTML_30_40=0.374, HTML_MESSAGE=0.001, SPF_PASS=-0.001] X-Spam-Score: -2.332 X-Spam-Level: Cc: Gtk+ Developers , gnome-db-list@gnome.org Subject: [gnome-db] Re: Transformation functions from G_TYPE_STRING to G_TYPE_any X-BeenThere: gnome-db-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME-DB discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Jun 2006 19:23:05 -0000 ------=_Part_4149_12028470.1149535377779 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Specificaly in GDA could be usefull if the following types has a From Strin= g Function defined in GLib: G_TYPE_BOOLEAN G_TYPE_INT G_TYPE_UINT G_TYPE_INT64 G_TYPE_UINT64 G_TYPE_LONG G_TYPE_ULONG G_TYPE_FLOAT G_TYPE_DOUBLE 2006/5/24, Tim Janik : > > On Fri, 19 May 2006, Daniel Espinosa wrote: > > > I'm working on add functions to GLib to transform a STRING to GLib's > types; > > now only exists a way to transform to a STRING but not from a STRING; t= o > do > > transformations to string are more of a convenience/debugging feature > libgobject offers. > > > so I need to find the value_transform_int_string function (and the > others in > > gvaluetransform.c file) in order to write the functions to transform > from > > STRING some types. > > > > GDA, has some code to transform them, but may is better to have them in > > GLib; unless you consider that is better that library must register his > own > > custom transformation functions. > > > > I had filed a bug in: > > > > http://bugzilla.gnome.org/show_bug.cgi?id=3D342358 > > i don't think having these in glib makes much sense, as outlined in: > http://mail.gnome.org/archives/gtk-devel-list/2006-May/msg00258.html > reflected in the bug report. > > --- > ciaoTJ > --=20 Trabajar, la mejor arma para tu superaci=F3n "de grano en grano, se hace la arena" (R) (entr=E1mite, pero para los cuate= s: LIBRE) ------=_Part_4149_12028470.1149535377779 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Specificaly in GDA could be usefull if the following types has a From Strin= g Function defined in GLib:

G_TYPE_BOOLEAN
G_TYPE_INT
G_TYPE_U= INT
G_TYPE_INT64
G_TYPE_UINT64
G_TYPE_LONG
G_TYPE_ULONG
G_TY= PE_FLOAT
G_TYPE_DOUBLE


2006/5/24, Ti= m Janik <timj@imendio.com>:
On Fri, 19 May 2006, Daniel Espinosa wrote:

> I'm working on add = functions to GLib to transform a STRING to GLib's types;
> now only e= xists a way to transform to a STRING but not from a STRING; to do

transformations to string are more of a convenience/debugging feature
li= bgobject offers.

> so I need to find the value_transform_int_stri= ng function (and the others in
> gvaluetransform.c file) in order to = write the functions to transform from
> STRING some types.
>
> GDA, has some code to transform= them, but may is better to have them in
> GLib; unless you consider = that is better that library must register his own
> custom transforma= tion functions.
>
> I had filed a bug in:
>
> http://bugzilla.gnome.org/show_b= ug.cgi?id=3D342358

i don't think having these in glib makes much= sense, as outlined in:
   http://mail.gnome.org/archives/gtk-devel-list/2006-M= ay/msg00258.html
reflected in the bug report.

---
ciaoTJ



--
Trabajar, la mejor arma para tu supe= raci=F3n
"de grano en grano, se hace la arena" (R) (entr=E1mit= e, pero para los cuates: LIBRE) ------=_Part_4149_12028470.1149535377779-- From vmalerba@gmail.com Tue Jun 6 04:56:16 2006 Return-Path: X-Original-To: gnome-db-list@gnome.org Delivered-To: gnome-db-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 214AF3B010E for ; Tue, 6 Jun 2006 04:56:16 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 25725-07 for ; Tue, 6 Jun 2006 04:56:11 -0400 (EDT) Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.193]) by menubar.gnome.org (Postfix) with ESMTP id 649633B0BAF for ; Tue, 6 Jun 2006 04:55:52 -0400 (EDT) Received: by nz-out-0102.google.com with SMTP id 9so2290479nzo for ; Tue, 06 Jun 2006 01:55:51 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=fgm2JCvC3MNZPTpAC1O/9bSndNSlzWvXYuvy6jf37M6ie69ZzHh/qFB3KPMATxYjgjj7TUizZXDxeYZKqzjNg2aCVhsl4yYTILzbROVcbsh81p53vELEdqkfCDqGOQwv7RVIW6ZqCl6pWbicse8Qkg7bCiJSfID/AVOdWD+qZ+4= Received: by 10.36.39.9 with SMTP id m9mr224276nzm; Tue, 06 Jun 2006 01:55:51 -0700 (PDT) Received: by 10.36.55.1 with HTTP; Tue, 6 Jun 2006 01:55:51 -0700 (PDT) Message-ID: Date: Tue, 6 Jun 2006 10:55:51 +0200 From: "Vivien Malerba" To: "Daniel Espinosa" Subject: Re: [gnome-db] GValue to String in GLib: Conclusion In-Reply-To: <144160610606051131t3e80ce48q453d62172a83d834@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <144160610606051131t3e80ce48q453d62172a83d834@mail.gmail.com> X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.487 tagged_above=-999 required=2 tests=[AWL=0.113, BAYES_00=-2.599, SPF_PASS=-0.001] X-Spam-Score: -2.487 X-Spam-Level: Cc: gnome-db-list@gnome.org X-BeenThere: gnome-db-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME-DB discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jun 2006 08:56:17 -0000 On 6/5/06, Daniel Espinosa wrote: > I don't find that the developers of GLib want to modify the core of the > library to include the functions to transform a string to the fundamental > types INT, DOUBLE, FLOAT, etc. > > I don't know if I weren't clear enough to explaint that we don't want > "serialization" in GLib, it's just to convert a string to a value not > objects. > > But then, as the following sugestion refer, we can put the code for that > functions in GDA. > > http://mail.gnome.org/archives/gtk-devel-list/2006-May/msg00259.html > > and > > http://mail.gnome.org/archives/gtk-devel-list/2006-May/msg00248.html > > As the last, GStreamer has it's own transformation From/To String for his > own types of values. Right, let's then keep that code in libgda, as GStreamer does... Thanks, Vivien From esodan@gmail.com Wed Jun 7 18:57:19 2006 Return-Path: X-Original-To: gnome-db-list@gnome.org Delivered-To: gnome-db-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id D7D443B0E71 for ; Wed, 7 Jun 2006 18:57:19 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 20852-09 for ; Wed, 7 Jun 2006 18:57:18 -0400 (EDT) Received: from wx-out-0102.google.com (wx-out-0102.google.com [66.249.82.192]) by menubar.gnome.org (Postfix) with ESMTP id 103173B04FF for ; Wed, 7 Jun 2006 18:57:17 -0400 (EDT) Received: by wx-out-0102.google.com with SMTP id i30so304349wxd for ; Wed, 07 Jun 2006 15:57:17 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=brOyTpnAXnWzgkamxyikE9cOQ90NF4F0BvGq1xzQtGPHZ0+SJ3y68cS2sQKIx60C2DcUvhwXAlWWDN+yFc04K05T/Fu+Im8upts9XHh0/eA4jTURyfnyZcxY3HP//u48WrVjncPVazRB2iv6hQqPAP/e5fD1lMAc5Vz78gA1Ouo= Received: by 10.70.44.16 with SMTP id r16mr1306941wxr; Wed, 07 Jun 2006 15:57:17 -0700 (PDT) Received: by 10.70.75.1 with HTTP; Wed, 7 Jun 2006 15:57:17 -0700 (PDT) Message-ID: <144160610606071557l71e0c1b0k7ecc8d1a489201b2@mail.gmail.com> Date: Wed, 7 Jun 2006 17:57:17 -0500 From: "Daniel Espinosa" To: gnome-db-list@gnome.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_5916_6433013.1149721037318" X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.353 tagged_above=-999 required=2 tests=[AWL=0.246, BAYES_00=-2.599, HTML_MESSAGE=0.001, SPF_PASS=-0.001] X-Spam-Score: -2.353 X-Spam-Level: Subject: [gnome-db] GValue from string: CVS - Observation and Proposal X-BeenThere: gnome-db-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME-DB discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jun 2006 22:57:20 -0000 ------=_Part_5916_6433013.1149721037318 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline There are a problem with the implementation, I think, know if you want to transform a value from a string you'll need to use gda_value_set_from_strin= g and that's correct, but: What happen if I want to use the GValue API to transform that value (a string) to other; may be could be more clear to register the transformation functions (the code already exist in the function set_from_string). Then the programer can use a code where he don't need to take care about th= e type of the value he transforms from. if ( g_value_transformable (G_VALUE_TYPE(source), G_VALUE_TYPE(destination)= ) { g_value_transform( source, destination ); UseTheValue(destination); // This function coulde take care about how to use the type of the value passed as argument } else Error(); In the case of use the actual API you allways need to know that the actual value is a string: if ( G_VALUE_TYPE(source) =3D=3D G_TYPE_STRING ) { gda_value_set_from_string( destination, g_value_get_string( source ), G_TYPE_INT); UseTheValue(destination); } else { if ( g_value_transformable (G_VALUE_TYPE(source), G_VALUE_TYPE(destination)) { g_value_transform( source, destination ); UseTheValue(destination); // This function coulde take care about how to use the type of the value passed as argument } else Error(); } --=20 Trabajar, la mejor arma para tu superaci=F3n "de grano en grano, se hace la arena" (R) (entr=E1mite, pero para los cuate= s: LIBRE) ------=_Part_5916_6433013.1149721037318 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline There are a problem with the implementation, I think, know if you want to t= ransform a value from a string you'll need to use gda_value_set_from_string= and that's correct, but:

What happen if I want to use the GValue AP= I to transform that value (a string) to other; may be could be more clear t= o register the transformation functions (the code already exist in the func= tion set_from_string).

Then the programer can use a code where he don't need to take care = about the type of the value he transforms from.

if ( g_value_transfo= rmable (G_VALUE_TYPE(source), G_VALUE_TYPE(destination)) {

 &nb= sp;    g_value_transform( source, destination );

     UseTheValue(destination); // This function= coulde take care about how to use the type of the value passed as argument=
}
else Error();



In the case of use the actual API you= allways need to know that the actual value is a string:

if ( G_VALUE_TYPE(source) =3D=3D G_TYPE_STRING ) {

 &nb= sp;    gda_value_set_from_string( destination, g_value_get_s= tring( source ), G_TYPE_INT);

    =   UseTheValue(destination);
}
else {
   if ( g_valu= e_transformable (G_VALUE_TYPE(source), G_VALUE_TYPE(destination)) {

        g_value_transform( source, desti= nation );

        UseTheValue(destination); // Thi= s function coulde take care about how to use the type of the value passed a= s argument
   }
   else Error();
}


--
Trabajar, la mejor arma para tu superaci=F3n
"de gra= no en grano, se hace la arena" (R) (entr=E1mite, pero para los cuates:= LIBRE) ------=_Part_5916_6433013.1149721037318-- From esodan@gmail.com Thu Jun 8 14:13:35 2006 Return-Path: X-Original-To: gnome-db-list@gnome.org Delivered-To: gnome-db-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 963EE3B0FBA for ; Thu, 8 Jun 2006 14:13:35 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 27351-02 for ; Thu, 8 Jun 2006 14:13:34 -0400 (EDT) Received: from wx-out-0102.google.com (wx-out-0102.google.com [66.249.82.194]) by menubar.gnome.org (Postfix) with ESMTP id 09CA63B0F8B for ; Thu, 8 Jun 2006 14:13:33 -0400 (EDT) Received: by wx-out-0102.google.com with SMTP id i30so458759wxd for ; Thu, 08 Jun 2006 11:13:33 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=T/BrbOB7J0oZnie8C96Lb1ngQtKuKNhyCTM6y8G65WlbrmJ7Fw3EEUcQRibflyHuqgz5bxD0Bbr2Ov+qmgAKZA3A1lL7Rjzfe3cEwLN9QGHknXZBoQvdEmjQq/HOa1UylrcBb6b+vGzF+McbQPSuZzWnTN60rRbbbIxnqAeYOR0= Received: by 10.70.73.4 with SMTP id v4mr2394363wxa; Thu, 08 Jun 2006 11:13:32 -0700 (PDT) Received: by 10.70.75.1 with HTTP; Thu, 8 Jun 2006 11:13:32 -0700 (PDT) Message-ID: <144160610606081113s67997fa5v62842bebf653376a@mail.gmail.com> Date: Thu, 8 Jun 2006 13:13:32 -0500 From: "Daniel Espinosa" To: "F Wolff" In-Reply-To: <1149747620.4485.25.camel@localhost.localdomain> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_5765_15259675.1149790412225" References: <20060605020856.6a722cb9@localhost.localdomain> <1149604559.9167.99.camel@localhost.localdomain> <20060608001728.22f6fa64@localhost.localdomain> <1149747620.4485.25.camel@localhost.localdomain> X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.388 tagged_above=-999 required=2 tests=[AWL=0.211, BAYES_00=-2.599, HTML_MESSAGE=0.001, SPF_PASS=-0.001] X-Spam-Score: -2.388 X-Spam-Level: Cc: translate-pootle@lists.sourceforge.net, gnome-db-list@gnome.org, translate-devel@lists.sourceforge.net Subject: [gnome-db] Re: [translate-pootle] Wordforge X-BeenThere: gnome-db-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME-DB discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jun 2006 18:13:35 -0000 ------=_Part_5765_15259675.1149790412225 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline > > As for specific technology - jToolkit (that we already use) has support > for many databases so we'll probably use that functionality so that we > don't become tied to any specific one. May is better to use the python binding of libgda; it supports may database= s backends and is a GNU implementation (now in development and hope to reach soon version 2.0 with much improviments in the arquitecture and features). --=20 Trabajar, la mejor arma para tu superaci=F3n "de grano en grano, se hace la arena" (R) (entr=E1mite, pero para los cuate= s: LIBRE) ------=_Part_5765_15259675.1149790412225 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline
As for speci= fic technology - jToolkit (that we already use) has support
for many dat= abases so we'll probably use that functionality so that we
don't become tied to any specific one.

May is better to use the python binding of libgda; it supports may databas= es backends and is a GNU implementation (now in development and hope to rea= ch soon version=20 2.0 with much improviments in the arquitecture and features).

--
Trabajar, la mejor arma para tu superaci=F3n
"de gra= no en grano, se hace la arena" (R) (entr=E1mite, pero para los cuates:= LIBRE) ------=_Part_5765_15259675.1149790412225-- From esodan@gmail.com Wed Jun 21 12:46:59 2006 Return-Path: X-Original-To: gnome-db-list@gnome.org Delivered-To: gnome-db-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 91F243B1040 for ; Wed, 21 Jun 2006 12:46:59 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 22248-01 for ; Wed, 21 Jun 2006 12:46:56 -0400 (EDT) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.235]) by menubar.gnome.org (Postfix) with ESMTP id 297953B0F7D for ; Wed, 21 Jun 2006 12:46:56 -0400 (EDT) Received: by wr-out-0506.google.com with SMTP id 37so203484wra for ; Wed, 21 Jun 2006 09:46:55 -0700 (PDT) Received: by 10.54.65.13 with SMTP id n13mr2155517wra; Wed, 21 Jun 2006 09:46:55 -0700 (PDT) Received: by 10.70.75.5 with HTTP; Wed, 21 Jun 2006 09:46:55 -0700 (PDT) Message-ID: <144160610606210946p3cfdf8dar333dbdf8e6ba56f1@mail.gmail.com> Date: Wed, 21 Jun 2006 11:46:55 -0500 From: "Daniel Espinosa" To: "Tristan Van Berkom" In-Reply-To: <44972A48.6040509@gnome.org> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_79684_28669631.1150908415267" References: <44972A48.6040509@gnome.org> X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.075 tagged_above=-999 required=2 tests=[AWL=0.028, BAYES_00=-2.599, HTML_40_50=0.496, HTML_MESSAGE=0.001, SPF_PASS=-0.001] X-Spam-Score: -2.075 X-Spam-Level: Cc: gnome-db-list@gnome.org, Glade Devel Mailing List Subject: Re: [gnome-db] [Glade-devel] Glade-3 going into feature freeze X-BeenThere: gnome-db-list@gnome.org X-Mailman-Version: 2.1.8 Precedence: list List-Id: GNOME-DB discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Jun 2006 16:46:59 -0000 ------=_Part_79684_28669631.1150908415267 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline 2006/6/19, Tristan Van Berkom : > > Hi all, > I am proud to announce that we are nearing the long awaited > initial release of glade-3 ! > > As we are a little excited and ahead of ourselves... it is nescisary to > draw the line on what features are to make it into the initial 3.0release= . > If anyone has noticed anything in recent glade-3 cvs that is missing and > is > not on the TODO list (inline below)... please speak up and let us know :) > > Cheers, > -Tristan > > This is the current list of blockers for 3.0: > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > o Toolbar editor / Popup menu editor (toolbar support now in... needs > editor) > o Unify multiple property changes & dont unify default settings (bug > 315600) > o Properties/undo stack glitches (bug 316900) > o Gnome stock items not recognized by glade-3 (bug 343712) > o Should indicate read-only projects (bug 337957) > o Implement GnomeDB widget catalog. Any tutorial on how to archive the widgets for GnomeDB? GnomeDB is reaching the final 2.0 almost a few time, then I want to work in the new set of widgets. o DevHelp gets spawned with version 0.11 (bug 344043) > o Add/Remove parent container via context menu feature (bug 343786) > o Implement "finish" signal on GladeProject (bug 345353) > > _______________________________________________ > Glade-devel maillist - Glade-devel@lists.ximian.com > http://lists.ximian.com/mailman/listinfo/glade-devel > --=20 Trabajar, la mejor arma para tu superaci=F3n "de grano en grano, se hace la arena" (R) (entr=E1mite, pero para los cuate= s: LIBRE) ------=_Part_79684_28669631.1150908415267 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline

2006/6/19, Tristan Van Berkom <= tristan.van.berkom@gmail.co= m>:
Hi all,
    I am proud to announce that we are neari= ng the long awaited
initial release of glade-3 !

As we are a litt= le excited and ahead of ourselves... it is nescisary to
draw the line on= what features are to make it into the initial=20 3.0 release.
If anyone has noticed anything in recent glade-3 cvs that i= s missing and is
not on the TODO list (inline below)... please speak up = and let us know :)

Cheers,
      &n= bsp;            = ;            &n= bsp;  -Tristan

This is the current list of blockers for 3.0:
=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
o Toolbar editor= / Popup menu editor (toolbar support now in... needs
editor)
o Unif= y multiple property changes & dont unify default settings (bug
315600)
o Properties/undo stack glitches (bug 316900)
o Gnome s= tock items not recognized by glade-3 (bug 343712)
o Should indicate rea= d-only projects (bug 337957)
o Implement GnomeDB widget catalog.

 Any tutoria= l on how to archive the widgets for GnomeDB?
GnomeDB is reaching the fin= al 2.0 almost a few time, then I want to work in the new set of widgets.

o DevH= elp gets spawned with version 0.11 (bug 344043)
o Add/Remove parent con= tainer via context menu feature (bug 343786)
o Implement "finish" signal on GladeProject (bug 345353)
=
_______________________________________________
Glade-devel maillist=   -  Gl= ade-devel@lists.ximian.com
ht= tp://lists.ximian.com/mailman/listinfo/glade-devel



--
Trabajar, la mejor arma para tu superaci= =F3n
"de grano en grano, se hace la arena" (R) (entr=E1mite, pero = para los cuates: LIBRE) ------=_Part_79684_28669631.1150908415267-- From tvb@gnome.org Wed Jun 21 13:06:59 2006 Return-Path: X-Original-To: gnome-db-list@gnome.org Delivered-To: gnome-db-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 632323B01C1 for ; Wed, 21 Jun 2006 13:06:59 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 23710-05 for ; Wed, 21 Jun 2006 13:06:56 -0400 (EDT) Received: from mail.touchtunes.com (mail.touchtunes.com [207.96.182.162]) by menubar.gnome.org (Postfix) with ESMTP id D5FA43B00CC for ; Wed, 21 Jun 2006 13:06:55 -0400 (EDT) Received: from [192.168.0.138] (unknown [192.168.0.138]) by mail.touchtunes.com (Postfix) with ESMTP id 82FBD15AD2; Wed, 21 Jun 2006 13:06:50 -0400 (EDT) Message-ID: <44997EFA.7030204@gnome.org> Date: Wed, 21 Jun 2006 13:16:42 -0400 From: Tristan Van Berkom User-Agent: Mozilla Thunderbird 0.8 (X11/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Daniel Espinosa References: <44972A48.6040509@gnome.org> <144160610606210946p3cfdf8dar333dbdf8e6ba56f1@mail.gmail.com> In-Reply-To: <144160610606210946p3cfdf8dar333dbdf8e6ba56f1@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.555 tagged_above=-999 required=2 tests=[AWL=0.045, BAYES_00=-2.599, SPF_HELO_PASS=-0.001] X-Spam-Score: -2.555 X-Spam-Level: X-Mailman-Approved-At: Wed, 21 Jun 2006 14:52:13 -0400 Cc: gnome-db-list@gnome.org, Tristan Van Berkom , Glade Devel Mailing List Subject: Re: [gnome-db] [Glade-devel] Glade-3 going into feature freeze X-BeenThere: gnome-db-list@gnome.org X-Mailman-Version: 2.1.8 Precedence: list List-Id: GNOME-DB discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Jun 2006 17:06:59 -0000 Daniel Espinosa wrote: [...] > o Implement GnomeDB widget catalog. > > > Any tutorial on how to archive the widgets for GnomeDB? > GnomeDB is reaching the final 2.0 almost a few time, then I want to work in > the new set of widgets. I wonder what you mean by "archive"... there is documentation on integrating widgets into glade3 ... which is what I think you want :) It is installed by the glade-3 tarball... and I am keeping an online copy up-to-date here: http://gnome.org/~tvb/glade_api/ For the moment... we would like to whip up a catalog that supports gnomedb widgets that are currently released. But its probably a good idea to drop the gnomeui catalog and gnomedb catalog from the glade3 package in the long run... and add those packages to gnomedb and gnomeui respectively... let me know what you think :) Cheers, -Tristan