rlar
99d788cd12
subckt.c, finishLine(), #7/9, drop condition which is always true
10 years ago
rlar
253cf5b75a
subckt.c, finishLine(), #6/9, drop condition which is always false
9 years ago
rlar
ff4805c023
subckt.c, finishLine(), #5/9, move/duplicate code behind if/else into the if/else
10 years ago
rlar
735e7700ce
subckt.c, finishline(), #4/9, reorder
9 years ago
rlar
8ab28df4ec
subckt.c, finishline(), #3/9, here *src === '('
9 years ago
rlar
5d3896c388
subckt.c, finishline(), #2/9, rewrite
9 years ago
rlar
0502e83fba
subckt.c, finishline(), #1/9, trivial cleanup
10 years ago
rlar
dc6e1cb064
use strchr() instead of strstr()
10 years ago
rlar
bd50814677
drop 'depreciated_skip..()'
10 years ago
rlar
45ad60b738
rename gettok_nc() --> nexttok(), and functionalize it
9 years ago
rlar
f338dfe27e
subckt.c, undo a bogous hunk from commit "beautify code", Dec 16 2011
10 years ago
h_vogt
4eb32ab566
com_sysinfo.c, add recent Windows versions to info printout
9 years ago
h_vogt
7c06cb2d12
don't mess with WINVER
not necessairy for current Windows versions
9 years ago
h_vogt
31dca54eba
input.c, don't use read() in __MINGW32__
9 years ago
rlar
d9e7ab2759
input.c, simplify #ifdef for the broken visual studio _read()
If we have _MSC_VER so we have either CONSOLE HAS_WINGUI or SHARED_MODULE
If we have SHARED_MODULE, then we most certainly don't need
the unbuffered read(), which isn't unbuffered on _MSC_VER anyway.
Thus _MSC_VER is sufficient.
9 years ago
rlar
1475df2aa4
input.c, try to work around microsofts broken _read()
concerning the visual sudio variant of the "console" build.
Their _read() returns 0 when a linfeed is read.
Ironically the linefeed seems to be stored into the buffer nontheless.
Because the filehandle is in linebuffered mode anyway,
(the read won't return up until the terminating newline is entered)
we can just as well use getc(), which doesn't seem to suffer
from the same problem in their implementation.
9 years ago
rlar
2bafe98f17
winmain.c, etc, cleanup
9 years ago
rlar
90a205d36d
winmain.c, etc, whitespace cleanup
9 years ago
rlar
b5ccfca24b
implement option 'indverbosity' to control check of inductive systems
default is 2, maximum verbosity
option indverbosity=1
can be used to prevent check for
"incomplete set of couplings"
option indverbosity=0
can be used to avoid the check altogether
set indverbosity=INTEGER
or
.option indverbosity=INTEGER
works as well
9 years ago
Francesco Lannutti
0c5196e773
signal_handler.c, ft_sigintr(), exit after three SIGINT requests
11 years ago
rlar
4778b48592
inpcom.c, inp_fix_inst_calls_for_numparam(), drop redundant condition `num_subckt_params == 0'
found_mult_param() can already cope with that
10 years ago
dwarning
24dbbc393d
remove the ancient nobjthack option to fake 3-terminal bjt's
10 years ago
dwarning
6827495a75
correct the comment for 5-terminal bjt's in get_number_terminals
10 years ago
dwarning
1e880deff4
allow 5-terminal bjt's in subckt expansion
10 years ago
h_vogt
e4e24f74e6
breakp2.c, copynode(), prevent segfault if missing ')'
invoking 'save' with an erronous node, for example
save v(thing
This can happen unexpectedly for long 'save' lines,
which will silently be truncated.
10 years ago
rlar
7fc6609821
breakp2.c, settrace(), cleanup #2/2
10 years ago
rlar
004e49aabf
breakp2.c, settrace(), cleanup #1/2
"save" command,
reduce complexity from O(2) to O(1)
10 years ago
rlar
939555115d
variables, cp_vprint, fix a memory leak
10 years ago
rlar
bc325b17c5
variables, lift plot_cur->pl_env up to the invoker of cp_usrvars()
10 years ago
rlar
e0db4aa665
variables, cp_vprint(), reorder for similarity
10 years ago
rlar
a33876ff59
variables, variables, cp_getvar, rewrite
10 years ago
rlar
97c5e1567f
variables, cp_getvar(), beware of retval == NULL
10 years ago
rlar
20b666e2d5
variables, clean up
10 years ago
rlar
b2fb4e20bf
variables, drop 'found', use identity found == (*p != NULL)
10 years ago
rlar
0784f76e51
variables, cleanup the for loops
10 years ago
rlar
e39119c1c8
variables, use identity v == *p (and u == *p)
10 years ago
rlar
d14ee053d7
variables, use a pointer to the anchor of the variable instead of 'lv'
10 years ago
rlar
b13125ac84
variables, explicit processing of ft_curckt->ci_vars, drop uv2
10 years ago
rlar
7483ff9d8c
variables, cp_remvar(), cleanup
10 years ago
rlar
485fba7548
variables, add some comments, add explicit case US_NOSIMVAR
10 years ago
rlar
97cdaae19f
variables, cp_usrvars(), be more explicit
lift uv2 return value up to the invoker of cp_usrvars()
10 years ago
rlar
596599492e
variables, drop redundant tfree(v->va_name), rely on free_struct_variable()
10 years ago
h_vogt
fe24b3e6dd
variable.c, remove memory leaks
10 years ago
rlar
ac336c9920
options.c, cleanup inp_getoptsc()
10 years ago
h_vogt
6a0a6071a0
gettok_nc(&line): like gettok(), move pointer beyond next token in line, but without returning a string, without TMALLOC. Replaces constructs like tfree(gettok(&line)).
10 years ago
h_vogt
c198f878d3
inpcom.c, bug fix in inp_chk_for_multi_in_vcvs()
10 years ago
rlar
99e864b6bc
graf.c, drop an excess cast
10 years ago
rlar
aca1b3a374
use 'abs()'
10 years ago
h_vogt
ae80067fef
cmath2.c, new function stddev to calculate the standard deviation of all elements of a vector
10 years ago
h_vogt
0d50547ac1
commands.c: allow 10000 tokens for 'echo' and 'wrdata'
10 years ago