Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

If imprinted foil seal under cap is broken or missing when purchased, do not use.


devel / comp.lang.ada / Re: Ann: GWindows release, 29-May-2023

SubjectAuthor
* Ann: GWindows release, 29-May-2023Gautier write-only address
`* Re: Ann: GWindows release, 29-May-2023DrPi
 `* Re: Ann: GWindows release, 29-May-2023Gautier write-only address
  `* Re: Ann: GWindows release, 29-May-2023Jeffrey R.Carter
   `* Re: Ann: GWindows release, 29-May-2023Gautier write-only address
    `- Re: Ann: GWindows release, 29-May-2023Randy Brukardt

1
Ann: GWindows release, 29-May-2023

<ed019b00-8ca1-4d26-ba6d-4059c8f6679fn@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=9670&group=comp.lang.ada#9670

  copy link   Newsgroups: comp.lang.ada
X-Received: by 2002:a05:6214:8ec:b0:626:233f:7d1d with SMTP id dr12-20020a05621408ec00b00626233f7d1dmr375709qvb.2.1685377152237;
Mon, 29 May 2023 09:19:12 -0700 (PDT)
X-Received: by 2002:a25:6702:0:b0:ba8:3600:c3d0 with SMTP id
b2-20020a256702000000b00ba83600c3d0mr6135931ybc.8.1685377151920; Mon, 29 May
2023 09:19:11 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!2.eu.feeder.erje.net!feeder.erje.net!feeder1.feed.usenet.farm!feed.usenet.farm!peer01.ams4!peer.am4.highwinds-media.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.ada
Date: Mon, 29 May 2023 09:19:11 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=2a02:1210:2e90:8100:79e1:2c2c:f6d:115b;
posting-account=gRqrnQkAAAAC_02ynnhqGk1VRQlve6ZG
NNTP-Posting-Host: 2a02:1210:2e90:8100:79e1:2c2c:f6d:115b
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <ed019b00-8ca1-4d26-ba6d-4059c8f6679fn@googlegroups.com>
Subject: Ann: GWindows release, 29-May-2023
From: gautier_niouzes@hotmail.com (Gautier write-only address)
Injection-Date: Mon, 29 May 2023 16:19:12 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 3575
 by: Gautier write-only a - Mon, 29 May 2023 16:19 UTC

GWindows is a full Microsoft Windows Rapid Application Development
framework for programming GUIs (Graphical User Interfaces) with Ada.
GWindows works only with the GNAT development system,
but with some effort, GWindows could be made pure Ada.
GWindows is free and open-source!

Changes to the framework are detailed in gwindows/changes.txt or
in the News forum on the project site.

In a nutshell (since last announcement here):

GWindows release, 29-May-2023 [revision 480]
============================================

* Fixes: color picker dialog, mouse wheel methods

478: Contribution: added package GWindows.Pipes
477: Contribution: added package GWindows.Timers
476: Contribution: added package GWindows.Persistence_IO
466: Contribution: initial release of package Office_Applications
for helping creating office-like applications.

GWindows release, 13-Nov-2022 [revision 459]
============================================

458: GWindows.Common_Controls.Ex_List_View: added `Using_Payloads`
to the enumerated type `Comparison_Technique_Type`.
With this choice, sorting runs 100x faster.
451: GWindows.Common_Controls.Ex_List_View: added `As_Strings_Default`
to the enumerated type `Comparison_Technique_Type` (sorting runs
faster if default alphabetical sorting is desired).
449: GWindows.Application: added procedure `Add_To_Recent_Documents`.
Windows Explorer & Desktop puts the name on top of various
"recent documents" lists, for instance in the task bar.
447: GWindows.Common_Controls.Ex_List_View: massive speedup on sorting
of large lists (e.g. 6x faster for 20,000 items).

GWindows release, 18-Jun-2022 [revision 440]
============================================

* Installer: ResEdit.xml configuration file for the ResEdit
Resource Editor is automatically created and set up for
current GNAT installation(s), GWindows and GWenerator.
* Fixed a few 32/64 bit incompatibilities in GWindows.Windows and
GWindows.Common_Controls.Ex_List_View.
* Fixed various GNATCOM issues.

GWindows Project site:
https://sf.net/projects/gnavi/

GWindows GitHub clone:
https://github.com/zertovitch/gwindows

Enjoy!
_________________________
Gautier's Ada programming
http://gautiersblog.blogspot.com/search/label/Ada
NB: follow the above link for a valid e-mail address

Re: Ann: GWindows release, 29-May-2023

<u52vvf$2nb$1@shakotay.alphanet.ch>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=9672&group=comp.lang.ada#9672

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!news.alphanet.ch!alphanet.ch!.POSTED!not-for-mail
From: 314@drpi.fr (DrPi)
Newsgroups: comp.lang.ada
Subject: Re: Ann: GWindows release, 29-May-2023
Date: Mon, 29 May 2023 21:55:27 +0200
Organization: Posted through news.alphanet.ch
Message-ID: <u52vvf$2nb$1@shakotay.alphanet.ch>
References: <ed019b00-8ca1-4d26-ba6d-4059c8f6679fn@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 29 May 2023 19:55:27 -0000 (UTC)
Injection-Info: shakotay.alphanet.ch; posting-account="dr.pi";
logging-data="2795"; mail-complaints-to="usenet@alphanet.ch"; posting-host="bda8ab3c43e8ad8cb626bfebe8390999.nnrp.alphanet.ch"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.11.0
Cancel-Lock: sha256:Z7K4qG7N4edxP4zuJ4qQGiu/yAcDC07IYf2FgdsL0iA=
In-Reply-To: <ed019b00-8ca1-4d26-ba6d-4059c8f6679fn@googlegroups.com>
Content-Language: en-GB
 by: DrPi - Mon, 29 May 2023 19:55 UTC

Le 29/05/2023 à 18:19, Gautier write-only address a écrit :
> GWindows is a full Microsoft Windows Rapid Application Development
> framework for programming GUIs (Graphical User Interfaces) with Ada.
> GWindows works only with the GNAT development system,
> but with some effort, GWindows could be made pure Ada.
> GWindows is free and open-source!
>

What do you mean by "pure Ada" ?

Re: Ann: GWindows release, 29-May-2023

<beb0109b-0674-4ac4-a9ac-1b57fbf2bba4n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=9674&group=comp.lang.ada#9674

  copy link   Newsgroups: comp.lang.ada
X-Received: by 2002:a05:622a:11c1:b0:3f3:669f:473d with SMTP id n1-20020a05622a11c100b003f3669f473dmr70804qtk.12.1685404779756;
Mon, 29 May 2023 16:59:39 -0700 (PDT)
X-Received: by 2002:a81:a7ca:0:b0:561:1d3b:af3f with SMTP id
e193-20020a81a7ca000000b005611d3baf3fmr270047ywh.8.1685404779517; Mon, 29 May
2023 16:59:39 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.ada
Date: Mon, 29 May 2023 16:59:39 -0700 (PDT)
In-Reply-To: <u52vvf$2nb$1@shakotay.alphanet.ch>
Injection-Info: google-groups.googlegroups.com; posting-host=2a02:1210:2e90:8100:79e1:2c2c:f6d:115b;
posting-account=gRqrnQkAAAAC_02ynnhqGk1VRQlve6ZG
NNTP-Posting-Host: 2a02:1210:2e90:8100:79e1:2c2c:f6d:115b
References: <ed019b00-8ca1-4d26-ba6d-4059c8f6679fn@googlegroups.com> <u52vvf$2nb$1@shakotay.alphanet.ch>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <beb0109b-0674-4ac4-a9ac-1b57fbf2bba4n@googlegroups.com>
Subject: Re: Ann: GWindows release, 29-May-2023
From: gautier_niouzes@hotmail.com (Gautier write-only address)
Injection-Date: Mon, 29 May 2023 23:59:39 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 1523
 by: Gautier write-only a - Mon, 29 May 2023 23:59 UTC

On Monday, May 29, 2023 at 9:57:43 PM UTC+2, DrPi wrote:
> What do you mean by "pure Ada" ?

IIRC, there are a few GNAT-only attributes, like Unrestricted_Access, used. No big deal.
But good point, I could check "purity" with the ObjectAda compiler.

Re: Ann: GWindows release, 29-May-2023

<u54a6t$1tlq7$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=9677&group=comp.lang.ada#9677

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: spam.jrcarter.not@spam.acm.org.not (Jeffrey R.Carter)
Newsgroups: comp.lang.ada
Subject: Re: Ann: GWindows release, 29-May-2023
Date: Tue, 30 May 2023 09:56:13 +0200
Organization: A noiseless patient Spider
Lines: 14
Message-ID: <u54a6t$1tlq7$1@dont-email.me>
References: <ed019b00-8ca1-4d26-ba6d-4059c8f6679fn@googlegroups.com>
<u52vvf$2nb$1@shakotay.alphanet.ch>
<beb0109b-0674-4ac4-a9ac-1b57fbf2bba4n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 30 May 2023 07:56:13 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="b5ffa4046da3a7471ee4d24b89d6f40e";
logging-data="2021191"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+gLeu7sO2omJzAXLLcvqxtHqG7fvfDegc="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.11.0
Cancel-Lock: sha1:Ii6zUwzfitHAND2g14ZiJmA2V58=
In-Reply-To: <beb0109b-0674-4ac4-a9ac-1b57fbf2bba4n@googlegroups.com>
Content-Language: en-US
 by: Jeffrey R.Carter - Tue, 30 May 2023 07:56 UTC

On 2023-05-30 01:59, Gautier write-only address wrote:
>
> IIRC, there are a few GNAT-only attributes, like Unrestricted_Access, used. No big deal.
> But good point, I could check "purity" with the ObjectAda compiler.

I took a quick look. Wouldn't all of Gnatcom need to be replaced?

--
Jeff Carter
"Ada is a management tool. It selects for software
engineers and encourages the hackers to quit."
Robert C. Leif
204

Re: Ann: GWindows release, 29-May-2023

<9a893d03-ccf9-46cb-b7f0-1e46263cf8b0n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=9691&group=comp.lang.ada#9691

  copy link   Newsgroups: comp.lang.ada
X-Received: by 2002:a05:620a:44d0:b0:74e:37dd:6197 with SMTP id y16-20020a05620a44d000b0074e37dd6197mr5247224qkp.8.1685858959274;
Sat, 03 Jun 2023 23:09:19 -0700 (PDT)
X-Received: by 2002:a81:ad06:0:b0:565:bf4b:de20 with SMTP id
l6-20020a81ad06000000b00565bf4bde20mr2389005ywh.2.1685858958989; Sat, 03 Jun
2023 23:09:18 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!newsfeed.hasname.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.ada
Date: Sat, 3 Jun 2023 23:09:18 -0700 (PDT)
In-Reply-To: <u54a6t$1tlq7$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=2a02:1210:2e90:8100:3889:c279:77ac:9df9;
posting-account=gRqrnQkAAAAC_02ynnhqGk1VRQlve6ZG
NNTP-Posting-Host: 2a02:1210:2e90:8100:3889:c279:77ac:9df9
References: <ed019b00-8ca1-4d26-ba6d-4059c8f6679fn@googlegroups.com>
<u52vvf$2nb$1@shakotay.alphanet.ch> <beb0109b-0674-4ac4-a9ac-1b57fbf2bba4n@googlegroups.com>
<u54a6t$1tlq7$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <9a893d03-ccf9-46cb-b7f0-1e46263cf8b0n@googlegroups.com>
Subject: Re: Ann: GWindows release, 29-May-2023
From: gautier_niouzes@hotmail.com (Gautier write-only address)
Injection-Date: Sun, 04 Jun 2023 06:09:19 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2493
 by: Gautier write-only a - Sun, 4 Jun 2023 06:09 UTC

On Tuesday, May 30, 2023 at 9:56:17 AM UTC+2, Jeffrey R.Carter wrote:

> I took a quick look. Wouldn't all of Gnatcom need to be replaced?

Good question.
When I compile a project using GWindows, GNAT uses 10 of the 53 GNATCOM packages.
One GNATism is 4x 'Unrestricted_Access in GNATCOM.Types, for accesses such as:

VARIANT_MISSING : aliased constant VARIANT : (VT_ERROR, 0, 0, 0, u => (Which => 8, scode => DISP_E_PARAMNOTFOUND));
PVARIANT_MISSING : Pointer_To_VARIANT : VARIANT_MISSING'Unrestricted_Access;

that could be either resolved into a standard Ada form or exiled into another package (GWindows doesn't need them).
Something thougher is a couple of intrinsic imports (sync_add_and_fetch, sync_sub_and_fetch):
function sync_add_and_fetch
(Ref : access Interfaces.Unsigned_32;
Add : Interfaces.Unsigned_32)
return Interfaces.Unsigned_32
with
Import,
Convention => Intrinsic,
External_Name => "__sync_add_and_fetch_4";

which seems to be specific to GCC (and actually, not even all versions of GCC...)

Re: Ann: GWindows release, 29-May-2023

<u6jmn6$15ot2$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=9722&group=comp.lang.ada#9722

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: randy@rrsoftware.com (Randy Brukardt)
Newsgroups: comp.lang.ada
Subject: Re: Ann: GWindows release, 29-May-2023
Date: Sat, 17 Jun 2023 02:18:05 -0500
Organization: A noiseless patient Spider
Lines: 25
Message-ID: <u6jmn6$15ot2$1@dont-email.me>
References: <ed019b00-8ca1-4d26-ba6d-4059c8f6679fn@googlegroups.com> <u52vvf$2nb$1@shakotay.alphanet.ch> <beb0109b-0674-4ac4-a9ac-1b57fbf2bba4n@googlegroups.com> <u54a6t$1tlq7$1@dont-email.me> <9a893d03-ccf9-46cb-b7f0-1e46263cf8b0n@googlegroups.com>
Injection-Date: Sat, 17 Jun 2023 07:17:58 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="e397dc105e734c45be259b9319dda610";
logging-data="1237922"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19WVu1LrKbIZjgYdOogmbjmG5eL3//mcvI="
Cancel-Lock: sha1:mpYIHtnUhHYQ2BLrPUXg2EYkDYw=
X-MSMail-Priority: Normal
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.7246
X-Newsreader: Microsoft Outlook Express 6.00.2900.5931
X-Priority: 3
 by: Randy Brukardt - Sat, 17 Jun 2023 07:18 UTC

"Gautier write-only address" <gautier_niouzes@hotmail.com> wrote in message
news:9a893d03-ccf9-46cb-b7f0-1e46263cf8b0n@googlegroups.com...
> Something thougher is a couple of intrinsic imports (sync_add_and_fetch,
> sync_sub_and_fetch):
> function sync_add_and_fetch
> (Ref : access Interfaces.Unsigned_32;
> Add : Interfaces.Unsigned_32)
> return Interfaces.Unsigned_32
> with
> Import,
> Convention => Intrinsic,
> External_Name => "__sync_add_and_fetch_4";
>
>which seems to be specific to GCC (and actually, not even all versions of
>GCC...)

This looks like an atomic operation. A portable Ada definition of such
operations is found in C.6.1-C.6.4 of Ada 2022. Probably those could be used
to replace the operation (of course, that would limit one to compilers
supporting that part of Ada 2022; dunno if anyone is doing that yet).

Randy.

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor