rlar
52a1a58e14
wlist.c, wl_find(), avoid crash when `string' argument is NULL
10 years ago
h_vogt
6a0a6071a0
gettok_nc(&line): like gettok(), move pointer beyond next token in line, but without returning a string, without TMALLOC. Replaces constructs like tfree(gettok(&line)).
10 years ago
h_vogt
33b11f9598
comments improved
10 years ago
rlar
d298d5cc2f
use memset() instead of deprecated bzero()
10 years ago
rlar
141ed61ec8
use memcpy() instead of deprecated bcopy()
10 years ago
rlar
994bec7859
declare free() / realloc() arguments `const void *'
to avoid extra casting when freeing `const' strings
10 years ago
rlar
5e04924890
cleanup `skip_ws()' usage
10 years ago
rlar
b1d8b99018
skip-ws, #6/6, rename to match inpcom.c
10 years ago
rlar
22875d056b
skip-ws, #5/6, use functional style
10 years ago
rlar
d12679fccd
skip-ws, #4/6, drop `TEMPORARY_SKIP_WS_X0'
use TEMPORARY_SKIP_WS_X1 instead of TEMPORARY_SKIP_WS_X0
10 years ago
rlar
a86f2068c8
skip-ws, #3/6, use TEMPORARY macros, obj-invariant
10 years ago
rlar
6d1171ad6f
skip-ws, #2/6, introduce "ngspice/stringskip.h"
with some temporary macros to skip whitespace
10 years ago
rlar
4b5669a51c
frontend/resource.c, fix bizarre time mathematics
10 years ago
rlar
bd0bc3038b
use `SWAP' macro
10 years ago
rlar
f84d2d4e44
misc/wlist.c, minor cleanup
10 years ago
rlar
4c1c95e20f
everywhere, use `TMALLOC()' instead of `alloc()'
10 years ago
rlar
726d0be34c
use char variants of the <ctype.h> toxxxx() family
10 years ago
rlar
71a7c3459b
use char variants of the <ctype.h> isxxxx() family
10 years ago
rlar
d37f18d777
misc/string.c, sprinkle some const'ness
10 years ago
rlar
192eeadb0b
remove crufty comments which where used to support broken text editors
11 years ago
rlar
0c0bc4079f
configure.ac, allow cross-compilation, especially for MinGW-w64
notably on debian gnu/linux with package `mingw-w64'
cross-compile a mingw 32bit windows executable with this incantation:
(compile "
./autogen.sh
rm -rf tmp-build tmp-output
mkdir -p tmp-build tmp-output
( cd tmp-build && ../configure \
--build=$(../config.guess) \
--host=i686-w64-mingw32 \
--prefix='c:/spice' \
--exec-prefix='c:/spice'\
--with-windows --enable-xspice --enable-cider --disable-debug )
LC_ALL=C make -C tmp-build -k -j6
LC_ALL=C make -C tmp-build -k -j6 DESTDIR=$(pwd)/tmp-output/ install
(cd 'tmp-output/c:/' && zip -r - .) > tmp-output.zip
")
compilation to Win64 works the same way, with
--host=x86_64-w64-mingw32
The tmp-output.zip directory structure resembles the
structure of our original sourceforge ngspice-26_140112.zip windows package
ready to be unzip'ed in c:/
Though the testfiles, examples and documentation is missing.
11 years ago
rlar
7bc6374138
cleanup, use '\0' instead of 0 in char context
11 years ago
rlar
7b0275ebf7
string.c, swallow "warning: value computed is not used"
11 years ago
rlar
7524ad2ee6
src/misc/string.c, rewrite using `copy_substring()'
12 years ago
rlar
f5d05af51d
inpgmod.c, INPgetModBin(), use model_name_match()
12 years ago
rlar
b663731379
rewrite model_bin_match(), rename --> model_name_match()
12 years ago
rlar
7f7453a227
inp_do_macro_param_replace(), fix several bugs concerning .func processing
12 years ago
rlar
aa7a7606c7
avoid multiple declarations of controlled_exit(), add 'noreturn' attribute
13 years ago
rlar
cc56c90b9d
drop asprintf()
13 years ago
rlar
80dd41451f
introduce tvprintf()
12 years ago
rlar
a9bdfe3b00
cleanup spice_format_length()
12 years ago
rlar
0750749962
mktemp.c, use tprintf()
12 years ago
rlar
7aa454e5b4
rewrite, using tprintf()
12 years ago
rlar
a4780f8e34
string.c, introduce tprintf()
12 years ago
h_vogt
6480fabeaf
tilde.c, enable search for home dir under MS Windows
13 years ago
rlar
aae92bf259
avoid overlapping "Dummy" symbols
reported by James Jackson in message:
[Ngspice-users] Problem building git head --with-ngspice Mac OS X
13 years ago
rlar
a94170d2ab
gettok_node(), use copy_substring()
13 years ago
Krzysztof Blaszkowski
493aaba468
gettok_node(), avoid segfault when *s == NULL
13 years ago
rlar
5db94276d3
sprinkle some constness
13 years ago
Henrik Forstén
44ef3db000
dstring_append_char(), rewrite
13 years ago
h_vogt
a072a13cb0
misc_time.c: make timediff always availabe when timeb.h is found
13 years ago
h_vogt
295c808b01
alloc.c sharedspice.c: improve thread safety
still much more to be done!
13 years ago
h_vogt
d7e291c53a
HAS_WINDOWS --> HAS_WINGUI
allow compilation on MS Windows without GUI
13 years ago
rlar
6c8f002eea
unify #ifndef include wrapper
13 years ago
h_vogt
8e5ad3d344
ivars.c: prevent crash in CYGWIN batch mode, if NGSPICE_INPUT_DIR given
remove unused Default_MFB_Cap
13 years ago
h_vogt
75447dc43c
implement spice_dstring_append_lower()
patch originally provided by Bill Swartz, 2010
13 years ago
Francesco Lannutti
08ec219417
remove all .cvsignore files
14 years ago
Francesco Lannutti
1dc70189a7
remove compilation warnings (type casts)
14 years ago
Francesco Lannutti
c23bd59c44
removed ancient PARALLEL_ARCH feature
removed variables
ARCHme
ARCHsize
removed functions
SMPcombine()
SMPcCombine()
CKTpartition()
removed files
spcombin.c
cktpartn.c
removed struct slots
STATcombineTime
STATtranCombTime
STATacCombTime
GENowner
<MODEL>owner
14 years ago
rlar
11579d9369
cleanup, ngspice/config.h is already in ngspice/ngspice.h, #1/2 (easy ones)
14 years ago