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
Alex Shvartzkop
378300c733
Don't hide symbol/footprint preview widgets on scroll.
...
(cherry picked from commit dc8822b421
)
2024-05-08 19:44:59 +03:00
Jon Evans
ddd7c35586
DbLib: Prevent uncaught exception creating statement
...
Defer telling the statement about the connection until the
try block, because otherwise it can connect immediately and
potentially throw an exception if the connection fails.
2024-05-06 16:59:49 -04: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
Seth Hillbrand
dc6d421fa2
Avoid arbitrary string limits
...
Placing a limit on the number of values that a field is allowed to hold
makes it blank when we set more than this number. There's not a good
reason to limit the number of digits we allow at the field level (we
round to 4 decimal points in the backend)
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17473
(cherry picked from commit cb71f2f207
)
2024-05-06 10:00:51 -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
Mark Roszko
f6480d67eb
Fix help for kicad-cli pcb export pos --side
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15815
(cherry picked from commit 030a251090
)
0b94c436 fix https://gitlab.com/kicad/code/kicad/-/issues/15815
8e6bb91b Update file command_pcb_export_pos.cpp
Co-authored-by: Stefan <2252537-stefan_test@users.noreply.gitlab.com>
2024-05-06 13:37:03 +00:00
Alex Shvartzkop
35c788a332
Fix polygon fill flag in pcbnew graphics (SVG) importer.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17957
2024-05-06 14:16:49 +03:00
Seth Hillbrand
a0cba3a9af
Re-initialize conversion settings on failure
...
When the conversion fails, it may be the result of the settings values,
so reset them to their original values afterward
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17886
(cherry picked from commit 4c0fd6e791
)
2024-05-06 11:42:54 +01:00
Jeff Young
af6835e766
Improve bounding hull error message.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17886
(cherry picked from commit 651cc5c838
)
2024-05-06 11:42:34 +01: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
6aee6f857e
Don't leak output file path between projects.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17846
(cherry picked from commit 0e9b547f94
)
2024-05-06 11:37:52 +01:00
jean-pierre charras
6d69fee097
PCB_IO_KICAD_SEXPR_PARSER::parseEDA_TEXT(): ensure texts are not mirrored
...
When not specified as mirrored, texts must be not mirrored.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17955
2024-05-06 11:17:17 +02:00
Alex Shvartzkop
c7dd993439
Add OpenGL info to About.
...
(cherry picked from commit 5e14ae9698
)
2024-05-05 21:58:10 +03: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
ca16ff05df
Altium pcbimport: handle various dimension items, fix dimension_kind enum
...
(cherry picked from commit ce32dfd077
)
e627d587 handle various dimension items, fix dimension_kind enum, this doesn't parse...
e89d1826 fix formating
07686833 change to Reporter for logging
a535d13d remove old comments
554c9565 Update file altium_pcb.cpp
Co-authored-by: Stefan <2252537-stefan_test@users.noreply.gitlab.com>
2024-05-04 16:38:32 +00: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
Jon Evans
09736ebf2c
Get rid of relative position in pad properties dialog
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17246
2024-05-03 23:31:36 -04:00
Jeff Young
897b9fe6a1
Restore accidentally deleted text size constraint algo.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17284
(cherry picked from commit c998234dec
)
2024-05-03 22:16:16 +01:00
Jeff Young
48f14d6dea
Handle orientation when pasting footprint items.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17518
(cherry picked from commit 94223ca794
)
2024-05-03 22:15:53 +01:00
Jeff Young
1ef916086d
pruneItemLayers() is not the right place to filter refdes & value.
...
(And we already filter all mandatory fields in
pasteFootprintItemsToFootprintEditor() anyway.)
Also, don't nuke a footprint which contains only fields
during a paste.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17937
(cherry picked from commit eb13dec265
)
2024-05-03 22:15:05 +01:00
Jeff Young
0b44ba61d8
Improve consistency in free-via ambiguity tests.
...
Also removes a magic number.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17671
(cherry picked from commit 58ddffe3dd
)
2024-05-03 22:15:05 +01:00
Jon Evans
3c99a3797e
DbLib: Fill entire table if cache is empty when loading one part
...
The "already placed parts" feature causes a situation where many
single-part queries are placed before the cache is even filled.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17940
2024-05-03 17:03:55 -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
Seth Hillbrand
57c8fbc9fe
Special-case copy/paste of footprint fields on board
...
When editing the board, footprint fields _look_ like text items, so copy
and paste of these items should logically result in a text item, not a
footprint copy.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17937
(cherry picked from commit 71b020eb14
)
2024-05-03 11:00:19 -07:00
Seth Hillbrand
bbac5430cf
DRC: special case circles for annular width check
...
Circles only use one dimension and we tend to ignore the other in our UI
but it is kept and reflects the previous second dimensional value. When
checking DRC, we should only be concerned with the single value used
unless the pad has two dimensions
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17944
(cherry picked from commit e3d2f338de
)
2024-05-03 10:07:29 -07:00
Seth Hillbrand
279ef4210d
Use StandardPrimitive library for vias
...
Some 2581 parsers don't like to consider UserPrimitive even though they
are essentially the same thing and required by the standard. ¯\_(ツ)_/¯
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16661
(cherry picked from commit 13735050da
)
2024-05-03 09:12:43 -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
Mark Roszko
ee75a50d84
Update vcpkg wxpython
...
(cherry picked from commit 1a1be2d542
)
Co-authored-by: Marek Roszko <mark.roszko@gmail.com>
2024-05-03 02:17:30 +00:00
Mark Roszko
99d8d0bc63
Use the new kmb toolchain file for vars
...
(cherry picked from commit f00a1ab517
)
Co-authored-by: Mark Roszko <mark.roszko@gmail.com>
2024-05-03 02:15:52 +00:00
Mark Roszko
f859fe37ca
Add updated tooltips on update dialog
...
(cherry picked from commit cb81de5a74
)
Co-authored-by: Marek Roszko <mark.roszko@gmail.com>
2024-05-03 01:39:50 +00: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
Seth Hillbrand
f8b02f99dd
Keep FP chooser on top of KiCad but not system
...
We don't need to float the window over other programs, so setting to
parental floating keeps it focused just the right amount
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16840
(cherry picked from commit 60f59ae851
)
2024-05-02 13:12:21 -07:00
Seth Hillbrand
69fb86322c
Re-allow moving footprint text
...
This is a temporary solution until we modify loading to convert existing
text to fields
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17899
(cherry picked from commit b649932dbf
)
2024-05-02 13:00:37 -07:00
Seth Hillbrand
4d683232b7
Remove faulty tooltip
...
Copy-pasta error
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17927
(cherry picked from commit b211625e53
)
2024-05-02 12:46:26 -07: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
Jon Evans
83be5ba63d
Move ALTIUM_PCB to use REPORTER for logging
...
Change not-yet-supported messages to debug level
(cherry picked from commit e973c15087
)
2024-05-01 19:17:09 -04:00
Jeff Young
e1cad6189e
Don't assume that a SMD pad has copper layers.
...
(cherry picked from commit 9a6efd43e1
)
2024-05-01 18:29:36 +01:00
Mike Williams
f29fc2a025
PCB Fields: fix v7 imported board hidden description field pos
...
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/17684
2024-05-01 09:24:54 -04:00
Mark Roszko
43d4c8d801
Point BEGIN_EVENT_TABLE at the correct base class, fix current lang indication
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17825
(cherry picked from commit aaf776db9e
)
Co-authored-by: Marek Roszko <mark.roszko@gmail.com>
2024-05-01 02:48:19 +00: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
jean-pierre charras
ac8b3989be
DIALOG_EXPORT_2581:fix incorrect size of widgets when a very long field name exists
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17911
2024-04-30 18:22:22 +02:00
Mark Roszko
9a7b1a20dc
Update sentry-native to 0.7.2
...
(cherry picked from commit 2f0ff4e557
)
Co-authored-by: Marek Roszko <mark.roszko@gmail.com>
2024-04-30 11:39:47 +00: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
2ee2d7d5d9
Separate Compare Footprints from DRC.
...
(We want to ignore some of the flags for DRC.)
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17819
(cherry picked from commit 43e6006306
)
2024-04-29 16:27:24 +01:00
Jeff Young
743759578d
Use a lighter touch keeping internal data structures in sync.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17493
(cherry picked from commit d0df8df7c7
)
2024-04-29 13:45:17 +01:00