qemacs-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemacs-commit] qemacs Makefile TODO VERSION dired.c qe.c util....


From: Charlie Gordon
Subject: [Qemacs-commit] qemacs Makefile TODO VERSION dired.c qe.c util....
Date: Tue, 06 Feb 2007 17:41:17 +0000

CVSROOT:        /cvsroot/qemacs
Module name:    qemacs
Changes by:     Charlie Gordon <chqrlie>        07/02/06 17:41:17

Modified files:
        .              : Makefile TODO VERSION dired.c qe.c util.c 
        libqhtml       : xmlparse.c 

Log message:
        fixed unsigned char issues
        added TODOs
        bumped version to 0.4.0dev
        mention chqrlie in --version
        cosmetics: reindented Makefile

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemacs/Makefile?cvsroot=qemacs&r1=1.8&r2=1.9
http://cvs.savannah.gnu.org/viewcvs/qemacs/TODO?cvsroot=qemacs&r1=1.9&r2=1.10
http://cvs.savannah.gnu.org/viewcvs/qemacs/VERSION?cvsroot=qemacs&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/qemacs/dired.c?cvsroot=qemacs&r1=1.7&r2=1.8
http://cvs.savannah.gnu.org/viewcvs/qemacs/qe.c?cvsroot=qemacs&r1=1.31&r2=1.32
http://cvs.savannah.gnu.org/viewcvs/qemacs/util.c?cvsroot=qemacs&r1=1.16&r2=1.17
http://cvs.savannah.gnu.org/viewcvs/qemacs/libqhtml/xmlparse.c?cvsroot=qemacs&r1=1.7&r2=1.8

Patches:
Index: Makefile
===================================================================
RCS file: /cvsroot/qemacs/qemacs/Makefile,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- Makefile    31 Dec 2006 19:34:00 -0000      1.8
+++ Makefile    6 Feb 2007 17:41:16 -0000       1.9
@@ -233,36 +233,36 @@
 #
 
 FILES=Changelog COPYING README TODO qe.1 config.eg \
-Makefile qe.tcc qemacs.spec \
-hex.c charset.c qe.c qe.h tty.c \
-html.c indic.c unicode_join.c input.c qeconfig.h \
-qeend.c unihex.c arabic.c kmaptoqe.c util.c \
-bufed.c qestyles.h x11.c buffer.c ligtoqe.c \
-qfribidi.c clang.c latex-mode.c xml.c dired.c list.c qfribidi.h html2png.c \
-charsetmore.c charset_table.c cptoqe.c \
-libfbf.c fbfrender.c cfb.c fbftoqe.c libfbf.h fbfrender.h cfb.h \
-display.c display.h mpeg.c shell.c \
-docbook.c unifont.lig kmaps xterm-146-dw-patch \
-ligatures qe-doc.texi qe-doc.html \
-tests/HELLO.txt tests/TestPage.txt tests/test-hebrew \
-tests/test-capital-rtl tests/test-capital-rtl.ref \
-tests/testbidi.html \
-plugin-example/Makefile  plugin-example/my_plugin.c \
-image.c video.c win32.c configure VERSION \
-cutils.c cutils.h unix.c
+      Makefile qe.tcc qemacs.spec \
+      hex.c charset.c qe.c qe.h tty.c \
+      html.c indic.c unicode_join.c input.c qeconfig.h \
+      qeend.c unihex.c arabic.c kmaptoqe.c util.c \
+      bufed.c qestyles.h x11.c buffer.c ligtoqe.c \
+      qfribidi.c clang.c latex-mode.c xml.c dired.c list.c qfribidi.h 
html2png.c \
+      charsetmore.c charset_table.c cptoqe.c \
+      libfbf.c fbfrender.c cfb.c fbftoqe.c libfbf.h fbfrender.h cfb.h \
+      display.c display.h mpeg.c shell.c \
+      docbook.c unifont.lig kmaps xterm-146-dw-patch \
+      ligatures qe-doc.texi qe-doc.html \
+      tests/HELLO.txt tests/TestPage.txt tests/test-hebrew \
+      tests/test-capital-rtl tests/test-capital-rtl.ref \
+      tests/testbidi.html \
+      plugin-example/Makefile  plugin-example/my_plugin.c \
+      image.c video.c win32.c configure VERSION \
+      cutils.c cutils.h unix.c
 
 # qhtml library
 FILES+=libqhtml/Makefile libqhtml/css.c libqhtml/cssid.h \
-libqhtml/cssparse.c libqhtml/xmlparse.c libqhtml/htmlent.h \
-libqhtml/css.h libqhtml/csstoqe.c \
-libqhtml/docbook.css libqhtml/html.css 
+       libqhtml/cssparse.c libqhtml/xmlparse.c libqhtml/htmlent.h \
+       libqhtml/css.h libqhtml/csstoqe.c \
+       libqhtml/docbook.css libqhtml/html.css 
 
 # fonts
 FILES+=fonts/fixed10.fbf  fonts/fixed12.fbf  fonts/fixed13.fbf  
fonts/fixed14.fbf \
-fonts/helv10.fbf   fonts/helv12.fbf   fonts/helv14.fbf   fonts/helv18.fbf \
-fonts/helv24.fbf   fonts/helv8.fbf    fonts/times10.fbf  fonts/times12.fbf \
-fonts/times14.fbf  fonts/times18.fbf  fonts/times24.fbf  fonts/times8.fbf \
-fonts/unifont.fbf
+       fonts/helv10.fbf   fonts/helv12.fbf   fonts/helv14.fbf   
fonts/helv18.fbf \
+       fonts/helv24.fbf   fonts/helv8.fbf    fonts/times10.fbf  
fonts/times12.fbf \
+       fonts/times14.fbf  fonts/times18.fbf  fonts/times24.fbf  
fonts/times8.fbf \
+       fonts/unifont.fbf
 
 FILE=qemacs-$(VERSION)
 
@@ -336,9 +336,9 @@
 # fonts (only needed for html2png)
 #
 FONTS=fixed10.fbf fixed12.fbf fixed13.fbf fixed14.fbf\
-helv8.fbf helv10.fbf helv12.fbf helv14.fbf helv18.fbf helv24.fbf\
-times8.fbf times10.fbf times12.fbf times14.fbf times18.fbf times24.fbf\
-unifont.fbf
+      helv8.fbf helv10.fbf helv12.fbf helv14.fbf helv18.fbf helv24.fbf\
+      times8.fbf times10.fbf times12.fbf times14.fbf times18.fbf times24.fbf\
+      unifont.fbf
 FONTS:=$(addprefix fonts/,$(FONTS))
 
 fbftoqe$(EXE): fbftoqe.o cutils.o
@@ -366,4 +366,3 @@
 # documentation
 qe-doc.html: qe-doc.texi
        texi2html -monolithic -number $<
-

Index: TODO
===================================================================
RCS file: /cvsroot/qemacs/qemacs/TODO,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -b -r1.9 -r1.10
--- TODO        11 Dec 2006 23:05:01 -0000      1.9
+++ TODO        6 Feb 2007 17:41:16 -0000       1.10
@@ -137,3 +137,5 @@
 make shell buffer a colorized UCS2 buffer
 use colorized buffer for *trace* buffer to flag tty input, shell output,
   supported and unsupported escapes.
+
+.mailfilter should be in maildrop mode (a direct descendent of C mode)

Index: VERSION
===================================================================
RCS file: /cvsroot/qemacs/qemacs/VERSION,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- VERSION     30 Nov 2004 10:22:14 -0000      1.2
+++ VERSION     6 Feb 2007 17:41:16 -0000       1.3
@@ -1 +1 @@
-0.3.2dev
+0.4.0dev

Index: dired.c
===================================================================
RCS file: /cvsroot/qemacs/qemacs/dired.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- dired.c     31 Dec 2006 19:34:01 -0000      1.7
+++ dired.c     6 Feb 2007 17:41:16 -0000       1.8
@@ -175,7 +175,7 @@
     const char *p;
     
     for (p = sort_order; *p; p++) {
-        switch (tolower(*p)) {
+        switch (tolower(*(const unsigned char *)p)) {
         case 'n':       /* name */
             hs->sort_mode &= ~DIRED_SORT_MASK;
             hs->sort_mode |= DIRED_SORT_NAME;

Index: qe.c
===================================================================
RCS file: /cvsroot/qemacs/qemacs/qe.c,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -b -r1.31 -r1.32
--- qe.c        12 Jan 2007 15:06:16 -0000      1.31
+++ qe.c        6 Feb 2007 17:41:16 -0000       1.32
@@ -6809,6 +6809,7 @@
 {
     printf("QEmacs version " QE_VERSION "\n"
            "Copyright (c) 2000-2003 Fabrice Bellard\n"
+           "Copyright (c) 2000-2007 Charlie Gordon\n"
            "QEmacs comes with ABSOLUTELY NO WARRANTY.\n"
            "You may redistribute copies of QEmacs\n"
            "under the terms of the GNU Lesser General Public License.\n");

Index: util.c
===================================================================
RCS file: /cvsroot/qemacs/qemacs/util.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -b -r1.16 -r1.17
--- util.c      31 Dec 2006 19:34:01 -0000      1.16
+++ util.c      6 Feb 2007 17:41:16 -0000       1.17
@@ -826,9 +826,10 @@
 void css_strtolower(char *buf, __unused__ int buf_size)
 {
     int c;
+
     /* XXX: handle unicode */
     while (*buf) {
-        c = tolower(*buf);
+        c = tolower(*(const unsigned char *)buf);
         *buf++ = c;
     }
 }

Index: libqhtml/xmlparse.c
===================================================================
RCS file: /cvsroot/qemacs/qemacs/libqhtml/xmlparse.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- libqhtml/xmlparse.c 28 Dec 2006 11:27:30 -0000      1.7
+++ libqhtml/xmlparse.c 6 Feb 2007 17:41:16 -0000       1.8
@@ -73,6 +73,7 @@
 const char *find_entity_str(int code)
 {
     const XMLEntity *e;
+
     e = html_entities;
     for (;;) {
         if (!e->name)
@@ -299,6 +300,7 @@
 static CSSAttribute *box_new_attr(CSSIdent attr_id, const char *value)
 {
     CSSAttribute *attr;
+
     attr = malloc(sizeof(CSSAttribute) + strlen(value));
     if (!attr)
         return NULL;
@@ -325,6 +327,7 @@
 {
     static char buf[200];
     const char *value;
+
     value = css_attr_str(box, attr_id);
     if (!value)
         return NULL;
@@ -338,6 +341,7 @@
 {
     const char *str, *p;
     int val;
+
     str = css_attr_str(box, attr_id);
     if (!str)
         return def_val;
@@ -412,6 +416,7 @@
 
     first_prop = NULL;
     last_prop = &first_prop;
+
     switch (box->tag) {
     case CSS_ID_img:
     parse_img:
@@ -760,6 +765,7 @@
     value = css_attr_str(box, CSS_ID_style);
     if (value) {
         CSSParseState b1, *b = &b1;
+
         b->ptr = NULL;
         b->line_num = s->line_num; /* XXX: slightly incorrect */
         b->filename = s->filename;
@@ -776,6 +782,7 @@
 {
     char buf[1024];
     va_list ap;
+
     va_start(ap, fmt);
     vsnprintf(buf, sizeof(buf), fmt, ap);
     css_error(s->filename, s->line_num, buf);
@@ -1038,8 +1045,9 @@
 static int xml_tagcmp(const char *s1, const char *s2)
 {
     int d;
+
     while (*s2) {
-        d = *s2 - tolower(*s1);
+        d = *(const unsigned char *)s2 - tolower(*(const unsigned char *)s1);
         if (d)
             return d;
         s2++;
@@ -1297,4 +1305,3 @@
     }
     return box;
 }
-




reply via email to

[Prev in Thread] Current Thread [Next in Thread]