Wayne Stambaugh
9ebabb222c
Pass objects by reference instead of on the stack.
4 years ago
Jeff Young
b00d01dcc4
Don't infer two projects when we find both .kicad_pro and .pro.
Also makes the terminology around folder/directory consistent in
the error messages and dialogs.
Fixes https://gitlab.com/kicad/code/kicad/issues/8481
4 years ago
Jon Evans
75ce97e260
Fix the last cause of duplicate segments when completing a route
Fixes https://gitlab.com/kicad/code/kicad/-/issues/6863
4 years ago
Marek Roszko
ab82b01714
Evict the last bits of wx.h
4 years ago
Jon Evans
ad6256bdca
Fix linux/wx3.0 build
4 years ago
Marek Roszko
0e16db0c25
Kick wx.h mostly out of common
4 years ago
Marek Roszko
3a129a623a
Kick wx.h out of eeschema
4 years ago
Marek Roszko
f9769dba13
Kick wx.h out of gerbview
4 years ago
Marek Roszko
9268340dcc
Kick wx.h out of pcbnew
4 years ago
Marek Roszko
551ddee29e
Kick wx.h out of pcb_calculator src
4 years ago
Jeff Young
97a2c4094b
Don't label free pads with connections as '*'.
Fixes https://gitlab.com/kicad/code/kicad/issues/8385
4 years ago
Jeff Young
3d32c096ab
Fix some problematic double-quotes.
4 years ago
Marek Roszko
ca9b719af3
Add missing headers for linux post wx.h removal
4 years ago
Marek Roszko
69d7a23e1c
Start cleaning out wx/wx.h in cpp files
4 years ago
Marek Roszko
8f2819cfa4
Kill the last of wx/wx.h in headers
4 years ago
Johannes Maibaum
022dd6072c
Add utility method to resolve symlinks
The same logic block to resolve possible symlinks exists in 5 different
places now. This change moves this duplicated code to a static member
function of WX_FILENAME instead.
4 years ago
Johannes Maibaum
542c02046b
Write through symlinks for schematics and PCBs
4 years ago
Seth Hillbrand
891e200fc8
Use Python to test for modules (not CPython)
CPython call requires Python 3.8+, so we work around to keep the 3.6
users happy
Fixes https://gitlab.com/kicad/code/kicad/issues/8554
4 years ago
Seth Hillbrand
d4edc70f65
Remove magic numbers where possible
Constant scales will be pre-calculated during compilation, so we can
leave the actual formula in place without penalty
4 years ago
Sylwester Kocjan
b0e6bbb39c
eeschema: remove m_simCommand from SIM_WORKBOOK
4 years ago
Sylwester Kocjan
917e329bdf
eeschema: remove TRACE_DESC from SIM_WORKBOOK
4 years ago
Jeff Young
3ff670d2a4
Disable ACTIONS::openPreferences for now.
wxWidgets needs to move the item to the KiCad menu on Mac, and it
can only find it if it has the id wxID_PREFERENCES.
4 years ago
Jeff Young
e91721cb62
Minor cleanup.
4 years ago
Wayne Stambaugh
08e8b17029
Minor plotter code improvements.
4 years ago
Seth Hillbrand
4c293e0936
Clarify AA options
Moves the OpenGL AA options to the same Fast/Balanced/HQ options as used
in Fallback. Fast and Balanced are the SMAA options, with decreasing
threshholds and more processing in the balanced version. HQ is
supersampling x2. This takes more memory and may not work for HiDPI
screens with underpowered graphics cards. But it looks the best of the
three options.
The SSx4 option is removed as it added little benefit in either regular
or HiDPI screens
Fixes https://gitlab.com/kicad/code/kicad/issues/5196
4 years ago
Seth Hillbrand
0a31e2d4fd
Tweak AA settings for fast/balanced SMAA
4 years ago
Jon Evans
b345d97954
Patch out FindPythonInterp to hopefully fix Ubuntu build
This is a bit of a hacky solution but in theory should work ok.
There was discussion of bringing in FindPython3 from upstream
CMake, which we could also do if someone is motivated...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/8553
4 years ago
jean-pierre charras
6cfc2755ed
Remove a useless "#include wx/wx.h" from wx_html_report_panel.h
4 years ago
Mark Roszko
92c4596252
Fix cov-analysis not being updated in CI
md5sum returns 0 for match, 1 for failure, the original was not running on failure at all
4 years ago
Jon Evans
49c5130123
PNS: Implement final cleanup pass for redundant colinear segs
Fixes https://gitlab.com/kicad/code/kicad/-/issues/6863
4 years ago
Jon Evans
83080b67f5
Fix build on wx 3.0
4 years ago
Jon Evans
3c6b98a0d5
PNS: preserve auto-detected track width when changing via sizes
Fixes https://gitlab.com/kicad/code/kicad/-/issues/8046
4 years ago
Jon Evans
99710aba48
PNS: use slightly less greedy algo to reset the mouse trail
4 years ago
Marek Roszko
0bc0f2265e
dialog_board_statistics.h shouldn't leak confirm.h
4 years ago
Marek Roszko
3ae4aa493f
cadstar_archive_parser.h doesn't need dsnlexer.h
4 years ago
Jon Evans
6cb8154ec0
PNS: Remove code that broke width changes during placement
Fixes https://gitlab.com/kicad/code/kicad/-/issues/8334
4 years ago
Marek Roszko
5bb6f8c5e3
hashtables.h doesn't need eda_item.h
4 years ago
Marek Roszko
4a1126c5e0
DIALOG_SHIM doesn't use hashtables.h
4 years ago
Marek Roszko
63220e5adc
Rename myframe to m_frame in gerbview_layer_widget
4 years ago
Marek Roszko
ea2fe4e76c
pgm_base doesnt need to be shared to all of gerbview
4 years ago
Marek Roszko
33bbf85a3e
Use the parent frame GetSettings helper rather than including for Pgm()
4 years ago
Jon Evans
6789dac20b
PNS: Keep most recent good placement around for a rainy day
Fixes https://gitlab.com/kicad/code/kicad/-/issues/8562
4 years ago
Jon Evans
e42f4a8f70
Fix build of PNS log viewer after header changes
4 years ago
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
4 years ago
Jon Evans
d32b9c1c25
Use debug group for line placer debug
4 years ago
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
4 years ago
Marek Roszko
df10067bc2
Fix DRC qa build
4 years ago
Marek Roszko
66640f6144
Try and fix fedora build
4 years ago
Marek Roszko
8377ebb0e1
Fix msvc warnings
4 years ago
Marek Roszko
10e60acf34
Clean up including of board_design_settings.h
4 years ago