Commit Graph

4273 Commits

Author SHA1 Message Date
rlar e290e55f31 inpcom.c, cleanup inp_remove_ws(), #3/5, drop `curr', use `s' instead 2014-12-31 15:12:06 +01:00
rlar 0081ec9b51 inpcom.c, cleanup inp_remove_ws(), #2/5, highlight `s' beeing almost unused 2014-12-31 15:11:46 +01:00
rlar 179d55547c inpcom.c, cleanup inp_remove_ws(), #1/5, highlight `s' beeing const 2014-12-31 15:11:05 +01:00
rlar 9b1f248c52 inpcom.c, inp_remove_ws(), #7/7, invert 'if' expression 2014-12-28 20:07:20 +01:00
rlar d2371be535 inpcom.c, inp_remove_ws(), #6/7, reorder condition, highlight similiarity 2014-12-28 20:06:12 +01:00
rlar cf6582ea8c inpcom.c, inp_remove_ws(), #5/7, simplify condition 2014-12-28 20:05:41 +01:00
rlar 2c200ae453 inpcom.c, inp_remove_ws(), #4/7, simplify condition 2014-12-28 20:04:59 +01:00
rlar 0e74b5be15 inpcom.c, inp_remove_ws(), #3/7, combine `if' expressions 2014-12-28 20:04:19 +01:00
rlar 70c9350359 inpcom.c, inp_remove_ws(), #2/7, combine `if' expressions 2014-12-28 20:03:27 +01:00
rlar 51914a4088 inpcom.c, inp_remove_ws(), #1/7, split if-then-else 2014-12-28 20:02:27 +01:00
rlar 718c85a545 inpcom.c, inp_remove_ws(), don't insert whitespace at end of line 2014-12-28 20:01:44 +01:00
Thomas Uhle 2851e650d3 sharedspice.c, use GetCurrentThreadId() instead of GetTreadID()
Thanks to Thomas Uhle for this patch, see
  http://sourceforge.net/p/ngspice/patches/26/
  #26 GetThreadId() missing in older Win32 API, proposing to use GetCurrentThreadId() instead
2014-12-20 20:17:29 +01:00
rlar ed73bf393e inpcom.c, `inp_quote_params()', fixme, express doubts 2014-12-20 19:02:56 +01:00
rlar 8adb888300 inpcom.c, cleanup `inp_quote_params()', local scope for some variables 2014-12-20 18:51:39 +01:00
rlar 47d6b50f2e inpcom.c, cleanup `inp_quote_params()', drop `beg' 2014-12-20 18:50:48 +01:00
rlar 075b96bb05 inpcom.c, cleanup `inp_quote_params()', drop `new_str' 2014-12-20 18:50:27 +01:00
rlar 1b49bb6ea4 inpcom.c, cleanup `inp_quote_params()', don't poke string 2014-12-20 18:49:34 +01:00
rlar 6a6c9a9409 inpcom.c, cleanup `inp_quote_params()', use `skip_ws()' 2014-12-20 18:49:25 +01:00
rlar 7a2dfd46eb inpcom.c, `inp_quote_params()', bug fix, starting point for search of next identifier 2014-12-20 18:49:06 +01:00
rlar d6c280c9b1 inpcom.c, `inp_sort_params()', move `inp_quote_params()' invocation to the epilogue 2014-12-15 20:30:50 +01:00
rlar 9294b42327 inpcom.c, `inp_reorder_params_subckt()', don't process the .subckt card itself by `inp_quote_params()'
actually, any .dot card is ignored by `inp_quote_params()' anyway
2014-12-15 20:04:34 +01:00
rlar 2e2f4fc69c inpcom.c, cleanup `inp_reorder_params()', use NULL instead of `end' 2014-12-15 19:52:31 +01:00
rlar aee2561f5a inpcom.c, `inp_sort_params()', do not unnecessarily swap params 2014-12-14 22:41:46 +01:00
rlar 84252fee5e inpcom.c, cleanup `inp_fix_subckt()', use `line_free_x()' 2014-12-14 22:30:58 +01:00
rlar e9d37d0637 inpcom.c, cleanup `inp_fix_subckt()', simplify list concatenation 2014-12-14 22:30:53 +01:00
rlar c09fd54a54 inpcom.c, bug fix, `inp_sort_params()' will do the concatenation 2014-12-14 22:28:04 +01:00
rlar ada71a6ec7 inpcom.c, `inp_fix_subckt()', bogus and useless invocation of `inp_quote_params()' 2014-12-14 22:03:13 +01:00
rlar 0595602c40 inpcom.c, cleanup `inp_sort_params()', drop unused `end_card' 2014-12-14 22:02:58 +01:00
rlar 0d610d4c7a fix `quote' spelling 2014-12-14 22:02:32 +01:00
rlar 1ab1213771 inpcom.c, cleanup `inp_reorder_params_subckt()', swallow `deck' 2014-12-14 19:41:29 +01:00
rlar 63c9bdf1ca inpcom.c, cleanup `inp_reorder_params()', swallow `deck' 2014-12-14 19:40:25 +01:00
rlar a842144e02 inpcom.c, cleanup `inp_reorder_params()', swallow `end' 2014-12-14 19:38:54 +01:00
rlar e09c962f1b inpcom.c, abstraction, introduce `inp_qoute_params()' 2014-12-14 19:20:52 +01:00
rlar 3819912e34 inpcom.c, cleanup `inp_sort_params()', local scope for some variables 2014-12-14 19:20:51 +01:00
rlar 956831f922 swallow warning in commit "inpcom.c, teemper bug fix, ..." 2014-12-14 19:20:48 +01:00
rlar 8bf9a67fc8 inpcom.c, cleanup `inp_sort_params()' 2014-12-14 16:20:53 +01:00
rlar aeec110c64 inpcom.c, cleanup `inp_sort_params()' 2014-12-14 16:03:59 +01:00
rlar 726f1d3fb8 inpcom.c, teemper bug fix, rewrite `inp_functionalise_identifier()'
do not compare against `VALIDCHARS'
  which is much to broad with respect to our operators
2014-12-13 22:36:18 +01:00
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