rlar
e4e2abdf09
inpcom.c, inp_chk_for_multi_in_vcvs(), use `strchr()'
2014-07-29 18:40:00 +02:00
rlar
4436a42dbc
inpcom.c, inp_chk_for_multi_in_vcvs(), bug fix
2014-07-27 18:55:50 +02:00
rlar
75ab9ec5e5
inpcom.c, inp_read(), swallow a warning
2014-07-26 20:37:15 +02:00
rlar
1ae1909641
inp_sort_params(), simplify, "%s" does work for the empty string
2014-07-13 18:52:42 +02:00
rlar
63db630a0a
inp_fix_temper_in_param(), cleanup using 'skip_back_ws()'
2014-07-13 18:34:14 +02:00
rlar
6325a4b7ab
inp_fix_temper_in_param(), bug fix, failure to skip whitespace
2014-07-13 18:32:02 +02:00
rlar
5c50ec501d
inpcom.c, cleanup using new function 'search_identifier()'
2014-07-13 18:03:27 +02:00
rlar
a9a43e4b76
inpcom.c, cleanup inp_add_series_resistor()
2014-07-12 14:55:19 +02:00
rlar
7476dec093
inpcom.c, use '\0'
2014-07-12 14:54:03 +02:00
rlar
7f7453a227
inp_do_macro_param_replace(), fix several bugs concerning .func processing
2014-07-08 18:19:26 +02:00
rlar
fd47aafc4e
fix commit, "bug fix, `#279 Problem when using a function to set initial value"
2014-07-06 11:00:05 +02:00
rlar
fbdea9be3d
inpcom.c, inp_fix_inst_calls_for_numparam() rewrite for cleanup
2014-05-14 20:23:21 +02:00
rlar
6d30585a5e
inpcom.c, inp_fix_inst_calls_for_numparam(), local scope for some vars
2014-05-14 19:42:48 +02:00
rlar
5862d1b297
inpcom.c, inp_fix_inst_calls_for_numparam(), avoid excess tfree() invocations
2014-05-14 19:16:13 +02:00
rlar
e652dc40be
inpcom.c, drop unused artifacts
2014-05-14 18:18:22 +02:00
rlar
7a6b569b3b
inpcom.c, rewrite bizarre code in inp_get_params()
2014-05-14 18:15:00 +02:00
rlar
7813f6cf6a
cleanup, use tprintf()
2014-04-12 21:34:16 +02:00
rlar
7aa454e5b4
rewrite, using tprintf()
2014-04-05 19:10:12 +02:00
rlar
b6ed9a3620
bug fix, `#279 Problem when using a function to set initial value"
...
reported by Marcel Hendrix in
http://sourceforge.net/p/ngspice/bugs/279/
"SPF_time" erroneously did match "time"
introduce a saver matcher for
`v(' `i(' `temper' `time' and `hertz'
when checking for behavioural R,L,C devices
2014-04-01 21:17:00 +02:00
rlar
060257a468
inpcom.c, sharedlib, strip leading whitepace from circuit deck
...
this was traditionally done in inp_read() by readline(),
and was missing for circuit decks passed by 'circarray'
2014-03-09 17:10:55 +01:00
rlar
66281cad4e
inpcom.c: exclude command 'shell' from lower case letter transformation
...
reported by Dominique Michel
[Ngspice-users] gs is confused with the shell command
shell gs -dBATCH -dNOPAUSE -sDEVICE=png256 -sOutputFile="plot.png"
2014-01-19 17:14:13 +01:00
h_vogt
74b32f392c
inpcom.c: E, G source, improved search for 'vol' and 'cur'
...
in response to a bug report by Marlize Schoeman
"#274 VCVS Exxxx name and node names do not allow VOL as text"
http://sourceforge.net/p/ngspice/bugs/274/
2014-01-11 16:24:23 +01:00
h_vogt
0e2fc3ceef
inpcom.c: allow node names and .func parameters having
...
equal string representation
2014-01-02 09:33:33 +01:00
h_vogt
a717fd01ab
inpcom.c: enable .include with $end-of-line in .control section
2014-01-02 09:33:28 +01:00
h_vogt
59de942bdf
enable parameter replacement in R, L, C lines, if equation is
...
without {} and not in a subcircuit
2014-01-02 09:33:16 +01:00
h_vogt
8dbefe2153
inpcom.c: allow proper 'temper' substitution
...
if device name and parameter name are the same,
or if parameter name is the last token in the line.
2014-01-02 09:33:09 +01:00
h_vogt
75eee691c4
inpcom.c remove bug: parens around equation h, f
...
add equation + temper capability to gain of F-Source
2014-01-02 09:33:03 +01:00
h_vogt
606c98904d
inpcom.c: H Source with equation and temper in transresistance
2014-01-02 09:33:01 +01:00
rlar
e2292cc5c4
inpcom.c, drop cp_tildexpand() in expand_this(), inp_pathresolve_at() shall do this
2014-01-02 09:32:29 +01:00
rlar
71fc51871e
inpcom.c, rewrite .lib reading
...
use canonical file names to remember known .lib files
remember their directories in `habitat'
use inp_pathresolve_at() to find .lib files with regard to `searchpath' and current directory
2014-01-02 09:32:27 +01:00
rlar
f2d3c9f122
inpcom.c, recurse expand_section_ref()
2014-01-02 09:32:25 +01:00
rlar
366d79b9b9
inpcom.c, cleanup
2014-01-02 09:32:24 +01:00
rlar
0420c0604b
inpcom.c, whitespace cleanup
2014-01-02 09:32:22 +01:00
rlar
8fe86bb1c9
inpcom.c, reorder
2014-01-02 09:32:20 +01:00
rlar
0a2f5d2e55
inpcom.c, abstraction, introduce expand_section_ref()
2014-01-02 09:32:19 +01:00
rlar
6c30ad1b1e
inpcom.c, simplify `.include' file processing using inp_pathresolve_at()
2014-01-02 09:32:17 +01:00
rlar
196102ee88
inpcom.c, introduce inp_pathresolve_at()
2014-01-02 09:32:15 +01:00
rlar
51bbd8c4d4
inpcom.c, introduce inp_pathresolve(), rewrite inp_pathopen() using this
2014-01-02 09:32:11 +01:00
h_vogt
9959030765
inpcom.c, for mingw absolute pathnames may begin with /d/
...
allow this when variable 'mingwpath' is set in .spinit
2014-01-02 09:32:08 +01:00
h_vogt
85ddc5b6db
inpcom.c, remove variable "sourcefile" and references to "sourcefile"
...
this will no longer be required for access to input file residing
in the executable's directory
2014-01-02 09:32:06 +01:00
rlar
9b4238ed04
inpcom.c, fix inp_pathopen(), always try to fopen() relative to the current working directory first
2014-01-02 09:32:03 +01:00
rlar
0ce23e6f10
inpcom.c, fix inp_pathopen(), relative path shall be expanded regarding "sourcepath"
2014-01-02 09:31:58 +01:00
rlar
7524882f67
inpcom.c, simplify using is_plain_filename(), fix incorrect comments
2014-01-02 09:31:56 +01:00
rlar
e0c398024f
inpcom.c, implement is_absolute_pathname() and is_plain_filename()
2014-01-02 09:31:55 +01:00
rlar
719b5e5c20
inpcom.c, exclude currently unused functions
2013-12-31 16:42:03 +01:00
rlar
df0d1826ca
inpcom.c, drop ternary_fcn code in inpcom.c, the extended "formula" shall process ternary expressions
2013-12-31 16:41:36 +01:00
rlar
a235b46795
inpcom.c, add missing condition `!comfile' for .title and .end processing
2013-12-31 16:41:25 +01:00
h_vogt
3c49c4eb8f
fix criterion to start `.lib' and `.global gnd' processing
2013-12-31 16:41:24 +01:00
rlar
10f651da35
inpcom.c: MSVC compatibility
2013-12-31 16:41:23 +01:00
rlar
dc2cd6fe01
inpcom.c, cleanup inp_readall() #7/7, drop misleading comment
2013-12-31 16:41:22 +01:00