rlar
788a5e5fa0
inpptree parser, bug fix, segfault due to usage of an unknown function
for example:
B1 1 0 V = {log(2.0, 1.3) + nosuchthing(2.0, 1.3)}
11 years ago
rlar
8e65614d31
spfactor.c, cktnames.c, don't crash when simulating "nothing"
reported by Siddhant Saraf in
> [ngspice:discussion] "out of memory" error : simulating a 2bit AND gate"
This comes in two flavours,
1) an empty circuit
2) a xspice circuit with exclusively xspice event nodes
11 years ago
rlar
8d44da4741
sharedspice.c, disable unused code
11 years ago
rlar
ae62187d06
sharedspice.c, bug fix, #298 Wrong define in sharedspice.c
thanks to "Sergii" who reported this here:
http://sourceforge.net/p/ngspice/bugs/298
This bug did not have any effect
11 years ago
rlar
8dc0d0ce5c
configure.ac, add -Wno-unused-but-set-variable to our default gcc CFLAGS
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
7b0275ebf7
string.c, swallow "warning: value computed is not used"
11 years ago
rlar
e57b8b5426
main.c, volatile, make shure they are up to date in memory when LONGJMP is executed
11 years ago
rlar
f8df1a7b2f
src/main.c, whitespace cleanup
11 years ago
rlar
8369732e7b
src/main.c, cleanup
11 years ago
rlar
42d0e42e0d
src/main.c, prompt(), rewrite
11 years ago
rlar
15a04192da
src/main.c, prompt(), fix incorrect backslash expansion in promptstrings
11 years ago
rlar
a65a028067
src/main.c, prompt(), drop ancient workaround for editline v2.9
thats dead now for some years.
11 years ago
rlar
6aff8d5418
src/main.c, rewrite to be autoindent friendly
11 years ago
rlar
86c61c1909
src/main.c, nutmeg, cleanup `ft_loadfile()' invocation
drop non functional code which might originally have been meant
to read a default `ft_rawfile' when no other file
was given on the command line.
this would be disturbing behaviour anyway,
since it would be impossible to start
nutmeg interactively without any file.
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
rlar
bd055c1a98
inpcom.c, cleanup inp_remove_ws(), #4/4, minor
11 years ago
rlar
e25620f117
inpcom.c, cleanup inp_remove_ws(), #3/4, common code in if-then-else
11 years ago
rlar
d1260f4e4d
inpcom.c, cleanup inp_remove_ws(), #2/4, dup some code down into if-then-else
11 years ago
rlar
91658bc856
inpcom.c, cleanup inp_remove_ws(), #1/4, thats inevitably true
11 years ago
rlar
82a5c1c48a
inpcom.c, inp_remove_ws(), avoid appending a surplus '\0'
11 years ago
rlar
07ba16192e
inpcom.c, cleanup inp_remove_ws(), #5/5, introduce `d' instead of `big_buffer_index'
11 years ago
rlar
f1fcc943f9
inpcom.c, cleanup inp_remove_ws(), #4/5, minor
11 years ago
rlar
e290e55f31
inpcom.c, cleanup inp_remove_ws(), #3/5, drop `curr', use `s' instead
11 years ago
rlar
0081ec9b51
inpcom.c, cleanup inp_remove_ws(), #2/5, highlight `s' beeing almost unused
11 years ago
rlar
179d55547c
inpcom.c, cleanup inp_remove_ws(), #1/5, highlight `s' beeing const
11 years ago
rlar
9b1f248c52
inpcom.c, inp_remove_ws(), #7/7, invert 'if' expression
11 years ago
rlar
d2371be535
inpcom.c, inp_remove_ws(), #6/7, reorder condition, highlight similiarity
11 years ago
rlar
cf6582ea8c
inpcom.c, inp_remove_ws(), #5/7, simplify condition
11 years ago
rlar
2c200ae453
inpcom.c, inp_remove_ws(), #4/7, simplify condition
11 years ago
rlar
0e74b5be15
inpcom.c, inp_remove_ws(), #3/7, combine `if' expressions
11 years ago
rlar
70c9350359
inpcom.c, inp_remove_ws(), #2/7, combine `if' expressions
11 years ago
rlar
51914a4088
inpcom.c, inp_remove_ws(), #1/7, split if-then-else
11 years ago
rlar
718c85a545
inpcom.c, inp_remove_ws(), don't insert whitespace at end of line
11 years ago
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
11 years ago
rlar
ed73bf393e
inpcom.c, `inp_quote_params()', fixme, express doubts
11 years ago
rlar
8adb888300
inpcom.c, cleanup `inp_quote_params()', local scope for some variables
11 years ago
rlar
47d6b50f2e
inpcom.c, cleanup `inp_quote_params()', drop `beg'
11 years ago
rlar
075b96bb05
inpcom.c, cleanup `inp_quote_params()', drop `new_str'
11 years ago
rlar
1b49bb6ea4
inpcom.c, cleanup `inp_quote_params()', don't poke string
11 years ago
rlar
6a6c9a9409
inpcom.c, cleanup `inp_quote_params()', use `skip_ws()'
11 years ago
rlar
7a2dfd46eb
inpcom.c, `inp_quote_params()', bug fix, starting point for search of next identifier
11 years ago
rlar
d6c280c9b1
inpcom.c, `inp_sort_params()', move `inp_quote_params()' invocation to the epilogue
11 years ago
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
11 years ago
rlar
2e2f4fc69c
inpcom.c, cleanup `inp_reorder_params()', use NULL instead of `end'
11 years ago
rlar
aee2561f5a
inpcom.c, `inp_sort_params()', do not unnecessarily swap params
11 years ago
rlar
84252fee5e
inpcom.c, cleanup `inp_fix_subckt()', use `line_free_x()'
11 years ago