John Beard
b34746e06b
Symbol editor: allow editing all related symbols from the treeview
...
This makes it more straightforward to edit a group of related symbols
(related = all derived from the same parent, including the parent).
Relates-To: https://gitlab.com/kicad/code/kicad/-/issues/21067
Relates-To: https://gitlab.com/kicad/code/kicad/-/issues/9742
Relates-To: https://gitlab.com/kicad/code/kicad/-/issues/11506
2025-09-03 00:24:18 +08:00
Seth Hillbrand
de8c4d4b01
ADDED: via_dangling constraint
...
Allows programmatic suppression of this error if you don't care about it
Fixes https://gitlab.com/kicad/code/kicad/-/issues/18058
2025-09-02 08:26:18 -07:00
jean-pierre charras
60a5c8b742
WX_INFOBAR: Better calculation of the minimal height.
...
The height was sometimes to big (case of multi-line text or small initial
size of the parent frame).
The height is now calculated from the height of one line of text, even for
multi-line text.
2025-09-02 07:50:50 +02:00
Seth Hillbrand
9cba910d53
ADDED: Library Table Editor
...
Edits all symbols in a library at once. Supports copy/paste, multiple
field assignment and selective coloration based on existing data
Fixes https://gitlab.com/kicad/code/kicad/-/issues/11506
2025-09-01 21:47:14 -07:00
Jeff Young
ce140d8dfc
Formatting.
2025-09-01 22:04:59 +01:00
John Beard
e016dc52fd
Pcbnew: Add concept of a 'point'
...
This is a zero-dimensional object that can be used for snapping
and documentation of useful, but non-physical features on a
board or footprint. They do not correspond to any physical
output in exports or plots.
Points do have a "size", but this is a graphical property only
and determines how large they are drawn on the board.
They also have a layer, which allows them to be selected and
made visible according to layer filters.
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/4691
2025-09-01 23:44:21 +08:00
John Beard
262f1fdabb
Pcbnew: add layer mode/stackup checks to library parity DRC
2025-09-01 23:44:21 +08:00
jean-pierre charras
4953e80122
Fix some compil warnings
2025-09-01 16:22:05 +02:00
JamesJCode
bd04d508e0
Fix some compiler warnings
2025-09-01 14:50:22 +01:00
Jeff Young
4024a15a17
Don't reference stack variables from a long-life lambda.
...
In particular, a lambda for conditional menus should
never capture more than `[this]`. Even the tool's
frame pointer could change.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21615
2025-09-01 12:44:20 +01:00
Jeff Young
1f44417ad0
Attempt to improve ever-growing-window problems.
2025-09-01 11:45:20 +01:00
Seth Hillbrand
2eb7ba2fb9
Simplify overlapping points after editing
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21571
2025-08-31 17:48:59 -07:00
Seth Hillbrand
2c4d792358
Stop converging at existing point
...
Prevents collapsing points into drag element when hitting convergence
2025-08-31 17:48:59 -07:00
Seth Hillbrand
bbc762a546
ADDED: Angle preview for polygon mod
...
Shows angle for the current and adjacent corners and whether they are
congruent
2025-08-31 11:49:41 -07:00
Seth Hillbrand
2321285c16
Maybe don't need eary exit here
2025-08-31 08:11:44 -07:00
Seth Hillbrand
4af585c531
Revert "Remove the forced ancillary grid"
...
This reverts commit 29dc45d584a882866f2f3f27a7257481043ecc84.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21535
2025-08-31 07:54:12 -07:00
Seth Hillbrand
8c6f057f6c
Re-organize points to allow missing radius
...
Not all rectangles want/need the radius point, but we will only be able
to drag one point at a time. So we re-organize which point of an
overlapping set is selected
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21605
2025-08-31 07:10:14 -07:00
jean-pierre charras
4610a49323
Fix round rect shape STEP export.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21599
2025-08-31 12:43:40 +02:00
jean-pierre charras
68f9b74ae9
SHAPE RECTANGLE: fix hatching clipping for round rectangle.
2025-08-31 10:05:21 +02:00
Adam Wysocki
814f78f2b2
ADDED: Add pcb/sch upgrade cli command
2025-08-30 20:57:41 +00:00
Jeff Young
be57c1a380
Fix undo for rounded rects.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21595
2025-08-30 21:16:47 +01:00
Jeff Young
c6fcf7e0b8
Allow easier code searching for property names.
2025-08-30 19:09:15 +01:00
Jeff Young
ba84f50997
Commenting.
2025-08-30 17:45:49 +01:00
Seth Hillbrand
1a3f6028f8
Fix missed last points
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21596
2025-08-30 08:33:46 -07:00
Seth Hillbrand
fe4ddc66eb
Limit radius in more places
2025-08-30 08:19:35 -07:00
Seth Hillbrand
0f1b514964
Handle corner radius in Create from selection
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21601
2025-08-30 07:33:30 -07:00
Mark Roszko
b3de964eff
Add fast_float for float parsing.
...
2x faster than both std::from_chars and strtod on Windows.
macOS will get to benefit from a modern from_chars impl too.
2025-08-29 21:48:24 -04:00
Seth Hillbrand
8acf5c1a25
ADDED: Rounded Rectangles
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/4742
2025-08-29 17:37:30 -07:00
Seth Hillbrand
e282dca102
Add configurable hysteresis to PCB snapping
...
Makes it harder to enter and harder to exit a snap. ideally this should
help make snapping more intuitive and easier to use. Once you have a
snap, it is harder to lose it but it avoids being overly snappy in the
begining
2025-08-29 16:21:35 -07:00
Seth Hillbrand
ec7b831be3
ADDED: Search feature for html message box
...
Allow search for text in e.g. the custom rules examples
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21550
2025-08-29 10:29:11 -07:00
Jeff Young
8a60893249
Regularize content of item descriptions.
...
1) Use sentence capitalisation
2) Show text of text items
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21582
2025-08-29 12:03:55 +01:00
Mark Roszko
fd57f637ac
Revert "Compilers should have complete from_chars support now"
...
This reverts commit 3a8dd87db4513b7c7ede748a4f30ef5192e1752b.
2025-08-28 07:07:44 -04:00
Mark Roszko
3a8dd87db4
Compilers should have complete from_chars support now
2025-08-27 20:07:28 -04:00
Mark Roszko
2cf6ec2411
Remove some obsolete LOCALE_IO
2025-08-27 20:07:27 -04:00
Jeff Young
6dd4e01f16
ADDED: custom body styles.
...
(Also moves editing of unit display names to the
Symbol Properties dialog and retires the Set Unit
Display Name dialog.)
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16069
Fixes https://gitlab.com/kicad/code/kicad/-/issues/14843
2025-08-27 18:11:56 +01:00
Seth Hillbrand
394f6be509
Formatting
2025-08-26 14:47:04 -07:00
Seth Hillbrand
fe4de09d71
Add undo/redo functionality to dialog boxes
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/18986
2025-08-26 14:39:19 -07:00
Seth Hillbrand
0a767acb3a
Wrap net_selector widget for properties
...
Provides consistent interface to modify/filter nets in property panel
and dialogs
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17643
2025-08-26 11:50:12 -07:00
Seth Hillbrand
29c4d9b197
Add width/height adjustment to reference image
...
Allows setting specific width or height on a reference image instead of
just scale
Fixes https://gitlab.com/kicad/code/kicad/-/issues/18567
2025-08-26 11:22:32 -07:00
John Beard
4bebd09bd0
EDA_LIST_DIALOG: Simplify ctor args
...
Sometimes you want to add these in the ctor of the child
class based on some logic and having to construct the vector
in the init-list is a bit ugly.
Theoretically allows to not require a vector too.
2025-08-26 23:34:46 +08:00
John Beard
7f4a1bf64a
Sym edit: allow to flatten symbol on save as
...
Sometimes, you don't want to drag the whole inheritance hierarchy with
you.
Relates-To: https://gitlab.com/kicad/code/kicad/-/issues/8895
2025-08-26 23:34:46 +08:00
Seth Hillbrand
dad60f99c0
More GDI conservation
2025-08-26 06:04:30 -07:00
Seth Hillbrand
6dd03bc735
Fix screen scaling
...
We don't use wxWidget DPI (which is the screen DPI) for our on-screen
display. Instead, we use 91 (?!?). Make this configurable in advanced
config and use the set value in our scaling widget
2025-08-25 18:03:46 -07:00
Seth Hillbrand
1df5ad0e4c
Fix circle scaling
...
We scale the full circle, which is just defined by its points
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21551
2025-08-25 18:03:46 -07:00
Seth Hillbrand
bfe805a221
Add user-controlled scaling factor
...
Lets the user decide what 100% zoom is for their system based on a
slider.
This is inspired by Inkscape's custom scaling widget
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19256
2025-08-25 14:37:07 -07:00
Addo White
843eea259d
Fix for Cursor rendering on Linux+EGL+Nvidia in accelerated graphics mode
...
EGL/NVidia can sometimes clip the cursor based on its plane regardless of the depth mask. This avoids the issue by forcing the cursor up over the existing plane.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/12183
2025-08-25 14:35:33 -07:00
Seth Hillbrand
cc9402ac9d
A better fix for #21543
...
Instead of making a default parent, we set the parent to invalid
allowing the error to bubble up without an assert
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21543
2025-08-25 12:27:20 -07:00
Seth Hillbrand
b709439b65
Avoid showing 0.0 if there are non-zeros
...
If the value we want to show is in nm but we are representing it as mm,
don't show 0.00 unless it is actually 0. otherwise, convert to
scientific notation to represent the value in nm.
2025-08-25 11:31:51 -07:00
Jeff Young
9808889c9c
Make 3D view/toolbar/contextmenu command lists more consistent.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21347
2025-08-25 16:35:01 +01:00
Jeff Young
8c3026cf1a
Naming conventions.
2025-08-25 12:13:38 +01:00