2001-12-22 Tsutomu Okada * [w3m-dev 02682] * doc/README: remove README.dj * doc-jp/README.hp: deleted 2001-12-22 Fumitoshi UKAI * [w3m-dev 02692] w3m on linux/ia64 * mktable.c: #include "config.h" * mktable.c: #include "stdint.h" or uintptr_t typedef * mktable.c: use uintptr_t instead of unsigned int * configure: check pthread on linux * configure: add gc_cflags for linux/ia64,alpha,s390 * configure: check stdint.h * configure (config.h): add $pthreadlib to GCLIB * configure (config.h): add $def_have_stdint_h * config.h.dist (HAVE_STDINT_H): added * Str.c: add #include for exit() on some platform (ia64) 2001-12-22 Hironori Sakamoto * [w3m-dev 02690] RC_DIR in scripts * configure (config.h): add RC_DIR * config.h.dist: ditto * XMakefile: pass RC_DIR * scripts/Makefile: subst RC_DIR * scripts/dirlist.cgi.in: $RC_DIR initial value * scripts/w3mhelp.cgi.in: ditto * scripts/w3mhelp.cgi.in (cygwin_pathconv): added 2001-12-22 Fumitoshi UKAI * version.c.in: 0.2.3.2+cvs 2001-12-22 Fumitoshi UKAI * w3m 0.2.3.2 - Security fix in w3m/scripts * version.c.in: update * w3mhelp-*.html: version 0.2.3.2 * doc/README: version 0.2.3.2, release date * doc-jp/README: ditto * NEWS: added 2001-12-22 Fumitoshi UKAI * scripts/w3mhelp.cgi.in: lang=[a-z][a-z] only 2001-12-22 Hironori Sakamoto * Security hole in multipart.cgi.in, w3mman2html.cgi.in * scripts/w3mhelp.cgi.in: open(F, "< $var") instead of open(F, $var) * scripts/w3mhelp.cgi.in: fix eval qq{require ...}; * scripts/multipart/multipart.cgi.in: ditto * scripts/w3mman/w3mman2html.cgi.in: validate $keyword, $section, $man 2001-12-21 Fumitoshi UKAI * [w3m-dev-en 00656] * helpdir default is PREFIX/share/w3m 2001-12-20 Fumitoshi UKAI * version.c.in: 0.2.3.1-cvs 2001-12-20 Fumitoshi UKAI * w3m 0.2.3.1 * version.c.in: update * w3mhelp-*.html: version 0.2.3.1 * doc/README: version 0.2.3.1, release date * doc-jp/README: ditto 2001-12-20 Hironori Sakamoto * [w3m-dev 02683] * configure (def_param): fix wrong behavior unless variable initialized * configure (def_param): fix unnecessary eval * configure (ask_choice): ditto 2001-12-20 Dai Sato * w3mhelp-*.html, doc/README, doc-jp/README: * fix version number to 0.2.3. 2001-12-20 Fumitoshi UKAI * version.c.in: 0.2.3-cvs 2001-12-20 Fumitoshi UKAI * w3m 0.2.3 release * version.c.in: update 2001-12-20 Fumitoshi UKAI * w3m 0.2.3 release condidate 3 * configure (use_bundled_gclib): added 2001-12-20 Hironori Sakamoto * w3m 0.2.3 release candidate 2 * [w3m-dev 02678] * configure: get mygcversion from gc/version.h * Makefile: update GCLIBTGZ 2001-12-20 Fumitoshi UKAI * w3m 0.2.3 release candidate 1 * gc/: sync with w3m-0.2.2-inu-1.1/gc * Patches/ews4800: deleted * configure: comment out Patches/ews4800 2001-12-20 Hironori Sakamoto * [w3m-dev 02655] print version and compile options * configure: change order of questions * main.c (fversion): added * main.c (fusage): use fversion() * main.c (fusage): add -help, -version * main.c (MAIN): add -help, -version 2001-12-20 Tsutomu Okada * [w3m-dev 02672] * main.c (wrap_GC_warn_proc): msg_ring initial value * main.c (SigAlarm): not need #ifdef USE_ALARM, already guarded 2001-12-18 Fumitoshi UKAI * [#493911] too few arguments to function `longjmp' by Kazuhiro NISHIYAMA (znz) * configure (LONGJMP): need val argument 2001-12-18 Fumitoshi UKAI * [#493906] missing #ifdef by Kazuhiro NISHIYAMA (znz) * main.c (sig_chld): #ifdef SIGCHLD * main.c (SigAlarm): #ifdef USE_ALARM 2001-12-18 Kiyokazu SUTO * [w3m-dev 02670] * table.c (maximum_visible_length): use strchr() * table.c (do_refill): use force==2 mode for flushline() 2001-12-18 Hironori Sakamoto * [w3m-dev 02669] delete cURLcode() * main.c (cURLcode): deleted * main.c (loadNormalBuf): no need to use cURLcode() * main.c (followI): ditto * main.c (query_from_followform): need conv_form_encoding() 2001-12-18 Rin Okuyama * [w3m-dev 02668] install-sh: -e option of sh(1) * install-sh: add set -e 2001-12-18 Hironori Sakamoto * [w3m-dev 02667] * terms.c (mouse_init): #ifdef SIGWINCH guard 2001-12-16 Fumitoshi UKAI * [w3m-dev 02666] resizing on xterm with gpm support * terms.c (mouse_init): check Gpm_Open return value, signal(SIGWINCH) 2001-12-16 Rin Okuyama * [w3m-dev 02664] install-sh -s option * XMakefile: install-sh -s * install-sh: support strip option 2001-12-15 Hironori Sakamoto * [w3m-dev 02663] fix prevA() cause loop * table.c (do_refill): force flushline * table.c (feed_table_tag): push line if has no href attr 2001-12-15 Rin Okuyama * [w3m-dev 02659] rc.c (show_srch_str) * fm.h (show_srch_str): added * main.c (srch_nxtprv): check show_srch_str * rc.c (CMT_SHOW_SRCH_STR): added 2001-12-15 Kiyokazu SUTO * [w3m-dev 02657] * main.c (chkURL): accept URL ending with '=' 2001-12-15 Kiyokazu SUTO * [w3m-dev 02656] * XMakefile (clean): remove functable.c * anchor.c (_put_anchor_new): use Strnew_size() and Strcat_charp_n() * indep.c (getescapechar): use GET_MYCDIGIT 2001-12-13 Kiyokazu SUTO * [w3m-dev 02541] mouse support on cygwin * linein.c (_esc): ignore ESC M on cygwin * terms.c (is_xterm): not static on cygwin * terms.c (ConInV): INPUT_RECORD * -> char * * terms.c (MouseConToXTerm): deleted * terms.c (iMouseConXTerm): deleted * terms.c (expand_win32_console_input_buffer): added * terms.c (read_win32_console_input): use PeekConsoleInput and ReadConsole * terms.c (read_win32_console): use read_win32_console_input() * terms.c (cmp_tv): added * terms.c (subtract_tv): added * terms.c (select_or_poll_win32_console): added * terms.c (select_win32_console): added * terms.c (xterm_mouse_term): deleted * terms.c (mouse_term_info): added * terms.c (set_tty): modified to use mouse_term_info * terms.c (sleep_till_anykey): use select_win32_console on cygwin * terms.c (mouse_init): check is_xterm flag * terms.c (mouse_end): check is_xterm flag * terms.h (is_xterm): if cygwin * terms.h (NEED_XTERM_ON): added * terms.h (NEED_XTERM_OFF): added 2001-12-11 Hironori Sakamoto * [w3m-dev 02651] search keymap using hash * XMakefile (func.c): depends functable.c funcname1.h * XMakefile (functable.c): generated from funcname.tab * functable.awk: added * fm.h (w3mKeyList): deleted * func.c (w3mKeyList): ditto * file.c (readHeader): change getFuncList() * func.c (w3mNFuncList): deleted * func.c (functable.c): include * func.c (initKeymap): no need to count w3mFuncList * func.c (initKeymap): change getFuncList() * func.c (initKeymap): put data to keyData hashtable * func.c (countFuncList): deleted * func.c (getFuncList): use getHash_si() * func.c (getKeyData): use getHash_iv() * func.c (addKeyList): deleted * func.c (searchKeyList): deleted * func.h (textlist.h): include * func.h (hash.h): include * func.h (KEY_HASH_SIZE): added * func.h (KeyListItem): deleted * func.h (KeyList): deleted * hash.c: s/hist/sv/ * hash.c: add defhashfunc_i(int, void *, iv) * hash.h: s/hist/sv/ * hash.h: defhash(int, void *, iv) * hash.h (putHash_*): added * hash.h (getHash_*): added * hash.h (defhashfunc_i): added * history.c (pushHashHist): s/hist/sv/ * history.c (getHashHist): s/hist/sv/ * history.h (Hist): s/hist/sv/ * main.c (searchKeyData): item deleted * main.c (searchKeyData): data added * main.c (searchKeyData): use getKayData() instead of searchKeyList() * main.c (setAlarm): w3mNFuncList deleted * main.c (setAlarm): change getFuncList() * menu.c (w3mNFuncList): deleted * menu.c (w3mFuncList): deleted * menu.c (initMenu): no need to count w3mFuncList * menu.c (setMenuItem): change getFuncList() * proto.h (countFuncList): deleted * proto.h (getFuncList): change args * proto.h (addKeyList): deleted * proto.h (searchKeyList): deleted * proto.h (getKeyData): added 2001-12-11 Kiyokazu SUTO * [w3m-dev 02650] * file.c (readHeader): Strnew_charp_n() should be used 2001-12-11 Fumitoshi UKAI * [w3m-dev 02647] * proto.h (arg_is): deleted * etc.c (arg_is): ditto * etc.c (searchAnchorArg): ditto 2001-12-11 Hironori Sakamoto * [w3m-dev 02648] rewrite strCmp() with strcmp() * indep.c (strCmp): use strcmp() 2001-12-11 Kiyokazu SUTO * [w3m-dev 02441] A patch against functions *_(un)?quote() * indep.c (url_unquote_char): use GET_MYCDIGIT, instead of sscanf * indep.c (url_quote): use xdigit[] instead of sprintf() * myctype.c (MYCTYPE_DIGITMAP): added * myctype.h (MYCTYPE_DIGITMAP): ditto * myctype.h (GET_MYCDIGIT): added 2001-12-11 Fumitoshi UKAI * [w3m-dev 02647] * proto.h (getAnchor): deleted * etc.c (getAnchor): deleted 2001-12-09 Kiyokazu SUTO * [w3m-dev 02646] Some code cleanups * configure: use host libgc instead of gc/gc.a on Linux and/or AIX if possible * etc.c (get_cmd): deleted, merged into gethtmlcmd() * etc.c (gethtmlcmd): merge get_cmd() code * file.c (uncompressed_file_type): initialize slen * file.c (passthrough): status deleted * file.c (HTMLlineproc0): istr deleted, gethtmlcmd() argument fix * fm.h (_GNU_SOURCE): ifndef _GNU_SOURCE * proto.h (gethtmlcmd): fix prototypes * terms.c: include always 2001-12-09 Fumitoshi UKAI * [w3m-dev 02645] * configure: fix to prevent rcsid expansion 2001-12-08 Fumitoshi UKAI * [w3m-dev 02641] * configure: generate version.c from version.c.in * version.c.in: added * version.c: deleted, autogenerated from version.c.in * .cvsignore (version.c): added 2001-12-07 Fumitoshi UKAI * [w3m-dev 02642] * linein.c (next_dcompl): fix ifdef EMACS_LIKE_LINEEDIT 2001-12-07 Hironori Sakamoto * [w3m-dev 02640] * linein.c (escape_spaces): rewrite * linein.c (unescape_spaces): rewrite 2001-12-07 Tsutomu Okada * [w3m-dev 02638] completion for ! and/or @ * linein.c (next_compl): check "\\ ", "\\\t" * linein.c (escape_spaces): added * linein.c (unescape_spaces): added * linein.c (doComplete): use unescape_spaces, escape_spaces 2001-12-07 Fumitoshi UKAI * [w3m-dev 02637] * url.c (openSocket): hostname volatile -> const * url.c (openSocket): add hname * url.c (openSocket): copy hostname to hname to be modified safely * url.c (otherinfo): revert previous change 2001-12-07 Hironori Sakamoto * [w3m-dev 02635] dirlist * file.c (loadGeneralFile): use pu.file instead of pu.real_file * scripts/dirlist.cgi.in: modified for perl4 2001-12-07 Fumitoshi UKAI * [#489463] Host: header is wrong IPv6 literal addr * url.c (otherinfo): IPv6 address should be quoted with bracket 2001-12-07 Hironori Sakamoto * [w3m-dev 02629] * linein.c (next_compl): completion for name including space 2001-12-07 Fumitoshi UKAI * [w3m-dev 02633] * url.c (parseURL2): filename should be quoted here, because it will be unquote() soon 2001-12-07 Fumitoshi UKAI * rename install.sh to install-sh * XMakefile: s/install.sh/install-sh/ 2001-12-07 Tsutomu Okada * [w3m-dev 02622] * tagtable.tab (noframes): added * tagtable.tab (/noframes): added * fm.h (RB_NOFRAMES): added * html.h (HTML_NOFRAMES): added * html.h (HTML_N_NOFRAMES): added * html.c (ALST_NOFRAMES): added * html.c (98 HTML_NOFRAMES): added * html.c (99 HTML_N_NOFRAMES): added * file.c (HTMLtagproc1): add HTML_NOFRAMES, HTML_N_NOFRAMES * file.c (HTMLtagproc1): don't meta refresh if it is in noframes and auto frame rendering * main.c (MAIN): use setAlarmEvent() * main.c (SigAlarm): ditto * main.c (setAlarm): ditto * main.c (setAlarmEvent): check if status == AL_UNSET 2001-12-06 Hironori Sakamoto * [w3m-dev 02619] * file.c (loadHTMLString): set document type 2001-12-05 Fumitoshi UKAI * [w3m-dev 02618] * configure: fix typo in --mimetypes 2001-12-05 Fumitoshi UKAI * [w3m-dev 02617] * scripts/Makefile (HELP_LIBS): added * scripts/Makefile (all): depends $(HELP_LIBS) * scripts/Makefile (install): depends $(HELP_LIBS) * scripts/Makefile (w3mhelp-funcname.pl): split from helplibs * scripts/Makefile (w3mhelp-funcdesc.pl): split from helplibs, touch * scripts/Makefile (clean): clean *-stamp * scripts/.cvsignore: add w3mhelp-funcdesc-stamp 2001-12-05 Tsutomu Okada * [w3m-dev 02616] * buffer.c (gotoLine): use set_delayed_message instead of disp_message * buffer.c (gotoRealLine): ditto * display.c (delayed_msg): added * display.c (displayBuffer): display deleyed_msg if it is set * display.c (set_delayed_message): added * proto.h (set_delayed_message): added 2001-12-05 Tsutomu Okada * [w3m-dev 02615] * main.c (goLine): _goLine() called twice when prec_num was set 2001-12-05 Hironori Sakamoto * [w3m-dev 02614] * XMakefile (HELP_ALLFILES): added * XMakefile (INSTALL_PROGRAM): ditto * XMakefile (INSTALL_SCRIPT): ditto * XMakefile (INSTALL_DATA): ditto * XMakefile (install) use INSTALL_{PROGRAM,DATA} * XMakefile (install-helpfile): cleanup * XMakefile (install-scripts): pass MKDIR * XMakefile (uninstall): cleanup * XMakefile (clean): cleanup * scripts/Makefile (MKDIR): added * scripts/Makefile (INSTALL_DATA): added * scripts/Makefile (install): mkdir, use INSTALL_DATA * scripts/Makefile (uninstall): added * scripts/Makefile (clean): ignore errors * scripts/multipart/Makefile (MKDIR): added * scripts/multipart/Makefile (install): mkdir * scripts/multipart/Makefile (uninstall): added * scripts/multipart/Makefile (clean): ignore errors * scripts/multipart/Makefile (dist): cleanup * scripts/w3mman/Makefile (MKDIR): added * scripts/w3mman/Makefile (install): mkdir * scripts/w3mman/Makefile (uninstall): added * scripts/w3mman/Makefile (clean): ignore errors * scripts/w3mman/Makefile (dist): cleanup 2001-12-04 Tsutomu Okada * [w3m-dev 02611] a improvement of find_cookie() * cookie.c (make_cookie): domainname is passed as argument * cookie.c (find_cookie): FQDN(pu->host) done only once * func.c (getQWord): comment reformat * local.c (check_local_cgi): ditto 2001-12-04 Tsutomu Okada * [w3m-dev 02609] * proto.h: remove duplicate prototypes 2001-12-04 Hironori Sakamoto * [w3m-dev 02608] * local.c (localcgi_get): request == NULL means no ? in URL * url.c (openURL): ditto 2001-12-03 Hironori Sakamoto * [w3m-dev 02606] * XMakefile (install-scripts): run pwd outside for loop 2001-12-03 Kiyokazu SUTO * [w3m-dev 02605] $(PWD) / allocStr() * XMakefile (install-scripts): use $$TOPDIR instead of $(PWD) * indep.c (allocStr): if len is negative, it will copy string in `s' * display.c (record_err_message): pass -1 as length to allocStr * etc.c (lastFileName): ditto * etc.c (mybasename): ditto * etc.c (FQDN): ditto * file.c (push_tag): ditto * func.c (addKeyList): ditto * history.c (unshiftHist): ditto * history.c (pushHist): ditto * indep.c (cleanupName): ditto * linein.c (inputLineHist): ditto * local.c (dirBuffer): ditto * main.c (gotoLabel): ditto * main.c (searchKeyData): ditto * parsetagx.c (parsedtag_set_value): ditto * terms.c (GETSTR): ditto * textlist.h (pushText): ditto * url.c (DefaultFile): ditto * url.c (parseURL): ditto * url.c (ALLOC_STR): ditto * url.c (parseURL2): ditto * url.c (openURL): ditto * w3mhelperpanel.c (extractMailcapEntry): ditto 2001-12-02 Fumitoshi UKAI * [w3m-dev 02604] * configure: kanji_symbols=n if lang=EN * file.c (HTMLlineproc2body): initialize rule 2001-12-02 Hironori Sakamoto * [w3m-dev 02603] * scripts/w3mhelp.cgi.in: modified for perl4 2001-12-01 Fumitoshi UKAI * [w3m-dev 02601] * Makefile (install-core): added * Makefile (install-helpfile): added * configure (use_help_cgi): default yes if perl found * configure (config.h): add HELP_CGI * configure (config.h): add $def_use_help_cgi * main.c (ldhelp): add USE_HELP_CGI code * scripts/Makefile: use w3mhelp*.pl.in * scripts/w3mhelp-funcname.pl.in: added * scripts/w3mhelp-funcdesc.en.pl.in: added * scripts/w3mhelp-funcdesc.ja.pl.in: added * scripts/w3mhelp.cgi.in: use %buf_*, %lineedit_* * scripts/w3mhelp.cgi.in: use %title * [w3m-dev 02660] (based on [w3m-dev 02577] by Kiyokazu SUTO ) * scripts/.cvsignore: add w3mhelp.cgi w3mhelp-*.pl * scripts/Makefile (HELP_DIR): added * scripts/Makefile (LIB_TARGETS): add w3mhelp.cgi * scripts/Makefile (DOCDIRS): added * scripts/Makefile (all): add helplibs * scripts/Makefile (.in): subst HELP_DIR, DOCDIRS * scripts/Makefile (helplibs): added * scripts/Makefile (install): s/DISTDIR/DESTDIR/ * scripts/Makefile (install): install w3mhelp-*.pl * scripts/w3mhelp.cgi.in: added * XMakefile (INSTALL2): deleted * XMakefile (install): split * XMakefile (install-core): added * XMakefile (install-helpfile): added * XMakefile (all-scripts): HELP_DIR * XMakefile (install-scripts): HELP_DIR * doc/REAMDE.func: add ALARM, SUSPEND * doc-jp/README.func: ditto * config.h.dist: updated 2001-11-30 Fumitoshi UKAI * url.c (otherinfo): use AcceptLang * rc.c (sync_with_option): initialize AcceptLang 2001-11-30 Tsutomu Okada * [w3m-dev 02599] * main.c comment reformat 2001-11-30 Fumitoshi UKAI * [w3m-dev 02598] * url.c (otherinfo): add missing NULL 2001-11-30 Fumitoshi UKAI * [w3m-dev 02597] (based on [w3m-dev 02594] by aito@fw.ipsj.or.jp) * fm.h (AcceptLang): added * fm.h (AcceptMedia): added * rc.c (CMT_ACCEPTENCODING): added * rc.c (CMT_ACCEPTMEDIA): added * rc.c (params9): add accept_encoding, accept_media * rc.c (sync_with_option): initialize AcceptEncoding and AcceptMedia * url.c (otherinfo): use Strcat_m_charp() 2001-11-30 aito@fw.ipsj.or.jp * [w3m-dev 02594] * configure: s/dcode/display_code/ 2001-11-30 Hironori Sakamoto * [w3m-dev 02596] * file.c (acceptableEncoding): fix segfault if no decoder found 2001-11-30 Fumitoshi UKAI * [w3m-dev 02595] * file.c (compression_decoder): add encodings * file.c (readHeader): use compression_decoder->encodings 2001-11-30 Tsutomu Okada * [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 * [w3m-dev 02592] Accept: and AcceptEncoding: * url.c (otherinfo): use acceptableEncoding() acceptableMimeTypes() * file.c: add compression_decoder * file.c (check_compress): rewrite by using compression_decoder * file.c (compress_application_type): ditto * file.c (uncompressed_file_type): ditto * file.c (check_command): added * file.c (acceptableEncoding): added * proto.h (acceptableEncoding): ditto * file.c (uncompress_stream): renamed from gunzip_stream * file.c (uncompress_stream): rewrite by using compression_decoder * configure: add PATH_SEPARATOR * mailcap.c (extractMailcapEntry): static * mailcap.c (loadMailcap): static * proto.h (loadMailcap): removed * mailcap.c (acceptableMimeTypes): added * proto.h (acceptableMimeTypes): added * configure: #define USE_PATH_ENVVAR for __EMX__ * file.c: GUNZIP_*, BUNZIP2_*, INFLATE_* removed here -> config.h * file.c (gunzip_stream): s/(GUNZIP|BUNZIP2|INFLATE)_CMD/\1_CMDNAME/ * configure (config.h): GUNZIP_*, BUNZIP2_*, INFLATE_* moved here * fm.h (DirBufferCommand): use CGI_EXTENSION * fm.h (mailcap_list): removed from global -> mailcap.c * fm.h (UserMailcap): removed from global -> mailcap.c * mailcap.c: static mailcap_list * mailcap.c: static UserMailcap * proto.h (initMimeTypes): moved * proto.h (get_os2_dft): removed * rc.c (loadMimeTypes): removed here -> url.c * rc.c (initMimeTypes): removed here -> url.c * fm.h (mimetypes_list): removed from global -> url.c * fm.h (UserMimeTypes): removed from global -> url.c * url.c: static mimetypes_list * url.c: static UserMimeTypes * url.c (loadMimeTypes): moved here * url.c (initMimeTypes): moved here 2001-11-30 Tsutomu Okada * [w3m-dev 02590] * main.c (_peekURL): peek URL on 2001-11-30 Hironori Sakamoto * [w3m-dev 02589] * rc.c (params1): remove #ifdef VIEW_UNSEENOBJECTS 2001-11-29 Hironori Sakamoto * [w3m-dev 02588] * configure: fix alarm() check 2001-11-29 Fumitoshi UKAI * [w3m-dev 02587] * file.c (gunzip_stream): s/__CYGWIN__/USE_BINMODE_STREAM/ * [w3m-dev 02586] * configure: typo s/_zdmachdep.c/zmachdep.c/ * fix shadow variable * main.c (HTMLtagproc1): s/refresh/refresh_interval/ * matrix.c (LUfactor): s/index/indexarray/ * matrix.c (LUsolve): ditto * matrix.c (m_inverse): ditto * matrix.c (LUinverse): ditto * table.c (bsearch_2short): ditto * table.c (bsearch_double): ditto * table.c (dv2sv): ditto * table.c (check_cell_width): ditto * table.c (set_integered_width): ditto * table.c (set_table_width): ditto * table.c (check_table_height): ditto * ftp.c: s/ftp/current_ftp/ * ftp.c (Ftpfclose): ditto * ftp.c (openFTP): ditto * ftp.c (closeFTP): ditto * ftp.c (FtpLogin): save to current_ftp * ftp.c (openFTP): s/realpath/realpathname/ * ftp.c (openFTP): remove i * ftp.c (ftp_pasv): s/sin/sockaddr/ * [w3m-dev 02584] code cleanup * linein.c (_esc): fix #ifdef EMACS_LIKE_LINEEDIT * fix shadow variables (partially) * version.c: s/version/w3m_version/ * configure: ditto * fm.h: ditto * local.c (set_environ): ditto * main.c (fusage): ditto * main.c (MAIN): ditto * main.c (dispVer): ditto * rc.c (load_option_panel): ditto * url.c (otherinfo): ditto * file.c (readHeader): s/tmp/tmp2/ * file.c (loadGeneralFile): s/tmp/cmd/ * file.c (flushline): s/f/df/ * file.c (doExternal): s/stat/mc_stat/ * proto.h: ditto * mailcap.c (unquote_mailcap_loop): ditto * mailcap.c (unquote_mailcap): ditto * main.c (cmd_loadBuffer): s/link/linkid/ * main.c (sig_chld): s/stat/p_stat/ * fm.h: remove config_file * main.c (MAIN): s/config_file/config_filename/ * rc.c (init_rc): ditto * proto.h: ditto * rc.c: add config_file * menu.c (goem_menu): s/select/mselect/ * menu.c (draw_menu_item): ditto * menu.c (select_menu): ditto * menu.c (goto_menu): ditto * menu.c (action_menu): ditto * menu.c (mNext): ditto * menu.c (mPrev): ditto * menu.c (mOk): ditto * menu.c (mSrchF): ditto * menu.c (mSrchB): ditto * menu.c (mSrchN): ditto * menu.c (mSrchP): ditto * menu.c (process_mMouse): ditto * menu.c (smDelBuf): ditto * proto.h: ditto * printf format * display.c (redrawLine): use %*ld instead of %*d * require parentheses * ftp.c (FtpLogin): add paren * fix variable might be clobbered by `longjmp' or `vfork' * file.c (loadGeneralFile): add volatile * file.c (loadHTMLString): ditto * file.c (loadBuffer): ditto * file.c (doExternal): ditto * frame.c (createFrameFile): ditto * main.c (srchfor): ditto * main.c (srchbak): ditto * main.c (srch_nxtprv): ditto * url.c (openSocket): ditto * fix unused variables * file.c (readHeader): emssg if USE_COOKIE defined * file.c (HTMLlineproc2body: remove tmp * file.c (saveBufferDelNum): remove p * linein.c (_esc): c2 if JP_CHARSET defined * fix uninitialized variables * Str.c (Sprintf): initialize p * buffer.c (readBufferCache): initialize prevl * conv.c (cConvSE): initialize ub * conv.c (_cConvEE): initialize ub * conv.c (cConvES): initialize ub * file.c (loadGeneralFile): initialize proc, t, prevtral, ss, realm * file.c (HTMLlineproc2body): initialize debug * file.c (HTMLlineproc0): initialize tbl_mode, tbl_width * file.c (loadHTMLstream): initialize prevtrap * file.c (loadHTMLString): initialize prevtrap * file.c (loadBuffer): initialize prevtrap * form.c (formUpdateBuffer): initialize col * ftp.c (openFTP): initialize pwd * local.c (dirBuffer): initialize nrow * main.c (gpm_process_mouse): initialize btn * menu.c (gpm_process_menu_mouse): ditto * menu.c (initMenu): initialize nmenu, nitem, item * parsetagx.c (parse_tag): initialize attr_id * rc.c (show_params): initialize t * table.c (visible_length): initialize amp_len * table.c (set_integered_width): initialize x * table.c (check_table_height): initialize space * table.c (renderTable): initialize vrulea, vruleb, vrulec * terms.c (putchars): initialize s * url.c (openSocket): initialize trap, result * url.c (openURL): initialize sslh 2001-11-28 Hironori Sakamoto * [w3m-dev 02579] * configure: Use environment variables CC, CFLAGS, LDFLAGS 2001-11-28 Fumitoshi UKAI * [w3m-dev 02574] sysconfdir * configure: add -bindir=* -libdir=* -helpdir=* -sysconfdir=* * configure: add ETC_DIR * indep.c (w3m_etc_dir): added * indep.h: ditto * rc.c (init_rc): use etcFile() instead of libFile() * rc.c (etcFile): added * proto.h: ditto 2001-11-28 Fumitoshi UKAI * [w3m-dev 02578] * file.c (process_anchor): support * html.c (ALST_INPUT): add ATTR_SRC, ATTR_WIDTH, ATTR_HEIGHT * html.c (MAXA_INPUT): +3 * conv.c (checkShiftCode): fix comments for indent(1) * main.c (loadLink): ditto * fm.h: ditto * file.c (process_anchor); ditto * file.c (HTMLlineproc2body): ditto 2001-11-28 Hironori Sakamoto * [w3m-dev 02576] * url.c (openURL): remove pu->file = p; which cause segfault because p is not initialized 2001-11-28 Fumitoshi UKAI * [w3m-dev 02571] MAXPATHLEN * indep.c (currentdir): #ifdef MAXPATHLEN for GNU Hurd * configure: ditto 2001-11-27 Hironori Sakamoto * [w3m-dev 02572] * main.c (_peekURL): initialize s when anchor not found 2001-11-27 aito@fw.ipsj.or.jp * Error correction on doc-jp/FAQ.html 2001-11-27 sakane@d4.bsd.nes.nec.co.jp (Yoshinobu Sakane) * w3m-doc update. 2001-11-26 Tsutomu Okada * [w3m-dev 02537] * configure: s/$def_egd/def_use_egd/ 2001-11-26 Fumitoshi UKAI * [w3m-dev 02556] * indep.c (strcasestr): strcasestr("", "") should not return NULL * [w3m-dev 02555] * configure: check strcasestr * fm.h (_GNU_SOURCE): requires for strcasestr() * indep.c (strcasestr): #ifdef HAVE_STRCASESTR * indep.c (strcasestr): check whether s2 is NULL * indep.h: add #include "config.h" * indep.h: #ifdef HAVE_STRCASESTR * indep.h: strcasestr() takes const char * 2001-11-26 Yoshinobu Sakane * [w3m-dev 02553] * configure: SysV's tr requires '[a-z]' '[A-Z]' 2001-11-26 Kiyokazu SUTO * [w3m-dev 02547] "message/*" as a kind of text type * file.c (is_text_type): add message/* 2001-11-25 Kiyokazu SUTO * [w3m-dev 02535] Name conflicts in configure * configure: s/libdir/tlibdir/ for loop variables 2001-11-25 Dai Sato * display.c: call of init_win32_console_handle is deleted 2001-11-25 Rin Okuyama * [w3m-dev 02533] setpgrp bug in configure * configure: s/have_setpgrp/def_have_setpgrp/ s/setpgrp/def_setpgrp/ 2001-11-24 Fumitoshi UKAI * Makefile (indent): indent * run make indent 2001-11-24 Fumitoshi UKAI * [w3m-dev 02530] * file.c (readHeader): NULL check for domain 2001-11-24 Fumitoshi UKAI * [w3m-dev 02529] * configure (ask_choice): fix bugs * configure (include_opt): disable as much as if baby model * configure: ask/def parameter after model selected * fm.h (use_mark): runtime option use_mark * main.c (_mark): ditto * main.c (cmd_mark): ditto * main.c (nextMk): ditto * main.c (prevMk): ditto * main.c (reMk): ditto * rc.c (CMT_USE_MARK): ditto * rc.c (params3): ditto * fm.h (nextpage_topline): runtime option nextpage_topline * etc.c (lineSkip): ditto * main.c (nscroll): ditto * rc.c (CMT_NEXTPAGE_TOPLINE): ditto * rc.c (params3): ditto * fm.h (label_topline): runtime option label_topline * file.c (loadGeneralFile): ditto * main.c (loadLink): ditto * rc.c (CMT_LABEL_TOPLINE): ditto * rc.c (params3): ditto * fm.h (vi_prec_num): runtime option vi_prec_num * main.c (pgFore): ditto * main.c (pgBack): ditto * rc.c (CMT_VI_PREC_NUM): ditto * rc.c (params3): ditto * fm.h (emacs_like_lineedit): runtime option emacs_like_lineedit * linein.c (inputLineHist): ditto * linein.c (_esc): ditto * linein.c (next_dcompl): ditto * rc.c (CMT_EMACS_LIKE_LINEEDIT): ditto * rc.c (params3): ditto * fm.h (ftppass_hostnamegen): runtime option ftppass_hostnamegen * ftp.c (FtpLogin): ditto * rc.c (CMT_FTPPASS_HOSTNAMEGEN): ditto * rc.c (params9): ditto 2001-11-24 Akihiro Sagawa * [w3m-dev 02528] RFC2732 URL Patch * main.c (chkURL): check RFC2732 style URLs * url.c (parseURL): remove RFC2732 address check here, move to openSocket() * url.c (openSocket): check RFC2732 style hostname * url.c (openSocket): check IPv4 address strictly 2001-11-24 Fumitoshi UKAI * [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 * [w3m-dev 02523] * table.c (feed_table_tag): fix problem of anchor tag with name attribute only 2001-11-23 Tsutomu Okada * [w3m-dev 02511] * terms.c (isWinConsole): added 2001-11-22 Kiyokazu SUTO * [w3m-dev 02509] ([w3m-dev 02499] [w3m-dev 02508]) * terms.c (setlinescols): initialize LASTLINE * terms.c: add LASTLINE * fm.h: extern int LASTLINE * linein.c: remove defined(__CYGWIN__) && defined(JP_CHARSET) * main.c: remove MOUSE_* definition * terms.h: move MOUSE_* definition from main.c * terms.c: add tty * terms.c (check_win32_console): added * terms.c (init_win32_console_handle): ditto * terms.c (read_win32_console_input): ditto * terms.c (read_win32_console): ditto * terms.c (set_tty) add call init_win32_console * terms.c (getch) use read_win32_console * terms.c (mouse_init): check hConIn * terms.c (mouse_end): ditto 2001-11-22 aito@fw.ipsj.or.jp * [w3m-dev 02503] * indep.c (getescapechar): allow incomplete entity references in URL closes: Debian Bug#120540 2001-11-22 Fumitoshi UKAI * [w3m-dev 02506] * anchor.c (putHmarker): remove #ifdef __CYGWIN__ for bzero() * matrix.h (m_copy): ditto * table.c (pushTable): ditto 2001-11-22 Fumitoshi UKAI * [w3m-dev 02505] * configure (alarm): check alarm if USE_ALARM 2001-11-22 Tsutomu Okada * [w3m-dev 02501] * .cvsignore: add funcname.c funcname1.h funcname2.h tagtable.c * scripts/.cvsignore: added, dirlist.cgi * scripts/multipart/.cvsignore: added, multipart.cgi * scripts/w3mman/.cvsignore: added, w3mman w3mman2html.cgi * doc-jp/README.kokb: deleted * gc/makefile.depend: deleted 2001-11-22 Hironori Sakamoto * table.c (feed_table): fix the following table
< <
2001-11-22 WATANABE Katsuyuki * [w3m-dev 02497] * url.c (parseURL2): fix #ifdef __EMX__ code * indep.c (cleanupName): remove #if 0 /* SUPPORT_NETBIOS_SHARE */ code 2001-11-22 Fumitoshi UKAI * [w3m-dev 02494] * configure (MIME_TYPES): check if mimetypes is empty * configure (label_topline): add missing = * configure (nextpage_topline): ditto 2001-11-22 Hironori Sakamoto * [w3m-dev 02493] * scripts/multipart/Makefile: s/DISTDIR/DESTDIR/ 2001-11-21 Fumitoshi UKAI * [w3m-dev 02481] * s/BG_COLOR/USE_BG_COLOR/ * s/ANSI_COLOR/USE_ANSI_COLOR/ * s/COLOR/USE_COLOR/ * s/MENU/USE_MENU/ * s/MOUSE/USE_MOUSE/ * [w3m-dev 02480] new configure * config.h.dist: updated * configure: $def_emacs_like_lineedit, $def_vi_prec_num $def_label_topline, $def_nextpage_topline $def_use_mark, $def_use_gopher, $def_use_alarm * configure: add --{ssl,gc}-{include,lib}dir, --mimetypes * configure: BoehmGC Debian hack * XMakefile: add $(OPTS) * terms.c: use HAVE_SYS_SELECT_H * configure: add sys/select.h detection * configure: no_float_h -> float_h * configure: add chdir() detection * local.c (localcgi_post): use HAVE_CHDIR instead of __EMX__ * local.c (localcgi_get): ditto * main.c: no need for #ifdef __EMX__ other files already do #include [w3m-dev 02479] * rc.c (init_rc): remove #ifdef __EMX__ for tmpdir * config.h.dit: updated * url.c (openURL): use CGI_EXTENSION add extlen * rc.c (helpFile): remove #ifdef __EMX__ use w3m_help_dir() * w3mbookmark.c (lib_dir): removed * w3mbookmark.c (print_bookmark_panel): use w3m_lib_dir() * rc.c (libFile): remove #ifdef __EMX__ use w3m_lib_dir() * local.c (get_os2_dft): removed * local.c (check_local_cgi): use w3m_lib_dir() instead of lib_dir * local.c (cgi_filename): ditto * indep.c (w3m_dir): added * indep.c (w3m_lib_dir w3m_help_dir): ditto * indep.h (w3m_lib_dir w3m_help_dir): ditto * terms.c (set_tty): remove #ifdef __EMX__ use DEV_TTY_PATH * local.c (localcgi_get): use DEV_NULL_PATH * w3mhelperpanel.c (printMailcapPanal): remove #ifdef __EMX__ use W3mHELPERPANEL_CMDNAME * rc.c (optionpanel_src1): ditto * w3mbookmark.c (bkmark_src1): remove #ifdef __EMX__ use W3MBOOKMARK_CMDNAME * main.c (adBmark): ditto use w3m_lib_dir() * terms.c (getTCstr): remove #ifdef __DJGPP__ use DEFAULT_TERM check ent is NULL * main.c (fusage): remove #ifdef SHOW_PARAMS * main.c (MAIN): ditto * rc.c (show_params): ditto * fm.h (view_unseenobject): remove #ifdef VIEW_UNSEENOBJECTS * url.c (check_no_proxy): remove #ifdef NOPROXY_NETADDR * configure (show_params): removed * configure (config.h): - fix comment for USE_MARK - add MENU_THIN_FRAME - move $def_nntp (USE_NNTP), $def_ansi_color (ANSI_COLOR) - remove VIEW_UNSEENOBJECTS - remove $def_show_params (SHOW_PARAMS) - define DEFAULT_TERM - define W3MBOOKMARK_CMDNAME - define W3MHELPERPANEL_CMDNAME - define DEV_NULL_PATH - define DEV_TTY_PATH - define CGI_EXTENSION [w3m-dev 02478] * Makefile: make -> $(MAKE) 2001-11-21 Fumitoshi UKAI * [w3m-dev 02473] * scripts/Makefile: chmod +x * scripts/Makefile: add clean target * scripts/multipart/Makefile: ditto * scripts/w3mman/Makefile: ditto * XMakefile: clean scripts * scripts/dirlist.cgi: removed from CVS * Makefile (install-scripts): added * XMakefile: (install-scripts): depends all-scripts 2001-11-21 Hironori Sakamoto * [w3m-dev 02470] * XMakefile: all of scripts are generated by this instead of configure * configure: add PERL, remove scripts/dirlist.cgi generation * config.h.dist: add PERL * scripts/Makefile: added * scripts/multipart/Makefile scripts/w3mman/Makefile: new scripts generation and installation * scripts/multipart/README scripts/w3mman/README: update 2001-11-21 Tsutomu Okada * [w3m-dev 02472] cleanup CYGWIN macro * display.c (displayBuffer): use __CYGWIN__ macro * fm.h: ditto * terms.c (refresh): add condition for isWinConsole which defined only japanese cygwin environment 2001-11-21 Akinori Ito * [w3m-dev 02466] Homepage URLs and author's mail addresses in the documents are changed. 2001-11-21 Fumitoshi UKAI * [w3m-dev 02459] * XMakefile: update scripts/dirlist.cgi generation * scripts/multipart/multipart.cgi: removed * scripts/w3mman/w3mman scripts/w3mman/w3mman2html.cgi: removed * [w3m-dev 02462] * scripts/dirlist.in scripts/dirlist.cgi: removed * scripts/dirlist.cgi.in: added 2001-11-21 Fumitoshi UKAI * add rcsids 2001-11-21 Hironori Sakamoto * [w3m-dev 02454] * buffer.c (newBuffer): set COLS * display.c (displayBuffer redrawLine redrawLineRegion cursorRight arrangeCursor cursorXY): new showLineNumber implementation * main.c (ctrCsrH shiftvisualpos shiftl shiftr _movL _movR _followForm follow_map process_mouse): use buf->COLS, buf->rootX * menu.c (popupMenu mainMn initSelectMenu): use buf->rootX * etc.c (columnSkip): use buf->COLS * file.c (HTMLlineproc2body loadBuffer saveBufferDelNum getNextPage) remove old showLineNumber codes * fm.h (Buffer): add rootX, COLS 2001-11-21 Fumitoshi UKAI * XMakefile (clean): rm tagtable.c * .cvsignore: XXMakefile config.h config.param 2001-11-20 Hironori Sakamoto * [w3m-dev 02455] * XMakefile.dist deflate.c: removed, not used * tagtable.c: removed, autogenerated files * XMakefile (mktable w3mbookmark w3mhelperpanel): use LIBS2 * configure: add $bsdlib 2001-11-20 Kiyokazu SUTO * frame.c (newFrameSet): fix possible buffer overrun 2001-11-20 Fumitoshi UKAI * XXMakefile config.h: removed from CVS these are autogenerated files. config.h is moved to config.h.dist as sample config file. 2001-11-20 Tsutomu Okada * [w3m-dev 02449] * file.c (HTMLtagproc1): reimplement meta refresh with setAlarmEvent() * fm.h: put back alarm related variables to main.c add alarm related status flags * main.c: put back alarm related variables from fm.h alarm_once was renamed alarm_status add alarm_buffer and setAlarmEvent() * main.c (MAIN): cancel the alarm event if the buffer was changed * main.c (SigAlarm): ditto * main.c (setAlarm): use setAlarmEvent() * proto.h: add setAlarmEvent() 2001-11-20 Fumitoshi UKAI * w3mhelperpanel.c (extractMailcapEntry): remove unused variables * istream.c (StrISgets): add parentheses around assignment used as truth value * XMakefile (clean): remove funcname.c funcname1.h funcname2.h these are autogenerated files. * funcname.c funcname1.h funcname2.h: removed from CVS * main.c (MAIN): add braces to avoid ambiguous `else' * main.c (set_buffer_environ): remove unused variables * linein.c (_rcompl): not EMACS_LIKE_LINEEDIT only * local.c (localcgi_get): remove unused variables * mailcap.c (unquote_mailcap_loop): remove unused variables * url.c (init_PRNG) add parentheses around assignment used as true value * url.c (parseURL): remove unsed label * url.c (parseURL2): remove unused variables * ftp.c (ftp_escape_str ftp_restore_str): remove not used functions * indep.c (getescapechar): remove unused variable * proto.h: add missing prototypes 2001-11-20 Kiyokazu SUTO * [w3m-dev 02447] * terms.c (skip_escseq): is_xterm && ESC [ M 2001-11-20 Fumitoshi UKAI * [w3m-dev 02448] * terms.c (mouse_init): Gpm_Close() is required. closes: Debian Bug#120221: w3m-ssl: trashes terminal on exit 2001-11-20 Kiyokazu SUTO * [w3m-dev 02444] * XMakefile (funcname1.h funcname2.h): sort as well as funcname.c 2001-11-19 Fumitoshi UKAI * [w3m-dev 02439] * terms.c (xterm_mouse_term set_tty): add cygwin as xterm-style mouse terminal 2001-11-19 Hironori Sakamoto * [w3m-dev 02436] * main.c (GetWord): closes: #482763 segmentation fault in main.c 2001-11-19 Fumitoshi UKAI * gc/.cvsignore: remove gctest, if_mach, if_not_there, threadlibs closes: #482765 i386 binaries in gc directory 2001-11-17 Fumitoshi UKAI * [w3m-dev 02432] * configure: follow autoconf conventions STRCASECMP -> HAVE_STRCASECMP STRCHR -> HAVE_STRCHR STRERROR -> HAVE_STRERROR SYS_ERRLIST -> HAVE_SYS_ERRLIST NOBCOPY -> HAVE_BCOPY GETCWD -> HAVE_GETCWD GETWD -> HAVE_GETWD READLINK -> HAVE_READLINK (HAVE_LSTAT?) TERMIO -> HAVE_TERMIO_H TERMIOS -> HAVE_TERMIOS_H SGTTY -> HAVE_SGTTY_H DIRENT -> HAVE_DIRENT_H NO_FLOAT_H -> HAVE_FLOAT_H * etc.c fm.h config.h: HAVE_STRCASECMP * etc.c config.h file.c: HAVE_STRCHR strchr() moved from file.c to etc.c * etc.c config.h: HAVE_STRERROR * etc.c config.h main.c (MAIN): HAVE_SYS_ERRLIST * etc.c fm.h: HAVE_BCOPY * etc.c indep.c (currentdir) config.h: HAVE_GETCWD * indep.c (currentdir) config.h: HAVE_GETWD * form.c (form_write_from_file) local.c (dirBuffer) config.h: HAVE_READLINK * config.h terms.c: HAVE_TERMIO_H, HAVE_TERMIOS_H, HAVE_SGTTY_H * config.h local.h: HAVE_DIRENT_H * config.h matric.c: HAVE_FLOAT_H * anchor.c cookie.c file.c parsetagx.c regex.c table.c url.c: remove include ifdef __EMX__ it will be included in fm.h * frame.c: remove include for bzero() and bcopy() these are declared in fm.h * indep.c: remove include for bcopy() this is declared in fm.h * istream.c mailcap.c: remove include for bzero() this is declared in fm.h * parsetag.c: remove include for bzero() no bzero() used in this file * [w3m-dev 02431] * terms.c (set_tty): "rxvt" is xterm (getTCstr): tgetstr("Km", &pt) is not xterm, removed (mouse_init): check Gpm_Open() == -2 to detect xterm when USE_GPM 2001-11-16 Tsutomu Okada * [w3m-dev 02418] * main.c (chkURL): add mailto: like pattern to mark as anchor * search.c (forwardSearch): check whether currentLine is NULL * search.c (backwardSearch): ditto 2001-11-16 Dai Sato * [w3m-dev-en 00641] Re: w3m-0.2.1-inu-1.6 * configure: add some dirs for zlib and mime.types 2001-11-16 Fumitoshi UKAI * [w3m-dev 02417] * terms.c (mouse_init): fix mouse handling on TERM=linux if Gpm_Open() successed, set is_xterm = 0 so that w3m uses gpm functions. 2001-11-16 Tsutomu Okada * [w3m-dev 02408] meta refresh * file.c (HTMLtagproc1): use MetaRefresh add case refresh > 0 * fm.h: add MetaRefresh move alarm related definition from main.c * main.c: move alarm releated definition to fm.h (SigAlarm): alarm_once * rc.c: add CMT_META_REFRESH * [w3m-dev 02415] * file.c (loadHTMLBuffer): pushText() to clean up temporary files * [w3m-dev 02414] * file.c (loadHTMLstream): SETJMP and signal after buffer is initialized * [w3m-dev 02413] * main.c (reMark): don't save invalid regexp to MarkString 2001-11-15 aito@eie.yz.yamagata-u.ac.jp * release-0-2-2 * Update to w3m-0.2.1-inu-1.6 2001-11-09 aito@eie.yz.yamagata-u.ac.jp * release-0-2-1-inu-1-5 * Updates from 0.2.1 into 0.2.1-inu-1.5 2001-11-08 aito@eie.yz.yamagata-u.ac.jp * release-0-2-1 * import w3m-0.2.1 $Id: ChangeLog,v 1.159 2001/12/21 21:51:11 ukai Exp $