Jeff Young
fc1afa6298
Improvements to convert tool.
1) Handle filled shapes
2) If a chained outline can't be found, build hulls of the individual
segments
3) Combine intersecting shapes
4) Simplify code
Fixes https://gitlab.com/kicad/code/kicad/issues/git
Fixes https://gitlab.com/kicad/code/kicad/issues/5911
3 years ago
Jeff Young
2bf33321d1
Update constraint mode in status bar during move.
Fixes https://gitlab.com/kicad/code/kicad/issues/10465
3 years ago
jean-pierre charras
aabc3b3cc6
FP editor: fix crash when duplicating a footprint.
Fixes #12098
https://gitlab.com/kicad/code/kicad/issues/12098
3 years ago
Jeff Young
cb6a2552d9
Use the FPEditor's status bar messages for FPBrowser.
Fixes https://gitlab.com/kicad/code/kicad/issues/11404
3 years ago
jean-pierre charras
4d48376eae
Fix some warnings detected by PVS-STUDIO (not used vars)
3 years ago
Jeff Young
ee0f93ed17
Fix some issue with hierarchy panel on OSX.
Also moves the option toolbars tight to the canvas for all windows.
Fixes https://gitlab.com/kicad/code/kicad/issues/12087
3 years ago
Jeff Young
032708860b
Include both text shapes and border shapes in textbox.
Fixes https://gitlab.com/kicad/code/kicad/issues/11806
3 years ago
Jeff Young
e10158ff10
ADDED show pin names on footprint pads when assigning to symbol.
Fixes https://gitlab.com/kicad/code/kicad/issues/4576
3 years ago
Jeff Young
1bad72f14f
Remove bad static_cast.
(m_settings isn't a PCBNEW_SETTINGS in non-PCB_EDIT_FRAMEs)
3 years ago
jean-pierre charras
82167a7c96
Avoid crashes when, for some reason, a dll cannot be loaded.
In this case a null pointer was returned by the internal code.
This pointer is now tested against nullptr to avoid the application crashing.
Fixes #12080
https://gitlab.com/kicad/code/kicad/issues/12080
3 years ago
jean-pierre charras
0604d7b813
Fix minor compil and Coverity warnings.
3 years ago
jean-pierre charras
c16d0603c6
Add fix missing in my commit 8eee7667
3 years ago
Jeff Young
fa679d3601
Pinned libs can also be found in program settings.
3 years ago
jean-pierre charras
8eee766791
Fix Cvpcb DISPLAY_FOOTPRINTS_FRAME: some display options not working. Commit 5e4a7041 moved 4 settings used in Cvpcb to a PCBNEW_SETTINGS struct. But in Cvpcb, this config struct does not exist. So these 4 settings are now moved to a section (PCB_VIEWERS_SETTINGS_BASE) common to Cvpcb and Pcbnew config.
3 years ago
Jeff Young
f0ef6932b8
Fix issues with plotting textbox outlines.
Fixes https://gitlab.com/kicad/code/kicad/issues/11943
3 years ago
Jeff Young
280ff3ccdc
Fix net highlight command enablement.
These always need to be enabled so that the current highlight can
be cleared.
Fixes https://gitlab.com/kicad/code/kicad/issues/12058
3 years ago
Jeff Young
9dd3bbf2cb
Change highlight net hotkey default.
Fixes https://gitlab.com/kicad/code/kicad/issues/12051
3 years ago
Jeff Young
bf5e649e44
Fix log errors in new solder masking checking code.
3 years ago
Jeff Young
f41af10007
Clean up hole shapes for safety (smart pointer) and consistency.
3 years ago
Jeff Young
a2c002e1da
Improve solder mask aperture testing.
1) For solder mask apertures report both the aperture and both
exposed items.
2) Don't process solder mask apertures in footprints with the
"bridging allowed" flag set.
Fixes https://gitlab.com/kicad/code/kicad/issues/12064
3 years ago
Jeff Young
5442d284f4
Improve strings for highlight net commands.
3 years ago
Jeff Young
def87c969e
Redo the pinned-libraries storage architecture.
1) always use preferences directly
2) allow nicknames from either preferences or project
3) store-after-modify
Fixes https://gitlab.com/kicad/code/kicad/issues/12000
Fixes https://gitlab.com/kicad/code/kicad/issues/11892
3 years ago
Jeff Young
b80fd5329d
Clear dimension pointer after committing.
Fixes https://gitlab.com/kicad/code/kicad/issues/11864
3 years ago
Jeff Young
004abcd370
Leave originally selected items selected after cancelled move.
Fixes https://gitlab.com/kicad/code/kicad/issues/12024
3 years ago
Marek Roszko
b6b4ae959e
Shuffle around the helper script folders
3 years ago
Seth Hillbrand
16e3d40552
ADDED: Display calculated clearance in status bar
In addition to showing resolved clearance, we also show the calculated
clearance in the same method as is used for DRC. This will allow users
to better examine their system while working.
Fixes https://gitlab.com/kicad/code/kicad/issues/7934
3 years ago
Seth Hillbrand
9b74372f9d
Minor spelling fix
3 years ago
Tomasz Wlostowski
e558893851
router: use actual snap point position for routability checks of a segment instead of the segment endpoint(s).
Explanation:
- place a long segment A with something violating the rules close to its endpoint
- try to start routing in the 2/3 of the length of A (on the obstacle side)
- bummer - the router picks the nearest endpoint of A for the collision check (even though we don't care about this collision since we want to route far away from it)
3 years ago
Mike Williams
f8b157a1fb
PCB: Bitmaps should respect layer opacity and highlighting options
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/12045
3 years ago
Jeff Young
012d861aab
Get rid of error-prone reverse logic.
Fixes https://gitlab.com/kicad/code/kicad/issues/12049
3 years ago
Jeff Young
6a9c6e8599
Hook up ID_GRID_SETTINGS for footprint viewers.
Fixes https://gitlab.com/kicad/code/kicad/issues/12030
3 years ago
Jeff Young
763c77eab8
DXF parameters are for DXF (only).
Fixes https://gitlab.com/kicad/code/kicad/issues/12021
3 years ago
jean-pierre charras
49bf717c0e
fix minor compil warnings
3 years ago
Jeff Young
1ade5a8c72
Fix typo.
And clean up the code just a little to make it clearer.
Fixes https://gitlab.com/kicad/code/kicad/issues/12022
3 years ago
Jeff Young
b727bfc16d
Performance: avoid sqrt at all costs.
3 years ago
Jeff Young
d0547cbde7
Don't allow 0 line-width for unfilled shapes.
Fixes https://gitlab.com/kicad/code/kicad/issues/12010
3 years ago
Jeff Young
2f00b4e170
Delete multiple rows if selected.
Fixes https://gitlab.com/kicad/code/kicad/issues/12013
3 years ago
Jeff Young
aa9fe58abe
Don't duplicate user-defined track widths, via sizes or DP dims...
... when appending to board.
Fixes https://gitlab.com/kicad/code/kicad/issues/12014
3 years ago
Seth Hillbrand
c8a383a48e
Get via font fill/color correct when highlighted
Fixes https://gitlab.com/kicad/code/kicad/issues/11802
3 years ago
Seth Hillbrand
595e5cb3f2
Add sort feature to pre-defined list
Board setup rows should be sortable when inserting new elements. They
get sorted when saving, this keeps that representation while editing
Fixes https://gitlab.com/kicad/code/kicad/issues/12015
3 years ago
Jeff Young
2de10080cd
Add edge and margin clearances to message panel.
3 years ago
jean-pierre charras
50bb7c93a1
Fix bug in commit 64e1720f
3 years ago
jean-pierre charras
64e1720f12
FP_SHAPE in pads: always specify fill mode for shapes that can be filled or not.
Fixes #12012
https://gitlab.com/kicad/code/kicad/issues/12012
3 years ago
Jeff Young
c98826c8b0
Open newly-pasted footprint on canvas of Footprint Editor.
Fixes https://gitlab.com/kicad/code/kicad/issues/11398
3 years ago
Seth Hillbrand
93fb00d815
Protect the Kiway dereference
Also find a few more places where we are reaching into a new frame to
perform actions that need to have dialogs closed.
Running actions should also wait for the next cycle rather than being
immediately executed when we are calling into a new frame. This allow
for the cleanup actions onClose() to happen prior to the next action
starting
Fixes https://gitlab.com/kicad/code/kicad/issues/11891
3 years ago
Mike Williams
d44e34d513
Images: Add full properties editor
Converts dialog_image_editor to panel_image_editor. Embeds this panel in
a new properties dialog for the schematic and PCB editors that allows
editing position, layer, locked status, etc. like other items.
3 years ago
Mike Williams
99f8b21ed1
PCB: Add bitmap layer per board layer
4 years ago
Mike Williams
3669cb4673
PCB Editor: Add User Background Images
4 years ago
Seth Hillbrand
b5bf1da251
Keep track of blocking windows
Allows the calling KiWAY player to send messages to the blocking window
before signaling a separate call
Fixes https://gitlab.com/kicad/code/kicad/issues/11891
Fixes https://gitlab.com/kicad/code/kicad/issues/11772
3 years ago
Seth Hillbrand
91e4d5e0ea
Add Apply button to "Edit Text and Graphics"
Allows the user to apply multiple sets of changes without closing the
window
Fixes https://gitlab.com/kicad/code/kicad/issues/11904
3 years ago