rlar
ec1a71249a
fix ownership of `cp_promptstring' and `cp_program'
2012-09-15 14:58:39 +02:00
rlar
d4ced47e8e
drop out_pbuf, which was an ancient workaround
...
obviously an old implementation of out_printf()
has been unreliable.
2012-08-18 18:27:13 +02:00
rlar
fa81e9d007
plug a memory leak when (un)setting variables
2012-08-14 20:39:11 +02:00
rlar
d6ba5e5b3f
cleanup free_struct_variable()
2012-08-05 12:22:47 +02:00
rlar
75c59a26fa
variable.c, cleanup (mostly whitespace)
2012-08-05 12:22:47 +02:00
rlar
9655b9885a
cleanup, use wl_cons(), wl_append_word() and wl_chop_rest()
2012-07-14 10:23:51 +02:00
rlar
76336fa21b
fix memory leak in cp_vset()
2012-04-05 21:25:04 +02:00
rlar
4ca58067a2
#2/6 config.h --> ngspice/config.h, #include's
2011-12-27 11:33:01 +00:00
rlar
10346e055c
#1/4 #include <ngspice/...> --> #include "ngspice/..."
2011-12-11 18:05:00 +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
1ec269082c
round to nearest integer, `rawfileprec' `numdgt' `history' if_option() doset()
2011-06-23 18:01:40 +00:00
h_vogt
e6c86b4d98
explicit casting double -> int etc.
2011-06-11 17:07:38 +00:00
rlar
05441d5823
Nr 5/5 (x = ...) == NULL , swallow warnings
2010-11-19 18:54:40 +00:00
rlar
e6c30efe46
Nr 4/5 (x = ...) != NULL , swallow warnings
2010-11-19 18:52:44 +00:00
rlar
ad8ad56955
Nr 3/5 (x = ...) != 0 , swallow warnings
2010-11-19 18:51:03 +00:00
rlar
b4ffca60c4
(int) casts for some `strlen()' expressions
2010-11-02 17:17:43 +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
bf0b7b4386
qsort() usage, drop cast of the first argument (which is a void *)
2010-10-24 12:53:52 +00:00
rlar
1d62b41bfa
collect cp_* prototypes / extern-declarations in "cpextern.h"
2010-10-09 12:49:34 +00:00
rlar
4cdd842cd8
muffle compiler warnings
2010-07-24 18:51:06 +00:00
rlar
62afa50a1c
fix dangerous things, potential bugs, at least for big endian machines
2010-07-24 14:27:47 +00:00
rlar
73cf2a8ea5
use a void * for the third argument (&value) of the cp_vset() function
2010-07-20 19:19:51 +00:00
rlar
d44f818cad
allow cp_getvar(,CP_BOOL,NULL) to avoid insane usage
2010-07-20 18:41:25 +00:00
rlar
61bba96f42
textual replacement vt_types to cp_types, to complete the last change
2010-07-17 20:56:12 +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
0aa1c09d73
consolidate enum cp_types and enum vt_types .
...
use this enum for some function arguments and struct members .
drop some include "variable.h" which are no longer needed ,
propably many more could be droped .
drop #define VT_* which have been used as workaround for the type mess .
2010-07-17 15:14:45 +00:00
rlar
59d4e5d961
fix various type glitches
2010-07-04 17:54:22 +00:00
h_vogt
625b3d14fc
no crash after 'unset undefined'
2010-03-21 21:23:47 +00:00
h_vogt
e43430a669
memory leaks removed
2009-04-05 08:02:03 +00:00
h_vogt
e9d957d2d6
memory leaks removed
2009-03-29 16:58:44 +00:00
h_vogt
e3fc225e50
memory leaks removed
2009-03-28 20:06:38 +00:00
pnenzi
6f3f195158
Additions from Phil Barker (subckt nodeset and ic, simvars, mosfet binning, various fixes)
2007-10-09 07:19:45 +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
pnenzi
8362dec274
Integrated code from tclspice, brorson xspice and Vera memleak.
2003-07-23 19:36:39 +00:00
pnenzi
7583d1849e
Applied another bunch of patches sent by CDHW (Charles D.H. Williams). The patches
...
are aimed to close some leaks in the parser.
2001-12-14 18:29:08 +00:00
pnenzi
c68f3470e4
Code cleanup.
2001-02-09 19:46:36 +00:00
pnenzi
6f55975cc0
Code clean up (removed some warning)
2001-02-09 13:27:21 +00:00
pnenzi
d735c9a871
Some code cleanup
2001-02-09 08:18:35 +00:00
pnenzi
97e77a523e
Added support for bsim3soi fd devices (fully depleted).
2000-12-08 16:58:47 +00:00
pnenzi
a718fb27f5
Fixed an error in variable.c that caused a segmentation fault and updated files for rework-13
2000-11-01 21:21:21 +00:00
pnenzi
b2c1e70401
variable.c : a variable was not declared; fixed
...
NEWS: updating (in progress)
2000-10-26 20:33:11 +00:00
pnenzi
19129762ad
Added Glao Dezai's patches (some memory leaks fixes)
2000-10-26 17:02:12 +00:00
arno
f85551ea17
* frontend/Makefile.am: Updates for new files.
...
* frontend/breakp2.c, frontend/newcoms.c, frontend/postcoms.c,
frontend/resource.c, frontend/terminal.h, frontend/variable.c,
frontend/variable.h, frontend/com_compose.c,
frontend/com_display.c, frontend/com_setscale.c,
frontend/com_strcmp.c: Include files update.
* parser/var2.c, parser/var2.h: Empty files, removed.
* parser/Makefile.am: Updates for removed files.
* parser/lexical.c: Small adjustments
* parser/input.c, parser/input.h: Input, output and error streams
handled in the frontend. Moved to the frontend directory.
* frontend/streams.c: Its new home.
2000-07-07 14:09:06 +00:00
arno
839ade8236
* src/frontend/com_ahelp.c src/frontend/com_ahelp.h
...
src/frontend/com_cdump.c src/frontend/com_cdump.h
src/frontend/com_ghelp.c src/frontend/com_ghelp.h
src/frontend/com_help.c src/frontend/com_help.h
src/frontend/com_history.c src/frontend/com_history.h
src/frontend/com_set.c src/frontend/com_shift.c
src/frontend/com_strcmp.c src/frontend/com_strcmp.h
src/frontend/com_unset.c src/frontend/control.c
src/frontend/control.h src/frontend/ftehelp.h
src/frontend/hcomp.c src/frontend/hcomp.h src/frontend/init.c
src/frontend/init.h src/frontend/terminal.c
src/frontend/terminal.h src/frontend/variable.c
src/frontend/variable.h: New additions from the refactoring of
the parser directory.
2000-06-27 16:15:43 +00:00