Commit Graph

43 Commits

Author SHA1 Message Date
Holger Vogt 134759bfee another preliminary patch for macOS 2020-01-19 15:42:27 +01:00
Holger Vogt 25de1beb4f stub to enable compilation on macOS,
memory info for macOS is currently not available.
2020-01-19 15:33:54 +01:00
Holger Vogt 047dbc4765 use only TMALLOC and TREALLOC for memory allocation 2020-01-05 14:50:43 +01:00
Jim Monte 3982458005 Fixed reporting of system information in Windows. 2020-01-04 15:11:38 +01:00
Holger Vogt 87ebe9540b enable system info for Windows 10,
exclude function not existing in older SDKs
2019-11-06 22:18:12 +01:00
Holger Vogt dcb9aa26fe Replace deprecated GetVersionExA by version helper functions
Add new macro _MSC_PLATFORM_TOOLSET to check for toolset
2019-11-03 14:39:52 +01:00
Holger Vogt 2dd293707b initialize pn in ft_getpnames() parse.c
initialize dwLen in tesCreateSystemInfo() in com_sysinfo.c
Both were reported by MSVC Code Analysis
Crash of ngspice.dll in Eeschema is thus removed
(hopefully in general)
2018-07-21 23:55:00 +02:00
Holger Vogt a98d01e5f8 Use only internal memory functions, replace
free->tfree, malloc->tmalloc, realloc->trealloc
2018-07-21 23:54:43 +02:00
h_vogt 4eb32ab566 com_sysinfo.c, add recent Windows versions to info printout 2017-02-22 19:36:38 +01:00
h_vogt 7c06cb2d12 don't mess with WINVER
not necessairy for current Windows versions
2017-02-22 19:36:37 +01:00
rlar 71a7c3459b use char variants of the <ctype.h> isxxxx() family 2016-03-09 20:24:36 +01:00
rlar 6050e2e0ea cleanup some extra parentheses 2013-12-31 16:12:44 +01:00
h_vogt d7e291c53a HAS_WINDOWS --> HAS_WINGUI
allow compilation on MS Windows without GUI
2013-12-31 12:56:57 +01:00
rlar 11579d9369 cleanup, ngspice/config.h is already in ngspice/ngspice.h, #1/2 (easy ones) 2012-10-06 12:12:08 +02:00
rlar 7454a6d486 src/frontend/**, whitespace, indentation, ...
untabify
delete-trailing-whitespace
braces
...

checked for object file invariance on linux
2012-09-20 20:30:53 +02:00
rlar d0f5ad49d1 make use of TMALLOC() 2012-02-09 20:46:12 +00:00
rlar 4ca58067a2 #2/6 config.h --> ngspice/config.h, #include's 2011-12-27 11:33:01 +00:00
rlar 0b5042e7da remove CVS `Id',`log' etc. keyword incantations 2011-12-13 19:57:45 +00:00
rlar 10346e055c #1/4 #include <ngspice/...> --> #include "ngspice/..." 2011-12-11 18:05:00 +00:00
rlar d26015586c #1/7 use a subdirectory "ngspice" for includes to create a uniq namespace 2011-08-20 17:27:09 +00:00
rlar b8cc44efad complete `replace size_t by unsigned long long' 2011-08-06 13:57:19 +00:00
h_vogt 36f6eb6a89 bug no. 3386184 2011-08-06 07:53:48 +00:00
rlar 7ecafe2aa3 cleanup integer type conversions 2011-07-09 16:27:36 +00:00
rlar 34b8ee4cca tiny rewrite, swallow type conversion warnings 2011-06-24 13:17:23 +00:00
rlar 87a7aec46b tiny rewrite, typefix, don't compare EOF with a char 2011-06-23 16:35:08 +00:00
rlar abb87a6115 rename `IGNORE()' --> `NG_IGNORE()' 2010-11-16 20:38:24 +00:00
rlar 80286e0032 pour `IGNORE()' all over the source 2010-11-16 19:11:32 +00:00
rlar 7b3960506f wrap tmalloc MALLOC etc, into two macros TMALLOC and TREALLOC 2010-10-28 19:32:34 +00:00
rlar 5e8e44cc0a cast the tmalloc, MALLOC, return value 2010-10-24 12:59:20 +00:00
rlar 196262dd1b move the com_*() prototypes around. 2010-10-16 17:09:46 +00:00
rlar 3c3b31fa60 declare some functions `static' 2010-10-15 18:43:52 +00:00
rlar 8ff62fd262 add #include's for visibility of prototypes to their function definitions
move some typedefs to "typedef.h"
2010-07-30 16:09:38 +00:00
rlar 3369d860b4 cast the return values of malloc() function calls 2010-07-01 19:52:23 +00:00
rlar 4420a3ecdd add prototypes, remove some NULL casts 2010-06-23 17:40:56 +00:00
h_vogt b289dc60c8 *** empty log message *** 2010-02-08 22:25:41 +00:00
h_vogt bf706e9e61 patched for CYGWIN 2010-02-08 22:12:34 +00:00
h_vogt f721fdf782 64 bit support 2010-02-08 20:25:30 +00:00
h_vogt 6d13becdb7 bug no.2902374 fixed 2009-11-24 21:30:43 +00:00
h_vogt 7b1f733190 enable compilation for Windows console app 2009-11-16 19:52:51 +00:00
h_vogt 1ff1fc5a6c version 20, update for Cygwin 2009-10-04 15:57:10 +00:00
dwarning 1a8bf20866 sys_memory struct w/o static type, sysinfo w/o void Parameter 2009-10-04 11:46:35 +00:00
h_vogt 59665ba2e9 corrected for LINUX 2009-09-30 22:52:52 +00:00
h_vogt 5be507a97f command sysinfo 2009-09-30 22:22:36 +00:00