rlar
7ac266e2e7
nghash cleanup, fix typeof nghash_func
2011-07-17 09:53:07 +00:00
rlar
2aa778552f
nghash cleanup, struct forward declarations
2011-07-17 09:51:48 +00:00
h_vogt
ab587d8d3f
environmental variable NGSPICE_INPUT_DIR
2011-07-10 09:59:39 +00:00
rlar
3227d3c170
some explicit `int' casts
2011-07-09 19:40:16 +00:00
rlar
90360ef24c
swallow type conversion warnings
2011-06-26 20:00:03 +00:00
h_vogt
cc36fb8071
dirname() -> ngdirname()
2011-06-25 23:07:13 +00:00
h_vogt
f3565bab6b
fix usage of dirname()
2011-06-25 20:34:28 +00:00
h_vogt
661d287029
env. var NGSPICE_INPUT to hold additional path for input files
2011-06-25 16:03:05 +00:00
rlar
9ee308a2a5
function pointer invocation, (*p)(...) ---> p(...)
2011-06-23 16:45:32 +00:00
rlar
b93fcb3779
remove some useless casts
2011-06-22 17:17:40 +00:00
h_vogt
3547fdc5f3
explicit casts double -> int
2011-06-11 18:38:38 +00:00
rlar
0b6a557334
code cleanup
2011-04-27 18:30:15 +00:00
h_vogt
53ba204cbb
char* identifiers
2010-12-13 22:15:19 +00:00
dwarning
3ab9e6d060
cvs ignore .libs
2010-12-12 09:42:47 +00:00
dwarning
b964cf949c
cvs ignore *.lo and *.la
2010-12-12 09:34:10 +00:00
rlar
e6c30efe46
Nr 4/5 (x = ...) != NULL , swallow warnings
2010-11-19 18:52:44 +00:00
rlar
6256f69499
Nr 2/5 (x = ...) != '\0' , swallow warnings
2010-11-19 18:49:05 +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
1779d62558
add some `int' and `size_t' casts
2010-11-06 20:14:21 +00:00
rlar
d0dba768f8
change the type of a bunch of variables from `int' to `size_t'
2010-11-06 20:11:24 +00:00
rlar
5f4b0aa798
(int) cast the return value of some strlen() invocations
2010-11-06 16:54:11 +00:00
rlar
2cdd98715a
minor modification of strtolower(), and implement strtoupper()
2010-11-04 20:01:46 +00:00
rlar
411c6fc8c3
minor rewrites
2010-11-04 19:28:00 +00:00
rlar
db9125fecc
convert some variables, from `int' to `size_t'
2010-11-02 17:20:05 +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
b96989b506
fix incorrect usage of tmalloc/sizeof, incorrect indirection level
2010-10-24 12:56:11 +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
b897dfa857
collect extern timebegin in "misc_time.h"
2010-10-15 18:32:57 +00:00
rlar
5bc8777a9b
remove #define for EOS use '\0' instead
2010-10-09 11:42:10 +00:00
rlar
cf3514b9ae
remove ancient #defines for AND OR NOT substitute with && || !
2010-10-09 11:40:00 +00:00
dwarning
0d2b618f31
modification for sun compiler
2010-10-06 20:06:05 +00:00
rlar
68b2e6b23a
whitespace cleanup (all Makefile.am files)
2010-09-17 16:11:25 +00:00
h_vogt
56679b429b
add __MINGW32__
2010-09-10 20:22:29 +00:00
h_vogt
355384e459
libiberty.h inclusion modified
2010-09-10 15:06:04 +00:00
rlar
2010672489
rename configure.in -> configure.ac
2010-09-08 17:14:44 +00:00
rlar
241783d0b5
use for(;;) instead of while(1) to muffle some visual-C warnings
2010-09-07 20:07:57 +00:00
dwarning
4d1bae86f0
prevent unreached statement if pwd.h available
2010-09-04 12:41:04 +00:00
rlar
50ad9c548e
chomp some warnings
2010-08-15 18:26:56 +00:00
rlar
4cdd842cd8
muffle compiler warnings
2010-07-24 18:51:06 +00:00
rlar
62c6626254
add casts for void* returning functions
2010-07-11 19:34:15 +00:00
h_vogt
fe2d079b31
par('expression')
2010-07-10 11:27:57 +00:00
rlar
3369d860b4
cast the return values of malloc() function calls
2010-07-01 19:52:23 +00:00
h_vogt
ba48d85de1
return NULL
2010-06-03 22:17:25 +00:00
dwarning
5fcf9c2afe
ternary operation in control blocks
2010-04-11 08:49:05 +00:00
dwarning
112261297d
Bill Swartz patch
2010-03-25 22:44:37 +00:00
h_vogt
a6c4756581
new files
2010-02-25 22:09:23 +00:00
h_vogt
76feebbbfa
various bug fixes
2010-02-25 21:43:03 +00:00
h_vogt
c7470aa895
line endings
2010-02-15 10:28:48 +00:00
dwarning
12ce6f7980
backup to exit() function
2010-01-30 14:04:59 +00:00
dwarning
27461a41eb
controlled_exit removed
2010-01-30 13:29:16 +00:00
dwarning
8585a00243
controlled_exit implementation
2010-01-30 13:21:27 +00:00
dwarning
9f97f8701c
provide a controlled_exit function
2010-01-19 21:48:42 +00:00
h_vogt
d8810a841a
patches by R. Larice
2010-01-17 16:40:22 +00:00
h_vogt
82d46a68c8
'^' added to is_arith_char() in string.c
2009-12-12 17:40:20 +00:00
dwarning
586af63f36
changed the declarator to new format
2009-11-26 20:04:09 +00:00
dwarning
62ef3c6793
init structure with 0 instead NULL
2009-11-18 21:19:49 +00:00
dwarning
9b90e03e90
stringutil.h: separate bcopy and bzero providing
2009-10-18 13:46:09 +00:00
h_vogt
6053c50723
mempool.c, hash.c compatmode.c removed (Preliminary)
2009-08-23 14:45:23 +00:00
h_vogt
9f1ee290a4
new code for .measurement
2009-08-23 10:02:28 +00:00
h_vogt
9aad956864
convergence (output.net), add some comments
2009-06-11 14:12:07 +00:00
dwarning
ded9f403d7
don't need string.h - comes from ngspice.h
2009-04-26 16:47:50 +00:00
dwarning
a755164f06
relay on ngspice.h
2009-04-26 09:04:43 +00:00
h_vogt
eb378da811
winmessage
2009-04-22 21:57:37 +00:00
h_vogt
65b3fa2a4a
show error message in Windows before exiting
2009-04-22 21:25:29 +00:00
h_vogt
6c55df1cb5
Windows error message
2009-04-22 21:15:30 +00:00
dwarning
4e8d474799
only cosmetics
2009-04-13 19:47:43 +00:00
h_vogt
fa60b4d849
replace gpl getopt by BSD getopt
2009-04-12 21:14:00 +00:00
h_vogt
6f4cdcac47
replace gpl getopt by BSD getopt
2009-04-12 21:08:18 +00:00
dwarning
59917a149e
init rusage
2009-04-01 19:33:38 +00:00
dwarning
9071404c63
exclude heap usage for windows compile under __MINGW__
2009-02-01 18:09:15 +00:00
h_vogt
5dac6590e2
New heap only for tclspice in Windows (HAS_TCLWIN defined)
2009-02-01 09:49:35 +00:00
h_vogt
488771485e
add HAS_TCLWIN
2009-01-18 12:09:56 +00:00
dwarning
0d1f70c6a9
heap also needed under windows with tcl
2009-01-14 20:44:49 +00:00
dwarning
bea58219e7
heap only needed under windows
2009-01-09 20:19:57 +00:00
h_vogt
1fa4faf88c
tclspice for Windows
2008-12-31 14:42:49 +00:00
saintel
6fe0cebe58
*** empty log message ***
2008-11-22 10:31:46 +00:00
dwarning
530cb059fe
polish to prevent warning
2008-10-14 19:59:23 +00:00
h_vogt
3dc3d42553
Small changes, e.g. _MS_VER macro, added to allow compilation of tclspice with MS VC++ 2008
2008-10-04 22:44:52 +00:00
h_vogt
cdcf63aa46
add *.cir file path as search path (MS Windows)
2008-09-23 22:13:46 +00:00
pnenzi
fa549df82a
TCLSPICE IMPORT + libtool + measure2 command
2008-08-27 13:39:05 +00:00
pnenzi
7f6ad5c706
Updated to new automake standard. Replaced all INCLUDES with AM_CPPFLAGS
2008-08-24 17:12:50 +00:00
dwarning
a28ad1a197
math functions in one central place maths/misc
2008-05-11 20:27:28 +00:00
dwarning
9cbf5a91ee
moving some string functions from inpcom.c
2008-04-06 19:36:06 +00:00
dwarning
28e90e6330
Using a real double compare to equal.
2008-01-02 18:52:04 +00:00
dwarning
888a934fc5
token function for bjt instance
2007-12-29 21:13:23 +00:00
dwarning
6464cf535d
backup - no unique long long function
2007-12-27 22:02:06 +00:00
dwarning
b22a7666c1
AlmostEqualUlps in double is needed
2007-12-27 17:02:22 +00:00
dwarning
adaeb6ca81
strip WhiteSpaces inside parens of dot cards
2007-12-02 22:00:25 +00:00
dwarning
e099459179
no message
2007-12-02 21:56:44 +00:00
dwarning
7476998764
better macro request to HAVE_DIRNAME
2007-11-28 17:42:55 +00:00
dwarning
0618ecbf8b
prototypes for asprintf
2007-11-28 17:38:00 +00:00
dwarning
b7e71db2ad
AlmostEqualUlps on central place
2007-11-21 17:05:51 +00:00
dwarning
88155300e6
providing prototype for timediff
2007-11-14 20:26:34 +00:00
dwarning
6c9f3ecc09
comment was nonsens
2007-11-14 20:25:39 +00:00
dwarning
c4d1e93222
no prototypes index/rindex for non-provided functions
2007-11-14 20:25:17 +00:00
dwarning
f4a3add493
dirname and basename for MSC
2007-10-24 20:59:45 +00:00
dwarning
41325622fd
some clean-up's to come through MSC
2007-10-18 19:34:30 +00:00
pnenzi
9eb9f56060
fix for the negative times in seconds.
2007-06-14 10:27:35 +00:00
sjborley
358b5f829a
Replace C++ style comment with C style comment
2005-05-22 20:39:07 +00:00
sjborley
6f01a35b81
Fixed problems where printf format was int yet on some systems the argument is long (due to size_t being long). Fixed by always using long format and casting to long, rather than using the IS_SIZE_T_LONG macro to switch formats.
2005-05-21 15:56:20 +00:00
sjborley
fd7d4001f6
Removed the files src/misc/terminal.h/.c and src/include/terminal.h The first two were empty and the last just included the second. The relavent makefile.am files have been updated
2005-05-21 13:37:31 +00:00
sjborley
5c08bf1576
Fixed a structure initailisation problem in the VBIC device that occurs when cider is enabled. Also fixed lots of warning within ciderlib related to unused variables.
2005-05-21 12:37:23 +00:00
sjborley
eff209d8a3
Moved isnan() to src/misc/missing_math.c from src/spicelib/devices/dev.c following suggestion from Dietmar warning. Also took opportunity to fixed a compiler warning in dev.c
2005-05-18 20:25:05 +00:00
pnenzi
0d1326ae51
Added a missing }. Thanks Dietmar!
2004-08-23 14:07:20 +00:00
pnenzi
1260ae08db
Update autoconf scripts and applied Niessner patch to remove compiler warnings.
2004-07-09 18:37:25 +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
8686a73047
Added readline patch (support for command history).
2003-08-14 19:21:10 +00:00
pnenzi
8d893d890a
CIDER integration. Code updated for cider support.
2003-08-11 20:53:33 +00:00
pnenzi
dd8929457e
Code cleaning.
2003-08-06 18:37:51 +00:00
pnenzi
8362dec274
Integrated code from tclspice, brorson xspice and Vera memleak.
2003-07-23 19:36:39 +00:00
rouat
8385b33bea
Removed useless GNU getopt handlinf in autoconf
2001-12-05 21:33:25 +00:00
rouat
45e21263c1
Fixed bug in gnu getopt handling
...
Made doc more readable
2001-12-04 19:37:56 +00:00
pnenzi
65392b77ff
Modified printnum function to avoid printing bugs and memory leaks.
2001-12-02 10:03:11 +00:00
rouat
c6d2a20b8f
Changed handling of GNU getopt
2001-11-25 18:11:44 +00:00
pnenzi
9f2d0d2324
Added patches to fix segfaults
2001-11-22 20:43:36 +00:00
pnenzi
e515e01ede
Second step of the solaris/sparc patch. Added support for getopt function.
...
Automake and Autoconf recognizes if getopt is missing and add the provided code.
2001-04-17 13:35:52 +00:00
pnenzi
87f6f0673b
Applied Dan patches for Solaris. Asprintf is masked by HAVE_ASPRINTF. The check
...
is done by autoconf. getopt path not yet applied.
2001-04-16 09:58:25 +00:00
pnenzi
fd6d0b0723
Fixed stringutil missing bug.
2001-02-11 20:13:45 +00:00
pnenzi
317c6a2415
Appiled some of dan's patches.
2001-02-11 00:47:21 +00:00
pnenzi
6f55975cc0
Code clean up (removed some warning)
2001-02-09 13:27:21 +00:00
pnenzi
27d63941cd
Modified WAT_GC in HAVE_LIBGC
2001-01-23 15:01:58 +00:00
arno
86f326d11e
* NEWS TODO acconfig.h configure.in src/ngspice.idx
...
src/frontend/inpcom.c src/include/complex.h
src/include/macros.h src/include/memory.h
src/include/ngspice.h src/maths/cmaths/Makefile.am
src/maths/cmaths/cmath1.c src/maths/cmaths/cmath2.c
src/maths/cmaths/cmath3.c src/maths/cmaths/cmath4.c
src/maths/cmaths/test_cx_j.c src/maths/cmaths/test_cx_mag.c
src/maths/cmaths/test_cx_ph.c src/misc/alloc.c
src/misc/alloc.h: Added support for the Boehm-Weiser
conservative garbage collector.
* NOTES src/maths/cmaths/cmath.h: Added.
* notes/Linux.changes notes/dbx notes/internal notes/mac_port
notes/porting notes/spice2: Removed or incorporated into
NOTES.
2000-10-14 21:49:25 +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
pnenzi
0875108157
Added patches extracted from Alan Gillespie's code. Documentation and
...
author's file not updated.
2000-09-03 09:00:08 +00:00
arno
57dfb0f945
* main.c frontend/com_ahelp.c frontend/com_asciiplot.c
...
frontend/com_help.c frontend/com_plot.c frontend/com_set.c
frontend/com_unset.c frontend/quote.c include/cpdefs.h
include/defines.h include/wordlist.h maths/ni/niconv.c
misc/Makefile.am parser/Makefile.am parser/numparse.c
misc/wlist.c parser/wlist.c parser/wlist.h: Sorry for the big
commit, I screwed up the last one. See the ChangeLogs for an
account of what changed.
2000-07-18 18:07:16 +00:00
arno
fe8d08d0a9
* ChangeLog: Summarize recents changes.
...
* src/devices/Makefile.am: Updates to EXTRA_DIST.
* src/misc/misc_time.c, src/misc/printnum.c, src/misc/tilde.c:
Code formatting updates.
* tests/fourbitadder.out: Updates.
2000-07-03 15:32:29 +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
arno
1820d1a249
* src/parser/output.c src/parser/output.h: Moved these files
...
to src/misc directory.
* src/include/terminal.h src/misc/terminal.c
src/misc/terminal.h: new home to output.[ch] files.
* src/parser/Makefile.am src/misc/Makefile.am: Updated for move.
2000-05-13 10:15:32 +00:00
arno
e92356e43c
* DEVICES: Adjusted spacing.
...
* doc/.cvsignore man/.cvsignore man/man1/.cvsignore
src/.cvsignore src/analysis/.cvsignore src/circuit/.cvsignore
src/devices/.cvsignore src/devices/asrc/.cvsignore
src/devices/bjt/.cvsignore src/devices/bsim1/.cvsignore
src/devices/bsim2/.cvsignore src/devices/bsim3/.cvsignore
src/devices/bsim3soi_dd/.cvsignore
src/devices/bsim3soi_fd/.cvsignore
src/devices/bsim3soi_pd/.cvsignore
src/devices/bsim3v1/.cvsignore src/devices/bsim3v2/.cvsignore
src/devices/bsim4/.cvsignore src/devices/cap/.cvsignore
src/devices/cccs/.cvsignore src/devices/ccvs/.cvsignore
src/devices/csw/.cvsignore src/devices/devsup/.cvsignore
src/devices/dio/.cvsignore src/devices/disto/.cvsignore
src/devices/ind/.cvsignore src/devices/isrc/.cvsignore
src/devices/jfet/.cvsignore src/devices/jfet2/.cvsignore
src/devices/ltra/.cvsignore src/devices/mes/.cvsignore
src/devices/mos1/.cvsignore src/devices/mos2/.cvsignore
src/devices/mos3/.cvsignore src/devices/mos6/.cvsignore
src/devices/res/.cvsignore src/devices/sw/.cvsignore
src/devices/tra/.cvsignore src/devices/urc/.cvsignore
src/devices/vccs/.cvsignore src/devices/vcvs/.cvsignore
src/devices/vsrc/.cvsignore src/frontend/.cvsignore
src/hlp/.cvsignore src/include/.cvsignore src/maths/.cvsignore
src/maths/cmaths/.cvsignore src/maths/ni/.cvsignore
src/maths/sparse/.cvsignore src/misc/.cvsignore
src/parser/.cvsignore tests/.cvsignore: Help CVS ignore
automatically regenerated files.
2000-05-01 18:23:50 +00:00
pnenzi
978f1c32a2
Initial revision
2000-04-27 20:03:57 +00:00