Alex Shvartzkop
e0158a8ed7
DXF plotting: write zero-sized rects and circles as points.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15862
(cherry picked from commit 3e82e59c24
)
2023-10-22 13:55:54 +03:00
Alex Shvartzkop
40e7ba67d1
PDF plotting: fix zero-sized or too thick rectangles.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15862
(cherry picked from commit 843bd4f79c
)
2023-10-22 13:22:42 +03:00
Wayne Stambaugh
e664605c90
Fix false positive DRC footprint parity test.
...
This fix removed the Euclidean normalization test and replaced it with an
arc center X and Y coordinate differential check. The error epsilon was
increased to 200nm due to the arc center position calculation code using
the near 100nm position.
https://gitlab.com/kicad/code/kicad/-/issues/15917
2023-10-21 12:37:17 -04:00
Jeff Young
5a51a6b179
Make offset-zone check multi-layer aware.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15916
(cherry picked from commit b97d8ddef4
)
2023-10-21 15:09:37 +01:00
Jeff Young
eb7929ccb6
Fix layer handling for create similar zone.
...
(cherry picked from commit f18ce8c6de
)
2023-10-20 22:22:27 +01:00
Jeff Young
e85eec2e6b
Don't leave deleted items in a group.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15797
(cherry picked from commit 14d5a404b2
)
2023-10-19 17:52:00 +01:00
Alex Shvartzkop
121394c0c0
vcpkg: Lock glm at 0.9.9.8#2
...
Version 2023-06-08 changed the default order of quaternion
values from xyzw to wxyz, which we don't support.
Fixes animations in the 3D viewer.
(cherry picked from commit a52ee04fc7
)
2023-10-16 14:55:57 +03:00
jean-pierre charras
5ad74d58f8
pcb_calculator/transline/stripline: add missing conv from log to db.
...
From master branch
Fixes #15873
https://gitlab.com/kicad/code/kicad/-/issues/15873
2023-10-16 10:35:22 +02:00
Ian McInerney
afe2516d57
Fix casing for gerber wildcards
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15877
(Cherry-picked from 55caa9c1e8
)
2023-10-15 19:54:05 +01:00
Jeff Young
ccf6e78cd5
It is legal to have nullptr zones in the m_CopperZoneRTreeCache.
...
(Though we might want to re-think this strategy....)
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15853
2023-10-14 22:35:06 +01:00
Jeff Young
fef91fc8b9
Fix merge breakage.
2023-10-14 15:33:00 +01:00
Jeff Young
4156587abe
Don't assume an error location for PAD::GetEffectivePolygon().
...
While ERROR_INSIDE was good for plotting, 3D generation, etc., it's
not good for generating router hulls.
Also reverts part of the change to always use polygons for PNS::SOLIDs. A single shape in a SHAPE_COMPOUND will be faster (and
more accurate).
Fixes https://gitlab.com/kicad/code/kicad/-/issues/14898
(cherry picked from commit 62d959ed0e
)
2023-10-14 15:33:00 +01:00
Jon Evans
629eccaf09
PNS: Allow for approximation error in hull clearance
...
Also revert to using exact hulls for non-compound shapes
Fixes https://gitlab.com/kicad/code/kicad/-/issues/14898
(cherry picked from commit 96f9f2c658
)
2023-10-14 15:33:00 +01:00
Jeff Young
f89803eb64
Don't turn an empty string into a '0'.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15871
(cherry picked from commit 0b06a1376b
)
2023-10-14 15:33:00 +01:00
Jeff Young
da12746a3a
Clear selection before deleting board layers.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15866
(cherry picked from commit 8d3047d6eb
)
2023-10-14 15:33:00 +01:00
Jeff Young
b023019b0d
Include solder mask in STEP export stackup height.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15632
(cherry picked from commit b4986030da
)
2023-10-14 15:33:00 +01:00
Jeff Young
1fdaa1083e
Honour custom layer names for Layer_Top and Layer_Bottom.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15835
(cherry picked from commit da5f5536c8
)
2023-10-14 15:33:00 +01:00
Jeff Young
2f8e846b9e
Adjust colours in appropriate direction depending on background.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15841
(cherry picked from commit 3f0067cbaa
)
2023-10-14 15:33:00 +01:00
Alex Shvartzkop
e42db52d14
Fix a crash when using length tuning tools.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15874
(cherry picked from commit 61bdee027b
)
2023-10-14 16:54:16 +03:00
Alex Shvartzkop
d4ec455ce0
Fix loading thru-hole pads when drill token is missing.
...
(cherry picked from commit f7ed9cc5c7
)
2023-10-14 15:52:57 +03:00
Alex Shvartzkop
0547c7ba91
Fix loading legacy (until 2009) schematic files.
...
(cherry picked from commit b87496b834
)
2023-10-14 15:45:20 +03:00
Alex Shvartzkop
8f4b809599
Fix the insufficient privileges message in symbol remap dialog.
...
(cherry picked from commit 7b94ecdc01
)
2023-10-14 15:44:52 +03:00
jean-pierre charras
8432fb4fea
Pcbnew: when adding layers, do not change via layers.
...
Via layers are not defined by a LSET, and the code that used the new LSET
broke the Via start and/or end layers (for blind/buried vias)
From master branch
Fixes #15856
https://gitlab.com/kicad/code/kicad/-/issues/15856
2023-10-14 08:56:19 +02:00
Marek Roszko
84df2c86ae
Fix ambiguous cast
2023-10-13 19:26:16 -04:00
Mark Roszko
49ced23ba8
Reduce the boost dependencies in vcpkg
2023-10-13 17:03:57 +00:00
jean-pierre charras
00bf2ca36f
Pcbnew: rename ZONE* m_SolderMask to m_SolderMaskBridges
...
(It is a container to build bridges on solder mask layers by DRC, not real zone)
Disable also this special zone selection by adding it in
PCB_SELECTION_TOOL::itemPassesFilter
Do not display the outlines of this very special zone used by DRC
to show layer mask bridges created by DRC to show these bridges.
From Master branch
Fixes #15847
https://gitlab.com/kicad/code/kicad/-/issues/15847
2023-10-13 17:15:37 +02:00
Marek Roszko
b92861c7e3
Bump the wxpython in vcpkg to fix build
2023-10-13 07:51:27 -04:00
Mark Roszko
a189102628
Move vcpkg forwards for curl and wx
2023-10-12 23:22:28 +00:00
jean-pierre charras
58a6eb653b
protect protect RC_ITEM::SetItems() against null pointer.
...
Fixes #15865
https://gitlab.com/kicad/code/kicad/-/issues/15865
2023-10-12 14:56:56 +02:00
Alex Shvartzkop
9159f5a004
Restore fill polygons on proper layers when flipping zones.
...
(cherry picked from commit 0ea85ec9f5
)
2023-10-12 02:45:05 +03:00
jean-pierre charras
f1c570d793
OPENGL_GAL: ensure 0 sized rect with thickness is shown (already shown by Cairo)
...
From master branch
Fixes #15850
https://gitlab.com/kicad/code/kicad/-/issues/15850
2023-10-11 20:08:15 +02:00
Marek Roszko
832af39f34
Unbind ACTION_MENU events in destructor
...
(cherry picked from commit d801037c93
)
2023-10-11 00:17:03 +00:00
Seth Hillbrand
9260f58803
Fix memory leak in connection graph
...
When generating virtual connections to represent bus aliases, we need to
store the pointers for future deletion otherwise we will leak the memory
2023-10-06 09:14:07 -07:00
Seth Hillbrand
1a5c515e45
Improve pin-pin iteration in ERC checks
...
Rather than generating expensive classes to store in a set to check for
duplicate checks, we avoid double-checking elements in the vector. For
large schematics this results in a substantial speed increase
2023-10-06 09:14:07 -07:00
jean-pierre charras
87c8688f70
genDrillMapFile: reduce the pen width used to plot oval shapes (better look)
...
From master branch
2023-10-06 09:33:57 +02:00
Alex Shvartzkop
d13179f9e4
EAGLE PCB: fix a regression causing polygons not being imported.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15829
(cherry picked from commit bf29b25190
)
2023-10-06 01:16:43 +03:00
Seth Hillbrand
75de21314c
Protect against subgraph loops
...
Optimize the subgraph processing to avoid repeated loops when multiple
items belong to the same subgraph.
2023-10-05 08:39:56 -07:00
Jeff Young
239f8e0905
Pull fixes back from master.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15813
2023-10-04 19:25:28 +01:00
Jeff Young
f4ac624bb3
Make sure sorts are deterministic.
2023-10-04 18:52:39 +01:00
Jeff Young
2be0b98135
Make sure sort is deterministic.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15336
(cherry picked from commit 0d51729537
)
2023-10-04 18:51:59 +01:00
Jeff Young
36c5719535
Fix logic screw-up in earlier commit.
...
(cherry picked from commit f2c0f4c87f
)
2023-10-04 18:51:37 +01:00
Jeff Young
1f870bf76c
Handle justification when hit-testing fields.
...
This steals the algo used in SCH_PAINTER to get the right coords
for the text.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15722
(cherry picked from commit 6fbbf981f0
)
2023-10-04 18:51:33 +01:00
Jeff Young
d5cc334e20
Clear render caches before plotting.
...
Also fixes a bug where text variables in LIB_TEXT weren't getting
expanded when plotting.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15765
(cherry picked from commit 003acbd686
)
2023-10-04 18:49:56 +01:00
Jeff Young
fd98188ee4
Use netclass values when reaching netclass entry.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15774
(cherry picked from commit 904bdc3c66
)
2023-10-04 18:49:03 +01:00
Jeff Young
c3446f9c2d
Handle flipped state when checkging item against viewport.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15768
(cherry picked from commit 3c1478367f
)
2023-10-04 18:48:42 +01:00
Marek Roszko
e6e29b6c4c
Unbind events in DIALOG_PCM destructor
...
Maybe fixes KICAD-KR
(cherry picked from commit b00871ad77
)
2023-10-02 00:20:46 +00:00
Marek Roszko
6096b5c4d8
Unbind event handlers in the DIALOG_SHIM destructor to prevent late event crashes
...
Fixes KICAD-1XF
(cherry picked from commit 3a567a3ae1
)
2023-10-01 21:55:36 +00:00
jean-pierre charras
838eadd47f
Eeschema: fix a crash when loading a schematic if a symbol in a sheet has
...
a lib_name containing {slash} instead of /
(related to commits #2f51d22b and b2bf28f5
)
From master branch.
Fixes #15791
https://gitlab.com/kicad/code/kicad/-/issues/15791
2023-10-01 10:08:33 +02:00
jean-pierre charras
afb43531e8
Eeschema: fix a crash when loading a schematic if a symbol in a sheet has
...
a lib_id containing {slash} instead of /
(related to commit #2f51d22b)
Fixes #15791
https://gitlab.com/kicad/code/kicad/-/issues/15791
2023-09-30 18:25:18 +02:00
Jon Evans
3533e8b119
DbLib: support columns with numeric data
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15662
(cherry picked from commit 6f9af10912
)
2023-09-30 10:27:34 -04:00