Mark Roszko
9dd642b66c
Kick out strtod in legacy parsers
2 months ago
Mark Roszko
d5c0d040b4
Add missing fast_float files
2 months ago
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.
2 months ago
Seth Hillbrand
8acf5c1a25
ADDED: Rounded Rectangles
Fixes https://gitlab.com/kicad/code/kicad/-/issues/4742
2 months ago
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
2 months ago
Seth Hillbrand
a811f61c39
Make Expand Connection respect the filter
Prevents expansion that would require traversing elements that are
disabled in the selection filter
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21581
2 months ago
Seth Hillbrand
50274352b1
Skip exterior segments when splitting
We need to avoid fracture points when choosing how to split exterior
segments
2 months ago
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
2 months ago
Jeff Young
9525fae7c8
Run collision check on correct layer.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21586
2 months ago
Seth Hillbrand
e8cec41355
ADDED: Indication of filter blocking
If the selection filter has blocked all selections under the cursor,
show a subtle flash on which filter(s) did the blocking. Helpful for
people getting frustrated by not being able to select locked items.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20487
2 months ago
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
2 months ago
Mark Roszko
7115f9e716
Drop the FromChar in ConvertNotation
2 months ago
Jeff Young
736d87aa35
ADDED: directive labels checkbox to Schematic Editor Display Settings panel in Preferences.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21577
2 months ago
Jeff Young
eb6b2de648
Fix for the fix (for clang).
2 months ago
Jeff Young
83fab7b02c
Fix undo for move of group-of-shapes.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21563
2 months ago
Mark Roszko
af852ea15d
Protect from_chars from clang
2 months ago
Mark Roszko
fd57f637ac
Revert "Compilers should have complete from_chars support now"
This reverts commit 3a8dd87db4
.
2 months ago
Jeff Young
5c240efd75
Consolidate to single copy of deletableItems.
2 months ago
Mark Roszko
b01c1f39c1
Add missing header
2 months ago
Mark Roszko
3e019ee4ae
pcb plots dont need LOCALE_IO anymore
2 months ago
Mark Roszko
4f32146f9a
nlohmann json is locale independent (uses to_chars)
2 months ago
Mark Roszko
9bc463606a
More redundant LOCALE_IO
2 months ago
Mark Roszko
747106ea37
Redundant include
2 months ago
Mark Roszko
94d83773d0
Drop a LOCALE_IO via std::from_chars
2 months ago
Mark Roszko
3a8dd87db4
Compilers should have complete from_chars support now
2 months ago
Mark Roszko
2cf6ec2411
Remove some obsolete LOCALE_IO
2 months ago
Seth Hillbrand
408e1feae2
Fix Chessboard splitting
Due to a bug(?) in Clipper2, 45° collinear edges may not be detected.
See https://github.com/AngusJohnson/Clipper2/issues/1008 for current
status. In the meantime, we pre-process these to remove the extraneous
joints preventing our triangulation from getting mixed up
Fixes https://gitlab.com/kicad/code/kicad/-/issues/18176
2 months ago
Seth Hillbrand
ea8206eca5
Don't both designers with unneeded changes
If we are not asking for fields to be removed when updating, then don't
say we're doing anything if all we have to do is remove fields
2 months ago
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
2 months ago
Mark Roszko
3eb6caaec6
Move gencad writer to {fmt}
2 months ago
jean-pierre charras
9725ac2215
GERBER_JOBFILE_WRITER: fix incorrect layer id in File Attributes for inner layers.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21569
2 months ago
jean-pierre charras
b349f1988a
PAD: better HitTest( const VECTOR2I& aPosition, int aAccuracy, PCB_LAYER_ID aLayer )
2 months ago
jean-pierre charras
963aa47778
Pcbnew: fix teardrop generation for pads having different shapes by layer.
Teardrop generator used pad::HitTest not testing the hit of a specific layer.
It created false test for some complex pads. Now use a test specific to a layer.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21560
2 months ago
Seth Hillbrand
2f21414186
Revert "Allow netlisting for multi-unit parts"
Breaks QA. need to debug before re-committing
This reverts commit 635445c096
.
2 months ago
Seth Hillbrand
8bd6da3ec9
Revert "Fix build error"
This reverts commit 19e4c3f498
.
2 months ago
Mark Roszko
19e4c3f498
Fix build error
std::string does not have a overload for appending a wchar
2 months ago
modbw
57ad779797
Fix net assignment messed up in Eagle import
When there is a polygon in the Eagle project withput any pad connected
netCode was not incremented and so the wrong nets were assigned to the
following elements.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21243
2 months ago
Adrián García
46084c04b9
pcbnew: avoid missing or wrong lines inside hatched fill polygons
Avoid considering duplicated intersections between a segment of the
hatched fill and the polygon outline or vertices.
Also, check whether the segments of the lines are inside or outside
the polygon, so no lines are drawn outside when the shape is complex.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20450
2 months ago
Seth Hillbrand
635445c096
Allow netlisting for multi-unit parts
Merges pin map from each unit into coherent model prior to exporting for
spice simulation
Fixes https://gitlab.com/kicad/code/kicad/-/issues/1779
2 months ago
Seth Hillbrand
394f6be509
Formatting
2 months ago
Seth Hillbrand
fe4de09d71
Add undo/redo functionality to dialog boxes
Fixes https://gitlab.com/kicad/code/kicad/-/issues/18986
2 months ago
Seth Hillbrand
b832ae7f45
Add checks to copper sliver QA
Fedora still doesn't like our copper sliver QA sometimes. This adds a
bit more to try and get to the bottom of the issue
2 months ago
Seth Hillbrand
8592b2ee70
JP's patch to fix crash in routing empty board
2 months ago
Seth Hillbrand
1e76f1a11d
Ensure that we check tracks exiting pads for gaps
The DP gap check should look for sections of track that are coupled by
wider than a given spacing. Our primitive check of looking for
collisions on the segment between the start poins causes tracks exiting
but not entering pads to be excluded.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21561
2 months ago
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
2 months ago
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
2 months ago
Seth Hillbrand
2db8c6eca0
Maintain group membership when shoving
Keep track of the original group membership and assign this to the newly
created element as well
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20862
2 months ago
Seth Hillbrand
9c577a4f4c
Allow mid-track teardrops
Tracks passing through but not stopping at pads/vias should still get
teardrops
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21246
2 months ago
John Beard
0f0527bd03
Pcbnew: fix sensitivity of via placement to large grids
Another case where large grids are overly "grabby" for snaps.
In this case, because the via was moved to the grid-snap first,
and then THAT position was used to look for things like pad-snaps,
the pad snaps would not be found if a coarse grid meant the cursor
was outside the pad.
Instead, use the mouse position when looking for the non-grid snaps
in VIA_PLACER::SnapItem.
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/18626
2 months ago
John Beard
3d8803f579
Pcbnew: use R-tree for pad checks in via place tool
Otherwise this is an O(n-pads-on-board) operation for every new
candidate via position.
2 months ago