aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* NEWS updateFumitoshi UKAI2003-01-151-0/+1
|
* NEWS updateFumitoshi UKAI2003-01-151-0/+1
|
* NEWS updateFumitoshi UKAI2003-01-151-0/+1
|
* [w3m-dev 03644] Re: Other user can see local cookie.Fumitoshi UKAI2003-01-1515-237/+327
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* * file.c (loadGopherDir): convertLine RAW_MODEFumitoshi UKAI2003-01-156-35/+41
| | | | | | * ftp.c (loadFTPDir): ditto * fix indent From: Fumitoshi UKAI <ukai@debian.or.jp>
* [w3m-dev 03642] Re: cleanup (don't close connection of news server)Fumitoshi UKAI2003-01-152-7/+12
| | | | | * local.c (localcgi_post): localcgi_popen_r first From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 03641] Re: cleanup (don't close connection of news server)Fumitoshi UKAI2003-01-153-5/+11
| | | | | | * ftp.c (ftp_command): fix fwrite arg * news.c (news_command): fix fwrite arg From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 03640] Re: cleanup (don't close connection of news server)Fumitoshi UKAI2003-01-1514-274/+315
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* [w3m-dev 03639] Re: smb.cgiFumitoshi UKAI2003-01-154-22/+86
| | | | | | * Bonus/2ch.cgi: change password handling * Bonus/README: update * Bonus/README.eng: ditto
* [w3m-dev 03636] segfault in main.cFumitoshi UKAI2003-01-112-3/+9
| | | | | * main.c (main): check newbuf->currentURL.file From: qhwt@myrealbox.com
* Bonus/README.eng: sync with Bonus/READMEFumitoshi UKAI2003-01-112-1/+16
| | | | From: Fumitoshi UKAI <ukai@debian.or.jp>
* [w3m-dev 03635] 2ch.cgiFumitoshi UKAI2003-01-113-1/+152
| | | | | | * Bonus/2ch.cgi: added * Bonus/README: update From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* Bonus/README.eng: sync with Bonus/READMEFumitoshi UKAI2003-01-112-1/+19
| | | | From: Fumitoshi UKAI <ukai@debian.or.jp>
* [w3m-dev 03634] smb.cgiFumitoshi UKAI2003-01-113-1/+420
| | | | | | * Bonus/smb.cgi: added * Bonus/README: update From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* * ftp.c (ftp_pasv): ftp_command responseFumitoshi UKAI2003-01-112-4/+9
| | | | | (readFTPDir): masked declaration of realpathname From: Fumitoshi UKAI <ukai@debian.or.jp>
* fix indentFumitoshi UKAI2003-01-111-32/+29
|
* [w3m-dev 03633] Re: cleanup (don't close connection of news server)Fumitoshi UKAI2003-01-116-478/+310
| | | | | | | | | | | | | | | | | | | * 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>
* fix compiler warningsFumitoshi UKAI2003-01-102-3/+8
| | | | | * html.h (UFclose): value computed but not used From: Fumitoshi UKAI <ukai@debian.or.jp>
* [w3m-dev 03632] cleanup (don't close connection of news server)Fumitoshi UKAI2003-01-106-21/+38
| | | | | | | | | | | | | | * 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>
* fix indentFumitoshi UKAI2003-01-101-12/+15
|
* [w3m-dev 03631] display current form itemFumitoshi UKAI2003-01-104-83/+86
| | | | | | | | | | | | * form.c (form2str): rewrite * istream.c (ssl_get_certificate): fix typo * map.c (follow_map_panel): valign=top (append_map_info): valign=top (append_link_info): valign=top (append_frame_info): <pre_int> html_quote ssl_certificate (page_info_panel): rewrite, html_quote From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* * doc/README.pre_form: updateFumitoshi UKAI2003-01-103-3/+10
| | | | | * doc-jp/README.pre_form: ditto From: Fumitoshi UKAI <ukai@debian.or.jp>
* [w3m-dev 03630] improved pre_formFumitoshi UKAI2003-01-102-12/+72
| | | | | | | | | * form.c (pre_form): add re_url, name (add_pre_form): add name rewrite (loadPreForm): add "form" (preFormUpdateBuffer): handle re_url From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 03629] delete tmp fileFumitoshi UKAI2003-01-107-45/+42
| | | | | | | | | | | | | | | | | | | | | | | * 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>
* [w3m-dev 03628] Re: Error occured while resetFumitoshi UKAI2003-01-102-6/+13
| | | | | | * file.c (doExternal): bufp = NULL, return 1 (uncompress_stream): tempfname fileToDelete From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 03626] Re: relative URLFumitoshi UKAI2003-01-102-3/+10
| | | | | * url.c (parseURL2): copy if scheme is local or local-cgi From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 03625] keymap key SEARCH stringFumitoshi UKAI2003-01-103-12/+53
| | | | | | | * main.c (srch): accept command argument (reMark): accept command argument * Bonus/google.cgi: added From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 03622] Re: Error occured while resetFumitoshi UKAI2003-01-103-20/+28
| | | | | | | | | | * file.c (uncompress_stream): child process initialized * terms.c (close_tty): close unless stdin,out,err (reset_tty): flush_tty, close_tty (write1): flush_tty (refresh): flush_tty (flush_tty): check ttyf From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* fix indentFumitoshi UKAI2003-01-101-2/+2
|
* [w3m-dev 03620] -m option and headerFumitoshi UKAI2003-01-106-35/+53
| | | | | | | | | | | | | | * buffer.c (reshapeBuffer): fix reading from stdin fix -m option * display.c (redrawNLine): rewrite (redrawLine): return l instead of l->next (redrawLineImage): ditto * file.c (loadFile): read header even if skip header (loadGeneralFile): read header even if skip header * fm.h (SkipHeader): added * main.c (main): check whether reading from stdin SkipHeader From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 03619] Re: Error occured while resetFumitoshi UKAI2003-01-095-42/+38
| | | | | | | | | | | | | | | | * file.c (process_img): check image.ext (HTMLlineproc2body): check image.ext (loadImageBuffer): url, ext is in URLFile * frame.c (unloadFrame): no need to push to fileToDelete (copyFrame): no need to reset FB_TODELETE (resetFrameElement): f_body->source, buf->sourcefile (frame_download_source): buf->source buf->sourcefile reset * frame.h (FB_NOCACHE): deleted (FB_TODELETE): deleted * main.c (vmSrc): Currentbuf->sourcefile need_reshape if images exist From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 03617] sourcefile when Content-Encoding: is specified.Fumitoshi UKAI2003-01-082-13/+36
| | | | | | | | | | * file.c (uncompress_stream): add src arg (examineFile): change uncompress_stream (loadGeneralFile): change uncompress_stream (doExternal): src (uncompress_stream): ext tmpfile with same ext From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* update TODOFumitoshi UKAI2003-01-081-1/+0
|
* [w3m-dev 03616] Re: data: URL schemeFumitoshi UKAI2003-01-087-51/+106
| | | | | | | | | | | | | | | | | | | | | | | | | | * file.c (loadGeneralFile): check SCM_DATA (loadImageBuffer): newBuffer() * html.h (SCM_DATA): added * indep.c (url_unquote): deleted (Str_url_unquote): renamed from Str_form_unquote + is decoded is_form only * indep.h (url_unquote): deleted (Str_url_unquote): added (Str_form_unquote): define by Str_url_unquote * main.c (followA): file_unquote (cmd_loadURL): file_unquote * url.c (DefaultPort): add for data: (schemetable): add "data" (DefaultFile): SCM_FTPDIR (parseURL): scheme copied from current (parseURL2): SCM_DATA check SCM_FTP, SCM_FTPDIR (_parsedURL2Str): add data in scheme_str handle SCM_DATA SCM_FTPDIR (openURL): file_unquote handle SCM_DATA From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* update TODOFumitoshi UKAI2003-01-071-0/+1
|
* fix indentFumitoshi UKAI2003-01-071-2/+2
|
* [w3m-dev 03611] relative URLFumitoshi UKAI2003-01-073-46/+45
| | | | | | | | * news.c (openNewsStream): don't skip '/' for nntp: (readNewsgroup): cleanup * url.c (parseURL): don't copy user & password (parseURL2): fix for group, don't copy user & password From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* fix build warningsFumitoshi UKAI2003-01-063-5/+12
| | | | | | * url.c (parseURL2): fix comparison between pointer and integer * news.c (readNewsgroup): variable `scheme',`group',`list' might be clobbered by `longjmp' or `vfork' From: Fumitoshi UKAI <ukai@debian.or.jp>
* fix indentFumitoshi UKAI2003-01-062-10/+8
|
* [w3m-dev 03610] Re: news:<newsgroup>Fumitoshi UKAI2003-01-068-98/+251
| | | | | | | | | | | | | | | | | | | | | * anchor.c (_put_anchor_news): check '<' (reAnchorNewsheader): added * file.c (loadSomething): Subject: as buffername (checkHeader): check buf->document_header (loadGeneralFile): reAnchorNewsheader * html.h (SCM_NNTP_GROUP): added * main.c (main): delete USE_NNTP in switch (newbuf->real_scheme) (chkNMIDBuffer): lowercase in url_like_pat * news.c (add_news_message): add scheme, group as arg (openNewsStream): check SCM_NNTP_GROUP check current_news.host (readNewsgroup): rewrite to support nntp:,news: extension * proto.h (reAnchorNewsheader): added * url.c (DefaultPort): add 119 for nntp group (parseURL2): rewrite to support nntp:,news: extension (_parsedURL2Str): add for SCM_NNTP_GROUP (openURL): rewrite to support nntp:,news: extension From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* fix build errorsFumitoshi UKAI2002-12-273-6/+8
| | | | | | * display.c (make_lastline_message): fix error for undef JP_CHARSET * news.c (readNewsgroup: `code' always required From: Fumitoshi UKAI <ukai@debian.or.jp>
* fix indentFumitoshi UKAI2002-12-271-2/+2
|
* gcc -Wall -Werror cleanFumitoshi UKAI2002-12-274-15/+21
| | | | | | | | | | * file.c (loadHTMLstream): unused variable `p' * news.c (news_command): unused variable `c' (news_open): unused variable `tmp' (readNewsgroup): volatile page, qgroup, flag, start, end uninitialized variable `page' * url.c (openURL): unused variable `fw', `r', `stream' From: Fumitoshi UKAI <ukai@debian.or.jp>
* fix indentFumitoshi UKAI2002-12-273-33/+38
|
* rc: nntpserver, nntpmode, max_newsFumitoshi UKAI2002-12-273-2/+6
| | | | From: Fumitoshi UKAI <ukai@debian.or.jp>
* [w3m-dev 03608] news:<newsgroup>Fumitoshi UKAI2002-12-2710-122/+612
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * XMakefile (LSRCS): add news.c (LOBJS): add news.o * file.c (loadSOmething): don't UFclose() for nntp/news (readHeader): remove . at beginning of line for news img link to file: (loadGeneralFile): add SCM_NEWS_GROUP don't UFclose() for nntp/news (loadHTMLstream): . line check for news (loadBuffer): . line check for news * fm.h (NNTP_server): added (NNTP_mode): added (MaxNewsMessage): added * html.h (SCM_NEWS_GROUP): added * main.c (main): NNTP_server or NNTPSERVER NNTP_mode or NNTPMODE add SCM_NEWS_GROUP (followA): remove news:..@.. check (cmd_loadURL): remove news:...@.. check (w3m_exit): disconnectNews * proto.h (openNewsStream): added (readNewsgroup): added (disconnectNews): added * rc.c (CMT_NNTP_SERVER): added (CMT_NNTP_MODE): added (CMT_MAX_NEWS): added (params9): add nntpserver, nntpmode, max_news * url.c (DefaultPort): add 119 for news group (parseURL2): news:..@... is SCM_NEWS_GROUP (_parsedURL2Str): add news for SCM_NEWS_GROUP (openURL): cleanup SCM_NEWS add SCM_NEWS_GROUP * news.c: added From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 03607] mymktime: time zone supportFumitoshi UKAI2002-12-272-7/+45
| | | | | | * etc.c (get_zone): added (mymktime): parse timezone From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 03606] Re: clean up displayBuffer()Fumitoshi UKAI2002-12-272-4/+10
| | | | | | * main.c (followA): B_FORCE_REDRAW (follow_map): ditto From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* fix indentFumitoshi UKAI2002-12-261-2/+2
|
* [w3m-dev 03604] http response code and content-typeFumitoshi UKAI2002-12-262-4/+12
| | | | | * file.c (loadGeneralFile): don't guessContentType if http errors From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>