Alex Shvartzkop
337489c77d
Do not reload window sizes when changing 3D viewer settings.
2 years ago
Alex Shvartzkop
1126227206
Add add_choices accepting std::vector to argparse for convenience.
2 years ago
Alex Shvartzkop
991b4299d6
Update argparse.
Otherwise .choices doesn't work properly.
See https://github.com/p-ranav/argparse/issues/307
2 years ago
Alex Shvartzkop
219d0c399d
EasyEDA Pro import: make sure to use UTF-8 for project.json and device.json.
Also catch exceptions.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17248
2 years ago
Wayne Stambaugh
3eb5c52073
Improve zone manager dialog layout.
2 years ago
Jan Wichmann
5cdf9fe8a0
Don't show hidden directories and files in the project tree browser
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16207
2 years ago
Tomasz Wlostowski
9e0cd7e6ee
qa/tools: add PCB_TEST_SELECTION_TOOL to CmakeLists
2 years ago
Tomasz Wlostowski
2280c696d0
wip on resizeable view & adding tabs to pns_debug_tool
2 years ago
Lucas Dumont
13c647ef6f
Fix resources leak reported by coverity
For unique_ptr, release only set the ownership to null, but don't free the resource behind. On the other hand, reset do.
Closes Coverity ID 483269
Closes Coverity ID 471974
Closes Coverity ID 471973
2 years ago
Petri Hodju
c76c4ba304
schematic: do not skip item repaint if item's parent type != SCHEMATIC_T
the item repaint was skipped when unhighlightning symbols after dragging
and unselecting.
Fixes https://gitlab.com/kicad/code/kicad/issues/17193
Fixes https://gitlab.com/kicad/code/kicad/issues/17206
2 years ago
Roberto Fernandez Bautista
4851b0f1ac
Database library cache: fix memory leak
2 years ago
JamesJ
66b378087a
Remove close button from pcbnew search panel
For consistency with the other panels, removes the circular 'x' close
button from the search panel. Toggling visibility remains possible
through the View menu
2 years ago
Marek Roszko
0c8e08ed58
Move some language changes to a event on the frame
2 years ago
jean-pierre charras
0bde79bd6c
PCB_PAINTER: do not draw PCB_SHAPEs on netname layer in FP editor.
Fixes #17250
https://gitlab.com/kicad/code/kicad/-/issues/17250
2 years ago
Wayne Stambaugh
66925ec2a2
Update net navigator when cross probing from board editor net highlight.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16838
2 years ago
Yon Uriarte
fe1c73ed7c
Performance: Cache BOARD::GetMaxClearanceValue
2 years ago
jean-pierre charras
f6cf78fd7c
plot_board_layers.cpp: when plotting pads, Save/restore corner radius ratio
instead of corner radius.
The corner radius comes from corner radius ratio, so saving/restoring the corner
radius can create rounding errors when trying to recalculate the ratio from the radius.
2 years ago
Jon Evans
612c7015a7
REMOVED: Clicking on pin selects symbol setting
This is now redundant with the selection filter
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17114
2 years ago
Jon Evans
c51e9917ba
Fix ordering of selection filter and net navigator
2 years ago
Marek Roszko
585cf841e5
Create a singular point for events like EDA_EVT_UNITS_CHANGED to be exported out of kicommon
2 years ago
Jon Evans
ed18a9bcc2
Correctly handle footprint graphic knockouts for no-net case
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17223
2 years ago
Jon Evans
3a3ceb8ffc
Allow specifying a minimum for a via_count constraint
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17234
2 years ago
Jon Evans
b8f4bef3f8
Set schematic as default screenshot
2 years ago
Jon Evans
fdc16fe60d
Remove project manager from screenshots
It's not very important or visually appealing,
let's just use the editors as the way to represent
KiCad in software centers that show screenshots.
2 years ago
Marek Roszko
46f9a9a005
Make the update check cmake option default for all platforms
2 years ago
Jeff Young
9c371e2ef5
Don't draw the selection if it's not from the current screen.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17132
2 years ago
Roberto Fernandez Bautista
a4929f9c27
Step exporter: handle circles correctly
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17137
2 years ago
Roberto Fernandez Bautista
d458bcad16
kicad_cli fp ugrade: create directory with extension
2 years ago
jean-pierre charras
d81605f4ea
DIALOG_PAD_PROPERTIES: fix a incorrect test to show a warning.
2 years ago
Jeff Young
1082930c34
Don't steal command-keys from a wxGrid.
It's unlikely to win you friends.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17229
2 years ago
jean-pierre charras
428f2087bd
Eeschema: fix crash when editing a old legacy schematic with missing libs,
and trying to edit a dummy symbol. (crash due to a null pointer due to missing lib)
Fixes #17232
https://gitlab.com/kicad/code/kicad/-/issues/17232
2 years ago
Jeff Young
c97c69a2f0
First alt-pin menu item must be fetched from the LIB_PIN.
(The SCH_PIN will return any alt function already assigned.)
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17221
2 years ago
Roberto Fernandez Bautista
43e1b36d4d
SHAPE_LINE_CHAIN: Fix indices rotation after clipper
Also fix IsArcStart and IsArcEnd functions to work with chains that only
have arcs.
2 years ago
Roberto Fernandez Bautista
0d340d0610
SHAPE_LINE_CHAIN: Move .h definitions to .cpp
No functional changes, just allow faster rebuilds
2 years ago
Roberto Fernandez Bautista
8c22f8df31
SHAPE_LINE_CHAIN: Fix/unify constructors
2 years ago
Roberto Fernandez Bautista
5920ee4598
SHAPE_LINE_CHAIN: Add test case of seg+large angle arc
2 years ago
Roberto Fernandez Bautista
4508512343
Sanitise filename before saving footprint library
2 years ago
Roberto Fernandez Bautista
a4a99e3aff
kicad_cli: Allow upgrade of legacy and non-kicad footprint libraries
2 years ago
Roberto Fernandez Bautista
70fe2a8f1e
kicad_cli: Allow upgrade of legacy and non-kicad symbol libraries
2 years ago
Jeff Young
bd1d449cd3
Check for NETINFO_ITEM before dereferencing it.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17230
2 years ago
jean-pierre charras
1ee49cca5e
FOOTPRINT_CHOOSER_FRAME: rework on bottom panel to allow a long string in
the check box for filter by FP names to be displayed without overlapping other
widgets.
2 years ago
Jan Wichmann
1297ddc88d
pcbnew: Added default master pad properties
CHANGED: Automatically selects the right pad type for the footprint type. Resets the pad properties if the master pad properties do not match the pad type.
https://gitlab.com/kicad/code/kicad/-/issues/16563
2 years ago
Yon Uriarte
464f185387
Performance
Cache VIEW_ITEM's bbox in VIEW_TREE for faster removals.
Fixes https://gitlab.com/kicad/code/kicad/issues/16841
2 years ago
Seth Hillbrand
0129191ec0
Limit where the intersection of two lines can be
This avoids generating lines where we are unable to select them because
they get too close to the border
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16959
2 years ago
Jeff Young
8dddd9cc2c
Separate "use board stackup colors" into separate checkbox.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17085
2 years ago
Seth Hillbrand
14667e2033
Don't wait for unused events
We only need the UI update and mouse/keyboard while updating our DRC
window. Waiting for other events gets into a race condition with the
schematic editor that can cause a hang
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17003
2 years ago
Seth Hillbrand
e7d4127f99
Update contributors
2 years ago
Seth Hillbrand
d3334ed9f0
Do not re-number aperture pads
Aperture pads do not have numbers, so reserving space for them will
cause the actual numbered pads to become out of order
2 years ago
jean-pierre charras
005affd473
FOOTPRINT_CHOOSER_FRAME: Fix a UI problem specific to Linux
On the bottom on the frame, some widgets were not correctly placed.
Fixes #17217
https://gitlab.com/kicad/code/kicad/-/issues/17217
2 years ago
Seth Hillbrand
0d03f2febc
When failing to import, ensure extant screen
We need at least the root screen in order to handle any action in
Eeschema. Because this is destroyed by starting to load the new
schematic, when failing, we need to reset to null.
This is not as good as resetting to the previous state but that will
take refactoring our file load routines in schematic editor
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16993
2 years ago