jean-pierre charras
0f40894317
Pcbnew, APPEARANCE_CONTROLS: do not change objects visibility, when changing
...
layers visibility using Preset layers widget.
Fixes #14381
https://gitlab.com/kicad/code/kicad/issues/14381
2023-03-24 15:06:06 +01:00
jean-pierre charras
3915e882a8
Gerbview: Aperture Macro: handle overwriting of variables
...
Gerbview did not handle redefinition of variable like $3 = $3 / 2
This redefinition is sometimes found in Gerber files.
This is a long standing issue now fixed.
From master branch
2023-03-24 12:02:49 +01:00
jean-pierre charras
c5caa23a63
Manager teardrops on arcs. From master branch.
2023-03-24 11:46:11 +01:00
jean-pierre charras
36978d2ddc
Gerber plotter: fix incorrect arcs in regions when using a plot offset.
...
The arc center in Gerber units was incorrectly calculated.
From master
Fixes #14402
https://gitlab.com/kicad/code/kicad/issues/14402
2023-03-24 11:37:26 +01:00
Marek Roszko
3f90c895b9
Prevent crash in color settings due to dropdown weirdness
...
Fixes sentry reported crash KICAD-R6
(cherry picked from commit c65e33ac13
)
2023-03-23 23:47:13 +00:00
Jon Evans
2ada171806
Be more flexible about extracting booleans from database
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/14376
(cherry picked from commit dd8b52af93
)
2023-03-23 01:25:09 +00:00
Marek Roszko
5dc683c968
Fix crash editing footprint editor defaults
...
Missing one level of GetParent()....use a dynamic_cast to sanity check it in debug
Fixes sentry crash KICAD-R4
(cherry picked from commit d49562a7aa
)
2023-03-22 22:41:57 +00:00
Jeff Young
7026cfe140
Split name from additional params only when model is a library reference.
...
(cherry picked from commit b8cf7cc080
)
2023-03-22 14:12:42 +00:00
Jeff Young
b7cd1dd764
Handle single-token flag parameters.
...
Also fixes a bug where all VDMOS instance parameters weren't marked as
instance parameters.
Also fixes a bug where VDMOS thermal models weren't supported (they
have two extra pins: Tj and Tcase).
(cherry picked from commit 5bda3b99f9
)
2023-03-22 14:12:42 +00:00
Jeff Young
09bb8fc4f4
Don't include non-overridden parameters in Sim.Params.
...
Fixes https://gitlab.com/kicad/code/kicad/issues/14369
(cherry picked from commit 9dc16eb014
)
2023-03-22 14:12:42 +00:00
jean-pierre charras
746ab49d36
Ensure 3D shapes are always shown in footprint settings dialog.
...
From master branch
Fixes #14371
https://gitlab.com/kicad/code/kicad/issues/14371
2023-03-22 08:53:42 +01:00
Jeff Young
1614dc975a
Separate legacy model name from parameters.
...
Fixes https://gitlab.com/kicad/code/kicad/issues/13988
(cherry picked from commit 39a801423e
)
2023-03-21 13:31:20 +00:00
Alex
ba7598d90d
Fix clashing error dialogs when can't load dynamic library.
...
(cherry picked from commit 672c468342
)
2023-03-21 09:57:46 +00:00
Alex
92fc4872e8
GTK: Fix settings import paths showing up twice.
...
(cherry picked from commit b89545e484
)
2023-03-21 09:57:28 +00:00
jean-pierre charras
30dbfc33a4
step exporter: fix missing initialization of a member (m_pcbBaseName)
...
EXPORTER_STEP: rename m_pcbName to m_pcbBaseName.
From master.
2023-03-21 09:52:41 +01:00
Mark Roszko
b3de5aa08e
Put the project name back into the step pcb label.
...
Software like Solidworks and other CAD treat STEP labels as unique entries.
When you import multi STEP files into the same project, it'll start deduplicating your design by those name.
So two completely unrelated PCBs with the same "PCB" name will result in one being replaced by another.
2023-03-21 01:18:33 +00:00
Jeff Young
ba4773e448
Orthogonal dimension are always cardinal, even when their start points are not.
...
Fixes https://gitlab.com/kicad/code/kicad/issues/13728
(cherry picked from commit bb2a0f825a
)
2023-03-20 21:32:06 +00:00
Jeff Young
a713ee852c
Ignore extraneous LTSpice parameters for VDMOS models.
...
Also adds special case handling of VDMOS syntax to allow parens (or extra
spaces, linebreaks, etc.) between "VDMOS" and "NCHAN"/"PCHAN".
Fixes https://gitlab.com/kicad/code/kicad/issues/14299
2023-03-20 16:16:13 +00:00
jean-pierre charras
a65accd412
EDA_SHAPE_DESC(): catch a std::runtime_error when emitted by
...
template<typename T> T Get( PROPERTY_BASE* aProperty ) to avoid a crash,
and displays in Debug mode the runtime error message.
From master branch.
Fixes #14347
https://gitlab.com/kicad/code/kicad/issues/14347
2023-03-20 16:21:54 +01:00
Jeff Young
1dc9583e06
Don't attempt to load unknown plot types.
2023-03-20 10:24:22 +00:00
Jeff Young
3afe02ac1f
Make sure legend reflects gain/phase for AC small signal analyses.
...
Fixes https://gitlab.com/kicad/code/kicad/issues/14301
(cherry picked from commit ec6d709929
)
2023-03-20 10:24:22 +00:00
Jeff Young
57aa61f1ba
Formatting. (No functional changes.)
...
(cherry picked from commit 6f44b85c13
)
2023-03-20 09:59:30 +00:00
Jeff Young
121ea14fe4
Filter Selected Items... is inclusive, not exclusive.
...
Fixes https://gitlab.com/kicad/code/kicad/issues/14273
(cherry picked from commit 897984aa22
)
2023-03-19 21:31:08 +00:00
Jeff Young
9d457dc0ab
Less nagging. (If we need a field name, then create one.)
...
Also cleans up empty fields when exiting the dialog.
2023-03-19 19:15:28 +00:00
Jeff Young
befd836ab4
Clean up items which weren't pasted from clipboard.
...
Fixes https://gitlab.com/kicad/code/kicad/issues/14335
(cherry picked from commit ad5d3d4eba
)
2023-03-18 23:38:09 +00:00
Jeff Young
044c301d64
Remove accelerator keys from schematic find/replace dialog.
...
Fixes https://gitlab.com/kicad/code/kicad/issues/14304
(cherry picked from commit afe813cae5
)
2023-03-18 23:38:09 +00:00
jean-pierre charras
94fd0df2e2
BOARD_NETLIST_UPDATER: add missing count of warnings
...
From master branch
Fixes #14290
https://gitlab.com/kicad/code/kicad/issues/14290
2023-03-18 17:57:07 +01:00
Salvador E. Tropea
e5087ca3db
Load the global fp-lib-table before running the Python DRC
...
Without this we get parity errors for all the KiCad footprints
2023-03-17 21:00:41 +00:00
jean-pierre charras
819a9da599
Pcbnew: fix crash when loading a library with a ft containing a dimension.
...
(crash due to the use of a null pointer during loading)
(cherry picked from commit 5735a57504
)
2023-03-17 16:00:34 +00:00
Jeff Young
fb02e55424
Don't pass a REPORTER when checking for overrides.
...
It fails the unit tests (as it generates a message whenever no override
is found).
2023-03-17 15:30:24 +00:00
Jeff Young
70e86434ef
Manual cherry-pick of much of 6d296038f3
2023-03-17 14:12:58 +00:00
Jeff Young
c41b1e2f06
Manual cherry-pick of bug fix part of ee1d9c561c
.
2023-03-17 13:35:23 +00:00
Jeff Young
64641c28ef
Handle underscore in parameter names.
...
Fixes https://gitlab.com/kicad/code/kicad/issues/14308
(cherry picked from commit 222cd4d009
)
2023-03-16 23:51:56 +00:00
jean-pierre charras
69e9f4ada2
DIALOG_LABEL_PROPERTIES, add global label: better filtering of candidates.
...
The list of candidates (names) must be restricted to existing global labels
and symbols creating a global net name: power symbols having only one power
input pin (a power output does not create net name).
Fixes #14319
https://gitlab.com/kicad/code/kicad/issues/14319
2023-03-16 16:01:18 +01:00
Wayne Stambaugh
d28cf632e4
Coverity fixes and code cleaning.
...
(cherry picked from commit a1fb8e1b1d
)
2023-03-16 10:59:05 -04:00
Alex
b466bfa6c8
Improve anti-overflow in SEG::intersects.
...
Caused issues when testing against
A=( -INT_MAX, ... ), B=( INT_MAX, ... ) segments.
Fixes https://gitlab.com/kicad/code/kicad/issues/14293
(cherry picked from commit 98e635869f
)
2023-03-16 02:50:22 +00:00
Alex
1c06f4cf06
Don't create 0-length tracks when placing via in the middle of a track.
...
(cherry picked from commit 8fe78101db
)
2023-03-16 02:49:54 +00:00
jean-pierre charras
25f40566ed
Symbol editor: fix incorrect position of fields when loading a symbol from schematic.
...
In symbol editor, symbols are always shown not mirrored, not rotated.
So if the loaded symbol from schematic was rotated/mirrored, the position
of fields must be recalculated for the rotation 0, no mirror.
From master branch
2023-03-15 18:03:11 +01:00
Marco Ciampa
e8fa2cbc4d
Small fix in Italian translation
2023-03-15 13:35:38 +01:00
Marco Ciampa
779c441e0a
Small fix in Italian translation
2023-03-15 13:31:29 +01:00
Marco Ciampa
e33031ee7d
Updated Italian translation
2023-03-15 10:18:07 +01:00
jean-pierre charras
ae63313b55
PDF plotter: encode the letters ( and ) in strings with context CTX_JS_STR
...
They are separators and cannot be used in user strings.
Fixes #14302
https://gitlab.com/kicad/code/kicad/issues/14302
2023-03-15 09:36:01 +01:00
jean-pierre charras
ae50b8d839
make QA link-able on msys2 (from master branch).
2023-03-14 18:05:18 +01:00
Jeff Young
10a27156c2
Defenses in depth for ratsnest drawing.
...
(cherry picked from commit e60837ec95
)
2023-03-14 12:00:03 +00:00
Jeff Young
94057886a3
Support SHEET_PATH when printing.
...
Fixes https://gitlab.com/kicad/code/kicad/issues/14233
(cherry picked from commit dc78797274
)
2023-03-14 11:56:33 +00:00
Jeff Young
2d9bcb6e4f
Select correct face from a .ttc file.
...
Fixes https://gitlab.com/kicad/code/kicad/issues/13314
(cherry picked from commit 7b3e01ce52
)
2023-03-14 11:56:33 +00:00
Jeff Young
249bcd9e1a
Update dimension units when opening PCBs in CLI.
...
Fixes https://gitlab.com/kicad/code/kicad/issues/14170
(cherry picked from commit a0adb59437
)
2023-03-14 11:56:33 +00:00
Jeff Young
b2679b7648
Swap pins for undo.
...
Fixes https://gitlab.com/kicad/code/kicad/issues/14100
(cherry picked from commit c266913ec7
)
2023-03-14 11:56:33 +00:00
Seth Hillbrand
9995b8714b
Check for dirtied items in the cluster
...
When drawing the ratsnest, we need to be careful to avoid accessing
CONN_ITEMs that have been changed by the underlying model. Checking for
dirty items instead of valid items will prevent us looking at data that
are out of date
Fixes https://gitlab.com/kicad/code/kicad/issues/14265
(cherry picked from commit 283770fc45
)
2023-03-13 16:11:27 -07:00
jean-pierre charras
7b4dd2f7f5
DIALOG_BOARD_REANNOTATE: ensure indexes are not out of bound.
2023-03-13 20:25:54 +01:00