* [Announcement] Ada0Y.Directories - alpha release
@ 2003-06-01 11:02 Martin Dowie
2003-06-01 12:21 ` Preben Randhol
` (2 more replies)
0 siblings, 3 replies; 12+ messages in thread
From: Martin Dowie @ 2003-06-01 11:02 UTC (permalink / raw)
Under the premise of 'release early, release often' I'm announcing an alpha
release of "Ada0Y.Directories". This is an implementation of AI-248
(http://www.ada-auth.org/cgi-bin/cvsweb.cgi/AIs/AI-00248.TXT). Also included
are AdaBrowse generated html pages containing the AI text as comments to
each subprogram and some test programs.
It isn't 100% complete but it can currently:
- set/get current directory
- create/destroy directories
- create paths
- search for files/directories (including wildcards)
The URL is:
http://www.martin.dowie.btinternet.co.uk/
It has been implemented and tested on WinNT/WinXP using GNAT 3.15p.
If you can confirm other configurations please send me details via the
'feedback' links and I'll include a table.
If you find any bugs please also send 'feedback'.
Martin Dowie
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Announcement] Ada0Y.Directories - alpha release
2003-06-01 11:02 [Announcement] Ada0Y.Directories - alpha release Martin Dowie
@ 2003-06-01 12:21 ` Preben Randhol
2003-06-01 13:12 ` Martin Dowie
2003-06-01 20:07 ` steve_H
2003-06-13 16:44 ` Ada0Y.Directories - updated Martin Dowie
2 siblings, 1 reply; 12+ messages in thread
From: Preben Randhol @ 2003-06-01 12:21 UTC (permalink / raw)
Martin Dowie wrote:
> Under the premise of 'release early, release often' I'm announcing an alpha
> release of "Ada0Y.Directories". This is an implementation of AI-248
> (http://www.ada-auth.org/cgi-bin/cvsweb.cgi/AIs/AI-00248.TXT). Also included
> are AdaBrowse generated html pages containing the AI text as comments to
> each subprogram and some test programs.
>
> It isn't 100% complete but it can currently:
> - set/get current directory
> - create/destroy directories
> - create paths
> - search for files/directories (including wildcards)
>
> The URL is:
> http://www.martin.dowie.btinternet.co.uk/
>
Great! (Noticed that the tests where missing. No tests.zip file it says)
--
Preben Randhol http://www.pvv.org/~randhol/
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Announcement] Ada0Y.Directories - alpha release
2003-06-01 11:02 [Announcement] Ada0Y.Directories - alpha release Martin Dowie
2003-06-01 12:21 ` Preben Randhol
@ 2003-06-01 20:07 ` steve_H
2003-06-01 20:50 ` Jeffrey Creem
2003-06-13 16:44 ` Ada0Y.Directories - updated Martin Dowie
2 siblings, 1 reply; 12+ messages in thread
From: steve_H @ 2003-06-01 20:07 UTC (permalink / raw)
"Martin Dowie" <martin.dowie@btopenworld.com> wrote in message news:<bbcmgr$c1n$1@sparta.btinternet.com>...
> The URL is:
> http://www.martin.dowie.btinternet.co.uk/
>
"The exception Use_Error is propagated if
-- the external environment does not support the creation of a directory
-- with the given name (in the absence of Name_Error) and form. "
hi;
Man of the functions in that package raise the above exception.
Does the standard allow the user to obtain a specific error as to why
the exception occured? In practice, one would want to know WHY the error
occured, not just that AN error occured.
For example, in Unix, one can read the error number to find more information
about why a function failed (returned -1 for example). Is it possible to
get this info from the detailed of the exception itself here with Ada somehow?
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Announcement] Ada0Y.Directories - alpha release
2003-06-01 20:07 ` steve_H
@ 2003-06-01 20:50 ` Jeffrey Creem
2003-06-02 7:22 ` Martin Dowie
0 siblings, 1 reply; 12+ messages in thread
From: Jeffrey Creem @ 2003-06-01 20:50 UTC (permalink / raw)
"steve_H" <nma124@hotmail.com> wrote in message
news:8db3d6c8.0306011207.50b3ab6@posting.google.com...
>> Does the standard allow the user to obtain a specific error as to why
> the exception occured? In practice, one would want to know WHY the error
> occured, not just that AN error occured.
>
Depends...There is no errno or multi-returnvalue but usually the idea here
is to use different exceptions for cases that should
be processed differently and provide the extra "programmer info" type stuff
from something like Ada.Exceptions.Exception_Message
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Announcement] Ada0Y.Directories - alpha release
2003-06-01 20:50 ` Jeffrey Creem
@ 2003-06-02 7:22 ` Martin Dowie
2003-06-03 16:33 ` Martin Krischik
0 siblings, 1 reply; 12+ messages in thread
From: Martin Dowie @ 2003-06-02 7:22 UTC (permalink / raw)
"Jeffrey Creem" <jeff@thecreems.com> wrote in message news:<mGtCa.538927$Si4.470235@rwcrnsc51.ops.asp.att.net>...
> "steve_H" <nma124@hotmail.com> wrote in message
> news:8db3d6c8.0306011207.50b3ab6@posting.google.com...
> >> Does the standard allow the user to obtain a specific error as to why
> > the exception occured? In practice, one would want to know WHY the error
> > occured, not just that AN error occured.
> >
>
>
> Depends...There is no errno or multi-returnvalue but usually the idea here
> is to use different exceptions for cases that should
> be processed differently and provide the extra "programmer info" type stuff
> from something like Ada.Exceptions.Exception_Message
I'll look into providing more detailed error reasons where possible, though
I may consentrate on just getting functionality in first - I only have about
15 minutes a day to devote to this :-)
^ permalink raw reply [flat|nested] 12+ messages in thread
* Ada0Y.Directories - updated
2003-06-01 11:02 [Announcement] Ada0Y.Directories - alpha release Martin Dowie
2003-06-01 12:21 ` Preben Randhol
2003-06-01 20:07 ` steve_H
@ 2003-06-13 16:44 ` Martin Dowie
2 siblings, 0 replies; 12+ messages in thread
From: Martin Dowie @ 2003-06-13 16:44 UTC (permalink / raw)
I've uploaded a new version of Ada0Y.Directories at:
http://www.martin.dowie.btinternet.co.uk/
New features in this version are:
o Copy and rename files
o Added support for Simple, Base and Full Names
o Added support for file extensions
o Added support for modification time*
o Simple directory name simplification
o Added exception messages
o Updated the tests
o Added more info from the AI as comments to the package spec
o Added more AdaBrowse tags
o Added "pragma License" information
o Created HTML using GNATHTML
* On Win32 this is GMT and not the value seen in Explorer.
Still not 100% compliant but probably good enough for applications.
Thanks to those who have already sent feedback, the more the
better! I'm particularly interested to here from people using
something of than WinNT/WinXP.
Martin
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2003-06-13 16:44 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-06-01 11:02 [Announcement] Ada0Y.Directories - alpha release Martin Dowie
2003-06-01 12:21 ` Preben Randhol
2003-06-01 13:12 ` Martin Dowie
2003-06-01 20:07 ` steve_H
2003-06-01 20:50 ` Jeffrey Creem
2003-06-02 7:22 ` Martin Dowie
2003-06-03 16:33 ` Martin Krischik
2003-06-04 15:27 ` Preben Randhol
2003-06-08 10:11 ` Martin Krischik
2003-06-09 10:22 ` Preben Randhol
2003-06-04 19:18 ` Martin Dowie
2003-06-13 16:44 ` Ada0Y.Directories - updated Martin Dowie
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox