Jeff Young
8165fc6c44
Give up trying to infer what kind of polygon the user wants.
In many instances there are 3 valid answers: mimic linewidths, use
centerlines, and build a bounding hull.
Fixes https://gitlab.com/kicad/code/kicad/issues/12950
3 years ago
Jon Evans
64f315c649
Move properties panel to widgets with the other AUI panels
3 years ago
Seth Hillbrand
3460c50afa
Attempt to avoid double-free when shutting down on Windows
3 years ago
Jon Evans
5bbe21f540
Properties: don't rebuild the panel when closing an editor
Fixes https://gitlab.com/kicad/code/kicad/-/issues/12984
3 years ago
Jeff Young
86d7638f10
Fix typo.
Fixes https://gitlab.com/kicad/code/kicad/issues/13005
3 years ago
jean-pierre charras
b3559ae12c
Minor fix: make DIALOG_EXPORT_STEP_PROCESS_BASE correctly re-sizable.
3 years ago
Jon Evans
96fe93618e
Properties: Stop sorting by name
It's more useful to have properties shown in add order,
since we can group them
3 years ago
Jon Evans
611c19016f
Properties: add support for string escaping
Fixes https://gitlab.com/kicad/code/kicad/-/issues/12975
3 years ago
Jon Evans
88495e5be1
Properties: Fix masking of layers for non-copper items
Fixes https://gitlab.com/kicad/code/kicad/-/issues/12884
3 years ago
Jon Evans
7a9467b0d5
Get rid of some gcc warnings
3 years ago
Jeff Young
32836da14b
Don't show annular rings controls for vias that span only a single layer.
3 years ago
Jeff Young
1aad2fb37b
Change via keep-start-end to be start/end, not top/bottom.
The implementation used to always check F_Cu and B_Cu, rather than
where the via started and ended (which will be different for blind/
buried vias and microvias).
3 years ago
Seth Hillbrand
740dbdf09a
De-initialize propertygrid when done
There doesn't appear to be a nice way to de-register wxPropertyGrids, so
we need to reach into the singleton and remove our registered editor.
Fixes https://gitlab.com/kicad/code/kicad/issues/12297
3 years ago
jean-pierre charras
9f0c03db94
Export STEP dialog: Fix outdated text (virtual components). Replaced by
"not mounted components" and added a tooltip.
No actual code change.
Fixes #12922
https://gitlab.com/kicad/code/kicad/issues/12922
3 years ago
jean-pierre charras
3960f48b5d
Fix a fatal compil error on gcc.
3 years ago
Jeff Young
bba6d503d4
Don't keep value of user or grid anchors between invocations.
Fixes https://gitlab.com/kicad/code/kicad/issues/12065
3 years ago
Jeff Young
1b3f03a800
Don't feed wxWidgets negative column widths.
3 years ago
Jeff Young
bc0a753238
Slight improvement to overly-wide checkbox columns.
3 years ago
Marek Roszko
e85a84b8a3
Fix the step export for now
Need to fix argparse to handle single quotes and double quotes better
Fixes https://gitlab.com/kicad/code/kicad/-/issues/12899
3 years ago
Marek Roszko
ea83449ef7
Change up the step export arg handling to single quote for now
Fixes https://gitlab.com/kicad/code/kicad/-/issues/12890
3 years ago
Marek Roszko
3dd2ae762d
Refactor step export to use our normal board processing routines
3 years ago
jean-pierre charras
31bad5baaa
Avoid duplicating similar options in print and plot headers
3 years ago
Jeff Young
3e3ed0f3ee
Formatting and naming. (No functional changes.)
3 years ago
Jeff Young
da171b9665
0,0 origin isn't an option we give to the user.
Fixes https://gitlab.com/kicad/code/kicad/issues/12324
3 years ago
Jeff Young
3f63f9fc57
Don't prune inner layers of through-hole parts.
For historical reasons we've always included ALL inner layers in these
items and changing that has uncovered several latent bugs. Rather
than find all the rest this late in the game, I went back to storing
all inner layers, even those the board doesn't currently have.
Fixes https://gitlab.com/kicad/code/kicad/issues/12863
3 years ago
Marek Roszko
cd30da179a
Round out the cli with position file export
3 years ago
dsa-t
0b3ecdd968
Revert "Fix handling of self-intersecting polygons"
This reverts commit ed309e20da
3 years ago
Jon Evans
dd94b2d3a7
Rename PROPERTIES to STRING_UTF8_MAP for clarity
This class has nothing to do with the properties system
3 years ago
Jon Evans
68de92313e
Properties: move to custom editor for distances; refactoring
Also fix display of angle values since EDA_ANGLE was introduced
Fixes https://gitlab.com/kicad/code/kicad/-/issues/12290
3 years ago
Jeff Young
0883c0ae64
Remove shadow member variable.
Fixes https://gitlab.com/kicad/code/kicad/issues/12830
3 years ago
Jeff Young
7b0535e63f
My build seems to want to check this in.
I thought the compiled files were outside of the tree?
3 years ago
Jeff Young
9fafd6feff
Add missing constraint type to help.
3 years ago
Marek Roszko
bc45ae1b72
Move a dialog that was hiding in the filetree
3 years ago
Seth Hillbrand
ed309e20da
Fix handling of self-intersecting polygons
We allow temporary self-intersection but before committing, we reduce
the polygon to a single outline (optionally with holes)
Fixes https://gitlab.com/kicad/code/kicad/issues/12806
3 years ago
Wayne Stambaugh
e1af4c5cf6
Pcbnew move item dialog layout improvements.
Don't use wxBU_EXACTFIT to define the reset buttons. On GTK, there is no
border around the button text which does looks cramped and inconsistent
with the other buttons.
3 years ago
Jon Evans
5f0ebfbfbd
Expose black&white setting for PDF plotting also
Also fix an issue plotting tech layers for pads in color
Fixes https://gitlab.com/kicad/code/kicad/-/issues/12740
3 years ago
Marek Roszko
b058ef2d87
Add the missing black and white setting to Plot -> SVG
3 years ago
Jeff Young
d16b23d16e
Name shortening and line-break reduction.
3 years ago
Jeff Young
e3842514e7
Move courtyard collision setting to preferences.
Also cleans up PCBNew/FPEditor edit options panel to be more in sync
with each other.
3 years ago
Jeff Young
437d2c4589
Overhaul of remove-unconnected's zone filling and drawing strategies.
1) The highest priority zone that a via/pad collides with "owns" its
connectivity state. Once set, lower priority zones cannot change it --
and in fact, if they would have connected to it are forced not to.
2) The connectivity state goes with the zone fill state, and therefore
must be saved in the file.
3) Display of remove-unconnected's pads is no longer done in GetViewLOD()
(which isn't called for selected items), and is instead done in PCB_PAINTER.
This allows us to draw the full pad in outline mode when a via/pad is
selected which would otherwise only show the hole.
4) Note that in some cases this will still generate DRC errors -- in
particular when a via nearly collides with a higher priority zone it
won't get "owned" by that zone and may therefore have insufficient
clearance if said zone concludes it's unconnected and a subsequent
(lower priority) zone connects to it (causing it to now become flashed).
Fixes https://gitlab.com/kicad/code/kicad/issues/11299
3 years ago
Wayne Stambaugh
598b09821a
Coverity fixes.
3 years ago
Jeff Young
631980b0ab
We were saving the old board pointer, but not updating the current one.
This also makes a few other adjustments to order and to where we look
for the enabled layers which should make it more robust.
Fixes https://gitlab.com/kicad/code/kicad/issues/10925
3 years ago
Jeff Young
7ffdfb1067
Clear Scintilla undo history after setting initial text.
Fixes https://gitlab.com/kicad/code/kicad/issues/12650
3 years ago
Jeff Young
efa14e501c
Cleanup.
3 years ago
Jeff Young
bd1114d94d
Move footprint properties dialogs to symbol properties grid resizing strategy.
Fixes https://gitlab.com/kicad/code/kicad/issues/9883
3 years ago
Jeff Young
e02c05d38f
Add unit and eval support to WX_GRIDs.
Fixes https://gitlab.com/kicad/code/kicad/issues/1871
Fixes https://gitlab.com/kicad/code/kicad/issues/4285
3 years ago
Jeff Young
35a14b8e5d
Better error messages (and make an empty pad an error, not a warning).
3 years ago
Marek Roszko
3b63ce8a48
Don't use the 3d resolver config anymore
3 years ago
jean-pierre charras
27f8abd8a1
Fix compatibility with wxWidgets 3.0
change wxOVERRIDE -> override
3 years ago
Marek Roszko
aaa1d166a7
Redirect step export output to a pretty window
3 years ago