Dai Sato
3c7e9b27c1
[w3m-dev 04155] fix for minpw.
2007-05-23 15:06:05 +00:00
Dai Sato
5441e3a0ae
quote URLs with non-ASCII local directory names. [w3m-dev 04212]
2007-04-19 12:07:02 +00:00
Dai Sato
22d66ca585
rewind to 10 Feb 2006.
2006-04-07 13:21:11 +00:00
Dai Sato
bc7f9c9026
apply multiple patches on w3m-dev(-en) ML since Jun 2005 to Jan 2006.
2006-04-05 14:18:53 +00:00
Fumitoshi UKAI
eb5aa3e915
add comments
2003-09-26 17:59:51 +00:00
Fumitoshi UKAI
548a62d53b
fix indent
2003-05-12 16:34:12 +00:00
Fumitoshi UKAI
25999cbbc8
[w3m] local cookie string is too easy to guess.
...
* fm.h (Local_cookie): deleted
* local.c (Local_cookie): static
(writeLocalCookie): localCookie()
(setLocalCookie): deleted
(localCookie): added
* main.c (main): delete srand48(), setLocalCookie()
(adBmark): s/Local_cookie/localCookie()/
* proto.h (setLocalCookie): deleted
(localCookie): added
* rc.c (load_option_panel): s/Local_cookie/localCookie()/
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp >
2003-04-08 16:01:37 +00:00
Fumitoshi UKAI
d779a33d23
[w3m-dev 03737] local-CGI POST
...
* local.c (localcgi_post): use tmp file
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp >
2003-02-08 18:23:52 +00:00
Fumitoshi UKAI
585d713d9d
fix indent
2003-01-31 16:26:41 +00:00
Fumitoshi UKAI
92fc697f22
[w3m-dev 03721] PATH_INFO support of local CGI
...
* local.c (CGIFN_DROOT): deleted
(CGIFN_LIBDIR): added
(CGIFN_MODE): deleted
(CGIFN_CONTAIN_SLASH): deleted
(check_local_cgi): rewrite
(cgi_filename): rewrite
(localcgi_post): support PATH_INFO
* url.c (openURL): rewrite
* Bonus/smb.cgi: use PATH_INFO
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp >
2003-01-31 16:25:02 +00:00
Fumitoshi UKAI
b8b4edb15b
[w3m-dev 03676] cleanup for pipe
...
* etc.c (open_pipe_rw): added
* file.c (uncompress_stream): rewrite using open_pipe_rw
* image.c (openImgdisplay): rewrite using open_pipe_rw
* local.c (localcgi_popen_rw): deleted
(localcgi_post): rewrite using open_pipe_rw
* proto.h (open_pipe_rw): added
* search.c (migemor): initialized to NULL
(migemow): initialized to NULL
(migemo_pid): initialized to 0
(open_migemo): rewrite using open_pipe_rw
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp >
2003-01-22 16:10:27 +00:00
Fumitoshi UKAI
264b3e35ec
fix indent
2003-01-17 17:06:57 +00:00
Fumitoshi UKAI
c09389519e
[w3m-dev 03647] expandName() and expandPath()
...
* etc.c (openSecretFile): use expandPath
(expandName): rewrite
(file_to_url): use expandPath
* file.c (_doFileCopy): use expandPath
(doFileSave): use expandPath
* indep.c (expandPath): rewrite
* linein.c (inputLineHistSearch): use expandPath
(next_dcompl): use expandPath
(doComplete): use expandPath
* local.c (set_cgi_environ): rewrite
* mailcap.c (loadMailcap): use expandPath
* main.c (svBuf): use expandPath
(addDownloadList): use expandPath
* rc.c (init_rc): use expandPath
(rcFile): rewrite
(auxbinFile): use expandPath
(libFile): use expandPath
(etcFile): use expandPath
(helpFile): use expandPath
* url.c (loadMimeTypes): use expandPath
(loadURIMethods): use expandPath
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp >
2003-01-17 17:05:57 +00:00
Fumitoshi UKAI
439d2745a5
[w3m-dev 03646] setup child process, local CGI
...
* etc.c (reset_signals): static
don't ignore SIGUSR1
(close_all_fds_except): static
DEV_NULL_PATH
(setup_child): added
(myExec): rewrite
(mySystem): rewrite
* file.c (readHeader): check image_source
(loadGeneralFile): check image_source
(doExternal): use setup_child
(_doFileCopy): use setup_child
(doFileSave): use setup_child
(uncompress_stream): check image_source
use setup_child
* image.c (getCharSize): no need stderr redirect
(openImgdisplay): use setup_child
(loadImage): use setup_child
(getImageSize): no need stderr redirect
* local.c (writeLocalCookie): check Local_cookie_file
(localcgi_popen_rw): added
(localcgi_popen_r): deleted
(localcgi_post): rewrite
(localcgi_get): deleted
* proto.h (localcgi_get): defined by localcgi_post
(reset_signals): deleted
(close_all_fds_except): deleted
(close_all_fds): deleted
(setup_child): added
* search.c (open_migemo): use setup_child, myExec
* w3mimgdisplay.c (main): use DEV_NULL_PATH
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp >
2003-01-17 16:57:17 +00:00
Fumitoshi UKAI
549ee1cc09
[w3m-dev 03644] Re: Other user can see local cookie.
...
* cookie.c (save_cookies): return if no_rc_dir
* etc.c (tmpf_base): add cookie
(tmpfname): use tmp_dir instead of rc_dir
* file.c (loadGeneralFile): cookie is not passed via URL
* fm.h (TMPF_COOKIE): incl
(MAX_TMPF_TYPE): incl
(no_rc_dir): added
(tmp_dir): added
(config_file): added
* local.c (Local_cookie_file): added
(writeLocalCookie): added
(setLocalCookie): dont set environment LOCAL_COOKIE
(localcgi_post): writeLocalCookie
(localcgi_get): writeLocalCookie
* main.c (config_filename): deleted
(cmd_loadURL): arg FormList
(main): rewrite config_file, rc
(ldhelp): no cookie in URL
(cmd_loadURL): arg FormList
(goURL0): cmd_loadURL change
(cmd_loadBuffer): cmd_loadURL change
(adBmark): cookie is posted
(follow_map): cmd_loadURL change
(linkMn): cmd_loadURL change
(reinit): init_rc change
* proto.h (create_option_search_table): deleted
(init_rc): no args
* rc.c (create_option_search_table): static
(init_rc): no args
rewrite
(optionpanel_src1): rewrite
(load_option_panel): html_quote
(panel_set_option): no_rc_dir
* w3mbookmark.c: rewrite
* w3mhelperpanel.c: rewrite
* scripts/dirlist.cgi.in: rewrite
* scripts/w3mhelp.cgi.in: rewrite
* scripts/w3mmail.cgi.in: rewrite
* scripts/multipart/multipart.cgi.in: rewrite
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp >
2003-01-15 17:13:21 +00:00
Fumitoshi UKAI
0aeedf43a0
* file.c (loadGopherDir): convertLine RAW_MODE
...
* ftp.c (loadFTPDir): ditto
* fix indent
From: Fumitoshi UKAI <ukai@debian.or.jp >
2003-01-15 16:24:25 +00:00
Fumitoshi UKAI
76cac85389
[w3m-dev 03642] Re: cleanup (don't close connection of news server)
...
* local.c (localcgi_post): localcgi_popen_r first
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp >
2003-01-15 16:17:11 +00:00
Fumitoshi UKAI
dfd33cccd5
[w3m-dev 03640] Re: cleanup (don't close connection of news server)
...
* anchor.c (_put_ahchor_news): always conv_str
(_put_anchor_all): always conv_str
* etc.c (close_all_fds): deleted
(close_all_fds_except): added, except fd=f is left open
* file.c (guess_filename): added
(UFhalfclose): added
(convertLine): cleanup_line if not raw mode
check uf
(readHeader): always convertLine
(loadGeneralFile): rewrite
(loadGopherDir): return Str, args change to ParsedURL and code
rewrite
(saveBuffer): always conv_str
(_doFileCopy): close_all_fds
(doFileSave): close_all_fds_except
(uncompress_stream): dup, close_all_fds_except
* form.c (form_fputs_decode): always conv_str
(input_textarea): convertLine
* frame.c (createFrameFile): convertLine
* ftp.c (loadFTPDir): arg code
rewrite
(readFTPDir): convertLine
* html.h (UFfileno): added
* image.c (loadImage): close_all_fds
* indep.h (RAW_MODE): added
* local.c (loadLocalDir): return Str
(dirBuffer): rewrite
(localcgi_popen_r): close_all_fds
* main.c (main): check SCM_LOCAL
print err_msg
* news.c (news_command): args cmd and arg
(news_quit): news_command
(openNewsStream): news_command
(readNewsgroup): deleted
(loadNewsgroup): added
(closeNews): added
* proto.h (loadGopherDir): update
(conv_str): define for no JP_CHARSET
(readFTPDir): deleted
(loadFTPDir): added
(readNewsgroup): deleted
(loadNewsgroup): added
(dirBuffer): deleted
(loadLocalDir): added
(close_all_fds): defined by close_all_fds_except
(close_all_fds_except): added
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp >
2003-01-15 16:11:43 +00:00
Fumitoshi UKAI
66d04cc161
[w3m-dev 03629] delete tmp file
...
* etc.c (tempfname): always file to delete
* file.c (xface2xpm): no need fileToDelete
(readHeader): ditto
(loadGeneralFile): ditto
(loadHTMLBuffer): ditto
(loadHTMLString): ditto
(loadGopherDir): ditto
(loadImageBuffer): ditto
(doExternal): rewrite
(doFileSave): no need fileToDelete
(uncompress_stream): ditto
* fm.h (CurrentPid): added
* image.c (getImage): cache->touch to delete
* local.c (setLocalCookie): use CurrentPid
(localcgi_post): fileToDelete
* main.c (main): CurrentPid
(pipeBuf): no need fileToDelete
(query_from_followform): CurrentPid
(vmSrc): no need fileToDelete
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp >
2003-01-10 16:42:14 +00:00
Fumitoshi UKAI
09c3eb83b9
[w3m-dev 03495] local CGI can't work
...
* local.c: #include "hash.h"
(set_environ): env string put in hash
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp >
2002-11-27 16:35:18 +00:00
Fumitoshi UKAI
77e0acc0d3
use local_cookie for support local-cgi commands
...
* file.c (loadGeneralFile): pass Local_cookie to DirBufferCommand
* fm.h (Local_cookie): Str
* local.c (setLocalCookie): Str, set_environ()
(set_cgi_environ): remove LOCAL_COOKIE
* main.c (ldhelp): pass Local_cookie
(adBmark): ditto
* rc.c (optionpanel_src1): cookie
(load_option_panel): pass Local_cookie
* w3mbookmark.c (main): check Local_cookie
* w3mhelperpanel (main): ditto
* scripts/dirlist.cgi.in: ditto
* scripts/w3mhelp.cgi.in: ditto
* scripts/multipart/multipart.cgi.in: ditto
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp >
2002-11-26 18:03:18 +00:00
Fumitoshi UKAI
a8831d96bd
[w3m-dev 02984] inline image improvements and cleanups
...
* config.h.dist (HAVE_SYMLINK) added
* config.h.dist (HAVE_LSTAT): added
* configure: symlink() check
* configure: lstat() check
* fm.h (maxLoadImage): added
* form.c (form_write_from_file): s/HAVE_READLINK/HAVE_LSTAT/
* image.c: include <sys/stat.h>
* image.c (MAX_LOAD_IMAGE): default 8
* image.c (max_load_image): deleted
* image.c (n_load_image): added
* image.c (showImageProgress): added
* image.c (loadImage): check load image count
s/HAVE_READLINK/HAVE_LSTAT/ (HAVE_SYMLINK)
showImageProgress
* local.c: include <sys/stat.h>
s/HAVE_READLINK/HAVE_LSTAT/
* rc.c (CMT_MAX_LOAD_IMAGE): added
* rc.c (max_load_image): added
* doc/README.img: update
* doc-jp/README.img: update
* file.c (process_img): pre_int fix
From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp >
2002-02-04 15:18:41 +00:00
Fumitoshi UKAI
8024528a09
[w3m-dev 02611] a improvement of find_cookie()
...
From: Tsutomu Okada <okada@furuno.co.jp >
2001-12-03 18:29:37 +00:00
Fumitoshi UKAI
86aecdfa30
[w3m-dev 02608]
...
From: From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp >
2001-12-03 18:15:12 +00:00
Fumitoshi UKAI
ba4557fc9d
[w3m-dev 02605]
...
From: Kiyokazu SUTO <suto@ks-and-ks.ne.jp >
2001-12-02 16:26:08 +00:00
Fumitoshi UKAI
c33cdfcd56
[w3m-dev 02584] code cleanup again
...
From: Fumitoshi UKAI <ukai@debian.or.jp >
2001-11-29 09:34:14 +00:00
Fumitoshi UKAI
975c8f9d43
run make indent
2001-11-24 02:01:26 +00:00
Fumitoshi UKAI
cba7edc34e
[w3m-dev 02480] new configure
...
From: Fumitoshi UKAI <ukai@debian.or.jp >
2001-11-21 18:51:48 +00:00
Fumitoshi UKAI
91c91cb5cd
[w3m-dev 02479] #ifdef cleanups
...
make -> $(MAKE)
2001-11-21 16:29:46 +00:00
Fumitoshi UKAI
8ca5c59be7
add rcsids
2001-11-20 17:49:23 +00:00
Fumitoshi UKAI
6efb142eea
remove gcc warnings
2001-11-20 04:11:16 +00:00
Fumitoshi UKAI
3a391ef6c2
follow autoconf conventions, #include cleanups
2001-11-16 22:02:00 +00:00
Akinori Ito
85da7ee692
Update to w3m-0.2.1-inu-1.6.
2001-11-15 00:32:13 +00:00
Akinori Ito
6c63633545
Updates from 0.2.1 into 0.2.1-inu-1.5
2001-11-09 04:59:17 +00:00
Akinori Ito
68a07bf03b
Initial revision
2001-11-08 05:14:08 +00:00