rlar
19e427e3a5
cleanup, use NULL instead of 0 in pointer context
11 years ago
rlar
6f21c3b9db
use `enum simulation_types'
11 years ago
rlar
2b3220086d
graph.h, grid.c, enforce consistent string buffer size (plot "units", LABEL_CHARS)
11 years ago
rlar
c5e0bcde04
cleanup using `hypot()'
11 years ago
rlar
45cfdde701
src/frontend/plotting/plotit.c, plotit(), fix command line buffer overflow
11 years ago
Giorgio Vazzana
0348dcd251
bug fix, #286 buffer overflow in src/frontend/plotting/grid.c
12 years ago
rlar
7aa454e5b4
rewrite, using tprintf()
12 years ago
rlar
ed23c7e315
set X11 window title from `graph->plotname'
in response to a bug report by Dominique Michel
"#272 no title in plots"
http://sourceforge.net/p/ngspice/bugs/272/
12 years ago
h_vogt
bd1b4a2162
gnuplot.c: enable correct terminal for non MINGW/MSVC
12 years ago
h_vogt
7bc879726d
make database dbs local to each circuit
13 years ago
rlar
6c8f002eea
unify #ifndef include wrapper
13 years ago
rlar
c377b7a6b3
avoid leading underscore in preprocessor macros
13 years ago
h_vogt
7d45880654
plotit.c: remove memory leaks
13 years ago
h_vogt
c5de0c21c9
findvec(), use hash tables for the vector search
patch originally provided by Bill Swartz, 2010
reduces vector search time from O(n) to O(1)
13 years ago
rlar
83e3100917
remove unused variables
14 years ago
dwarning
6abd2e2c0c
gnuplot.c: allow png terminal by gnuplot_terminal variable
14 years ago
Francesco Lannutti
08ec219417
remove all .cvsignore files
14 years ago
h_vogt
3ca1235602
gnuplot.c: improve scaling of y axis
14 years ago
rlar
11579d9369
cleanup, ngspice/config.h is already in ngspice/ngspice.h, #1/2 (easy ones)
14 years ago
rlar
35c0e9eca3
variable rename, unify the source
checked for object file invariance
14 years ago
h_vogt
986f9b7535
grid.c: prevent overflow of div_list
14 years ago
h_vogt
0bdc33db40
grid.c: prevent crash if real low and high values are close
14 years ago
rlar
fe1acd3757
src/frontend/** remove superfluous `return' invocations
14 years ago
rlar
7454a6d486
src/frontend/**, whitespace, indentation, ...
untabify
delete-trailing-whitespace
braces
...
checked for object file invariance on linux
14 years ago
rlar
f3b5336d3a
cleanup some macros, try to be more careful
14 years ago
rlar
6c01089be1
plug memory leak in x11.c
try to obey the Xt toolkit protocol when closing widgets and application
14 years ago
rlar
d4ced47e8e
drop out_pbuf, which was an ancient workaround
obviously an old implementation of out_printf()
has been unreliable.
14 years ago
rlar
46980f2cc6
plotit.c #9/9, whitespace
14 years ago
rlar
4803d8bba2
plotit.c #8/9, braces
14 years ago
rlar
6a334da2b4
plotit.c #7/9, braces
14 years ago
rlar
f587553217
plotit.c #6/9, braces
14 years ago
rlar
088e88d9b2
plotit.c #5/9, localize
14 years ago
rlar
5f1387892c
plotit.c #4/9, line wrap
14 years ago
rlar
ed4ad1c0dd
plotit.c #3/9, drop some comments
14 years ago
rlar
5c43e8f2fc
plotit.c #2/9, emphasize maximize/minimize
14 years ago
rlar
406fc29007
plotit.c #1/9, think positive
14 years ago
h_vogt
acfc7a2a27
remove memory leaks
14 years ago
rlar
cf2a0f3df3
cleanup, linewrap
14 years ago
rlar
5a69b9efc4
cleanup, void return
14 years ago
rlar
64b8dfc570
use wl_delete_slice()
14 years ago
rlar
26468839d4
plotit(), cleanup wordlist processing
14 years ago
rlar
b808fcec8a
fix typo in the commit `use wl_find()'
14 years ago
rlar
891d99497d
use wl_find()
14 years ago
rlar
60398d113c
plotit.c, prepare for usage of wl_find()
14 years ago
rlar
05e5854268
plotit.c, whitespace cleanup
14 years ago
rlar
9655b9885a
cleanup, use wl_cons(), wl_append_word() and wl_chop_rest()
14 years ago
rlar
cb0a48801d
introduce AM_CFLAGS = $(STATIC)
14 years ago
rlar
d8105873db
remove error.h, use fteext.h for controlled_exit()
14 years ago
rlar
e91e3c4ec7
lingrid(), avoid buffer overflow
Bug ID: `Buffer overflow detected - ID: 3510521'
reported by Zsolt Makaró
The variable `mag3' sometimes seems to take
unexpected values
(for example log10 can be -Inf, which will be casted to 0x80000000)
and seems then to have overflown a buffer buf[LABEL_CHARS]
14 years ago
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
14 years ago