Index: trunk/scconfig/Rev.h =================================================================== --- trunk/scconfig/Rev.h (revision 25820) +++ trunk/scconfig/Rev.h (revision 25821) @@ -1 +1 @@ -static const int myrev = 25817; +static const int myrev = 25821; Index: trunk/scconfig/Rev.tab =================================================================== --- trunk/scconfig/Rev.tab (revision 25820) +++ trunk/scconfig/Rev.tab (revision 25821) @@ -1,4 +1,4 @@ -25817 configure new plugin for data access actions +25821 configure new plugin for data access actions 25789 configure centralize the unit selector widget in a DAD compound 25783 congigure hidlib: remove unused parts of the gtk HID 25758 configure compound DAD widgets, for DAD based spinboxes: remove old, gtk-only coord entry Index: trunk/src_plugins/act_read/Plug.tmpasm =================================================================== --- trunk/src_plugins/act_read/Plug.tmpasm (revision 25820) +++ trunk/src_plugins/act_read/Plug.tmpasm (revision 25821) @@ -1,8 +1,11 @@ put /local/pcb/mod {act_read} put /local/pcb/mod/OBJS [@ $(PLUGDIR)/act_read/act_read.o + $(PLUGDIR)/act_read/keywords_sphash.o @] +put /local/pcb/mod/SPHASH {$(PLUGDIR)/act_read/keywords.sphash} + switch /local/pcb/act_read/controls case {buildin} include /local/pcb/tmpasm/buildin; end; case {plugin} include /local/pcb/tmpasm/plugin; end; Index: trunk/src_plugins/act_read/act_idpath.c =================================================================== --- trunk/src_plugins/act_read/act_idpath.c (revision 25820) +++ trunk/src_plugins/act_read/act_idpath.c (revision 25821) @@ -1,6 +1,11 @@ /* includeed from act_read.c */ -static const char pcb_acts_IDPList[] = "IDPList([new|free|tostr])"; +static const char pcb_acts_IDPList[] = + "IDPList(new|free|print)\n" + "IDPList(get|print, idx)\n" + "IDPList(remove, idx)\n" + "IDPList(prepend|append, idpath)" + ; static const char pcb_acth_IDPList[] = "Basic idpath list manipulation."; static fgw_error_t pcb_act_IDPList(fgw_arg_t *res, int argc, fgw_arg_t *argv) { Index: trunk/src_plugins/act_read/act_read.c =================================================================== --- trunk/src_plugins/act_read/act_read.c (revision 25820) +++ trunk/src_plugins/act_read/act_read.c (revision 25821) @@ -33,8 +33,11 @@ #include "plugins.h" #include "misc_util.h" +#include "keywords_sphash.h" + #include "act_idpath.c" + static const char pcb_acts_GetValue[] = "GetValue(input, units, relative, default_unit)"; static const char pcb_acth_GetValue[] = "Convert a coordinate value. Returns an unitless double or FGW_ERR_ARG_CONV. The 3rd parameter controls whether to require relative coordinates (+- prefix). Wraps pcb_get_value_ex()."; static fgw_error_t pcb_act_GetValue(fgw_arg_t *res, int argc, fgw_arg_t *argv) Index: trunk/src_plugins/act_read/keywords.sphash =================================================================== --- trunk/src_plugins/act_read/keywords.sphash (nonexistent) +++ trunk/src_plugins/act_read/keywords.sphash (revision 25821) @@ -0,0 +1,7 @@ +alloc +append +free +get +prepend +print +remove