Holger Vogt
ded0092ad6
If ngSpice_Command(NULL) is sent to shared ngspice,
the internal control structure memory is freed.
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
dwarning
4f75d56011
no wrapper cp_globmatch needed
6 years ago
Jim Monte
a53cd3a3e9
fixed path created by ngdirname in Windows. Also added const to parameters whose arguments do not change and fixed some potential buffer overruns.
6 years ago
Jim Monte
ad970ae4e7
Made cp_enqvar() mode modular by adding a separate function to handle the case of a vector. Lists are more efficiently handled by moving common comparisons out of the loop over elements. The first argument of cp_enqvar() is changed from char * to const char * since the name of the variable being found is not altered by the function.
6 years ago
Jim Monte
873e4a8db0
Added no_histsubst option and related fixes
6 years ago
Jim Monte
8ed7080227
[PATCH #70 ] Made parameter const and reduced excess allocation.
7 years ago
Jim Monte
b66412f517
[PATCH] Changed prototypes of some functions having parameters that
should not be changed to const and added assorted comments. Also two very
minor efficiency improvements.
7 years ago
Holger Vogt
d636f7899b
cp_enqvar() returns freshly malloced variables as well
as variables owned by somebody else, e.g. from ft_curckt->ci_vars.
The new function parameter tbfreed notifies the caller if the
variable is malloced here and may be freed safely.
8 years ago
Holger Vogt
09c876550f
prevent string overflow by adding the string length
to the cp_getvar parameters. Used only with CP_STRING
8 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
rlar
97cdaae19f
variables, cp_usrvars(), be more explicit
lift uv2 return value up to the invoker of cp_usrvars()
10 years ago
rlar
c4cd2270ed
com_history.c, static declaration for 'cp_hprint()'
10 years ago
dwarning
54529d0e42
allow cshell $variable substitution with and without $&var
13 years ago
rlar
6c8f002eea
unify #ifndef include wrapper
13 years ago
rlar
3d7ab6a297
cleanup keyword databases on proram termination
14 years ago
rlar
789edee376
rewrite inp_list() avoid duplicate code
14 years ago
rlar
67132108ad
out_printf() is not supposed to be a preprocessor macro
14 years ago
rlar
d4ced47e8e
drop out_pbuf, which was an ancient workaround
obviously an old implementation of out_printf()
has been unreliable.
14 years ago
rlar
e396b15104
use type `struct ccom'
14 years ago
rlar
10346e055c
#1/4 #include <ngspice/...> --> #include "ngspice/..."
15 years ago
rlar
738d3813b8
#2/7 use a subdirectory "ngspice" for includes to create a uniq namespace
15 years ago
rlar
d26015586c
#1/7 use a subdirectory "ngspice" for includes to create a uniq namespace
15 years ago
rlar
66289067ba
rename variable class --> kw_class
15 years ago
rlar
196262dd1b
move the com_*() prototypes around.
16 years ago
rlar
d7a9d71a1a
remove prototypes, avoid redeclarations
16 years ago
rlar
ed73405d0f
collect ft_nutmeg() in "fteext.h"
16 years ago
rlar
73cf2a8ea5
use a void * for the third argument (&value) of the cp_vset() function
16 years ago
rlar
61bba96f42
textual replacement vt_types to cp_types, to complete the last change
16 years ago
rlar
a76cd1e104
textual replacement VT_* to CP_*, to avoid conflict in the windows world
16 years ago
rlar
0aa1c09d73
consolidate enum cp_types and enum vt_types .
use this enum for some function arguments and struct members .
drop some include "variable.h" which are no longer needed ,
propably many more could be droped .
drop #define VT_* which have been used as workaround for the type mess .
16 years ago
rlar
a14e59866e
ansi function declarations (prototypes)
16 years ago
rlar
4420a3ecdd
add prototypes, remove some NULL casts
16 years ago
h_vogt
c6088c8db1
use format (__printf__, 1, 2)
16 years ago
h_vogt
d7d5a38583
patches by R. Larice
16 years ago
h_vogt
1dd7a2869f
comments added
17 years ago
pnenzi
6f3f195158
Additions from Phil Barker (subckt nodeset and ic, simvars, mosfet binning, various fixes)
19 years ago
sjborley
a1991eee19
Fixed issues with the alternate prompt
21 years ago
pnenzi
fd6d0b0723
Fixed stringutil missing bug.
25 years ago
pnenzi
6f55975cc0
Code clean up (removed some warning)
25 years ago
pnenzi
d735c9a871
Some code cleanup
25 years ago
pnenzi
0875108157
Added patches extracted from Alan Gillespie's code. Documentation and
26 years ago
arno
489fc66afd
src/Makefile.am src/help.c src/main.c
26 years ago
arno
be76b6dd44
* src/include/bool.h src/include/cpextern.h
26 years ago
arno
8696a52e89
* src/Makefile.am src/main.c src/sconvert.c
26 years ago
pnenzi
978f1c32a2
Initial revision
26 years ago