Jeff Young
acfbcb4beb
Make distinction between PCBNew-wide tools and Board-specific tools.
The old names were really hard to keep straight (even for me, who named
many of them).
5 years ago
Marek Roszko
bb4aa15736
Remove extraneous msgpanel update
OnModify right above also calls UpdateMsgPanel
5 years ago
Marek Roszko
e88d41f764
Add bulk add/remove mode flag to the BOARD_LISTENER
This attempts to fix performance when importing large changesets from schematics.
The appearance control is a BOARD_LISTENER that would otherwise redraw per item imported which may cause lockups
5 years ago
Jeff Young
b171d381f0
Collapse Redraw3DView and Update3DView into a single routine.
Also fixes some errors about what the flag meant (model changed,
NOT redraw immediately).
Fixes https://gitlab.com/kicad/code/kicad/issues/6478
5 years ago
Jeff Young
3ca06700fc
Formatting.
5 years ago
Jeff Young
b1adb93c16
PCB_GROUP_Ts need to be added and removed from view.
The SELECTION_TOOL's m_enteredGroup also needs to be updated when
said group is deleted via undo or redo.
Fixes https://gitlab.com/kicad/code/kicad/issues/6493
5 years ago
Jeff Young
bdbb68f813
MODULE -> FOOTPRINT.
5 years ago
Jeff Young
3451ac3088
PCB_MODULE_T -> PCB_FOOTPRINT_T
5 years ago
Jeff Young
63a54d003e
More module -> footprint.
5 years ago
Jeff Young
52a46341db
More module -> footprint.
5 years ago
Jeff Young
84dd5108ba
Remove some "class_" prefixes from files.
5 years ago
Jeff Young
f7333ad64a
Update some classnames including archaic zone names.
5 years ago
Jeff Young
4dc877d0e9
Module -> Footprint.
5 years ago
Jeff Young
0ebea4be53
Cleanup and naming conventions.
5 years ago
Jeff Young
cff1e0ab0a
If not setting modified on a commit, at least update 3D viewer.
Fixes https://gitlab.com/kicad/code/kicad/issues/6296
5 years ago
Seth Hillbrand
f8a4edb1c9
First pass renaming module to footprint
This is mostly in comments and the few remainin text strings that
reference module
5 years ago
Jeff Young
2f49db49bf
Fix fly-off arc handles and move Arc Properties to start/end/angle.
Fixes https://gitlab.com/kicad/code/kicad/issues/5791
5 years ago
Jeff Young
77aa48b825
Fix COMMIT handler for deleting PCB_GROUPs in footprint editor.
5 years ago
Jeff Young
37906511f5
Class renaming.
DRAWSEGMENT -> PCB_SHAPE
EDGE_MODULE -> FP_SHAPE
TEXTE_PCB -> PCB_TEXT
TEXTE_MODULE -> FP_TEXT
5 years ago
Jeff Young
7a4900b8dc
PCB_LINE_T -> PCB_SHAPE_T and PCB_MODULE_EDGE_T -> PCB_FP_SHAPE_T
Also updated footprint text and zone types for consistencey.
5 years ago
Jeff Young
44af3978af
Re-implement undo/redo of group ops in a pointer-safe way.
5 years ago
Jeff Young
ba0bed7a45
Groups don't go in the view, but they do go in an overlay when entered.
5 years ago
Jon Evans
e9b627bfd8
ADDED: Center marker dimension type
5 years ago
Jon Evans
75ffce1a0b
ADDED: Leader dimension object
Fixes https://gitlab.com/kicad/code/kicad/-/issues/5555
5 years ago
Mark Roszko
1082402b33
Convert UNDO_REDO_T to an enum class
5 years ago
Joshua Redstone
ee428876ec
ADDED: Group/Ungroup function
This implements the group/ungroup functions to mark a set of EDA_ITEMs as a unit, allowing them to be moved and rotated as a unit
5 years ago
Jeff Young
efc3f8c29d
Remove unused nets when updating PCB.
Fixes https://gitlab.com/kicad/code/kicad/issues/4247
5 years ago
Jeff Young
7340c97ef9
Undo for schematic-wide operations.
Editing value/footprint fields of multi-unit components.
Find/Change.
Annotation.
Back annotation.
Fixes https://gitlab.com/kicad/code/kicad/issues/2122
Fixes https://gitlab.com/kicad/code/kicad/issues/4869
Fixes https://gitlab.com/kicad/code/kicad/issues/3933
Fixes https://gitlab.com/kicad/code/kicad/issues/4871
Fixes https://gitlab.com/kicad/code/kicad/issues/3899
5 years ago
Seth Hillbrand
491ac0256d
pcbnew: Add a number of missing handles for module zones
5 years ago
Oleg Endo
7bf8a744f1
add support for board listeners
6 years ago
Jeff Young
d69ebfae49
Push tool framework base down into TOOL_HOLDER.
This allows us to use it outside of EDA_BASE_FRAMEs (in this case, in
PANEL_PREVIEW_3D.)
6 years ago
Seth Hillbrand
8c19b4b6ae
pcbnew: Adding arcs to PNS
This is allows ARCs in tracks to be synchronized with
the PNS router. Note this does not yet include the UI components
to route curved traces
7 years ago
Jeff Young
d8cd48aa7f
Allow duplication of module texts from board editor.
Fixes https://gitlab.com/kicad/code/kicad/issues/3829
6 years ago
Jeff Young
490bc2874f
Clean up board commit a bit.
This change makes it so that we don't run the event loop inside
the commit. It's not clear this is an issue, but it seems safer
not to.
Fixes: lp:1852589
* https://bugs.launchpad.net/kicad/+bug/1852589
6 years ago
jean-pierre charras
bc5dcf182f
keepout in footprint: fix some crashes and issues. Create a specific type (PCB_MODULE_ZONE_AREA_T) for zones in footprint. The new class (MODULE_ZONE_CONTAINER) is the same as ZONE_CONTAINER, but the type ID is PCB_MODULE_ZONE_AREA_T instead of PCB_ZONE_AREA_T.
This is mandatory because these zones must be handled differently in many functions.
6 years ago
Ross Schlaikjer
64a42ffa35
Add keepout in footprints: Starting point.
6 years ago
Jeff Young
10c25a2290
Update frame type enum to match current class names.
6 years ago
Seth Hillbrand
ec3158d03a
pcbnew: Don't clear module flags on revert
The RebuildSelection routine now handles updating the selection based on
flags.
Fixes: lp:1831881
* https://bugs.launchpad.net/kicad/+bug/1831881
6 years ago
Jeff Young
945eaceb91
Try and keep POINT_EDITOR and SELECTION_TOOL from fighting with drawing tool.
Set the IS_NEW flags so the POINT_EDITOR doesn't try an poke its head
in, and apply the EE_SELECTION_TOOL hack for mouse clicks leaking
through to the underlying tools.
Fixes: lp:1832911
* https://bugs.launchpad.net/kicad/+bug/1832911
7 years ago
Jeff Young
8f84c3ec4f
Grid rid of GetCanvas/GetGalCanvas distinction now that there's only gal.
7 years ago
Seth Hillbrand
d1877d7c1b
Moving modules from DLIST to std::deque
7 years ago
Jeff Young
7553cc2651
Clean up some dangling legacy odds and ends.
7 years ago
Jon Evans
52a9e68093
Store items changed by connectivity algorithm in undo list
Fixes: lp:1828442
* https://bugs.launchpad.net/kicad/+bug/1828442
(cherry picked from commit fb80ee5a0e )
7 years ago
Jeff Young
f602ccd814
Insert EE_TOOL_BASE under SchEdit and LibEdit tools, and fix errant rename scope which clobbered PCBNew's PICKER_TOOL.
7 years ago
Jeff Young
7995b5cc3c
Restore selection on abort and undo/redo.
Also includes a related bug fix to not create an undo record for
the initial schematic cleanup.
Fixes: lp:1825975
* https://bugs.launchpad.net/kicad/+bug/1825975
7 years ago
Jeff Young
dae41b7460
Remove legacy segment-based zones.
Give the user the option of cancelling a file open if there are
segment zones; otherwise they're converted to polygon fills.
Fixes: lp:1823087
* https://bugs.launchpad.net/kicad/+bug/1823087
7 years ago
Seth Hillbrand
583e0173b9
pcbnew: Fix ratsnest display
Checks for ratsnest enabled prior to calculating and displaying the
local/dynamic ratsnest. Calls the ratsnest clear from selection clear
Notably, it appears that the tool actions do not chain transitions for
the same event. So only a single action (first specified) will be
executed when an event fires unless the actions are executed by separate
tools.
Fixes: lp:1809752
* https://bugs.launchpad.net/kicad/+bug/1809752
7 years ago
Seth Hillbrand
4460313104
pcbnew: Separating connectivity to subdir
7 years ago
Jeff Young
a02e83ebdb
Remove deleted footprints from selection.
Fixes: lp:1797001
* https://bugs.launchpad.net/kicad/+bug/1797001
7 years ago
Jeff Young
f06bf81651
Don't deselected items that have been deleted.
De-referencing freed memory is never a good idea.
Fixes: lp:1795195
* https://bugs.launchpad.net/kicad/+bug/1795195
7 years ago