mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-13 19:41:49 +00:00
![cyeh%netscape.com](/assets/img/avatar_default.png)
that was always enabled, whether security was enabled or not. this caused a confusion on the compile line, there -DMOZ_SECURITY and -DNO_SECURITY would be simultaneously defined. as a temporary hack, duplicate the logic on mozilla/config/config.mk so that ifdef NO_SECURITY -DNO_SECURITY, else -DMOZ_SECURITY. what a mess. this needs to be fixed right.
lib/libmime --- a general-purpose MIME parser. This module, libmime, implements a general-purpose MIME parser. One of the methods provided by this parser is the ability to emit an HTML representation of it. All Mozilla-specific code is (and should remain) isolated in the file mimemoz.c. Generally, if the code involves images, netlib streams, or MWContexts, it should be in mimemoz.c instead of in the main body of the MIME parser. See ALSO: mimei.h, http://www.imc.org/rfcs.html#mime, http://www.ietf.cnri.reston.va.us/ids.by.wg/mhtml.html