rlar
6aff8d5418
src/main.c, rewrite to be autoindent friendly
2015-01-03 20:56:42 +01:00
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.
2015-01-03 16:37:43 +01:00
rlar
6f89395d8a
fix commit: introduce OUTerrorf() and IFerrorf()
2014-05-07 20:06:00 +02:00
rlar
cc56c90b9d
drop asprintf()
2014-04-12 21:02:31 +02:00
rlar
7aa454e5b4
rewrite, using tprintf()
2014-04-05 19:10:12 +02:00
rlar
f26c1b71f9
introduce OUTerrorf() and IFerrorf()
...
a varargs variant of the older variants OUTerror() and IFerror()
2014-04-04 21:22:47 +02:00
h_vogt
1f5de32512
global variable Infile_Path, which contains the
...
input netlist file path
2014-01-18 19:10:29 +01:00
h_vogt
e2f3ea24c0
main.c, suppress progress report when '-o' is used to redirect output
2014-01-02 09:33:31 +01:00
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/
2014-01-02 09:33:30 +01:00
dwarning
c8f5d49ddd
implement CKTsoaCheck()
2014-01-02 09:32:34 +01:00
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
2014-01-02 09:32:06 +01:00
rlar
6d371c9532
cleanup getopt_long() options
2013-12-31 16:26:06 +01:00
Krzysztof Blaszkowski
9d223d6778
execute ft_sigintr_cleanup() outside of the signal handler
...
to avoid execution of non-reentrant functions
2013-12-31 16:25:45 +01:00
rlar
e2c0303865
avoid `unreachable code' warnings
2013-12-31 16:21:46 +01:00
h_vogt
d7e291c53a
HAS_WINDOWS --> HAS_WINGUI
...
allow compilation on MS Windows without GUI
2013-12-31 12:56:57 +01:00
h_vogt
1e88db6f7d
add command 'circbyline' to allow entering circuit line by line
2013-12-31 12:56:56 +01:00
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
2013-12-31 12:54:43 +01:00
h_vogt
ba6dd7b1af
main.c, inperror.c: unify errMsg
2012-12-15 20:03:57 +01:00
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
2012-12-02 12:26:24 +01:00
h_vogt
65b976dab7
rename commands 'savesnap', 'loadsnap' to 'snsave', 'snload'
...
to avoid conflict with command 'save'
2012-11-01 14:41:13 +01:00
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
2012-10-22 23:06:25 +02:00
rlar
71240d19be
free spice_init_devices() allocated memory in com_quit()
2012-09-21 21:19:44 +02:00
rlar
84283b43d4
cleanup ivars() related globals on program termination
2012-08-23 21:09:25 +02:00
rlar
0beb95757f
cancer of the semicolon
2012-08-07 21:20:36 +02:00
rlar
d50ffdd987
swallow warnings
2012-08-06 19:50:23 +02:00
h_vogt
8defa56cf6
remove second call to tmpfile()
2012-07-14 00:10:21 +02:00
h_vogt
2bff8985e3
Adding TD to the fopen() is sufficient in MS Windows
...
to reliably unlink the temporary file
2012-07-07 09:53:35 +02:00
h_vogt
cc44d34f70
tmpfile() on MS Windows
...
create temporary files with Microsoft specific fopen() flags "TD"
and (propably redundant) remove them with an atexit() handler
see bug report #3535348
"sp*.tmp file created, but not deleted when Windows UAC is en"
https://sourceforge.net/tracker/?func=detail&atid=423915&aid=3535348&group_id=38962
2012-07-03 18:38:30 +02:00
h_vogt
188acd0060
correct usage of `unlink()' error return value -1
2012-06-25 15:13:02 +02:00
h_vogt
07727f74f0
commands.c: 'options' equivalent to 'option' and allow 'loadsnap' and 'savesnap'
...
which have been EXPERIMENTAL_CODE so far
2012-06-13 19:15:14 +02:00
h_vogt
80a039983e
dummy functions
2012-02-19 16:38:33 +00:00
rlar
2e4d4a0e02
unuse srandom() and random()
2012-02-09 20:39:24 +00:00
rlar
f70fd8ea1b
use type `runDesc'
2012-02-07 17:43:07 +00:00
h_vogt
d2f9faf66b
.lib handling
2012-01-01 13:58:03 +00:00
rlar
0b5042e7da
remove CVS `Id',`log' etc. keyword incantations
2011-12-13 19:57:45 +00:00
rlar
10346e055c
#1/4 #include <ngspice/...> --> #include "ngspice/..."
2011-12-11 18:05:00 +00:00
rlar
e42fa8ba06
swallow warnings
2011-10-31 10:53:51 +00:00
rlar
026a471d51
use unlink() instead of remove()
2011-08-21 08:55:58 +00:00
rlar
d26015586c
#1/7 use a subdirectory "ngspice" for includes to create a uniq namespace
2011-08-20 17:27:09 +00:00
h_vogt
57c9b44c73
inproved error messages in pipe mode
2011-08-10 16:39:46 +00:00
rlar
9e86e5ca66
rewrite (double)literal --> floating-point-literal
2011-08-09 08:07:56 +00:00
h_vogt
e86527635b
ivars(char*), Windows 64, 32 bit
2011-08-03 20:03:42 +00:00
h_vogt
ab587d8d3f
environmental variable NGSPICE_INPUT_DIR
2011-07-10 09:59:39 +00:00
h_vogt
e0ee07b491
NaN for MS VS
2011-07-03 19:32:27 +00:00
rlar
14aa6d4303
main.c, volatile, make shure they are up to date in memory when LONGJMP is executed
2011-07-02 20:26:16 +00:00
rlar
4b7627d60d
main.c, rename variable `buf' -> `log_file'
2011-07-02 20:24:06 +00:00
rlar
21f4534455
main.c, reduce scope of `gdata'
2011-07-02 20:23:40 +00:00
rlar
4484058cbe
main.c, reduce scope of `gotone'
2011-07-02 20:22:44 +00:00
rlar
6b2d6c67ca
main.c, reduce scope of the `err' variable
2011-07-02 20:21:57 +00:00
rlar
fc3107590c
main.c, ft_nutmeg is a const global bool
2011-07-02 20:21:15 +00:00
rlar
0d1e66b7ed
main.c, emphasize the SETJMP wrapper in ngspice
2011-07-02 20:20:44 +00:00
rlar
d0012a124a
main.c, emphasize the SETJMP wrapper in ngnutmeg
2011-07-02 20:20:00 +00:00
rlar
9887a2fb2b
main.c, emphasize the SETJMP wrapper in ngspice and ngnutmeg
2011-07-02 20:19:21 +00:00
rlar
f70bf82865
main.c, emphasize the common tail of ngnutmeg and ngspice
2011-07-02 20:18:22 +00:00
rlar
ebacbe03de
main.c, emphasize the SETJMP wrapper around the command processing loop
2011-07-02 20:17:37 +00:00
rlar
ca43d4d57e
main.c, emphasize batch termination with sp_shutdown(EXIT_NORMAL) invocation
2011-07-02 20:16:12 +00:00
rlar
44362f6760
main.c, first setsig then the business
2011-07-02 20:15:13 +00:00
rlar
b16a1ccf92
main.c, emphasize SETJMP wrapper around the init file processing
2011-07-02 20:14:17 +00:00
rlar
1441ed8921
main.c, don't repeatedly execute initialization, when there is a failure
2011-07-02 20:13:18 +00:00
rlar
f86d17ea5a
main.c, batchmode SETJMP wrapper
2011-07-02 20:12:25 +00:00
rlar
4d8e4cfc89
main.c, ngnutmeg command processing loop
2011-07-02 20:11:31 +00:00
rlar
75c10da5b5
main.c, SETJMP compare value
2011-07-02 20:10:30 +00:00
rlar
8e50ce9905
main.c, brace noise
2011-07-02 15:35:54 +00:00
rlar
2c5c5e2c49
main.c, whitespace
2011-07-02 15:34:54 +00:00
rlar
b397b0c798
main.c, drop short range #endif comments
2011-07-02 15:34:17 +00:00
rlar
69ca2fba10
main.c, cleanup
2011-07-02 15:33:24 +00:00
rlar
4beb782cfd
main.c, nested #ifdef
2011-07-02 15:32:55 +00:00
rlar
d150e75657
main.c, whitespace
2011-07-02 15:32:07 +00:00
rlar
e0da156dda
main.c, cleanup
2011-07-02 15:31:19 +00:00
rlar
2fb7697de6
main.c, shrink scope of `err'
2011-07-02 15:30:40 +00:00
rlar
fbc83e52b0
main.c, collapse #ifdef
2011-07-02 15:30:07 +00:00
rlar
3d8d41108f
main.c, cleanup
2011-07-02 15:29:35 +00:00
rlar
c561a42143
main.c, rewrite `applicatio_name'
2011-07-02 15:28:22 +00:00
rlar
9a69676509
main.c, drop `addcontrol'
2011-07-02 15:27:19 +00:00
rlar
c161ee2e62
main.c, rewrite readinit
2011-07-02 15:26:28 +00:00
rlar
3c8a18a93b
main.c, shrink scope
2011-07-02 15:25:32 +00:00
rlar
7517419402
main.c, shrink scope of `error2'
2011-07-02 15:24:54 +00:00
rlar
53de59e988
main.c, anti obfuscate
2011-07-02 15:24:05 +00:00
rlar
00e783eeca
main.c, unuse `gotone'
2011-07-02 15:22:16 +00:00
rlar
cf6a15ed42
main.c, fseek usage
2011-07-02 15:21:14 +00:00
rlar
e8f01efc9c
main.c, shrink scope of `c' and `optind'
2011-07-02 15:20:35 +00:00
rlar
e81f360f66
main.c, encapsulate an extremly ancient hack, stone age ...
2011-07-02 15:19:15 +00:00
rlar
78283dee89
main.c, xmain
2011-07-02 15:17:20 +00:00
rlar
56943212f1
remove redundant variable `has_smk'
2011-07-02 10:23:54 +00:00
rlar
1b0e1730d3
print_news()
2011-07-02 10:17:04 +00:00
rlar
acac8cefe5
winmain.c, remove redundant global variable `oflag'
2011-07-01 19:19:59 +00:00
h_vogt
661d287029
env. var NGSPICE_INPUT to hold additional path for input files
2011-06-25 16:03:05 +00:00
h_vogt
d4667d17c5
imrpoved shutdown message
2011-06-25 10:18:40 +00:00
rlar
451f88c5e1
swallow type conversion warnings
2011-06-24 15:26:52 +00:00
rlar
2cac6ca4b2
tiny fix, reoccuring option `h' in the getopt_long() option string
2011-06-23 16:41:37 +00:00
h_vogt
51614f0915
prototypes
2011-05-29 11:13:04 +00:00
h_vogt
f94cc3a8a0
comp issues
2011-05-29 10:07:10 +00:00
rlar
b778c50bd6
code cleanup, some warnings, some casts, ...
2011-04-28 17:05:22 +00:00
rlar
23056573d8
code cleanup, drop NULL pointer casts
2011-04-28 15:59:36 +00:00
h_vogt
5fd49349f6
update to RTS noise
2010-12-19 11:05:03 +00:00
h_vogt
f476389531
RTS noise
2010-12-18 17:05:44 +00:00
h_vogt
5e1ed023c6
transient noise simulation
2010-11-27 16:36:03 +00:00
rlar
05441d5823
Nr 5/5 (x = ...) == NULL , swallow warnings
2010-11-19 18:54:40 +00:00
rlar
abb87a6115
rename `IGNORE()' --> `NG_IGNORE()'
2010-11-16 20:38:24 +00:00
rlar
80286e0032
pour `IGNORE()' all over the source
2010-11-16 19:11:32 +00:00