aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [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>
* fix indentFumitoshi UKAI2002-12-251-5/+5
|
* [w3m-dev 03602] Re: w3mimgdisplay core dumpFumitoshi UKAI2002-12-254-6/+22
| | | | | | | * w3mimgdisplay.c (DrawImage): check load_image, imageBuf[n].pixmap * w3mimg/fb/fb_w3mimg.c (w3mfb_show_image): check img->pixmap * w3mimg/x11/x11_w3mimg.c (x11_show_image): check img->pixmap From: Hiroyuki Ito <hito@crl.go.jp>
* [w3m-dev 03601] Re: meta refreshFumitoshi UKAI2002-12-252-3/+11
| | | | | | * main.c (LastEvent): added (pushEvent): add to LastEvent From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 03600] Re: meta refreshFumitoshi UKAI2002-12-252-6/+11
| | | | | * main.c (main): move add_download_list From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 03598] restore cursor when download list panel is updated.Fumitoshi UKAI2002-12-242-18/+25
| | | | | | * main.c (stopDownload): delete->replace (ldDL): use DownloadListBuffer() From: Hiroaki Shimotsu <shim@d5.bs1.fc.nec.co.jp>
* [w3m-dev 03597] Re: meta refreshFumitoshi UKAI2002-12-243-23/+49
| | | | | | | | | | | | | * main.c (Event): next, linked list (N_EVENT_QUEUE): deleted (eventQueue): deleted (n_event_queue): deleted (CurrentEvent): added (main): event processing, add CurrentEvent linked list (pushEvent): add Event to CurrentEvent (SigAlarm): Currentbuf->event * proto.h (pushEvent): rename args From: Hiroaki Shimotsu <shim@d5.bs1.fc.nec.co.jp>
* fix indentFumitoshi UKAI2002-12-241-4/+3
|