aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* [w3m-dev 03596] LISTFumitoshi UKAI2002-12-242-2/+13
| | | | | * anchor.c (link_list_panel): check internal From: Hiroaki Shimotsu <shim@d5.bs1.fc.nec.co.jp>
* [w3m-dev 03595] tolower, toupperFumitoshi UKAI2002-12-2417-65/+105
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Str.c (Strlower): TOLOWER (Strupper): TOUPPER * backend.c: delete ctype.h * etc.c (gethtmlcmd): TOLOWER * file.c (readHeader): TOLOWER (checkOverWrite): TOLOWER (guess_charset): TOLOWER * ftp.c: delete ctype.h * indep.c (strcasecmp): TOLOWER (strncasecmp): TOLOWER (strcasematch): TOLOWER * istream.c: include myctype.h (ssl_get_certificate): TOLOWER * mailcap.c (mailcapMatch): TOLOWER * main.c (_quitfm): TOLOWER * menu.c (accesskey_menu): TOLOWER * mimehead.c: include myctype.h (decodeWord): TOUPPER * mktable.c: delete ctype.h, include myctype.h (main): IS_SPACE * myctype.h: delete ctype.h (TOLOWER): added (TOUPPER): added * parsetagx.c (parse_tag): TOLOWER * rc.c (str_to_bool): TOLOWER (str_to_color): TOLOWER * regex.c: delete ctype.h, include myctype.h (TOLOWER): added (TOUPPER): added (regmatch1): TOLOWER (matchWhich): TOLOWER, TOUPPER From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* mimehead.c (decodeWord): don't use toupper() (requires ctype.h)Fumitoshi UKAI2002-12-222-3/+9
| | | | From: Fumitoshi UKAI <ukai@debian.or.jp>
* [w3m-dev 03594] mime decode with encoding named 'b' & 'q'Fumitoshi UKAI2002-12-212-3/+8
| | | | | * mimehead.c (decodeWord): toupeer(method) From: ABE Yuji <cbo46560@pop12.odn.ne.jp>
* * file.c (discardline): not usedFumitoshi UKAI2002-12-212-15/+6
| | | | From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* fix indentFumitoshi UKAI2002-12-211-5/+6
|
* [w3m-dev 03593] Re: segmentation fault when <title> exist after <img>Fumitoshi UKAI2002-12-212-23/+86
| | | | | | | | | | | | | | * file.c (cur_title): added (save_obuf): deleted (process_title): added (process_n_title): added (feed_title): added (HTMLtagproc1): rewrite HTML_TITLE, HTML_N_TITLE, HTML_TITLE_ALT, HTML_N_HEAD, HTML_HEAD (HTMLlineproc0): check RB_TITLE (completeHTMLstream): add RB_TITLE (loadHTMLstream): initialize cur_title From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 03590] segmentation fault when <title> exist after <img>Fumitoshi UKAI2002-12-202-9/+14
| | | | | | | | * file.c (save_line): deleted (save_prevchar): deleted (save_obuf): added (HTMLtagproc1): bcopy save_obuf From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* update TODOFumitoshi UKAI2002-12-201-2/+1
|
* [w3m-dev 03588] include time.h in ftp.cFumitoshi UKAI2002-12-192-2/+8
| | | | | * ftp.c: include <time.h> From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 03584] Re: meta refreshFumitoshi UKAI2002-12-181-1/+2
|
* [w3m-dev 03583] w3mmanFumitoshi UKAI2002-12-185-6/+50
| | | | | | | | | * scripts/w3mman/README: W3MMAN_W3M, W3MMAN_MAN * scripts/w3mman/w3mman.1.in: add ENVIRONMENT * scripts/w3mman/w3mman.in: $ENV{'W3MMAN_W3M'}, $ENV{'W3MMAN_MAN'} * scripts/w3mman/w3mman2html.cgi.in: $ENV{'W3MMAN_MAN'} hyphenation From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 03582] add config options graphic_char and use_proxyFumitoshi UKAI2002-12-186-10/+38
| | | | | | | | | | | | | | | * NEWS: rc: graphic_char, use_proxy * fm.h (Do_no_use_proxy): macro using use_proxy (use_proxy): added (no_graphic_char): deleted (UseGraphicChar): added * main.c (main): UseGraphicChar, use_proxy * rc.c (CMT_GRAPHIC_CHAR): added (CMT_USE_PROXY): added (params1): graphic_char (params4): use_proxy * terms.c (graph_ok): UseGraphicChar From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 03581] MARK_URL, MARK_WORDFumitoshi UKAI2002-12-182-3/+8
| | | | | * main.c (chkWORD): accept ()[]{}&|;*?$ as anchor From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 03580] Re: clean up displayBuffer()Fumitoshi UKAI2002-12-182-3/+8
| | | | | * main.c (main): force redraw From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 03579] Re: clean up displayBuffer()Fumitoshi UKAI2002-12-184-12/+27
| | | | | | | | * display.c (displayBuffer): re calcTabPos() when force or image redraw * main.c (_mark): force redraw (reinit): redraw image * search.c (backwardSearch): found_last From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* * main.c (DefaultAlarm): fix initialize valueFumitoshi UKAI2002-12-182-5/+9
| | | | From: Fumitoshi UKAI <ukai@debian.or.jp>
* fix indentFumitoshi UKAI2002-12-181-6/+4
|
* [w3m-dev 03578] meta refreshFumitoshi UKAI2002-12-185-122/+145
| | | | | | | | | | | | | | | | | | | | | | | | | * file.c (getMetaRefreshParam): do nothing if refresh_interval < 0 (HTMLtagproc1): rewrite refresh (HTMLlineproc2body): add HTML_META * fm.h (BP_RELOAD): deleted (Buffer): add event (AL_IMPLICIT_DONE): deleted (AL_ONCE): deleted (AL_RESTORE): deleted (AlarmEvent): added * main.c (AlarmEvent): deleted (PrevAlarm): deleted (DefaultAlarm): added (CurrentAlarm): point to DefaultAlarm (main): CurrentKeyData, CurrentCmdData handle Currentbuf->event (SigAlarm): CurrentAlarm is pointer (copyAlarmEvent): deleted (setAlarm): setAlarmEvent pass &DefaultAlarm (setAlarmEvent): arg event (ldDL): no BP_RELOAD * proto.h (setAlarmEvent): arg event From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 03577] incorrect table widthFumitoshi UKAI2002-12-172-10/+18
| | | | | | | | * table.c (dv2sv): fix move direction (set_integered_width): ditto (check_table_height): ditto (feed_table_tag): ditto From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 03576] Re: news supportFumitoshi UKAI2002-12-163-8/+23
| | | | | | | * anchor.c (_put_anchor_news): convert to document code and quote (_put_anchor_all): convert to document code * main.c (chkNMIDBuffer): change url_like_pat From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>