geany
1.38
About: Geany is a text editor (using GTK2) with basic features of an integrated development environment (syntax highlighting, code folding, symbol name auto-completion, ...). F: office T: editor programming GTK+ IDE
![]() ![]() |
#include "app.h"
#include "build.h"
#include "dialogs.h"
#include "document.h"
#include "filetypesprivate.h"
#include "geanymenubuttonaction.h"
#include "geanyobject.h"
#include "keybindingsprivate.h"
#include "msgwindow.h"
#include "prefs.h"
#include "projectprivate.h"
#include "sciwrappers.h"
#include "spawn.h"
#include "support.h"
#include "toolbar.h"
#include "ui_utils.h"
#include "utils.h"
#include "vte.h"
#include "win32.h"
#include <stdlib.h>
#include <string.h>
#include <sys/stat.h>
#include <unistd.h>
#include <errno.h>
#include <gtk/gtk.h>
#include <glib/gstdio.h>
Go to the source code of this file.
Classes | |
struct | RunInfo |
struct | BuildMenuItemSpec |
struct | RowWidgets |
struct | BuildTableFields |
Macros | |
#define | GEANY_BUILD_ERR_HIGHLIGHT_MAX 50 |
#define | GBO_TO_GBG(gbo) |
#define | GBO_TO_CMD(gbo) |
#define | GRP_CMD_TO_POINTER(grp, cmd) GUINT_TO_POINTER((((grp)&7) << 5) | ((cmd)&0x1f)) |
#define | GBO_TO_POINTER(gbo) (GRP_CMD_TO_POINTER(GBO_TO_GBG(gbo), GBO_TO_CMD(gbo))) |
#define | GPOINTER_TO_CMD(gptr) (GPOINTER_TO_UINT(gptr)&0x1f) |
#define | GPOINTER_TO_GRP(gptr) ((GPOINTER_TO_UINT(gptr)&0xe0) >> 5) |
#define | PRINTBUILDCMDS FALSE |
#define | return_cmd_if(src, cmds) |
#define | return_ft_cmd_if(src, cmds) |
#define | return_nonblank_regex(src, ptr) |
#define | MENU_FT_REST (GEANY_GBG_COUNT + GEANY_GBG_FT) |
#define | MENU_NON_FT_REST (GEANY_GBG_COUNT + GEANY_GBG_NON_FT) |
#define | MENU_EXEC_REST (GEANY_GBG_COUNT + GEANY_GBG_EXEC) |
#define | MENU_SEPARATOR (2*GEANY_GBG_COUNT) |
#define | MENU_NEXT_ERROR (MENU_SEPARATOR + 1) |
#define | MENU_PREV_ERROR (MENU_NEXT_ERROR + 1) |
#define | MENU_COMMANDS (MENU_PREV_ERROR + 1) |
#define | MENU_DONE (MENU_COMMANDS + 1) |
#define | DC_ITEM 0 |
#define | DC_ENTRIES 1 |
#define | DC_CLEAR 4 |
#define | DC_N_COL 5 |
#define | set_key_grp(key, grp) (key[prefixlen + 0] = grp[0], key[prefixlen + 1] = grp[1]) |
#define | set_key_cmd(key, cmd) (key[prefixlen + 3] = cmd[0], key[prefixlen + 4] = cmd[1]) |
#define | set_key_fld(key, fld) (key[prefixlen + 6] = fld[0], key[prefixlen + 7] = fld[1]) |
Typedefs | |
typedef struct RunInfo | RunInfo |
typedef void | Callback(GtkWidget *w, gpointer u) |
typedef struct RowWidgets | RowWidgets |
typedef struct BuildTableFields | BuildTableFields |
Enumerations | |
enum | GeanyBuildType { GEANY_GBO_COMPILE , GEANY_GBO_BUILD , GEANY_GBO_MAKE_ALL , GEANY_GBO_CUSTOM , GEANY_GBO_MAKE_OBJECT , GEANY_GBO_EXEC , GEANY_GBO_COUNT } |
Functions | |
static void | build_exit_cb (GPid pid, gint status, gpointer user_data) |
static void | build_iofunc (GString *string, GIOCondition condition, gpointer data) |
static gchar * | build_create_shellscript (const gchar *working_dir, const gchar *cmd, gboolean autoclose, GError **error) |
static void | build_spawn_cmd (GeanyDocument *doc, const gchar *cmd, const gchar *dir) |
static void | set_stop_button (gboolean stop) |
static void | run_exit_cb (GPid child_pid, gint status, gpointer user_data) |
static void | on_set_build_commands_activate (GtkWidget *w, gpointer u) |
static void | on_build_next_error (GtkWidget *menuitem, gpointer user_data) |
static void | on_build_previous_error (GtkWidget *menuitem, gpointer user_data) |
static void | kill_process (GPid *pid) |
static void | show_build_result_message (gboolean failure) |
static void | process_build_output_line (gchar *msg, gint color) |
static void | show_build_commands_dialog (void) |
static void | on_build_menu_item (GtkWidget *w, gpointer user_data) |
void | build_finalize (void) |
static void | add_menu_accel (GeanyKeyGroup *group, guint kb_id, GtkAccelGroup *accel_group, GtkWidget *menuitem) |
static gchar * | id_to_str (GeanyBuildCommand *bc, gint id) |
static void | set_command (GeanyBuildCommand *bc, gint id, gchar *str) |
static void | printfcmds (void) |
static GeanyBuildCommand * | get_next_build_cmd (GeanyDocument *doc, guint cmdgrp, guint cmdindex, guint below, guint *from) |
static GeanyBuildCommand * | get_build_cmd (GeanyDocument *doc, guint grp, guint cmdindex, guint *from) |
gchar ** | build_get_regex (GeanyBuildGroup grp, GeanyFiletype *ft, guint *from) |
static GeanyBuildCommand ** | get_build_group_pointer (const GeanyBuildSource src, const GeanyBuildGroup grp) |
static GeanyBuildCommand * | get_build_group (const GeanyBuildSource src, const GeanyBuildGroup grp) |
void | build_remove_menu_item (const GeanyBuildSource src, const GeanyBuildGroup grp, const gint cmd) |
Remove the specified Build menu item. More... | |
GeanyBuildCommand * | build_get_menu_item (GeanyBuildSource src, GeanyBuildGroup grp, guint cmd) |
const gchar * | build_get_current_menu_item (const GeanyBuildGroup grp, const guint cmd, const GeanyBuildCmdEntries fld) |
Get the string for the menu item field. More... | |
void | build_set_menu_item (const GeanyBuildSource src, const GeanyBuildGroup grp, const guint cmd, const GeanyBuildCmdEntries fld, const gchar *val) |
Set the string for the menu item field. More... | |
void | build_activate_menu_item (const GeanyBuildGroup grp, const guint cmd) |
Activate the menu item. More... | |
static void | clear_all_errors (void) |
static gchar * | build_replace_placeholder (const GeanyDocument *doc, const gchar *src) |
static gchar * | prepare_run_cmd (GeanyDocument *doc, gchar **working_dir, guint cmdindex) |
static void | build_run_cmd (GeanyDocument *doc, guint cmdindex) |
gboolean | build_parse_make_dir (const gchar *string, gchar **prefix) |
static void | build_command (GeanyDocument *doc, GeanyBuildGroup grp, guint cmd, gchar *cmd_cat) |
static void | on_make_custom_input_response (const gchar *input, gpointer data) |
static void | create_build_menu_item (GtkWidget *menu, GeanyKeyGroup *group, GtkAccelGroup *ag, struct BuildMenuItemSpec *bs, const gchar *lbl, guint grp, guint cmd) |
static void | create_build_menu (BuildMenuItems *build_menu_items) |
void | build_menu_update (GeanyDocument *doc) |
static void | on_toolbutton_build_activate (GtkWidget *menuitem, gpointer user_data) |
static void | on_toolbutton_make_activate (GtkWidget *menuitem, gpointer user_data) |
void | build_toolbutton_build_clicked (GtkAction *action, gpointer unused) |
static void | set_row_color (RowWidgets *r, GdkRGBA *color) |
static void | set_build_command_entry_text (GtkWidget *wid, const gchar *text) |
static void | on_clear_dialog_row (GtkWidget *unused, gpointer user_data) |
static void | on_clear_dialog_regex_row (GtkEntry *regex, gpointer unused) |
static void | on_label_button_clicked (GtkWidget *wid, gpointer user_data) |
static void | on_entry_focus (GtkWidget *wid, GdkEventFocus *unused, gpointer user_data) |
static RowWidgets * | build_add_dialog_row (GeanyDocument *doc, GtkTable *table, guint row, GeanyBuildSource dst, guint grp, guint cmd, gboolean dir) |
GtkWidget * | build_commands_table (GeanyDocument *doc, GeanyBuildSource dst, BuildTableData *table_data, GeanyFiletype *ft) |
void | build_free_fields (BuildTableData table_data) |
static const gchar * | get_build_command_entry_text (GtkWidget *wid) |
static gboolean | read_row (BuildDestination *dst, BuildTableData table_data, guint drow, guint grp, guint cmd) |
static gboolean | read_regex (GtkWidget *regexentry, gchar **src, gchar **dst) |
static gboolean | build_read_commands (BuildDestination *dst, BuildTableData table_data, gint response) |
void | build_read_project (GeanyFiletype *ft, BuildTableData build_properties) |
BuildMenuItems * | build_get_menu_items (gint filetype_idx) |
static void | build_load_menu_grp (GKeyFile *config, GeanyBuildCommand **dst, gint grp, gchar *prefix, gboolean loc) |
static void | assign_cmd (GeanyBuildCommand *type, guint id, const gchar *label, gchar *value) |
void | build_load_menu (GKeyFile *config, GeanyBuildSource src, gpointer p) |
static guint | build_save_menu_grp (GKeyFile *config, GeanyBuildCommand *src, gint grp, gchar *prefix) |
static gboolean | save_project_filetype (GeanyFiletype *ft, GKeyFile *config) |
void | build_save_menu (GKeyFile *config, gpointer ptr, GeanyBuildSource src) |
void | build_set_group_count (GeanyBuildGroup grp, gint count) |
guint | build_get_group_count (const GeanyBuildGroup grp) |
Get the count of commands for the group. More... | |
static void | on_project_close (void) |
void | build_init (void) |
gboolean | build_keybinding (guint key_id) |
Variables | |
GeanyBuildInfo | build_info = {GEANY_GBG_FT, 0, 0, NULL, GEANY_FILETYPES_NONE, NULL, 0} |
static gchar * | current_dir_entered = NULL |
static RunInfo * | run_info |
static const gchar | RUN_SCRIPT_CMD [] = "geany_run_script_XXXXXX.sh" |
static gpointer | last_toolbutton_action = (GUINT_TO_POINTER(((( (( GEANY_GBO_BUILD ) > GEANY_GBO_EXEC ? GEANY_GBG_COUNT : (( GEANY_GBO_BUILD ) >= GEANY_GBO_EXEC ? GEANY_GBG_EXEC : (( GEANY_GBO_BUILD ) >= GEANY_GBO_MAKE_ALL ? GEANY_GBG_NON_FT : GEANY_GBG_FT))) )&7) << 5) | (( (( GEANY_GBO_BUILD ) >= GEANY_GBO_COUNT ? ( GEANY_GBO_BUILD ) - GEANY_GBO_COUNT : (( GEANY_GBO_BUILD ) >= GEANY_GBO_EXEC ? ( GEANY_GBO_BUILD ) - GEANY_GBO_EXEC : (( GEANY_GBO_BUILD ) >= GEANY_GBO_MAKE_ALL ? ( GEANY_GBO_BUILD ) - GEANY_GBO_MAKE_ALL : ( GEANY_GBO_BUILD )))) )&0x1f))) |
static BuildMenuItems | menu_items = {NULL, {NULL, NULL, NULL, NULL}} |
struct { | |
GtkAction * run_action | |
GtkAction * compile_action | |
GtkAction * build_action | |
GtkWidget * toolmenu | |
GtkWidget * toolitem_build | |
GtkWidget * toolitem_make_all | |
GtkWidget * toolitem_make_custom | |
GtkWidget * toolitem_make_object | |
GtkWidget * toolitem_set_args | |
} | widgets |
static guint | build_groups_count [GEANY_GBG_COUNT] = { 3, 4, 2 } |
static guint | build_items_count = 9 |
static const gchar * | config_keys [GEANY_BC_CMDENTRIES_COUNT] |
static GeanyBuildCommand * | ft_def = NULL |
static GeanyBuildCommand * | non_ft_proj = NULL |
static GeanyBuildCommand * | non_ft_pref = NULL |
static GeanyBuildCommand * | non_ft_def = NULL |
static GeanyBuildCommand * | exec_proj = NULL |
static GeanyBuildCommand * | exec_pref = NULL |
static GeanyBuildCommand * | exec_def = NULL |
static gchar * | regex_pref = NULL |
static gchar * | regex_proj = NULL |
static gboolean | printbuildcmds = FALSE |
static struct BuildMenuItemSpec | build_menu_specs [] |
static GdkRGBA | insensitive_color |
static const gchar * | colheads [] |
static const guint | entry_x_padding = 3 |
static const guint | entry_y_padding = 0 |
static const gchar * | build_grp_name = "build-menu" |
static const gchar * | groups [GEANY_GBG_COUNT] = { "FT", "NF", "EX" } |
static const gchar * | fixedkey ="xx_xx_xx" |
struct { | |
const gchar * label | |
const gchar * command | |
const gchar * working_dir | |
GeanyBuildCommand ** ptr | |
gint index | |
} | default_cmds [] |
#define GBO_TO_CMD | ( | gbo | ) |
#define GBO_TO_GBG | ( | gbo | ) |
#define GBO_TO_POINTER | ( | gbo | ) | (GRP_CMD_TO_POINTER(GBO_TO_GBG(gbo), GBO_TO_CMD(gbo))) |
#define GPOINTER_TO_CMD | ( | gptr | ) | (GPOINTER_TO_UINT(gptr)&0x1f) |
#define GPOINTER_TO_GRP | ( | gptr | ) | ((GPOINTER_TO_UINT(gptr)&0xe0) >> 5) |
#define GRP_CMD_TO_POINTER | ( | grp, | |
cmd | |||
) | GUINT_TO_POINTER((((grp)&7) << 5) | ((cmd)&0x1f)) |
#define MENU_COMMANDS (MENU_PREV_ERROR + 1) |
#define MENU_DONE (MENU_COMMANDS + 1) |
#define MENU_EXEC_REST (GEANY_GBG_COUNT + GEANY_GBG_EXEC) |
#define MENU_FT_REST (GEANY_GBG_COUNT + GEANY_GBG_FT) |
#define MENU_NEXT_ERROR (MENU_SEPARATOR + 1) |
#define MENU_NON_FT_REST (GEANY_GBG_COUNT + GEANY_GBG_NON_FT) |
#define MENU_PREV_ERROR (MENU_NEXT_ERROR + 1) |
#define MENU_SEPARATOR (2*GEANY_GBG_COUNT) |
#define return_cmd_if | ( | src, | |
cmds | |||
) |
#define return_ft_cmd_if | ( | src, | |
cmds | |||
) |
#define set_key_cmd | ( | key, | |
cmd | |||
) | (key[prefixlen + 3] = cmd[0], key[prefixlen + 4] = cmd[1]) |
#define set_key_fld | ( | key, | |
fld | |||
) | (key[prefixlen + 6] = fld[0], key[prefixlen + 7] = fld[1]) |
#define set_key_grp | ( | key, | |
grp | |||
) | (key[prefixlen + 0] = grp[0], key[prefixlen + 1] = grp[1]) |
typedef struct BuildTableFields BuildTableFields |
typedef struct RowWidgets RowWidgets |
enum GeanyBuildType |
|
static |
Definition at line 188 of file build.c.
References group, GeanyKeyBinding::key, keybindings_get_item(), and GeanyKeyBinding::mods.
Referenced by create_build_menu_item().
|
static |
Definition at line 2339 of file build.c.
References command, EMPTY, GBO_TO_CMD, label, NULL, SETPTR, and working_dir.
Referenced by build_load_menu().
void build_activate_menu_item | ( | const GeanyBuildGroup | grp, |
const guint | cmd | ||
) |
Activate the menu item.
Activate the menu item specified by grp and cmd.
grp | the group of the specified menu item. |
cmd | the index of the command within the group. |
Definition at line 693 of file build.c.
References GRP_CMD_TO_POINTER, NULL, and on_build_menu_item().
|
static |
Definition at line 1850 of file build.c.
References _, clear(), RowWidgets::cmd, RowWidgets::cmdsrc, RowWidgets::dst, RowWidgets::entries, entry_x_padding, entry_y_padding, GeanyDocument::file_type, GEANY_BC_CMDENTRIES_COUNT, GEANY_BC_COMMAND, GEANY_BC_LABEL, GEANY_BCS_COUNT, GEANY_GBG_FT, get_build_cmd(), RowWidgets::grp, id_to_str(), insensitive_color, GeanyDocument::is_valid, label, NULL, on_clear_dialog_row(), on_entry_focus(), on_label_button_clicked(), set_build_command_entry_text(), set_row_color(), RowWidgets::src, text, and RowWidgets::used_dst.
Referenced by build_commands_table().
|
static |
Definition at line 1200 of file build.c.
References build_info, build_menu_update(), build_replace_placeholder(), build_spawn_cmd(), get_build_cmd(), NULL, and ui_progress_bar_start().
Referenced by on_build_menu_item(), and on_make_custom_input_response().
GtkWidget * build_commands_table | ( | GeanyDocument * | doc, |
GeanyBuildSource | dst, | ||
BuildTableData * | table_data, | ||
GeanyFiletype * | ft | ||
) |
Definition at line 1946 of file build.c.
References _, build_add_dialog_row(), build_get_regex(), build_groups_count, build_items_count, clear(), colheads, DC_CLEAR, DC_ENTRIES, DC_N_COL, entry_x_padding, entry_y_padding, BuildTableFields::fileregex, BuildTableFields::fileregexstring, GEANY_FILETYPES_NONE, GEANY_GBG_EXEC, GEANY_GBG_FT, GEANY_GBG_NON_FT, GeanyFiletype::id, label, GeanyFiletype::name, BuildTableFields::nonfileregex, BuildTableFields::nonfileregexstring, NULL, on_clear_dialog_regex_row(), BuildTableFields::rows, ui_label_new_bold(), and ui_label_set_markup().
Referenced by insert_build_page(), and show_build_commands_dialog().
|
static |
Definition at line 1149 of file build.c.
References close, errno, error(), NULL, RUN_SCRIPT_CMD, and working_dir.
Referenced by prepare_run_cmd().
|
static |
< non-zero if the child exited normally
< exit status of a child if exited normally
Definition at line 1121 of file build.c.
References build_info, build_menu_update(), NULL, show_build_result_message(), SPAWN_WEXITSTATUS, SPAWN_WIFEXITED, ui_progress_bar_stop(), and utils_beep().
Referenced by build_spawn_cmd().
void build_finalize | ( | void | ) |
Definition at line 177 of file build.c.
References build_info, menu_items, and NULL.
Referenced by do_main_quit().
void build_free_fields | ( | BuildTableData | table_data | ) |
Definition at line 2076 of file build.c.
References build_items_count.
Referenced by show_build_commands_dialog(), and show_project_properties().
const gchar * build_get_current_menu_item | ( | const GeanyBuildGroup | grp, |
const guint | cmd, | ||
const GeanyBuildCmdEntries | fld | ||
) |
Get the string for the menu item field.
Get the current highest priority command specified by grp and cmd. This is the one that the menu item will use if activated.
grp | the group of the specified menu item. |
cmd | the index of the command within the group. |
fld | the field to return |
NULL
if it doesn't exist. This is a pointer to an internal structure and must not be freed. Definition at line 607 of file build.c.
References build_groups_count, GEANY_BC_CMDENTRIES_COUNT, GEANY_BC_COMMAND, GEANY_BC_LABEL, GEANY_BC_WORKING_DIR, GEANY_GBG_COUNT, get_build_cmd(), and NULL.
guint build_get_group_count | ( | const GeanyBuildGroup | grp | ) |
Get the count of commands for the group.
Get the number of commands in the group specified by grp.
grp | the group of the specified menu item. |
Definition at line 2660 of file build.c.
References build_groups_count, and GEANY_GBG_COUNT.
GeanyBuildCommand * build_get_menu_item | ( | GeanyBuildSource | src, |
GeanyBuildGroup | grp, | ||
guint | cmd | ||
) |
Definition at line 578 of file build.c.
References build_groups_count, GEANY_BCS_COUNT, GEANY_GBG_COUNT, get_build_group(), and NULL.
BuildMenuItems * build_get_menu_items | ( | gint | filetype_idx | ) |
Definition at line 2265 of file build.c.
References create_build_menu(), menu_items, and NULL.
Referenced by build_keybinding(), and process_build_output_line().
gchar ** build_get_regex | ( | GeanyBuildGroup | grp, |
GeanyFiletype * | ft, | ||
guint * | from | ||
) |
Definition at line 438 of file build.c.
References document_get_current(), GeanyFiletype::error_regex_string, GeanyDocument::file_type, GEANY_BCS_FT, GEANY_BCS_HOME_FT, GEANY_BCS_PREF, GEANY_BCS_PROJ, GEANY_GBG_FT, GEANY_GBG_NON_FT, GeanyFiletypePrivate::homeerror_regex_string, NULL, GeanyFiletype::priv, GeanyFiletypePrivate::projerror_regex_string, regex_pref, regex_proj, and return_nonblank_regex.
Referenced by build_commands_table(), and filetypes_parse_error_message().
void build_init | ( | void | ) |
Definition at line 2690 of file build.c.
References _, build_groups_count, command, default_cmds, exec_def, ft_def, GBO_TO_POINTER, GEANY_GBG_EXEC, GEANY_GBG_FT, GEANY_GBG_NON_FT, GEANY_GBO_BUILD, GEANY_GBO_CUSTOM, GEANY_GBO_MAKE_ALL, GEANY_GBO_MAKE_OBJECT, GEANY_MENU_BUTTON_ACTION, geany_menu_button_action_set_menu(), geany_object, GEANY_STOCK_BUILD, gtk_container_add(), label, non_ft_def, NULL, on_project_close(), on_set_build_commands_activate(), on_toolbutton_build_activate(), on_toolbutton_make_activate(), run_info, toolbar_get_action_by_name(), toolmenu, ui_image_menu_item_new(), widgets, and working_dir.
Referenced by main_lib().
|
static |
Definition at line 1041 of file build.c.
References COLOR_BLACK, COLOR_DARK_RED, and process_build_output_line().
Referenced by build_spawn_cmd().
gboolean build_keybinding | ( | guint | key_id | ) |
Definition at line 2773 of file build.c.
References build_get_menu_items(), document_get_current(), GeanyDocument::file_type, GBO_TO_CMD, GEANY_GBG_EXEC, GEANY_GBG_FT, GEANY_GBG_NON_FT, GEANY_GBO_BUILD, GEANY_GBO_COMPILE, GEANY_GBO_CUSTOM, GEANY_GBO_EXEC, GEANY_GBO_MAKE_ALL, GEANY_GBO_MAKE_OBJECT, GEANY_KEYS_BUILD_COMPILE, GEANY_KEYS_BUILD_LINK, GEANY_KEYS_BUILD_MAKE, GEANY_KEYS_BUILD_MAKEOBJECT, GEANY_KEYS_BUILD_MAKEOWNTARGET, GEANY_KEYS_BUILD_NEXTERROR, GEANY_KEYS_BUILD_OPTIONS, GEANY_KEYS_BUILD_PREVIOUSERROR, GEANY_KEYS_BUILD_RUN, GeanyFiletype::id, main_widgets, menu_items, NULL, ui_lookup_widget(), and GeanyMainWidgets::window.
Referenced by init_default_kb().
void build_load_menu | ( | GKeyFile * | config, |
GeanyBuildSource | src, | ||
gpointer | p | ||
) |
Definition at line 2356 of file build.c.
References _, assign_cmd(), GeanyProjectPrivate::build_filetypes_list, build_groups_count, build_grp_name, build_load_menu_grp(), command, EMPTY, GeanyFiletype::error_regex_string, exec_pref, exec_proj, GeanyFiletypePrivate::execcmds, GeanyFiletypePrivate::filecmds, filetypes_lookup_by_name(), GeanyFiletypePrivate::ftdefcmds, GBO_TO_CMD, GEANY_BCS_FT, GEANY_BCS_HOME_FT, GEANY_BCS_PREF, GEANY_BCS_PROJ, GEANY_GBG_EXEC, GEANY_GBG_FT, GEANY_GBG_NON_FT, GEANY_GBO_BUILD, GEANY_GBO_COMPILE, GEANY_GBO_CUSTOM, GEANY_GBO_EXEC, GEANY_GBO_MAKE_ALL, GEANY_GBO_MAKE_OBJECT, GeanyFiletypePrivate::homeerror_regex_string, GeanyFiletypePrivate::homeexeccmds, GeanyFiletypePrivate::homefilecmds, label, non_ft_pref, non_ft_proj, NULL, GeanyFiletype::priv, GeanyProject::priv, project_get_base_path(), GeanyFiletypePrivate::projerror_regex_string, GeanyFiletypePrivate::projexeccmds, GeanyFiletypePrivate::projfilecmds, regex_pref, regex_proj, SETPTR, and working_dir.
Referenced by load_config(), load_dialog_prefs(), and load_settings().
|
static |
Definition at line 2294 of file build.c.
References build_groups_count, build_grp_name, command, fixedkey, groups, label, NULL, set_key_cmd, set_key_fld, set_key_grp, SETPTR, and working_dir.
Referenced by build_load_menu().
void build_menu_update | ( | GeanyDocument * | doc | ) |
Definition at line 1457 of file build.c.
References BuildMenuItemSpec::build_cmd, build_groups_count, BuildMenuItemSpec::build_grp, build_info, build_menu_specs, create_build_menu(), document_get_current(), EMPTY, GeanyDocument::file_name, GBO_TO_CMD, GEANY_GBG_COUNT, GEANY_GBG_EXEC, GEANY_GBG_FT, GEANY_GBG_NON_FT, GEANY_GBO_BUILD, GEANY_GBO_COMPILE, GEANY_GBO_CUSTOM, GEANY_GBO_EXEC, GEANY_GBO_MAKE_ALL, GEANY_GBO_MAKE_OBJECT, get_build_cmd(), gtk_widget_show_all(), GeanyDocument::is_valid, label, MENU_COMMANDS, MENU_DONE, menu_items, MENU_NEXT_ERROR, MENU_PREV_ERROR, MENU_SEPARATOR, msgwindow, NULL, RunInfo::pid, run_info, set_stop_button(), BuildMenuItemSpec::stock_id, and widgets.
Referenced by build_command(), build_exit_cb(), build_run_cmd(), build_set_menu_item(), document_load_config(), document_new_file(), handle_save_as(), kill_process(), main_lib(), msgwin_clear_tab(), on_notebook1_switch_page_after(), remove_page(), run_exit_cb(), show_build_commands_dialog(), update_config(), and update_ui().
gboolean build_parse_make_dir | ( | const gchar * | string, |
gchar ** | prefix | ||
) |
Definition at line 1051 of file build.c.
References NULL, pos, and strstr().
Referenced by find_prev_build_dir(), and process_build_output_line().
|
static |
Definition at line 2176 of file build.c.
References build_groups_count, GEANY_GBG_EXEC, GEANY_GBG_FT, GEANY_GBG_NON_FT, read_regex(), and read_row().
Referenced by build_read_project(), and show_build_commands_dialog().
void build_read_project | ( | GeanyFiletype * | ft, |
BuildTableData | build_properties | ||
) |
Definition at line 2196 of file build.c.
References build_read_commands(), exec_proj, GEANY_GBG_EXEC, GEANY_GBG_FT, GEANY_GBG_NON_FT, non_ft_proj, NULL, GeanyFiletype::priv, GeanyFiletypePrivate::projerror_regex_string, GeanyFiletypePrivate::projfilecmds, and regex_proj.
Referenced by update_config().
void build_remove_menu_item | ( | const GeanyBuildSource | src, |
const GeanyBuildGroup | grp, | ||
const gint | cmd | ||
) |
Remove the specified Build menu item.
Makes the specified menu item configuration no longer exist. This is different to setting fields to blank because the menu item will be deleted from the configuration file on saving (except the system filetypes settings
src | the source of the menu item to remove. |
grp | the group of the command to remove. |
cmd | the index (from 0) of the command within the group. A negative value will remove the whole group. |
If any parameter is out of range does nothing.
Updates the menu.
Definition at line 546 of file build.c.
References build_groups_count, get_build_group(), and NULL.
Referenced by destroy_project().
|
static |
Definition at line 713 of file build.c.
References _, app, GeanyDocument::editor, GeanyDocument::file_name, GeanyDocument::is_valid, NULL, GeanyApp::project, project_get_base_path(), GeanyEditor::sci, sci_get_current_line(), strstr(), ui_set_statusbar(), utils_remove_ext_from_filename(), and utils_string_replace_all().
Referenced by build_command(), and prepare_run_cmd().
|
static |
Definition at line 902 of file build.c.
References _, build_menu_update(), DOC_VALID, error(), GeanyDocument::file_name, GeanyDocument::file_type, RunInfo::file_type_id, geany_debug(), GeanyFiletype::id, MSG_VTE, msgwin_show_hide(), msgwindow, NULL, RunInfo::pid, prepare_run_cmd(), run_exit_cb(), run_info, SETPTR, spawn_async(), GeanyToolPrefs::term_cmd, tool_prefs, ui_set_statusbar(), utils_get_locale_from_utf8(), utils_get_utf8_from_locale(), utils_str_replace_all(), and working_dir.
Referenced by on_build_menu_item().
void build_save_menu | ( | GKeyFile * | config, |
gpointer | ptr, | ||
GeanyBuildSource | src | ||
) |
Definition at line 2576 of file build.c.
References GeanyProjectPrivate::build_filetypes_list, build_grp_name, build_save_menu_grp(), EMPTY, exec_pref, exec_proj, ft_names, GEANY_BCS_HOME_FT, GEANY_BCS_PREF, GEANY_BCS_PROJ, GEANY_GBG_EXEC, GEANY_GBG_FT, GEANY_GBG_NON_FT, GeanyFiletypePrivate::homeerror_regex_string, GeanyFiletypePrivate::homeexeccmds, GeanyFiletypePrivate::homefilecmds, GeanyFiletype::name, non_ft_pref, non_ft_proj, NULL, GeanyFiletype::priv, GeanyProject::priv, ptr, regex_pref, regex_proj, and save_project_filetype().
Referenced by filetypes_save_commands(), save_dialog_prefs(), and write_config().
|
static |
Definition at line 2511 of file build.c.
References build_groups_count, build_grp_name, config_keys, count, fixedkey, GEANY_BC_CMDENTRIES_COUNT, groups, id_to_str(), NULL, set_key_cmd, set_key_fld, and set_key_grp.
Referenced by build_save_menu(), and save_project_filetype().
void build_set_group_count | ( | GeanyBuildGroup | grp, |
gint | count | ||
) |
Definition at line 2636 of file build.c.
References build_groups_count, build_items_count, count, and GEANY_GBG_COUNT.
Referenced by load_dialog_prefs().
void build_set_menu_item | ( | const GeanyBuildSource | src, |
const GeanyBuildGroup | grp, | ||
const guint | cmd, | ||
const GeanyBuildCmdEntries | fld, | ||
const gchar * | val | ||
) |
Set the string for the menu item field.
Set the specified field of the command specified by src, grp and cmd.
src | the source of the menu item |
grp | the group of the specified menu item. |
cmd | the index of the menu item within the group. |
fld | the field in the menu item command to set |
val | the value to set the field to, is copied |
Definition at line 648 of file build.c.
References build_groups_count, build_menu_update(), command, GEANY_BC_CMDENTRIES_COUNT, GEANY_BC_COMMAND, GEANY_BC_LABEL, GEANY_BC_WORKING_DIR, GEANY_BCS_COUNT, GEANY_GBG_COUNT, get_build_group_pointer(), label, NULL, SETPTR, and working_dir.
|
static |
Definition at line 771 of file build.c.
References _, build_exit_cb(), build_info, build_iofunc(), clear_all_errors(), COLOR_BLUE, current_dir_entered, EMPTY, error(), GeanyDocument::file_name, GeanyDocument::file_type, geany_debug(), GEANY_FILETYPES_NONE, GeanyFiletype::id, if(), GeanyDocument::is_valid, MSG_COMPILER, msgwin_compiler_add(), msgwindow, NULL, SETPTR, spawn_with_callbacks(), ui_set_statusbar(), utils_get_locale_from_utf8(), and working_dir.
Referenced by build_command().
void build_toolbutton_build_clicked | ( | GtkAction * | action, |
gpointer | unused | ||
) |
Definition at line 1705 of file build.c.
References GBO_TO_POINTER, GEANY_GBO_BUILD, last_toolbutton_action, NULL, and on_build_menu_item().
Referenced by toolbar_init().
|
static |
Definition at line 700 of file build.c.
References documents, editor_indicator_clear_errors(), and foreach_document.
Referenced by build_spawn_cmd().
|
static |
Definition at line 1392 of file build.c.
References _, BuildMenuItemSpec::build_cmd, build_groups_count, BuildMenuItemSpec::build_grp, build_menu_specs, create_build_menu_item(), BuildMenuItemSpec::fix_label, GEANY_GBG_COUNT, GEANY_GBG_EXEC, GEANY_GBG_FT, GEANY_GBG_NON_FT, GEANY_KEY_GROUP_BUILD, get_build_cmd(), gtk_container_add(), keybindings_get_core_group(), main_widgets, MENU_DONE, MENU_FT_REST, MENU_SEPARATOR, NULL, ui_lookup_widget(), and GeanyMainWidgets::window.
Referenced by build_get_menu_items(), and build_menu_update().
|
static |
Definition at line 1370 of file build.c.
References add_menu_accel(), BuildMenuItemSpec::cb, group, GRP_CMD_TO_POINTER, gtk_container_add(), BuildMenuItemSpec::key_binding, menu_items, NULL, and BuildMenuItemSpec::stock_id.
Referenced by create_build_menu().
|
static |
Definition at line 426 of file build.c.
References GEANY_BCS_COUNT, and get_next_build_cmd().
Referenced by build_add_dialog_row(), build_command(), build_get_current_menu_item(), build_menu_update(), create_build_menu(), on_build_menu_item(), and prepare_run_cmd().
|
static |
Definition at line 2102 of file build.c.
Referenced by read_row().
|
static |
Definition at line 519 of file build.c.
References get_build_group_pointer(), and NULL.
Referenced by build_get_menu_item(), and build_remove_menu_item().
|
static |
Definition at line 467 of file build.c.
References document_get_current(), exec_def, exec_pref, exec_proj, GeanyFiletypePrivate::execcmds, GeanyDocument::file_type, GeanyFiletypePrivate::filecmds, GeanyFiletypePrivate::ftdefcmds, GEANY_BCS_DEF, GEANY_BCS_FT, GEANY_BCS_HOME_FT, GEANY_BCS_PREF, GEANY_BCS_PROJ, GEANY_BCS_PROJ_FT, GEANY_GBG_EXEC, GEANY_GBG_FT, GEANY_GBG_NON_FT, GeanyFiletypePrivate::homeexeccmds, GeanyFiletypePrivate::homefilecmds, non_ft_def, non_ft_pref, non_ft_proj, NULL, GeanyFiletype::priv, GeanyFiletypePrivate::projexeccmds, and GeanyFiletypePrivate::projfilecmds.
Referenced by build_set_menu_item(), and get_build_group().
|
static |
Definition at line 373 of file build.c.
References document_get_current(), exec_def, exec_pref, exec_proj, GeanyDocument::file_type, ft_def, GEANY_BCS_DEF, GEANY_BCS_FT, GEANY_BCS_PREF, GEANY_BCS_PROJ, GEANY_BCS_PROJ_FT, GEANY_GBG_COUNT, GEANY_GBG_EXEC, GEANY_GBG_FT, GEANY_GBG_NON_FT, GeanyDocument::is_valid, non_ft_def, non_ft_pref, non_ft_proj, NULL, printbuildcmds, printfcmds(), return_cmd_if, and return_ft_cmd_if.
Referenced by get_build_cmd(), and on_clear_dialog_row().
|
static |
Definition at line 200 of file build.c.
References GEANY_BC_COMMAND, GEANY_BC_LABEL, GEANY_BC_WORKING_DIR, and NULL.
Referenced by build_add_dialog_row(), build_save_menu_grp(), and on_clear_dialog_row().
|
static |
Definition at line 1664 of file build.c.
References _, build_menu_update(), error(), NULL, spawn_kill_process(), and ui_set_statusbar().
Referenced by on_build_menu_item().
|
static |
Definition at line 1252 of file build.c.
References _, build_command(), build_info, build_run_cmd(), GeanyDocument::changed, dialog, dialogs_show_input_persistent(), document_get_current(), document_save_file(), GeanyDocument::file_name, GBO_TO_CMD, GEANY_GBG_EXEC, GEANY_GBG_NON_FT, GEANY_GBO_CUSTOM, geany_object, get_build_cmd(), GPOINTER_TO_CMD, GPOINTER_TO_GRP, kill_process(), main_widgets, NULL, on_make_custom_input_response(), run_info, utils_get_uri_file_prefix(), utils_open_browser(), and GeanyMainWidgets::window.
Referenced by build_activate_menu_item(), build_toolbutton_build_clicked(), on_toolbutton_build_activate(), and on_toolbutton_make_activate().
|
static |
Definition at line 1681 of file build.c.
References _, MSG_COMPILER, msgwin_goto_compiler_file_line(), msgwindow, ui_set_statusbar(), and ui_tree_view_find_next().
|
static |
Definition at line 1693 of file build.c.
References _, MSG_COMPILER, msgwin_goto_compiler_file_line(), msgwindow, ui_set_statusbar(), and ui_tree_view_find_previous().
|
static |
Definition at line 1792 of file build.c.
Referenced by build_commands_table().
|
static |
Definition at line 1761 of file build.c.
References RowWidgets::cleared, RowWidgets::cmd, RowWidgets::cmdsrc, RowWidgets::dst, RowWidgets::entries, GEANY_BC_CMDENTRIES_COUNT, get_next_build_cmd(), RowWidgets::grp, id_to_str(), insensitive_color, NULL, set_build_command_entry_text(), set_row_color(), RowWidgets::src, and RowWidgets::used_dst.
Referenced by build_add_dialog_row().
|
static |
Definition at line 1820 of file build.c.
References NULL, set_row_color(), and RowWidgets::used_dst.
Referenced by build_add_dialog_row().
|
static |
Definition at line 1798 of file build.c.
References _, dialogs_show_input(), NULL, set_row_color(), and RowWidgets::used_dst.
Referenced by build_add_dialog_row().
|
static |
Definition at line 1242 of file build.c.
References build_command(), build_info, document_get_current(), GBO_TO_CMD, GBO_TO_GBG, GEANY_GBO_CUSTOM, and SETPTR.
Referenced by on_build_menu_item().
|
static |
Definition at line 2667 of file build.c.
References NULL, regex_proj, and SETPTR.
Referenced by build_init().
|
static |
Definition at line 1628 of file build.c.
References app, GeanyApp::project, project_build_properties(), and show_build_commands_dialog().
Referenced by build_init().
|
static |
Definition at line 1638 of file build.c.
References _, last_toolbutton_action, NULL, on_build_menu_item(), and widgets.
Referenced by build_init().
|
static |
Definition at line 1646 of file build.c.
References _, GBO_TO_POINTER, GEANY_GBO_CUSTOM, GEANY_GBO_MAKE_ALL, GEANY_GBO_MAKE_OBJECT, last_toolbutton_action, NULL, on_build_menu_item(), and widgets.
Referenced by build_init().
|
static |
Definition at line 835 of file build.c.
References _, build_create_shellscript(), build_replace_placeholder(), EMPTY, error(), GEANY_GBG_EXEC, get_build_cmd(), NULL, SETPTR, ui_set_statusbar(), utils_free_pointers(), utils_get_locale_from_utf8(), utils_resource_dir(), and working_dir.
Referenced by build_run_cmd().
|
static |
Definition at line 268 of file build.c.
References build_groups_count, document_get_current(), entries, exec_def, exec_pref, exec_proj, GeanyFiletypePrivate::execcmds, GeanyDocument::file_type, GeanyFiletypePrivate::filecmds, ft_def, GeanyFiletypePrivate::ftdefcmds, GEANY_BC_CMDENTRIES_COUNT, GEANY_BCS_COUNT, GEANY_BCS_FT, GEANY_BCS_HOME_FT, GEANY_BCS_PROJ, GEANY_BCS_PROJ_FT, GEANY_GBG_COUNT, GEANY_GBG_EXEC, GEANY_GBG_FT, GEANY_GBG_NON_FT, GeanyFiletypePrivate::homeexeccmds, GeanyFiletypePrivate::homefilecmds, GeanyFiletype::name, non_ft_def, non_ft_pref, non_ft_proj, NULL, GeanyFiletype::priv, GeanyFiletypePrivate::projexeccmds, and GeanyFiletypePrivate::projfilecmds.
Referenced by get_next_build_cmd().
|
static |
Definition at line 997 of file build.c.
References build_get_menu_items(), build_info, build_parse_make_dir(), color, COLOR_RED, current_dir_entered, document_find_by_filename(), GeanyDocument::editor, editor_indicator_set_on_line(), editor_prefs, EMPTY, filename, GEANY_BUILD_ERR_HIGHLIGHT_MAX, GEANY_INDICATOR_ERROR, line, msgwin_compiler_add_string(), msgwin_parse_compiler_error_line(), NULL, SETPTR, and GeanyEditorPrefs::use_indicators.
Referenced by build_iofunc().
|
static |
|
static |
Definition at line 2111 of file build.c.
References build_groups_count, entries, GEANY_BC_CMDENTRIES_COUNT, get_build_command_entry_text(), NULL, and set_command().
Referenced by build_read_commands().
|
static |
Definition at line 1133 of file build.c.
References build_menu_update(), NULL, and RunInfo::pid.
Referenced by build_run_cmd().
|
static |
Definition at line 2557 of file build.c.
References build_grp_name, build_save_menu_grp(), EMPTY, GEANY_GBG_EXEC, GEANY_GBG_FT, GeanyFiletype::name, NULL, GeanyFiletype::priv, GeanyFiletypePrivate::projerror_regex_string, GeanyFiletypePrivate::projexeccmds, and GeanyFiletypePrivate::projfilecmds.
Referenced by build_save_menu().
|
static |
Definition at line 1752 of file build.c.
References text.
Referenced by build_add_dialog_row(), and on_clear_dialog_row().
|
static |
Definition at line 216 of file build.c.
References GEANY_BC_COMMAND, GEANY_BC_LABEL, GEANY_BC_WORKING_DIR, and SETPTR.
Referenced by read_row().
|
static |
Definition at line 1738 of file build.c.
References color, RowWidgets::entries, GEANY_BC_CMDENTRIES_COUNT, and GEANY_BC_LABEL.
Referenced by build_add_dialog_row(), on_clear_dialog_row(), on_entry_focus(), and on_label_button_clicked().
|
static |
Definition at line 1600 of file build.c.
References NULL, toolbar_get_widget_by_name(), and utils_str_equal().
Referenced by build_menu_update().
|
static |
Definition at line 2218 of file build.c.
References _, build_commands_table(), build_free_fields(), build_menu_update(), build_read_commands(), dialog, document_get_current(), GeanyDocument::file_type, filetypes_save_commands(), GEANY_BCS_PREF, GEANY_GBG_EXEC, GEANY_GBG_FT, GEANY_GBG_NON_FT, gtk_widget_show_all(), GeanyFiletypePrivate::homeerror_regex_string, GeanyFiletypePrivate::homeexeccmds, GeanyFiletypePrivate::homefilecmds, main_widgets, non_ft_pref, NULL, GeanyFiletype::priv, regex_pref, ui_dialog_vbox_new(), and GeanyMainWidgets::window.
Referenced by on_set_build_commands_activate().
|
static |
Definition at line 1092 of file build.c.
References _, COLOR_BLUE, MSG_COMPILER, msgwin_compiler_add_string(), msgwin_show_hide(), msgwindow, ui_prefs, and ui_set_statusbar().
Referenced by build_exit_cb().
|
static |
Definition at line 157 of file build.c.
Referenced by build_commands_table(), build_get_current_menu_item(), build_get_group_count(), build_get_menu_item(), build_init(), build_load_menu(), build_load_menu_grp(), build_menu_update(), build_read_commands(), build_remove_menu_item(), build_save_menu_grp(), build_set_group_count(), build_set_menu_item(), create_build_menu(), printfcmds(), and read_row().
|
static |
Definition at line 2281 of file build.c.
Referenced by build_load_menu(), build_load_menu_grp(), build_save_menu(), build_save_menu_grp(), and save_project_filetype().
GeanyBuildInfo build_info = {GEANY_GBG_FT, 0, 0, NULL, GEANY_FILETYPES_NONE, NULL, 0} |
Definition at line 67 of file build.c.
Referenced by build_command(), build_exit_cb(), build_finalize(), build_menu_update(), build_spawn_cmd(), filetypes_parse_error_message(), msgwin_parse_compiler_error_line(), on_build_menu_item(), on_make_custom_input_response(), parse_compiler_error_line(), and process_build_output_line().
|
static |
Definition at line 158 of file build.c.
Referenced by build_commands_table(), build_free_fields(), and build_set_group_count().
|
static |
Referenced by build_menu_update(), and create_build_menu().
|
static |
Definition at line 1830 of file build.c.
Referenced by build_commands_table().
const gchar* command |
Definition at line 2677 of file build.c.
Referenced by assign_cmd(), build_init(), build_load_menu(), build_load_menu_grp(), build_set_menu_item(), getLanguageForCommand(), on_context_action1_activate(), pre_process_file(), run_command(), sci_assign_cmdkey(), scintilla_class_init(), spawn_async_with_pipes(), symbols_generate_global_tags(), tools_execute_custom_command(), and utils_start_new_geany_instance().
|
static |
Definition at line 235 of file build.c.
Referenced by build_save_menu_grp().
|
static |
Definition at line 69 of file build.c.
Referenced by build_spawn_cmd(), and process_build_output_line().
struct { ... } default_cmds[] |
Referenced by build_init().
|
static |
Definition at line 1846 of file build.c.
Referenced by build_add_dialog_row(), and build_commands_table().
|
static |
Definition at line 1847 of file build.c.
Referenced by build_add_dialog_row(), and build_commands_table().
|
static |
Definition at line 254 of file build.c.
Referenced by build_init(), get_build_group_pointer(), get_next_build_cmd(), and printfcmds().
|
static |
Definition at line 253 of file build.c.
Referenced by build_load_menu(), build_save_menu(), get_build_group_pointer(), get_next_build_cmd(), and printfcmds().
|
static |
Definition at line 252 of file build.c.
Referenced by build_load_menu(), build_read_project(), build_save_menu(), get_build_group_pointer(), get_next_build_cmd(), and printfcmds().
|
static |
Definition at line 2288 of file build.c.
Referenced by build_load_menu_grp(), and build_save_menu_grp().
|
static |
Definition at line 248 of file build.c.
Referenced by build_init(), get_next_build_cmd(), and printfcmds().
|
static |
Definition at line 2287 of file build.c.
Referenced by build_load_menu_grp(), build_save_menu_grp(), copy_ft_groups(), encodings_init(), keybindings_get_core_group(), and ui_add_recent_document().
gint index |
Definition at line 2680 of file build.c.
Referenced by addKeyword(), anyEntryInScope(), attachParserFieldToCorkEntry(), Scintilla::CatalogueModules::Create(), doesFieldHaveTabOrNewlineChar(), Scintilla::ViewStyle::EnsureStyle(), Scintilla::CatalogueModules::Factory(), findName(), getInputFileCompoundPosForLine(), getParserFieldForIndex(), ListBoxX::GetSelection(), Scintilla::LexerModule::GetWordListDescription(), isTagExtraBitMarked(), lookupKeywordFull(), markAllEntriesInScopeAsPlaceholder(), markAsPlaceholder(), markTagExtraBitFull(), Scintilla::CatalogueModules::Name(), Scintilla::CharacterCategoryMap::Optimize(), printMultitableMessage(), renderField(), renderFieldCommon(), and renderFieldNoEscaping().
|
static |
Definition at line 1736 of file build.c.
Referenced by build_add_dialog_row(), and on_clear_dialog_row().
const gchar* label |
Definition at line 2676 of file build.c.
Referenced by add_file_item(), add_kb(), add_kb_group(), Scintilla::ScintillaGTK::AddToPopUp(), assign_cmd(), build_add_dialog_row(), build_commands_table(), build_init(), build_load_menu(), build_load_menu_grp(), build_menu_update(), build_set_menu_item(), cc_dialog_add_command(), cc_insert_custom_command_items(), cc_show_dialog_custom_commands(), configure_plugins(), create_default_tag_tree(), create_dialog(), create_fif_dialog(), create_find_dialog(), demo_configure(), dialogs_show_file_properties(), dialogs_show_input_full(), dialogs_show_input_numeric(), document_show_message(), encodings_init(), fill_shortcut_labels_treeview(), geany_entry_action_new(), geany_menu_button_action_new(), geany_pong_init(), getLineType(), insert_build_page(), insert_date_items(), insert_include_items(), kb_find_duplicate(), kb_grab_key_dialog_key_press_cb(), kb_init(), kb_tree_view_change_button_clicked_cb(), keybindings_set_group(), keybindings_set_item(), keybindings_set_item_full(), make_filterbar(), makeLabelTag(), on_indent_width_activate(), open_preferences_help(), plugin_configure(), pm_show_dialog(), prefs_show_dialog(), project_new(), show_goto_popup(), tb_editor_create_dialog(), tb_editor_set_item_values(), tools_create_insert_custom_command_menu_items(), tools_show_dialog_insert_special_chars(), tools_word_count(), ui_add_config_file_menu_item(), ui_frame_new_with_alignment(), ui_image_menu_item_new(), ui_label_new_bold(), ui_label_set_markup(), and ui_tool_button_new().
|
static |
Definition at line 138 of file build.c.
Referenced by build_toolbutton_build_clicked(), on_toolbutton_build_activate(), and on_toolbutton_make_activate().
Definition at line 140 of file build.c.
Referenced by build_finalize(), build_get_menu_items(), build_keybinding(), build_menu_update(), and create_build_menu_item().
|
static |
Definition at line 251 of file build.c.
Referenced by build_init(), get_build_group_pointer(), get_next_build_cmd(), and printfcmds().
|
static |
Definition at line 250 of file build.c.
Referenced by build_load_menu(), build_save_menu(), get_build_group_pointer(), get_next_build_cmd(), printfcmds(), and show_build_commands_dialog().
|
static |
Definition at line 249 of file build.c.
Referenced by build_load_menu(), build_read_project(), build_save_menu(), get_build_group_pointer(), get_next_build_cmd(), and printfcmds().
|
static |
Definition at line 264 of file build.c.
Referenced by get_next_build_cmd().
GeanyBuildCommand** ptr |
Definition at line 2679 of file build.c.
Referenced by Scintilla::CellBuffer::BasicInsertString(), build_save_menu(), Scintilla::Editor::BytesResult(), check_object(), check_partial_completion(), copy_ft_groups(), copy_keys(), count_indent_size(), Scintilla::ScintillaGTK::DirectFunction(), eFree(), eFreeIndirect(), eFreeNoNullCheck(), eRealloc(), findMatlabTags(), get_named_styles(), getWord(), hashPtrhash(), load_kb(), mio_memory_get_data(), mio_read(), mio_write(), Scintilla::Editor::PasteRectangular(), ptrArrayAdd(), ptrArrayDeleteItem(), ptrArrayHas(), ptrEq(), read_properties(), remove_session_files(), search_replace_match(), skipTypeDecl(), Scintilla::Editor::StringResult(), utils_free_pointers(), and Scintilla::Editor::WndProc().
|
static |
Definition at line 256 of file build.c.
Referenced by build_get_regex(), build_load_menu(), build_save_menu(), and show_build_commands_dialog().
|
static |
Definition at line 258 of file build.c.
Referenced by build_get_regex(), build_load_menu(), build_read_project(), build_save_menu(), and on_project_close().
|
static |
Definition at line 77 of file build.c.
Referenced by build_init(), build_menu_update(), build_run_cmd(), and on_build_menu_item().
|
static |
Definition at line 80 of file build.c.
Referenced by build_create_shellscript().
GtkWidget* toolmenu |
Definition at line 147 of file build.c.
Referenced by build_init().
struct { ... } widgets |
const gchar* working_dir |
Definition at line 2678 of file build.c.
Referenced by assign_cmd(), build_create_shellscript(), build_init(), build_load_menu(), build_load_menu_grp(), build_run_cmd(), build_set_menu_item(), build_spawn_cmd(), and prepare_run_cmd().