Holger Vogt
ff2304625f
allows to start ngspice WinGUI by double click on an input file, if
the file extension has been associated with ngspice.exe
8 years ago
Holger Vogt
2786fcb86e
New .option seed=[val|random]
8 years ago
Holger Vogt
7ca61b3c98
New command 'setseed' with function com_sseed
to set the random number generator
8 years ago
Holger Vogt
8fbcb16a57
add fourth parameter to cp_getvar(), in functions missing so far
8 years ago
Holger Vogt
09c876550f
prevent string overflow by adding the string length
to the cp_getvar parameters. Used only with CP_STRING
8 years ago
Holger Vogt
a98d01e5f8
Use only internal memory functions, replace
free->tfree, malloc->tmalloc, realloc->trealloc
8 years ago
Holger Vogt
0cb71b21bb
move ngspice_compat_mode(void) to inpcom.c and make it static
8 years ago
h_vogt
8762f6551d
main.c free argv after its use (Win GUI only)
10 years ago
Holger Vogt
8aff70036a
Put variable wantevtdata into the right place,
also available for standard executable, to be
modified in sharedspice.c only.
9 years ago
rlar
511cdd7188
struct card, #3/6, rename members from struct line to struct card
9 years ago
h_vogt
060e0037f8
main.c, add USERPROFILE to search path for .spiceinit
search sequence: current directory, HOME, USERPROFILE
9 years ago
h_vogt
bbd7edad72
xspice, two new commands, edisplay and eprvcd
'edisplay' will show a list of all event nodes
'eprvcd' will print all event nodes in vcd format
usage: eprvcd a0 a1 a2 b0 b1 b2 clk > myvcd.vcd
10 years ago
h_vogt
9f62057973
introduce include file "ngspice/randnumb.h"
10 years ago
rlar
5611ca4f10
harmonise all incarnations of `if_errstring()' to return malloced memory
10 years ago
h_vogt
494a58cca9
main.c, add variable 'batchmode'
which is set when command line option `-b' is active
10 years ago
rlar
18426c755d
harmonise `struct circ' variables, `ckt' --> `ci'
10 years ago
rlar
f826ff82f8
introduce `ATTRIBUTE_NORETURN' for `controlled_exit()' and `sp_shutdown()'
10 years ago
rlar
19e427e3a5
cleanup, use NULL instead of 0 in pointer context
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
6f89395d8a
fix commit: introduce OUTerrorf() and IFerrorf()
12 years ago
rlar
cc56c90b9d
drop asprintf()
13 years ago
rlar
7aa454e5b4
rewrite, using tprintf()
12 years ago
rlar
f26c1b71f9
introduce OUTerrorf() and IFerrorf()
a varargs variant of the older variants OUTerror() and IFerror()
12 years ago
h_vogt
1f5de32512
global variable Infile_Path, which contains the
input netlist file path
12 years ago
h_vogt
e2f3ea24c0
main.c, suppress progress report when '-o' is used to redirect output
12 years ago
h_vogt
2355bfc0ff
main.c, fix stdout and stderr redirection and buffering with regard to '-o' and '-p'
in response to a bug report from Johann Glaser
"#259 Pipe mode: buffering"
http://sourceforge.net/p/ngspice/bugs/259/
12 years ago
dwarning
c8f5d49ddd
implement CKTsoaCheck()
13 years ago
h_vogt
85ddc5b6db
inpcom.c, remove variable "sourcefile" and references to "sourcefile"
this will no longer be required for access to input file residing
in the executable's directory
13 years ago
rlar
6d371c9532
cleanup getopt_long() options
13 years ago
Krzysztof Blaszkowski
9d223d6778
execute ft_sigintr_cleanup() outside of the signal handler
to avoid execution of non-reentrant functions
13 years ago
rlar
e2c0303865
avoid `unreachable code' warnings
13 years ago
h_vogt
d7e291c53a
HAS_WINDOWS --> HAS_WINGUI
allow compilation on MS Windows without GUI
13 years ago
h_vogt
1e88db6f7d
add command 'circbyline' to allow entering circuit line by line
13 years ago
rlar
4184aa8c10
cleanup, use array operator
checked for object file invariance on linux with
./configure --enable-debug=no --enable-maintainer-mode --with-readline=yes --enable-cider --enable-ndev --enable-pss --enable-xspice
13 years ago
h_vogt
ba6dd7b1af
main.c, inperror.c: unify errMsg
13 years ago
rlar
2e40bf9bff
allow Ctrl-d to quit
based upon Cody Creagers patch,
EOF Control-D support - ID: 3586069
http://sourceforge.net/tracker/?func=detail&aid=3586069&group_id=38962&atid=423917
14 years ago
h_vogt
65b976dab7
rename commands 'savesnap', 'loadsnap' to 'snsave', 'snload'
to avoid conflict with command 'save'
14 years ago
Francesco Lannutti
c23bd59c44
removed ancient PARALLEL_ARCH feature
removed variables
ARCHme
ARCHsize
removed functions
SMPcombine()
SMPcCombine()
CKTpartition()
removed files
spcombin.c
cktpartn.c
removed struct slots
STATcombineTime
STATtranCombTime
STATacCombTime
GENowner
<MODEL>owner
14 years ago
rlar
71240d19be
free spice_init_devices() allocated memory in com_quit()
14 years ago
rlar
84283b43d4
cleanup ivars() related globals on program termination
14 years ago
rlar
0beb95757f
cancer of the semicolon
14 years ago
rlar
d50ffdd987
swallow warnings
14 years ago
h_vogt
8defa56cf6
remove second call to tmpfile()
14 years ago