[w3m-dev 02593]

From: Tsutomu Okada <okada@furuno.co.jp>
This commit is contained in:
Fumitoshi UKAI
2001-11-30 10:10:24 +00:00
parent ddafc8479a
commit 0281c83cee
7 changed files with 26 additions and 38 deletions

View File

@@ -1,3 +1,13 @@
2001-11-30 Tsutomu Okada <okada@furuno.co.jp>
* [w3m-dev 02593]
* form.h: comment reformat
* matrix.c: ditto
* menu.c: ditto
* regex.c: ditto
* table.h: ditto
* terms.c: ditto
2001-11-30 Fumitoshi UKAI <ukai@debian.or.jp>
* [w3m-dev 02592] Accept: and AcceptEncoding:

10
form.h
View File

@@ -1,4 +1,4 @@
/* $Id: form.h,v 1.4 2001/11/24 02:01:26 ukai Exp $ */
/* $Id: form.h,v 1.5 2001/11/30 10:10:24 ukai Exp $ */
/*
* HTML forms
*/
@@ -33,11 +33,11 @@
#define FORM_ENCTYPE_URLENCODED 0
#define FORM_ENCTYPE_MULTIPART 1
#define MAX_TEXTAREA 10 /* max number of * <textarea>..</textarea>
* * within one * document */
#define MAX_TEXTAREA 10 /* max number of <textarea>..</textarea>
* within one document */
#ifdef MENU_SELECT
#define MAX_SELECT 10 /* max number of <select>..</select> *
* * within one document */
#define MAX_SELECT 10 /* max number of <select>..</select>
* within one document */
#endif /* MENU_SELECT */
typedef struct form_list {

View File

@@ -1,7 +1,7 @@
/*
* matrix.h, matrix.c: Liner equation solver using LU decomposition.
* $Id: matrix.c,v 1.5 2001/11/29 10:22:58 ukai Exp $
* $Id: matrix.c,v 1.6 2001/11/30 10:10:24 ukai Exp $
*
* by K.Okabe Aug. 1999
*
@@ -139,7 +139,7 @@ LUsolve(Matrix A, int *indexarray, Vector b, Vector x)
}
/* m_inverse -- returns inverse of A, provided A is not too rank deficient
* * * * * * * -- uses LU factorisation */
* -- uses LU factorisation */
#if 0
Matrix
m_inverse(Matrix A, Matrix out)

8
menu.c
View File

@@ -1,4 +1,4 @@
/* $Id: menu.c,v 1.7 2001/11/29 09:34:15 ukai Exp $ */
/* $Id: menu.c,v 1.8 2001/11/30 10:10:24 ukai Exp $ */
/*
* w3m menu.c
*/
@@ -26,8 +26,7 @@ extern int sysm_process_mouse(int, int, int, int);
static int X_Mouse_Selection;
extern int do_getch();
#define getch() do_getch()
#endif /* defined(USE_GPM) || * * * * * *
* defined(USE_SYSMOUSE) */
#endif /* defined(USE_GPM) || defined(USE_SYSMOUSE) */
#endif /* USE_MOUSE */
#ifdef USE_MENU
@@ -623,8 +622,7 @@ action_menu(Menu *menu)
if (mselect != MENU_NOTHING)
break;
}
#endif /* defined(USE_GPM) || * * * * * *
* defined(USE_SYSMOUSE) */
#endif /* defined(USE_GPM) || defined(USE_SYSMOUSE) */
#endif /* USE_MOUSE */
if (IS_ASCII(c)) { /* Ascii */
mselect = (*menu->keymap[(int)c]) (c);

21
regex.c
View File

@@ -1,4 +1,4 @@
/* $Id: regex.c,v 1.5 2001/11/24 02:01:26 ukai Exp $ */
/* $Id: regex.c,v 1.6 2001/11/30 10:10:24 ukai Exp $ */
/*
* regex: Regular expression pattern match library
*
@@ -328,24 +328,7 @@ matchWhich(longchar * pattern, longchar c)
printf("RE pattern = %s char=%c", pattern, c);
#endif /* REGEX_DEBUG */
while (*p != '\0') {
if (*(p + 1) == RE_WHICH_RANGE && *(p + 2) != '\0') { /* Char *
*
* * * *
* * * * *
* * * *
* * * *
* * * *
* * * *
* * * *
* * * *
* * * * *
* * * * *
* * *
* class.
* * * * *
* * * * *
* * * * *
*/
if (*(p + 1) == RE_WHICH_RANGE && *(p + 2) != '\0') { /* Char class. */
if (*p <= c && c <= *(p + 2)) {
ans = 1;
break;

View File

@@ -1,9 +1,7 @@
/* $Id: table.h,v 1.4 2001/11/24 02:01:26 ukai Exp $ */
/* $Id: table.h,v 1.5 2001/11/30 10:10:24 ukai Exp $ */
#if (defined(MESCHACH) && !defined(MATRIX))
#define MATRIX
#endif /* (defined(MESCHACH) && !defined(MATRIX))
*
* * * * * * */
#endif /* (defined(MESCHACH) && !defined(MATRIX)) */
#ifdef MATRIX
#ifdef MESCHACH

View File

@@ -1,4 +1,4 @@
/* $Id: terms.c,v 1.18 2001/11/29 10:22:58 ukai Exp $ */
/* $Id: terms.c,v 1.19 2001/11/30 10:10:24 ukai Exp $ */
/*
* An original curses library for EUC-kanji by Akinori ITO, December 1989
* revised by Akinori ITO, January 1995
@@ -635,8 +635,7 @@ getTCstr(void)
GETSTR(T_as, "as"); /* alternative (graphic) charset start */
GETSTR(T_ae, "ae"); /* alternative (graphic) charset end */
GETSTR(T_ac, "ac"); /* graphics charset pairs */
GETSTR(T_op, "op"); /* set default color pair to its original
* * * * * * * value */
GETSTR(T_op, "op"); /* set default color pair to its original value */
#if defined( CYGWIN ) && CYGWIN < 1
/* for TERM=pcansi on MS-DOS prompt. */
#if 0