rlar
c5e0bcde04
cleanup using `hypot()'
2014-12-06 20:41:11 +01:00
rlar
cca5971739
ifs_yacc.y, record various errors and account for them when ifs_yyparse() returns
2014-05-11 20:12:38 +02:00
rlar
90baa6a251
xspice, fix -I path order
...
make sure $(top_builddir)/src/include comes first
to fetch the correct ngspice/config.h file
2014-05-10 22:37:05 +02:00
rlar
7aa454e5b4
rewrite, using tprintf()
2014-04-05 19:10:12 +02:00
rlar
575d42b0a5
mifgetmod.c, rewrite error report for 'unrecognized parameter'
2014-04-05 18:39:13 +02:00
rlar
ea7372efe7
rewrite, useing IFerrorf()
...
OUTerror() and IFerror() are no more used,
but kept for compatibility
2014-04-04 21:22:48 +02:00
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
2014-01-18 19:17:38 +01:00
h_vogt
0a17d46509
new callback function cm_get_path, which makes the global
...
ngspice variable Infile_Path available to XSPICE code models
2014-01-18 19:14:42 +01:00
h_vogt
57091b15f2
d_state: improved error messages
2014-01-18 18:54:01 +01:00
h_vogt
2877cfba22
file source: use open_with_path()
2014-01-18 18:50:50 +01:00
rlar
a7a48ac8d3
analog/{square,triangle}, store boolean tran_init in STATIC_VAR itself
2014-01-02 09:57:17 +01:00
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>
2014-01-02 09:57:14 +01:00
rlar
91449d438c
analog/{sine,square,triangle}, xtradev/core, drop .h files
2014-01-02 09:57:03 +01:00
rlar
2bbfdd55cb
analog/{sine,square,triangle}, xtradev/core, whitespace cleanup
2014-01-02 09:56:27 +01:00
dwarning
bf9ad0bdfd
introduce new SPICEdev operation `DEVsoaCheck()'
2014-01-02 09:32:32 +01:00
h_vogt
bb121fe903
inp.c, evtinit.c: improved error message
...
suggested by Calin Andrian
2014-01-02 09:31:23 +01:00
rlar
6af85a6389
xspice, move `-lm' to the end of the linker command line
2014-01-02 09:31:18 +01:00
Calin Andrian
c38f7236b1
MIFget_boolean(), allow numeric values 0 and 1 too
2014-01-02 09:26:28 +01:00
rlar
1156164056
fix incorrect fprintf() usage
2013-12-31 16:21:44 +01:00
rlar
df5c785a84
drop `INPmodUsed' which is redundant to `INPmodfast'
2013-12-31 16:12:31 +01:00
rlar
40414ead49
cleanup stuttered semicolon
2013-12-31 16:11:34 +01:00
rlar
d52c9e401a
polish `IFC' macro
...
checked for object file invariance,
different code for inppas3.c, seems to be ok
2013-12-31 16:11:28 +01:00
rlar
14687910d9
rewrite `TSTALLOC()' macro for auto indentation
...
checked for object code invariance
2013-12-31 16:10:34 +01:00
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
2013-12-31 16:07:16 +01:00
h_vogt
a2ea2585c1
icm/makedefs.in: add -lm for self-consistent shared libs
2013-12-31 16:07:09 +01:00
h_vogt
9da123df26
icm/dlmain.c: restrict exported symbols under LINUX
2013-12-31 16:06:48 +01:00
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
2013-12-31 12:54:43 +01:00
rlar
4146a8644a
use enum Mif_Port_Type_t values instead of numericals
2012-12-20 18:31:38 +01:00
rlar
6260fd16ec
cmpp, rewrite for proper report of error locations
2012-12-01 22:46:53 +01:00
rlar
348e3976e7
cmpp, use <stdarg.h> for print_error()
2012-12-01 22:39:21 +01:00
rlar
6757c48602
cmpp, remove dead code
2012-12-01 22:29:32 +01:00
rlar
d9590f31c3
cmpp, don't exit(0) when reporting an error
2012-12-01 22:29:29 +01:00
h_vogt
a581c3b43f
mif_inp2.c: bug 3389072 fixed
2012-11-19 23:06:39 +01:00
h_vogt
b676a73167
beautify code
2012-11-19 21:48:13 +01:00
rlar
843126d9a6
fix `make dist'
2012-11-16 22:29:55 +01:00
Francesco Lannutti
1209a5b025
Makefiles, drop some CVS remnants
2012-11-06 19:18:54 +01:00
Francesco Lannutti
32c6a76fc2
Added datarootdir variable as usual behavior and to avoid autoconf warning
2012-11-06 10:38:44 +01:00
rlar
9976c1e177
XSPICE, install dlmain.c
...
for separate compilation of XSPICE user models
2012-11-05 21:23:52 +01:00
Francesco Lannutti
08ec219417
remove all .cvsignore files
2012-10-26 18:30:14 +02:00
Francesco Lannutti
1dc70189a7
remove compilation warnings (type casts)
2012-10-26 18:04:44 +02:00
rlar
5d1bc8e55d
Changed line-ending from DOS to UNIX
2012-10-20 19:48:48 +02:00
dwarning
2506fe3858
changed the #include order - ngspice.h must be first
...
because icc complains about declaration visibility of mmsghdr struct
2012-09-29 20:44:12 +02:00
h_vogt
7c9b90c9ea
XSPICE lcouple: remove unused cm_analog_integrate
2012-09-11 21:29:16 +02:00
h_vogt
cb220b2d6f
XSPICE core: remove memory leak
2012-09-10 23:40:40 +02:00
h_vogt
8d374157fe
XSPICE square: remove memory leak, initialize phase1
2012-09-10 22:52:10 +02:00
h_vogt
d6698c5f6c
XSPICE square: indentations
2012-09-10 22:20:41 +02:00
h_vogt
2379bd577a
XSPICE triangle: remove memory leak remove initialization error for phase1 FIXME: there are still more initialization errors
2012-09-09 19:07:29 +02:00
h_vogt
8ece02a1cd
XSPICE triangle: indentations
2012-09-09 17:56:12 +02:00
h_vogt
feb545d8a7
XSPICE oneshot: remove memory leak remove using uninitialzed variable old_clock correct waveform shape by using permanent breakpoints
2012-09-09 16:55:10 +02:00
h_vogt
36898f9921
indentations
2012-09-09 16:44:58 +02:00