@@ -5,3 +5,9 @@ funcname.c
|
||||
funcname1.h
|
||||
funcname2.h
|
||||
tagtable.c
|
||||
inflate
|
||||
mktable
|
||||
w3m
|
||||
w3mbookmark
|
||||
w3mhelperpanel
|
||||
_zdmachdep.c
|
||||
|
||||
@@ -1,3 +1,24 @@
|
||||
2001-11-24 Fumitoshi UKAI <ukai@debian.or.jp>
|
||||
|
||||
* [w3m-dev 02526]
|
||||
* .cvsignore: add inflate mktable w3m w3mbookmark w3mhelperpanel
|
||||
_zdmachdep.c
|
||||
* configure:
|
||||
pref_lang -> lang={JA|EN}
|
||||
dcode -> display_code
|
||||
scode -> system_code
|
||||
remove save_params()
|
||||
add def_param(), ask_choice() ask_param()
|
||||
all confiration parameters can be read from config.param
|
||||
s/DICT/USE_DICT/
|
||||
s/BUFINFO/USE_BUFINFO/
|
||||
* fm.h: s/DICT/USE_DICT/
|
||||
* proto.h: ditto
|
||||
* doc/README.dict: ditto
|
||||
* doc-jp/README.dict: ditto
|
||||
* display.c: s/BUFINFO/USE_BUFINFO/
|
||||
* main.c: s/DICT/USE_DICT/ s/BUFINFO/USE_BUFINFO/
|
||||
|
||||
2001-11-24 Kiyokazu SUTO <suto@ks-and-ks.ne.jp>
|
||||
|
||||
* [w3m-dev 02523]
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* $Id: display.c,v 1.6 2001/11/21 19:24:35 ukai Exp $ */
|
||||
/* $Id: display.c,v 1.7 2001/11/23 19:00:47 ukai Exp $ */
|
||||
#include <signal.h>
|
||||
#include "fm.h"
|
||||
|
||||
@@ -182,7 +182,7 @@ static int graph_mode = 0;
|
||||
static Linecolor color_mode = 0;
|
||||
#endif
|
||||
|
||||
#ifdef BUFINFO
|
||||
#ifdef USE_BUFINFO
|
||||
static Buffer *save_current_buf = NULL;
|
||||
#endif
|
||||
|
||||
@@ -313,7 +313,7 @@ displayBuffer(Buffer * buf, int mode)
|
||||
message(msg->ptr, buf->cursorX + buf->rootX, buf->cursorY);
|
||||
standend();
|
||||
refresh();
|
||||
#ifdef BUFINFO
|
||||
#ifdef USE_BUFINFO
|
||||
if (Currentbuf != save_current_buf) {
|
||||
saveBufferInfo();
|
||||
save_current_buf = Currentbuf;
|
||||
|
||||
+2
-2
@@ -12,11 +12,11 @@ w3m
|
||||
コンパイルしなおす必要があります.configure を実行して config.h
|
||||
が生成された後,config.h を編集して
|
||||
|
||||
#undef DICT
|
||||
#undef USE_DICT
|
||||
|
||||
を
|
||||
|
||||
#define DICT
|
||||
#define USE_DICT
|
||||
|
||||
に変更し,w3m をコンパイルしなおしてください.
|
||||
(dict.c と keybind.c をコンパイルしなおせば良いはずです)
|
||||
|
||||
+2
-2
@@ -12,11 +12,11 @@ To make use of dictionary look-up, you have to change compile
|
||||
option by hand. After running configure, edit config.h and
|
||||
change
|
||||
|
||||
#undef DICT
|
||||
#undef USE_DICT
|
||||
|
||||
into
|
||||
|
||||
#define DICT
|
||||
#define USE_DICT
|
||||
|
||||
and recompile w3m. (You have to recompile dict.c and keybind.c.)
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* $Id: fm.h,v 1.11 2001/11/22 15:02:17 ukai Exp $ */
|
||||
/* $Id: fm.h,v 1.12 2001/11/23 19:00:47 ukai Exp $ */
|
||||
/*
|
||||
* w3m: WWW wo Miru utility
|
||||
*
|
||||
@@ -90,10 +90,10 @@ void bzero(void *, int);
|
||||
#define SHELLBUFFERNAME "*Shellout*"
|
||||
#define PIPEBUFFERNAME "*stream*"
|
||||
#define CPIPEBUFFERNAME "*stream(closed)*"
|
||||
#ifdef DICT
|
||||
#ifdef USE_DICT
|
||||
#define DICTCMD "w3mdict"
|
||||
#define DICTBUFFERNAME "*dictionary*"
|
||||
#endif /* DICT */
|
||||
#endif /* USE_DICT */
|
||||
|
||||
/*
|
||||
* Line Property
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* $Id: main.c,v 1.16 2001/11/22 15:02:17 ukai Exp $ */
|
||||
/* $Id: main.c,v 1.17 2001/11/23 19:00:47 ukai Exp $ */
|
||||
#define MAINPROGRAM
|
||||
#include "fm.h"
|
||||
#include <signal.h>
|
||||
@@ -759,7 +759,7 @@ MAIN(int argc, char **argv, char **envp)
|
||||
if (Currentbuf->frameset != NULL && RenderFrame)
|
||||
rFrame();
|
||||
Currentbuf = newbuf;
|
||||
#ifdef BUFINFO
|
||||
#ifdef USE_BUFINFO
|
||||
saveBufferInfo();
|
||||
#endif
|
||||
}
|
||||
@@ -1037,7 +1037,7 @@ pushBuffer(Buffer * buf)
|
||||
buf->nextBuffer = Currentbuf;
|
||||
Currentbuf = buf;
|
||||
}
|
||||
#ifdef BUFINFO
|
||||
#ifdef USE_BUFINFO
|
||||
saveBufferInfo();
|
||||
#endif
|
||||
|
||||
@@ -4419,7 +4419,7 @@ GetWord(Buffer * buf)
|
||||
return Strnew_charp_n(&lb[b], e - b)->ptr;
|
||||
}
|
||||
|
||||
#ifdef DICT
|
||||
#ifdef USE_DICT
|
||||
static void
|
||||
execdict(char *word)
|
||||
{
|
||||
@@ -4473,7 +4473,7 @@ dictwordat(void)
|
||||
{
|
||||
execdict(GetWord(Currentbuf));
|
||||
}
|
||||
#endif /* DICT */
|
||||
#endif /* USE_DICT */
|
||||
|
||||
void
|
||||
set_buffer_environ(Buffer *buf)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* $Id: proto.h,v 1.6 2001/11/21 19:24:35 ukai Exp $ */
|
||||
/* $Id: proto.h,v 1.7 2001/11/23 19:00:47 ukai Exp $ */
|
||||
/*
|
||||
* This file was automatically generated by version 1.7 of cextract.
|
||||
* Manual editing not recommended.
|
||||
@@ -526,13 +526,13 @@ extern void initMenu(void);
|
||||
#define selMn selBuf
|
||||
#endif /* not USE_MENU */
|
||||
|
||||
#ifdef DICT
|
||||
#ifdef USE_DICT
|
||||
extern void dictword(void);
|
||||
extern void dictwordat(void);
|
||||
#else /* not DICT */
|
||||
#else /* not USE_DICT */
|
||||
#define dictword nulcmd
|
||||
#define dictwordat nulcmd
|
||||
#endif /* not DICT */
|
||||
#endif /* not USE_DICT */
|
||||
|
||||
extern void reloadBuffer(Buffer * buf);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user