Index: trunk/src/box.c =================================================================== --- trunk/src/box.c (revision 11904) +++ trunk/src/box.c (revision 11905) @@ -24,9 +24,9 @@ * */ -#warning TODO: remove this and use genvect +#warning cleanup TODO: remove this and use genvect +#define STEP_POINT 100 -#define STEP_POINT 100 #include #include "config.h" #include "rotate.h" Index: trunk/src/conf_act.c =================================================================== --- trunk/src/conf_act.c (revision 11904) +++ trunk/src/conf_act.c (revision 11905) @@ -224,7 +224,7 @@ static const char ChkMode_help[] = "Return 1 if the currently selected mode is the expected_mode"; static int pcb_act_ChkMode(int argc, const char **argv, pcb_coord_t x, pcb_coord_t y) { -#warning TODO: convert this to a compile-time hash +#warning cleanup TODO: convert this to a compile-time hash; or make the toolbar configurable from the menu file struct { const char *name; int mode; Index: trunk/src/draw.c =================================================================== --- trunk/src/draw.c (revision 11904) +++ trunk/src/draw.c (revision 11905) @@ -94,7 +94,7 @@ } -#warning TODO: this should be cached +#warning cleanup TODO: this should be cached void pcb_lighten_color(const char *orig, char buf[8], double factor) { unsigned int r, g, b; Index: trunk/src/find_clear.c =================================================================== --- trunk/src/find_clear.c (revision 11904) +++ trunk/src/find_clear.c (revision 11905) @@ -70,7 +70,7 @@ PCB_END_LOOP; } PCB_END_LOOP; -#warning subc term TODO +#warning subc TODO term TODO: implement this for subc if (change) pcb_board_set_changed_flag(pcb_true); return change; Index: trunk/src/find_drc.c =================================================================== --- trunk/src/find_drc.c (revision 11904) +++ trunk/src/find_drc.c (revision 11905) @@ -681,7 +681,7 @@ } } PCB_END_LOOP; -#warning subc term TODO +#warning subc TODO term TODO: implement this for subcircuits } Index: trunk/src/find_misc.c =================================================================== --- trunk/src/find_misc.c (revision 11904) +++ trunk/src/find_misc.c (revision 11905) @@ -272,7 +272,7 @@ pcb_conn_lookup_uninit(); } -#warning TODO: keep only PCB_OBJ_* and remove this function +#warning cleanup TODO: keep only PCB_OBJ_* and remove this function unsigned long pcb_obj_type2oldtype(pcb_objtype_t type) { switch(type) { Index: trunk/src/hid_nogui.c =================================================================== --- trunk/src/hid_nogui.c (revision 11904) +++ trunk/src/hid_nogui.c (revision 11905) @@ -67,7 +67,7 @@ static void nogui_set_drawing_mode(pcb_composite_op_t op, pcb_bool direct, const pcb_box_t *screen) { -#warning TODO: make this crash after the transition +#warning TODO: make this crash after the set drawing mode transition /* CRASH("set_drawing_mode");*/ } Index: trunk/src/layer.c =================================================================== --- trunk/src/layer.c (revision 11904) +++ trunk/src/layer.c (revision 11905) @@ -406,7 +406,7 @@ int pcb_layer_rename_(pcb_layer_t *Layer, char *Name) { -#warning TODO: duplicate of pcb_layer_rename()? +#warning cleanup TODO: duplicate of pcb_layer_rename()? if (PCB_LAYER_IS_REAL(Layer)) { free((char*)Layer->meta.real.name); Layer->meta.real.name = Name; Index: trunk/src/library.c =================================================================== --- trunk/src/library.c (revision 11904) +++ trunk/src/library.c (revision 11905) @@ -24,7 +24,7 @@ * */ -#warning TODO: replace this with genvect +#warning cleanup TODO: replace this with genvect #include #include Index: trunk/src/obj_pinvia_therm.c =================================================================== --- trunk/src/obj_pinvia_therm.c (revision 11904) +++ trunk/src/obj_pinvia_therm.c (revision 11905) @@ -38,7 +38,7 @@ #include "polygon.h" #include "obj_pinvia_therm.h" -#warning TODO: remove this, pass on pcb as arg instead +#warning cleanup TODO: remove this, pass on pcb as arg instead static pcb_board_t *pcb; struct cent { Index: trunk/src/object_act.c =================================================================== --- trunk/src/object_act.c (revision 11904) +++ trunk/src/object_act.c (revision 11905) @@ -1043,6 +1043,7 @@ } PCB_END_LOOP; #warning subc TODO +#warning cleanup TODO: move this to oldactions maybe? return 0; } Index: trunk/src/select.c =================================================================== --- trunk/src/select.c (revision 11904) +++ trunk/src/select.c (revision 11905) @@ -219,7 +219,7 @@ * returns a list of object IDs matched the search and loads len with the * length of the list. Returns NULL on no match. */ -#warning TODO: should be rewritten with generic ops and rtree +#warning cleanup TODO: should be rewritten with generic ops and rtree static long int *ListBlock_(pcb_board_t *pcb, pcb_box_t *Box, pcb_bool Flag, int *len) { int changed = 0; Index: trunk/src/undo_old_str.h =================================================================== --- trunk/src/undo_old_str.h (revision 11904) +++ trunk/src/undo_old_str.h (revision 11905) @@ -1,4 +1,4 @@ -#warning TODO: move this back to undo_old.c +#warning cleanup TODO: move this back to undo_old.c typedef struct { /* information about a change command */ char *Name; Index: trunk/src/vtonpoint.c =================================================================== --- trunk/src/vtonpoint.c (revision 11904) +++ trunk/src/vtonpoint.c (revision 11905) @@ -1,6 +1,6 @@ #define GVT_DONT_UNDEF -#warning TODO: this should be replaced with pcb_obj_t +#warning cleanup TODO: this should be replaced with pcb_obj_t #include "vtonpoint.h" #include