Jeff Young
d761b4f22f
RIP LIB_TEXTBOX and LIB_SHAPE.
2 years ago
Jeff Young
e445249720
ADDED: PCB tables.
2 years ago
Alex
3eb3fc9d1e
Fix PCB arc edit point order.
2 years ago
Jeff Young
455fae45d8
Support point editing of inverted rectangles.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16595
2 years ago
Alex Shvartzkop
f99505e190
Fix arc editing bugs when endpoints match.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16532
2 years ago
Jeff Young
2661e7a8ee
Fix over-zealous copy/paste and add a few more comments.
2 years ago
Jeff Young
b13590f4c0
Use preview items instead of highlightNets & status popup
The router preview item can be specific to the part that is being
tuned, rather than the whole net. It's also less visually noisy as
it doesn't dim/undim the rest of the board.
Using kigfx preview items for the status keeps us from having a bunch
of focus issues with the status popup window.
2 years ago
Jeff Young
791aa64950
Functionally it's a "reference image".
The implementation happens to be a "bitmap".
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15932
2 years ago
Jeff Young
ad676e22b8
Don't push a commit we don't own.
2 years ago
Jeff Young
16ec0faa7a
Reduce line-breaking.
Also simplifies handling of generator properties dialogs.
2 years ago
Jeff Young
89011e888c
More modern look & feel for tuning status popup.
(Also includes min and max info, and move string processing out
of router.)
2 years ago
Jeff Young
390bd44f18
Cleanup.
2 years ago
Jeff Young
d916e650f1
Tuning status popup for point editor.
2 years ago
Alex Shvartzkop
be72e07e61
Introduce PCB_GENERATOR.
2 years ago
Alex Shvartzkop
280fe976c4
Add a re-entrancy guard to PCB_POINT_EDITOR.
2 years ago
Marek Roszko
22b733209d
Fail GAL on its header leaking audit
Maybe we should rethink directly accessing GAL so much, but at least 600 files didn't need GAL leaked into them due to view_overlay.h
2 years ago
Jeff Young
d6b75c64e1
ADDED: custom-shaped pad spoke templates.
2 years ago
Jeff Young
69a1b30b8a
Implement undo/redo around Pad Edit Mode changes.
2 years ago
Mike Williams
d9c2e0ab54
PCB: start of grid overrides
Only works for moves.
2 years ago
Jeff Young
0413270012
ADDED: Move Corner To... and Move Midpoint To...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/5012
2 years ago
jean-pierre charras
a16ab0aae1
Replace SHAPE_T::RECT by SHAPE_T::RECTANGLE: RECT creates a collision name
issue with a Windows header on msys2.
Change very similar to the commit 9a47b344
about class PAD_SHAPE.
No actual code change
2 years ago
Ian McInerney
2fb6f19a84
Separate immediate and delayed action dispatch
Using a boolean argument just leads to a lot of trailing booleans in the
function calls and is not user friendly. Instead, introduce PostAction()
to send an action that runs after the coroutine (equivalent to passing
false or the default argument), and leave RunAction as the immediate
execution function.
2 years ago
jean-pierre charras
9a47b34499
Replace PAD_SHAPE::RECT by PAD_SHAPE::RECTANGLE to avoid a collision NAME with a windows header on MSYS2, creating many compil warnings. No actual code change.
2 years ago
Jeff Young
28028c941e
Retire Local/Draw coords distinction from PAD (the last object to have it).
3 years ago
Jeff Young
bbd6c80507
Collapse FP_* down into their PCB_* equivalents.
3 years ago
Jeff Young
23accffc6d
Add Property Inspector support for dimension objects.
Includes changing the class hierarchy so that dimension objects inherit
from PCB_TEXT rather than containing a PCB_TEXT member variable.
3 years ago
Marek Roszko
aacc9746e3
Yeet the last of wxSize/wxPoint to stop leaking gdicmn everywhere
3 years ago
jean-pierre charras
e8114dc49a
Minor compil and Coverity warnings fixes.
3 years ago
Jon Evans
ee0a41e3bc
Remove excess calls to SelectedItemsModified
We really don't want to post these events unless the *selected* items
were actually modified, since it results in a redraw of the properties
panel (which disturbs edit state and causes flicker on MSW).
Now the COMMIT system is responsible for sending this event iff the
commit touches items that are selected.
Side note: UpdateMsgPanel is useless on every app except pl_editor, so
it can probably be refactored/removed at some point.
3 years ago
Alex
5e8227b54a
pcbnew: Support dragging arc center in "Keep endpoints" mode.
3 years ago
Alex
3eb31befed
Fix a delay when dragging arc endpoints in pcbnew.
3 years ago
Alex
da1e5a80a8
Restore removeCorner transition in PCB editor.
Fixes https://gitlab.com/kicad/code/kicad/issues/13133
3 years ago
Alex
6d513e7ecf
Expose changing arc edit mode in arc button context menu and Preferences
Ctrl+Space can still be used to cycle through modes.
Fixes https://gitlab.com/kicad/code/kicad/issues/5412
3 years ago
Jeff Young
9724f6e736
Don't allow zone filling during other editing operations.
It's a very heavy op, and is likely to violate all manner of
assumptions the other ops make.
Fixes https://gitlab.com/kicad/code/kicad/issues/12736
3 years ago
jean-pierre charras
248181e62d
Fix Coverity and compil warnings.
3 years ago
Alex
0b4fc8f50d
Fix bugs in PCB arc editing.
3 years ago
Alex
46d4861187
Use the 45-degree limit button to apply alternative constraint.
3 years ago
Alex
8b0f3f1ee7
Set keeping the center as the default arc editing mode.
3 years ago
Seth Hillbrand
056f45cd70
Fixup most intersecting polygon points
Remaining is the intersecting complex pad, so this keeps the error
message when drawing
Fixes https://gitlab.com/kicad/code/kicad/issues/12806
3 years ago
dsa-t
0b3ecdd968
Revert "Fix handling of self-intersecting polygons"
This reverts commit ed309e20da
3 years ago
Jeff Young
bb618f2d55
Update pointEditor after cancelled move.
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
Marek Roszko
a8613ee80f
Combine Iu2Millimeter & remove PcbMm2iu
3 years ago
Mark Roszko
b00178adb3
Nuke base_units from orbit
3 years ago
Jeff Young
281b9d405a
ADDED ability to specify where pad number (& net name) go on custom shaped pads.
Fixes https://gitlab.com/kicad/code/kicad/issues/6627
3 years ago
Alex
3a76d42630
Cross-probing/selection for multiple items (PCB -> SCH)
Fixes https://gitlab.com/kicad/code/kicad/issues/10469
3 years ago
Alex
405be8d15f
Bounds-awareness in Move, Rotate, point editor, drawing tool
4 years ago
Mike Williams
3669cb4673
PCB Editor: Add User Background Images
4 years ago
Alex
aaf99eb0cc
Performance optimizations.
3 years ago
Jeff Young
de12c63de6
Repair point editing of rotated text boxes.
Fixes https://gitlab.com/kicad/code/kicad/issues/11432
3 years ago