Seth Hillbrand
e85a8056f5
Don't convert URI slashes on Windows
...
We auto-convert paths for windows boxes but this should not happen for
uri schemes that have the form <URI>://<path>
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20381
2025-09-03 06:56:28 -07:00
Seth Hillbrand
173e02eff7
ADDED: Lasso support to Schematic Editor
2025-09-03 06:45:49 -07:00
jean-pierre charras
876c905e2b
DRAWING_TOOL: change POINT to MD_POINT, to avoid colliding with a Windows header define
2025-09-03 11:40:05 +02:00
jean-pierre charras
5914b5aaa8
gendrill_Excellon_writer.cpp: convert fprintf and fputs to fmt::print
...
It allows write issues to be handled more easily.
2025-09-03 09:48:09 +02:00
jean-pierre charras
2346be9768
Fix compil warnings
2025-09-03 09:43:41 +02:00
Seth Hillbrand
d4b08f0a8a
When unarchiving a project, open it also
...
Just a little convenience for getting projects open
2025-09-02 21:11:54 -07:00
Seth Hillbrand
f18c4a05fd
Don't push names we don't have
...
Fixes https://gitlab.com/kicad/code/kicad/issues/21628
2025-09-02 20:49:39 -07:00
Seth Hillbrand
ad80113f47
Prevent modifying teardrops on lock/unlock
...
This action doesn't affect geometry, so don't dirty the teardrops
Fixes https://gitlab.com/kicad/code/kicad/issues/21342
2025-09-02 20:35:59 -07:00
Seth Hillbrand
8f0b3b59f0
Offer to create missing plugin directory
2025-09-02 20:32:14 -07:00
Mark Roszko
bf82217217
Fix leftover printf float in gencad writer
2025-09-02 22:58:43 -04:00
Seth Hillbrand
d9741fd46a
Consider visibility when colliding in DRC
...
Most places we check this but we should also check it in physical
clearance
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21625
2025-09-02 19:24:55 -07:00
Seth Hillbrand
826f15a103
Prevent crash in nettie
...
We need to avoid collecting invalid layers in the net ties regardless of
their origins
2025-09-02 19:18:58 -07:00
Seth Hillbrand
edf8f45351
Add user fields to editable properties
...
Fixes https://gitlab.com/kicad/code/kicad/issues/21622
2025-09-02 18:29:59 -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
8709f73b98
Symbol editor: simplify root symbol-finding
2025-09-03 00:30:56 +08:00
John Beard
e76b2089bb
Symbol edit: add symbol flatten action
...
This removes inheritance from the symbol.
This doesn't play well with undo, but then again, neither does symbol
deletion, so that seems like a higher-level symbol editor issue.
Relates-To: https://gitlab.com/kicad/code/kicad/-/issues/8895
2025-09-03 00:24:32 +08:00
John Beard
2e0088593e
Symbol editor: fix flattening during save-as to the same library
2025-09-03 00:24:24 +08: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
John Beard
9b14434fc3
Symbol editor: allow to inject the symbol list into DIALOG_LIB_FIELDS
...
This will permit editing fields for subsets (e.g. only symbols in
a certain inheritance hierarchy)
2025-09-03 00:24:12 +08:00
Seth Hillbrand
1f1f8699e0
Prevent pads from moving inappropriately
...
Free pads is a setting unless we are in the footprint editor and needs
to be respected by the alignmen tool
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21626
2025-09-02 09:11:31 -07:00
John Beard
0ede830f54
LIB_SYMBOL: When assigning, clear the parent if needed
...
This allows assigning a symbol with no parent to a symbol with
a parent to work more as expected.
2025-09-02 23:50:17 +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
e01dfd3158
gendrill_Excellon_writer: remove use of LOCALE_IO
2025-09-02 16:18:09 +02:00
Jeff Young
cff261ce2e
Don't allow stack addresses to escape via long-life handlers.
2025-09-02 14:19:17 +01:00
Jeff Young
6a171e11fb
Clang got cranky on the emplace_back call.
2025-09-02 12:17:07 +01:00
John Beard
1e272ca21b
Geom: use SHAPE_SEGMENT for OVAL
...
OVAL didn't do anything SHAPE_SEGMENT couldn't already do.
2025-09-02 17:38:26 +08: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
Mark Roszko
35ffb28335
Remove the GetCommonSettings mock
...
There's some sort of internal issue in boost::test and the turtle mocks that causes test crashes
2025-09-01 22:13:36 -04:00
Jeff Young
98b63389c1
Give Mac dock icon menu a kick.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17596
2025-09-01 22:04:59 +01:00
Jeff Young
ce140d8dfc
Formatting.
2025-09-01 22:04:59 +01:00
Mark Roszko
5e2ec53165
Use ADDR2LINE for linux qa for now
2025-09-01 13:57:45 -04:00
Mark Roszko
d5e342b64d
Updated turtle mocks to 2.0.0 properly (it was already mostly there being off-tag instead of the mentioned tag)
2025-09-01 13:49:28 -04:00
John Beard
eedfb7a573
Pcbnew: pickup footprints by points, add a selection filter
2025-09-02 01:24:14 +08:00
Ian McInerney
c95c15dd4e
Don't throw away old hidden text that was converted to fields
2025-09-01 18:19:46 +01:00
Mark Roszko
4a4725c906
Avoid shadowed variable warning
2025-09-01 12:24:35 -04:00
Mark Roszko
667dccb163
Add rdynamic to QABUILD executables.
2025-09-01 12:20:22 -04:00
Mark Roszko
4fb76404bc
Try and disable boost's signal handler
2025-09-01 16:07:03 +00:00
Mark Roszko
267ee811a7
Try and suppress gcc warning
2025-09-01 11:58:13 -04: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
c4d9338097
Pcbnew: sort sexpr text items stably
...
Currently all texts on the same layer do not sort stably in the file
format. Add sorting criteria to sort by position, angle, size
and so on and finally by string.
2025-09-01 23:44:21 +08:00
John Beard
5d967289ee
Eeschema: order pins by number, not position
...
Also use StrNumCmp, then the pin numbers are ordered exactly the
same way as pads in footprints.
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
Mark Roszko
c9476caebf
Fix macOS build
2025-09-01 11:31:03 -04:00
Mark Roszko
a8d6292d61
Use boost::stacktrace w/ unit test handlers to start hunting for that copper sliver wabbit
2025-09-01 11:07:12 -04: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
Seth Hillbrand
82c61efcbd
Revert "When re-launching on MacOS, create a new instance"
...
Needs to launch without jumping back in and allow switching
This reverts commit 1885f4bdee6656d988bf088b048fbfbb70ac0f3d.
2025-09-01 06:39:34 -07: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
0c8e7a7137
Reload symbol chooser on keep symbol, and improve accessibility.
...
(Respond to hotkey-generated clicks.)
Fixes https://gitlab.com/kicad/code/kicad/-/issues/7698
2025-09-01 11:45:20 +01:00