comp.lang.ada
 help / color / mirror / Atom feed
From: Stephen Leake <stephen.a.leake.1@gsfc.nasa.gov>
Subject: Re: rename missing in Text_IO
Date: 09 May 2001 09:10:05 -0400
Date: 2001-05-09T13:25:38+00:00	[thread overview]
Message-ID: <uheyuzn0y.fsf@gsfc.nasa.gov> (raw)
In-Reply-To: 9d8rk2$sgg$1@nh.pace.co.uk

"Marin David Condic" <marin.condic.auntie.spam@pacemicro.com> writes:

> Since the discussion started concerning Win32ada simply having way too many
> types and way too much C-ish feeling to the parameter lists, etc., my
> original idea was to put a relatively simple layer on top of Win32ada. Just
> enough so that when a string was called for, you used an Ada string - not
> some 2nd or 3rd layer subtype of a pointer to a char - or other equally
> unfriendly examples. I wouldn't want to consolidate multiple calls into
> single calls or significantly change anything about the interface - so far
> as it could be avoided. Just Ada-ize what one sees when one uses the
> Win32api. (Some compromises are in order - you'd want to change all the
> numeric return statuses into something more Ada-ish like enumerations.
> Again, its a question of where does one stop?)

That was the original philosophy of Windex. I may have gone beyond
that some in developing whole new controls.

> To that end, I'd think that Claw exceeds the spec. Claw is a
> perfectly fine tool and one might be quite happy to develop on top
> of it. I'd think that there would remain times when one would simply
> want to get at a single Win32api call without any other layers of
> abstraction beyond making the thing not quite so agonizing to use
> from an Ada perspective.

It would be interesting to hear which parts of Claw you think are "too
thick". My nomination for that category is its use of a hidden task to
serialize access to the GUI. On the other hand, I have not yet
succeeded in building a multi-tasking Windex app, so I can't really
complain! 

> Claw may be a better answer for overall development, but I was kind
> of thinking along the lines of something that would be freely
> available as a blanket over the Win32ada binding. Sort of a "binding
> to a binding". (Now we could start the GPL vs LGPL vs GMGPL debate
> along a whole new thread! :-)

Windex is _not_ built on top of the Win32Ada binding, and neither is
Claw. Part of the reason is licensing; the Win32Ada binding is
actually copyright by Microsoft, since it was built by automatic
translation from their C source. It is _not_ "freely distributable";
the license terms state that you must own a Microsoft development
environment to use Win32Ada. Windex is GMGPL.

The other part of the reason is that there is lots of stuff in Win32
that should not be used; either because it is superceded by other
parts of Win32, or there is a better Ada way.

I haven't worked on Windex in quite a while. I'll probably make
another release when GNAT 3.14p comes out, but I don't anticipate much
beyond that. I just don't seem to have the urge to write Win32 apps
any more; I may do something for my latest toy, a Palm handheld.

-- 
-- Stephe



  reply	other threads:[~2001-05-09 13:10 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-05-04 21:47 RE: rename missing in Text_IO Beard, Frank
2001-05-07 14:13 ` Marin David Condic
2001-05-07 15:28   ` Ted Dennison
2001-05-07 16:03     ` Marin David Condic
2001-05-07 18:03       ` Ted Dennison
2001-05-07 19:00         ` Marin David Condic
2001-05-08  4:38           ` tmoran
2001-05-08  4:38           ` tmoran
2001-05-08 13:16             ` Marin David Condic
2001-05-09 13:10               ` Stephen Leake [this message]
2001-05-09 14:44                 ` Marin David Condic
2001-05-10  4:39                   ` tmoran
2001-05-08  4:38     ` tmoran
2001-05-08 13:24       ` Ted Dennison
2001-05-12  4:04   ` Randy Brukardt
  -- strict thread matches above, loose matches on Subject: below --
2001-05-09 22:56 Beard, Frank
2001-05-07 17:01 Beard, Frank
2001-05-04 21:48 Beard, Frank
2001-05-04 20:50 Beard, Frank
2001-05-04 21:08 ` Pascal Obry
2001-05-04 21:21 ` Ted Dennison
2001-05-07  8:56   ` Noam Kloos
2001-05-04 23:38 ` Larry Kilgallen
2001-05-04 23:17   ` David Starner
2001-05-08 22:03     ` Charles Hixson
2001-05-08 23:51       ` David Starner
2001-05-09 16:22         ` Charles Hixson
2001-05-09 22:04           ` Fraser Wilson
2001-05-09 22:33             ` Charles Hixson
2001-05-10 13:16             ` Ted Dennison
2001-05-04 11:04 Noam Kloos
2001-05-04 13:43 ` Ted Dennison
2001-05-04 13:53   ` Noam Kloos
2001-05-04 15:39     ` Ted Dennison
2001-05-04 14:00   ` Noam Kloos
2001-05-04 21:15     ` Florian Weimer
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox