geany
1.38
About: Geany is a text editor (using GTK2) with basic features of an integrated development environment (syntax highlighting, code folding, symbol name auto-completion, ...). F: office T: editor programming GTK+ IDE
![]() ![]() |
#include "log.h"
#include "app.h"
#include "support.h"
#include "utils.h"
#include "ui_utils.h"
#include <gtk/gtk.h>
Go to the source code of this file.
Enumerations | |
enum | { DIALOG_RESPONSE_CLEAR = 1 } |
Functions | |
static void | update_dialog (void) |
void | geany_debug (gchar const *format,...) |
static void | handler_print (const gchar *msg) |
static void | handler_printerr (const gchar *msg) |
static const gchar * | get_log_prefix (GLogLevelFlags log_level) |
static void | handler_log (const gchar *domain, GLogLevelFlags level, const gchar *msg, gpointer data) |
void | log_handlers_init (void) |
static void | on_dialog_response (GtkDialog *dialog, gint response, gpointer user_data) |
void | log_show_debug_messages_dialog (void) |
void | log_finalize (void) |
Variables | |
static GString * | log_buffer = NULL |
static GtkTextBuffer * | dialog_textbuffer = NULL |
void geany_debug | ( | gchar const * | format, |
... | |||
) |
Definition at line 67 of file log.c.
References format.
Referenced by add_custom_filetype(), add_group_keys(), build_run_cmd(), build_spawn_cmd(), compile_regex(), configuration_load(), create_config_dir(), create_pref_page(), do_main_quit(), document_redo(), document_set_filetype(), document_undo(), encodings_convert_to_utf8_from_charset(), encodings_convert_to_utf8_with_suggestion(), filetypes_detect_from_file_internal(), filetypes_lookup_by_name(), geany_plugin_register(), get_text_dimensions(), highlighting_init_styles(), init_user_tags(), load_css_theme(), load_plugins_from_path(), load_settings(), load_system_keyfile(), main_lib(), open_session_file(), parse_color(), parse_command_line_options(), parse_keyfile_style(), plugin_check_version(), plugin_cleanup(), plugin_load(), plugin_load_gmodule(), plugin_new(), plugins_init(), read_group(), read_key_group(), regex_compile(), regex_match(), save_convert_to_encoding(), spawn_read_cb(), styleset_common(), symbols_generate_global_tags(), symbols_load_global_tags(), toolbar_reload(), update_tree_tags(), utils_get_path_from_uri(), utils_write_file(), wait_for_input_on_windows(), and write_data_to_disk().
|
static |
Definition at line 98 of file log.c.
Referenced by handler_log().
|
static |
Definition at line 119 of file log.c.
References app, GeanyApp::debug_mode, get_log_prefix(), log_buffer, NULL, update_dialog(), and utils_get_current_time_string().
Referenced by log_handlers_init().
|
static |
Definition at line 76 of file log.c.
References log_buffer, NULL, and update_dialog().
Referenced by log_handlers_init().
|
static |
Definition at line 87 of file log.c.
References log_buffer, NULL, and update_dialog().
Referenced by log_handlers_init().
void log_finalize | ( | void | ) |
Definition at line 218 of file log.c.
References log_buffer, and NULL.
Referenced by do_main_quit().
void log_handlers_init | ( | void | ) |
Definition at line 151 of file log.c.
References handler_log(), handler_print(), handler_printerr(), log_buffer, and NULL.
Referenced by main_lib().
void log_show_debug_messages_dialog | ( | void | ) |
Definition at line 181 of file log.c.
References _, dialog, DIALOG_RESPONSE_CLEAR, dialog_textbuffer, gtk_container_add(), gtk_widget_show_all(), main_widgets, NULL, on_dialog_response(), ui_dialog_vbox_new(), update_dialog(), and GeanyMainWidgets::window.
Referenced by on_debug_messages1_activate().
|
static |
Definition at line 161 of file log.c.
References dialog, DIALOG_RESPONSE_CLEAR, dialog_textbuffer, log_buffer, and NULL.
Referenced by log_show_debug_messages_dialog().
|
static |
Definition at line 51 of file log.c.
References dialog_textbuffer, log_buffer, and NULL.
Referenced by handler_log(), handler_print(), handler_printerr(), and log_show_debug_messages_dialog().
|
static |
Definition at line 43 of file log.c.
Referenced by log_show_debug_messages_dialog(), on_dialog_response(), and update_dialog().
|
static |
Definition at line 42 of file log.c.
Referenced by handler_log(), handler_print(), handler_printerr(), log_finalize(), log_handlers_init(), on_dialog_response(), and update_dialog().