~ubuntu-branches/ubuntu/gutsy/yelp/gutsy-updates

« back to all changes in this revision

Viewing changes to src/yelp-debug.c

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2007-08-14 13:14:03 UTC
  • mfrom: (1.1.19 upstream)
  • Revision ID: james.westby@ubuntu.com-20070814131403-k4h8l2t6mc8pcrix
Tags: 2.19.90-0ubuntu1
* New upstream version:
  - Fix distcheck
  - Use x-yelp-index instead of index, which unbreaks some docbook files
  - Write html on command instead of in idle, which fixes info pages
  - Update some copyrights on files
  - Make MAINTAINERS meet bkor's high expectations
  - Add a "phrase not found" message to the find bar
  - Fix "info <page>" in search bar (LP: #54430)
  - Handle malformed .so tags
  - Better handling of cross links in man pages
  - Fix crashes in various info pages
  - Remove extra markup from print dialog
  - Fix searching of single ':' using basic search (LP: #128130)
  - Various fixes to basic search
  - Handle '\*=' escape sequence in man pages
  - Resolve full paths given with ghelp: uri (LP: #130724)
  - Reduce static data and relocations
  - Fix build on Solaris
  - Remove c++ comment
  - Mark -help contents as translatable
  - Remove suffix from icon
  - Make error messages less cryptic
  - Mark print dialog title as translatable
  - Fix building with Beagle again
  - Register EXSLT extensions
  - Fixes docbook pages again
  - Updated translations
* debian/patches/07_rosetta_translations_update.patch:
  - updated
* debian/patches/90_from_svn_exslt_registration.patch:
  - dropped, fixed with the new version
* debian/rules:
  - use beagle search

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
 
28
28
#include "yelp-debug.h"
29
29
 
30
 
GDebugKey debug_keys[] = {
31
 
        { "function-calls",   DB_FUNCTION },
32
 
        { "function-args",    DB_ARG }, 
33
 
        { "enable-profiling", DB_PROFILE },
34
 
        { "log",              DB_LOG },
35
 
        { "info",             DB_INFO },
36
 
        { "debug",            DB_DEBUG },
37
 
        { "warn",             DB_WARN },
38
 
        { "error",            DB_ERROR },
39
 
        { "all",              DB_ALL }
40
 
};
41
 
 
42
30
/**
43
31
 * @file:     you should pass the __FILE__ constant as this parameter
44
32
 * @line:     you should pass the __LINE__ constant as this parameter
84
72
        gchar           *str = NULL;
85
73
        gint             i;
86
74
 
 
75
        const GDebugKey debug_keys[] = {
 
76
            { "function-calls",   DB_FUNCTION },
 
77
            { "function-args",    DB_ARG }, 
 
78
            { "enable-profiling", DB_PROFILE },
 
79
            { "log",              DB_LOG },
 
80
            { "info",             DB_INFO },
 
81
            { "debug",            DB_DEBUG },
 
82
            { "warn",             DB_WARN },
 
83
            { "error",            DB_ERROR },
 
84
            { "all",              DB_ALL }
 
85
        };
 
86
 
87
87
        /* figure out which debug flags were set in the environment on the first
88
88
         * call to this function */
89
89
        if (first_call) {