Commit Graph

54 Commits

Author SHA1 Message Date
rlar d598630b72 inpcom.c, cleanup inp_readall() #1/7, introduce inp_read() 2013-12-31 16:26:12 +01:00
h_vogt 1e88db6f7d add command 'circbyline' to allow entering circuit line by line 2013-12-31 12:56:56 +01:00
rlar d1764cc7fa inp_readall() change function signature for readability 2013-12-31 12:56:35 +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 3d28a3a225 device.c: plug memory leak in 'alter' command 2012-12-16 14:07:33 +01:00
rlar 83e3100917 remove unused variables 2012-12-01 16:05:20 +01:00
rlar 98b38556aa com_alter_common(), cleanup storage more thoroughly (on error) 2012-10-01 21:09:26 +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 adc9ee09ce api change for ngdirname() to fix a memory leak
ngdirname did `own' the returned string.
now the invoker is responsible for the returned string.

note, this is contrary to the POSIX dirname() implementation,
   which *might* return pointers to statical allocated memory.
2012-09-13 20:07:33 +02:00
dwarning 99b167b272 correct alter of mos geometries for binned models 2012-08-05 12:11:16 +02:00
rlar e4c7a8df32 use wl_find() 2012-08-03 20:48:11 +02:00
rlar 891d99497d use wl_find() 2012-07-28 12:29:23 +02:00
rlar 9655b9885a cleanup, use wl_cons(), wl_append_word() and wl_chop_rest() 2012-07-14 10:23:51 +02:00
rlar 2a22c1b23c bug fix, missing update of a wordlist's wl_prev pointer 2012-07-12 20:44:53 +02:00
rlar d8105873db remove error.h, use fteext.h for controlled_exit() 2012-06-12 21:26:29 +02:00
rlar f285dd0aa8 use strchr() instead of index() 2012-02-06 17:46:33 +00:00
rlar 10346e055c #1/4 #include <ngspice/...> --> #include "ngspice/..." 2011-12-11 18:05:00 +00:00
h_vogt f2626d48e0 multiple .model section in altermod 2011-10-02 08:29:03 +00:00
h_vogt c858975529 faster Greens's fft, altermod command 2011-09-18 09:03:55 +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
pnenzi 83abdaac55 devhelp prints headers when asked for a single parameter. 2011-08-14 07:28:44 +00:00
pnenzi 5ba0b8b86c Statistics patch: added netlist loading and parsing time in acct command.
Added devhelp command to obtain information about available devices and device parameters
Added inventory command to print the number of instances per device.
2011-08-09 18:41:36 +00:00
rlar 55638c8023 various cleanups 2011-04-30 12:29:19 +00:00
rlar 0b6a557334 code cleanup 2011-04-27 18:30:15 +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 01566f2b49 add casts to make `int' versus `size_t' conversions explicit 2010-11-02 17:07:57 +00:00
rlar 7b3960506f wrap tmalloc MALLOC etc, into two macros TMALLOC and TREALLOC 2010-10-28 19:32:34 +00:00
rlar 2b3bcfea74 bug fix, const data space was used, instead of malloced area 2010-10-27 16:59:50 +00:00
rlar 32a255f47c tmalloc usage, minor usage unification 2010-10-24 13:06:23 +00:00
rlar 196262dd1b move the com_*() prototypes around. 2010-10-16 17:09:46 +00:00
rlar d44f818cad allow cp_getvar(,CP_BOOL,NULL) to avoid insane usage 2010-07-20 18:41:25 +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 0772afc517 fix the argument types of the functions printstr_n printstr_m bogus1 and bogus2 2010-07-13 18:20:37 +00:00
rlar 5397fd9fdd split the function printstr() into printstr_n() and printstr_m() 2010-07-13 18:17:06 +00:00
h_vogt 16e01a69e2 update for 'show all' 2010-05-30 17:17:50 +00:00
dwarning 07e06cf701 initialize local variables 2009-10-04 11:48:37 +00:00
h_vogt 051a765488 line 908 set i=0 2009-02-12 19:05:43 +00:00
h_vogt 7c667e0fd7 alter & altermod reinstated 2009-02-08 14:52:16 +00:00
pnenzi 8c3ca11c62 New capability of print command for sin source print @vin_sin[sin] and
alter command for sin source alter @vin_sin[sin] = ( 1 1 3000Hx ). Patch
from Espice - A. Roldan
2009-01-15 22:16:32 +00:00
pnenzi 0a8a56c654 Added "altshow" for switching between the old and the new show format. 2007-10-09 21:27:25 +00:00
pnenzi e9db216a83 Modified show command (Phil Barker) 2007-10-08 15:55:34 +00:00
pnenzi 985d977197 Applied Steven Borley patch for numparam and frontend. See Changelog. 2005-04-24 21:17:31 +00:00
pnenzi 1baba94cd1 Vera's patch to close "show +" and similar constructs segfault. 2004-08-20 09:34:55 +00:00
pnenzi 2e4b5f71f3 Applied vera patch for "show" memleak. 2004-08-16 09:10:40 +00:00
pnenzi fc1ac2dfa4 Closed a memory leak in show command. 2004-08-13 10:11:06 +00:00
pnenzi 1260ae08db Update autoconf scripts and applied Niessner patch to remove compiler warnings. 2004-07-09 18:37:25 +00:00
pnenzi 8362dec274 Integrated code from tclspice, brorson xspice and Vera memleak. 2003-07-23 19:36:39 +00:00
pnenzi c68f3470e4 Code cleanup. 2001-02-09 19:46:36 +00:00