Index: trunk/scconfig/Rev.h =================================================================== --- trunk/scconfig/Rev.h (revision 17435) +++ trunk/scconfig/Rev.h (revision 17436) @@ -1 +1 @@ -static const int myrev = 17426; +static const int myrev = 17436; Index: trunk/scconfig/Rev.tab =================================================================== --- trunk/scconfig/Rev.tab (revision 17435) +++ trunk/scconfig/Rev.tab (revision 17436) @@ -1,3 +1,4 @@ +17436 configure renamed hid_actions.[ch] 17426 configure introduce new 3rd party lib dep: fungw 17304 configure new plugin: expfeat for experimental features 17216 configure rendering optimizations: gl inlining Index: trunk/src/hid_actions.c =================================================================== --- trunk/src/hid_actions.c (revision 17435) +++ trunk/src/hid_actions.c (nonexistent) @@ -1,466 +0,0 @@ -/* - * COPYRIGHT - * - * pcb-rnd, interactive printed circuit board design - * (this file is based on PCB, interactive printed circuit board design) - * Copyright (C) 1994,1995,1996 Thomas Nau - * Copyright (C) 2004 harry eaton - * Copyright (C) 2016..2018 Tibor 'Igor2' Palinkas - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - * - * Contact: - * Project page: http://repo.hu/projects/pcb-rnd - * lead developer: email to pcb-rnd (at) igor2.repo.hu - * mailing list: pcb-rnd (at) list.repo.hu (send "subscribe") - * - */ - -#include "config.h" -#include "conf_core.h" - -#include - -#include -#include - -#include "error.h" -#include "event.h" -#include "hid_actions.h" -#include "compat_misc.h" -#include "compat_nls.h" - -static htsp_t *all_actions = NULL; -const pcb_hid_action_t *pcb_current_action = NULL; - -static const char *check_action_name(const char *s) -{ - while (*s) - if (isspace((int) *s++) || *s == '(') - return (s - 1); - return NULL; -} - -typedef struct { - const char *cookie; - const pcb_hid_action_t *action; -} hid_cookie_action_t; - -void pcb_hid_register_actions(const pcb_hid_action_t *a, int n, const char *cookie, int copy) -{ - int i; - hid_cookie_action_t *ca; - - if (all_actions == NULL) - all_actions = htsp_alloc(strhash_case, strkeyeq_case); - - for (i = 0; i < n; i++) { - if (check_action_name(a[i].name)) { - pcb_message(PCB_MSG_ERROR, _("ERROR! Invalid action name, " "action \"%s\" not registered.\n"), a[i].name); - continue; - } - if (htsp_get(all_actions, a[i].name) != NULL) { - pcb_message(PCB_MSG_ERROR, _("ERROR! Invalid action name, " "action \"%s\" is already registered.\n"), a[i].name); - continue; - } - ca = malloc(sizeof(hid_cookie_action_t)); - ca->cookie = cookie; - ca->action = a+i; - htsp_set(all_actions, pcb_strdup(a[i].name), ca); - } -} - -void pcb_hid_register_action(const pcb_hid_action_t *a, const char *cookie, int copy) -{ - pcb_hid_register_actions(a, 1, cookie, copy); -} - -void pcb_hid_remove_actions(const pcb_hid_action_t *a, int n) -{ - int i; - - if (all_actions == NULL) - return; - - for (i = 0; i < n; i++) { - htsp_entry_t *e; - e = htsp_popentry(all_actions, a[i].name); - free(e->key); - free(e->value); - } -} - -void pcb_hid_remove_actions_by_cookie(const char *cookie) -{ - htsp_entry_t *e; - - if (all_actions == NULL) - return; - - /* Slow linear search - probably OK, this will run only on uninit */ - for (e = htsp_first(all_actions); e; e = htsp_next(all_actions, e)) { - hid_cookie_action_t *ca = e->value; - if (ca->cookie == cookie) { - htsp_pop(all_actions, e->key); - free(e->key); - free(e->value); - } - } -} - -void pcb_hid_remove_action(const pcb_hid_action_t *a) -{ - htsp_entry_t *e; - - if (all_actions == NULL) - return; - - e = htsp_popentry(all_actions, a->name); - if (e != NULL) { - free(e->key); - free(e->value); - } -} - -const pcb_hid_action_t *pcb_hid_find_action(const char *name) -{ - hid_cookie_action_t *ca; - - if ((name == NULL) && (all_actions == NULL)) - return 0; - - ca = htsp_get(all_actions, (char *) name); - - if (ca) - return ca->action; - - pcb_message(PCB_MSG_ERROR, "unknown action `%s'\n", name); - return 0; -} - -void pcb_print_actions() -{ - htsp_entry_t *e; - - fprintf(stderr, "Registered Actions:\n"); - for (e = htsp_first(all_actions); e; e = htsp_next(all_actions, e)) { - hid_cookie_action_t *ca = e->value; - if (ca->action->description) - fprintf(stderr, " %s - %s\n", ca->action->name, ca->action->description); - else - fprintf(stderr, " %s\n", ca->action->name); - if (ca->action->syntax) { - const char *bb, *eb; - bb = eb = ca->action->syntax; - while (1) { - for (eb = bb; *eb && *eb != '\n'; eb++); - fwrite(" ", 4, 1, stderr); - fwrite(bb, eb - bb, 1, stderr); - fputc('\n', stderr); - if (*eb == 0) - break; - bb = eb + 1; - } - } - } -} - -static void dump_string(char prefix, const char *str) -{ - int eol = 1; - while (*str) { - if (eol) { - putchar(prefix); - eol = 0; - } - putchar(*str); - if (*str == '\n') - eol = 1; - str++; - } - if (!eol) - putchar('\n'); -} - -void pcb_dump_actions(void) -{ - htsp_entry_t *e; - - fprintf(stderr, "Registered Actions:\n"); - for (e = htsp_first(all_actions); e; e = htsp_next(all_actions, e)) { - hid_cookie_action_t *ca = e->value; - const char *desc = ca->action->description; - const char *synt = ca->action->syntax; - - desc = desc ? desc : ""; - synt = synt ? synt : ""; - - printf("A%s\n", ca->action->name); - dump_string('D', desc); - dump_string('S', synt); - } -} - -int pcb_hid_action(const char *name) -{ - return pcb_hid_actionv(name, 0, 0); -} - -int pcb_hid_actionl(const char *name, ...) -{ - const char *argv[20]; - int argc = 0; - va_list ap; - char *arg; - - va_start(ap, name); - while ((arg = va_arg(ap, char *)) != 0) - argv[argc++] = arg; - va_end(ap); - return pcb_hid_actionv(name, argc, argv); -} - -int pcb_hid_actionv_(const pcb_hid_action_t *a, int argc, const char **argv) -{ - int i, ret; - const pcb_hid_action_t *old_action; - - if (conf_core.rc.verbose) { - printf("Action: \033[34m%s(", a->name); - for (i = 0; i < argc; i++) - printf("%s%s", i ? "," : "", argv[i]); - printf(")\033[0m\n"); - } - - old_action = pcb_current_action; - pcb_current_action = a; - ret = pcb_current_action->trigger_cb(argc, argv); - pcb_current_action = old_action; - - return ret; -} - -int pcb_hid_actionv(const char *name, int argc, const char **argv) -{ - const pcb_hid_action_t *a; - - if (name == NULL) - return 1; - - a = pcb_hid_find_action(name); - if (a == NULL) { - int i; - pcb_message(PCB_MSG_ERROR, "no action %s(", name); - for (i = 0; i < argc; i++) - pcb_message(PCB_MSG_ERROR, "%s%s", i ? ", " : "", argv[i]); - pcb_message(PCB_MSG_ERROR, ")\n"); - return 1; - } - return pcb_hid_actionv_(a, argc, argv); -} - -void pcb_hid_get_coords(const char *msg, pcb_coord_t *x, pcb_coord_t *y) -{ - if (pcb_gui == NULL) { - fprintf(stderr, "pcb_hid_get_coords: can not get coordinates (no gui) for '%s'\n", msg); - *x = 0; - *y = 0; - } - else - pcb_gui->get_coords(msg, x, y); -} - -static int hid_parse_actionstring(const char *rstr, char require_parens) -{ - const char **list = NULL; - int max = 0; - int num; - char *str = NULL; - const char *sp; - char *cp, *aname, *cp2; - int maybe_empty = 0; - char in_quotes = 0; - char parens = 0; - int retcode = 0; - - /*fprintf(stderr, "invoke: `%s'\n", rstr); */ - - sp = rstr; - str = (char *) malloc(strlen(rstr) + 1); - -another: - num = 0; - cp = str; - - /* eat leading spaces and tabs */ - while (*sp && isspace((int) *sp)) - sp++; - - if ((*sp == '\0') || (*sp == '#')) { - retcode = 0; - goto cleanup; - } - - aname = cp; - - /* copy the action name, assumes name does not have a space or '(' - * in its name */ - while (*sp && !isspace((int) *sp) && *sp != '(') - *cp++ = *sp++; - *cp++ = 0; - - /* skip whitespace */ - while (*sp && isspace((int) *sp)) - sp++; - - /* - * we only have an action name, so invoke the action - * with no parameters or event. - */ - if (*sp == '\0') { - retcode = pcb_hid_actionv(aname, 0, 0); - goto cleanup; - } - - /* are we using parenthesis? */ - if (*sp == '(') { - parens = 1; - sp++; - } - else if (require_parens) { - pcb_message(PCB_MSG_ERROR, _("Syntax error: %s\n"), rstr); - pcb_message(PCB_MSG_ERROR, _(" expected: Action(arg1, arg2)")); - retcode = 1; - goto cleanup; - } - - /* get the parameters to pass to the action */ - while (1) { - /* - * maybe_empty == 0 means that the last char examined was not a - * "," - */ - if (!maybe_empty && ((parens && *sp == ')') || (!parens && !*sp))) { - retcode = pcb_hid_actionv(aname, num, list); - if (retcode) - goto cleanup; - - /* strip any white space or ';' following the action */ - if (parens) - sp++; - while (*sp && (isspace((int) *sp) || *sp == ';')) - sp++; - goto another; - } - else if (*sp == 0 && !maybe_empty) - break; - else { - maybe_empty = 0; - in_quotes = 0; - /* - * if we have more parameters than memory in our array of - * pointers, then either allocate some or grow the array - */ - if (num >= max) { - max += 10; - if (list) - list = (const char **) realloc(list, max * sizeof(char *)); - else - list = (const char **) malloc(max * sizeof(char *)); - } - /* Strip leading whitespace. */ - while (*sp && isspace((int) *sp)) - sp++; - list[num++] = cp; - - /* search for the end of the argument, we want to keep going - * if we are in quotes or the char is not a delimiter - */ - while (*sp && (in_quotes || ((*sp != ',') - && (!parens || *sp != ')') - && (parens || !isspace((int) *sp))))) { - /* - * single quotes give literal value inside, including '\'. - * you can't have a single inside single quotes. - * doubles quotes gives literal value inside, but allows escape. - */ - if ((*sp == '"' || *sp == '\'') && (!in_quotes || *sp == in_quotes)) { - in_quotes = in_quotes ? 0 : *sp; - sp++; - continue; - } - /* unless within single quotes, \ will just be */ - else if (*sp == '\\' && in_quotes != '\'') - sp++; - *cp++ = *sp++; - } - cp2 = cp - 1; - *cp++ = 0; - if (*sp == ',' || (!parens && isspace((int) *sp))) { - maybe_empty = 1; - sp++; - } - /* Strip trailing whitespace. */ - for (; isspace((int) *cp2) && cp2 >= list[num - 1]; cp2--) - *cp2 = 0; - } - } - -cleanup: - - if (list != NULL) - free(list); - - if (str != NULL) - free(str); - - return retcode; -} - -int pcb_hid_parse_command(const char *str_) -{ - pcb_event(PCB_EVENT_CLI_ENTER, "s", str_); - return hid_parse_actionstring(str_, pcb_false); -} - -int pcb_hid_parse_actions(const char *str_) -{ - return hid_parse_actionstring(str_, pcb_true); -} - -void pcb_hid_actions_init(void) -{ - -} - -void pcb_hid_actions_uninit(void) -{ - htsp_entry_t *e; - - if (all_actions == NULL) - return; - - for (e = htsp_first(all_actions); e; e = htsp_next(all_actions, e)) { - hid_cookie_action_t *ca = e->value; - if (ca->cookie != NULL) - fprintf(stderr, "ERROR: hid_actions_uninit: action '%s' with cookie '%s' left registered, check your plugins!\n", e->key, ca->cookie); - free(e->key); - free(e->value); - } - - htsp_free(all_actions); - all_actions = NULL; -} - Index: trunk/src/hid_actions.h =================================================================== --- trunk/src/hid_actions.h (revision 17435) +++ trunk/src/hid_actions.h (nonexistent) @@ -1,37 +0,0 @@ -#ifndef PCB_HID_ACTIONS_H -#define PCB_HID_ACTIONS_H - -#include "hid.h" - -/* These are called from main_act.c */ -void pcb_print_actions(void); -void pcb_dump_actions(void); - -const pcb_hid_action_t *pcb_hid_find_action(const char *name); - -extern void pcb_hid_remove_actions(const pcb_hid_action_t *a, int n); -extern void pcb_hid_remove_action(const pcb_hid_action_t *a); -extern void pcb_hid_remove_actions_by_cookie(const char *cookie); - -int pcb_hid_action(const char *action_); -int pcb_hid_actionl(const char *action_, ...); /* NULL terminated */ -int pcb_hid_actionv(const char *action_, int argc_, const char **argv_); -int pcb_hid_actionv_(const pcb_hid_action_t *a, int argc, const char **argv); - -/* Parse the given command string into action calls, and call - hid_actionv for each action found. Accepts both "action(arg1, - arg2)" and command-style "action arg1 arg2", allowing only one - action in the later case. Returns nonzero if the action handler(s) - return nonzero. */ -int pcb_hid_parse_command(const char *str_); - -/* Parse the given string into action calls, and call - hid_actionv for each action found. Accepts only - "action(arg1, arg2)" */ -int pcb_hid_parse_actions(const char *str_); - -/* If the mouse cursor is in the drawin area, set x;y silently and return; - else show msg and let the user click in the drawing area */ -void pcb_hid_get_coords(const char *msg, pcb_coord_t *x, pcb_coord_t *y); - -#endif Index: trunk/src/Makefile.dep =================================================================== --- trunk/src/Makefile.dep (revision 17435) +++ trunk/src/Makefile.dep (revision 17436) @@ -19,16 +19,15 @@ ../src_3rd/genht/ht.h ../src_3rd/genht/hash.h obj_pstk_list.h obj_pstk.h \ ../src_3rd/genvector/vtp0.h vtpadstack.h obj_pstk_shape.h polygon.h \ vtpadstack_t.h draw.h undo.h ../src_3rd/libuundo/uundo.h undo_old.h \ - hid_actions.h plugins.h ../src_3rd/puplug/puplug.h \ - ../src_3rd/puplug/libs.h ../src_3rd/puplug/os_dep.h \ - ../src_3rd/puplug/config.h ../src_3rd/puplug/libs.h \ - ../src_3rd/puplug/error.h dolists.h + actions.h plugins.h ../src_3rd/puplug/puplug.h ../src_3rd/puplug/libs.h \ + ../src_3rd/puplug/os_dep.h ../src_3rd/puplug/config.h \ + ../src_3rd/puplug/libs.h ../src_3rd/puplug/error.h dolists.h ../src_plugins/autoplace/action.o: ../src_plugins/autoplace/action.c \ ../config.h ../src_plugins/autoplace/autoplace.h global_typedefs.h \ pcb_bool.h unit.h plugins.h ../src_3rd/puplug/puplug.h \ ../src_3rd/puplug/libs.h ../src_3rd/puplug/os_dep.h \ ../src_3rd/puplug/config.h ../src_3rd/puplug/libs.h \ - ../src_3rd/puplug/error.h hid_actions.h hid.h ../src_3rd/liblihata/dom.h \ + ../src_3rd/puplug/error.h actions.h hid.h ../src_3rd/liblihata/dom.h \ ../src_3rd/liblihata/lihata.h ../src_3rd/liblihata/parser.h \ ../src_3rd/genht/htsp.h ../src_3rd/genht/ht.h error.h drc.h \ global_typedefs.h attrib.h layer.h globalconst.h obj_arc_list.h \ @@ -80,7 +79,7 @@ board.h action_helper.h plugins.h ../src_3rd/puplug/puplug.h \ ../src_3rd/puplug/libs.h ../src_3rd/puplug/os_dep.h \ ../src_3rd/puplug/config.h ../src_3rd/puplug/libs.h \ - ../src_3rd/puplug/error.h hid_actions.h hid.h ../src_3rd/liblihata/dom.h \ + ../src_3rd/puplug/error.h actions.h hid.h ../src_3rd/liblihata/dom.h \ ../src_3rd/liblihata/lihata.h ../src_3rd/liblihata/parser.h \ ../src_3rd/genht/htsp.h error.h drc.h event.h dolists.h ../src_plugins/autoroute/autoroute.o: \ @@ -142,7 +141,7 @@ ../src_3rd/libuundo/uundo.h undo_old.h plugins.h \ ../src_3rd/puplug/puplug.h ../src_3rd/puplug/libs.h \ ../src_3rd/puplug/os_dep.h ../src_3rd/puplug/config.h \ - ../src_3rd/puplug/libs.h ../src_3rd/puplug/error.h hid_actions.h \ + ../src_3rd/puplug/libs.h ../src_3rd/puplug/error.h actions.h \ compat_misc.h ../src_plugins/boardflip/boardflip.h unit.h dolists.h ../src_plugins/diag/diag.o: ../src_plugins/diag/diag.c ../config.h \ board.h global_typedefs.h pcb_bool.h unit.h vtroutestyle.h attrib.h \ @@ -165,10 +164,9 @@ vtpadstack_t.h data_it.h data.h flag_str.h layer.h \ ../src_plugins/diag/diag_conf.h conf.h pcb-printf.h \ ../src_3rd/liblihata/lihata.h list_conf.h conf.h action_helper.h \ - hid_actions.h plugins.h ../src_3rd/puplug/puplug.h \ - ../src_3rd/puplug/libs.h ../src_3rd/puplug/os_dep.h \ - ../src_3rd/puplug/config.h ../src_3rd/puplug/libs.h \ - ../src_3rd/puplug/error.h error.h event.h \ + actions.h plugins.h ../src_3rd/puplug/puplug.h ../src_3rd/puplug/libs.h \ + ../src_3rd/puplug/os_dep.h ../src_3rd/puplug/config.h \ + ../src_3rd/puplug/libs.h ../src_3rd/puplug/error.h error.h event.h \ ../src_plugins/diag/integrity.h hid.h hid_attrib.h hid_dad.h \ compat_misc.h hid_attrib.h search.h rats.h netlist.h route_style.h \ macro.h dolists.h ../src_plugins/diag/diag_conf_fields.h @@ -213,7 +211,7 @@ math_helper.h move.h misc_util.h ../src_3rd/genvector/gds_char.h \ ../src_3rd/genvector/genvector_impl.h \ ../src_3rd/genvector/genvector_undef.h layer_grp.h hid_attrib.h hid.h \ - hid_actions.h hid_dad.h compat_misc.h hid_attrib.h pcb-printf.h \ + actions.h hid_dad.h compat_misc.h hid_attrib.h pcb-printf.h \ action_helper.h plugins.h ../src_3rd/puplug/puplug.h \ ../src_3rd/puplug/libs.h ../src_3rd/puplug/os_dep.h \ ../src_3rd/puplug/config.h ../src_3rd/puplug/libs.h \ @@ -255,7 +253,7 @@ plugins.h ../src_3rd/puplug/puplug.h ../src_3rd/puplug/libs.h \ ../src_3rd/puplug/os_dep.h ../src_3rd/puplug/config.h \ ../src_3rd/puplug/libs.h ../src_3rd/puplug/error.h macro.h \ - action_helper.h hid_actions.h compat_misc.h dolists.h + action_helper.h actions.h compat_misc.h dolists.h ../src_plugins/distaligntext/distaligntext.o: \ ../src_plugins/distaligntext/distaligntext.c ../config.h board.h \ global_typedefs.h pcb_bool.h unit.h vtroutestyle.h attrib.h \ @@ -280,9 +278,8 @@ plugins.h ../src_3rd/puplug/puplug.h ../src_3rd/puplug/libs.h \ ../src_3rd/puplug/os_dep.h ../src_3rd/puplug/config.h \ ../src_3rd/puplug/libs.h ../src_3rd/puplug/error.h action_helper.h \ - hid_actions.h conf_core.h conf.h pcb-printf.h \ - ../src_3rd/liblihata/lihata.h list_conf.h box.h macro.h compat_misc.h \ - dolists.h + actions.h conf_core.h conf.h pcb-printf.h ../src_3rd/liblihata/lihata.h \ + list_conf.h box.h macro.h compat_misc.h dolists.h ../src_plugins/djopt/djopt.o: ../src_plugins/djopt/djopt.c ../config.h \ conf_core.h conf.h global_typedefs.h pcb_bool.h unit.h pcb-printf.h \ ../src_3rd/genvector/gds_char.h ../src_3rd/genvector/genvector_impl.h \ @@ -306,7 +303,7 @@ layer.h pcb-printf.h compat_misc.h plugins.h ../src_3rd/puplug/puplug.h \ ../src_3rd/puplug/libs.h ../src_3rd/puplug/os_dep.h \ ../src_3rd/puplug/config.h ../src_3rd/puplug/libs.h \ - ../src_3rd/puplug/error.h hid_flags.h hid_actions.h \ + ../src_3rd/puplug/error.h hid_flags.h actions.h \ ../src_plugins/djopt/djopt_conf.h conf.h obj_line.h event.h macro.h \ obj_pstk_inlines.h data.h thermal.h dolists.h \ ../src_plugins/djopt/djopt_conf_fields.h @@ -332,8 +329,8 @@ vtpadstack_t.h draw.h plugins.h ../src_3rd/puplug/puplug.h \ ../src_3rd/puplug/libs.h ../src_3rd/puplug/os_dep.h \ ../src_3rd/puplug/config.h ../src_3rd/puplug/libs.h \ - ../src_3rd/puplug/error.h stub_draw.h compat_misc.h hid_actions.h \ - event.h layer_vis.h obj_text_draw.h obj_line_draw.h dolists.h + ../src_3rd/puplug/error.h stub_draw.h compat_misc.h actions.h event.h \ + layer_vis.h obj_text_draw.h obj_line_draw.h dolists.h ../src_plugins/draw_fab/draw_fab.o: ../src_plugins/draw_fab/draw_fab.c \ ../config.h board.h global_typedefs.h pcb_bool.h unit.h vtroutestyle.h \ attrib.h ../src_3rd/genvector/genvector_impl.h \ @@ -381,7 +378,7 @@ ../src_3rd/genrtree/genrtree_api.h rtree2_compat.h ht_subc.h \ ../src_3rd/genht/ht.h ../src_3rd/genht/hash.h obj_pstk_list.h obj_pstk.h \ ../src_3rd/genvector/vtp0.h vtpadstack.h obj_pstk_shape.h polygon.h \ - vtpadstack_t.h draw.h font.h hid_actions.h plugins.h \ + vtpadstack_t.h draw.h font.h actions.h plugins.h \ ../src_3rd/puplug/puplug.h ../src_3rd/puplug/libs.h \ ../src_3rd/puplug/os_dep.h ../src_3rd/puplug/config.h \ ../src_3rd/puplug/libs.h ../src_3rd/puplug/error.h stub_draw.h \ @@ -411,8 +408,7 @@ ../src_3rd/libuundo/uundo.h undo_old.h plugins.h \ ../src_3rd/puplug/puplug.h ../src_3rd/puplug/libs.h \ ../src_3rd/puplug/os_dep.h ../src_3rd/puplug/config.h \ - ../src_3rd/puplug/libs.h ../src_3rd/puplug/error.h hid_actions.h \ - dolists.h + ../src_3rd/puplug/libs.h ../src_3rd/puplug/error.h actions.h dolists.h ../src_plugins/export_bboard/bboard.o: \ ../src_plugins/export_bboard/bboard.c ../config.h math_helper.h board.h \ global_typedefs.h pcb_bool.h unit.h vtroutestyle.h attrib.h \ @@ -487,7 +483,7 @@ draw.h undo.h ../src_3rd/libuundo/uundo.h undo_old.h pcb-printf.h \ polygon.h compat_misc.h layer.h safe_fs.h conf.h pcb-printf.h \ ../src_3rd/liblihata/lihata.h list_conf.h hid.h hid_draw_helpers.h \ - hid_nogui.h hid_actions.h hid_init.h hid_attrib.h hid_helper.h plugins.h \ + hid_nogui.h actions.h hid_init.h hid_attrib.h hid_helper.h plugins.h \ ../src_3rd/puplug/puplug.h ../src_3rd/puplug/libs.h \ ../src_3rd/puplug/os_dep.h ../src_3rd/puplug/config.h \ ../src_3rd/puplug/libs.h ../src_3rd/puplug/error.h obj_line.h \ @@ -683,7 +679,7 @@ ../src_3rd/puplug/error.h compat_misc.h safe_fs.h conf.h pcb-printf.h \ ../src_3rd/liblihata/lihata.h list_conf.h hid.h \ ../src_plugins/export_lpr/../export_ps/ps.h hid_nogui.h hid_init.h \ - hid_attrib.h hid_actions.h + hid_attrib.h actions.h ../src_plugins/export_nelma/nelma.o: ../src_plugins/export_nelma/nelma.c \ ../config.h board.h global_typedefs.h pcb_bool.h unit.h vtroutestyle.h \ attrib.h ../src_3rd/genvector/genvector_impl.h \ @@ -734,7 +730,7 @@ ../src_3rd/puplug/libs.h ../src_3rd/puplug/os_dep.h \ ../src_3rd/puplug/config.h ../src_3rd/puplug/libs.h \ ../src_3rd/puplug/error.h safe_fs.h obj_subc_parent.h obj_pstk_inlines.h \ - thermal.h hid.h hid_actions.h hid_nogui.h hid_helper.h hid_flags.h \ + thermal.h hid.h actions.h hid_nogui.h hid_helper.h hid_flags.h \ hid_attrib.h hid_init.h hid_draw_helpers.h \ ../src_plugins/lib_polyhelp/topoly.h obj_common.h \ ../src_plugins/export_openems/mesh.h layer.h vtc0.h vtr0.h dolists.h @@ -784,8 +780,8 @@ ../src_3rd/puplug/libs.h ../src_3rd/puplug/os_dep.h \ ../src_3rd/puplug/config.h ../src_3rd/puplug/libs.h \ ../src_3rd/puplug/error.h safe_fs.h obj_pstk_inlines.h data.h thermal.h \ - hid.h hid_nogui.h hid_draw_helpers.h hid_init.h hid_actions.h \ - hid_attrib.h hid_color.h hid_helper.h hid_flags.h \ + hid.h hid_nogui.h hid_draw_helpers.h hid_init.h actions.h hid_attrib.h \ + hid_color.h hid_helper.h hid_flags.h \ ../src_plugins/export_openscad/scad_draw.c \ ../src_plugins/export_openscad/../lib_polyhelp/topoly.h obj_common.h \ plug_io.h ../src_plugins/export_openscad/scad_models.c dolists.h @@ -863,8 +859,8 @@ ../src_3rd/puplug/libs.h ../src_3rd/puplug/error.h hid_helper.h \ safe_fs.h conf.h pcb-printf.h ../src_3rd/liblihata/lihata.h list_conf.h \ hid.h hid_nogui.h hid_draw_helpers.h ../src_plugins/export_ps/ps.h \ - hid_init.h hid_attrib.h hid_flags.h hid_actions.h conf_core.h \ - compat_misc.h compat_nls.h stub_draw.h dolists.h + hid_init.h hid_attrib.h hid_flags.h actions.h conf_core.h compat_misc.h \ + compat_nls.h stub_draw.h dolists.h ../src_plugins/export_stat/stat.o: ../src_plugins/export_stat/stat.c \ ../config.h conf_core.h conf.h global_typedefs.h pcb_bool.h unit.h \ pcb-printf.h ../src_3rd/genvector/gds_char.h \ @@ -986,7 +982,7 @@ math_helper.h move.h misc_util.h ../src_3rd/genvector/gds_char.h \ ../src_3rd/genvector/genvector_impl.h \ ../src_3rd/genvector/genvector_undef.h layer_grp.h hid_attrib.h hid.h \ - hid_actions.h hid_dad.h compat_misc.h hid_attrib.h pcb-printf.h \ + actions.h hid_dad.h compat_misc.h hid_attrib.h pcb-printf.h \ action_helper.h plugins.h ../src_3rd/puplug/puplug.h \ ../src_3rd/puplug/libs.h ../src_3rd/puplug/os_dep.h \ ../src_3rd/puplug/config.h ../src_3rd/puplug/libs.h \ @@ -1028,7 +1024,7 @@ ../src_3rd/libuundo/uundo.h undo_old.h pcb-printf.h plugins.h \ ../src_3rd/puplug/puplug.h ../src_3rd/puplug/libs.h \ ../src_3rd/puplug/os_dep.h ../src_3rd/puplug/config.h \ - ../src_3rd/puplug/libs.h ../src_3rd/puplug/error.h hid_actions.h \ + ../src_3rd/puplug/libs.h ../src_3rd/puplug/error.h actions.h \ compat_misc.h event.h polygon.h obj_poly_draw.h dolists.h ../src_plugins/fp_board/fp_board.o: ../src_plugins/fp_board/fp_board.c \ ../config.h plugins.h ../src_3rd/puplug/puplug.h \ @@ -1163,7 +1159,7 @@ ../src_3rd/puplug/config.h ../src_3rd/puplug/libs.h \ ../src_3rd/puplug/error.h compat_misc.h event.h conf_core.h conf.h \ pcb-printf.h ../src_3rd/liblihata/lihata.h list_conf.h \ - hid_draw_helpers.h hid_nogui.h hid_actions.h hid_init.h hid_attrib.h \ + hid_draw_helpers.h hid_nogui.h actions.h hid_init.h hid_attrib.h \ dolists.h ../src_plugins/hid_gtk2_gdk/gtkhid-gdk.o: \ ../src_plugins/hid_gtk2_gdk/gtkhid-gdk.c ../config.h conf_core.h conf.h \ @@ -1512,7 +1508,7 @@ crosshair.h layer.h pcb-printf.h hid.h \ ../src_plugins/hid_lesstif/lesstif.h hid_cfg_input.h \ ../src_3rd/genht/htpp.h hid_cfg.h compat_nls.h board.h vtroutestyle.h \ - library.h rats_patch.h board.h hid_attrib.h hid_actions.h hid_init.h \ + library.h rats_patch.h board.h hid_attrib.h actions.h hid_init.h \ ../src_plugins/hid_lesstif/stdarg.h misc_util.h search.h rats.h \ netlist.h route_style.h action_helper.h change.h ../src_plugins/hid_lesstif/library.o: \ @@ -1568,7 +1564,7 @@ ../src_plugins/hid_lesstif/lesstif.h hid_cfg_input.h \ ../src_3rd/genht/htpp.h hid_cfg.h compat_nls.h board.h vtroutestyle.h \ library.h rats_patch.h board.h hid_attrib.h hid_helper.h hid_init.h \ - hid_color.h hid_extents.h hid_flags.h hid_actions.h \ + hid_color.h hid_extents.h hid_flags.h actions.h \ ../src_plugins/hid_lesstif/stdarg.h grid.h misc_util.h compat_misc.h \ layer_vis.h tool.h ../src_plugins/lib_hid_common/clip.h \ global_typedefs.h ../src_plugins/hid_lesstif/dlg_preview.c stub_draw.h \ @@ -1596,7 +1592,7 @@ pcb-printf.h layer.h hid.h hid_cfg.h hid_cfg_action.h hid_cfg.h \ hid_cfg_input.h ../src_3rd/genht/htpp.h conf_hid.h \ ../src_plugins/hid_lesstif/lesstif.h compat_nls.h board.h vtroutestyle.h \ - library.h rats_patch.h board.h paths.h hid_actions.h hid_flags.h \ + library.h rats_patch.h board.h paths.h actions.h hid_flags.h \ ../src_plugins/hid_lesstif/stdarg.h event.h compat_misc.h layer_vis.h ../src_plugins/hid_lesstif/netlist.o: \ ../src_plugins/hid_lesstif/netlist.c ../config.h \ @@ -1619,7 +1615,7 @@ ../src_3rd/genvector/vtp0.h vtpadstack.h obj_pstk_shape.h polygon.h \ vtpadstack_t.h find.h rats.h netlist.h library.h route_style.h \ vtroutestyle.h select.h operation.h undo.h ../src_3rd/libuundo/uundo.h \ - undo_old.h remove.h crosshair.h draw.h event.h hid.h hid_actions.h \ + undo_old.h remove.h crosshair.h draw.h event.h hid.h actions.h \ ../src_plugins/hid_lesstif/lesstif.h hid_cfg_input.h \ ../src_3rd/genht/htpp.h hid_cfg.h compat_nls.h board.h rats_patch.h \ board.h ../src_plugins/hid_lesstif/stdarg.h @@ -1690,7 +1686,7 @@ ../src_3rd/puplug/config.h ../src_3rd/puplug/libs.h \ ../src_3rd/puplug/error.h compat_misc.h event.h \ ../src_plugins/hid_remote/proto.h hid_draw_helpers.h hid_nogui.h \ - hid_actions.h hid_init.h dolists.h + actions.h hid_init.h dolists.h ../src_plugins/import_dsn/dsn.o: ../src_plugins/import_dsn/dsn.c \ ../config.h ../src_3rd/gensexpr/gsxl.h \ ../src_3rd/gensexpr/gensexpr_impl.h ../src_3rd/gensexpr/gsx_parse.h \ @@ -1712,7 +1708,7 @@ ../src_3rd/genht/ht.h ../src_3rd/genht/hash.h obj_pstk_list.h obj_pstk.h \ ../src_3rd/genvector/vtp0.h vtpadstack.h obj_pstk_shape.h polygon.h \ vtpadstack_t.h polygon.h safe_fs.h conf.h pcb-printf.h \ - ../src_3rd/liblihata/lihata.h list_conf.h action_helper.h hid_actions.h \ + ../src_3rd/liblihata/lihata.h list_conf.h action_helper.h actions.h \ hid.h plugins.h ../src_3rd/puplug/puplug.h ../src_3rd/puplug/libs.h \ ../src_3rd/puplug/os_dep.h ../src_3rd/puplug/config.h \ ../src_3rd/puplug/libs.h ../src_3rd/puplug/error.h \ @@ -1786,8 +1782,8 @@ ../src_3rd/genrtree/genrtree_api.h rtree2_compat.h ht_subc.h \ ../src_3rd/genht/ht.h ../src_3rd/genht/hash.h obj_pstk_list.h obj_pstk.h \ vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h buffer.h error.h \ - pcb-printf.h compat_misc.h safe_fs.h action_helper.h hid_actions.h \ - plugins.h ../src_3rd/puplug/puplug.h ../src_3rd/puplug/libs.h \ + pcb-printf.h compat_misc.h safe_fs.h action_helper.h actions.h plugins.h \ + ../src_3rd/puplug/puplug.h ../src_3rd/puplug/libs.h \ ../src_3rd/puplug/os_dep.h ../src_3rd/puplug/config.h \ ../src_3rd/puplug/libs.h ../src_3rd/puplug/error.h hid.h dolists.h ../src_plugins/import_ipcd356/ipcd356.o: \ @@ -1812,7 +1808,7 @@ ../src_3rd/genvector/vtp0.h vtpadstack.h obj_pstk_shape.h polygon.h \ vtpadstack_t.h safe_fs.h conf.h pcb-printf.h \ ../src_3rd/liblihata/lihata.h list_conf.h conf_core.h hid.h \ - action_helper.h compat_misc.h hid_actions.h plugins.h \ + action_helper.h compat_misc.h actions.h plugins.h \ ../src_3rd/puplug/puplug.h ../src_3rd/puplug/libs.h \ ../src_3rd/puplug/os_dep.h ../src_3rd/puplug/config.h \ ../src_3rd/puplug/libs.h ../src_3rd/puplug/error.h rtree.h \ @@ -1838,10 +1834,9 @@ ../src_3rd/genvector/vtp0.h vtpadstack.h obj_pstk_shape.h polygon.h \ vtpadstack_t.h error.h pcb-printf.h compat_misc.h safe_fs.h conf.h \ pcb-printf.h ../src_3rd/liblihata/lihata.h list_conf.h action_helper.h \ - hid_actions.h plugins.h ../src_3rd/puplug/puplug.h \ - ../src_3rd/puplug/libs.h ../src_3rd/puplug/os_dep.h \ - ../src_3rd/puplug/config.h ../src_3rd/puplug/libs.h \ - ../src_3rd/puplug/error.h hid.h dolists.h + actions.h plugins.h ../src_3rd/puplug/puplug.h ../src_3rd/puplug/libs.h \ + ../src_3rd/puplug/os_dep.h ../src_3rd/puplug/config.h \ + ../src_3rd/puplug/libs.h ../src_3rd/puplug/error.h hid.h dolists.h ../src_plugins/import_mentor_sch/mentor_sch.o: \ ../src_plugins/import_mentor_sch/mentor_sch.c ../config.h board.h \ global_typedefs.h pcb_bool.h unit.h vtroutestyle.h attrib.h \ @@ -1863,7 +1858,7 @@ ../src_3rd/genvector/vtp0.h vtpadstack.h obj_pstk_shape.h polygon.h \ vtpadstack_t.h error.h pcb-printf.h compat_misc.h \ ../src_3rd/gensexpr/gsxl.h ../src_3rd/gensexpr/gensexpr_impl.h \ - ../src_3rd/gensexpr/gsx_parse.h action_helper.h hid_actions.h plugins.h \ + ../src_3rd/gensexpr/gsx_parse.h action_helper.h actions.h plugins.h \ ../src_3rd/puplug/puplug.h ../src_3rd/puplug/libs.h \ ../src_3rd/puplug/os_dep.h ../src_3rd/puplug/config.h \ ../src_3rd/puplug/libs.h ../src_3rd/puplug/error.h hid.h \ @@ -1881,8 +1876,8 @@ ../src_3rd/genregex/regex_se.h ../src_3rd/genregex/regex_templ.h \ ../src_3rd/genregex/regex.h compat_misc.h pcb-printf.h \ ../src_3rd/genvector/gds_char.h ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h unit.h error.h hid_actions.h \ - hid.h ../src_3rd/liblihata/dom.h ../src_3rd/liblihata/lihata.h \ + ../src_3rd/genvector/genvector_undef.h unit.h error.h actions.h hid.h \ + ../src_3rd/liblihata/dom.h ../src_3rd/liblihata/lihata.h \ ../src_3rd/liblihata/parser.h error.h drc.h global_typedefs.h pcb_bool.h \ attrib.h layer.h globalconst.h obj_arc_list.h obj_common.h flag.h \ data_parent.h obj_arc.h ../src_3rd/genlist/gendlist.h \ @@ -1912,10 +1907,9 @@ ../src_3rd/genvector/vtp0.h vtpadstack.h obj_pstk_shape.h polygon.h \ vtpadstack_t.h error.h pcb-printf.h compat_misc.h safe_fs.h conf.h \ pcb-printf.h ../src_3rd/liblihata/lihata.h list_conf.h action_helper.h \ - hid_actions.h plugins.h ../src_3rd/puplug/puplug.h \ - ../src_3rd/puplug/libs.h ../src_3rd/puplug/os_dep.h \ - ../src_3rd/puplug/config.h ../src_3rd/puplug/libs.h \ - ../src_3rd/puplug/error.h layer.h conf_core.h \ + actions.h plugins.h ../src_3rd/puplug/puplug.h ../src_3rd/puplug/libs.h \ + ../src_3rd/puplug/os_dep.h ../src_3rd/puplug/config.h \ + ../src_3rd/puplug/libs.h ../src_3rd/puplug/error.h layer.h conf_core.h \ ../src_plugins/lib_compat_help/pstk_compat.h obj_pstk.h dolists.h ../src_plugins/import_netlist/import_netlist.o: \ ../src_plugins/import_netlist/import_netlist.c ../config.h board.h \ @@ -1966,7 +1960,7 @@ ../src_3rd/puplug/puplug.h ../src_3rd/puplug/libs.h \ ../src_3rd/puplug/os_dep.h ../src_3rd/puplug/config.h \ ../src_3rd/puplug/libs.h ../src_3rd/puplug/error.h paths.h compat_fs.h \ - pcb-printf.h remove.h rats.h netlist.h route_style.h hid_actions.h \ + pcb-printf.h remove.h rats.h netlist.h route_style.h actions.h \ ../src_plugins/import_sch/import_sch_conf.h conf.h misc_util.h \ compat_nls.h compat_misc.h obj_rat.h dolists.h \ ../src_plugins/import_sch/import_sch_conf_fields.h @@ -1991,10 +1985,9 @@ ../src_3rd/genvector/vtp0.h vtpadstack.h obj_pstk_shape.h polygon.h \ vtpadstack_t.h error.h pcb-printf.h compat_misc.h safe_fs.h conf.h \ pcb-printf.h ../src_3rd/liblihata/lihata.h list_conf.h action_helper.h \ - hid_actions.h plugins.h ../src_3rd/puplug/puplug.h \ - ../src_3rd/puplug/libs.h ../src_3rd/puplug/os_dep.h \ - ../src_3rd/puplug/config.h ../src_3rd/puplug/libs.h \ - ../src_3rd/puplug/error.h hid.h dolists.h + actions.h plugins.h ../src_3rd/puplug/puplug.h ../src_3rd/puplug/libs.h \ + ../src_3rd/puplug/os_dep.h ../src_3rd/puplug/config.h \ + ../src_3rd/puplug/libs.h ../src_3rd/puplug/error.h hid.h dolists.h ../src_plugins/io_autotrax/io_autotrax.o: \ ../src_plugins/io_autotrax/io_autotrax.c ../config.h plugins.h \ ../src_3rd/puplug/puplug.h ../src_3rd/puplug/libs.h \ @@ -2018,7 +2011,7 @@ ../src_3rd/genrtree/genrtree_api.h rtree2_compat.h ht_subc.h \ ../src_3rd/genht/ht.h ../src_3rd/genht/hash.h obj_pstk_list.h obj_pstk.h \ vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h \ - ../src_plugins/io_autotrax/read.h hid_actions.h board.h vtroutestyle.h \ + ../src_plugins/io_autotrax/read.h actions.h board.h vtroutestyle.h \ rats_patch.h board.h netlist.h route_style.h conf_core.h buffer.h hid.h \ action_helper.h compat_misc.h ../src_plugins/io_autotrax/read.o: ../src_plugins/io_autotrax/read.c \ @@ -2044,7 +2037,7 @@ vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h \ ../src_plugins/io_autotrax/read.h layer.h netlist.h route_style.h \ polygon.h misc_util.h conf_core.h move.h macro.h safe_fs.h rotate.h \ - compat_misc.h ../src_plugins/boardflip/boardflip.h unit.h hid_actions.h \ + compat_misc.h ../src_plugins/boardflip/boardflip.h unit.h actions.h \ ../src_plugins/lib_compat_help/pstk_compat.h obj_pstk.h \ ../src_plugins/lib_compat_help/pstk_help.h \ ../src_plugins/lib_compat_help/subc_help.h obj_subc.h @@ -2098,7 +2091,7 @@ conf.h pcb-printf.h ../src_3rd/liblihata/lihata.h \ ../src_3rd/genvector/vtp0.h list_conf.h ../src_plugins/io_eagle/read.h \ board.h vtroutestyle.h rats_patch.h board.h conf.h \ - ../src_plugins/io_eagle/read_dru.h hid_actions.h hid.h dolists.h + ../src_plugins/io_eagle/read_dru.h actions.h hid.h dolists.h ../src_plugins/io_eagle/read.o: ../src_plugins/io_eagle/read.c \ ../config.h board.h global_typedefs.h pcb_bool.h unit.h vtroutestyle.h \ attrib.h ../src_3rd/genvector/genvector_impl.h \ @@ -2115,7 +2108,7 @@ ../src_3rd/liblihata/lihata.h ../src_3rd/liblihata/parser.h \ ../src_3rd/genht/htsp.h ../src_3rd/genvector/vtp0.h list_conf.h conf.h \ plug_io.h conf_core.h error.h polygon.h rtree.h \ - ../src_3rd/genrtree/genrtree_api.h rtree2_compat.h rtree.h hid_actions.h \ + ../src_3rd/genrtree/genrtree_api.h rtree2_compat.h rtree.h actions.h \ hid.h error.h drc.h compat_misc.h ../src_plugins/io_eagle/trparse.h \ ../src_plugins/io_eagle/trparse_xml.h \ ../src_plugins/io_eagle/trparse_bin.h obj_subc.h \ @@ -2206,7 +2199,7 @@ ../src_3rd/genht/htip.h box.h math_helper.h move.h misc_util.h \ ../src_3rd/genvector/gds_char.h ../src_3rd/genvector/genvector_impl.h \ ../src_3rd/genvector/genvector_undef.h layer_grp.h hid_draw_helpers.h \ - hid_nogui.h hid_actions.h hid.h hid_init.h hid_attrib.h hid_helper.h \ + hid_nogui.h actions.h hid.h hid_init.h hid_attrib.h hid_helper.h \ plugins.h ../src_3rd/puplug/puplug.h ../src_3rd/puplug/libs.h \ ../src_3rd/puplug/os_dep.h ../src_3rd/puplug/config.h \ ../src_3rd/puplug/libs.h ../src_3rd/puplug/error.h event.h plug_io.h \ @@ -2236,7 +2229,7 @@ ht_subc.h ../src_3rd/genht/ht.h ../src_3rd/genht/hash.h obj_pstk_list.h \ obj_pstk.h ../src_3rd/genvector/vtp0.h vtpadstack.h obj_pstk_shape.h \ polygon.h vtpadstack_t.h search.h rats.h netlist.h route_style.h \ - rotate.h compat_misc.h hid_actions.h plug_io.h conf.h pcb-printf.h \ + rotate.h compat_misc.h actions.h plug_io.h conf.h pcb-printf.h \ ../src_3rd/liblihata/lihata.h list_conf.h compat_misc.h safe_fs.h \ ../src_plugins/lib_compat_help/pstk_help.h obj_pstk.h \ ../src_plugins/lib_compat_help/subc_help.h obj_subc.h @@ -2287,7 +2280,7 @@ ../src_3rd/genht/ht.h ../src_3rd/genht/hash.h obj_pstk_list.h obj_pstk.h \ vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h \ ../src_plugins/io_kicad/read.h ../src_plugins/io_kicad/read_net.h unit.h \ - hid_actions.h dolists.h + actions.h dolists.h ../src_plugins/io_kicad/read.o: ../src_plugins/io_kicad/read.c \ ../src_3rd/gensexpr/gsxl.h ../src_3rd/gensexpr/gensexpr_impl.h \ ../src_3rd/gensexpr/gsx_parse.h ../src_3rd/genht/htsi.h \ @@ -2340,10 +2333,9 @@ ../src_3rd/genvector/vtp0.h vtpadstack.h obj_pstk_shape.h polygon.h \ vtpadstack_t.h error.h pcb-printf.h compat_misc.h safe_fs.h conf.h \ pcb-printf.h ../src_3rd/liblihata/lihata.h list_conf.h action_helper.h \ - hid_actions.h plugins.h ../src_3rd/puplug/puplug.h \ - ../src_3rd/puplug/libs.h ../src_3rd/puplug/os_dep.h \ - ../src_3rd/puplug/config.h ../src_3rd/puplug/libs.h \ - ../src_3rd/puplug/error.h hid.h + actions.h plugins.h ../src_3rd/puplug/puplug.h ../src_3rd/puplug/libs.h \ + ../src_3rd/puplug/os_dep.h ../src_3rd/puplug/config.h \ + ../src_3rd/puplug/libs.h ../src_3rd/puplug/error.h hid.h ../src_plugins/io_kicad/uniq_name.o: ../src_plugins/io_kicad/uniq_name.c \ ../src_3rd/genht/hash.h ../config.h ../src_plugins/io_kicad/uniq_name.h \ ../src_3rd/genht/htsp.h ../src_3rd/genht/ht.h compat_misc.h @@ -2512,7 +2504,7 @@ ../src_3rd/puplug/puplug.h ../src_3rd/puplug/libs.h \ ../src_3rd/puplug/os_dep.h ../src_3rd/puplug/config.h \ ../src_3rd/puplug/libs.h ../src_3rd/puplug/error.h plug_io.h flag_str.h \ - compat_misc.h rats_patch.h hid_actions.h misc_util.h macro.h layer.h \ + compat_misc.h rats_patch.h actions.h misc_util.h macro.h layer.h \ ../src_plugins/io_lihata/common.h ../src_plugins/io_lihata/write_style.h \ ../src_3rd/liblhtpers/lhtpers.h ../src_plugins/io_lihata/io_lihata.h \ conf.h ../src_plugins/io_lihata/lht_conf.h paths.h obj_subc_list.h \ @@ -2538,7 +2530,7 @@ ../src_3rd/genht/ht.h ../src_3rd/genvector/vtp0.h list_conf.h \ ../src_3rd/genlist/gentdlist_undef.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_plugins/io_mentor_cell/read.h \ - hid_actions.h hid.h error.h drc.h layer.h obj_arc_list.h obj_arc.h \ + actions.h hid.h error.h drc.h layer.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h obj_line_list.h obj_line.h obj_poly_list.h \ obj_poly.h polyarea.h obj_text_list.h obj_text.h font.h \ ../src_3rd/genht/htip.h box.h math_helper.h move.h misc_util.h \ @@ -2596,7 +2588,7 @@ ../src_plugins/io_pcb/file.h board.h plug_io.h hid.h layer.h move.h \ ../src_plugins/io_pcb/parse_common.h pcb-printf.h polygon.h rats.h \ netlist.h route_style.h remove.h flag_str.h compat_fs.h compat_misc.h \ - paths.h rats_patch.h hid_actions.h hid_flags.h \ + paths.h rats_patch.h actions.h hid_flags.h \ ../src_plugins/io_pcb/attribs.h route_style.h obj_poly.h thermal.h \ event.h macro.h ../src_plugins/lib_compat_help/layer_compat.h \ ../src_plugins/lib_compat_help/pstk_compat.h obj_pstk.h \ @@ -2719,7 +2711,7 @@ ../src_3rd/liblihata/lihata.h list_conf.h buffer.h plugins.h \ ../src_3rd/puplug/puplug.h ../src_3rd/puplug/libs.h \ ../src_3rd/puplug/os_dep.h ../src_3rd/puplug/config.h \ - ../src_3rd/puplug/libs.h ../src_3rd/puplug/error.h hid.h hid_actions.h \ + ../src_3rd/puplug/libs.h ../src_3rd/puplug/error.h hid.h actions.h \ action_helper.h compat_misc.h plug_io.h dolists.h ../src_plugins/io_tedax/netlist.o: ../src_plugins/io_tedax/netlist.c \ ../config.h ../src_3rd/genht/htsp.h ../src_3rd/genht/ht.h \ @@ -2740,8 +2732,8 @@ ../src_3rd/genrtree/genrtree_api.h rtree2_compat.h ht_subc.h \ ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h \ ../src_3rd/genvector/vtp0.h vtpadstack.h obj_pstk_shape.h polygon.h \ - vtpadstack_t.h error.h pcb-printf.h compat_misc.h hid_actions.h \ - safe_fs.h conf.h pcb-printf.h ../src_3rd/liblihata/lihata.h list_conf.h \ + vtpadstack_t.h error.h pcb-printf.h compat_misc.h actions.h safe_fs.h \ + conf.h pcb-printf.h ../src_3rd/liblihata/lihata.h list_conf.h \ ../src_plugins/io_tedax/parse.h ../src_plugins/io_tedax/parse.o: ../src_plugins/io_tedax/parse.c \ ../config.h ../src_plugins/io_tedax/parse.h error.h compat_misc.h @@ -2768,7 +2760,7 @@ pcb-printf.h plugins.h ../src_3rd/puplug/puplug.h \ ../src_3rd/puplug/libs.h ../src_3rd/puplug/os_dep.h \ ../src_3rd/puplug/config.h ../src_3rd/puplug/libs.h \ - ../src_3rd/puplug/error.h hid_actions.h layer.h conf_core.h conf.h \ + ../src_3rd/puplug/error.h actions.h layer.h conf_core.h conf.h \ pcb-printf.h ../src_3rd/liblihata/lihata.h list_conf.h misc_util.h \ obj_line.h event.h dolists.h ../src_plugins/lib_compat_help/lib_compat_help.o: \ @@ -2812,7 +2804,7 @@ ../src_3rd/puplug/libs.h ../src_3rd/puplug/error.h ../src_plugins/lib_gtk_common/act_fileio.o: \ ../src_plugins/lib_gtk_common/act_fileio.c ../config.h \ - ../src_plugins/lib_gtk_common/act_fileio.h unit.h hid_actions.h hid.h \ + ../src_plugins/lib_gtk_common/act_fileio.h unit.h actions.h hid.h \ ../src_3rd/liblihata/dom.h ../src_3rd/liblihata/lihata.h \ ../src_3rd/liblihata/parser.h ../src_3rd/genht/htsp.h \ ../src_3rd/genht/ht.h error.h drc.h unit.h global_typedefs.h pcb_bool.h \ @@ -2873,7 +2865,7 @@ ../src_3rd/liblihata/parser.h ../src_3rd/genht/htsp.h \ ../src_3rd/genht/ht.h ../src_3rd/genvector/vtp0.h list_conf.h \ ../src_3rd/genlist/gentdlist_undef.h ../src_3rd/genlist/gentdlist_impl.h \ - ../src_3rd/genlist/gendlist.h globalconst.h hid_actions.h hid.h error.h \ + ../src_3rd/genlist/gendlist.h globalconst.h actions.h hid.h error.h \ drc.h attrib.h layer.h obj_arc_list.h obj_common.h flag.h data_parent.h \ obj_arc.h ../src_3rd/genlist/gendlist.h obj_line_list.h obj_line.h \ obj_poly_list.h obj_poly.h polyarea.h obj_text_list.h obj_text.h font.h \ @@ -3080,7 +3072,7 @@ ../src_3rd/liblihata/lihata.h ../src_3rd/genvector/vtp0.h list_conf.h \ conf.h ../src_plugins/lib_gtk_common/compat.h conf_core.h board.h \ vtroutestyle.h library.h rats_patch.h board.h crosshair.h vtonpoint.h \ - hid.h route.h hid_actions.h compat_nls.h \ + hid.h route.h actions.h compat_nls.h \ ../src_plugins/lib_gtk_common/bu_text_view.h \ ../src_plugins/lib_gtk_common/bu_status_line.h \ ../src_plugins/lib_gtk_common/util_str.h \ @@ -3098,7 +3090,7 @@ obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h box.h math_helper.h move.h misc_util.h \ ../src_3rd/genvector/gds_char.h layer_grp.h library.h rats_patch.h \ - board.h hid_actions.h hid.h ../src_3rd/liblihata/dom.h \ + board.h actions.h hid.h ../src_3rd/liblihata/dom.h \ ../src_3rd/liblihata/lihata.h ../src_3rd/liblihata/parser.h \ ../src_3rd/genht/htsp.h error.h drc.h \ ../src_plugins/lib_gtk_common/compat.h \ @@ -3127,7 +3119,7 @@ ../src_3rd/libuundo/uundo.h undo_old.h \ ../src_plugins/lib_gtk_common/dlg_drc.h \ ../src_plugins/lib_gtk_common/glue.h hid.h conf.h \ - ../src_plugins/lib_gtk_common/compat.h hid_actions.h compat_nls.h \ + ../src_plugins/lib_gtk_common/compat.h actions.h compat_nls.h \ obj_pstk_draw.h obj_rat_draw.h obj_line_draw.h obj_arc_draw.h \ obj_poly_draw.h layer_vis.h ../src_plugins/lib_gtk_common/wt_preview.h \ ../src_plugins/lib_gtk_common/ui_zoompan.h unit.h pcb_bool.h \ @@ -3221,7 +3213,7 @@ rtree.h ../src_3rd/genrtree/genrtree_api.h rtree2_compat.h ht_subc.h \ ../src_3rd/genht/ht.h ../src_3rd/genht/hash.h obj_pstk_list.h obj_pstk.h \ vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h plug_footprint.h \ - vtlibrary.h compat_nls.h compat_misc.h hid_actions.h \ + vtlibrary.h compat_nls.h compat_misc.h actions.h \ ../src_plugins/lib_gtk_common/bu_box.h \ ../src_plugins/lib_gtk_common/wt_preview.h layer.h \ ../src_plugins/lib_gtk_common/ui_zoompan.h unit.h pcb_bool.h \ @@ -3262,7 +3254,7 @@ ../src_3rd/genht/ht.h ../src_3rd/genvector/vtp0.h list_conf.h \ ../src_3rd/genlist/gentdlist_undef.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h globalconst.h conf_hid.h error.h \ - pcb-printf.h hid_actions.h hid.h drc.h attrib.h layer.h obj_arc_list.h \ + pcb-printf.h actions.h hid.h drc.h attrib.h layer.h obj_arc_list.h \ obj_common.h flag.h data_parent.h obj_arc.h \ ../src_3rd/genlist/gendlist.h obj_line_list.h obj_line.h obj_poly_list.h \ obj_poly.h polyarea.h obj_text_list.h obj_text.h font.h \ @@ -3299,7 +3291,7 @@ vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h draw.h error.h \ macro.h find.h rats.h netlist.h route_style.h remove.h search.h rats.h \ select.h operation.h undo.h ../src_3rd/libuundo/uundo.h undo_old.h \ - hid_actions.h compat_nls.h ../src_plugins/lib_gtk_common/util_str.h \ + actions.h compat_nls.h ../src_plugins/lib_gtk_common/util_str.h \ ../src_plugins/lib_gtk_common/win_place.h \ ../src_plugins/lib_gtk_common/bu_text_view.h \ ../src_plugins/lib_gtk_common/bu_box.h \ @@ -3414,7 +3406,7 @@ ../src_plugins/lib_gtk_common/dlg_search.c ../config.h \ ../src_plugins/lib_gtk_common/dlg_search.h ../src_3rd/genlist/gendlist.h \ ../src_3rd/genvector/gds_char.h ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h compat_misc.h hid_actions.h hid.h \ + ../src_3rd/genvector/genvector_undef.h compat_misc.h actions.h hid.h \ ../src_3rd/liblihata/dom.h ../src_3rd/liblihata/lihata.h \ ../src_3rd/liblihata/parser.h ../src_3rd/genht/htsp.h \ ../src_3rd/genht/ht.h error.h drc.h unit.h global_typedefs.h pcb_bool.h \ @@ -3458,8 +3450,8 @@ ../src_plugins/lib_gtk_common/dlg_command.h \ ../src_plugins/lib_gtk_common/wt_layersel.h layer.h layer_grp.h \ conf_core.h board.h library.h rats_patch.h board.h crosshair.h \ - vtonpoint.h route.h pcb-printf.h hid_actions.h action_helper.h \ - compat_nls.h compat_misc.h ../src_plugins/lib_gtk_common/bu_box.h \ + vtonpoint.h route.h pcb-printf.h actions.h action_helper.h compat_nls.h \ + compat_misc.h ../src_plugins/lib_gtk_common/bu_box.h \ ../src_plugins/lib_gtk_common/bu_status_line.h \ ../src_plugins/lib_gtk_common/bu_icons.h \ ../src_plugins/lib_gtk_common/dlg_route_style.h \ @@ -3562,11 +3554,11 @@ ../src_3rd/genvector/genvector_undef.h layer_grp.h \ ../src_plugins/lib_gtk_common/glue.h hid.h conf.h pcb-printf.h \ ../src_3rd/liblihata/lihata.h ../src_3rd/genvector/vtp0.h list_conf.h \ - conf.h ../src_plugins/lib_gtk_common/compat.h action_helper.h \ - hid_actions.h error.h conf_core.h board.h vtroutestyle.h library.h \ - rats_patch.h board.h compat_misc.h compat_nls.h draw.h data.h \ - crosshair.h vtonpoint.h route.h buffer.h obj_rat_list.h obj_rat.h \ - obj_subc_list.h obj_subc.h ../src_3rd/libminuid/libminuid.h rtree.h \ + conf.h ../src_plugins/lib_gtk_common/compat.h action_helper.h actions.h \ + error.h conf_core.h board.h vtroutestyle.h library.h rats_patch.h \ + board.h compat_misc.h compat_nls.h draw.h data.h crosshair.h vtonpoint.h \ + route.h buffer.h obj_rat_list.h obj_rat.h obj_subc_list.h obj_subc.h \ + ../src_3rd/libminuid/libminuid.h rtree.h \ ../src_3rd/genrtree/genrtree_api.h rtree2_compat.h ht_subc.h \ ../src_3rd/genht/ht.h ../src_3rd/genht/hash.h obj_pstk_list.h obj_pstk.h \ vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h layer_vis.h \ @@ -3611,7 +3603,7 @@ obj_poly_list.h obj_poly.h polyarea.h obj_text_list.h obj_text.h font.h \ ../src_3rd/genht/htip.h box.h math_helper.h move.h misc_util.h \ ../src_3rd/genvector/gds_char.h ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer_grp.h hid_actions.h hid.h \ + ../src_3rd/genvector/genvector_undef.h layer_grp.h actions.h hid.h \ compat_misc.h ../src_plugins/lib_gtk_common/util_str.o: \ ../src_plugins/lib_gtk_common/util_str.c ../config.h \ @@ -3692,7 +3684,7 @@ ../src_3rd/genht/ht.h ../src_3rd/genht/hash.h obj_pstk_list.h obj_pstk.h \ ../src_3rd/genvector/vtp0.h vtpadstack.h obj_pstk_shape.h polygon.h \ vtpadstack_t.h event.h conf_core.h conf.h pcb-printf.h \ - ../src_3rd/liblihata/lihata.h list_conf.h hid_actions.h math_helper.h \ + ../src_3rd/liblihata/lihata.h list_conf.h actions.h math_helper.h \ ../src_plugins/lib_gtk_common/wt_layersel.h \ ../src_plugins/lib_gtk_common/glue.h hid.h conf.h \ ../src_plugins/lib_gtk_common/compat.h @@ -3861,7 +3853,7 @@ ../src_3rd/genht/ht.h ../src_3rd/genht/hash.h obj_pstk_list.h obj_pstk.h \ vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h search.h rats.h \ netlist.h route_style.h change.h action_helper.h hid_attrib.h \ - hid_actions.h compat_nls.h compat_misc.h \ + ../src_plugins/lib_gtk_hid/actions.h compat_nls.h compat_misc.h \ ../src_plugins/lib_gtk_common/act_print.h \ ../src_plugins/lib_gtk_common/act_fileio.h \ ../src_plugins/lib_gtk_common/wt_layersel.h \ @@ -3873,8 +3865,7 @@ ../src_plugins/lib_gtk_common/dlg_netlist.h \ ../src_plugins/lib_gtk_common/dlg_search.h \ ../src_plugins/lib_gtk_common/dlg_fontsel.h global_typedefs.h \ - ../src_plugins/lib_gtk_config/lib_gtk_config.h \ - ../src_plugins/lib_gtk_hid/actions.h dolists.h + ../src_plugins/lib_gtk_config/lib_gtk_config.h dolists.h ../src_plugins/lib_gtk_hid/common.o: ../src_plugins/lib_gtk_hid/common.c \ ../config.h action_helper.h global_typedefs.h pcb_bool.h unit.h \ ../src_plugins/lib_gtk_hid/gui.h hid.h ../src_3rd/liblihata/dom.h \ @@ -4305,7 +4296,7 @@ obj_pstk.h ../src_3rd/genvector/vtp0.h vtpadstack.h obj_pstk_shape.h \ polygon.h vtpadstack_t.h conf_core.h conf.h pcb-printf.h \ ../src_3rd/liblihata/lihata.h list_conf.h compat_misc.h hid_attrib.h \ - hid_actions.h dolists.h + actions.h dolists.h ../src_plugins/lib_polyhelp/topoly.o: \ ../src_plugins/lib_polyhelp/topoly.c ../config.h \ ../src_3rd/genvector/vtp0.h ../src_3rd/genvector/genvector_impl.h \ @@ -4324,7 +4315,7 @@ polygon.h rtree.h search.h rats.h netlist.h route_style.h hid.h \ ../src_3rd/liblihata/dom.h ../src_3rd/liblihata/lihata.h \ ../src_3rd/liblihata/parser.h ../src_3rd/genht/htsp.h error.h drc.h \ - hid_actions.h hid.h + actions.h hid.h ../src_plugins/loghid/hid-logger.o: ../src_plugins/loghid/hid-logger.c \ ../config.h ../src_plugins/loghid/hid-logger.h hid.h \ ../src_3rd/liblihata/dom.h ../src_3rd/liblihata/lihata.h \ @@ -4368,7 +4359,7 @@ ../config.h action_helper.h global_typedefs.h pcb_bool.h unit.h \ plugins.h ../src_3rd/puplug/puplug.h ../src_3rd/puplug/libs.h \ ../src_3rd/puplug/os_dep.h ../src_3rd/puplug/config.h \ - ../src_3rd/puplug/libs.h ../src_3rd/puplug/error.h hid_actions.h hid.h \ + ../src_3rd/puplug/libs.h ../src_3rd/puplug/error.h actions.h hid.h \ ../src_3rd/liblihata/dom.h ../src_3rd/liblihata/lihata.h \ ../src_3rd/liblihata/parser.h ../src_3rd/genht/htsp.h \ ../src_3rd/genht/ht.h error.h drc.h attrib.h layer.h globalconst.h \ @@ -4484,7 +4475,7 @@ ../src_3rd/libuundo/uundo.h undo_old.h plugins.h \ ../src_3rd/puplug/puplug.h ../src_3rd/puplug/libs.h \ ../src_3rd/puplug/os_dep.h ../src_3rd/puplug/config.h \ - ../src_3rd/puplug/libs.h ../src_3rd/puplug/error.h hid_actions.h \ + ../src_3rd/puplug/libs.h ../src_3rd/puplug/error.h actions.h \ plug_footprint.h vtlibrary.h obj_subc.h macro.h dolists.h ../src_plugins/polycombine/polycombine.o: \ ../src_plugins/polycombine/polycombine.c ../config.h board.h \ @@ -4509,8 +4500,8 @@ polyarea.h flag_str.h find.h draw.h undo.h ../src_3rd/libuundo/uundo.h \ undo_old.h plugins.h ../src_3rd/puplug/puplug.h ../src_3rd/puplug/libs.h \ ../src_3rd/puplug/os_dep.h ../src_3rd/puplug/config.h \ - ../src_3rd/puplug/libs.h ../src_3rd/puplug/error.h hid_actions.h \ - obj_poly.h dolists.h + ../src_3rd/puplug/libs.h ../src_3rd/puplug/error.h actions.h obj_poly.h \ + dolists.h ../src_plugins/polystitch/polystitch.o: \ ../src_plugins/polystitch/polystitch.c ../config.h board.h \ global_typedefs.h pcb_bool.h unit.h vtroutestyle.h attrib.h \ @@ -4533,8 +4524,8 @@ vtpadstack_t.h macro.h remove.h hid.h error.h rtree.h draw.h polygon.h \ plugins.h ../src_3rd/puplug/puplug.h ../src_3rd/puplug/libs.h \ ../src_3rd/puplug/os_dep.h ../src_3rd/puplug/config.h \ - ../src_3rd/puplug/libs.h ../src_3rd/puplug/error.h hid_actions.h \ - obj_poly.h obj_poly_draw.h dolists.h + ../src_3rd/puplug/libs.h ../src_3rd/puplug/error.h actions.h obj_poly.h \ + obj_poly_draw.h dolists.h ../src_plugins/propedit/propedit.o: ../src_plugins/propedit/propedit.c \ board.h ../config.h global_typedefs.h pcb_bool.h unit.h vtroutestyle.h \ attrib.h ../src_3rd/genvector/genvector_impl.h \ @@ -4557,7 +4548,7 @@ ../src_3rd/puplug/libs.h ../src_3rd/puplug/os_dep.h \ ../src_3rd/puplug/config.h ../src_3rd/puplug/libs.h \ ../src_3rd/puplug/error.h ../src_plugins/propedit/props.h \ - global_typedefs.h ../src_plugins/propedit/propsel.h hid_actions.h \ + global_typedefs.h ../src_plugins/propedit/propsel.h actions.h \ pcb-printf.h error.h dolists.h ../src_plugins/propedit/props.o: ../src_plugins/propedit/props.c \ ../config.h ../src_plugins/propedit/props.h global_typedefs.h pcb_bool.h \ @@ -4622,9 +4613,9 @@ ../src_3rd/libuundo/uundo.h undo_old.h layer.h plugins.h \ ../src_3rd/puplug/puplug.h ../src_3rd/puplug/libs.h \ ../src_3rd/puplug/os_dep.h ../src_3rd/puplug/config.h \ - ../src_3rd/puplug/libs.h ../src_3rd/puplug/error.h hid_actions.h \ - misc_util.h compat_misc.h obj_pstk_inlines.h data.h thermal.h search.h \ - rats.h netlist.h route_style.h find.h dolists.h + ../src_3rd/puplug/libs.h ../src_3rd/puplug/error.h actions.h misc_util.h \ + compat_misc.h obj_pstk_inlines.h data.h thermal.h search.h rats.h \ + netlist.h route_style.h find.h dolists.h ../src_plugins/query/basic_fnc.o: ../src_plugins/query/basic_fnc.c \ ../config.h data.h globalconst.h global_typedefs.h pcb_bool.h unit.h \ layer.h attrib.h obj_arc_list.h obj_common.h flag.h data_parent.h \ @@ -4674,8 +4665,8 @@ ../src_3rd/libuundo/uundo.h undo_old.h plugins.h \ ../src_3rd/puplug/puplug.h ../src_3rd/puplug/libs.h \ ../src_3rd/puplug/os_dep.h ../src_3rd/puplug/config.h \ - ../src_3rd/puplug/libs.h ../src_3rd/puplug/error.h hid_init.h \ - hid_actions.h compat_misc.h ../src_plugins/query/query.h \ + ../src_3rd/puplug/libs.h ../src_3rd/puplug/error.h hid_init.h actions.h \ + compat_misc.h ../src_plugins/query/query.h \ ../src_3rd/genregex/regex_se.h ../src_3rd/genregex/regex_templ.h \ ../src_3rd/genregex/regex.h ../src_plugins/query/fields_sphash.h \ obj_common.h layer.h fptr_cast.h @@ -4797,10 +4788,10 @@ ../src_3rd/libuundo/uundo.h undo_old.h plugins.h \ ../src_3rd/puplug/puplug.h ../src_3rd/puplug/libs.h \ ../src_3rd/puplug/os_dep.h ../src_3rd/puplug/config.h \ - ../src_3rd/puplug/libs.h ../src_3rd/puplug/error.h hid_actions.h \ - conf_core.h conf.h pcb-printf.h ../src_3rd/liblihata/lihata.h \ - list_conf.h compat_misc.h compat_nls.h netlist.h route_style.h safe_fs.h \ - macro.h pcb-printf.h dolists.h + ../src_3rd/puplug/libs.h ../src_3rd/puplug/error.h actions.h conf_core.h \ + conf.h pcb-printf.h ../src_3rd/liblihata/lihata.h list_conf.h \ + compat_misc.h compat_nls.h netlist.h route_style.h safe_fs.h macro.h \ + pcb-printf.h dolists.h ../src_plugins/renumber/renumberblock.o: \ ../src_plugins/renumber/renumberblock.c ../config.h board.h \ global_typedefs.h pcb_bool.h unit.h vtroutestyle.h attrib.h \ @@ -4869,7 +4860,7 @@ plugins.h ../src_3rd/puplug/puplug.h ../src_3rd/puplug/libs.h \ ../src_3rd/puplug/os_dep.h ../src_3rd/puplug/config.h \ ../src_3rd/puplug/libs.h ../src_3rd/puplug/error.h action_helper.h \ - hid_actions.h misc_util.h ../src_plugins/report/report_conf.h conf.h \ + actions.h misc_util.h ../src_plugins/report/report_conf.h conf.h \ compat_misc.h compat_nls.h layer.h obj_term.h obj_pstk.h \ obj_pstk_inlines.h thermal.h obj_subc_parent.h \ ../src_3rd/genregex/regex_sei.h ../src_3rd/genregex/regex_templ.h \ @@ -4935,7 +4926,7 @@ rats.h netlist.h route_style.h plugins.h ../src_3rd/puplug/puplug.h \ ../src_3rd/puplug/libs.h ../src_3rd/puplug/os_dep.h \ ../src_3rd/puplug/config.h ../src_3rd/puplug/libs.h \ - ../src_3rd/puplug/error.h hid_actions.h compat_misc.h misc_util.h tool.h \ + ../src_3rd/puplug/error.h actions.h compat_misc.h misc_util.h tool.h \ dolists.h ../src_plugins/shape/shape.o: ../src_plugins/shape/shape.c ../config.h \ ../src_plugins/shape/shape.h board.h global_typedefs.h pcb_bool.h unit.h \ @@ -4958,8 +4949,8 @@ vtpadstack_t.h layer.h pcb_bool.h action_helper.h plugins.h \ ../src_3rd/puplug/puplug.h ../src_3rd/puplug/libs.h \ ../src_3rd/puplug/os_dep.h ../src_3rd/puplug/config.h \ - ../src_3rd/puplug/libs.h ../src_3rd/puplug/error.h hid_actions.h \ - buffer.h compat_misc.h conf_core.h conf.h pcb-printf.h \ + ../src_3rd/puplug/libs.h ../src_3rd/puplug/error.h actions.h buffer.h \ + compat_misc.h conf_core.h conf.h pcb-printf.h \ ../src_3rd/liblihata/lihata.h list_conf.h error.h event.h math_helper.h \ obj_poly.h obj_poly_draw.h rotate.h compat_misc.h tool.h \ ../src_plugins/shape/shape_dialog.c hid_dad.h hid_attrib.h dolists.h @@ -4968,7 +4959,7 @@ global_typedefs.h pcb_bool.h unit.h plugins.h ../src_3rd/puplug/puplug.h \ ../src_3rd/puplug/libs.h ../src_3rd/puplug/os_dep.h \ ../src_3rd/puplug/config.h ../src_3rd/puplug/libs.h \ - ../src_3rd/puplug/error.h hid_actions.h hid.h ../src_3rd/liblihata/dom.h \ + ../src_3rd/puplug/error.h actions.h hid.h ../src_3rd/liblihata/dom.h \ ../src_3rd/liblihata/lihata.h ../src_3rd/liblihata/parser.h \ ../src_3rd/genht/htsp.h ../src_3rd/genht/ht.h error.h drc.h attrib.h \ layer.h globalconst.h obj_arc_list.h obj_common.h flag.h data_parent.h \ @@ -5003,7 +4994,7 @@ plugins.h ../src_3rd/puplug/puplug.h ../src_3rd/puplug/libs.h \ ../src_3rd/puplug/os_dep.h ../src_3rd/puplug/config.h \ ../src_3rd/puplug/libs.h ../src_3rd/puplug/error.h action_helper.h \ - hid_actions.h compat_nls.h obj_subc.h obj_subc_parent.h data.h dolists.h + actions.h compat_nls.h obj_subc.h obj_subc_parent.h data.h dolists.h ../src_plugins/stroke/stroke.o: ../src_plugins/stroke/stroke.c \ ../config.h action_helper.h global_typedefs.h pcb_bool.h unit.h board.h \ vtroutestyle.h attrib.h ../src_3rd/genvector/genvector_impl.h \ @@ -5019,7 +5010,7 @@ ../src_3rd/liblihata/dom.h ../src_3rd/liblihata/lihata.h \ ../src_3rd/liblihata/parser.h ../src_3rd/genht/htsp.h \ ../src_3rd/genvector/vtp0.h list_conf.h crosshair.h vtonpoint.h hid.h \ - error.h drc.h route.h hid_actions.h unit.h plugins.h \ + error.h drc.h route.h actions.h unit.h plugins.h \ ../src_3rd/puplug/puplug.h ../src_3rd/puplug/libs.h \ ../src_3rd/puplug/os_dep.h ../src_3rd/puplug/config.h \ ../src_3rd/puplug/libs.h ../src_3rd/puplug/error.h stub_stroke.h tool.h \ @@ -5048,7 +5039,7 @@ vtpadstack_t.h hid.h rtree.h undo.h ../src_3rd/libuundo/uundo.h \ undo_old.h plugins.h ../src_3rd/puplug/puplug.h ../src_3rd/puplug/libs.h \ ../src_3rd/puplug/os_dep.h ../src_3rd/puplug/config.h \ - ../src_3rd/puplug/libs.h ../src_3rd/puplug/error.h hid_actions.h \ + ../src_3rd/puplug/libs.h ../src_3rd/puplug/error.h actions.h \ obj_pstk_inlines.h data.h thermal.h dolists.h ../src_plugins/vendordrill/vendor.o: ../src_plugins/vendordrill/vendor.c \ ../config.h conf_core.h conf.h global_typedefs.h pcb_bool.h unit.h \ @@ -5076,10 +5067,9 @@ ../src_3rd/puplug/puplug.h ../src_3rd/puplug/libs.h \ ../src_3rd/puplug/os_dep.h ../src_3rd/puplug/config.h \ ../src_3rd/puplug/libs.h ../src_3rd/puplug/error.h action_helper.h \ - hid_flags.h hid_actions.h hid_cfg.h \ - ../src_plugins/vendordrill/vendor_conf.h conf.h compat_misc.h \ - compat_nls.h obj_pstk_inlines.h data.h thermal.h event.h macro.h \ - ../src_3rd/liblihata/tree.h dolists.h \ + hid_flags.h actions.h hid_cfg.h ../src_plugins/vendordrill/vendor_conf.h \ + conf.h compat_misc.h compat_nls.h obj_pstk_inlines.h data.h thermal.h \ + event.h macro.h ../src_3rd/liblihata/tree.h dolists.h \ ../src_plugins/vendordrill/vendor_conf_fields.h ../src_3rd/gensexpr/gsx_parse.o: ../src_3rd/gensexpr/gsx_parse.c \ ../src_3rd/gensexpr/gsx_parse.h @@ -5214,7 +5204,7 @@ ../src_3rd/qparse/qparse.o: ../src_3rd/qparse/qparse.c \ ../src_3rd/qparse/qparse.h action_act.o: action_act.c ../config.h action_helper.h global_typedefs.h \ - pcb_bool.h unit.h hid_actions.h hid.h ../src_3rd/liblihata/dom.h \ + pcb_bool.h unit.h actions.h hid.h ../src_3rd/liblihata/dom.h \ ../src_3rd/liblihata/lihata.h ../src_3rd/liblihata/parser.h \ ../src_3rd/genht/htsp.h ../src_3rd/genht/ht.h error.h drc.h attrib.h \ layer.h globalconst.h obj_arc_list.h obj_common.h flag.h data_parent.h \ @@ -5251,8 +5241,23 @@ insert.h remove.h rotate.h compat_misc.h search.h rats.h netlist.h \ route_style.h select.h operation.h undo.h ../src_3rd/libuundo/uundo.h \ undo_old.h stub_stroke.h funchash_core.h funchash.h funchash_core_list.h \ - hid_actions.h compat_nls.h event.h obj_line_draw.h obj_arc_draw.h \ + actions.h compat_nls.h event.h obj_line_draw.h obj_arc_draw.h \ obj_text_draw.h obj_rat_draw.h obj_poly_draw.h obj_pstk_draw.h tool.h +actions.o: actions.c ../config.h conf_core.h conf.h global_typedefs.h \ + pcb_bool.h unit.h pcb-printf.h ../src_3rd/genvector/gds_char.h \ + ../src_3rd/genvector/genvector_impl.h \ + ../src_3rd/genvector/genvector_undef.h ../src_3rd/liblihata/lihata.h \ + ../src_3rd/liblihata/dom.h ../src_3rd/liblihata/lihata.h \ + ../src_3rd/liblihata/parser.h ../src_3rd/genht/htsp.h \ + ../src_3rd/genht/ht.h ../src_3rd/genvector/vtp0.h list_conf.h \ + ../src_3rd/genlist/gentdlist_undef.h ../src_3rd/genlist/gentdlist_impl.h \ + ../src_3rd/genlist/gendlist.h globalconst.h ../src_3rd/genht/hash.h \ + error.h event.h actions.h hid.h drc.h attrib.h layer.h obj_arc_list.h \ + obj_common.h flag.h data_parent.h obj_arc.h \ + ../src_3rd/genlist/gendlist.h obj_line_list.h obj_line.h obj_poly_list.h \ + obj_poly.h polyarea.h obj_text_list.h obj_text.h font.h \ + ../src_3rd/genht/htip.h box.h math_helper.h move.h misc_util.h \ + layer_grp.h compat_misc.h compat_nls.h attrib.o: attrib.c ../config.h compat_misc.h attrib.h board.o: board.c ../config.h board.h global_typedefs.h pcb_bool.h unit.h \ vtroutestyle.h attrib.h ../src_3rd/genvector/genvector_impl.h \ @@ -5273,9 +5278,8 @@ ../src_3rd/genvector/vtp0.h vtpadstack.h obj_pstk_shape.h polygon.h \ vtpadstack_t.h conf_core.h conf.h pcb-printf.h \ ../src_3rd/liblihata/lihata.h list_conf.h plug_io.h compat_misc.h \ - hid_actions.h paths.h undo.h ../src_3rd/libuundo/uundo.h undo_old.h \ - draw.h event.h safe_fs.h tool.h defpcb_internal.c obj_pstk_inlines.h \ - thermal.h + actions.h paths.h undo.h ../src_3rd/libuundo/uundo.h undo_old.h draw.h \ + event.h safe_fs.h tool.h defpcb_internal.c obj_pstk_inlines.h thermal.h box.o: box.c ../config.h rotate.h global_typedefs.h pcb_bool.h unit.h \ compat_misc.h box.h math_helper.h move.h obj_common.h flag.h \ globalconst.h attrib.h data_parent.h misc_util.h @@ -5319,7 +5323,7 @@ ../src_3rd/libuundo/uundo.h undo_old.h funchash_core.h funchash.h \ funchash_core_list.h compat_nls.h obj_arc_op.h obj_line_op.h \ obj_text_op.h obj_subc_op.h obj_poly_op.h obj_pstk_op.h obj_rat_op.h \ - event.h safe_fs.h hid_actions.h + event.h safe_fs.h actions.h build_run.o: build_run.c ../config.h ../src_3rd/genht/hash.h \ ../src_3rd/genvector/gds_char.h ../src_3rd/genvector/genvector_impl.h \ ../src_3rd/genvector/genvector_undef.h conf_core.h conf.h \ @@ -5358,7 +5362,7 @@ rtree.h ../src_3rd/genrtree/genrtree_api.h rtree2_compat.h ht_subc.h \ ../src_3rd/genht/ht.h ../src_3rd/genht/hash.h obj_pstk_list.h obj_pstk.h \ vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h draw.h select.h \ - operation.h undo.h ../src_3rd/libuundo/uundo.h undo_old.h hid_actions.h \ + operation.h undo.h ../src_3rd/libuundo/uundo.h undo_old.h actions.h \ compat_nls.h macro.h obj_pstk_op.h obj_subc_parent.h obj_term.h \ obj_arc_op.h obj_line_op.h obj_poly_op.h obj_text_op.h obj_subc_op.h change_act.o: change_act.c ../config.h conf_core.h conf.h \ @@ -5381,10 +5385,10 @@ ../src_3rd/genht/ht.h ../src_3rd/genht/hash.h obj_pstk_list.h obj_pstk.h \ vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h funchash_core.h \ funchash.h funchash_core_list.h board.h vtroutestyle.h library.h \ - rats_patch.h action_helper.h hid_actions.h change.h draw.h search.h \ - rats.h netlist.h route_style.h undo.h ../src_3rd/libuundo/uundo.h \ - undo_old.h event.h compat_misc.h compat_nls.h obj_rat_draw.h data_it.h \ - macro.h grid.h + rats_patch.h action_helper.h actions.h change.h draw.h search.h rats.h \ + netlist.h route_style.h undo.h ../src_3rd/libuundo/uundo.h undo_old.h \ + event.h compat_misc.h compat_nls.h obj_rat_draw.h data_it.h macro.h \ + grid.h compat_fs.o: compat_fs.c ../config.h compat_inc.h compat_fs.h \ compat_misc.h compat_nls.h globalconst.h safe_fs.h conf.h \ global_typedefs.h pcb_bool.h unit.h pcb-printf.h \ @@ -5492,7 +5496,7 @@ ../src_3rd/genrtree/genrtree_api.h rtree2_compat.h ht_subc.h \ ../src_3rd/genht/ht.h ../src_3rd/genht/hash.h obj_pstk_list.h obj_pstk.h \ vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h draw.h \ - draw_wireframe.h search.h rats.h netlist.h route_style.h hid_actions.h \ + draw_wireframe.h search.h rats.h netlist.h route_style.h actions.h \ hid_inlines.h compat_misc.h compat_nls.h find.h undo.h \ ../src_3rd/libuundo/uundo.h undo_old.h event.h action_helper.h macro.h \ grid.h obj_line_draw.h obj_arc_draw.h obj_text_draw.h obj_pstk_draw.h \ @@ -5578,7 +5582,7 @@ ../src_3rd/genht/ht.h ../src_3rd/genht/hash.h obj_pstk_list.h obj_pstk.h \ vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h action_helper.h \ plug_io.h plug_import.h remove.h draw.h find.h search.h rats.h netlist.h \ - route_style.h hid_actions.h compat_misc.h compat_nls.h hid_init.h \ + route_style.h actions.h compat_misc.h compat_nls.h hid_init.h \ layer_vis.h safe_fs.h tool.h find.o: find.c ../config.h math_helper.h conf_core.h conf.h \ global_typedefs.h pcb_bool.h unit.h pcb-printf.h \ @@ -5599,10 +5603,10 @@ ../src_3rd/genht/ht.h ../src_3rd/genht/hash.h obj_pstk_list.h obj_pstk.h \ vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h draw.h find.h \ search.h rats.h netlist.h library.h route_style.h vtroutestyle.h undo.h \ - ../src_3rd/libuundo/uundo.h undo_old.h plug_io.h hid_actions.h \ - compat_misc.h event.h layer_vis.h obj_text_draw.h obj_subc_parent.h \ - find_geo.c macro.h obj_arc_ui.h obj_pstk_inlines.h board.h rats_patch.h \ - thermal.h find_lookup.c compat_nls.h find_intconn.c find_drc.c data_it.h \ + ../src_3rd/libuundo/uundo.h undo_old.h plug_io.h actions.h compat_misc.h \ + event.h layer_vis.h obj_text_draw.h obj_subc_parent.h find_geo.c macro.h \ + obj_arc_ui.h obj_pstk_inlines.h board.h rats_patch.h thermal.h \ + find_lookup.c compat_nls.h find_intconn.c find_drc.c data_it.h \ obj_arc_draw.h obj_rat_draw.h obj_line_draw.h obj_poly_draw.h \ obj_pstk_draw.h find_misc.c change.h find_clear.c find_debug.c \ find_print.c find_any_isect.c @@ -5702,25 +5706,10 @@ vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h action_helper.h \ tool.h grid.h undo.h ../src_3rd/libuundo/uundo.h undo_old.h \ funchash_core.h funchash.h funchash_core_list.h change.h draw.h search.h \ - rats.h netlist.h route_style.h find.h stub_stroke.h hid_actions.h \ - hid_init.h compat_nls.h compat_misc.h event.h layer_ui.h layer_vis.h \ - hid_attrib.h operation.h obj_subc_op.h + rats.h netlist.h route_style.h find.h stub_stroke.h actions.h hid_init.h \ + compat_nls.h compat_misc.h event.h layer_ui.h layer_vis.h hid_attrib.h \ + operation.h obj_subc_op.h heap.o: heap.c ../config.h heap.h -hid_actions.o: hid_actions.c ../config.h conf_core.h conf.h \ - global_typedefs.h pcb_bool.h unit.h pcb-printf.h \ - ../src_3rd/genvector/gds_char.h ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h ../src_3rd/liblihata/lihata.h \ - ../src_3rd/liblihata/dom.h ../src_3rd/liblihata/lihata.h \ - ../src_3rd/liblihata/parser.h ../src_3rd/genht/htsp.h \ - ../src_3rd/genht/ht.h ../src_3rd/genvector/vtp0.h list_conf.h \ - ../src_3rd/genlist/gentdlist_undef.h ../src_3rd/genlist/gentdlist_impl.h \ - ../src_3rd/genlist/gendlist.h globalconst.h ../src_3rd/genht/hash.h \ - error.h event.h hid_actions.h hid.h drc.h attrib.h layer.h \ - obj_arc_list.h obj_common.h flag.h data_parent.h obj_arc.h \ - ../src_3rd/genlist/gendlist.h obj_line_list.h obj_line.h obj_poly_list.h \ - obj_poly.h polyarea.h obj_text_list.h obj_text.h font.h \ - ../src_3rd/genht/htip.h box.h math_helper.h move.h misc_util.h \ - layer_grp.h compat_misc.h compat_nls.h hid_attrib.o: hid_attrib.c ../config.h hid_attrib.h hid.h \ ../src_3rd/liblihata/dom.h ../src_3rd/liblihata/lihata.h \ ../src_3rd/liblihata/parser.h ../src_3rd/genht/htsp.h \ @@ -5759,7 +5748,7 @@ obj_poly_list.h obj_poly.h polyarea.h obj_text_list.h obj_text.h font.h \ ../src_3rd/genht/htip.h box.h math_helper.h move.h misc_util.h \ ../src_3rd/genvector/gds_char.h ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer_grp.h hid_actions.h + ../src_3rd/genvector/genvector_undef.h layer_grp.h actions.h hid_cfg_input.o: hid_cfg_input.c ../src_3rd/liblihata/lihata.h \ ../src_3rd/liblihata/tree.h ../src_3rd/liblihata/dom.h \ ../src_3rd/liblihata/lihata.h ../src_3rd/liblihata/parser.h \ @@ -5839,7 +5828,7 @@ ../src_3rd/genvector/vtp0.h vtpadstack.h obj_pstk_shape.h polygon.h \ vtpadstack_t.h board.h vtroutestyle.h library.h rats_patch.h conf.h \ pcb-printf.h ../src_3rd/liblihata/lihata.h list_conf.h hid_flags.h \ - hid_actions.h + actions.h hid_helper.o: hid_helper.c ../config.h board.h global_typedefs.h \ pcb_bool.h unit.h vtroutestyle.h attrib.h \ ../src_3rd/genvector/genvector_impl.h \ @@ -6035,9 +6024,8 @@ ../src_3rd/puplug/os_dep.h ../src_3rd/puplug/config.h \ ../src_3rd/puplug/libs.h build_run.h flag_str.h plugins.h \ ../src_3rd/puplug/error.h plug_footprint.h vtlibrary.h plug_import.h \ - event.h funchash.h conf_core.h layer_vis.h pcb_minuid.h tool.h \ - hid_actions.h hid_init.h compat_misc.h compat_nls.h dolists.h \ - generated_lists.h + event.h funchash.h conf_core.h layer_vis.h pcb_minuid.h tool.h actions.h \ + hid_init.h compat_misc.h compat_nls.h dolists.h generated_lists.h main_act.o: main_act.c ../config.h board.h global_typedefs.h pcb_bool.h \ unit.h vtroutestyle.h attrib.h ../src_3rd/genvector/genvector_impl.h \ ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h \ @@ -6055,7 +6043,7 @@ rtree.h ../src_3rd/genrtree/genrtree_api.h rtree2_compat.h ht_subc.h \ ../src_3rd/genht/ht.h ../src_3rd/genht/hash.h obj_pstk_list.h obj_pstk.h \ ../src_3rd/genvector/vtp0.h vtpadstack.h obj_pstk_shape.h polygon.h \ - vtpadstack_t.h compat_misc.h hid_actions.h hid_init.h conf_core.h conf.h \ + vtpadstack_t.h compat_misc.h actions.h hid_init.h conf_core.h conf.h \ pcb-printf.h ../src_3rd/liblihata/lihata.h list_conf.h plugins.h \ ../src_3rd/puplug/puplug.h ../src_3rd/puplug/libs.h \ ../src_3rd/puplug/os_dep.h ../src_3rd/puplug/config.h \ @@ -6084,7 +6072,7 @@ ../src_3rd/genht/ht.h ../src_3rd/genht/hash.h obj_pstk_list.h obj_pstk.h \ vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h draw.h select.h \ operation.h undo.h ../src_3rd/libuundo/uundo.h undo_old.h event.h \ - hid_actions.h compat_misc.h obj_arc_op.h obj_line_op.h obj_text_op.h \ + actions.h compat_misc.h obj_arc_op.h obj_line_op.h obj_text_op.h \ obj_subc_op.h obj_poly_op.h obj_pstk_op.h obj_rat_op.h netlist.o: netlist.c ../config.h board.h global_typedefs.h pcb_bool.h \ unit.h vtroutestyle.h attrib.h ../src_3rd/genvector/genvector_impl.h \ @@ -6100,7 +6088,7 @@ ../src_3rd/liblihata/dom.h ../src_3rd/liblihata/lihata.h \ ../src_3rd/liblihata/parser.h ../src_3rd/genht/htsp.h \ ../src_3rd/genvector/vtp0.h list_conf.h find.h rats.h netlist.h \ - route_style.h hid_actions.h hid.h drc.h compat_misc.h event.h data.h \ + route_style.h actions.h hid.h drc.h compat_misc.h event.h data.h \ crosshair.h vtonpoint.h route.h buffer.h obj_rat_list.h obj_rat.h \ obj_subc_list.h obj_subc.h ../src_3rd/libminuid/libminuid.h rtree.h \ ../src_3rd/genrtree/genrtree_api.h rtree2_compat.h ht_subc.h \ @@ -6126,9 +6114,8 @@ ../src_3rd/genht/ht.h ../src_3rd/genht/hash.h obj_pstk_list.h obj_pstk.h \ ../src_3rd/genvector/vtp0.h vtpadstack.h obj_pstk_shape.h polygon.h \ vtpadstack_t.h board.h vtroutestyle.h library.h rats_patch.h plug_io.h \ - conf.h pcb-printf.h ../src_3rd/liblihata/lihata.h list_conf.h \ - hid_actions.h compat_nls.h compat_misc.h netlist.h route_style.h \ - data_it.h + conf.h pcb-printf.h ../src_3rd/liblihata/lihata.h list_conf.h actions.h \ + compat_nls.h compat_misc.h netlist.h route_style.h data_it.h obj_arc.o: obj_arc.c ../config.h compat_nls.h board.h global_typedefs.h \ pcb_bool.h unit.h vtroutestyle.h attrib.h \ ../src_3rd/genvector/genvector_impl.h \ @@ -6318,7 +6305,7 @@ ../src_3rd/libminuid/libminuid.h ht_subc.h ../src_3rd/genht/ht.h \ ../src_3rd/genht/hash.h obj_pstk_list.h vtpadstack.h thermal.h \ action_helper.h conf_core.h conf.h pcb-printf.h \ - ../src_3rd/liblihata/lihata.h list_conf.h hid_actions.h + ../src_3rd/liblihata/lihata.h list_conf.h actions.h obj_pstk_list.o: obj_pstk_list.c obj_pstk_list.h obj_pstk.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genvector/vtp0.h \ ../src_3rd/genvector/genvector_impl.h \ @@ -6506,7 +6493,7 @@ undo.h ../src_3rd/libuundo/uundo.h undo_old.h event.h funchash_core.h \ funchash.h funchash_core_list.h search.h rats.h netlist.h route_style.h \ draw.h copy.h remove.h compat_misc.h compat_nls.h layer_vis.h \ - operation.h macro.h rotate.h hid_actions.h + operation.h macro.h rotate.h actions.h operation.o: operation.c ../config.h operation.h global_typedefs.h \ pcb_bool.h unit.h board.h vtroutestyle.h attrib.h \ ../src_3rd/genvector/genvector_impl.h \ @@ -6604,7 +6591,7 @@ rtree.h ../src_3rd/genrtree/genrtree_api.h rtree2_compat.h ht_subc.h \ ../src_3rd/genht/ht.h ../src_3rd/genht/hash.h obj_pstk_list.h obj_pstk.h \ vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h plug_io.h \ - remove.h paths.h hid_actions.h hid_flags.h plugins.h \ + remove.h paths.h actions.h hid_flags.h plugins.h \ ../src_3rd/puplug/puplug.h ../src_3rd/puplug/libs.h \ ../src_3rd/puplug/os_dep.h ../src_3rd/puplug/config.h \ ../src_3rd/puplug/libs.h ../src_3rd/puplug/error.h event.h compat_misc.h \ @@ -6676,7 +6663,7 @@ vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h action_helper.h \ undo.h ../src_3rd/libuundo/uundo.h undo_old.h funchash_core.h funchash.h \ funchash_core_list.h draw.h search.h rats.h netlist.h route_style.h \ - compat_nls.h tool.h hid_actions.h + compat_nls.h tool.h actions.h rats.o: rats.c ../config.h conf_core.h conf.h global_typedefs.h \ pcb_bool.h unit.h pcb-printf.h ../src_3rd/genvector/gds_char.h \ ../src_3rd/genvector/genvector_impl.h \ @@ -6720,8 +6707,8 @@ ../src_3rd/genht/ht.h ../src_3rd/genht/hash.h obj_pstk_list.h obj_pstk.h \ vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h action_helper.h \ undo.h ../src_3rd/libuundo/uundo.h undo_old.h find.h remove.h \ - funchash_core.h funchash.h funchash_core_list.h compat_nls.h \ - hid_actions.h rats.h netlist.h route_style.h draw.h obj_rat_draw.h + funchash_core.h funchash.h funchash_core_list.h compat_nls.h actions.h \ + rats.h netlist.h route_style.h draw.h obj_rat_draw.h rats_patch.o: rats_patch.c rats_patch.h board.h ../config.h \ global_typedefs.h pcb_bool.h unit.h vtroutestyle.h attrib.h \ ../src_3rd/genvector/genvector_impl.h \ @@ -6777,7 +6764,7 @@ ../src_3rd/genrtree/genrtree_api.h rtree2_compat.h ht_subc.h \ ../src_3rd/genht/ht.h ../src_3rd/genht/hash.h obj_pstk_list.h obj_pstk.h \ ../src_3rd/genvector/vtp0.h vtpadstack.h obj_pstk_shape.h polygon.h \ - vtpadstack_t.h action_helper.h hid_actions.h tool.h remove.h board.h \ + vtpadstack_t.h action_helper.h actions.h tool.h remove.h board.h \ vtroutestyle.h library.h rats_patch.h funchash_core.h funchash.h \ funchash_core_list.h rotate.o: rotate.c ../config.h board.h global_typedefs.h pcb_bool.h \ @@ -6922,7 +6909,7 @@ vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h action_helper.h \ undo.h ../src_3rd/libuundo/uundo.h undo_old.h funchash_core.h funchash.h \ funchash_core_list.h tool.h select.h operation.h draw.h remove.h copy.h \ - grid.h hid_attrib.h compat_misc.h compat_nls.h hid_actions.h + grid.h hid_attrib.h compat_misc.h compat_nls.h actions.h stub_draw.o: stub_draw.c ../config.h stub_draw.h hid.h \ ../src_3rd/liblihata/dom.h ../src_3rd/liblihata/lihata.h \ ../src_3rd/liblihata/parser.h ../src_3rd/genht/htsp.h \ @@ -7022,7 +7009,7 @@ obj_subc_list.h obj_subc.h ../src_3rd/libminuid/libminuid.h rtree.h \ ../src_3rd/genrtree/genrtree_api.h rtree2_compat.h ht_subc.h \ ../src_3rd/genht/ht.h ../src_3rd/genht/hash.h obj_pstk_list.h obj_pstk.h \ - vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h hid_actions.h \ + vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h actions.h \ remove.h search.h rats.h netlist.h route_style.h select.h operation.h \ tool.h undo.h ../src_3rd/libuundo/uundo.h undo_old.h tool_buffer.o: tool_buffer.c ../config.h conf_core.h conf.h \ @@ -7044,7 +7031,7 @@ ../src_3rd/libminuid/libminuid.h rtree.h \ ../src_3rd/genrtree/genrtree_api.h rtree2_compat.h ht_subc.h \ ../src_3rd/genht/ht.h ../src_3rd/genht/hash.h obj_pstk_list.h obj_pstk.h \ - vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h hid_actions.h \ + vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h actions.h \ search.h rats.h netlist.h route_style.h tool.h undo.h \ ../src_3rd/libuundo/uundo.h undo_old.h tool_copy.o: tool_copy.c ../config.h action_helper.h global_typedefs.h \ @@ -7119,8 +7106,8 @@ rtree.h ../src_3rd/genrtree/genrtree_api.h rtree2_compat.h ht_subc.h \ ../src_3rd/genht/ht.h ../src_3rd/genht/hash.h obj_pstk_list.h obj_pstk.h \ ../src_3rd/genvector/vtp0.h vtpadstack.h obj_pstk_shape.h polygon.h \ - vtpadstack_t.h draw.h hid_actions.h search.h rats.h netlist.h \ - route_style.h tool.h tool_lock.h + vtpadstack_t.h draw.h actions.h search.h rats.h netlist.h route_style.h \ + tool.h tool_lock.h tool_move.o: tool_move.c ../config.h action_helper.h global_typedefs.h \ pcb_bool.h unit.h board.h vtroutestyle.h attrib.h \ ../src_3rd/genvector/genvector_impl.h \ @@ -7151,7 +7138,7 @@ ../src_3rd/genlist/gendlist.h obj_line_list.h obj_line.h obj_poly_list.h \ obj_poly.h polyarea.h obj_text_list.h obj_text.h font.h \ ../src_3rd/genht/htip.h box.h math_helper.h move.h misc_util.h \ - layer_grp.h route.h hid_actions.h polygon.h rtree.h \ + layer_grp.h route.h actions.h polygon.h rtree.h \ ../src_3rd/genrtree/genrtree_api.h rtree2_compat.h tool.h tool_polyhole.o: tool_polyhole.c ../config.h conf_core.h conf.h \ global_typedefs.h pcb_bool.h unit.h pcb-printf.h \ @@ -7167,7 +7154,7 @@ ../src_3rd/genlist/gendlist.h obj_line_list.h obj_line.h obj_poly_list.h \ obj_poly.h polyarea.h obj_text_list.h obj_text.h font.h \ ../src_3rd/genht/htip.h box.h math_helper.h move.h misc_util.h \ - layer_grp.h route.h hid_actions.h polygon.h rtree.h \ + layer_grp.h route.h actions.h polygon.h rtree.h \ ../src_3rd/genrtree/genrtree_api.h rtree2_compat.h search.h rats.h \ netlist.h library.h route_style.h vtroutestyle.h tool.h tool_rectangle.o: tool_rectangle.c ../config.h conf_core.h conf.h \ @@ -7201,7 +7188,7 @@ obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h box.h math_helper.h move.h misc_util.h \ ../src_3rd/genvector/gds_char.h layer_grp.h library.h rats_patch.h \ - compat_nls.h event.h hid_actions.h hid.h ../src_3rd/liblihata/dom.h \ + compat_nls.h event.h actions.h hid.h ../src_3rd/liblihata/dom.h \ ../src_3rd/liblihata/lihata.h ../src_3rd/liblihata/parser.h \ ../src_3rd/genht/htsp.h error.h drc.h undo.h ../src_3rd/libuundo/uundo.h \ undo_old.h remove.h search.h rats.h netlist.h route_style.h tool.h \ @@ -7214,13 +7201,12 @@ ../src_3rd/liblihata/parser.h ../src_3rd/genht/htsp.h \ ../src_3rd/genht/ht.h ../src_3rd/genvector/vtp0.h list_conf.h \ ../src_3rd/genlist/gentdlist_undef.h ../src_3rd/genlist/gentdlist_impl.h \ - ../src_3rd/genlist/gendlist.h globalconst.h action_helper.h \ - hid_actions.h hid.h error.h drc.h attrib.h layer.h obj_arc_list.h \ - obj_common.h flag.h data_parent.h obj_arc.h \ - ../src_3rd/genlist/gendlist.h obj_line_list.h obj_line.h obj_poly_list.h \ - obj_poly.h polyarea.h obj_text_list.h obj_text.h font.h \ - ../src_3rd/genht/htip.h box.h math_helper.h move.h misc_util.h \ - layer_grp.h rotate.h compat_misc.h tool.h + ../src_3rd/genlist/gendlist.h globalconst.h action_helper.h actions.h \ + hid.h error.h drc.h attrib.h layer.h obj_arc_list.h obj_common.h flag.h \ + data_parent.h obj_arc.h ../src_3rd/genlist/gendlist.h obj_line_list.h \ + obj_line.h obj_poly_list.h obj_poly.h polyarea.h obj_text_list.h \ + obj_text.h font.h ../src_3rd/genht/htip.h box.h math_helper.h move.h \ + misc_util.h layer_grp.h rotate.h compat_misc.h tool.h tool_text.o: tool_text.c ../config.h conf_core.h conf.h global_typedefs.h \ pcb_bool.h unit.h pcb-printf.h ../src_3rd/genvector/gds_char.h \ ../src_3rd/genvector/genvector_impl.h \ @@ -7240,9 +7226,8 @@ ../src_3rd/libminuid/libminuid.h rtree.h \ ../src_3rd/genrtree/genrtree_api.h rtree2_compat.h ht_subc.h \ ../src_3rd/genht/ht.h ../src_3rd/genht/hash.h obj_pstk_list.h obj_pstk.h \ - vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h draw.h \ - hid_actions.h tool.h undo.h ../src_3rd/libuundo/uundo.h undo_old.h \ - obj_text_draw.h + vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h draw.h actions.h \ + tool.h undo.h ../src_3rd/libuundo/uundo.h undo_old.h obj_text_draw.h tool_thermal.o: tool_thermal.c ../config.h action_helper.h \ global_typedefs.h pcb_bool.h unit.h board.h vtroutestyle.h attrib.h \ ../src_3rd/genvector/genvector_impl.h \ @@ -7261,7 +7246,7 @@ rtree.h ../src_3rd/genrtree/genrtree_api.h rtree2_compat.h ht_subc.h \ ../src_3rd/genht/ht.h ../src_3rd/genht/hash.h obj_pstk_list.h obj_pstk.h \ ../src_3rd/genvector/vtp0.h vtpadstack.h obj_pstk_shape.h polygon.h \ - vtpadstack_t.h hid_actions.h search.h rats.h netlist.h route_style.h \ + vtpadstack_t.h actions.h search.h rats.h netlist.h route_style.h \ thermal.h tool.h tool_via.o: tool_via.c ../config.h conf_core.h conf.h global_typedefs.h \ pcb_bool.h unit.h pcb-printf.h ../src_3rd/genvector/gds_char.h \ Index: trunk/src/Makefile.in =================================================================== --- trunk/src/Makefile.in (revision 17435) +++ trunk/src/Makefile.in (revision 17436) @@ -49,6 +49,7 @@ @] append /local/pcb/OBJS [@ + actions.o action_helper.o action_act.o attrib.o @@ -84,7 +85,7 @@ grid.o gui_act.o heap.o - hid_actions.o + hid_attrib.o hid_cfg.o hid_cfg_action.o Index: trunk/src/action_act.c =================================================================== --- trunk/src/action_act.c (revision 17435) +++ trunk/src/action_act.c (revision 17436) @@ -36,7 +36,7 @@ #include "config.h" #include "action_helper.h" -#include "hid_actions.h" +#include "actions.h" #include "undo.h" #include "compat_nls.h" #include "safe_fs.h" Index: trunk/src/action_helper.c =================================================================== --- trunk/src/action_helper.c (revision 17435) +++ trunk/src/action_helper.c (revision 17436) @@ -54,7 +54,7 @@ #include "undo.h" #include "stub_stroke.h" #include "funchash_core.h" -#include "hid_actions.h" +#include "actions.h" #include "compat_misc.h" #include "compat_nls.h" #include "event.h" Index: trunk/src/actions.c =================================================================== --- trunk/src/actions.c (nonexistent) +++ trunk/src/actions.c (revision 17436) @@ -0,0 +1,466 @@ +/* + * COPYRIGHT + * + * pcb-rnd, interactive printed circuit board design + * (this file is based on PCB, interactive printed circuit board design) + * Copyright (C) 1994,1995,1996 Thomas Nau + * Copyright (C) 2004 harry eaton + * Copyright (C) 2016..2018 Tibor 'Igor2' Palinkas + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * + * Contact: + * Project page: http://repo.hu/projects/pcb-rnd + * lead developer: email to pcb-rnd (at) igor2.repo.hu + * mailing list: pcb-rnd (at) list.repo.hu (send "subscribe") + * + */ + +#include "config.h" +#include "conf_core.h" + +#include + +#include +#include + +#include "error.h" +#include "event.h" +#include "actions.h" +#include "compat_misc.h" +#include "compat_nls.h" + +static htsp_t *all_actions = NULL; +const pcb_hid_action_t *pcb_current_action = NULL; + +static const char *check_action_name(const char *s) +{ + while (*s) + if (isspace((int) *s++) || *s == '(') + return (s - 1); + return NULL; +} + +typedef struct { + const char *cookie; + const pcb_hid_action_t *action; +} hid_cookie_action_t; + +void pcb_hid_register_actions(const pcb_hid_action_t *a, int n, const char *cookie, int copy) +{ + int i; + hid_cookie_action_t *ca; + + if (all_actions == NULL) + all_actions = htsp_alloc(strhash_case, strkeyeq_case); + + for (i = 0; i < n; i++) { + if (check_action_name(a[i].name)) { + pcb_message(PCB_MSG_ERROR, _("ERROR! Invalid action name, " "action \"%s\" not registered.\n"), a[i].name); + continue; + } + if (htsp_get(all_actions, a[i].name) != NULL) { + pcb_message(PCB_MSG_ERROR, _("ERROR! Invalid action name, " "action \"%s\" is already registered.\n"), a[i].name); + continue; + } + ca = malloc(sizeof(hid_cookie_action_t)); + ca->cookie = cookie; + ca->action = a+i; + htsp_set(all_actions, pcb_strdup(a[i].name), ca); + } +} + +void pcb_hid_register_action(const pcb_hid_action_t *a, const char *cookie, int copy) +{ + pcb_hid_register_actions(a, 1, cookie, copy); +} + +void pcb_hid_remove_actions(const pcb_hid_action_t *a, int n) +{ + int i; + + if (all_actions == NULL) + return; + + for (i = 0; i < n; i++) { + htsp_entry_t *e; + e = htsp_popentry(all_actions, a[i].name); + free(e->key); + free(e->value); + } +} + +void pcb_hid_remove_actions_by_cookie(const char *cookie) +{ + htsp_entry_t *e; + + if (all_actions == NULL) + return; + + /* Slow linear search - probably OK, this will run only on uninit */ + for (e = htsp_first(all_actions); e; e = htsp_next(all_actions, e)) { + hid_cookie_action_t *ca = e->value; + if (ca->cookie == cookie) { + htsp_pop(all_actions, e->key); + free(e->key); + free(e->value); + } + } +} + +void pcb_hid_remove_action(const pcb_hid_action_t *a) +{ + htsp_entry_t *e; + + if (all_actions == NULL) + return; + + e = htsp_popentry(all_actions, a->name); + if (e != NULL) { + free(e->key); + free(e->value); + } +} + +const pcb_hid_action_t *pcb_hid_find_action(const char *name) +{ + hid_cookie_action_t *ca; + + if ((name == NULL) && (all_actions == NULL)) + return 0; + + ca = htsp_get(all_actions, (char *) name); + + if (ca) + return ca->action; + + pcb_message(PCB_MSG_ERROR, "unknown action `%s'\n", name); + return 0; +} + +void pcb_print_actions() +{ + htsp_entry_t *e; + + fprintf(stderr, "Registered Actions:\n"); + for (e = htsp_first(all_actions); e; e = htsp_next(all_actions, e)) { + hid_cookie_action_t *ca = e->value; + if (ca->action->description) + fprintf(stderr, " %s - %s\n", ca->action->name, ca->action->description); + else + fprintf(stderr, " %s\n", ca->action->name); + if (ca->action->syntax) { + const char *bb, *eb; + bb = eb = ca->action->syntax; + while (1) { + for (eb = bb; *eb && *eb != '\n'; eb++); + fwrite(" ", 4, 1, stderr); + fwrite(bb, eb - bb, 1, stderr); + fputc('\n', stderr); + if (*eb == 0) + break; + bb = eb + 1; + } + } + } +} + +static void dump_string(char prefix, const char *str) +{ + int eol = 1; + while (*str) { + if (eol) { + putchar(prefix); + eol = 0; + } + putchar(*str); + if (*str == '\n') + eol = 1; + str++; + } + if (!eol) + putchar('\n'); +} + +void pcb_dump_actions(void) +{ + htsp_entry_t *e; + + fprintf(stderr, "Registered Actions:\n"); + for (e = htsp_first(all_actions); e; e = htsp_next(all_actions, e)) { + hid_cookie_action_t *ca = e->value; + const char *desc = ca->action->description; + const char *synt = ca->action->syntax; + + desc = desc ? desc : ""; + synt = synt ? synt : ""; + + printf("A%s\n", ca->action->name); + dump_string('D', desc); + dump_string('S', synt); + } +} + +int pcb_hid_action(const char *name) +{ + return pcb_hid_actionv(name, 0, 0); +} + +int pcb_hid_actionl(const char *name, ...) +{ + const char *argv[20]; + int argc = 0; + va_list ap; + char *arg; + + va_start(ap, name); + while ((arg = va_arg(ap, char *)) != 0) + argv[argc++] = arg; + va_end(ap); + return pcb_hid_actionv(name, argc, argv); +} + +int pcb_hid_actionv_(const pcb_hid_action_t *a, int argc, const char **argv) +{ + int i, ret; + const pcb_hid_action_t *old_action; + + if (conf_core.rc.verbose) { + printf("Action: \033[34m%s(", a->name); + for (i = 0; i < argc; i++) + printf("%s%s", i ? "," : "", argv[i]); + printf(")\033[0m\n"); + } + + old_action = pcb_current_action; + pcb_current_action = a; + ret = pcb_current_action->trigger_cb(argc, argv); + pcb_current_action = old_action; + + return ret; +} + +int pcb_hid_actionv(const char *name, int argc, const char **argv) +{ + const pcb_hid_action_t *a; + + if (name == NULL) + return 1; + + a = pcb_hid_find_action(name); + if (a == NULL) { + int i; + pcb_message(PCB_MSG_ERROR, "no action %s(", name); + for (i = 0; i < argc; i++) + pcb_message(PCB_MSG_ERROR, "%s%s", i ? ", " : "", argv[i]); + pcb_message(PCB_MSG_ERROR, ")\n"); + return 1; + } + return pcb_hid_actionv_(a, argc, argv); +} + +void pcb_hid_get_coords(const char *msg, pcb_coord_t *x, pcb_coord_t *y) +{ + if (pcb_gui == NULL) { + fprintf(stderr, "pcb_hid_get_coords: can not get coordinates (no gui) for '%s'\n", msg); + *x = 0; + *y = 0; + } + else + pcb_gui->get_coords(msg, x, y); +} + +static int hid_parse_actionstring(const char *rstr, char require_parens) +{ + const char **list = NULL; + int max = 0; + int num; + char *str = NULL; + const char *sp; + char *cp, *aname, *cp2; + int maybe_empty = 0; + char in_quotes = 0; + char parens = 0; + int retcode = 0; + + /*fprintf(stderr, "invoke: `%s'\n", rstr); */ + + sp = rstr; + str = (char *) malloc(strlen(rstr) + 1); + +another: + num = 0; + cp = str; + + /* eat leading spaces and tabs */ + while (*sp && isspace((int) *sp)) + sp++; + + if ((*sp == '\0') || (*sp == '#')) { + retcode = 0; + goto cleanup; + } + + aname = cp; + + /* copy the action name, assumes name does not have a space or '(' + * in its name */ + while (*sp && !isspace((int) *sp) && *sp != '(') + *cp++ = *sp++; + *cp++ = 0; + + /* skip whitespace */ + while (*sp && isspace((int) *sp)) + sp++; + + /* + * we only have an action name, so invoke the action + * with no parameters or event. + */ + if (*sp == '\0') { + retcode = pcb_hid_actionv(aname, 0, 0); + goto cleanup; + } + + /* are we using parenthesis? */ + if (*sp == '(') { + parens = 1; + sp++; + } + else if (require_parens) { + pcb_message(PCB_MSG_ERROR, _("Syntax error: %s\n"), rstr); + pcb_message(PCB_MSG_ERROR, _(" expected: Action(arg1, arg2)")); + retcode = 1; + goto cleanup; + } + + /* get the parameters to pass to the action */ + while (1) { + /* + * maybe_empty == 0 means that the last char examined was not a + * "," + */ + if (!maybe_empty && ((parens && *sp == ')') || (!parens && !*sp))) { + retcode = pcb_hid_actionv(aname, num, list); + if (retcode) + goto cleanup; + + /* strip any white space or ';' following the action */ + if (parens) + sp++; + while (*sp && (isspace((int) *sp) || *sp == ';')) + sp++; + goto another; + } + else if (*sp == 0 && !maybe_empty) + break; + else { + maybe_empty = 0; + in_quotes = 0; + /* + * if we have more parameters than memory in our array of + * pointers, then either allocate some or grow the array + */ + if (num >= max) { + max += 10; + if (list) + list = (const char **) realloc(list, max * sizeof(char *)); + else + list = (const char **) malloc(max * sizeof(char *)); + } + /* Strip leading whitespace. */ + while (*sp && isspace((int) *sp)) + sp++; + list[num++] = cp; + + /* search for the end of the argument, we want to keep going + * if we are in quotes or the char is not a delimiter + */ + while (*sp && (in_quotes || ((*sp != ',') + && (!parens || *sp != ')') + && (parens || !isspace((int) *sp))))) { + /* + * single quotes give literal value inside, including '\'. + * you can't have a single inside single quotes. + * doubles quotes gives literal value inside, but allows escape. + */ + if ((*sp == '"' || *sp == '\'') && (!in_quotes || *sp == in_quotes)) { + in_quotes = in_quotes ? 0 : *sp; + sp++; + continue; + } + /* unless within single quotes, \ will just be */ + else if (*sp == '\\' && in_quotes != '\'') + sp++; + *cp++ = *sp++; + } + cp2 = cp - 1; + *cp++ = 0; + if (*sp == ',' || (!parens && isspace((int) *sp))) { + maybe_empty = 1; + sp++; + } + /* Strip trailing whitespace. */ + for (; isspace((int) *cp2) && cp2 >= list[num - 1]; cp2--) + *cp2 = 0; + } + } + +cleanup: + + if (list != NULL) + free(list); + + if (str != NULL) + free(str); + + return retcode; +} + +int pcb_hid_parse_command(const char *str_) +{ + pcb_event(PCB_EVENT_CLI_ENTER, "s", str_); + return hid_parse_actionstring(str_, pcb_false); +} + +int pcb_hid_parse_actions(const char *str_) +{ + return hid_parse_actionstring(str_, pcb_true); +} + +void pcb_hid_actions_init(void) +{ + +} + +void pcb_hid_actions_uninit(void) +{ + htsp_entry_t *e; + + if (all_actions == NULL) + return; + + for (e = htsp_first(all_actions); e; e = htsp_next(all_actions, e)) { + hid_cookie_action_t *ca = e->value; + if (ca->cookie != NULL) + fprintf(stderr, "ERROR: hid_actions_uninit: action '%s' with cookie '%s' left registered, check your plugins!\n", e->key, ca->cookie); + free(e->key); + free(e->value); + } + + htsp_free(all_actions); + all_actions = NULL; +} + Index: trunk/src/actions.h =================================================================== --- trunk/src/actions.h (nonexistent) +++ trunk/src/actions.h (revision 17436) @@ -0,0 +1,37 @@ +#ifndef PCB_HID_ACTIONS_H +#define PCB_HID_ACTIONS_H + +#include "hid.h" + +/* These are called from main_act.c */ +void pcb_print_actions(void); +void pcb_dump_actions(void); + +const pcb_hid_action_t *pcb_hid_find_action(const char *name); + +extern void pcb_hid_remove_actions(const pcb_hid_action_t *a, int n); +extern void pcb_hid_remove_action(const pcb_hid_action_t *a); +extern void pcb_hid_remove_actions_by_cookie(const char *cookie); + +int pcb_hid_action(const char *action_); +int pcb_hid_actionl(const char *action_, ...); /* NULL terminated */ +int pcb_hid_actionv(const char *action_, int argc_, const char **argv_); +int pcb_hid_actionv_(const pcb_hid_action_t *a, int argc, const char **argv); + +/* Parse the given command string into action calls, and call + hid_actionv for each action found. Accepts both "action(arg1, + arg2)" and command-style "action arg1 arg2", allowing only one + action in the later case. Returns nonzero if the action handler(s) + return nonzero. */ +int pcb_hid_parse_command(const char *str_); + +/* Parse the given string into action calls, and call + hid_actionv for each action found. Accepts only + "action(arg1, arg2)" */ +int pcb_hid_parse_actions(const char *str_); + +/* If the mouse cursor is in the drawin area, set x;y silently and return; + else show msg and let the user click in the drawing area */ +void pcb_hid_get_coords(const char *msg, pcb_coord_t *x, pcb_coord_t *y); + +#endif Index: trunk/src/board.c =================================================================== --- trunk/src/board.c (revision 17435) +++ trunk/src/board.c (revision 17436) @@ -31,7 +31,7 @@ #include "conf_core.h" #include "plug_io.h" #include "compat_misc.h" -#include "hid_actions.h" +#include "actions.h" #include "paths.h" #include "rtree.h" #include "undo.h" Index: trunk/src/buffer.c =================================================================== --- trunk/src/buffer.c (revision 17435) +++ trunk/src/buffer.c (revision 17436) @@ -57,7 +57,7 @@ #include "layer_grp.h" #include "event.h" #include "safe_fs.h" -#include "hid_actions.h" +#include "actions.h" static pcb_opfunc_t AddBufferFunctions = { pcb_lineop_add_to_buffer, Index: trunk/src/change.c =================================================================== --- trunk/src/change.c (revision 17435) +++ trunk/src/change.c (revision 17436) @@ -41,7 +41,7 @@ #include "draw.h" #include "select.h" #include "undo.h" -#include "hid_actions.h" +#include "actions.h" #include "compat_nls.h" #include "macro.h" #include "obj_pstk_op.h" Index: trunk/src/change_act.c =================================================================== --- trunk/src/change_act.c (revision 17435) +++ trunk/src/change_act.c (revision 17436) @@ -44,7 +44,7 @@ #include "board.h" #include "action_helper.h" -#include "hid_actions.h" +#include "actions.h" #include "change.h" #include "draw.h" #include "search.h" Index: trunk/src/crosshair.c =================================================================== --- trunk/src/crosshair.c (revision 17435) +++ trunk/src/crosshair.c (revision 17436) @@ -37,7 +37,7 @@ #include "draw_wireframe.h" #include "search.h" #include "polygon.h" -#include "hid_actions.h" +#include "actions.h" #include "hid_inlines.h" #include "compat_misc.h" #include "compat_nls.h" Index: trunk/src/file_act.c =================================================================== --- trunk/src/file_act.c (revision 17435) +++ trunk/src/file_act.c (revision 17436) @@ -45,7 +45,7 @@ #include "draw.h" #include "find.h" #include "search.h" -#include "hid_actions.h" +#include "actions.h" #include "compat_misc.h" #include "compat_nls.h" #include "hid_init.h" Index: trunk/src/find.c =================================================================== --- trunk/src/find.c (revision 17435) +++ trunk/src/find.c (revision 17436) @@ -71,7 +71,7 @@ #include "undo.h" #include "rats.h" #include "plug_io.h" -#include "hid_actions.h" +#include "actions.h" #include "misc_util.h" #include "compat_misc.h" #include "layer.h" Index: trunk/src/gui_act.c =================================================================== --- trunk/src/gui_act.c (revision 17435) +++ trunk/src/gui_act.c (revision 17436) @@ -48,7 +48,7 @@ #include "search.h" #include "find.h" #include "stub_stroke.h" -#include "hid_actions.h" +#include "actions.h" #include "hid_init.h" #include "compat_nls.h" #include "compat_misc.h" Index: trunk/src/hid_cfg_action.c =================================================================== --- trunk/src/hid_cfg_action.c (revision 17435) +++ trunk/src/hid_cfg_action.c (revision 17436) @@ -26,7 +26,7 @@ #include "config.h" #include "hid_cfg_action.h" -#include "hid_actions.h" +#include "actions.h" int pcb_hid_cfg_action(const lht_node_t *node) { Index: trunk/src/hid_flags.c =================================================================== --- trunk/src/hid_flags.c (revision 17435) +++ trunk/src/hid_flags.c (revision 17436) @@ -37,7 +37,7 @@ #include "genht/hash.h" #include "genht/htsp.h" #include "error.h" -#include "hid_actions.h" +#include "actions.h" int pcb_hid_get_flag(const char *name) { Index: trunk/src/main.c =================================================================== --- trunk/src/main.c (revision 17435) +++ trunk/src/main.c (revision 17436) @@ -66,7 +66,7 @@ #include "pcb_minuid.h" #include "tool.h" -#include "hid_actions.h" +#include "actions.h" #include "hid_init.h" #include "compat_misc.h" #include "compat_nls.h" Index: trunk/src/main_act.c =================================================================== --- trunk/src/main_act.c (revision 17435) +++ trunk/src/main_act.c (revision 17436) @@ -41,7 +41,7 @@ #include "crosshair.h" #include "compat_misc.h" #include "layer.h" -#include "hid_actions.h" +#include "actions.h" #include "hid_init.h" #include "conf_core.h" #include "plugins.h" Index: trunk/src/move.c =================================================================== --- trunk/src/move.c (revision 17435) +++ trunk/src/move.c (revision 17436) @@ -39,7 +39,7 @@ #include "select.h" #include "undo.h" #include "event.h" -#include "hid_actions.h" +#include "actions.h" #include "compat_misc.h" #include "obj_arc_op.h" #include "obj_line_op.h" Index: trunk/src/netlist.c =================================================================== --- trunk/src/netlist.c (revision 17435) +++ trunk/src/netlist.c (revision 17436) @@ -39,7 +39,7 @@ #include "plug_io.h" #include "find.h" #include "rats.h" -#include "hid_actions.h" +#include "actions.h" #include "compat_misc.h" #include "netlist.h" #include "event.h" Index: trunk/src/netlist_act.c =================================================================== --- trunk/src/netlist_act.c (revision 17435) +++ trunk/src/netlist_act.c (revision 17436) @@ -41,7 +41,7 @@ #include "board.h" #include "error.h" #include "plug_io.h" -#include "hid_actions.h" +#include "actions.h" #include "compat_nls.h" #include "compat_misc.h" #include "netlist.h" Index: trunk/src/obj_pstk_act.c =================================================================== --- trunk/src/obj_pstk_act.c (revision 17435) +++ trunk/src/obj_pstk_act.c (revision 17436) @@ -33,7 +33,7 @@ #include "board.h" #include "conf_core.h" #include "data.h" -#include "hid_actions.h" +#include "actions.h" static const char pcb_acts_padstackconvert[] = "PadstackConvert(buffer|selected, [originx, originy])"; static const char pcb_acth_padstackconvert[] = "Convert selection or current buffer to padstack"; Index: trunk/src/object_act.c =================================================================== --- trunk/src/object_act.c (revision 17435) +++ trunk/src/object_act.c (revision 17436) @@ -55,7 +55,7 @@ #include "obj_pstk.h" #include "macro.h" #include "rotate.h" -#include "hid_actions.h" +#include "actions.h" static const char pcb_acts_Attributes[] = "Attributes(Layout|Layer|Element|Subc)\n" "Attributes(Layer,layername)"; Index: trunk/src/plug_io.c =================================================================== --- trunk/src/plug_io.c (revision 17435) +++ trunk/src/plug_io.c (revision 17436) @@ -54,7 +54,7 @@ #include "remove.h" #include "paths.h" #include "rats_patch.h" -#include "hid_actions.h" +#include "actions.h" #include "hid_flags.h" #include "pcb-printf.h" #include "plugins.h" Index: trunk/src/polygon_act.c =================================================================== --- trunk/src/polygon_act.c (revision 17435) +++ trunk/src/polygon_act.c (revision 17436) @@ -46,7 +46,7 @@ #include "crosshair.h" #include "compat_nls.h" #include "tool.h" -#include "hid_actions.h" +#include "actions.h" #include "obj_poly.h" Index: trunk/src/rats_act.c =================================================================== --- trunk/src/rats_act.c (revision 17435) +++ trunk/src/rats_act.c (revision 17436) @@ -44,7 +44,7 @@ #include "funchash_core.h" #include "compat_nls.h" #include "obj_rat.h" -#include "hid_actions.h" +#include "actions.h" #include "rats.h" #include "draw.h" Index: trunk/src/remove_act.c =================================================================== --- trunk/src/remove_act.c (revision 17435) +++ trunk/src/remove_act.c (revision 17436) @@ -34,7 +34,7 @@ #include "config.h" #include "data.h" #include "action_helper.h" -#include "hid_actions.h" +#include "actions.h" #include "tool.h" #include "remove.h" #include "board.h" Index: trunk/src/select_act.c =================================================================== --- trunk/src/select_act.c (revision 17435) +++ trunk/src/select_act.c (revision 17436) @@ -50,7 +50,7 @@ #include "hid_attrib.h" #include "compat_misc.h" #include "compat_nls.h" -#include "hid_actions.h" +#include "actions.h" static const char pcb_acts_Select[] = Index: trunk/src/tool_arrow.c =================================================================== --- trunk/src/tool_arrow.c (revision 17435) +++ trunk/src/tool_arrow.c (revision 17436) @@ -40,7 +40,7 @@ #include "buffer.h" #include "crosshair.h" #include "data.h" -#include "hid_actions.h" +#include "actions.h" #include "remove.h" #include "search.h" #include "select.h" Index: trunk/src/tool_buffer.c =================================================================== --- trunk/src/tool_buffer.c (revision 17435) +++ trunk/src/tool_buffer.c (revision 17436) @@ -40,7 +40,7 @@ #include "buffer.h" #include "compat_misc.h" #include "data.h" -#include "hid_actions.h" +#include "actions.h" #include "rtree.h" #include "search.h" #include "tool.h" Index: trunk/src/tool_lock.c =================================================================== --- trunk/src/tool_lock.c (revision 17435) +++ trunk/src/tool_lock.c (revision 17436) @@ -39,7 +39,7 @@ #include "change.h" #include "data.h" #include "draw.h" -#include "hid_actions.h" +#include "actions.h" #include "search.h" #include "tool.h" #include "tool_lock.h" Index: trunk/src/tool_poly.c =================================================================== --- trunk/src/tool_poly.c (revision 17435) +++ trunk/src/tool_poly.c (revision 17436) @@ -37,7 +37,7 @@ #include "action_helper.h" #include "crosshair.h" -#include "hid_actions.h" +#include "actions.h" #include "polygon.h" #include "tool.h" Index: trunk/src/tool_polyhole.c =================================================================== --- trunk/src/tool_polyhole.c (revision 17435) +++ trunk/src/tool_polyhole.c (revision 17436) @@ -38,7 +38,7 @@ #include "action_helper.h" #include "compat_nls.h" #include "crosshair.h" -#include "hid_actions.h" +#include "actions.h" #include "polygon.h" #include "search.h" #include "tool.h" Index: trunk/src/tool_remove.c =================================================================== --- trunk/src/tool_remove.c (revision 17435) +++ trunk/src/tool_remove.c (revision 17436) @@ -38,7 +38,7 @@ #include "board.h" #include "compat_nls.h" #include "event.h" -#include "hid_actions.h" +#include "actions.h" #include "undo.h" #include "remove.h" #include "search.h" Index: trunk/src/tool_rotate.c =================================================================== --- trunk/src/tool_rotate.c (revision 17435) +++ trunk/src/tool_rotate.c (revision 17436) @@ -36,7 +36,7 @@ #include "conf_core.h" #include "action_helper.h" -#include "hid_actions.h" +#include "actions.h" #include "rotate.h" #include "tool.h" Index: trunk/src/tool_text.c =================================================================== --- trunk/src/tool_text.c (revision 17435) +++ trunk/src/tool_text.c (revision 17436) @@ -40,7 +40,7 @@ #include "compat_nls.h" #include "data.h" #include "draw.h" -#include "hid_actions.h" +#include "actions.h" #include "tool.h" #include "undo.h" Index: trunk/src/tool_thermal.c =================================================================== --- trunk/src/tool_thermal.c (revision 17435) +++ trunk/src/tool_thermal.c (revision 17436) @@ -38,7 +38,7 @@ #include "board.h" #include "change.h" #include "data.h" -#include "hid_actions.h" +#include "actions.h" #include "obj_pstk.h" #include "search.h" #include "thermal.h" Index: trunk/src_plugins/acompnet/acompnet.c =================================================================== --- trunk/src_plugins/acompnet/acompnet.c (revision 17435) +++ trunk/src_plugins/acompnet/acompnet.c (revision 17436) @@ -31,7 +31,7 @@ #include "layer_ui.h" /*#include "acompnet_conf.h"*/ #include "action_helper.h" -#include "hid_actions.h" +#include "actions.h" #include "plugins.h" #include "conf.h" #include "conf_core.h" Index: trunk/src_plugins/autocrop/autocrop.c =================================================================== --- trunk/src_plugins/autocrop/autocrop.c (revision 17435) +++ trunk/src_plugins/autocrop/autocrop.c (revision 17436) @@ -35,7 +35,7 @@ #include "data.h" #include "draw.h" #include "undo.h" -#include "hid_actions.h" +#include "actions.h" #include "plugins.h" static const char pcb_acth_autocrop[] = "Autocrops the board dimensions to (extants + a margin of 1 grid), keeping the move and board size grid aligned"; Index: trunk/src_plugins/autoplace/action.c =================================================================== --- trunk/src_plugins/autoplace/action.c (revision 17435) +++ trunk/src_plugins/autoplace/action.c (revision 17436) @@ -35,7 +35,7 @@ #include "config.h" #include "autoplace.h" #include "plugins.h" -#include "hid_actions.h" +#include "actions.h" #include "compat_nls.h" #include "board.h" #include "event.h" Index: trunk/src_plugins/autoroute/action.c =================================================================== --- trunk/src_plugins/autoroute/action.c (revision 17435) +++ trunk/src_plugins/autoroute/action.c (revision 17436) @@ -36,7 +36,7 @@ #include "autoroute.h" #include "action_helper.h" #include "plugins.h" -#include "hid_actions.h" +#include "actions.h" #include "event.h" /* action routines for the autorouter Index: trunk/src_plugins/boardflip/boardflip.c =================================================================== --- trunk/src_plugins/boardflip/boardflip.c (revision 17435) +++ trunk/src_plugins/boardflip/boardflip.c (revision 17436) @@ -34,7 +34,7 @@ #include "rtree.h" #include "undo.h" #include "plugins.h" -#include "hid_actions.h" +#include "actions.h" #include "compat_misc.h" #include "boardflip.h" Index: trunk/src_plugins/diag/diag.c =================================================================== --- trunk/src_plugins/diag/diag.c (revision 17435) +++ trunk/src_plugins/diag/diag.c (revision 17436) @@ -35,7 +35,7 @@ #include "layer.h" #include "diag_conf.h" #include "action_helper.h" -#include "hid_actions.h" +#include "actions.h" #include "plugins.h" #include "conf.h" #include "error.h" Index: trunk/src_plugins/dialogs/dialogs.c =================================================================== --- trunk/src_plugins/dialogs/dialogs.c (revision 17435) +++ trunk/src_plugins/dialogs/dialogs.c (revision 17436) @@ -30,7 +30,7 @@ #include "config.h" #include "hid.h" #include "hid_attrib.h" -#include "hid_actions.h" +#include "actions.h" #include "hid_dad.h" #include "action_helper.h" #include "plugins.h" Index: trunk/src_plugins/distalign/distalign.c =================================================================== --- trunk/src_plugins/distalign/distalign.c (revision 17435) +++ trunk/src_plugins/distalign/distalign.c (revision 17436) @@ -30,7 +30,7 @@ #include "plugins.h" #include "macro.h" #include "action_helper.h" -#include "hid_actions.h" +#include "actions.h" #include "compat_misc.h" #define ARG(n) (argc > (n) ? argv[n] : 0) Index: trunk/src_plugins/distaligntext/distaligntext.c =================================================================== --- trunk/src_plugins/distaligntext/distaligntext.c (revision 17435) +++ trunk/src_plugins/distaligntext/distaligntext.c (revision 17436) @@ -32,7 +32,7 @@ #include "draw.h" #include "plugins.h" #include "action_helper.h" -#include "hid_actions.h" +#include "actions.h" #include "conf_core.h" #include "box.h" #include "macro.h" Index: trunk/src_plugins/djopt/djopt.c =================================================================== --- trunk/src_plugins/djopt/djopt.c (revision 17435) +++ trunk/src_plugins/djopt/djopt.c (revision 17436) @@ -51,7 +51,7 @@ #include "compat_misc.h" #include "plugins.h" #include "hid_flags.h" -#include "hid_actions.h" +#include "actions.h" #include "djopt_conf.h" #include "obj_line.h" #include "event.h" Index: trunk/src_plugins/draw_csect/draw_csect.c =================================================================== --- trunk/src_plugins/draw_csect/draw_csect.c (revision 17435) +++ trunk/src_plugins/draw_csect/draw_csect.c (revision 17436) @@ -34,7 +34,7 @@ #include "plugins.h" #include "stub_draw.h" #include "compat_misc.h" -#include "hid_actions.h" +#include "actions.h" #include "event.h" #include "layer_vis.h" Index: trunk/src_plugins/draw_fontsel/draw_fontsel.c =================================================================== --- trunk/src_plugins/draw_fontsel/draw_fontsel.c (revision 17435) +++ trunk/src_plugins/draw_fontsel/draw_fontsel.c (revision 17436) @@ -35,7 +35,7 @@ #include "data.h" #include "draw.h" #include "font.h" -#include "hid_actions.h" +#include "actions.h" #include "plugins.h" #include "stub_draw.h" #include "pcb-printf.h" Index: trunk/src_plugins/expfeat/expfeat.c =================================================================== --- trunk/src_plugins/expfeat/expfeat.c (revision 17435) +++ trunk/src_plugins/expfeat/expfeat.c (revision 17436) @@ -32,7 +32,7 @@ #include "error.h" #include "undo.h" #include "plugins.h" -#include "hid_actions.h" +#include "actions.h" static const char pcb_acts_ExpFeatTmp[] = "ExpFeatTmp(...)"; Index: trunk/src_plugins/export_dsn/dsn.c =================================================================== --- trunk/src_plugins/export_dsn/dsn.c (revision 17435) +++ trunk/src_plugins/export_dsn/dsn.c (revision 17436) @@ -60,7 +60,7 @@ #include "hid.h" #include "hid_draw_helpers.h" #include "hid_nogui.h" -#include "hid_actions.h" +#include "actions.h" #include "hid_init.h" #include "hid_attrib.h" #include "hid_helper.h" Index: trunk/src_plugins/export_lpr/lpr.c =================================================================== --- trunk/src_plugins/export_lpr/lpr.c (revision 17435) +++ trunk/src_plugins/export_lpr/lpr.c (revision 17436) @@ -16,7 +16,7 @@ #include "hid_nogui.h" #include "hid_init.h" #include "hid_attrib.h" -#include "hid_actions.h" +#include "actions.h" const char *lpr_cookie = "lpr HID"; Index: trunk/src_plugins/export_openems/export_openems.c =================================================================== --- trunk/src_plugins/export_openems/export_openems.c (revision 17435) +++ trunk/src_plugins/export_openems/export_openems.c (revision 17436) @@ -43,7 +43,7 @@ #include "obj_pstk_inlines.h" #include "hid.h" -#include "hid_actions.h" +#include "actions.h" #include "hid_nogui.h" #include "hid_helper.h" #include "hid_flags.h" Index: trunk/src_plugins/export_openscad/export_openscad.c =================================================================== --- trunk/src_plugins/export_openscad/export_openscad.c (revision 17435) +++ trunk/src_plugins/export_openscad/export_openscad.c (revision 17436) @@ -53,7 +53,7 @@ #include "hid_draw_helpers.h" #include "hid_init.h" -#include "hid_actions.h" +#include "actions.h" #include "hid_attrib.h" #include "hid_color.h" #include "hid_helper.h" Index: trunk/src_plugins/export_ps/ps.c =================================================================== --- trunk/src_plugins/export_ps/ps.c (revision 17435) +++ trunk/src_plugins/export_ps/ps.c (revision 17436) @@ -25,7 +25,7 @@ #include "hid_init.h" #include "hid_attrib.h" #include "hid_flags.h" -#include "hid_actions.h" +#include "actions.h" #include "conf_core.h" #include "compat_misc.h" #include "compat_nls.h" Index: trunk/src_plugins/extedit/extedit.c =================================================================== --- trunk/src_plugins/extedit/extedit.c (revision 17435) +++ trunk/src_plugins/extedit/extedit.c (revision 17436) @@ -31,7 +31,7 @@ #include "hid.h" #include "hid_attrib.h" -#include "hid_actions.h" +#include "actions.h" #include "hid_dad.h" #include "action_helper.h" #include "plugins.h" Index: trunk/src_plugins/fontmode/fontmode.c =================================================================== --- trunk/src_plugins/fontmode/fontmode.c (revision 17435) +++ trunk/src_plugins/fontmode/fontmode.c (revision 17436) @@ -52,7 +52,7 @@ #include "undo.h" #include "pcb-printf.h" #include "plugins.h" -#include "hid_actions.h" +#include "actions.h" #include "compat_misc.h" #include "event.h" #include "polygon.h" Index: trunk/src_plugins/gpmi/pcb-gpmi/gpmi_plugin/gpmi_pkg/actions/actions.c =================================================================== --- trunk/src_plugins/gpmi/pcb-gpmi/gpmi_plugin/gpmi_pkg/actions/actions.c (revision 17435) +++ trunk/src_plugins/gpmi/pcb-gpmi/gpmi_plugin/gpmi_pkg/actions/actions.c (revision 17436) @@ -6,7 +6,7 @@ #include "src/hid.h" #include "src/error.h" #include "actions.h" -#include "src/hid_actions.h" +#include "src/actions.h" #include "src/compat_misc.h" #include "src/crosshair.h" #include "../../gpmi_plugin.h" Index: trunk/src_plugins/gpmi/pcb-gpmi/gpmi_plugin/gpmi_plugin.c =================================================================== --- trunk/src_plugins/gpmi/pcb-gpmi/gpmi_plugin/gpmi_plugin.c (revision 17435) +++ trunk/src_plugins/gpmi/pcb-gpmi/gpmi_plugin/gpmi_plugin.c (revision 17436) @@ -11,7 +11,7 @@ #include "src/paths.h" #include "src/error.h" #include "src/plugins.h" -#include "src/hid_actions.h" +#include "src/actions.h" #include "scripts.h" #include "manage_scripts.h" Index: trunk/src_plugins/hid_batch/batch.c =================================================================== --- trunk/src_plugins/hid_batch/batch.c (revision 17435) +++ trunk/src_plugins/hid_batch/batch.c (revision 17436) @@ -17,7 +17,7 @@ #include "hid_draw_helpers.h" #include "hid_nogui.h" -#include "hid_actions.h" +#include "actions.h" #include "hid_init.h" #include "hid_attrib.h" Index: trunk/src_plugins/hid_lesstif/dialogs.c =================================================================== --- trunk/src_plugins/hid_lesstif/dialogs.c (revision 17435) +++ trunk/src_plugins/hid_lesstif/dialogs.c (revision 17436) @@ -20,7 +20,7 @@ #include "hid.h" #include "lesstif.h" #include "hid_attrib.h" -#include "hid_actions.h" +#include "actions.h" #include "hid_init.h" #include "stdarg.h" #include "misc_util.h" Index: trunk/src_plugins/hid_lesstif/main.c =================================================================== --- trunk/src_plugins/hid_lesstif/main.c (revision 17435) +++ trunk/src_plugins/hid_lesstif/main.c (revision 17436) @@ -41,7 +41,7 @@ #include "hid_color.h" #include "hid_extents.h" #include "hid_flags.h" -#include "hid_actions.h" +#include "actions.h" #include "stdarg.h" #include "grid.h" #include "misc_util.h" Index: trunk/src_plugins/hid_lesstif/menu.c =================================================================== --- trunk/src_plugins/hid_lesstif/menu.c (revision 17435) +++ trunk/src_plugins/hid_lesstif/menu.c (revision 17436) @@ -21,7 +21,7 @@ #include "conf_hid.h" #include "lesstif.h" #include "paths.h" -#include "hid_actions.h" +#include "actions.h" #include "hid_flags.h" #include "stdarg.h" #include "event.h" Index: trunk/src_plugins/hid_lesstif/netlist.c =================================================================== --- trunk/src_plugins/hid_lesstif/netlist.c (revision 17435) +++ trunk/src_plugins/hid_lesstif/netlist.c (revision 17436) @@ -20,7 +20,7 @@ #include "event.h" #include "hid.h" -#include "hid_actions.h" +#include "actions.h" #include "lesstif.h" #include "stdarg.h" Index: trunk/src_plugins/hid_remote/remote.c =================================================================== --- trunk/src_plugins/hid_remote/remote.c (revision 17435) +++ trunk/src_plugins/hid_remote/remote.c (revision 17436) @@ -18,7 +18,7 @@ #include "hid_draw_helpers.h" #include "hid_nogui.h" -#include "hid_actions.h" +#include "actions.h" #include "hid_init.h" static const char *remote_cookie = "remote HID"; Index: trunk/src_plugins/import_dsn/dsn.c =================================================================== --- trunk/src_plugins/import_dsn/dsn.c (revision 17435) +++ trunk/src_plugins/import_dsn/dsn.c (revision 17436) @@ -41,7 +41,7 @@ #include "safe_fs.h" #include "action_helper.h" -#include "hid_actions.h" +#include "actions.h" #include "hid.h" #include "plugins.h" Index: trunk/src_plugins/import_hpgl/hpgl.c =================================================================== --- trunk/src_plugins/import_hpgl/hpgl.c (revision 17435) +++ trunk/src_plugins/import_hpgl/hpgl.c (revision 17436) @@ -44,7 +44,7 @@ #include "safe_fs.h" #include "action_helper.h" -#include "hid_actions.h" +#include "actions.h" #include "plugins.h" #include "hid.h" Index: trunk/src_plugins/import_ipcd356/ipcd356.c =================================================================== --- trunk/src_plugins/import_ipcd356/ipcd356.c (revision 17435) +++ trunk/src_plugins/import_ipcd356/ipcd356.c (revision 17436) @@ -39,7 +39,7 @@ #include "hid.h" #include "action_helper.h" #include "compat_misc.h" -#include "hid_actions.h" +#include "actions.h" #include "plugins.h" #include "rtree.h" Index: trunk/src_plugins/import_ltspice/ltspice.c =================================================================== --- trunk/src_plugins/import_ltspice/ltspice.c (revision 17435) +++ trunk/src_plugins/import_ltspice/ltspice.c (revision 17436) @@ -42,7 +42,7 @@ #include "safe_fs.h" #include "action_helper.h" -#include "hid_actions.h" +#include "actions.h" #include "plugins.h" #include "hid.h" Index: trunk/src_plugins/import_mentor_sch/mentor_sch.c =================================================================== --- trunk/src_plugins/import_mentor_sch/mentor_sch.c (revision 17435) +++ trunk/src_plugins/import_mentor_sch/mentor_sch.c (revision 17436) @@ -40,7 +40,7 @@ #include #include "action_helper.h" -#include "hid_actions.h" +#include "actions.h" #include "plugins.h" #include "hid.h" #include "mentor_sch_conf.h" Index: trunk/src_plugins/import_mentor_sch/netlist_helper.c =================================================================== --- trunk/src_plugins/import_mentor_sch/netlist_helper.c (revision 17435) +++ trunk/src_plugins/import_mentor_sch/netlist_helper.c (revision 17436) @@ -37,7 +37,7 @@ #include "compat_misc.h" #include "pcb-printf.h" #include "error.h" -#include "hid_actions.h" +#include "actions.h" #include "safe_fs.h" Index: trunk/src_plugins/import_mucs/mucs.c =================================================================== --- trunk/src_plugins/import_mucs/mucs.c (revision 17435) +++ trunk/src_plugins/import_mucs/mucs.c (revision 17436) @@ -46,7 +46,7 @@ #include "safe_fs.h" #include "action_helper.h" -#include "hid_actions.h" +#include "actions.h" #include "plugins.h" #include "layer.h" #include "conf_core.h" Index: trunk/src_plugins/import_sch/import_sch.c =================================================================== --- trunk/src_plugins/import_sch/import_sch.c (revision 17435) +++ trunk/src_plugins/import_sch/import_sch.c (revision 17436) @@ -47,7 +47,7 @@ #include "pcb-printf.h" #include "remove.h" #include "rats.h" -#include "hid_actions.h" +#include "actions.h" #include "import_sch_conf.h" #include "misc_util.h" #include "compat_nls.h" Index: trunk/src_plugins/import_tinycad/tinycad.c =================================================================== --- trunk/src_plugins/import_tinycad/tinycad.c (revision 17435) +++ trunk/src_plugins/import_tinycad/tinycad.c (revision 17436) @@ -41,7 +41,7 @@ #include "safe_fs.h" #include "action_helper.h" -#include "hid_actions.h" +#include "actions.h" #include "plugins.h" #include "hid.h" Index: trunk/src_plugins/io_autotrax/io_autotrax.c =================================================================== --- trunk/src_plugins/io_autotrax/io_autotrax.c (revision 17435) +++ trunk/src_plugins/io_autotrax/io_autotrax.c (revision 17436) @@ -36,7 +36,7 @@ #include "plug_io.h" #include "write.h" #include "read.h" -#include "hid_actions.h" +#include "actions.h" #include "board.h" #include "netlist.h" Index: trunk/src_plugins/io_autotrax/read.c =================================================================== --- trunk/src_plugins/io_autotrax/read.c (revision 17435) +++ trunk/src_plugins/io_autotrax/read.c (revision 17436) @@ -49,7 +49,7 @@ #include "safe_fs.h" #include "rotate.h" #include "../src_plugins/boardflip/boardflip.h" -#include "hid_actions.h" +#include "actions.h" #include "../src_plugins/lib_compat_help/pstk_compat.h" #include "../src_plugins/lib_compat_help/pstk_help.h" Index: trunk/src_plugins/io_eagle/io_eagle.c =================================================================== --- trunk/src_plugins/io_eagle/io_eagle.c (revision 17435) +++ trunk/src_plugins/io_eagle/io_eagle.c (revision 17436) @@ -33,7 +33,7 @@ #include "plug_io.h" #include "read.h" #include "read_dru.h" -#include "hid_actions.h" +#include "actions.h" static pcb_plug_io_t io_eagle_xml, io_eagle_bin, io_eagle_dru; static const char *eagle_cookie = "eagle plugin"; Index: trunk/src_plugins/io_eagle/read.c =================================================================== --- trunk/src_plugins/io_eagle/read.c (revision 17435) +++ trunk/src_plugins/io_eagle/read.c (revision 17436) @@ -38,7 +38,7 @@ #include "error.h" #include "polygon.h" #include "rtree.h" -#include "hid_actions.h" +#include "actions.h" #include "compat_misc.h" #include "trparse.h" #include "trparse_xml.h" Index: trunk/src_plugins/io_hyp/hyp_l.c =================================================================== --- trunk/src_plugins/io_hyp/hyp_l.c (revision 17435) +++ trunk/src_plugins/io_hyp/hyp_l.c (revision 17436) @@ -36,7 +36,7 @@ #define FLEX_SCANNER #define YY_FLEX_MAJOR_VERSION 2 #define YY_FLEX_MINOR_VERSION 5 -#define YY_FLEX_SUBMINOR_VERSION 39 +#define YY_FLEX_SUBMINOR_VERSION 35 #if YY_FLEX_SUBMINOR_VERSION > 0 #define FLEX_BETA #endif @@ -223,13 +223,8 @@ typedef struct yy_buffer_state *YY_BUFFER_STATE; #endif -#ifndef YY_TYPEDEF_YY_SIZE_T -#define YY_TYPEDEF_YY_SIZE_T -typedef size_t yy_size_t; -#endif - /* %if-not-reentrant */ -extern yy_size_t hyyleng; +extern int hyyleng; /* %endif */ /* %if-c-only */ @@ -256,13 +251,6 @@ if ( hyytext[yyl] == '\n' )\ --hyylineno;\ }while(0) - #define YY_LINENO_REWIND_TO(dst) \ - do {\ - const char *p;\ - for ( p = yy_cp-1; p >= (dst); --p)\ - if ( *p == '\n' )\ - --hyylineno;\ - }while(0) /* Return all but the first "n" matched characters back to the input stream. */ #define yyless(n) \ @@ -280,6 +268,11 @@ #define unput(c) yyunput( c, (yytext_ptr) ) +#ifndef YY_TYPEDEF_YY_SIZE_T +#define YY_TYPEDEF_YY_SIZE_T +typedef size_t yy_size_t; +#endif + #ifndef YY_STRUCT_YY_BUFFER_STATE #define YY_STRUCT_YY_BUFFER_STATE struct yy_buffer_state @@ -302,7 +295,7 @@ /* Number of characters read into yy_ch_buf, not including EOB * characters. */ - yy_size_t yy_n_chars; + int yy_n_chars; /* Whether we "own" the buffer - i.e., we know we created it, * and can realloc() it to grow it, and should free() it to @@ -386,8 +379,8 @@ /* yy_hold_char holds the character lost when hyytext is formed. */ static char yy_hold_char; -static yy_size_t yy_n_chars; /* number of characters read into yy_ch_buf */ -yy_size_t hyyleng; +static int yy_n_chars; /* number of characters read into yy_ch_buf */ +int hyyleng; /* Points to current character in buffer. */ static char *yy_c_buf_p = (char *) 0; @@ -418,7 +411,7 @@ YY_BUFFER_STATE hyy_scan_buffer (char *base,yy_size_t size ); YY_BUFFER_STATE hyy_scan_string (yyconst char *yy_str ); -YY_BUFFER_STATE hyy_scan_bytes (yyconst char *bytes,yy_size_t len ); +YY_BUFFER_STATE hyy_scan_bytes (yyconst char *bytes,int len ); /* %endif */ @@ -453,7 +446,7 @@ /* %% [1.0] hyytext/hyyin/hyyout/yy_state_type/hyylineno etc. def's & init go here */ /* Begin user sect3 */ -#define hyywrap() 1 +#define hyywrap(n) 1 #define YY_SKIP_YYWRAP #define FLEX_DEBUG @@ -471,8 +464,6 @@ extern char *hyytext; #define yytext_ptr hyytext -/* %% [1.5] DFA */ - /* %if-c-only Standard (non-C++) definition */ static yy_state_type yy_get_previous_state (void ); @@ -2050,7 +2041,7 @@ /* all variables used in assignments */ /* an unquoted string with spaces is terminated by the next assignment or the end of line */ /* an empty string is terminated by the next assignment, a ')' or a '}' */ -#line 2054 "hyp_l.c" +#line 2045 "hyp_l.c" #define INITIAL 0 #define STATE_STRING 1 @@ -2107,7 +2098,7 @@ void hyyset_out (FILE * out_str ); -yy_size_t hyyget_leng (void ); +int hyyget_leng (void ); char *hyyget_text (void ); @@ -2195,7 +2186,7 @@ if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \ { \ int c = '*'; \ - int n; \ + size_t n; \ for ( n = 0; n < max_size && \ (c = getc( hyyin )) != EOF && c != '\n'; ++n ) \ buf[n] = (char) c; \ @@ -2208,7 +2199,7 @@ else \ { \ errno=0; \ - while ( (result = fread(buf, 1, (yy_size_t) max_size, hyyin)) == 0 && ferror(hyyin)) \ + while ( (result = fread(buf, 1, max_size, hyyin))==0 && ferror(hyyin)) \ { \ if( errno != EINTR) \ { \ @@ -2304,6 +2295,13 @@ register char *yy_cp, *yy_bp; register int yy_act; +/* %% [7.0] user's declarations go here */ +#line 139 "hyp_l.l" + + + /* When in STATE_COMMENT skip all comment until next right brace */ +#line 2304 "hyp_l.c" + if ( !(yy_init) ) { (yy_init) = 1; @@ -2344,14 +2342,6 @@ hyy_load_buffer_state( ); } - { -/* %% [7.0] user's declarations go here */ -#line 139 "hyp_l.l" - - - /* When in STATE_COMMENT skip all comment until next right brace */ -#line 2354 "hyp_l.c" - while ( 1 ) /* loops until end-of-file is reached */ { /* %% [8.0] yymore()-related code goes here */ @@ -2375,7 +2365,7 @@ yy_match: do { - register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)] ; + register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)]; while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) { yy_current_state = (int) yy_def[yy_current_state]; @@ -2414,7 +2404,7 @@ if ( yy_act != YY_END_OF_BUFFER && yy_rule_can_match_eol[yy_act] ) { - yy_size_t yyl; + int yyl; for ( yyl = 0; yyl < hyyleng; ++yyl ) if ( hyytext[yyl] == '\n' ) @@ -3388,7 +3378,7 @@ #line 400 "hyp_l.l" YY_FATAL_ERROR( "flex scanner jammed" ); YY_BREAK -#line 3392 "hyp_l.c" +#line 3382 "hyp_l.c" case YY_END_OF_BUFFER: { @@ -3518,7 +3508,6 @@ "fatal flex scanner internal error--no action found" ); } /* end of action switch */ } /* end of scanning one token */ - } /* end of user's declarations */ } /* end of hyylex */ /* %ok-for-header */ @@ -3602,7 +3591,7 @@ /* Read in more data. */ YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]), - (yy_n_chars), num_to_read ); + (yy_n_chars), (size_t) num_to_read ); YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); } @@ -3706,7 +3695,7 @@ if ( ! yy_is_jam ) *(yy_state_ptr)++ = yy_current_state; - return yy_is_jam ? 0 : yy_current_state; + return yy_is_jam ? 0 : yy_current_state; } /* %if-c-only */ @@ -3726,7 +3715,7 @@ if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 ) { /* need to shift things up to make room */ /* +2 for EOB chars. */ - register yy_size_t number_to_move = (yy_n_chars) + 2; + register int number_to_move = (yy_n_chars) + 2; register char *dest = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[ YY_CURRENT_BUFFER_LVALUE->yy_buf_size + 2]; register char *source = @@ -3788,7 +3777,7 @@ else { /* need more input */ - yy_size_t offset = (yy_c_buf_p) - (yytext_ptr); + int offset = (yy_c_buf_p) - (yytext_ptr); ++(yy_c_buf_p); switch ( yy_get_next_buffer( ) ) @@ -3977,6 +3966,17 @@ hyyfree((void *) b ); } +/* %if-c-only */ + +#ifndef __cplusplus +extern int isatty (int ); +#endif /* __cplusplus */ + +/* %endif */ + +/* %if-c++-only */ +/* %endif */ + /* Initializes or reinitializes a buffer. * This function is sometimes called more than once on the same buffer, * such as during a hyyrestart() or at EOF. @@ -4119,7 +4119,7 @@ /* %if-c++-only */ /* %endif */ { - yy_size_t num_to_alloc; + int num_to_alloc; if (!(yy_buffer_stack)) { @@ -4222,12 +4222,12 @@ * * @return the newly allocated buffer state object. */ -YY_BUFFER_STATE hyy_scan_bytes (yyconst char * yybytes, yy_size_t _yybytes_len ) +YY_BUFFER_STATE hyy_scan_bytes (yyconst char * yybytes, int _yybytes_len ) { YY_BUFFER_STATE b; char *buf; yy_size_t n; - yy_size_t i; + int i; /* Get memory for full buffer, including space for trailing EOB's. */ n = _yybytes_len + 2; @@ -4318,7 +4318,7 @@ /** Get the length of the current token. * */ -yy_size_t hyyget_leng (void) +int hyyget_leng (void) { return hyyleng; } @@ -4498,7 +4498,7 @@ /* %ok-for-header */ -#line 399 "hyp_l.l" +#line 400 "hyp_l.l" Index: trunk/src_plugins/io_hyp/hyp_l.h =================================================================== --- trunk/src_plugins/io_hyp/hyp_l.h (revision 17435) +++ trunk/src_plugins/io_hyp/hyp_l.h (revision 17436) @@ -15,7 +15,7 @@ #define FLEX_SCANNER #define YY_FLEX_MAJOR_VERSION 2 #define YY_FLEX_MINOR_VERSION 5 -#define YY_FLEX_SUBMINOR_VERSION 39 +#define YY_FLEX_SUBMINOR_VERSION 35 #if YY_FLEX_SUBMINOR_VERSION > 0 #define FLEX_BETA #endif @@ -165,13 +165,8 @@ typedef struct yy_buffer_state *YY_BUFFER_STATE; #endif -#ifndef YY_TYPEDEF_YY_SIZE_T -#define YY_TYPEDEF_YY_SIZE_T -typedef size_t yy_size_t; -#endif - /* %if-not-reentrant */ -extern yy_size_t hyyleng; +extern int hyyleng; /* %endif */ /* %if-c-only */ @@ -180,6 +175,11 @@ /* %endif */ /* %endif */ +#ifndef YY_TYPEDEF_YY_SIZE_T +#define YY_TYPEDEF_YY_SIZE_T +typedef size_t yy_size_t; +#endif + #ifndef YY_STRUCT_YY_BUFFER_STATE #define YY_STRUCT_YY_BUFFER_STATE struct yy_buffer_state @@ -202,7 +202,7 @@ /* Number of characters read into yy_ch_buf, not including EOB * characters. */ - yy_size_t yy_n_chars; + int yy_n_chars; /* Whether we "own" the buffer - i.e., we know we created it, * and can realloc() it to grow it, and should free() it to @@ -258,7 +258,7 @@ YY_BUFFER_STATE hyy_scan_buffer (char *base,yy_size_t size ); YY_BUFFER_STATE hyy_scan_string (yyconst char *yy_str ); -YY_BUFFER_STATE hyy_scan_bytes (yyconst char *bytes,yy_size_t len ); +YY_BUFFER_STATE hyy_scan_bytes (yyconst char *bytes,int len ); /* %endif */ @@ -269,7 +269,7 @@ /* %% [1.0] hyytext/hyyin/hyyout/yy_state_type/hyylineno etc. def's & init go here */ /* Begin user sect3 */ -#define hyywrap() 1 +#define hyywrap(n) 1 #define YY_SKIP_YYWRAP #define FLEX_DEBUG @@ -339,7 +339,7 @@ void hyyset_out (FILE * out_str ); -yy_size_t hyyget_leng (void ); +int hyyget_leng (void ); char *hyyget_text (void ); @@ -444,7 +444,7 @@ #undef YY_DECL #endif -#line 399 "hyp_l.l" +#line 400 "hyp_l.l" #line 451 "hyp_l.h" Index: trunk/src_plugins/io_hyp/hyp_y.c =================================================================== --- trunk/src_plugins/io_hyp/hyp_y.c (revision 17435) +++ trunk/src_plugins/io_hyp/hyp_y.c (revision 17436) @@ -1,8 +1,8 @@ -/* A Bison parser, made by GNU Bison 3.0.4. */ +/* A Bison parser, made by GNU Bison 3.0.2. */ /* Bison implementation for Yacc-like parsers in C - Copyright (C) 1984, 1989-1990, 2000-2015 Free Software Foundation, Inc. + Copyright (C) 1984, 1989-1990, 2000-2013 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -44,7 +44,7 @@ #define YYBISON 1 /* Bison version. */ -#define YYBISON_VERSION "3.0.4" +#define YYBISON_VERSION "3.0.2" /* Skeleton name. */ #define YYSKELETON_NAME "yacc.c" @@ -227,7 +227,7 @@ /* Value type. */ #if ! defined HYYSTYPE && ! defined HYYSTYPE_IS_DECLARED - +typedef union HYYSTYPE HYYSTYPE; union HYYSTYPE { #line 30 "hyp_y.y" /* yacc.c:355 */ @@ -239,8 +239,6 @@ #line 241 "hyp_y.c" /* yacc.c:355 */ }; - -typedef union HYYSTYPE HYYSTYPE; # define HYYSTYPE_IS_TRIVIAL 1 # define HYYSTYPE_IS_DECLARED 1 #endif @@ -274,7 +272,7 @@ static parse_param h; -#line 278 "hyp_y.c" /* yacc.c:358 */ +#line 276 "hyp_y.c" /* yacc.c:358 */ #ifdef short # undef short @@ -1869,947 +1867,947 @@ case 19: #line 151 "hyp_y.y" /* yacc.c:1646 */ { if (exec_board_file(&h)) YYERROR; } -#line 1873 "hyp_y.c" /* yacc.c:1646 */ +#line 1871 "hyp_y.c" /* yacc.c:1646 */ break; case 21: #line 156 "hyp_y.y" /* yacc.c:1646 */ { h.vers = yylval.floatval; } -#line 1879 "hyp_y.c" /* yacc.c:1646 */ +#line 1877 "hyp_y.c" /* yacc.c:1646 */ break; case 22: #line 156 "hyp_y.y" /* yacc.c:1646 */ { if (exec_version(&h)) YYERROR; } -#line 1885 "hyp_y.c" /* yacc.c:1646 */ +#line 1883 "hyp_y.c" /* yacc.c:1646 */ break; case 23: #line 161 "hyp_y.y" /* yacc.c:1646 */ { if (exec_data_mode(&h)) YYERROR; } -#line 1891 "hyp_y.c" /* yacc.c:1646 */ +#line 1889 "hyp_y.c" /* yacc.c:1646 */ break; case 24: #line 164 "hyp_y.y" /* yacc.c:1646 */ { h.detailed = pcb_false; } -#line 1897 "hyp_y.c" /* yacc.c:1646 */ +#line 1895 "hyp_y.c" /* yacc.c:1646 */ break; case 25: #line 165 "hyp_y.y" /* yacc.c:1646 */ { h.detailed = pcb_true; } -#line 1903 "hyp_y.c" /* yacc.c:1646 */ +#line 1901 "hyp_y.c" /* yacc.c:1646 */ break; case 26: #line 170 "hyp_y.y" /* yacc.c:1646 */ { if (exec_units(&h)) YYERROR; } -#line 1909 "hyp_y.c" /* yacc.c:1646 */ +#line 1907 "hyp_y.c" /* yacc.c:1646 */ break; case 27: #line 173 "hyp_y.y" /* yacc.c:1646 */ { h.unit_system_english = pcb_true; } -#line 1915 "hyp_y.c" /* yacc.c:1646 */ +#line 1913 "hyp_y.c" /* yacc.c:1646 */ break; case 28: #line 174 "hyp_y.y" /* yacc.c:1646 */ { h.unit_system_english = pcb_false; } -#line 1921 "hyp_y.c" /* yacc.c:1646 */ +#line 1919 "hyp_y.c" /* yacc.c:1646 */ break; case 29: #line 177 "hyp_y.y" /* yacc.c:1646 */ { h.metal_thickness_weight = pcb_true; } -#line 1927 "hyp_y.c" /* yacc.c:1646 */ +#line 1925 "hyp_y.c" /* yacc.c:1646 */ break; case 30: #line 178 "hyp_y.y" /* yacc.c:1646 */ { h.metal_thickness_weight = pcb_false; } -#line 1933 "hyp_y.c" /* yacc.c:1646 */ +#line 1931 "hyp_y.c" /* yacc.c:1646 */ break; case 31: #line 182 "hyp_y.y" /* yacc.c:1646 */ { h.default_plane_separation = yylval.floatval; } -#line 1939 "hyp_y.c" /* yacc.c:1646 */ +#line 1937 "hyp_y.c" /* yacc.c:1646 */ break; case 32: #line 182 "hyp_y.y" /* yacc.c:1646 */ { if (exec_plane_sep(&h)) YYERROR; } -#line 1945 "hyp_y.c" /* yacc.c:1646 */ +#line 1943 "hyp_y.c" /* yacc.c:1646 */ break; case 38: #line 196 "hyp_y.y" /* yacc.c:1646 */ { hyyerror("warning: missing ')'"); } -#line 1951 "hyp_y.c" /* yacc.c:1646 */ +#line 1949 "hyp_y.c" /* yacc.c:1646 */ break; case 43: #line 206 "hyp_y.y" /* yacc.c:1646 */ { if (exec_perimeter_segment(&h)) YYERROR; } -#line 1957 "hyp_y.c" /* yacc.c:1646 */ +#line 1955 "hyp_y.c" /* yacc.c:1646 */ break; case 44: #line 209 "hyp_y.y" /* yacc.c:1646 */ { if (exec_perimeter_arc(&h)) YYERROR; } -#line 1963 "hyp_y.c" /* yacc.c:1646 */ +#line 1961 "hyp_y.c" /* yacc.c:1646 */ break; case 45: #line 212 "hyp_y.y" /* yacc.c:1646 */ { h.name = yylval.strval; } -#line 1969 "hyp_y.c" /* yacc.c:1646 */ +#line 1967 "hyp_y.c" /* yacc.c:1646 */ break; case 46: #line 212 "hyp_y.y" /* yacc.c:1646 */ { h.value = yylval.strval; } -#line 1975 "hyp_y.c" /* yacc.c:1646 */ +#line 1973 "hyp_y.c" /* yacc.c:1646 */ break; case 47: #line 212 "hyp_y.y" /* yacc.c:1646 */ { if (exec_board_attribute(&h)) YYERROR; } -#line 1981 "hyp_y.c" /* yacc.c:1646 */ +#line 1979 "hyp_y.c" /* yacc.c:1646 */ break; case 56: #line 231 "hyp_y.y" /* yacc.c:1646 */ { if (exec_options(&h)) YYERROR; } -#line 1987 "hyp_y.c" /* yacc.c:1646 */ +#line 1985 "hyp_y.c" /* yacc.c:1646 */ break; case 57: #line 234 "hyp_y.y" /* yacc.c:1646 */ { h.use_die_for_metal = yylval.boolval; } -#line 1993 "hyp_y.c" /* yacc.c:1646 */ +#line 1991 "hyp_y.c" /* yacc.c:1646 */ break; case 60: #line 239 "hyp_y.y" /* yacc.c:1646 */ { new_record(); } -#line 1999 "hyp_y.c" /* yacc.c:1646 */ +#line 1997 "hyp_y.c" /* yacc.c:1646 */ break; case 61: #line 239 "hyp_y.y" /* yacc.c:1646 */ { if (exec_signal(&h)) YYERROR; } -#line 2005 "hyp_y.c" /* yacc.c:1646 */ +#line 2003 "hyp_y.c" /* yacc.c:1646 */ break; case 66: #line 248 "hyp_y.y" /* yacc.c:1646 */ { h.bulk_resistivity = yylval.floatval; h.bulk_resistivity_set = pcb_true; } -#line 2011 "hyp_y.c" /* yacc.c:1646 */ +#line 2009 "hyp_y.c" /* yacc.c:1646 */ break; case 74: #line 258 "hyp_y.y" /* yacc.c:1646 */ { new_record(); } -#line 2017 "hyp_y.c" /* yacc.c:1646 */ +#line 2015 "hyp_y.c" /* yacc.c:1646 */ break; case 75: #line 258 "hyp_y.y" /* yacc.c:1646 */ { if (exec_dielectric(&h)) YYERROR; } -#line 2023 "hyp_y.c" /* yacc.c:1646 */ +#line 2021 "hyp_y.c" /* yacc.c:1646 */ break; case 79: #line 266 "hyp_y.y" /* yacc.c:1646 */ { h.epsilon_r = yylval.floatval; h.epsilon_r_set = pcb_true; } -#line 2029 "hyp_y.c" /* yacc.c:1646 */ +#line 2027 "hyp_y.c" /* yacc.c:1646 */ break; case 86: #line 276 "hyp_y.y" /* yacc.c:1646 */ { new_record(); } -#line 2035 "hyp_y.c" /* yacc.c:1646 */ +#line 2033 "hyp_y.c" /* yacc.c:1646 */ break; case 87: #line 276 "hyp_y.y" /* yacc.c:1646 */ { if (exec_plane(&h)) YYERROR; } -#line 2041 "hyp_y.c" /* yacc.c:1646 */ +#line 2039 "hyp_y.c" /* yacc.c:1646 */ break; case 91: #line 284 "hyp_y.y" /* yacc.c:1646 */ { h.bulk_resistivity = yylval.floatval; h.bulk_resistivity_set = pcb_true; } -#line 2047 "hyp_y.c" /* yacc.c:1646 */ +#line 2045 "hyp_y.c" /* yacc.c:1646 */ break; case 99: #line 294 "hyp_y.y" /* yacc.c:1646 */ { h.thickness = yylval.floatval; h.thickness_set = pcb_true; } -#line 2053 "hyp_y.c" /* yacc.c:1646 */ +#line 2051 "hyp_y.c" /* yacc.c:1646 */ break; case 100: #line 297 "hyp_y.y" /* yacc.c:1646 */ { h.plating_thickness = yylval.floatval; h.plating_thickness_set = pcb_true; } -#line 2059 "hyp_y.c" /* yacc.c:1646 */ +#line 2057 "hyp_y.c" /* yacc.c:1646 */ break; case 101: #line 300 "hyp_y.y" /* yacc.c:1646 */ { h.bulk_resistivity = yylval.floatval; h.bulk_resistivity_set = pcb_true; } -#line 2065 "hyp_y.c" /* yacc.c:1646 */ +#line 2063 "hyp_y.c" /* yacc.c:1646 */ break; case 102: #line 303 "hyp_y.y" /* yacc.c:1646 */ { h.temperature_coefficient = yylval.floatval; h.temperature_coefficient_set = pcb_true; } -#line 2071 "hyp_y.c" /* yacc.c:1646 */ +#line 2069 "hyp_y.c" /* yacc.c:1646 */ break; case 103: #line 306 "hyp_y.y" /* yacc.c:1646 */ { h.epsilon_r = yylval.floatval; h.epsilon_r_set = pcb_true; } -#line 2077 "hyp_y.c" /* yacc.c:1646 */ +#line 2075 "hyp_y.c" /* yacc.c:1646 */ break; case 104: #line 309 "hyp_y.y" /* yacc.c:1646 */ { h.loss_tangent = yylval.floatval; h.loss_tangent_set = pcb_true; } -#line 2083 "hyp_y.c" /* yacc.c:1646 */ +#line 2081 "hyp_y.c" /* yacc.c:1646 */ break; case 105: #line 312 "hyp_y.y" /* yacc.c:1646 */ { h.layer_name = yylval.strval; h.layer_name_set = pcb_true; } -#line 2089 "hyp_y.c" /* yacc.c:1646 */ +#line 2087 "hyp_y.c" /* yacc.c:1646 */ break; case 106: #line 315 "hyp_y.y" /* yacc.c:1646 */ { h.material_name = yylval.strval; h.material_name_set = pcb_true; } -#line 2095 "hyp_y.c" /* yacc.c:1646 */ +#line 2093 "hyp_y.c" /* yacc.c:1646 */ break; case 107: #line 318 "hyp_y.y" /* yacc.c:1646 */ { h.plane_separation = yylval.floatval; h.plane_separation_set = pcb_true; } -#line 2101 "hyp_y.c" /* yacc.c:1646 */ +#line 2099 "hyp_y.c" /* yacc.c:1646 */ break; case 108: #line 321 "hyp_y.y" /* yacc.c:1646 */ { h.conformal = yylval.boolval; h.conformal_set = pcb_true; } -#line 2107 "hyp_y.c" /* yacc.c:1646 */ +#line 2105 "hyp_y.c" /* yacc.c:1646 */ break; case 109: #line 324 "hyp_y.y" /* yacc.c:1646 */ { h.prepreg = yylval.boolval; h.prepreg_set = pcb_true; } -#line 2113 "hyp_y.c" /* yacc.c:1646 */ +#line 2111 "hyp_y.c" /* yacc.c:1646 */ break; case 114: #line 337 "hyp_y.y" /* yacc.c:1646 */ { new_record(); } -#line 2119 "hyp_y.c" /* yacc.c:1646 */ +#line 2117 "hyp_y.c" /* yacc.c:1646 */ break; case 115: #line 337 "hyp_y.y" /* yacc.c:1646 */ { h.device_type = yylval.strval; } -#line 2125 "hyp_y.c" /* yacc.c:1646 */ +#line 2123 "hyp_y.c" /* yacc.c:1646 */ break; case 116: #line 337 "hyp_y.y" /* yacc.c:1646 */ { h.ref = yylval.strval; } -#line 2131 "hyp_y.c" /* yacc.c:1646 */ +#line 2129 "hyp_y.c" /* yacc.c:1646 */ break; case 117: #line 337 "hyp_y.y" /* yacc.c:1646 */ { if (exec_devices(&h)) YYERROR; } -#line 2137 "hyp_y.c" /* yacc.c:1646 */ +#line 2135 "hyp_y.c" /* yacc.c:1646 */ break; case 125: #line 356 "hyp_y.y" /* yacc.c:1646 */ { h.name = yylval.strval; h.name_set = pcb_true; } -#line 2143 "hyp_y.c" /* yacc.c:1646 */ +#line 2141 "hyp_y.c" /* yacc.c:1646 */ break; case 128: #line 364 "hyp_y.y" /* yacc.c:1646 */ { h.value_float = yylval.floatval; h.value_float_set = pcb_true; } -#line 2149 "hyp_y.c" /* yacc.c:1646 */ +#line 2147 "hyp_y.c" /* yacc.c:1646 */ break; case 129: #line 367 "hyp_y.y" /* yacc.c:1646 */ { h.value_string = yylval.strval; h.value_string_set = pcb_true; } -#line 2155 "hyp_y.c" /* yacc.c:1646 */ +#line 2153 "hyp_y.c" /* yacc.c:1646 */ break; case 130: #line 370 "hyp_y.y" /* yacc.c:1646 */ { h.package = yylval.strval; h.package_set = pcb_true; } -#line 2161 "hyp_y.c" /* yacc.c:1646 */ +#line 2159 "hyp_y.c" /* yacc.c:1646 */ break; case 134: #line 382 "hyp_y.y" /* yacc.c:1646 */ { if (exec_supplies(&h)) YYERROR; } -#line 2167 "hyp_y.c" /* yacc.c:1646 */ +#line 2165 "hyp_y.c" /* yacc.c:1646 */ break; case 136: #line 386 "hyp_y.y" /* yacc.c:1646 */ { h.voltage_specified = yylval.boolval; } -#line 2173 "hyp_y.c" /* yacc.c:1646 */ +#line 2171 "hyp_y.c" /* yacc.c:1646 */ break; case 137: #line 389 "hyp_y.y" /* yacc.c:1646 */ { h.conversion = yylval.boolval; } -#line 2179 "hyp_y.c" /* yacc.c:1646 */ +#line 2177 "hyp_y.c" /* yacc.c:1646 */ break; case 138: #line 394 "hyp_y.y" /* yacc.c:1646 */ { new_record(); } -#line 2185 "hyp_y.c" /* yacc.c:1646 */ +#line 2183 "hyp_y.c" /* yacc.c:1646 */ break; case 139: #line 394 "hyp_y.y" /* yacc.c:1646 */ { h.padstack_name = yylval.strval; h.padstack_name_set = pcb_true; } -#line 2191 "hyp_y.c" /* yacc.c:1646 */ +#line 2189 "hyp_y.c" /* yacc.c:1646 */ break; case 140: #line 394 "hyp_y.y" /* yacc.c:1646 */ { if (exec_pstk_end(&h)) YYERROR; } -#line 2197 "hyp_y.c" /* yacc.c:1646 */ +#line 2195 "hyp_y.c" /* yacc.c:1646 */ break; case 141: #line 397 "hyp_y.y" /* yacc.c:1646 */ { h.drill_size = yylval.floatval; h.drill_size_set = pcb_true; } -#line 2203 "hyp_y.c" /* yacc.c:1646 */ +#line 2201 "hyp_y.c" /* yacc.c:1646 */ break; case 147: #line 406 "hyp_y.y" /* yacc.c:1646 */ { h.layer_name = yylval.strval; h.layer_name_set = pcb_true; } -#line 2209 "hyp_y.c" /* yacc.c:1646 */ +#line 2207 "hyp_y.c" /* yacc.c:1646 */ break; case 148: #line 406 "hyp_y.y" /* yacc.c:1646 */ { if (exec_pstk_element(&h)) YYERROR; new_record(); } -#line 2215 "hyp_y.c" /* yacc.c:1646 */ +#line 2213 "hyp_y.c" /* yacc.c:1646 */ break; case 150: #line 410 "hyp_y.y" /* yacc.c:1646 */ { h.pad_shape = yylval.floatval; } -#line 2221 "hyp_y.c" /* yacc.c:1646 */ +#line 2219 "hyp_y.c" /* yacc.c:1646 */ break; case 152: #line 411 "hyp_y.y" /* yacc.c:1646 */ { h.pad_shape = -1; } -#line 2227 "hyp_y.c" /* yacc.c:1646 */ +#line 2225 "hyp_y.c" /* yacc.c:1646 */ break; case 153: #line 415 "hyp_y.y" /* yacc.c:1646 */ { h.pad_sx = yylval.floatval; } -#line 2233 "hyp_y.c" /* yacc.c:1646 */ +#line 2231 "hyp_y.c" /* yacc.c:1646 */ break; case 154: #line 415 "hyp_y.y" /* yacc.c:1646 */ { h.pad_sy = yylval.floatval; } -#line 2239 "hyp_y.c" /* yacc.c:1646 */ +#line 2237 "hyp_y.c" /* yacc.c:1646 */ break; case 155: #line 415 "hyp_y.y" /* yacc.c:1646 */ { h.pad_angle = yylval.floatval; } -#line 2245 "hyp_y.c" /* yacc.c:1646 */ +#line 2243 "hyp_y.c" /* yacc.c:1646 */ break; case 157: #line 419 "hyp_y.y" /* yacc.c:1646 */ { h.pad_type = PAD_TYPE_METAL; h.pad_type_set = pcb_true; } -#line 2251 "hyp_y.c" /* yacc.c:1646 */ +#line 2249 "hyp_y.c" /* yacc.c:1646 */ break; case 158: #line 420 "hyp_y.y" /* yacc.c:1646 */ { h.pad_type = PAD_TYPE_ANTIPAD; h.pad_type_set = pcb_true; } -#line 2257 "hyp_y.c" /* yacc.c:1646 */ +#line 2255 "hyp_y.c" /* yacc.c:1646 */ break; case 159: #line 421 "hyp_y.y" /* yacc.c:1646 */ { h.thermal_clear_shape = yylval.floatval; } -#line 2263 "hyp_y.c" /* yacc.c:1646 */ +#line 2261 "hyp_y.c" /* yacc.c:1646 */ break; case 160: #line 422 "hyp_y.y" /* yacc.c:1646 */ { h.thermal_clear_sx = yylval.floatval; } -#line 2269 "hyp_y.c" /* yacc.c:1646 */ +#line 2267 "hyp_y.c" /* yacc.c:1646 */ break; case 161: #line 423 "hyp_y.y" /* yacc.c:1646 */ { h.thermal_clear_sy = yylval.floatval; } -#line 2275 "hyp_y.c" /* yacc.c:1646 */ +#line 2273 "hyp_y.c" /* yacc.c:1646 */ break; case 162: #line 424 "hyp_y.y" /* yacc.c:1646 */ { h.thermal_clear_angle = yylval.floatval; } -#line 2281 "hyp_y.c" /* yacc.c:1646 */ +#line 2279 "hyp_y.c" /* yacc.c:1646 */ break; case 163: #line 425 "hyp_y.y" /* yacc.c:1646 */ { h.pad_type = PAD_TYPE_THERMAL_RELIEF; h.pad_type_set = pcb_true; } -#line 2287 "hyp_y.c" /* yacc.c:1646 */ +#line 2285 "hyp_y.c" /* yacc.c:1646 */ break; case 164: #line 431 "hyp_y.y" /* yacc.c:1646 */ { h.net_name = yylval.strval; if (exec_net(&h)) YYERROR; } -#line 2293 "hyp_y.c" /* yacc.c:1646 */ +#line 2291 "hyp_y.c" /* yacc.c:1646 */ break; case 166: #line 434 "hyp_y.y" /* yacc.c:1646 */ { if (exec_net_plane_separation(&h)) YYERROR; } -#line 2299 "hyp_y.c" /* yacc.c:1646 */ +#line 2297 "hyp_y.c" /* yacc.c:1646 */ break; case 170: #line 440 "hyp_y.y" /* yacc.c:1646 */ { hyyerror("warning: empty net"); } -#line 2305 "hyp_y.c" /* yacc.c:1646 */ +#line 2303 "hyp_y.c" /* yacc.c:1646 */ break; case 186: #line 463 "hyp_y.y" /* yacc.c:1646 */ { new_record(); } -#line 2311 "hyp_y.c" /* yacc.c:1646 */ +#line 2309 "hyp_y.c" /* yacc.c:1646 */ break; case 187: #line 463 "hyp_y.y" /* yacc.c:1646 */ { if (exec_seg(&h)) YYERROR; } -#line 2317 "hyp_y.c" /* yacc.c:1646 */ +#line 2315 "hyp_y.c" /* yacc.c:1646 */ break; case 188: #line 466 "hyp_y.y" /* yacc.c:1646 */ { new_record(); } -#line 2323 "hyp_y.c" /* yacc.c:1646 */ +#line 2321 "hyp_y.c" /* yacc.c:1646 */ break; case 189: #line 466 "hyp_y.y" /* yacc.c:1646 */ { if (exec_arc(&h)) YYERROR; } -#line 2329 "hyp_y.c" /* yacc.c:1646 */ +#line 2327 "hyp_y.c" /* yacc.c:1646 */ break; case 194: #line 479 "hyp_y.y" /* yacc.c:1646 */ { h.width = yylval.floatval; h.width_set = pcb_true; } -#line 2335 "hyp_y.c" /* yacc.c:1646 */ +#line 2333 "hyp_y.c" /* yacc.c:1646 */ break; case 195: #line 482 "hyp_y.y" /* yacc.c:1646 */ { h.left_plane_separation = yylval.floatval; h.left_plane_separation_set = pcb_true; } -#line 2341 "hyp_y.c" /* yacc.c:1646 */ +#line 2339 "hyp_y.c" /* yacc.c:1646 */ break; case 196: #line 485 "hyp_y.y" /* yacc.c:1646 */ { new_record(); } -#line 2347 "hyp_y.c" /* yacc.c:1646 */ +#line 2345 "hyp_y.c" /* yacc.c:1646 */ break; case 197: #line 485 "hyp_y.y" /* yacc.c:1646 */ { if (exec_via(&h)) YYERROR; } -#line 2353 "hyp_y.c" /* yacc.c:1646 */ +#line 2351 "hyp_y.c" /* yacc.c:1646 */ break; case 201: #line 496 "hyp_y.y" /* yacc.c:1646 */ { h.drill_size = yylval.floatval; h.drill_size_set = pcb_true; } -#line 2359 "hyp_y.c" /* yacc.c:1646 */ +#line 2357 "hyp_y.c" /* yacc.c:1646 */ break; case 204: #line 499 "hyp_y.y" /* yacc.c:1646 */ { h.via_pad_shape = yylval.strval; h.via_pad_shape_set = pcb_true; } -#line 2365 "hyp_y.c" /* yacc.c:1646 */ +#line 2363 "hyp_y.c" /* yacc.c:1646 */ break; case 205: #line 500 "hyp_y.y" /* yacc.c:1646 */ { h.via_pad_sx = yylval.floatval; h.via_pad_sx_set = pcb_true; } -#line 2371 "hyp_y.c" /* yacc.c:1646 */ +#line 2369 "hyp_y.c" /* yacc.c:1646 */ break; case 206: #line 501 "hyp_y.y" /* yacc.c:1646 */ { h.via_pad_sy = yylval.floatval; h.via_pad_sy_set = pcb_true; } -#line 2377 "hyp_y.c" /* yacc.c:1646 */ +#line 2375 "hyp_y.c" /* yacc.c:1646 */ break; case 207: #line 502 "hyp_y.y" /* yacc.c:1646 */ { h.via_pad_angle = yylval.floatval; h.via_pad_angle_set = pcb_true; } -#line 2383 "hyp_y.c" /* yacc.c:1646 */ +#line 2381 "hyp_y.c" /* yacc.c:1646 */ break; case 208: #line 503 "hyp_y.y" /* yacc.c:1646 */ { h.via_pad1_shape = yylval.strval; h.via_pad1_shape_set = pcb_true; } -#line 2389 "hyp_y.c" /* yacc.c:1646 */ +#line 2387 "hyp_y.c" /* yacc.c:1646 */ break; case 209: #line 504 "hyp_y.y" /* yacc.c:1646 */ { h.via_pad1_sx = yylval.floatval; h.via_pad1_sx_set = pcb_true; } -#line 2395 "hyp_y.c" /* yacc.c:1646 */ +#line 2393 "hyp_y.c" /* yacc.c:1646 */ break; case 210: #line 505 "hyp_y.y" /* yacc.c:1646 */ { h.via_pad1_sy = yylval.floatval; h.via_pad1_sy_set = pcb_true; } -#line 2401 "hyp_y.c" /* yacc.c:1646 */ +#line 2399 "hyp_y.c" /* yacc.c:1646 */ break; case 211: #line 506 "hyp_y.y" /* yacc.c:1646 */ { h.via_pad1_angle = yylval.floatval; h.via_pad1_angle_set = pcb_true; } -#line 2407 "hyp_y.c" /* yacc.c:1646 */ +#line 2405 "hyp_y.c" /* yacc.c:1646 */ break; case 212: #line 507 "hyp_y.y" /* yacc.c:1646 */ { h.via_pad2_shape = yylval.strval; h.via_pad2_shape_set = pcb_true; } -#line 2413 "hyp_y.c" /* yacc.c:1646 */ +#line 2411 "hyp_y.c" /* yacc.c:1646 */ break; case 213: #line 508 "hyp_y.y" /* yacc.c:1646 */ { h.via_pad2_sx = yylval.floatval; h.via_pad2_sx_set = pcb_true; } -#line 2419 "hyp_y.c" /* yacc.c:1646 */ +#line 2417 "hyp_y.c" /* yacc.c:1646 */ break; case 214: #line 509 "hyp_y.y" /* yacc.c:1646 */ { h.via_pad2_sy = yylval.floatval; h.via_pad2_sy_set = pcb_true; } -#line 2425 "hyp_y.c" /* yacc.c:1646 */ +#line 2423 "hyp_y.c" /* yacc.c:1646 */ break; case 215: #line 510 "hyp_y.y" /* yacc.c:1646 */ { h.via_pad2_angle = yylval.floatval; h.via_pad2_angle_set = pcb_true; } -#line 2431 "hyp_y.c" /* yacc.c:1646 */ +#line 2429 "hyp_y.c" /* yacc.c:1646 */ break; case 216: #line 514 "hyp_y.y" /* yacc.c:1646 */ { h.padstack_name = yylval.strval; h.padstack_name_set = pcb_true; } -#line 2437 "hyp_y.c" /* yacc.c:1646 */ +#line 2435 "hyp_y.c" /* yacc.c:1646 */ break; case 217: #line 517 "hyp_y.y" /* yacc.c:1646 */ { h.layer1_name = yylval.strval; h.layer1_name_set = pcb_true; } -#line 2443 "hyp_y.c" /* yacc.c:1646 */ +#line 2441 "hyp_y.c" /* yacc.c:1646 */ break; case 218: #line 520 "hyp_y.y" /* yacc.c:1646 */ { h.layer2_name = yylval.strval; h.layer2_name_set = pcb_true; } -#line 2449 "hyp_y.c" /* yacc.c:1646 */ +#line 2447 "hyp_y.c" /* yacc.c:1646 */ break; case 219: #line 523 "hyp_y.y" /* yacc.c:1646 */ { new_record(); } -#line 2455 "hyp_y.c" /* yacc.c:1646 */ +#line 2453 "hyp_y.c" /* yacc.c:1646 */ break; case 220: #line 523 "hyp_y.y" /* yacc.c:1646 */ { if (exec_pin(&h)) YYERROR; } -#line 2461 "hyp_y.c" /* yacc.c:1646 */ +#line 2459 "hyp_y.c" /* yacc.c:1646 */ break; case 225: #line 536 "hyp_y.y" /* yacc.c:1646 */ { h.pin_reference = yylval.strval; h.pin_reference_set = pcb_true; } -#line 2467 "hyp_y.c" /* yacc.c:1646 */ +#line 2465 "hyp_y.c" /* yacc.c:1646 */ break; case 226: #line 539 "hyp_y.y" /* yacc.c:1646 */ { h.pin_function = PIN_SIM_OUT; h.pin_function_set = pcb_true; } -#line 2473 "hyp_y.c" /* yacc.c:1646 */ +#line 2471 "hyp_y.c" /* yacc.c:1646 */ break; case 227: #line 540 "hyp_y.y" /* yacc.c:1646 */ { h.pin_function = PIN_SIM_IN; h.pin_function_set = pcb_true; } -#line 2479 "hyp_y.c" /* yacc.c:1646 */ +#line 2477 "hyp_y.c" /* yacc.c:1646 */ break; case 228: #line 541 "hyp_y.y" /* yacc.c:1646 */ { h.pin_function = PIN_SIM_BOTH; h.pin_function_set = pcb_true; } -#line 2485 "hyp_y.c" /* yacc.c:1646 */ +#line 2483 "hyp_y.c" /* yacc.c:1646 */ break; case 229: #line 542 "hyp_y.y" /* yacc.c:1646 */ { h.pin_function = PIN_SIM_BOTH; h.pin_function_set = pcb_true; hyyerror("warning: SIM_BOTH assumed"); } -#line 2491 "hyp_y.c" /* yacc.c:1646 */ +#line 2489 "hyp_y.c" /* yacc.c:1646 */ break; case 230: #line 546 "hyp_y.y" /* yacc.c:1646 */ { new_record(); } -#line 2497 "hyp_y.c" /* yacc.c:1646 */ +#line 2495 "hyp_y.c" /* yacc.c:1646 */ break; case 231: #line 546 "hyp_y.y" /* yacc.c:1646 */ { if (exec_pad(&h)) YYERROR; } -#line 2503 "hyp_y.c" /* yacc.c:1646 */ +#line 2501 "hyp_y.c" /* yacc.c:1646 */ break; case 235: #line 555 "hyp_y.y" /* yacc.c:1646 */ { h.via_pad_shape = yylval.strval; h.via_pad_shape_set = pcb_true; } -#line 2509 "hyp_y.c" /* yacc.c:1646 */ +#line 2507 "hyp_y.c" /* yacc.c:1646 */ break; case 236: #line 556 "hyp_y.y" /* yacc.c:1646 */ { h.via_pad_sx = yylval.floatval; h.via_pad_sx_set = pcb_true; } -#line 2515 "hyp_y.c" /* yacc.c:1646 */ +#line 2513 "hyp_y.c" /* yacc.c:1646 */ break; case 237: #line 557 "hyp_y.y" /* yacc.c:1646 */ { h.via_pad_sy = yylval.floatval; h.via_pad_sy_set = pcb_true; } -#line 2521 "hyp_y.c" /* yacc.c:1646 */ +#line 2519 "hyp_y.c" /* yacc.c:1646 */ break; case 238: #line 558 "hyp_y.y" /* yacc.c:1646 */ { h.via_pad_angle = yylval.floatval; h.via_pad_angle_set = pcb_true; } -#line 2527 "hyp_y.c" /* yacc.c:1646 */ +#line 2525 "hyp_y.c" /* yacc.c:1646 */ break; case 239: #line 562 "hyp_y.y" /* yacc.c:1646 */ { new_record(); } -#line 2533 "hyp_y.c" /* yacc.c:1646 */ +#line 2531 "hyp_y.c" /* yacc.c:1646 */ break; case 240: #line 562 "hyp_y.y" /* yacc.c:1646 */ { if (exec_useg(&h)) YYERROR; } -#line 2539 "hyp_y.c" /* yacc.c:1646 */ +#line 2537 "hyp_y.c" /* yacc.c:1646 */ break; case 243: #line 570 "hyp_y.y" /* yacc.c:1646 */ { h.zlayer_name = yylval.strval; h.zlayer_name_set = pcb_true; } -#line 2545 "hyp_y.c" /* yacc.c:1646 */ +#line 2543 "hyp_y.c" /* yacc.c:1646 */ break; case 244: #line 571 "hyp_y.y" /* yacc.c:1646 */ { h.width = yylval.floatval; } -#line 2551 "hyp_y.c" /* yacc.c:1646 */ +#line 2549 "hyp_y.c" /* yacc.c:1646 */ break; case 245: #line 572 "hyp_y.y" /* yacc.c:1646 */ { h.length = yylval.floatval; } -#line 2557 "hyp_y.c" /* yacc.c:1646 */ +#line 2555 "hyp_y.c" /* yacc.c:1646 */ break; case 247: #line 577 "hyp_y.y" /* yacc.c:1646 */ { h.impedance = yylval.floatval; h.impedance_set = pcb_true; } -#line 2563 "hyp_y.c" /* yacc.c:1646 */ +#line 2561 "hyp_y.c" /* yacc.c:1646 */ break; case 248: #line 578 "hyp_y.y" /* yacc.c:1646 */ { h.delay = yylval.floatval; } -#line 2569 "hyp_y.c" /* yacc.c:1646 */ +#line 2567 "hyp_y.c" /* yacc.c:1646 */ break; case 250: #line 582 "hyp_y.y" /* yacc.c:1646 */ { h.resistance = yylval.floatval; h.resistance_set = pcb_true;} -#line 2575 "hyp_y.c" /* yacc.c:1646 */ +#line 2573 "hyp_y.c" /* yacc.c:1646 */ break; case 253: #line 588 "hyp_y.y" /* yacc.c:1646 */ { new_record(); } -#line 2581 "hyp_y.c" /* yacc.c:1646 */ +#line 2579 "hyp_y.c" /* yacc.c:1646 */ break; case 254: #line 588 "hyp_y.y" /* yacc.c:1646 */ { if (exec_polygon_begin(&h)) YYERROR; } -#line 2587 "hyp_y.c" /* yacc.c:1646 */ +#line 2585 "hyp_y.c" /* yacc.c:1646 */ break; case 255: #line 589 "hyp_y.y" /* yacc.c:1646 */ { if (exec_polygon_end(&h)) YYERROR; } -#line 2593 "hyp_y.c" /* yacc.c:1646 */ +#line 2591 "hyp_y.c" /* yacc.c:1646 */ break; case 262: #line 604 "hyp_y.y" /* yacc.c:1646 */ { h.id = yylval.intval; h.id_set = pcb_true; } -#line 2599 "hyp_y.c" /* yacc.c:1646 */ +#line 2597 "hyp_y.c" /* yacc.c:1646 */ break; case 263: #line 608 "hyp_y.y" /* yacc.c:1646 */ { h.polygon_type = POLYGON_TYPE_POUR; h.polygon_type_set = pcb_true; } -#line 2605 "hyp_y.c" /* yacc.c:1646 */ +#line 2603 "hyp_y.c" /* yacc.c:1646 */ break; case 264: #line 609 "hyp_y.y" /* yacc.c:1646 */ { h.polygon_type = POLYGON_TYPE_PLANE; h.polygon_type_set = pcb_true; } -#line 2611 "hyp_y.c" /* yacc.c:1646 */ +#line 2609 "hyp_y.c" /* yacc.c:1646 */ break; case 265: #line 610 "hyp_y.y" /* yacc.c:1646 */ { h.polygon_type = POLYGON_TYPE_COPPER; h.polygon_type_set = pcb_true; } -#line 2617 "hyp_y.c" /* yacc.c:1646 */ +#line 2615 "hyp_y.c" /* yacc.c:1646 */ break; case 266: #line 614 "hyp_y.y" /* yacc.c:1646 */ { new_record(); } -#line 2623 "hyp_y.c" /* yacc.c:1646 */ +#line 2621 "hyp_y.c" /* yacc.c:1646 */ break; case 267: #line 614 "hyp_y.y" /* yacc.c:1646 */ { if (exec_polyvoid_begin(&h)) YYERROR; } -#line 2629 "hyp_y.c" /* yacc.c:1646 */ +#line 2627 "hyp_y.c" /* yacc.c:1646 */ break; case 268: #line 615 "hyp_y.y" /* yacc.c:1646 */ { if (exec_polyvoid_end(&h)) YYERROR; } -#line 2635 "hyp_y.c" /* yacc.c:1646 */ +#line 2633 "hyp_y.c" /* yacc.c:1646 */ break; case 269: #line 618 "hyp_y.y" /* yacc.c:1646 */ { new_record(); } -#line 2641 "hyp_y.c" /* yacc.c:1646 */ +#line 2639 "hyp_y.c" /* yacc.c:1646 */ break; case 270: #line 618 "hyp_y.y" /* yacc.c:1646 */ { if (exec_polyline_begin(&h)) YYERROR; } -#line 2647 "hyp_y.c" /* yacc.c:1646 */ +#line 2645 "hyp_y.c" /* yacc.c:1646 */ break; case 271: #line 619 "hyp_y.y" /* yacc.c:1646 */ { if (exec_polyline_end(&h)) YYERROR; } -#line 2653 "hyp_y.c" /* yacc.c:1646 */ +#line 2651 "hyp_y.c" /* yacc.c:1646 */ break; case 276: #line 629 "hyp_y.y" /* yacc.c:1646 */ { hyyerror("warning: unexpected ')'"); } -#line 2659 "hyp_y.c" /* yacc.c:1646 */ +#line 2657 "hyp_y.c" /* yacc.c:1646 */ break; case 278: #line 634 "hyp_y.y" /* yacc.c:1646 */ { new_record(); } -#line 2665 "hyp_y.c" /* yacc.c:1646 */ +#line 2663 "hyp_y.c" /* yacc.c:1646 */ break; case 279: #line 634 "hyp_y.y" /* yacc.c:1646 */ { if (exec_line(&h)) YYERROR; } -#line 2671 "hyp_y.c" /* yacc.c:1646 */ +#line 2669 "hyp_y.c" /* yacc.c:1646 */ break; case 280: #line 637 "hyp_y.y" /* yacc.c:1646 */ { new_record(); } -#line 2677 "hyp_y.c" /* yacc.c:1646 */ +#line 2675 "hyp_y.c" /* yacc.c:1646 */ break; case 281: #line 637 "hyp_y.y" /* yacc.c:1646 */ { if (exec_curve(&h)) YYERROR; } -#line 2683 "hyp_y.c" /* yacc.c:1646 */ +#line 2681 "hyp_y.c" /* yacc.c:1646 */ break; case 282: #line 640 "hyp_y.y" /* yacc.c:1646 */ { h.name = yylval.strval; } -#line 2689 "hyp_y.c" /* yacc.c:1646 */ +#line 2687 "hyp_y.c" /* yacc.c:1646 */ break; case 283: #line 640 "hyp_y.y" /* yacc.c:1646 */ { h.value = yylval.strval; } -#line 2695 "hyp_y.c" /* yacc.c:1646 */ +#line 2693 "hyp_y.c" /* yacc.c:1646 */ break; case 284: #line 640 "hyp_y.y" /* yacc.c:1646 */ { if (exec_net_attribute(&h)) YYERROR; } -#line 2701 "hyp_y.c" /* yacc.c:1646 */ +#line 2699 "hyp_y.c" /* yacc.c:1646 */ break; case 285: #line 645 "hyp_y.y" /* yacc.c:1646 */ { h.net_class_name = yylval.strval; if (exec_net_class(&h)) YYERROR; } -#line 2707 "hyp_y.c" /* yacc.c:1646 */ +#line 2705 "hyp_y.c" /* yacc.c:1646 */ break; case 294: #line 664 "hyp_y.y" /* yacc.c:1646 */ { h.net_name = yylval.strval; } -#line 2713 "hyp_y.c" /* yacc.c:1646 */ +#line 2711 "hyp_y.c" /* yacc.c:1646 */ break; case 295: #line 664 "hyp_y.y" /* yacc.c:1646 */ { if (exec_net_class_element(&h)) YYERROR; } -#line 2719 "hyp_y.c" /* yacc.c:1646 */ +#line 2717 "hyp_y.c" /* yacc.c:1646 */ break; case 296: #line 667 "hyp_y.y" /* yacc.c:1646 */ { h.name = yylval.strval; } -#line 2725 "hyp_y.c" /* yacc.c:1646 */ +#line 2723 "hyp_y.c" /* yacc.c:1646 */ break; case 297: #line 667 "hyp_y.y" /* yacc.c:1646 */ { h.value = yylval.strval; } -#line 2731 "hyp_y.c" /* yacc.c:1646 */ +#line 2729 "hyp_y.c" /* yacc.c:1646 */ break; case 298: #line 667 "hyp_y.y" /* yacc.c:1646 */ { if (exec_net_class_attribute(&h)) YYERROR; } -#line 2737 "hyp_y.c" /* yacc.c:1646 */ +#line 2735 "hyp_y.c" /* yacc.c:1646 */ break; case 299: #line 672 "hyp_y.y" /* yacc.c:1646 */ { if (exec_end(&h)) YYERROR; } -#line 2743 "hyp_y.c" /* yacc.c:1646 */ +#line 2741 "hyp_y.c" /* yacc.c:1646 */ break; case 300: #line 677 "hyp_y.y" /* yacc.c:1646 */ { h.key = yylval.strval; } -#line 2749 "hyp_y.c" /* yacc.c:1646 */ +#line 2747 "hyp_y.c" /* yacc.c:1646 */ break; case 301: #line 677 "hyp_y.y" /* yacc.c:1646 */ { if (exec_key(&h)) YYERROR; } -#line 2755 "hyp_y.c" /* yacc.c:1646 */ +#line 2753 "hyp_y.c" /* yacc.c:1646 */ break; case 302: #line 682 "hyp_y.y" /* yacc.c:1646 */ { h.x = yylval.floatval; } -#line 2761 "hyp_y.c" /* yacc.c:1646 */ +#line 2759 "hyp_y.c" /* yacc.c:1646 */ break; case 303: #line 682 "hyp_y.y" /* yacc.c:1646 */ { h.y = yylval.floatval; } -#line 2767 "hyp_y.c" /* yacc.c:1646 */ +#line 2765 "hyp_y.c" /* yacc.c:1646 */ break; case 304: #line 685 "hyp_y.y" /* yacc.c:1646 */ { h.x1 = yylval.floatval; } -#line 2773 "hyp_y.c" /* yacc.c:1646 */ +#line 2771 "hyp_y.c" /* yacc.c:1646 */ break; case 305: #line 685 "hyp_y.y" /* yacc.c:1646 */ { h.y1 = yylval.floatval; } -#line 2779 "hyp_y.c" /* yacc.c:1646 */ +#line 2777 "hyp_y.c" /* yacc.c:1646 */ break; case 306: #line 688 "hyp_y.y" /* yacc.c:1646 */ { h.x2 = yylval.floatval; } -#line 2785 "hyp_y.c" /* yacc.c:1646 */ +#line 2783 "hyp_y.c" /* yacc.c:1646 */ break; case 307: #line 688 "hyp_y.y" /* yacc.c:1646 */ { h.y2 = yylval.floatval; } -#line 2791 "hyp_y.c" /* yacc.c:1646 */ +#line 2789 "hyp_y.c" /* yacc.c:1646 */ break; case 309: #line 694 "hyp_y.y" /* yacc.c:1646 */ { h.xc = yylval.floatval; } -#line 2797 "hyp_y.c" /* yacc.c:1646 */ +#line 2795 "hyp_y.c" /* yacc.c:1646 */ break; case 310: #line 694 "hyp_y.y" /* yacc.c:1646 */ { h.yc = yylval.floatval; } -#line 2803 "hyp_y.c" /* yacc.c:1646 */ +#line 2801 "hyp_y.c" /* yacc.c:1646 */ break; case 311: #line 694 "hyp_y.y" /* yacc.c:1646 */ { h.r = yylval.floatval; } -#line 2809 "hyp_y.c" /* yacc.c:1646 */ +#line 2807 "hyp_y.c" /* yacc.c:1646 */ break; -#line 2813 "hyp_y.c" /* yacc.c:1646 */ +#line 2811 "hyp_y.c" /* yacc.c:1646 */ default: break; } /* User semantic actions sometimes alter yychar, and that requires Index: trunk/src_plugins/io_hyp/hyp_y.h =================================================================== --- trunk/src_plugins/io_hyp/hyp_y.h (revision 17435) +++ trunk/src_plugins/io_hyp/hyp_y.h (revision 17436) @@ -1,8 +1,8 @@ -/* A Bison parser, made by GNU Bison 3.0.4. */ +/* A Bison parser, made by GNU Bison 3.0.2. */ /* Bison interface for Yacc-like parsers in C - Copyright (C) 1984, 1989-1990, 2000-2015 Free Software Foundation, Inc. + Copyright (C) 1984, 1989-1990, 2000-2013 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -165,7 +165,7 @@ /* Value type. */ #if ! defined HYYSTYPE && ! defined HYYSTYPE_IS_DECLARED - +typedef union HYYSTYPE HYYSTYPE; union HYYSTYPE { #line 30 "hyp_y.y" /* yacc.c:1909 */ @@ -177,8 +177,6 @@ #line 179 "hyp_y.h" /* yacc.c:1909 */ }; - -typedef union HYYSTYPE HYYSTYPE; # define HYYSTYPE_IS_TRIVIAL 1 # define HYYSTYPE_IS_DECLARED 1 #endif Index: trunk/src_plugins/io_hyp/io_hyp.c =================================================================== --- trunk/src_plugins/io_hyp/io_hyp.c (revision 17435) +++ trunk/src_plugins/io_hyp/io_hyp.c (revision 17436) @@ -37,7 +37,7 @@ #include "hid.h" #include "hid_draw_helpers.h" #include "hid_nogui.h" -#include "hid_actions.h" +#include "actions.h" #include "hid_init.h" #include "hid_attrib.h" #include "hid_helper.h" Index: trunk/src_plugins/io_hyp/parser.c =================================================================== --- trunk/src_plugins/io_hyp/parser.c (revision 17435) +++ trunk/src_plugins/io_hyp/parser.c (revision 17436) @@ -33,7 +33,7 @@ #include "data.h" #include "search.h" #include "rotate.h" -#include "hid_actions.h" +#include "actions.h" #include "plug_io.h" #include "compat_misc.h" #include "safe_fs.h" Index: trunk/src_plugins/io_kicad/io_kicad.c =================================================================== --- trunk/src_plugins/io_kicad/io_kicad.c (revision 17435) +++ trunk/src_plugins/io_kicad/io_kicad.c (revision 17436) @@ -33,7 +33,7 @@ #include "write.h" #include "read.h" #include "read_net.h" -#include "hid_actions.h" +#include "actions.h" static pcb_plug_io_t io_kicad; static const char *kicad_cookie = "kicad plugin"; Index: trunk/src_plugins/io_kicad/read_net.c =================================================================== --- trunk/src_plugins/io_kicad/read_net.c (revision 17435) +++ trunk/src_plugins/io_kicad/read_net.c (revision 17436) @@ -42,7 +42,7 @@ #include "safe_fs.h" #include "action_helper.h" -#include "hid_actions.h" +#include "actions.h" #include "plugins.h" #include "hid.h" Index: trunk/src_plugins/io_lihata/write.c =================================================================== --- trunk/src_plugins/io_lihata/write.c (revision 17435) +++ trunk/src_plugins/io_lihata/write.c (revision 17436) @@ -40,7 +40,7 @@ #include "flag_str.h" #include "compat_misc.h" #include "rats_patch.h" -#include "hid_actions.h" +#include "actions.h" #include "misc_util.h" #include "macro.h" #include "layer.h" Index: trunk/src_plugins/io_mentor_cell/io_mentor_cell.c =================================================================== --- trunk/src_plugins/io_mentor_cell/io_mentor_cell.c (revision 17435) +++ trunk/src_plugins/io_mentor_cell/io_mentor_cell.c (revision 17436) @@ -31,7 +31,7 @@ #include "plugins.h" #include "plug_io.h" #include "read.h" -#include "hid_actions.h" +#include "actions.h" static pcb_plug_io_t io_mentor_cell; static const char *mentor_cell_cookie = "mentor_cell plugin"; Index: trunk/src_plugins/io_pcb/file.c =================================================================== --- trunk/src_plugins/io_pcb/file.c (revision 17435) +++ trunk/src_plugins/io_pcb/file.c (revision 17436) @@ -58,7 +58,7 @@ #include "compat_misc.h" #include "paths.h" #include "rats_patch.h" -#include "hid_actions.h" +#include "actions.h" #include "hid_flags.h" #include "flag_str.h" #include "attribs.h" Index: trunk/src_plugins/io_tedax/io_tedax.c =================================================================== --- trunk/src_plugins/io_tedax/io_tedax.c (revision 17435) +++ trunk/src_plugins/io_tedax/io_tedax.c (revision 17436) @@ -40,7 +40,7 @@ #include "buffer.h" #include "plugins.h" #include "hid.h" -#include "hid_actions.h" +#include "actions.h" #include "action_helper.h" #include "compat_misc.h" #include "plug_io.h" Index: trunk/src_plugins/io_tedax/netlist.c =================================================================== --- trunk/src_plugins/io_tedax/netlist.c (revision 17435) +++ trunk/src_plugins/io_tedax/netlist.c (revision 17436) @@ -36,7 +36,7 @@ #include "error.h" #include "pcb-printf.h" #include "compat_misc.h" -#include "hid_actions.h" +#include "actions.h" #include "safe_fs.h" #include "parse.h" Index: trunk/src_plugins/jostle/jostle.c =================================================================== --- trunk/src_plugins/jostle/jostle.c (revision 17435) +++ trunk/src_plugins/jostle/jostle.c (revision 17436) @@ -30,7 +30,7 @@ #include "error.h" #include "pcb-printf.h" #include "plugins.h" -#include "hid_actions.h" +#include "actions.h" #include "layer.h" #include "conf_core.h" #include "misc_util.h" Index: trunk/src_plugins/lib_gtk_common/act_fileio.c =================================================================== --- trunk/src_plugins/lib_gtk_common/act_fileio.c (revision 17435) +++ trunk/src_plugins/lib_gtk_common/act_fileio.c (revision 17436) @@ -34,7 +34,7 @@ #include "act_fileio.h" -#include "hid_actions.h" +#include "actions.h" #include "conf_core.h" #include "compat_nls.h" #include "plug_footprint.h" Index: trunk/src_plugins/lib_gtk_common/bu_cursor_pos.c =================================================================== --- trunk/src_plugins/lib_gtk_common/bu_cursor_pos.c (revision 17435) +++ trunk/src_plugins/lib_gtk_common/bu_cursor_pos.c (revision 17436) @@ -29,7 +29,7 @@ #include "config.h" #include "bu_cursor_pos.h" #include "conf_core.h" -#include "hid_actions.h" +#include "actions.h" #include "crosshair.h" #include "misc_util.h" #include "compat_nls.h" Index: trunk/src_plugins/lib_gtk_common/dlg_command.c =================================================================== --- trunk/src_plugins/lib_gtk_common/dlg_command.c (revision 17435) +++ trunk/src_plugins/lib_gtk_common/dlg_command.c (revision 17436) @@ -36,7 +36,7 @@ #include "board.h" #include "crosshair.h" -#include "hid_actions.h" +#include "actions.h" #include "compat_nls.h" #include "bu_text_view.h" Index: trunk/src_plugins/lib_gtk_common/dlg_confirm.c =================================================================== --- trunk/src_plugins/lib_gtk_common/dlg_confirm.c (revision 17435) +++ trunk/src_plugins/lib_gtk_common/dlg_confirm.c (revision 17436) @@ -30,7 +30,7 @@ #include "dlg_confirm.h" #include "compat_nls.h" #include "board.h" -#include "hid_actions.h" +#include "actions.h" #include "compat.h" Index: trunk/src_plugins/lib_gtk_common/dlg_drc.c =================================================================== --- trunk/src_plugins/lib_gtk_common/dlg_drc.c (revision 17435) +++ trunk/src_plugins/lib_gtk_common/dlg_drc.c (revision 17436) @@ -39,7 +39,7 @@ #include "pcb-printf.h" #include "undo.h" #include "dlg_drc.h" -#include "hid_actions.h" +#include "actions.h" #include "compat_nls.h" #include "obj_pstk_draw.h" #include "obj_rat_draw.h" Index: trunk/src_plugins/lib_gtk_common/dlg_library.c =================================================================== --- trunk/src_plugins/lib_gtk_common/dlg_library.c (revision 17435) +++ trunk/src_plugins/lib_gtk_common/dlg_library.c (revision 17436) @@ -66,7 +66,7 @@ #include "plug_footprint.h" #include "compat_nls.h" #include "compat_misc.h" -#include "hid_actions.h" +#include "actions.h" #include Index: trunk/src_plugins/lib_gtk_common/dlg_log.c =================================================================== --- trunk/src_plugins/lib_gtk_common/dlg_log.c (revision 17435) +++ trunk/src_plugins/lib_gtk_common/dlg_log.c (revision 17436) @@ -40,7 +40,7 @@ #include "conf_hid.h" #include "pcb-printf.h" -#include "hid_actions.h" +#include "actions.h" #include "compat_nls.h" #include "win_place.h" Index: trunk/src_plugins/lib_gtk_common/dlg_netlist.c =================================================================== --- trunk/src_plugins/lib_gtk_common/dlg_netlist.c (revision 17435) +++ trunk/src_plugins/lib_gtk_common/dlg_netlist.c (revision 17436) @@ -50,7 +50,7 @@ #include "search.h" #include "select.h" #include "undo.h" -#include "hid_actions.h" +#include "actions.h" #include "compat_nls.h" #include "util_str.h" Index: trunk/src_plugins/lib_gtk_common/dlg_search.c =================================================================== --- trunk/src_plugins/lib_gtk_common/dlg_search.c (revision 17435) +++ trunk/src_plugins/lib_gtk_common/dlg_search.c (revision 17436) @@ -35,7 +35,7 @@ #include #include #include "compat_misc.h" -#include "hid_actions.h" +#include "actions.h" #include "compat_nls.h" #include "misc_util.h" #include "pcb-printf.h" Index: trunk/src_plugins/lib_gtk_common/dlg_topwin.c =================================================================== --- trunk/src_plugins/lib_gtk_common/dlg_topwin.c (revision 17435) +++ trunk/src_plugins/lib_gtk_common/dlg_topwin.c (revision 17436) @@ -47,7 +47,7 @@ #include "board.h" #include "crosshair.h" #include "pcb-printf.h" -#include "hid_actions.h" +#include "actions.h" #include "action_helper.h" #include "compat_nls.h" #include "compat_misc.h" Index: trunk/src_plugins/lib_gtk_common/ui_zoompan.c =================================================================== --- trunk/src_plugins/lib_gtk_common/ui_zoompan.c (revision 17435) +++ trunk/src_plugins/lib_gtk_common/ui_zoompan.c (revision 17436) @@ -31,7 +31,7 @@ #include "unit.h" #include "action_helper.h" -#include "hid_actions.h" +#include "actions.h" #include "error.h" #include "conf_core.h" #include "board.h" Index: trunk/src_plugins/lib_gtk_common/util_listener.c =================================================================== --- trunk/src_plugins/lib_gtk_common/util_listener.c (revision 17435) +++ trunk/src_plugins/lib_gtk_common/util_listener.c (revision 17436) @@ -34,7 +34,7 @@ #include #include "hid.h" -#include "hid_actions.h" +#include "actions.h" #include "compat_misc.h" static gboolean ghid_listener_cb(GIOChannel * source, GIOCondition condition, gpointer data) Index: trunk/src_plugins/lib_gtk_common/wt_layersel.c =================================================================== --- trunk/src_plugins/lib_gtk_common/wt_layersel.c (revision 17435) +++ trunk/src_plugins/lib_gtk_common/wt_layersel.c (revision 17436) @@ -39,7 +39,7 @@ #include "data.h" #include "event.h" #include "conf_core.h" -#include "hid_actions.h" +#include "actions.h" #include "math_helper.h" #include "wt_layersel.h" Index: trunk/src_plugins/lib_gtk_hid/actions.c =================================================================== --- trunk/src_plugins/lib_gtk_hid/actions.c (revision 17435) +++ trunk/src_plugins/lib_gtk_hid/actions.c (revision 17436) @@ -35,7 +35,7 @@ #include "change.h" #include "action_helper.h" #include "hid_attrib.h" -#include "hid_actions.h" +#include "actions.h" #include "hid.h" #include "compat_nls.h" #include "compat_misc.h" Index: trunk/src_plugins/lib_polyhelp/polyhelp.c =================================================================== --- trunk/src_plugins/lib_polyhelp/polyhelp.c (revision 17435) +++ trunk/src_plugins/lib_polyhelp/polyhelp.c (revision 17436) @@ -47,7 +47,7 @@ #include "conf_core.h" #include "compat_misc.h" #include "hid_attrib.h" -#include "hid_actions.h" +#include "actions.h" void pcb_pline_fprint_anim(FILE *f, const pcb_pline_t *pl) { Index: trunk/src_plugins/lib_polyhelp/topoly.c =================================================================== --- trunk/src_plugins/lib_polyhelp/topoly.c (revision 17435) +++ trunk/src_plugins/lib_polyhelp/topoly.c (revision 17436) @@ -40,7 +40,7 @@ #include "polygon.h" #include "search.h" #include "hid.h" -#include "hid_actions.h" +#include "actions.h" #define VALID_TYPE(obj) (((obj)->type == PCB_OBJ_ARC) || ((obj)->type == PCB_OBJ_LINE)) #define CONT_TYPE (PCB_OBJ_LINE | PCB_OBJ_ARC) Index: trunk/src_plugins/millpath/millpath.c =================================================================== --- trunk/src_plugins/millpath/millpath.c (revision 17435) +++ trunk/src_plugins/millpath/millpath.c (revision 17436) @@ -27,7 +27,7 @@ #include "config.h" #include "action_helper.h" #include "plugins.h" -#include "hid_actions.h" +#include "actions.h" #include "toolpath.h" #include "board.h" Index: trunk/src_plugins/oldactions/oldactions.c =================================================================== --- trunk/src_plugins/oldactions/oldactions.c (revision 17435) +++ trunk/src_plugins/oldactions/oldactions.c (revision 17436) @@ -39,7 +39,7 @@ #include "error.h" #include "undo.h" #include "plugins.h" -#include "hid_actions.h" +#include "actions.h" #include "plug_footprint.h" #include "obj_subc.h" #include "macro.h" Index: trunk/src_plugins/polycombine/polycombine.c =================================================================== --- trunk/src_plugins/polycombine/polycombine.c (revision 17435) +++ trunk/src_plugins/polycombine/polycombine.c (revision 17436) @@ -33,7 +33,7 @@ #include "draw.h" #include "undo.h" #include "plugins.h" -#include "hid_actions.h" +#include "actions.h" #include "obj_poly.h" static pcb_polyarea_t *original_poly(pcb_poly_t *p, pcb_bool *forward) Index: trunk/src_plugins/polystitch/polystitch.c =================================================================== --- trunk/src_plugins/polystitch/polystitch.c (revision 17435) +++ trunk/src_plugins/polystitch/polystitch.c (revision 17436) @@ -33,7 +33,7 @@ #include "draw.h" #include "polygon.h" #include "plugins.h" -#include "hid_actions.h" +#include "actions.h" #include "obj_poly.h" #include "obj_poly_draw.h" Index: trunk/src_plugins/propedit/propedit.c =================================================================== --- trunk/src_plugins/propedit/propedit.c (revision 17435) +++ trunk/src_plugins/propedit/propedit.c (revision 17436) @@ -31,7 +31,7 @@ #include "config.h" #include "props.h" #include "propsel.h" -#include "hid_actions.h" +#include "actions.h" #include "pcb-printf.h" #include "error.h" Index: trunk/src_plugins/puller/puller.c =================================================================== --- trunk/src_plugins/puller/puller.c (revision 17435) +++ trunk/src_plugins/puller/puller.c (revision 17436) @@ -71,7 +71,7 @@ #include "undo.h" #include "layer.h" #include "plugins.h" -#include "hid_actions.h" +#include "actions.h" #include "misc_util.h" #include "compat_misc.h" #include "obj_pstk_inlines.h" Index: trunk/src_plugins/query/query.c =================================================================== --- trunk/src_plugins/query/query.c (revision 17435) +++ trunk/src_plugins/query/query.c (revision 17436) @@ -37,7 +37,7 @@ #include "undo.h" #include "plugins.h" #include "hid_init.h" -#include "hid_actions.h" +#include "actions.h" #include "compat_misc.h" #include "query.h" #include "fptr_cast.h" Index: trunk/src_plugins/renumber/renumber.c =================================================================== --- trunk/src_plugins/renumber/renumber.c (revision 17435) +++ trunk/src_plugins/renumber/renumber.c (revision 17436) @@ -40,7 +40,7 @@ #include "error.h" #include "undo.h" #include "plugins.h" -#include "hid_actions.h" +#include "actions.h" #include "conf_core.h" #include "compat_misc.h" #include "compat_nls.h" Index: trunk/src_plugins/report/report.c =================================================================== --- trunk/src_plugins/report/report.c (revision 17435) +++ trunk/src_plugins/report/report.c (revision 17436) @@ -54,7 +54,7 @@ #include "pcb-printf.h" #include "plugins.h" #include "action_helper.h" -#include "hid_actions.h" +#include "actions.h" #include "misc_util.h" #include "report_conf.h" #include "compat_misc.h" Index: trunk/src_plugins/shand_cmd/command.c =================================================================== --- trunk/src_plugins/shand_cmd/command.c (revision 17435) +++ trunk/src_plugins/shand_cmd/command.c (revision 17436) @@ -46,7 +46,7 @@ #include "plug_io.h" #include "rats.h" #include "plugins.h" -#include "hid_actions.h" +#include "actions.h" #include "compat_misc.h" #include "misc_util.h" #include "tool.h" Index: trunk/src_plugins/shape/shape.c =================================================================== --- trunk/src_plugins/shape/shape.c (revision 17435) +++ trunk/src_plugins/shape/shape.c (revision 17436) @@ -30,7 +30,7 @@ #include "action_helper.h" #include "plugins.h" -#include "hid_actions.h" +#include "actions.h" #include "board.h" #include "buffer.h" Index: trunk/src_plugins/sketch_route/sketch_route.c =================================================================== --- trunk/src_plugins/sketch_route/sketch_route.c (revision 17435) +++ trunk/src_plugins/sketch_route/sketch_route.c (revision 17436) @@ -28,7 +28,7 @@ #include "action_helper.h" #include "plugins.h" -#include "hid_actions.h" +#include "actions.h" const char *pcb_sketch_route_cookie = "sketch_route plugin"; Index: trunk/src_plugins/smartdisperse/smartdisperse.c =================================================================== --- trunk/src_plugins/smartdisperse/smartdisperse.c (revision 17435) +++ trunk/src_plugins/smartdisperse/smartdisperse.c (revision 17436) @@ -36,7 +36,7 @@ #include "draw.h" #include "plugins.h" #include "action_helper.h" -#include "hid_actions.h" +#include "actions.h" #include "compat_nls.h" #include "obj_subc.h" #include "obj_subc_parent.h" Index: trunk/src_plugins/stroke/stroke.c =================================================================== --- trunk/src_plugins/stroke/stroke.c (revision 17435) +++ trunk/src_plugins/stroke/stroke.c (revision 17436) @@ -34,7 +34,7 @@ #include "board.h" #include "conf_core.h" #include "crosshair.h" -#include "hid_actions.h" +#include "actions.h" #include "unit.h" #include "plugins.h" #include "stub_stroke.h" Index: trunk/src_plugins/teardrops/teardrops.c =================================================================== --- trunk/src_plugins/teardrops/teardrops.c (revision 17435) +++ trunk/src_plugins/teardrops/teardrops.c (revision 17436) @@ -23,7 +23,7 @@ #include "rtree.h" #include "undo.h" #include "plugins.h" -#include "hid_actions.h" +#include "actions.h" #include "obj_pstk_inlines.h" #define MIN_LINE_LENGTH 700 Index: trunk/src_plugins/vendordrill/vendor.c =================================================================== --- trunk/src_plugins/vendordrill/vendor.c (revision 17435) +++ trunk/src_plugins/vendordrill/vendor.c (revision 17436) @@ -46,7 +46,7 @@ #include "plugins.h" #include "action_helper.h" #include "hid_flags.h" -#include "hid_actions.h" +#include "actions.h" #include "hid_cfg.h" #include "vendor_conf.h" #include "compat_misc.h"