rlar
c5e0bcde04
cleanup using `hypot()'
11 years ago
rlar
cca5971739
ifs_yacc.y, record various errors and account for them when ifs_yyparse() returns
12 years ago
rlar
90baa6a251
xspice, fix -I path order
make sure $(top_builddir)/src/include comes first
to fetch the correct ngspice/config.h file
12 years ago
rlar
7aa454e5b4
rewrite, using tprintf()
12 years ago
rlar
575d42b0a5
mifgetmod.c, rewrite error report for 'unrecognized parameter'
12 years ago
rlar
ea7372efe7
rewrite, useing IFerrorf()
OUTerror() and IFerror() are no more used,
but kept for compatibility
12 years ago
h_vogt
e58de3187c
make use of Infile_Path in function open_with_path.
We may now use the following sequence for a file
search from a code model:
Infile_Path/<infile>
NGSPICE_INPUT_DIR/<infile>, where the path is given by the environmental variable
<infile>, where the path is the current directory
12 years ago
h_vogt
0a17d46509
new callback function cm_get_path, which makes the global
ngspice variable Infile_Path available to XSPICE code models
12 years ago
h_vogt
57091b15f2
d_state: improved error messages
12 years ago
h_vogt
2877cfba22
file source: use open_with_path()
12 years ago
rlar
a7a48ac8d3
analog/{square,triangle}, store boolean tran_init in STATIC_VAR itself
12 years ago
rlar
70f12fb1fd
analog/{sine,square,triangle}, xtradev/core, change array access
avoid copy of parameter array,
which would need to be freed to avoid a memory leak
this is a modified and partial version of a patch provided by
Krzysztof Blaszkowski <kb@sysmikro.com.pl>
12 years ago
rlar
91449d438c
analog/{sine,square,triangle}, xtradev/core, drop .h files
12 years ago
rlar
2bbfdd55cb
analog/{sine,square,triangle}, xtradev/core, whitespace cleanup
12 years ago
dwarning
bf9ad0bdfd
introduce new SPICEdev operation `DEVsoaCheck()'
13 years ago
h_vogt
bb121fe903
inp.c, evtinit.c: improved error message
suggested by Calin Andrian
12 years ago
rlar
6af85a6389
xspice, move `-lm' to the end of the linker command line
12 years ago
Calin Andrian
c38f7236b1
MIFget_boolean(), allow numeric values 0 and 1 too
12 years ago
rlar
1156164056
fix incorrect fprintf() usage
13 years ago
rlar
df5c785a84
drop `INPmodUsed' which is redundant to `INPmodfast'
13 years ago
rlar
40414ead49
cleanup stuttered semicolon
13 years ago
rlar
d52c9e401a
polish `IFC' macro
checked for object file invariance,
different code for inppas3.c, seems to be ok
13 years ago
rlar
14687910d9
rewrite `TSTALLOC()' macro for auto indentation
checked for object code invariance
13 years ago
rlar
c0eeb96dd9
xpsice, fix premature tfree() invocation
reported by "Heini X" on the ngspice-users mailing list
this bug was introduced in
: commit 0af75f3bd9
: Date: Sat Aug 18 18:31:23 2012 +0200
:
: subckt.c, mif_inp2.c: plug XSPICE setup memory leaks
13 years ago
h_vogt
a2ea2585c1
icm/makedefs.in: add -lm for self-consistent shared libs
13 years ago
h_vogt
9da123df26
icm/dlmain.c: restrict exported symbols under LINUX
13 years ago
rlar
4184aa8c10
cleanup, use array operator
checked for object file invariance on linux with
./configure --enable-debug=no --enable-maintainer-mode --with-readline=yes --enable-cider --enable-ndev --enable-pss --enable-xspice
13 years ago
rlar
4146a8644a
use enum Mif_Port_Type_t values instead of numericals
13 years ago
rlar
6260fd16ec
cmpp, rewrite for proper report of error locations
14 years ago
rlar
348e3976e7
cmpp, use <stdarg.h> for print_error()
14 years ago
rlar
6757c48602
cmpp, remove dead code
14 years ago
rlar
d9590f31c3
cmpp, don't exit(0) when reporting an error
14 years ago
h_vogt
a581c3b43f
mif_inp2.c: bug 3389072 fixed
14 years ago
h_vogt
b676a73167
beautify code
14 years ago
rlar
843126d9a6
fix `make dist'
14 years ago
Francesco Lannutti
1209a5b025
Makefiles, drop some CVS remnants
14 years ago
Francesco Lannutti
32c6a76fc2
Added datarootdir variable as usual behavior and to avoid autoconf warning
14 years ago
rlar
9976c1e177
XSPICE, install dlmain.c
for separate compilation of XSPICE user models
14 years ago
Francesco Lannutti
08ec219417
remove all .cvsignore files
14 years ago
Francesco Lannutti
1dc70189a7
remove compilation warnings (type casts)
14 years ago
rlar
5d1bc8e55d
Changed line-ending from DOS to UNIX
14 years ago
dwarning
2506fe3858
changed the #include order - ngspice.h must be first
because icc complains about declaration visibility of mmsghdr struct
14 years ago
h_vogt
7c9b90c9ea
XSPICE lcouple: remove unused cm_analog_integrate
14 years ago
h_vogt
cb220b2d6f
XSPICE core: remove memory leak
14 years ago
h_vogt
8d374157fe
XSPICE square: remove memory leak, initialize phase1
14 years ago
h_vogt
d6698c5f6c
XSPICE square: indentations
14 years ago
h_vogt
2379bd577a
XSPICE triangle: remove memory leak remove initialization error for phase1 FIXME: there are still more initialization errors
14 years ago
h_vogt
8ece02a1cd
XSPICE triangle: indentations
14 years ago
h_vogt
feb545d8a7
XSPICE oneshot: remove memory leak remove using uninitialzed variable old_clock correct waveform shape by using permanent breakpoints
14 years ago
h_vogt
36898f9921
indentations
14 years ago