kicad/pcbnew
Seth Hillbrand 6d957e9d65 Don't use KiROUND when we should trunc
When calculating the viewport extents, we only need the maximum size
that can be represented.  Anything larger should be truncated.  We do
this in many other places (wx_view_controls, ruler_item,
ds_proxy_view_item, etc) and this brings pcb_selection_tool into
alignment with this, avoiding an unneeded warning message

Fixes https://gitlab.com/kicad/code/kicad/-/issues/15529
2023-10-29 10:42:33 -07:00
..
autorouter Centralize text size clamping. 2023-06-03 20:29:51 +01:00
board_stackup_manager Insert lazily-created-rows at right position in grid sizer. 2023-10-02 11:12:18 +01:00
connectivity Don't assume an error location for PAD::GetEffectivePolygon(). 2023-10-13 13:59:26 +01:00
dialogs DIALOG_EXPORT_STEP: fix missing init of m_outputFileName widget at opening. 2023-10-29 10:20:51 +01:00
drc Normalize rects higher up. 2023-10-29 11:45:16 +00:00
exporters Update GenCAD export to handle arbitrary outline 2023-10-27 12:46:37 -07:00
generators Don't generate virtual vias when editing a tuning pattern. 2023-10-22 20:35:15 +01:00
git ADDED: Git integration support 2023-10-20 12:51:47 +00:00
import_gfx Support text variables in STEP export filename. 2023-10-23 18:01:47 +01:00
microwave Validate new footprint / save as footprint info before exiting dialog. 2023-09-06 12:49:37 +01:00
navlib Introduce action friendly names 2023-10-27 23:58:29 +01:00
netlist_reader SCH/PCB: warn before deleting footprint-only fields on sync 2023-10-18 11:33:17 -04:00
plugins Normalize rects higher up. 2023-10-29 11:45:16 +00:00
python Functionally it's a "reference image". 2023-10-24 15:44:21 +01:00
ratsnest Fix minor compil warnings. 2023-10-08 15:04:45 +02:00
router Minor formatting fixes. 2023-10-28 17:58:33 +01:00
specctra_import_export NETINFO_ITEMs are owned by BOARD. 2023-10-04 21:01:33 +01:00
teardrop ADDED: Git integration support 2023-10-20 12:51:47 +00:00
tools Don't use KiROUND when we should trunc 2023-10-29 10:42:33 -07:00
widgets Upgrade BITMAP_TOGGLE and GRID_BITMAP_TOGGLE to wxBitmapBundle 2023-10-22 14:02:06 -04:00
CMakeLists.txt export gencad: clean and update old code. Should not really change the export. 2023-10-27 20:03:12 +02:00
Doxyfile_python
Doxyfile_xml
action_plugin.cpp
action_plugin.h
array_creator.cpp Functionally it's a "reference image". 2023-10-24 15:44:21 +01:00
array_creator.h
array_pad_number_provider.cpp
array_pad_number_provider.h
board.cpp Functionally it's a "reference image". 2023-10-24 15:44:21 +01:00
board.h ADDED: Git integration support 2023-10-20 12:51:47 +00:00
board_commit.cpp Functionally it's a "reference image". 2023-10-24 15:44:21 +01:00
board_commit.h Improve graphical feedback while placing a meander. 2023-10-09 15:22:41 +01:00
board_connected_item.cpp Make pad & via teardrops 1st-class citizens (props of the pad/via) 2023-05-19 18:02:03 +01:00
board_connected_item.h ADDED: Connectivity for graphic shapes on copper layers 2023-08-10 21:47:43 -04:00
board_design_settings.cpp Use "tuning pattern" in the GUI. 2023-10-15 17:59:11 +01:00
board_item.cpp Fail GAL on its header leaking audit 2023-09-18 19:52:27 -04:00
board_item_container.h
build_BOM_from_board.cpp Unwrap the FROM_UTF8 macro in favor of direct function 2023-09-09 00:10:57 -04:00
cleanup_item.cpp
cleanup_item.h
collectors.cpp Functionally it's a "reference image". 2023-10-24 15:44:21 +01:00
collectors.h Remove a bunch of blind (and a few redundant) static_casts. 2023-07-13 14:14:45 +01:00
convert_shape_list_to_polygon.cpp Don't assume an error location for PAD::GetEffectivePolygon(). 2023-10-13 13:59:26 +01:00
convert_shape_list_to_polygon.h Coding policy, Doxygen comment, and spelling fixes. 2023-10-12 12:27:30 -04:00
cross-probing.cpp Unwrap the FROM_UTF8 macro in favor of direct function 2023-09-09 00:10:57 -04:00
edit.cpp Functionally it's a "reference image". 2023-10-24 15:44:21 +01:00
edit_track_width.cpp Hook up via size & drill constraints to editors. 2023-10-21 19:10:38 +01:00
edit_zone_helpers.cpp More safety around ratsnest state. 2022-11-30 13:00:21 +00:00
files.cpp Use IsShownOnScreen(), not IsShown(), if you really want to know if its visible. 2023-10-14 23:51:37 +01:00
fix_board_shape.cpp Pcbnew, ConnectBoardShapes(): do not add 0 size segments to outlines. 2023-10-18 11:14:43 +02:00
fix_board_shape.h Add a routine for joining PCB shapes. 2023-09-04 06:46:24 +03:00
footprint.cpp Functionally it's a "reference image". 2023-10-24 15:44:21 +01:00
footprint.h ADDED: Git integration support 2023-10-20 12:51:47 +00:00
footprint_chooser_frame.cpp Use wxSTAY_ON_TOP instead of wxFRAME_FLOAT_ON_PARENT for choosers. 2023-10-03 14:49:50 +01:00
footprint_chooser_frame.h Only expand lib tree when filtering. 2023-10-02 16:24:53 +01:00
footprint_edit_frame.cpp FOOTPRINT_EDIT_FRAME: ensure the canvas type comes from the FOOTPRINT_EDITOR_SETTINGS config 2023-10-26 17:58:33 +02:00
footprint_edit_frame.h FOOTPRINT_EDIT_FRAME: ensure the canvas type comes from the FOOTPRINT_EDITOR_SETTINGS config 2023-10-26 17:58:33 +02:00
footprint_editor_settings.cpp Separate Footprint Editor's sketch modes from PCB Editor's. 2023-10-26 10:59:26 +01:00
footprint_editor_utils.cpp Functionally it's a "reference image". 2023-10-24 15:44:21 +01:00
footprint_info_impl.cpp Shove thread_pool to core 2023-09-06 17:50:12 -04:00
footprint_info_impl.h send multivector.h and sync_queue.h to core 2023-09-08 07:14:34 -04:00
footprint_libraries_utils.cpp Don't leave deleted items in a group. 2023-10-14 18:23:51 +01:00
footprint_preview_panel.cpp On second thought rename PROJECT_PCBNEW to PROJECT_PCB 2023-09-27 23:15:54 -04:00
footprint_preview_panel.h ADDED: lib tree previews. 2023-09-02 23:30:22 +01:00
footprint_tree_pane.cpp Cleanup. 2023-09-29 00:13:13 +01:00
footprint_tree_pane.h Footprint Editor: Focus search field when window is first opened 2022-12-20 19:54:02 +00:00
footprint_viewer_frame.cpp NETINFO_ITEMs are owned by BOARD. 2023-10-04 21:01:33 +01:00
footprint_viewer_frame.h Cleanup. 2023-09-29 00:13:12 +01:00
footprint_wizard.cpp
footprint_wizard.h
footprint_wizard_frame.cpp Separate immediate and delayed action dispatch 2023-06-27 00:57:59 +01:00
footprint_wizard_frame.h Cleanup. 2023-09-29 00:13:12 +01:00
footprint_wizard_frame_functions.cpp Rename function in Footprint wizard to prevent impoper override 2023-06-12 23:14:56 +01:00
fp_text_grid_table.cpp FP editor: allows FOOTPRINT field to be editable. 2023-10-23 12:53:25 +02:00
fp_text_grid_table.h PCB Fields: use validators in dialogs, restrict editing of footprint 2023-06-20 18:34:52 +00:00
fp_tree_model_adapter.cpp Capture exceptions thrown by FP_LIB_TABLE::FindRow() in some places. 2023-08-20 12:27:37 +02:00
fp_tree_model_adapter.h
fp_tree_synchronizing_adapter.cpp Improve editing values with {return} in text fields; Add hyperlink detection. 2023-10-15 01:45:39 +03:00
fp_tree_synchronizing_adapter.h ADDED: lib tree previews. 2023-09-02 23:30:22 +01:00
generate_footprint_info.cpp Improve editing values with {return} in text fields; Add hyperlink detection. 2023-10-15 01:45:39 +03:00
generate_footprint_info.h
generators_mgr.cpp Introduce GENERATORS_MGR. 2023-10-08 02:41:17 +00:00
generators_mgr.h Introduce GENERATORS_MGR. 2023-10-08 02:41:17 +00:00
graphics_cleaner.cpp Fix minor compil and Coverity warnings (not initialized vars) 2023-10-23 20:13:46 +02:00
graphics_cleaner.h ADDED: Heal Shapes; Fix discontinuities in gfx import and Cleanup dialog. 2023-10-17 10:29:43 +03:00
grid_layer_box_helpers.cpp Replace __WXGTK20__ with __WXGTK__ 2023-04-12 18:57:12 +01:00
grid_layer_box_helpers.h
initpcb.cpp BoardDesignSettings are owned by FOOTPRINT_EDITOR_SETTINGS in the FP Editor. 2023-06-12 10:08:41 +01:00
invoke_pcb_dialog.h Refactor: Move DIALOG_PLUGIN_OPTIONS to common and use enum for event ID 2023-05-28 23:56:41 +02:00
io_mgr.cpp ADDED: Importers for EasyEDA (JLCEDA) Standard / Professional. 2023-09-07 11:02:40 +03:00
io_mgr.h Provide a callback for supplying file filters just-in-time. 2023-10-28 11:18:17 +01:00
kicad_clipboard.cpp Don't leave deleted items in group 2023-10-23 13:34:53 -07:00
kicad_clipboard.h Rename Save -> SaveBoard, Load -> LoadBoard in PLUGIN. 2023-08-15 05:26:12 +03:00
load_select_footprint.cpp Reconcile "apply defaults to new footprints" with DRC lib checks. 2023-10-02 22:10:13 +01:00
menubar_footprint_editor.cpp Functionally it's a "reference image". 2023-10-24 15:44:21 +01:00
menubar_pcb_editor.cpp Functionally it's a "reference image". 2023-10-24 15:44:21 +01:00
netinfo.h ADDED: Git integration support 2023-10-20 12:51:47 +00:00
netinfo_item.cpp Fix netnames. 2023-01-27 19:35:41 +03:00
netinfo_list.cpp NETINFO_ITEMs are owned by BOARD. 2023-10-04 21:01:33 +01:00
pad.cpp ADDED: Git integration support 2023-10-20 12:51:47 +00:00
pad.h ADDED: Git integration support 2023-10-20 12:51:47 +00:00
pad_custom_shape_functions.cpp ADDED: custom-shaped pad spoke templates. 2023-09-13 23:34:25 +01:00
pcb_base_edit_frame.cpp Fail GAL on its header leaking audit 2023-09-18 19:52:27 -04:00
pcb_base_edit_frame.h Functionally it's a "reference image". 2023-10-24 15:44:21 +01:00
pcb_base_frame.cpp Separate Footprint Editor's sketch modes from PCB Editor's. 2023-10-26 10:59:26 +01:00
pcb_dimension.cpp ADDED: Git integration support 2023-10-20 12:51:47 +00:00
pcb_dimension.h ADDED: Git integration support 2023-10-20 12:51:47 +00:00
pcb_draw_panel_gal.cpp Pcbnew, apparence control: add missing control of layer footprint confict 2023-09-15 10:31:25 +02:00
pcb_draw_panel_gal.h Formatting and warnings cleanup. (No functional changes.) 2023-04-16 15:36:21 +01:00
pcb_edit_frame.cpp Functionally it's a "reference image". 2023-10-24 15:44:21 +01:00
pcb_edit_frame.h Hook up via size & drill constraints to editors. 2023-10-21 19:10:38 +01:00
pcb_field.cpp ADDED: Git integration support 2023-10-20 12:51:47 +00:00
pcb_field.h ADDED: Git integration support 2023-10-20 12:51:47 +00:00
pcb_generator.cpp Add PCB_ACTIONS::regenerateAllTuning.... 2023-10-19 11:20:09 +01:00
pcb_generator.h Add PCB_ACTIONS::regenerateAllTuning.... 2023-10-19 11:20:09 +01:00
pcb_group.cpp Functionally it's a "reference image". 2023-10-24 15:44:21 +01:00
pcb_item_containers.h Introduce PCB_GENERATOR. 2023-10-08 02:41:17 +00:00
pcb_layer_box_selector.cpp Break out the boundary violating parts of gal into common through subclassing 2023-09-23 09:37:47 -04:00
pcb_layer_box_selector.h
pcb_marker.cpp Rename GetSelectMenuText to GetItemDescription 2023-01-11 22:27:44 -05:00
pcb_marker.h ADDED: Git integration support 2023-10-20 12:51:47 +00:00
pcb_origin_transforms.cpp Separate out axes definitions between ModEdit and PCBNew. 2023-10-25 15:01:36 +01:00
pcb_origin_transforms.h
pcb_painter.cpp Separate Footprint Editor's sketch modes from PCB Editor's. 2023-10-26 10:59:26 +01:00
pcb_painter.h Functionally it's a "reference image". 2023-10-24 15:44:21 +01:00
pcb_plot_params.cpp Unwrap the FROM_UTF8 macro in favor of direct function 2023-09-09 00:10:57 -04:00
pcb_plot_params.h ADDED: plot control over FP text. 2023-08-15 16:56:46 +01:00
pcb_plot_params_parser.h
pcb_reference_image.cpp Functionally it's a "reference image". 2023-10-24 15:44:21 +01:00
pcb_reference_image.h Functionally it's a "reference image". 2023-10-24 15:44:21 +01:00
pcb_screen.cpp Yeet the last of wxSize/wxPoint to stop leaking gdicmn everywhere 2023-02-18 22:57:18 -05:00
pcb_shape.cpp Normalize rects higher up. 2023-10-29 11:45:16 +00:00
pcb_shape.h Normalize rects higher up. 2023-10-29 11:45:16 +00:00
pcb_target.cpp ADDED: Git integration support 2023-10-20 12:51:47 +00:00
pcb_target.h ADDED: Git integration support 2023-10-20 12:51:47 +00:00
pcb_text.cpp ADDED: Git integration support 2023-10-20 12:51:47 +00:00
pcb_text.h ADDED: Git integration support 2023-10-20 12:51:47 +00:00
pcb_textbox.cpp ADDED: Git integration support 2023-10-20 12:51:47 +00:00
pcb_textbox.h ADDED: Git integration support 2023-10-20 12:51:47 +00:00
pcb_track.cpp Improve length calculation for vias. 2023-10-28 13:14:21 +01:00
pcb_track.h Improve length calculation for vias. 2023-10-28 13:14:21 +01:00
pcb_view.cpp Regularize RunOnChildren() at the BOARD_ITEM level. 2023-10-14 15:04:18 +01:00
pcb_view.h
pcbexpr_evaluator.cpp Honour custom layer names for Layer_Top and Layer_Bottom. 2023-10-06 21:55:57 +01:00
pcbexpr_evaluator.h More consistent naming. 2023-08-21 15:26:33 +01:00
pcbexpr_functions.cpp Move CORNER_STRATEGY out of SHAPE_POLY_SET. 2023-10-06 15:42:50 +03:00
pcbnew.cpp Separate Footprint Editor's sketch modes from PCB Editor's. 2023-10-26 10:59:26 +01:00
pcbnew.icns
pcbnew_config.cpp NETINFO_ITEMs are owned by BOARD. 2023-10-04 21:01:33 +01:00
pcbnew_config.h Remove obsolete config_params.h includes 2023-09-25 20:40:29 -04:00
pcbnew_doc.icns
pcbnew_id.h Make pad & via teardrops 1st-class citizens (props of the pad/via) 2023-05-19 18:02:03 +01:00
pcbnew_jobs_handler.cpp CLI: Allow controlling layer order for multilayer plots 2023-10-11 00:18:58 +00:00
pcbnew_jobs_handler.h Add --drawing-sheet arg for various cli commands for overriding the project sheet 2023-08-31 19:53:23 -04:00
pcbnew_printout.cpp Fail GAL on its header leaking audit 2023-09-18 19:52:27 -04:00
pcbnew_printout.h Commenting and formatting. No functional changes. 2023-03-13 18:29:55 +00:00
pcbnew_settings.cpp Reconcile "apply defaults to new footprints" with DRC lib checks. 2023-10-02 22:10:13 +01:00
pcbnew_settings.h Reconcile "apply defaults to new footprints" with DRC lib checks. 2023-10-02 22:10:13 +01:00
pcbplot.cpp Add settings for plotting PDF property popups. 2023-04-30 18:10:04 +01:00
pcbplot.h Lazy context handling for SVG plotting. 2023-08-07 14:01:58 +01:00
plot_board_layers.cpp Move CORNER_STRATEGY out of SHAPE_POLY_SET. 2023-10-06 15:42:50 +03:00
plot_brditems_plotter.cpp Don't assume an error location for PAD::GetEffectivePolygon(). 2023-10-13 13:59:26 +01:00
plotcontroller.h Allow plotting of multiple board layers per plot in Python. 2023-02-14 09:49:20 -05:00
plotprint_opts.h Avoid duplicating similar options in print and plot headers 2022-11-12 16:02:24 +01:00
plugin.cpp Move duplicated code of plugin.cpp and sch_plugin.cpp into a new plugin_utils located in commons 2023-10-01 13:58:38 +02:00
project_pcb.cpp On second thought rename PROJECT_PCBNEW to PROJECT_PCB 2023-09-27 23:15:54 -04:00
project_pcb.h On second thought rename PROJECT_PCBNEW to PROJECT_PCB 2023-09-27 23:15:54 -04:00
sel_layer.cpp Add hot key column on layer select dialog 2023-10-04 12:17:15 -04:00
toolbars_footprint_editor.cpp Functionally it's a "reference image". 2023-10-24 15:44:21 +01:00
toolbars_footprint_viewer.cpp Rollback wxChoice -> wxComboBox changes for now. 2023-04-09 23:00:33 +01:00
toolbars_pcb_editor.cpp Functionally it's a "reference image". 2023-10-24 15:44:21 +01:00
tracks_cleaner.cpp Don't assume an error location for PAD::GetEffectivePolygon(). 2023-10-13 13:59:26 +01:00
tracks_cleaner.h
undo_redo.cpp Regularize RunOnChildren() at the BOARD_ITEM level. 2023-10-14 15:04:18 +01:00
zone.cpp ADDED: Git integration support 2023-10-20 12:51:47 +00:00
zone.h ADDED: Git integration support 2023-10-20 12:51:47 +00:00
zone_filler.cpp Don't assume an error location for PAD::GetEffectivePolygon(). 2023-10-13 13:59:26 +01:00
zone_filler.h
zone_settings.cpp Fix build (broken in 90ff331c) 2023-06-10 14:21:10 +02:00
zone_settings.h Pcbnew: do not display the outlines of a very special zone used by DRC 2023-10-13 14:25:49 +02:00
zones.h Zones: use metric defaults and limits instead of mixed units 2023-02-11 07:39:29 -05:00
zones_functions_for_undo_redo.cpp More tightening of group parent lifecycles. 2022-11-16 00:42:38 +00:00
zones_functions_for_undo_redo.h Formatting and a bit of cleanup. 2022-10-21 18:41:39 +01:00