Ian McInerney
b536580119
Support subrelease field in wxWidgets cmake detection
Sometimes wxWidgets increments the subrelease to a non-zero value, and
since wxPython will report a subrelease, we must ensure we can get the
subrelease from the wx library properly, otherwise configure will fail
thinking the library isn't the same version as that used by wxPython.
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/13887
3 years ago
Marek Roszko
9647a22e50
Prevent another GAL crash on init due to psuedo-race
Fixes Sentry KICAD-98
3 years ago
Jeff Young
eb7fec52d5
Add archiving of SPICE files.
Fixes https://gitlab.com/kicad/code/kicad/issues/12102
3 years ago
Seth Hillbrand
e7fe69b97f
Better handling of vertex sorting
Nominally, the zcode of a vertex is unique. This is not 100% true,
however, as we must interlace two 32-bit numbers into a single 32-bit
number. Sorting needs to account for the possibility that the zcode
will be the same while other elements of the vertex are different. This
commit fixes the broken boolean logic to more clearly handle these cases
Fixes https://gitlab.com/kicad/code/kicad/issues/13867
3 years ago
Jeff Young
be0a9e2738
Handle SPICE prefixes for operating point data.
Also adjusts the min-pin lenght as some symbols have very short pins.
3 years ago
Jeff Young
b53e0a85b8
Don't display OP overlay when we have no data.
Also fixes a copy-pasta bug with settings (and adds a fixup for those
already bitten by it).
Fixes https://gitlab.com/kicad/code/kicad/issues/13881
3 years ago
Jeff Young
8bab429c7d
Account for border when calculating text margin for text boxes.
Also fixes some unnoticed issues with the textbox dialogs (probably
dating from the move to wxWidgets 3.2).
Fixes https://gitlab.com/kicad/code/kicad/issues/13877
3 years ago
Mike Williams
71b687622b
PCB Search Pane: activate item opens properties dialog
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/12475
3 years ago
Mike Williams
d915cb780e
Search Pane: add Activation (enter/double click) event support
3 years ago
Jeff Young
d6bef19811
Don't confuse .OP with .OPTIONS.
Fixes https://gitlab.com/kicad/code/kicad/issues/13849
3 years ago
Jeff Young
e6d45e27e8
Fix layout issue in IBIS fields.
3 years ago
Jeff Young
df00585a55
ReadDataFields must be a separate step from Create.
Create() is done without execption processing, while ReadDataFields
should have exception processing.
(This also fixes a case where exception processing on ReadDataFields
was missing.)
Also fixes a bug where the pinSelect menu wasn't checked for -1 before
fetching.
Fixes https://gitlab.com/kicad/code/kicad/issues/13856
3 years ago
Marek Roszko
58350b4521
Ensure gal is initialized before letting DoRepaint blowup spectacularly.
Maybe a fix for KICAD-6B
3 years ago
Jeff Young
77421c8fb6
Fix too-narrow text edit control on Mac.
Also makes the yellow error highlight in CvPCB a bit less jarring.
Fixes https://gitlab.com/kicad/code/kicad/issues/13866
3 years ago
jean-pierre charras
17059971e8
DIALOG_UNUSED_PAD_LAYERS: do not use TransferDataFromWindow for any button.
TransferDataFromWindow is called only when closing by a wxID_OK button
Fixes #13865
https://gitlab.com/kicad/code/kicad/issues/13865
3 years ago
Marek Roszko
2cc3d8e9bc
Prevent a crash when a spice SW_I lacks two pin net names
Fixes KICAD-5D
3 years ago
Jeff Young
74eb587291
Better sorting within sections (voltage, current, power).
Fixes https://gitlab.com/kicad/code/kicad/issues/13846
3 years ago
Jeff Young
499b58f505
ADDED: user-specified gap and linewidth for bounding hull creation.
3 years ago
Marek Roszko
f409837d26
Fix a stray ternary hidden under #if
3 years ago
Jeff Young
837ba323fb
Add doc link to custom rules syntax help.
Fixes https://gitlab.com/kicad/code/kicad/issues/13727
3 years ago
Marek Roszko
4665823089
Turn on and fix MSVC compliance mode issues
We want /permissive- to enable debug performance improvements in MSVC 17.5+.
This flag is also default under C++20 so we'll have to deal with these compile issues anyway at some point in the future.
In particular, MSVC becomes pedantic about ternary types.
See https://learn.microsoft.com/en-us/cpp/build/reference/permissive-standards-conformance?view=msvc-170#ambiguous-conditional-operator-arguments
MSFT cites https://cplusplus.github.io/CWG/issues/1805.html
3 years ago
Graham Keeth
6af3dadaee
Fix SPICE pins for BJTs and MESFETs
- MESFETs don't have a substrate/bulk pin
- BJTs have a substrate pin, and HICUM/VBIC have TJ
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/13848
3 years ago
Jeff Young
a22964a977
Prepend correct SPICE prefix when necessary for plotting currents.
Fixes https://gitlab.com/kicad/code/kicad/issues/13850
3 years ago
Marek Roszko
28da03422e
Move up vcpkg baseline and kicad-vcpkg repo to get wx 3.2.2
3 years ago
Jeff Young
1e756dbdd8
Save cursor positions in sim workbook.
3 years ago
Jeff Young
83dd06e5d1
Allow opening of workbook when simulation frame is opened.
This involved splitting creation of traces from setting of trace
data.
Also renamed SIM_WORKBOOK to SIM_NOTEBOOK. This class is a subclass
of wxAiuNotebook and represents the collection of simulation plot tabs.
It is NOT the same thing as a simulation workbook, which contains other
stuff such as measurements, plotted signals, colours, etc.
This also removes a bunch of "friend" declarations.
3 years ago
Jeff Young
78746b77c6
Save trace colors and cursor value formatting in sim workbook.
3 years ago
Jeff Young
84c72b087c
Simplify (and fix) logic for starting new simulations.
Fixes https://gitlab.com/kicad/code/kicad/issues/13853
3 years ago
jean-pierre charras
1fb2d138b4
Fix a compil issue.
3 years ago
Jeff Young
5c45b53f88
Rollback testing changes that were accidentally checked in.
3 years ago
Jeff Young
9d3a3d705d
ADDED simulation measurements.
3 years ago
Jeff Young
e5176ff4d6
ADDED power dissipation plotting and cursors.
Also fixes a bug so that voltages, currents and power dissipations are
only probed if the flag is set -- this keeps ngspice from throwing an
error if you probe something twice (for instance, if you have .probe
commands in text and turn off the auto-probing).
3 years ago
Jeff Young
bc108023b3
ADDED operating point overlay for SCH_EDIT_FRAME.
Fixes https://gitlab.com/kicad/code/kicad/issues/11253
3 years ago
Jeff Young
2a5bb71fbd
ADDED operating point text variables for labels and symbols.
ADDED formatting for cursors and operationg points
Also fixes a bunch of bugs to make the new cursors work with .ac sims.
Fixes https://gitlab.com/kicad/code/kicad/issues/11253
Fixes https://gitlab.com/kicad/code/kicad/issues/6965
3 years ago
Jeff Young
b3ffbd6258
Don't include unconnected nets in signals list.
Fixes https://gitlab.com/kicad/code/kicad/issues/4961
3 years ago
Jeff Young
7e6c68b1d1
Remove (probably) redundant code.
3 years ago
Jeff Young
39d35a8bec
Better cursor feedback for plot window.
3 years ago
Jeff Young
9a99106981
Cleanup.
3 years ago
Jeff Young
f0bd25b397
ADDED use-settable simulation trace colors.
Fixes https://gitlab.com/kicad/code/kicad/issues/2536
3 years ago
Jeff Young
09822c7f18
ADDED direct access to signals & cursors.
ADDED differential cursors.
Fixes https://gitlab.com/kicad/code/kicad/issues/4447
Fixes https://gitlab.com/kicad/code/kicad/issues/6221
3 years ago
Jeff Young
e73366db5c
Add 3D viewer to toolbar.
Fixes https://gitlab.com/kicad/code/kicad/issues/13559
3 years ago
Jeff Young
8b4c4b8500
Board-specific hint for board version of Net Settings.
Fixes https://gitlab.com/kicad/code/kicad/issues/13630
3 years ago
Jeff Young
aab237852b
Flatten Reannotation dialog.
3 years ago
Jeff Young
0dcc34ddc8
Simplify Remove Unused Pads dialog.
3 years ago
Jeff Young
362d85ef50
Special selection mode when in high-contrast with courtyard layer active.
Fixes https://gitlab.com/kicad/code/kicad/issues/13521
3 years ago
Jeff Young
95fb3825bd
Fix some strings from V7's string freeze.
3 years ago
Jeff Young
6bc89ee180
Don't disable run when there's no command: just ask for a command.
3 years ago
Jeff Young
7d7a48070e
Separate error messages when sim model and project paths are the same.
3 years ago
Jeff Young
a1a1a49729
On-the-fly language updates for simulator window.
Fixes https://gitlab.com/kicad/code/kicad/issues/13357
3 years ago
Jeff Young
b000d68def
Move simulator to tool framework.
3 years ago