[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemacs-commit] qemacs buffer.c config.eg cutils.c display.c he...
From: |
Charlie Gordon |
Subject: |
[Qemacs-commit] qemacs buffer.c config.eg cutils.c display.c he... |
Date: |
Sat, 09 Dec 2006 19:02:07 +0000 |
CVSROOT: /cvsroot/qemacs
Module name: qemacs
Changes by: Charlie Gordon <chqrlie> 06/12/09 19:02:07
Modified files:
. : buffer.c config.eg cutils.c display.c hex.c
image.c libfbf.h qemacs.spec video.c
Log message:
fixed typos, comments
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemacs/buffer.c?cvsroot=qemacs&r1=1.9&r2=1.10
http://cvs.savannah.gnu.org/viewcvs/qemacs/config.eg?cvsroot=qemacs&r1=1.1.1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/qemacs/cutils.c?cvsroot=qemacs&r1=1.4&r2=1.5
http://cvs.savannah.gnu.org/viewcvs/qemacs/display.c?cvsroot=qemacs&r1=1.4&r2=1.5
http://cvs.savannah.gnu.org/viewcvs/qemacs/hex.c?cvsroot=qemacs&r1=1.6&r2=1.7
http://cvs.savannah.gnu.org/viewcvs/qemacs/image.c?cvsroot=qemacs&r1=1.6&r2=1.7
http://cvs.savannah.gnu.org/viewcvs/qemacs/libfbf.h?cvsroot=qemacs&r1=1.1.1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/qemacs/qemacs.spec?cvsroot=qemacs&r1=1.1.1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/qemacs/video.c?cvsroot=qemacs&r1=1.4&r2=1.5
Patches:
Index: buffer.c
===================================================================
RCS file: /cvsroot/qemacs/qemacs/buffer.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -b -r1.9 -r1.10
--- buffer.c 8 Jul 2005 09:30:44 -0000 1.9
+++ buffer.c 9 Dec 2006 19:02:07 -0000 1.10
@@ -680,7 +680,7 @@
log_index = b->log_current - 1;
}
if (log_index == 0) {
- put_status(s, "No futher undo information");
+ put_status(s, "No further undo information");
return;
} else {
put_status(s, "Undo!");
@@ -1462,6 +1462,7 @@
chmod(filename, mode);
#endif
/* reset log */
+ /* CG: should not do this! */
log_reset(b);
b->modified = 0;
return 0;
Index: config.eg
===================================================================
RCS file: /cvsroot/qemacs/qemacs/config.eg,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -b -r1.1.1.1 -r1.2
--- config.eg 29 May 2004 10:17:45 -0000 1.1.1.1
+++ config.eg 9 Dec 2006 19:02:07 -0000 1.2
@@ -11,6 +11,7 @@
// C-key : Control + key
// M-key : Meta + key
// Read util.c to get all the key names
+// CG: should be save-all-buffers?
global_set_key("C-x s", "set-style");
// set X11 display size
Index: cutils.c
===================================================================
RCS file: /cvsroot/qemacs/qemacs/cutils.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- cutils.c 13 May 2005 09:56:44 -0000 1.4
+++ cutils.c 9 Dec 2006 19:02:07 -0000 1.5
@@ -56,6 +56,16 @@
return 1;
}
+#if 0
+/* need this for >= 256 */
+static inline int utoupper(int c)
+{
+ if (c >= 'a' && c <= 'z')
+ c += 'A' - 'a';
+ return c;
+}
+#endif
+
/**
* Return TRUE if val is a prefix of str (case independent). If it
* returns TRUE, ptr is set to the next character in 'str' after the
Index: display.c
===================================================================
RCS file: /cvsroot/qemacs/qemacs/display.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- display.c 13 May 2005 10:05:24 -0000 1.4
+++ display.c 9 Dec 2006 19:02:07 -0000 1.5
@@ -129,6 +129,7 @@
dpy = NULL;
probe_max = 0;
while (p != NULL) {
+ // CG: probe = p->dpy_probe ? p->dpy_probe() : 0;
probe = p->dpy_probe();
if (probe >= probe_max) {
probe_max = probe;
Index: hex.c
===================================================================
RCS file: /cvsroot/qemacs/qemacs/hex.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- hex.c 24 Apr 2006 11:32:29 -0000 1.6
+++ hex.c 9 Dec 2006 19:02:07 -0000 1.7
@@ -342,7 +342,7 @@
qe_register_cmd_table(hex_commands, "hex");
qe_register_cmd_table(hex_commands, "ascii");
- /* additionnal mode specific keys */
+ /* additional mode specific keys */
qe_register_binding(KEY_CTRL_LEFT, "decrease-width", "ascii|hex");
qe_register_binding(KEY_CTRL_RIGHT, "increase-width", "ascii|hex");
qe_register_binding(KEY_TAB, "toggle-hex", "hex");
Index: image.c
===================================================================
RCS file: /cvsroot/qemacs/qemacs/image.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- image.c 8 Jul 2005 09:30:44 -0000 1.6
+++ image.c 9 Dec 2006 19:02:07 -0000 1.7
@@ -850,7 +850,7 @@
qe_register_mode(&image_mode);
qe_register_cmd_table(image_commands, "image");
register_completion("pixel_format", pixel_format_completion);
- /* additionnal mode specific keys */
+ /* additional mode specific keys */
qe_register_binding('f', "toggle-full-screen", "image");
return 0;
}
Index: libfbf.h
===================================================================
RCS file: /cvsroot/qemacs/qemacs/libfbf.h,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -b -r1.1.1.1 -r1.2
--- libfbf.h 29 May 2004 10:18:54 -0000 1.1.1.1
+++ libfbf.h 9 Dec 2006 19:02:07 -0000 1.2
@@ -1,5 +1,5 @@
#ifndef LIBFBF_H
-#define LIBFBF_Hx
+#define LIBFBF_H
typedef struct {
unsigned int magic;
Index: qemacs.spec
===================================================================
RCS file: /cvsroot/qemacs/qemacs/qemacs.spec,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -b -r1.1.1.1 -r1.2
--- qemacs.spec 29 May 2004 10:17:45 -0000 1.1.1.1
+++ qemacs.spec 9 Dec 2006 19:02:07 -0000 1.2
@@ -28,9 +28,9 @@
optimized internal representation and by mmaping the file.
* Full UTF8 support, including double width chars such as ideograms, provided
you have an UTF8 VT100 emulator such as a recent xterm.
-* Bidirectional editing respecting the Unicode Bidir algorithm (for Hebrew or
+* Bidirectional editing conforming to the Unicode Bidir algorithm (for Hebrew
or
Arabic).
-* Can optionnaly contain input methods from the Yudit editor for most
+* Can optionally contain input methods from the Yudit editor for most
languages, including Chinese CJ, Hebrew and Arabic.
* Hexadecimal editing mode with insertion and block commands. Can edit binary
files as well as text files.
Index: video.c
===================================================================
RCS file: /cvsroot/qemacs/qemacs/video.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- video.c 8 Jul 2005 09:30:44 -0000 1.4
+++ video.c 9 Dec 2006 19:02:07 -0000 1.5
@@ -972,7 +972,7 @@
eb_register_data_type(&video_data_type);
qe_register_mode(&video_mode);
qe_register_cmd_table(video_commands, "av");
- /* additionnal mode specific keys */
+ /* additional mode specific keys */
qe_register_binding('f', "toggle-full-screen", "av");
return 0;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemacs-commit] qemacs buffer.c config.eg cutils.c display.c he...,
Charlie Gordon <=