wh201906
806daecf85
Add toggleHV45Mode item to the measure tool's context menu
The behavior of the measure tool is influenced by the
horizontal/vertical/45-degree mode, but the context menu of the measure
tool lacks an option to toggle this mode. In contrast, the drawing
tools are also affected by this mode, and their context menu has the
item to toggle this mode.
2 years ago
Jeff Young
88c1fa3e26
Ignore graphic shapes that implement netties.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17223
2 years ago
Marek Roszko
ab759d21f2
Fix more build warnings
2 years ago
Jeff Young
1e6eb652aa
Don't show hidden text in symbol previews.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17526
2 years ago
Jeff Young
7218d501d4
Better locality-of-reference for footprint chooser filters.
2 years ago
Marek Roszko
490dbfdf83
Fix build warnings
2 years ago
aris-kimi
d7abed2d60
Footprint Chooser dialog: Allow toggle buttons to work simultaneously
2 years ago
Seth Hillbrand
2a6a29830d
Fix windows icons. Need 256 not 128px
2 years ago
Seth Hillbrand
a793fa8b17
Fix typo in triangulation return
2 years ago
Seth Hillbrand
00d108498f
Avoid crashing on missing tracks in CADSTAR
We can't assume that the ignored connection exists when trying to set
the junction size. We use int_max for the default instead of 0 so that
later, we don't try to create a minor track with 0 width in loadNets()
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17523
2 years ago
Seth Hillbrand
6b915049d1
Check singular arcs connection
Even if there are no other segments in the line chain, we still should
check for arc connections in cases of individual arcs on a line chain
2 years ago
Seth Hillbrand
e11cc322fd
Add colored tab to fileicons
Allows differentiation when Windows badges the bottom left
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17525
2 years ago
Jeff Young
90566eb735
Setup default colors in the COLOR_SWATCHes.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17517
2 years ago
Jeff Young
a3f3da5a7d
Implement STROKE_PARAMS::Stroke() for SH_RECT.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17516
2 years ago
Marek Roszko
d134d7cc2a
Add missing include to force correct linkage
2 years ago
jean-pierre charras
cb8ed07858
GERBER_JOBFILE_WRITER: use UTF8 encoding according to current specif.
Since 2020, non ASCII7 chars are encoded using UTF8 encoding.
A old but incorrect encoding was previously used.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17534
2 years ago
Marek Roszko
f0912b6128
Fix msys2 build
2 years ago
JamesJ
de85b2217b
Re-centralise handling of sort column in net inspector list.
- Includes GTK crash fix from a5ef4f1b
- Additionally removes an unneccesary re-sort when rebuilding columns
- Correctly saves column state when using pcbnew standalone
2 years ago
Seth Hillbrand
a58e7b37ff
Skip small triangles
The minor triangles cost the same amount of compute time as larger ones
but do not have a material effect on the zone display. This skips these
minor triangles when earcutting
2 years ago
Seth Hillbrand
7e7fec69f6
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.
2 years ago
Seth Hillbrand
4f03bb2fb6
Update triangulation
2 years ago
dsa-t
db12f2af49
Disallow cross-probing when not on Symbol Fields Table Edit tab.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17531
2 years ago
Jeff Young
b285545aee
Don't take too long worrying about very small exposed areas.
(And in particular, don't take forever if the min / 10 results
in step being 0.)
2 years ago
Jeff Young
58df9c96f4
ADDED: Expose units and DeMorgan to properties system.
(Also fixes inheritance bug in LIB_PIN's properties.)
2 years ago
jean-pierre charras
4f4ca9f383
Do not run DRAWING_TOOL::PlaceTuningPattern() inside the footprint editor
The footprint editor cannot run the router.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17522
2 years ago
Jeff Young
c5c65f23a4
Internationalise pin info when language changes.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17224
2 years ago
Jeff Young
913e6b47d7
Fix copy/pasta in tooltips.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17515
2 years ago
Marek Roszko
46e301cd7f
Add missing header include that only fails on msys2 ucrt
Weird
2 years ago
Marek Roszko
83ef5fd7d6
Move PGM_BASE to kicommon
2 years ago
Marek Roszko
e32b26ebeb
Move JSON_SETTINGS and PARAMS to kicommon
2 years ago
Mark Roszko
8e31759191
Fix hopefully the last build breakage
2 years ago
Mark Roszko
7b904545e9
Fix explicit wxstring build breakage
2 years ago
Mark Roszko
9947cc0359
Fix another build breakage
2 years ago
Mark Roszko
de6c0fcf25
Fix build breakage due to missing header
2 years ago
Jon Evans
a5ef4f1bef
Net inspector: fix crash when switching boards on GTK
Can't invalidate columns while they are the sorting key
2 years ago
Jon Evans
f00f47df13
wxWidgets 3.3 compatibility: explicit wxString conversion
2 years ago
Jon Evans
e7b6573717
wxWidgets 3.3 compatibility: properties API
2 years ago
Jon Evans
773d241863
wxWidgets 3.3 compatibility: update enum name
2 years ago
Jeff Young
d0df8df7c7
Use a lighter touch keeping internal data structures in sync.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17493
2 years ago
Jeff Young
82c851a4a7
Expose groups to property manager.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17496
2 years ago
Jeff Young
859f553c91
Keep internal data consistent when changing pad type.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17493
2 years ago
Jeff Young
7bdf1c7e0f
Clear flags before depending on them.
(While at first it may look like any item with the flag set
is going to get deleted anyway, if an undo happens then we
end up with table cells with the STRUCT_DELETED flag already
set.)
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17487
2 years ago
jean-pierre charras
90eed8b4b6
Avoid using a nullptr.
2 years ago
Jan Wichmann
66d8f5cae4
pcb_calculator: Feature Calculation of voltage regulator with tolerances
2 years ago
Alex Shvartzkop
800ff9ffb1
STEP export: add location info to edge add failures.
2 years ago
Alex Shvartzkop
75037dd1d1
STEP export: handle small segments connecting two arcs better.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17499
2 years ago
Roberto Fernandez Bautista
69107816f1
nanodbc: Fix use after free
Cherry picked from upstream commit e243834367
e243834367
2 years ago
jean-pierre charras
3303c17c9b
fix minor compil warning (inused var)
2 years ago
jean-pierre charras
f3966371be
Simulation: add export current plot to clipboard and current schematic
These exports are in file menu.
2 years ago
jean-pierre charras
63dd4aed93
Step exporter: workaround to fix issue for boards with main round outline
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17446
2 years ago