Seth Hillbrand
24f02e72d0
Fallback to scientific notation when fixed-point is long
...
Fixed point output can create arbitrarily long string representations of
floating points. When this happens, we would like to just represent the
scientific notation to a limited precision
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17890
2024-05-06 13:00:27 -07:00
Seth Hillbrand
3620887a22
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
2024-05-06 10:37:23 -07:00
Mike Williams
1db236c7fd
Legacy Libraries: fix Description field clobbering user field
...
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/17943
2024-05-06 12:54:31 -04:00
Jeff Young
39835fe82a
Formatting.
2024-05-06 10:58:32 +01:00
Alex Shvartzkop
5475359d00
More build time optimizations.
2024-05-06 04:39:28 +03:00
Jeff Young
2ad05e34ea
Fix symbol editor drawing tool coord system.
2024-05-05 22:21:12 +01:00
JamesJCode
658eb1d338
Assert if NESTED_SETTINGS migration is missing for an intermediate version
...
- Fixes early load during NESTED_SETTINGS construction within
SCHEMATIC_SETTINGS, now failing due to missing migrations at that
object construction point
- Adds missing (NOOP) migration for NET_SETTINGS schema versions 1 -> 2
2024-05-05 19:12:01 +01:00
Seth Hillbrand
5bd94f118d
ADDED: Handle PIECHART in Altium import
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16895
2024-05-05 08:39:30 -07:00
Jeff Young
0e0432d194
Don't abort on failure to backup file if it was never saved.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17810
2024-05-05 14:58:23 +01:00
Jeff Young
10aec91075
lint reduction
2024-05-05 12:55:38 +01:00
Jeff Young
afcdfd85a7
Fix power symbol value field placement.
2024-05-04 23:49:43 +01:00
Jeff Young
c2fae3768c
Fix knock-on effects from b7f035964f
.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17924
2024-05-04 23:49:43 +01:00
John Beard
4dd049ee8f
Add action to focus tree searches
...
The default hotkey is Ctrl+L, as this is not bound by
default in the FP or symbol editor, and it is the hotkey
that is used to focus the address bar in web browsers,
which is a similar kind of action.
2024-05-05 04:18:36 +08:00
Jon Evans
6b145b2830
Add optional reporting of non-KiCad design issues
...
Also add HTML reporter to PCB side to match schematic
(cherry picked from commit b8fa10ab2b
)
Co-authored-by: Jon Evans <jon@craftyjon.com>
2024-05-04 15:27:52 +00:00
Jeff Young
2d1bcbd222
Repair import of Altium arcs.
2024-05-04 15:47:43 +01:00
Jeff Young
8ec1016ccf
Repair Altium importer for coord system change.
2024-05-04 14:19:12 +01:00
Jeff Young
691c492d1e
Revert attempted Altium import fix.
...
(Like Eagle, Altium's coord system is "upside down" to
start with.)
2024-05-04 11:16:44 +01:00
Seth Hillbrand
ba4974749c
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
2024-05-03 13:23:03 -07:00
Jeff Young
44717f927c
Fix rotation of selection in schematic.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17921
2024-05-03 21:14:26 +01:00
Seth Hillbrand
8463bd59b7
ADDED: Optional check for four way junctions
...
Defaults to off because this is likely contentious
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17870
2024-05-03 12:06:24 -07:00
Seth Hillbrand
2139789c4c
Move ERC items to their own directory
2024-05-03 12:06:24 -07:00
Seth Hillbrand
b8ccaae403
Respect schematic settings for hidden pins
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17941
2024-05-03 09:58:33 -07:00
Jeff Young
053a764cf2
Adjust LTSPICE parser for inverted coords.
2024-05-03 17:48:22 +01:00
Jeff Young
fd44ee6aa6
Adjust CADSTAR importer for coord system flip.
2024-05-03 17:43:11 +01:00
Jeff Young
893d178439
Formatting and minor const& performance enhancements.
2024-05-03 17:43:11 +01:00
Jon Evans
eb0708d48d
Fix broken cherry-pick
2024-05-03 11:49:58 -04:00
Jon Evans
ac8bd587dc
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.
(cherry picked from commit 2ef18ad4ca
)
2024-05-03 11:47:21 -04:00
Jon Evans
639f59839e
Make sure database library has updated pointer to library table
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17903
(cherry picked from commit 1a76fce255
)
Co-authored-by: Jon Evans <jon@craftyjon.com>
2024-05-03 15:39:33 +00:00
Jeff Young
09c5b9df1d
Fix some breakage in Altium parser due to Symbol Editor Y-axis inversion.
2024-05-03 14:52:50 +01:00
Jeff Young
e7f4e29dd1
Eagle's coord system matched the old Symbol Editor.
...
So now we need to invert the Y axis for symbol items
(as well as all the schematic items which we have always done).
2024-05-03 14:48:06 +01:00
Jeff Young
3781682a89
We don't need to flip Y of fields anymore.
2024-05-03 13:31:15 +01:00
Jeff Young
ce1404df79
Formatting and performance.
...
(wxString construction is surprisingly expensive.)
2024-05-03 13:31:15 +01:00
Alex Shvartzkop
b5b65d0846
Fix some breakage due to symbol Y axis inversion in EasyEDA parsers.
2024-05-03 01:44:50 +03:00
Alex Shvartzkop
2a889f03fc
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:37:59 +03:00
Seth Hillbrand
ae610bbe85
ADDED: Reset option for Library tables
...
This re-shows the option to reset the global library table to its
default, empty or specified state
Fixes https://gitlab.com/kicad/code/kicad/-/issues/2309
2024-05-02 21:31:59 +00:00
Seth Hillbrand
416033e8e5
Ignore hidden text fields when cross-probing
...
Zoom-to-selection should only show the elements that we can see, so
avoiding hidden fields in footprints keeps the zoom window appropriately
sized
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15245
2024-05-02 10:57:25 -07:00
Jon Evans
a95a3fa5c9
Altium: apply power filter to symbol libraries
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17922
2024-05-01 22:47:45 -04:00
Jon Evans
d6a54a98b2
Support ortho dragging labels off sheet pins
2024-05-01 21:53:22 -04:00
Jon Evans
dffb2c1994
Pin helpers can help sheet pins also
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17923
2024-05-01 21:53:14 -04:00
JamesJ
d92db68597
Fix corner editing for schematic rule areas
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17909
2024-04-30 16:58:14 +00:00
Rosy
17891f7a1d
HTTP Libraries: Add support for descriptions of sublibraries
2024-04-30 11:57:00 +00:00
Stefan
7ed755ac61
Handle piechart case for Altium lib import
...
This doesn't parse the data but it will let the user know what wasn't properly parsed.
2024-04-30 03:07:14 +00:00
dsa-t
10c0bba9cc
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
(cherry picked from commit cff58bae7f
)
Co-authored-by: Alex Shvartzkop <dudesuchamazing@gmail.com>
2024-04-29 20:24:58 +00:00
Jeff Young
e5a17b96a3
Fix more bugs from collapsing LIB_* to SCH_*.
...
The transform can always be used: it will be the identiy
transform when in the schematic.
Also fixes a bug where textbox borders didn't get
plotted, and a couple others where things were still
expecting an upside-down coordinate system.
2024-04-29 12:19:13 +01:00
Jeff Young
b5fb7b7ace
Get rid of Export Symbol.
...
It can be done with the "New Library" button when doing
a Save copy as (which doesn't lead the user down the
wrong path as Export Symbol can).
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17840
2024-04-28 22:05:59 +01:00
Jeff Young
352463dfeb
Fix pin drawing after removal of upside-down coords.
2024-04-28 15:24:19 +01:00
Jeff Young
1db8b322da
Make pin name/number visibility architecture more clear.
2024-04-28 13:23:24 +01:00
Alex Shvartzkop
16e3692e71
Build time optimizations.
2024-04-27 23:49:13 +03:00
Jeff Young
d8d816236c
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
2024-04-27 14:50:47 +01:00
Jeff Young
c59ed0bbb7
Flip symbol editor's Y axis to match other editors.
2024-04-27 13:47:56 +01:00