• Maciej Suminski's avatar
    Removed D_PAD::SetNetname() function and D_PAD::m_Netname, D_PAD::m_ShortNetname fields. · 654e7e55
    Maciej Suminski authored
    D_PAD::GetNetname() and D_PAD::GetShortNetname() were moved to BOARD_CONNECTED_ITEM. Now they use the net name stored in NETINFO_ITEM.
    Moved some one-line functions from class_board_connected_item.cpp to class_board_connected_item.h.
    Added a copyright notice, moved Doxygen comments from class_board_connected_item.cpp to class_board_connected_item.h.
    
    I have some doubts if changes introduced pcbnew/dialogs/dialog_pad_properties.cpp do not break anything, but I could not find a test case that breaks the pcbnew.
    
    Performed tests:
    - changed pad's net name from empty to existent - ok, name was changed
    - changed pad's net name from empty to nonexistent - ok, error message is displayed, net name stays empty
    - changed pad's net name from existent to empty - ok, net name became empty
    - changed pad's net name from existent to nonexistent - ok, error message is displayed, net name is not changed
    - (re)reading netlists, including net changes - fine, changes are applied, but empty nets are still kept
    - loaded pcbnew/pcad2kicadpcb_plugin/examples/CK1202_V1.pcb to test P-CAD import plugin - ok, net names are correct
    - imported an Eagle 6.0 board (Arduino Uno; http://arduino.cc/en/uploads/Main/arduino_Uno_Rev3-02-TH.zip) then saved in .kicad_pcb format and reloaded - ok, net names are correct
    - saved demos/video/video.kicad_pcb in legacy format and then loaded it again - ok, net names are correct
    654e7e55
Name
Last commit
Last update
..
dialog_SVG_print.cpp Loading commit data...
dialog_SVG_print.h Loading commit data...
dialog_SVG_print_base.cpp Loading commit data...
dialog_SVG_print_base.fbp Loading commit data...
dialog_SVG_print_base.h Loading commit data...
dialog_block_options_base.cpp Loading commit data...
dialog_block_options_base.fbp Loading commit data...
dialog_block_options_base.h Loading commit data...
dialog_cleaning_options.cpp Loading commit data...
dialog_cleaning_options.h Loading commit data...
dialog_cleaning_options_base.cpp Loading commit data...
dialog_cleaning_options_base.fbp Loading commit data...
dialog_cleaning_options_base.h Loading commit data...
dialog_copper_zones.cpp Loading commit data...
dialog_copper_zones_base.cpp Loading commit data...
dialog_copper_zones_base.fbp Loading commit data...
dialog_copper_zones_base.h Loading commit data...
dialog_design_rules.cpp Loading commit data...
dialog_design_rules.h Loading commit data...
dialog_design_rules_aux_helper_class.h Loading commit data...
dialog_design_rules_base.cpp Loading commit data...
dialog_design_rules_base.fbp Loading commit data...
dialog_design_rules_base.h Loading commit data...
dialog_dimension_editor_base.cpp Loading commit data...
dialog_dimension_editor_base.fbp Loading commit data...
dialog_dimension_editor_base.h Loading commit data...
dialog_display_options.cpp Loading commit data...
dialog_display_options.h Loading commit data...
dialog_display_options_base.cpp Loading commit data...
dialog_display_options_base.fbp Loading commit data...
dialog_display_options_base.h Loading commit data...
dialog_drc.cpp Loading commit data...
dialog_drc.h Loading commit data...
dialog_drc_base.cpp Loading commit data...
dialog_drc_base.fbp Loading commit data...
dialog_drc_base.h Loading commit data...
dialog_drclistbox.h Loading commit data...
dialog_edit_module_for_BoardEditor.cpp Loading commit data...
dialog_edit_module_for_BoardEditor.h Loading commit data...
dialog_edit_module_for_BoardEditor_base.cpp Loading commit data...
dialog_edit_module_for_BoardEditor_base.fbp Loading commit data...
dialog_edit_module_for_BoardEditor_base.h Loading commit data...
dialog_edit_module_for_Modedit.cpp Loading commit data...
dialog_edit_module_for_Modedit.h Loading commit data...
dialog_edit_module_for_Modedit_base.cpp Loading commit data...
dialog_edit_module_for_Modedit_base.fbp Loading commit data...
dialog_edit_module_for_Modedit_base.h Loading commit data...
dialog_edit_module_text.cpp Loading commit data...
dialog_edit_module_text_base.cpp Loading commit data...
dialog_edit_module_text_base.fbp Loading commit data...
dialog_edit_module_text_base.h Loading commit data...
dialog_exchange_modules_base.cpp Loading commit data...
dialog_exchange_modules_base.fbp Loading commit data...
dialog_exchange_modules_base.h Loading commit data...
dialog_export_idf.cpp Loading commit data...
dialog_export_idf_base.cpp Loading commit data...
dialog_export_idf_base.fbp Loading commit data...
dialog_export_idf_base.h Loading commit data...
dialog_export_vrml.cpp Loading commit data...
dialog_export_vrml_base.cpp Loading commit data...
dialog_export_vrml_base.fbp Loading commit data...
dialog_export_vrml_base.h Loading commit data...
dialog_find.cpp Loading commit data...
dialog_find_base.cpp Loading commit data...
dialog_find_base.fbp Loading commit data...
dialog_find_base.h Loading commit data...
dialog_footprint_wizard_list.cpp Loading commit data...
dialog_footprint_wizard_list.fbp Loading commit data...
dialog_footprint_wizard_list.h Loading commit data...
dialog_footprint_wizard_list_base.cpp Loading commit data...
dialog_footprint_wizard_list_base.h Loading commit data...
dialog_fp_lib_table.cpp Loading commit data...
dialog_fp_lib_table_base.cpp Loading commit data...
dialog_fp_lib_table_base.fbp Loading commit data...
dialog_fp_lib_table_base.h Loading commit data...
dialog_fp_plugin_options.cpp Loading commit data...
dialog_fp_plugin_options_base.cpp Loading commit data...
dialog_fp_plugin_options_base.fbp Loading commit data...
dialog_fp_plugin_options_base.h Loading commit data...
dialog_freeroute_exchange.cpp Loading commit data...
dialog_freeroute_exchange.h Loading commit data...
dialog_freeroute_exchange_base.cpp Loading commit data...
dialog_freeroute_exchange_base.fbp Loading commit data...
dialog_freeroute_exchange_base.h Loading commit data...
dialog_freeroute_exchange_help.html Loading commit data...
dialog_gen_module_position_file_base.cpp Loading commit data...
dialog_gen_module_position_file_base.fbp Loading commit data...
dialog_gen_module_position_file_base.h Loading commit data...
dialog_gendrill.cpp Loading commit data...
dialog_gendrill.h Loading commit data...
dialog_gendrill_base.cpp Loading commit data...
dialog_gendrill_base.fbp Loading commit data...
dialog_gendrill_base.h Loading commit data...
dialog_general_options.cpp Loading commit data...
dialog_general_options.h Loading commit data...
dialog_general_options_BoardEditor_base.cpp Loading commit data...
dialog_general_options_BoardEditor_base.fbp Loading commit data...
dialog_general_options_BoardEditor_base.h Loading commit data...
dialog_global_deletion.cpp Loading commit data...
dialog_global_deletion.h Loading commit data...
dialog_global_deletion_base.cpp Loading commit data...
dialog_global_deletion_base.fbp Loading commit data...
dialog_global_deletion_base.h Loading commit data...
dialog_global_edit_tracks_and_vias.cpp Loading commit data...
dialog_global_edit_tracks_and_vias.h Loading commit data...
dialog_global_edit_tracks_and_vias_base.cpp Loading commit data...
dialog_global_edit_tracks_and_vias_base.fbp Loading commit data...
dialog_global_edit_tracks_and_vias_base.h Loading commit data...
dialog_global_modules_fields_edition.cpp Loading commit data...
dialog_global_modules_fields_edition_base.cpp Loading commit data...
dialog_global_modules_fields_edition_base.fbp Loading commit data...
dialog_global_modules_fields_edition_base.h Loading commit data...
dialog_global_pads_edition_base.cpp Loading commit data...
dialog_global_pads_edition_base.fbp Loading commit data...
dialog_global_pads_edition_base.h Loading commit data...
dialog_graphic_item_properties.cpp Loading commit data...
dialog_graphic_item_properties_base.cpp Loading commit data...
dialog_graphic_item_properties_base.fbp Loading commit data...
dialog_graphic_item_properties_base.h Loading commit data...
dialog_graphic_item_properties_for_Modedit.cpp Loading commit data...
dialog_graphic_items_options.cpp Loading commit data...
dialog_graphic_items_options.h Loading commit data...
dialog_graphic_items_options_base.cpp Loading commit data...
dialog_graphic_items_options_base.fbp Loading commit data...
dialog_graphic_items_options_base.h Loading commit data...
dialog_keepout_area_properties.cpp Loading commit data...
dialog_keepout_area_properties_base.cpp Loading commit data...
dialog_keepout_area_properties_base.fbp Loading commit data...
dialog_keepout_area_properties_base.h Loading commit data...
dialog_layer_selection_base.cpp Loading commit data...
dialog_layer_selection_base.fbp Loading commit data...
dialog_layer_selection_base.h Loading commit data...
dialog_layers_setup.cpp Loading commit data...
dialog_layers_setup_base.cpp Loading commit data...
dialog_layers_setup_base.fbp Loading commit data...
dialog_layers_setup_base.h Loading commit data...
dialog_mask_clearance.cpp Loading commit data...
dialog_mask_clearance.h Loading commit data...
dialog_mask_clearance_base.cpp Loading commit data...
dialog_mask_clearance_base.fbp Loading commit data...
dialog_mask_clearance_base.h Loading commit data...
dialog_netlist.cpp Loading commit data...
dialog_netlist.h Loading commit data...
dialog_netlist_fbp.cpp Loading commit data...
dialog_netlist_fbp.fbp Loading commit data...
dialog_netlist_fbp.h Loading commit data...
dialog_non_copper_zones_properties_base.cpp Loading commit data...
dialog_non_copper_zones_properties_base.fbp Loading commit data...
dialog_non_copper_zones_properties_base.h Loading commit data...
dialog_orient_footprints.cpp Loading commit data...
dialog_orient_footprints_base.cpp Loading commit data...
dialog_orient_footprints_base.fbp Loading commit data...
dialog_orient_footprints_base.h Loading commit data...
dialog_pad_properties.cpp Loading commit data...
dialog_pad_properties_base.cpp Loading commit data...
dialog_pad_properties_base.fbp Loading commit data...
dialog_pad_properties_base.h Loading commit data...
dialog_pcb_text_properties.cpp Loading commit data...
dialog_pcb_text_properties_base.cpp Loading commit data...
dialog_pcb_text_properties_base.fbp Loading commit data...
dialog_pcb_text_properties_base.h Loading commit data...
dialog_pcbnew_config_libs_and_paths.cpp Loading commit data...
dialog_pcbnew_config_libs_and_paths.h Loading commit data...
dialog_pcbnew_config_libs_and_paths_fbp.cpp Loading commit data...
dialog_pcbnew_config_libs_and_paths_fbp.fbp Loading commit data...
dialog_pcbnew_config_libs_and_paths_fbp.h Loading commit data...
dialog_plot.cpp Loading commit data...
dialog_plot.h Loading commit data...
dialog_plot_base.cpp Loading commit data...
dialog_plot_base.fbp Loading commit data...
dialog_plot_base.h Loading commit data...
dialog_print_for_modedit.cpp Loading commit data...
dialog_print_for_modedit_base.cpp Loading commit data...
dialog_print_for_modedit_base.fbp Loading commit data...
dialog_print_for_modedit_base.h Loading commit data...
dialog_print_using_printer.cpp Loading commit data...
dialog_print_using_printer_base.cpp Loading commit data...
dialog_print_using_printer_base.fbp Loading commit data...
dialog_print_using_printer_base.h Loading commit data...
dialog_scripting.cpp Loading commit data...
dialog_scripting.h Loading commit data...
dialog_scripting_base.cpp Loading commit data...
dialog_scripting_base.fbp Loading commit data...
dialog_scripting_base.h Loading commit data...
dialog_set_grid.cpp Loading commit data...
dialog_set_grid_base.cpp Loading commit data...
dialog_set_grid_base.fbp Loading commit data...
dialog_set_grid_base.h Loading commit data...
dialog_target_properties_base.cpp Loading commit data...
dialog_target_properties_base.fbp Loading commit data...
dialog_target_properties_base.h Loading commit data...