comp.lang.ada
 help / color / mirror / Atom feed
* Ada.Directories problems, a summary
@ 2009-01-01 11:16 Dmitry A. Kazakov
  2009-01-01 13:47 ` Ivan Levashew
                   ` (4 more replies)
  0 siblings, 5 replies; 20+ messages in thread
From: Dmitry A. Kazakov @ 2009-01-01 11:16 UTC (permalink / raw)


After experimenting with Ada.Directories I collected the issues I think
must be addressed to make Ada.Directories more usable:

1. Name encoding. Either String versions should be UTF-8 or else replaced
with Wide_Wide_String ones.

2. Name canonization / comparison functions. Presently it is impossible to
compare files by names because the same file may have potentially an
infinite number of names.

3. Fake children "." and ".." should have special File_Kind
(Virtual_Directory_File, for example). Else it is impossible to traverse
the directory tree in a portable way.

4. There should be a variant of Start_Search without the Directory
parameter, in order to enumerate the roots of the file systems. For
example, to find drive letters under Windows, network shares, mount points
etc.

5. The behavior of Exists must be specified for the case of mountable
volumes. Presently GNAT implementation pops a message box under Windows.
This should be outlawed.

6. Is_Mountable / Is_Removable functions should be provided.

7. Version number in addition to Containing_Directory, Base_Name and
Extension. (Files have version numbers under VMS)

Any comments?

P.S. Happy New Year!

-- 
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de



^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2009-01-06 10:41 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-01-01 11:16 Ada.Directories problems, a summary Dmitry A. Kazakov
2009-01-01 13:47 ` Ivan Levashew
2009-01-01 14:15   ` Dmitry A. Kazakov
2009-01-02 14:22     ` Ivan Levashew
2009-01-02 14:49       ` Dmitry A. Kazakov
2009-01-02 22:33         ` Colin Paul Gloster
2009-01-03  9:08           ` Dmitry A. Kazakov
2009-01-05 10:01       ` Jean-Pierre Rosen
2009-01-02 22:57     ` Randy Brukardt
2009-01-03  9:39       ` Dmitry A. Kazakov
2009-01-06  1:23         ` Randy Brukardt
2009-01-06 10:41           ` Dmitry A. Kazakov
2009-01-06  1:23         ` Randy Brukardt
2009-01-01 13:56 ` Dmitry A. Kazakov
2009-01-01 14:05 ` Colin Paul Gloster
2009-01-01 14:29   ` Dmitry A. Kazakov
2009-01-01 20:41 ` anon
2009-01-02 11:22   ` Colin Paul Gloster
2009-01-02 10:22 ` Georg Bauhaus
2009-01-02 11:09   ` Dmitry A. Kazakov

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