rlar
4fc33eb656
ifparm, #6/16, missing IF_NONSENSE for some aliases, introduce IOPXR
9 years ago
rlar
b56c2a2504
ifparm, #5/16, missing IF_AC for some aliases, introduce IOPAR
9 years ago
rlar
eac26d741c
ifparm, #4/16, missing IF_REDUNDANT for some aliases, introduce IOPAPR
9 years ago
rlar
511389ad10
inpcom.c, introduce find_back_assignment()
9 years ago
rlar
5238f0b1cb
inpcom.c, find_assignment(), const'ify and declare extern
9 years ago
rlar
2809ccaa13
shrink scope of expr_w_temper
9 years ago
rlar
e35429a222
inpcom.c, introduce rem_tlist()
9 years ago
rlar
c600312d01
deploy devtlist/modtlist in struct circ
9 years ago
rlar
f2f2b3b09a
inp_evaluate_temper(), add struct circ argument
9 years ago
rlar
ab409ad62e
protect vec_free() and free_pnode() macro for use in non braced blocks
if ()
vec_free()
9 years ago
rlar
c7811a76df
ngspice/fteext.h, whitespace and spelling
9 years ago
rlar
cc15853b4f
ngspice/ftedefs.h, whitespace and spelling
10 years ago
h_vogt
d84387d449
CIDER, use controlled_exit(1) instead of exit(1)
10 years ago
rlar
33788f7052
remove excessive inp_evaluate_temper() prototypes
10 years ago
rlar
bd50814677
drop 'depreciated_skip..()'
10 years ago
rlar
7a42510cc0
const'ify some 'skip'ing functions
10 years ago
rlar
45ad60b738
rename gettok_nc() --> nexttok(), and functionalize it
9 years ago
Francesco Lannutti
43f24d6f22
rewrite cktsens.c in terms of the 'SMP' matrix interface
10 years ago
rlar
fb4f462388
SMPnewMatrix(), add 'size' to the function arguments
9 years ago
rlar
c3a92e2bb3
xspice, cleanup, move typedef over to the other ones
9 years ago
rlar
239780ebef
cleanup, use an array for struct GENinstance.GENnode
9 years ago
h_vogt
78ea2e1523
winmain.c, remove of fcn 'read' in Windows
9 years ago
rlar
2bafe98f17
winmain.c, etc, cleanup
9 years ago
rlar
90a205d36d
winmain.c, etc, whitespace cleanup
9 years ago
rlar
3a9ace82bb
winmain.c, etc, cleanup, rewrite obfuscated symbols
substitute in the whole source code:
"__stream" --> "stream"
"__pos" --> "pos"
"__s" --> "s"
"__n" --> "n"
"__c" --> "c"
"__format" --> "format"
"__ptr" --> "ptr"
"__size" --> "size"
"__path" --> "path"
"__mode" --> "mode"
"__offset" --> "offset"
"__whence" --> "whence"
"__arglist" --> "arglist"
"__buf" --> "buf"
"__fp" --> "fp"
"f_c_l_o_s_e" --> "win_x_fclose"
"f_e_o_f" --> "win_x_feof"
"f_e_r_r_o_r" --> "win_x_ferror"
"f_f_l_u_s_h" --> "win_x_fflush"
"fg_e_t_c" --> "win_x_fgetc"
"f_g_e_t_p_o_s" --> "win_x_fgetpos"
"fg_e_t_s" --> "win_x_fgets"
"fp_r_i_n_t_f" --> "win_x_fprintf"
"fp_u_t_c" --> "win_x_fputc"
"fp_u_t_char" --> "win_x_fputchar"
"fp_u_t_s" --> "win_x_fputs"
"f_r_e_a_d" --> "win_x_fread"
"f_r_e_o_p_e_n" --> "win_x_freopen"
"fs_c_a_n_f" --> "win_x_fscanf"
"f_s_e_e_k" --> "win_x_fseek"
"f_s_e_t_p_o_s" --> "win_x_fsetpos"
"f_t_e_l_l" --> "win_x_ftell"
"f_w_r_i_t_e" --> "win_x_fwrite"
"g_e_t_c" --> "win_x_getc"
"g_e_t_char" --> "win_x_getchar"
"g_e_t_s" --> "win_x_gets"
"p_e_r_r_o_r" --> "win_x_perror"
"p_r_i_n_t_f" --> "win_x_printf"
"p_u_t_c" --> "win_x_putc"
"p_u_t_char" --> "win_x_putchar"
"p_u_t_s" --> "win_x_puts"
"r_e_a_d" --> "win_x_read"
"s_c_a_n_f" --> "win_x_scanf"
"ung_e_t_c" --> "win_x_ungetc"
"vfp_r_i_n_t_f" --> "win_x_vfprintf"
"vfs_c_a_n_f" --> "win_x_vfscanf"
"vp_r_i_n_t_f" --> "win_x_vprintf"
"vs_c_a_n_f" --> "win_x_vscanf"
9 years ago
rlar
93d040703d
winmain.c, drop artefact "fgetchar", cleanup/emphasise disabled "freopen"
9 years ago
rlar
b5ccfca24b
implement option 'indverbosity' to control check of inductive systems
default is 2, maximum verbosity
option indverbosity=1
can be used to prevent check for
"incomplete set of couplings"
option indverbosity=0
can be used to avoid the check altogether
set indverbosity=INTEGER
or
.option indverbosity=INTEGER
works as well
9 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
rlar
b4119b94e3
xspice, cm.h, swallow warnings
10 years ago
rlar
9c2733db48
macros.h, cleanup SGN() macro
10 years ago
rlar
4c2e4d0c2f
drop SIGN(), SIGN(1.0,x) --> SGN(x)
10 years ago
rlar
ea5ad6b0e7
drop DC_ABS() and FTEcabs()
10 years ago
rlar
15f2c67968
use M_PI
10 years ago
rlar
9dcf62e1cd
drop home grown mathematical constants
10 years ago
rlar
cbf31c50c2
multi_line.h, drop some excess macros
10 years ago
h_vogt
ae80067fef
cmath2.c, new function stddev to calculate the standard deviation of all elements of a vector
10 years ago
h_vogt
0d50547ac1
commands.c: allow 10000 tokens for 'echo' and 'wrdata'
10 years ago
rlar
0d1b4d54c0
**/Makefile.am, fix "make dist"
10 years ago
rlar
ceed247131
src/Makefile.am, bug #327 , "fix install path for include files"
install in $includedir/ngspice
which is by default $prefix/include/ngspice
Thanks to Maciej Suminski who reported the issue in
#327 Header files are installed in /usr/share/ngspice/include/ngspice
https://sourceforge.net/p/ngspice/bugs/327/
10 years ago
rlar
b302dbe975
inp.c, cleanup using new function `line_nconc()'
10 years ago
h_vogt
c28c5d307a
inp.c, remove bug with handling of options: options stemming from a command file are kept, options from sourced circuit are removed with ckt
10 years ago
rlar
00e571dc00
frontend/inpcom.c, declare search_identifier() non static
10 years ago
h_vogt
bbd7edad72
xspice, two new commands, edisplay and eprvcd
'edisplay' will show a list of all event nodes
'eprvcd' will print all event nodes in vcd format
usage: eprvcd a0 a1 a2 b0 b1 b2 clk > myvcd.vcd
10 years ago
h_vogt
9f62057973
introduce include file "ngspice/randnumb.h"
10 years ago
rlar
c4cd2270ed
com_history.c, static declaration for 'cp_hprint()'
10 years ago
rlar
6156ebd930
fteext.h, remove prototype for nonexistant 'zigset()'
10 years ago
rlar
d298d5cc2f
use memset() instead of deprecated bzero()
10 years ago
rlar
141ed61ec8
use memcpy() instead of deprecated bcopy()
10 years ago