rlar
486ffc9429
outitf.c, whitespace
2012-06-12 21:26:31 +02:00
h_vogt
c78d71c363
.nodeset all = value added to set all voltage nodes at once
2012-06-12 21:26:31 +02:00
rlar
a34cbdbeab
tiny cleanup
2012-06-12 21:26:30 +02:00
rlar
b1cbebaa99
fix tcl module compilation
...
test programs don't compile when compiling for TCL_MODULE
due to redefinition of fprintf()
2012-06-12 21:26:30 +02:00
rlar
6ae6223250
misccoms.c, com_quit(), implement exitcode
2012-06-12 21:26:30 +02:00
rlar
5436de5bab
misccoms.c, tiny rewrite
2012-06-12 21:26:30 +02:00
rlar
8dcf132199
misccoms.c, shrink scope
2012-06-12 21:26:30 +02:00
rlar
cc32eae60b
misccoms.c, collect byemessage()
2012-06-12 21:26:30 +02:00
rlar
b9c0159cd6
misccoms.c, noask
2012-06-12 21:26:30 +02:00
rlar
41de8d95ff
misccoms.c, collapse strings
2012-06-12 21:26:30 +02:00
rlar
11878ee4ad
misccoms.c, use strncasecmp()
2012-06-12 21:26:30 +02:00
rlar
5f3b453a30
misccoms.c, indentation and whitespace cleanup
2012-06-12 21:26:30 +02:00
h_vogt
215809b99f
change comments, CVS --> git
2012-06-12 21:26:30 +02:00
rlar
f65cdd2f84
Changed line ending of several files from DOS to UNIX
2012-06-12 21:26:29 +02:00
rlar
3d34b22ebf
fix file modes
2012-06-12 21:26:29 +02:00
h_vogt
a212be67bc
Exit with error if file not found: fgets() cannot read from NULL
2012-06-12 21:26:29 +02:00
rlar
14f884729c
raw_write() always fopen("wb"), even on windows use "\n" line termination
2012-06-12 21:26:29 +02:00
rlar
10e5dbfbcc
raw_read() always fopen("rb") even on windows, always swallow "\r"
2012-06-12 21:26:29 +02:00
rlar
e598598d70
Reverting "NUMDdump(): add binary mode"
...
This reverts commit 40e8f868da
2012-06-12 21:26:29 +02:00
rlar
d8105873db
remove error.h, use fteext.h for controlled_exit()
2012-06-12 21:26:29 +02:00
rlar
a9eb96e164
avoid `ambiguous else' Warning
2012-06-12 21:26:29 +02:00
dwarning
4a02eb6683
tests/bsim4: use the standard CMC model check
2012-06-12 21:26:27 +02:00
h_vogt
023374fa79
update `making xspice' within actual ngspice
2012-06-12 21:26:27 +02:00
h_vogt
40e8f868da
NUMDdump(): add binary mode
...
fopen() with wb
write operating point (external state) for true binary output
2012-06-12 21:26:27 +02:00
h_vogt
80ca57eb76
beautify code
2012-06-12 21:26:27 +02:00
h_vogt
d65259fd45
error return only if variable `error' is set
2012-06-12 21:26:27 +02:00
h_vogt
ca8e9b2d2d
prevent false outputs of @dev[param], when not defined in ac simulation
2012-06-12 21:26:27 +02:00
h_vogt
fe86d3d5c7
Enable ctrl-c to interrupt a simulation also for Windows GUI
2012-06-12 21:26:27 +02:00
h_vogt
a820a7cba8
Independent variable `temper' now returns the temperature in degree C
2012-06-12 21:26:27 +02:00
h_vogt
a51953d93e
allow `time', `temper', and `hertz' in expressions of behavioral R,L,C devices
2012-06-12 21:26:27 +02:00
rlar
bde3536ecc
subckt.c, doit(): fix another memory leak
2012-06-12 21:26:27 +02:00
rlar
e3402554f0
subckt.c, doit(): fix a memory leak
2012-06-12 21:26:27 +02:00
h_vogt
dcde15afd2
exclude circuits with XSPICE 'A' devices from using 'savesnap'
...
XSPICE data storage is not yet implemented
2012-06-12 21:26:26 +02:00
rlar
58b0614467
fix memory leaks in ASRC and in INPgetTree()
...
implement a reference counter `usecnt' for the elements
of the `INPparseTree'
2012-06-12 21:26:26 +02:00
rlar
4fb75fbd51
INPgetTree(), express the live range of some globals
2012-06-12 21:26:26 +02:00
rlar
d21b3a3cd5
mkfnode(), minor rewrite
2012-06-12 21:26:26 +02:00
rlar
e889c821d1
configure.ac, fix `NO_X' and `has_no_help'
...
drop configure options `--enable-x' and `--disable-x'
use `--with-x' and `--without-x' provided by AC_PATH_X
bug tracker item:
[ngspice-Bugs-3515015] Startup error message without x11
https://sourceforge.net/tracker/index.php?func=detail&aid=3515015&group_id=38962&atid=423915
2012-04-06 16:19:49 +02:00
rlar
7641450b29
inpptree.c, fix differentiation of PTF_FLOOR PTF_CEIL and PTF_POW
2012-04-05 21:55:44 +02:00
rlar
149345068f
update bison generated files
2012-04-05 21:33:54 +02:00
rlar
3bb2bd8e05
fix memory leak in PTparse()
2012-04-05 21:30:41 +02:00
rlar
15bda2b9e0
fix memory leak in PPparse()
2012-04-05 21:30:05 +02:00
rlar
76336fa21b
fix memory leak in cp_vset()
2012-04-05 21:25:04 +02:00
rlar
9a75774e36
inpptree.c, polish comments
2012-04-05 21:24:48 +02:00
rlar
42653f7c3d
inpptree.c, fix premature memory allocation
2012-04-05 21:24:25 +02:00
Michael Woodworth
3375e1b976
fix a memory leak in parse_line()
...
This has a HUGE affect on memory usage
2012-04-05 20:49:09 +02:00
h_vogt
8b780fa42b
bug_fix: R,L,C instantiations, tc1, tc2, numbers followed by `:'
...
Ternary function was not recognized in R, C, or L lines
if no voltage or current node was part of the expression,
because then B-Source is not used.
In these cases now inp_fix_ternary_operator_str() is called explicitly.
tc1, tc2 were sometimes recognized falsely,
if part of a token e.g. tc1end.
R, C, and L models are never commented out,
because their names may be token no. 4 or 5 in an R, C, or L line,
and will not be recognized if 5.
INPevaluate() will now correctly evaluate a number if followed by ':'
(number may be part of the ternary function).
2012-03-31 23:42:37 +02:00
h_vogt
232270cbc4
bug fix, inp_bsource_compat(): `tc1=' `tc2=' `reciproctc=' `}'
...
don't substitute `tc1=' `tc2=' `reciproctc='
don't fail when processing tokens followed by `}' chars
2012-03-30 22:56:15 +02:00
rlar
e91e3c4ec7
lingrid(), avoid buffer overflow
...
Bug ID: `Buffer overflow detected - ID: 3510521'
reported by Zsolt Makaró
The variable `mag3' sometimes seems to take
unexpected values
(for example log10 can be -Inf, which will be casted to 0x80000000)
and seems then to have overflown a buffer buf[LABEL_CHARS]
2012-03-27 21:07:12 +02:00
rlar
6e829f7cc4
rewrite subckt.c
...
transform doit() into a true recursive version,
drop usage of global variables
reduce scope of many variables
cleanup and readability
FIXME,
an opportunity to plug a memory leak is visible now.
2012-03-25 20:19:42 +02:00
rlar
da06afb895
bug fix, numnodes()
...
in response to the `ex-41.cir' test case
distilled from a Dietmar Warning Bug report in
"Subject: Re: subckt, param"
translate() is called recursively and depends on
`num of nodes' provided by numnodes().
numnodes() depends on availability of `su_numargs'.
But the processing allows non-processing of subckt instantiations
in inner recursions (which will be processed later)
which means `su_numargs' is not always available.
2012-03-25 18:54:10 +02:00