rlar
40c632f8a7
inp2m.c, #2/15b, drop TRACE code
9 years ago
rlar
f9213e3fe4
inp2m.c, #1/15b, drop comments
9 years ago
rlar
6fde9353ea
inp2m.c, #7/7, whitespace
9 years ago
rlar
11572fe9d0
inp2m.c, #6/7, polish comments
9 years ago
rlar
f66d37463f
inp2m.c, #5/7, renumber `nodeflag'
9 years ago
rlar
6a275a6bd9
inp2m.c, #4/7, rewrite
9 years ago
rlar
08b798c485
inp2m.c, #3/7, line wraps
9 years ago
rlar
f23876e30c
inp2m.c, #2/7, cleanup braces
9 years ago
rlar
80f58e98a8
inp2m.c, #1/7, cleanup comparisons
9 years ago
rlar
a2347a28d6
inp2*.c, cleanup, drop redundant initialisation
which can be dropped to the recently fixed INPgetMod(), see
inpgmod.c, INPgetMod(), bug fix, missing 'model' assignment
Note:
there have been INPgetMod() invocations without initialisation,
causing access to non-initialised memory with the unfixed INPgetMod()
9 years ago
rlar
56b2342df3
inpgmod.c, #15/15, whitespace
9 years ago
rlar
fccdea429c
inpgmod.c, #14/15, cleanup
9 years ago
rlar
0245f304ff
inpgmod.c, #13/15, shortcut #if CIDER
9 years ago
rlar
a8ffd52c42
inpgmod.c, #12/15, cleanup braces
9 years ago
rlar
627ed98464
inpgmod.c, #11/15, reduce scope and rewrite
9 years ago
rlar
66976d492e
inpgmod.c, #10/15, reorder 'extern's
9 years ago
rlar
19e36dd4cb
inpgmod.c, #9/15, drop trailing whitespace in messages
9 years ago
rlar
370420d00e
inpgmod.c, #8/15, commute boolean expressions
9 years ago
rlar
4842cd39a7
inpgmod.c, #7/15, reduce scope and rewrite
9 years ago
rlar
3212b18115
inpgmod.c, #6/15, simplify return of boolean expressions
9 years ago
rlar
6ee483ed1d
inpgmod.c, #5/15, simplify tprintf usage
9 years ago
rlar
b329fd56fc
inpgmod.c, #4/15, unify 'return' statements
9 years ago
rlar
cdc8fbd192
inpgmod.c, #3/15, line wraps
9 years ago
rlar
b0537a7e96
inpgmod.c, #2/15, polish comments
9 years ago
rlar
6cdd306fea
inpgmod.c, #1/15, cleanup comparisons
9 years ago
rlar
5905ed26fa
inpgmod.c, INPgetMod(), bug fix, missing 'model' assignment
'model' is a return value, and must always be assigned to.
NULL denotes the error case.
9 years ago
rlar
c3275241a5
ckti2nod.c, cktbindnode.c, minor cleanup
9 years ago
rlar
239780ebef
cleanup, use an array for struct GENinstance.GENnode
9 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
78ea2e1523
winmain.c, remove of fcn 'read' in Windows
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
3a9ace82bb
winmain.c, etc, cleanup, rewrite obfuscated symbols
substitute in the whole source code:
"__stream" --> "stream"
"__pos" --> "pos"
"__s" --> "s"
"__n" --> "n"
"__c" --> "c"
"__format" --> "format"
"__ptr" --> "ptr"
"__size" --> "size"
"__path" --> "path"
"__mode" --> "mode"
"__offset" --> "offset"
"__whence" --> "whence"
"__arglist" --> "arglist"
"__buf" --> "buf"
"__fp" --> "fp"
"f_c_l_o_s_e" --> "win_x_fclose"
"f_e_o_f" --> "win_x_feof"
"f_e_r_r_o_r" --> "win_x_ferror"
"f_f_l_u_s_h" --> "win_x_fflush"
"fg_e_t_c" --> "win_x_fgetc"
"f_g_e_t_p_o_s" --> "win_x_fgetpos"
"fg_e_t_s" --> "win_x_fgets"
"fp_r_i_n_t_f" --> "win_x_fprintf"
"fp_u_t_c" --> "win_x_fputc"
"fp_u_t_char" --> "win_x_fputchar"
"fp_u_t_s" --> "win_x_fputs"
"f_r_e_a_d" --> "win_x_fread"
"f_r_e_o_p_e_n" --> "win_x_freopen"
"fs_c_a_n_f" --> "win_x_fscanf"
"f_s_e_e_k" --> "win_x_fseek"
"f_s_e_t_p_o_s" --> "win_x_fsetpos"
"f_t_e_l_l" --> "win_x_ftell"
"f_w_r_i_t_e" --> "win_x_fwrite"
"g_e_t_c" --> "win_x_getc"
"g_e_t_char" --> "win_x_getchar"
"g_e_t_s" --> "win_x_gets"
"p_e_r_r_o_r" --> "win_x_perror"
"p_r_i_n_t_f" --> "win_x_printf"
"p_u_t_c" --> "win_x_putc"
"p_u_t_char" --> "win_x_putchar"
"p_u_t_s" --> "win_x_puts"
"r_e_a_d" --> "win_x_read"
"s_c_a_n_f" --> "win_x_scanf"
"ung_e_t_c" --> "win_x_ungetc"
"vfp_r_i_n_t_f" --> "win_x_vfprintf"
"vfs_c_a_n_f" --> "win_x_vfscanf"
"vp_r_i_n_t_f" --> "win_x_vprintf"
"vs_c_a_n_f" --> "win_x_vscanf"
9 years ago
rlar
93d040703d
winmain.c, drop artefact "fgetchar", cleanup/emphasise disabled "freopen"
9 years ago
rlar
69537a7899
winmain.c, fs_c_a_n_f(), bug fix, and cleanup "minimise"
9 years ago
h_vogt
370e52736f
MC_ring.sp, replace variables by vectors in the loop
9 years ago
dwarning
d45736855e
binning constraints are wrong and obsolete for the examples
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
rlar
05ee2e0182
check for missing and duplicate K instances
9 years ago
rlar
13decee3ed
examples/inductive-systems/*, add test files
9 years ago
Francesco Lannutti
bf542f64d8
check for viable mutual inductor coefficients
9 years ago
rlar
fc32837b44
muttemp.c, allow negative inductance
9 years ago
rlar
681903492b
devices/ind/*, whitespace
9 years ago
rlar
24aee8bf2a
devices/ind/*, cleanup
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