Simon Richter
59c81976dc
Explicitly mark overriding functions.
2016-09-24 14:53:15 -04:00
Dick Hollenbeck
964b5a1830
Split IO_ERROR out of richio.* and store Problem() and Where() separately
2016-09-20 11:56:23 -04:00
jean-pierre charras
1051732580
DIALOG_SPICE_MODEL_BASE: cosmetic enhancements (mainly better look of spice units table in Passive notebook page)
2016-09-19 18:48:07 +02:00
jean-pierre charras
0719f8d214
Fixes: lp:1624659 (fix some issues in countries which are not using a point as decimal separator)
...
https://bugs.launchpad.net/kicad/+bug/1624659
Small enhancement in dialog_spice_model_base.cpp: add comments about spice values notation.
2016-09-17 18:34:44 +02:00
jean-pierre charras
f3d4f7322b
Simulator dialogs: Fix incorrect handling of Validate(), which was called for all widgets by the default wxID_OK button handler. It is now called only for the active page of these dialogs (as wanted in code), therefore only for used widgets.
...
Note: strangely, this issue was noticed only on Windows, not on Linux.
2016-09-17 14:38:34 +02:00
jean-pierre charras
cd94da7972
Spice simulator and netlist generation: use only netnames (outdated option "use net numbers as net names removed" removed)
...
netlist generation: remove option "replace IC and U ref by X" (broken option).
All component refs are now prefixed by the Spice_Primitive field value.
Therefore the netlist used by Kicad ngsipce simulator and the spice netlist generated from dialog are the same.
(note: like previously, forbidden chars like ( and ) are replaced by _ in netnames)
2016-09-16 20:36:19 +02:00
jp-charras
b63f2f81b7
Fixes: lp:1619436
...
https://bugs.launchpad.net/kicad/+bug/1619436
Eeschema crashes when selecting a text editor from the REC dialog. (Linux Only)
It happens only if a text editor was never selected in Kicad.
2016-09-05 09:02:15 +02:00
Wayne Stambaugh
f477cc958c
Eeschema: PART_LIB object clean up.
...
* Rename redundant function PART_LIB::GetEntry() to PART_LIB::GetAlias() which
is more descriptive and move the GetAlias() function which was nothing more
than a call to GetEntry().
2016-09-02 19:40:18 -04:00
Maciej Suminski
fcedef836a
Revert "Do not use double component primitives in Spice netlist exporter"
...
This commit creates more issues than resolves. It could happen that
there are components with different reference types (e.g. U1 and IC1)
that would be later converted to X1, causing a conflict.
2016-08-31 11:51:17 +02:00
Maciej Suminski
67573f15be
Do not use double component primitives in Spice netlist exporter
...
Fixes: lp:1617768
* https://bugs.launchpad.net/kicad/+bug/1617768
2016-08-30 14:25:56 +02:00
jean-pierre charras
13cfe74956
Simulator dialogs: fix minimal sizes and best sizes.
2016-08-20 17:25:51 +02:00
jean-pierre charras
c0b1e4cd38
Do not allow spaces in component name (value field) in component library editor, in dialogs (Edit field, Create component).
...
In component libraries, a space in name breaks the library, and is not allowed.
2016-08-19 18:42:39 +02:00
Maciej Suminski
7ea120c2a1
Spice model editor by default looks for libraries in the project directory when there is no library assigned
2016-08-19 17:33:26 +02:00
jean-pierre charras
5ed19b6e82
Dialogs for simulator: cosmetic enhancements, make them translatable and resizable. Remove 2 printf used in debug.
2016-08-15 09:53:15 +02:00
Maciej Suminski
6bfdfd5226
Look for libraries in the project path
2016-08-11 14:42:19 +02:00
Maciej Suminski
46ecfd8139
Resized simulator dialogs
2016-08-11 14:42:16 +02:00
Tomasz Wlostowski
80d8dd7205
sim: default to decade frequency sweep for ac analysis
2016-08-11 14:42:15 +02:00
Maciej Suminski
2b041425e5
Resized Spice model dialog
2016-08-11 14:42:14 +02:00
Maciej Suminski
6d7a7a3233
KICAD_SPICE CMake flag
2016-08-11 14:42:13 +02:00
Maciej Suminski
02e4252fcd
A few fixes for DIALOG_SIM_SETTINGS
2016-08-11 14:42:10 +02:00
Maciej Suminski
741ae10a97
Improved Spice model dialog for sources Now user can specify both DC/AC & transient analysis specifications at once.
2016-08-11 14:42:09 +02:00
Maciej Suminski
53d772989a
Store relative library path if possible
2016-08-11 14:42:08 +02:00
Maciej Suminski
39caddd22b
Parsing sim command directives
2016-08-11 14:42:08 +02:00
Maciej Suminski
2740556505
Fix for Spice library parser
2016-08-11 14:42:06 +02:00
Maciej Suminski
6c53aba680
Validators for Spice model dialog
2016-08-11 14:41:56 +02:00
Maciej Suminski
65c7520544
Bulletproof Simulation settings dialog
2016-08-11 14:41:54 +02:00
Maciej Suminski
dfeb5385f3
Disable current signals in all analyses but transient
2016-08-11 14:41:53 +02:00
Maciej Suminski
114e3638e7
Renamed tabs in Spice model dialog
2016-08-11 14:41:52 +02:00
Maciej Suminski
324d27711a
Hide OP & noise analysis, scale settings for AC in settings dialog
2016-08-11 14:41:52 +02:00
Maciej Suminski
0f993ba98c
Current probing
2016-08-11 14:41:52 +02:00
Maciej Suminski
27a7a9b1a5
Spice fields enum values renamed from SPICE_* to SF_*
2016-08-11 14:41:51 +02:00
Maciej Suminski
132e30081b
Disabled assert for unknown Spice primitives
2016-08-11 14:41:47 +02:00
Maciej Suminski
4f9a418694
Moved SPICE_VALUE to a separate source file
2016-08-11 14:41:43 +02:00
Maciej Suminski
f62a6425a3
Changed the simulator code license to GPLv3+
2016-08-11 14:41:43 +02:00
Maciej Suminski
51f0564119
Signals are added using a separate dialog
2016-08-11 14:41:42 +02:00
Maciej Suminski
3999ff1973
Resized DIALOG_SIM_SETTINGS
2016-08-11 14:41:41 +02:00
Maciej Suminski
1a6e048afc
Pressing Enter accepts changes in Simulation settings dialog
2016-08-11 14:41:40 +02:00
Maciej Suminski
246a43baf0
Spice model editor dialog
2016-08-11 14:41:40 +02:00
Maciej Suminski
a83d4802f9
Load Spice directives from schematics when Sim settings dialog is launched
2016-08-11 14:41:36 +02:00
Maciej Suminski
78526ee913
Additional options for netlist exporter (fix passive values, library include paths)
2016-08-11 14:41:36 +02:00
Maciej Suminski
822f436231
Removed unused DIALOG_SIMULATE_PLOT
2016-08-11 14:41:35 +02:00
Maciej Suminski
fe92630f16
Fixes for DC sweep directive generated by Simulator settings dialog
2016-08-11 14:41:34 +02:00
Maciej Suminski
ee1adcd92c
Fix for noise directive generated by Simulation settings dialog
2016-08-11 14:41:32 +02:00
Maciej Suminski
183fb24112
Fixed string for transient simulation directive
2016-08-11 14:41:31 +02:00
Maciej Suminski
c5227b7279
Fix: use correct node numbers in noise simulation directive
2016-08-11 14:41:31 +02:00
Maciej Suminski
3c909e2c32
Allow typing zeroes in Simulation settings dialog
2016-08-11 14:41:31 +02:00
Maciej Suminski
2b1784cfc6
Simulation settings combo boxes are filled with net/power source choices
2016-08-11 14:41:30 +02:00
Maciej Suminski
95ca3914ce
Fields in simulation settings dialog are treated as invalid when empty
2016-08-11 14:41:29 +02:00
Maciej Suminski
a2b16ae640
Initial 'Simulation settings' dialog
2016-08-11 14:41:29 +02:00
Maciej Suminski
951d16c655
Fixed Spice netlist export options and added a few new flags
2016-08-11 14:41:20 +02:00