CVSROOT: /home/x-cvs
Module name: xc
Changes by: [EMAIL PROTECTED] 03/01/12 19:57:59
Log message:
o Minor change in how objects are gc protected while being read, this
was done as an experiment to avoid "fragmentation" and a pseudo
copying-gc, since the gains where smaller than 10% I kept the old
"simpler" gc for now, but having more long lived objets stored
sequentially isn't a bad idea.
o Added a call to XFlush before entering the lisp interpreter from the
C code, this is an attempt to fix a problem that may happen when the
computer is heavily loaded, and Xlib routines are called from the
timeout signal handler to check for user requested interrupts.
o Some fixes for the automatic indentation for the C language.
Now it will ignore spaces followed by a collon, since it joins
everything in a single :expression token, it was treating ternary
expressions and bitfield declarations as labels (and dedenting when
the collon was typed). Fixed also the code for "fastly" finding a safe
point from where to start calculating the indentation; could become
confused with code like:
for (exp1,
exp2;
test;
inc)
Also added handling for code like:
if (t1)
if (t2)
do
exp;
while (test);
Now it should correctly align the "while" with the "do". This isn't a
very important feature, as writting code without braces may become
confusing.
Modified files:
xc/programs/xedit/lisp/:
read.c xedit.c
xc/programs/xedit/lisp/modules/progmodes/:
c.lsp
Revision Changes Path
1.34 +10 -11 xc/programs/xedit/lisp/read.c
1.24 +2 -1 xc/programs/xedit/lisp/xedit.c
1.24 +23 -2 xc/programs/xedit/lisp/modules/progmodes/c.lsp
_______________________________________________
Cvs-commit mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/cvs-commit