1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-05 09:13:14 +02:00

Renamed WeeChat log functions

This commit is contained in:
Sebastien Helleu
2007-11-24 18:08:41 +01:00
parent 26f31bb367
commit ab2dbe8151
20 changed files with 265 additions and 265 deletions
+7 -7
View File
@@ -1407,11 +1407,11 @@ gui_window_title_reset ()
void
gui_window_objects_print_log (struct t_gui_window *window)
{
weechat_log_printf (" win_title . . . . . : 0x%X\n", GUI_CURSES(window)->win_title);
weechat_log_printf (" win_chat. . . . . . : 0x%X\n", GUI_CURSES(window)->win_chat);
weechat_log_printf (" win_nick. . . . . . : 0x%X\n", GUI_CURSES(window)->win_nick);
weechat_log_printf (" win_status. . . . . : 0x%X\n", GUI_CURSES(window)->win_status);
weechat_log_printf (" win_infobar . . . . : 0x%X\n", GUI_CURSES(window)->win_infobar);
weechat_log_printf (" win_input . . . . . : 0x%X\n", GUI_CURSES(window)->win_input);
weechat_log_printf (" win_separator . . . : 0x%X\n", GUI_CURSES(window)->win_separator);
log_printf (" win_title . . . . . : 0x%X\n", GUI_CURSES(window)->win_title);
log_printf (" win_chat. . . . . . : 0x%X\n", GUI_CURSES(window)->win_chat);
log_printf (" win_nick. . . . . . : 0x%X\n", GUI_CURSES(window)->win_nick);
log_printf (" win_status. . . . . : 0x%X\n", GUI_CURSES(window)->win_status);
log_printf (" win_infobar . . . . : 0x%X\n", GUI_CURSES(window)->win_infobar);
log_printf (" win_input . . . . . : 0x%X\n", GUI_CURSES(window)->win_input);
log_printf (" win_separator . . . : 0x%X\n", GUI_CURSES(window)->win_separator);
}
+5 -5
View File
@@ -916,9 +916,9 @@ gui_window_title_reset ()
void
gui_window_objects_print_log (struct t_gui_window *window)
{
weechat_log_printf (" textview_chat . . . : 0x%X\n", GUI_GTK(window)->textview_chat);
weechat_log_printf (" textbuffer_chat . . : 0x%X\n", GUI_GTK(window)->textbuffer_chat);
weechat_log_printf (" texttag_chat. . . . : 0x%X\n", GUI_GTK(window)->texttag_chat);
weechat_log_printf (" textview_nicklist . : 0x%X\n", GUI_GTK(window)->textview_nicklist);
weechat_log_printf (" textbuffer_nicklist : 0x%X\n", GUI_GTK(window)->textbuffer_nicklist);
log_printf (" textview_chat . . . : 0x%X\n", GUI_GTK(window)->textview_chat);
log_printf (" textbuffer_chat . . : 0x%X\n", GUI_GTK(window)->textbuffer_chat);
log_printf (" texttag_chat. . . . : 0x%X\n", GUI_GTK(window)->texttag_chat);
log_printf (" textview_nicklist . : 0x%X\n", GUI_GTK(window)->textview_nicklist);
log_printf (" textbuffer_nicklist : 0x%X\n", GUI_GTK(window)->textbuffer_nicklist);
}
+66 -66
View File
@@ -880,27 +880,27 @@ gui_buffer_dump_hexa (struct t_gui_buffer *buffer)
char hexa[(16 * 3) + 1], ascii[(16 * 2) + 1];
int hexa_pos, ascii_pos;
weechat_log_printf ("[buffer dump hexa (addr:0x%X)]\n", buffer);
log_printf ("[buffer dump hexa (addr:0x%X)]\n", buffer);
num_line = 1;
for (ptr_line = buffer->lines; ptr_line; ptr_line = ptr_line->next_line)
{
/* display line without colors */
message_without_colors = (ptr_line->message) ?
(char *)gui_color_decode ((unsigned char *)ptr_line->message) : NULL;
weechat_log_printf ("\n");
weechat_log_printf (" line %d: %s\n",
num_line,
(message_without_colors) ?
message_without_colors : "(null)");
log_printf ("\n");
log_printf (" line %d: %s\n",
num_line,
(message_without_colors) ?
message_without_colors : "(null)");
if (message_without_colors)
free (message_without_colors);
/* display raw message for line */
if (ptr_line->message)
{
weechat_log_printf ("\n");
weechat_log_printf (" raw data for line %d (with color codes):\n",
num_line);
log_printf ("\n");
log_printf (" raw data for line %d (with color codes):\n",
num_line);
msg_pos = 0;
hexa_pos = 0;
ascii_pos = 0;
@@ -916,14 +916,14 @@ gui_buffer_dump_hexa (struct t_gui_buffer *buffer)
ascii_pos += 2;
if (ascii_pos == 32)
{
weechat_log_printf (" %-48s %s\n", hexa, ascii);
log_printf (" %-48s %s\n", hexa, ascii);
hexa_pos = 0;
ascii_pos = 0;
}
msg_pos++;
}
if (ascii_pos > 0)
weechat_log_printf (" %-48s %s\n", hexa, ascii);
log_printf (" %-48s %s\n", hexa, ascii);
}
num_line++;
@@ -945,64 +945,64 @@ gui_buffer_print_log ()
for (ptr_buffer = gui_buffers; ptr_buffer;
ptr_buffer = ptr_buffer->next_buffer)
{
weechat_log_printf ("\n");
weechat_log_printf ("[buffer (addr:0x%X)]\n", ptr_buffer);
weechat_log_printf (" plugin . . . . . . . . : 0x%X\n", ptr_buffer->plugin);
weechat_log_printf (" number . . . . . . . . : %d\n", ptr_buffer->number);
weechat_log_printf (" category . . . . . . . : '%s'\n", ptr_buffer->category);
weechat_log_printf (" name . . . . . . . . . : '%s'\n", ptr_buffer->name);
weechat_log_printf (" type . . . . . . . . . : %d\n", ptr_buffer->type);
weechat_log_printf (" notify_level . . . . . : %d\n", ptr_buffer->notify_level);
weechat_log_printf (" num_displayed. . . . . : %d\n", ptr_buffer->num_displayed);
weechat_log_printf (" title. . . . . . . . . : '%s'\n", ptr_buffer->title);
weechat_log_printf (" lines. . . . . . . . . : 0x%X\n", ptr_buffer->lines);
weechat_log_printf (" last_line. . . . . . . : 0x%X\n", ptr_buffer->last_line);
weechat_log_printf (" last_read_line . . . . : 0x%X\n", ptr_buffer->last_read_line);
weechat_log_printf (" lines_count. . . . . . : %d\n", ptr_buffer->lines_count);
weechat_log_printf (" prefix_max_length. . . : %d\n", ptr_buffer->prefix_max_length);
weechat_log_printf (" chat_refresh_needed. . : %d\n", ptr_buffer->chat_refresh_needed);
weechat_log_printf (" nicklist . . . . . . . : %d\n", ptr_buffer->nicklist);
weechat_log_printf (" nick_case_sensitive. . : %d\n", ptr_buffer->nick_case_sensitive);
weechat_log_printf (" nicks. . . . . . . . . : 0x%X\n", ptr_buffer->nicks);
weechat_log_printf (" last_nick. . . . . . . : 0x%X\n", ptr_buffer->last_nick);
weechat_log_printf (" nicks_count. . . . . . : %d\n", ptr_buffer->nicks_count);
weechat_log_printf (" input. . . . . . . . . : %d\n", ptr_buffer->input);
weechat_log_printf (" input_data_cb. . . . . : 0x%X\n", ptr_buffer->input_data_cb);
weechat_log_printf (" input_nick . . . . . . : '%s'\n", ptr_buffer->input_nick);
weechat_log_printf (" input_buffer . . . . . : '%s'\n", ptr_buffer->input_buffer);
weechat_log_printf (" input_buffer_color_mask: '%s'\n", ptr_buffer->input_buffer_color_mask);
weechat_log_printf (" input_buffer_alloc . . : %d\n", ptr_buffer->input_buffer_alloc);
weechat_log_printf (" input_buffer_size. . . : %d\n", ptr_buffer->input_buffer_size);
weechat_log_printf (" input_buffer_length. . : %d\n", ptr_buffer->input_buffer_length);
weechat_log_printf (" input_buffer_pos . . . : %d\n", ptr_buffer->input_buffer_pos);
weechat_log_printf (" input_buffer_1st_disp. : %d\n", ptr_buffer->input_buffer_1st_display);
weechat_log_printf (" completion . . . . . . : 0x%X\n", ptr_buffer->completion);
weechat_log_printf (" history. . . . . . . . : 0x%X\n", ptr_buffer->history);
weechat_log_printf (" last_history . . . . . : 0x%X\n", ptr_buffer->last_history);
weechat_log_printf (" ptr_history. . . . . . : 0x%X\n", ptr_buffer->ptr_history);
weechat_log_printf (" num_history. . . . . . : %d\n", ptr_buffer->num_history);
weechat_log_printf (" text_search. . . . . . : %d\n", ptr_buffer->text_search);
weechat_log_printf (" text_search_exact. . . : %d\n", ptr_buffer->text_search_exact);
weechat_log_printf (" text_search_found. . . : %d\n", ptr_buffer->text_search_found);
weechat_log_printf (" text_search_input. . . : '%s'\n", ptr_buffer->text_search_input);
weechat_log_printf (" prev_buffer. . . . . . : 0x%X\n", ptr_buffer->prev_buffer);
weechat_log_printf (" next_buffer. . . . . . : 0x%X\n", ptr_buffer->next_buffer);
log_printf ("\n");
log_printf ("[buffer (addr:0x%X)]\n", ptr_buffer);
log_printf (" plugin . . . . . . . . : 0x%X\n", ptr_buffer->plugin);
log_printf (" number . . . . . . . . : %d\n", ptr_buffer->number);
log_printf (" category . . . . . . . : '%s'\n", ptr_buffer->category);
log_printf (" name . . . . . . . . . : '%s'\n", ptr_buffer->name);
log_printf (" type . . . . . . . . . : %d\n", ptr_buffer->type);
log_printf (" notify_level . . . . . : %d\n", ptr_buffer->notify_level);
log_printf (" num_displayed. . . . . : %d\n", ptr_buffer->num_displayed);
log_printf (" title. . . . . . . . . : '%s'\n", ptr_buffer->title);
log_printf (" lines. . . . . . . . . : 0x%X\n", ptr_buffer->lines);
log_printf (" last_line. . . . . . . : 0x%X\n", ptr_buffer->last_line);
log_printf (" last_read_line . . . . : 0x%X\n", ptr_buffer->last_read_line);
log_printf (" lines_count. . . . . . : %d\n", ptr_buffer->lines_count);
log_printf (" prefix_max_length. . . : %d\n", ptr_buffer->prefix_max_length);
log_printf (" chat_refresh_needed. . : %d\n", ptr_buffer->chat_refresh_needed);
log_printf (" nicklist . . . . . . . : %d\n", ptr_buffer->nicklist);
log_printf (" nick_case_sensitive. . : %d\n", ptr_buffer->nick_case_sensitive);
log_printf (" nicks. . . . . . . . . : 0x%X\n", ptr_buffer->nicks);
log_printf (" last_nick. . . . . . . : 0x%X\n", ptr_buffer->last_nick);
log_printf (" nicks_count. . . . . . : %d\n", ptr_buffer->nicks_count);
log_printf (" input. . . . . . . . . : %d\n", ptr_buffer->input);
log_printf (" input_data_cb. . . . . : 0x%X\n", ptr_buffer->input_data_cb);
log_printf (" input_nick . . . . . . : '%s'\n", ptr_buffer->input_nick);
log_printf (" input_buffer . . . . . : '%s'\n", ptr_buffer->input_buffer);
log_printf (" input_buffer_color_mask: '%s'\n", ptr_buffer->input_buffer_color_mask);
log_printf (" input_buffer_alloc . . : %d\n", ptr_buffer->input_buffer_alloc);
log_printf (" input_buffer_size. . . : %d\n", ptr_buffer->input_buffer_size);
log_printf (" input_buffer_length. . : %d\n", ptr_buffer->input_buffer_length);
log_printf (" input_buffer_pos . . . : %d\n", ptr_buffer->input_buffer_pos);
log_printf (" input_buffer_1st_disp. : %d\n", ptr_buffer->input_buffer_1st_display);
log_printf (" completion . . . . . . : 0x%X\n", ptr_buffer->completion);
log_printf (" history. . . . . . . . : 0x%X\n", ptr_buffer->history);
log_printf (" last_history . . . . . : 0x%X\n", ptr_buffer->last_history);
log_printf (" ptr_history. . . . . . : 0x%X\n", ptr_buffer->ptr_history);
log_printf (" num_history. . . . . . : %d\n", ptr_buffer->num_history);
log_printf (" text_search. . . . . . : %d\n", ptr_buffer->text_search);
log_printf (" text_search_exact. . . : %d\n", ptr_buffer->text_search_exact);
log_printf (" text_search_found. . . : %d\n", ptr_buffer->text_search_found);
log_printf (" text_search_input. . . : '%s'\n", ptr_buffer->text_search_input);
log_printf (" prev_buffer. . . . . . : 0x%X\n", ptr_buffer->prev_buffer);
log_printf (" next_buffer. . . . . . : 0x%X\n", ptr_buffer->next_buffer);
for (ptr_nick = ptr_buffer->nicks; ptr_nick;
ptr_nick = ptr_nick->next_nick)
{
weechat_log_printf ("\n");
weechat_log_printf (" => nick %s (addr:0x%X):\n", ptr_nick->nick, ptr_nick);
weechat_log_printf (" sort_index. . . . . . : %d\n", ptr_nick->sort_index);
weechat_log_printf (" color_nick. . . . . . : %d\n", ptr_nick->color_nick);
weechat_log_printf (" prefix. . . . . . . . : '%c'\n", ptr_nick->prefix);
weechat_log_printf (" color_prefix. . . . . : %d\n", ptr_nick->color_prefix);
weechat_log_printf (" prev_nick . . . . . . : 0x%X\n", ptr_nick->prev_nick);
weechat_log_printf (" next_nick . . . . . . : 0x%X\n", ptr_nick->next_nick);
log_printf ("\n");
log_printf (" => nick %s (addr:0x%X):\n", ptr_nick->nick, ptr_nick);
log_printf (" sort_index. . . . . . : %d\n", ptr_nick->sort_index);
log_printf (" color_nick. . . . . . : %d\n", ptr_nick->color_nick);
log_printf (" prefix. . . . . . . . : '%c'\n", ptr_nick->prefix);
log_printf (" color_prefix. . . . . : %d\n", ptr_nick->color_prefix);
log_printf (" prev_nick . . . . . . : 0x%X\n", ptr_nick->prev_nick);
log_printf (" next_nick . . . . . . : 0x%X\n", ptr_nick->next_nick);
}
weechat_log_printf ("\n");
weechat_log_printf (" => last 100 lines:\n");
log_printf ("\n");
log_printf (" => last 100 lines:\n");
num = 0;
ptr_line = ptr_buffer->last_line;
while (ptr_line && (num < 100))
@@ -1018,9 +1018,9 @@ gui_buffer_print_log ()
while (ptr_line)
{
num--;
weechat_log_printf (" line N-%05d: str_time:'%s', prefix:'%s'\n",
log_printf (" line N-%05d: str_time:'%s', prefix:'%s'\n",
num, ptr_line->str_time, ptr_line->prefix);
weechat_log_printf (" data: '%s'\n",
log_printf (" data: '%s'\n",
ptr_line->message);
ptr_line = ptr_line->next_line;
@@ -1028,7 +1028,7 @@ gui_buffer_print_log ()
if (ptr_buffer->completion)
{
weechat_log_printf ("\n");
log_printf ("\n");
gui_completion_print_log (ptr_buffer->completion);
}
}
+1 -1
View File
@@ -408,7 +408,7 @@ gui_chat_line_add (struct t_gui_buffer *buffer, time_t date,
new_line = (struct t_gui_line *) malloc (sizeof (struct t_gui_line));
if (!new_line)
{
weechat_log_printf (_("Not enough memory for new line\n"));
log_printf (_("Not enough memory for new line\n"));
return;
}
+19 -19
View File
@@ -1688,27 +1688,27 @@ gui_completion_search (struct t_gui_completion *completion, int direction,
void
gui_completion_print_log (struct t_gui_completion *completion)
{
weechat_log_printf ("[completion (addr:0x%X)]\n", completion);
weechat_log_printf (" buffer . . . . . . . . : 0x%X\n", completion->buffer);
weechat_log_printf (" context. . . . . . . . : %d\n", completion->context);
weechat_log_printf (" base_command . . . . . : '%s'\n", completion->base_command);
weechat_log_printf (" base_command_arg . . . : %d\n", completion->base_command_arg);
weechat_log_printf (" arg_is_nick. . . . . . : %d\n", completion->arg_is_nick);
weechat_log_printf (" base_word. . . . . . . : '%s'\n", completion->base_word);
weechat_log_printf (" base_word_pos. . . . . : %d\n", completion->base_word_pos);
weechat_log_printf (" position . . . . . . . : %d\n", completion->position);
weechat_log_printf (" args . . . . . . . . . : '%s'\n", completion->args);
weechat_log_printf (" direction. . . . . . . : %d\n", completion->direction);
weechat_log_printf (" add_space. . . . . . . : %d\n", completion->add_space);
weechat_log_printf (" completion_list. . . . : 0x%X\n", completion->completion_list);
weechat_log_printf (" last_completion. . . . : 0x%X\n", completion->last_completion);
weechat_log_printf (" word_found . . . . . . : '%s'\n", completion->word_found);
weechat_log_printf (" position_replace . . . : %d\n", completion->position_replace);
weechat_log_printf (" diff_size. . . . . . . : %d\n", completion->diff_size);
weechat_log_printf (" diff_length. . . . . . : %d\n", completion->diff_length);
log_printf ("[completion (addr:0x%X)]\n", completion);
log_printf (" buffer . . . . . . . . : 0x%X\n", completion->buffer);
log_printf (" context. . . . . . . . : %d\n", completion->context);
log_printf (" base_command . . . . . : '%s'\n", completion->base_command);
log_printf (" base_command_arg . . . : %d\n", completion->base_command_arg);
log_printf (" arg_is_nick. . . . . . : %d\n", completion->arg_is_nick);
log_printf (" base_word. . . . . . . : '%s'\n", completion->base_word);
log_printf (" base_word_pos. . . . . : %d\n", completion->base_word_pos);
log_printf (" position . . . . . . . : %d\n", completion->position);
log_printf (" args . . . . . . . . . : '%s'\n", completion->args);
log_printf (" direction. . . . . . . : %d\n", completion->direction);
log_printf (" add_space. . . . . . . : %d\n", completion->add_space);
log_printf (" completion_list. . . . : 0x%X\n", completion->completion_list);
log_printf (" last_completion. . . . : 0x%X\n", completion->last_completion);
log_printf (" word_found . . . . . . : '%s'\n", completion->word_found);
log_printf (" position_replace . . . : %d\n", completion->position_replace);
log_printf (" diff_size. . . . . . . : %d\n", completion->diff_size);
log_printf (" diff_length. . . . . . : %d\n", completion->diff_length);
if (completion->completion_list)
{
weechat_log_printf ("\n");
log_printf ("\n");
weelist_print_log (completion->completion_list,
"completion list element");
}
+11 -11
View File
@@ -208,9 +208,9 @@ gui_hotlist_add (struct t_gui_buffer *buffer, int priority,
if ((new_hotlist = (struct t_gui_hotlist *) malloc (sizeof (struct t_gui_hotlist))) == NULL)
{
weechat_log_printf (NULL,
_("Error: not enough memory to add a buffer to "
"hotlist\n"));
log_printf (NULL,
_("Error: not enough memory to add a buffer to "
"hotlist\n"));
return;
}
@@ -345,13 +345,13 @@ gui_hotlist_print_log ()
for (ptr_hotlist = gui_hotlist; ptr_hotlist;
ptr_hotlist = ptr_hotlist->next_hotlist)
{
weechat_log_printf ("[hotlist (addr:0x%X)]\n", ptr_hotlist);
weechat_log_printf (" priority . . . . . . . : %d\n", ptr_hotlist->priority);
weechat_log_printf (" creation_time. . . . . : tv_sec:%d, tv_usec:%d\n",
ptr_hotlist->creation_time.tv_sec,
ptr_hotlist->creation_time.tv_usec);
weechat_log_printf (" buffer . . . . . . . . : 0x%X\n", ptr_hotlist->buffer);
weechat_log_printf (" prev_hotlist . . . . . : 0x%X\n", ptr_hotlist->prev_hotlist);
weechat_log_printf (" next_hotlist . . . . . : 0x%X\n", ptr_hotlist->next_hotlist);
log_printf ("[hotlist (addr:0x%X)]\n", ptr_hotlist);
log_printf (" priority . . . . . . . : %d\n", ptr_hotlist->priority);
log_printf (" creation_time. . . . . : tv_sec:%d, tv_usec:%d\n",
ptr_hotlist->creation_time.tv_sec,
ptr_hotlist->creation_time.tv_usec);
log_printf (" buffer . . . . . . . . : 0x%X\n", ptr_hotlist->buffer);
log_printf (" prev_hotlist . . . . . : 0x%X\n", ptr_hotlist->prev_hotlist);
log_printf (" next_hotlist . . . . . : 0x%X\n", ptr_hotlist->next_hotlist);
}
}
+1 -1
View File
@@ -72,7 +72,7 @@ gui_infobar_printf (int time_displayed, int color, char *message, ...)
free (buf2);
}
else
weechat_log_printf (_("Error: not enough memory for infobar message\n"));
log_printf (_("Error: not enough memory for infobar message\n"));
}
/*
+5 -5
View File
@@ -519,8 +519,7 @@ gui_keyboard_bind (char *key, char *command)
if (!key || !command)
{
weechat_log_printf (_("Error: unable to bind key \"%s\"\n"),
key);
log_printf (_("Error: unable to bind key \"%s\"\n"), key);
return NULL;
}
@@ -547,8 +546,9 @@ gui_keyboard_bind (char *key, char *command)
}
if (!ptr_function)
{
weechat_log_printf (_("Error: unable to bind key \"%s\" (invalid function name: \"%s\")\n"),
key, command);
log_printf (_("Error: unable to bind key \"%s\" "
"(invalid function name: \"%s\")\n"),
key, command);
return NULL;
}
}
@@ -561,7 +561,7 @@ gui_keyboard_bind (char *key, char *command)
ptr_args);
if (!new_key)
{
weechat_log_printf (_("Error: not enough memory for key binding\n"));
log_printf (_("Error: not enough memory for key binding\n"));
return NULL;
}
+48 -48
View File
@@ -769,57 +769,57 @@ gui_window_print_log ()
{
struct t_gui_window *ptr_window;
weechat_log_printf ("\n");
weechat_log_printf ("current window = 0x%X\n", gui_current_window);
log_printf ("\n");
log_printf ("current window = 0x%X\n", gui_current_window);
for (ptr_window = gui_windows; ptr_window; ptr_window = ptr_window->next_window)
{
weechat_log_printf ("\n");
weechat_log_printf ("[window (addr:0x%X)]\n", ptr_window);
weechat_log_printf (" win_x . . . . . . . : %d\n", ptr_window->win_x);
weechat_log_printf (" win_y . . . . . . . : %d\n", ptr_window->win_y);
weechat_log_printf (" win_width . . . . . : %d\n", ptr_window->win_width);
weechat_log_printf (" win_height. . . . . : %d\n", ptr_window->win_height);
weechat_log_printf (" win_width_pct . . . : %d\n", ptr_window->win_width_pct);
weechat_log_printf (" win_height_pct. . . : %d\n", ptr_window->win_height_pct);
weechat_log_printf (" win_chat_x. . . . . : %d\n", ptr_window->win_chat_x);
weechat_log_printf (" win_chat_y. . . . . : %d\n", ptr_window->win_chat_y);
weechat_log_printf (" win_chat_width. . . : %d\n", ptr_window->win_chat_width);
weechat_log_printf (" win_chat_height . . : %d\n", ptr_window->win_chat_height);
weechat_log_printf (" win_chat_cursor_x . : %d\n", ptr_window->win_chat_cursor_x);
weechat_log_printf (" win_chat_cursor_y . : %d\n", ptr_window->win_chat_cursor_y);
weechat_log_printf (" win_nick_x. . . . . : %d\n", ptr_window->win_nick_x);
weechat_log_printf (" win_nick_y. . . . . : %d\n", ptr_window->win_nick_y);
weechat_log_printf (" win_nick_width. . . : %d\n", ptr_window->win_nick_width);
weechat_log_printf (" win_nick_height . . : %d\n", ptr_window->win_nick_height);
weechat_log_printf (" win_nick_start. . . : %d\n", ptr_window->win_nick_start);
weechat_log_printf (" win_title_x . . . . : %d\n", ptr_window->win_title_x);
weechat_log_printf (" win_title_y . . . . : %d\n", ptr_window->win_title_y);
weechat_log_printf (" win_title_width . . : %d\n", ptr_window->win_title_width);
weechat_log_printf (" win_title_height. . : %d\n", ptr_window->win_title_height);
weechat_log_printf (" win_title_start . . : %d\n", ptr_window->win_title_start);
weechat_log_printf (" win_status_x. . . . : %d\n", ptr_window->win_status_x);
weechat_log_printf (" win_status_y. . . . : %d\n", ptr_window->win_status_y);
weechat_log_printf (" win_status_width. . : %d\n", ptr_window->win_status_width);
weechat_log_printf (" win_status_height . : %d\n", ptr_window->win_status_height);
weechat_log_printf (" win_infobar_x . . . : %d\n", ptr_window->win_infobar_x);
weechat_log_printf (" win_infobar_y . . . : %d\n", ptr_window->win_infobar_y);
weechat_log_printf (" win_infobar_width . : %d\n", ptr_window->win_infobar_width);
weechat_log_printf (" win_infobar_height. : %d\n", ptr_window->win_infobar_height);
weechat_log_printf (" win_input_x . . . . : %d\n", ptr_window->win_input_x);
weechat_log_printf (" win_input_y . . . . : %d\n", ptr_window->win_input_y);
weechat_log_printf (" win_input_width . . : %d\n", ptr_window->win_input_width);
weechat_log_printf (" win_input_height. . : %d\n", ptr_window->win_input_height);
weechat_log_printf (" win_input_cursor_x. : %d\n", ptr_window->win_input_cursor_x);
log_printf ("\n");
log_printf ("[window (addr:0x%X)]\n", ptr_window);
log_printf (" win_x . . . . . . . : %d\n", ptr_window->win_x);
log_printf (" win_y . . . . . . . : %d\n", ptr_window->win_y);
log_printf (" win_width . . . . . : %d\n", ptr_window->win_width);
log_printf (" win_height. . . . . : %d\n", ptr_window->win_height);
log_printf (" win_width_pct . . . : %d\n", ptr_window->win_width_pct);
log_printf (" win_height_pct. . . : %d\n", ptr_window->win_height_pct);
log_printf (" win_chat_x. . . . . : %d\n", ptr_window->win_chat_x);
log_printf (" win_chat_y. . . . . : %d\n", ptr_window->win_chat_y);
log_printf (" win_chat_width. . . : %d\n", ptr_window->win_chat_width);
log_printf (" win_chat_height . . : %d\n", ptr_window->win_chat_height);
log_printf (" win_chat_cursor_x . : %d\n", ptr_window->win_chat_cursor_x);
log_printf (" win_chat_cursor_y . : %d\n", ptr_window->win_chat_cursor_y);
log_printf (" win_nick_x. . . . . : %d\n", ptr_window->win_nick_x);
log_printf (" win_nick_y. . . . . : %d\n", ptr_window->win_nick_y);
log_printf (" win_nick_width. . . : %d\n", ptr_window->win_nick_width);
log_printf (" win_nick_height . . : %d\n", ptr_window->win_nick_height);
log_printf (" win_nick_start. . . : %d\n", ptr_window->win_nick_start);
log_printf (" win_title_x . . . . : %d\n", ptr_window->win_title_x);
log_printf (" win_title_y . . . . : %d\n", ptr_window->win_title_y);
log_printf (" win_title_width . . : %d\n", ptr_window->win_title_width);
log_printf (" win_title_height. . : %d\n", ptr_window->win_title_height);
log_printf (" win_title_start . . : %d\n", ptr_window->win_title_start);
log_printf (" win_status_x. . . . : %d\n", ptr_window->win_status_x);
log_printf (" win_status_y. . . . : %d\n", ptr_window->win_status_y);
log_printf (" win_status_width. . : %d\n", ptr_window->win_status_width);
log_printf (" win_status_height . : %d\n", ptr_window->win_status_height);
log_printf (" win_infobar_x . . . : %d\n", ptr_window->win_infobar_x);
log_printf (" win_infobar_y . . . : %d\n", ptr_window->win_infobar_y);
log_printf (" win_infobar_width . : %d\n", ptr_window->win_infobar_width);
log_printf (" win_infobar_height. : %d\n", ptr_window->win_infobar_height);
log_printf (" win_input_x . . . . : %d\n", ptr_window->win_input_x);
log_printf (" win_input_y . . . . : %d\n", ptr_window->win_input_y);
log_printf (" win_input_width . . : %d\n", ptr_window->win_input_width);
log_printf (" win_input_height. . : %d\n", ptr_window->win_input_height);
log_printf (" win_input_cursor_x. : %d\n", ptr_window->win_input_cursor_x);
gui_window_objects_print_log (ptr_window);
weechat_log_printf (" dcc_first . . . . . : 0x%X\n", ptr_window->dcc_first);
weechat_log_printf (" dcc_selected. . . . : 0x%X\n", ptr_window->dcc_selected);
weechat_log_printf (" dcc_last_displayed. : 0x%X\n", ptr_window->dcc_last_displayed);
weechat_log_printf (" buffer. . . . . . . : 0x%X\n", ptr_window->buffer);
weechat_log_printf (" first_line_displayed: %d\n", ptr_window->first_line_displayed);
weechat_log_printf (" start_line. . . . . : 0x%X\n", ptr_window->start_line);
weechat_log_printf (" start_line_pos. . . : %d\n", ptr_window->start_line_pos);
weechat_log_printf (" prev_window . . . . : 0x%X\n", ptr_window->prev_window);
weechat_log_printf (" next_window . . . . : 0x%X\n", ptr_window->next_window);
log_printf (" dcc_first . . . . . : 0x%X\n", ptr_window->dcc_first);
log_printf (" dcc_selected. . . . : 0x%X\n", ptr_window->dcc_selected);
log_printf (" dcc_last_displayed. : 0x%X\n", ptr_window->dcc_last_displayed);
log_printf (" buffer. . . . . . . : 0x%X\n", ptr_window->buffer);
log_printf (" first_line_displayed: %d\n", ptr_window->first_line_displayed);
log_printf (" start_line. . . . . : 0x%X\n", ptr_window->start_line);
log_printf (" start_line_pos. . . : %d\n", ptr_window->start_line_pos);
log_printf (" prev_window . . . . : 0x%X\n", ptr_window->prev_window);
log_printf (" next_window . . . . : 0x%X\n", ptr_window->next_window);
}
}