Fabien Corona
1170fb2e18
sim - don't create measurement duplicates
3 years ago
Fabien Corona
aa006e9b91
sim - allow to add several measurements at once.
3 years ago
Mike Williams
959a19a461
Power Symbols: automatically fix mismatched legacy symbols, add tests
Has netlist generation test for legacy power symbols, and test for
fixing legacy mismatched power symbol text fields and invisible pin names.
3 years ago
Mike Williams
5995e0e516
Power Symbols: make value editable, use as netname
QA: update tests for editable power symbol values
3 years ago
Mike Williams
ca5004b1d2
Power Symbols: rename IsPowerConnection to IsGlobalPower
It's kind of confusing because we have power type pins, and pins that
make global power nets as part of power symbols.
3 years ago
Mike Williams
dd461d6ad6
Power Symbols: drop requirement for invisible pins
3 years ago
jean-pierre charras
dce8826eb2
Fix incorrect tilt of italic texts when plotting them.
Fixes #14023
https://gitlab.com/kicad/code/kicad/issues/14023
3 years ago
Jeff Young
6fcae34f6b
Clear operating points on all sim types.
(We'll fill them back in if we have data.)
Also improves handling when a plot tab is closed.
Also fixes dirtying of the view for op changes.
Fixes https://gitlab.com/kicad/code/kicad/issues/13990
3 years ago
Jeff Young
fe2679d965
Implement default levels for JFETs, MOSFETs and MESFETs.
3 years ago
Fabien Corona
ae3a5c1c5f
sim - set the dialog list as read only
3 years ago
Jon Evans
32d45f7e3f
Fix typo
3 years ago
Jon Evans
43d3a18b86
Improve HiDPI handling of appearance/layer controls
3 years ago
Jon Evans
89ef6b36f4
Fix layer widget in HiDPI situations
3 years ago
Jon Evans
632f8c1df4
Fix macOS build
3 years ago
Salvador E. Tropea
915446a472
Create the built-in colors in the constructor
This is needed so Python scripts can get built-in colors using the
SETTINGS_MANAGER.GetColorSettings() member.
Otherwise calling it with a built-in name crashes.
(cherry picked from commit aee6d9d01c
)
3 years ago
Fabien Corona
f2419e9e9b
sim - Fix power graphs
3 years ago
Jeff Young
cb71ea872b
Don't allow 0 field text size.
Fixes https://gitlab.com/kicad/code/kicad/issues/13987
3 years ago
Fabien Corona
e24ddd0be4
ADDED: Measurement on power signals and integrals
Fixes #14028
3 years ago
Jeff Young
f828d50cb0
Better processing of single-empty-row rule for measurements grid.
3 years ago
Jeff Young
5fa7be0320
Update signals after running a sim.
Fixes https://gitlab.com/kicad/code/kicad/issues/14016
3 years ago
Jeff Young
ce25850ffd
Fix include for non-OSX platforms.
3 years ago
Jeff Young
a126d961d8
More dead code removal and a bit of formatting and const& for strings.
3 years ago
Jeff Young
68fe146861
Remove most of SIM_VALUE in favour of good old wxString.
This allows us to save the user's intent, including units, formatting,
and crucially variable references.
3 years ago
Jeff Young
29f21cdde6
Terminology and more dead code.
3 years ago
Jeff Young
90adc26b73
Remove dead and redundant code.
3 years ago
jean-pierre charras
814dcdab31
Fix compatibility with wxWidgetsversion < 3.1.6
3 years ago
Jon Evans
ad838e3d73
Revert part of bcb93e9a
that broke Windows
3 years ago
Chris Morgan
80b55f5980
Symbol editor: simpler creation of a new derived symbol
Fixes https://gitlab.com/kicad/code/kicad/-/issues/13407
3 years ago
Ian McInerney
c6e417c19c
Fix missing override statements
3 years ago
Ian McInerney
be19e967dc
Remove WX_COMPATIBILITY flag
Some classes had been originally designed to be usable separate from wx,
but over time our uses of the classes have become entertwined with wx
features (e.g. colors), and various changes have also leaked wx into the
classes unguarded. So just remove the option to hide wx in those classes
to simplify the code.
3 years ago
Ian McInerney
301777f3c9
Cleanup condition for Linux-only CMake configs
3 years ago
Ian McInerney
912f1d5cec
Modernize setting link map linker flags
3 years ago
Ian McInerney
0ba116a3ee
Remove unused functions from COLOR4D
3 years ago
Ian McInerney
bcb93e9aa7
Modernize setting of compiler definitions in CMake
add_compile_definitions was added in 3.12, and our minimum is now
greater than that.
3 years ago
Marek Roszko
39e69a3d29
Fix up handling of font names available in multiple names
ttf fonts can declare multiple language names. Many by default opt to just declare one and not tag it any particular language.
However, there are CJK languages that typically leverage this function the most. They'll tag both a "en" and a cjk lang family name in CJK characters.
To be as user friendly as possible, we need to display said fonts in the CJK languages if KiCad to set to such a locale.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/14011
3 years ago
Christoph Moench-Tegeder
46a59aa2c3
CMakeLists.txt: do not use -ffloat-store on clang
According to it's User Manual, clang does not know about -ffloat-store.
This is corrobated by the FreeBSD i386 build (using LLVM 13 and 15,
depending on the base system version) failing early with an error
message complaining about this parameter being unknown.
See
https://pkg-status.freebsd.org/beefy17/data/main-i386-default/pb27279cba1ca_sed03776ca7/logs/kicad-7.0.0,2.log
for an example of the failure, and
https://clang.llvm.org/docs/UsersManual.html#controlling-floating-point-behavior
for the available floating point options on clang.
3 years ago
jean-pierre charras
d07738a06c
gr_basic.cpp: ensure a pen with width = 0 is transparent.
Setting its color to COLOR4D::UNSPECIFIED (i.e. opacity = 0) is not enough
for all platforms (i.e. Windows)
3 years ago
aris-kimi
543a3317b4
Fix typo
3 years ago
Jeff Young
761b59da90
Read and write user-defined signals and measurements to workbook file.
3 years ago
Jeff Young
7fd707952b
Easier editing of new sim measurements.
3 years ago
Jeff Young
6fcb95b24e
ADDED user-defined signals.
3 years ago
Jeff Young
ae0cf19923
Nullptr safety.
3 years ago
Jeff Young
87eb4401e3
Add Scintilla support to WX_GRID.
3 years ago
Jeff Young
f6fcae479c
Don't generate error messages fetching sim data we know isn't there.
3 years ago
Jeff Young
7bb006c91d
Spacing & font-size issues in 3D model preview dialog.
Fixes https://gitlab.com/kicad/code/kicad/issues/13880
3 years ago
jean-pierre charras
e30e510354
gen drill map: fix duplicate suffix in map filenames if gbr drill fmt is selected
Fixes #14026
https://gitlab.com/kicad/code/kicad/issues/14026
3 years ago
Marek Roszko
6029fae30b
Catch parsing exceptions of the local repository.json
Fixes KICAD-B9
3 years ago
jean-pierre charras
b05b33a9ff
Fix a compil issue with gcc12.2 and Coverity warnings.
3 years ago
Mark Roszko
365c7be4ed
Fix symbol contributor link
3 years ago
Fabien Corona
3751b250c6
sim - fix a QA case for XSPICE
3 years ago