Commit Graph

497 Commits

Author SHA1 Message Date
rlar fefa690714 inpcom.c, inp_get_param_level(), bug fix, access out of bounds 2014-08-03 19:02:04 +02:00
rlar a002a5f6ba inpcom.c, inp_sort_params(), cleanup using new `struct depedency' 2014-08-03 12:50:37 +02:00
rlar 268de0a341 inpcom.c, inp_sort_params(), introduce `search_plain_identifier()' 2014-08-02 19:30:03 +02:00
rlar cea13aef16 partial revert previous commit 2014-08-02 19:26:25 +02:00
rlar 72779956b5 inpcom.c, inp_fix_subckt(), don't modify the processed string 2014-08-02 13:16:06 +02:00
rlar a84e181581 inpcom.c, inp_fix_subckt(), drop unused code 2014-08-02 13:02:09 +02:00
rlar b50af8e8df inpcom.c, inp_fix_subckt(), cleanup 2014-08-02 12:59:19 +02:00
rlar 668b7e23c5 inpcom.c, abstraction, introduce `inp_spawn_brace()' 2014-08-02 12:08:23 +02:00
rlar 26a036ed54 inpcom.c, inp_chk_for_multi_in_vcvs(), comment 2014-08-02 11:45:11 +02:00
rlar d522c7cd18 inpcom.c, inp_chk_for_multi_in_vcvs(), extend the last but one commit 2014-07-30 19:00:48 +02:00
rlar b2e8bec2a9 inpcom.c, inp_chk_for_multi_in_vcvs(), whitespace 2014-07-30 18:48:35 +02:00
rlar c7c9f38523 inpcom.c, inp_chk_for_multi_in_vcvs(), rewrite for readability 2014-07-30 18:44:28 +02:00
rlar 6208c96036 inpcom.c, inp_chk_for_multi_in_vcvs(), emphasise error processing 2014-07-29 20:42:17 +02:00
rlar f5202201c3 inpcom.c, inp_chk_for_multi_in_vcvs(), reorder 2014-07-29 20:26:00 +02:00
rlar 29a4959f5d inpcom.c, inp_chk_for_multi_in_vcvs(), cleanup using more and better named variables 2014-07-29 20:10:46 +02:00
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