Commit Graph

11115 Commits

Author SHA1 Message Date
Brian Taylor a2f081f89d Completed and cleaned up memory leak fixes in:
inpc_probe.c outitf.c inpcom.c niiter.c
cherry-pick of this one commit should be OK.
2026-05-18 22:17:40 -07:00
Brian Taylor 5d391fa745 Go back to the latest pre-master-47 2026-05-18 22:12:14 -07:00
Brian Taylor a5be217dde Revert "Fix memory leaks for paranoia_parallel."
This reverts commit cf825fd80a.
2026-05-18 22:06:40 -07:00
Brian Taylor 3ef0e48d7f Revert "Get line missing for cherry-pick"
This reverts commit aecd78c883.
2026-05-18 22:04:20 -07:00
Brian Taylor 46f998169b Revert "Remove unnecessary comments."
This reverts commit 6801c16a0e.
2026-05-18 22:03:30 -07:00
Brian Taylor df95d04ba3 Revert "Fix memory leaks for paranoia_parallel."
This reverts commit cf825fd80a.
2026-05-18 22:02:44 -07:00
Brian Taylor 6801c16a0e Remove unnecessary comments. 2026-05-18 09:11:23 -07:00
Brian Taylor aecd78c883 Get line missing for cherry-pick 2026-05-16 16:32:46 -07:00
Brian Taylor 8674ba9f8f Revert "Fix conflict"
This reverts commit 4f7bd6259a.
2026-05-16 16:29:38 -07:00
Brian Taylor 4f7bd6259a Fix conflict 2026-05-16 16:27:54 -07:00
Brian Taylor cf825fd80a Fix memory leaks for paranoia_parallel.
Tests with leaks:
  examples/various/probe-i-dev.cir
  examples/vdmos/100W.sp
  multiple tests using OUTpBeginPlot, add_to_sourcepath
2026-05-16 13:22:48 -07:00
Brian Taylor e030e96c20 Merge branch 'pre-master-47' into bt_dev 2026-05-15 14:55:19 -07:00
Holger Vogt 7911d0870d Correct paths in example file 2026-05-15 01:00:56 +02:00
Holger Vogt 6b7cde537d Reset plot list to const plot. 2026-05-11 15:10:21 +02:00
Holger Vogt 3dce275b16 reset time to 0 upon initialisation of shared ngspice 2026-05-11 15:09:32 +02:00
Holger Vogt 95cf8738da Avoid compiler warning (VS2022) 2026-05-10 16:36:35 +02:00
Holger Vogt 760b12b14e Enable soundfile support for VS2022/2026 builds. 2026-05-10 16:36:11 +02:00
Holger Vogt 201ae8cac7 Allow building without soundfile libraries.
Emit error message if soundfile source is requested.
2026-05-10 16:35:28 +02:00
Giles Atkinson 7cba7ddee0 Allow building without soundfile libraries. 2026-05-10 15:31:58 +02:00
Giles Atkinson 96c81fd58c Add CPP macros to allow XSPICE macros to be used in local functions. 2026-05-10 15:31:52 +02:00
Giles Atkinson 785be3194c Fix two bugs in the "let" command:
"let plot.vec = ..." fails when creating a new vector;
 if the new vector does not exist, "let" may modify a "const" value.
It is likely that existing scripts rely on the second one,
so variable "sanelet" must be set to enable the fix.
2026-05-10 15:31:48 +02:00
Giles Atkinson 954242616d Filter duplicate entries in sourcepath. 2026-05-10 15:31:44 +02:00
Giles Atkinson 93567da529 Do not report an error when correctly indexing a length-1 vector. 2026-05-10 15:31:40 +02:00
Giles Atkinson 07ca1354eb Disable output redirection for "let" so that normal comparison
operators may be used.
2026-05-10 15:31:30 +02:00
Giles Atkinson 06afc7c1da Command "setplot new" may set name and description of the new plot. 2026-05-10 15:31:25 +02:00
Giles Atkinson 9ad729ec15 CMPP: also skip over single-quoted strings in code-model source. 2026-05-10 15:31:17 +02:00
Giles Atkinson 0f693a55d0 Fix Bug #776 -
"vlnggen fails to find verilator in MSYS2/MINGW64 on Windows 10".
Patch by Chaojun.
2026-05-10 15:31:13 +02:00
Holger Vogt 55dc72a01f Restrict time step equalising: don't do it with next breakpoit
at TSTOP, as simulations with may fail with ever decreasing time step.
2026-05-10 11:07:31 +02:00
dwarning b4ecedc616 vdmos bulk diode with smart recovery model 2026-05-09 15:55:27 +02:00
Holger Vogt 19217bf018 Fix a bug reported by Dmitriy, take 2: use 1 to length-1 2026-05-08 10:53:02 +02:00
Holger Vogt 288b2808ab Fix a bug reported by Dmitriy: use length-1 2026-05-06 16:14:10 +02:00
Holger Vogt 936ca5cec7 Update project files: integrate wave compilation
including sdnfile.dll and samplerate.dll, make
both project files more uniform.
2026-05-05 15:49:35 +02:00
Holger Vogt 65fd1e833f Add copying sndfile.dll and samplerate.dll 2026-05-05 15:48:01 +02:00
Holger Vogt 1f6e466c8e Update of wave README 2026-05-05 15:47:16 +02:00
Brian Taylor 259d78fd97 Merge branch 'pre-master-47' into bt_dev. With sound waveforms. 2026-05-04 14:22:43 -07:00
Holger Vogt 3f3194babf Update to meas: stdout-->stderr, remove unusable error message,
reported by Dmitriy
2026-05-04 16:54:53 +02:00
Holger Vogt 6a99f7978e Update description for Linux. 2026-04-30 15:24:04 +02:00
Holger Vogt 531c4550bc Update for compiling with macOS Apple Silicon, tested with M2 2026-04-30 14:55:57 +02:00
Holger Vogt 0638e6ab35 Update to the README. 2026-04-30 13:40:39 +02:00
Holger Vogt db8cbb5c6e Remove result file 2026-04-30 13:06:31 +02:00
Linus Torvalds a1cd8d0565 Allow loading the entire audio file at vsjack_open() time,
get the actual oversampling, to allocate the sample space.
2026-04-30 13:06:31 +02:00
Linus Torvalds b672580181 Add some reset to -re-enable consecutive simulations 2026-04-30 13:06:31 +02:00
Linus Torvalds 6694fd882d Patch fixes bug in the original linear interpolation,
along with generating a proper "streaming" resampled output.
2026-04-30 13:06:31 +02:00
Holger Vogt a40e283ddc provide correct path info 2026-04-30 13:06:30 +02:00
Holger Vogt 8efc138b73 Add wav to fftw version of shared ngspice 2026-04-30 13:06:30 +02:00
Holger Vogt 70a1c3fc6e Improve error messages.
Oversampling default is 4.
2026-04-30 13:06:30 +02:00
Holger Vogt f3a243fd1f Make types compatible, change from int to size_t 2026-04-30 13:06:30 +02:00
Holger Vogt d71146a37a Formatting
Replace tabs by spaces
2026-04-30 13:06:30 +02:00
Holger Vogt 9f2f8bd567 Oversampling default is 1 2026-04-30 13:06:30 +02:00
Holger Vogt 8fda6f73ba Install ngspice wav on Ubuntu 24.04 2026-04-30 13:06:30 +02:00