4308 Commits

Author SHA1 Message Date
Andrey Kalmykov
dfcab0a850 Fix crash when coordinates of wire ends are in wrong order
A wire loaded from a file so that its x1 coordinate is larger than
x2 coordinate causes crash. Somehow it's crucial that x1 is less
than x2. How is exactly it's crucial is not so easy to grasp so it's
easier just to go with it.

This commit fixes crashes by adding "normalization" of coordinates
just before installing the loaded wire into schematic.

Fix ra3xdh#1273
2025-03-25 20:36:32 +01:00
Vadim Kuznetsov
6c9f859a8b
Merge pull request #1275 from ra3xdh/1274_fix
Fix Xyce IC for Tline
2025-03-21 14:39:31 +01:00
Vadim Kuznetsov
b058169b94 Fix Xyce IC for Tline 2025-03-21 16:16:03 +03:00
Andrey Kalmykov
5fb8e45e98 Allow copy and paste ports in symbol editing mode 2025-03-16 16:31:48 +01:00
Vadim Kuznetsov
a9af3730be Update About dialog 2025-03-13 09:08:46 +03:00
Vadim Kuznetsov
d82a737a98
Merge pull request #1261 from ra3xdh/1258_fix
Add InitialDC option for FFT
2025-02-27 14:06:10 +01:00
Vadim Kuznetsov
f945d54f80 Add InitialDC option for FFT 2025-02-27 15:14:41 +03:00
Andrey Kalmykov
a138bcbda4 Fix removing of a not selected label instead of selected
Fixes ra3xdh#1254
2025-02-23 19:46:23 +01:00
Andrey Kalmykov
20caefadf8 Make future wire more thicker when laying a new wire 2025-02-23 11:30:24 +01:00
Andrey Kalmykov
ba57f6f3f0 Fix crash when deleting two shorted devices
Fixes ra3xdh#1245
2025-02-21 21:32:27 +03:00
Anton Midyukov
e317aa50dc Improvement of internationalization
Signed-off-by: Anton Midyukov <antohami@altlinux.org>
2025-02-21 12:13:38 +03:00
Vadim Kuznetsov
26ffe6b4b2 Update NEWS and About dialog 2025-02-18 10:27:23 +03:00
Vadim Kuznetsov
eff2da648a
Merge pull request #1237 from wawuwo/refactor-out-some-q3ptrlist-usages
Replace some Q3PtrList usages with QList
2025-02-15 19:08:14 +03:00
Vadim Kuznetsov
57816d6596
Merge pull request #1236 from wawuwo/refactor-schematic-set-component-number
Refactor Schematic::setComponentNumber()
2025-02-10 10:51:41 +03:00
Vadim Kuznetsov
b392e25627
Merge pull request #1235 from wawuwo/refactor-schematik-size-of-selection
Refactor Schematic::sizeOfSelection() and its usages
2025-02-10 10:49:30 +03:00
Andrey Kalmykov
3ac7d9e435 Replace some Q3PtrList usages with QList 2025-02-09 22:13:09 +01:00
Andrey Kalmykov
8c99e2f1b1 Refactor Schematic::setComponentNumber() 2025-02-09 12:40:32 +01:00
Andrey Kalmykov
5733d1827d Use Schematic::currentSelection() wherever possible 2025-02-09 10:38:44 +01:00
Andrey Kalmykov
1ac773f4f2 Rename Schematic::sizeOfSelection() 2025-02-09 10:35:19 +01:00
Andrey Kalmykov
cbfb060786 Refactor Schematic::sizeOfSelection 2025-02-09 10:35:19 +01:00
Andrey Kalmykov
8f0fc38487 Fix crash when new wire ends at the other wire's end 2025-02-07 15:53:34 +03:00
Andrey Kalmykov
6fb5f15c57 Add new wire routes when laying a new wire 2025-02-07 08:40:22 +03:00
Andrey Kalmykov
43aa0f518b Add Schematic::connectWithWire() and Schematic::showEphemeralWire 2025-02-07 08:40:22 +03:00
Andrey Kalmykov
d4d487298c Add wire planner 2025-02-07 08:37:57 +03:00
Vadim Kuznetsov
3440d36941 Fixed Qucs equation export 2025-02-05 19:36:47 +03:00
Vadim Kuznetsov
75040f363d
Merge pull request #1201 from ThomasZecha/current
Introduce optional netlisting to console
2025-02-04 13:08:12 +03:00
Vadim Kuznetsov
e2f63ad2e1 Add offset and Td parameters for AC current source 2025-01-23 09:21:41 +03:00
Vadim Kuznetsov
5dfd16975b Don't put OPTIONAL in the pins list 2025-01-19 19:25:19 +03:00
Vadim Kuznetsov
ec9624a268 Fix processing of nested subcircuits with SpiceLibComp 2025-01-19 19:19:38 +03:00
ThomasZecha
e27883ff95 Introduce optional netlisting to console
-Replaced Component::getProbeVariable(bool isXyce) with
 Component::getProbeVariable(spicecompat::SpiceDialect dialect)

Signed-off-by: ThomasZecha <zecha@ihp-microelectronics.com>
2025-01-19 15:38:13 +01:00
ThomasZecha
63d6d07000 Introduce optional netlisting to console
-Replaced Component::getExpression(bool isXyce, bool isCdl) with
 Component::getExpression(spicecompat::SpiceDialect dialect)

Signed-off-by: ThomasZecha <zecha@ihp-microelectronics.com>
2025-01-19 15:18:42 +01:00
ThomasZecha
b79d94ef2a Introduce optional netlisting to console
-Introduced cli parameter --cdl for netlisting CDL
-Implemented netlisting to console for ngspice and xyce
-Increased readability and introduced smart-pointer semantics for some
 qucs-s main.cpp functions
-Increased readability and introduced c++ cast's for casting to
 Schematic* for affected QucsApp::slotSimulateWithSpice and QucsApp::slotSaveNetlist

Signed-off-by: ThomasZecha <zecha@ihp-microelectronics.com>
2025-01-19 14:19:21 +01:00
ThomasZecha
e6f35a35ff Introduce optional netlisting to console
-Implemented conditional netlisting to console for CDL
-forced using trailing a_ for class attributes instead ms-style m_ for
 class QucsApp
-removed unused attribute m_projModel from class QucsApp

Signed-off-by: ThomasZecha <zecha@ihp-microelectronics.com>
2025-01-19 14:19:21 +01:00
ThomasZecha
b4d985d268 Introduce optional netlisting to console
-Replaced qucs_s manual commandline parsing with QCommandLineParser
-Introduced new cli-parameter for netlisting to console

Signed-off-by: ThomasZecha <zecha@ihp-microelectronics.com>
2025-01-19 14:19:21 +01:00
Vadim Kuznetsov
2261b6caf2 Remove remains of XSPICE CM builder 2025-01-19 14:31:44 +03:00
Vadim Kuznetsov
fcdcaeaebe Add swtich to supress digital model generation when creating library 2025-01-19 14:31:44 +03:00
Vadim Kuznetsov
6adc782cff Implement attaching of SPICE libraries to Qucs XML libraries
SPICE libraries referenced by SpiceLibComp are copied to the the
subdirectory when creating a library from project.
2025-01-19 14:31:32 +03:00
Vadim Kuznetsov
cc7dd5f95f Fix rectangle resize 2025-01-17 18:32:23 +03:00
Vadim Kuznetsov
050665e022 Fix rectangle select after rotate 2025-01-16 20:33:07 +03:00
Vadim Kuznetsov
63e087eb6f Fix text shift after mirror 2025-01-16 18:54:51 +03:00
Vadim Kuznetsov
b6c789b5d3 Fix SPICE multilitne header parsing 2025-01-10 17:08:21 +03:00
Vadim Kuznetsov
c87ef57bd2
Merge pull request #1198 from ra3xdh/fix_1195
Fix log calculation in componentdialog.cpp
2025-01-08 09:30:53 +01:00
Vadim Kuznetsov
7a662b7d4a Fix log calculation in componentdialog.cpp 2025-01-08 11:06:22 +03:00
Vadim Kuznetsov
f842cf2d7d Allow passing parameters for SPICE file 2025-01-07 21:28:32 +03:00
ThomasZecha
0d97f032bb Fix compiler warnings
Qt6 QTranslator::load() uses [[nodiscard]] which currently leads to
compiler warnings. This is fixed using static_cast<void>.

Signed-off-by: ThomasZecha <zecha@ihp-microelectronics.com>
2025-01-07 12:11:57 +01:00
Vadim Kuznetsov
ac24a25bfb
Merge pull request #1165 from ThomasZecha/dev/tze/featureExportCdlNetlist
New feature CDL netlist export
2025-01-07 10:45:50 +01:00
Thomas Zecha
efb112d74d
Update qucs.cpp
Fixed typo
2025-01-07 10:22:31 +01:00
Vadim Kuznetsov
f876e6f9fd Fix plotting XSPICE digital nodes 2025-01-06 21:51:08 +03:00
Vadim Kuznetsov
55748eb73e Remove XSPICE-related SubPort properties; has no effect on simulation 2025-01-06 17:57:45 +03:00
Vadim Kuznetsov
3c5e71ab0a Clean commneted code 2025-01-06 17:33:35 +03:00