jean-pierre charras
3e59c40283
symbol editor: allows rotation of fields in derived symbols.
...
Fields in derived symbols are editable, so the context menu must allow rotations.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/18003
2024-06-03 20:35:36 +02:00
Jeff Young
412da66cf6
Make sure ERC pin-to-pin checks are always in same order.
...
Comparing U1.pin1 : U2.pin1 will return the same
results as U2.pin1 : U1.pin1, but will result in a
different serialization of any exclusions.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17004
(cherry picked from commit 11193d2cda
)
2024-06-03 18:49:39 +01:00
Jeff Young
9721559005
Push multi-sweep traces down into MathPlot.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17215
(cherry picked from commit edae328ca6
)
2024-06-03 18:29:37 +01:00
John Beard
dc08cf3252
Eeschema: Also make 'note' backgrounds translucent on selection
...
For the same reason as device backgrounds - it obscures everything
else while moving a filled shape.
(cherry pick of commit 0bcd5e5795
)
2024-05-23 16:52:30 +08:00
John Beard
e20a11cbb3
Eeschema: Fix selection of items inside filled shapes
...
The selection heuristic broke down when one item was a filled
shape. Because all hit tests would succeed with distance 0 for
these shapes, they would always be considered the closest item
to the exclusion of all else, which made it very hard to
click on a graphic inside a filled shape.
Now, recognise when an item would be "dominating" and
decline to promote it to the "closet" spot. It will still
be selectable if there are no other items nearby, or if
there are multiple shapes.
(cherry picked from commit fd4c15517f
)
2024-05-23 15:41:28 +08:00
Roberto Fernandez Bautista
3e5ceaa319
kicad-cli sym export svg: Ensure bounding box is correctly calculated
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/18062
2024-05-21 21:59:38 +02:00
Alex Shvartzkop
6dfd417767
Make IBIS errors visible / more obvious.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/18041
2024-05-19 01:44:16 +03:00
Jeff Young
882ff06e24
More PEGTL tomfoolery.
...
(cherry picked from commit 8aaca0509c
)
2024-05-17 11:25:26 +01:00
Jeff Young
f52a51dce3
Reimplement bracedExpr and token lists for CPL models only.
...
This prevents the incompatibility between token lists
and single-token param-value pairs.
(cherry picked from commit 086e609c3d
)
2024-05-17 11:25:22 +01:00
Jeff Young
a96e16b766
Tighter control over braced-expression list separators.
...
(cherry picked from commit 2921d47fb3
)
2024-05-17 11:25:19 +01:00
Jeff Young
81e51b00ca
Remove support for multiple token values for CPL models.
...
It breaks param lists which contain single-token params
(ie: those without the "=<value>" part).
(cherry picked from commit 8bb807f170
)
2024-05-17 11:25:15 +01:00
Jeff Young
c01681a32e
Repair variable resolution recursion guard.
...
(cherry picked from commit c8d1c1f1a4
)
2024-05-17 11:24:37 +01:00
Jeff Young
eeb9133588
Support multiple brace-expressions for CPL model lines.
...
(Nested brace-expressions, on the other hand, are *not*
an ngspice thing.)
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17824
(cherry picked from commit 0008991f02
)
2024-05-17 11:24:21 +01:00
Jeff Young
d45769e508
Allow .ends to be preceeded by whitespace.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16560
(cherry picked from commit b934914c59
)
2024-05-17 11:21:47 +01:00
Jeff Young
341f102d79
Fix PEGTL flagParam grammar.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16393
(cherry picked from commit c5162f5483
)
2024-05-17 11:20:26 +01:00
Jon Evans
1defa3872e
Clear field listener when quitting
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/18016
(cherry picked from commit 2836025402
)
Co-authored-by: Jon Evans <jon@craftyjon.com>
2024-05-17 00:50:48 +00:00
jean-pierre charras
e66d25b6e8
Eeschema, Pin helpers: fix wrong label orientation if the symbol is rotated
...
From Master branch
Fixes https://gitlab.com/kicad/code/kicad/-/issues/18012
2024-05-16 19:53:23 +02:00
John Beard
c3e7509823
Allow to set LIB_FIELD size through property manager
...
This can be useful when managing auxiliary fields.
This is only for the 8.0 branch, as LIB_FIELD is merged
with SCH_FIELD in 8.99, so this is already handled.
2024-05-16 20:45:26 +08:00
Jeff Young
9000cfb9cd
Use display titles for axes in CSV output.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17324
(cherry picked from commit d9a6b2aec2
)
2024-05-15 11:23:52 +01:00
Jeff Young
79443b7e59
Update signals & measurements when netlist might have changed.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17616
(cherry picked from commit 55b2c4dbf4
)
2024-05-15 11:22:08 +01:00
Jeff Young
9c7fb0697c
Don't double up ac and ph params.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17970
2024-05-09 23:36:32 +01:00
Jeff Young
c92b11900b
Don't add duplicate SIM fields.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17970
2024-05-09 23:36:32 +01:00
Jeff Young
cde18d7ae7
The user can cancel the opening of many editors.
...
Don't play dice with the devil.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17989
(cherry picked from commit a99377c1ec
)
2024-05-09 23:36:32 +01:00
Alex Shvartzkop
eb7e781bec
Send project path to ngspice for code model input files.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16527
2024-05-08 23:39:34 +03:00
Seth Hillbrand
6482a322da
Optionally use electrical type when shown.
...
We also need to consider electrical type as an exact hit when we are
showing it. Otherwise, we get the pin added to our consideration list
but not selected without hitting close neighbors
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16183
(cherry picked from commit 3620887a22
)
2024-05-06 10:38:28 -07:00
Mike Williams
7b19fb0c8d
Legacy Libraries: fix Description field clobbering user field
...
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/17943
2024-05-06 12:15:14 -04:00
Mike Williams
1f88d33c81
BOM Export: remember filename per project
...
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/17704
(cherry picked from commit 9c058503d9
)
2024-05-06 11:38:15 +01:00
Jeff Young
7e5dd02ef1
Don't abort on failure to backup file if it was never saved.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17810
(cherry picked from commit 0e0432d194
)
2024-05-05 14:59:07 +01:00
Jon Evans
b8fa10ab2b
Add optional reporting of non-KiCad design issues
...
Also add HTML reporter to PCB side to match schematic
2024-05-04 11:27:22 -04:00
Seth Hillbrand
76c98859bf
Fix renaming sheet check
...
If we are renaming a sheet that exists only once in the schematic, then
we don't need to warn about case sensitivity. If the sheet exists
multiple times, we do. We can't check this using SCREENS because the
screens don't maintain full state information about where they are used.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17901
(cherry picked from commit ba4974749c
)
2024-05-03 13:23:51 -07:00
Jon Evans
2ef18ad4ca
Fix deduplication of already-placed symbols
...
The comparison function was failing to properly
de-duplicate by LIB_ID, especially for parts
from database libraries, causing the list to grow
with the size of the design.
2024-05-03 11:39:01 -04:00
Jon Evans
1a76fce255
Make sure database library has updated pointer to library table
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17903
2024-05-03 11:39:01 -04:00
Alex Shvartzkop
451cb7a194
Fix warnings.
2024-05-03 00:09:24 +03:00
Alex Shvartzkop
17175fe71e
EasyEDA Std/Pro: import (some) component metadata for symbols.
...
Also fixes Reference numbering.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17806
2024-05-03 00:05:39 +03:00
Jon Evans
cb7e0e4383
Altium: apply power filter to symbol libraries
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17922
2024-05-01 22:47:19 -04:00
Jon Evans
90b62762d3
Support ortho dragging labels off sheet pins
2024-05-01 22:10:18 -04:00
Jon Evans
787a9ae4e4
Pin helpers can help sheet pins also
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17923
2024-05-01 22:10:02 -04:00
Wayne Stambaugh
c179f4d4f1
Use correct value field text when importing Eagle schematic symbols.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17130
(cherry picked from commit 865225fcca
)
2024-04-30 13:02:29 -04:00
Alex Shvartzkop
cff58bae7f
Fix internal simulation errors when using some IBIS models.
...
Usage of GC_PWR0 looked like a copy/paste.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17701
2024-04-29 23:24:46 +03:00
Jeff Young
5c0a654e1e
Save project settings after Schematic Setup.
...
This prevents data from getting lost if we later crash.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17859
(cherry picked from commit d8d816236c
)
2024-04-28 21:54:16 +01:00
Jeff Young
67b5e86cc4
Default to target lib when no lib tree sel exists.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17808
(cherry picked from commit f51d227dc7
)
2024-04-28 21:54:16 +01:00
Jeff Young
baaa8b6537
Fix merge error.
2024-04-28 21:54:16 +01:00
Jeff Young
fa490644dd
Allow selection promotion when editing wrong field type.
...
Also fixes a bug where a CHT_MODIFY on a parent symbol with a
selected child doesn't trigger a selection modified event.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17696
(cherry picked from commit 1aa59b806c
)
2024-04-28 21:54:16 +01:00
Jeff Young
fe26628113
Internationalise pin info when language changes.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17224
(cherry picked from commit c5c65f23a4
)
2024-04-28 21:54:16 +01:00
Wayne Stambaugh
31177be88f
Property grid navigation improvements.
...
* Do not handle tab key event when committing property changes so the
property grid tab navigation works correctly.
* Do not call commit property changes on tab key when no changes are
pending.
* Skip event handling in the base object value change and changing event
handlers in case they do not get overloaded in derived objects.
* Do not force focus to canvas on property change so arrow and tab key
grid navigation work properly. Forcing the user to click the property
grid control to edit a single property doesn't make sense.
* Pass properties panel show event up the event stack.
* Do not set focus to canvas in tool dispatcher if it already has the
focus.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16957
manully cherry picked from commit 8a1347d2c8
2024-04-28 08:25:24 -04:00
Wayne Stambaugh
48fd6bab7b
Symbol chooser dialog layout improvements.
...
(cherry picked from commit 33869dbb61
)
2024-04-28 07:43:43 -04:00
Wayne Stambaugh
9fd2b32665
Do not show click to start wire cursor for hidden pins.
...
Selecting show hidden pins will allow users to connect to hidden pins.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17145
(cherry picked from commit ca18dc8ec8
)
2024-04-28 07:39:34 -04:00
Wayne Stambaugh
1ba05d4c9c
Improve symbol instance data file save ordering.
...
Use the root schematic UUID to order projects and sort symbol instance
data by KIID_PATH. This will ensure file changes to instance data are
more consistent by using a fixed ordering.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17737
(cherry picked from commit a86a258f66
)
2024-04-28 07:15:22 -04:00
Wayne Stambaugh
bae3ccdfb5
Use correct project name when adding new symbol instances.
...
When adding a sheet using a schematic from another project, set the
project name for the new symbol instance data to the current project
rather than the project name from the copied instance data.
(cherry picked from commit 5d99aaf0a4
)
2024-04-28 07:06:03 -04:00
Marek Roszko
7e04a1b8d3
Hackfix macOS to keep erc/drc on top
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/14356
2024-04-27 13:38:41 -04:00