#include "gitkincludes.h"
Include dependency graph for gitktools.c:
Go to the source code of this file.
Functions | |
void | cleanup_commandline_args (guint *const argc, gchar ***const argv) |
remove found parameters (which are marked by parse_commandline_arg() as NULL) from the commandline array. | |
xmlNodePtr | gitk__cxpath_get_node (GitkDialogPtr const dialog, GitkDialogAccessType access_type, xmlXPathCompExprPtr const xpath_comp_expression, xmlNodePtr const root_node) |
return the first node of the result of the evaluation of the supplied compiled xpath expression agains the given document | |
xmlXPathObjectPtr | gitk__cxpath_get_object (GitkDialogPtr const dialog, GitkDialogAccessType access_type, xmlXPathCompExprPtr const xpath_comp_expression, xmlNodePtr const root_node) |
return the result as xmlXPathObjectPtr of the evaluation of the supplied compiled xpath expression agains the given document | |
gchar * | gitk__cxpath_get_string (GitkDialogPtr const dialog, GitkDialogAccessType access_type, xmlXPathCompExprPtr const xpath_comp_expression, xmlNodePtr const root_node) |
return the result as string of the evaluation of the supplied compiled xpath expression agains the given document | |
xmlNodePtr | gitk__xpath_get_node (GitkDialogPtr const dialog, GitkDialogAccessType access_type, gchar *const xpath_expression, xmlNodePtr const root_node) |
return the first node of the result of the evaluation of the supplied xpath expression agains the given document | |
xmlXPathObjectPtr | gitk__xpath_get_object (GitkDialogPtr const dialog, GitkDialogAccessType access_type, gchar *const xpath_expression, xmlNodePtr const root_node) |
return the result as xmlXPathObjectPtr of the evaluation of the supplied xpath expression agains the given document | |
gchar * | gitk__xpath_get_string (GitkDialogPtr const dialog, GitkDialogAccessType access_type, gchar *const xpath_expression, xmlNodePtr const root_node) |
return the result as string of the evaluation of the supplied xpath expression agains the given document | |
void | gitk_dialog_dump (xmlDocPtr const doc) |
dump contents of supplied document to STDOUT | |
void | gitk_dialog_dump_walker (xmlNodePtr cur, const gint level) |
recursively walks down a document tree and dumps nodes to STDOUT | |
void | gitk_dialog_safe_new_child (xmlNsPtr const ns, xmlNodePtr const parent, gchar *const name, gchar *const content) |
add a new node with a default value, but only if it not yet exists | |
gchar * | gitk_get_widget_child_xpath_expression (const gchar *const widget_id, const gchar *const widget_value) |
get xpath expression that addresses the value of a widget for the given id and name | |
gchar * | gitk_get_widget_xpath_expression (const gchar *const widget_id) |
get xpath expression that addresses the widget for the given id | |
int | gitk_printf (const char *utf8,...) |
converts an utf8 encoded string to the local charset and print it to the console using printf | |
int | gitk_puts (const char *utf8) |
converts an utf8 encoded string to the local charset and print it to the console using puts | |
xmlXPathObjectPtr | gitk_xpath_type_filter (xmlXPathObjectPtr xpath_optr, const xmlXPathObjectType type) |
test if the given XPathObject is of the expected type, otherwise discard the object | |
char * | parse_commandline_arg (guint *const argc, gchar ***const argv, guint *const i, gchar *const argn) |
parse commandline arg |
Definition in file gitktools.c.
|
remove found parameters (which are marked by parse_commandline_arg() as NULL) from the commandline array.
Definition at line 387 of file gitktools.c. Referenced by gitk_init_process_commandline(), and gitkr_init_process_commandline(). |
|
recursively walks down a document tree and dumps nodes to STDOUT
Definition at line 29 of file gitktools.c. References ANSI_COLOR_DARKGRAY, ANSI_COLOR_LIGHTBLUE, ANSI_COLOR_LIGHTGRAY, ANSI_COLOR_LIGHTRED, ANSI_COLOR_WHITE, gitk_dump, gitk_dump1, gitk_dump2, and print_ansi. Referenced by gitk_dialog_dump(). |
|
add a new node with a default value, but only if it not yet exists
Definition at line 311 of file gitktools.c. |
|
get xpath expression that addresses the value of a widget for the given id and name
Definition at line 294 of file gitktools.c. References GITK_CONTROL_ID_MAXLEN, and GITK_NS_PREFIX. Referenced by gitk__widget_set_value(). |
|
get xpath expression that addresses the widget for the given id
Definition at line 279 of file gitktools.c. References GITK_CONTROL_ID_MAXLEN, and GITK_NS_PREFIX. Referenced by gitk__dialog_attach_callback(), gitk__dialog_get_widget(), and gitk_dialog_detach_callback(). |
|
converts an utf8 encoded string to the local charset and print it to the console using printf
Definition at line 428 of file gitktools.c. Referenced by gitk_template_message_with_title(), main(), and main_show(). |
|
converts an utf8 encoded string to the local charset and print it to the console using puts
Definition at line 408 of file gitktools.c. Referenced by gitk_init_process_commandline(), gitkr_init_process_commandline(), and main(). |
|
parse commandline arg
Definition at line 337 of file gitktools.c. References gitk_log, gitk_log1, and gitk_log2. Referenced by gitk_init_process_commandline(), and gitkr_init_process_commandline(). |