mirror of
https://github.com/weechat/weechat.git
synced 2026-07-05 09:13:14 +02:00
api: allow update for some variables of hdata, add new functions hdata_update and hdata_set
This commit is contained in:
+190
-148
@@ -1,6 +1,6 @@
|
||||
[width="100%",cols="^1,^2,5,5,5",options="header"]
|
||||
[width="100%",cols="^1,^2,5,5,5,5",options="header"]
|
||||
|========================================
|
||||
| Erweiterung | Name | Beschreibung | Variablen | Listen
|
||||
| Erweiterung | Name | Beschreibung | Variablen | Update allowed | Listen
|
||||
|
||||
| guile | guile_script | Liste der Skripten |
|
||||
'filename' (string) +
|
||||
@@ -14,8 +14,9 @@
|
||||
'charset' (string) +
|
||||
'callbacks' (pointer) +
|
||||
'unloading' (integer) +
|
||||
'prev_script' (pointer, hdata: 'guile_script') +
|
||||
'next_script' (pointer, hdata: 'guile_script') |
|
||||
'prev_script' (pointer, hdata: "guile_script") +
|
||||
'next_script' (pointer, hdata: "guile_script") |
|
||||
|
|
||||
'last_script' +
|
||||
'scripts'
|
||||
|
||||
@@ -36,22 +37,24 @@
|
||||
'pv_remote_nick_color' (string) +
|
||||
'hook_autorejoin' (pointer) +
|
||||
'nicks_count' (integer) +
|
||||
'nicks' (pointer, hdata: 'irc_nick') +
|
||||
'last_nick' (pointer, hdata: 'irc_nick') +
|
||||
'nicks' (pointer, hdata: "irc_nick") +
|
||||
'last_nick' (pointer, hdata: "irc_nick") +
|
||||
'nicks_speaking' (pointer) +
|
||||
'nicks_speaking_time' (pointer, hdata: 'irc_channel_speaking') +
|
||||
'last_nick_speaking_time' (pointer, hdata: 'irc_channel_speaking') +
|
||||
'buffer' (pointer, hdata: 'buffer') +
|
||||
'nicks_speaking_time' (pointer, hdata: "irc_channel_speaking") +
|
||||
'last_nick_speaking_time' (pointer, hdata: "irc_channel_speaking") +
|
||||
'buffer' (pointer, hdata: "buffer") +
|
||||
'buffer_as_string' (string) +
|
||||
'prev_channel' (pointer, hdata: 'irc_channel') +
|
||||
'next_channel' (pointer, hdata: 'irc_channel') |
|
||||
'prev_channel' (pointer, hdata: "irc_channel") +
|
||||
'next_channel' (pointer, hdata: "irc_channel") |
|
||||
|
|
||||
-
|
||||
|
||||
| irc | irc_channel_speaking | IRC channel_speaking |
|
||||
'nick' (string) +
|
||||
'time_last_message' (time) +
|
||||
'prev_nick' (pointer, hdata: 'irc_channel_speaking') +
|
||||
'next_nick' (pointer, hdata: 'irc_channel_speaking') |
|
||||
'prev_nick' (pointer, hdata: "irc_channel_speaking") +
|
||||
'next_nick' (pointer, hdata: "irc_channel_speaking") |
|
||||
|
|
||||
-
|
||||
|
||||
| irc | irc_ignore | IRC ignorieren |
|
||||
@@ -60,8 +63,9 @@
|
||||
'regex_mask' (pointer) +
|
||||
'server' (string) +
|
||||
'channel' (string) +
|
||||
'prev_ignore' (pointer, hdata: 'irc_ignore') +
|
||||
'next_ignore' (pointer, hdata: 'irc_ignore') |
|
||||
'prev_ignore' (pointer, hdata: "irc_ignore") +
|
||||
'next_ignore' (pointer, hdata: "irc_ignore") |
|
||||
|
|
||||
'irc_ignore_list' +
|
||||
'last_irc_ignore'
|
||||
|
||||
@@ -72,23 +76,25 @@
|
||||
'prefix' (string) +
|
||||
'away' (integer) +
|
||||
'color' (string) +
|
||||
'prev_nick' (pointer, hdata: 'irc_nick') +
|
||||
'next_nick' (pointer, hdata: 'irc_nick') |
|
||||
'prev_nick' (pointer, hdata: "irc_nick") +
|
||||
'next_nick' (pointer, hdata: "irc_nick") |
|
||||
|
|
||||
-
|
||||
|
||||
| irc | irc_notify | IRC-Benachrichtigungen |
|
||||
'server' (pointer, hdata: 'irc_server') +
|
||||
'server' (pointer, hdata: "irc_server") +
|
||||
'nick' (string) +
|
||||
'check_away' (integer) +
|
||||
'is_on_server' (integer) +
|
||||
'away_message' (string) +
|
||||
'ison_received' (integer) +
|
||||
'prev_notify' (pointer, hdata: 'irc_notify') +
|
||||
'next_notify' (pointer, hdata: 'irc_notify') |
|
||||
'prev_notify' (pointer, hdata: "irc_notify") +
|
||||
'next_notify' (pointer, hdata: "irc_notify") |
|
||||
|
|
||||
-
|
||||
|
||||
| irc | irc_redirect | IRC Umlenkung |
|
||||
'server' (pointer, hdata: 'irc_server') +
|
||||
'server' (pointer, hdata: "irc_server") +
|
||||
'pattern' (string) +
|
||||
'signal' (string) +
|
||||
'count' (integer) +
|
||||
@@ -106,8 +112,9 @@
|
||||
'cmd_filter' (hashtable) +
|
||||
'output' (string) +
|
||||
'output_size' (integer) +
|
||||
'prev_redirect' (pointer, hdata: 'irc_redirect') +
|
||||
'next_redirect' (pointer, hdata: 'irc_redirect') |
|
||||
'prev_redirect' (pointer, hdata: "irc_redirect") +
|
||||
'next_redirect' (pointer, hdata: "irc_redirect") |
|
||||
|
|
||||
-
|
||||
|
||||
| irc | irc_redirect_pattern | Muster für IRC Umlenkung |
|
||||
@@ -117,8 +124,9 @@
|
||||
'cmd_start' (string) +
|
||||
'cmd_stop' (string) +
|
||||
'cmd_extra' (string) +
|
||||
'prev_redirect' (pointer, hdata: 'irc_redirect_pattern') +
|
||||
'next_redirect' (pointer, hdata: 'irc_redirect_pattern') |
|
||||
'prev_redirect' (pointer, hdata: "irc_redirect_pattern") +
|
||||
'next_redirect' (pointer, hdata: "irc_redirect_pattern") |
|
||||
|
|
||||
'irc_redirect_patterns' +
|
||||
'last_irc_redirect_pattern'
|
||||
|
||||
@@ -129,17 +137,17 @@
|
||||
'reloading_from_config' (integer) +
|
||||
'reloaded_from_config' (integer) +
|
||||
'addresses_count' (integer) +
|
||||
'addresses_array' (string, array_size: 'addresses_count') +
|
||||
'ports_array' (integer, array_size: 'addresses_count') +
|
||||
'addresses_array' (string, array_size: "addresses_count") +
|
||||
'ports_array' (integer, array_size: "addresses_count") +
|
||||
'index_current_address' (integer) +
|
||||
'current_address' (string) +
|
||||
'current_ip' (string) +
|
||||
'current_port' (integer) +
|
||||
'sock' (integer) +
|
||||
'hook_connect' (pointer, hdata: 'hook') +
|
||||
'hook_fd' (pointer, hdata: 'hook') +
|
||||
'hook_timer_connection' (pointer, hdata: 'hook') +
|
||||
'hook_timer_sasl' (pointer, hdata: 'hook') +
|
||||
'hook_connect' (pointer, hdata: "hook") +
|
||||
'hook_fd' (pointer, hdata: "hook") +
|
||||
'hook_timer_connection' (pointer, hdata: "hook") +
|
||||
'hook_timer_sasl' (pointer, hdata: "hook") +
|
||||
'is_connected' (integer) +
|
||||
'ssl_connected' (integer) +
|
||||
'gnutls_sess' (other) +
|
||||
@@ -147,7 +155,7 @@
|
||||
'tls_cert_key' (other) +
|
||||
'unterminated_message' (string) +
|
||||
'nicks_count' (integer) +
|
||||
'nicks_array' (string, array_size: 'nicks_count') +
|
||||
'nicks_array' (string, array_size: "nicks_count") +
|
||||
'nick_first_tried' (integer) +
|
||||
'nick_alternate_number' (integer) +
|
||||
'nick' (string) +
|
||||
@@ -176,17 +184,18 @@
|
||||
'last_away_check' (time) +
|
||||
'outqueue' (pointer) +
|
||||
'last_outqueue' (pointer) +
|
||||
'redirects' (pointer, hdata: 'irc_redirect') +
|
||||
'last_redirect' (pointer, hdata: 'irc_redirect') +
|
||||
'notify_list' (pointer, hdata: 'irc_notify') +
|
||||
'last_notify' (pointer, hdata: 'irc_notify') +
|
||||
'redirects' (pointer, hdata: "irc_redirect") +
|
||||
'last_redirect' (pointer, hdata: "irc_redirect") +
|
||||
'notify_list' (pointer, hdata: "irc_notify") +
|
||||
'last_notify' (pointer, hdata: "irc_notify") +
|
||||
'manual_joins' (hashtable) +
|
||||
'buffer' (pointer, hdata: 'buffer') +
|
||||
'buffer' (pointer, hdata: "buffer") +
|
||||
'buffer_as_string' (string) +
|
||||
'channels' (pointer, hdata: 'irc_channel') +
|
||||
'last_channel' (pointer, hdata: 'irc_channel') +
|
||||
'prev_server' (pointer, hdata: 'irc_server') +
|
||||
'next_server' (pointer, hdata: 'irc_server') |
|
||||
'channels' (pointer, hdata: "irc_channel") +
|
||||
'last_channel' (pointer, hdata: "irc_channel") +
|
||||
'prev_server' (pointer, hdata: "irc_server") +
|
||||
'next_server' (pointer, hdata: "irc_server") |
|
||||
|
|
||||
'irc_servers' +
|
||||
'last_irc_server'
|
||||
|
||||
@@ -202,8 +211,9 @@
|
||||
'charset' (string) +
|
||||
'callbacks' (pointer) +
|
||||
'unloading' (integer) +
|
||||
'prev_script' (pointer, hdata: 'lua_script') +
|
||||
'next_script' (pointer, hdata: 'lua_script') |
|
||||
'prev_script' (pointer, hdata: "lua_script") +
|
||||
'next_script' (pointer, hdata: "lua_script") |
|
||||
|
|
||||
'last_script' +
|
||||
'scripts'
|
||||
|
||||
@@ -219,8 +229,9 @@
|
||||
'charset' (string) +
|
||||
'callbacks' (pointer) +
|
||||
'unloading' (integer) +
|
||||
'prev_script' (pointer, hdata: 'perl_script') +
|
||||
'next_script' (pointer, hdata: 'perl_script') |
|
||||
'prev_script' (pointer, hdata: "perl_script") +
|
||||
'next_script' (pointer, hdata: "perl_script") |
|
||||
|
|
||||
'last_script' +
|
||||
'scripts'
|
||||
|
||||
@@ -236,8 +247,9 @@
|
||||
'charset' (string) +
|
||||
'callbacks' (pointer) +
|
||||
'unloading' (integer) +
|
||||
'prev_script' (pointer, hdata: 'python_script') +
|
||||
'next_script' (pointer, hdata: 'python_script') |
|
||||
'prev_script' (pointer, hdata: "python_script") +
|
||||
'next_script' (pointer, hdata: "python_script") |
|
||||
|
|
||||
'last_script' +
|
||||
'scripts'
|
||||
|
||||
@@ -253,8 +265,9 @@
|
||||
'charset' (string) +
|
||||
'callbacks' (pointer) +
|
||||
'unloading' (integer) +
|
||||
'prev_script' (pointer, hdata: 'ruby_script') +
|
||||
'next_script' (pointer, hdata: 'ruby_script') |
|
||||
'prev_script' (pointer, hdata: "ruby_script") +
|
||||
'next_script' (pointer, hdata: "ruby_script") |
|
||||
|
|
||||
'last_script' +
|
||||
'scripts'
|
||||
|
||||
@@ -280,8 +293,9 @@
|
||||
'version_loaded' (string) +
|
||||
'displayed' (integer) +
|
||||
'install_order' (integer) +
|
||||
'prev_script' (pointer, hdata: 'script_script') +
|
||||
'next_script' (pointer, hdata: 'script_script') |
|
||||
'prev_script' (pointer, hdata: "script_script") +
|
||||
'next_script' (pointer, hdata: "script_script") |
|
||||
|
|
||||
'last_repo_script' +
|
||||
'repo_scripts'
|
||||
|
||||
@@ -297,8 +311,9 @@
|
||||
'charset' (string) +
|
||||
'callbacks' (pointer) +
|
||||
'unloading' (integer) +
|
||||
'prev_script' (pointer, hdata: 'tcl_script') +
|
||||
'next_script' (pointer, hdata: 'tcl_script') |
|
||||
'prev_script' (pointer, hdata: "tcl_script") +
|
||||
'next_script' (pointer, hdata: "tcl_script") |
|
||||
|
|
||||
'last_script' +
|
||||
'scripts'
|
||||
|
||||
@@ -306,32 +321,34 @@
|
||||
'name' (string) +
|
||||
'options' (pointer) +
|
||||
'conditions_count' (integer) +
|
||||
'conditions_array' (string, array_size: 'conditions_count') +
|
||||
'conditions_array' (string, array_size: "conditions_count") +
|
||||
'items_count' (integer) +
|
||||
'items_subcount' (pointer) +
|
||||
'items_array' (pointer) +
|
||||
'items_prefix' (pointer) +
|
||||
'items_name' (pointer) +
|
||||
'items_suffix' (pointer) +
|
||||
'bar_window' (pointer, hdata: 'bar_window') +
|
||||
'bar_window' (pointer, hdata: "bar_window") +
|
||||
'bar_refresh_needed' (integer) +
|
||||
'prev_bar' (pointer, hdata: 'bar') +
|
||||
'next_bar' (pointer, hdata: 'bar') |
|
||||
'prev_bar' (pointer, hdata: "bar") +
|
||||
'next_bar' (pointer, hdata: "bar") |
|
||||
|
|
||||
'gui_bars' +
|
||||
'last_gui_bar'
|
||||
|
||||
| weechat | bar_item | Bar-Item |
|
||||
'plugin' (pointer, hdata: 'plugin') +
|
||||
'plugin' (pointer, hdata: "plugin") +
|
||||
'name' (string) +
|
||||
'build_callback' (pointer) +
|
||||
'build_callback_data' (pointer) +
|
||||
'prev_item' (pointer, hdata: 'bar_item') +
|
||||
'next_item' (pointer, hdata: 'bar_item') |
|
||||
'prev_item' (pointer, hdata: "bar_item") +
|
||||
'next_item' (pointer, hdata: "bar_item") |
|
||||
|
|
||||
'gui_bar_items' +
|
||||
'last_gui_bar_item'
|
||||
|
||||
| weechat | bar_window | Bar-Fenster |
|
||||
'bar' (pointer, hdata: 'bar') +
|
||||
'bar' (pointer, hdata: "bar") +
|
||||
'x' (integer) +
|
||||
'y' (integer) +
|
||||
'width' (integer) +
|
||||
@@ -350,12 +367,13 @@
|
||||
'coords_count' (integer) +
|
||||
'coords' (pointer) +
|
||||
'gui_objects' (pointer) +
|
||||
'prev_bar_window' (pointer, hdata: 'bar_window') +
|
||||
'next_bar_window' (pointer, hdata: 'bar_window') |
|
||||
'prev_bar_window' (pointer, hdata: "bar_window") +
|
||||
'next_bar_window' (pointer, hdata: "bar_window") |
|
||||
|
|
||||
-
|
||||
|
||||
| weechat | buffer | Buffer |
|
||||
'plugin' (pointer, hdata: 'plugin') +
|
||||
'plugin' (pointer, hdata: "plugin") +
|
||||
'plugin_name_for_upgrade' (string) +
|
||||
'number' (integer) +
|
||||
'layout_number' (integer) +
|
||||
@@ -371,14 +389,14 @@
|
||||
'close_callback' (pointer) +
|
||||
'close_callback_data' (pointer) +
|
||||
'title' (string) +
|
||||
'own_lines' (pointer, hdata: 'lines') +
|
||||
'mixed_lines' (pointer, hdata: 'lines') +
|
||||
'lines' (pointer, hdata: 'lines') +
|
||||
'own_lines' (pointer, hdata: "lines") +
|
||||
'mixed_lines' (pointer, hdata: "lines") +
|
||||
'lines' (pointer, hdata: "lines") +
|
||||
'time_for_each_line' (integer) +
|
||||
'chat_refresh_needed' (integer) +
|
||||
'nicklist' (integer) +
|
||||
'nicklist_case_sensitive' (integer) +
|
||||
'nicklist_root' (pointer, hdata: 'nick_group') +
|
||||
'nicklist_root' (pointer, hdata: "nick_group") +
|
||||
'nicklist_max_length' (integer) +
|
||||
'nicklist_display_groups' (integer) +
|
||||
'nicklist_visible_count' (integer) +
|
||||
@@ -394,15 +412,15 @@
|
||||
'input_buffer_length' (integer) +
|
||||
'input_buffer_pos' (integer) +
|
||||
'input_buffer_1st_display' (integer) +
|
||||
'input_undo_snap' (pointer, hdata: 'input_undo') +
|
||||
'input_undo' (pointer, hdata: 'input_undo') +
|
||||
'last_input_undo' (pointer, hdata: 'input_undo') +
|
||||
'ptr_input_undo' (pointer, hdata: 'input_undo') +
|
||||
'input_undo_snap' (pointer, hdata: "input_undo") +
|
||||
'input_undo' (pointer, hdata: "input_undo") +
|
||||
'last_input_undo' (pointer, hdata: "input_undo") +
|
||||
'ptr_input_undo' (pointer, hdata: "input_undo") +
|
||||
'input_undo_count' (integer) +
|
||||
'completion' (pointer, hdata: 'completion') +
|
||||
'history' (pointer, hdata: 'history') +
|
||||
'last_history' (pointer, hdata: 'history') +
|
||||
'ptr_history' (pointer, hdata: 'history') +
|
||||
'completion' (pointer, hdata: "completion") +
|
||||
'history' (pointer, hdata: "history") +
|
||||
'last_history' (pointer, hdata: "history") +
|
||||
'ptr_history' (pointer, hdata: "history") +
|
||||
'num_history' (integer) +
|
||||
'text_search' (integer) +
|
||||
'text_search_exact' (integer) +
|
||||
@@ -413,20 +431,21 @@
|
||||
'highlight_regex_compiled' (pointer) +
|
||||
'highlight_tags' (string) +
|
||||
'highlight_tags_count' (integer) +
|
||||
'highlight_tags_array' (string, array_size: 'highlight_tags_count') +
|
||||
'highlight_tags_array' (string, array_size: "highlight_tags_count") +
|
||||
'hotlist_max_level_nicks' (hashtable) +
|
||||
'keys' (pointer, hdata: 'key') +
|
||||
'last_key' (pointer, hdata: 'key') +
|
||||
'keys' (pointer, hdata: "key") +
|
||||
'last_key' (pointer, hdata: "key") +
|
||||
'keys_count' (integer) +
|
||||
'local_variables' (hashtable) +
|
||||
'prev_buffer' (pointer, hdata: 'buffer') +
|
||||
'next_buffer' (pointer, hdata: 'buffer') |
|
||||
'prev_buffer' (pointer, hdata: "buffer") +
|
||||
'next_buffer' (pointer, hdata: "buffer") |
|
||||
|
|
||||
'gui_buffer_last_displayed' +
|
||||
'gui_buffers' +
|
||||
'last_gui_buffer'
|
||||
|
||||
| weechat | completion | Struktur mit Vervollständigung |
|
||||
'buffer' (pointer, hdata: 'buffer') +
|
||||
'buffer' (pointer, hdata: "buffer") +
|
||||
'context' (integer) +
|
||||
'base_command' (string) +
|
||||
'base_command_arg_index' (integer) +
|
||||
@@ -443,38 +462,41 @@
|
||||
'position_replace' (integer) +
|
||||
'diff_size' (integer) +
|
||||
'diff_length' (integer) +
|
||||
'partial_completion_list' (pointer, hdata: 'completion_partial') +
|
||||
'last_partial_completion' (pointer, hdata: 'completion_partial') |
|
||||
'partial_completion_list' (pointer, hdata: "completion_partial") +
|
||||
'last_partial_completion' (pointer, hdata: "completion_partial") |
|
||||
|
|
||||
-
|
||||
|
||||
| weechat | completion_partial | Struktur mit teilweise Vervollständigung |
|
||||
'word' (string) +
|
||||
'count' (integer) +
|
||||
'prev_item' (pointer, hdata: 'completion_partial') +
|
||||
'next_item' (pointer, hdata: 'completion_partial') |
|
||||
'prev_item' (pointer, hdata: "completion_partial") +
|
||||
'next_item' (pointer, hdata: "completion_partial") |
|
||||
|
|
||||
-
|
||||
|
||||
| weechat | config_file | Konfigurationsdatei |
|
||||
'plugin' (pointer, hdata: 'plugin') +
|
||||
'plugin' (pointer, hdata: "plugin") +
|
||||
'name' (string) +
|
||||
'filename' (string) +
|
||||
'file' (pointer) +
|
||||
'callback_reload' (pointer) +
|
||||
'callback_reload_data' (pointer) +
|
||||
'sections' (pointer, hdata: 'config_section') +
|
||||
'last_section' (pointer, hdata: 'config_section') +
|
||||
'prev_config' (pointer, hdata: 'config_file') +
|
||||
'next_config' (pointer, hdata: 'config_file') |
|
||||
'sections' (pointer, hdata: "config_section") +
|
||||
'last_section' (pointer, hdata: "config_section") +
|
||||
'prev_config' (pointer, hdata: "config_file") +
|
||||
'next_config' (pointer, hdata: "config_file") |
|
||||
|
|
||||
'config_files' +
|
||||
'last_config_file'
|
||||
|
||||
| weechat | config_option | Konfigurationsoptionen |
|
||||
'config_file' (pointer, hdata: 'config_file') +
|
||||
'section' (pointer, hdata: 'config_section') +
|
||||
'config_file' (pointer, hdata: "config_file") +
|
||||
'section' (pointer, hdata: "config_section") +
|
||||
'name' (string) +
|
||||
'type' (integer) +
|
||||
'description' (string) +
|
||||
'string_values' (string, array_size: '*') +
|
||||
'string_values' (string, array_size: "*") +
|
||||
'min' (integer) +
|
||||
'max' (integer) +
|
||||
'default_value' (pointer) +
|
||||
@@ -487,12 +509,13 @@
|
||||
'callback_delete' (pointer) +
|
||||
'callback_delete_data' (pointer) +
|
||||
'loaded' (integer) +
|
||||
'prev_option' (pointer, hdata: 'config_option') +
|
||||
'next_option' (pointer, hdata: 'config_option') |
|
||||
'prev_option' (pointer, hdata: "config_option") +
|
||||
'next_option' (pointer, hdata: "config_option") |
|
||||
|
|
||||
-
|
||||
|
||||
| weechat | config_section | Konfigurationssektion |
|
||||
'config_file' (pointer, hdata: 'config_file') +
|
||||
'config_file' (pointer, hdata: "config_file") +
|
||||
'name' (string) +
|
||||
'user_can_add_options' (integer) +
|
||||
'user_can_delete_options' (integer) +
|
||||
@@ -506,10 +529,11 @@
|
||||
'callback_create_option_data' (pointer) +
|
||||
'callback_delete_option' (pointer) +
|
||||
'callback_delete_option_data' (pointer) +
|
||||
'options' (pointer, hdata: 'config_option') +
|
||||
'last_option' (pointer, hdata: 'config_option') +
|
||||
'prev_section' (pointer, hdata: 'config_section') +
|
||||
'next_section' (pointer, hdata: 'config_section') |
|
||||
'options' (pointer, hdata: "config_option") +
|
||||
'last_option' (pointer, hdata: "config_option") +
|
||||
'prev_section' (pointer, hdata: "config_section") +
|
||||
'next_section' (pointer, hdata: "config_section") |
|
||||
|
|
||||
-
|
||||
|
||||
| weechat | filter | Filter |
|
||||
@@ -520,19 +544,21 @@
|
||||
'buffers' (pointer) +
|
||||
'tags' (string) +
|
||||
'tags_count' (integer) +
|
||||
'tags_array' (string, array_size: 'tags_count') +
|
||||
'tags_array' (string, array_size: "tags_count") +
|
||||
'regex' (string) +
|
||||
'regex_prefix' (pointer) +
|
||||
'regex_message' (pointer) +
|
||||
'prev_filter' (pointer, hdata: 'filter') +
|
||||
'next_filter' (pointer, hdata: 'filter') |
|
||||
'prev_filter' (pointer, hdata: "filter") +
|
||||
'next_filter' (pointer, hdata: "filter") |
|
||||
|
|
||||
'gui_filters' +
|
||||
'last_gui_filter'
|
||||
|
||||
| weechat | history | Verlaufspeicher von Befehlen in einem Buffer |
|
||||
'text' (string) +
|
||||
'next_history' (pointer, hdata: 'history') +
|
||||
'prev_history' (pointer, hdata: 'history') |
|
||||
'next_history' (pointer, hdata: "history") +
|
||||
'prev_history' (pointer, hdata: "history") |
|
||||
|
|
||||
-
|
||||
|
||||
| weechat | hotlist | Hotliste |
|
||||
@@ -540,17 +566,19 @@
|
||||
'creation_time.tv_sec' (time) +
|
||||
'creation_time.tv_usec' (long) +
|
||||
'buffer' (pointer) +
|
||||
'count' (integer, array_size: '4') +
|
||||
'prev_hotlist' (pointer, hdata: 'hotlist') +
|
||||
'next_hotlist' (pointer, hdata: 'hotlist') |
|
||||
'count' (integer, array_size: "4") +
|
||||
'prev_hotlist' (pointer, hdata: "hotlist") +
|
||||
'next_hotlist' (pointer, hdata: "hotlist") |
|
||||
|
|
||||
'gui_hotlist' +
|
||||
'last_gui_hotlist'
|
||||
|
||||
| weechat | input_undo | Struktur der Rücknahmen für die Befehlszeile |
|
||||
'data' (string) +
|
||||
'pos' (integer) +
|
||||
'prev_undo' (pointer, hdata: 'input_undo') +
|
||||
'next_undo' (pointer, hdata: 'input_undo') |
|
||||
'prev_undo' (pointer, hdata: "input_undo") +
|
||||
'next_undo' (pointer, hdata: "input_undo") |
|
||||
|
|
||||
-
|
||||
|
||||
| weechat | key | Tastenbelegung (Tastaturkurzbefehl) |
|
||||
@@ -560,8 +588,9 @@
|
||||
'area_key' (string) +
|
||||
'command' (string) +
|
||||
'score' (integer) +
|
||||
'prev_key' (pointer, hdata: 'key') +
|
||||
'next_key' (pointer, hdata: 'key') |
|
||||
'prev_key' (pointer, hdata: "key") +
|
||||
'next_key' (pointer, hdata: "key") |
|
||||
|
|
||||
'gui_default_keys' +
|
||||
'gui_default_keys_cursor' +
|
||||
'gui_default_keys_mouse' +
|
||||
@@ -580,47 +609,55 @@
|
||||
'last_gui_key_search'
|
||||
|
||||
| weechat | line | Struktur mit einer Zeile |
|
||||
'data' (pointer, hdata: 'line_data') +
|
||||
'prev_line' (pointer, hdata: 'line') +
|
||||
'next_line' (pointer, hdata: 'line') |
|
||||
'data' (pointer, hdata: "line_data") +
|
||||
'prev_line' (pointer, hdata: "line") +
|
||||
'next_line' (pointer, hdata: "line") |
|
||||
|
|
||||
-
|
||||
|
||||
| weechat | line_data | Struktur mit einzeiligen Daten |
|
||||
'buffer' (pointer, hdata: 'buffer') +
|
||||
'buffer' (pointer, hdata: "buffer") +
|
||||
'y' (integer) +
|
||||
'date' (time) +
|
||||
'date_printed' (time) +
|
||||
'str_time' (string) +
|
||||
'tags_count' (integer) +
|
||||
'tags_array' (string, array_size: 'tags_count') +
|
||||
'tags_array' (string, array_size: "tags_count") +
|
||||
'displayed' (char) +
|
||||
'highlight' (char) +
|
||||
'refresh_needed' (char) +
|
||||
'prefix' (string) +
|
||||
'prefix_length' (integer) +
|
||||
'message' (string) |
|
||||
'date' (time) +
|
||||
'date_printed' (time) +
|
||||
'tags_array' (string) +
|
||||
'prefix' (string) +
|
||||
'message' (string) |
|
||||
-
|
||||
|
||||
| weechat | lines | Struktur mit Zeilen |
|
||||
'first_line' (pointer, hdata: 'line') +
|
||||
'last_line' (pointer, hdata: 'line') +
|
||||
'last_read_line' (pointer, hdata: 'line') +
|
||||
'first_line' (pointer, hdata: "line") +
|
||||
'last_line' (pointer, hdata: "line") +
|
||||
'last_read_line' (pointer, hdata: "line") +
|
||||
'lines_count' (integer) +
|
||||
'first_line_not_read' (integer) +
|
||||
'lines_hidden' (integer) +
|
||||
'buffer_max_length' (integer) +
|
||||
'prefix_max_length' (integer) |
|
||||
|
|
||||
-
|
||||
|
||||
| weechat | nick | Nick in Nickliste |
|
||||
'group' (pointer, hdata: 'nick_group') +
|
||||
'group' (pointer, hdata: "nick_group") +
|
||||
'name' (string) +
|
||||
'color' (string) +
|
||||
'prefix' (string) +
|
||||
'prefix_color' (string) +
|
||||
'visible' (integer) +
|
||||
'prev_nick' (pointer, hdata: 'nick') +
|
||||
'next_nick' (pointer, hdata: 'nick') |
|
||||
'prev_nick' (pointer, hdata: "nick") +
|
||||
'next_nick' (pointer, hdata: "nick") |
|
||||
|
|
||||
-
|
||||
|
||||
| weechat | nick_group | Gruppen in Nickliste |
|
||||
@@ -628,13 +665,14 @@
|
||||
'color' (string) +
|
||||
'visible' (integer) +
|
||||
'level' (integer) +
|
||||
'parent' (pointer, hdata: 'nick_group') +
|
||||
'children' (pointer, hdata: 'nick_group') +
|
||||
'last_child' (pointer, hdata: 'nick_group') +
|
||||
'nicks' (pointer, hdata: 'nick') +
|
||||
'last_nick' (pointer, hdata: 'nick') +
|
||||
'prev_group' (pointer, hdata: 'nick_group') +
|
||||
'next_group' (pointer, hdata: 'nick_group') |
|
||||
'parent' (pointer, hdata: "nick_group") +
|
||||
'children' (pointer, hdata: "nick_group") +
|
||||
'last_child' (pointer, hdata: "nick_group") +
|
||||
'nicks' (pointer, hdata: "nick") +
|
||||
'last_nick' (pointer, hdata: "nick") +
|
||||
'prev_group' (pointer, hdata: "nick_group") +
|
||||
'next_group' (pointer, hdata: "nick_group") |
|
||||
|
|
||||
-
|
||||
|
||||
| weechat | plugin | Erweiterung |
|
||||
@@ -647,8 +685,9 @@
|
||||
'license' (string) +
|
||||
'charset' (string) +
|
||||
'debug' (integer) +
|
||||
'prev_plugin' (pointer, hdata: 'plugin') +
|
||||
'next_plugin' (pointer, hdata: 'plugin') |
|
||||
'prev_plugin' (pointer, hdata: "plugin") +
|
||||
'next_plugin' (pointer, hdata: "plugin") |
|
||||
|
|
||||
'last_weechat_plugin' +
|
||||
'weechat_plugins'
|
||||
|
||||
@@ -666,41 +705,44 @@
|
||||
'win_chat_height' (integer) +
|
||||
'win_chat_cursor_x' (integer) +
|
||||
'win_chat_cursor_y' (integer) +
|
||||
'bar_windows' (pointer, hdata: 'bar_window') +
|
||||
'last_bar_window' (pointer, hdata: 'bar_window') +
|
||||
'bar_windows' (pointer, hdata: "bar_window") +
|
||||
'last_bar_window' (pointer, hdata: "bar_window") +
|
||||
'refresh_needed' (integer) +
|
||||
'gui_objects' (pointer) +
|
||||
'buffer' (pointer, hdata: 'buffer') +
|
||||
'buffer' (pointer, hdata: "buffer") +
|
||||
'layout_plugin_name' (string) +
|
||||
'layout_buffer_name' (string) +
|
||||
'scroll' (pointer, hdata: 'window_scroll') +
|
||||
'ptr_tree' (pointer, hdata: 'window_tree') +
|
||||
'prev_window' (pointer, hdata: 'window') +
|
||||
'next_window' (pointer, hdata: 'window') |
|
||||
'scroll' (pointer, hdata: "window_scroll") +
|
||||
'ptr_tree' (pointer, hdata: "window_tree") +
|
||||
'prev_window' (pointer, hdata: "window") +
|
||||
'next_window' (pointer, hdata: "window") |
|
||||
|
|
||||
'gui_current_window' +
|
||||
'gui_windows' +
|
||||
'last_gui_window'
|
||||
|
||||
| weechat | window_scroll | Scroll-Info in Fenstern |
|
||||
'buffer' (pointer, hdata: 'buffer') +
|
||||
'buffer' (pointer, hdata: "buffer") +
|
||||
'first_line_displayed' (integer) +
|
||||
'start_line' (pointer, hdata: 'line') +
|
||||
'start_line' (pointer, hdata: "line") +
|
||||
'start_line_pos' (integer) +
|
||||
'scrolling' (integer) +
|
||||
'start_col' (integer) +
|
||||
'lines_after' (integer) +
|
||||
'reset_allowed' (integer) +
|
||||
'prev_scroll' (pointer, hdata: 'window_scroll') +
|
||||
'next_scroll' (pointer, hdata: 'window_scroll') |
|
||||
'prev_scroll' (pointer, hdata: "window_scroll") +
|
||||
'next_scroll' (pointer, hdata: "window_scroll") |
|
||||
|
|
||||
-
|
||||
|
||||
| weechat | window_tree | Baumstruktur der Fenster |
|
||||
'parent_node' (pointer, hdata: 'window_tree') +
|
||||
'parent_node' (pointer, hdata: "window_tree") +
|
||||
'split_pct' (integer) +
|
||||
'split_horizontal' (integer) +
|
||||
'child1' (pointer, hdata: 'window_tree') +
|
||||
'child2' (pointer, hdata: 'window_tree') +
|
||||
'window' (pointer, hdata: 'window') |
|
||||
'child1' (pointer, hdata: "window_tree") +
|
||||
'child2' (pointer, hdata: "window_tree") +
|
||||
'window' (pointer, hdata: "window") |
|
||||
|
|
||||
'gui_windows_tree'
|
||||
|
||||
|========================================
|
||||
|
||||
+30
-18
@@ -201,6 +201,7 @@ def get_hdata():
|
||||
plugin = weechat.infolist_string(infolist, 'plugin_name') or 'weechat'
|
||||
hdata[plugin][hdata_name]['description'] = weechat.infolist_string(infolist, 'description')
|
||||
variables = ''
|
||||
variables_update = ''
|
||||
lists = ''
|
||||
ptr_hdata = weechat.hdata_get(hdata_name)
|
||||
if ptr_hdata:
|
||||
@@ -208,26 +209,34 @@ def get_hdata():
|
||||
string = weechat.hdata_get_string(ptr_hdata, 'var_keys_values')
|
||||
if string:
|
||||
for item in string.split(','):
|
||||
(key, value) = item.split(':')
|
||||
var_type = int(value) >> 16
|
||||
var_offset = int(value) & 0xFFFF
|
||||
key = item.split(':')[0]
|
||||
var_offset = weechat.hdata_get_var_offset(ptr_hdata, key)
|
||||
var_array_size = weechat.hdata_get_var_array_size_string(ptr_hdata, '', key)
|
||||
if var_array_size:
|
||||
var_array_size = ', array_size: \'%s\'' % var_array_size
|
||||
var_array_size = ', array_size: "%s"' % var_array_size
|
||||
var_hdata = weechat.hdata_get_var_hdata(ptr_hdata, key)
|
||||
if var_hdata:
|
||||
var_hdata = ', hdata: \'%s\'' % var_hdata
|
||||
var_hdata = ', hdata: "%s"' % var_hdata
|
||||
type_string = weechat.hdata_get_var_type_string(ptr_hdata, key)
|
||||
hdata2.append({'offset': var_offset,
|
||||
'text': '\'%s\' (%s%s%s)' % (key,
|
||||
weechat.hdata_get_var_type_string(ptr_hdata, key),
|
||||
var_array_size,
|
||||
var_hdata)})
|
||||
'text': '\'%s\' (%s)' % (key, type_string),
|
||||
'textlong': '\'%s\' (%s%s%s)' % (key, type_string, var_array_size, var_hdata),
|
||||
'update': weechat.hdata_update(ptr_hdata, '', { '__update_allowed': key })})
|
||||
hdata2 = sorted(hdata2, key=itemgetter('offset'))
|
||||
for item in hdata2:
|
||||
if variables:
|
||||
variables += ' +\n'
|
||||
variables += ' %s' % item['text']
|
||||
variables += ' %s' % item['textlong']
|
||||
if item['update']:
|
||||
if variables_update:
|
||||
variables_update += ' +\n'
|
||||
variables_update += ' %s' % item['text']
|
||||
if weechat.hdata_update(ptr_hdata, '', { '__delete_allowed' : '' }):
|
||||
if variables_update:
|
||||
variables_update += ' +\n'
|
||||
variables_update += ' \'__delete\''
|
||||
hdata[plugin][hdata_name]['vars'] = '\n%s' % variables
|
||||
hdata[plugin][hdata_name]['vars_update'] = '\n%s' % variables_update
|
||||
|
||||
string = weechat.hdata_get_string(ptr_hdata, 'list_keys')
|
||||
if string:
|
||||
@@ -480,20 +489,23 @@ def docgen_cmd_cb(data, buffer, args):
|
||||
filename = '%s/plugin_api/hdata.txt' % directory
|
||||
tmpfilename = '%s.tmp' % filename
|
||||
f = open(tmpfilename, 'w')
|
||||
f.write('[width="100%",cols="^1,^2,5,5,5",options="header"]\n')
|
||||
f.write('[width="100%",cols="^1,^2,5,5,5,5",options="header"]\n')
|
||||
f.write('|========================================\n')
|
||||
f.write('| %s | %s | %s | %s | %s\n\n' % (_('Plugin'), _('Name'), _('Description'),
|
||||
_('Variables'), _('Lists')))
|
||||
f.write('| %s | %s | %s | %s | %s | %s\n\n' % (_('Plugin'), _('Name'), _('Description'),
|
||||
_('Variables'), _('Update allowed'),
|
||||
_('Lists')))
|
||||
for plugin in sorted(hdata):
|
||||
for hdata_name in sorted(hdata[plugin]):
|
||||
description = translate(hdata[plugin][hdata_name]['description'])
|
||||
variables = hdata[plugin][hdata_name]['vars']
|
||||
variables_update = hdata[plugin][hdata_name]['vars_update']
|
||||
lists = hdata[plugin][hdata_name]['lists']
|
||||
f.write('| %s | %s | %s |%s |%s\n\n' % (escape(plugin),
|
||||
escape(hdata_name),
|
||||
escape(description),
|
||||
escape(variables),
|
||||
escape(lists)))
|
||||
f.write('| %s | %s | %s |%s |%s |%s\n\n' % (escape(plugin),
|
||||
escape(hdata_name),
|
||||
escape(description),
|
||||
escape(variables),
|
||||
escape(variables_update),
|
||||
escape(lists)))
|
||||
f.write('|========================================\n')
|
||||
f.close()
|
||||
update_file(filename, tmpfilename, num_files, num_files_updated, 'hdata')
|
||||
|
||||
+190
-148
@@ -1,6 +1,6 @@
|
||||
[width="100%",cols="^1,^2,5,5,5",options="header"]
|
||||
[width="100%",cols="^1,^2,5,5,5,5",options="header"]
|
||||
|========================================
|
||||
| Plugin | Name | Description | Variables | Lists
|
||||
| Plugin | Name | Description | Variables | Update allowed | Lists
|
||||
|
||||
| guile | guile_script | list of scripts |
|
||||
'filename' (string) +
|
||||
@@ -14,8 +14,9 @@
|
||||
'charset' (string) +
|
||||
'callbacks' (pointer) +
|
||||
'unloading' (integer) +
|
||||
'prev_script' (pointer, hdata: 'guile_script') +
|
||||
'next_script' (pointer, hdata: 'guile_script') |
|
||||
'prev_script' (pointer, hdata: "guile_script") +
|
||||
'next_script' (pointer, hdata: "guile_script") |
|
||||
|
|
||||
'last_script' +
|
||||
'scripts'
|
||||
|
||||
@@ -36,22 +37,24 @@
|
||||
'pv_remote_nick_color' (string) +
|
||||
'hook_autorejoin' (pointer) +
|
||||
'nicks_count' (integer) +
|
||||
'nicks' (pointer, hdata: 'irc_nick') +
|
||||
'last_nick' (pointer, hdata: 'irc_nick') +
|
||||
'nicks' (pointer, hdata: "irc_nick") +
|
||||
'last_nick' (pointer, hdata: "irc_nick") +
|
||||
'nicks_speaking' (pointer) +
|
||||
'nicks_speaking_time' (pointer, hdata: 'irc_channel_speaking') +
|
||||
'last_nick_speaking_time' (pointer, hdata: 'irc_channel_speaking') +
|
||||
'buffer' (pointer, hdata: 'buffer') +
|
||||
'nicks_speaking_time' (pointer, hdata: "irc_channel_speaking") +
|
||||
'last_nick_speaking_time' (pointer, hdata: "irc_channel_speaking") +
|
||||
'buffer' (pointer, hdata: "buffer") +
|
||||
'buffer_as_string' (string) +
|
||||
'prev_channel' (pointer, hdata: 'irc_channel') +
|
||||
'next_channel' (pointer, hdata: 'irc_channel') |
|
||||
'prev_channel' (pointer, hdata: "irc_channel") +
|
||||
'next_channel' (pointer, hdata: "irc_channel") |
|
||||
|
|
||||
-
|
||||
|
||||
| irc | irc_channel_speaking | irc channel_speaking |
|
||||
'nick' (string) +
|
||||
'time_last_message' (time) +
|
||||
'prev_nick' (pointer, hdata: 'irc_channel_speaking') +
|
||||
'next_nick' (pointer, hdata: 'irc_channel_speaking') |
|
||||
'prev_nick' (pointer, hdata: "irc_channel_speaking") +
|
||||
'next_nick' (pointer, hdata: "irc_channel_speaking") |
|
||||
|
|
||||
-
|
||||
|
||||
| irc | irc_ignore | irc ignore |
|
||||
@@ -60,8 +63,9 @@
|
||||
'regex_mask' (pointer) +
|
||||
'server' (string) +
|
||||
'channel' (string) +
|
||||
'prev_ignore' (pointer, hdata: 'irc_ignore') +
|
||||
'next_ignore' (pointer, hdata: 'irc_ignore') |
|
||||
'prev_ignore' (pointer, hdata: "irc_ignore") +
|
||||
'next_ignore' (pointer, hdata: "irc_ignore") |
|
||||
|
|
||||
'irc_ignore_list' +
|
||||
'last_irc_ignore'
|
||||
|
||||
@@ -72,23 +76,25 @@
|
||||
'prefix' (string) +
|
||||
'away' (integer) +
|
||||
'color' (string) +
|
||||
'prev_nick' (pointer, hdata: 'irc_nick') +
|
||||
'next_nick' (pointer, hdata: 'irc_nick') |
|
||||
'prev_nick' (pointer, hdata: "irc_nick") +
|
||||
'next_nick' (pointer, hdata: "irc_nick") |
|
||||
|
|
||||
-
|
||||
|
||||
| irc | irc_notify | irc notify |
|
||||
'server' (pointer, hdata: 'irc_server') +
|
||||
'server' (pointer, hdata: "irc_server") +
|
||||
'nick' (string) +
|
||||
'check_away' (integer) +
|
||||
'is_on_server' (integer) +
|
||||
'away_message' (string) +
|
||||
'ison_received' (integer) +
|
||||
'prev_notify' (pointer, hdata: 'irc_notify') +
|
||||
'next_notify' (pointer, hdata: 'irc_notify') |
|
||||
'prev_notify' (pointer, hdata: "irc_notify") +
|
||||
'next_notify' (pointer, hdata: "irc_notify") |
|
||||
|
|
||||
-
|
||||
|
||||
| irc | irc_redirect | irc redirect |
|
||||
'server' (pointer, hdata: 'irc_server') +
|
||||
'server' (pointer, hdata: "irc_server") +
|
||||
'pattern' (string) +
|
||||
'signal' (string) +
|
||||
'count' (integer) +
|
||||
@@ -106,8 +112,9 @@
|
||||
'cmd_filter' (hashtable) +
|
||||
'output' (string) +
|
||||
'output_size' (integer) +
|
||||
'prev_redirect' (pointer, hdata: 'irc_redirect') +
|
||||
'next_redirect' (pointer, hdata: 'irc_redirect') |
|
||||
'prev_redirect' (pointer, hdata: "irc_redirect") +
|
||||
'next_redirect' (pointer, hdata: "irc_redirect") |
|
||||
|
|
||||
-
|
||||
|
||||
| irc | irc_redirect_pattern | pattern for irc redirect |
|
||||
@@ -117,8 +124,9 @@
|
||||
'cmd_start' (string) +
|
||||
'cmd_stop' (string) +
|
||||
'cmd_extra' (string) +
|
||||
'prev_redirect' (pointer, hdata: 'irc_redirect_pattern') +
|
||||
'next_redirect' (pointer, hdata: 'irc_redirect_pattern') |
|
||||
'prev_redirect' (pointer, hdata: "irc_redirect_pattern") +
|
||||
'next_redirect' (pointer, hdata: "irc_redirect_pattern") |
|
||||
|
|
||||
'irc_redirect_patterns' +
|
||||
'last_irc_redirect_pattern'
|
||||
|
||||
@@ -129,17 +137,17 @@
|
||||
'reloading_from_config' (integer) +
|
||||
'reloaded_from_config' (integer) +
|
||||
'addresses_count' (integer) +
|
||||
'addresses_array' (string, array_size: 'addresses_count') +
|
||||
'ports_array' (integer, array_size: 'addresses_count') +
|
||||
'addresses_array' (string, array_size: "addresses_count") +
|
||||
'ports_array' (integer, array_size: "addresses_count") +
|
||||
'index_current_address' (integer) +
|
||||
'current_address' (string) +
|
||||
'current_ip' (string) +
|
||||
'current_port' (integer) +
|
||||
'sock' (integer) +
|
||||
'hook_connect' (pointer, hdata: 'hook') +
|
||||
'hook_fd' (pointer, hdata: 'hook') +
|
||||
'hook_timer_connection' (pointer, hdata: 'hook') +
|
||||
'hook_timer_sasl' (pointer, hdata: 'hook') +
|
||||
'hook_connect' (pointer, hdata: "hook") +
|
||||
'hook_fd' (pointer, hdata: "hook") +
|
||||
'hook_timer_connection' (pointer, hdata: "hook") +
|
||||
'hook_timer_sasl' (pointer, hdata: "hook") +
|
||||
'is_connected' (integer) +
|
||||
'ssl_connected' (integer) +
|
||||
'gnutls_sess' (other) +
|
||||
@@ -147,7 +155,7 @@
|
||||
'tls_cert_key' (other) +
|
||||
'unterminated_message' (string) +
|
||||
'nicks_count' (integer) +
|
||||
'nicks_array' (string, array_size: 'nicks_count') +
|
||||
'nicks_array' (string, array_size: "nicks_count") +
|
||||
'nick_first_tried' (integer) +
|
||||
'nick_alternate_number' (integer) +
|
||||
'nick' (string) +
|
||||
@@ -176,17 +184,18 @@
|
||||
'last_away_check' (time) +
|
||||
'outqueue' (pointer) +
|
||||
'last_outqueue' (pointer) +
|
||||
'redirects' (pointer, hdata: 'irc_redirect') +
|
||||
'last_redirect' (pointer, hdata: 'irc_redirect') +
|
||||
'notify_list' (pointer, hdata: 'irc_notify') +
|
||||
'last_notify' (pointer, hdata: 'irc_notify') +
|
||||
'redirects' (pointer, hdata: "irc_redirect") +
|
||||
'last_redirect' (pointer, hdata: "irc_redirect") +
|
||||
'notify_list' (pointer, hdata: "irc_notify") +
|
||||
'last_notify' (pointer, hdata: "irc_notify") +
|
||||
'manual_joins' (hashtable) +
|
||||
'buffer' (pointer, hdata: 'buffer') +
|
||||
'buffer' (pointer, hdata: "buffer") +
|
||||
'buffer_as_string' (string) +
|
||||
'channels' (pointer, hdata: 'irc_channel') +
|
||||
'last_channel' (pointer, hdata: 'irc_channel') +
|
||||
'prev_server' (pointer, hdata: 'irc_server') +
|
||||
'next_server' (pointer, hdata: 'irc_server') |
|
||||
'channels' (pointer, hdata: "irc_channel") +
|
||||
'last_channel' (pointer, hdata: "irc_channel") +
|
||||
'prev_server' (pointer, hdata: "irc_server") +
|
||||
'next_server' (pointer, hdata: "irc_server") |
|
||||
|
|
||||
'irc_servers' +
|
||||
'last_irc_server'
|
||||
|
||||
@@ -202,8 +211,9 @@
|
||||
'charset' (string) +
|
||||
'callbacks' (pointer) +
|
||||
'unloading' (integer) +
|
||||
'prev_script' (pointer, hdata: 'lua_script') +
|
||||
'next_script' (pointer, hdata: 'lua_script') |
|
||||
'prev_script' (pointer, hdata: "lua_script") +
|
||||
'next_script' (pointer, hdata: "lua_script") |
|
||||
|
|
||||
'last_script' +
|
||||
'scripts'
|
||||
|
||||
@@ -219,8 +229,9 @@
|
||||
'charset' (string) +
|
||||
'callbacks' (pointer) +
|
||||
'unloading' (integer) +
|
||||
'prev_script' (pointer, hdata: 'perl_script') +
|
||||
'next_script' (pointer, hdata: 'perl_script') |
|
||||
'prev_script' (pointer, hdata: "perl_script") +
|
||||
'next_script' (pointer, hdata: "perl_script") |
|
||||
|
|
||||
'last_script' +
|
||||
'scripts'
|
||||
|
||||
@@ -236,8 +247,9 @@
|
||||
'charset' (string) +
|
||||
'callbacks' (pointer) +
|
||||
'unloading' (integer) +
|
||||
'prev_script' (pointer, hdata: 'python_script') +
|
||||
'next_script' (pointer, hdata: 'python_script') |
|
||||
'prev_script' (pointer, hdata: "python_script") +
|
||||
'next_script' (pointer, hdata: "python_script") |
|
||||
|
|
||||
'last_script' +
|
||||
'scripts'
|
||||
|
||||
@@ -253,8 +265,9 @@
|
||||
'charset' (string) +
|
||||
'callbacks' (pointer) +
|
||||
'unloading' (integer) +
|
||||
'prev_script' (pointer, hdata: 'ruby_script') +
|
||||
'next_script' (pointer, hdata: 'ruby_script') |
|
||||
'prev_script' (pointer, hdata: "ruby_script") +
|
||||
'next_script' (pointer, hdata: "ruby_script") |
|
||||
|
|
||||
'last_script' +
|
||||
'scripts'
|
||||
|
||||
@@ -280,8 +293,9 @@
|
||||
'version_loaded' (string) +
|
||||
'displayed' (integer) +
|
||||
'install_order' (integer) +
|
||||
'prev_script' (pointer, hdata: 'script_script') +
|
||||
'next_script' (pointer, hdata: 'script_script') |
|
||||
'prev_script' (pointer, hdata: "script_script") +
|
||||
'next_script' (pointer, hdata: "script_script") |
|
||||
|
|
||||
'last_repo_script' +
|
||||
'repo_scripts'
|
||||
|
||||
@@ -297,8 +311,9 @@
|
||||
'charset' (string) +
|
||||
'callbacks' (pointer) +
|
||||
'unloading' (integer) +
|
||||
'prev_script' (pointer, hdata: 'tcl_script') +
|
||||
'next_script' (pointer, hdata: 'tcl_script') |
|
||||
'prev_script' (pointer, hdata: "tcl_script") +
|
||||
'next_script' (pointer, hdata: "tcl_script") |
|
||||
|
|
||||
'last_script' +
|
||||
'scripts'
|
||||
|
||||
@@ -306,32 +321,34 @@
|
||||
'name' (string) +
|
||||
'options' (pointer) +
|
||||
'conditions_count' (integer) +
|
||||
'conditions_array' (string, array_size: 'conditions_count') +
|
||||
'conditions_array' (string, array_size: "conditions_count") +
|
||||
'items_count' (integer) +
|
||||
'items_subcount' (pointer) +
|
||||
'items_array' (pointer) +
|
||||
'items_prefix' (pointer) +
|
||||
'items_name' (pointer) +
|
||||
'items_suffix' (pointer) +
|
||||
'bar_window' (pointer, hdata: 'bar_window') +
|
||||
'bar_window' (pointer, hdata: "bar_window") +
|
||||
'bar_refresh_needed' (integer) +
|
||||
'prev_bar' (pointer, hdata: 'bar') +
|
||||
'next_bar' (pointer, hdata: 'bar') |
|
||||
'prev_bar' (pointer, hdata: "bar") +
|
||||
'next_bar' (pointer, hdata: "bar") |
|
||||
|
|
||||
'gui_bars' +
|
||||
'last_gui_bar'
|
||||
|
||||
| weechat | bar_item | bar item |
|
||||
'plugin' (pointer, hdata: 'plugin') +
|
||||
'plugin' (pointer, hdata: "plugin") +
|
||||
'name' (string) +
|
||||
'build_callback' (pointer) +
|
||||
'build_callback_data' (pointer) +
|
||||
'prev_item' (pointer, hdata: 'bar_item') +
|
||||
'next_item' (pointer, hdata: 'bar_item') |
|
||||
'prev_item' (pointer, hdata: "bar_item") +
|
||||
'next_item' (pointer, hdata: "bar_item") |
|
||||
|
|
||||
'gui_bar_items' +
|
||||
'last_gui_bar_item'
|
||||
|
||||
| weechat | bar_window | bar window |
|
||||
'bar' (pointer, hdata: 'bar') +
|
||||
'bar' (pointer, hdata: "bar") +
|
||||
'x' (integer) +
|
||||
'y' (integer) +
|
||||
'width' (integer) +
|
||||
@@ -350,12 +367,13 @@
|
||||
'coords_count' (integer) +
|
||||
'coords' (pointer) +
|
||||
'gui_objects' (pointer) +
|
||||
'prev_bar_window' (pointer, hdata: 'bar_window') +
|
||||
'next_bar_window' (pointer, hdata: 'bar_window') |
|
||||
'prev_bar_window' (pointer, hdata: "bar_window") +
|
||||
'next_bar_window' (pointer, hdata: "bar_window") |
|
||||
|
|
||||
-
|
||||
|
||||
| weechat | buffer | buffer |
|
||||
'plugin' (pointer, hdata: 'plugin') +
|
||||
'plugin' (pointer, hdata: "plugin") +
|
||||
'plugin_name_for_upgrade' (string) +
|
||||
'number' (integer) +
|
||||
'layout_number' (integer) +
|
||||
@@ -371,14 +389,14 @@
|
||||
'close_callback' (pointer) +
|
||||
'close_callback_data' (pointer) +
|
||||
'title' (string) +
|
||||
'own_lines' (pointer, hdata: 'lines') +
|
||||
'mixed_lines' (pointer, hdata: 'lines') +
|
||||
'lines' (pointer, hdata: 'lines') +
|
||||
'own_lines' (pointer, hdata: "lines") +
|
||||
'mixed_lines' (pointer, hdata: "lines") +
|
||||
'lines' (pointer, hdata: "lines") +
|
||||
'time_for_each_line' (integer) +
|
||||
'chat_refresh_needed' (integer) +
|
||||
'nicklist' (integer) +
|
||||
'nicklist_case_sensitive' (integer) +
|
||||
'nicklist_root' (pointer, hdata: 'nick_group') +
|
||||
'nicklist_root' (pointer, hdata: "nick_group") +
|
||||
'nicklist_max_length' (integer) +
|
||||
'nicklist_display_groups' (integer) +
|
||||
'nicklist_visible_count' (integer) +
|
||||
@@ -394,15 +412,15 @@
|
||||
'input_buffer_length' (integer) +
|
||||
'input_buffer_pos' (integer) +
|
||||
'input_buffer_1st_display' (integer) +
|
||||
'input_undo_snap' (pointer, hdata: 'input_undo') +
|
||||
'input_undo' (pointer, hdata: 'input_undo') +
|
||||
'last_input_undo' (pointer, hdata: 'input_undo') +
|
||||
'ptr_input_undo' (pointer, hdata: 'input_undo') +
|
||||
'input_undo_snap' (pointer, hdata: "input_undo") +
|
||||
'input_undo' (pointer, hdata: "input_undo") +
|
||||
'last_input_undo' (pointer, hdata: "input_undo") +
|
||||
'ptr_input_undo' (pointer, hdata: "input_undo") +
|
||||
'input_undo_count' (integer) +
|
||||
'completion' (pointer, hdata: 'completion') +
|
||||
'history' (pointer, hdata: 'history') +
|
||||
'last_history' (pointer, hdata: 'history') +
|
||||
'ptr_history' (pointer, hdata: 'history') +
|
||||
'completion' (pointer, hdata: "completion") +
|
||||
'history' (pointer, hdata: "history") +
|
||||
'last_history' (pointer, hdata: "history") +
|
||||
'ptr_history' (pointer, hdata: "history") +
|
||||
'num_history' (integer) +
|
||||
'text_search' (integer) +
|
||||
'text_search_exact' (integer) +
|
||||
@@ -413,20 +431,21 @@
|
||||
'highlight_regex_compiled' (pointer) +
|
||||
'highlight_tags' (string) +
|
||||
'highlight_tags_count' (integer) +
|
||||
'highlight_tags_array' (string, array_size: 'highlight_tags_count') +
|
||||
'highlight_tags_array' (string, array_size: "highlight_tags_count") +
|
||||
'hotlist_max_level_nicks' (hashtable) +
|
||||
'keys' (pointer, hdata: 'key') +
|
||||
'last_key' (pointer, hdata: 'key') +
|
||||
'keys' (pointer, hdata: "key") +
|
||||
'last_key' (pointer, hdata: "key") +
|
||||
'keys_count' (integer) +
|
||||
'local_variables' (hashtable) +
|
||||
'prev_buffer' (pointer, hdata: 'buffer') +
|
||||
'next_buffer' (pointer, hdata: 'buffer') |
|
||||
'prev_buffer' (pointer, hdata: "buffer") +
|
||||
'next_buffer' (pointer, hdata: "buffer") |
|
||||
|
|
||||
'gui_buffer_last_displayed' +
|
||||
'gui_buffers' +
|
||||
'last_gui_buffer'
|
||||
|
||||
| weechat | completion | structure with completion |
|
||||
'buffer' (pointer, hdata: 'buffer') +
|
||||
'buffer' (pointer, hdata: "buffer") +
|
||||
'context' (integer) +
|
||||
'base_command' (string) +
|
||||
'base_command_arg_index' (integer) +
|
||||
@@ -443,38 +462,41 @@
|
||||
'position_replace' (integer) +
|
||||
'diff_size' (integer) +
|
||||
'diff_length' (integer) +
|
||||
'partial_completion_list' (pointer, hdata: 'completion_partial') +
|
||||
'last_partial_completion' (pointer, hdata: 'completion_partial') |
|
||||
'partial_completion_list' (pointer, hdata: "completion_partial") +
|
||||
'last_partial_completion' (pointer, hdata: "completion_partial") |
|
||||
|
|
||||
-
|
||||
|
||||
| weechat | completion_partial | structure with partial completion |
|
||||
'word' (string) +
|
||||
'count' (integer) +
|
||||
'prev_item' (pointer, hdata: 'completion_partial') +
|
||||
'next_item' (pointer, hdata: 'completion_partial') |
|
||||
'prev_item' (pointer, hdata: "completion_partial") +
|
||||
'next_item' (pointer, hdata: "completion_partial") |
|
||||
|
|
||||
-
|
||||
|
||||
| weechat | config_file | config file |
|
||||
'plugin' (pointer, hdata: 'plugin') +
|
||||
'plugin' (pointer, hdata: "plugin") +
|
||||
'name' (string) +
|
||||
'filename' (string) +
|
||||
'file' (pointer) +
|
||||
'callback_reload' (pointer) +
|
||||
'callback_reload_data' (pointer) +
|
||||
'sections' (pointer, hdata: 'config_section') +
|
||||
'last_section' (pointer, hdata: 'config_section') +
|
||||
'prev_config' (pointer, hdata: 'config_file') +
|
||||
'next_config' (pointer, hdata: 'config_file') |
|
||||
'sections' (pointer, hdata: "config_section") +
|
||||
'last_section' (pointer, hdata: "config_section") +
|
||||
'prev_config' (pointer, hdata: "config_file") +
|
||||
'next_config' (pointer, hdata: "config_file") |
|
||||
|
|
||||
'config_files' +
|
||||
'last_config_file'
|
||||
|
||||
| weechat | config_option | config option |
|
||||
'config_file' (pointer, hdata: 'config_file') +
|
||||
'section' (pointer, hdata: 'config_section') +
|
||||
'config_file' (pointer, hdata: "config_file") +
|
||||
'section' (pointer, hdata: "config_section") +
|
||||
'name' (string) +
|
||||
'type' (integer) +
|
||||
'description' (string) +
|
||||
'string_values' (string, array_size: '*') +
|
||||
'string_values' (string, array_size: "*") +
|
||||
'min' (integer) +
|
||||
'max' (integer) +
|
||||
'default_value' (pointer) +
|
||||
@@ -487,12 +509,13 @@
|
||||
'callback_delete' (pointer) +
|
||||
'callback_delete_data' (pointer) +
|
||||
'loaded' (integer) +
|
||||
'prev_option' (pointer, hdata: 'config_option') +
|
||||
'next_option' (pointer, hdata: 'config_option') |
|
||||
'prev_option' (pointer, hdata: "config_option") +
|
||||
'next_option' (pointer, hdata: "config_option") |
|
||||
|
|
||||
-
|
||||
|
||||
| weechat | config_section | config section |
|
||||
'config_file' (pointer, hdata: 'config_file') +
|
||||
'config_file' (pointer, hdata: "config_file") +
|
||||
'name' (string) +
|
||||
'user_can_add_options' (integer) +
|
||||
'user_can_delete_options' (integer) +
|
||||
@@ -506,10 +529,11 @@
|
||||
'callback_create_option_data' (pointer) +
|
||||
'callback_delete_option' (pointer) +
|
||||
'callback_delete_option_data' (pointer) +
|
||||
'options' (pointer, hdata: 'config_option') +
|
||||
'last_option' (pointer, hdata: 'config_option') +
|
||||
'prev_section' (pointer, hdata: 'config_section') +
|
||||
'next_section' (pointer, hdata: 'config_section') |
|
||||
'options' (pointer, hdata: "config_option") +
|
||||
'last_option' (pointer, hdata: "config_option") +
|
||||
'prev_section' (pointer, hdata: "config_section") +
|
||||
'next_section' (pointer, hdata: "config_section") |
|
||||
|
|
||||
-
|
||||
|
||||
| weechat | filter | filter |
|
||||
@@ -520,19 +544,21 @@
|
||||
'buffers' (pointer) +
|
||||
'tags' (string) +
|
||||
'tags_count' (integer) +
|
||||
'tags_array' (string, array_size: 'tags_count') +
|
||||
'tags_array' (string, array_size: "tags_count") +
|
||||
'regex' (string) +
|
||||
'regex_prefix' (pointer) +
|
||||
'regex_message' (pointer) +
|
||||
'prev_filter' (pointer, hdata: 'filter') +
|
||||
'next_filter' (pointer, hdata: 'filter') |
|
||||
'prev_filter' (pointer, hdata: "filter") +
|
||||
'next_filter' (pointer, hdata: "filter") |
|
||||
|
|
||||
'gui_filters' +
|
||||
'last_gui_filter'
|
||||
|
||||
| weechat | history | history of commands in buffer |
|
||||
'text' (string) +
|
||||
'next_history' (pointer, hdata: 'history') +
|
||||
'prev_history' (pointer, hdata: 'history') |
|
||||
'next_history' (pointer, hdata: "history") +
|
||||
'prev_history' (pointer, hdata: "history") |
|
||||
|
|
||||
-
|
||||
|
||||
| weechat | hotlist | hotlist |
|
||||
@@ -540,17 +566,19 @@
|
||||
'creation_time.tv_sec' (time) +
|
||||
'creation_time.tv_usec' (long) +
|
||||
'buffer' (pointer) +
|
||||
'count' (integer, array_size: '4') +
|
||||
'prev_hotlist' (pointer, hdata: 'hotlist') +
|
||||
'next_hotlist' (pointer, hdata: 'hotlist') |
|
||||
'count' (integer, array_size: "4") +
|
||||
'prev_hotlist' (pointer, hdata: "hotlist") +
|
||||
'next_hotlist' (pointer, hdata: "hotlist") |
|
||||
|
|
||||
'gui_hotlist' +
|
||||
'last_gui_hotlist'
|
||||
|
||||
| weechat | input_undo | structure with undo for input line |
|
||||
'data' (string) +
|
||||
'pos' (integer) +
|
||||
'prev_undo' (pointer, hdata: 'input_undo') +
|
||||
'next_undo' (pointer, hdata: 'input_undo') |
|
||||
'prev_undo' (pointer, hdata: "input_undo") +
|
||||
'next_undo' (pointer, hdata: "input_undo") |
|
||||
|
|
||||
-
|
||||
|
||||
| weechat | key | a key (keyboard shortcut) |
|
||||
@@ -560,8 +588,9 @@
|
||||
'area_key' (string) +
|
||||
'command' (string) +
|
||||
'score' (integer) +
|
||||
'prev_key' (pointer, hdata: 'key') +
|
||||
'next_key' (pointer, hdata: 'key') |
|
||||
'prev_key' (pointer, hdata: "key") +
|
||||
'next_key' (pointer, hdata: "key") |
|
||||
|
|
||||
'gui_default_keys' +
|
||||
'gui_default_keys_cursor' +
|
||||
'gui_default_keys_mouse' +
|
||||
@@ -580,47 +609,55 @@
|
||||
'last_gui_key_search'
|
||||
|
||||
| weechat | line | structure with one line |
|
||||
'data' (pointer, hdata: 'line_data') +
|
||||
'prev_line' (pointer, hdata: 'line') +
|
||||
'next_line' (pointer, hdata: 'line') |
|
||||
'data' (pointer, hdata: "line_data") +
|
||||
'prev_line' (pointer, hdata: "line") +
|
||||
'next_line' (pointer, hdata: "line") |
|
||||
|
|
||||
-
|
||||
|
||||
| weechat | line_data | structure with one line data |
|
||||
'buffer' (pointer, hdata: 'buffer') +
|
||||
'buffer' (pointer, hdata: "buffer") +
|
||||
'y' (integer) +
|
||||
'date' (time) +
|
||||
'date_printed' (time) +
|
||||
'str_time' (string) +
|
||||
'tags_count' (integer) +
|
||||
'tags_array' (string, array_size: 'tags_count') +
|
||||
'tags_array' (string, array_size: "tags_count") +
|
||||
'displayed' (char) +
|
||||
'highlight' (char) +
|
||||
'refresh_needed' (char) +
|
||||
'prefix' (string) +
|
||||
'prefix_length' (integer) +
|
||||
'message' (string) |
|
||||
'date' (time) +
|
||||
'date_printed' (time) +
|
||||
'tags_array' (string) +
|
||||
'prefix' (string) +
|
||||
'message' (string) |
|
||||
-
|
||||
|
||||
| weechat | lines | structure with lines |
|
||||
'first_line' (pointer, hdata: 'line') +
|
||||
'last_line' (pointer, hdata: 'line') +
|
||||
'last_read_line' (pointer, hdata: 'line') +
|
||||
'first_line' (pointer, hdata: "line") +
|
||||
'last_line' (pointer, hdata: "line") +
|
||||
'last_read_line' (pointer, hdata: "line") +
|
||||
'lines_count' (integer) +
|
||||
'first_line_not_read' (integer) +
|
||||
'lines_hidden' (integer) +
|
||||
'buffer_max_length' (integer) +
|
||||
'prefix_max_length' (integer) |
|
||||
|
|
||||
-
|
||||
|
||||
| weechat | nick | nick in nicklist |
|
||||
'group' (pointer, hdata: 'nick_group') +
|
||||
'group' (pointer, hdata: "nick_group") +
|
||||
'name' (string) +
|
||||
'color' (string) +
|
||||
'prefix' (string) +
|
||||
'prefix_color' (string) +
|
||||
'visible' (integer) +
|
||||
'prev_nick' (pointer, hdata: 'nick') +
|
||||
'next_nick' (pointer, hdata: 'nick') |
|
||||
'prev_nick' (pointer, hdata: "nick") +
|
||||
'next_nick' (pointer, hdata: "nick") |
|
||||
|
|
||||
-
|
||||
|
||||
| weechat | nick_group | group in nicklist |
|
||||
@@ -628,13 +665,14 @@
|
||||
'color' (string) +
|
||||
'visible' (integer) +
|
||||
'level' (integer) +
|
||||
'parent' (pointer, hdata: 'nick_group') +
|
||||
'children' (pointer, hdata: 'nick_group') +
|
||||
'last_child' (pointer, hdata: 'nick_group') +
|
||||
'nicks' (pointer, hdata: 'nick') +
|
||||
'last_nick' (pointer, hdata: 'nick') +
|
||||
'prev_group' (pointer, hdata: 'nick_group') +
|
||||
'next_group' (pointer, hdata: 'nick_group') |
|
||||
'parent' (pointer, hdata: "nick_group") +
|
||||
'children' (pointer, hdata: "nick_group") +
|
||||
'last_child' (pointer, hdata: "nick_group") +
|
||||
'nicks' (pointer, hdata: "nick") +
|
||||
'last_nick' (pointer, hdata: "nick") +
|
||||
'prev_group' (pointer, hdata: "nick_group") +
|
||||
'next_group' (pointer, hdata: "nick_group") |
|
||||
|
|
||||
-
|
||||
|
||||
| weechat | plugin | plugin |
|
||||
@@ -647,8 +685,9 @@
|
||||
'license' (string) +
|
||||
'charset' (string) +
|
||||
'debug' (integer) +
|
||||
'prev_plugin' (pointer, hdata: 'plugin') +
|
||||
'next_plugin' (pointer, hdata: 'plugin') |
|
||||
'prev_plugin' (pointer, hdata: "plugin") +
|
||||
'next_plugin' (pointer, hdata: "plugin") |
|
||||
|
|
||||
'last_weechat_plugin' +
|
||||
'weechat_plugins'
|
||||
|
||||
@@ -666,41 +705,44 @@
|
||||
'win_chat_height' (integer) +
|
||||
'win_chat_cursor_x' (integer) +
|
||||
'win_chat_cursor_y' (integer) +
|
||||
'bar_windows' (pointer, hdata: 'bar_window') +
|
||||
'last_bar_window' (pointer, hdata: 'bar_window') +
|
||||
'bar_windows' (pointer, hdata: "bar_window") +
|
||||
'last_bar_window' (pointer, hdata: "bar_window") +
|
||||
'refresh_needed' (integer) +
|
||||
'gui_objects' (pointer) +
|
||||
'buffer' (pointer, hdata: 'buffer') +
|
||||
'buffer' (pointer, hdata: "buffer") +
|
||||
'layout_plugin_name' (string) +
|
||||
'layout_buffer_name' (string) +
|
||||
'scroll' (pointer, hdata: 'window_scroll') +
|
||||
'ptr_tree' (pointer, hdata: 'window_tree') +
|
||||
'prev_window' (pointer, hdata: 'window') +
|
||||
'next_window' (pointer, hdata: 'window') |
|
||||
'scroll' (pointer, hdata: "window_scroll") +
|
||||
'ptr_tree' (pointer, hdata: "window_tree") +
|
||||
'prev_window' (pointer, hdata: "window") +
|
||||
'next_window' (pointer, hdata: "window") |
|
||||
|
|
||||
'gui_current_window' +
|
||||
'gui_windows' +
|
||||
'last_gui_window'
|
||||
|
||||
| weechat | window_scroll | scroll info in window |
|
||||
'buffer' (pointer, hdata: 'buffer') +
|
||||
'buffer' (pointer, hdata: "buffer") +
|
||||
'first_line_displayed' (integer) +
|
||||
'start_line' (pointer, hdata: 'line') +
|
||||
'start_line' (pointer, hdata: "line") +
|
||||
'start_line_pos' (integer) +
|
||||
'scrolling' (integer) +
|
||||
'start_col' (integer) +
|
||||
'lines_after' (integer) +
|
||||
'reset_allowed' (integer) +
|
||||
'prev_scroll' (pointer, hdata: 'window_scroll') +
|
||||
'next_scroll' (pointer, hdata: 'window_scroll') |
|
||||
'prev_scroll' (pointer, hdata: "window_scroll") +
|
||||
'next_scroll' (pointer, hdata: "window_scroll") |
|
||||
|
|
||||
-
|
||||
|
||||
| weechat | window_tree | tree of windows |
|
||||
'parent_node' (pointer, hdata: 'window_tree') +
|
||||
'parent_node' (pointer, hdata: "window_tree") +
|
||||
'split_pct' (integer) +
|
||||
'split_horizontal' (integer) +
|
||||
'child1' (pointer, hdata: 'window_tree') +
|
||||
'child2' (pointer, hdata: 'window_tree') +
|
||||
'window' (pointer, hdata: 'window') |
|
||||
'child1' (pointer, hdata: "window_tree") +
|
||||
'child2' (pointer, hdata: "window_tree") +
|
||||
'window' (pointer, hdata: "window") |
|
||||
|
|
||||
'gui_windows_tree'
|
||||
|
||||
|========================================
|
||||
|
||||
@@ -12760,7 +12760,7 @@ something in memory pointed by hdata variables.
|
||||
weechat_hdata_new
|
||||
^^^^^^^^^^^^^^^^^
|
||||
|
||||
_New in version 0.3.6._
|
||||
_New in version 0.3.6, updated in 0.3.9._
|
||||
|
||||
Create a new hdata.
|
||||
|
||||
@@ -12779,7 +12779,13 @@ Prototype:
|
||||
|
||||
[source,C]
|
||||
----------------------------------------
|
||||
struct t_hdata *weechat_hdata_new (const char *hdata_name, const char *var_prev, const char *var_next);
|
||||
struct t_hdata *weechat_hdata_new (const char *hdata_name, const char *var_prev, const char *var_next,
|
||||
int delete_allowed,
|
||||
int (*callback_update)(void *data,
|
||||
struct t_hdata *hdata,
|
||||
void *pointer,
|
||||
struct t_hashtable *hashtable),
|
||||
void *callback_update_data);
|
||||
----------------------------------------
|
||||
|
||||
Arguments:
|
||||
@@ -12789,6 +12795,17 @@ Arguments:
|
||||
element in list (may be NULL if no such variable is available)
|
||||
* 'var_next': name of variable in structure which is a pointer to next
|
||||
element in list (may be NULL if no such variable is available)
|
||||
* 'delete_allowed': 1 if delete of structure is allowed, otherwise 0
|
||||
(_new in version 0.3.9_)
|
||||
* 'callback_update': callback to update data in hdata, can be NULL if no update
|
||||
is allowed (_new in version 0.3.9_), arguments and return value:
|
||||
** 'void *data': pointer
|
||||
** 'struct t_hdata *hdata': pointer to hdata
|
||||
** 'struct t_hashtable *hashtable': hashtable with variables to update
|
||||
(see <<_weechat_hdata_update,weechat_hdata_update>>)
|
||||
** return value: number of variables updated
|
||||
* 'callback_update_data': pointer given to update callback when it is called by
|
||||
WeeChat (_new in version 0.3.9_)
|
||||
|
||||
Return value:
|
||||
|
||||
@@ -12798,7 +12815,7 @@ C example:
|
||||
|
||||
[source,C]
|
||||
----------------------------------------
|
||||
struct t_hdata *hdata = weechat_hdata_new ("myplugin_list", "prev", "next");
|
||||
struct t_hdata *hdata = weechat_hdata_new ("myplugin_list", "prev", "next", 0, &callback_update, NULL);
|
||||
----------------------------------------
|
||||
|
||||
[NOTE]
|
||||
@@ -12807,7 +12824,7 @@ This function is not available in scripting API.
|
||||
weechat_hdata_new_var
|
||||
^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
_New in version 0.3.6._
|
||||
_New in version 0.3.6, updated in 0.3.9._
|
||||
|
||||
Create a new variable in hdata.
|
||||
|
||||
@@ -12816,7 +12833,7 @@ Prototype:
|
||||
[source,C]
|
||||
----------------------------------------
|
||||
void weechat_hdata_new_var (struct t_hdata *hdata, const char *name, int offset, int type,
|
||||
const char *array_size, const char *hdata_name);
|
||||
int update_allowed, const char *array_size, const char *hdata_name);
|
||||
----------------------------------------
|
||||
|
||||
Arguments:
|
||||
@@ -12833,6 +12850,8 @@ Arguments:
|
||||
** WEECHAT_HDATA_TIME
|
||||
** WEECHAT_HDATA_HASHTABLE
|
||||
** WEECHAT_HDATA_OTHER
|
||||
* 'update_allowed': 1 if update of variable is allowed, otherwise 0
|
||||
(_new in version 0.3.9_)
|
||||
* 'array_size': not NULL only if a variable is an array, and it can be:
|
||||
(_new in version 0.3.9_)
|
||||
** name of variable in hdata: this variable will be used as size of array
|
||||
@@ -12860,26 +12879,26 @@ struct t_myplugin_list
|
||||
/* ... */
|
||||
|
||||
struct t_hdata *hdata = weechat_hdata_new ("myplugin_list", "prev", "next");
|
||||
weechat_hdata_new_var (hdata, "name", offsetof (struct t_myplugin_list, name), WEECHAT_HDATA_STRING, NULL, NULL);
|
||||
weechat_hdata_new_var (hdata, "buffer", offsetof (struct t_myplugin_list, buffer), WEECHAT_HDATA_POINTER, NULL, NULL);
|
||||
weechat_hdata_new_var (hdata, "tags_count", offsetof (struct t_myplugin_list, tags_count), WEECHAT_HDATA_INTEGER, NULL, NULL);
|
||||
weechat_hdata_new_var (hdata, "tags_array", offsetof (struct t_myplugin_list, tags_array), WEECHAT_HDATA_STRING, "tags_count", NULL);
|
||||
weechat_hdata_new_var (hdata, "string_split", offsetof (struct t_myplugin_list, string_split), WEECHAT_HDATA_STRING, "*", NULL);
|
||||
weechat_hdata_new_var (hdata, "prev", offsetof (struct t_myplugin_list, prev), WEECHAT_HDATA_POINTER, NULL, "myplugin_list");
|
||||
weechat_hdata_new_var (hdata, "next", offsetof (struct t_myplugin_list, next), WEECHAT_HDATA_POINTER, NULL, "myplugin_list");
|
||||
weechat_hdata_new_var (hdata, "name", offsetof (struct t_myplugin_list, name), WEECHAT_HDATA_STRING, 0, NULL, NULL);
|
||||
weechat_hdata_new_var (hdata, "buffer", offsetof (struct t_myplugin_list, buffer), WEECHAT_HDATA_POINTER, 0, NULL, NULL);
|
||||
weechat_hdata_new_var (hdata, "tags_count", offsetof (struct t_myplugin_list, tags_count), WEECHAT_HDATA_INTEGER, 0, NULL, NULL);
|
||||
weechat_hdata_new_var (hdata, "tags_array", offsetof (struct t_myplugin_list, tags_array), WEECHAT_HDATA_STRING, 0, "tags_count", NULL);
|
||||
weechat_hdata_new_var (hdata, "string_split", offsetof (struct t_myplugin_list, string_split), WEECHAT_HDATA_STRING, 0, "*", NULL);
|
||||
weechat_hdata_new_var (hdata, "prev", offsetof (struct t_myplugin_list, prev), WEECHAT_HDATA_POINTER, 0, NULL, "myplugin_list");
|
||||
weechat_hdata_new_var (hdata, "next", offsetof (struct t_myplugin_list, next), WEECHAT_HDATA_POINTER, 0, NULL, "myplugin_list");
|
||||
----------------------------------------
|
||||
|
||||
The macro "WEECHAT_HDATA_VAR" can be used to shorten code:
|
||||
|
||||
[source,C]
|
||||
----------------------------------------
|
||||
WEECHAT_HDATA_VAR(struct t_myplugin_list, name, STRING, NULL, NULL);
|
||||
WEECHAT_HDATA_VAR(struct t_myplugin_list, buffer, POINTER, NULL, NULL);
|
||||
WEECHAT_HDATA_VAR(struct t_myplugin_list, tags_count, INTEGER, NULL, NULL);
|
||||
WEECHAT_HDATA_VAR(struct t_myplugin_list, tags_array, STRING, "tags_count", NULL);
|
||||
WEECHAT_HDATA_VAR(struct t_myplugin_list, string_split, STRING, "*", NULL);
|
||||
WEECHAT_HDATA_VAR(struct t_myplugin_list, prev, POINTER, NULL, "myplugin_list");
|
||||
WEECHAT_HDATA_VAR(struct t_myplugin_list, next, POINTER, NULL, "myplugin_list");
|
||||
WEECHAT_HDATA_VAR(struct t_myplugin_list, name, STRING, 0, NULL, NULL);
|
||||
WEECHAT_HDATA_VAR(struct t_myplugin_list, buffer, POINTER, 0, NULL, NULL);
|
||||
WEECHAT_HDATA_VAR(struct t_myplugin_list, tags_count, INTEGER, 0, NULL, NULL);
|
||||
WEECHAT_HDATA_VAR(struct t_myplugin_list, tags_array, STRING, 0, "tags_count", NULL);
|
||||
WEECHAT_HDATA_VAR(struct t_myplugin_list, string_split, STRING, 0, "*", NULL);
|
||||
WEECHAT_HDATA_VAR(struct t_myplugin_list, prev, POINTER, 0, NULL, "myplugin_list");
|
||||
WEECHAT_HDATA_VAR(struct t_myplugin_list, next, POINTER, 0, NULL, "myplugin_list");
|
||||
----------------------------------------
|
||||
|
||||
[NOTE]
|
||||
@@ -13783,18 +13802,15 @@ Script (Python):
|
||||
value = weechat.hdata_time(hdata, pointer, name)
|
||||
|
||||
# example
|
||||
hdata = weechat.hdata_get("buffer")
|
||||
ptr = weechat.buffer_search_main()
|
||||
ptr = weechat.hdata_pointer(hdata, ptr, "lines")
|
||||
buf = weechat.buffer_search_main()
|
||||
ptr = weechat.hdata_pointer(weechat.hdata_get("buffer"), buf, "lines")
|
||||
if ptr:
|
||||
hdata = weechat.hdata_get("lines")
|
||||
ptr = weechat.hdata_pointer(hdata, ptr, "first_line")
|
||||
ptr = weechat.hdata_pointer(weechat.hdata_get("lines"), ptr, "first_line")
|
||||
if ptr:
|
||||
hdata = weechat.hdata_get("line")
|
||||
ptr = weechat.hdata_pointer(hdata, ptr, "data")
|
||||
ptr = weechat.hdata_pointer(weechat.hdata_get("line"), ptr, "data")
|
||||
if ptr:
|
||||
hdata = weechat.hdata_get("line_data")
|
||||
weechat.prnt("", "time of last line displayed = %s" % weechat.hdata_time(hdata, ptr, "date"))
|
||||
date = weechat.hdata_time(weechat.hdata_get("line_data"), ptr, "date")
|
||||
weechat.prnt("", "time of first line displayed = %s" % time.strftime("%F %T", time.localtime(int(date))))
|
||||
----------------------------------------
|
||||
|
||||
weechat_hdata_hashtable
|
||||
@@ -13849,6 +13865,132 @@ for key in hash:
|
||||
weechat.prnt("", " %s == %s" % (key, hash[key]))
|
||||
----------------------------------------
|
||||
|
||||
weechat_hdata_set
|
||||
^^^^^^^^^^^^^^^^^
|
||||
|
||||
_New in version 0.3.9._
|
||||
|
||||
Set new value for variable in a hdata.
|
||||
|
||||
[NOTE]
|
||||
This function can be called only in an update callback
|
||||
(see <<_weechat_hdata_new,weechat_hdata_new>> and
|
||||
<<_weechat_hdata_update,weechat_hdata_update>>), if the variable can be updated.
|
||||
|
||||
Prototype:
|
||||
|
||||
[source,C]
|
||||
----------------------------------------
|
||||
int weechat_hdata_set (struct t_hdata *hdata, void *pointer, const char *name, const char *value);
|
||||
----------------------------------------
|
||||
|
||||
Arguments:
|
||||
|
||||
* 'hdata': hdata pointer
|
||||
* 'pointer': pointer to WeeChat/plugin object
|
||||
* 'name': variable name (types allowed: char, integer, long, string, pointer,
|
||||
time)
|
||||
* 'value': new value for variable
|
||||
|
||||
Return value:
|
||||
|
||||
* 1 if ok, 0 if error
|
||||
|
||||
C example:
|
||||
|
||||
[source,C]
|
||||
----------------------------------------
|
||||
weechat_hdata_set (hdata, pointer, "message", "test");
|
||||
----------------------------------------
|
||||
|
||||
[NOTE]
|
||||
This function is not available in scripting API.
|
||||
|
||||
weechat_hdata_update
|
||||
^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
_New in version 0.3.9._
|
||||
|
||||
Update data in a hdata.
|
||||
|
||||
Prototype:
|
||||
|
||||
[source,C]
|
||||
----------------------------------------
|
||||
int weechat_hdata_update (struct t_hdata *hdata, void *pointer, struct t_hashtable *hashtable);
|
||||
----------------------------------------
|
||||
|
||||
Arguments:
|
||||
|
||||
* 'hdata': hdata pointer
|
||||
* 'pointer': pointer to WeeChat/plugin object
|
||||
* 'hashtable': variables to update: keys are name of variables, values are new
|
||||
values for variables (keys and values are string), some special keys are
|
||||
allowed:
|
||||
** key '__delete_allowed' (with any value): return 1 if delete is allowed for
|
||||
structure, otherwise 0
|
||||
** key '__update_allowed', value is name of a variable: return 1 if update is
|
||||
allowed for this variable, otherwise 0
|
||||
** key '__delete' (with any value): delete structure (if allowed)
|
||||
|
||||
Return value:
|
||||
|
||||
* number of variables updated
|
||||
|
||||
C example:
|
||||
|
||||
[source,C]
|
||||
----------------------------------------
|
||||
/* subtract one hour on last message displayed in current buffer */
|
||||
|
||||
struct t_gui_lines *own_lines;
|
||||
struct t_gui_line *line;
|
||||
struct t_gui_line_data *line_data;
|
||||
struct t_hdata *hdata;
|
||||
struct t_hashtable *hashtable;
|
||||
char str_date[64];
|
||||
|
||||
own_lines = weechat_hdata_pointer (weechat_hdata_get ("buffer"), weechat_current_buffer (), "own_lines");
|
||||
if (own_lines)
|
||||
{
|
||||
line = weechat_hdata_pointer (weechat_hdata_get ("lines"), own_lines, "last_line");
|
||||
if (line)
|
||||
{
|
||||
line_data = weechat_hdata_pointer (weechat_hdata_get ("line"), line, "data");
|
||||
hdata = weechat_hdata_get ("line_data");
|
||||
hashtable = weechat_hashtable_new (8,
|
||||
WEECHAT_HASHTABLE_STRING,
|
||||
WEECHAT_HASHTABLE_STRING,
|
||||
NULL,
|
||||
NULL);
|
||||
if (hashtable)
|
||||
{
|
||||
snprintf (str_date, sizeof (str_date), "%ld", ((long int)weechat_hdata_time (hdata, line_data, "date")) - 3600);
|
||||
weechat_hashtable_set (hashtable, "date", str_date);
|
||||
weechat_hdata_update (hdata, line_data, hashtable);
|
||||
weechat_hashtable_free (hashtable);
|
||||
}
|
||||
}
|
||||
}
|
||||
----------------------------------------
|
||||
|
||||
Script (Python):
|
||||
|
||||
[source,python]
|
||||
----------------------------------------
|
||||
# prototype
|
||||
count = weechat.hdata_update(hdata, pointer, hashtable)
|
||||
|
||||
# example: subtract one hour on last message displayed in current buffer
|
||||
own_lines = weechat.hdata_pointer(weechat.hdata_get('buffer'), weechat.current_buffer(), 'own_lines')
|
||||
if own_lines:
|
||||
line = weechat.hdata_pointer(weechat.hdata_get('lines'), own_lines, 'last_line')
|
||||
if line:
|
||||
line_data = weechat.hdata_pointer(weechat.hdata_get('line'), line, 'data')
|
||||
hdata = weechat.hdata_get('line_data')
|
||||
weechat.hdata_update(hdata, line_data, { 'date': str(weechat.hdata_time(hdata, line_data, 'date') - 3600) })
|
||||
----------------------------------------
|
||||
|
||||
weechat_hdata_get_string
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
|
||||
+190
-148
@@ -1,6 +1,6 @@
|
||||
[width="100%",cols="^1,^2,5,5,5",options="header"]
|
||||
[width="100%",cols="^1,^2,5,5,5,5",options="header"]
|
||||
|========================================
|
||||
| Extension | Nom | Description | Variables | Listes
|
||||
| Extension | Nom | Description | Variables | Mise à jour autorisée | Listes
|
||||
|
||||
| guile | guile_script | liste des scripts |
|
||||
'filename' (string) +
|
||||
@@ -14,8 +14,9 @@
|
||||
'charset' (string) +
|
||||
'callbacks' (pointer) +
|
||||
'unloading' (integer) +
|
||||
'prev_script' (pointer, hdata: 'guile_script') +
|
||||
'next_script' (pointer, hdata: 'guile_script') |
|
||||
'prev_script' (pointer, hdata: "guile_script") +
|
||||
'next_script' (pointer, hdata: "guile_script") |
|
||||
|
|
||||
'last_script' +
|
||||
'scripts'
|
||||
|
||||
@@ -36,22 +37,24 @@
|
||||
'pv_remote_nick_color' (string) +
|
||||
'hook_autorejoin' (pointer) +
|
||||
'nicks_count' (integer) +
|
||||
'nicks' (pointer, hdata: 'irc_nick') +
|
||||
'last_nick' (pointer, hdata: 'irc_nick') +
|
||||
'nicks' (pointer, hdata: "irc_nick") +
|
||||
'last_nick' (pointer, hdata: "irc_nick") +
|
||||
'nicks_speaking' (pointer) +
|
||||
'nicks_speaking_time' (pointer, hdata: 'irc_channel_speaking') +
|
||||
'last_nick_speaking_time' (pointer, hdata: 'irc_channel_speaking') +
|
||||
'buffer' (pointer, hdata: 'buffer') +
|
||||
'nicks_speaking_time' (pointer, hdata: "irc_channel_speaking") +
|
||||
'last_nick_speaking_time' (pointer, hdata: "irc_channel_speaking") +
|
||||
'buffer' (pointer, hdata: "buffer") +
|
||||
'buffer_as_string' (string) +
|
||||
'prev_channel' (pointer, hdata: 'irc_channel') +
|
||||
'next_channel' (pointer, hdata: 'irc_channel') |
|
||||
'prev_channel' (pointer, hdata: "irc_channel") +
|
||||
'next_channel' (pointer, hdata: "irc_channel") |
|
||||
|
|
||||
-
|
||||
|
||||
| irc | irc_channel_speaking | channel_speaking irc |
|
||||
'nick' (string) +
|
||||
'time_last_message' (time) +
|
||||
'prev_nick' (pointer, hdata: 'irc_channel_speaking') +
|
||||
'next_nick' (pointer, hdata: 'irc_channel_speaking') |
|
||||
'prev_nick' (pointer, hdata: "irc_channel_speaking") +
|
||||
'next_nick' (pointer, hdata: "irc_channel_speaking") |
|
||||
|
|
||||
-
|
||||
|
||||
| irc | irc_ignore | ignore irc |
|
||||
@@ -60,8 +63,9 @@
|
||||
'regex_mask' (pointer) +
|
||||
'server' (string) +
|
||||
'channel' (string) +
|
||||
'prev_ignore' (pointer, hdata: 'irc_ignore') +
|
||||
'next_ignore' (pointer, hdata: 'irc_ignore') |
|
||||
'prev_ignore' (pointer, hdata: "irc_ignore") +
|
||||
'next_ignore' (pointer, hdata: "irc_ignore") |
|
||||
|
|
||||
'irc_ignore_list' +
|
||||
'last_irc_ignore'
|
||||
|
||||
@@ -72,23 +76,25 @@
|
||||
'prefix' (string) +
|
||||
'away' (integer) +
|
||||
'color' (string) +
|
||||
'prev_nick' (pointer, hdata: 'irc_nick') +
|
||||
'next_nick' (pointer, hdata: 'irc_nick') |
|
||||
'prev_nick' (pointer, hdata: "irc_nick") +
|
||||
'next_nick' (pointer, hdata: "irc_nick") |
|
||||
|
|
||||
-
|
||||
|
||||
| irc | irc_notify | notify irc |
|
||||
'server' (pointer, hdata: 'irc_server') +
|
||||
'server' (pointer, hdata: "irc_server") +
|
||||
'nick' (string) +
|
||||
'check_away' (integer) +
|
||||
'is_on_server' (integer) +
|
||||
'away_message' (string) +
|
||||
'ison_received' (integer) +
|
||||
'prev_notify' (pointer, hdata: 'irc_notify') +
|
||||
'next_notify' (pointer, hdata: 'irc_notify') |
|
||||
'prev_notify' (pointer, hdata: "irc_notify") +
|
||||
'next_notify' (pointer, hdata: "irc_notify") |
|
||||
|
|
||||
-
|
||||
|
||||
| irc | irc_redirect | redirection irc |
|
||||
'server' (pointer, hdata: 'irc_server') +
|
||||
'server' (pointer, hdata: "irc_server") +
|
||||
'pattern' (string) +
|
||||
'signal' (string) +
|
||||
'count' (integer) +
|
||||
@@ -106,8 +112,9 @@
|
||||
'cmd_filter' (hashtable) +
|
||||
'output' (string) +
|
||||
'output_size' (integer) +
|
||||
'prev_redirect' (pointer, hdata: 'irc_redirect') +
|
||||
'next_redirect' (pointer, hdata: 'irc_redirect') |
|
||||
'prev_redirect' (pointer, hdata: "irc_redirect") +
|
||||
'next_redirect' (pointer, hdata: "irc_redirect") |
|
||||
|
|
||||
-
|
||||
|
||||
| irc | irc_redirect_pattern | modèle pour une redirection irc |
|
||||
@@ -117,8 +124,9 @@
|
||||
'cmd_start' (string) +
|
||||
'cmd_stop' (string) +
|
||||
'cmd_extra' (string) +
|
||||
'prev_redirect' (pointer, hdata: 'irc_redirect_pattern') +
|
||||
'next_redirect' (pointer, hdata: 'irc_redirect_pattern') |
|
||||
'prev_redirect' (pointer, hdata: "irc_redirect_pattern") +
|
||||
'next_redirect' (pointer, hdata: "irc_redirect_pattern") |
|
||||
|
|
||||
'irc_redirect_patterns' +
|
||||
'last_irc_redirect_pattern'
|
||||
|
||||
@@ -129,17 +137,17 @@
|
||||
'reloading_from_config' (integer) +
|
||||
'reloaded_from_config' (integer) +
|
||||
'addresses_count' (integer) +
|
||||
'addresses_array' (string, array_size: 'addresses_count') +
|
||||
'ports_array' (integer, array_size: 'addresses_count') +
|
||||
'addresses_array' (string, array_size: "addresses_count") +
|
||||
'ports_array' (integer, array_size: "addresses_count") +
|
||||
'index_current_address' (integer) +
|
||||
'current_address' (string) +
|
||||
'current_ip' (string) +
|
||||
'current_port' (integer) +
|
||||
'sock' (integer) +
|
||||
'hook_connect' (pointer, hdata: 'hook') +
|
||||
'hook_fd' (pointer, hdata: 'hook') +
|
||||
'hook_timer_connection' (pointer, hdata: 'hook') +
|
||||
'hook_timer_sasl' (pointer, hdata: 'hook') +
|
||||
'hook_connect' (pointer, hdata: "hook") +
|
||||
'hook_fd' (pointer, hdata: "hook") +
|
||||
'hook_timer_connection' (pointer, hdata: "hook") +
|
||||
'hook_timer_sasl' (pointer, hdata: "hook") +
|
||||
'is_connected' (integer) +
|
||||
'ssl_connected' (integer) +
|
||||
'gnutls_sess' (other) +
|
||||
@@ -147,7 +155,7 @@
|
||||
'tls_cert_key' (other) +
|
||||
'unterminated_message' (string) +
|
||||
'nicks_count' (integer) +
|
||||
'nicks_array' (string, array_size: 'nicks_count') +
|
||||
'nicks_array' (string, array_size: "nicks_count") +
|
||||
'nick_first_tried' (integer) +
|
||||
'nick_alternate_number' (integer) +
|
||||
'nick' (string) +
|
||||
@@ -176,17 +184,18 @@
|
||||
'last_away_check' (time) +
|
||||
'outqueue' (pointer) +
|
||||
'last_outqueue' (pointer) +
|
||||
'redirects' (pointer, hdata: 'irc_redirect') +
|
||||
'last_redirect' (pointer, hdata: 'irc_redirect') +
|
||||
'notify_list' (pointer, hdata: 'irc_notify') +
|
||||
'last_notify' (pointer, hdata: 'irc_notify') +
|
||||
'redirects' (pointer, hdata: "irc_redirect") +
|
||||
'last_redirect' (pointer, hdata: "irc_redirect") +
|
||||
'notify_list' (pointer, hdata: "irc_notify") +
|
||||
'last_notify' (pointer, hdata: "irc_notify") +
|
||||
'manual_joins' (hashtable) +
|
||||
'buffer' (pointer, hdata: 'buffer') +
|
||||
'buffer' (pointer, hdata: "buffer") +
|
||||
'buffer_as_string' (string) +
|
||||
'channels' (pointer, hdata: 'irc_channel') +
|
||||
'last_channel' (pointer, hdata: 'irc_channel') +
|
||||
'prev_server' (pointer, hdata: 'irc_server') +
|
||||
'next_server' (pointer, hdata: 'irc_server') |
|
||||
'channels' (pointer, hdata: "irc_channel") +
|
||||
'last_channel' (pointer, hdata: "irc_channel") +
|
||||
'prev_server' (pointer, hdata: "irc_server") +
|
||||
'next_server' (pointer, hdata: "irc_server") |
|
||||
|
|
||||
'irc_servers' +
|
||||
'last_irc_server'
|
||||
|
||||
@@ -202,8 +211,9 @@
|
||||
'charset' (string) +
|
||||
'callbacks' (pointer) +
|
||||
'unloading' (integer) +
|
||||
'prev_script' (pointer, hdata: 'lua_script') +
|
||||
'next_script' (pointer, hdata: 'lua_script') |
|
||||
'prev_script' (pointer, hdata: "lua_script") +
|
||||
'next_script' (pointer, hdata: "lua_script") |
|
||||
|
|
||||
'last_script' +
|
||||
'scripts'
|
||||
|
||||
@@ -219,8 +229,9 @@
|
||||
'charset' (string) +
|
||||
'callbacks' (pointer) +
|
||||
'unloading' (integer) +
|
||||
'prev_script' (pointer, hdata: 'perl_script') +
|
||||
'next_script' (pointer, hdata: 'perl_script') |
|
||||
'prev_script' (pointer, hdata: "perl_script") +
|
||||
'next_script' (pointer, hdata: "perl_script") |
|
||||
|
|
||||
'last_script' +
|
||||
'scripts'
|
||||
|
||||
@@ -236,8 +247,9 @@
|
||||
'charset' (string) +
|
||||
'callbacks' (pointer) +
|
||||
'unloading' (integer) +
|
||||
'prev_script' (pointer, hdata: 'python_script') +
|
||||
'next_script' (pointer, hdata: 'python_script') |
|
||||
'prev_script' (pointer, hdata: "python_script") +
|
||||
'next_script' (pointer, hdata: "python_script") |
|
||||
|
|
||||
'last_script' +
|
||||
'scripts'
|
||||
|
||||
@@ -253,8 +265,9 @@
|
||||
'charset' (string) +
|
||||
'callbacks' (pointer) +
|
||||
'unloading' (integer) +
|
||||
'prev_script' (pointer, hdata: 'ruby_script') +
|
||||
'next_script' (pointer, hdata: 'ruby_script') |
|
||||
'prev_script' (pointer, hdata: "ruby_script") +
|
||||
'next_script' (pointer, hdata: "ruby_script") |
|
||||
|
|
||||
'last_script' +
|
||||
'scripts'
|
||||
|
||||
@@ -280,8 +293,9 @@
|
||||
'version_loaded' (string) +
|
||||
'displayed' (integer) +
|
||||
'install_order' (integer) +
|
||||
'prev_script' (pointer, hdata: 'script_script') +
|
||||
'next_script' (pointer, hdata: 'script_script') |
|
||||
'prev_script' (pointer, hdata: "script_script") +
|
||||
'next_script' (pointer, hdata: "script_script") |
|
||||
|
|
||||
'last_repo_script' +
|
||||
'repo_scripts'
|
||||
|
||||
@@ -297,8 +311,9 @@
|
||||
'charset' (string) +
|
||||
'callbacks' (pointer) +
|
||||
'unloading' (integer) +
|
||||
'prev_script' (pointer, hdata: 'tcl_script') +
|
||||
'next_script' (pointer, hdata: 'tcl_script') |
|
||||
'prev_script' (pointer, hdata: "tcl_script") +
|
||||
'next_script' (pointer, hdata: "tcl_script") |
|
||||
|
|
||||
'last_script' +
|
||||
'scripts'
|
||||
|
||||
@@ -306,32 +321,34 @@
|
||||
'name' (string) +
|
||||
'options' (pointer) +
|
||||
'conditions_count' (integer) +
|
||||
'conditions_array' (string, array_size: 'conditions_count') +
|
||||
'conditions_array' (string, array_size: "conditions_count") +
|
||||
'items_count' (integer) +
|
||||
'items_subcount' (pointer) +
|
||||
'items_array' (pointer) +
|
||||
'items_prefix' (pointer) +
|
||||
'items_name' (pointer) +
|
||||
'items_suffix' (pointer) +
|
||||
'bar_window' (pointer, hdata: 'bar_window') +
|
||||
'bar_window' (pointer, hdata: "bar_window") +
|
||||
'bar_refresh_needed' (integer) +
|
||||
'prev_bar' (pointer, hdata: 'bar') +
|
||||
'next_bar' (pointer, hdata: 'bar') |
|
||||
'prev_bar' (pointer, hdata: "bar") +
|
||||
'next_bar' (pointer, hdata: "bar") |
|
||||
|
|
||||
'gui_bars' +
|
||||
'last_gui_bar'
|
||||
|
||||
| weechat | bar_item | objet de barre |
|
||||
'plugin' (pointer, hdata: 'plugin') +
|
||||
'plugin' (pointer, hdata: "plugin") +
|
||||
'name' (string) +
|
||||
'build_callback' (pointer) +
|
||||
'build_callback_data' (pointer) +
|
||||
'prev_item' (pointer, hdata: 'bar_item') +
|
||||
'next_item' (pointer, hdata: 'bar_item') |
|
||||
'prev_item' (pointer, hdata: "bar_item") +
|
||||
'next_item' (pointer, hdata: "bar_item") |
|
||||
|
|
||||
'gui_bar_items' +
|
||||
'last_gui_bar_item'
|
||||
|
||||
| weechat | bar_window | fenêtre de barre |
|
||||
'bar' (pointer, hdata: 'bar') +
|
||||
'bar' (pointer, hdata: "bar") +
|
||||
'x' (integer) +
|
||||
'y' (integer) +
|
||||
'width' (integer) +
|
||||
@@ -350,12 +367,13 @@
|
||||
'coords_count' (integer) +
|
||||
'coords' (pointer) +
|
||||
'gui_objects' (pointer) +
|
||||
'prev_bar_window' (pointer, hdata: 'bar_window') +
|
||||
'next_bar_window' (pointer, hdata: 'bar_window') |
|
||||
'prev_bar_window' (pointer, hdata: "bar_window") +
|
||||
'next_bar_window' (pointer, hdata: "bar_window") |
|
||||
|
|
||||
-
|
||||
|
||||
| weechat | buffer | tampon |
|
||||
'plugin' (pointer, hdata: 'plugin') +
|
||||
'plugin' (pointer, hdata: "plugin") +
|
||||
'plugin_name_for_upgrade' (string) +
|
||||
'number' (integer) +
|
||||
'layout_number' (integer) +
|
||||
@@ -371,14 +389,14 @@
|
||||
'close_callback' (pointer) +
|
||||
'close_callback_data' (pointer) +
|
||||
'title' (string) +
|
||||
'own_lines' (pointer, hdata: 'lines') +
|
||||
'mixed_lines' (pointer, hdata: 'lines') +
|
||||
'lines' (pointer, hdata: 'lines') +
|
||||
'own_lines' (pointer, hdata: "lines") +
|
||||
'mixed_lines' (pointer, hdata: "lines") +
|
||||
'lines' (pointer, hdata: "lines") +
|
||||
'time_for_each_line' (integer) +
|
||||
'chat_refresh_needed' (integer) +
|
||||
'nicklist' (integer) +
|
||||
'nicklist_case_sensitive' (integer) +
|
||||
'nicklist_root' (pointer, hdata: 'nick_group') +
|
||||
'nicklist_root' (pointer, hdata: "nick_group") +
|
||||
'nicklist_max_length' (integer) +
|
||||
'nicklist_display_groups' (integer) +
|
||||
'nicklist_visible_count' (integer) +
|
||||
@@ -394,15 +412,15 @@
|
||||
'input_buffer_length' (integer) +
|
||||
'input_buffer_pos' (integer) +
|
||||
'input_buffer_1st_display' (integer) +
|
||||
'input_undo_snap' (pointer, hdata: 'input_undo') +
|
||||
'input_undo' (pointer, hdata: 'input_undo') +
|
||||
'last_input_undo' (pointer, hdata: 'input_undo') +
|
||||
'ptr_input_undo' (pointer, hdata: 'input_undo') +
|
||||
'input_undo_snap' (pointer, hdata: "input_undo") +
|
||||
'input_undo' (pointer, hdata: "input_undo") +
|
||||
'last_input_undo' (pointer, hdata: "input_undo") +
|
||||
'ptr_input_undo' (pointer, hdata: "input_undo") +
|
||||
'input_undo_count' (integer) +
|
||||
'completion' (pointer, hdata: 'completion') +
|
||||
'history' (pointer, hdata: 'history') +
|
||||
'last_history' (pointer, hdata: 'history') +
|
||||
'ptr_history' (pointer, hdata: 'history') +
|
||||
'completion' (pointer, hdata: "completion") +
|
||||
'history' (pointer, hdata: "history") +
|
||||
'last_history' (pointer, hdata: "history") +
|
||||
'ptr_history' (pointer, hdata: "history") +
|
||||
'num_history' (integer) +
|
||||
'text_search' (integer) +
|
||||
'text_search_exact' (integer) +
|
||||
@@ -413,20 +431,21 @@
|
||||
'highlight_regex_compiled' (pointer) +
|
||||
'highlight_tags' (string) +
|
||||
'highlight_tags_count' (integer) +
|
||||
'highlight_tags_array' (string, array_size: 'highlight_tags_count') +
|
||||
'highlight_tags_array' (string, array_size: "highlight_tags_count") +
|
||||
'hotlist_max_level_nicks' (hashtable) +
|
||||
'keys' (pointer, hdata: 'key') +
|
||||
'last_key' (pointer, hdata: 'key') +
|
||||
'keys' (pointer, hdata: "key") +
|
||||
'last_key' (pointer, hdata: "key") +
|
||||
'keys_count' (integer) +
|
||||
'local_variables' (hashtable) +
|
||||
'prev_buffer' (pointer, hdata: 'buffer') +
|
||||
'next_buffer' (pointer, hdata: 'buffer') |
|
||||
'prev_buffer' (pointer, hdata: "buffer") +
|
||||
'next_buffer' (pointer, hdata: "buffer") |
|
||||
|
|
||||
'gui_buffer_last_displayed' +
|
||||
'gui_buffers' +
|
||||
'last_gui_buffer'
|
||||
|
||||
| weechat | completion | structure avec une complétion |
|
||||
'buffer' (pointer, hdata: 'buffer') +
|
||||
'buffer' (pointer, hdata: "buffer") +
|
||||
'context' (integer) +
|
||||
'base_command' (string) +
|
||||
'base_command_arg_index' (integer) +
|
||||
@@ -443,38 +462,41 @@
|
||||
'position_replace' (integer) +
|
||||
'diff_size' (integer) +
|
||||
'diff_length' (integer) +
|
||||
'partial_completion_list' (pointer, hdata: 'completion_partial') +
|
||||
'last_partial_completion' (pointer, hdata: 'completion_partial') |
|
||||
'partial_completion_list' (pointer, hdata: "completion_partial") +
|
||||
'last_partial_completion' (pointer, hdata: "completion_partial") |
|
||||
|
|
||||
-
|
||||
|
||||
| weechat | completion_partial | structure avec une complétion partielle |
|
||||
'word' (string) +
|
||||
'count' (integer) +
|
||||
'prev_item' (pointer, hdata: 'completion_partial') +
|
||||
'next_item' (pointer, hdata: 'completion_partial') |
|
||||
'prev_item' (pointer, hdata: "completion_partial") +
|
||||
'next_item' (pointer, hdata: "completion_partial") |
|
||||
|
|
||||
-
|
||||
|
||||
| weechat | config_file | fichier de configuration |
|
||||
'plugin' (pointer, hdata: 'plugin') +
|
||||
'plugin' (pointer, hdata: "plugin") +
|
||||
'name' (string) +
|
||||
'filename' (string) +
|
||||
'file' (pointer) +
|
||||
'callback_reload' (pointer) +
|
||||
'callback_reload_data' (pointer) +
|
||||
'sections' (pointer, hdata: 'config_section') +
|
||||
'last_section' (pointer, hdata: 'config_section') +
|
||||
'prev_config' (pointer, hdata: 'config_file') +
|
||||
'next_config' (pointer, hdata: 'config_file') |
|
||||
'sections' (pointer, hdata: "config_section") +
|
||||
'last_section' (pointer, hdata: "config_section") +
|
||||
'prev_config' (pointer, hdata: "config_file") +
|
||||
'next_config' (pointer, hdata: "config_file") |
|
||||
|
|
||||
'config_files' +
|
||||
'last_config_file'
|
||||
|
||||
| weechat | config_option | option de configuration |
|
||||
'config_file' (pointer, hdata: 'config_file') +
|
||||
'section' (pointer, hdata: 'config_section') +
|
||||
'config_file' (pointer, hdata: "config_file") +
|
||||
'section' (pointer, hdata: "config_section") +
|
||||
'name' (string) +
|
||||
'type' (integer) +
|
||||
'description' (string) +
|
||||
'string_values' (string, array_size: '*') +
|
||||
'string_values' (string, array_size: "*") +
|
||||
'min' (integer) +
|
||||
'max' (integer) +
|
||||
'default_value' (pointer) +
|
||||
@@ -487,12 +509,13 @@
|
||||
'callback_delete' (pointer) +
|
||||
'callback_delete_data' (pointer) +
|
||||
'loaded' (integer) +
|
||||
'prev_option' (pointer, hdata: 'config_option') +
|
||||
'next_option' (pointer, hdata: 'config_option') |
|
||||
'prev_option' (pointer, hdata: "config_option") +
|
||||
'next_option' (pointer, hdata: "config_option") |
|
||||
|
|
||||
-
|
||||
|
||||
| weechat | config_section | section de configuration |
|
||||
'config_file' (pointer, hdata: 'config_file') +
|
||||
'config_file' (pointer, hdata: "config_file") +
|
||||
'name' (string) +
|
||||
'user_can_add_options' (integer) +
|
||||
'user_can_delete_options' (integer) +
|
||||
@@ -506,10 +529,11 @@
|
||||
'callback_create_option_data' (pointer) +
|
||||
'callback_delete_option' (pointer) +
|
||||
'callback_delete_option_data' (pointer) +
|
||||
'options' (pointer, hdata: 'config_option') +
|
||||
'last_option' (pointer, hdata: 'config_option') +
|
||||
'prev_section' (pointer, hdata: 'config_section') +
|
||||
'next_section' (pointer, hdata: 'config_section') |
|
||||
'options' (pointer, hdata: "config_option") +
|
||||
'last_option' (pointer, hdata: "config_option") +
|
||||
'prev_section' (pointer, hdata: "config_section") +
|
||||
'next_section' (pointer, hdata: "config_section") |
|
||||
|
|
||||
-
|
||||
|
||||
| weechat | filter | filtre |
|
||||
@@ -520,19 +544,21 @@
|
||||
'buffers' (pointer) +
|
||||
'tags' (string) +
|
||||
'tags_count' (integer) +
|
||||
'tags_array' (string, array_size: 'tags_count') +
|
||||
'tags_array' (string, array_size: "tags_count") +
|
||||
'regex' (string) +
|
||||
'regex_prefix' (pointer) +
|
||||
'regex_message' (pointer) +
|
||||
'prev_filter' (pointer, hdata: 'filter') +
|
||||
'next_filter' (pointer, hdata: 'filter') |
|
||||
'prev_filter' (pointer, hdata: "filter") +
|
||||
'next_filter' (pointer, hdata: "filter") |
|
||||
|
|
||||
'gui_filters' +
|
||||
'last_gui_filter'
|
||||
|
||||
| weechat | history | historique des commandes dans le tampon |
|
||||
'text' (string) +
|
||||
'next_history' (pointer, hdata: 'history') +
|
||||
'prev_history' (pointer, hdata: 'history') |
|
||||
'next_history' (pointer, hdata: "history") +
|
||||
'prev_history' (pointer, hdata: "history") |
|
||||
|
|
||||
-
|
||||
|
||||
| weechat | hotlist | hotlist |
|
||||
@@ -540,17 +566,19 @@
|
||||
'creation_time.tv_sec' (time) +
|
||||
'creation_time.tv_usec' (long) +
|
||||
'buffer' (pointer) +
|
||||
'count' (integer, array_size: '4') +
|
||||
'prev_hotlist' (pointer, hdata: 'hotlist') +
|
||||
'next_hotlist' (pointer, hdata: 'hotlist') |
|
||||
'count' (integer, array_size: "4") +
|
||||
'prev_hotlist' (pointer, hdata: "hotlist") +
|
||||
'next_hotlist' (pointer, hdata: "hotlist") |
|
||||
|
|
||||
'gui_hotlist' +
|
||||
'last_gui_hotlist'
|
||||
|
||||
| weechat | input_undo | structure avec le "undo" pour la ligne de commande |
|
||||
'data' (string) +
|
||||
'pos' (integer) +
|
||||
'prev_undo' (pointer, hdata: 'input_undo') +
|
||||
'next_undo' (pointer, hdata: 'input_undo') |
|
||||
'prev_undo' (pointer, hdata: "input_undo") +
|
||||
'next_undo' (pointer, hdata: "input_undo") |
|
||||
|
|
||||
-
|
||||
|
||||
| weechat | key | une touche (un raccourci clavier) |
|
||||
@@ -560,8 +588,9 @@
|
||||
'area_key' (string) +
|
||||
'command' (string) +
|
||||
'score' (integer) +
|
||||
'prev_key' (pointer, hdata: 'key') +
|
||||
'next_key' (pointer, hdata: 'key') |
|
||||
'prev_key' (pointer, hdata: "key") +
|
||||
'next_key' (pointer, hdata: "key") |
|
||||
|
|
||||
'gui_default_keys' +
|
||||
'gui_default_keys_cursor' +
|
||||
'gui_default_keys_mouse' +
|
||||
@@ -580,47 +609,55 @@
|
||||
'last_gui_key_search'
|
||||
|
||||
| weechat | line | structure avec une ligne |
|
||||
'data' (pointer, hdata: 'line_data') +
|
||||
'prev_line' (pointer, hdata: 'line') +
|
||||
'next_line' (pointer, hdata: 'line') |
|
||||
'data' (pointer, hdata: "line_data") +
|
||||
'prev_line' (pointer, hdata: "line") +
|
||||
'next_line' (pointer, hdata: "line") |
|
||||
|
|
||||
-
|
||||
|
||||
| weechat | line_data | structure avec les données d'une ligne |
|
||||
'buffer' (pointer, hdata: 'buffer') +
|
||||
'buffer' (pointer, hdata: "buffer") +
|
||||
'y' (integer) +
|
||||
'date' (time) +
|
||||
'date_printed' (time) +
|
||||
'str_time' (string) +
|
||||
'tags_count' (integer) +
|
||||
'tags_array' (string, array_size: 'tags_count') +
|
||||
'tags_array' (string, array_size: "tags_count") +
|
||||
'displayed' (char) +
|
||||
'highlight' (char) +
|
||||
'refresh_needed' (char) +
|
||||
'prefix' (string) +
|
||||
'prefix_length' (integer) +
|
||||
'message' (string) |
|
||||
'date' (time) +
|
||||
'date_printed' (time) +
|
||||
'tags_array' (string) +
|
||||
'prefix' (string) +
|
||||
'message' (string) |
|
||||
-
|
||||
|
||||
| weechat | lines | structure avec des lignes |
|
||||
'first_line' (pointer, hdata: 'line') +
|
||||
'last_line' (pointer, hdata: 'line') +
|
||||
'last_read_line' (pointer, hdata: 'line') +
|
||||
'first_line' (pointer, hdata: "line") +
|
||||
'last_line' (pointer, hdata: "line") +
|
||||
'last_read_line' (pointer, hdata: "line") +
|
||||
'lines_count' (integer) +
|
||||
'first_line_not_read' (integer) +
|
||||
'lines_hidden' (integer) +
|
||||
'buffer_max_length' (integer) +
|
||||
'prefix_max_length' (integer) |
|
||||
|
|
||||
-
|
||||
|
||||
| weechat | nick | pseudo dans la liste de pseudos |
|
||||
'group' (pointer, hdata: 'nick_group') +
|
||||
'group' (pointer, hdata: "nick_group") +
|
||||
'name' (string) +
|
||||
'color' (string) +
|
||||
'prefix' (string) +
|
||||
'prefix_color' (string) +
|
||||
'visible' (integer) +
|
||||
'prev_nick' (pointer, hdata: 'nick') +
|
||||
'next_nick' (pointer, hdata: 'nick') |
|
||||
'prev_nick' (pointer, hdata: "nick") +
|
||||
'next_nick' (pointer, hdata: "nick") |
|
||||
|
|
||||
-
|
||||
|
||||
| weechat | nick_group | groupe dans la liste de pseudos |
|
||||
@@ -628,13 +665,14 @@
|
||||
'color' (string) +
|
||||
'visible' (integer) +
|
||||
'level' (integer) +
|
||||
'parent' (pointer, hdata: 'nick_group') +
|
||||
'children' (pointer, hdata: 'nick_group') +
|
||||
'last_child' (pointer, hdata: 'nick_group') +
|
||||
'nicks' (pointer, hdata: 'nick') +
|
||||
'last_nick' (pointer, hdata: 'nick') +
|
||||
'prev_group' (pointer, hdata: 'nick_group') +
|
||||
'next_group' (pointer, hdata: 'nick_group') |
|
||||
'parent' (pointer, hdata: "nick_group") +
|
||||
'children' (pointer, hdata: "nick_group") +
|
||||
'last_child' (pointer, hdata: "nick_group") +
|
||||
'nicks' (pointer, hdata: "nick") +
|
||||
'last_nick' (pointer, hdata: "nick") +
|
||||
'prev_group' (pointer, hdata: "nick_group") +
|
||||
'next_group' (pointer, hdata: "nick_group") |
|
||||
|
|
||||
-
|
||||
|
||||
| weechat | plugin | extension |
|
||||
@@ -647,8 +685,9 @@
|
||||
'license' (string) +
|
||||
'charset' (string) +
|
||||
'debug' (integer) +
|
||||
'prev_plugin' (pointer, hdata: 'plugin') +
|
||||
'next_plugin' (pointer, hdata: 'plugin') |
|
||||
'prev_plugin' (pointer, hdata: "plugin") +
|
||||
'next_plugin' (pointer, hdata: "plugin") |
|
||||
|
|
||||
'last_weechat_plugin' +
|
||||
'weechat_plugins'
|
||||
|
||||
@@ -666,41 +705,44 @@
|
||||
'win_chat_height' (integer) +
|
||||
'win_chat_cursor_x' (integer) +
|
||||
'win_chat_cursor_y' (integer) +
|
||||
'bar_windows' (pointer, hdata: 'bar_window') +
|
||||
'last_bar_window' (pointer, hdata: 'bar_window') +
|
||||
'bar_windows' (pointer, hdata: "bar_window") +
|
||||
'last_bar_window' (pointer, hdata: "bar_window") +
|
||||
'refresh_needed' (integer) +
|
||||
'gui_objects' (pointer) +
|
||||
'buffer' (pointer, hdata: 'buffer') +
|
||||
'buffer' (pointer, hdata: "buffer") +
|
||||
'layout_plugin_name' (string) +
|
||||
'layout_buffer_name' (string) +
|
||||
'scroll' (pointer, hdata: 'window_scroll') +
|
||||
'ptr_tree' (pointer, hdata: 'window_tree') +
|
||||
'prev_window' (pointer, hdata: 'window') +
|
||||
'next_window' (pointer, hdata: 'window') |
|
||||
'scroll' (pointer, hdata: "window_scroll") +
|
||||
'ptr_tree' (pointer, hdata: "window_tree") +
|
||||
'prev_window' (pointer, hdata: "window") +
|
||||
'next_window' (pointer, hdata: "window") |
|
||||
|
|
||||
'gui_current_window' +
|
||||
'gui_windows' +
|
||||
'last_gui_window'
|
||||
|
||||
| weechat | window_scroll | info de défilement dans la fenêtre |
|
||||
'buffer' (pointer, hdata: 'buffer') +
|
||||
'buffer' (pointer, hdata: "buffer") +
|
||||
'first_line_displayed' (integer) +
|
||||
'start_line' (pointer, hdata: 'line') +
|
||||
'start_line' (pointer, hdata: "line") +
|
||||
'start_line_pos' (integer) +
|
||||
'scrolling' (integer) +
|
||||
'start_col' (integer) +
|
||||
'lines_after' (integer) +
|
||||
'reset_allowed' (integer) +
|
||||
'prev_scroll' (pointer, hdata: 'window_scroll') +
|
||||
'next_scroll' (pointer, hdata: 'window_scroll') |
|
||||
'prev_scroll' (pointer, hdata: "window_scroll") +
|
||||
'next_scroll' (pointer, hdata: "window_scroll") |
|
||||
|
|
||||
-
|
||||
|
||||
| weechat | window_tree | arbre des fenêtres |
|
||||
'parent_node' (pointer, hdata: 'window_tree') +
|
||||
'parent_node' (pointer, hdata: "window_tree") +
|
||||
'split_pct' (integer) +
|
||||
'split_horizontal' (integer) +
|
||||
'child1' (pointer, hdata: 'window_tree') +
|
||||
'child2' (pointer, hdata: 'window_tree') +
|
||||
'window' (pointer, hdata: 'window') |
|
||||
'child1' (pointer, hdata: "window_tree") +
|
||||
'child2' (pointer, hdata: "window_tree") +
|
||||
'window' (pointer, hdata: "window") |
|
||||
|
|
||||
'gui_windows_tree'
|
||||
|
||||
|========================================
|
||||
|
||||
@@ -12975,7 +12975,7 @@ les variables du hdata.
|
||||
weechat_hdata_new
|
||||
^^^^^^^^^^^^^^^^^
|
||||
|
||||
_Nouveau dans la version 0.3.6._
|
||||
_Nouveau dans la version 0.3.6, mis à jour dans la 0.3.9._
|
||||
|
||||
Créé un "hdata".
|
||||
|
||||
@@ -12996,7 +12996,13 @@ Prototype :
|
||||
|
||||
[source,C]
|
||||
----------------------------------------
|
||||
struct t_hdata *weechat_hdata_new (const char *hdata_name, const char *var_prev, const char *var_next);
|
||||
struct t_hdata *weechat_hdata_new (const char *hdata_name, const char *var_prev, const char *var_next,
|
||||
int delete_allowed,
|
||||
int (*callback_update)(void *data,
|
||||
struct t_hdata *hdata,
|
||||
void *pointer,
|
||||
struct t_hashtable *hashtable),
|
||||
void *callback_update_data);
|
||||
----------------------------------------
|
||||
|
||||
Paramètres :
|
||||
@@ -13008,6 +13014,18 @@ Paramètres :
|
||||
* 'var_next' : nom de la variable dans la structure qui est un pointeur vers
|
||||
l'élément suivant dans la liste (peut être NULL si une telle variable
|
||||
n'existe pas)
|
||||
* 'delete_allowed' : 1 si la suppression de structure est autorisée, sinon 0
|
||||
(_nouveau dans la version 0.3.9_)
|
||||
* 'callback_update' : fonction appelée pour mettre à jour des données dans le
|
||||
hdata, peut être NULL si aucune mise à jour n'est autorisée
|
||||
(_nouveau dans la version 0.3.9_), paramètres et valeur de retour :
|
||||
** 'void *data' : pointeur
|
||||
** 'struct t_hdata *hdata' : pointeur vers le hdata
|
||||
** 'struct t_hashtable *hashtable' : hashtable avec les variables à mettre à
|
||||
jour (voir <<_weechat_hdata_update,weechat_hdata_update>>)
|
||||
** valeur de retour : nombre de variables mises à jour
|
||||
* 'callback_update_data' : pointeur donné au "callback" lorsqu'il est appelé par
|
||||
WeeChat (_nouveau dans la version 0.3.9_)
|
||||
|
||||
Valeur de retour :
|
||||
|
||||
@@ -13017,7 +13035,7 @@ Exemple en C :
|
||||
|
||||
[source,C]
|
||||
----------------------------------------
|
||||
struct t_hdata *hdata = weechat_hdata_new ("myplugin_list", "prev", "next");
|
||||
struct t_hdata *hdata = weechat_hdata_new ("myplugin_list", "prev", "next", 0, &callback_update, NULL);
|
||||
----------------------------------------
|
||||
|
||||
[NOTE]
|
||||
@@ -13035,7 +13053,7 @@ Prototype :
|
||||
[source,C]
|
||||
----------------------------------------
|
||||
void weechat_hdata_new_var (struct t_hdata *hdata, const char *name, int offset, int type,
|
||||
const char *array_size, const char *hdata_name);
|
||||
int update_allowed, const char *array_size, const char *hdata_name);
|
||||
----------------------------------------
|
||||
|
||||
Paramètres :
|
||||
@@ -13052,6 +13070,8 @@ Paramètres :
|
||||
** WEECHAT_HDATA_TIME
|
||||
** WEECHAT_HDATA_HASHTABLE
|
||||
** WEECHAT_HDATA_OTHER
|
||||
* 'update_allowed' : 1 si la mise à jour de la variable est autorisée, sinon 0
|
||||
(_nouveau dans la version 0.3.9_)
|
||||
* 'array_size' : non NULL seulement si la variable est un tableau, et peut être :
|
||||
(_nouveau dans la version 0.3.9_)
|
||||
** nom d'une variable du hdata : cette variable sera utilisée comme taille de
|
||||
@@ -13081,26 +13101,26 @@ struct t_myplugin_list
|
||||
/* ... */
|
||||
|
||||
struct t_hdata *hdata = weechat_hdata_new ("myplugin_list", "prev", "next");
|
||||
weechat_hdata_new_var (hdata, "name", offsetof (struct t_myplugin_list, name), WEECHAT_HDATA_STRING, NULL, NULL);
|
||||
weechat_hdata_new_var (hdata, "buffer", offsetof (struct t_myplugin_list, buffer), WEECHAT_HDATA_POINTER, NULL, NULL);
|
||||
weechat_hdata_new_var (hdata, "tags_count", offsetof (struct t_myplugin_list, tags_count), WEECHAT_HDATA_INTEGER, NULL, NULL);
|
||||
weechat_hdata_new_var (hdata, "tags_array", offsetof (struct t_myplugin_list, tags_array), WEECHAT_HDATA_STRING, "tags_count", NULL);
|
||||
weechat_hdata_new_var (hdata, "string_split", offsetof (struct t_myplugin_list, string_split), WEECHAT_HDATA_STRING, "*", NULL);
|
||||
weechat_hdata_new_var (hdata, "prev", offsetof (struct t_myplugin_list, prev), WEECHAT_HDATA_POINTER, NULL, "myplugin_list");
|
||||
weechat_hdata_new_var (hdata, "next", offsetof (struct t_myplugin_list, next), WEECHAT_HDATA_POINTER, NULL, "myplugin_list");
|
||||
weechat_hdata_new_var (hdata, "name", offsetof (struct t_myplugin_list, name), WEECHAT_HDATA_STRING, 0, NULL, NULL);
|
||||
weechat_hdata_new_var (hdata, "buffer", offsetof (struct t_myplugin_list, buffer), WEECHAT_HDATA_POINTER, 0, NULL, NULL);
|
||||
weechat_hdata_new_var (hdata, "tags_count", offsetof (struct t_myplugin_list, tags_count), WEECHAT_HDATA_INTEGER, 0, NULL, NULL);
|
||||
weechat_hdata_new_var (hdata, "tags_array", offsetof (struct t_myplugin_list, tags_array), WEECHAT_HDATA_STRING, 0, "tags_count", NULL);
|
||||
weechat_hdata_new_var (hdata, "string_split", offsetof (struct t_myplugin_list, string_split), WEECHAT_HDATA_STRING, 0, "*", NULL);
|
||||
weechat_hdata_new_var (hdata, "prev", offsetof (struct t_myplugin_list, prev), WEECHAT_HDATA_POINTER, 0, NULL, "myplugin_list");
|
||||
weechat_hdata_new_var (hdata, "next", offsetof (struct t_myplugin_list, next), WEECHAT_HDATA_POINTER, 0, NULL, "myplugin_list");
|
||||
----------------------------------------
|
||||
|
||||
La macro "WEECHAT_HDATA_VAR" peut être utilisée pour raccourcir le code :
|
||||
|
||||
[source,C]
|
||||
----------------------------------------
|
||||
WEECHAT_HDATA_VAR(struct t_myplugin_list, name, STRING, NULL, NULL);
|
||||
WEECHAT_HDATA_VAR(struct t_myplugin_list, buffer, POINTER, NULL, NULL);
|
||||
WEECHAT_HDATA_VAR(struct t_myplugin_list, tags_count, INTEGER, NULL, NULL);
|
||||
WEECHAT_HDATA_VAR(struct t_myplugin_list, tags_array, STRING, "tags_count", NULL);
|
||||
WEECHAT_HDATA_VAR(struct t_myplugin_list, string_split, STRING, "*", NULL);
|
||||
WEECHAT_HDATA_VAR(struct t_myplugin_list, prev, POINTER, NULL, "myplugin_list");
|
||||
WEECHAT_HDATA_VAR(struct t_myplugin_list, next, POINTER, NULL, "myplugin_list");
|
||||
WEECHAT_HDATA_VAR(struct t_myplugin_list, name, STRING, 0, NULL, NULL);
|
||||
WEECHAT_HDATA_VAR(struct t_myplugin_list, buffer, POINTER, 0, NULL, NULL);
|
||||
WEECHAT_HDATA_VAR(struct t_myplugin_list, tags_count, INTEGER, 0, NULL, NULL);
|
||||
WEECHAT_HDATA_VAR(struct t_myplugin_list, tags_array, STRING, 0, "tags_count", NULL);
|
||||
WEECHAT_HDATA_VAR(struct t_myplugin_list, string_split, STRING, 0, "*", NULL);
|
||||
WEECHAT_HDATA_VAR(struct t_myplugin_list, prev, POINTER, 0, NULL, "myplugin_list");
|
||||
WEECHAT_HDATA_VAR(struct t_myplugin_list, next, POINTER, 0, NULL, "myplugin_list");
|
||||
----------------------------------------
|
||||
|
||||
[NOTE]
|
||||
@@ -14020,18 +14040,15 @@ Script (Python) :
|
||||
value = weechat.hdata_time(hdata, pointer, name)
|
||||
|
||||
# exemple
|
||||
hdata = weechat.hdata_get("buffer")
|
||||
ptr = weechat.buffer_search_main()
|
||||
ptr = weechat.hdata_pointer(hdata, ptr, "lines")
|
||||
buf = weechat.buffer_search_main()
|
||||
ptr = weechat.hdata_pointer(weechat.hdata_get("buffer"), buf, "lines")
|
||||
if ptr:
|
||||
hdata = weechat.hdata_get("lines")
|
||||
ptr = weechat.hdata_pointer(hdata, ptr, "first_line")
|
||||
ptr = weechat.hdata_pointer(weechat.hdata_get("lines"), ptr, "first_line")
|
||||
if ptr:
|
||||
hdata = weechat.hdata_get("line")
|
||||
ptr = weechat.hdata_pointer(hdata, ptr, "data")
|
||||
ptr = weechat.hdata_pointer(weechat.hdata_get("line"), ptr, "data")
|
||||
if ptr:
|
||||
hdata = weechat.hdata_get("line_data")
|
||||
weechat.prnt("", "heure de la première ligne affichée = %s" % weechat.hdata_time(hdata, ptr, "date"))
|
||||
date = weechat.hdata_time(weechat.hdata_get("line_data"), ptr, "date")
|
||||
weechat.prnt("", "heure de la première ligne affichée = %s" % time.strftime("%F %T", time.localtime(int(date))))
|
||||
----------------------------------------
|
||||
|
||||
weechat_hdata_hashtable
|
||||
@@ -14088,6 +14105,135 @@ for key in hash:
|
||||
weechat.prnt("", " %s == %s" % (key, hash[key]))
|
||||
----------------------------------------
|
||||
|
||||
weechat_hdata_set
|
||||
^^^^^^^^^^^^^^^^^
|
||||
|
||||
_Nouveau dans la version 0.3.9._
|
||||
|
||||
Définit une nouvelle valeur pour une variable dans un hdata.
|
||||
|
||||
[NOTE]
|
||||
Cette fonction ne peut être appelée que dans un "callback" de mise à jour
|
||||
(voir <<_weechat_hdata_new,weechat_hdata_new>> et
|
||||
<<_weechat_hdata_update,weechat_hdata_update>>), si la variable peut être mise à
|
||||
jour.
|
||||
|
||||
Prototype :
|
||||
|
||||
[source,C]
|
||||
----------------------------------------
|
||||
int weechat_hdata_set (struct t_hdata *hdata, void *pointer, const char *name, const char *value);
|
||||
----------------------------------------
|
||||
|
||||
Paramètres :
|
||||
|
||||
* 'hdata' : pointeur vers le hdata
|
||||
* 'pointer' : pointeur vers un objet WeeChat ou d'une extension
|
||||
* 'name' : nom de la variable (types autorisés : char, integer, long, string,
|
||||
pointer, time)
|
||||
* 'value' : nouvelle valeur pour la variable
|
||||
|
||||
Valeur de retour :
|
||||
|
||||
* 1 si ok, 0 en cas d'erreur
|
||||
|
||||
Exemple en C :
|
||||
|
||||
[source,C]
|
||||
----------------------------------------
|
||||
weechat_hdata_set (hdata, pointer, "message", "test");
|
||||
----------------------------------------
|
||||
|
||||
[NOTE]
|
||||
Cette fonction n'est pas disponible dans l'API script.
|
||||
|
||||
weechat_hdata_update
|
||||
^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
_Nouveau dans la version 0.3.9._
|
||||
|
||||
Met à jour des données dans le hdata.
|
||||
|
||||
Prototype :
|
||||
|
||||
[source,C]
|
||||
----------------------------------------
|
||||
int weechat_hdata_update (struct t_hdata *hdata, void *pointer, struct t_hashtable *hashtable);
|
||||
----------------------------------------
|
||||
|
||||
Paramètres :
|
||||
|
||||
* 'hdata' : pointeur vers le hdata
|
||||
* 'pointer' : pointeur vers un objet WeeChat ou d'une extension
|
||||
* 'hashtable' : variables à mettre à jour : les clés sont les noms des
|
||||
variables, les valeurs sont les nouvelles valeurs pour les variables (clés et
|
||||
valeurs sont des chaînes de caractères), quelqes clés spéciales sont
|
||||
acceptées :
|
||||
** clé '__delete_allowed' (avec n'importe quelle valeur) : retourne 1 si la
|
||||
suppression est autorisée pour la structure, sinon 0
|
||||
** clé '__update_allowed', la valeur est le nom d'une variable : retourne 1 si
|
||||
la mise à jour est autorisée pour la variable, sinon 0
|
||||
** clé '__delete' (avec n'importe quelle valeur) : supprime la structure
|
||||
(si autorisé)
|
||||
|
||||
Valeur de retour :
|
||||
|
||||
* nombre de variables mises à jour
|
||||
|
||||
Exemple en C :
|
||||
|
||||
[source,C]
|
||||
----------------------------------------
|
||||
/* soustrait une heure sur le dernier message affiché dans le tampon courant */
|
||||
|
||||
struct t_gui_lines *own_lines;
|
||||
struct t_gui_line *line;
|
||||
struct t_gui_line_data *line_data;
|
||||
struct t_hdata *hdata;
|
||||
struct t_hashtable *hashtable;
|
||||
char str_date[64];
|
||||
|
||||
own_lines = weechat_hdata_pointer (weechat_hdata_get ("buffer"), weechat_current_buffer (), "own_lines");
|
||||
if (own_lines)
|
||||
{
|
||||
line = weechat_hdata_pointer (weechat_hdata_get ("lines"), own_lines, "last_line");
|
||||
if (line)
|
||||
{
|
||||
line_data = weechat_hdata_pointer (weechat_hdata_get ("line"), line, "data");
|
||||
hdata = weechat_hdata_get ("line_data");
|
||||
hashtable = weechat_hashtable_new (8,
|
||||
WEECHAT_HASHTABLE_STRING,
|
||||
WEECHAT_HASHTABLE_STRING,
|
||||
NULL,
|
||||
NULL);
|
||||
if (hashtable)
|
||||
{
|
||||
snprintf (str_date, sizeof (str_date), "%ld", ((long int)weechat_hdata_time (hdata, line_data, "date")) - 3600);
|
||||
weechat_hashtable_set (hashtable, "date", str_date);
|
||||
weechat_hdata_update (hdata, line_data, hashtable);
|
||||
weechat_hashtable_free (hashtable);
|
||||
}
|
||||
}
|
||||
}
|
||||
----------------------------------------
|
||||
|
||||
Script (Python) :
|
||||
|
||||
[source,python]
|
||||
----------------------------------------
|
||||
# prototype
|
||||
count = weechat.hdata_update(hdata, pointer, hashtable)
|
||||
|
||||
# exemple : soustrait une heure sur le dernier message affiché dans le tampon courant
|
||||
own_lines = weechat.hdata_pointer(weechat.hdata_get('buffer'), weechat.current_buffer(), 'own_lines')
|
||||
if own_lines:
|
||||
line = weechat.hdata_pointer(weechat.hdata_get('lines'), own_lines, 'last_line')
|
||||
if line:
|
||||
line_data = weechat.hdata_pointer(weechat.hdata_get('line'), line, 'data')
|
||||
hdata = weechat.hdata_get('line_data')
|
||||
weechat.hdata_update(hdata, line_data, { 'date': str(weechat.hdata_time(hdata, line_data, 'date') - 3600) })
|
||||
----------------------------------------
|
||||
|
||||
weechat_hdata_get_string
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
|
||||
+190
-148
@@ -1,6 +1,6 @@
|
||||
[width="100%",cols="^1,^2,5,5,5",options="header"]
|
||||
[width="100%",cols="^1,^2,5,5,5,5",options="header"]
|
||||
|========================================
|
||||
| Plugin | Nome | Descrizione | Variabili | Liste
|
||||
| Plugin | Nome | Descrizione | Variabili | Update allowed | Liste
|
||||
|
||||
| guile | guile_script | elenco degli script |
|
||||
'filename' (string) +
|
||||
@@ -14,8 +14,9 @@
|
||||
'charset' (string) +
|
||||
'callbacks' (pointer) +
|
||||
'unloading' (integer) +
|
||||
'prev_script' (pointer, hdata: 'guile_script') +
|
||||
'next_script' (pointer, hdata: 'guile_script') |
|
||||
'prev_script' (pointer, hdata: "guile_script") +
|
||||
'next_script' (pointer, hdata: "guile_script") |
|
||||
|
|
||||
'last_script' +
|
||||
'scripts'
|
||||
|
||||
@@ -36,22 +37,24 @@
|
||||
'pv_remote_nick_color' (string) +
|
||||
'hook_autorejoin' (pointer) +
|
||||
'nicks_count' (integer) +
|
||||
'nicks' (pointer, hdata: 'irc_nick') +
|
||||
'last_nick' (pointer, hdata: 'irc_nick') +
|
||||
'nicks' (pointer, hdata: "irc_nick") +
|
||||
'last_nick' (pointer, hdata: "irc_nick") +
|
||||
'nicks_speaking' (pointer) +
|
||||
'nicks_speaking_time' (pointer, hdata: 'irc_channel_speaking') +
|
||||
'last_nick_speaking_time' (pointer, hdata: 'irc_channel_speaking') +
|
||||
'buffer' (pointer, hdata: 'buffer') +
|
||||
'nicks_speaking_time' (pointer, hdata: "irc_channel_speaking") +
|
||||
'last_nick_speaking_time' (pointer, hdata: "irc_channel_speaking") +
|
||||
'buffer' (pointer, hdata: "buffer") +
|
||||
'buffer_as_string' (string) +
|
||||
'prev_channel' (pointer, hdata: 'irc_channel') +
|
||||
'next_channel' (pointer, hdata: 'irc_channel') |
|
||||
'prev_channel' (pointer, hdata: "irc_channel") +
|
||||
'next_channel' (pointer, hdata: "irc_channel") |
|
||||
|
|
||||
-
|
||||
|
||||
| irc | irc_channel_speaking | channel_speaking irc |
|
||||
'nick' (string) +
|
||||
'time_last_message' (time) +
|
||||
'prev_nick' (pointer, hdata: 'irc_channel_speaking') +
|
||||
'next_nick' (pointer, hdata: 'irc_channel_speaking') |
|
||||
'prev_nick' (pointer, hdata: "irc_channel_speaking") +
|
||||
'next_nick' (pointer, hdata: "irc_channel_speaking") |
|
||||
|
|
||||
-
|
||||
|
||||
| irc | irc_ignore | ignore irc |
|
||||
@@ -60,8 +63,9 @@
|
||||
'regex_mask' (pointer) +
|
||||
'server' (string) +
|
||||
'channel' (string) +
|
||||
'prev_ignore' (pointer, hdata: 'irc_ignore') +
|
||||
'next_ignore' (pointer, hdata: 'irc_ignore') |
|
||||
'prev_ignore' (pointer, hdata: "irc_ignore") +
|
||||
'next_ignore' (pointer, hdata: "irc_ignore") |
|
||||
|
|
||||
'irc_ignore_list' +
|
||||
'last_irc_ignore'
|
||||
|
||||
@@ -72,23 +76,25 @@
|
||||
'prefix' (string) +
|
||||
'away' (integer) +
|
||||
'color' (string) +
|
||||
'prev_nick' (pointer, hdata: 'irc_nick') +
|
||||
'next_nick' (pointer, hdata: 'irc_nick') |
|
||||
'prev_nick' (pointer, hdata: "irc_nick") +
|
||||
'next_nick' (pointer, hdata: "irc_nick") |
|
||||
|
|
||||
-
|
||||
|
||||
| irc | irc_notify | notify irc |
|
||||
'server' (pointer, hdata: 'irc_server') +
|
||||
'server' (pointer, hdata: "irc_server") +
|
||||
'nick' (string) +
|
||||
'check_away' (integer) +
|
||||
'is_on_server' (integer) +
|
||||
'away_message' (string) +
|
||||
'ison_received' (integer) +
|
||||
'prev_notify' (pointer, hdata: 'irc_notify') +
|
||||
'next_notify' (pointer, hdata: 'irc_notify') |
|
||||
'prev_notify' (pointer, hdata: "irc_notify") +
|
||||
'next_notify' (pointer, hdata: "irc_notify") |
|
||||
|
|
||||
-
|
||||
|
||||
| irc | irc_redirect | redirezione irc |
|
||||
'server' (pointer, hdata: 'irc_server') +
|
||||
'server' (pointer, hdata: "irc_server") +
|
||||
'pattern' (string) +
|
||||
'signal' (string) +
|
||||
'count' (integer) +
|
||||
@@ -106,8 +112,9 @@
|
||||
'cmd_filter' (hashtable) +
|
||||
'output' (string) +
|
||||
'output_size' (integer) +
|
||||
'prev_redirect' (pointer, hdata: 'irc_redirect') +
|
||||
'next_redirect' (pointer, hdata: 'irc_redirect') |
|
||||
'prev_redirect' (pointer, hdata: "irc_redirect") +
|
||||
'next_redirect' (pointer, hdata: "irc_redirect") |
|
||||
|
|
||||
-
|
||||
|
||||
| irc | irc_redirect_pattern | schema per la redirezione irc |
|
||||
@@ -117,8 +124,9 @@
|
||||
'cmd_start' (string) +
|
||||
'cmd_stop' (string) +
|
||||
'cmd_extra' (string) +
|
||||
'prev_redirect' (pointer, hdata: 'irc_redirect_pattern') +
|
||||
'next_redirect' (pointer, hdata: 'irc_redirect_pattern') |
|
||||
'prev_redirect' (pointer, hdata: "irc_redirect_pattern") +
|
||||
'next_redirect' (pointer, hdata: "irc_redirect_pattern") |
|
||||
|
|
||||
'irc_redirect_patterns' +
|
||||
'last_irc_redirect_pattern'
|
||||
|
||||
@@ -129,17 +137,17 @@
|
||||
'reloading_from_config' (integer) +
|
||||
'reloaded_from_config' (integer) +
|
||||
'addresses_count' (integer) +
|
||||
'addresses_array' (string, array_size: 'addresses_count') +
|
||||
'ports_array' (integer, array_size: 'addresses_count') +
|
||||
'addresses_array' (string, array_size: "addresses_count") +
|
||||
'ports_array' (integer, array_size: "addresses_count") +
|
||||
'index_current_address' (integer) +
|
||||
'current_address' (string) +
|
||||
'current_ip' (string) +
|
||||
'current_port' (integer) +
|
||||
'sock' (integer) +
|
||||
'hook_connect' (pointer, hdata: 'hook') +
|
||||
'hook_fd' (pointer, hdata: 'hook') +
|
||||
'hook_timer_connection' (pointer, hdata: 'hook') +
|
||||
'hook_timer_sasl' (pointer, hdata: 'hook') +
|
||||
'hook_connect' (pointer, hdata: "hook") +
|
||||
'hook_fd' (pointer, hdata: "hook") +
|
||||
'hook_timer_connection' (pointer, hdata: "hook") +
|
||||
'hook_timer_sasl' (pointer, hdata: "hook") +
|
||||
'is_connected' (integer) +
|
||||
'ssl_connected' (integer) +
|
||||
'gnutls_sess' (other) +
|
||||
@@ -147,7 +155,7 @@
|
||||
'tls_cert_key' (other) +
|
||||
'unterminated_message' (string) +
|
||||
'nicks_count' (integer) +
|
||||
'nicks_array' (string, array_size: 'nicks_count') +
|
||||
'nicks_array' (string, array_size: "nicks_count") +
|
||||
'nick_first_tried' (integer) +
|
||||
'nick_alternate_number' (integer) +
|
||||
'nick' (string) +
|
||||
@@ -176,17 +184,18 @@
|
||||
'last_away_check' (time) +
|
||||
'outqueue' (pointer) +
|
||||
'last_outqueue' (pointer) +
|
||||
'redirects' (pointer, hdata: 'irc_redirect') +
|
||||
'last_redirect' (pointer, hdata: 'irc_redirect') +
|
||||
'notify_list' (pointer, hdata: 'irc_notify') +
|
||||
'last_notify' (pointer, hdata: 'irc_notify') +
|
||||
'redirects' (pointer, hdata: "irc_redirect") +
|
||||
'last_redirect' (pointer, hdata: "irc_redirect") +
|
||||
'notify_list' (pointer, hdata: "irc_notify") +
|
||||
'last_notify' (pointer, hdata: "irc_notify") +
|
||||
'manual_joins' (hashtable) +
|
||||
'buffer' (pointer, hdata: 'buffer') +
|
||||
'buffer' (pointer, hdata: "buffer") +
|
||||
'buffer_as_string' (string) +
|
||||
'channels' (pointer, hdata: 'irc_channel') +
|
||||
'last_channel' (pointer, hdata: 'irc_channel') +
|
||||
'prev_server' (pointer, hdata: 'irc_server') +
|
||||
'next_server' (pointer, hdata: 'irc_server') |
|
||||
'channels' (pointer, hdata: "irc_channel") +
|
||||
'last_channel' (pointer, hdata: "irc_channel") +
|
||||
'prev_server' (pointer, hdata: "irc_server") +
|
||||
'next_server' (pointer, hdata: "irc_server") |
|
||||
|
|
||||
'irc_servers' +
|
||||
'last_irc_server'
|
||||
|
||||
@@ -202,8 +211,9 @@
|
||||
'charset' (string) +
|
||||
'callbacks' (pointer) +
|
||||
'unloading' (integer) +
|
||||
'prev_script' (pointer, hdata: 'lua_script') +
|
||||
'next_script' (pointer, hdata: 'lua_script') |
|
||||
'prev_script' (pointer, hdata: "lua_script") +
|
||||
'next_script' (pointer, hdata: "lua_script") |
|
||||
|
|
||||
'last_script' +
|
||||
'scripts'
|
||||
|
||||
@@ -219,8 +229,9 @@
|
||||
'charset' (string) +
|
||||
'callbacks' (pointer) +
|
||||
'unloading' (integer) +
|
||||
'prev_script' (pointer, hdata: 'perl_script') +
|
||||
'next_script' (pointer, hdata: 'perl_script') |
|
||||
'prev_script' (pointer, hdata: "perl_script") +
|
||||
'next_script' (pointer, hdata: "perl_script") |
|
||||
|
|
||||
'last_script' +
|
||||
'scripts'
|
||||
|
||||
@@ -236,8 +247,9 @@
|
||||
'charset' (string) +
|
||||
'callbacks' (pointer) +
|
||||
'unloading' (integer) +
|
||||
'prev_script' (pointer, hdata: 'python_script') +
|
||||
'next_script' (pointer, hdata: 'python_script') |
|
||||
'prev_script' (pointer, hdata: "python_script") +
|
||||
'next_script' (pointer, hdata: "python_script") |
|
||||
|
|
||||
'last_script' +
|
||||
'scripts'
|
||||
|
||||
@@ -253,8 +265,9 @@
|
||||
'charset' (string) +
|
||||
'callbacks' (pointer) +
|
||||
'unloading' (integer) +
|
||||
'prev_script' (pointer, hdata: 'ruby_script') +
|
||||
'next_script' (pointer, hdata: 'ruby_script') |
|
||||
'prev_script' (pointer, hdata: "ruby_script") +
|
||||
'next_script' (pointer, hdata: "ruby_script") |
|
||||
|
|
||||
'last_script' +
|
||||
'scripts'
|
||||
|
||||
@@ -280,8 +293,9 @@
|
||||
'version_loaded' (string) +
|
||||
'displayed' (integer) +
|
||||
'install_order' (integer) +
|
||||
'prev_script' (pointer, hdata: 'script_script') +
|
||||
'next_script' (pointer, hdata: 'script_script') |
|
||||
'prev_script' (pointer, hdata: "script_script") +
|
||||
'next_script' (pointer, hdata: "script_script") |
|
||||
|
|
||||
'last_repo_script' +
|
||||
'repo_scripts'
|
||||
|
||||
@@ -297,8 +311,9 @@
|
||||
'charset' (string) +
|
||||
'callbacks' (pointer) +
|
||||
'unloading' (integer) +
|
||||
'prev_script' (pointer, hdata: 'tcl_script') +
|
||||
'next_script' (pointer, hdata: 'tcl_script') |
|
||||
'prev_script' (pointer, hdata: "tcl_script") +
|
||||
'next_script' (pointer, hdata: "tcl_script") |
|
||||
|
|
||||
'last_script' +
|
||||
'scripts'
|
||||
|
||||
@@ -306,32 +321,34 @@
|
||||
'name' (string) +
|
||||
'options' (pointer) +
|
||||
'conditions_count' (integer) +
|
||||
'conditions_array' (string, array_size: 'conditions_count') +
|
||||
'conditions_array' (string, array_size: "conditions_count") +
|
||||
'items_count' (integer) +
|
||||
'items_subcount' (pointer) +
|
||||
'items_array' (pointer) +
|
||||
'items_prefix' (pointer) +
|
||||
'items_name' (pointer) +
|
||||
'items_suffix' (pointer) +
|
||||
'bar_window' (pointer, hdata: 'bar_window') +
|
||||
'bar_window' (pointer, hdata: "bar_window") +
|
||||
'bar_refresh_needed' (integer) +
|
||||
'prev_bar' (pointer, hdata: 'bar') +
|
||||
'next_bar' (pointer, hdata: 'bar') |
|
||||
'prev_bar' (pointer, hdata: "bar") +
|
||||
'next_bar' (pointer, hdata: "bar") |
|
||||
|
|
||||
'gui_bars' +
|
||||
'last_gui_bar'
|
||||
|
||||
| weechat | bar_item | elemento barra |
|
||||
'plugin' (pointer, hdata: 'plugin') +
|
||||
'plugin' (pointer, hdata: "plugin") +
|
||||
'name' (string) +
|
||||
'build_callback' (pointer) +
|
||||
'build_callback_data' (pointer) +
|
||||
'prev_item' (pointer, hdata: 'bar_item') +
|
||||
'next_item' (pointer, hdata: 'bar_item') |
|
||||
'prev_item' (pointer, hdata: "bar_item") +
|
||||
'next_item' (pointer, hdata: "bar_item") |
|
||||
|
|
||||
'gui_bar_items' +
|
||||
'last_gui_bar_item'
|
||||
|
||||
| weechat | bar_window | finestra della barra |
|
||||
'bar' (pointer, hdata: 'bar') +
|
||||
'bar' (pointer, hdata: "bar") +
|
||||
'x' (integer) +
|
||||
'y' (integer) +
|
||||
'width' (integer) +
|
||||
@@ -350,12 +367,13 @@
|
||||
'coords_count' (integer) +
|
||||
'coords' (pointer) +
|
||||
'gui_objects' (pointer) +
|
||||
'prev_bar_window' (pointer, hdata: 'bar_window') +
|
||||
'next_bar_window' (pointer, hdata: 'bar_window') |
|
||||
'prev_bar_window' (pointer, hdata: "bar_window") +
|
||||
'next_bar_window' (pointer, hdata: "bar_window") |
|
||||
|
|
||||
-
|
||||
|
||||
| weechat | buffer | buffer |
|
||||
'plugin' (pointer, hdata: 'plugin') +
|
||||
'plugin' (pointer, hdata: "plugin") +
|
||||
'plugin_name_for_upgrade' (string) +
|
||||
'number' (integer) +
|
||||
'layout_number' (integer) +
|
||||
@@ -371,14 +389,14 @@
|
||||
'close_callback' (pointer) +
|
||||
'close_callback_data' (pointer) +
|
||||
'title' (string) +
|
||||
'own_lines' (pointer, hdata: 'lines') +
|
||||
'mixed_lines' (pointer, hdata: 'lines') +
|
||||
'lines' (pointer, hdata: 'lines') +
|
||||
'own_lines' (pointer, hdata: "lines") +
|
||||
'mixed_lines' (pointer, hdata: "lines") +
|
||||
'lines' (pointer, hdata: "lines") +
|
||||
'time_for_each_line' (integer) +
|
||||
'chat_refresh_needed' (integer) +
|
||||
'nicklist' (integer) +
|
||||
'nicklist_case_sensitive' (integer) +
|
||||
'nicklist_root' (pointer, hdata: 'nick_group') +
|
||||
'nicklist_root' (pointer, hdata: "nick_group") +
|
||||
'nicklist_max_length' (integer) +
|
||||
'nicklist_display_groups' (integer) +
|
||||
'nicklist_visible_count' (integer) +
|
||||
@@ -394,15 +412,15 @@
|
||||
'input_buffer_length' (integer) +
|
||||
'input_buffer_pos' (integer) +
|
||||
'input_buffer_1st_display' (integer) +
|
||||
'input_undo_snap' (pointer, hdata: 'input_undo') +
|
||||
'input_undo' (pointer, hdata: 'input_undo') +
|
||||
'last_input_undo' (pointer, hdata: 'input_undo') +
|
||||
'ptr_input_undo' (pointer, hdata: 'input_undo') +
|
||||
'input_undo_snap' (pointer, hdata: "input_undo") +
|
||||
'input_undo' (pointer, hdata: "input_undo") +
|
||||
'last_input_undo' (pointer, hdata: "input_undo") +
|
||||
'ptr_input_undo' (pointer, hdata: "input_undo") +
|
||||
'input_undo_count' (integer) +
|
||||
'completion' (pointer, hdata: 'completion') +
|
||||
'history' (pointer, hdata: 'history') +
|
||||
'last_history' (pointer, hdata: 'history') +
|
||||
'ptr_history' (pointer, hdata: 'history') +
|
||||
'completion' (pointer, hdata: "completion") +
|
||||
'history' (pointer, hdata: "history") +
|
||||
'last_history' (pointer, hdata: "history") +
|
||||
'ptr_history' (pointer, hdata: "history") +
|
||||
'num_history' (integer) +
|
||||
'text_search' (integer) +
|
||||
'text_search_exact' (integer) +
|
||||
@@ -413,20 +431,21 @@
|
||||
'highlight_regex_compiled' (pointer) +
|
||||
'highlight_tags' (string) +
|
||||
'highlight_tags_count' (integer) +
|
||||
'highlight_tags_array' (string, array_size: 'highlight_tags_count') +
|
||||
'highlight_tags_array' (string, array_size: "highlight_tags_count") +
|
||||
'hotlist_max_level_nicks' (hashtable) +
|
||||
'keys' (pointer, hdata: 'key') +
|
||||
'last_key' (pointer, hdata: 'key') +
|
||||
'keys' (pointer, hdata: "key") +
|
||||
'last_key' (pointer, hdata: "key") +
|
||||
'keys_count' (integer) +
|
||||
'local_variables' (hashtable) +
|
||||
'prev_buffer' (pointer, hdata: 'buffer') +
|
||||
'next_buffer' (pointer, hdata: 'buffer') |
|
||||
'prev_buffer' (pointer, hdata: "buffer") +
|
||||
'next_buffer' (pointer, hdata: "buffer") |
|
||||
|
|
||||
'gui_buffer_last_displayed' +
|
||||
'gui_buffers' +
|
||||
'last_gui_buffer'
|
||||
|
||||
| weechat | completion | struttura con completamento |
|
||||
'buffer' (pointer, hdata: 'buffer') +
|
||||
'buffer' (pointer, hdata: "buffer") +
|
||||
'context' (integer) +
|
||||
'base_command' (string) +
|
||||
'base_command_arg_index' (integer) +
|
||||
@@ -443,38 +462,41 @@
|
||||
'position_replace' (integer) +
|
||||
'diff_size' (integer) +
|
||||
'diff_length' (integer) +
|
||||
'partial_completion_list' (pointer, hdata: 'completion_partial') +
|
||||
'last_partial_completion' (pointer, hdata: 'completion_partial') |
|
||||
'partial_completion_list' (pointer, hdata: "completion_partial") +
|
||||
'last_partial_completion' (pointer, hdata: "completion_partial") |
|
||||
|
|
||||
-
|
||||
|
||||
| weechat | completion_partial | struttura con completamento parziale |
|
||||
'word' (string) +
|
||||
'count' (integer) +
|
||||
'prev_item' (pointer, hdata: 'completion_partial') +
|
||||
'next_item' (pointer, hdata: 'completion_partial') |
|
||||
'prev_item' (pointer, hdata: "completion_partial") +
|
||||
'next_item' (pointer, hdata: "completion_partial") |
|
||||
|
|
||||
-
|
||||
|
||||
| weechat | config_file | file di configurazione |
|
||||
'plugin' (pointer, hdata: 'plugin') +
|
||||
'plugin' (pointer, hdata: "plugin") +
|
||||
'name' (string) +
|
||||
'filename' (string) +
|
||||
'file' (pointer) +
|
||||
'callback_reload' (pointer) +
|
||||
'callback_reload_data' (pointer) +
|
||||
'sections' (pointer, hdata: 'config_section') +
|
||||
'last_section' (pointer, hdata: 'config_section') +
|
||||
'prev_config' (pointer, hdata: 'config_file') +
|
||||
'next_config' (pointer, hdata: 'config_file') |
|
||||
'sections' (pointer, hdata: "config_section") +
|
||||
'last_section' (pointer, hdata: "config_section") +
|
||||
'prev_config' (pointer, hdata: "config_file") +
|
||||
'next_config' (pointer, hdata: "config_file") |
|
||||
|
|
||||
'config_files' +
|
||||
'last_config_file'
|
||||
|
||||
| weechat | config_option | opzione di configurazione |
|
||||
'config_file' (pointer, hdata: 'config_file') +
|
||||
'section' (pointer, hdata: 'config_section') +
|
||||
'config_file' (pointer, hdata: "config_file") +
|
||||
'section' (pointer, hdata: "config_section") +
|
||||
'name' (string) +
|
||||
'type' (integer) +
|
||||
'description' (string) +
|
||||
'string_values' (string, array_size: '*') +
|
||||
'string_values' (string, array_size: "*") +
|
||||
'min' (integer) +
|
||||
'max' (integer) +
|
||||
'default_value' (pointer) +
|
||||
@@ -487,12 +509,13 @@
|
||||
'callback_delete' (pointer) +
|
||||
'callback_delete_data' (pointer) +
|
||||
'loaded' (integer) +
|
||||
'prev_option' (pointer, hdata: 'config_option') +
|
||||
'next_option' (pointer, hdata: 'config_option') |
|
||||
'prev_option' (pointer, hdata: "config_option") +
|
||||
'next_option' (pointer, hdata: "config_option") |
|
||||
|
|
||||
-
|
||||
|
||||
| weechat | config_section | sezione di configurazione |
|
||||
'config_file' (pointer, hdata: 'config_file') +
|
||||
'config_file' (pointer, hdata: "config_file") +
|
||||
'name' (string) +
|
||||
'user_can_add_options' (integer) +
|
||||
'user_can_delete_options' (integer) +
|
||||
@@ -506,10 +529,11 @@
|
||||
'callback_create_option_data' (pointer) +
|
||||
'callback_delete_option' (pointer) +
|
||||
'callback_delete_option_data' (pointer) +
|
||||
'options' (pointer, hdata: 'config_option') +
|
||||
'last_option' (pointer, hdata: 'config_option') +
|
||||
'prev_section' (pointer, hdata: 'config_section') +
|
||||
'next_section' (pointer, hdata: 'config_section') |
|
||||
'options' (pointer, hdata: "config_option") +
|
||||
'last_option' (pointer, hdata: "config_option") +
|
||||
'prev_section' (pointer, hdata: "config_section") +
|
||||
'next_section' (pointer, hdata: "config_section") |
|
||||
|
|
||||
-
|
||||
|
||||
| weechat | filter | filtro |
|
||||
@@ -520,19 +544,21 @@
|
||||
'buffers' (pointer) +
|
||||
'tags' (string) +
|
||||
'tags_count' (integer) +
|
||||
'tags_array' (string, array_size: 'tags_count') +
|
||||
'tags_array' (string, array_size: "tags_count") +
|
||||
'regex' (string) +
|
||||
'regex_prefix' (pointer) +
|
||||
'regex_message' (pointer) +
|
||||
'prev_filter' (pointer, hdata: 'filter') +
|
||||
'next_filter' (pointer, hdata: 'filter') |
|
||||
'prev_filter' (pointer, hdata: "filter") +
|
||||
'next_filter' (pointer, hdata: "filter") |
|
||||
|
|
||||
'gui_filters' +
|
||||
'last_gui_filter'
|
||||
|
||||
| weechat | history | cronologia dei comandi nel buffer |
|
||||
'text' (string) +
|
||||
'next_history' (pointer, hdata: 'history') +
|
||||
'prev_history' (pointer, hdata: 'history') |
|
||||
'next_history' (pointer, hdata: "history") +
|
||||
'prev_history' (pointer, hdata: "history") |
|
||||
|
|
||||
-
|
||||
|
||||
| weechat | hotlist | hotlist |
|
||||
@@ -540,17 +566,19 @@
|
||||
'creation_time.tv_sec' (time) +
|
||||
'creation_time.tv_usec' (long) +
|
||||
'buffer' (pointer) +
|
||||
'count' (integer, array_size: '4') +
|
||||
'prev_hotlist' (pointer, hdata: 'hotlist') +
|
||||
'next_hotlist' (pointer, hdata: 'hotlist') |
|
||||
'count' (integer, array_size: "4") +
|
||||
'prev_hotlist' (pointer, hdata: "hotlist") +
|
||||
'next_hotlist' (pointer, hdata: "hotlist") |
|
||||
|
|
||||
'gui_hotlist' +
|
||||
'last_gui_hotlist'
|
||||
|
||||
| weechat | input_undo | struttura con "undo"per la riga di input |
|
||||
'data' (string) +
|
||||
'pos' (integer) +
|
||||
'prev_undo' (pointer, hdata: 'input_undo') +
|
||||
'next_undo' (pointer, hdata: 'input_undo') |
|
||||
'prev_undo' (pointer, hdata: "input_undo") +
|
||||
'next_undo' (pointer, hdata: "input_undo") |
|
||||
|
|
||||
-
|
||||
|
||||
| weechat | key | un tasto (scorciatoia da tastiera) |
|
||||
@@ -560,8 +588,9 @@
|
||||
'area_key' (string) +
|
||||
'command' (string) +
|
||||
'score' (integer) +
|
||||
'prev_key' (pointer, hdata: 'key') +
|
||||
'next_key' (pointer, hdata: 'key') |
|
||||
'prev_key' (pointer, hdata: "key") +
|
||||
'next_key' (pointer, hdata: "key") |
|
||||
|
|
||||
'gui_default_keys' +
|
||||
'gui_default_keys_cursor' +
|
||||
'gui_default_keys_mouse' +
|
||||
@@ -580,47 +609,55 @@
|
||||
'last_gui_key_search'
|
||||
|
||||
| weechat | line | struttura con una sola riga |
|
||||
'data' (pointer, hdata: 'line_data') +
|
||||
'prev_line' (pointer, hdata: 'line') +
|
||||
'next_line' (pointer, hdata: 'line') |
|
||||
'data' (pointer, hdata: "line_data") +
|
||||
'prev_line' (pointer, hdata: "line") +
|
||||
'next_line' (pointer, hdata: "line") |
|
||||
|
|
||||
-
|
||||
|
||||
| weechat | line_data | struttura con una riga di dati |
|
||||
'buffer' (pointer, hdata: 'buffer') +
|
||||
'buffer' (pointer, hdata: "buffer") +
|
||||
'y' (integer) +
|
||||
'date' (time) +
|
||||
'date_printed' (time) +
|
||||
'str_time' (string) +
|
||||
'tags_count' (integer) +
|
||||
'tags_array' (string, array_size: 'tags_count') +
|
||||
'tags_array' (string, array_size: "tags_count") +
|
||||
'displayed' (char) +
|
||||
'highlight' (char) +
|
||||
'refresh_needed' (char) +
|
||||
'prefix' (string) +
|
||||
'prefix_length' (integer) +
|
||||
'message' (string) |
|
||||
'date' (time) +
|
||||
'date_printed' (time) +
|
||||
'tags_array' (string) +
|
||||
'prefix' (string) +
|
||||
'message' (string) |
|
||||
-
|
||||
|
||||
| weechat | lines | struttura con più righe |
|
||||
'first_line' (pointer, hdata: 'line') +
|
||||
'last_line' (pointer, hdata: 'line') +
|
||||
'last_read_line' (pointer, hdata: 'line') +
|
||||
'first_line' (pointer, hdata: "line") +
|
||||
'last_line' (pointer, hdata: "line") +
|
||||
'last_read_line' (pointer, hdata: "line") +
|
||||
'lines_count' (integer) +
|
||||
'first_line_not_read' (integer) +
|
||||
'lines_hidden' (integer) +
|
||||
'buffer_max_length' (integer) +
|
||||
'prefix_max_length' (integer) |
|
||||
|
|
||||
-
|
||||
|
||||
| weechat | nick | nick nella lista nick |
|
||||
'group' (pointer, hdata: 'nick_group') +
|
||||
'group' (pointer, hdata: "nick_group") +
|
||||
'name' (string) +
|
||||
'color' (string) +
|
||||
'prefix' (string) +
|
||||
'prefix_color' (string) +
|
||||
'visible' (integer) +
|
||||
'prev_nick' (pointer, hdata: 'nick') +
|
||||
'next_nick' (pointer, hdata: 'nick') |
|
||||
'prev_nick' (pointer, hdata: "nick") +
|
||||
'next_nick' (pointer, hdata: "nick") |
|
||||
|
|
||||
-
|
||||
|
||||
| weechat | nick_group | gruppo nella lista nick |
|
||||
@@ -628,13 +665,14 @@
|
||||
'color' (string) +
|
||||
'visible' (integer) +
|
||||
'level' (integer) +
|
||||
'parent' (pointer, hdata: 'nick_group') +
|
||||
'children' (pointer, hdata: 'nick_group') +
|
||||
'last_child' (pointer, hdata: 'nick_group') +
|
||||
'nicks' (pointer, hdata: 'nick') +
|
||||
'last_nick' (pointer, hdata: 'nick') +
|
||||
'prev_group' (pointer, hdata: 'nick_group') +
|
||||
'next_group' (pointer, hdata: 'nick_group') |
|
||||
'parent' (pointer, hdata: "nick_group") +
|
||||
'children' (pointer, hdata: "nick_group") +
|
||||
'last_child' (pointer, hdata: "nick_group") +
|
||||
'nicks' (pointer, hdata: "nick") +
|
||||
'last_nick' (pointer, hdata: "nick") +
|
||||
'prev_group' (pointer, hdata: "nick_group") +
|
||||
'next_group' (pointer, hdata: "nick_group") |
|
||||
|
|
||||
-
|
||||
|
||||
| weechat | plugin | plugin |
|
||||
@@ -647,8 +685,9 @@
|
||||
'license' (string) +
|
||||
'charset' (string) +
|
||||
'debug' (integer) +
|
||||
'prev_plugin' (pointer, hdata: 'plugin') +
|
||||
'next_plugin' (pointer, hdata: 'plugin') |
|
||||
'prev_plugin' (pointer, hdata: "plugin") +
|
||||
'next_plugin' (pointer, hdata: "plugin") |
|
||||
|
|
||||
'last_weechat_plugin' +
|
||||
'weechat_plugins'
|
||||
|
||||
@@ -666,41 +705,44 @@
|
||||
'win_chat_height' (integer) +
|
||||
'win_chat_cursor_x' (integer) +
|
||||
'win_chat_cursor_y' (integer) +
|
||||
'bar_windows' (pointer, hdata: 'bar_window') +
|
||||
'last_bar_window' (pointer, hdata: 'bar_window') +
|
||||
'bar_windows' (pointer, hdata: "bar_window") +
|
||||
'last_bar_window' (pointer, hdata: "bar_window") +
|
||||
'refresh_needed' (integer) +
|
||||
'gui_objects' (pointer) +
|
||||
'buffer' (pointer, hdata: 'buffer') +
|
||||
'buffer' (pointer, hdata: "buffer") +
|
||||
'layout_plugin_name' (string) +
|
||||
'layout_buffer_name' (string) +
|
||||
'scroll' (pointer, hdata: 'window_scroll') +
|
||||
'ptr_tree' (pointer, hdata: 'window_tree') +
|
||||
'prev_window' (pointer, hdata: 'window') +
|
||||
'next_window' (pointer, hdata: 'window') |
|
||||
'scroll' (pointer, hdata: "window_scroll") +
|
||||
'ptr_tree' (pointer, hdata: "window_tree") +
|
||||
'prev_window' (pointer, hdata: "window") +
|
||||
'next_window' (pointer, hdata: "window") |
|
||||
|
|
||||
'gui_current_window' +
|
||||
'gui_windows' +
|
||||
'last_gui_window'
|
||||
|
||||
| weechat | window_scroll | scorrimento delle info nella finestra |
|
||||
'buffer' (pointer, hdata: 'buffer') +
|
||||
'buffer' (pointer, hdata: "buffer") +
|
||||
'first_line_displayed' (integer) +
|
||||
'start_line' (pointer, hdata: 'line') +
|
||||
'start_line' (pointer, hdata: "line") +
|
||||
'start_line_pos' (integer) +
|
||||
'scrolling' (integer) +
|
||||
'start_col' (integer) +
|
||||
'lines_after' (integer) +
|
||||
'reset_allowed' (integer) +
|
||||
'prev_scroll' (pointer, hdata: 'window_scroll') +
|
||||
'next_scroll' (pointer, hdata: 'window_scroll') |
|
||||
'prev_scroll' (pointer, hdata: "window_scroll") +
|
||||
'next_scroll' (pointer, hdata: "window_scroll") |
|
||||
|
|
||||
-
|
||||
|
||||
| weechat | window_tree | albero delle finestre |
|
||||
'parent_node' (pointer, hdata: 'window_tree') +
|
||||
'parent_node' (pointer, hdata: "window_tree") +
|
||||
'split_pct' (integer) +
|
||||
'split_horizontal' (integer) +
|
||||
'child1' (pointer, hdata: 'window_tree') +
|
||||
'child2' (pointer, hdata: 'window_tree') +
|
||||
'window' (pointer, hdata: 'window') |
|
||||
'child1' (pointer, hdata: "window_tree") +
|
||||
'child2' (pointer, hdata: "window_tree") +
|
||||
'window' (pointer, hdata: "window") |
|
||||
|
|
||||
'gui_windows_tree'
|
||||
|
||||
|========================================
|
||||
|
||||
@@ -12908,7 +12908,8 @@ scrivere qualcosa in memoria puntato dalle variabili in hdata.
|
||||
weechat_hdata_new
|
||||
^^^^^^^^^^^^^^^^^
|
||||
|
||||
_Novità nella versione 0.3.6._
|
||||
// TRANSLATION MISSING
|
||||
_Novità nella versione 0.3.6, updated in 0.3.9._
|
||||
|
||||
Crea un nuovo hdata.
|
||||
|
||||
@@ -12928,7 +12929,13 @@ Prototipo:
|
||||
|
||||
[source,C]
|
||||
----------------------------------------
|
||||
struct t_hdata *weechat_hdata_new (const char *hdata_name, const char *var_prev, const char *var_next);
|
||||
struct t_hdata *weechat_hdata_new (const char *hdata_name, const char *var_prev, const char *var_next,
|
||||
int delete_allowed,
|
||||
int (*callback_update)(void *data,
|
||||
struct t_hdata *hdata,
|
||||
void *pointer,
|
||||
struct t_hashtable *hashtable),
|
||||
void *callback_update_data);
|
||||
----------------------------------------
|
||||
|
||||
Argomenti:
|
||||
@@ -12938,16 +12945,29 @@ Argomenti:
|
||||
precedente nella lista (può essere NULL se non è disponibile tale variabile)
|
||||
* 'var_next': nome della variabile nella struttura che è puntatore all'elemento
|
||||
successivo nella lista (può essere NULL se non è disponibile tale variabile)
|
||||
// TRANSLATION MISSING
|
||||
* 'delete_allowed': 1 if delete of structure is allowed, otherwise 0
|
||||
(_novità nella versione 0.3.9_)
|
||||
// TRANSLATION MISSING
|
||||
* 'callback_update': callback to update data in hdata, can be NULL if no update
|
||||
is allowed (_novità nella versione 0.3.9_), arguments and return value:
|
||||
** 'void *data': pointer
|
||||
** 'struct t_hdata *hdata': pointer to hdata
|
||||
** 'struct t_hashtable *hashtable': hashtable with variables to update
|
||||
(see <<_weechat_hdata_update,weechat_hdata_update>>)
|
||||
** return value: number of variables updated
|
||||
// TRANSLATION MISSING
|
||||
* 'callback_update_data': pointer given to update callback when it is called by
|
||||
WeeChat (_novità nella versione 0.3.9_)
|
||||
|
||||
Valore restituito:
|
||||
|
||||
* puntatore al nuovo hdata
|
||||
|
||||
Esempio in C:
|
||||
|
||||
[source,C]
|
||||
source,C]
|
||||
----------------------------------------
|
||||
struct t_hdata *hdata = weechat_hdata_new ("myplugin_list", "prev", "next");
|
||||
struct t_hdata *hdata = weechat_hdata_new ("myplugin_list", "prev", "next", 0, &callback_update, NULL);
|
||||
----------------------------------------
|
||||
|
||||
[NOTE]
|
||||
@@ -12956,7 +12976,8 @@ Questa funzione non è disponibile nelle API per lo scripting.
|
||||
weechat_hdata_new_var
|
||||
^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
_Novità nella versione 0.3.6._
|
||||
// TRANSLATION MISSING
|
||||
_Novità nella versione 0.3.6, updated in 0.3.9_
|
||||
|
||||
Crea una nuova variabile in hdata.
|
||||
|
||||
@@ -12965,7 +12986,7 @@ Prototipo:
|
||||
[source,C]
|
||||
----------------------------------------
|
||||
void weechat_hdata_new_var (struct t_hdata *hdata, const char *name, int offset, int type,
|
||||
const char *array_size, const char *hdata_name);
|
||||
int update_allowed, const char *array_size, const char *hdata_name);
|
||||
----------------------------------------
|
||||
|
||||
Argomenti:
|
||||
@@ -12983,6 +13004,9 @@ Argomenti:
|
||||
** WEECHAT_HDATA_HASHTABLE
|
||||
** WEECHAT_HDATA_OTHER
|
||||
// TRANSLATION MISSING
|
||||
* 'update_allowed': 1 if update of variable is allowed, otherwise 0
|
||||
(_novità nella versione 0.3.9_)
|
||||
// TRANSLATION MISSING
|
||||
* 'array_size': not NULL only if a variable is an array, and it can be:
|
||||
(_novità nella versione 0.3.9_)
|
||||
** name of variable in hdata: this variable will be used as size of array
|
||||
@@ -13010,26 +13034,26 @@ struct t_myplugin_list
|
||||
/* ... */
|
||||
|
||||
struct t_hdata *hdata = weechat_hdata_new ("myplugin_list", "prev", "next");
|
||||
weechat_hdata_new_var (hdata, "name", offsetof (struct t_myplugin_list, name), WEECHAT_HDATA_STRING, NULL, NULL);
|
||||
weechat_hdata_new_var (hdata, "buffer", offsetof (struct t_myplugin_list, buffer), WEECHAT_HDATA_POINTER, NULL, NULL);
|
||||
weechat_hdata_new_var (hdata, "tags_count", offsetof (struct t_myplugin_list, tags_count), WEECHAT_HDATA_INTEGER, NULL, NULL);
|
||||
weechat_hdata_new_var (hdata, "tags_array", offsetof (struct t_myplugin_list, tags_array), WEECHAT_HDATA_STRING, "tags_count", NULL);
|
||||
weechat_hdata_new_var (hdata, "string_split", offsetof (struct t_myplugin_list, string_split), WEECHAT_HDATA_STRING, "*", NULL);
|
||||
weechat_hdata_new_var (hdata, "prev", offsetof (struct t_myplugin_list, prev), WEECHAT_HDATA_POINTER, NULL, "myplugin_list");
|
||||
weechat_hdata_new_var (hdata, "next", offsetof (struct t_myplugin_list, next), WEECHAT_HDATA_POINTER, NULL, "myplugin_list");
|
||||
weechat_hdata_new_var (hdata, "name", offsetof (struct t_myplugin_list, name), WEECHAT_HDATA_STRING, 0, NULL, NULL);
|
||||
weechat_hdata_new_var (hdata, "buffer", offsetof (struct t_myplugin_list, buffer), WEECHAT_HDATA_POINTER, 0, NULL, NULL);
|
||||
weechat_hdata_new_var (hdata, "tags_count", offsetof (struct t_myplugin_list, tags_count), WEECHAT_HDATA_INTEGER, 0, NULL, NULL);
|
||||
weechat_hdata_new_var (hdata, "tags_array", offsetof (struct t_myplugin_list, tags_array), WEECHAT_HDATA_STRING, 0, "tags_count", NULL);
|
||||
weechat_hdata_new_var (hdata, "string_split", offsetof (struct t_myplugin_list, string_split), WEECHAT_HDATA_STRING, 0, "*", NULL);
|
||||
weechat_hdata_new_var (hdata, "prev", offsetof (struct t_myplugin_list, prev), WEECHAT_HDATA_POINTER, 0, NULL, "myplugin_list");
|
||||
weechat_hdata_new_var (hdata, "next", offsetof (struct t_myplugin_list, next), WEECHAT_HDATA_POINTER, 0, NULL, "myplugin_list");
|
||||
----------------------------------------
|
||||
|
||||
La macro "WEECHAT_HDATA_VAR" può essere usata per accorciare il codice:
|
||||
|
||||
[source,C]
|
||||
----------------------------------------
|
||||
WEECHAT_HDATA_VAR(struct t_myplugin_list, name, STRING, NULL, NULL);
|
||||
WEECHAT_HDATA_VAR(struct t_myplugin_list, buffer, POINTER, NULL, NULL);
|
||||
WEECHAT_HDATA_VAR(struct t_myplugin_list, tags_count, INTEGER, NULL, NULL);
|
||||
WEECHAT_HDATA_VAR(struct t_myplugin_list, tags_array, STRING, "tags_count", NULL);
|
||||
WEECHAT_HDATA_VAR(struct t_myplugin_list, string_split, STRING, "*", NULL);
|
||||
WEECHAT_HDATA_VAR(struct t_myplugin_list, prev, POINTER, NULL, "myplugin_list");
|
||||
WEECHAT_HDATA_VAR(struct t_myplugin_list, next, POINTER, NULL, "myplugin_list");
|
||||
WEECHAT_HDATA_VAR(struct t_myplugin_list, name, STRING, 0, NULL, NULL);
|
||||
WEECHAT_HDATA_VAR(struct t_myplugin_list, buffer, POINTER, 0, NULL, NULL);
|
||||
WEECHAT_HDATA_VAR(struct t_myplugin_list, tags_count, INTEGER, 0, NULL, NULL);
|
||||
WEECHAT_HDATA_VAR(struct t_myplugin_list, tags_array, STRING, 0, "tags_count", NULL);
|
||||
WEECHAT_HDATA_VAR(struct t_myplugin_list, string_split, STRING, 0, "*", NULL);
|
||||
WEECHAT_HDATA_VAR(struct t_myplugin_list, prev, POINTER, 0, NULL, "myplugin_list");
|
||||
WEECHAT_HDATA_VAR(struct t_myplugin_list, next, POINTER, 0, NULL, "myplugin_list");
|
||||
----------------------------------------
|
||||
|
||||
[NOTE]
|
||||
@@ -13950,18 +13974,15 @@ Script (Python):
|
||||
value = weechat.hdata_time(hdata, pointer, name)
|
||||
|
||||
# esempio
|
||||
hdata = weechat.hdata_get("buffer")
|
||||
ptr = weechat.buffer_search_main()
|
||||
ptr = weechat.hdata_pointer(hdata, ptr, "lines")
|
||||
buf = weechat.buffer_search_main()
|
||||
ptr = weechat.hdata_pointer(weechat.hdata_get("buffer"), buf, "lines")
|
||||
if ptr:
|
||||
hdata = weechat.hdata_get("lines")
|
||||
ptr = weechat.hdata_pointer(hdata, ptr, "first_line")
|
||||
ptr = weechat.hdata_pointer(weechat.hdata_get("lines"), ptr, "first_line")
|
||||
if ptr:
|
||||
hdata = weechat.hdata_get("line")
|
||||
ptr = weechat.hdata_pointer(hdata, ptr, "data")
|
||||
ptr = weechat.hdata_pointer(weechat.hdata_get("line"), ptr, "data")
|
||||
if ptr:
|
||||
hdata = weechat.hdata_get("line_data")
|
||||
weechat.prnt("", "time of last line displayed = %s" % weechat.hdata_time(hdata, ptr, "date"))
|
||||
date = weechat.hdata_time(weechat.hdata_get("line_data"), ptr, "date")
|
||||
weechat.prnt("", "time of first line displayed = %s" % time.strftime("%F %T", time.localtime(int(date))))
|
||||
----------------------------------------
|
||||
|
||||
weechat_hdata_hashtable
|
||||
@@ -14019,6 +14040,134 @@ for key in hash:
|
||||
weechat.prnt("", " %s == %s" % (key, hash[key]))
|
||||
----------------------------------------
|
||||
|
||||
// TRANSLATION MISSING
|
||||
weechat_hdata_set
|
||||
^^^^^^^^^^^^^^^^^
|
||||
|
||||
_Novità nella versione 0.3.9._
|
||||
|
||||
Set new value for variable in a hdata.
|
||||
|
||||
[NOTE]
|
||||
This function can be called only in an update callback
|
||||
(see <<_weechat_hdata_new,weechat_hdata_new>> and
|
||||
<<_weechat_hdata_update,weechat_hdata_update>>), if the variable can be updated.
|
||||
|
||||
Prototipo:
|
||||
|
||||
[source,C]
|
||||
----------------------------------------
|
||||
int weechat_hdata_set (struct t_hdata *hdata, void *pointer, const char *name, const char *value);
|
||||
----------------------------------------
|
||||
|
||||
Argomenti:
|
||||
|
||||
* 'hdata': hdata pointer
|
||||
* 'pointer': pointer to WeeChat/plugin object
|
||||
* 'name': variable name (types allowed: char, integer, long, string, pointer,
|
||||
time)
|
||||
* 'value': new value for variable
|
||||
|
||||
Valore restituito:
|
||||
|
||||
* 1 if ok, 0 if error
|
||||
|
||||
Esempio in C:
|
||||
|
||||
[source,C]
|
||||
----------------------------------------
|
||||
weechat_hdata_set (hdata, pointer, "message", "test");
|
||||
----------------------------------------
|
||||
|
||||
[NOTE]
|
||||
This function is not available in scripting API.
|
||||
|
||||
// TRANSLATION MISSING
|
||||
weechat_hdata_update
|
||||
^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
_Novità nella versione 0.3.9._
|
||||
|
||||
Update data in a hdata.
|
||||
|
||||
Prototipo:
|
||||
|
||||
[source,C]
|
||||
----------------------------------------
|
||||
int weechat_hdata_update (struct t_hdata *hdata, void *pointer, struct t_hashtable *hashtable);
|
||||
----------------------------------------
|
||||
|
||||
Argomenti:
|
||||
|
||||
* 'hdata': hdata pointer
|
||||
* 'pointer': pointer to WeeChat/plugin object
|
||||
* 'hashtable': variables to update: keys are name of variables, values are new
|
||||
values for variables (keys and values are string), some special keys are
|
||||
allowed:
|
||||
** key '__delete_allowed' (with any value): return 1 if delete is allowed for
|
||||
structure, otherwise 0
|
||||
** key '__update_allowed', value is name of a variable: return 1 if update is
|
||||
allowed for this variable, otherwise 0
|
||||
** key '__delete' (with any value): delete structure (if allowed)
|
||||
|
||||
Valore restituito:
|
||||
|
||||
* number of variables updated
|
||||
|
||||
Esempio in C:
|
||||
|
||||
[source,C]
|
||||
----------------------------------------
|
||||
/* subtract one hour on last message displayed in current buffer */
|
||||
|
||||
struct t_gui_lines *own_lines;
|
||||
struct t_gui_line *line;
|
||||
struct t_gui_line_data *line_data;
|
||||
struct t_hdata *hdata;
|
||||
struct t_hashtable *hashtable;
|
||||
char str_date[64];
|
||||
|
||||
own_lines = weechat_hdata_pointer (weechat_hdata_get ("buffer"), weechat_current_buffer (), "own_lines");
|
||||
if (own_lines)
|
||||
{
|
||||
line = weechat_hdata_pointer (weechat_hdata_get ("lines"), own_lines, "last_line");
|
||||
if (line)
|
||||
{
|
||||
line_data = weechat_hdata_pointer (weechat_hdata_get ("line"), line, "data");
|
||||
hdata = weechat_hdata_get ("line_data");
|
||||
hashtable = weechat_hashtable_new (8,
|
||||
WEECHAT_HASHTABLE_STRING,
|
||||
WEECHAT_HASHTABLE_STRING,
|
||||
NULL,
|
||||
NULL);
|
||||
if (hashtable)
|
||||
{
|
||||
snprintf (str_date, sizeof (str_date), "%ld", ((long int)weechat_hdata_time (hdata, line_data, "date")) - 3600);
|
||||
weechat_hashtable_set (hashtable, "date", str_date);
|
||||
weechat_hdata_update (hdata, line_data, hashtable);
|
||||
weechat_hashtable_free (hashtable);
|
||||
}
|
||||
}
|
||||
}
|
||||
----------------------------------------
|
||||
|
||||
Script (Python):
|
||||
|
||||
[source,python]
|
||||
----------------------------------------
|
||||
# prototipo
|
||||
count = weechat.hdata_update(hdata, pointer, hashtable)
|
||||
|
||||
# example: subtract one hour on last message displayed in current buffer
|
||||
own_lines = weechat.hdata_pointer(weechat.hdata_get('buffer'), weechat.current_buffer(), 'own_lines')
|
||||
if own_lines:
|
||||
line = weechat.hdata_pointer(weechat.hdata_get('lines'), own_lines, 'last_line')
|
||||
if line:
|
||||
line_data = weechat.hdata_pointer(weechat.hdata_get('line'), line, 'data')
|
||||
hdata = weechat.hdata_get('line_data')
|
||||
weechat.hdata_update(hdata, line_data, { 'date': str(weechat.hdata_time(hdata, line_data, 'date') - 3600) })
|
||||
----------------------------------------
|
||||
|
||||
weechat_hdata_get_string
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
|
||||
+190
-148
@@ -1,6 +1,6 @@
|
||||
[width="100%",cols="^1,^2,5,5,5",options="header"]
|
||||
[width="100%",cols="^1,^2,5,5,5,5",options="header"]
|
||||
|========================================
|
||||
| プラグイン | 名前 | 説明 | 変数 | リスト
|
||||
| プラグイン | 名前 | 説明 | 変数 | Update allowed | リスト
|
||||
|
||||
| guile | guile_script | スクリプトのリスト |
|
||||
'filename' (string) +
|
||||
@@ -14,8 +14,9 @@
|
||||
'charset' (string) +
|
||||
'callbacks' (pointer) +
|
||||
'unloading' (integer) +
|
||||
'prev_script' (pointer, hdata: 'guile_script') +
|
||||
'next_script' (pointer, hdata: 'guile_script') |
|
||||
'prev_script' (pointer, hdata: "guile_script") +
|
||||
'next_script' (pointer, hdata: "guile_script") |
|
||||
|
|
||||
'last_script' +
|
||||
'scripts'
|
||||
|
||||
@@ -36,22 +37,24 @@
|
||||
'pv_remote_nick_color' (string) +
|
||||
'hook_autorejoin' (pointer) +
|
||||
'nicks_count' (integer) +
|
||||
'nicks' (pointer, hdata: 'irc_nick') +
|
||||
'last_nick' (pointer, hdata: 'irc_nick') +
|
||||
'nicks' (pointer, hdata: "irc_nick") +
|
||||
'last_nick' (pointer, hdata: "irc_nick") +
|
||||
'nicks_speaking' (pointer) +
|
||||
'nicks_speaking_time' (pointer, hdata: 'irc_channel_speaking') +
|
||||
'last_nick_speaking_time' (pointer, hdata: 'irc_channel_speaking') +
|
||||
'buffer' (pointer, hdata: 'buffer') +
|
||||
'nicks_speaking_time' (pointer, hdata: "irc_channel_speaking") +
|
||||
'last_nick_speaking_time' (pointer, hdata: "irc_channel_speaking") +
|
||||
'buffer' (pointer, hdata: "buffer") +
|
||||
'buffer_as_string' (string) +
|
||||
'prev_channel' (pointer, hdata: 'irc_channel') +
|
||||
'next_channel' (pointer, hdata: 'irc_channel') |
|
||||
'prev_channel' (pointer, hdata: "irc_channel") +
|
||||
'next_channel' (pointer, hdata: "irc_channel") |
|
||||
|
|
||||
-
|
||||
|
||||
| irc | irc_channel_speaking | irc 会話中チャンネル |
|
||||
'nick' (string) +
|
||||
'time_last_message' (time) +
|
||||
'prev_nick' (pointer, hdata: 'irc_channel_speaking') +
|
||||
'next_nick' (pointer, hdata: 'irc_channel_speaking') |
|
||||
'prev_nick' (pointer, hdata: "irc_channel_speaking") +
|
||||
'next_nick' (pointer, hdata: "irc_channel_speaking") |
|
||||
|
|
||||
-
|
||||
|
||||
| irc | irc_ignore | irc 無視 |
|
||||
@@ -60,8 +63,9 @@
|
||||
'regex_mask' (pointer) +
|
||||
'server' (string) +
|
||||
'channel' (string) +
|
||||
'prev_ignore' (pointer, hdata: 'irc_ignore') +
|
||||
'next_ignore' (pointer, hdata: 'irc_ignore') |
|
||||
'prev_ignore' (pointer, hdata: "irc_ignore") +
|
||||
'next_ignore' (pointer, hdata: "irc_ignore") |
|
||||
|
|
||||
'irc_ignore_list' +
|
||||
'last_irc_ignore'
|
||||
|
||||
@@ -72,23 +76,25 @@
|
||||
'prefix' (string) +
|
||||
'away' (integer) +
|
||||
'color' (string) +
|
||||
'prev_nick' (pointer, hdata: 'irc_nick') +
|
||||
'next_nick' (pointer, hdata: 'irc_nick') |
|
||||
'prev_nick' (pointer, hdata: "irc_nick") +
|
||||
'next_nick' (pointer, hdata: "irc_nick") |
|
||||
|
|
||||
-
|
||||
|
||||
| irc | irc_notify | irc 通知 |
|
||||
'server' (pointer, hdata: 'irc_server') +
|
||||
'server' (pointer, hdata: "irc_server") +
|
||||
'nick' (string) +
|
||||
'check_away' (integer) +
|
||||
'is_on_server' (integer) +
|
||||
'away_message' (string) +
|
||||
'ison_received' (integer) +
|
||||
'prev_notify' (pointer, hdata: 'irc_notify') +
|
||||
'next_notify' (pointer, hdata: 'irc_notify') |
|
||||
'prev_notify' (pointer, hdata: "irc_notify") +
|
||||
'next_notify' (pointer, hdata: "irc_notify") |
|
||||
|
|
||||
-
|
||||
|
||||
| irc | irc_redirect | irc リダイレクト |
|
||||
'server' (pointer, hdata: 'irc_server') +
|
||||
'server' (pointer, hdata: "irc_server") +
|
||||
'pattern' (string) +
|
||||
'signal' (string) +
|
||||
'count' (integer) +
|
||||
@@ -106,8 +112,9 @@
|
||||
'cmd_filter' (hashtable) +
|
||||
'output' (string) +
|
||||
'output_size' (integer) +
|
||||
'prev_redirect' (pointer, hdata: 'irc_redirect') +
|
||||
'next_redirect' (pointer, hdata: 'irc_redirect') |
|
||||
'prev_redirect' (pointer, hdata: "irc_redirect") +
|
||||
'next_redirect' (pointer, hdata: "irc_redirect") |
|
||||
|
|
||||
-
|
||||
|
||||
| irc | irc_redirect_pattern | irc リダイレクトパターン |
|
||||
@@ -117,8 +124,9 @@
|
||||
'cmd_start' (string) +
|
||||
'cmd_stop' (string) +
|
||||
'cmd_extra' (string) +
|
||||
'prev_redirect' (pointer, hdata: 'irc_redirect_pattern') +
|
||||
'next_redirect' (pointer, hdata: 'irc_redirect_pattern') |
|
||||
'prev_redirect' (pointer, hdata: "irc_redirect_pattern") +
|
||||
'next_redirect' (pointer, hdata: "irc_redirect_pattern") |
|
||||
|
|
||||
'irc_redirect_patterns' +
|
||||
'last_irc_redirect_pattern'
|
||||
|
||||
@@ -129,17 +137,17 @@
|
||||
'reloading_from_config' (integer) +
|
||||
'reloaded_from_config' (integer) +
|
||||
'addresses_count' (integer) +
|
||||
'addresses_array' (string, array_size: 'addresses_count') +
|
||||
'ports_array' (integer, array_size: 'addresses_count') +
|
||||
'addresses_array' (string, array_size: "addresses_count") +
|
||||
'ports_array' (integer, array_size: "addresses_count") +
|
||||
'index_current_address' (integer) +
|
||||
'current_address' (string) +
|
||||
'current_ip' (string) +
|
||||
'current_port' (integer) +
|
||||
'sock' (integer) +
|
||||
'hook_connect' (pointer, hdata: 'hook') +
|
||||
'hook_fd' (pointer, hdata: 'hook') +
|
||||
'hook_timer_connection' (pointer, hdata: 'hook') +
|
||||
'hook_timer_sasl' (pointer, hdata: 'hook') +
|
||||
'hook_connect' (pointer, hdata: "hook") +
|
||||
'hook_fd' (pointer, hdata: "hook") +
|
||||
'hook_timer_connection' (pointer, hdata: "hook") +
|
||||
'hook_timer_sasl' (pointer, hdata: "hook") +
|
||||
'is_connected' (integer) +
|
||||
'ssl_connected' (integer) +
|
||||
'gnutls_sess' (other) +
|
||||
@@ -147,7 +155,7 @@
|
||||
'tls_cert_key' (other) +
|
||||
'unterminated_message' (string) +
|
||||
'nicks_count' (integer) +
|
||||
'nicks_array' (string, array_size: 'nicks_count') +
|
||||
'nicks_array' (string, array_size: "nicks_count") +
|
||||
'nick_first_tried' (integer) +
|
||||
'nick_alternate_number' (integer) +
|
||||
'nick' (string) +
|
||||
@@ -176,17 +184,18 @@
|
||||
'last_away_check' (time) +
|
||||
'outqueue' (pointer) +
|
||||
'last_outqueue' (pointer) +
|
||||
'redirects' (pointer, hdata: 'irc_redirect') +
|
||||
'last_redirect' (pointer, hdata: 'irc_redirect') +
|
||||
'notify_list' (pointer, hdata: 'irc_notify') +
|
||||
'last_notify' (pointer, hdata: 'irc_notify') +
|
||||
'redirects' (pointer, hdata: "irc_redirect") +
|
||||
'last_redirect' (pointer, hdata: "irc_redirect") +
|
||||
'notify_list' (pointer, hdata: "irc_notify") +
|
||||
'last_notify' (pointer, hdata: "irc_notify") +
|
||||
'manual_joins' (hashtable) +
|
||||
'buffer' (pointer, hdata: 'buffer') +
|
||||
'buffer' (pointer, hdata: "buffer") +
|
||||
'buffer_as_string' (string) +
|
||||
'channels' (pointer, hdata: 'irc_channel') +
|
||||
'last_channel' (pointer, hdata: 'irc_channel') +
|
||||
'prev_server' (pointer, hdata: 'irc_server') +
|
||||
'next_server' (pointer, hdata: 'irc_server') |
|
||||
'channels' (pointer, hdata: "irc_channel") +
|
||||
'last_channel' (pointer, hdata: "irc_channel") +
|
||||
'prev_server' (pointer, hdata: "irc_server") +
|
||||
'next_server' (pointer, hdata: "irc_server") |
|
||||
|
|
||||
'irc_servers' +
|
||||
'last_irc_server'
|
||||
|
||||
@@ -202,8 +211,9 @@
|
||||
'charset' (string) +
|
||||
'callbacks' (pointer) +
|
||||
'unloading' (integer) +
|
||||
'prev_script' (pointer, hdata: 'lua_script') +
|
||||
'next_script' (pointer, hdata: 'lua_script') |
|
||||
'prev_script' (pointer, hdata: "lua_script") +
|
||||
'next_script' (pointer, hdata: "lua_script") |
|
||||
|
|
||||
'last_script' +
|
||||
'scripts'
|
||||
|
||||
@@ -219,8 +229,9 @@
|
||||
'charset' (string) +
|
||||
'callbacks' (pointer) +
|
||||
'unloading' (integer) +
|
||||
'prev_script' (pointer, hdata: 'perl_script') +
|
||||
'next_script' (pointer, hdata: 'perl_script') |
|
||||
'prev_script' (pointer, hdata: "perl_script") +
|
||||
'next_script' (pointer, hdata: "perl_script") |
|
||||
|
|
||||
'last_script' +
|
||||
'scripts'
|
||||
|
||||
@@ -236,8 +247,9 @@
|
||||
'charset' (string) +
|
||||
'callbacks' (pointer) +
|
||||
'unloading' (integer) +
|
||||
'prev_script' (pointer, hdata: 'python_script') +
|
||||
'next_script' (pointer, hdata: 'python_script') |
|
||||
'prev_script' (pointer, hdata: "python_script") +
|
||||
'next_script' (pointer, hdata: "python_script") |
|
||||
|
|
||||
'last_script' +
|
||||
'scripts'
|
||||
|
||||
@@ -253,8 +265,9 @@
|
||||
'charset' (string) +
|
||||
'callbacks' (pointer) +
|
||||
'unloading' (integer) +
|
||||
'prev_script' (pointer, hdata: 'ruby_script') +
|
||||
'next_script' (pointer, hdata: 'ruby_script') |
|
||||
'prev_script' (pointer, hdata: "ruby_script") +
|
||||
'next_script' (pointer, hdata: "ruby_script") |
|
||||
|
|
||||
'last_script' +
|
||||
'scripts'
|
||||
|
||||
@@ -280,8 +293,9 @@
|
||||
'version_loaded' (string) +
|
||||
'displayed' (integer) +
|
||||
'install_order' (integer) +
|
||||
'prev_script' (pointer, hdata: 'script_script') +
|
||||
'next_script' (pointer, hdata: 'script_script') |
|
||||
'prev_script' (pointer, hdata: "script_script") +
|
||||
'next_script' (pointer, hdata: "script_script") |
|
||||
|
|
||||
'last_repo_script' +
|
||||
'repo_scripts'
|
||||
|
||||
@@ -297,8 +311,9 @@
|
||||
'charset' (string) +
|
||||
'callbacks' (pointer) +
|
||||
'unloading' (integer) +
|
||||
'prev_script' (pointer, hdata: 'tcl_script') +
|
||||
'next_script' (pointer, hdata: 'tcl_script') |
|
||||
'prev_script' (pointer, hdata: "tcl_script") +
|
||||
'next_script' (pointer, hdata: "tcl_script") |
|
||||
|
|
||||
'last_script' +
|
||||
'scripts'
|
||||
|
||||
@@ -306,32 +321,34 @@
|
||||
'name' (string) +
|
||||
'options' (pointer) +
|
||||
'conditions_count' (integer) +
|
||||
'conditions_array' (string, array_size: 'conditions_count') +
|
||||
'conditions_array' (string, array_size: "conditions_count") +
|
||||
'items_count' (integer) +
|
||||
'items_subcount' (pointer) +
|
||||
'items_array' (pointer) +
|
||||
'items_prefix' (pointer) +
|
||||
'items_name' (pointer) +
|
||||
'items_suffix' (pointer) +
|
||||
'bar_window' (pointer, hdata: 'bar_window') +
|
||||
'bar_window' (pointer, hdata: "bar_window") +
|
||||
'bar_refresh_needed' (integer) +
|
||||
'prev_bar' (pointer, hdata: 'bar') +
|
||||
'next_bar' (pointer, hdata: 'bar') |
|
||||
'prev_bar' (pointer, hdata: "bar") +
|
||||
'next_bar' (pointer, hdata: "bar") |
|
||||
|
|
||||
'gui_bars' +
|
||||
'last_gui_bar'
|
||||
|
||||
| weechat | bar_item | バーアイテム |
|
||||
'plugin' (pointer, hdata: 'plugin') +
|
||||
'plugin' (pointer, hdata: "plugin") +
|
||||
'name' (string) +
|
||||
'build_callback' (pointer) +
|
||||
'build_callback_data' (pointer) +
|
||||
'prev_item' (pointer, hdata: 'bar_item') +
|
||||
'next_item' (pointer, hdata: 'bar_item') |
|
||||
'prev_item' (pointer, hdata: "bar_item") +
|
||||
'next_item' (pointer, hdata: "bar_item") |
|
||||
|
|
||||
'gui_bar_items' +
|
||||
'last_gui_bar_item'
|
||||
|
||||
| weechat | bar_window | バーウィンドウ |
|
||||
'bar' (pointer, hdata: 'bar') +
|
||||
'bar' (pointer, hdata: "bar") +
|
||||
'x' (integer) +
|
||||
'y' (integer) +
|
||||
'width' (integer) +
|
||||
@@ -350,12 +367,13 @@
|
||||
'coords_count' (integer) +
|
||||
'coords' (pointer) +
|
||||
'gui_objects' (pointer) +
|
||||
'prev_bar_window' (pointer, hdata: 'bar_window') +
|
||||
'next_bar_window' (pointer, hdata: 'bar_window') |
|
||||
'prev_bar_window' (pointer, hdata: "bar_window") +
|
||||
'next_bar_window' (pointer, hdata: "bar_window") |
|
||||
|
|
||||
-
|
||||
|
||||
| weechat | buffer | バッファ |
|
||||
'plugin' (pointer, hdata: 'plugin') +
|
||||
'plugin' (pointer, hdata: "plugin") +
|
||||
'plugin_name_for_upgrade' (string) +
|
||||
'number' (integer) +
|
||||
'layout_number' (integer) +
|
||||
@@ -371,14 +389,14 @@
|
||||
'close_callback' (pointer) +
|
||||
'close_callback_data' (pointer) +
|
||||
'title' (string) +
|
||||
'own_lines' (pointer, hdata: 'lines') +
|
||||
'mixed_lines' (pointer, hdata: 'lines') +
|
||||
'lines' (pointer, hdata: 'lines') +
|
||||
'own_lines' (pointer, hdata: "lines") +
|
||||
'mixed_lines' (pointer, hdata: "lines") +
|
||||
'lines' (pointer, hdata: "lines") +
|
||||
'time_for_each_line' (integer) +
|
||||
'chat_refresh_needed' (integer) +
|
||||
'nicklist' (integer) +
|
||||
'nicklist_case_sensitive' (integer) +
|
||||
'nicklist_root' (pointer, hdata: 'nick_group') +
|
||||
'nicklist_root' (pointer, hdata: "nick_group") +
|
||||
'nicklist_max_length' (integer) +
|
||||
'nicklist_display_groups' (integer) +
|
||||
'nicklist_visible_count' (integer) +
|
||||
@@ -394,15 +412,15 @@
|
||||
'input_buffer_length' (integer) +
|
||||
'input_buffer_pos' (integer) +
|
||||
'input_buffer_1st_display' (integer) +
|
||||
'input_undo_snap' (pointer, hdata: 'input_undo') +
|
||||
'input_undo' (pointer, hdata: 'input_undo') +
|
||||
'last_input_undo' (pointer, hdata: 'input_undo') +
|
||||
'ptr_input_undo' (pointer, hdata: 'input_undo') +
|
||||
'input_undo_snap' (pointer, hdata: "input_undo") +
|
||||
'input_undo' (pointer, hdata: "input_undo") +
|
||||
'last_input_undo' (pointer, hdata: "input_undo") +
|
||||
'ptr_input_undo' (pointer, hdata: "input_undo") +
|
||||
'input_undo_count' (integer) +
|
||||
'completion' (pointer, hdata: 'completion') +
|
||||
'history' (pointer, hdata: 'history') +
|
||||
'last_history' (pointer, hdata: 'history') +
|
||||
'ptr_history' (pointer, hdata: 'history') +
|
||||
'completion' (pointer, hdata: "completion") +
|
||||
'history' (pointer, hdata: "history") +
|
||||
'last_history' (pointer, hdata: "history") +
|
||||
'ptr_history' (pointer, hdata: "history") +
|
||||
'num_history' (integer) +
|
||||
'text_search' (integer) +
|
||||
'text_search_exact' (integer) +
|
||||
@@ -413,20 +431,21 @@
|
||||
'highlight_regex_compiled' (pointer) +
|
||||
'highlight_tags' (string) +
|
||||
'highlight_tags_count' (integer) +
|
||||
'highlight_tags_array' (string, array_size: 'highlight_tags_count') +
|
||||
'highlight_tags_array' (string, array_size: "highlight_tags_count") +
|
||||
'hotlist_max_level_nicks' (hashtable) +
|
||||
'keys' (pointer, hdata: 'key') +
|
||||
'last_key' (pointer, hdata: 'key') +
|
||||
'keys' (pointer, hdata: "key") +
|
||||
'last_key' (pointer, hdata: "key") +
|
||||
'keys_count' (integer) +
|
||||
'local_variables' (hashtable) +
|
||||
'prev_buffer' (pointer, hdata: 'buffer') +
|
||||
'next_buffer' (pointer, hdata: 'buffer') |
|
||||
'prev_buffer' (pointer, hdata: "buffer") +
|
||||
'next_buffer' (pointer, hdata: "buffer") |
|
||||
|
|
||||
'gui_buffer_last_displayed' +
|
||||
'gui_buffers' +
|
||||
'last_gui_buffer'
|
||||
|
||||
| weechat | completion | 補完する構造 |
|
||||
'buffer' (pointer, hdata: 'buffer') +
|
||||
'buffer' (pointer, hdata: "buffer") +
|
||||
'context' (integer) +
|
||||
'base_command' (string) +
|
||||
'base_command_arg_index' (integer) +
|
||||
@@ -443,38 +462,41 @@
|
||||
'position_replace' (integer) +
|
||||
'diff_size' (integer) +
|
||||
'diff_length' (integer) +
|
||||
'partial_completion_list' (pointer, hdata: 'completion_partial') +
|
||||
'last_partial_completion' (pointer, hdata: 'completion_partial') |
|
||||
'partial_completion_list' (pointer, hdata: "completion_partial") +
|
||||
'last_partial_completion' (pointer, hdata: "completion_partial") |
|
||||
|
|
||||
-
|
||||
|
||||
| weechat | completion_partial | 部分補完する構造 |
|
||||
'word' (string) +
|
||||
'count' (integer) +
|
||||
'prev_item' (pointer, hdata: 'completion_partial') +
|
||||
'next_item' (pointer, hdata: 'completion_partial') |
|
||||
'prev_item' (pointer, hdata: "completion_partial") +
|
||||
'next_item' (pointer, hdata: "completion_partial") |
|
||||
|
|
||||
-
|
||||
|
||||
| weechat | config_file | 設定ファイル |
|
||||
'plugin' (pointer, hdata: 'plugin') +
|
||||
'plugin' (pointer, hdata: "plugin") +
|
||||
'name' (string) +
|
||||
'filename' (string) +
|
||||
'file' (pointer) +
|
||||
'callback_reload' (pointer) +
|
||||
'callback_reload_data' (pointer) +
|
||||
'sections' (pointer, hdata: 'config_section') +
|
||||
'last_section' (pointer, hdata: 'config_section') +
|
||||
'prev_config' (pointer, hdata: 'config_file') +
|
||||
'next_config' (pointer, hdata: 'config_file') |
|
||||
'sections' (pointer, hdata: "config_section") +
|
||||
'last_section' (pointer, hdata: "config_section") +
|
||||
'prev_config' (pointer, hdata: "config_file") +
|
||||
'next_config' (pointer, hdata: "config_file") |
|
||||
|
|
||||
'config_files' +
|
||||
'last_config_file'
|
||||
|
||||
| weechat | config_option | 設定オプション |
|
||||
'config_file' (pointer, hdata: 'config_file') +
|
||||
'section' (pointer, hdata: 'config_section') +
|
||||
'config_file' (pointer, hdata: "config_file") +
|
||||
'section' (pointer, hdata: "config_section") +
|
||||
'name' (string) +
|
||||
'type' (integer) +
|
||||
'description' (string) +
|
||||
'string_values' (string, array_size: '*') +
|
||||
'string_values' (string, array_size: "*") +
|
||||
'min' (integer) +
|
||||
'max' (integer) +
|
||||
'default_value' (pointer) +
|
||||
@@ -487,12 +509,13 @@
|
||||
'callback_delete' (pointer) +
|
||||
'callback_delete_data' (pointer) +
|
||||
'loaded' (integer) +
|
||||
'prev_option' (pointer, hdata: 'config_option') +
|
||||
'next_option' (pointer, hdata: 'config_option') |
|
||||
'prev_option' (pointer, hdata: "config_option") +
|
||||
'next_option' (pointer, hdata: "config_option") |
|
||||
|
|
||||
-
|
||||
|
||||
| weechat | config_section | 設定セクション |
|
||||
'config_file' (pointer, hdata: 'config_file') +
|
||||
'config_file' (pointer, hdata: "config_file") +
|
||||
'name' (string) +
|
||||
'user_can_add_options' (integer) +
|
||||
'user_can_delete_options' (integer) +
|
||||
@@ -506,10 +529,11 @@
|
||||
'callback_create_option_data' (pointer) +
|
||||
'callback_delete_option' (pointer) +
|
||||
'callback_delete_option_data' (pointer) +
|
||||
'options' (pointer, hdata: 'config_option') +
|
||||
'last_option' (pointer, hdata: 'config_option') +
|
||||
'prev_section' (pointer, hdata: 'config_section') +
|
||||
'next_section' (pointer, hdata: 'config_section') |
|
||||
'options' (pointer, hdata: "config_option") +
|
||||
'last_option' (pointer, hdata: "config_option") +
|
||||
'prev_section' (pointer, hdata: "config_section") +
|
||||
'next_section' (pointer, hdata: "config_section") |
|
||||
|
|
||||
-
|
||||
|
||||
| weechat | filter | フィルタ |
|
||||
@@ -520,19 +544,21 @@
|
||||
'buffers' (pointer) +
|
||||
'tags' (string) +
|
||||
'tags_count' (integer) +
|
||||
'tags_array' (string, array_size: 'tags_count') +
|
||||
'tags_array' (string, array_size: "tags_count") +
|
||||
'regex' (string) +
|
||||
'regex_prefix' (pointer) +
|
||||
'regex_message' (pointer) +
|
||||
'prev_filter' (pointer, hdata: 'filter') +
|
||||
'next_filter' (pointer, hdata: 'filter') |
|
||||
'prev_filter' (pointer, hdata: "filter") +
|
||||
'next_filter' (pointer, hdata: "filter") |
|
||||
|
|
||||
'gui_filters' +
|
||||
'last_gui_filter'
|
||||
|
||||
| weechat | history | バッファのコマンド履歴 |
|
||||
'text' (string) +
|
||||
'next_history' (pointer, hdata: 'history') +
|
||||
'prev_history' (pointer, hdata: 'history') |
|
||||
'next_history' (pointer, hdata: "history") +
|
||||
'prev_history' (pointer, hdata: "history") |
|
||||
|
|
||||
-
|
||||
|
||||
| weechat | hotlist | ホットリスト |
|
||||
@@ -540,17 +566,19 @@
|
||||
'creation_time.tv_sec' (time) +
|
||||
'creation_time.tv_usec' (long) +
|
||||
'buffer' (pointer) +
|
||||
'count' (integer, array_size: '4') +
|
||||
'prev_hotlist' (pointer, hdata: 'hotlist') +
|
||||
'next_hotlist' (pointer, hdata: 'hotlist') |
|
||||
'count' (integer, array_size: "4") +
|
||||
'prev_hotlist' (pointer, hdata: "hotlist") +
|
||||
'next_hotlist' (pointer, hdata: "hotlist") |
|
||||
|
|
||||
'gui_hotlist' +
|
||||
'last_gui_hotlist'
|
||||
|
||||
| weechat | input_undo | 入力行をアンドゥする構造 |
|
||||
'data' (string) +
|
||||
'pos' (integer) +
|
||||
'prev_undo' (pointer, hdata: 'input_undo') +
|
||||
'next_undo' (pointer, hdata: 'input_undo') |
|
||||
'prev_undo' (pointer, hdata: "input_undo") +
|
||||
'next_undo' (pointer, hdata: "input_undo") |
|
||||
|
|
||||
-
|
||||
|
||||
| weechat | key | キー (キーボードショートカット) |
|
||||
@@ -560,8 +588,9 @@
|
||||
'area_key' (string) +
|
||||
'command' (string) +
|
||||
'score' (integer) +
|
||||
'prev_key' (pointer, hdata: 'key') +
|
||||
'next_key' (pointer, hdata: 'key') |
|
||||
'prev_key' (pointer, hdata: "key") +
|
||||
'next_key' (pointer, hdata: "key") |
|
||||
|
|
||||
'gui_default_keys' +
|
||||
'gui_default_keys_cursor' +
|
||||
'gui_default_keys_mouse' +
|
||||
@@ -580,47 +609,55 @@
|
||||
'last_gui_key_search'
|
||||
|
||||
| weechat | line | 1 行の構造 |
|
||||
'data' (pointer, hdata: 'line_data') +
|
||||
'prev_line' (pointer, hdata: 'line') +
|
||||
'next_line' (pointer, hdata: 'line') |
|
||||
'data' (pointer, hdata: "line_data") +
|
||||
'prev_line' (pointer, hdata: "line") +
|
||||
'next_line' (pointer, hdata: "line") |
|
||||
|
|
||||
-
|
||||
|
||||
| weechat | line_data | 1 行データ構造 |
|
||||
'buffer' (pointer, hdata: 'buffer') +
|
||||
'buffer' (pointer, hdata: "buffer") +
|
||||
'y' (integer) +
|
||||
'date' (time) +
|
||||
'date_printed' (time) +
|
||||
'str_time' (string) +
|
||||
'tags_count' (integer) +
|
||||
'tags_array' (string, array_size: 'tags_count') +
|
||||
'tags_array' (string, array_size: "tags_count") +
|
||||
'displayed' (char) +
|
||||
'highlight' (char) +
|
||||
'refresh_needed' (char) +
|
||||
'prefix' (string) +
|
||||
'prefix_length' (integer) +
|
||||
'message' (string) |
|
||||
'date' (time) +
|
||||
'date_printed' (time) +
|
||||
'tags_array' (string) +
|
||||
'prefix' (string) +
|
||||
'message' (string) |
|
||||
-
|
||||
|
||||
| weechat | lines | 行を持つ構造 |
|
||||
'first_line' (pointer, hdata: 'line') +
|
||||
'last_line' (pointer, hdata: 'line') +
|
||||
'last_read_line' (pointer, hdata: 'line') +
|
||||
'first_line' (pointer, hdata: "line") +
|
||||
'last_line' (pointer, hdata: "line") +
|
||||
'last_read_line' (pointer, hdata: "line") +
|
||||
'lines_count' (integer) +
|
||||
'first_line_not_read' (integer) +
|
||||
'lines_hidden' (integer) +
|
||||
'buffer_max_length' (integer) +
|
||||
'prefix_max_length' (integer) |
|
||||
|
|
||||
-
|
||||
|
||||
| weechat | nick | ニックネームリストにあるニックネーム |
|
||||
'group' (pointer, hdata: 'nick_group') +
|
||||
'group' (pointer, hdata: "nick_group") +
|
||||
'name' (string) +
|
||||
'color' (string) +
|
||||
'prefix' (string) +
|
||||
'prefix_color' (string) +
|
||||
'visible' (integer) +
|
||||
'prev_nick' (pointer, hdata: 'nick') +
|
||||
'next_nick' (pointer, hdata: 'nick') |
|
||||
'prev_nick' (pointer, hdata: "nick") +
|
||||
'next_nick' (pointer, hdata: "nick") |
|
||||
|
|
||||
-
|
||||
|
||||
| weechat | nick_group | ニックネームリストにあるグループ |
|
||||
@@ -628,13 +665,14 @@
|
||||
'color' (string) +
|
||||
'visible' (integer) +
|
||||
'level' (integer) +
|
||||
'parent' (pointer, hdata: 'nick_group') +
|
||||
'children' (pointer, hdata: 'nick_group') +
|
||||
'last_child' (pointer, hdata: 'nick_group') +
|
||||
'nicks' (pointer, hdata: 'nick') +
|
||||
'last_nick' (pointer, hdata: 'nick') +
|
||||
'prev_group' (pointer, hdata: 'nick_group') +
|
||||
'next_group' (pointer, hdata: 'nick_group') |
|
||||
'parent' (pointer, hdata: "nick_group") +
|
||||
'children' (pointer, hdata: "nick_group") +
|
||||
'last_child' (pointer, hdata: "nick_group") +
|
||||
'nicks' (pointer, hdata: "nick") +
|
||||
'last_nick' (pointer, hdata: "nick") +
|
||||
'prev_group' (pointer, hdata: "nick_group") +
|
||||
'next_group' (pointer, hdata: "nick_group") |
|
||||
|
|
||||
-
|
||||
|
||||
| weechat | plugin | プラグイン |
|
||||
@@ -647,8 +685,9 @@
|
||||
'license' (string) +
|
||||
'charset' (string) +
|
||||
'debug' (integer) +
|
||||
'prev_plugin' (pointer, hdata: 'plugin') +
|
||||
'next_plugin' (pointer, hdata: 'plugin') |
|
||||
'prev_plugin' (pointer, hdata: "plugin") +
|
||||
'next_plugin' (pointer, hdata: "plugin") |
|
||||
|
|
||||
'last_weechat_plugin' +
|
||||
'weechat_plugins'
|
||||
|
||||
@@ -666,41 +705,44 @@
|
||||
'win_chat_height' (integer) +
|
||||
'win_chat_cursor_x' (integer) +
|
||||
'win_chat_cursor_y' (integer) +
|
||||
'bar_windows' (pointer, hdata: 'bar_window') +
|
||||
'last_bar_window' (pointer, hdata: 'bar_window') +
|
||||
'bar_windows' (pointer, hdata: "bar_window") +
|
||||
'last_bar_window' (pointer, hdata: "bar_window") +
|
||||
'refresh_needed' (integer) +
|
||||
'gui_objects' (pointer) +
|
||||
'buffer' (pointer, hdata: 'buffer') +
|
||||
'buffer' (pointer, hdata: "buffer") +
|
||||
'layout_plugin_name' (string) +
|
||||
'layout_buffer_name' (string) +
|
||||
'scroll' (pointer, hdata: 'window_scroll') +
|
||||
'ptr_tree' (pointer, hdata: 'window_tree') +
|
||||
'prev_window' (pointer, hdata: 'window') +
|
||||
'next_window' (pointer, hdata: 'window') |
|
||||
'scroll' (pointer, hdata: "window_scroll") +
|
||||
'ptr_tree' (pointer, hdata: "window_tree") +
|
||||
'prev_window' (pointer, hdata: "window") +
|
||||
'next_window' (pointer, hdata: "window") |
|
||||
|
|
||||
'gui_current_window' +
|
||||
'gui_windows' +
|
||||
'last_gui_window'
|
||||
|
||||
| weechat | window_scroll | ウィンドウ内のスクロール情報 |
|
||||
'buffer' (pointer, hdata: 'buffer') +
|
||||
'buffer' (pointer, hdata: "buffer") +
|
||||
'first_line_displayed' (integer) +
|
||||
'start_line' (pointer, hdata: 'line') +
|
||||
'start_line' (pointer, hdata: "line") +
|
||||
'start_line_pos' (integer) +
|
||||
'scrolling' (integer) +
|
||||
'start_col' (integer) +
|
||||
'lines_after' (integer) +
|
||||
'reset_allowed' (integer) +
|
||||
'prev_scroll' (pointer, hdata: 'window_scroll') +
|
||||
'next_scroll' (pointer, hdata: 'window_scroll') |
|
||||
'prev_scroll' (pointer, hdata: "window_scroll") +
|
||||
'next_scroll' (pointer, hdata: "window_scroll") |
|
||||
|
|
||||
-
|
||||
|
||||
| weechat | window_tree | ウィンドウツリー |
|
||||
'parent_node' (pointer, hdata: 'window_tree') +
|
||||
'parent_node' (pointer, hdata: "window_tree") +
|
||||
'split_pct' (integer) +
|
||||
'split_horizontal' (integer) +
|
||||
'child1' (pointer, hdata: 'window_tree') +
|
||||
'child2' (pointer, hdata: 'window_tree') +
|
||||
'window' (pointer, hdata: 'window') |
|
||||
'child1' (pointer, hdata: "window_tree") +
|
||||
'child2' (pointer, hdata: "window_tree") +
|
||||
'window' (pointer, hdata: "window") |
|
||||
|
|
||||
'gui_windows_tree'
|
||||
|
||||
|========================================
|
||||
|
||||
Reference in New Issue
Block a user