-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi,
Am Sa den 15. Nov 2008 um 20:56 schrieb Vladimir Nadvornik: > On so 1. listopadu 2008, Klaus Ethgen wrote: > > 2. A change of the debugging method that allow selecting the debugging > > level with binary selection. > This is a good idea, but I think that the implementation should not use just > numbers, but named categories, like "renderer", "loader", "thumbnails" ... > We will have to define the list of categories and sort the existing messages > into these categories. Do you mean to use names in the DEBUG_* call or on the command line? Using it in the code would be nice. Using it on the command line would be not so nice. This code is for debugging only and not for the end user. When debugging the code I like to select just that portion of output which is interesting for me. Using binary selector is very common. When I have to use names on the command line I always have to look inside the code to find out which particular name I have to use now. > > 3. This patch is basing on number 2. It is introducing that every (well, > > nearly, see the patch note) function call can be printed with debug > > leven 5 (32). > This can be also useful, but maybe we should use different macro, because > the other debugging messages may be also useful for users who want to report > a > bug, but this should be compiled in only in developer version because it can > probably slow down the execution. Sure. I think debugging IS just a developer step. The goal of the code was to find out right difficult call sequences which is otherwise very difficult to see. Nice side effect was that I did remove the call from functions which are called very often. So that functions could be target for optimization (like defining them inline) to make the code more fast. My reference implementation for fast image viewing application is the xv which is the fastest implementation I ever see. Regards Klaus - -- Klaus Ethgen http://www.ethgen.de/ pub 2048R/D1A4EDE5 2000-02-26 Klaus Ethgen <[EMAIL PROTECTED]> Fingerprint: D7 67 71 C4 99 A6 D4 FE EA 40 30 57 3C 88 26 2B -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iQEVAwUBSSCeeZ+OKpjRpO3lAQIjTgf/c+F+7/o5cYEshDNnUeZEpcyd5M3HJfP9 3b5wC8EmF3LdXu6cPcaFjxo4kisQuxqg0oWmpqSImAeeR3pVVxPEXxBI3+7vZe5D vjYQiJERg2/wDXk7GCF9hISfSTadS1jjSqeK/4RoHIpMTjGk5Sa+inlLiTAbCyNT h/C4GmJhnSNRMJvSLOEY0bVe1sA7IH9kCQGvk0LLs7dzZXYUjePeq4cHaW70e9YU iRqfg4AclAathQAEl9R3t7NSFBBkNqmVyK8O9tbskUGfVbIb0zwVoJePN5DhtB79 AinH3DdIsM+swtIHg4dmwPF1YfkfXEfXNaGl7kncb1j/83dfCV9nXw== =QQyO -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Geeqie-devel mailing list Geeqie-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geeqie-devel