Seth Hillbrand
ba11de6e66
Update QA test schematics with valid and invalid variants
3 years ago
Barabas Raffai
63da407345
Add tests for no connect flag
3 years ago
Simon Richter
4f1c2573f1
PCB Calculator cleanups
3 years ago
Jeff Young
8931e55dd2
Templatize MigrateSimModel() so it can be used on LIB_SYMBOLs as well.
Fixes https://gitlab.com/kicad/code/kicad/issues/13080
3 years ago
Jeff Young
cfbf14ebfd
Attempt to fix build issue with NGSPICE off.
3 years ago
Jeff Young
107025322c
Better column width handling for sim params grid.
3 years ago
Jeff Young
6535f407a6
Remove version guard from sim migration, and add migration to paste.
Fixes https://gitlab.com/kicad/code/kicad/issues/13080
3 years ago
Jeff Young
e8980e9024
Centralize SPICE lib path resolution and support SPICE_LIB_DIR.
Fixes https://gitlab.com/kicad/code/kicad/issues/13081
3 years ago
Jeff Young
bb6544914e
Bring simulator file menu commands more in line with rest of Kicad.
3 years ago
Jon Evans
ad33515916
Properties: mask visibility for free text
3 years ago
Jon Evans
67df342255
Properties: mask irrelevant NPTH properties
Fixes https://gitlab.com/kicad/code/kicad/-/issues/13087
3 years ago
Jon Evans
72939e8918
Properties: enable in PCB editor for everyone
Leaving the AC flag around for future use in the footprint editor etc
Fixes https://gitlab.com/kicad/code/kicad/-/issues/2039
3 years ago
Mike Williams
a417aa6e69
Selection: provide disambiguate for deselections of multiple items
Don't assume we're a delayed drag if the user is using selection
modifers.
3 years ago
Mike Williams
0e75bf02fa
Selection: refactor modifier checking
3 years ago
Mike Williams
78b5dbead6
Schematic: show partial selection of graphic lines
Use the same inverted-dangling-shadow as regular wires
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/13095
3 years ago
Mike Williams
4b02e5efb4
Schematic: allowing ctrl/shift-clicking point editor points
3 years ago
Simon Richter
2214e853c1
Make a few variables const
3 years ago
Simon Richter
d6c6116e67
Calculate weighted column width locally
Multiplying the global variable also modifies all columns to the right,
which is not a problem right now because none exist, but might be in the
future.
3 years ago
Barabas Raffai
add082548d
Move timer used by SCH_EDITOR_CONTROL to member variable
Fixes https://gitlab.com/kicad/code/kicad/-/issues/2430
3 years ago
jean-pierre charras
966f7bfa4c
Fix commit 0a881e09, not working on wxWidgets 3.1.5/msys2
3 years ago
jean-pierre charras
0098dfa6dc
Ensure exported spice netlist contains all spice directives found in schematic
3 years ago
Jon Evans
2b0d7f65d0
Properties: sync wxPGGlobalVars map state with editor global state
Thanks to @dsa-t for suggesting this
(maybe)
Fixes https://gitlab.com/kicad/code/kicad/-/issues/12297
3 years ago
Jon Evans
0a881e091c
Fix build for gcc and wx < 3.1.6
3 years ago
Stefan
1fcdd94caf
add missing whitespace
3 years ago
Jon Evans
435651237c
Properties: Support overridden availability functions
3 years ago
dsa-t
f99bdb6078
Revert "Minor header cleanup."
This reverts commit 4277b25a0b
3 years ago
Marek Roszko
2fc0cd68ed
Avoid crashing due to empty lib tables in cli
Fixes https://gitlab.com/kicad/code/kicad/-/issues/13097
3 years ago
Alex
4277b25a0b
Minor header cleanup.
3 years ago
Jon Evans
33d76f63b0
Properties: save and restore splitter position
3 years ago
Jon Evans
5251ea6f27
Prevent crash on exit due to simulator settings being double freed
3 years ago
Alex
eb05d803df
Use typename with extended_type.
3 years ago
Alex
1f1feb51d7
Fix GetVectorSnapped45 on distances > 1 m.
3 years ago
Alex
36ee9f72e2
Increase default padding to 1 in GetClampedCoords to avoid overflow msg.
3 years ago
Seth Hillbrand
9a5df73060
ERC: don't flag hierarchically connected NCs
NCs require no more than one pin on the full net. They may also have
multiple labels connecting them.
3 years ago
Wayne Stambaugh
b95ce69054
Disconnect event handlers in symbol properties dialog dtor.
This is probably a good rule of thumb to prevent any event ordering
issues between platforms or unhandled events being trigger during
inherited object destruction.
3 years ago
Alex
e03a91c9c7
Reduce static ratsnest opacity when moving items; tweak colors.
3 years ago
Jeff Young
ce8fa2ad00
Move previous fix to subclass (which overrides the base class).
3 years ago
Alex
82874daf08
router: Limit the amount of move attempts in ROUTER::Finish
Otherwise auto-finish hangs in some cases.
3 years ago
Jeff Young
b15913bd53
Support env variables in spice library paths.
Also removes a bunch of std::string stuff from the file handling in the
simulator. All our file handling, env variable expansion, project path,
etc. stuff is wxString based, and jumping through std::string in between
just makes it more complex and increases the potential bug surface.
Also fixes a bug where you'd get two error messages when a spice model
library wasn't found.
Also fixes a bug where you'd get a spice model library not found error
when the text field was empty.
Also fixes a bug where we'd try to absolutize a path starting with an
unresolved text or environment variable. If the path starts with a
variable it's probably absolute, and tacking on the project path in the
error message just obfuscates things.
Fixes https://gitlab.com/kicad/code/kicad/issues/13082
3 years ago
Jeff Young
5aa204e194
Another attempted sim testcases fix.
3 years ago
jean-pierre charras
6130ce5d66
symbol_editor_control: fix incorrect bounding in SVG export.
Fixes #13093
https://gitlab.com/kicad/code/kicad/issues/13093
3 years ago
Jeff Young
4872dd7238
Don't put empty lines in the workbook.
Fixes https://gitlab.com/kicad/code/kicad/issues/12299
3 years ago
Marek Roszko
aa537fe559
Change bezier curve iteration to be easier to read
Fix #https://gitlab.com/kicad/code/kicad/-/issues/11153 somewhat
3 years ago
qu1ck
25688eb75e
Include plotprint_opts.h in swig
3 years ago
Marek Roszko
24ca892afb
Update tinysplice to latest
A few years worth of bug fixes
3 years ago
Marek Roszko
61119fbf64
Poke a const to make gcc happy
3 years ago
Marek Roszko
c0b5fe58c3
Implement output targeting of symlib/fplib upgrade per request
3 years ago
Jeff Young
b9287968d6
Update symbol default prefixes after updating instance data.
Also moves the sim model fixups after the instance data updating as
it uses the prefixes.
3 years ago
Jeff Young
69448afb47
Don't run simulation twice when the sim command is overridden.
Fixes https://gitlab.com/kicad/code/kicad/issues/12731
3 years ago
Wayne Stambaugh
da0624286c
Fix spelling error in schematic import exception handler.
3 years ago