Mike Williams
d0749c4e9a
Schematic: more drag undo fixes
Drag was not clearing IS_CHANGED status of items that were moved by the
drag, but weren't selected or created by it.
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/10845
4 years ago
Mike Williams
a5e8575091
Eeschema: Implement orthogonal dragging
Fixes https://gitlab.com/kicad/code/kicad/-/issues/1956
4 years ago
Jeff Young
c6a8100d46
Schematic and symbol text boxes.
Also fixes some plot bugs with arcs.
Also moves polygonization of arcs (when required) in plotting code
from 5 degrees to calculated based on ARC_HIGH_DEF.
Fixes https://gitlab.com/kicad/code/kicad/issues/5017
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
Jeff Young
cf4cbea8a1
Use a more robust storage of items added to drag.
We kept having various issues of the pointer list going stale. This
will prevent all permutations of that.
Also while I was in there I fixed the double-move thing (see bug
number).
Fixes https://gitlab.com/kicad/code/kicad/issues/7910
5 years ago
Wayne Stambaugh
4619d5e112
Fix more broken Doxygen comment specifiers.
5 years ago
Seth Hillbrand
471f81742f
ADDED: Align to Grid function in Eeschema
Adds tool option to align selected elements to the current grid.
Fixes https://gitlab.com/kicad/code/kicad/issues/5481
5 years ago
Jeff Young
73e1496b25
Change attached-label algorithm.
Rather than try and keep moving with other items, calculate nearest
point on current line to original label at each step.
Fixes https://gitlab.com/kicad/code/kicad/issues/4347
6 years ago
Jeff Young
0f34fc2e5f
Simplify the "pick up attached labels" logic.
This should vastly reduce the number of side-effects we were seeing.
Fixes https://gitlab.com/kicad/code/kicad/issues/4311
Fixes https://gitlab.com/kicad/code/kicad/issues/git
Fixes https://gitlab.com/kicad/code/kicad/issues/4320
6 years ago
Jeff Young
a286cb5a8f
Keep labels on dragged wires.
Fixes https://gitlab.com/kicad/code/kicad/issues/2107
6 years ago
Jeff Young
3cdf88f2c6
CERN copyrights for work packages.
6 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
5610261dce
Immediate-action hotkeys (and context menu actions) for eeschema.
7 years ago
Jeff Young
05652d4787
Rework the preparation for eeschema's move-tool.
There are a whole bunch of cases which all have to work:
regular move
move followed by drag
drag followed by move
move followed by duplicate
duplicate
paste
and all both with and without Warp Mouse on Move checked.
7 years ago
Jeff Young
765606012f
Convert separate-compilation of selection.cpp to polymorphism.
7 years ago
Jeff Young
d7774b94fc
Fix regression with switching between drag and move operation.
7 years ago
Tomasz Włostowski
bc52f0a03b
eemodern: clean printf debug gibberish, implement inline drag, move & cursor warp/reference point options
7 years ago
Jeff Young
21a7621ddb
Fix issues with multiple M or G commands in a row.
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
c1539ae014
Naming changes to reflect sharing between SchEdit and LibEdit.
7 years ago
Jeff Young
cf046e0548
Anchor a selected wire at the edge of a drag which is connected to a non-drag item.
Fixes: lp:1827846
* https://bugs.launchpad.net/kicad/+bug/1827846
7 years ago
Jeff Young
b97d65e791
Fix crash bug when deleting sheet pin and disappearing bug when moving them.
Fixes: lp:1827890
* https://bugs.launchpad.net/kicad/+bug/1827890
7 years ago
Jeff Young
2d28ab7dd2
More cleanup.
7 years ago
Jeff Young
32765ebffd
Do some refactoring in prep for sharing some sch tools with libedit.
7 years ago
Jeff Young
7e3ad4585a
Fix issues with dragging, moving and rotating wires.
7 years ago
Jeff Young
90a663facd
Implement sheet cleanup in modern toolset.
7 years ago
Jeff Young
1e5334f5d4
Implement DeMorgan conversions in modern toolset.
7 years ago
Jeff Young
e9dd8542d1
Allow user to change from move to drag and vice versa.
Also fixes bugs when doing a duplicate in the middle of a move.
7 years ago
Jeff Young
423d430b58
Replace deleteNode and deleteConnection with selectNode and selectConnection.
7 years ago
Jeff Young
2244dcd567
Move show datasheet to SCH_INSPECTOR_TOOL and add show marker info.
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
42383ae871
Build out some of the modern toolkit context menus.
7 years ago
Jeff Young
da988428cf
Add modern toolset cut/copy/paste. They now use the system clipboard.
7 years ago
Jeff Young
2bd4a1b58c
Implement properties dialogs in modern toolset.
7 years ago
Jeff Young
de347998d1
Implement drag in modern toolset.
7 years ago
Jeff Young
eacc3e67a5
Implement repeatDrawItem in modern toolkit and fix bugs.
Fixes moving of SCH_FIELDS.
Fixes undo operations around SCH_FIELDS and SCH_PINS.
7 years ago
Jeff Young
4e0208dfba
Move duplicate item and block to modern toolset.
7 years ago
Jeff Young
1c8461bec7
Transition mirroring to modern toolset.
7 years ago
Jeff Young
f200c61897
Start transitioning block operations to modern toolset.
7 years ago
Jeff Young
d281f051ed
Move eeschema delete tool to modern toolset.
7 years ago
Jeff Young
1a007c3e4b
Implement SCH_SELECTION_TOOL (but still with legacy semantics).
7 years ago
Kristoffer Ödmark
19d5cc7548
Removed all exception specifiers since deprecated.
Exception specifiers are deprecated in cpp11, so went through them all
and removed them from the code.
9 years ago
Mrio Luzeiro
d8eab321f7
3D Viewer: complete refactor of the 3D viewer.
* Split and rewrite the preview window and canvas.
* Create a new class for handling the board information.
* Adds new render targets: openGL, legacy, and ray tracing.
* Render targets take full advantage of the new 3D plugins system and 3D cache
for a fast 3D model loading.
* Faster board loading.
* New OpenGL render is faster than the old one.
* New ray tracing render target with a post processing shader.
* Use of new 3D plugins (WRL, X3D, STEP and IGES) and 3D model caching.
* Preview of 3D model while browsing the file name.
* 3D preview of the footprint while adding / align 3D shapes.
* Render of 3D models according to attributes: Normal, Normal+Insert, Virtual.
* Pivot rotation centered in one point over the PCB board.
* Shortcuts keys improved for XYZ orientation..
* Animated camera.
9 years ago
Tomasz Wlostowski
feaa403266
common/geometry: introducing set-of-polygons class (SHAPE_POLY_SET) and File I/O for shapes class (SHAPE_FILE_IO)
11 years ago
Wayne Stambaugh
40779a08ce
More missing source license fixes.
11 years ago
jean-pierre charras
013296cb1a
Make gerbview compilable and working (does not use now layers and layer masks from Pcbnew).
Export to Pcbnew is broken, but it is a very rarely used feature. It will be fixed later.
12 years ago
jean-pierre charras
10352b1df5
Minor fixes. Gerbview: fix a collision name for GetLayout method.
13 years ago
Lorenzo Marcantonio
715af96184
Removed g_pcb_plot_options from gerbview (which has no plotting anyway...)
13 years ago