rlar
fc6455ca99
inp.c, bug fix, `temper' in a model parameter, missing INPretrieve() invocation
The model name needs to be transformed into a `IFuid'
before it can be searched for with `findModel()'
see tests/regression/temper/temper-1.cir
11 years ago
rlar
794df1066a
update bison generated files
11 years ago
rlar
1c6efd9481
polish bison/flex makefile rules
11 years ago
rlar
39fdeb0c9a
src/frontend/plotting/gnuplot.c, enforce "noenhanced text" mode
Contrary to older versions gnuplot 5 uses "enhanced text mode" per default.
The strings which we pass to gnuplot don't have "latex" semantics,
thus consistently enforce "noenhanced text mode".
Add a function quote_gnuplot_string() to escape and quote strings
in such a way that they will arrive in gnuplot unmodified.
11 years ago
Marcel Hendrix
02fe549be7
src/frontend/plotting/plotit.c, allow "plot xlog ylog" (equiv to "plot loglog")
11 years ago
rlar
5d19c99e94
src/frontend/outitf.c, bug fix, "resume" causing segment violation
introduced in commit
"noisean, deliver results in V/sqrt(Hz) and A/sqrt(Hz)"
analysisPtr is NULL when beginPlot() is invoked to "resume"
11 years ago
rlar
6ff1560487
frontend/cpitf.c, free a temporary vector which was left in `cp_istrue()'
reported by Marcel Hendrix.
Using conditional expressions within a .control sequence
left some garbage vectors in the current plot.
For example
> let ix = 0
>
> while ix < 2
> let ix = ix + 1
> end
>
> display
"display" reported a variable named "ix < 2"
which was an internal temporary value in said function `cp_istrue()'
11 years ago
rlar
e609c7411d
src/frontend/vectors.c, abstraction, introduce `vec_iszero()'
11 years ago
rlar
44425b1d0a
fix commit "inpcom.c, comment_out_unused_subckt_models() #4/8, introduce `nlist_find()'"
which broke the search for binned models
11 years ago
rlar
cab63eedd4
frontend/com_let.c, bug fix, "#302 Integer in Let Statement"
let 2foo = someexpression
was silently accepted, even though 2foo is an illegal identifier.
(first letter is a digit)
This was especially irritating, since
print 2foo
has a legal meaning, 2 femto oO, which is 2e-15
(whatever Unit an oO might be)
Reported by Justin Fisher in
http://sourceforge.net/p/ngspice/bugs/302/
11 years ago
rlar
7bc6374138
cleanup, use '\0' instead of 0 in char context
11 years ago
rlar
19e427e3a5
cleanup, use NULL instead of 0 in pointer context
11 years ago
rlar
6bea757457
frontend/numparam, drop `sfix()'
11 years ago
rlar
ab5cd17044
inpcom.c, workaround for "#307 define problems with the Modelname "mname" with Subcircuits"
a diode model named "1smb4148" could not be found
because it was dropped in `comment_out_unused_subckt_models()'
as a work around the function
is_a_modelname()
is extended to accept an additional pattern which does match "1smb4148"
Thanks to Martin who submitted the bug report here:
http://sourceforge.net/p/ngspice/bugs/307/
11 years ago
rlar
e4ba6eb602
inpcom.c, comment_out_unused_subckt_models() #8/8, drop `no_of_lines'
11 years ago
rlar
8379de8ddb
inpcom.c, comment_out_unused_subckt_models() #7/8, allocation
11 years ago
rlar
341ee45314
inpcom.c, comment_out_unused_subckt_models() #6/8, cleanup
11 years ago
rlar
e598da4706
inpcom.c, comment_out_unused_subckt_models() #5/8, introduce `nlist_adjoin()'
11 years ago
rlar
2e7b469cfe
inpcom.c, comment_out_unused_subckt_models() #4/8, introduce `nlist_find()'
11 years ago
rlar
d8807c00c4
inpcom.c, comment_out_unused_subckt_models() #3/8, drop ´tmp_cnt', `new_names[]'
11 years ago
rlar
5ec24f4ed0
inpcom.c, comment_out_unused_subckt_models() #2/8, cleanup
11 years ago
rlar
d2e138c592
inpcom.c, comment_out_unused_subckt_models() #1/8, use a struct to collect data
11 years ago
rlar
84a945ca45
inpcom.c, comment_out_unused_subckt_models(), reduce scope of local variables
11 years ago
rlar
a8d90775ca
inpcom.c, get_subckts_for_subckt(), reduce scope of local variables
11 years ago
rlar
e2dabb2e75
inpcom.c, introduce `is_a_modelname()' to encapsulate highly dubious code
11 years ago
Marcel Hendrix
f9432cb3da
frontend/com_measure2.c, bug fix for "meas AVG"
meas "AVG" did merely the average of the given values,
without consideration of their spacing on the "scale" axis.
now use trapezoidal summing to calculate the AVG
note, there is "meas INTEG"
which goes beyond trapezoidal summing
11 years ago
rlar
8be0829b9b
frontend/breakp.c, bug fix, "#306 Deleting breakpoint causes Internal Error in status"
The "delete" command destroyed the whole list of stored breakpoints
instead of just the specified one.
Thanks to "jpcgt", who reported this in
"#306 Deleting breakpoint causes Internal Error in status"
http://sourceforge.net/p/ngspice/bugs/306/
11 years ago
rlar
232debc6ec
drop `NEWN', use `TMALLOC'
11 years ago
rlar
5ac7858a79
rewrite, use tprintf
11 years ago
rlar
6b5bbb71d0
rawfile.c, bug fix, missing memory allocation and a memory leak
11 years ago
dwarning
db52073f5d
cpitf.c: bugfix #304 reported by Dave Clarc, correct base of natural logarithm
11 years ago
rlar
7d92eae124
noisean, introduce a .control variable "sqrnoise" to deliver noise data in squared representation
use "set srqrnoise" (and "unset sqrnoise") to control this.
11 years ago
rlar
8d6726f0f4
noisean, deliver results in V/sqrt(Hz) and A/sqrt(Hz)
11 years ago
rlar
64da5a99bf
src/frontend/com_measure2.c, cleanup, rewrite `correct_vec()'
11 years ago
rlar
27aae75ade
src/frontend/com_measure2.c, bug fix, typo when setting `m_vectype2'
this doesn't change anything, because m_vectype2 is nowhere used.
11 years ago
rlar
76a48c161d
src/frontend/outif.c, introduce guess_type() for common code in plotInit() and fileInit_pass2()
11 years ago
rlar
54c0f47dde
src/frontend/outif.c, fileInit_pass2(), add inoise/onoise types
which were missing in commit:
> Date: Fri Mar 18 20:15:10 2011 +0000
> bug no. 3214252 fixed
11 years ago
rlar
bcda90e258
src/frontend, cleanup, drop `GENcircuit'
11 years ago
rlar
b69e61d010
src/frontend/device.c, cleanup usage of `IFparm.dataType'
11 years ago
rlar
426f567287
spiceif.c, parmlookup(), allow more than one `IF_REDUNDANT' parameter alias
11 years ago
rlar
62d2f5d5f4
use `enum simulation_types'
11 years ago
rlar
6f21c3b9db
use `enum simulation_types'
11 years ago
rlar
b3b543c1c7
typesdef.c, rewrite
11 years ago
rlar
95d2166946
typesdef.c, bug fix, incorrect `notypes', `capacitance' and `charge' doomed
introduced in
Date: Wed Oct 3 15:01:36 2012 +0200
outif.c, typesdef.c, sim.h: correct labeling of cap, cur, and charge data
11 years ago
rlar
2b3220086d
graph.h, grid.c, enforce consistent string buffer size (plot "units", LABEL_CHARS)
11 years ago
rlar
ccc4c60d81
src/frontend/variable.c, swallow "warning: conversion to 'int' from 'size_t' may change the sign of the result"
11 years ago
rlar
a820d11451
inpcom.c, inp_remove_ws(), allow netsted braces `{}'
11 years ago
rlar
9ee7888033
inpcom.c, inp_remove_ws(), copy() only when necessary
11 years ago
rlar
3fd1f56a10
inpcom.c, inp_remove_ws(), fix processing after skipped whitespace
11 years ago
rlar
d623763e58
inpcom.c, cleanup inp_remove_ws(), reorder loop, reveal obscure behaviour
11 years ago