Armin Schoisswohl
d1867bd728
protect cache lookups in pcbnew/zone by locking the mutex before calling find, fix #17237
2024-03-07 12:13:42 +00:00
Mike Williams
1b5e18d95f
schematic: legacy kicad schematic files don't have a default description field
...
Without this, we would parse a legacy schematic symbol field at the same
index as the new description field's index into description, instead of into
a user field.
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/17202
2024-03-06 11:03:00 -05:00
Jeff Young
b57184efe0
Apply anti-walk algorithm only to textboxes.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16481
(cherry picked from commit 20efeef5ae
)
2024-03-06 13:53:09 +00:00
jean-pierre charras
8a66a7eab0
PROPERTIES_FRAME: fixes a focus issue (perhaps Windows specific).
...
From master branch
2024-03-06 13:09:28 +01:00
jean-pierre charras
e769fdfab0
Pcbnew: do not select a PCB_REFERENCE_IMAGE if the LAYER_DRAW_BITMAPS is not visible.
...
LAYER_DRAW_BITMAPS layer controls transparency and visibility of images on the board.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16283
2024-03-06 13:08:07 +01:00
Jon Evans
31ae825b9d
Prevent use-after-free of symbol screens
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17204
(cherry picked from commit 1600d8bead
)
2024-03-06 03:54:14 +00:00
Jon Evans
98d26e77c9
Update a few more list/tree views for macOS
...
(cherry picked from commit 1988aac2b3
)
2024-03-05 13:39:39 +00:00
Jon Evans
03120161d3
Fix macOS tree icons
...
Now that we have backported HiDPI support,
we need to actually use it because the old
imagelist functions are explicitly not going
to work on HiDPI systems anymore
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17265
(cherry picked from commit 34a6e605de
)
2024-03-05 13:03:42 +00:00
Marek Roszko
ec7abb7bff
Fix update notification to use majorminorpatch
...
(cherry picked from commit 7933dee274
)
2024-03-05 01:13:41 +00:00
Wayne Stambaugh
fa2ccdd083
Tag stable version 8.0.1 release candidate 1.
2024-03-03 17:08:06 -05:00
Alex Shvartzkop
4096c073b7
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
(cherry picked from commit 219d0c399d
)
2024-03-03 21:51:32 +03:00
Alex Shvartzkop
2ad3ccc4d8
Use 64-bit type to represent microseconds.
...
int and long are 32-bit on Windows, causing overflows.
(cherry picked from commit 85b1978408
)
2024-03-03 21:47:23 +03:00
Alex Shvartzkop
3bab589405
Do not reload window sizes when changing 3D viewer settings.
...
(cherry picked from commit 337489c77d
)
2024-03-03 21:47:23 +03:00
Alex Shvartzkop
fab52bd95a
Add add_choices accepting std::vector to argparse for convenience.
...
(cherry picked from commit 1126227206
)
2024-03-03 21:47:23 +03:00
Alex Shvartzkop
27e4b2276b
Update argparse.
...
Otherwise .choices doesn't work properly.
See https://github.com/p-ranav/argparse/issues/307
(cherry picked from commit 991b4299d6
)
2024-03-03 21:47:23 +03:00
Jan Wichmann
64f8310a94
Don't show hidden directories and files in the project tree browser
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16207
(cherry picked from commit 5cdf9fe8a0
)
4b9fffa3 Don't show hidden directories and hidden files in the Project tree browser
c433874c Changed file name conversation to utf16
aeba54ba Moved os-specific function to lib KIPLATFORM::IO
561709ac Implemented KIPLATFORM::IO::IsFileHidden for all plattforms
2024-03-03 16:47:38 +00:00
jean-pierre charras
e765de6b3d
PCB_PAINTER: do not draw PCB_SHAPEs on netname layer in FP editor.
...
Fixes #17250
https://gitlab.com/kicad/code/kicad/-/issues/17250
2024-03-03 17:02:19 +01:00
Wayne Stambaugh
742529da26
Update net navigator when cross probing from board editor net highlight.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16838
(cherry picked from commit 66925ec2a2
)
2024-03-03 08:57:54 -05:00
jean-pierre charras
b728eae651
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.
2024-03-03 11:58:11 +01:00
jean-pierre charras
676e70ec18
French translation update
2024-03-03 08:32:51 +01:00
Jon Evans
13fabb0564
Correctly handle footprint graphic knockouts for no-net case
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17223
(cherry picked from commit ed18a9bcc2
)
2024-03-02 20:39:56 +00:00
Jon Evans
4dc4b2bd51
Set schematic as default screenshot
...
(cherry picked from commit b8f4bef3f8
)
2024-03-02 20:07:26 +00:00
Jon Evans
32e6f424ec
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.
(cherry picked from commit fdc16fe60d
)
2024-03-02 20:07:15 +00:00
Marek Roszko
3890278505
Make the update check cmake option default for all platforms
...
(cherry picked from commit 46f9a9a005
)
2024-03-02 19:18:07 +00:00
Jeff Young
1664e02fa6
Don't draw the selection if it's not from the current screen.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17132
2024-03-02 18:56:57 +00:00
Roberto Fernandez Bautista
63ffca0173
Step exporter: handle circles correctly
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17137
2024-03-02 19:11:14 +01:00
Roberto Fernandez Bautista
ff4b59afeb
kicad_cli fp ugrade: create directory with extension
2024-03-02 18:22:18 +01:00
Roberto Fernandez Bautista
64382a85fa
SHAPE_LINE_CHAIN: Fix indices rotation after clipper
...
Also fix IsArcStart and IsArcEnd functions to work with chains that only
have arcs.
2024-03-02 18:22:18 +01:00
Roberto Fernandez Bautista
4c51391cf6
SHAPE_LINE_CHAIN: Move .h definitions to .cpp
...
No functional changes, just allow faster rebuilds
2024-03-02 18:22:18 +01:00
Roberto Fernandez Bautista
5add7a0ca0
SHAPE_LINE_CHAIN: Fix/unify constructors
2024-03-02 18:22:18 +01:00
Roberto Fernandez Bautista
8340779f5b
SHAPE_LINE_CHAIN: Add test case of seg+large angle arc
2024-03-02 18:22:18 +01:00
Roberto Fernandez Bautista
01cc91850c
Sanitise filename before saving footprint library
2024-03-02 18:22:18 +01:00
Roberto Fernandez Bautista
091f9c82e1
kicad_cli: Allow upgrade of legacy and non-kicad footprint libraries
2024-03-02 18:22:18 +01:00
Roberto Fernandez Bautista
f7ddd211d9
kicad_cli: Allow upgrade of legacy and non-kicad symbol libraries
2024-03-02 18:22:18 +01:00
Jeff Young
8dce6c0b67
Don't steal command-keys from a wxGrid.
...
It's unlikely to win you friends.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17229
(cherry picked from commit 1082930c34
)
2024-03-02 15:29:00 +00:00
jean-pierre charras
655cee523b
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)
From master branch
Fixes #17232
https://gitlab.com/kicad/code/kicad/-/issues/17232
2024-03-02 15:32:37 +01:00
Jeff Young
fa4d759fcb
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
2024-03-02 12:16:33 +00:00
jean-pierre charras
25b033df2a
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.
2024-03-02 12:51:16 +01:00
Jeff Young
a0905ac87d
Check for NETINFO_ITEM before dereferencing it.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17230
(cherry picked from commit bd1d449cd3
)
2024-03-02 11:37:58 +00:00
Yon Uriarte
3d67ab72c6
Performance
...
Cache VIEW_ITEM's bbox in VIEW_TREE for faster removals.
Fixes https://gitlab.com/kicad/code/kicad/issues/16841
(cherry picked from commit 464f185387
)
2024-03-02 00:06:24 +00:00
Seth Hillbrand
ecb0c9b5d4
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
(cherry picked from commit 0129191ec0
)
2024-03-01 15:57:45 -08:00
Jeff Young
53d8e2c8c3
Separate "use board stackup colors" into separate checkbox.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17085
(cherry picked from commit 8dddd9cc2c
)
2024-03-01 23:45:37 +00:00
Seth Hillbrand
22f66fdf2f
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
(cherry picked from commit 14667e2033
)
2024-03-01 15:22:48 -08:00
Seth Hillbrand
a7c09964ba
Update contributors
...
(cherry picked from commit e7d4127f99
)
2024-03-01 13:46:14 -08:00
Seth Hillbrand
1e03266dfe
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
(cherry picked from commit d3334ed9f0
)
2024-03-01 13:04:47 -08:00
jean-pierre charras
09f32d8c86
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
2024-03-01 20:08:49 +01:00
Alex Shvartzkop
67208df602
Improve 3D appearance manager preset compare.
...
(cherry picked from commit 656821b282
)
2024-02-29 19:13:12 +00:00
Jeff Young
8047eed6f8
The ruler tool is not part of InteractiveEdit.
...
(In particular, it should not return true to IsEditorTool().)
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17164
2024-02-29 17:56:25 +00:00
Jeff Young
dafd62ddba
Unflip when going to viewport which isn't flipped.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/13773
(cherry picked from commit c23550dc0b
)
2024-02-29 17:38:32 +00:00
Jeff Young
41f9baf9dc
Cleanup.
2024-02-29 17:38:18 +00:00