Holger Vogt
92b69cbc55
prepare ngspice-29
8 years ago
Holger Vogt
7ca61b3c98
New command 'setseed' with function com_sseed
to set the random number generator
8 years ago
Holger Vogt
8fbcb16a57
add fourth parameter to cp_getvar(), in functions missing so far
8 years ago
Holger Vogt
09c876550f
prevent string overflow by adding the string length
to the cp_getvar parameters. Used only with CP_STRING
8 years ago
Holger Vogt
824ac4fbc9
make functions static or add function prototypes
8 years ago
Holger Vogt
d9d47bd823
fix a bug: missing
#ifdef XSPICE
prevents compiling of ngshared
without --enable-xspice in ./configure
8 years ago
Holger Vogt
8324b0f646
prepare ngspice-28
8 years ago
Holger Vogt
710e98a22c
Fcn ngGet_Vec_Info(): copy the vector pointer into a static pointer
infovec only if it is derived from event data (checked by a
scale vector with name "step"). Upon next call to fcn
ngGet_Vec_Info() first free the vector pointed to by infovec.
resolve merge conflict
8 years ago
Holger Vogt
8aff70036a
Put variable wantevtdata into the right place,
also available for standard executable, to be
modified in sharedspice.c only.
9 years ago
h_vogt
11bafd70ea
update to callback functions SendEvtData, SendInitEvtData
9 years ago
h_vogt
b5f31ec2b1
version conflict rersolved in sharedspice.c
9 years ago
h_vogt
25a324ba6e
add parameter mode to EVTsharedsend_line()
last entry for the dictionary list is NULL
9 years ago
h_vogt
994d190de5
shared_send_dict(char* dictline) to sent the node list
9 years ago
h_vogt
3e52cdd8c1
evtdump.c, prepare data gathering for callbacks similar to sending data via the ancient ipc channel
9 years ago
h_vogt
b621875abf
sharedspice.h, .c, prepare adding callback functions: new ngSpice_Init_Evt() and function pointers
9 years ago
h_vogt
fc42cef878
New functions for XSPICE event node data exported from shared ngspice: ngGet_Evt_NodeInfo(char*) and ngSpice_AllEvtNodes(void)
9 years ago
Holger Vogt
7363532d11
search for user's initialization files has been
optimized away because of an empty if clause.
A simple rewrite firstly asks for .spiceinit, then for spice.rc
8 years ago
h_vogt
3814201d13
Add function read_initialisation_file().
extend search path for .spiceinit, search sequence now is:
current directory, user HOME directory, user USERPROFILE directory
9 years ago
h_vogt
69b235531e
sharedspice.c, introduce csh variable "sharedmode"
to reflect whether running as shared library
10 years ago
h_vogt
9f62057973
introduce include file "ngspice/randnumb.h"
10 years ago
rlar
d298d5cc2f
use memset() instead of deprecated bzero()
10 years ago
h_vogt
b14e7cb040
sharedspice.c, remove meory leaks
10 years ago
rlar
be3c60badd
sharedspice.c, add prototype for `getisrcval()'
10 years ago
h_vogt
8ae0b53b9f
sharedspice.c, fix `retval' parameter for `pthread_exit()'
10 years ago
rlar
c94d7153fd
fix commit, "src/sharedspice.c, add vfprintf to interface for transferring ..."
10 years ago
h_vogt
0b92d8cfe1
src/sharedspice.c, add vfprintf to interface for transferring messages
10 years ago
rlar
33487b7d68
src/sharedspice.c, add ATTRIBUTE_NORETURN to function `shared_exit()' declaration
10 years ago
rlar
917ae030c9
src/sharedspice.c, fix #include style
11 years ago
rlar
8d44da4741
sharedspice.c, disable unused code
11 years ago
rlar
ae62187d06
sharedspice.c, bug fix, #298 Wrong define in sharedspice.c
thanks to "Sergii" who reported this here:
http://sourceforge.net/p/ngspice/bugs/298
This bug did not have any effect
11 years ago
Thomas Uhle
2851e650d3
sharedspice.c, use GetCurrentThreadId() instead of GetTreadID()
Thanks to Thomas Uhle for this patch, see
http://sourceforge.net/p/ngspice/patches/26/
#26 GetThreadId() missing in older Win32 API, proposing to use GetCurrentThreadId() instead
11 years ago
rlar
22b2349893
fix #285 .spiceinit cannot be read in from home directory
reported by Craggan in bug report #285
http://sourceforge.net/p/ngspice/bugs/285/
12 years ago
rlar
cc56c90b9d
drop asprintf()
13 years ago
rlar
03f0ef778f
bug fix, need va_copy() when reusing a va_list
12 years ago
rlar
7aa454e5b4
rewrite, using tprintf()
12 years ago
rlar
08ca40fe73
sharedspice.c, bug fix, don't write beyond size of array `p'
12 years ago
Krzysztof Blaszkowski
9d223d6778
execute ft_sigintr_cleanup() outside of the signal handler
to avoid execution of non-reentrant functions
13 years ago
h_vogt
962c73e14e
dctran.c, sharedspice.c: function sharedsync has modified parameter list
13 years ago
h_vogt
b33f374d22
sharedspice.c: improve progress analysis
13 years ago
dwarning
20c375bcc2
fix a bug on spurious output to console during fprintf reported by Evan Lavelle
13 years ago
h_vogt
d2dbe6145f
sharedspice.c: modified callback interface
enhanced function ngSpice_Init_Sync()
three new callback functions for synchronization
13 years ago
rlar
6050e2e0ea
cleanup some extra parentheses
13 years ago
h_vogt
e929275cdf
sharedspice.c, .h: fcn to initialize Sync, fcn to set breakpoint, callback fcn to read vsrc external inputs
13 years ago
h_vogt
c19d7e6a51
sharedspice.c: preliminary fixes: ftime() usage, prevent crash if controlled_exit from worker thread
13 years ago
h_vogt
e91063d096
sharedspice.c, .h, .vcproj: comments, update für MS Visual Sudio build
13 years ago
h_vogt
a0a2f15a52
sharedspice.c, *.h: interface update, more comments
13 years ago
h_vogt
b54605c225
sharedspice.c: improved comments
13 years ago
h_vogt
e86c3dd297
sharedspice.c: remove bug causing sigsegv
13 years ago
h_vogt
ffc7a0aa1b
sharedspice.c: small updates
13 years ago
h_vogt
35550cfd1d
sharedspice.c: fix sigsev fault under LINUX
13 years ago