rlar
9579b78091
inpcom.c, inp_fix_temper_in_param(), abstraction, introduce `inp_functionalise_identifier()'
2014-12-13 18:23:30 +01:00
rlar
ff613c3c41
inpcom.c, abstraction, yet another `ya_search_identifier()'
2014-12-06 20:48:26 +01:00
rlar
c5e0bcde04
cleanup using `hypot()'
2014-12-06 20:41:11 +01:00
rlar
eafa0a9bed
inpcom.c, use backwards protected `skip_back_ws_()'
2014-12-05 19:39:51 +01:00
rlar
e0859d78c0
inpcom.c, rewrite `inp_fix_temper_in_param()'
2014-12-02 20:04:23 +01:00
rlar
7524ad2ee6
src/misc/string.c, rewrite using `copy_substring()'
2014-12-01 20:18:59 +01:00
rlar
45cfdde701
src/frontend/plotting/plotit.c, plotit(), fix command line buffer overflow
2014-11-30 22:15:37 +01:00
rlar
d18d2a935c
src/frontend/variable.c, rewrite `cp_variablesubst()'
2014-11-30 20:58:29 +01:00
rlar
33d33e9d50
src/frontend/variable.c, fix expansion of '$var' when $var is an empty list
...
test case:
set foo = ( )
set foo = ( $foo baz bar )
echo $foo
2014-11-30 11:20:05 +01:00
rlar
bd441171a7
inpcom.c, inp_fix_param_values(), bug fix, #295 .model fails when a literal numerical parameter value starts with a '+'
2014-11-10 21:18:18 +01:00
rlar
5e76305ffa
inpcom.c, inp_modify_exp(), bug fix, enforce precedence when numparm substitutions come into play
2014-11-06 21:16:24 +01:00
rlar
30742f30a4
inpcom.c, inp_modify_exp(), bug fix, #294 B source failure when using an unary minus
2014-11-06 18:29:54 +01:00
rlar
c79d2482ae
inp_modify_exp(), remove operator rewrite `**' --> `^'
...
Thats implemented in the lexer for B expressions,
( `PTlex()' in src/spicelib/parser/inpptree.c )
2014-11-04 19:59:40 +01:00
rlar
70ad8cce5f
inp_modify_exp(), cleanup #17/17, polish while loop
2014-11-04 18:56:34 +01:00
rlar
aa05b6f095
inp_modify_exp(), cleanup #16/17, whitespace
2014-11-04 18:56:34 +01:00
rlar
b37db50aed
inp_modify_exp(), cleanup #15/17, use postincrement
2014-11-04 18:56:34 +01:00
rlar
b58c8252cc
inp_modify_exp(), cleanup #14/17, reduce scope of `buf'
2014-11-04 18:56:34 +01:00
rlar
e1f8344bae
inp_modify_exp(), cleanup #13/17, rename `ustate' --> `state'
2014-11-04 18:56:34 +01:00
rlar
970b5ed772
inp_modify_exp(), cleanup #12/17, rename `actchar' --> `c'
2014-11-04 18:56:32 +01:00
rlar
88a01bfd68
inp_modify_exp(), cleanup #11/17, rename `str_ptr' --> `s'
2014-11-04 18:56:24 +01:00
rlar
b023f36dbb
inp_modify_exp(), cleanup #10/17, use tprintf()
2014-11-04 18:55:37 +01:00
rlar
2992d6b416
inp_modify_exp(), cleanup #9/17, use `int' for `i'
2014-11-04 18:55:36 +01:00
rlar
ca767ef08f
inp_modify_exp(), cleanup #8/17, use an enum for `ustate'
2014-11-04 18:55:34 +01:00
rlar
c792f344bb
inp_modify_exp(), cleanup #7/17, use postincrement
2014-11-04 18:53:29 +01:00
rlar
381b5d9ec1
inp_modify_exp(), cleanup #6/17, rewrite
2014-11-04 18:53:28 +01:00
rlar
49c233029a
inp_modify_exp(), cleanup #5/17, local scope for variables
2014-11-04 18:53:28 +01:00
rlar
6bc63f798d
inp_modify_exp(), cleanup #4/17, cleanup for loop
2014-11-04 18:53:28 +01:00
rlar
74954fbcfe
inp_modify_exp(), cleanup #3/17, drop `new_str'
2014-11-04 18:53:28 +01:00
rlar
3d842352aa
inp_modify_exp(), cleanup #2/17, remove redundant assignments
2014-11-04 18:53:26 +01:00
rlar
3fc7b99292
inp_modify_exp(), cleanup #1/17, use tprintf()
2014-11-04 18:50:53 +01:00
rlar
87960d52b4
inpcom.c, use tprintf() to simplify code in inp_bsource_compat()
2014-11-02 19:46:16 +01:00
rlar
8b04ff6b7c
inpcom.c, use inp_modify_exp() to remove duplicated code in inp_bsource_compat()
2014-11-02 19:45:42 +01:00
rlar
5464859ebb
inpcom.c, inp_bsource_compat(), shrink brace removal to the actual b-expression
2014-11-02 18:45:41 +01:00
rlar
5550d53512
inpcom.c, inp_bsource_compat(), fix an assertion
2014-11-02 18:45:28 +01:00
rlar
71a1b27a23
inpcom.c, inp_modify_exp(expr), offload tfree(expr) to the invoker
2014-11-02 18:45:14 +01:00
rlar
1f9cf0b6b5
inpcom.c, bug fix, #293 Bug in .option rseries = <value> with parallel inductors
...
reported by João Alberto and Andy Fierman in
http://sourceforge.net/p/ngspice/bugs/293/
2014-10-30 20:18:11 +01:00
rlar
254be00842
src/frontend/postcoms.c, cleanup, unused variable `appendwrite'
2014-10-12 22:08:19 +02:00
rlar
e08dcafbe9
cleanup, signature of CKTacDump() and CKTdump(), void* --> runDesc*
2014-10-12 22:07:28 +02:00
Jim Holmes
85ae073471
src/frontend/postcoms.c, bugfix, write/save an xspice `event' node
...
In function EVTfindvec() XSPICE can create
a `dvec' with a non NULL `v_scale' slot.
This special scale with name "step"
differs from the current plot `pl_scale' slot
and triggered ancient buggy code here.
2014-10-12 19:32:17 +02:00
rlar
5c97e31049
cleanup, use '\0' and NULL
2014-09-20 19:20:20 +02:00
rlar
0865747d88
numparam/mystring.c, cleanup functions which return `void'
2014-09-20 18:55:32 +02:00
rlar
c6a8429258
src/maths/cmaths, implement `nint()' (.control language)
2014-09-20 17:15:10 +02:00
rlar
9e72296e40
src/spicelib/parse, implement `nint()' (`B' language)
2014-09-20 17:15:09 +02:00
rlar
2602a492b2
fix `log' in `B' and in `.control', to base e instead of 10
...
In the B language this can be considered a bug fix.
In the .control language this is a severe change
and breaks backwards compatibility.
In all three languages 'numparam' 'B' and '.control' we now have
ln to the base e
log to the base e
log10 to the base 10
Thus log and log10 is now consistent
with the vast majority of programming languages.
ln is merely for convenience.
very few other languages have it.
I'd like to discourage its usage.
2014-09-12 19:18:11 +02:00
rlar
abfd38b535
B language, introduce `log10'
2014-09-12 19:10:07 +02:00
rlar
88bc7874f0
numparm, introduce `log10'
2014-09-12 19:09:56 +02:00
rlar
99eade8ec9
cleanup, rename cx_ln --> cx_log (.control language)
2014-09-12 19:09:52 +02:00
rlar
c926f46986
cleanup, rename rename cx_log --> cx_log10 (.control language)
2014-09-12 19:09:42 +02:00
rlar
bdf70bd2b0
cleanup, rename PTln --> PTlog, PTF_LN --> PTF_LOG (`B' language)
2014-09-12 19:09:30 +02:00
rlar
93a212ca3c
cleanup, rename PTlog --> PTlog10, PTF_LOG --> PTF_LOG10 (`B' language)
2014-09-12 19:05:56 +02:00
rlar
5e8856d944
inpcom.c, inp_get_func_from_line(), allow an optional '=' in ".func foo() = {expr}"
2014-08-12 18:10:14 +02:00
rlar
e1f0dc5893
numparam, nupa_define(), drop unused argument `pval'
2014-08-10 20:21:48 +02:00
rlar
c2028203a8
numparam, unify `entry' variable
2014-08-10 20:21:43 +02:00
rlar
a67b74ab9f
numparam, unify `dico' variable
2014-08-10 20:21:39 +02:00
rlar
e952500be3
numparam, rename `tdico' --> `dico_t'
2014-08-10 20:21:34 +02:00
rlar
f3ce5bde2c
numparam, rename `entry' --> `entry_t'
2014-08-10 20:21:29 +02:00
rlar
1910f50179
numparam, cleanup typedefs
2014-08-10 20:21:25 +02:00
rlar
612777d79d
numparam, drop unused code
2014-08-10 20:21:19 +02:00
rlar
cbe9aca764
inpcom.c, inp_split_multi_param_lines(), drop `keep' business
2014-08-10 16:59:28 +02:00
rlar
8a8a4f2fdb
inpcom.c, inp_split_multi_param_lines(), bug fix, skip ',' when splitting .param lines
2014-08-10 16:58:05 +02:00
rlar
e0a74261ae
numparam, cleanup `symbols' reallocation
2014-08-09 20:51:02 +02:00
rlar
699ea93d1e
numparam, combine `symbols[0]' with `symbols[>0]' processing
2014-08-09 20:49:46 +02:00
rlar
8ee943e0c8
numparam, rename `local_symbols' --> `symbols'
2014-08-09 20:49:25 +02:00
rlar
30fc375e2c
numparam, use `local_symbols[0]' instead of `global_symbols'
2014-08-09 20:48:56 +02:00
rlar
cdf4623b6f
xpressn.c, whitespace
2014-08-09 19:38:29 +02:00
rlar
4592c1af97
xpressn.c, reorder `dicostack_pop()'
2014-08-09 19:38:25 +02:00
rlar
f4480c1cb9
xpressn.c, split `dicostack()' into `dicostack_push()' and `dicostack_pop()'
2014-08-09 19:38:18 +02:00
rlar
9973b3d1f8
xpressn.c, rename `define()' --> `nupa_define()'
2014-08-09 19:38:14 +02:00
rlar
583492ab41
spicenum.c, shrink scope of some hash pointers
2014-08-09 19:38:09 +02:00
rlar
f5d05af51d
inpgmod.c, INPgetModBin(), use model_name_match()
2014-08-09 18:17:51 +02:00
rlar
b663731379
rewrite model_bin_match(), rename --> model_name_match()
2014-08-09 18:17:34 +02:00
rlar
0e4b3f3b5b
inpcom.c, inp_get_func_from_line(), consider whitespace and syntax errors
2014-08-08 19:13:16 +02:00
rlar
999967ae05
inpcom.c, inp_sort_params(), simplify card insertion
2014-08-06 19:31:25 +02:00
rlar
70d420692a
inpcom.c, inp_get_func_from_line(), add some minimalistic syntax error check
2014-08-06 19:08:02 +02:00
rlar
26fd874060
inpcom.c, inp_sort_params(), whitespace
2014-08-03 19:09:53 +02:00
rlar
d49bf31819
inpcom.c, inp_sort_params(), cleanup usage of `max_level'
2014-08-03 19:09:53 +02:00
rlar
4594e54d50
inpcom.c, inp_sort_params(), cleanup usage of `skipped'
2014-08-03 19:09:53 +02:00
rlar
e6e03ead75
inpcom.c, inp_sort_params(), local scope for `param_name'
2014-08-03 19:09:52 +02:00
rlar
17670eeaa9
inpcom.c, inp_sort_params(), transform a for loop
2014-08-03 19:09:52 +02:00
rlar
8209a02e70
inpcom.c, inp_sort_params(), drop `param_str'
2014-08-03 19:09:52 +02:00
rlar
ff4293af18
inpcom.c, inp_sort_params(), drop `found_in_list'
2014-08-03 19:09:52 +02:00
rlar
3899cc5585
inpcom.c, inp_sort_params(), cleanup using for loop
2014-08-03 19:09:52 +02:00
rlar
70b74028d1
inpcom.c, inp_sort_params(), rename `param_skip', `ptr_array', `ptr_array_ordered'
2014-08-03 19:09:52 +02:00
rlar
b9ea286da7
inpcom.c, inp_sort_params(), cleanup usage of `num_params'
2014-08-03 19:09:52 +02:00
rlar
0927932b94
inpcom.c, inp_sort_params(), cleanup usage of `arr_size'
2014-08-03 19:09:52 +02:00
rlar
8d0f205969
inpcom.c, inp_sort_params(), rename `ptr' --> `c'
2014-08-03 19:09:47 +02:00
rlar
be170de6e2
inpcom.c, inp_get_param_level(), rename variables
2014-08-03 19:02:27 +02:00
rlar
505a4112a7
inpcom.c, inp_get_param_level(), rewrite for readability
2014-08-03 19:02:14 +02:00
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