Index: trunk/src/actions.c =================================================================== --- trunk/src/actions.c (revision 29247) +++ trunk/src/actions.c (nonexistent) @@ -1,924 +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: http://repo.hu/projects/pcb-rnd/contact.html - * mailing list: pcb-rnd (at) list.repo.hu (send "subscribe") - * - */ - -#include "config.h" - -#include - -#include -#include - -#include "error.h" -#include "event.h" -#include "actions.h" -#include "compat_misc.h" -#include "funchash.h" -#include "hidlib_conf.h" - -const pcb_action_t *pcb_current_action = NULL; - -const char *PCB_PTR_DOMAIN_IDPATH = "pcb_fgw_ptr_domain_idpath"; -const char *PCB_PTR_DOMAIN_IDPATH_LIST = "pcb_fgw_ptr_domain_idpath_list"; - -fgw_ctx_t pcb_fgw; -fgw_obj_t *pcb_fgw_obj; - -typedef struct { - const char *cookie; - const pcb_action_t *action; -} hid_cookie_action_t; - -static const char *check_action_name(const char *s) -{ - while (*s) - if (isspace((int) *s++) || *s == '(') - return (s - 1); - return NULL; -} - -char *pcb_make_action_name(char *out, const char *inp, int inp_len) -{ - char *s; - - if (inp_len >= PCB_ACTION_NAME_MAX) { - *out = '\0'; - return out; - } - - memcpy(out, inp, inp_len+1); - for(s = out; *s != '\0'; s++) - *s = tolower(*s); - return out; -} - -void pcb_register_actions(const pcb_action_t *a, int n, const char *cookie) -{ - int i; - hid_cookie_action_t *ca; - fgw_func_t *f; - - for (i = 0; i < n; i++) { - char fn[PCB_ACTION_NAME_MAX]; - int len; - - 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; - } - len = strlen(a[i].name); - if (len >= sizeof(fn)) { - pcb_message(PCB_MSG_ERROR, "Invalid action name: \"%s\" (too long).\n", a[i].name); - continue; - } - - ca = malloc(sizeof(hid_cookie_action_t)); - ca->cookie = cookie; - ca->action = a+i; - - pcb_make_action_name(fn, a[i].name, len); - f = fgw_func_reg(pcb_fgw_obj, fn, a[i].trigger_cb); - if (f == NULL) { - pcb_message(PCB_MSG_ERROR, "Failed to register action \"%s\" (already registered?)\n", a[i].name); - free(ca); - continue; - } - f->reg_data = ca; - } -} - -void pcb_register_action(const pcb_action_t *a, const char *cookie) -{ - pcb_register_actions(a, 1, cookie); -} - -static void pcb_remove_action(fgw_func_t *f) -{ - hid_cookie_action_t *ca = f->reg_data; - fgw_func_unreg(pcb_fgw_obj, f->name); - free(ca); -} - -fgw_func_t *pcb_act_lookup(const char *aname) -{ - char fn[PCB_ACTION_NAME_MAX]; - fgw_func_t *f = fgw_func_lookup(&pcb_fgw, pcb_aname(fn, aname)); - return f; -} - -void pcb_remove_actions(const pcb_action_t *a, int n) -{ - int i; - - for (i = 0; i < n; i++) { - fgw_func_t *f = pcb_act_lookup(a[i].name); - if (f == NULL) { - pcb_message(PCB_MSG_WARNING, "Failed to remove action \"%s\" (is it registered?)\n", a[i].name); - continue; - } - pcb_remove_action(f); - } -} - -void pcb_remove_actions_by_cookie(const char *cookie) -{ - htsp_entry_t *e; - - /* Slow linear search - probably OK, this will run only on uninit */ - for (e = htsp_first(&pcb_fgw.func_tbl); e; e = htsp_next(&pcb_fgw.func_tbl, e)) { - fgw_func_t *f = e->value; - hid_cookie_action_t *ca = f->reg_data; - if ((ca != NULL) && (ca->cookie == cookie)) - pcb_remove_action(f); - } -} - -const pcb_action_t *pcb_find_action(const char *name, fgw_func_t **f_out) -{ - fgw_func_t *f; - hid_cookie_action_t *ca; - - if (name == NULL) - return NULL; - - f = pcb_act_lookup(name); - if (f == NULL) { - pcb_message(PCB_MSG_ERROR, "unknown action `%s'\n", name); - return NULL; - } - ca = f->reg_data; - if (f_out != NULL) - *f_out = f; - return ca->action; -} - -void pcb_print_actions() -{ - htsp_entry_t *e; - - fprintf(stderr, "Registered Actions:\n"); - for (e = htsp_first(&pcb_fgw.func_tbl); e; e = htsp_next(&pcb_fgw.func_tbl, e)) { - fgw_func_t *f = e->value; - hid_cookie_action_t *ca = f->reg_data; - 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(&pcb_fgw.func_tbl); e; e = htsp_next(&pcb_fgw.func_tbl, e)) { - fgw_func_t *f = e->value; - hid_cookie_action_t *ca = f->reg_data; - const char *desc = ca->action->description; - const char *synt = ca->action->syntax; - const char *ck = ca->cookie; - - desc = desc ? desc : ""; - synt = synt ? synt : ""; - ck = ck ? ck : ""; - - printf("A%s\n", ca->action->name); - dump_string('D', desc); - dump_string('S', synt); - dump_string('C', ck); - } -} - -int pcb_action(pcb_hidlib_t *hl, const char *name) -{ - return pcb_actionv(hl, name, 0, 0); -} - -int pcb_actionva(pcb_hidlib_t *hl, 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_actionv(hl, name, argc, argv); -} - -int pcb_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_actionv(NULL, name, argc, argv); -} - -fgw_error_t pcb_actionv_(const fgw_func_t *f, fgw_arg_t *res, int argc, fgw_arg_t *argv) -{ - fgw_error_t ret; - int i; - const pcb_action_t *old_action; - hid_cookie_action_t *ca = f->reg_data; - - if (pcbhl_conf.rc.verbose) { - fprintf(stderr, "Action: \033[34m%s(", f->name); - for (i = 0; i < argc; i++) - fprintf(stderr, "%s%s", i ? "," : "", (argv[i].type & FGW_STR) == FGW_STR ? argv[i].val.str : ""); - fprintf(stderr, ")\033[0m\n"); - } - - if (ca != NULL) { - /* pcb-rnd action with a lot of metadata */ - old_action = pcb_current_action; - pcb_current_action = ca->action; - ret = pcb_current_action->trigger_cb(res, argc, argv); - pcb_current_action = old_action; - } - else { - /* direct call, no metadata */ - ret = f->func(res, argc, argv); - } - - fgw_argv_free(&pcb_fgw, argc, argv); - - return ret; -} - -fgw_error_t pcb_actionv_bin(pcb_hidlib_t *hl, const char *name, fgw_arg_t *res, int argc, fgw_arg_t *argv) -{ - fgw_func_t *f = pcb_act_lookup(name); - - if (f == NULL) - return FGW_ERR_NOT_FOUND; - - argv[0].type = FGW_FUNC; - argv[0].val.argv0.func = f; - argv[0].val.argv0.user_call_ctx = hl; - - res->type = FGW_INVALID; - return pcb_actionv_(f, res, argc, argv); -} - - -int pcb_actionv(pcb_hidlib_t *hl, const char *name, int argc, const char **argsv) -{ - fgw_func_t *f; - fgw_arg_t res, argv[PCB_ACTION_MAX_ARGS+1]; - int n; - - if (name == NULL) - return 1; - - if (argc >= PCB_ACTION_MAX_ARGS) { - pcb_message(PCB_MSG_ERROR, "can not call action %s with this many arguments (%d >= %d)\n", name, argc, PCB_ACTION_MAX_ARGS); - return 1; - } - - f = pcb_act_lookup(name); - if (f == 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 ? ", " : "", argsv[i]); - pcb_message(PCB_MSG_ERROR, ")\n"); - return 1; - } - argv[0].type = FGW_FUNC; - argv[0].val.argv0.func = f; - argv[0].val.argv0.user_call_ctx = hl; - for(n = 0; n < argc; n++) { - argv[n+1].type = FGW_STR; - argv[n+1].val.str = (char *)argsv[n]; - } - res.type = FGW_INVALID; - if (pcb_actionv_(f, &res, argc+1, argv) != 0) - return -1; - if (fgw_arg_conv(&pcb_fgw, &res, FGW_INT) != 0) - return -1; - return res.val.nat_int; -} - -void pcb_hid_get_coords(const char *msg, pcb_coord_t *x, pcb_coord_t *y, int force) -{ - 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(pcb_gui, msg, x, y, force); -} - -static int hid_parse_actionstring(pcb_hidlib_t *hl, 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_actionv(hl, 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_actionv(hl, 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; -} - -const char *pcb_cli_prompt(const char *suffix) -{ - const char *base; - static char prompt[128]; - int blen, slen, len; - - if ((pcbhl_conf.rc.cli_prompt != NULL) && (*pcbhl_conf.rc.cli_prompt != '\0')) - base = pcbhl_conf.rc.cli_prompt; - else if ((pcbhl_conf.rc.cli_backend == NULL) || (*pcbhl_conf.rc.cli_backend == '\0')) - base = "action"; - else - base = pcbhl_conf.rc.cli_backend; - - if ((suffix == NULL) || (*suffix == '\0')) - return base; - - blen = strlen(base); - slen = strlen(suffix); - - len = blen; - if (len >= sizeof(prompt)-1-slen) - len = sizeof(prompt)-1-slen; - - memcpy(prompt, base, len); - memcpy(prompt+len, suffix, slen); - prompt[len+slen] = '\0'; - return prompt; -} - -static vtp0_t cli_stack; - -static void cli_push(const char *val) -{ - if (val == NULL) - val = ""; - vtp0_append(&cli_stack, pcb_strdup(val)); -} - -static char *cli_pop(void) -{ - if (cli_stack.used == 0) - return NULL; - return cli_stack.array[--cli_stack.used]; -} - -int pcb_cli_enter(const char *backend, const char *prompt) -{ - cli_push(pcbhl_conf.rc.cli_backend); - cli_push(pcbhl_conf.rc.cli_prompt); - - if (pcb_conf_set(CFR_CLI, "rc/cli_backend", 0, backend, POL_OVERWRITE) != 0) - return -1; - return pcb_conf_set(CFR_CLI, "rc/cli_prompt", 0, prompt, POL_OVERWRITE); -} - -int pcb_cli_leave(void) -{ - if (vtp0_len(&cli_stack) >= 2) { - char *prompt = NULL, *backend = NULL; - prompt = cli_pop(); - backend = cli_pop(); - pcb_conf_set(CFR_CLI, "rc/cli_backend", 0, backend, POL_OVERWRITE); - pcb_conf_set(CFR_CLI, "rc/cli_prompt", 0, prompt, POL_OVERWRITE); - free(prompt); - free(backend); - return 0; - } - - pcb_conf_set(CFR_CLI, "rc/cli_backend", 0, "", POL_OVERWRITE); - pcb_conf_set(CFR_CLI, "rc/cli_prompt", 0, "", POL_OVERWRITE); - return -1; -} - -static int pcb_cli_common(pcb_hidlib_t *hl, fgw_arg_t *args) -{ - const pcb_action_t *a; - fgw_func_t *f; - - /* no backend: let the original action work */ - if ((pcbhl_conf.rc.cli_backend == NULL) || (*pcbhl_conf.rc.cli_backend == '\0')) - return -1; - - /* backend: let the backend action handle it */ - a = pcb_find_action(pcbhl_conf.rc.cli_backend, &f); - if (!a) - return -1; - - args[0].type = FGW_FUNC; - args[0].val.argv0.func = f; - args[0].val.argv0.user_call_ctx = hl; - return 0; -} - -int pcb_cli_tab(pcb_hidlib_t *hl) -{ - fgw_arg_t res, args[2]; - - if (pcb_cli_common(hl, args) != 0) - return -1; - - args[1].type = FGW_STR; - args[1].val.str = "/tab"; - - if (pcb_actionv_(args[0].val.func, &res, 2, args) != 0) - return -1; - fgw_arg_conv(&pcb_fgw, &res, FGW_INT); - return res.val.nat_int; -} - -int pcb_cli_edit(pcb_hidlib_t *hl) -{ - fgw_arg_t res, args[2]; - - if (pcb_cli_common(hl, args) != 0) - return -1; - - args[1].type = FGW_STR; - args[1].val.str = "/edit"; - - if (pcb_actionv_(args[0].val.func, &res, 2, args) != 0) - return -1; - fgw_arg_conv(&pcb_fgw, &res, FGW_INT); - return res.val.nat_int; -} - -int pcb_cli_mouse(pcb_hidlib_t *hl, pcb_bool notify) -{ - fgw_arg_t res, args[3]; - - if (pcb_cli_common(hl, args) != 0) - return -1; - - args[1].type = FGW_STR; - args[1].val.str = "/click"; - args[2].type = FGW_INT; - args[2].val.nat_int = notify; - - if (pcb_actionv_(args[0].val.func, &res, 3, args) != 0) - return -1; - fgw_arg_conv(&pcb_fgw, &res, FGW_INT); - return res.val.nat_int; -} - - -void pcb_cli_uninit(void) -{ - while(vtp0_len(&cli_stack) > 0) - free(cli_pop()); -} - -int pcb_parse_command(pcb_hidlib_t *hl, const char *str_, pcb_bool force_action_mode) -{ - fgw_arg_t res, args[2]; - fgw_func_t *f; - const pcb_action_t *a; - const char *end; - - /* no backend or forced action mode: classic pcb-rnd action parse */ - if (force_action_mode || (pcbhl_conf.rc.cli_backend == NULL) || (*pcbhl_conf.rc.cli_backend == '\0')) { - pcb_event(NULL, PCB_EVENT_CLI_ENTER, "s", str_); - return hid_parse_actionstring(hl, str_, pcb_false); - } - - /* backend: let the backend action handle it */ - a = pcb_find_action(pcbhl_conf.rc.cli_backend, &f); - if (!a) { - pcb_message(PCB_MSG_ERROR, "cli: no action %s; leaving mode\n", pcbhl_conf.rc.cli_backend); - pcb_cli_leave(); - return -1; - } - - end = strpbrk(str_, "\n\r"); - - args[0].type = FGW_FUNC; - args[0].val.argv0.func = f; - args[0].val.argv0.user_call_ctx = hl; - - if (end == NULL) { - /* optimization: string doesn't contain newline - pass it as is to save an strdup */ - args[1].type = FGW_STR; - args[1].val.str = pcb_strdup(str_); - } - else { - /* string contains a newline; need to cut there, which needs a dup; let fungw free it as dynamic string, cleaning up args after the fungw call */ - args[1].type = FGW_STR | FGW_DYN; - args[1].val.str = pcb_strdup(str_); - args[1].val.str[end - str_] = '\0'; - } - - if (pcb_actionv_(f, &res, 2, args) != 0) - return -1; - fgw_arg_conv(&pcb_fgw, &res, FGW_INT); - return res.val.nat_int; -} - -int pcb_parse_actions(pcb_hidlib_t *hl, const char *str_) -{ - return hid_parse_actionstring(hl, str_, pcb_true); -} - -/*** custom fungw types ***/ -#define conv_str2kw(dst, src) dst = pcb_funchash_get(src, NULL) - -static int keyword_arg_conv(fgw_ctx_t *ctx, fgw_arg_t *arg, fgw_type_t target) -{ - if (target == FGW_KEYWORD) { /* convert to keyword */ - long tmp; - switch(FGW_BASE_TYPE(arg->type)) { - ARG_CONV_CASE_LONG(tmp, conv_err) - ARG_CONV_CASE_LLONG(tmp, conv_err) - ARG_CONV_CASE_DOUBLE(tmp, conv_err) - ARG_CONV_CASE_LDOUBLE(tmp, conv_err) - ARG_CONV_CASE_STR(tmp, conv_str2kw) - ARG_CONV_CASE_PTR(tmp, conv_err) - ARG_CONV_CASE_CLASS(tmp, conv_err) - ARG_CONV_CASE_INVALID(tmp, conv_err) - } - arg->type = FGW_KEYWORD; - fgw_keyword(arg) = tmp; - return 0; - } - if (arg->type == FGW_KEYWORD) { /* convert from keyword */ - long tmp = fgw_keyword(arg); - switch(target) { - ARG_CONV_CASE_LONG(tmp, conv_rev_assign) - ARG_CONV_CASE_LLONG(tmp, conv_rev_assign) - ARG_CONV_CASE_DOUBLE(tmp, conv_rev_assign) - ARG_CONV_CASE_LDOUBLE(tmp, conv_rev_assign) - ARG_CONV_CASE_PTR(tmp, conv_err) - ARG_CONV_CASE_CLASS(tmp, conv_err) - ARG_CONV_CASE_INVALID(tmp, conv_err) - case FGW_STR: - arg->val.str = (char *)pcb_funchash_reverse(tmp); - arg->type = FGW_STR; - return 0; - } - arg->type = target; - return 0; - } - fprintf(stderr, "Neither side of the conversion is keyword\n"); - abort(); -} - -char *fgw_str2coord_unit = NULL; -#define conv_str2coord(dst, src) \ -do { \ - pcb_bool succ; \ - dst = pcb_get_value_ex(src, NULL, NULL, NULL, fgw_str2coord_unit, &succ); \ - if (!succ) \ - return -1; \ -} while(0) - -static int coord_arg_conv(fgw_ctx_t *ctx, fgw_arg_t *arg, fgw_type_t target) -{ - if (target == FGW_COORD) { /* convert to coord */ - pcb_coord_t tmp; - switch(FGW_BASE_TYPE(arg->type)) { - ARG_CONV_CASE_LONG(tmp, conv_assign) - ARG_CONV_CASE_LLONG(tmp, conv_assign) - ARG_CONV_CASE_DOUBLE(tmp, conv_assign) - ARG_CONV_CASE_LDOUBLE(tmp, conv_assign) - ARG_CONV_CASE_STR(tmp, conv_str2coord) - ARG_CONV_CASE_PTR(tmp, conv_err) - ARG_CONV_CASE_CLASS(tmp, conv_err) - ARG_CONV_CASE_INVALID(tmp, conv_err) - } - arg->type = FGW_COORD; - fgw_coord(arg) = tmp; - return 0; - } - if (arg->type == FGW_COORD) { /* convert from coord */ - pcb_coord_t tmp = fgw_coord(arg); - switch(target) { - ARG_CONV_CASE_LONG(tmp, conv_rev_assign) - ARG_CONV_CASE_LLONG(tmp, conv_rev_assign) - ARG_CONV_CASE_DOUBLE(tmp, conv_rev_assign) - ARG_CONV_CASE_LDOUBLE(tmp, conv_rev_assign) - ARG_CONV_CASE_PTR(tmp, conv_err) - ARG_CONV_CASE_CLASS(tmp, conv_err) - ARG_CONV_CASE_INVALID(tmp, conv_err) - case FGW_STR: - arg->val.str = (char *)pcb_strdup_printf("%.08$mH", tmp); - arg->type = FGW_STR | FGW_DYN; - return 0; - } - arg->type = target; - return 0; - } - fprintf(stderr, "Neither side of the conversion is coord\n"); - abort(); -} - -#define conv_str2coords(dst, src) \ -do { \ - pcb_bool succ, abso; \ - dst.c[0] = pcb_get_value_ex(src, NULL, &abso, NULL, fgw_str2coord_unit, &succ); \ - if (!succ) \ - return -1; \ - dst.len = 1; \ - dst.absolute[0] = abso; \ -} while(0) - - - -#define conv_loadcoords(dst, src) \ -do { \ - dst.len = 1; \ - dst.absolute[0] = 1; \ - dst.c[0] = src; \ -} while(0) - -static int coords_arg_conv(fgw_ctx_t *ctx, fgw_arg_t *arg, fgw_type_t target) -{ - if (target == FGW_COORDS) { /* convert to coord */ - fgw_coords_t tmp; - switch(FGW_BASE_TYPE(arg->type)) { - ARG_CONV_CASE_LONG(tmp, conv_loadcoords) - ARG_CONV_CASE_LLONG(tmp, conv_loadcoords) - ARG_CONV_CASE_DOUBLE(tmp, conv_loadcoords) - ARG_CONV_CASE_LDOUBLE(tmp, conv_loadcoords) - ARG_CONV_CASE_STR(tmp, conv_str2coords) - ARG_CONV_CASE_PTR(tmp, conv_err) - ARG_CONV_CASE_CLASS(tmp, conv_err) - ARG_CONV_CASE_INVALID(tmp, conv_err) - } - arg->type = FGW_COORDS | FGW_DYN; - fgw_coords(arg) = malloc(sizeof(tmp)); - memcpy(fgw_coords(arg), &tmp, sizeof(tmp)); - return 0; - } - if (arg->type == FGW_COORDS) { /* convert from coord */ - fgw_coords_t *tmp = fgw_coords(arg); - switch(target) { - ARG_CONV_CASE_LONG(tmp, conv_err) - ARG_CONV_CASE_LLONG(tmp, conv_err) - ARG_CONV_CASE_DOUBLE(tmp, conv_err) - ARG_CONV_CASE_LDOUBLE(tmp, conv_err) - ARG_CONV_CASE_PTR(tmp, conv_err) - ARG_CONV_CASE_CLASS(tmp, conv_err) - ARG_CONV_CASE_INVALID(tmp, conv_err) - case FGW_STR: - arg->val.str = (char *)pcb_strdup_printf("%.08$mH", tmp); - arg->type = FGW_STR | FGW_DYN; - return 0; - } - arg->type = target; - return 0; - } - fprintf(stderr, "Neither side of the conversion is coords\n"); - abort(); -} - -static int coords_arg_free(fgw_ctx_t *ctx, fgw_arg_t *arg) -{ - assert(arg->type == (FGW_COORDS | FGW_DYN)); - free(arg->val.ptr_void); - return 0; -} - -static void pcb_action_err(fgw_obj_t *obj, const char *msg) -{ - pcb_message(PCB_MSG_ERROR, "fungw(%s): %s", obj->name, msg); -} - -void pcb_actions_init(void) -{ - fgw_init(&pcb_fgw, "pcb-rnd"); - pcb_fgw.async_error = pcb_action_err; - pcb_fgw_obj = fgw_obj_reg(&pcb_fgw, "core"); - if (fgw_reg_custom_type(&pcb_fgw, FGW_KEYWORD, "keyword", keyword_arg_conv, NULL) != FGW_KEYWORD) { - fprintf(stderr, "pcb_actions_init: failed to register FGW_KEYWORD\n"); - abort(); - } - if (fgw_reg_custom_type(&pcb_fgw, FGW_COORD, "coord", coord_arg_conv, NULL) != FGW_COORD) { - fprintf(stderr, "pcb_actions_init: failed to register FGW_COORD\n"); - abort(); - } - if (fgw_reg_custom_type(&pcb_fgw, FGW_COORDS, "coords", coords_arg_conv, coords_arg_free) != FGW_COORDS) { - fprintf(stderr, "pcb_actions_init: failed to register FGW_COORDS\n"); - abort(); - } -} - -void pcb_actions_uninit(void) -{ - htsp_entry_t *e; - - for (e = htsp_first(&pcb_fgw.func_tbl); e; e = htsp_next(&pcb_fgw.func_tbl, e)) { - fgw_func_t *f = e->value; - hid_cookie_action_t *ca = f->reg_data; - 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); - pcb_remove_action(f); - } - - fgw_obj_unreg(&pcb_fgw, pcb_fgw_obj); - fgw_uninit(&pcb_fgw); - fgw_atexit(); -} - Index: trunk/src/actions.h =================================================================== --- trunk/src/actions.h (revision 29247) +++ trunk/src/actions.h (nonexistent) @@ -1,228 +0,0 @@ -#ifndef PCB_ACTIONS_H -#define PCB_ACTIONS_H - -#include "hid.h" -#include -#include - -#define PCB_ACTION_NAME_MAX 128 - -struct pcb_action_s { - const char *name; /* action command name */ - fgw_error_t (*trigger_cb)(fgw_arg_t *ores, int argc, fgw_arg_t *argv); /* Action implementation; if this returns non-zero, no further actions will be invoked for this key/mouse event. */ - const char *description;/* Short description (help text) */ - const char *syntax; /* Full allowed syntax; use \n to separate lines. */ -}; - -extern fgw_ctx_t pcb_fgw; - -typedef struct fgw_coords_s { - int len; - pcb_coord_t c[4]; - char absolute[4]; -} fgw_coords_t; - -typedef enum { - FGW_KEYWORD_ = FGW_CUSTOM, - FGW_COORD_, - FGW_COORDS_, - FGW_LAYERID_, - FGW_LAYER_, - FGW_DATA_, - FGW_LAYERGRPID_, - FGW_LAYERGRP_ -} pcb_fgw_types_e; -#define fgw_keyword(arg) ((arg)->val.nat_int) -#define fgw_coord(arg) (*(pcb_coord_t *)(&((arg)->val.custom.c))) -#define fgw_coords(arg) ((arg)->val.ptr_void) -#define fgw_layerid(arg) ((arg)->val.nat_long) -#define fgw_layer(arg) ((arg)->val.ptr_void) -#define fgw_data(arg) ((arg)->val.ptr_void) -#define fgw_idpath(arg) ((arg)->val.ptr_void) -#define fgw_idpath_list(arg) ((arg)->val.ptr_void) -#define fgw_layergrpid(arg) ((arg)->val.nat_long) -#define fgw_layergrp(arg) ((arg)->val.ptr_void) -#define FGW_KEYWORD ((fgw_type_t)FGW_KEYWORD_) -#define FGW_COORD ((fgw_type_t)FGW_COORD_) -#define FGW_COORDS ((fgw_type_t)FGW_COORDS_) -#define FGW_LAYERID ((fgw_type_t)FGW_LAYERID_) -#define FGW_LAYER ((fgw_type_t)FGW_LAYER_) -#define FGW_DATA ((fgw_type_t)FGW_DATA_) -#define FGW_IDPATH (FGW_PTR) -#define FGW_IDPATH_LIST (FGW_PTR) -#define FGW_LAYERGRPID ((fgw_type_t)FGW_LAYERGRPID_) -#define FGW_LAYERGRP ((fgw_type_t)FGW_LAYERGRP_) - -extern const char *PCB_PTR_DOMAIN_IDPATH; -extern const char *PCB_PTR_DOMAIN_IDPATH_LIST; - -void pcb_register_action(const pcb_action_t *a, const char *cookie); -void pcb_register_actions(const pcb_action_t *a, int, const char *cookie); - -/* shorthand for registering all actions from an action table */ -#define PCB_REGISTER_ACTIONS(a, cookie) \ - pcb_register_actions(a, sizeof(a)/sizeof(a[0]), cookie); - -/* split registration, when action tables are in separate objects */ -#define PCB_REGISTER_ACTIONS_FUNC(a, cookie) PCB_HIDCONCAT(void register_,a) ()\ - { pcb_register_actions(a, sizeof(a)/sizeof(a[0]), cookie); } -#define PCB_REGISTER_ACTIONS_CALL(a, cookie) {extern void PCB_HIDCONCAT(register_,a)();PCB_HIDCONCAT(register_,a)();} - -/* Inits and uninits the whole action framework */ -void pcb_actions_init(void); -void pcb_actions_uninit(void); - -/* These are called from main_act.c */ -void pcb_print_actions(void); -void pcb_dump_actions(void); - -const pcb_action_t *pcb_find_action(const char *name, fgw_func_t **f_out); - -void pcb_remove_actions(const pcb_action_t *a, int n); -void pcb_remove_actions_by_cookie(const char *cookie); - -int pcb_action(pcb_hidlib_t *hl, const char *action_); -int pcb_actionva(pcb_hidlib_t *hl, const char *action_, ...); /* NULL terminated */ -int pcb_actionv(pcb_hidlib_t *hl, const char *action_, int argc_, const char **argv_); -fgw_error_t pcb_actionv_(const fgw_func_t *f, fgw_arg_t *res, int argc, fgw_arg_t *argv); - - -int pcb_actionl(const char *action_, ...); /* NULL terminated - DEPRECATED, DO NOT USE (does not set user_call_ctx) */ - - -/* Call an action by name, passing arguments and res in fungw binary format; - Caller must leave argv[0] empty for the function designator. */ -fgw_error_t pcb_actionv_bin(pcb_hidlib_t *hl, const char *name, fgw_arg_t *res, int argc, fgw_arg_t *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. If force_action_mode is true, str - is interpreted as pcb-rnd action despite of the cli mode. - Returns nonzero if the action handler(s) return nonzero. */ -int pcb_parse_command(pcb_hidlib_t *hl, const char *str_, pcb_bool force_action_mode); - -/* Parse the given string into action calls, and call - hid_actionv for each action found. Accepts only - "action(arg1, arg2)" */ -int pcb_parse_actions(pcb_hidlib_t *hl, const char *str_); - -/* Return a static buffer with the current prompt plus an optional - suffix glued to it. Valid until the next call. */ -const char *pcb_cli_prompt(const char *suffix); - -/* Change the cli backend/prompt, entering a new cli mode; the old - mode is pushed on a stack */ -int pcb_cli_enter(const char *backend, const char *prompt); - -/* Leave the current cli mode, returning to the previous mode - (popped from a stack) */ -int pcb_cli_leave(void); - -/* Request for tab completion */ -int pcb_cli_tab(pcb_hidlib_t *hl); - -/* Called on each key press so indication can be updated */ -int pcb_cli_edit(pcb_hidlib_t *hl); - -/* Mouse event while the command line is open; returns zero if - normal event processing shall be inhibited; notify is true if - called in notify mode, false if called in release mode */ -int pcb_cli_mouse(pcb_hidlib_t *hl, pcb_bool notify); - -/* Discard the cli mode stack */ -void pcb_cli_uninit(void); - -/* 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. If force is - non-zero and msg is non-NULL, discard the cache and force querying a - new coord. This mode must NOT be used unless action arguments explictly - requested it. */ -void pcb_hid_get_coords(const char *msg, pcb_coord_t *x, pcb_coord_t *y, int force); - -#define PCB_ACTION_MAX_ARGS 16 - -/* low level action function lookup */ -fgw_func_t *pcb_act_lookup(const char *aname); - -char *pcb_make_action_name(char *out, const char *inp, int inp_len); -PCB_INLINE char *pcb_aname(char *out, const char *inp) -{ - return pcb_make_action_name(out, inp, strlen(inp)); -} - -/* Return 0 on success after an action call */ -PCB_INLINE int pcb_act_result(fgw_arg_t *res, fgw_error_t ret) -{ - if (ret != 0) - return -1; - - if (fgw_arg_conv(&pcb_fgw, res, FGW_INT) != 0) - return -1; - - return res->val.nat_int; -} - -/* Retrieve the (pcb_hidlib_t *) context from argv[0] within an action */ -#define PCB_ACT_HIDLIB ((pcb_hidlib_t *)argv[0].val.argv0.user_call_ctx) - -/* Call an action function directly, bypassing fungw; evaluates to an int - that is 0 on success */ -#define PCB_ACT_CALL_C(func, res, argc, argv) \ - pcb_act_result(res, func(res, argc, argv)) - -/* Require argument idx to exist and convert it to type; on success, also execute stmt */ -#define PCB_ACT_CONVARG(idx, type, aname, stmt) \ -do { \ - if (argc <= idx) { \ - PCB_ACT_FAIL(aname); \ - return FGW_ERR_ARGC; \ - } \ - if (fgw_arg_conv(&pcb_fgw, &argv[idx], type) != 0) { \ - PCB_ACT_FAIL(aname); \ - return FGW_ERR_ARG_CONV; \ - } \ - { stmt; } \ -} while(0) - -/* If argument idx exists, convert it to type; on success, also execute stmt */ -#define PCB_ACT_MAY_CONVARG(idx, type, aname, stmt) \ -do { \ - if (argc > idx) { \ - if (fgw_arg_conv(&pcb_fgw, &argv[idx], type) != 0) { \ - PCB_ACT_FAIL(aname); \ - return FGW_ERR_ARG_CONV; \ - } \ - { stmt; } \ - } \ -} while(0) - -/* Set integer res value */ -#define PCB_ACT_IRES(v) \ -do { \ - res->type = FGW_INT; \ - res->val.nat_int = v; \ -} while(0) - -/* Set double res value */ -#define PCB_ACT_DRES(v) \ -do { \ - res->type = FGW_DOUBLE; \ - res->val.nat_double = v; \ -} while(0) - -#define PCB_ACT_FAIL(x) { pcb_message(PCB_MSG_ERROR, "Syntax error. Usage:\n%s\n", (pcb_acts_ ## x)); return FGW_ERR_ARG_CONV; } - -/*** The default unit to use when a coord value doesn't have its own unit ***/ -extern char *fgw_str2coord_unit; /* saved is char * too */ -#define fgw_str2coord_unit_set(saved, newval) \ -do { \ - saved = fgw_str2coord_unit; \ - fgw_str2coord_unit = newval; \ -} while(0) - -#define fgw_str2coord_unit_restore(saved) \ - fgw_str2coord_unit = saved - -#endif Index: trunk/src/box.c =================================================================== --- trunk/src/box.c (revision 29247) +++ trunk/src/box.c (nonexistent) @@ -1,57 +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) 2017 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: http://repo.hu/projects/pcb-rnd/contact.html - * mailing list: pcb-rnd (at) list.repo.hu (send "subscribe") - * - */ - -#include "config.h" - -#include -#include "rotate.h" -#include "box.h" - -void pcb_box_rotate90(pcb_box_t *Box, pcb_coord_t X, pcb_coord_t Y, unsigned Number) -{ - pcb_coord_t x1 = Box->X1, y1 = Box->Y1, x2 = Box->X2, y2 = Box->Y2; - - PCB_COORD_ROTATE90(x1, y1, X, Y, Number); - PCB_COORD_ROTATE90(x2, y2, X, Y, Number); - Box->X1 = MIN(x1, x2); - Box->Y1 = MIN(y1, y2); - Box->X2 = MAX(x1, x2); - Box->Y2 = MAX(y1, y2); -} - -void pcb_box_enlarge(pcb_box_t *box, double xfactor, double yfactor) -{ - double w = (double)(box->X2 - box->X1) * xfactor / 2.0; - double h = (double)(box->Y2 - box->Y1) * yfactor / 2.0; - - box->X1 = pcb_round(box->X1 - w); - box->Y1 = pcb_round(box->Y1 - h); - box->X2 = pcb_round(box->X2 + w); - box->Y2 = pcb_round(box->Y2 + h); -} Index: trunk/src/box.h =================================================================== --- trunk/src/box.h (revision 29247) +++ trunk/src/box.h (nonexistent) @@ -1,264 +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) 1998,1999,2000,2001 harry eaton - * - * this file, box.h, was written and is - * Copyright (c) 2001 C. Scott Ananian. - * - * Copyright (C) 2017 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: http://repo.hu/projects/pcb-rnd/contact.html - * mailing list: pcb-rnd (at) list.repo.hu (send "subscribe") - * - * - * Old contact info: - * harry eaton, 6697 Buttonhole Ct, Columbia, MD 21044 USA - * haceaton@aplcomm.jhuapl.edu - * - */ - - -/* random box-related utilities. */ - -#ifndef PCB_BOX_H -#define PCB_BOX_H - -#include -#include "config.h" -#include "math_helper.h" -#include "global_typedefs.h" -#include "pcb_bool.h" - -struct pcb_box_list_s { - pcb_cardinal_t BoxN, /* the number of boxes contained */ - BoxMax; /* max boxes from malloc */ - pcb_box_t *Box; -}; - -#include "misc_util.h" - -typedef enum { - PCB_NORTH = 0, PCB_EAST = 1, PCB_SOUTH = 2, PCB_WEST = 3, - PCB_NE = 4, PCB_SE = 5, PCB_SW = 6, PCB_NW = 7, - PCB_ANY_DIR = 8 -} pcb_direction_t; - -/* rotates box 90-degrees cw */ -/* that's a strange rotation! */ -#define PCB_BOX_ROTATE_CW(box) { pcb_coord_t t;\ - t = (box).X1; (box).X1 = -(box).Y2; (box).Y2 = (box).X2;\ - (box).X2 = -(box).Y1; (box).Y1 = t;\ -} -#define PCB_BOX_ROTATE_TO_NORTH(box, dir) do { pcb_coord_t t;\ - switch(dir) {\ - case PCB_EAST: \ - t = (box).X1; (box).X1 = (box).Y1; (box).Y1 = -(box).X2;\ - (box).X2 = (box).Y2; (box).Y2 = -t; break;\ - case PCB_SOUTH: \ - t = (box).X1; (box).X1 = -(box).X2; (box).X2 = -t;\ - t = (box).Y1; (box).Y1 = -(box).Y2; (box).Y2 = -t; break;\ - case PCB_WEST: \ - t = (box).X1; (box).X1 = -(box).Y2; (box).Y2 = (box).X2;\ - (box).X2 = -(box).Y1; (box).Y1 = t; break;\ - case PCB_NORTH: break;\ - default: assert(0);\ - }\ - } while (0) -#define PCB_BOX_ROTATE_FROM_NORTH(box, dir) do { pcb_coord_t t;\ - switch(dir) {\ - case PCB_WEST: \ - t = (box).X1; (box).X1 = (box).Y1; (box).Y1 = -(box).X2;\ - (box).X2 = (box).Y2; (box).Y2 = -t; break;\ - case PCB_SOUTH: \ - t = (box).X1; (box).X1 = -(box).X2; (box).X2 = -t;\ - t = (box).Y1; (box).Y1 = -(box).Y2; (box).Y2 = -t; break;\ - case PCB_EAST: \ - t = (box).X1; (box).X1 = -(box).Y2; (box).Y2 = (box).X2;\ - (box).X2 = -(box).Y1; (box).Y1 = t; break;\ - case PCB_NORTH: break;\ - default: assert(0);\ - }\ - } while (0) - -/* to avoid overflow, we calculate centers this way */ -#define PCB_BOX_CENTER_X(b) ((b).X1 + ((b).X2 - (b).X1)/2) -#define PCB_BOX_CENTER_Y(b) ((b).Y1 + ((b).Y2 - (b).Y1)/2) - -#define PCB_MOVE_POINT(xs,ys,deltax,deltay) \ - do { \ - ((xs) += (deltax)); \ - ((ys) += (deltay)); \ - } while(0) - -#define PCB_BOX_MOVE_LOWLEVEL(b,dx,dy) \ - do { \ - PCB_MOVE_POINT((b)->X1,(b)->Y1,(dx),(dy)); \ - PCB_MOVE_POINT((b)->X2,(b)->Y2,(dx),(dy)); \ - } while(0) - - -typedef struct pcb_cheap_point_s { - pcb_coord_t X, Y; -} pcb_cheap_point_t; - - -/* note that boxes are closed on top and left and open on bottom and right. */ -/* this means that top-left corner is in box, *but bottom-right corner is - * not*. */ -PCB_INLINE pcb_bool pcb_point_in_box(const pcb_box_t * box, pcb_coord_t X, pcb_coord_t Y) -{ - return (X >= box->X1) && (Y >= box->Y1) && (X < box->X2) && (Y < box->Y2); -} - -PCB_INLINE pcb_bool pcb_point_in_closed_box(const pcb_box_t * box, pcb_coord_t X, pcb_coord_t Y) -{ - return (X >= box->X1) && (Y >= box->Y1) && (X <= box->X2) && (Y <= box->Y2); -} - -PCB_INLINE pcb_bool pcb_box_is_good(const pcb_box_t * b) -{ - return (b->X1 < b->X2) && (b->Y1 < b->Y2); -} - -PCB_INLINE pcb_bool pcb_box_intersect(const pcb_box_t * a, const pcb_box_t * b) -{ - return (a->X1 < b->X2) && (b->X1 < a->X2) && (a->Y1 < b->Y2) && (b->Y1 < a->Y2); -} - -PCB_INLINE pcb_cheap_point_t pcb_closest_pcb_point_in_box(const pcb_cheap_point_t * from, const pcb_box_t * box) -{ - pcb_cheap_point_t r; - assert(box->X1 < box->X2 && box->Y1 < box->Y2); - r.X = (from->X < box->X1) ? box->X1 : (from->X > box->X2 - 1) ? box->X2 - 1 : from->X; - r.Y = (from->Y < box->Y1) ? box->Y1 : (from->Y > box->Y2 - 1) ? box->Y2 - 1 : from->Y; - assert(pcb_point_in_box(box, r.X, r.Y)); - return r; -} - -PCB_INLINE pcb_bool pcb_box_in_box(const pcb_box_t * outer, const pcb_box_t * inner) -{ - return (outer->X1 <= inner->X1) && (inner->X2 <= outer->X2) && (outer->Y1 <= inner->Y1) && (inner->Y2 <= outer->Y2); -} - -PCB_INLINE pcb_box_t pcb_clip_box(const pcb_box_t * box, const pcb_box_t * clipbox) -{ - pcb_box_t r; - assert(pcb_box_intersect(box, clipbox)); - r.X1 = MAX(box->X1, clipbox->X1); - r.X2 = MIN(box->X2, clipbox->X2); - r.Y1 = MAX(box->Y1, clipbox->Y1); - r.Y2 = MIN(box->Y2, clipbox->Y2); - assert(pcb_box_in_box(clipbox, &r)); - return r; -} - -PCB_INLINE pcb_box_t pcb_shrink_box(const pcb_box_t * box, pcb_coord_t amount) -{ - pcb_box_t r = *box; - r.X1 += amount; - r.Y1 += amount; - r.X2 -= amount; - r.Y2 -= amount; - return r; -} - -PCB_INLINE pcb_box_t pcb_bloat_box(const pcb_box_t * box, pcb_coord_t amount) -{ - return pcb_shrink_box(box, -amount); -} - -/* construct a minimum box that touches the input box at the center */ -PCB_INLINE pcb_box_t pcb_box_center(const pcb_box_t * box) -{ - pcb_box_t r; - r.X1 = box->X1 + (box->X2 - box->X1) / 2; - r.X2 = r.X1 + 1; - r.Y1 = box->Y1 + (box->Y2 - box->Y1) / 2; - r.Y2 = r.Y1 + 1; - return r; -} - -/* construct a minimum box that touches the input box at the corner */ -PCB_INLINE pcb_box_t pcb_box_corner(const pcb_box_t * box) -{ - pcb_box_t r; - r.X1 = box->X1; - r.X2 = r.X1 + 1; - r.Y1 = box->Y1; - r.Y2 = r.Y1 + 1; - return r; -} - -/* construct a box that holds a single point */ -PCB_INLINE pcb_box_t pcb_point_box(pcb_coord_t X, pcb_coord_t Y) -{ - pcb_box_t r; - r.X1 = X; - r.X2 = X + 1; - r.Y1 = Y; - r.Y2 = Y + 1; - return r; -} - -/* close a bounding box by pushing its upper right corner */ -PCB_INLINE void pcb_close_box(pcb_box_t * r) -{ - r->X2++; - r->Y2++; -} - -/* return the square of the minimum distance from a point to some point - * inside a box. The box is half-closed! That is, the top-left corner - * is considered in the box, but the bottom-right corner is not. */ -PCB_INLINE double pcb_dist2_to_box(const pcb_cheap_point_t * p, const pcb_box_t * b) -{ - pcb_cheap_point_t r = pcb_closest_pcb_point_in_box(p, b); - return pcb_distance(r.X, r.Y, p->X, p->Y); -} - - -/* Modify dst to include src */ -PCB_INLINE void pcb_box_bump_box(pcb_box_t *dst, const pcb_box_t *src) -{ - if (src->X1 < dst->X1) dst->X1 = src->X1; - if (src->Y1 < dst->Y1) dst->Y1 = src->Y1; - if (src->X2 > dst->X2) dst->X2 = src->X2; - if (src->Y2 > dst->Y2) dst->Y2 = src->Y2; -} - -/* Modify dst to include src */ -PCB_INLINE void pcb_box_bump_point(pcb_box_t *dst, pcb_coord_t x, pcb_coord_t y) -{ - if (x < dst->X1) dst->X1 = x; - if (y < dst->Y1) dst->Y1 = y; - if (x > dst->X2) dst->X2 = x; - if (y > dst->Y2) dst->Y2 = y; -} - -/* rotates a box in 90 degree steps */ -void pcb_box_rotate90(pcb_box_t *Box, pcb_coord_t X, pcb_coord_t Y, unsigned Number); - -/* Enlarge a box by adding current width,height multiplied by xfactor,yfactor */ -void pcb_box_enlarge(pcb_box_t *box, double xfactor, double yfactor); - -#endif /* __BOX_H_INCLUDED__ */ Index: trunk/src/attrib.c =================================================================== --- trunk/src/attrib.c (revision 29247) +++ trunk/src/attrib.c (nonexistent) @@ -1,219 +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,2004,2006 Thomas Nau - * Copyright (C) 2019 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: http://repo.hu/projects/pcb-rnd/contact.html - * mailing list: pcb-rnd (at) list.repo.hu (send "subscribe") - * - */ - -/* attribute lists */ -#include -#include -#include -#include "config.h" -#include "compat_misc.h" -#include "attrib.h" - -#define NOTIFY(list, name, value) \ -do { \ - if (list->post_change != NULL) \ - list->post_change(list, name, value); \ -} while(0) - -char *pcb_attribute_get(const pcb_attribute_list_t *list, const char *name) -{ - int i; - for (i = 0; i < list->Number; i++) - if (strcmp(name, list->List[i].name) == 0) - return list->List[i].value; - return NULL; -} - -char **pcb_attribute_get_ptr(const pcb_attribute_list_t *list, const char *name) -{ - int i; - for (i = 0; i < list->Number; i++) - if (strcmp(name, list->List[i].name) == 0) - return &list->List[i].value; - return NULL; -} - -char **pcb_attribute_get_namespace_ptr(const pcb_attribute_list_t *list, const char *plugin, const char *key) -{ - int i, glb = -1, plugin_len = strlen(plugin); - - for (i = 0; i < list->Number; i++) { - if (strcmp(list->List[i].name, key) == 0) - glb = i; - if ((strncmp(list->List[i].name, plugin, plugin_len) == 0) && (list->List[i].name[plugin_len] == ':') && (list->List[i].name[plugin_len+1] == ':')) { - if (strcmp(list->List[i].name+plugin_len+2, key) == 0) - return &list->List[i].value; /* found the plugin-specific value, that wins */ - } - } - if (glb >= 0) - return &list->List[glb].value; /* fall back to global if present */ - return NULL; /* nothing */ -} - -char *pcb_attribute_get_namespace(const pcb_attribute_list_t *list, const char *plugin, const char *key) -{ - char **res = pcb_attribute_get_namespace_ptr(list, plugin, key); - if (res == NULL) - return NULL; - return *res; -} - -int pcb_attribute_put(pcb_attribute_list_t * list, const char *name, const char *value) -{ - int i; - - if ((name == NULL) || (*name == '\0')) - return -1; - - /* Replace an existing attribute if there is a name match. */ - for (i = 0; i < list->Number; i++) { - if (strcmp(name, list->List[i].name) == 0) { - char *old_value = list->List[i].value; - list->List[i].value = pcb_strdup_null(value); - NOTIFY(list, list->List[i].name, list->List[i].value); - free(old_value); - return 1; - } - } - - /* At this point, we're going to need to add a new attribute to the - list. See if there's room. */ - if (list->Number >= list->Max) { - list->Max += 10; - list->List = (pcb_attribute_t *) realloc(list->List, list->Max * sizeof(pcb_attribute_t)); - } - - /* Now add the new attribute. */ - i = list->Number; - list->List[i].name = pcb_strdup_null(name); - list->List[i].value = pcb_strdup_null(value); - list->List[i].cpb_written = 1; - NOTIFY(list, list->List[i].name, list->List[i].value); - list->Number++; - return 0; -} - -int pcb_attribute_remove_idx(pcb_attribute_list_t * list, int idx) -{ - int j; - char *old_name = list->List[idx].name, *old_value = list->List[idx].value; - - for (j = idx; j < list->Number-1; j++) - list->List[j] = list->List[j + 1]; - list->Number--; - - NOTIFY(list, old_name, NULL); - free(old_name); - free(old_value); - return 0; -} - -int pcb_attribute_remove(pcb_attribute_list_t * list, const char *name) -{ - int i, found = 0; - for (i = 0; i < list->Number; i++) - if (strcmp(name, list->List[i].name) == 0) { - found++; - pcb_attribute_remove_idx(list, i); - } - return found; -} - -void pcb_attribute_free(pcb_attribute_list_t *list) -{ - int i; - - /* first notify for all removals while the values are still available */ - for (i = 0; i < list->Number; i++) - NOTIFY(list, list->List[i].name, NULL); - - for (i = 0; i < list->Number; i++) { - free(list->List[i].name); - free(list->List[i].value); - } - free(list->List); - list->List = NULL; - list->Max = 0; -} - -void pcb_attribute_copy_all(pcb_attribute_list_t *dest, const pcb_attribute_list_t *src) -{ - int i; - - for (i = 0; i < src->Number; i++) - pcb_attribute_put(dest, src->List[i].name, src->List[i].value); -} - - -void pcb_attribute_copyback_begin(pcb_attribute_list_t *dst) -{ - int i; - - for (i = 0; i < dst->Number; i++) - dst->List[i].cpb_written = 0; -} - -void pcb_attribute_copyback(pcb_attribute_list_t *dst, const char *name, const char *value) -{ - int i; - for (i = 0; i < dst->Number; i++) { - if (strcmp(name, dst->List[i].name) == 0) { - dst->List[i].cpb_written = 1; - if (strcmp(value, dst->List[i].value) != 0) { - char *old_value = dst->List[i].value; - dst->List[i].value = pcb_strdup(value); - NOTIFY(dst, dst->List[i].name, dst->List[i].value); - free(old_value); - } - return; - } - } - pcb_attribute_put(dst, name, value); -} - -void pcb_attribute_copyback_end(pcb_attribute_list_t *dst) -{ - int i; - for (i = 0; i < dst->Number; i++) - if (!dst->List[i].cpb_written) - pcb_attribute_remove_idx(dst, i); -} - - -void pcb_attrib_compat_set_intconn(pcb_attribute_list_t *dst, int intconn) -{ - char buff[32]; - - if (intconn <= 0) - return; - - sprintf(buff, "%d", intconn & 0xFF); - pcb_attribute_put(dst, "intconn", buff); -} - Index: trunk/src/base64.c =================================================================== --- trunk/src/base64.c (revision 29247) +++ trunk/src/base64.c (nonexistent) @@ -1,86 +0,0 @@ -/* - * COPYRIGHT - * - * pcb-rnd, interactive printed circuit board design - * Copyright (C) 2015 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: http://repo.hu/projects/pcb-rnd/contact.html - * mailing list: pcb-rnd (at) list.repo.hu (send "subscribe") - */ -#include -#include "base64.h" - -static char int2digit(int digit) -{ - if (digit < 26) return 'A' + digit; - if (digit < 52) return 'a' + digit - 26; - if (digit < 62) return '0' + digit - 52; - if (digit == 62) return '+'; - if (digit == 63) return '/'; - return '\0'; /* error */ -} - -static int digit2int(char c) -{ - if ((c >= 'A') && (c <= 'Z')) return c - 'A'; - if ((c >= 'a') && (c <= 'z')) return c - 'a' + 26; - if ((c >= '0') && (c <= '9')) return c - 'a' + 52; - if (c == '+') return 62; - if (c == '/') return 63; - return -1; -} - - -size_t base64_write_right(char *buff_start, size_t buff_len, unsigned long int num) -{ - char *end = buff_start + buff_len; - size_t rlen = 0; - - if (num == 0) { - *end = int2digit(0); - return 1; - } - - while(num > 0) { - unsigned int digit = num & 0x3F; - *end = int2digit(digit); - num >>= 6; - rlen++; - } - - return rlen; -} - -int base64_parse_grow(unsigned long int *num, int chr, int term) -{ - int digit; - if (chr == term) - return 1; - - if (*num >= (ULONG_MAX >> 6UL)) - return -1; - - digit = digit2int(chr); - if (digit < 0) - return -1; - - (*num) <<= 6UL; - (*num) |= digit; - return 0; -} Index: trunk/src/attrib.h =================================================================== --- trunk/src/attrib.h (revision 29247) +++ trunk/src/attrib.h (nonexistent) @@ -1,88 +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,2006 Thomas Nau - * - * 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: http://repo.hu/projects/pcb-rnd/contact.html - * mailing list: pcb-rnd (at) list.repo.hu (send "subscribe") - * - */ - -/* attribute lists */ - -#ifndef PCB_ATTRIB_H -#define PCB_ATTRIB_H - -typedef struct pcb_attribute_list_s pcb_attribute_list_t; - -typedef struct pcb_attribute_s { - char *name; - char *value; - unsigned cpb_written:1; /* copyback: written */ -} pcb_attribute_t; - -struct pcb_attribute_list_s { - int Number, Max; - pcb_attribute_t *List; - void (*post_change)(pcb_attribute_list_t *list, const char *name, const char *value); /* called any time an attribute changes (including removes); value is NULL if removed; old value is free'd only after the call so cached old values are valid */ -}; - -/* Returns NULL if the name isn't found, else the value for that named - attribute. The ptr version returns the address of the value str in the slot */ -char *pcb_attribute_get(const pcb_attribute_list_t *list, const char *name); -char **pcb_attribute_get_ptr(const pcb_attribute_list_t *list, const char *name); - -/* Same as pcb_attribute_get, but also look for plugin::key which overrides - plain key hits */ -char *pcb_attribute_get_namespace(const pcb_attribute_list_t *list, const char *plugin, const char *key); -char **pcb_attribute_get_namespace_ptr(const pcb_attribute_list_t *list, const char *plugin, const char *key); - - -/* Adds an attribute to the list. If the attribute already exists, the value - is replaced. Returns non-zero if an existing attribute was replaced. */ -int pcb_attribute_put(pcb_attribute_list_t * list, const char *name, const char *value); -/* Simplistic version: Takes a pointer to an object, looks up attributes in it. */ -#define pcb_attrib_get(OBJ,name) pcb_attribute_get(&(OBJ->Attributes), name) -/* Simplistic version: Takes a pointer to an object, sets attributes in it. */ -#define pcb_attrib_put(OBJ,name,value) pcb_attribute_put(&(OBJ->Attributes), name, value) -/* Remove an attribute by name; returns number of items removed */ -int pcb_attribute_remove(pcb_attribute_list_t * list, const char *name); -/* Simplistic version of Remove. */ -#define pcb_attrib_remove(OBJ, name) pcb_attribute_remove(&(OBJ->Attributes), name) - -/* remove item by index - WARNING: no checks are made, idx has to be valid! */ -int pcb_attribute_remove_idx(pcb_attribute_list_t * list, int idx); - -/* Frees memory used by an attribute list */ -void pcb_attribute_free(pcb_attribute_list_t *list); - -/* Copy each attribute from src to dest */ -void pcb_attribute_copy_all(pcb_attribute_list_t *dest, const pcb_attribute_list_t *src); - -/* Copy back a mirrored attribute list, minimizing the changes */ -void pcb_attribute_copyback_begin(pcb_attribute_list_t *dst); -void pcb_attribute_copyback(pcb_attribute_list_t *dst, const char *name, const char *value); -void pcb_attribute_copyback_end(pcb_attribute_list_t *dst); - -/* Set the intconn attribute - hack for compatibility parsing */ -void pcb_attrib_compat_set_intconn(pcb_attribute_list_t *dst, int intconn); - -#endif Index: trunk/src/color.c =================================================================== --- trunk/src/color.c (revision 29247) +++ trunk/src/color.c (nonexistent) @@ -1,185 +0,0 @@ -/* - * COPYRIGHT - * - * pcb-rnd, interactive printed circuit board design - * Copyright (C) 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: http://repo.hu/projects/pcb-rnd/contact.html - * mailing list: pcb-rnd (at) list.repo.hu (send "subscribe") - */ - -#include "config.h" - -#include -#include - -#define GVT_DONT_UNDEF -#include "color.h" -#include - -#define PACK_COLOR_(r,g,b,a) ((((unsigned long)(r)) << 24) | (((unsigned long)(g)) << 16) | (((unsigned long)(b)) << 8) | (((unsigned long)(a)))) -#define PACK_COLOR(clr) PACK_COLOR_(clr->r, clr->g, clr->b, clr->a) -#define COLOR_TO_FLOAT(clr) \ -do { \ - clr->fr = (float)clr->r / 255.0; \ - clr->fg = (float)clr->g / 255.0; \ - clr->fb = (float)clr->b / 255.0; \ - clr->fa = (float)clr->a / 255.0; \ -} while(0) - -static const char *pcb_color_to_hex = "0123456789abcdef"; -#define COLOR_TO_HEX(val) pcb_color_to_hex[(val) & 0x0F] - -#define COLOR_TO_STR_COMP(dst, val) \ -do { \ - (dst)[0] = COLOR_TO_HEX(val >> 4); \ - (dst)[1] = COLOR_TO_HEX(val); \ -} while(0) - -#define COLOR_TO_STR(clr) \ -do { \ - clr->str[0] = '#'; \ - COLOR_TO_STR_COMP(clr->str+1, clr->r); \ - COLOR_TO_STR_COMP(clr->str+3, clr->g); \ - COLOR_TO_STR_COMP(clr->str+5, clr->b); \ - if (clr->a != 255) { \ - COLOR_TO_STR_COMP(clr->str+7, clr->a); \ - clr->str[9] = '\0'; \ - } \ - else \ - clr->str[7] = '\0'; \ -} while(0) - -#define CLAMP01(c) (((c) < 0.0) ? 0.0 : (((c) > 1.0) ? 1.0 : (c))) - -int pcb_color_load_int(pcb_color_t *dst, unsigned char r, unsigned char g, unsigned char b, unsigned char a) -{ - dst->r = r; - dst->g = g; - dst->b = b; - dst->a = a; - dst->packed = PACK_COLOR(dst); - COLOR_TO_FLOAT(dst); - COLOR_TO_STR(dst); - return 0; -} - -int pcb_color_load_packed(pcb_color_t *dst, unsigned long p) -{ - dst->packed = p; - dst->r = (p & 0xff000000UL) >> 24; - dst->g = (p & 0x00ff0000UL) >> 16; - dst->b = (p & 0x0000ff00UL) >> 8; - dst->a = (p & 0x000000ffUL); - COLOR_TO_FLOAT(dst); - COLOR_TO_STR(dst); - return 0; -} - -int pcb_color_load_float(pcb_color_t *dst, float r, float g, float b, float a) -{ - dst->r = CLAMP01(r) * 255.0; - dst->g = CLAMP01(g) * 255.0; - dst->b = CLAMP01(b) * 255.0; - dst->a = CLAMP01(a) * 255.0; - dst->packed = PACK_COLOR(dst); - COLOR_TO_STR(dst); - return 0; -} - -/* Convert a hex digit or return -1 on error */ -#define HEXDIGCONV(res, chr) \ -do { \ - if ((chr >= '0') && (chr <= '9')) res = chr - '0'; \ - else if ((chr >= 'a') && (chr <= 'f')) res = chr - 'a' + 10; \ - else if ((chr >= 'A') && (chr <= 'F')) res = chr - 'A' + 10; \ - else \ - return -1; \ -} while(0) - -/* convert a 2 digit hex number or return -1 on error */ -#define HEXCONV(dst_fld, src, idx) \ -do { \ - unsigned int tmp1, tmp2; \ - HEXDIGCONV(tmp1, src[idx]); \ - HEXDIGCONV(tmp2, src[idx+1]); \ - dst_fld = tmp1 << 4 | tmp2; \ -} while(0) - -int pcb_color_load_str(pcb_color_t *dst, const char *src) -{ - if (src[0] != '#') - return -1; - - HEXCONV(dst->r, src, 1); - HEXCONV(dst->g, src, 3); - HEXCONV(dst->b, src, 5); - if (src[7] != '\0') - HEXCONV(dst->a, src, 7); - else - dst->a = 255; - - dst->packed = PACK_COLOR(dst); - COLOR_TO_FLOAT(dst); - COLOR_TO_STR(dst); - return 0; -} - -pcb_color_t *pcb_clrdup(const pcb_color_t *src) -{ - pcb_color_t *dst = malloc(sizeof(pcb_color_t)); - memcpy(dst, src, sizeof(pcb_color_t)); - return dst; -} - -static pcb_color_t pcb_color_black_; -static pcb_color_t pcb_color_white_; -static pcb_color_t pcb_color_cyan_; -static pcb_color_t pcb_color_red_; -static pcb_color_t pcb_color_blue_; -static pcb_color_t pcb_color_drill_; -static pcb_color_t pcb_color_magenta_; -static pcb_color_t pcb_color_golden_; -static pcb_color_t pcb_color_grey33_; - -const pcb_color_t *pcb_color_black = &pcb_color_black_; -const pcb_color_t *pcb_color_white = &pcb_color_white_; -const pcb_color_t *pcb_color_cyan = &pcb_color_cyan_; -const pcb_color_t *pcb_color_red = &pcb_color_red_; -const pcb_color_t *pcb_color_blue = &pcb_color_blue_; -const pcb_color_t *pcb_color_drill = &pcb_color_drill_; -const pcb_color_t *pcb_color_grey33 = &pcb_color_grey33_; -const pcb_color_t *pcb_color_magenta = &pcb_color_magenta_; -const pcb_color_t *pcb_color_golden = &pcb_color_golden_; - -void pcb_color_init(void) -{ - pcb_color_load_str(&pcb_color_black_, "#000000"); - pcb_color_load_str(&pcb_color_white_, "#ffffff"); - pcb_color_load_str(&pcb_color_cyan_, "#00ffff"); - pcb_color_load_str(&pcb_color_red_, "#ff0000"); - pcb_color_load_str(&pcb_color_blue_, "#0000ff"); - pcb_color_load_str(&pcb_color_grey33_, "#333333"); - pcb_color_load_str(&pcb_color_magenta_, "#ff00ff"); - pcb_color_load_str(&pcb_color_golden_, "#dddd22"); - pcb_color_load_str(&pcb_color_drill_, "#ff00ff"); - strcpy(pcb_color_drill_.str, "drill"); -} - - Index: trunk/src/color.h =================================================================== --- trunk/src/color.h (revision 29247) +++ trunk/src/color.h (nonexistent) @@ -1,85 +0,0 @@ -/* - * COPYRIGHT - * - * pcb-rnd, interactive printed circuit board design - * Copyright (C) 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: http://repo.hu/projects/pcb-rnd/contact.html - * mailing list: pcb-rnd (at) list.repo.hu (send "subscribe") - */ - -#ifndef PCB_COLOR_H -#define PCB_COLOR_H - -#include "global_typedefs.h" -#include - -struct pcb_color_s { - unsigned char r, g, b, a; /* primary storage; alpha is not really supported at the moment */ - unsigned long packed; /* cache: 32 bit portable (byte-order-safe) packed version used for lookups */ - float fr, fg, fb, fa; /* cache: 0..1 version; using float to save memory^1 */ - char str[10]; /* cache: "#rrggbb[aa]" \0 terminated string version */ -}; - -extern const pcb_color_t *pcb_color_black; -extern const pcb_color_t *pcb_color_white; -extern const pcb_color_t *pcb_color_cyan; -extern const pcb_color_t *pcb_color_red; -extern const pcb_color_t *pcb_color_blue; -extern const pcb_color_t *pcb_color_grey33; -extern const pcb_color_t *pcb_color_magenta; -extern const pcb_color_t *pcb_color_golden; -extern const pcb_color_t *pcb_color_drill; - -/* Convert a color from various formats to a pcb color; returns 0 on success */ -int pcb_color_load_int(pcb_color_t *dst, unsigned char r, unsigned char g, unsigned char b, unsigned char a); -int pcb_color_load_packed(pcb_color_t *dst, unsigned long p); -int pcb_color_load_float(pcb_color_t *dst, float r, float g, float b, float a); -int pcb_color_load_str(pcb_color_t *dst, const char *src); - -/* Same as strdup(), but for colors */ -pcb_color_t *pcb_clrdup(const pcb_color_t *src); - -void pcb_color_init(void); - - -/* temporary hack */ -#define pcb_color_is_drill(clr) (strcmp((clr)->str, "drill") == 0) - -/*** color vector ***/ - -#define GVT(x) vtclr_ ## x -#define GVT_ELEM_TYPE pcb_color_t -#define GVT_SIZE_TYPE size_t -#define GVT_DOUBLING_THRS 512 -#define GVT_START_SIZE 16 -#define GVT_FUNC -#define GVT_SET_NEW_BYTES_TO 0 - -#include -#define GVT_REALLOC(vect, ptr, size) realloc(ptr, size) -#define GVT_FREE(vect, ptr) free(ptr) -#include - -/* Note ^1: openGL uses GLfloat which is guaranteed to be at least 32 bits; -but at the end for each color component it's unreasonable to use more than 8 -bits and it is unlikely to encounter a system that is capable of doing opengl -but having a float type with less integer bits than 8. */ - -#endif Index: trunk/src/base64.h =================================================================== --- trunk/src/base64.h (revision 29247) +++ trunk/src/base64.h (nonexistent) @@ -1,30 +0,0 @@ -/* - * COPYRIGHT - * - * pcb-rnd, interactive printed circuit board design - * Copyright (C) 2015 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: http://repo.hu/projects/pcb-rnd/contact.html - * mailing list: pcb-rnd (at) list.repo.hu (send "subscribe") - */ - -#include - -size_t base64_write_right(char *buff_start, size_t buff_len, unsigned long int num); -int base64_parse_grow(unsigned long int *num, int chr, int term); Index: trunk/src/Makefile.dep =================================================================== --- trunk/src/Makefile.dep (revision 29247) +++ trunk/src/Makefile.dep (revision 29248) @@ -2,14 +2,14 @@ ../src_plugins/acompnet/acompnet.o: ../src_plugins/acompnet/acompnet.c \ ../config.h board.h ../src_3rd/genht/htsp.h ../src_3rd/genht/ht.h \ - global_typedefs.h pcb_bool.h vtroutestyle.h unit.h attrib.h \ + global_typedefs.h pcb_bool.h vtroutestyle.h unit.h ../src/librnd/core/attrib.h \ ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h color.h \ + ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h ../src_3rd/genvector/gds_char.h layer_grp.h \ rats_patch.h board.h hidlib.h data.h crosshair.h vtonpoint.h hid.h \ ../src_3rd/liblihata/dom.h ../src_3rd/liblihata/lihata.h \ @@ -20,23 +20,23 @@ ../src_3rd/genrtree/genrtree_api.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 layer.h layer_ui.h actions.h plugins.h \ + vtpadstack_t.h layer.h layer_ui.h ../src/librnd/core/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 search.h polygon.h \ conf.h pcb-printf.h ../src_3rd/liblihata/lihata.h list_conf.h conf.h \ conf_core.h compat_misc.h error.h ../src_plugins/acompnet/meshgraph.h \ - rtree.h box.h + rtree.h ../src/librnd/core/box.h ../src_plugins/acompnet/meshgraph.o: ../src_plugins/acompnet/meshgraph.c \ ../config.h ../src_3rd/genht/hash.h board.h ../src_3rd/genht/htsp.h \ ../src_3rd/genht/ht.h global_typedefs.h pcb_bool.h vtroutestyle.h unit.h \ - attrib.h ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h color.h \ + ../src/librnd/core/attrib.h ../src_3rd/genvector/genvector_impl.h \ + ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h ../src_3rd/genvector/gds_char.h layer_grp.h \ rats_patch.h board.h hidlib.h conf_core.h conf.h pcb-printf.h \ ../src_3rd/liblihata/lihata.h ../src_3rd/liblihata/dom.h \ @@ -48,7 +48,7 @@ rtree2_compat.h rtree.h ../src_3rd/genrtree/genrtree_api.h ht_subc.h \ ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h vtpadstack.h \ obj_pstk_shape.h polygon.h vtpadstack_t.h \ - ../src_plugins/acompnet/meshgraph.h rtree.h box.h error.h layer.h \ + ../src_plugins/acompnet/meshgraph.h rtree.h ../src/librnd/core/box.h error.h layer.h \ route.h ../src_plugins/act_draw/act_draw.o: ../src_plugins/act_draw/act_draw.c \ ../config.h conf_core.h conf.h global_typedefs.h pcb_bool.h pcb-printf.h \ @@ -59,8 +59,8 @@ ../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 color.h actions.h hid.h \ - error.h attrib.h box.h math_helper.h misc_util.h \ + ../src_3rd/genlist/gendlist.h globalconst.h ../src/librnd/core/color.h ../src/librnd/core/actions.h hid.h \ + error.h ../src/librnd/core/attrib.h ../src/librnd/core/box.h math_helper.h misc_util.h \ ../src_3rd/libfungw/fungw.h ../src_3rd/genht/htpp.h board.h \ vtroutestyle.h layer.h obj_common.h flag.h data_parent.h obj_arc_list.h \ obj_arc.h ../src_3rd/genlist/gendlist.h obj_line_list.h obj_line.h \ @@ -83,16 +83,16 @@ ../src_plugins/act_draw/keywords_sphash.c ../src_plugins/act_read/act_read.o: ../src_plugins/act_read/act_read.c \ ../config.h board.h ../src_3rd/genht/htsp.h ../src_3rd/genht/ht.h \ - global_typedefs.h pcb_bool.h vtroutestyle.h unit.h attrib.h \ + global_typedefs.h pcb_bool.h vtroutestyle.h unit.h ../src/librnd/core/attrib.h \ ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h color.h \ + ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h ../src_3rd/genvector/gds_char.h layer_grp.h \ - rats_patch.h board.h hidlib.h data_parent.h actions.h hid.h \ + rats_patch.h board.h hidlib.h data_parent.h ../src/librnd/core/actions.h hid.h \ ../src_3rd/liblihata/dom.h ../src_3rd/liblihata/lihata.h \ ../src_3rd/liblihata/parser.h error.h ../src_3rd/libfungw/fungw.h \ ../src_3rd/genht/htpp.h crosshair.h vtonpoint.h route.h plugins.h \ @@ -116,13 +116,13 @@ ../src_3rd/gensexpr/gensexpr_impl.h ../src_3rd/gensexpr/gsx_parse.h \ ../src_3rd/genht/htpi.h ../src_3rd/genht/ht.h board.h \ ../src_3rd/genht/htsp.h global_typedefs.h pcb_bool.h vtroutestyle.h \ - unit.h attrib.h ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h color.h \ + unit.h ../src/librnd/core/attrib.h ../src_3rd/genvector/genvector_impl.h \ + ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h ../src_3rd/genvector/gds_char.h layer_grp.h \ rats_patch.h board.h hidlib.h data.h crosshair.h vtonpoint.h hid.h \ ../src_3rd/liblihata/dom.h ../src_3rd/liblihata/lihata.h \ @@ -136,7 +136,7 @@ vtpadstack_t.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 actions.h safe_fs.h conf.h pcb-printf.h \ + ../src_3rd/puplug/error.h ../src/librnd/core/actions.h safe_fs.h conf.h pcb-printf.h \ ../src_3rd/liblihata/lihata.h list_conf.h conf_core.h obj_pstk_inlines.h \ data.h thermal.h polygon1_gen.h \ ../src_plugins/lib_compat_help/pstk_compat.h obj_pstk.h \ @@ -145,12 +145,12 @@ ../src_3rd/genvector/gds_char.h ../src_3rd/genvector/genvector_impl.h \ ../src_3rd/genvector/genvector_undef.h ../src_3rd/genlist/gendlist.h \ board.h ../src_3rd/genht/htsp.h ../src_3rd/genht/ht.h global_typedefs.h \ - pcb_bool.h vtroutestyle.h unit.h attrib.h layer.h globalconst.h color.h \ + pcb_bool.h vtroutestyle.h unit.h ../src/librnd/core/attrib.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gentdlist_impl.h ../src_3rd/genlist/gendlist.h \ ../src_3rd/genlist/gentdlist_undef.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 misc_util.h layer_grp.h \ + ../src_3rd/genht/htip.h ../src/librnd/core/box.h math_helper.h misc_util.h layer_grp.h \ rats_patch.h board.h hidlib.h data.h crosshair.h vtonpoint.h hid.h \ ../src_3rd/liblihata/dom.h ../src_3rd/liblihata/lihata.h \ ../src_3rd/liblihata/parser.h error.h route.h buffer.h \ @@ -163,7 +163,7 @@ vtpadstack_t.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 actions.h compat_misc.h obj_subc.h \ + ../src_3rd/puplug/error.h ../src/librnd/core/actions.h compat_misc.h obj_subc.h \ pcb-printf.h hid_dad.h compat_misc.h hid_attrib.h pcb-printf.h \ hid_dad_spin.h hid_dad_tree.h hid_dad.h search.h draw.h select.h \ operation.h ../src_plugins/asm/asm_conf.h conf.h \ @@ -171,14 +171,14 @@ ../src_plugins/asm/conf_internal.c ../src_plugins/asm/asm_conf_fields.h ../src_plugins/autocrop/autocrop.o: ../src_plugins/autocrop/autocrop.c \ ../config.h board.h ../src_3rd/genht/htsp.h ../src_3rd/genht/ht.h \ - global_typedefs.h pcb_bool.h vtroutestyle.h unit.h attrib.h \ + global_typedefs.h pcb_bool.h vtroutestyle.h unit.h ../src/librnd/core/attrib.h \ ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h color.h \ + ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h ../src_3rd/genvector/gds_char.h layer_grp.h \ rats_patch.h board.h hidlib.h data.h crosshair.h vtonpoint.h hid.h \ ../src_3rd/liblihata/dom.h ../src_3rd/liblihata/lihata.h \ @@ -190,7 +190,7 @@ ../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 \ - actions.h plugins.h ../src_3rd/puplug/puplug.h ../src_3rd/puplug/libs.h \ + ../src/librnd/core/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 ../src_plugins/autoplace/action.o: ../src_plugins/autoplace/action.c \ @@ -197,14 +197,14 @@ ../config.h ../src_plugins/autoplace/autoplace.h global_typedefs.h \ pcb_bool.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 actions.h hid.h \ + ../src_3rd/puplug/libs.h ../src_3rd/puplug/error.h ../src/librnd/core/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 global_typedefs.h attrib.h box.h \ + ../src_3rd/genht/ht.h error.h global_typedefs.h ../src/librnd/core/attrib.h ../src/librnd/core/box.h \ math_helper.h misc_util.h unit.h ../src_3rd/libfungw/fungw.h \ ../src_3rd/genht/htpp.h board.h vtroutestyle.h \ ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h color.h \ + ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.h \ @@ -215,17 +215,17 @@ ../src_plugins/autoplace/autoplace.o: \ ../src_plugins/autoplace/autoplace.c ../config.h board.h \ ../src_3rd/genht/htsp.h ../src_3rd/genht/ht.h global_typedefs.h \ - pcb_bool.h vtroutestyle.h unit.h attrib.h \ + pcb_bool.h vtroutestyle.h unit.h ../src/librnd/core/attrib.h \ ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h color.h \ + ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h ../src_3rd/genvector/gds_char.h layer_grp.h \ rats_patch.h board.h hidlib.h ../src_plugins/autoplace/autoplace.h \ - global_typedefs.h box.h compat_misc.h data.h crosshair.h vtonpoint.h \ + global_typedefs.h ../src/librnd/core/box.h compat_misc.h data.h crosshair.h vtonpoint.h \ hid.h ../src_3rd/liblihata/dom.h ../src_3rd/liblihata/lihata.h \ ../src_3rd/liblihata/parser.h error.h route.h buffer.h \ ../src_3rd/libfungw/fungw.h ../src_3rd/genht/htpp.h obj_rat_list.h \ @@ -240,19 +240,19 @@ ../src_plugins/autoroute/action.o: ../src_plugins/autoroute/action.c \ ../config.h ../src_plugins/autoroute/autoroute.h board.h \ ../src_3rd/genht/htsp.h ../src_3rd/genht/ht.h global_typedefs.h \ - pcb_bool.h vtroutestyle.h unit.h attrib.h \ + pcb_bool.h vtroutestyle.h unit.h ../src/librnd/core/attrib.h \ ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h color.h \ + ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h ../src_3rd/genvector/gds_char.h layer_grp.h \ rats_patch.h board.h hidlib.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 actions.h hid.h ../src_3rd/liblihata/dom.h \ + ../src_3rd/puplug/error.h ../src/librnd/core/actions.h hid.h ../src_3rd/liblihata/dom.h \ ../src_3rd/liblihata/lihata.h ../src_3rd/liblihata/parser.h error.h \ ../src_3rd/libfungw/fungw.h ../src_3rd/genht/htpp.h event.h \ funchash_core.h funchash.h funchash_core_list.h @@ -266,11 +266,11 @@ ../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 color.h data.h layer.h \ - attrib.h obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ + ../src_3rd/genlist/gendlist.h globalconst.h ../src/librnd/core/color.h data.h layer.h \ + ../src/librnd/core/attrib.h obj_common.h flag.h data_parent.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 misc_util.h crosshair.h \ + ../src_3rd/genht/htip.h ../src/librnd/core/box.h math_helper.h misc_util.h crosshair.h \ vtonpoint.h hid.h error.h route.h buffer.h ../src_3rd/libfungw/fungw.h \ ../src_3rd/genht/htpp.h obj_rat_list.h obj_rat.h layer_grp.h idpath.h \ obj_subc_list.h obj_subc.h ../src_3rd/libminuid/libminuid.h \ @@ -278,7 +278,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 macro.h \ ../src_plugins/autoroute/autoroute.h board.h vtroutestyle.h rats_patch.h \ - board.h hidlib.h box.h draw.h error.h find.h heap.h rtree.h netlist.h \ + board.h hidlib.h ../src/librnd/core/box.h draw.h error.h find.h heap.h rtree.h netlist.h \ ../src_plugins/autoroute/mtspace.h ../src_plugins/autoroute/vector.h \ polygon.h remove.h obj_pinvia_therm.h undo.h ../src_3rd/libuundo/uundo.h \ undo_old.h pcb-printf.h layer.h obj_line_draw.h draw.h obj_pstk_draw.h \ @@ -285,7 +285,7 @@ obj_pstk_inlines.h data.h thermal.h polygon1_gen.h \ ../src_plugins/lib_compat_help/pstk_compat.h obj_pstk.h ../src_plugins/autoroute/mtspace.o: ../src_plugins/autoroute/mtspace.c \ - ../config.h box.h math_helper.h global_typedefs.h pcb_bool.h misc_util.h \ + ../config.h ../src/librnd/core/box.h math_helper.h global_typedefs.h pcb_bool.h misc_util.h \ unit.h heap.h rtree.h ../src_3rd/genrtree/genrtree_api.h \ ../src_plugins/autoroute/mtspace.h ../src_plugins/autoroute/vector.h \ rtree2_compat.h rtree.h @@ -295,12 +295,12 @@ ../src_3rd/genvector/gds_char.h ../src_3rd/genvector/genvector_impl.h \ ../src_3rd/genvector/genvector_undef.h board.h ../src_3rd/genht/htsp.h \ ../src_3rd/genht/ht.h global_typedefs.h pcb_bool.h vtroutestyle.h unit.h \ - attrib.h layer.h globalconst.h color.h obj_common.h flag.h data_parent.h \ + ../src/librnd/core/attrib.h layer.h globalconst.h ../src/librnd/core/color.h obj_common.h flag.h data_parent.h \ obj_arc_list.h obj_arc.h ../src_3rd/genlist/gendlist.h \ ../src_3rd/genlist/gentdlist_impl.h ../src_3rd/genlist/gendlist.h \ ../src_3rd/genlist/gentdlist_undef.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 misc_util.h layer_grp.h \ + ../src_3rd/genht/htip.h ../src/librnd/core/box.h math_helper.h misc_util.h layer_grp.h \ rats_patch.h board.h hidlib.h hid_cam.h hid_attrib.h hid.h \ ../src_3rd/liblihata/dom.h ../src_3rd/liblihata/lihata.h \ ../src_3rd/liblihata/parser.h error.h hid_attrib.h hid_init.h \ @@ -307,7 +307,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/genvector/vtp0.h hid_nogui.h \ - plugins.h ../src_3rd/puplug/error.h actions.h \ + plugins.h ../src_3rd/puplug/error.h ../src/librnd/core/actions.h \ ../src_3rd/libfungw/fungw.h ../src_3rd/genht/htpp.h \ ../src_plugins/cam/cam_conf.h conf.h pcb-printf.h \ ../src_3rd/liblihata/lihata.h list_conf.h conf.h compat_misc.h safe_fs.h \ @@ -323,15 +323,15 @@ ../src_plugins/cam/cam_conf_fields.h ../src_plugins/ddraft/centgeo.o: ../src_plugins/ddraft/centgeo.c \ ../config.h ../src_plugins/ddraft/centgeo.h obj_line.h \ - ../src_3rd/genlist/gendlist.h obj_common.h flag.h globalconst.h attrib.h \ + ../src_3rd/genlist/gendlist.h obj_common.h flag.h globalconst.h ../src/librnd/core/attrib.h \ global_typedefs.h pcb_bool.h data_parent.h obj_arc.h math_helper.h \ - compat_misc.h search.h layer.h color.h \ + compat_misc.h search.h layer.h ../src/librnd/core/color.h \ ../src_3rd/genvector/genvector_impl.h \ ../src_3rd/genvector/genvector_undef.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gentdlist_impl.h ../src_3rd/genlist/gendlist.h \ ../src_3rd/genlist/gentdlist_undef.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 ../src_3rd/genht/ht.h box.h math_helper.h \ + ../src_3rd/genht/htip.h ../src_3rd/genht/ht.h ../src/librnd/core/box.h math_helper.h \ misc_util.h unit.h ../src_3rd/genvector/gds_char.h ../src_plugins/ddraft/ddraft.o: ../src_plugins/ddraft/ddraft.c \ ../config.h ../src_3rd/genvector/gds_char.h \ @@ -340,12 +340,12 @@ hid_attrib.h ../src_3rd/genlist/gendlist.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 global_typedefs.h pcb_bool.h attrib.h \ - box.h math_helper.h misc_util.h unit.h color.h hid_init.h \ + ../src_3rd/genht/ht.h error.h global_typedefs.h pcb_bool.h ../src/librnd/core/attrib.h \ + ../src/librnd/core/box.h math_helper.h misc_util.h unit.h ../src/librnd/core/color.h hid_init.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 plugins.h ../src_3rd/puplug/error.h event.h \ - hidlib.h actions.h ../src_3rd/libfungw/fungw.h ../src_3rd/genht/htpp.h \ + hidlib.h ../src/librnd/core/actions.h ../src_3rd/libfungw/fungw.h ../src_3rd/genht/htpp.h \ funchash_core.h funchash.h funchash_core_list.h search.h layer.h \ globalconst.h obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gentdlist_impl.h ../src_3rd/genlist/gendlist.h \ @@ -371,14 +371,14 @@ ../src_plugins/ddraft/fields_sphash.c ../src_plugins/diag/diag.o: ../src_plugins/diag/diag.c ../config.h \ board.h ../src_3rd/genht/htsp.h ../src_3rd/genht/ht.h global_typedefs.h \ - pcb_bool.h vtroutestyle.h unit.h attrib.h \ + pcb_bool.h vtroutestyle.h unit.h ../src/librnd/core/attrib.h \ ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h color.h \ + ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h ../src_3rd/genvector/gds_char.h layer_grp.h \ rats_patch.h board.h hidlib.h data.h crosshair.h vtonpoint.h hid.h \ ../src_3rd/liblihata/dom.h ../src_3rd/liblihata/lihata.h \ @@ -391,7 +391,7 @@ ../src_3rd/genvector/vtp0.h vtpadstack.h obj_pstk_shape.h polygon.h \ 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 actions.h plugins.h \ + ../src_3rd/liblihata/lihata.h list_conf.h conf.h ../src/librnd/core/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 \ @@ -412,14 +412,14 @@ ../src_3rd/genlist/gendlist.h ../src_plugins/diag/integrity.o: ../src_plugins/diag/integrity.c \ ../config.h board.h ../src_3rd/genht/htsp.h ../src_3rd/genht/ht.h \ - global_typedefs.h pcb_bool.h vtroutestyle.h unit.h attrib.h \ + global_typedefs.h pcb_bool.h vtroutestyle.h unit.h ../src/librnd/core/attrib.h \ ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h color.h \ + ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h ../src_3rd/genvector/gds_char.h layer_grp.h \ rats_patch.h board.h hidlib.h data.h crosshair.h vtonpoint.h hid.h \ ../src_3rd/liblihata/dom.h ../src_3rd/liblihata/lihata.h \ @@ -435,10 +435,10 @@ ../config.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 global_typedefs.h \ - pcb_bool.h attrib.h box.h math_helper.h misc_util.h unit.h hid_attrib.h \ - ../src_3rd/genlist/gendlist.h hid.h color.h \ + pcb_bool.h ../src/librnd/core/attrib.h ../src/librnd/core/box.h math_helper.h misc_util.h unit.h hid_attrib.h \ + ../src_3rd/genlist/gendlist.h hid.h ../src/librnd/core/color.h \ ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h actions.h \ + ../src_3rd/genvector/genvector_undef.h ../src/librnd/core/actions.h \ ../src_3rd/libfungw/fungw.h ../src_3rd/genht/htpp.h hid_dad.h \ compat_misc.h hid_attrib.h pcb-printf.h ../src_3rd/genvector/gds_char.h \ hid_dad_spin.h plugins.h ../src_3rd/puplug/puplug.h \ @@ -487,23 +487,23 @@ ../src_plugins/dialogs/dlg_about.o: ../src_plugins/dialogs/dlg_about.c \ ../config.h ../src_3rd/genvector/gds_char.h \ ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h actions.h hid.h \ + ../src_3rd/genvector/genvector_undef.h ../src/librnd/core/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 global_typedefs.h pcb_bool.h attrib.h \ - box.h math_helper.h misc_util.h unit.h ../src_3rd/libfungw/fungw.h \ + ../src_3rd/genht/ht.h error.h global_typedefs.h pcb_bool.h ../src/librnd/core/attrib.h \ + ../src/librnd/core/box.h math_helper.h misc_util.h unit.h ../src_3rd/libfungw/fungw.h \ ../src_3rd/genht/htpp.h build_run.h file_loaded.h hid_dad.h \ - compat_misc.h hid_attrib.h ../src_3rd/genlist/gendlist.h color.h \ + compat_misc.h hid_attrib.h ../src_3rd/genlist/gendlist.h ../src/librnd/core/color.h \ pcb-printf.h hid_dad_spin.h pcb-printf.h \ ../src_plugins/dialogs/dlg_about.h ../src_plugins/dialogs/dlg_export.o: ../src_plugins/dialogs/dlg_export.c \ - ../config.h actions.h hid.h ../src_3rd/liblihata/dom.h \ + ../config.h ../src/librnd/core/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 global_typedefs.h \ - pcb_bool.h attrib.h box.h math_helper.h misc_util.h unit.h \ + pcb_bool.h ../src/librnd/core/attrib.h ../src/librnd/core/box.h math_helper.h misc_util.h unit.h \ ../src_3rd/libfungw/fungw.h ../src_3rd/genht/htpp.h board.h \ vtroutestyle.h ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h color.h \ + ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.h \ @@ -522,13 +522,13 @@ ../src_3rd/puplug/os_dep.h ../src_3rd/puplug/config.h \ ../src_3rd/puplug/libs.h ../src_plugins/dialogs/dlg_export.h ../src_plugins/dialogs/dlg_flag_edit.o: \ - ../src_plugins/dialogs/dlg_flag_edit.c ../config.h actions.h hid.h \ + ../src_plugins/dialogs/dlg_flag_edit.c ../config.h ../src/librnd/core/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 global_typedefs.h pcb_bool.h attrib.h \ - box.h math_helper.h misc_util.h unit.h ../src_3rd/libfungw/fungw.h \ + ../src_3rd/genht/ht.h error.h global_typedefs.h pcb_bool.h ../src/librnd/core/attrib.h \ + ../src/librnd/core/box.h math_helper.h misc_util.h unit.h ../src_3rd/libfungw/fungw.h \ ../src_3rd/genht/htpp.h hid_dad.h compat_misc.h hid_attrib.h \ - ../src_3rd/genlist/gendlist.h color.h \ + ../src_3rd/genlist/gendlist.h ../src/librnd/core/color.h \ ../src_3rd/genvector/genvector_impl.h \ ../src_3rd/genvector/genvector_undef.h pcb-printf.h \ ../src_3rd/genvector/gds_char.h hid_dad_spin.h flag.h globalconst.h \ @@ -541,14 +541,14 @@ ../src_3rd/libuundo/uundo.h undo_old.h search.h funchash_core.h \ funchash.h funchash_core_list.h ../src_plugins/dialogs/dlg_flag_edit.h ../src_plugins/dialogs/dlg_fontsel.o: \ - ../src_plugins/dialogs/dlg_fontsel.c ../config.h actions.h hid.h \ + ../src_plugins/dialogs/dlg_fontsel.c ../config.h ../src/librnd/core/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 global_typedefs.h pcb_bool.h attrib.h \ - box.h math_helper.h misc_util.h unit.h ../src_3rd/libfungw/fungw.h \ + ../src_3rd/genht/ht.h error.h global_typedefs.h pcb_bool.h ../src/librnd/core/attrib.h \ + ../src/librnd/core/box.h math_helper.h misc_util.h unit.h ../src_3rd/libfungw/fungw.h \ ../src_3rd/genht/htpp.h board.h vtroutestyle.h \ ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h color.h \ + ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.h \ @@ -560,14 +560,14 @@ event.h hid_dad.h compat_misc.h hid_attrib.h hid_dad_spin.h stub_draw.h \ draw.h idpath.h search.h ../src_plugins/dialogs/dlg_fontsel.h ../src_plugins/dialogs/dlg_infobar.o: \ - ../src_plugins/dialogs/dlg_infobar.c ../config.h actions.h hid.h \ + ../src_plugins/dialogs/dlg_infobar.c ../config.h ../src/librnd/core/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 global_typedefs.h pcb_bool.h attrib.h \ - box.h math_helper.h misc_util.h unit.h ../src_3rd/libfungw/fungw.h \ + ../src_3rd/genht/ht.h error.h global_typedefs.h pcb_bool.h ../src/librnd/core/attrib.h \ + ../src/librnd/core/box.h math_helper.h misc_util.h unit.h ../src_3rd/libfungw/fungw.h \ ../src_3rd/genht/htpp.h board.h vtroutestyle.h \ ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h color.h \ + ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.h \ @@ -579,14 +579,14 @@ ../src_plugins/lib_hid_common/dlg_comm_m.h plug_io.h conf.h \ ../src_3rd/liblihata/lihata.h ../src_3rd/genvector/vtp0.h list_conf.h ../src_plugins/dialogs/dlg_layer_binding.o: \ - ../src_plugins/dialogs/dlg_layer_binding.c ../config.h actions.h hid.h \ + ../src_plugins/dialogs/dlg_layer_binding.c ../config.h ../src/librnd/core/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 global_typedefs.h pcb_bool.h attrib.h \ - box.h math_helper.h misc_util.h unit.h ../src_3rd/libfungw/fungw.h \ + ../src_3rd/genht/ht.h error.h global_typedefs.h pcb_bool.h ../src/librnd/core/attrib.h \ + ../src/librnd/core/box.h math_helper.h misc_util.h unit.h ../src_3rd/libfungw/fungw.h \ ../src_3rd/genht/htpp.h board.h vtroutestyle.h \ ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h color.h \ + ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.h \ @@ -607,16 +607,16 @@ ../src_plugins/dialogs/dlg_layer_flags.o: \ ../src_plugins/dialogs/dlg_layer_flags.c ../config.h board.h \ ../src_3rd/genht/htsp.h ../src_3rd/genht/ht.h global_typedefs.h \ - pcb_bool.h vtroutestyle.h unit.h attrib.h \ + pcb_bool.h vtroutestyle.h unit.h ../src/librnd/core/attrib.h \ ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h color.h \ + ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h ../src_3rd/genvector/gds_char.h layer_grp.h \ - rats_patch.h board.h hidlib.h actions.h hid.h ../src_3rd/liblihata/dom.h \ + rats_patch.h board.h hidlib.h ../src/librnd/core/actions.h hid.h ../src_3rd/liblihata/dom.h \ ../src_3rd/liblihata/lihata.h ../src_3rd/liblihata/parser.h error.h \ ../src_3rd/libfungw/fungw.h ../src_3rd/genht/htpp.h event.h hid_dad.h \ compat_misc.h hid_attrib.h pcb-printf.h hid_dad_spin.h \ @@ -623,12 +623,12 @@ ../src_plugins/dialogs/dlg_layer_binding.h \ ../src_plugins/dialogs/dlg_layer_flags.h ../src_plugins/dialogs/dlg_lib_pstk.o: \ - ../src_plugins/dialogs/dlg_lib_pstk.c ../config.h actions.h hid.h \ + ../src_plugins/dialogs/dlg_lib_pstk.c ../config.h ../src/librnd/core/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 global_typedefs.h pcb_bool.h attrib.h \ - box.h math_helper.h misc_util.h unit.h ../src_3rd/libfungw/fungw.h \ - ../src_3rd/genht/htpp.h data.h globalconst.h layer.h color.h \ + ../src_3rd/genht/ht.h error.h global_typedefs.h pcb_bool.h ../src/librnd/core/attrib.h \ + ../src/librnd/core/box.h math_helper.h misc_util.h unit.h ../src_3rd/libfungw/fungw.h \ + ../src_3rd/genht/htpp.h data.h globalconst.h layer.h ../src/librnd/core/color.h \ ../src_3rd/genvector/genvector_impl.h \ ../src_3rd/genvector/genvector_undef.h obj_common.h flag.h data_parent.h \ obj_arc_list.h obj_arc.h ../src_3rd/genlist/gendlist.h \ @@ -653,12 +653,12 @@ ../src_3rd/genht/ht.h ../src_3rd/genht/htsi.h ../src_3rd/genht/hash.h \ ../src_3rd/genvector/gds_char.h ../src_3rd/genvector/genvector_impl.h \ ../src_3rd/genvector/genvector_undef.h ../src_3rd/genregex/regex_sei.h \ - ../src_3rd/genregex/regex_templ.h ../src_3rd/genregex/regex.h actions.h \ + ../src_3rd/genregex/regex_templ.h ../src_3rd/genregex/regex.h ../src/librnd/core/actions.h \ hid.h ../src_3rd/liblihata/dom.h ../src_3rd/liblihata/lihata.h \ ../src_3rd/liblihata/parser.h error.h global_typedefs.h pcb_bool.h \ - attrib.h box.h math_helper.h misc_util.h unit.h \ + ../src/librnd/core/attrib.h ../src/librnd/core/box.h math_helper.h misc_util.h unit.h \ ../src_3rd/libfungw/fungw.h ../src_3rd/genht/htpp.h board.h \ - vtroutestyle.h layer.h globalconst.h color.h obj_common.h flag.h \ + vtroutestyle.h layer.h globalconst.h ../src/librnd/core/color.h obj_common.h flag.h \ data_parent.h obj_arc_list.h obj_arc.h ../src_3rd/genlist/gendlist.h \ ../src_3rd/genlist/gentdlist_impl.h ../src_3rd/genlist/gendlist.h \ ../src_3rd/genlist/gentdlist_undef.h obj_line_list.h obj_line.h \ @@ -680,13 +680,13 @@ ../src_plugins/dialogs/dlg_loadsave.o: \ ../src_plugins/dialogs/dlg_loadsave.c ../config.h \ ../src_3rd/genvector/gds_char.h ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h actions.h hid.h \ + ../src_3rd/genvector/genvector_undef.h ../src/librnd/core/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 global_typedefs.h pcb_bool.h attrib.h \ - box.h math_helper.h misc_util.h unit.h ../src_3rd/libfungw/fungw.h \ + ../src_3rd/genht/ht.h error.h global_typedefs.h pcb_bool.h ../src/librnd/core/attrib.h \ + ../src/librnd/core/box.h math_helper.h misc_util.h unit.h ../src_3rd/libfungw/fungw.h \ ../src_3rd/genht/htpp.h board.h vtroutestyle.h layer.h globalconst.h \ - color.h obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ + ../src/librnd/core/color.h obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.h \ obj_line_list.h obj_line.h obj_poly_list.h obj_poly.h polyarea.h \ @@ -703,13 +703,13 @@ ../src_plugins/lib_hid_common/dialogs_conf.h conf.h \ ../src_plugins/dialogs/dlg_loadsave.h ../src_plugins/dialogs/dlg_padstack.o: \ - ../src_plugins/dialogs/dlg_padstack.c ../config.h actions.h hid.h \ + ../src_plugins/dialogs/dlg_padstack.c ../config.h ../src/librnd/core/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 global_typedefs.h pcb_bool.h attrib.h \ - box.h math_helper.h misc_util.h unit.h ../src_3rd/libfungw/fungw.h \ + ../src_3rd/genht/ht.h error.h global_typedefs.h pcb_bool.h ../src/librnd/core/attrib.h \ + ../src/librnd/core/box.h math_helper.h misc_util.h unit.h ../src_3rd/libfungw/fungw.h \ ../src_3rd/genht/htpp.h hid_dad.h compat_misc.h hid_attrib.h \ - ../src_3rd/genlist/gendlist.h color.h \ + ../src_3rd/genlist/gendlist.h ../src/librnd/core/color.h \ ../src_3rd/genvector/genvector_impl.h \ ../src_3rd/genvector/genvector_undef.h pcb-printf.h \ ../src_3rd/genvector/gds_char.h hid_dad_spin.h funchash_core.h \ @@ -732,17 +732,17 @@ ../src_plugins/dialogs/dlg_pref.o: ../src_plugins/dialogs/dlg_pref.c \ ../config.h ../src_3rd/genvector/gds_char.h \ ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h actions.h hid.h \ + ../src_3rd/genvector/genvector_undef.h ../src/librnd/core/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 global_typedefs.h pcb_bool.h attrib.h \ - box.h math_helper.h misc_util.h unit.h ../src_3rd/libfungw/fungw.h \ + ../src_3rd/genht/ht.h error.h global_typedefs.h pcb_bool.h ../src/librnd/core/attrib.h \ + ../src/librnd/core/box.h math_helper.h misc_util.h unit.h ../src_3rd/libfungw/fungw.h \ ../src_3rd/genht/htpp.h build_run.h pcb-printf.h error.h event.h \ hidlib.h conf.h pcb-printf.h ../src_3rd/liblihata/lihata.h \ ../src_3rd/genvector/vtp0.h list_conf.h conf.h \ ../src_3rd/genlist/gentdlist_undef.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h conf_hid.h hid_dad.h compat_misc.h \ - hid_attrib.h ../src_3rd/genlist/gendlist.h color.h hid_dad_spin.h \ + hid_attrib.h ../src_3rd/genlist/gendlist.h ../src/librnd/core/color.h hid_dad_spin.h \ hid_dad_tree.h hid_dad.h ../src_3rd/genht/hash.h \ ../src_plugins/dialogs/dlg_pref.h \ ../src_plugins/dialogs/dlg_pref_sizes.h \ @@ -768,16 +768,16 @@ ../src_plugins/dialogs/dlg_search.o: ../src_plugins/dialogs/dlg_search.c \ ../config.h ../src_3rd/genvector/gds_char.h \ ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h actions.h hid.h \ + ../src_3rd/genvector/genvector_undef.h ../src/librnd/core/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 global_typedefs.h pcb_bool.h attrib.h \ - box.h math_helper.h misc_util.h unit.h ../src_3rd/libfungw/fungw.h \ + ../src_3rd/genht/ht.h error.h global_typedefs.h pcb_bool.h ../src/librnd/core/attrib.h \ + ../src/librnd/core/box.h math_helper.h misc_util.h unit.h ../src_3rd/libfungw/fungw.h \ ../src_3rd/genht/htpp.h conf_hid.h conf.h pcb-printf.h \ ../src_3rd/liblihata/lihata.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 hid_dad.h compat_misc.h hid_attrib.h \ - ../src_3rd/genlist/gendlist.h color.h hid_dad_spin.h event.h hidlib.h \ + ../src_3rd/genlist/gendlist.h ../src/librnd/core/color.h hid_dad_spin.h event.h hidlib.h \ error.h board.h vtroutestyle.h layer.h globalconst.h obj_common.h flag.h \ data_parent.h obj_arc_list.h obj_arc.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 \ @@ -787,12 +787,12 @@ ../src_3rd/genht/hash.h ../src_plugins/dialogs/dlg_view.o: ../src_plugins/dialogs/dlg_view.c \ ../config.h ../src_3rd/genht/htsp.h ../src_3rd/genht/ht.h \ - ../src_3rd/genht/hash.h actions.h hid.h ../src_3rd/liblihata/dom.h \ + ../src_3rd/genht/hash.h ../src/librnd/core/actions.h hid.h ../src_3rd/liblihata/dom.h \ ../src_3rd/liblihata/lihata.h ../src_3rd/liblihata/parser.h error.h \ - global_typedefs.h pcb_bool.h attrib.h box.h math_helper.h misc_util.h \ + global_typedefs.h pcb_bool.h ../src/librnd/core/attrib.h ../src/librnd/core/box.h math_helper.h misc_util.h \ unit.h ../src_3rd/libfungw/fungw.h ../src_3rd/genht/htpp.h board.h \ vtroutestyle.h ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h color.h \ + ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.h \ @@ -807,14 +807,14 @@ ../src_plugins/distalign/distalign.o: \ ../src_plugins/distalign/distalign.c board.h ../config.h \ ../src_3rd/genht/htsp.h ../src_3rd/genht/ht.h global_typedefs.h \ - pcb_bool.h vtroutestyle.h unit.h attrib.h \ + pcb_bool.h vtroutestyle.h unit.h ../src/librnd/core/attrib.h \ ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h color.h \ + ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h ../src_3rd/genvector/gds_char.h layer_grp.h \ rats_patch.h board.h hidlib.h data.h crosshair.h vtonpoint.h hid.h \ ../src_3rd/liblihata/dom.h ../src_3rd/liblihata/lihata.h \ @@ -829,18 +829,18 @@ undo_old.h error.h move.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 macro.h actions.h compat_misc.h + ../src_3rd/puplug/error.h macro.h ../src/librnd/core/actions.h compat_misc.h ../src_plugins/distaligntext/distaligntext.o: \ ../src_plugins/distaligntext/distaligntext.c ../config.h board.h \ ../src_3rd/genht/htsp.h ../src_3rd/genht/ht.h global_typedefs.h \ - pcb_bool.h vtroutestyle.h unit.h attrib.h \ + pcb_bool.h vtroutestyle.h unit.h ../src/librnd/core/attrib.h \ ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h color.h \ + ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h ../src_3rd/genvector/gds_char.h layer_grp.h \ rats_patch.h board.h hidlib.h data.h crosshair.h vtonpoint.h hid.h \ ../src_3rd/liblihata/dom.h ../src_3rd/liblihata/lihata.h \ @@ -855,8 +855,8 @@ undo_old.h error.h move.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 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 + ../src_3rd/puplug/error.h ../src/librnd/core/actions.h conf_core.h conf.h pcb-printf.h \ + ../src_3rd/liblihata/lihata.h list_conf.h ../src/librnd/core/box.h macro.h compat_misc.h ../src_plugins/djopt/djopt.o: ../src_plugins/djopt/djopt.c ../config.h \ conf_core.h conf.h global_typedefs.h pcb_bool.h pcb-printf.h \ ../src_3rd/genvector/gds_char.h ../src_3rd/genvector/genvector_impl.h \ @@ -866,11 +866,11 @@ ../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 color.h hidlib_conf.h \ - board.h vtroutestyle.h attrib.h layer.h obj_common.h flag.h \ + ../src_3rd/genlist/gendlist.h globalconst.h ../src/librnd/core/color.h hidlib_conf.h \ + board.h vtroutestyle.h ../src/librnd/core/attrib.h layer.h obj_common.h flag.h \ data_parent.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h layer_grp.h rats_patch.h board.h hidlib.h \ data.h crosshair.h vtonpoint.h hid.h error.h route.h buffer.h \ ../src_3rd/libfungw/fungw.h ../src_3rd/genht/htpp.h obj_rat_list.h \ @@ -883,20 +883,20 @@ 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 actions.h ../src_plugins/djopt/djopt_conf.h \ + ../src_3rd/puplug/error.h ../src/librnd/core/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 \ polygon1_gen.h ../src_plugins/djopt/djopt_conf_fields.h ../src_plugins/draw_csect/draw_csect.o: \ ../src_plugins/draw_csect/draw_csect.c ../config.h board.h \ ../src_3rd/genht/htsp.h ../src_3rd/genht/ht.h global_typedefs.h \ - pcb_bool.h vtroutestyle.h unit.h attrib.h \ + pcb_bool.h vtroutestyle.h unit.h ../src/librnd/core/attrib.h \ ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h color.h \ + ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h ../src_3rd/genvector/gds_char.h layer_grp.h \ rats_patch.h board.h hidlib.h data.h crosshair.h vtonpoint.h hid.h \ ../src_3rd/liblihata/dom.h ../src_3rd/liblihata/lihata.h \ @@ -910,18 +910,18 @@ 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 draw.h compat_misc.h actions.h \ + ../src_3rd/puplug/error.h stub_draw.h draw.h compat_misc.h ../src/librnd/core/actions.h \ event.h layer_vis.h obj_text_draw.h obj_line_draw.h ../src_plugins/draw_fab/draw_fab.o: ../src_plugins/draw_fab/draw_fab.c \ ../config.h board.h ../src_3rd/genht/htsp.h ../src_3rd/genht/ht.h \ - global_typedefs.h pcb_bool.h vtroutestyle.h unit.h attrib.h \ + global_typedefs.h pcb_bool.h vtroutestyle.h unit.h ../src/librnd/core/attrib.h \ ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h color.h \ + ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h ../src_3rd/genvector/gds_char.h layer_grp.h \ rats_patch.h board.h hidlib.h build_run.h compat_misc.h data.h \ crosshair.h vtonpoint.h hid.h ../src_3rd/liblihata/dom.h \ @@ -944,14 +944,14 @@ ../src_plugins/draw_fontsel/draw_fontsel.o: \ ../src_plugins/draw_fontsel/draw_fontsel.c ../config.h board.h \ ../src_3rd/genht/htsp.h ../src_3rd/genht/ht.h global_typedefs.h \ - pcb_bool.h vtroutestyle.h unit.h attrib.h \ + pcb_bool.h vtroutestyle.h unit.h ../src/librnd/core/attrib.h \ ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h color.h \ + ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h ../src_3rd/genvector/gds_char.h layer_grp.h \ rats_patch.h board.h hidlib.h build_run.h data.h crosshair.h vtonpoint.h \ hid.h ../src_3rd/liblihata/dom.h ../src_3rd/liblihata/lihata.h \ @@ -962,7 +962,7 @@ ../src_3rd/genrtree/genrtree_api.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 actions.h plugins.h \ + vtpadstack_t.h draw.h font.h ../src/librnd/core/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 draw.h \ @@ -975,8 +975,8 @@ ../src_3rd/genvector/genvector_undef.h unit.h global_typedefs.h \ pcb_bool.h idpath.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.h \ - obj_common.h flag.h globalconst.h attrib.h data_parent.h box.h \ - math_helper.h misc_util.h view.h data_it.h data.h layer.h color.h \ + obj_common.h flag.h globalconst.h ../src/librnd/core/attrib.h data_parent.h ../src/librnd/core/box.h \ + math_helper.h misc_util.h view.h data_it.h data.h layer.h ../src/librnd/core/color.h \ obj_arc_list.h obj_arc.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 ../src_3rd/genht/ht.h crosshair.h vtonpoint.h \ @@ -1005,11 +1005,11 @@ ../src_3rd/genht/htsp.h ../src_3rd/genht/ht.h \ ../src_3rd/genvector/vtp0.h list_conf.h conf.h \ ../src_3rd/genlist/gentdlist_undef.h ../src_3rd/genlist/gentdlist_impl.h \ - ../src_3rd/genlist/gendlist.h data.h globalconst.h layer.h attrib.h \ - color.h obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ + ../src_3rd/genlist/gendlist.h data.h globalconst.h layer.h ../src/librnd/core/attrib.h \ + ../src/librnd/core/color.h obj_common.h flag.h data_parent.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 misc_util.h crosshair.h \ + ../src_3rd/genht/htip.h ../src/librnd/core/box.h math_helper.h misc_util.h crosshair.h \ vtonpoint.h hid.h error.h route.h buffer.h ../src_3rd/libfungw/fungw.h \ ../src_3rd/genht/htpp.h obj_rat_list.h obj_rat.h layer_grp.h idpath.h \ obj_subc_list.h obj_subc.h ../src_3rd/libminuid/libminuid.h \ @@ -1020,7 +1020,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 actions.h + ../src_3rd/puplug/libs.h ../src_3rd/puplug/error.h ../src/librnd/core/actions.h ../src_plugins/export_bom/bom.o: ../src_plugins/export_bom/bom.c \ ../config.h conf_core.h conf.h global_typedefs.h pcb_bool.h pcb-printf.h \ ../src_3rd/genvector/gds_char.h ../src_3rd/genvector/genvector_impl.h \ @@ -1030,12 +1030,12 @@ ../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 color.h \ - ../src_3rd/genvector/vts0.h build_run.h board.h vtroutestyle.h attrib.h \ + ../src_3rd/genlist/gendlist.h globalconst.h ../src/librnd/core/color.h \ + ../src_3rd/genvector/vts0.h build_run.h board.h vtroutestyle.h ../src/librnd/core/attrib.h \ layer.h obj_common.h flag.h data_parent.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 misc_util.h layer_grp.h \ + ../src_3rd/genht/htip.h ../src/librnd/core/box.h math_helper.h misc_util.h layer_grp.h \ rats_patch.h board.h hidlib.h data.h crosshair.h vtonpoint.h hid.h \ error.h route.h buffer.h ../src_3rd/libfungw/fungw.h \ ../src_3rd/genht/htpp.h obj_rat_list.h obj_rat.h idpath.h \ @@ -1053,12 +1053,12 @@ ../src_3rd/genvector/genvector_impl.h \ ../src_3rd/genvector/genvector_undef.h board.h ../src_3rd/genht/htsp.h \ ../src_3rd/genht/ht.h global_typedefs.h pcb_bool.h vtroutestyle.h unit.h \ - attrib.h layer.h globalconst.h color.h obj_common.h flag.h data_parent.h \ + ../src/librnd/core/attrib.h layer.h globalconst.h ../src/librnd/core/color.h obj_common.h flag.h data_parent.h \ obj_arc_list.h obj_arc.h ../src_3rd/genlist/gendlist.h \ ../src_3rd/genlist/gentdlist_impl.h ../src_3rd/genlist/gendlist.h \ ../src_3rd/genlist/gentdlist_undef.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 misc_util.h layer_grp.h \ + ../src_3rd/genht/htip.h ../src/librnd/core/box.h math_helper.h misc_util.h layer_grp.h \ rats_patch.h board.h hidlib.h data.h crosshair.h vtonpoint.h hid.h \ ../src_3rd/liblihata/dom.h ../src_3rd/liblihata/lihata.h \ ../src_3rd/liblihata/parser.h error.h route.h buffer.h \ @@ -1072,7 +1072,7 @@ ../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 netlist.h hid.h hid_nogui.h \ - actions.h hid_init.h ../src_3rd/puplug/puplug.h ../src_3rd/puplug/libs.h \ + ../src/librnd/core/actions.h hid_init.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 hid_attrib.h hid_cam.h hid_attrib.h plugins.h \ ../src_3rd/puplug/error.h obj_line.h obj_pstk_inlines.h data.h thermal.h \ @@ -1086,11 +1086,11 @@ ../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 color.h math_helper.h \ - board.h vtroutestyle.h attrib.h layer.h obj_common.h flag.h \ + ../src_3rd/genlist/gendlist.h globalconst.h ../src/librnd/core/color.h math_helper.h \ + board.h vtroutestyle.h ../src/librnd/core/attrib.h layer.h obj_common.h flag.h \ data_parent.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h layer_grp.h rats_patch.h board.h hidlib.h \ data.h crosshair.h vtonpoint.h hid.h error.h route.h buffer.h \ ../src_3rd/libfungw/fungw.h ../src_3rd/genht/htpp.h obj_rat_list.h \ @@ -1123,14 +1123,14 @@ ../src_plugins/export_excellon/excellon.o: \ ../src_plugins/export_excellon/excellon.c ../config.h board.h \ ../src_3rd/genht/htsp.h ../src_3rd/genht/ht.h global_typedefs.h \ - pcb_bool.h vtroutestyle.h unit.h attrib.h \ + pcb_bool.h vtroutestyle.h unit.h ../src/librnd/core/attrib.h \ ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h color.h \ + ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h ../src_3rd/genvector/gds_char.h layer_grp.h \ rats_patch.h board.h hidlib.h global_typedefs.h pcb-printf.h safe_fs.h \ conf.h pcb-printf.h ../src_3rd/liblihata/lihata.h \ @@ -1156,12 +1156,12 @@ ../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 color.h \ - ../src_3rd/genht/htsi.h math_helper.h board.h vtroutestyle.h attrib.h \ + ../src_3rd/genlist/gendlist.h globalconst.h ../src/librnd/core/color.h \ + ../src_3rd/genht/htsi.h math_helper.h board.h vtroutestyle.h ../src/librnd/core/attrib.h \ layer.h obj_common.h flag.h data_parent.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 misc_util.h layer_grp.h \ + ../src_3rd/genht/htip.h ../src/librnd/core/box.h math_helper.h misc_util.h layer_grp.h \ rats_patch.h board.h hidlib.h data.h crosshair.h vtonpoint.h hid.h \ error.h route.h buffer.h ../src_3rd/libfungw/fungw.h \ ../src_3rd/genht/htpp.h obj_rat_list.h obj_rat.h idpath.h \ @@ -1179,13 +1179,13 @@ ../config.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 actions.h hid.h ../src_3rd/liblihata/dom.h \ + ../src_3rd/puplug/error.h ../src/librnd/core/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 global_typedefs.h \ - pcb_bool.h attrib.h box.h math_helper.h misc_util.h unit.h \ + pcb_bool.h ../src/librnd/core/attrib.h ../src/librnd/core/box.h math_helper.h misc_util.h unit.h \ ../src_3rd/libfungw/fungw.h ../src_3rd/genht/htpp.h board.h \ vtroutestyle.h ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h color.h \ + ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.h \ @@ -1200,14 +1200,14 @@ ../src_plugins/export_gerber/gerber.o: \ ../src_plugins/export_gerber/gerber.c ../config.h math_helper.h board.h \ ../src_3rd/genht/htsp.h ../src_3rd/genht/ht.h global_typedefs.h \ - pcb_bool.h vtroutestyle.h unit.h attrib.h \ + pcb_bool.h vtroutestyle.h unit.h ../src/librnd/core/attrib.h \ ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h color.h \ + ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h ../src_3rd/genvector/gds_char.h layer_grp.h \ rats_patch.h board.h hidlib.h build_run.h data.h crosshair.h vtonpoint.h \ hid.h ../src_3rd/liblihata/dom.h ../src_3rd/liblihata/lihata.h \ @@ -1234,14 +1234,14 @@ ../src_plugins/export_ipcd356/ipcd356.o: \ ../src_plugins/export_ipcd356/ipcd356.c ../config.h board.h \ ../src_3rd/genht/htsp.h ../src_3rd/genht/ht.h global_typedefs.h \ - pcb_bool.h vtroutestyle.h unit.h attrib.h \ + pcb_bool.h vtroutestyle.h unit.h ../src/librnd/core/attrib.h \ ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h color.h \ + ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h ../src_3rd/genvector/gds_char.h layer_grp.h \ rats_patch.h board.h hidlib.h data.h crosshair.h vtonpoint.h hid.h \ ../src_3rd/liblihata/dom.h ../src_3rd/liblihata/lihata.h \ @@ -1262,13 +1262,13 @@ ../src_3rd/puplug/libs.h plugins.h ../src_3rd/puplug/error.h ../src_plugins/export_lpr/lpr.o: ../src_plugins/export_lpr/lpr.c \ ../config.h data.h globalconst.h global_typedefs.h pcb_bool.h layer.h \ - attrib.h color.h ../src_3rd/genvector/genvector_impl.h \ + ../src/librnd/core/attrib.h ../src/librnd/core/color.h ../src_3rd/genvector/genvector_impl.h \ ../src_3rd/genvector/genvector_undef.h obj_common.h flag.h data_parent.h \ obj_arc_list.h obj_arc.h ../src_3rd/genlist/gendlist.h \ ../src_3rd/genlist/gentdlist_impl.h ../src_3rd/genlist/gendlist.h \ ../src_3rd/genlist/gentdlist_undef.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 ../src_3rd/genht/ht.h box.h math_helper.h \ + ../src_3rd/genht/htip.h ../src_3rd/genht/ht.h ../src/librnd/core/box.h math_helper.h \ misc_util.h unit.h ../src_3rd/genvector/gds_char.h crosshair.h \ vtonpoint.h hid.h ../src_3rd/liblihata/dom.h \ ../src_3rd/liblihata/lihata.h ../src_3rd/liblihata/parser.h \ @@ -1285,7 +1285,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 actions.h + hid_attrib.h ../src/librnd/core/actions.h ../src_plugins/export_oldconn/oldconn.o: \ ../src_plugins/export_oldconn/oldconn.c ../config.h conf_core.h conf.h \ global_typedefs.h pcb_bool.h pcb-printf.h \ @@ -1296,8 +1296,8 @@ ../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 color.h actions.h hid.h \ - error.h attrib.h box.h math_helper.h misc_util.h \ + ../src_3rd/genlist/gendlist.h globalconst.h ../src/librnd/core/color.h ../src/librnd/core/actions.h hid.h \ + error.h ../src/librnd/core/attrib.h ../src/librnd/core/box.h math_helper.h misc_util.h \ ../src_3rd/libfungw/fungw.h ../src_3rd/genht/htpp.h board.h \ vtroutestyle.h layer.h obj_common.h flag.h data_parent.h obj_arc_list.h \ obj_arc.h ../src_3rd/genlist/gendlist.h obj_line_list.h obj_line.h \ @@ -1325,11 +1325,11 @@ ../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 color.h board.h \ - vtroutestyle.h attrib.h layer.h obj_common.h flag.h data_parent.h \ + ../src_3rd/genlist/gendlist.h globalconst.h ../src/librnd/core/color.h board.h \ + vtroutestyle.h ../src/librnd/core/attrib.h layer.h obj_common.h flag.h data_parent.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 \ + obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h math_helper.h \ misc_util.h layer_grp.h rats_patch.h board.h hidlib.h data.h crosshair.h \ vtonpoint.h hid.h error.h route.h buffer.h ../src_3rd/libfungw/fungw.h \ ../src_3rd/genht/htpp.h obj_rat_list.h obj_rat.h idpath.h \ @@ -1341,7 +1341,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 layer_vis.h obj_subc_parent.h \ - obj_pstk_inlines.h thermal.h polygon1_gen.h hid.h actions.h hid_nogui.h \ + obj_pstk_inlines.h thermal.h polygon1_gen.h hid.h ../src/librnd/core/actions.h hid_nogui.h \ hid_cam.h hid_attrib.h hid_attrib.h hid_init.h \ ../src_plugins/lib_polyhelp/topoly.h obj_common.h \ ../src_plugins/export_openems/mesh.h layer.h vtc0.h vtr0.h \ @@ -1350,7 +1350,7 @@ ../src_plugins/export_openems/mesh.o: \ ../src_plugins/export_openems/mesh.c ../config.h \ ../src_plugins/export_openems/mesh.h layer.h globalconst.h \ - global_typedefs.h pcb_bool.h attrib.h color.h \ + global_typedefs.h pcb_bool.h ../src/librnd/core/attrib.h ../src/librnd/core/color.h \ ../src_3rd/genvector/genvector_impl.h \ ../src_3rd/genvector/genvector_undef.h obj_common.h flag.h data_parent.h \ obj_arc_list.h obj_arc.h ../src_3rd/genlist/gendlist.h \ @@ -1357,10 +1357,10 @@ ../src_3rd/genlist/gentdlist_impl.h ../src_3rd/genlist/gendlist.h \ ../src_3rd/genlist/gentdlist_undef.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 ../src_3rd/genht/ht.h box.h math_helper.h \ + ../src_3rd/genht/htip.h ../src_3rd/genht/ht.h ../src/librnd/core/box.h math_helper.h \ misc_util.h unit.h ../src_3rd/genvector/gds_char.h vtc0.h vtr0.h \ ../src_3rd/libfungw/fungw.h ../src_3rd/genht/htsp.h \ - ../src_3rd/genht/htpp.h layer_ui.h ../src_3rd/genvector/vtp0.h actions.h \ + ../src_3rd/genht/htpp.h layer_ui.h ../src_3rd/genvector/vtp0.h ../src/librnd/core/actions.h \ hid.h ../src_3rd/liblihata/dom.h ../src_3rd/liblihata/lihata.h \ ../src_3rd/liblihata/parser.h error.h board.h vtroutestyle.h layer.h \ layer_grp.h rats_patch.h board.h hidlib.h data.h crosshair.h vtonpoint.h \ @@ -1381,12 +1381,12 @@ ../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 color.h \ + ../src_3rd/genlist/gendlist.h globalconst.h ../src/librnd/core/color.h \ ../src_3rd/genvector/vti0.h compat_misc.h board.h vtroutestyle.h \ - attrib.h layer.h obj_common.h flag.h data_parent.h obj_arc_list.h \ + ../src/librnd/core/attrib.h layer.h obj_common.h flag.h data_parent.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 misc_util.h layer_grp.h \ + ../src_3rd/genht/htip.h ../src/librnd/core/box.h math_helper.h misc_util.h layer_grp.h \ rats_patch.h board.h hidlib.h data.h crosshair.h vtonpoint.h hid.h \ error.h route.h buffer.h ../src_3rd/libfungw/fungw.h \ ../src_3rd/genht/htpp.h obj_rat_list.h obj_rat.h idpath.h \ @@ -1399,7 +1399,7 @@ ../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 polygon1_gen.h funchash_core.h \ - funchash.h funchash_core_list.h hid.h hid_nogui.h hid_init.h actions.h \ + funchash.h funchash_core_list.h hid.h hid_nogui.h hid_init.h ../src/librnd/core/actions.h \ hid_attrib.h hid_cam.h hid_attrib.h \ ../src_plugins/export_openscad/scad_draw.c \ ../src_plugins/export_openscad/../lib_polyhelp/topoly.h obj_common.h \ @@ -1413,13 +1413,13 @@ ../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 color.h \ - ../src_3rd/genht/htpp.h board.h vtroutestyle.h attrib.h layer.h \ + ../src_3rd/genlist/gendlist.h globalconst.h ../src/librnd/core/color.h \ + ../src_3rd/genht/htpp.h board.h vtroutestyle.h ../src/librnd/core/attrib.h layer.h \ obj_common.h flag.h data_parent.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 misc_util.h layer_grp.h \ - rats_patch.h board.h hidlib.h color.h color_cache.h \ + ../src_3rd/genht/htip.h ../src/librnd/core/box.h math_helper.h misc_util.h layer_grp.h \ + rats_patch.h board.h hidlib.h ../src/librnd/core/color.h color_cache.h \ ../src_3rd/genht/hash.h data.h crosshair.h vtonpoint.h hid.h error.h \ route.h buffer.h ../src_3rd/libfungw/fungw.h obj_rat_list.h obj_rat.h \ idpath.h obj_subc_list.h obj_subc.h ../src_3rd/libminuid/libminuid.h \ @@ -1443,13 +1443,13 @@ ../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 color.h math_helper.h \ - board.h vtroutestyle.h attrib.h layer.h obj_common.h flag.h \ + ../src_3rd/genlist/gendlist.h globalconst.h ../src/librnd/core/color.h math_helper.h \ + board.h vtroutestyle.h ../src/librnd/core/attrib.h layer.h obj_common.h flag.h \ data_parent.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h layer_grp.h rats_patch.h board.h hidlib.h \ - color.h data.h crosshair.h vtonpoint.h hid.h error.h route.h buffer.h \ + ../src/librnd/core/color.h data.h crosshair.h vtonpoint.h hid.h error.h route.h buffer.h \ ../src_3rd/libfungw/fungw.h ../src_3rd/genht/htpp.h obj_rat_list.h \ obj_rat.h idpath.h obj_subc_list.h obj_subc.h \ ../src_3rd/libminuid/libminuid.h rtree2_compat.h rtree.h \ @@ -1463,14 +1463,14 @@ funchash_core.h funchash.h funchash_core_list.h ../src_plugins/export_ps/ps.o: ../src_plugins/export_ps/ps.c ../config.h \ math_helper.h board.h ../src_3rd/genht/htsp.h ../src_3rd/genht/ht.h \ - global_typedefs.h pcb_bool.h vtroutestyle.h unit.h attrib.h \ + global_typedefs.h pcb_bool.h vtroutestyle.h unit.h ../src/librnd/core/attrib.h \ ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h color.h \ + ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h ../src_3rd/genvector/gds_char.h layer_grp.h \ rats_patch.h board.h hidlib.h data.h crosshair.h vtonpoint.h hid.h \ ../src_3rd/liblihata/dom.h ../src_3rd/liblihata/lihata.h \ @@ -1488,7 +1488,7 @@ hid_attrib.h safe_fs.h conf.h pcb-printf.h ../src_3rd/liblihata/lihata.h \ list_conf.h funchash_core.h funchash.h funchash_core_list.h layer_vis.h \ hid.h hid_nogui.h ../src_plugins/export_ps/ps.h hid_init.h hid_attrib.h \ - actions.h conf_core.h compat_misc.h stub_draw.h draw.h \ + ../src/librnd/core/actions.h conf_core.h compat_misc.h stub_draw.h draw.h \ ../src_plugins/lib_compat_help/media.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 pcb-printf.h \ @@ -1499,12 +1499,12 @@ ../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 color.h \ + ../src_3rd/genlist/gendlist.h globalconst.h ../src/librnd/core/color.h \ ../src_3rd/genht/htsi.h ../src_3rd/genht/hash.h math_helper.h board.h \ - vtroutestyle.h attrib.h layer.h obj_common.h flag.h data_parent.h \ + vtroutestyle.h ../src/librnd/core/attrib.h layer.h obj_common.h flag.h data_parent.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 \ + obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h math_helper.h \ misc_util.h layer_grp.h rats_patch.h board.h hidlib.h data.h crosshair.h \ vtonpoint.h hid.h error.h route.h buffer.h ../src_3rd/libfungw/fungw.h \ ../src_3rd/genht/htpp.h obj_rat_list.h obj_rat.h idpath.h \ @@ -1519,17 +1519,17 @@ polygon1_gen.h hid.h hid_nogui.h hid_init.h hid_attrib.h hid_cam.h \ hid_attrib.h ../src_plugins/export_stl/export_stl.o: \ - ../src_plugins/export_stl/export_stl.c ../config.h actions.h hid.h \ + ../src_plugins/export_stl/export_stl.c ../config.h ../src/librnd/core/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 global_typedefs.h pcb_bool.h attrib.h \ - box.h math_helper.h misc_util.h unit.h ../src_3rd/libfungw/fungw.h \ + ../src_3rd/genht/ht.h error.h global_typedefs.h pcb_bool.h ../src/librnd/core/attrib.h \ + ../src/librnd/core/box.h math_helper.h misc_util.h unit.h ../src_3rd/libfungw/fungw.h \ ../src_3rd/genht/htpp.h hid_init.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/genvector/vtp0.h ../src_3rd/genvector/genvector_impl.h \ ../src_3rd/genvector/genvector_undef.h hid_attrib.h \ - ../src_3rd/genlist/gendlist.h color.h hid_cam.h layer.h globalconst.h \ + ../src_3rd/genlist/gendlist.h ../src/librnd/core/color.h hid_cam.h layer.h globalconst.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gentdlist_impl.h ../src_3rd/genlist/gendlist.h \ ../src_3rd/genlist/gentdlist_undef.h obj_line_list.h obj_line.h \ @@ -1550,11 +1550,11 @@ ../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 color.h math_helper.h \ - board.h vtroutestyle.h attrib.h layer.h obj_common.h flag.h \ + ../src_3rd/genlist/gendlist.h globalconst.h ../src/librnd/core/color.h math_helper.h \ + board.h vtroutestyle.h ../src/librnd/core/attrib.h layer.h obj_common.h flag.h \ data_parent.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h layer_grp.h rats_patch.h board.h hidlib.h \ data.h crosshair.h vtonpoint.h hid.h error.h route.h buffer.h \ ../src_3rd/libfungw/fungw.h ../src_3rd/genht/htpp.h obj_rat_list.h \ @@ -1579,11 +1579,11 @@ ../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 color.h build_run.h board.h \ - vtroutestyle.h attrib.h layer.h obj_common.h flag.h data_parent.h \ + ../src_3rd/genlist/gendlist.h globalconst.h ../src/librnd/core/color.h build_run.h board.h \ + vtroutestyle.h ../src/librnd/core/attrib.h layer.h obj_common.h flag.h data_parent.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 \ + obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h math_helper.h \ misc_util.h layer_grp.h rats_patch.h board.h hidlib.h data.h crosshair.h \ vtonpoint.h hid.h error.h route.h buffer.h ../src_3rd/libfungw/fungw.h \ ../src_3rd/genht/htpp.h obj_rat_list.h obj_rat.h idpath.h \ @@ -1607,11 +1607,11 @@ ../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 color.h build_run.h board.h \ - vtroutestyle.h attrib.h layer.h obj_common.h flag.h data_parent.h \ + ../src_3rd/genlist/gendlist.h globalconst.h ../src/librnd/core/color.h build_run.h board.h \ + vtroutestyle.h ../src/librnd/core/attrib.h layer.h obj_common.h flag.h data_parent.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 \ + obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h math_helper.h \ misc_util.h layer_grp.h rats_patch.h board.h hidlib.h data.h crosshair.h \ vtonpoint.h hid.h error.h route.h buffer.h ../src_3rd/libfungw/fungw.h \ ../src_3rd/genht/htpp.h obj_rat_list.h obj_rat.h idpath.h \ @@ -1634,11 +1634,11 @@ ../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 color.h build_run.h board.h \ - vtroutestyle.h attrib.h layer.h obj_common.h flag.h data_parent.h \ + ../src_3rd/genlist/gendlist.h globalconst.h ../src/librnd/core/color.h build_run.h board.h \ + vtroutestyle.h ../src/librnd/core/attrib.h layer.h obj_common.h flag.h data_parent.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 \ + obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h math_helper.h \ misc_util.h layer_grp.h rats_patch.h board.h hidlib.h data.h crosshair.h \ vtonpoint.h hid.h error.h route.h buffer.h ../src_3rd/libfungw/fungw.h \ ../src_3rd/genht/htpp.h obj_rat_list.h obj_rat.h idpath.h \ @@ -1660,12 +1660,12 @@ ../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 color.h hidlib_conf.h \ + ../src_3rd/genlist/gendlist.h globalconst.h ../src/librnd/core/color.h hidlib_conf.h \ ../src_3rd/genvector/vts0.h math_helper.h build_run.h board.h \ - vtroutestyle.h attrib.h layer.h obj_common.h flag.h data_parent.h \ + vtroutestyle.h ../src/librnd/core/attrib.h layer.h obj_common.h flag.h data_parent.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 \ + obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h math_helper.h \ misc_util.h layer_grp.h rats_patch.h board.h hidlib.h data.h crosshair.h \ vtonpoint.h hid.h error.h route.h buffer.h ../src_3rd/libfungw/fungw.h \ ../src_3rd/genht/htpp.h obj_rat_list.h obj_rat.h idpath.h \ @@ -1687,10 +1687,10 @@ ../config.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 global_typedefs.h \ - pcb_bool.h attrib.h box.h math_helper.h misc_util.h unit.h hid_attrib.h \ - ../src_3rd/genlist/gendlist.h hid.h color.h \ + pcb_bool.h ../src/librnd/core/attrib.h ../src/librnd/core/box.h math_helper.h misc_util.h unit.h hid_attrib.h \ + ../src_3rd/genlist/gendlist.h hid.h ../src/librnd/core/color.h \ ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h actions.h \ + ../src_3rd/genvector/genvector_undef.h ../src/librnd/core/actions.h \ ../src_3rd/libfungw/fungw.h ../src_3rd/genht/htpp.h hid_dad.h \ compat_misc.h hid_attrib.h pcb-printf.h ../src_3rd/genvector/gds_char.h \ hid_dad_spin.h plugins.h ../src_3rd/puplug/puplug.h \ @@ -1716,14 +1716,14 @@ ../src_plugins/extedit/extedit_dad.c ../src_plugins/exto_std/exto_std.o: ../src_plugins/exto_std/exto_std.c \ ../config.h board.h ../src_3rd/genht/htsp.h ../src_3rd/genht/ht.h \ - global_typedefs.h pcb_bool.h vtroutestyle.h unit.h attrib.h \ + global_typedefs.h pcb_bool.h vtroutestyle.h unit.h ../src/librnd/core/attrib.h \ ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h color.h \ + ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h ../src_3rd/genvector/gds_char.h layer_grp.h \ rats_patch.h board.h hidlib.h data.h crosshair.h vtonpoint.h hid.h \ ../src_3rd/liblihata/dom.h ../src_3rd/liblihata/lihata.h \ @@ -1737,7 +1737,7 @@ vtpadstack_t.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 actions.h obj_subc.h pcb-printf.h extobj.h \ + ../src_3rd/puplug/error.h ../src/librnd/core/actions.h obj_subc.h pcb-printf.h extobj.h \ data.h obj_subc_parent.h draw.h extobj_helper.h conf_core.h conf.h \ pcb-printf.h ../src_3rd/liblihata/lihata.h list_conf.h hid_inlines.h \ hid_dad.h compat_misc.h hid_attrib.h hid_dad_spin.h change.h undo.h \ @@ -1755,11 +1755,11 @@ ../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 color.h board.h \ - vtroutestyle.h attrib.h layer.h obj_common.h flag.h data_parent.h \ + ../src_3rd/genlist/gendlist.h globalconst.h ../src/librnd/core/color.h board.h \ + vtroutestyle.h ../src/librnd/core/attrib.h layer.h obj_common.h flag.h data_parent.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 \ + obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h math_helper.h \ misc_util.h layer_grp.h rats_patch.h board.h hidlib.h data.h crosshair.h \ vtonpoint.h hid.h error.h route.h buffer.h ../src_3rd/libfungw/fungw.h \ ../src_3rd/genht/htpp.h obj_rat_list.h obj_rat.h idpath.h \ @@ -1771,7 +1771,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 actions.h \ + ../src_3rd/puplug/libs.h ../src_3rd/puplug/error.h ../src/librnd/core/actions.h \ compat_misc.h event.h polygon.h obj_poly_draw.h draw.h ../src_plugins/fp_board/fp_board.o: ../src_plugins/fp_board/fp_board.c \ ../config.h plugins.h ../src_3rd/puplug/puplug.h \ @@ -1780,13 +1780,13 @@ ../src_3rd/puplug/error.h plug_footprint.h vtlibrary.h \ ../src_3rd/genvector/genvector_impl.h \ ../src_3rd/genvector/genvector_undef.h data.h globalconst.h \ - global_typedefs.h pcb_bool.h layer.h attrib.h color.h obj_common.h \ + global_typedefs.h pcb_bool.h layer.h ../src/librnd/core/attrib.h ../src/librnd/core/color.h obj_common.h \ flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.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 \ - ../src_3rd/genht/ht.h box.h math_helper.h misc_util.h unit.h \ + ../src_3rd/genht/ht.h ../src/librnd/core/box.h math_helper.h misc_util.h unit.h \ ../src_3rd/genvector/gds_char.h crosshair.h vtonpoint.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 route.h \ @@ -1802,14 +1802,14 @@ operation.h compat_misc.h pcb-printf.h operation.h plug_io.h safe_fs.h ../src_plugins/fp_fs/fp_fs.o: ../src_plugins/fp_fs/fp_fs.c ../config.h \ compat_inc.h board.h ../src_3rd/genht/htsp.h ../src_3rd/genht/ht.h \ - global_typedefs.h pcb_bool.h vtroutestyle.h unit.h attrib.h \ + global_typedefs.h pcb_bool.h vtroutestyle.h unit.h ../src/librnd/core/attrib.h \ ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h color.h \ + ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h ../src_3rd/genvector/gds_char.h layer_grp.h \ rats_patch.h board.h hidlib.h data.h crosshair.h vtonpoint.h hid.h \ ../src_3rd/liblihata/dom.h ../src_3rd/liblihata/lihata.h \ @@ -1834,12 +1834,12 @@ ../src_3rd/genht/ht.h ../src_3rd/genht/hash.h error.h global_typedefs.h \ pcb_bool.h ../src_plugins/fp_wget/wget_common.h \ ../src_plugins/fp_wget/edakrill.h plug_footprint.h vtlibrary.h data.h \ - globalconst.h layer.h attrib.h color.h obj_common.h flag.h data_parent.h \ + globalconst.h layer.h ../src/librnd/core/attrib.h ../src/librnd/core/color.h obj_common.h flag.h data_parent.h \ obj_arc_list.h obj_arc.h ../src_3rd/genlist/gendlist.h \ ../src_3rd/genlist/gentdlist_impl.h ../src_3rd/genlist/gendlist.h \ ../src_3rd/genlist/gentdlist_undef.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 misc_util.h unit.h \ + ../src_3rd/genht/htip.h ../src/librnd/core/box.h math_helper.h misc_util.h unit.h \ crosshair.h vtonpoint.h hid.h ../src_3rd/liblihata/dom.h \ ../src_3rd/liblihata/lihata.h ../src_3rd/liblihata/parser.h error.h \ route.h buffer.h ../src_3rd/libfungw/fungw.h ../src_3rd/genht/htpp.h \ @@ -1858,13 +1858,13 @@ ../config.h ../src_plugins/fp_wget/gedasymbols.h plug_footprint.h \ vtlibrary.h ../src_3rd/genvector/genvector_impl.h \ ../src_3rd/genvector/genvector_undef.h data.h globalconst.h \ - global_typedefs.h pcb_bool.h layer.h attrib.h color.h obj_common.h \ + global_typedefs.h pcb_bool.h layer.h ../src/librnd/core/attrib.h ../src/librnd/core/color.h obj_common.h \ flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.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 \ - ../src_3rd/genht/ht.h box.h math_helper.h misc_util.h unit.h \ + ../src_3rd/genht/ht.h ../src/librnd/core/box.h math_helper.h misc_util.h unit.h \ ../src_3rd/genvector/gds_char.h crosshair.h vtonpoint.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 route.h \ @@ -1888,12 +1888,12 @@ ../src_3rd/genht/ht.h ../src_3rd/genht/hash.h error.h global_typedefs.h \ pcb_bool.h ../src_plugins/fp_wget/wget_common.h \ ../src_plugins/fp_wget/gedasymbols.h plug_footprint.h vtlibrary.h data.h \ - globalconst.h layer.h attrib.h color.h obj_common.h flag.h data_parent.h \ + globalconst.h layer.h ../src/librnd/core/attrib.h ../src/librnd/core/color.h obj_common.h flag.h data_parent.h \ obj_arc_list.h obj_arc.h ../src_3rd/genlist/gendlist.h \ ../src_3rd/genlist/gentdlist_impl.h ../src_3rd/genlist/gendlist.h \ ../src_3rd/genlist/gentdlist_undef.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 misc_util.h unit.h \ + ../src_3rd/genht/htip.h ../src/librnd/core/box.h math_helper.h misc_util.h unit.h \ crosshair.h vtonpoint.h hid.h ../src_3rd/liblihata/dom.h \ ../src_3rd/liblihata/lihata.h ../src_3rd/liblihata/parser.h error.h \ route.h buffer.h ../src_3rd/libfungw/fungw.h ../src_3rd/genht/htpp.h \ @@ -1923,14 +1923,14 @@ ../src_plugins/lib_wget/lib_wget.h ../src_plugins/hid_batch/batch.o: ../src_plugins/hid_batch/batch.c \ ../config.h board.h ../src_3rd/genht/htsp.h ../src_3rd/genht/ht.h \ - global_typedefs.h pcb_bool.h vtroutestyle.h unit.h attrib.h \ + global_typedefs.h pcb_bool.h vtroutestyle.h unit.h ../src/librnd/core/attrib.h \ ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h color.h \ + ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h ../src_3rd/genvector/gds_char.h layer_grp.h \ rats_patch.h board.h hidlib.h hid.h ../src_3rd/liblihata/dom.h \ ../src_3rd/liblihata/lihata.h ../src_3rd/liblihata/parser.h error.h \ @@ -1946,7 +1946,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 hidlib_conf.h \ - hid_nogui.h actions.h hid_init.h hid_attrib.h + hid_nogui.h ../src/librnd/core/actions.h hid_init.h hid_attrib.h ../src_plugins/hid_gtk2_gdk/gtkhid-gdk.o: \ ../src_plugins/hid_gtk2_gdk/gtkhid-gdk.c ../config.h hidlib_conf.h \ conf.h global_typedefs.h pcb_bool.h pcb-printf.h \ @@ -1957,12 +1957,12 @@ ../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 color.h crosshair.h vtonpoint.h hid.h \ - error.h attrib.h box.h math_helper.h misc_util.h obj_line.h \ + ../src_3rd/genlist/gendlist.h ../src/librnd/core/color.h crosshair.h vtonpoint.h hid.h \ + error.h ../src/librnd/core/attrib.h ../src/librnd/core/box.h math_helper.h misc_util.h obj_line.h \ ../src_3rd/genlist/gendlist.h obj_common.h flag.h globalconst.h \ data_parent.h obj_poly.h polyarea.h route.h draw.h layer.h \ obj_arc_list.h obj_arc.h obj_line_list.h obj_poly_list.h obj_text_list.h \ - obj_text.h font.h ../src_3rd/genht/htip.h grid.h color.h color_cache.h \ + obj_text.h font.h ../src_3rd/genht/htip.h grid.h ../src/librnd/core/color.h color_cache.h \ ../src_3rd/genht/hash.h hid_attrib.h funchash_core.h funchash.h \ funchash_core_list.h pixmap.h ../src_plugins/lib_gtk_common/pcb_gtk.h \ hid.h conf.h ../src_plugins/lib_gtk_common/compat.h \ @@ -1989,7 +1989,7 @@ ../src_3rd/genvector/genvector_undef.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 global_typedefs.h \ - pcb_bool.h attrib.h box.h math_helper.h misc_util.h unit.h \ + pcb_bool.h ../src/librnd/core/attrib.h ../src/librnd/core/box.h math_helper.h misc_util.h unit.h \ ../src_plugins/lib_gtk_common/glue_common.h hid.h \ ../src_plugins/lib_gtk_common/pcb_gtk.h conf.h pcb-printf.h \ ../src_3rd/genvector/gds_char.h ../src_3rd/liblihata/lihata.h \ @@ -2002,7 +2002,7 @@ ../src_plugins/lib_gtk_common/bu_menu.h hid_cfg.h conf_hid.h \ ../src_plugins/lib_gtk_common/bu_command.h global_typedefs.h \ ../src_plugins/lib_gtk_common/dlg_topwin.h hid_dad.h compat_misc.h \ - hid_attrib.h ../src_3rd/genlist/gendlist.h color.h hid_dad_spin.h \ + hid_attrib.h ../src_3rd/genlist/gendlist.h ../src/librnd/core/color.h hid_dad_spin.h \ event.h hidlib.h ../src_plugins/lib_gtk_common/glue_hid.h ../src_plugins/hid_gtk2_gl/gtkhid-gl.o: \ ../src_plugins/hid_gtk2_gl/gtkhid-gl.c ../config.h crosshair.h \ @@ -2010,10 +2010,10 @@ ../src_3rd/genvector/genvector_impl.h \ ../src_3rd/genvector/genvector_undef.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 attrib.h box.h \ + ../src_3rd/genht/htsp.h ../src_3rd/genht/ht.h error.h ../src/librnd/core/attrib.h ../src/librnd/core/box.h \ math_helper.h misc_util.h unit.h obj_line.h \ ../src_3rd/genlist/gendlist.h obj_common.h flag.h globalconst.h \ - data_parent.h obj_poly.h polyarea.h route.h draw.h layer.h color.h \ + data_parent.h obj_poly.h polyarea.h route.h draw.h layer.h ../src/librnd/core/color.h \ obj_arc_list.h obj_arc.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.h \ obj_line_list.h obj_poly_list.h obj_text_list.h obj_text.h font.h \ @@ -2047,11 +2047,11 @@ ../src_3rd/genvector/genvector_undef.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 global_typedefs.h \ - pcb_bool.h attrib.h box.h math_helper.h misc_util.h unit.h hidlib_conf.h \ + pcb_bool.h ../src/librnd/core/attrib.h ../src/librnd/core/box.h math_helper.h misc_util.h unit.h hidlib_conf.h \ conf.h pcb-printf.h ../src_3rd/genvector/gds_char.h \ ../src_3rd/liblihata/lihata.h list_conf.h \ ../src_3rd/genlist/gentdlist_undef.h ../src_3rd/genlist/gentdlist_impl.h \ - ../src_3rd/genlist/gendlist.h color.h \ + ../src_3rd/genlist/gendlist.h ../src/librnd/core/color.h \ ../src_plugins/lib_hid_gl/draw_gl.h ../src_plugins/lib_hid_gl/opengl.h \ ../src_plugins/lib_gtk_common/glue_common.h hid.h \ ../src_plugins/lib_gtk_common/pcb_gtk.h conf.h \ @@ -2084,12 +2084,12 @@ ../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 color.h \ + ../src_3rd/genlist/gendlist.h ../src/librnd/core/color.h \ ../src_plugins/hid_lesstif/FillBox.h compat_misc.h data.h globalconst.h \ - layer.h attrib.h obj_common.h flag.h data_parent.h obj_arc_list.h \ + layer.h ../src/librnd/core/attrib.h obj_common.h flag.h data_parent.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 misc_util.h crosshair.h \ + ../src_3rd/genht/htip.h ../src/librnd/core/box.h math_helper.h misc_util.h crosshair.h \ vtonpoint.h hid.h error.h route.h buffer.h ../src_3rd/libfungw/fungw.h \ ../src_3rd/genht/htpp.h obj_rat_list.h obj_rat.h layer_grp.h idpath.h \ obj_subc_list.h obj_subc.h ../src_3rd/libminuid/libminuid.h \ @@ -2098,10 +2098,10 @@ vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h event.h hidlib.h \ build_run.h crosshair.h layer.h pcb-printf.h hid.h \ ../src_plugins/hid_lesstif/lesstif.h hid_cfg_input.h hid_cfg.h board.h \ - vtroutestyle.h rats_patch.h board.h hid_attrib.h actions.h hid_init.h \ + vtroutestyle.h rats_patch.h board.h hid_attrib.h ../src/librnd/core/actions.h hid_init.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_plugins/hid_lesstif/ltf_stdarg.h color.h \ + ../src_3rd/puplug/libs.h ../src_plugins/hid_lesstif/ltf_stdarg.h ../src/librnd/core/color.h \ misc_util.h search.h change.h plug_io.h \ ../src_plugins/hid_lesstif/dlg_attr_misc.c \ ../src_plugins/hid_lesstif/wt_xpm.h \ @@ -2120,10 +2120,10 @@ ../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/genht/htip.h ../src_3rd/genht/htpp.h \ - hid_cfg.h global_typedefs.h pcb_bool.h hid.h error.h attrib.h box.h \ + hid_cfg.h global_typedefs.h pcb_bool.h hid.h error.h ../src/librnd/core/attrib.h ../src/librnd/core/box.h \ math_helper.h misc_util.h unit.h board.h vtroutestyle.h \ ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h color.h \ + ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.h \ @@ -2130,7 +2130,7 @@ 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/genvector/gds_char.h \ layer_grp.h rats_patch.h board.h hidlib.h \ - ../src_plugins/hid_lesstif/ltf_stdarg.h color.h hid.h hid_dad.h \ + ../src_plugins/hid_lesstif/ltf_stdarg.h ../src/librnd/core/color.h hid.h hid_dad.h \ compat_misc.h hid_attrib.h pcb-printf.h hid_dad_spin.h event.h \ ../src_plugins/hid_lesstif/dlg_fileselect.h global_typedefs.h ../src_plugins/hid_lesstif/library.o: \ @@ -2144,25 +2144,25 @@ ../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 color.h compat_misc.h data.h \ - layer.h attrib.h obj_common.h flag.h data_parent.h obj_arc_list.h \ + ../src_3rd/genlist/gendlist.h globalconst.h ../src/librnd/core/color.h compat_misc.h data.h \ + layer.h ../src/librnd/core/attrib.h obj_common.h flag.h data_parent.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 misc_util.h crosshair.h \ + ../src_3rd/genht/htip.h ../src/librnd/core/box.h math_helper.h misc_util.h crosshair.h \ vtonpoint.h hid.h error.h route.h buffer.h ../src_3rd/libfungw/fungw.h \ ../src_3rd/genht/htpp.h obj_rat_list.h obj_rat.h layer_grp.h idpath.h \ obj_subc_list.h obj_subc.h ../src_3rd/libminuid/libminuid.h \ rtree2_compat.h rtree.h ../src_3rd/genrtree/genrtree_api.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 actions.h \ + vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h ../src/librnd/core/actions.h \ buffer.h plug_footprint.h vtlibrary.h data.h hid.h \ ../src_plugins/hid_lesstif/lesstif.h hid_cfg_input.h hid_cfg.h board.h \ vtroutestyle.h rats_patch.h board.h hidlib.h \ - ../src_plugins/hid_lesstif/ltf_stdarg.h color.h event.h tool.h + ../src_plugins/hid_lesstif/ltf_stdarg.h ../src/librnd/core/color.h event.h tool.h ../src_plugins/hid_lesstif/ltf_stdarg.o: \ ../src_plugins/hid_lesstif/ltf_stdarg.c \ ../src_plugins/hid_lesstif/ltf_stdarg.h \ - ../src_plugins/hid_lesstif/xincludes.h color.h global_typedefs.h \ + ../src_plugins/hid_lesstif/xincludes.h ../src/librnd/core/color.h global_typedefs.h \ ../config.h pcb_bool.h ../src_3rd/genvector/genvector_impl.h \ ../src_3rd/genvector/genvector_undef.h ../src_plugins/hid_lesstif/main.o: ../src_plugins/hid_lesstif/main.c \ @@ -2175,11 +2175,11 @@ ../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 color.h hidlib_conf.h \ - hidlib.h pixmap.h data.h layer.h attrib.h obj_common.h flag.h \ + ../src_3rd/genlist/gendlist.h globalconst.h ../src/librnd/core/color.h hidlib_conf.h \ + hidlib.h pixmap.h data.h layer.h ../src/librnd/core/attrib.h obj_common.h flag.h \ data_parent.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h crosshair.h vtonpoint.h hid.h error.h route.h \ buffer.h ../src_3rd/libfungw/fungw.h ../src_3rd/genht/htpp.h \ obj_rat_list.h obj_rat.h layer_grp.h idpath.h obj_subc_list.h obj_subc.h \ @@ -2186,7 +2186,7 @@ ../src_3rd/libminuid/libminuid.h rtree2_compat.h rtree.h \ ../src_3rd/genrtree/genrtree_api.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 color.h color_cache.h \ + obj_pstk_shape.h polygon.h vtpadstack_t.h draw.h ../src/librnd/core/color.h color_cache.h \ crosshair.h conf_hid.h layer.h pcb-printf.h event.h hidlib.h error.h \ plugins.h ../src_3rd/puplug/puplug.h ../src_3rd/puplug/libs.h \ ../src_3rd/puplug/os_dep.h ../src_3rd/puplug/config.h \ @@ -2194,7 +2194,7 @@ funchash_core.h funchash.h funchash_core_list.h hid.h hid_nogui.h \ hid_cfg.h ../src_plugins/hid_lesstif/lesstif.h hid_cfg_input.h hid_cfg.h \ board.h vtroutestyle.h rats_patch.h board.h hid_attrib.h hid_init.h \ - hid_dad.h compat_misc.h hid_attrib.h hid_dad_spin.h actions.h \ + hid_dad.h compat_misc.h hid_attrib.h hid_dad_spin.h ../src/librnd/core/actions.h \ ../src_plugins/hid_lesstif/ltf_stdarg.h grid.h misc_util.h compat_misc.h \ layer_vis.h tool.h ../src_plugins/hid_lesstif/wt_preview.h \ ../src_plugins/hid_lesstif/dlg_fileselect.h global_typedefs.h \ @@ -2212,11 +2212,11 @@ ../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 color.h data.h layer.h \ - attrib.h obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ + ../src_3rd/genlist/gendlist.h globalconst.h ../src/librnd/core/color.h data.h layer.h \ + ../src/librnd/core/attrib.h obj_common.h flag.h data_parent.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 misc_util.h crosshair.h \ + ../src_3rd/genht/htip.h ../src/librnd/core/box.h math_helper.h misc_util.h crosshair.h \ vtonpoint.h hid.h error.h route.h buffer.h ../src_3rd/libfungw/fungw.h \ ../src_3rd/genht/htpp.h obj_rat_list.h obj_rat.h layer_grp.h idpath.h \ obj_subc_list.h obj_subc.h ../src_3rd/libminuid/libminuid.h \ @@ -2225,13 +2225,13 @@ vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h error.h \ pcb-printf.h layer.h hid.h hid_cfg.h hid_cfg_action.h hid_cfg.h \ hid_cfg_input.h conf_hid.h ../src_plugins/hid_lesstif/lesstif.h board.h \ - vtroutestyle.h rats_patch.h board.h hidlib.h paths.h actions.h \ - ../src_plugins/hid_lesstif/ltf_stdarg.h color.h event.h compat_misc.h \ + vtroutestyle.h rats_patch.h board.h hidlib.h paths.h ../src/librnd/core/actions.h \ + ../src_plugins/hid_lesstif/ltf_stdarg.h ../src/librnd/core/color.h event.h compat_misc.h \ layer_vis.h ../src_plugins/lib_hid_common/menu_helper.h ../src_plugins/hid_lesstif/netlist.o: \ ../src_plugins/hid_lesstif/netlist.c ../config.h \ ../src_plugins/hid_lesstif/xincludes.h compat_misc.h data.h \ - globalconst.h global_typedefs.h pcb_bool.h layer.h attrib.h color.h \ + globalconst.h global_typedefs.h pcb_bool.h layer.h ../src/librnd/core/attrib.h ../src/librnd/core/color.h \ ../src_3rd/genvector/genvector_impl.h \ ../src_3rd/genvector/genvector_undef.h obj_common.h flag.h data_parent.h \ obj_arc_list.h obj_arc.h ../src_3rd/genlist/gendlist.h \ @@ -2238,7 +2238,7 @@ ../src_3rd/genlist/gentdlist_impl.h ../src_3rd/genlist/gendlist.h \ ../src_3rd/genlist/gentdlist_undef.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 ../src_3rd/genht/ht.h box.h math_helper.h \ + ../src_3rd/genht/htip.h ../src_3rd/genht/ht.h ../src/librnd/core/box.h math_helper.h \ misc_util.h unit.h ../src_3rd/genvector/gds_char.h crosshair.h \ vtonpoint.h hid.h ../src_3rd/liblihata/dom.h \ ../src_3rd/liblihata/lihata.h ../src_3rd/liblihata/parser.h \ @@ -2252,11 +2252,11 @@ vtpadstack_t.h find.h netlist.h board.h vtroutestyle.h rats_patch.h \ hidlib.h select.h operation.h undo.h ../src_3rd/libuundo/uundo.h \ undo_old.h remove.h crosshair.h draw.h event.h fptr_cast.h hid.h \ - actions.h ../src_plugins/hid_lesstif/lesstif.h hid_cfg_input.h hid_cfg.h \ - board.h ../src_plugins/hid_lesstif/ltf_stdarg.h color.h + ../src/librnd/core/actions.h ../src_plugins/hid_lesstif/lesstif.h hid_cfg_input.h hid_cfg.h \ + board.h ../src_plugins/hid_lesstif/ltf_stdarg.h ../src/librnd/core/color.h ../src_plugins/hid_lesstif/wt_colorbtn.o: \ ../src_plugins/hid_lesstif/wt_colorbtn.c compat_misc.h ../config.h \ - color.h global_typedefs.h pcb_bool.h \ + ../src/librnd/core/color.h global_typedefs.h pcb_bool.h \ ../src_3rd/genvector/genvector_impl.h \ ../src_3rd/genvector/genvector_undef.h ../src_plugins/hid_lesstif/wt_xpm.o: ../src_plugins/hid_lesstif/wt_xpm.c \ @@ -2283,25 +2283,25 @@ ../src_3rd/genvector/genvector_impl.h \ ../src_3rd/genvector/genvector_undef.h unit.h global_typedefs.h \ ../config.h pcb_bool.h ../src_plugins/hid_remote/proto_lowcommon.h \ - ../src_plugins/hid_remote/proto_lowsend.h base64.h \ + ../src_plugins/hid_remote/proto_lowsend.h ../src/librnd/core/base64.h \ ../src_plugins/hid_remote/proto_lowparse.h layer.h globalconst.h \ - attrib.h color.h obj_common.h flag.h data_parent.h obj_arc_list.h \ + ../src/librnd/core/attrib.h ../src/librnd/core/color.h obj_common.h flag.h data_parent.h obj_arc_list.h \ obj_arc.h ../src_3rd/genlist/gendlist.h \ ../src_3rd/genlist/gentdlist_impl.h ../src_3rd/genlist/gendlist.h \ ../src_3rd/genlist/gentdlist_undef.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 ../src_3rd/genht/ht.h box.h math_helper.h \ + ../src_3rd/genht/htip.h ../src_3rd/genht/ht.h ../src/librnd/core/box.h math_helper.h \ misc_util.h layer_grp.h layer.h ../src_plugins/hid_remote/remote.o: ../src_plugins/hid_remote/remote.c \ ../config.h board.h ../src_3rd/genht/htsp.h ../src_3rd/genht/ht.h \ - global_typedefs.h pcb_bool.h vtroutestyle.h unit.h attrib.h \ + global_typedefs.h pcb_bool.h vtroutestyle.h unit.h ../src/librnd/core/attrib.h \ ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h color.h \ + ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h ../src_3rd/genvector/gds_char.h layer_grp.h \ rats_patch.h board.h hidlib.h hid.h ../src_3rd/liblihata/dom.h \ ../src_3rd/liblihata/lihata.h ../src_3rd/liblihata/parser.h error.h \ @@ -2317,17 +2317,17 @@ ../src_3rd/puplug/os_dep.h ../src_3rd/puplug/config.h \ ../src_3rd/puplug/libs.h ../src_3rd/puplug/error.h compat_misc.h \ funchash_core.h funchash.h funchash_core_list.h event.h \ - ../src_plugins/hid_remote/proto.h hid_nogui.h actions.h hid_init.h + ../src_plugins/hid_remote/proto.h hid_nogui.h ../src/librnd/core/actions.h hid_init.h ../src_plugins/import_calay/calay.o: ../src_plugins/import_calay/calay.c \ ../config.h board.h ../src_3rd/genht/htsp.h ../src_3rd/genht/ht.h \ - global_typedefs.h pcb_bool.h vtroutestyle.h unit.h attrib.h \ + global_typedefs.h pcb_bool.h vtroutestyle.h unit.h ../src/librnd/core/attrib.h \ ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h color.h \ + ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h ../src_3rd/genvector/gds_char.h layer_grp.h \ rats_patch.h board.h hidlib.h data.h crosshair.h vtonpoint.h hid.h \ ../src_3rd/liblihata/dom.h ../src_3rd/liblihata/lihata.h \ @@ -2339,7 +2339,7 @@ ../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 error.h pcb-printf.h compat_misc.h safe_fs.h conf.h \ - pcb-printf.h ../src_3rd/liblihata/lihata.h list_conf.h actions.h \ + pcb-printf.h ../src_3rd/liblihata/lihata.h list_conf.h ../src/librnd/core/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 @@ -2347,14 +2347,14 @@ ../config.h ../src_3rd/gensexpr/gsxl.h \ ../src_3rd/gensexpr/gensexpr_impl.h ../src_3rd/gensexpr/gsx_parse.h \ board.h ../src_3rd/genht/htsp.h ../src_3rd/genht/ht.h global_typedefs.h \ - pcb_bool.h vtroutestyle.h unit.h attrib.h \ + pcb_bool.h vtroutestyle.h unit.h ../src/librnd/core/attrib.h \ ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h color.h \ + ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h ../src_3rd/genvector/gds_char.h layer_grp.h \ rats_patch.h board.h hidlib.h data.h crosshair.h vtonpoint.h hid.h \ ../src_3rd/liblihata/dom.h ../src_3rd/liblihata/lihata.h \ @@ -2366,7 +2366,7 @@ ../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 actions.h hid.h plugins.h \ + ../src_3rd/liblihata/lihata.h list_conf.h ../src/librnd/core/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 \ @@ -2374,13 +2374,13 @@ ../src_plugins/import_edif/edif.o: ../src_plugins/import_edif/edif.c \ math_helper.h board.h ../config.h ../src_3rd/genht/htsp.h \ ../src_3rd/genht/ht.h global_typedefs.h pcb_bool.h vtroutestyle.h unit.h \ - attrib.h ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h color.h \ + ../src/librnd/core/attrib.h ../src_3rd/genvector/genvector_impl.h \ + ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h ../src_3rd/genvector/gds_char.h layer_grp.h \ rats_patch.h board.h hidlib.h data.h crosshair.h vtonpoint.h hid.h \ ../src_3rd/liblihata/dom.h ../src_3rd/liblihata/lihata.h \ @@ -2399,14 +2399,14 @@ ../src_plugins/import_edif/import_edif.o: \ ../src_plugins/import_edif/import_edif.c ../config.h board.h \ ../src_3rd/genht/htsp.h ../src_3rd/genht/ht.h global_typedefs.h \ - pcb_bool.h vtroutestyle.h unit.h attrib.h \ + pcb_bool.h vtroutestyle.h unit.h ../src/librnd/core/attrib.h \ ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h color.h \ + ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h ../src_3rd/genvector/gds_char.h layer_grp.h \ rats_patch.h board.h hidlib.h data.h crosshair.h vtonpoint.h hid.h \ ../src_3rd/liblihata/dom.h ../src_3rd/liblihata/lihata.h \ @@ -2426,13 +2426,13 @@ ../src_plugins/import_fpcb_nl/fpcb_nl.c ../config.h \ ../src_3rd/qparse/qparse.h board.h ../src_3rd/genht/htsp.h \ ../src_3rd/genht/ht.h global_typedefs.h pcb_bool.h vtroutestyle.h unit.h \ - attrib.h ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h color.h \ + ../src/librnd/core/attrib.h ../src_3rd/genvector/genvector_impl.h \ + ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h ../src_3rd/genvector/gds_char.h layer_grp.h \ rats_patch.h board.h hidlib.h data.h crosshair.h vtonpoint.h hid.h \ ../src_3rd/liblihata/dom.h ../src_3rd/liblihata/lihata.h \ @@ -2444,7 +2444,7 @@ ../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 error.h pcb-printf.h compat_misc.h safe_fs.h conf.h \ - pcb-printf.h ../src_3rd/liblihata/lihata.h list_conf.h actions.h \ + pcb-printf.h ../src_3rd/liblihata/lihata.h list_conf.h ../src/librnd/core/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 @@ -2452,13 +2452,13 @@ ../config.h ../src_3rd/libuhpgl/libuhpgl.h ../src_3rd/libuhpgl/parse.h \ ../src_3rd/libuhpgl/libuhpgl.h board.h ../src_3rd/genht/htsp.h \ ../src_3rd/genht/ht.h global_typedefs.h pcb_bool.h vtroutestyle.h unit.h \ - attrib.h ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h color.h \ + ../src/librnd/core/attrib.h ../src_3rd/genvector/genvector_impl.h \ + ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h ../src_3rd/genvector/gds_char.h layer_grp.h \ rats_patch.h board.h hidlib.h conf_core.h conf.h pcb-printf.h \ ../src_3rd/liblihata/lihata.h ../src_3rd/liblihata/dom.h \ @@ -2470,7 +2470,7 @@ rtree2_compat.h rtree.h ../src_3rd/genrtree/genrtree_api.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 actions.h plugins.h \ + pcb-printf.h compat_misc.h safe_fs.h ../src/librnd/core/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 @@ -2477,14 +2477,14 @@ ../src_plugins/import_ipcd356/ipcd356.o: \ ../src_plugins/import_ipcd356/ipcd356.c ../config.h \ ../src_3rd/genht/htsp.h ../src_3rd/genht/ht.h ../src_3rd/genht/hash.h \ - board.h global_typedefs.h pcb_bool.h vtroutestyle.h unit.h attrib.h \ + board.h global_typedefs.h pcb_bool.h vtroutestyle.h unit.h ../src/librnd/core/attrib.h \ ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h color.h \ + ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h ../src_3rd/genvector/gds_char.h layer_grp.h \ rats_patch.h board.h hidlib.h data.h crosshair.h vtonpoint.h hid.h \ ../src_3rd/liblihata/dom.h ../src_3rd/liblihata/lihata.h \ @@ -2496,7 +2496,7 @@ obj_pstk_list.h obj_pstk.h ../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 \ - compat_misc.h actions.h plugins.h ../src_3rd/puplug/puplug.h \ + compat_misc.h ../src/librnd/core/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 \ @@ -2505,13 +2505,13 @@ ../src_plugins/import_ltspice/ltspice.c ../config.h \ ../src_3rd/qparse/qparse.h board.h ../src_3rd/genht/htsp.h \ ../src_3rd/genht/ht.h global_typedefs.h pcb_bool.h vtroutestyle.h unit.h \ - attrib.h ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h color.h \ + ../src/librnd/core/attrib.h ../src_3rd/genvector/genvector_impl.h \ + ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h ../src_3rd/genvector/gds_char.h layer_grp.h \ rats_patch.h board.h hidlib.h data.h crosshair.h vtonpoint.h hid.h \ ../src_3rd/liblihata/dom.h ../src_3rd/liblihata/lihata.h \ @@ -2523,7 +2523,7 @@ ../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 error.h pcb-printf.h compat_misc.h safe_fs.h conf.h \ - pcb-printf.h ../src_3rd/liblihata/lihata.h list_conf.h actions.h \ + pcb-printf.h ../src_3rd/liblihata/lihata.h list_conf.h ../src/librnd/core/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 @@ -2530,14 +2530,14 @@ ../src_plugins/import_mentor_sch/mentor_sch.o: \ ../src_plugins/import_mentor_sch/mentor_sch.c ../config.h board.h \ ../src_3rd/genht/htsp.h ../src_3rd/genht/ht.h global_typedefs.h \ - pcb_bool.h vtroutestyle.h unit.h attrib.h \ + pcb_bool.h vtroutestyle.h unit.h ../src/librnd/core/attrib.h \ ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h color.h \ + ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h ../src_3rd/genvector/gds_char.h layer_grp.h \ rats_patch.h board.h hidlib.h data.h crosshair.h vtonpoint.h hid.h \ ../src_3rd/liblihata/dom.h ../src_3rd/liblihata/lihata.h \ @@ -2550,7 +2550,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 actions.h plugins.h \ + ../src_3rd/gensexpr/gsx_parse.h ../src/librnd/core/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 \ @@ -2570,8 +2570,8 @@ pcb-printf.h ../src_3rd/genvector/gds_char.h \ ../src_3rd/genvector/genvector_impl.h \ ../src_3rd/genvector/genvector_undef.h unit.h global_typedefs.h error.h \ - actions.h hid.h ../src_3rd/liblihata/dom.h ../src_3rd/liblihata/lihata.h \ - ../src_3rd/liblihata/parser.h error.h attrib.h box.h math_helper.h \ + ../src/librnd/core/actions.h hid.h ../src_3rd/liblihata/dom.h ../src_3rd/liblihata/lihata.h \ + ../src_3rd/liblihata/parser.h error.h ../src/librnd/core/attrib.h ../src/librnd/core/box.h math_helper.h \ misc_util.h ../src_3rd/libfungw/fungw.h ../src_3rd/genht/htpp.h \ safe_fs.h conf.h pcb-printf.h ../src_3rd/liblihata/lihata.h \ ../src_3rd/genvector/vtp0.h list_conf.h \ @@ -2579,14 +2579,14 @@ ../src_3rd/genlist/gendlist.h ../src_plugins/import_mucs/mucs.o: ../src_plugins/import_mucs/mucs.c \ ../config.h board.h ../src_3rd/genht/htsp.h ../src_3rd/genht/ht.h \ - global_typedefs.h pcb_bool.h vtroutestyle.h unit.h attrib.h \ + global_typedefs.h pcb_bool.h vtroutestyle.h unit.h ../src/librnd/core/attrib.h \ ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h color.h \ + ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h ../src_3rd/genvector/gds_char.h layer_grp.h \ rats_patch.h board.h hidlib.h data.h crosshair.h vtonpoint.h hid.h \ ../src_3rd/liblihata/dom.h ../src_3rd/liblihata/lihata.h \ @@ -2598,7 +2598,7 @@ ../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 error.h pcb-printf.h compat_misc.h safe_fs.h conf.h \ - pcb-printf.h ../src_3rd/liblihata/lihata.h list_conf.h actions.h \ + pcb-printf.h ../src_3rd/liblihata/lihata.h list_conf.h ../src/librnd/core/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 \ @@ -2606,14 +2606,14 @@ ../src_plugins/import_netlist/import_netlist.o: \ ../src_plugins/import_netlist/import_netlist.c ../config.h board.h \ ../src_3rd/genht/htsp.h ../src_3rd/genht/ht.h global_typedefs.h \ - pcb_bool.h vtroutestyle.h unit.h attrib.h \ + pcb_bool.h vtroutestyle.h unit.h ../src/librnd/core/attrib.h \ ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h color.h \ + ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h ../src_3rd/genvector/gds_char.h layer_grp.h \ rats_patch.h board.h hidlib.h plugins.h ../src_3rd/puplug/puplug.h \ ../src_3rd/puplug/libs.h ../src_3rd/puplug/os_dep.h \ @@ -2668,11 +2668,11 @@ ../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 color.h board.h \ - vtroutestyle.h attrib.h layer.h obj_common.h flag.h data_parent.h \ + ../src_3rd/genlist/gendlist.h globalconst.h ../src/librnd/core/color.h board.h \ + vtroutestyle.h ../src/librnd/core/attrib.h layer.h obj_common.h flag.h data_parent.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 \ + obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h math_helper.h \ misc_util.h layer_grp.h rats_patch.h board.h hidlib.h data.h crosshair.h \ vtonpoint.h hid.h error.h route.h buffer.h ../src_3rd/libfungw/fungw.h \ ../src_3rd/genht/htpp.h obj_rat_list.h obj_rat.h idpath.h \ @@ -2684,7 +2684,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 actions.h \ + pcb-printf.h remove.h ../src/librnd/core/actions.h \ ../src_plugins/import_sch/import_sch_conf.h conf.h misc_util.h \ compat_misc.h obj_rat.h safe_fs.h hid_init.h \ ../src_plugins/import_sch/import_sch_conf_fields.h @@ -2692,13 +2692,13 @@ ../src_plugins/import_tinycad/tinycad.c ../config.h \ ../src_3rd/qparse/qparse.h board.h ../src_3rd/genht/htsp.h \ ../src_3rd/genht/ht.h global_typedefs.h pcb_bool.h vtroutestyle.h unit.h \ - attrib.h ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h color.h \ + ../src/librnd/core/attrib.h ../src_3rd/genvector/genvector_impl.h \ + ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h ../src_3rd/genvector/gds_char.h layer_grp.h \ rats_patch.h board.h hidlib.h data.h crosshair.h vtonpoint.h hid.h \ ../src_3rd/liblihata/dom.h ../src_3rd/liblihata/lihata.h \ @@ -2710,7 +2710,7 @@ ../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 error.h pcb-printf.h compat_misc.h safe_fs.h conf.h \ - pcb-printf.h ../src_3rd/liblihata/lihata.h list_conf.h actions.h \ + pcb-printf.h ../src_3rd/liblihata/lihata.h list_conf.h ../src/librnd/core/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 @@ -2720,14 +2720,14 @@ ../src_plugins/import_ttf/str_approx.h ../src_plugins/import_ttf/ttf.o: ../src_plugins/import_ttf/ttf.c \ ../config.h board.h ../src_3rd/genht/htsp.h ../src_3rd/genht/ht.h \ - global_typedefs.h pcb_bool.h vtroutestyle.h unit.h attrib.h \ + global_typedefs.h pcb_bool.h vtroutestyle.h unit.h ../src/librnd/core/attrib.h \ ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h color.h \ + ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h ../src_3rd/genvector/gds_char.h layer_grp.h \ rats_patch.h board.h hidlib.h data.h crosshair.h vtonpoint.h hid.h \ ../src_3rd/liblihata/dom.h ../src_3rd/liblihata/lihata.h \ @@ -2738,7 +2738,7 @@ ../src_3rd/genrtree/genrtree_api.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 actions.h plugins.h ../src_3rd/puplug/puplug.h \ + vtpadstack_t.h ../src/librnd/core/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/import_ttf/ttf_load.h @@ -2759,10 +2759,10 @@ ../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_autotrax/write.h data.h \ - globalconst.h layer.h attrib.h color.h obj_common.h flag.h data_parent.h \ + globalconst.h layer.h ../src/librnd/core/attrib.h ../src/librnd/core/color.h obj_common.h flag.h data_parent.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 \ + obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h math_helper.h \ misc_util.h crosshair.h vtonpoint.h hid.h error.h route.h buffer.h \ ../src_3rd/libfungw/fungw.h ../src_3rd/genht/htpp.h obj_rat_list.h \ obj_rat.h layer_grp.h idpath.h obj_subc_list.h obj_subc.h \ @@ -2770,19 +2770,19 @@ ../src_3rd/genrtree/genrtree_api.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 actions.h board.h vtroutestyle.h \ + ../src_plugins/io_autotrax/read.h ../src/librnd/core/actions.h board.h vtroutestyle.h \ rats_patch.h board.h hidlib.h conf_core.h buffer.h hid.h compat_misc.h ../src_plugins/io_autotrax/read.o: ../src_plugins/io_autotrax/read.c \ ../config.h ../src_3rd/qparse/qparse.h compat_misc.h board.h \ ../src_3rd/genht/htsp.h ../src_3rd/genht/ht.h global_typedefs.h \ - pcb_bool.h vtroutestyle.h unit.h attrib.h \ + pcb_bool.h vtroutestyle.h unit.h ../src/librnd/core/attrib.h \ ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h color.h \ + ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h ../src_3rd/genvector/gds_char.h layer_grp.h \ rats_patch.h board.h hidlib.h plug_io.h conf.h pcb-printf.h \ ../src_3rd/liblihata/lihata.h ../src_3rd/liblihata/dom.h \ @@ -2795,7 +2795,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_autotrax/read.h layer.h polygon.h misc_util.h \ - conf_core.h move.h macro.h safe_fs.h rotate.h compat_misc.h actions.h \ + conf_core.h move.h macro.h safe_fs.h rotate.h compat_misc.h ../src/librnd/core/actions.h \ undo.h ../src_3rd/libuundo/uundo.h undo_old.h \ ../src_plugins/lib_compat_help/pstk_compat.h obj_pstk.h \ ../src_plugins/lib_compat_help/pstk_help.h \ @@ -2803,13 +2803,13 @@ ../src_plugins/io_autotrax/write.o: ../src_plugins/io_autotrax/write.c \ ../config.h compat_misc.h board.h ../src_3rd/genht/htsp.h \ ../src_3rd/genht/ht.h global_typedefs.h pcb_bool.h vtroutestyle.h unit.h \ - attrib.h ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h color.h \ + ../src/librnd/core/attrib.h ../src_3rd/genvector/genvector_impl.h \ + ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h ../src_3rd/genvector/gds_char.h layer_grp.h \ rats_patch.h board.h hidlib.h plug_io.h conf.h pcb-printf.h \ ../src_3rd/liblihata/lihata.h ../src_3rd/liblihata/dom.h \ @@ -2836,7 +2836,7 @@ ../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_dsn/write.h hid.h \ - error.h attrib.h box.h math_helper.h misc_util.h compat_misc.h plugins.h \ + error.h ../src/librnd/core/attrib.h ../src/librnd/core/box.h math_helper.h misc_util.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 @@ -2844,13 +2844,13 @@ ../src_3rd/gensexpr/gsxl.h ../src_3rd/gensexpr/gensexpr_impl.h \ ../src_3rd/gensexpr/gsx_parse.h ../src_3rd/genht/htsp.h \ ../src_3rd/genht/ht.h board.h global_typedefs.h pcb_bool.h \ - vtroutestyle.h unit.h attrib.h ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h color.h \ + vtroutestyle.h unit.h ../src/librnd/core/attrib.h ../src_3rd/genvector/genvector_impl.h \ + ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h ../src_3rd/genvector/gds_char.h layer_grp.h \ rats_patch.h board.h hidlib.h data.h crosshair.h vtonpoint.h hid.h \ ../src_3rd/liblihata/dom.h ../src_3rd/liblihata/lihata.h \ @@ -2863,7 +2863,7 @@ ../src_3rd/genvector/vtp0.h vtpadstack.h obj_pstk_shape.h polygon.h \ vtpadstack_t.h plug_io.h conf.h pcb-printf.h \ ../src_3rd/liblihata/lihata.h list_conf.h error.h pcb_bool.h safe_fs.h \ - compat_misc.h layer_grp.h conf_core.h math_helper.h actions.h netlist.h \ + compat_misc.h layer_grp.h conf_core.h math_helper.h ../src/librnd/core/actions.h netlist.h \ polygon_offs.h ../src_plugins/io_dsn/read.h ../src_plugins/io_dsn/write.o: ../src_plugins/io_dsn/write.c ../config.h \ plug_io.h global_typedefs.h pcb_bool.h conf.h pcb-printf.h \ @@ -2875,10 +2875,10 @@ ../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 error.h pcb_bool.h board.h vtroutestyle.h \ - attrib.h layer.h globalconst.h color.h obj_common.h flag.h data_parent.h \ + ../src/librnd/core/attrib.h layer.h globalconst.h ../src/librnd/core/color.h obj_common.h flag.h data_parent.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 \ + obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h math_helper.h \ misc_util.h layer_grp.h rats_patch.h board.h hidlib.h data.h crosshair.h \ vtonpoint.h hid.h error.h route.h buffer.h ../src_3rd/libfungw/fungw.h \ ../src_3rd/genht/htpp.h obj_rat_list.h obj_rat.h idpath.h \ @@ -2903,7 +2903,7 @@ ../src_3rd/puplug/error.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 global_typedefs.h \ - pcb_bool.h attrib.h box.h math_helper.h misc_util.h unit.h plug_io.h \ + pcb_bool.h ../src/librnd/core/attrib.h ../src/librnd/core/box.h math_helper.h misc_util.h unit.h plug_io.h \ conf.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 \ @@ -2910,22 +2910,22 @@ ../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_eagle/read.h board.h \ - vtroutestyle.h layer.h globalconst.h color.h obj_common.h flag.h \ + vtroutestyle.h layer.h globalconst.h ../src/librnd/core/color.h obj_common.h flag.h \ data_parent.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 layer_grp.h \ rats_patch.h board.h hidlib.h conf.h ../src_plugins/io_eagle/read_dru.h \ - actions.h hid.h ../src_3rd/libfungw/fungw.h ../src_3rd/genht/htpp.h + ../src/librnd/core/actions.h hid.h ../src_3rd/libfungw/fungw.h ../src_3rd/genht/htpp.h ../src_plugins/io_eagle/read.o: ../src_plugins/io_eagle/read.c \ ../config.h board.h ../src_3rd/genht/htsp.h ../src_3rd/genht/ht.h \ - global_typedefs.h pcb_bool.h vtroutestyle.h unit.h attrib.h \ + global_typedefs.h pcb_bool.h vtroutestyle.h unit.h ../src/librnd/core/attrib.h \ ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h color.h \ + ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h ../src_3rd/genvector/gds_char.h layer_grp.h \ rats_patch.h board.h hidlib.h data.h crosshair.h vtonpoint.h hid.h \ ../src_3rd/liblihata/dom.h ../src_3rd/liblihata/lihata.h \ @@ -2938,7 +2938,7 @@ ../src_3rd/genvector/vtp0.h vtpadstack.h obj_pstk_shape.h polygon.h \ vtpadstack_t.h ../src_plugins/io_eagle/read.h conf.h pcb-printf.h \ ../src_3rd/liblihata/lihata.h list_conf.h conf.h plug_io.h conf_core.h \ - error.h polygon.h rtree.h actions.h undo.h ../src_3rd/libuundo/uundo.h \ + error.h polygon.h rtree.h ../src/librnd/core/actions.h undo.h ../src_3rd/libuundo/uundo.h \ undo_old.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 obj_poly_op.h \ @@ -2956,11 +2956,11 @@ ../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 conf_core.h globalconst.h color.h \ - safe_fs.h board.h vtroutestyle.h attrib.h layer.h obj_common.h flag.h \ + ../src_3rd/genlist/gendlist.h conf_core.h globalconst.h ../src/librnd/core/color.h \ + safe_fs.h board.h vtroutestyle.h ../src/librnd/core/attrib.h layer.h obj_common.h flag.h \ data_parent.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h layer_grp.h rats_patch.h board.h hidlib.h \ layer_grp.h error.h ../src_plugins/io_eagle/trparse_bin.o: \ @@ -2991,27 +2991,27 @@ ../src_plugins/io_hyp/hyp_l.o: ../src_plugins/io_hyp/hyp_l.c \ ../src_plugins/io_hyp/hyp_y.h ../src_plugins/io_hyp/parser.h pcb_bool.h \ board.h ../config.h ../src_3rd/genht/htsp.h ../src_3rd/genht/ht.h \ - global_typedefs.h pcb_bool.h vtroutestyle.h unit.h attrib.h \ + global_typedefs.h pcb_bool.h vtroutestyle.h unit.h ../src/librnd/core/attrib.h \ ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h color.h \ + ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h ../src_3rd/genvector/gds_char.h layer_grp.h \ rats_patch.h board.h hidlib.h ../src_plugins/io_hyp/hyp_y.o: ../src_plugins/io_hyp/hyp_y.c \ ../src_plugins/io_hyp/parser.h pcb_bool.h board.h ../config.h \ ../src_3rd/genht/htsp.h ../src_3rd/genht/ht.h global_typedefs.h \ - pcb_bool.h vtroutestyle.h unit.h attrib.h \ + pcb_bool.h vtroutestyle.h unit.h ../src/librnd/core/attrib.h \ ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h color.h \ + ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h ../src_3rd/genvector/gds_char.h layer_grp.h \ rats_patch.h board.h hidlib.h ../src_plugins/io_hyp/hyp_l.h ../src_plugins/io_hyp/io_hyp.o: ../src_plugins/io_hyp/io_hyp.c \ @@ -3018,14 +3018,14 @@ ../config.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 global_typedefs.h \ - pcb_bool.h attrib.h box.h math_helper.h misc_util.h unit.h hid_nogui.h \ - actions.h hid.h ../src_3rd/libfungw/fungw.h ../src_3rd/genht/htpp.h \ + pcb_bool.h ../src/librnd/core/attrib.h ../src/librnd/core/box.h math_helper.h misc_util.h unit.h hid_nogui.h \ + ../src/librnd/core/actions.h hid.h ../src_3rd/libfungw/fungw.h ../src_3rd/genht/htpp.h \ hid_init.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/genvector/vtp0.h \ ../src_3rd/genvector/genvector_impl.h \ ../src_3rd/genvector/genvector_undef.h hid_attrib.h \ - ../src_3rd/genlist/gendlist.h color.h plugins.h \ + ../src_3rd/genlist/gendlist.h ../src/librnd/core/color.h plugins.h \ ../src_3rd/puplug/error.h event.h hidlib.h plug_io.h conf.h pcb-printf.h \ ../src_3rd/genvector/gds_char.h ../src_3rd/liblihata/lihata.h \ list_conf.h ../src_3rd/genlist/gentdlist_undef.h \ @@ -3038,14 +3038,14 @@ ../src_plugins/io_hyp/parser.o: ../src_plugins/io_hyp/parser.c \ ../src_plugins/io_hyp/parser.h pcb_bool.h board.h ../config.h \ ../src_3rd/genht/htsp.h ../src_3rd/genht/ht.h global_typedefs.h \ - pcb_bool.h vtroutestyle.h unit.h attrib.h \ + pcb_bool.h vtroutestyle.h unit.h ../src/librnd/core/attrib.h \ ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h color.h \ + ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h ../src_3rd/genvector/gds_char.h layer_grp.h \ rats_patch.h board.h hidlib.h ../src_plugins/io_hyp/hyp_l.h \ ../src_plugins/io_hyp/hyp_y.h error.h pcb-printf.h flag_str.h polygon.h \ @@ -3057,7 +3057,7 @@ ../src_3rd/libminuid/libminuid.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 search.h rotate.h compat_misc.h actions.h plug_io.h \ + vtpadstack_t.h search.h rotate.h compat_misc.h ../src/librnd/core/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 @@ -3071,11 +3071,11 @@ ../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 board.h vtroutestyle.h attrib.h layer.h \ - globalconst.h color.h obj_common.h flag.h data_parent.h obj_arc_list.h \ + ../src_3rd/genlist/gendlist.h board.h vtroutestyle.h ../src/librnd/core/attrib.h layer.h \ + globalconst.h ../src/librnd/core/color.h obj_common.h flag.h data_parent.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 misc_util.h layer_grp.h \ + ../src_3rd/genht/htip.h ../src/librnd/core/box.h math_helper.h misc_util.h layer_grp.h \ rats_patch.h board.h hidlib.h data.h crosshair.h vtonpoint.h hid.h \ error.h route.h buffer.h ../src_3rd/libfungw/fungw.h \ ../src_3rd/genht/htpp.h obj_rat_list.h obj_rat.h idpath.h \ @@ -3100,10 +3100,10 @@ ../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_kicad/write.h data.h \ - globalconst.h layer.h attrib.h color.h obj_common.h flag.h data_parent.h \ + globalconst.h layer.h ../src/librnd/core/attrib.h ../src/librnd/core/color.h obj_common.h flag.h data_parent.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 \ + obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h math_helper.h \ misc_util.h crosshair.h vtonpoint.h hid.h error.h route.h buffer.h \ ../src_3rd/libfungw/fungw.h ../src_3rd/genht/htpp.h obj_rat_list.h \ obj_rat.h layer_grp.h idpath.h obj_subc_list.h obj_subc.h \ @@ -3111,10 +3111,10 @@ ../src_3rd/genrtree/genrtree_api.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_kicad/read.h \ - ../src_plugins/io_kicad/read_net.h unit.h actions.h + ../src_plugins/io_kicad/read_net.h unit.h ../src/librnd/core/actions.h ../src_plugins/io_kicad/layertab.o: ../src_plugins/io_kicad/layertab.c \ ../config.h ../src_plugins/io_kicad/layertab.h layer.h globalconst.h \ - global_typedefs.h pcb_bool.h attrib.h color.h \ + global_typedefs.h pcb_bool.h ../src/librnd/core/attrib.h ../src/librnd/core/color.h \ ../src_3rd/genvector/genvector_impl.h \ ../src_3rd/genvector/genvector_undef.h obj_common.h flag.h data_parent.h \ obj_arc_list.h obj_arc.h ../src_3rd/genlist/gendlist.h \ @@ -3121,7 +3121,7 @@ ../src_3rd/genlist/gentdlist_impl.h ../src_3rd/genlist/gendlist.h \ ../src_3rd/genlist/gentdlist_undef.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 ../src_3rd/genht/ht.h box.h math_helper.h \ + ../src_3rd/genht/htip.h ../src_3rd/genht/ht.h ../src/librnd/core/box.h math_helper.h \ misc_util.h unit.h ../src_3rd/genvector/gds_char.h ../src_plugins/io_kicad/read.o: ../src_plugins/io_kicad/read.c \ ../config.h ../src_3rd/gensexpr/gsxl.h \ @@ -3130,12 +3130,12 @@ ../src_3rd/genvector/vtp0.h ../src_3rd/genvector/genvector_impl.h \ ../src_3rd/genvector/genvector_undef.h compat_misc.h board.h \ ../src_3rd/genht/htsp.h global_typedefs.h pcb_bool.h vtroutestyle.h \ - unit.h attrib.h layer.h globalconst.h color.h obj_common.h flag.h \ + unit.h ../src/librnd/core/attrib.h layer.h globalconst.h ../src/librnd/core/color.h obj_common.h flag.h \ data_parent.h obj_arc_list.h obj_arc.h ../src_3rd/genlist/gendlist.h \ ../src_3rd/genlist/gentdlist_impl.h ../src_3rd/genlist/gendlist.h \ ../src_3rd/genlist/gentdlist_undef.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 misc_util.h \ + ../src_3rd/genht/htip.h ../src/librnd/core/box.h math_helper.h misc_util.h \ ../src_3rd/genvector/gds_char.h layer_grp.h rats_patch.h board.h \ hidlib.h plug_io.h conf.h pcb-printf.h ../src_3rd/liblihata/lihata.h \ ../src_3rd/liblihata/dom.h ../src_3rd/liblihata/lihata.h \ @@ -3147,7 +3147,7 @@ ../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 \ layer.h polygon.h plug_footprint.h vtlibrary.h data.h misc_util.h \ - conf_core.h move.h macro.h rotate.h compat_misc.h safe_fs.h attrib.h \ + conf_core.h move.h macro.h rotate.h compat_misc.h safe_fs.h ../src/librnd/core/attrib.h \ netlist.h math_helper.h obj_pstk_inlines.h thermal.h polygon1_gen.h \ ../src_plugins/lib_compat_help/pstk_compat.h obj_pstk.h \ ../src_plugins/lib_compat_help/pstk_help.h \ @@ -3160,13 +3160,13 @@ ../src_plugins/io_kicad/read_net.h unit.h global_typedefs.h pcb_bool.h \ ../src_3rd/libfungw/fungw.h ../src_3rd/genht/htsp.h \ ../src_3rd/genht/ht.h ../src_3rd/genht/htpp.h board.h vtroutestyle.h \ - unit.h attrib.h ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h color.h \ + unit.h ../src/librnd/core/attrib.h ../src_3rd/genvector/genvector_impl.h \ + ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h ../src_3rd/genvector/gds_char.h layer_grp.h \ rats_patch.h board.h hidlib.h data.h crosshair.h vtonpoint.h hid.h \ ../src_3rd/liblihata/dom.h ../src_3rd/liblihata/lihata.h \ @@ -3177,7 +3177,7 @@ ../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 error.h pcb-printf.h compat_misc.h safe_fs.h conf.h \ - pcb-printf.h ../src_3rd/liblihata/lihata.h list_conf.h actions.h \ + pcb-printf.h ../src_3rd/liblihata/lihata.h list_conf.h ../src/librnd/core/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 @@ -3187,13 +3187,13 @@ ../src_plugins/io_kicad/write.o: ../src_plugins/io_kicad/write.c \ ../config.h compat_misc.h board.h ../src_3rd/genht/htsp.h \ ../src_3rd/genht/ht.h global_typedefs.h pcb_bool.h vtroutestyle.h unit.h \ - attrib.h ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h color.h \ + ../src/librnd/core/attrib.h ../src_3rd/genvector/genvector_impl.h \ + ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h ../src_3rd/genvector/gds_char.h layer_grp.h \ rats_patch.h board.h hidlib.h plug_io.h conf.h pcb-printf.h \ ../src_3rd/liblihata/lihata.h ../src_3rd/liblihata/dom.h \ @@ -3224,10 +3224,10 @@ ../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_kicad_legacy/write.h \ - data.h globalconst.h layer.h attrib.h color.h obj_common.h flag.h \ + data.h globalconst.h layer.h ../src/librnd/core/attrib.h ../src/librnd/core/color.h obj_common.h flag.h \ data_parent.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h crosshair.h vtonpoint.h hid.h error.h route.h \ buffer.h ../src_3rd/libfungw/fungw.h ../src_3rd/genht/htpp.h \ obj_rat_list.h obj_rat.h layer_grp.h idpath.h obj_subc_list.h obj_subc.h \ @@ -3238,14 +3238,14 @@ ../src_plugins/io_kicad_legacy/write.o: \ ../src_plugins/io_kicad_legacy/write.c ../config.h compat_misc.h board.h \ ../src_3rd/genht/htsp.h ../src_3rd/genht/ht.h global_typedefs.h \ - pcb_bool.h vtroutestyle.h unit.h attrib.h \ + pcb_bool.h vtroutestyle.h unit.h ../src/librnd/core/attrib.h \ ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h color.h \ + ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h ../src_3rd/genvector/gds_char.h layer_grp.h \ rats_patch.h board.h hidlib.h plug_io.h conf.h pcb-printf.h \ ../src_3rd/liblihata/lihata.h ../src_3rd/liblihata/dom.h \ @@ -3263,13 +3263,13 @@ ../src_plugins/lib_compat_help/pstk_compat.h obj_pstk.h ../src_plugins/io_lihata/common.o: ../src_plugins/io_lihata/common.c \ ../config.h data.h globalconst.h global_typedefs.h pcb_bool.h layer.h \ - attrib.h color.h ../src_3rd/genvector/genvector_impl.h \ + ../src/librnd/core/attrib.h ../src/librnd/core/color.h ../src_3rd/genvector/genvector_impl.h \ ../src_3rd/genvector/genvector_undef.h obj_common.h flag.h data_parent.h \ obj_arc_list.h obj_arc.h ../src_3rd/genlist/gendlist.h \ ../src_3rd/genlist/gentdlist_impl.h ../src_3rd/genlist/gendlist.h \ ../src_3rd/genlist/gentdlist_undef.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 ../src_3rd/genht/ht.h box.h math_helper.h \ + ../src_3rd/genht/htip.h ../src_3rd/genht/ht.h ../src/librnd/core/box.h math_helper.h \ misc_util.h unit.h ../src_3rd/genvector/gds_char.h crosshair.h \ vtonpoint.h hid.h ../src_3rd/liblihata/dom.h \ ../src_3rd/liblihata/lihata.h ../src_3rd/liblihata/parser.h \ @@ -3304,14 +3304,14 @@ ../src_3rd/liblihata/lihata.h ../src_3rd/liblihata/parser.h \ ../src_3rd/genht/htsp.h ../src_3rd/genht/ht.h \ ../src_3rd/libminuid/libminuid.h ../config.h board.h global_typedefs.h \ - pcb_bool.h vtroutestyle.h unit.h attrib.h \ + pcb_bool.h vtroutestyle.h unit.h ../src/librnd/core/attrib.h \ ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h color.h \ + ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h ../src_3rd/genvector/gds_char.h layer_grp.h \ rats_patch.h board.h hidlib.h data.h crosshair.h vtonpoint.h hid.h \ error.h route.h buffer.h ../src_3rd/libfungw/fungw.h \ @@ -3338,14 +3338,14 @@ ../src_3rd/liblihata/lihata.h ../src_3rd/liblihata/parser.h \ ../src_3rd/genht/htsp.h ../src_3rd/genht/ht.h \ ../src_3rd/libminuid/libminuid.h ../config.h board.h global_typedefs.h \ - pcb_bool.h vtroutestyle.h unit.h attrib.h \ + pcb_bool.h vtroutestyle.h unit.h ../src/librnd/core/attrib.h \ ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h color.h \ + ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h ../src_3rd/genvector/gds_char.h layer_grp.h \ rats_patch.h board.h hidlib.h conf_core.h conf.h pcb-printf.h \ ../src_3rd/liblihata/lihata.h ../src_3rd/genvector/vtp0.h list_conf.h \ @@ -3358,7 +3358,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 actions.h misc_util.h macro.h layer.h \ + compat_misc.h rats_patch.h ../src/librnd/core/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 \ @@ -3386,7 +3386,7 @@ ../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 \ - actions.h hid.h error.h attrib.h box.h math_helper.h misc_util.h \ + ../src/librnd/core/actions.h hid.h error.h ../src/librnd/core/attrib.h ../src/librnd/core/box.h math_helper.h misc_util.h \ ../src_3rd/libfungw/fungw.h ../src_3rd/genht/htpp.h ../src_plugins/io_mentor_cell/read.o: \ ../src_plugins/io_mentor_cell/read.c ../config.h \ @@ -3394,12 +3394,12 @@ ../src_3rd/genvector/genvector_impl.h \ ../src_3rd/genvector/genvector_undef.h ../src_3rd/genht/htsp.h \ ../src_3rd/genht/ht.h board.h global_typedefs.h pcb_bool.h \ - vtroutestyle.h unit.h attrib.h layer.h globalconst.h color.h \ + vtroutestyle.h unit.h ../src/librnd/core/attrib.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h layer_grp.h rats_patch.h board.h hidlib.h \ data.h crosshair.h vtonpoint.h hid.h ../src_3rd/liblihata/dom.h \ ../src_3rd/liblihata/lihata.h ../src_3rd/liblihata/parser.h error.h \ @@ -3426,11 +3426,11 @@ ../src_3rd/genht/htsp.h ../src_3rd/genht/ht.h \ ../src_3rd/genvector/vtp0.h list_conf.h conf.h \ ../src_3rd/genlist/gentdlist_undef.h ../src_3rd/genlist/gentdlist_impl.h \ - ../src_3rd/genlist/gendlist.h board.h vtroutestyle.h attrib.h layer.h \ - globalconst.h color.h obj_common.h flag.h data_parent.h obj_arc_list.h \ + ../src_3rd/genlist/gendlist.h board.h vtroutestyle.h ../src/librnd/core/attrib.h layer.h \ + globalconst.h ../src/librnd/core/color.h obj_common.h flag.h data_parent.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 misc_util.h layer_grp.h \ + ../src_3rd/genht/htip.h ../src/librnd/core/box.h math_helper.h misc_util.h layer_grp.h \ rats_patch.h board.h hidlib.h compat_misc.h ../src_plugins/io_pcb/file.o: ../src_plugins/io_pcb/file.c ../config.h \ conf_core.h conf.h global_typedefs.h pcb_bool.h pcb-printf.h \ @@ -3441,13 +3441,13 @@ ../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 color.h hidlib_conf.h \ - buffer.h obj_common.h flag.h attrib.h data_parent.h \ + ../src_3rd/genlist/gendlist.h globalconst.h ../src/librnd/core/color.h hidlib_conf.h \ + buffer.h obj_common.h flag.h ../src/librnd/core/attrib.h data_parent.h \ ../src_3rd/libfungw/fungw.h ../src_3rd/genht/htpp.h change.h board.h \ vtroutestyle.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 misc_util.h layer_grp.h \ + ../src_3rd/genht/htip.h ../src/librnd/core/box.h math_helper.h misc_util.h layer_grp.h \ rats_patch.h hidlib.h crosshair.h vtonpoint.h hid.h error.h route.h \ data.h crosshair.h buffer.h obj_rat_list.h obj_rat.h idpath.h \ obj_subc_list.h obj_subc.h ../src_3rd/libminuid/libminuid.h \ @@ -3457,7 +3457,7 @@ ../src_plugins/io_pcb/file.h board.h plug_io.h hid.h layer.h layer_grp.h \ move.h ../src_plugins/io_pcb/parse_common.h pcb-printf.h polygon.h \ polygon1_gen.h remove.h flag_str.h compat_fs.h compat_misc.h paths.h \ - rats_patch.h actions.h ../src_plugins/io_pcb/attribs.h route_style.h \ + rats_patch.h ../src/librnd/core/actions.h ../src_plugins/io_pcb/attribs.h route_style.h \ obj_poly.h thermal.h polygon1_gen.h event.h macro.h funchash_core.h \ funchash.h funchash_core_list.h netlist.h \ ../src_plugins/lib_compat_help/layer_compat.h \ @@ -3478,11 +3478,11 @@ ../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_pcb/file.h board.h \ - vtroutestyle.h attrib.h layer.h globalconst.h color.h obj_common.h \ + vtroutestyle.h ../src/librnd/core/attrib.h layer.h globalconst.h ../src/librnd/core/color.h obj_common.h \ flag.h data_parent.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 misc_util.h layer_grp.h \ + ../src_3rd/genht/htip.h ../src/librnd/core/box.h math_helper.h misc_util.h layer_grp.h \ rats_patch.h board.h hidlib.h ../src_plugins/io_pcb/parse_l.o: ../src_plugins/io_pcb/parse_l.c \ ../config.h conf_core.h conf.h global_typedefs.h pcb_bool.h pcb-printf.h \ @@ -3493,8 +3493,8 @@ ../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 color.h flag_str.h flag.h \ - crosshair.h vtonpoint.h hid.h error.h attrib.h box.h math_helper.h \ + ../src_3rd/genlist/gendlist.h globalconst.h ../src/librnd/core/color.h flag_str.h flag.h \ + crosshair.h vtonpoint.h hid.h error.h ../src/librnd/core/attrib.h ../src/librnd/core/box.h math_helper.h \ misc_util.h obj_line.h ../src_3rd/genlist/gendlist.h obj_common.h \ data_parent.h obj_poly.h polyarea.h route.h data.h layer.h \ obj_arc_list.h obj_arc.h obj_line_list.h obj_poly_list.h obj_text_list.h \ @@ -3513,13 +3513,13 @@ ../src_plugins/io_pcb/parse_y.o: ../src_plugins/io_pcb/parse_y.c \ ../config.h flag.h globalconst.h board.h ../src_3rd/genht/htsp.h \ ../src_3rd/genht/ht.h global_typedefs.h pcb_bool.h vtroutestyle.h unit.h \ - attrib.h ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h color.h obj_common.h \ + ../src/librnd/core/attrib.h ../src_3rd/genvector/genvector_impl.h \ + ../src_3rd/genvector/genvector_undef.h layer.h ../src/librnd/core/color.h obj_common.h \ flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h ../src_3rd/genvector/gds_char.h layer_grp.h \ rats_patch.h board.h hidlib.h conf_core.h conf.h pcb-printf.h \ ../src_3rd/liblihata/lihata.h ../src_3rd/liblihata/dom.h \ @@ -3539,7 +3539,7 @@ ../config.h ../src_3rd/genht/htsp.h ../src_3rd/genht/ht.h \ ../src_3rd/genht/htip.h ../src_3rd/genht/hash.h \ ../src_plugins/io_tedax/footprint.h data.h globalconst.h \ - global_typedefs.h pcb_bool.h layer.h attrib.h color.h \ + global_typedefs.h pcb_bool.h layer.h ../src/librnd/core/attrib.h ../src/librnd/core/color.h \ ../src_3rd/genvector/genvector_impl.h \ ../src_3rd/genvector/genvector_undef.h obj_common.h flag.h data_parent.h \ obj_arc_list.h obj_arc.h ../src_3rd/genlist/gendlist.h \ @@ -3546,7 +3546,7 @@ ../src_3rd/genlist/gentdlist_impl.h ../src_3rd/genlist/gendlist.h \ ../src_3rd/genlist/gentdlist_undef.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 \ - box.h math_helper.h misc_util.h unit.h ../src_3rd/genvector/gds_char.h \ + ../src/librnd/core/box.h math_helper.h misc_util.h unit.h ../src_3rd/genvector/gds_char.h \ crosshair.h vtonpoint.h hid.h ../src_3rd/liblihata/dom.h \ ../src_3rd/liblihata/lihata.h ../src_3rd/liblihata/parser.h error.h \ route.h buffer.h ../src_3rd/libfungw/fungw.h ../src_3rd/genht/htpp.h \ @@ -3555,7 +3555,7 @@ ../src_3rd/genrtree/genrtree_api.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 \ - ../src_plugins/io_tedax/parse.h unit.h attrib.h error.h board.h \ + ../src_plugins/io_tedax/parse.h unit.h ../src/librnd/core/attrib.h error.h board.h \ vtroutestyle.h rats_patch.h board.h hidlib.h pcb-printf.h compat_misc.h \ safe_fs.h conf.h pcb-printf.h ../src_3rd/liblihata/lihata.h list_conf.h \ obj_line.h obj_arc.h obj_pstk.h obj_pstk_inlines.h data.h thermal.h \ @@ -3563,7 +3563,7 @@ layer.h ../src_plugins/lib_compat_help/pstk_help.h ../src_plugins/io_tedax/io_tedax.o: ../src_plugins/io_tedax/io_tedax.c \ ../config.h ../src_plugins/io_tedax/footprint.h data.h globalconst.h \ - global_typedefs.h pcb_bool.h layer.h attrib.h color.h \ + global_typedefs.h pcb_bool.h layer.h ../src/librnd/core/attrib.h ../src/librnd/core/color.h \ ../src_3rd/genvector/genvector_impl.h \ ../src_3rd/genvector/genvector_undef.h obj_common.h flag.h data_parent.h \ obj_arc_list.h obj_arc.h ../src_3rd/genlist/gendlist.h \ @@ -3570,7 +3570,7 @@ ../src_3rd/genlist/gentdlist_impl.h ../src_3rd/genlist/gendlist.h \ ../src_3rd/genlist/gentdlist_undef.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 ../src_3rd/genht/ht.h box.h math_helper.h \ + ../src_3rd/genht/htip.h ../src_3rd/genht/ht.h ../src/librnd/core/box.h math_helper.h \ misc_util.h unit.h ../src_3rd/genvector/gds_char.h crosshair.h \ vtonpoint.h hid.h ../src_3rd/liblihata/dom.h \ ../src_3rd/liblihata/lihata.h ../src_3rd/liblihata/parser.h \ @@ -3586,7 +3586,7 @@ 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 actions.h compat_misc.h plug_io.h \ + ../src_3rd/puplug/error.h hid.h ../src/librnd/core/actions.h compat_misc.h plug_io.h \ ../src_plugins/io_tedax/stackup.h ../src_plugins/io_tedax/tlayer.h \ layer.h ../src_plugins/io_tedax/tboard.h ../src_plugins/io_tedax/tdrc.h \ ../src_plugins/io_tedax/tetest.h ../src_plugins/io_tedax/tnetlist.h @@ -3597,13 +3597,13 @@ ../config.h ../src_3rd/genht/htsp.h ../src_3rd/genht/ht.h \ ../src_3rd/genht/htip.h ../src_3rd/genht/hash.h \ ../src_plugins/io_tedax/stackup.h board.h global_typedefs.h pcb_bool.h \ - vtroutestyle.h unit.h attrib.h ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h color.h \ + vtroutestyle.h unit.h ../src/librnd/core/attrib.h ../src_3rd/genvector/genvector_impl.h \ + ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.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 box.h math_helper.h misc_util.h \ + obj_text_list.h obj_text.h font.h ../src/librnd/core/box.h math_helper.h misc_util.h \ ../src_3rd/genvector/gds_char.h layer_grp.h rats_patch.h board.h \ hidlib.h ../src_3rd/genvector/vtp0.h ../src_plugins/io_tedax/parse.h \ compat_misc.h safe_fs.h conf.h pcb-printf.h \ @@ -3614,14 +3614,14 @@ ../config.h ../src_3rd/genht/htsp.h ../src_3rd/genht/ht.h \ ../src_3rd/genht/htsi.h ../src_3rd/genht/hash.h \ ../src_plugins/lib_netmap/placement.h board.h global_typedefs.h \ - pcb_bool.h vtroutestyle.h unit.h attrib.h \ + pcb_bool.h vtroutestyle.h unit.h ../src/librnd/core/attrib.h \ ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h color.h \ + ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h ../src_3rd/genvector/gds_char.h layer_grp.h \ rats_patch.h board.h hidlib.h data.h crosshair.h vtonpoint.h hid.h \ ../src_3rd/liblihata/dom.h ../src_3rd/liblihata/lihata.h \ @@ -3639,14 +3639,14 @@ obj_pstk.h compat_misc.h plug_io.h ../src_plugins/io_tedax/tnetlist.h ../src_plugins/io_tedax/tdrc.o: ../src_plugins/io_tedax/tdrc.c \ ../config.h board.h ../src_3rd/genht/htsp.h ../src_3rd/genht/ht.h \ - global_typedefs.h pcb_bool.h vtroutestyle.h unit.h attrib.h \ + global_typedefs.h pcb_bool.h vtroutestyle.h unit.h ../src/librnd/core/attrib.h \ ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h color.h \ + ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h ../src_3rd/genvector/gds_char.h layer_grp.h \ rats_patch.h board.h hidlib.h ../src_plugins/io_tedax/parse.h safe_fs.h \ conf.h pcb-printf.h ../src_3rd/liblihata/lihata.h \ @@ -3655,14 +3655,14 @@ error.h ../src_plugins/io_tedax/tdrc.h ../src_plugins/io_tedax/tetest.o: ../src_plugins/io_tedax/tetest.c \ ../config.h board.h ../src_3rd/genht/htsp.h ../src_3rd/genht/ht.h \ - global_typedefs.h pcb_bool.h vtroutestyle.h unit.h attrib.h \ + global_typedefs.h pcb_bool.h vtroutestyle.h unit.h ../src/librnd/core/attrib.h \ ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h color.h \ + ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h ../src_3rd/genvector/gds_char.h layer_grp.h \ rats_patch.h board.h hidlib.h data.h crosshair.h vtonpoint.h hid.h \ ../src_3rd/liblihata/dom.h ../src_3rd/liblihata/lihata.h \ @@ -3684,7 +3684,7 @@ ../src_plugins/io_tedax/tlayer.o: ../src_plugins/io_tedax/tlayer.c \ ../config.h ../src_3rd/genht/htsp.h ../src_3rd/genht/ht.h \ ../src_3rd/genht/hash.h data.h globalconst.h global_typedefs.h \ - pcb_bool.h layer.h attrib.h color.h \ + pcb_bool.h layer.h ../src/librnd/core/attrib.h ../src/librnd/core/color.h \ ../src_3rd/genvector/genvector_impl.h \ ../src_3rd/genvector/genvector_undef.h obj_common.h flag.h data_parent.h \ obj_arc_list.h obj_arc.h ../src_3rd/genlist/gendlist.h \ @@ -3691,7 +3691,7 @@ ../src_3rd/genlist/gentdlist_impl.h ../src_3rd/genlist/gendlist.h \ ../src_3rd/genlist/gentdlist_undef.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 misc_util.h unit.h \ + ../src_3rd/genht/htip.h ../src/librnd/core/box.h math_helper.h misc_util.h unit.h \ ../src_3rd/genvector/gds_char.h crosshair.h vtonpoint.h hid.h \ ../src_3rd/liblihata/dom.h ../src_3rd/liblihata/lihata.h \ ../src_3rd/liblihata/parser.h error.h route.h buffer.h \ @@ -3709,13 +3709,13 @@ ../src_plugins/io_tedax/tnetlist.o: ../src_plugins/io_tedax/tnetlist.c \ ../config.h ../src_3rd/genht/htsp.h ../src_3rd/genht/ht.h \ ../src_3rd/genht/hash.h board.h global_typedefs.h pcb_bool.h \ - vtroutestyle.h unit.h attrib.h ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h color.h \ + vtroutestyle.h unit.h ../src/librnd/core/attrib.h ../src_3rd/genvector/genvector_impl.h \ + ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h ../src_3rd/genvector/gds_char.h layer_grp.h \ rats_patch.h board.h hidlib.h data.h crosshair.h vtonpoint.h hid.h \ ../src_3rd/liblihata/dom.h ../src_3rd/liblihata/lihata.h \ @@ -3726,19 +3726,19 @@ ../src_3rd/genrtree/genrtree_api.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 actions.h safe_fs.h conf.h pcb-printf.h \ + compat_misc.h ../src/librnd/core/actions.h safe_fs.h conf.h pcb-printf.h \ ../src_3rd/liblihata/lihata.h list_conf.h obj_subc.h netlist.h \ ../src_plugins/io_tedax/tnetlist.h ../src_plugins/io_tedax/parse.h ../src_plugins/jostle/jostle.o: ../src_plugins/jostle/jostle.c \ ../config.h board.h ../src_3rd/genht/htsp.h ../src_3rd/genht/ht.h \ - global_typedefs.h pcb_bool.h vtroutestyle.h unit.h attrib.h \ + global_typedefs.h pcb_bool.h vtroutestyle.h unit.h ../src/librnd/core/attrib.h \ ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h color.h \ + ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h ../src_3rd/genvector/gds_char.h layer_grp.h \ rats_patch.h board.h hidlib.h data.h crosshair.h vtonpoint.h hid.h \ ../src_3rd/liblihata/dom.h ../src_3rd/liblihata/lihata.h \ @@ -3753,7 +3753,7 @@ undo_old.h polygon.h polygon1_gen.h remove.h error.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 actions.h layer.h \ + ../src_3rd/puplug/libs.h ../src_3rd/puplug/error.h ../src/librnd/core/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 ../src_plugins/lib_compat_help/lib_compat_help.o: \ @@ -3763,7 +3763,7 @@ ../src_3rd/puplug/libs.h ../src_3rd/puplug/error.h \ ../src_plugins/lib_compat_help/layer_compat.c ../config.h \ ../src_plugins/lib_compat_help/layer_compat.h layer.h globalconst.h \ - global_typedefs.h pcb_bool.h attrib.h color.h \ + global_typedefs.h pcb_bool.h ../src/librnd/core/attrib.h ../src/librnd/core/color.h \ ../src_3rd/genvector/genvector_impl.h \ ../src_3rd/genvector/genvector_undef.h obj_common.h flag.h data_parent.h \ obj_arc_list.h obj_arc.h ../src_3rd/genlist/gendlist.h \ @@ -3770,7 +3770,7 @@ ../src_3rd/genlist/gentdlist_impl.h ../src_3rd/genlist/gendlist.h \ ../src_3rd/genlist/gentdlist_undef.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 ../src_3rd/genht/ht.h box.h math_helper.h \ + ../src_3rd/genht/htip.h ../src_3rd/genht/ht.h ../src/librnd/core/box.h math_helper.h \ misc_util.h unit.h ../src_3rd/genvector/gds_char.h \ ../src_plugins/lib_compat_help/pstk_compat.h obj_pstk.h \ ../src_3rd/genvector/vtp0.h layer.h obj_pstk_shape.h polygon.h rtree.h \ @@ -3811,13 +3811,13 @@ ../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 color.h board.h vtroutestyle.h attrib.h \ + ../src_3rd/genlist/gendlist.h ../src/librnd/core/color.h board.h vtroutestyle.h ../src/librnd/core/attrib.h \ layer.h globalconst.h obj_common.h flag.h data_parent.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 misc_util.h layer_grp.h \ + ../src_3rd/genht/htip.h ../src/librnd/core/box.h math_helper.h misc_util.h layer_grp.h \ rats_patch.h board.h hidlib.h crosshair.h vtonpoint.h hid.h error.h \ - route.h actions.h ../src_3rd/libfungw/fungw.h ../src_3rd/genht/htpp.h \ + route.h ../src/librnd/core/actions.h ../src_3rd/libfungw/fungw.h ../src_3rd/genht/htpp.h \ ../src_plugins/lib_gtk_common/pcb_gtk.h hid.h conf.h \ ../src_plugins/lib_gtk_common/compat.h \ ../src_plugins/lib_gtk_common/ui_zoompan.h \ @@ -3830,11 +3830,11 @@ ../src_plugins/lib_gtk_common/hid_gtk_conf.h \ ../src_plugins/lib_hid_common/cli_history.h ../src_plugins/lib_gtk_common/bu_dwg_tooltip.o: \ - ../src_plugins/lib_gtk_common/bu_dwg_tooltip.c ../config.h actions.h \ + ../src_plugins/lib_gtk_common/bu_dwg_tooltip.c ../config.h ../src/librnd/core/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 global_typedefs.h pcb_bool.h attrib.h \ - box.h math_helper.h misc_util.h unit.h ../src_3rd/libfungw/fungw.h \ + ../src_3rd/genht/ht.h error.h global_typedefs.h pcb_bool.h ../src/librnd/core/attrib.h \ + ../src/librnd/core/box.h math_helper.h misc_util.h unit.h ../src_3rd/libfungw/fungw.h \ ../src_3rd/genht/htpp.h ../src_plugins/lib_gtk_common/bu_dwg_tooltip.h ../src_plugins/lib_gtk_common/bu_menu.o: \ ../src_plugins/lib_gtk_common/bu_menu.c ../config.h \ @@ -3841,14 +3841,14 @@ ../src_3rd/liblihata/tree.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 board.h global_typedefs.h \ - pcb_bool.h vtroutestyle.h unit.h attrib.h \ + pcb_bool.h vtroutestyle.h unit.h ../src/librnd/core/attrib.h \ ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h color.h \ + ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h ../src_3rd/genvector/gds_char.h layer_grp.h \ rats_patch.h board.h hidlib.h pcb-printf.h misc_util.h error.h conf.h \ pcb-printf.h ../src_3rd/liblihata/lihata.h ../src_3rd/genvector/vtp0.h \ @@ -3876,9 +3876,9 @@ ../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 color.h \ - ../src_plugins/lib_gtk_common/dlg_attribute.h hid.h error.h attrib.h \ - box.h math_helper.h misc_util.h ../src_plugins/lib_gtk_common/pcb_gtk.h \ + ../src_3rd/genlist/gendlist.h ../src/librnd/core/color.h \ + ../src_plugins/lib_gtk_common/dlg_attribute.h hid.h error.h ../src/librnd/core/attrib.h \ + ../src/librnd/core/box.h math_helper.h misc_util.h ../src_plugins/lib_gtk_common/pcb_gtk.h \ conf.h ../src_plugins/lib_gtk_common/compat.h \ ../src_plugins/lib_gtk_common/ui_zoompan.h pcb_bool.h \ ../src_plugins/lib_gtk_common/in_mouse.h hid_cfg_input.h \ @@ -3906,11 +3906,11 @@ ../src_plugins/lib_gtk_common/dlg_attributes.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 global_typedefs.h pcb_bool.h attrib.h \ - box.h math_helper.h misc_util.h unit.h pcb-printf.h \ + ../src_3rd/genht/ht.h error.h global_typedefs.h pcb_bool.h ../src/librnd/core/attrib.h \ + ../src/librnd/core/box.h math_helper.h misc_util.h unit.h pcb-printf.h \ ../src_3rd/genvector/gds_char.h ../src_3rd/genvector/genvector_impl.h \ ../src_3rd/genvector/genvector_undef.h hid_attrib.h \ - ../src_3rd/genlist/gendlist.h hid.h color.h hid_init.h \ + ../src_3rd/genlist/gendlist.h hid.h ../src/librnd/core/color.h hid_init.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/genvector/vtp0.h misc_util.h \ @@ -3920,8 +3920,8 @@ ../src_3rd/genht/htsp.h ../src_3rd/genht/ht.h ../src_3rd/genht/hash.h \ hid.h ../src_3rd/liblihata/dom.h ../src_3rd/liblihata/lihata.h \ ../src_3rd/liblihata/parser.h error.h global_typedefs.h pcb_bool.h \ - attrib.h box.h math_helper.h misc_util.h unit.h hid_dad.h compat_misc.h \ - hid_attrib.h ../src_3rd/genlist/gendlist.h hid.h color.h \ + ../src/librnd/core/attrib.h ../src/librnd/core/box.h math_helper.h misc_util.h unit.h hid_dad.h compat_misc.h \ + hid_attrib.h ../src_3rd/genlist/gendlist.h hid.h ../src/librnd/core/color.h \ ../src_3rd/genvector/genvector_impl.h \ ../src_3rd/genvector/genvector_undef.h pcb-printf.h \ ../src_3rd/genvector/gds_char.h hid_dad_spin.h compat_misc.h \ @@ -3946,8 +3946,8 @@ ../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 global_typedefs.h pcb_bool.h hid.h error.h \ - attrib.h box.h math_helper.h misc_util.h unit.h hid_dad.h compat_misc.h \ - hid_attrib.h ../src_3rd/genlist/gendlist.h color.h \ + ../src/librnd/core/attrib.h ../src/librnd/core/box.h math_helper.h misc_util.h unit.h hid_dad.h compat_misc.h \ + hid_attrib.h ../src_3rd/genlist/gendlist.h ../src/librnd/core/color.h \ ../src_3rd/genvector/genvector_impl.h \ ../src_3rd/genvector/genvector_undef.h pcb-printf.h \ ../src_3rd/genvector/gds_char.h hid_dad_spin.h \ @@ -3967,7 +3967,7 @@ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.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 layer_grp.h rats_patch.h board.h \ - crosshair.h vtonpoint.h route.h pcb-printf.h actions.h \ + crosshair.h vtonpoint.h route.h pcb-printf.h ../src/librnd/core/actions.h \ ../src_3rd/libfungw/fungw.h compat_misc.h \ ../src_plugins/lib_gtk_common/dlg_attribute.h \ ../src_plugins/lib_gtk_common/util_listener.h \ @@ -3982,7 +3982,7 @@ global_typedefs.h pcb_bool.h ../src_plugins/lib_gtk_common/glue_common.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 attrib.h box.h math_helper.h misc_util.h \ + ../src_3rd/genht/ht.h error.h ../src/librnd/core/attrib.h ../src/librnd/core/box.h math_helper.h misc_util.h \ unit.h ../src_plugins/lib_gtk_common/pcb_gtk.h conf.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 \ @@ -3996,7 +3996,7 @@ ../src_plugins/lib_gtk_common/bu_menu.h hid_cfg.h conf_hid.h \ ../src_plugins/lib_gtk_common/bu_command.h global_typedefs.h \ ../src_plugins/lib_gtk_common/dlg_topwin.h hid_dad.h compat_misc.h \ - hid_attrib.h ../src_3rd/genlist/gendlist.h color.h hid_dad_spin.h \ + hid_attrib.h ../src_3rd/genlist/gendlist.h ../src/librnd/core/color.h hid_dad_spin.h \ ../src_plugins/lib_gtk_common/bu_menu.h \ ../src_plugins/lib_gtk_common/bu_command.h event.h hidlib.h hidlib.h \ ../src_plugins/lib_gtk_common/dlg_topwin.h \ @@ -4009,8 +4009,8 @@ ../src_plugins/lib_gtk_common/glue_hid.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 global_typedefs.h pcb_bool.h attrib.h \ - box.h math_helper.h misc_util.h unit.h \ + ../src_3rd/genht/ht.h error.h global_typedefs.h pcb_bool.h ../src/librnd/core/attrib.h \ + ../src/librnd/core/box.h math_helper.h misc_util.h unit.h \ ../src_plugins/lib_gtk_common/pcb_gtk.h conf.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 \ @@ -4024,9 +4024,9 @@ ../src_plugins/lib_gtk_common/bu_menu.h hid_cfg.h conf_hid.h \ ../src_plugins/lib_gtk_common/bu_command.h global_typedefs.h \ ../src_plugins/lib_gtk_common/dlg_topwin.h hid_dad.h compat_misc.h \ - hid_attrib.h ../src_3rd/genlist/gendlist.h color.h hid_dad_spin.h \ + hid_attrib.h ../src_3rd/genlist/gendlist.h ../src/librnd/core/color.h hid_dad_spin.h \ ../src_plugins/lib_gtk_common/bu_menu.h \ - ../src_plugins/lib_gtk_common/bu_command.h event.h hidlib.h actions.h \ + ../src_plugins/lib_gtk_common/bu_command.h event.h hidlib.h ../src/librnd/core/actions.h \ ../src_3rd/libfungw/fungw.h hid_nogui.h hid_attrib.h \ ../src_plugins/lib_gtk_common/coord_conv.h compat_misc.h hidlib_conf.h \ ../src_plugins/lib_gtk_common/in_keyboard.h \ @@ -4049,7 +4049,7 @@ ../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/genht/htip.h ../src_3rd/genht/htpp.h \ - hid_cfg.h global_typedefs.h pcb_bool.h hid.h error.h attrib.h box.h \ + hid_cfg.h global_typedefs.h pcb_bool.h hid.h error.h ../src/librnd/core/attrib.h ../src/librnd/core/box.h \ math_helper.h misc_util.h unit.h \ ../src_plugins/lib_gtk_common/ui_zoompan.h pcb_bool.h \ ../src_plugins/lib_gtk_common/in_mouse.h \ @@ -4063,20 +4063,20 @@ ../src_plugins/lib_gtk_common/bu_menu.h hid_cfg.h conf_hid.h \ ../src_plugins/lib_gtk_common/bu_command.h global_typedefs.h \ ../src_plugins/lib_gtk_common/dlg_topwin.h hid_dad.h compat_misc.h \ - hid_attrib.h ../src_3rd/genlist/gendlist.h color.h hid_dad_spin.h \ + hid_attrib.h ../src_3rd/genlist/gendlist.h ../src/librnd/core/color.h hid_dad_spin.h \ ../src_plugins/lib_gtk_common/pcb_gtk.h \ ../src_plugins/lib_gtk_common/bu_menu.h \ ../src_plugins/lib_gtk_common/bu_command.h event.h hidlib.h \ compat_misc.h ../src_plugins/lib_gtk_common/glue_common.h ../src_plugins/lib_gtk_common/in_mouse.o: \ - ../src_plugins/lib_gtk_common/in_mouse.c ../config.h actions.h hid.h \ + ../src_plugins/lib_gtk_common/in_mouse.c ../config.h ../src/librnd/core/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 global_typedefs.h pcb_bool.h attrib.h \ - box.h math_helper.h misc_util.h unit.h ../src_3rd/libfungw/fungw.h \ + ../src_3rd/genht/ht.h error.h global_typedefs.h pcb_bool.h ../src/librnd/core/attrib.h \ + ../src/librnd/core/box.h math_helper.h misc_util.h unit.h ../src_3rd/libfungw/fungw.h \ ../src_3rd/genht/htpp.h board.h vtroutestyle.h \ ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h color.h \ + ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.h \ @@ -4108,8 +4108,8 @@ ../src_plugins/lib_gtk_common/lib_gtk_config.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 global_typedefs.h pcb_bool.h attrib.h \ - box.h math_helper.h misc_util.h unit.h event.h hidlib.h conf_hid.h \ + ../src_3rd/genht/ht.h error.h global_typedefs.h pcb_bool.h ../src/librnd/core/attrib.h \ + ../src/librnd/core/box.h math_helper.h misc_util.h unit.h event.h hidlib.h conf_hid.h \ conf.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 \ @@ -4121,8 +4121,8 @@ ../src_plugins/lib_gtk_common/lib_gtk_config.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 global_typedefs.h pcb_bool.h attrib.h \ - box.h math_helper.h misc_util.h unit.h event.h hidlib.h conf_hid.h \ + ../src_3rd/genht/ht.h error.h global_typedefs.h pcb_bool.h ../src/librnd/core/attrib.h \ + ../src/librnd/core/box.h math_helper.h misc_util.h unit.h event.h hidlib.h conf_hid.h \ conf.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 \ @@ -4143,7 +4143,7 @@ ../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/genht/htip.h ../src_3rd/genht/htpp.h \ - hid_cfg.h global_typedefs.h pcb_bool.h hid.h error.h attrib.h box.h \ + hid_cfg.h global_typedefs.h pcb_bool.h hid.h error.h ../src/librnd/core/attrib.h ../src/librnd/core/box.h \ math_helper.h misc_util.h unit.h ../src_plugins/lib_gtk_common/pcb_gtk.h \ hid.h conf.h pcb-printf.h ../src_3rd/genvector/gds_char.h \ ../src_3rd/genvector/genvector_impl.h \ @@ -4155,7 +4155,7 @@ ../src_plugins/lib_gtk_common/bu_menu.h hid_cfg.h conf_hid.h \ ../src_plugins/lib_gtk_common/bu_command.h global_typedefs.h \ ../src_plugins/lib_gtk_common/dlg_topwin.h hid_dad.h compat_misc.h \ - hid_attrib.h ../src_3rd/genlist/gendlist.h color.h hid_dad_spin.h \ + hid_attrib.h ../src_3rd/genlist/gendlist.h ../src/librnd/core/color.h hid_dad_spin.h \ ../src_plugins/lib_gtk_common/pcb_gtk.h \ ../src_plugins/lib_gtk_common/bu_menu.h \ ../src_plugins/lib_gtk_common/bu_command.h event.h hidlib.h \ @@ -4167,7 +4167,7 @@ ../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/genht/htip.h ../src_3rd/genht/htpp.h \ - hid_cfg.h global_typedefs.h pcb_bool.h hid.h error.h attrib.h box.h \ + hid_cfg.h global_typedefs.h pcb_bool.h hid.h error.h ../src/librnd/core/attrib.h ../src/librnd/core/box.h \ math_helper.h misc_util.h unit.h ../src_plugins/lib_gtk_common/pcb_gtk.h \ hid.h conf.h pcb-printf.h ../src_3rd/genvector/gds_char.h \ ../src_3rd/genvector/genvector_impl.h \ @@ -4179,7 +4179,7 @@ ../src_plugins/lib_gtk_common/bu_menu.h hid_cfg.h conf_hid.h \ ../src_plugins/lib_gtk_common/bu_command.h global_typedefs.h \ ../src_plugins/lib_gtk_common/dlg_topwin.h hid_dad.h compat_misc.h \ - hid_attrib.h ../src_3rd/genlist/gendlist.h color.h hid_dad_spin.h \ + hid_attrib.h ../src_3rd/genlist/gendlist.h ../src/librnd/core/color.h hid_dad_spin.h \ ../src_plugins/lib_gtk_common/pcb_gtk.h \ ../src_plugins/lib_gtk_common/bu_menu.h \ ../src_plugins/lib_gtk_common/bu_command.h event.h hidlib.h \ @@ -4199,8 +4199,8 @@ ../src_plugins/lib_gtk_common/util_listener.c ../config.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 global_typedefs.h pcb_bool.h attrib.h \ - box.h math_helper.h misc_util.h unit.h actions.h hid.h \ + ../src_3rd/genht/ht.h error.h global_typedefs.h pcb_bool.h ../src/librnd/core/attrib.h \ + ../src/librnd/core/box.h math_helper.h misc_util.h unit.h ../src/librnd/core/actions.h hid.h \ ../src_3rd/libfungw/fungw.h ../src_3rd/genht/htpp.h compat_misc.h \ ../src_plugins/lib_gtk_common/util_listener.h \ ../src_plugins/lib_gtk_common/pcb_gtk.h conf.h pcb-printf.h \ @@ -4216,7 +4216,7 @@ ../src_plugins/lib_gtk_common/bu_menu.h hid_cfg.h conf_hid.h \ ../src_plugins/lib_gtk_common/bu_command.h global_typedefs.h \ ../src_plugins/lib_gtk_common/dlg_topwin.h hid_dad.h compat_misc.h \ - hid_attrib.h ../src_3rd/genlist/gendlist.h color.h hid_dad_spin.h \ + hid_attrib.h ../src_3rd/genlist/gendlist.h ../src/librnd/core/color.h hid_dad_spin.h \ ../src_plugins/lib_gtk_common/bu_menu.h \ ../src_plugins/lib_gtk_common/bu_command.h event.h hidlib.h ../src_plugins/lib_gtk_common/util_timer.o: \ @@ -4224,8 +4224,8 @@ ../src_plugins/lib_gtk_common/util_timer.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 global_typedefs.h pcb_bool.h attrib.h \ - box.h math_helper.h misc_util.h unit.h \ + ../src_3rd/genht/ht.h error.h global_typedefs.h pcb_bool.h ../src/librnd/core/attrib.h \ + ../src/librnd/core/box.h math_helper.h misc_util.h unit.h \ ../src_plugins/lib_gtk_common/pcb_gtk.h conf.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 \ @@ -4239,7 +4239,7 @@ ../src_plugins/lib_gtk_common/bu_menu.h hid_cfg.h conf_hid.h \ ../src_plugins/lib_gtk_common/bu_command.h global_typedefs.h \ ../src_plugins/lib_gtk_common/dlg_topwin.h hid_dad.h compat_misc.h \ - hid_attrib.h ../src_3rd/genlist/gendlist.h color.h hid_dad_spin.h \ + hid_attrib.h ../src_3rd/genlist/gendlist.h ../src/librnd/core/color.h hid_dad_spin.h \ ../src_plugins/lib_gtk_common/bu_menu.h \ ../src_plugins/lib_gtk_common/bu_command.h event.h hidlib.h \ ../src_plugins/lib_gtk_common/glue_common.h @@ -4248,8 +4248,8 @@ ../src_plugins/lib_gtk_common/util_watch.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 global_typedefs.h pcb_bool.h attrib.h \ - box.h math_helper.h misc_util.h unit.h \ + ../src_3rd/genht/ht.h error.h global_typedefs.h pcb_bool.h ../src/librnd/core/attrib.h \ + ../src/librnd/core/box.h math_helper.h misc_util.h unit.h \ ../src_plugins/lib_gtk_common/pcb_gtk.h conf.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 \ @@ -4263,7 +4263,7 @@ ../src_plugins/lib_gtk_common/bu_menu.h hid_cfg.h conf_hid.h \ ../src_plugins/lib_gtk_common/bu_command.h global_typedefs.h \ ../src_plugins/lib_gtk_common/dlg_topwin.h hid_dad.h compat_misc.h \ - hid_attrib.h ../src_3rd/genlist/gendlist.h color.h hid_dad_spin.h \ + hid_attrib.h ../src_3rd/genlist/gendlist.h ../src/librnd/core/color.h hid_dad_spin.h \ ../src_plugins/lib_gtk_common/bu_menu.h \ ../src_plugins/lib_gtk_common/bu_command.h event.h hidlib.h \ ../src_plugins/lib_gtk_common/in_mouse.h \ @@ -4278,10 +4278,10 @@ ../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 color.h \ + ../src_3rd/genlist/gendlist.h ../src/librnd/core/color.h \ ../src_plugins/lib_gtk_common/in_mouse.h hid_cfg_input.h \ ../src_3rd/genht/htip.h ../src_3rd/genht/htpp.h hid_cfg.h hid.h error.h \ - attrib.h box.h math_helper.h misc_util.h \ + ../src/librnd/core/attrib.h ../src/librnd/core/box.h math_helper.h misc_util.h \ ../src_plugins/lib_gtk_common/pcb_gtk.h hid.h conf.h \ ../src_plugins/lib_gtk_common/compat.h \ ../src_plugins/lib_gtk_common/ui_zoompan.h pcb_bool.h \ @@ -4309,13 +4309,13 @@ ../src_plugins/lib_hid_common/act_dad.c ../config.h \ ../src_3rd/genht/htsp.h ../src_3rd/genht/ht.h ../src_3rd/genht/hash.h \ ../src_3rd/genvector/vts0.h ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h actions.h hid.h \ + ../src_3rd/genvector/genvector_undef.h ../src/librnd/core/actions.h hid.h \ ../src_3rd/liblihata/dom.h ../src_3rd/liblihata/lihata.h \ ../src_3rd/liblihata/parser.h error.h global_typedefs.h pcb_bool.h \ - attrib.h box.h math_helper.h misc_util.h unit.h \ + ../src/librnd/core/attrib.h ../src/librnd/core/box.h math_helper.h misc_util.h unit.h \ ../src_3rd/libfungw/fungw.h ../src_3rd/genht/htpp.h compat_misc.h \ hid_dad.h compat_misc.h hid_attrib.h ../src_3rd/genlist/gendlist.h \ - color.h pcb-printf.h ../src_3rd/genvector/gds_char.h hid_dad_spin.h \ + ../src/librnd/core/color.h pcb-printf.h ../src_3rd/genvector/gds_char.h hid_dad_spin.h \ hid_dad_tree.h hid_dad.h error.h ../src_plugins/lib_hid_common/act_dad.h ../src_plugins/lib_hid_common/cli_history.o: \ ../src_plugins/lib_hid_common/cli_history.c ../config.h \ @@ -4333,14 +4333,14 @@ ../src_3rd/genlist/gentdlist_undef.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h safe_fs.h paths.h ../src_plugins/lib_hid_common/dlg_comm_m.o: \ - ../src_plugins/lib_hid_common/dlg_comm_m.c ../config.h actions.h hid.h \ + ../src_plugins/lib_hid_common/dlg_comm_m.c ../config.h ../src/librnd/core/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 global_typedefs.h pcb_bool.h attrib.h \ - box.h math_helper.h misc_util.h unit.h ../src_3rd/libfungw/fungw.h \ + ../src_3rd/genht/ht.h error.h global_typedefs.h pcb_bool.h ../src/librnd/core/attrib.h \ + ../src/librnd/core/box.h math_helper.h misc_util.h unit.h ../src_3rd/libfungw/fungw.h \ ../src_3rd/genht/htpp.h board.h vtroutestyle.h \ ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h color.h \ + ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.h \ @@ -4354,11 +4354,11 @@ ../src_plugins/lib_hid_common/lib_hid_common.h \ ../src_plugins/lib_hid_common/dialogs_conf.h conf.h ../src_plugins/lib_hid_common/dlg_log.o: \ - ../src_plugins/lib_hid_common/dlg_log.c ../config.h actions.h hid.h \ + ../src_plugins/lib_hid_common/dlg_log.c ../config.h ../src/librnd/core/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 global_typedefs.h pcb_bool.h attrib.h \ - box.h math_helper.h misc_util.h unit.h ../src_3rd/libfungw/fungw.h \ + ../src_3rd/genht/ht.h error.h global_typedefs.h pcb_bool.h ../src/librnd/core/attrib.h \ + ../src/librnd/core/box.h math_helper.h misc_util.h unit.h ../src_3rd/libfungw/fungw.h \ ../src_3rd/genht/htpp.h conf_hid.h conf.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 \ @@ -4365,7 +4365,7 @@ ../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 hid_dad.h compat_misc.h hid_attrib.h \ - ../src_3rd/genlist/gendlist.h color.h hid_dad_spin.h event.h hidlib.h \ + ../src_3rd/genlist/gendlist.h ../src/librnd/core/color.h hid_dad_spin.h event.h hidlib.h \ error.h ../src_plugins/lib_hid_common/dlg_log.h ../src_plugins/lib_hid_common/grid_menu.o: \ ../src_plugins/lib_hid_common/grid_menu.c ../config.h conf.h \ @@ -4377,8 +4377,8 @@ ../src_3rd/genht/htsp.h ../src_3rd/genht/ht.h \ ../src_3rd/genvector/vtp0.h list_conf.h conf.h \ ../src_3rd/genlist/gentdlist_undef.h ../src_3rd/genlist/gentdlist_impl.h \ - ../src_3rd/genlist/gendlist.h hidlib_conf.h color.h grid.h event.h \ - hidlib.h hid_cfg.h hid.h error.h attrib.h box.h math_helper.h \ + ../src_3rd/genlist/gendlist.h hidlib_conf.h ../src/librnd/core/color.h grid.h event.h \ + hidlib.h hid_cfg.h hid.h error.h ../src/librnd/core/attrib.h ../src/librnd/core/box.h math_helper.h \ misc_util.h hid.h ../src_plugins/lib_hid_common/grid_menu.h ../src_plugins/lib_hid_common/lead_user.o: \ ../src_plugins/lib_hid_common/lead_user.c ../config.h unit.h \ @@ -4385,7 +4385,7 @@ global_typedefs.h pcb_bool.h event.h unit.h hidlib.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 attrib.h box.h math_helper.h misc_util.h + ../src_3rd/genht/ht.h error.h ../src/librnd/core/attrib.h ../src/librnd/core/box.h math_helper.h misc_util.h ../src_plugins/lib_hid_common/lib_hid_common.o: \ ../src_plugins/lib_hid_common/lib_hid_common.c ../config.h plugins.h \ ../src_3rd/puplug/puplug.h ../src_3rd/puplug/libs.h \ @@ -4399,8 +4399,8 @@ ../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 error.h event.h hidlib.h actions.h hid.h \ - attrib.h box.h math_helper.h misc_util.h ../src_3rd/libfungw/fungw.h \ + ../src_3rd/genlist/gendlist.h error.h event.h hidlib.h ../src/librnd/core/actions.h hid.h \ + ../src/librnd/core/attrib.h ../src/librnd/core/box.h math_helper.h misc_util.h ../src_3rd/libfungw/fungw.h \ ../src_3rd/genht/htpp.h ../src_plugins/lib_hid_common/grid_menu.h conf.h \ ../src_plugins/lib_hid_common/cli_history.h \ ../src_plugins/lib_hid_common/lead_user.h \ @@ -4418,7 +4418,7 @@ ../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/genht/hash.h data.h globalconst.h \ - global_typedefs.h pcb_bool.h layer.h attrib.h color.h \ + global_typedefs.h pcb_bool.h layer.h ../src/librnd/core/attrib.h ../src/librnd/core/color.h \ ../src_3rd/genvector/genvector_impl.h \ ../src_3rd/genvector/genvector_undef.h obj_common.h flag.h data_parent.h \ obj_arc_list.h obj_arc.h ../src_3rd/genlist/gendlist.h \ @@ -4425,7 +4425,7 @@ ../src_3rd/genlist/gentdlist_impl.h ../src_3rd/genlist/gendlist.h \ ../src_3rd/genlist/gentdlist_undef.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 misc_util.h unit.h \ + ../src_3rd/genht/htip.h ../src/librnd/core/box.h math_helper.h misc_util.h unit.h \ ../src_3rd/genvector/gds_char.h crosshair.h vtonpoint.h hid.h error.h \ route.h buffer.h ../src_3rd/libfungw/fungw.h ../src_3rd/genht/htpp.h \ obj_rat_list.h obj_rat.h layer_grp.h idpath.h obj_subc_list.h obj_subc.h \ @@ -4434,7 +4434,7 @@ 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 \ rats_patch.h board.h hidlib.h conf.h pcb-printf.h list_conf.h conf.h \ - error.h actions.h hid_cfg.h compat_misc.h \ + error.h ../src/librnd/core/actions.h hid_cfg.h compat_misc.h \ ../src_plugins/lib_hid_common/menu_helper.h ../src_plugins/lib_hid_common/place.o: \ ../src_plugins/lib_hid_common/place.c ../config.h event.h unit.h \ @@ -4446,11 +4446,11 @@ ../src_3rd/liblihata/parser.h ../src_3rd/genht/htsp.h \ ../src_3rd/genht/ht.h ../src_3rd/genvector/vtp0.h list_conf.h conf.h \ ../src_3rd/genlist/gentdlist_undef.h ../src_3rd/genlist/gentdlist_impl.h \ - ../src_3rd/genlist/gendlist.h board.h vtroutestyle.h attrib.h layer.h \ - globalconst.h color.h obj_common.h flag.h data_parent.h obj_arc_list.h \ + ../src_3rd/genlist/gendlist.h board.h vtroutestyle.h ../src/librnd/core/attrib.h layer.h \ + globalconst.h ../src/librnd/core/color.h obj_common.h flag.h data_parent.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 misc_util.h layer_grp.h \ + ../src_3rd/genht/htip.h ../src/librnd/core/box.h math_helper.h misc_util.h layer_grp.h \ rats_patch.h board.h safe_fs.h \ ../src_plugins/lib_hid_common/dialogs_conf.h ../src_3rd/genht/ht.h \ ../src_3rd/genht/ht.c ../src_3rd/genht/ht_inlines.h \ @@ -4468,8 +4468,8 @@ ../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 color.h grid.h hid.h error.h attrib.h \ - box.h math_helper.h misc_util.h ../src_plugins/lib_hid_gl/hidgl.h \ + ../src_3rd/genlist/gendlist.h ../src/librnd/core/color.h grid.h hid.h error.h ../src/librnd/core/attrib.h \ + ../src/librnd/core/box.h math_helper.h misc_util.h ../src_plugins/lib_hid_gl/hidgl.h \ rtree.h ../src_3rd/genrtree/genrtree_api.h hidlib.h \ ../src_plugins/lib_hid_gl/draw_gl.c \ ../src_plugins/lib_hid_gl/stencil_gl.h \ @@ -4484,13 +4484,13 @@ ../src_plugins/lib_hid_gl/stencil_gl.h \ ../src_plugins/lib_hid_gl/opengl.h ../src_plugins/lib_hid_pcbui/act.o: ../src_plugins/lib_hid_pcbui/act.c \ - ../config.h actions.h hid.h ../src_3rd/liblihata/dom.h \ + ../config.h ../src/librnd/core/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 global_typedefs.h \ - pcb_bool.h attrib.h box.h math_helper.h misc_util.h unit.h \ + pcb_bool.h ../src/librnd/core/attrib.h ../src/librnd/core/box.h math_helper.h misc_util.h unit.h \ ../src_3rd/libfungw/fungw.h ../src_3rd/genht/htpp.h board.h \ vtroutestyle.h ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h color.h \ + ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.h \ @@ -4510,14 +4510,14 @@ ../src_plugins/lib_hid_pcbui/layer_menu.o: \ ../src_plugins/lib_hid_pcbui/layer_menu.c ../config.h board.h \ ../src_3rd/genht/htsp.h ../src_3rd/genht/ht.h global_typedefs.h \ - pcb_bool.h vtroutestyle.h unit.h attrib.h \ + pcb_bool.h vtroutestyle.h unit.h ../src/librnd/core/attrib.h \ ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h color.h \ + ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h ../src_3rd/genvector/gds_char.h layer_grp.h \ rats_patch.h board.h hidlib.h data.h crosshair.h vtonpoint.h hid.h \ ../src_3rd/liblihata/dom.h ../src_3rd/liblihata/lihata.h \ @@ -4538,10 +4538,10 @@ ../src_3rd/genvector/genvector_undef.h ../src_3rd/genvector/vtp0.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 global_typedefs.h pcb_bool.h attrib.h \ - box.h math_helper.h misc_util.h unit.h hid_cfg.h hid.h hid_dad.h \ - compat_misc.h hid_attrib.h ../src_3rd/genlist/gendlist.h color.h \ - pcb-printf.h ../src_3rd/genvector/gds_char.h hid_dad_spin.h actions.h \ + ../src_3rd/genht/ht.h error.h global_typedefs.h pcb_bool.h ../src/librnd/core/attrib.h \ + ../src/librnd/core/box.h math_helper.h misc_util.h unit.h hid_cfg.h hid.h hid_dad.h \ + compat_misc.h hid_attrib.h ../src_3rd/genlist/gendlist.h ../src/librnd/core/color.h \ + pcb-printf.h ../src_3rd/genvector/gds_char.h hid_dad_spin.h ../src/librnd/core/actions.h \ ../src_3rd/libfungw/fungw.h ../src_3rd/genht/htpp.h board.h \ vtroutestyle.h layer.h globalconst.h obj_common.h flag.h data_parent.h \ obj_arc_list.h obj_arc.h ../src_3rd/genlist/gentdlist_impl.h \ @@ -4573,12 +4573,12 @@ ../src_3rd/genlist/gendlist.h error.h event.h hidlib.h \ ../src_plugins/lib_hid_pcbui/layer_menu.h \ ../src_plugins/lib_hid_pcbui/layersel.h \ - ../src_plugins/lib_hid_pcbui/routest.h conf.h actions.h hid.h attrib.h \ - box.h math_helper.h misc_util.h ../src_3rd/libfungw/fungw.h \ + ../src_plugins/lib_hid_pcbui/routest.h conf.h ../src/librnd/core/actions.h hid.h ../src/librnd/core/attrib.h \ + ../src/librnd/core/box.h math_helper.h misc_util.h ../src_3rd/libfungw/fungw.h \ ../src_3rd/genht/htpp.h ../src_plugins/lib_hid_pcbui/toolbar.h \ ../src_plugins/lib_hid_pcbui/status.h ../src_plugins/lib_hid_pcbui/act.h \ ../src_plugins/lib_hid_pcbui/util.c ../src_plugins/lib_hid_pcbui/util.h \ - data.h globalconst.h layer.h color.h obj_common.h flag.h data_parent.h \ + data.h globalconst.h layer.h ../src/librnd/core/color.h obj_common.h flag.h data_parent.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 crosshair.h vtonpoint.h \ @@ -4594,14 +4594,14 @@ ../src_plugins/lib_hid_pcbui/routest.o: \ ../src_plugins/lib_hid_pcbui/routest.c ../config.h board.h \ ../src_3rd/genht/htsp.h ../src_3rd/genht/ht.h global_typedefs.h \ - pcb_bool.h vtroutestyle.h unit.h attrib.h \ + pcb_bool.h vtroutestyle.h unit.h ../src/librnd/core/attrib.h \ ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h color.h \ + ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h ../src_3rd/genvector/gds_char.h layer_grp.h \ rats_patch.h board.h hidlib.h conf.h pcb-printf.h \ ../src_3rd/liblihata/lihata.h ../src_3rd/liblihata/dom.h \ @@ -4609,7 +4609,7 @@ ../src_3rd/genvector/vtp0.h list_conf.h conf.h conf_core.h route_style.h \ event.h hid.h error.h hid_cfg.h hid.h hid_dad.h compat_misc.h \ hid_attrib.h hid_dad_spin.h ../src_plugins/lib_hid_pcbui/routest.h \ - actions.h ../src_3rd/libfungw/fungw.h ../src_3rd/genht/htpp.h \ + ../src/librnd/core/actions.h ../src_3rd/libfungw/fungw.h ../src_3rd/genht/htpp.h \ ../src_plugins/lib_hid_pcbui/routest_dlg.c hid_dad_tree.h hid_dad.h \ ../src_3rd/genht/hash.h ../src_plugins/lib_hid_pcbui/status.o: \ @@ -4617,12 +4617,12 @@ ../src_3rd/genvector/gds_char.h ../src_3rd/genvector/genvector_impl.h \ ../src_3rd/genvector/genvector_undef.h board.h ../src_3rd/genht/htsp.h \ ../src_3rd/genht/ht.h global_typedefs.h pcb_bool.h vtroutestyle.h unit.h \ - attrib.h layer.h globalconst.h color.h obj_common.h flag.h data_parent.h \ + ../src/librnd/core/attrib.h layer.h globalconst.h ../src/librnd/core/color.h obj_common.h flag.h data_parent.h \ obj_arc_list.h obj_arc.h ../src_3rd/genlist/gendlist.h \ ../src_3rd/genlist/gentdlist_impl.h ../src_3rd/genlist/gendlist.h \ ../src_3rd/genlist/gentdlist_undef.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 misc_util.h layer_grp.h \ + ../src_3rd/genht/htip.h ../src/librnd/core/box.h math_helper.h misc_util.h layer_grp.h \ rats_patch.h board.h hidlib.h hid.h ../src_3rd/liblihata/dom.h \ ../src_3rd/liblihata/lihata.h ../src_3rd/liblihata/parser.h error.h \ hid_cfg_input.h ../src_3rd/genht/htpp.h hid_cfg.h hid.h hid_dad.h \ @@ -4636,7 +4636,7 @@ obj_subc_list.h obj_subc.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 netlist.h \ - ../src_plugins/lib_hid_pcbui/status.h event.h conf.h actions.h + ../src_plugins/lib_hid_pcbui/status.h event.h conf.h ../src/librnd/core/actions.h ../src_plugins/lib_hid_pcbui/toolbar.o: \ ../src_plugins/lib_hid_pcbui/toolbar.c ../config.h \ ../src_3rd/genvector/vti0.h ../src_3rd/genvector/genvector_impl.h \ @@ -4644,9 +4644,9 @@ ../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 hid.h error.h global_typedefs.h pcb_bool.h \ - attrib.h box.h math_helper.h misc_util.h unit.h hid_cfg.h hid.h \ + ../src/librnd/core/attrib.h ../src/librnd/core/box.h math_helper.h misc_util.h unit.h hid_cfg.h hid.h \ hid_dad.h compat_misc.h hid_attrib.h ../src_3rd/genlist/gendlist.h \ - color.h pcb-printf.h ../src_3rd/genvector/gds_char.h hid_dad_spin.h \ + ../src/librnd/core/color.h pcb-printf.h ../src_3rd/genvector/gds_char.h hid_dad_spin.h \ tool.h ../src_3rd/genvector/vtp0.h board.h vtroutestyle.h layer.h \ globalconst.h obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gentdlist_impl.h ../src_3rd/genlist/gendlist.h \ @@ -4658,14 +4658,14 @@ ../src_plugins/lib_netmap/netmap.o: ../src_plugins/lib_netmap/netmap.c \ ../config.h ../src_3rd/genht/htpp.h ../src_3rd/genht/ht.h \ ../src_plugins/lib_netmap/netmap.h board.h ../src_3rd/genht/htsp.h \ - global_typedefs.h pcb_bool.h vtroutestyle.h unit.h attrib.h \ + global_typedefs.h pcb_bool.h vtroutestyle.h unit.h ../src/librnd/core/attrib.h \ ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h color.h \ + ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h ../src_3rd/genvector/gds_char.h layer_grp.h \ rats_patch.h board.h hidlib.h netlist.h ../src_3rd/genvector/vtp0.h \ data.h crosshair.h vtonpoint.h hid.h ../src_3rd/liblihata/dom.h \ @@ -4683,13 +4683,13 @@ ../src_plugins/lib_netmap/placement.c ../config.h \ ../src_plugins/lib_netmap/placement.h board.h ../src_3rd/genht/htsp.h \ ../src_3rd/genht/ht.h global_typedefs.h pcb_bool.h vtroutestyle.h unit.h \ - attrib.h ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h color.h \ + ../src/librnd/core/attrib.h ../src_3rd/genvector/genvector_impl.h \ + ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h ../src_3rd/genvector/gds_char.h layer_grp.h \ rats_patch.h board.h hidlib.h data.h crosshair.h vtonpoint.h hid.h \ ../src_3rd/liblihata/dom.h ../src_3rd/liblihata/lihata.h \ @@ -4704,7 +4704,7 @@ ../src_plugins/lib_polyhelp/polyhelp.o: \ ../src_plugins/lib_polyhelp/polyhelp.c ../config.h \ ../src_plugins/lib_polyhelp/polyhelp.h obj_poly.h \ - ../src_3rd/genlist/gendlist.h obj_common.h flag.h globalconst.h attrib.h \ + ../src_3rd/genlist/gendlist.h obj_common.h flag.h globalconst.h ../src/librnd/core/attrib.h \ global_typedefs.h pcb_bool.h data_parent.h polyarea.h polygon.h rtree.h \ ../src_3rd/genrtree/genrtree_api.h math_helper.h rtree2_compat.h \ plugins.h ../src_3rd/puplug/puplug.h ../src_3rd/puplug/libs.h \ @@ -4711,11 +4711,11 @@ ../src_3rd/puplug/os_dep.h ../src_3rd/puplug/config.h \ ../src_3rd/puplug/libs.h ../src_3rd/puplug/error.h pcb-printf.h \ ../src_3rd/genvector/gds_char.h ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h unit.h obj_line.h box.h \ + ../src_3rd/genvector/genvector_undef.h unit.h obj_line.h ../src/librnd/core/box.h \ misc_util.h polygon_offs.h ../src_3rd/genvector/vtp0.h hid_dad.h \ compat_misc.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 ../src_3rd/genht/ht.h error.h box.h color.h \ + ../src_3rd/genht/htsp.h ../src_3rd/genht/ht.h error.h ../src/librnd/core/box.h ../src/librnd/core/color.h \ pcb-printf.h hid_dad_spin.h ../src_plugins/lib_polyhelp/topoly.h board.h \ vtroutestyle.h layer.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gentdlist_impl.h ../src_3rd/genlist/gendlist.h \ @@ -4728,7 +4728,7 @@ 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 \ conf_core.h conf.h ../src_3rd/liblihata/lihata.h list_conf.h \ - compat_misc.h hid_attrib.h actions.h + compat_misc.h hid_attrib.h ../src/librnd/core/actions.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 \ @@ -4735,12 +4735,12 @@ ../src_3rd/genvector/genvector_undef.h ../src_3rd/genvector/vti0.h \ ../src_plugins/lib_polyhelp/topoly.h board.h ../src_3rd/genht/htsp.h \ ../src_3rd/genht/ht.h global_typedefs.h pcb_bool.h vtroutestyle.h unit.h \ - attrib.h layer.h globalconst.h color.h obj_common.h flag.h data_parent.h \ + ../src/librnd/core/attrib.h layer.h globalconst.h ../src/librnd/core/color.h obj_common.h flag.h data_parent.h \ obj_arc_list.h obj_arc.h ../src_3rd/genlist/gendlist.h \ ../src_3rd/genlist/gentdlist_impl.h ../src_3rd/genlist/gendlist.h \ ../src_3rd/genlist/gentdlist_undef.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 misc_util.h \ + ../src_3rd/genht/htip.h ../src/librnd/core/box.h math_helper.h misc_util.h \ ../src_3rd/genvector/gds_char.h layer_grp.h rats_patch.h board.h \ hidlib.h obj_common.h ../src_3rd/libfungw/fungw.h \ ../src_3rd/genht/htpp.h error.h rtree.h \ @@ -4752,7 +4752,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 obj_arc.h \ obj_line.h obj_poly.h obj_poly_draw.h draw.h polygon.h search.h hid.h \ - actions.h funchash_core.h funchash.h funchash_core_list.h + ../src/librnd/core/actions.h funchash_core.h funchash.h funchash_core_list.h ../src_plugins/lib_polyhelp/triangulate.o: \ ../src_plugins/lib_polyhelp/triangulate.c ../config.h \ ../src_plugins/lib_polyhelp/triangulate.h \ @@ -4759,14 +4759,14 @@ ../src_3rd/fast89-poly2tri/fast89_poly2tri.h ../src_plugins/lib_vfs/lib_vfs.o: ../src_plugins/lib_vfs/lib_vfs.c \ ../config.h board.h ../src_3rd/genht/htsp.h ../src_3rd/genht/ht.h \ - global_typedefs.h pcb_bool.h vtroutestyle.h unit.h attrib.h \ + global_typedefs.h pcb_bool.h vtroutestyle.h unit.h ../src/librnd/core/attrib.h \ ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h color.h \ + ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h ../src_3rd/genvector/gds_char.h layer_grp.h \ rats_patch.h board.h hidlib.h data.h crosshair.h vtonpoint.h hid.h \ ../src_3rd/liblihata/dom.h ../src_3rd/liblihata/lihata.h \ @@ -4783,7 +4783,7 @@ ../src_3rd/puplug/error.h pcb-printf.h compat_misc.h conf.h pcb-printf.h \ ../src_3rd/liblihata/lihata.h list_conf.h conf.h \ ../src_plugins/propedit/props.h global_typedefs.h \ - ../src_3rd/genvector/vtl0.h idpath.h color.h \ + ../src_3rd/genvector/vtl0.h idpath.h ../src/librnd/core/color.h \ ../src_plugins/propedit/propsel.h ../src_plugins/lib_vfs/lib_vfs.h ../src_plugins/lib_wget/lib_wget.o: ../src_plugins/lib_wget/lib_wget.c \ ../config.h pcb-printf.h ../src_3rd/genvector/gds_char.h \ @@ -4802,10 +4802,10 @@ ../config.h ../src_plugins/loghid/hid-logger.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 global_typedefs.h pcb_bool.h attrib.h \ - box.h math_helper.h misc_util.h unit.h pcb-printf.h \ + ../src_3rd/genht/ht.h error.h global_typedefs.h pcb_bool.h ../src/librnd/core/attrib.h \ + ../src/librnd/core/box.h math_helper.h misc_util.h unit.h pcb-printf.h \ ../src_3rd/genvector/gds_char.h ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h color.h + ../src_3rd/genvector/genvector_undef.h ../src/librnd/core/color.h ../src_plugins/loghid/loghid.o: ../src_plugins/loghid/loghid.c \ ../config.h conf.h global_typedefs.h pcb_bool.h pcb-printf.h \ ../src_3rd/genvector/gds_char.h ../src_3rd/genvector/genvector_impl.h \ @@ -4815,11 +4815,11 @@ ../src_3rd/genht/htsp.h ../src_3rd/genht/ht.h \ ../src_3rd/genvector/vtp0.h list_conf.h conf.h \ ../src_3rd/genlist/gentdlist_undef.h ../src_3rd/genlist/gentdlist_impl.h \ - ../src_3rd/genlist/gendlist.h data.h globalconst.h layer.h attrib.h \ - color.h obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ + ../src_3rd/genlist/gendlist.h data.h globalconst.h layer.h ../src/librnd/core/attrib.h \ + ../src/librnd/core/color.h obj_common.h flag.h data_parent.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 misc_util.h crosshair.h \ + ../src_3rd/genht/htip.h ../src/librnd/core/box.h math_helper.h misc_util.h crosshair.h \ vtonpoint.h hid.h error.h route.h buffer.h ../src_3rd/libfungw/fungw.h \ ../src_3rd/genht/htpp.h obj_rat_list.h obj_rat.h layer_grp.h idpath.h \ obj_subc_list.h obj_subc.h ../src_3rd/libminuid/libminuid.h \ @@ -4837,12 +4837,12 @@ ../config.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 actions.h hid.h ../src_3rd/liblihata/dom.h \ + ../src_3rd/puplug/error.h ../src/librnd/core/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 global_typedefs.h \ - pcb_bool.h attrib.h box.h math_helper.h misc_util.h unit.h \ + pcb_bool.h ../src/librnd/core/attrib.h ../src/librnd/core/box.h math_helper.h misc_util.h unit.h \ ../src_3rd/libfungw/fungw.h ../src_3rd/genht/htpp.h \ - ../src_plugins/millpath/toolpath.h layer.h globalconst.h color.h \ + ../src_plugins/millpath/toolpath.h layer.h globalconst.h ../src/librnd/core/color.h \ ../src_3rd/genvector/genvector_impl.h \ ../src_3rd/genvector/genvector_undef.h obj_common.h flag.h data_parent.h \ obj_arc_list.h obj_arc.h ../src_3rd/genlist/gendlist.h \ @@ -4861,7 +4861,7 @@ ../src_plugins/millpath/toolpath.o: ../src_plugins/millpath/toolpath.c \ ../config.h ../src_3rd/qparse/qparse.h \ ../src_plugins/millpath/toolpath.h layer.h globalconst.h \ - global_typedefs.h pcb_bool.h attrib.h color.h \ + global_typedefs.h pcb_bool.h ../src/librnd/core/attrib.h ../src/librnd/core/color.h \ ../src_3rd/genvector/genvector_impl.h \ ../src_3rd/genvector/genvector_undef.h obj_common.h flag.h data_parent.h \ obj_arc_list.h obj_arc.h ../src_3rd/genlist/gendlist.h \ @@ -4868,7 +4868,7 @@ ../src_3rd/genlist/gentdlist_impl.h ../src_3rd/genlist/gendlist.h \ ../src_3rd/genlist/gentdlist_undef.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 ../src_3rd/genht/ht.h box.h math_helper.h \ + ../src_3rd/genht/htip.h ../src_3rd/genht/ht.h ../src/librnd/core/box.h math_helper.h \ misc_util.h unit.h ../src_3rd/genvector/gds_char.h layer_grp.h layer.h \ polygon.h rtree.h ../src_3rd/genrtree/genrtree_api.h rtree2_compat.h \ board.h ../src_3rd/genht/htsp.h vtroutestyle.h layer_grp.h rats_patch.h \ @@ -4896,14 +4896,14 @@ ../config.h ../src_plugins/mincut/rats_mincut.o: ../src_plugins/mincut/rats_mincut.c \ ../config.h board.h ../src_3rd/genht/htsp.h ../src_3rd/genht/ht.h \ - global_typedefs.h pcb_bool.h vtroutestyle.h unit.h attrib.h \ + global_typedefs.h pcb_bool.h vtroutestyle.h unit.h ../src/librnd/core/attrib.h \ ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h color.h \ + ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h ../src_3rd/genvector/gds_char.h layer_grp.h \ rats_patch.h board.h hidlib.h data.h crosshair.h vtonpoint.h hid.h \ ../src_3rd/liblihata/dom.h ../src_3rd/liblihata/lihata.h \ @@ -4937,11 +4937,11 @@ ../src_3rd/genht/htsp.h ../src_3rd/genht/ht.h \ ../src_3rd/genvector/vtp0.h list_conf.h conf.h \ ../src_3rd/genlist/gentdlist_undef.h ../src_3rd/genlist/gentdlist_impl.h \ - ../src_3rd/genlist/gendlist.h data.h globalconst.h layer.h attrib.h \ - color.h obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ + ../src_3rd/genlist/gendlist.h data.h globalconst.h layer.h ../src/librnd/core/attrib.h \ + ../src/librnd/core/color.h obj_common.h flag.h data_parent.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 misc_util.h crosshair.h \ + ../src_3rd/genht/htip.h ../src/librnd/core/box.h math_helper.h misc_util.h crosshair.h \ vtonpoint.h hid.h error.h route.h buffer.h ../src_3rd/libfungw/fungw.h \ ../src_3rd/genht/htpp.h obj_rat_list.h obj_rat.h layer_grp.h idpath.h \ obj_subc_list.h obj_subc.h ../src_3rd/libminuid/libminuid.h \ @@ -4952,17 +4952,17 @@ ../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 actions.h \ + ../src_3rd/puplug/libs.h ../src_3rd/puplug/error.h ../src/librnd/core/actions.h \ plug_footprint.h vtlibrary.h data.h obj_subc.h macro.h compat_misc.h \ netlist.h ../src_plugins/order/order.o: ../src_plugins/order/order.c ../config.h \ - actions.h hid.h ../src_3rd/liblihata/dom.h ../src_3rd/liblihata/lihata.h \ + ../src/librnd/core/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 global_typedefs.h pcb_bool.h attrib.h \ - box.h math_helper.h misc_util.h unit.h ../src_3rd/libfungw/fungw.h \ + ../src_3rd/genht/ht.h error.h global_typedefs.h pcb_bool.h ../src/librnd/core/attrib.h \ + ../src/librnd/core/box.h math_helper.h misc_util.h unit.h ../src_3rd/libfungw/fungw.h \ ../src_3rd/genht/htpp.h board.h vtroutestyle.h \ ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h color.h \ + ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.h \ @@ -4990,12 +4990,12 @@ ../src_3rd/genvector/vtp0.h ../src_3rd/genvector/genvector_impl.h \ ../src_3rd/genvector/genvector_undef.h ../src_3rd/genvector/vts0.h \ board.h ../src_3rd/genht/htsp.h ../src_3rd/genht/ht.h global_typedefs.h \ - pcb_bool.h vtroutestyle.h unit.h attrib.h layer.h globalconst.h color.h \ + pcb_bool.h vtroutestyle.h unit.h ../src/librnd/core/attrib.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h ../src_3rd/genvector/gds_char.h layer_grp.h \ rats_patch.h board.h hidlib.h pcb-printf.h plugins.h \ ../src_3rd/puplug/puplug.h ../src_3rd/puplug/libs.h \ @@ -5012,14 +5012,14 @@ ../src_plugins/polycombine/polycombine.o: \ ../src_plugins/polycombine/polycombine.c ../config.h board.h \ ../src_3rd/genht/htsp.h ../src_3rd/genht/ht.h global_typedefs.h \ - pcb_bool.h vtroutestyle.h unit.h attrib.h \ + pcb_bool.h vtroutestyle.h unit.h ../src/librnd/core/attrib.h \ ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h color.h \ + ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h ../src_3rd/genvector/gds_char.h layer_grp.h \ rats_patch.h board.h hidlib.h data.h crosshair.h vtonpoint.h hid.h \ ../src_3rd/liblihata/dom.h ../src_3rd/liblihata/lihata.h \ @@ -5034,18 +5034,18 @@ 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 actions.h obj_poly.h + ../src_3rd/puplug/libs.h ../src_3rd/puplug/error.h ../src/librnd/core/actions.h obj_poly.h ../src_plugins/polystitch/polystitch.o: \ ../src_plugins/polystitch/polystitch.c ../config.h board.h \ ../src_3rd/genht/htsp.h ../src_3rd/genht/ht.h global_typedefs.h \ - pcb_bool.h vtroutestyle.h unit.h attrib.h \ + pcb_bool.h vtroutestyle.h unit.h ../src/librnd/core/attrib.h \ ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h color.h \ + ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h ../src_3rd/genvector/gds_char.h layer_grp.h \ rats_patch.h board.h hidlib.h data.h crosshair.h vtonpoint.h hid.h \ ../src_3rd/liblihata/dom.h ../src_3rd/liblihata/lihata.h \ @@ -5059,7 +5059,7 @@ 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 actions.h obj_poly.h \ + ../src_3rd/puplug/libs.h ../src_3rd/puplug/error.h ../src/librnd/core/actions.h obj_poly.h \ obj_poly_draw.h draw.h ../src_plugins/propedit/propdlg.o: ../src_plugins/propedit/propdlg.c \ ../config.h ../src_3rd/genht/hash.h ../src_3rd/genlist/gendlist.h \ @@ -5066,30 +5066,30 @@ ../src_3rd/genvector/gds_char.h ../src_3rd/genvector/genvector_impl.h \ ../src_3rd/genvector/genvector_undef.h board.h ../src_3rd/genht/htsp.h \ ../src_3rd/genht/ht.h global_typedefs.h pcb_bool.h vtroutestyle.h unit.h \ - attrib.h layer.h globalconst.h color.h obj_common.h flag.h data_parent.h \ + ../src/librnd/core/attrib.h layer.h globalconst.h ../src/librnd/core/color.h obj_common.h flag.h data_parent.h \ obj_arc_list.h obj_arc.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h layer_grp.h rats_patch.h board.h hidlib.h \ - actions.h hid.h ../src_3rd/liblihata/dom.h ../src_3rd/liblihata/lihata.h \ + ../src/librnd/core/actions.h hid.h ../src_3rd/liblihata/dom.h ../src_3rd/liblihata/lihata.h \ ../src_3rd/liblihata/parser.h error.h ../src_3rd/libfungw/fungw.h \ ../src_3rd/genht/htpp.h hid_dad.h compat_misc.h hid_attrib.h \ pcb-printf.h hid_dad_spin.h hid_dad_tree.h hid_dad.h conf_hid.h conf.h \ ../src_3rd/liblihata/lihata.h ../src_3rd/genvector/vtp0.h list_conf.h \ netlist.h ../src_plugins/propedit/props.h global_typedefs.h \ - ../src_3rd/genvector/vtl0.h idpath.h color.h ../src_3rd/genht/ht.h \ + ../src_3rd/genvector/vtl0.h idpath.h ../src/librnd/core/color.h ../src_3rd/genht/ht.h \ ../src_plugins/propedit/propsel.h ../src_plugins/propedit/propedit.o: ../src_plugins/propedit/propedit.c \ board.h ../config.h ../src_3rd/genht/htsp.h ../src_3rd/genht/ht.h \ - global_typedefs.h pcb_bool.h vtroutestyle.h unit.h attrib.h \ + global_typedefs.h pcb_bool.h vtroutestyle.h unit.h ../src/librnd/core/attrib.h \ ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h color.h \ + ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h ../src_3rd/genvector/gds_char.h layer_grp.h \ rats_patch.h board.h hidlib.h data.h crosshair.h vtonpoint.h hid.h \ ../src_3rd/liblihata/dom.h ../src_3rd/liblihata/lihata.h \ @@ -5104,9 +5104,9 @@ ../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_3rd/genvector/vtl0.h idpath.h color.h \ + global_typedefs.h ../src_3rd/genvector/vtl0.h idpath.h ../src/librnd/core/color.h \ ../src_plugins/propedit/propsel.h ../src_plugins/propedit/propdlg.h \ - actions.h pcb-printf.h error.h layer.h layer_addr.h layer_grp.h search.h \ + ../src/librnd/core/actions.h pcb-printf.h error.h layer.h layer_addr.h layer_grp.h search.h \ crosshair.h compat_misc.h ../src_plugins/propedit/props.o: ../src_plugins/propedit/props.c \ ../config.h ../src_plugins/propedit/props.h global_typedefs.h pcb_bool.h \ @@ -5115,12 +5115,12 @@ ../src_3rd/genvector/genvector_undef.h idpath.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.h \ - obj_common.h flag.h globalconst.h attrib.h global_typedefs.h \ - data_parent.h color.h ../src_3rd/genht/ht.h \ + obj_common.h flag.h globalconst.h ../src/librnd/core/attrib.h global_typedefs.h \ + data_parent.h ../src/librnd/core/color.h ../src_3rd/genht/ht.h \ ../src_plugins/propedit/propsel.h compat_misc.h board.h vtroutestyle.h \ - unit.h layer.h color.h obj_arc_list.h obj_arc.h obj_line_list.h \ + unit.h layer.h ../src/librnd/core/color.h obj_arc_list.h obj_arc.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 \ + obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h math_helper.h \ misc_util.h ../src_3rd/genvector/gds_char.h layer_grp.h rats_patch.h \ board.h hidlib.h pcb-printf.h hid.h ../src_3rd/liblihata/dom.h \ ../src_3rd/liblihata/lihata.h ../src_3rd/liblihata/parser.h error.h \ @@ -5128,13 +5128,13 @@ ../src_3rd/genht/ht_inlines.h ../src_plugins/propedit/propsel.o: ../src_plugins/propedit/propsel.c \ ../config.h data.h globalconst.h global_typedefs.h pcb_bool.h layer.h \ - attrib.h color.h ../src_3rd/genvector/genvector_impl.h \ + ../src/librnd/core/attrib.h ../src/librnd/core/color.h ../src_3rd/genvector/genvector_impl.h \ ../src_3rd/genvector/genvector_undef.h obj_common.h flag.h data_parent.h \ obj_arc_list.h obj_arc.h ../src_3rd/genlist/gendlist.h \ ../src_3rd/genlist/gentdlist_impl.h ../src_3rd/genlist/gendlist.h \ ../src_3rd/genlist/gentdlist_undef.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 ../src_3rd/genht/ht.h box.h math_helper.h \ + ../src_3rd/genht/htip.h ../src_3rd/genht/ht.h ../src/librnd/core/box.h math_helper.h \ misc_util.h unit.h ../src_3rd/genvector/gds_char.h crosshair.h \ vtonpoint.h hid.h ../src_3rd/liblihata/dom.h \ ../src_3rd/liblihata/lihata.h ../src_3rd/liblihata/parser.h \ @@ -5146,7 +5146,7 @@ ../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 data_it.h data.h ../src_plugins/propedit/props.h \ - global_typedefs.h ../src_3rd/genvector/vtl0.h idpath.h color.h \ + global_typedefs.h ../src_3rd/genvector/vtl0.h idpath.h ../src/librnd/core/color.h \ ../src_plugins/propedit/propsel.h change.h board.h vtroutestyle.h \ rats_patch.h hidlib.h misc_util.h flag_str.h compat_misc.h undo.h \ ../src_3rd/libuundo/uundo.h undo_old.h rotate.h compat_misc.h \ @@ -5163,11 +5163,11 @@ ../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 color.h board.h \ - vtroutestyle.h attrib.h layer.h obj_common.h flag.h data_parent.h \ + ../src_3rd/genlist/gendlist.h globalconst.h ../src/librnd/core/color.h board.h \ + vtroutestyle.h ../src/librnd/core/attrib.h layer.h obj_common.h flag.h data_parent.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 \ + obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h math_helper.h \ misc_util.h layer_grp.h rats_patch.h board.h hidlib.h data.h crosshair.h \ vtonpoint.h hid.h error.h route.h buffer.h ../src_3rd/libfungw/fungw.h \ ../src_3rd/genht/htpp.h obj_rat_list.h obj_rat.h idpath.h \ @@ -5179,18 +5179,18 @@ ../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 actions.h misc_util.h \ + ../src_3rd/puplug/libs.h ../src_3rd/puplug/error.h ../src/librnd/core/actions.h misc_util.h \ compat_misc.h obj_pstk_inlines.h data.h thermal.h polygon1_gen.h \ funchash_core.h funchash.h funchash_core_list.h search.h find.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 layer.h \ - attrib.h color.h ../src_3rd/genvector/genvector_impl.h \ + ../src/librnd/core/attrib.h ../src/librnd/core/color.h ../src_3rd/genvector/genvector_impl.h \ ../src_3rd/genvector/genvector_undef.h obj_common.h flag.h data_parent.h \ obj_arc_list.h obj_arc.h ../src_3rd/genlist/gendlist.h \ ../src_3rd/genlist/gentdlist_impl.h ../src_3rd/genlist/gendlist.h \ ../src_3rd/genlist/gentdlist_undef.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 ../src_3rd/genht/ht.h box.h math_helper.h \ + ../src_3rd/genht/htip.h ../src_3rd/genht/ht.h ../src/librnd/core/box.h math_helper.h \ misc_util.h unit.h ../src_3rd/genvector/gds_char.h crosshair.h \ vtonpoint.h hid.h ../src_3rd/liblihata/dom.h \ ../src_3rd/liblihata/lihata.h ../src_3rd/liblihata/parser.h \ @@ -5217,11 +5217,11 @@ ../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 \ ../src_3rd/genlist/gentdlist_undef.h ../src_3rd/genlist/gentdlist_impl.h \ - ../src_3rd/genlist/gendlist.h data.h globalconst.h layer.h attrib.h \ - color.h obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ + ../src_3rd/genlist/gendlist.h data.h globalconst.h layer.h ../src/librnd/core/attrib.h \ + ../src/librnd/core/color.h obj_common.h flag.h data_parent.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 misc_util.h crosshair.h \ + ../src_3rd/genht/htip.h ../src/librnd/core/box.h math_helper.h misc_util.h crosshair.h \ vtonpoint.h hid.h error.h route.h buffer.h ../src_3rd/libfungw/fungw.h \ ../src_3rd/genht/htpp.h obj_rat_list.h obj_rat.h layer_grp.h idpath.h \ obj_subc_list.h obj_subc.h ../src_3rd/libminuid/libminuid.h \ @@ -5232,7 +5232,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_init.h actions.h \ + ../src_3rd/puplug/libs.h ../src_3rd/puplug/error.h hid_init.h ../src/librnd/core/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 \ @@ -5240,13 +5240,13 @@ ../src_plugins/query/query_access.o: ../src_plugins/query/query_access.c \ ../config.h math_helper.h compat_misc.h board.h ../src_3rd/genht/htsp.h \ ../src_3rd/genht/ht.h global_typedefs.h pcb_bool.h vtroutestyle.h unit.h \ - attrib.h ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h color.h \ + ../src/librnd/core/attrib.h ../src_3rd/genvector/genvector_impl.h \ + ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h ../src_3rd/genvector/gds_char.h layer_grp.h \ rats_patch.h board.h hidlib.h data.h crosshair.h vtonpoint.h hid.h \ ../src_3rd/liblihata/dom.h ../src_3rd/liblihata/lihata.h \ @@ -5272,8 +5272,8 @@ ../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 color.h actions.h hid.h \ - error.h attrib.h box.h math_helper.h misc_util.h \ + ../src_3rd/genlist/gendlist.h globalconst.h ../src/librnd/core/color.h ../src/librnd/core/actions.h hid.h \ + error.h ../src/librnd/core/attrib.h ../src/librnd/core/box.h math_helper.h misc_util.h \ ../src_3rd/libfungw/fungw.h ../src_3rd/genht/htpp.h \ ../src_plugins/query/query.h ../src_3rd/genht/htsi.h \ ../src_3rd/genregex/regex_se.h ../src_3rd/genregex/regex_templ.h \ @@ -5287,13 +5287,13 @@ rats_patch.h board.h hidlib.h macro.h idpath.h compat_misc.h ../src_plugins/query/query_exec.o: ../src_plugins/query/query_exec.c \ ../config.h data.h globalconst.h global_typedefs.h pcb_bool.h layer.h \ - attrib.h color.h ../src_3rd/genvector/genvector_impl.h \ + ../src/librnd/core/attrib.h ../src/librnd/core/color.h ../src_3rd/genvector/genvector_impl.h \ ../src_3rd/genvector/genvector_undef.h obj_common.h flag.h data_parent.h \ obj_arc_list.h obj_arc.h ../src_3rd/genlist/gendlist.h \ ../src_3rd/genlist/gentdlist_impl.h ../src_3rd/genlist/gendlist.h \ ../src_3rd/genlist/gentdlist_undef.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 ../src_3rd/genht/ht.h box.h math_helper.h \ + ../src_3rd/genht/htip.h ../src_3rd/genht/ht.h ../src/librnd/core/box.h math_helper.h \ misc_util.h unit.h ../src_3rd/genvector/gds_char.h crosshair.h \ vtonpoint.h hid.h ../src_3rd/liblihata/dom.h \ ../src_3rd/liblihata/lihata.h ../src_3rd/liblihata/parser.h \ @@ -5316,12 +5316,12 @@ ../src_3rd/genht/ht.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 flag.h globalconst.h \ - attrib.h data_parent.h layer.h color.h obj_common.h obj_arc_list.h \ + ../src/librnd/core/attrib.h data_parent.h layer.h ../src/librnd/core/color.h obj_common.h obj_arc_list.h \ obj_arc.h ../src_3rd/genlist/gendlist.h \ ../src_3rd/genlist/gentdlist_impl.h ../src_3rd/genlist/gendlist.h \ ../src_3rd/genlist/gentdlist_undef.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 misc_util.h unit.h \ + ../src_3rd/genht/htip.h ../src/librnd/core/box.h math_helper.h misc_util.h unit.h \ ../src_3rd/genvector/gds_char.h flag_str.h \ ../src_plugins/query/query_y.h compat_misc.h ../src_plugins/query/query_y.o: ../src_plugins/query/query_y.c unit.h \ @@ -5331,24 +5331,24 @@ ../src_3rd/genht/ht.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 flag.h globalconst.h \ - attrib.h data_parent.h layer.h color.h obj_common.h obj_arc_list.h \ + ../src/librnd/core/attrib.h data_parent.h layer.h ../src/librnd/core/color.h obj_common.h obj_arc_list.h \ obj_arc.h ../src_3rd/genlist/gendlist.h \ ../src_3rd/genlist/gentdlist_impl.h ../src_3rd/genlist/gendlist.h \ ../src_3rd/genlist/gentdlist_undef.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 misc_util.h unit.h \ + ../src_3rd/genht/htip.h ../src/librnd/core/box.h math_helper.h misc_util.h unit.h \ ../src_3rd/genvector/gds_char.h flag_str.h \ ../src_plugins/query/query_l.h compat_misc.h ../src_plugins/renumber/renumber.o: ../src_plugins/renumber/renumber.c \ ../config.h board.h ../src_3rd/genht/htsp.h ../src_3rd/genht/ht.h \ - global_typedefs.h pcb_bool.h vtroutestyle.h unit.h attrib.h \ + global_typedefs.h pcb_bool.h vtroutestyle.h unit.h ../src/librnd/core/attrib.h \ ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h color.h \ + ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h ../src_3rd/genvector/gds_char.h layer_grp.h \ rats_patch.h board.h hidlib.h data.h crosshair.h vtonpoint.h hid.h \ ../src_3rd/liblihata/dom.h ../src_3rd/liblihata/lihata.h \ @@ -5362,22 +5362,22 @@ vtpadstack_t.h change.h error.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 actions.h conf_core.h \ + ../src_3rd/puplug/libs.h ../src_3rd/puplug/error.h ../src/librnd/core/actions.h conf_core.h \ conf.h pcb-printf.h ../src_3rd/liblihata/lihata.h list_conf.h \ compat_misc.h netlist.h safe_fs.h macro.h pcb-printf.h ../src_plugins/renumber/renumberblock.o: \ ../src_plugins/renumber/renumberblock.c ../config.h board.h \ ../src_3rd/genht/htsp.h ../src_3rd/genht/ht.h global_typedefs.h \ - pcb_bool.h vtroutestyle.h unit.h attrib.h \ + pcb_bool.h vtroutestyle.h unit.h ../src/librnd/core/attrib.h \ ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h color.h \ + ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h ../src_3rd/genvector/gds_char.h layer_grp.h \ - rats_patch.h board.h hidlib.h actions.h hid.h ../src_3rd/liblihata/dom.h \ + rats_patch.h board.h hidlib.h ../src/librnd/core/actions.h hid.h ../src_3rd/liblihata/dom.h \ ../src_3rd/liblihata/lihata.h ../src_3rd/liblihata/parser.h error.h \ ../src_3rd/libfungw/fungw.h ../src_3rd/genht/htpp.h data.h crosshair.h \ vtonpoint.h route.h buffer.h obj_rat_list.h obj_rat.h idpath.h \ @@ -5389,14 +5389,14 @@ undo_old.h error.h change.h conf_core.h conf.h pcb-printf.h \ ../src_3rd/liblihata/lihata.h list_conf.h ../src_plugins/report/drill.o: ../src_plugins/report/drill.c ../config.h \ - data.h globalconst.h global_typedefs.h pcb_bool.h layer.h attrib.h \ - color.h ../src_3rd/genvector/genvector_impl.h \ + data.h globalconst.h global_typedefs.h pcb_bool.h layer.h ../src/librnd/core/attrib.h \ + ../src/librnd/core/color.h ../src_3rd/genvector/genvector_impl.h \ ../src_3rd/genvector/genvector_undef.h obj_common.h flag.h data_parent.h \ obj_arc_list.h obj_arc.h ../src_3rd/genlist/gendlist.h \ ../src_3rd/genlist/gentdlist_impl.h ../src_3rd/genlist/gendlist.h \ ../src_3rd/genlist/gentdlist_undef.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 ../src_3rd/genht/ht.h box.h math_helper.h \ + ../src_3rd/genht/htip.h ../src_3rd/genht/ht.h ../src/librnd/core/box.h math_helper.h \ misc_util.h unit.h ../src_3rd/genvector/gds_char.h crosshair.h \ vtonpoint.h hid.h ../src_3rd/liblihata/dom.h \ ../src_3rd/liblihata/lihata.h ../src_3rd/liblihata/parser.h \ @@ -5419,9 +5419,9 @@ ../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 color.h hidlib_conf.h \ + ../src_3rd/genlist/gendlist.h globalconst.h ../src/librnd/core/color.h hidlib_conf.h \ ../src_plugins/report/report.h math_helper.h crosshair.h vtonpoint.h \ - hid.h error.h attrib.h box.h math_helper.h misc_util.h obj_line.h \ + hid.h error.h ../src/librnd/core/attrib.h ../src/librnd/core/box.h math_helper.h misc_util.h obj_line.h \ ../src_3rd/genlist/gendlist.h obj_common.h flag.h data_parent.h \ obj_poly.h polyarea.h route.h board.h vtroutestyle.h layer.h \ obj_arc_list.h obj_arc.h obj_line_list.h obj_poly_list.h obj_text_list.h \ @@ -5437,7 +5437,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 actions.h misc_util.h \ + ../src_3rd/puplug/error.h ../src/librnd/core/actions.h misc_util.h \ ../src_plugins/report/report_conf.h conf.h compat_misc.h layer.h \ obj_term.h obj_pstk.h obj_pstk_inlines.h thermal.h polygon1_gen.h \ obj_subc_parent.h hid_dad.h compat_misc.h hid_attrib.h hid_dad_spin.h \ @@ -5447,19 +5447,19 @@ ../src_plugins/rubberband_orig/fgeometry.o: \ ../src_plugins/rubberband_orig/fgeometry.c \ ../src_plugins/rubberband_orig/fgeometry.h obj_common.h flag.h \ - globalconst.h ../config.h attrib.h global_typedefs.h pcb_bool.h \ + globalconst.h ../config.h ../src/librnd/core/attrib.h global_typedefs.h pcb_bool.h \ data_parent.h ../src_plugins/rubberband_orig/rubberband.o: \ ../src_plugins/rubberband_orig/rubberband.c ../config.h board.h \ ../src_3rd/genht/htsp.h ../src_3rd/genht/ht.h global_typedefs.h \ - pcb_bool.h vtroutestyle.h unit.h attrib.h \ + pcb_bool.h vtroutestyle.h unit.h ../src/librnd/core/attrib.h \ ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h color.h \ + ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h ../src_3rd/genvector/gds_char.h layer_grp.h \ rats_patch.h board.h hidlib.h data.h crosshair.h vtonpoint.h hid.h \ ../src_3rd/liblihata/dom.h ../src_3rd/liblihata/lihata.h \ @@ -5487,15 +5487,15 @@ ../config.h ../src_3rd/genvector/vtp0.h \ ../src_3rd/genvector/genvector_impl.h \ ../src_3rd/genvector/genvector_undef.h ../src_3rd/genht/htsp.h \ - ../src_3rd/genht/ht.h ../src_3rd/genht/hash.h actions.h hid.h \ + ../src_3rd/genht/ht.h ../src_3rd/genht/hash.h ../src/librnd/core/actions.h hid.h \ ../src_3rd/liblihata/dom.h ../src_3rd/liblihata/lihata.h \ ../src_3rd/liblihata/parser.h error.h global_typedefs.h pcb_bool.h \ - attrib.h box.h math_helper.h misc_util.h unit.h \ + ../src/librnd/core/attrib.h ../src/librnd/core/box.h math_helper.h misc_util.h unit.h \ ../src_3rd/libfungw/fungw.h ../src_3rd/genht/htpp.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_cfg.h hid_dad.h \ - compat_misc.h hid_attrib.h ../src_3rd/genlist/gendlist.h color.h \ + compat_misc.h hid_attrib.h ../src_3rd/genlist/gendlist.h ../src/librnd/core/color.h \ pcb-printf.h ../src_3rd/genvector/gds_char.h hid_dad_spin.h safe_fs.h \ conf.h ../src_3rd/liblihata/lihata.h list_conf.h \ ../src_3rd/genlist/gentdlist_undef.h ../src_3rd/genlist/gentdlist_impl.h \ @@ -5509,9 +5509,9 @@ ../src_3rd/puplug/libs.h ../src_3rd/puplug/os_dep.h \ ../src_3rd/puplug/config.h ../src_3rd/puplug/libs.h \ ../src_3rd/genregex/regex_se.h ../src_3rd/genregex/regex_templ.h \ - ../src_3rd/genregex/regex.h actions.h hid.h ../src_3rd/liblihata/dom.h \ + ../src_3rd/genregex/regex.h ../src/librnd/core/actions.h hid.h ../src_3rd/liblihata/dom.h \ ../src_3rd/liblihata/lihata.h ../src_3rd/liblihata/parser.h error.h \ - global_typedefs.h pcb_bool.h attrib.h box.h math_helper.h misc_util.h \ + global_typedefs.h pcb_bool.h ../src/librnd/core/attrib.h ../src/librnd/core/box.h math_helper.h misc_util.h \ unit.h ../src_3rd/libfungw/fungw.h ../src_3rd/genht/htpp.h plugins.h \ ../src_3rd/puplug/error.h error.h compat_misc.h compat_fs.h safe_fs.h \ conf.h pcb-printf.h ../src_3rd/genvector/gds_char.h \ @@ -5521,7 +5521,7 @@ ../src_3rd/genlist/gentdlist_undef.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h pcb-printf.h globalconst.h \ ../src_plugins/script/script.h ../src_plugins/script/c_script.c \ - fptr_cast.h hidlib_conf.h color.h ../src_plugins/script/timer.c \ + fptr_cast.h hidlib_conf.h ../src/librnd/core/color.h ../src_plugins/script/timer.c \ ../src_plugins/script/perma.c hidlib.h \ ../src_plugins/script/script_act.c hid_dad.h compat_misc.h hid_attrib.h \ ../src_3rd/genlist/gendlist.h hid_dad_spin.h hid_dad_tree.h hid_dad.h \ @@ -5536,8 +5536,8 @@ ../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 color.h crosshair.h \ - vtonpoint.h hid.h error.h attrib.h box.h math_helper.h misc_util.h \ + ../src_3rd/genlist/gendlist.h globalconst.h ../src/librnd/core/color.h crosshair.h \ + vtonpoint.h hid.h error.h ../src/librnd/core/attrib.h ../src/librnd/core/box.h math_helper.h misc_util.h \ obj_line.h ../src_3rd/genlist/gendlist.h obj_common.h flag.h \ data_parent.h obj_poly.h polyarea.h route.h board.h vtroutestyle.h \ layer.h obj_arc_list.h obj_arc.h obj_line_list.h obj_poly_list.h \ @@ -5554,7 +5554,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 actions.h \ + ../src_3rd/puplug/error.h ../src/librnd/core/actions.h \ ../src_plugins/serpentine/serpentine_conf.h conf.h layer.h route.h \ ../src_plugins/serpentine/serpentine_conf_fields.h ../src_plugins/shand_cmd/command.o: ../src_plugins/shand_cmd/command.c \ @@ -5566,11 +5566,11 @@ ../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 color.h board.h \ - vtroutestyle.h attrib.h layer.h obj_common.h flag.h data_parent.h \ + ../src_3rd/genlist/gendlist.h globalconst.h ../src/librnd/core/color.h board.h \ + vtroutestyle.h ../src/librnd/core/attrib.h layer.h obj_common.h flag.h data_parent.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 \ + obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h math_helper.h \ misc_util.h layer_grp.h rats_patch.h board.h hidlib.h build_run.h \ buffer.h ../src_3rd/libfungw/fungw.h ../src_3rd/genht/htpp.h \ ../src_plugins/shand_cmd/command.h data.h crosshair.h vtonpoint.h hid.h \ @@ -5581,18 +5581,18 @@ vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h error.h event.h \ plug_io.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 actions.h \ + ../src_3rd/puplug/libs.h ../src_3rd/puplug/error.h ../src/librnd/core/actions.h \ compat_misc.h misc_util.h tool.h ../src_plugins/shape/shape.o: ../src_plugins/shape/shape.c ../config.h \ ../src_plugins/shape/shape.h board.h ../src_3rd/genht/htsp.h \ ../src_3rd/genht/ht.h global_typedefs.h pcb_bool.h vtroutestyle.h unit.h \ - attrib.h ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h color.h \ + ../src/librnd/core/attrib.h ../src_3rd/genvector/genvector_impl.h \ + ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h ../src_3rd/genvector/gds_char.h layer_grp.h \ rats_patch.h board.h hidlib.h data.h crosshair.h vtonpoint.h hid.h \ ../src_3rd/liblihata/dom.h ../src_3rd/liblihata/lihata.h \ @@ -5606,7 +5606,7 @@ vtpadstack_t.h layer.h pcb_bool.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 actions.h buffer.h compat_misc.h conf_core.h \ + ../src_3rd/puplug/error.h ../src/librnd/core/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 draw.h rotate.h \ compat_misc.h tool.h ../src_plugins/shape/shape_dialog.c hid_dad.h \ @@ -5667,7 +5667,7 @@ ../src_plugins/sketch_route/pointdata.h \ ../src_plugins/sketch_route/sktypedefs.h \ ../src_plugins/sketch_route/spoke.h obj_common.h flag.h globalconst.h \ - ../config.h attrib.h global_typedefs.h pcb_bool.h data_parent.h \ + ../config.h ../src/librnd/core/attrib.h global_typedefs.h pcb_bool.h data_parent.h \ ../src_plugins/sketch_route/ewire.h \ ../src_plugins/sketch_route/ewire_point.h \ ../src_3rd/genvector/genvector_impl.h \ @@ -5682,14 +5682,14 @@ ../src_plugins/sketch_route/sketch_route.c ../config.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 actions.h hid.h \ + ../src_3rd/puplug/libs.h ../src_3rd/puplug/error.h ../src/librnd/core/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 global_typedefs.h pcb_bool.h attrib.h \ - box.h math_helper.h misc_util.h unit.h ../src_3rd/libfungw/fungw.h \ + ../src_3rd/genht/ht.h error.h global_typedefs.h pcb_bool.h ../src/librnd/core/attrib.h \ + ../src/librnd/core/box.h math_helper.h misc_util.h unit.h ../src_3rd/libfungw/fungw.h \ ../src_3rd/genht/htpp.h board.h vtroutestyle.h \ ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h color.h \ + ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.h \ @@ -5729,9 +5729,9 @@ ../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 color.h \ + ../src_3rd/genlist/gendlist.h globalconst.h ../src/librnd/core/color.h \ ../src_plugins/sketch_route/spoke.h \ - ../src_plugins/sketch_route/sktypedefs.h obj_common.h flag.h attrib.h \ + ../src_plugins/sketch_route/sktypedefs.h obj_common.h flag.h ../src/librnd/core/attrib.h \ data_parent.h ../src_plugins/sketch_route/ewire.h \ ../src_plugins/sketch_route/ewire_point.h \ ../src_plugins/sketch_route/cdt/point.h \ @@ -5745,7 +5745,7 @@ ../src_plugins/sketch_route/pointdata.h \ ../src_plugins/sketch_route/sktypedefs.h \ ../src_plugins/sketch_route/spoke.h obj_common.h flag.h globalconst.h \ - ../config.h attrib.h global_typedefs.h pcb_bool.h data_parent.h \ + ../config.h ../src/librnd/core/attrib.h global_typedefs.h pcb_bool.h data_parent.h \ ../src_plugins/sketch_route/ewire.h \ ../src_plugins/sketch_route/ewire_point.h \ ../src_3rd/genvector/genvector_impl.h \ @@ -5761,14 +5761,14 @@ ../src_plugins/smartdisperse/smartdisperse.o: \ ../src_plugins/smartdisperse/smartdisperse.c ../src_3rd/genht/htpi.h \ ../src_3rd/genht/ht.h ../config.h board.h ../src_3rd/genht/htsp.h \ - global_typedefs.h pcb_bool.h vtroutestyle.h unit.h attrib.h \ + global_typedefs.h pcb_bool.h vtroutestyle.h unit.h ../src/librnd/core/attrib.h \ ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h color.h \ + ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h ../src_3rd/genvector/gds_char.h layer_grp.h \ rats_patch.h board.h hidlib.h data.h crosshair.h vtonpoint.h hid.h \ ../src_3rd/liblihata/dom.h ../src_3rd/liblihata/lihata.h \ @@ -5783,25 +5783,25 @@ undo_old.h netlist.h error.h move.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 actions.h obj_subc.h \ + ../src_3rd/puplug/libs.h ../src_3rd/puplug/error.h ../src/librnd/core/actions.h obj_subc.h \ obj_subc_parent.h data.h obj_term.h funchash_core.h funchash.h \ funchash_core_list.h ../src_plugins/stroke/stroke.o: ../src_plugins/stroke/stroke.c \ ../config.h board.h ../src_3rd/genht/htsp.h ../src_3rd/genht/ht.h \ - global_typedefs.h pcb_bool.h vtroutestyle.h unit.h attrib.h \ + global_typedefs.h pcb_bool.h vtroutestyle.h unit.h ../src/librnd/core/attrib.h \ ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h color.h \ + ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h ../src_3rd/genvector/gds_char.h layer_grp.h \ rats_patch.h board.h hidlib.h conf_core.h conf.h pcb-printf.h \ ../src_3rd/liblihata/lihata.h ../src_3rd/liblihata/dom.h \ ../src_3rd/liblihata/lihata.h ../src_3rd/liblihata/parser.h \ ../src_3rd/genvector/vtp0.h list_conf.h hidlib_conf.h crosshair.h \ - vtonpoint.h hid.h error.h route.h actions.h ../src_3rd/libfungw/fungw.h \ + vtonpoint.h hid.h error.h route.h ../src/librnd/core/actions.h ../src_3rd/libfungw/fungw.h \ ../src_3rd/genht/htpp.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 \ @@ -5812,14 +5812,14 @@ ../src_plugins/teardrops/teardrops.o: \ ../src_plugins/teardrops/teardrops.c ../config.h math_helper.h board.h \ ../src_3rd/genht/htsp.h ../src_3rd/genht/ht.h global_typedefs.h \ - pcb_bool.h vtroutestyle.h unit.h attrib.h \ + pcb_bool.h vtroutestyle.h unit.h ../src/librnd/core/attrib.h \ ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h color.h \ + ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h ../src_3rd/genvector/gds_char.h layer_grp.h \ rats_patch.h board.h hidlib.h data.h crosshair.h vtonpoint.h hid.h \ ../src_3rd/liblihata/dom.h ../src_3rd/liblihata/lihata.h \ @@ -5833,7 +5833,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 actions.h \ + ../src_3rd/puplug/libs.h ../src_3rd/puplug/error.h ../src/librnd/core/actions.h \ obj_pstk_inlines.h data.h thermal.h polygon1_gen.h ../src_plugins/vendordrill/vendor.o: ../src_plugins/vendordrill/vendor.c \ ../config.h conf_core.h conf.h global_typedefs.h pcb_bool.h pcb-printf.h \ @@ -5844,13 +5844,13 @@ ../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 color.h \ + ../src_3rd/genlist/gendlist.h globalconst.h ../src/librnd/core/color.h \ ../src_3rd/genregex/regex_sei.h ../src_3rd/genregex/regex_templ.h \ - ../src_3rd/genregex/regex.h change.h board.h vtroutestyle.h attrib.h \ + ../src_3rd/genregex/regex.h change.h board.h vtroutestyle.h ../src/librnd/core/attrib.h \ layer.h obj_common.h flag.h data_parent.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 misc_util.h layer_grp.h \ + ../src_3rd/genht/htip.h ../src/librnd/core/box.h math_helper.h misc_util.h layer_grp.h \ rats_patch.h hidlib.h board.h data.h crosshair.h vtonpoint.h hid.h \ error.h route.h buffer.h ../src_3rd/libfungw/fungw.h \ ../src_3rd/genht/htpp.h obj_rat_list.h obj_rat.h idpath.h \ @@ -5861,7 +5861,7 @@ 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 actions.h hid_cfg.h \ + ../src_3rd/puplug/libs.h ../src_3rd/puplug/error.h ../src/librnd/core/actions.h hid_cfg.h \ ../src_plugins/vendordrill/vendor_conf.h conf.h compat_misc.h \ obj_pstk_inlines.h data.h thermal.h polygon1_gen.h event.h macro.h \ ../src_3rd/liblihata/tree.h \ @@ -6016,9 +6016,9 @@ ../src_3rd/qparse/qparse.h actions.o: actions.c ../config.h ../src_3rd/genht/htsp.h \ ../src_3rd/genht/ht.h ../src_3rd/libfungw/fungw_conv.h error.h \ - global_typedefs.h pcb_bool.h event.h unit.h hidlib.h actions.h hid.h \ + global_typedefs.h pcb_bool.h event.h unit.h hidlib.h ../src/librnd/core/actions.h hid.h \ ../src_3rd/liblihata/dom.h ../src_3rd/liblihata/lihata.h \ - ../src_3rd/liblihata/parser.h attrib.h box.h math_helper.h misc_util.h \ + ../src_3rd/liblihata/parser.h ../src/librnd/core/attrib.h ../src/librnd/core/box.h math_helper.h misc_util.h \ ../src_3rd/libfungw/fungw.h ../src_3rd/genht/htpp.h compat_misc.h \ funchash.h hidlib_conf.h conf.h pcb-printf.h \ ../src_3rd/genvector/gds_char.h ../src_3rd/genvector/genvector_impl.h \ @@ -6025,15 +6025,15 @@ ../src_3rd/genvector/genvector_undef.h ../src_3rd/liblihata/lihata.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 color.h + ../src_3rd/genlist/gendlist.h ../src/librnd/core/color.h actions_pcb.o: actions_pcb.c ../config.h ../src_3rd/libfungw/fungw_conv.h \ - actions.h hid.h ../src_3rd/liblihata/dom.h ../src_3rd/liblihata/lihata.h \ + ../src/librnd/core/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 global_typedefs.h pcb_bool.h attrib.h \ - box.h math_helper.h misc_util.h unit.h ../src_3rd/libfungw/fungw.h \ + ../src_3rd/genht/ht.h error.h global_typedefs.h pcb_bool.h ../src/librnd/core/attrib.h \ + ../src/librnd/core/box.h math_helper.h misc_util.h unit.h ../src_3rd/libfungw/fungw.h \ ../src_3rd/genht/htpp.h board.h vtroutestyle.h \ ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h color.h \ + ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.h \ @@ -6047,17 +6047,17 @@ ../src_3rd/genvector/vtp0.h vtpadstack.h obj_pstk_shape.h polygon.h \ vtpadstack_t.h compat_misc.h layer_addr.h pcb-printf.h conf_core.h \ conf.h ../src_3rd/liblihata/lihata.h list_conf.h -attrib.o: attrib.c ../config.h compat_misc.h attrib.h -base64.o: base64.c base64.h +attrib.o: attrib.c ../config.h compat_misc.h ../src/librnd/core/attrib.h +base64.o: base64.c ../src/librnd/core/base64.h board.o: board.c ../config.h board.h ../src_3rd/genht/htsp.h \ ../src_3rd/genht/ht.h global_typedefs.h pcb_bool.h vtroutestyle.h unit.h \ - attrib.h ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h color.h \ + ../src/librnd/core/attrib.h ../src_3rd/genvector/genvector_impl.h \ + ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h ../src_3rd/genvector/gds_char.h layer_grp.h \ rats_patch.h hidlib.h data.h crosshair.h vtonpoint.h hid.h \ ../src_3rd/liblihata/dom.h ../src_3rd/liblihata/lihata.h \ @@ -6070,22 +6070,22 @@ ../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 hidlib_conf.h plug_io.h \ - compat_misc.h actions.h paths.h undo.h ../src_3rd/libuundo/uundo.h \ + compat_misc.h ../src/librnd/core/actions.h paths.h undo.h ../src_3rd/libuundo/uundo.h \ undo_old.h draw.h event.h safe_fs.h tool.h netlist.h defpcb_internal.c \ obj_pstk_inlines.h thermal.h polygon1_gen.h box.o: box.c ../config.h rotate.h global_typedefs.h pcb_bool.h \ - compat_misc.h box.h math_helper.h misc_util.h unit.h + compat_misc.h ../src/librnd/core/box.h math_helper.h misc_util.h unit.h brave.o: brave.c ../config.h ../src_3rd/genvector/gds_char.h \ ../src_3rd/genvector/genvector_impl.h \ ../src_3rd/genvector/genvector_undef.h board.h ../src_3rd/genht/htsp.h \ ../src_3rd/genht/ht.h global_typedefs.h pcb_bool.h vtroutestyle.h unit.h \ - attrib.h layer.h globalconst.h color.h obj_common.h flag.h data_parent.h \ + ../src/librnd/core/attrib.h layer.h globalconst.h ../src/librnd/core/color.h obj_common.h flag.h data_parent.h \ obj_arc_list.h obj_arc.h ../src_3rd/genlist/gendlist.h \ ../src_3rd/genlist/gentdlist_impl.h ../src_3rd/genlist/gendlist.h \ ../src_3rd/genlist/gentdlist_undef.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 misc_util.h layer_grp.h \ - rats_patch.h hidlib.h brave.h actions.h hid.h ../src_3rd/liblihata/dom.h \ + ../src_3rd/genht/htip.h ../src/librnd/core/box.h math_helper.h misc_util.h layer_grp.h \ + rats_patch.h hidlib.h brave.h ../src/librnd/core/actions.h hid.h ../src_3rd/liblihata/dom.h \ ../src_3rd/liblihata/lihata.h ../src_3rd/liblihata/parser.h error.h \ ../src_3rd/libfungw/fungw.h ../src_3rd/genht/htpp.h conf_core.h conf.h \ pcb-printf.h ../src_3rd/liblihata/lihata.h ../src_3rd/genvector/vtp0.h \ @@ -6100,12 +6100,12 @@ ../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 color.h buffer.h \ - obj_common.h flag.h attrib.h data_parent.h ../src_3rd/libfungw/fungw.h \ + ../src_3rd/genlist/gendlist.h globalconst.h ../src/librnd/core/color.h buffer.h \ + obj_common.h flag.h ../src/librnd/core/attrib.h data_parent.h ../src_3rd/libfungw/fungw.h \ ../src_3rd/genht/htpp.h board.h vtroutestyle.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 misc_util.h layer_grp.h \ + ../src_3rd/genht/htip.h ../src/librnd/core/box.h math_helper.h misc_util.h layer_grp.h \ rats_patch.h hidlib.h move.h data.h crosshair.h vtonpoint.h hid.h \ error.h route.h obj_rat_list.h obj_rat.h idpath.h obj_subc_list.h \ obj_subc.h ../src_3rd/libminuid/libminuid.h rtree2_compat.h rtree.h \ @@ -6116,7 +6116,7 @@ ../src_3rd/libuundo/uundo.h undo_old.h funchash_core.h funchash.h \ funchash_core_list.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 \ - actions.h tool.h extobj.h obj_subc_parent.h hid_dad.h hid_attrib.h \ + ../src/librnd/core/actions.h tool.h extobj.h obj_subc_parent.h hid_dad.h hid_attrib.h \ hid_dad_spin.h build_run.o: build_run.c ../config.h ../src_3rd/genvector/gds_char.h \ ../src_3rd/genvector/genvector_impl.h \ @@ -6127,11 +6127,11 @@ ../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 color.h board.h \ - vtroutestyle.h attrib.h layer.h obj_common.h flag.h data_parent.h \ + ../src_3rd/genlist/gendlist.h globalconst.h ../src/librnd/core/color.h board.h \ + vtroutestyle.h ../src/librnd/core/attrib.h layer.h obj_common.h flag.h data_parent.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 \ + obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h math_helper.h \ misc_util.h layer_grp.h rats_patch.h hidlib.h build_run.h hid_init.h \ ../src_3rd/puplug/puplug.h ../src_3rd/puplug/libs.h \ ../src_3rd/puplug/os_dep.h ../src_3rd/puplug/config.h \ @@ -6151,11 +6151,11 @@ ../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 color.h change.h board.h \ - vtroutestyle.h attrib.h layer.h obj_common.h flag.h data_parent.h \ + ../src_3rd/genlist/gendlist.h globalconst.h ../src/librnd/core/color.h change.h board.h \ + vtroutestyle.h ../src/librnd/core/attrib.h layer.h obj_common.h flag.h data_parent.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 \ + obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h math_helper.h \ misc_util.h layer_grp.h rats_patch.h hidlib.h compat_misc.h data.h \ crosshair.h vtonpoint.h hid.h error.h route.h buffer.h \ ../src_3rd/libfungw/fungw.h ../src_3rd/genht/htpp.h obj_rat_list.h \ @@ -6164,7 +6164,7 @@ ../src_3rd/genrtree/genrtree_api.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 actions.h macro.h \ + undo.h ../src_3rd/libuundo/uundo.h undo_old.h ../src/librnd/core/actions.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 extobj.h change_act.o: change_act.c ../config.h conf_core.h conf.h \ @@ -6176,11 +6176,11 @@ ../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 color.h data.h layer.h \ - attrib.h obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ + ../src_3rd/genlist/gendlist.h globalconst.h ../src/librnd/core/color.h data.h layer.h \ + ../src/librnd/core/attrib.h obj_common.h flag.h data_parent.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 misc_util.h crosshair.h \ + ../src_3rd/genht/htip.h ../src/librnd/core/box.h math_helper.h misc_util.h crosshair.h \ vtonpoint.h hid.h error.h route.h buffer.h ../src_3rd/libfungw/fungw.h \ ../src_3rd/genht/htpp.h obj_rat_list.h obj_rat.h layer_grp.h idpath.h \ obj_subc_list.h obj_subc.h ../src_3rd/libminuid/libminuid.h \ @@ -6188,10 +6188,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 rats_patch.h \ - hidlib.h actions.h change.h draw.h search.h undo.h \ + hidlib.h ../src/librnd/core/actions.h change.h draw.h search.h undo.h \ ../src_3rd/libuundo/uundo.h undo_old.h event.h compat_misc.h \ obj_rat_draw.h data_it.h macro.h grid.h route_style.h hidlib_conf.h -color.o: color.c ../config.h color.h global_typedefs.h pcb_bool.h \ +color.o: color.c ../config.h ../src/librnd/core/color.h global_typedefs.h pcb_bool.h \ ../src_3rd/genvector/genvector_impl.h \ ../src_3rd/genvector/genvector_undef.h \ ../src_3rd/genvector/genvector_impl.c @@ -6208,7 +6208,7 @@ ../src_3rd/genlist/gendlist.h hid_init.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 hid.h error.h \ - attrib.h box.h math_helper.h misc_util.h + ../src/librnd/core/attrib.h ../src/librnd/core/box.h math_helper.h misc_util.h compat_lrealpath.o: compat_lrealpath.c compat_inc.h ../config.h \ compat_lrealpath.h compat_misc.h compat_misc.o: compat_misc.c compat_inc.h ../config.h \ @@ -6223,21 +6223,21 @@ ../src_3rd/genvector/genvector_undef.h unit.h \ ../src_3rd/liblihata/lihata.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 conf_core.h globalconst.h color.h \ - conf_hid.h error.h hid_cfg.h hid.h attrib.h box.h math_helper.h \ + ../src_3rd/genlist/gendlist.h conf_core.h globalconst.h ../src/librnd/core/color.h \ + conf_hid.h error.h hid_cfg.h hid.h ../src/librnd/core/attrib.h ../src/librnd/core/box.h math_helper.h \ misc_util.h paths.h compat_fs.h compat_misc.h safe_fs.h file_loaded.h \ hidlib.h ../src_3rd/genvector/genvector_impl.c conf_regfile.c conf_act.o: conf_act.c ../config.h board.h ../src_3rd/genht/htsp.h \ ../src_3rd/genht/ht.h global_typedefs.h pcb_bool.h vtroutestyle.h unit.h \ - attrib.h ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h color.h \ + ../src/librnd/core/attrib.h ../src_3rd/genvector/genvector_impl.h \ + ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h ../src_3rd/genvector/gds_char.h layer_grp.h \ - rats_patch.h hidlib.h actions.h hid.h ../src_3rd/liblihata/dom.h \ + rats_patch.h hidlib.h ../src/librnd/core/actions.h hid.h ../src_3rd/liblihata/dom.h \ ../src_3rd/liblihata/lihata.h ../src_3rd/liblihata/parser.h error.h \ ../src_3rd/libfungw/fungw.h ../src_3rd/genht/htpp.h conf_core.h conf.h \ pcb-printf.h ../src_3rd/liblihata/lihata.h ../src_3rd/genvector/vtp0.h \ @@ -6252,11 +6252,11 @@ ../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 conf_core.h globalconst.h color.h \ + ../src_3rd/genlist/gendlist.h conf_core.h globalconst.h ../src/librnd/core/color.h \ hidlib_conf.h hid_init.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 hid.h error.h \ - attrib.h box.h math_helper.h misc_util.h conf_core_fields.h + ../src/librnd/core/attrib.h ../src/librnd/core/box.h math_helper.h misc_util.h conf_core_fields.h conf_hid.o: conf_hid.c ../config.h conf_hid.h conf.h global_typedefs.h \ pcb_bool.h pcb-printf.h ../src_3rd/genvector/gds_char.h \ ../src_3rd/genvector/genvector_impl.h \ @@ -6267,7 +6267,7 @@ ../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 error.h ../src_3rd/genht/hash.h \ - ../src_3rd/genht/htpp.h hidlib_conf.h color.h + ../src_3rd/genht/htpp.h hidlib_conf.h ../src/librnd/core/color.h conf_internal.o: conf_internal.c crosshair.o: crosshair.c ../config.h conf_core.h conf.h global_typedefs.h \ pcb_bool.h pcb-printf.h ../src_3rd/genvector/gds_char.h \ @@ -6278,11 +6278,11 @@ ../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 color.h hidlib_conf.h \ - board.h vtroutestyle.h attrib.h layer.h obj_common.h flag.h \ + ../src_3rd/genlist/gendlist.h globalconst.h ../src/librnd/core/color.h hidlib_conf.h \ + board.h vtroutestyle.h ../src/librnd/core/attrib.h layer.h obj_common.h flag.h \ data_parent.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h layer_grp.h rats_patch.h hidlib.h crosshair.h \ vtonpoint.h hid.h error.h route.h data.h buffer.h \ ../src_3rd/libfungw/fungw.h ../src_3rd/genht/htpp.h obj_rat_list.h \ @@ -6291,19 +6291,19 @@ ../src_3rd/genrtree/genrtree_api.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 actions.h hid_inlines.h compat_misc.h find.h undo.h \ + search.h ../src/librnd/core/actions.h hid_inlines.h compat_misc.h find.h undo.h \ ../src_3rd/libuundo/uundo.h undo_old.h event.h macro.h grid.h \ stub_stroke.h obj_line_draw.h obj_arc_draw.h obj_text_draw.h \ obj_pstk_draw.h route_draw.h obj_arc_ui.h obj_subc_parent.h tool.h data.o: data.c ../config.h board.h ../src_3rd/genht/htsp.h \ ../src_3rd/genht/ht.h global_typedefs.h pcb_bool.h vtroutestyle.h unit.h \ - attrib.h ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h color.h \ + ../src/librnd/core/attrib.h ../src_3rd/genvector/genvector_impl.h \ + ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h ../src_3rd/genvector/gds_char.h layer_grp.h \ rats_patch.h hidlib.h data.h crosshair.h vtonpoint.h hid.h \ ../src_3rd/liblihata/dom.h ../src_3rd/liblihata/lihata.h \ @@ -6328,12 +6328,12 @@ ../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 color.h hidlib_conf.h \ - math_helper.h board.h vtroutestyle.h attrib.h layer.h obj_common.h \ + ../src_3rd/genlist/gendlist.h globalconst.h ../src/librnd/core/color.h hidlib_conf.h \ + math_helper.h board.h vtroutestyle.h ../src/librnd/core/attrib.h layer.h obj_common.h \ flag.h data_parent.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 misc_util.h layer_grp.h rats_patch.h \ + ../src_3rd/genht/htip.h ../src/librnd/core/box.h misc_util.h layer_grp.h rats_patch.h \ hidlib.h data.h crosshair.h vtonpoint.h hid.h error.h route.h buffer.h \ ../src_3rd/libfungw/fungw.h ../src_3rd/genht/htpp.h obj_rat_list.h \ obj_rat.h idpath.h obj_subc_list.h obj_subc.h \ @@ -6345,13 +6345,13 @@ funchash.h funchash_core_list.h obj_pstk_draw.h obj_line_draw.h \ obj_arc_draw.h obj_rat_draw.h obj_poly_draw.h obj_text_draw.h \ obj_subc_parent.h draw_composite.c draw_ly_spec.c -drc.o: drc.c ../config.h actions.h hid.h ../src_3rd/liblihata/dom.h \ +drc.o: drc.c ../config.h ../src/librnd/core/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 global_typedefs.h \ - pcb_bool.h attrib.h box.h math_helper.h misc_util.h unit.h \ + pcb_bool.h ../src/librnd/core/attrib.h ../src/librnd/core/box.h math_helper.h misc_util.h unit.h \ ../src_3rd/libfungw/fungw.h ../src_3rd/genht/htpp.h board.h \ vtroutestyle.h ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h color.h \ + ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.h \ @@ -6361,12 +6361,12 @@ view.h idpath.h hidlib_conf.h conf.h pcb-printf.h \ ../src_3rd/liblihata/lihata.h ../src_3rd/genvector/vtp0.h list_conf.h \ conf_core.h compat_misc.h event.h -error.o: error.c ../config.h actions.h hid.h ../src_3rd/liblihata/dom.h \ +error.o: error.c ../config.h ../src/librnd/core/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 global_typedefs.h \ - pcb_bool.h attrib.h box.h math_helper.h misc_util.h unit.h \ + pcb_bool.h ../src/librnd/core/attrib.h ../src/librnd/core/box.h math_helper.h misc_util.h unit.h \ ../src_3rd/libfungw/fungw.h ../src_3rd/genht/htpp.h data.h globalconst.h \ - layer.h color.h ../src_3rd/genvector/genvector_impl.h \ + layer.h ../src/librnd/core/color.h ../src_3rd/genvector/genvector_impl.h \ ../src_3rd/genvector/genvector_undef.h obj_common.h flag.h data_parent.h \ obj_arc_list.h obj_arc.h ../src_3rd/genlist/gendlist.h \ ../src_3rd/genlist/gentdlist_impl.h ../src_3rd/genlist/gendlist.h \ @@ -6383,9 +6383,9 @@ ../src_3rd/liblihata/lihata.h list_conf.h funchash_core.h funchash.h \ funchash_core_list.h hidlib_conf.h event.o: event.c ../config.h event.h unit.h global_typedefs.h pcb_bool.h \ - hidlib.h error.h actions.h hid.h ../src_3rd/liblihata/dom.h \ + hidlib.h error.h ../src/librnd/core/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 attrib.h box.h \ + ../src_3rd/genht/htsp.h ../src_3rd/genht/ht.h ../src/librnd/core/attrib.h ../src/librnd/core/box.h \ math_helper.h misc_util.h ../src_3rd/libfungw/fungw.h \ ../src_3rd/genht/htpp.h fptr_cast.h extobj.o: extobj.c ../config.h ../src_3rd/genvector/vtp0.h \ @@ -6392,12 +6392,12 @@ ../src_3rd/genvector/genvector_impl.h \ ../src_3rd/genvector/genvector_undef.h ../src_3rd/genht/htsi.h \ ../src_3rd/genht/ht.h ../src_3rd/genht/hash.h data.h globalconst.h \ - global_typedefs.h pcb_bool.h layer.h attrib.h color.h obj_common.h \ + global_typedefs.h pcb_bool.h layer.h ../src/librnd/core/attrib.h ../src/librnd/core/color.h obj_common.h \ flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h unit.h ../src_3rd/genvector/gds_char.h \ crosshair.h vtonpoint.h hid.h ../src_3rd/liblihata/dom.h \ ../src_3rd/liblihata/lihata.h ../src_3rd/liblihata/parser.h \ @@ -6410,17 +6410,17 @@ vtpadstack_t.h data_list.h remove.h undo.h ../src_3rd/libuundo/uundo.h \ undo_old.h extobj.h board.h vtroutestyle.h rats_patch.h hidlib.h \ obj_subc_parent.h draw.h -extobj_act.o: extobj_act.c ../config.h actions.h hid.h \ +extobj_act.o: extobj_act.c ../config.h ../src/librnd/core/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 global_typedefs.h pcb_bool.h attrib.h \ - box.h math_helper.h misc_util.h unit.h ../src_3rd/libfungw/fungw.h \ + ../src_3rd/genht/ht.h error.h global_typedefs.h pcb_bool.h ../src/librnd/core/attrib.h \ + ../src/librnd/core/box.h math_helper.h misc_util.h unit.h ../src_3rd/libfungw/fungw.h \ ../src_3rd/genht/htpp.h conf_core.h conf.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/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 color.h funchash_core.h \ + ../src_3rd/genlist/gendlist.h globalconst.h ../src/librnd/core/color.h funchash_core.h \ funchash.h funchash_core_list.h hid_dad.h compat_misc.h hid_attrib.h \ ../src_3rd/genlist/gendlist.h hid_dad_spin.h search.h layer.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ @@ -6435,13 +6435,13 @@ draw.h file_act.o: file_act.c ../config.h board.h ../src_3rd/genht/htsp.h \ ../src_3rd/genht/ht.h global_typedefs.h pcb_bool.h vtroutestyle.h unit.h \ - attrib.h ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h color.h \ + ../src/librnd/core/attrib.h ../src_3rd/genvector/genvector_impl.h \ + ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h ../src_3rd/genvector/gds_char.h layer_grp.h \ rats_patch.h hidlib.h build_run.h conf_core.h conf.h pcb-printf.h \ ../src_3rd/liblihata/lihata.h ../src_3rd/liblihata/dom.h \ @@ -6454,7 +6454,7 @@ ../src_3rd/genrtree/genrtree_api.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 plug_import.h \ - remove.h draw.h event.h find.h search.h actions.h compat_misc.h \ + remove.h draw.h event.h find.h search.h ../src/librnd/core/actions.h compat_misc.h \ hid_init.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 layer_vis.h safe_fs.h tool.h netlist.h @@ -6465,12 +6465,12 @@ ../src_3rd/genvector/genvector_impl.h \ ../src_3rd/genvector/genvector_undef.h global_typedefs.h pcb_bool.h \ flag.h globalconst.h undo.h ../src_3rd/libuundo/uundo.h undo_old.h \ - obj_subc_parent.h data.h layer.h attrib.h color.h obj_common.h \ + obj_subc_parent.h data.h layer.h ../src/librnd/core/attrib.h ../src/librnd/core/color.h obj_common.h \ data_parent.h obj_arc_list.h obj_arc.h ../src_3rd/genlist/gendlist.h \ ../src_3rd/genlist/gentdlist_impl.h ../src_3rd/genlist/gendlist.h \ ../src_3rd/genlist/gentdlist_undef.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 ../src_3rd/genht/ht.h box.h math_helper.h \ + ../src_3rd/genht/htip.h ../src_3rd/genht/ht.h ../src/librnd/core/box.h math_helper.h \ misc_util.h unit.h ../src_3rd/genvector/gds_char.h crosshair.h \ vtonpoint.h hid.h ../src_3rd/liblihata/dom.h \ ../src_3rd/liblihata/lihata.h ../src_3rd/liblihata/parser.h \ @@ -6486,17 +6486,17 @@ flag.o: flag.c ../config.h flag.h globalconst.h operation.h \ global_typedefs.h pcb_bool.h flag_str.o: flag_str.c ../config.h flag_str.h flag.h globalconst.h \ - compat_misc.h obj_common.h attrib.h global_typedefs.h pcb_bool.h \ + compat_misc.h obj_common.h ../src/librnd/core/attrib.h global_typedefs.h pcb_bool.h \ data_parent.h macro.h font.o: font.c ../config.h ../src_3rd/genht/hash.h font.h \ ../src_3rd/genht/htip.h ../src_3rd/genht/ht.h global_typedefs.h \ pcb_bool.h obj_poly.h ../src_3rd/genlist/gendlist.h obj_common.h flag.h \ - globalconst.h attrib.h data_parent.h polyarea.h obj_poly_list.h \ + globalconst.h ../src/librnd/core/attrib.h data_parent.h polyarea.h obj_poly_list.h \ ../src_3rd/genlist/gentdlist_impl.h ../src_3rd/genlist/gendlist.h \ - ../src_3rd/genlist/gentdlist_undef.h obj_arc.h obj_arc_list.h box.h \ + ../src_3rd/genlist/gentdlist_undef.h obj_arc.h obj_arc_list.h ../src/librnd/core/box.h \ math_helper.h misc_util.h unit.h board.h ../src_3rd/genht/htsp.h \ vtroutestyle.h ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h color.h obj_line_list.h \ + ../src_3rd/genvector/genvector_undef.h layer.h ../src/librnd/core/color.h obj_line_list.h \ obj_line.h obj_text_list.h obj_text.h ../src_3rd/genvector/gds_char.h \ layer_grp.h rats_patch.h hidlib.h conf_core.h conf.h pcb-printf.h \ ../src_3rd/liblihata/lihata.h ../src_3rd/liblihata/dom.h \ @@ -6505,15 +6505,15 @@ compat_misc.h event.h file_loaded.h font_internal.c font_act.o: font_act.c ../config.h board.h ../src_3rd/genht/htsp.h \ ../src_3rd/genht/ht.h global_typedefs.h pcb_bool.h vtroutestyle.h unit.h \ - attrib.h ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h color.h \ + ../src/librnd/core/attrib.h ../src_3rd/genvector/genvector_impl.h \ + ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h ../src_3rd/genvector/gds_char.h layer_grp.h \ - rats_patch.h hidlib.h actions.h hid.h ../src_3rd/liblihata/dom.h \ + rats_patch.h hidlib.h ../src/librnd/core/actions.h hid.h ../src_3rd/liblihata/dom.h \ ../src_3rd/liblihata/lihata.h ../src_3rd/liblihata/parser.h error.h \ ../src_3rd/libfungw/fungw.h ../src_3rd/genht/htpp.h conf_core.h conf.h \ pcb-printf.h ../src_3rd/liblihata/lihata.h ../src_3rd/genvector/vtp0.h \ @@ -6526,12 +6526,12 @@ ../src_3rd/genvector/genvector_impl.h \ ../src_3rd/genvector/genvector_undef.h unit.h global_typedefs.h \ pcb_bool.h grid.h board.h ../src_3rd/genht/htsp.h ../src_3rd/genht/ht.h \ - vtroutestyle.h attrib.h layer.h globalconst.h color.h obj_common.h \ + vtroutestyle.h ../src/librnd/core/attrib.h layer.h globalconst.h ../src/librnd/core/color.h obj_common.h \ flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h layer_grp.h rats_patch.h hidlib.h conf.h \ pcb-printf.h ../src_3rd/liblihata/lihata.h ../src_3rd/liblihata/dom.h \ ../src_3rd/liblihata/lihata.h ../src_3rd/liblihata/parser.h \ @@ -6539,13 +6539,13 @@ compat_misc.h gui_act.o: gui_act.c ../config.h board.h ../src_3rd/genht/htsp.h \ ../src_3rd/genht/ht.h global_typedefs.h pcb_bool.h vtroutestyle.h unit.h \ - attrib.h ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h color.h \ + ../src/librnd/core/attrib.h ../src_3rd/genvector/genvector_impl.h \ + ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h ../src_3rd/genvector/gds_char.h layer_grp.h \ rats_patch.h hidlib.h build_run.h conf_core.h conf.h pcb-printf.h \ ../src_3rd/liblihata/lihata.h ../src_3rd/liblihata/dom.h \ @@ -6559,7 +6559,7 @@ vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.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 find.h stub_stroke.h \ - actions.h hid_init.h ../src_3rd/puplug/puplug.h ../src_3rd/puplug/libs.h \ + ../src/librnd/core/actions.h hid_init.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 compat_misc.h event.h layer_ui.h layer_vis.h \ hid_attrib.h operation.h obj_subc_op.h route_style.h @@ -6568,19 +6568,19 @@ ../src_3rd/genlist/gendlist.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 global_typedefs.h \ - pcb_bool.h attrib.h box.h math_helper.h misc_util.h unit.h color.h \ + pcb_bool.h ../src/librnd/core/attrib.h ../src/librnd/core/box.h math_helper.h misc_util.h unit.h ../src/librnd/core/color.h \ ../src_3rd/genvector/genvector_impl.h \ ../src_3rd/genvector/genvector_undef.h compat_misc.h macro.h hid_cam.o: hid_cam.c ../config.h ../src_3rd/genht/htsp.h \ ../src_3rd/genht/ht.h ../src_3rd/genht/hash.h board.h global_typedefs.h \ - pcb_bool.h vtroutestyle.h unit.h attrib.h \ + pcb_bool.h vtroutestyle.h unit.h ../src/librnd/core/attrib.h \ ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h color.h \ + ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h ../src_3rd/genvector/gds_char.h layer_grp.h \ rats_patch.h hidlib.h data.h crosshair.h vtonpoint.h hid.h \ ../src_3rd/liblihata/dom.h ../src_3rd/liblihata/lihata.h \ @@ -6597,7 +6597,7 @@ ../src_3rd/liblihata/tree.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 ../config.h hid.h error.h \ - global_typedefs.h pcb_bool.h attrib.h box.h math_helper.h misc_util.h \ + global_typedefs.h pcb_bool.h ../src/librnd/core/attrib.h ../src/librnd/core/box.h math_helper.h misc_util.h \ unit.h hid_cfg.h paths.h ../src_3rd/genvector/gds_char.h \ ../src_3rd/genvector/genvector_impl.h \ ../src_3rd/genvector/genvector_undef.h safe_fs.h conf.h pcb-printf.h \ @@ -6604,12 +6604,12 @@ ../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 compat_misc.h file_loaded.h hidlib.h \ - hidlib_conf.h color.h + hidlib_conf.h ../src/librnd/core/color.h hid_cfg_action.o: hid_cfg_action.c ../config.h hid_cfg_action.h hid_cfg.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 global_typedefs.h pcb_bool.h hid.h error.h \ - attrib.h box.h math_helper.h misc_util.h unit.h actions.h \ + ../src/librnd/core/attrib.h ../src/librnd/core/box.h math_helper.h misc_util.h unit.h ../src/librnd/core/actions.h \ ../src_3rd/libfungw/fungw.h ../src_3rd/genht/htpp.h hid_cfg_input.o: hid_cfg_input.c ../src_3rd/liblihata/lihata.h \ ../src_3rd/liblihata/tree.h ../src_3rd/liblihata/dom.h \ @@ -6618,11 +6618,11 @@ ../src_3rd/genvector/gds_char.h ../src_3rd/genvector/genvector_impl.h \ ../src_3rd/genvector/genvector_undef.h ../config.h hid_cfg_input.h \ ../src_3rd/genht/htip.h ../src_3rd/genht/htpp.h hid_cfg.h \ - global_typedefs.h pcb_bool.h hid.h error.h attrib.h box.h math_helper.h \ + global_typedefs.h pcb_bool.h hid.h error.h ../src/librnd/core/attrib.h ../src/librnd/core/box.h math_helper.h \ misc_util.h unit.h hid_cfg_action.h hidlib_conf.h conf.h pcb-printf.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 color.h compat_misc.h event.h hidlib.h \ + ../src_3rd/genlist/gendlist.h ../src/librnd/core/color.h compat_misc.h event.h hidlib.h \ crosshair.h vtonpoint.h obj_line.h ../src_3rd/genlist/gendlist.h \ obj_common.h flag.h globalconst.h data_parent.h obj_poly.h polyarea.h \ route.h @@ -6630,7 +6630,7 @@ ../src_3rd/genlist/gendlist.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 global_typedefs.h \ - pcb_bool.h attrib.h box.h math_helper.h misc_util.h unit.h color.h \ + pcb_bool.h ../src/librnd/core/attrib.h ../src/librnd/core/box.h math_helper.h misc_util.h unit.h ../src/librnd/core/color.h \ ../src_3rd/genvector/genvector_impl.h \ ../src_3rd/genvector/genvector_undef.h pcb-printf.h \ ../src_3rd/genvector/gds_char.h hid_dad_spin.h @@ -6638,7 +6638,7 @@ ../src_3rd/genlist/gendlist.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 global_typedefs.h \ - pcb_bool.h attrib.h box.h math_helper.h misc_util.h unit.h color.h \ + pcb_bool.h ../src/librnd/core/attrib.h ../src/librnd/core/box.h math_helper.h misc_util.h unit.h ../src/librnd/core/color.h \ ../src_3rd/genvector/genvector_impl.h \ ../src_3rd/genvector/genvector_undef.h hid_dad.h compat_misc.h \ pcb-printf.h ../src_3rd/genvector/gds_char.h hid_dad_spin.h \ @@ -6650,7 +6650,7 @@ ../src_3rd/genlist/gendlist.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 global_typedefs.h \ - pcb_bool.h attrib.h box.h math_helper.h misc_util.h unit.h color.h \ + pcb_bool.h ../src/librnd/core/attrib.h ../src/librnd/core/box.h math_helper.h misc_util.h unit.h ../src/librnd/core/color.h \ ../src_3rd/genvector/genvector_impl.h \ ../src_3rd/genvector/genvector_undef.h hid_dad.h compat_misc.h \ pcb-printf.h ../src_3rd/genvector/gds_char.h hid_dad_spin.h \ @@ -6659,18 +6659,18 @@ ../src_3rd/genlist/gendlist.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 global_typedefs.h \ - pcb_bool.h attrib.h box.h math_helper.h misc_util.h unit.h color.h \ + pcb_bool.h ../src/librnd/core/attrib.h ../src/librnd/core/box.h math_helper.h misc_util.h unit.h ../src/librnd/core/color.h \ ../src_3rd/genvector/genvector_impl.h \ ../src_3rd/genvector/genvector_undef.h hid_dad.h compat_misc.h \ pcb-printf.h ../src_3rd/genvector/gds_char.h hid_dad_spin.h \ hid_dad_unit.h -hid_dlg.o: hid_dlg.c ../config.h actions.h hid.h \ +hid_dlg.o: hid_dlg.c ../config.h ../src/librnd/core/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 global_typedefs.h pcb_bool.h attrib.h \ - box.h math_helper.h misc_util.h unit.h ../src_3rd/libfungw/fungw.h \ + ../src_3rd/genht/ht.h error.h global_typedefs.h pcb_bool.h ../src/librnd/core/attrib.h \ + ../src/librnd/core/box.h math_helper.h misc_util.h unit.h ../src_3rd/libfungw/fungw.h \ ../src_3rd/genht/htpp.h event.h hidlib.h hid_dad.h compat_misc.h \ - hid_attrib.h ../src_3rd/genlist/gendlist.h color.h \ + hid_attrib.h ../src_3rd/genlist/gendlist.h ../src/librnd/core/color.h \ ../src_3rd/genvector/genvector_impl.h \ ../src_3rd/genvector/genvector_undef.h pcb-printf.h \ ../src_3rd/genvector/gds_char.h hid_dad_spin.h hid_nogui.h @@ -6679,29 +6679,29 @@ ../src_3rd/genvector/genvector_undef.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 global_typedefs.h \ - pcb_bool.h attrib.h box.h math_helper.h misc_util.h unit.h hid_nogui.h \ + pcb_bool.h ../src/librnd/core/attrib.h ../src/librnd/core/box.h math_helper.h misc_util.h unit.h hid_nogui.h \ event.h hidlib.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 actions.h ../src_3rd/libfungw/fungw.h \ + ../src_3rd/puplug/error.h ../src/librnd/core/actions.h ../src_3rd/libfungw/fungw.h \ ../src_3rd/genht/htpp.h hid_attrib.h ../src_3rd/genlist/gendlist.h \ - color.h hid_init.h ../src_3rd/genvector/vtp0.h hid_dad_unit.h hid_dad.h \ + ../src/librnd/core/color.h hid_init.h ../src_3rd/genvector/vtp0.h hid_dad_unit.h hid_dad.h \ compat_misc.h pcb-printf.h ../src_3rd/genvector/gds_char.h \ hid_dad_spin.h compat_inc.h compat_fs.h file_loaded.h hidlib_conf.h \ conf.h ../src_3rd/liblihata/lihata.h list_conf.h \ ../src_3rd/genlist/gentdlist_undef.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h -hid_nogui.o: hid_nogui.c ../config.h actions.h hid.h \ +hid_nogui.o: hid_nogui.c ../config.h ../src/librnd/core/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 global_typedefs.h pcb_bool.h attrib.h \ - box.h math_helper.h misc_util.h unit.h ../src_3rd/libfungw/fungw.h \ + ../src_3rd/genht/ht.h error.h global_typedefs.h pcb_bool.h ../src/librnd/core/attrib.h \ + ../src/librnd/core/box.h math_helper.h misc_util.h unit.h ../src_3rd/libfungw/fungw.h \ ../src_3rd/genht/htpp.h compat_misc.h hidlib_conf.h conf.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/genvector/vtp0.h list_conf.h \ ../src_3rd/genlist/gentdlist_undef.h ../src_3rd/genlist/gentdlist_impl.h \ - ../src_3rd/genlist/gendlist.h color.h + ../src_3rd/genlist/gendlist.h ../src/librnd/core/color.h hidlib.o: hidlib.c ../config.h hidlib_conf.h conf.h global_typedefs.h \ pcb_bool.h pcb-printf.h ../src_3rd/genvector/gds_char.h \ ../src_3rd/genvector/genvector_impl.h \ @@ -6711,8 +6711,8 @@ ../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 color.h tool.h event.h hidlib.h hid.h \ - error.h attrib.h box.h math_helper.h misc_util.h + ../src_3rd/genlist/gendlist.h ../src/librnd/core/color.h tool.h event.h hidlib.h hid.h \ + error.h ../src/librnd/core/attrib.h ../src/librnd/core/box.h math_helper.h misc_util.h hidlib_conf.o: hidlib_conf.c ../config.h conf.h global_typedefs.h \ pcb_bool.h pcb-printf.h ../src_3rd/genvector/gds_char.h \ ../src_3rd/genvector/genvector_impl.h \ @@ -6722,29 +6722,29 @@ ../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 error.h color.h hidlib.h hid.h attrib.h \ - box.h math_helper.h misc_util.h hidlib_conf.h hidlib_conf_fields.h + ../src_3rd/genlist/gendlist.h error.h ../src/librnd/core/color.h hidlib.h hid.h ../src/librnd/core/attrib.h \ + ../src/librnd/core/box.h math_helper.h misc_util.h hidlib_conf.h hidlib_conf_fields.h hidlib_pcb.o: hidlib_pcb.c board.h ../config.h ../src_3rd/genht/htsp.h \ ../src_3rd/genht/ht.h global_typedefs.h pcb_bool.h vtroutestyle.h unit.h \ - attrib.h ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h color.h \ + ../src/librnd/core/attrib.h ../src_3rd/genvector/genvector_impl.h \ + ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h ../src_3rd/genvector/gds_char.h layer_grp.h \ rats_patch.h hidlib.h tool.h ../src_3rd/genvector/vtp0.h ht_subc.o: ht_subc.c ../config.h obj_subc_list.h obj_subc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/libminuid/libminuid.h \ ../src_3rd/genht/htsp.h ../src_3rd/genht/ht.h obj_common.h flag.h \ - globalconst.h attrib.h global_typedefs.h pcb_bool.h data_parent.h \ - layer.h color.h ../src_3rd/genvector/genvector_impl.h \ + globalconst.h ../src/librnd/core/attrib.h global_typedefs.h pcb_bool.h data_parent.h \ + layer.h ../src/librnd/core/color.h ../src_3rd/genvector/genvector_impl.h \ ../src_3rd/genvector/genvector_undef.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gentdlist_impl.h ../src_3rd/genlist/gendlist.h \ ../src_3rd/genlist/gentdlist_undef.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 misc_util.h unit.h \ + ../src_3rd/genht/htip.h ../src/librnd/core/box.h math_helper.h misc_util.h unit.h \ ../src_3rd/genvector/gds_char.h rtree2_compat.h rtree.h \ ../src_3rd/genrtree/genrtree_api.h ht_subc.h ../src_3rd/genht/ht.h \ ../src_3rd/genht/hash.h ../src_3rd/genht/ht.c \ @@ -6752,14 +6752,14 @@ idpath.o: idpath.c ../config.h idpath.h ../src_3rd/genlist/gendlist.h \ ../src_3rd/genlist/gentdlist_impl.h ../src_3rd/genlist/gendlist.h \ ../src_3rd/genlist/gentdlist_undef.h obj_common.h flag.h globalconst.h \ - attrib.h global_typedefs.h pcb_bool.h data_parent.h \ + ../src/librnd/core/attrib.h global_typedefs.h pcb_bool.h data_parent.h \ ../src_3rd/genlist/gentdlist_impl.c board.h ../src_3rd/genht/htsp.h \ ../src_3rd/genht/ht.h vtroutestyle.h unit.h \ ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h color.h obj_arc_list.h \ + ../src_3rd/genvector/genvector_undef.h layer.h ../src/librnd/core/color.h obj_arc_list.h \ obj_arc.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 misc_util.h ../src_3rd/genvector/gds_char.h \ + ../src/librnd/core/box.h math_helper.h misc_util.h ../src_3rd/genvector/gds_char.h \ layer_grp.h rats_patch.h hidlib.h data.h crosshair.h vtonpoint.h hid.h \ ../src_3rd/liblihata/dom.h ../src_3rd/liblihata/lihata.h \ ../src_3rd/liblihata/parser.h error.h route.h buffer.h \ @@ -6778,11 +6778,11 @@ ../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 color.h board.h \ - vtroutestyle.h attrib.h layer.h obj_common.h flag.h data_parent.h \ + ../src_3rd/genlist/gendlist.h globalconst.h ../src/librnd/core/color.h board.h \ + vtroutestyle.h ../src/librnd/core/attrib.h layer.h obj_common.h flag.h data_parent.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 \ + obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h math_helper.h \ misc_util.h layer_grp.h rats_patch.h hidlib.h data.h crosshair.h \ vtonpoint.h hid.h error.h route.h buffer.h ../src_3rd/libfungw/fungw.h \ ../src_3rd/genht/htpp.h obj_rat_list.h obj_rat.h idpath.h \ @@ -6793,16 +6793,16 @@ operation.h undo.h ../src_3rd/libuundo/uundo.h undo_old.h obj_line_op.h \ obj_arc_op.h obj_rat_op.h obj_poly_op.h intersect.o: intersect.c ../config.h intersect.h global_typedefs.h \ - pcb_bool.h box.h math_helper.h misc_util.h unit.h + pcb_bool.h ../src/librnd/core/box.h math_helper.h misc_util.h unit.h layer.o: layer.c ../config.h board.h ../src_3rd/genht/htsp.h \ ../src_3rd/genht/ht.h global_typedefs.h pcb_bool.h vtroutestyle.h unit.h \ - attrib.h ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h color.h \ + ../src/librnd/core/attrib.h ../src_3rd/genvector/genvector_impl.h \ + ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h ../src_3rd/genvector/gds_char.h layer_grp.h \ rats_patch.h hidlib.h data.h crosshair.h vtonpoint.h hid.h \ ../src_3rd/liblihata/dom.h ../src_3rd/liblihata/lihata.h \ @@ -6822,12 +6822,12 @@ ../src_3rd/genvector/genvector_impl.h \ ../src_3rd/genvector/genvector_undef.h board.h ../src_3rd/genht/htsp.h \ ../src_3rd/genht/ht.h global_typedefs.h pcb_bool.h vtroutestyle.h unit.h \ - attrib.h layer.h globalconst.h color.h obj_common.h flag.h data_parent.h \ + ../src/librnd/core/attrib.h layer.h globalconst.h ../src/librnd/core/color.h obj_common.h flag.h data_parent.h \ obj_arc_list.h obj_arc.h ../src_3rd/genlist/gendlist.h \ ../src_3rd/genlist/gentdlist_impl.h ../src_3rd/genlist/gendlist.h \ ../src_3rd/genlist/gentdlist_undef.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 misc_util.h layer_grp.h \ + ../src_3rd/genht/htip.h ../src/librnd/core/box.h math_helper.h misc_util.h layer_grp.h \ rats_patch.h hidlib.h data.h crosshair.h vtonpoint.h hid.h \ ../src_3rd/liblihata/dom.h ../src_3rd/liblihata/lihata.h \ ../src_3rd/liblihata/parser.h error.h route.h buffer.h \ @@ -6840,13 +6840,13 @@ vtpadstack_t.h compat_misc.h layer_addr.h layer_grp.o: layer_grp.c ../config.h board.h ../src_3rd/genht/htsp.h \ ../src_3rd/genht/ht.h global_typedefs.h pcb_bool.h vtroutestyle.h unit.h \ - attrib.h ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h color.h \ + ../src/librnd/core/attrib.h ../src_3rd/genvector/genvector_impl.h \ + ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h ../src_3rd/genvector/gds_char.h layer_grp.h \ rats_patch.h hidlib.h data.h crosshair.h vtonpoint.h hid.h \ ../src_3rd/liblihata/dom.h ../src_3rd/liblihata/lihata.h \ @@ -6861,25 +6861,25 @@ funchash_core_list.h layer_ui.o: layer_ui.c ../config.h board.h ../src_3rd/genht/htsp.h \ ../src_3rd/genht/ht.h global_typedefs.h pcb_bool.h vtroutestyle.h unit.h \ - attrib.h ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h color.h \ + ../src/librnd/core/attrib.h ../src_3rd/genvector/genvector_impl.h \ + ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h ../src_3rd/genvector/gds_char.h layer_grp.h \ rats_patch.h hidlib.h event.h compat_misc.h ../src_3rd/genvector/vtp0.h \ layer_ui.h layer_vis.o: layer_vis.c ../config.h board.h ../src_3rd/genht/htsp.h \ ../src_3rd/genht/ht.h global_typedefs.h pcb_bool.h vtroutestyle.h unit.h \ - attrib.h ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h color.h \ + ../src/librnd/core/attrib.h ../src_3rd/genvector/genvector_impl.h \ + ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h ../src_3rd/genvector/gds_char.h layer_grp.h \ rats_patch.h hidlib.h data.h crosshair.h vtonpoint.h hid.h \ ../src_3rd/liblihata/dom.h ../src_3rd/liblihata/lihata.h \ @@ -6905,14 +6905,14 @@ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.c main.o: main.c ../config.h ../src_3rd/libminuid/libminuid.h board.h \ ../src_3rd/genht/htsp.h ../src_3rd/genht/ht.h global_typedefs.h \ - pcb_bool.h vtroutestyle.h unit.h attrib.h \ + pcb_bool.h vtroutestyle.h unit.h ../src/librnd/core/attrib.h \ ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h color.h \ + ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h ../src_3rd/genvector/gds_char.h layer_grp.h \ rats_patch.h hidlib.h brave.h data.h crosshair.h vtonpoint.h hid.h \ ../src_3rd/liblihata/dom.h ../src_3rd/liblihata/lihata.h \ @@ -6930,17 +6930,17 @@ ../src_3rd/puplug/error.h plug_footprint.h vtlibrary.h plug_import.h \ event.h funchash.h conf_core.h hidlib_conf.h layer_vis.h layer_ui.h \ pcb_minuid.h tool.h netlist.h extobj.h obj_subc_parent.h draw.h pixmap.h \ - actions.h actions_pcb.h hid_init.h compat_misc.h generated_lists.h + ../src/librnd/core/actions.h actions_pcb.h hid_init.h compat_misc.h generated_lists.h main_act.o: main_act.c ../config.h undo.h ../src_3rd/libuundo/uundo.h \ undo_old.h global_typedefs.h pcb_bool.h change.h board.h \ ../src_3rd/genht/htsp.h ../src_3rd/genht/ht.h vtroutestyle.h unit.h \ - attrib.h ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h color.h \ + ../src/librnd/core/attrib.h ../src_3rd/genvector/genvector_impl.h \ + ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h ../src_3rd/genvector/gds_char.h layer_grp.h \ rats_patch.h hidlib.h data.h crosshair.h vtonpoint.h hid.h \ ../src_3rd/liblihata/dom.h ../src_3rd/liblihata/lihata.h \ @@ -6951,7 +6951,7 @@ ../src_3rd/genrtree/genrtree_api.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 actions.h hid_init.h \ + vtpadstack_t.h compat_misc.h ../src/librnd/core/actions.h hid_init.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 conf_core.h conf.h pcb-printf.h \ @@ -6970,11 +6970,11 @@ ../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 color.h board.h \ - vtroutestyle.h attrib.h layer.h obj_common.h flag.h data_parent.h \ + ../src_3rd/genlist/gendlist.h globalconst.h ../src/librnd/core/color.h board.h \ + vtroutestyle.h ../src/librnd/core/attrib.h layer.h obj_common.h flag.h data_parent.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 \ + obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h math_helper.h \ misc_util.h layer_grp.h rats_patch.h hidlib.h data.h crosshair.h \ vtonpoint.h hid.h error.h route.h buffer.h ../src_3rd/libfungw/fungw.h \ ../src_3rd/genht/htpp.h obj_rat_list.h obj_rat.h idpath.h \ @@ -6983,19 +6983,19 @@ ../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 move.h \ select.h operation.h undo.h ../src_3rd/libuundo/uundo.h undo_old.h \ - event.h actions.h compat_misc.h obj_arc_op.h obj_line_op.h obj_text_op.h \ + event.h ../src/librnd/core/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 ../src_3rd/genht/htsp.h \ ../src_3rd/genht/ht.h ../src_3rd/genht/hash.h \ ../src_3rd/genregex/regex_sei.h ../src_3rd/genregex/regex_templ.h \ ../src_3rd/genregex/regex.h board.h global_typedefs.h pcb_bool.h \ - vtroutestyle.h unit.h attrib.h ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h color.h \ + vtroutestyle.h unit.h ../src/librnd/core/attrib.h ../src_3rd/genvector/genvector_impl.h \ + ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h ../src_3rd/genvector/gds_char.h layer_grp.h \ rats_patch.h hidlib.h data.h crosshair.h vtonpoint.h hid.h \ ../src_3rd/liblihata/dom.h ../src_3rd/liblihata/lihata.h \ @@ -7014,7 +7014,7 @@ netlist_act.o: netlist_act.c ../config.h ../src_3rd/genregex/regex_sei.h \ ../src_3rd/genregex/regex_templ.h ../src_3rd/genregex/regex.h \ funchash_core.h funchash.h funchash_core_list.h data.h globalconst.h \ - global_typedefs.h pcb_bool.h layer.h attrib.h color.h \ + global_typedefs.h pcb_bool.h layer.h ../src/librnd/core/attrib.h ../src/librnd/core/color.h \ ../src_3rd/genvector/genvector_impl.h \ ../src_3rd/genvector/genvector_undef.h obj_common.h flag.h data_parent.h \ obj_arc_list.h obj_arc.h ../src_3rd/genlist/gendlist.h \ @@ -7021,7 +7021,7 @@ ../src_3rd/genlist/gentdlist_impl.h ../src_3rd/genlist/gendlist.h \ ../src_3rd/genlist/gentdlist_undef.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 ../src_3rd/genht/ht.h box.h math_helper.h \ + ../src_3rd/genht/htip.h ../src_3rd/genht/ht.h ../src/librnd/core/box.h math_helper.h \ misc_util.h unit.h ../src_3rd/genvector/gds_char.h crosshair.h \ vtonpoint.h hid.h ../src_3rd/liblihata/dom.h \ ../src_3rd/liblihata/lihata.h ../src_3rd/liblihata/parser.h \ @@ -7034,17 +7034,17 @@ ../src_3rd/genvector/vtp0.h vtpadstack.h obj_pstk_shape.h polygon.h \ vtpadstack_t.h data_it.h board.h vtroutestyle.h rats_patch.h hidlib.h \ plug_io.h conf.h pcb-printf.h ../src_3rd/liblihata/lihata.h list_conf.h \ - actions.h compat_misc.h netlist.h find.h obj_term.h search.h \ + ../src/librnd/core/actions.h compat_misc.h netlist.h find.h obj_term.h search.h \ obj_subc_parent.h obj_arc.o: obj_arc.c ../config.h board.h ../src_3rd/genht/htsp.h \ ../src_3rd/genht/ht.h global_typedefs.h pcb_bool.h vtroutestyle.h unit.h \ - attrib.h ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h color.h \ + ../src/librnd/core/attrib.h ../src_3rd/genvector/genvector_impl.h \ + ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h ../src_3rd/genvector/gds_char.h layer_grp.h \ rats_patch.h hidlib.h data.h crosshair.h vtonpoint.h hid.h \ ../src_3rd/liblihata/dom.h ../src_3rd/liblihata/lihata.h \ @@ -7061,7 +7061,7 @@ obj_arc_op.h operation.h obj_subc_parent.h obj_hash.h draw.h \ obj_arc_draw.h obj_arc_list.o: obj_arc_list.c obj_arc_list.h obj_common.h flag.h \ - globalconst.h ../config.h attrib.h global_typedefs.h pcb_bool.h \ + globalconst.h ../config.h ../src/librnd/core/attrib.h global_typedefs.h pcb_bool.h \ data_parent.h obj_arc.h ../src_3rd/genlist/gendlist.h \ ../src_3rd/genlist/gentdlist_impl.h ../src_3rd/genlist/gendlist.h \ ../src_3rd/genlist/gentdlist_undef.h ../src_3rd/genlist/gentdlist_impl.c @@ -7070,7 +7070,7 @@ ../src_3rd/genvector/genvector_impl.h \ ../src_3rd/genvector/genvector_undef.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 attrib.h box.h \ + ../src_3rd/genht/htsp.h ../src_3rd/genht/ht.h error.h ../src/librnd/core/attrib.h ../src/librnd/core/box.h \ math_helper.h misc_util.h unit.h obj_line.h \ ../src_3rd/genlist/gendlist.h obj_common.h flag.h globalconst.h \ data_parent.h obj_poly.h polyarea.h route.h obj_arc.h @@ -7083,9 +7083,9 @@ ../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 color.h flag_str.h flag.h \ - error.h obj_common.h attrib.h data_parent.h obj_arc_ui.h crosshair.h \ - vtonpoint.h hid.h box.h math_helper.h misc_util.h obj_line.h \ + ../src_3rd/genlist/gendlist.h globalconst.h ../src/librnd/core/color.h flag_str.h flag.h \ + error.h obj_common.h ../src/librnd/core/attrib.h data_parent.h obj_arc_ui.h crosshair.h \ + vtonpoint.h hid.h ../src/librnd/core/box.h math_helper.h misc_util.h obj_line.h \ ../src_3rd/genlist/gendlist.h obj_poly.h polyarea.h route.h obj_pstk.h \ layer.h obj_arc_list.h obj_arc.h obj_line_list.h obj_poly_list.h \ obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h \ @@ -7099,14 +7099,14 @@ hidlib.h draw.h obj_line.o: obj_line.c ../config.h undo.h ../src_3rd/libuundo/uundo.h \ undo_old.h global_typedefs.h pcb_bool.h board.h ../src_3rd/genht/htsp.h \ - ../src_3rd/genht/ht.h vtroutestyle.h unit.h attrib.h \ + ../src_3rd/genht/ht.h vtroutestyle.h unit.h ../src/librnd/core/attrib.h \ ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h color.h \ + ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h ../src_3rd/genvector/gds_char.h layer_grp.h \ rats_patch.h hidlib.h data.h crosshair.h vtonpoint.h hid.h \ ../src_3rd/liblihata/dom.h ../src_3rd/liblihata/lihata.h \ @@ -7131,11 +7131,11 @@ ../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 color.h math_helper.h \ - board.h vtroutestyle.h attrib.h layer.h obj_common.h flag.h \ + ../src_3rd/genlist/gendlist.h globalconst.h ../src/librnd/core/color.h math_helper.h \ + board.h vtroutestyle.h ../src/librnd/core/attrib.h layer.h obj_common.h flag.h \ data_parent.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ misc_util.h layer_grp.h rats_patch.h hidlib.h data.h crosshair.h \ vtonpoint.h hid.h error.h route.h buffer.h ../src_3rd/libfungw/fungw.h \ ../src_3rd/genht/htpp.h obj_rat_list.h obj_rat.h idpath.h \ @@ -7145,19 +7145,19 @@ vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h find.h macro.h obj_line_list.o: obj_line_list.c obj_line_list.h obj_line.h \ ../src_3rd/genlist/gendlist.h obj_common.h flag.h globalconst.h \ - ../config.h attrib.h global_typedefs.h pcb_bool.h data_parent.h \ + ../config.h ../src/librnd/core/attrib.h global_typedefs.h pcb_bool.h data_parent.h \ ../src_3rd/genlist/gentdlist_impl.h ../src_3rd/genlist/gendlist.h \ ../src_3rd/genlist/gentdlist_undef.h ../src_3rd/genlist/gentdlist_impl.c obj_pinvia_therm.o: obj_pinvia_therm.c ../config.h board.h \ ../src_3rd/genht/htsp.h ../src_3rd/genht/ht.h global_typedefs.h \ - pcb_bool.h vtroutestyle.h unit.h attrib.h \ + pcb_bool.h vtroutestyle.h unit.h ../src/librnd/core/attrib.h \ ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h color.h \ + ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h ../src_3rd/genvector/gds_char.h layer_grp.h \ rats_patch.h hidlib.h polygon.h rtree.h \ ../src_3rd/genrtree/genrtree_api.h rtree2_compat.h polygon1_gen.h \ @@ -7164,13 +7164,13 @@ obj_pinvia_therm.h obj_poly.o: obj_poly.c ../config.h board.h ../src_3rd/genht/htsp.h \ ../src_3rd/genht/ht.h global_typedefs.h pcb_bool.h vtroutestyle.h unit.h \ - attrib.h ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h color.h \ + ../src/librnd/core/attrib.h ../src_3rd/genvector/genvector_impl.h \ + ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h ../src_3rd/genvector/gds_char.h layer_grp.h \ rats_patch.h hidlib.h data.h crosshair.h vtonpoint.h hid.h \ ../src_3rd/liblihata/dom.h ../src_3rd/liblihata/lihata.h \ @@ -7188,19 +7188,19 @@ obj_poly_draw.h draw.h obj_subc_parent.h obj_hash.h \ obj_poly_draw_helper.c obj_poly_list.o: obj_poly_list.c obj_poly_list.h obj_poly.h ../config.h \ - ../src_3rd/genlist/gendlist.h obj_common.h flag.h globalconst.h attrib.h \ + ../src_3rd/genlist/gendlist.h obj_common.h flag.h globalconst.h ../src/librnd/core/attrib.h \ global_typedefs.h pcb_bool.h data_parent.h polyarea.h \ ../src_3rd/genlist/gentdlist_impl.h ../src_3rd/genlist/gendlist.h \ ../src_3rd/genlist/gentdlist_undef.h ../src_3rd/genlist/gentdlist_impl.c obj_pstk.o: obj_pstk.c ../config.h board.h ../src_3rd/genht/htsp.h \ ../src_3rd/genht/ht.h global_typedefs.h pcb_bool.h vtroutestyle.h unit.h \ - attrib.h ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h color.h \ + ../src/librnd/core/attrib.h ../src_3rd/genvector/genvector_impl.h \ + ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h ../src_3rd/genvector/gds_char.h layer_grp.h \ rats_patch.h hidlib.h conf_core.h conf.h pcb-printf.h \ ../src_3rd/liblihata/lihata.h ../src_3rd/liblihata/dom.h \ @@ -7220,12 +7220,12 @@ ../src_3rd/genlist/gendlist.h ../src_3rd/genvector/vtp0.h \ ../src_3rd/genvector/genvector_impl.h \ ../src_3rd/genvector/genvector_undef.h obj_common.h flag.h globalconst.h \ - attrib.h global_typedefs.h pcb_bool.h data_parent.h layer.h color.h \ + ../src/librnd/core/attrib.h global_typedefs.h pcb_bool.h data_parent.h layer.h ../src/librnd/core/color.h \ obj_arc_list.h obj_arc.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.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 \ - ../src_3rd/genht/ht.h box.h math_helper.h misc_util.h unit.h \ + ../src_3rd/genht/ht.h ../src/librnd/core/box.h math_helper.h misc_util.h unit.h \ ../src_3rd/genvector/gds_char.h obj_pstk_shape.h polygon.h rtree.h \ ../src_3rd/genrtree/genrtree_api.h rtree2_compat.h vtpadstack_t.h \ obj_pstk_inlines.h board.h ../src_3rd/genht/htsp.h vtroutestyle.h \ @@ -7238,24 +7238,24 @@ ../src_3rd/genht/hash.h obj_pstk_list.h vtpadstack.h thermal.h \ polygon1_gen.h funchash_core.h funchash.h funchash_core_list.h \ conf_core.h conf.h pcb-printf.h ../src_3rd/liblihata/lihata.h \ - list_conf.h actions.h search.h data_list.h + list_conf.h ../src/librnd/core/actions.h search.h data_list.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 \ ../src_3rd/genvector/genvector_undef.h obj_common.h flag.h globalconst.h \ - ../config.h attrib.h global_typedefs.h pcb_bool.h data_parent.h \ + ../config.h ../src/librnd/core/attrib.h global_typedefs.h pcb_bool.h data_parent.h \ ../src_3rd/genlist/gentdlist_impl.h ../src_3rd/genlist/gendlist.h \ ../src_3rd/genlist/gentdlist_undef.h ../src_3rd/genlist/gentdlist_impl.c obj_pstk_proto.o: obj_pstk_proto.c ../config.h board.h \ ../src_3rd/genht/htsp.h ../src_3rd/genht/ht.h global_typedefs.h \ - pcb_bool.h vtroutestyle.h unit.h attrib.h \ + pcb_bool.h vtroutestyle.h unit.h ../src/librnd/core/attrib.h \ ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h color.h \ + ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h ../src_3rd/genvector/gds_char.h layer_grp.h \ rats_patch.h hidlib.h buffer.h ../src_3rd/libfungw/fungw.h \ ../src_3rd/genht/htpp.h compat_misc.h conf_core.h conf.h pcb-printf.h \ @@ -7272,13 +7272,13 @@ polygon_offs.h obj_rat.o: obj_rat.c ../config.h board.h ../src_3rd/genht/htsp.h \ ../src_3rd/genht/ht.h global_typedefs.h pcb_bool.h vtroutestyle.h unit.h \ - attrib.h ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h color.h \ + ../src/librnd/core/attrib.h ../src_3rd/genvector/genvector_impl.h \ + ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h ../src_3rd/genvector/gds_char.h layer_grp.h \ rats_patch.h hidlib.h data.h crosshair.h vtonpoint.h hid.h \ ../src_3rd/liblihata/dom.h ../src_3rd/liblihata/lihata.h \ @@ -7294,7 +7294,7 @@ ../src_3rd/libuundo/uundo.h undo_old.h search.h obj_line_draw.h draw.h \ obj_rat_op.h operation.h obj_rat_draw.h obj_rat_list.o: obj_rat_list.c ../config.h layer_grp.h layer.h \ - globalconst.h global_typedefs.h pcb_bool.h attrib.h color.h \ + globalconst.h global_typedefs.h pcb_bool.h ../src/librnd/core/attrib.h ../src/librnd/core/color.h \ ../src_3rd/genvector/genvector_impl.h \ ../src_3rd/genvector/genvector_undef.h obj_common.h flag.h data_parent.h \ obj_arc_list.h obj_arc.h ../src_3rd/genlist/gendlist.h \ @@ -7301,20 +7301,20 @@ ../src_3rd/genlist/gentdlist_impl.h ../src_3rd/genlist/gendlist.h \ ../src_3rd/genlist/gentdlist_undef.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 ../src_3rd/genht/ht.h box.h math_helper.h \ + ../src_3rd/genht/htip.h ../src_3rd/genht/ht.h ../src/librnd/core/box.h math_helper.h \ misc_util.h unit.h ../src_3rd/genvector/gds_char.h obj_rat.h idpath.h \ obj_rat_list.h ../src_3rd/genlist/gentdlist_impl.c obj_subc.o: obj_subc.c ../config.h ../src_3rd/genvector/vtp0.h \ ../src_3rd/genvector/genvector_impl.h \ ../src_3rd/genvector/genvector_undef.h buffer.h obj_common.h flag.h \ - globalconst.h attrib.h global_typedefs.h pcb_bool.h data_parent.h \ + globalconst.h ../src/librnd/core/attrib.h global_typedefs.h pcb_bool.h data_parent.h \ ../src_3rd/libfungw/fungw.h ../src_3rd/genht/htsp.h \ ../src_3rd/genht/ht.h ../src_3rd/genht/htpp.h board.h vtroutestyle.h \ - unit.h layer.h color.h obj_arc_list.h obj_arc.h \ + unit.h layer.h ../src/librnd/core/color.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h ../src_3rd/genvector/gds_char.h layer_grp.h \ rats_patch.h hidlib.h crosshair.h vtonpoint.h hid.h \ ../src_3rd/liblihata/dom.h ../src_3rd/liblihata/lihata.h \ @@ -7331,7 +7331,7 @@ pcb-printf.h ../src_3rd/liblihata/lihata.h list_conf.h hidlib_conf.h \ hid_inlines.h extobj.h obj_subc_hash.o: obj_subc_hash.c ../config.h data.h globalconst.h \ - global_typedefs.h pcb_bool.h layer.h attrib.h color.h \ + global_typedefs.h pcb_bool.h layer.h ../src/librnd/core/attrib.h ../src/librnd/core/color.h \ ../src_3rd/genvector/genvector_impl.h \ ../src_3rd/genvector/genvector_undef.h obj_common.h flag.h data_parent.h \ obj_arc_list.h obj_arc.h ../src_3rd/genlist/gendlist.h \ @@ -7338,7 +7338,7 @@ ../src_3rd/genlist/gentdlist_impl.h ../src_3rd/genlist/gendlist.h \ ../src_3rd/genlist/gentdlist_undef.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 ../src_3rd/genht/ht.h box.h math_helper.h \ + ../src_3rd/genht/htip.h ../src_3rd/genht/ht.h ../src/librnd/core/box.h math_helper.h \ misc_util.h unit.h ../src_3rd/genvector/gds_char.h crosshair.h \ vtonpoint.h hid.h ../src_3rd/liblihata/dom.h \ ../src_3rd/liblihata/lihata.h ../src_3rd/liblihata/parser.h \ @@ -7353,13 +7353,13 @@ obj_subc_list.o: obj_subc_list.c ../config.h obj_subc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/libminuid/libminuid.h \ ../src_3rd/genht/htsp.h ../src_3rd/genht/ht.h obj_common.h flag.h \ - globalconst.h attrib.h global_typedefs.h pcb_bool.h data_parent.h \ - layer.h color.h ../src_3rd/genvector/genvector_impl.h \ + globalconst.h ../src/librnd/core/attrib.h global_typedefs.h pcb_bool.h data_parent.h \ + layer.h ../src/librnd/core/color.h ../src_3rd/genvector/genvector_impl.h \ ../src_3rd/genvector/genvector_undef.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gentdlist_impl.h ../src_3rd/genlist/gendlist.h \ ../src_3rd/genlist/gentdlist_undef.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 misc_util.h unit.h \ + ../src_3rd/genht/htip.h ../src/librnd/core/box.h math_helper.h misc_util.h unit.h \ ../src_3rd/genvector/gds_char.h rtree2_compat.h rtree.h \ ../src_3rd/genrtree/genrtree_api.h obj_subc_list.h ht_subc.h \ ../src_3rd/genht/ht.h ../src_3rd/genht/hash.h \ @@ -7368,13 +7368,13 @@ ../src_3rd/genht/ht.h ../src_3rd/genvector/vtp0.h \ ../src_3rd/genvector/genvector_impl.h \ ../src_3rd/genvector/genvector_undef.h change.h board.h \ - global_typedefs.h pcb_bool.h vtroutestyle.h unit.h attrib.h layer.h \ - globalconst.h color.h obj_common.h flag.h data_parent.h obj_arc_list.h \ + global_typedefs.h pcb_bool.h vtroutestyle.h unit.h ../src/librnd/core/attrib.h layer.h \ + globalconst.h ../src/librnd/core/color.h obj_common.h flag.h data_parent.h obj_arc_list.h \ obj_arc.h ../src_3rd/genlist/gendlist.h \ ../src_3rd/genlist/gentdlist_impl.h ../src_3rd/genlist/gendlist.h \ ../src_3rd/genlist/gentdlist_undef.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 misc_util.h \ + ../src_3rd/genht/htip.h ../src/librnd/core/box.h math_helper.h misc_util.h \ ../src_3rd/genvector/gds_char.h layer_grp.h rats_patch.h hidlib.h \ compat_misc.h obj_term.h obj_subc_parent.h data.h crosshair.h \ vtonpoint.h hid.h ../src_3rd/liblihata/dom.h \ @@ -7388,13 +7388,13 @@ ../src_3rd/libuundo/uundo.h undo_old.h macro.h obj_text.o: obj_text.c ../config.h rotate.h global_typedefs.h pcb_bool.h \ compat_misc.h board.h ../src_3rd/genht/htsp.h ../src_3rd/genht/ht.h \ - vtroutestyle.h unit.h attrib.h ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h color.h \ + vtroutestyle.h unit.h ../src/librnd/core/attrib.h ../src_3rd/genvector/genvector_impl.h \ + ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h ../src_3rd/genvector/gds_char.h layer_grp.h \ rats_patch.h hidlib.h data.h crosshair.h vtonpoint.h hid.h \ ../src_3rd/liblihata/dom.h ../src_3rd/liblihata/lihata.h \ @@ -7411,12 +7411,12 @@ obj_line_draw.h obj_text_draw.h conf_core.h conf.h pcb-printf.h \ ../src_3rd/liblihata/lihata.h list_conf.h obj_text_list.o: obj_text_list.c obj_poly_list.h obj_poly.h ../config.h \ - ../src_3rd/genlist/gendlist.h obj_common.h flag.h globalconst.h attrib.h \ + ../src_3rd/genlist/gendlist.h obj_common.h flag.h globalconst.h ../src/librnd/core/attrib.h \ global_typedefs.h pcb_bool.h data_parent.h polyarea.h \ ../src_3rd/genlist/gentdlist_impl.h ../src_3rd/genlist/gendlist.h \ ../src_3rd/genlist/gentdlist_undef.h obj_arc_list.h obj_arc.h \ obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h \ - ../src_3rd/genht/ht.h box.h math_helper.h misc_util.h unit.h \ + ../src_3rd/genht/ht.h ../src/librnd/core/box.h math_helper.h misc_util.h unit.h \ ../src_3rd/genvector/gds_char.h ../src_3rd/genvector/genvector_impl.h \ ../src_3rd/genvector/genvector_undef.h \ ../src_3rd/genlist/gentdlist_impl.c @@ -7429,11 +7429,11 @@ ../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 color.h hidlib_conf.h data.h \ - layer.h attrib.h obj_common.h flag.h data_parent.h obj_arc_list.h \ + ../src_3rd/genlist/gendlist.h globalconst.h ../src/librnd/core/color.h hidlib_conf.h data.h \ + layer.h ../src/librnd/core/attrib.h obj_common.h flag.h data_parent.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 misc_util.h crosshair.h \ + ../src_3rd/genht/htip.h ../src/librnd/core/box.h math_helper.h misc_util.h crosshair.h \ vtonpoint.h hid.h error.h route.h buffer.h ../src_3rd/libfungw/fungw.h \ ../src_3rd/genht/htpp.h obj_rat_list.h obj_rat.h layer_grp.h idpath.h \ obj_subc_list.h obj_subc.h ../src_3rd/libminuid/libminuid.h \ @@ -7443,16 +7443,16 @@ vtroutestyle.h rats_patch.h hidlib.h tool.h change.h undo.h \ ../src_3rd/libuundo/uundo.h undo_old.h event.h funchash_core.h \ funchash.h funchash_core_list.h search.h draw.h move.h remove.h \ - compat_misc.h layer_vis.h operation.h macro.h rotate.h actions.h + compat_misc.h layer_vis.h operation.h macro.h rotate.h ../src/librnd/core/actions.h operation.o: operation.c ../config.h operation.h global_typedefs.h \ pcb_bool.h board.h ../src_3rd/genht/htsp.h ../src_3rd/genht/ht.h \ - vtroutestyle.h unit.h attrib.h ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h color.h \ + vtroutestyle.h unit.h ../src/librnd/core/attrib.h ../src_3rd/genvector/genvector_impl.h \ + ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h ../src_3rd/genvector/gds_char.h layer_grp.h \ rats_patch.h hidlib.h data.h crosshair.h vtonpoint.h hid.h \ ../src_3rd/liblihata/dom.h ../src_3rd/liblihata/lihata.h \ @@ -7475,11 +7475,11 @@ ../src_3rd/puplug/config.h ../src_3rd/puplug/libs.h \ ../src_3rd/genvector/vtp0.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 attrib.h box.h \ + ../src_3rd/genht/htsp.h ../src_3rd/genht/ht.h ../src/librnd/core/attrib.h ../src/librnd/core/box.h \ math_helper.h misc_util.h unit.h hidlib_conf.h conf.h pcb-printf.h \ ../src_3rd/liblihata/lihata.h list_conf.h \ ../src_3rd/genlist/gentdlist_undef.h ../src_3rd/genlist/gentdlist_impl.h \ - ../src_3rd/genlist/gendlist.h color.h + ../src_3rd/genlist/gendlist.h ../src/librnd/core/color.h pcb-printf.o: pcb-printf.c ../config.h pcb-printf.h \ ../src_3rd/genvector/gds_char.h ../src_3rd/genvector/genvector_impl.h \ ../src_3rd/genvector/genvector_undef.h unit.h global_typedefs.h \ @@ -7496,13 +7496,13 @@ plug_footprint.o: plug_footprint.c ../config.h plug_footprint.h \ vtlibrary.h ../src_3rd/genvector/genvector_impl.h \ ../src_3rd/genvector/genvector_undef.h data.h globalconst.h \ - global_typedefs.h pcb_bool.h layer.h attrib.h color.h obj_common.h \ + global_typedefs.h pcb_bool.h layer.h ../src/librnd/core/attrib.h ../src/librnd/core/color.h obj_common.h \ flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.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 \ - ../src_3rd/genht/ht.h box.h math_helper.h misc_util.h unit.h \ + ../src_3rd/genht/ht.h ../src/librnd/core/box.h math_helper.h misc_util.h unit.h \ ../src_3rd/genvector/gds_char.h crosshair.h vtonpoint.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 route.h \ @@ -7517,14 +7517,14 @@ ../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 conf_core.h compat_misc.h event.h hidlib.h -plug_footprint_act.o: plug_footprint_act.c ../config.h actions.h hid.h \ +plug_footprint_act.o: plug_footprint_act.c ../config.h ../src/librnd/core/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 global_typedefs.h pcb_bool.h attrib.h \ - box.h math_helper.h misc_util.h unit.h ../src_3rd/libfungw/fungw.h \ + ../src_3rd/genht/ht.h error.h global_typedefs.h pcb_bool.h ../src/librnd/core/attrib.h \ + ../src/librnd/core/box.h math_helper.h misc_util.h unit.h ../src_3rd/libfungw/fungw.h \ ../src_3rd/genht/htpp.h board.h vtroutestyle.h \ ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h color.h \ + ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.h \ @@ -7548,7 +7548,7 @@ ../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 color.h plugins.h \ + ../src_3rd/genlist/gendlist.h globalconst.h ../src/librnd/core/color.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 plug_import.h error.h \ @@ -7562,11 +7562,11 @@ ../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 color.h hidlib_conf.h \ - change.h board.h vtroutestyle.h attrib.h layer.h obj_common.h flag.h \ + ../src_3rd/genlist/gendlist.h globalconst.h ../src/librnd/core/color.h hidlib_conf.h \ + change.h board.h vtroutestyle.h ../src/librnd/core/attrib.h layer.h obj_common.h flag.h \ data_parent.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h layer_grp.h rats_patch.h hidlib.h data.h \ crosshair.h vtonpoint.h hid.h error.h route.h buffer.h \ ../src_3rd/libfungw/fungw.h ../src_3rd/genht/htpp.h obj_rat_list.h \ @@ -7575,7 +7575,7 @@ ../src_3rd/genrtree/genrtree_api.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 \ - actions.h plugins.h ../src_3rd/puplug/puplug.h ../src_3rd/puplug/libs.h \ + ../src/librnd/core/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 event.h compat_misc.h \ route_style.h compat_fs.h compat_lrealpath.h layer_vis.h safe_fs.h \ @@ -7585,11 +7585,11 @@ ../src_3rd/puplug/config.h ../src_3rd/puplug/libs.h \ ../src_3rd/puplug/error.h ../config.h ../src_3rd/genvector/gds_char.h \ ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h compat_misc.h actions.h hid.h \ + ../src_3rd/genvector/genvector_undef.h compat_misc.h ../src/librnd/core/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 global_typedefs.h pcb_bool.h attrib.h \ - box.h math_helper.h misc_util.h unit.h ../src_3rd/libfungw/fungw.h \ + ../src_3rd/genht/ht.h error.h global_typedefs.h pcb_bool.h ../src/librnd/core/attrib.h \ + ../src/librnd/core/box.h math_helper.h misc_util.h unit.h ../src_3rd/libfungw/fungw.h \ ../src_3rd/genht/htpp.h polygon.o: polygon.c ../config.h conf_core.h conf.h global_typedefs.h \ pcb_bool.h pcb-printf.h ../src_3rd/genvector/gds_char.h \ @@ -7600,11 +7600,11 @@ ../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 color.h board.h \ - vtroutestyle.h attrib.h layer.h obj_common.h flag.h data_parent.h \ + ../src_3rd/genlist/gendlist.h globalconst.h ../src/librnd/core/color.h board.h \ + vtroutestyle.h ../src/librnd/core/attrib.h layer.h obj_common.h flag.h data_parent.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 \ + obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h math_helper.h \ misc_util.h layer_grp.h rats_patch.h hidlib.h data.h crosshair.h \ vtonpoint.h hid.h error.h route.h buffer.h ../src_3rd/libfungw/fungw.h \ ../src_3rd/genht/htpp.h obj_rat_list.h obj_rat.h idpath.h \ @@ -7620,7 +7620,7 @@ pcb-printf.h ../src_3rd/genvector/gds_char.h \ ../src_3rd/genvector/genvector_impl.h \ ../src_3rd/genvector/genvector_undef.h unit.h polyarea.h obj_common.h \ - flag.h globalconst.h attrib.h data_parent.h macro.h box.h misc_util.h \ + flag.h globalconst.h ../src/librnd/core/attrib.h data_parent.h macro.h ../src/librnd/core/box.h misc_util.h \ rtree2_compat.h polygon_selfi.c polygon_selfi.h \ ../src_3rd/genvector/vtp0.h polygon1_gen.o: polygon1_gen.c ../config.h global_typedefs.h pcb_bool.h \ @@ -7634,11 +7634,11 @@ ../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 color.h board.h vtroutestyle.h attrib.h \ + ../src_3rd/genlist/gendlist.h ../src/librnd/core/color.h board.h vtroutestyle.h ../src/librnd/core/attrib.h \ layer.h globalconst.h obj_common.h flag.h data_parent.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 misc_util.h layer_grp.h \ + ../src_3rd/genht/htip.h ../src/librnd/core/box.h math_helper.h misc_util.h layer_grp.h \ rats_patch.h hidlib.h data.h crosshair.h vtonpoint.h hid.h error.h \ route.h buffer.h ../src_3rd/libfungw/fungw.h ../src_3rd/genht/htpp.h \ obj_rat_list.h obj_rat.h idpath.h obj_subc_list.h obj_subc.h \ @@ -7647,7 +7647,7 @@ ../src_3rd/genht/hash.h obj_pstk_list.h obj_pstk.h vtpadstack.h \ obj_pstk_shape.h polygon.h vtpadstack_t.h undo.h \ ../src_3rd/libuundo/uundo.h undo_old.h funchash_core.h funchash.h \ - funchash_core_list.h draw.h search.h tool.h actions.h + funchash_core_list.h draw.h search.h tool.h ../src/librnd/core/actions.h rats_act.o: rats_act.c ../config.h conf_core.h conf.h global_typedefs.h \ pcb_bool.h pcb-printf.h ../src_3rd/genvector/gds_char.h \ ../src_3rd/genvector/genvector_impl.h \ @@ -7657,11 +7657,11 @@ ../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 color.h board.h \ - vtroutestyle.h attrib.h layer.h obj_common.h flag.h data_parent.h \ + ../src_3rd/genlist/gendlist.h globalconst.h ../src/librnd/core/color.h board.h \ + vtroutestyle.h ../src/librnd/core/attrib.h layer.h obj_common.h flag.h data_parent.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 \ + obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h math_helper.h \ misc_util.h layer_grp.h rats_patch.h hidlib.h data.h crosshair.h \ vtonpoint.h hid.h error.h route.h buffer.h ../src_3rd/libfungw/fungw.h \ ../src_3rd/genht/htpp.h obj_rat_list.h obj_rat.h idpath.h \ @@ -7670,20 +7670,20 @@ ../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 undo.h \ ../src_3rd/libuundo/uundo.h undo_old.h find.h remove.h funchash_core.h \ - funchash.h funchash_core_list.h actions.h netlist.h draw.h \ + funchash.h funchash_core_list.h ../src/librnd/core/actions.h netlist.h draw.h \ obj_rat_draw.h rats_patch.o: rats_patch.c rats_patch.h board.h ../config.h \ ../src_3rd/genht/htsp.h ../src_3rd/genht/ht.h global_typedefs.h \ - pcb_bool.h vtroutestyle.h unit.h attrib.h \ + pcb_bool.h vtroutestyle.h unit.h ../src/librnd/core/attrib.h \ ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h color.h \ + ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h ../src_3rd/genvector/gds_char.h layer_grp.h \ - hidlib.h ../src_3rd/genht/hash.h actions.h hid.h \ + hidlib.h ../src_3rd/genht/hash.h ../src/librnd/core/actions.h hid.h \ ../src_3rd/liblihata/dom.h ../src_3rd/liblihata/lihata.h \ ../src_3rd/liblihata/parser.h error.h ../src_3rd/libfungw/fungw.h \ ../src_3rd/genht/htpp.h data.h crosshair.h vtonpoint.h route.h buffer.h \ @@ -7704,11 +7704,11 @@ ../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 color.h board.h \ - vtroutestyle.h attrib.h layer.h obj_common.h flag.h data_parent.h \ + ../src_3rd/genlist/gendlist.h globalconst.h ../src/librnd/core/color.h board.h \ + vtroutestyle.h ../src/librnd/core/attrib.h layer.h obj_common.h flag.h data_parent.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 \ + obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h math_helper.h \ misc_util.h layer_grp.h rats_patch.h hidlib.h draw.h hid.h error.h \ extobj.h data.h crosshair.h vtonpoint.h route.h buffer.h \ ../src_3rd/libfungw/fungw.h ../src_3rd/genht/htpp.h obj_rat_list.h \ @@ -7721,7 +7721,7 @@ obj_arc_op.h obj_line_op.h obj_poly_op.h obj_text_op.h obj_rat_op.h \ obj_subc_op.h obj_pstk_op.h remove_act.o: remove_act.c ../config.h data.h globalconst.h \ - global_typedefs.h pcb_bool.h layer.h attrib.h color.h \ + global_typedefs.h pcb_bool.h layer.h ../src/librnd/core/attrib.h ../src/librnd/core/color.h \ ../src_3rd/genvector/genvector_impl.h \ ../src_3rd/genvector/genvector_undef.h obj_common.h flag.h data_parent.h \ obj_arc_list.h obj_arc.h ../src_3rd/genlist/gendlist.h \ @@ -7728,7 +7728,7 @@ ../src_3rd/genlist/gentdlist_impl.h ../src_3rd/genlist/gendlist.h \ ../src_3rd/genlist/gentdlist_undef.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 ../src_3rd/genht/ht.h box.h math_helper.h \ + ../src_3rd/genht/htip.h ../src_3rd/genht/ht.h ../src/librnd/core/box.h math_helper.h \ misc_util.h unit.h ../src_3rd/genvector/gds_char.h crosshair.h \ vtonpoint.h hid.h ../src_3rd/liblihata/dom.h \ ../src_3rd/liblihata/lihata.h ../src_3rd/liblihata/parser.h \ @@ -7739,17 +7739,17 @@ ../src_3rd/genrtree/genrtree_api.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 actions.h tool.h remove.h board.h vtroutestyle.h \ + vtpadstack_t.h ../src/librnd/core/actions.h tool.h remove.h board.h vtroutestyle.h \ rats_patch.h hidlib.h funchash_core.h funchash.h funchash_core_list.h rotate.o: rotate.c ../config.h board.h ../src_3rd/genht/htsp.h \ ../src_3rd/genht/ht.h global_typedefs.h pcb_bool.h vtroutestyle.h unit.h \ - attrib.h ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h color.h \ + ../src/librnd/core/attrib.h ../src_3rd/genvector/genvector_impl.h \ + ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h ../src_3rd/genvector/gds_char.h layer_grp.h \ rats_patch.h hidlib.h data.h crosshair.h vtonpoint.h hid.h \ ../src_3rd/liblihata/dom.h ../src_3rd/liblihata/lihata.h \ @@ -7774,12 +7774,12 @@ ../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 color.h hidlib_conf.h \ - math_helper.h board.h vtroutestyle.h attrib.h layer.h obj_common.h \ + ../src_3rd/genlist/gendlist.h globalconst.h ../src/librnd/core/color.h hidlib_conf.h \ + math_helper.h board.h vtroutestyle.h ../src/librnd/core/attrib.h layer.h obj_common.h \ flag.h data_parent.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 misc_util.h layer_grp.h rats_patch.h \ + ../src_3rd/genht/htip.h ../src/librnd/core/box.h misc_util.h layer_grp.h rats_patch.h \ hidlib.h data.h crosshair.h vtonpoint.h hid.h error.h route.h buffer.h \ ../src_3rd/libfungw/fungw.h ../src_3rd/genht/htpp.h obj_rat_list.h \ obj_rat.h idpath.h obj_subc_list.h obj_subc.h \ @@ -7793,7 +7793,7 @@ route_style.o: route_style.c ../config.h pcb-printf.h \ ../src_3rd/genvector/gds_char.h ../src_3rd/genvector/genvector_impl.h \ ../src_3rd/genvector/genvector_undef.h unit.h global_typedefs.h \ - pcb_bool.h route_style.h vtroutestyle.h attrib.h error.h conf.h \ + pcb_bool.h route_style.h vtroutestyle.h ../src/librnd/core/attrib.h error.h conf.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 \ @@ -7800,10 +7800,10 @@ ../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 misc_util.h board.h layer.h globalconst.h \ - color.h obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ + ../src/librnd/core/color.h obj_common.h flag.h data_parent.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 layer_grp.h rats_patch.h \ + ../src_3rd/genht/htip.h ../src/librnd/core/box.h math_helper.h layer_grp.h rats_patch.h \ hidlib.h funchash_core.h funchash.h funchash_core_list.h conf_core.h rtree.o: rtree.c ../config.h unit.h global_typedefs.h pcb_bool.h rtree.h \ ../src_3rd/genrtree/genrtree_api.h ../src_3rd/genrtree/genrtree_impl.h \ @@ -7819,7 +7819,7 @@ ../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 actions.h hid.h error.h attrib.h box.h \ + ../src_3rd/genlist/gendlist.h ../src/librnd/core/actions.h hid.h error.h ../src/librnd/core/attrib.h ../src/librnd/core/box.h \ math_helper.h misc_util.h ../src_3rd/libfungw/fungw.h \ ../src_3rd/genht/htpp.h compat_fs.h compat_misc.h globalconst.h paths.h \ hidlib.h @@ -7832,11 +7832,11 @@ ../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 color.h board.h \ - vtroutestyle.h attrib.h layer.h obj_common.h flag.h data_parent.h \ + ../src_3rd/genlist/gendlist.h globalconst.h ../src/librnd/core/color.h board.h \ + vtroutestyle.h ../src/librnd/core/attrib.h layer.h obj_common.h flag.h data_parent.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 \ + obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h math_helper.h \ misc_util.h layer_grp.h rats_patch.h hidlib.h data.h crosshair.h \ vtonpoint.h hid.h error.h route.h buffer.h ../src_3rd/libfungw/fungw.h \ ../src_3rd/genht/htpp.h obj_rat_list.h obj_rat.h idpath.h \ @@ -7854,11 +7854,11 @@ ../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 color.h hidlib_conf.h \ - board.h vtroutestyle.h attrib.h layer.h obj_common.h flag.h \ + ../src_3rd/genlist/gendlist.h globalconst.h ../src/librnd/core/color.h hidlib_conf.h \ + board.h vtroutestyle.h ../src/librnd/core/attrib.h layer.h obj_common.h flag.h \ data_parent.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h layer_grp.h rats_patch.h hidlib.h data.h \ crosshair.h vtonpoint.h hid.h error.h route.h buffer.h \ ../src_3rd/libfungw/fungw.h ../src_3rd/genht/htpp.h obj_rat_list.h \ @@ -7881,11 +7881,11 @@ ../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 color.h board.h \ - vtroutestyle.h attrib.h layer.h obj_common.h flag.h data_parent.h \ + ../src_3rd/genlist/gendlist.h globalconst.h ../src/librnd/core/color.h board.h \ + vtroutestyle.h ../src/librnd/core/attrib.h layer.h obj_common.h flag.h data_parent.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 \ + obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h math_helper.h \ misc_util.h layer_grp.h rats_patch.h hidlib.h data.h crosshair.h \ vtonpoint.h hid.h error.h route.h buffer.h ../src_3rd/libfungw/fungw.h \ ../src_3rd/genht/htpp.h obj_rat_list.h obj_rat.h idpath.h \ @@ -7895,13 +7895,13 @@ vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.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 move.h \ - grid.h hid_attrib.h compat_misc.h actions.h + grid.h hid_attrib.h compat_misc.h ../src/librnd/core/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 \ - ../src_3rd/genht/ht.h error.h global_typedefs.h pcb_bool.h attrib.h \ - box.h math_helper.h misc_util.h unit.h draw.h layer.h globalconst.h \ - color.h ../src_3rd/genvector/genvector_impl.h \ + ../src_3rd/genht/ht.h error.h global_typedefs.h pcb_bool.h ../src/librnd/core/attrib.h \ + ../src/librnd/core/box.h math_helper.h misc_util.h unit.h draw.h layer.h globalconst.h \ + ../src/librnd/core/color.h ../src_3rd/genvector/genvector_impl.h \ ../src_3rd/genvector/genvector_undef.h obj_common.h flag.h data_parent.h \ obj_arc_list.h obj_arc.h ../src_3rd/genlist/gendlist.h \ ../src_3rd/genlist/gentdlist_impl.h ../src_3rd/genlist/gendlist.h \ @@ -7911,14 +7911,14 @@ stub_stroke.o: stub_stroke.c error.h global_typedefs.h ../config.h \ pcb_bool.h thermal.o: thermal.c ../config.h thermal.h obj_common.h flag.h \ - globalconst.h attrib.h global_typedefs.h pcb_bool.h data_parent.h \ - layer.h color.h ../src_3rd/genvector/genvector_impl.h \ + globalconst.h ../src/librnd/core/attrib.h global_typedefs.h pcb_bool.h data_parent.h \ + layer.h ../src/librnd/core/color.h ../src_3rd/genvector/genvector_impl.h \ ../src_3rd/genvector/genvector_undef.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.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 \ - ../src_3rd/genht/ht.h box.h math_helper.h misc_util.h unit.h \ + ../src_3rd/genht/ht.h ../src/librnd/core/box.h math_helper.h misc_util.h unit.h \ ../src_3rd/genvector/gds_char.h polygon1_gen.h compat_misc.h data.h \ crosshair.h vtonpoint.h hid.h ../src_3rd/liblihata/dom.h \ ../src_3rd/liblihata/lihata.h ../src_3rd/liblihata/parser.h \ @@ -7936,12 +7936,12 @@ ../src_3rd/genvector/genvector_impl.h \ ../src_3rd/genvector/genvector_undef.h global_typedefs.h pcb_bool.h \ board.h ../src_3rd/genht/htsp.h ../src_3rd/genht/ht.h vtroutestyle.h \ - unit.h attrib.h layer.h globalconst.h color.h obj_common.h flag.h \ + unit.h ../src/librnd/core/attrib.h layer.h globalconst.h ../src/librnd/core/color.h obj_common.h flag.h \ data_parent.h obj_arc_list.h obj_arc.h ../src_3rd/genlist/gendlist.h \ ../src_3rd/genlist/gentdlist_impl.h ../src_3rd/genlist/gendlist.h \ ../src_3rd/genlist/gentdlist_undef.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 misc_util.h \ + ../src_3rd/genht/htip.h ../src/librnd/core/box.h math_helper.h misc_util.h \ ../src_3rd/genvector/gds_char.h layer_grp.h rats_patch.h hidlib.h \ hidlib_conf.h conf.h pcb-printf.h ../src_3rd/liblihata/lihata.h \ ../src_3rd/liblihata/dom.h ../src_3rd/liblihata/lihata.h \ @@ -7953,7 +7953,7 @@ ../src_3rd/genrtree/genrtree_api.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 event.h find.h grid.h \ - undo.h ../src_3rd/libuundo/uundo.h undo_old.h actions.h conf_hid.h \ + undo.h ../src_3rd/libuundo/uundo.h undo_old.h ../src/librnd/core/actions.h conf_hid.h \ tool_arc.h tool_arrow.h tool_buffer.h tool_copy.h tool_insert.h \ tool_line.h tool_lock.h tool_move.h tool_poly.h tool_polyhole.h \ tool_rectangle.h tool_remove.h tool_rotate.h tool_text.h tool_thermal.h \ @@ -7967,11 +7967,11 @@ ../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 color.h hidlib_conf.h \ - board.h vtroutestyle.h attrib.h layer.h obj_common.h flag.h \ + ../src_3rd/genlist/gendlist.h globalconst.h ../src/librnd/core/color.h hidlib_conf.h \ + board.h vtroutestyle.h ../src/librnd/core/attrib.h layer.h obj_common.h flag.h \ data_parent.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h layer_grp.h rats_patch.h hidlib.h crosshair.h \ vtonpoint.h hid.h error.h route.h data.h buffer.h \ ../src_3rd/libfungw/fungw.h ../src_3rd/genht/htpp.h obj_rat_list.h \ @@ -7991,11 +7991,11 @@ ../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 color.h board.h \ - vtroutestyle.h attrib.h layer.h obj_common.h flag.h data_parent.h \ + ../src_3rd/genlist/gendlist.h globalconst.h ../src/librnd/core/color.h board.h \ + vtroutestyle.h ../src/librnd/core/attrib.h layer.h obj_common.h flag.h data_parent.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 \ + obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h math_helper.h \ misc_util.h layer_grp.h rats_patch.h hidlib.h buffer.h \ ../src_3rd/libfungw/fungw.h ../src_3rd/genht/htpp.h crosshair.h \ vtonpoint.h hid.h error.h route.h data.h obj_rat_list.h obj_rat.h \ @@ -8002,7 +8002,7 @@ idpath.h obj_subc_list.h obj_subc.h ../src_3rd/libminuid/libminuid.h \ rtree2_compat.h rtree.h ../src_3rd/genrtree/genrtree_api.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 actions.h \ + vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h ../src/librnd/core/actions.h \ remove.h move.h search.h select.h operation.h tool.h undo.h \ ../src_3rd/libuundo/uundo.h undo_old.h extobj.h obj_subc_parent.h draw.h tool_buffer.o: tool_buffer.c ../config.h conf_core.h conf.h \ @@ -8014,11 +8014,11 @@ ../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 color.h board.h \ - vtroutestyle.h attrib.h layer.h obj_common.h flag.h data_parent.h \ + ../src_3rd/genlist/gendlist.h globalconst.h ../src/librnd/core/color.h board.h \ + vtroutestyle.h ../src/librnd/core/attrib.h layer.h obj_common.h flag.h data_parent.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 \ + obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h math_helper.h \ misc_util.h layer_grp.h rats_patch.h hidlib.h buffer.h \ ../src_3rd/libfungw/fungw.h ../src_3rd/genht/htpp.h compat_misc.h data.h \ crosshair.h vtonpoint.h hid.h error.h route.h obj_rat_list.h obj_rat.h \ @@ -8025,17 +8025,17 @@ idpath.h obj_subc_list.h obj_subc.h ../src_3rd/libminuid/libminuid.h \ rtree2_compat.h rtree.h ../src_3rd/genrtree/genrtree_api.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 actions.h \ + vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h ../src/librnd/core/actions.h \ search.h tool.h undo.h ../src_3rd/libuundo/uundo.h undo_old.h tool_copy.o: tool_copy.c ../config.h board.h ../src_3rd/genht/htsp.h \ ../src_3rd/genht/ht.h global_typedefs.h pcb_bool.h vtroutestyle.h unit.h \ - attrib.h ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h color.h \ + ../src/librnd/core/attrib.h ../src_3rd/genvector/genvector_impl.h \ + ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h ../src_3rd/genvector/gds_char.h layer_grp.h \ rats_patch.h hidlib.h move.h crosshair.h vtonpoint.h hid.h \ ../src_3rd/liblihata/dom.h ../src_3rd/liblihata/lihata.h \ @@ -8043,13 +8043,13 @@ ../src_3rd/genvector/vtp0.h tool_insert.o: tool_insert.c ../config.h board.h ../src_3rd/genht/htsp.h \ ../src_3rd/genht/ht.h global_typedefs.h pcb_bool.h vtroutestyle.h unit.h \ - attrib.h ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h color.h \ + ../src/librnd/core/attrib.h ../src_3rd/genvector/genvector_impl.h \ + ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h ../src_3rd/genvector/gds_char.h layer_grp.h \ rats_patch.h hidlib.h crosshair.h vtonpoint.h hid.h \ ../src_3rd/liblihata/dom.h ../src_3rd/liblihata/lihata.h \ @@ -8065,11 +8065,11 @@ ../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 color.h hidlib_conf.h \ - board.h vtroutestyle.h attrib.h layer.h obj_common.h flag.h \ + ../src_3rd/genlist/gendlist.h globalconst.h ../src/librnd/core/color.h hidlib_conf.h \ + board.h vtroutestyle.h ../src/librnd/core/attrib.h layer.h obj_common.h flag.h \ data_parent.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h layer_grp.h rats_patch.h hidlib.h crosshair.h \ vtonpoint.h hid.h error.h route.h data.h buffer.h \ ../src_3rd/libfungw/fungw.h ../src_3rd/genht/htpp.h obj_rat_list.h \ @@ -8083,13 +8083,13 @@ ../src_plugins/lib_compat_help/pstk_compat.h obj_pstk.h tool_lock.o: tool_lock.c ../config.h board.h ../src_3rd/genht/htsp.h \ ../src_3rd/genht/ht.h global_typedefs.h pcb_bool.h vtroutestyle.h unit.h \ - attrib.h ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h color.h \ + ../src/librnd/core/attrib.h ../src_3rd/genvector/genvector_impl.h \ + ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h ../src_3rd/genvector/gds_char.h layer_grp.h \ rats_patch.h hidlib.h change.h data.h crosshair.h vtonpoint.h hid.h \ ../src_3rd/liblihata/dom.h ../src_3rd/liblihata/lihata.h \ @@ -8100,16 +8100,16 @@ ../src_3rd/genrtree/genrtree_api.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 actions.h search.h tool.h tool_lock.h + vtpadstack_t.h draw.h ../src/librnd/core/actions.h search.h tool.h tool_lock.h tool_move.o: tool_move.c ../config.h board.h ../src_3rd/genht/htsp.h \ ../src_3rd/genht/ht.h global_typedefs.h pcb_bool.h vtroutestyle.h unit.h \ - attrib.h ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h color.h \ + ../src/librnd/core/attrib.h ../src_3rd/genvector/genvector_impl.h \ + ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h ../src_3rd/genvector/gds_char.h layer_grp.h \ rats_patch.h hidlib.h move.h crosshair.h vtonpoint.h hid.h \ ../src_3rd/liblihata/dom.h ../src_3rd/liblihata/lihata.h \ @@ -8130,10 +8130,10 @@ ../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 color.h crosshair.h \ - vtonpoint.h hid.h error.h attrib.h box.h math_helper.h misc_util.h \ + ../src_3rd/genlist/gendlist.h globalconst.h ../src/librnd/core/color.h crosshair.h \ + vtonpoint.h hid.h error.h ../src/librnd/core/attrib.h ../src/librnd/core/box.h math_helper.h misc_util.h \ obj_line.h ../src_3rd/genlist/gendlist.h obj_common.h flag.h \ - data_parent.h obj_poly.h polyarea.h route.h actions.h \ + data_parent.h obj_poly.h polyarea.h route.h ../src/librnd/core/actions.h \ ../src_3rd/libfungw/fungw.h ../src_3rd/genht/htpp.h polygon.h rtree.h \ ../src_3rd/genrtree/genrtree_api.h rtree2_compat.h tool.h board.h \ vtroutestyle.h layer.h obj_arc_list.h obj_arc.h obj_line_list.h \ @@ -8148,10 +8148,10 @@ ../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 color.h crosshair.h \ - vtonpoint.h hid.h error.h attrib.h box.h math_helper.h misc_util.h \ + ../src_3rd/genlist/gendlist.h globalconst.h ../src/librnd/core/color.h crosshair.h \ + vtonpoint.h hid.h error.h ../src/librnd/core/attrib.h ../src/librnd/core/box.h math_helper.h misc_util.h \ obj_line.h ../src_3rd/genlist/gendlist.h obj_common.h flag.h \ - data_parent.h obj_poly.h polyarea.h route.h actions.h \ + data_parent.h obj_poly.h polyarea.h route.h ../src/librnd/core/actions.h \ ../src_3rd/libfungw/fungw.h ../src_3rd/genht/htpp.h polygon.h rtree.h \ ../src_3rd/genrtree/genrtree_api.h rtree2_compat.h search.h layer.h \ obj_arc_list.h obj_arc.h obj_line_list.h obj_poly_list.h obj_text_list.h \ @@ -8166,11 +8166,11 @@ ../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 color.h board.h \ - vtroutestyle.h attrib.h layer.h obj_common.h flag.h data_parent.h \ + ../src_3rd/genlist/gendlist.h globalconst.h ../src/librnd/core/color.h board.h \ + vtroutestyle.h ../src/librnd/core/attrib.h layer.h obj_common.h flag.h data_parent.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 \ + obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h math_helper.h \ misc_util.h layer_grp.h rats_patch.h hidlib.h crosshair.h vtonpoint.h \ hid.h error.h route.h data.h buffer.h ../src_3rd/libfungw/fungw.h \ ../src_3rd/genht/htpp.h obj_rat_list.h obj_rat.h idpath.h \ @@ -8181,15 +8181,15 @@ undo.h ../src_3rd/libuundo/uundo.h undo_old.h obj_poly_draw.h tool_remove.o: tool_remove.c ../config.h board.h ../src_3rd/genht/htsp.h \ ../src_3rd/genht/ht.h global_typedefs.h pcb_bool.h vtroutestyle.h unit.h \ - attrib.h ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h color.h \ + ../src/librnd/core/attrib.h ../src_3rd/genvector/genvector_impl.h \ + ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h ../src_3rd/genvector/gds_char.h layer_grp.h \ - rats_patch.h hidlib.h event.h actions.h hid.h ../src_3rd/liblihata/dom.h \ + rats_patch.h hidlib.h event.h ../src/librnd/core/actions.h hid.h ../src_3rd/liblihata/dom.h \ ../src_3rd/liblihata/lihata.h ../src_3rd/liblihata/parser.h error.h \ ../src_3rd/libfungw/fungw.h ../src_3rd/genht/htpp.h undo.h \ ../src_3rd/libuundo/uundo.h undo_old.h remove.h search.h obj_rat.h \ @@ -8203,8 +8203,8 @@ ../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 color.h actions.h hid.h \ - error.h attrib.h box.h math_helper.h misc_util.h \ + ../src_3rd/genlist/gendlist.h globalconst.h ../src/librnd/core/color.h ../src/librnd/core/actions.h hid.h \ + error.h ../src/librnd/core/attrib.h ../src/librnd/core/box.h math_helper.h misc_util.h \ ../src_3rd/libfungw/fungw.h ../src_3rd/genht/htpp.h board.h \ vtroutestyle.h layer.h obj_common.h flag.h data_parent.h obj_arc_list.h \ obj_arc.h ../src_3rd/genlist/gendlist.h obj_line_list.h obj_line.h \ @@ -8220,11 +8220,11 @@ ../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 color.h board.h \ - vtroutestyle.h attrib.h layer.h obj_common.h flag.h data_parent.h \ + ../src_3rd/genlist/gendlist.h globalconst.h ../src/librnd/core/color.h board.h \ + vtroutestyle.h ../src/librnd/core/attrib.h layer.h obj_common.h flag.h data_parent.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 \ + obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h math_helper.h \ misc_util.h layer_grp.h rats_patch.h hidlib.h data.h crosshair.h \ vtonpoint.h hid.h error.h route.h buffer.h ../src_3rd/libfungw/fungw.h \ ../src_3rd/genht/htpp.h obj_rat_list.h obj_rat.h idpath.h \ @@ -8231,18 +8231,18 @@ obj_subc_list.h obj_subc.h ../src_3rd/libminuid/libminuid.h \ rtree2_compat.h rtree.h ../src_3rd/genrtree/genrtree_api.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 actions.h \ + vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h draw.h ../src/librnd/core/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 board.h \ ../src_3rd/genht/htsp.h ../src_3rd/genht/ht.h global_typedefs.h \ - pcb_bool.h vtroutestyle.h unit.h attrib.h \ + pcb_bool.h vtroutestyle.h unit.h ../src/librnd/core/attrib.h \ ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h color.h \ + ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h ../src_3rd/genvector/gds_char.h layer_grp.h \ rats_patch.h hidlib.h change.h data.h crosshair.h vtonpoint.h hid.h \ ../src_3rd/liblihata/dom.h ../src_3rd/liblihata/lihata.h \ @@ -8253,7 +8253,7 @@ ../src_3rd/genrtree/genrtree_api.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 actions.h search.h thermal.h polygon1_gen.h tool.h + vtpadstack_t.h ../src/librnd/core/actions.h search.h thermal.h polygon1_gen.h tool.h tool_via.o: tool_via.c ../config.h conf_core.h conf.h global_typedefs.h \ pcb_bool.h pcb-printf.h ../src_3rd/genvector/gds_char.h \ ../src_3rd/genvector/genvector_impl.h \ @@ -8263,11 +8263,11 @@ ../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 color.h hidlib_conf.h \ - board.h vtroutestyle.h attrib.h layer.h obj_common.h flag.h \ + ../src_3rd/genlist/gendlist.h globalconst.h ../src/librnd/core/color.h hidlib_conf.h \ + board.h vtroutestyle.h ../src/librnd/core/attrib.h layer.h obj_common.h flag.h \ data_parent.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h layer_grp.h rats_patch.h hidlib.h change.h \ hid_inlines.h hid.h error.h data.h crosshair.h vtonpoint.h route.h \ buffer.h ../src_3rd/libfungw/fungw.h ../src_3rd/genht/htpp.h \ @@ -8281,13 +8281,13 @@ undo.o: undo.c ../config.h ../src_3rd/libuundo/uundo_debug.h \ ../src_3rd/libuundo/uundo.h board.h ../src_3rd/genht/htsp.h \ ../src_3rd/genht/ht.h global_typedefs.h pcb_bool.h vtroutestyle.h unit.h \ - attrib.h ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h color.h \ + ../src/librnd/core/attrib.h ../src_3rd/genvector/genvector_impl.h \ + ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h ../src_3rd/genvector/gds_char.h layer_grp.h \ rats_patch.h hidlib.h change.h data.h crosshair.h vtonpoint.h hid.h \ ../src_3rd/liblihata/dom.h ../src_3rd/liblihata/lihata.h \ @@ -8311,12 +8311,12 @@ ../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 color.h board.h \ - vtroutestyle.h attrib.h layer.h obj_common.h flag.h data_parent.h \ + ../src_3rd/genlist/gendlist.h globalconst.h ../src/librnd/core/color.h board.h \ + vtroutestyle.h ../src/librnd/core/attrib.h layer.h obj_common.h flag.h data_parent.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 \ - misc_util.h layer_grp.h rats_patch.h hidlib.h actions.h hid.h error.h \ + obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h math_helper.h \ + misc_util.h layer_grp.h rats_patch.h hidlib.h ../src/librnd/core/actions.h hid.h error.h \ ../src_3rd/libfungw/fungw.h ../src_3rd/genht/htpp.h data.h crosshair.h \ vtonpoint.h route.h buffer.h obj_rat_list.h obj_rat.h idpath.h \ obj_subc_list.h obj_subc.h ../src_3rd/libminuid/libminuid.h \ @@ -8328,14 +8328,14 @@ obj_line_draw.h draw.h tool.h undo_old.o: undo_old.c ../config.h ../src_3rd/libuundo/uundo.h board.h \ ../src_3rd/genht/htsp.h ../src_3rd/genht/ht.h global_typedefs.h \ - pcb_bool.h vtroutestyle.h unit.h attrib.h \ + pcb_bool.h vtroutestyle.h unit.h ../src/librnd/core/attrib.h \ ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h color.h \ + ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h ../src/librnd/core/color.h \ obj_common.h flag.h data_parent.h obj_arc_list.h obj_arc.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.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 \ + obj_text_list.h obj_text.h font.h ../src_3rd/genht/htip.h ../src/librnd/core/box.h \ math_helper.h misc_util.h ../src_3rd/genvector/gds_char.h layer_grp.h \ rats_patch.h hidlib.h change.h data.h crosshair.h vtonpoint.h hid.h \ ../src_3rd/liblihata/dom.h ../src_3rd/liblihata/lihata.h \ @@ -8355,13 +8355,13 @@ view.o: view.c ../config.h idpath.h ../src_3rd/genlist/gendlist.h \ ../src_3rd/genlist/gentdlist_impl.h ../src_3rd/genlist/gendlist.h \ ../src_3rd/genlist/gentdlist_undef.h obj_common.h flag.h globalconst.h \ - attrib.h global_typedefs.h pcb_bool.h data_parent.h view.h \ + ../src/librnd/core/attrib.h global_typedefs.h pcb_bool.h data_parent.h view.h \ ../src_3rd/genvector/gds_char.h ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h unit.h box.h math_helper.h \ + ../src_3rd/genvector/genvector_undef.h unit.h ../src/librnd/core/box.h math_helper.h \ misc_util.h ../src_3rd/genlist/gentdlist_impl.c \ ../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 actions.h hid.h error.h \ + ../src_3rd/genht/ht.h ../src/librnd/core/actions.h hid.h error.h \ ../src_3rd/libfungw/fungw.h ../src_3rd/genht/htpp.h compat_misc.h \ pcb-printf.h vtc0.o: vtc0.c vtc0.h ../config.h ../src_3rd/genvector/genvector_impl.h \ @@ -8378,12 +8378,12 @@ vtpadstack.o: vtpadstack.c obj_pstk.h ../src_3rd/genlist/gendlist.h \ ../src_3rd/genvector/vtp0.h ../src_3rd/genvector/genvector_impl.h \ ../src_3rd/genvector/genvector_undef.h obj_common.h flag.h globalconst.h \ - ../config.h attrib.h global_typedefs.h pcb_bool.h data_parent.h layer.h \ - color.h obj_arc_list.h obj_arc.h ../src_3rd/genlist/gentdlist_impl.h \ + ../config.h ../src/librnd/core/attrib.h global_typedefs.h pcb_bool.h data_parent.h layer.h \ + ../src/librnd/core/color.h obj_arc_list.h obj_arc.h ../src_3rd/genlist/gentdlist_impl.h \ ../src_3rd/genlist/gendlist.h ../src_3rd/genlist/gentdlist_undef.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 \ - ../src_3rd/genht/ht.h box.h math_helper.h misc_util.h unit.h \ + ../src_3rd/genht/ht.h ../src/librnd/core/box.h math_helper.h misc_util.h unit.h \ ../src_3rd/genvector/gds_char.h obj_pstk_shape.h polygon.h rtree.h \ ../src_3rd/genrtree/genrtree_api.h rtree2_compat.h vtpadstack_t.h \ vtpadstack.h ../src_3rd/genvector/genvector_impl.c @@ -8390,20 +8390,20 @@ vtpadstack_t.o: vtpadstack_t.c ../src_3rd/genvector/vtp0.h \ ../src_3rd/genvector/genvector_impl.h \ ../src_3rd/genvector/genvector_undef.h ../src_3rd/genvector/gds_char.h \ - color.h global_typedefs.h ../config.h pcb_bool.h vtpadstack_t.h \ + ../src/librnd/core/color.h global_typedefs.h ../config.h pcb_bool.h vtpadstack_t.h \ obj_pstk_shape.h unit.h polygon.h flag.h globalconst.h rtree.h \ ../src_3rd/genrtree/genrtree_api.h math_helper.h polyarea.h \ - rtree2_compat.h layer.h attrib.h obj_common.h data_parent.h \ + rtree2_compat.h layer.h ../src/librnd/core/attrib.h obj_common.h data_parent.h \ obj_arc_list.h obj_arc.h ../src_3rd/genlist/gendlist.h \ ../src_3rd/genlist/gentdlist_impl.h ../src_3rd/genlist/gendlist.h \ ../src_3rd/genlist/gentdlist_undef.h obj_line_list.h obj_line.h \ obj_poly_list.h obj_poly.h obj_text_list.h obj_text.h font.h \ - ../src_3rd/genht/htip.h ../src_3rd/genht/ht.h box.h misc_util.h \ + ../src_3rd/genht/htip.h ../src_3rd/genht/ht.h ../src/librnd/core/box.h misc_util.h \ ../src_3rd/genvector/genvector_impl.c vtr0.o: vtr0.c vtr0.h ../config.h ../src_3rd/genvector/genvector_impl.h \ ../src_3rd/genvector/genvector_undef.h \ ../src_3rd/genvector/genvector_impl.c vtroutestyle.o: vtroutestyle.c vtroutestyle.h unit.h global_typedefs.h \ - ../config.h pcb_bool.h attrib.h ../src_3rd/genvector/genvector_impl.h \ + ../config.h pcb_bool.h ../src/librnd/core/attrib.h ../src_3rd/genvector/genvector_impl.h \ ../src_3rd/genvector/genvector_undef.h \ ../src_3rd/genvector/genvector_impl.c Index: trunk/src/Makefile.in =================================================================== --- trunk/src/Makefile.in (revision 29247) +++ trunk/src/Makefile.in (revision 29248) @@ -65,10 +65,11 @@ @] append /local/pcb/OBJS_HIDLIB [@ - actions.o - attrib.o - base64.o - color.o + $(LIBRND)/core/actions.o + $(LIBRND)/core/attrib.o + $(LIBRND)/core/base64.o + $(LIBRND)/core/box.o + $(LIBRND)/core/color.o conf.o conf_hid.o compat_fs.o @@ -149,7 +150,6 @@ append /local/pcb/OBJS [@ actions_pcb.o board.o - box.o brave.o buffer.o build_run.o @@ -385,8 +385,8 @@ OBJS_C99_HIDLIB_PLG=@/local/pcb/OBJS_C99_HIDLIB_PLG@ OBJS_UTIL=@/local/pcb/OBJS_UTIL@ SRCS=@/local/pcb/SRCS@ -CFLAGS=@?cc/argstd/std_c99@ @/local/pcb/CFLAGS@ -C89FLAGS=@/local/pcb/c89flags@ @/local/pcb/CFLAGS@ +CFLAGS=@?cc/argstd/std_c99@ @/local/pcb/CFLAGS@ -I$(LIBRND)/core +C89FLAGS=@/local/pcb/c89flags@ @/local/pcb/CFLAGS@ -I$(LIBRND)/core LDFLAGS=@/local/pcb/LDFLAGS@ LIBS_PRE=@/local/pcb/LIBS_PRE@ LIBS=@/local/pcb/LIBS@ -lm @?/target/libs/ldl@ @@ -404,6 +404,7 @@ LIBMINUID_LDFLAGS=@cc/ldflags@ GENLIST_CFLAGS=@/local/pcb/CFLAGS_GENERIC@ GENLIST_LDFLAGS=@cc/ldflags@ +LIBRND=librnd all: $(MAKE) revcheck @@ -605,7 +606,7 @@ # rndlib: corner case: some headers are not derived from the objects sub /local/pcb/HDRS_HIDLIB {hid_dlg.h } {} sub /local/pcb/HDRS_HIDLIB {polygon1.h } {} -append /local/pcb/HDRS_HIDLIB {hid.h polyarea.h global_typedefs.h globalconst.h box.h math_helper.h buildin.hidlib.h hid_inlines.h hid_dad.h rotate.h fptr_cast.h safe_fs_dir.h compat_inc.h } +append /local/pcb/HDRS_HIDLIB {hid.h polyarea.h global_typedefs.h globalconst.h math_helper.h buildin.hidlib.h hid_inlines.h hid_dad.h rotate.h fptr_cast.h safe_fs_dir.h compat_inc.h } gsub /local/pcb/HDRS_3RDLIB {../src_3rd/liblihata/dom_[^ ]*.h } {} gsub /local/pcb/HDRS_3RDLIB {../src_3rd/liblihata/tree_[^ ]*.h } {} gsub /local/pcb/HDRS_3RDLIB {../src_3rd/libfungw/fungw_ptr.h ../src_3rd/libfungw/fungw_debug.h ../src_3rd/libfungw/fungw_call.h } {} Index: trunk/src/librnd/core/actions.c =================================================================== --- trunk/src/librnd/core/actions.c (nonexistent) +++ trunk/src/librnd/core/actions.c (revision 29248) @@ -0,0 +1,924 @@ +/* + * 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: http://repo.hu/projects/pcb-rnd/contact.html + * mailing list: pcb-rnd (at) list.repo.hu (send "subscribe") + * + */ + +#include "config.h" + +#include + +#include +#include + +#include "error.h" +#include "event.h" +#include "actions.h" +#include "compat_misc.h" +#include "funchash.h" +#include "hidlib_conf.h" + +const pcb_action_t *pcb_current_action = NULL; + +const char *PCB_PTR_DOMAIN_IDPATH = "pcb_fgw_ptr_domain_idpath"; +const char *PCB_PTR_DOMAIN_IDPATH_LIST = "pcb_fgw_ptr_domain_idpath_list"; + +fgw_ctx_t pcb_fgw; +fgw_obj_t *pcb_fgw_obj; + +typedef struct { + const char *cookie; + const pcb_action_t *action; +} hid_cookie_action_t; + +static const char *check_action_name(const char *s) +{ + while (*s) + if (isspace((int) *s++) || *s == '(') + return (s - 1); + return NULL; +} + +char *pcb_make_action_name(char *out, const char *inp, int inp_len) +{ + char *s; + + if (inp_len >= PCB_ACTION_NAME_MAX) { + *out = '\0'; + return out; + } + + memcpy(out, inp, inp_len+1); + for(s = out; *s != '\0'; s++) + *s = tolower(*s); + return out; +} + +void pcb_register_actions(const pcb_action_t *a, int n, const char *cookie) +{ + int i; + hid_cookie_action_t *ca; + fgw_func_t *f; + + for (i = 0; i < n; i++) { + char fn[PCB_ACTION_NAME_MAX]; + int len; + + 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; + } + len = strlen(a[i].name); + if (len >= sizeof(fn)) { + pcb_message(PCB_MSG_ERROR, "Invalid action name: \"%s\" (too long).\n", a[i].name); + continue; + } + + ca = malloc(sizeof(hid_cookie_action_t)); + ca->cookie = cookie; + ca->action = a+i; + + pcb_make_action_name(fn, a[i].name, len); + f = fgw_func_reg(pcb_fgw_obj, fn, a[i].trigger_cb); + if (f == NULL) { + pcb_message(PCB_MSG_ERROR, "Failed to register action \"%s\" (already registered?)\n", a[i].name); + free(ca); + continue; + } + f->reg_data = ca; + } +} + +void pcb_register_action(const pcb_action_t *a, const char *cookie) +{ + pcb_register_actions(a, 1, cookie); +} + +static void pcb_remove_action(fgw_func_t *f) +{ + hid_cookie_action_t *ca = f->reg_data; + fgw_func_unreg(pcb_fgw_obj, f->name); + free(ca); +} + +fgw_func_t *pcb_act_lookup(const char *aname) +{ + char fn[PCB_ACTION_NAME_MAX]; + fgw_func_t *f = fgw_func_lookup(&pcb_fgw, pcb_aname(fn, aname)); + return f; +} + +void pcb_remove_actions(const pcb_action_t *a, int n) +{ + int i; + + for (i = 0; i < n; i++) { + fgw_func_t *f = pcb_act_lookup(a[i].name); + if (f == NULL) { + pcb_message(PCB_MSG_WARNING, "Failed to remove action \"%s\" (is it registered?)\n", a[i].name); + continue; + } + pcb_remove_action(f); + } +} + +void pcb_remove_actions_by_cookie(const char *cookie) +{ + htsp_entry_t *e; + + /* Slow linear search - probably OK, this will run only on uninit */ + for (e = htsp_first(&pcb_fgw.func_tbl); e; e = htsp_next(&pcb_fgw.func_tbl, e)) { + fgw_func_t *f = e->value; + hid_cookie_action_t *ca = f->reg_data; + if ((ca != NULL) && (ca->cookie == cookie)) + pcb_remove_action(f); + } +} + +const pcb_action_t *pcb_find_action(const char *name, fgw_func_t **f_out) +{ + fgw_func_t *f; + hid_cookie_action_t *ca; + + if (name == NULL) + return NULL; + + f = pcb_act_lookup(name); + if (f == NULL) { + pcb_message(PCB_MSG_ERROR, "unknown action `%s'\n", name); + return NULL; + } + ca = f->reg_data; + if (f_out != NULL) + *f_out = f; + return ca->action; +} + +void pcb_print_actions() +{ + htsp_entry_t *e; + + fprintf(stderr, "Registered Actions:\n"); + for (e = htsp_first(&pcb_fgw.func_tbl); e; e = htsp_next(&pcb_fgw.func_tbl, e)) { + fgw_func_t *f = e->value; + hid_cookie_action_t *ca = f->reg_data; + 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(&pcb_fgw.func_tbl); e; e = htsp_next(&pcb_fgw.func_tbl, e)) { + fgw_func_t *f = e->value; + hid_cookie_action_t *ca = f->reg_data; + const char *desc = ca->action->description; + const char *synt = ca->action->syntax; + const char *ck = ca->cookie; + + desc = desc ? desc : ""; + synt = synt ? synt : ""; + ck = ck ? ck : ""; + + printf("A%s\n", ca->action->name); + dump_string('D', desc); + dump_string('S', synt); + dump_string('C', ck); + } +} + +int pcb_action(pcb_hidlib_t *hl, const char *name) +{ + return pcb_actionv(hl, name, 0, 0); +} + +int pcb_actionva(pcb_hidlib_t *hl, 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_actionv(hl, name, argc, argv); +} + +int pcb_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_actionv(NULL, name, argc, argv); +} + +fgw_error_t pcb_actionv_(const fgw_func_t *f, fgw_arg_t *res, int argc, fgw_arg_t *argv) +{ + fgw_error_t ret; + int i; + const pcb_action_t *old_action; + hid_cookie_action_t *ca = f->reg_data; + + if (pcbhl_conf.rc.verbose) { + fprintf(stderr, "Action: \033[34m%s(", f->name); + for (i = 0; i < argc; i++) + fprintf(stderr, "%s%s", i ? "," : "", (argv[i].type & FGW_STR) == FGW_STR ? argv[i].val.str : ""); + fprintf(stderr, ")\033[0m\n"); + } + + if (ca != NULL) { + /* pcb-rnd action with a lot of metadata */ + old_action = pcb_current_action; + pcb_current_action = ca->action; + ret = pcb_current_action->trigger_cb(res, argc, argv); + pcb_current_action = old_action; + } + else { + /* direct call, no metadata */ + ret = f->func(res, argc, argv); + } + + fgw_argv_free(&pcb_fgw, argc, argv); + + return ret; +} + +fgw_error_t pcb_actionv_bin(pcb_hidlib_t *hl, const char *name, fgw_arg_t *res, int argc, fgw_arg_t *argv) +{ + fgw_func_t *f = pcb_act_lookup(name); + + if (f == NULL) + return FGW_ERR_NOT_FOUND; + + argv[0].type = FGW_FUNC; + argv[0].val.argv0.func = f; + argv[0].val.argv0.user_call_ctx = hl; + + res->type = FGW_INVALID; + return pcb_actionv_(f, res, argc, argv); +} + + +int pcb_actionv(pcb_hidlib_t *hl, const char *name, int argc, const char **argsv) +{ + fgw_func_t *f; + fgw_arg_t res, argv[PCB_ACTION_MAX_ARGS+1]; + int n; + + if (name == NULL) + return 1; + + if (argc >= PCB_ACTION_MAX_ARGS) { + pcb_message(PCB_MSG_ERROR, "can not call action %s with this many arguments (%d >= %d)\n", name, argc, PCB_ACTION_MAX_ARGS); + return 1; + } + + f = pcb_act_lookup(name); + if (f == 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 ? ", " : "", argsv[i]); + pcb_message(PCB_MSG_ERROR, ")\n"); + return 1; + } + argv[0].type = FGW_FUNC; + argv[0].val.argv0.func = f; + argv[0].val.argv0.user_call_ctx = hl; + for(n = 0; n < argc; n++) { + argv[n+1].type = FGW_STR; + argv[n+1].val.str = (char *)argsv[n]; + } + res.type = FGW_INVALID; + if (pcb_actionv_(f, &res, argc+1, argv) != 0) + return -1; + if (fgw_arg_conv(&pcb_fgw, &res, FGW_INT) != 0) + return -1; + return res.val.nat_int; +} + +void pcb_hid_get_coords(const char *msg, pcb_coord_t *x, pcb_coord_t *y, int force) +{ + 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(pcb_gui, msg, x, y, force); +} + +static int hid_parse_actionstring(pcb_hidlib_t *hl, 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_actionv(hl, 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_actionv(hl, 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; +} + +const char *pcb_cli_prompt(const char *suffix) +{ + const char *base; + static char prompt[128]; + int blen, slen, len; + + if ((pcbhl_conf.rc.cli_prompt != NULL) && (*pcbhl_conf.rc.cli_prompt != '\0')) + base = pcbhl_conf.rc.cli_prompt; + else if ((pcbhl_conf.rc.cli_backend == NULL) || (*pcbhl_conf.rc.cli_backend == '\0')) + base = "action"; + else + base = pcbhl_conf.rc.cli_backend; + + if ((suffix == NULL) || (*suffix == '\0')) + return base; + + blen = strlen(base); + slen = strlen(suffix); + + len = blen; + if (len >= sizeof(prompt)-1-slen) + len = sizeof(prompt)-1-slen; + + memcpy(prompt, base, len); + memcpy(prompt+len, suffix, slen); + prompt[len+slen] = '\0'; + return prompt; +} + +static vtp0_t cli_stack; + +static void cli_push(const char *val) +{ + if (val == NULL) + val = ""; + vtp0_append(&cli_stack, pcb_strdup(val)); +} + +static char *cli_pop(void) +{ + if (cli_stack.used == 0) + return NULL; + return cli_stack.array[--cli_stack.used]; +} + +int pcb_cli_enter(const char *backend, const char *prompt) +{ + cli_push(pcbhl_conf.rc.cli_backend); + cli_push(pcbhl_conf.rc.cli_prompt); + + if (pcb_conf_set(CFR_CLI, "rc/cli_backend", 0, backend, POL_OVERWRITE) != 0) + return -1; + return pcb_conf_set(CFR_CLI, "rc/cli_prompt", 0, prompt, POL_OVERWRITE); +} + +int pcb_cli_leave(void) +{ + if (vtp0_len(&cli_stack) >= 2) { + char *prompt = NULL, *backend = NULL; + prompt = cli_pop(); + backend = cli_pop(); + pcb_conf_set(CFR_CLI, "rc/cli_backend", 0, backend, POL_OVERWRITE); + pcb_conf_set(CFR_CLI, "rc/cli_prompt", 0, prompt, POL_OVERWRITE); + free(prompt); + free(backend); + return 0; + } + + pcb_conf_set(CFR_CLI, "rc/cli_backend", 0, "", POL_OVERWRITE); + pcb_conf_set(CFR_CLI, "rc/cli_prompt", 0, "", POL_OVERWRITE); + return -1; +} + +static int pcb_cli_common(pcb_hidlib_t *hl, fgw_arg_t *args) +{ + const pcb_action_t *a; + fgw_func_t *f; + + /* no backend: let the original action work */ + if ((pcbhl_conf.rc.cli_backend == NULL) || (*pcbhl_conf.rc.cli_backend == '\0')) + return -1; + + /* backend: let the backend action handle it */ + a = pcb_find_action(pcbhl_conf.rc.cli_backend, &f); + if (!a) + return -1; + + args[0].type = FGW_FUNC; + args[0].val.argv0.func = f; + args[0].val.argv0.user_call_ctx = hl; + return 0; +} + +int pcb_cli_tab(pcb_hidlib_t *hl) +{ + fgw_arg_t res, args[2]; + + if (pcb_cli_common(hl, args) != 0) + return -1; + + args[1].type = FGW_STR; + args[1].val.str = "/tab"; + + if (pcb_actionv_(args[0].val.func, &res, 2, args) != 0) + return -1; + fgw_arg_conv(&pcb_fgw, &res, FGW_INT); + return res.val.nat_int; +} + +int pcb_cli_edit(pcb_hidlib_t *hl) +{ + fgw_arg_t res, args[2]; + + if (pcb_cli_common(hl, args) != 0) + return -1; + + args[1].type = FGW_STR; + args[1].val.str = "/edit"; + + if (pcb_actionv_(args[0].val.func, &res, 2, args) != 0) + return -1; + fgw_arg_conv(&pcb_fgw, &res, FGW_INT); + return res.val.nat_int; +} + +int pcb_cli_mouse(pcb_hidlib_t *hl, pcb_bool notify) +{ + fgw_arg_t res, args[3]; + + if (pcb_cli_common(hl, args) != 0) + return -1; + + args[1].type = FGW_STR; + args[1].val.str = "/click"; + args[2].type = FGW_INT; + args[2].val.nat_int = notify; + + if (pcb_actionv_(args[0].val.func, &res, 3, args) != 0) + return -1; + fgw_arg_conv(&pcb_fgw, &res, FGW_INT); + return res.val.nat_int; +} + + +void pcb_cli_uninit(void) +{ + while(vtp0_len(&cli_stack) > 0) + free(cli_pop()); +} + +int pcb_parse_command(pcb_hidlib_t *hl, const char *str_, pcb_bool force_action_mode) +{ + fgw_arg_t res, args[2]; + fgw_func_t *f; + const pcb_action_t *a; + const char *end; + + /* no backend or forced action mode: classic pcb-rnd action parse */ + if (force_action_mode || (pcbhl_conf.rc.cli_backend == NULL) || (*pcbhl_conf.rc.cli_backend == '\0')) { + pcb_event(NULL, PCB_EVENT_CLI_ENTER, "s", str_); + return hid_parse_actionstring(hl, str_, pcb_false); + } + + /* backend: let the backend action handle it */ + a = pcb_find_action(pcbhl_conf.rc.cli_backend, &f); + if (!a) { + pcb_message(PCB_MSG_ERROR, "cli: no action %s; leaving mode\n", pcbhl_conf.rc.cli_backend); + pcb_cli_leave(); + return -1; + } + + end = strpbrk(str_, "\n\r"); + + args[0].type = FGW_FUNC; + args[0].val.argv0.func = f; + args[0].val.argv0.user_call_ctx = hl; + + if (end == NULL) { + /* optimization: string doesn't contain newline - pass it as is to save an strdup */ + args[1].type = FGW_STR; + args[1].val.str = pcb_strdup(str_); + } + else { + /* string contains a newline; need to cut there, which needs a dup; let fungw free it as dynamic string, cleaning up args after the fungw call */ + args[1].type = FGW_STR | FGW_DYN; + args[1].val.str = pcb_strdup(str_); + args[1].val.str[end - str_] = '\0'; + } + + if (pcb_actionv_(f, &res, 2, args) != 0) + return -1; + fgw_arg_conv(&pcb_fgw, &res, FGW_INT); + return res.val.nat_int; +} + +int pcb_parse_actions(pcb_hidlib_t *hl, const char *str_) +{ + return hid_parse_actionstring(hl, str_, pcb_true); +} + +/*** custom fungw types ***/ +#define conv_str2kw(dst, src) dst = pcb_funchash_get(src, NULL) + +static int keyword_arg_conv(fgw_ctx_t *ctx, fgw_arg_t *arg, fgw_type_t target) +{ + if (target == FGW_KEYWORD) { /* convert to keyword */ + long tmp; + switch(FGW_BASE_TYPE(arg->type)) { + ARG_CONV_CASE_LONG(tmp, conv_err) + ARG_CONV_CASE_LLONG(tmp, conv_err) + ARG_CONV_CASE_DOUBLE(tmp, conv_err) + ARG_CONV_CASE_LDOUBLE(tmp, conv_err) + ARG_CONV_CASE_STR(tmp, conv_str2kw) + ARG_CONV_CASE_PTR(tmp, conv_err) + ARG_CONV_CASE_CLASS(tmp, conv_err) + ARG_CONV_CASE_INVALID(tmp, conv_err) + } + arg->type = FGW_KEYWORD; + fgw_keyword(arg) = tmp; + return 0; + } + if (arg->type == FGW_KEYWORD) { /* convert from keyword */ + long tmp = fgw_keyword(arg); + switch(target) { + ARG_CONV_CASE_LONG(tmp, conv_rev_assign) + ARG_CONV_CASE_LLONG(tmp, conv_rev_assign) + ARG_CONV_CASE_DOUBLE(tmp, conv_rev_assign) + ARG_CONV_CASE_LDOUBLE(tmp, conv_rev_assign) + ARG_CONV_CASE_PTR(tmp, conv_err) + ARG_CONV_CASE_CLASS(tmp, conv_err) + ARG_CONV_CASE_INVALID(tmp, conv_err) + case FGW_STR: + arg->val.str = (char *)pcb_funchash_reverse(tmp); + arg->type = FGW_STR; + return 0; + } + arg->type = target; + return 0; + } + fprintf(stderr, "Neither side of the conversion is keyword\n"); + abort(); +} + +char *fgw_str2coord_unit = NULL; +#define conv_str2coord(dst, src) \ +do { \ + pcb_bool succ; \ + dst = pcb_get_value_ex(src, NULL, NULL, NULL, fgw_str2coord_unit, &succ); \ + if (!succ) \ + return -1; \ +} while(0) + +static int coord_arg_conv(fgw_ctx_t *ctx, fgw_arg_t *arg, fgw_type_t target) +{ + if (target == FGW_COORD) { /* convert to coord */ + pcb_coord_t tmp; + switch(FGW_BASE_TYPE(arg->type)) { + ARG_CONV_CASE_LONG(tmp, conv_assign) + ARG_CONV_CASE_LLONG(tmp, conv_assign) + ARG_CONV_CASE_DOUBLE(tmp, conv_assign) + ARG_CONV_CASE_LDOUBLE(tmp, conv_assign) + ARG_CONV_CASE_STR(tmp, conv_str2coord) + ARG_CONV_CASE_PTR(tmp, conv_err) + ARG_CONV_CASE_CLASS(tmp, conv_err) + ARG_CONV_CASE_INVALID(tmp, conv_err) + } + arg->type = FGW_COORD; + fgw_coord(arg) = tmp; + return 0; + } + if (arg->type == FGW_COORD) { /* convert from coord */ + pcb_coord_t tmp = fgw_coord(arg); + switch(target) { + ARG_CONV_CASE_LONG(tmp, conv_rev_assign) + ARG_CONV_CASE_LLONG(tmp, conv_rev_assign) + ARG_CONV_CASE_DOUBLE(tmp, conv_rev_assign) + ARG_CONV_CASE_LDOUBLE(tmp, conv_rev_assign) + ARG_CONV_CASE_PTR(tmp, conv_err) + ARG_CONV_CASE_CLASS(tmp, conv_err) + ARG_CONV_CASE_INVALID(tmp, conv_err) + case FGW_STR: + arg->val.str = (char *)pcb_strdup_printf("%.08$mH", tmp); + arg->type = FGW_STR | FGW_DYN; + return 0; + } + arg->type = target; + return 0; + } + fprintf(stderr, "Neither side of the conversion is coord\n"); + abort(); +} + +#define conv_str2coords(dst, src) \ +do { \ + pcb_bool succ, abso; \ + dst.c[0] = pcb_get_value_ex(src, NULL, &abso, NULL, fgw_str2coord_unit, &succ); \ + if (!succ) \ + return -1; \ + dst.len = 1; \ + dst.absolute[0] = abso; \ +} while(0) + + + +#define conv_loadcoords(dst, src) \ +do { \ + dst.len = 1; \ + dst.absolute[0] = 1; \ + dst.c[0] = src; \ +} while(0) + +static int coords_arg_conv(fgw_ctx_t *ctx, fgw_arg_t *arg, fgw_type_t target) +{ + if (target == FGW_COORDS) { /* convert to coord */ + fgw_coords_t tmp; + switch(FGW_BASE_TYPE(arg->type)) { + ARG_CONV_CASE_LONG(tmp, conv_loadcoords) + ARG_CONV_CASE_LLONG(tmp, conv_loadcoords) + ARG_CONV_CASE_DOUBLE(tmp, conv_loadcoords) + ARG_CONV_CASE_LDOUBLE(tmp, conv_loadcoords) + ARG_CONV_CASE_STR(tmp, conv_str2coords) + ARG_CONV_CASE_PTR(tmp, conv_err) + ARG_CONV_CASE_CLASS(tmp, conv_err) + ARG_CONV_CASE_INVALID(tmp, conv_err) + } + arg->type = FGW_COORDS | FGW_DYN; + fgw_coords(arg) = malloc(sizeof(tmp)); + memcpy(fgw_coords(arg), &tmp, sizeof(tmp)); + return 0; + } + if (arg->type == FGW_COORDS) { /* convert from coord */ + fgw_coords_t *tmp = fgw_coords(arg); + switch(target) { + ARG_CONV_CASE_LONG(tmp, conv_err) + ARG_CONV_CASE_LLONG(tmp, conv_err) + ARG_CONV_CASE_DOUBLE(tmp, conv_err) + ARG_CONV_CASE_LDOUBLE(tmp, conv_err) + ARG_CONV_CASE_PTR(tmp, conv_err) + ARG_CONV_CASE_CLASS(tmp, conv_err) + ARG_CONV_CASE_INVALID(tmp, conv_err) + case FGW_STR: + arg->val.str = (char *)pcb_strdup_printf("%.08$mH", tmp); + arg->type = FGW_STR | FGW_DYN; + return 0; + } + arg->type = target; + return 0; + } + fprintf(stderr, "Neither side of the conversion is coords\n"); + abort(); +} + +static int coords_arg_free(fgw_ctx_t *ctx, fgw_arg_t *arg) +{ + assert(arg->type == (FGW_COORDS | FGW_DYN)); + free(arg->val.ptr_void); + return 0; +} + +static void pcb_action_err(fgw_obj_t *obj, const char *msg) +{ + pcb_message(PCB_MSG_ERROR, "fungw(%s): %s", obj->name, msg); +} + +void pcb_actions_init(void) +{ + fgw_init(&pcb_fgw, "pcb-rnd"); + pcb_fgw.async_error = pcb_action_err; + pcb_fgw_obj = fgw_obj_reg(&pcb_fgw, "core"); + if (fgw_reg_custom_type(&pcb_fgw, FGW_KEYWORD, "keyword", keyword_arg_conv, NULL) != FGW_KEYWORD) { + fprintf(stderr, "pcb_actions_init: failed to register FGW_KEYWORD\n"); + abort(); + } + if (fgw_reg_custom_type(&pcb_fgw, FGW_COORD, "coord", coord_arg_conv, NULL) != FGW_COORD) { + fprintf(stderr, "pcb_actions_init: failed to register FGW_COORD\n"); + abort(); + } + if (fgw_reg_custom_type(&pcb_fgw, FGW_COORDS, "coords", coords_arg_conv, coords_arg_free) != FGW_COORDS) { + fprintf(stderr, "pcb_actions_init: failed to register FGW_COORDS\n"); + abort(); + } +} + +void pcb_actions_uninit(void) +{ + htsp_entry_t *e; + + for (e = htsp_first(&pcb_fgw.func_tbl); e; e = htsp_next(&pcb_fgw.func_tbl, e)) { + fgw_func_t *f = e->value; + hid_cookie_action_t *ca = f->reg_data; + 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); + pcb_remove_action(f); + } + + fgw_obj_unreg(&pcb_fgw, pcb_fgw_obj); + fgw_uninit(&pcb_fgw); + fgw_atexit(); +} + Index: trunk/src/librnd/core/actions.h =================================================================== --- trunk/src/librnd/core/actions.h (nonexistent) +++ trunk/src/librnd/core/actions.h (revision 29248) @@ -0,0 +1,228 @@ +#ifndef PCB_ACTIONS_H +#define PCB_ACTIONS_H + +#include "hid.h" +#include +#include + +#define PCB_ACTION_NAME_MAX 128 + +struct pcb_action_s { + const char *name; /* action command name */ + fgw_error_t (*trigger_cb)(fgw_arg_t *ores, int argc, fgw_arg_t *argv); /* Action implementation; if this returns non-zero, no further actions will be invoked for this key/mouse event. */ + const char *description;/* Short description (help text) */ + const char *syntax; /* Full allowed syntax; use \n to separate lines. */ +}; + +extern fgw_ctx_t pcb_fgw; + +typedef struct fgw_coords_s { + int len; + pcb_coord_t c[4]; + char absolute[4]; +} fgw_coords_t; + +typedef enum { + FGW_KEYWORD_ = FGW_CUSTOM, + FGW_COORD_, + FGW_COORDS_, + FGW_LAYERID_, + FGW_LAYER_, + FGW_DATA_, + FGW_LAYERGRPID_, + FGW_LAYERGRP_ +} pcb_fgw_types_e; +#define fgw_keyword(arg) ((arg)->val.nat_int) +#define fgw_coord(arg) (*(pcb_coord_t *)(&((arg)->val.custom.c))) +#define fgw_coords(arg) ((arg)->val.ptr_void) +#define fgw_layerid(arg) ((arg)->val.nat_long) +#define fgw_layer(arg) ((arg)->val.ptr_void) +#define fgw_data(arg) ((arg)->val.ptr_void) +#define fgw_idpath(arg) ((arg)->val.ptr_void) +#define fgw_idpath_list(arg) ((arg)->val.ptr_void) +#define fgw_layergrpid(arg) ((arg)->val.nat_long) +#define fgw_layergrp(arg) ((arg)->val.ptr_void) +#define FGW_KEYWORD ((fgw_type_t)FGW_KEYWORD_) +#define FGW_COORD ((fgw_type_t)FGW_COORD_) +#define FGW_COORDS ((fgw_type_t)FGW_COORDS_) +#define FGW_LAYERID ((fgw_type_t)FGW_LAYERID_) +#define FGW_LAYER ((fgw_type_t)FGW_LAYER_) +#define FGW_DATA ((fgw_type_t)FGW_DATA_) +#define FGW_IDPATH (FGW_PTR) +#define FGW_IDPATH_LIST (FGW_PTR) +#define FGW_LAYERGRPID ((fgw_type_t)FGW_LAYERGRPID_) +#define FGW_LAYERGRP ((fgw_type_t)FGW_LAYERGRP_) + +extern const char *PCB_PTR_DOMAIN_IDPATH; +extern const char *PCB_PTR_DOMAIN_IDPATH_LIST; + +void pcb_register_action(const pcb_action_t *a, const char *cookie); +void pcb_register_actions(const pcb_action_t *a, int, const char *cookie); + +/* shorthand for registering all actions from an action table */ +#define PCB_REGISTER_ACTIONS(a, cookie) \ + pcb_register_actions(a, sizeof(a)/sizeof(a[0]), cookie); + +/* split registration, when action tables are in separate objects */ +#define PCB_REGISTER_ACTIONS_FUNC(a, cookie) PCB_HIDCONCAT(void register_,a) ()\ + { pcb_register_actions(a, sizeof(a)/sizeof(a[0]), cookie); } +#define PCB_REGISTER_ACTIONS_CALL(a, cookie) {extern void PCB_HIDCONCAT(register_,a)();PCB_HIDCONCAT(register_,a)();} + +/* Inits and uninits the whole action framework */ +void pcb_actions_init(void); +void pcb_actions_uninit(void); + +/* These are called from main_act.c */ +void pcb_print_actions(void); +void pcb_dump_actions(void); + +const pcb_action_t *pcb_find_action(const char *name, fgw_func_t **f_out); + +void pcb_remove_actions(const pcb_action_t *a, int n); +void pcb_remove_actions_by_cookie(const char *cookie); + +int pcb_action(pcb_hidlib_t *hl, const char *action_); +int pcb_actionva(pcb_hidlib_t *hl, const char *action_, ...); /* NULL terminated */ +int pcb_actionv(pcb_hidlib_t *hl, const char *action_, int argc_, const char **argv_); +fgw_error_t pcb_actionv_(const fgw_func_t *f, fgw_arg_t *res, int argc, fgw_arg_t *argv); + + +int pcb_actionl(const char *action_, ...); /* NULL terminated - DEPRECATED, DO NOT USE (does not set user_call_ctx) */ + + +/* Call an action by name, passing arguments and res in fungw binary format; + Caller must leave argv[0] empty for the function designator. */ +fgw_error_t pcb_actionv_bin(pcb_hidlib_t *hl, const char *name, fgw_arg_t *res, int argc, fgw_arg_t *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. If force_action_mode is true, str + is interpreted as pcb-rnd action despite of the cli mode. + Returns nonzero if the action handler(s) return nonzero. */ +int pcb_parse_command(pcb_hidlib_t *hl, const char *str_, pcb_bool force_action_mode); + +/* Parse the given string into action calls, and call + hid_actionv for each action found. Accepts only + "action(arg1, arg2)" */ +int pcb_parse_actions(pcb_hidlib_t *hl, const char *str_); + +/* Return a static buffer with the current prompt plus an optional + suffix glued to it. Valid until the next call. */ +const char *pcb_cli_prompt(const char *suffix); + +/* Change the cli backend/prompt, entering a new cli mode; the old + mode is pushed on a stack */ +int pcb_cli_enter(const char *backend, const char *prompt); + +/* Leave the current cli mode, returning to the previous mode + (popped from a stack) */ +int pcb_cli_leave(void); + +/* Request for tab completion */ +int pcb_cli_tab(pcb_hidlib_t *hl); + +/* Called on each key press so indication can be updated */ +int pcb_cli_edit(pcb_hidlib_t *hl); + +/* Mouse event while the command line is open; returns zero if + normal event processing shall be inhibited; notify is true if + called in notify mode, false if called in release mode */ +int pcb_cli_mouse(pcb_hidlib_t *hl, pcb_bool notify); + +/* Discard the cli mode stack */ +void pcb_cli_uninit(void); + +/* 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. If force is + non-zero and msg is non-NULL, discard the cache and force querying a + new coord. This mode must NOT be used unless action arguments explictly + requested it. */ +void pcb_hid_get_coords(const char *msg, pcb_coord_t *x, pcb_coord_t *y, int force); + +#define PCB_ACTION_MAX_ARGS 16 + +/* low level action function lookup */ +fgw_func_t *pcb_act_lookup(const char *aname); + +char *pcb_make_action_name(char *out, const char *inp, int inp_len); +PCB_INLINE char *pcb_aname(char *out, const char *inp) +{ + return pcb_make_action_name(out, inp, strlen(inp)); +} + +/* Return 0 on success after an action call */ +PCB_INLINE int pcb_act_result(fgw_arg_t *res, fgw_error_t ret) +{ + if (ret != 0) + return -1; + + if (fgw_arg_conv(&pcb_fgw, res, FGW_INT) != 0) + return -1; + + return res->val.nat_int; +} + +/* Retrieve the (pcb_hidlib_t *) context from argv[0] within an action */ +#define PCB_ACT_HIDLIB ((pcb_hidlib_t *)argv[0].val.argv0.user_call_ctx) + +/* Call an action function directly, bypassing fungw; evaluates to an int + that is 0 on success */ +#define PCB_ACT_CALL_C(func, res, argc, argv) \ + pcb_act_result(res, func(res, argc, argv)) + +/* Require argument idx to exist and convert it to type; on success, also execute stmt */ +#define PCB_ACT_CONVARG(idx, type, aname, stmt) \ +do { \ + if (argc <= idx) { \ + PCB_ACT_FAIL(aname); \ + return FGW_ERR_ARGC; \ + } \ + if (fgw_arg_conv(&pcb_fgw, &argv[idx], type) != 0) { \ + PCB_ACT_FAIL(aname); \ + return FGW_ERR_ARG_CONV; \ + } \ + { stmt; } \ +} while(0) + +/* If argument idx exists, convert it to type; on success, also execute stmt */ +#define PCB_ACT_MAY_CONVARG(idx, type, aname, stmt) \ +do { \ + if (argc > idx) { \ + if (fgw_arg_conv(&pcb_fgw, &argv[idx], type) != 0) { \ + PCB_ACT_FAIL(aname); \ + return FGW_ERR_ARG_CONV; \ + } \ + { stmt; } \ + } \ +} while(0) + +/* Set integer res value */ +#define PCB_ACT_IRES(v) \ +do { \ + res->type = FGW_INT; \ + res->val.nat_int = v; \ +} while(0) + +/* Set double res value */ +#define PCB_ACT_DRES(v) \ +do { \ + res->type = FGW_DOUBLE; \ + res->val.nat_double = v; \ +} while(0) + +#define PCB_ACT_FAIL(x) { pcb_message(PCB_MSG_ERROR, "Syntax error. Usage:\n%s\n", (pcb_acts_ ## x)); return FGW_ERR_ARG_CONV; } + +/*** The default unit to use when a coord value doesn't have its own unit ***/ +extern char *fgw_str2coord_unit; /* saved is char * too */ +#define fgw_str2coord_unit_set(saved, newval) \ +do { \ + saved = fgw_str2coord_unit; \ + fgw_str2coord_unit = newval; \ +} while(0) + +#define fgw_str2coord_unit_restore(saved) \ + fgw_str2coord_unit = saved + +#endif Index: trunk/src/librnd/core/attrib.c =================================================================== --- trunk/src/librnd/core/attrib.c (nonexistent) +++ trunk/src/librnd/core/attrib.c (revision 29248) @@ -0,0 +1,219 @@ +/* + * COPYRIGHT + * + * pcb-rnd, interactive printed circuit board design + * (this file is based on PCB, interactive printed circuit board design) + * Copyright (C) 1994,1995,1996,2004,2006 Thomas Nau + * Copyright (C) 2019 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: http://repo.hu/projects/pcb-rnd/contact.html + * mailing list: pcb-rnd (at) list.repo.hu (send "subscribe") + * + */ + +/* attribute lists */ +#include +#include +#include +#include "config.h" +#include "compat_misc.h" +#include "attrib.h" + +#define NOTIFY(list, name, value) \ +do { \ + if (list->post_change != NULL) \ + list->post_change(list, name, value); \ +} while(0) + +char *pcb_attribute_get(const pcb_attribute_list_t *list, const char *name) +{ + int i; + for (i = 0; i < list->Number; i++) + if (strcmp(name, list->List[i].name) == 0) + return list->List[i].value; + return NULL; +} + +char **pcb_attribute_get_ptr(const pcb_attribute_list_t *list, const char *name) +{ + int i; + for (i = 0; i < list->Number; i++) + if (strcmp(name, list->List[i].name) == 0) + return &list->List[i].value; + return NULL; +} + +char **pcb_attribute_get_namespace_ptr(const pcb_attribute_list_t *list, const char *plugin, const char *key) +{ + int i, glb = -1, plugin_len = strlen(plugin); + + for (i = 0; i < list->Number; i++) { + if (strcmp(list->List[i].name, key) == 0) + glb = i; + if ((strncmp(list->List[i].name, plugin, plugin_len) == 0) && (list->List[i].name[plugin_len] == ':') && (list->List[i].name[plugin_len+1] == ':')) { + if (strcmp(list->List[i].name+plugin_len+2, key) == 0) + return &list->List[i].value; /* found the plugin-specific value, that wins */ + } + } + if (glb >= 0) + return &list->List[glb].value; /* fall back to global if present */ + return NULL; /* nothing */ +} + +char *pcb_attribute_get_namespace(const pcb_attribute_list_t *list, const char *plugin, const char *key) +{ + char **res = pcb_attribute_get_namespace_ptr(list, plugin, key); + if (res == NULL) + return NULL; + return *res; +} + +int pcb_attribute_put(pcb_attribute_list_t * list, const char *name, const char *value) +{ + int i; + + if ((name == NULL) || (*name == '\0')) + return -1; + + /* Replace an existing attribute if there is a name match. */ + for (i = 0; i < list->Number; i++) { + if (strcmp(name, list->List[i].name) == 0) { + char *old_value = list->List[i].value; + list->List[i].value = pcb_strdup_null(value); + NOTIFY(list, list->List[i].name, list->List[i].value); + free(old_value); + return 1; + } + } + + /* At this point, we're going to need to add a new attribute to the + list. See if there's room. */ + if (list->Number >= list->Max) { + list->Max += 10; + list->List = (pcb_attribute_t *) realloc(list->List, list->Max * sizeof(pcb_attribute_t)); + } + + /* Now add the new attribute. */ + i = list->Number; + list->List[i].name = pcb_strdup_null(name); + list->List[i].value = pcb_strdup_null(value); + list->List[i].cpb_written = 1; + NOTIFY(list, list->List[i].name, list->List[i].value); + list->Number++; + return 0; +} + +int pcb_attribute_remove_idx(pcb_attribute_list_t * list, int idx) +{ + int j; + char *old_name = list->List[idx].name, *old_value = list->List[idx].value; + + for (j = idx; j < list->Number-1; j++) + list->List[j] = list->List[j + 1]; + list->Number--; + + NOTIFY(list, old_name, NULL); + free(old_name); + free(old_value); + return 0; +} + +int pcb_attribute_remove(pcb_attribute_list_t * list, const char *name) +{ + int i, found = 0; + for (i = 0; i < list->Number; i++) + if (strcmp(name, list->List[i].name) == 0) { + found++; + pcb_attribute_remove_idx(list, i); + } + return found; +} + +void pcb_attribute_free(pcb_attribute_list_t *list) +{ + int i; + + /* first notify for all removals while the values are still available */ + for (i = 0; i < list->Number; i++) + NOTIFY(list, list->List[i].name, NULL); + + for (i = 0; i < list->Number; i++) { + free(list->List[i].name); + free(list->List[i].value); + } + free(list->List); + list->List = NULL; + list->Max = 0; +} + +void pcb_attribute_copy_all(pcb_attribute_list_t *dest, const pcb_attribute_list_t *src) +{ + int i; + + for (i = 0; i < src->Number; i++) + pcb_attribute_put(dest, src->List[i].name, src->List[i].value); +} + + +void pcb_attribute_copyback_begin(pcb_attribute_list_t *dst) +{ + int i; + + for (i = 0; i < dst->Number; i++) + dst->List[i].cpb_written = 0; +} + +void pcb_attribute_copyback(pcb_attribute_list_t *dst, const char *name, const char *value) +{ + int i; + for (i = 0; i < dst->Number; i++) { + if (strcmp(name, dst->List[i].name) == 0) { + dst->List[i].cpb_written = 1; + if (strcmp(value, dst->List[i].value) != 0) { + char *old_value = dst->List[i].value; + dst->List[i].value = pcb_strdup(value); + NOTIFY(dst, dst->List[i].name, dst->List[i].value); + free(old_value); + } + return; + } + } + pcb_attribute_put(dst, name, value); +} + +void pcb_attribute_copyback_end(pcb_attribute_list_t *dst) +{ + int i; + for (i = 0; i < dst->Number; i++) + if (!dst->List[i].cpb_written) + pcb_attribute_remove_idx(dst, i); +} + + +void pcb_attrib_compat_set_intconn(pcb_attribute_list_t *dst, int intconn) +{ + char buff[32]; + + if (intconn <= 0) + return; + + sprintf(buff, "%d", intconn & 0xFF); + pcb_attribute_put(dst, "intconn", buff); +} + Index: trunk/src/librnd/core/attrib.h =================================================================== --- trunk/src/librnd/core/attrib.h (nonexistent) +++ trunk/src/librnd/core/attrib.h (revision 29248) @@ -0,0 +1,88 @@ +/* + * COPYRIGHT + * + * pcb-rnd, interactive printed circuit board design + * (this file is based on PCB, interactive printed circuit board design) + * Copyright (C) 1994,1995,1996,2006 Thomas Nau + * + * 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: http://repo.hu/projects/pcb-rnd/contact.html + * mailing list: pcb-rnd (at) list.repo.hu (send "subscribe") + * + */ + +/* attribute lists */ + +#ifndef PCB_ATTRIB_H +#define PCB_ATTRIB_H + +typedef struct pcb_attribute_list_s pcb_attribute_list_t; + +typedef struct pcb_attribute_s { + char *name; + char *value; + unsigned cpb_written:1; /* copyback: written */ +} pcb_attribute_t; + +struct pcb_attribute_list_s { + int Number, Max; + pcb_attribute_t *List; + void (*post_change)(pcb_attribute_list_t *list, const char *name, const char *value); /* called any time an attribute changes (including removes); value is NULL if removed; old value is free'd only after the call so cached old values are valid */ +}; + +/* Returns NULL if the name isn't found, else the value for that named + attribute. The ptr version returns the address of the value str in the slot */ +char *pcb_attribute_get(const pcb_attribute_list_t *list, const char *name); +char **pcb_attribute_get_ptr(const pcb_attribute_list_t *list, const char *name); + +/* Same as pcb_attribute_get, but also look for plugin::key which overrides + plain key hits */ +char *pcb_attribute_get_namespace(const pcb_attribute_list_t *list, const char *plugin, const char *key); +char **pcb_attribute_get_namespace_ptr(const pcb_attribute_list_t *list, const char *plugin, const char *key); + + +/* Adds an attribute to the list. If the attribute already exists, the value + is replaced. Returns non-zero if an existing attribute was replaced. */ +int pcb_attribute_put(pcb_attribute_list_t * list, const char *name, const char *value); +/* Simplistic version: Takes a pointer to an object, looks up attributes in it. */ +#define pcb_attrib_get(OBJ,name) pcb_attribute_get(&(OBJ->Attributes), name) +/* Simplistic version: Takes a pointer to an object, sets attributes in it. */ +#define pcb_attrib_put(OBJ,name,value) pcb_attribute_put(&(OBJ->Attributes), name, value) +/* Remove an attribute by name; returns number of items removed */ +int pcb_attribute_remove(pcb_attribute_list_t * list, const char *name); +/* Simplistic version of Remove. */ +#define pcb_attrib_remove(OBJ, name) pcb_attribute_remove(&(OBJ->Attributes), name) + +/* remove item by index - WARNING: no checks are made, idx has to be valid! */ +int pcb_attribute_remove_idx(pcb_attribute_list_t * list, int idx); + +/* Frees memory used by an attribute list */ +void pcb_attribute_free(pcb_attribute_list_t *list); + +/* Copy each attribute from src to dest */ +void pcb_attribute_copy_all(pcb_attribute_list_t *dest, const pcb_attribute_list_t *src); + +/* Copy back a mirrored attribute list, minimizing the changes */ +void pcb_attribute_copyback_begin(pcb_attribute_list_t *dst); +void pcb_attribute_copyback(pcb_attribute_list_t *dst, const char *name, const char *value); +void pcb_attribute_copyback_end(pcb_attribute_list_t *dst); + +/* Set the intconn attribute - hack for compatibility parsing */ +void pcb_attrib_compat_set_intconn(pcb_attribute_list_t *dst, int intconn); + +#endif Index: trunk/src/librnd/core/base64.c =================================================================== --- trunk/src/librnd/core/base64.c (nonexistent) +++ trunk/src/librnd/core/base64.c (revision 29248) @@ -0,0 +1,86 @@ +/* + * COPYRIGHT + * + * pcb-rnd, interactive printed circuit board design + * Copyright (C) 2015 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: http://repo.hu/projects/pcb-rnd/contact.html + * mailing list: pcb-rnd (at) list.repo.hu (send "subscribe") + */ +#include +#include "base64.h" + +static char int2digit(int digit) +{ + if (digit < 26) return 'A' + digit; + if (digit < 52) return 'a' + digit - 26; + if (digit < 62) return '0' + digit - 52; + if (digit == 62) return '+'; + if (digit == 63) return '/'; + return '\0'; /* error */ +} + +static int digit2int(char c) +{ + if ((c >= 'A') && (c <= 'Z')) return c - 'A'; + if ((c >= 'a') && (c <= 'z')) return c - 'a' + 26; + if ((c >= '0') && (c <= '9')) return c - 'a' + 52; + if (c == '+') return 62; + if (c == '/') return 63; + return -1; +} + + +size_t base64_write_right(char *buff_start, size_t buff_len, unsigned long int num) +{ + char *end = buff_start + buff_len; + size_t rlen = 0; + + if (num == 0) { + *end = int2digit(0); + return 1; + } + + while(num > 0) { + unsigned int digit = num & 0x3F; + *end = int2digit(digit); + num >>= 6; + rlen++; + } + + return rlen; +} + +int base64_parse_grow(unsigned long int *num, int chr, int term) +{ + int digit; + if (chr == term) + return 1; + + if (*num >= (ULONG_MAX >> 6UL)) + return -1; + + digit = digit2int(chr); + if (digit < 0) + return -1; + + (*num) <<= 6UL; + (*num) |= digit; + return 0; +} Index: trunk/src/librnd/core/base64.h =================================================================== --- trunk/src/librnd/core/base64.h (nonexistent) +++ trunk/src/librnd/core/base64.h (revision 29248) @@ -0,0 +1,30 @@ +/* + * COPYRIGHT + * + * pcb-rnd, interactive printed circuit board design + * Copyright (C) 2015 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: http://repo.hu/projects/pcb-rnd/contact.html + * mailing list: pcb-rnd (at) list.repo.hu (send "subscribe") + */ + +#include + +size_t base64_write_right(char *buff_start, size_t buff_len, unsigned long int num); +int base64_parse_grow(unsigned long int *num, int chr, int term); Index: trunk/src/librnd/core/box.c =================================================================== --- trunk/src/librnd/core/box.c (nonexistent) +++ trunk/src/librnd/core/box.c (revision 29248) @@ -0,0 +1,57 @@ +/* + * 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) 2017 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: http://repo.hu/projects/pcb-rnd/contact.html + * mailing list: pcb-rnd (at) list.repo.hu (send "subscribe") + * + */ + +#include "config.h" + +#include +#include "rotate.h" +#include "box.h" + +void pcb_box_rotate90(pcb_box_t *Box, pcb_coord_t X, pcb_coord_t Y, unsigned Number) +{ + pcb_coord_t x1 = Box->X1, y1 = Box->Y1, x2 = Box->X2, y2 = Box->Y2; + + PCB_COORD_ROTATE90(x1, y1, X, Y, Number); + PCB_COORD_ROTATE90(x2, y2, X, Y, Number); + Box->X1 = MIN(x1, x2); + Box->Y1 = MIN(y1, y2); + Box->X2 = MAX(x1, x2); + Box->Y2 = MAX(y1, y2); +} + +void pcb_box_enlarge(pcb_box_t *box, double xfactor, double yfactor) +{ + double w = (double)(box->X2 - box->X1) * xfactor / 2.0; + double h = (double)(box->Y2 - box->Y1) * yfactor / 2.0; + + box->X1 = pcb_round(box->X1 - w); + box->Y1 = pcb_round(box->Y1 - h); + box->X2 = pcb_round(box->X2 + w); + box->Y2 = pcb_round(box->Y2 + h); +} Index: trunk/src/librnd/core/box.h =================================================================== --- trunk/src/librnd/core/box.h (nonexistent) +++ trunk/src/librnd/core/box.h (revision 29248) @@ -0,0 +1,264 @@ +/* + * 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) 1998,1999,2000,2001 harry eaton + * + * this file, box.h, was written and is + * Copyright (c) 2001 C. Scott Ananian. + * + * Copyright (C) 2017 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: http://repo.hu/projects/pcb-rnd/contact.html + * mailing list: pcb-rnd (at) list.repo.hu (send "subscribe") + * + * + * Old contact info: + * harry eaton, 6697 Buttonhole Ct, Columbia, MD 21044 USA + * haceaton@aplcomm.jhuapl.edu + * + */ + + +/* random box-related utilities. */ + +#ifndef PCB_BOX_H +#define PCB_BOX_H + +#include +#include "config.h" +#include "math_helper.h" +#include "global_typedefs.h" +#include "pcb_bool.h" + +struct pcb_box_list_s { + pcb_cardinal_t BoxN, /* the number of boxes contained */ + BoxMax; /* max boxes from malloc */ + pcb_box_t *Box; +}; + +#include "misc_util.h" + +typedef enum { + PCB_NORTH = 0, PCB_EAST = 1, PCB_SOUTH = 2, PCB_WEST = 3, + PCB_NE = 4, PCB_SE = 5, PCB_SW = 6, PCB_NW = 7, + PCB_ANY_DIR = 8 +} pcb_direction_t; + +/* rotates box 90-degrees cw */ +/* that's a strange rotation! */ +#define PCB_BOX_ROTATE_CW(box) { pcb_coord_t t;\ + t = (box).X1; (box).X1 = -(box).Y2; (box).Y2 = (box).X2;\ + (box).X2 = -(box).Y1; (box).Y1 = t;\ +} +#define PCB_BOX_ROTATE_TO_NORTH(box, dir) do { pcb_coord_t t;\ + switch(dir) {\ + case PCB_EAST: \ + t = (box).X1; (box).X1 = (box).Y1; (box).Y1 = -(box).X2;\ + (box).X2 = (box).Y2; (box).Y2 = -t; break;\ + case PCB_SOUTH: \ + t = (box).X1; (box).X1 = -(box).X2; (box).X2 = -t;\ + t = (box).Y1; (box).Y1 = -(box).Y2; (box).Y2 = -t; break;\ + case PCB_WEST: \ + t = (box).X1; (box).X1 = -(box).Y2; (box).Y2 = (box).X2;\ + (box).X2 = -(box).Y1; (box).Y1 = t; break;\ + case PCB_NORTH: break;\ + default: assert(0);\ + }\ + } while (0) +#define PCB_BOX_ROTATE_FROM_NORTH(box, dir) do { pcb_coord_t t;\ + switch(dir) {\ + case PCB_WEST: \ + t = (box).X1; (box).X1 = (box).Y1; (box).Y1 = -(box).X2;\ + (box).X2 = (box).Y2; (box).Y2 = -t; break;\ + case PCB_SOUTH: \ + t = (box).X1; (box).X1 = -(box).X2; (box).X2 = -t;\ + t = (box).Y1; (box).Y1 = -(box).Y2; (box).Y2 = -t; break;\ + case PCB_EAST: \ + t = (box).X1; (box).X1 = -(box).Y2; (box).Y2 = (box).X2;\ + (box).X2 = -(box).Y1; (box).Y1 = t; break;\ + case PCB_NORTH: break;\ + default: assert(0);\ + }\ + } while (0) + +/* to avoid overflow, we calculate centers this way */ +#define PCB_BOX_CENTER_X(b) ((b).X1 + ((b).X2 - (b).X1)/2) +#define PCB_BOX_CENTER_Y(b) ((b).Y1 + ((b).Y2 - (b).Y1)/2) + +#define PCB_MOVE_POINT(xs,ys,deltax,deltay) \ + do { \ + ((xs) += (deltax)); \ + ((ys) += (deltay)); \ + } while(0) + +#define PCB_BOX_MOVE_LOWLEVEL(b,dx,dy) \ + do { \ + PCB_MOVE_POINT((b)->X1,(b)->Y1,(dx),(dy)); \ + PCB_MOVE_POINT((b)->X2,(b)->Y2,(dx),(dy)); \ + } while(0) + + +typedef struct pcb_cheap_point_s { + pcb_coord_t X, Y; +} pcb_cheap_point_t; + + +/* note that boxes are closed on top and left and open on bottom and right. */ +/* this means that top-left corner is in box, *but bottom-right corner is + * not*. */ +PCB_INLINE pcb_bool pcb_point_in_box(const pcb_box_t * box, pcb_coord_t X, pcb_coord_t Y) +{ + return (X >= box->X1) && (Y >= box->Y1) && (X < box->X2) && (Y < box->Y2); +} + +PCB_INLINE pcb_bool pcb_point_in_closed_box(const pcb_box_t * box, pcb_coord_t X, pcb_coord_t Y) +{ + return (X >= box->X1) && (Y >= box->Y1) && (X <= box->X2) && (Y <= box->Y2); +} + +PCB_INLINE pcb_bool pcb_box_is_good(const pcb_box_t * b) +{ + return (b->X1 < b->X2) && (b->Y1 < b->Y2); +} + +PCB_INLINE pcb_bool pcb_box_intersect(const pcb_box_t * a, const pcb_box_t * b) +{ + return (a->X1 < b->X2) && (b->X1 < a->X2) && (a->Y1 < b->Y2) && (b->Y1 < a->Y2); +} + +PCB_INLINE pcb_cheap_point_t pcb_closest_pcb_point_in_box(const pcb_cheap_point_t * from, const pcb_box_t * box) +{ + pcb_cheap_point_t r; + assert(box->X1 < box->X2 && box->Y1 < box->Y2); + r.X = (from->X < box->X1) ? box->X1 : (from->X > box->X2 - 1) ? box->X2 - 1 : from->X; + r.Y = (from->Y < box->Y1) ? box->Y1 : (from->Y > box->Y2 - 1) ? box->Y2 - 1 : from->Y; + assert(pcb_point_in_box(box, r.X, r.Y)); + return r; +} + +PCB_INLINE pcb_bool pcb_box_in_box(const pcb_box_t * outer, const pcb_box_t * inner) +{ + return (outer->X1 <= inner->X1) && (inner->X2 <= outer->X2) && (outer->Y1 <= inner->Y1) && (inner->Y2 <= outer->Y2); +} + +PCB_INLINE pcb_box_t pcb_clip_box(const pcb_box_t * box, const pcb_box_t * clipbox) +{ + pcb_box_t r; + assert(pcb_box_intersect(box, clipbox)); + r.X1 = MAX(box->X1, clipbox->X1); + r.X2 = MIN(box->X2, clipbox->X2); + r.Y1 = MAX(box->Y1, clipbox->Y1); + r.Y2 = MIN(box->Y2, clipbox->Y2); + assert(pcb_box_in_box(clipbox, &r)); + return r; +} + +PCB_INLINE pcb_box_t pcb_shrink_box(const pcb_box_t * box, pcb_coord_t amount) +{ + pcb_box_t r = *box; + r.X1 += amount; + r.Y1 += amount; + r.X2 -= amount; + r.Y2 -= amount; + return r; +} + +PCB_INLINE pcb_box_t pcb_bloat_box(const pcb_box_t * box, pcb_coord_t amount) +{ + return pcb_shrink_box(box, -amount); +} + +/* construct a minimum box that touches the input box at the center */ +PCB_INLINE pcb_box_t pcb_box_center(const pcb_box_t * box) +{ + pcb_box_t r; + r.X1 = box->X1 + (box->X2 - box->X1) / 2; + r.X2 = r.X1 + 1; + r.Y1 = box->Y1 + (box->Y2 - box->Y1) / 2; + r.Y2 = r.Y1 + 1; + return r; +} + +/* construct a minimum box that touches the input box at the corner */ +PCB_INLINE pcb_box_t pcb_box_corner(const pcb_box_t * box) +{ + pcb_box_t r; + r.X1 = box->X1; + r.X2 = r.X1 + 1; + r.Y1 = box->Y1; + r.Y2 = r.Y1 + 1; + return r; +} + +/* construct a box that holds a single point */ +PCB_INLINE pcb_box_t pcb_point_box(pcb_coord_t X, pcb_coord_t Y) +{ + pcb_box_t r; + r.X1 = X; + r.X2 = X + 1; + r.Y1 = Y; + r.Y2 = Y + 1; + return r; +} + +/* close a bounding box by pushing its upper right corner */ +PCB_INLINE void pcb_close_box(pcb_box_t * r) +{ + r->X2++; + r->Y2++; +} + +/* return the square of the minimum distance from a point to some point + * inside a box. The box is half-closed! That is, the top-left corner + * is considered in the box, but the bottom-right corner is not. */ +PCB_INLINE double pcb_dist2_to_box(const pcb_cheap_point_t * p, const pcb_box_t * b) +{ + pcb_cheap_point_t r = pcb_closest_pcb_point_in_box(p, b); + return pcb_distance(r.X, r.Y, p->X, p->Y); +} + + +/* Modify dst to include src */ +PCB_INLINE void pcb_box_bump_box(pcb_box_t *dst, const pcb_box_t *src) +{ + if (src->X1 < dst->X1) dst->X1 = src->X1; + if (src->Y1 < dst->Y1) dst->Y1 = src->Y1; + if (src->X2 > dst->X2) dst->X2 = src->X2; + if (src->Y2 > dst->Y2) dst->Y2 = src->Y2; +} + +/* Modify dst to include src */ +PCB_INLINE void pcb_box_bump_point(pcb_box_t *dst, pcb_coord_t x, pcb_coord_t y) +{ + if (x < dst->X1) dst->X1 = x; + if (y < dst->Y1) dst->Y1 = y; + if (x > dst->X2) dst->X2 = x; + if (y > dst->Y2) dst->Y2 = y; +} + +/* rotates a box in 90 degree steps */ +void pcb_box_rotate90(pcb_box_t *Box, pcb_coord_t X, pcb_coord_t Y, unsigned Number); + +/* Enlarge a box by adding current width,height multiplied by xfactor,yfactor */ +void pcb_box_enlarge(pcb_box_t *box, double xfactor, double yfactor); + +#endif /* __BOX_H_INCLUDED__ */ Index: trunk/src/librnd/core/color.c =================================================================== --- trunk/src/librnd/core/color.c (nonexistent) +++ trunk/src/librnd/core/color.c (revision 29248) @@ -0,0 +1,185 @@ +/* + * COPYRIGHT + * + * pcb-rnd, interactive printed circuit board design + * Copyright (C) 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: http://repo.hu/projects/pcb-rnd/contact.html + * mailing list: pcb-rnd (at) list.repo.hu (send "subscribe") + */ + +#include "config.h" + +#include +#include + +#define GVT_DONT_UNDEF +#include "color.h" +#include + +#define PACK_COLOR_(r,g,b,a) ((((unsigned long)(r)) << 24) | (((unsigned long)(g)) << 16) | (((unsigned long)(b)) << 8) | (((unsigned long)(a)))) +#define PACK_COLOR(clr) PACK_COLOR_(clr->r, clr->g, clr->b, clr->a) +#define COLOR_TO_FLOAT(clr) \ +do { \ + clr->fr = (float)clr->r / 255.0; \ + clr->fg = (float)clr->g / 255.0; \ + clr->fb = (float)clr->b / 255.0; \ + clr->fa = (float)clr->a / 255.0; \ +} while(0) + +static const char *pcb_color_to_hex = "0123456789abcdef"; +#define COLOR_TO_HEX(val) pcb_color_to_hex[(val) & 0x0F] + +#define COLOR_TO_STR_COMP(dst, val) \ +do { \ + (dst)[0] = COLOR_TO_HEX(val >> 4); \ + (dst)[1] = COLOR_TO_HEX(val); \ +} while(0) + +#define COLOR_TO_STR(clr) \ +do { \ + clr->str[0] = '#'; \ + COLOR_TO_STR_COMP(clr->str+1, clr->r); \ + COLOR_TO_STR_COMP(clr->str+3, clr->g); \ + COLOR_TO_STR_COMP(clr->str+5, clr->b); \ + if (clr->a != 255) { \ + COLOR_TO_STR_COMP(clr->str+7, clr->a); \ + clr->str[9] = '\0'; \ + } \ + else \ + clr->str[7] = '\0'; \ +} while(0) + +#define CLAMP01(c) (((c) < 0.0) ? 0.0 : (((c) > 1.0) ? 1.0 : (c))) + +int pcb_color_load_int(pcb_color_t *dst, unsigned char r, unsigned char g, unsigned char b, unsigned char a) +{ + dst->r = r; + dst->g = g; + dst->b = b; + dst->a = a; + dst->packed = PACK_COLOR(dst); + COLOR_TO_FLOAT(dst); + COLOR_TO_STR(dst); + return 0; +} + +int pcb_color_load_packed(pcb_color_t *dst, unsigned long p) +{ + dst->packed = p; + dst->r = (p & 0xff000000UL) >> 24; + dst->g = (p & 0x00ff0000UL) >> 16; + dst->b = (p & 0x0000ff00UL) >> 8; + dst->a = (p & 0x000000ffUL); + COLOR_TO_FLOAT(dst); + COLOR_TO_STR(dst); + return 0; +} + +int pcb_color_load_float(pcb_color_t *dst, float r, float g, float b, float a) +{ + dst->r = CLAMP01(r) * 255.0; + dst->g = CLAMP01(g) * 255.0; + dst->b = CLAMP01(b) * 255.0; + dst->a = CLAMP01(a) * 255.0; + dst->packed = PACK_COLOR(dst); + COLOR_TO_STR(dst); + return 0; +} + +/* Convert a hex digit or return -1 on error */ +#define HEXDIGCONV(res, chr) \ +do { \ + if ((chr >= '0') && (chr <= '9')) res = chr - '0'; \ + else if ((chr >= 'a') && (chr <= 'f')) res = chr - 'a' + 10; \ + else if ((chr >= 'A') && (chr <= 'F')) res = chr - 'A' + 10; \ + else \ + return -1; \ +} while(0) + +/* convert a 2 digit hex number or return -1 on error */ +#define HEXCONV(dst_fld, src, idx) \ +do { \ + unsigned int tmp1, tmp2; \ + HEXDIGCONV(tmp1, src[idx]); \ + HEXDIGCONV(tmp2, src[idx+1]); \ + dst_fld = tmp1 << 4 | tmp2; \ +} while(0) + +int pcb_color_load_str(pcb_color_t *dst, const char *src) +{ + if (src[0] != '#') + return -1; + + HEXCONV(dst->r, src, 1); + HEXCONV(dst->g, src, 3); + HEXCONV(dst->b, src, 5); + if (src[7] != '\0') + HEXCONV(dst->a, src, 7); + else + dst->a = 255; + + dst->packed = PACK_COLOR(dst); + COLOR_TO_FLOAT(dst); + COLOR_TO_STR(dst); + return 0; +} + +pcb_color_t *pcb_clrdup(const pcb_color_t *src) +{ + pcb_color_t *dst = malloc(sizeof(pcb_color_t)); + memcpy(dst, src, sizeof(pcb_color_t)); + return dst; +} + +static pcb_color_t pcb_color_black_; +static pcb_color_t pcb_color_white_; +static pcb_color_t pcb_color_cyan_; +static pcb_color_t pcb_color_red_; +static pcb_color_t pcb_color_blue_; +static pcb_color_t pcb_color_drill_; +static pcb_color_t pcb_color_magenta_; +static pcb_color_t pcb_color_golden_; +static pcb_color_t pcb_color_grey33_; + +const pcb_color_t *pcb_color_black = &pcb_color_black_; +const pcb_color_t *pcb_color_white = &pcb_color_white_; +const pcb_color_t *pcb_color_cyan = &pcb_color_cyan_; +const pcb_color_t *pcb_color_red = &pcb_color_red_; +const pcb_color_t *pcb_color_blue = &pcb_color_blue_; +const pcb_color_t *pcb_color_drill = &pcb_color_drill_; +const pcb_color_t *pcb_color_grey33 = &pcb_color_grey33_; +const pcb_color_t *pcb_color_magenta = &pcb_color_magenta_; +const pcb_color_t *pcb_color_golden = &pcb_color_golden_; + +void pcb_color_init(void) +{ + pcb_color_load_str(&pcb_color_black_, "#000000"); + pcb_color_load_str(&pcb_color_white_, "#ffffff"); + pcb_color_load_str(&pcb_color_cyan_, "#00ffff"); + pcb_color_load_str(&pcb_color_red_, "#ff0000"); + pcb_color_load_str(&pcb_color_blue_, "#0000ff"); + pcb_color_load_str(&pcb_color_grey33_, "#333333"); + pcb_color_load_str(&pcb_color_magenta_, "#ff00ff"); + pcb_color_load_str(&pcb_color_golden_, "#dddd22"); + pcb_color_load_str(&pcb_color_drill_, "#ff00ff"); + strcpy(pcb_color_drill_.str, "drill"); +} + + Index: trunk/src/librnd/core/color.h =================================================================== --- trunk/src/librnd/core/color.h (nonexistent) +++ trunk/src/librnd/core/color.h (revision 29248) @@ -0,0 +1,85 @@ +/* + * COPYRIGHT + * + * pcb-rnd, interactive printed circuit board design + * Copyright (C) 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: http://repo.hu/projects/pcb-rnd/contact.html + * mailing list: pcb-rnd (at) list.repo.hu (send "subscribe") + */ + +#ifndef PCB_COLOR_H +#define PCB_COLOR_H + +#include "global_typedefs.h" +#include + +struct pcb_color_s { + unsigned char r, g, b, a; /* primary storage; alpha is not really supported at the moment */ + unsigned long packed; /* cache: 32 bit portable (byte-order-safe) packed version used for lookups */ + float fr, fg, fb, fa; /* cache: 0..1 version; using float to save memory^1 */ + char str[10]; /* cache: "#rrggbb[aa]" \0 terminated string version */ +}; + +extern const pcb_color_t *pcb_color_black; +extern const pcb_color_t *pcb_color_white; +extern const pcb_color_t *pcb_color_cyan; +extern const pcb_color_t *pcb_color_red; +extern const pcb_color_t *pcb_color_blue; +extern const pcb_color_t *pcb_color_grey33; +extern const pcb_color_t *pcb_color_magenta; +extern const pcb_color_t *pcb_color_golden; +extern const pcb_color_t *pcb_color_drill; + +/* Convert a color from various formats to a pcb color; returns 0 on success */ +int pcb_color_load_int(pcb_color_t *dst, unsigned char r, unsigned char g, unsigned char b, unsigned char a); +int pcb_color_load_packed(pcb_color_t *dst, unsigned long p); +int pcb_color_load_float(pcb_color_t *dst, float r, float g, float b, float a); +int pcb_color_load_str(pcb_color_t *dst, const char *src); + +/* Same as strdup(), but for colors */ +pcb_color_t *pcb_clrdup(const pcb_color_t *src); + +void pcb_color_init(void); + + +/* temporary hack */ +#define pcb_color_is_drill(clr) (strcmp((clr)->str, "drill") == 0) + +/*** color vector ***/ + +#define GVT(x) vtclr_ ## x +#define GVT_ELEM_TYPE pcb_color_t +#define GVT_SIZE_TYPE size_t +#define GVT_DOUBLING_THRS 512 +#define GVT_START_SIZE 16 +#define GVT_FUNC +#define GVT_SET_NEW_BYTES_TO 0 + +#include +#define GVT_REALLOC(vect, ptr, size) realloc(ptr, size) +#define GVT_FREE(vect, ptr) free(ptr) +#include + +/* Note ^1: openGL uses GLfloat which is guaranteed to be at least 32 bits; +but at the end for each color component it's unreasonable to use more than 8 +bits and it is unlikely to encounter a system that is capable of doing opengl +but having a float type with less integer bits than 8. */ + +#endif