Commit Graph

209 Commits

Author SHA1 Message Date
rlar 511cdd7188 struct card, #3/6, rename members from struct line to struct card 2018-02-17 19:15:53 +01:00
h_vogt 060e0037f8 main.c, add USERPROFILE to search path for .spiceinit
search sequence: current directory, HOME, USERPROFILE
2017-08-12 18:27:11 +02:00
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
2016-08-15 19:24:11 +02:00
h_vogt 9f62057973 introduce include file "ngspice/randnumb.h" 2016-08-15 11:30:26 +02:00
rlar 5611ca4f10 harmonise all incarnations of `if_errstring()' to return malloced memory 2016-04-03 18:44:48 +02:00
h_vogt 494a58cca9 main.c, add variable 'batchmode'
which is set when command line option `-b' is active
2016-03-26 22:14:11 +01:00
rlar 18426c755d harmonise `struct circ' variables, `ckt' --> `ci' 2015-12-15 18:36:59 +01:00
rlar f826ff82f8 introduce `ATTRIBUTE_NORETURN' for `controlled_exit()' and `sp_shutdown()' 2015-12-15 18:10:18 +01:00
rlar 19e427e3a5 cleanup, use NULL instead of 0 in pointer context 2015-05-02 10:24:49 +02:00
rlar e57b8b5426 main.c, volatile, make shure they are up to date in memory when LONGJMP is executed 2015-01-04 16:06:15 +01:00
rlar f8df1a7b2f src/main.c, whitespace cleanup 2015-01-03 21:50:19 +01:00
rlar 8369732e7b src/main.c, cleanup 2015-01-03 21:50:18 +01:00
rlar 42d0e42e0d src/main.c, prompt(), rewrite 2015-01-03 21:17:18 +01:00
rlar 15a04192da src/main.c, prompt(), fix incorrect backslash expansion in promptstrings 2015-01-03 20:56:47 +01:00
rlar a65a028067 src/main.c, prompt(), drop ancient workaround for editline v2.9
thats dead now for some years.
2015-01-03 20:56:45 +01:00
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