From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: David Pirotte Newsgroups: gmane.lisp.guile.devel,gmane.lisp.guile.user Subject: GNU G-Golf 0.8.0-rc.5 available for testing Date: Fri, 19 Jul 2024 21:02:50 -0300 Message-ID: <20240719210250.2d533054@tintin> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/Vc1NoqF5nIWXb4lZuoz9Pv8"; protocol="application/pgp-signature"; micalg=pgp-sha512 Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28467"; mail-complaints-to="usenet@ciao.gmane.io" To: guile-user , guile-devel Original-X-From: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Sat Jul 20 02:03:47 2024 Return-path: Envelope-to: guile-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1sUxZi-0007Es-NQ for guile-devel@m.gmane-mx.org; Sat, 20 Jul 2024 02:03:46 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sUxZA-0001Gn-HY; Fri, 19 Jul 2024 20:03:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sUxZ8-0001G1-Ol; Fri, 19 Jul 2024 20:03:10 -0400 Original-Received: from smtp.all2all.org ([79.99.200.14] helo=moses.all2all.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sUxZ6-0006GV-0e; Fri, 19 Jul 2024 20:03:10 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by moses.all2all.org (Postfix) with ESMTP id 0EB8167C007A; Sat, 20 Jul 2024 02:03:02 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at moses.all2all.org Original-Received: from moses.all2all.org ([127.0.0.1]) by localhost (moses.all2all.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id deSs58b-GjwB; Sat, 20 Jul 2024 02:02:59 +0200 (CEST) Original-Received: from tintin (unknown [168.227.184.146]) by moses.all2all.org (Postfix) with ESMTPSA id 8EFEA67C0074; Sat, 20 Jul 2024 02:02:57 +0200 (CEST) X-Mailer: Claws Mail 4.3.0 (GTK 3.24.42; x86_64-pc-linux-gnu) Received-SPF: pass client-ip=79.99.200.14; envelope-from=david@altosw.be; helo=moses.all2all.org X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Original-Sender: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.lisp.guile.devel:22588 gmane.lisp.guile.user:19746 Archived-At: --Sig_/Vc1NoqF5nIWXb4lZuoz9Pv8 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hello Guilers, The fifth release candidate of the upcoming GNU G-Golf 0.8.0 release is now available for testing: * Tarball and a GPG detached signature [*]: http://ftp.gnu.org/gnu/g-golf/g-golf-0.8.0-rc.5.tar.gz http://ftp.gnu.org/gnu/g-golf/g-golf-0.8.0-rc.5.tar.gz.sig * Install Dependencies and complete installation instructions are given in the distributed INSTALL file, or here: https://www.gnu.org/software/g-golf/install.html * Noteworthy changes in 0.8.0-rc.5 Here is a summary of the noteworthy changes in this release, also available in NEWS file and on the G-Golf website. ** New interfaces g-markup-escape-text gi-import-by-name new #:allow-constant? optional keyword argument GVariant GVariantClass GVariantType The GLib Variant, VariantType and VariantClass typelib entries are now imported. Testing has been so far somewhat limited, but for what it's worth, the AdwDemoPageTabView, added in this release, defines and uses a couple of g-variant-new-boolean based simple actions. However, they work iif g-simple-action-new-stateful calls pass #f (NULL) as their parameter-type arg, and therefore, (as stated by the upstream documentation), none of the action activate callback ever receives a valid g-variant arg value (it always is #f (NULL)). This needs further investigation, but you may (and even may prefer to) implement an hold an action state as/in a goops slot, i.e. in the (pages tab-view tab-view-demo-page) module, the icon?, loading?, needs-attention?, indicator? and muted? slots. ** Enhancement *** Template and ui sxml files support Syntax highlighting support for the comments attribute has been added. *** g-closure-marshal (1) initialize method has been updated to not force the #:return-type and #:param-types initialize keyword arguments, as as GObject actually fills the GClosure structure with those (unless you are testing and plan to call the invoke g-golf method). (2) some GObject function/method GClosure arg(s) should preserve the GValue pointer when calling the user scheme closure, instead of extracting its value - for example, bind-property-full last two args expect a BindingTransformFunc GClosure, for which it is essential to preserve its second and third GValue arguments, as the user needs to actually set either one, the other or both. Note that wrt (2), there is no way to automatically detect which argument(s) of a callback require(s) a GValue pointer preservation prior to call the user scheme closure. Therefore, g-golf implements a (simple) mechanism to handle those situations, but it has to be maintained 'manually' - if you come across a similar need, not being covered by the existing implementation, let us know, we'll fix it. Those interested may search and read both the preserve-g-value-ptr? procedure code as well as the preceding comment, which briefly explains how it works, in the (g-golf hl-api callable) module. ** Examples *** Adwaita Demo The Adwaita demo has been restructured, and now properly support the Dark Style desktop (or application) mode. The following Adwaita Demo pages have been added: AdwDemoPageAvatar AdwDemoPageSplitViews AdwDemoPageTabView ** Bug fixing *** g-param slots initialization It was a bug not to call g-inst-g-param-set-property, whether the instance initialization was passed an init-kw arg or whether the initialization has to use the p-spec default value - fixed. *** gi-import-registered with-methods? default value Removing the specialization default value for the with-methods? argument when the namespace is part of the namespace import exception list. The fix allows to automatically (gi) import GLib/GObject typelib component(s) that are not part of the manually (ffi) defined subset, such as the GVariant type, constructors and methods. * You can help 1. Testing by installing from the tarball, or from the source if you prefer, on the distro of your choice. 2. By running the distributed examples. Ultimately, one of the best way to test, and participate, is to select G-Golf to develop the next application of your dream! Here is an overview of the GNOME platform libraries [1], accessible using G-Golf. In particular, libadwaita [2] provides a number of widgets that change their layout based on the available space. This can be used to make applications adapt their UI between desktop and mobile devices (as shown in the G-Golf port of the "Adwaita demo"). * Contact Consider joining us on irc [3], where you may ask for help or report a problem [4]. However, if you prefer: G-Golf uses the guile-user@gnu.org mailing list Report bugs to bug-g-golf@gnu.org Thanks! David [*] Use a .sig file to verify that the corresponding file (without the .sig suffix) is intact. First, be sure to download both the .sig file and the corresponding tarball. Then, run a command like this: gpg --verify g-golf-0.8.0-rc.5.tar.gz If that command fails because you don't have the required public key, then run this command to import it: gpg --keyserver keys.gnupg.net --recv-keys A3057AD7 and rerun the 'gpg --verify' command [1] https://developer.gnome.org/documentation/introduction/overview/librari= es.html [2] https://gnome.pages.gitlab.gnome.org/libadwaita/doc/main/ [3] https://www.gnu.org/software/g-golf/contact.html [4] When reporting a problem, or if you think you found a bug, it is very important that you prepare a minimal reproducible example (MRE), sometimes also referred to as a short self-contained correct example (SSCCE) http://www.sscce.org/ https://en.wikipedia.org/wiki/Minimal_reproducible_example Also, on irc, we chat :), so please do not write code snipsets directly in the channel, unless 2 or 3 lines of code, nor (long/huge) error messages of course - for more then 2 or 3 lines of code, or error messages, always use a tor-friendly paste service (avoid those that track its visitors and require javascript, thanks!). --Sig_/Vc1NoqF5nIWXb4lZuoz9Pv8 Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEhCJlRZtBM3furJHe83T9k6MFetcFAmaa/qoACgkQ83T9k6MF etfADQf/UmEl8SNrzNmBFDWnH9DqNKDNrjcYSM2jdPJdbG4V6GPZ0I7yJgCd01qd hviZSs/FedQEh/a25QAMFoLrss90DISq3EB316uHvk6XXLlfqkFxOr8gwv7Mp+sB kHyQT10ZPG9N/DC8JYJF5XVhU2yIH/qfqIJDMOiZwFAfa3vHwEQ2kiHFC5poqIhN SN9u7sQvCJYcCBJwiLgjQiHgPc0s1mxMDTcyEWzFsCPB9IJWO47hXGp1wJUYDy86 zOdWBDi4v0BW1KIJ3UuKaEPOy7KRvKxsaJRsN8nONob+ofbqwOsQUjncM/q9jGag KZnbe9cLo++wuQH2HkPQ/+aQIojUqg== =Jw7n -----END PGP SIGNATURE----- --Sig_/Vc1NoqF5nIWXb4lZuoz9Pv8--