kicad/pcbnew/tools
Jeff Young 7a28f3d4cf Implement undo/redo for origins in legacy
PICKED_ITEMS_LIST knows the architecture of the undo commands so
that it can delete those ITEMs which it owns.  This represents poor
encapsulation so instead of adding yet another case, I added a
UR_TRANSIENT item flag which is set by callers whenever they create
new objects to “give to” the undo/redo stack.  This allowed some
cleanup of other code, but cleaning up UR_DELETE and UR_WIRE_IMAGE
will be a bigger task and have to wait for another day.

Fixes: lp:1542018
* https://bugs.launchpad.net/kicad/+bug/1542018
2018-01-27 19:51:44 -05:00
..
drawing_tool.cpp DRAWSEGMENT, S_POLYGON shape: remove useless copies or conversion to std::vector<wxPoint> of SHPE_POLY_SET polygon shape. 2018-01-24 14:22:43 +01:00
drawing_tool.h refactoring: wrapped boost::optional in OPT<> class for the purpose of easier transition to C++17 in the future 2017-11-03 23:59:02 +01:00
edit_constraints.cpp Fix unnecessary value parameter detected by clang-tidy. - Replace value parameter by const reference parameter or move-assignement in some cases 2018-01-09 18:55:51 -05:00
edit_constraints.h Explicitly mark overriding functions. 2016-09-24 14:53:15 -04:00
edit_points.cpp Fixed bounding box computation for EDIT_POINTS class 2017-02-09 12:03:28 +01:00
edit_points.h Refactor layer enumerations to all live in the same place 2017-03-30 16:01:48 -04:00
edit_tool.cpp Reapplied: Save view control settings before dispatching new tool events 2018-01-26 19:23:08 +01:00
edit_tool.h Simplify Exchange Footprints dialog and add Update mode. 2018-01-24 09:55:39 -05:00
grid_helper.cpp DRAWSEGMENT, S_POLYGON shape: remove useless copies or conversion to std::vector<wxPoint> of SHPE_POLY_SET polygon shape. 2018-01-24 14:22:43 +01:00
grid_helper.h refactoring: wrapped boost::optional in OPT<> class for the purpose of easier transition to C++17 in the future 2017-11-03 23:59:02 +01:00
microwave_tool.cpp Prevent creating too many transitions by TOOL_MANAGER 2017-07-31 15:09:19 +02:00
microwave_tool.h Prevent creating too many transitions by TOOL_MANAGER 2017-07-31 15:09:19 +02:00
module_editor_tools.cpp DRAWSEGMENT, S_POLYGON shape: remove useless copies or conversion to std::vector<wxPoint> of SHPE_POLY_SET polygon shape. 2018-01-24 14:22:43 +01:00
module_editor_tools.h pcbnew: tools for converting between custom-shaped pads and graphical shapes 2017-10-19 23:35:18 +02:00
pad_tool.cpp Fix unnecessary value parameter detected by clang-tidy. - Replace value parameter by const reference parameter or move-assignement in some cases 2018-01-09 18:55:51 -05:00
pad_tool.h Prevent creating too many transitions by TOOL_MANAGER 2017-07-31 15:09:19 +02:00
pcb_actions.cpp Footprint Editor, GAL mode: make option tool "show footprint in outline mode" working. 2018-01-19 19:26:48 +01:00
pcb_actions.h Simplify Exchange Footprints dialog and add Update mode. 2018-01-24 09:55:39 -05:00
pcb_bright_box.cpp Refactor BRIGHT_BOX to common so it can be used by other programs 2017-03-11 21:38:01 +01:00
pcb_bright_box.h Refactor BRIGHT_BOX to common so it can be used by other programs 2017-03-11 21:38:01 +01:00
pcb_editor_control.cpp Implement undo/redo for origins in legacy 2018-01-27 19:51:44 -05:00
pcb_editor_control.h Implement undo/redo for drill and grid origins. 2018-01-27 19:40:51 -05:00
pcb_selection_conditions.cpp Refactor SELECTION, SELECTION_CONDITIONS, and context menus to common 2017-02-28 14:47:20 +01:00
pcb_selection_conditions.h Refactor SELECTION, SELECTION_CONDITIONS, and context menus to common 2017-02-28 14:47:20 +01:00
pcb_tool.cpp PCB_TOOL: added convenience methods for accessing current SELECTION 2017-12-05 14:54:57 +01:00
pcb_tool.h PCB_TOOL: added convenience methods for accessing current SELECTION 2017-12-05 14:54:57 +01:00
pcbnew_control.cpp Implement undo/redo for origins in legacy 2018-01-27 19:51:44 -05:00
pcbnew_control.h Implement undo/redo for drill and grid origins. 2018-01-27 19:40:51 -05:00
picker_tool.cpp refactoring: wrapped boost::optional in OPT<> class for the purpose of easier transition to C++17 in the future 2017-11-03 23:59:02 +01:00
picker_tool.h refactoring: wrapped boost::optional in OPT<> class for the purpose of easier transition to C++17 in the future 2017-11-03 23:59:02 +01:00
placement_tool.cpp Fix AlignLeft / AlignRight when using Flip Board view 2017-12-11 09:40:08 +01:00
placement_tool.h Fix AlignLeft / AlignRight when using Flip Board view 2017-12-11 09:40:08 +01:00
point_editor.cpp DRAWSEGMENT, S_POLYGON shape: remove useless copies or conversion to std::vector<wxPoint> of SHPE_POLY_SET polygon shape. 2018-01-24 14:22:43 +01:00
point_editor.h POINT_EDITOR: migrate to ZONE_FILLER class 2017-12-05 14:54:57 +01:00
position_relative_tool.cpp Add a gerber test file 2017-10-23 09:20:10 +02:00
position_relative_tool.h Prevent creating too many transitions by TOOL_MANAGER 2017-07-31 15:09:19 +02:00
selection.cpp pcbnew: Minor changes in CONNECTIVITY_DATA interface: 2017-11-15 18:34:08 +01:00
selection_tool.cpp Clear selection box when another tool is invoked while selecting items 2018-01-26 15:10:48 +01:00
selection_tool.h Avoid selection disambiguation menu when possible. 2018-01-18 09:09:25 +01:00
size_menu.cpp Update units in 'select track/via size' context menu 2017-12-18 17:03:07 +01:00
size_menu.h Update units in 'select track/via size' context menu 2017-12-18 17:03:07 +01:00
tool_event_utils.cpp Add cancel interactive tool action to GAL 2017-02-24 10:37:07 +01:00
tool_event_utils.h Remove some extra semicolons 2017-11-09 19:52:18 +01:00
tools_common.cpp pcbnew: Optimized zone filling algorithm. 2017-12-05 14:54:57 +01:00
zone_create_helper.cpp pcbnew: factored out ZONE_FILLER to a separate file 2017-12-05 14:54:57 +01:00
zone_create_helper.h Rework zone creation in GAL 2017-03-22 17:18:12 +01:00
zone_filler_tool.cpp pcbnew: factored out ZONE_FILLER to a separate file 2017-12-05 14:54:57 +01:00
zone_filler_tool.h pcbnew: Optimized zone filling algorithm. 2017-12-05 14:54:57 +01:00