Fumitoshi UKAI
61c2c2de18
[w3m-dev 03667] fold patch
...
* anchor.c (reAnchorPos): rewrite
(reAnchorWord): delete reseq_anchor()
(reAnchorAny): use l->size
delete reseq_anchor()
* backend.c (internal_get): pass TRUE to saveBuffer
* buffer.c (newBuffer): delete n->linelen
(reshapeBuffer): rewrite
* display.c (displayBuffer): FoldLine
(redrawLine): l->bpos
(cursorUp0): added
(cursorUp): rewrite
(cursorDown0): added
(cursowDown): rewrite
(cursorRight): check l->next
l->bwidth
(cursorLeft): l->prev && l->bpos
l->bwidth
(arrangeCursor): buf->currentLine->bwidth
buf->cursorX
* etc.c (checkType): **oporp
rewrite
(calcPosition): realColumn allocated by New_reuse
* file.c (addnewline): add nlines arg
(propBuffer): deleted
(colorBuffer): deleted
(readHeader): propBuffer
FOLD_BUFFER_WIDTH
(HTMLlineproc2body): rewrite
(addnewline2): added
(addnewline): rewrite
(loadBuffer): propBuffer, colorBuffer
(saveBuffer): cont arg
(getNextPage): rewrite
* fm.h (LINELEN): 256
(FNLEN): deleted
(Line): add size, bpos, bwidth
(Buffer): delete linelen
(INIT_BUFFER_WIDTH): check showLineNum
(FOLD_BUFFER_WIDTH): added
(FoldLine): added
* funcname.tab (RESHAPE): added
* main.c (do_dump): pass FALSE to saveBuffer
(nscroll): rewrite
(clear_mark): l->size
(shiftvisualpos): rewrite
(pipeBuf): pass TRUE to saveBuffer
(linebeg): check line->prev && line->bpos
(linend): check line->next, line->next->bpos
(editScr): pass TRUE to saveBuffer
(svBuf): pass TRUE to saveBuffer
(vmSrc): pass TRUE to saveBuffer
(reshape): added
(curlno): rewrite
* mimehead.c (LINELEN): deleted
* proto.h (reshape): added
(saveBuffer): add cont arg
(cursorUp0): added
(cursorDown0): added
(checkType): change type oprop, ocolor, delete check_color, len
* rc.c (CMT_FOLD_LINE): added
(params1): add fold_line
(sync_with_option): check PagerMax
* search.c (set_mark): l->size
(forwardSearch): rewrite
(backwardSearch): rewrite
* doc/README.func (RESHAPE): added
* doc-jp/README.func (RESHAPE): added
* scripts/w3mhelp.cgi.in (Buffer operation): add reshape
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp >
2003-01-23 18:37:18 +00:00
Fumitoshi UKAI
e718702d12
* etc.c (next_status): after = is R_ST_VALUE
...
R_ST_VALUE > => R_ST_NORMAL
R_ST_VALUE SP => R_ST_TAG
(read_token): R_ST_VALUE
(correct_irrtag): R_ST_VALUE
* rm.h (R_ST_VALUE): added
(ST_IS_REAL_TAG): rewrite
(ST_IS_COMMENT): deleted
(ST_IS_TAG): deleted
* parsetagx.c (parse_tag): skip too long tagname
skip too long attrname
if attrvalue has quote char, need reconstruct
if unknown attr, need reconstruct
* table.c (visible_length): R_ST_VALUE
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp >
2003-01-23 18:01:01 +00:00
Fumitoshi UKAI
51c2899aa9
[w3m-dev 03680] showProgress() on fast system
...
* file.c (showProgress): check line len, time
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp >
2003-01-23 16:05:54 +00:00
Fumitoshi UKAI
0ff57ba4ed
fix indent
2003-01-23 16:02:15 +00:00
Fumitoshi UKAI
fb759b572b
[w3m-dev 03679] Re: cleanup for pipe
...
* etc.c (open_pipe_rw): check stdin, stdout
* file.c (uncompress_stream): rewrite
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp >
2003-01-23 15:59:24 +00:00
Fumitoshi UKAI
a0300c84b8
[w3m-dev 03678] Re: config.param is clear when configure -help
...
* configure: don't override config.param
From: Fumitoshi UKAI <ukai@debian.or.jp >
2003-01-22 16:36:11 +00:00
Fumitoshi UKAI
3f25d8f048
[w3m-dev 03677] view source, edit source
...
* buffer.c (discardBuffer): unlink header source
* file.c (loadFile): delete skip header
* fm.h (BP_SOURCE): deleted
(SkipHeader): deleted
* main (editBf): cleanup
(vmSrc): cleanup
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp >
2003-01-22 16:16:18 +00:00
Fumitoshi UKAI
64672ce9ce
fix indent
2003-01-22 16:11:03 +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
d5097483bd
[w3m-dev 03675] x-face
...
* file.c (xface2xpm): use getImage()
(readHeader): check same file
(loadImageBuffer): rewrite
(lessopen_stream): shell_quote()
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp >
2003-01-22 16:01:16 +00:00
Fumitoshi UKAI
9241f55eee
[w3m-dev 03674] -dump problem
...
* file.c (loadGeneralFile): return NULL when dump
* main.c (dump_source): deleted
(dump_head): deleted
(dupm_extra): deleted
(do_dump): added
(main): singal when dump
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp >
2003-01-22 15:56:49 +00:00
Fumitoshi UKAI
c54597db87
[w3m-dev 03671] Re: config.param is clear when configure -help
...
* configure: test -f config.param
From: Yoshinobu Sakane <sakane@d4.bsd.nes.nec.co.jp >
2003-01-22 15:53:12 +00:00
Fumitoshi UKAI
fe1c985ccc
[w3m-dev 03665] imlib2 support (on X11)
...
* configure: X11 inline image with Imlib2
fix typo in fb/imlib2
* w3mimg/x11/x11_w3mimg.c: USE_IMLIB2
(x11_load_image): USE_IMLIB2
(x11_show_image): USE_IMLIB2
(x11_free_image): USE_IMLIB2
(x11_get_image_size): USE_IMLIB2
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp >
2003-01-21 15:38:55 +00:00
Fumitoshi UKAI
f6ecc06cb2
[w3m-dev 03664] config.param is clear when configure -help
...
* configure: config.param created after arg parsing
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp >
2003-01-21 15:33:16 +00:00
Fumitoshi UKAI
48db009b76
* map.c (follow_map_menu): if USE_IMAGE or MENU_MAP
...
* proto.h (follow_map_menu): ditto
From: Fumitoshi UKAI <ukai@debian.or.jp >
2003-01-20 15:54:08 +00:00
Fumitoshi UKAI
cc49eb7ecc
fix indent
2003-01-20 15:32:02 +00:00
Fumitoshi UKAI
18eebc6488
[w3m-dev 03660] Re: fputs -> Strfputs
...
* Str.h (Strncmp_charp): paren
(Strncasecmp_charp): ditto
(Strinsert): ditto
(Strshrinkfirst): ditto
* display.c (disp_err_message): added
* file.c (loadGeneralFile): don't put function in macro arg
(saveBuffer): ditto
* frame.c (createFrameFile): ditto
* proto.h (disp_err_message): macro->function
* table.c (pushdata): if data is NULL, use ""
(suspend_or_pushdata): if line is NULL, use ""
* textlist.h (pushText): don't use (s) twice in a macro
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp >
2003-01-20 15:30:18 +00:00
Fumitoshi UKAI
136d8b8115
[w3m-dev 03659] Can't download from SSL.
...
* istream.c (ISfileno): case IST_SSL
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp >
2003-01-20 15:25:29 +00:00
Fumitoshi UKAI
d619d246a9
[w3m-dev 03658] Re: Other user can see local cookie.
...
* fm.h (rc_dir): init(NULL)
* rc.c (config_file): deleted
(init_rc): use rc_dir
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp >
2003-01-20 15:24:19 +00:00
Fumitoshi UKAI
2f7904260c
[w3m-dev 03657] fputs -> Strfputs
...
* form.c (form_fputs_decode): use Strfputs()
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp >
2003-01-20 15:22:54 +00:00
Fumitoshi UKAI
cfd9a36fd1
[w3m-dev 03655] Re: file.c:image_source when undef USE_IMAGE
...
* map.c (follow_map_menu): fix warnings
From: Fumitoshi UKAI <ukai@debian.or.jp >
2003-01-19 09:04:32 +00:00
Fumitoshi UKAI
53cbf41507
[w3m-dev 03654] file.c:image_source when undef USE_IMAGE
...
* file.c (readHeader): image_source ifdef USE_IMAGE
(loadGeneralFile): ditto
(uncompress_stream): ditto
From: WATANABE Katsuyuki <knabe@sannet.ne.jp >
2003-01-19 08:28:39 +00:00
Fumitoshi UKAI
36cadfb0ce
[w3m-dev 03653] SourceForge.net: 576032 w3m https crashes with OpenSSL-0.9.7
...
* istream.c (ssl_check_cert_ident): use sk_GENERAL_NAME_free()
From: Fumitoshi UKAI <ukai@debian.or.jp >
2003-01-18 18:40:32 +00:00
Fumitoshi UKAI
f9d2c51643
fix indent
2003-01-17 17:30:59 +00:00
Fumitoshi UKAI
7d71f2cba6
[w3m-dev 03652] Re: Debian bug #176981
...
* file.c (checkHeader): always remove_space
(loadGeneralFile): no need remove_space
From: Fumitoshi UKAI <ukai@debian.or.jp >
2003-01-17 17:29:58 +00:00
Fumitoshi UKAI
34cf3f1705
[w3m-dev 03651] Debian bug #176981
...
* file.c (checkRedirection): added
(loadGeneralFile): check redirection
t_buf only is created when it is NULL
remove_space
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp >
2003-01-17 17:13:02 +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
a79a87e799
fix indent
2003-01-17 16:58:17 +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
4e7b05a901
NEWS update
2003-01-15 18:16:12 +00:00
Fumitoshi UKAI
dcf810e5f7
NEWS update
2003-01-15 18:15:22 +00:00
Fumitoshi UKAI
9ec368f012
NEWS update
2003-01-15 18:14:21 +00:00
Fumitoshi UKAI
379121ada1
NEWS update
2003-01-15 18:12:57 +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
9e49e56287
[w3m-dev 03641] Re: cleanup (don't close connection of news server)
...
* ftp.c (ftp_command): fix fwrite arg
* news.c (news_command): fix fwrite arg
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp >
2003-01-15 16:14:40 +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
04d2ffae3e
[w3m-dev 03639] Re: smb.cgi
...
* Bonus/2ch.cgi: change password handling
* Bonus/README: update
* Bonus/README.eng: ditto
2003-01-15 15:51:29 +00:00
Fumitoshi UKAI
3310092fb4
[w3m-dev 03636] segfault in main.c
...
* main.c (main): check newbuf->currentURL.file
From: qhwt@myrealbox.com
2003-01-11 16:17:43 +00:00
Fumitoshi UKAI
e4de1aefde
Bonus/README.eng: sync with Bonus/README
...
From: Fumitoshi UKAI <ukai@debian.or.jp >
2003-01-11 16:14:59 +00:00
Fumitoshi UKAI
bc0a1c7136
[w3m-dev 03635] 2ch.cgi
...
* Bonus/2ch.cgi: added
* Bonus/README: update
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp >
2003-01-11 16:12:44 +00:00
Fumitoshi UKAI
43a13e6fa5
Bonus/README.eng: sync with Bonus/README
...
From: Fumitoshi UKAI <ukai@debian.or.jp >
2003-01-11 16:10:11 +00:00
Fumitoshi UKAI
f01b038c17
[w3m-dev 03634] smb.cgi
...
* Bonus/smb.cgi: added
* Bonus/README: update
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp >
2003-01-11 16:05:17 +00:00
Fumitoshi UKAI
24fbb90b3d
* ftp.c (ftp_pasv): ftp_command response
...
(readFTPDir): masked declaration of realpathname
From: Fumitoshi UKAI <ukai@debian.or.jp >
2003-01-11 16:00:55 +00:00
Fumitoshi UKAI
567bdbc0cb
fix indent
2003-01-11 15:55:10 +00:00
Fumitoshi UKAI
03fa645498
[w3m-dev 03633] Re: cleanup (don't close connection of news server)
...
* file.c (FTPhalfclose): deleted
(loadGeneralFile): closeFTP when doFileSave is done
(_doFileCopy): return int
(doFileMove): return int
(doFileSave): return int
* ftp.c: rewrite
* main.c (w3m_exit): disconnectFTP
* proto.h (_doFileCopy): return int
(doFileMove): return int
(doFileSave): return int
(openFTP): deleted
(openFTPStream): return InputStream
(closeFTP): no arg
(Ftpfclose): disconnectFTP
* url.c (openFTPstream): deleted
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp >
2003-01-11 15:54:08 +00:00
Fumitoshi UKAI
0a6511f3dc
fix compiler warnings
...
* html.h (UFclose): value computed but not used
From: Fumitoshi UKAI <ukai@debian.or.jp >
2003-01-10 17:15:08 +00:00
Fumitoshi UKAI
f4d6305bdd
[w3m-dev 03632] cleanup (don't close connection of news server)
...
* file.c (loadSomething): remove UFclose nntp:,news:
(loadFile): UFclose
(loadGeneralFile): always UFclose
* html.h (UFclose): only reset when ISclose ==0
* istream.c (ISclose): return int
(ISfileno): flag IST_UNCLOSE
* istream.h (ISclose): return int
(IST_UNCLOSE): added
* news.c (news_close): reset IST_UNCLOSE
(news_open): set IST_UNCLOSE
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp >
2003-01-10 17:06:17 +00:00