Holger Vogt
fe3222a118
Add an option nginfo to enable a status report during simulation
(currently available only with MS Windows GUI version).
3 years ago
Holger Vogt
c2d11728c4
enable usage of parameters in .options lines.
5 years ago
Holger Vogt
d8085ed594
guard against ft_curckt->ci_ckt == NULL
6 years ago
Jim Monte
ad970ae4e7
Made cp_enqvar() mode modular by adding a separate function to handle the case of a vector. Lists are more efficiently handled by moving common comparisons out of the loop over elements. The first argument of cp_enqvar() is changed from char * to const char * since the name of the variable being found is not altered by the function.
6 years ago
Jim Monte
873e4a8db0
Added no_histsubst option and related fixes
6 years ago
Holger Vogt
be6eca1dbb
add 'option norefvalue' to suppress printing the reference value.
7 years ago
Holger Vogt
d636f7899b
cp_enqvar() returns freshly malloced variables as well
as variables owned by somebody else, e.g. from ft_curckt->ci_vars.
The new function parameter tbfreed notifies the caller if the
variable is malloced here and may be freed safely.
8 years ago
rlar
511cdd7188
struct card, #3/6, rename members from struct line to struct card
9 years ago
rlar
45ad60b738
rename gettok_nc() --> nexttok(), and functionalize it
9 years ago
rlar
bc325b17c5
variables, lift plot_cur->pl_env up to the invoker of cp_usrvars()
10 years ago
rlar
97cdaae19f
variables, cp_usrvars(), be more explicit
lift uv2 return value up to the invoker of cp_usrvars()
10 years ago
rlar
ac336c9920
options.c, cleanup inp_getoptsc()
10 years ago
h_vogt
6a0a6071a0
gettok_nc(&line): like gettok(), move pointer beyond next token in line, but without returning a string, without TMALLOC. Replaces constructs like tfree(gettok(&line)).
10 years ago
h_vogt
6a7895fbc1
frontend/options.c, fix memory leak (pl_name, pl_title, pl_date)
10 years ago
rlar
ac726f0cf4
struct variable, #18/18, clean
10 years ago
rlar
a6cd5eea45
struct variable, #17/18, clean
10 years ago
rlar
af81e6810e
struct variable, #16/18, drop intermediate variable
10 years ago
rlar
212121d373
struct variable, #15/18, rewrite in terms of `var_alloc_xxx()' (do-3)
10 years ago
rlar
eb53b4d703
struct variable, #12/18, rewrite in terms of `var_alloc()' (do-2)
10 years ago
rlar
68042b3d1b
struct variable, #10/18, rewrite in terms of `var_set_xxx()' (do-1)
10 years ago
rlar
41b5f17906
struct variable, #7/18, reorder struct variable operations
10 years ago
rlar
b748f2d6d0
struct variable, #4/18, shrink scope of local variables
10 years ago
rlar
830b4f443f
struct variable, #3/18, cleanup struct variable field initialisation
10 years ago
rlar
01a0449420
struct variable, #2/18, reorder struct variable field initialisation
10 years ago
rlar
cb4c07b7f0
struct variable, #1/18, cleanup for loops
10 years ago
rlar
1d15f6bfce
fix struct variable initialisation
10 years ago
rlar
698cbe20dd
frontend/options.c, fix `cp_enqvar(char *word)', missing `copy()'
10 years ago
rlar
4c1c95e20f
everywhere, use `TMALLOC()' instead of `alloc()'
10 years ago
rlar
7aa454e5b4
rewrite, using tprintf()
12 years ago
rlar
7454a6d486
src/frontend/**, whitespace, indentation, ...
untabify
delete-trailing-whitespace
braces
...
checked for object file invariance on linux
14 years ago
rlar
ec1a71249a
fix ownership of `cp_promptstring' and `cp_program'
14 years ago
rlar
10a9ae32c5
options.c cleanup
14 years ago
rlar
a2f58da0d0
options.c, whitespace
14 years ago
rlar
e93960f9ed
cleanup, if_options() will copy() anyway
14 years ago
rlar
a056ea3065
#3/4 switch realpart() and imagpart() args from ngcomplex* to ngcomplex
14 years ago
h_vogt
bcc23c1f78
exit on all circuit parsing errors if var strict_errorhandling is set
14 years ago
rlar
0b5042e7da
remove CVS `Id',`log' etc. keyword incantations
14 years ago
rlar
10346e055c
#1/4 #include <ngspice/...> --> #include "ngspice/..."
15 years ago
rlar
d26015586c
#1/7 use a subdirectory "ngspice" for includes to create a uniq namespace
15 years ago
rlar
1ec269082c
round to nearest integer, `rawfileprec' `numdgt' `history' if_option() doset()
15 years ago
h_vogt
e6c86b4d98
explicit casting double -> int etc.
15 years ago
rlar
e6c30efe46
Nr 4/5 (x = ...) != NULL , swallow warnings
16 years ago
rlar
7b3960506f
wrap tmalloc MALLOC etc, into two macros TMALLOC and TREALLOC
16 years ago
rlar
894dcead35
collect if_inpdeck() if_run() if_cktfree() if_dump() if_option() in "spiceif.h"
16 years ago
rlar
2540531c38
remove local prototypes, which are allready included
16 years ago
rlar
2990821053
use type void* to pass anonymous data to function if_option()
indicate its actual type with an enum cp_types argument
16 years ago
rlar
a76cd1e104
textual replacement VT_* to CP_*, to avoid conflict in the windows world
16 years ago
h_vogt
79831ac331
'option' command
16 years ago
h_vogt
5f9f71b5a4
variable ngdebug for additional debug info
17 years ago
h_vogt
257d218893
option noinit, ref. to _logb
17 years ago