Commit Graph

59 Commits

Author SHA1 Message Date
Jim Monte d4b71500e2 Opened binary files for writing using "wb" in all cases 2020-01-04 15:30:11 +01:00
Jim Monte 503af6ac00 Fixed several issues related to plotting and vector lifetimes and made ownership of vectors clearer. The issues in bugs 419, 423, 425, and 426 were related and were addressed here. 2020-01-04 15:25:31 +01:00
dwarning cc4e4d9bad verify pointer before utilization 2018-11-18 15:45:12 +01:00
dwarning 42d29ef49f remove the entire file buffer modification which was never come in effect
Take over this task to the OS which will handle this properly.
2018-11-18 15:44:53 +01:00
dwarning f0f19f87a3 In case the file open failed we have no need to set the IO buffer size.
And this should also not be done with a NULL pointer into setvbuf.
2018-11-18 15:44:40 +01:00
dwarning 6b99bc8f7a prevent pass null pointer into setvbuf 2018-10-27 11:33:48 +02:00
Holger Vogt 09c876550f prevent string overflow by adding the string length
to the cp_getvar parameters. Used only with CP_STRING
2018-07-22 14:57:49 +02:00
h_vogt 1066bf0a7b Store the numparam dicoS structure for each circuit in a list.
Functions to add, remove, retrive dicoS from the list
and to update dicoS, if the circuit has been changed.
Keeping dicoS is necessary because it may be used by measure.
This patch prevents (huge) memory leaks by overwriting
dicoS if multiple calls to the 'source' command are executed.
2018-05-19 17:45:45 +02:00
h_vogt 4a3f02e979 runcoms.c, add variable 'sim_status' to indicate if a simulation has been aborted 2018-05-19 17:40:03 +02:00
h_vogt d7a1899210 runcoms.c, rawfile.c, include filename in the 'ASCII/binary raw file' printout 2017-04-12 20:45:51 +02:00
h_vogt 5527325a67 runcoms.c, change command `setcirc'
`setcirc'
  print a list of circuits loaded
`setcirc <n>'
  switch to circuit number <n>
2016-02-07 17:34:08 +01:00
h_vogt 7bc879726d make database dbs local to each circuit 2013-12-31 12:56:53 +01:00
h_vogt c15608c903 unique modtab for each circuit, store in ckt structure 2013-12-31 12:56:38 +01:00
Stefano Perticaroli 79bffc78a1 next version of PSS2
which was reviewed and rewritten on branch `PSS-2-try-to-rebase+4'
by Stefano Perticaroli and Francesco Lannutti
2012-12-28 18:15:37 +01:00
rlar 0be61b3e5a remove PSS2 2012-12-28 18:10:05 +01:00
Francesco Lannutti fd4c492562 white space changes 2012-10-22 23:06:25 +02: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 fe1acd3757 src/frontend/** remove superfluous `return' invocations 2012-09-22 19:33:55 +02:00
rlar 7454a6d486 src/frontend/**, whitespace, indentation, ...
untabify
delete-trailing-whitespace
braces
...

checked for object file invariance on linux
2012-09-20 20:30:53 +02:00
rlar 9655b9885a cleanup, use wl_cons(), wl_append_word() and wl_chop_rest() 2012-07-14 10:23:51 +02:00
h_vogt 393da34c66 undo change from 1.1.12: no reset enforcement 2012-01-03 20:59:46 +00:00
rlar 598238f46a conditionally compile PSS analysis 2012-01-02 12:31:22 +00:00
h_vogt 2784ae5aa9 enforce reset 2012-01-01 16:21:49 +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 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
rlar 899d5516c3 initial PSS commit 2011-08-04 16:16:46 +00:00
rlar 23056573d8 code cleanup, drop NULL pointer casts 2011-04-28 15:59:36 +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
rlar 196262dd1b move the com_*() prototypes around. 2010-10-16 17:09:46 +00:00
rlar 894dcead35 collect if_inpdeck() if_run() if_cktfree() if_dump() if_option() in "spiceif.h" 2010-10-16 15:50:32 +00:00
rlar 4cdd842cd8 muffle compiler warnings 2010-07-24 18:51:06 +00:00
rlar a76cd1e104 textual replacement VT_* to CP_*, to avoid conflict in the windows world 2010-07-17 20:48:20 +00:00
rlar 4420a3ecdd add prototypes, remove some NULL casts 2010-06-23 17:40:56 +00:00
h_vogt f72545d4d0 do_meas only if .meas cards are available 2009-12-12 11:49:05 +00:00
h_vogt 3f0b344a82 comments added 2009-11-17 22:51:55 +00:00
h_vogt ec3c50c09e bug no. 2751855 2009-04-12 18:06:59 +00:00
pnenzi 1ada4d3530 Finish first batch of imports from espice. 2009-01-16 15:35:00 +00:00
h_vogt 4b055a4ca8 Small changes to allow compilation with MS Visual C++ 2008 2008-09-21 22:18:06 +00:00
pnenzi b7a0ee52f1 Commented out code that prevented rawfile generation. 2008-01-04 14:13:34 +00:00
dwarning 2785bf1125 backup the filetype problem if set in spinit 2007-12-29 21:11:12 +00:00
dwarning 7f157c76a2 fix the filetype problem if set in spinit 2007-12-15 16:29:50 +00:00
pnenzi 936cd7a4fc Improvements in frontend by Phil Barker 2007-10-08 21:10:34 +00:00
pnenzi 56626999fc Improved current vectors output and added element for last analysis run 2007-10-08 20:18:38 +00:00
sjborley 67ff1b3a83 Tidy up of the header files in src/frontend and sub-directories. Motivation is to remove extern declarations within .c files and place them in .h files. Added new header files where necessary (and adjusted makefile.am files where required) 2005-05-30 20:28:29 +00:00
sjborley 358b5f829a Replace C++ style comment with C style comment 2005-05-22 20:39:07 +00:00
pnenzi b03a70760b Applied Stuart's 12-03-2003 patch. Support for readline (disabled) and for node names in the form (x,y). 2004-01-10 21:39:36 +00:00