Holger Vogt
3e98cecd56
enable paths with spaces for finding 'spinit'
6 years ago
Holger Vogt
7f085144a9
remove all the remains of quote() and strip() that had been
used to modify the eigths bit of a character or string.
The functions had been switched off some time ago.
We now need all bits of a char for extended ascii or utf8
6 years ago
Holger Vogt
712014b6db
Does crash with recent Linux openSUSE Tumbleweed
Not required by shared ngspice
7 years ago
Jim Monte
c71d66a3bb
[PATCH #49 ] Ensured no buffer overrun for long script strings and
improved efficiency of building string
7 years ago
Jim Monte
0183964d6f
[PATCH #41 ] Made constants agree across ngspice simulator. File const.h
is the source of the values with all other files referencing it.
7 years ago
Holger Vogt
7598bbe83b
[PATCH 35] Fixed values of physical constants such as the speed of light
7 years ago
rlar
b803b294b4
frontend/parser/lexical.c, cp_lexer(), allow # and * comment
Both, whether interactive or not.
Especially for command scripts.
9 years ago
h_vogt
0bf381e01d
cpitf.c, for Windows, introduce csh variable "win_console"
to reflect whether this .exe is a "console" build
9 years ago
h_vogt
670880086f
cpitf.c, MS Visual Studio, introduce csh variable "pg_config"
reflecting .exe compilation for
32/64 bit
with/without NGDEBUG
10 years ago
h_vogt
e60f2f63e1
frontend/cpitf.c, cp_istrue(), cleanup comments
10 years ago
h_vogt
8b709a394f
cpitf.c, cp_istrue(), avoid surplus Warning Message when an `if' condition expands to nothing
When in expression
if $var ...
the variable `var' was undefined, then
ngspice printed a surplus warning message
> Warning: NULL arithmetic expression
in addition to the error message
> Error: var: no such variable.
ngspice continues to process the conditional construct
and evaluates the condition as "FALSE"
10 years ago
rlar
059f2b6c0d
fix garbage collection of vectors returned by ft_evaluate()
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
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
71a7c3459b
use char variants of the <ctype.h> isxxxx() family
10 years ago
rlar
6ff1560487
frontend/cpitf.c, free a temporary vector which was left in `cp_istrue()'
reported by Marcel Hendrix.
Using conditional expressions within a .control sequence
left some garbage vectors in the current plot.
For example
> let ix = 0
>
> while ix < 2
> let ix = ix + 1
> end
>
> display
"display" reported a variable named "ix < 2"
which was an internal temporary value in said function `cp_istrue()'
11 years ago
rlar
e609c7411d
src/frontend/vectors.c, abstraction, introduce `vec_iszero()'
11 years ago
dwarning
db52073f5d
cpitf.c: bugfix #304 reported by Dave Clarc, correct base of natural logarithm
11 years ago
h_vogt
d7e291c53a
HAS_WINDOWS --> HAS_WINGUI
allow compilation on MS Windows without GUI
13 years ago
h_vogt
1e88db6f7d
add command 'circbyline' to allow entering circuit line by line
13 years ago
rlar
35c0e9eca3
variable rename, unify the source
checked for object file invariance
14 years ago
rlar
7454a6d486
src/frontend/**, whitespace, indentation, ...
untabify
delete-trailing-whitespace
braces
...
checked for object file invariance on linux
14 years ago
rlar
51271d2a0b
cp_oddcomm(), plug a memory leak
14 years ago
rlar
64b8dfc570
use wl_delete_slice()
14 years ago
rlar
fee664bc19
untabify
14 years ago
rlar
8d0306c27a
cpif.c, whitespace, indentation, cleanups
14 years ago
rlar
75d6f6da5e
cpitf.c, cleanup using wl_ functions
14 years ago
rlar
37940c9133
search for tclspinit in `cwd' as well
14 years ago
rlar
a056ea3065
#3/4 switch realpart() and imagpart() args from ngcomplex* to ngcomplex
14 years ago
rlar
3e98e15a20
cleanup
14 years ago
rlar
0b5042e7da
remove CVS `Id',`log' etc. keyword incantations
15 years ago
rlar
10346e055c
#1/4 #include <ngspice/...> --> #include "ngspice/..."
15 years ago
rlar
d26015586c
#1/7 use a subdirectory "ngspice" for includes to create a uniq namespace
15 years ago
h_vogt
661d287029
env. var NGSPICE_INPUT to hold additional path for input files
15 years ago
rlar
05441d5823
Nr 5/5 (x = ...) == NULL , swallow warnings
16 years ago
rlar
e6c30efe46
Nr 4/5 (x = ...) != NULL , swallow warnings
16 years ago
rlar
6b5debfc1e
use `NUMELEMS' and add some `(int)' casts
16 years ago
rlar
196262dd1b
move the com_*() prototypes around.
16 years ago
rlar
2010672489
rename configure.in -> configure.ac
16 years ago
rlar
73cf2a8ea5
use a void * for the third argument (&value) of the cp_vset() function
16 years ago
rlar
a76cd1e104
textual replacement VT_* to CP_*, to avoid conflict in the windows world
16 years ago
rlar
4420a3ecdd
add prototypes, remove some NULL casts
16 years ago
h_vogt
06dd0263c0
VC console app
17 years ago
h_vogt
9eb855b802
command completion, more comments
17 years ago
h_vogt
ae4db4fe25
comments added
17 years ago
h_vogt
878e471232
local directory in search path for spinit
17 years ago
h_vogt
88804b2732
improved indentation
17 years ago
h_vogt
9aad956864
convergence (output.net), add some comments
17 years ago