This is the mail archive of the cygwin-apps@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: setup.exe - RFC: reorganizing source into category directories


On Thu, 28 Oct 2004, Max Bowsher wrote:

> Setup.exe has a *lot* of source files.
>
> To make the source a little more comprehendable, I'm planning on moving
> certain subsystems which effectively are utility libraries in their own right
> into subdirectories.
>
> This should hopefully be a step on the path to untangling the logic and the
> GUI code.
>
> To begin with, I'm proposing the following new directories:
>
> One for all source imported with little or no modification from external
> sources - that is md5.* (from libmd5-rfc sourceforge project) and rfc1738.*
> (from squid). A possible name for this would be "srclib".

I assume you plan to build those into a library and link with it later?
How about naming the directory after the library (e.g., "librfc" or
something)?

> One for NetIO and io_stream class heirarchies, and geturl.* (associated helper
> functions). This is a large (116KB) chunk of code, exclusively concerned with
> IO. A possible name for this would be "cygsuio".

Again, "libio"?

> One for all image files (icon, bitmaps). Name "images".

Would it make sense to move res.rc and resource.h in there as well and
call the directory "resources" or "libresource"?

> Comments welcome, especially if anyone has any preferences for different
> names.
>
> Max.

HTH,
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]