Mark Roszko
264029c8e9
Update kicad-vcpkg and ngspice
1 month ago
jean-pierre charras
c889a7fa16
DIALOG_FOOTPRINT_PROPERTIES_FP_EDITOR_BASE: fix a incorrect widgets type
Fix also a minor issue in DIALOG_FOOTPRINT_PROPERTIES_BASE
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21662
1 month ago
Adrián García
fb558eee3c
Fix crash in LIB_SYMBOL::SetUnitCount when reducing unit count
When decreasing the number of units in a symbol, the previous code erased
items directly from m_drawings using a single iterator. Because m_drawings
is a MULTIVECTOR, this could invalidate iterators and attempt to erase
from the wrong bucket, leading to segmentation faults.
This patch iterates bucket by bucket and erases items belonging to units
greater than the requested count. This ensures iterator safety and avoids
accessing invalid memory.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21631
1 month ago
Wayne Stambaugh
6f352ccd96
Improve symbol fields table editor undo/redo memory usage.
- Do not add a modify action to commit for symbols that have no changes.
- Do not add a modify action to commit for each instance of shared symbols.
1 month ago
Jeff Young
c163f0a24c
CHANGED: better real-estate usage in Edit Symbol Fields dialog.
1) Moved view controls list to a wx_grid.
2) Allow show/hide of columns in view controls.
3) Allow editing of BOM Names in grid without long-click on Mac.
3) Added column show/hide states and sash pos to prefs.
4) Decreased mininum sash pane width to allow wider main grid.
5) Simplified presentation by moving "include" and "cross-probe"
settings to config menu.
1 month ago
Jeff Young
fd7da138fd
Cleanup dead code.
1 month ago
jean-pierre charras
3bdf44d4a4
PCB_DIM_CENTER: fix incorrect bounding box size for 90deg cross.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21643
1 month ago
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
1 month ago
Mark Roszko
03b3b642b0
Another qa header fix
1 month ago
Seth Hillbrand
f9f5bb9ed1
Consider keywords as required
Because they actually are
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21635
1 month ago
Mark Roszko
4254673be5
Fix windows build, missing wx header
1 month ago
Mark Roszko
0ce952e705
Fix windows build, IN conflicts with windows header
1 month ago
Seth Hillbrand
9ffb0c8b96
wxString explicit conv
1 month ago
Seth Hillbrand
44cc5b8e93
Move to fmt
1 month ago
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
1 month ago
Seth Hillbrand
bae5d43c45
Sadly, msys2 doesn't like condition variables
1 month ago
Seth Hillbrand
2cbd441042
Simplify font locking
1 month ago
jean-pierre charras
9a7088c03c
French translation update
1 month ago
Mike Williams
7a09960b46
PCB search: add Drills column
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/1982
1 month ago
Seth Hillbrand
05d04e665a
Fix lib_fields column attributes
Need to properly display footprint selector and datasheet globe
1 month ago
Mark Roszko
9f1aa612ec
Fix position of package properties that must follow packages
1 month ago
Mark Roszko
9de2548064
Fix typo in allegro output for nets
1 month ago
Graham Keeth
825585847b
Fix typo in DRC rules help
1 month ago
Graham Keeth
6c8f25b418
Add DRC syntax help for via_dangling
1 month ago
Mark Roszko
a899da7cb7
Fix double quoting tol for some reason
1 month ago
Mark Roszko
a49e3b9cc5
Fix build
1 month ago
Mark Roszko
9bc1cf006f
Fix the allegro netlist export and move mostly to {fmt}
Weirdly $PACKAGES header got shifted out of position.
Drop generating empty references.
1 month ago
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
1 month ago
Seth Hillbrand
344fab5741
Prompt for unsaved changes in the lib fields table editor
1 month ago
Seth Hillbrand
9342aea7fa
Move new project to templates
If the baseline default project doesn't exist on disk, create it and use
that as an empty project. Allows the designer to modify the default new
project used or select from existing templates
1 month ago
Seth Hillbrand
11c5e03890
Update Font widget
Now displays the font next to its name
Also keeps a static version of itself for rapid display
1 month ago
Seth Hillbrand
3deb06bf82
Expand the custom fields properties to pcbnew
Allows editing/reviewing custom fields for a set of selected footprints
in pcbnew
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16703
1 month ago
Seth Hillbrand
5c865cab36
Allow full-field filtering in lib_fields_table_editor
1 month ago
Mike Williams
f7fd832c67
design blocks: add routing to exinst group when applying layout
1 month ago
Seth Hillbrand
62e220a8db
Reverse cell painting for Windows
Apparently Windows might not respect painting with a transparent alpha,
so reverse the paint order
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21635
1 month ago
jean-pierre charras
622ddd3a37
3D viewer: fix a minor issue, clean code and and a few comments.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21629
1 month ago
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
1 month ago
Seth Hillbrand
f84ba3004d
Properly append corners to created poly
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21633
1 month ago
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
1 month ago
Seth Hillbrand
173e02eff7
ADDED: Lasso support to Schematic Editor
1 month ago
jean-pierre charras
876c905e2b
DRAWING_TOOL: change POINT to MD_POINT, to avoid colliding with a Windows header define
1 month ago
jean-pierre charras
5914b5aaa8
gendrill_Excellon_writer.cpp: convert fprintf and fputs to fmt::print
It allows write issues to be handled more easily.
1 month ago
jean-pierre charras
2346be9768
Fix compil warnings
1 month ago
Seth Hillbrand
d4b08f0a8a
When unarchiving a project, open it also
Just a little convenience for getting projects open
1 month ago
Seth Hillbrand
f18c4a05fd
Don't push names we don't have
Fixes https://gitlab.com/kicad/code/kicad/issues/21628
1 month ago
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
1 month ago
Seth Hillbrand
8f0b3b59f0
Offer to create missing plugin directory
1 month ago
Mark Roszko
bf82217217
Fix leftover printf float in gencad writer
1 month ago
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
1 month ago
Seth Hillbrand
826f15a103
Prevent crash in nettie
We need to avoid collecting invalid layers in the net ties regardless of
their origins
1 month ago