Mike Williams
8d51b6b6d3
Schematic: Add icons for Any/90/45 angle modes
Also add a dark mode icon for existing 45hv icon.
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/11332
4 years ago
Mike Williams
2a726a882f
Schematic: new feature, force 45 degree lines
* New modes to force 45 deg angle at beginning or end of line
* Backspace will undo most recent segment added
* / will toggle posture of 90 and 45 degree lines
* Added alg::signbit for convenience
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/10869
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/9175
4 years ago
Jeff Young
05bca282f7
Re-entrancy blocker for line/wire/bus tool.
Also clear infobar messages after a cancelInteractive.
Fixes https://gitlab.com/kicad/code/kicad/issues/11155
4 years ago
Seth Hillbrand
24ac516135
Trim wires based on how many pins they intersect
If a wire intersects more than 2 pins from the same symbol, we don't
trim connections. If the wire intersects exactly two pins from a single
symbol, we remove the wire between the pins.
We avoided doing this before because we didn't have a good metric for
trimming vs. not. But the per-symbol calculation feels like the least
surprising option.
Fixes https://gitlab.com/kicad/code/kicad/issues/10909
Fixes https://gitlab.com/kicad/code/kicad/issues/1857
(cherry picked from commit 75a4036e45 )
4 years ago
Mike Williams
ecb32b1fb0
Eeschema: hover start from wire end should copy wire properties
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/10128
4 years ago
Marek Roszko
c4c56de708
Neurotically update position wxPoint usages
4 years ago
Wayne Stambaugh
8fd83cbb95
Pass wxPoint objects by reference instead of on the stack.
4 years ago
Ian McInerney
dc27079b71
cleanup tool event and tool action includes
5 years ago
Wayne Stambaugh
4619d5e112
Fix more broken Doxygen comment specifiers.
5 years ago
Jon Evans
ac1f7f93a2
Save context menu position for bus unfold
Fixes https://gitlab.com/kicad/code/kicad/-/issues/6378
5 years ago
Mark Roszko
c940a45937
ADDED: Autostart wires in eeschema
Allows wires to be automatically started by clicking over a connection point
5 years ago
Jon Evans
4a5792cb87
Fix bus unfolding in the wake of bus entry changes
Since bus entry shape is not a thing anymore,
unfolding routine can be simplified to just use size
Fixes https://gitlab.com/kicad/code/kicad/-/issues/4853
5 years ago
Jeff Young
20c00cbb21
Finish off "busses" -> "buses".
Fixes https://gitlab.com/kicad/code/kicad/issues/4144
6 years ago
Seth Hillbrand
7c28c3838a
Comment-only changes
Makes class comments conform to coding standards
6 years ago
Seth Hillbrand
6e5e453d0d
Replace EESchema DLIST
This moves EESchema DLIST structures to rtree. These changes are more
fundamental than the pcbnew changes from 9163ac543 888c01d11 d1877d7c1
and 961b22d60 as eeschema operations were more dependent on passing
drawing list references around with SCH_ITEM* objects.
6 years ago
Seth Hillbrand
e9323fff82
Eeschema: Move SCH_LINE_WIRE_BUS_TOOL to class
The remaining static elements of SCH_LINE_WIRE_BUS_TOOL are moved into
the class and passed elements eliminated in favor of held class
elements.
6 years ago
Seth Hillbrand
cda291adae
eeschema: Clean bits of DLIST
Removes the extra DLIST manipulation from SCH_LINE_WIRE_BUS_TOOL and
moves the static storage into class storage
6 years ago
Jeff Young
3cdf88f2c6
CERN copyrights for work packages.
6 years ago
Jeff Young
58ca5b71a9
A more robust fix for 36f1d023f0.
This one also handles when the events get out-of-order due to them
starting out in the Simulation window and not getting dispatched until
the mouse goes over the Schematic window.
Fixes: lp:1835907
* https://bugs.launchpad.net/kicad/+bug/1835907
Fixes: lp:1836544
* https://bugs.launchpad.net/kicad/+bug/1836544
6 years ago
Jeff Young
730b89af6d
Another round of changes for immediate actions.
7 years ago
Seth Hillbrand
e16bf40e60
eeschema: Insert junctions when repeating
This is the v6 analog to 697234dd5
Fixes: lp:1832253
* https://bugs.launchpad.net/kicad/+bug/1832253
7 years ago
Jeff Young
dcbd897a95
Push/pop tools even when selected from the toolbar.
7 years ago
Jeff Young
c7bfa9857e
Use more reflective naming of what the tool does.
7 years ago
Jeff Young
5610261dce
Immediate-action hotkeys (and context menu actions) for eeschema.
7 years ago
Jeff Young
ce1f35a1be
Cleanup some left-over vestiages of the legacy canvas architecture.
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
c1539ae014
Naming changes to reflect sharing between SchEdit and LibEdit.
7 years ago
Jeff Young
a12d769074
Code clarification and commenting.
Also renames toolbar files to reduce confusion with the modern toolset
tool files.
7 years ago
Jeff Young
a42a4b0b52
Implement immediate bus unfold and add bus unfold to selection context menu.
7 years ago
Jeff Young
6e695aac25
Move bus unfold and symbol unit selection to modern toolkit.
7 years ago
Jeff Young
f4b92e6acf
Refactor as SCH_DRAWING_TOOL was getting too big.
7 years ago
Jeff Young
20b63174dc
Support wire & bus drawing from selection tool.
7 years ago
Jeff Young
c09817e08c
Context menus for labels.
7 years ago
Jeff Young
0af7c87277
Add resize sheet to context menus. Fix bugs in it.
Also assign a bunch of icons that were missing.
7 years ago
Jeff Young
902be18a04
More modern toolset context menu work.
Text/label type changes and bus entry shape changes. And some
context menu bug fixing.
7 years ago
Jeff Young
ddbd92c274
Add some more context menu stuff to eeschema modern toolset.
7 years ago
Jeff Young
42383ae871
Build out some of the modern toolkit context menus.
7 years ago
Jeff Young
d281f051ed
Move eeschema delete tool to modern toolset.
7 years ago
Jeff Young
f274e0f68b
Move some more immediate actions to modern toolset.
7 years ago
Jeff Young
cc18464f8f
Move sheet drawing and resizing to modern toolset and fix some bugs.
Fixes: lp:1825204
* https://bugs.launchpad.net/kicad/+bug/1825204
7 years ago
Jeff Young
c88fd514a0
Implement drawing tools in modern toolset.
Fixes: lp:1825192
* https://bugs.launchpad.net/kicad/+bug/1825192
7 years ago
Jeff Young
460909ea9a
Move click-to-place tools to modern toolset.
7 years ago
Jeff Young
32c86a4ca4
Move place symbol to modern toolset.
7 years ago
Jeff Young
b63fab92cf
Move Eeschema net highlighting to modern toolset.
7 years ago