kicad/include
Wayne Stambaugh ded4ad9b17 Pcbnew: delete objects from removed layers.
This fixes potential DRC false positive bugs that occur when inner layers
are removed from the board but the actual objects on contained on those
layers remain in the board.

Since Pcbnew does not handle odd number layers, this is not a perfect fix.
When the user chooses the front or back layer only options from the layer
setup dialog, objects on the copper layers will not be removed.  This will
not cause the false positive issue described above.

Get rid of dialog OK and cancel button event handlers and use the proper
TranferData(To/From)Window for handling control data.

Add PCB_LAYER_COLLECTOR for collecting board objects by layer.  Factor out
redundant [] operators into base PCB_COLLECTOR object.

Fixes lp:893950

https://bugs.launchpad.net/kicad/+bug/893950
2017-09-28 13:01:09 -04:00
..
core GerbView GAL support part 1: changes to existing files 2017-09-25 13:35:01 +02:00
gal Use unordered_map instead of map for GROUPS_MAP 2017-09-25 13:39:37 +02:00
geometry fix a few Coverity warnings. 2017-08-06 14:23:03 +02:00
kicad_curl Remove useless includes and more fixes to avoid including curl.h in files, when not mandatory. 2017-09-05 08:07:31 +02:00
math fix a few Coverity warnings. 2017-08-06 14:23:03 +02:00
plugins Fix a few doxygen warnings 2017-06-25 11:26:04 +02:00
preview_items Multiple improvements concerning colors, configuration handling and legacy features in pcbnew: 2017-08-04 16:06:57 +02:00
system libcontext FreeBSD compatibility fix 2017-07-28 14:25:55 +02:00
tool Move zoom_tool.h to include 2017-09-25 13:35:01 +02:00
ttl Fix a few doxygen warnings and add a few comments. 2017-07-04 11:08:27 +02:00
view Skip calling RTREE::Remove() when adding items to a VIEW 2017-09-25 13:39:38 +02:00
widgets pcbnew: enable net selection combobox in Track/Via properties dialog 2017-07-27 16:21:54 +02:00
base_struct.h Minor trace logging improvements. 2017-09-21 08:58:41 -04:00
base_units.h Move some unit related util function to base_units.h 2017-03-23 12:47:05 -04:00
basic_gal.h Prevent unnecessary compilation due to changes in plot_common.h. 2017-04-18 11:14:59 -04:00
bezier_curves.h Fix Coverity warnings 2017-05-30 09:07:18 +02:00
bin_mod.h Minor coding style fixes in headers 2016-01-12 11:33:33 -05:00
bitmap_types.h Move bitmaps.h out of base_struct.h 2017-02-21 09:50:15 -05:00
bitmaps.h library option reviewed and renamed, minor menu text changes 2017-09-19 08:11:24 -04:00
block_commande.h Renamed remaining constants to match the action (see ab44e7cc) 2017-07-04 10:08:33 +02:00
build_version.h More missing source license fixes. 2014-10-22 11:51:34 -04:00
class_base_screen.h Explicitly mark overriding functions. 2016-09-24 14:53:15 -04:00
class_bitmap_base.h Change from EDA_COLOR_T to COLOR4D globally; arbitrary color support 2017-02-22 17:35:00 +01:00
class_board_design_settings.h Removed all exception specifiers since deprecated. 2017-06-12 13:54:55 -04:00
class_board_item.h Enable multi-layer for keepout zones 2017-09-27 10:34:59 +02:00
class_collector.h Pcbnew: delete objects from removed layers. 2017-09-28 13:01:09 -04:00
class_colors_design_settings.h Fp editor and board editor have now a separate color setup. 2017-09-11 18:51:48 +02:00
class_draw_panel_gal.h Make EDA_DRAW_FRAME::SetToolID and mouse cursor shape setting working in GAL canvases, and uses same mouse cursor shapes in legacy and gal canvases. 2017-06-12 15:16:09 +02:00
class_drawpanel.h Make EDA_DRAW_FRAME::SetToolID and mouse cursor shape setting working in GAL canvases, and uses same mouse cursor shapes in legacy and gal canvases. 2017-06-12 15:16:09 +02:00
class_drc_item.h Fix uninitialized member in DRC_ITEM constructor. 2014-08-16 14:12:11 -04:00
class_eda_rect.h Code formatting fixes 2017-05-10 11:40:49 +02:00
class_layer_box_selector.h Change from EDA_COLOR_T to COLOR4D globally; arbitrary color support 2017-02-22 17:35:00 +01:00
class_marker_base.h Change from EDA_COLOR_T to COLOR4D globally; arbitrary color support 2017-02-22 17:35:00 +01:00
class_page_info.h Removed all exception specifiers since deprecated. 2017-06-12 13:54:55 -04:00
class_pcb_screen.h Refactor layer enumerations to all live in the same place 2017-03-30 16:01:48 -04:00
class_title_block.h Removed all exception specifiers since deprecated. 2017-06-12 13:54:55 -04:00
class_undoredo_container.h Unified undo buffer handling code for PCB & module editor. 2016-09-12 11:50:06 +02:00
class_worksheet_dataitem.h Change from EDA_COLOR_T to COLOR4D globally; arbitrary color support 2017-02-22 17:35:00 +01:00
colors.h Change from EDA_COLOR_T to COLOR4D globally; arbitrary color support 2017-02-22 17:35:00 +01:00
commit.h Added COMMIT::GetStatus() and minor refactor 2017-07-19 10:46:10 +02:00
common.h Move some unit related util function to base_units.h 2017-03-23 12:47:05 -04:00
config_map.h Fix a few doxygen warnings 2017-06-20 10:47:30 +02:00
config_params.h Change from EDA_COLOR_T to COLOR4D globally; arbitrary color support 2017-02-22 17:35:00 +01:00
confirm.h Improved various error messages 2017-07-25 07:37:14 -04:00
convert_basic_shapes_to_polygon.h Fix a few doxygen warnings 2017-06-16 09:18:31 +02:00
convert_to_biu.h convert_to_biu: Changed defines & functions to constexpr 2016-12-12 16:45:52 +01:00
dialog_env_var_config.h Explicitly mark overriding functions. 2016-09-24 14:53:15 -04:00
dialog_get_component.h Explicitly mark overriding functions. 2016-09-24 14:53:15 -04:00
dialog_helpers.h Explicitly mark overriding functions. 2016-09-24 14:53:15 -04:00
dialog_hotkeys_editor.h Explicitly mark overriding functions. 2016-09-24 14:53:15 -04:00
dialog_shim.h MACOS Setfocus and CancelButtonIssue moved into dialog_shim. 2017-01-29 23:51:35 +01:00
dlist.h Refinement to commit #4993. 2014-07-14 16:43:21 +02:00
draw_frame.h Unified {Load,Save]CanvasTypeSetting in EDA_DRAW_FRAME 2017-09-25 13:39:32 +02:00
drawtxt.h Change from EDA_COLOR_T to COLOR4D globally; arbitrary color support 2017-02-22 17:35:00 +01:00
dsnlexer.h Removed all exception specifiers since deprecated. 2017-06-12 13:54:55 -04:00
eagle_parser.h Eagle layers as enums 2017-05-08 10:26:48 +02:00
eda_dde.h More missing source license fixes. 2014-10-22 11:51:34 -04:00
eda_doc.h More missing source license fixes. 2014-10-22 11:51:34 -04:00
eda_pattern_match.h Add relational operators to component search 2017-03-27 21:26:49 -04:00
eda_text.h Doxygen comment improvements. 2017-06-13 19:47:46 -04:00
executable_names.h Move executable name constants to own file 2017-03-23 09:23:45 -04:00
fctsys.h removed wx carbon include in fctsys as it is unnecessary 2015-12-12 23:03:35 +13:00
filter_reader.h Removed all exception specifiers since deprecated. 2017-06-12 13:54:55 -04:00
footprint_filter.h Add footprint select dropdown to component chooser, serious refactoring 2017-03-24 09:20:27 -04:00
footprint_info.h Fix SYNC_QUEUE build issue on Boost < 1.56 2017-03-24 10:09:08 -04:00
fp_lib_table.h Pcbnew: fix issue in dialog_fp_lib_table: when the only changes were the plugin name, changes were not taken in account. 2017-06-30 16:03:17 +02:00
frame_type.h Removed all exception specifiers since deprecated. 2017-06-12 13:54:55 -04:00
gbr_netlist_metadata.h Pcbnew: fix minor issue in %TO.C advanced attribute, and avoid creating an unused D10 tool in Gerber files. 2017-07-02 16:41:31 +02:00
gestfich.h Doxygen comment improvements. 2017-06-13 19:47:46 -04:00
gl_context_mgr.h Reverted 6912 with minor changes (LockCtx requires to specify canvas that locks a context). 2016-06-13 16:43:33 +02:00
gr_basic.h Change from EDA_COLOR_T to COLOR4D globally; arbitrary color support 2017-02-22 17:35:00 +01:00
grid_tricks.h *) Factor out Cut, Copy, and Paste for wxGrid into class common/GRID_TRICKS. 2013-10-23 13:56:03 -05:00
hashtables.h Pcbnew: major swig fix. 2016-07-18 13:23:09 -04:00
hotkeys_basic.h PL Editor UI Improvements: Menubar, toolbar and hotkeys 2017-08-29 11:52:34 -04:00
html_messagebox.h Explicitly mark overriding functions. 2016-09-24 14:53:15 -04:00
i18n_utility.h Try to fix a compil issue on OSX (no viable conversion from 'const wxString' to 'const wxChar *', in colors.cpp) 2016-05-17 09:10:15 +02:00
id.h Renamed remaining constants to match the action (see ab44e7cc) 2017-07-04 10:08:33 +02:00
import_export.h Use _WIN32 instead of __MINGW32__ in 2 conditional compilations which are Windows specific, not especially mingw32 specific. 2016-03-01 16:55:44 +01:00
incremental_text_ctrl.h Fix a few doxygen warnings 2017-06-16 09:18:31 +02:00
intrusive_list.h Moved INTRUSIVE_LIST to a separate header 2017-06-23 18:51:00 +02:00
ki_exception.h Fix a few doxygen warnings 2017-06-20 10:47:30 +02:00
ki_mutex.h More missing source license fixes. 2014-10-22 11:51:34 -04:00
kicad_device_context.h Minor coding style fixes in headers 2016-01-12 11:33:33 -05:00
kicad_string.h Display more information in component selector 2017-02-07 15:01:20 -05:00
kiface_i.h Fix a few doxygen warnings 2017-06-20 10:47:30 +02:00
kiface_ids.h Add footprint select dropdown to component chooser, serious refactoring 2017-03-24 09:20:27 -04:00
kiway.h Make show/hide icons in menus a run time option, instead of compil option. 2017-03-02 15:45:54 +01:00
kiway_express.h Explicitly mark overriding functions. 2016-09-24 14:53:15 -04:00
kiway_mgr.h Minor coding style fixes in headers 2016-01-12 11:33:33 -05:00
kiway_player.h Icons options menu: code rework 2017-03-03 14:18:25 +01:00
layers_id_colors_and_visibility.h GerbView GAL support part 1: changes to existing files 2017-09-25 13:35:01 +02:00
length.h.usuned Namespace KiGfx->KIGFX. 2013-10-14 16:13:35 +02:00
lib_id.h Rewrite class UTF8 to contain rather than extend std::string storage. 2017-07-26 08:30:12 -04:00
lib_table_base.h Doxygen comment improvements. 2017-06-13 19:47:46 -04:00
lib_table_grid.h Make FP_TBL_MODEL reusable. 2017-03-30 18:36:37 -04:00
lockfile.h Doxygen comment improvements. 2017-06-13 19:47:46 -04:00
lru_cache.h 3D Viewer: complete refactor of the 3D viewer. 2016-07-19 13:35:25 -04:00
macros.h EDA_TEXT object refactor. 2017-01-25 08:03:32 -05:00
mail_type.h Remove excessive schematic symbol library re-linking. 2017-03-04 16:02:33 -05:00
make_unique.h Add C++14-style std::make_unique 'polyfill' for C++11 2017-01-23 11:41:00 +01:00
menus_helpers.h Make show/hide icons in menus a run time option, instead of compil option. 2017-03-02 15:45:54 +01:00
msgpanel.h Changed COLOR4D defines to static consts 2017-02-22 17:35:00 +01:00
multivector.h Fix compil warning 2017-09-20 09:31:48 +02:00
newstroke_font.h Fix incorrect (too small) bounding box EDA_TEXT, noticeable when chars like j or { are used in zone fill functions. 2016-03-11 13:08:34 +01:00
observable.h Fix a few doxygen warnings 2017-06-16 09:18:31 +02:00
origin_viewitem.h Refactor layer enumerations to all live in the same place 2017-03-30 16:01:48 -04:00
pad_shapes.h Add support for custom pad shape. Full support in DRC and PnS. 2017-09-19 09:02:53 +02:00
painter.h Fix a few doxygen warnings 2017-06-20 10:47:30 +02:00
pcbstruct.h pcbnew legacy: remove option to hide via drill 2016-05-10 16:47:37 -04:00
pgm_base.h Icons options menu: code rework 2017-03-03 14:18:25 +01:00
plot_auxiliary_data.h Add Gerber job file writer in Pcbnew, and a basic reader in Gerbview. Currently disabled 2017-08-30 11:04:33 +02:00
plot_common.h Make texts search-able in PDF files (using invisible texts behind stroked texts) 2017-08-15 15:53:00 +02:00
profile.h New connectivity algorithm. 2017-06-23 11:12:36 +02:00
project.h Fix a few doxygen warnings and add a few comments. 2017-07-04 11:08:27 +02:00
properties.h Store information about buffering & caching in properties 2017-02-28 15:18:58 +01:00
ptree.h Removed all exception specifiers since deprecated. 2017-06-12 13:54:55 -04:00
reporter.h Fix a few doxygen warnings 2017-06-16 09:18:31 +02:00
richio.h Removed all exception specifiers since deprecated. 2017-06-12 13:54:55 -04:00
scoped_set_reset.h Add context menu to GAL DRAWING_TOOL, including the zone menu 2017-01-11 10:41:08 +01:00
search_stack.h Fix windows help path bug. (fixes lp:1313412) 2015-09-20 14:23:17 -04:00
streamwrapper.h Fix a few doxygen warnings and add a few comments. 2017-07-04 11:08:27 +02:00
sync_queue.h Fix SYNC_QUEUE build issue on Boost < 1.56 2017-03-24 10:09:08 -04:00
systemdirsappend.h Move SystemDirsAppend to own header 2017-03-23 09:23:45 -04:00
trigo.h EDA_TEXT object refactor. 2017-01-25 08:03:32 -05:00
utf8.h Rewrite class UTF8 to contain rather than extend std::string storage. 2017-07-26 08:30:12 -04:00
validators.h Envrionment variable dialog improvments. 2015-08-16 20:30:29 -04:00
wildcards_and_files_ext.h Add Gerber job file writer in Pcbnew, and a basic reader in Gerbview. Currently disabled 2017-08-30 11:04:33 +02:00
worksheet.h Change from EDA_COLOR_T to COLOR4D globally; arbitrary color support 2017-02-22 17:35:00 +01:00
worksheet_shape_builder.h Changed COLOR4D defines to static consts 2017-02-22 17:35:00 +01:00
worksheet_viewitem.h Code formatting 2016-12-12 16:45:52 +01:00
wxBasePcbFrame.h Unified {Load,Save]CanvasTypeSetting in EDA_DRAW_FRAME 2017-09-25 13:39:32 +02:00
wxPcbStruct.h Move forceColorsToLegacy() to EDA_DRAW_FRAME as virtual method 2017-09-25 13:35:01 +02:00
wx_status_popup.h Code formatting. 2015-02-18 17:53:46 +01:00
wx_unit_binder.h Change track width setting to dropbox 2017-08-25 16:46:49 +02:00
wxdataviewctrl_helpers.h Move wxDataViewCtrl manipulators out of dialog_choose_component.cpp 2017-03-30 21:47:14 -04:00
wxstruct.h Changed AUI toolbars background from gradient to solid 2017-09-27 23:23:06 +02:00
wxunittext.h Fix many doxygen warnings (due to missing info, old comments, typo ...) when building the doxygen doc. 2014-11-02 17:25:04 +01:00
xnode.h Removed all exception specifiers since deprecated. 2017-06-12 13:54:55 -04:00