holger
|
569bc228fd
|
If code completetion is deselected, don't add keywords or key commands.
To prevent a crash in shared ngspice
|
2020-08-20 15:22:36 +02:00 |
Holger Vogt
|
8ff4c7cd3b
|
just another remains of quote
|
2020-03-15 08:51:12 +01:00 |
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.
|
2019-08-13 23:20:21 +02:00 |
rlar
|
4c1c95e20f
|
everywhere, use `TMALLOC()' instead of `alloc()'
|
2016-03-21 21:22:07 +01:00 |
rlar
|
7bc6374138
|
cleanup, use '\0' instead of 0 in char context
|
2015-05-02 10:24:54 +02: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 |
h_vogt
|
c0bc0de4b5
|
prototype for controlled_exit()
|
2012-10-01 23:02:26 +02:00 |
rlar
|
f52ae6eccd
|
bug fix, invalid read when the title line is the empty
|
2012-09-30 18:38:36 +02:00 |
rlar
|
fe1acd3757
|
src/frontend/** remove superfluous `return' invocations
|
2012-09-22 19:33:55 +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
|
3d7ab6a297
|
cleanup keyword databases on proram termination
|
2012-08-23 21:19:15 +02:00 |
rlar
|
64d00a6b43
|
lexical #3/3, collapse append(NULL) into cp_ccom()
the sequence
orig_wlist = wlist;
append(NULL);
cp_ccom(wlist, ...);
is transformed.
expressions to care about in cp_ccom()
C1 := (wlist->wl_next != NULL)
C2 := (wlist->wl_word != NULL)
C3 := wl_length(wlist)
D1 := (orig_wlist != NULL)
D2 := (orig_wlist->wl_word != NULL)
D3 := wl_length(orig_wlist);
cases and their significance in cp_ccom():
orig_wlist = NULL;
wlist = wl_cons(NULL, NULL);
C1 == false
D1 == false
C2,C3 dont care
orig_wlist = wl_cons(E1, wl_cons(E2, ... wl_cons(En, NULL)))
wlist = wl_cons(E1, wl_cons(E2, .... wl_cons(En, wl_cons(NULL, NULL))))
C1 == true
D1 == true
C2 === D2
C3 === D3 + 1
|
2012-08-02 18:55:54 +02:00 |
rlar
|
9655b9885a
|
cleanup, use wl_cons(), wl_append_word() and wl_chop_rest()
|
2012-07-14 10:23:51 +02:00 |
rlar
|
e1f8033f1c
|
bug fix, incorrect update of a wordlist's wl_prev pointer
|
2012-07-12 18:49:01 +02:00 |
rlar
|
e396b15104
|
use type `struct ccom'
|
2012-02-07 17:45:41 +00:00 |
rlar
|
cc7afb7abb
|
drop (char*) cast in the third argument of ioctl()
|
2012-02-06 20:13:35 +00:00 |
rlar
|
f285dd0aa8
|
use strchr() instead of index()
|
2012-02-06 17:46:33 +00:00 |
rlar
|
4ca58067a2
|
#2/6 config.h --> ngspice/config.h, #include's
|
2011-12-27 11:33:01 +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 |
h_vogt
|
e6c86b4d98
|
explicit casting double -> int etc.
|
2011-06-11 17:07:38 +00:00 |
rlar
|
66289067ba
|
rename variable class --> kw_class
|
2011-05-01 19:45:12 +00:00 |
rlar
|
e6c30efe46
|
Nr 4/5 (x = ...) != NULL , swallow warnings
|
2010-11-19 18:52:44 +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
|
b4ffca60c4
|
(int) casts for some `strlen()' expressions
|
2010-11-02 17:17:43 +00:00 |
rlar
|
7b3960506f
|
wrap tmalloc MALLOC etc, into two macros TMALLOC and TREALLOC
|
2010-10-28 19:32:34 +00:00 |
rlar
|
3369d860b4
|
cast the return values of malloc() function calls
|
2010-07-01 19:52:23 +00:00 |
dwarning
|
37fffd911f
|
functions used in this branch only
|
2007-11-14 20:23:15 +00:00 |
dwarning
|
41325622fd
|
some clean-up's to come through MSC
|
2007-10-18 19:34:30 +00:00 |
pnenzi
|
8362dec274
|
Integrated code from tclspice, brorson xspice and Vera memleak.
|
2003-07-23 19:36:39 +00:00 |
pnenzi
|
937e3db647
|
Holger Vogt Windows port for Ngspice.
|
2002-01-03 22:44:21 +00:00 |
pnenzi
|
7583d1849e
|
Applied another bunch of patches sent by CDHW (Charles D.H. Williams). The patches
are aimed to close some leaks in the parser.
|
2001-12-14 18:29:08 +00:00 |
pnenzi
|
ccfdf80c2e
|
Applied patches for BSD OSes
|
2000-11-13 19:30:00 +00:00 |
arno
|
9dd92c7315
|
* com_history, com_alias, parser/cshpar.c, parser/complete.c:
Applied patch by Michael Widlok. It fixes command completion and
history list. In the process, Michael also fixed a memory leak.
|
2000-11-07 17:49:18 +00:00 |
pnenzi
|
19129762ad
|
Added Glao Dezai's patches (some memory leaks fixes)
|
2000-10-26 17:02:12 +00:00 |
arno
|
cc51f0e8db
|
* src/main.c, src/multidec.c, src/proc2mod.c,
src/frontend/display.c, src/frontend/outitf.c,
src/frontend/help/readhelp.c, src/frontend/help/x11disp.c,
src/frontend/parser/complete.c, src/frontend/parser/glob.c,
src/frontend/plotting/graf.c,
src/frontend/plotting/graphdb.c,
src/frontend/plotting/x11.c, src/include/graph.h,
src/include/iferrmsg.h, src/include/ifsim.h,
src/include/macros.h, src/maths/poly/polyfit.c,
src/maths/sparse/spalloc.c, src/maths/sparse/spconfig.h,
src/misc/alloc.c, src/misc/mktemp.c,
src/spicelib/analysis/cktpzstr.c,
src/spicelib/devices/bsim2/b2temp.c,
src/spicelib/devices/bsim3/b3temp.c,
src/spicelib/devices/bsim3v1/b3v1temp.c,
src/spicelib/devices/bsim3v2/b3v2temp.c,
src/spicelib/devices/bsim4/b4temp.c: replaced malloc
realloc and free calls to use tmalloc trealloc and txfree.
* tests/diffpair.out, tests/fourbitadder.out,
tests/resistance/res_partition.out: Updated.
|
2000-10-14 13:16:53 +00:00 |
arno
|
b04989d760
|
* src/hlp/*: moved these files into src/frontend/help. The files
in this directory implement the help system for the frontend.
* configure.in, src/Makefile.am, src/frontend/Makefile.am: Files
affected by the move.
|
2000-07-21 18:25:47 +00:00 |