Marek Roszko
63220e5adc
Rename myframe to m_frame in gerbview_layer_widget
2021-06-06 19:05:12 -04:00
Marek Roszko
ea2fe4e76c
pgm_base doesnt need to be shared to all of gerbview
2021-06-06 19:05:12 -04:00
Marek Roszko
33bbf85a3e
Use the parent frame GetSettings helper rather than including for Pgm()
2021-06-06 19:05:12 -04:00
Jon Evans
6789dac20b
PNS: Keep most recent good placement around for a rainy day
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/8562
2021-06-06 18:56:33 -04:00
Jon Evans
e42f4a8f70
Fix build of PNS log viewer after header changes
2021-06-06 16:07:38 -04:00
Jon Evans
c9bc45f7ed
PNS: Limit the maximum walkaround distance factor
...
The constant chosen is somewhat arbitrary and may need
further tuning or a more complex algorithm, but in general
this will prevent churning when solutions can't be found or
a solution can be found but it is unrealistic (going around
the entire board)
Fixes https://gitlab.com/kicad/code/kicad/-/issues/8558
2021-06-06 16:03:03 -04:00
Jon Evans
d32b9c1c25
Use debug group for line placer debug
2021-06-06 15:44:53 -04:00
Jon Evans
f5185f6927
Revert part of the anti-churn change, it causes bad side-effects
...
Further performance tuning could be useful but the part that
remains helps the most when hugging in large designs
2021-06-06 15:44:53 -04:00
Marek Roszko
df10067bc2
Fix DRC qa build
2021-06-06 15:33:45 -04:00
Marek Roszko
66640f6144
Try and fix fedora build
2021-06-06 15:30:42 -04:00
Marek Roszko
8377ebb0e1
Fix msvc warnings
2021-06-06 15:30:31 -04:00
Marek Roszko
10e60acf34
Clean up including of board_design_settings.h
2021-06-06 15:03:42 -04:00
Marek Roszko
e4530fcf0d
PCB_MARKER does not need pcb_base_frame
2021-06-06 15:03:42 -04:00
Jon Evans
5349f47f95
PNS: Prevent walkaround churn in unsolvable situations
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/8558
2021-06-06 14:57:52 -04:00
Jon Evans
3475d0cebd
PNS: Grab start item based on clearance if no direct hits found
...
Fixes annoying "routing start point violates DRC" messages when
entering the router from the hotkey and not directly over a track.
2021-06-06 14:57:52 -04:00
Jeff Young
f02d7ee593
Fix some (unexplained) issues with wxString::Printf on my build.
2021-06-06 19:01:23 +01:00
Ian McInerney
dc27079b71
cleanup tool event and tool action includes
2021-06-06 18:26:26 +01:00
Ian McInerney
425331b655
Explictly copy TOOL_EVENT_LIST in the copy constructor
2021-06-06 18:25:17 +01:00
Jeff Young
0d7e48d5b1
Coverity fix.
2021-06-06 17:57:46 +01:00
Jon Evans
17da050e69
Improve walkaround results when last point is inside the hull
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/8563
2021-06-06 12:55:32 -04:00
Ian McInerney
e29b61ccc1
Fix build error with selection class
2021-06-06 17:26:12 +01:00
Marek Roszko
527bda5d58
Split out selection.cpp to reduce header sharing
...
selection.h is included into 782 compilation units....
2021-06-06 11:09:07 -04:00
Marek Roszko
38e3b7eacd
We don't need eda_item in unit_binder.h
2021-06-06 11:09:07 -04:00
Marek Roszko
fcb21038cb
Reduce some eda_item.h usage in headers
2021-06-06 11:09:06 -04:00
Marek Roszko
ad111a513d
Remove eda_itemf rom sch_view.h
2021-06-06 11:09:06 -04:00
Dominik Sliwa
3d45e8dccc
Fix macos build
2021-06-06 14:37:39 +00:00
Michal Schulz
f923649801
If NSError contains recovery suggestion string, append it to error message as it was until now. However, if recovery string is NIL, do not append it at all.
...
This MR fixes the "error message\n\n(null)".
2021-06-06 14:24:08 +00:00
jean-pierre charras
2078483f50
Fix incorrect test of wxUSE_GLCANVAS_EGL (Linux).
...
in wxWidgets 3.1.5 wxUSE_GLCANVAS_EGL is always defined (set to 0 or to 1)
So using "ifdef wxUSE_GLCANVAS_EGL" is incorrect.
2021-06-06 16:10:35 +02:00
Jon Evans
be61bf29dd
Use more accurate hull shapes for round solids
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/8561
2021-06-06 09:53:51 -04:00
Marek Roszko
6b1dfca0ba
Silence the msvc warning about double to int conversion
2021-06-06 09:45:03 -04:00
Marek Roszko
82e306bec3
Remove wx/wx.h from idf_helpers.h
2021-06-06 09:37:29 -04:00
Marek Roszko
c337f747b8
DIALOG_PIN_PROPERTIES does not need wx/msgdlg
2021-06-06 09:36:04 -04:00
Marek Roszko
fc3cea2cca
Remove wx/xml/xml.h from sch_eagle_plugin.h
2021-06-06 09:34:57 -04:00
Marek Roszko
dc28a91e16
Remove wx includes in x3d.h
2021-06-06 09:33:51 -04:00
Marek Roszko
7fa6e13c48
Remove xnode.h from netlist_exporter_xml.h
2021-06-06 09:32:36 -04:00
Marek Roszko
e234e4dc8b
Remove wx/log.h from vertex_manager.h
2021-06-06 09:31:00 -04:00
Marek Roszko
581ba21865
Remove wx includes out of cadstar_archive_loader.h
2021-06-06 09:28:02 -04:00
Marek Roszko
b610b905fc
Cleanup track.h includes
2021-06-06 09:06:55 -04:00
Jon Evans
3b7480c1c1
PNS: Invalidate start/end items after finishing a route
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/8555
2021-06-06 08:52:39 -04:00
Marek Roszko
2d584ca5ec
board_item.h already included via board_connected_item.h
2021-06-06 08:47:59 -04:00
Marek Roszko
17d680de08
netinfo.h does not need to be in board_connected_item.h
2021-06-06 08:45:38 -04:00
Marek Roszko
4712d7a918
Remove a leaky wx/msgdlg.h include
2021-06-06 08:45:38 -04:00
Marek Roszko
e6c09b55a9
Remove unnecessary reporter.h include
2021-06-06 08:45:38 -04:00
Jon Evans
eaf178cd2a
Fix load of nested settings
2021-06-06 08:39:02 -04:00
Marek Roszko
dd9b8a9f73
Remove pcbnew.h includes in headers
2021-06-06 08:25:28 -04:00
Jon Evans
28909c1a72
Maybe fix arch build
2021-06-05 22:10:23 -04:00
Jon Evans
c9a660a80c
Rework JSON integration to speed up build
2021-06-05 17:08:38 -04:00
jean-pierre charras
42394b16a3
French translation update
2021-06-05 17:33:25 +02:00
Johannes Maibaum
06e967354f
Fix symlink read-/write-through code
...
Use `realpath(3)` instead of `readlink(3)`, which offers support for
relative and absolute symlinks alike, since all symbolic links will be
resolved to the absolute path of the linked-to file.
Fixes #8082
2021-06-05 14:22:50 +00:00
Jeff Young
adea5842da
Use platform terminology (and heuristics) for Delete.
...
(Platforms no longer ask for confirmation when using the Trash.)
Fixes https://gitlab.com/kicad/code/kicad/issues/8513
2021-06-05 15:04:11 +01:00