- Subject: Patches for Jed
- From: Jörg Sommer <joerg@xxxxxxxxxxxx>
- Date: Tue, 9 Sep 2008 14:58:03 +0000 (UTC)
Hi John,
do you have time? :) I want to ask you to apply these patches to jed.
http://git.debian.org/?p=pkg-jed/jed.git;a=commitdiff;h=1c239024364c27510136184239060404b4f400d3
Author: Jörg Sommer <joerg@xxxxxxxxxxxx>
Date: Sat May 24 15:25:03 2008 +0200
Use @infodir@ defined by the configure option --infodir
M src/Makefile.in
http://git.debian.org/?p=pkg-jed/jed.git;a=commitdiff;h=965520d16867516db1ca79e02ffce882b29d96f2
Author: Jörg Sommer <joerg@xxxxxxxxxxxx>
Date: Thu May 29 16:49:55 2008 +0200
Use memmove instead of for loop
memmove is a function from the standards C89 and C99. It might be faster
than the selfmade code, because it might be optimized for some
architectures.
M src/sysdep.c
http://git.debian.org/?p=pkg-jed/jed.git;a=commitdiff;h=e5c4aeb30891845456d4f3ef92b26e4162db1995
Author: Jörg Sommer <joerg@xxxxxxxxxxxx>
Date: Thu May 29 16:58:44 2008 +0200
Make goto_*_of_window() save for hidden lines
The old functions goto_top_of_window() and goto_bottom_of_window() didn't
care for the visibility of the lines. Therefore, they didn't reached the
top or the bottom of the window, if the passed hidden lines.
M lib/site.sl
http://git.debian.org/?p=pkg-jed/jed.git;a=commitdiff;h=d636fd4d61cef5b5bfaec1ffe90890085442d96d
Author: Jörg Sommer <joerg@xxxxxxxxxxxx>
Date: Thu May 29 17:00:14 2008 +0200
Small spelling correction
M src/keymap.c
http://git.debian.org/?p=pkg-jed/jed.git;a=commitdiff;h=8de0fc5403222f4281bf4076c5c843c5dfdf9c3c
Author: Jörg Sommer <joerg@xxxxxxxxxxxx>
Date: Thu May 29 18:13:19 2008 +0200
The begin of a HTML comment missed the second dash
M lib/html.sl
http://git.debian.org/?p=pkg-jed/jed.git;a=commitdiff;h=4e2ba8d21d7cbc14a3713636df0231909d02b8f8
Author: Jörg Sommer <joerg@xxxxxxxxxxxx>
Date: Thu May 29 18:23:27 2008 +0200
script_usage: Join three fprintf calls into one
This is more efficient.
M src/main.c
http://git.debian.org/?p=pkg-jed/jed.git;a=commitdiff;h=0d57a5e65be82589216922a2c413bd058e26470d
Author: Jörg Sommer <joerg@xxxxxxxxxxxx>
Date: Thu May 29 20:07:31 2008 +0200
Updated AC_INIT and AC_OUTPUT
The old usage of AC_INIT and AC_OUTPUT is obsolate; see section 15.4 in
the autoconf documentation. This update was generated by autoupdate.
The version field of AC_INIT is left unspecified, because the verion is
controlled via src/version.h, which doesn't require an update of
configure for each new version.
M autoconf/configure.ac
http://git.debian.org/?p=pkg-jed/jed.git;a=commitdiff;h=20b5f63e59f98f93f42c02af14f1c8d86fa784c5
Author: Jörg Sommer <joerg@xxxxxxxxxxxx>
Date: Thu May 29 20:32:25 2008 +0200
Replace AC_TRY_COMPILE by AC_COMPILE_IFELSE
The macro AC_TRY_COMPILE is obsolate.
M autoconf/aclocal.m4
http://git.debian.org/?p=pkg-jed/jed.git;a=commitdiff;h=fd4770286ca5d99a46fed019cd63e51cf2e4e383
Author: Jörg Sommer <joerg@xxxxxxxxxxxx>
Date: Thu May 29 21:42:51 2008 +0200
Insert DYNAMIC_LINK_FLAGS directly into LDFLAGS
There's no need to carry these flags in a separate variable.
M autoconf/aclocal.m4
M autoconf/configure.ac
M src/Makefile.in
http://git.debian.org/?p=pkg-jed/jed.git;a=commitdiff;h=09501e0068065f03837b5d936e1175cb7d0b8cf0
Author: Jörg Sommer <joerg@xxxxxxxxxxxx>
Date: Fri May 30 00:26:13 2008 +0200
Replace check for dlopen by check for SLang_init_import
The function dlopen is not used directly in Jed, but the function
SLang_init_import.
M autoconf/aclocal.m4
M autoconf/configure.ac
M src/Makefile.in
M src/config.hin
M src/jed-feat.h
M src/jedconf.h
http://git.debian.org/?p=pkg-jed/jed.git;a=commitdiff;h=883f3ac889295d24a81c9c1ac229dbaa738e0eaf
Author: Jörg Sommer <joerg@xxxxxxxxxxxx>
Date: Thu May 29 22:22:46 2008 +0200
Remove linker option -lm
The library math is not used by Jed. So we don't need to link with it.
M src/Makefile.in
http://git.debian.org/?p=pkg-jed/jed.git;a=commitdiff;h=b56d9776bfb00386291e340039270f57136265e7
Author: Jörg Sommer <joerg@xxxxxxxxxxxx>
Date: Fri May 30 00:24:17 2008 +0200
Xft support for configure
M autoconf/configure.ac
M src/Makefile.in
M src/config.hin
M src/jed-feat.h
http://git.debian.org/?p=pkg-jed/jed.git;a=commitdiff;h=41a39513fab2f5875543967adc9a2b326f080b0e
Author: Jörg Sommer <joerg@xxxxxxxxxxxx>
Date: Fri May 30 00:47:52 2008 +0200
Support for gpm in configure
M autoconf/configure.ac
M src/Makefile.in
M src/config.hin
http://git.debian.org/?p=pkg-jed/jed.git;a=commitdiff;h=7067e34ff233dc4deb3d352dc2c063c2504c7309
Author: Jörg Sommer <joerg@xxxxxxxxxxxx>
Date: Mon Jun 16 17:44:52 2008 +0200
Rebuild of info pages
The source of the old info pages is missing, which forces Debian to
remove these files from the package. But the same information is included
in the TeX file doc/manual/jed.tex. Therefore, rebuild the info pages
with hevea from this source and make Debian maintainers happy.
% hevea -fix -info -o jed.info ../doc/manual/jed
D info/jed.1in
D info/jed.2in
D info/jed.3in
M info/jed.info
A info/jed.info-1
A info/jed.info-2
http://git.debian.org/?p=pkg-jed/jed.git;a=commitdiff;h=ee19e705785bcea2fa07e09b029e797152ecdf20
Author: Jörg Sommer <joerg@xxxxxxxxxxxx>
Date: Sun Aug 24 11:48:33 2008 +0200
Remove duplicate brace
M doc/tm/rtl/keys.tm
http://git.debian.org/?p=pkg-jed/jed.git;a=commitdiff;h=8e7aaf0299e0d1a3063454b568b9c918548d6474
Author: Jörg Sommer <joerg@xxxxxxxxxxxx>
Date: Sun Aug 24 17:41:40 2008 +0200
Make return type of jed_malloc0() void*
The cast from char* to any other pointer type might increases required
alignment of target type. On some architectures (like alpha) this
triggers an error message at runtime, if the access of a pointer is
unaligned:
% cat cast-test.c
int main(void)
{
char buf[10] = { 0 };
int *a = (int*)&buf[1];
*a = 0x7a7a7a;
return 0;
}
% gcc -Wall -Wcast-align cast-test.c -o cast-test
cast-test.c: In function `main':
cast-test.c:4: warning: cast increases required alignment of target type
% ./cast-test
Unaligned access pid=398552 <cast-test> va=0x11fffbfe1 pc=0x12000112c ra=0x1200010ac inst=0xb0220000
M src/abbrev.c
M src/blocal.c
M src/buffer.c
M src/hooks.c
M src/indent.c
M src/menu.c
M src/misc.c
M src/misc.h
M src/paste.c
M src/screen.c
M src/vterm.c
M src/window.c
http://git.debian.org/?p=pkg-jed/jed.git;a=commitdiff;h=222c5d0c856c5cf1eb218493eddbf33d6e43fd5c
Author: Jörg Sommer <joerg@xxxxxxxxxxxx>
Date: Sun Aug 24 18:34:57 2008 +0200
Use intermediate void* pointer for SLmalloc() return values
The cast from char* to any other pointer type might increases required
alignment of target type. This causes problems on some architectures
(like alpha).
Fix it by saving the result of SLmalloc() and SLrealloc() to a void*
pointer and then copy it to the target variable.
M src/abbrev.c
M src/buffer.c
M src/dfasyntx.c
M src/hooks.c
M src/ledit.c
M src/menu.c
M src/undo.c
M src/vfile.c
M src/vterm.c
M src/xterm.c
Thanks, Jörg.
--
Nichts ist so langweilig, wie die Wiederholung seinerselbst.
(Marcel Reich‐Ranicki)
--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.
[2008 date index]
[2008 thread index]
[Thread Prev] [Thread Next]
[Date Prev] [Date Next]