Index: trunk/scconfig/Rev.h =================================================================== --- trunk/scconfig/Rev.h (revision 12594) +++ trunk/scconfig/Rev.h (revision 12595) @@ -1 +1 @@ -static const int myrev = 12567; +static const int myrev = 12595; Index: trunk/scconfig/Rev.tab =================================================================== --- trunk/scconfig/Rev.tab (revision 12594) +++ trunk/scconfig/Rev.tab (revision 12595) @@ -1,4 +1,4 @@ -12567 configure new source files for padstacks +12595 configure new source files for padstacks 12401 configure new source files for more generic thermal support 12108 configure tool code splitup 11724 configure new default pcb Index: trunk/src/obj_padstack_list.c =================================================================== --- trunk/src/obj_padstack_list.c (revision 12594) +++ trunk/src/obj_padstack_list.c (nonexistent) @@ -1,25 +0,0 @@ -/* - * COPYRIGHT - * - * pcb-rnd, interactive printed circuit board design - * 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., 675 Mass Ave, Cambridge, MA 02139, USA. - * - */ - -#define TDL_DONT_UNDEF -#include "obj_padstack_list.h" -#include Index: trunk/src/obj_padstack_list.h =================================================================== --- trunk/src/obj_padstack_list.h (revision 12594) +++ trunk/src/obj_padstack_list.h (nonexistent) @@ -1,47 +0,0 @@ -/* - * COPYRIGHT - * - * pcb-rnd, interactive printed circuit board design - * 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., 675 Mass Ave, Cambridge, MA 02139, USA. - * - */ - -#ifndef PCB_OBJ_PADSTACK_LIST_H -#define PCB_OBJ_PADSTACK_LIST_H - -#define PCB_PADSTACK_STRUCT_ONLY -#include "obj_padstack.h" - - -/* List of padstatcks */ -#define TDL(x) padstacklist_ ## x -#define TDL_LIST_T padstacklist_t -#define TDL_ITEM_T pcb_padstack_t -#define TDL_FIELD link -#define TDL_SIZE_T size_t -#define TDL_FUNC - -#define padstacklist_foreach(list, iterator, loop_elem) \ - gdl_foreach_((&((list)->lst)), (iterator), (loop_elem)) - - -#include -#include - -#undef PCB_PADSTACK_STRUCT_ONLY - -#endif Index: trunk/src/obj_padstack_op.c =================================================================== --- trunk/src/obj_padstack_op.c (revision 12594) +++ trunk/src/obj_padstack_op.c (nonexistent) @@ -1,157 +0,0 @@ -/* - * COPYRIGHT - * - * pcb-rnd, interactive printed circuit board design - * 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., 675 Mass Ave, Cambridge, MA 02139, USA. - * - */ - -#include "polygon.h" - -void *pcb_padstackop_add_to_buffer(pcb_opctx_t *ctx, pcb_padstack_t *ps) -{ - pcb_padstack_t *p; - pcb_cardinal_t npid; - pcb_padstack_proto_t *proto = pcb_padstack_get_proto(ps); - if (proto == NULL) - return NULL; - - npid = pcb_padstack_proto_insert_dup(ctx->buffer.dst, proto, 1); - p = pcb_padstack_new(ctx->buffer.dst, npid, ps->x, ps->y, ps->Clearance, pcb_flag_mask(ps->Flags, PCB_FLAG_FOUND | ctx->buffer.extraflg)); - return pcb_padstack_copy_meta(p, ps); -} - -void *pcb_padstackop_move_to_buffer(pcb_opctx_t *ctx, pcb_padstack_t *ps) -{ - pcb_cardinal_t npid; - pcb_padstack_proto_t *proto = pcb_padstack_get_proto(ps); - if (proto == NULL) - return NULL; - - npid = pcb_padstack_proto_insert_dup(ctx->buffer.dst, proto, 1); - - pcb_poly_restore_to_poly(ctx->buffer.src, PCB_TYPE_PADSTACK, NULL, ps); - pcb_r_delete_entry(ctx->buffer.src->padstack_tree, (pcb_box_t *)ps); - - padstacklist_remove(ps); - ps->proto = npid; - padstacklist_append(&ctx->buffer.dst->padstack, ps); - - PCB_FLAG_CLEAR(PCB_FLAG_WARN | PCB_FLAG_FOUND, ps); - - if (!ctx->buffer.dst->padstack_tree) - ctx->buffer.dst->padstack_tree = pcb_r_create_tree(NULL, 0, 0); - - pcb_r_insert_entry(ctx->buffer.dst->padstack_tree, (pcb_box_t *)ps, 0); - pcb_poly_clear_from_poly(ctx->buffer.dst, PCB_TYPE_PADSTACK, NULL, ps); - - PCB_SET_PARENT(ps, data, ctx->buffer.dst); - return ps; -} - -void *pcb_padstackop_copy(pcb_opctx_t *ctx, pcb_padstack_t *ps) -{ - pcb_padstack_t *nps; - pcb_data_t *data = ctx->copy.pcb->Data; - pcb_cardinal_t npid; - pcb_padstack_proto_t *proto = pcb_padstack_get_proto(ps); - - if (proto == NULL) - return NULL; - npid = pcb_padstack_proto_insert_dup(data, proto, 1); - - nps = pcb_padstack_new(data, npid, ps->x + ctx->copy.DeltaX, ps->y + ctx->copy.DeltaY, ps->Clearance, pcb_flag_mask(ps->Flags, PCB_FLAG_FOUND)); - if (nps == NULL) - return NULL; - - pcb_padstack_copy_meta(nps, ps); - pcb_padstack_invalidate_draw(nps); - pcb_undo_add_obj_to_create(PCB_TYPE_PADSTACK, data, nps, nps); - return nps; -} - -void *pcb_padstackop_move_noclip(pcb_opctx_t *ctx, pcb_padstack_t *ps) -{ - pcb_padstack_invalidate_erase(ps); - pcb_padstack_move(ps, ctx->move.dx, ctx->move.dy); - pcb_padstack_invalidate_draw(ps); - pcb_draw(); - return ps; -} - -void *pcb_padstackop_move(pcb_opctx_t *ctx, pcb_padstack_t *ps) -{ - pcb_data_t *data = ps->parent.data; - assert(ps->parent_type = PCB_PARENT_DATA); - - pcb_r_delete_entry(data->padstack_tree, (pcb_box_t *)ps); - pcb_poly_restore_to_poly(data, PCB_TYPE_PADSTACK, NULL, ps); - pcb_padstackop_move_noclip(ctx, ps); - pcb_r_insert_entry(data->padstack_tree, (pcb_box_t *)ps, 0); - pcb_poly_clear_from_poly(data, PCB_TYPE_PADSTACK, NULL, ps); - return ps; -} - -void *pcb_padstackop_clip(pcb_opctx_t *ctx, pcb_padstack_t *ps) -{ - pcb_data_t *data = ps->parent.data; - assert(ps->parent_type = PCB_PARENT_DATA); - - if (ctx->clip.restore) { - pcb_r_delete_entry(data->padstack_tree, (pcb_box_t *)ps); - pcb_poly_restore_to_poly(data, PCB_TYPE_PADSTACK, NULL, ps); - } - if (ctx->clip.clear) { - pcb_r_insert_entry(data->padstack_tree, (pcb_box_t *)ps, 0); - pcb_poly_clear_from_poly(data, PCB_TYPE_PADSTACK, NULL, ps); - } - - return ps; -} - -void *pcb_padstackop_remove(pcb_opctx_t *ctx, pcb_padstack_t *ps) -{ - pcb_padstack_invalidate_erase(ps); - pcb_undo_move_obj_to_remove(PCB_TYPE_PADSTACK, ps, ps, ps); - PCB_CLEAR_PARENT(ps); - return NULL; -} - -void *pcb_padstackop_destroy(pcb_opctx_t *ctx, pcb_padstack_t *ps) -{ - pcb_r_delete_entry(ctx->remove.destroy_target->padstack_tree, (pcb_box_t *)ps); - pcb_padstack_free(ps); - return NULL; -} - -void *pcb_padstackop_change_thermal(pcb_opctx_t *ctx, pcb_padstack_t *ps) -{ - pcb_board_t *pcb = ctx->chgtherm.pcb; - pcb_layer_t *layer = pcb_get_layer(pcb->Data, ctx->chgtherm.lid); - - pcb_undo_add_obj_to_clear_poly(PCB_TYPE_PADSTACK, ps, ps, ps, pcb_false); - pcb_poly_restore_to_poly(pcb->Data, PCB_TYPE_PADSTACK, layer, ps); - -#warning TODO: undo - pcb_padstack_set_thermal(ps, ctx->chgtherm.lid, ctx->chgtherm.style); - - pcb_undo_add_obj_to_clear_poly(PCB_TYPE_PADSTACK, ps, ps, ps, pcb_true); - pcb_poly_clear_from_poly(pcb->Data, PCB_TYPE_PADSTACK, layer, ps); - pcb_padstack_invalidate_draw(ps); - return ps; -} - Index: trunk/src/obj_padstack_op.h =================================================================== --- trunk/src/obj_padstack_op.h (revision 12594) +++ trunk/src/obj_padstack_op.h (nonexistent) @@ -1,50 +0,0 @@ -/* - * COPYRIGHT - * - * pcb-rnd, interactive printed circuit board design - * 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., 675 Mass Ave, Cambridge, MA 02139, USA. - * - */ - -/*** Standard operations on padstacks ***/ - -#include "operation.h" - -void *pcb_padstackop_add_to_buffer(pcb_opctx_t *ctx, pcb_padstack_t *ps); -void *pcb_padstackop_move_to_buffer(pcb_opctx_t *ctx, pcb_padstack_t *ps); - -void *pcb_padstackop_copy(pcb_opctx_t *ctx, pcb_padstack_t *ps); -void *pcb_padstackop_move(pcb_opctx_t *ctx, pcb_padstack_t *ps); -void *pcb_padstackop_move_noclip(pcb_opctx_t *ctx, pcb_padstack_t *ps); -void *pcb_padstackop_clip(pcb_opctx_t *ctx, pcb_padstack_t *ps); -void *pcb_padstackop_remove(pcb_opctx_t *ctx, pcb_padstack_t *ps); -void *pcb_padstackop_destroy(pcb_opctx_t *ctx, pcb_padstack_t *ps); - -void *pcb_padstackop_change_thermal(pcb_opctx_t *ctx, pcb_padstack_t *ps); - - -/*** TODO: unimplemented ones ***/ - -void *pcb_padstackop_change_size(pcb_opctx_t *ctx, pcb_padstack_t *ps); -void *pcb_padstackop_change_2nd_size(pcb_opctx_t *ctx, pcb_padstack_t *ps); -void *pcb_padstackop_change_clear_size(pcb_opctx_t *ctx, pcb_padstack_t *ps); - -void *pcb_padstackop_change_name(pcb_opctx_t *ctx, pcb_padstack_t *ps); - -void *pcb_padstackop_change_flag(pcb_opctx_t *ctx, pcb_padstack_t *ps); - -void *pcb_padstackop_rotate90(pcb_opctx_t *ctx, pcb_padstack_t *ps); Index: trunk/src/obj_padstack_inlines.h =================================================================== --- trunk/src/obj_padstack_inlines.h (revision 12594) +++ trunk/src/obj_padstack_inlines.h (nonexistent) @@ -1,262 +0,0 @@ -/* - * COPYRIGHT - * - * pcb-rnd, interactive printed circuit board design - * 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., 675 Mass Ave, Cambridge, MA 02139, USA. - * - */ - -#ifndef PCB_OBJ_PADSTACK_INLINES_H -#define PCB_OBJ_PADSTACK_INLINES_H - -#include "board.h" -#include "data.h" -#include "obj_padstack.h" -#include "vtpadstack.h" -#include "layer.h" -#include "thermal.h" - -typedef enum { - PCB_BB_NONE, /* no drill */ - PCB_BB_THRU, /* all way thru */ - PCB_BB_BB, - PCB_BB_INVALID -} pcb_bb_type_t; - -/* Returns the ID of a proto within its parent's cache */ -static inline PCB_FUNC_UNUSED pcb_cardinal_t pcb_padstack_get_proto_id(pcb_padstack_proto_t *proto) -{ - pcb_data_t *data = proto->parent; - if ((proto >= data->ps_protos.array) && (proto < data->ps_protos.array + data->ps_protos.used)) - return proto - data->ps_protos.array; - assert(!"padstack proto is not in its own parent!"); - return PCB_PADSTACK_INVALID; -} - -/* return the padstack prototype for a padstack reference - returns NULL if not found */ -static inline PCB_FUNC_UNUSED pcb_padstack_proto_t *pcb_padstack_get_proto_(const pcb_data_t *data, pcb_cardinal_t proto) -{ - if (proto >= data->ps_protos.used) - return NULL; - if (data->ps_protos.array[proto].in_use == 0) - return NULL; - return data->ps_protos.array + proto; -} - -/* return the padstack prototype for a padstack reference - returns NULL if not found */ -static inline PCB_FUNC_UNUSED pcb_padstack_proto_t *pcb_padstack_get_proto(pcb_padstack_t *ps) -{ - return pcb_padstack_get_proto_(ps->parent.data, ps->proto); -} - -/* return the padstack transformed shape. Returns NULL if the proto or the - tshape is not. */ -static inline PCB_FUNC_UNUSED pcb_padstack_tshape_t *pcb_padstack_get_tshape_(const pcb_data_t *data, pcb_cardinal_t proto, int protoi) -{ - pcb_padstack_proto_t *pr = pcb_padstack_get_proto_(data, proto); - if (protoi < 0) - return NULL; - if (pr == NULL) - return NULL; - if (protoi >= pr->tr.used) - return NULL; - return &pr->tr.array[protoi]; -} - -/* return the padstack prototype for a padstack reference - returns NULL if not found */ -static inline PCB_FUNC_UNUSED pcb_padstack_tshape_t *pcb_padstack_get_tshape(pcb_padstack_t *ps) -{ - if (ps->protoi < 0) { /* need to update this */ - pcb_padstack_proto_t *pr = pcb_padstack_get_proto_(ps->parent.data, ps->proto); - if (pr == NULL) - return NULL; - return pcb_padstack_make_tshape(ps->parent.data, pr, ps->rot, ps->xmirror, &ps->protoi); - } - return pcb_padstack_get_tshape_(ps->parent.data, ps->proto, ps->protoi); -} - -/* return the type of drill and optionally fill in group IDs of drill ends ; - if proto_out is not NULL, also load it with the proto */ -static inline PCB_FUNC_UNUSED pcb_bb_type_t pcb_padstack_bbspan(pcb_board_t *pcb, pcb_padstack_t *ps, pcb_layergrp_id_t *top, pcb_layergrp_id_t *bottom, pcb_padstack_proto_t **proto_out) -{ - pcb_bb_type_t res; - int topi, boti; - pcb_padstack_proto_t *proto = pcb_padstack_get_proto(ps); - - if (proto_out != NULL) - *proto_out = proto; - - if (proto == NULL) - return PCB_BB_INVALID; - - /* most common case should be quick */ - if (proto->hdia == 0) { - if (top != NULL) *top = -1; - if (bottom != NULL) *bottom = -1; - return PCB_BB_NONE; - } - - if ((proto->htop == 0) && (proto->hbottom == 0)) { - if ((top == NULL) && (bottom == NULL)) - return PCB_BB_THRU; - res = PCB_BB_THRU; - } - else - res = PCB_BB_BB; - - /* slower case: need to look up start and end */ - if (!pcb->LayerGroups.cache.copper_valid) - pcb_layergrp_copper_cache_update(&pcb->LayerGroups); - - if (proto->htop >= 0) { - /* positive: count from top copper down, bump at bottom */ - if (proto->htop < pcb->LayerGroups.cache.copper_len) - topi = proto->htop; - else - topi = pcb->LayerGroups.cache.copper_len - 1; - } - else { - /* negative: count from bottom copper up, bump at top */ - topi = pcb->LayerGroups.cache.copper_len - 1 - proto->htop; - if (topi < 0) - topi = 0; - } - - if (proto->hbottom >= 0) { - /* positive: count from bottom copper up, bump at top */ - if (proto->hbottom < pcb->LayerGroups.cache.copper_len-1) - boti = pcb->LayerGroups.cache.copper_len-1-proto->hbottom; - else - boti = 0; - } - else { - /* positive: count from top copper down, bump at bottom */ - boti = -proto->hbottom; - if (boti > pcb->LayerGroups.cache.copper_len - 1) - boti = pcb->LayerGroups.cache.copper_len - 1; - } - - if (boti <= topi) { - if (top != NULL) *top = -1; - if (bottom != NULL) *bottom = -1; - return PCB_BB_INVALID; - } - - if (top != NULL) *top = pcb->LayerGroups.cache.copper[topi]; - if (bottom != NULL) *bottom = pcb->LayerGroups.cache.copper[boti]; - - return res; -} - -/* return whether a given padstack drills a given group - (does not consider plating, only drill!) */ -static inline PCB_FUNC_UNUSED pcb_bool_t pcb_padstack_bb_drills(pcb_board_t *pcb, pcb_padstack_t *ps, pcb_layergrp_id_t grp, pcb_padstack_proto_t **proto_out) -{ - pcb_layergrp_id_t top, bot; - pcb_bb_type_t res = pcb_padstack_bbspan(pcb, ps, &top, &bot, proto_out); - switch(res) { - case PCB_BB_THRU: return pcb_true; - case PCB_BB_NONE: case PCB_BB_INVALID: return 0; - case PCB_BB_BB: return (grp <= bot) && (grp >= top); - } - return pcb_false; -} - -/* returns the shape the padstack has on the given layer group; - WARNING: does not respect the NOSHAPE thermal, should NOT be - called directly; use pcb_padstack_shape_*() instead. */ -static inline PCB_FUNC_UNUSED pcb_padstack_shape_t *pcb_padstack_shape(pcb_padstack_t *ps, pcb_layer_type_t lyt, pcb_layer_combining_t comb) -{ - int n; - pcb_padstack_tshape_t *ts = pcb_padstack_get_tshape(ps); - if (ts == NULL) - return NULL; - - lyt &= (PCB_LYT_ANYTHING | PCB_LYT_ANYWHERE); - for(n = 0; n < ts->len; n++) - if ((lyt == ts->shape[n].layer_mask) && (comb == ts->shape[n].comb)) - return ts->shape+n; - - return 0; -} - -static inline PCB_FUNC_UNUSED pcb_padstack_shape_t *pcb_padstack_shape_at(pcb_board_t *pcb, pcb_padstack_t *ps, pcb_layer_t *layer) -{ - unsigned int lyt = pcb_layer_flags_(layer); - pcb_layer_combining_t comb = layer->comb; - - if (lyt & PCB_LYT_COPPER) { - pcb_layer_id_t lid; - if (lyt & PCB_LYT_INTERN) { - /* apply internal only if that layer has drill */ - if (!pcb_padstack_bb_drills(pcb, ps, pcb_layer_get_group_(layer), NULL)) - return NULL; - } - - /* special case: if thermal says 'no shape' on this layer, omit the shape */ - layer = pcb_layer_get_real(layer); - if ((layer != NULL) && (layer->parent != NULL)) { - lid = pcb_layer_id(layer->parent, layer); - if (lid < ps->thermals.used) { - if ((ps->thermals.shape[lid] & PCB_THERMAL_ON) && ((ps->thermals.shape[lid] & 3) == PCB_THERMAL_NOSHAPE)) - return NULL; - } - } - } - - /* combining is always 0 for copper */ - if (lyt & PCB_LYT_COPPER) - comb = 0; - else - comb = layer->comb; - - return pcb_padstack_shape(ps, lyt, comb); -} - -static inline PCB_FUNC_UNUSED pcb_padstack_shape_t *pcb_padstack_shape_gid(pcb_board_t *pcb, pcb_padstack_t *ps, pcb_layergrp_id_t gid, pcb_layer_combining_t comb) -{ - pcb_layergrp_t *grp = pcb_get_layergrp(pcb, gid); - - if ((grp == NULL) || (grp->len < 1)) - return NULL; - - if (grp->type & PCB_LYT_COPPER) { - int n, nosh; - - /* blind/buried: intern layer has no shape if no hole */ - if (grp->type & PCB_LYT_INTERN) { - /* apply internal only if that layer has drill */ - if (!pcb_padstack_bb_drills(pcb, ps, gid, NULL)) - return NULL; - } - - /* if all layers of the group says no-shape, don't have a shape */ - for(n = 0, nosh = 0; n < grp->len; n++) { - pcb_layer_id_t lid = grp->lid[n]; - if ((lid < ps->thermals.used) && (ps->thermals.shape[lid] & PCB_THERMAL_ON) && ((ps->thermals.shape[lid] & 3) == PCB_THERMAL_NOSHAPE)) - nosh++; - } - if (nosh == grp->len) - return NULL; - } - - /* normal procedure: go by group flags */ - return pcb_padstack_shape(ps, grp->type, comb); -} - - -#endif Index: trunk/src/obj_padstack.c =================================================================== --- trunk/src/obj_padstack.c (revision 12594) +++ trunk/src/obj_padstack.c (nonexistent) @@ -1,516 +0,0 @@ -/* - * COPYRIGHT - * - * pcb-rnd, interactive printed circuit board design - * 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., 675 Mass Ave, Cambridge, MA 02139, USA. - * - */ - -#include "config.h" - -#include - -#include "board.h" -#include "conf_core.h" -#include "data.h" -#include "data_list.h" -#include "draw.h" -#include "draw_wireframe.h" -#include "flag.h" -#include "obj_padstack.h" -#include "obj_padstack_draw.h" -#include "obj_padstack_list.h" -#include "obj_padstack_inlines.h" -#include "operation.h" -#include "search.h" -#include "undo.h" -#include "vtpadstack.h" - -#define PS_CROSS_SIZE PCB_MM_TO_COORD(1) - -static const char core_padstack_cookie[] = "padstack"; - -pcb_padstack_t *pcb_padstack_alloc(pcb_data_t *data) -{ - pcb_padstack_t *ps; - - ps = calloc(sizeof(pcb_padstack_t), 1); - ps->protoi = -1; - ps->type = PCB_OBJ_PADSTACK; - ps->Attributes.post_change = pcb_obj_attrib_post_change; - PCB_SET_PARENT(ps, data, data); - - padstacklist_append(&data->padstack, ps); - - return ps; -} - -void pcb_padstack_free(pcb_padstack_t *ps) -{ - padstacklist_remove(ps); - free(ps->thermals.shape); - free(ps); -} - -pcb_padstack_t *pcb_padstack_new(pcb_data_t *data, pcb_cardinal_t proto, pcb_coord_t x, pcb_coord_t y, pcb_coord_t clearance, pcb_flag_t Flags) -{ - pcb_padstack_t *ps; - - if (proto >= pcb_vtpadstack_proto_len(&data->ps_protos)) - return NULL; - - ps = pcb_padstack_alloc(data); - - /* copy values */ - ps->proto = proto; - ps->x = x; - ps->y = y; - ps->Clearance = clearance; - ps->Flags = Flags; - ps->ID = pcb_create_ID_get(); - pcb_padstack_add(data, ps); - return ps; -} - -void pcb_padstack_add(pcb_data_t *data, pcb_padstack_t *ps) -{ - pcb_padstack_bbox(ps); - if (!data->padstack_tree) - data->padstack_tree = pcb_r_create_tree(NULL, 0, 0); - pcb_r_insert_entry(data->padstack_tree, (pcb_box_t *)ps, 0); - PCB_SET_PARENT(ps, data, data); -} - -void pcb_padstack_bbox(pcb_padstack_t *ps) -{ - int n, sn; - pcb_line_t line; - pcb_padstack_proto_t *proto = pcb_padstack_get_proto(ps); - pcb_padstack_tshape_t *ts = pcb_padstack_get_tshape(ps); - assert(proto != NULL); - - ps->BoundingBox.X1 = ps->BoundingBox.X2 = ps->x; - ps->BoundingBox.Y1 = ps->BoundingBox.Y2 = ps->y; - - for(sn = 0; sn < ts->len; sn++) { - pcb_padstack_shape_t *shape = ts->shape + sn; - switch(shape->shape) { - case PCB_PSSH_POLY: - for(n = 0; n < shape->data.poly.len; n++) - pcb_box_bump_point(&ps->BoundingBox, shape->data.poly.x[n] + ps->x, shape->data.poly.y[n] + ps->y); - break; - case PCB_PSSH_LINE: - line.Point1.X = shape->data.line.x1 + ps->x; - line.Point1.Y = shape->data.line.y1 + ps->y; - line.Point2.X = shape->data.line.x2 + ps->x; - line.Point2.Y = shape->data.line.y2 + ps->y; - line.Thickness = shape->data.line.thickness; - line.Clearance = 0; - line.Flags = pcb_flag_make(shape->data.line.square ? PCB_FLAG_SQUARE : 0); - pcb_line_bbox(&line); - pcb_box_bump_box(&ps->BoundingBox, &line.BoundingBox); - break; - case PCB_PSSH_CIRC: - pcb_box_bump_point(&ps->BoundingBox, ps->x - shape->data.circ.dia/2, ps->y - shape->data.circ.dia/2); - pcb_box_bump_point(&ps->BoundingBox, ps->x + shape->data.circ.dia/2, ps->y + shape->data.circ.dia/2); - break; - } - } - - if (PCB_NONPOLY_HAS_CLEARANCE(ps)) { - ps->BoundingBox.X1 -= ps->Clearance; - ps->BoundingBox.Y1 -= ps->Clearance; - ps->BoundingBox.X2 += ps->Clearance; - ps->BoundingBox.Y2 += ps->Clearance; - } - - if (proto->hdia != 0) { - /* corner case: no copper around the hole all 360 deg - let the hole stick out */ - pcb_box_bump_point(&ps->BoundingBox, ps->x - proto->hdia/2, ps->y - proto->hdia/2); - pcb_box_bump_point(&ps->BoundingBox, ps->x + proto->hdia/2, ps->y + proto->hdia/2); - } - - pcb_close_box(&ps->BoundingBox); -} - -/*** utils ***/ - -static pcb_padstack_t *pcb_padstack_copy_meta(pcb_padstack_t *dst, pcb_padstack_t *src) -{ - if (dst == NULL) - return NULL; - pcb_attribute_copy_all(&dst->Attributes, &src->Attributes); - dst->thermals.used = src->thermals.used; - if (dst->thermals.used > 0) { - dst->thermals.shape = malloc(dst->thermals.used * sizeof(dst->thermals.shape[0])); - memcpy(dst->thermals.shape, src->thermals.shape, src->thermals.used * sizeof(src->thermals.shape[0])); - } - else - dst->thermals.shape = 0; - return dst; -} - - -void pcb_padstack_move(pcb_padstack_t *ps, pcb_coord_t dx, pcb_coord_t dy) -{ - ps->x += dx; - ps->y += dy; - ps->BoundingBox.X1 += dx; - ps->BoundingBox.Y1 += dy; - ps->BoundingBox.X2 += dx; - ps->BoundingBox.Y2 += dy; -} - -pcb_padstack_t *pcb_padstack_by_id(pcb_data_t *base, long int ID) -{ - pcb_box_t *ps; - pcb_rtree_it_t it; - - for(ps = pcb_r_first(base->padstack_tree, &it); ps != NULL; ps = pcb_r_next(&it)) { - if (((pcb_padstack_t *)ps)->ID == ID) { - pcb_r_end(&it); - return (pcb_padstack_t *)ps; - } - } - - pcb_r_end(&it); - return NULL; -} - -/*** draw ***/ - -static void set_ps_color(pcb_padstack_t *ps, int is_current) -{ - char *color; - char buf[sizeof("#XXXXXX")]; - - if (ps->term == NULL) { - /* normal via, not a terminal */ - if (!pcb_draw_doing_pinout && PCB_FLAG_TEST(PCB_FLAG_WARN | PCB_FLAG_SELECTED | PCB_FLAG_FOUND, ps)) { - if (PCB_FLAG_TEST(PCB_FLAG_WARN, ps)) - color = conf_core.appearance.color.warn; - else if (PCB_FLAG_TEST(PCB_FLAG_SELECTED, ps)) - color = conf_core.appearance.color.via_selected; - else - color = conf_core.appearance.color.connected; - - if (PCB_FLAG_TEST(PCB_FLAG_ONPOINT, ps)) { - assert(color != NULL); - pcb_lighten_color(color, buf, 1.75); - color = buf; - } - } - else { - if (is_current) - color = conf_core.appearance.color.via; - else - color = conf_core.appearance.color.invisible_objects; - } - } - else { - /* terminal */ - if (!pcb_draw_doing_pinout && PCB_FLAG_TEST(PCB_FLAG_WARN | PCB_FLAG_SELECTED | PCB_FLAG_FOUND, ps)) { - if (PCB_FLAG_TEST(PCB_FLAG_WARN, ps)) - color = conf_core.appearance.color.warn; - else if (PCB_FLAG_TEST(PCB_FLAG_SELECTED, ps)) - color = conf_core.appearance.color.pin_selected; - else - color = conf_core.appearance.color.connected; - - if (PCB_FLAG_TEST(PCB_FLAG_ONPOINT, ps)) { - assert(color != NULL); - pcb_lighten_color(color, buf, 1.75); - color = buf; - } - } - else - if (is_current) - color = conf_core.appearance.color.pin; - else - color = conf_core.appearance.color.invisible_objects; - - } - - pcb_gui->set_color(Output.fgGC, color); -} - -static void set_ps_annot_color(pcb_hid_gc_t gc, pcb_padstack_t *ps) -{ - pcb_gui->set_color(Output.fgGC, PCB_FLAG_TEST(PCB_FLAG_SELECTED, ps) ? - conf_core.appearance.color.subc_selected : conf_core.appearance.color.padstackmark); -} - -pcb_r_dir_t pcb_padstack_draw_callback(const pcb_box_t *b, void *cl) -{ - pcb_padstack_draw_t *ctx = cl; - pcb_padstack_t *ps = (pcb_padstack_t *)b; - pcb_padstack_shape_t *shape; - pcb_coord_t mark; - pcb_padstack_proto_t *proto; - - shape = pcb_padstack_shape_gid(ctx->pcb, ps, ctx->gid, (ctx->comb & ~PCB_LYC_AUTO)); - if (shape != NULL) { - pcb_gui->set_draw_xor(Output.fgGC, 0); - switch(shape->shape) { - case PCB_PSSH_POLY: - set_ps_color(ps, ctx->is_current); - pcb_gui->fill_polygon_offs(Output.fgGC, shape->data.poly.len, shape->data.poly.x, shape->data.poly.y, ps->x, ps->y); - break; - case PCB_PSSH_LINE: - set_ps_color(ps, ctx->is_current); - pcb_gui->set_line_cap(Output.fgGC, shape->data.line.square ? Square_Cap : Round_Cap); - pcb_gui->set_line_width(Output.fgGC, shape->data.line.thickness); - pcb_gui->draw_line(Output.fgGC, ps->x + shape->data.line.x1, ps->y + shape->data.line.y1, ps->x + shape->data.line.x2, ps->y + shape->data.line.y2); - break; - case PCB_PSSH_CIRC: - set_ps_color(ps, ctx->is_current); - pcb_gui->fill_circle(Output.fgGC, ps->x + shape->data.circ.x, ps->y + shape->data.circ.y, shape->data.circ.dia/2); - break; - } - } - - mark = PS_CROSS_SIZE/2; - proto = pcb_padstack_get_proto(ps); - if (proto != NULL) - mark += proto->hdia/2; - - set_ps_annot_color(Output.fgGC, ps); - pcb_gui->set_line_width(Output.fgGC, -3); - pcb_gui->set_draw_xor(Output.fgGC, 1); - pcb_gui->draw_line(Output.fgGC, ps->x-mark, ps->y, ps->x+mark, ps->y); - pcb_gui->draw_line(Output.fgGC, ps->x, ps->y-mark, ps->x, ps->y+mark); - pcb_gui->set_draw_xor(Output.fgGC, 0); - - return PCB_R_DIR_FOUND_CONTINUE; -} - -pcb_r_dir_t pcb_padstack_draw_hole_callback(const pcb_box_t *b, void *cl) -{ - pcb_padstack_draw_t *ctx = cl; - pcb_padstack_t *ps = (pcb_padstack_t *)b; - pcb_padstack_proto_t *proto; - - if (!pcb_padstack_bb_drills(ctx->pcb, ps, ctx->gid, &proto)) - return PCB_R_DIR_FOUND_CONTINUE; - - pcb_gui->fill_circle(Output.drillGC, ps->x, ps->y, proto->hdia / 2); - if (!proto->hplated) { - pcb_coord_t r = proto->hdia / 2; - r += r/8; /* +12.5% */ - pcb_gui->set_color(Output.fgGC, PCB_FLAG_TEST(PCB_FLAG_SELECTED, ps) ? conf_core.appearance.color.subc_selected : conf_core.appearance.color.subc); - pcb_gui->set_line_width(Output.fgGC, 0); - pcb_gui->set_draw_xor(Output.fgGC, 1); - pcb_gui->draw_arc(Output.fgGC, ps->x, ps->y, r, r, 20, 290); - pcb_gui->set_draw_xor(Output.fgGC, 0); - } - - return PCB_R_DIR_FOUND_CONTINUE; -} - -void pcb_padstack_thindraw(pcb_hid_gc_t gc, pcb_padstack_t *ps) -{ - pcb_padstack_shape_t *shape = NULL; - pcb_board_t *pcb; - pcb_layergrp_id_t gid = CURRENT->meta.real.grp; - int n; - - pcb = pcb_data_get_top(ps->parent.data); - if (pcb != NULL) { - shape = pcb_padstack_shape_gid(pcb, ps, gid, 0); - if (shape == NULL) - shape = pcb_padstack_shape_gid(pcb, ps, gid, PCB_LYC_SUB); - } - else { /* no pcb means buffer - take the first shape, whichever layer it is for */ - pcb_padstack_tshape_t *ts = pcb_padstack_get_tshape(ps); - if (ts != NULL) - shape = ts->shape; - } - - if (shape != NULL) { - pcb_gui->set_draw_xor(gc, 0); - switch(shape->shape) { - case PCB_PSSH_POLY: - for(n = 1; n < shape->data.poly.len; n++) - pcb_gui->draw_line(gc, ps->x + shape->data.poly.x[n-1], ps->y + shape->data.poly.y[n-1], ps->x + shape->data.poly.x[n], ps->y + shape->data.poly.y[n]); - pcb_gui->draw_line(gc, ps->x + shape->data.poly.x[n-1], ps->y + shape->data.poly.y[n-1], ps->x + shape->data.poly.x[0], ps->y + shape->data.poly.y[0]); - break; - case PCB_PSSH_LINE: - pcb_draw_wireframe_line(gc, ps->x + shape->data.line.x1, ps->y + shape->data.line.y1, ps->x + shape->data.line.x2, ps->y + shape->data.line.y2, shape->data.line.thickness, shape->data.line.square); - break; - case PCB_PSSH_CIRC: - pcb_gui->draw_arc(gc, ps->x + shape->data.circ.x, ps->y + shape->data.circ.y, shape->data.circ.dia/2, shape->data.circ.dia/2, 0, 360); - break; - } - } -} - -void pcb_padstack_invalidate_erase(pcb_padstack_t *ps) -{ - pcb_draw_invalidate(ps); -} - -void pcb_padstack_invalidate_draw(pcb_padstack_t *ps) -{ - pcb_draw_invalidate(ps); -} - - -int pcb_padstack_near_box(pcb_padstack_t *ps, pcb_box_t *box) -{ -#warning padstack TODO: refine this: consider the shapes on the layers that are visible - return (PCB_IS_BOX_NEGATIVE(box) ? PCB_BOX_TOUCHES_BOX(&ps->BoundingBox,box) : PCB_BOX_IN_BOX(&ps->BoundingBox,box)); -} - -int pcb_is_point_in_padstack(pcb_coord_t x, pcb_coord_t y, pcb_coord_t radius, pcb_padstack_t *ps) -{ -#warning padstack TODO: refine this: consider the shapes on the layers that are visible - return (x >= ps->BoundingBox.X1) && (y >= ps->BoundingBox.Y1) && (x <= ps->BoundingBox.X2) && (y <= ps->BoundingBox.Y2); -} - -int pcb_padstack_drc_check_clearance(pcb_padstack_t *ps, pcb_poly_t *polygon, pcb_coord_t min_clr) -{ -#warning padstack TODO - return 0; -} - - -int pcb_padstack_drc_check_and_warn(pcb_padstack_t *ps) -{ -#warning padstack TODO - return 0; -} - -unsigned char *pcb_padstack_get_thermal(pcb_padstack_t *ps, unsigned long lid, pcb_bool_t alloc) -{ - if (ps->thermals.used <= lid) { - unsigned long oldu = ps->thermals.used; - if (!alloc) - return NULL; - ps->thermals.used = lid+1; - ps->thermals.shape = realloc(ps->thermals.shape, ps->thermals.used); - memset(ps->thermals.shape + oldu, 0, ps->thermals.used - oldu); - } - return ps->thermals.shape + lid; -} - -void pcb_padstack_set_thermal(pcb_padstack_t *ps, unsigned long lid, unsigned char shape) -{ - unsigned char *th = pcb_padstack_get_thermal(ps, lid, 1); - if (th != NULL) - *th = shape; -} - -/*** Undoable instance parameter change ***/ - -typedef struct { - long int parent_ID; /* -1 for pcb, positive for a subc */ - long int ID; /* ID of the padstack */ - - pcb_cardinal_t proto; - pcb_coord_t clearance; - double rot; - int xmirror; -} padstack_change_instance_t; - -#define swap(a,b,type) \ - do { \ - type tmp = a; \ - a = b; \ - b = tmp; \ - } while(0) - -static int undo_change_instance_swap(void *udata) -{ - padstack_change_instance_t *u = udata; - pcb_data_t *data; - pcb_padstack_t *ps; - - if (u->parent_ID != -1) { - pcb_subc_t *subc = pcb_subc_by_id(PCB->Data, u->parent_ID); - if (subc == NULL) { - pcb_message(PCB_MSG_ERROR, "Can't undo padstack change: parent subc #%ld is not found\n", u->parent_ID); - return -1; - } - data = subc->data; - } - else - data = PCB->Data; - - ps = pcb_padstack_by_id(data, u->ID); - if (ps == NULL) { - pcb_message(PCB_MSG_ERROR, "Can't undo padstack change: padstack ID #%ld is not available\n", u->ID); - return -1; - } - - pcb_poly_restore_to_poly(ps->parent.data, PCB_TYPE_PADSTACK, NULL, ps); - pcb_padstack_invalidate_erase(ps); - - swap(ps->proto, u->proto, pcb_cardinal_t); - swap(ps->Clearance, u->clearance, pcb_coord_t); - swap(ps->rot, u->rot, double); - swap(ps->xmirror, u->xmirror, int); - - /* force re-render the prototype */ - ps->protoi = -1; - pcb_padstack_get_tshape(ps); - - pcb_poly_clear_from_poly(ps->parent.data, PCB_TYPE_PADSTACK, NULL, ps); - pcb_padstack_invalidate_draw(ps); - - return 0; -} - -static void undo_change_instance_print(void *udata, char *dst, size_t dst_len) -{ - padstack_change_instance_t *u = udata; - pcb_snprintf(dst, dst_len, "padstack change: clearance=%$mm rot=%.2f xmirror=%d\n", u->clearance, u->rot, u->xmirror); -} - -static const uundo_oper_t undo_padstack_change_instance = { - core_padstack_cookie, - NULL, /* free */ - undo_change_instance_swap, - undo_change_instance_swap, - undo_change_instance_print -}; - -int pcb_padstack_change_instance(pcb_padstack_t *ps, pcb_cardinal_t *proto, const pcb_coord_t *clearance, double *rot, int *xmirror) -{ - padstack_change_instance_t *u; - long int parent_ID; - - switch(ps->parent.data->parent_type) { - case PCB_PARENT_BOARD: parent_ID = -1; break; - case PCB_PARENT_SUBC: parent_ID = ps->parent.data->parent.subc->ID; break; - default: return -1; - } - - u = pcb_undo_alloc(PCB, &undo_padstack_change_instance, sizeof(padstack_change_instance_t)); - u->parent_ID = parent_ID; - u->ID = ps->ID; - u->proto = proto ? *proto : ps->proto; - u->clearance = clearance ? *clearance : ps->Clearance; - u->rot = rot ? *rot : ps->rot; - u->xmirror = xmirror ? *xmirror : ps->xmirror; - - undo_change_instance_swap(u); - - pcb_undo_inc_serial(); - return 0; -} - -#include "obj_padstack_op.c" Index: trunk/src/obj_padstack.h =================================================================== --- trunk/src/obj_padstack.h (revision 12594) +++ trunk/src/obj_padstack.h (nonexistent) @@ -1,147 +0,0 @@ -/* - * COPYRIGHT - * - * pcb-rnd, interactive printed circuit board design - * 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., 675 Mass Ave, Cambridge, MA 02139, USA. - * - */ - -#ifndef PCB_OBJ_PADSTACK_STRUCT_DECLARED -#define PCB_OBJ_PADSTACK_STRUCT_DECLARED - -#include "obj_common.h" - -/* The actual padstack is just a reference to a padstack proto within the same data */ -struct pcb_padstack_s { -#define thermal thermal_dont_use - PCB_ANYOBJECTFIELDS; -#undef thermal - pcb_cardinal_t proto; /* reference to a pcb_padstack_proto_t within pcb_data_t */ - int protoi; /* index of the transformed proto; -1 means invalid; local cache, not saved */ - pcb_coord_t x, y; - pcb_coord_t Clearance; - double rot; /* rotation angle */ - int xmirror; - struct { - unsigned long used; - unsigned char *shape; /* indexed by layer ID */ - } thermals; - gdl_elem_t link; /* a padstack is in a list in pcb_data_t as a global object */ -}; -#endif - -#ifndef PCB_PADSTACK_STRUCT_ONLY -#ifndef PCB_OBJ_PADSTACK_H -#define PCB_OBJ_PADSTACK_H - -#define PCB_PADSTACK_MAX_SHAPES 31 - -#define PCB_PADSTACK_INVALID ((pcb_cardinal_t)(-1)) - -#include "obj_common.h" -#include "obj_padstack_shape.h" -#include "vtpadstack_t.h" - -typedef struct pcb_padstack_proto_s { - unsigned in_use:1; /* 1 if the slot is in use */ - - unsigned hplated:1; /* if > 0, whether the hole is plated */ - pcb_coord_t hdia; /* if > 0, diameter of the hole (else there's no hole) */ - int htop, hbottom; /* if hdia > 0, determine the hole's span, counted in copper layer groups from the top or bottom copper layer group */ - - pcb_vtpadstack_tshape_t tr; /* [0] is the canonical prototype with rot=0 and xmirror=0; the rest is an unordered list of transformed entries */ - - /* local cache - not saved */ - unsigned long hash; /* optimization: linear search compare speeded up: go into detailed match only if hash matches */ - pcb_data_t *parent; -} pcb_padstack_proto_t; - - - -pcb_padstack_t *pcb_padstack_alloc(pcb_data_t *data); -void pcb_padstack_free(pcb_padstack_t *ps); -pcb_padstack_t *pcb_padstack_new(pcb_data_t *data, pcb_cardinal_t proto, pcb_coord_t x, pcb_coord_t y, pcb_coord_t clearance, pcb_flag_t Flags); -void pcb_padstack_add(pcb_data_t *data, pcb_padstack_t *ps); -void pcb_padstack_bbox(pcb_padstack_t *ps); - -void pcb_padstack_set_thermal(pcb_padstack_t *ps, unsigned long lid, unsigned char shape); -unsigned char *pcb_padstack_get_thermal(pcb_padstack_t *ps, unsigned long lid, pcb_bool_t alloc); - -pcb_padstack_t *pcb_padstack_by_id(pcb_data_t *base, long int ID); - -/* Undoably change the instance parameters of a padstack ref */ -int pcb_padstack_change_instance(pcb_padstack_t *ps, pcb_cardinal_t *proto, const pcb_coord_t *clearance, double *rot, int *xmirror); - -/*** proto ***/ - -/* allocate and return the next available group ID */ -unsigned long pcb_padstack_alloc_group(pcb_data_t *data); - -/* Convert selection or current buffer to padstack; returns PCB_PADSTACK_INVALID - on error; looks for existing matching protos to avoid adding redundant - entries */ -pcb_cardinal_t pcb_padstack_conv_selection(pcb_board_t *pcb, int quiet, pcb_coord_t ox, pcb_coord_t oy); -pcb_cardinal_t pcb_padstack_conv_buffer(int quiet); - -/* free fields of a proto (not freeing the proto itself, not removing it from lists */ -void pcb_padstack_proto_free_fields(pcb_padstack_proto_t *dst); - -/* allocate the point array of a poly shape (single allocation for x and y) */ -void pcb_padstack_shape_alloc_poly(pcb_padstack_poly_t *poly, int len); - -/* geometry for select.c and search.c */ -int pcb_padstack_near_box(pcb_padstack_t *ps, pcb_box_t *box); -int pcb_is_point_in_padstack(pcb_coord_t x, pcb_coord_t y, pcb_coord_t radius, pcb_padstack_t *ps); - -/* Check if padstack has the proper clearance against polygon; returns 0 if everything's fine */ -int pcb_padstack_drc_check_clearance(pcb_padstack_t *ps, pcb_poly_t *polygon, pcb_coord_t min_clr); - -/* Check all possible local drc errors regarding to pad stacks - errors that - depend only on the padstack, not on other objects. Return 0 if everything - was fine */ -int pcb_padstack_drc_check_and_warn(pcb_padstack_t *ps); - -/* Generate poly->pa (which should be NULL at the time of call) */ -void pcb_padstack_shape_update_pa(pcb_padstack_poly_t *poly); - -/* Insert proto into the cache of data; if it's already in, return the existing - ID, else dup it and insert it. */ -pcb_cardinal_t pcb_padstack_proto_insert_dup(pcb_data_t *data, const pcb_padstack_proto_t *proto, int quiet); - -/* Change the non-NULL hole properties of a padstack proto; undoable. - Returns 0 on success. */ -int pcb_padstack_proto_change_hole(pcb_padstack_proto_t *proto, const int *hplated, const pcb_coord_t *hdia, const int *htop, const int *hbottom); - -/* Find or create a new transformed version of an existing proto */ -pcb_padstack_tshape_t *pcb_padstack_make_tshape(pcb_data_t *data, pcb_padstack_proto_t *proto, double rot, int xmirror, int *out_protoi); - -/* Dee p copy a prototype */ -void pcb_padstack_proto_copy(pcb_padstack_proto_t *dst, const pcb_padstack_proto_t *src); - - -/*** hash ***/ -unsigned int pcb_padstack_hash(const pcb_padstack_proto_t *p); -int pcb_padstack_eq(const pcb_padstack_proto_t *p1, const pcb_padstack_proto_t *p2); - -/*** loops ***/ -#define PCB_PADSTACK_LOOP(top) do { \ - pcb_padstack_t *padstack; \ - gdl_iterator_t __it__; \ - padstacklist_foreach(&(top)->padstack, &__it__, padstack) { - -#endif -#endif Index: trunk/src/obj_padstack_shape.h =================================================================== --- trunk/src/obj_padstack_shape.h (revision 12594) +++ trunk/src/obj_padstack_shape.h (nonexistent) @@ -1,72 +0,0 @@ -/* - * COPYRIGHT - * - * pcb-rnd, interactive printed circuit board design - * 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., 675 Mass Ave, Cambridge, MA 02139, USA. - * - */ - -#ifndef PCB_OBJ_PADSTACK_SHAPE_H -#define PCB_OBJ_PADSTACK_SHAPE_H - -#include "unit.h" -#include "polygon.h" -#include "layer.h" - -typedef struct pcb_padstack_poly_s { - unsigned int len; /* number of points in polygon */ - pcb_coord_t *x; /* ordered list of points, X coord */ - pcb_coord_t *y; /* ordered list of points, X coord */ - pcb_polyarea_t *pa; /* cache for the poly code */ -} pcb_padstack_poly_t; - -typedef struct pcb_padstack_line_s { - pcb_coord_t x1, y1, x2, y2, thickness; - unsigned square:1; -} pcb_padstack_line_t; - -typedef struct pcb_padstack_circ_s { - pcb_coord_t dia; /* diameter of the filled circle */ - pcb_coord_t x, y; /* assymetric pads */ -} pcb_padstack_circ_t; - -typedef struct pcb_padstack_shape_s { - pcb_layer_type_t layer_mask; - pcb_layer_combining_t comb; - union { - pcb_padstack_poly_t poly; - pcb_padstack_line_t line; - pcb_padstack_circ_t circ; - } data; - enum { - PCB_PSSH_POLY, - PCB_PSSH_LINE, - PCB_PSSH_CIRC /* filled circle */ - } shape; - pcb_coord_t clearance; /* per layer clearance: internal layer clearance is sometimes different for production or insulation reasons (IPC2221A) */ -} pcb_padstack_shape_t; - -/* transformed prototype */ -typedef struct pcb_padstack_tshape_s { - double rot; - unsigned xmirror:1; - - unsigned char len; /* number of shapes (PCB_PADSTACK_MAX_SHAPES) */ - pcb_padstack_shape_t *shape; /* list of layer-shape pairs */ -} pcb_padstack_tshape_t; - -#endif Index: trunk/src/obj_padstack_act.c =================================================================== --- trunk/src/obj_padstack_act.c (revision 12594) +++ trunk/src/obj_padstack_act.c (nonexistent) @@ -1,143 +0,0 @@ -/* - * COPYRIGHT - * - * pcb-rnd, interactive printed circuit board design - * 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., 675 Mass Ave, Cambridge, MA 02139, USA. - * - */ - -#include "config.h" - -#include "obj_padstack.h" -#include "obj_padstack_inlines.h" - -#include "action_helper.h" -#include "board.h" -#include "conf_core.h" -#include "data.h" -#include "hid_actions.h" - -static const char pcb_acts_padstackconvert[] = "PadstackConvert(buffer|selected, [originx, originy])"; -static const char pcb_acth_padstackconvert[] = "Convert selection or current buffer to padstack"; - -int pcb_act_padstackconvert(int argc, const char **argv, pcb_coord_t x, pcb_coord_t y) -{ - pcb_cardinal_t pid; - pcb_padstack_proto_t tmp, *p; - - if (argv[0] == NULL) - PCB_ACT_FAIL(padstackconvert); - if (strcmp(argv[0], "selected") == 0) { - if (argc > 2) { - pcb_bool s1, s2; - x = pcb_get_value(argv[1], "mil", NULL, &s1); - y = pcb_get_value(argv[2], "mil", NULL, &s2); - if (!s1 || !s2) { - pcb_message(PCB_MSG_ERROR, "Error in coordinate format\n"); - return -1; - } - } - else - pcb_gui->get_coords("Click at padstack origin", &x, &y); - pid = pcb_padstack_conv_selection(PCB, 0, x, y); - - pcb_buffer_clear(PCB, PCB_PASTEBUFFER); - p = pcb_vtpadstack_proto_alloc_append(&PCB_PASTEBUFFER->Data->ps_protos, 1); - pcb_padstack_proto_copy(p, &PCB->Data->ps_protos.array[pid]); - p->parent = PCB_PASTEBUFFER->Data; - pid = pcb_padstack_get_proto_id(p); /* should be 0 because of the clear, but just in case... */ - } - else if (strcmp(argv[0], "buffer") == 0) { - - pid = pcb_padstack_conv_buffer(0); - - /* have to save and restore the prototype around the buffer clear */ - tmp = PCB_PASTEBUFFER->Data->ps_protos.array[pid]; - memset(&PCB_PASTEBUFFER->Data->ps_protos.array[pid], 0, sizeof(PCB_PASTEBUFFER->Data->ps_protos.array[0])); - pcb_buffer_clear(PCB, PCB_PASTEBUFFER); - p = pcb_vtpadstack_proto_alloc_append(&PCB_PASTEBUFFER->Data->ps_protos, 1); - *p = tmp; - p->parent = PCB_PASTEBUFFER->Data; - pid = pcb_padstack_get_proto_id(p); /* should be 0 because of the clear, but just in case... */ - - } - else - PCB_ACT_FAIL(padstackconvert); - - pcb_message(PCB_MSG_INFO, "Pad stack registered with ID %d\n", pid); - pcb_padstack_new(PCB_PASTEBUFFER->Data, pid, 0, 0, conf_core.design.clearance, pcb_no_flags()); - pcb_set_buffer_bbox(PCB_PASTEBUFFER); - PCB_PASTEBUFFER->X = PCB_PASTEBUFFER->Y = 0; - - return 0; -} - -static const char pcb_acts_padstackplace[] = "PadstackPlace([proto_id|default], [x, y])"; -static const char pcb_acth_padstackplace[] = "Place a pad stack (either proto_id, or if not specified, the default for style)"; - -int pcb_act_padstackplace(int argc, const char **argv, pcb_coord_t x, pcb_coord_t y) -{ - pcb_cardinal_t pid; - pcb_padstack_t *ps; - - if (argc > 2) { - pcb_bool s1, s2; - x = pcb_get_value(argv[1], "mil", NULL, &s1); - y = pcb_get_value(argv[2], "mil", NULL, &s2); - if (!s1 || !s2) { - pcb_message(PCB_MSG_ERROR, "Error in coordinate format\n"); - return -1; - } - } - - if ((argc <= 0) || (strcmp(argv[0], "default") == 0)) { -#warning padstack TODO: style default proto - pid = 0; - } - else { - char *end; - pid = strtol(argv[0], &end, 10); - if (*end != '\0') { - pcb_message(PCB_MSG_ERROR, "Error in proto ID format: need an integer\n"); - return -1; - } - } - - if ((pid >= PCB->Data->ps_protos.used) || (PCB->Data->ps_protos.array[pid].in_use == 0)) { - pcb_message(PCB_MSG_ERROR, "Invalid padstack proto %ld\n", (long)pid); - return -1; - } - - ps = pcb_padstack_new(PCB->Data, pid, x, y, conf_core.design.clearance, pcb_no_flags()); - if (ps == NULL) { - pcb_message(PCB_MSG_ERROR, "Failed to place padstack\n"); - return -1; - } - - return 0; -} - -/* --------------------------------------------------------------------------- */ - -pcb_hid_action_t padstack_action_list[] = { - {"PadstackConvert", 0, pcb_act_padstackconvert, - pcb_acth_padstackconvert, pcb_acts_padstackconvert}, - {"PadstackPlace", 0, pcb_act_padstackplace, - pcb_acth_padstackplace, pcb_acts_padstackplace} -}; - -PCB_REGISTER_ACTIONS(padstack_action_list, NULL) Index: trunk/src/obj_padstack_proto.c =================================================================== --- trunk/src/obj_padstack_proto.c (revision 12594) +++ trunk/src/obj_padstack_proto.c (nonexistent) @@ -1,629 +0,0 @@ -/* - * COPYRIGHT - * - * pcb-rnd, interactive printed circuit board design - * 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., 675 Mass Ave, Cambridge, MA 02139, USA. - * - */ - -#include "config.h" - -#include - -#include "board.h" -#include "buffer.h" -#include "conf_core.h" -#include "data.h" -#include "data_list.h" -#include "obj_padstack.h" -#include "obj_padstack_inlines.h" -#include "rotate.h" -#include "undo.h" -#include "vtpadstack_t.h" - -static const char core_proto_cookie[] = "padstack prototypes"; - - -void pcb_padstack_proto_free_fields(pcb_padstack_proto_t *dst) -{ -#warning TODO: do a full field free here -} - -void pcb_padstack_shape_alloc_poly(pcb_padstack_poly_t *poly, int len) -{ - poly->x = malloc(sizeof(poly->x[0]) * len * 2); - poly->y = poly->x + len; - poly->len = len; -} - -void pcb_padstack_shape_copy_poly(pcb_padstack_poly_t *dst, const pcb_padstack_poly_t *src) -{ - memcpy(dst->x, src->x, sizeof(src->x[0]) * src->len * 2); -} - - -static int pcb_padstack_proto_conv(pcb_data_t *data, pcb_padstack_proto_t *dst, int quiet, vtp0_t *objs, pcb_coord_t ox, pcb_coord_t oy) -{ - int ret = -1, n, m, i; - pcb_any_obj_t **o; - pcb_padstack_tshape_t *ts; - - dst->in_use = 1; - pcb_vtpadstack_tshape_init(&dst->tr); - dst->hdia = 0; - dst->htop = dst->hbottom = 0; - - if (vtp0_len(objs) > data->LayerN) { - if (!quiet) - pcb_message(PCB_MSG_ERROR, "Padstack conversion: too many objects selected\n"); - goto quit; - } - - /* allocate shapes on the canonical tshape (tr[0]) */ - ts = pcb_vtpadstack_tshape_alloc_append(&dst->tr, 1); - ts->rot = 0.0; - ts->xmirror = 0; - ts->len = 0; - for(n = 0, o = (pcb_any_obj_t **)objs->array; n < vtp0_len(objs); n++,o++) { - switch((*o)->type) { - case PCB_OBJ_LINE: - case PCB_OBJ_POLYGON: - ts->len++; - break; - case PCB_OBJ_VIA: - if (dst->hdia != 0) { - if (!quiet) - pcb_message(PCB_MSG_ERROR, "Padstack conversion: multiple vias\n"); - goto quit; - } - dst->hdia = (*(pcb_pin_t **)o)->DrillingHole; - dst->hplated = !PCB_FLAG_TEST(PCB_FLAG_HOLE, *o); - if ((ox != (*(pcb_pin_t **)o)->X) || (oy != (*(pcb_pin_t **)o)->Y)) { - pcb_message(PCB_MSG_INFO, "Padstack conversion: adjusting origin to via hole\n"); - ox = (*(pcb_pin_t **)o)->X; - oy = (*(pcb_pin_t **)o)->Y; - } - break; - default:; - if (!quiet) - pcb_message(PCB_MSG_ERROR, "Padstack conversion: invalid object type (%x) selected; must be via, line or polygon\n", (*o)->type); - goto quit; - } - } - ts->shape = malloc(ts->len * sizeof(pcb_padstack_shape_t)); - - /* convert local (line/poly) objects */ - for(i = 0, n = -1, o = (pcb_any_obj_t **)objs->array; i < vtp0_len(objs); o++,i++) { - pcb_layer_t *ly; - switch((*o)->type) { - case PCB_OBJ_LINE: - n++; - ts->shape[n].shape = PCB_PSSH_LINE; - ts->shape[n].data.line.x1 = (*(pcb_line_t **)o)->Point1.X - ox; - ts->shape[n].data.line.y1 = (*(pcb_line_t **)o)->Point1.Y - oy; - ts->shape[n].data.line.x2 = (*(pcb_line_t **)o)->Point2.X - ox; - ts->shape[n].data.line.y2 = (*(pcb_line_t **)o)->Point2.Y - oy; - ts->shape[n].data.line.thickness = (*(pcb_line_t **)o)->Thickness; - ts->shape[n].data.line.square = 0; - ts->shape[n].clearance = (*(pcb_line_t **)o)->Clearance; - break; - case PCB_OBJ_POLYGON: - { - pcb_cardinal_t p, len; - pcb_poly_t *poly = *(pcb_poly_t **)o; - - len = poly->PointN; - n++; - if (poly->HoleIndexN != 0) { - if (!quiet) - pcb_message(PCB_MSG_ERROR, "Padstack conversion: can not convert polygon with holes\n"); - goto quit; - } - if (len >= (1L << (sizeof(int)-1))) { - if (!quiet) - pcb_message(PCB_MSG_ERROR, "Padstack conversion: polygon has too many points\n"); - goto quit; - } - pcb_padstack_shape_alloc_poly(&ts->shape[n].data.poly, len); - for(p = 0; p < len; p++) { - ts->shape[n].data.poly.x[p] = poly->Points[p].X - ox; - ts->shape[n].data.poly.y[p] = poly->Points[p].Y - oy; - } - - ts->shape[n].shape = PCB_PSSH_POLY; - ts->shape[n].clearance = (*(pcb_poly_t **)o)->Clearance; - } - break; - default: continue; - } - assert((*o)->parent_type == PCB_PARENT_LAYER); - ly = (*o)->parent.layer; - ts->shape[n].layer_mask = pcb_layer_flags_(ly); - ts->shape[n].comb = ly->comb; - for(m = 0; m < n; m++) { - if ((ts->shape[n].layer_mask == ts->shape[m].layer_mask) && (ts->shape[n].comb == ts->shape[m].comb)) { - if (!quiet) - pcb_message(PCB_MSG_ERROR, "Padstack conversion: multiple objects on the same layer\n"); - goto quit; - } - } - } - - /* all went fine */ - dst->hash = pcb_padstack_hash(dst); - ret = 0; - - quit:; - if (ret != 0) - pcb_padstack_proto_free_fields(dst); - return ret; -} - -int pcb_padstack_proto_conv_selection(pcb_board_t *pcb, pcb_padstack_proto_t *dst, int quiet, pcb_coord_t ox, pcb_coord_t oy) -{ - int ret; - vtp0_t objs; - - vtp0_init(&objs); - pcb_data_list_by_flag(pcb->Data, &objs, PCB_OBJ_CLASS_REAL, PCB_FLAG_SELECTED); - ret = pcb_padstack_proto_conv(pcb->Data, dst, quiet, &objs, ox, oy); - vtp0_uninit(&objs); - - return ret; -} - - -int pcb_padstack_proto_conv_buffer(pcb_padstack_proto_t *dst, int quiet) -{ - int ret; - vtp0_t objs; - pcb_coord_t ox, oy; - pcb_box_t bb; - - pcb_data_bbox(&bb, PCB_PASTEBUFFER->Data, 0); - - ox = (bb.X1 + bb.X2) / 2; - oy = (bb.Y1 + bb.Y2) / 2; - - vtp0_init(&objs); - pcb_data_list_by_flag(PCB_PASTEBUFFER->Data, &objs, PCB_OBJ_CLASS_REAL, PCB_FLAGS); - ret = pcb_padstack_proto_conv(PCB_PASTEBUFFER->Data, dst, quiet, &objs, ox, oy); - vtp0_uninit(&objs); - - return ret; -} - -void pcb_padstack_tshape_copy(pcb_padstack_tshape_t *ts_dst, pcb_padstack_tshape_t *ts_src) -{ - int n; - - ts_dst->rot = ts_src->rot; - ts_dst->xmirror = ts_src->xmirror; - ts_dst->shape = malloc(sizeof(pcb_padstack_shape_t) * ts_src->len); - ts_dst->len = ts_src->len; - memcpy(ts_dst->shape, ts_src->shape, sizeof(pcb_padstack_shape_t) * ts_src->len); - for(n = 0; n < ts_src->len; n++) { - switch(ts_src->shape[n].shape) { - case PCB_PSSH_LINE: - case PCB_PSSH_CIRC: - break; /* do nothing, all fields are copied already by the memcpy */ - case PCB_PSSH_POLY: - pcb_padstack_shape_alloc_poly(&ts_dst->shape[n].data.poly, ts_src->shape[n].data.poly.len); - pcb_padstack_shape_copy_poly(&ts_dst->shape[n].data.poly, &ts_src->shape[n].data.poly); - break; - } - } -} - -void pcb_padstack_tshape_rot(pcb_padstack_tshape_t *ts, double angle) -{ - int n, i; - double cosa = cos(angle / PCB_RAD_TO_DEG), sina = sin(angle / PCB_RAD_TO_DEG); - - for(n = 0; n < ts->len; n++) { - pcb_padstack_shape_t *sh = &ts->shape[n]; - switch(sh->shape) { - case PCB_PSSH_LINE: - pcb_rotate(&sh->data.line.x1, &sh->data.line.y1, 0, 0, cosa, sina); - pcb_rotate(&sh->data.line.x2, &sh->data.line.y2, 0, 0, cosa, sina); - break; - case PCB_PSSH_CIRC: - pcb_rotate(&sh->data.circ.x, &sh->data.circ.y, 0, 0, cosa, sina); - break; - case PCB_PSSH_POLY: - if (sh->data.poly.pa != NULL) - pcb_polyarea_free(&sh->data.poly.pa); - for(i = 0; i < sh->data.poly.len; i++) - pcb_rotate(&sh->data.poly.x[i], &sh->data.poly.y[i], 0, 0, cosa, sina); - pcb_padstack_shape_update_pa(&sh->data.poly); - break; - } - } -} - -void pcb_padstack_tshape_xmirror(pcb_padstack_tshape_t *ts) -{ - int n, i; - - for(n = 0; n < ts->len; n++) { - pcb_padstack_shape_t *sh = &ts->shape[n]; - switch(sh->shape) { - case PCB_PSSH_LINE: - sh->data.line.y1 = -sh->data.line.y1; - sh->data.line.y2 = -sh->data.line.y2; - break; - case PCB_PSSH_CIRC: - sh->data.circ.y = -sh->data.circ.y; - break; - case PCB_PSSH_POLY: - if (sh->data.poly.pa != NULL) - pcb_polyarea_free(&sh->data.poly.pa); - for(i = 0; i < sh->data.poly.len; i++) - sh->data.poly.y[i] = -sh->data.poly.y[i]; - pcb_padstack_shape_update_pa(&sh->data.poly); - break; - } - } -} - -void pcb_padstack_proto_copy(pcb_padstack_proto_t *dst, const pcb_padstack_proto_t *src) -{ - pcb_padstack_tshape_t *ts_dst, *ts_src; - - memcpy(dst, src, sizeof(pcb_padstack_proto_t)); - pcb_vtpadstack_tshape_init(&dst->tr); - - ts_src = &src->tr.array[0]; - - /* allocate shapes on the canonical tshape (tr[0]) */ - ts_dst = pcb_vtpadstack_tshape_alloc_append(&dst->tr, 1); - pcb_padstack_tshape_copy(ts_dst, ts_src); - - /* make sure it's the canonical form */ - ts_dst->rot = 0.0; - ts_dst->xmirror = 0; - - dst->in_use = 1; -} - - -/* Matches proto against all protos in data's cache; returns - PCB_PADSTACK_INVALID (and loads first_free_out) if not found */ -static pcb_cardinal_t pcb_padstack_proto_insert_try(pcb_data_t *data, const pcb_padstack_proto_t *proto, pcb_cardinal_t *first_free_out) -{ - pcb_cardinal_t n, first_free = PCB_PADSTACK_INVALID; - - /* look for the first existing padstack that matches */ - for(n = 0; n < pcb_vtpadstack_proto_len(&data->ps_protos); n++) { - if (!(data->ps_protos.array[n].in_use)) { - if (first_free == PCB_PADSTACK_INVALID) - first_free = n; - } - else if (data->ps_protos.array[n].hash == proto->hash) { - if (pcb_padstack_eq(&data->ps_protos.array[n], proto)) - return n; - } - } - *first_free_out = first_free; - return PCB_PADSTACK_INVALID; -} - -pcb_cardinal_t pcb_padstack_proto_insert_or_free(pcb_data_t *data, pcb_padstack_proto_t *proto, int quiet) -{ - pcb_cardinal_t n, first_free; - - n = pcb_padstack_proto_insert_try(data, proto, &first_free); - if (n != PCB_PADSTACK_INVALID) { - pcb_padstack_proto_free_fields(proto); - return n; /* already in cache */ - } - - /* no match, have to register a new one */ - if (first_free == PCB_PADSTACK_INVALID) { - n = pcb_vtpadstack_proto_len(&data->ps_protos); - pcb_vtpadstack_proto_append(&data->ps_protos, *proto); - } - else { - memcpy(data->ps_protos.array+first_free, proto, sizeof(pcb_padstack_proto_t)); - data->ps_protos.array[first_free].in_use = 1; - } - memset(proto, 0, sizeof(pcb_padstack_proto_t)); /* make sure a subsequent free() won't do any harm */ - return n; -} - -pcb_cardinal_t pcb_padstack_proto_insert_dup(pcb_data_t *data, const pcb_padstack_proto_t *proto, int quiet) -{ - pcb_cardinal_t n, first_free; - - n = pcb_padstack_proto_insert_try(data, proto, &first_free); - if (n != PCB_PADSTACK_INVALID) - return n; /* already in cache */ - - /* no match, have to register a new one, which is a dup of the original */ - if (first_free == PCB_PADSTACK_INVALID) { - pcb_padstack_proto_t *nproto; - n = pcb_vtpadstack_proto_len(&data->ps_protos); - nproto = pcb_vtpadstack_proto_alloc_append(&data->ps_protos, 1); - pcb_padstack_proto_copy(nproto, proto); - nproto->parent = data; - } - else { - pcb_padstack_proto_copy(data->ps_protos.array+first_free, proto); - data->ps_protos.array[first_free].in_use = 1; - data->ps_protos.array[first_free].parent = data; - } - return n; -} - -pcb_cardinal_t pcb_padstack_conv_selection(pcb_board_t *pcb, int quiet, pcb_coord_t ox, pcb_coord_t oy) -{ - pcb_padstack_proto_t proto; - - if (pcb_padstack_proto_conv_selection(pcb, &proto, quiet, ox, oy) != 0) - return -1; - - return pcb_padstack_proto_insert_or_free(pcb->Data, &proto, quiet); -} - -pcb_cardinal_t pcb_padstack_conv_buffer(int quiet) -{ - pcb_padstack_proto_t proto; - - if (pcb_padstack_proto_conv_buffer(&proto, quiet) != 0) - return -1; - - return pcb_padstack_proto_insert_or_free(PCB_PASTEBUFFER->Data, &proto, quiet); -} - - -void pcb_padstack_shape_update_pa(pcb_padstack_poly_t *poly) -{ - int n; - pcb_vector_t v; - pcb_pline_t *pl; - - v[0] = poly->x[0]; v[1] = poly->y[0]; - pl = pcb_poly_contour_new(v); - for(n = 1; n < poly->len; n++) { - v[0] = poly->x[n]; v[1] = poly->y[n]; - pcb_poly_vertex_include(pl->head.prev, pcb_poly_node_create(v)); - } - pcb_poly_contour_pre(pl, 1); - - poly->pa = pcb_polyarea_create(); - pcb_polyarea_contour_include(poly->pa, pl); -} - -/*** Undoable hole change ***/ - -typedef struct { - long int parent_ID; /* -1 for pcb, positive for a subc */ - pcb_cardinal_t proto; - - int hplated; - pcb_coord_t hdia; - int htop, hbottom; -} padstack_proto_change_hole_t; - -#define swap(a,b,type) \ - do { \ - type tmp = a; \ - a = b; \ - b = tmp; \ - } while(0) - -static int undo_change_hole_swap(void *udata) -{ - padstack_proto_change_hole_t *u = udata; - pcb_data_t *data; - pcb_padstack_proto_t *proto; - - if (u->parent_ID != -1) { - pcb_subc_t *subc = pcb_subc_by_id(PCB->Data, u->parent_ID); - if (subc == NULL) { - pcb_message(PCB_MSG_ERROR, "Can't undo padstack prototype hole change: parent subc #%ld is not found\n", u->parent_ID); - return -1; - } - data = subc->data; - } - else - data = PCB->Data; - - proto = pcb_padstack_get_proto_(data, u->proto); - if (proto == NULL) { - pcb_message(PCB_MSG_ERROR, "Can't undo padstack prototype hole change: proto ID #%ld is not available\n", u->parent_ID); - return -1; - } - - swap(proto->hplated, u->hplated, int); - swap(proto->hdia, u->hdia, pcb_coord_t); - swap(proto->htop, u->htop, int); - swap(proto->hbottom, u->hbottom, int); - return 0; -} - -static void undo_change_hole_print(void *udata, char *dst, size_t dst_len) -{ - padstack_proto_change_hole_t *u = udata; - pcb_snprintf(dst, dst_len, "padstack proto hole change: plated=%d dia=%$mm top=%d bottom=%d\n", u->hplated, u->hdia, u->htop, u->hbottom); -} - -static const uundo_oper_t undo_padstack_proto_change_hole = { - core_proto_cookie, - NULL, /* free */ - undo_change_hole_swap, - undo_change_hole_swap, - undo_change_hole_print -}; - -int pcb_padstack_proto_change_hole(pcb_padstack_proto_t *proto, const int *hplated, const pcb_coord_t *hdia, const int *htop, const int *hbottom) -{ - padstack_proto_change_hole_t *u; - long int parent_ID; - - switch(proto->parent->parent_type) { - case PCB_PARENT_BOARD: parent_ID = -1; break; - case PCB_PARENT_SUBC: parent_ID = proto->parent->parent.subc->ID; break; - default: return -1; - } - - u = pcb_undo_alloc(PCB, &undo_padstack_proto_change_hole, sizeof(padstack_proto_change_hole_t)); - u->parent_ID = parent_ID; - u->proto = pcb_padstack_get_proto_id(proto); - u->hplated = hplated ? *hplated : proto->hplated; - u->hdia = hdia ? *hdia : proto->hdia; - u->htop = htop ? *htop : proto->htop; - u->hbottom = hbottom ? *hbottom : proto->hbottom; - undo_change_hole_swap(u); - - pcb_undo_inc_serial(); - return 0; -} - -#define TSHAPE_ANGLE_TOL 0.01 -#define tshape_angle_eq(a1, a2) (((a1 - a2) >= -TSHAPE_ANGLE_TOL) && ((a1 - a2) <= TSHAPE_ANGLE_TOL)) - -pcb_padstack_tshape_t *pcb_padstack_make_tshape(pcb_data_t *data, pcb_padstack_proto_t *proto, double rot, int xmirror, int *out_protoi) -{ - size_t n; - pcb_padstack_tshape_t *ts; - - xmirror = !!xmirror; - - /* cheap case: canonical */ - if (tshape_angle_eq(rot, 0.0) && (xmirror == 0)) { - if (out_protoi != NULL) *out_protoi = 0; - return &proto->tr.array[0]; - } - - /* search for an existing version in the cache - we expect only a few - transformations per padstack, the result is cached -> linear search. */ - for(n = 0; n < proto->tr.used; n++) { - if (tshape_angle_eq(proto->tr.array[n].rot, rot) && (proto->tr.array[n].xmirror == xmirror)) { - if (out_protoi != NULL) *out_protoi = n; - return &proto->tr.array[n]; - } - } - -#warning padstack TODO: allocate and render the transformed version for the cache - if (out_protoi != NULL) *out_protoi = proto->tr.used; - ts = pcb_vtpadstack_tshape_alloc_append(&proto->tr, 1); - - /* first make a vanilla copy */ - pcb_padstack_tshape_copy(ts, &proto->tr.array[0]); - - if (!tshape_angle_eq(rot, 0.0)) - pcb_padstack_tshape_rot(ts, rot); - - if (xmirror) - pcb_padstack_tshape_xmirror(ts); - - ts->rot = rot; - ts->xmirror = xmirror; - return ts; -} - -/*** hash ***/ -static unsigned int pcb_padstack_shape_hash(const pcb_padstack_shape_t *sh) -{ - unsigned int n, ret = murmurhash32(sh->layer_mask) ^ murmurhash32(sh->comb) ^ pcb_hash_coord(sh->clearance); - - switch(sh->shape) { - case PCB_PSSH_POLY: - for(n = 0; n < sh->data.poly.len; n++) - ret ^= pcb_hash_coord(sh->data.poly.x[n]) ^ pcb_hash_coord(sh->data.poly.y[n]); - break; - case PCB_PSSH_LINE: - ret ^= pcb_hash_coord(sh->data.line.x1) ^ pcb_hash_coord(sh->data.line.x2) ^ pcb_hash_coord(sh->data.line.y1) ^ pcb_hash_coord(sh->data.line.y2); - ret ^= pcb_hash_coord(sh->data.line.thickness); - ret ^= sh->data.line.square; - break; - case PCB_PSSH_CIRC: - ret ^= pcb_hash_coord(sh->data.circ.x) ^ pcb_hash_coord(sh->data.circ.y); - ret ^= pcb_hash_coord(sh->data.circ.dia); - break; - } - - return ret; -} - -unsigned int pcb_padstack_hash(const pcb_padstack_proto_t *p) -{ - pcb_padstack_tshape_t *ts = &p->tr.array[0]; - unsigned int n, ret = pcb_hash_coord(p->hdia) ^ pcb_hash_coord(p->htop) ^ pcb_hash_coord(p->hbottom) ^ pcb_hash_coord(p->hplated) ^ pcb_hash_coord(ts->len); - for(n = 0; n < ts->len; n++) - ret ^= pcb_padstack_shape_hash(ts->shape + n); - return ret; -} - -static int pcb_padstack_shape_eq(const pcb_padstack_shape_t *sh1, const pcb_padstack_shape_t *sh2) -{ - int n; - - if (sh1->layer_mask != sh2->layer_mask) return 0; - if (sh1->comb != sh2->comb) return 0; - if (sh1->clearance != sh2->clearance) return 0; - if (sh1->shape != sh2->shape) return 0; - - switch(sh1->shape) { - case PCB_PSSH_POLY: - if (sh1->data.poly.len != sh2->data.poly.len) return 0; - for(n = 0; n < sh1->data.poly.len; n++) { - if (sh1->data.poly.x[n] != sh2->data.poly.x[n]) return 0; - if (sh1->data.poly.y[n] != sh2->data.poly.y[n]) return 0; - } - break; - case PCB_PSSH_LINE: - if (sh1->data.line.x1 != sh2->data.line.x1) return 0; - if (sh1->data.line.x2 != sh2->data.line.x2) return 0; - if (sh1->data.line.y1 != sh2->data.line.y1) return 0; - if (sh1->data.line.y2 != sh2->data.line.y2) return 0; - if (sh1->data.line.thickness != sh2->data.line.thickness) return 0; - if (sh1->data.line.square != sh2->data.line.square) return 0; - break; - case PCB_PSSH_CIRC: - if (sh1->data.circ.x != sh2->data.circ.x) return 0; - if (sh1->data.circ.y != sh2->data.circ.y) return 0; - if (sh1->data.circ.dia != sh2->data.circ.dia) return 0; - break; - } - - return 1; -} - -int pcb_padstack_eq(const pcb_padstack_proto_t *p1, const pcb_padstack_proto_t *p2) -{ - pcb_padstack_tshape_t *ts1 = &p1->tr.array[0], *ts2 = &p2->tr.array[0]; - int n1, n2; - - if (p1->hdia != p2->hdia) return 0; - if (p1->htop != p2->htop) return 0; - if (p1->hbottom != p2->hbottom) return 0; - if (p1->hplated != p2->hplated) return 0; - if (ts1->len != ts2->len) return 0; - - for(n1 = 0; n1 < ts1->len; n1++) { - for(n2 = 0; n2 < ts2->len; n2++) - if (pcb_padstack_shape_eq(ts1->shape + n1, ts2->shape + n2)) - goto found; - return 0; - found:; - } - - return 1; -} - Index: trunk/src/obj_padstack_draw.h =================================================================== --- trunk/src/obj_padstack_draw.h (revision 12594) +++ trunk/src/obj_padstack_draw.h (nonexistent) @@ -1,52 +0,0 @@ -/* - * COPYRIGHT - * - * pcb-rnd, interactive printed circuit board design - * 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., 675 Mass Ave, Cambridge, MA 02139, USA. - * - */ - -#include "obj_padstack.h" - -#ifndef PCB_OBJ_PADSTACK_DRAW_H -#define PCB_OBJ_PADSTACK_DRAW_H - -/* Include rtree.h for these */ -#ifdef PCB_RTREE_H - -#include "board.h" -#include "layer_grp.h" - -typedef struct { - pcb_board_t *pcb; - pcb_layergrp_id_t gid; - int is_current; - pcb_layer_combining_t comb; -} pcb_padstack_draw_t; - -pcb_r_dir_t pcb_padstack_draw_callback(const pcb_box_t *b, void *cl); -pcb_r_dir_t pcb_padstack_clear_callback(const pcb_box_t *b, void *cl); -#endif - -void pcb_padstack_draw(pcb_pin_t *pin, pcb_bool draw_hole); -void pcb_padstack_invalidate_erase(pcb_padstack_t *ps); -void pcb_padstack_invalidate_draw(pcb_padstack_t *ps); - -void pcb_padstack_thindraw(pcb_hid_gc_t gc, pcb_padstack_t *ps); - - -#endif Index: trunk/src/Makefile.dep =================================================================== --- trunk/src/Makefile.dep (revision 12594) +++ trunk/src/Makefile.dep (revision 12595) @@ -12,13 +12,13 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h move.h misc_util.h ht_element.h ../src_3rd/genht/ht.h \ - obj_padstack_list.h obj_padstack.h obj_text_list.h obj_rat_list.h \ - obj_rat.h layer_grp.h library.h rats_patch.h board.h data.h crosshair.h \ + obj_pstk_list.h obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h \ + layer_grp.h library.h rats_patch.h board.h data.h crosshair.h \ vtonpoint.h hid.h error.h drc.h route.h buffer.h obj_subc_list.h \ obj_subc.h ../src_3rd/libminuid/libminuid.h ../src_3rd/genht/htsp.h \ - rtree.h ht_subc.h vtpadstack.h obj_padstack_shape.h polygon.h \ - vtpadstack_t.h layer.h layer_ui.h action_helper.h hid_actions.h \ - plugins.h ../src_3rd/puplug/puplug.h ../src_3rd/puplug/libs.h \ + rtree.h ht_subc.h vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h \ + layer.h layer_ui.h action_helper.h hid_actions.h plugins.h \ + ../src_3rd/puplug/puplug.h ../src_3rd/puplug/libs.h \ ../src_3rd/puplug/os_dep.h ../src_3rd/puplug/config.h \ ../src_3rd/puplug/libs.h ../src_3rd/puplug/error.h conf.h pcb-printf.h \ ../src_3rd/genvector/gds_char.h ../src_3rd/liblihata/lihata.h \ @@ -37,13 +37,13 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h move.h misc_util.h ht_element.h ../src_3rd/genht/ht.h \ - obj_padstack_list.h obj_padstack.h obj_text_list.h obj_rat_list.h \ - obj_rat.h layer_grp.h library.h rats_patch.h board.h data.h crosshair.h \ + obj_pstk_list.h obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h \ + layer_grp.h library.h rats_patch.h board.h data.h crosshair.h \ vtonpoint.h hid.h error.h drc.h route.h buffer.h obj_subc_list.h \ obj_subc.h ../src_3rd/libminuid/libminuid.h ../src_3rd/genht/htsp.h \ - rtree.h ht_subc.h vtpadstack.h obj_padstack_shape.h polygon.h \ - vtpadstack_t.h hid.h rtree.h undo.h ../src_3rd/libuundo/uundo.h \ - undo_old.h move.h draw.h polygon.h plugins.h ../src_3rd/puplug/puplug.h \ + rtree.h ht_subc.h vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h \ + hid.h rtree.h undo.h ../src_3rd/libuundo/uundo.h undo_old.h move.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 obj_all.h box.h hid_actions.h dolists.h @@ -62,7 +62,7 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h macro.h move.h misc_util.h ht_element.h \ - ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h obj_text_list.h \ + ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h obj_text_list.h \ obj_rat_list.h obj_rat.h layer_grp.h compat_nls.h board.h const.h \ vtroutestyle.h ../src_3rd/genvector/genvector_impl.h \ ../src_3rd/genvector/genvector_undef.h library.h rats_patch.h board.h \ @@ -80,15 +80,15 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h move.h misc_util.h ht_element.h ../src_3rd/genht/ht.h \ - obj_padstack_list.h obj_padstack.h obj_text_list.h obj_rat_list.h \ - obj_rat.h layer_grp.h library.h rats_patch.h board.h \ + obj_pstk_list.h obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h \ + layer_grp.h library.h rats_patch.h board.h \ ../src_plugins/autoplace/autoplace.h global_typedefs.h box.h \ compat_misc.h compat_nls.h data.h crosshair.h vtonpoint.h hid.h error.h \ drc.h route.h buffer.h obj_subc_list.h obj_subc.h \ ../src_3rd/libminuid/libminuid.h ../src_3rd/genht/htsp.h rtree.h \ - ht_subc.h vtpadstack.h obj_padstack_shape.h polygon.h vtpadstack_t.h \ - draw.h error.h layer.h intersect.h rtree.h macro.h move.h rats.h \ - netlist.h route_style.h remove.h rotate.h obj_pinvia.h obj_rat.h \ + ht_subc.h vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h draw.h \ + error.h layer.h intersect.h rtree.h macro.h move.h rats.h netlist.h \ + route_style.h remove.h rotate.h obj_pinvia.h obj_rat.h \ ../src_3rd/genvector/vtp0.h ../src_plugins/autoroute/action.o: ../src_plugins/autoroute/action.c \ ../config.h ../src_plugins/autoroute/autoroute.h board.h const.h macro.h \ @@ -103,9 +103,9 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h move.h misc_util.h ht_element.h ../src_3rd/genht/ht.h \ - obj_padstack_list.h obj_padstack.h obj_text_list.h obj_rat_list.h \ - obj_rat.h layer_grp.h library.h rats_patch.h board.h action_helper.h \ - plugins.h ../src_3rd/puplug/puplug.h ../src_3rd/puplug/libs.h \ + obj_pstk_list.h obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h \ + layer_grp.h library.h rats_patch.h board.h action_helper.h plugins.h \ + ../src_3rd/puplug/puplug.h ../src_3rd/puplug/libs.h \ ../src_3rd/puplug/os_dep.h ../src_3rd/puplug/config.h \ ../src_3rd/puplug/libs.h ../src_3rd/puplug/error.h hid_actions.h hid.h \ error.h drc.h event.h dolists.h @@ -125,11 +125,11 @@ obj_pad.h obj_pinvia_list.h obj_pinvia.h obj_text.h font.h \ ../src_3rd/genht/htip.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h macro.h move.h misc_util.h ht_element.h \ - ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h obj_text_list.h \ + ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h obj_text_list.h \ obj_rat_list.h obj_rat.h crosshair.h vtonpoint.h hid.h error.h drc.h \ layer_grp.h route.h const.h buffer.h obj_subc_list.h obj_subc.h \ ../src_3rd/libminuid/libminuid.h rtree.h ht_subc.h vtpadstack.h \ - obj_padstack_shape.h polygon.h vtpadstack_t.h macro.h \ + obj_pstk_shape.h polygon.h vtpadstack_t.h macro.h \ ../src_plugins/autoroute/autoroute.h board.h vtroutestyle.h library.h \ rats_patch.h board.h box.h draw.h error.h find.h heap.h rtree.h \ ../src_plugins/autoroute/mtspace.h ../src_plugins/autoroute/vector.h \ @@ -157,12 +157,12 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h move.h misc_util.h ht_element.h ../src_3rd/genht/ht.h \ - obj_padstack_list.h obj_padstack.h obj_text_list.h obj_rat_list.h \ - obj_rat.h layer_grp.h library.h rats_patch.h board.h rats.h netlist.h \ + obj_pstk_list.h obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h \ + layer_grp.h library.h rats_patch.h board.h rats.h netlist.h \ route_style.h polygon.h rtree.h data.h crosshair.h vtonpoint.h hid.h \ error.h drc.h route.h buffer.h obj_subc_list.h obj_subc.h \ ../src_3rd/libminuid/libminuid.h ../src_3rd/genht/htsp.h ht_subc.h \ - vtpadstack.h obj_padstack_shape.h polygon.h vtpadstack_t.h hid.h rtree.h \ + vtpadstack.h obj_pstk_shape.h polygon.h 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 \ @@ -181,20 +181,19 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h move.h misc_util.h ht_element.h ../src_3rd/genht/ht.h \ - obj_padstack_list.h obj_padstack.h obj_text_list.h obj_rat_list.h \ - obj_rat.h layer_grp.h library.h rats_patch.h board.h data.h crosshair.h \ + obj_pstk_list.h obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h \ + layer_grp.h library.h rats_patch.h board.h data.h crosshair.h \ vtonpoint.h hid.h error.h drc.h route.h buffer.h obj_subc_list.h \ obj_subc.h ../src_3rd/libminuid/libminuid.h ../src_3rd/genht/htsp.h \ - rtree.h ht_subc.h vtpadstack.h obj_padstack_shape.h polygon.h \ - vtpadstack_t.h flag_str.h layer.h ../src_plugins/diag/diag_conf.h conf.h \ - pcb-printf.h ../src_3rd/genvector/gds_char.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 conf.h action_helper.h \ - hid_actions.h plugins.h ../src_3rd/puplug/puplug.h \ - ../src_3rd/puplug/libs.h ../src_3rd/puplug/os_dep.h \ - ../src_3rd/puplug/config.h ../src_3rd/puplug/libs.h \ - ../src_3rd/puplug/error.h error.h event.h \ + rtree.h ht_subc.h vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h \ + flag_str.h layer.h ../src_plugins/diag/diag_conf.h conf.h pcb-printf.h \ + ../src_3rd/genvector/gds_char.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 \ + conf.h action_helper.h hid_actions.h plugins.h \ + ../src_3rd/puplug/puplug.h ../src_3rd/puplug/libs.h \ + ../src_3rd/puplug/os_dep.h ../src_3rd/puplug/config.h \ + ../src_3rd/puplug/libs.h ../src_3rd/puplug/error.h error.h event.h \ ../src_plugins/diag/integrity.h hid.h hid_attrib.h hid_dad.h \ compat_misc.h hid_attrib.h dolists.h \ ../src_plugins/diag/diag_conf_fields.h @@ -219,12 +218,12 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h move.h misc_util.h ht_element.h ../src_3rd/genht/ht.h \ - obj_padstack_list.h obj_padstack.h obj_text_list.h obj_rat_list.h \ - obj_rat.h layer_grp.h library.h rats_patch.h board.h data.h crosshair.h \ + obj_pstk_list.h obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h \ + layer_grp.h library.h rats_patch.h board.h data.h crosshair.h \ vtonpoint.h hid.h error.h drc.h route.h buffer.h obj_subc_list.h \ obj_subc.h ../src_3rd/libminuid/libminuid.h ../src_3rd/genht/htsp.h \ - rtree.h ht_subc.h vtpadstack.h obj_padstack_shape.h polygon.h \ - vtpadstack_t.h error.h undo.h ../src_3rd/libuundo/uundo.h undo_old.h + rtree.h ht_subc.h vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h \ + error.h undo.h ../src_3rd/libuundo/uundo.h undo_old.h ../src_plugins/dialogs/dialogs.o: ../src_plugins/dialogs/dialogs.c \ ../config.h hid.h error.h drc.h unit.h global_typedefs.h pcb_bool.h \ attrib.h layer.h globalconst.h obj_all_list.h obj_arc_list.h \ @@ -235,7 +234,7 @@ obj_pad.h obj_pinvia_list.h obj_pinvia.h obj_text.h font.h \ ../src_3rd/genht/htip.h ../src_3rd/genht/ht.h obj_poly.h polyarea.h \ obj_poly_list.h box.h math_helper.h macro.h move.h misc_util.h \ - ht_element.h ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h \ + ht_element.h ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h \ obj_text_list.h obj_rat_list.h obj_rat.h layer_grp.h hid_attrib.h hid.h \ hid_actions.h hid_dad.h compat_misc.h hid_attrib.h pcb-printf.h \ ../src_3rd/genvector/gds_char.h ../src_3rd/genvector/genvector_impl.h \ @@ -245,14 +244,14 @@ vtroutestyle.h library.h rats_patch.h board.h data.h crosshair.h \ vtonpoint.h route.h buffer.h obj_subc_list.h obj_subc.h \ ../src_3rd/libminuid/libminuid.h ../src_3rd/genht/htsp.h rtree.h \ - ht_subc.h vtpadstack.h obj_padstack_shape.h polygon.h vtpadstack_t.h \ - const.h conf_core.h conf.h ../src_3rd/liblihata/lihata.h \ + ht_subc.h vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h const.h \ + conf_core.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/genvector/vtp0.h list_conf.h \ compat_misc.h obj_subc.h search.h rats.h netlist.h route_style.h \ ../src_plugins/dialogs/dlg_flag_edit.c flag.h flag_str.h change.h \ - ../src_plugins/dialogs/dlg_padstack.c obj_padstack.h \ - obj_padstack_inlines.h thermal.h dolists.h + ../src_plugins/dialogs/dlg_padstack.c obj_pstk.h obj_pstk_inlines.h \ + data.h thermal.h dolists.h ../src_plugins/distalign/distalign.o: \ ../src_plugins/distalign/distalign.c board.h ../config.h const.h macro.h \ global_typedefs.h pcb_bool.h unit.h vtroutestyle.h attrib.h \ @@ -266,14 +265,14 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h move.h misc_util.h ht_element.h ../src_3rd/genht/ht.h \ - obj_padstack_list.h obj_padstack.h obj_text_list.h obj_rat_list.h \ - obj_rat.h layer_grp.h library.h rats_patch.h board.h data.h crosshair.h \ + obj_pstk_list.h obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h \ + layer_grp.h library.h rats_patch.h board.h data.h crosshair.h \ vtonpoint.h hid.h error.h drc.h route.h buffer.h obj_subc_list.h \ obj_subc.h ../src_3rd/libminuid/libminuid.h ../src_3rd/genht/htsp.h \ - rtree.h ht_subc.h vtpadstack.h obj_padstack_shape.h polygon.h \ - vtpadstack_t.h hid.h rtree.h undo.h ../src_3rd/libuundo/uundo.h \ - undo_old.h rats.h netlist.h route_style.h error.h move.h draw.h \ - plugins.h ../src_3rd/puplug/puplug.h ../src_3rd/puplug/libs.h \ + rtree.h ht_subc.h vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h \ + hid.h rtree.h undo.h ../src_3rd/libuundo/uundo.h undo_old.h rats.h \ + netlist.h route_style.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 action_helper.h \ hid_actions.h compat_misc.h dolists.h @@ -290,14 +289,14 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h move.h misc_util.h ht_element.h ../src_3rd/genht/ht.h \ - obj_padstack_list.h obj_padstack.h obj_text_list.h obj_rat_list.h \ - obj_rat.h layer_grp.h library.h rats_patch.h board.h data.h crosshair.h \ + obj_pstk_list.h obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h \ + layer_grp.h library.h rats_patch.h board.h data.h crosshair.h \ vtonpoint.h hid.h error.h drc.h route.h buffer.h obj_subc_list.h \ obj_subc.h ../src_3rd/libminuid/libminuid.h ../src_3rd/genht/htsp.h \ - rtree.h ht_subc.h vtpadstack.h obj_padstack_shape.h polygon.h \ - vtpadstack_t.h hid.h rtree.h undo.h ../src_3rd/libuundo/uundo.h \ - undo_old.h rats.h netlist.h route_style.h error.h move.h draw.h \ - plugins.h ../src_3rd/puplug/puplug.h ../src_3rd/puplug/libs.h \ + rtree.h ht_subc.h vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h \ + hid.h rtree.h undo.h ../src_3rd/libuundo/uundo.h undo_old.h rats.h \ + netlist.h route_style.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 action_helper.h \ hid_actions.h conf_core.h conf.h pcb-printf.h \ @@ -320,13 +319,13 @@ obj_line_list.h obj_line.h obj_pad_list.h obj_pad.h obj_pinvia_list.h \ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h obj_poly.h \ polyarea.h obj_poly_list.h box.h math_helper.h move.h misc_util.h \ - ht_element.h ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h \ + ht_element.h ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h \ obj_text_list.h obj_rat_list.h obj_rat.h layer_grp.h library.h \ rats_patch.h board.h data.h crosshair.h vtonpoint.h hid.h error.h drc.h \ route.h buffer.h obj_subc_list.h obj_subc.h \ ../src_3rd/libminuid/libminuid.h rtree.h ht_subc.h vtpadstack.h \ - obj_padstack_shape.h polygon.h vtpadstack_t.h remove.h move.h draw.h \ - undo.h ../src_3rd/libuundo/uundo.h undo_old.h flag_str.h find.h layer.h \ + obj_pstk_shape.h polygon.h vtpadstack_t.h remove.h move.h draw.h undo.h \ + ../src_3rd/libuundo/uundo.h undo_old.h flag_str.h find.h layer.h \ pcb-printf.h compat_misc.h plugins.h ../src_3rd/puplug/puplug.h \ ../src_3rd/puplug/libs.h ../src_3rd/puplug/os_dep.h \ ../src_3rd/puplug/config.h ../src_3rd/puplug/libs.h \ @@ -346,16 +345,16 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h move.h misc_util.h ht_element.h ../src_3rd/genht/ht.h \ - obj_padstack_list.h obj_padstack.h obj_text_list.h obj_rat_list.h \ - obj_rat.h layer_grp.h library.h rats_patch.h board.h data.h crosshair.h \ + obj_pstk_list.h obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h \ + layer_grp.h library.h rats_patch.h board.h data.h crosshair.h \ vtonpoint.h hid.h error.h drc.h route.h buffer.h obj_subc_list.h \ obj_subc.h ../src_3rd/libminuid/libminuid.h ../src_3rd/genht/htsp.h \ - rtree.h ht_subc.h vtpadstack.h obj_padstack_shape.h polygon.h \ - vtpadstack_t.h draw.h plugins.h ../src_3rd/puplug/puplug.h \ - ../src_3rd/puplug/libs.h ../src_3rd/puplug/os_dep.h \ - ../src_3rd/puplug/config.h ../src_3rd/puplug/libs.h \ - ../src_3rd/puplug/error.h stub_draw.h compat_misc.h hid_actions.h \ - event.h layer_vis.h obj_text_draw.h obj_line_draw.h dolists.h + rtree.h ht_subc.h vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h \ + draw.h plugins.h ../src_3rd/puplug/puplug.h ../src_3rd/puplug/libs.h \ + ../src_3rd/puplug/os_dep.h ../src_3rd/puplug/config.h \ + ../src_3rd/puplug/libs.h ../src_3rd/puplug/error.h stub_draw.h \ + compat_misc.h hid_actions.h event.h layer_vis.h obj_text_draw.h \ + obj_line_draw.h dolists.h ../src_plugins/draw_fab/draw_fab.o: ../src_plugins/draw_fab/draw_fab.c \ ../config.h board.h const.h macro.h global_typedefs.h pcb_bool.h unit.h \ vtroutestyle.h attrib.h ../src_3rd/genvector/genvector_impl.h \ @@ -368,12 +367,12 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h move.h misc_util.h ht_element.h ../src_3rd/genht/ht.h \ - obj_padstack_list.h obj_padstack.h obj_text_list.h obj_rat_list.h \ - obj_rat.h layer_grp.h library.h rats_patch.h board.h build_run.h \ - compat_misc.h data.h crosshair.h vtonpoint.h hid.h error.h drc.h route.h \ - buffer.h obj_subc_list.h obj_subc.h ../src_3rd/libminuid/libminuid.h \ - ../src_3rd/genht/htsp.h rtree.h ht_subc.h vtpadstack.h \ - obj_padstack_shape.h polygon.h vtpadstack_t.h draw.h \ + obj_pstk_list.h obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h \ + layer_grp.h library.h rats_patch.h board.h build_run.h compat_misc.h \ + data.h crosshair.h vtonpoint.h hid.h error.h drc.h route.h buffer.h \ + obj_subc_list.h obj_subc.h ../src_3rd/libminuid/libminuid.h \ + ../src_3rd/genht/htsp.h rtree.h ht_subc.h vtpadstack.h obj_pstk_shape.h \ + polygon.h vtpadstack_t.h draw.h \ ../src_plugins/draw_fab/../report/drill.h obj_all.h plugins.h \ ../src_3rd/puplug/puplug.h ../src_3rd/puplug/libs.h \ ../src_3rd/puplug/os_dep.h ../src_3rd/puplug/config.h \ @@ -397,21 +396,20 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h move.h misc_util.h ht_element.h ../src_3rd/genht/ht.h \ - obj_padstack_list.h obj_padstack.h obj_text_list.h obj_rat_list.h \ - obj_rat.h layer_grp.h library.h rats_patch.h board.h build_run.h data.h \ + obj_pstk_list.h obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h \ + layer_grp.h library.h rats_patch.h board.h build_run.h data.h \ crosshair.h vtonpoint.h hid.h error.h drc.h route.h buffer.h \ obj_subc_list.h obj_subc.h ../src_3rd/libminuid/libminuid.h \ - ../src_3rd/genht/htsp.h rtree.h ht_subc.h vtpadstack.h \ - obj_padstack_shape.h polygon.h vtpadstack_t.h draw.h font.h const.h \ - hid_actions.h obj_all.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 pcb-printf.h \ - ../src_3rd/genvector/gds_char.h compat_misc.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 obj_text.h obj_text_draw.h \ - obj_line_draw.h + ../src_3rd/genht/htsp.h rtree.h ht_subc.h vtpadstack.h obj_pstk_shape.h \ + polygon.h vtpadstack_t.h draw.h font.h const.h hid_actions.h obj_all.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 \ + pcb-printf.h ../src_3rd/genvector/gds_char.h compat_misc.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 \ + obj_text.h obj_text_draw.h obj_line_draw.h ../src_plugins/export_bboard/bboard.o: \ ../src_plugins/export_bboard/bboard.c ../config.h math_helper.h board.h \ const.h macro.h global_typedefs.h pcb_bool.h unit.h vtroutestyle.h \ @@ -425,12 +423,12 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h move.h misc_util.h ht_element.h ../src_3rd/genht/ht.h \ - obj_padstack_list.h obj_padstack.h obj_text_list.h obj_rat_list.h \ - obj_rat.h layer_grp.h library.h rats_patch.h board.h data.h crosshair.h \ + obj_pstk_list.h obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h \ + layer_grp.h library.h rats_patch.h board.h data.h crosshair.h \ vtonpoint.h hid.h error.h drc.h route.h buffer.h obj_subc_list.h \ obj_subc.h ../src_3rd/libminuid/libminuid.h ../src_3rd/genht/htsp.h \ - rtree.h ht_subc.h vtpadstack.h obj_padstack_shape.h polygon.h \ - vtpadstack_t.h error.h buffer.h layer.h layer_grp.h plugins.h \ + rtree.h ht_subc.h vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h \ + error.h buffer.h layer.h layer_grp.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 compat_misc.h \ @@ -452,13 +450,13 @@ obj_line_list.h obj_line.h obj_pad_list.h obj_pad.h obj_pinvia_list.h \ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h obj_poly.h \ polyarea.h obj_poly_list.h box.h math_helper.h move.h misc_util.h \ - ht_element.h ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h \ + ht_element.h ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h \ obj_text_list.h obj_rat_list.h obj_rat.h layer_grp.h library.h \ rats_patch.h board.h data.h crosshair.h vtonpoint.h hid.h error.h drc.h \ route.h buffer.h obj_subc_list.h obj_subc.h \ ../src_3rd/libminuid/libminuid.h rtree.h ht_subc.h vtpadstack.h \ - obj_padstack_shape.h polygon.h vtpadstack_t.h error.h pcb-printf.h \ - plugins.h ../src_3rd/puplug/puplug.h ../src_3rd/puplug/libs.h \ + obj_pstk_shape.h polygon.h vtpadstack_t.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 compat_misc.h \ safe_fs.h hid.h hid_nogui.h hid_attrib.h hid_helper.h hid_init.h @@ -474,13 +472,13 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h move.h misc_util.h ht_element.h ../src_3rd/genht/ht.h \ - obj_padstack_list.h obj_padstack.h obj_text_list.h obj_rat_list.h \ - obj_rat.h layer_grp.h library.h rats_patch.h board.h data.h crosshair.h \ + obj_pstk_list.h obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h \ + layer_grp.h library.h rats_patch.h board.h data.h crosshair.h \ vtonpoint.h hid.h error.h drc.h route.h buffer.h obj_subc_list.h \ obj_subc.h ../src_3rd/libminuid/libminuid.h ../src_3rd/genht/htsp.h \ - rtree.h ht_subc.h vtpadstack.h obj_padstack_shape.h polygon.h \ - vtpadstack_t.h error.h rats.h netlist.h route_style.h buffer.h change.h \ - draw.h undo.h ../src_3rd/libuundo/uundo.h undo_old.h pcb-printf.h \ + rtree.h ht_subc.h vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h \ + error.h rats.h netlist.h route_style.h buffer.h change.h draw.h undo.h \ + ../src_3rd/libuundo/uundo.h undo_old.h pcb-printf.h \ ../src_3rd/genvector/gds_char.h polygon.h compat_misc.h layer.h \ safe_fs.h conf.h pcb-printf.h ../src_3rd/liblihata/lihata.h \ ../src_3rd/liblihata/dom.h ../src_3rd/liblihata/lihata.h \ @@ -507,12 +505,12 @@ obj_pad.h obj_pinvia_list.h obj_pinvia.h obj_text.h font.h \ ../src_3rd/genht/htip.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h move.h misc_util.h ht_element.h ../src_3rd/genht/ht.h \ - obj_padstack_list.h obj_padstack.h obj_text_list.h obj_rat_list.h \ - obj_rat.h layer_grp.h library.h rats_patch.h board.h data.h crosshair.h \ + obj_pstk_list.h obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h \ + layer_grp.h library.h rats_patch.h board.h data.h crosshair.h \ vtonpoint.h hid.h error.h drc.h route.h buffer.h obj_subc_list.h \ obj_subc.h ../src_3rd/libminuid/libminuid.h rtree.h ht_subc.h \ - vtpadstack.h obj_padstack_shape.h polygon.h vtpadstack_t.h error.h \ - layer.h plugins.h ../src_3rd/puplug/puplug.h ../src_3rd/puplug/libs.h \ + vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h error.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 pcb-printf.h \ compat_misc.h ../src_plugins/export_dxf/lht_template.h safe_fs.h hid.h \ @@ -543,11 +541,11 @@ obj_pad.h obj_pinvia_list.h obj_pinvia.h obj_text.h font.h \ ../src_3rd/genht/htip.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h move.h misc_util.h ht_element.h ../src_3rd/genht/ht.h \ - obj_padstack_list.h obj_padstack.h obj_text_list.h obj_rat_list.h \ - obj_rat.h layer_grp.h library.h rats_patch.h board.h data.h crosshair.h \ + obj_pstk_list.h obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h \ + layer_grp.h library.h rats_patch.h board.h data.h crosshair.h \ vtonpoint.h hid.h error.h drc.h route.h buffer.h obj_subc_list.h \ obj_subc.h ../src_3rd/libminuid/libminuid.h rtree.h ht_subc.h \ - vtpadstack.h obj_padstack_shape.h polygon.h vtpadstack_t.h plugins.h \ + vtpadstack.h obj_pstk_shape.h polygon.h 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 pcb-printf.h \ @@ -583,14 +581,14 @@ obj_line_list.h obj_line.h obj_pad_list.h obj_pad.h obj_pinvia_list.h \ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h obj_poly.h \ polyarea.h obj_poly_list.h box.h math_helper.h move.h misc_util.h \ - ht_element.h ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h \ + ht_element.h ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h \ obj_text_list.h obj_rat_list.h obj_rat.h layer_grp.h library.h \ rats_patch.h board.h error.h data.h crosshair.h vtonpoint.h hid.h \ error.h drc.h route.h buffer.h obj_subc_list.h obj_subc.h \ ../src_3rd/libminuid/libminuid.h rtree.h ht_subc.h vtpadstack.h \ - obj_padstack_shape.h polygon.h vtpadstack_t.h rats.h netlist.h \ - route_style.h hid_helper.h layer.h compat_misc.h safe_fs.h hid.h \ - hid_nogui.h hid_draw_helpers.h ../src_plugins/export_gcode/gcode.h \ + obj_pstk_shape.h polygon.h vtpadstack_t.h rats.h netlist.h route_style.h \ + hid_helper.h layer.h compat_misc.h safe_fs.h hid.h hid_nogui.h \ + hid_draw_helpers.h ../src_plugins/export_gcode/gcode.h \ ../src_plugins/export_gcode/bitmap.h \ ../src_plugins/export_gcode/potracelib.h \ ../src_plugins/export_gcode/curve.h \ @@ -617,18 +615,17 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h move.h misc_util.h ht_element.h ../src_3rd/genht/ht.h \ - obj_padstack_list.h obj_padstack.h obj_text_list.h obj_rat_list.h \ - obj_rat.h layer_grp.h library.h rats_patch.h board.h build_run.h data.h \ + obj_pstk_list.h obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h \ + layer_grp.h library.h rats_patch.h board.h build_run.h data.h \ crosshair.h vtonpoint.h hid.h error.h drc.h route.h buffer.h \ obj_subc_list.h obj_subc.h ../src_3rd/libminuid/libminuid.h \ - ../src_3rd/genht/htsp.h rtree.h ht_subc.h vtpadstack.h \ - obj_padstack_shape.h polygon.h vtpadstack_t.h error.h draw.h layer.h \ - pcb-printf.h ../src_3rd/genvector/gds_char.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_helper.h \ - compat_misc.h safe_fs.h conf.h pcb-printf.h \ - ../src_3rd/liblihata/lihata.h ../src_3rd/liblihata/dom.h \ + ../src_3rd/genht/htsp.h rtree.h ht_subc.h vtpadstack.h obj_pstk_shape.h \ + polygon.h vtpadstack_t.h error.h draw.h layer.h pcb-printf.h \ + ../src_3rd/genvector/gds_char.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_helper.h compat_misc.h safe_fs.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 hid.h hid_nogui.h \ hid_draw_helpers.h hid_init.h hid_attrib.h hid_flags.h conf_core.h @@ -645,21 +642,20 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h move.h misc_util.h ht_element.h ../src_3rd/genht/ht.h \ - obj_padstack_list.h obj_padstack.h obj_text_list.h obj_rat_list.h \ - obj_rat.h layer_grp.h library.h rats_patch.h board.h data.h crosshair.h \ + obj_pstk_list.h obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h \ + layer_grp.h library.h rats_patch.h board.h data.h crosshair.h \ vtonpoint.h hid.h error.h drc.h route.h buffer.h obj_subc_list.h \ obj_subc.h ../src_3rd/libminuid/libminuid.h ../src_3rd/genht/htsp.h \ - rtree.h ht_subc.h vtpadstack.h obj_padstack_shape.h polygon.h \ - vtpadstack_t.h rats.h netlist.h route_style.h error.h find.h \ - pcb-printf.h ../src_3rd/genvector/gds_char.h netlist.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 \ - obj_pinvia.h compat_misc.h safe_fs.h hid.h hid_nogui.h hid_helper.h \ - hid_attrib.h hid_init.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 ht_subc.h vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h \ + rats.h netlist.h route_style.h error.h find.h pcb-printf.h \ + ../src_3rd/genvector/gds_char.h netlist.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 obj_pinvia.h compat_misc.h \ + safe_fs.h hid.h hid_nogui.h hid_helper.h hid_attrib.h hid_init.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/export_lpr/lpr.o: ../src_plugins/export_lpr/lpr.c \ ../config.h data.h globalconst.h global_typedefs.h pcb_bool.h unit.h \ layer.h attrib.h obj_all_list.h obj_arc_list.h obj_common.h \ @@ -670,13 +666,13 @@ obj_pad.h obj_pinvia_list.h obj_pinvia.h obj_text.h font.h \ ../src_3rd/genht/htip.h ../src_3rd/genht/ht.h obj_poly.h polyarea.h \ obj_poly_list.h box.h math_helper.h macro.h move.h misc_util.h \ - ht_element.h ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h \ + ht_element.h ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h \ obj_text_list.h obj_rat_list.h obj_rat.h crosshair.h vtonpoint.h \ ../src_3rd/genvector/genvector_impl.h \ ../src_3rd/genvector/genvector_undef.h hid.h error.h drc.h layer_grp.h \ route.h const.h buffer.h obj_subc_list.h obj_subc.h \ ../src_3rd/libminuid/libminuid.h ../src_3rd/genht/htsp.h rtree.h \ - ht_subc.h vtpadstack.h obj_padstack_shape.h polygon.h vtpadstack_t.h \ + ht_subc.h vtpadstack.h obj_pstk_shape.h polygon.h 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 compat_misc.h \ @@ -698,21 +694,21 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h move.h misc_util.h ht_element.h ../src_3rd/genht/ht.h \ - obj_padstack_list.h obj_padstack.h obj_text_list.h obj_rat_list.h \ - obj_rat.h layer_grp.h library.h rats_patch.h board.h error.h data.h \ - crosshair.h vtonpoint.h hid.h error.h drc.h route.h buffer.h \ - obj_subc_list.h obj_subc.h ../src_3rd/libminuid/libminuid.h \ - ../src_3rd/genht/htsp.h rtree.h ht_subc.h vtpadstack.h \ - obj_padstack_shape.h polygon.h vtpadstack_t.h layer.h rats.h netlist.h \ - route_style.h plugins.h ../src_3rd/puplug/puplug.h \ - ../src_3rd/puplug/libs.h ../src_3rd/puplug/os_dep.h \ - ../src_3rd/puplug/config.h ../src_3rd/puplug/libs.h \ - ../src_3rd/puplug/error.h hid_helper.h safe_fs.h conf.h pcb-printf.h \ - ../src_3rd/genvector/gds_char.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 \ - hid.h hid_nogui.h hid_draw_helpers.h hid_init.h hid_attrib.h hid_flags.h \ - hid_color.h dolists.h + obj_pstk_list.h obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h \ + layer_grp.h library.h rats_patch.h board.h error.h data.h crosshair.h \ + vtonpoint.h hid.h error.h drc.h route.h buffer.h obj_subc_list.h \ + obj_subc.h ../src_3rd/libminuid/libminuid.h ../src_3rd/genht/htsp.h \ + rtree.h ht_subc.h vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h \ + layer.h rats.h netlist.h route_style.h plugins.h \ + ../src_3rd/puplug/puplug.h ../src_3rd/puplug/libs.h \ + ../src_3rd/puplug/os_dep.h ../src_3rd/puplug/config.h \ + ../src_3rd/puplug/libs.h ../src_3rd/puplug/error.h hid_helper.h \ + safe_fs.h conf.h pcb-printf.h ../src_3rd/genvector/gds_char.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 hid.h hid_nogui.h \ + hid_draw_helpers.h hid_init.h hid_attrib.h hid_flags.h hid_color.h \ + dolists.h ../src_plugins/export_openscad/export_openscad.o: \ ../src_plugins/export_openscad/export_openscad.c ../config.h conf_core.h \ conf.h global_typedefs.h pcb_bool.h unit.h pcb-printf.h \ @@ -730,12 +726,12 @@ obj_pad.h obj_pinvia_list.h obj_pinvia.h obj_text.h font.h \ ../src_3rd/genht/htip.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h move.h misc_util.h ht_element.h ../src_3rd/genht/ht.h \ - obj_padstack_list.h obj_padstack.h obj_text_list.h obj_rat_list.h \ - obj_rat.h layer_grp.h library.h rats_patch.h board.h data.h crosshair.h \ + obj_pstk_list.h obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h \ + layer_grp.h library.h rats_patch.h board.h data.h crosshair.h \ vtonpoint.h hid.h error.h drc.h route.h buffer.h obj_subc_list.h \ obj_subc.h ../src_3rd/libminuid/libminuid.h rtree.h ht_subc.h \ - vtpadstack.h obj_padstack_shape.h polygon.h vtpadstack_t.h error.h \ - layer.h math_helper.h misc_util.h plugins.h ../src_3rd/puplug/puplug.h \ + vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h error.h layer.h \ + math_helper.h misc_util.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 safe_fs.h hid.h hid_nogui.h hid_draw_helpers.h \ @@ -759,13 +755,13 @@ obj_line_list.h obj_line.h obj_pad_list.h obj_pad.h obj_pinvia_list.h \ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h obj_poly.h \ polyarea.h obj_poly_list.h box.h math_helper.h move.h misc_util.h \ - ht_element.h ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h \ + ht_element.h ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h \ obj_text_list.h obj_rat_list.h obj_rat.h layer_grp.h library.h \ rats_patch.h board.h data.h crosshair.h vtonpoint.h hid.h error.h drc.h \ route.h buffer.h obj_subc_list.h obj_subc.h \ ../src_3rd/libminuid/libminuid.h rtree.h ht_subc.h vtpadstack.h \ - obj_padstack_shape.h polygon.h vtpadstack_t.h error.h layer.h \ - misc_util.h compat_misc.h plugins.h ../src_3rd/puplug/puplug.h \ + obj_pstk_shape.h polygon.h vtpadstack_t.h error.h layer.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 safe_fs.h hid.h hid_nogui.h hid_draw_helpers.h \ @@ -788,11 +784,11 @@ obj_pad.h obj_pinvia_list.h obj_pinvia.h obj_text.h font.h \ ../src_3rd/genht/htip.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h move.h misc_util.h ht_element.h ../src_3rd/genht/ht.h \ - obj_padstack_list.h obj_padstack.h obj_text_list.h obj_rat_list.h \ - obj_rat.h layer_grp.h library.h rats_patch.h board.h data.h crosshair.h \ + obj_pstk_list.h obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h \ + layer_grp.h library.h rats_patch.h board.h data.h crosshair.h \ vtonpoint.h hid.h error.h drc.h route.h buffer.h obj_subc_list.h \ obj_subc.h ../src_3rd/libminuid/libminuid.h rtree.h ht_subc.h \ - vtpadstack.h obj_padstack_shape.h polygon.h vtpadstack_t.h layer.h \ + vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h layer.h \ pcb-printf.h safe_fs.h hid.h hid_nogui.h hid_draw_helpers.h \ ../src_plugins/export_ps/ps.h hid_init.h hid_attrib.h hid_helper.h \ hid_flags.h hid_color.h @@ -808,22 +804,21 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h move.h misc_util.h ht_element.h ../src_3rd/genht/ht.h \ - obj_padstack_list.h obj_padstack.h obj_text_list.h obj_rat_list.h \ - obj_rat.h layer_grp.h library.h rats_patch.h board.h data.h crosshair.h \ + obj_pstk_list.h obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h \ + layer_grp.h library.h rats_patch.h board.h data.h crosshair.h \ vtonpoint.h hid.h error.h drc.h route.h buffer.h obj_subc_list.h \ obj_subc.h ../src_3rd/libminuid/libminuid.h ../src_3rd/genht/htsp.h \ - rtree.h ht_subc.h vtpadstack.h obj_padstack_shape.h polygon.h \ - vtpadstack_t.h layer.h error.h draw.h pcb-printf.h \ - ../src_3rd/genvector/gds_char.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_helper.h safe_fs.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 hid.h hid_nogui.h \ - hid_draw_helpers.h ../src_plugins/export_ps/ps.h hid_init.h hid_attrib.h \ - hid_flags.h hid_actions.h conf_core.h compat_misc.h compat_nls.h \ - stub_draw.h dolists.h + rtree.h ht_subc.h vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h \ + layer.h error.h draw.h pcb-printf.h ../src_3rd/genvector/gds_char.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_helper.h \ + safe_fs.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 \ + hid.h hid_nogui.h hid_draw_helpers.h ../src_plugins/export_ps/ps.h \ + hid_init.h hid_attrib.h hid_flags.h hid_actions.h conf_core.h \ + compat_misc.h compat_nls.h stub_draw.h dolists.h ../src_plugins/export_stat/stat.o: ../src_plugins/export_stat/stat.c \ ../config.h conf_core.h conf.h global_typedefs.h pcb_bool.h unit.h \ pcb-printf.h ../src_3rd/genvector/gds_char.h \ @@ -841,11 +836,11 @@ obj_pad.h obj_pinvia_list.h obj_pinvia.h obj_text.h font.h \ ../src_3rd/genht/htip.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h move.h misc_util.h ht_element.h ../src_3rd/genht/ht.h \ - obj_padstack_list.h obj_padstack.h obj_text_list.h obj_rat_list.h \ - obj_rat.h layer_grp.h library.h rats_patch.h board.h data.h crosshair.h \ + obj_pstk_list.h obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h \ + layer_grp.h library.h rats_patch.h board.h data.h crosshair.h \ vtonpoint.h hid.h error.h drc.h route.h buffer.h obj_subc_list.h \ obj_subc.h ../src_3rd/libminuid/libminuid.h rtree.h ht_subc.h \ - vtpadstack.h obj_padstack_shape.h polygon.h vtpadstack_t.h plugins.h \ + vtpadstack.h obj_pstk_shape.h polygon.h 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 pcb-printf.h \ @@ -868,12 +863,12 @@ obj_pad.h obj_pinvia_list.h obj_pinvia.h obj_text.h font.h \ ../src_3rd/genht/htip.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h move.h misc_util.h ht_element.h ../src_3rd/genht/ht.h \ - obj_padstack_list.h obj_padstack.h obj_text_list.h obj_rat_list.h \ - obj_rat.h layer_grp.h library.h rats_patch.h board.h data.h crosshair.h \ + obj_pstk_list.h obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h \ + layer_grp.h library.h rats_patch.h board.h data.h crosshair.h \ vtonpoint.h hid.h error.h drc.h route.h buffer.h obj_subc_list.h \ obj_subc.h ../src_3rd/libminuid/libminuid.h rtree.h ht_subc.h \ - vtpadstack.h obj_padstack_shape.h polygon.h vtpadstack_t.h error.h \ - layer.h misc_util.h compat_misc.h plugins.h ../src_3rd/puplug/puplug.h \ + vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h error.h layer.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 safe_fs.h hid.h hid_nogui.h hid_draw_helpers.h \ @@ -894,13 +889,13 @@ obj_line_list.h obj_line.h obj_pad_list.h obj_pad.h obj_pinvia_list.h \ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h obj_poly.h \ polyarea.h obj_poly_list.h box.h math_helper.h move.h misc_util.h \ - ht_element.h ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h \ + ht_element.h ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h \ obj_text_list.h obj_rat_list.h obj_rat.h layer_grp.h library.h \ rats_patch.h board.h data.h crosshair.h vtonpoint.h hid.h error.h drc.h \ route.h buffer.h obj_subc_list.h obj_subc.h \ ../src_3rd/libminuid/libminuid.h rtree.h ht_subc.h vtpadstack.h \ - obj_padstack_shape.h polygon.h vtpadstack_t.h error.h pcb-printf.h \ - plugins.h ../src_3rd/puplug/puplug.h ../src_3rd/puplug/libs.h \ + obj_pstk_shape.h polygon.h vtpadstack_t.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 hid.h hid_nogui.h \ hid_attrib.h hid_helper.h hid_init.h @@ -920,11 +915,11 @@ obj_pad.h obj_pinvia_list.h obj_pinvia.h obj_text.h font.h \ ../src_3rd/genht/htip.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h move.h misc_util.h ht_element.h ../src_3rd/genht/ht.h \ - obj_padstack_list.h obj_padstack.h obj_text_list.h obj_rat_list.h \ - obj_rat.h layer_grp.h library.h rats_patch.h board.h data.h crosshair.h \ + obj_pstk_list.h obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h \ + layer_grp.h library.h rats_patch.h board.h data.h crosshair.h \ vtonpoint.h hid.h error.h drc.h route.h buffer.h obj_subc_list.h \ obj_subc.h ../src_3rd/libminuid/libminuid.h rtree.h ht_subc.h \ - vtpadstack.h obj_padstack_shape.h polygon.h vtpadstack_t.h error.h \ + vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.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 \ @@ -947,13 +942,13 @@ obj_line_list.h obj_line.h obj_pad_list.h obj_pad.h obj_pinvia_list.h \ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h obj_poly.h \ polyarea.h obj_poly_list.h box.h math_helper.h move.h misc_util.h \ - ht_element.h ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h \ + ht_element.h ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h \ obj_text_list.h obj_rat_list.h obj_rat.h layer_grp.h library.h \ rats_patch.h board.h data.h crosshair.h vtonpoint.h hid.h error.h drc.h \ route.h buffer.h obj_subc_list.h obj_subc.h \ ../src_3rd/libminuid/libminuid.h rtree.h ht_subc.h vtpadstack.h \ - obj_padstack_shape.h polygon.h vtpadstack_t.h draw.h flag.h layer.h \ - move.h remove.h rtree.h flag_str.h undo.h ../src_3rd/libuundo/uundo.h \ + obj_pstk_shape.h polygon.h vtpadstack_t.h draw.h flag.h layer.h move.h \ + remove.h rtree.h flag_str.h undo.h ../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 \ @@ -975,13 +970,13 @@ obj_pad.h obj_pinvia_list.h obj_pinvia.h obj_text.h font.h \ ../src_3rd/genht/htip.h ../src_3rd/genht/ht.h obj_poly.h polyarea.h \ obj_poly_list.h box.h math_helper.h move.h misc_util.h ht_element.h \ - ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h obj_text_list.h \ + ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h obj_text_list.h \ obj_rat_list.h obj_rat.h layer_grp.h library.h rats_patch.h board.h \ buffer.h data.h crosshair.h vtonpoint.h hid.h error.h drc.h route.h \ buffer.h obj_subc_list.h obj_subc.h ../src_3rd/libminuid/libminuid.h \ - ../src_3rd/genht/htsp.h rtree.h ht_subc.h vtpadstack.h \ - obj_padstack_shape.h polygon.h vtpadstack_t.h error.h obj_elem.h \ - obj_elem_list.h obj_elem_op.h operation.h compat_misc.h pcb-printf.h \ + ../src_3rd/genht/htsp.h rtree.h ht_subc.h vtpadstack.h obj_pstk_shape.h \ + polygon.h vtpadstack_t.h error.h obj_elem.h obj_elem_list.h \ + obj_elem_op.h operation.h compat_misc.h pcb-printf.h \ ../src_3rd/genvector/gds_char.h operation.h plug_io.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 \ @@ -996,22 +991,21 @@ obj_pad.h obj_pinvia_list.h obj_pinvia.h obj_text.h font.h \ ../src_3rd/genht/htip.h ../src_3rd/genht/ht.h obj_poly.h polyarea.h \ obj_poly_list.h box.h math_helper.h macro.h move.h misc_util.h \ - ht_element.h ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h \ + ht_element.h ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h \ obj_text_list.h obj_rat_list.h obj_rat.h crosshair.h vtonpoint.h \ ../src_3rd/genvector/genvector_impl.h \ ../src_3rd/genvector/genvector_undef.h hid.h error.h drc.h layer_grp.h \ route.h const.h buffer.h obj_subc_list.h obj_subc.h \ ../src_3rd/libminuid/libminuid.h ../src_3rd/genht/htsp.h rtree.h \ - ht_subc.h vtpadstack.h obj_padstack_shape.h polygon.h vtpadstack_t.h \ - paths.h ../src_3rd/genvector/gds_char.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_footprint.h \ - vtlibrary.h compat_fs.h compat_misc.h error.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 conf.h conf_core.h compat_nls.h \ - macro.h safe_fs.h compat_inc.h + ht_subc.h vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h paths.h \ + ../src_3rd/genvector/gds_char.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_footprint.h vtlibrary.h compat_fs.h \ + compat_misc.h error.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 \ + conf.h conf_core.h compat_nls.h macro.h safe_fs.h compat_inc.h ../src_plugins/fp_wget/edakrill.o: ../src_plugins/fp_wget/edakrill.c \ ../src_3rd/genvector/gds_char.h ../src_3rd/genvector/genvector_impl.h \ ../src_3rd/genvector/genvector_undef.h ../src_3rd/genht/htsp.h \ @@ -1083,13 +1077,13 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h move.h misc_util.h ht_element.h ../src_3rd/genht/ht.h \ - obj_padstack_list.h obj_padstack.h obj_text_list.h obj_rat_list.h \ - obj_rat.h layer_grp.h library.h rats_patch.h board.h hid.h error.h drc.h \ - data.h crosshair.h vtonpoint.h hid.h route.h buffer.h obj_subc_list.h \ + obj_pstk_list.h obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h \ + layer_grp.h library.h rats_patch.h board.h hid.h error.h drc.h data.h \ + crosshair.h vtonpoint.h hid.h route.h buffer.h obj_subc_list.h \ obj_subc.h ../src_3rd/libminuid/libminuid.h ../src_3rd/genht/htsp.h \ - rtree.h ht_subc.h vtpadstack.h obj_padstack_shape.h polygon.h \ - vtpadstack_t.h layer.h pcb-printf.h ../src_3rd/genvector/gds_char.h \ - plugins.h ../src_3rd/puplug/puplug.h ../src_3rd/puplug/libs.h \ + rtree.h ht_subc.h vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h \ + layer.h pcb-printf.h ../src_3rd/genvector/gds_char.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 compat_misc.h event.h \ hid_draw_helpers.h hid_nogui.h hid_actions.h hid_init.h dolists.h @@ -1109,14 +1103,13 @@ obj_line_list.h obj_line.h obj_pad_list.h obj_pad.h obj_pinvia_list.h \ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h obj_poly.h \ polyarea.h obj_poly_list.h box.h math_helper.h macro.h move.h \ - misc_util.h ht_element.h ../src_3rd/genht/ht.h obj_padstack_list.h \ - obj_padstack.h obj_text_list.h obj_rat_list.h obj_rat.h layer_grp.h \ - route.h const.h clip.h data.h crosshair.h buffer.h obj_subc_list.h \ - obj_subc.h ../src_3rd/libminuid/libminuid.h rtree.h ht_subc.h \ - vtpadstack.h obj_padstack_shape.h polygon.h vtpadstack_t.h layer.h \ - hid_draw_helpers.h hid_attrib.h hid_helper.h hid_color.h \ - ../src_plugins/lib_gtk_hid/gui.h hid.h \ - ../src_plugins/lib_gtk_common/ui_zoompan.h unit.h pcb_bool.h \ + misc_util.h ht_element.h ../src_3rd/genht/ht.h obj_pstk_list.h \ + obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h layer_grp.h route.h \ + const.h clip.h data.h crosshair.h buffer.h obj_subc_list.h obj_subc.h \ + ../src_3rd/libminuid/libminuid.h rtree.h ht_subc.h vtpadstack.h \ + obj_pstk_shape.h polygon.h vtpadstack_t.h layer.h hid_draw_helpers.h \ + hid_attrib.h hid_helper.h hid_color.h ../src_plugins/lib_gtk_hid/gui.h \ + hid.h ../src_plugins/lib_gtk_common/ui_zoompan.h unit.h pcb_bool.h \ ../src_plugins/lib_gtk_common/in_mouse.h hid_cfg_input.h hid_cfg.h \ ../src_plugins/lib_gtk_common/glue.h conf.h \ ../src_plugins/lib_gtk_common/compat.h \ @@ -1154,7 +1147,7 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h macro.h move.h misc_util.h ht_element.h \ - ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h obj_text_list.h \ + ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h obj_text_list.h \ obj_rat_list.h obj_rat.h layer_grp.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 \ @@ -1204,12 +1197,12 @@ obj_pad.h obj_pinvia_list.h obj_pinvia.h obj_text.h font.h \ ../src_3rd/genht/htip.h ../src_3rd/genht/ht.h obj_poly.h polyarea.h \ obj_poly_list.h box.h math_helper.h macro.h move.h misc_util.h \ - ht_element.h ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h \ + ht_element.h ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h \ obj_text_list.h obj_rat_list.h obj_rat.h layer_grp.h route.h const.h \ clip.h data.h crosshair.h buffer.h obj_subc_list.h obj_subc.h \ ../src_3rd/libminuid/libminuid.h ../src_3rd/genht/htsp.h rtree.h \ - ht_subc.h vtpadstack.h obj_padstack_shape.h polygon.h vtpadstack_t.h \ - layer.h hid_draw_helpers.h hid_attrib.h hid_helper.h hid_color.h \ + ht_subc.h vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h layer.h \ + hid_draw_helpers.h hid_attrib.h hid_helper.h hid_color.h \ ../src_plugins/lib_gtk_config/hid_gtk_conf.h conf.h pcb-printf.h \ ../src_3rd/genvector/gds_char.h ../src_3rd/liblihata/lihata.h \ ../src_3rd/liblihata/dom.h ../src_3rd/liblihata/lihata.h \ @@ -1255,7 +1248,7 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h macro.h move.h misc_util.h ht_element.h \ - ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h obj_text_list.h \ + ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h obj_text_list.h \ obj_rat_list.h obj_rat.h layer_grp.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 \ @@ -1305,16 +1298,15 @@ obj_line_list.h obj_line.h obj_pad_list.h obj_pad.h obj_pinvia_list.h \ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h obj_poly.h \ polyarea.h obj_poly_list.h box.h math_helper.h macro.h move.h \ - misc_util.h ht_element.h ../src_3rd/genht/ht.h obj_padstack_list.h \ - obj_padstack.h obj_text_list.h obj_rat_list.h obj_rat.h layer_grp.h \ - route.h const.h clip.h data.h crosshair.h buffer.h obj_subc_list.h \ - obj_subc.h ../src_3rd/libminuid/libminuid.h rtree.h ht_subc.h \ - vtpadstack.h obj_padstack_shape.h polygon.h vtpadstack_t.h layer.h \ - board.h vtroutestyle.h library.h rats_patch.h board.h hid_draw_helpers.h \ - hid_attrib.h hid_helper.h hid_color.h \ - ../src_plugins/lib_gtk_config/hid_gtk_conf.h conf.h \ - ../src_plugins/lib_gtk_config/lib_gtk_config.h hid.h event.h conf_hid.h \ - ../src_plugins/lib_gtk_common/glue.h \ + misc_util.h ht_element.h ../src_3rd/genht/ht.h obj_pstk_list.h \ + obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h layer_grp.h route.h \ + const.h clip.h data.h crosshair.h buffer.h obj_subc_list.h obj_subc.h \ + ../src_3rd/libminuid/libminuid.h rtree.h ht_subc.h vtpadstack.h \ + obj_pstk_shape.h polygon.h vtpadstack_t.h layer.h board.h vtroutestyle.h \ + library.h rats_patch.h board.h hid_draw_helpers.h hid_attrib.h \ + hid_helper.h hid_color.h ../src_plugins/lib_gtk_config/hid_gtk_conf.h \ + conf.h ../src_plugins/lib_gtk_config/lib_gtk_config.h hid.h event.h \ + conf_hid.h ../src_plugins/lib_gtk_common/glue.h \ ../src_plugins/lib_gtk_common/compat.h \ ../src_plugins/hid_gtk2_gl/opengl.h action_helper.h error.h \ ../src_plugins/hid_gtk2_gl/hidgl.h ../src_plugins/hid_gtk2_gl/draw_gl.h \ @@ -1339,14 +1331,13 @@ obj_line_list.h obj_line.h obj_pad_list.h obj_pad.h obj_pinvia_list.h \ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h obj_poly.h \ polyarea.h obj_poly_list.h box.h math_helper.h macro.h move.h \ - misc_util.h ht_element.h ../src_3rd/genht/ht.h obj_padstack_list.h \ - obj_padstack.h obj_text_list.h obj_rat_list.h obj_rat.h layer_grp.h \ - route.h const.h clip.h data.h crosshair.h buffer.h obj_subc_list.h \ - obj_subc.h ../src_3rd/libminuid/libminuid.h rtree.h ht_subc.h \ - vtpadstack.h obj_padstack_shape.h polygon.h vtpadstack_t.h layer.h \ - hid_draw_helpers.h hid_attrib.h hid_helper.h hid_color.h \ - ../src_plugins/lib_gtk_hid/gui.h hid.h \ - ../src_plugins/lib_gtk_common/ui_zoompan.h unit.h pcb_bool.h \ + misc_util.h ht_element.h ../src_3rd/genht/ht.h obj_pstk_list.h \ + obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h layer_grp.h route.h \ + const.h clip.h data.h crosshair.h buffer.h obj_subc_list.h obj_subc.h \ + ../src_3rd/libminuid/libminuid.h rtree.h ht_subc.h vtpadstack.h \ + obj_pstk_shape.h polygon.h vtpadstack_t.h layer.h hid_draw_helpers.h \ + hid_attrib.h hid_helper.h hid_color.h ../src_plugins/lib_gtk_hid/gui.h \ + hid.h ../src_plugins/lib_gtk_common/ui_zoompan.h unit.h pcb_bool.h \ ../src_plugins/lib_gtk_common/in_mouse.h hid_cfg_input.h hid_cfg.h \ ../src_plugins/lib_gtk_common/glue.h conf.h \ ../src_plugins/lib_gtk_common/compat.h \ @@ -1384,7 +1375,7 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h macro.h move.h misc_util.h ht_element.h \ - ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h obj_text_list.h \ + ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h obj_text_list.h \ obj_rat_list.h obj_rat.h layer_grp.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 \ @@ -1434,11 +1425,11 @@ obj_line.h obj_pad_list.h obj_pad.h obj_pinvia_list.h obj_pinvia.h \ obj_text.h font.h ../src_3rd/genht/htip.h obj_poly.h polyarea.h \ obj_poly_list.h box.h math_helper.h macro.h move.h misc_util.h \ - ht_element.h ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h \ + ht_element.h ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h \ obj_text_list.h obj_rat_list.h obj_rat.h crosshair.h vtonpoint.h hid.h \ error.h drc.h layer_grp.h route.h const.h buffer.h obj_subc_list.h \ obj_subc.h ../src_3rd/libminuid/libminuid.h rtree.h ht_subc.h \ - vtpadstack.h obj_padstack_shape.h polygon.h vtpadstack_t.h build_run.h \ + vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.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 \ compat_nls.h board.h vtroutestyle.h library.h rats_patch.h board.h \ @@ -1462,11 +1453,11 @@ obj_line.h obj_pad_list.h obj_pad.h obj_pinvia_list.h obj_pinvia.h \ obj_text.h font.h ../src_3rd/genht/htip.h obj_poly.h polyarea.h \ obj_poly_list.h box.h math_helper.h macro.h move.h misc_util.h \ - ht_element.h ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h \ + ht_element.h ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h \ obj_text_list.h obj_rat_list.h obj_rat.h crosshair.h vtonpoint.h hid.h \ error.h drc.h layer_grp.h route.h const.h buffer.h obj_subc_list.h \ obj_subc.h ../src_3rd/libminuid/libminuid.h rtree.h ht_subc.h \ - vtpadstack.h obj_padstack_shape.h polygon.h vtpadstack_t.h buffer.h \ + vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h buffer.h \ plug_footprint.h vtlibrary.h hid.h ../src_plugins/hid_lesstif/lesstif.h \ hid_cfg_input.h hid_cfg.h compat_nls.h board.h vtroutestyle.h library.h \ rats_patch.h board.h ../src_plugins/hid_lesstif/stdarg.h event.h @@ -1486,12 +1477,12 @@ obj_pad.h obj_pinvia_list.h obj_pinvia.h obj_text.h font.h \ ../src_3rd/genht/htip.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h macro.h move.h misc_util.h ht_element.h \ - ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h obj_text_list.h \ + ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h obj_text_list.h \ obj_rat_list.h obj_rat.h crosshair.h vtonpoint.h hid.h error.h drc.h \ layer_grp.h route.h const.h buffer.h obj_subc_list.h obj_subc.h \ ../src_3rd/libminuid/libminuid.h rtree.h ht_subc.h vtpadstack.h \ - obj_padstack_shape.h polygon.h vtpadstack_t.h action_helper.h \ - crosshair.h layer.h pcb-printf.h clip.h event.h error.h plugins.h \ + obj_pstk_shape.h polygon.h vtpadstack_t.h action_helper.h crosshair.h \ + layer.h pcb-printf.h clip.h event.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 \ ../src_3rd/puplug/libs.h ../src_3rd/puplug/error.h safe_fs.h hid.h \ @@ -1518,12 +1509,12 @@ obj_pad.h obj_pinvia_list.h obj_pinvia.h obj_text.h font.h \ ../src_3rd/genht/htip.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h macro.h move.h misc_util.h ht_element.h \ - ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h obj_text_list.h \ + ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h obj_text_list.h \ obj_rat_list.h obj_rat.h crosshair.h vtonpoint.h hid.h error.h drc.h \ layer_grp.h route.h const.h buffer.h obj_subc_list.h obj_subc.h \ ../src_3rd/libminuid/libminuid.h rtree.h ht_subc.h vtpadstack.h \ - obj_padstack_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 \ + 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 \ ../src_plugins/hid_lesstif/lesstif.h compat_nls.h board.h vtroutestyle.h \ library.h rats_patch.h board.h paths.h hid_actions.h hid_flags.h \ ../src_plugins/hid_lesstif/stdarg.h event.h compat_misc.h layer_vis.h @@ -1541,14 +1532,14 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h macro.h move.h misc_util.h ht_element.h \ - ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h obj_text_list.h \ + ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h obj_text_list.h \ obj_rat_list.h obj_rat.h crosshair.h vtonpoint.h \ ../src_3rd/genvector/genvector_impl.h \ ../src_3rd/genvector/genvector_undef.h hid.h error.h drc.h layer_grp.h \ route.h const.h buffer.h obj_subc_list.h obj_subc.h \ ../src_3rd/libminuid/libminuid.h ../src_3rd/genht/htsp.h rtree.h \ - ht_subc.h vtpadstack.h obj_padstack_shape.h polygon.h vtpadstack_t.h \ - find.h rats.h netlist.h library.h route_style.h vtroutestyle.h select.h \ + ht_subc.h vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h find.h \ + rats.h netlist.h library.h route_style.h vtroutestyle.h select.h \ operation.h undo.h ../src_3rd/libuundo/uundo.h undo_old.h remove.h \ crosshair.h draw.h obj_all.h event.h hid.h hid_actions.h \ ../src_plugins/hid_lesstif/lesstif.h hid_cfg_input.h \ @@ -1574,11 +1565,11 @@ obj_line.h obj_pad_list.h obj_pad.h obj_pinvia_list.h obj_pinvia.h \ obj_text.h font.h ../src_3rd/genht/htip.h obj_poly.h polyarea.h \ obj_poly_list.h box.h math_helper.h macro.h move.h misc_util.h \ - ht_element.h ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h \ + ht_element.h ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h \ obj_text_list.h obj_rat_list.h obj_rat.h crosshair.h vtonpoint.h hid.h \ error.h drc.h layer_grp.h route.h const.h buffer.h obj_subc_list.h \ obj_subc.h ../src_3rd/libminuid/libminuid.h rtree.h ht_subc.h \ - vtpadstack.h obj_padstack_shape.h polygon.h vtpadstack_t.h pcb-printf.h \ + vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h pcb-printf.h \ hid.h ../src_plugins/hid_lesstif/lesstif.h hid_cfg_input.h hid_cfg.h \ compat_nls.h board.h vtroutestyle.h library.h rats_patch.h board.h \ hid_flags.h ../src_plugins/hid_lesstif/stdarg.h misc_util.h event.h @@ -1600,7 +1591,7 @@ obj_pad.h obj_pinvia_list.h obj_pinvia.h obj_text.h font.h \ ../src_3rd/genht/htip.h ../src_3rd/genht/ht.h obj_poly.h polyarea.h \ obj_poly_list.h box.h math_helper.h macro.h move.h misc_util.h \ - ht_element.h ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h \ + ht_element.h ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h \ obj_text_list.h obj_rat_list.h obj_rat.h layer_grp.h layer.h ../src_plugins/hid_remote/remote.o: ../src_plugins/hid_remote/remote.c \ ../config.h board.h const.h macro.h global_typedefs.h pcb_bool.h unit.h \ @@ -1614,13 +1605,13 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h move.h misc_util.h ht_element.h ../src_3rd/genht/ht.h \ - obj_padstack_list.h obj_padstack.h obj_text_list.h obj_rat_list.h \ - obj_rat.h layer_grp.h library.h rats_patch.h board.h hid.h error.h drc.h \ - data.h crosshair.h vtonpoint.h hid.h route.h buffer.h obj_subc_list.h \ + obj_pstk_list.h obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h \ + layer_grp.h library.h rats_patch.h board.h hid.h error.h drc.h data.h \ + crosshair.h vtonpoint.h hid.h route.h buffer.h obj_subc_list.h \ obj_subc.h ../src_3rd/libminuid/libminuid.h ../src_3rd/genht/htsp.h \ - rtree.h ht_subc.h vtpadstack.h obj_padstack_shape.h polygon.h \ - vtpadstack_t.h layer.h pcb-printf.h ../src_3rd/genvector/gds_char.h \ - plugins.h ../src_3rd/puplug/puplug.h ../src_3rd/puplug/libs.h \ + rtree.h ht_subc.h vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h \ + layer.h pcb-printf.h ../src_3rd/genvector/gds_char.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 compat_misc.h event.h \ ../src_plugins/hid_remote/proto.h hid_draw_helpers.h hid_nogui.h \ @@ -1650,19 +1641,18 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h move.h misc_util.h ht_element.h ../src_3rd/genht/ht.h \ - obj_padstack_list.h obj_padstack.h obj_text_list.h obj_rat_list.h \ - obj_rat.h layer_grp.h library.h rats_patch.h board.h data.h crosshair.h \ + obj_pstk_list.h obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h \ + layer_grp.h library.h rats_patch.h board.h data.h crosshair.h \ vtonpoint.h hid.h error.h drc.h route.h buffer.h obj_subc_list.h \ obj_subc.h ../src_3rd/libminuid/libminuid.h ../src_3rd/genht/htsp.h \ - rtree.h ht_subc.h vtpadstack.h obj_padstack_shape.h polygon.h \ - vtpadstack_t.h polygon.h safe_fs.h conf.h pcb-printf.h \ - ../src_3rd/genvector/gds_char.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 \ - action_helper.h hid_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 dolists.h + rtree.h ht_subc.h vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h \ + polygon.h safe_fs.h conf.h pcb-printf.h ../src_3rd/genvector/gds_char.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 action_helper.h hid_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 dolists.h ../src_plugins/import_edif/edif.o: ../src_plugins/import_edif/edif.c \ math_helper.h board.h ../config.h const.h macro.h global_typedefs.h \ pcb_bool.h unit.h vtroutestyle.h attrib.h \ @@ -1676,12 +1666,12 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h move.h misc_util.h ht_element.h ../src_3rd/genht/ht.h \ - obj_padstack_list.h obj_padstack.h obj_text_list.h obj_rat_list.h \ - obj_rat.h layer_grp.h library.h rats_patch.h board.h data.h crosshair.h \ + obj_pstk_list.h obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h \ + layer_grp.h library.h rats_patch.h board.h data.h crosshair.h \ vtonpoint.h hid.h error.h drc.h route.h buffer.h obj_subc_list.h \ obj_subc.h ../src_3rd/libminuid/libminuid.h ../src_3rd/genht/htsp.h \ - rtree.h ht_subc.h vtpadstack.h obj_padstack_shape.h polygon.h \ - vtpadstack_t.h library.h error.h plugins.h ../src_3rd/puplug/puplug.h \ + rtree.h ht_subc.h vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h \ + library.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 ../src_3rd/puplug/libs.h \ ../src_3rd/puplug/error.h compat_misc.h compat_nls.h safe_fs.h conf.h \ @@ -1702,19 +1692,19 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h move.h misc_util.h ht_element.h ../src_3rd/genht/ht.h \ - obj_padstack_list.h obj_padstack.h obj_text_list.h obj_rat_list.h \ - obj_rat.h layer_grp.h library.h rats_patch.h board.h data.h crosshair.h \ + obj_pstk_list.h obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h \ + layer_grp.h library.h rats_patch.h board.h data.h crosshair.h \ vtonpoint.h hid.h error.h drc.h route.h buffer.h obj_subc_list.h \ obj_subc.h ../src_3rd/libminuid/libminuid.h ../src_3rd/genht/htsp.h \ - rtree.h ht_subc.h vtpadstack.h obj_padstack_shape.h polygon.h \ - 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 plug_import.h conf.h pcb-printf.h \ - ../src_3rd/genvector/gds_char.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 \ - netlist.h route_style.h rats_patch.h plug_io.h + rtree.h ht_subc.h vtpadstack.h obj_pstk_shape.h polygon.h 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 plug_import.h conf.h \ + pcb-printf.h ../src_3rd/genvector/gds_char.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 netlist.h route_style.h \ + rats_patch.h plug_io.h ../src_plugins/import_hpgl/hpgl.o: ../src_plugins/import_hpgl/hpgl.c \ ../config.h ../src_3rd/libuhpgl/libuhpgl.h ../src_3rd/libuhpgl/parse.h \ ../src_3rd/libuhpgl/libuhpgl.h board.h const.h macro.h global_typedefs.h \ @@ -1729,8 +1719,8 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h move.h misc_util.h ht_element.h ../src_3rd/genht/ht.h \ - obj_padstack_list.h obj_padstack.h obj_text_list.h obj_rat_list.h \ - obj_rat.h layer_grp.h library.h rats_patch.h board.h conf_core.h conf.h \ + obj_pstk_list.h obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h \ + layer_grp.h library.h rats_patch.h board.h conf_core.h conf.h \ pcb-printf.h ../src_3rd/genvector/gds_char.h \ ../src_3rd/liblihata/lihata.h ../src_3rd/liblihata/dom.h \ ../src_3rd/liblihata/lihata.h ../src_3rd/liblihata/parser.h \ @@ -1737,7 +1727,7 @@ ../src_3rd/genht/htsp.h ../src_3rd/genvector/vtp0.h list_conf.h data.h \ crosshair.h vtonpoint.h hid.h error.h drc.h route.h buffer.h \ obj_subc_list.h obj_subc.h ../src_3rd/libminuid/libminuid.h rtree.h \ - ht_subc.h vtpadstack.h obj_padstack_shape.h polygon.h vtpadstack_t.h \ + ht_subc.h vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h \ buffer.h error.h pcb-printf.h compat_misc.h safe_fs.h action_helper.h \ hid_actions.h plugins.h ../src_3rd/puplug/puplug.h \ ../src_3rd/puplug/libs.h ../src_3rd/puplug/os_dep.h \ @@ -1757,19 +1747,19 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h move.h misc_util.h ht_element.h ../src_3rd/genht/ht.h \ - obj_padstack_list.h obj_padstack.h obj_text_list.h obj_rat_list.h \ - obj_rat.h layer_grp.h library.h rats_patch.h board.h data.h crosshair.h \ + obj_pstk_list.h obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h \ + layer_grp.h library.h rats_patch.h board.h data.h crosshair.h \ vtonpoint.h hid.h error.h drc.h route.h buffer.h obj_subc_list.h \ obj_subc.h ../src_3rd/libminuid/libminuid.h ../src_3rd/genht/htsp.h \ - rtree.h ht_subc.h vtpadstack.h obj_padstack_shape.h polygon.h \ - vtpadstack_t.h error.h pcb-printf.h ../src_3rd/genvector/gds_char.h \ - compat_misc.h safe_fs.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 action_helper.h hid_actions.h \ - plugins.h ../src_3rd/puplug/puplug.h ../src_3rd/puplug/libs.h \ - ../src_3rd/puplug/os_dep.h ../src_3rd/puplug/config.h \ - ../src_3rd/puplug/libs.h ../src_3rd/puplug/error.h hid.h dolists.h + rtree.h ht_subc.h vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h \ + error.h pcb-printf.h ../src_3rd/genvector/gds_char.h compat_misc.h \ + safe_fs.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 \ + action_helper.h hid_actions.h plugins.h ../src_3rd/puplug/puplug.h \ + ../src_3rd/puplug/libs.h ../src_3rd/puplug/os_dep.h \ + ../src_3rd/puplug/config.h ../src_3rd/puplug/libs.h \ + ../src_3rd/puplug/error.h hid.h dolists.h ../src_plugins/import_mentor_sch/mentor_sch.o: \ ../src_plugins/import_mentor_sch/mentor_sch.c ../config.h board.h \ const.h macro.h global_typedefs.h pcb_bool.h unit.h vtroutestyle.h \ @@ -1783,18 +1773,17 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h move.h misc_util.h ht_element.h ../src_3rd/genht/ht.h \ - obj_padstack_list.h obj_padstack.h obj_text_list.h obj_rat_list.h \ - obj_rat.h layer_grp.h library.h rats_patch.h board.h data.h crosshair.h \ + obj_pstk_list.h obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h \ + layer_grp.h library.h rats_patch.h board.h data.h crosshair.h \ vtonpoint.h hid.h error.h drc.h route.h buffer.h obj_subc_list.h \ obj_subc.h ../src_3rd/libminuid/libminuid.h ../src_3rd/genht/htsp.h \ - rtree.h ht_subc.h vtpadstack.h obj_padstack_shape.h polygon.h \ - vtpadstack_t.h error.h pcb-printf.h ../src_3rd/genvector/gds_char.h \ - compat_misc.h ../src_3rd/gensexpr/gsxl.h \ - ../src_3rd/gensexpr/gensexpr_impl.h ../src_3rd/gensexpr/gsx_parse.h \ - action_helper.h hid_actions.h plugins.h ../src_3rd/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 \ + rtree.h ht_subc.h vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h \ + error.h pcb-printf.h ../src_3rd/genvector/gds_char.h compat_misc.h \ + ../src_3rd/gensexpr/gsxl.h ../src_3rd/gensexpr/gensexpr_impl.h \ + ../src_3rd/gensexpr/gsx_parse.h action_helper.h hid_actions.h plugins.h \ + ../src_3rd/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_mentor_sch/mentor_sch_conf.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 \ @@ -1820,8 +1809,8 @@ obj_line_list.h obj_line.h obj_pad_list.h obj_pad.h obj_pinvia_list.h \ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h obj_poly.h \ polyarea.h obj_poly_list.h box.h math_helper.h macro.h move.h \ - misc_util.h ht_element.h ../src_3rd/genht/ht.h obj_padstack_list.h \ - obj_padstack.h obj_text_list.h obj_rat_list.h obj_rat.h layer_grp.h \ + misc_util.h ht_element.h ../src_3rd/genht/ht.h obj_pstk_list.h \ + obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h layer_grp.h \ safe_fs.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 @@ -1837,20 +1826,19 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h move.h misc_util.h ht_element.h ../src_3rd/genht/ht.h \ - obj_padstack_list.h obj_padstack.h obj_text_list.h obj_rat_list.h \ - obj_rat.h layer_grp.h library.h rats_patch.h board.h data.h crosshair.h \ + obj_pstk_list.h obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h \ + layer_grp.h library.h rats_patch.h board.h data.h crosshair.h \ vtonpoint.h hid.h error.h drc.h route.h buffer.h obj_subc_list.h \ obj_subc.h ../src_3rd/libminuid/libminuid.h ../src_3rd/genht/htsp.h \ - rtree.h ht_subc.h vtpadstack.h obj_padstack_shape.h polygon.h \ - vtpadstack_t.h error.h pcb-printf.h ../src_3rd/genvector/gds_char.h \ - compat_misc.h safe_fs.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 action_helper.h hid_actions.h \ - plugins.h ../src_3rd/puplug/puplug.h ../src_3rd/puplug/libs.h \ - ../src_3rd/puplug/os_dep.h ../src_3rd/puplug/config.h \ - ../src_3rd/puplug/libs.h ../src_3rd/puplug/error.h layer.h conf_core.h \ - dolists.h + rtree.h ht_subc.h vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h \ + error.h pcb-printf.h ../src_3rd/genvector/gds_char.h compat_misc.h \ + safe_fs.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 \ + action_helper.h hid_actions.h plugins.h ../src_3rd/puplug/puplug.h \ + ../src_3rd/puplug/libs.h ../src_3rd/puplug/os_dep.h \ + ../src_3rd/puplug/config.h ../src_3rd/puplug/libs.h \ + ../src_3rd/puplug/error.h layer.h conf_core.h dolists.h ../src_plugins/import_netlist/import_netlist.o: \ ../src_plugins/import_netlist/import_netlist.c ../config.h board.h \ const.h macro.h global_typedefs.h pcb_bool.h unit.h vtroutestyle.h \ @@ -1864,8 +1852,8 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h move.h misc_util.h ht_element.h ../src_3rd/genht/ht.h \ - obj_padstack_list.h obj_padstack.h obj_text_list.h obj_rat_list.h \ - obj_rat.h layer_grp.h library.h rats_patch.h board.h plugins.h \ + obj_pstk_list.h obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h \ + layer_grp.h library.h rats_patch.h board.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_io.h conf.h \ @@ -1876,7 +1864,7 @@ plug_import.h conf_core.h error.h data.h crosshair.h vtonpoint.h hid.h \ error.h drc.h route.h buffer.h obj_subc_list.h obj_subc.h \ ../src_3rd/libminuid/libminuid.h rtree.h ht_subc.h vtpadstack.h \ - obj_padstack_shape.h polygon.h vtpadstack_t.h rats_patch.h compat_misc.h \ + obj_pstk_shape.h polygon.h vtpadstack_t.h rats_patch.h compat_misc.h \ compat_nls.h paths.h safe_fs.h ../src_plugins/import_sch/import_sch.o: \ ../src_plugins/import_sch/import_sch.c ../config.h conf_core.h conf.h \ @@ -1894,12 +1882,12 @@ obj_line_list.h obj_line.h obj_pad_list.h obj_pad.h obj_pinvia_list.h \ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h obj_poly.h \ polyarea.h obj_poly_list.h box.h math_helper.h move.h misc_util.h \ - ht_element.h ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h \ + ht_element.h ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h \ obj_text_list.h obj_rat_list.h obj_rat.h layer_grp.h library.h \ rats_patch.h board.h data.h crosshair.h vtonpoint.h hid.h error.h drc.h \ route.h buffer.h obj_subc_list.h obj_subc.h \ ../src_3rd/libminuid/libminuid.h rtree.h ht_subc.h vtpadstack.h \ - obj_padstack_shape.h polygon.h vtpadstack_t.h action_helper.h change.h \ + obj_pstk_shape.h polygon.h vtpadstack_t.h action_helper.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 \ @@ -1922,19 +1910,19 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h move.h misc_util.h ht_element.h ../src_3rd/genht/ht.h \ - obj_padstack_list.h obj_padstack.h obj_text_list.h obj_rat_list.h \ - obj_rat.h layer_grp.h library.h rats_patch.h board.h data.h crosshair.h \ + obj_pstk_list.h obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h \ + layer_grp.h library.h rats_patch.h board.h data.h crosshair.h \ vtonpoint.h hid.h error.h drc.h route.h buffer.h obj_subc_list.h \ obj_subc.h ../src_3rd/libminuid/libminuid.h ../src_3rd/genht/htsp.h \ - rtree.h ht_subc.h vtpadstack.h obj_padstack_shape.h polygon.h \ - vtpadstack_t.h error.h pcb-printf.h ../src_3rd/genvector/gds_char.h \ - compat_misc.h safe_fs.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 action_helper.h hid_actions.h \ - plugins.h ../src_3rd/puplug/puplug.h ../src_3rd/puplug/libs.h \ - ../src_3rd/puplug/os_dep.h ../src_3rd/puplug/config.h \ - ../src_3rd/puplug/libs.h ../src_3rd/puplug/error.h hid.h dolists.h + rtree.h ht_subc.h vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h \ + error.h pcb-printf.h ../src_3rd/genvector/gds_char.h compat_misc.h \ + safe_fs.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 \ + action_helper.h hid_actions.h plugins.h ../src_3rd/puplug/puplug.h \ + ../src_3rd/puplug/libs.h ../src_3rd/puplug/os_dep.h \ + ../src_3rd/puplug/config.h ../src_3rd/puplug/libs.h \ + ../src_3rd/puplug/error.h hid.h dolists.h ../src_plugins/io_autotrax/io_autotrax.o: \ ../src_plugins/io_autotrax/io_autotrax.c ../config.h plugins.h \ ../src_3rd/puplug/puplug.h ../src_3rd/puplug/libs.h \ @@ -1954,11 +1942,11 @@ obj_line_list.h obj_line.h obj_pad_list.h obj_pad.h obj_pinvia_list.h \ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h obj_poly.h \ polyarea.h obj_poly_list.h box.h math_helper.h macro.h move.h \ - misc_util.h ht_element.h ../src_3rd/genht/ht.h obj_padstack_list.h \ - obj_padstack.h obj_text_list.h obj_rat_list.h obj_rat.h crosshair.h \ + misc_util.h ht_element.h ../src_3rd/genht/ht.h obj_pstk_list.h \ + obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h crosshair.h \ vtonpoint.h hid.h error.h drc.h layer_grp.h route.h const.h buffer.h \ obj_subc_list.h obj_subc.h ../src_3rd/libminuid/libminuid.h rtree.h \ - ht_subc.h vtpadstack.h obj_padstack_shape.h polygon.h vtpadstack_t.h \ + ht_subc.h vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h \ ../src_plugins/io_autotrax/read.h hid_actions.h board.h vtroutestyle.h \ rats_patch.h board.h netlist.h route_style.h conf_core.h buffer.h hid.h \ action_helper.h compat_misc.h dolists.h @@ -1975,15 +1963,15 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h move.h misc_util.h ht_element.h ../src_3rd/genht/ht.h \ - obj_padstack_list.h obj_padstack.h obj_text_list.h obj_rat_list.h \ - obj_rat.h layer_grp.h library.h rats_patch.h board.h plug_io.h conf.h \ - pcb-printf.h ../src_3rd/genvector/gds_char.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/genvector/vtp0.h list_conf.h error.h \ - data.h crosshair.h vtonpoint.h hid.h error.h drc.h route.h buffer.h \ - obj_subc_list.h obj_subc.h ../src_3rd/libminuid/libminuid.h rtree.h \ - ht_subc.h vtpadstack.h obj_padstack_shape.h polygon.h vtpadstack_t.h \ + obj_pstk_list.h obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h \ + layer_grp.h library.h rats_patch.h board.h plug_io.h conf.h pcb-printf.h \ + ../src_3rd/genvector/gds_char.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/genvector/vtp0.h list_conf.h error.h data.h crosshair.h \ + vtonpoint.h hid.h error.h drc.h route.h buffer.h obj_subc_list.h \ + obj_subc.h ../src_3rd/libminuid/libminuid.h rtree.h ht_subc.h \ + vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h \ ../src_plugins/io_autotrax/read.h layer.h const.h netlist.h \ route_style.h polygon.h misc_util.h conf_core.h move.h macro.h obj_all.h \ safe_fs.h rotate.h ../src_plugins/boardflip/boardflip.h unit.h \ @@ -2001,15 +1989,15 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h move.h misc_util.h ht_element.h ../src_3rd/genht/ht.h \ - obj_padstack_list.h obj_padstack.h obj_text_list.h obj_rat_list.h \ - obj_rat.h layer_grp.h library.h rats_patch.h board.h plug_io.h conf.h \ - pcb-printf.h ../src_3rd/genvector/gds_char.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/genvector/vtp0.h list_conf.h error.h \ - data.h crosshair.h vtonpoint.h hid.h error.h drc.h route.h buffer.h \ - obj_subc_list.h obj_subc.h ../src_3rd/libminuid/libminuid.h rtree.h \ - ht_subc.h vtpadstack.h obj_padstack_shape.h polygon.h vtpadstack_t.h \ + obj_pstk_list.h obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h \ + layer_grp.h library.h rats_patch.h board.h plug_io.h conf.h pcb-printf.h \ + ../src_3rd/genvector/gds_char.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/genvector/vtp0.h list_conf.h error.h data.h crosshair.h \ + vtonpoint.h hid.h error.h drc.h route.h buffer.h obj_subc_list.h \ + obj_subc.h ../src_3rd/libminuid/libminuid.h rtree.h ht_subc.h \ + vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h \ ../src_plugins/io_autotrax/write.h layer.h const.h obj_all.h \ polygon_offs.h ../src_plugins/io_autotrax/../lib_polyhelp/polyhelp.h \ obj_poly.h @@ -2034,7 +2022,7 @@ obj_pad.h obj_pinvia_list.h obj_pinvia.h obj_text.h font.h \ ../src_3rd/genht/htip.h ../src_3rd/genht/ht.h obj_poly.h polyarea.h \ obj_poly_list.h box.h math_helper.h macro.h move.h misc_util.h \ - ht_element.h ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h \ + ht_element.h ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h \ obj_text_list.h obj_rat_list.h obj_rat.h layer_grp.h plug_io.h library.h \ conf.h pcb-printf.h ../src_3rd/genvector/gds_char.h \ ../src_3rd/genvector/genvector_impl.h \ @@ -2055,14 +2043,14 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h macro.h move.h misc_util.h ht_element.h \ - ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h obj_text_list.h \ + ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h obj_text_list.h \ obj_rat_list.h obj_rat.h crosshair.h vtonpoint.h \ ../src_3rd/genvector/genvector_impl.h \ ../src_3rd/genvector/genvector_undef.h hid.h error.h drc.h layer_grp.h \ route.h const.h buffer.h obj_subc_list.h obj_subc.h \ ../src_3rd/libminuid/libminuid.h ../src_3rd/genht/htsp.h rtree.h \ - ht_subc.h vtpadstack.h obj_padstack_shape.h polygon.h vtpadstack_t.h \ - unit.h board.h vtroutestyle.h library.h rats_patch.h board.h \ + ht_subc.h vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h unit.h \ + board.h vtroutestyle.h library.h rats_patch.h board.h \ ../src_plugins/io_eagle/read.h conf.h pcb-printf.h \ ../src_3rd/genvector/gds_char.h ../src_3rd/liblihata/lihata.h \ ../src_3rd/liblihata/dom.h ../src_3rd/liblihata/lihata.h \ @@ -2106,8 +2094,8 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h move.h misc_util.h ht_element.h ../src_3rd/genht/ht.h \ - obj_padstack_list.h obj_padstack.h obj_text_list.h obj_rat_list.h \ - obj_rat.h layer_grp.h library.h rats_patch.h board.h + obj_pstk_list.h obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h \ + layer_grp.h library.h rats_patch.h board.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 const.h \ macro.h global_typedefs.h pcb_bool.h unit.h vtroutestyle.h attrib.h \ @@ -2121,9 +2109,8 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h move.h misc_util.h ht_element.h ../src_3rd/genht/ht.h \ - obj_padstack_list.h obj_padstack.h obj_text_list.h obj_rat_list.h \ - obj_rat.h layer_grp.h library.h rats_patch.h board.h \ - ../src_plugins/io_hyp/hyp_l.h + obj_pstk_list.h obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h \ + layer_grp.h library.h rats_patch.h board.h ../src_plugins/io_hyp/hyp_l.h ../src_plugins/io_hyp/io_hyp.o: ../src_plugins/io_hyp/io_hyp.c \ ../config.h action_helper.h global_typedefs.h pcb_bool.h unit.h \ compat_nls.h hid.h error.h drc.h attrib.h layer.h globalconst.h \ @@ -2135,7 +2122,7 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h macro.h move.h misc_util.h ht_element.h \ - ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h obj_text_list.h \ + ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h obj_text_list.h \ obj_rat_list.h obj_rat.h layer_grp.h hid_draw_helpers.h hid_nogui.h \ hid_actions.h hid.h hid_init.h hid_attrib.h hid_helper.h plugins.h \ ../src_3rd/puplug/puplug.h ../src_3rd/puplug/libs.h \ @@ -2162,16 +2149,16 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h move.h misc_util.h ht_element.h ../src_3rd/genht/ht.h \ - obj_padstack_list.h obj_padstack.h obj_text_list.h obj_rat_list.h \ - obj_rat.h layer_grp.h library.h rats_patch.h board.h \ - ../src_plugins/io_hyp/hyp_l.h ../src_plugins/io_hyp/hyp_y.h error.h \ - pcb-printf.h ../src_3rd/genvector/gds_char.h obj_all.h flag_str.h \ - polygon.h rtree.h layer.h data.h crosshair.h vtonpoint.h hid.h error.h \ - drc.h route.h buffer.h obj_subc_list.h obj_subc.h \ - ../src_3rd/libminuid/libminuid.h ../src_3rd/genht/htsp.h ht_subc.h \ - vtpadstack.h obj_padstack_shape.h polygon.h vtpadstack_t.h search.h \ - rats.h netlist.h route_style.h rotate.h hid_actions.h plug_io.h conf.h \ - pcb-printf.h ../src_3rd/liblihata/lihata.h ../src_3rd/liblihata/dom.h \ + obj_pstk_list.h obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h \ + layer_grp.h library.h rats_patch.h board.h ../src_plugins/io_hyp/hyp_l.h \ + ../src_plugins/io_hyp/hyp_y.h error.h pcb-printf.h \ + ../src_3rd/genvector/gds_char.h obj_all.h flag_str.h polygon.h rtree.h \ + layer.h data.h crosshair.h vtonpoint.h hid.h error.h drc.h route.h \ + buffer.h obj_subc_list.h obj_subc.h ../src_3rd/libminuid/libminuid.h \ + ../src_3rd/genht/htsp.h ht_subc.h vtpadstack.h obj_pstk_shape.h \ + polygon.h vtpadstack_t.h search.h rats.h netlist.h route_style.h \ + rotate.h hid_actions.h plug_io.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 compat_misc.h safe_fs.h ../src_plugins/io_hyp/write.o: ../src_plugins/io_hyp/write.c ../config.h \ @@ -2190,14 +2177,14 @@ obj_line_list.h obj_line.h obj_pad_list.h obj_pad.h obj_pinvia_list.h \ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h obj_poly.h \ polyarea.h obj_poly_list.h box.h math_helper.h move.h misc_util.h \ - ht_element.h ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h \ + ht_element.h ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h \ obj_text_list.h obj_rat_list.h obj_rat.h layer_grp.h rats_patch.h \ board.h data.h crosshair.h vtonpoint.h hid.h error.h drc.h route.h \ buffer.h obj_subc_list.h obj_subc.h ../src_3rd/libminuid/libminuid.h \ - rtree.h ht_subc.h vtpadstack.h obj_padstack_shape.h polygon.h \ - vtpadstack_t.h compat_misc.h polygon.h \ - ../src_plugins/lib_padstack_hash/padstack_hash.h ../src_3rd/genht/htpp.h \ - obj_pad.h obj_pinvia.h ../src_plugins/lib_netmap/netmap.h library.h + rtree.h ht_subc.h vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h \ + compat_misc.h polygon.h ../src_plugins/lib_padstack_hash/padstack_hash.h \ + ../src_3rd/genht/htpp.h obj_pad.h obj_pinvia.h \ + ../src_plugins/lib_netmap/netmap.h library.h ../src_plugins/io_kicad/io_kicad.o: ../src_plugins/io_kicad/io_kicad.c \ ../config.h plugins.h ../src_3rd/puplug/puplug.h \ ../src_3rd/puplug/libs.h ../src_3rd/puplug/os_dep.h \ @@ -2217,11 +2204,11 @@ obj_line_list.h obj_line.h obj_pad_list.h obj_pad.h obj_pinvia_list.h \ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h obj_poly.h \ polyarea.h obj_poly_list.h box.h math_helper.h macro.h move.h \ - misc_util.h ht_element.h ../src_3rd/genht/ht.h obj_padstack_list.h \ - obj_padstack.h obj_text_list.h obj_rat_list.h obj_rat.h crosshair.h \ + misc_util.h ht_element.h ../src_3rd/genht/ht.h obj_pstk_list.h \ + obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h crosshair.h \ vtonpoint.h hid.h error.h drc.h layer_grp.h route.h const.h buffer.h \ obj_subc_list.h obj_subc.h ../src_3rd/libminuid/libminuid.h rtree.h \ - ht_subc.h vtpadstack.h obj_padstack_shape.h polygon.h vtpadstack_t.h \ + ht_subc.h vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h \ ../src_plugins/io_kicad/read.h ../src_plugins/io_kicad/read_net.h unit.h \ hid_actions.h dolists.h ../src_plugins/io_kicad/read.o: ../src_plugins/io_kicad/read.c \ @@ -2238,7 +2225,7 @@ obj_line_list.h obj_line.h obj_pad_list.h obj_pad.h obj_pinvia_list.h \ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h obj_poly.h \ polyarea.h obj_poly_list.h box.h math_helper.h move.h misc_util.h \ - ht_element.h ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h \ + ht_element.h ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h \ obj_text_list.h obj_rat_list.h obj_rat.h layer_grp.h library.h \ rats_patch.h board.h plug_io.h conf.h pcb-printf.h \ ../src_3rd/genvector/gds_char.h ../src_3rd/liblihata/lihata.h \ @@ -2247,7 +2234,7 @@ ../src_3rd/genvector/vtp0.h list_conf.h error.h data.h crosshair.h \ vtonpoint.h hid.h error.h drc.h route.h buffer.h obj_subc_list.h \ obj_subc.h ../src_3rd/libminuid/libminuid.h rtree.h ht_subc.h \ - vtpadstack.h obj_padstack_shape.h polygon.h vtpadstack_t.h \ + vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h \ ../src_plugins/io_kicad/read.h layer.h const.h netlist.h route_style.h \ polygon.h misc_util.h conf_core.h move.h macro.h obj_all.h rotate.h \ safe_fs.h @@ -2266,19 +2253,19 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h move.h misc_util.h ht_element.h ../src_3rd/genht/ht.h \ - obj_padstack_list.h obj_padstack.h obj_text_list.h obj_rat_list.h \ - obj_rat.h layer_grp.h library.h rats_patch.h board.h data.h crosshair.h \ + obj_pstk_list.h obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h \ + layer_grp.h library.h rats_patch.h board.h data.h crosshair.h \ vtonpoint.h hid.h error.h drc.h route.h buffer.h obj_subc_list.h \ obj_subc.h ../src_3rd/libminuid/libminuid.h ../src_3rd/genht/htsp.h \ - rtree.h ht_subc.h vtpadstack.h obj_padstack_shape.h polygon.h \ - vtpadstack_t.h error.h pcb-printf.h ../src_3rd/genvector/gds_char.h \ - compat_misc.h safe_fs.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 action_helper.h hid_actions.h \ - plugins.h ../src_3rd/puplug/puplug.h ../src_3rd/puplug/libs.h \ - ../src_3rd/puplug/os_dep.h ../src_3rd/puplug/config.h \ - ../src_3rd/puplug/libs.h ../src_3rd/puplug/error.h hid.h + rtree.h ht_subc.h vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h \ + error.h pcb-printf.h ../src_3rd/genvector/gds_char.h compat_misc.h \ + safe_fs.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 \ + action_helper.h hid_actions.h plugins.h ../src_3rd/puplug/puplug.h \ + ../src_3rd/puplug/libs.h ../src_3rd/puplug/os_dep.h \ + ../src_3rd/puplug/config.h ../src_3rd/puplug/libs.h \ + ../src_3rd/puplug/error.h hid.h ../src_plugins/io_kicad/uniq_name.o: ../src_plugins/io_kicad/uniq_name.c \ ../src_3rd/genht/hash.h ../config.h ../src_plugins/io_kicad/uniq_name.h \ ../src_3rd/genht/htsp.h ../src_3rd/genht/ht.h compat_misc.h @@ -2295,16 +2282,16 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h move.h misc_util.h ht_element.h ../src_3rd/genht/ht.h \ - obj_padstack_list.h obj_padstack.h obj_text_list.h obj_rat_list.h \ - obj_rat.h layer_grp.h library.h rats_patch.h board.h plug_io.h conf.h \ - pcb-printf.h ../src_3rd/genvector/gds_char.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/genvector/vtp0.h list_conf.h error.h \ + obj_pstk_list.h obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h \ + layer_grp.h library.h rats_patch.h board.h plug_io.h conf.h pcb-printf.h \ + ../src_3rd/genvector/gds_char.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/genvector/vtp0.h list_conf.h error.h \ ../src_plugins/io_kicad/uniq_name.h data.h crosshair.h vtonpoint.h hid.h \ error.h drc.h route.h buffer.h obj_subc_list.h obj_subc.h \ ../src_3rd/libminuid/libminuid.h rtree.h ht_subc.h vtpadstack.h \ - obj_padstack_shape.h polygon.h vtpadstack_t.h \ + obj_pstk_shape.h polygon.h vtpadstack_t.h \ ../src_plugins/io_kicad/write.h layer.h const.h netlist.h route_style.h \ obj_all.h ../src_plugins/io_kicad_legacy/io_kicad_legacy.o: \ @@ -2326,11 +2313,11 @@ obj_line_list.h obj_line.h obj_pad_list.h obj_pad.h obj_pinvia_list.h \ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h obj_poly.h \ polyarea.h obj_poly_list.h box.h math_helper.h macro.h move.h \ - misc_util.h ht_element.h ../src_3rd/genht/ht.h obj_padstack_list.h \ - obj_padstack.h obj_text_list.h obj_rat_list.h obj_rat.h crosshair.h \ + misc_util.h ht_element.h ../src_3rd/genht/ht.h obj_pstk_list.h \ + obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h crosshair.h \ vtonpoint.h hid.h error.h drc.h layer_grp.h route.h const.h buffer.h \ obj_subc_list.h obj_subc.h ../src_3rd/libminuid/libminuid.h rtree.h \ - ht_subc.h vtpadstack.h obj_padstack_shape.h polygon.h vtpadstack_t.h + ht_subc.h vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h ../src_plugins/io_kicad_legacy/write.o: \ ../src_plugins/io_kicad_legacy/write.c ../config.h compat_misc.h board.h \ const.h macro.h global_typedefs.h pcb_bool.h unit.h vtroutestyle.h \ @@ -2344,16 +2331,16 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h move.h misc_util.h ht_element.h ../src_3rd/genht/ht.h \ - obj_padstack_list.h obj_padstack.h obj_text_list.h obj_rat_list.h \ - obj_rat.h layer_grp.h library.h rats_patch.h board.h plug_io.h conf.h \ - pcb-printf.h ../src_3rd/genvector/gds_char.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/genvector/vtp0.h list_conf.h error.h \ + obj_pstk_list.h obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h \ + layer_grp.h library.h rats_patch.h board.h plug_io.h conf.h pcb-printf.h \ + ../src_3rd/genvector/gds_char.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/genvector/vtp0.h list_conf.h error.h \ ../src_plugins/io_kicad_legacy/../io_kicad/uniq_name.h data.h \ crosshair.h vtonpoint.h hid.h error.h drc.h route.h buffer.h \ obj_subc_list.h obj_subc.h ../src_3rd/libminuid/libminuid.h rtree.h \ - ht_subc.h vtpadstack.h obj_padstack_shape.h polygon.h vtpadstack_t.h \ + ht_subc.h vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h \ ../src_plugins/io_kicad_legacy/write.h layer.h const.h netlist.h \ route_style.h obj_all.h ../src_plugins/io_lihata/common.o: ../src_plugins/io_lihata/common.c \ @@ -2366,14 +2353,14 @@ obj_pad.h obj_pinvia_list.h obj_pinvia.h obj_text.h font.h \ ../src_3rd/genht/htip.h ../src_3rd/genht/ht.h obj_poly.h polyarea.h \ obj_poly_list.h box.h math_helper.h macro.h move.h misc_util.h \ - ht_element.h ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h \ + ht_element.h ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h \ obj_text_list.h obj_rat_list.h obj_rat.h crosshair.h vtonpoint.h \ ../src_3rd/genvector/genvector_impl.h \ ../src_3rd/genvector/genvector_undef.h hid.h error.h drc.h layer_grp.h \ route.h const.h buffer.h obj_subc_list.h obj_subc.h \ ../src_3rd/libminuid/libminuid.h ../src_3rd/genht/htsp.h rtree.h \ - ht_subc.h vtpadstack.h obj_padstack_shape.h polygon.h vtpadstack_t.h \ - macro.h ../src_plugins/io_lihata/common.h + ht_subc.h vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h macro.h \ + ../src_plugins/io_lihata/common.h ../src_plugins/io_lihata/io_lihata.o: \ ../src_plugins/io_lihata/io_lihata.c ../config.h plugins.h \ ../src_3rd/puplug/puplug.h ../src_3rd/puplug/libs.h \ @@ -2405,11 +2392,11 @@ obj_line_list.h obj_line.h obj_pad_list.h obj_pad.h obj_pinvia_list.h \ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h obj_poly.h \ polyarea.h obj_poly_list.h box.h math_helper.h move.h misc_util.h \ - ht_element.h ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h \ + ht_element.h ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h \ obj_text_list.h obj_rat_list.h obj_rat.h layer_grp.h library.h \ rats_patch.h board.h data.h crosshair.h vtonpoint.h hid.h error.h drc.h \ route.h buffer.h obj_subc_list.h obj_subc.h rtree.h ht_subc.h \ - vtpadstack.h obj_padstack_shape.h polygon.h vtpadstack_t.h plugins.h \ + vtpadstack.h obj_pstk_shape.h polygon.h 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 plug_io.h conf.h \ @@ -2435,11 +2422,11 @@ obj_line_list.h obj_line.h obj_pad_list.h obj_pad.h obj_pinvia_list.h \ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h obj_poly.h \ polyarea.h obj_poly_list.h box.h math_helper.h move.h misc_util.h \ - ht_element.h ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h \ + ht_element.h ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h \ obj_text_list.h obj_rat_list.h obj_rat.h layer_grp.h library.h \ rats_patch.h board.h data.h crosshair.h vtonpoint.h hid.h error.h drc.h \ route.h buffer.h obj_subc_list.h obj_subc.h rtree.h ht_subc.h \ - vtpadstack.h obj_padstack_shape.h polygon.h vtpadstack_t.h plugins.h \ + vtpadstack.h obj_pstk_shape.h polygon.h 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 plug_io.h conf.h \ @@ -2485,7 +2472,7 @@ obj_pad.h obj_pinvia_list.h obj_pinvia.h obj_text.h font.h \ ../src_3rd/genht/htip.h ../src_3rd/genht/ht.h obj_poly.h polyarea.h \ obj_poly_list.h box.h math_helper.h move.h misc_util.h ht_element.h \ - ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h obj_text_list.h \ + ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h obj_text_list.h \ obj_rat_list.h obj_rat.h layer_grp.h library.h rats_patch.h board.h \ conf_core.h conf.h pcb-printf.h ../src_3rd/liblihata/lihata.h \ ../src_3rd/liblihata/dom.h ../src_3rd/liblihata/lihata.h \ @@ -2506,7 +2493,7 @@ obj_line_list.h obj_line.h obj_pad_list.h obj_pad.h obj_pinvia_list.h \ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h obj_poly.h \ polyarea.h obj_poly_list.h box.h math_helper.h move.h misc_util.h \ - ht_element.h ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h \ + ht_element.h ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h \ obj_text_list.h obj_rat_list.h obj_rat.h layer_grp.h library.h \ rats_patch.h board.h compat_misc.h ../src_plugins/io_pcb/file.o: ../src_plugins/io_pcb/file.c ../config.h \ @@ -2524,12 +2511,12 @@ obj_line_list.h obj_line.h obj_pad_list.h obj_pad.h obj_pinvia_list.h \ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h obj_poly.h \ polyarea.h obj_poly_list.h box.h math_helper.h move.h misc_util.h \ - ht_element.h ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h \ + ht_element.h ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h \ obj_text_list.h obj_rat_list.h obj_rat.h layer_grp.h library.h \ rats_patch.h crosshair.h vtonpoint.h hid.h error.h drc.h route.h data.h \ crosshair.h buffer.h obj_subc_list.h obj_subc.h \ ../src_3rd/libminuid/libminuid.h rtree.h ht_subc.h vtpadstack.h \ - obj_padstack_shape.h polygon.h vtpadstack_t.h error.h \ + obj_pstk_shape.h polygon.h vtpadstack_t.h error.h \ ../src_plugins/io_pcb/file.h board.h plug_io.h hid.h layer.h move.h \ ../src_plugins/io_pcb/parse_common.h pcb-printf.h polygon.h rats.h \ netlist.h route_style.h remove.h flag_str.h compat_fs.h compat_misc.h \ @@ -2555,8 +2542,8 @@ obj_pad.h obj_pinvia_list.h obj_pinvia.h obj_text.h font.h \ ../src_3rd/genht/htip.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h move.h misc_util.h ht_element.h ../src_3rd/genht/ht.h \ - obj_padstack_list.h obj_padstack.h obj_text_list.h obj_rat_list.h \ - obj_rat.h layer_grp.h rats_patch.h board.h + obj_pstk_list.h obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h \ + layer_grp.h rats_patch.h board.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 unit.h \ pcb-printf.h ../src_3rd/genvector/gds_char.h \ @@ -2573,11 +2560,11 @@ obj_elem.h obj_line_list.h obj_line.h obj_pad_list.h obj_pad.h \ obj_pinvia_list.h obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ obj_poly.h polyarea.h obj_poly_list.h box.h math_helper.h macro.h move.h \ - misc_util.h ht_element.h ../src_3rd/genht/ht.h obj_padstack_list.h \ - obj_padstack.h obj_text_list.h obj_rat_list.h obj_rat.h layer_grp.h \ - route.h const.h data.h crosshair.h buffer.h obj_subc_list.h obj_subc.h \ + misc_util.h ht_element.h ../src_3rd/genht/ht.h obj_pstk_list.h \ + obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h layer_grp.h route.h \ + const.h data.h crosshair.h buffer.h obj_subc_list.h obj_subc.h \ ../src_3rd/libminuid/libminuid.h rtree.h ht_subc.h vtpadstack.h \ - obj_padstack_shape.h polygon.h vtpadstack_t.h error.h \ + obj_pstk_shape.h polygon.h vtpadstack_t.h error.h \ ../src_plugins/io_pcb/file.h board.h vtroutestyle.h library.h \ rats_patch.h board.h plug_io.h ../src_plugins/io_pcb/parse_common.h \ ../src_plugins/io_pcb/parse_y.h plug_footprint.h vtlibrary.h \ @@ -2596,8 +2583,8 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h move.h misc_util.h ht_element.h ../src_3rd/genht/ht.h \ - obj_padstack_list.h obj_padstack.h obj_text_list.h obj_rat_list.h \ - obj_rat.h layer_grp.h library.h rats_patch.h board.h conf_core.h conf.h \ + obj_pstk_list.h obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h \ + layer_grp.h library.h rats_patch.h board.h conf_core.h conf.h \ pcb-printf.h ../src_3rd/genvector/gds_char.h \ ../src_3rd/liblihata/lihata.h ../src_3rd/liblihata/dom.h \ ../src_3rd/liblihata/lihata.h ../src_3rd/liblihata/parser.h \ @@ -2604,11 +2591,10 @@ ../src_3rd/genht/htsp.h ../src_3rd/genvector/vtp0.h list_conf.h layer.h \ data.h crosshair.h vtonpoint.h hid.h error.h drc.h route.h buffer.h \ obj_subc_list.h obj_subc.h ../src_3rd/libminuid/libminuid.h rtree.h \ - ht_subc.h vtpadstack.h obj_padstack_shape.h polygon.h vtpadstack_t.h \ - error.h ../src_plugins/io_pcb/file.h plug_io.h \ - ../src_plugins/io_pcb/parse_l.h polygon.h remove.h rtree.h flag_str.h \ - obj_pinvia_therm.h rats_patch.h route_style.h compat_misc.h obj_all.h \ - ../src_plugins/io_pcb/parse_y.h + ht_subc.h vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h error.h \ + ../src_plugins/io_pcb/file.h plug_io.h ../src_plugins/io_pcb/parse_l.h \ + polygon.h remove.h rtree.h flag_str.h obj_pinvia_therm.h rats_patch.h \ + route_style.h compat_misc.h obj_all.h ../src_plugins/io_pcb/parse_y.h ../src_plugins/io_tedax/footprint.o: ../src_plugins/io_tedax/footprint.c \ ../config.h ../src_3rd/genht/htsp.h ../src_3rd/genht/ht.h \ ../src_3rd/genht/htip.h ../src_3rd/genht/hash.h \ @@ -2620,13 +2606,13 @@ obj_elem_list.h obj_elem.h obj_line_list.h obj_line.h obj_pad_list.h \ obj_pad.h obj_pinvia_list.h obj_pinvia.h obj_text.h font.h obj_poly.h \ polyarea.h obj_poly_list.h box.h math_helper.h macro.h move.h \ - misc_util.h ht_element.h ../src_3rd/genht/ht.h obj_padstack_list.h \ - obj_padstack.h obj_text_list.h obj_rat_list.h obj_rat.h crosshair.h \ + misc_util.h ht_element.h ../src_3rd/genht/ht.h obj_pstk_list.h \ + obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h crosshair.h \ vtonpoint.h ../src_3rd/genvector/genvector_impl.h \ ../src_3rd/genvector/genvector_undef.h hid.h error.h drc.h layer_grp.h \ route.h const.h buffer.h obj_subc_list.h obj_subc.h \ ../src_3rd/libminuid/libminuid.h rtree.h ht_subc.h vtpadstack.h \ - obj_padstack_shape.h polygon.h vtpadstack_t.h \ + obj_pstk_shape.h polygon.h vtpadstack_t.h \ ../src_plugins/io_tedax/parse.h unit.h error.h board.h vtroutestyle.h \ library.h rats_patch.h board.h pcb-printf.h \ ../src_3rd/genvector/gds_char.h compat_misc.h safe_fs.h conf.h \ @@ -2645,14 +2631,14 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h macro.h move.h misc_util.h ht_element.h \ - ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h obj_text_list.h \ + ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h obj_text_list.h \ obj_rat_list.h obj_rat.h crosshair.h vtonpoint.h \ ../src_3rd/genvector/genvector_impl.h \ ../src_3rd/genvector/genvector_undef.h hid.h error.h drc.h layer_grp.h \ route.h const.h buffer.h obj_subc_list.h obj_subc.h \ ../src_3rd/libminuid/libminuid.h ../src_3rd/genht/htsp.h rtree.h \ - ht_subc.h vtpadstack.h obj_padstack_shape.h polygon.h vtpadstack_t.h \ - board.h vtroutestyle.h library.h rats_patch.h board.h \ + ht_subc.h vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h board.h \ + vtroutestyle.h library.h rats_patch.h board.h \ ../src_plugins/io_tedax/netlist.h conf_core.h conf.h pcb-printf.h \ ../src_3rd/genvector/gds_char.h ../src_3rd/liblihata/lihata.h \ ../src_3rd/liblihata/dom.h ../src_3rd/liblihata/lihata.h \ @@ -2674,11 +2660,11 @@ obj_pad.h obj_pinvia_list.h obj_pinvia.h obj_text.h font.h \ ../src_3rd/genht/htip.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h move.h misc_util.h ht_element.h ../src_3rd/genht/ht.h \ - obj_padstack_list.h obj_padstack.h obj_text_list.h obj_rat_list.h \ - obj_rat.h layer_grp.h library.h rats_patch.h board.h data.h crosshair.h \ + obj_pstk_list.h obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h \ + layer_grp.h library.h rats_patch.h board.h data.h crosshair.h \ vtonpoint.h hid.h error.h drc.h route.h buffer.h obj_subc_list.h \ obj_subc.h ../src_3rd/libminuid/libminuid.h rtree.h ht_subc.h \ - vtpadstack.h obj_padstack_shape.h polygon.h vtpadstack_t.h error.h \ + vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h error.h \ pcb-printf.h ../src_3rd/genvector/gds_char.h compat_misc.h hid_actions.h \ safe_fs.h conf.h pcb-printf.h ../src_3rd/liblihata/lihata.h \ ../src_3rd/liblihata/dom.h ../src_3rd/liblihata/lihata.h \ @@ -2698,21 +2684,21 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h move.h misc_util.h ht_element.h ../src_3rd/genht/ht.h \ - obj_padstack_list.h obj_padstack.h obj_text_list.h obj_rat_list.h \ - obj_rat.h layer_grp.h library.h rats_patch.h board.h data.h crosshair.h \ + obj_pstk_list.h obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h \ + layer_grp.h library.h rats_patch.h board.h data.h crosshair.h \ vtonpoint.h hid.h error.h drc.h route.h buffer.h obj_subc_list.h \ obj_subc.h ../src_3rd/libminuid/libminuid.h ../src_3rd/genht/htsp.h \ - rtree.h ht_subc.h vtpadstack.h obj_padstack_shape.h polygon.h \ - vtpadstack_t.h hid.h rtree.h undo.h ../src_3rd/libuundo/uundo.h \ - undo_old.h rats.h netlist.h route_style.h polygon.h remove.h error.h \ - pcb-printf.h ../src_3rd/genvector/gds_char.h plugins.h \ - ../src_3rd/puplug/puplug.h ../src_3rd/puplug/libs.h \ - ../src_3rd/puplug/os_dep.h ../src_3rd/puplug/config.h \ - ../src_3rd/puplug/libs.h ../src_3rd/puplug/error.h hid_actions.h layer.h \ - conf_core.h conf.h 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 \ - misc_util.h obj_line.h event.h dolists.h + rtree.h ht_subc.h vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h \ + hid.h rtree.h undo.h ../src_3rd/libuundo/uundo.h undo_old.h rats.h \ + netlist.h route_style.h polygon.h remove.h error.h pcb-printf.h \ + ../src_3rd/genvector/gds_char.h plugins.h ../src_3rd/puplug/puplug.h \ + ../src_3rd/puplug/libs.h ../src_3rd/puplug/os_dep.h \ + ../src_3rd/puplug/config.h ../src_3rd/puplug/libs.h \ + ../src_3rd/puplug/error.h hid_actions.h layer.h conf_core.h conf.h \ + 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 misc_util.h obj_line.h event.h \ + dolists.h ../src_plugins/lib_gensexpr/lib_gensexpr.o: \ ../src_plugins/lib_gensexpr/lib_gensexpr.c plugins.h \ ../src_3rd/puplug/puplug.h ../src_3rd/puplug/libs.h \ @@ -2730,7 +2716,7 @@ obj_pad.h obj_pinvia_list.h obj_pinvia.h obj_text.h font.h \ ../src_3rd/genht/htip.h ../src_3rd/genht/ht.h obj_poly.h polyarea.h \ obj_poly_list.h box.h math_helper.h macro.h move.h misc_util.h \ - ht_element.h ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h \ + ht_element.h ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h \ obj_text_list.h obj_rat_list.h obj_rat.h layer_grp.h conf_core.h conf.h \ pcb-printf.h ../src_3rd/genvector/gds_char.h \ ../src_3rd/genvector/genvector_impl.h \ @@ -2741,7 +2727,7 @@ vtlibrary.h compat_misc.h board.h const.h vtroutestyle.h library.h \ rats_patch.h board.h data.h crosshair.h vtonpoint.h route.h buffer.h \ obj_subc_list.h obj_subc.h ../src_3rd/libminuid/libminuid.h rtree.h \ - ht_subc.h vtpadstack.h obj_padstack_shape.h polygon.h vtpadstack_t.h \ + ht_subc.h vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h \ ../src_plugins/lib_gtk_common/dlg_file_chooser.h plug_io.h \ ../src_plugins/lib_gtk_common/util_str.h ../src_plugins/lib_gtk_common/act_print.o: \ @@ -2758,12 +2744,12 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h move.h misc_util.h ht_element.h ../src_3rd/genht/ht.h \ - obj_padstack_list.h obj_padstack.h obj_text_list.h obj_rat_list.h \ - obj_rat.h layer_grp.h library.h rats_patch.h board.h hid.h error.h drc.h \ + obj_pstk_list.h obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h \ + layer_grp.h library.h rats_patch.h board.h hid.h error.h drc.h \ hid_init.h hid.h hid_attrib.h data.h crosshair.h vtonpoint.h route.h \ buffer.h obj_subc_list.h obj_subc.h ../src_3rd/libminuid/libminuid.h \ - ../src_3rd/genht/htsp.h rtree.h ht_subc.h vtpadstack.h \ - obj_padstack_shape.h polygon.h vtpadstack_t.h compat_nls.h \ + ../src_3rd/genht/htsp.h rtree.h ht_subc.h vtpadstack.h obj_pstk_shape.h \ + polygon.h vtpadstack_t.h compat_nls.h \ ../src_plugins/lib_gtk_common/dlg_print.h ../src_plugins/lib_gtk_common/bu_box.o: \ ../src_plugins/lib_gtk_common/bu_box.c ../config.h \ @@ -2789,7 +2775,7 @@ obj_line.h obj_pad_list.h obj_pad.h obj_pinvia_list.h obj_pinvia.h \ obj_text.h font.h ../src_3rd/genht/htip.h obj_poly.h polyarea.h \ obj_poly_list.h box.h math_helper.h macro.h move.h misc_util.h \ - ht_element.h ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h \ + ht_element.h ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h \ obj_text_list.h obj_rat_list.h obj_rat.h layer_grp.h crosshair.h \ vtonpoint.h route.h const.h misc_util.h compat_nls.h math_helper.h ../src_plugins/lib_gtk_common/bu_dwg_tooltip.o: \ @@ -2804,7 +2790,7 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h macro.h move.h misc_util.h ht_element.h \ - ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h obj_text_list.h \ + ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h obj_text_list.h \ obj_rat_list.h obj_rat.h library.h search.h rats.h netlist.h library.h \ route_style.h vtroutestyle.h ../src_3rd/genvector/genvector_impl.h \ ../src_3rd/genvector/genvector_undef.h layer.h layer_grp.h const.h \ @@ -2812,7 +2798,7 @@ ../src_3rd/libminuid/libminuid.h ../src_3rd/genht/htsp.h rtree.h \ obj_subc_parent.h data.h crosshair.h vtonpoint.h hid.h error.h drc.h \ route.h buffer.h obj_subc_list.h obj_subc.h ht_subc.h vtpadstack.h \ - obj_padstack_shape.h polygon.h vtpadstack_t.h + obj_pstk_shape.h polygon.h vtpadstack_t.h ../src_plugins/lib_gtk_common/bu_entry.o: \ ../src_plugins/lib_gtk_common/bu_entry.c ../config.h \ ../src_plugins/lib_gtk_common/bu_entry.h \ @@ -2844,13 +2830,12 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h move.h misc_util.h ht_element.h ../src_3rd/genht/ht.h \ - obj_padstack_list.h obj_padstack.h obj_text_list.h obj_rat_list.h \ - obj_rat.h layer_grp.h library.h rats_patch.h board.h plug_io.h conf.h \ - pcb-printf.h ../src_3rd/genvector/gds_char.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/genvector/vtp0.h list_conf.h \ - compat_nls.h + obj_pstk_list.h obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h \ + layer_grp.h library.h rats_patch.h board.h plug_io.h conf.h pcb-printf.h \ + ../src_3rd/genvector/gds_char.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/genvector/vtp0.h list_conf.h compat_nls.h ../src_plugins/lib_gtk_common/bu_menu.o: \ ../src_plugins/lib_gtk_common/bu_menu.c ../config.h \ ../src_3rd/liblihata/tree.h ../src_3rd/liblihata/dom.h \ @@ -2866,7 +2851,7 @@ obj_line_list.h obj_line.h obj_pad_list.h obj_pad.h obj_pinvia_list.h \ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h obj_poly.h \ polyarea.h obj_poly_list.h box.h math_helper.h move.h misc_util.h \ - ht_element.h ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h \ + ht_element.h ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h \ obj_text_list.h obj_rat_list.h obj_rat.h layer_grp.h library.h \ rats_patch.h board.h pcb-printf.h ../src_3rd/genvector/gds_char.h \ misc_util.h error.h conf.h pcb-printf.h ../src_3rd/liblihata/lihata.h \ @@ -2893,7 +2878,7 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h macro.h move.h misc_util.h ht_element.h \ - ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h obj_text_list.h \ + ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h obj_text_list.h \ obj_rat_list.h obj_rat.h layer_grp.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 \ @@ -2931,8 +2916,8 @@ obj_pad.h obj_pinvia_list.h obj_pinvia.h obj_text.h font.h \ ../src_3rd/genht/htip.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h move.h misc_util.h ht_element.h ../src_3rd/genht/ht.h \ - obj_padstack_list.h obj_padstack.h obj_text_list.h obj_rat_list.h \ - obj_rat.h layer_grp.h library.h rats_patch.h board.h + obj_pstk_list.h obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h \ + layer_grp.h library.h rats_patch.h board.h ../src_plugins/lib_gtk_common/bu_text_view.o: \ ../src_plugins/lib_gtk_common/bu_text_view.c ../config.h \ ../src_plugins/lib_gtk_common/bu_text_view.h @@ -2958,7 +2943,7 @@ obj_line.h obj_pad_list.h obj_pad.h obj_pinvia_list.h obj_pinvia.h \ obj_text.h font.h ../src_3rd/genht/htip.h obj_poly.h polyarea.h \ obj_poly_list.h box.h math_helper.h macro.h move.h misc_util.h \ - ht_element.h ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h \ + ht_element.h ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h \ obj_text_list.h obj_rat_list.h obj_rat.h layer_grp.h pcb-printf.h \ hid_attrib.h hid.h hid_init.h misc_util.h compat_misc.h compat_nls.h \ ../src_plugins/lib_gtk_common/compat.h \ @@ -2980,7 +2965,7 @@ obj_line.h obj_pad_list.h obj_pad.h obj_pinvia_list.h obj_pinvia.h \ obj_text.h font.h ../src_3rd/genht/htip.h obj_poly.h polyarea.h \ obj_poly_list.h box.h math_helper.h macro.h move.h misc_util.h \ - ht_element.h ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h \ + ht_element.h ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h \ obj_text_list.h obj_rat_list.h obj_rat.h layer_grp.h pcb-printf.h \ hid_attrib.h hid.h hid_init.h misc_util.h compat_misc.h compat_nls.h \ ../src_plugins/lib_gtk_common/compat.h \ @@ -2998,7 +2983,7 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h macro.h move.h misc_util.h ht_element.h \ - ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h obj_text_list.h \ + ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h obj_text_list.h \ obj_rat_list.h obj_rat.h layer_grp.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 \ @@ -3026,9 +3011,9 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h move.h misc_util.h ht_element.h ../src_3rd/genht/ht.h \ - obj_padstack_list.h obj_padstack.h obj_text_list.h obj_rat_list.h \ - obj_rat.h layer_grp.h library.h rats_patch.h board.h hid_actions.h hid.h \ - error.h drc.h ../src_plugins/lib_gtk_common/compat.h \ + obj_pstk_list.h obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h \ + layer_grp.h library.h rats_patch.h board.h hid_actions.h hid.h error.h \ + drc.h ../src_plugins/lib_gtk_common/compat.h \ ../src_plugins/lib_gtk_common/dlg_message.h ../src_plugins/lib_gtk_common/dlg_drc.o: \ ../src_plugins/lib_gtk_common/dlg_drc.c ../config.h conf_core.h conf.h \ @@ -3046,12 +3031,12 @@ obj_line_list.h obj_line.h obj_pad_list.h obj_pad.h obj_pinvia_list.h \ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h obj_poly.h \ polyarea.h obj_poly_list.h box.h math_helper.h move.h misc_util.h \ - ht_element.h ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h \ + ht_element.h ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h \ obj_text_list.h obj_rat_list.h obj_rat.h layer_grp.h library.h \ rats_patch.h board.h data.h crosshair.h vtonpoint.h hid.h error.h drc.h \ route.h buffer.h obj_subc_list.h obj_subc.h \ ../src_3rd/libminuid/libminuid.h rtree.h ht_subc.h vtpadstack.h \ - obj_padstack_shape.h polygon.h vtpadstack_t.h error.h search.h rats.h \ + obj_pstk_shape.h polygon.h vtpadstack_t.h error.h search.h rats.h \ netlist.h route_style.h draw.h layer.h pcb-printf.h undo.h \ ../src_3rd/libuundo/uundo.h undo_old.h \ ../src_plugins/lib_gtk_common/dlg_drc.h \ @@ -3082,7 +3067,7 @@ obj_line.h obj_pad_list.h obj_pad.h obj_pinvia_list.h obj_pinvia.h \ obj_text.h font.h ../src_3rd/genht/htip.h obj_poly.h polyarea.h \ obj_poly_list.h box.h math_helper.h macro.h move.h misc_util.h \ - ht_element.h ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h \ + ht_element.h ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h \ obj_text_list.h obj_rat_list.h obj_rat.h layer_grp.h \ ../src_plugins/lib_gtk_common/dlg_print.h pcb-printf.h hid_attrib.h \ hid.h hid_init.h misc_util.h compat_misc.h compat_nls.h \ @@ -3100,8 +3085,8 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h move.h misc_util.h ht_element.h ../src_3rd/genht/ht.h \ - obj_padstack_list.h obj_padstack.h obj_text_list.h obj_rat_list.h \ - obj_rat.h layer_grp.h library.h rats_patch.h board.h hid.h error.h drc.h \ + obj_pstk_list.h obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h \ + layer_grp.h library.h rats_patch.h board.h hid.h error.h drc.h \ compat_misc.h ../src_plugins/lib_gtk_common/dlg_file_chooser.h \ compat_nls.h plug_io.h conf.h pcb-printf.h \ ../src_3rd/genvector/gds_char.h ../src_3rd/liblihata/lihata.h \ @@ -3122,7 +3107,7 @@ obj_pad.h obj_pinvia_list.h obj_pinvia.h obj_text.h font.h \ ../src_3rd/genht/htip.h ../src_3rd/genht/ht.h obj_poly.h polyarea.h \ obj_poly_list.h box.h math_helper.h macro.h move.h misc_util.h \ - ht_element.h ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h \ + ht_element.h ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h \ obj_text_list.h obj_rat_list.h obj_rat.h layer_grp.h \ ../src_plugins/lib_gtk_common/glue.h conf.h pcb-printf.h \ ../src_3rd/genvector/gds_char.h ../src_3rd/genvector/genvector_impl.h \ @@ -3152,7 +3137,7 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h macro.h move.h misc_util.h ht_element.h \ - ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h obj_text_list.h \ + ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h obj_text_list.h \ obj_rat_list.h obj_rat.h layer_grp.h \ ../src_plugins/lib_gtk_common/glue.h conf.h pcb-printf.h \ ../src_3rd/genvector/gds_char.h ../src_3rd/genvector/genvector_impl.h \ @@ -3163,7 +3148,7 @@ ../src_plugins/lib_gtk_common/compat.h conf_core.h buffer.h data.h \ crosshair.h vtonpoint.h hid.h route.h const.h buffer.h obj_subc_list.h \ obj_subc.h ../src_3rd/libminuid/libminuid.h rtree.h ht_subc.h \ - vtpadstack.h obj_padstack_shape.h polygon.h vtpadstack_t.h const.h \ + vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h const.h \ plug_footprint.h vtlibrary.h compat_nls.h compat_misc.h hid_actions.h \ ../src_plugins/lib_gtk_common/bu_box.h \ ../src_plugins/lib_gtk_common/wt_preview.h obj_elem.h layer.h \ @@ -3183,7 +3168,7 @@ obj_pad.h obj_pinvia_list.h obj_pinvia.h obj_text.h font.h \ ../src_3rd/genht/htip.h ../src_3rd/genht/ht.h obj_poly.h polyarea.h \ obj_poly_list.h box.h math_helper.h macro.h move.h misc_util.h \ - ht_element.h ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h \ + ht_element.h ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h \ obj_text_list.h obj_rat_list.h obj_rat.h layer_grp.h compat_misc.h \ safe_fs.h conf.h pcb-printf.h ../src_3rd/genvector/gds_char.h \ ../src_3rd/genvector/genvector_impl.h \ @@ -3214,7 +3199,7 @@ obj_pad.h obj_pinvia_list.h obj_pinvia.h obj_text.h font.h \ ../src_3rd/genht/htip.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h macro.h move.h misc_util.h ht_element.h \ - ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h obj_text_list.h \ + ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h obj_text_list.h \ obj_rat_list.h obj_rat.h layer_grp.h compat_nls.h \ ../src_plugins/lib_gtk_common/win_place.h \ ../src_plugins/lib_gtk_common/bu_text_view.h \ @@ -3236,7 +3221,7 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h macro.h move.h misc_util.h ht_element.h \ - ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h obj_text_list.h \ + ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h obj_text_list.h \ obj_rat_list.h obj_rat.h layer_grp.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 \ @@ -3247,11 +3232,10 @@ vtroutestyle.h library.h rats_patch.h board.h data.h crosshair.h \ vtonpoint.h hid.h route.h buffer.h obj_subc_list.h obj_subc.h \ ../src_3rd/libminuid/libminuid.h rtree.h ht_subc.h vtpadstack.h \ - obj_padstack_shape.h polygon.h vtpadstack_t.h draw.h error.h macro.h \ - const.h find.h rats.h netlist.h route_style.h remove.h search.h rats.h \ - select.h operation.h undo.h ../src_3rd/libuundo/uundo.h undo_old.h \ - hid_actions.h compat_nls.h obj_all.h \ - ../src_plugins/lib_gtk_common/util_str.h \ + obj_pstk_shape.h polygon.h vtpadstack_t.h draw.h error.h macro.h const.h \ + find.h rats.h netlist.h route_style.h remove.h search.h rats.h select.h \ + operation.h undo.h ../src_3rd/libuundo/uundo.h undo_old.h hid_actions.h \ + compat_nls.h obj_all.h ../src_plugins/lib_gtk_common/util_str.h \ ../src_plugins/lib_gtk_common/win_place.h \ ../src_plugins/lib_gtk_common/bu_text_view.h \ ../src_plugins/lib_gtk_common/bu_box.h \ @@ -3269,7 +3253,7 @@ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h macro.h move.h misc_util.h hid.h error.h drc.h layer.h \ obj_all_list.h obj_elem_list.h obj_elem.h ht_element.h \ - ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h obj_text_list.h \ + ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h obj_text_list.h \ obj_rat_list.h obj_rat.h layer_grp.h \ ../src_plugins/lib_gtk_common/glue.h conf.h pcb-printf.h \ ../src_3rd/genvector/gds_char.h ../src_3rd/genvector/genvector_impl.h \ @@ -3280,7 +3264,7 @@ ../src_plugins/lib_gtk_common/compat.h conf_core.h copy.h data.h \ crosshair.h vtonpoint.h hid.h route.h const.h buffer.h obj_subc_list.h \ obj_subc.h ../src_3rd/libminuid/libminuid.h rtree.h ht_subc.h \ - vtpadstack.h obj_padstack_shape.h polygon.h vtpadstack_t.h draw.h move.h \ + vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h draw.h move.h \ rotate.h macro.h ../src_plugins/lib_gtk_common/wt_preview.h layer.h \ ../src_plugins/lib_gtk_common/ui_zoompan.h unit.h pcb_bool.h \ ../src_plugins/lib_gtk_common/in_mouse.h hid_cfg_input.h hid_cfg.h \ @@ -3302,7 +3286,7 @@ obj_line.h obj_pad_list.h obj_pad.h obj_pinvia_list.h obj_pinvia.h \ obj_text.h font.h ../src_3rd/genht/htip.h obj_poly.h polyarea.h \ obj_poly_list.h box.h math_helper.h macro.h move.h misc_util.h \ - ht_element.h ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h \ + ht_element.h ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h \ obj_text_list.h obj_rat_list.h obj_rat.h layer_grp.h pcb-printf.h \ hid_attrib.h hid.h hid_init.h misc_util.h compat_misc.h compat_nls.h \ ../src_plugins/lib_gtk_common/dlg_attribute.h @@ -3323,7 +3307,7 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h macro.h move.h misc_util.h ht_element.h \ - ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h obj_text_list.h \ + ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h obj_text_list.h \ obj_rat_list.h obj_rat.h layer_grp.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 \ @@ -3334,7 +3318,7 @@ polygon.h rtree.h obj_all.h board.h const.h vtroutestyle.h library.h \ rats_patch.h board.h data.h crosshair.h vtonpoint.h hid.h route.h \ buffer.h obj_subc_list.h obj_subc.h ../src_3rd/libminuid/libminuid.h \ - ht_subc.h vtpadstack.h obj_padstack_shape.h polygon.h vtpadstack_t.h \ + ht_subc.h vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h \ conf_core.h buffer.h draw.h ../src_plugins/lib_gtk_common/bu_box.h \ ../src_plugins/lib_gtk_common/wt_preview.h obj_elem.h layer.h \ ../src_plugins/lib_gtk_common/ui_zoompan.h unit.h pcb_bool.h \ @@ -3359,8 +3343,8 @@ ../src_plugins/lib_gtk_common/compat.h board.h const.h vtroutestyle.h \ ../src_3rd/genvector/genvector_impl.h \ ../src_3rd/genvector/genvector_undef.h layer.h obj_all_list.h \ - obj_elem_list.h ht_element.h ../src_3rd/genht/ht.h obj_padstack_list.h \ - obj_padstack.h obj_text_list.h obj_rat_list.h layer_grp.h library.h \ + obj_elem_list.h ht_element.h ../src_3rd/genht/ht.h obj_pstk_list.h \ + obj_pstk.h obj_text_list.h obj_rat_list.h layer_grp.h library.h \ rats_patch.h board.h conf_core.h conf.h pcb-printf.h \ ../src_3rd/genvector/gds_char.h ../src_3rd/liblihata/lihata.h \ ../src_3rd/liblihata/dom.h ../src_3rd/liblihata/lihata.h \ @@ -3384,7 +3368,7 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h macro.h move.h misc_util.h ht_element.h \ - ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h obj_text_list.h \ + ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h obj_text_list.h \ obj_rat_list.h obj_rat.h layer_grp.h compat_nls.h misc_util.h \ pcb-printf.h conf_core.h conf.h pcb-printf.h \ ../src_3rd/liblihata/lihata.h ../src_3rd/liblihata/dom.h \ @@ -3415,9 +3399,9 @@ obj_line_list.h obj_line.h obj_pad_list.h obj_pad.h obj_pinvia_list.h \ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h obj_poly.h \ polyarea.h obj_poly_list.h box.h math_helper.h macro.h move.h \ - misc_util.h ht_element.h ../src_3rd/genht/ht.h obj_padstack_list.h \ - obj_padstack.h obj_text_list.h obj_rat_list.h obj_rat.h layer_grp.h \ - conf.h pcb-printf.h ../src_3rd/genvector/gds_char.h \ + misc_util.h ht_element.h ../src_3rd/genht/ht.h obj_pstk_list.h \ + obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h layer_grp.h conf.h \ + pcb-printf.h ../src_3rd/genvector/gds_char.h \ ../src_3rd/liblihata/lihata.h ../src_3rd/genvector/vtp0.h list_conf.h \ conf.h ../src_plugins/lib_gtk_common/compat.h hid_cfg_input.h hid_cfg.h \ conf_hid.h ../src_plugins/lib_gtk_common/bu_mode_btn.h \ @@ -3457,7 +3441,7 @@ obj_line_list.h obj_line.h obj_pad_list.h obj_pad.h obj_pinvia_list.h \ obj_pinvia.h obj_text.h font.h obj_poly.h polyarea.h obj_poly_list.h \ box.h math_helper.h macro.h move.h misc_util.h ht_element.h \ - ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h obj_text_list.h \ + ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h obj_text_list.h \ obj_rat_list.h obj_rat.h layer_grp.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 \ @@ -3478,7 +3462,7 @@ obj_line_list.h obj_line.h obj_pad_list.h obj_pad.h obj_pinvia_list.h \ obj_pinvia.h obj_text.h font.h obj_poly.h polyarea.h obj_poly_list.h \ box.h math_helper.h macro.h move.h misc_util.h ht_element.h \ - ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h obj_text_list.h \ + ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h obj_text_list.h \ obj_rat_list.h obj_rat.h layer_grp.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 \ @@ -3515,7 +3499,7 @@ obj_line_list.h obj_line.h obj_pad_list.h obj_pad.h obj_pinvia_list.h \ obj_pinvia.h obj_text.h font.h obj_poly.h polyarea.h obj_poly_list.h \ box.h math_helper.h macro.h move.h misc_util.h ht_element.h \ - ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h obj_text_list.h \ + ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h obj_text_list.h \ obj_rat_list.h obj_rat.h layer_grp.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 \ @@ -3539,7 +3523,7 @@ obj_line_list.h obj_line.h obj_pad_list.h obj_pad.h obj_pinvia_list.h \ obj_pinvia.h obj_text.h font.h obj_poly.h polyarea.h obj_poly_list.h \ box.h math_helper.h macro.h move.h misc_util.h ht_element.h \ - ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h obj_text_list.h \ + ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h obj_text_list.h \ obj_rat_list.h obj_rat.h layer_grp.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 \ @@ -3549,7 +3533,7 @@ board.h compat_misc.h compat_nls.h draw.h hid.h data.h crosshair.h \ vtonpoint.h route.h buffer.h obj_subc_list.h obj_subc.h \ ../src_3rd/libminuid/libminuid.h rtree.h ht_subc.h vtpadstack.h \ - obj_padstack_shape.h polygon.h vtpadstack_t.h layer_vis.h \ + obj_pstk_shape.h polygon.h vtpadstack_t.h layer_vis.h \ ../src_plugins/lib_gtk_common/bu_status_line.h ../src_plugins/lib_gtk_common/util_block_hook.o: \ ../src_plugins/lib_gtk_common/util_block_hook.c ../config.h \ @@ -3563,7 +3547,7 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h macro.h move.h misc_util.h ht_element.h \ - ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h obj_text_list.h \ + ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h obj_text_list.h \ obj_rat_list.h obj_rat.h layer_grp.h ../src_plugins/lib_gtk_common/util_ext_chg.o: \ ../src_plugins/lib_gtk_common/util_ext_chg.c ../config.h \ @@ -3579,8 +3563,8 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h move.h misc_util.h ht_element.h ../src_3rd/genht/ht.h \ - obj_padstack_list.h obj_padstack.h obj_text_list.h obj_rat_list.h \ - obj_rat.h layer_grp.h library.h rats_patch.h board.h + obj_pstk_list.h obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h \ + layer_grp.h library.h rats_patch.h board.h ../src_plugins/lib_gtk_common/util_listener.o: \ ../src_plugins/lib_gtk_common/util_listener.c ../config.h hid.h error.h \ drc.h unit.h global_typedefs.h pcb_bool.h attrib.h layer.h globalconst.h \ @@ -3592,7 +3576,7 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h macro.h move.h misc_util.h ht_element.h \ - ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h obj_text_list.h \ + ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h obj_text_list.h \ obj_rat_list.h obj_rat.h layer_grp.h hid_actions.h hid.h ../src_plugins/lib_gtk_common/util_str.o: \ ../src_plugins/lib_gtk_common/util_str.c ../config.h \ @@ -3609,7 +3593,7 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h macro.h move.h misc_util.h ht_element.h \ - ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h obj_text_list.h \ + ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h obj_text_list.h \ obj_rat_list.h obj_rat.h layer_grp.h \ ../src_plugins/lib_gtk_common/glue.h conf.h pcb-printf.h \ ../src_3rd/genvector/gds_char.h ../src_3rd/genvector/genvector_impl.h \ @@ -3630,7 +3614,7 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h macro.h move.h misc_util.h ht_element.h \ - ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h obj_text_list.h \ + ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h obj_text_list.h \ obj_rat_list.h obj_rat.h layer_grp.h \ ../src_plugins/lib_gtk_common/glue.h conf.h pcb-printf.h \ ../src_3rd/genvector/gds_char.h ../src_3rd/genvector/genvector_impl.h \ @@ -3672,7 +3656,7 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h macro.h move.h misc_util.h ht_element.h \ - ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h obj_text_list.h \ + ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h obj_text_list.h \ obj_rat_list.h obj_rat.h layer_grp.h layer.h layer_ui.h \ ../src_3rd/genvector/genvector_impl.h \ ../src_3rd/genvector/genvector_undef.h layer_vis.h board.h const.h \ @@ -3679,13 +3663,12 @@ vtroutestyle.h layer_grp.h library.h rats_patch.h board.h data.h \ crosshair.h vtonpoint.h hid.h error.h drc.h route.h buffer.h \ obj_subc_list.h obj_subc.h ../src_3rd/libminuid/libminuid.h \ - ../src_3rd/genht/htsp.h rtree.h ht_subc.h vtpadstack.h \ - obj_padstack_shape.h polygon.h vtpadstack_t.h conf_core.h conf.h \ - pcb-printf.h ../src_3rd/genvector/gds_char.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 hid_actions.h math_helper.h \ - ../src_plugins/lib_gtk_common/wt_layersel.h \ + ../src_3rd/genht/htsp.h rtree.h ht_subc.h vtpadstack.h obj_pstk_shape.h \ + polygon.h vtpadstack_t.h conf_core.h conf.h pcb-printf.h \ + ../src_3rd/genvector/gds_char.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 \ + hid_actions.h math_helper.h ../src_plugins/lib_gtk_common/wt_layersel.h \ ../src_plugins/lib_gtk_common/glue.h hid.h conf.h \ ../src_plugins/lib_gtk_common/compat.h ../src_plugins/lib_gtk_common/wt_preview.o: \ @@ -3706,7 +3689,7 @@ obj_line_list.h obj_line.h obj_pad_list.h obj_pad.h obj_pinvia_list.h \ obj_pinvia.h obj_text.h font.h obj_poly.h polyarea.h obj_poly_list.h \ box.h math_helper.h macro.h move.h misc_util.h ht_element.h \ - ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h obj_text_list.h \ + ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h obj_text_list.h \ obj_rat_list.h obj_rat.h layer_grp.h conf.h \ ../src_plugins/lib_gtk_common/compat.h \ ../src_plugins/lib_gtk_common/wt_preview.h obj_elem.h layer.h \ @@ -3714,7 +3697,7 @@ board.h const.h vtroutestyle.h library.h rats_patch.h board.h data.h \ crosshair.h vtonpoint.h hid.h route.h buffer.h obj_subc_list.h \ obj_subc.h ../src_3rd/libminuid/libminuid.h rtree.h ht_subc.h \ - vtpadstack.h obj_padstack_shape.h polygon.h vtpadstack_t.h draw.h move.h \ + vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h draw.h move.h \ rotate.h obj_all.h macro.h ../src_plugins/lib_gtk_common/wt_route_style.o: \ ../src_plugins/lib_gtk_common/wt_route_style.c ../config.h conf_core.h \ @@ -3735,7 +3718,7 @@ obj_line.h obj_pad_list.h obj_pad.h obj_pinvia_list.h obj_pinvia.h \ obj_text.h font.h ../src_3rd/genht/htip.h obj_poly.h polyarea.h \ obj_poly_list.h box.h math_helper.h macro.h move.h misc_util.h \ - ht_element.h ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h \ + ht_element.h ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h \ obj_text_list.h obj_rat_list.h obj_rat.h layer_grp.h conf.h \ ../src_plugins/lib_gtk_common/compat.h pcb-printf.h board.h const.h \ library.h rats_patch.h board.h compat_nls.h \ @@ -3769,7 +3752,7 @@ obj_line.h obj_pad_list.h obj_pad.h obj_pinvia_list.h obj_pinvia.h \ obj_text.h font.h ../src_3rd/genht/htip.h obj_poly.h polyarea.h \ obj_poly_list.h box.h math_helper.h macro.h move.h misc_util.h \ - ht_element.h ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h \ + ht_element.h ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h \ obj_text_list.h obj_rat_list.h obj_rat.h layer_grp.h event.h conf_hid.h \ ../src_plugins/lib_gtk_common/glue.h conf.h \ ../src_plugins/lib_gtk_common/compat.h board.h const.h vtroutestyle.h \ @@ -3776,7 +3759,7 @@ library.h rats_patch.h board.h data.h crosshair.h vtonpoint.h hid.h \ route.h buffer.h obj_subc_list.h obj_subc.h \ ../src_3rd/libminuid/libminuid.h rtree.h ht_subc.h vtpadstack.h \ - obj_padstack_shape.h polygon.h vtpadstack_t.h layer.h action_helper.h \ + obj_pstk_shape.h polygon.h vtpadstack_t.h layer.h action_helper.h \ change.h plug_io.h error.h draw.h pcb-printf.h hid_attrib.h misc_util.h \ paths.h plug_footprint.h vtlibrary.h stub_draw.h compat_misc.h \ compat_nls.h fptr_cast.h safe_fs.h ../src_3rd/liblihata/tree.h \ @@ -3809,7 +3792,7 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h macro.h move.h misc_util.h ht_element.h \ - ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h obj_text_list.h \ + ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h obj_text_list.h \ obj_rat_list.h obj_rat.h layer_grp.h event.h conf_hid.h conf.h \ pcb-printf.h ../src_3rd/genvector/gds_char.h \ ../src_3rd/genvector/genvector_impl.h \ @@ -3836,7 +3819,7 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h macro.h move.h misc_util.h ht_element.h \ - ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h obj_text_list.h \ + ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h obj_text_list.h \ obj_rat_list.h obj_rat.h layer_grp.h \ ../src_plugins/lib_gtk_common/ui_zoompan.h unit.h pcb_bool.h \ ../src_plugins/lib_gtk_common/in_mouse.h hid_cfg_input.h \ @@ -3863,8 +3846,8 @@ rats_patch.h board.h event.h ../src_plugins/lib_gtk_hid/render.h data.h \ crosshair.h vtonpoint.h hid.h route.h buffer.h obj_subc_list.h \ obj_subc.h ../src_3rd/libminuid/libminuid.h rtree.h ht_subc.h \ - vtpadstack.h obj_padstack_shape.h polygon.h vtpadstack_t.h search.h \ - rats.h netlist.h route_style.h change.h action_helper.h hid_attrib.h \ + vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h search.h rats.h \ + netlist.h route_style.h change.h action_helper.h hid_attrib.h \ hid_actions.h compat_nls.h compat_misc.h \ ../src_plugins/lib_gtk_common/act_print.h \ ../src_plugins/lib_gtk_common/act_fileio.h \ @@ -3890,7 +3873,7 @@ obj_pad.h obj_pinvia_list.h obj_pinvia.h obj_text.h font.h \ ../src_3rd/genht/htip.h ../src_3rd/genht/ht.h obj_poly.h polyarea.h \ obj_poly_list.h box.h math_helper.h macro.h move.h misc_util.h \ - ht_element.h ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h \ + ht_element.h ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h \ obj_text_list.h obj_rat_list.h obj_rat.h layer_grp.h \ ../src_plugins/lib_gtk_common/ui_zoompan.h unit.h pcb_bool.h \ ../src_plugins/lib_gtk_common/in_mouse.h hid_cfg_input.h \ @@ -3932,7 +3915,7 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h macro.h move.h misc_util.h ht_element.h \ - ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h obj_text_list.h \ + ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h obj_text_list.h \ obj_rat_list.h obj_rat.h layer_grp.h action_helper.h \ ../src_plugins/lib_gtk_hid/gui.h \ ../src_plugins/lib_gtk_common/ui_zoompan.h unit.h pcb_bool.h \ @@ -3979,7 +3962,7 @@ obj_pad.h obj_pinvia_list.h obj_pinvia.h obj_text.h font.h \ ../src_3rd/genht/htip.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h macro.h move.h misc_util.h ht_element.h \ - ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h obj_text_list.h \ + ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h obj_text_list.h \ obj_rat_list.h obj_rat.h layer_grp.h \ ../src_plugins/lib_gtk_common/ui_zoompan.h unit.h pcb_bool.h \ ../src_plugins/lib_gtk_common/in_mouse.h hid_cfg_input.h hid_cfg.h \ @@ -4020,9 +4003,9 @@ obj_line_list.h obj_line.h obj_pad_list.h obj_pad.h obj_pinvia_list.h \ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h obj_poly.h \ polyarea.h obj_poly_list.h box.h math_helper.h macro.h move.h \ - misc_util.h ht_element.h ../src_3rd/genht/ht.h obj_padstack_list.h \ - obj_padstack.h obj_text_list.h obj_rat_list.h obj_rat.h layer_grp.h \ - conf.h pcb-printf.h ../src_3rd/genvector/gds_char.h \ + misc_util.h ht_element.h ../src_3rd/genht/ht.h obj_pstk_list.h \ + obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h layer_grp.h conf.h \ + pcb-printf.h ../src_3rd/genvector/gds_char.h \ ../src_3rd/liblihata/lihata.h ../src_3rd/genvector/vtp0.h list_conf.h \ conf.h ../src_plugins/lib_gtk_common/compat.h hid_cfg_input.h hid_cfg.h \ conf_hid.h ../src_plugins/lib_gtk_common/bu_mode_btn.h \ @@ -4053,7 +4036,7 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h macro.h move.h misc_util.h ht_element.h \ - ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h obj_text_list.h \ + ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h obj_text_list.h \ obj_rat_list.h obj_rat.h layer_grp.h ../src_plugins/lib_gtk_hid/gui.h \ ../src_plugins/lib_gtk_common/ui_zoompan.h unit.h pcb_bool.h \ ../src_plugins/lib_gtk_common/in_mouse.h hid_cfg_input.h \ @@ -4121,7 +4104,7 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h macro.h move.h misc_util.h ht_element.h \ - ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h obj_text_list.h \ + ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h obj_text_list.h \ obj_rat_list.h obj_rat.h layer_grp.h \ ../src_plugins/lib_gtk_common/ui_zoompan.h unit.h pcb_bool.h \ ../src_plugins/lib_gtk_common/in_mouse.h hid_cfg_input.h \ @@ -4159,13 +4142,12 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h move.h misc_util.h ht_element.h ../src_3rd/genht/ht.h \ - obj_padstack_list.h obj_padstack.h obj_text_list.h obj_rat_list.h \ - obj_rat.h layer_grp.h library.h rats_patch.h board.h data.h crosshair.h \ + obj_pstk_list.h obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h \ + layer_grp.h library.h rats_patch.h board.h data.h crosshair.h \ vtonpoint.h hid.h error.h drc.h route.h buffer.h obj_subc_list.h \ obj_subc.h ../src_3rd/libminuid/libminuid.h ../src_3rd/genht/htsp.h \ - rtree.h ht_subc.h vtpadstack.h obj_padstack_shape.h polygon.h \ - vtpadstack_t.h hid.h layer.h layer_grp.h pcb-printf.h \ - ../src_3rd/genvector/gds_char.h + rtree.h ht_subc.h vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h \ + hid.h layer.h layer_grp.h pcb-printf.h ../src_3rd/genvector/gds_char.h ../src_plugins/lib_hid_common/lib_hid_common.o: \ ../src_plugins/lib_hid_common/lib_hid_common.c plugins.h \ ../src_3rd/puplug/puplug.h ../src_3rd/puplug/libs.h \ @@ -4184,11 +4166,11 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h macro.h move.h misc_util.h ht_element.h \ - ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h obj_text_list.h \ + ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h obj_text_list.h \ obj_rat_list.h obj_rat.h crosshair.h vtonpoint.h hid.h error.h drc.h \ layer_grp.h route.h const.h buffer.h obj_subc_list.h obj_subc.h \ ../src_3rd/libminuid/libminuid.h ../src_3rd/genht/htsp.h rtree.h \ - ht_subc.h vtpadstack.h obj_padstack_shape.h polygon.h vtpadstack_t.h \ + ht_subc.h vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h \ action_helper.h change.h board.h vtroutestyle.h library.h rats_patch.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 \ @@ -4210,17 +4192,16 @@ obj_line_list.h obj_line.h obj_pad_list.h obj_pad.h obj_pinvia_list.h \ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h obj_poly.h \ polyarea.h obj_poly_list.h box.h math_helper.h move.h misc_util.h \ - ht_element.h ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h \ + ht_element.h ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h \ obj_text_list.h obj_rat_list.h obj_rat.h layer_grp.h library.h \ rats_patch.h board.h library.h data.h crosshair.h vtonpoint.h hid.h \ error.h drc.h route.h buffer.h obj_subc_list.h obj_subc.h \ ../src_3rd/libminuid/libminuid.h ../src_3rd/genht/htsp.h rtree.h \ - ht_subc.h vtpadstack.h obj_padstack_shape.h polygon.h vtpadstack_t.h \ - find.h netlist.h route_style.h pcb-printf.h \ - ../src_3rd/genvector/gds_char.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 + ht_subc.h vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h find.h \ + netlist.h route_style.h pcb-printf.h ../src_3rd/genvector/gds_char.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/lib_padstack_hash/padstack_hash.o: \ ../src_plugins/lib_padstack_hash/padstack_hash.c ../config.h \ ../src_3rd/genht/htpp.h ../src_3rd/genht/ht.h \ @@ -4251,11 +4232,11 @@ obj_line_list.h obj_line.h obj_pad_list.h obj_pad.h obj_pinvia_list.h \ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h obj_poly_list.h box.h ht_element.h \ - ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h obj_text_list.h \ + ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h obj_text_list.h \ obj_rat_list.h obj_rat.h layer_grp.h library.h rats_patch.h board.h \ obj_common.h data.h crosshair.h vtonpoint.h hid.h error.h drc.h route.h \ buffer.h obj_subc_list.h obj_subc.h ../src_3rd/libminuid/libminuid.h \ - ../src_3rd/genht/htsp.h ht_subc.h vtpadstack.h obj_padstack_shape.h \ + ../src_3rd/genht/htsp.h ht_subc.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 ../src_3rd/liblihata/dom.h \ ../src_3rd/liblihata/lihata.h ../src_3rd/liblihata/parser.h \ @@ -4275,7 +4256,7 @@ obj_pad.h obj_pinvia_list.h obj_pinvia.h obj_text.h font.h \ ../src_3rd/genht/htip.h ../src_3rd/genht/ht.h obj_poly.h polyarea.h \ obj_poly_list.h box.h math_helper.h move.h misc_util.h ht_element.h \ - ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h obj_text_list.h \ + ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h obj_text_list.h \ obj_rat_list.h obj_rat.h layer_grp.h library.h rats_patch.h board.h \ obj_common.h error.h rtree.h obj_arc.h obj_line.h obj_poly.h \ obj_poly_draw.h polygon.h rtree.h search.h rats.h netlist.h \ @@ -4291,7 +4272,7 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h macro.h move.h misc_util.h ht_element.h \ - ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h obj_text_list.h \ + ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h obj_text_list.h \ obj_rat_list.h obj_rat.h layer_grp.h pcb-printf.h \ ../src_3rd/genvector/gds_char.h ../src_3rd/genvector/genvector_impl.h \ ../src_3rd/genvector/genvector_undef.h @@ -4310,11 +4291,11 @@ obj_pad.h obj_pinvia_list.h obj_pinvia.h obj_text.h font.h \ ../src_3rd/genht/htip.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h macro.h move.h misc_util.h ht_element.h \ - ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h obj_text_list.h \ + ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h obj_text_list.h \ obj_rat_list.h obj_rat.h crosshair.h vtonpoint.h hid.h error.h drc.h \ layer_grp.h route.h const.h buffer.h obj_subc_list.h obj_subc.h \ ../src_3rd/libminuid/libminuid.h rtree.h ht_subc.h vtpadstack.h \ - obj_padstack_shape.h polygon.h vtpadstack_t.h action_helper.h change.h \ + obj_pstk_shape.h polygon.h vtpadstack_t.h action_helper.h change.h \ board.h vtroutestyle.h library.h rats_patch.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 \ @@ -4336,7 +4317,7 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h macro.h move.h misc_util.h ht_element.h \ - ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h obj_text_list.h \ + ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h obj_text_list.h \ obj_rat_list.h obj_rat.h layer_grp.h ../src_plugins/millpath/toolpath.h \ layer.h layer_grp.h polygon.h rtree.h board.h const.h vtroutestyle.h \ ../src_3rd/genvector/genvector_impl.h \ @@ -4343,7 +4324,7 @@ ../src_3rd/genvector/genvector_undef.h library.h rats_patch.h board.h \ data.h crosshair.h vtonpoint.h route.h buffer.h obj_subc_list.h \ obj_subc.h ../src_3rd/libminuid/libminuid.h ../src_3rd/genht/htsp.h \ - ht_subc.h vtpadstack.h obj_padstack_shape.h polygon.h vtpadstack_t.h \ + ht_subc.h vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h \ dolists.h ../src_plugins/millpath/toolpath.o: ../src_plugins/millpath/toolpath.c \ ../config.h ../src_plugins/millpath/toolpath.h layer.h globalconst.h \ @@ -4356,7 +4337,7 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h macro.h move.h misc_util.h ht_element.h \ - ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h obj_text_list.h \ + ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h obj_text_list.h \ obj_rat_list.h obj_rat.h layer_grp.h layer.h polygon.h rtree.h board.h \ const.h vtroutestyle.h ../src_3rd/genvector/genvector_impl.h \ ../src_3rd/genvector/genvector_undef.h layer_grp.h library.h \ @@ -4363,9 +4344,9 @@ rats_patch.h board.h data.h crosshair.h vtonpoint.h hid.h error.h drc.h \ route.h buffer.h obj_subc_list.h obj_subc.h \ ../src_3rd/libminuid/libminuid.h ../src_3rd/genht/htsp.h ht_subc.h \ - vtpadstack.h obj_padstack_shape.h polygon.h vtpadstack_t.h flag.h \ - layer_ui.h obj_line.h obj_line_op.h operation.h obj_arc.h obj_poly.h \ - obj_poly_op.h ../src_plugins/lib_polyhelp/polyhelp.h + vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h flag.h layer_ui.h \ + obj_line.h obj_line_op.h operation.h obj_arc.h obj_poly.h obj_poly_op.h \ + ../src_plugins/lib_polyhelp/polyhelp.h ../src_plugins/mincut/pcb-mincut/graph.o: \ ../src_plugins/mincut/pcb-mincut/graph.c \ ../src_plugins/mincut/pcb-mincut/graph.h \ @@ -4394,14 +4375,14 @@ obj_pad.h obj_pinvia_list.h obj_pinvia.h obj_text.h font.h \ ../src_3rd/genht/htip.h ../src_3rd/genht/ht.h obj_poly.h polyarea.h \ obj_poly_list.h box.h math_helper.h macro.h move.h misc_util.h \ - ht_element.h ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h \ + ht_element.h ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h \ obj_text_list.h obj_rat_list.h obj_rat.h crosshair.h vtonpoint.h \ ../src_3rd/genvector/genvector_impl.h \ ../src_3rd/genvector/genvector_undef.h hid.h error.h drc.h layer_grp.h \ route.h const.h buffer.h obj_subc_list.h obj_subc.h \ ../src_3rd/libminuid/libminuid.h ../src_3rd/genht/htsp.h rtree.h \ - ht_subc.h vtpadstack.h obj_padstack_shape.h polygon.h vtpadstack_t.h \ - draw.h error.h plug_io.h library.h conf.h pcb-printf.h \ + ht_subc.h vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h draw.h \ + error.h plug_io.h library.h conf.h pcb-printf.h \ ../src_3rd/genvector/gds_char.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 \ @@ -4432,11 +4413,11 @@ obj_pad.h obj_pinvia_list.h obj_pinvia.h obj_text.h font.h \ ../src_3rd/genht/htip.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h macro.h move.h misc_util.h ht_element.h \ - ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h obj_text_list.h \ + ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h obj_text_list.h \ obj_rat_list.h obj_rat.h crosshair.h vtonpoint.h hid.h error.h drc.h \ layer_grp.h route.h const.h buffer.h obj_subc_list.h obj_subc.h \ ../src_3rd/libminuid/libminuid.h rtree.h ht_subc.h vtpadstack.h \ - obj_padstack_shape.h polygon.h vtpadstack_t.h action_helper.h change.h \ + obj_pstk_shape.h polygon.h vtpadstack_t.h action_helper.h change.h \ board.h vtroutestyle.h library.h rats_patch.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 \ @@ -4456,14 +4437,14 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h move.h misc_util.h ht_element.h ../src_3rd/genht/ht.h \ - obj_padstack_list.h obj_padstack.h obj_text_list.h obj_rat_list.h \ - obj_rat.h layer_grp.h library.h rats_patch.h board.h data.h crosshair.h \ + obj_pstk_list.h obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h \ + layer_grp.h library.h rats_patch.h board.h data.h crosshair.h \ vtonpoint.h hid.h error.h drc.h route.h buffer.h obj_subc_list.h \ obj_subc.h ../src_3rd/libminuid/libminuid.h ../src_3rd/genht/htsp.h \ - rtree.h ht_subc.h vtpadstack.h obj_padstack_shape.h polygon.h \ - vtpadstack_t.h macro.h remove.h hid.h error.h rtree.h polygon.h \ - 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 \ + rtree.h ht_subc.h vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h \ + macro.h remove.h hid.h error.h rtree.h polygon.h polyarea.h flag_str.h \ + find.h draw.h undo.h ../src_3rd/libuundo/uundo.h undo_old.h plugins.h \ + ../src_3rd/puplug/puplug.h ../src_3rd/puplug/libs.h \ ../src_3rd/puplug/os_dep.h ../src_3rd/puplug/config.h \ ../src_3rd/puplug/libs.h ../src_3rd/puplug/error.h hid_actions.h \ obj_poly.h dolists.h @@ -4480,13 +4461,13 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h move.h misc_util.h ht_element.h ../src_3rd/genht/ht.h \ - obj_padstack_list.h obj_padstack.h obj_text_list.h obj_rat_list.h \ - obj_rat.h layer_grp.h library.h rats_patch.h board.h data.h crosshair.h \ + obj_pstk_list.h obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h \ + layer_grp.h library.h rats_patch.h board.h data.h crosshair.h \ vtonpoint.h hid.h error.h drc.h route.h buffer.h obj_subc_list.h \ obj_subc.h ../src_3rd/libminuid/libminuid.h ../src_3rd/genht/htsp.h \ - rtree.h ht_subc.h vtpadstack.h obj_padstack_shape.h polygon.h \ - 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 \ + rtree.h ht_subc.h vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h \ + macro.h remove.h hid.h error.h rtree.h draw.h polygon.h plugins.h \ + ../src_3rd/puplug/puplug.h ../src_3rd/puplug/libs.h \ ../src_3rd/puplug/os_dep.h ../src_3rd/puplug/config.h \ ../src_3rd/puplug/libs.h ../src_3rd/puplug/error.h hid_actions.h \ obj_poly.h obj_poly_draw.h dolists.h @@ -4505,8 +4486,8 @@ obj_line_list.h obj_line.h obj_pad_list.h obj_pad.h obj_pinvia_list.h \ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h obj_poly.h \ polyarea.h obj_poly_list.h box.h math_helper.h macro.h move.h \ - misc_util.h ht_element.h obj_padstack_list.h obj_padstack.h \ - obj_text_list.h obj_rat_list.h obj_rat.h layer_grp.h pcb-printf.h \ + misc_util.h ht_element.h obj_pstk_list.h obj_pstk.h obj_text_list.h \ + obj_rat_list.h obj_rat.h layer_grp.h pcb-printf.h \ ../src_3rd/genvector/gds_char.h ../src_3rd/genvector/genvector_impl.h \ ../src_3rd/genvector/genvector_undef.h error.h dolists.h ../src_plugins/propedit/props.o: ../src_plugins/propedit/props.c \ @@ -4524,9 +4505,9 @@ obj_line_list.h obj_line.h obj_pad_list.h obj_pad.h obj_pinvia_list.h \ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h obj_poly.h \ polyarea.h obj_poly_list.h box.h math_helper.h macro.h move.h \ - misc_util.h ht_element.h obj_padstack_list.h obj_padstack.h \ - obj_text_list.h obj_rat_list.h obj_rat.h layer_grp.h \ - ../src_3rd/genht/ht.c ../src_3rd/genht/ht_inlines.h + misc_util.h ht_element.h obj_pstk_list.h obj_pstk.h obj_text_list.h \ + obj_rat_list.h obj_rat.h layer_grp.h ../src_3rd/genht/ht.c \ + ../src_3rd/genht/ht_inlines.h ../src_plugins/propedit/propsel.o: ../src_plugins/propedit/propsel.c \ ../config.h const.h data.h globalconst.h global_typedefs.h pcb_bool.h \ unit.h layer.h attrib.h obj_all_list.h obj_arc_list.h obj_common.h \ @@ -4537,13 +4518,13 @@ obj_pad.h obj_pinvia_list.h obj_pinvia.h obj_text.h font.h \ ../src_3rd/genht/htip.h ../src_3rd/genht/ht.h obj_poly.h polyarea.h \ obj_poly_list.h box.h math_helper.h macro.h move.h misc_util.h \ - ht_element.h ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h \ + ht_element.h ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h \ obj_text_list.h obj_rat_list.h obj_rat.h crosshair.h vtonpoint.h \ ../src_3rd/genvector/genvector_impl.h \ ../src_3rd/genvector/genvector_undef.h hid.h error.h drc.h layer_grp.h \ route.h const.h buffer.h obj_subc_list.h obj_subc.h \ ../src_3rd/libminuid/libminuid.h ../src_3rd/genht/htsp.h rtree.h \ - ht_subc.h vtpadstack.h obj_padstack_shape.h polygon.h vtpadstack_t.h \ + ht_subc.h vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h \ ../src_plugins/propedit/props.h global_typedefs.h \ ../src_plugins/propedit/propsel.h change.h board.h vtroutestyle.h \ library.h rats_patch.h misc_util.h compat_misc.h undo.h \ @@ -4564,12 +4545,12 @@ obj_line_list.h obj_line.h obj_pad_list.h obj_pad.h obj_pinvia_list.h \ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h obj_poly.h \ polyarea.h obj_poly_list.h box.h math_helper.h move.h misc_util.h \ - ht_element.h ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h \ + ht_element.h ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h \ obj_text_list.h obj_rat_list.h obj_rat.h layer_grp.h library.h \ rats_patch.h board.h data.h crosshair.h vtonpoint.h hid.h error.h drc.h \ route.h buffer.h obj_subc_list.h obj_subc.h \ ../src_3rd/libminuid/libminuid.h rtree.h ht_subc.h vtpadstack.h \ - obj_padstack_shape.h polygon.h vtpadstack_t.h draw.h move.h pcb-printf.h \ + obj_pstk_shape.h polygon.h vtpadstack_t.h draw.h move.h pcb-printf.h \ remove.h rtree.h flag_str.h undo.h ../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 \ @@ -4586,13 +4567,13 @@ obj_pad.h obj_pinvia_list.h obj_pinvia.h obj_text.h font.h \ ../src_3rd/genht/htip.h ../src_3rd/genht/ht.h obj_poly.h polyarea.h \ obj_poly_list.h box.h math_helper.h macro.h move.h misc_util.h \ - ht_element.h ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h \ + ht_element.h ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h \ obj_text_list.h obj_rat_list.h obj_rat.h crosshair.h vtonpoint.h \ ../src_3rd/genvector/genvector_impl.h \ ../src_3rd/genvector/genvector_undef.h hid.h error.h drc.h layer_grp.h \ route.h const.h buffer.h obj_subc_list.h obj_subc.h \ ../src_3rd/libminuid/libminuid.h ../src_3rd/genht/htsp.h rtree.h \ - ht_subc.h vtpadstack.h obj_padstack_shape.h polygon.h vtpadstack_t.h \ + ht_subc.h vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h \ ../src_plugins/query/query_access.h ../src_plugins/query/query.h \ obj_any.h ../src_3rd/genht/htsi.h ../src_3rd/genregex/regex_se.h \ ../src_3rd/genregex/regex_templ.h ../src_3rd/genregex/regex.h \ @@ -4614,11 +4595,11 @@ obj_line_list.h obj_line.h obj_pad_list.h obj_pad.h obj_pinvia_list.h \ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h obj_poly.h \ polyarea.h obj_poly_list.h box.h math_helper.h macro.h move.h \ - misc_util.h ht_element.h ../src_3rd/genht/ht.h obj_padstack_list.h \ - obj_padstack.h obj_text_list.h obj_rat_list.h obj_rat.h crosshair.h \ + misc_util.h ht_element.h ../src_3rd/genht/ht.h obj_pstk_list.h \ + obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h crosshair.h \ vtonpoint.h hid.h error.h drc.h layer_grp.h route.h const.h buffer.h \ obj_subc_list.h obj_subc.h ../src_3rd/libminuid/libminuid.h rtree.h \ - ht_subc.h vtpadstack.h obj_padstack_shape.h polygon.h vtpadstack_t.h \ + ht_subc.h vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h \ action_helper.h change.h board.h vtroutestyle.h library.h rats_patch.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 \ @@ -4641,16 +4622,16 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h move.h misc_util.h ht_element.h ../src_3rd/genht/ht.h \ - obj_padstack_list.h obj_padstack.h obj_text_list.h obj_rat_list.h \ - obj_rat.h layer_grp.h library.h rats_patch.h board.h data.h crosshair.h \ + obj_pstk_list.h obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h \ + layer_grp.h library.h rats_patch.h board.h data.h crosshair.h \ vtonpoint.h hid.h error.h drc.h route.h buffer.h obj_subc_list.h \ obj_subc.h ../src_3rd/libminuid/libminuid.h ../src_3rd/genht/htsp.h \ - rtree.h ht_subc.h vtpadstack.h obj_padstack_shape.h polygon.h \ - vtpadstack_t.h ../src_plugins/query/query_access.h \ - ../src_plugins/query/query.h obj_any.h ../src_3rd/genht/htsi.h \ - ../src_3rd/genregex/regex_se.h ../src_3rd/genregex/regex_templ.h \ - ../src_3rd/genregex/regex.h ../src_plugins/query/fields_sphash.h \ - ../src_plugins/query/query_exec.h layer.h + rtree.h ht_subc.h vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h \ + ../src_plugins/query/query_access.h ../src_plugins/query/query.h \ + obj_any.h ../src_3rd/genht/htsi.h ../src_3rd/genregex/regex_se.h \ + ../src_3rd/genregex/regex_templ.h ../src_3rd/genregex/regex.h \ + ../src_plugins/query/fields_sphash.h ../src_plugins/query/query_exec.h \ + layer.h ../src_plugins/query/query_act.o: ../src_plugins/query/query_act.c \ ../config.h ../src_plugins/query/query.h obj_any.h obj_common.h \ ../src_3rd/genht/hash.h ../src_3rd/genlist/gendlist.h flag.h \ @@ -4665,9 +4646,9 @@ obj_elem.h obj_line_list.h obj_line.h obj_pad_list.h obj_pad.h \ obj_pinvia_list.h obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ obj_poly.h polyarea.h obj_poly_list.h box.h math_helper.h macro.h move.h \ - misc_util.h ht_element.h ../src_3rd/genht/ht.h obj_padstack_list.h \ - obj_padstack.h obj_text_list.h obj_rat_list.h obj_rat.h layer_grp.h \ - select.h operation.h board.h const.h vtroutestyle.h \ + misc_util.h ht_element.h ../src_3rd/genht/ht.h obj_pstk_list.h \ + obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h layer_grp.h select.h \ + operation.h board.h const.h vtroutestyle.h \ ../src_3rd/genvector/genvector_impl.h \ ../src_3rd/genvector/genvector_undef.h library.h rats_patch.h board.h \ macro.h dolists.h @@ -4681,13 +4662,13 @@ obj_pad.h obj_pinvia_list.h obj_pinvia.h obj_text.h font.h \ ../src_3rd/genht/htip.h ../src_3rd/genht/ht.h obj_poly.h polyarea.h \ obj_poly_list.h box.h math_helper.h macro.h move.h misc_util.h \ - ht_element.h ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h \ + ht_element.h ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h \ obj_text_list.h obj_rat_list.h obj_rat.h crosshair.h vtonpoint.h \ ../src_3rd/genvector/genvector_impl.h \ ../src_3rd/genvector/genvector_undef.h hid.h error.h drc.h layer_grp.h \ route.h const.h buffer.h obj_subc_list.h obj_subc.h \ ../src_3rd/libminuid/libminuid.h ../src_3rd/genht/htsp.h rtree.h \ - ht_subc.h vtpadstack.h obj_padstack_shape.h polygon.h vtpadstack_t.h \ + ht_subc.h vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h \ ../src_plugins/query/query.h obj_any.h ../src_3rd/genht/htsi.h \ ../src_3rd/genregex/regex_se.h ../src_3rd/genregex/regex_templ.h \ ../src_3rd/genregex/regex.h ../src_plugins/query/fields_sphash.h \ @@ -4707,7 +4688,7 @@ obj_pad.h obj_pinvia_list.h obj_pinvia.h obj_text.h font.h \ ../src_3rd/genht/htip.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h macro.h move.h misc_util.h ht_element.h \ - ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h obj_text_list.h \ + ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h obj_text_list.h \ obj_rat_list.h obj_rat.h ../src_plugins/query/query_y.o: ../src_plugins/query/query_y.c const.h \ unit.h ../config.h ../src_plugins/query/query.h obj_any.h obj_common.h \ @@ -4731,14 +4712,13 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h move.h misc_util.h ht_element.h ../src_3rd/genht/ht.h \ - obj_padstack_list.h obj_padstack.h obj_text_list.h obj_rat_list.h \ - obj_rat.h layer_grp.h library.h rats_patch.h board.h data.h crosshair.h \ + obj_pstk_list.h obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h \ + layer_grp.h library.h rats_patch.h board.h data.h crosshair.h \ vtonpoint.h hid.h error.h drc.h route.h buffer.h obj_subc_list.h \ obj_subc.h ../src_3rd/libminuid/libminuid.h ../src_3rd/genht/htsp.h \ - rtree.h ht_subc.h vtpadstack.h obj_padstack_shape.h polygon.h \ - vtpadstack_t.h action_helper.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 \ + rtree.h ht_subc.h vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h \ + action_helper.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 hid_actions.h \ conf_core.h conf.h pcb-printf.h ../src_3rd/genvector/gds_char.h \ @@ -4759,16 +4739,16 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h move.h misc_util.h ht_element.h ../src_3rd/genht/ht.h \ - obj_padstack_list.h obj_padstack.h obj_text_list.h obj_rat_list.h \ - obj_rat.h layer_grp.h library.h rats_patch.h board.h data.h crosshair.h \ + obj_pstk_list.h obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h \ + layer_grp.h library.h rats_patch.h board.h data.h crosshair.h \ vtonpoint.h hid.h error.h drc.h route.h buffer.h obj_subc_list.h \ obj_subc.h ../src_3rd/libminuid/libminuid.h ../src_3rd/genht/htsp.h \ - rtree.h ht_subc.h vtpadstack.h obj_padstack_shape.h polygon.h \ - vtpadstack_t.h hid.h rtree.h undo.h ../src_3rd/libuundo/uundo.h \ - undo_old.h error.h change.h conf_core.h conf.h pcb-printf.h \ - ../src_3rd/genvector/gds_char.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 + rtree.h ht_subc.h vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h \ + hid.h rtree.h undo.h ../src_3rd/libuundo/uundo.h undo_old.h error.h \ + change.h conf_core.h conf.h pcb-printf.h ../src_3rd/genvector/gds_char.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 ../src_plugins/report/drill.o: ../src_plugins/report/drill.c ../config.h \ data.h globalconst.h global_typedefs.h pcb_bool.h unit.h layer.h \ attrib.h obj_all_list.h obj_arc_list.h obj_common.h \ @@ -4779,13 +4759,13 @@ obj_pad.h obj_pinvia_list.h obj_pinvia.h obj_text.h font.h \ ../src_3rd/genht/htip.h ../src_3rd/genht/ht.h obj_poly.h polyarea.h \ obj_poly_list.h box.h math_helper.h macro.h move.h misc_util.h \ - ht_element.h ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h \ + ht_element.h ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h \ obj_text_list.h obj_rat_list.h obj_rat.h crosshair.h vtonpoint.h \ ../src_3rd/genvector/genvector_impl.h \ ../src_3rd/genvector/genvector_undef.h hid.h error.h drc.h layer_grp.h \ route.h const.h buffer.h obj_subc_list.h obj_subc.h \ ../src_3rd/libminuid/libminuid.h ../src_3rd/genht/htsp.h rtree.h \ - ht_subc.h vtpadstack.h obj_padstack_shape.h polygon.h vtpadstack_t.h \ + ht_subc.h vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h \ ../src_plugins/report/drill.h macro.h obj_pinvia.h ../src_plugins/report/report.o: ../src_plugins/report/report.c \ ../config.h conf_core.h conf.h global_typedefs.h pcb_bool.h unit.h \ @@ -4804,22 +4784,21 @@ obj_line_list.h obj_line.h obj_pad_list.h obj_pad.h obj_pinvia_list.h \ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h obj_poly.h \ polyarea.h obj_poly_list.h box.h math_helper.h macro.h move.h \ - misc_util.h ht_element.h ../src_3rd/genht/ht.h obj_padstack_list.h \ - obj_padstack.h obj_text_list.h obj_rat_list.h obj_rat.h layer_grp.h \ - route.h const.h board.h vtroutestyle.h library.h rats_patch.h board.h \ - data.h crosshair.h buffer.h obj_subc_list.h obj_subc.h \ + misc_util.h ht_element.h ../src_3rd/genht/ht.h obj_pstk_list.h \ + obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h layer_grp.h route.h \ + const.h board.h vtroutestyle.h library.h rats_patch.h board.h data.h \ + crosshair.h buffer.h obj_subc_list.h obj_subc.h \ ../src_3rd/libminuid/libminuid.h rtree.h ht_subc.h vtpadstack.h \ - obj_padstack_shape.h polygon.h vtpadstack_t.h \ - ../src_plugins/report/drill.h error.h search.h rats.h netlist.h \ - route_style.h rats.h rtree.h flag_str.h macro.h undo.h \ - ../src_3rd/libuundo/uundo.h undo_old.h find.h draw.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 action_helper.h \ - hid_actions.h misc_util.h ../src_plugins/report/report_conf.h conf.h \ - compat_misc.h compat_nls.h layer.h obj_all.h \ - ../src_3rd/genregex/regex_sei.h ../src_3rd/genregex/regex_templ.h \ - ../src_3rd/genregex/regex.h dolists.h \ + obj_pstk_shape.h polygon.h vtpadstack_t.h ../src_plugins/report/drill.h \ + error.h search.h rats.h netlist.h route_style.h rats.h rtree.h \ + flag_str.h macro.h undo.h ../src_3rd/libuundo/uundo.h undo_old.h find.h \ + draw.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 action_helper.h hid_actions.h misc_util.h \ + ../src_plugins/report/report_conf.h conf.h compat_misc.h compat_nls.h \ + layer.h obj_all.h ../src_3rd/genregex/regex_sei.h \ + ../src_3rd/genregex/regex_templ.h ../src_3rd/genregex/regex.h dolists.h \ ../src_plugins/report/report_conf_fields.h ../src_plugins/rubberband_orig/fgeometry.o: \ ../src_plugins/rubberband_orig/fgeometry.c \ @@ -4840,14 +4819,14 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h move.h misc_util.h ht_element.h ../src_3rd/genht/ht.h \ - obj_padstack_list.h obj_padstack.h obj_text_list.h obj_rat_list.h \ - obj_rat.h layer_grp.h library.h rats_patch.h board.h data.h crosshair.h \ + obj_pstk_list.h obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h \ + layer_grp.h library.h rats_patch.h board.h data.h crosshair.h \ vtonpoint.h hid.h error.h drc.h route.h buffer.h obj_subc_list.h \ obj_subc.h ../src_3rd/libminuid/libminuid.h ../src_3rd/genht/htsp.h \ - rtree.h ht_subc.h vtpadstack.h obj_padstack_shape.h polygon.h \ - vtpadstack_t.h error.h event.h undo.h ../src_3rd/libuundo/uundo.h \ - undo_old.h operation.h rotate.h draw.h draw_wireframe.h crosshair.h \ - obj_rat_draw.h obj_line_op.h operation.h obj_line_draw.h plugins.h \ + rtree.h ht_subc.h vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h \ + error.h event.h undo.h ../src_3rd/libuundo/uundo.h undo_old.h \ + operation.h rotate.h draw.h draw_wireframe.h crosshair.h obj_rat_draw.h \ + obj_line_op.h operation.h obj_line_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 conf_core.h conf.h \ @@ -4874,13 +4853,13 @@ obj_line_list.h obj_line.h obj_pad_list.h obj_pad.h obj_pinvia_list.h \ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h obj_poly.h \ polyarea.h obj_poly_list.h box.h math_helper.h move.h misc_util.h \ - ht_element.h ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h \ + ht_element.h ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h \ obj_text_list.h obj_rat_list.h obj_rat.h layer_grp.h library.h \ rats_patch.h board.h build_run.h action_helper.h buffer.h \ ../src_plugins/shand_cmd/command.h data.h crosshair.h vtonpoint.h hid.h \ error.h drc.h route.h buffer.h obj_subc_list.h obj_subc.h \ ../src_3rd/libminuid/libminuid.h rtree.h ht_subc.h vtpadstack.h \ - obj_padstack_shape.h polygon.h vtpadstack_t.h error.h plug_io.h rats.h \ + obj_pstk_shape.h polygon.h vtpadstack_t.h error.h plug_io.h rats.h \ netlist.h route_style.h plugins.h ../src_3rd/puplug/puplug.h \ ../src_3rd/puplug/libs.h ../src_3rd/puplug/os_dep.h \ ../src_3rd/puplug/config.h ../src_3rd/puplug/libs.h \ @@ -4899,18 +4878,18 @@ obj_line_list.h obj_line.h obj_pad_list.h obj_pad.h obj_pinvia_list.h \ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h obj_poly.h \ polyarea.h obj_poly_list.h box.h math_helper.h move.h misc_util.h \ - ht_element.h ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h \ + ht_element.h ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h \ obj_text_list.h obj_rat_list.h obj_rat.h layer_grp.h library.h \ rats_patch.h board.h data.h crosshair.h vtonpoint.h hid.h error.h drc.h \ route.h buffer.h obj_subc_list.h obj_subc.h \ ../src_3rd/libminuid/libminuid.h ../src_3rd/genht/htsp.h rtree.h \ - ht_subc.h vtpadstack.h obj_padstack_shape.h polygon.h vtpadstack_t.h \ - hid.h rtree.h undo.h ../src_3rd/libuundo/uundo.h undo_old.h rats.h \ - netlist.h route_style.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 action_helper.h \ - hid_actions.h compat_nls.h dolists.h + ht_subc.h vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h hid.h \ + rtree.h undo.h ../src_3rd/libuundo/uundo.h undo_old.h rats.h netlist.h \ + route_style.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 action_helper.h hid_actions.h compat_nls.h \ + dolists.h ../src_plugins/stroke/stroke.o: ../src_plugins/stroke/stroke.c \ ../config.h math_helper.h board.h const.h macro.h global_typedefs.h \ pcb_bool.h unit.h vtroutestyle.h attrib.h \ @@ -4924,8 +4903,8 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h move.h misc_util.h ht_element.h ../src_3rd/genht/ht.h \ - obj_padstack_list.h obj_padstack.h obj_text_list.h obj_rat_list.h \ - obj_rat.h layer_grp.h library.h rats_patch.h board.h conf.h pcb-printf.h \ + obj_pstk_list.h obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h \ + layer_grp.h library.h rats_patch.h board.h conf.h pcb-printf.h \ ../src_3rd/genvector/gds_char.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 \ @@ -4932,7 +4911,7 @@ ../src_3rd/genvector/vtp0.h list_conf.h conf.h conf_core.h data.h \ crosshair.h vtonpoint.h hid.h error.h drc.h route.h buffer.h \ obj_subc_list.h obj_subc.h ../src_3rd/libminuid/libminuid.h rtree.h \ - ht_subc.h vtpadstack.h obj_padstack_shape.h polygon.h vtpadstack_t.h \ + ht_subc.h vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h \ crosshair.h stub_stroke.h rotate.h undo.h ../src_3rd/libuundo/uundo.h \ undo_old.h undo_act.h error.h plugins.h ../src_3rd/puplug/puplug.h \ ../src_3rd/puplug/libs.h ../src_3rd/puplug/os_dep.h \ @@ -4951,13 +4930,13 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h move.h misc_util.h ht_element.h ../src_3rd/genht/ht.h \ - obj_padstack_list.h obj_padstack.h obj_text_list.h obj_rat_list.h \ - obj_rat.h layer_grp.h library.h rats_patch.h board.h data.h crosshair.h \ + obj_pstk_list.h obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h \ + layer_grp.h library.h rats_patch.h board.h data.h crosshair.h \ vtonpoint.h hid.h error.h drc.h route.h buffer.h obj_subc_list.h \ obj_subc.h ../src_3rd/libminuid/libminuid.h ../src_3rd/genht/htsp.h \ - rtree.h ht_subc.h vtpadstack.h obj_padstack_shape.h polygon.h \ - 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 \ + rtree.h ht_subc.h vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h \ + hid.h rtree.h undo.h ../src_3rd/libuundo/uundo.h undo_old.h plugins.h \ + ../src_3rd/puplug/puplug.h ../src_3rd/puplug/libs.h \ ../src_3rd/puplug/os_dep.h ../src_3rd/puplug/config.h \ ../src_3rd/puplug/libs.h ../src_3rd/puplug/error.h hid_actions.h \ obj_all.h dolists.h @@ -4979,12 +4958,12 @@ obj_line_list.h obj_line.h obj_pad_list.h obj_pad.h obj_pinvia_list.h \ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h obj_poly.h \ polyarea.h obj_poly_list.h box.h math_helper.h move.h misc_util.h \ - ht_element.h ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h \ + ht_element.h ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h \ obj_text_list.h obj_rat_list.h obj_rat.h layer_grp.h library.h \ rats_patch.h board.h data.h crosshair.h vtonpoint.h hid.h error.h drc.h \ route.h buffer.h obj_subc_list.h obj_subc.h \ ../src_3rd/libminuid/libminuid.h rtree.h ht_subc.h vtpadstack.h \ - obj_padstack_shape.h polygon.h vtpadstack_t.h draw.h error.h undo.h \ + obj_pstk_shape.h polygon.h vtpadstack_t.h draw.h error.h undo.h \ ../src_3rd/libuundo/uundo.h undo_old.h \ ../src_plugins/vendordrill/vendor.h stub_vendor.h plugins.h \ ../src_3rd/puplug/puplug.h ../src_3rd/puplug/libs.h \ @@ -5116,7 +5095,7 @@ obj_pad.h obj_pinvia_list.h obj_pinvia.h obj_text.h font.h \ ../src_3rd/genht/htip.h ../src_3rd/genht/ht.h obj_poly.h polyarea.h \ obj_poly_list.h box.h math_helper.h macro.h move.h misc_util.h \ - ht_element.h ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h \ + ht_element.h ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h \ obj_text_list.h obj_rat_list.h obj_rat.h layer_grp.h undo.h \ ../src_3rd/libuundo/uundo.h undo_old.h library.h compat_nls.h safe_fs.h \ conf.h pcb-printf.h ../src_3rd/genvector/gds_char.h \ @@ -5141,14 +5120,14 @@ obj_pad.h obj_pinvia_list.h obj_pinvia.h obj_text.h font.h \ ../src_3rd/genht/htip.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h move.h misc_util.h ht_element.h ../src_3rd/genht/ht.h \ - obj_padstack_list.h obj_padstack.h obj_text_list.h obj_rat_list.h \ - obj_rat.h layer_grp.h library.h rats_patch.h change.h copy.h data.h \ - crosshair.h vtonpoint.h hid.h error.h drc.h route.h buffer.h \ - obj_subc_list.h obj_subc.h ../src_3rd/libminuid/libminuid.h rtree.h \ - ht_subc.h vtpadstack.h obj_padstack_shape.h polygon.h vtpadstack_t.h \ - draw.h find.h insert.h remove.h rotate.h search.h rats.h netlist.h \ - route_style.h select.h operation.h undo.h ../src_3rd/libuundo/uundo.h \ - undo_old.h stub_stroke.h funchash_core.h funchash.h funchash_core_list.h \ + obj_pstk_list.h obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h \ + layer_grp.h library.h rats_patch.h change.h copy.h data.h crosshair.h \ + vtonpoint.h hid.h error.h drc.h route.h buffer.h obj_subc_list.h \ + obj_subc.h ../src_3rd/libminuid/libminuid.h rtree.h ht_subc.h \ + vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h draw.h find.h \ + insert.h remove.h rotate.h search.h rats.h netlist.h route_style.h \ + select.h operation.h undo.h ../src_3rd/libuundo/uundo.h undo_old.h \ + stub_stroke.h funchash_core.h funchash.h funchash_core_list.h \ hid_actions.h compat_misc.h compat_nls.h event.h obj_pinvia_draw.h \ obj_pad_draw.h obj_line_draw.h obj_arc_draw.h obj_elem_draw.h \ obj_text_draw.h obj_rat_draw.h obj_poly_draw.h tool.h tool_arc.h \ @@ -5168,18 +5147,17 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h move.h misc_util.h ht_element.h ../src_3rd/genht/ht.h \ - obj_padstack_list.h obj_padstack.h obj_text_list.h obj_rat_list.h \ - obj_rat.h layer_grp.h library.h rats_patch.h data.h crosshair.h \ - vtonpoint.h hid.h error.h drc.h route.h buffer.h obj_subc_list.h \ - obj_subc.h ../src_3rd/libminuid/libminuid.h ../src_3rd/genht/htsp.h \ - rtree.h ht_subc.h vtpadstack.h obj_padstack_shape.h polygon.h \ - vtpadstack_t.h conf_core.h conf.h pcb-printf.h \ - ../src_3rd/genvector/gds_char.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 \ - plug_io.h compat_misc.h hid_actions.h paths.h undo.h \ - ../src_3rd/libuundo/uundo.h undo_old.h draw.h event.h safe_fs.h \ - defpcb_internal.c + obj_pstk_list.h obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h \ + layer_grp.h library.h rats_patch.h data.h crosshair.h vtonpoint.h hid.h \ + error.h drc.h route.h buffer.h obj_subc_list.h obj_subc.h \ + ../src_3rd/libminuid/libminuid.h ../src_3rd/genht/htsp.h rtree.h \ + ht_subc.h vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h \ + conf_core.h conf.h pcb-printf.h ../src_3rd/genvector/gds_char.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 plug_io.h compat_misc.h \ + hid_actions.h paths.h undo.h ../src_3rd/libuundo/uundo.h undo_old.h \ + draw.h event.h safe_fs.h defpcb_internal.c box.o: box.c ../config.h rotate.h global_typedefs.h pcb_bool.h unit.h \ box.h math_helper.h macro.h move.h obj_common.h ../src_3rd/genht/hash.h \ ../src_3rd/genlist/gendlist.h flag.h globalconst.h attrib.h \ @@ -5199,17 +5177,17 @@ obj_elem.h obj_line_list.h obj_line.h obj_pad_list.h obj_pad.h \ obj_pinvia_list.h obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ obj_poly.h polyarea.h obj_poly_list.h box.h math_helper.h move.h \ - misc_util.h ht_element.h ../src_3rd/genht/ht.h obj_padstack_list.h \ - obj_padstack.h obj_text_list.h obj_rat_list.h obj_rat.h layer_grp.h \ + misc_util.h ht_element.h ../src_3rd/genht/ht.h obj_pstk_list.h \ + obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h layer_grp.h \ library.h rats_patch.h copy.h data.h crosshair.h vtonpoint.h hid.h \ error.h drc.h route.h obj_subc_list.h obj_subc.h \ ../src_3rd/libminuid/libminuid.h rtree.h ht_subc.h vtpadstack.h \ - obj_padstack_shape.h polygon.h vtpadstack_t.h plug_io.h rotate.h \ - remove.h select.h operation.h draw.h undo.h ../src_3rd/libuundo/uundo.h \ + obj_pstk_shape.h polygon.h vtpadstack_t.h plug_io.h rotate.h remove.h \ + select.h operation.h draw.h undo.h ../src_3rd/libuundo/uundo.h \ undo_old.h funchash_core.h funchash.h funchash_core_list.h compat_misc.h \ compat_nls.h obj_all_op.h obj_arc_op.h obj_elem_op.h obj_line_op.h \ obj_pad_op.h obj_pinvia_op.h obj_poly_op.h obj_text_op.h obj_rat_op.h \ - obj_subc_op.h obj_padstack_op.h event.h safe_fs.h + obj_subc_op.h obj_pstk_op.h event.h safe_fs.h build_run.o: build_run.c ../config.h ../src_3rd/genvector/gds_char.h \ ../src_3rd/genvector/genvector_impl.h \ ../src_3rd/genvector/genvector_undef.h conf_core.h conf.h \ @@ -5226,7 +5204,7 @@ obj_line_list.h obj_line.h obj_pad_list.h obj_pad.h obj_pinvia_list.h \ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h obj_poly.h \ polyarea.h obj_poly_list.h box.h math_helper.h move.h misc_util.h \ - ht_element.h ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h \ + ht_element.h ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h \ obj_text_list.h obj_rat_list.h obj_rat.h layer_grp.h library.h \ rats_patch.h build_run.h hid_init.h hid.h error.h drc.h plug_io.h \ compat_misc.h @@ -5248,16 +5226,16 @@ obj_line_list.h obj_line.h obj_pad_list.h obj_pad.h obj_pinvia_list.h \ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h obj_poly.h \ polyarea.h obj_poly_list.h box.h math_helper.h move.h misc_util.h \ - ht_element.h ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h \ + ht_element.h ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h \ obj_text_list.h obj_rat_list.h obj_rat.h layer_grp.h library.h \ rats_patch.h data.h crosshair.h vtonpoint.h hid.h error.h drc.h route.h \ buffer.h obj_subc_list.h obj_subc.h ../src_3rd/libminuid/libminuid.h \ - rtree.h ht_subc.h vtpadstack.h obj_padstack_shape.h polygon.h \ - vtpadstack_t.h draw.h select.h operation.h undo.h \ - ../src_3rd/libuundo/uundo.h undo_old.h hid_actions.h compat_nls.h \ - obj_all_op.h obj_arc_op.h obj_elem_op.h obj_line_op.h obj_pad_op.h \ - obj_pinvia_op.h obj_poly_op.h obj_text_op.h obj_rat_op.h obj_subc_op.h \ - obj_padstack_op.h obj_subc_parent.h obj_term.h + rtree.h ht_subc.h vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h \ + draw.h select.h operation.h undo.h ../src_3rd/libuundo/uundo.h \ + undo_old.h hid_actions.h compat_nls.h obj_all_op.h obj_arc_op.h \ + obj_elem_op.h obj_line_op.h obj_pad_op.h obj_pinvia_op.h obj_poly_op.h \ + obj_text_op.h obj_rat_op.h obj_subc_op.h obj_pstk_op.h obj_subc_parent.h \ + obj_term.h change_act.o: change_act.c ../config.h conf_core.h conf.h \ global_typedefs.h pcb_bool.h unit.h pcb-printf.h \ ../src_3rd/genvector/gds_char.h ../src_3rd/genvector/genvector_impl.h \ @@ -5273,11 +5251,11 @@ obj_pad.h obj_pinvia_list.h obj_pinvia.h obj_text.h font.h \ ../src_3rd/genht/htip.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h macro.h move.h misc_util.h ht_element.h \ - ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h obj_text_list.h \ + ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h obj_text_list.h \ obj_rat_list.h obj_rat.h crosshair.h vtonpoint.h hid.h error.h drc.h \ layer_grp.h route.h const.h buffer.h obj_subc_list.h obj_subc.h \ ../src_3rd/libminuid/libminuid.h rtree.h ht_subc.h vtpadstack.h \ - obj_padstack_shape.h polygon.h vtpadstack_t.h funchash_core.h funchash.h \ + obj_pstk_shape.h polygon.h vtpadstack_t.h funchash_core.h funchash.h \ funchash_core_list.h board.h vtroutestyle.h library.h rats_patch.h \ action_helper.h hid_actions.h change.h draw.h search.h rats.h netlist.h \ route_style.h undo.h ../src_3rd/libuundo/uundo.h undo_old.h event.h \ @@ -5320,13 +5298,13 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h move.h misc_util.h ht_element.h ../src_3rd/genht/ht.h \ - obj_padstack_list.h obj_padstack.h obj_text_list.h obj_rat_list.h \ - obj_rat.h layer_grp.h library.h rats_patch.h conf_core.h conf.h \ - pcb-printf.h ../src_3rd/genvector/gds_char.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/genvector/vtp0.h list_conf.h \ - route_style.h error.h hid.h drc.h + obj_pstk_list.h obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h \ + layer_grp.h library.h rats_patch.h conf_core.h conf.h pcb-printf.h \ + ../src_3rd/genvector/gds_char.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/genvector/vtp0.h list_conf.h route_style.h error.h hid.h \ + drc.h conf_core.o: conf_core.c ../config.h conf.h global_typedefs.h pcb_bool.h \ unit.h pcb-printf.h ../src_3rd/genvector/gds_char.h \ ../src_3rd/genvector/genvector_impl.h \ @@ -5363,15 +5341,15 @@ obj_line_list.h obj_line.h obj_pad_list.h obj_pad.h obj_pinvia_list.h \ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h obj_poly.h \ polyarea.h obj_poly_list.h box.h math_helper.h move.h misc_util.h \ - ht_element.h ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h \ + ht_element.h ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h \ obj_text_list.h obj_rat_list.h obj_rat.h layer_grp.h library.h \ rats_patch.h data.h crosshair.h vtonpoint.h hid.h error.h drc.h route.h \ buffer.h obj_subc_list.h obj_subc.h ../src_3rd/libminuid/libminuid.h \ - rtree.h ht_subc.h vtpadstack.h obj_padstack_shape.h polygon.h \ - vtpadstack_t.h draw.h select.h operation.h undo.h \ - ../src_3rd/libuundo/uundo.h undo_old.h obj_all_op.h obj_arc_op.h \ - obj_elem_op.h obj_line_op.h obj_pad_op.h obj_pinvia_op.h obj_poly_op.h \ - obj_text_op.h obj_rat_op.h obj_subc_op.h obj_padstack_op.h + rtree.h ht_subc.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 obj_all_op.h obj_arc_op.h obj_elem_op.h obj_line_op.h \ + obj_pad_op.h obj_pinvia_op.h obj_poly_op.h obj_text_op.h obj_rat_op.h \ + obj_subc_op.h obj_pstk_op.h crosshair.o: crosshair.c ../config.h conf_core.h conf.h global_typedefs.h \ pcb_bool.h unit.h pcb-printf.h ../src_3rd/genvector/gds_char.h \ ../src_3rd/genvector/genvector_impl.h \ @@ -5387,15 +5365,15 @@ obj_line_list.h obj_line.h obj_pad_list.h obj_pad.h obj_pinvia_list.h \ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h obj_poly.h \ polyarea.h obj_poly_list.h box.h math_helper.h move.h misc_util.h \ - ht_element.h ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h \ + ht_element.h ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h \ obj_text_list.h obj_rat_list.h obj_rat.h layer_grp.h library.h \ rats_patch.h crosshair.h vtonpoint.h hid.h error.h drc.h route.h data.h \ buffer.h obj_subc_list.h obj_subc.h ../src_3rd/libminuid/libminuid.h \ - rtree.h ht_subc.h vtpadstack.h obj_padstack_shape.h polygon.h \ - vtpadstack_t.h draw.h draw_wireframe.h search.h rats.h netlist.h \ - route_style.h hid_actions.h compat_misc.h compat_nls.h find.h undo.h \ + rtree.h ht_subc.h vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h \ + draw.h draw_wireframe.h search.h rats.h netlist.h route_style.h \ + hid_actions.h compat_misc.h compat_nls.h find.h undo.h \ ../src_3rd/libuundo/uundo.h undo_old.h event.h action_helper.h \ - obj_line_draw.h obj_arc_draw.h obj_text_draw.h obj_padstack_draw.h \ + obj_line_draw.h obj_arc_draw.h obj_text_draw.h obj_pstk_draw.h \ obj_arc_ui.h obj_all_op.h obj_arc_op.h operation.h obj_elem_op.h \ obj_line_op.h obj_pad_op.h obj_pinvia_op.h obj_poly_op.h obj_text_op.h \ obj_rat_op.h obj_subc_op.h @@ -5411,13 +5389,13 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h move.h misc_util.h ht_element.h ../src_3rd/genht/ht.h \ - obj_padstack_list.h obj_padstack.h obj_text_list.h obj_rat_list.h \ - obj_rat.h layer_grp.h library.h rats_patch.h data.h crosshair.h \ - vtonpoint.h hid.h error.h drc.h route.h buffer.h obj_subc_list.h \ - obj_subc.h ../src_3rd/libminuid/libminuid.h ../src_3rd/genht/htsp.h \ - rtree.h ht_subc.h vtpadstack.h obj_padstack_shape.h polygon.h \ - vtpadstack_t.h data_list.h ../src_3rd/genvector/vtp0.h list_common.h \ - obj_all.h layer_it.h operation.h + obj_pstk_list.h obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h \ + layer_grp.h library.h rats_patch.h data.h crosshair.h vtonpoint.h hid.h \ + error.h drc.h route.h buffer.h obj_subc_list.h obj_subc.h \ + ../src_3rd/libminuid/libminuid.h ../src_3rd/genht/htsp.h rtree.h \ + ht_subc.h vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h \ + data_list.h ../src_3rd/genvector/vtp0.h list_common.h obj_all.h \ + layer_it.h operation.h draw.o: draw.c ../config.h conf_core.h conf.h global_typedefs.h \ pcb_bool.h unit.h pcb-printf.h ../src_3rd/genvector/gds_char.h \ ../src_3rd/genvector/genvector_impl.h \ @@ -5433,16 +5411,15 @@ obj_elem_list.h obj_elem.h obj_line_list.h obj_line.h obj_pad_list.h \ obj_pad.h obj_pinvia_list.h obj_pinvia.h obj_text.h font.h \ ../src_3rd/genht/htip.h obj_poly.h polyarea.h obj_poly_list.h box.h \ - move.h misc_util.h ht_element.h ../src_3rd/genht/ht.h \ - obj_padstack_list.h obj_padstack.h obj_text_list.h obj_rat_list.h \ - obj_rat.h layer_grp.h library.h rats_patch.h data.h crosshair.h \ - vtonpoint.h hid.h error.h drc.h route.h buffer.h obj_subc_list.h \ - obj_subc.h ../src_3rd/libminuid/libminuid.h rtree.h ht_subc.h \ - vtpadstack.h obj_padstack_shape.h polygon.h vtpadstack_t.h draw.h \ - rotate.h stub_draw.h obj_all.h layer_ui.h obj_pad_draw.h \ - obj_pinvia_draw.h obj_padstack_draw.h obj_elem_draw.h obj_line_draw.h \ - obj_arc_draw.h obj_rat_draw.h obj_poly_draw.h obj_text_draw.h \ - draw_composite.c draw_ly_spec.c + move.h misc_util.h ht_element.h ../src_3rd/genht/ht.h obj_pstk_list.h \ + obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h layer_grp.h \ + library.h rats_patch.h data.h crosshair.h vtonpoint.h hid.h error.h \ + drc.h route.h buffer.h obj_subc_list.h obj_subc.h \ + ../src_3rd/libminuid/libminuid.h rtree.h ht_subc.h vtpadstack.h \ + obj_pstk_shape.h polygon.h vtpadstack_t.h draw.h rotate.h stub_draw.h \ + obj_all.h layer_ui.h obj_pad_draw.h obj_pinvia_draw.h obj_pstk_draw.h \ + obj_elem_draw.h obj_line_draw.h obj_arc_draw.h obj_rat_draw.h \ + obj_poly_draw.h obj_text_draw.h draw_composite.c draw_ly_spec.c error.o: error.c ../config.h data.h globalconst.h global_typedefs.h \ pcb_bool.h unit.h layer.h attrib.h obj_all_list.h obj_arc_list.h \ obj_common.h ../src_3rd/genht/hash.h ../src_3rd/genlist/gendlist.h \ @@ -5452,13 +5429,13 @@ obj_pad.h obj_pinvia_list.h obj_pinvia.h obj_text.h font.h \ ../src_3rd/genht/htip.h ../src_3rd/genht/ht.h obj_poly.h polyarea.h \ obj_poly_list.h box.h math_helper.h macro.h move.h misc_util.h \ - ht_element.h ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h \ + ht_element.h ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h \ obj_text_list.h obj_rat_list.h obj_rat.h crosshair.h vtonpoint.h \ ../src_3rd/genvector/genvector_impl.h \ ../src_3rd/genvector/genvector_undef.h hid.h error.h drc.h layer_grp.h \ route.h const.h buffer.h obj_subc_list.h obj_subc.h \ ../src_3rd/libminuid/libminuid.h ../src_3rd/genht/htsp.h rtree.h \ - ht_subc.h vtpadstack.h obj_padstack_shape.h polygon.h vtpadstack_t.h \ + ht_subc.h vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h \ plug_io.h library.h conf.h pcb-printf.h ../src_3rd/genvector/gds_char.h \ ../src_3rd/liblihata/lihata.h ../src_3rd/liblihata/dom.h \ ../src_3rd/liblihata/lihata.h ../src_3rd/liblihata/parser.h \ @@ -5477,15 +5454,15 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h move.h misc_util.h ht_element.h ../src_3rd/genht/ht.h \ - obj_padstack_list.h obj_padstack.h obj_text_list.h obj_rat_list.h \ - obj_rat.h layer_grp.h library.h rats_patch.h build_run.h conf_core.h \ - conf.h pcb-printf.h ../src_3rd/genvector/gds_char.h \ + obj_pstk_list.h obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h \ + layer_grp.h library.h rats_patch.h build_run.h conf_core.h conf.h \ + pcb-printf.h ../src_3rd/genvector/gds_char.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/genvector/vtp0.h list_conf.h data.h \ crosshair.h vtonpoint.h hid.h error.h drc.h route.h buffer.h \ obj_subc_list.h obj_subc.h ../src_3rd/libminuid/libminuid.h rtree.h \ - ht_subc.h vtpadstack.h obj_padstack_shape.h polygon.h vtpadstack_t.h \ + ht_subc.h vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h \ action_helper.h plug_io.h plug_import.h remove.h draw.h find.h search.h \ rats.h netlist.h route_style.h hid_actions.h compat_misc.h compat_nls.h \ hid_init.h layer_vis.h safe_fs.h @@ -5504,19 +5481,18 @@ obj_pad.h obj_pinvia_list.h obj_pinvia.h obj_text.h font.h \ ../src_3rd/genht/htip.h obj_poly.h polyarea.h obj_poly_list.h box.h \ macro.h move.h misc_util.h ht_element.h ../src_3rd/genht/ht.h \ - obj_padstack_list.h obj_padstack.h obj_text_list.h obj_rat_list.h \ - obj_rat.h crosshair.h vtonpoint.h hid.h error.h drc.h layer_grp.h \ - route.h buffer.h obj_subc_list.h obj_subc.h \ - ../src_3rd/libminuid/libminuid.h rtree.h ht_subc.h vtpadstack.h \ - obj_padstack_shape.h polygon.h vtpadstack_t.h draw.h find.h search.h \ - rats.h netlist.h library.h route_style.h vtroutestyle.h undo.h \ - ../src_3rd/libuundo/uundo.h undo_old.h plug_io.h hid_actions.h \ + obj_pstk_list.h obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h \ + crosshair.h vtonpoint.h hid.h error.h drc.h layer_grp.h route.h buffer.h \ + obj_subc_list.h obj_subc.h ../src_3rd/libminuid/libminuid.h rtree.h \ + ht_subc.h vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h draw.h \ + find.h search.h rats.h netlist.h library.h route_style.h vtroutestyle.h \ + undo.h ../src_3rd/libuundo/uundo.h undo_old.h plug_io.h hid_actions.h \ compat_misc.h event.h layer_vis.h obj_all.h find_geo.c obj_arc_ui.h \ - obj_padstack_inlines.h board.h rats_patch.h thermal.h find_lookup.c \ + obj_pstk_inlines.h board.h rats_patch.h thermal.h find_lookup.c \ compat_nls.h obj_subc_parent.h find_intconn.c find_drc.c obj_arc_draw.h \ obj_pad_draw.h obj_rat_draw.h obj_line_draw.h obj_elem_draw.h \ - obj_poly_draw.h obj_pinvia_draw.h obj_padstack_draw.h find_misc.c \ - change.h find_clear.c find_debug.c find_print.c + obj_poly_draw.h obj_pinvia_draw.h obj_pstk_draw.h find_misc.c change.h \ + find_clear.c find_debug.c find_print.c find_act.o: find_act.c ../config.h board.h const.h macro.h \ global_typedefs.h pcb_bool.h unit.h vtroutestyle.h attrib.h \ ../src_3rd/genvector/genvector_impl.h \ @@ -5529,16 +5505,15 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h move.h misc_util.h ht_element.h ../src_3rd/genht/ht.h \ - obj_padstack_list.h obj_padstack.h obj_text_list.h obj_rat_list.h \ - obj_rat.h layer_grp.h library.h rats_patch.h conf_core.h conf.h \ - pcb-printf.h ../src_3rd/genvector/gds_char.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/genvector/vtp0.h list_conf.h data.h \ - crosshair.h vtonpoint.h hid.h error.h drc.h route.h buffer.h \ - obj_subc_list.h obj_subc.h ../src_3rd/libminuid/libminuid.h rtree.h \ - ht_subc.h vtpadstack.h obj_padstack_shape.h polygon.h vtpadstack_t.h \ - find.h compat_nls.h + obj_pstk_list.h obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h \ + layer_grp.h library.h rats_patch.h conf_core.h conf.h pcb-printf.h \ + ../src_3rd/genvector/gds_char.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/genvector/vtp0.h list_conf.h data.h crosshair.h vtonpoint.h \ + hid.h error.h drc.h route.h buffer.h obj_subc_list.h obj_subc.h \ + ../src_3rd/libminuid/libminuid.h rtree.h ht_subc.h vtpadstack.h \ + obj_pstk_shape.h polygon.h vtpadstack_t.h find.h compat_nls.h flag.o: flag.c ../config.h flag.h globalconst.h operation.h \ global_typedefs.h pcb_bool.h unit.h obj_all_op.h obj_arc_op.h \ obj_elem_op.h obj_line_op.h obj_pad_op.h obj_pinvia_op.h obj_poly_op.h \ @@ -5556,7 +5531,7 @@ ../src_3rd/genvector/genvector_undef.h layer.h obj_all_list.h \ obj_elem_list.h obj_elem.h obj_line_list.h obj_line.h obj_pad_list.h \ obj_pad.h obj_pinvia_list.h obj_pinvia.h obj_text.h ht_element.h \ - ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h obj_text_list.h \ + ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h obj_text_list.h \ obj_rat_list.h obj_rat.h layer_grp.h library.h rats_patch.h conf_core.h \ conf.h pcb-printf.h ../src_3rd/genvector/gds_char.h \ ../src_3rd/liblihata/lihata.h ../src_3rd/liblihata/dom.h \ @@ -5575,13 +5550,13 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h move.h misc_util.h ht_element.h ../src_3rd/genht/ht.h \ - obj_padstack_list.h obj_padstack.h obj_text_list.h obj_rat_list.h \ - obj_rat.h layer_grp.h library.h rats_patch.h hid.h error.h drc.h \ - action_helper.h conf_core.h conf.h pcb-printf.h \ - ../src_3rd/genvector/gds_char.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/genvector/vtp0.h list_conf.h plug_io.h event.h + obj_pstk_list.h obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h \ + layer_grp.h library.h rats_patch.h hid.h error.h drc.h action_helper.h \ + conf_core.h conf.h pcb-printf.h ../src_3rd/genvector/gds_char.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/genvector/vtp0.h list_conf.h \ + plug_io.h event.h fptr_cast.o: fptr_cast.c ../config.h fptr_cast.h free_atexit.o: free_atexit.c ../config.h funchash.o: funchash.c ../src_3rd/genht/htpi.h ../src_3rd/genht/ht.h \ @@ -5599,15 +5574,15 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h move.h misc_util.h ht_element.h ../src_3rd/genht/ht.h \ - obj_padstack_list.h obj_padstack.h obj_text_list.h obj_rat_list.h \ - obj_rat.h layer_grp.h library.h rats_patch.h build_run.h conf_core.h \ - conf.h pcb-printf.h ../src_3rd/genvector/gds_char.h \ + obj_pstk_list.h obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h \ + layer_grp.h library.h rats_patch.h build_run.h conf_core.h conf.h \ + pcb-printf.h ../src_3rd/genvector/gds_char.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/genvector/vtp0.h list_conf.h data.h \ crosshair.h vtonpoint.h hid.h error.h drc.h route.h buffer.h \ obj_subc_list.h obj_subc.h ../src_3rd/libminuid/libminuid.h rtree.h \ - ht_subc.h vtpadstack.h obj_padstack_shape.h polygon.h vtpadstack_t.h \ + ht_subc.h vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h \ action_helper.h undo.h ../src_3rd/libuundo/uundo.h undo_old.h \ funchash_core.h funchash.h funchash_core_list.h change.h draw.h search.h \ rats.h netlist.h route_style.h find.h stub_stroke.h hid_actions.h \ @@ -5630,8 +5605,8 @@ obj_line_list.h obj_line.h obj_pad_list.h obj_pad.h obj_pinvia_list.h \ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h obj_poly.h \ polyarea.h obj_poly_list.h box.h math_helper.h macro.h move.h \ - misc_util.h ht_element.h ../src_3rd/genht/ht.h obj_padstack_list.h \ - obj_padstack.h obj_text_list.h obj_rat_list.h obj_rat.h layer_grp.h \ + misc_util.h ht_element.h ../src_3rd/genht/ht.h obj_pstk_list.h \ + obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h layer_grp.h \ compat_misc.h compat_nls.h hid_attrib.o: hid_attrib.c ../config.h hid_attrib.h hid.h error.h drc.h \ unit.h global_typedefs.h pcb_bool.h attrib.h layer.h globalconst.h \ @@ -5643,7 +5618,7 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h macro.h move.h misc_util.h ht_element.h \ - ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h obj_text_list.h \ + ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h obj_text_list.h \ obj_rat_list.h obj_rat.h layer_grp.h pcb-printf.h \ ../src_3rd/genvector/gds_char.h ../src_3rd/genvector/genvector_impl.h \ ../src_3rd/genvector/genvector_undef.h @@ -5670,8 +5645,8 @@ obj_line_list.h obj_line.h obj_pad_list.h obj_pad.h obj_pinvia_list.h \ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h obj_poly.h \ polyarea.h obj_poly_list.h box.h math_helper.h macro.h move.h \ - misc_util.h ht_element.h ../src_3rd/genht/ht.h obj_padstack_list.h \ - obj_padstack.h obj_text_list.h obj_rat_list.h obj_rat.h layer_grp.h + misc_util.h ht_element.h ../src_3rd/genht/ht.h obj_pstk_list.h \ + obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h layer_grp.h hid_cfg_input.o: hid_cfg_input.c ../src_3rd/liblihata/lihata.h \ ../src_3rd/liblihata/tree.h ../src_3rd/liblihata/dom.h \ ../src_3rd/liblihata/lihata.h ../src_3rd/liblihata/parser.h \ @@ -5690,7 +5665,7 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h macro.h move.h misc_util.h ht_element.h \ - ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h obj_text_list.h \ + ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h obj_text_list.h \ obj_rat_list.h obj_rat.h layer_grp.h compat_misc.h ../src_3rd/genht/ht.c \ ../src_3rd/genht/ht_inlines.h hid_draw_helpers.o: hid_draw_helpers.c ../config.h hid.h error.h drc.h \ @@ -5703,7 +5678,7 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h macro.h move.h misc_util.h ht_element.h \ - ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h obj_text_list.h \ + ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h obj_text_list.h \ obj_rat_list.h obj_rat.h layer_grp.h polygon.h rtree.h hid_extents.o: hid_extents.c ../config.h board.h const.h macro.h \ global_typedefs.h pcb_bool.h unit.h vtroutestyle.h attrib.h \ @@ -5717,12 +5692,12 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h move.h misc_util.h ht_element.h ../src_3rd/genht/ht.h \ - obj_padstack_list.h obj_padstack.h obj_text_list.h obj_rat_list.h \ - obj_rat.h layer_grp.h library.h rats_patch.h data.h crosshair.h \ - vtonpoint.h hid.h error.h drc.h route.h buffer.h obj_subc_list.h \ - obj_subc.h ../src_3rd/libminuid/libminuid.h ../src_3rd/genht/htsp.h \ - rtree.h ht_subc.h vtpadstack.h obj_padstack_shape.h polygon.h \ - vtpadstack_t.h hid_draw_helpers.h hid_extents.h + obj_pstk_list.h obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h \ + layer_grp.h library.h rats_patch.h data.h crosshair.h vtonpoint.h hid.h \ + error.h drc.h route.h buffer.h obj_subc_list.h obj_subc.h \ + ../src_3rd/libminuid/libminuid.h ../src_3rd/genht/htsp.h rtree.h \ + ht_subc.h vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h \ + hid_draw_helpers.h hid_extents.h hid_flags.o: hid_flags.c ../config.h data.h globalconst.h \ global_typedefs.h pcb_bool.h unit.h layer.h attrib.h obj_all_list.h \ obj_arc_list.h obj_common.h ../src_3rd/genht/hash.h \ @@ -5733,14 +5708,14 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h macro.h move.h misc_util.h ht_element.h \ - ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h obj_text_list.h \ + ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h obj_text_list.h \ obj_rat_list.h obj_rat.h crosshair.h vtonpoint.h \ ../src_3rd/genvector/genvector_impl.h \ ../src_3rd/genvector/genvector_undef.h hid.h error.h drc.h layer_grp.h \ route.h const.h buffer.h obj_subc_list.h obj_subc.h \ ../src_3rd/libminuid/libminuid.h ../src_3rd/genht/htsp.h rtree.h \ - ht_subc.h vtpadstack.h obj_padstack_shape.h polygon.h vtpadstack_t.h \ - board.h vtroutestyle.h library.h rats_patch.h conf.h pcb-printf.h \ + ht_subc.h vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h board.h \ + vtroutestyle.h library.h rats_patch.h conf.h pcb-printf.h \ ../src_3rd/genvector/gds_char.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 \ @@ -5757,16 +5732,15 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h move.h misc_util.h ht_element.h ../src_3rd/genht/ht.h \ - obj_padstack_list.h obj_padstack.h obj_text_list.h obj_rat_list.h \ - obj_rat.h layer_grp.h library.h rats_patch.h data.h crosshair.h \ - vtonpoint.h hid.h error.h drc.h route.h buffer.h obj_subc_list.h \ - obj_subc.h ../src_3rd/libminuid/libminuid.h ../src_3rd/genht/htsp.h \ - rtree.h ht_subc.h vtpadstack.h obj_padstack_shape.h polygon.h \ - vtpadstack_t.h hid_helper.h hid_attrib.h compat_misc.h plug_io.h conf.h \ - pcb-printf.h ../src_3rd/genvector/gds_char.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 + obj_pstk_list.h obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h \ + layer_grp.h library.h rats_patch.h data.h crosshair.h vtonpoint.h hid.h \ + error.h drc.h route.h buffer.h obj_subc_list.h obj_subc.h \ + ../src_3rd/libminuid/libminuid.h ../src_3rd/genht/htsp.h rtree.h \ + ht_subc.h vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h \ + hid_helper.h hid_attrib.h compat_misc.h plug_io.h conf.h pcb-printf.h \ + ../src_3rd/genvector/gds_char.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 hid_init.o: hid_init.c ../config.h hid.h error.h drc.h unit.h \ global_typedefs.h pcb_bool.h attrib.h layer.h globalconst.h \ obj_all_list.h obj_arc_list.h obj_common.h ../src_3rd/genht/hash.h \ @@ -5777,7 +5751,7 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h macro.h move.h misc_util.h ht_element.h \ - ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h obj_text_list.h \ + ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h obj_text_list.h \ obj_rat_list.h obj_rat.h layer_grp.h hid_nogui.h plugins.h \ ../src_3rd/puplug/puplug.h ../src_3rd/puplug/libs.h \ ../src_3rd/puplug/os_dep.h ../src_3rd/puplug/config.h \ @@ -5798,7 +5772,7 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h macro.h move.h misc_util.h ht_element.h \ - ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h obj_text_list.h \ + ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h obj_text_list.h \ obj_rat_list.h obj_rat.h layer_grp.h compat_misc.h compat_nls.h \ conf_core.h conf.h pcb-printf.h ../src_3rd/genvector/gds_char.h \ ../src_3rd/genvector/genvector_impl.h \ @@ -5840,13 +5814,13 @@ obj_line_list.h obj_line.h obj_pad_list.h obj_pad.h obj_pinvia_list.h \ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h obj_poly.h \ polyarea.h obj_poly_list.h box.h math_helper.h move.h misc_util.h \ - ht_element.h ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h \ + ht_element.h ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h \ obj_text_list.h obj_rat_list.h obj_rat.h layer_grp.h library.h \ rats_patch.h data.h crosshair.h vtonpoint.h hid.h error.h drc.h route.h \ buffer.h obj_subc_list.h obj_subc.h ../src_3rd/libminuid/libminuid.h \ - rtree.h ht_subc.h vtpadstack.h obj_padstack_shape.h polygon.h \ - vtpadstack_t.h select.h 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 + rtree.h ht_subc.h vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h \ + select.h 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 unit.h box.h math_helper.h macro.h move.h obj_common.h \ ../src_3rd/genht/hash.h ../src_3rd/genlist/gendlist.h flag.h \ @@ -5863,17 +5837,16 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h move.h misc_util.h ht_element.h ../src_3rd/genht/ht.h \ - obj_padstack_list.h obj_padstack.h obj_text_list.h obj_rat_list.h \ - obj_rat.h layer_grp.h library.h rats_patch.h data.h crosshair.h \ - vtonpoint.h hid.h error.h drc.h route.h buffer.h obj_subc_list.h \ - obj_subc.h ../src_3rd/libminuid/libminuid.h ../src_3rd/genht/htsp.h \ - rtree.h ht_subc.h vtpadstack.h obj_padstack_shape.h polygon.h \ - vtpadstack_t.h conf_core.h conf.h pcb-printf.h \ - ../src_3rd/genvector/gds_char.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 \ - compat_misc.h undo.h ../src_3rd/libuundo/uundo.h undo_old.h event.h \ - layer_ui.h layer_vis.h + obj_pstk_list.h obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h \ + layer_grp.h library.h rats_patch.h data.h crosshair.h vtonpoint.h hid.h \ + error.h drc.h route.h buffer.h obj_subc_list.h obj_subc.h \ + ../src_3rd/libminuid/libminuid.h ../src_3rd/genht/htsp.h rtree.h \ + ht_subc.h vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h \ + conf_core.h conf.h pcb-printf.h ../src_3rd/genvector/gds_char.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 compat_misc.h undo.h \ + ../src_3rd/libuundo/uundo.h undo_old.h event.h layer_ui.h layer_vis.h layer_grp.o: layer_grp.c ../config.h board.h const.h macro.h \ global_typedefs.h pcb_bool.h unit.h vtroutestyle.h attrib.h \ ../src_3rd/genvector/genvector_impl.h \ @@ -5886,12 +5859,12 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h move.h misc_util.h ht_element.h ../src_3rd/genht/ht.h \ - obj_padstack_list.h obj_padstack.h obj_text_list.h obj_rat_list.h \ - obj_rat.h layer_grp.h library.h rats_patch.h data.h crosshair.h \ - vtonpoint.h hid.h error.h drc.h route.h buffer.h obj_subc_list.h \ - obj_subc.h ../src_3rd/libminuid/libminuid.h ../src_3rd/genht/htsp.h \ - rtree.h ht_subc.h vtpadstack.h obj_padstack_shape.h polygon.h \ - vtpadstack_t.h compat_misc.h event.h + obj_pstk_list.h obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h \ + layer_grp.h library.h rats_patch.h data.h crosshair.h vtonpoint.h hid.h \ + error.h drc.h route.h buffer.h obj_subc_list.h obj_subc.h \ + ../src_3rd/libminuid/libminuid.h ../src_3rd/genht/htsp.h rtree.h \ + ht_subc.h vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h \ + compat_misc.h event.h layer_ui.o: layer_ui.c ../config.h layer_ui.h layer.h globalconst.h \ global_typedefs.h pcb_bool.h unit.h attrib.h obj_all_list.h \ obj_arc_list.h obj_common.h ../src_3rd/genht/hash.h \ @@ -5902,7 +5875,7 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h macro.h move.h misc_util.h ht_element.h \ - ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h obj_text_list.h \ + ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h obj_text_list.h \ obj_rat_list.h obj_rat.h ../src_3rd/genvector/genvector_impl.h \ ../src_3rd/genvector/genvector_undef.h event.h \ ../src_3rd/genvector/genvector_impl.c @@ -5918,16 +5891,16 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h move.h misc_util.h ht_element.h ../src_3rd/genht/ht.h \ - obj_padstack_list.h obj_padstack.h obj_text_list.h obj_rat_list.h \ - obj_rat.h layer_grp.h library.h rats_patch.h data.h crosshair.h \ - vtonpoint.h hid.h error.h drc.h route.h buffer.h obj_subc_list.h \ - obj_subc.h ../src_3rd/libminuid/libminuid.h ../src_3rd/genht/htsp.h \ - rtree.h ht_subc.h vtpadstack.h obj_padstack_shape.h polygon.h \ - vtpadstack_t.h conf_core.h conf.h pcb-printf.h \ - ../src_3rd/genvector/gds_char.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 \ - layer_ui.h layer_vis.h event.h compat_misc.h conf_hid.h + obj_pstk_list.h obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h \ + layer_grp.h library.h rats_patch.h data.h crosshair.h vtonpoint.h hid.h \ + error.h drc.h route.h buffer.h obj_subc_list.h obj_subc.h \ + ../src_3rd/libminuid/libminuid.h ../src_3rd/genht/htsp.h rtree.h \ + ht_subc.h vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h \ + conf_core.h conf.h pcb-printf.h ../src_3rd/genvector/gds_char.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 layer_ui.h layer_vis.h event.h \ + compat_misc.h conf_hid.h library.o: library.c ../config.h library.h global_typedefs.h pcb_bool.h \ unit.h macro.h compat_misc.h list_conf.o: list_conf.c conf.h ../config.h global_typedefs.h pcb_bool.h \ @@ -5951,21 +5924,21 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h move.h misc_util.h ht_element.h ../src_3rd/genht/ht.h \ - obj_padstack_list.h obj_padstack.h obj_text_list.h obj_rat_list.h \ - obj_rat.h layer_grp.h library.h rats_patch.h data.h crosshair.h \ - vtonpoint.h hid.h error.h drc.h route.h buffer.h obj_subc_list.h \ - obj_subc.h ../src_3rd/genht/htsp.h rtree.h ht_subc.h vtpadstack.h \ - obj_padstack_shape.h polygon.h vtpadstack_t.h plug_io.h conf.h \ - pcb-printf.h ../src_3rd/genvector/gds_char.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 compat_lrealpath.h free_atexit.h \ - buildin.h ../src_3rd/puplug/libs.h ../src_3rd/puplug/puplug.h \ - ../src_3rd/puplug/os_dep.h ../src_3rd/puplug/config.h \ - ../src_3rd/puplug/libs.h build_run.h flag_str.h plugins.h \ - ../src_3rd/puplug/error.h plug_footprint.h vtlibrary.h event.h \ - funchash.h conf_core.h layer_vis.h pcb_minuid.h tool.h hid_actions.h \ - hid_init.h compat_misc.h compat_nls.h dolists.h generated_lists.h + obj_pstk_list.h obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h \ + layer_grp.h library.h rats_patch.h data.h crosshair.h vtonpoint.h hid.h \ + error.h drc.h route.h buffer.h obj_subc_list.h obj_subc.h \ + ../src_3rd/genht/htsp.h rtree.h ht_subc.h vtpadstack.h obj_pstk_shape.h \ + polygon.h vtpadstack_t.h plug_io.h conf.h pcb-printf.h \ + ../src_3rd/genvector/gds_char.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 \ + compat_lrealpath.h free_atexit.h buildin.h ../src_3rd/puplug/libs.h \ + ../src_3rd/puplug/puplug.h ../src_3rd/puplug/os_dep.h \ + ../src_3rd/puplug/config.h ../src_3rd/puplug/libs.h build_run.h \ + flag_str.h plugins.h ../src_3rd/puplug/error.h plug_footprint.h \ + vtlibrary.h event.h funchash.h conf_core.h layer_vis.h pcb_minuid.h \ + tool.h hid_actions.h hid_init.h compat_misc.h compat_nls.h dolists.h \ + generated_lists.h main_act.o: main_act.c ../config.h hid_actions.h hid.h error.h drc.h \ unit.h global_typedefs.h pcb_bool.h attrib.h layer.h globalconst.h \ obj_all_list.h obj_arc_list.h obj_common.h ../src_3rd/genht/hash.h \ @@ -5976,7 +5949,7 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h macro.h move.h misc_util.h ht_element.h \ - ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h obj_text_list.h \ + ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h obj_text_list.h \ obj_rat_list.h obj_rat.h layer_grp.h hid_init.h conf_core.h conf.h \ pcb-printf.h ../src_3rd/genvector/gds_char.h \ ../src_3rd/genvector/genvector_impl.h \ @@ -6005,16 +5978,15 @@ obj_line_list.h obj_line.h obj_pad_list.h obj_pad.h obj_pinvia_list.h \ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h obj_poly.h \ polyarea.h obj_poly_list.h box.h math_helper.h move.h misc_util.h \ - ht_element.h ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h \ + ht_element.h ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h \ obj_text_list.h obj_rat_list.h obj_rat.h layer_grp.h library.h \ rats_patch.h data.h crosshair.h vtonpoint.h hid.h error.h drc.h route.h \ buffer.h obj_subc_list.h obj_subc.h ../src_3rd/libminuid/libminuid.h \ - rtree.h ht_subc.h vtpadstack.h obj_padstack_shape.h polygon.h \ - vtpadstack_t.h draw.h select.h operation.h undo.h \ - ../src_3rd/libuundo/uundo.h undo_old.h event.h hid_actions.h \ - compat_misc.h obj_all_op.h obj_arc_op.h obj_elem_op.h obj_line_op.h \ - obj_pad_op.h obj_pinvia_op.h obj_poly_op.h obj_text_op.h obj_rat_op.h \ - obj_subc_op.h obj_padstack_op.h + rtree.h ht_subc.h vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h \ + draw.h select.h operation.h undo.h ../src_3rd/libuundo/uundo.h \ + undo_old.h event.h hid_actions.h compat_misc.h obj_all_op.h obj_arc_op.h \ + obj_elem_op.h obj_line_op.h obj_pad_op.h obj_pinvia_op.h obj_poly_op.h \ + obj_text_op.h obj_rat_op.h obj_subc_op.h obj_pstk_op.h netlist.o: netlist.c ../config.h board.h const.h macro.h \ global_typedefs.h pcb_bool.h unit.h vtroutestyle.h attrib.h \ ../src_3rd/genvector/genvector_impl.h \ @@ -6027,14 +5999,13 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h move.h misc_util.h ht_element.h ../src_3rd/genht/ht.h \ - obj_padstack_list.h obj_padstack.h obj_text_list.h obj_rat_list.h \ - obj_rat.h layer_grp.h library.h rats_patch.h error.h plug_io.h conf.h \ - pcb-printf.h ../src_3rd/genvector/gds_char.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/genvector/vtp0.h list_conf.h find.h \ - rats.h netlist.h route_style.h hid_actions.h hid.h drc.h compat_misc.h \ - event.h + obj_pstk_list.h obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h \ + layer_grp.h library.h rats_patch.h error.h plug_io.h conf.h pcb-printf.h \ + ../src_3rd/genvector/gds_char.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/genvector/vtp0.h list_conf.h find.h rats.h netlist.h \ + route_style.h hid_actions.h hid.h drc.h compat_misc.h event.h 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 \ action_helper.h global_typedefs.h pcb_bool.h unit.h data.h globalconst.h \ @@ -6046,19 +6017,18 @@ obj_pad.h obj_pinvia_list.h obj_pinvia.h obj_text.h font.h \ ../src_3rd/genht/htip.h ../src_3rd/genht/ht.h obj_poly.h polyarea.h \ obj_poly_list.h box.h math_helper.h macro.h move.h misc_util.h \ - ht_element.h ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h \ + ht_element.h ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h \ obj_text_list.h obj_rat_list.h obj_rat.h crosshair.h vtonpoint.h \ ../src_3rd/genvector/genvector_impl.h \ ../src_3rd/genvector/genvector_undef.h hid.h error.h drc.h layer_grp.h \ route.h const.h buffer.h obj_subc_list.h obj_subc.h \ ../src_3rd/libminuid/libminuid.h ../src_3rd/genht/htsp.h rtree.h \ - ht_subc.h vtpadstack.h obj_padstack_shape.h polygon.h vtpadstack_t.h \ - board.h vtroutestyle.h library.h rats_patch.h plug_io.h conf.h \ - pcb-printf.h ../src_3rd/genvector/gds_char.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 hid_actions.h compat_nls.h \ - compat_misc.h netlist.h route_style.h + ht_subc.h vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h board.h \ + vtroutestyle.h library.h rats_patch.h plug_io.h conf.h pcb-printf.h \ + ../src_3rd/genvector/gds_char.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 \ + hid_actions.h compat_nls.h compat_misc.h netlist.h route_style.h obj_any.o: obj_any.c ../config.h obj_any.h obj_common.h \ ../src_3rd/genht/hash.h ../src_3rd/genlist/gendlist.h flag.h \ globalconst.h attrib.h global_typedefs.h pcb_bool.h unit.h data_parent.h \ @@ -6076,13 +6046,13 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h move.h misc_util.h ht_element.h ../src_3rd/genht/ht.h \ - obj_padstack_list.h obj_padstack.h obj_text_list.h obj_rat_list.h \ - obj_rat.h layer_grp.h library.h rats_patch.h data.h crosshair.h \ - vtonpoint.h hid.h error.h drc.h route.h buffer.h obj_subc_list.h \ - obj_subc.h ../src_3rd/libminuid/libminuid.h ../src_3rd/genht/htsp.h \ - rtree.h ht_subc.h vtpadstack.h obj_padstack_shape.h polygon.h \ - vtpadstack_t.h undo.h ../src_3rd/libuundo/uundo.h undo_old.h rotate.h \ - conf_core.h conf.h pcb-printf.h ../src_3rd/genvector/gds_char.h \ + obj_pstk_list.h obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h \ + layer_grp.h library.h rats_patch.h data.h crosshair.h vtonpoint.h hid.h \ + error.h drc.h route.h buffer.h obj_subc_list.h obj_subc.h \ + ../src_3rd/libminuid/libminuid.h ../src_3rd/genht/htsp.h rtree.h \ + ht_subc.h vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h undo.h \ + ../src_3rd/libuundo/uundo.h undo_old.h rotate.h conf_core.h conf.h \ + pcb-printf.h ../src_3rd/genvector/gds_char.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 compat_misc.h draw_wireframe.h \ @@ -6105,7 +6075,7 @@ obj_pad.h obj_pinvia_list.h obj_pinvia.h obj_text.h font.h \ ../src_3rd/genht/htip.h ../src_3rd/genht/ht.h obj_poly.h polyarea.h \ obj_poly_list.h box.h math_helper.h macro.h move.h misc_util.h \ - ht_element.h ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h \ + ht_element.h ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h \ obj_text_list.h obj_rat_list.h obj_rat.h layer_grp.h route.h const.h obj_common.o: obj_common.c ../config.h conf_core.h conf.h \ global_typedefs.h pcb_bool.h unit.h pcb-printf.h \ @@ -6123,7 +6093,7 @@ obj_line.h obj_pad_list.h obj_pad.h obj_pinvia_list.h obj_pinvia.h \ obj_text.h font.h ../src_3rd/genht/htip.h obj_poly.h polyarea.h \ obj_poly_list.h box.h math_helper.h macro.h move.h misc_util.h \ - ht_element.h ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h \ + ht_element.h ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h \ obj_text_list.h obj_rat_list.h obj_rat.h layer_grp.h route.h obj_elem.o: obj_elem.c ../config.h board.h const.h macro.h \ global_typedefs.h pcb_bool.h unit.h vtroutestyle.h attrib.h \ @@ -6137,12 +6107,12 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h move.h misc_util.h ht_element.h ../src_3rd/genht/ht.h \ - obj_padstack_list.h obj_padstack.h obj_text_list.h obj_rat_list.h \ - obj_rat.h layer_grp.h library.h rats_patch.h data.h crosshair.h \ - vtonpoint.h hid.h error.h drc.h route.h buffer.h obj_subc_list.h \ - obj_subc.h ../src_3rd/libminuid/libminuid.h ../src_3rd/genht/htsp.h \ - rtree.h ht_subc.h vtpadstack.h obj_padstack_shape.h polygon.h \ - vtpadstack_t.h list_common.h plug_io.h conf.h pcb-printf.h \ + obj_pstk_list.h obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h \ + layer_grp.h library.h rats_patch.h data.h crosshair.h vtonpoint.h hid.h \ + error.h drc.h route.h buffer.h obj_subc_list.h obj_subc.h \ + ../src_3rd/libminuid/libminuid.h ../src_3rd/genht/htsp.h rtree.h \ + ht_subc.h vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h \ + list_common.h plug_io.h conf.h pcb-printf.h \ ../src_3rd/genvector/gds_char.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 \ @@ -6172,11 +6142,11 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h move.h misc_util.h ht_element.h ../src_3rd/genht/ht.h \ - obj_padstack_list.h obj_padstack.h obj_text_list.h obj_rat_list.h \ - obj_rat.h layer_grp.h rats_patch.h data.h crosshair.h vtonpoint.h hid.h \ - error.h drc.h route.h buffer.h obj_subc_list.h obj_subc.h \ + obj_pstk_list.h obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h \ + layer_grp.h rats_patch.h data.h crosshair.h vtonpoint.h hid.h error.h \ + drc.h route.h buffer.h obj_subc_list.h obj_subc.h \ ../src_3rd/libminuid/libminuid.h ../src_3rd/genht/htsp.h rtree.h \ - ht_subc.h vtpadstack.h obj_padstack_shape.h polygon.h vtpadstack_t.h \ + ht_subc.h vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h \ search.h rats.h netlist.h route_style.h conf_core.h conf.h pcb-printf.h \ ../src_3rd/genvector/gds_char.h ../src_3rd/liblihata/lihata.h \ ../src_3rd/liblihata/dom.h ../src_3rd/liblihata/lihata.h \ @@ -6199,12 +6169,12 @@ obj_elem_list.h obj_elem.h obj_line_list.h obj_line.h obj_pad_list.h \ obj_pad.h obj_pinvia_list.h obj_pinvia.h obj_text.h font.h \ ../src_3rd/genht/htip.h obj_poly.h polyarea.h obj_poly_list.h box.h \ - move.h misc_util.h ht_element.h ../src_3rd/genht/ht.h \ - obj_padstack_list.h obj_padstack.h obj_text_list.h obj_rat_list.h \ - obj_rat.h layer_grp.h library.h rats_patch.h data.h crosshair.h \ - vtonpoint.h hid.h error.h drc.h route.h buffer.h obj_subc_list.h \ - obj_subc.h ../src_3rd/libminuid/libminuid.h rtree.h ht_subc.h \ - vtpadstack.h obj_padstack_shape.h polygon.h vtpadstack_t.h find.h + move.h misc_util.h ht_element.h ../src_3rd/genht/ht.h obj_pstk_list.h \ + obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h layer_grp.h \ + library.h rats_patch.h data.h crosshair.h vtonpoint.h hid.h error.h \ + drc.h route.h buffer.h obj_subc_list.h obj_subc.h \ + ../src_3rd/libminuid/libminuid.h rtree.h ht_subc.h vtpadstack.h \ + obj_pstk_shape.h polygon.h vtpadstack_t.h find.h obj_line_list.o: obj_line_list.c obj_line_list.h obj_line.h obj_common.h \ ../src_3rd/genht/hash.h ../src_3rd/genlist/gendlist.h flag.h \ globalconst.h ../config.h attrib.h global_typedefs.h pcb_bool.h unit.h \ @@ -6223,17 +6193,17 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h move.h misc_util.h ht_element.h ../src_3rd/genht/ht.h \ - obj_padstack_list.h obj_padstack.h obj_text_list.h obj_rat_list.h \ - obj_rat.h layer_grp.h library.h rats_patch.h data.h crosshair.h \ - vtonpoint.h hid.h error.h drc.h route.h buffer.h obj_subc_list.h \ - obj_subc.h ../src_3rd/libminuid/libminuid.h ../src_3rd/genht/htsp.h \ - rtree.h ht_subc.h vtpadstack.h obj_padstack_shape.h polygon.h \ - vtpadstack_t.h undo.h ../src_3rd/libuundo/uundo.h undo_old.h \ - compat_misc.h conf_core.h conf.h pcb-printf.h \ - ../src_3rd/genvector/gds_char.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 \ - obj_pad_op.h operation.h draw.h obj_text_draw.h obj_pad_draw.h + obj_pstk_list.h obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h \ + layer_grp.h library.h rats_patch.h data.h crosshair.h vtonpoint.h hid.h \ + error.h drc.h route.h buffer.h obj_subc_list.h obj_subc.h \ + ../src_3rd/libminuid/libminuid.h ../src_3rd/genht/htsp.h rtree.h \ + ht_subc.h vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h undo.h \ + ../src_3rd/libuundo/uundo.h undo_old.h compat_misc.h conf_core.h conf.h \ + pcb-printf.h ../src_3rd/genvector/gds_char.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 obj_pad_op.h operation.h draw.h \ + obj_text_draw.h obj_pad_draw.h obj_pad_list.o: obj_pad_list.c obj_pad_list.h obj_pad.h obj_common.h \ ../src_3rd/genht/hash.h ../src_3rd/genlist/gendlist.h flag.h \ globalconst.h ../config.h attrib.h global_typedefs.h pcb_bool.h unit.h \ @@ -6240,7 +6210,7 @@ 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_padstack.o: obj_padstack.c ../config.h board.h const.h macro.h \ +obj_pinvia.o: obj_pinvia.c ../config.h board.h const.h macro.h \ global_typedefs.h pcb_bool.h unit.h vtroutestyle.h attrib.h \ ../src_3rd/genvector/genvector_impl.h \ ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h \ @@ -6252,48 +6222,24 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h move.h misc_util.h ht_element.h ../src_3rd/genht/ht.h \ - obj_padstack_list.h obj_padstack.h obj_text_list.h obj_rat_list.h \ - obj_rat.h layer_grp.h library.h rats_patch.h conf_core.h conf.h \ - pcb-printf.h ../src_3rd/genvector/gds_char.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/genvector/vtp0.h list_conf.h data.h \ - crosshair.h vtonpoint.h hid.h error.h drc.h route.h buffer.h \ - obj_subc_list.h obj_subc.h ../src_3rd/libminuid/libminuid.h rtree.h \ - ht_subc.h vtpadstack.h obj_padstack_shape.h polygon.h vtpadstack_t.h \ - data_list.h draw.h draw_wireframe.h obj_padstack_draw.h \ - obj_padstack_inlines.h thermal.h operation.h search.h rats.h netlist.h \ - route_style.h undo.h ../src_3rd/libuundo/uundo.h undo_old.h \ - obj_padstack_op.c -obj_padstack_act.o: obj_padstack_act.c ../config.h obj_padstack.h \ + obj_pstk_list.h obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h \ + layer_grp.h library.h rats_patch.h data.h crosshair.h vtonpoint.h hid.h \ + error.h drc.h route.h buffer.h obj_subc_list.h obj_subc.h \ + ../src_3rd/libminuid/libminuid.h ../src_3rd/genht/htsp.h rtree.h \ + ht_subc.h vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h undo.h \ + ../src_3rd/libuundo/uundo.h undo_old.h conf_core.h conf.h pcb-printf.h \ + ../src_3rd/genvector/gds_char.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 \ + compat_nls.h compat_misc.h stub_vendor.h rotate.h obj_pinvia_op.h \ + operation.h obj_subc_parent.h draw.h obj_text_draw.h obj_pinvia_draw.h +obj_pinvia_list.o: obj_pinvia_list.c obj_pinvia_list.h obj_pinvia.h \ obj_common.h ../src_3rd/genht/hash.h ../src_3rd/genlist/gendlist.h \ - flag.h globalconst.h attrib.h global_typedefs.h pcb_bool.h unit.h \ - data_parent.h obj_padstack_shape.h polygon.h rtree.h math_helper.h \ - polyarea.h layer.h obj_all_list.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_elem_list.h obj_elem.h \ - obj_line_list.h obj_line.h obj_pad_list.h obj_pad.h obj_pinvia_list.h \ - obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ - ../src_3rd/genht/ht.h obj_poly.h obj_poly_list.h box.h macro.h move.h \ - misc_util.h ht_element.h ../src_3rd/genht/ht.h obj_padstack_list.h \ - obj_text_list.h obj_rat_list.h obj_rat.h vtpadstack_t.h \ - ../src_3rd/genvector/genvector_impl.h \ - ../src_3rd/genvector/genvector_undef.h action_helper.h board.h const.h \ - vtroutestyle.h layer_grp.h library.h rats_patch.h conf_core.h conf.h \ - pcb-printf.h ../src_3rd/genvector/gds_char.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/genvector/vtp0.h list_conf.h data.h \ - crosshair.h vtonpoint.h hid.h error.h drc.h route.h buffer.h \ - obj_subc_list.h obj_subc.h ../src_3rd/libminuid/libminuid.h ht_subc.h \ - vtpadstack.h hid_actions.h -obj_padstack_list.o: obj_padstack_list.c obj_padstack_list.h \ - obj_padstack.h obj_common.h ../src_3rd/genht/hash.h \ - ../src_3rd/genlist/gendlist.h flag.h globalconst.h ../config.h attrib.h \ - global_typedefs.h pcb_bool.h unit.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_padstack_proto.o: obj_padstack_proto.c ../config.h board.h const.h \ + flag.h globalconst.h ../config.h attrib.h global_typedefs.h pcb_bool.h \ + unit.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 const.h \ macro.h global_typedefs.h pcb_bool.h unit.h vtroutestyle.h attrib.h \ ../src_3rd/genvector/genvector_impl.h \ ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h \ @@ -6305,18 +6251,9 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h move.h misc_util.h ht_element.h ../src_3rd/genht/ht.h \ - obj_padstack_list.h obj_padstack.h obj_text_list.h obj_rat_list.h \ - obj_rat.h layer_grp.h library.h rats_patch.h buffer.h conf_core.h conf.h \ - pcb-printf.h ../src_3rd/genvector/gds_char.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/genvector/vtp0.h list_conf.h data.h \ - crosshair.h vtonpoint.h hid.h error.h drc.h route.h obj_subc_list.h \ - obj_subc.h ../src_3rd/libminuid/libminuid.h rtree.h ht_subc.h \ - vtpadstack.h obj_padstack_shape.h polygon.h vtpadstack_t.h data_list.h \ - obj_padstack_inlines.h thermal.h rotate.h undo.h \ - ../src_3rd/libuundo/uundo.h undo_old.h -obj_pinvia.o: obj_pinvia.c ../config.h board.h const.h macro.h \ + obj_pstk_list.h obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h \ + layer_grp.h library.h rats_patch.h polygon.h rtree.h obj_pinvia_therm.h +obj_poly.o: obj_poly.c ../config.h board.h const.h macro.h \ global_typedefs.h pcb_bool.h unit.h vtroutestyle.h attrib.h \ ../src_3rd/genvector/genvector_impl.h \ ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h \ @@ -6328,26 +6265,26 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h move.h misc_util.h ht_element.h ../src_3rd/genht/ht.h \ - obj_padstack_list.h obj_padstack.h obj_text_list.h obj_rat_list.h \ - obj_rat.h layer_grp.h library.h rats_patch.h data.h crosshair.h \ - vtonpoint.h hid.h error.h drc.h route.h buffer.h obj_subc_list.h \ - obj_subc.h ../src_3rd/libminuid/libminuid.h ../src_3rd/genht/htsp.h \ - rtree.h ht_subc.h vtpadstack.h obj_padstack_shape.h polygon.h \ - vtpadstack_t.h undo.h ../src_3rd/libuundo/uundo.h undo_old.h conf_core.h \ - conf.h pcb-printf.h ../src_3rd/genvector/gds_char.h \ + obj_pstk_list.h obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h \ + layer_grp.h library.h rats_patch.h data.h crosshair.h vtonpoint.h hid.h \ + error.h drc.h route.h buffer.h obj_subc_list.h obj_subc.h \ + ../src_3rd/libminuid/libminuid.h ../src_3rd/genht/htsp.h rtree.h \ + ht_subc.h vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h \ + compat_nls.h undo.h ../src_3rd/libuundo/uundo.h undo_old.h \ + polygon_offs.h rotate.h search.h rats.h netlist.h route_style.h \ + conf_core.h conf.h pcb-printf.h ../src_3rd/genvector/gds_char.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 compat_nls.h compat_misc.h \ - stub_vendor.h rotate.h obj_pinvia_op.h operation.h obj_subc_parent.h \ - draw.h obj_text_draw.h obj_pinvia_draw.h -obj_pinvia_list.o: obj_pinvia_list.c obj_pinvia_list.h obj_pinvia.h \ - obj_common.h ../src_3rd/genht/hash.h ../src_3rd/genlist/gendlist.h \ - flag.h globalconst.h ../config.h attrib.h global_typedefs.h pcb_bool.h \ - unit.h data_parent.h ../src_3rd/genlist/gentdlist_impl.h \ + ../src_3rd/genvector/vtp0.h list_conf.h obj_poly_op.h operation.h \ + obj_poly_draw.h obj_subc_parent.h draw.h +obj_poly_list.o: obj_poly_list.c obj_poly_list.h obj_poly.h obj_common.h \ + ../src_3rd/genht/hash.h ../src_3rd/genlist/gendlist.h flag.h \ + globalconst.h ../config.h attrib.h global_typedefs.h pcb_bool.h unit.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_pinvia_therm.o: obj_pinvia_therm.c ../config.h board.h const.h \ - macro.h global_typedefs.h pcb_bool.h unit.h vtroutestyle.h attrib.h \ +obj_pstk.o: obj_pstk.c ../config.h board.h const.h macro.h \ + global_typedefs.h pcb_bool.h unit.h vtroutestyle.h attrib.h \ ../src_3rd/genvector/genvector_impl.h \ ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h \ obj_all_list.h obj_arc_list.h obj_common.h ../src_3rd/genht/hash.h \ @@ -6358,10 +6295,47 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h move.h misc_util.h ht_element.h ../src_3rd/genht/ht.h \ - obj_padstack_list.h obj_padstack.h obj_text_list.h obj_rat_list.h \ - obj_rat.h layer_grp.h library.h rats_patch.h polygon.h rtree.h \ - obj_pinvia_therm.h -obj_poly.o: obj_poly.c ../config.h board.h const.h macro.h \ + obj_pstk_list.h obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h \ + layer_grp.h library.h rats_patch.h conf_core.h conf.h pcb-printf.h \ + ../src_3rd/genvector/gds_char.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/genvector/vtp0.h list_conf.h data.h crosshair.h vtonpoint.h \ + hid.h error.h drc.h route.h buffer.h obj_subc_list.h obj_subc.h \ + ../src_3rd/libminuid/libminuid.h rtree.h ht_subc.h vtpadstack.h \ + obj_pstk_shape.h polygon.h vtpadstack_t.h data_list.h draw.h \ + draw_wireframe.h obj_pstk_draw.h obj_pstk_inlines.h thermal.h \ + operation.h search.h rats.h netlist.h route_style.h undo.h \ + ../src_3rd/libuundo/uundo.h undo_old.h obj_pstk_op.c +obj_pstk_act.o: obj_pstk_act.c ../config.h obj_pstk.h obj_common.h \ + ../src_3rd/genht/hash.h ../src_3rd/genlist/gendlist.h flag.h \ + globalconst.h attrib.h global_typedefs.h pcb_bool.h unit.h data_parent.h \ + obj_pstk_shape.h polygon.h rtree.h math_helper.h polyarea.h layer.h \ + obj_all_list.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_elem_list.h obj_elem.h \ + obj_line_list.h obj_line.h obj_pad_list.h obj_pad.h obj_pinvia_list.h \ + obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ + ../src_3rd/genht/ht.h obj_poly.h obj_poly_list.h box.h macro.h move.h \ + misc_util.h ht_element.h ../src_3rd/genht/ht.h obj_pstk_list.h \ + obj_text_list.h obj_rat_list.h obj_rat.h vtpadstack_t.h \ + ../src_3rd/genvector/genvector_impl.h \ + ../src_3rd/genvector/genvector_undef.h obj_pstk_inlines.h board.h \ + const.h vtroutestyle.h layer_grp.h library.h rats_patch.h data.h \ + crosshair.h vtonpoint.h hid.h error.h drc.h route.h buffer.h \ + obj_subc_list.h obj_subc.h ../src_3rd/libminuid/libminuid.h \ + ../src_3rd/genht/htsp.h ht_subc.h vtpadstack.h thermal.h action_helper.h \ + conf_core.h conf.h pcb-printf.h ../src_3rd/genvector/gds_char.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 hid_actions.h +obj_pstk_list.o: obj_pstk_list.c obj_pstk_list.h obj_pstk.h obj_common.h \ + ../src_3rd/genht/hash.h ../src_3rd/genlist/gendlist.h flag.h \ + globalconst.h ../config.h attrib.h global_typedefs.h pcb_bool.h unit.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 const.h macro.h \ global_typedefs.h pcb_bool.h unit.h vtroutestyle.h attrib.h \ ../src_3rd/genvector/genvector_impl.h \ ../src_3rd/genvector/genvector_undef.h layer.h globalconst.h \ @@ -6373,24 +6347,17 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h move.h misc_util.h ht_element.h ../src_3rd/genht/ht.h \ - obj_padstack_list.h obj_padstack.h obj_text_list.h obj_rat_list.h \ - obj_rat.h layer_grp.h library.h rats_patch.h data.h crosshair.h \ - vtonpoint.h hid.h error.h drc.h route.h buffer.h obj_subc_list.h \ - obj_subc.h ../src_3rd/libminuid/libminuid.h ../src_3rd/genht/htsp.h \ - rtree.h ht_subc.h vtpadstack.h obj_padstack_shape.h polygon.h \ - vtpadstack_t.h compat_nls.h undo.h ../src_3rd/libuundo/uundo.h \ - undo_old.h polygon_offs.h rotate.h search.h rats.h netlist.h \ - route_style.h conf_core.h conf.h pcb-printf.h \ - ../src_3rd/genvector/gds_char.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 \ - obj_poly_op.h operation.h obj_poly_draw.h obj_subc_parent.h draw.h -obj_poly_list.o: obj_poly_list.c obj_poly_list.h obj_poly.h obj_common.h \ - ../src_3rd/genht/hash.h ../src_3rd/genlist/gendlist.h flag.h \ - globalconst.h ../config.h attrib.h global_typedefs.h pcb_bool.h unit.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_list.h obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h \ + layer_grp.h library.h rats_patch.h buffer.h conf_core.h conf.h \ + pcb-printf.h ../src_3rd/genvector/gds_char.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/genvector/vtp0.h list_conf.h data.h \ + crosshair.h vtonpoint.h hid.h error.h drc.h route.h obj_subc_list.h \ + obj_subc.h ../src_3rd/libminuid/libminuid.h rtree.h ht_subc.h \ + vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h data_list.h \ + obj_pstk_inlines.h thermal.h rotate.h undo.h ../src_3rd/libuundo/uundo.h \ + undo_old.h obj_rat.o: obj_rat.c ../config.h board.h const.h macro.h \ global_typedefs.h pcb_bool.h unit.h vtroutestyle.h attrib.h \ ../src_3rd/genvector/genvector_impl.h \ @@ -6403,18 +6370,17 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h move.h misc_util.h ht_element.h ../src_3rd/genht/ht.h \ - obj_padstack_list.h obj_padstack.h obj_text_list.h obj_rat_list.h \ - obj_rat.h layer_grp.h library.h rats_patch.h data.h crosshair.h \ - vtonpoint.h hid.h error.h drc.h route.h buffer.h obj_subc_list.h \ - obj_subc.h ../src_3rd/libminuid/libminuid.h ../src_3rd/genht/htsp.h \ - rtree.h ht_subc.h vtpadstack.h obj_padstack_shape.h polygon.h \ - vtpadstack_t.h conf_core.h conf.h pcb-printf.h \ - ../src_3rd/genvector/gds_char.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 \ - undo.h ../src_3rd/libuundo/uundo.h undo_old.h obj_line_draw.h \ - obj_rat_op.h operation.h draw.h obj_rat_draw.h rats.h netlist.h \ - route_style.h + obj_pstk_list.h obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h \ + layer_grp.h library.h rats_patch.h data.h crosshair.h vtonpoint.h hid.h \ + error.h drc.h route.h buffer.h obj_subc_list.h obj_subc.h \ + ../src_3rd/libminuid/libminuid.h ../src_3rd/genht/htsp.h rtree.h \ + ht_subc.h vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h \ + conf_core.h conf.h pcb-printf.h ../src_3rd/genvector/gds_char.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 undo.h \ + ../src_3rd/libuundo/uundo.h undo_old.h obj_line_draw.h obj_rat_op.h \ + operation.h draw.h obj_rat_draw.h rats.h netlist.h route_style.h obj_rat_list.o: obj_rat_list.c obj_rat_list.h obj_rat.h obj_common.h \ ../src_3rd/genht/hash.h ../src_3rd/genlist/gendlist.h flag.h \ globalconst.h ../config.h attrib.h global_typedefs.h pcb_bool.h unit.h \ @@ -6433,14 +6399,14 @@ obj_pad.h obj_pinvia_list.h obj_pinvia.h obj_text.h font.h \ ../src_3rd/genht/htip.h ../src_3rd/genht/ht.h obj_poly.h polyarea.h \ obj_poly_list.h box.h math_helper.h move.h misc_util.h ht_element.h \ - ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h obj_text_list.h \ + ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h obj_text_list.h \ obj_rat_list.h obj_rat.h layer_grp.h library.h rats_patch.h crosshair.h \ vtonpoint.h hid.h error.h drc.h route.h data.h obj_subc_list.h \ obj_subc.h ../src_3rd/libminuid/libminuid.h ../src_3rd/genht/htsp.h \ - rtree.h ht_subc.h vtpadstack.h obj_padstack_shape.h polygon.h \ - vtpadstack_t.h obj_subc_op.h operation.h obj_poly_op.h obj_line_op.h \ - obj_term.h obj_text_draw.h draw.h undo.h ../src_3rd/libuundo/uundo.h \ - undo_old.h compat_misc.h pcb_minuid.h conf_core.h conf.h pcb-printf.h \ + rtree.h ht_subc.h vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h \ + obj_subc_op.h operation.h obj_poly_op.h obj_line_op.h obj_term.h \ + obj_text_draw.h draw.h undo.h ../src_3rd/libuundo/uundo.h undo_old.h \ + compat_misc.h pcb_minuid.h conf_core.h conf.h pcb-printf.h \ ../src_3rd/genvector/gds_char.h ../src_3rd/liblihata/lihata.h \ ../src_3rd/liblihata/dom.h ../src_3rd/liblihata/lihata.h \ ../src_3rd/liblihata/parser.h list_conf.h @@ -6465,12 +6431,12 @@ obj_pad.h obj_pinvia_list.h obj_pinvia.h obj_text.h font.h \ ../src_3rd/genht/htip.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h move.h misc_util.h ht_element.h ../src_3rd/genht/ht.h \ - obj_padstack_list.h obj_padstack.h obj_text_list.h obj_rat_list.h \ - obj_rat.h layer_grp.h library.h rats_patch.h compat_misc.h obj_term.h \ + obj_pstk_list.h obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h \ + layer_grp.h library.h rats_patch.h compat_misc.h obj_term.h \ obj_subc_parent.h data.h crosshair.h vtonpoint.h hid.h error.h drc.h \ route.h buffer.h obj_subc_list.h obj_subc.h \ ../src_3rd/libminuid/libminuid.h rtree.h ht_subc.h vtpadstack.h \ - obj_padstack_shape.h polygon.h vtpadstack_t.h pcb-printf.h \ + obj_pstk_shape.h polygon.h vtpadstack_t.h pcb-printf.h \ ../src_3rd/genvector/gds_char.h undo.h ../src_3rd/libuundo/uundo.h \ undo_old.h obj_text.o: obj_text.c ../config.h rotate.h global_typedefs.h pcb_bool.h \ @@ -6485,18 +6451,18 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h move.h misc_util.h ht_element.h ../src_3rd/genht/ht.h \ - obj_padstack_list.h obj_padstack.h obj_text_list.h obj_rat_list.h \ - obj_rat.h layer_grp.h library.h rats_patch.h data.h crosshair.h \ - vtonpoint.h hid.h error.h drc.h route.h buffer.h obj_subc_list.h \ - obj_subc.h ../src_3rd/libminuid/libminuid.h ../src_3rd/genht/htsp.h \ - rtree.h ht_subc.h vtpadstack.h obj_padstack_shape.h polygon.h \ - vtpadstack_t.h compat_misc.h compat_nls.h undo.h \ - ../src_3rd/libuundo/uundo.h undo_old.h event.h obj_text_op.h operation.h \ - obj_poly_draw.h obj_arc_draw.h obj_subc_parent.h draw.h obj_line_draw.h \ - obj_text_draw.h conf_core.h conf.h pcb-printf.h \ - ../src_3rd/genvector/gds_char.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 + obj_pstk_list.h obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h \ + layer_grp.h library.h rats_patch.h data.h crosshair.h vtonpoint.h hid.h \ + error.h drc.h route.h buffer.h obj_subc_list.h obj_subc.h \ + ../src_3rd/libminuid/libminuid.h ../src_3rd/genht/htsp.h rtree.h \ + ht_subc.h vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h \ + compat_misc.h compat_nls.h undo.h ../src_3rd/libuundo/uundo.h undo_old.h \ + event.h obj_text_op.h operation.h obj_poly_draw.h obj_arc_draw.h \ + obj_subc_parent.h draw.h obj_line_draw.h obj_text_draw.h conf_core.h \ + conf.h pcb-printf.h ../src_3rd/genvector/gds_char.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 obj_text_list.o: obj_text_list.c obj_poly_list.h obj_poly.h obj_common.h \ ../src_3rd/genht/hash.h ../src_3rd/genlist/gendlist.h flag.h \ globalconst.h ../config.h attrib.h global_typedefs.h pcb_bool.h unit.h \ @@ -6520,11 +6486,11 @@ obj_pad.h obj_pinvia_list.h obj_pinvia.h obj_text.h font.h \ ../src_3rd/genht/htip.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h macro.h move.h misc_util.h ht_element.h \ - ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h obj_text_list.h \ + ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h obj_text_list.h \ obj_rat_list.h obj_rat.h crosshair.h vtonpoint.h hid.h error.h drc.h \ layer_grp.h route.h const.h buffer.h obj_subc_list.h obj_subc.h \ ../src_3rd/libminuid/libminuid.h rtree.h ht_subc.h vtpadstack.h \ - obj_padstack_shape.h polygon.h vtpadstack_t.h board.h vtroutestyle.h \ + obj_pstk_shape.h polygon.h vtpadstack_t.h board.h vtroutestyle.h \ library.h rats_patch.h action_helper.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 rats.h netlist.h route_style.h \ @@ -6541,17 +6507,16 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h move.h misc_util.h ht_element.h ../src_3rd/genht/ht.h \ - obj_padstack_list.h obj_padstack.h obj_text_list.h obj_rat_list.h \ - obj_rat.h layer_grp.h library.h rats_patch.h data.h crosshair.h \ - vtonpoint.h hid.h error.h drc.h route.h buffer.h obj_subc_list.h \ - obj_subc.h ../src_3rd/libminuid/libminuid.h ../src_3rd/genht/htsp.h \ - rtree.h ht_subc.h vtpadstack.h obj_padstack_shape.h polygon.h \ - vtpadstack_t.h conf_core.h conf.h pcb-printf.h \ - ../src_3rd/genvector/gds_char.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 \ - undo.h ../src_3rd/libuundo/uundo.h undo_old.h rats.h netlist.h \ - route_style.h + obj_pstk_list.h obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h \ + layer_grp.h library.h rats_patch.h data.h crosshair.h vtonpoint.h hid.h \ + error.h drc.h route.h buffer.h obj_subc_list.h obj_subc.h \ + ../src_3rd/libminuid/libminuid.h ../src_3rd/genht/htsp.h rtree.h \ + ht_subc.h vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h \ + conf_core.h conf.h pcb-printf.h ../src_3rd/genvector/gds_char.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 undo.h \ + ../src_3rd/libuundo/uundo.h undo_old.h rats.h netlist.h route_style.h paths.o: paths.c ../config.h paths.h ../src_3rd/genvector/gds_char.h \ ../src_3rd/genvector/genvector_impl.h \ ../src_3rd/genvector/genvector_undef.h error.h conf_core.h conf.h \ @@ -6592,7 +6557,7 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h macro.h move.h misc_util.h ht_element.h \ - ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h obj_text_list.h \ + ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h obj_text_list.h \ obj_rat_list.h obj_rat.h layer_grp.h plug_footprint.h vtlibrary.h \ ../src_3rd/genvector/genvector_impl.h \ ../src_3rd/genvector/genvector_undef.h @@ -6624,13 +6589,13 @@ obj_line_list.h obj_line.h obj_pad_list.h obj_pad.h obj_pinvia_list.h \ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h obj_poly.h \ polyarea.h obj_poly_list.h box.h math_helper.h move.h misc_util.h \ - ht_element.h ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h \ + ht_element.h ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h \ obj_text_list.h obj_rat_list.h obj_rat.h layer_grp.h library.h \ rats_patch.h data.h crosshair.h vtonpoint.h hid.h error.h drc.h route.h \ buffer.h obj_subc_list.h obj_subc.h ../src_3rd/libminuid/libminuid.h \ - rtree.h ht_subc.h vtpadstack.h obj_padstack_shape.h polygon.h \ - vtpadstack_t.h plug_io.h remove.h paths.h hid_actions.h hid_flags.h \ - plugins.h ../src_3rd/puplug/puplug.h ../src_3rd/puplug/libs.h \ + rtree.h ht_subc.h vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h \ + plug_io.h remove.h paths.h hid_actions.h hid_flags.h plugins.h \ + ../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_nls.h compat_lrealpath.h layer_vis.h \ @@ -6650,7 +6615,7 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h macro.h move.h misc_util.h ht_element.h \ - ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h obj_text_list.h \ + ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h obj_text_list.h \ obj_rat_list.h obj_rat.h layer_grp.h polygon.o: polygon.c ../config.h conf_core.h conf.h global_typedefs.h \ pcb_bool.h unit.h pcb-printf.h ../src_3rd/genvector/gds_char.h \ @@ -6667,14 +6632,14 @@ obj_line_list.h obj_line.h obj_pad_list.h obj_pad.h obj_pinvia_list.h \ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h obj_poly.h \ polyarea.h obj_poly_list.h box.h math_helper.h move.h misc_util.h \ - ht_element.h ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h \ + ht_element.h ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h \ obj_text_list.h obj_rat_list.h obj_rat.h layer_grp.h library.h \ rats_patch.h data.h crosshair.h vtonpoint.h hid.h error.h drc.h route.h \ buffer.h obj_subc_list.h obj_subc.h ../src_3rd/libminuid/libminuid.h \ - rtree.h ht_subc.h vtpadstack.h obj_padstack_shape.h polygon.h \ - vtpadstack_t.h draw.h remove.h search.h rats.h netlist.h route_style.h \ - thermal.h undo.h ../src_3rd/libuundo/uundo.h undo_old.h compat_nls.h \ - obj_all.h obj_poly_draw.h polygon_offs.c + rtree.h ht_subc.h vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h \ + draw.h remove.h search.h rats.h netlist.h route_style.h thermal.h undo.h \ + ../src_3rd/libuundo/uundo.h undo_old.h compat_nls.h obj_all.h \ + obj_poly_draw.h polygon_offs.c polygon1.o: polygon1.c ../config.h rtree.h global_typedefs.h pcb_bool.h \ unit.h math_helper.h heap.h compat_cc.h pcb-printf.h \ ../src_3rd/genvector/gds_char.h ../src_3rd/genvector/genvector_impl.h \ @@ -6696,14 +6661,14 @@ obj_line_list.h obj_line.h obj_pad_list.h obj_pad.h obj_pinvia_list.h \ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h obj_poly.h \ polyarea.h obj_poly_list.h box.h math_helper.h move.h misc_util.h \ - ht_element.h ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h \ + ht_element.h ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h \ obj_text_list.h obj_rat_list.h obj_rat.h layer_grp.h library.h \ rats_patch.h data.h crosshair.h vtonpoint.h hid.h error.h drc.h route.h \ buffer.h obj_subc_list.h obj_subc.h ../src_3rd/libminuid/libminuid.h \ - rtree.h ht_subc.h vtpadstack.h obj_padstack_shape.h polygon.h \ - vtpadstack_t.h action_helper.h undo.h ../src_3rd/libuundo/uundo.h \ - undo_old.h funchash_core.h funchash.h funchash_core_list.h draw.h \ - search.h rats.h netlist.h route_style.h compat_nls.h + rtree.h ht_subc.h vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h \ + action_helper.h undo.h ../src_3rd/libuundo/uundo.h undo_old.h \ + funchash_core.h funchash.h funchash_core_list.h draw.h search.h rats.h \ + netlist.h route_style.h compat_nls.h rats.o: rats.c ../config.h conf_core.h conf.h global_typedefs.h \ pcb_bool.h unit.h pcb-printf.h ../src_3rd/genvector/gds_char.h \ ../src_3rd/genvector/genvector_impl.h \ @@ -6719,14 +6684,14 @@ obj_line_list.h obj_line.h obj_pad_list.h obj_pad.h obj_pinvia_list.h \ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h obj_poly.h \ polyarea.h obj_poly_list.h box.h math_helper.h move.h misc_util.h \ - ht_element.h ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h \ + ht_element.h ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h \ obj_text_list.h obj_rat_list.h obj_rat.h layer_grp.h library.h \ rats_patch.h data.h crosshair.h vtonpoint.h hid.h error.h drc.h route.h \ buffer.h obj_subc_list.h obj_subc.h ../src_3rd/libminuid/libminuid.h \ - rtree.h ht_subc.h vtpadstack.h obj_padstack_shape.h polygon.h \ - vtpadstack_t.h draw.h find.h rats.h netlist.h route_style.h search.h \ - undo.h ../src_3rd/libuundo/uundo.h undo_old.h stub_mincut.h \ - compat_misc.h compat_nls.h obj_rat_draw.h obj_term.h obj_subc_parent.h + rtree.h ht_subc.h vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h \ + draw.h find.h rats.h netlist.h route_style.h search.h undo.h \ + ../src_3rd/libuundo/uundo.h undo_old.h stub_mincut.h compat_misc.h \ + compat_nls.h obj_rat_draw.h obj_term.h obj_subc_parent.h rats_act.o: rats_act.c ../config.h conf_core.h conf.h global_typedefs.h \ pcb_bool.h unit.h pcb-printf.h ../src_3rd/genvector/gds_char.h \ ../src_3rd/genvector/genvector_impl.h \ @@ -6742,15 +6707,14 @@ obj_line_list.h obj_line.h obj_pad_list.h obj_pad.h obj_pinvia_list.h \ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h obj_poly.h \ polyarea.h obj_poly_list.h box.h math_helper.h move.h misc_util.h \ - ht_element.h ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h \ + ht_element.h ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h \ obj_text_list.h obj_rat_list.h obj_rat.h layer_grp.h library.h \ rats_patch.h data.h crosshair.h vtonpoint.h hid.h error.h drc.h route.h \ buffer.h obj_subc_list.h obj_subc.h ../src_3rd/libminuid/libminuid.h \ - rtree.h ht_subc.h vtpadstack.h obj_padstack_shape.h polygon.h \ - vtpadstack_t.h action_helper.h undo.h ../src_3rd/libuundo/uundo.h \ - undo_old.h find.h remove.h funchash_core.h funchash.h \ - funchash_core_list.h compat_nls.h rats.h netlist.h route_style.h draw.h \ - obj_rat_draw.h + rtree.h ht_subc.h vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h \ + action_helper.h undo.h ../src_3rd/libuundo/uundo.h undo_old.h find.h \ + remove.h funchash_core.h funchash.h funchash_core_list.h compat_nls.h \ + rats.h netlist.h route_style.h draw.h obj_rat_draw.h rats_patch.o: rats_patch.c rats_patch.h board.h ../config.h const.h \ macro.h global_typedefs.h pcb_bool.h unit.h vtroutestyle.h attrib.h \ ../src_3rd/genvector/genvector_impl.h \ @@ -6763,12 +6727,12 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h move.h misc_util.h ht_element.h ../src_3rd/genht/ht.h \ - obj_padstack_list.h obj_padstack.h obj_text_list.h obj_rat_list.h \ - obj_rat.h layer_grp.h library.h ../src_3rd/genht/htsp.h data.h \ - crosshair.h vtonpoint.h hid.h error.h drc.h route.h buffer.h \ - obj_subc_list.h obj_subc.h ../src_3rd/libminuid/libminuid.h rtree.h \ - ht_subc.h vtpadstack.h obj_padstack_shape.h polygon.h vtpadstack_t.h \ - copy.h compat_misc.h compat_nls.h safe_fs.h conf.h pcb-printf.h \ + obj_pstk_list.h obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h \ + layer_grp.h library.h ../src_3rd/genht/htsp.h data.h crosshair.h \ + vtonpoint.h hid.h error.h drc.h route.h buffer.h obj_subc_list.h \ + obj_subc.h ../src_3rd/libminuid/libminuid.h rtree.h ht_subc.h \ + vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h copy.h \ + compat_misc.h compat_nls.h safe_fs.h conf.h pcb-printf.h \ ../src_3rd/genvector/gds_char.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 @@ -6787,12 +6751,12 @@ obj_line_list.h obj_line.h obj_pad_list.h obj_pad.h obj_pinvia_list.h \ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h obj_poly.h \ polyarea.h obj_poly_list.h box.h math_helper.h move.h misc_util.h \ - ht_element.h ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h \ + ht_element.h ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h \ obj_text_list.h obj_rat_list.h obj_rat.h layer_grp.h library.h \ rats_patch.h draw.h hid.h error.h drc.h remove.h select.h operation.h \ undo.h ../src_3rd/libuundo/uundo.h undo_old.h obj_all_op.h obj_arc_op.h \ obj_elem_op.h obj_line_op.h obj_pad_op.h obj_pinvia_op.h obj_poly_op.h \ - obj_text_op.h obj_rat_op.h obj_subc_op.h obj_padstack_op.h + obj_text_op.h obj_rat_op.h obj_subc_op.h obj_pstk_op.h remove_act.o: remove_act.c const.h ../config.h data.h globalconst.h \ global_typedefs.h pcb_bool.h unit.h layer.h attrib.h obj_all_list.h \ obj_arc_list.h obj_common.h ../src_3rd/genht/hash.h \ @@ -6803,13 +6767,13 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h macro.h move.h misc_util.h ht_element.h \ - ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h obj_text_list.h \ + ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h obj_text_list.h \ obj_rat_list.h obj_rat.h crosshair.h vtonpoint.h \ ../src_3rd/genvector/genvector_impl.h \ ../src_3rd/genvector/genvector_undef.h hid.h error.h drc.h layer_grp.h \ route.h buffer.h obj_subc_list.h obj_subc.h \ ../src_3rd/libminuid/libminuid.h ../src_3rd/genht/htsp.h rtree.h \ - ht_subc.h vtpadstack.h obj_padstack_shape.h polygon.h vtpadstack_t.h \ + ht_subc.h vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h \ action_helper.h remove.h board.h vtroutestyle.h library.h rats_patch.h \ funchash_core.h funchash.h funchash_core_list.h rotate.o: rotate.c ../config.h board.h const.h macro.h global_typedefs.h \ @@ -6824,14 +6788,14 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h move.h misc_util.h ht_element.h ../src_3rd/genht/ht.h \ - obj_padstack_list.h obj_padstack.h obj_text_list.h obj_rat_list.h \ - obj_rat.h layer_grp.h library.h rats_patch.h data.h crosshair.h \ - vtonpoint.h hid.h error.h drc.h route.h buffer.h obj_subc_list.h \ - obj_subc.h ../src_3rd/libminuid/libminuid.h ../src_3rd/genht/htsp.h \ - rtree.h ht_subc.h vtpadstack.h obj_padstack_shape.h polygon.h \ - vtpadstack_t.h draw.h rotate.h search.h rats.h netlist.h route_style.h \ - select.h operation.h undo.h ../src_3rd/libuundo/uundo.h undo_old.h \ - event.h conf_core.h conf.h pcb-printf.h ../src_3rd/genvector/gds_char.h \ + obj_pstk_list.h obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h \ + layer_grp.h library.h rats_patch.h data.h crosshair.h vtonpoint.h hid.h \ + error.h drc.h route.h buffer.h obj_subc_list.h obj_subc.h \ + ../src_3rd/libminuid/libminuid.h ../src_3rd/genht/htsp.h rtree.h \ + ht_subc.h vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h draw.h \ + rotate.h search.h rats.h netlist.h route_style.h select.h operation.h \ + undo.h ../src_3rd/libuundo/uundo.h undo_old.h event.h conf_core.h conf.h \ + pcb-printf.h ../src_3rd/genvector/gds_char.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 compat_nls.h obj_all_op.h \ @@ -6853,12 +6817,12 @@ obj_elem_list.h obj_elem.h obj_line_list.h obj_line.h obj_pad_list.h \ obj_pad.h obj_pinvia_list.h obj_pinvia.h obj_text.h font.h \ ../src_3rd/genht/htip.h obj_poly.h polyarea.h obj_poly_list.h box.h \ - move.h misc_util.h ht_element.h ../src_3rd/genht/ht.h \ - obj_padstack_list.h obj_padstack.h obj_text_list.h obj_rat_list.h \ - obj_rat.h layer_grp.h library.h rats_patch.h data.h crosshair.h \ - vtonpoint.h hid.h error.h drc.h route.h buffer.h obj_subc_list.h \ - obj_subc.h ../src_3rd/libminuid/libminuid.h rtree.h ht_subc.h \ - vtpadstack.h obj_padstack_shape.h polygon.h vtpadstack_t.h find.h undo.h \ + move.h misc_util.h ht_element.h ../src_3rd/genht/ht.h obj_pstk_list.h \ + obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h layer_grp.h \ + library.h rats_patch.h data.h crosshair.h vtonpoint.h hid.h error.h \ + drc.h route.h buffer.h obj_subc_list.h obj_subc.h \ + ../src_3rd/libminuid/libminuid.h rtree.h ht_subc.h vtpadstack.h \ + obj_pstk_shape.h polygon.h vtpadstack_t.h find.h undo.h \ ../src_3rd/libuundo/uundo.h undo_old.h obj_line_draw.h obj_arc_draw.h \ obj_line_op.h operation.h draw_wireframe.h route_style.o: route_style.c ../config.h pcb-printf.h \ @@ -6877,7 +6841,7 @@ obj_line.h obj_pad_list.h obj_pad.h obj_pinvia_list.h obj_pinvia.h \ obj_text.h font.h ../src_3rd/genht/htip.h obj_poly.h polyarea.h \ obj_poly_list.h box.h math_helper.h move.h ht_element.h \ - ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h obj_text_list.h \ + ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h obj_text_list.h \ obj_rat_list.h obj_rat.h layer_grp.h library.h rats_patch.h \ funchash_core.h funchash.h funchash_core_list.h conf_core.h compat_nls.h rtree.o: rtree.c ../config.h math_helper.h compat_cc.h rtree.h \ @@ -6909,13 +6873,12 @@ obj_line_list.h obj_line.h obj_pad_list.h obj_pad.h obj_pinvia_list.h \ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h obj_poly.h \ polyarea.h obj_poly_list.h box.h math_helper.h move.h misc_util.h \ - ht_element.h ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h \ + ht_element.h ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h \ obj_text_list.h obj_rat_list.h obj_rat.h layer_grp.h library.h \ rats_patch.h data.h crosshair.h vtonpoint.h hid.h error.h drc.h route.h \ buffer.h obj_subc_list.h obj_subc.h ../src_3rd/libminuid/libminuid.h \ - rtree.h ht_subc.h vtpadstack.h obj_padstack_shape.h polygon.h \ - vtpadstack_t.h find.h search.h rats.h netlist.h route_style.h \ - obj_subc_parent.h + rtree.h ht_subc.h vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h \ + find.h search.h rats.h netlist.h route_style.h obj_subc_parent.h select.o: select.c ../config.h conf_core.h conf.h global_typedefs.h \ pcb_bool.h unit.h pcb-printf.h ../src_3rd/genvector/gds_char.h \ ../src_3rd/genvector/genvector_impl.h \ @@ -6931,16 +6894,16 @@ obj_line_list.h obj_line.h obj_pad_list.h obj_pad.h obj_pinvia_list.h \ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h obj_poly.h \ polyarea.h obj_poly_list.h box.h math_helper.h move.h misc_util.h \ - ht_element.h ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h \ + ht_element.h ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h \ obj_text_list.h obj_rat_list.h obj_rat.h layer_grp.h library.h \ rats_patch.h data.h crosshair.h vtonpoint.h hid.h error.h drc.h route.h \ buffer.h obj_subc_list.h obj_subc.h ../src_3rd/libminuid/libminuid.h \ - rtree.h ht_subc.h vtpadstack.h obj_padstack_shape.h polygon.h \ - vtpadstack_t.h draw.h search.h rats.h netlist.h route_style.h select.h \ - operation.h undo.h ../src_3rd/libuundo/uundo.h undo_old.h find.h \ - compat_misc.h compat_nls.h obj_elem_draw.h obj_pad_draw.h obj_arc_draw.h \ + rtree.h ht_subc.h vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h \ + draw.h search.h rats.h netlist.h route_style.h select.h operation.h \ + undo.h ../src_3rd/libuundo/uundo.h undo_old.h find.h compat_misc.h \ + compat_nls.h obj_elem_draw.h obj_pad_draw.h obj_arc_draw.h \ obj_pinvia_draw.h obj_line_draw.h obj_poly_draw.h obj_text_draw.h \ - obj_rat_draw.h obj_padstack_draw.h ../src_3rd/genregex/regex_sei.h \ + obj_rat_draw.h obj_pstk_draw.h ../src_3rd/genregex/regex_sei.h \ ../src_3rd/genregex/regex_templ.h ../src_3rd/genregex/regex.h select_act.o: select_act.c ../config.h conf_core.h conf.h \ global_typedefs.h pcb_bool.h unit.h pcb-printf.h \ @@ -6957,15 +6920,14 @@ obj_line_list.h obj_line.h obj_pad_list.h obj_pad.h obj_pinvia_list.h \ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h obj_poly.h \ polyarea.h obj_poly_list.h box.h math_helper.h move.h misc_util.h \ - ht_element.h ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h \ + ht_element.h ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h \ obj_text_list.h obj_rat_list.h obj_rat.h layer_grp.h library.h \ rats_patch.h data.h crosshair.h vtonpoint.h hid.h error.h drc.h route.h \ buffer.h obj_subc_list.h obj_subc.h ../src_3rd/libminuid/libminuid.h \ - rtree.h ht_subc.h vtpadstack.h obj_padstack_shape.h polygon.h \ - vtpadstack_t.h action_helper.h undo.h ../src_3rd/libuundo/uundo.h \ - undo_old.h funchash_core.h funchash.h funchash_core_list.h select.h \ - operation.h draw.h remove.h copy.h hid_attrib.h compat_misc.h \ - compat_nls.h + rtree.h ht_subc.h vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h \ + action_helper.h undo.h ../src_3rd/libuundo/uundo.h undo_old.h \ + funchash_core.h funchash.h funchash_core_list.h select.h operation.h \ + draw.h remove.h copy.h hid_attrib.h compat_misc.h compat_nls.h stub_draw.o: stub_draw.c ../config.h stub_draw.h hid.h error.h drc.h \ unit.h global_typedefs.h pcb_bool.h attrib.h layer.h globalconst.h \ obj_all_list.h obj_arc_list.h obj_common.h ../src_3rd/genht/hash.h \ @@ -6976,7 +6938,7 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h macro.h move.h misc_util.h ht_element.h \ - ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h obj_text_list.h \ + ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h obj_text_list.h \ obj_rat_list.h obj_rat.h layer_grp.h obj_text_draw.h stub_mincut.o: stub_mincut.c ../config.h stub_mincut.h global_typedefs.h \ pcb_bool.h unit.h obj_common.h ../src_3rd/genht/hash.h \ @@ -6995,14 +6957,14 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h macro.h move.h misc_util.h ht_element.h \ - ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h obj_text_list.h \ + ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h obj_text_list.h \ obj_rat_list.h obj_rat.h compat_misc.h data.h crosshair.h vtonpoint.h \ ../src_3rd/genvector/genvector_impl.h \ ../src_3rd/genvector/genvector_undef.h hid.h error.h drc.h layer_grp.h \ route.h const.h buffer.h obj_subc_list.h obj_subc.h \ ../src_3rd/libminuid/libminuid.h ../src_3rd/genht/htsp.h rtree.h \ - ht_subc.h vtpadstack.h obj_padstack_shape.h polygon.h vtpadstack_t.h \ - obj_padstack_inlines.h board.h vtroutestyle.h library.h rats_patch.h \ + ht_subc.h vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h \ + obj_pstk_inlines.h board.h vtroutestyle.h library.h rats_patch.h \ obj_pinvia_therm.h tool.o: tool.c ../config.h tool.h ../src_3rd/genvector/vtp0.h \ ../src_3rd/genvector/genvector_impl.h \ @@ -7020,7 +6982,7 @@ obj_pad.h obj_pinvia_list.h obj_pinvia.h obj_text.h font.h \ ../src_3rd/genht/htip.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h macro.h move.h misc_util.h ht_element.h \ - ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h obj_text_list.h \ + ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h obj_text_list.h \ obj_rat_list.h obj_rat.h layer_grp.h route.h const.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 \ @@ -7041,11 +7003,11 @@ obj_pad.h obj_pinvia_list.h obj_pinvia.h obj_text.h font.h \ ../src_3rd/genht/htip.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h move.h misc_util.h ht_element.h ../src_3rd/genht/ht.h \ - obj_padstack_list.h obj_padstack.h obj_text_list.h obj_rat_list.h \ - obj_rat.h layer_grp.h library.h rats_patch.h crosshair.h vtonpoint.h \ - hid.h error.h drc.h route.h data.h buffer.h obj_subc_list.h obj_subc.h \ + obj_pstk_list.h obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h \ + layer_grp.h library.h rats_patch.h crosshair.h vtonpoint.h hid.h error.h \ + drc.h route.h data.h buffer.h obj_subc_list.h obj_subc.h \ ../src_3rd/libminuid/libminuid.h rtree.h ht_subc.h vtpadstack.h \ - obj_padstack_shape.h polygon.h vtpadstack_t.h draw.h search.h rats.h \ + obj_pstk_shape.h polygon.h vtpadstack_t.h draw.h search.h rats.h \ netlist.h route_style.h tool.h undo.h ../src_3rd/libuundo/uundo.h \ undo_old.h obj_arc_draw.h tool_arrow.o: tool_arrow.c ../config.h conf_core.h conf.h \ @@ -7064,13 +7026,13 @@ obj_pad.h obj_pinvia_list.h obj_pinvia.h obj_text.h font.h \ ../src_3rd/genht/htip.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h move.h misc_util.h ht_element.h ../src_3rd/genht/ht.h \ - obj_padstack_list.h obj_padstack.h obj_text_list.h obj_rat_list.h \ - obj_rat.h layer_grp.h library.h rats_patch.h buffer.h crosshair.h \ - vtonpoint.h hid.h error.h drc.h route.h data.h obj_subc_list.h \ - obj_subc.h ../src_3rd/libminuid/libminuid.h rtree.h ht_subc.h \ - vtpadstack.h obj_padstack_shape.h polygon.h vtpadstack_t.h hid_actions.h \ - remove.h search.h rats.h netlist.h route_style.h select.h operation.h \ - tool.h undo.h ../src_3rd/libuundo/uundo.h undo_old.h + obj_pstk_list.h obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h \ + layer_grp.h library.h rats_patch.h buffer.h crosshair.h vtonpoint.h \ + hid.h error.h drc.h route.h data.h obj_subc_list.h obj_subc.h \ + ../src_3rd/libminuid/libminuid.h rtree.h ht_subc.h vtpadstack.h \ + obj_pstk_shape.h polygon.h vtpadstack_t.h hid_actions.h remove.h \ + search.h rats.h netlist.h route_style.h select.h operation.h tool.h \ + undo.h ../src_3rd/libuundo/uundo.h undo_old.h tool_buffer.o: tool_buffer.c ../config.h conf_core.h conf.h \ global_typedefs.h pcb_bool.h unit.h pcb-printf.h \ ../src_3rd/genvector/gds_char.h ../src_3rd/genvector/genvector_impl.h \ @@ -7087,13 +7049,12 @@ obj_pad.h obj_pinvia_list.h obj_pinvia.h obj_text.h font.h \ ../src_3rd/genht/htip.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h move.h misc_util.h ht_element.h ../src_3rd/genht/ht.h \ - obj_padstack_list.h obj_padstack.h obj_text_list.h obj_rat_list.h \ - obj_rat.h layer_grp.h library.h rats_patch.h buffer.h compat_misc.h \ - data.h crosshair.h vtonpoint.h hid.h error.h drc.h route.h \ - obj_subc_list.h obj_subc.h ../src_3rd/libminuid/libminuid.h rtree.h \ - ht_subc.h vtpadstack.h obj_padstack_shape.h polygon.h vtpadstack_t.h \ - hid_actions.h search.h rats.h netlist.h route_style.h tool.h \ - obj_elem_draw.h + obj_pstk_list.h obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h \ + layer_grp.h library.h rats_patch.h buffer.h compat_misc.h data.h \ + crosshair.h vtonpoint.h hid.h error.h drc.h route.h obj_subc_list.h \ + obj_subc.h ../src_3rd/libminuid/libminuid.h rtree.h ht_subc.h \ + vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h hid_actions.h \ + search.h rats.h netlist.h route_style.h tool.h obj_elem_draw.h tool_copy.o: tool_copy.c ../config.h action_helper.h global_typedefs.h \ pcb_bool.h unit.h board.h const.h macro.h vtroutestyle.h attrib.h \ ../src_3rd/genvector/genvector_impl.h \ @@ -7106,10 +7067,10 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h move.h misc_util.h ht_element.h ../src_3rd/genht/ht.h \ - obj_padstack_list.h obj_padstack.h obj_text_list.h obj_rat_list.h \ - obj_rat.h layer_grp.h library.h rats_patch.h copy.h crosshair.h \ - vtonpoint.h hid.h error.h drc.h route.h search.h rats.h netlist.h \ - route_style.h tool.h ../src_3rd/genvector/vtp0.h + obj_pstk_list.h obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h \ + layer_grp.h library.h rats_patch.h copy.h crosshair.h vtonpoint.h hid.h \ + error.h drc.h route.h search.h rats.h netlist.h route_style.h tool.h \ + ../src_3rd/genvector/vtp0.h tool_insert.o: tool_insert.c ../config.h action_helper.h \ global_typedefs.h pcb_bool.h unit.h board.h const.h macro.h \ vtroutestyle.h attrib.h ../src_3rd/genvector/genvector_impl.h \ @@ -7122,11 +7083,10 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h move.h misc_util.h ht_element.h ../src_3rd/genht/ht.h \ - obj_padstack_list.h obj_padstack.h obj_text_list.h obj_rat_list.h \ - obj_rat.h layer_grp.h library.h rats_patch.h compat_nls.h crosshair.h \ - vtonpoint.h hid.h error.h drc.h route.h insert.h polygon.h rtree.h \ - search.h rats.h netlist.h route_style.h tool.h \ - ../src_3rd/genvector/vtp0.h + obj_pstk_list.h obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h \ + layer_grp.h library.h rats_patch.h compat_nls.h crosshair.h vtonpoint.h \ + hid.h error.h drc.h route.h insert.h polygon.h rtree.h search.h rats.h \ + netlist.h route_style.h tool.h ../src_3rd/genvector/vtp0.h tool_line.o: tool_line.c ../config.h conf_core.h conf.h global_typedefs.h \ pcb_bool.h unit.h pcb-printf.h ../src_3rd/genvector/gds_char.h \ ../src_3rd/genvector/genvector_impl.h \ @@ -7143,11 +7103,11 @@ obj_pad.h obj_pinvia_list.h obj_pinvia.h obj_text.h font.h \ ../src_3rd/genht/htip.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h move.h misc_util.h ht_element.h ../src_3rd/genht/ht.h \ - obj_padstack_list.h obj_padstack.h obj_text_list.h obj_rat_list.h \ - obj_rat.h layer_grp.h library.h rats_patch.h crosshair.h vtonpoint.h \ - hid.h error.h drc.h route.h data.h buffer.h obj_subc_list.h obj_subc.h \ + obj_pstk_list.h obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h \ + layer_grp.h library.h rats_patch.h crosshair.h vtonpoint.h hid.h error.h \ + drc.h route.h data.h buffer.h obj_subc_list.h obj_subc.h \ ../src_3rd/libminuid/libminuid.h rtree.h ht_subc.h vtpadstack.h \ - obj_padstack_shape.h polygon.h vtpadstack_t.h draw.h rats.h netlist.h \ + obj_pstk_shape.h polygon.h vtpadstack_t.h draw.h rats.h netlist.h \ route_style.h search.h tool.h undo.h ../src_3rd/libuundo/uundo.h \ undo_old.h obj_line_draw.h obj_pinvia_draw.h obj_rat_draw.h tool_lock.o: tool_lock.c ../config.h action_helper.h global_typedefs.h \ @@ -7162,14 +7122,13 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h move.h misc_util.h ht_element.h ../src_3rd/genht/ht.h \ - obj_padstack_list.h obj_padstack.h obj_text_list.h obj_rat_list.h \ - obj_rat.h layer_grp.h library.h rats_patch.h change.h data.h crosshair.h \ + obj_pstk_list.h obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h \ + layer_grp.h library.h rats_patch.h change.h data.h crosshair.h \ vtonpoint.h hid.h error.h drc.h route.h buffer.h obj_subc_list.h \ obj_subc.h ../src_3rd/libminuid/libminuid.h ../src_3rd/genht/htsp.h \ - rtree.h ht_subc.h vtpadstack.h obj_padstack_shape.h polygon.h \ - vtpadstack_t.h draw.h hid_actions.h search.h rats.h netlist.h \ - route_style.h tool.h ../src_3rd/genvector/vtp0.h tool_lock.h \ - obj_elem_draw.h + rtree.h ht_subc.h vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h \ + draw.h hid_actions.h search.h rats.h netlist.h route_style.h tool.h \ + ../src_3rd/genvector/vtp0.h tool_lock.h obj_elem_draw.h tool_move.o: tool_move.c ../config.h action_helper.h global_typedefs.h \ pcb_bool.h unit.h board.h const.h macro.h vtroutestyle.h attrib.h \ ../src_3rd/genvector/genvector_impl.h \ @@ -7182,10 +7141,10 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h move.h misc_util.h ht_element.h ../src_3rd/genht/ht.h \ - obj_padstack_list.h obj_padstack.h obj_text_list.h obj_rat_list.h \ - obj_rat.h layer_grp.h library.h rats_patch.h compat_nls.h copy.h \ - crosshair.h vtonpoint.h hid.h error.h drc.h route.h search.h rats.h \ - netlist.h route_style.h tool.h ../src_3rd/genvector/vtp0.h + obj_pstk_list.h obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h \ + layer_grp.h library.h rats_patch.h compat_nls.h copy.h crosshair.h \ + vtonpoint.h hid.h error.h drc.h route.h search.h rats.h netlist.h \ + route_style.h tool.h ../src_3rd/genvector/vtp0.h tool_poly.o: tool_poly.c ../config.h conf_core.h conf.h global_typedefs.h \ pcb_bool.h unit.h pcb-printf.h ../src_3rd/genvector/gds_char.h \ ../src_3rd/genvector/genvector_impl.h \ @@ -7202,7 +7161,7 @@ obj_pad.h obj_pinvia_list.h obj_pinvia.h obj_text.h font.h \ ../src_3rd/genht/htip.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h macro.h move.h misc_util.h ht_element.h \ - ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h obj_text_list.h \ + ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h obj_text_list.h \ obj_rat_list.h obj_rat.h layer_grp.h route.h const.h hid_actions.h \ polygon.h rtree.h tool.h tool_polyhole.o: tool_polyhole.c ../config.h conf_core.h conf.h \ @@ -7221,7 +7180,7 @@ obj_pad.h obj_pinvia_list.h obj_pinvia.h obj_text.h font.h \ ../src_3rd/genht/htip.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h macro.h move.h misc_util.h ht_element.h \ - ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h obj_text_list.h \ + ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h obj_text_list.h \ obj_rat_list.h obj_rat.h layer_grp.h route.h const.h hid_actions.h \ search.h rats.h netlist.h library.h route_style.h vtroutestyle.h tool.h tool_rectangle.o: tool_rectangle.c ../config.h conf_core.h conf.h \ @@ -7240,11 +7199,11 @@ obj_pad.h obj_pinvia_list.h obj_pinvia.h obj_text.h font.h \ ../src_3rd/genht/htip.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h move.h misc_util.h ht_element.h ../src_3rd/genht/ht.h \ - obj_padstack_list.h obj_padstack.h obj_text_list.h obj_rat_list.h \ - obj_rat.h layer_grp.h library.h rats_patch.h crosshair.h vtonpoint.h \ - hid.h error.h drc.h route.h data.h buffer.h obj_subc_list.h obj_subc.h \ + obj_pstk_list.h obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h \ + layer_grp.h library.h rats_patch.h crosshair.h vtonpoint.h hid.h error.h \ + drc.h route.h data.h buffer.h obj_subc_list.h obj_subc.h \ ../src_3rd/libminuid/libminuid.h rtree.h ht_subc.h vtpadstack.h \ - obj_padstack_shape.h polygon.h vtpadstack_t.h draw.h tool.h undo.h \ + obj_pstk_shape.h polygon.h vtpadstack_t.h draw.h tool.h undo.h \ ../src_3rd/libuundo/uundo.h undo_old.h obj_poly_draw.h tool_remove.o: tool_remove.c ../config.h action_helper.h \ global_typedefs.h pcb_bool.h unit.h board.h const.h macro.h \ @@ -7258,10 +7217,10 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h move.h misc_util.h ht_element.h ../src_3rd/genht/ht.h \ - obj_padstack_list.h obj_padstack.h obj_text_list.h obj_rat_list.h \ - obj_rat.h layer_grp.h library.h rats_patch.h compat_nls.h event.h \ - hid_actions.h hid.h error.h drc.h undo.h ../src_3rd/libuundo/uundo.h \ - undo_old.h remove.h search.h rats.h netlist.h route_style.h tool.h \ + obj_pstk_list.h obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h \ + layer_grp.h library.h rats_patch.h compat_nls.h event.h hid_actions.h \ + hid.h error.h drc.h undo.h ../src_3rd/libuundo/uundo.h undo_old.h \ + remove.h search.h rats.h netlist.h route_style.h tool.h \ ../src_3rd/genvector/vtp0.h tool_rotate.o: tool_rotate.c ../config.h conf_core.h conf.h \ global_typedefs.h pcb_bool.h unit.h pcb-printf.h \ @@ -7279,7 +7238,7 @@ obj_pad.h obj_pinvia_list.h obj_pinvia.h obj_text.h font.h \ ../src_3rd/genht/htip.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h macro.h move.h misc_util.h ht_element.h \ - ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h obj_text_list.h \ + ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h obj_text_list.h \ obj_rat_list.h obj_rat.h layer_grp.h rotate.h tool.h tool_text.o: tool_text.c ../config.h conf_core.h conf.h global_typedefs.h \ pcb_bool.h unit.h pcb-printf.h ../src_3rd/genvector/gds_char.h \ @@ -7297,13 +7256,13 @@ obj_pad.h obj_pinvia_list.h obj_pinvia.h obj_text.h font.h \ ../src_3rd/genht/htip.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h move.h misc_util.h ht_element.h ../src_3rd/genht/ht.h \ - obj_padstack_list.h obj_padstack.h obj_text_list.h obj_rat_list.h \ - obj_rat.h layer_grp.h library.h rats_patch.h compat_nls.h data.h \ - crosshair.h vtonpoint.h hid.h error.h drc.h route.h buffer.h \ - obj_subc_list.h obj_subc.h ../src_3rd/libminuid/libminuid.h rtree.h \ - ht_subc.h vtpadstack.h obj_padstack_shape.h polygon.h vtpadstack_t.h \ - draw.h hid_actions.h tool.h undo.h ../src_3rd/libuundo/uundo.h \ - undo_old.h obj_text_draw.h + obj_pstk_list.h obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h \ + layer_grp.h library.h rats_patch.h compat_nls.h data.h crosshair.h \ + vtonpoint.h hid.h error.h drc.h route.h buffer.h obj_subc_list.h \ + obj_subc.h ../src_3rd/libminuid/libminuid.h rtree.h ht_subc.h \ + vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h draw.h \ + hid_actions.h tool.h undo.h ../src_3rd/libuundo/uundo.h undo_old.h \ + obj_text_draw.h tool_thermal.o: tool_thermal.c ../config.h action_helper.h \ global_typedefs.h pcb_bool.h unit.h board.h const.h macro.h \ vtroutestyle.h attrib.h ../src_3rd/genvector/genvector_impl.h \ @@ -7316,13 +7275,13 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h move.h misc_util.h ht_element.h ../src_3rd/genht/ht.h \ - obj_padstack_list.h obj_padstack.h obj_text_list.h obj_rat_list.h \ - obj_rat.h layer_grp.h library.h rats_patch.h change.h data.h crosshair.h \ + obj_pstk_list.h obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h \ + layer_grp.h library.h rats_patch.h change.h data.h crosshair.h \ vtonpoint.h hid.h error.h drc.h route.h buffer.h obj_subc_list.h \ obj_subc.h ../src_3rd/libminuid/libminuid.h ../src_3rd/genht/htsp.h \ - rtree.h ht_subc.h vtpadstack.h obj_padstack_shape.h polygon.h \ - vtpadstack_t.h hid_actions.h search.h rats.h netlist.h route_style.h \ - thermal.h tool.h ../src_3rd/genvector/vtp0.h + rtree.h ht_subc.h vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h \ + hid_actions.h search.h rats.h netlist.h route_style.h thermal.h tool.h \ + ../src_3rd/genvector/vtp0.h tool_via.o: tool_via.c ../config.h conf_core.h conf.h global_typedefs.h \ pcb_bool.h unit.h pcb-printf.h ../src_3rd/genvector/gds_char.h \ ../src_3rd/genvector/genvector_impl.h \ @@ -7339,13 +7298,12 @@ obj_pad.h obj_pinvia_list.h obj_pinvia.h obj_text.h font.h \ ../src_3rd/genht/htip.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h move.h misc_util.h ht_element.h ../src_3rd/genht/ht.h \ - obj_padstack_list.h obj_padstack.h obj_text_list.h obj_rat_list.h \ - obj_rat.h layer_grp.h library.h rats_patch.h change.h compat_nls.h \ - data.h crosshair.h vtonpoint.h hid.h error.h drc.h route.h buffer.h \ + obj_pstk_list.h obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h \ + layer_grp.h library.h rats_patch.h change.h compat_nls.h data.h \ + crosshair.h vtonpoint.h hid.h error.h drc.h route.h buffer.h \ obj_subc_list.h obj_subc.h ../src_3rd/libminuid/libminuid.h rtree.h \ - ht_subc.h vtpadstack.h obj_padstack_shape.h polygon.h vtpadstack_t.h \ - draw.h tool.h undo.h ../src_3rd/libuundo/uundo.h undo_old.h \ - obj_pinvia_draw.h + ht_subc.h vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h draw.h \ + tool.h undo.h ../src_3rd/libuundo/uundo.h undo_old.h obj_pinvia_draw.h undo.o: undo.c ../config.h ../src_3rd/libuundo/uundo_debug.h \ ../src_3rd/libuundo/uundo.h board.h const.h macro.h global_typedefs.h \ pcb_bool.h unit.h vtroutestyle.h attrib.h \ @@ -7359,18 +7317,18 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h move.h misc_util.h ht_element.h ../src_3rd/genht/ht.h \ - obj_padstack_list.h obj_padstack.h obj_text_list.h obj_rat_list.h \ - obj_rat.h layer_grp.h library.h rats_patch.h change.h data.h crosshair.h \ + obj_pstk_list.h obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h \ + layer_grp.h library.h rats_patch.h change.h data.h crosshair.h \ vtonpoint.h hid.h error.h drc.h route.h buffer.h obj_subc_list.h \ obj_subc.h ../src_3rd/libminuid/libminuid.h ../src_3rd/genht/htsp.h \ - rtree.h ht_subc.h vtpadstack.h obj_padstack_shape.h polygon.h \ - vtpadstack_t.h draw.h insert.h remove.h rotate.h search.h rats.h \ - netlist.h route_style.h undo.h ../src_3rd/libuundo/uundo.h undo_old.h \ - flag_str.h conf_core.h conf.h pcb-printf.h \ - ../src_3rd/genvector/gds_char.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 \ - compat_misc.h compat_nls.h obj_elem_draw.h obj_poly_draw.h + rtree.h ht_subc.h vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h \ + draw.h insert.h remove.h rotate.h search.h rats.h netlist.h \ + route_style.h undo.h ../src_3rd/libuundo/uundo.h undo_old.h flag_str.h \ + conf_core.h conf.h pcb-printf.h ../src_3rd/genvector/gds_char.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 compat_misc.h compat_nls.h \ + obj_elem_draw.h obj_poly_draw.h undo_act.o: undo_act.c ../config.h conf_core.h conf.h global_typedefs.h \ pcb_bool.h unit.h pcb-printf.h ../src_3rd/genvector/gds_char.h \ ../src_3rd/genvector/genvector_impl.h \ @@ -7386,16 +7344,16 @@ obj_line_list.h obj_line.h obj_pad_list.h obj_pad.h obj_pinvia_list.h \ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h obj_poly.h \ polyarea.h obj_poly_list.h box.h math_helper.h move.h misc_util.h \ - ht_element.h ../src_3rd/genht/ht.h obj_padstack_list.h obj_padstack.h \ + ht_element.h ../src_3rd/genht/ht.h obj_pstk_list.h obj_pstk.h \ obj_text_list.h obj_rat_list.h obj_rat.h layer_grp.h library.h \ rats_patch.h data.h crosshair.h vtonpoint.h hid.h error.h drc.h route.h \ buffer.h obj_subc_list.h obj_subc.h ../src_3rd/libminuid/libminuid.h \ - rtree.h ht_subc.h vtpadstack.h obj_padstack_shape.h polygon.h \ - vtpadstack_t.h action_helper.h funchash_core.h funchash.h \ - funchash_core_list.h undo.h ../src_3rd/libuundo/uundo.h undo_old.h \ - undo_act.h search.h rats.h netlist.h route_style.h obj_line_draw.h \ - tool.h tool_arc.h tool_copy.h tool_insert.h tool_line.h tool_move.h \ - tool_poly.h tool_polyhole.h tool_rectangle.h + rtree.h ht_subc.h vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h \ + action_helper.h funchash_core.h funchash.h funchash_core_list.h undo.h \ + ../src_3rd/libuundo/uundo.h undo_old.h undo_act.h search.h rats.h \ + netlist.h route_style.h obj_line_draw.h tool.h tool_arc.h tool_copy.h \ + tool_insert.h tool_line.h tool_move.h tool_poly.h tool_polyhole.h \ + tool_rectangle.h undo_old.o: undo_old.c ../config.h ../src_3rd/libuundo/uundo.h board.h \ const.h macro.h global_typedefs.h pcb_bool.h unit.h vtroutestyle.h \ attrib.h ../src_3rd/genvector/genvector_impl.h \ @@ -7408,13 +7366,13 @@ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h polyarea.h obj_poly_list.h box.h \ math_helper.h move.h misc_util.h ht_element.h ../src_3rd/genht/ht.h \ - obj_padstack_list.h obj_padstack.h obj_text_list.h obj_rat_list.h \ - obj_rat.h layer_grp.h library.h rats_patch.h change.h data.h crosshair.h \ + obj_pstk_list.h obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.h \ + layer_grp.h library.h rats_patch.h change.h data.h crosshair.h \ vtonpoint.h hid.h error.h drc.h route.h buffer.h obj_subc_list.h \ obj_subc.h ../src_3rd/libminuid/libminuid.h ../src_3rd/genht/htsp.h \ - rtree.h ht_subc.h vtpadstack.h obj_padstack_shape.h polygon.h \ - vtpadstack_t.h draw.h insert.h remove.h rotate.h search.h rats.h \ - netlist.h route_style.h undo.h undo_old.h flag_str.h conf_core.h conf.h \ + rtree.h ht_subc.h vtpadstack.h obj_pstk_shape.h polygon.h vtpadstack_t.h \ + draw.h insert.h remove.h rotate.h search.h rats.h netlist.h \ + route_style.h undo.h undo_old.h flag_str.h conf_core.h conf.h \ pcb-printf.h ../src_3rd/genvector/gds_char.h \ ../src_3rd/liblihata/lihata.h ../src_3rd/liblihata/dom.h \ ../src_3rd/liblihata/lihata.h ../src_3rd/liblihata/parser.h \ @@ -7429,10 +7387,10 @@ pcb_bool.h unit.h ../src_3rd/genvector/genvector_impl.h \ ../src_3rd/genvector/genvector_undef.h \ ../src_3rd/genvector/genvector_impl.c -vtpadstack.o: vtpadstack.c vtpadstack.h obj_padstack.h obj_common.h \ +vtpadstack.o: vtpadstack.c vtpadstack.h obj_pstk.h obj_common.h \ ../src_3rd/genht/hash.h ../src_3rd/genlist/gendlist.h flag.h \ globalconst.h ../config.h attrib.h global_typedefs.h pcb_bool.h unit.h \ - data_parent.h obj_padstack_shape.h polygon.h rtree.h math_helper.h \ + data_parent.h obj_pstk_shape.h polygon.h rtree.h math_helper.h \ polyarea.h layer.h obj_all_list.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_elem_list.h obj_elem.h \ @@ -7439,12 +7397,12 @@ obj_line_list.h obj_line.h obj_pad_list.h obj_pad.h obj_pinvia_list.h \ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h obj_poly_list.h box.h macro.h move.h \ - misc_util.h ht_element.h ../src_3rd/genht/ht.h obj_padstack_list.h \ + misc_util.h ht_element.h ../src_3rd/genht/ht.h obj_pstk_list.h \ obj_text_list.h obj_rat_list.h obj_rat.h vtpadstack_t.h \ ../src_3rd/genvector/genvector_impl.h \ ../src_3rd/genvector/genvector_undef.h \ ../src_3rd/genvector/genvector_impl.c -vtpadstack_t.o: vtpadstack_t.c vtpadstack_t.h obj_padstack_shape.h unit.h \ +vtpadstack_t.o: vtpadstack_t.c vtpadstack_t.h obj_pstk_shape.h unit.h \ ../config.h polygon.h flag.h globalconst.h rtree.h global_typedefs.h \ pcb_bool.h math_helper.h polyarea.h layer.h attrib.h obj_all_list.h \ obj_arc_list.h obj_common.h ../src_3rd/genht/hash.h \ @@ -7454,8 +7412,8 @@ obj_line_list.h obj_line.h obj_pad_list.h obj_pad.h obj_pinvia_list.h \ obj_pinvia.h obj_text.h font.h ../src_3rd/genht/htip.h \ ../src_3rd/genht/ht.h obj_poly.h obj_poly_list.h box.h macro.h move.h \ - misc_util.h ht_element.h ../src_3rd/genht/ht.h obj_padstack_list.h \ - obj_padstack.h obj_text_list.h obj_rat_list.h obj_rat.h \ + misc_util.h ht_element.h ../src_3rd/genht/ht.h obj_pstk_list.h \ + obj_pstk.h obj_text_list.h obj_rat_list.h obj_rat.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 12594) +++ trunk/src/Makefile.in (revision 12595) @@ -96,10 +96,10 @@ obj_line_drcenf.o obj_line_list.o obj_pad.o - obj_padstack.o - obj_padstack_act.o - obj_padstack_list.o - obj_padstack_proto.o + obj_pstk.o + obj_pstk_act.o + obj_pstk_list.o + obj_pstk_proto.o obj_pad_list.o obj_pinvia.o obj_pinvia_therm.o @@ -219,7 +219,7 @@ put /local/pcb/ACTION_REG_SRC { action_act.c buffer.c change_act.c conf_act.c file_act.c find_act.c gui_act.c main_act.c netlist_act.c font_act.c object_act.c - obj_padstack_act.c plugins.c polygon_act.c plug_footprint_act.c rats_act.c + obj_pstk_act.c plugins.c polygon_act.c plug_footprint_act.c rats_act.c rats_patch.c remove_act.c select_act.c undo_act.c } Index: trunk/src/buffer.c =================================================================== --- trunk/src/buffer.c (revision 12594) +++ trunk/src/buffer.c (revision 12595) @@ -46,7 +46,7 @@ #include "compat_nls.h" #include "obj_all_op.h" #include "obj_subc_op.h" -#include "obj_padstack_op.h" +#include "obj_pstk_op.h" #include "layer_grp.h" #include "event.h" #include "safe_fs.h" @@ -69,7 +69,7 @@ pcb_ratop_add_to_buffer, NULL, pcb_subcop_add_to_buffer, - pcb_padstackop_add_to_buffer, + pcb_pstkop_add_to_buffer, }; #warning TODO: rename this; move_to_buffer is also used to move from buffer to pcb @@ -88,7 +88,7 @@ pcb_ratop_move_to_buffer, NULL, pcb_subcop_move_to_buffer, - pcb_padstackop_move_to_buffer, + pcb_pstkop_move_to_buffer, }; /* --------------------------------------------------------------------------- @@ -704,7 +704,7 @@ changed |= (padstacklist_length(&(PCB_PASTEBUFFER->Data->padstack)) != 0); PCB_PADSTACK_LOOP(PCB_PASTEBUFFER->Data); { - pcb_padstackop_copy(&ctx, padstack); + pcb_pstkop_copy(&ctx, padstack); } PCB_END_LOOP; } Index: trunk/src/change.c =================================================================== --- trunk/src/change.c (revision 12594) +++ trunk/src/change.c (revision 12595) @@ -40,7 +40,7 @@ #include "hid_actions.h" #include "compat_nls.h" #include "obj_all_op.h" -#include "obj_padstack_op.h" +#include "obj_pstk_op.h" #include "obj_subc_parent.h" #include "obj_term.h" @@ -116,7 +116,7 @@ NULL, NULL, NULL, /* subc */ - pcb_padstackop_change_thermal + pcb_pstkop_change_thermal }; pcb_opfunc_t ChangeClearSizeFunctions = { Index: trunk/src/copy.c =================================================================== --- trunk/src/copy.c (revision 12594) +++ trunk/src/copy.c (revision 12595) @@ -38,7 +38,7 @@ #include "select.h" #include "undo.h" #include "obj_all_op.h" -#include "obj_padstack_op.h" +#include "obj_pstk_op.h" /* --------------------------------------------------------------------------- * some local identifiers @@ -58,7 +58,7 @@ NULL, NULL, pcb_subcop_copy, - pcb_padstackop_copy + pcb_pstkop_copy }; /* --------------------------------------------------------------------------- Index: trunk/src/crosshair.c =================================================================== --- trunk/src/crosshair.c (revision 12594) +++ trunk/src/crosshair.c (revision 12595) @@ -49,7 +49,7 @@ #include "obj_line_draw.h" #include "obj_arc_draw.h" #include "obj_text_draw.h" -#include "obj_padstack_draw.h" +#include "obj_pstk_draw.h" #include "obj_arc_ui.h" #include "obj_all_op.h" @@ -89,14 +89,14 @@ } } -static void thindraw_moved_ps(pcb_padstack_t *ps, pcb_coord_t x, pcb_coord_t y) +static void thindraw_moved_ps(pcb_pstk_t *ps, pcb_coord_t x, pcb_coord_t y) { /* Make a copy of the pin structure, moved to the correct position */ - pcb_padstack_t moved_ps = *ps; + pcb_pstk_t moved_ps = *ps; moved_ps.x += x; moved_ps.y += y; - pcb_padstack_thindraw(pcb_crosshair.GC, &moved_ps); + pcb_pstk_thindraw(pcb_crosshair.GC, &moved_ps); } /* --------------------------------------------------------------------------- @@ -351,7 +351,7 @@ case PCB_TYPE_PADSTACK: { - pcb_padstack_t *ps = (pcb_padstack_t *) pcb_crosshair.AttachedObject.Ptr1; + pcb_pstk_t *ps = (pcb_pstk_t *) pcb_crosshair.AttachedObject.Ptr1; thindraw_moved_ps(ps, dx, dy); break; } Index: trunk/src/draw.c =================================================================== --- trunk/src/draw.c (revision 12594) +++ trunk/src/draw.c (revision 12595) @@ -43,7 +43,7 @@ #include "obj_pad_draw.h" #include "obj_pinvia_draw.h" -#include "obj_padstack_draw.h" +#include "obj_pstk_draw.h" #include "obj_elem_draw.h" #include "obj_line_draw.h" #include "obj_arc_draw.h" @@ -422,22 +422,22 @@ pcb_gui->render_burst(PCB_HID_BURST_END, drawn_area); } -static void pcb_draw_padstacks(pcb_layergrp_id_t group, const pcb_box_t *drawn_area, int is_current, pcb_layer_combining_t comb) +static void pcb_draw_pstks(pcb_layergrp_id_t group, const pcb_box_t *drawn_area, int is_current, pcb_layer_combining_t comb) { - pcb_padstack_draw_t ctx; + pcb_pstk_draw_t ctx; ctx.pcb = PCB; ctx.gid = group; ctx.is_current = is_current; ctx.comb = comb; - pcb_r_search(PCB->Data->padstack_tree, drawn_area, NULL, pcb_padstack_draw_callback, &ctx, NULL); + pcb_r_search(PCB->Data->padstack_tree, drawn_area, NULL, pcb_pstk_draw_callback, &ctx, NULL); } -static void pcb_draw_padstack_holes(pcb_layergrp_id_t group, const pcb_box_t *drawn_area) +static void pcb_draw_pstk_holes(pcb_layergrp_id_t group, const pcb_box_t *drawn_area) { - pcb_padstack_draw_t ctx; + pcb_pstk_draw_t ctx; ctx.pcb = PCB; ctx.gid = group; - pcb_r_search(PCB->Data->padstack_tree, drawn_area, NULL, pcb_padstack_draw_hole_callback, &ctx, NULL); + pcb_r_search(PCB->Data->padstack_tree, drawn_area, NULL, pcb_pstk_draw_hole_callback, &ctx, NULL); } /* --------------------------------------------------------------------------- @@ -476,7 +476,7 @@ /* draw padstack holes - copper is drawn with each group */ if (PCB->ViaOn || !pcb_gui->gui) - pcb_draw_padstack_holes(group, drawn_area); + pcb_draw_pstk_holes(group, drawn_area); } /* --------------------------------------------------------------------------- @@ -622,7 +622,7 @@ pcb_draw_ppv(group, drawn_area); if (gflg & PCB_LYT_COPPER) - pcb_draw_padstacks(group, drawn_area, is_current, PCB_LYC_AUTO); + pcb_draw_pstks(group, drawn_area, is_current, PCB_LYC_AUTO); pcb_gui->set_drawing_mode(PCB_HID_COMP_FLUSH, Output.direct, drawn_area); } @@ -674,7 +674,7 @@ break; case PCB_OBJ_PADSTACK: if (PCB->ViaOn) - pcb_padstack_invalidate_draw((pcb_padstack_t *)obj); + pcb_pstk_invalidate_draw((pcb_pstk_t *)obj); break; case PCB_OBJ_LINE: if (obj->parent.layer->meta.real.vis) Index: trunk/src/find.c =================================================================== --- trunk/src/find.c (revision 12594) +++ trunk/src/find.c (revision 12595) @@ -79,7 +79,7 @@ #include "layer_vis.h" #include "obj_all.h" -#include "obj_padstack.h" +#include "obj_pstk.h" #undef DEBUG @@ -115,7 +115,7 @@ (((pcb_pin_t **)PVList.Data)[(I)]) #define PADSTACKLIST_ENTRY(I) \ - (((pcb_padstack_t **)PadstackList.Data)[(I)]) + (((pcb_pstk_t **)PadstackList.Data)[(I)]) /* --------------------------------------------------------------------------- * some local types Index: trunk/src/find_clear.c =================================================================== --- trunk/src/find_clear.c (revision 12594) +++ trunk/src/find_clear.c (revision 12595) @@ -50,7 +50,7 @@ pcb_undo_add_obj_to_flag(padstack); PCB_FLAG_CLEAR(flag, padstack); if (AndDraw) - pcb_padstack_invalidate_draw(padstack); + pcb_pstk_invalidate_draw(padstack); change = pcb_true; } } Index: trunk/src/find_debug.c =================================================================== --- trunk/src/find_debug.c (revision 12594) +++ trunk/src/find_debug.c (revision 12595) @@ -114,7 +114,7 @@ { pcb_cardinal_t i; pcb_pin_t *pv; - pcb_padstack_t *ps; + pcb_pstk_t *ps; if ((!PVList.Number) && (!PadstackList.Number)) return; Index: trunk/src/find_drc.c =================================================================== --- trunk/src/find_drc.c (revision 12594) +++ trunk/src/find_drc.c (revision 12595) @@ -35,7 +35,7 @@ #include "obj_elem_draw.h" #include "obj_poly_draw.h" #include "obj_pinvia_draw.h" -#include "obj_padstack_draw.h" +#include "obj_pstk_draw.h" /* DRC related functions */ @@ -163,7 +163,7 @@ } case PCB_TYPE_PADSTACK: { - pcb_padstack_t *ps = (pcb_padstack_t *) thing_ptr3; + pcb_pstk_t *ps = (pcb_pstk_t *) thing_ptr3; *x = ps->x; *y = ps->y; break; @@ -245,7 +245,7 @@ pcb_arc_t *arc = (pcb_arc_t *) ptr2; pcb_pin_t *pin = (pcb_pin_t *) ptr2; pcb_pad_t *pad = (pcb_pad_t *) ptr2; - pcb_padstack_t *ps = (pcb_padstack_t *) ptr2; + pcb_pstk_t *ps = (pcb_pstk_t *) ptr2; thing_type = type; thing_ptr1 = ptr1; @@ -294,7 +294,7 @@ } break; case PCB_TYPE_PADSTACK: - if (pcb_padstack_drc_check_clearance(ps, polygon, 2 * PCB->Bloat) != 0) { + if (pcb_pstk_drc_check_clearance(ps, polygon, 2 * PCB->Bloat) != 0) { pcb_undo_add_obj_to_flag(ptr2); PCB_FLAG_SET(TheFlag, pin); message = _("Padstack with insufficient clearance inside polygon\n"); @@ -629,7 +629,7 @@ if (!IsBad) { PCB_PADSTACK_LOOP(PCB->Data); { - if (pcb_padstack_drc_check_and_warn(padstack)) { + if (pcb_pstk_drc_check_and_warn(padstack)) { if (!throw_drc_dialog()) { IsBad = pcb_true; break; Index: trunk/src/find_geo.c =================================================================== --- trunk/src/find_geo.c (revision 12594) +++ trunk/src/find_geo.c (revision 12595) @@ -42,7 +42,7 @@ #include "macro.h" #include "obj_arc_ui.h" -#include "obj_padstack_inlines.h" +#include "obj_pstk_inlines.h" #define EXPAND_BOUNDS(p) if (Bloat > 0) {\ (p)->BoundingBox.X1 -= Bloat; \ @@ -825,14 +825,14 @@ pcb_line.Flags = shape_line.square ? pcb_flag_make(PCB_FLAG_SQUARE) : pcb_no_flags(); \ } while(0) -static inline PCB_FUNC_UNUSED pcb_bool_t pcb_padstack_intersect_line(pcb_padstack_t *ps, pcb_line_t *line) +static inline PCB_FUNC_UNUSED pcb_bool_t pcb_pstk_intersect_line(pcb_pstk_t *ps, pcb_line_t *line) { - pcb_padstack_shape_t *shape = pcb_padstack_shape_at(PCB, ps, line->parent.layer); + pcb_pstk_shape_t *shape = pcb_pstk_shape_at(PCB, ps, line->parent.layer); if (shape == NULL) return pcb_false; switch(shape->shape) { case PCB_PSSH_POLY: if (shape->data.poly.pa == NULL) - pcb_padstack_shape_update_pa(&shape->data.poly); + pcb_pstk_shape_update_pa(&shape->data.poly); return pcb_intersect_line_polyline(shape->data.poly.pa->contours, line->Point1.X - ps->x, line->Point1.Y - ps->y, line->Point2.X - ps->x, line->Point2.Y - ps->y, line->Thickness); case PCB_PSSH_LINE: { @@ -855,9 +855,9 @@ } -static inline PCB_FUNC_UNUSED pcb_bool_t pcb_padstack_intersect_arc(pcb_padstack_t *ps, pcb_arc_t *arc) +static inline PCB_FUNC_UNUSED pcb_bool_t pcb_pstk_intersect_arc(pcb_pstk_t *ps, pcb_arc_t *arc) { - pcb_padstack_shape_t *shape = pcb_padstack_shape_at(PCB, ps, arc->parent.layer); + pcb_pstk_shape_t *shape = pcb_pstk_shape_at(PCB, ps, arc->parent.layer); if (shape == NULL) return pcb_false; switch(shape->shape) { case PCB_PSSH_POLY: @@ -874,7 +874,7 @@ tmp.BoundingBox.Y2 -= ps->y; if (shape->data.poly.pa == NULL) - pcb_padstack_shape_update_pa(&shape->data.poly); + pcb_pstk_shape_update_pa(&shape->data.poly); return pcb_is_arc_in_polyarea(&tmp, shape->data.poly.pa); } @@ -892,9 +892,9 @@ return pcb_false; } -static inline PCB_FUNC_UNUSED pcb_bool_t pcb_padstack_intersect_poly(pcb_padstack_t *ps, pcb_poly_t *poly) +static inline PCB_FUNC_UNUSED pcb_bool_t pcb_pstk_intersect_poly(pcb_pstk_t *ps, pcb_poly_t *poly) { - pcb_padstack_shape_t *shape = pcb_padstack_shape_at(PCB, ps, poly->parent.layer); + pcb_pstk_shape_t *shape = pcb_pstk_shape_at(PCB, ps, poly->parent.layer); if (shape == NULL) return pcb_false; switch(shape->shape) { @@ -942,7 +942,7 @@ } -static inline PCB_FUNC_UNUSED pcb_bool_t pcb_padstack_intersect_rat(pcb_padstack_t *ps, pcb_rat_t *rat) +static inline PCB_FUNC_UNUSED pcb_bool_t pcb_pstk_intersect_rat(pcb_pstk_t *ps, pcb_rat_t *rat) { return ((rat->Point1.X == ps->x) && (rat->Point1.Y == ps->y)) || ((rat->Point2.X == ps->x) && (rat->Point2.Y == ps->y)); } Index: trunk/src/find_lookup.c =================================================================== --- trunk/src/find_lookup.c (revision 12594) +++ trunk/src/find_lookup.c (revision 12595) @@ -65,7 +65,7 @@ return pcb_false; } -static pcb_bool ADD_PS_TO_LIST(pcb_padstack_t *ps, int from_type, void *from_ptr, pcb_found_conn_type_t type) +static pcb_bool ADD_PS_TO_LIST(pcb_pstk_t *ps, int from_type, void *from_ptr, pcb_found_conn_type_t type) { if (User) pcb_undo_add_obj_to_flag(ps); @@ -84,7 +84,7 @@ return pcb_false; } -static pcb_bool ADD_PADSTACK_TO_LIST(pcb_padstack_t *ps, int from_type, void *from_ptr, pcb_found_conn_type_t type) +static pcb_bool ADD_PADSTACK_TO_LIST(pcb_pstk_t *ps, int from_type, void *from_ptr, pcb_found_conn_type_t type) { if (User) pcb_undo_add_obj_to_flag(ps); @@ -339,7 +339,7 @@ PVList.DrawLocation = 0; PVList.Number = 0; /* allocate memory for 'new padstack to check' list and clear struct */ - PadstackList.Data = (void **) calloc(TotalPs, sizeof(pcb_padstack_t *)); + PadstackList.Data = (void **) calloc(TotalPs, sizeof(pcb_pstk_t *)); PadstackList.Size = TotalPs; PadstackList.Location = 0; PadstackList.DrawLocation = 0; @@ -443,7 +443,7 @@ struct ps_info { pcb_layer_id_t layer; - pcb_padstack_t ps; + pcb_pstk_t ps; jmp_buf env; }; @@ -452,7 +452,7 @@ pcb_line_t *line = (pcb_line_t *) b; struct ps_info *i = (struct ps_info *) cl; - if (!PCB_FLAG_TEST(TheFlag, line) && pcb_padstack_intersect_line(&i->ps, line)) { + if (!PCB_FLAG_TEST(TheFlag, line) && pcb_pstk_intersect_line(&i->ps, line)) { if (ADD_LINE_TO_LIST(i->layer, line, PCB_TYPE_PADSTACK, &i->ps, PCB_FCT_COPPER)) longjmp(i->env, 1); } @@ -464,7 +464,7 @@ pcb_arc_t *arc = (pcb_arc_t *) b; struct ps_info *i = (struct ps_info *) cl; - if (!PCB_FLAG_TEST(TheFlag, arc) && pcb_padstack_intersect_arc(&i->ps, arc)) { + if (!PCB_FLAG_TEST(TheFlag, arc) && pcb_pstk_intersect_arc(&i->ps, arc)) { if (ADD_ARC_TO_LIST(i->layer, arc, PCB_TYPE_PADSTACK, &i->ps, PCB_FCT_COPPER)) longjmp(i->env, 1); } @@ -476,7 +476,7 @@ pcb_rat_t *rat = (pcb_rat_t *) b; struct ps_info *i = (struct ps_info *) cl; - if (!PCB_FLAG_TEST(TheFlag, rat) && pcb_padstack_intersect_rat(&i->ps, rat) && ADD_RAT_TO_LIST(rat, PCB_TYPE_PIN, &i->ps, PCB_FCT_RAT)) + if (!PCB_FLAG_TEST(TheFlag, rat) && pcb_pstk_intersect_rat(&i->ps, rat) && ADD_RAT_TO_LIST(rat, PCB_TYPE_PIN, &i->ps, PCB_FCT_RAT)) longjmp(i->env, 1); return PCB_R_DIR_NOT_FOUND; } @@ -486,7 +486,7 @@ pcb_poly_t *polygon = (pcb_poly_t *) b; struct ps_info *i = (struct ps_info *) cl; - if (!PCB_FLAG_TEST(TheFlag, polygon) && pcb_padstack_intersect_poly(&i->ps, polygon)) { + if (!PCB_FLAG_TEST(TheFlag, polygon) && pcb_pstk_intersect_poly(&i->ps, polygon)) { if (ADD_POLYGON_TO_LIST(i->layer, polygon, PCB_TYPE_PADSTACK, &i->ps, PCB_FCT_COPPER)) longjmp(i->env, 1); } @@ -565,7 +565,7 @@ { pcb_cardinal_t layer; struct ps_info info; - pcb_padstack_t *orig_ps; + pcb_pstk_t *orig_ps; /* loop over all PVs currently on list */ while (PadstackList.Location < PadstackList.Number) { @@ -804,10 +804,10 @@ static pcb_r_dir_t ps_line_callback(const pcb_box_t * b, void *cl) { - pcb_padstack_t *ps = (pcb_padstack_t *) b; + pcb_pstk_t *ps = (pcb_pstk_t *) b; struct lo_info *i = (struct lo_info *) cl; - if (!PCB_FLAG_TEST(TheFlag, ps) && pcb_padstack_intersect_line(ps, &i->line)) { + if (!PCB_FLAG_TEST(TheFlag, ps) && pcb_pstk_intersect_line(ps, &i->line)) { if (ADD_PS_TO_LIST(ps, PCB_TYPE_LINE, &i->line, PCB_FCT_COPPER)) longjmp(i->env, 1); } @@ -850,10 +850,10 @@ static pcb_r_dir_t ps_arc_callback(const pcb_box_t * b, void *cl) { - pcb_padstack_t *ps = (pcb_padstack_t *) b; + pcb_pstk_t *ps = (pcb_pstk_t *) b; struct lo_info *i = (struct lo_info *) cl; - if (!PCB_FLAG_TEST(TheFlag, ps) && pcb_padstack_intersect_arc(ps, &i->arc)) { + if (!PCB_FLAG_TEST(TheFlag, ps) && pcb_pstk_intersect_arc(ps, &i->arc)) { if (ADD_PS_TO_LIST(ps, PCB_TYPE_ARC, &i->arc, PCB_FCT_COPPER)) longjmp(i->env, 1); } @@ -894,10 +894,10 @@ static pcb_r_dir_t ps_poly_callback(const pcb_box_t * b, void *cl) { - pcb_padstack_t *ps = (pcb_padstack_t *) b; + pcb_pstk_t *ps = (pcb_pstk_t *) b; struct lo_info *i = (struct lo_info *) cl; - if (!PCB_FLAG_TEST(TheFlag, ps) && pcb_padstack_intersect_poly(ps, &i->polygon)) { + if (!PCB_FLAG_TEST(TheFlag, ps) && pcb_pstk_intersect_poly(ps, &i->polygon)) { if (ADD_PS_TO_LIST(ps, PCB_TYPE_POLYGON, &i->polygon, PCB_FCT_COPPER)) longjmp(i->env, 1); } @@ -918,11 +918,11 @@ static pcb_r_dir_t ps_rat_callback(const pcb_box_t * b, void *cl) { - pcb_padstack_t *ps = (pcb_padstack_t *) b; + pcb_pstk_t *ps = (pcb_pstk_t *) b; struct lo_info *i = (struct lo_info *) cl; /* rats can't cause DRC so there is no early exit */ - if (!PCB_FLAG_TEST(TheFlag, ps) && pcb_padstack_intersect_rat(ps, &i->rat)) + if (!PCB_FLAG_TEST(TheFlag, ps) && pcb_pstk_intersect_rat(ps, &i->rat)) ADD_PS_TO_LIST(ps, PCB_TYPE_RATLINE, &i->rat, PCB_FCT_RAT); return PCB_R_DIR_NOT_FOUND; } Index: trunk/src/find_misc.c =================================================================== --- trunk/src/find_misc.c (revision 12594) +++ trunk/src/find_misc.c (revision 12595) @@ -145,14 +145,14 @@ * sorted array pointers to padstack data */ while (PadstackList.DrawLocation < PadstackList.Number) { - pcb_padstack_t *ps = PADSTACKLIST_ENTRY(PadstackList.DrawLocation); + pcb_pstk_t *ps = PADSTACKLIST_ENTRY(PadstackList.DrawLocation); if (PCB_FLAG_TEST(PCB_FLAG_TERMNAME, ps)) { if (PCB->PinOn) - pcb_padstack_invalidate_draw(ps); + pcb_pstk_invalidate_draw(ps); } else if (PCB->ViaOn) - pcb_padstack_invalidate_draw(ps); + pcb_pstk_invalidate_draw(ps); PadstackList.DrawLocation++; } @@ -182,7 +182,7 @@ case PCB_OBJ_PADSTACK: { - if (ADD_PADSTACK_TO_LIST((pcb_padstack_t *)obj, 0, NULL, PCB_FCT_START)) + if (ADD_PADSTACK_TO_LIST((pcb_pstk_t *)obj, 0, NULL, PCB_FCT_START)) return pcb_true; break; } @@ -397,7 +397,7 @@ pcb_undo_add_obj_to_flag(padstack); PCB_FLAG_CLEAR(TheFlag, padstack); if (AndDraw) - pcb_padstack_invalidate_draw(padstack); + pcb_pstk_invalidate_draw(padstack); change = pcb_true; } } Index: trunk/src/global_typedefs.h =================================================================== --- trunk/src/global_typedefs.h (revision 12594) +++ trunk/src/global_typedefs.h (revision 12595) @@ -42,7 +42,7 @@ typedef struct pcb_poly_s pcb_poly_t; typedef struct pcb_pad_s pcb_pad_t; -typedef struct pcb_padstack_s pcb_padstack_t; +typedef struct pcb_pstk_s pcb_pstk_t; typedef struct pcb_pin_s pcb_pin_t; typedef struct pcb_rtree_s pcb_rtree_t; typedef struct pcb_rtree_it_s pcb_rtree_it_t; Index: trunk/src/move.c =================================================================== --- trunk/src/move.c (revision 12594) +++ trunk/src/move.c (revision 12595) @@ -44,7 +44,7 @@ #include "hid_actions.h" #include "compat_misc.h" #include "obj_all_op.h" -#include "obj_padstack_op.h" +#include "obj_pstk_op.h" /* --------------------------------------------------------------------------- * some local identifiers @@ -64,7 +64,7 @@ NULL, NULL, pcb_subcop_move, - pcb_padstackop_move + pcb_pstkop_move }; pcb_opfunc_t MoveFunctions_noclip = { @@ -82,7 +82,7 @@ NULL, NULL, NULL, /* subc */ - pcb_padstackop_move_noclip + pcb_pstkop_move_noclip }; pcb_opfunc_t ClipFunctions = { @@ -100,7 +100,7 @@ NULL, NULL, NULL, /* subc */ - pcb_padstackop_clip + pcb_pstkop_clip }; static pcb_opfunc_t MoveToLayerFunctions = { Index: trunk/src/obj_all_list.h =================================================================== --- trunk/src/obj_all_list.h (revision 12594) +++ trunk/src/obj_all_list.h (revision 12595) @@ -2,7 +2,7 @@ #include "obj_elem_list.h" #include "obj_line_list.h" #include "obj_pad_list.h" -#include "obj_padstack_list.h" +#include "obj_pstk_list.h" #include "obj_pinvia_list.h" #include "obj_poly_list.h" #include "obj_text_list.h" Index: trunk/src/obj_pad_draw.h =================================================================== --- trunk/src/obj_pad_draw.h (revision 12594) +++ trunk/src/obj_pad_draw.h (revision 12595) @@ -30,7 +30,7 @@ /* Include rtree.h for these */ #ifdef PCB_RTREE_H pcb_r_dir_t pcb_pad_draw_callback(const pcb_box_t * b, void *cl); -pcb_r_dir_t pcb_padstack_draw_hole_callback(const pcb_box_t *b, void *cl); +pcb_r_dir_t pcb_pstk_draw_hole_callback(const pcb_box_t *b, void *cl); pcb_r_dir_t pcb_pad_name_draw_callback(const pcb_box_t * b, void *cl); pcb_r_dir_t pcb_pad_clear_callback(const pcb_box_t * b, void *cl); #endif Index: trunk/src/obj_pstk.c =================================================================== --- trunk/src/obj_pstk.c (nonexistent) +++ trunk/src/obj_pstk.c (revision 12595) @@ -0,0 +1,516 @@ +/* + * COPYRIGHT + * + * pcb-rnd, interactive printed circuit board design + * 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., 675 Mass Ave, Cambridge, MA 02139, USA. + * + */ + +#include "config.h" + +#include + +#include "board.h" +#include "conf_core.h" +#include "data.h" +#include "data_list.h" +#include "draw.h" +#include "draw_wireframe.h" +#include "flag.h" +#include "obj_pstk.h" +#include "obj_pstk_draw.h" +#include "obj_pstk_list.h" +#include "obj_pstk_inlines.h" +#include "operation.h" +#include "search.h" +#include "undo.h" +#include "vtpadstack.h" + +#define PS_CROSS_SIZE PCB_MM_TO_COORD(1) + +static const char core_pstk_cookie[] = "padstack"; + +pcb_pstk_t *pcb_pstk_alloc(pcb_data_t *data) +{ + pcb_pstk_t *ps; + + ps = calloc(sizeof(pcb_pstk_t), 1); + ps->protoi = -1; + ps->type = PCB_OBJ_PADSTACK; + ps->Attributes.post_change = pcb_obj_attrib_post_change; + PCB_SET_PARENT(ps, data, data); + + padstacklist_append(&data->padstack, ps); + + return ps; +} + +void pcb_pstk_free(pcb_pstk_t *ps) +{ + padstacklist_remove(ps); + free(ps->thermals.shape); + free(ps); +} + +pcb_pstk_t *pcb_pstk_new(pcb_data_t *data, pcb_cardinal_t proto, pcb_coord_t x, pcb_coord_t y, pcb_coord_t clearance, pcb_flag_t Flags) +{ + pcb_pstk_t *ps; + + if (proto >= pcb_vtpadstack_proto_len(&data->ps_protos)) + return NULL; + + ps = pcb_pstk_alloc(data); + + /* copy values */ + ps->proto = proto; + ps->x = x; + ps->y = y; + ps->Clearance = clearance; + ps->Flags = Flags; + ps->ID = pcb_create_ID_get(); + pcb_pstk_add(data, ps); + return ps; +} + +void pcb_pstk_add(pcb_data_t *data, pcb_pstk_t *ps) +{ + pcb_pstk_bbox(ps); + if (!data->padstack_tree) + data->padstack_tree = pcb_r_create_tree(NULL, 0, 0); + pcb_r_insert_entry(data->padstack_tree, (pcb_box_t *)ps, 0); + PCB_SET_PARENT(ps, data, data); +} + +void pcb_pstk_bbox(pcb_pstk_t *ps) +{ + int n, sn; + pcb_line_t line; + pcb_pstk_proto_t *proto = pcb_pstk_get_proto(ps); + pcb_pstk_tshape_t *ts = pcb_pstk_get_tshape(ps); + assert(proto != NULL); + + ps->BoundingBox.X1 = ps->BoundingBox.X2 = ps->x; + ps->BoundingBox.Y1 = ps->BoundingBox.Y2 = ps->y; + + for(sn = 0; sn < ts->len; sn++) { + pcb_pstk_shape_t *shape = ts->shape + sn; + switch(shape->shape) { + case PCB_PSSH_POLY: + for(n = 0; n < shape->data.poly.len; n++) + pcb_box_bump_point(&ps->BoundingBox, shape->data.poly.x[n] + ps->x, shape->data.poly.y[n] + ps->y); + break; + case PCB_PSSH_LINE: + line.Point1.X = shape->data.line.x1 + ps->x; + line.Point1.Y = shape->data.line.y1 + ps->y; + line.Point2.X = shape->data.line.x2 + ps->x; + line.Point2.Y = shape->data.line.y2 + ps->y; + line.Thickness = shape->data.line.thickness; + line.Clearance = 0; + line.Flags = pcb_flag_make(shape->data.line.square ? PCB_FLAG_SQUARE : 0); + pcb_line_bbox(&line); + pcb_box_bump_box(&ps->BoundingBox, &line.BoundingBox); + break; + case PCB_PSSH_CIRC: + pcb_box_bump_point(&ps->BoundingBox, ps->x - shape->data.circ.dia/2, ps->y - shape->data.circ.dia/2); + pcb_box_bump_point(&ps->BoundingBox, ps->x + shape->data.circ.dia/2, ps->y + shape->data.circ.dia/2); + break; + } + } + + if (PCB_NONPOLY_HAS_CLEARANCE(ps)) { + ps->BoundingBox.X1 -= ps->Clearance; + ps->BoundingBox.Y1 -= ps->Clearance; + ps->BoundingBox.X2 += ps->Clearance; + ps->BoundingBox.Y2 += ps->Clearance; + } + + if (proto->hdia != 0) { + /* corner case: no copper around the hole all 360 deg - let the hole stick out */ + pcb_box_bump_point(&ps->BoundingBox, ps->x - proto->hdia/2, ps->y - proto->hdia/2); + pcb_box_bump_point(&ps->BoundingBox, ps->x + proto->hdia/2, ps->y + proto->hdia/2); + } + + pcb_close_box(&ps->BoundingBox); +} + +/*** utils ***/ + +static pcb_pstk_t *pcb_pstk_copy_meta(pcb_pstk_t *dst, pcb_pstk_t *src) +{ + if (dst == NULL) + return NULL; + pcb_attribute_copy_all(&dst->Attributes, &src->Attributes); + dst->thermals.used = src->thermals.used; + if (dst->thermals.used > 0) { + dst->thermals.shape = malloc(dst->thermals.used * sizeof(dst->thermals.shape[0])); + memcpy(dst->thermals.shape, src->thermals.shape, src->thermals.used * sizeof(src->thermals.shape[0])); + } + else + dst->thermals.shape = 0; + return dst; +} + + +void pcb_pstk_move(pcb_pstk_t *ps, pcb_coord_t dx, pcb_coord_t dy) +{ + ps->x += dx; + ps->y += dy; + ps->BoundingBox.X1 += dx; + ps->BoundingBox.Y1 += dy; + ps->BoundingBox.X2 += dx; + ps->BoundingBox.Y2 += dy; +} + +pcb_pstk_t *pcb_pstk_by_id(pcb_data_t *base, long int ID) +{ + pcb_box_t *ps; + pcb_rtree_it_t it; + + for(ps = pcb_r_first(base->padstack_tree, &it); ps != NULL; ps = pcb_r_next(&it)) { + if (((pcb_pstk_t *)ps)->ID == ID) { + pcb_r_end(&it); + return (pcb_pstk_t *)ps; + } + } + + pcb_r_end(&it); + return NULL; +} + +/*** draw ***/ + +static void set_ps_color(pcb_pstk_t *ps, int is_current) +{ + char *color; + char buf[sizeof("#XXXXXX")]; + + if (ps->term == NULL) { + /* normal via, not a terminal */ + if (!pcb_draw_doing_pinout && PCB_FLAG_TEST(PCB_FLAG_WARN | PCB_FLAG_SELECTED | PCB_FLAG_FOUND, ps)) { + if (PCB_FLAG_TEST(PCB_FLAG_WARN, ps)) + color = conf_core.appearance.color.warn; + else if (PCB_FLAG_TEST(PCB_FLAG_SELECTED, ps)) + color = conf_core.appearance.color.via_selected; + else + color = conf_core.appearance.color.connected; + + if (PCB_FLAG_TEST(PCB_FLAG_ONPOINT, ps)) { + assert(color != NULL); + pcb_lighten_color(color, buf, 1.75); + color = buf; + } + } + else { + if (is_current) + color = conf_core.appearance.color.via; + else + color = conf_core.appearance.color.invisible_objects; + } + } + else { + /* terminal */ + if (!pcb_draw_doing_pinout && PCB_FLAG_TEST(PCB_FLAG_WARN | PCB_FLAG_SELECTED | PCB_FLAG_FOUND, ps)) { + if (PCB_FLAG_TEST(PCB_FLAG_WARN, ps)) + color = conf_core.appearance.color.warn; + else if (PCB_FLAG_TEST(PCB_FLAG_SELECTED, ps)) + color = conf_core.appearance.color.pin_selected; + else + color = conf_core.appearance.color.connected; + + if (PCB_FLAG_TEST(PCB_FLAG_ONPOINT, ps)) { + assert(color != NULL); + pcb_lighten_color(color, buf, 1.75); + color = buf; + } + } + else + if (is_current) + color = conf_core.appearance.color.pin; + else + color = conf_core.appearance.color.invisible_objects; + + } + + pcb_gui->set_color(Output.fgGC, color); +} + +static void set_ps_annot_color(pcb_hid_gc_t gc, pcb_pstk_t *ps) +{ + pcb_gui->set_color(Output.fgGC, PCB_FLAG_TEST(PCB_FLAG_SELECTED, ps) ? + conf_core.appearance.color.subc_selected : conf_core.appearance.color.padstackmark); +} + +pcb_r_dir_t pcb_pstk_draw_callback(const pcb_box_t *b, void *cl) +{ + pcb_pstk_draw_t *ctx = cl; + pcb_pstk_t *ps = (pcb_pstk_t *)b; + pcb_pstk_shape_t *shape; + pcb_coord_t mark; + pcb_pstk_proto_t *proto; + + shape = pcb_pstk_shape_gid(ctx->pcb, ps, ctx->gid, (ctx->comb & ~PCB_LYC_AUTO)); + if (shape != NULL) { + pcb_gui->set_draw_xor(Output.fgGC, 0); + switch(shape->shape) { + case PCB_PSSH_POLY: + set_ps_color(ps, ctx->is_current); + pcb_gui->fill_polygon_offs(Output.fgGC, shape->data.poly.len, shape->data.poly.x, shape->data.poly.y, ps->x, ps->y); + break; + case PCB_PSSH_LINE: + set_ps_color(ps, ctx->is_current); + pcb_gui->set_line_cap(Output.fgGC, shape->data.line.square ? Square_Cap : Round_Cap); + pcb_gui->set_line_width(Output.fgGC, shape->data.line.thickness); + pcb_gui->draw_line(Output.fgGC, ps->x + shape->data.line.x1, ps->y + shape->data.line.y1, ps->x + shape->data.line.x2, ps->y + shape->data.line.y2); + break; + case PCB_PSSH_CIRC: + set_ps_color(ps, ctx->is_current); + pcb_gui->fill_circle(Output.fgGC, ps->x + shape->data.circ.x, ps->y + shape->data.circ.y, shape->data.circ.dia/2); + break; + } + } + + mark = PS_CROSS_SIZE/2; + proto = pcb_pstk_get_proto(ps); + if (proto != NULL) + mark += proto->hdia/2; + + set_ps_annot_color(Output.fgGC, ps); + pcb_gui->set_line_width(Output.fgGC, -3); + pcb_gui->set_draw_xor(Output.fgGC, 1); + pcb_gui->draw_line(Output.fgGC, ps->x-mark, ps->y, ps->x+mark, ps->y); + pcb_gui->draw_line(Output.fgGC, ps->x, ps->y-mark, ps->x, ps->y+mark); + pcb_gui->set_draw_xor(Output.fgGC, 0); + + return PCB_R_DIR_FOUND_CONTINUE; +} + +pcb_r_dir_t pcb_pstk_draw_hole_callback(const pcb_box_t *b, void *cl) +{ + pcb_pstk_draw_t *ctx = cl; + pcb_pstk_t *ps = (pcb_pstk_t *)b; + pcb_pstk_proto_t *proto; + + if (!pcb_pstk_bb_drills(ctx->pcb, ps, ctx->gid, &proto)) + return PCB_R_DIR_FOUND_CONTINUE; + + pcb_gui->fill_circle(Output.drillGC, ps->x, ps->y, proto->hdia / 2); + if (!proto->hplated) { + pcb_coord_t r = proto->hdia / 2; + r += r/8; /* +12.5% */ + pcb_gui->set_color(Output.fgGC, PCB_FLAG_TEST(PCB_FLAG_SELECTED, ps) ? conf_core.appearance.color.subc_selected : conf_core.appearance.color.subc); + pcb_gui->set_line_width(Output.fgGC, 0); + pcb_gui->set_draw_xor(Output.fgGC, 1); + pcb_gui->draw_arc(Output.fgGC, ps->x, ps->y, r, r, 20, 290); + pcb_gui->set_draw_xor(Output.fgGC, 0); + } + + return PCB_R_DIR_FOUND_CONTINUE; +} + +void pcb_pstk_thindraw(pcb_hid_gc_t gc, pcb_pstk_t *ps) +{ + pcb_pstk_shape_t *shape = NULL; + pcb_board_t *pcb; + pcb_layergrp_id_t gid = CURRENT->meta.real.grp; + int n; + + pcb = pcb_data_get_top(ps->parent.data); + if (pcb != NULL) { + shape = pcb_pstk_shape_gid(pcb, ps, gid, 0); + if (shape == NULL) + shape = pcb_pstk_shape_gid(pcb, ps, gid, PCB_LYC_SUB); + } + else { /* no pcb means buffer - take the first shape, whichever layer it is for */ + pcb_pstk_tshape_t *ts = pcb_pstk_get_tshape(ps); + if (ts != NULL) + shape = ts->shape; + } + + if (shape != NULL) { + pcb_gui->set_draw_xor(gc, 0); + switch(shape->shape) { + case PCB_PSSH_POLY: + for(n = 1; n < shape->data.poly.len; n++) + pcb_gui->draw_line(gc, ps->x + shape->data.poly.x[n-1], ps->y + shape->data.poly.y[n-1], ps->x + shape->data.poly.x[n], ps->y + shape->data.poly.y[n]); + pcb_gui->draw_line(gc, ps->x + shape->data.poly.x[n-1], ps->y + shape->data.poly.y[n-1], ps->x + shape->data.poly.x[0], ps->y + shape->data.poly.y[0]); + break; + case PCB_PSSH_LINE: + pcb_draw_wireframe_line(gc, ps->x + shape->data.line.x1, ps->y + shape->data.line.y1, ps->x + shape->data.line.x2, ps->y + shape->data.line.y2, shape->data.line.thickness, shape->data.line.square); + break; + case PCB_PSSH_CIRC: + pcb_gui->draw_arc(gc, ps->x + shape->data.circ.x, ps->y + shape->data.circ.y, shape->data.circ.dia/2, shape->data.circ.dia/2, 0, 360); + break; + } + } +} + +void pcb_pstk_invalidate_erase(pcb_pstk_t *ps) +{ + pcb_draw_invalidate(ps); +} + +void pcb_pstk_invalidate_draw(pcb_pstk_t *ps) +{ + pcb_draw_invalidate(ps); +} + + +int pcb_pstk_near_box(pcb_pstk_t *ps, pcb_box_t *box) +{ +#warning padstack TODO: refine this: consider the shapes on the layers that are visible + return (PCB_IS_BOX_NEGATIVE(box) ? PCB_BOX_TOUCHES_BOX(&ps->BoundingBox,box) : PCB_BOX_IN_BOX(&ps->BoundingBox,box)); +} + +int pcb_is_point_in_pstk(pcb_coord_t x, pcb_coord_t y, pcb_coord_t radius, pcb_pstk_t *ps) +{ +#warning padstack TODO: refine this: consider the shapes on the layers that are visible + return (x >= ps->BoundingBox.X1) && (y >= ps->BoundingBox.Y1) && (x <= ps->BoundingBox.X2) && (y <= ps->BoundingBox.Y2); +} + +int pcb_pstk_drc_check_clearance(pcb_pstk_t *ps, pcb_poly_t *polygon, pcb_coord_t min_clr) +{ +#warning padstack TODO + return 0; +} + + +int pcb_pstk_drc_check_and_warn(pcb_pstk_t *ps) +{ +#warning padstack TODO + return 0; +} + +unsigned char *pcb_pstk_get_thermal(pcb_pstk_t *ps, unsigned long lid, pcb_bool_t alloc) +{ + if (ps->thermals.used <= lid) { + unsigned long oldu = ps->thermals.used; + if (!alloc) + return NULL; + ps->thermals.used = lid+1; + ps->thermals.shape = realloc(ps->thermals.shape, ps->thermals.used); + memset(ps->thermals.shape + oldu, 0, ps->thermals.used - oldu); + } + return ps->thermals.shape + lid; +} + +void pcb_pstk_set_thermal(pcb_pstk_t *ps, unsigned long lid, unsigned char shape) +{ + unsigned char *th = pcb_pstk_get_thermal(ps, lid, 1); + if (th != NULL) + *th = shape; +} + +/*** Undoable instance parameter change ***/ + +typedef struct { + long int parent_ID; /* -1 for pcb, positive for a subc */ + long int ID; /* ID of the padstack */ + + pcb_cardinal_t proto; + pcb_coord_t clearance; + double rot; + int xmirror; +} padstack_change_instance_t; + +#define swap(a,b,type) \ + do { \ + type tmp = a; \ + a = b; \ + b = tmp; \ + } while(0) + +static int undo_change_instance_swap(void *udata) +{ + padstack_change_instance_t *u = udata; + pcb_data_t *data; + pcb_pstk_t *ps; + + if (u->parent_ID != -1) { + pcb_subc_t *subc = pcb_subc_by_id(PCB->Data, u->parent_ID); + if (subc == NULL) { + pcb_message(PCB_MSG_ERROR, "Can't undo padstack change: parent subc #%ld is not found\n", u->parent_ID); + return -1; + } + data = subc->data; + } + else + data = PCB->Data; + + ps = pcb_pstk_by_id(data, u->ID); + if (ps == NULL) { + pcb_message(PCB_MSG_ERROR, "Can't undo padstack change: padstack ID #%ld is not available\n", u->ID); + return -1; + } + + pcb_poly_restore_to_poly(ps->parent.data, PCB_TYPE_PADSTACK, NULL, ps); + pcb_pstk_invalidate_erase(ps); + + swap(ps->proto, u->proto, pcb_cardinal_t); + swap(ps->Clearance, u->clearance, pcb_coord_t); + swap(ps->rot, u->rot, double); + swap(ps->xmirror, u->xmirror, int); + + /* force re-render the prototype */ + ps->protoi = -1; + pcb_pstk_get_tshape(ps); + + pcb_poly_clear_from_poly(ps->parent.data, PCB_TYPE_PADSTACK, NULL, ps); + pcb_pstk_invalidate_draw(ps); + + return 0; +} + +static void undo_change_instance_print(void *udata, char *dst, size_t dst_len) +{ + padstack_change_instance_t *u = udata; + pcb_snprintf(dst, dst_len, "padstack change: clearance=%$mm rot=%.2f xmirror=%d\n", u->clearance, u->rot, u->xmirror); +} + +static const uundo_oper_t undo_pstk_change_instance = { + core_pstk_cookie, + NULL, /* free */ + undo_change_instance_swap, + undo_change_instance_swap, + undo_change_instance_print +}; + +int pcb_pstk_change_instance(pcb_pstk_t *ps, pcb_cardinal_t *proto, const pcb_coord_t *clearance, double *rot, int *xmirror) +{ + padstack_change_instance_t *u; + long int parent_ID; + + switch(ps->parent.data->parent_type) { + case PCB_PARENT_BOARD: parent_ID = -1; break; + case PCB_PARENT_SUBC: parent_ID = ps->parent.data->parent.subc->ID; break; + default: return -1; + } + + u = pcb_undo_alloc(PCB, &undo_pstk_change_instance, sizeof(padstack_change_instance_t)); + u->parent_ID = parent_ID; + u->ID = ps->ID; + u->proto = proto ? *proto : ps->proto; + u->clearance = clearance ? *clearance : ps->Clearance; + u->rot = rot ? *rot : ps->rot; + u->xmirror = xmirror ? *xmirror : ps->xmirror; + + undo_change_instance_swap(u); + + pcb_undo_inc_serial(); + return 0; +} + +#include "obj_pstk_op.c" Index: trunk/src/obj_pstk.h =================================================================== --- trunk/src/obj_pstk.h (nonexistent) +++ trunk/src/obj_pstk.h (revision 12595) @@ -0,0 +1,147 @@ +/* + * COPYRIGHT + * + * pcb-rnd, interactive printed circuit board design + * 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., 675 Mass Ave, Cambridge, MA 02139, USA. + * + */ + +#ifndef PCB_OBJ_PADSTACK_STRUCT_DECLARED +#define PCB_OBJ_PADSTACK_STRUCT_DECLARED + +#include "obj_common.h" + +/* The actual padstack is just a reference to a padstack proto within the same data */ +struct pcb_pstk_s { +#define thermal thermal_dont_use + PCB_ANYOBJECTFIELDS; +#undef thermal + pcb_cardinal_t proto; /* reference to a pcb_pstk_proto_t within pcb_data_t */ + int protoi; /* index of the transformed proto; -1 means invalid; local cache, not saved */ + pcb_coord_t x, y; + pcb_coord_t Clearance; + double rot; /* rotation angle */ + int xmirror; + struct { + unsigned long used; + unsigned char *shape; /* indexed by layer ID */ + } thermals; + gdl_elem_t link; /* a padstack is in a list in pcb_data_t as a global object */ +}; +#endif + +#ifndef PCB_PADSTACK_STRUCT_ONLY +#ifndef PCB_OBJ_PADSTACK_H +#define PCB_OBJ_PADSTACK_H + +#define PCB_PADSTACK_MAX_SHAPES 31 + +#define PCB_PADSTACK_INVALID ((pcb_cardinal_t)(-1)) + +#include "obj_common.h" +#include "obj_pstk_shape.h" +#include "vtpadstack_t.h" + +typedef struct pcb_pstk_proto_s { + unsigned in_use:1; /* 1 if the slot is in use */ + + unsigned hplated:1; /* if > 0, whether the hole is plated */ + pcb_coord_t hdia; /* if > 0, diameter of the hole (else there's no hole) */ + int htop, hbottom; /* if hdia > 0, determine the hole's span, counted in copper layer groups from the top or bottom copper layer group */ + + pcb_vtpadstack_tshape_t tr; /* [0] is the canonical prototype with rot=0 and xmirror=0; the rest is an unordered list of transformed entries */ + + /* local cache - not saved */ + unsigned long hash; /* optimization: linear search compare speeded up: go into detailed match only if hash matches */ + pcb_data_t *parent; +} pcb_pstk_proto_t; + + + +pcb_pstk_t *pcb_pstk_alloc(pcb_data_t *data); +void pcb_pstk_free(pcb_pstk_t *ps); +pcb_pstk_t *pcb_pstk_new(pcb_data_t *data, pcb_cardinal_t proto, pcb_coord_t x, pcb_coord_t y, pcb_coord_t clearance, pcb_flag_t Flags); +void pcb_pstk_add(pcb_data_t *data, pcb_pstk_t *ps); +void pcb_pstk_bbox(pcb_pstk_t *ps); + +void pcb_pstk_set_thermal(pcb_pstk_t *ps, unsigned long lid, unsigned char shape); +unsigned char *pcb_pstk_get_thermal(pcb_pstk_t *ps, unsigned long lid, pcb_bool_t alloc); + +pcb_pstk_t *pcb_pstk_by_id(pcb_data_t *base, long int ID); + +/* Undoably change the instance parameters of a padstack ref */ +int pcb_pstk_change_instance(pcb_pstk_t *ps, pcb_cardinal_t *proto, const pcb_coord_t *clearance, double *rot, int *xmirror); + +/*** proto ***/ + +/* allocate and return the next available group ID */ +unsigned long pcb_pstk_alloc_group(pcb_data_t *data); + +/* Convert selection or current buffer to padstack; returns PCB_PADSTACK_INVALID + on error; looks for existing matching protos to avoid adding redundant + entries */ +pcb_cardinal_t pcb_pstk_conv_selection(pcb_board_t *pcb, int quiet, pcb_coord_t ox, pcb_coord_t oy); +pcb_cardinal_t pcb_pstk_conv_buffer(int quiet); + +/* free fields of a proto (not freeing the proto itself, not removing it from lists */ +void pcb_pstk_proto_free_fields(pcb_pstk_proto_t *dst); + +/* allocate the point array of a poly shape (single allocation for x and y) */ +void pcb_pstk_shape_alloc_poly(pcb_pstk_poly_t *poly, int len); + +/* geometry for select.c and search.c */ +int pcb_pstk_near_box(pcb_pstk_t *ps, pcb_box_t *box); +int pcb_is_point_in_pstk(pcb_coord_t x, pcb_coord_t y, pcb_coord_t radius, pcb_pstk_t *ps); + +/* Check if padstack has the proper clearance against polygon; returns 0 if everything's fine */ +int pcb_pstk_drc_check_clearance(pcb_pstk_t *ps, pcb_poly_t *polygon, pcb_coord_t min_clr); + +/* Check all possible local drc errors regarding to pad stacks - errors that + depend only on the padstack, not on other objects. Return 0 if everything + was fine */ +int pcb_pstk_drc_check_and_warn(pcb_pstk_t *ps); + +/* Generate poly->pa (which should be NULL at the time of call) */ +void pcb_pstk_shape_update_pa(pcb_pstk_poly_t *poly); + +/* Insert proto into the cache of data; if it's already in, return the existing + ID, else dup it and insert it. */ +pcb_cardinal_t pcb_pstk_proto_insert_dup(pcb_data_t *data, const pcb_pstk_proto_t *proto, int quiet); + +/* Change the non-NULL hole properties of a padstack proto; undoable. + Returns 0 on success. */ +int pcb_pstk_proto_change_hole(pcb_pstk_proto_t *proto, const int *hplated, const pcb_coord_t *hdia, const int *htop, const int *hbottom); + +/* Find or create a new transformed version of an existing proto */ +pcb_pstk_tshape_t *pcb_pstk_make_tshape(pcb_data_t *data, pcb_pstk_proto_t *proto, double rot, int xmirror, int *out_protoi); + +/* Dee p copy a prototype */ +void pcb_pstk_proto_copy(pcb_pstk_proto_t *dst, const pcb_pstk_proto_t *src); + + +/*** hash ***/ +unsigned int pcb_pstk_hash(const pcb_pstk_proto_t *p); +int pcb_pstk_eq(const pcb_pstk_proto_t *p1, const pcb_pstk_proto_t *p2); + +/*** loops ***/ +#define PCB_PADSTACK_LOOP(top) do { \ + pcb_pstk_t *padstack; \ + gdl_iterator_t __it__; \ + padstacklist_foreach(&(top)->padstack, &__it__, padstack) { + +#endif +#endif Index: trunk/src/obj_pstk_act.c =================================================================== --- trunk/src/obj_pstk_act.c (nonexistent) +++ trunk/src/obj_pstk_act.c (revision 12595) @@ -0,0 +1,143 @@ +/* + * COPYRIGHT + * + * pcb-rnd, interactive printed circuit board design + * 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., 675 Mass Ave, Cambridge, MA 02139, USA. + * + */ + +#include "config.h" + +#include "obj_pstk.h" +#include "obj_pstk_inlines.h" + +#include "action_helper.h" +#include "board.h" +#include "conf_core.h" +#include "data.h" +#include "hid_actions.h" + +static const char pcb_acts_padstackconvert[] = "PadstackConvert(buffer|selected, [originx, originy])"; +static const char pcb_acth_padstackconvert[] = "Convert selection or current buffer to padstack"; + +int pcb_act_padstackconvert(int argc, const char **argv, pcb_coord_t x, pcb_coord_t y) +{ + pcb_cardinal_t pid; + pcb_pstk_proto_t tmp, *p; + + if (argv[0] == NULL) + PCB_ACT_FAIL(padstackconvert); + if (strcmp(argv[0], "selected") == 0) { + if (argc > 2) { + pcb_bool s1, s2; + x = pcb_get_value(argv[1], "mil", NULL, &s1); + y = pcb_get_value(argv[2], "mil", NULL, &s2); + if (!s1 || !s2) { + pcb_message(PCB_MSG_ERROR, "Error in coordinate format\n"); + return -1; + } + } + else + pcb_gui->get_coords("Click at padstack origin", &x, &y); + pid = pcb_pstk_conv_selection(PCB, 0, x, y); + + pcb_buffer_clear(PCB, PCB_PASTEBUFFER); + p = pcb_vtpadstack_proto_alloc_append(&PCB_PASTEBUFFER->Data->ps_protos, 1); + pcb_pstk_proto_copy(p, &PCB->Data->ps_protos.array[pid]); + p->parent = PCB_PASTEBUFFER->Data; + pid = pcb_pstk_get_proto_id(p); /* should be 0 because of the clear, but just in case... */ + } + else if (strcmp(argv[0], "buffer") == 0) { + + pid = pcb_pstk_conv_buffer(0); + + /* have to save and restore the prototype around the buffer clear */ + tmp = PCB_PASTEBUFFER->Data->ps_protos.array[pid]; + memset(&PCB_PASTEBUFFER->Data->ps_protos.array[pid], 0, sizeof(PCB_PASTEBUFFER->Data->ps_protos.array[0])); + pcb_buffer_clear(PCB, PCB_PASTEBUFFER); + p = pcb_vtpadstack_proto_alloc_append(&PCB_PASTEBUFFER->Data->ps_protos, 1); + *p = tmp; + p->parent = PCB_PASTEBUFFER->Data; + pid = pcb_pstk_get_proto_id(p); /* should be 0 because of the clear, but just in case... */ + + } + else + PCB_ACT_FAIL(padstackconvert); + + pcb_message(PCB_MSG_INFO, "Pad stack registered with ID %d\n", pid); + pcb_pstk_new(PCB_PASTEBUFFER->Data, pid, 0, 0, conf_core.design.clearance, pcb_no_flags()); + pcb_set_buffer_bbox(PCB_PASTEBUFFER); + PCB_PASTEBUFFER->X = PCB_PASTEBUFFER->Y = 0; + + return 0; +} + +static const char pcb_acts_padstackplace[] = "PadstackPlace([proto_id|default], [x, y])"; +static const char pcb_acth_padstackplace[] = "Place a pad stack (either proto_id, or if not specified, the default for style)"; + +int pcb_act_padstackplace(int argc, const char **argv, pcb_coord_t x, pcb_coord_t y) +{ + pcb_cardinal_t pid; + pcb_pstk_t *ps; + + if (argc > 2) { + pcb_bool s1, s2; + x = pcb_get_value(argv[1], "mil", NULL, &s1); + y = pcb_get_value(argv[2], "mil", NULL, &s2); + if (!s1 || !s2) { + pcb_message(PCB_MSG_ERROR, "Error in coordinate format\n"); + return -1; + } + } + + if ((argc <= 0) || (strcmp(argv[0], "default") == 0)) { +#warning padstack TODO: style default proto + pid = 0; + } + else { + char *end; + pid = strtol(argv[0], &end, 10); + if (*end != '\0') { + pcb_message(PCB_MSG_ERROR, "Error in proto ID format: need an integer\n"); + return -1; + } + } + + if ((pid >= PCB->Data->ps_protos.used) || (PCB->Data->ps_protos.array[pid].in_use == 0)) { + pcb_message(PCB_MSG_ERROR, "Invalid padstack proto %ld\n", (long)pid); + return -1; + } + + ps = pcb_pstk_new(PCB->Data, pid, x, y, conf_core.design.clearance, pcb_no_flags()); + if (ps == NULL) { + pcb_message(PCB_MSG_ERROR, "Failed to place padstack\n"); + return -1; + } + + return 0; +} + +/* --------------------------------------------------------------------------- */ + +pcb_hid_action_t padstack_action_list[] = { + {"PadstackConvert", 0, pcb_act_padstackconvert, + pcb_acth_padstackconvert, pcb_acts_padstackconvert}, + {"PadstackPlace", 0, pcb_act_padstackplace, + pcb_acth_padstackplace, pcb_acts_padstackplace} +}; + +PCB_REGISTER_ACTIONS(padstack_action_list, NULL) Index: trunk/src/obj_pstk_draw.h =================================================================== --- trunk/src/obj_pstk_draw.h (nonexistent) +++ trunk/src/obj_pstk_draw.h (revision 12595) @@ -0,0 +1,52 @@ +/* + * COPYRIGHT + * + * pcb-rnd, interactive printed circuit board design + * 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., 675 Mass Ave, Cambridge, MA 02139, USA. + * + */ + +#include "obj_pstk.h" + +#ifndef PCB_OBJ_PADSTACK_DRAW_H +#define PCB_OBJ_PADSTACK_DRAW_H + +/* Include rtree.h for these */ +#ifdef PCB_RTREE_H + +#include "board.h" +#include "layer_grp.h" + +typedef struct { + pcb_board_t *pcb; + pcb_layergrp_id_t gid; + int is_current; + pcb_layer_combining_t comb; +} pcb_pstk_draw_t; + +pcb_r_dir_t pcb_pstk_draw_callback(const pcb_box_t *b, void *cl); +pcb_r_dir_t pcb_pstk_clear_callback(const pcb_box_t *b, void *cl); +#endif + +void pcb_pstk_draw(pcb_pin_t *pin, pcb_bool draw_hole); +void pcb_pstk_invalidate_erase(pcb_pstk_t *ps); +void pcb_pstk_invalidate_draw(pcb_pstk_t *ps); + +void pcb_pstk_thindraw(pcb_hid_gc_t gc, pcb_pstk_t *ps); + + +#endif Index: trunk/src/obj_pstk_inlines.h =================================================================== --- trunk/src/obj_pstk_inlines.h (nonexistent) +++ trunk/src/obj_pstk_inlines.h (revision 12595) @@ -0,0 +1,262 @@ +/* + * COPYRIGHT + * + * pcb-rnd, interactive printed circuit board design + * 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., 675 Mass Ave, Cambridge, MA 02139, USA. + * + */ + +#ifndef PCB_OBJ_PADSTACK_INLINES_H +#define PCB_OBJ_PADSTACK_INLINES_H + +#include "board.h" +#include "data.h" +#include "obj_pstk.h" +#include "vtpadstack.h" +#include "layer.h" +#include "thermal.h" + +typedef enum { + PCB_BB_NONE, /* no drill */ + PCB_BB_THRU, /* all way thru */ + PCB_BB_BB, + PCB_BB_INVALID +} pcb_bb_type_t; + +/* Returns the ID of a proto within its parent's cache */ +static inline PCB_FUNC_UNUSED pcb_cardinal_t pcb_pstk_get_proto_id(pcb_pstk_proto_t *proto) +{ + pcb_data_t *data = proto->parent; + if ((proto >= data->ps_protos.array) && (proto < data->ps_protos.array + data->ps_protos.used)) + return proto - data->ps_protos.array; + assert(!"padstack proto is not in its own parent!"); + return PCB_PADSTACK_INVALID; +} + +/* return the padstack prototype for a padstack reference - returns NULL if not found */ +static inline PCB_FUNC_UNUSED pcb_pstk_proto_t *pcb_pstk_get_proto_(const pcb_data_t *data, pcb_cardinal_t proto) +{ + if (proto >= data->ps_protos.used) + return NULL; + if (data->ps_protos.array[proto].in_use == 0) + return NULL; + return data->ps_protos.array + proto; +} + +/* return the padstack prototype for a padstack reference - returns NULL if not found */ +static inline PCB_FUNC_UNUSED pcb_pstk_proto_t *pcb_pstk_get_proto(pcb_pstk_t *ps) +{ + return pcb_pstk_get_proto_(ps->parent.data, ps->proto); +} + +/* return the padstack transformed shape. Returns NULL if the proto or the + tshape is not. */ +static inline PCB_FUNC_UNUSED pcb_pstk_tshape_t *pcb_pstk_get_tshape_(const pcb_data_t *data, pcb_cardinal_t proto, int protoi) +{ + pcb_pstk_proto_t *pr = pcb_pstk_get_proto_(data, proto); + if (protoi < 0) + return NULL; + if (pr == NULL) + return NULL; + if (protoi >= pr->tr.used) + return NULL; + return &pr->tr.array[protoi]; +} + +/* return the padstack prototype for a padstack reference - returns NULL if not found */ +static inline PCB_FUNC_UNUSED pcb_pstk_tshape_t *pcb_pstk_get_tshape(pcb_pstk_t *ps) +{ + if (ps->protoi < 0) { /* need to update this */ + pcb_pstk_proto_t *pr = pcb_pstk_get_proto_(ps->parent.data, ps->proto); + if (pr == NULL) + return NULL; + return pcb_pstk_make_tshape(ps->parent.data, pr, ps->rot, ps->xmirror, &ps->protoi); + } + return pcb_pstk_get_tshape_(ps->parent.data, ps->proto, ps->protoi); +} + +/* return the type of drill and optionally fill in group IDs of drill ends ; + if proto_out is not NULL, also load it with the proto */ +static inline PCB_FUNC_UNUSED pcb_bb_type_t pcb_pstk_bbspan(pcb_board_t *pcb, pcb_pstk_t *ps, pcb_layergrp_id_t *top, pcb_layergrp_id_t *bottom, pcb_pstk_proto_t **proto_out) +{ + pcb_bb_type_t res; + int topi, boti; + pcb_pstk_proto_t *proto = pcb_pstk_get_proto(ps); + + if (proto_out != NULL) + *proto_out = proto; + + if (proto == NULL) + return PCB_BB_INVALID; + + /* most common case should be quick */ + if (proto->hdia == 0) { + if (top != NULL) *top = -1; + if (bottom != NULL) *bottom = -1; + return PCB_BB_NONE; + } + + if ((proto->htop == 0) && (proto->hbottom == 0)) { + if ((top == NULL) && (bottom == NULL)) + return PCB_BB_THRU; + res = PCB_BB_THRU; + } + else + res = PCB_BB_BB; + + /* slower case: need to look up start and end */ + if (!pcb->LayerGroups.cache.copper_valid) + pcb_layergrp_copper_cache_update(&pcb->LayerGroups); + + if (proto->htop >= 0) { + /* positive: count from top copper down, bump at bottom */ + if (proto->htop < pcb->LayerGroups.cache.copper_len) + topi = proto->htop; + else + topi = pcb->LayerGroups.cache.copper_len - 1; + } + else { + /* negative: count from bottom copper up, bump at top */ + topi = pcb->LayerGroups.cache.copper_len - 1 - proto->htop; + if (topi < 0) + topi = 0; + } + + if (proto->hbottom >= 0) { + /* positive: count from bottom copper up, bump at top */ + if (proto->hbottom < pcb->LayerGroups.cache.copper_len-1) + boti = pcb->LayerGroups.cache.copper_len-1-proto->hbottom; + else + boti = 0; + } + else { + /* positive: count from top copper down, bump at bottom */ + boti = -proto->hbottom; + if (boti > pcb->LayerGroups.cache.copper_len - 1) + boti = pcb->LayerGroups.cache.copper_len - 1; + } + + if (boti <= topi) { + if (top != NULL) *top = -1; + if (bottom != NULL) *bottom = -1; + return PCB_BB_INVALID; + } + + if (top != NULL) *top = pcb->LayerGroups.cache.copper[topi]; + if (bottom != NULL) *bottom = pcb->LayerGroups.cache.copper[boti]; + + return res; +} + +/* return whether a given padstack drills a given group + (does not consider plating, only drill!) */ +static inline PCB_FUNC_UNUSED pcb_bool_t pcb_pstk_bb_drills(pcb_board_t *pcb, pcb_pstk_t *ps, pcb_layergrp_id_t grp, pcb_pstk_proto_t **proto_out) +{ + pcb_layergrp_id_t top, bot; + pcb_bb_type_t res = pcb_pstk_bbspan(pcb, ps, &top, &bot, proto_out); + switch(res) { + case PCB_BB_THRU: return pcb_true; + case PCB_BB_NONE: case PCB_BB_INVALID: return 0; + case PCB_BB_BB: return (grp <= bot) && (grp >= top); + } + return pcb_false; +} + +/* returns the shape the padstack has on the given layer group; + WARNING: does not respect the NOSHAPE thermal, should NOT be + called directly; use pcb_pstk_shape_*() instead. */ +static inline PCB_FUNC_UNUSED pcb_pstk_shape_t *pcb_pstk_shape(pcb_pstk_t *ps, pcb_layer_type_t lyt, pcb_layer_combining_t comb) +{ + int n; + pcb_pstk_tshape_t *ts = pcb_pstk_get_tshape(ps); + if (ts == NULL) + return NULL; + + lyt &= (PCB_LYT_ANYTHING | PCB_LYT_ANYWHERE); + for(n = 0; n < ts->len; n++) + if ((lyt == ts->shape[n].layer_mask) && (comb == ts->shape[n].comb)) + return ts->shape+n; + + return 0; +} + +static inline PCB_FUNC_UNUSED pcb_pstk_shape_t *pcb_pstk_shape_at(pcb_board_t *pcb, pcb_pstk_t *ps, pcb_layer_t *layer) +{ + unsigned int lyt = pcb_layer_flags_(layer); + pcb_layer_combining_t comb = layer->comb; + + if (lyt & PCB_LYT_COPPER) { + pcb_layer_id_t lid; + if (lyt & PCB_LYT_INTERN) { + /* apply internal only if that layer has drill */ + if (!pcb_pstk_bb_drills(pcb, ps, pcb_layer_get_group_(layer), NULL)) + return NULL; + } + + /* special case: if thermal says 'no shape' on this layer, omit the shape */ + layer = pcb_layer_get_real(layer); + if ((layer != NULL) && (layer->parent != NULL)) { + lid = pcb_layer_id(layer->parent, layer); + if (lid < ps->thermals.used) { + if ((ps->thermals.shape[lid] & PCB_THERMAL_ON) && ((ps->thermals.shape[lid] & 3) == PCB_THERMAL_NOSHAPE)) + return NULL; + } + } + } + + /* combining is always 0 for copper */ + if (lyt & PCB_LYT_COPPER) + comb = 0; + else + comb = layer->comb; + + return pcb_pstk_shape(ps, lyt, comb); +} + +static inline PCB_FUNC_UNUSED pcb_pstk_shape_t *pcb_pstk_shape_gid(pcb_board_t *pcb, pcb_pstk_t *ps, pcb_layergrp_id_t gid, pcb_layer_combining_t comb) +{ + pcb_layergrp_t *grp = pcb_get_layergrp(pcb, gid); + + if ((grp == NULL) || (grp->len < 1)) + return NULL; + + if (grp->type & PCB_LYT_COPPER) { + int n, nosh; + + /* blind/buried: intern layer has no shape if no hole */ + if (grp->type & PCB_LYT_INTERN) { + /* apply internal only if that layer has drill */ + if (!pcb_pstk_bb_drills(pcb, ps, gid, NULL)) + return NULL; + } + + /* if all layers of the group says no-shape, don't have a shape */ + for(n = 0, nosh = 0; n < grp->len; n++) { + pcb_layer_id_t lid = grp->lid[n]; + if ((lid < ps->thermals.used) && (ps->thermals.shape[lid] & PCB_THERMAL_ON) && ((ps->thermals.shape[lid] & 3) == PCB_THERMAL_NOSHAPE)) + nosh++; + } + if (nosh == grp->len) + return NULL; + } + + /* normal procedure: go by group flags */ + return pcb_pstk_shape(ps, grp->type, comb); +} + + +#endif Index: trunk/src/obj_pstk_list.c =================================================================== --- trunk/src/obj_pstk_list.c (nonexistent) +++ trunk/src/obj_pstk_list.c (revision 12595) @@ -0,0 +1,25 @@ +/* + * COPYRIGHT + * + * pcb-rnd, interactive printed circuit board design + * 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., 675 Mass Ave, Cambridge, MA 02139, USA. + * + */ + +#define TDL_DONT_UNDEF +#include "obj_pstk_list.h" +#include Index: trunk/src/obj_pstk_list.h =================================================================== --- trunk/src/obj_pstk_list.h (nonexistent) +++ trunk/src/obj_pstk_list.h (revision 12595) @@ -0,0 +1,47 @@ +/* + * COPYRIGHT + * + * pcb-rnd, interactive printed circuit board design + * 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., 675 Mass Ave, Cambridge, MA 02139, USA. + * + */ + +#ifndef PCB_OBJ_PADSTACK_LIST_H +#define PCB_OBJ_PADSTACK_LIST_H + +#define PCB_PADSTACK_STRUCT_ONLY +#include "obj_pstk.h" + + +/* List of padstatcks */ +#define TDL(x) padstacklist_ ## x +#define TDL_LIST_T padstacklist_t +#define TDL_ITEM_T pcb_pstk_t +#define TDL_FIELD link +#define TDL_SIZE_T size_t +#define TDL_FUNC + +#define padstacklist_foreach(list, iterator, loop_elem) \ + gdl_foreach_((&((list)->lst)), (iterator), (loop_elem)) + + +#include +#include + +#undef PCB_PADSTACK_STRUCT_ONLY + +#endif Index: trunk/src/obj_pstk_op.c =================================================================== --- trunk/src/obj_pstk_op.c (nonexistent) +++ trunk/src/obj_pstk_op.c (revision 12595) @@ -0,0 +1,157 @@ +/* + * COPYRIGHT + * + * pcb-rnd, interactive printed circuit board design + * 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., 675 Mass Ave, Cambridge, MA 02139, USA. + * + */ + +#include "polygon.h" + +void *pcb_pstkop_add_to_buffer(pcb_opctx_t *ctx, pcb_pstk_t *ps) +{ + pcb_pstk_t *p; + pcb_cardinal_t npid; + pcb_pstk_proto_t *proto = pcb_pstk_get_proto(ps); + if (proto == NULL) + return NULL; + + npid = pcb_pstk_proto_insert_dup(ctx->buffer.dst, proto, 1); + p = pcb_pstk_new(ctx->buffer.dst, npid, ps->x, ps->y, ps->Clearance, pcb_flag_mask(ps->Flags, PCB_FLAG_FOUND | ctx->buffer.extraflg)); + return pcb_pstk_copy_meta(p, ps); +} + +void *pcb_pstkop_move_to_buffer(pcb_opctx_t *ctx, pcb_pstk_t *ps) +{ + pcb_cardinal_t npid; + pcb_pstk_proto_t *proto = pcb_pstk_get_proto(ps); + if (proto == NULL) + return NULL; + + npid = pcb_pstk_proto_insert_dup(ctx->buffer.dst, proto, 1); + + pcb_poly_restore_to_poly(ctx->buffer.src, PCB_TYPE_PADSTACK, NULL, ps); + pcb_r_delete_entry(ctx->buffer.src->padstack_tree, (pcb_box_t *)ps); + + padstacklist_remove(ps); + ps->proto = npid; + padstacklist_append(&ctx->buffer.dst->padstack, ps); + + PCB_FLAG_CLEAR(PCB_FLAG_WARN | PCB_FLAG_FOUND, ps); + + if (!ctx->buffer.dst->padstack_tree) + ctx->buffer.dst->padstack_tree = pcb_r_create_tree(NULL, 0, 0); + + pcb_r_insert_entry(ctx->buffer.dst->padstack_tree, (pcb_box_t *)ps, 0); + pcb_poly_clear_from_poly(ctx->buffer.dst, PCB_TYPE_PADSTACK, NULL, ps); + + PCB_SET_PARENT(ps, data, ctx->buffer.dst); + return ps; +} + +void *pcb_pstkop_copy(pcb_opctx_t *ctx, pcb_pstk_t *ps) +{ + pcb_pstk_t *nps; + pcb_data_t *data = ctx->copy.pcb->Data; + pcb_cardinal_t npid; + pcb_pstk_proto_t *proto = pcb_pstk_get_proto(ps); + + if (proto == NULL) + return NULL; + npid = pcb_pstk_proto_insert_dup(data, proto, 1); + + nps = pcb_pstk_new(data, npid, ps->x + ctx->copy.DeltaX, ps->y + ctx->copy.DeltaY, ps->Clearance, pcb_flag_mask(ps->Flags, PCB_FLAG_FOUND)); + if (nps == NULL) + return NULL; + + pcb_pstk_copy_meta(nps, ps); + pcb_pstk_invalidate_draw(nps); + pcb_undo_add_obj_to_create(PCB_TYPE_PADSTACK, data, nps, nps); + return nps; +} + +void *pcb_pstkop_move_noclip(pcb_opctx_t *ctx, pcb_pstk_t *ps) +{ + pcb_pstk_invalidate_erase(ps); + pcb_pstk_move(ps, ctx->move.dx, ctx->move.dy); + pcb_pstk_invalidate_draw(ps); + pcb_draw(); + return ps; +} + +void *pcb_pstkop_move(pcb_opctx_t *ctx, pcb_pstk_t *ps) +{ + pcb_data_t *data = ps->parent.data; + assert(ps->parent_type = PCB_PARENT_DATA); + + pcb_r_delete_entry(data->padstack_tree, (pcb_box_t *)ps); + pcb_poly_restore_to_poly(data, PCB_TYPE_PADSTACK, NULL, ps); + pcb_pstkop_move_noclip(ctx, ps); + pcb_r_insert_entry(data->padstack_tree, (pcb_box_t *)ps, 0); + pcb_poly_clear_from_poly(data, PCB_TYPE_PADSTACK, NULL, ps); + return ps; +} + +void *pcb_pstkop_clip(pcb_opctx_t *ctx, pcb_pstk_t *ps) +{ + pcb_data_t *data = ps->parent.data; + assert(ps->parent_type = PCB_PARENT_DATA); + + if (ctx->clip.restore) { + pcb_r_delete_entry(data->padstack_tree, (pcb_box_t *)ps); + pcb_poly_restore_to_poly(data, PCB_TYPE_PADSTACK, NULL, ps); + } + if (ctx->clip.clear) { + pcb_r_insert_entry(data->padstack_tree, (pcb_box_t *)ps, 0); + pcb_poly_clear_from_poly(data, PCB_TYPE_PADSTACK, NULL, ps); + } + + return ps; +} + +void *pcb_pstkop_remove(pcb_opctx_t *ctx, pcb_pstk_t *ps) +{ + pcb_pstk_invalidate_erase(ps); + pcb_undo_move_obj_to_remove(PCB_TYPE_PADSTACK, ps, ps, ps); + PCB_CLEAR_PARENT(ps); + return NULL; +} + +void *pcb_pstkop_destroy(pcb_opctx_t *ctx, pcb_pstk_t *ps) +{ + pcb_r_delete_entry(ctx->remove.destroy_target->padstack_tree, (pcb_box_t *)ps); + pcb_pstk_free(ps); + return NULL; +} + +void *pcb_pstkop_change_thermal(pcb_opctx_t *ctx, pcb_pstk_t *ps) +{ + pcb_board_t *pcb = ctx->chgtherm.pcb; + pcb_layer_t *layer = pcb_get_layer(pcb->Data, ctx->chgtherm.lid); + + pcb_undo_add_obj_to_clear_poly(PCB_TYPE_PADSTACK, ps, ps, ps, pcb_false); + pcb_poly_restore_to_poly(pcb->Data, PCB_TYPE_PADSTACK, layer, ps); + +#warning TODO: undo + pcb_pstk_set_thermal(ps, ctx->chgtherm.lid, ctx->chgtherm.style); + + pcb_undo_add_obj_to_clear_poly(PCB_TYPE_PADSTACK, ps, ps, ps, pcb_true); + pcb_poly_clear_from_poly(pcb->Data, PCB_TYPE_PADSTACK, layer, ps); + pcb_pstk_invalidate_draw(ps); + return ps; +} + Index: trunk/src/obj_pstk_op.h =================================================================== --- trunk/src/obj_pstk_op.h (nonexistent) +++ trunk/src/obj_pstk_op.h (revision 12595) @@ -0,0 +1,50 @@ +/* + * COPYRIGHT + * + * pcb-rnd, interactive printed circuit board design + * 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., 675 Mass Ave, Cambridge, MA 02139, USA. + * + */ + +/*** Standard operations on padstacks ***/ + +#include "operation.h" + +void *pcb_pstkop_add_to_buffer(pcb_opctx_t *ctx, pcb_pstk_t *ps); +void *pcb_pstkop_move_to_buffer(pcb_opctx_t *ctx, pcb_pstk_t *ps); + +void *pcb_pstkop_copy(pcb_opctx_t *ctx, pcb_pstk_t *ps); +void *pcb_pstkop_move(pcb_opctx_t *ctx, pcb_pstk_t *ps); +void *pcb_pstkop_move_noclip(pcb_opctx_t *ctx, pcb_pstk_t *ps); +void *pcb_pstkop_clip(pcb_opctx_t *ctx, pcb_pstk_t *ps); +void *pcb_pstkop_remove(pcb_opctx_t *ctx, pcb_pstk_t *ps); +void *pcb_pstkop_destroy(pcb_opctx_t *ctx, pcb_pstk_t *ps); + +void *pcb_pstkop_change_thermal(pcb_opctx_t *ctx, pcb_pstk_t *ps); + + +/*** TODO: unimplemented ones ***/ + +void *pcb_pstkop_change_size(pcb_opctx_t *ctx, pcb_pstk_t *ps); +void *pcb_pstkop_change_2nd_size(pcb_opctx_t *ctx, pcb_pstk_t *ps); +void *pcb_pstkop_change_clear_size(pcb_opctx_t *ctx, pcb_pstk_t *ps); + +void *pcb_pstkop_change_name(pcb_opctx_t *ctx, pcb_pstk_t *ps); + +void *pcb_pstkop_change_flag(pcb_opctx_t *ctx, pcb_pstk_t *ps); + +void *pcb_pstkop_rotate90(pcb_opctx_t *ctx, pcb_pstk_t *ps); Index: trunk/src/obj_pstk_proto.c =================================================================== --- trunk/src/obj_pstk_proto.c (nonexistent) +++ trunk/src/obj_pstk_proto.c (revision 12595) @@ -0,0 +1,629 @@ +/* + * COPYRIGHT + * + * pcb-rnd, interactive printed circuit board design + * 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., 675 Mass Ave, Cambridge, MA 02139, USA. + * + */ + +#include "config.h" + +#include + +#include "board.h" +#include "buffer.h" +#include "conf_core.h" +#include "data.h" +#include "data_list.h" +#include "obj_pstk.h" +#include "obj_pstk_inlines.h" +#include "rotate.h" +#include "undo.h" +#include "vtpadstack_t.h" + +static const char core_proto_cookie[] = "padstack prototypes"; + + +void pcb_pstk_proto_free_fields(pcb_pstk_proto_t *dst) +{ +#warning TODO: do a full field free here +} + +void pcb_pstk_shape_alloc_poly(pcb_pstk_poly_t *poly, int len) +{ + poly->x = malloc(sizeof(poly->x[0]) * len * 2); + poly->y = poly->x + len; + poly->len = len; +} + +void pcb_pstk_shape_copy_poly(pcb_pstk_poly_t *dst, const pcb_pstk_poly_t *src) +{ + memcpy(dst->x, src->x, sizeof(src->x[0]) * src->len * 2); +} + + +static int pcb_pstk_proto_conv(pcb_data_t *data, pcb_pstk_proto_t *dst, int quiet, vtp0_t *objs, pcb_coord_t ox, pcb_coord_t oy) +{ + int ret = -1, n, m, i; + pcb_any_obj_t **o; + pcb_pstk_tshape_t *ts; + + dst->in_use = 1; + pcb_vtpadstack_tshape_init(&dst->tr); + dst->hdia = 0; + dst->htop = dst->hbottom = 0; + + if (vtp0_len(objs) > data->LayerN) { + if (!quiet) + pcb_message(PCB_MSG_ERROR, "Padstack conversion: too many objects selected\n"); + goto quit; + } + + /* allocate shapes on the canonical tshape (tr[0]) */ + ts = pcb_vtpadstack_tshape_alloc_append(&dst->tr, 1); + ts->rot = 0.0; + ts->xmirror = 0; + ts->len = 0; + for(n = 0, o = (pcb_any_obj_t **)objs->array; n < vtp0_len(objs); n++,o++) { + switch((*o)->type) { + case PCB_OBJ_LINE: + case PCB_OBJ_POLYGON: + ts->len++; + break; + case PCB_OBJ_VIA: + if (dst->hdia != 0) { + if (!quiet) + pcb_message(PCB_MSG_ERROR, "Padstack conversion: multiple vias\n"); + goto quit; + } + dst->hdia = (*(pcb_pin_t **)o)->DrillingHole; + dst->hplated = !PCB_FLAG_TEST(PCB_FLAG_HOLE, *o); + if ((ox != (*(pcb_pin_t **)o)->X) || (oy != (*(pcb_pin_t **)o)->Y)) { + pcb_message(PCB_MSG_INFO, "Padstack conversion: adjusting origin to via hole\n"); + ox = (*(pcb_pin_t **)o)->X; + oy = (*(pcb_pin_t **)o)->Y; + } + break; + default:; + if (!quiet) + pcb_message(PCB_MSG_ERROR, "Padstack conversion: invalid object type (%x) selected; must be via, line or polygon\n", (*o)->type); + goto quit; + } + } + ts->shape = malloc(ts->len * sizeof(pcb_pstk_shape_t)); + + /* convert local (line/poly) objects */ + for(i = 0, n = -1, o = (pcb_any_obj_t **)objs->array; i < vtp0_len(objs); o++,i++) { + pcb_layer_t *ly; + switch((*o)->type) { + case PCB_OBJ_LINE: + n++; + ts->shape[n].shape = PCB_PSSH_LINE; + ts->shape[n].data.line.x1 = (*(pcb_line_t **)o)->Point1.X - ox; + ts->shape[n].data.line.y1 = (*(pcb_line_t **)o)->Point1.Y - oy; + ts->shape[n].data.line.x2 = (*(pcb_line_t **)o)->Point2.X - ox; + ts->shape[n].data.line.y2 = (*(pcb_line_t **)o)->Point2.Y - oy; + ts->shape[n].data.line.thickness = (*(pcb_line_t **)o)->Thickness; + ts->shape[n].data.line.square = 0; + ts->shape[n].clearance = (*(pcb_line_t **)o)->Clearance; + break; + case PCB_OBJ_POLYGON: + { + pcb_cardinal_t p, len; + pcb_poly_t *poly = *(pcb_poly_t **)o; + + len = poly->PointN; + n++; + if (poly->HoleIndexN != 0) { + if (!quiet) + pcb_message(PCB_MSG_ERROR, "Padstack conversion: can not convert polygon with holes\n"); + goto quit; + } + if (len >= (1L << (sizeof(int)-1))) { + if (!quiet) + pcb_message(PCB_MSG_ERROR, "Padstack conversion: polygon has too many points\n"); + goto quit; + } + pcb_pstk_shape_alloc_poly(&ts->shape[n].data.poly, len); + for(p = 0; p < len; p++) { + ts->shape[n].data.poly.x[p] = poly->Points[p].X - ox; + ts->shape[n].data.poly.y[p] = poly->Points[p].Y - oy; + } + + ts->shape[n].shape = PCB_PSSH_POLY; + ts->shape[n].clearance = (*(pcb_poly_t **)o)->Clearance; + } + break; + default: continue; + } + assert((*o)->parent_type == PCB_PARENT_LAYER); + ly = (*o)->parent.layer; + ts->shape[n].layer_mask = pcb_layer_flags_(ly); + ts->shape[n].comb = ly->comb; + for(m = 0; m < n; m++) { + if ((ts->shape[n].layer_mask == ts->shape[m].layer_mask) && (ts->shape[n].comb == ts->shape[m].comb)) { + if (!quiet) + pcb_message(PCB_MSG_ERROR, "Padstack conversion: multiple objects on the same layer\n"); + goto quit; + } + } + } + + /* all went fine */ + dst->hash = pcb_pstk_hash(dst); + ret = 0; + + quit:; + if (ret != 0) + pcb_pstk_proto_free_fields(dst); + return ret; +} + +int pcb_pstk_proto_conv_selection(pcb_board_t *pcb, pcb_pstk_proto_t *dst, int quiet, pcb_coord_t ox, pcb_coord_t oy) +{ + int ret; + vtp0_t objs; + + vtp0_init(&objs); + pcb_data_list_by_flag(pcb->Data, &objs, PCB_OBJ_CLASS_REAL, PCB_FLAG_SELECTED); + ret = pcb_pstk_proto_conv(pcb->Data, dst, quiet, &objs, ox, oy); + vtp0_uninit(&objs); + + return ret; +} + + +int pcb_pstk_proto_conv_buffer(pcb_pstk_proto_t *dst, int quiet) +{ + int ret; + vtp0_t objs; + pcb_coord_t ox, oy; + pcb_box_t bb; + + pcb_data_bbox(&bb, PCB_PASTEBUFFER->Data, 0); + + ox = (bb.X1 + bb.X2) / 2; + oy = (bb.Y1 + bb.Y2) / 2; + + vtp0_init(&objs); + pcb_data_list_by_flag(PCB_PASTEBUFFER->Data, &objs, PCB_OBJ_CLASS_REAL, PCB_FLAGS); + ret = pcb_pstk_proto_conv(PCB_PASTEBUFFER->Data, dst, quiet, &objs, ox, oy); + vtp0_uninit(&objs); + + return ret; +} + +void pcb_pstk_tshape_copy(pcb_pstk_tshape_t *ts_dst, pcb_pstk_tshape_t *ts_src) +{ + int n; + + ts_dst->rot = ts_src->rot; + ts_dst->xmirror = ts_src->xmirror; + ts_dst->shape = malloc(sizeof(pcb_pstk_shape_t) * ts_src->len); + ts_dst->len = ts_src->len; + memcpy(ts_dst->shape, ts_src->shape, sizeof(pcb_pstk_shape_t) * ts_src->len); + for(n = 0; n < ts_src->len; n++) { + switch(ts_src->shape[n].shape) { + case PCB_PSSH_LINE: + case PCB_PSSH_CIRC: + break; /* do nothing, all fields are copied already by the memcpy */ + case PCB_PSSH_POLY: + pcb_pstk_shape_alloc_poly(&ts_dst->shape[n].data.poly, ts_src->shape[n].data.poly.len); + pcb_pstk_shape_copy_poly(&ts_dst->shape[n].data.poly, &ts_src->shape[n].data.poly); + break; + } + } +} + +void pcb_pstk_tshape_rot(pcb_pstk_tshape_t *ts, double angle) +{ + int n, i; + double cosa = cos(angle / PCB_RAD_TO_DEG), sina = sin(angle / PCB_RAD_TO_DEG); + + for(n = 0; n < ts->len; n++) { + pcb_pstk_shape_t *sh = &ts->shape[n]; + switch(sh->shape) { + case PCB_PSSH_LINE: + pcb_rotate(&sh->data.line.x1, &sh->data.line.y1, 0, 0, cosa, sina); + pcb_rotate(&sh->data.line.x2, &sh->data.line.y2, 0, 0, cosa, sina); + break; + case PCB_PSSH_CIRC: + pcb_rotate(&sh->data.circ.x, &sh->data.circ.y, 0, 0, cosa, sina); + break; + case PCB_PSSH_POLY: + if (sh->data.poly.pa != NULL) + pcb_polyarea_free(&sh->data.poly.pa); + for(i = 0; i < sh->data.poly.len; i++) + pcb_rotate(&sh->data.poly.x[i], &sh->data.poly.y[i], 0, 0, cosa, sina); + pcb_pstk_shape_update_pa(&sh->data.poly); + break; + } + } +} + +void pcb_pstk_tshape_xmirror(pcb_pstk_tshape_t *ts) +{ + int n, i; + + for(n = 0; n < ts->len; n++) { + pcb_pstk_shape_t *sh = &ts->shape[n]; + switch(sh->shape) { + case PCB_PSSH_LINE: + sh->data.line.y1 = -sh->data.line.y1; + sh->data.line.y2 = -sh->data.line.y2; + break; + case PCB_PSSH_CIRC: + sh->data.circ.y = -sh->data.circ.y; + break; + case PCB_PSSH_POLY: + if (sh->data.poly.pa != NULL) + pcb_polyarea_free(&sh->data.poly.pa); + for(i = 0; i < sh->data.poly.len; i++) + sh->data.poly.y[i] = -sh->data.poly.y[i]; + pcb_pstk_shape_update_pa(&sh->data.poly); + break; + } + } +} + +void pcb_pstk_proto_copy(pcb_pstk_proto_t *dst, const pcb_pstk_proto_t *src) +{ + pcb_pstk_tshape_t *ts_dst, *ts_src; + + memcpy(dst, src, sizeof(pcb_pstk_proto_t)); + pcb_vtpadstack_tshape_init(&dst->tr); + + ts_src = &src->tr.array[0]; + + /* allocate shapes on the canonical tshape (tr[0]) */ + ts_dst = pcb_vtpadstack_tshape_alloc_append(&dst->tr, 1); + pcb_pstk_tshape_copy(ts_dst, ts_src); + + /* make sure it's the canonical form */ + ts_dst->rot = 0.0; + ts_dst->xmirror = 0; + + dst->in_use = 1; +} + + +/* Matches proto against all protos in data's cache; returns + PCB_PADSTACK_INVALID (and loads first_free_out) if not found */ +static pcb_cardinal_t pcb_pstk_proto_insert_try(pcb_data_t *data, const pcb_pstk_proto_t *proto, pcb_cardinal_t *first_free_out) +{ + pcb_cardinal_t n, first_free = PCB_PADSTACK_INVALID; + + /* look for the first existing padstack that matches */ + for(n = 0; n < pcb_vtpadstack_proto_len(&data->ps_protos); n++) { + if (!(data->ps_protos.array[n].in_use)) { + if (first_free == PCB_PADSTACK_INVALID) + first_free = n; + } + else if (data->ps_protos.array[n].hash == proto->hash) { + if (pcb_pstk_eq(&data->ps_protos.array[n], proto)) + return n; + } + } + *first_free_out = first_free; + return PCB_PADSTACK_INVALID; +} + +pcb_cardinal_t pcb_pstk_proto_insert_or_free(pcb_data_t *data, pcb_pstk_proto_t *proto, int quiet) +{ + pcb_cardinal_t n, first_free; + + n = pcb_pstk_proto_insert_try(data, proto, &first_free); + if (n != PCB_PADSTACK_INVALID) { + pcb_pstk_proto_free_fields(proto); + return n; /* already in cache */ + } + + /* no match, have to register a new one */ + if (first_free == PCB_PADSTACK_INVALID) { + n = pcb_vtpadstack_proto_len(&data->ps_protos); + pcb_vtpadstack_proto_append(&data->ps_protos, *proto); + } + else { + memcpy(data->ps_protos.array+first_free, proto, sizeof(pcb_pstk_proto_t)); + data->ps_protos.array[first_free].in_use = 1; + } + memset(proto, 0, sizeof(pcb_pstk_proto_t)); /* make sure a subsequent free() won't do any harm */ + return n; +} + +pcb_cardinal_t pcb_pstk_proto_insert_dup(pcb_data_t *data, const pcb_pstk_proto_t *proto, int quiet) +{ + pcb_cardinal_t n, first_free; + + n = pcb_pstk_proto_insert_try(data, proto, &first_free); + if (n != PCB_PADSTACK_INVALID) + return n; /* already in cache */ + + /* no match, have to register a new one, which is a dup of the original */ + if (first_free == PCB_PADSTACK_INVALID) { + pcb_pstk_proto_t *nproto; + n = pcb_vtpadstack_proto_len(&data->ps_protos); + nproto = pcb_vtpadstack_proto_alloc_append(&data->ps_protos, 1); + pcb_pstk_proto_copy(nproto, proto); + nproto->parent = data; + } + else { + pcb_pstk_proto_copy(data->ps_protos.array+first_free, proto); + data->ps_protos.array[first_free].in_use = 1; + data->ps_protos.array[first_free].parent = data; + } + return n; +} + +pcb_cardinal_t pcb_pstk_conv_selection(pcb_board_t *pcb, int quiet, pcb_coord_t ox, pcb_coord_t oy) +{ + pcb_pstk_proto_t proto; + + if (pcb_pstk_proto_conv_selection(pcb, &proto, quiet, ox, oy) != 0) + return -1; + + return pcb_pstk_proto_insert_or_free(pcb->Data, &proto, quiet); +} + +pcb_cardinal_t pcb_pstk_conv_buffer(int quiet) +{ + pcb_pstk_proto_t proto; + + if (pcb_pstk_proto_conv_buffer(&proto, quiet) != 0) + return -1; + + return pcb_pstk_proto_insert_or_free(PCB_PASTEBUFFER->Data, &proto, quiet); +} + + +void pcb_pstk_shape_update_pa(pcb_pstk_poly_t *poly) +{ + int n; + pcb_vector_t v; + pcb_pline_t *pl; + + v[0] = poly->x[0]; v[1] = poly->y[0]; + pl = pcb_poly_contour_new(v); + for(n = 1; n < poly->len; n++) { + v[0] = poly->x[n]; v[1] = poly->y[n]; + pcb_poly_vertex_include(pl->head.prev, pcb_poly_node_create(v)); + } + pcb_poly_contour_pre(pl, 1); + + poly->pa = pcb_polyarea_create(); + pcb_polyarea_contour_include(poly->pa, pl); +} + +/*** Undoable hole change ***/ + +typedef struct { + long int parent_ID; /* -1 for pcb, positive for a subc */ + pcb_cardinal_t proto; + + int hplated; + pcb_coord_t hdia; + int htop, hbottom; +} padstack_proto_change_hole_t; + +#define swap(a,b,type) \ + do { \ + type tmp = a; \ + a = b; \ + b = tmp; \ + } while(0) + +static int undo_change_hole_swap(void *udata) +{ + padstack_proto_change_hole_t *u = udata; + pcb_data_t *data; + pcb_pstk_proto_t *proto; + + if (u->parent_ID != -1) { + pcb_subc_t *subc = pcb_subc_by_id(PCB->Data, u->parent_ID); + if (subc == NULL) { + pcb_message(PCB_MSG_ERROR, "Can't undo padstack prototype hole change: parent subc #%ld is not found\n", u->parent_ID); + return -1; + } + data = subc->data; + } + else + data = PCB->Data; + + proto = pcb_pstk_get_proto_(data, u->proto); + if (proto == NULL) { + pcb_message(PCB_MSG_ERROR, "Can't undo padstack prototype hole change: proto ID #%ld is not available\n", u->parent_ID); + return -1; + } + + swap(proto->hplated, u->hplated, int); + swap(proto->hdia, u->hdia, pcb_coord_t); + swap(proto->htop, u->htop, int); + swap(proto->hbottom, u->hbottom, int); + return 0; +} + +static void undo_change_hole_print(void *udata, char *dst, size_t dst_len) +{ + padstack_proto_change_hole_t *u = udata; + pcb_snprintf(dst, dst_len, "padstack proto hole change: plated=%d dia=%$mm top=%d bottom=%d\n", u->hplated, u->hdia, u->htop, u->hbottom); +} + +static const uundo_oper_t undo_pstk_proto_change_hole = { + core_proto_cookie, + NULL, /* free */ + undo_change_hole_swap, + undo_change_hole_swap, + undo_change_hole_print +}; + +int pcb_pstk_proto_change_hole(pcb_pstk_proto_t *proto, const int *hplated, const pcb_coord_t *hdia, const int *htop, const int *hbottom) +{ + padstack_proto_change_hole_t *u; + long int parent_ID; + + switch(proto->parent->parent_type) { + case PCB_PARENT_BOARD: parent_ID = -1; break; + case PCB_PARENT_SUBC: parent_ID = proto->parent->parent.subc->ID; break; + default: return -1; + } + + u = pcb_undo_alloc(PCB, &undo_pstk_proto_change_hole, sizeof(padstack_proto_change_hole_t)); + u->parent_ID = parent_ID; + u->proto = pcb_pstk_get_proto_id(proto); + u->hplated = hplated ? *hplated : proto->hplated; + u->hdia = hdia ? *hdia : proto->hdia; + u->htop = htop ? *htop : proto->htop; + u->hbottom = hbottom ? *hbottom : proto->hbottom; + undo_change_hole_swap(u); + + pcb_undo_inc_serial(); + return 0; +} + +#define TSHAPE_ANGLE_TOL 0.01 +#define tshape_angle_eq(a1, a2) (((a1 - a2) >= -TSHAPE_ANGLE_TOL) && ((a1 - a2) <= TSHAPE_ANGLE_TOL)) + +pcb_pstk_tshape_t *pcb_pstk_make_tshape(pcb_data_t *data, pcb_pstk_proto_t *proto, double rot, int xmirror, int *out_protoi) +{ + size_t n; + pcb_pstk_tshape_t *ts; + + xmirror = !!xmirror; + + /* cheap case: canonical */ + if (tshape_angle_eq(rot, 0.0) && (xmirror == 0)) { + if (out_protoi != NULL) *out_protoi = 0; + return &proto->tr.array[0]; + } + + /* search for an existing version in the cache - we expect only a few + transformations per padstack, the result is cached -> linear search. */ + for(n = 0; n < proto->tr.used; n++) { + if (tshape_angle_eq(proto->tr.array[n].rot, rot) && (proto->tr.array[n].xmirror == xmirror)) { + if (out_protoi != NULL) *out_protoi = n; + return &proto->tr.array[n]; + } + } + +#warning padstack TODO: allocate and render the transformed version for the cache + if (out_protoi != NULL) *out_protoi = proto->tr.used; + ts = pcb_vtpadstack_tshape_alloc_append(&proto->tr, 1); + + /* first make a vanilla copy */ + pcb_pstk_tshape_copy(ts, &proto->tr.array[0]); + + if (!tshape_angle_eq(rot, 0.0)) + pcb_pstk_tshape_rot(ts, rot); + + if (xmirror) + pcb_pstk_tshape_xmirror(ts); + + ts->rot = rot; + ts->xmirror = xmirror; + return ts; +} + +/*** hash ***/ +static unsigned int pcb_pstk_shape_hash(const pcb_pstk_shape_t *sh) +{ + unsigned int n, ret = murmurhash32(sh->layer_mask) ^ murmurhash32(sh->comb) ^ pcb_hash_coord(sh->clearance); + + switch(sh->shape) { + case PCB_PSSH_POLY: + for(n = 0; n < sh->data.poly.len; n++) + ret ^= pcb_hash_coord(sh->data.poly.x[n]) ^ pcb_hash_coord(sh->data.poly.y[n]); + break; + case PCB_PSSH_LINE: + ret ^= pcb_hash_coord(sh->data.line.x1) ^ pcb_hash_coord(sh->data.line.x2) ^ pcb_hash_coord(sh->data.line.y1) ^ pcb_hash_coord(sh->data.line.y2); + ret ^= pcb_hash_coord(sh->data.line.thickness); + ret ^= sh->data.line.square; + break; + case PCB_PSSH_CIRC: + ret ^= pcb_hash_coord(sh->data.circ.x) ^ pcb_hash_coord(sh->data.circ.y); + ret ^= pcb_hash_coord(sh->data.circ.dia); + break; + } + + return ret; +} + +unsigned int pcb_pstk_hash(const pcb_pstk_proto_t *p) +{ + pcb_pstk_tshape_t *ts = &p->tr.array[0]; + unsigned int n, ret = pcb_hash_coord(p->hdia) ^ pcb_hash_coord(p->htop) ^ pcb_hash_coord(p->hbottom) ^ pcb_hash_coord(p->hplated) ^ pcb_hash_coord(ts->len); + for(n = 0; n < ts->len; n++) + ret ^= pcb_pstk_shape_hash(ts->shape + n); + return ret; +} + +static int pcb_pstk_shape_eq(const pcb_pstk_shape_t *sh1, const pcb_pstk_shape_t *sh2) +{ + int n; + + if (sh1->layer_mask != sh2->layer_mask) return 0; + if (sh1->comb != sh2->comb) return 0; + if (sh1->clearance != sh2->clearance) return 0; + if (sh1->shape != sh2->shape) return 0; + + switch(sh1->shape) { + case PCB_PSSH_POLY: + if (sh1->data.poly.len != sh2->data.poly.len) return 0; + for(n = 0; n < sh1->data.poly.len; n++) { + if (sh1->data.poly.x[n] != sh2->data.poly.x[n]) return 0; + if (sh1->data.poly.y[n] != sh2->data.poly.y[n]) return 0; + } + break; + case PCB_PSSH_LINE: + if (sh1->data.line.x1 != sh2->data.line.x1) return 0; + if (sh1->data.line.x2 != sh2->data.line.x2) return 0; + if (sh1->data.line.y1 != sh2->data.line.y1) return 0; + if (sh1->data.line.y2 != sh2->data.line.y2) return 0; + if (sh1->data.line.thickness != sh2->data.line.thickness) return 0; + if (sh1->data.line.square != sh2->data.line.square) return 0; + break; + case PCB_PSSH_CIRC: + if (sh1->data.circ.x != sh2->data.circ.x) return 0; + if (sh1->data.circ.y != sh2->data.circ.y) return 0; + if (sh1->data.circ.dia != sh2->data.circ.dia) return 0; + break; + } + + return 1; +} + +int pcb_pstk_eq(const pcb_pstk_proto_t *p1, const pcb_pstk_proto_t *p2) +{ + pcb_pstk_tshape_t *ts1 = &p1->tr.array[0], *ts2 = &p2->tr.array[0]; + int n1, n2; + + if (p1->hdia != p2->hdia) return 0; + if (p1->htop != p2->htop) return 0; + if (p1->hbottom != p2->hbottom) return 0; + if (p1->hplated != p2->hplated) return 0; + if (ts1->len != ts2->len) return 0; + + for(n1 = 0; n1 < ts1->len; n1++) { + for(n2 = 0; n2 < ts2->len; n2++) + if (pcb_pstk_shape_eq(ts1->shape + n1, ts2->shape + n2)) + goto found; + return 0; + found:; + } + + return 1; +} + Index: trunk/src/obj_pstk_shape.h =================================================================== --- trunk/src/obj_pstk_shape.h (nonexistent) +++ trunk/src/obj_pstk_shape.h (revision 12595) @@ -0,0 +1,72 @@ +/* + * COPYRIGHT + * + * pcb-rnd, interactive printed circuit board design + * 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., 675 Mass Ave, Cambridge, MA 02139, USA. + * + */ + +#ifndef PCB_OBJ_PADSTACK_SHAPE_H +#define PCB_OBJ_PADSTACK_SHAPE_H + +#include "unit.h" +#include "polygon.h" +#include "layer.h" + +typedef struct pcb_pstk_poly_s { + unsigned int len; /* number of points in polygon */ + pcb_coord_t *x; /* ordered list of points, X coord */ + pcb_coord_t *y; /* ordered list of points, X coord */ + pcb_polyarea_t *pa; /* cache for the poly code */ +} pcb_pstk_poly_t; + +typedef struct pcb_pstk_line_s { + pcb_coord_t x1, y1, x2, y2, thickness; + unsigned square:1; +} pcb_pstk_line_t; + +typedef struct pcb_pstk_circ_s { + pcb_coord_t dia; /* diameter of the filled circle */ + pcb_coord_t x, y; /* assymetric pads */ +} pcb_pstk_circ_t; + +typedef struct pcb_pstk_shape_s { + pcb_layer_type_t layer_mask; + pcb_layer_combining_t comb; + union { + pcb_pstk_poly_t poly; + pcb_pstk_line_t line; + pcb_pstk_circ_t circ; + } data; + enum { + PCB_PSSH_POLY, + PCB_PSSH_LINE, + PCB_PSSH_CIRC /* filled circle */ + } shape; + pcb_coord_t clearance; /* per layer clearance: internal layer clearance is sometimes different for production or insulation reasons (IPC2221A) */ +} pcb_pstk_shape_t; + +/* transformed prototype */ +typedef struct pcb_pstk_tshape_s { + double rot; + unsigned xmirror:1; + + unsigned char len; /* number of shapes (PCB_PADSTACK_MAX_SHAPES) */ + pcb_pstk_shape_t *shape; /* list of layer-shape pairs */ +} pcb_pstk_tshape_t; + +#endif Index: trunk/src/operation.c =================================================================== --- trunk/src/operation.c (revision 12594) +++ trunk/src/operation.c (revision 12595) @@ -102,7 +102,7 @@ case PCB_TYPE_PADSTACK: if (F->padstack) - return (F->padstack(ctx, (pcb_padstack_t *)Ptr2)); + return (F->padstack(ctx, (pcb_pstk_t *)Ptr2)); break; case PCB_TYPE_ELEMENT_NAME: Index: trunk/src/operation.h =================================================================== --- trunk/src/operation.h (revision 12594) +++ trunk/src/operation.h (revision 12595) @@ -144,7 +144,7 @@ void *(*Rat)(pcb_opctx_t *ctx, pcb_rat_t *); void *(*ArcPoint)(pcb_opctx_t *ctx, pcb_layer_t *, pcb_arc_t *, int *end_id); void *(*subc)(pcb_opctx_t *ctx, pcb_subc_t *); - void *(*padstack)(pcb_opctx_t *ctx, pcb_padstack_t *); + void *(*padstack)(pcb_opctx_t *ctx, pcb_pstk_t *); } pcb_opfunc_t; void *pcb_object_operation(pcb_opfunc_t *F, pcb_opctx_t *ctx, int Type, void *Ptr1, void *Ptr2, void *Ptr3); Index: trunk/src/polygon.c =================================================================== --- trunk/src/polygon.c (revision 12594) +++ trunk/src/polygon.c (revision 12595) @@ -831,7 +831,7 @@ } /* remove the padstack clearance from the polygon */ -static int SubtractPadstack(pcb_data_t *d, pcb_padstack_t *ps, pcb_layer_t *l, pcb_poly_t *p) +static int SubtractPadstack(pcb_data_t *d, pcb_pstk_t *ps, pcb_layer_t *l, pcb_poly_t *p) { pcb_polyarea_t *np; pcb_layer_id_t i; @@ -839,7 +839,7 @@ if (!PCB_NONPOLY_HAS_CLEARANCE(ps)) return 0; i = pcb_layer_id(d, l); - np = pcb_thermal_area_padstack(pcb_data_get_top(d), ps, i); + np = pcb_thermal_area_pstk(pcb_data_get_top(d), ps, i); if (np == 0) return 0; @@ -966,7 +966,7 @@ static pcb_r_dir_t padstack_sub_callback(const pcb_box_t *b, void *cl) { - pcb_padstack_t *ps = (pcb_padstack_t *)b; + pcb_pstk_t *ps = (pcb_pstk_t *)b; struct cpInfo *info = (struct cpInfo *)cl; pcb_poly_t *polygon; pcb_polyarea_t *np; @@ -982,7 +982,7 @@ return PCB_R_DIR_NOT_FOUND; i = pcb_layer_id(info->data, info->layer); - np = pcb_thermal_area_padstack(pcb_data_get_top(info->data), ps, i); + np = pcb_thermal_area_pstk(pcb_data_get_top(info->data), ps, i); if (np == 0) return PCB_R_DIR_FOUND_CONTINUE; @@ -1346,7 +1346,7 @@ return 1; } -static int UnsubtractPadstack(pcb_data_t *data, pcb_padstack_t *ps, pcb_layer_t *l, pcb_poly_t *p) +static int UnsubtractPadstack(pcb_data_t *data, pcb_pstk_t *ps, pcb_layer_t *l, pcb_poly_t *p) { pcb_polyarea_t *np; @@ -1754,7 +1754,7 @@ Polygon->NoHolesValid = 0; return PCB_R_DIR_FOUND_CONTINUE; case PCB_TYPE_PADSTACK: - SubtractPadstack(Data, (pcb_padstack_t *) ptr2, Layer, Polygon); + SubtractPadstack(Data, (pcb_pstk_t *) ptr2, Layer, Polygon); Polygon->NoHolesValid = 0; return PCB_R_DIR_FOUND_CONTINUE; case PCB_TYPE_LINE: @@ -1792,7 +1792,7 @@ UnsubtractPin((pcb_pin_t *) ptr2, Layer, Polygon); return PCB_R_DIR_FOUND_CONTINUE; case PCB_TYPE_PADSTACK: - UnsubtractPadstack(Data, (pcb_padstack_t *) ptr2, Layer, Polygon); + UnsubtractPadstack(Data, (pcb_pstk_t *) ptr2, Layer, Polygon); return PCB_R_DIR_FOUND_CONTINUE; case PCB_TYPE_LINE: UnsubtractLine((pcb_line_t *) ptr2, Layer, Polygon); @@ -1895,7 +1895,7 @@ } /* run on the specified layer (ptr1), if there's any need for clearing */ - if (!PCB_NONPOLY_HAS_CLEARANCE((pcb_padstack_t *)ptr2)) + if (!PCB_NONPOLY_HAS_CLEARANCE((pcb_pstk_t *)ptr2)) return 0; goto doit; case PCB_TYPE_POLYGON: Index: trunk/src/remove.c =================================================================== --- trunk/src/remove.c (revision 12594) +++ trunk/src/remove.c (revision 12595) @@ -35,7 +35,7 @@ #include "select.h" #include "undo.h" #include "obj_all_op.h" -#include "obj_padstack_op.h" +#include "obj_pstk_op.h" /* --------------------------------------------------------------------------- * some local types @@ -55,7 +55,7 @@ pcb_ratop_remove, pcb_arcop_remove_point, pcb_subcop_remove, - pcb_padstackop_remove + pcb_pstkop_remove }; static pcb_opfunc_t DestroyFunctions = { @@ -73,7 +73,7 @@ pcb_ratop_destroy, NULL, pcb_subcop_destroy, - pcb_padstackop_destroy, + pcb_pstkop_destroy, }; /* ---------------------------------------------------------------------- Index: trunk/src/search.c =================================================================== --- trunk/src/search.c (revision 12594) +++ trunk/src/search.c (revision 12595) @@ -133,17 +133,17 @@ static pcb_r_dir_t padstack_callback(const pcb_box_t *box, void *cl) { struct ans_info *i = (struct ans_info *) cl; - pcb_padstack_t *ps = (pcb_padstack_t *) box; + pcb_pstk_t *ps = (pcb_pstk_t *) box; TEST_OBJST(i->objst, i->req_flag, g, ps, ps); - if (!pcb_is_point_in_padstack(PosX, PosY, SearchRadius, ps)) + if (!pcb_is_point_in_pstk(PosX, PosY, SearchRadius, ps)) return PCB_R_DIR_NOT_FOUND; *i->ptr1 = *i->ptr2 = *i->ptr3 = ps; return PCB_R_DIR_CANCEL; /* found, stop searching */ } -static pcb_bool SearchPadstackByLocation(unsigned long objst, unsigned long req_flag, pcb_padstack_t **ps, pcb_padstack_t **Dummy1, pcb_padstack_t **Dummy2) +static pcb_bool SearchPadstackByLocation(unsigned long objst, unsigned long req_flag, pcb_pstk_t **ps, pcb_pstk_t **Dummy1, pcb_pstk_t **Dummy2) { struct ans_info info; @@ -1187,7 +1187,7 @@ if (Type & PCB_TYPE_VIA && SearchViaByLocation(objst, req_flag, (pcb_pin_t **) Result1, (pcb_pin_t **) Result2, (pcb_pin_t **) Result3)) return (PCB_TYPE_VIA); - if (Type & PCB_TYPE_PADSTACK && SearchPadstackByLocation(objst, req_flag, (pcb_padstack_t **) Result1, (pcb_padstack_t **) Result2, (pcb_padstack_t **) Result3)) + if (Type & PCB_TYPE_PADSTACK && SearchPadstackByLocation(objst, req_flag, (pcb_pstk_t **) Result1, (pcb_pstk_t **) Result2, (pcb_pstk_t **) Result3)) return (PCB_TYPE_PADSTACK); if (Type & PCB_TYPE_PIN && SearchPinByLocation(objst, req_flag, (pcb_element_t **) pr1, (pcb_pin_t **) pr2, (pcb_pin_t **) pr3)) Index: trunk/src/select.c =================================================================== --- trunk/src/select.c (revision 12594) +++ trunk/src/select.c (revision 12595) @@ -51,7 +51,7 @@ #include "obj_poly_draw.h" #include "obj_text_draw.h" #include "obj_rat_draw.h" -#include "obj_padstack_draw.h" +#include "obj_pstk_draw.h" #include @@ -129,8 +129,8 @@ case PCB_TYPE_PADSTACK: pcb_undo_add_obj_to_flag(ptr1); - PCB_FLAG_TOGGLE(PCB_FLAG_SELECTED, (pcb_padstack_t *) ptr1); - pcb_padstack_invalidate_draw((pcb_padstack_t *) ptr1); + PCB_FLAG_TOGGLE(PCB_FLAG_SELECTED, (pcb_pstk_t *) ptr1); + pcb_pstk_invalidate_draw((pcb_pstk_t *) ptr1); break; case PCB_TYPE_LINE: @@ -492,12 +492,12 @@ PCB_PADSTACK_LOOP(pcb->Data); { - if (pcb_padstack_near_box(padstack, Box) + if (pcb_pstk_near_box(padstack, Box) && !PCB_FLAG_TEST(PCB_FLAG_LOCK, padstack) && PCB_FLAG_TEST(PCB_FLAG_SELECTED, padstack) != Flag) { append(PCB_TYPE_PADSTACK, padstack, padstack); if (pcb->ViaOn) - pcb_padstack_invalidate_draw(padstack); + pcb_pstk_invalidate_draw(padstack); } } PCB_END_LOOP; @@ -531,7 +531,7 @@ case PCB_OBJ_POLYGON: return PCB_POLYGON_NEAR_BOX((pcb_poly_t *)obj, box); case PCB_OBJ_ARC: return PCB_ARC_NEAR_BOX((pcb_arc_t *)obj, box); case PCB_OBJ_PAD: return PCB_PAD_NEAR_BOX((pcb_pad_t *)obj, box); - case PCB_OBJ_PADSTACK: return pcb_padstack_near_box((pcb_padstack_t *)obj, box); + case PCB_OBJ_PADSTACK: return pcb_pstk_near_box((pcb_pstk_t *)obj, box); case PCB_OBJ_PIN: case PCB_OBJ_VIA: return PCB_VIA_OR_PIN_NEAR_BOX((pcb_pin_t *)obj, box); case PCB_OBJ_ELEMENT: return PCB_ELEMENT_NEAR_BOX((pcb_element_t *)obj, box); Index: trunk/src/thermal.c =================================================================== --- trunk/src/thermal.c (revision 12594) +++ trunk/src/thermal.c (revision 12595) @@ -26,8 +26,8 @@ #include "compat_misc.h" #include "data.h" -#include "obj_padstack.h" -#include "obj_padstack_inlines.h" +#include "obj_pstk.h" +#include "obj_pstk_inlines.h" #include "obj_pinvia_therm.h" #include "polygon.h" @@ -505,7 +505,7 @@ } /* Generate a clearance around a padstack shape, with no thermal */ -static pcb_polyarea_t *pcb_thermal_area_padstack_nothermal(pcb_board_t *pcb, pcb_padstack_t *ps, pcb_layer_id_t lid, pcb_padstack_shape_t *shp) +static pcb_polyarea_t *pcb_thermal_area_pstk_nothermal(pcb_board_t *pcb, pcb_pstk_t *ps, pcb_layer_id_t lid, pcb_pstk_shape_t *shp) { pcb_poly_it_t it; pcb_polyarea_t *pres = NULL; @@ -517,7 +517,7 @@ return pa_line_at(ps->x + shp->data.line.x1, ps->y + shp->data.line.y1, ps->x + shp->data.line.x2, ps->y + shp->data.line.y2, shp->data.line.thickness + ps->Clearance*2, shp->data.line.square); case PCB_PSSH_POLY: if (shp->data.poly.pa == NULL) - pcb_padstack_shape_update_pa(&shp->data.poly); + pcb_pstk_shape_update_pa(&shp->data.poly); if (shp->data.poly.pa == NULL) return NULL; pcb_poly_iterate_polyarea(shp->data.poly.pa, &it); @@ -527,10 +527,10 @@ return NULL; } -pcb_polyarea_t *pcb_thermal_area_padstack(pcb_board_t *pcb, pcb_padstack_t *ps, pcb_layer_id_t lid) +pcb_polyarea_t *pcb_thermal_area_pstk(pcb_board_t *pcb, pcb_pstk_t *ps, pcb_layer_id_t lid) { unsigned char thr; - pcb_padstack_shape_t *shp; + pcb_pstk_shape_t *shp; pcb_polyarea_t *pres = NULL; pcb_layer_t *layer = pcb_get_layer(pcb->Data, lid); @@ -544,15 +544,15 @@ else thr = 0; - shp = pcb_padstack_shape_at(pcb, ps, layer); + shp = pcb_pstk_shape_at(pcb, ps, layer); if (!(thr & PCB_THERMAL_ON)) - return pcb_thermal_area_padstack_nothermal(pcb, ps, lid, shp); + return pcb_thermal_area_pstk_nothermal(pcb, ps, lid, shp); switch(thr & 3) { case PCB_THERMAL_NOSHAPE: { - pcb_padstack_proto_t *proto = pcb_padstack_get_proto(ps); + pcb_pstk_proto_t *proto = pcb_pstk_get_proto(ps); return pcb_poly_from_circle(ps->x, ps->y, proto->hdia/2 + ps->Clearance); } case PCB_THERMAL_SOLID: return NULL; @@ -584,7 +584,7 @@ { pcb_poly_it_t it; if (shp->data.poly.pa == NULL) - pcb_padstack_shape_update_pa(&shp->data.poly); + pcb_pstk_shape_update_pa(&shp->data.poly); if (shp->data.poly.pa == NULL) return NULL; pcb_poly_iterate_polyarea(shp->data.poly.pa, &it); @@ -618,7 +618,7 @@ return pcb_thermal_area_poly(pcb, (pcb_poly_t *)obj, lid); case PCB_OBJ_PADSTACK: - return pcb_thermal_area_padstack(pcb, (pcb_padstack_t *)obj, lid); + return pcb_thermal_area_pstk(pcb, (pcb_pstk_t *)obj, lid); case PCB_OBJ_ARC: break; Index: trunk/src/thermal.h =================================================================== --- trunk/src/thermal.h (revision 12594) +++ trunk/src/thermal.h (revision 12595) @@ -53,7 +53,7 @@ pcb_polyarea_t *pcb_thermal_area_pin(pcb_board_t *pcb, pcb_pin_t *pin, pcb_layer_id_t lid); pcb_polyarea_t *pcb_thermal_area_line(pcb_board_t *pcb, pcb_line_t *line, pcb_layer_id_t lid); pcb_polyarea_t *pcb_thermal_area_poly(pcb_board_t *pcb, pcb_poly_t *poly, pcb_layer_id_t lid); -pcb_polyarea_t *pcb_thermal_area_padstack(pcb_board_t *pcb, pcb_padstack_t *ps, pcb_layer_id_t lid); +pcb_polyarea_t *pcb_thermal_area_pstk(pcb_board_t *pcb, pcb_pstk_t *ps, pcb_layer_id_t lid); unsigned char pcb_themal_style_old2new(pcb_cardinal_t t); pcb_cardinal_t pcb_themal_style_new2old(unsigned char t); Index: trunk/src/tool_thermal.c =================================================================== --- trunk/src/tool_thermal.c (revision 12594) +++ trunk/src/tool_thermal.c (revision 12595) @@ -33,7 +33,7 @@ #include "change.h" #include "data.h" #include "hid_actions.h" -#include "obj_padstack.h" +#include "obj_pstk.h" #include "search.h" #include "thermal.h" #include "tool.h" @@ -53,7 +53,7 @@ pcb_chg_obj_thermal(type, ptr1, ptr2, ptr3, PCB->ThermStyle, INDEXOFCURRENT); } -static void tool_thermal_on_padstack(pcb_padstack_t *ps, unsigned long lid) +static void tool_thermal_on_pstk(pcb_pstk_t *ps, unsigned long lid) { unsigned char *th, newth = 0; unsigned char cycle[] = { @@ -65,7 +65,7 @@ }; int cycles = sizeof(cycle) / sizeof(cycle[0]); - th = pcb_padstack_get_thermal(ps, lid, 1); + th = pcb_pstk_get_thermal(ps, lid, 1); if (pcb_gui->shift_is_pressed()) { int n, curr = -1; /* cycle through the variants to find the current one */ @@ -106,7 +106,7 @@ if (((type = pcb_search_screen(Note.X, Note.Y, PCB_TYPEMASK_PIN, &ptr1, &ptr2, &ptr3)) != PCB_TYPE_NONE) && !PCB_FLAG_TEST(PCB_FLAG_HOLE, (pcb_pin_t *) ptr3)) { if (type == PCB_TYPE_PADSTACK) - tool_thermal_on_padstack((pcb_padstack_t *)ptr2, INDEXOFCURRENT); + tool_thermal_on_pstk((pcb_pstk_t *)ptr2, INDEXOFCURRENT); else tool_thermal_on_pinvia(type, ptr1, ptr2, ptr3); } Index: trunk/src/vtpadstack.c =================================================================== --- trunk/src/vtpadstack.c (revision 12594) +++ trunk/src/vtpadstack.c (revision 12595) @@ -1,5 +1,5 @@ /*#define PCB_PADSTACK_STRUCT_ONLY -#include "obj_padstack.h"*/ +#include "obj_pstk.h"*/ #define GVT_DONT_UNDEF #include "vtpadstack.h" Index: trunk/src/vtpadstack.h =================================================================== --- trunk/src/vtpadstack.h (revision 12594) +++ trunk/src/vtpadstack.h (revision 12595) @@ -1,15 +1,15 @@ #ifndef PCB_VTPADSTACK_H #define PCB_VTPADSTACK_H -/* Elem=pcb_padstack_proto_t; init=none */ +/* Elem=pcb_pstk_proto_t; init=none */ -#include "obj_padstack.h" +#include "obj_pstk.h" /* all public symbols are wrapped in GVT() - see vt_t(7) */ #define GVT(x) pcb_vtpadstack_proto_ ## x /* Array elem type - see vt_t(7) */ -#define GVT_ELEM_TYPE pcb_padstack_proto_t +#define GVT_ELEM_TYPE pcb_pstk_proto_t /* Type that represents array lengths - see vt_t(7) */ #define GVT_SIZE_TYPE size_t Index: trunk/src/vtpadstack_t.h =================================================================== --- trunk/src/vtpadstack_t.h (revision 12594) +++ trunk/src/vtpadstack_t.h (revision 12595) @@ -1,15 +1,15 @@ #ifndef PCB_VTPADSTACK_T_H #define PCB_VTPADSTACK_T_H -/* Elem=pcb_padstack_proto_t; init=none */ +/* Elem=pcb_pstk_proto_t; init=none */ -#include "obj_padstack_shape.h" +#include "obj_pstk_shape.h" /* all public symbols are wrapped in GVT() - see vt_t(7) */ #define GVT(x) pcb_vtpadstack_tshape_ ## x /* Array elem type - see vt_t(7) */ -#define GVT_ELEM_TYPE pcb_padstack_tshape_t +#define GVT_ELEM_TYPE pcb_pstk_tshape_t /* Type that represents array lengths - see vt_t(7) */ #define GVT_SIZE_TYPE size_t Index: trunk/src_plugins/dialogs/dlg_padstack.c =================================================================== --- trunk/src_plugins/dialogs/dlg_padstack.c (revision 12594) +++ trunk/src_plugins/dialogs/dlg_padstack.c (revision 12595) @@ -20,8 +20,8 @@ * */ -#include "obj_padstack.h" -#include "obj_padstack_inlines.h" +#include "obj_pstk.h" +#include "obj_pstk_inlines.h" typedef struct pse_proto_layer_s { const char *name; @@ -43,7 +43,7 @@ typedef struct pse_s { pcb_hid_attribute_t *attrs; pcb_board_t *pcb; - pcb_padstack_t *ps; + pcb_pstk_t *ps; int tab; /* widget IDs */ @@ -98,12 +98,12 @@ { char tmp[256], *s; int n; - pcb_padstack_proto_t *proto; + pcb_pstk_proto_t *proto; pcb_layergrp_id_t top_gid, bottom_gid; pcb_layergrp_t *top_grp, *bottom_grp; pcb_bb_type_t htype; - htype = pcb_padstack_bbspan(pse->pcb, pse->ps, &top_gid, &bottom_gid, &proto); + htype = pcb_pstk_bbspan(pse->pcb, pse->ps, &top_gid, &bottom_gid, &proto); top_grp = pcb_get_layergrp(pse->pcb, top_gid); bottom_grp = pcb_get_layergrp(pse->pcb, bottom_gid); @@ -116,7 +116,7 @@ /* proto - layers */ for(n = 0; n < pse_num_layers; n++) { - pcb_padstack_shape_t *shape = pcb_padstack_shape(pse->ps, pse_layer[n].mask, pse_layer[n].comb); + pcb_pstk_shape_t *shape = pcb_pstk_shape(pse->ps, pse_layer[n].mask, pse_layer[n].comb); if (shape != NULL) { switch(shape->shape) { case PCB_PSSH_CIRC: @@ -199,7 +199,7 @@ if (lock != 0) return; - pcb_padstack_change_instance(pse->ps, + pcb_pstk_change_instance(pse->ps, NULL, &pse->attrs[pse->clearance].default_val.coord_value, &pse->attrs[pse->rot].default_val.real_value, @@ -215,7 +215,7 @@ static void pse_chg_hole(void *hid_ctx, void *caller_data, pcb_hid_attribute_t *attr) { pse_t *pse = caller_data; - pcb_padstack_proto_t *proto = pcb_padstack_get_proto(pse->ps); + pcb_pstk_proto_t *proto = pcb_pstk_get_proto(pse->ps); static int lock = 0; if (lock != 0) @@ -222,7 +222,7 @@ return; if (proto != NULL) { - pcb_padstack_proto_change_hole(proto, + pcb_pstk_proto_change_hole(proto, &pse->attrs[pse->hplated].default_val.int_value, &pse->attrs[pse->hdia].default_val.coord_value, &pse->attrs[pse->htop_val].default_val.int_value, Index: trunk/src_plugins/io_hyp/hyp_y.c =================================================================== --- trunk/src_plugins/io_hyp/hyp_y.c (revision 12594) +++ trunk/src_plugins/io_hyp/hyp_y.c (revision 12595) @@ -2192,7 +2192,7 @@ case 140: #line 394 "hyp_y.y" /* yacc.c:1646 */ - { if (exec_padstack_end(&h)) YYERROR; } + { if (exec_pstk_end(&h)) YYERROR; } #line 2197 "hyp_y.c" /* yacc.c:1646 */ break; @@ -2210,7 +2210,7 @@ case 148: #line 406 "hyp_y.y" /* yacc.c:1646 */ - { if (exec_padstack_element(&h)) YYERROR; new_record(); } + { if (exec_pstk_element(&h)) YYERROR; new_record(); } #line 2215 "hyp_y.c" /* yacc.c:1646 */ break; Index: trunk/src_plugins/io_hyp/hyp_y.y =================================================================== --- trunk/src_plugins/io_hyp/hyp_y.y (revision 12594) +++ trunk/src_plugins/io_hyp/hyp_y.y (revision 12595) @@ -391,7 +391,7 @@ /* padstack */ padstack - : '{' H_PADSTACK { new_record(); } '=' H_STRING { h.padstack_name = yylval.strval; h.padstack_name_set = pcb_true; } drill_size '}' { if (exec_padstack_end(&h)) YYERROR; } ; + : '{' H_PADSTACK { new_record(); } '=' H_STRING { h.padstack_name = yylval.strval; h.padstack_name_set = pcb_true; } drill_size '}' { if (exec_pstk_end(&h)) YYERROR; } ; drill_size : ',' H_FLOAT { h.drill_size = yylval.floatval; h.drill_size_set = pcb_true; } padstack_list @@ -403,7 +403,7 @@ | padstack_def ; padstack_def - : '(' H_STRING { h.layer_name = yylval.strval; h.layer_name_set = pcb_true; } ',' pad_shape pad_coord pad_type { if (exec_padstack_element(&h)) YYERROR; new_record(); } + : '(' H_STRING { h.layer_name = yylval.strval; h.layer_name_set = pcb_true; } ',' pad_shape pad_coord pad_type { if (exec_pstk_element(&h)) YYERROR; new_record(); } | '(' error ')' ; pad_shape Index: trunk/src_plugins/io_hyp/parser.c =================================================================== --- trunk/src_plugins/io_hyp/parser.c (revision 12594) +++ trunk/src_plugins/io_hyp/parser.c (revision 12595) @@ -147,7 +147,7 @@ struct padstack_element_s *next; } padstack_element_t; -padstack_element_t *current_padstack_element; +padstack_element_t *current_pstk_element; typedef struct padstack_s { char *name; @@ -157,7 +157,7 @@ } padstack_t; padstack_t *padstack_head; -padstack_t *current_padstack; +padstack_t *current_pstk; /* pads */ pcb_element_t *component_side_pads; @@ -286,8 +286,8 @@ /* clear padstack */ padstack_head = NULL; - current_padstack = NULL; - current_padstack_element = NULL; + current_pstk = NULL; + current_pstk_element = NULL; /* clear devices */ device_head = NULL; @@ -375,7 +375,7 @@ * find padstack by name */ -padstack_t *hyp_padstack_by_name(char *padstack_name) +padstack_t *hyp_pstk_by_name(char *padstack_name) { padstack_t *i; for (i = padstack_head; i != NULL; i = i->next) @@ -1720,7 +1720,7 @@ * PADSTACK record */ -pcb_bool exec_padstack_element(parse_param * h) +pcb_bool exec_pstk_element(parse_param * h) { /* * Layer names with special meaning, used in padstack definition: @@ -1782,55 +1782,55 @@ if (h->padstack_name_set) { /* add new padstack */ - current_padstack = malloc(sizeof(padstack_t)); - if (current_padstack == NULL) + current_pstk = malloc(sizeof(padstack_t)); + if (current_pstk == NULL) return 1; /*malloc failed */ - current_padstack->name = pcb_strdup(h->padstack_name); - current_padstack->drill_size = xy2coord(h->drill_size); - current_padstack_element = malloc(sizeof(padstack_element_t)); - current_padstack->padstack = current_padstack_element; + current_pstk->name = pcb_strdup(h->padstack_name); + current_pstk->drill_size = xy2coord(h->drill_size); + current_pstk_element = malloc(sizeof(padstack_element_t)); + current_pstk->padstack = current_pstk_element; } else { /* add new padstack element */ - current_padstack_element->next = malloc(sizeof(padstack_element_t)); - current_padstack_element = current_padstack_element->next; - if (current_padstack_element == NULL) + current_pstk_element->next = malloc(sizeof(padstack_element_t)); + current_pstk_element = current_pstk_element->next; + if (current_pstk_element == NULL) return 1; /*malloc failed */ } /* fill in values */ - current_padstack_element->layer_name = pcb_strdup(h->layer_name); - current_padstack_element->pad_shape = h->pad_shape; - current_padstack_element->pad_sx = xy2coord(h->pad_sx); - current_padstack_element->pad_sy = xy2coord(h->pad_sy); - current_padstack_element->pad_angle = h->pad_angle; - current_padstack_element->thermal_clear_sx = xy2coord(h->thermal_clear_sx); - current_padstack_element->thermal_clear_sy = xy2coord(h->thermal_clear_sy); - current_padstack_element->thermal_clear_angle = h->thermal_clear_angle; + current_pstk_element->layer_name = pcb_strdup(h->layer_name); + current_pstk_element->pad_shape = h->pad_shape; + current_pstk_element->pad_sx = xy2coord(h->pad_sx); + current_pstk_element->pad_sy = xy2coord(h->pad_sy); + current_pstk_element->pad_angle = h->pad_angle; + current_pstk_element->thermal_clear_sx = xy2coord(h->thermal_clear_sx); + current_pstk_element->thermal_clear_sy = xy2coord(h->thermal_clear_sy); + current_pstk_element->thermal_clear_angle = h->thermal_clear_angle; if (h->pad_type_set) - current_padstack_element->pad_type = h->pad_type; + current_pstk_element->pad_type = h->pad_type; else - current_padstack_element->pad_type = PAD_TYPE_METAL; - current_padstack_element->next = NULL; + current_pstk_element->pad_type = PAD_TYPE_METAL; + current_pstk_element->next = NULL; return 0; } -pcb_bool exec_padstack_end(parse_param * h) +pcb_bool exec_pstk_end(parse_param * h) { if (hyp_debug) pcb_message(PCB_MSG_DEBUG, "padstack_end\n"); /* add current padstack to list of padstacks */ - if (current_padstack != NULL) { - current_padstack->next = padstack_head; - padstack_head = current_padstack; - current_padstack = NULL; + if (current_pstk != NULL) { + current_pstk->next = padstack_head; + padstack_head = current_pstk; + current_pstk = NULL; } - current_padstack_element = NULL; + current_pstk_element = NULL; return 0; } @@ -1840,7 +1840,7 @@ * ref is an optional string which gives pin reference as device.pin, eg. U1.VCC */ -void hyp_draw_padstack(padstack_t * padstk, pcb_coord_t x, pcb_coord_t y, char *ref) +void hyp_draw_pstk(padstack_t * padstk, pcb_coord_t x, pcb_coord_t y, char *ref) { /* @@ -2237,7 +2237,7 @@ return 0; } - hyp_draw_padstack(hyp_padstack_by_name(h->padstack_name), x2coord(h->x), y2coord(h->y), NULL); + hyp_draw_pstk(hyp_pstk_by_name(h->padstack_name), x2coord(h->x), y2coord(h->y), NULL); return 0; } @@ -2331,7 +2331,7 @@ pad1->next = NULL; /* draw padstack */ - hyp_draw_padstack(padstk, x2coord(h->x), y2coord(h->y), NULL); + hyp_draw_pstk(padstk, x2coord(h->x), y2coord(h->y), NULL); /* free padstack for this via */ free(pad2); @@ -2364,7 +2364,7 @@ return 0; } - hyp_draw_padstack(hyp_padstack_by_name(h->padstack_name), x2coord(h->x), y2coord(h->y), h->pin_reference); + hyp_draw_pstk(hyp_pstk_by_name(h->padstack_name), x2coord(h->x), y2coord(h->y), h->pin_reference); return 0; } @@ -2425,7 +2425,7 @@ pad->next = NULL; /* draw padstack */ - hyp_draw_padstack(padstk, x2coord(h->x), y2coord(h->y), NULL); + hyp_draw_pstk(padstk, x2coord(h->x), y2coord(h->y), NULL); /* free padstack for this pad */ free(pad); Index: trunk/src_plugins/io_hyp/parser.h =================================================================== --- trunk/src_plugins/io_hyp/parser.h (revision 12594) +++ trunk/src_plugins/io_hyp/parser.h (revision 12595) @@ -207,8 +207,8 @@ pcb_bool exec_supplies(parse_param * h); -pcb_bool exec_padstack_element(parse_param * h); -pcb_bool exec_padstack_end(parse_param * h); +pcb_bool exec_pstk_element(parse_param * h); +pcb_bool exec_pstk_end(parse_param * h); pcb_bool exec_net(parse_param * h); pcb_bool exec_net_plane_separation(parse_param * h); Index: trunk/src_plugins/io_hyp/write.c =================================================================== --- trunk/src_plugins/io_hyp/write.c (revision 12594) +++ trunk/src_plugins/io_hyp/write.c (revision 12595) @@ -311,7 +311,7 @@ return 0; } -static void write_padstack_pv(hyp_wr_t * wr, const pcb_pin_t * pin) +static void write_pstk_pv(hyp_wr_t * wr, const pcb_pin_t * pin) { int new_item; int pin_shape; @@ -332,7 +332,7 @@ fprintf(wr->f, "}\n"); } -static void write_padstack_pad(hyp_wr_t * wr, const pcb_pad_t * pad) +static void write_pstk_pad(hyp_wr_t * wr, const pcb_pad_t * pad) { int new_item; int pad_shape; @@ -355,7 +355,7 @@ fprintf(wr->f, "}\n"); } -static int write_padstack(hyp_wr_t * wr) +static int write_pstk(hyp_wr_t * wr) { gdl_iterator_t it, it2; pcb_element_t *elem; @@ -364,14 +364,14 @@ elementlist_foreach(&wr->pcb->Data->Element, &it, elem) { pinlist_foreach(&elem->Pin, &it2, pin) { - write_padstack_pv(wr, pin); + write_pstk_pv(wr, pin); } padlist_foreach(&elem->Pad, &it2, pad) { - write_padstack_pad(wr, pad); + write_pstk_pad(wr, pad); } } pinlist_foreach(&wr->pcb->Data->Via, &it, pin) { - write_padstack_pv(wr, pin); + write_pstk_pv(wr, pin); } return 0; } @@ -455,7 +455,7 @@ if (write_devices(&wr) != 0) goto err; - if (write_padstack(&wr) != 0) + if (write_pstk(&wr) != 0) goto err; if (write_nets(&wr) != 0) Index: trunk/src_plugins/io_lihata/read.c =================================================================== --- trunk/src_plugins/io_lihata/read.c (revision 12594) +++ trunk/src_plugins/io_lihata/read.c (revision 12595) @@ -756,15 +756,15 @@ return 0; } -static int parse_padstack(pcb_data_t *dt, lht_node_t *obj) +static int parse_pstk(pcb_data_t *dt, lht_node_t *obj) { - pcb_padstack_t *ps; + pcb_pstk_t *ps; lht_node_t *thl, *t; unsigned char intconn = 0; unsigned long int ul; int tmp; - ps = pcb_padstack_alloc(dt); + ps = pcb_pstk_alloc(dt); parse_id(&ps->ID, obj, 13); parse_flags(&ps->Flags, lht_dom_hash_get(obj, "flags"), PCB_TYPE_PADSTACK, &intconn); @@ -795,7 +795,7 @@ } } - pcb_padstack_add(dt, ps); + pcb_pstk_add(dt, ps); return 0; } @@ -966,7 +966,7 @@ for(n = lht_dom_first(&it, grp); n != NULL; n = lht_dom_next(&it)) { if (strncmp(n->name, "padstack_ref.", 13) == 0) - parse_padstack(dt, n); + parse_pstk(dt, n); if (strncmp(n->name, "via.", 4) == 0) parse_pin(dt, NULL, n, 0, 0); if (strncmp(n->name, "rat.", 4) == 0) @@ -1102,7 +1102,7 @@ return 0; } -static int parse_data_padstack_shape_poly(pcb_board_t *pcb, pcb_padstack_shape_t *dst, lht_node_t *nshape, pcb_data_t *subc_parent) +static int parse_data_pstk_shape_poly(pcb_board_t *pcb, pcb_pstk_shape_t *dst, lht_node_t *nshape, pcb_data_t *subc_parent) { lht_node_t *n; pcb_cardinal_t i; @@ -1119,7 +1119,7 @@ } dst->data.poly.len /= 2; - pcb_padstack_shape_alloc_poly(&dst->data.poly, dst->data.poly.len); + pcb_pstk_shape_alloc_poly(&dst->data.poly, dst->data.poly.len); for(n = nshape->data.list.first, i = 0; n != NULL; i++) { if (parse_coord(&dst->data.poly.x[i], n) != 0) return -1; n = n->next; @@ -1129,7 +1129,7 @@ return 0; } -static int parse_data_padstack_shape_line(pcb_board_t *pcb, pcb_padstack_shape_t *dst, lht_node_t *nshape, pcb_data_t *subc_parent) +static int parse_data_pstk_shape_line(pcb_board_t *pcb, pcb_pstk_shape_t *dst, lht_node_t *nshape, pcb_data_t *subc_parent) { int sq; @@ -1145,7 +1145,7 @@ return 0; } -static int parse_data_padstack_shape_circ(pcb_board_t *pcb, pcb_padstack_shape_t *dst, lht_node_t *nshape, pcb_data_t *subc_parent) +static int parse_data_pstk_shape_circ(pcb_board_t *pcb, pcb_pstk_shape_t *dst, lht_node_t *nshape, pcb_data_t *subc_parent) { dst->shape = PCB_PSSH_CIRC; @@ -1155,7 +1155,7 @@ return 0; } -static int parse_data_padstack_shape_v4(pcb_board_t *pcb, pcb_padstack_shape_t *dst, lht_node_t *nshape, pcb_data_t *subc_parent) +static int parse_data_pstk_shape_v4(pcb_board_t *pcb, pcb_pstk_shape_t *dst, lht_node_t *nshape, pcb_data_t *subc_parent) { lht_node_t *ncmb, *nlyt, *ns; int res = -1; @@ -1176,13 +1176,13 @@ if (parse_coord(&dst->clearance, lht_dom_hash_get(nshape, "clearance")) != 0) return -1; ns = lht_dom_hash_get(nshape, "ps_poly"); - if ((ns != NULL) && (ns->type == LHT_LIST)) return parse_data_padstack_shape_poly(pcb, dst, ns, subc_parent); + if ((ns != NULL) && (ns->type == LHT_LIST)) return parse_data_pstk_shape_poly(pcb, dst, ns, subc_parent); ns = lht_dom_hash_get(nshape, "ps_line"); - if ((ns != NULL) && (ns->type == LHT_HASH)) return parse_data_padstack_shape_line(pcb, dst, ns, subc_parent); + if ((ns != NULL) && (ns->type == LHT_HASH)) return parse_data_pstk_shape_line(pcb, dst, ns, subc_parent); ns = lht_dom_hash_get(nshape, "ps_circ"); - if ((ns != NULL) && (ns->type == LHT_HASH)) return parse_data_padstack_shape_circ(pcb, dst, ns, subc_parent); + if ((ns != NULL) && (ns->type == LHT_HASH)) return parse_data_pstk_shape_circ(pcb, dst, ns, subc_parent); pcb_message(PCB_MSG_ERROR, "Failed to parse pad stack: missing shape\n"); return -1; @@ -1190,11 +1190,11 @@ -static int parse_data_padstack_proto(pcb_board_t *pcb, pcb_padstack_proto_t *dst, lht_node_t *nproto, pcb_data_t *subc_parent) +static int parse_data_pstk_proto(pcb_board_t *pcb, pcb_pstk_proto_t *dst, lht_node_t *nproto, pcb_data_t *subc_parent) { int itmp, i; lht_node_t *nshape, *n; - pcb_padstack_tshape_t *ts; + pcb_pstk_tshape_t *ts; /* read the hole */ if (parse_coord(&dst->hdia, lht_dom_hash_get(nproto, "hdia")) != 0) return -1; @@ -1216,17 +1216,17 @@ ts = pcb_vtpadstack_tshape_get(&dst->tr, 0, 1); for(n = nshape->data.list.first, ts->len = 0; n != NULL; n = n->next) ts->len++; - ts->shape = calloc(sizeof(pcb_padstack_shape_t), ts->len); + ts->shape = calloc(sizeof(pcb_pstk_shape_t), ts->len); for(n = nshape->data.list.first, i = 0; n != NULL; n = n->next, i++) if ((n->type == LHT_HASH) && (strcmp(n->name, "ps_shape_v4") == 0)) - if (parse_data_padstack_shape_v4(pcb, ts->shape+i, n, subc_parent) != 0) + if (parse_data_pstk_shape_v4(pcb, ts->shape+i, n, subc_parent) != 0) return -1; return 0; } -static int parse_data_padstack_protos(pcb_board_t *pcb, pcb_data_t *dst, lht_node_t *pp, pcb_data_t *subc_parent) +static int parse_data_pstk_protos(pcb_board_t *pcb, pcb_data_t *dst, lht_node_t *pp, pcb_data_t *subc_parent) { pcb_cardinal_t pid, len; lht_node_t *pr; @@ -1239,7 +1239,7 @@ if ((pr->type == LHT_TEXT) && (strcmp(pr->name, "unused") == 0)) continue; else if ((pr->type == LHT_HASH) && (strcmp(pr->name, "ps_proto_v4") == 0)) - res = parse_data_padstack_proto(pcb, dst->ps_protos.array + pid, pr, subc_parent); + res = parse_data_pstk_proto(pcb, dst->ps_protos.array + pid, pr, subc_parent); else { pcb_message(PCB_MSG_ERROR, "Invalid padstack proto definition\n", pp->name); return -1; @@ -1276,7 +1276,7 @@ if (rdver >= 4) { grp = lht_dom_hash_get(nd, "padstack_prototypes"); if ((grp != NULL) && (grp->type == LHT_LIST)) - parse_data_padstack_protos(pcb, dt, grp, subc_parent); + parse_data_pstk_protos(pcb, dt, grp, subc_parent); } grp = lht_dom_hash_get(nd, "objects"); Index: trunk/src_plugins/io_lihata/write.c =================================================================== --- trunk/src_plugins/io_lihata/write.c (revision 12594) +++ trunk/src_plugins/io_lihata/write.c (revision 12595) @@ -521,15 +521,15 @@ } -static lht_node_t *build_padstack_protos(pcb_vtpadstack_proto_t *pp) +static lht_node_t *build_pstk_protos(pcb_vtpadstack_proto_t *pp) { lht_node_t *lst, *nproto, *nmask, *nshape, *nshapelst, *ncomb, *nshapeo; pcb_cardinal_t n, sn, pn; - pcb_padstack_tshape_t *ts; + pcb_pstk_tshape_t *ts; lst = lht_dom_node_alloc(LHT_LIST, "padstack_prototypes"); for(n = 0; n < pcb_vtpadstack_proto_len(pp); n++) { - pcb_padstack_proto_t *proto = pp->array+n; + pcb_pstk_proto_t *proto = pp->array+n; if (!proto->in_use) { lht_dom_list_append(lst, build_text("unused", "1")); @@ -547,7 +547,7 @@ lht_dom_hash_put(nproto, nshapelst = lht_dom_node_alloc(LHT_LIST, "shape")); ts = &proto->tr.array[0]; /* save the canonical shape only, the transformation cache is generated runtime */ for(sn = 0; sn < ts->len; sn++) { - pcb_padstack_shape_t *shape = ts->shape + sn; + pcb_pstk_shape_t *shape = ts->shape + sn; lht_dom_list_append(nshapelst, nshape = lht_dom_node_alloc(LHT_HASH, "ps_shape_v4")); @@ -593,7 +593,7 @@ return lst; } -static lht_node_t *build_padstack(pcb_padstack_t *ps) +static lht_node_t *build_pstk(pcb_pstk_t *ps) { char buff[128]; lht_node_t *obj, *thr; @@ -789,7 +789,7 @@ static lht_node_t *build_data(pcb_data_t *data) { lht_node_t *grp, *ndt; - pcb_padstack_t *ps; + pcb_pstk_t *ps; pcb_pin_t *pi; pcb_element_t *el; pcb_subc_t *sc; @@ -806,9 +806,9 @@ lht_dom_hash_put(ndt, grp); if (wrver >= 4) { - lht_dom_hash_put(ndt, build_padstack_protos(&data->ps_protos)); + lht_dom_hash_put(ndt, build_pstk_protos(&data->ps_protos)); for(ps = padstacklist_first(&data->padstack); ps != NULL; ps = padstacklist_next(ps)) - lht_dom_list_append(grp, build_padstack(ps)); + lht_dom_list_append(grp, build_pstk(ps)); } for(pi = pinlist_first(&data->Via); pi != NULL; pi = pinlist_next(pi)) Index: trunk/src_plugins/io_mentor_cell/read.c =================================================================== --- trunk/src_plugins/io_mentor_cell/read.c (revision 12594) +++ trunk/src_plugins/io_mentor_cell/read.c (revision 12595) @@ -88,7 +88,7 @@ return !(suc1 && suc2); } -static void parse_padstack(hkp_ctx_t *ctx, pcb_element_t *elem, const char *ps, pcb_coord_t px, pcb_coord_t py, char *name) +static void parse_pstk(hkp_ctx_t *ctx, pcb_element_t *elem, const char *ps, pcb_coord_t px, pcb_coord_t py, char *name) { pcb_flag_t flags = pcb_no_flags(); pcb_coord_t thickness, hole, ms, cl; @@ -179,7 +179,7 @@ tmp = find_nth(nd->first_child, "PADSTACK", 0); if (tmp != NULL) - parse_padstack(ctx, elem, tmp->argv[1], px, py, nd->argv[1]); + parse_pstk(ctx, elem, tmp->argv[1], px, py, nd->argv[1]); } static void parse_silk(hkp_ctx_t *ctx, pcb_element_t *elem, node_t *nd)