~kicad/+git/ngspice-mirror-sourceforge:mif_inp2_gc

Last commit made on 2018-11-11
Get this branch:
git clone -b mif_inp2_gc https://git.launchpad.net/~kicad/+git/ngspice-mirror-sourceforge
Members of KiCad can upload to this branch. Log in for directions.

Branch merges

Branch information

Name:
mif_inp2_gc
Repository:
lp:~kicad/+git/ngspice-mirror-sourceforge

Recent commits

950fbd8... by Holger Vogt

Put the copy for generating permanent next_token exactly at the places
where is is needed: INPtermInsert() and fast->conn...->neg_node_str
XSPICE memory leaks are gone!

b3695cb... by Holger Vogt

Add a function gc_start to reset the garbage collector

07f442c... by Holger Vogt

** A local garbage collector **
Add the list of malloced addresses alltokens.
Add a function copy_gc to copy and enter the address.
Add a function gc_end to delete all entries in alltokens.
   Beware of addresses deleted elsewhere and use anew by malloc.
Some tokens should not be deleted here, they get another copying.

56443a5... by Holger Vogt

add gc functions to replace MIFgettok and MIFget_token

dbec61a... by Holger Vogt

remove all instances of tfree.
Code is working, but full of memory leaks.

25885e4... by Holger Vogt

plug a memory leak, delete 'element', if tmalloced before

2355faf... by Holger Vogt

mif_inp2.c, improve on memory leaks
Delete token before generating it anew, delete def_port_str
only if not already done before.
Still there are some tiny leaks left.

76b5f16... by Holger Vogt

Enable function GetProcessMemoryInfo() to get reliable memory usage data
for MINGW and MSVC console, WinGui and MSVC shared ngspice.
MINGW shared ngspice does not link to psapi.dll, so cannot
apply GetProcessMemoryInfo(), but sticks to unreliable function
GlobalMemoryStatusEx().

9fe6069... by Holger Vogt

No gcc flag -fvisibility if MINGW, CYGWIN
Add flag WINCONSOLE to be used in makefile.am

9c39d54... by Holger Vogt

regression first, then xspice, then the model qua tests