7
mirror of https://gitlab.com/kicad/code/kicad.git synced 2025-04-14 02:59:34 +00:00
Commit Graph

18459 Commits

Author SHA1 Message Date
Ian McInerney
c24dbc17bf Move toolbar setup flags into the action definition
This makes them centrally defined, and removes the need to specify them
when creating the toolbar.
2025-02-28 01:57:37 +00:00
Tomasz Wlostowski
b4d29a98f9 router: refine the endpoint moving logic so that it doesn't block shoving 2025-02-27 23:51:12 +01:00
Ethan Chien
007db5f957 Improve string clarity in Zone Manager and DIALOG_COPPER_ZONE for "Minimum island size"
- Renamed "Minimum island size" to "Area limit" in Zone Manager and DIALOG_COPPER_ZONE to align with terminology used in the dropdown.
- The change aims to make the connection between the dropdown choice and the field more intuitive, reducing ambiguity for users.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/17255
2025-02-27 22:45:58 +00:00
Daniel Treffenstädt
5e467a969d Added check for custom thermal spoke count
When using custom thermal spoke templates, the user can create templates with fewer, or more, thermal spokes than 4.
2025-02-27 22:40:40 +00:00
Seth Hillbrand
e81956f292 Import Altium Projects
Handle Altium project file format

Parse individual schematic files and layout files
Create top-level schematic file
Link imported UUIDs between schematic symbol and footprints based on
refdes
Create KiCad project
Map Altium layout layers between KiCad

Fixes https://gitlab.com/kicad/code/kicad/-/issues/2117
2025-02-27 14:36:24 -08:00
Jeff Young
320a298394 Clarifying comments. 2025-02-27 17:53:06 +00:00
Damjan
230a976742 pcbnew: Drag-selecting while creating a Text breaks PCB editor tools
CHANGED: drawing_tool.cpp: DRAWING_TOOL::PlaceText method ignores events when mouse drag is detected.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/20010
2025-02-27 16:47:21 +00:00
Jeff Young
144e660684 Treat changes in solder mask like a width change.
Also in theory keeps from losing tenting properties
on vias that are shoved, though I can't get via
shoving to work at all right now.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/20085
2025-02-27 15:24:30 +00:00
Jeff Young
8e461941c0 Formatting. 2025-02-27 15:24:30 +00:00
Jeff Young
797de67c6c Apply EEschema fixes to PCBNew and Footprint Editor.
(Symbol Editor doesn't have the issue of the properties
being overwritten.)

Fixes https://gitlab.com/kicad/code/kicad/-/issues/20066
2025-02-26 20:06:30 +00:00
Jeff Young
53e784caef Better alignment betweeen controls in Pad Properties. 2025-02-26 19:17:53 +00:00
Jeff Young
500962b3a4 There is no support (as yet) for layer-specific soldermask expansions.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20053
2025-02-26 19:17:53 +00:00
Jeff Young
23528425ef Formatting. 2025-02-26 19:17:53 +00:00
jean-pierre charras
7c067e25d9 PCB_DIM_XXX::updateGeometry(): protect against re-entrance.
After calling updateText(), updateGeometry() was sometimes re-run before the
current updateGeometry() was finished, thus creating a incorrect geometry
(duplicate items)

Fixes https://gitlab.com/kicad/code/kicad/-/issues/20076
2025-02-26 20:01:29 +01:00
Jeff Young
b85c5eb8cc Fix wxWidgets assertion.
(I also increased the spacing between the left
and right columns at the top.)
2025-02-26 13:06:51 +00:00
Jeff Young
fde4aac075 Don't exit DRC when one test passes.
Also adds handling for table cells.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/20049
2025-02-26 12:50:57 +00:00
Jeff Young
956875e2f4 DRC_LAST is the last index, not the size.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20049
2025-02-26 12:50:49 +00:00
Jeff Young
6ccacd232e Formatting. 2025-02-26 12:16:51 +00:00
Jeff Young
20f40c1030 Replace GetConnectedItems() type list with an EXCLUDE_ZONES flag.
The type list kept atrophying when various new
items were added (arcs, shapes).

And god knows what the purpose of putting PCB_FOOTPRINT_T
in some of them was.  As far as I can tell a CN_ITEMs
parent can never be a footprint.

(Also moves IGNORE_NETS to a flag so that we don't
end up with two booleans and the potential to have
them out-of-order.)
2025-02-26 11:02:10 +00:00
Jeff Young
888cbf8e7a Don't use connectivity system for Track & Via Properties dialog.
It will propagate through zones, and since we haven't
yet done a refill it will pick up a bunch of false
stuff any time the track was widened more than the
clearance.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/20084
2025-02-26 11:02:10 +00:00
Jeff Young
931b1b0231 Cleanup. 2025-02-26 11:02:10 +00:00
Eric
92cdca69b3 ODB++:Fix date format in misc/info file
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20103
2025-02-26 15:30:36 +08:00
Marek Roszko
9d5e143d08 ADDEDL: gencad job support to jobsets 2025-02-25 22:44:24 -05:00
Jon Evans
b6aac9369e Fix creation of Altium compound files from IntLibs
A previous change introduced an invalid cast from
base to derived class.  To clean this up, changed
DecodeIntLibStream to have an out param and allow
two-step initialization of ALTIUM_COMPOUND_FILE

Fixes https://gitlab.com/kicad/code/kicad/-/issues/20099
2025-02-25 22:34:26 -05:00
Jon Evans
41f5750be7 Fix logic in via high contrast LOD calculation
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20093
2025-02-25 20:59:26 -05:00
Jon Evans
5cec2fac9d API: Add board origin setter/getter
See https://gitlab.com/kicad/code/kicad-python/-/issues/20
2025-02-25 20:13:16 -05:00
Seth Hillbrand
72411af9de Update fp properties even when can't update fp
When updating the footprint, we may encounter a missing footprint.  We
should still modify the netlist against the existing footprint (if one
does exist) to match the netlist.  This matches the behavior of updating
the netlist when fp are not selected for update

Fixes https://gitlab.com/kicad/code/kicad/-/issues/18249
2025-02-25 17:03:52 -08:00
dsa-t
71fdc9b199 Simplify layer list update in PANEL_SETUP_LAYERS.
(cherry picked from commit bdd4a88127)

Co-authored-by: Alex Shvartzkop <dudesuchamazing@gmail.com>
2025-02-25 20:44:07 +00:00
dsa-t
d2edf6796c Fix scrollbars not appearing in Appearance layers panel after board import.
(cherry picked from commit f60313367c)

Co-authored-by: Alex Shvartzkop <dudesuchamazing@gmail.com>
2025-02-25 20:40:27 +00:00
dsa-t
62b208e0a5 Fix scrollbars not appearing initially in PANEL_SETUP_LAYERS.
(cherry picked from commit a4e2d54221)

Co-authored-by: Alex Shvartzkop <dudesuchamazing@gmail.com>
2025-02-25 20:23:27 +00:00
dsa-t
b6a0a7cd14 Auto-size PANEL_SETUP_LAYERS_BASE.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20106


(cherry picked from commit 8ef8ca4d39)

Co-authored-by: Alex Shvartzkop <dudesuchamazing@gmail.com>
2025-02-25 20:23:17 +00:00
Marek Roszko
bc5fca1daa Make schematic and project inherit from PROJECT::ELEM
Just to see if anything weird happens first.
2025-02-24 22:22:56 -05:00
Jeff Young
8f40feedbb m_ordinal has no meaning for mandatory fields.
... but it should still be initialised.
2025-02-24 23:42:56 +00:00
Seth Hillbrand
141d50f0c1 Initialize m_orginal 2025-02-24 15:11:08 -08:00
Jeff Young
7db3ccd98a Better algorithm for knocking out footprints.
(Though anything would have been as the previous
one didn't work at all.)
2025-02-24 23:01:07 +00:00
Tomasz Wlostowski
78fc95fd6d router: fix regression in post-shove optimization
Note to self: we keep track of the formerly pushed vias in the line stack, but pruning one from the optimizer queue should not prune the lines attached to it.
2025-02-24 23:45:19 +01:00
Tomasz Wlostowski
9e4947ed36 router: prevent assertion fail in MULTI_DRAGGER
Fixes https://gitlab.com/kicad/code/kicad/issues/20075
2025-02-24 23:42:20 +01:00
Tomasz Wlostowski
29a4ec0fde router: prevent disconencting via fanout traces when shoving
Note to self: move-endpoints fallback mode must check for vias connected at the obstacle LINE's ends - fallback is only applicable for unconnected ends.
2025-02-24 23:42:20 +01:00
Tomasz Wlostowski
bfbdfcf872 router: improved shove litter fix
Note to self: managing the shove stack is quite challenging and there were a few corner cases
where reverse via/segment collisions would cause a head segment (or a via) to have multiple clones in the stack.
As SHOVE::removeHeads() took only complete head lines, sometimes it resulted with stray vias/segments.

Fixes https://gitlab.com/kicad/code/kicad/issues/19045
2025-02-24 23:42:20 +01:00
Jon Evans
6be2468e05 Fix uninitialized member in non-user fields 2025-02-24 17:39:38 -05:00
Seth Hillbrand
3b24b5b74b Fix SWIG QA 2025-02-24 14:13:36 -08:00
Jeff Young
907f21e739 Hatching knockout fixes. 2025-02-24 17:35:43 +00:00
Jeff Young
0de8d75dec Fixup parent after blasting it. 2025-02-24 17:35:43 +00:00
Jeff Young
f5cee2ee0a Formatting. 2025-02-24 17:35:43 +00:00
Jeff Young
8fd175dd22 Minor cleanup to table dialogs. 2025-02-24 11:53:50 +00:00
Jeff Young
29b8066473 Minor dialog cleanup.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20047
2025-02-24 11:08:29 +00:00
Jeff Young
3f15b0d75b ADDED: hatched fills for shapes. 2025-02-24 11:08:29 +00:00
Jeff Young
59d6152cf0 Cleanup stale comment. 2025-02-24 11:08:29 +00:00
Jeff Young
34db9ed245 Better namespacing.
Also fixes a bug with calculating eagle annular
ring sizes.
2025-02-24 11:08:29 +00:00
Jeff Young
01a19bf3d0 Filled shapes can still have a border width. 2025-02-24 11:08:29 +00:00