Holger Vogt
f6cbaea604
data[i] is no longer written beyond its allocated length
8 years ago
Holger Vogt
7d12b4897c
clean-up function com_quit
8 years ago
Holger Vogt
fa60f7d21d
avoid memory leak in X11
8 years ago
Holger Vogt
06df6ca8e7
avoid pre-matuire exit (byemessage not called)
8 years ago
Holger Vogt
e7bcc09bb0
remove memory leak: delete duplicate .param lines
8 years ago
Holger Vogt
b6b66c71bd
plug a small memory leak (switch-oszillators.cir)
8 years ago
Holger Vogt
9332801382
free the original wlist, made by getcommand(),
not a derived wlist that is just part of the original
8 years ago
Holger Vogt
c5cea6d6c1
remove ft_curckt->ci_meas upon removing the current circuit ft_curckt
8 years ago
Holger Vogt
5f1f6ccb29
add a small comment
8 years ago
Holger Vogt
0fbe920382
plug a small memory leak in switch-oscillators.cir
8 years ago
Holger Vogt
2b50ca7271
command 'print': preserve case for filenames after redirection '>'
8 years ago
dwarning
5380c3f4da
prevent a small memory leak
8 years ago
Holger Vogt
b4c6a7d324
add function trnoise_state_free and use it
instead of its individual components
8 years ago
dwarning
aa95da431a
adaptive format specifier for size_t printf
8 years ago
dwarning
aed5ba01c0
prevent a small memory leak
8 years ago
dwarning
7d78cba9ef
fix some prototype declarations
8 years ago
dwarning
561fdd805c
rm unused variables
8 years ago
dwarning
598b72be37
prevent a huge memory leak by calling fftw3 in a loop
8 years ago
Holger Vogt
1f7d84b270
trivial patch to avoid memory leaks during transient noise generation.
This has to be replaced by a rewrite of the noise generating code.
8 years ago
Holger Vogt
8c9b18ef7e
fix a small memory leak
8 years ago
Holger Vogt
7e4b68c708
update to the rusage command:
print total analysis time, total elapsed time, and
memory information (OS dependant) if rusage is given
without parameters
8 years ago
Holger Vogt
f07c73b6a5
Command 'cd' now switches to the home directory also for MS Windows.
A new command 'getcwd' just prints the current working directory
without changing it.
8 years ago
Holger Vogt
9cc690c55c
try to reload only when mc_deck is available
comment modified
8 years ago
Holger Vogt
2b071fec5a
add loading from recent deck (mc_deck) if circuit
file has been removed by remcirc.
8 years ago
Holger Vogt
2dfdf984d6
re-number the lines during copying,
required by nupa_copy()
8 years ago
Holger Vogt
f9eb75f55d
skip comment lines
8 years ago
Holger Vogt
ac0a70bb84
print deck after re-loading into debug-out-mc.txt,
if 'set ngdebug' is set in .spiceinit
8 years ago
Holger Vogt
cebb83eec1
give preference to mc_reload when reloading the circuit
8 years ago
Holger Vogt
ad0f596570
fix a memory leak
8 years ago
Holger Vogt
795f9ed6ad
remove unused rparen
8 years ago
Holger Vogt
73da17e367
just keep recent_deck, when it's already equal
to current ft_curckt->ci_mcdeck, thus avoid
freeing ft_curckt->ci_mcdeck
8 years ago
Holger Vogt
d1a8637a29
store deck for command mc_source for each circuit in ft_curckt->ci_mcdeck
remove this storage during remcirc
keep most recent deck in recent_deck
8 years ago
Holger Vogt
7e611e7b57
remove the circuits upon quit
8 years ago
Holger Vogt
6ed10583f2
plug small memory leaks
8 years ago
Holger Vogt
dc34632421
fix memory leaks when evaluating a variable
MC example file MC_ring_ts.sp is now free of memory leaks
8 years ago
Holger Vogt
934656f6e8
fix memory leak: before killing a plot, remove its hash table entry
8 years ago
Holger Vogt
c5b5190199
command 'setplot': add predefined 'previous' and 'next' parameters
to switch to the previous or next plot. A warning results if this
is not possible, then the currnt plot is not changed.
8 years ago
Holger Vogt
19596f0f42
add search in current directory
Patch provided by Uros Platise
https://sourceforge.net/p/ngspice/ngspice/merge-requests/4/
8 years ago
Holger Vogt
7c90004921
add Inp_Path to sourcepath variable
Patch provided by Uros Platise
https://sourceforge.net/p/ngspice/ngspice/merge-requests/4/
8 years ago
Holger Vogt
f354f36121
replace 'magic numbers' by defines, thus setting several char arrays
safeguard these arrays against overflow
set numbers of parameters to 10000
8 years ago
Holger Vogt
8357564fee
fix missing tokens in cp_getvar
8 years ago
Holger Vogt
ef5747905f
fix bug no. 362, reported by Bohdan Tkhir
replace size_of by sizeof
8 years ago
Holger Vogt
e3b2b395b9
fix an ancient bug in retrieving the data with the cursor
from a log y graph: use y-offset instead of x-offset
8 years ago
Holger Vogt
0c94ab948b
treat ( ) , like spaces, that is ignore them during
switch parameter conversion
8 years ago
Holger Vogt
393c924886
improve finding tokens, considering nested parens
8 years ago
Holger Vogt
fac5754b79
add variabale inputdir to store the last input file directory
8 years ago
Holger Vogt
2786fcb86e
New .option seed=[val|random]
8 years ago
Holger Vogt
107a4a808e
New .option seed=[val|random]
8 years ago
Holger Vogt
10c6c5c38b
Convert .param lines containing 'agauss' and others
into .func (xxx1() 'agauss()', replace all xxx1 entries
by function xxx1().
After subcircuit expansion, replace agauss and others
in B-Line by their suitable values.
8 years ago
Holger Vogt
7ca61b3c98
New command 'setseed' with function com_sseed
to set the random number generator
8 years ago