Seth Hillbrand
e308d65108
Ignore hidden text fields when cross-probing
...
Zoom-to-selection should only show the elements that we can see, so
avoiding hidden fields in footprints keeps the zoom window appropriately
sized
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15245
(cherry picked from commit 416033e8e5
)
2024-06-29 08:02:57 -07:00
Jeff Young
265e2d61be
Clear timestamp when clearing cache.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17913
(cherry picked from commit 5a9b681009
)
2024-06-25 13:56:33 +01:00
Jeff Young
4ee2a007eb
Hidden footprint libraries are not yet supported.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/18183
(cherry picked from commit b7161181e8
)
2024-06-25 13:54:56 +01:00
Seth Hillbrand
a3d64d604c
Silence font replace warnings for libs
...
When loading schematics/pcbs, notification of font replacements might be
warranted but in libraries, this warning is not helpful and intrusive
(cherry picked from commit 11c6164934
)
2024-06-24 12:01:30 -07:00
Jeff Young
245894e8eb
Pull netname bug fixes and performance improvements back from master.
2024-06-14 19:01:37 +01:00
Jeff Young
c6215b08ed
Use wxWidgets to track DPI.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17981
(cherry picked from commit 931de12072
)
2024-06-03 18:47:43 +01:00
Jeff Young
9721559005
Push multi-sweep traces down into MathPlot.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17215
(cherry picked from commit edae328ca6
)
2024-06-03 18:29:37 +01:00
Jeff Young
561b2d490d
Handle font when reading render cache.
...
(Also fixes a bug where the cache's triangulation wasn't
cached.)
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17666
(cherry picked from commit e332320108
)
2024-05-21 11:36:36 +01:00
Jon Evans
1defa3872e
Clear field listener when quitting
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/18016
(cherry picked from commit 2836025402
)
Co-authored-by: Jon Evans <jon@craftyjon.com>
2024-05-17 00:50:48 +00:00
Jeff Young
1a932cb13b
Don't modify radius when editing center.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17192
(cherry picked from commit 1290228fbf
)
2024-05-09 23:36:32 +01:00
Alex Shvartzkop
c7dd993439
Add OpenGL info to About.
...
(cherry picked from commit 5e14ae9698
)
2024-05-05 21:58:10 +03:00
Jon Evans
b8fa10ab2b
Add optional reporting of non-KiCad design issues
...
Also add HTML reporter to PCB side to match schematic
2024-05-04 11:27:22 -04:00
Jon Evans
3c99a3797e
DbLib: Fill entire table if cache is empty when loading one part
...
The "already placed parts" feature causes a situation where many
single-part queries are placed before the cache is even filled.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17940
2024-05-03 17:03:55 -04:00
Jeff Young
2ee2d7d5d9
Separate Compare Footprints from DRC.
...
(We want to ignore some of the flags for DRC.)
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17819
(cherry picked from commit 43e6006306
)
2024-04-29 16:27:24 +01:00
Seth Hillbrand
1ca0737c34
Replace stale pin references with UNDO copy
...
When we replace a symbol with one that has fewer pins, the old pins
are released, which leaves points to them in the connection graph
dangling. This updates the pointer to use the cloned copy in the undo
stack until the connection graph is rebuilt with the new data
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17851
(cherry picked from commit 315ad0e071
)
2024-04-24 12:55:30 -07:00
Jon Evans
a042d1aab4
Show all library children if library name matches search
2024-04-02 18:51:19 -04:00
Alex Shvartzkop
bac0820864
Improve moving, rendering and plotting of very small angle arcs.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17110
(cherry picked from commit b905b4eac8
)
2024-04-02 21:41:09 +00:00
Jeff Young
4bea619855
Make sure users don't run into min text size.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17543
(cherry picked from commit fc572bfbc6
)
2024-03-29 17:45:13 +00:00
Céleste Wouters
76e0f94532
Improve SHAPE_POLY_SET fracture performance
...
Refactors `SHAPE_POLY_SET::fractureSingle()` to be more efficient, while
not changing the actual algorithm:
* increase cache locality by using contiguous arrays instead of what was
effectively a linked list
* reduce latency and jitter by replacing per-edge allocator calls with
ahead-of-time std::vector reserves
* increase cache efficiency by making the vertex struct smaller
* replace O(n^2) leftmost edge search with O(n log n) std::sort
* sort the polygons instead of the edges
* cut iteration count in half in the remaining O(polygons * edges) part
(cherry picked from commit e98c9f283f
)
2024-03-28 13:10:43 -07:00
Seth Hillbrand
d2db96886d
Add logging and area check to tesselation
...
Logging is useful when we find an area that cannot be triangulated.
This will be used to generated test cases.
Skipping minor untesselated areas means that the polygon will still be
considered fully tesselated (and not sent back again and again) even if
the tesselation misses an area less than the configured limit.
Currently, this is 31^2nm.
(cherry picked from commit 7e7fec69f6
)
2024-03-28 13:10:43 -07:00
Seth Hillbrand
3d4a7c7c3f
Update triangulation
...
(cherry picked from commit 4f03bb2fb6
)
2024-03-28 13:10:43 -07:00
arturo182
d46139d5e3
kicad_advanced: Make OCE tesselation deflection configurable
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17168
(cherry picked from commit 41147dc3b3
)
2024-03-28 13:10:43 -07:00
Jeff Young
9704543b7a
Don't assume all glyphs are outline with an outline font.
...
Underline and overbar may be stroke glyphs.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17478
2024-03-18 22:20:44 +00:00
Alex Shvartzkop
ddec1d5317
Disable infinite panning when using XWayland.
...
Cursor warping doesn't work properly in this scenario.
https://gitlab.com/kicad/code/kicad/-/issues/14109
(cherry picked from commit 463b609993
)
2024-03-15 01:17:50 +03:00
Alex Shvartzkop
6df17bba99
Fix rendering/plotting of arcs with tiny angle and huge radius.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17343
(cherry picked from commit 4d66a8ebdb
)
2024-03-15 01:17:50 +03:00
Jeff Young
09bc9cd77a
Grid properties for GerbView.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17372
(cherry picked from commit 1152b0462c
)
2024-03-14 18:05:18 +00:00
Jeff Young
e893ed4590
Pass symbol's netlist to footprint preview widget.
...
This allows us to show the pin functions on the corresponding
pads.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17349
(cherry picked from commit 72ba31ba27
)
2024-03-14 18:04:52 +00:00
jean-pierre charras
c0fd138706
Pcbnew, pdf plotter: fixes and enhancements.
...
* To select a footprint info, Use the bbox with not text as selectable area
* Fix also incorrect position of footprint bbox when plotting with offset
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17355
2024-03-10 13:09:41 +01:00
Yon Uriarte
3d67ab72c6
Performance
...
Cache VIEW_ITEM's bbox in VIEW_TREE for faster removals.
Fixes https://gitlab.com/kicad/code/kicad/issues/16841
(cherry picked from commit 464f185387
)
2024-03-02 00:06:24 +00:00
Jeff Young
53d8e2c8c3
Separate "use board stackup colors" into separate checkbox.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17085
(cherry picked from commit 8dddd9cc2c
)
2024-03-01 23:45:37 +00:00
Jeff Young
dafd62ddba
Unflip when going to viewport which isn't flipped.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/13773
(cherry picked from commit c23550dc0b
)
2024-02-29 17:38:32 +00:00
Alex Shvartzkop
c59fac4089
Use a version string without the extra packaging info in drawing sheets.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17176
2024-02-29 04:24:16 +03:00
Seth Hillbrand
7d1adff071
Store group id rather than group
...
We only need the group storage id for lookup. Storing the KIID instead
of a copy of the group avoids unneeded overhead
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17175
2024-02-28 13:27:08 -08:00
jean-pierre charras
57b9b1b6b6
Add option to Footprint Chooser to switch between the selected fp or its 3D view
...
Fixes #16173
https://gitlab.com/kicad/code/kicad/-/issues/16173
2024-02-28 14:42:17 +01:00
Alex Shvartzkop
d359fb8ab9
Cairo GAL: reduce buffer allocation sizes.
...
cairo_format_stride_for_width() result is in bytes.
Also removes unneeded extra width.
2024-02-28 03:50:17 +03:00
Jon Evans
ffa1d19216
Don't rely on dynamic_cast across DLLs
...
See https://gitlab.com/kicad/code/kicad/-/issues/16998
(cherry picked from commit e9456201a7
)
2024-02-27 03:11:17 +00:00
Alex Shvartzkop
fdf38256e8
Fix floating point rounding issues with scaled parameteres in settings.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17070
2024-02-23 17:22:20 +00:00
Alex Shvartzkop
e68df8e1d1
Performance optimizations for database libraries.
2024-02-23 17:22:20 +00:00
Jeff Young
f4a085575a
Show friendly name in toolbar button tooltips.
...
(Don't require the same text to be put into the tooltip.
It's error-prone and also disallows us from having a separate
tooltip for toolbar buttons.)
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17009
2024-02-22 23:37:13 +00:00
Jeff Young
baaed8ed84
Formatting.
2024-02-22 23:36:54 +00:00
Jeff Young
7446fba70a
Keep Mac debugger from crashing with breakpoints in .h files.
2024-02-22 23:36:50 +00:00
Jeff Young
162e8962f7
Add a cache for TrueType contours and triangulation data.
...
Also returns minimumSegmentLength to its former value as
it doesn't appear to be required to fix
https://gitlab.com/kicad/code/kicad/-/issues/11463 .
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/16568
2024-02-22 23:36:16 +00:00
Alex Shvartzkop
1a65c0091f
Tweak default meander settings.
2024-02-20 03:20:08 +00:00
Jon Evans
7b0bb59b37
Remove hard-coded versioned env vars in most places
2024-02-15 15:31:08 +00:00
Seth Hillbrand
0775d1364a
Add bezier icon
...
Fixes https://gitlab.com/kicad/code/kicad/issues/16830
2024-02-14 02:01:01 +01:00
Marek Roszko
f73d45b0cf
Add $schema prop to drc/erc
2024-02-13 19:08:55 -05:00
Marek Roszko
6db6e85161
Set an excluded property in json reports for erc/drc
2024-02-13 18:38:26 -05:00
Seth Hillbrand
f303996f9c
Add new icons for tools
...
Align elements to grid
Cleanup graphics
Cleanup tracks/vias
Drag
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16206
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16205
2024-02-09 15:55:57 -08:00
Seth Hillbrand
cabbab9a5f
Move pcbnew drag to move specific icon
2024-02-09 15:55:57 -08:00
Jeff Young
aef6b2a66e
nullptr safety and a bit of wxT'ing.
2024-02-09 13:56:01 +00:00