rlar
b1d8b99018
skip-ws, #6/6, rename to match inpcom.c
2016-03-22 15:26:10 +01:00
rlar
22875d056b
skip-ws, #5/6, use functional style
2016-03-22 15:26:09 +01:00
rlar
d12679fccd
skip-ws, #4/6, drop `TEMPORARY_SKIP_WS_X0'
...
use TEMPORARY_SKIP_WS_X1 instead of TEMPORARY_SKIP_WS_X0
2016-03-22 15:26:08 +01:00
rlar
a86f2068c8
skip-ws, #3/6, use TEMPORARY macros, obj-invariant
2016-03-22 15:26:06 +01:00
rlar
6d1171ad6f
skip-ws, #2/6, introduce "ngspice/stringskip.h"
...
with some temporary macros to skip whitespace
2016-03-22 15:26:05 +01:00
rlar
1ad65120d5
skip-ws, #1/6, prepare for rewrite, obj-invariant
2016-03-22 15:26:04 +01:00
rlar
deeb06b063
inpcom.c, inline and rename the `skip' family, depreciate some of them
2016-03-22 15:26:02 +01:00
rlar
88983b079b
numparam/spicenum.c, prevent memory access beyond end of string
2016-03-22 15:25:47 +01:00
rlar
1578348fdf
frontend/inp.c, inp_evaluate_temper(), fix memory hole
2016-03-22 15:25:43 +01:00
rlar
cc8f84ab84
frontend/inp.c, inp_parse_temper(), bug fix, prevent multiple free'ed memory
2016-03-22 15:25:39 +01:00
rlar
c9ee5a4501
frontend/inp.c, inp_parse_temper(), rewrite linked list insertion
2016-03-22 15:25:33 +01:00
rlar
f9794431c3
xspice/icm/digital/d_osc/cfunc.mod, swallow a warning
2016-03-22 15:24:53 +01:00
rlar
297c1e90b6
xspice/icm/digital/d_state/cfunc.mod, swallow warnings
...
current state and next_state are denoted by integers,
though parsed with a parser written for double values.
2016-03-22 15:24:45 +01:00
rlar
2b0c60dadf
xspice/ipc/ipcsockets.c, choke some warnings
...
Fixme, this code is simply broken,
nobody seems to use it.
One would need to change the socket protocol (message length)
in agreement with the users of the protocol.
For the time beeing,
just suffocate the warnings in a way which does not change
the broken behaviour of this code.
2016-03-22 15:24:41 +01:00
rlar
20aaa3973a
frontend/trannoise/wallace.c, avoid warnings
...
drop unused `s' and `cob'
chage type of `coa', which is used exclusively in `unsigned int' context
2016-03-22 15:24:31 +01:00
rlar
4b5669a51c
frontend/resource.c, fix bizarre time mathematics
2016-03-22 15:24:25 +01:00
rlar
36064b624a
frontend/resource.c, rename time variables to denote their actual units
2016-03-22 15:24:20 +01:00
rlar
1125b293e3
frontend/resource.c, bug fix, lastusec actually denotes milliseconds
2016-03-22 15:23:53 +01:00
rlar
03630efb8c
remove ancient artefact `#ifdef ipsc'
2016-03-22 15:23:46 +01:00
rlar
40a0cea0d2
swap some `SWAP' arguments for readability
2016-03-22 15:23:05 +01:00
rlar
bd0bc3038b
use `SWAP' macro
2016-03-22 13:04:13 +01:00
rlar
b36385e333
improve `SWAP' macro
2016-03-22 13:03:59 +01:00
rlar
f84d2d4e44
misc/wlist.c, minor cleanup
2016-03-22 11:22:53 +01:00
rlar
273be42cfd
improve `ABORT' macro
2016-03-21 21:22:26 +01:00
rlar
6fe937f931
drop unused `SWAPINT' macro
2016-03-21 21:22:23 +01:00
rlar
6342bec8ec
everywhere, drop `MALLOC()' and `REALLOC()'
2016-03-21 21:22:15 +01:00
rlar
4c1c95e20f
everywhere, use `TMALLOC()' instead of `alloc()'
2016-03-21 21:22:07 +01:00
h_vogt
7d8e287fa3
enable backquote substitution for Visual Studio console apps
2016-03-09 20:24:37 +01:00
h_vogt
25264b3980
memory.h: hrealloc not used anywhere
2016-03-09 20:24:37 +01:00
rlar
d0897fd0c4
src/spicelib/parser/inpptree.c, bug fix, B expression of kind `max(0,expr)'
...
identified and reported by Marcel Hendrix,
expressions of this kind could trigger a segmentation violation.
PTdifferentiate() roughly evaluates to
ternary_fcn(ge0(0-expr), 0, PTdifferentate(expr))
and mkb() optimizes
0 - expr --> unary_minus(expr)
IFeval() invokes PTeval() for the derivative too,
PTeval() looks at the incorrect tree->funcnum
and tries to PTeval for a second argument which is not there,
(unary_minus does not have a second argument)
causing a segmentation fault.
2016-03-09 20:24:37 +01:00
rlar
c0eff98522
tests/regression/parser/bxpressn-1.cir, check some B expression capabilities
2016-03-09 20:24:36 +01:00
rlar
0932120a7f
special cases of the char variants of the <ctype.h> family
2016-03-09 20:24:36 +01:00
rlar
726d0be34c
use char variants of the <ctype.h> toxxxx() family
2016-03-09 20:24:36 +01:00
rlar
71a7c3459b
use char variants of the <ctype.h> isxxxx() family
2016-03-09 20:24:36 +01:00
rlar
d0c5a495ca
ngspice.h, cm.h, cmpp.h, introduce char variants of the <ctype.h> family
2016-03-09 20:24:36 +01:00
rlar
07aba2e2ae
frontend/variable.c, used `isalnum()' instead of homegrown `isalphanum()'
2016-03-09 20:24:36 +01:00
rlar
7a51ead0a5
frontend/inpcom.c, char argument for `identifier_char()'
2016-03-09 20:24:36 +01:00
rlar
ea0cd17974
numparam/xpressn.c, fix a warning
2016-03-09 20:24:36 +01:00
rlar
1a257cd55a
frontend/breakp.c, cleanup `dbfree1()' and `dbfree()'
2016-03-09 18:23:23 +01:00
rlar
8ce99a3c66
plotting/graf.c, bug fix, dbfree1() is wanted instead of dbfree()
2016-03-09 18:23:22 +01:00
mhx
d97e12b1ab
frontend/breakp.c, avoid segfault on/after "delete all"
2016-03-09 18:23:21 +01:00
rlar
6d356f439d
autogen.sh, src/Makefile.am, fix a build problem
...
in autogen.sh:
libtoolize generates m4/*.m4 files
autoheader generates config.h.in
but only when needed
Thus a second autogen.sh invocation generated new .m4 files
but left config.h.in untouched with old timestamp
The makefiles did recognice this situation and tried to regenerate
config.h.in and config.h
But the subdir src/include was not the first one in src/Makefile.am
and thus this update did occure too late,
causing further rebuilds in the next make invocation.
Avoid this with --force arguments to the autotools,
and put src/include into the first position.
2016-03-09 18:23:20 +01:00
rlar
d59b74471b
xspice/icm, fix some warnings
2016-03-09 18:23:18 +01:00
h_vogt
72d7bb9c8a
introduce visualc/{*install*.bat,*.sln} and update howto file
2016-02-07 17:45:43 +01:00
h_vogt
c022d8f419
introduce visualc/xspice
2016-02-07 17:45:43 +01:00
h_vogt
51bc944def
xspice/cmpp, compatibility with MS Visual Studio
2016-02-07 17:45:43 +01:00
h_vogt
caee377fd3
visualc/, put flex/bison output files into tmp-bison/
2016-02-07 17:45:42 +01:00
h_vogt
a0106d3590
visualc/, move *.c, *.h into src/
2016-02-07 17:45:42 +01:00
h_vogt
9e9240aae3
visualc/include/ngspice/config.h, target directories for debug versions
2016-02-07 17:45:42 +01:00
h_vogt
866bc36e3a
visualc/*.vcxproj, <LargeAddressAware>true
...
allow access to
4 GB memory of 32 bit ngspice on 64 bit Windows,
8 TB for 64 bit ngspice.
2016-02-07 17:45:42 +01:00