Seth Hillbrand
733a379ca3
Unify sheet name validators and apply to properties
...
Properties panel and properties dialog now share a validator with shared
strings
Fixes https://gitlab.com/kicad/code/kicad/issues/21689
2025-09-13 02:42:03 -07:00
Jeff Young
2c102a62e0
Auto-convert numeric values in fields when referencing them in expressions.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21723
2025-09-12 20:35:17 +01:00
jean-pierre charras
79a3b7ac5f
Add missing header to compil on msys2
2025-09-12 19:44:19 +02:00
Seth Hillbrand
accbee3c6e
Move git stuff to kicommon to fix build
...
And do other cool stuff
2025-09-12 07:17:42 -07:00
Seth Hillbrand
c64f99c57a
ADDED: VCSHASH and VCSSHORTHASH
...
Right now, git hashes only resolved by the variables ${VCSHASH} or
${VCSSHORTHASH}
2025-09-12 06:00:27 -07:00
Jeff Young
6ab6283e2e
LIBEVAL::CONTEXT manages its own local VALUEs.
...
Don't use std::unique_ptr as we'll just free the
value right after storing it.
Also, don't try to execute a non-existent function.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21697
2025-09-11 12:49:41 +01:00
Seth Hillbrand
fc7d91214d
Make pasting in lib tables easier
...
You generally copy/paste whole rows in lib tables, so make this workflow
easier. Allows pasting rows as new data. Prevent overwriting existing
data and don't force pasting from the first column
2025-09-11 02:30:49 -07:00
Seth Hillbrand
6e2b20ed0e
Update BS Threadpool to 5.0
2025-09-10 13:02:24 -07:00
Jeff Young
3c5fb9d90d
CHANGED: progressive disclosure in DRC dialog.
...
CHANGED: moved Report All Track Errors to config menu.
ADDED: menu items to control cross-probing from DRC
dialog.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17916
2025-09-10 17:52:09 +01:00
jean-pierre charras
11cc86e586
Hotkey handling: disable usage of keyboard modifier flag wxMOD_ALTGR.
...
The flag wxMOD_ALTGR is defined in wxWidgets as wxMOD_CONTROL|wxMOD_ALT
So AltGr key cannot used as modifier key because it is the same as
Alt key + Ctrl key that is already handled.
So the previous code did not work with modifiers Alt key, Ctrl key and Altgr key
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21696
2025-09-10 18:10:43 +02:00
Seth Hillbrand
a1f816e8be
Add additional modifies to hotkeys
...
Allows (depending on system) AltGr, Meta, Win, Super in combination with
other keys
Fixes https://gitlab.com/kicad/code/kicad/issues/1908
2025-09-09 13:30:01 -07:00
Mark Roszko
297ca1bb7b
Fix windows builds with a temporary hackfix for now
2025-09-09 11:12:39 -04:00
Seth Hillbrand
59dcdb4a4f
ADDED: proper icons for datasheet and fp in props
...
The properties panel needs to look like the data fields for user
experience. In wx3.3 we get a helpful action button but until then, we
need to make our own
2025-09-09 07:12:27 -07:00
Seth Hillbrand
aac15f4596
Encapsulate libgit commands into single backend
...
Sets stage for allowing alternate backends for version control
2025-09-08 21:04:31 -07:00
Jeff Young
dedc10a163
The Include "Exclude from BOM" setting is for editing, not exporting.
...
There's no reason to put items marked "Exclude
from BOM" into the BOM.
2025-09-08 20:44:32 +01:00
Jeff Young
93b0004175
Go back to checking points from the front.
...
We want to prefer a primary point (ie: a rectangle
corner) to a secondary point (ie: a rounded-rect
radius adjuster).
2025-09-08 18:37:47 +01:00
Jeff Young
01f6776226
Fix hit-testing for rounded corner rectangles.
2025-09-08 18:37:47 +01:00
Jeff Young
0b102fc085
Use WX_GRID::ClearRows() to avoid assertions.
...
Fixes KICAD-VM1.
2025-09-08 18:37:47 +01:00
Mark Roszko
22288e02a2
Fix cairo rendering on windows under wx 3.3
2025-09-08 12:32:12 -04:00
Mark Roszko
0f97f51ba1
Fix unit binder dropdown not working on windows
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20626
2025-09-08 06:36:20 -04:00
Seth Hillbrand
0c35068e8d
ADDED: Optional flashing with cross-probing
...
Sometimes it is hard to find an element especially if we do not zoom to
the part. The flash should help draw your eye to the relevant part
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19842
2025-09-07 18:08:04 -07:00
Seth Hillbrand
f66cbaf43a
ADDED: Stacked pin notation support
...
Implement bracket notation for stacked pins ([1,2,3], [1-4], [1,3,5-7]).
Automatic net naming proceeds based on the smallest logical pin number
in stacked groups.
Provide explode/reform commands in symbol editor for conversion.
Supports arbitrary ranges including BGA alphanum ranges like
[AA1-AA3,CD14-CD22]
Adds some additional QA and trace logging
Fixes https://gitlab.com/kicad/code/kicad/-/issues/2004
2025-09-07 14:59:51 -07:00
jean-pierre charras
288c93198a
Fix compatibility with wxWidgets 3.3.1
2025-09-07 18:46:54 +02:00
Jeff Young
b7fee045e3
Performance tweak.
2025-09-06 21:50:03 +01:00
Jeff Young
702f774a1f
Bring DIALOG_LIB_FIELDS into line with DIALOG_SYMBOL_FIELDS_TABLE.
2025-09-06 15:10:30 +01:00
Jeff Young
fd7da138fd
Cleanup dead code.
2025-09-05 13:00:50 +01:00
jean-pierre charras
168975b0a8
Fix a compil warning on MSYS2 (POINTS collide with a Windows header define)
...
POINTS is renamed LY_POINT. no actual code change
2025-09-05 09:34:49 +02:00
Mark Roszko
0ce952e705
Fix windows build, IN conflicts with windows header
2025-09-04 19:52:34 -04:00
Seth Hillbrand
44cc5b8e93
Move to fmt
2025-09-04 14:57:16 -07:00
Seth Hillbrand
a857ea77d9
ADDED: Text expression evaluation
...
Arbitrary text strings now support full evaluation with a rich
functional language
Fixes https://gitlab.com/kicad/code/kicad/-/issues/6643
2025-09-04 14:57:16 -07:00
Seth Hillbrand
bae5d43c45
Sadly, msys2 doesn't like condition variables
2025-09-04 13:58:38 -07:00
Seth Hillbrand
2cbd441042
Simplify font locking
2025-09-04 10:55:38 -07:00
Mark Roszko
a49e3b9cc5
Fix build
2025-09-03 22:59:21 -04:00
Seth Hillbrand
dc7e0665c3
Prevent GTK from providing stale position
...
When the library name and symbol/footprint name both match the filter,
we try to display both but ensure visible can move things to the wrong
place. We need to ensure the filtered list is up to date prior to
moving by ensureVisible
Fixes https://gitlab.com/kicad/code/kicad/-/issues/18000
2025-09-03 16:58:38 -07:00
Seth Hillbrand
11c5e03890
Update Font widget
...
Now displays the font next to its name
Also keeps a static version of itself for rapid display
2025-09-03 15:48:15 -07:00
Seth Hillbrand
9f06d1f66b
Fix image pasting for MacOS
...
Apparently, GetImage() on MacOS does not always convert the image
properly. So do a two-step here to get the Bitmap first, forcing the
conversion and then going back to an image
2025-09-03 09:18:07 -07:00
Mike Williams
202619cd43
design blocks: fix PADs getting copied in routing, enable by default
2025-09-02 13:58:18 -04:00
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