Jeff Young
5e0064c21e
More layout optimizations for PCB Calculator.
3 years ago
Jeff Young
6fc662c254
More class : filename consistency.
3 years ago
Jeff Young
5ce75eeb3a
Fix more collapsing text controls on Mac.
3 years ago
Jeff Young
c0e0cbceb0
Move eseries helper class to common.
Also improves some terminology for english-speakers.
Also substitues [] vector access (which creates empty elements) over
at() (which throws if the item is not found).
3 years ago
Jeff Young
4c63b4e061
Class name <-> file name sync.
3 years ago
Tomasz Wlostowski
7d40bbdf38
router: mark the head trace (as opposed to the 'fixed tail') with fully saturated color
Fixes https://gitlab.com/kicad/code/kicad/-/issues/11386
3 years ago
Tomasz Wlostowski
dfb1068358
router: improve heuristic to avoid segment drag 'flickery snapping'
Fixes https://gitlab.com/kicad/code/kicad/-/issues/10113
3 years ago
jean-pierre charras
157b93c4ae
Gerbview and Pl_editor: fix missing transfer from preference dialog to Gal options.
Some settings (cursor shape, grid options) were not taken in account after
closing the preferences dialog.
3 years ago
Mike Williams
4bb1b4a3d2
Router: settings dialog fixes
Make keyboard activation of OK save settings instead of cancelling.
Also, fix the string for the shortcut so that it works (shortcut
unchanged).
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/13303
3 years ago
Mike Williams
068b714908
Schematic: merge dual import sheet pin actions
I believe I have managed to keep the slightly distinct functionality of
both implementations: the action will now use the selected sheet or find
one under the cursor if it's there.
It will also keep placing pins while they exist, which was inconsistent
in the behavior of the single click version before (other single click
commands keep placing until you cancel, e.g. no-connects )
Also, it will automatically end the tool when it runs out of sheet pins.
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/13296
3 years ago
Greg Davill
3b55f9e326
PCB Editor: Inform tools when selecting/unselecting net
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/13308
3 years ago
Marco Ciampa
c722d59583
Updated Italian translation
3 years ago
lukas-heiligenbrunner
29e51cc198
fix quoting of layernames
3 years ago
Mike Williams
411efe6f3d
PCB Editor: Allow mouse drag of group-of-groups
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/13076
3 years ago
Mike Williams
e65de51fc7
Schematic: label auto orientation needs to respect move/drag/change
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/13226
3 years ago
Mike Williams
0c415a7190
PCB Editor: make rotate menu bar items conditional on selection items
3 years ago
Mike Williams
495f337fa5
Schematic: remove unused variable
3 years ago
Mike Williams
6816ee937a
Flags: remove unused IS_DRAGGING
3 years ago
Mike Williams
6cc17e4a16
Schematic: new flag IS_BROKEN for trimming BreakSegment danglers
3 years ago
Mike Williams
f03fd5ad2d
Schematic: remove IS_RESIZING
Is unused/redundant with IS_MOVING
3 years ago
Mike Williams
600f2c7ea0
Flags: remove unused DO_NOT_DRAW
3 years ago
Mike Williams
68fd0271c2
Flags: remove unused IS_WIRE_IMAGE
3 years ago
Mike Williams
d62681f6db
PCB Editor: fix pad preview sketch mode not applying immediately
3 years ago
Mike Williams
13f67aa7ce
Schematic: remove unnecessary drag mirror/rotate control disabling
The whole edit dialog is blocked while dragging if anything else is drag
selected, and if nothing is drag selected the rotations/mirroring will
be fine. Also, we already allow mirror and rotate while dragging, using
the keyboard shortcuts and menu items, and it works fine.
3 years ago
Mike Williams
b5b65e1455
Schematic: update dragged lines dangling state in realtime
Makes the visuals a little nicer as we add bend lines
3 years ago
Jeff Young
e7300ffb5c
Improved column sizing in library setup dialogs.
3 years ago
Jeff Young
e927328ecf
Don't rely on field ID for intersheetrefs.
It will be -1, for instance, after a duplicate.
3 years ago
Jeff Young
a3fcc8bbf7
Move Exclude from Simulation to Symbol Properties.
Also brings the layout of Symbol Properties for Symbol Editor more in
line with Symbol Properties for Schematic Editor.
Fixes https://gitlab.com/kicad/code/kicad/issues/13299
3 years ago
Jeff Young
87448e0c55
Include sim command when running external SPICE.
Fixes https://gitlab.com/kicad/code/kicad/issues/13295
3 years ago
Jeff Young
d50b3550af
Signals header is repetitive.
3 years ago
Jeff Young
ef6001bfe6
Use consistent terminology: opposite of Add is Remove.
Note: violating string freeze because this change should ease translation,
not make it harder.
3 years ago
Jeff Young
e11d39b0f2
If magnitude or phase is specified, don't add both.
Fixes https://gitlab.com/kicad/code/kicad/issues/13202
3 years ago
Jeff Young
508b9e21a8
Put simulation in with other life-cycle tools.
3 years ago
Jeff Young
3767716f20
Menu IDs of 0 don't work on Mac.
3 years ago
Marco Ciampa
3f3161af72
Small fix in Italian translation
3 years ago
Jeff Young
987eb4b46a
Handle language changes for Schematic Hierarchy Navigator.
Fixes https://gitlab.com/kicad/code/kicad/issues/13291
3 years ago
Jeff Young
fc15454dd1
Debounce button control drawing.
Fixes https://gitlab.com/kicad/code/kicad/issues/13288
3 years ago
Jeff Young
6940333f40
Update test cases for unknown-variable = error.
3 years ago
Jeff Young
8d4694a83e
Iterator safety.
Move mergeSegments to a lambda so we can more easily break out of the
nested for-loops when we find a merge. We really need to start over
again at that point as we may have invalidated our connectivity items
iterator.
This also means we don't have to queue up all the track pointers, which
should get us a _little_ bit of the performance back.
Fixes https://gitlab.com/kicad/code/kicad/issues/13287
3 years ago
Mike Williams
741d1e043a
PCB Editor: make Mirror menu items conditional
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/13230
3 years ago
Mike Williams
f1fab140a1
Schematic: make menu bar rotation items conditional
Also fix some items not getting a context menu rotate action.
3 years ago
jean-pierre charras
438c4b58a3
Try to fix a QA issue probably due to the order some Ctors are called.
This is not the first time an issue is created by the order of ctors.
3 years ago
Jeff Young
0b50e7fa37
A wee little hack for intersheet refs in legacy files.
Fixes https://gitlab.com/kicad/code/kicad/issues/13108
3 years ago
Mike Williams
8ca8f83a18
Schematic: sheet pin dragging special case needs to check endpoints
Otherwise we'll force the wrong end of a line to be special-cased
3 years ago
Mike Williams
33b774685b
Schematic: fix inconsistent selected-by-drag behavior of mid-line labels
Two issues here:
Selected labels would half of the time add junctions splitting lines
when the lines would have been selected-by-drag (removing the need for a
junction).
Split lines aren't selected by drag by default, and we need to test
labels against lines that are selected by drag.
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/13224
3 years ago
Jon Evans
7e778c9856
KiWay: Make sure to mark closed windows as closed
Also make sure to veto project import if we couldn't close the existing project.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/13215
Maybe also fixes some other weird crashes, we'll see.
3 years ago
Mike Williams
b82833200a
Schematic: correct bus entry shadows size and selections
3 years ago
Jeff Young
e64b356d93
Fix broken if/then/else logic.
Fixes https://gitlab.com/kicad/code/kicad/issues/13192
3 years ago
Mike Williams
1ad373f2b2
Schematic: don't show unselected ends on bus entries
3 years ago
Jeff Young
c85590a470
Correct is-inside logic.
Fixes https://gitlab.com/kicad/code/kicad/issues/13259
3 years ago