Commit Graph

6839 Commits

Author SHA1 Message Date
Jim Monte 721bc05a43 Merge with pre-master 2020-03-08 01:54:40 -05:00
Jim Monte 7b6ce1e236 Merge commit 2020-03-08 01:42:03 -05:00
Jim Monte 88653fa998 Fixed assorted compiler warnings, memory leaks, etc. 2020-03-07 23:46:58 -05:00
Holger Vogt 55c4f16134 re-write inp_rep_ixx(), catch all known cases,
paranoia examples are o.k.
2020-03-07 23:31:47 +01:00
Holger Vogt 4c44244444 Imrove an error message: End-of-line delimiter $ is
not allowed when PSPICE compatibility is set. $ is
a standard character in PSPICE.
2020-03-07 19:51:17 +01:00
Holger Vogt 88e6ec2f70 Add afuction to transform i(vxx) to vxx#branch
in .control sections.
This is to avoid memory leaks (see bug 478).
A better fix may be probably available by adapting
parse-bison.y.
2020-03-07 19:49:36 +01:00
Holger Vogt 13d8a7f515 correct the return values 2020-03-07 19:46:54 +01:00
dwarning a129f863ca omit wanted fallthrough warnings with gcc 2020-03-07 14:22:20 +01:00
Holger Vogt 698f62fc8f compatibility to old vsnprintf() in MINGW is no longer needed.
Compiling with -D__USE_MINGW_ANSI_STDIO=1 enables C99 compatibility.
2020-03-06 20:49:00 +01:00
Holger Vogt b6aeaf914b Replace swprintf by MultiByteToWideChar to correctly
translate from utf-8 to wchar_t
2020-03-06 20:43:18 +01:00
Holger Vogt 48b00980ef Add compile flag -D__USE_MINGW_ANSI_STDIO=1 to enable
C99 compatibility (e.g. for vsnprintf() )
2020-03-06 20:41:26 +01:00
Holger Vogt 6750628c72 enable true gmin stepping
The old behavior, stepping diagmin, is re-obtained by adding flag
set 'dyngmin'
to .spiceinit or spinit
This flag may also be set within a .control section (e.g. to
compare results)
2020-03-06 14:59:02 +01:00
Holger Vogt fdcfa929b5 clean up winmain.c 2020-03-06 14:55:32 +01:00
Holger Vogt 196f629d8c enable compiling wide char with MINGW 2020-03-06 14:53:27 +01:00
Holger Vogt 2b905607c3 make flag 'nolegend' localfor each plot 2020-03-06 14:51:39 +01:00
Holger Vogt 1a407f9b67 set the proper preprocessor flag __MINGW32__ 2020-03-05 22:51:29 +01:00
Holger Vogt 7bee475de1 Instantiations of string and dstring functions as inline
This will remove the redundant-decls warning
2020-03-05 13:15:52 +01:00
Holger Vogt b1116283c8 remove outdated function GlobalMemoryStatus(&ms) 2020-03-04 22:51:59 +01:00
Holger Vogt 506098b10c compile oinstruction for MINGW
UNICODE is not yet working, only extended ASCII
2020-03-04 22:46:19 +01:00
Holger Vogt ac8eab8e8c make code compile with MINGW (preliminary) 2020-03-04 22:45:30 +01:00
Holger Vogt bc3fe34781 work around a bug in MINGW
Reported in
https://github.com/msys2/MINGW-packages/issues/6254
2020-03-04 22:44:20 +01:00
Holger Vogt 3012f09623 remove false bracket in EXT_ASC 2020-03-04 14:47:31 +01:00
Holger Vogt 4dff827763 prevent crash if premature exit (without ckt) 2020-03-04 14:46:35 +01:00
Jim Monte 8d903d8e30 Merge branch 'pre-master' of ssh://git.code.sf.net/p/ngspice/ngspice into beta_jdm 2020-03-03 09:59:30 -05:00
Holger Vogt ab12ad574e remove xgraph in ngspice shared lib 2020-03-02 18:13:35 +01:00
Holger Vogt 262d74bb4d measure compile time elapsed 2020-02-29 18:13:05 +01:00
Holger Vogt a7f6379677 make declaration inline 2020-02-29 18:11:03 +01:00
Holger Vogt 7a372437a2 re-enable making old apps with --enable-oldapps 2020-02-28 23:29:19 +01:00
Holger Vogt d8af86117f ngsconvert.c: add const to cp_enqvar 2020-02-28 19:55:25 +01:00
Holger Vogt 69ec5e46af re-enable making nutmeg 2020-02-28 19:44:32 +01:00
Holger Vogt f7705de2c7 plug a memory leak (in case of failing op for tran calculation) 2020-02-28 18:12:55 +01:00
Holger Vogt e3aa834bd4 plug a memory leak (pll-xspice.cir) 2020-02-28 18:11:58 +01:00
Holger Vogt 8c9c1230fe plug a memory leak (IXTH80N20L-IXTH48P20P-quasisat.sp) 2020-02-28 18:10:31 +01:00
Holger Vogt 4e1fd88466 some tiny updates to the plot commands 2020-02-28 18:08:44 +01:00
dwarning 2a7f186c0a add aliases for temp coeffs 2020-02-28 10:05:34 +01:00
dwarning 63da441bac update .gitignore and make clean 2020-02-25 20:57:08 +01:00
dwarning cfbae5c297 specific ngbehavior by .spiceinit 2020-02-25 15:31:00 +01:00
dwarning 94894e4377 change vdmos flag to thermal, not to confuse with b4soi 2020-02-25 12:43:10 +01:00
dwarning 25e2eb3374 filter only mos instances with thermal switch 2020-02-25 09:51:39 +01:00
Holger Vogt b2e377031a plug some memory leaks 2020-02-24 23:01:05 +01:00
dwarning 26730ba102 change vdmos flag to thermal, not to confuse with b4soi 2020-02-24 18:49:19 +01:00
dwarning 2c8f59d77a add wincolor 2020-02-24 15:09:39 +01:00
Jim Monte 097e534ad2 Added featurest to com_let to allow default low and high indices and to allow the last dimension to default to its full range 2020-02-24 09:28:33 +01:00
Jim Monte 7dbd00e06d Added featurest to com_let to allow default low and high indices and to allow the last dimension to default to its full range 2020-02-24 02:49:14 -05:00
Jim Monte b945fb3733 Merging with pre-master 2020-02-24 02:48:13 -05:00
dwarning 89b691e70f no xgraph anymore 2020-02-23 21:58:13 +01:00
Holger Vogt e24dcf7d67 added features of utf-8 descrption 2020-02-23 20:47:55 +01:00
dwarning 565a0994b3 free errMsg only if available 2020-02-23 20:39:44 +01:00
dwarning 646ac2dbcb use errMsg under ngdebug condition and prevent memory leak 2020-02-23 19:30:23 +01:00
Holger Vogt 9f8509d53c prevent double closing of file (Linux does not NULL fp during fclose) 2020-02-23 15:38:49 +01:00