John Beard
751c88ef20
Use 'uuid' (not 'id') in the s-expr PCB groups/generator format
Add some regression tests to check loading of groups and generators
from various versions of the s-expr PCB format.
2 years ago
Jeff Young
985e590e6f
PCB_FIELDs don't belong in the view.
They're handled by their parent FOOTPRINTs.
Also makes sure footprint children get their parents
updated on a swap.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16412
2 years ago
jean-pierre charras
55b6fdd1c4
Gerbview: fix incorrect rotation of DCode shape type regular polygon.
The rotation was the opposite of the actual rotation, due to the Y axis
direction (top to bottom) coordinate in gerbview/dcode.cpp
Fixes #16480
https://gitlab.com/kicad/code/kicad/-/issues/16480
2 years ago
Jeff Young
2a0486845d
Restore legacy spin-style processing for text items.
Post-V5 we only use it on labels, but earlier versions also
used it for text.
Also process spinStyle for CADSTAR imports.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16488
2 years ago
Jeff Young
911a54ac82
Make sure sexpr gets stacked when followed by non-token.
For instance, with "(min 1.27mm)", we need to stack the
"min" token after hitting the space.
2 years ago
Ian McInerney
53e16558a5
Refresh appearance panel when appending board
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16226
2 years ago
Alex Shvartzkop
aa6fd88082
Default graphical line style in v6 and older was Dashed.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16479
2 years ago
Jeff Young
71b9dd1fb4
Update FPWatcher when saving canvas footprint.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16414
2 years ago
Alex Shvartzkop
965576f2c6
Enable alpha test for bitmaps in OpenGL GAL.
2 years ago
Alex Shvartzkop
e8fabb58a6
Fix bitmap Z order in OpenGL GAL.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16482
2 years ago
Andrea Greco
55429aea6b
pcbnew: Show current router mode in status bar
2 years ago
Marek Roszko
d2c3d38729
Update the vcpkg main baseline
2 years ago
Jeff Young
6c39e67342
Don't leave tools with stale state when reloading fp.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16414
2 years ago
Jeff Young
2e02ca9d14
Make length-tuning rollover layer-specific.
Also don't show target length in diaog when it hasn't been
set.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16379
2 years ago
jean-pierre charras
b94c941217
Pcbnew, Fp Editor, pad_tool::PlacePad() avoid recreate from scratch a pad
when the previous is not used.
If a new pad is generated, when moving it by arrow creates a new pad for
each move by the current code.
This is not annoying unless the pad number is edited during move.
So, the pad number is now reinitialized only after the current pad is used,
not during the current move.
Fixes #16409
https://gitlab.com/kicad/code/kicad/-/issues/16409
2 years ago
Jon Evans
ea0673e7a0
Do not merge buses of distinct types
Previously, this code would merge a vector bus
with a group bus containing the vector as a member.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16439
2 years ago
jean-pierre charras
1ae5bc7c0d
DIALOG_BOARD_REANNOTATE_BASE: do not force the size of bitmap windows.
Also do not force the dialog size: wxWidgets sizers should set the right size.
2 years ago
Jeff Young
2e9f0679fc
Fix i18n mixup.
Tab names and column names are translated on the fly, but
that means they need _HKI macros to make sure they get into
the translation database.
2 years ago
Mark Roszko
e8cd5f938d
update vcpkg for ngspice 42
2 years ago
Jon Evans
2ecf1ac23f
Change regression test for #13162 to be less complex
We are really only testing that `Rload1` works,
and the original testcase is unstable on some platforms.
2 years ago
Jeff Young
4551880e40
Fix a typo and some i18n issues.
(Also flags some i18n issues for 9.0.)
2 years ago
Jeff Young
0fac52dcad
Accept EEschema tokens as well as netlist tokens for pintype.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16169
2 years ago
Ian McInerney
4eaa0242ca
Collapse schematic/symbol graphics import to single action
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16463
2 years ago
Ian McInerney
5a5b7e0064
Stop clearing tool transitions when running tools
There doesn't seem to be a need to actually clear transitions for the
tools when running a handler. This clearing also prevents running
another nested handler from the same tool.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16449
2 years ago
Ian McInerney
b6fffb3923
Add more tool stack tracing
2 years ago
Ian McInerney
f2702b223c
Introduce base IO_MGR class and unify RELEASER objects
The IO_RELEASER is a thin-wrapper around a std::unique_ptr, but done
this way to allow easier addition of a custom deleter in the future if
something needs to call back into the IO_MGR.
2 years ago
Wayne Stambaugh
04d15026c5
Rename SCH_SYMBOL::GetInstanceReferences() to GetInstances().
2 years ago
Jeff Young
cdb99de862
Use HasSymbol() instead of a null logger.
2 years ago
Jeff Young
5145b146e9
Handle dimensions in search pane.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16459
2 years ago
Jon Evans
c9d31c4429
Add explicit copy ctor for SCH_CONNECTION
2 years ago
Jeff Young
e59612d56c
Add realloc locking calls for ngspice42.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15941
2 years ago
Wayne Stambaugh
482aff3f0b
Prune orphaned schematic sheet instances.
Pasting from the clipboard when copying from another project can leave
sheet instance information that is not valid for the current project.
This change prunes all sheet instance information that is not relevant
to the current project. It also prunes invalid paths created by pasting
sheets from different paths in the same project.
2 years ago
Jeff Young
a452213546
Reduce menu nesting for attribute setters/clearers.
Also fixes some issues with menus being owned by the wrong
tool.
Also removes "no xxx selected" warnings in submenus which
aren't show unless xxx is selected to start with.
Also fixes some un-translated strings (which happily
already exist elsewhere in the UI)
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16454
2 years ago
Jan Wichmann
bddadd1f42
eeschema:
CHANGED: Simplifying the context menu and moving all removed items to main menu.
2 years ago
Marek Roszko
284df4adf8
Move two pgm_base method definitions back to pgm_base.cpp
2 years ago
Marek Roszko
7252ae551c
Move EDA_PATTERN_MATCH to kicommon
2 years ago
Marek Roszko
8ef77ce8ef
Fix build error due to duplicate var declaration
2 years ago
Marek Roszko
9a890cdba9
Kick the wildcards and file exts into a static class, export it from kicommon
2 years ago
Marek Roszko
5e7a68fcd9
netclass can be in kicommon
2 years ago
Marek Roszko
a36eb2af72
Netclass shouldnt have odd pcb forward decls
2 years ago
Marek Roszko
5bfc601e09
STD_BITMAP_BUTTON can be in kicommon
2 years ago
Jeff Young
e17d81cf6d
Re-enter auto-complete on a ctrl-space.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16445
2 years ago
Ian McInerney
d7fe668d79
Push PCB_IOs to use the base progress reporter instead of per-function
2 years ago
Ian McInerney
4a67761d29
Push library reading check to IO_BASE
2 years ago
Ian McInerney
f8688a922d
Unify IO library descriptors
2 years ago
Jeff Young
69c95acc57
Handle arcs in TOPOLOGY::AssembleDiffPair().
2 years ago
Jeff Young
33c97da0fa
Performance enhancement.
2 years ago
Jeff Young
2ba9e07f0f
Add missing DRC auto-complete token.
2 years ago
Jeff Young
49d6439ae0
Formatting.
2 years ago
Alex Shvartzkop
e636913178
EasyEDA Std: import dimensions.
2 years ago