rlar
19e427e3a5
cleanup, use NULL instead of 0 in pointer context
2015-05-02 10:24:49 +02:00
rlar
6f21c3b9db
use `enum simulation_types'
2015-03-10 18:27:39 +01:00
rlar
7aa454e5b4
rewrite, using tprintf()
2014-04-05 19:10:12 +02:00
h_vogt
7bc879726d
make database dbs local to each circuit
2013-12-31 12:56:53 +01:00
rlar
83e3100917
remove unused variables
2012-12-01 16:05:20 +01: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
d8105873db
remove error.h, use fteext.h for controlled_exit()
2012-06-12 21:26:29 +02:00
h_vogt
b4516b08ca
bug fix, iplot(): Buffer overflow
...
Thanks to Zsolt Makaró for the bug report in
Buffer overflow detected - ID: 3510521
http://sourceforge.net/tracker/?func=detail&aid=3510521&group_id=38962&atid=423915
2012-03-24 18:29:36 +01:00
rlar
a056ea3065
#3/4 switch realpart() and imagpart() args from ngcomplex* to ngcomplex
2012-02-07 19:53:12 +00:00
rlar
d5f6bcbedf
drop some more casts
2012-02-06 20:11:10 +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
d26015586c
#1/7 use a subdirectory "ngspice" for includes to create a uniq namespace
2011-08-20 17:27:09 +00:00
rlar
9e86e5ca66
rewrite (double)literal --> floating-point-literal
2011-08-09 08:07:56 +00:00
rlar
d59845b427
graf.c, swallow type conversion warning
2011-06-25 17:05:29 +00:00
h_vogt
e6c86b4d98
explicit casting double -> int etc.
2011-06-11 17:07:38 +00:00
rlar
2d1e44787b
fix a segfault, when invoking `destroy' while running in batch mode on unix
2011-06-02 13:28:36 +00:00
rlar
55638c8023
various cleanups
2011-04-30 12:29:19 +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
e6c30efe46
Nr 4/5 (x = ...) != NULL , swallow warnings
2010-11-19 18:52:44 +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
75b6eeb94a
add `int' casts to some strlen() expressions, and center labels on a xlog scale
2010-11-06 20:17:19 +00:00
rlar
5f4b0aa798
(int) cast the return value of some strlen() invocations
2010-11-06 16:54:11 +00:00
rlar
7b3960506f
wrap tmalloc MALLOC etc, into two macros TMALLOC and TREALLOC
2010-10-28 19:32:34 +00:00
rlar
5e8e44cc0a
cast the tmalloc, MALLOC, return value
2010-10-24 12:59:20 +00:00
rlar
2540531c38
remove local prototypes, which are allready included
2010-10-15 18:31:20 +00:00
rlar
8f8071aceb
fix some ancient \n\r and \r\n typos
2010-09-19 16:30:39 +00:00
rlar
76d22c3691
function rename, Update() -> DevUpdate()
2010-09-08 18:06:51 +00:00
rlar
38abf408d5
function rename, DrawLine() -> DevDrawLine()
2010-09-08 18:03:40 +00:00
rlar
1693270d35
function rename, Text() -> DevDrawText()
2010-09-08 18:01:42 +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
3369d860b4
cast the return values of malloc() function calls
2010-07-01 19:52:23 +00:00
h_vogt
2c5ed4f83e
gnuplot updates
2009-12-31 15:42:28 +00:00
h_vogt
e778aab344
iplot graphics scaling, printing interrupt message
2009-05-09 13:23:08 +00:00
pnenzi
fa549df82a
TCLSPICE IMPORT + libtool + measure2 command
2008-08-27 13:39:05 +00:00
pnenzi
64baf803b6
Small corrections: duplicate entries and redundant include.
2008-08-23 07:51:08 +00:00
h_vogt
5e0964c4d4
remove iplot bug (line 686)
2008-04-28 18:39:06 +00:00
sjborley
c87326ebc8
Replaced extern references in .c file with #include of suitable headers.
2005-05-29 01:05:33 +00:00
pnenzi
937e3db647
Holger Vogt Windows port for Ngspice.
2002-01-03 22:44:21 +00:00
pnenzi
22acf4b96a
Simple changes from patches to spice 3f4 (G. Roehrich) that restored the drawing of lines and boxes in plot windows in truecolor displays.
2001-04-15 19:32:25 +00:00
pnenzi
d735c9a871
Some code cleanup
2001-02-09 08:18:35 +00:00
arno
cc51f0e8db
* src/main.c, src/multidec.c, src/proc2mod.c,
...
src/frontend/display.c, src/frontend/outitf.c,
src/frontend/help/readhelp.c, src/frontend/help/x11disp.c,
src/frontend/parser/complete.c, src/frontend/parser/glob.c,
src/frontend/plotting/graf.c,
src/frontend/plotting/graphdb.c,
src/frontend/plotting/x11.c, src/include/graph.h,
src/include/iferrmsg.h, src/include/ifsim.h,
src/include/macros.h, src/maths/poly/polyfit.c,
src/maths/sparse/spalloc.c, src/maths/sparse/spconfig.h,
src/misc/alloc.c, src/misc/mktemp.c,
src/spicelib/analysis/cktpzstr.c,
src/spicelib/devices/bsim2/b2temp.c,
src/spicelib/devices/bsim3/b3temp.c,
src/spicelib/devices/bsim3v1/b3v1temp.c,
src/spicelib/devices/bsim3v2/b3v2temp.c,
src/spicelib/devices/bsim4/b4temp.c: replaced malloc
realloc and free calls to use tmalloc trealloc and txfree.
* tests/diffpair.out, tests/fourbitadder.out,
tests/resistance/res_partition.out: Updated.
2000-10-14 13:16:53 +00:00
arno
f237c66aee
* graf.c: Removed need to press return after resizing the plot
...
window.
2000-10-10 12:20:57 +00:00
arno
489fc66afd
src/Makefile.am src/help.c src/main.c
...
src/circuit/Makefile.am src/circuit/ifnewuid.c
src/frontend/Makefile.am src/frontend/aspice.c
src/frontend/circuits.h src/frontend/com_display.c
src/frontend/com_hardcopy.c src/frontend/commands.c
src/frontend/commands.h src/frontend/cpitf.c
src/frontend/debugcom.c src/frontend/device.c
src/frontend/diff.c src/frontend/display.c
src/frontend/dotcards.c src/frontend/fourier.c
src/frontend/inp.c src/frontend/inpcom.c src/frontend/linear.c
src/frontend/misccoms.c src/frontend/mw_coms.c
src/frontend/nutinp.c src/frontend/options.c
src/frontend/outitf.c src/frontend/parse.c
src/frontend/postcoms.c src/frontend/postsc.c
src/frontend/rawfile.c src/frontend/resource.c
src/frontend/runcoms.c src/frontend/runcoms2.c
src/frontend/shyu.c src/frontend/spec.c src/frontend/spiceif.c
src/frontend/subckt.c src/frontend/vectors.c
src/frontend/where.c src/frontend/plotting/Makefile.am
src/frontend/plotting/agraf.c src/frontend/plotting/graf.c
src/frontend/plotting/plotcurv.c
src/frontend/plotting/plotit.c src/frontend/plotting/x11.c
src/frontend/plotting/xgraph.c src/include/Makefile.am
src/maths/cmaths/cmath4.c src/misc/terminal.c
src/misc/terminal.h src/parser/cshpar.c src/parser/front.c
src/parser/front.h src/parser/history.c src/parser/history.h
src/parser/modify.c src/parser/var2.c src/parser/var2.h
src/parser/variable.c: Refactoring of frontend code.
* src/include/ftehelp.h src/include/variable.h: Moved into
frontend directory.
* src/include/cpdefs.h src/include/cpextern.h
src/include/ftedefs.h src/include/plot.h: Updates.
2000-06-27 16:09:02 +00:00